build(react): build26 from 45504a2b

This commit is contained in:
publish
2026-08-05 18:57:47 +02:00
commit 784a38389b
1955 changed files with 60543 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { UIComponentProps } from "../../utils/types.js";
import { CastButtonCore } from "@videojs/core";
//#region src/ui/cast-button/cast-button.d.ts
interface CastButtonProps extends UIComponentProps<'button', CastButtonCore.State>, CastButtonCore.Props {}
/** A button that toggles casting to a remote device. */
declare const CastButton: import("react").ForwardRefExoticComponent<CastButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
declare namespace CastButton {
type Props = CastButtonProps;
type State = CastButtonCore.State;
}
//#endregion
export { CastButton, CastButtonProps };
//# sourceMappingURL=cast-button.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"cast-button.d.ts","names":[],"sources":["../../../../src/ui/cast-button/cast-button.tsx"],"mappings":";;;UAQiB,wBAAwB,2BAA2B,eAAe,QAAQ,eAAe;;cAG7F,4BAAU,0BAAA,kCAAA,cAAA;kBASN;OACH,QAAQ;OACR,QAAQ,eAAe"}
+18
View File
@@ -0,0 +1,18 @@
"use client";
import { createMediaButton } from "../create-media-button.js";
import { selectRemotePlayback } from "@videojs/core/dom";
import { CastButtonCore, CastButtonDataAttrs } from "@videojs/core";
//#region src/ui/cast-button/cast-button.tsx
/** A button that toggles casting to a remote device. */
const CastButton = createMediaButton({
displayName: "CastButton",
core: CastButtonCore,
stateAttrMap: CastButtonDataAttrs,
selector: selectRemotePlayback,
action: (core, state) => core.toggle(state),
isSupported: (state) => !state.hidden
});
//#endregion
export { CastButton };
//# sourceMappingURL=cast-button.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"cast-button.js","names":[],"sources":["../../../../src/ui/cast-button/cast-button.tsx"],"sourcesContent":["'use client';\n\nimport { CastButtonCore, CastButtonDataAttrs } from '@videojs/core';\nimport { selectRemotePlayback } from '@videojs/core/dom';\n\nimport type { UIComponentProps } from '../../utils/types';\nimport { createMediaButton } from '../create-media-button';\n\nexport interface CastButtonProps extends UIComponentProps<'button', CastButtonCore.State>, CastButtonCore.Props {}\n\n/** A button that toggles casting to a remote device. */\nexport const CastButton = createMediaButton<CastButtonCore, CastButtonProps>({\n displayName: 'CastButton',\n core: CastButtonCore,\n stateAttrMap: CastButtonDataAttrs,\n selector: selectRemotePlayback,\n action: (core, state) => core.toggle(state),\n isSupported: (state) => !state.hidden,\n});\n\nexport namespace CastButton {\n export type Props = CastButtonProps;\n export type State = CastButtonCore.State;\n}\n"],"mappings":";;;;;;AAWA,MAAa,aAAa,kBAAmD;CAC3E,aAAa;CACb,MAAM;CACN,cAAc;CACd,UAAU;CACV,SAAS,MAAM,UAAU,KAAK,OAAO,KAAK;CAC1C,cAAc,UAAU,CAAC,MAAM;AACjC,CAAC"}
+2
View File
@@ -0,0 +1,2 @@
import { CastButton, CastButtonProps } from "./cast-button.js";
export { CastButton, CastButtonProps };
+2
View File
@@ -0,0 +1,2 @@
import { CastButton } from "./cast-button.js";
export { CastButton };