@shoplflow/base 0.28.2 → 0.28.4
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2177,14 +2177,14 @@ var DropdownButton = React3.forwardRef(
|
|
|
2177
2177
|
height: getDropdownHeightBySizeVar(sizeVar),
|
|
2178
2178
|
children: /* @__PURE__ */ jsxRuntime.jsxs(StyledDropdownButton, __spreadProps(__spreadValues({ ref, onClick: handleOnClick, disabled }, rest), { sizeVar, children: [
|
|
2179
2179
|
leftSource && leftSource,
|
|
2180
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2180
|
+
value || /* @__PURE__ */ jsxRuntime.jsx(
|
|
2181
2181
|
exports.Text,
|
|
2182
2182
|
{
|
|
2183
2183
|
typography: getDropdownFontSizeBySizeVar(sizeVar),
|
|
2184
2184
|
color: value ? "neutral700" : "neutral400",
|
|
2185
2185
|
textOverflow: "ellipsis",
|
|
2186
2186
|
lineClamp: 1,
|
|
2187
|
-
children:
|
|
2187
|
+
children: placeholder
|
|
2188
2188
|
}
|
|
2189
2189
|
),
|
|
2190
2190
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3583,6 +3583,7 @@ var Tooltip = (_a) => {
|
|
|
3583
3583
|
onMouseLeave: hideHandler,
|
|
3584
3584
|
onFocus: showHandler,
|
|
3585
3585
|
onBlur: hideHandler,
|
|
3586
|
+
style: { display: "flex", alignItems: "center", justifyContent: "center" },
|
|
3586
3587
|
children: trigger
|
|
3587
3588
|
}
|
|
3588
3589
|
),
|