@shoplflow/base 0.45.10 → 0.45.11
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4374,7 +4374,7 @@ var SelectInputButton = (_a) => {
|
|
|
4374
4374
|
value.length - 1
|
|
4375
4375
|
] }),
|
|
4376
4376
|
/* @__PURE__ */ jsxRuntime.jsxs(exports.Stack.Horizontal, { align: "center", children: [
|
|
4377
|
-
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" }) }),
|
|
4377
|
+
value && value.length > 0 && Boolean(onClear) && isHovered && /* @__PURE__ */ jsxRuntime.jsx(exports.IconButton, { sizeVar: "S", onClick: handleOnClear, styleVar: "GHOST", disabled, children: /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { iconSource: assetFunction("DeleteIcon"), color: "neutral350" }) }),
|
|
4378
4378
|
rightSource
|
|
4379
4379
|
] })
|
|
4380
4380
|
] })
|
package/dist/index.js
CHANGED
|
@@ -4347,7 +4347,7 @@ var SelectInputButton = (_a) => {
|
|
|
4347
4347
|
value.length - 1
|
|
4348
4348
|
] }),
|
|
4349
4349
|
/* @__PURE__ */ jsxs(Stack_default.Horizontal, { align: "center", children: [
|
|
4350
|
-
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" }) }),
|
|
4350
|
+
value && value.length > 0 && Boolean(onClear) && isHovered && /* @__PURE__ */ jsx(IconButton_default, { sizeVar: "S", onClick: handleOnClear, styleVar: "GHOST", disabled, children: /* @__PURE__ */ jsx(Icon_default, { iconSource: assetFunction("DeleteIcon"), color: "neutral350" }) }),
|
|
4351
4351
|
rightSource
|
|
4352
4352
|
] })
|
|
4353
4353
|
] })
|