@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "11.10.6",
3
+ "version": "11.10.7",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -23,6 +23,7 @@ const EditableList = ({
23
23
  titleWeight = "400",
24
24
  canAdd = true,
25
25
  addItem,
26
+ addItemDestination,
26
27
  removeItem,
27
28
  editItem,
28
29
  itemName,
@@ -168,6 +169,8 @@ const EditableList = ({
168
169
  <Box padding={items.length === 0 ? "0" : "1rem 0 0"}>
169
170
  <Placeholder
170
171
  text={addText}
172
+ isLink={!!addItemDestination}
173
+ destination={addItemDestination}
171
174
  action={addItem}
172
175
  dataQa={"Add " + qaPrefix}
173
176
  aria-label={addText}