@mmb-digital/ds-lilly 0.0.1-alpha.357 → 0.0.1-alpha.358
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/ds-lilly.js +2 -2
- package/package.json +1 -1
package/dist/ds-lilly.js
CHANGED
|
@@ -96253,13 +96253,13 @@ var CompactButtons = function (_a) {
|
|
|
96253
96253
|
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Icon, { name: "other" }),
|
|
96254
96254
|
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("span", { className: "c-compact-buttons__dropdowm__opener" })), onVisibleChange: function (state) { return setIsDropdownVisible(state); } },
|
|
96255
96255
|
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(DropdownMenu, { ariaHidden: true }, buttons.map(function (_a, i) {
|
|
96256
|
-
var icon = _a.icon, isDisabled = _a.isDisabled, isLoading = _a.isLoading, key = _a.key, label = _a.label, onClick = _a.onClick;
|
|
96256
|
+
var icon = _a.icon, isDisabled = _a.isDisabled, isLoading = _a.isLoading, key = _a.key, label = _a.label, onClick = _a.onClick, testId = _a.testId;
|
|
96257
96257
|
if (isButtonVisible(i))
|
|
96258
96258
|
return;
|
|
96259
96259
|
return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(DropdownItem, { key: key, iconName: icon, isDisabled: isDisabled, theme: classBinder_cx('c-compact-buttons__dropdowm-item', {
|
|
96260
96260
|
'c-compact-buttons__dropdowm-item--disabled': isDisabled || isLoading
|
|
96261
96261
|
}), onClick: onClick },
|
|
96262
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Button, { isDisabled: isDisabled, isLoading: isLoading, theme: "c-compact-buttons__dropdowm-item-button", type: "border", onClick: onClick }, label)));
|
|
96262
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Button, { isDisabled: isDisabled, isLoading: isLoading, testId: testId + "-dropdown", theme: "c-compact-buttons__dropdowm-item-button", type: "border", onClick: onClick }, label)));
|
|
96263
96263
|
})))))));
|
|
96264
96264
|
};
|
|
96265
96265
|
|