@carbon/ibm-products 2.0.0-rc.23 → 2.0.0-rc.24
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/css/index-full-carbon.css +33 -33
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +3 -3
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +28 -32
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +3 -3
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +33 -33
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +3 -3
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +28 -32
- package/css/index.css.map +1 -1
- package/css/index.min.css +2 -2
- package/css/index.min.css.map +1 -1
- package/es/components/AddSelect/AddSelectBreadcrumbs.js +6 -4
- package/es/components/AddSelect/AddSelectFilter.js +1 -2
- package/es/components/AddSelect/AddSelectList.js +16 -34
- package/es/components/CreateFullPage/CreateFullPage.js +4 -2
- package/es/components/Tearsheet/Tearsheet.js +3 -3
- package/es/components/Tearsheet/TearsheetShell.js +7 -6
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +6 -4
- package/lib/components/AddSelect/AddSelectFilter.js +1 -2
- package/lib/components/AddSelect/AddSelectList.js +15 -33
- package/lib/components/CreateFullPage/CreateFullPage.js +3 -1
- package/lib/components/Tearsheet/Tearsheet.js +2 -2
- package/lib/components/Tearsheet/TearsheetShell.js +7 -6
- package/package.json +2 -2
- package/scss/components/ActionSet/_action-set.scss +4 -1
- package/scss/components/AddSelect/_add-select.scss +0 -10
- package/scss/components/EmptyStates/_empty-state.scss +7 -4
- package/scss/components/HTTPErrors/_http-errors.scss +8 -4
- package/scss/components/Tearsheet/_tearsheet.scss +4 -0
| @@ -97,8 +97,9 @@ export var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) { | |
| 97 97 | 
             
                handleHeight: false
         | 
| 98 98 | 
             
              }),
         | 
| 99 99 | 
             
                  width = _useResizeDetector.width,
         | 
| 100 | 
            -
                  resizer = _useResizeDetector.ref; | 
| 100 | 
            +
                  resizer = _useResizeDetector.ref;
         | 
| 101 101 |  | 
| 102 | 
            +
              var wide = size === 'wide'; // Keep track of the stack depth and our position in it (1-based, 0=closed)
         | 
| 102 103 |  | 
| 103 104 | 
             
              var _useState3 = useState(0),
         | 
| 104 105 | 
             
                  _useState4 = _slicedToArray(_useState3, 2),
         | 
