@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.cjs.js CHANGED
@@ -40896,6 +40896,7 @@ var EditableList = function EditableList(_ref) {
40896
40896
  _ref$canAdd = _ref.canAdd,
40897
40897
  canAdd = _ref$canAdd === void 0 ? true : _ref$canAdd,
40898
40898
  addItem = _ref.addItem,
40899
+ addItemDestination = _ref.addItemDestination,
40899
40900
  removeItem = _ref.removeItem,
40900
40901
  editItem = _ref.editItem,
40901
40902
  itemName = _ref.itemName,
@@ -41003,6 +41004,8 @@ var EditableList = function EditableList(_ref) {
41003
41004
  padding: items.length === 0 ? "0" : "1rem 0 0"
41004
41005
  }, /*#__PURE__*/React__default.createElement(Placeholder$1, {
41005
41006
  text: addText,
41007
+ isLink: !!addItemDestination,
41008
+ destination: addItemDestination,
41006
41009
  action: addItem,
41007
41010
  dataQa: "Add " + qaPrefix,
41008
41011
  "aria-label": addText,