@thecb/components 11.10.6 → 11.10.7

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.esm.js CHANGED
@@ -40888,6 +40888,7 @@ var EditableList = function EditableList(_ref) {
40888
40888
  _ref$canAdd = _ref.canAdd,
40889
40889
  canAdd = _ref$canAdd === void 0 ? true : _ref$canAdd,
40890
40890
  addItem = _ref.addItem,
40891
+ addItemDestination = _ref.addItemDestination,
40891
40892
  removeItem = _ref.removeItem,
40892
40893
  editItem = _ref.editItem,
40893
40894
  itemName = _ref.itemName,
@@ -40995,6 +40996,8 @@ var EditableList = function EditableList(_ref) {
40995
40996
  padding: items.length === 0 ? "0" : "1rem 0 0"
40996
40997
  }, /*#__PURE__*/React__default.createElement(Placeholder$1, {
40997
40998
  text: addText,
40999
+ isLink: !!addItemDestination,
41000
+ destination: addItemDestination,
40998
41001
  action: addItem,
40999
41002
  dataQa: "Add " + qaPrefix,
41000
41003
  "aria-label": addText,