@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 +7 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -13
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
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
|
|
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
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
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;
|