@yamada-ui/checkbox 0.0.0-dev-20230609053333 → 0.0.0-dev-20230611113619

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.
@@ -1,8 +1,7 @@
1
- import * as _yamada_ui_utils from '@yamada-ui/utils';
2
- import { PropGetter } from '@yamada-ui/utils';
3
1
  import { HTMLUIProps, ThemeProps, ComponentArgs } from '@yamada-ui/core';
4
2
  import { FormControlOptions } from '@yamada-ui/form-control';
5
3
  import { SVGMotionProps } from '@yamada-ui/motion';
4
+ import { PropGetter } from '@yamada-ui/utils';
6
5
  import { ChangeEventHandler, FocusEventHandler, Ref, FC, ReactElement, InputHTMLAttributes } from 'react';
7
6
 
8
7
  type UseCheckboxProps<Y extends string | number = string> = FormControlOptions & {
@@ -24,10 +23,10 @@ declare const useCheckbox: <Y extends string | number = string>(props: UseCheckb
24
23
  isActive: boolean;
25
24
  isChecked: boolean;
26
25
  isIndeterminate: boolean | undefined;
27
- getContainerProps: PropGetter<Record<string, unknown>, _yamada_ui_utils.DOMAttributes<Element & HTMLOrSVGElement>>;
28
- getIconProps: PropGetter<Record<string, unknown>, _yamada_ui_utils.DOMAttributes<Element & HTMLOrSVGElement>>;
29
- getInputProps: PropGetter<Record<string, unknown>, _yamada_ui_utils.DOMAttributes<Element & HTMLOrSVGElement>>;
30
- getLabelProps: PropGetter<Record<string, unknown>, _yamada_ui_utils.DOMAttributes<Element & HTMLOrSVGElement>>;
26
+ getContainerProps: PropGetter;
27
+ getIconProps: PropGetter;
28
+ getInputProps: PropGetter;
29
+ getLabelProps: PropGetter;
31
30
  };
32
31
  type CheckboxOptions = {
33
32
  iconProps?: Omit<HTMLUIProps<'span'>, 'children'> & {
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export { Checkbox, CheckboxIcon, CheckboxIconProps, CheckboxProps, UseCheckboxProps, useCheckbox } from './checkbox.js';
2
2
  export { CheckboxGroup, CheckboxGroupProps, UseCheckboxGroupProps, useCheckboxGroup, useCheckboxGroupContext } from './checkbox-group.js';
3
- import '@yamada-ui/utils';
4
3
  import '@yamada-ui/core';
5
4
  import '@yamada-ui/form-control';
6
5
  import '@yamada-ui/motion';
6
+ import '@yamada-ui/utils';
7
7
  import 'react';
8
8
  import '@yamada-ui/layouts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/checkbox",
3
- "version": "0.0.0-dev-20230609053333",
3
+ "version": "0.0.0-dev-20230611113619",
4
4
  "description": "Yamada UI checkbox component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -35,11 +35,11 @@
35
35
  "url": "https://github.com/hirotomoyamada/yamada-ui/issues"
36
36
  },
37
37
  "dependencies": {
38
- "@yamada-ui/core": "0.1.5",
38
+ "@yamada-ui/core": "0.0.0-dev-20230611113619",
39
39
  "@yamada-ui/utils": "0.1.1",
40
- "@yamada-ui/layouts": "0.1.5",
41
- "@yamada-ui/form-control": "0.1.5",
42
- "@yamada-ui/motion": "0.1.5",
40
+ "@yamada-ui/layouts": "0.0.0-dev-20230611113619",
41
+ "@yamada-ui/form-control": "0.0.0-dev-20230611113619",
42
+ "@yamada-ui/motion": "0.0.0-dev-20230611113619",
43
43
  "@yamada-ui/use-focus-visible": "0.1.1",
44
44
  "@yamada-ui/use-controllable-state": "0.1.1"
45
45
  },