@shoplflow/base 0.42.6 → 0.42.8

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 CHANGED
@@ -4336,7 +4336,7 @@ var SelectInputButton = (_a) => {
4336
4336
  value.length - 1
4337
4337
  ] }),
4338
4338
  /* @__PURE__ */ jsxRuntime.jsxs(exports.Stack.Horizontal, { align: "center", children: [
4339
- value && value.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(exports.IconButton, { sizeVar: "S", onClick: handleOnClear, styleVar: "GHOST", disabled, children: /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { iconSource: assetFunction("DeleteIcon"), color: "neutral350" }) }),
4339
+ value && value.length > 0 && Boolean(onClear) && /* @__PURE__ */ jsxRuntime.jsx(exports.IconButton, { sizeVar: "S", onClick: handleOnClear, styleVar: "GHOST", disabled, children: /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { iconSource: assetFunction("DeleteIcon"), color: "neutral350" }) }),
4340
4340
  rightSource
4341
4341
  ] })
4342
4342
  ] })
@@ -6704,7 +6704,7 @@ var NumberCombobox = (_a) => {
6704
6704
  {
6705
6705
  className: _className,
6706
6706
  style: {
6707
- height: "128px",
6707
+ height: `min(calc(${items.length * 30}px + 8px), 128px)`,
6708
6708
  maxHeight: "128px",
6709
6709
  width,
6710
6710
  padding: "4px",
package/dist/index.js CHANGED
@@ -4309,7 +4309,7 @@ var SelectInputButton = (_a) => {
4309
4309
  value.length - 1
4310
4310
  ] }),
4311
4311
  /* @__PURE__ */ jsxs(Stack_default.Horizontal, { align: "center", children: [
4312
- value && value.length > 0 && /* @__PURE__ */ jsx(IconButton_default, { sizeVar: "S", onClick: handleOnClear, styleVar: "GHOST", disabled, children: /* @__PURE__ */ jsx(Icon_default, { iconSource: assetFunction("DeleteIcon"), color: "neutral350" }) }),
4312
+ value && value.length > 0 && Boolean(onClear) && /* @__PURE__ */ jsx(IconButton_default, { sizeVar: "S", onClick: handleOnClear, styleVar: "GHOST", disabled, children: /* @__PURE__ */ jsx(Icon_default, { iconSource: assetFunction("DeleteIcon"), color: "neutral350" }) }),
4313
4313
  rightSource
4314
4314
  ] })
4315
4315
  ] })
@@ -6677,7 +6677,7 @@ var NumberCombobox = (_a) => {
6677
6677
  {
6678
6678
  className: _className,
6679
6679
  style: {
6680
- height: "128px",
6680
+ height: `min(calc(${items.length * 30}px + 8px), 128px)`,
6681
6681
  maxHeight: "128px",
6682
6682
  width,
6683
6683
  padding: "4px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/base",
3
- "version": "0.42.6",
3
+ "version": "0.42.8",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -91,8 +91,8 @@
91
91
  "react-dom": "^18.2.0",
92
92
  "simplebar-react": "^3.2.6",
93
93
  "@shoplflow/hada-assets": "^0.1.7",
94
- "@shoplflow/shopl-assets": "^0.12.22",
95
- "@shoplflow/utils": "^0.7.0"
94
+ "@shoplflow/utils": "^0.7.0",
95
+ "@shoplflow/shopl-assets": "^0.12.22"
96
96
  },
97
97
  "scripts": {
98
98
  "type-check": "tsc --noEmit",