@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.js CHANGED
@@ -2152,14 +2152,14 @@ var DropdownButton = forwardRef(
2152
2152
  height: getDropdownHeightBySizeVar(sizeVar),
2153
2153
  children: /* @__PURE__ */ jsxs(StyledDropdownButton, __spreadProps(__spreadValues({ ref, onClick: handleOnClick, disabled }, rest), { sizeVar, children: [
2154
2154
  leftSource && leftSource,
2155
- /* @__PURE__ */ jsx(
2155
+ value || /* @__PURE__ */ jsx(
2156
2156
  Text_default,
2157
2157
  {
2158
2158
  typography: getDropdownFontSizeBySizeVar(sizeVar),
2159
2159
  color: value ? "neutral700" : "neutral400",
2160
2160
  textOverflow: "ellipsis",
2161
2161
  lineClamp: 1,
2162
- children: value || placeholder
2162
+ children: placeholder
2163
2163
  }
2164
2164
  ),
2165
2165
  /* @__PURE__ */ jsx(
@@ -3558,6 +3558,7 @@ var Tooltip = (_a) => {
3558
3558
  onMouseLeave: hideHandler,
3559
3559
  onFocus: showHandler,
3560
3560
  onBlur: hideHandler,
3561
+ style: { display: "flex", alignItems: "center", justifyContent: "center" },
3561
3562
  children: trigger
3562
3563
  }
3563
3564
  ),