@lax-wp/design-system 0.5.11 → 0.5.13

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.
@@ -55,8 +55,6 @@ export type TProps = {
55
55
  tooltip?: string;
56
56
  /** Additional CSS classes for the wrapper */
57
57
  className?: string;
58
- /** Whether the component is in dark mode */
59
- isDarkMode?: boolean;
60
58
  };
61
59
  export type CreatableSelectProps = TProps & ComponentProps<typeof CreatableSelect>;
62
60
  /**
@@ -81,6 +79,6 @@ export type CreatableSelectProps = TProps & ComponentProps<typeof CreatableSelec
81
79
  * ```
82
80
  */
83
81
  export declare const CreatableSelectField: {
84
- ({ id, label, errorMessage, selectOptions, loading, isClearable, multiSelect, selectedValues, disabled, required, value, className, tooltip, tags, originalCase, onChange, filterOption, placeholder, isDarkMode, ...props }: TProps & ComponentProps<typeof CreatableSelect>): import("react/jsx-runtime").JSX.Element;
82
+ ({ id, label, errorMessage, selectOptions, loading, isClearable, multiSelect, selectedValues, disabled, required, value, className, tooltip, tags, originalCase, onChange, filterOption, placeholder, ...props }: TProps & ComponentProps<typeof CreatableSelect>): import("react/jsx-runtime").JSX.Element;
85
83
  displayName: string;
86
84
  };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Hook to detect dark mode from document class
3
+ * This matches the design system's dark mode detection pattern
4
+ */
5
+ export declare const useIsDarkMode: () => boolean;