@yamada-ui/input 0.3.19 → 0.3.20
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/input-addon.d.mts +2 -2
- package/dist/input-addon.d.ts +2 -2
- package/dist/input-element.d.mts +2 -2
- package/dist/input-element.d.ts +2 -2
- package/dist/input-group.d.mts +1 -1
- package/dist/input-group.d.ts +1 -1
- package/dist/input.d.mts +3 -3
- package/dist/input.d.ts +3 -3
- package/package.json +5 -5
package/dist/input-addon.d.mts
CHANGED
|
@@ -7,9 +7,9 @@ type InputAddonOptions = {
|
|
|
7
7
|
*
|
|
8
8
|
* @default 'left'
|
|
9
9
|
*/
|
|
10
|
-
placement?:
|
|
10
|
+
placement?: "left" | "right";
|
|
11
11
|
};
|
|
12
|
-
type InputAddonProps = HTMLUIProps<
|
|
12
|
+
type InputAddonProps = HTMLUIProps<"div"> & InputAddonOptions;
|
|
13
13
|
declare const InputLeftAddon: _yamada_ui_core.Component<"div", InputAddonProps>;
|
|
14
14
|
declare const InputRightAddon: _yamada_ui_core.Component<"div", InputAddonProps>;
|
|
15
15
|
|
package/dist/input-addon.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ type InputAddonOptions = {
|
|
|
7
7
|
*
|
|
8
8
|
* @default 'left'
|
|
9
9
|
*/
|
|
10
|
-
placement?:
|
|
10
|
+
placement?: "left" | "right";
|
|
11
11
|
};
|
|
12
|
-
type InputAddonProps = HTMLUIProps<
|
|
12
|
+
type InputAddonProps = HTMLUIProps<"div"> & InputAddonOptions;
|
|
13
13
|
declare const InputLeftAddon: _yamada_ui_core.Component<"div", InputAddonProps>;
|
|
14
14
|
declare const InputRightAddon: _yamada_ui_core.Component<"div", InputAddonProps>;
|
|
15
15
|
|
package/dist/input-element.d.mts
CHANGED
|
@@ -13,9 +13,9 @@ type InputElementOptions = {
|
|
|
13
13
|
*
|
|
14
14
|
* @default 'left'
|
|
15
15
|
*/
|
|
16
|
-
placement?:
|
|
16
|
+
placement?: "left" | "right";
|
|
17
17
|
};
|
|
18
|
-
type InputElementProps = HTMLUIProps<
|
|
18
|
+
type InputElementProps = HTMLUIProps<"div"> & InputElementOptions;
|
|
19
19
|
declare const InputLeftElement: _yamada_ui_core.Component<"div", InputElementProps>;
|
|
20
20
|
declare const InputRightElement: _yamada_ui_core.Component<"div", InputElementProps>;
|
|
21
21
|
|
package/dist/input-element.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ type InputElementOptions = {
|
|
|
13
13
|
*
|
|
14
14
|
* @default 'left'
|
|
15
15
|
*/
|
|
16
|
-
placement?:
|
|
16
|
+
placement?: "left" | "right";
|
|
17
17
|
};
|
|
18
|
-
type InputElementProps = HTMLUIProps<
|
|
18
|
+
type InputElementProps = HTMLUIProps<"div"> & InputElementOptions;
|
|
19
19
|
declare const InputLeftElement: _yamada_ui_core.Component<"div", InputElementProps>;
|
|
20
20
|
declare const InputRightElement: _yamada_ui_core.Component<"div", InputElementProps>;
|
|
21
21
|
|
package/dist/input-group.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
2
|
import { HTMLUIProps, ThemeProps, CSSUIObject } from '@yamada-ui/core';
|
|
3
3
|
|
|
4
|
-
type InputGroupProps = HTMLUIProps<
|
|
4
|
+
type InputGroupProps = HTMLUIProps<"div"> & ThemeProps<"Input">;
|
|
5
5
|
type InputGroupContext = Record<string, CSSUIObject>;
|
|
6
6
|
declare const useInputGroup: () => InputGroupContext;
|
|
7
7
|
|
package/dist/input-group.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
2
|
import { HTMLUIProps, ThemeProps, CSSUIObject } from '@yamada-ui/core';
|
|
3
3
|
|
|
4
|
-
type InputGroupProps = HTMLUIProps<
|
|
4
|
+
type InputGroupProps = HTMLUIProps<"div"> & ThemeProps<"Input">;
|
|
5
5
|
type InputGroupContext = Record<string, CSSUIObject>;
|
|
6
6
|
declare const useInputGroup: () => InputGroupContext;
|
|
7
7
|
|
package/dist/input.d.mts
CHANGED
|
@@ -6,17 +6,17 @@ type InputOptions = {
|
|
|
6
6
|
/**
|
|
7
7
|
* The border color when the input is focused.
|
|
8
8
|
*/
|
|
9
|
-
focusBorderColor?: ColorModeToken<CSS.Property.BorderColor,
|
|
9
|
+
focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
|
|
10
10
|
/**
|
|
11
11
|
* The border color when the input is invalid.
|
|
12
12
|
*/
|
|
13
|
-
errorBorderColor?: ColorModeToken<CSS.Property.BorderColor,
|
|
13
|
+
errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
|
|
14
14
|
/**
|
|
15
15
|
* The native HTML `size` attribute to be passed to the `input`
|
|
16
16
|
*/
|
|
17
17
|
htmlSize?: number;
|
|
18
18
|
};
|
|
19
|
-
type InputProps = Omit<HTMLUIProps<
|
|
19
|
+
type InputProps = Omit<HTMLUIProps<"input">, "disabled" | "required" | "readOnly" | "size"> & ThemeProps<"Input"> & InputOptions & FormControlOptions;
|
|
20
20
|
declare const Input: _yamada_ui_core.Component<"input", InputProps>;
|
|
21
21
|
|
|
22
22
|
export { Input, InputProps };
|
package/dist/input.d.ts
CHANGED
|
@@ -6,17 +6,17 @@ type InputOptions = {
|
|
|
6
6
|
/**
|
|
7
7
|
* The border color when the input is focused.
|
|
8
8
|
*/
|
|
9
|
-
focusBorderColor?: ColorModeToken<CSS.Property.BorderColor,
|
|
9
|
+
focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
|
|
10
10
|
/**
|
|
11
11
|
* The border color when the input is invalid.
|
|
12
12
|
*/
|
|
13
|
-
errorBorderColor?: ColorModeToken<CSS.Property.BorderColor,
|
|
13
|
+
errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
|
|
14
14
|
/**
|
|
15
15
|
* The native HTML `size` attribute to be passed to the `input`
|
|
16
16
|
*/
|
|
17
17
|
htmlSize?: number;
|
|
18
18
|
};
|
|
19
|
-
type InputProps = Omit<HTMLUIProps<
|
|
19
|
+
type InputProps = Omit<HTMLUIProps<"input">, "disabled" | "required" | "readOnly" | "size"> & ThemeProps<"Input"> & InputOptions & FormControlOptions;
|
|
20
20
|
declare const Input: _yamada_ui_core.Component<"input", InputProps>;
|
|
21
21
|
|
|
22
22
|
export { Input, InputProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/input",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.20",
|
|
4
4
|
"description": "Yamada UI 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.
|
|
38
|
+
"@yamada-ui/core": "0.12.6",
|
|
39
|
+
"@yamada-ui/file-input": "0.4.11",
|
|
40
|
+
"@yamada-ui/form-control": "0.3.19",
|
|
39
41
|
"@yamada-ui/utils": "0.3.3",
|
|
40
|
-
"@yamada-ui/
|
|
41
|
-
"@yamada-ui/form-control": "0.3.18",
|
|
42
|
-
"@yamada-ui/use-token": "0.3.9"
|
|
42
|
+
"@yamada-ui/use-token": "0.3.10"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"react": "^18.0.0",
|