@thecb/components 11.10.5 → 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 +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/editable-list/EditableList.js +3 -0
- package/src/components/molecules/radio-section/InnerRadioSection.js +1 -1
- package/src/components/molecules/radio-section/RadioSection.stories.js +142 -0
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,
|
|
@@ -48998,7 +49001,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48998
49001
|
padding: section.titleIcon ? "0 0 0 8px" : "0"
|
|
48999
49002
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
49000
49003
|
as: "label",
|
|
49001
|
-
htmlFor: "radio-
|
|
49004
|
+
htmlFor: "radio-".concat(idString(section)),
|
|
49002
49005
|
color: CHARADE_GREY
|
|
49003
49006
|
}, section.title))), section.rightIcons && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
49004
49007
|
id: "right-icons-".concat(idString(section)),
|