@lax-wp/design-system 0.5.10 → 0.5.11

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,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.