@patternfly/react-table 4.70.0 → 4.71.0
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/Table/Table.js +1 -1
- package/dist/esm/components/Table/Table.js.map +1 -1
- package/dist/js/components/Table/Table.js +1 -1
- package/dist/js/components/Table/Table.js.map +1 -1
- package/dist/umd/react-table.css +818 -789
- package/dist/umd/react-table.js +54 -35
- package/dist/umd/react-table.min.css +31 -2
- package/dist/umd/react-table.min.js +3 -3
- package/package.json +6 -6
- package/src/components/Table/Table.tsx +1 -1
- package/src/components/Table/__snapshots__/Table.test.tsx.snap +9 -75
package/dist/umd/react-table.js
CHANGED
|
@@ -4981,7 +4981,7 @@
|
|
|
4981
4981
|
setViewMoreNextIndex();
|
|
4982
4982
|
onClick(event);
|
|
4983
4983
|
};
|
|
4984
|
-
const renderOption = (onSelect, onClose, variant, inputIdPrefix, onFavorite) => {
|
|
4984
|
+
const renderOption = (onSelect, onClose, variant, inputIdPrefix, onFavorite, shouldResetOnSelect) => {
|
|
4985
4985
|
if (variant !== SelectVariant.checkbox && isLoading && isGrouped) {
|
|
4986
4986
|
return (React__namespace.createElement("div", { role: "presentation", className: css(_default$b.selectListItem, isLoading && _default$b.modifiers.loading, className) }, children));
|
|
4987
4987
|
}
|
|
@@ -5006,7 +5006,7 @@
|
|
|
5006
5006
|
if (!isDisabled) {
|
|
5007
5007
|
onClick(event);
|
|
5008
5008
|
onSelect(event, value, isPlaceholder);
|
|
5009
|
-
onClose();
|
|
5009
|
+
shouldResetOnSelect && onClose();
|
|
5010
5010
|
}
|
|
5011
5011
|
}, role: "option", "aria-selected": isSelected || null, ref: this.ref, onKeyDown: (event) => {
|
|
5012
5012
|
this.onKeyDown(event, 0);
|
|
@@ -5054,7 +5054,7 @@
|
|
|
5054
5054
|
}, type: "button" }), itemDisplay)));
|
|
5055
5055
|
}
|
|
5056
5056
|
};
|
|
5057
|
-
return (React__namespace.createElement(SelectConsumer, null, ({ onSelect, onClose, variant, inputIdPrefix, onFavorite }) => (React__namespace.createElement(React__namespace.Fragment, null, renderOption(onSelect, onClose, variant, inputIdPrefix, onFavorite)))));
|
|
5057
|
+
return (React__namespace.createElement(SelectConsumer, null, ({ onSelect, onClose, variant, inputIdPrefix, onFavorite, shouldResetOnSelect }) => (React__namespace.createElement(React__namespace.Fragment, null, renderOption(onSelect, onClose, variant, inputIdPrefix, onFavorite, shouldResetOnSelect)))));
|
|
5058
5058
|
}
|
|
5059
5059
|
}
|
|
5060
5060
|
SelectOption.displayName = 'SelectOption';
|
|
@@ -5241,7 +5241,7 @@
|
|
|
5241
5241
|
const clickedOnToggle = parentRef && parentRef.current && parentRef.current.contains(event.target);
|
|
5242
5242
|
const clickedWithinMenu = menuRef && menuRef.current && menuRef.current.contains && menuRef.current.contains(event.target);
|
|
5243
5243
|
if (isOpen && !(clickedOnToggle || clickedWithinMenu)) {
|
|
5244
|
-
onToggle(false);
|
|
5244
|
+
onToggle(false, event);
|
|
5245
5245
|
onClose();
|
|
5246
5246
|
}
|
|
5247
5247
|
};
|
|
@@ -5260,7 +5260,7 @@
|
|
|
5260
5260
|
const tabbableItems = findTabbableElements(footerRef, SelectFooterTabbableItems);
|
|
5261
5261
|
// If no tabbable item in footer close select
|
|
5262
5262
|
if (tabbableItems.length <= 0) {
|
|
5263
|
-
onToggle(false);
|
|
5263
|
+
onToggle(false, event);
|
|
5264
5264
|
onClose();
|
|
5265
5265
|
this.toggle.current.focus();
|
|
5266
5266
|
return;
|
|
@@ -5272,7 +5272,7 @@
|
|
|
5272
5272
|
if (event.shiftKey) {
|
|
5273
5273
|
if (variant !== 'checkbox') {
|
|
5274
5274
|
// only close non checkbox variation on shift clicked
|
|
5275
|
-
onToggle(false);
|
|
5275
|
+
onToggle(false, event);
|
|
5276
5276
|
onClose();
|
|
5277
5277
|
this.toggle.current.focus();
|
|
5278
5278
|
}
|
|
@@ -5298,7 +5298,7 @@
|
|
|
5298
5298
|
}
|
|
5299
5299
|
else {
|
|
5300
5300
|
// no more footer items close menu
|
|
5301
|
-
onToggle(false);
|
|
5301
|
+
onToggle(false, event);
|
|
5302
5302
|
onClose();
|
|
5303
5303
|
this.toggle.current.focus();
|
|
5304
5304
|
}
|
|
@@ -5309,7 +5309,7 @@
|
|
|
5309
5309
|
if (isOpen &&
|
|
5310
5310
|
(event.key === KeyTypes.Escape || event.key === KeyTypes.Tab) &&
|
|
5311
5311
|
(escFromToggle || escFromWithinMenu)) {
|
|
5312
|
-
onToggle(false);
|
|
5312
|
+
onToggle(false, event);
|
|
5313
5313
|
onClose();
|
|
5314
5314
|
this.toggle.current.focus();
|
|
5315
5315
|
}
|
|
@@ -5326,7 +5326,7 @@
|
|
|
5326
5326
|
handleTypeaheadKeys('enter');
|
|
5327
5327
|
}
|
|
5328
5328
|
else {
|
|
5329
|
-
onToggle(!isOpen);
|
|
5329
|
+
onToggle(!isOpen, event);
|
|
5330
5330
|
}
|
|
5331
5331
|
}
|
|
5332
5332
|
}
|
|
@@ -5338,12 +5338,12 @@
|
|
|
5338
5338
|
}
|
|
5339
5339
|
event.preventDefault();
|
|
5340
5340
|
if ((event.key === KeyTypes.Tab || event.key === KeyTypes.Enter || event.key === KeyTypes.Space) && isOpen) {
|
|
5341
|
-
onToggle(!isOpen);
|
|
5341
|
+
onToggle(!isOpen, event);
|
|
5342
5342
|
onClose();
|
|
5343
5343
|
this.toggle.current.focus();
|
|
5344
5344
|
}
|
|
5345
5345
|
else if ((event.key === KeyTypes.Enter || event.key === KeyTypes.Space) && !isOpen) {
|
|
5346
|
-
onToggle(!isOpen);
|
|
5346
|
+
onToggle(!isOpen, event);
|
|
5347
5347
|
onEnter();
|
|
5348
5348
|
}
|
|
5349
5349
|
};
|
|
@@ -5375,8 +5375,8 @@
|
|
|
5375
5375
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
5376
5376
|
!isTypeahead && (React__namespace.createElement("button", Object.assign({}, props, toggleProps, { ref: this.toggle, type: type, className: css(_default$b.selectToggle, hasPlaceholderStyle && _default$b.modifiers.placeholder, isDisabled && _default$b.modifiers.disabled, isPlain && _default$b.modifiers.plain, isActive && _default$b.modifiers.active, className), "aria-label": ariaLabel,
|
|
5377
5377
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5378
|
-
onClick:
|
|
5379
|
-
onToggle(!isOpen);
|
|
5378
|
+
onClick: event => {
|
|
5379
|
+
onToggle(!isOpen, event);
|
|
5380
5380
|
if (isOpen) {
|
|
5381
5381
|
onClose();
|
|
5382
5382
|
}
|
|
@@ -5386,17 +5386,17 @@
|
|
|
5386
5386
|
React__namespace.createElement(CaretDownIcon$1, null)))),
|
|
5387
5387
|
isTypeahead && (React__namespace.createElement("div", Object.assign({}, props, { ref: this.toggle, className: css(_default$b.selectToggle, hasPlaceholderStyle && _default$b.modifiers.placeholder, isDisabled && _default$b.modifiers.disabled, isPlain && _default$b.modifiers.plain, isTypeahead && _default$b.modifiers.typeahead, className),
|
|
5388
5388
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5389
|
-
onClick:
|
|
5389
|
+
onClick: event => {
|
|
5390
5390
|
if (!isDisabled) {
|
|
5391
|
-
onToggle(!isOpen);
|
|
5391
|
+
onToggle(!isOpen, event);
|
|
5392
5392
|
if (isOpen) {
|
|
5393
5393
|
onClose();
|
|
5394
5394
|
}
|
|
5395
5395
|
}
|
|
5396
5396
|
}, onKeyDown: this.onKeyDown }),
|
|
5397
5397
|
children,
|
|
5398
|
-
React__namespace.createElement("button", Object.assign({}, toggleProps, { type: type, className: css(_default$i.button, _default$b.selectToggleButton, _default$b.modifiers.plain), "aria-label": ariaLabel, onClick:
|
|
5399
|
-
onToggle(!isOpen);
|
|
5398
|
+
React__namespace.createElement("button", Object.assign({}, toggleProps, { type: type, className: css(_default$i.button, _default$b.selectToggleButton, _default$b.modifiers.plain), "aria-label": ariaLabel, onClick: event => {
|
|
5399
|
+
onToggle(!isOpen, event);
|
|
5400
5400
|
if (isOpen) {
|
|
5401
5401
|
onClose();
|
|
5402
5402
|
}
|
|
@@ -5663,7 +5663,7 @@
|
|
|
5663
5663
|
this.onEnter = () => {
|
|
5664
5664
|
this.setState({ focusFirstOption: true });
|
|
5665
5665
|
};
|
|
5666
|
-
this.onToggle = (isExpanded) => {
|
|
5666
|
+
this.onToggle = (isExpanded, e) => {
|
|
5667
5667
|
const { isInputValuePersisted, onSelect, onToggle, hasInlineFilter } = this.props;
|
|
5668
5668
|
if (!isExpanded && isInputValuePersisted && onSelect) {
|
|
5669
5669
|
onSelect(undefined, this.inputRef.current ? this.inputRef.current.value : '');
|
|
@@ -5673,7 +5673,7 @@
|
|
|
5673
5673
|
focusFirstOption: true
|
|
5674
5674
|
});
|
|
5675
5675
|
}
|
|
5676
|
-
onToggle(isExpanded);
|
|
5676
|
+
onToggle(isExpanded, e);
|
|
5677
5677
|
};
|
|
5678
5678
|
this.onClose = () => {
|
|
5679
5679
|
const { isInputFilterPersisted } = this.props;
|
|
@@ -5683,7 +5683,7 @@
|
|
|
5683
5683
|
};
|
|
5684
5684
|
this.onChange = (e) => {
|
|
5685
5685
|
if (e.target.value.toString() !== '' && !this.props.isOpen) {
|
|
5686
|
-
this.onToggle(true);
|
|
5686
|
+
this.onToggle(true, e);
|
|
5687
5687
|
}
|
|
5688
5688
|
if (this.props.onTypeaheadInputChanged) {
|
|
5689
5689
|
this.props.onTypeaheadInputChanged(e.target.value.toString());
|
|
@@ -5795,9 +5795,9 @@
|
|
|
5795
5795
|
typeaheadFilteredChildren
|
|
5796
5796
|
});
|
|
5797
5797
|
};
|
|
5798
|
-
this.onClick = (
|
|
5798
|
+
this.onClick = (e) => {
|
|
5799
5799
|
if (!this.props.isOpen) {
|
|
5800
|
-
this.onToggle(true);
|
|
5800
|
+
this.onToggle(true, e);
|
|
5801
5801
|
}
|
|
5802
5802
|
};
|
|
5803
5803
|
this.clearSelection = (_e) => {
|
|
@@ -5874,9 +5874,20 @@
|
|
|
5874
5874
|
if (position === 'enter') {
|
|
5875
5875
|
if (typeaheadCurrIndex !== -1 && // do not allow selection without moving to an initial option
|
|
5876
5876
|
(typeaheadActiveChild || (this.refCollection[0] && this.refCollection[0][0]))) {
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5877
|
+
if (typeaheadActiveChild) {
|
|
5878
|
+
const hasDescriptionElm = typeaheadActiveChild.childElementCount > 1;
|
|
5879
|
+
const typeaheadActiveChildText = hasDescriptionElm
|
|
5880
|
+
? typeaheadActiveChild.firstChild.innerText
|
|
5881
|
+
: typeaheadActiveChild.innerText;
|
|
5882
|
+
this.setState({
|
|
5883
|
+
typeaheadInputValue: typeaheadActiveChildText
|
|
5884
|
+
});
|
|
5885
|
+
}
|
|
5886
|
+
else {
|
|
5887
|
+
this.setState({
|
|
5888
|
+
typeaheadInputValue: this.refCollection[0][0].innerText
|
|
5889
|
+
});
|
|
5890
|
+
}
|
|
5880
5891
|
if (typeaheadActiveChild) {
|
|
5881
5892
|
typeaheadActiveChild.click();
|
|
5882
5893
|
}
|
|
@@ -5962,7 +5973,7 @@
|
|
|
5962
5973
|
else {
|
|
5963
5974
|
// Close if there is no footer
|
|
5964
5975
|
if (!this.props.footer) {
|
|
5965
|
-
this.onToggle(false);
|
|
5976
|
+
this.onToggle(false, null);
|
|
5966
5977
|
this.onClose();
|
|
5967
5978
|
}
|
|
5968
5979
|
else {
|
|
@@ -5972,7 +5983,7 @@
|
|
|
5972
5983
|
if (this.inputRef.current === document.activeElement) {
|
|
5973
5984
|
if (shiftKey) {
|
|
5974
5985
|
// close toggle if shift key and tab on input
|
|
5975
|
-
this.onToggle(false);
|
|
5986
|
+
this.onToggle(false, null);
|
|
5976
5987
|
this.onClose();
|
|
5977
5988
|
}
|
|
5978
5989
|
else {
|
|
@@ -5981,7 +5992,7 @@
|
|
|
5981
5992
|
tabbableItems[0].focus();
|
|
5982
5993
|
}
|
|
5983
5994
|
else {
|
|
5984
|
-
this.onToggle(false);
|
|
5995
|
+
this.onToggle(false, null);
|
|
5985
5996
|
this.onClose();
|
|
5986
5997
|
}
|
|
5987
5998
|
}
|
|
@@ -6005,7 +6016,7 @@
|
|
|
6005
6016
|
}
|
|
6006
6017
|
else {
|
|
6007
6018
|
// no next item, close toggle
|
|
6008
|
-
this.onToggle(false);
|
|
6019
|
+
this.onToggle(false, null);
|
|
6009
6020
|
this.inputRef.current.focus();
|
|
6010
6021
|
this.onClose();
|
|
6011
6022
|
}
|
|
@@ -6174,7 +6185,7 @@
|
|
|
6174
6185
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
6175
6186
|
menuAppendTo, favorites, onFavorite,
|
|
6176
6187
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
6177
|
-
favoritesLabel, footer, loadingVariant, isCreateSelectOptionObject } = _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"]);
|
|
6188
|
+
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"]);
|
|
6178
6189
|
const { focusFirstOption: openedOnEnter, typeaheadCurrIndex, typeaheadInputValue, typeaheadFilteredChildren, favoritesGroup } = this.state;
|
|
6179
6190
|
const selectToggleId = toggleId || `pf-select-toggle-id-${currentId++}`;
|
|
6180
6191
|
const selections = Array.isArray(selectionsProp) ? selectionsProp : [selectionsProp];
|
|
@@ -6259,7 +6270,7 @@
|
|
|
6259
6270
|
else if (event.key === KeyTypes.Tab && variant !== SelectVariant.checkbox && this.props.footer) {
|
|
6260
6271
|
// tab to footer or close menu if shift key
|
|
6261
6272
|
if (event.shiftKey) {
|
|
6262
|
-
this.onToggle(false);
|
|
6273
|
+
this.onToggle(false, event);
|
|
6263
6274
|
}
|
|
6264
6275
|
else {
|
|
6265
6276
|
const tabbableItems = findTabbableElements(this.footerRef, SelectFooterTabbableItems);
|
|
@@ -6269,7 +6280,7 @@
|
|
|
6269
6280
|
event.preventDefault();
|
|
6270
6281
|
}
|
|
6271
6282
|
else {
|
|
6272
|
-
this.onToggle(false);
|
|
6283
|
+
this.onToggle(false, event);
|
|
6273
6284
|
}
|
|
6274
6285
|
}
|
|
6275
6286
|
}
|
|
@@ -6389,7 +6400,14 @@
|
|
|
6389
6400
|
}
|
|
6390
6401
|
return null;
|
|
6391
6402
|
};
|
|
6392
|
-
return (React__namespace.createElement(GenerateId, null, randomId => (React__namespace.createElement(SelectContext.Provider, { value: {
|
|
6403
|
+
return (React__namespace.createElement(GenerateId, null, randomId => (React__namespace.createElement(SelectContext.Provider, { value: {
|
|
6404
|
+
onSelect,
|
|
6405
|
+
onFavorite,
|
|
6406
|
+
onClose: this.onClose,
|
|
6407
|
+
variant,
|
|
6408
|
+
inputIdPrefix: inputIdPrefix || randomId,
|
|
6409
|
+
shouldResetOnSelect
|
|
6410
|
+
} }, menuAppendTo === 'inline' ? (mainContainer) : (React__namespace.createElement(Popper, { trigger: mainContainer, popper: popperContainer, direction: direction, appendTo: menuAppendTo === 'parent' ? getParentElement() : menuAppendTo, isVisible: isOpen }))))));
|
|
6393
6411
|
}
|
|
6394
6412
|
}
|
|
6395
6413
|
Select.displayName = 'Select';
|
|
@@ -6438,7 +6456,8 @@
|
|
|
6438
6456
|
chipGroupComponent: null,
|
|
6439
6457
|
isInputValuePersisted: false,
|
|
6440
6458
|
isInputFilterPersisted: false,
|
|
6441
|
-
isCreateSelectOptionObject: false
|
|
6459
|
+
isCreateSelectOptionObject: false,
|
|
6460
|
+
shouldResetOnSelect: true
|
|
6442
6461
|
};
|
|
6443
6462
|
|
|
6444
6463
|
// tslint:disable-next-line:no-empty
|
|
@@ -12391,7 +12410,7 @@
|
|
|
12391
12410
|
gridBreakPoint: exports.TableGridBreakpoint.gridMd,
|
|
12392
12411
|
role: 'grid',
|
|
12393
12412
|
canSelectAll: true,
|
|
12394
|
-
canCollapseAll:
|
|
12413
|
+
canCollapseAll: false,
|
|
12395
12414
|
isHeaderSelectDisabled: false,
|
|
12396
12415
|
selectVariant: 'checkbox',
|
|
12397
12416
|
collapseAllAriaLabel: '',
|
|
@@ -7180,6 +7180,7 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
7180
7180
|
right: 0;
|
|
7181
7181
|
bottom: 0;
|
|
7182
7182
|
left: 0;
|
|
7183
|
+
pointer-events: none;
|
|
7183
7184
|
content: "";
|
|
7184
7185
|
border-bottom: var(--pf-c-accordion--m-bordered__expanded-content--m-expanded__expanded-content-body--last-child--after--BorderBottomWidth) solid var(--pf-c-accordion--m-bordered__expanded-content--m-expanded__expanded-content-body--last-child--after--BorderBottomColor);
|
|
7185
7186
|
}
|
|
@@ -16145,7 +16146,7 @@ ul.pf-c-list {
|
|
|
16145
16146
|
--pf-c-menu__list-item--Color: var(--pf-c-menu__list-item--hover--Color, inherit);
|
|
16146
16147
|
}
|
|
16147
16148
|
|
|
16148
|
-
.pf-c-menu__list-item:focus-within {
|
|
16149
|
+
.pf-c-menu__list-item:focus-within, .pf-c-menu__list-item.pf-m-focus {
|
|
16149
16150
|
--pf-c-menu__list-item--BackgroundColor: var(--pf-c-menu__list-item--focus-within--BackgroundColor);
|
|
16150
16151
|
--pf-c-menu__list-item--Color: var(--pf-c-menu__list-item--focus-within--Color, inherit);
|
|
16151
16152
|
}
|
|
@@ -16435,6 +16436,11 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
16435
16436
|
--pf-c-menu-toggle--m-split-button--m-action--m-secondary--child--BorderLeftColor: var(--pf-global--primary-color--100);
|
|
16436
16437
|
--pf-c-menu-toggle__button__controls--MarginRight: var(--pf-global--spacer--sm);
|
|
16437
16438
|
--pf-c-menu-toggle__button__controls--MarginLeft: var(--pf-global--spacer--sm);
|
|
16439
|
+
--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginTop: calc(var(--pf-c-menu-toggle--PaddingTop) * -1);
|
|
16440
|
+
--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginRight: calc(var(--pf-c-menu-toggle--PaddingRight) * -1);
|
|
16441
|
+
--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginBottom: calc(var(--pf-c-menu-toggle--PaddingBottom) * -1);
|
|
16442
|
+
--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginLeft: calc(var(--pf-c-menu-toggle--PaddingLeft) * -1);
|
|
16443
|
+
--pf-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
16438
16444
|
position: relative;
|
|
16439
16445
|
display: inline-flex;
|
|
16440
16446
|
align-items: center;
|
|
@@ -16443,6 +16449,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
16443
16449
|
font-size: var(--pf-c-menu-toggle--FontSize);
|
|
16444
16450
|
line-height: var(--pf-c-menu-toggle--LineHeight);
|
|
16445
16451
|
color: var(--pf-c-menu-toggle--Color);
|
|
16452
|
+
cursor: pointer;
|
|
16446
16453
|
background-color: var(--pf-c-menu-toggle--BackgroundColor);
|
|
16447
16454
|
border: 0;
|
|
16448
16455
|
border-radius: var(--pf-c-menu-toggle--BorderRadius);
|
|
@@ -16541,7 +16548,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
16541
16548
|
--pf-c-menu-toggle--m-plain--Color: var(--pf-c-menu-toggle--m-plain--hover--Color);
|
|
16542
16549
|
}
|
|
16543
16550
|
|
|
16544
|
-
.pf-c-menu-toggle:focus {
|
|
16551
|
+
.pf-c-menu-toggle:focus, .pf-c-menu-toggle:focus-within {
|
|
16545
16552
|
--pf-c-menu-toggle--BackgroundColor: var(--pf-c-menu-toggle--focus--BackgroundColor);
|
|
16546
16553
|
--pf-c-menu-toggle--after--BorderBottomWidth: var(--pf-c-menu-toggle--focus--after--BorderBottomWidth);
|
|
16547
16554
|
--pf-c-menu-toggle--after--BorderBottomColor: var(--pf-c-menu-toggle--focus--after--BorderBottomColor);
|
|
@@ -16588,6 +16595,12 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
16588
16595
|
height: 100%;
|
|
16589
16596
|
}
|
|
16590
16597
|
|
|
16598
|
+
.pf-c-menu-toggle.pf-m-typeahead .pf-c-text-input-group {
|
|
16599
|
+
--pf-c-text-input-group__utilities--c-button--PaddingRight: var(--pf-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight);
|
|
16600
|
+
flex: 1;
|
|
16601
|
+
margin: var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginTop) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginRight) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginBottom) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginLeft);
|
|
16602
|
+
}
|
|
16603
|
+
|
|
16591
16604
|
.pf-c-menu-toggle.pf-m-split-button {
|
|
16592
16605
|
--pf-c-menu-toggle__toggle-icon--MarginRight: 0;
|
|
16593
16606
|
padding: 0;
|
|
@@ -16709,6 +16722,14 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
16709
16722
|
background-color: var(--pf-c-menu-toggle--m-split-button--child--disabled--BackgroundColor);
|
|
16710
16723
|
}
|
|
16711
16724
|
|
|
16725
|
+
.pf-c-menu-toggle.pf-m-typeahead, .pf-c-menu-toggle.pf-m-split-button {
|
|
16726
|
+
--pf-c-menu-toggle__toggle-icon--MarginRight: 0;
|
|
16727
|
+
}
|
|
16728
|
+
|
|
16729
|
+
.pf-c-menu-toggle.pf-m-full-width {
|
|
16730
|
+
width: 100%;
|
|
16731
|
+
}
|
|
16732
|
+
|
|
16712
16733
|
.pf-c-menu-toggle__button {
|
|
16713
16734
|
color: inherit;
|
|
16714
16735
|
border: 0;
|
|
@@ -26276,6 +26297,14 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
26276
26297
|
pointer-events: none;
|
|
26277
26298
|
}
|
|
26278
26299
|
|
|
26300
|
+
.pf-c-text-input-group.pf-m-plain {
|
|
26301
|
+
--pf-c-text-input-group--BackgroundColor: transparent;
|
|
26302
|
+
}
|
|
26303
|
+
|
|
26304
|
+
.pf-c-text-input-group.pf-m-plain .pf-c-text-input-group__text::before, .pf-c-text-input-group.pf-m-plain .pf-c-text-input-group__text::after {
|
|
26305
|
+
border: 0;
|
|
26306
|
+
}
|
|
26307
|
+
|
|
26279
26308
|
.pf-c-text-input-group__main {
|
|
26280
26309
|
display: flex;
|
|
26281
26310
|
flex: 1;
|