@patternfly/react-core 4.202.23 → 4.202.26
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/CHANGELOG.md +27 -0
- package/dist/esm/components/DualListSelector/DualListSelector.d.ts +1 -3
- package/dist/esm/components/DualListSelector/DualListSelector.d.ts.map +1 -1
- package/dist/esm/components/DualListSelector/DualListSelector.js +25 -23
- package/dist/esm/components/DualListSelector/DualListSelector.js.map +1 -1
- package/dist/esm/components/Select/Select.d.ts +2 -0
- package/dist/esm/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/components/Select/Select.js +3 -3
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Select/SelectToggle.d.ts +2 -0
- package/dist/esm/components/Select/SelectToggle.d.ts.map +1 -1
- package/dist/esm/components/Select/SelectToggle.js +6 -5
- package/dist/esm/components/Select/SelectToggle.js.map +1 -1
- package/dist/js/components/DualListSelector/DualListSelector.d.ts +1 -3
- package/dist/js/components/DualListSelector/DualListSelector.d.ts.map +1 -1
- package/dist/js/components/DualListSelector/DualListSelector.js +25 -23
- package/dist/js/components/DualListSelector/DualListSelector.js.map +1 -1
- package/dist/js/components/Select/Select.d.ts +2 -0
- package/dist/js/components/Select/Select.d.ts.map +1 -1
- package/dist/js/components/Select/Select.js +3 -3
- package/dist/js/components/Select/Select.js.map +1 -1
- package/dist/js/components/Select/SelectToggle.d.ts +2 -0
- package/dist/js/components/Select/SelectToggle.d.ts.map +1 -1
- package/dist/js/components/Select/SelectToggle.js +6 -5
- package/dist/js/components/Select/SelectToggle.js.map +1 -1
- package/dist/styles/base.css +5 -0
- package/dist/umd/react-core.css +4 -4
- package/dist/umd/react-core.js +34 -31
- package/dist/umd/react-core.min.css +4 -4
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +6 -6
- package/src/components/DualListSelector/DualListSelector.tsx +26 -23
- package/src/components/Select/Select.tsx +4 -0
- package/src/components/Select/SelectToggle.tsx +10 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectToggle.js","sourceRoot":"","sources":["../../../../src/components/Select/SelectToggle.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2GAA2E;AAC3E,2GAAiF;AACjF,2DAA+C;AAC/C,oHAAmF;AACnF,uDAA6E;AAE7E,6CAA0D;AAC1D,uDAAmD;
|
|
1
|
+
{"version":3,"file":"SelectToggle.js","sourceRoot":"","sources":["../../../../src/components/Select/SelectToggle.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2GAA2E;AAC3E,2GAAiF;AACjF,2DAA+C;AAC/C,oHAAmF;AACnF,uDAA6E;AAE7E,6CAA0D;AAC1D,uDAAmD;AAqDnD,MAAa,YAAa,SAAQ,KAAK,CAAC,SAA4B;IAuBlE,YAAY,KAAwB;QAClC,KAAK,CAAC,KAAK,CAAC,CAAC;QAkBf,eAAU,GAAG,CAAC,KAAY,EAAE,EAAE;YAC5B,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;YAChF,MAAM,eAAe,GAAG,SAAS,IAAI,SAAS,CAAC,OAAO,IAAI,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAc,CAAC,CAAC;YAC3G,MAAM,iBAAiB,GACrB,OAAO,IAAI,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAc,CAAC,CAAC;YAC3G,MAAM,mBAAmB,GACvB,SAAS,IAAI,SAAS,CAAC,OAAO,IAAI,SAAS,CAAC,OAAO,CAAC,QAAQ,IAAI,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAc,CAAC,CAAC;YAEnH,IAAI,MAAM,IAAI,CAAC,CAAC,eAAe,I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CAAC;IACjB,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;IACjB,4BAA4B,EAAE,GAAG,EAAE,GAAE,CAAC;CACvC,CAAC"}
|
package/dist/styles/base.css
CHANGED
package/dist/umd/react-core.css
CHANGED
|
@@ -8009,7 +8009,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
8009
8009
|
--pf-c-form--m-horizontal__group-label--md--GridColumnWidth: 9.375rem;
|
|
8010
8010
|
--pf-c-form--m-horizontal__group-label--md--GridColumnGap: var(--pf-global--spacer--md);
|
|
8011
8011
|
--pf-c-form--m-horizontal__group-control--md--GridColumnWidth: 1fr;
|
|
8012
|
-
--pf-c-form--m-limit-width--MaxWidth:
|
|
8012
|
+
--pf-c-form--m-limit-width--MaxWidth: 55rem;
|
|
8013
8013
|
--pf-c-form--m-horizontal__group-label--md--PaddingTop: calc((((((var(--pf-global--FontSize--md) * var(--pf-global--LineHeight--md)) + (2 * var(--pf-global--BorderWidth--sm))) - var(--pf-global--FontSize--md)) / 2) + var(--pf-global--FontSize--md)) - ((((var(--pf-global--FontSize--sm) * var(--pf-global--LineHeight--sm)) - var(--pf-global--FontSize--sm)) / 2) + var(--pf-global--FontSize--sm)) + var(--pf-global--BorderWidth--sm));
|
|
8014
8014
|
--pf-c-form__group-label--PaddingBottom: var(--pf-global--spacer--sm);
|
|
8015
8015
|
--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop: 0;
|
|
@@ -17797,13 +17797,13 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
17797
17797
|
--pf-c-switch__input--checked__label--Color: var(--pf-global--Color--dark-100);
|
|
17798
17798
|
--pf-c-switch__input--not-checked__label--Color: var(--pf-global--disabled-color--100);
|
|
17799
17799
|
--pf-c-switch__input--disabled__label--Color: var(--pf-global--disabled-color--100);
|
|
17800
|
-
--pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--
|
|
17801
|
-
--pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--
|
|
17800
|
+
--pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
17801
|
+
--pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--palette--black-150);
|
|
17802
17802
|
--pf-c-switch__input--focus__toggle--OutlineWidth: var(--pf-global--BorderWidth--md);
|
|
17803
17803
|
--pf-c-switch__input--focus__toggle--OutlineOffset: var(--pf-global--spacer--sm);
|
|
17804
17804
|
--pf-c-switch__input--focus__toggle--OutlineColor: var(--pf-global--primary-color--100);
|
|
17805
17805
|
--pf-c-switch__toggle--Height: calc(var(--pf-c-switch--FontSize) * var(--pf-c-switch--LineHeight));
|
|
17806
|
-
--pf-c-switch__toggle--BackgroundColor: var(--pf-global--
|
|
17806
|
+
--pf-c-switch__toggle--BackgroundColor: var(--pf-global--palette--black-500);
|
|
17807
17807
|
--pf-c-switch__toggle--BorderRadius: var(--pf-c-switch__toggle--Height);
|
|
17808
17808
|
--pf-c-switch__toggle--before--Width: calc(var(--pf-c-switch--FontSize) - var(--pf-c-switch__toggle-icon--Offset));
|
|
17809
17809
|
--pf-c-switch__toggle--before--Height: var(--pf-c-switch__toggle--before--Width);
|
package/dist/umd/react-core.js
CHANGED
|
@@ -6482,10 +6482,11 @@
|
|
|
6482
6482
|
constructor(props) {
|
|
6483
6483
|
super(props);
|
|
6484
6484
|
this.onDocClick = (event) => {
|
|
6485
|
-
const { parentRef, menuRef, isOpen, onToggle, onClose } = this.props;
|
|
6485
|
+
const { parentRef, menuRef, footerRef, isOpen, onToggle, onClose } = this.props;
|
|
6486
6486
|
const clickedOnToggle = parentRef && parentRef.current && parentRef.current.contains(event.target);
|
|
6487
6487
|
const clickedWithinMenu = menuRef && menuRef.current && menuRef.current.contains && menuRef.current.contains(event.target);
|
|
6488
|
-
|
|
6488
|
+
const clickedWithinFooter = footerRef && footerRef.current && footerRef.current.contains && footerRef.current.contains(event.target);
|
|
6489
|
+
if (isOpen && !(clickedOnToggle || clickedWithinMenu || clickedWithinFooter)) {
|
|
6489
6490
|
onToggle(false, event);
|
|
6490
6491
|
onClose();
|
|
6491
6492
|
}
|
|
@@ -6608,7 +6609,7 @@
|
|
|
6608
6609
|
}
|
|
6609
6610
|
render() {
|
|
6610
6611
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
6611
|
-
const _a = this.props, { className, children, isOpen, isActive, isPlain, isDisabled, hasPlaceholderStyle, variant, onToggle, onEnter, onClose, onClickTypeaheadToggleButton, handleTypeaheadKeys, moveFocusToLastMenuItem, parentRef, menuRef, id, type, hasClearButton, 'aria-labelledby': ariaLabelledBy, 'aria-label': ariaLabel, hasFooter, footerRef } = _a, props = __rest$1(_a, ["className", "children", "isOpen", "isActive", "isPlain", "isDisabled", "hasPlaceholderStyle", "variant", "onToggle", "onEnter", "onClose", "onClickTypeaheadToggleButton", "handleTypeaheadKeys", "moveFocusToLastMenuItem", "parentRef", "menuRef", "id", "type", "hasClearButton", 'aria-labelledby', 'aria-label', "hasFooter", "footerRef"]);
|
|
6612
|
+
const _a = this.props, { className, children, isOpen, isActive, isPlain, isDisabled, hasPlaceholderStyle, variant, onToggle, onEnter, onClose, onBlur, onClickTypeaheadToggleButton, handleTypeaheadKeys, moveFocusToLastMenuItem, parentRef, menuRef, id, type, hasClearButton, 'aria-labelledby': ariaLabelledBy, 'aria-label': ariaLabel, hasFooter, footerRef } = _a, props = __rest$1(_a, ["className", "children", "isOpen", "isActive", "isPlain", "isDisabled", "hasPlaceholderStyle", "variant", "onToggle", "onEnter", "onClose", "onBlur", "onClickTypeaheadToggleButton", "handleTypeaheadKeys", "moveFocusToLastMenuItem", "parentRef", "menuRef", "id", "type", "hasClearButton", 'aria-labelledby', 'aria-label', "hasFooter", "footerRef"]);
|
|
6612
6613
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
6613
6614
|
const isTypeahead = variant === exports.SelectVariant.typeahead || variant === exports.SelectVariant.typeaheadMulti || hasClearButton;
|
|
6614
6615
|
const toggleProps = {
|
|
@@ -6618,7 +6619,7 @@
|
|
|
6618
6619
|
'aria-haspopup': (variant !== exports.SelectVariant.checkbox && 'listbox') || null
|
|
6619
6620
|
};
|
|
6620
6621
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
6621
|
-
!isTypeahead && (React__namespace.createElement("button", Object.assign({}, props, toggleProps, { ref: this.toggle, type: type, className: css(styles$_.selectToggle, hasPlaceholderStyle && styles$_.modifiers.placeholder, isDisabled && styles$_.modifiers.disabled, isPlain && styles$_.modifiers.plain, isActive && styles$_.modifiers.active, className), "aria-label": ariaLabel,
|
|
6622
|
+
!isTypeahead && (React__namespace.createElement("button", Object.assign({}, props, toggleProps, { ref: this.toggle, type: type, className: css(styles$_.selectToggle, hasPlaceholderStyle && styles$_.modifiers.placeholder, isDisabled && styles$_.modifiers.disabled, isPlain && styles$_.modifiers.plain, isActive && styles$_.modifiers.active, className), "aria-label": ariaLabel, onBlur: onBlur,
|
|
6622
6623
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6623
6624
|
onClick: event => {
|
|
6624
6625
|
onToggle(!isOpen, event);
|
|
@@ -6629,7 +6630,7 @@
|
|
|
6629
6630
|
children,
|
|
6630
6631
|
React__namespace.createElement("span", { className: css(styles$_.selectToggleArrow) },
|
|
6631
6632
|
React__namespace.createElement(CaretDownIcon$1, null)))),
|
|
6632
|
-
isTypeahead && (React__namespace.createElement("div", Object.assign({}, props, { ref: this.toggle, className: css(styles$_.selectToggle, hasPlaceholderStyle && styles$_.modifiers.placeholder, isDisabled && styles$_.modifiers.disabled, isPlain && styles$_.modifiers.plain, isTypeahead && styles$_.modifiers.typeahead, className),
|
|
6633
|
+
isTypeahead && (React__namespace.createElement("div", Object.assign({}, props, { ref: this.toggle, className: css(styles$_.selectToggle, hasPlaceholderStyle && styles$_.modifiers.placeholder, isDisabled && styles$_.modifiers.disabled, isPlain && styles$_.modifiers.plain, isTypeahead && styles$_.modifiers.typeahead, className), onBlur: onBlur,
|
|
6633
6634
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6634
6635
|
onClick: event => {
|
|
6635
6636
|
if (!isDisabled) {
|
|
@@ -7429,7 +7430,7 @@
|
|
|
7429
7430
|
});
|
|
7430
7431
|
}
|
|
7431
7432
|
render() {
|
|
7432
|
-
const _a = this.props, { children, chipGroupProps, chipGroupComponent, className, customContent, variant, direction, onSelect, onClear, toggleId, isOpen, isGrouped, isPlain, isDisabled, hasPlaceholderStyle, validated, selections: selectionsProp, typeAheadAriaLabel, clearSelectionsAriaLabel, toggleAriaLabel, removeSelectionAriaLabel, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, placeholderText, width, maxHeight, toggleIcon, ouiaId, ouiaSafe, hasInlineFilter, isCheckboxSelectionBadgeHidden, inlineFilterPlaceholderText,
|
|
7433
|
+
const _a = this.props, { children, chipGroupProps, chipGroupComponent, className, customContent, variant, direction, onSelect, onClear, onBlur, toggleId, isOpen, isGrouped, isPlain, isDisabled, hasPlaceholderStyle, validated, selections: selectionsProp, typeAheadAriaLabel, clearSelectionsAriaLabel, toggleAriaLabel, removeSelectionAriaLabel, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, placeholderText, width, maxHeight, toggleIcon, ouiaId, ouiaSafe, hasInlineFilter, isCheckboxSelectionBadgeHidden, inlineFilterPlaceholderText,
|
|
7433
7434
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
7434
7435
|
onFilter,
|
|
7435
7436
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
@@ -7439,7 +7440,7 @@
|
|
|
7439
7440
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
7440
7441
|
menuAppendTo, favorites, onFavorite,
|
|
7441
7442
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
7442
|
-
favoritesLabel, footer, loadingVariant, isCreateSelectOptionObject, shouldResetOnSelect } = _a, props = __rest$1(_a, ["children", "chipGroupProps", "chipGroupComponent", "className", "customContent", "variant", "direction", "onSelect", "onClear", "toggleId", "isOpen", "isGrouped", "isPlain", "isDisabled", "hasPlaceholderStyle", "validated", "selections", "typeAheadAriaLabel", "clearSelectionsAriaLabel", "toggleAriaLabel", "removeSelectionAriaLabel", 'aria-label', 'aria-labelledby', 'aria-describedby', 'aria-invalid', "placeholderText", "width", "maxHeight", "toggleIcon", "ouiaId", "ouiaSafe", "hasInlineFilter", "isCheckboxSelectionBadgeHidden", "inlineFilterPlaceholderText", "onFilter", "onTypeaheadInputChanged", "onCreateOption", "isCreatable", "onToggle", "createText", "noResultsFoundText", "customBadgeText", "inputIdPrefix", "inputAutoComplete", "isInputValuePersisted", "isInputFilterPersisted", "menuAppendTo", "favorites", "onFavorite", "favoritesLabel", "footer", "loadingVariant", "isCreateSelectOptionObject", "shouldResetOnSelect"]);
|
|
7443
|
+
favoritesLabel, footer, loadingVariant, isCreateSelectOptionObject, shouldResetOnSelect } = _a, props = __rest$1(_a, ["children", "chipGroupProps", "chipGroupComponent", "className", "customContent", "variant", "direction", "onSelect", "onClear", "onBlur", "toggleId", "isOpen", "isGrouped", "isPlain", "isDisabled", "hasPlaceholderStyle", "validated", "selections", "typeAheadAriaLabel", "clearSelectionsAriaLabel", "toggleAriaLabel", "removeSelectionAriaLabel", 'aria-label', 'aria-labelledby', 'aria-describedby', 'aria-invalid', "placeholderText", "width", "maxHeight", "toggleIcon", "ouiaId", "ouiaSafe", "hasInlineFilter", "isCheckboxSelectionBadgeHidden", "inlineFilterPlaceholderText", "onFilter", "onTypeaheadInputChanged", "onCreateOption", "isCreatable", "onToggle", "createText", "noResultsFoundText", "customBadgeText", "inputIdPrefix", "inputAutoComplete", "isInputValuePersisted", "isInputFilterPersisted", "menuAppendTo", "favorites", "onFavorite", "favoritesLabel", "footer", "loadingVariant", "isCreateSelectOptionObject", "shouldResetOnSelect"]);
|
|
7443
7444
|
const { focusFirstOption: openedOnEnter, typeaheadCurrIndex, typeaheadInputValue, typeaheadFilteredChildren, favoritesGroup } = this.state;
|
|
7444
7445
|
const selectToggleId = toggleId || `pf-select-toggle-id-${currentId$1++}`;
|
|
7445
7446
|
const selections = Array.isArray(selectionsProp) ? selectionsProp : [selectionsProp];
|
|
@@ -7612,7 +7613,7 @@
|
|
|
7612
7613
|
" ") : innerMenu;
|
|
7613
7614
|
const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(styles$_.select, isOpen && styles$_.modifiers.expanded, validated === exports.ValidatedOptions.success && styles$_.modifiers.success, validated === exports.ValidatedOptions.warning && styles$_.modifiers.warning, validated === exports.ValidatedOptions.error && styles$_.modifiers.invalid, direction === exports.SelectDirection.up && styles$_.modifiers.top, className) }, (width && { style: { width } }), (validated !== exports.ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })), isOpen && menuContainer));
|
|
7614
7615
|
const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(styles$_.select, isOpen && styles$_.modifiers.expanded, validated === exports.ValidatedOptions.success && styles$_.modifiers.success, validated === exports.ValidatedOptions.warning && styles$_.modifiers.warning, validated === exports.ValidatedOptions.error && styles$_.modifiers.invalid, direction === exports.SelectDirection.up && styles$_.modifiers.top, className), ref: this.parentRef }, getOUIAProps(Select.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), (width && { style: { width } }), (validated !== exports.ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })),
|
|
7615
|
-
React__namespace.createElement(SelectToggle, Object.assign({ id: selectToggleId, parentRef: this.parentRef, menuRef: this.menuComponentRef }, (footer && { footerRef: this.footerRef }), { isOpen: isOpen, isPlain: isPlain, hasPlaceholderStyle: hasPlaceholderStyle && (!selections.length || selections[0] === null || isSelectedPlaceholder), onToggle: this.onToggle, onEnter: this.onEnter, onClose: this.onClose, variant: variant, "aria-labelledby": `${ariaLabelledBy || ''} ${selectToggleId}`, "aria-label": toggleAriaLabel, handleTypeaheadKeys: this.handleTypeaheadKeys, moveFocusToLastMenuItem: this.moveFocusToLastMenuItem, isDisabled: isDisabled, hasClearButton: hasOnClear, hasFooter: footer !== undefined, onClickTypeaheadToggleButton: this.onClickTypeaheadToggleButton }),
|
|
7616
|
+
React__namespace.createElement(SelectToggle, Object.assign({ id: selectToggleId, parentRef: this.parentRef, menuRef: this.menuComponentRef }, (footer && { footerRef: this.footerRef }), { isOpen: isOpen, isPlain: isPlain, hasPlaceholderStyle: hasPlaceholderStyle && (!selections.length || selections[0] === null || isSelectedPlaceholder), onToggle: this.onToggle, onEnter: this.onEnter, onClose: this.onClose, onBlur: onBlur, variant: variant, "aria-labelledby": `${ariaLabelledBy || ''} ${selectToggleId}`, "aria-label": toggleAriaLabel, handleTypeaheadKeys: this.handleTypeaheadKeys, moveFocusToLastMenuItem: this.moveFocusToLastMenuItem, isDisabled: isDisabled, hasClearButton: hasOnClear, hasFooter: footer !== undefined, onClickTypeaheadToggleButton: this.onClickTypeaheadToggleButton }),
|
|
7616
7617
|
customContent && (React__namespace.createElement("div", { className: css(styles$_.selectToggleWrapper) },
|
|
7617
7618
|
toggleIcon && React__namespace.createElement("span", { className: css(styles$_.selectToggleIcon) }, toggleIcon),
|
|
7618
7619
|
React__namespace.createElement("span", { className: css(styles$_.selectToggleText) }, placeholderText))),
|
|
@@ -10582,25 +10583,6 @@
|
|
|
10582
10583
|
this.addSelectedButtonRef = React__namespace.createRef();
|
|
10583
10584
|
this.removeSelectedButtonRef = React__namespace.createRef();
|
|
10584
10585
|
this.removeAllButtonRef = React__namespace.createRef();
|
|
10585
|
-
this.originalAvailableCopy = JSON.parse(JSON.stringify(this.props.availableOptions));
|
|
10586
|
-
this.originalChosenCopy = JSON.parse(JSON.stringify(this.props.chosenOptions));
|
|
10587
|
-
// If the DualListSelector uses trees, concat the two initial arrays and merge duplicate folder IDs
|
|
10588
|
-
this.mergedCopy = this.props.isTree
|
|
10589
|
-
? Object.values(this.originalAvailableCopy
|
|
10590
|
-
.concat(this.originalChosenCopy)
|
|
10591
|
-
.reduce((mapObj, item) => {
|
|
10592
|
-
const key = item.id;
|
|
10593
|
-
if (mapObj[key]) {
|
|
10594
|
-
// If map already has an item ID, add the dupe ID's children to the existing map
|
|
10595
|
-
mapObj[key].children.push(...item.children);
|
|
10596
|
-
}
|
|
10597
|
-
else {
|
|
10598
|
-
// Else clone the item data
|
|
10599
|
-
mapObj[key] = Object.assign({}, item);
|
|
10600
|
-
}
|
|
10601
|
-
return mapObj;
|
|
10602
|
-
}, {}))
|
|
10603
|
-
: null;
|
|
10604
10586
|
this.onFilterUpdate = (newFilteredOptions, paneType, isSearchReset) => {
|
|
10605
10587
|
const { isTree } = this.props;
|
|
10606
10588
|
if (paneType === 'available') {
|
|
@@ -10675,7 +10657,7 @@
|
|
|
10675
10657
|
.filter(item => filterRestTreeItems(item, movedOptions));
|
|
10676
10658
|
const currChosen = flattenTree(prevState.chosenOptions);
|
|
10677
10659
|
const nextChosenOptions = currChosen.concat(movedOptions);
|
|
10678
|
-
const newChosen = this.
|
|
10660
|
+
const newChosen = this.createMergedCopy()
|
|
10679
10661
|
.map(opt => Object.assign({}, opt))
|
|
10680
10662
|
.filter(item => filterTreeItemsWithoutFolders(item, nextChosenOptions));
|
|
10681
10663
|
this.props.addAll && this.props.addAll(newAvailable, newChosen);
|
|
@@ -10722,7 +10704,7 @@
|
|
|
10722
10704
|
// Get next chosen options from current + new nodes and remap from base
|
|
10723
10705
|
const currChosen = flattenTree(prevState.chosenOptions);
|
|
10724
10706
|
const nextChosenOptions = currChosen.concat(prevState.availableTreeOptionsChecked);
|
|
10725
|
-
const newChosen = this.
|
|
10707
|
+
const newChosen = this.createMergedCopy()
|
|
10726
10708
|
.map(opt => Object.assign({}, opt))
|
|
10727
10709
|
.filter(item => filterTreeItemsWithoutFolders(item, nextChosenOptions));
|
|
10728
10710
|
this.props.addSelected && this.props.addSelected(newAvailable, newChosen);
|
|
@@ -10768,7 +10750,7 @@
|
|
|
10768
10750
|
.filter(item => filterRestTreeItems(item, movedOptions));
|
|
10769
10751
|
const currAvailable = flattenTree(prevState.availableOptions);
|
|
10770
10752
|
const nextAvailableOptions = currAvailable.concat(movedOptions);
|
|
10771
|
-
const newAvailable = this.
|
|
10753
|
+
const newAvailable = this.createMergedCopy()
|
|
10772
10754
|
.map(opt => Object.assign({}, opt))
|
|
10773
10755
|
.filter(item => filterTreeItemsWithoutFolders(item, nextAvailableOptions));
|
|
10774
10756
|
this.props.removeAll && this.props.removeAll(newAvailable, newChosen);
|
|
@@ -10813,7 +10795,7 @@
|
|
|
10813
10795
|
// Get next chosen options from current and remap from base
|
|
10814
10796
|
const currAvailable = flattenTree(prevState.availableOptions);
|
|
10815
10797
|
const nextAvailableOptions = currAvailable.concat(prevState.chosenTreeOptionsChecked);
|
|
10816
|
-
const newAvailable = this.
|
|
10798
|
+
const newAvailable = this.createMergedCopy()
|
|
10817
10799
|
.map(opt => Object.assign({}, opt))
|
|
10818
10800
|
.filter(item => filterTreeItemsWithoutFolders(item, nextAvailableOptions));
|
|
10819
10801
|
this.props.removeSelected && this.props.removeSelected(newAvailable, newChosen);
|
|
@@ -10928,6 +10910,27 @@
|
|
|
10928
10910
|
chosenTreeOptionsChecked: []
|
|
10929
10911
|
};
|
|
10930
10912
|
}
|
|
10913
|
+
// If the DualListSelector uses trees, concat the two initial arrays and merge duplicate folder IDs
|
|
10914
|
+
createMergedCopy() {
|
|
10915
|
+
const copyOfAvailable = JSON.parse(JSON.stringify(this.props.availableOptions));
|
|
10916
|
+
const copyOfChosen = JSON.parse(JSON.stringify(this.props.chosenOptions));
|
|
10917
|
+
return this.props.isTree
|
|
10918
|
+
? Object.values(copyOfAvailable
|
|
10919
|
+
.concat(copyOfChosen)
|
|
10920
|
+
.reduce((mapObj, item) => {
|
|
10921
|
+
const key = item.id;
|
|
10922
|
+
if (mapObj[key]) {
|
|
10923
|
+
// If map already has an item ID, add the dupe ID's children to the existing map
|
|
10924
|
+
mapObj[key].children.push(...item.children);
|
|
10925
|
+
}
|
|
10926
|
+
else {
|
|
10927
|
+
// Else clone the item data
|
|
10928
|
+
mapObj[key] = Object.assign({}, item);
|
|
10929
|
+
}
|
|
10930
|
+
return mapObj;
|
|
10931
|
+
}, {}))
|
|
10932
|
+
: null;
|
|
10933
|
+
}
|
|
10931
10934
|
componentDidUpdate() {
|
|
10932
10935
|
if (JSON.stringify(this.props.availableOptions) !== JSON.stringify(this.state.availableOptions) ||
|
|
10933
10936
|
JSON.stringify(this.props.chosenOptions) !== JSON.stringify(this.state.chosenOptions)) {
|
|
@@ -8009,7 +8009,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
8009
8009
|
--pf-c-form--m-horizontal__group-label--md--GridColumnWidth: 9.375rem;
|
|
8010
8010
|
--pf-c-form--m-horizontal__group-label--md--GridColumnGap: var(--pf-global--spacer--md);
|
|
8011
8011
|
--pf-c-form--m-horizontal__group-control--md--GridColumnWidth: 1fr;
|
|
8012
|
-
--pf-c-form--m-limit-width--MaxWidth:
|
|
8012
|
+
--pf-c-form--m-limit-width--MaxWidth: 55rem;
|
|
8013
8013
|
--pf-c-form--m-horizontal__group-label--md--PaddingTop: calc((((((var(--pf-global--FontSize--md) * var(--pf-global--LineHeight--md)) + (2 * var(--pf-global--BorderWidth--sm))) - var(--pf-global--FontSize--md)) / 2) + var(--pf-global--FontSize--md)) - ((((var(--pf-global--FontSize--sm) * var(--pf-global--LineHeight--sm)) - var(--pf-global--FontSize--sm)) / 2) + var(--pf-global--FontSize--sm)) + var(--pf-global--BorderWidth--sm));
|
|
8014
8014
|
--pf-c-form__group-label--PaddingBottom: var(--pf-global--spacer--sm);
|
|
8015
8015
|
--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop: 0;
|
|
@@ -17797,13 +17797,13 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
17797
17797
|
--pf-c-switch__input--checked__label--Color: var(--pf-global--Color--dark-100);
|
|
17798
17798
|
--pf-c-switch__input--not-checked__label--Color: var(--pf-global--disabled-color--100);
|
|
17799
17799
|
--pf-c-switch__input--disabled__label--Color: var(--pf-global--disabled-color--100);
|
|
17800
|
-
--pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--
|
|
17801
|
-
--pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--
|
|
17800
|
+
--pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
17801
|
+
--pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--palette--black-150);
|
|
17802
17802
|
--pf-c-switch__input--focus__toggle--OutlineWidth: var(--pf-global--BorderWidth--md);
|
|
17803
17803
|
--pf-c-switch__input--focus__toggle--OutlineOffset: var(--pf-global--spacer--sm);
|
|
17804
17804
|
--pf-c-switch__input--focus__toggle--OutlineColor: var(--pf-global--primary-color--100);
|
|
17805
17805
|
--pf-c-switch__toggle--Height: calc(var(--pf-c-switch--FontSize) * var(--pf-c-switch--LineHeight));
|
|
17806
|
-
--pf-c-switch__toggle--BackgroundColor: var(--pf-global--
|
|
17806
|
+
--pf-c-switch__toggle--BackgroundColor: var(--pf-global--palette--black-500);
|
|
17807
17807
|
--pf-c-switch__toggle--BorderRadius: var(--pf-c-switch__toggle--Height);
|
|
17808
17808
|
--pf-c-switch__toggle--before--Width: calc(var(--pf-c-switch--FontSize) - var(--pf-c-switch__toggle-icon--Offset));
|
|
17809
17809
|
--pf-c-switch__toggle--before--Height: var(--pf-c-switch__toggle--before--Width);
|