@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.cjs
CHANGED
|
@@ -19322,8 +19322,7 @@ const navigationRecipe = sva({
|
|
|
19322
19322
|
flexDirection: "row",
|
|
19323
19323
|
justifyContent: "space-around",
|
|
19324
19324
|
bg: "surface.layer_1",
|
|
19325
|
-
|
|
19326
|
-
pb: 8
|
|
19325
|
+
py: 2
|
|
19327
19326
|
},
|
|
19328
19327
|
trigger: {
|
|
19329
19328
|
display: "flex",
|
|
@@ -19822,6 +19821,7 @@ const Input = React.forwardRef(
|
|
|
19822
19821
|
endAdornment,
|
|
19823
19822
|
removeBorder,
|
|
19824
19823
|
error,
|
|
19824
|
+
fontSize,
|
|
19825
19825
|
...rest
|
|
19826
19826
|
}, ref) => {
|
|
19827
19827
|
const recipe = inputRecipe({
|
|
@@ -19872,7 +19872,16 @@ const Input = React.forwardRef(
|
|
|
19872
19872
|
startAdornment && /* @__PURE__ */ jsxRuntime.jsx(Box$1, { className: recipe.adornment, children: startAdornment }),
|
|
19873
19873
|
/* @__PURE__ */ jsxRuntime.jsxs(Stack2, { gap: 1, css: { width: "100%" }, children: [
|
|
19874
19874
|
/* @__PURE__ */ jsxRuntime.jsx(Label2, { visible: !!(label && labelPosition === "inside"), children: label }),
|
|
19875
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19875
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19876
|
+
styled.input,
|
|
19877
|
+
{
|
|
19878
|
+
ref: inputRef,
|
|
19879
|
+
disabled,
|
|
19880
|
+
onChange: handleInputChange,
|
|
19881
|
+
style: { ...rest == null ? void 0 : rest.style, fontSize: `${fontSize}px` },
|
|
19882
|
+
...rest
|
|
19883
|
+
}
|
|
19884
|
+
)
|
|
19876
19885
|
] }),
|
|
19877
19886
|
endAdornment && /* @__PURE__ */ jsxRuntime.jsx(Box$1, { className: recipe.adornment, children: endAdornment })
|
|
19878
19887
|
] }),
|