| @@ -199,7 +200,7 @@ export var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) { | |
| 199 200 | 
             
                })( /*#__PURE__*/React.createElement(ComposedModal, _extends({}, rest, {
         | 
| 200 201 | 
             
                  "aria-label": title,
         | 
| 201 202 | 
             
                  className: cx(bc, className, (_cx = {}, _defineProperty(_cx, "".concat(bc, "--stacked-").concat(position, "-of-").concat(depth), // Don't apply this on the initial open of a single tearsheet.
         | 
| 202 | 
            -
                  depth > 1 || depth === 1 && prevDepth.current > 1), _defineProperty(_cx, "".concat(bc, "--wide"),  | 
| 203 | 
            +
                  depth > 1 || depth === 1 && prevDepth.current > 1), _defineProperty(_cx, "".concat(bc, "--wide"), wide), _defineProperty(_cx, "".concat(bc, "--narrow"), !wide), _cx)),
         | 
| 203 204 | 
             
                  style: (_ref2 = {}, _defineProperty(_ref2, "--".concat(bc, "--stacking-scale-factor-single"), (width - 32) / width), _defineProperty(_ref2, "--".concat(bc, "--stacking-scale-factor-double"), (width - 64) / width), _ref2),
         | 
| 204 205 | 
             
                  containerClassName: cx("".concat(bc, "__container"), _defineProperty({}, "".concat(bc, "__container--lower"), verticalPosition === 'lower')),
         | 
| 205 206 | 
             
                  onClose: onClose,
         | 
| @@ -242,11 +243,11 @@ export var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) { | |
| 242 243 | 
             
                }, /*#__PURE__*/React.createElement(Wrap, {
         | 
| 243 244 | 
             
                  className: "".concat(bc, "__main"),
         | 
| 244 245 | 
             
                  alwaysRender: includeActions,
         | 
| 245 | 
            -
                  element: Layer
         | 
| 246 | 
            +
                  element: wide ? Layer : undefined
         | 
| 246 247 | 
             
                }, /*#__PURE__*/React.createElement(Wrap, {
         | 
| 247 248 | 
             
                  className: "".concat(bc, "__content"),
         | 
| 248 249 | 
             
                  alwaysRender: influencer && influencerPosition === 'right',
         | 
| 249 | 
            -
                  element: Layer
         | 
| 250 | 
            +
                  element: wide ? Layer : undefined
         | 
| 250 251 | 
             
                }, children), /*#__PURE__*/React.createElement(Wrap, {
         | 
| 251 252 | 
             
                  className: cx((_cx6 = {}, _defineProperty(_cx6, "".concat(bc, "__influencer"), true), _defineProperty(_cx6, "".concat(bc, "__influencer--wide"), influencerWidth === 'wide'), _cx6)),
         | 
| 252 253 | 
             
                  neverRender: influencerPosition !== 'right'
         | 
| @@ -254,9 +255,9 @@ export var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) { | |
| 254 255 | 
             
                  className: "".concat(bc, "__button-container")
         | 
| 255 256 | 
             
                }, /*#__PURE__*/React.createElement(ActionSet, {
         | 
| 256 257 | 
             
                  actions: actions,
         | 
| 257 | 
            -
                  buttonSize:  | 
| 258 | 
            +
                  buttonSize: wide ? '2xl' : null,
         | 
| 258 259 | 
             
                  className: "".concat(bc, "__buttons"),
         | 
| 259 | 
            -
                  size:  | 
| 260 | 
            +
                  size: wide ? '2xl' : 'lg'
         | 
| 260 261 | 
             
                })))), /*#__PURE__*/React.createElement("div", {
         | 
| 261 262 | 
             
                  className: "".concat(bc, "__resize-detector"),
         | 
| 262 263 | 
             
                  ref: resizer
         | 
| @@ -33,7 +33,8 @@ var AddSelectBreadcrumbs = function AddSelectBreadcrumbs(_ref) { | |
| 33 33 | 
             
                  onClick = _ref.onClick,
         | 
| 34 34 | 
             
                  path = _ref.path;
         | 
| 35 35 |  | 
| 36 | 
            -
              var clickHandler = function clickHandler(idx) {
         | 
| 36 | 
            +
              var clickHandler = function clickHandler(e, idx) {
         | 
| 37 | 
            +
                e.preventDefault();
         | 
| 37 38 | 
             
                onClick(idx);
         | 
| 38 39 | 
             
              };
         | 
| 39 40 |  | 
| @@ -46,9 +47,10 @@ var AddSelectBreadcrumbs = function AddSelectBreadcrumbs(_ref) { | |
| 46 47 | 
             
                return /*#__PURE__*/_react.default.createElement(_react2.BreadcrumbItem, {
         | 
| 47 48 | 
             
                  key: entry.id,
         | 
| 48 49 | 
             
                  isCurrentPage: isCurrentPage,
         | 
| 49 | 
            -
                  onClick: function onClick() {
         | 
| 50 | 
            -
                    return clickHandler(idx);
         | 
| 51 | 
            -
                  }
         | 
| 50 | 
            +
                  onClick: function onClick(e) {
         | 
| 51 | 
            +
                    return clickHandler(e, idx);
         | 
| 52 | 
            +
                  },
         | 
| 53 | 
            +
                  href: "#"
         | 
| 52 54 | 
             
                }, entry.title);
         | 
| 53 55 | 
             
              }));
         | 
| 54 56 | 
             
            };
         | 
| @@ -132,7 +132,7 @@ var AddSelectFilter = function AddSelectFilter(_ref) { | |
| 132 132 | 
             
                },
         | 
| 133 133 | 
             
                iconDescription: iconDescription,
         | 
| 134 134 | 
             
                className: filterBtnClassnames,
         | 
| 135 | 
            -
                size: " | 
| 135 | 
            +
                size: "md",
         | 
| 136 136 | 
             
                tooltipPosition: "left"
         | 
| 137 137 | 
             
              }), open && /*#__PURE__*/_react.default.createElement("div", {
         | 
| 138 138 | 
             
                className: blockClass
         | 
| @@ -146,7 +146,6 @@ var AddSelectFilter = function AddSelectFilter(_ref) { | |
| 146 146 | 
             
                  key: filterOpts.id,
         | 
| 147 147 | 
             
                  titleText: filterOpts.label,
         | 
| 148 148 | 
             
                  items: filterOpts.opts,
         | 
| 149 | 
            -
                  light: true,
         | 
| 150 149 | 
             
                  onChange: function onChange(value) {
         | 
| 151 150 | 
             
                    return onchangeHandler(value, filterOpts.id);
         | 
| 152 151 | 
             
                  },
         | 
| @@ -135,41 +135,23 @@ var AddSelectList = function AddSelectList(_ref) { | |
| 135 135 |  | 
| 136 136 | 
             
              return /*#__PURE__*/_react.default.createElement("div", {
         | 
| 137 137 | 
             
                className: (0, _classnames.default)("".concat(blockClass, "-wrapper"), (0, _defineProperty2.default)({}, "".concat(blockClass, "-wrapper-multi"), multi))
         | 
| 138 | 
            -
              }, /*#__PURE__*/_react.default.createElement( | 
| 139 | 
            -
                selection: true,
         | 
| 138 | 
            +
              }, /*#__PURE__*/_react.default.createElement("div", {
         | 
| 140 139 | 
             
                className: "".concat(blockClass)
         | 
| 141 | 
            -
              }, /*#__PURE__*/_react.default.createElement( | 
| 140 | 
            +
              }, /*#__PURE__*/_react.default.createElement("div", {
         | 
| 141 | 
            +
                className: "".concat(blockClass, "-body")
         | 
| 142 | 
            +
              }, filteredItems.map(function (item) {
         | 
| 142 143 | 
             
                var _cx2;
         | 
| 143 144 |  | 
| 144 | 
            -
                return /*#__PURE__*/_react.default.createElement( | 
| 145 | 
            +
                return /*#__PURE__*/_react.default.createElement("div", {
         | 
| 145 146 | 
             
                  key: item.id,
         | 
| 146 | 
            -
                  className: (0, _classnames.default)("".concat(blockClass, "-row"), (_cx2 = {}, (0, _defineProperty2.default)(_cx2, "".concat(blockClass, "-row--selected"), isSelected(item.id)), (0, _defineProperty2.default)(_cx2, "".concat(blockClass, "-row-meta--selected"), isInMetaPanel(item.id)), _cx2)) | 
| 147 | 
            -
                  onClick: function onClick(evt) {
         | 
| 148 | 
            -
                    return metaPanelHandler(item, evt);
         | 
| 149 | 
            -
                  }
         | 
| 147 | 
            +
                  className: (0, _classnames.default)("".concat(blockClass, "-row"), (_cx2 = {}, (0, _defineProperty2.default)(_cx2, "".concat(blockClass, "-row--selected"), isSelected(item.id)), (0, _defineProperty2.default)(_cx2, "".concat(blockClass, "-row-meta--selected"), isInMetaPanel(item.id)), _cx2))
         | 
| 150 148 | 
             
                }, /*#__PURE__*/_react.default.createElement("div", {
         | 
| 151 | 
            -
                  className: "".concat(blockClass, "-cell") | 
| 152 | 
            -
                  onClick: function onClick() {
         | 
| 153 | 
            -
                    metaPanelHandler(item);
         | 
| 154 | 
            -
                  },
         | 
| 155 | 
            -
                  onKeyDown: function onKeyDown() {
         | 
| 156 | 
            -
                    metaPanelHandler(item);
         | 
| 157 | 
            -
                  },
         | 
| 158 | 
            -
                  role: "button",
         | 
| 159 | 
            -
                  tabIndex: "0"
         | 
| 149 | 
            +
                  className: "".concat(blockClass, "-cell")
         | 
| 160 150 | 
             
                }, /*#__PURE__*/_react.default.createElement("div", {
         | 
| 161 151 | 
             
                  className: "".concat(blockClass, "-cell-wrapper")
         | 
| 162 152 | 
             
                }, multi ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
         | 
| 163 153 | 
             
                  className: "".concat(blockClass, "-checkbox")
         | 
| 164 | 
            -
                },
         | 
| 165 | 
            -
                /*#__PURE__*/
         | 
| 166 | 
            -
                // hacky way to prevent checkbox from triggering the meta onclick handler
         | 
| 167 | 
            -
                // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
         | 
| 168 | 
            -
                _react.default.createElement("div", {
         | 
| 169 | 
            -
                  onClick: function onClick(event) {
         | 
| 170 | 
            -
                    return event.stopPropagation();
         | 
| 171 | 
            -
                  }
         | 
| 172 | 
            -
                }, /*#__PURE__*/_react.default.createElement(_react2.Checkbox, {
         | 
| 154 | 
            +
                }, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_react2.Checkbox, {
         | 
| 173 155 | 
             
                  onChange: handleMultiSelection,
         | 
| 174 156 | 
             
                  labelText: item.title,
         | 
| 175 157 | 
             
                  id: item.id,
         | 
| @@ -189,10 +171,9 @@ var AddSelectList = function AddSelectList(_ref) { | |
| 189 171 | 
             
                  id: "add-select-modifier-".concat(item.id),
         | 
| 190 172 | 
             
                  type: "inline",
         | 
| 191 173 | 
             
                  items: modifiers.options,
         | 
| 192 | 
            -
                  light: true,
         | 
| 193 174 | 
             
                  label: modifiers.label,
         | 
| 194 175 | 
             
                  disabled: !isSelected(item.id),
         | 
| 195 | 
            -
                  className: "".concat(blockClass, "-dropdown | 
| 176 | 
            +
                  className: "".concat(blockClass, "-dropdown"),
         | 
| 196 177 | 
             
                  initialSelectedItem: item[modifiers.id],
         | 
| 197 178 | 
             
                  onChange: function onChange(_ref6) {
         | 
| 198 179 | 
             
                    var selectedItem = _ref6.selectedItem;
         | 
| @@ -224,9 +205,7 @@ var AddSelectList = function AddSelectList(_ref) { | |
| 224 205 | 
             
                  },
         | 
| 225 206 | 
             
                  kind: "ghost",
         | 
| 226 207 | 
             
                  size: "sm"
         | 
| 227 | 
            -
                }), item.meta && /*#__PURE__*/_react.default.createElement( | 
| 228 | 
            -
                  className: "".concat(blockClass, "-hidden-hover")
         | 
| 229 | 
            -
                }, /*#__PURE__*/_react.default.createElement(_react2.Button, {
         | 
| 208 | 
            +
                }), item.meta && /*#__PURE__*/_react.default.createElement(_react2.Button, {
         | 
| 230 209 | 
             
                  className: "".concat(blockClass, "-view-meta"),
         | 
| 231 210 | 
             
                  renderIcon: function renderIcon(props) {
         | 
| 232 211 | 
             
                    return /*#__PURE__*/_react.default.createElement(_icons.View, (0, _extends2.default)({
         | 
| @@ -238,8 +217,11 @@ var AddSelectList = function AddSelectList(_ref) { | |
| 238 217 | 
             
                  tooltipAlignment: "center",
         | 
| 239 218 | 
             
                  hasIconOnly: true,
         | 
| 240 219 | 
             
                  kind: "ghost",
         | 
| 241 | 
            -
                  size: "sm"
         | 
| 242 | 
            -
             | 
| 220 | 
            +
                  size: "sm",
         | 
| 221 | 
            +
                  onClick: function onClick() {
         | 
| 222 | 
            +
                    return metaPanelHandler(item);
         | 
| 223 | 
            +
                  }
         | 
| 224 | 
            +
                }))));
         | 
| 243 225 | 
             
              }))));
         | 
| 244 226 | 
             
            };
         | 
| 245 227 |  | 
| @@ -217,6 +217,7 @@ var CreateFullPage = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) | |
| 217 217 | 
             
              })))), /*#__PURE__*/_react.default.createElement(_ActionSet.ActionSet, {
         | 
| 218 218 | 
             
                className: "".concat(blockClass, "__buttons"),
         | 
| 219 219 | 
             
                actions: createFullPageActions,
         | 
| 220 | 
            +
                buttonSize: "2xl",
         | 
| 220 221 | 
             
                size: "2xl"
         | 
| 221 222 | 
             
              }))), /*#__PURE__*/_react.default.createElement(_react2.ComposedModal, {
         | 
| 222 223 | 
             
                className: "".concat(blockClass, "__modal"),
         | 
| @@ -233,7 +234,8 @@ var CreateFullPage = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) | |
| 233 234 | 
             
                kind: "secondary",
         | 
| 234 235 | 
             
                onClick: function onClick() {
         | 
| 235 236 | 
             
                  setModalIsOpen(!modalIsOpen);
         | 
| 236 | 
            -
                }
         | 
| 237 | 
            +
                },
         | 
| 238 | 
            +
                "data-modal-primary-focus": true
         | 
| 237 239 | 
             
              }, modalSecondaryButtonText), /*#__PURE__*/_react.default.createElement(_react2.Button, {
         | 
| 238 240 | 
             
                type: "button",
         | 
| 239 241 | 
             
                kind: "danger",
         | 
| @@ -104,8 +104,8 @@ Tearsheet.propTypes = _objectSpread({ | |
| 104 104 | 
             
               * display a loading indicator, and 'onClick' to receive notifications when
         | 
| 105 105 | 
             
               * the button is clicked. Additional fields in the object will be passed to
         | 
| 106 106 | 
             
               * the Button component, and these can include 'disabled', 'ref', 'className',
         | 
| 107 | 
            -
               * and any other Button props. Any other fields in the object will | 
| 108 | 
            -
               * through to the button element as HTML attributes.
         | 
| 107 | 
            +
               * and any other Button props, except 'size'. Any other fields in the object will
         | 
| 108 | 
            +
               * be passed through to the button element as HTML attributes.
         | 
| 109 109 | 
             
               *
         | 
| 110 110 | 
             
               * See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
         | 
| 111 111 | 
             
               */
         | 
| @@ -124,8 +124,9 @@ var TearsheetShell = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) | |
| 124 124 | 
             
                handleHeight: false
         | 
| 125 125 | 
             
              }),
         | 
| 126 126 | 
             
                  width = _useResizeDetector.width,
         | 
| 127 | 
            -
                  resizer = _useResizeDetector.ref; | 
| 127 | 
            +
                  resizer = _useResizeDetector.ref;
         | 
| 128 128 |  | 
| 129 | 
            +
              var wide = size === 'wide'; // Keep track of the stack depth and our position in it (1-based, 0=closed)
         | 
| 129 130 |  | 
| 130 131 | 
             
              var _useState3 = (0, _react.useState)(0),
         | 
| 131 132 | 
             
                  _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
         | 
| @@ -226,7 +227,7 @@ var TearsheetShell = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) | |
| 226 227 | 
             
                })( /*#__PURE__*/_react.default.createElement(_react2.ComposedModal, (0, _extends2.default)({}, rest, {
         | 
| 227 228 | 
             
                  "aria-label": title,
         | 
| 228 229 | 
             
                  className: (0, _classnames.default)(bc, className, (_cx = {}, (0, _defineProperty2.default)(_cx, "".concat(bc, "--stacked-").concat(position, "-of-").concat(depth), // Don't apply this on the initial open of a single tearsheet.
         | 
| 229 | 
            -
                  depth > 1 || depth === 1 && prevDepth.current > 1), (0, _defineProperty2.default)(_cx, "".concat(bc, "--wide"),  | 
| 230 | 
            +
                  depth > 1 || depth === 1 && prevDepth.current > 1), (0, _defineProperty2.default)(_cx, "".concat(bc, "--wide"), wide), (0, _defineProperty2.default)(_cx, "".concat(bc, "--narrow"), !wide), _cx)),
         | 
| 230 231 | 
             
                  style: (_ref2 = {}, (0, _defineProperty2.default)(_ref2, "--".concat(bc, "--stacking-scale-factor-single"), (width - 32) / width), (0, _defineProperty2.default)(_ref2, "--".concat(bc, "--stacking-scale-factor-double"), (width - 64) / width), _ref2),
         | 
| 231 232 | 
             
                  containerClassName: (0, _classnames.default)("".concat(bc, "__container"), (0, _defineProperty2.default)({}, "".concat(bc, "__container--lower"), verticalPosition === 'lower')),
         | 
| 232 233 | 
             
                  onClose: onClose,
         | 
| @@ -269,11 +270,11 @@ var TearsheetShell = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) | |
| 269 270 | 
             
                }, /*#__PURE__*/_react.default.createElement(_Wrap.Wrap, {
         | 
| 270 271 | 
             
                  className: "".concat(bc, "__main"),
         | 
| 271 272 | 
             
                  alwaysRender: includeActions,
         | 
| 272 | 
            -
                  element: _react2.Layer
         | 
| 273 | 
            +
                  element: wide ? _react2.Layer : undefined
         | 
| 273 274 | 
             
                }, /*#__PURE__*/_react.default.createElement(_Wrap.Wrap, {
         | 
| 274 275 | 
             
                  className: "".concat(bc, "__content"),
         | 
| 275 276 | 
             
                  alwaysRender: influencer && influencerPosition === 'right',
         | 
| 276 | 
            -
                  element: _react2.Layer
         | 
| 277 | 
            +
                  element: wide ? _react2.Layer : undefined
         | 
| 277 278 | 
             
                }, children), /*#__PURE__*/_react.default.createElement(_Wrap.Wrap, {
         | 
| 278 279 | 
             
                  className: (0, _classnames.default)((_cx6 = {}, (0, _defineProperty2.default)(_cx6, "".concat(bc, "__influencer"), true), (0, _defineProperty2.default)(_cx6, "".concat(bc, "__influencer--wide"), influencerWidth === 'wide'), _cx6)),
         | 
| 279 280 | 
             
                  neverRender: influencerPosition !== 'right'
         | 
| @@ -281,9 +282,9 @@ var TearsheetShell = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) | |
| 281 282 | 
             
                  className: "".concat(bc, "__button-container")
         | 
| 282 283 | 
             
                }, /*#__PURE__*/_react.default.createElement(_ActionSet.ActionSet, {
         | 
| 283 284 | 
             
                  actions: actions,
         | 
| 284 | 
            -
                  buttonSize:  | 
| 285 | 
            +
                  buttonSize: wide ? '2xl' : null,
         | 
| 285 286 | 
             
                  className: "".concat(bc, "__buttons"),
         | 
| 286 | 
            -
                  size:  | 
| 287 | 
            +
                  size: wide ? '2xl' : 'lg'
         | 
| 287 288 | 
             
                })))), /*#__PURE__*/_react.default.createElement("div", {
         | 
| 288 289 | 
             
                  className: "".concat(bc, "__resize-detector"),
         | 
| 289 290 | 
             
                  ref: resizer
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
              "name": "@carbon/ibm-products",
         | 
| 3 3 | 
             
              "description": "Carbon for IBM Products",
         | 
| 4 | 
            -
              "version": "2.0.0-rc. | 
| 4 | 
            +
              "version": "2.0.0-rc.24",
         | 
| 5 5 | 
             
              "license": "Apache-2.0",
         | 
| 6 6 | 
             
              "main": "lib/index.js",
         | 
| 7 7 | 
             
              "module": "es/index.js",
         | 
| @@ -94,5 +94,5 @@ | |
| 94 94 | 
             
                "react": "^16.8.6 || ^17.0.1",
         | 
| 95 95 | 
             
                "react-dom": "^16.8.6 || ^17.0.1"
         | 
| 96 96 | 
             
              },
         | 
| 97 | 
            -
              "gitHead": " | 
| 97 | 
            +
              "gitHead": "00afe9a823d141de55b2f2590429a1bcf4a637d8"
         | 
| 98 98 | 
             
            }
         | 
| @@ -1,13 +1,16 @@ | |
| 1 1 | 
             
            //
         | 
| 2 | 
            -
            // Copyright IBM Corp. 2021,  | 
| 2 | 
            +
            // Copyright IBM Corp. 2021, 2023
         | 
| 3 3 | 
             
            //
         | 
| 4 4 | 
             
            // This source code is licensed under the Apache-2.0 license found in the
         | 
| 5 5 | 
             
            // LICENSE file in the root directory of this source tree.
         | 
| 6 6 | 
             
            //
         | 
| 7 7 |  | 
| 8 | 
            +
            @use '@carbon/layout/scss/convert' as *;
         | 
| 9 | 
            +
             | 
| 8 10 | 
             
            @use '@carbon/styles/scss/theme' as *;
         | 
| 9 11 | 
             
            @use '@carbon/styles/scss/type';
         | 
| 10 12 | 
             
            @use '@carbon/styles/scss/spacing' as *;
         | 
| 13 | 
            +
             | 
| 11 14 | 
             
            @use '../../global/styles/project-settings' as c4p-settings;
         | 
| 12 15 |  | 
| 13 16 | 
             
            // The block part of our conventional BEM class names (blockClass__E--M).
         | 
| @@ -64,16 +64,6 @@ $tearsheet-class: #{$pkg-prefix}--tearsheet; | |
| 64 64 | 
             
                justify-content: center;
         | 
| 65 65 | 
             
              }
         | 
