@delightui/components 0.1.64 → 0.1.66
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/cjs/components/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/cjs/components/atoms/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/cjs/components/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/cjs/components/atoms/RadioButton/RadioButton.types.d.ts +1 -1
- package/dist/cjs/components/molecules/List/List.types.d.ts +1 -3
- package/dist/cjs/components/molecules/List/components/RepeaterList.d.ts +2 -1
- package/dist/cjs/library.css +110 -12
- package/dist/cjs/library.js +1 -1
- package/dist/cjs/library.js.map +1 -1
- package/dist/esm/components/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/components/atoms/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/esm/components/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/esm/components/atoms/RadioButton/RadioButton.types.d.ts +1 -1
- package/dist/esm/components/molecules/List/List.types.d.ts +1 -3
- package/dist/esm/components/molecules/List/components/RepeaterList.d.ts +2 -1
- package/dist/esm/library.css +110 -12
- package/dist/esm/library.js +1 -1
- package/dist/esm/library.js.map +1 -1
- package/dist/index.d.ts +6 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -680,7 +680,7 @@ declare const Chip: (props: ChipProps) => React__default.JSX.Element;
|
|
|
680
680
|
|
|
681
681
|
type CheckboxSizeEnum = 'Small' | 'Medium' | 'Large';
|
|
682
682
|
type CheckboxLabelAlignmentEnum = 'Left' | 'Right';
|
|
683
|
-
type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value'> & {
|
|
683
|
+
type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value' | 'size'> & {
|
|
684
684
|
/**
|
|
685
685
|
* The label of the checkbox.
|
|
686
686
|
*/
|
|
@@ -724,7 +724,7 @@ type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'check
|
|
|
724
724
|
independent?: boolean;
|
|
725
725
|
};
|
|
726
726
|
|
|
727
|
-
declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type"> & {
|
|
727
|
+
declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type" | "size"> & {
|
|
728
728
|
children?: React__default.ReactNode;
|
|
729
729
|
size?: CheckboxSizeEnum;
|
|
730
730
|
checked?: boolean;
|
|
@@ -822,7 +822,7 @@ declare const Slider: (props: SliderProps) => React__default.JSX.Element;
|
|
|
822
822
|
|
|
823
823
|
type RadioButtonSizeEnum = 'Small' | 'Medium' | 'Large';
|
|
824
824
|
type RadioButtonLabelAlignmentEnum = 'Left' | 'Right';
|
|
825
|
-
type RadioButtonProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value'> & {
|
|
825
|
+
type RadioButtonProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value' | 'size'> & {
|
|
826
826
|
/**
|
|
827
827
|
* The label of the radio button.
|
|
828
828
|
*/
|
|
@@ -857,7 +857,7 @@ type RadioButtonProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'ch
|
|
|
857
857
|
value?: string | number;
|
|
858
858
|
};
|
|
859
859
|
|
|
860
|
-
declare const RadioButton: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type"> & {
|
|
860
|
+
declare const RadioButton: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type" | "size"> & {
|
|
861
861
|
children?: React__default.ReactNode;
|
|
862
862
|
size?: RadioButtonSizeEnum;
|
|
863
863
|
checked?: boolean;
|
|
@@ -1141,9 +1141,7 @@ type ListItemProps<T extends ListItemType> = Omit<HTMLAttributes<HTMLLIElement>,
|
|
|
1141
1141
|
*
|
|
1142
1142
|
* @template T - The type of the list items.
|
|
1143
1143
|
*/
|
|
1144
|
-
type RepeaterListProps<T extends ListItemType> = Omit<ListProps<T>, 'keyExtractor' | 'sortable' | 'updateSortOrder' | 'align' | 'wrap'
|
|
1145
|
-
data: T[];
|
|
1146
|
-
};
|
|
1144
|
+
type RepeaterListProps<T extends ListItemType> = Omit<ListProps<T>, 'keyExtractor' | 'sortable' | 'updateSortOrder' | 'align' | 'wrap'>;
|
|
1147
1145
|
type SortableTriggerProps = IconButtonProps;
|
|
1148
1146
|
/**
|
|
1149
1147
|
* Props for the list wrapper component.
|
|
@@ -1215,7 +1213,7 @@ declare const List: <T extends ListItemType>(props: ListProps<T>) => React__defa
|
|
|
1215
1213
|
*/
|
|
1216
1214
|
declare const SortableItem: <T extends ListItemType>(props: ListItemProps<T>) => React__default.JSX.Element;
|
|
1217
1215
|
|
|
1218
|
-
declare const RepeaterList: <T extends ListItemType>(props: RepeaterListProps<T>) =>
|
|
1216
|
+
declare const RepeaterList: <T extends ListItemType>(props: RepeaterListProps<T>) => React__default.JSX.Element;
|
|
1219
1217
|
|
|
1220
1218
|
declare const SortableTrigger: (props: SortableTriggerProps) => React__default.JSX.Element;
|
|
1221
1219
|
|