carbon-addons-iot-react 4.1.21 → 4.1.22
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/css/carbon-addons-iot-react.css +0 -24
- package/css/carbon-addons-iot-react.css.map +1 -1
- package/es/components/HotspotEditorModal/HotspotEditorModal.js +23 -5
- package/es/components/HotspotEditorModal/HotspotTextStyleTab/HotspotTextStyleTab.js +10 -4
- package/lib/components/CardEditor/CardEditForm/CardEditFormItems/ImageCardFormItems/ImageCardFormContent.js +1 -1
- package/lib/components/HotspotEditorModal/HotspotEditorModal.js +25 -4
- package/lib/components/HotspotEditorModal/HotspotTextStyleTab/HotspotTextStyleTab.js +9 -3
- package/lib/css/carbon-addons-iot-react.css +0 -24
- package/lib/css/carbon-addons-iot-react.css.map +1 -1
- package/lib/scss/components/HotspotEditorModal/HotspotTextStyleTab/_hotspot-text-style-tab.scss +0 -8
- package/package.json +2 -2
- package/scss/components/HotspotEditorModal/HotspotTextStyleTab/_hotspot-text-style-tab.scss +0 -8
- package/umd/carbon-addons-iot-react.js +192 -168
|
@@ -14948,7 +14948,7 @@
|
|
|
14948
14948
|
|
|
14949
14949
|
var _excluded$$ = ["header", "error", "sendingData", "children", "footer", "open", "className", "type", "onClose", "isFetchingData", "isFullScreen", "isLarge", "onSubmit", "iconDescription", "onClearError", "submitFailed", "invalid", "passiveModal", "testID", "testId", "selectorPrimaryFocus"];
|
|
14950
14950
|
var iotPrefix$2q = settings.iotPrefix,
|
|
14951
|
-
prefix$
|
|
14951
|
+
prefix$G = settings.prefix;
|
|
14952
14952
|
var ComposedModalPropTypes = {
|
|
14953
14953
|
/** Header Props
|
|
14954
14954
|
* label: goes on top of the dialog
|
|
@@ -15112,8 +15112,8 @@
|
|
|
15112
15112
|
React$1.useLayoutEffect(function () {
|
|
15113
15113
|
if (modalRef.current && modalBodyRef.current) {
|
|
15114
15114
|
var _modalRef$current$que, _modalRef$current$que2, _modalRef$current$que3, _modalRef$current$que4;
|
|
15115
|
-
var headerHeight = (_modalRef$current$que = (_modalRef$current$que2 = modalRef.current.querySelector(".".concat(prefix$
|
|
15116
|
-
var footerHeight = (_modalRef$current$que3 = (_modalRef$current$que4 = modalRef.current.querySelector(".".concat(prefix$
|
|
15115
|
+
var headerHeight = (_modalRef$current$que = (_modalRef$current$que2 = modalRef.current.querySelector(".".concat(prefix$G, "--modal-header"))) === null || _modalRef$current$que2 === void 0 || (_modalRef$current$que2 = _modalRef$current$que2.getBoundingClientRect()) === null || _modalRef$current$que2 === void 0 ? void 0 : _modalRef$current$que2.height) !== null && _modalRef$current$que !== void 0 ? _modalRef$current$que : 0;
|
|
15116
|
+
var footerHeight = (_modalRef$current$que3 = (_modalRef$current$que4 = modalRef.current.querySelector(".".concat(prefix$G, "--modal-footer"))) === null || _modalRef$current$que4 === void 0 || (_modalRef$current$que4 = _modalRef$current$que4.getBoundingClientRect()) === null || _modalRef$current$que4 === void 0 ? void 0 : _modalRef$current$que4.height) !== null && _modalRef$current$que3 !== void 0 ? _modalRef$current$que3 : 0;
|
|
15117
15117
|
setModalExtrasHeight(Math.floor(headerHeight + footerHeight));
|
|
15118
15118
|
}
|
|
15119
15119
|
}, [modalSize.height, modalBodySize.height]);
|
|
@@ -15142,7 +15142,7 @@
|
|
|
15142
15142
|
buttonOnClick: onClose,
|
|
15143
15143
|
iconDescription: iconDescription
|
|
15144
15144
|
}, helpText ? /*#__PURE__*/React$1.createElement("p", {
|
|
15145
|
-
className: "".concat(prefix$
|
|
15145
|
+
className: "".concat(prefix$G, "--modal-content__text")
|
|
15146
15146
|
}, helpText) : null), children ? /*#__PURE__*/React$1.createElement(react.ModalBody, {
|
|
15147
15147
|
ref: modalBodyRef,
|
|
15148
15148
|
className: classnames(_defineProperty$c({}, "".concat(iotPrefix$2q, "--composed-modal__body--small-margin-bottom"), error)),
|
|
@@ -195508,7 +195508,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
195508
195508
|
function ownKeys$25(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
195509
195509
|
function _objectSpread$23(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
195510
195510
|
var iotPrefix$2o = settings.iotPrefix,
|
|
195511
|
-
prefix$
|
|
195511
|
+
prefix$F = settings.prefix;
|
|
195512
195512
|
var propTypes$2m = _objectSpread$23(_objectSpread$23({}, ComposedModal$1.propTypes), {}, {
|
|
195513
195513
|
// eslint-disable-line react/forbid-foreign-prop-types
|
|
195514
195514
|
/*
|
|
@@ -195595,7 +195595,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
195595
195595
|
};
|
|
195596
195596
|
return /*#__PURE__*/React$1.createElement(ComposedModal$1, _extends$3({
|
|
195597
195597
|
"data-testid": "".concat(testId, "--card-code-editor-modal"),
|
|
195598
|
-
selectorPrimaryFocus: ".".concat(prefix$
|
|
195598
|
+
selectorPrimaryFocus: ".".concat(prefix$F, "--modal-header"),
|
|
195599
195599
|
className: classnames("".concat(iotPrefix$2o, "--editor"), _defineProperty$c({}, "".concat(iotPrefix$2o, "--editor__expanded"), isExpanded)),
|
|
195600
195600
|
isLarge: true,
|
|
195601
195601
|
header: {
|
|
@@ -197314,7 +197314,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
197314
197314
|
};
|
|
197315
197315
|
|
|
197316
197316
|
var iotPrefix$2m = settings.iotPrefix,
|
|
197317
|
-
prefix$
|
|
197317
|
+
prefix$E = settings.prefix;
|
|
197318
197318
|
|
|
197319
197319
|
/**
|
|
197320
197320
|
* Use this function to traverse the tree structure of a set of table rows using Depth-first search (DFS)
|
|
@@ -197394,7 +197394,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
197394
197394
|
}, typeof action.renderIcon === 'string' ? renderBundledIconUsingName(action.renderIcon, action.labelText) : /*#__PURE__*/React$1.createElement(action.renderIcon, {
|
|
197395
197395
|
description: action.labelText
|
|
197396
197396
|
}), /*#__PURE__*/React$1.createElement("div", {
|
|
197397
|
-
className: "".concat(prefix$
|
|
197397
|
+
className: "".concat(prefix$E, "--overflow-menu-options__option-content")
|
|
197398
197398
|
}, action.labelText)) : action.labelText;
|
|
197399
197399
|
};
|
|
197400
197400
|
|
|
@@ -201271,7 +201271,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
201271
201271
|
}
|
|
201272
201272
|
return i18nProp.replace('{n}', filterCount);
|
|
201273
201273
|
};
|
|
201274
|
-
var prefix$
|
|
201274
|
+
var prefix$D = settings.prefix,
|
|
201275
201275
|
iotPrefix$2k = settings.iotPrefix;
|
|
201276
201276
|
/* eslint-disable-next-line react/prop-types */
|
|
201277
201277
|
var DefaultWrapper = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
@@ -201363,7 +201363,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
201363
201363
|
className: "".concat(iotPrefix$2k, "--filtertags-overflow-menu"),
|
|
201364
201364
|
renderIcon: function renderIcon() {
|
|
201365
201365
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
201366
|
-
className: "".concat(prefix$
|
|
201366
|
+
className: "".concat(prefix$D, "--tag")
|
|
201367
201367
|
}, getFilterTagsOverflowText(overflowItems.length, filterTagsOverflowMenuText));
|
|
201368
201368
|
},
|
|
201369
201369
|
menuOptionsClass: "".concat(iotPrefix$2k, "--filtertags-overflow-items"),
|
|
@@ -201591,7 +201591,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
201591
201591
|
}
|
|
201592
201592
|
|
|
201593
201593
|
var iotPrefix$2j = settings.iotPrefix,
|
|
201594
|
-
prefix$
|
|
201594
|
+
prefix$C = settings.prefix;
|
|
201595
201595
|
var SimplePaginationPropTypes = {
|
|
201596
201596
|
/** current page number */
|
|
201597
201597
|
page: PropTypes.number.isRequired,
|
|
@@ -201655,7 +201655,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
201655
201655
|
return onPage(page - 1);
|
|
201656
201656
|
};
|
|
201657
201657
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
201658
|
-
className: "".concat(iotPrefix$2j, "-simple-pagination-container ").concat(prefix$
|
|
201658
|
+
className: "".concat(iotPrefix$2j, "-simple-pagination-container ").concat(prefix$C, "--pagination--").concat(size),
|
|
201659
201659
|
"data-testid": testID || testId
|
|
201660
201660
|
}, totalItems ? /*#__PURE__*/React$1.createElement("span", {
|
|
201661
201661
|
className: "".concat(iotPrefix$2j, "-simple-pagination-page-label"),
|
|
@@ -201666,7 +201666,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
201666
201666
|
className: "".concat(iotPrefix$2j, "-simple-pagination-page-label"),
|
|
201667
201667
|
maxpage: maxPage
|
|
201668
201668
|
}, pageText ? "".concat(pageText, " ").concat(page) : pageOfPagesText(page, maxPage)), maxPage > 1 ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
|
|
201669
|
-
className: hasPrev ? "".concat(prefix$
|
|
201669
|
+
className: hasPrev ? "".concat(prefix$C, "--pagination__button ").concat(prefix$C, "--pagination__button--backward ").concat(iotPrefix$2j, "-addons-simple-pagination-button") : "".concat(prefix$C, "--pagination__button ").concat(prefix$C, "--pagination__button--backward ").concat(iotPrefix$2j, "-addons-simple-pagination-button-disabled"),
|
|
201670
201670
|
role: "button",
|
|
201671
201671
|
tabIndex: hasPrev ? 0 : -1,
|
|
201672
201672
|
onClick: hasPrev ? handlePrev : undefined,
|
|
@@ -201679,7 +201679,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
201679
201679
|
"aria-label": prevPageText,
|
|
201680
201680
|
className: hasPrev ? "".concat(iotPrefix$2j, "-simple-pagination-caret") : "".concat(iotPrefix$2j, "-simple-pagination-caret-disabled")
|
|
201681
201681
|
})), /*#__PURE__*/React$1.createElement("div", {
|
|
201682
|
-
className: hasNext ? "".concat(prefix$
|
|
201682
|
+
className: hasNext ? "".concat(prefix$C, "--pagination__button ").concat(prefix$C, "--pagination__button--forward ").concat(iotPrefix$2j, "-addons-simple-pagination-button") : "".concat(prefix$C, "--pagination__button ").concat(prefix$C, "--pagination__button--forward ").concat(iotPrefix$2j, "-addons-simple-pagination-button-disabled"),
|
|
201683
201683
|
role: "button",
|
|
201684
201684
|
tabIndex: hasNext ? 0 : -1,
|
|
201685
201685
|
onClick: hasNext ? handleNext : undefined,
|
|
@@ -210300,7 +210300,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
210300
210300
|
|
|
210301
210301
|
var _excluded$W = ["onClick", "testId", "className", "description", "isActive", "tooltipAlignment", "tooltipPosition", "langDir"];
|
|
210302
210302
|
var iotPrefix$2d = settings.iotPrefix,
|
|
210303
|
-
prefix$
|
|
210303
|
+
prefix$B = settings.prefix;
|
|
210304
210304
|
var propTypes$2h = {
|
|
210305
210305
|
onClick: PropTypes.func.isRequired,
|
|
210306
210306
|
testId: PropTypes.string.isRequired,
|
|
@@ -210344,7 +210344,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
210344
210344
|
ref: function ref(node) {
|
|
210345
210345
|
/* istanbul ignore else */
|
|
210346
210346
|
if (node) {
|
|
210347
|
-
var tooltip = node.querySelector(".".concat(prefix$
|
|
210347
|
+
var tooltip = node.querySelector(".".concat(prefix$B, "--assistive-text"));
|
|
210348
210348
|
if (!tooltip) {
|
|
210349
210349
|
return;
|
|
210350
210350
|
}
|
|
@@ -210361,7 +210361,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
210361
210361
|
}
|
|
210362
210362
|
}
|
|
210363
210363
|
},
|
|
210364
|
-
className: classnames("".concat(prefix$
|
|
210364
|
+
className: classnames("".concat(prefix$B, "--btn--icon-only"), "".concat(iotPrefix$2d, "--tooltip-svg-wrapper"), className, _defineProperty$c({}, "".concat(iotPrefix$2d, "--table-toolbar-button-active"), isActive)),
|
|
210365
210365
|
kind: "icon-selection",
|
|
210366
210366
|
onClick: onClick,
|
|
210367
210367
|
iconDescription: description,
|
|
@@ -210499,7 +210499,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
210499
210499
|
function _callSuper$5(t, o, e) { return o = _getPrototypeOf$2(o), _possibleConstructorReturn$2(t, _isNativeReflectConstruct$6() ? Reflect.construct(o, e || [], _getPrototypeOf$2(t).constructor) : o.apply(t, e)); }
|
|
210500
210500
|
function _isNativeReflectConstruct$6() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$6 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
210501
210501
|
var iotPrefix$2c = settings.iotPrefix,
|
|
210502
|
-
prefix$
|
|
210502
|
+
prefix$A = settings.prefix;
|
|
210503
210503
|
var getFilterForState = function getFilterForState(filters, col) {
|
|
210504
210504
|
var appliedFilter = filters.find(function (i) {
|
|
210505
210505
|
return i.columnId === col.id;
|
|
@@ -210526,7 +210526,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
210526
210526
|
});
|
|
210527
210527
|
_defineProperty$c(_this, "updateDropdownHeight", function () {
|
|
210528
210528
|
if (_this.rowRef.current) {
|
|
210529
|
-
var tableContainer = _this.rowRef.current.closest(".".concat(prefix$
|
|
210529
|
+
var tableContainer = _this.rowRef.current.closest(".".concat(prefix$A, "--data-table-content"));
|
|
210530
210530
|
var tableHead = _this.rowRef.current.closest("thead");
|
|
210531
210531
|
if (tableContainer) {
|
|
210532
210532
|
var _tableContainer$getBo = tableContainer.getBoundingClientRect(),
|
|
@@ -210807,7 +210807,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
210807
210807
|
// eslint-disable-line react/destructuring-assignment
|
|
210808
210808
|
React$1.createElement("div", {
|
|
210809
210809
|
role: "button",
|
|
210810
|
-
className: classnames("".concat(prefix$
|
|
210810
|
+
className: classnames("".concat(prefix$A, "--list-box__selection"), _defineProperty$c({}, "".concat(iotPrefix$2c, "--clear-filters-button--disabled"), isDisabled)),
|
|
210811
210811
|
tabIndex: isDisabled ? '-1' : '0',
|
|
210812
210812
|
onMouseDown: function onMouseDown(event) {
|
|
210813
210813
|
return event.preventDefault();
|
|
@@ -211452,7 +211452,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
211452
211452
|
DESC: 'DESC',
|
|
211453
211453
|
ASC: 'ASC'
|
|
211454
211454
|
};
|
|
211455
|
-
var prefix$
|
|
211455
|
+
var prefix$z = settings.prefix,
|
|
211456
211456
|
iotPrefix$2b = settings.iotPrefix;
|
|
211457
211457
|
var translationKeys = {
|
|
211458
211458
|
iconDescription: 'carbon.table.header.icon.description'
|
|
@@ -211511,7 +211511,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
211511
211511
|
});
|
|
211512
211512
|
}
|
|
211513
211513
|
var rowSpan = (rowSpanProp !== null && rowSpanProp !== void 0 ? rowSpanProp : spanGroupRow) ? '2' : undefined;
|
|
211514
|
-
var headerClassNames = classnames(headerClassName, _defineProperty$c(_defineProperty$c({}, "".concat(iotPrefix$2b, "--table-header--span-group-row"), spanGroupRow), "".concat(prefix$
|
|
211514
|
+
var headerClassNames = classnames(headerClassName, _defineProperty$c(_defineProperty$c({}, "".concat(iotPrefix$2b, "--table-header--span-group-row"), spanGroupRow), "".concat(prefix$z, "--table-sort__header--ai-label ").concat(prefix$z, "--table-sort__header--decorator"), colHasAILabel));
|
|
211515
211515
|
if (!isSortable) {
|
|
211516
211516
|
return (
|
|
211517
211517
|
/*#__PURE__*/
|
|
@@ -211525,13 +211525,13 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
211525
211525
|
ref: ref,
|
|
211526
211526
|
style: thStyle
|
|
211527
211527
|
}), /*#__PURE__*/React$1.createElement("div", {
|
|
211528
|
-
className: "".concat(prefix$
|
|
211528
|
+
className: "".concat(prefix$z, "--table-header-label-container")
|
|
211529
211529
|
}, !hasTooltip ? /*#__PURE__*/React$1.createElement("span", {
|
|
211530
|
-
className: "".concat(prefix$
|
|
211530
|
+
className: "".concat(prefix$z, "--table-header-label")
|
|
211531
211531
|
}, children) : children, colHasAILabel ? normalizedDecorator : ''))
|
|
211532
211532
|
);
|
|
211533
211533
|
}
|
|
211534
|
-
var className = classnames(headerClassName, _defineProperty$c(_defineProperty$c(_defineProperty$c({}, "".concat(prefix$
|
|
211534
|
+
var className = classnames(headerClassName, _defineProperty$c(_defineProperty$c(_defineProperty$c({}, "".concat(prefix$z, "--table-sort"), true), "".concat(prefix$z, "--table-sort--active"), isSortHeader && sortDirection !== sortStates.NONE), "".concat(prefix$z, "--table-sort--ascending"), isSortHeader && sortDirection === sortStates.DESC));
|
|
211535
211535
|
var ariaSort = !isSortHeader ? 'none' : sortDirections[sortDirection];
|
|
211536
211536
|
var ButtonTag = hasMultiSort || hasOverflow ? "a" : "button";
|
|
211537
211537
|
var buttonProps = hasMultiSort || hasOverflow ? _objectSpread$1T({
|
|
@@ -211554,9 +211554,9 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
211554
211554
|
style: thStyle,
|
|
211555
211555
|
"data-testid": testId
|
|
211556
211556
|
}, /*#__PURE__*/React$1.createElement(ButtonTag, buttonProps, !hasTooltip ? /*#__PURE__*/React$1.createElement("span", {
|
|
211557
|
-
className: "".concat(prefix$
|
|
211557
|
+
className: "".concat(prefix$z, "--table-header-label")
|
|
211558
211558
|
}, children, " ") : children, sortDirection === sortStates.ASC ? /*#__PURE__*/React$1.createElement(iconsReact.ArrowUp, {
|
|
211559
|
-
className: "".concat(prefix$
|
|
211559
|
+
className: "".concat(prefix$z, "--table-sort__icon"),
|
|
211560
211560
|
"aria-label": t('carbon.table.header.icon.description', {
|
|
211561
211561
|
header: children,
|
|
211562
211562
|
sortDirection: sortDirection,
|
|
@@ -211564,7 +211564,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
211564
211564
|
sortStates: sortStates
|
|
211565
211565
|
})
|
|
211566
211566
|
}) : null, sortDirection === sortStates.DESC ? /*#__PURE__*/React$1.createElement(iconsReact.ArrowDown, {
|
|
211567
|
-
className: "".concat(prefix$
|
|
211567
|
+
className: "".concat(prefix$z, "--table-sort__icon"),
|
|
211568
211568
|
"aria-label": t('carbon.table.header.icon.description', {
|
|
211569
211569
|
header: children,
|
|
211570
211570
|
sortDirection: sortDirection,
|
|
@@ -211572,7 +211572,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
211572
211572
|
sortStates: sortStates
|
|
211573
211573
|
})
|
|
211574
211574
|
}) : null, /*#__PURE__*/React$1.createElement(iconsReact.ArrowsVertical, {
|
|
211575
|
-
className: "".concat(prefix$
|
|
211575
|
+
className: "".concat(prefix$z, "--table-sort__icon-unsorted"),
|
|
211576
211576
|
"aria-label": t('carbon.table.header.icon.description', {
|
|
211577
211577
|
header: children,
|
|
211578
211578
|
sortDirection: sortDirection,
|
|
@@ -215578,7 +215578,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
215578
215578
|
function ownKeys$1P(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
215579
215579
|
function _objectSpread$1N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1P(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
215580
215580
|
var iotPrefix$26 = settings.iotPrefix,
|
|
215581
|
-
prefix$
|
|
215581
|
+
prefix$y = settings.prefix;
|
|
215582
215582
|
var itemToString = function itemToString(key) {
|
|
215583
215583
|
return function (item) {
|
|
215584
215584
|
var _item$key;
|
|
@@ -215797,7 +215797,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
215797
215797
|
},
|
|
215798
215798
|
buttonProps: {
|
|
215799
215799
|
size: 'lg',
|
|
215800
|
-
className: classnames("".concat(prefix$
|
|
215800
|
+
className: classnames("".concat(prefix$y, "--btn--icon-only"), "".concat(iotPrefix$26, "--tooltip-svg-wrapper"), "".concat(iotPrefix$26, "--table-toolbar__advanced-filters-button"), _defineProperty$c({}, "".concat(iotPrefix$26, "--table-toolbar-button-active"), advancedFilterFlyoutOpen)),
|
|
215801
215801
|
onClick: onToggleAdvancedFilter,
|
|
215802
215802
|
tooltipPosition: 'bottom'
|
|
215803
215803
|
},
|
|
@@ -215938,7 +215938,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
215938
215938
|
defaultValue: filterState === null || filterState === void 0 || (_filterState$simple2 = filterState.simple) === null || _filterState$simple2 === void 0 ? void 0 : _filterState$simple2[column.id]
|
|
215939
215939
|
}), filterState !== null && filterState !== void 0 && (_filterState$simple3 = filterState.simple) !== null && _filterState$simple3 !== void 0 && _filterState$simple3[column.id] ? /*#__PURE__*/React$1.createElement("div", {
|
|
215940
215940
|
role: "button",
|
|
215941
|
-
className: classnames("".concat(prefix$
|
|
215941
|
+
className: classnames("".concat(prefix$y, "--list-box__selection"), _defineProperty$c({}, "".concat(iotPrefix$26, "--clear-filters-button--disabled"), isDisabled)),
|
|
215942
215942
|
tabIndex: isDisabled ? '-1' : '0',
|
|
215943
215943
|
onClick: function onClick(event) {
|
|
215944
215944
|
if (!isDisabled) {
|
|
@@ -218703,7 +218703,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
218703
218703
|
var RowActionsCell$1 = RowActionsCell;
|
|
218704
218704
|
|
|
218705
218705
|
var _excluded$P = ["ariaLabel", "className", "children", "isExpanded", "onExpand", "expandIconDescription", "isSelected", "expandHeaderId", "rowId", "langDir"];
|
|
218706
|
-
var prefix$
|
|
218706
|
+
var prefix$x = settings.prefix,
|
|
218707
218707
|
iotPrefix$20 = settings.iotPrefix;
|
|
218708
218708
|
var propTypes$26 = {
|
|
218709
218709
|
/**
|
|
@@ -218763,20 +218763,20 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
218763
218763
|
rowId = _ref.rowId,
|
|
218764
218764
|
langDir = _ref.langDir,
|
|
218765
218765
|
rest = _objectWithoutProperties$3(_ref, _excluded$P);
|
|
218766
|
-
var className = classnames(_defineProperty$c(_defineProperty$c(_defineProperty$c({}, "".concat(prefix$
|
|
218766
|
+
var className = classnames(_defineProperty$c(_defineProperty$c(_defineProperty$c({}, "".concat(prefix$x, "--parent-row"), true), "".concat(prefix$x, "--expandable-row"), isExpanded), "".concat(prefix$x, "--data-table--selected"), isSelected), rowClassName);
|
|
218767
218767
|
var previousValue = isExpanded ? 'collapsed' : undefined;
|
|
218768
218768
|
return /*#__PURE__*/React$1.createElement("tr", _extends$3({}, rest, {
|
|
218769
218769
|
className: className,
|
|
218770
218770
|
"data-parent-row": true,
|
|
218771
218771
|
"data-testid": "expand-row-".concat(rowId)
|
|
218772
218772
|
}), /*#__PURE__*/React$1.createElement(react.TableCell, {
|
|
218773
|
-
className: "".concat(prefix$
|
|
218773
|
+
className: "".concat(prefix$x, "--table-expand"),
|
|
218774
218774
|
"data-previous-value": previousValue,
|
|
218775
218775
|
headers: expandHeaderId
|
|
218776
218776
|
}, /*#__PURE__*/React$1.createElement(Button$2, {
|
|
218777
218777
|
"aria-label": ariaLabel,
|
|
218778
218778
|
testId: "expand-icon-button-".concat(rowId),
|
|
218779
|
-
className: classnames("".concat(prefix$
|
|
218779
|
+
className: classnames("".concat(prefix$x, "--table-expand__button"), "".concat(iotPrefix$20, "--table-expand__button"), "".concat(iotPrefix$20, "--tooltip-svg-wrapper"), _defineProperty$c({}, "".concat(iotPrefix$20, "--table-expand__button--close"), isExpanded)),
|
|
218780
218780
|
onClick: onExpand,
|
|
218781
218781
|
iconDescription: expandIconDescription,
|
|
218782
218782
|
renderIcon: iconsReact.ChevronRight,
|
|
@@ -218951,7 +218951,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
218951
218951
|
}
|
|
218952
218952
|
};
|
|
218953
218953
|
|
|
218954
|
-
var prefix$
|
|
218954
|
+
var prefix$w = settings.prefix,
|
|
218955
218955
|
iotPrefix$1_ = settings.iotPrefix;
|
|
218956
218956
|
var propTypes$24 = {
|
|
218957
218957
|
/** What column ordering is currently applied to the table */
|
|
@@ -219169,7 +219169,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
219169
219169
|
// if this a single hierarchy (i.e. only 1 level of nested children), do NOT show the gray offset
|
|
219170
219170
|
var nestingOffset = hasRowNesting !== null && hasRowNesting !== void 0 && hasRowNesting.hasSingleNestedHierarchy ? 0 : hasRowSelection === 'single' ? nestingLevelPixels - singleSelectionIndicatorWidth : nestingLevelPixels;
|
|
219171
219171
|
var rowSelectionCell = hasRowSelection === 'multi' ? /*#__PURE__*/React$1.createElement(react.TableCell, {
|
|
219172
|
-
className: "".concat(prefix$
|
|
219172
|
+
className: "".concat(prefix$w, "--checkbox-table-cell"),
|
|
219173
219173
|
key: "".concat(id, "-row-selection-cell"),
|
|
219174
219174
|
onChange: isSelectable !== false ? function () {
|
|
219175
219175
|
return onRowSelected(id, !isSelected);
|
|
@@ -219190,7 +219190,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
219190
219190
|
checked: isSelected,
|
|
219191
219191
|
disabled: isSelectable === false
|
|
219192
219192
|
}))) : hasRowSelection === 'single' && useRadioButtonSingleSelect ? /*#__PURE__*/React$1.createElement(react.TableCell, {
|
|
219193
|
-
className: "".concat(prefix$
|
|
219193
|
+
className: "".concat(prefix$w, "--radiobutton-table-cell"),
|
|
219194
219194
|
key: "".concat(id, "-row-selection-cell"),
|
|
219195
219195
|
onClick: function onClick(e) {
|
|
219196
219196
|
return e.stopPropagation();
|
|
@@ -220158,7 +220158,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
220158
220158
|
var SkeletonRow$1 = SkeletonRow;
|
|
220159
220159
|
|
|
220160
220160
|
var iotPrefix$1Z = settings.iotPrefix,
|
|
220161
|
-
prefix$
|
|
220161
|
+
prefix$v = settings.prefix;
|
|
220162
220162
|
var propTypes$22 = {
|
|
220163
220163
|
/** The unique row id */
|
|
220164
220164
|
id: PropTypes.string.isRequired,
|
|
@@ -220238,7 +220238,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
220238
220238
|
'--row-nesting-offset': "".concat(nestingOffset, "px")
|
|
220239
220239
|
}
|
|
220240
220240
|
}, (hasRowExpansion || hasRowNesting) && /*#__PURE__*/React$1.createElement(react.TableCell, {
|
|
220241
|
-
className: "".concat(prefix$
|
|
220241
|
+
className: "".concat(prefix$v, "--table-expand")
|
|
220242
220242
|
}), /*#__PURE__*/React$1.createElement(react.TableCell, {
|
|
220243
220243
|
key: "".concat(tableId, "-").concat(id, "-row-load-more-cell"),
|
|
220244
220244
|
colSpan: totalColumns,
|
|
@@ -221455,7 +221455,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221455
221455
|
}
|
|
221456
221456
|
};
|
|
221457
221457
|
|
|
221458
|
-
var prefix$
|
|
221458
|
+
var prefix$u = settings.prefix,
|
|
221459
221459
|
iotPrefix$1W = settings.iotPrefix;
|
|
221460
221460
|
|
|
221461
221461
|
/**
|
|
@@ -221745,8 +221745,8 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221745
221745
|
*/
|
|
221746
221746
|
function handleOverflowLiEnter(e) {
|
|
221747
221747
|
var node = e.currentTarget;
|
|
221748
|
-
var hyperLink = node.querySelector(".".concat(prefix$
|
|
221749
|
-
hyperLink.classList.add("".concat(prefix$
|
|
221748
|
+
var hyperLink = node.querySelector(".".concat(prefix$u, "--overflow-menu-options__btn"));
|
|
221749
|
+
hyperLink.classList.add("".concat(prefix$u, "--breadcrumbmenu--on--row--dropping"));
|
|
221750
221750
|
activeDropRowIdRef.current = node;
|
|
221751
221751
|
}
|
|
221752
221752
|
|
|
@@ -221759,8 +221759,8 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221759
221759
|
if (activeDropRowIdRef.current === node) {
|
|
221760
221760
|
activeDropRowIdRef.current = null;
|
|
221761
221761
|
}
|
|
221762
|
-
var hyperLink = node.querySelector(".".concat(prefix$
|
|
221763
|
-
if (hyperLink) hyperLink.classList.remove("".concat(prefix$
|
|
221762
|
+
var hyperLink = node.querySelector(".".concat(prefix$u, "--overflow-menu-options__btn"));
|
|
221763
|
+
if (hyperLink) hyperLink.classList.remove("".concat(prefix$u, "--breadcrumbmenu--on--row--dropping"));
|
|
221764
221764
|
}
|
|
221765
221765
|
|
|
221766
221766
|
/**
|
|
@@ -221778,8 +221778,8 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221778
221778
|
var node = e.currentTarget;
|
|
221779
221779
|
// To have breadcrumb leaf node as disabled by specfying isCurrentPage prop which adds the below class
|
|
221780
221780
|
// and for the same page drop shouldn't be allowed hence the below condition
|
|
221781
|
-
if (!node.classList.contains("".concat(prefix$
|
|
221782
|
-
var link = node.querySelector(".".concat(prefix$
|
|
221781
|
+
if (!node.classList.contains("".concat(prefix$u, "--breadcrumb-item--current"))) {
|
|
221782
|
+
var link = node.querySelector(".".concat(prefix$u, "--link"));
|
|
221783
221783
|
var linkRect = link.getBoundingClientRect();
|
|
221784
221784
|
// There is another way to have breadcrumb leaf node as disabled by not setting the href,
|
|
221785
221785
|
// in any case it should be a enabled hyperlink to consider as drop target
|
|
@@ -221800,7 +221800,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221800
221800
|
Object.assign(overlayRef.current.style, style);
|
|
221801
221801
|
overlayRef.current.classList.add("".concat(iotPrefix$1W, "--breadcrumb-drop-node-overlay"));
|
|
221802
221802
|
}
|
|
221803
|
-
link.classList.add("".concat(prefix$
|
|
221803
|
+
link.classList.add("".concat(prefix$u, "--row--on--link--dropping"));
|
|
221804
221804
|
activeDropRowIdRef.current = node;
|
|
221805
221805
|
}
|
|
221806
221806
|
}
|
|
@@ -221815,8 +221815,8 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221815
221815
|
/* istanbul ignore else */
|
|
221816
221816
|
if (activeDropRowIdRef.current === node) {
|
|
221817
221817
|
activeDropRowIdRef.current = null;
|
|
221818
|
-
var link = node.querySelector(".".concat(prefix$
|
|
221819
|
-
link.classList.remove("".concat(prefix$
|
|
221818
|
+
var link = node.querySelector(".".concat(prefix$u, "--link"));
|
|
221819
|
+
link.classList.remove("".concat(prefix$u, "--row--on--link--dropping"));
|
|
221820
221820
|
/* istanbul ignore else */
|
|
221821
221821
|
if (overlayRef.current) {
|
|
221822
221822
|
overlayRef.current.classList.remove("".concat(iotPrefix$1W, "--breadcrumb-drop-node-overlay"));
|
|
@@ -221832,7 +221832,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221832
221832
|
var items = document.body.querySelectorAll(".breadcrumb--overflow-items");
|
|
221833
221833
|
/* istanbul ignore else */
|
|
221834
221834
|
if (items && items.length > 0) {
|
|
221835
|
-
var listItems = items[0].querySelectorAll(".".concat(prefix$
|
|
221835
|
+
var listItems = items[0].querySelectorAll(".".concat(prefix$u, "--overflow-menu-options__option"));
|
|
221836
221836
|
listItems.forEach(function (li) {
|
|
221837
221837
|
li.addEventListener('mouseenter', handleOverflowLiEnter);
|
|
221838
221838
|
li.addEventListener('mouseleave', handleOverflowLiLeave);
|
|
@@ -221847,7 +221847,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221847
221847
|
var items = document.body.querySelectorAll(".breadcrumb--overflow-items");
|
|
221848
221848
|
/* istanbul ignore else */
|
|
221849
221849
|
if (items && items.length > 0) {
|
|
221850
|
-
var listItems = items[0].querySelectorAll(".".concat(prefix$
|
|
221850
|
+
var listItems = items[0].querySelectorAll(".".concat(prefix$u, "--overflow-menu-options__option"));
|
|
221851
221851
|
listItems.forEach(function (li) {
|
|
221852
221852
|
li.removeEventListener('mouseenter', handleOverflowLiEnter);
|
|
221853
221853
|
li.removeEventListener('mouseleave', handleOverflowLiLeave);
|
|
@@ -221860,7 +221860,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221860
221860
|
*/
|
|
221861
221861
|
function addBreadcrumbEventListners() {
|
|
221862
221862
|
// Nodes which are visible are selected using common class name
|
|
221863
|
-
var elements = document.querySelectorAll(".".concat(prefix$
|
|
221863
|
+
var elements = document.querySelectorAll(".".concat(prefix$u, "--breadcrumb-item"));
|
|
221864
221864
|
elements.forEach(function (element) {
|
|
221865
221865
|
element.addEventListener('mouseenter', handleEnterNode);
|
|
221866
221866
|
element.addEventListener('mouseleave', handleLeaveNode);
|
|
@@ -221878,7 +221878,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221878
221878
|
* Removes all the event listeners attached to breadcrumb nodes
|
|
221879
221879
|
*/
|
|
221880
221880
|
function removeBreadcrumbEventListeners() {
|
|
221881
|
-
var elements = document.querySelectorAll(".".concat(prefix$
|
|
221881
|
+
var elements = document.querySelectorAll(".".concat(prefix$u, "--breadcrumb-item"));
|
|
221882
221882
|
elements.forEach(function (element) {
|
|
221883
221883
|
element.removeEventListener('mouseenter', handleEnterNode);
|
|
221884
221884
|
element.removeEventListener('mouseleave', handleLeaveNode);
|
|
@@ -221928,7 +221928,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221928
221928
|
removeBreadcrumbEventListeners();
|
|
221929
221929
|
// removes style override of hyperlink on drop which was added on drag start
|
|
221930
221930
|
// istanbul ignore else
|
|
221931
|
-
if (activeDropRowIdRef.current && activeDropRowIdRef.current.children) activeDropRowIdRef.current.children[0].classList.remove("".concat(prefix$
|
|
221931
|
+
if (activeDropRowIdRef.current && activeDropRowIdRef.current.children) activeDropRowIdRef.current.children[0].classList.remove("".concat(prefix$u, "--row--on--link--dropping"));
|
|
221932
221932
|
}
|
|
221933
221933
|
window.removeEventListener('blur', cancel);
|
|
221934
221934
|
document.body.classList.remove("".concat(iotPrefix$1W, "--is-dragging"));
|
|
@@ -221975,7 +221975,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
221975
221975
|
|
|
221976
221976
|
// The table can scroll in it container. In that case, the row overlay should not span the
|
|
221977
221977
|
// entire row width, only as wide as the container.
|
|
221978
|
-
var scrollContainer = rowEl.closest(".".concat(prefix$
|
|
221978
|
+
var scrollContainer = rowEl.closest(".".concat(prefix$u, "--data-table-content"));
|
|
221979
221979
|
var contentRect = scrollContainer.getBoundingClientRect();
|
|
221980
221980
|
var rowRect = rowEl.getBoundingClientRect();
|
|
221981
221981
|
var style = {
|
|
@@ -223895,7 +223895,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
223895
223895
|
function ownKeys$1J(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
223896
223896
|
function _objectSpread$1H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1J(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
223897
223897
|
var iotPrefix$1S = settings.iotPrefix,
|
|
223898
|
-
prefix$
|
|
223898
|
+
prefix$t = settings.prefix;
|
|
223899
223899
|
var propTypes$1Y = {
|
|
223900
223900
|
columns: TableColumnsPropTypes.isRequired,
|
|
223901
223901
|
ordering: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -224138,7 +224138,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
224138
224138
|
});
|
|
224139
224139
|
}, []);
|
|
224140
224140
|
return /*#__PURE__*/React$1.createElement(ComposedModal$1, {
|
|
224141
|
-
selectorPrimaryFocus: ".".concat(prefix$
|
|
224141
|
+
selectorPrimaryFocus: ".".concat(prefix$t, "--modal-header"),
|
|
224142
224142
|
testId: testId,
|
|
224143
224143
|
className: "".concat(iotPrefix$1S, "--table-multi-sort-modal"),
|
|
224144
224144
|
header: {
|
|
@@ -226532,7 +226532,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
226532
226532
|
};
|
|
226533
226533
|
var Table$1 = Table;
|
|
226534
226534
|
|
|
226535
|
-
var prefix$
|
|
226535
|
+
var prefix$s = settings.prefix,
|
|
226536
226536
|
iotPrefix$1P = settings.iotPrefix;
|
|
226537
226537
|
var propTypes$1V = {
|
|
226538
226538
|
/** Disables the form elements when true */
|
|
@@ -226629,7 +226629,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
226629
226629
|
,
|
|
226630
226630
|
children: viewDescription
|
|
226631
226631
|
}, overrides === null || overrides === void 0 || (_overrides$viewDescri2 = overrides.viewDescriptionContainer) === null || _overrides$viewDescri2 === void 0 ? void 0 : _overrides$viewDescri2.props)), /*#__PURE__*/React$1.createElement("fieldset", {
|
|
226632
|
-
className: "".concat(prefix$
|
|
226632
|
+
className: "".concat(prefix$s, "--fieldset")
|
|
226633
226633
|
}, /*#__PURE__*/React$1.createElement(MyDefaultCheckbox, _extends$3({
|
|
226634
226634
|
name: "isDefault",
|
|
226635
226635
|
"data-testid": "".concat(testID, "-default-checkbox"),
|
|
@@ -236824,7 +236824,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
236824
236824
|
|
|
236825
236825
|
function _callSuper$2(t, o, e) { return o = _getPrototypeOf$2(o), _possibleConstructorReturn$2(t, _isNativeReflectConstruct$3() ? Reflect.construct(o, e || [], _getPrototypeOf$2(t).constructor) : o.apply(t, e)); }
|
|
236826
236826
|
function _isNativeReflectConstruct$3() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$3 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
236827
|
-
var prefix$
|
|
236827
|
+
var prefix$r = settings.prefix,
|
|
236828
236828
|
iotPrefix$1y = settings.iotPrefix;
|
|
236829
236829
|
var ResourceList = /*#__PURE__*/function (_Component) {
|
|
236830
236830
|
function ResourceList(props) {
|
|
@@ -236841,12 +236841,12 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
236841
236841
|
extraContent = _this$props.extraContent,
|
|
236842
236842
|
testId = _this$props.testId;
|
|
236843
236843
|
var checkboxCell = /*#__PURE__*/React$1.createElement("div", {
|
|
236844
|
-
className: "".concat(prefix$
|
|
236844
|
+
className: "".concat(prefix$r, "--structured-list-td"),
|
|
236845
236845
|
style: {
|
|
236846
236846
|
verticalAlign: 'middle'
|
|
236847
236847
|
}
|
|
236848
236848
|
}, /*#__PURE__*/React$1.createElement("svg", {
|
|
236849
|
-
className: "".concat(prefix$
|
|
236849
|
+
className: "".concat(prefix$r, "--structured-list-svg"),
|
|
236850
236850
|
width: "16",
|
|
236851
236851
|
height: "16",
|
|
236852
236852
|
viewBox: "0 0 16 16"
|
|
@@ -236857,7 +236857,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
236857
236857
|
var CustomActionContent = function CustomActionContent(_ref) {
|
|
236858
236858
|
var rowId = _ref.rowId;
|
|
236859
236859
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
236860
|
-
className: "".concat(prefix$
|
|
236860
|
+
className: "".concat(prefix$r, "--structured-list-td ").concat(prefix$r, "--structured-list-content--nowrap"),
|
|
236861
236861
|
role: "presentation"
|
|
236862
236862
|
}, /*#__PURE__*/React$1.createElement(Button$2, {
|
|
236863
236863
|
kind: "ghost",
|
|
@@ -236879,7 +236879,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
236879
236879
|
React$1.createElement("label", {
|
|
236880
236880
|
key: id,
|
|
236881
236881
|
"aria-label": title,
|
|
236882
|
-
className: "".concat(activeItem ? "".concat(prefix$
|
|
236882
|
+
className: "".concat(activeItem ? "".concat(prefix$r, "--structured-list-row--selected") : '', " ").concat(prefix$r, "--structured-list-row"),
|
|
236883
236883
|
tabIndex: customAction ? -1 : idx,
|
|
236884
236884
|
onClick: onRowClick ? function () {
|
|
236885
236885
|
return onRowClick(id);
|
|
@@ -236889,20 +236889,20 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
236889
236889
|
}) : undefined,
|
|
236890
236890
|
"data-testid": "".concat(testId, "-row-").concat(id)
|
|
236891
236891
|
}, extraContent ? /*#__PURE__*/React$1.createElement("div", {
|
|
236892
|
-
className: "".concat(prefix$
|
|
236892
|
+
className: "".concat(prefix$r, "--structured-list-td")
|
|
236893
236893
|
}, extraContent[idx]) : undefined, design === 'inline' ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
|
|
236894
|
-
className: "".concat(prefix$
|
|
236894
|
+
className: "".concat(prefix$r, "--structured-list-td")
|
|
236895
236895
|
}, /*#__PURE__*/React$1.createElement("strong", null, title), /*#__PURE__*/React$1.createElement("div", {
|
|
236896
|
-
className: "".concat(iotPrefix$1y, "--resource-list__inline-div ").concat(prefix$
|
|
236896
|
+
className: "".concat(iotPrefix$1y, "--resource-list__inline-div ").concat(prefix$r, "--structured-list-td")
|
|
236897
236897
|
}, description))) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
|
|
236898
|
-
className: "".concat(prefix$
|
|
236898
|
+
className: "".concat(prefix$r, "--structured-list-td ").concat(prefix$r, "--structured-list-content--nowrap")
|
|
236899
236899
|
}, /*#__PURE__*/React$1.createElement("strong", null, title)), /*#__PURE__*/React$1.createElement("div", {
|
|
236900
|
-
className: "".concat(prefix$
|
|
236900
|
+
className: "".concat(prefix$r, "--structured-list-td")
|
|
236901
236901
|
}, description)), customAction ? /*#__PURE__*/React$1.createElement(CustomActionContent, {
|
|
236902
236902
|
rowId: id
|
|
236903
236903
|
}) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("input", {
|
|
236904
236904
|
tabIndex: -1,
|
|
236905
|
-
className: "".concat(prefix$
|
|
236905
|
+
className: "".concat(prefix$r, "--structured-list-input"),
|
|
236906
236906
|
value: title,
|
|
236907
236907
|
type: "radio",
|
|
236908
236908
|
title: title,
|
|
@@ -236913,9 +236913,9 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
236913
236913
|
});
|
|
236914
236914
|
return /*#__PURE__*/React$1.createElement("section", {
|
|
236915
236915
|
"data-testid": testId,
|
|
236916
|
-
className: ["".concat(iotPrefix$1y, "--resource-list"), "".concat(prefix$
|
|
236916
|
+
className: ["".concat(iotPrefix$1y, "--resource-list"), "".concat(prefix$r, "--structured-list"), "".concat(prefix$r, "--structured-list--border"), "".concat(prefix$r, "--structured-list--selection")].join(' ')
|
|
236917
236917
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
236918
|
-
className: "".concat(prefix$
|
|
236918
|
+
className: "".concat(prefix$r, "--structured-list-tbody")
|
|
236919
236919
|
}, listContent));
|
|
236920
236920
|
});
|
|
236921
236921
|
_this.state = {};
|
|
@@ -237093,7 +237093,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
237093
237093
|
function _callSuper$1(t, o, e) { return o = _getPrototypeOf$2(o), _possibleConstructorReturn$2(t, _isNativeReflectConstruct$2() ? Reflect.construct(o, e || [], _getPrototypeOf$2(t).constructor) : o.apply(t, e)); }
|
|
237094
237094
|
function _isNativeReflectConstruct$2() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
237095
237095
|
var iotPrefix$1x = settings.iotPrefix,
|
|
237096
|
-
prefix$
|
|
237096
|
+
prefix$q = settings.prefix;
|
|
237097
237097
|
var FILE_TYPES = {
|
|
237098
237098
|
TEXT: 'TEXT',
|
|
237099
237099
|
BINARY: 'BINARY'
|
|
@@ -237325,20 +237325,20 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
237325
237325
|
className: "".concat(iotPrefix$1x, "--file-drop__link-button")
|
|
237326
237326
|
}, buttonLabel)), /*#__PURE__*/React$1.createElement("div", null, description));
|
|
237327
237327
|
var fileNameElements = /*#__PURE__*/React$1.createElement("div", {
|
|
237328
|
-
className: "".concat(prefix$
|
|
237328
|
+
className: "".concat(prefix$q, "--file-container")
|
|
237329
237329
|
}, _this.state.files.length === 0 ? null : _this.state.files.map(function (_ref2, index) {
|
|
237330
237330
|
var name = _ref2.name,
|
|
237331
237331
|
uploadState = _ref2.uploadState;
|
|
237332
237332
|
return /*#__PURE__*/React$1.createElement("span", {
|
|
237333
237333
|
key: "".concat(name, "-").concat(index),
|
|
237334
|
-
className: "".concat(prefix$
|
|
237334
|
+
className: "".concat(prefix$q, "--file__selected-file ").concat(iotPrefix$1x, "--file-drop__selected-file"),
|
|
237335
237335
|
ref: function ref(node) {
|
|
237336
237336
|
_this.nodes[index] = node;
|
|
237337
237337
|
}
|
|
237338
237338
|
}, /*#__PURE__*/React$1.createElement("p", {
|
|
237339
|
-
className: "".concat(prefix$
|
|
237339
|
+
className: "".concat(prefix$q, "--file-filename")
|
|
237340
237340
|
}, name), /*#__PURE__*/React$1.createElement("span", {
|
|
237341
|
-
className: "".concat(prefix$
|
|
237341
|
+
className: "".concat(prefix$q, "--file__state-container")
|
|
237342
237342
|
}, /*#__PURE__*/React$1.createElement(react.Filename, {
|
|
237343
237343
|
"data-testid": "".concat(testId, "-file-").concat(name),
|
|
237344
237344
|
status: uploadState,
|
|
@@ -237359,7 +237359,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
237359
237359
|
className: className
|
|
237360
237360
|
}, /*#__PURE__*/React$1.createElement("strong", {
|
|
237361
237361
|
"data-testid": "".concat(testId, "-title"),
|
|
237362
|
-
className: "".concat(prefix$
|
|
237362
|
+
className: "".concat(prefix$q, "--label")
|
|
237363
237363
|
}, title), /*#__PURE__*/React$1.createElement("input", {
|
|
237364
237364
|
style: {
|
|
237365
237365
|
visibility: 'hidden'
|
|
@@ -237387,13 +237387,13 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
237387
237387
|
}, linkElement), showFiles ? fileNameElements : null) : /*#__PURE__*/React$1.createElement("div", {
|
|
237388
237388
|
"data-testid": testId,
|
|
237389
237389
|
id: id,
|
|
237390
|
-
className: "".concat(prefix$
|
|
237390
|
+
className: "".concat(prefix$q, "--form-item")
|
|
237391
237391
|
}, title ? /*#__PURE__*/React$1.createElement("strong", {
|
|
237392
237392
|
"data-testid": "".concat(testId, "-title"),
|
|
237393
|
-
className: "".concat(prefix$
|
|
237393
|
+
className: "".concat(prefix$q, "--label")
|
|
237394
237394
|
}, title) : null, description ? /*#__PURE__*/React$1.createElement("p", {
|
|
237395
237395
|
"data-testid": "".concat(testId, "-description"),
|
|
237396
|
-
className: "".concat(prefix$
|
|
237396
|
+
className: "".concat(prefix$q, "--label-description")
|
|
237397
237397
|
}, description) : null, /*#__PURE__*/React$1.createElement(react.FileUploaderButton, {
|
|
237398
237398
|
labelText: buttonLabel,
|
|
237399
237399
|
multiple: multiple,
|
|
@@ -238526,7 +238526,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
238526
238526
|
var RadioButtonGroup = HierarchyReorderModalRadioGroup;
|
|
238527
238527
|
|
|
238528
238528
|
var iotPrefix$1u = settings.iotPrefix,
|
|
238529
|
-
prefix$
|
|
238529
|
+
prefix$p = settings.prefix;
|
|
238530
238530
|
var propTypes$1H = {
|
|
238531
238531
|
/** ListItems to be displayed */
|
|
238532
238532
|
items: PropTypes.arrayOf(PropTypes.any).isRequired,
|
|
@@ -238663,7 +238663,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
238663
238663
|
}, crumb === null || crumb === void 0 || (_crumb$content3 = crumb.content) === null || _crumb$content3 === void 0 ? void 0 : _crumb$content3.value));
|
|
238664
238664
|
})));
|
|
238665
238665
|
return /*#__PURE__*/React$1.createElement(ComposedModal$1, {
|
|
238666
|
-
selectorPrimaryFocus: ".".concat(prefix$
|
|
238666
|
+
selectorPrimaryFocus: ".".concat(prefix$p, "--modal-header"),
|
|
238667
238667
|
className: "".concat(iotPrefix$1u, "--hierarchy-list-bulk-modal"),
|
|
238668
238668
|
open: open,
|
|
238669
238669
|
header: {
|
|
@@ -257289,6 +257289,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
257289
257289
|
100: yellow100
|
|
257290
257290
|
};
|
|
257291
257291
|
var orange40 = '#ff832b';
|
|
257292
|
+
var orange50 = '#eb6200';
|
|
257292
257293
|
var red50 = '#fa4d56';
|
|
257293
257294
|
var red60 = '#da1e28';
|
|
257294
257295
|
var red90 = '#520408';
|
|
@@ -258003,7 +258004,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
258003
258004
|
function ownKeys$1u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
258004
258005
|
function _objectSpread$1s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1u(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
258005
258006
|
var iotPrefix$1q = settings.iotPrefix,
|
|
258006
|
-
prefix$
|
|
258007
|
+
prefix$o = settings.prefix;
|
|
258007
258008
|
|
|
258008
258009
|
/** check if current time is 24 hours
|
|
258009
258010
|
*
|
|
@@ -258580,7 +258581,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
258580
258581
|
// Composed path is needed in order to detect if event is bubbled from TimePickerSpinner which is a React Portal
|
|
258581
258582
|
if (evt.composed && evt.composedPath().some(function (el) {
|
|
258582
258583
|
var _el$classList, _el$classList2;
|
|
258583
|
-
return ((_el$classList = el.classList) === null || _el$classList === void 0 ? void 0 : _el$classList.contains("".concat(iotPrefix$1q, "--time-picker-spinner"))) || ((_el$classList2 = el.classList) === null || _el$classList2 === void 0 ? void 0 : _el$classList2.contains("".concat(prefix$
|
|
258584
|
+
return ((_el$classList = el.classList) === null || _el$classList === void 0 ? void 0 : _el$classList.contains("".concat(iotPrefix$1q, "--time-picker-spinner"))) || ((_el$classList2 = el.classList) === null || _el$classList2 === void 0 ? void 0 : _el$classList2.contains("".concat(prefix$o, "--date-picker__calendar")));
|
|
258584
258585
|
})) {
|
|
258585
258586
|
return;
|
|
258586
258587
|
}
|
|
@@ -258775,7 +258776,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
258775
258776
|
function ownKeys$1t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
258776
258777
|
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1t(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
258777
258778
|
var iotPrefix$1p = settings.iotPrefix,
|
|
258778
|
-
prefix$
|
|
258779
|
+
prefix$n = settings.prefix;
|
|
258779
258780
|
var DateTimePickerDefaultValuePropTypes$1 = PropTypes.oneOfType([PropTypes.exact({
|
|
258780
258781
|
timeRangeKind: PropTypes.oneOf([PICKER_KINDS$1.PRESET]).isRequired,
|
|
258781
258782
|
timeRangeValue: PropTypes.exact({
|
|
@@ -259582,7 +259583,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
259582
259583
|
}),
|
|
259583
259584
|
tabIndex: 0
|
|
259584
259585
|
}, tooltipField), invalidState && !hasIconOnly ? /*#__PURE__*/React$1.createElement("p", {
|
|
259585
|
-
className: classnames("".concat(prefix$
|
|
259586
|
+
className: classnames("".concat(prefix$n, "--form__helper-text"), "".concat(iotPrefix$1p, "--date-time-picker__helper-text--invalid"))
|
|
259586
259587
|
}, mergedI18n.invalidText) : null);
|
|
259587
259588
|
};
|
|
259588
259589
|
DateTimePicker$5.propTypes = propTypes$1E;
|
|
@@ -264204,11 +264205,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264204
264205
|
function ownKeys$1p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
264205
264206
|
function _objectSpread$1n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1p(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
264206
264207
|
var iotPrefix$1m = settings.iotPrefix,
|
|
264207
|
-
prefix$
|
|
264208
|
+
prefix$m = settings.prefix;
|
|
264208
264209
|
var ToolbarSVGWrapper = function ToolbarSVGWrapper(props) {
|
|
264209
264210
|
return /*#__PURE__*/React$1.createElement(Button$2, _extends$3({
|
|
264210
264211
|
kind: "ghost",
|
|
264211
|
-
className: classnames("".concat(iotPrefix$1m, "--card--toolbar-action"), "".concat(iotPrefix$1m, "--card--toolbar-svg-wrapper"), "".concat(prefix$
|
|
264212
|
+
className: classnames("".concat(iotPrefix$1m, "--card--toolbar-action"), "".concat(iotPrefix$1m, "--card--toolbar-svg-wrapper"), "".concat(prefix$m, "--btn--icon-only") // can't actually use the hasIconOnly prop because we don't want the tooltip
|
|
264212
264213
|
)
|
|
264213
264214
|
}, props, {
|
|
264214
264215
|
size: "sm"
|
|
@@ -264427,7 +264428,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264427
264428
|
renderInPortal: renderDateDropdownInPortal,
|
|
264428
264429
|
useAutoPositioning: true,
|
|
264429
264430
|
buttonProps: {
|
|
264430
|
-
className: classnames("".concat(iotPrefix$1m, "--card--toolbar-action"), "".concat(iotPrefix$1m, "--card--toolbar-svg-wrapper"), "".concat(prefix$
|
|
264431
|
+
className: classnames("".concat(iotPrefix$1m, "--card--toolbar-action"), "".concat(iotPrefix$1m, "--card--toolbar-svg-wrapper"), "".concat(prefix$m, "--btn--icon-only"))
|
|
264431
264432
|
}
|
|
264432
264433
|
})) : null, availableActions.settings ? /*#__PURE__*/React$1.createElement(ToolbarSVGWrapper, {
|
|
264433
264434
|
title: mergedI18n.settingsLabel,
|
|
@@ -264923,7 +264924,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264923
264924
|
_excluded2$4 = ["size", "children", "title", "subtitle", "hasTitleWrap", "layout", "isLoading", "isEmpty", "isEditable", "isExpanded", "isLazyLoading", "isResizable", "resizeHandles", "error", "hideHeader", "id", "tooltip", "titleTextTooltip", "timeRange", "timeRangeOptions", "onCardAction", "availableActions", "renderExpandIcon", "renderDateDropdownInPortal", "breakpoint", "i18n", "style", "className", "values", "testID", "testId", "contentClassName", "footerContent", "dateTimeMask", "extraActions", "padding", "overrides", "type", "data", "content"];
|
|
264924
264925
|
function ownKeys$1o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
264925
264926
|
function _objectSpread$1m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1o(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
264926
|
-
var prefix$
|
|
264927
|
+
var prefix$l = settings.prefix,
|
|
264927
264928
|
iotPrefix$1k = settings.iotPrefix;
|
|
264928
264929
|
var OptimizedSkeletonText = /*#__PURE__*/React$1.memo(react.SkeletonText);
|
|
264929
264930
|
|
|
@@ -265382,7 +265383,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
265382
265383
|
return isExpanded ? /*#__PURE__*/React$1.createElement("div", {
|
|
265383
265384
|
"data-floating-menu-container": true // needed to place overflow floating menus within the modal so we can control them through css
|
|
265384
265385
|
,
|
|
265385
|
-
className: "".concat(prefix$
|
|
265386
|
+
className: "".concat(prefix$l, "--modal is-visible")
|
|
265386
265387
|
}, card) : card;
|
|
265387
265388
|
};
|
|
265388
265389
|
Card.propTypes = CardPropTypes;
|
|
@@ -267357,7 +267358,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267357
267358
|
};
|
|
267358
267359
|
var BarChartCard$1 = BarChartCard;
|
|
267359
267360
|
|
|
267360
|
-
var prefix$
|
|
267361
|
+
var prefix$k = settings.prefix;
|
|
267361
267362
|
var propTypes$1A = {
|
|
267362
267363
|
/** current page number */
|
|
267363
267364
|
page: PropTypes.number.isRequired,
|
|
@@ -267401,21 +267402,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267401
267402
|
onClick: function onClick() {
|
|
267402
267403
|
return _onChange(pageNumber);
|
|
267403
267404
|
},
|
|
267404
|
-
className: classnames("".concat(prefix$
|
|
267405
|
+
className: classnames("".concat(prefix$k, "--pagination-nav__page"), _defineProperty$c(_defineProperty$c({}, "".concat(prefix$k, "--pagination-nav__page--active"), page === pageNumber), "".concat(prefix$k, "--pagination-nav__page--disabled"), page === pageNumber)),
|
|
267405
267406
|
"aria-current": i18n.ariaLabelPage,
|
|
267406
267407
|
"aria-disabled": page === pageNumber,
|
|
267407
267408
|
"data-testid": "".concat(testId, "-page-").concat(pageNumber, "-button")
|
|
267408
267409
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
267409
|
-
className: "".concat(prefix$
|
|
267410
|
+
className: "".concat(prefix$k, "--pagination-nav__accessibility-label")
|
|
267410
267411
|
}, i18n.ariaLabelPage), pageNumber);
|
|
267411
267412
|
};
|
|
267412
267413
|
var getPageSelect = function getPageSelect(pageNumber, accumulator) {
|
|
267413
267414
|
return /*#__PURE__*/React$1.createElement("li", {
|
|
267414
|
-
className: "".concat(prefix$
|
|
267415
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267415
267416
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
267416
|
-
className: "".concat(prefix$
|
|
267417
|
+
className: "".concat(prefix$k, "--pagination-nav__select")
|
|
267417
267418
|
}, /*#__PURE__*/React$1.createElement("select", {
|
|
267418
|
-
className: "".concat(prefix$
|
|
267419
|
+
className: "".concat(prefix$k, "--pagination-nav__page ").concat(prefix$k, "--pagination-nav__page--select"),
|
|
267419
267420
|
"data-page-select": true,
|
|
267420
267421
|
value: selectedValue,
|
|
267421
267422
|
"aria-label": i18n.ariaLabelSelect,
|
|
@@ -267437,12 +267438,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267437
267438
|
"data-page": i + accumulator
|
|
267438
267439
|
}, i + accumulator);
|
|
267439
267440
|
})), /*#__PURE__*/React$1.createElement("div", {
|
|
267440
|
-
className: "".concat(prefix$
|
|
267441
|
+
className: "".concat(prefix$k, "--pagination-nav__select-icon-wrapper")
|
|
267441
267442
|
}, /*#__PURE__*/React$1.createElement("svg", {
|
|
267442
267443
|
focusable: "false",
|
|
267443
267444
|
preserveAspectRatio: "xMidYMid meet",
|
|
267444
267445
|
xmlns: "http://www.w3.org/2000/svg",
|
|
267445
|
-
className: "".concat(prefix$
|
|
267446
|
+
className: "".concat(prefix$k, "--pagination-nav__select-icon"),
|
|
267446
267447
|
width: "16",
|
|
267447
267448
|
height: "16",
|
|
267448
267449
|
viewBox: "0 0 32 32",
|
|
@@ -267481,7 +267482,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267481
267482
|
}, function (v, i) {
|
|
267482
267483
|
return /*#__PURE__*/React$1.createElement("li", {
|
|
267483
267484
|
key: "TilePagination-page-number-button-".concat(i + 2),
|
|
267484
|
-
className: "".concat(prefix$
|
|
267485
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267485
267486
|
}, getPageButton(i + 2));
|
|
267486
267487
|
});
|
|
267487
267488
|
}
|
|
@@ -267491,35 +267492,35 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267491
267492
|
}, function (v, i) {
|
|
267492
267493
|
return /*#__PURE__*/React$1.createElement("li", {
|
|
267493
267494
|
key: "TilePagination-page-number-button-".concat(i + 2),
|
|
267494
|
-
className: "".concat(prefix$
|
|
267495
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267495
267496
|
}, getPageButton(i + 2));
|
|
267496
267497
|
});
|
|
267497
267498
|
}
|
|
267498
267499
|
if (showFrontOverFlowMenu && showBackOverFlowMenu) {
|
|
267499
267500
|
buttons = [/*#__PURE__*/React$1.createElement("li", {
|
|
267500
267501
|
key: "TilePagination-page-number-button-".concat(page - 1),
|
|
267501
|
-
className: "".concat(prefix$
|
|
267502
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267502
267503
|
}, getPageButton(page - 1)), /*#__PURE__*/React$1.createElement("li", {
|
|
267503
267504
|
key: "TilePagination-page-number-button-".concat(page),
|
|
267504
|
-
className: "".concat(prefix$
|
|
267505
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267505
267506
|
}, getPageButton(page)), /*#__PURE__*/React$1.createElement("li", {
|
|
267506
267507
|
key: "TilePagination-page-number-button-".concat(page + 1),
|
|
267507
|
-
className: "".concat(prefix$
|
|
267508
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267508
267509
|
}, getPageButton(page + 1))];
|
|
267509
267510
|
}
|
|
267510
267511
|
if (showFrontOverFlowMenu && !showBackOverFlowMenu) {
|
|
267511
267512
|
buttons = [/*#__PURE__*/React$1.createElement("li", {
|
|
267512
267513
|
key: "TilePagination-page-number-button-".concat(numPages - 4),
|
|
267513
|
-
className: "".concat(prefix$
|
|
267514
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267514
267515
|
}, getPageButton(numPages - 4)), /*#__PURE__*/React$1.createElement("li", {
|
|
267515
267516
|
key: "TilePagination-page-number-button-".concat(numPages - 3),
|
|
267516
|
-
className: "".concat(prefix$
|
|
267517
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267517
267518
|
}, getPageButton(numPages - 3)), /*#__PURE__*/React$1.createElement("li", {
|
|
267518
267519
|
key: "TilePagination-page-number-button-".concat(numPages - 2),
|
|
267519
|
-
className: "".concat(prefix$
|
|
267520
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267520
267521
|
}, getPageButton(numPages - 2)), /*#__PURE__*/React$1.createElement("li", {
|
|
267521
267522
|
key: "TilePagination-page-number-button-".concat(numPages - 1),
|
|
267522
|
-
className: "".concat(prefix$
|
|
267523
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267523
267524
|
}, getPageButton(numPages - 1))];
|
|
267524
267525
|
}
|
|
267525
267526
|
return buttons;
|
|
@@ -267531,22 +267532,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267531
267532
|
return showFrontOverFlowMenu ? getPageSelect(numPages - page - 2, page + 2) : getPageSelect(numPages - 6, 6);
|
|
267532
267533
|
};
|
|
267533
267534
|
return /*#__PURE__*/React$1.createElement("nav", {
|
|
267534
|
-
className: "".concat(prefix$
|
|
267535
|
+
className: "".concat(prefix$k, "--pagination-nav"),
|
|
267535
267536
|
"aria-label": i18n.ariaLabelPagination
|
|
267536
267537
|
}, /*#__PURE__*/React$1.createElement("ul", {
|
|
267537
|
-
className: "".concat(prefix$
|
|
267538
|
+
className: "".concat(prefix$k, "--pagination-nav__list")
|
|
267538
267539
|
}, /*#__PURE__*/React$1.createElement("li", {
|
|
267539
|
-
className: "".concat(prefix$
|
|
267540
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267540
267541
|
}, /*#__PURE__*/React$1.createElement("button", {
|
|
267541
267542
|
type: "button",
|
|
267542
267543
|
onClick: function onClick() {
|
|
267543
267544
|
return page > 1 && _onChange(page - 1);
|
|
267544
267545
|
},
|
|
267545
|
-
className: classnames("".concat(prefix$
|
|
267546
|
+
className: classnames("".concat(prefix$k, "--pagination-nav__page"), "".concat(prefix$k, "--pagination-nav__page--direction"), _defineProperty$c({}, "".concat(prefix$k, "--pagination-nav__page--disabled"), page === 1)),
|
|
267546
267547
|
"aria-disabled": "true",
|
|
267547
267548
|
"data-testid": "".concat(testId, "-backward-button")
|
|
267548
267549
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
267549
|
-
className: "".concat(prefix$
|
|
267550
|
+
className: "".concat(prefix$k, "--pagination-nav__accessibility-label")
|
|
267550
267551
|
}, i18n.ariaLabelPreviousPage), /*#__PURE__*/React$1.createElement("svg", {
|
|
267551
267552
|
focusable: "false",
|
|
267552
267553
|
preserveAspectRatio: "xMidYMid meet",
|
|
@@ -267554,7 +267555,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267554
267555
|
willChange: 'transform'
|
|
267555
267556
|
},
|
|
267556
267557
|
xmlns: "http://www.w3.org/2000/svg",
|
|
267557
|
-
className: "".concat(prefix$
|
|
267558
|
+
className: "".concat(prefix$k, "--pagination-nav__icon"),
|
|
267558
267559
|
width: "5",
|
|
267559
267560
|
height: "8",
|
|
267560
267561
|
viewBox: "0 0 5 8",
|
|
@@ -267562,20 +267563,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267562
267563
|
}, /*#__PURE__*/React$1.createElement("path", {
|
|
267563
267564
|
d: "M5 8L0 4 5 0z"
|
|
267564
267565
|
})))), /*#__PURE__*/React$1.createElement("li", {
|
|
267565
|
-
className: "".concat(prefix$
|
|
267566
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267566
267567
|
}, getPageButton(1)), showFrontOverFlowMenu ? getFrontOverFlowMenu() : null, getPageNumberButtons(), showBackOverFlowMenu ? getBackOverFlowMenu() : null, numPages > 1 ? /*#__PURE__*/React$1.createElement("li", {
|
|
267567
|
-
className: "".concat(prefix$
|
|
267568
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267568
267569
|
}, getPageButton(numPages)) : null, /*#__PURE__*/React$1.createElement("li", {
|
|
267569
|
-
className: "".concat(prefix$
|
|
267570
|
+
className: "".concat(prefix$k, "--pagination-nav__list-item")
|
|
267570
267571
|
}, /*#__PURE__*/React$1.createElement("button", {
|
|
267571
267572
|
type: "button",
|
|
267572
267573
|
onClick: function onClick() {
|
|
267573
267574
|
return page < numPages && _onChange(page + 1);
|
|
267574
267575
|
},
|
|
267575
|
-
className: classnames("".concat(prefix$
|
|
267576
|
+
className: classnames("".concat(prefix$k, "--pagination-nav__page"), "".concat(prefix$k, "--pagination-nav__page--direction"), _defineProperty$c({}, "".concat(prefix$k, "--pagination-nav__page--disabled"), page === numPages)),
|
|
267576
267577
|
"data-testid": "".concat(testId, "-foreward-button")
|
|
267577
267578
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
267578
|
-
className: "".concat(prefix$
|
|
267579
|
+
className: "".concat(prefix$k, "--pagination-nav__accessibility-label")
|
|
267579
267580
|
}, i18n.ariaLabelNextPage), /*#__PURE__*/React$1.createElement("svg", {
|
|
267580
267581
|
focusable: "false",
|
|
267581
267582
|
preserveAspectRatio: "xMidYMid meet",
|
|
@@ -267583,7 +267584,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267583
267584
|
willChange: 'transform'
|
|
267584
267585
|
},
|
|
267585
267586
|
xmlns: "http://www.w3.org/2000/svg",
|
|
267586
|
-
className: "".concat(prefix$
|
|
267587
|
+
className: "".concat(prefix$k, "--pagination-nav__icon"),
|
|
267587
267588
|
width: "5",
|
|
267588
267589
|
height: "8",
|
|
267589
267590
|
viewBox: "0 0 5 8",
|
|
@@ -268572,7 +268573,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
268572
268573
|
function ownKeys$1k(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
268573
268574
|
function _objectSpread$1i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1k(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
268574
268575
|
var iotPrefix$1g = settings.iotPrefix,
|
|
268575
|
-
prefix$
|
|
268576
|
+
prefix$j = settings.prefix;
|
|
268576
268577
|
var TIME_FORMAT = {
|
|
268577
268578
|
12: 'hh:mm A',
|
|
268578
268579
|
24: 'HH:mm'
|
|
@@ -268913,10 +268914,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
268913
268914
|
focusable: false
|
|
268914
268915
|
}))), /*#__PURE__*/React$1.createElement("p", {
|
|
268915
268916
|
"data-testid": "".concat(testId, "-helpertext"),
|
|
268916
|
-
className: classnames("".concat(prefix$
|
|
268917
|
+
className: classnames("".concat(prefix$j, "--form__helper-text"), _defineProperty$c(_defineProperty$c(_defineProperty$c({}, "".concat(iotPrefix$1g, "--time-picker__helper-text"), invalidState), "".concat(prefix$j, "--form__helper-text--disabled"), disabled), "".concat(iotPrefix$1g, "--time-picker--invalid"), inputState.state === 'invalid'))
|
|
268917
268918
|
}, !readOnly && invalidState ? invalidText : !readOnly && warnProp ? warnText : helperText)) : /*#__PURE__*/React$1.createElement("fieldset", null, hideSecondaryLabel && !hideLabel ? /*#__PURE__*/React$1.createElement("legend", {
|
|
268918
268919
|
id: "".concat(id, "-label"),
|
|
268919
|
-
className: classnames("".concat(prefix$
|
|
268920
|
+
className: classnames("".concat(prefix$j, "--label"), _defineProperty$c({}, "".concat(prefix$j, "--label--disabled"), disabled))
|
|
268920
268921
|
}, labelText) : null, /*#__PURE__*/React$1.createElement("div", {
|
|
268921
268922
|
className: classnames("".concat(iotPrefix$1g, "--time-picker__wrapper ").concat(iotPrefix$1g, "--time-picker__wrapper-").concat(size), _defineProperty$c(_defineProperty$c({}, "".concat(iotPrefix$1g, "--time-picker__wrapper--selected"), focusedInput === 0 && openState), "".concat(iotPrefix$1g, "--time-picker--invalid"), inputState.state === 'invalid'))
|
|
268922
268923
|
}, /*#__PURE__*/React$1.createElement(react.TextInput, {
|
|
@@ -268977,10 +268978,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
268977
268978
|
focusable: false
|
|
268978
268979
|
}))), /*#__PURE__*/React$1.createElement("p", {
|
|
268979
268980
|
"data-testid": "".concat(testId, "-range__helper-text"),
|
|
268980
|
-
className: classnames("".concat(prefix$
|
|
268981
|
+
className: classnames("".concat(prefix$j, "--form__helper-text"), "".concat(iotPrefix$1g, "--time-picker-range__helper-text"), _defineProperty$c(_defineProperty$c({}, "".concat(prefix$j, "--form__helper-text--disabled"), disabled), "".concat(iotPrefix$1g, "--time-picker--invalid"), inputState.state === 'invalid'))
|
|
268981
268982
|
}, inputState.text), /*#__PURE__*/React$1.createElement("p", {
|
|
268982
268983
|
"data-testid": "".concat(testId, "-range__helper-text--secondary"),
|
|
268983
|
-
className: classnames("".concat(prefix$
|
|
268984
|
+
className: classnames("".concat(prefix$j, "--form__helper-text"), "".concat(iotPrefix$1g, "--time-picker-range__helper-text--secondary"), _defineProperty$c(_defineProperty$c({}, "".concat(prefix$j, "--form__helper-text--disabled"), disabled), "".concat(iotPrefix$1g, "--time-picker--invalid"), inputState.secondaryState === 'invalid'))
|
|
268984
268985
|
}, inputState.secondaryText)), openState ? /*#__PURE__*/React$1.createElement(TimePickerSpinner, {
|
|
268985
268986
|
onChange: handleOnChange,
|
|
268986
268987
|
focusedInput: focusedInput,
|
|
@@ -269570,7 +269571,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
269570
269571
|
function ownKeys$1j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
269571
269572
|
function _objectSpread$1h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1j(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
269572
269573
|
var iotPrefix$1f = settings.iotPrefix,
|
|
269573
|
-
prefix$
|
|
269574
|
+
prefix$i = settings.prefix;
|
|
269574
269575
|
var PICKER_KINDS = {
|
|
269575
269576
|
PRESET: 'PRESET',
|
|
269576
269577
|
RELATIVE: 'RELATIVE',
|
|
@@ -270314,7 +270315,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
270314
270315
|
showIcon: false,
|
|
270315
270316
|
className: classnames(_defineProperty$c({}, "".concat(iotPrefix$1f, "--date-time-picker--hide-tooltip"), isExpanded))
|
|
270316
270317
|
}, tooltipValue), invalidState ? /*#__PURE__*/React$1.createElement("p", {
|
|
270317
|
-
className: classnames("".concat(prefix$
|
|
270318
|
+
className: classnames("".concat(prefix$i, "--form__helper-text"), "".concat(iotPrefix$1f, "--date-time-picker__helper-text--invalid"))
|
|
270318
270319
|
}, mergedI18n.invalidText) : null)
|
|
270319
270320
|
);
|
|
270320
270321
|
};
|
|
@@ -270977,7 +270978,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
270977
270978
|
function ownKeys$1i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
270978
270979
|
function _objectSpread$1g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1i(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
270979
270980
|
var iotPrefix$1e = settings.iotPrefix,
|
|
270980
|
-
prefix$
|
|
270981
|
+
prefix$h = settings.prefix;
|
|
270981
270982
|
var DateTimePickerDefaultValuePropTypes = PropTypes.oneOfType([PropTypes.exact({
|
|
270982
270983
|
timeRangeKind: PropTypes.oneOf([PICKER_KINDS$1.PRESET]).isRequired,
|
|
270983
270984
|
timeRangeValue: PropTypes.exact({
|
|
@@ -272103,7 +272104,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272103
272104
|
}),
|
|
272104
272105
|
tabIndex: 0
|
|
272105
272106
|
}, tooltipField), invalidState && !hasIconOnly ? /*#__PURE__*/React$1.createElement("p", {
|
|
272106
|
-
className: classnames("".concat(prefix$
|
|
272107
|
+
className: classnames("".concat(prefix$h, "--form__helper-text"), "".concat(iotPrefix$1e, "--date-time-picker__helper-text--invalid"))
|
|
272107
272108
|
}, mergedI18n.invalidText) : null);
|
|
272108
272109
|
};
|
|
272109
272110
|
DateTimePicker$2.propTypes = propTypes$1v;
|
|
@@ -273218,7 +273219,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
273218
273219
|
|
|
273219
273220
|
var _excluded$A = ["id", "columnCount", "selectedItem", "items", "dropdownId", "disabled", "direction", "onChange", "translateWithId", "testId"];
|
|
273220
273221
|
var iotPrefix$1b = settings.iotPrefix,
|
|
273221
|
-
prefix$
|
|
273222
|
+
prefix$g = settings.prefix;
|
|
273222
273223
|
var itemShape = PropTypes.shape({
|
|
273223
273224
|
id: PropTypes.string.isRequired,
|
|
273224
273225
|
text: PropTypes.string.isRequired,
|
|
@@ -273353,10 +273354,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
273353
273354
|
var _menuOption$offsetWid;
|
|
273354
273355
|
// Takes measurements of the dropdown and text that renders beneath this - used to position the footer
|
|
273355
273356
|
// const dropdown = document.getElementById(id);
|
|
273356
|
-
var helperText = dropdownRef.current.getElementsByClassName("".concat(prefix$
|
|
273357
|
-
var validationText = dropdownRef.current.getElementsByClassName("".concat(prefix$
|
|
273358
|
-
var menuOption = dropdownRef.current.getElementsByClassName("".concat(prefix$
|
|
273359
|
-
var dropdownLabel = dropdownRef.current.getElementsByClassName("".concat(prefix$
|
|
273357
|
+
var helperText = dropdownRef.current.getElementsByClassName("".concat(prefix$g, "--form__helper-text"))[0];
|
|
273358
|
+
var validationText = dropdownRef.current.getElementsByClassName("".concat(prefix$g, "--form-requirement"))[0];
|
|
273359
|
+
var menuOption = dropdownRef.current.getElementsByClassName("".concat(prefix$g, "--list-box__menu-item"))[0];
|
|
273360
|
+
var dropdownLabel = dropdownRef.current.getElementsByClassName("".concat(prefix$g, "--list-box__field"))[0];
|
|
273360
273361
|
var helperTextHeight = helperText !== undefined ? helperText.clientHeight + defaultHelperPadding : 0;
|
|
273361
273362
|
var validationTextHeight = validationText !== undefined ? validationText.clientHeight + defaultHelperPadding : 0;
|
|
273362
273363
|
var labelHeight = dropdownLabel !== undefined ? dropdownLabel.clientHeight : 0;
|
|
@@ -273658,7 +273659,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
273658
273659
|
var IconDropdown$1 = IconDropdown;
|
|
273659
273660
|
|
|
273660
273661
|
var _excluded$z = ["className", "index", "name", "renderIcon", "onClick", "onKeyDown", "selected", "size", "text", "testId", "children", "disabled"];
|
|
273661
|
-
var prefix$
|
|
273662
|
+
var prefix$f = settings.prefix,
|
|
273662
273663
|
iotPrefix$1a = settings.iotPrefix;
|
|
273663
273664
|
var ICON_SWITCH_SIZES = {
|
|
273664
273665
|
small: 'sm',
|
|
@@ -273697,10 +273698,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
273697
273698
|
});
|
|
273698
273699
|
}
|
|
273699
273700
|
};
|
|
273700
|
-
var classes = classnames(className, "".concat(prefix$
|
|
273701
|
-
"".concat(iotPrefix$1a, "--icon-switch"), _defineProperty$c({}, "".concat(prefix$
|
|
273702
|
-
var iconButtonClasses = classnames("".concat(prefix$
|
|
273703
|
-
_defineProperty$c(_defineProperty$c({}, "".concat(prefix$
|
|
273701
|
+
var classes = classnames(className, "".concat(prefix$f, "--content-switcher-btn"), // Class from carbon
|
|
273702
|
+
"".concat(iotPrefix$1a, "--icon-switch"), _defineProperty$c({}, "".concat(prefix$f, "--content-switcher--selected"), selected));
|
|
273703
|
+
var iconButtonClasses = classnames("".concat(prefix$f, "--content-switcher-popover__wrapper"), // Class from carbon
|
|
273704
|
+
_defineProperty$c(_defineProperty$c({}, "".concat(prefix$f, "--content-switcher-popover--selected"), selected), "".concat(prefix$f, "--content-switcher-popover--disabled"), disabled));
|
|
273704
273705
|
var commonProps = {
|
|
273705
273706
|
onClick: handleClick,
|
|
273706
273707
|
onKeyDown: handleKeyDown,
|
|
@@ -274120,7 +274121,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
274120
274121
|
var GRID = 'grid';
|
|
274121
274122
|
var LIST = 'list';
|
|
274122
274123
|
var iotPrefix$18 = settings.iotPrefix,
|
|
274123
|
-
prefix$
|
|
274124
|
+
prefix$e = settings.prefix;
|
|
274124
274125
|
var ImagePropTypes = PropTypes.arrayOf(PropTypes.shape({
|
|
274125
274126
|
id: PropTypes.string.isRequired,
|
|
274126
274127
|
src: PropTypes.string.isRequired,
|
|
@@ -274277,7 +274278,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
274277
274278
|
onRequestSubmit: handleDelete,
|
|
274278
274279
|
"data-testid": "".concat(testId, "-warning-modal")
|
|
274279
274280
|
}) : null, /*#__PURE__*/React$1.createElement(ComposedModal$1, _extends$3({
|
|
274280
|
-
selectorPrimaryFocus: ".".concat(prefix$
|
|
274281
|
+
selectorPrimaryFocus: ".".concat(prefix$e, "--modal-header"),
|
|
274281
274282
|
type: "normal",
|
|
274282
274283
|
className: classnames(className, baseClass),
|
|
274283
274284
|
footer: _objectSpread$1e({
|
|
@@ -274751,11 +274752,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
274751
274752
|
var _excluded$x = ["tabs", "hero", "actions", "onSelectionChange", "workArea", "testId"],
|
|
274752
274753
|
_excluded2$3 = ["children", "id", "label"],
|
|
274753
274754
|
_excluded3 = ["id"];
|
|
274754
|
-
var prefix$
|
|
274755
|
+
var prefix$d = settings.prefix;
|
|
274755
274756
|
var StyledNavigationContainer = styledComponents.styled.div.withConfig({
|
|
274756
274757
|
displayName: "NavigationBar__StyledNavigationContainer",
|
|
274757
274758
|
componentId: "sc-bw68kq-0"
|
|
274758
|
-
})(["position:relative;background-color:", ";padding-top:", ";div[role='tablist']{padding-left:", ";padding-right:", ";align-items:center;height:100%;block-size:auto;button.cds--tabs__nav-item{width:10rem;height:100%;align-items:flex-end;@media (min-width:42em){a.", "--tabs__nav-link{height:100%;}}}margin-left:0rem;}@media (min-width:42em){padding-top:0;nav::after{background:", ";content:'';height:1px;left:0;position:absolute;bottom:-1px;width:100%;}}"], COLORS.white, spacing09$1, PADDING.horizontalWrapPadding, PADDING.horizontalWrapPadding, prefix$
|
|
274759
|
+
})(["position:relative;background-color:", ";padding-top:", ";div[role='tablist']{padding-left:", ";padding-right:", ";align-items:center;height:100%;block-size:auto;button.cds--tabs__nav-item{width:10rem;height:100%;align-items:flex-end;@media (min-width:42em){a.", "--tabs__nav-link{height:100%;}}}margin-left:0rem;}@media (min-width:42em){padding-top:0;nav::after{background:", ";content:'';height:1px;left:0;position:absolute;bottom:-1px;width:100%;}}"], COLORS.white, spacing09$1, PADDING.horizontalWrapPadding, PADDING.horizontalWrapPadding, prefix$d, COLORS.lightGrey);
|
|
274759
274760
|
var StyledOverlay = styledComponents.styled.div.withConfig({
|
|
274760
274761
|
displayName: "NavigationBar__StyledOverlay",
|
|
274761
274762
|
componentId: "sc-bw68kq-1"
|
|
@@ -274763,7 +274764,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
274763
274764
|
var StyledTabToContent = styledComponents.styled.div.withConfig({
|
|
274764
274765
|
displayName: "NavigationBar__StyledTabToContent",
|
|
274765
274766
|
componentId: "sc-bw68kq-2"
|
|
274766
|
-
})(["display:flex;flex-flow:column nowrap;width:100%;.", "--tabs-trigger{background-color:", ";}"], prefix$
|
|
274767
|
+
})(["display:flex;flex-flow:column nowrap;width:100%;.", "--tabs-trigger{background-color:", ";}"], prefix$d, COLORS.white);
|
|
274767
274768
|
var StyledTabContent = styledComponents.styled.div.withConfig({
|
|
274768
274769
|
displayName: "NavigationBar__StyledTabContent",
|
|
274769
274770
|
componentId: "sc-bw68kq-3"
|
|
@@ -275051,13 +275052,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275051
275052
|
function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
275052
275053
|
|
|
275053
275054
|
// const { prefix } = settings; carbon 11
|
|
275054
|
-
var prefix$
|
|
275055
|
+
var prefix$c = 'cds';
|
|
275055
275056
|
// eslint-disable-next-line react/prop-types
|
|
275056
275057
|
var defaultRenderMenuContent = function defaultRenderMenuContent(_ref) {
|
|
275057
275058
|
var ariaLabel = _ref.ariaLabel;
|
|
275058
275059
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, ariaLabel, /*#__PURE__*/React$1.createElement(iconsReact.ChevronDown, {
|
|
275059
275060
|
size: 32,
|
|
275060
|
-
className: "".concat(prefix$
|
|
275061
|
+
className: "".concat(prefix$c, "--header__menu-arrow")
|
|
275061
275062
|
}));
|
|
275062
275063
|
};
|
|
275063
275064
|
|
|
@@ -275154,7 +275155,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275154
275155
|
'aria-label': ariaLabel,
|
|
275155
275156
|
'aria-labelledby': ariaLabelledBy
|
|
275156
275157
|
};
|
|
275157
|
-
var className = classnames("".concat(prefix$
|
|
275158
|
+
var className = classnames("".concat(prefix$c, "--header__submenu"), customClassName);
|
|
275158
275159
|
|
|
275159
275160
|
// Notes on eslint comments and based on the examples in:
|
|
275160
275161
|
// https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html#
|
|
@@ -275175,7 +275176,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275175
275176
|
tooltipPosition: "bottom",
|
|
275176
275177
|
"aria-haspopup": "menu",
|
|
275177
275178
|
"aria-expanded": isExpanded,
|
|
275178
|
-
className: classnames("".concat(prefix$
|
|
275179
|
+
className: classnames("".concat(prefix$c, "--header__menu-item"), "".concat(prefix$c, "--header__menu-title")),
|
|
275179
275180
|
onClick: onToggleExpansion,
|
|
275180
275181
|
ref: focusRef,
|
|
275181
275182
|
testId: "menuitem",
|
|
@@ -275185,7 +275186,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275185
275186
|
ariaLabel: ariaLabel
|
|
275186
275187
|
})), /*#__PURE__*/React$1.createElement("ul", _extends$3({}, accessibilityLabel, {
|
|
275187
275188
|
ref: this.menuRef,
|
|
275188
|
-
className: "".concat(prefix$
|
|
275189
|
+
className: "".concat(prefix$c, "--header__menu"),
|
|
275189
275190
|
role: "menu"
|
|
275190
275191
|
}), childContent.map(function (childItem, index) {
|
|
275191
275192
|
var _this2$menuItemRefs$i, _this2$menuItemRefs, _childItem$metaData$t, _childItem$metaData, _childItem$metaData2, _childItem$metaData3, _childItem$metaData4, _childItem$metaData5;
|
|
@@ -275620,7 +275621,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275620
275621
|
function ownKeys$1d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
275621
275622
|
function _objectSpread$1b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1d(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
275622
275623
|
var iotPrefix$17 = settings.iotPrefix,
|
|
275623
|
-
prefix$
|
|
275624
|
+
prefix$b = settings.prefix;
|
|
275624
275625
|
var propTypes$1m = {
|
|
275625
275626
|
actionItems: PropTypes.arrayOf(PropTypes.shape(HeaderActionItemPropTypes)).isRequired,
|
|
275626
275627
|
i18n: PropTypes.shape({
|
|
@@ -275723,7 +275724,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275723
275724
|
// added extra div here, because HeaderGlobalBar doesn't support refs
|
|
275724
275725
|
React$1.createElement("div", {
|
|
275725
275726
|
ref: overFlowContainerRef,
|
|
275726
|
-
className: "".concat(prefix$
|
|
275727
|
+
className: "".concat(prefix$b, "--header__global")
|
|
275727
275728
|
}, /*#__PURE__*/React$1.createElement(react.HeaderGlobalBar, {
|
|
275728
275729
|
"data-testid": testId
|
|
275729
275730
|
},
|
|
@@ -276395,7 +276396,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
276395
276396
|
function ownKeys$1b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
276396
276397
|
function _objectSpread$19(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1b(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
276397
276398
|
var iotPrefix$14 = settings.iotPrefix,
|
|
276398
|
-
prefix$
|
|
276399
|
+
prefix$a = settings.prefix;
|
|
276399
276400
|
var markText = function markText(allText, substringToMark) {
|
|
276400
276401
|
var regex = new RegExp("(.*)(".concat(substringToMark, ")(.*)"), 'i');
|
|
276401
276402
|
var regexResult = regex.exec(allText);
|
|
@@ -276693,7 +276694,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
276693
276694
|
|
|
276694
276695
|
return /*#__PURE__*/React$1.createElement(react.SideNav, _extends$3({
|
|
276695
276696
|
"data-testid": testId,
|
|
276696
|
-
className: classnames("".concat(iotPrefix$14, "--side-nav"), _defineProperty$c(_defineProperty$c({}, "".concat(iotPrefix$14, "--side-nav--expanded"), isSideNavExpanded), "".concat(prefix$
|
|
276697
|
+
className: classnames("".concat(iotPrefix$14, "--side-nav"), _defineProperty$c(_defineProperty$c({}, "".concat(iotPrefix$14, "--side-nav--expanded"), isSideNavExpanded), "".concat(prefix$a, "--side-nav--expanded"), isSideNavExpanded)),
|
|
276697
276698
|
expanded: isSideNavExpanded
|
|
276698
276699
|
// TODO: Will be added back in when footer is added for rails.
|
|
276699
276700
|
// see: https://github.com/carbon-design-system/carbon/blob/main/packages/react/src/components/UIShell/SideNav.js#L143
|
|
@@ -283623,7 +283624,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
283623
283624
|
}
|
|
283624
283625
|
}
|
|
283625
283626
|
|
|
283626
|
-
var prefix$
|
|
283627
|
+
var prefix$9 = settings.prefix;
|
|
283627
283628
|
var propTypes$1a = {
|
|
283628
283629
|
/** title of the dashboard */
|
|
283629
283630
|
title: PropTypes.string,
|
|
@@ -283698,7 +283699,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
283698
283699
|
className: "dashboard--header-actions"
|
|
283699
283700
|
}, actions.map(function (action) {
|
|
283700
283701
|
return action.icon ? /*#__PURE__*/React$1.createElement(Button$2, {
|
|
283701
|
-
className: "".concat(prefix$
|
|
283702
|
+
className: "".concat(prefix$9, "--btn--icon-only"),
|
|
283702
283703
|
id: "action-icon--".concat(action.id),
|
|
283703
283704
|
key: action.id,
|
|
283704
283705
|
onClick: function onClick() {
|
|
@@ -306995,7 +306996,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
306995
306996
|
function ownKeys$G(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
306996
306997
|
function _objectSpread$G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$G(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
306997
306998
|
var iotPrefix$N = settings.iotPrefix,
|
|
306998
|
-
prefix$
|
|
306999
|
+
prefix$8 = settings.prefix;
|
|
306999
307000
|
var propTypes$S = {
|
|
307000
307001
|
/* card value */
|
|
307001
307002
|
cardConfig: PropTypes.shape({
|
|
@@ -307109,7 +307110,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
307109
307110
|
return ['BOOLEAN', 'LITERAL'].includes(columnType) ? ['='] : ['>', '<', '='];
|
|
307110
307111
|
}, [columnType]);
|
|
307111
307112
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, !isEmpty(thresholds) && /*#__PURE__*/React$1.createElement("span", {
|
|
307112
|
-
className: "".concat(prefix$
|
|
307113
|
+
className: "".concat(prefix$8, "--label ").concat(baseClassName, "--input-label")
|
|
307113
307114
|
}, mergedI18n.dataItemEditorDataItemThresholds), thresholds.map(function (threshold, i) {
|
|
307114
307115
|
var _threshold$value, _threshold$value2;
|
|
307115
307116
|
// add threshold color to all icon options
|
|
@@ -307629,7 +307630,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
307629
307630
|
function ownKeys$F(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
307630
307631
|
function _objectSpread$F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$F(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
307631
307632
|
var iotPrefix$M = settings.iotPrefix,
|
|
307632
|
-
prefix$
|
|
307633
|
+
prefix$7 = settings.prefix;
|
|
307633
307634
|
var propTypes$R = {
|
|
307634
307635
|
/* card value */
|
|
307635
307636
|
cardConfig: PropTypes.shape({
|
|
@@ -308132,7 +308133,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
308132
308133
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, showEditor && /*#__PURE__*/React$1.createElement("div", {
|
|
308133
308134
|
className: "".concat(baseClassName, "--modal-wrapper")
|
|
308134
308135
|
}, /*#__PURE__*/React$1.createElement(ComposedModal$1, {
|
|
308135
|
-
selectorPrimaryFocus: ".".concat(prefix$
|
|
308136
|
+
selectorPrimaryFocus: ".".concat(prefix$7, "--modal-header"),
|
|
308136
308137
|
header: {
|
|
308137
308138
|
label: editDataItem.dataItemId,
|
|
308138
308139
|
title: type === CARD_TYPES.VALUE ? mergedI18n.dataItemEditorValueCardTitle : mergedI18n.dataItemEditorDataSeriesTitle
|
|
@@ -310852,7 +310853,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
310852
310853
|
};
|
|
310853
310854
|
var HotspotEditorTooltipTab$1 = HotspotEditorTooltipTab;
|
|
310854
310855
|
|
|
310855
|
-
var iotPrefix$G = settings.iotPrefix
|
|
310856
|
+
var iotPrefix$G = settings.iotPrefix,
|
|
310857
|
+
prefix$6 = settings.prefix;
|
|
310856
310858
|
var colorPropType = PropTypes.shape({
|
|
310857
310859
|
carbonColor: PropTypes.string,
|
|
310858
310860
|
name: PropTypes.string
|
|
@@ -311043,7 +311045,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
311043
311045
|
onSubmit: preventFormSubmission,
|
|
311044
311046
|
className: "".concat(iotPrefix$G, "--hotspot-text-style-tab__form")
|
|
311045
311047
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
311046
|
-
className: "".concat(iotPrefix$G, "--hotspot-text-style-
|
|
311048
|
+
className: "".concat(iotPrefix$G, "--hotspot-text-style-tab__row")
|
|
311049
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
311050
|
+
className: "".concat(prefix$6, "--content-switcher ").concat(prefix$6, "--content-switcher--icon-only")
|
|
311051
|
+
}, /*#__PURE__*/React$1.createElement(react.unstable_FeatureFlags, {
|
|
311052
|
+
enableV12DynamicFloatingStyles: true
|
|
311047
311053
|
}, /*#__PURE__*/React$1.createElement(react.IconSwitch, {
|
|
311048
311054
|
disabled: hasNonEditableContent,
|
|
311049
311055
|
onClick: function onClick() {
|
|
@@ -311085,7 +311091,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
311085
311091
|
renderIcon: iconsReact.TextUnderline,
|
|
311086
311092
|
index: 2,
|
|
311087
311093
|
light: light
|
|
311088
|
-
})), /*#__PURE__*/React$1.createElement("div", {
|
|
311094
|
+
})))), /*#__PURE__*/React$1.createElement("div", {
|
|
311089
311095
|
className: "".concat(iotPrefix$G, "--hotspot-text-style-tab__row")
|
|
311090
311096
|
}, /*#__PURE__*/React$1.createElement(ColorDropdown$1, {
|
|
311091
311097
|
disabled: hasNonEditableContent,
|
|
@@ -312825,6 +312831,24 @@ React keys must be passed directly to JSX without using spread:
|
|
|
312825
312831
|
}, {
|
|
312826
312832
|
carbonColor: blue50,
|
|
312827
312833
|
name: 'blue'
|
|
312834
|
+
}, {
|
|
312835
|
+
carbonColor: cyan50,
|
|
312836
|
+
name: 'cyan'
|
|
312837
|
+
}, {
|
|
312838
|
+
carbonColor: magenta50,
|
|
312839
|
+
name: 'magenta'
|
|
312840
|
+
}, {
|
|
312841
|
+
carbonColor: purple50,
|
|
312842
|
+
name: 'purple'
|
|
312843
|
+
}, {
|
|
312844
|
+
carbonColor: teal50,
|
|
312845
|
+
name: 'teal'
|
|
312846
|
+
}, {
|
|
312847
|
+
carbonColor: yellow50,
|
|
312848
|
+
name: 'yellow'
|
|
312849
|
+
}, {
|
|
312850
|
+
carbonColor: orange50,
|
|
312851
|
+
name: 'orange'
|
|
312828
312852
|
}];
|
|
312829
312853
|
var propTypes$I = {
|
|
312830
312854
|
/** an object where the keys are available dimensions and the values are the values available for those dimensions
|
|
@@ -313426,7 +313450,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
313426
313450
|
},
|
|
313427
313451
|
"backgroundColors": {
|
|
313428
313452
|
"defaultValue": {
|
|
313429
|
-
"value": "[\n { carbonColor: gray50, name: 'gray' },\n { carbonColor: red50, name: 'red' },\n { carbonColor: green50, name: 'green' },\n { carbonColor: blue50, name: 'blue' },\n]",
|
|
313453
|
+
"value": "[\n { carbonColor: gray50, name: 'gray' },\n { carbonColor: red50, name: 'red' },\n { carbonColor: green50, name: 'green' },\n { carbonColor: blue50, name: 'blue' },\n { carbonColor: cyan50, name: 'cyan' },\n { carbonColor: magenta50, name: 'magenta' },\n { carbonColor: purple50, name: 'purple' },\n { carbonColor: teal50, name: 'teal' },\n { carbonColor: yellow50, name: 'yellow' },\n { carbonColor: orange50, name: 'orange' },\n]",
|
|
313430
313454
|
"computed": false
|
|
313431
313455
|
},
|
|
313432
313456
|
"description": "Array of selectable color objects for text hotspot background",
|
|
@@ -313441,7 +313465,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
313441
313465
|
},
|
|
313442
313466
|
"borderColors": {
|
|
313443
313467
|
"defaultValue": {
|
|
313444
|
-
"value": "[\n { carbonColor: gray50, name: 'gray' },\n { carbonColor: red50, name: 'red' },\n { carbonColor: green50, name: 'green' },\n { carbonColor: blue50, name: 'blue' },\n]",
|
|
313468
|
+
"value": "[\n { carbonColor: gray50, name: 'gray' },\n { carbonColor: red50, name: 'red' },\n { carbonColor: green50, name: 'green' },\n { carbonColor: blue50, name: 'blue' },\n { carbonColor: cyan50, name: 'cyan' },\n { carbonColor: magenta50, name: 'magenta' },\n { carbonColor: purple50, name: 'purple' },\n { carbonColor: teal50, name: 'teal' },\n { carbonColor: yellow50, name: 'yellow' },\n { carbonColor: orange50, name: 'orange' },\n]",
|
|
313445
313469
|
"computed": false
|
|
313446
313470
|
},
|
|
313447
313471
|
"description": "Array of selectable color objects for text hotspot border",
|
|
@@ -313549,7 +313573,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
313549
313573
|
},
|
|
313550
313574
|
"fontColors": {
|
|
313551
313575
|
"defaultValue": {
|
|
313552
|
-
"value": "[\n { carbonColor: gray50, name: 'gray' },\n { carbonColor: red50, name: 'red' },\n { carbonColor: green50, name: 'green' },\n { carbonColor: blue50, name: 'blue' },\n]",
|
|
313576
|
+
"value": "[\n { carbonColor: gray50, name: 'gray' },\n { carbonColor: red50, name: 'red' },\n { carbonColor: green50, name: 'green' },\n { carbonColor: blue50, name: 'blue' },\n { carbonColor: cyan50, name: 'cyan' },\n { carbonColor: magenta50, name: 'magenta' },\n { carbonColor: purple50, name: 'purple' },\n { carbonColor: teal50, name: 'teal' },\n { carbonColor: yellow50, name: 'yellow' },\n { carbonColor: orange50, name: 'orange' },\n]",
|
|
313553
313577
|
"computed": false
|
|
313554
313578
|
},
|
|
313555
313579
|
"description": "Array of selectable color objects for text hotspot font",
|