@lax-wp/design-system 0.3.56 → 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.
- package/dist/components/forms/checkbox/CheckboxComponent.d.ts +9 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +1362 -1341
- package/dist/index.umd.js +42 -42
- package/package.json +1 -1
|
@@ -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 };
|
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";
|