@yamada-ui/checkbox 0.0.0-dev-20231125231813 → 0.0.0-dev-20231125234802

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.
@@ -49,7 +49,7 @@ declare const useCheckboxGroup: <Y extends string | number = string>({ isNative,
49
49
  onChange: (ev: Y | ChangeEvent<HTMLInputElement>) => void;
50
50
  }>;
51
51
  };
52
- type UseCheckboxGroupReturn = ReturnType<typeof useCheckboxGroup>;
52
+ type UseCheckboxGroupReturn<Y extends string | number = string> = ReturnType<typeof useCheckboxGroup<Y>>;
53
53
  type CheckboxGroupProps<Y extends string | number = string> = ThemeProps<"Checkbox"> & Omit<FlexProps, "onChange"> & UseCheckboxGroupProps<Y> & FormControlOptions & {
54
54
  /**
55
55
  * If provided, generate checkboxes based on items.
@@ -49,7 +49,7 @@ declare const useCheckboxGroup: <Y extends string | number = string>({ isNative,
49
49
  onChange: (ev: Y | ChangeEvent<HTMLInputElement>) => void;
50
50
  }>;
51
51
  };
52
- type UseCheckboxGroupReturn = ReturnType<typeof useCheckboxGroup>;
52
+ type UseCheckboxGroupReturn<Y extends string | number = string> = ReturnType<typeof useCheckboxGroup<Y>>;
53
53
  type CheckboxGroupProps<Y extends string | number = string> = ThemeProps<"Checkbox"> & Omit<FlexProps, "onChange"> & UseCheckboxGroupProps<Y> & FormControlOptions & {
54
54
  /**
55
55
  * If provided, generate checkboxes based on items.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Checkbox, CheckboxIcon, CheckboxIconProps, CheckboxProps, UseCheckboxProps, UseCheckboxReturn, useCheckbox } from './checkbox.mjs';
2
- export { CheckboxGroup, CheckboxGroupProps, CheckboxItem, UseCheckboxGroupProps, useCheckboxGroup } from './checkbox-group.mjs';
2
+ export { CheckboxGroup, CheckboxGroupProps, CheckboxItem, UseCheckboxGroupProps, UseCheckboxGroupReturn, useCheckboxGroup } from './checkbox-group.mjs';
3
3
  import '@yamada-ui/core';
4
4
  import '@yamada-ui/form-control';
5
5
  import '@yamada-ui/motion';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Checkbox, CheckboxIcon, CheckboxIconProps, CheckboxProps, UseCheckboxProps, UseCheckboxReturn, useCheckbox } from './checkbox.js';
2
- export { CheckboxGroup, CheckboxGroupProps, CheckboxItem, UseCheckboxGroupProps, useCheckboxGroup } from './checkbox-group.js';
2
+ export { CheckboxGroup, CheckboxGroupProps, CheckboxItem, UseCheckboxGroupProps, UseCheckboxGroupReturn, useCheckboxGroup } from './checkbox-group.js';
3
3
  import '@yamada-ui/core';
4
4
  import '@yamada-ui/form-control';
5
5
  import '@yamada-ui/motion';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/checkbox",
3
- "version": "0.0.0-dev-20231125231813",
3
+ "version": "0.0.0-dev-20231125234802",
4
4
  "description": "Yamada UI checkbox component",
5
5
  "keywords": [
6
6
  "yamada",