| 66 66 |  | 
| 67 | 
            -
              &-cell:hover .#{$block-class}__selections-hidden-hover,
         | 
| 68 | 
            -
              .#{$carbon-prefix}--structured-list-row:focus-within
         | 
| 69 | 
            -
                .#{$block-class}__selections-hidden-hover {
         | 
| 70 | 
            -
                visibility: visible;
         | 
| 71 | 
            -
              }
         | 
| 72 | 
            -
             | 
| 73 | 
            -
              &-hidden-hover {
         | 
| 74 | 
            -
                visibility: hidden;
         | 
| 75 | 
            -
              }
         | 
| 76 | 
            -
             | 
| 77 67 | 
             
              &-row--selected.#{$carbon-prefix}--structured-list-row {
         | 
| 78 68 | 
             
                border-bottom: 1px solid $layer-selected-01;
         | 
| 79 69 | 
             
                background-color: $layer-selected-01;
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            //
         | 
| 2 | 
            -
            // Copyright IBM Corp. 2020,  | 
| 2 | 
            +
            // Copyright IBM Corp. 2020, 2023
         | 
| 3 3 | 
             
            //
         | 
| 4 4 | 
             
            // This source code is licensed under the Apache-2.0 license found in the
         | 
| 5 5 | 
             
            // LICENSE file in the root directory of this source tree.
         | 
