@terraware/web-components 2.3.62-rc.0 → 2.3.63
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/components/Icon/Icon.js
CHANGED
@@ -14,8 +14,7 @@ var useStyles = (0, _styles.makeStyles)(function () {
|
|
14
14
|
icon: {
|
15
15
|
'& path': {
|
16
16
|
fill: function fill(props) {
|
17
|
-
|
18
|
-
return (_props$fillColor = props.fillColor) !== null && _props$fillColor !== void 0 ? _props$fillColor : 'inherit';
|
17
|
+
return props.fillColor;
|
19
18
|
}
|
20
19
|
}
|
21
20
|
}
|
@@ -32,6 +31,6 @@ function Icon(_ref) {
|
|
32
31
|
});
|
33
32
|
var SVGComponent = _icons.default[name];
|
34
33
|
return /*#__PURE__*/_react.default.createElement(SVGComponent, {
|
35
|
-
className: "tw-icon tw-icon--".concat(size, " ").concat(className !== null && className !== void 0 ? className :
|
34
|
+
className: "tw-icon tw-icon--".concat(size, " ").concat(className !== null && className !== void 0 ? className : '', " ").concat(fillColor ? classes.icon : '')
|
36
35
|
});
|
37
36
|
}
|
@@ -67,14 +67,14 @@ var SvgBlobbyIconParchment = function SvgBlobbyIconParchment(_ref) {
|
|
67
67
|
mask: "url(#blobby-icon-parchment_svg__g)"
|
68
68
|
}, /*#__PURE__*/React.createElement("path", {
|
69
69
|
fill: "url(#blobby-icon-parchment_svg__h)",
|
70
|
-
d: "
|
70
|
+
d: "M157.851 72.897 125.974 41.02 73.907 86.058l32.419 32.419 51.525-45.58Z",
|
71
71
|
opacity: 0.25
|
72
72
|
})), /*#__PURE__*/React.createElement("path", {
|
73
73
|
fill: "#EAF3DC",
|
74
|
-
d: "
|
74
|
+
d: "M88.667 38.667c-4.763 0-8.667 3.904-8.667 8.666v5.006a1.998 1.998 0 0 0 0 .648v21.68h-3.333c-2.554 0-4.667 2.113-4.667 4.666v1.334c0 4.762 3.904 8.666 8.667 8.666H110v-.12c3.993-.023 7.333-3.197 7.333-7.213V68.995a1.96 1.96 0 0 0 0-.649v-8.685a1.96 1.96 0 0 0 0-.648v-4.346h6c2.554 0 4.667-2.114 4.667-4.667v-3.77c0-3.76-2.758-7.162-6.62-7.53a7.353 7.353 0 0 0-.713-.03v-.003h-32Z"
|
75
75
|
}), /*#__PURE__*/React.createElement("path", {
|
76
76
|
fill: "#2C8658",
|
77
|
-
d: "M88.667 38.667c-4.763 0-8.667 3.904-8.667 8.666v5.006a1.
|
77
|
+
d: "M88.667 38.667c-4.763 0-8.667 3.904-8.667 8.666v5.006a1.998 1.998 0 0 0 0 .648v21.68h-3.333c-2.554 0-4.667 2.113-4.667 4.666v1.334c0 4.762 3.904 8.666 8.667 8.666H110v-.12c3.993-.023 7.333-3.197 7.333-7.213V68.995a1.96 1.96 0 0 0 0-.649v-8.685a1.96 1.96 0 0 0 0-.648v-4.346h6c2.554 0 4.667-2.114 4.667-4.667v-3.77c0-3.76-2.758-7.162-6.62-7.53a7.353 7.353 0 0 0-.713-.03v-.003h-32Zm0 4h25.492a7.21 7.21 0 0 0-.826 3.333v11.333h-4.666a2 2 0 1 0 0 4h4.666v5.334H106a2 2 0 1 0 0 4h7.333V82c0 1.975-1.622 3.513-3.666 3.318-1.686-.16-3-1.736-3-3.547v-2.438c0-2.553-2.114-4.666-4.667-4.666H84v-20h4.667a2 2 0 1 0 0-4H84v-3.334c0-2.6 2.067-4.666 4.667-4.666Zm32.333.015c1.685.16 3 1.736 3 3.547V50c0 .393-.273.667-.667.667h-6V46c0-1.975 1.622-3.513 3.667-3.318ZM76.667 78.667H102c.393 0 .667.273.667.666v2.438c0 1.284.417 2.468.994 3.562H80.667A4.638 4.638 0 0 1 76 80.667v-1.334c0-.393.273-.666.667-.666Z"
|
78
78
|
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
79
79
|
id: "blobby-icon-parchment_svg__b",
|
80
80
|
x1: 134,
|
@@ -137,10 +137,10 @@ var SvgBlobbyIconParchment = function SvgBlobbyIconParchment(_ref) {
|
|
137
137
|
stopColor: "#84D6AC"
|
138
138
|
})), /*#__PURE__*/React.createElement("linearGradient", {
|
139
139
|
id: "blobby-icon-parchment_svg__h",
|
140
|
-
x1:
|
141
|
-
x2:
|
142
|
-
y1:
|
143
|
-
y2:
|
140
|
+
x1: 96.816,
|
141
|
+
x2: 127.72,
|
142
|
+
y1: 63.953,
|
143
|
+
y2: 97.282,
|
144
144
|
gradientUnits: "userSpaceOnUse"
|
145
145
|
}, /*#__PURE__*/React.createElement("stop", {
|
146
146
|
stopColor: "#2C8658"
|