@yamada-ui/pin-input 0.3.17 → 0.3.19
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/pin-input.d.mts +3 -3
- package/dist/pin-input.d.ts +3 -3
- package/package.json +6 -6
package/dist/pin-input.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
|
-
import { HTMLUIProps, ThemeProps,
|
|
2
|
+
import { HTMLUIProps, ThemeProps, ColorModeToken, CSS } from '@yamada-ui/core';
|
|
3
3
|
import { FormControlOptions } from '@yamada-ui/form-control';
|
|
4
4
|
|
|
5
5
|
type PinInputOptions = {
|
|
@@ -65,11 +65,11 @@ type PinInputOptions = {
|
|
|
65
65
|
/**
|
|
66
66
|
* The border color when the input is focused.
|
|
67
67
|
*/
|
|
68
|
-
focusBorderColor?:
|
|
68
|
+
focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
|
|
69
69
|
/**
|
|
70
70
|
* The border color when the input is invalid.
|
|
71
71
|
*/
|
|
72
|
-
errorBorderColor?:
|
|
72
|
+
errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
|
|
73
73
|
};
|
|
74
74
|
type PinInputProps = Omit<HTMLUIProps<'div'>, 'onChange'> & ThemeProps<'PinInput'> & FormControlOptions & PinInputOptions;
|
|
75
75
|
declare const PinInput: _yamada_ui_core.Component<"div", PinInputProps>;
|
package/dist/pin-input.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
|
-
import { HTMLUIProps, ThemeProps,
|
|
2
|
+
import { HTMLUIProps, ThemeProps, ColorModeToken, CSS } from '@yamada-ui/core';
|
|
3
3
|
import { FormControlOptions } from '@yamada-ui/form-control';
|
|
4
4
|
|
|
5
5
|
type PinInputOptions = {
|
|
@@ -65,11 +65,11 @@ type PinInputOptions = {
|
|
|
65
65
|
/**
|
|
66
66
|
* The border color when the input is focused.
|
|
67
67
|
*/
|
|
68
|
-
focusBorderColor?:
|
|
68
|
+
focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
|
|
69
69
|
/**
|
|
70
70
|
* The border color when the input is invalid.
|
|
71
71
|
*/
|
|
72
|
-
errorBorderColor?:
|
|
72
|
+
errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
|
|
73
73
|
};
|
|
74
74
|
type PinInputProps = Omit<HTMLUIProps<'div'>, 'onChange'> & ThemeProps<'PinInput'> & FormControlOptions & PinInputOptions;
|
|
75
75
|
declare const PinInput: _yamada_ui_core.Component<"div", PinInputProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/pin-input",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.19",
|
|
4
4
|
"description": "Yamada UI pin input 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.12.
|
|
39
|
-
"@yamada-ui/utils": "0.3.
|
|
40
|
-
"@yamada-ui/form-control": "0.3.
|
|
41
|
-
"@yamada-ui/use-descendant": "0.2.
|
|
42
|
-
"@yamada-ui/use-controllable-state": "0.
|
|
38
|
+
"@yamada-ui/core": "0.12.5",
|
|
39
|
+
"@yamada-ui/utils": "0.3.3",
|
|
40
|
+
"@yamada-ui/form-control": "0.3.18",
|
|
41
|
+
"@yamada-ui/use-descendant": "0.2.5",
|
|
42
|
+
"@yamada-ui/use-controllable-state": "0.3.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"react": "^18.0.0",
|