@yamada-ui/pin-input 0.3.19 → 0.3.21

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.
@@ -236,7 +236,7 @@ var PinInputField = forwardRef(
236
236
  return /* @__PURE__ */ jsx(
237
237
  ui.input,
238
238
  {
239
- className: cx("ui-pin-input-field", className),
239
+ className: cx("ui-pin-input__field", className),
240
240
  ...getInputProps({ ...rest, ref: mergeRefs(register, ref), index }),
241
241
  __css: css
242
242
  }
package/dist/index.js CHANGED
@@ -241,7 +241,7 @@ var PinInputField = (0, import_core.forwardRef)(
241
241
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
242
242
  import_core.ui.input,
243
243
  {
244
- className: (0, import_utils.cx)("ui-pin-input-field", className),
244
+ className: (0, import_utils.cx)("ui-pin-input__field", className),
245
245
  ...getInputProps({ ...rest, ref: (0, import_utils.mergeRefs)(register, ref), index }),
246
246
  __css: css
247
247
  }
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  PinInput,
4
4
  PinInputField
5
- } from "./chunk-FJEH5VGP.mjs";
5
+ } from "./chunk-S3HGITC7.mjs";
6
6
  export {
7
7
  PinInput,
8
8
  PinInputField
@@ -13,7 +13,7 @@ type PinInputOptions = {
13
13
  *
14
14
  * @default 'number'
15
15
  */
16
- type?: 'alphanumeric' | 'number';
16
+ type?: "alphanumeric" | "number";
17
17
  /**
18
18
  * The placeholder for the pin input.
19
19
  *
@@ -65,15 +65,15 @@ type PinInputOptions = {
65
65
  /**
66
66
  * The border color when the input is focused.
67
67
  */
68
- focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
68
+ focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
69
69
  /**
70
70
  * The border color when the input is invalid.
71
71
  */
72
- errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
72
+ errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
73
73
  };
74
- type PinInputProps = Omit<HTMLUIProps<'div'>, 'onChange'> & ThemeProps<'PinInput'> & FormControlOptions & PinInputOptions;
74
+ type PinInputProps = Omit<HTMLUIProps<"div">, "onChange"> & ThemeProps<"PinInput"> & FormControlOptions & PinInputOptions;
75
75
  declare const PinInput: _yamada_ui_core.Component<"div", PinInputProps>;
76
- type PinInputFieldProps = HTMLUIProps<'input'> & FormControlOptions;
76
+ type PinInputFieldProps = HTMLUIProps<"input"> & FormControlOptions;
77
77
  declare const PinInputField: _yamada_ui_core.Component<"input", PinInputFieldProps>;
78
78
 
79
79
  export { PinInput, PinInputField, PinInputFieldProps, PinInputProps };
@@ -13,7 +13,7 @@ type PinInputOptions = {
13
13
  *
14
14
  * @default 'number'
15
15
  */
16
- type?: 'alphanumeric' | 'number';
16
+ type?: "alphanumeric" | "number";
17
17
  /**
18
18
  * The placeholder for the pin input.
19
19
  *
@@ -65,15 +65,15 @@ type PinInputOptions = {
65
65
  /**
66
66
  * The border color when the input is focused.
67
67
  */
68
- focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
68
+ focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
69
69
  /**
70
70
  * The border color when the input is invalid.
71
71
  */
72
- errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
72
+ errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
73
73
  };
74
- type PinInputProps = Omit<HTMLUIProps<'div'>, 'onChange'> & ThemeProps<'PinInput'> & FormControlOptions & PinInputOptions;
74
+ type PinInputProps = Omit<HTMLUIProps<"div">, "onChange"> & ThemeProps<"PinInput"> & FormControlOptions & PinInputOptions;
75
75
  declare const PinInput: _yamada_ui_core.Component<"div", PinInputProps>;
76
- type PinInputFieldProps = HTMLUIProps<'input'> & FormControlOptions;
76
+ type PinInputFieldProps = HTMLUIProps<"input"> & FormControlOptions;
77
77
  declare const PinInputField: _yamada_ui_core.Component<"input", PinInputFieldProps>;
78
78
 
79
79
  export { PinInput, PinInputField, PinInputFieldProps, PinInputProps };
package/dist/pin-input.js CHANGED
@@ -239,7 +239,7 @@ var PinInputField = (0, import_core.forwardRef)(
239
239
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
240
240
  import_core.ui.input,
241
241
  {
242
- className: (0, import_utils.cx)("ui-pin-input-field", className),
242
+ className: (0, import_utils.cx)("ui-pin-input__field", className),
243
243
  ...getInputProps({ ...rest, ref: (0, import_utils.mergeRefs)(register, ref), index }),
244
244
  __css: css
245
245
  }
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  PinInput,
4
4
  PinInputField
5
- } from "./chunk-FJEH5VGP.mjs";
5
+ } from "./chunk-S3HGITC7.mjs";
6
6
  export {
7
7
  PinInput,
8
8
  PinInputField
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/pin-input",
3
- "version": "0.3.19",
3
+ "version": "0.3.21",
4
4
  "description": "Yamada UI pin input component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -35,9 +35,9 @@
35
35
  "url": "https://github.com/hirotomoyamada/yamada-ui/issues"
36
36
  },
37
37
  "dependencies": {
38
- "@yamada-ui/core": "0.12.5",
38
+ "@yamada-ui/core": "0.12.6",
39
39
  "@yamada-ui/utils": "0.3.3",
40
- "@yamada-ui/form-control": "0.3.18",
40
+ "@yamada-ui/form-control": "0.3.19",
41
41
  "@yamada-ui/use-descendant": "0.2.5",
42
42
  "@yamada-ui/use-controllable-state": "0.3.0"
43
43
  },