@salina-app/media-editor 0.0.89 → 0.0.91

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.
@@ -1,3 +1,4 @@
1
+ import { SelectProps } from '@radix-ui/react-select';
1
2
  declare const highlightOptions: readonly [{
2
3
  readonly value: "off";
3
4
  readonly name: "Off";
@@ -12,9 +13,16 @@ declare const highlightOptions: readonly [{
12
13
  readonly name: "Highlight 3";
13
14
  }];
14
15
  export type HighlightOptionValue = (typeof highlightOptions)[number]['value'];
16
+ export interface HighlightSelectionProps extends Omit<SelectProps, 'value' | 'onValueChange'> {
17
+ className?: string;
18
+ defaultValue?: HighlightOptionValue;
19
+ useStore?: boolean;
20
+ value?: HighlightOptionValue;
21
+ onValueChange?: (value: HighlightOptionValue) => void;
22
+ }
15
23
  /**
16
- * Render a selection dropdown for highlight options.
17
- * Allows users to choose a highlight setting from predefined options.
24
+ * Reusable highlight selection dropdown component
25
+ * Can work with internal store state or be controlled externally
18
26
  */
19
- declare const HighlightSelection: () => import("react/jsx-runtime").JSX.Element;
27
+ declare const HighlightSelection: import('react').ForwardRefExoticComponent<HighlightSelectionProps & import('react').RefAttributes<HTMLButtonElement>>;
20
28
  export default HighlightSelection;