@nation-a/ui 0.15.3 → 0.16.1
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.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/styled-system/styles.css +46 -12
- package/dist/types/components/Input/index.d.ts +1 -0
- package/dist/types/components/List/List.stories.d.ts +6 -0
- package/dist/types/components/List/index.d.ts +26 -0
- package/dist/types/components/List/list.recipe.d.ts +29 -0
- package/dist/types/components/Tabs/index.d.ts +18 -10
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -19304,8 +19304,7 @@ const navigationRecipe = sva({
|
|
|
19304
19304
|
flexDirection: "row",
|
|
19305
19305
|
justifyContent: "space-around",
|
|
19306
19306
|
bg: "surface.layer_1",
|
|
19307
|
-
|
|
19308
|
-
pb: 8
|
|
19307
|
+
py: 2
|
|
19309
19308
|
},
|
|
19310
19309
|
trigger: {
|
|
19311
19310
|
display: "flex",
|
|
@@ -19804,6 +19803,7 @@ const Input = forwardRef(
|
|
|
19804
19803
|
endAdornment,
|
|
19805
19804
|
removeBorder,
|
|
19806
19805
|
error,
|
|
19806
|
+
fontSize,
|
|
19807
19807
|
...rest
|
|
19808
19808
|
}, ref) => {
|
|
19809
19809
|
const recipe = inputRecipe({
|
|
@@ -19854,7 +19854,16 @@ const Input = forwardRef(
|
|
|
19854
19854
|
startAdornment && /* @__PURE__ */ jsx(Box$1, { className: recipe.adornment, children: startAdornment }),
|
|
19855
19855
|
/* @__PURE__ */ jsxs(Stack2, { gap: 1, css: { width: "100%" }, children: [
|
|
19856
19856
|
/* @__PURE__ */ jsx(Label2, { visible: !!(label && labelPosition === "inside"), children: label }),
|
|
19857
|
-
/* @__PURE__ */ jsx(
|
|
19857
|
+
/* @__PURE__ */ jsx(
|
|
19858
|
+
styled.input,
|
|
19859
|
+
{
|
|
19860
|
+
ref: inputRef,
|
|
19861
|
+
disabled,
|
|
19862
|
+
onChange: handleInputChange,
|
|
19863
|
+
style: { ...rest == null ? void 0 : rest.style, fontSize: `${fontSize}px` },
|
|
19864
|
+
...rest
|
|
19865
|
+
}
|
|
19866
|
+
)
|
|
19858
19867
|
] }),
|
|
19859
19868
|
endAdornment && /* @__PURE__ */ jsx(Box$1, { className: recipe.adornment, children: endAdornment })
|
|
19860
19869
|
] }),
|