@saleor/macaw-ui 0.2.6 → 0.2.7
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/Alert/Alert.d.ts +1 -1
- package/dist/icons/EditIcon.d.ts +1 -0
- package/dist/icons/SearchIcon.d.ts +1 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/macaw-ui.cjs.development.js +17 -1
- package/dist/macaw-ui.cjs.development.js.map +1 -1
- package/dist/macaw-ui.cjs.production.min.js +1 -1
- package/dist/macaw-ui.cjs.production.min.js.map +1 -1
- package/dist/macaw-ui.esm.js +16 -2
- package/dist/macaw-ui.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Alert/Alert.stories.tsx +10 -0
- package/src/Alert/Alert.tsx +3 -2
- package/src/icons/EditIcon.tsx +12 -0
- package/src/icons/SearchIcon.tsx +12 -0
- package/src/icons/index.ts +2 -0
package/dist/macaw-ui.esm.js
CHANGED
|
@@ -1203,6 +1203,20 @@ var CheckboxIndeterminateIcon = /*#__PURE__*/createSvgIcon( /*#__PURE__*/React.c
|
|
|
1203
1203
|
fill: "currentColor"
|
|
1204
1204
|
})), "CheckboxIndeterminateIcon");
|
|
1205
1205
|
|
|
1206
|
+
var SearchIcon = /*#__PURE__*/createSvgIcon( /*#__PURE__*/React.createElement("path", {
|
|
1207
|
+
fillRule: "evenodd",
|
|
1208
|
+
clipRule: "evenodd",
|
|
1209
|
+
d: "M17 10.5C17 14.0899 14.0899 17 10.5 17C6.91015 17 4 14.0899 4 10.5C4 6.91015 6.91015 4 10.5 4C14.0899 4 17 6.91015 17 10.5ZM15.7618 17.176C14.3145 18.3183 12.4869 19 10.5 19C5.80558 19 2 15.1944 2 10.5C2 5.80558 5.80558 2 10.5 2C15.1944 2 19 5.80558 19 10.5C19 12.4869 18.3183 14.3145 17.176 15.7618L21.7071 20.2929C22.0976 20.6834 22.0976 21.3166 21.7071 21.7071C21.3166 22.0976 20.6834 22.0976 20.2929 21.7071L15.7618 17.176Z",
|
|
1210
|
+
fill: "currentColor"
|
|
1211
|
+
}), "SearchIcon");
|
|
1212
|
+
|
|
1213
|
+
var EditIcon = /*#__PURE__*/createSvgIcon( /*#__PURE__*/React.createElement("path", {
|
|
1214
|
+
fillRule: "evenodd",
|
|
1215
|
+
clipRule: "evenodd",
|
|
1216
|
+
d: "M20.0445 2.90731C18.8236 1.69756 16.8544 1.69756 15.6336 2.90731L14.7077 3.82479L7.00549 11.4569C6.63843 11.8206 6.41956 12.3074 6.39126 12.8231L6.24246 15.535C6.17315 16.7984 7.23704 17.8317 8.4994 17.7272L11.1564 17.5073C11.646 17.4668 12.1055 17.2551 12.4543 16.9096L21.0739 8.36838C22.3086 7.14491 22.3086 5.15086 21.0739 3.92738L20.0445 2.90731ZM8.47578 12.9372L15.4428 6.03358L17.9544 8.52227L10.984 15.4292L8.32698 15.6492L8.47578 12.9372ZM16.9249 4.56496L19.4365 7.05365L19.6036 6.88805C20.0152 6.48022 20.0152 5.81554 19.6036 5.40772L18.5742 4.38765C18.1672 3.9844 17.5108 3.9844 17.1039 4.38765L16.9249 4.56496ZM5.13147 3.23318C3.40201 3.23318 2 4.63355 2 6.36099V18.8722C2 20.5997 3.40201 22 5.13147 22H17.6573C19.3868 22 20.7888 20.5997 20.7888 18.8722V14.2848C20.7888 13.709 20.3215 13.2422 19.745 13.2422C19.1685 13.2422 18.7012 13.709 18.7012 14.2848V18.8722C18.7012 19.4481 18.2338 19.9148 17.6573 19.9148H5.13147C4.55498 19.9148 4.08765 19.4481 4.08765 18.8722V6.36099C4.08765 5.78518 4.55498 5.31839 5.13147 5.31839H9.72429C10.3008 5.31839 10.7681 4.8516 10.7681 4.27578C10.7681 3.69997 10.3008 3.23318 9.72429 3.23318H5.13147Z",
|
|
1217
|
+
fill: "currentColor"
|
|
1218
|
+
}), "EditIcon");
|
|
1219
|
+
|
|
1206
1220
|
// It's only optimized for esm, cjs will remain fat blob
|
|
1207
1221
|
|
|
1208
1222
|
function getPosition() {
|
|
@@ -2177,7 +2191,7 @@ var Alert = function Alert(_ref) {
|
|
|
2177
2191
|
className: classes.content
|
|
2178
2192
|
}, React.createElement("div", {
|
|
2179
2193
|
className: classes.titleBar
|
|
2180
|
-
}, React.createElement(Typography, {
|
|
2194
|
+
}, title && React.createElement(Typography, {
|
|
2181
2195
|
variant: "h5"
|
|
2182
2196
|
}, title), close && React.createElement(IconButton, {
|
|
2183
2197
|
className: clsx(classes.close, (_clsx2 = {}, _clsx2[classes.closeNoContent] = !!children, _clsx2)),
|
|
@@ -2560,5 +2574,5 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
2560
2574
|
};
|
|
2561
2575
|
Tooltip.displayName = "Tooltip";
|
|
2562
2576
|
|
|
2563
|
-
export { ActionBar, ActionBarContext, ActionBarProvider, Alert, Backlink, BacklinkContext, BacklinkProvider, CheckboxCheckedIcon, CheckboxIcon, CheckboxIndeterminateIcon, CompleteIcon, ConfirmButton, ExpandButton, ExtensionMessageType, ICONBUTTON_SIZE, InfoIcon, MenuItem, MenuItemBtn, NotAllowedIcon, NotAllowedInvertedIcon, Notification, ResponsiveTable, Savebar, Sidebar, SidebarDrawer, SquareButton, ThemeProvider, Tooltip, UserChipMenu, UserChipMenuItem, WarningIcon, createTheme, dark, light, makeStyles, menuWidth, sendMessageToDashboard, sendMessageToExtension, shrunkMenuWidth, useActionBar, useBacklink, useExtensionMessage, useTheme };
|
|
2577
|
+
export { ActionBar, ActionBarContext, ActionBarProvider, Alert, Backlink, BacklinkContext, BacklinkProvider, CheckboxCheckedIcon, CheckboxIcon, CheckboxIndeterminateIcon, CompleteIcon, ConfirmButton, EditIcon, ExpandButton, ExtensionMessageType, ICONBUTTON_SIZE, InfoIcon, MenuItem, MenuItemBtn, NotAllowedIcon, NotAllowedInvertedIcon, Notification, ResponsiveTable, Savebar, SearchIcon, Sidebar, SidebarDrawer, SquareButton, ThemeProvider, Tooltip, UserChipMenu, UserChipMenuItem, WarningIcon, createTheme, dark, light, makeStyles, menuWidth, sendMessageToDashboard, sendMessageToExtension, shrunkMenuWidth, useActionBar, useBacklink, useExtensionMessage, useTheme };
|
|
2564
2578
|
//# sourceMappingURL=macaw-ui.esm.js.map
|