@shoplflow/base 0.32.6 → 0.32.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 +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1663,6 +1663,13 @@ var getWidthAndHeightFromSizeVar = (sizeVar) => {
|
|
|
1663
1663
|
height: 32px;
|
|
1664
1664
|
min-height: 32px;
|
|
1665
1665
|
`;
|
|
1666
|
+
case "XS":
|
|
1667
|
+
return react$1.css`
|
|
1668
|
+
width: 24px;
|
|
1669
|
+
min-width: 24px;
|
|
1670
|
+
height: 24px;
|
|
1671
|
+
min-height: 24px;
|
|
1672
|
+
`;
|
|
1666
1673
|
default:
|
|
1667
1674
|
return react$1.css`
|
|
1668
1675
|
width: 40px;
|
|
@@ -1790,6 +1797,7 @@ exports.IconButton = IconButton;
|
|
|
1790
1797
|
|
|
1791
1798
|
// src/components/Buttons/IconButton/IconButton.types.ts
|
|
1792
1799
|
exports.IconButtonSizeVariants = {
|
|
1800
|
+
XS: "XS",
|
|
1793
1801
|
S: "S",
|
|
1794
1802
|
M: "M"
|
|
1795
1803
|
};
|
|
@@ -1844,7 +1852,7 @@ var Callout = (_a) => {
|
|
|
1844
1852
|
};
|
|
1845
1853
|
var CalloutText = (_a) => {
|
|
1846
1854
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
|
1847
|
-
return /* @__PURE__ */ jsxRuntime.jsx(exports.Text, __spreadProps(__spreadValues({}, rest), { typography: "
|
|
1855
|
+
return /* @__PURE__ */ jsxRuntime.jsx(exports.Text, __spreadProps(__spreadValues({}, rest), { typography: "paragraph2", children }));
|
|
1848
1856
|
};
|
|
1849
1857
|
var CalloutIcon = ({ iconSource }) => {
|
|
1850
1858
|
return /* @__PURE__ */ jsxRuntime.jsx(StyledCalloutIcon, { as: iconSource });
|