@yamada-ui/radio 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.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Radio, RadioProps, UseRadioProps, useRadio } from './radio.js';
2
2
  export { RadioGroup, RadioGroupProps, UseRadioGroupProps, useRadioGroup, useRadioGroupContenxt } from './radio-group.js';
3
- import '@yamada-ui/utils';
4
3
  import '@yamada-ui/core';
5
4
  import '@yamada-ui/form-control';
5
+ import '@yamada-ui/utils';
6
6
  import 'react';
7
7
  import '@yamada-ui/layouts';
@@ -19,7 +19,7 @@ declare const useRadioGroup: <Y extends string | number = string>({ id, name, is
19
19
  setValue: react.Dispatch<react.SetStateAction<Y>>;
20
20
  onChange: (evOrValue: ChangeEvent<HTMLInputElement> | Y) => void;
21
21
  onFocus: () => void;
22
- getContainerProps: PropGetter<Record<string, unknown>, DOMAttributes<Element & HTMLOrSVGElement>>;
22
+ getContainerProps: PropGetter;
23
23
  getRadioProps: PropGetter<react.AriaAttributes & react.DOMAttributes<HTMLInputElement> & {
24
24
  [dataAttr: string]: any;
25
25
  } & {
package/dist/radio.d.ts CHANGED
@@ -1,7 +1,6 @@
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';
3
+ import { PropGetter } from '@yamada-ui/utils';
5
4
  import { ChangeEventHandler, Ref, InputHTMLAttributes } from 'react';
6
5
 
7
6
  type UseRadioProps<Y extends string | number = string> = FormControlOptions & {
@@ -18,10 +17,10 @@ declare const useRadio: <Y extends string | number = string>(props: UseRadioProp
18
17
  isHovered: boolean;
19
18
  isActive: boolean;
20
19
  isChecked: boolean;
21
- getContainerProps: PropGetter<Record<string, unknown>, _yamada_ui_utils.DOMAttributes<Element & HTMLOrSVGElement>>;
22
- getInputProps: PropGetter<Record<string, unknown>, _yamada_ui_utils.DOMAttributes<Element & HTMLOrSVGElement>>;
23
- getIconProps: PropGetter<Record<string, unknown>, _yamada_ui_utils.DOMAttributes<Element & HTMLOrSVGElement>>;
24
- getLabelProps: PropGetter<Record<string, unknown>, _yamada_ui_utils.DOMAttributes<Element & HTMLOrSVGElement>>;
20
+ getContainerProps: PropGetter;
21
+ getInputProps: PropGetter;
22
+ getIconProps: PropGetter;
23
+ getLabelProps: PropGetter;
25
24
  };
26
25
  type RadioOptions = {
27
26
  iconProps?: HTMLUIProps<'span'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/radio",
3
- "version": "0.0.0-dev-20230609053333",
3
+ "version": "0.0.0-dev-20230611113619",
4
4
  "description": "Yamada UI radio component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -35,10 +35,10 @@
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/form-control": "0.1.5",
41
- "@yamada-ui/layouts": "0.1.5",
40
+ "@yamada-ui/form-control": "0.0.0-dev-20230611113619",
41
+ "@yamada-ui/layouts": "0.0.0-dev-20230611113619",
42
42
  "@yamada-ui/use-controllable-state": "0.1.1",
43
43
  "@yamada-ui/use-focus-visible": "0.1.1"
44
44
  },