@thecb/components 10.6.5-beta.4 → 10.6.5-beta.5
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
|
@@ -41324,9 +41324,7 @@ var EditableList = function EditableList(_ref) {
|
|
|
41324
41324
|
_ref$editItemAriaRole = _ref.editItemAriaRole,
|
|
41325
41325
|
editItemAriaRole = _ref$editItemAriaRole === void 0 ? "" : _ref$editItemAriaRole,
|
|
41326
41326
|
_ref$disablePlacehold = _ref.disablePlaceholder,
|
|
41327
|
-
disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold
|
|
41328
|
-
_ref$actionTextExtraS = _ref.actionTextExtraStyles,
|
|
41329
|
-
actionTextExtraStyles = _ref$actionTextExtraS === void 0 ? "" : _ref$actionTextExtraS;
|
|
41327
|
+
disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold;
|
|
41330
41328
|
var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
|
|
41331
41329
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
41332
41330
|
padding: listPadding,
|
|
@@ -41385,7 +41383,7 @@ var EditableList = function EditableList(_ref) {
|
|
|
41385
41383
|
action: function action() {
|
|
41386
41384
|
return removeItem(item.id);
|
|
41387
41385
|
},
|
|
41388
|
-
extraStyles: "min-width: 0;
|
|
41386
|
+
extraStyles: "min-width: 0;",
|
|
41389
41387
|
"aria-label": "Remove ".concat(ariaLabel || itemName)
|
|
41390
41388
|
})), canEdit && /*#__PURE__*/React__default.createElement(Box, {
|
|
41391
41389
|
padding: "0 0.5rem",
|
|
@@ -41399,7 +41397,7 @@ var EditableList = function EditableList(_ref) {
|
|
|
41399
41397
|
action: function action() {
|
|
41400
41398
|
return editItem(item.id);
|
|
41401
41399
|
},
|
|
41402
|
-
extraStyles: "min-width: 0;
|
|
41400
|
+
extraStyles: "min-width: 0;",
|
|
41403
41401
|
"aria-label": "Edit ".concat(ariaLabel || itemName),
|
|
41404
41402
|
role: editItemAriaRole
|
|
41405
41403
|
}))));
|