| @@ -17,21 +17,24 @@ $block-class: #{c4p-settings.$pkg-prefix}--empty-state; | |
| 17 17 | 
             
              color: $text-primary;
         | 
| 18 18 |  | 
| 19 19 | 
             
              .#{$block-class}__header {
         | 
| 20 | 
            -
                @include type.type-style(' | 
| 20 | 
            +
                @include type.type-style('heading-03');
         | 
| 21 21 | 
             
                // stylelint-disable-next-line carbon/layout-token-use
         | 
| 22 22 | 
             
                padding-bottom: calc($spacing-01 + $spacing-02);
         | 
| 23 23 | 
             
                margin: 0;
         | 
| 24 24 | 
             
              }
         | 
| 25 | 
            +
             | 
| 25 26 | 
             
              .#{$block-class}__subtitle {
         | 
| 26 | 
            -
                @include type.type-style('body- | 
| 27 | 
            +
                @include type.type-style('body-01');
         | 
| 27 28 |  | 
| 28 29 | 
             
                padding-bottom: $spacing-05;
         | 
| 29 30 | 
             
              }
         | 
| 31 | 
            +
             | 
| 30 32 | 
             
              .#{$block-class}__header--small {
         | 
| 31 | 
            -
                @include type.type-style('body- | 
| 33 | 
            +
                @include type.type-style('body-compact-02');
         | 
| 32 34 |  | 
| 33 35 | 
             
                padding-bottom: $spacing-03;
         | 
| 34 36 | 
             
              }
         | 
