@royaloperahouse/chord 1.25.2-a-chord-development → 1.25.2-c-chord-development

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.
@@ -8075,10 +8075,8 @@ var RadioGroup = function RadioGroup(_ref) {
8075
8075
  columnSpanDesktop = _ref$columnSpanDeskto === void 0 ? 16 : _ref$columnSpanDeskto,
8076
8076
  _ref$columnSpanDevice = _ref.columnSpanDevice,
8077
8077
  columnSpanDevice = _ref$columnSpanDevice === void 0 ? 14 : _ref$columnSpanDevice,
8078
- _ref$columnStartSmall = _ref.columnStartSmallDevice,
8079
- columnStartSmallDevice = _ref$columnStartSmall === void 0 ? 1 : _ref$columnStartSmall,
8080
- _ref$columnSpanSmallD = _ref.columnSpanSmallDevice,
8081
- columnSpanSmallDevice = _ref$columnSpanSmallD === void 0 ? 14 : _ref$columnSpanSmallD,
8078
+ columnStartSmallDevice = _ref.columnStartSmallDevice,
8079
+ columnSpanSmallDevice = _ref.columnSpanSmallDevice,
8082
8080
  onChange = _ref.onChange;
8083
8081
 
8084
8082
  var _useState = React.useState(radios != null ? radios : []),
@@ -8810,7 +8808,10 @@ var LiveChat = function LiveChat() {
8810
8808
 
8811
8809
  var _templateObject$1a, _templateObject2$R;
8812
8810
  var StickyBarWrapper = /*#__PURE__*/styled__default.div(_templateObject$1a || (_templateObject$1a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--base-color-white);\n"])), zIndexes.anchor);
8813
- var StickyBarGrid = /*#__PURE__*/styled__default(Grid)(_templateObject2$R || (_templateObject2$R = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-bottom: 2px solid var(--base-color-lightgrey);\n padding: 28px 0 26px;\n\n @media ", " {\n padding: 24px 0 28px;\n }\n\n @media ", " {\n border-bottom: none;\n }\n"])), devices.mobileAndTablet, devices.mobile);
8811
+ var StickyBarGrid = /*#__PURE__*/styled__default(Grid)(_templateObject2$R || (_templateObject2$R = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n padding: 28px 0 26px;\n\n @media ", " {\n padding: 24px 0 28px;\n }\n\n @media ", " {\n border-bottom: none;\n }\n"])), function (_ref) {
8812
+ var hideBottomBorder = _ref.hideBottomBorder;
8813
+ return !hideBottomBorder && 'border-bottom: 2px solid var(--base-color-lightgrey);';
8814
+ }, devices.mobileAndTablet, devices.mobile);
8814
8815
 
8815
8816
  var StickyBar = function StickyBar(_ref) {
8816
8817
  var _ref$columnStartDeskt = _ref.columnStartDesktop,
@@ -8821,10 +8822,13 @@ var StickyBar = function StickyBar(_ref) {
8821
8822
  columnStartDevice = _ref$columnStartDevic === void 0 ? 2 : _ref$columnStartDevic,
8822
8823
  _ref$columnSpanDevice = _ref.columnSpanDevice,
8823
8824
  columnSpanDevice = _ref$columnSpanDevice === void 0 ? 12 : _ref$columnSpanDevice,
8825
+ hideBottomBorder = _ref.hideBottomBorder,
8824
8826
  children = _ref.children;
8825
8827
  return /*#__PURE__*/React__default.createElement(StickyBarWrapper, {
8826
8828
  "data-testid": "sticky-bar-block"
8827
- }, /*#__PURE__*/React__default.createElement(StickyBarGrid, null, /*#__PURE__*/React__default.createElement(GridItem, {
8829
+ }, /*#__PURE__*/React__default.createElement(StickyBarGrid, {
8830
+ hideBottomBorder: hideBottomBorder != null ? hideBottomBorder : false
8831
+ }, /*#__PURE__*/React__default.createElement(GridItem, {
8828
8832
  columnStartDesktop: columnStartDesktop,
8829
8833
  columnSpanDesktop: columnSpanDesktop,
8830
8834
  columnStartDevice: columnStartDevice,