@fraku/video 0.1.30 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DockButton/DockButton.d.ts +5 -1
- package/dist/index.cjs +157 -157
- package/dist/index.js +12834 -12740
- package/dist/pages/MainSessionPage/Video/MicMutedBadge.d.ts +2 -0
- package/dist/pages/MainSessionPage/Video/SharedInfoBanner.d.ts +5 -0
- package/dist/pages/MainSessionPage/Video/UserVideo.d.ts +8 -0
- package/dist/pages/MainSessionPage/Video/VideoOff.d.ts +4 -0
- package/dist/providers/SharedProvider/context.d.ts +2 -0
- package/dist/providers/UsersProvider/context.d.ts +4 -3
- package/dist/providers/VideoPluginProvider/VideoPluginProvider.d.ts +2 -1
- package/dist/providers/VideoPluginProvider/context.d.ts +7 -1
- package/dist/providers/VideoProvider/context.d.ts +14 -13
- package/dist/shared/session-info/index.d.ts +2 -0
- package/dist/shared/session-info/reducer.d.ts +4 -0
- package/dist/shared/session-info/types.d.ts +10 -0
- package/dist/shared/types.d.ts +9 -1
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
- package/dist/pages/MainSessionPage/UserVideo.d.ts +0 -8
- /package/dist/pages/MainSessionPage/{Video.d.ts → Video/Video.d.ts} +0 -0
|
@@ -7,8 +7,10 @@ type DockButtonProps = {
|
|
|
7
7
|
mainIcon: string;
|
|
8
8
|
mainLabel?: string;
|
|
9
9
|
mainTitle?: string;
|
|
10
|
+
mainDataTestId?: string;
|
|
10
11
|
onMainClick: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
11
12
|
showSecondary?: boolean;
|
|
13
|
+
secondaryDataTestId?: string;
|
|
12
14
|
secondaryIcon?: string;
|
|
13
15
|
secondaryTitle?: string;
|
|
14
16
|
onSecondaryClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -21,14 +23,16 @@ type DockButtonProps = {
|
|
|
21
23
|
* @param mainIcon - The CSS class for the main icon to display.
|
|
22
24
|
* @param mainLabel - Optional label text for the main button.
|
|
23
25
|
* @param mainTitle - The title attribute for the main button (for accessibility/tooltips).
|
|
26
|
+
* @param mainDataTestId - The data-testid attribute for the main button (for testing).
|
|
24
27
|
* @param onMainClick - Click handler for the main button action.
|
|
25
28
|
* @param showSecondary - Flag to indicate if the secondary button should be displayed.
|
|
26
29
|
* @param secondaryIcon - Optional CSS class for the secondary icon to display.
|
|
27
30
|
* @param secondaryTitle - The title attribute for the secondary button (for accessibility/tooltips).
|
|
31
|
+
* @param secondaryDataTestId - The data-testid attribute for the secondary button (for testing).
|
|
28
32
|
* @param outlined - Flag to indicate if the button should have an outlined style.
|
|
29
33
|
* @param onSecondaryClick - Optional click handler for the secondary button action.
|
|
30
34
|
*
|
|
31
35
|
* @returns A dock button component with main and optional secondary actions.
|
|
32
36
|
*/
|
|
33
|
-
declare const DockButton: ({ className, disabled, mainIcon, mainLabel, mainTitle, onMainClick, secondaryIcon, secondaryTitle, onSecondaryClick, outlined, showSecondary }: DockButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare const DockButton: ({ className, disabled, mainIcon, mainLabel, mainTitle, mainDataTestId, onMainClick, secondaryIcon, secondaryTitle, secondaryDataTestId, onSecondaryClick, outlined, showSecondary }: DockButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
38
|
export default DockButton;
|