| 37 | 
            +
             | 
| 35 38 | 
             
              .#{$block-class}__subtitle--small {
         | 
| 36 39 | 
             
                @include type.type-style('label-01');
         | 
| 37 40 | 
             
              }
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            //
         | 
| 2 | 
            -
            // Copyright IBM Corp. 2021,  | 
| 2 | 
            +
            // Copyright IBM Corp. 2021, 2023
         | 
| 3 3 | 
             
            //
         | 
| 4 4 | 
             
            // This source code is licensed under the Apache-2.0 license found in the
         | 
| 5 5 | 
             
            // LICENSE file in the root directory of this source tree.
         | 
| @@ -27,21 +27,25 @@ $block-class: #{c4p-settings.$pkg-prefix}--http-errors; | |
| 27 27 | 
             
                transform: translate(-50%, -50%);
         | 
| 28 28 | 
             
              }
         | 
| 29 29 | 
             
            }
         | 
| 30 | 
            +
             | 
| 30 31 | 
             
            .#{$block-class} .#{$block-class}__error-code-label {
         | 
| 31 | 
            -
              @include type.type-style(' | 
| 32 | 
            +
              @include type.type-style('heading-compact-02');
         | 
| 32 33 |  | 
| 33 34 | 
             
              margin-bottom: $spacing-02;
         | 
| 34 35 | 
             
            }
         | 
