@lax-wp/design-system 0.5.10 → 0.5.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.
@@ -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,6 @@
1
+ export interface InputLabelProps {
2
+ label: string;
3
+ required: boolean;
4
+ isRequiredConditional?: boolean;
5
+ }
6
+ export declare const InputLabel: ({ label, required, isRequiredConditional }: InputLabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -65,16 +65,6 @@ export interface ToggleProps {
65
65
  helpText?: string;
66
66
  /** Size variant for the toggle */
67
67
  size?: "small" | "medium" | "large";
68
- /** Custom render function for AI extracted indicator */
69
- renderAiExtractedIndicator?: () => ReactNode;
70
- /** Custom render function for labels/tags */
71
- renderLabels?: (labels?: (string | LabelType)[]) => ReactNode;
72
- /** Custom render function for required indicator */
73
- renderRequired?: (isConditional: boolean) => ReactNode;
74
- /** Custom render function for tooltip */
75
- renderTooltip?: (tooltip: string) => ReactNode;
76
- /** Custom render function for live field icon */
77
- renderLiveFieldIcon?: () => ReactNode;
78
68
  /** Custom render function for GTN add to document button */
79
69
  renderGTNAddButton?: (onClick: () => void) => ReactNode;
80
70
  /** Handler for adding GTN to document */
@@ -82,13 +72,6 @@ export interface ToggleProps {
82
72
  key: string;
83
73
  value: string;
84
74
  }) => void;
85
- /** Add to document icon component */
86
- AddToDocumentIcon?: React.ComponentType<{
87
- fontSize?: number;
88
- color?: string;
89
- }>;
90
- /** Primary color shades for styling */
91
- primaryColorShades?: Record<number, string>;
92
75
  }
93
76
  /**
94
77
  * A highly customizable toggle component with label, validation, and styling support.