@shoplflow/base 0.24.7 → 0.24.9

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
@@ -1881,16 +1881,7 @@ var DropdownButton = React2.forwardRef(
1881
1881
  height: exports.getDropdownHeightBySizeVar(sizeVar),
1882
1882
  children: /* @__PURE__ */ jsxRuntime.jsxs(exports.StyledDropdownButton, __spreadProps(__spreadValues({ ref, onClick: handleOnClick, disabled }, rest), { sizeVar, children: [
1883
1883
  leftSource && leftSource,
1884
- value ? /* @__PURE__ */ jsxRuntime.jsx(
1885
- exports.Text,
1886
- {
1887
- typography: exports.getDropdownFontSizeBySizeVar(sizeVar),
1888
- color: "neutral700",
1889
- textOverflow: "ellipsis",
1890
- lineClamp: 1,
1891
- children: value
1892
- }
1893
- ) : /* @__PURE__ */ jsxRuntime.jsx(
1884
+ value || /* @__PURE__ */ jsxRuntime.jsx(
1894
1885
  exports.Text,
1895
1886
  {
1896
1887
  typography: exports.getDropdownFontSizeBySizeVar(sizeVar),
@@ -1982,9 +1973,12 @@ Dropdown.Button = DropdownButton;
1982
1973
  Dropdown.Content = DropdownContent;
1983
1974
  exports.Dropdown = Dropdown;
1984
1975
  var Container2 = styled5__default.default.div`
1985
- width: 32px;
1986
- height: 32px;
1987
- padding: 7px;
1976
+ display: flex;
1977
+ align-items: center;
1978
+ justify-content: center;
1979
+ width: 24px;
1980
+ height: 24px;
1981
+ padding: 4px;
1988
1982
  `;
1989
1983
  var IconButton2 = styled5__default.default.button`
1990
1984
  display: flex;