@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/Alert/Alert.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EditIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SearchIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1208,6 +1208,20 @@ var CheckboxIndeterminateIcon = /*#__PURE__*/utils.createSvgIcon( /*#__PURE__*/R
|
|
|
1208
1208
|
fill: "currentColor"
|
|
1209
1209
|
})), "CheckboxIndeterminateIcon");
|
|
1210
1210
|
|
|
1211
|
+
var SearchIcon = /*#__PURE__*/utils.createSvgIcon( /*#__PURE__*/React__default.createElement("path", {
|
|
1212
|
+
fillRule: "evenodd",
|
|
1213
|
+
clipRule: "evenodd",
|
|
1214
|
+
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",
|
|
1215
|
+
fill: "currentColor"
|
|
1216
|
+
}), "SearchIcon");
|
|
1217
|
+
|
|
1218
|
+
var EditIcon = /*#__PURE__*/utils.createSvgIcon( /*#__PURE__*/React__default.createElement("path", {
|
|
1219
|
+
fillRule: "evenodd",
|
|
1220
|
+
clipRule: "evenodd",
|
|
1221
|
+
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",
|
|
1222
|
+
fill: "currentColor"
|
|
1223
|
+
}), "EditIcon");
|
|
1224
|
+
|
|
1211
1225
|
// It's only optimized for esm, cjs will remain fat blob
|
|
1212
1226
|
|
|
1213
1227
|
function getPosition() {
|
|
@@ -2182,7 +2196,7 @@ var Alert = function Alert(_ref) {
|
|
|
2182
2196
|
className: classes.content
|
|
2183
2197
|
}, React__default.createElement("div", {
|
|
2184
2198
|
className: classes.titleBar
|
|
2185
|
-
}, React__default.createElement(Typography, {
|
|
2199
|
+
}, title && React__default.createElement(Typography, {
|
|
2186
2200
|
variant: "h5"
|
|
2187
2201
|
}, title), close && React__default.createElement(IconButton, {
|
|
2188
2202
|
className: clsx(classes.close, (_clsx2 = {}, _clsx2[classes.closeNoContent] = !!children, _clsx2)),
|
|
@@ -2577,6 +2591,7 @@ exports.CheckboxIcon = CheckboxIcon;
|
|
|
2577
2591
|
exports.CheckboxIndeterminateIcon = CheckboxIndeterminateIcon;
|
|
2578
2592
|
exports.CompleteIcon = CompleteIcon;
|
|
2579
2593
|
exports.ConfirmButton = ConfirmButton;
|
|
2594
|
+
exports.EditIcon = EditIcon;
|
|
2580
2595
|
exports.ExpandButton = ExpandButton;
|
|
2581
2596
|
exports.ICONBUTTON_SIZE = ICONBUTTON_SIZE;
|
|
2582
2597
|
exports.InfoIcon = InfoIcon;
|
|
@@ -2587,6 +2602,7 @@ exports.NotAllowedInvertedIcon = NotAllowedInvertedIcon;
|
|
|
2587
2602
|
exports.Notification = Notification;
|
|
2588
2603
|
exports.ResponsiveTable = ResponsiveTable;
|
|
2589
2604
|
exports.Savebar = Savebar;
|
|
2605
|
+
exports.SearchIcon = SearchIcon;
|
|
2590
2606
|
exports.Sidebar = Sidebar;
|
|
2591
2607
|
exports.SidebarDrawer = SidebarDrawer;
|
|
2592
2608
|
exports.SquareButton = SquareButton;
|