@yamada-ui/input 0.3.23 → 0.4.0

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.
@@ -160,7 +160,8 @@ var InputGroup = forwardRef3((props, ref) => {
160
160
  const css = {
161
161
  width: "100%",
162
162
  display: "flex",
163
- position: "relative"
163
+ position: "relative",
164
+ ...styles.container
164
165
  };
165
166
  const groupProps = {};
166
167
  const minHeight = (_g = (_e = useToken("sizes", (_c = (_a = styles.field) == null ? void 0 : _a.minHeight) != null ? _c : (_b = styles.field) == null ? void 0 : _b.minH)) != null ? _e : (_d = styles.field) == null ? void 0 : _d.minHeight) != null ? _g : (_f = styles.field) == null ? void 0 : _f.minH;
package/dist/index.js CHANGED
@@ -70,7 +70,8 @@ var InputGroup = (0, import_core2.forwardRef)((props, ref) => {
70
70
  const css = {
71
71
  width: "100%",
72
72
  display: "flex",
73
- position: "relative"
73
+ position: "relative",
74
+ ...styles.container
74
75
  };
75
76
  const groupProps = {};
76
77
  const minHeight = (_g = (_e = (0, import_use_token.useToken)("sizes", (_c = (_a = styles.field) == null ? void 0 : _a.minHeight) != null ? _c : (_b = styles.field) == null ? void 0 : _b.minH)) != null ? _e : (_d = styles.field) == null ? void 0 : _d.minHeight) != null ? _g : (_f = styles.field) == null ? void 0 : _f.minH;
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  InputLeftElement,
6
6
  InputRightAddon,
7
7
  InputRightElement
8
- } from "./chunk-7GTVBIVE.mjs";
8
+ } from "./chunk-YV5LKVV3.mjs";
9
9
  import {
10
10
  Input
11
11
  } from "./chunk-P4VBCHAK.mjs";
@@ -13,4 +13,4 @@ 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
 
16
- export { InputAddonProps, InputLeftAddon, InputRightAddon };
16
+ export { type InputAddonProps, InputLeftAddon, InputRightAddon };
@@ -13,4 +13,4 @@ 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
 
16
- export { InputAddonProps, InputLeftAddon, InputRightAddon };
16
+ export { type InputAddonProps, InputLeftAddon, InputRightAddon };
@@ -131,7 +131,8 @@ var InputGroup = (0, import_core3.forwardRef)((props, ref) => {
131
131
  const css = {
132
132
  width: "100%",
133
133
  display: "flex",
134
- position: "relative"
134
+ position: "relative",
135
+ ...styles.container
135
136
  };
136
137
  const groupProps = {};
137
138
  const minHeight = (_g = (_e = (0, import_use_token.useToken)("sizes", (_c = (_a = styles.field) == null ? void 0 : _a.minHeight) != null ? _c : (_b = styles.field) == null ? void 0 : _b.minH)) != null ? _e : (_d = styles.field) == null ? void 0 : _d.minHeight) != null ? _g : (_f = styles.field) == null ? void 0 : _f.minH;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  InputLeftAddon,
4
4
  InputRightAddon
5
- } from "./chunk-7GTVBIVE.mjs";
5
+ } from "./chunk-YV5LKVV3.mjs";
6
6
  import "./chunk-P4VBCHAK.mjs";
7
7
  export {
8
8
  InputLeftAddon,
@@ -19,4 +19,4 @@ 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
 
22
- export { InputElementProps, InputLeftElement, InputRightElement };
22
+ export { type InputElementProps, InputLeftElement, InputRightElement };
@@ -19,4 +19,4 @@ 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
 
22
- export { InputElementProps, InputLeftElement, InputRightElement };
22
+ export { type InputElementProps, InputLeftElement, InputRightElement };
@@ -136,7 +136,8 @@ var InputGroup = (0, import_core3.forwardRef)((props, ref) => {
136
136
  const css = {
137
137
  width: "100%",
138
138
  display: "flex",
139
- position: "relative"
139
+ position: "relative",
140
+ ...styles.container
140
141
  };
141
142
  const groupProps = {};
142
143
  const minHeight = (_g = (_e = (0, import_use_token.useToken)("sizes", (_c = (_a = styles.field) == null ? void 0 : _a.minHeight) != null ? _c : (_b = styles.field) == null ? void 0 : _b.minH)) != null ? _e : (_d = styles.field) == null ? void 0 : _d.minHeight) != null ? _g : (_f = styles.field) == null ? void 0 : _f.minH;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  InputLeftElement,
4
4
  InputRightElement
5
- } from "./chunk-7GTVBIVE.mjs";
5
+ } from "./chunk-YV5LKVV3.mjs";
6
6
  import "./chunk-P4VBCHAK.mjs";
7
7
  export {
8
8
  InputLeftElement,
@@ -7,4 +7,4 @@ declare const useInputGroup: () => InputGroupContext;
7
7
 
8
8
  declare const InputGroup: _yamada_ui_core.Component<"div", InputGroupProps>;
9
9
 
10
- export { InputGroup, InputGroupProps, useInputGroup };
10
+ export { InputGroup, type InputGroupProps, useInputGroup };
@@ -7,4 +7,4 @@ declare const useInputGroup: () => InputGroupContext;
7
7
 
8
8
  declare const InputGroup: _yamada_ui_core.Component<"div", InputGroupProps>;
9
9
 
10
- export { InputGroup, InputGroupProps, useInputGroup };
10
+ export { InputGroup, type InputGroupProps, useInputGroup };
@@ -193,7 +193,8 @@ var InputGroup = (0, import_core4.forwardRef)((props, ref) => {
193
193
  const css = {
194
194
  width: "100%",
195
195
  display: "flex",
196
- position: "relative"
196
+ position: "relative",
197
+ ...styles.container
197
198
  };
198
199
  const groupProps = {};
199
200
  const minHeight = (_g = (_e = (0, import_use_token.useToken)("sizes", (_c = (_a = styles.field) == null ? void 0 : _a.minHeight) != null ? _c : (_b = styles.field) == null ? void 0 : _b.minH)) != null ? _e : (_d = styles.field) == null ? void 0 : _d.minHeight) != null ? _g : (_f = styles.field) == null ? void 0 : _f.minH;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  InputGroup,
4
4
  useInputGroup
5
- } from "./chunk-7GTVBIVE.mjs";
5
+ } from "./chunk-YV5LKVV3.mjs";
6
6
  import "./chunk-P4VBCHAK.mjs";
7
7
  export {
8
8
  InputGroup,
package/dist/input.d.mts CHANGED
@@ -19,4 +19,4 @@ type InputOptions = {
19
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
- export { Input, InputProps };
22
+ export { Input, type InputProps };
package/dist/input.d.ts CHANGED
@@ -19,4 +19,4 @@ type InputOptions = {
19
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
- export { Input, InputProps };
22
+ export { Input, type InputProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/input",
3
- "version": "0.3.23",
3
+ "version": "0.4.0",
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.7",
38
+ "@yamada-ui/core": "0.13.0",
39
39
  "@yamada-ui/utils": "0.3.3",
40
- "@yamada-ui/file-input": "0.4.14",
41
- "@yamada-ui/form-control": "0.3.20",
42
- "@yamada-ui/use-token": "0.3.11"
40
+ "@yamada-ui/file-input": "0.4.16",
41
+ "@yamada-ui/form-control": "0.3.22",
42
+ "@yamada-ui/use-token": "0.3.13"
43
43
  },
44
44
  "devDependencies": {
45
45
  "react": "^18.0.0",