@lax-wp/design-system 0.3.55 → 0.3.57

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,9 @@
1
+ import { type CheckboxChangeEvent, type CheckboxProps } from "antd";
2
+ type TCheckboxComponentProps = {
3
+ label?: string;
4
+ isChecked: boolean;
5
+ onChange: (e: CheckboxChangeEvent) => void;
6
+ id: string;
7
+ } & CheckboxProps;
8
+ export declare const CheckboxComponent: ({ label, isChecked, onChange, id, ...props }: TCheckboxComponentProps) => import("react/jsx-runtime").JSX.Element;
9
+ export type { TCheckboxComponentProps };
@@ -133,6 +133,8 @@ export interface SelectFieldProps extends Omit<SelectProps, 'onChange'> {
133
133
  isRequiredConditional?: boolean;
134
134
  /** Translation function */
135
135
  t?: (key: string) => string;
136
+ /** Whether this is a live field */
137
+ isLiveField?: boolean;
136
138
  }
137
139
  /**
138
140
  * SelectField component - A feature-rich select dropdown with multi-select, tags, search, and more
package/dist/index.d.ts CHANGED
@@ -13,6 +13,8 @@ export { SelectField } from "./components/forms/select-field/SelectField";
13
13
  export type { SelectFieldProps, SelectOption as SelectFieldOption, TLabelValue, } from "./components/forms/select-field/SelectField";
14
14
  export { Checkbox } from "./components/forms/checkbox/Checkbox";
15
15
  export type { CheckboxComponentProps, TCheckboxComponentProps, } from "./components/forms/checkbox/Checkbox";
16
+ export { CheckboxComponent } from "./components/forms/checkbox/CheckboxComponent";
17
+ export type { TCheckboxComponentProps as TSimpleCheckboxComponentProps } from "./components/forms/checkbox/CheckboxComponent";
16
18
  export { ColorPicker } from "./components/forms/color-picker/ColorPicker";
17
19
  export type { ColorPickerProps, ColorPickerComponentProps, } from "./components/forms/color-picker/ColorPicker";
18
20
  export { CreatableSelectField } from "./components/forms/creatable-select/CreatableSelect";