@thecb/components 10.6.7-beta.0 → 10.6.7-beta.1
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 +17 -31
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +17 -31
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/CloseIcon.js +7 -25
- package/src/components/molecules/modal/ModalControlV2.js +5 -1
- package/src/components/molecules/modal/__private__/CloseIconButton.js +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -18419,42 +18419,26 @@ var CloseIcon = function CloseIcon(_ref) {
|
|
|
18419
18419
|
var _ref$iconFill = _ref.iconFill,
|
|
18420
18420
|
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
18421
18421
|
_ref$iconWidth = _ref.iconWidth,
|
|
18422
|
-
iconWidth = _ref$iconWidth === void 0 ? "
|
|
18422
|
+
iconWidth = _ref$iconWidth === void 0 ? "24px" : _ref$iconWidth,
|
|
18423
18423
|
_ref$iconHeight = _ref.iconHeight,
|
|
18424
|
-
iconHeight = _ref$iconHeight === void 0 ? "
|
|
18424
|
+
iconHeight = _ref$iconHeight === void 0 ? "24px" : _ref$iconHeight,
|
|
18425
18425
|
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
18426
18426
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
18427
18427
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18428
|
-
width:
|
|
18429
|
-
height:
|
|
18430
|
-
viewBox: "0 0 24
|
|
18431
|
-
fill: "none"
|
|
18432
|
-
}, rest), /*#__PURE__*/React__default.createElement("title", null, "Close Icon"), /*#__PURE__*/React__default.createElement("path", {
|
|
18433
|
-
fillRule: "evenodd",
|
|
18434
|
-
clipRule: "evenodd",
|
|
18435
|
-
d: "M17.3033 5.98982C17.108 5.79456 16.7915 5.79456 16.5962 5.98982L12 10.586L7.40381 5.98982C7.20854 5.79456 6.89196 5.79456 6.6967 5.98982L5.98959 6.69693C5.79433 6.89219 5.79433 7.20878 5.98959 7.40404L10.5858 12.0002L5.98959 16.5964C5.79433 16.7917 5.79433 17.1083 5.98959 17.3035L6.6967 18.0106C6.89196 18.2059 7.20854 18.2059 7.40381 18.0106L12 13.4144L16.5962 18.0106C16.7915 18.2059 17.108 18.2059 17.3033 18.0106L18.0104 17.3035C18.2057 17.1083 18.2057 16.7917 18.0104 16.5964L13.4142 12.0002L18.0104 7.40404C18.2057 7.20878 18.2057 6.89219 18.0104 6.69693L17.3033 5.98982Z",
|
|
18436
|
-
fill: iconFill
|
|
18437
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
18438
|
-
id: "mask0_3727_16765",
|
|
18428
|
+
width: "24",
|
|
18429
|
+
height: "25",
|
|
18430
|
+
viewBox: "0 0 24 25",
|
|
18431
|
+
fill: "none",
|
|
18439
18432
|
style: {
|
|
18440
|
-
|
|
18441
|
-
|
|
18442
|
-
|
|
18443
|
-
|
|
18444
|
-
y: "5",
|
|
18445
|
-
width: "14",
|
|
18446
|
-
height: "14"
|
|
18447
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18433
|
+
width: iconWidth,
|
|
18434
|
+
height: iconHeight
|
|
18435
|
+
}
|
|
18436
|
+
}, rest), /*#__PURE__*/React__default.createElement("title", null, "Close Icon"), /*#__PURE__*/React__default.createElement("path", {
|
|
18448
18437
|
fillRule: "evenodd",
|
|
18449
18438
|
clipRule: "evenodd",
|
|
18450
|
-
d: "M17.3033
|
|
18451
|
-
fill: "none"
|
|
18452
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
18453
|
-
mask: "url(#mask0_3727_16765)"
|
|
18454
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18455
|
-
d: "M0 0H24V24H0V0Z",
|
|
18439
|
+
d: "M17.3033 6.48982C17.108 6.29456 16.7915 6.29456 16.5962 6.48982L12 11.086L7.40381 6.48982C7.20854 6.29456 6.89196 6.29456 6.6967 6.48982L5.98959 7.19693C5.79433 7.39219 5.79433 7.70878 5.98959 7.90404L10.5858 12.5002L5.98959 17.0964C5.79433 17.2917 5.79433 17.6083 5.98959 17.8035L6.6967 18.5106C6.89196 18.7059 7.20854 18.7059 7.40381 18.5106L12 13.9144L16.5962 18.5106C16.7915 18.7059 17.108 18.7059 17.3033 18.5106L18.0104 17.8035C18.2057 17.6083 18.2057 17.2917 18.0104 17.0964L13.4142 12.5002L18.0104 7.90404C18.2057 7.70878 18.2057 7.39219 18.0104 7.19693L17.3033 6.48982Z",
|
|
18456
18440
|
fill: iconFill
|
|
18457
|
-
}))
|
|
18441
|
+
}));
|
|
18458
18442
|
};
|
|
18459
18443
|
|
|
18460
18444
|
var TrashIconV2 = function TrashIconV2(_ref) {
|
|
@@ -47065,9 +47049,9 @@ var CloseIconButton = function CloseIconButton(_ref) {
|
|
|
47065
47049
|
_ref$hideModal = _ref.hideModal,
|
|
47066
47050
|
hideModal = _ref$hideModal === void 0 ? noop : _ref$hideModal,
|
|
47067
47051
|
_ref$iconWidth = _ref.iconWidth,
|
|
47068
|
-
iconWidth = _ref$iconWidth === void 0 ? "
|
|
47052
|
+
iconWidth = _ref$iconWidth === void 0 ? "24px" : _ref$iconWidth,
|
|
47069
47053
|
_ref$iconHeight = _ref.iconHeight,
|
|
47070
|
-
iconHeight = _ref$iconHeight === void 0 ? "
|
|
47054
|
+
iconHeight = _ref$iconHeight === void 0 ? "24px" : _ref$iconHeight,
|
|
47071
47055
|
_ref$ariaLabel = _ref.ariaLabel,
|
|
47072
47056
|
ariaLabel = _ref$ariaLabel === void 0 ? "Close Modal" : _ref$ariaLabel;
|
|
47073
47057
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
@@ -47267,7 +47251,9 @@ var Modal$2 = function Modal(_ref) {
|
|
|
47267
47251
|
weight: FONT_WEIGHT_SEMIBOLD,
|
|
47268
47252
|
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG
|
|
47269
47253
|
}, modalHeaderText), showCloseIconButton && /*#__PURE__*/React__default.createElement(CloseIconButton, {
|
|
47270
|
-
hideModal: hideModal
|
|
47254
|
+
hideModal: hideModal,
|
|
47255
|
+
iconHeight: isMobile ? "20px" : "24px",
|
|
47256
|
+
iconWidth: isMobile ? "20px" : "24px"
|
|
47271
47257
|
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
47272
47258
|
background: modalBodyBg || ATHENS_GREY,
|
|
47273
47259
|
padding: "0"
|