@fraku/video 0.1.10 → 0.1.12

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.
@@ -0,0 +1,2 @@
1
+ declare const ConfigContent: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default ConfigContent;
@@ -1,14 +1,6 @@
1
- import { StoryFn } from '@storybook/react-vite';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { default as ConfigDialog } from './ConfigDialog';
2
3
 
3
- declare const _default: {
4
- title: string;
5
- parameters: {
6
- layout: string;
7
- };
8
- decorators: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- (): import("react/jsx-runtime").JSX.Element;
13
- storyName: string;
14
- };
4
+ declare const meta: Meta<typeof ConfigDialog>;
5
+ export default meta;
6
+ export declare const Default: StoryObj<typeof ConfigDialog>;
@@ -0,0 +1,2 @@
1
+ declare const ConfigMenu: () => import("react/jsx-runtime").JSX.Element;
2
+ export default ConfigMenu;
@@ -0,0 +1,9 @@
1
+ type MenuButtonProps = {
2
+ className?: string;
3
+ icon: string;
4
+ onClick: () => void;
5
+ title?: string;
6
+ id?: string;
7
+ };
8
+ declare const MenuButton: ({ className, icon, onClick, title, id }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default MenuButton;
@@ -0,0 +1,2 @@
1
+ declare const AudioSettings: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AudioSettings;
@@ -0,0 +1,2 @@
1
+ declare const BackgroundSettings: () => import("react/jsx-runtime").JSX.Element;
2
+ export default BackgroundSettings;
@@ -0,0 +1,8 @@
1
+ declare const DropdownItemTemplate: ({ option, isActive }: {
2
+ option: {
3
+ label: string;
4
+ value: string;
5
+ };
6
+ isActive: boolean;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ export default DropdownItemTemplate;
@@ -0,0 +1,8 @@
1
+ declare const DropdownValueTemplate: ({ option, icon }: {
2
+ option: {
3
+ label: string;
4
+ value: string;
5
+ };
6
+ icon: string;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ export default DropdownValueTemplate;
@@ -0,0 +1,2 @@
1
+ declare const VideoSettings: () => import("react/jsx-runtime").JSX.Element;
2
+ export default VideoSettings;
@@ -0,0 +1,13 @@
1
+ import { ReactSetter } from '../../types';
2
+
3
+ export declare enum SettingsTab {
4
+ Audio = "Audio",
5
+ Video = "Video",
6
+ Background = "Background"
7
+ }
8
+ export type SettingsOverlayContextProps = {
9
+ selectedSettingsTab: SettingsTab;
10
+ setSelectedSettingsTab: ReactSetter<SettingsTab>;
11
+ };
12
+ export declare const SettingsOverlayContext: import('react').Context<SettingsOverlayContextProps>;
13
+ export declare const useSettingsOverlayContext: () => SettingsOverlayContextProps;
@@ -0,0 +1,32 @@
1
+ import { MouseEvent } from 'react';
2
+
3
+ type DockButtonProps = {
4
+ className?: string;
5
+ disabled?: boolean;
6
+ mainIcon: string;
7
+ mainLabel?: string;
8
+ mainTitle?: string;
9
+ onMainClick: (e: MouseEvent<HTMLButtonElement>) => void;
10
+ showSecondary?: boolean;
11
+ secondaryIcon?: string;
12
+ secondaryTitle?: string;
13
+ onSecondaryClick?: (e: MouseEvent<HTMLButtonElement>) => void;
14
+ };
15
+ /**
16
+ * Renders a customizable dock button component with optional main and secondary actions.
17
+ *
18
+ * @param className - Additional CSS class names to apply to the container.
19
+ * @param disabled - Flag to disable the main button.
20
+ * @param mainIcon - The CSS class for the main icon to display.
21
+ * @param mainLabel - Optional label text for the main button.
22
+ * @param mainTitle - The title attribute for the main button (for accessibility/tooltips).
23
+ * @param onMainClick - Click handler for the main button action.
24
+ * @param showSecondary - Flag to indicate if the secondary button should be displayed.
25
+ * @param secondaryIcon - Optional CSS class for the secondary icon to display.
26
+ * @param secondaryTitle - The title attribute for the secondary button (for accessibility/tooltips).
27
+ * @param onSecondaryClick - Optional click handler for the secondary button action.
28
+ *
29
+ * @returns A dock button component with main and optional secondary actions.
30
+ */
31
+ declare const DockButton: ({ className, disabled, mainIcon, mainLabel, mainTitle, onMainClick, secondaryIcon, secondaryTitle, onSecondaryClick, showSecondary }: DockButtonProps) => import("react/jsx-runtime").JSX.Element;
32
+ export default DockButton;
@@ -0,0 +1,9 @@
1
+ import { MenuItem, MenuItemOptions } from 'primereact/menuitem';
2
+
3
+ type MenuItemTemplateProps = {
4
+ item: MenuItem;
5
+ options: MenuItemOptions;
6
+ activeItem: string | undefined;
7
+ };
8
+ declare const MenuItemTemplate: ({ item, options, activeItem }: MenuItemTemplateProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default MenuItemTemplate;
File without changes
@@ -0,0 +1,4 @@
1
+ import { OverlayProps } from './types';
2
+
3
+ declare const Overlay: ({ children, onHide, className, visible, width, header }: OverlayProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Overlay;
@@ -0,0 +1,2 @@
1
+ export { default } from './Overlay';
2
+ export { type OverlayProps } from './types';
@@ -0,0 +1,8 @@
1
+ export type OverlayProps = {
2
+ children: React.ReactNode;
3
+ className?: string;
4
+ header?: string | React.ReactNode;
5
+ onHide: () => void;
6
+ width?: string | number;
7
+ visible: boolean;
8
+ };