| 36 | 
            +
             | 
| 35 37 | 
             
            .#{$block-class} .#{$block-class}__title {
         | 
| 36 | 
            -
              @include type.type-style(' | 
| 38 | 
            +
              @include type.type-style('heading-05');
         | 
| 37 39 |  | 
| 38 40 | 
             
              margin-bottom: $spacing-04;
         | 
| 39 41 | 
             
            }
         | 
| 42 | 
            +
             | 
| 40 43 | 
             
            .#{$block-class} .#{$block-class}__description {
         | 
| 41 | 
            -
              @include type.type-style('body- | 
| 44 | 
            +
              @include type.type-style('body-compact-01');
         | 
| 42 45 |  | 
| 43 46 | 
             
              margin-bottom: $spacing-06;
         | 
| 44 47 | 
             
            }
         | 
| 48 | 
            +
             | 
| 45 49 | 
             
            .#{$block-class} .#{$block-class}__error-code-label,
         | 
| 46 50 | 
             
            .#{$block-class} .#{$block-class}__title,
         | 
| 47 51 | 
             
            .#{$block-class} .#{$block-class}__description {
         | 
| @@ -224,6 +224,10 @@ $motion-duration: $duration-moderate-02; | |
| 224 224 | 
             
                padding-right: $spacing-10;
         | 
| 225 225 | 
             
              }
         | 
| 226 226 |  | 
| 227 | 
            +
              &.#{$block-class}--narrow .#{$block-class}__header-description {
         | 
| 228 | 
            +
                max-width: 80%;
         | 
| 229 | 
            +
              }
         | 
| 230 | 
            +
             | 
| 227 231 | 
             
              .#{$block-class}__header-navigation {
         | 
| 228 232 | 
             
                margin: $spacing-04 0 0;
         | 
| 229 233 | 
             
              }
         |