@thecb/components 4.2.7-beta.6 → 4.2.7-beta.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.js +118 -55
- package/package.json +1 -1
- package/src/components/atoms/alert/Alert.js +2 -1
- package/src/{deprecated → components/atoms}/icons/IconQuit.js +4 -2
- package/src/components/atoms/icons/TrashIcon.js +47 -0
- package/src/components/atoms/icons/index.js +5 -1
- package/src/components/atoms/layouts/Cluster.js +12 -1
- package/src/components/atoms/layouts/Cluster.styled.js +4 -0
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +1 -0
- package/src/deprecated/icons/index.js +1 -3
package/dist/index.cjs.js
CHANGED
|
@@ -6481,7 +6481,7 @@ function _templateObject2$2() {
|
|
|
6481
6481
|
}
|
|
6482
6482
|
|
|
6483
6483
|
function _templateObject$3() {
|
|
6484
|
-
var data = _taggedTemplateLiteral(["\n overflow: ", ";\n box-sizing: border-box;\n"]);
|
|
6484
|
+
var data = _taggedTemplateLiteral(["\n overflow: ", ";\n box-sizing: border-box;\n justify-self: ", ";\n align-self: ", ";\n flex-grow: ", ";\n ", ";\n"]);
|
|
6485
6485
|
|
|
6486
6486
|
_templateObject$3 = function _templateObject() {
|
|
6487
6487
|
return data;
|
|
@@ -6499,27 +6499,39 @@ var ClusterWrapper = styled__default(function (_ref) {
|
|
|
6499
6499
|
})(_templateObject$3(), function (_ref2) {
|
|
6500
6500
|
var overflow = _ref2.overflow;
|
|
6501
6501
|
return overflow ? "visible" : "hidden";
|
|
6502
|
+
}, function (_ref3) {
|
|
6503
|
+
var justifySelf = _ref3.justifySelf;
|
|
6504
|
+
return justifySelf;
|
|
6505
|
+
}, function (_ref4) {
|
|
6506
|
+
var alignSelf = _ref4.alignSelf;
|
|
6507
|
+
return alignSelf;
|
|
6508
|
+
}, function (_ref5) {
|
|
6509
|
+
var flexGrow = _ref5.flexGrow;
|
|
6510
|
+
return flexGrow;
|
|
6511
|
+
}, function (_ref6) {
|
|
6512
|
+
var extraStyles = _ref6.extraStyles;
|
|
6513
|
+
return extraStyles;
|
|
6502
6514
|
});
|
|
6503
|
-
var ClusterInnerWrapper = styled__default.div(_templateObject2$2(), function (
|
|
6504
|
-
var nowrap =
|
|
6515
|
+
var ClusterInnerWrapper = styled__default.div(_templateObject2$2(), function (_ref7) {
|
|
6516
|
+
var nowrap = _ref7.nowrap;
|
|
6505
6517
|
return nowrap ? "nowrap" : "wrap";
|
|
6506
|
-
}, function (
|
|
6507
|
-
var justify =
|
|
6518
|
+
}, function (_ref8) {
|
|
6519
|
+
var justify = _ref8.justify;
|
|
6508
6520
|
return justify;
|
|
6509
|
-
}, function (
|
|
6510
|
-
var align =
|
|
6521
|
+
}, function (_ref9) {
|
|
6522
|
+
var align = _ref9.align;
|
|
6511
6523
|
return align;
|
|
6512
|
-
}, function (
|
|
6513
|
-
var childGap =
|
|
6524
|
+
}, function (_ref10) {
|
|
6525
|
+
var childGap = _ref10.childGap;
|
|
6514
6526
|
return childGap;
|
|
6515
|
-
}, function (
|
|
6516
|
-
var minHeight =
|
|
6527
|
+
}, function (_ref11) {
|
|
6528
|
+
var minHeight = _ref11.minHeight;
|
|
6517
6529
|
return minHeight;
|
|
6518
|
-
}, function (
|
|
6519
|
-
var minWidth =
|
|
6530
|
+
}, function (_ref12) {
|
|
6531
|
+
var minWidth = _ref12.minWidth;
|
|
6520
6532
|
return minWidth;
|
|
6521
|
-
}, function (
|
|
6522
|
-
var childGap =
|
|
6533
|
+
}, function (_ref13) {
|
|
6534
|
+
var childGap = _ref13.childGap;
|
|
6523
6535
|
return childGap;
|
|
6524
6536
|
});
|
|
6525
6537
|
|
|
@@ -6541,12 +6553,21 @@ var Cluster = function Cluster(_ref) {
|
|
|
6541
6553
|
nowrap = _ref.nowrap,
|
|
6542
6554
|
_ref$overflow = _ref.overflow,
|
|
6543
6555
|
overflow = _ref$overflow === void 0 ? false : _ref$overflow,
|
|
6556
|
+
justifySelf = _ref.justifySelf,
|
|
6557
|
+
alignSelf = _ref.alignSelf,
|
|
6558
|
+
flexGrow = _ref.flexGrow,
|
|
6559
|
+
extraStyles = _ref.extraStyles,
|
|
6544
6560
|
children = _ref.children,
|
|
6545
|
-
rest = _objectWithoutProperties(_ref, ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "children"]);
|
|
6561
|
+
rest = _objectWithoutProperties(_ref, ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"]);
|
|
6546
6562
|
|
|
6547
6563
|
return /*#__PURE__*/React__default.createElement(ClusterWrapper, _extends({
|
|
6548
6564
|
overflow: overflow
|
|
6549
|
-
}, rest
|
|
6565
|
+
}, rest, {
|
|
6566
|
+
justifySelf: justifySelf,
|
|
6567
|
+
alignSelf: alignSelf,
|
|
6568
|
+
flexGrow: flexGrow,
|
|
6569
|
+
extraStyles: extraStyles
|
|
6570
|
+
}), /*#__PURE__*/React__default.createElement(ClusterInnerWrapper, {
|
|
6550
6571
|
justify: justify,
|
|
6551
6572
|
align: align,
|
|
6552
6573
|
childGap: childGap,
|
|
@@ -13754,6 +13775,43 @@ var IconAdd = function IconAdd() {
|
|
|
13754
13775
|
}))))));
|
|
13755
13776
|
};
|
|
13756
13777
|
|
|
13778
|
+
var IconQuit = function IconQuit(_ref) {
|
|
13779
|
+
var _ref$fill = _ref.fill,
|
|
13780
|
+
fill = _ref$fill === void 0 ? MINESHAFT_GREY : _ref$fill,
|
|
13781
|
+
_ref$width = _ref.width,
|
|
13782
|
+
width = _ref$width === void 0 ? "24px" : _ref$width,
|
|
13783
|
+
_ref$height = _ref.height,
|
|
13784
|
+
height = _ref$height === void 0 ? "24px" : _ref$height;
|
|
13785
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13786
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13787
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
13788
|
+
width: width,
|
|
13789
|
+
height: height,
|
|
13790
|
+
viewBox: "0 0 24 24"
|
|
13791
|
+
}, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
|
|
13792
|
+
id: "quit",
|
|
13793
|
+
d: "M18.9999989 6.40999946L17.589999 4.9999997 11.9999993 10.5899995 6.40999946 4.9999997 4.9999997 6.40999946 10.5899995 11.9999993 4.9999997 17.589999 6.40999946 18.9999989 11.9999993 13.409999 17.589999 18.9999989 18.9999989 17.589999 13.409999 11.9999993z"
|
|
13794
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
13795
|
+
fill: "none",
|
|
13796
|
+
fillRule: "evenodd",
|
|
13797
|
+
stroke: "none",
|
|
13798
|
+
strokeWidth: "1"
|
|
13799
|
+
}, /*#__PURE__*/React__default.createElement("mask", {
|
|
13800
|
+
id: "quitMask",
|
|
13801
|
+
fill: "#fff"
|
|
13802
|
+
}, /*#__PURE__*/React__default.createElement("use", {
|
|
13803
|
+
xlinkHref: "#quit"
|
|
13804
|
+
})), /*#__PURE__*/React__default.createElement("use", {
|
|
13805
|
+
fill: fill,
|
|
13806
|
+
xlinkHref: "#quit"
|
|
13807
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
13808
|
+
fill: fill,
|
|
13809
|
+
mask: "url(#quitMask)"
|
|
13810
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13811
|
+
d: "M0 0H24V24H0z"
|
|
13812
|
+
}))));
|
|
13813
|
+
};
|
|
13814
|
+
|
|
13757
13815
|
var TimeoutImage = function TimeoutImage() {
|
|
13758
13816
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13759
13817
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14834,6 +14892,45 @@ var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
|
14834
14892
|
})))));
|
|
14835
14893
|
};
|
|
14836
14894
|
|
|
14895
|
+
var TrashIcon = function TrashIcon(_ref) {
|
|
14896
|
+
var themeValues = _ref.themeValues;
|
|
14897
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14898
|
+
width: "20px",
|
|
14899
|
+
height: "20px",
|
|
14900
|
+
viewBox: "0 0 20 20",
|
|
14901
|
+
version: "1.1",
|
|
14902
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14903
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
14904
|
+
}, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
|
|
14905
|
+
d: "M15,7 L14,15.5714286 C14,16.3571429 13.25,17 12.3333333,17 L12.3333333,17 L7.66666667,17 C6.75,17 6,16.3571429 6,15.5714286 L6,15.5714286 L5,7 L15,7 Z M12.1428571,3 L13,4 L16,4 L16,6 L4,6 L4,4 L7,4 L7.85714286,3 L12.1428571,3 Z",
|
|
14906
|
+
id: "trash-path-1"
|
|
14907
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
14908
|
+
id: "trash-Icons-/-Small-/-20px-S-/-Trash---Mobile---20px",
|
|
14909
|
+
stroke: "none",
|
|
14910
|
+
strokeWidth: "1",
|
|
14911
|
+
fill: "none",
|
|
14912
|
+
fillRule: "evenodd"
|
|
14913
|
+
}, /*#__PURE__*/React__default.createElement("mask", {
|
|
14914
|
+
id: "trash-mask-2",
|
|
14915
|
+
fill: "white"
|
|
14916
|
+
}, /*#__PURE__*/React__default.createElement("use", {
|
|
14917
|
+
xlinkHref: "#trash-path-1"
|
|
14918
|
+
})), /*#__PURE__*/React__default.createElement("use", {
|
|
14919
|
+
id: "trash-Mask",
|
|
14920
|
+
fill: themeValues.singleIconColor,
|
|
14921
|
+
fillRule: "nonzero",
|
|
14922
|
+
xlinkHref: "#trash-path-1"
|
|
14923
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
14924
|
+
id: "trash-Path",
|
|
14925
|
+
fill: themeValues.singleIconColor,
|
|
14926
|
+
fillRule: "nonzero",
|
|
14927
|
+
mask: "url(#trash-mask-2)",
|
|
14928
|
+
points: "0 0 20 0 20 20 0 20"
|
|
14929
|
+
})));
|
|
14930
|
+
};
|
|
14931
|
+
|
|
14932
|
+
var TrashIcon$1 = themeComponent(TrashIcon, "Icons", fallbackValues$2, "primary");
|
|
14933
|
+
|
|
14837
14934
|
var color$2 = "#15749D";
|
|
14838
14935
|
var hoverColor$1 = "#116285";
|
|
14839
14936
|
var activeColor$1 = "#0E506D";
|
|
@@ -15188,43 +15285,6 @@ var AlertWarningIcon = function AlertWarningIcon() {
|
|
|
15188
15285
|
})))));
|
|
15189
15286
|
};
|
|
15190
15287
|
|
|
15191
|
-
var IconQuit = function IconQuit(_ref) {
|
|
15192
|
-
var _ref$fill = _ref.fill,
|
|
15193
|
-
fill = _ref$fill === void 0 ? MINESHAFT_GREY : _ref$fill,
|
|
15194
|
-
_ref$width = _ref.width,
|
|
15195
|
-
width = _ref$width === void 0 ? "24px" : _ref$width,
|
|
15196
|
-
_ref$height = _ref.height,
|
|
15197
|
-
height = _ref$height === void 0 ? "24px" : _ref$height;
|
|
15198
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15199
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15200
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
15201
|
-
width: width,
|
|
15202
|
-
height: height,
|
|
15203
|
-
viewBox: "0 0 24 24"
|
|
15204
|
-
}, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
|
|
15205
|
-
id: "quit",
|
|
15206
|
-
d: "M18.9999989 6.40999946L17.589999 4.9999997 11.9999993 10.5899995 6.40999946 4.9999997 4.9999997 6.40999946 10.5899995 11.9999993 4.9999997 17.589999 6.40999946 18.9999989 11.9999993 13.409999 17.589999 18.9999989 18.9999989 17.589999 13.409999 11.9999993z"
|
|
15207
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
15208
|
-
fill: "none",
|
|
15209
|
-
fillRule: "evenodd",
|
|
15210
|
-
stroke: "none",
|
|
15211
|
-
strokeWidth: "1"
|
|
15212
|
-
}, /*#__PURE__*/React__default.createElement("mask", {
|
|
15213
|
-
id: "quitMask",
|
|
15214
|
-
fill: "#fff"
|
|
15215
|
-
}, /*#__PURE__*/React__default.createElement("use", {
|
|
15216
|
-
xlinkHref: "#quit"
|
|
15217
|
-
})), /*#__PURE__*/React__default.createElement("use", {
|
|
15218
|
-
fill: fill,
|
|
15219
|
-
xlinkHref: "#quit"
|
|
15220
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
15221
|
-
fill: fill,
|
|
15222
|
-
mask: "url(#quitMask)"
|
|
15223
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15224
|
-
d: "M0 0H24V24H0z"
|
|
15225
|
-
}))));
|
|
15226
|
-
};
|
|
15227
|
-
|
|
15228
15288
|
var AlertIcons = {
|
|
15229
15289
|
error: AlertErrorIcon,
|
|
15230
15290
|
info: AlertInfoIcon,
|
|
@@ -34746,7 +34806,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
34746
34806
|
key: "header",
|
|
34747
34807
|
hoverStyles: "cursor: pointer;",
|
|
34748
34808
|
tabIndex: "0",
|
|
34749
|
-
onKeyDown: handleKeyDown
|
|
34809
|
+
onKeyDown: handleKeyDown,
|
|
34810
|
+
extraStyles: "z-index: 25;"
|
|
34750
34811
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
34751
34812
|
justify: "space-between",
|
|
34752
34813
|
align: "center"
|
|
@@ -40871,6 +40932,7 @@ exports.HamburgerButton = HamburgerButton;
|
|
|
40871
40932
|
exports.Heading = Heading$1;
|
|
40872
40933
|
exports.HighlightTabRow = HighlightTabRow$1;
|
|
40873
40934
|
exports.IconAdd = IconAdd;
|
|
40935
|
+
exports.IconQuit = IconQuit;
|
|
40874
40936
|
exports.Imposter = Imposter;
|
|
40875
40937
|
exports.InternalLink = InternalLink;
|
|
40876
40938
|
exports.Jumbo = Jumbo$1;
|
|
@@ -40940,6 +41002,7 @@ exports.Text = Text$1;
|
|
|
40940
41002
|
exports.Timeout = Timeout$1;
|
|
40941
41003
|
exports.TimeoutImage = TimeoutImage;
|
|
40942
41004
|
exports.ToggleSwitch = ToggleSwitch$1;
|
|
41005
|
+
exports.TrashIcon = TrashIcon$1;
|
|
40943
41006
|
exports.TypeaheadInput = TypeaheadInput;
|
|
40944
41007
|
exports.VerifiedEmailIcon = VerifiedEmailIcon$1;
|
|
40945
41008
|
exports.VoidedIcon = VoidedIcon;
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { AlertIcons
|
|
2
|
+
import { AlertIcons } from "../../../deprecated/icons";
|
|
3
|
+
import { IconQuit } from "../icons";
|
|
3
4
|
import { Box, Center, Cluster, Stack, Cover, Sidebar } from "../layouts";
|
|
4
5
|
import Text from "../text";
|
|
5
6
|
import { fallbackValues } from "./Alert.theme";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { MINESHAFT_GREY } from "
|
|
2
|
+
import { MINESHAFT_GREY } from "../../../constants/colors";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
const IconQuit = ({
|
|
5
5
|
fill = MINESHAFT_GREY,
|
|
6
6
|
width = "24px",
|
|
7
7
|
height = "24px"
|
|
@@ -30,3 +30,5 @@ export const IconQuit = ({
|
|
|
30
30
|
</g>
|
|
31
31
|
</svg>
|
|
32
32
|
);
|
|
33
|
+
|
|
34
|
+
export default IconQuit;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { fallbackValues } from "./Icons.theme";
|
|
3
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
4
|
+
|
|
5
|
+
const TrashIcon = ({ themeValues }) => (
|
|
6
|
+
<svg
|
|
7
|
+
width="20px"
|
|
8
|
+
height="20px"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
version="1.1"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
13
|
+
>
|
|
14
|
+
<defs>
|
|
15
|
+
<path
|
|
16
|
+
d="M15,7 L14,15.5714286 C14,16.3571429 13.25,17 12.3333333,17 L12.3333333,17 L7.66666667,17 C6.75,17 6,16.3571429 6,15.5714286 L6,15.5714286 L5,7 L15,7 Z M12.1428571,3 L13,4 L16,4 L16,6 L4,6 L4,4 L7,4 L7.85714286,3 L12.1428571,3 Z"
|
|
17
|
+
id="trash-path-1"
|
|
18
|
+
></path>
|
|
19
|
+
</defs>
|
|
20
|
+
<g
|
|
21
|
+
id="trash-Icons-/-Small-/-20px-S-/-Trash---Mobile---20px"
|
|
22
|
+
stroke="none"
|
|
23
|
+
strokeWidth="1"
|
|
24
|
+
fill="none"
|
|
25
|
+
fillRule="evenodd"
|
|
26
|
+
>
|
|
27
|
+
<mask id="trash-mask-2" fill="white">
|
|
28
|
+
<use xlinkHref="#trash-path-1"></use>
|
|
29
|
+
</mask>
|
|
30
|
+
<use
|
|
31
|
+
id="trash-Mask"
|
|
32
|
+
fill={themeValues.singleIconColor}
|
|
33
|
+
fillRule="nonzero"
|
|
34
|
+
xlinkHref="#trash-path-1"
|
|
35
|
+
></use>
|
|
36
|
+
<polygon
|
|
37
|
+
id="trash-Path"
|
|
38
|
+
fill={themeValues.singleIconColor}
|
|
39
|
+
fillRule="nonzero"
|
|
40
|
+
mask="url(#trash-mask-2)"
|
|
41
|
+
points="0 0 20 0 20 20 0 20"
|
|
42
|
+
></polygon>
|
|
43
|
+
</g>
|
|
44
|
+
</svg>
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
export default themeComponent(TrashIcon, "Icons", fallbackValues, "primary");
|
|
@@ -19,6 +19,7 @@ import BankIcon from "./BankIcon";
|
|
|
19
19
|
import GenericCard from "./GenericCard";
|
|
20
20
|
import PaymentIcon from "./PaymentIcon";
|
|
21
21
|
import IconAdd from "./IconAdd";
|
|
22
|
+
import IconQuit from "./IconQuit";
|
|
22
23
|
import TimeoutImage from "./TimeoutImage";
|
|
23
24
|
import AutopayOnIcon from "./AutopayOnIcon";
|
|
24
25
|
import NotFoundIcon from "./NotFoundIcon";
|
|
@@ -44,6 +45,7 @@ import ProfileIcon from "./ProfileIcon";
|
|
|
44
45
|
import GenericCardLarge from "./GenericCardLarge";
|
|
45
46
|
import EmptyCartIcon from "./EmptyCartIcon";
|
|
46
47
|
import ShoppingCartIcon from "./ShoppingCartIcon";
|
|
48
|
+
import TrashIcon from "./TrashIcon";
|
|
47
49
|
|
|
48
50
|
export {
|
|
49
51
|
AccountsIcon,
|
|
@@ -67,6 +69,7 @@ export {
|
|
|
67
69
|
GenericCard,
|
|
68
70
|
PaymentIcon,
|
|
69
71
|
IconAdd,
|
|
72
|
+
IconQuit,
|
|
70
73
|
TimeoutImage,
|
|
71
74
|
AutopayOnIcon,
|
|
72
75
|
NotFoundIcon,
|
|
@@ -91,5 +94,6 @@ export {
|
|
|
91
94
|
ProfileIcon,
|
|
92
95
|
GenericCardLarge,
|
|
93
96
|
EmptyCartIcon,
|
|
94
|
-
ShoppingCartIcon
|
|
97
|
+
ShoppingCartIcon,
|
|
98
|
+
TrashIcon
|
|
95
99
|
};
|
|
@@ -19,10 +19,21 @@ const Cluster = ({
|
|
|
19
19
|
minWidth,
|
|
20
20
|
nowrap,
|
|
21
21
|
overflow = false,
|
|
22
|
+
justifySelf,
|
|
23
|
+
alignSelf,
|
|
24
|
+
flexGrow,
|
|
25
|
+
extraStyles,
|
|
22
26
|
children,
|
|
23
27
|
...rest
|
|
24
28
|
}) => (
|
|
25
|
-
<ClusterWrapper
|
|
29
|
+
<ClusterWrapper
|
|
30
|
+
overflow={overflow}
|
|
31
|
+
{...rest}
|
|
32
|
+
justifySelf={justifySelf}
|
|
33
|
+
alignSelf={alignSelf}
|
|
34
|
+
flexGrow={flexGrow}
|
|
35
|
+
extraStyles={extraStyles}
|
|
36
|
+
>
|
|
26
37
|
<ClusterInnerWrapper
|
|
27
38
|
justify={justify}
|
|
28
39
|
align={align}
|
|
@@ -7,6 +7,10 @@ export const ClusterWrapper = styled(({ overflow, ...props }) => (
|
|
|
7
7
|
))`
|
|
8
8
|
overflow: ${({ overflow }) => (overflow ? "visible" : "hidden")};
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
+
justify-self: ${({ justifySelf }) => justifySelf};
|
|
11
|
+
align-self: ${({ alignSelf }) => alignSelf};
|
|
12
|
+
flex-grow: ${({ flexGrow }) => flexGrow};
|
|
13
|
+
${({ extraStyles }) => extraStyles};
|
|
10
14
|
`;
|
|
11
15
|
|
|
12
16
|
export const ClusterInnerWrapper = styled.div`
|
|
@@ -13,7 +13,6 @@ import { AlertInfoIcon } from "./AlertInfoIcon";
|
|
|
13
13
|
import { AlertErrorIcon } from "./AlertErrorIcon";
|
|
14
14
|
import { AlertSuccessIcon } from "./AlertSuccessIcon";
|
|
15
15
|
import { AlertWarningIcon } from "./AlertWarningIcon";
|
|
16
|
-
import { IconQuit } from "./IconQuit";
|
|
17
16
|
|
|
18
17
|
const AlertIcons = {
|
|
19
18
|
error: AlertErrorIcon,
|
|
@@ -33,6 +32,5 @@ export {
|
|
|
33
32
|
IconNeutral,
|
|
34
33
|
IconValid,
|
|
35
34
|
IconInvalid,
|
|
36
|
-
AlertIcons
|
|
37
|
-
IconQuit
|
|
35
|
+
AlertIcons
|
|
38
36
|
};
|