@thecb/components 6.0.2 → 6.0.5

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 CHANGED
@@ -40264,6 +40264,8 @@ var Modal$1 = function Modal(_ref) {
40264
40264
  defaultWrapper = _ref$defaultWrapper === void 0 ? true : _ref$defaultWrapper,
40265
40265
  _ref$onlyCloseButton = _ref.onlyCloseButton,
40266
40266
  onlyCloseButton = _ref$onlyCloseButton === void 0 ? false : _ref$onlyCloseButton,
40267
+ _ref$noButtons = _ref.noButtons,
40268
+ noButtons = _ref$noButtons === void 0 ? false : _ref$noButtons,
40267
40269
  maxHeight = _ref.maxHeight,
40268
40270
  _ref$underlayClickExi = _ref.underlayClickExits,
40269
40271
  underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi,
@@ -40324,7 +40326,7 @@ var Modal$1 = function Modal(_ref) {
40324
40326
  justify: "flex-end",
40325
40327
  align: "center",
40326
40328
  childGap: "0rem"
40327
- }, !onlyCloseButton ? /*#__PURE__*/React__default.createElement(React.Fragment, null, isMobile ? /*#__PURE__*/React__default.createElement(Stack, {
40329
+ }, !noButtons && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, !onlyCloseButton ? /*#__PURE__*/React__default.createElement(React.Fragment, null, isMobile ? /*#__PURE__*/React__default.createElement(Stack, {
40328
40330
  childGap: "1rem",
40329
40331
  direction: "row"
40330
40332
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -40376,7 +40378,7 @@ var Modal$1 = function Modal(_ref) {
40376
40378
  dataQa: "Close",
40377
40379
  extraStyles: buttonExtraStyles,
40378
40380
  className: "modal-cancel-button"
40379
- })))))))), children);
40381
+ }))))))))), children);
40380
40382
  };
40381
40383
 
40382
40384
  var fontSize$9 = {
@@ -43044,7 +43046,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
43044
43046
  borderRadius: "3px",
43045
43047
  extraStyles: "overflow: scroll; max-height: 20rem;"
43046
43048
  }, /*#__PURE__*/React__default.createElement(Text$1, {
43047
- variant: "p"
43049
+ variant: "p",
43050
+ extraStyles: "& a { text-decoration: underline; }"
43048
43051
  }, terms)),
43049
43052
  defaultWrapper: false,
43050
43053
  onlyCloseButton: !acceptText,