@patternfly/react-core 4.232.12 → 4.233.1
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 +30 -0
- package/dist/esm/components/ExpandableSection/ExpandableSection.d.ts +17 -3
- package/dist/esm/components/ExpandableSection/ExpandableSection.d.ts.map +1 -1
- package/dist/esm/components/ExpandableSection/ExpandableSection.js +39 -8
- package/dist/esm/components/ExpandableSection/ExpandableSection.js.map +1 -1
- package/dist/esm/components/ExpandableSection/ExpandableSectionToggle.d.ts +2 -0
- package/dist/esm/components/ExpandableSection/ExpandableSectionToggle.d.ts.map +1 -1
- package/dist/esm/components/ExpandableSection/ExpandableSectionToggle.js +4 -4
- package/dist/esm/components/ExpandableSection/ExpandableSectionToggle.js.map +1 -1
- package/dist/esm/components/InputGroup/InputGroup.d.ts.map +1 -1
- package/dist/esm/components/InputGroup/InputGroup.js +5 -3
- package/dist/esm/components/InputGroup/InputGroup.js.map +1 -1
- package/dist/esm/components/NumberInput/NumberInput.d.ts +5 -0
- package/dist/esm/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/esm/components/NumberInput/NumberInput.js +5 -4
- package/dist/esm/components/NumberInput/NumberInput.js.map +1 -1
- package/dist/esm/components/TimePicker/TimePicker.d.ts +1 -0
- package/dist/esm/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/esm/components/TimePicker/TimePicker.js +14 -2
- package/dist/esm/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/js/components/ExpandableSection/ExpandableSection.d.ts +17 -3
- package/dist/js/components/ExpandableSection/ExpandableSection.d.ts.map +1 -1
- package/dist/js/components/ExpandableSection/ExpandableSection.js +40 -9
- package/dist/js/components/ExpandableSection/ExpandableSection.js.map +1 -1
- package/dist/js/components/ExpandableSection/ExpandableSectionToggle.d.ts +2 -0
- package/dist/js/components/ExpandableSection/ExpandableSectionToggle.d.ts.map +1 -1
- package/dist/js/components/ExpandableSection/ExpandableSectionToggle.js +4 -4
- package/dist/js/components/ExpandableSection/ExpandableSectionToggle.js.map +1 -1
- package/dist/js/components/InputGroup/InputGroup.d.ts.map +1 -1
- package/dist/js/components/InputGroup/InputGroup.js +5 -3
- package/dist/js/components/InputGroup/InputGroup.js.map +1 -1
- package/dist/js/components/NumberInput/NumberInput.d.ts +5 -0
- package/dist/js/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/js/components/NumberInput/NumberInput.js +4 -3
- package/dist/js/components/NumberInput/NumberInput.js.map +1 -1
- package/dist/js/components/TimePicker/TimePicker.d.ts +1 -0
- package/dist/js/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/js/components/TimePicker/TimePicker.js +14 -2
- package/dist/js/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/styles/base-no-reset.css +2 -2
- package/dist/styles/base.css +2 -2
- package/dist/umd/react-core.css +21270 -21262
- package/dist/umd/react-core.js +70 -20
- package/dist/umd/react-core.min.css +214 -206
- package/dist/umd/react-core.min.js +5 -5
- package/package.json +6 -6
- package/src/components/ExpandableSection/ExpandableSection.tsx +73 -19
- package/src/components/ExpandableSection/ExpandableSectionToggle.tsx +15 -9
- package/src/components/ExpandableSection/__tests__/ExpandableSection.test.tsx +27 -1
- package/src/components/ExpandableSection/examples/ExpandableSection.md +7 -0
- package/src/components/ExpandableSection/examples/ExpandableSectionTruncateExpansion.tsx +27 -0
- package/src/components/InputGroup/InputGroup.tsx +5 -3
- package/src/components/InputGroup/__tests__/InputGroup.test.tsx +30 -0
- package/src/components/NumberInput/NumberInput.tsx +14 -8
- package/src/components/NumberInput/__tests__/NumberInput.test.tsx +16 -0
- package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +292 -18
- package/src/components/NumberInput/examples/NumberInput.md +5 -0
- package/src/components/NumberInput/examples/WithStatus.tsx +59 -0
- package/src/components/TimePicker/TimePicker.tsx +19 -11
package/dist/umd/react-core.js
CHANGED
|
@@ -8576,9 +8576,11 @@
|
|
|
8576
8576
|
const idItem = React__namespace.Children.toArray(children).find((child) => !formCtrls.includes(child.type.displayName) && child.props.id);
|
|
8577
8577
|
const inputGroupRef = innerRef || React__namespace.useRef(null);
|
|
8578
8578
|
return (React__namespace.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$U.inputGroup, className) }, props), idItem
|
|
8579
|
-
? React__namespace.Children.map(children, (child) => formCtrls.includes(child.type.displayName)
|
|
8580
|
-
?
|
|
8581
|
-
: child
|
|
8579
|
+
? React__namespace.Children.map(children, (child) => !formCtrls.includes(child.type.displayName) || child.props['aria-describedby']
|
|
8580
|
+
? child
|
|
8581
|
+
: React__namespace.cloneElement(child, {
|
|
8582
|
+
'aria-describedby': child.props['aria-describedby'] === '' ? undefined : idItem.props.id
|
|
8583
|
+
}))
|
|
8582
8584
|
: children));
|
|
8583
8585
|
};
|
|
8584
8586
|
InputGroup.displayName = 'InputGroup';
|
|
@@ -11869,9 +11871,27 @@
|
|
|
11869
11871
|
}
|
|
11870
11872
|
};
|
|
11871
11873
|
|
|
11874
|
+
const c_expandable_section_m_truncate__content_LineClamp = {
|
|
11875
|
+
"name": "--pf-c-expandable-section--m-truncate__content--LineClamp",
|
|
11876
|
+
"value": "3",
|
|
11877
|
+
"var": "var(--pf-c-expandable-section--m-truncate__content--LineClamp)"
|
|
11878
|
+
};
|
|
11879
|
+
|
|
11880
|
+
exports.ExpandableSectionVariant = void 0;
|
|
11881
|
+
(function (ExpandableSectionVariant) {
|
|
11882
|
+
ExpandableSectionVariant["default"] = "default";
|
|
11883
|
+
ExpandableSectionVariant["truncate"] = "truncate";
|
|
11884
|
+
})(exports.ExpandableSectionVariant || (exports.ExpandableSectionVariant = {}));
|
|
11885
|
+
const setLineClamp = (lines, element) => {
|
|
11886
|
+
if (!element || lines < 1) {
|
|
11887
|
+
return;
|
|
11888
|
+
}
|
|
11889
|
+
element.style.setProperty(c_expandable_section_m_truncate__content_LineClamp.name, lines.toString());
|
|
11890
|
+
};
|
|
11872
11891
|
class ExpandableSection extends React__namespace.Component {
|
|
11873
11892
|
constructor(props) {
|
|
11874
11893
|
super(props);
|
|
11894
|
+
this.expandableContentRef = React__namespace.createRef();
|
|
11875
11895
|
this.state = {
|
|
11876
11896
|
isExpanded: props.isExpanded
|
|
11877
11897
|
};
|
|
@@ -11885,10 +11905,25 @@
|
|
|
11885
11905
|
}
|
|
11886
11906
|
return toggleText;
|
|
11887
11907
|
}
|
|
11908
|
+
componentDidMount() {
|
|
11909
|
+
if (this.props.variant === exports.ExpandableSectionVariant.truncate && this.props.truncateMaxLines) {
|
|
11910
|
+
const expandableContent = this.expandableContentRef.current;
|
|
11911
|
+
setLineClamp(this.props.truncateMaxLines, expandableContent);
|
|
11912
|
+
}
|
|
11913
|
+
}
|
|
11914
|
+
componentDidUpdate(prevProps) {
|
|
11915
|
+
if (this.props.variant === exports.ExpandableSectionVariant.truncate &&
|
|
11916
|
+
prevProps.truncateMaxLines !== this.props.truncateMaxLines) {
|
|
11917
|
+
const expandableContent = this.expandableContentRef.current;
|
|
11918
|
+
setLineClamp(this.props.truncateMaxLines, expandableContent);
|
|
11919
|
+
}
|
|
11920
|
+
}
|
|
11888
11921
|
render() {
|
|
11889
11922
|
const _a = this.props, { onToggle: onToggleProp,
|
|
11890
11923
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11891
|
-
isActive, className, toggleText, toggleTextExpanded, toggleTextCollapsed, toggleContent, children, isExpanded, isDetached, displaySize, isWidthLimited, isIndented, contentId
|
|
11924
|
+
isActive, className, toggleText, toggleTextExpanded, toggleTextCollapsed, toggleContent, children, isExpanded, isDetached, displaySize, isWidthLimited, isIndented, contentId, variant,
|
|
11925
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11926
|
+
truncateMaxLines } = _a, props = __rest$1(_a, ["onToggle", "isActive", "className", "toggleText", "toggleTextExpanded", "toggleTextCollapsed", "toggleContent", "children", "isExpanded", "isDetached", "displaySize", "isWidthLimited", "isIndented", "contentId", "variant", "truncateMaxLines"]);
|
|
11892
11927
|
let onToggle = onToggleProp;
|
|
11893
11928
|
let propOrStateIsExpanded = isExpanded;
|
|
11894
11929
|
// uncontrolled
|
|
@@ -11899,12 +11934,14 @@
|
|
|
11899
11934
|
};
|
|
11900
11935
|
}
|
|
11901
11936
|
const computedToggleText = this.calculateToggleText(toggleText, toggleTextExpanded, toggleTextCollapsed, propOrStateIsExpanded);
|
|
11902
|
-
|
|
11903
|
-
|
|
11904
|
-
React__namespace.createElement(
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
|
|
11937
|
+
const expandableToggle = !isDetached && (React__namespace.createElement("button", { className: css(styles$I.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, onClick: () => onToggle(!propOrStateIsExpanded) },
|
|
11938
|
+
variant !== exports.ExpandableSectionVariant.truncate && (React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleIcon) },
|
|
11939
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true }))),
|
|
11940
|
+
React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleText) }, toggleContent || computedToggleText)));
|
|
11941
|
+
return (React__namespace.createElement("div", Object.assign({ className: css(styles$I.expandableSection, propOrStateIsExpanded && styles$I.modifiers.expanded, isActive && styles$I.modifiers.active, isDetached && styles$I.modifiers.detached, displaySize === 'large' && styles$I.modifiers.displayLg, isWidthLimited && styles$I.modifiers.limitWidth, isIndented && styles$I.modifiers.indented, variant === exports.ExpandableSectionVariant.truncate && styles$I.modifiers.truncate, className) }, props),
|
|
11942
|
+
variant === exports.ExpandableSectionVariant.default && expandableToggle,
|
|
11943
|
+
React__namespace.createElement("div", { ref: this.expandableContentRef, className: css(styles$I.expandableSectionContent), hidden: variant !== exports.ExpandableSectionVariant.truncate && !propOrStateIsExpanded, id: contentId }, children),
|
|
11944
|
+
variant === exports.ExpandableSectionVariant.truncate && expandableToggle));
|
|
11908
11945
|
}
|
|
11909
11946
|
}
|
|
11910
11947
|
ExpandableSection.displayName = 'ExpandableSection';
|
|
@@ -11920,15 +11957,16 @@
|
|
|
11920
11957
|
displaySize: 'default',
|
|
11921
11958
|
isWidthLimited: false,
|
|
11922
11959
|
isIndented: false,
|
|
11923
|
-
contentId: ''
|
|
11960
|
+
contentId: '',
|
|
11961
|
+
variant: 'default'
|
|
11924
11962
|
};
|
|
11925
11963
|
|
|
11926
11964
|
const ExpandableSectionToggle = (_a) => {
|
|
11927
|
-
var { children, className = '', isExpanded = false, onToggle, contentId, direction = 'down' } = _a, props = __rest$1(_a, ["children", "className", "isExpanded", "onToggle", "contentId", "direction"]);
|
|
11928
|
-
return (React__namespace.createElement("div", Object.assign({
|
|
11965
|
+
var { children, className = '', isExpanded = false, onToggle, contentId, direction = 'down', hasTruncatedContent = false } = _a, props = __rest$1(_a, ["children", "className", "isExpanded", "onToggle", "contentId", "direction", "hasTruncatedContent"]);
|
|
11966
|
+
return (React__namespace.createElement("div", Object.assign({ className: css(styles$I.expandableSection, isExpanded && styles$I.modifiers.expanded, styles$I.modifiers.detached, hasTruncatedContent && styles$I.modifiers.truncate, className) }, props),
|
|
11929
11967
|
React__namespace.createElement("button", { className: css(styles$I.expandableSectionToggle), type: "button", "aria-expanded": isExpanded, "aria-controls": contentId, onClick: () => onToggle(!isExpanded) },
|
|
11930
|
-
React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleIcon, isExpanded && direction === 'up' && styles$I.modifiers.expandTop) },
|
|
11931
|
-
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true })),
|
|
11968
|
+
!hasTruncatedContent && (React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleIcon, isExpanded && direction === 'up' && styles$I.modifiers.expandTop) },
|
|
11969
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true }))),
|
|
11932
11970
|
React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleText) }, children))));
|
|
11933
11971
|
};
|
|
11934
11972
|
ExpandableSectionToggle.displayName = 'ExpandableSectionToggle';
|
|
@@ -20118,12 +20156,23 @@
|
|
|
20118
20156
|
React__namespace.createElement(MenuContent, { maxMenuHeight: "200px" },
|
|
20119
20157
|
React__namespace.createElement(MenuList, { "aria-label": ariaLabel }, options.map((option, index) => (React__namespace.createElement(MenuItem, { onClick: this.onSelect, key: option, id: `${randomId}-option-${index}` }, option)))))));
|
|
20120
20158
|
const textInput = (React__namespace.createElement(TextInput, Object.assign({ "aria-haspopup": "menu", className: css(formStyles.formControl), id: `${randomId}-input`, "aria-label": ariaLabel, validated: isInvalid ? 'error' : 'default', placeholder: placeholder, value: timeState || '', type: "text", iconVariant: "clock", onClick: this.onInputClick, onChange: this.onInputChange, onBlur: this.onBlur, autoComplete: "off", isDisabled: isDisabled, ref: this.inputRef }, inputProps)));
|
|
20159
|
+
let calculatedAppendTo;
|
|
20160
|
+
switch (menuAppendTo) {
|
|
20161
|
+
case 'inline':
|
|
20162
|
+
calculatedAppendTo = () => this.toggleRef.current;
|
|
20163
|
+
break;
|
|
20164
|
+
case 'parent':
|
|
20165
|
+
calculatedAppendTo = getParentElement;
|
|
20166
|
+
break;
|
|
20167
|
+
default:
|
|
20168
|
+
calculatedAppendTo = menuAppendTo;
|
|
20169
|
+
}
|
|
20121
20170
|
return (React__namespace.createElement("div", { ref: this.baseComponentRef, className: css(datePickerStyles.datePicker, className) },
|
|
20122
20171
|
React__namespace.createElement("div", Object.assign({ className: css(datePickerStyles.datePickerInput), style: style }, props),
|
|
20123
20172
|
React__namespace.createElement(InputGroup, null,
|
|
20124
20173
|
React__namespace.createElement("div", { id: randomId },
|
|
20125
|
-
React__namespace.createElement("div", { ref: this.toggleRef, style: { paddingLeft: '0' } },
|
|
20126
|
-
|
|
20174
|
+
React__namespace.createElement("div", { ref: this.toggleRef, style: { paddingLeft: '0' } },
|
|
20175
|
+
React__namespace.createElement(Popper, { appendTo: calculatedAppendTo, trigger: textInput, popper: menuContainer, isVisible: isTimeOptionsOpen })))),
|
|
20127
20176
|
isInvalid && (React__namespace.createElement("div", { className: css(datePickerStyles.datePickerHelperText, datePickerStyles.modifiers.error) }, !isValidFormat ? invalidFormatErrorMessage : invalidMinMaxErrorMessage)))));
|
|
20128
20177
|
}
|
|
20129
20178
|
}
|
|
@@ -20144,6 +20193,7 @@
|
|
|
20144
20193
|
inputProps: {},
|
|
20145
20194
|
minTime: '',
|
|
20146
20195
|
maxTime: '',
|
|
20196
|
+
isOpen: false,
|
|
20147
20197
|
setIsOpen: () => { }
|
|
20148
20198
|
};
|
|
20149
20199
|
|
|
@@ -20710,7 +20760,7 @@
|
|
|
20710
20760
|
}
|
|
20711
20761
|
};
|
|
20712
20762
|
const NumberInput = (_a) => {
|
|
20713
|
-
var { value = 0, className, widthChars, isDisabled = false, onMinus = () => { }, onChange, onBlur, onPlus = () => { }, unit, unitPosition = 'after', min, max, inputName, inputAriaLabel = 'Input', minusBtnAriaLabel = 'Minus', plusBtnAriaLabel = 'Plus', inputProps, minusBtnProps, plusBtnProps } = _a, props = __rest$1(_a, ["value", "className", "widthChars", "isDisabled", "onMinus", "onChange", "onBlur", "onPlus", "unit", "unitPosition", "min", "max", "inputName", "inputAriaLabel", "minusBtnAriaLabel", "plusBtnAriaLabel", "inputProps", "minusBtnProps", "plusBtnProps"]);
|
|
20763
|
+
var { value = 0, className, widthChars, isDisabled = false, validated = exports.ValidatedOptions.default, onMinus = () => { }, onChange, onBlur, onPlus = () => { }, unit, unitPosition = 'after', min, max, inputName, inputAriaLabel = 'Input', minusBtnAriaLabel = 'Minus', plusBtnAriaLabel = 'Plus', inputProps, minusBtnProps, plusBtnProps } = _a, props = __rest$1(_a, ["value", "className", "widthChars", "isDisabled", "validated", "onMinus", "onChange", "onBlur", "onPlus", "unit", "unitPosition", "min", "max", "inputName", "inputAriaLabel", "minusBtnAriaLabel", "plusBtnAriaLabel", "inputProps", "minusBtnProps", "plusBtnProps"]);
|
|
20714
20764
|
const numberInputUnit = React__namespace.createElement("div", { className: css(styles$a.numberInputUnit) }, unit);
|
|
20715
20765
|
const keyDownHandler = inputProps && inputProps.onKeyDown ? inputProps.onKeyDown : defaultKeyDownHandler({ inputName, onMinus, onPlus });
|
|
20716
20766
|
const handleBlur = (event) => {
|
|
@@ -20722,7 +20772,7 @@
|
|
|
20722
20772
|
onBlur(event);
|
|
20723
20773
|
}
|
|
20724
20774
|
};
|
|
20725
|
-
return (React__namespace.createElement("div", Object.assign({ className: css(styles$a.numberInput, className) }, (widthChars && {
|
|
20775
|
+
return (React__namespace.createElement("div", Object.assign({ className: css(styles$a.numberInput, validated !== 'default' && styles$a.modifiers.status, className) }, (widthChars && {
|
|
20726
20776
|
style: Object.assign({ '--pf-c-number-input--c-form-control--width-chars': widthChars }, props.style)
|
|
20727
20777
|
}), props),
|
|
20728
20778
|
unit && unitPosition === 'before' && numberInputUnit,
|
|
@@ -20730,7 +20780,7 @@
|
|
|
20730
20780
|
React__namespace.createElement(Button, Object.assign({ variant: "control", "aria-label": minusBtnAriaLabel, isDisabled: isDisabled || value <= min, onClick: evt => onMinus(evt, inputName) }, minusBtnProps),
|
|
20731
20781
|
React__namespace.createElement("span", { className: css(styles$a.numberInputIcon) },
|
|
20732
20782
|
React__namespace.createElement(MinusIcon, { "aria-hidden": "true" }))),
|
|
20733
|
-
React__namespace.createElement(
|
|
20783
|
+
React__namespace.createElement(TextInput, Object.assign({ type: "number", value: value, name: inputName, "aria-label": inputAriaLabel }, (isDisabled && { isDisabled }), (onChange && { onChange: (value, event) => onChange(event) }), { onBlur: handleBlur }, (!onChange && { isReadOnly: true }), { onKeyDown: keyDownHandler, validated: validated }, inputProps)),
|
|
20734
20784
|
React__namespace.createElement(Button, Object.assign({ variant: "control", "aria-label": plusBtnAriaLabel, isDisabled: isDisabled || value >= max, onClick: evt => onPlus(evt, inputName) }, plusBtnProps),
|
|
20735
20785
|
React__namespace.createElement("span", { className: css(styles$a.numberInputIcon) },
|
|
20736
20786
|
React__namespace.createElement(PlusIcon, { "aria-hidden": "true" })))),
|
|
@@ -2590,6 +2590,10 @@ button.pf-c-breadcrumb__link {
|
|
|
2590
2590
|
--pf-c-button--m-tertiary--focus--Color: var(--pf-global--palette--black-100);
|
|
2591
2591
|
--pf-c-button--m-tertiary--active--after--BorderColor: var(--pf-global--BorderColor--100);
|
|
2592
2592
|
--pf-c-button--m-tertiary--active--Color: var(--pf-global--palette--black-100);
|
|
2593
|
+
--pf-c-button--m-warning--Color: var(--pf-global--palette--black-900);
|
|
2594
|
+
--pf-c-button--m-warning--hover--Color: var(--pf-global--palette--black-900);
|
|
2595
|
+
--pf-c-button--m-warning--focus--Color: var(--pf-global--palette--black-900);
|
|
2596
|
+
--pf-c-button--m-warning--active--Color: var(--pf-global--palette--black-900);
|
|
2593
2597
|
--pf-c-button--m-warning--hover--BackgroundColor: var(--pf-global--warning-color--200);
|
|
2594
2598
|
--pf-c-button--m-warning--focus--BackgroundColor: var(--pf-global--warning-color--200);
|
|
2595
2599
|
--pf-c-button--m-warning--active--BackgroundColor: var(--pf-global--warning-color--200);
|
|
@@ -8560,6 +8564,10 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
8560
8564
|
overflow: hidden;
|
|
8561
8565
|
}
|
|
8562
8566
|
|
|
8567
|
+
.pf-c-expandable-section.pf-m-detached {
|
|
8568
|
+
--pf-c-expandable-section--m-truncate__toggle--MarginTop: 0;
|
|
8569
|
+
}
|
|
8570
|
+
|
|
8563
8571
|
.pf-c-expandable-section__toggle {
|
|
8564
8572
|
display: flex;
|
|
8565
8573
|
padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
|
|
@@ -16796,212 +16804,6 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
16796
16804
|
--pf-c-pagination--m-sticky--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
16797
16805
|
}
|
|
16798
16806
|
|
|
16799
|
-
.pf-c-popover {
|
|
16800
|
-
--pf-c-popover--FontSize: var(--pf-global--FontSize--sm);
|
|
16801
|
-
--pf-c-popover--MinWidth: calc(var(--pf-c-popover__content--PaddingLeft) + var(--pf-c-popover__content--PaddingRight) + 18.75rem);
|
|
16802
|
-
--pf-c-popover--MaxWidth: calc(var(--pf-c-popover__content--PaddingLeft) + var(--pf-c-popover__content--PaddingRight) + 18.75rem);
|
|
16803
|
-
--pf-c-popover--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
16804
|
-
--pf-c-popover--m-danger__title-icon--Color: var(--pf-global--danger-color--100);
|
|
16805
|
-
--pf-c-popover--m-warning__title-icon--Color: var(--pf-global--warning-color--100);
|
|
16806
|
-
--pf-c-popover--m-success__title-icon--Color: var(--pf-global--success-color--100);
|
|
16807
|
-
--pf-c-popover--m-info__title-icon--Color: var(--pf-global--info-color--100);
|
|
16808
|
-
--pf-c-popover--m-default__title-icon--Color: var(--pf-global--default-color--200);
|
|
16809
|
-
--pf-c-popover--m-danger__title-text--Color: var(--pf-global--danger-color--200);
|
|
16810
|
-
--pf-c-popover--m-warning__title-text--Color: var(--pf-global--warning-color--200);
|
|
16811
|
-
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--200);
|
|
16812
|
-
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--200);
|
|
16813
|
-
--pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--300);
|
|
16814
|
-
--pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
16815
|
-
--pf-c-popover__content--PaddingTop: var(--pf-global--spacer--md);
|
|
16816
|
-
--pf-c-popover__content--PaddingRight: var(--pf-global--spacer--md);
|
|
16817
|
-
--pf-c-popover__content--PaddingBottom: var(--pf-global--spacer--md);
|
|
16818
|
-
--pf-c-popover__content--PaddingLeft: var(--pf-global--spacer--md);
|
|
16819
|
-
--pf-c-popover__arrow--Width: var(--pf-global--arrow--width-lg);
|
|
16820
|
-
--pf-c-popover__arrow--Height: var(--pf-global--arrow--width-lg);
|
|
16821
|
-
--pf-c-popover__arrow--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
16822
|
-
--pf-c-popover__arrow--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
16823
|
-
--pf-c-popover__arrow--m-top--TranslateX: -50%;
|
|
16824
|
-
--pf-c-popover__arrow--m-top--TranslateY: 50%;
|
|
16825
|
-
--pf-c-popover__arrow--m-top--Rotate: 45deg;
|
|
16826
|
-
--pf-c-popover__arrow--m-right--TranslateX: -50%;
|
|
16827
|
-
--pf-c-popover__arrow--m-right--TranslateY: -50%;
|
|
16828
|
-
--pf-c-popover__arrow--m-right--Rotate: 45deg;
|
|
16829
|
-
--pf-c-popover__arrow--m-bottom--TranslateX: -50%;
|
|
16830
|
-
--pf-c-popover__arrow--m-bottom--TranslateY: -50%;
|
|
16831
|
-
--pf-c-popover__arrow--m-bottom--Rotate: 45deg;
|
|
16832
|
-
--pf-c-popover__arrow--m-left--TranslateX: 50%;
|
|
16833
|
-
--pf-c-popover__arrow--m-left--TranslateY: -50%;
|
|
16834
|
-
--pf-c-popover__arrow--m-left--Rotate: 45deg;
|
|
16835
|
-
--pf-c-popover--c-button--MarginLeft: var(--pf-global--spacer--sm);
|
|
16836
|
-
--pf-c-popover--c-button--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
|
|
16837
|
-
--pf-c-popover--c-button--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
|
|
16838
|
-
--pf-c-popover--c-button--sibling--PaddingRight: var(--pf-global--spacer--2xl);
|
|
16839
|
-
--pf-c-popover--c-title--MarginBottom: var(--pf-global--spacer--sm);
|
|
16840
|
-
--pf-c-popover__title--MarginBottom: var(--pf-global--spacer--sm);
|
|
16841
|
-
--pf-c-popover__title--LineHeight: var(--pf-global--LineHeight--md);
|
|
16842
|
-
--pf-c-popover__title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
|
|
16843
|
-
--pf-c-popover__title--FontSize: var(--pf-global--FontSize--md);
|
|
16844
|
-
--pf-c-popover__title-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
16845
|
-
--pf-c-popover__title-icon--Color: var(--pf-global--Color--100);
|
|
16846
|
-
--pf-c-popover__footer--MarginTop: var(--pf-global--spacer--md);
|
|
16847
|
-
position: relative;
|
|
16848
|
-
min-width: var(--pf-c-popover--MinWidth);
|
|
16849
|
-
max-width: var(--pf-c-popover--MaxWidth);
|
|
16850
|
-
font-size: var(--pf-c-popover--FontSize);
|
|
16851
|
-
box-shadow: var(--pf-c-popover--BoxShadow);
|
|
16852
|
-
}
|
|
16853
|
-
|
|
16854
|
-
.pf-c-popover.pf-m-no-padding {
|
|
16855
|
-
--pf-c-popover__content--PaddingTop: 0px;
|
|
16856
|
-
--pf-c-popover__content--PaddingRight: 0px;
|
|
16857
|
-
--pf-c-popover__content--PaddingBottom: 0px;
|
|
16858
|
-
--pf-c-popover__content--PaddingLeft: 0px;
|
|
16859
|
-
}
|
|
16860
|
-
|
|
16861
|
-
.pf-c-popover.pf-m-width-auto {
|
|
16862
|
-
--pf-c-popover--MinWidth: auto;
|
|
16863
|
-
--pf-c-popover--MaxWidth: none;
|
|
16864
|
-
}
|
|
16865
|
-
|
|
16866
|
-
.pf-c-popover.pf-m-top .pf-c-popover__arrow, .pf-c-popover.pf-m-top-left .pf-c-popover__arrow, .pf-c-popover.pf-m-top-right .pf-c-popover__arrow {
|
|
16867
|
-
bottom: 0;
|
|
16868
|
-
left: 50%;
|
|
16869
|
-
transform: translateX(var(--pf-c-popover__arrow--m-top--TranslateX)) translateY(var(--pf-c-popover__arrow--m-top--TranslateY)) rotate(var(--pf-c-popover__arrow--m-top--Rotate));
|
|
16870
|
-
}
|
|
16871
|
-
|
|
16872
|
-
.pf-c-popover.pf-m-bottom .pf-c-popover__arrow, .pf-c-popover.pf-m-bottom-left .pf-c-popover__arrow, .pf-c-popover.pf-m-bottom-right .pf-c-popover__arrow {
|
|
16873
|
-
top: 0;
|
|
16874
|
-
left: 50%;
|
|
16875
|
-
transform: translateX(var(--pf-c-popover__arrow--m-bottom--TranslateX)) translateY(var(--pf-c-popover__arrow--m-bottom--TranslateY)) rotate(var(--pf-c-popover__arrow--m-bottom--Rotate));
|
|
16876
|
-
}
|
|
16877
|
-
|
|
16878
|
-
.pf-c-popover.pf-m-left .pf-c-popover__arrow, .pf-c-popover.pf-m-left-top .pf-c-popover__arrow, .pf-c-popover.pf-m-left-bottom .pf-c-popover__arrow {
|
|
16879
|
-
top: 50%;
|
|
16880
|
-
right: 0;
|
|
16881
|
-
transform: translateX(var(--pf-c-popover__arrow--m-left--TranslateX)) translateY(var(--pf-c-popover__arrow--m-left--TranslateY)) rotate(var(--pf-c-popover__arrow--m-left--Rotate));
|
|
16882
|
-
}
|
|
16883
|
-
|
|
16884
|
-
.pf-c-popover.pf-m-right .pf-c-popover__arrow, .pf-c-popover.pf-m-right-top .pf-c-popover__arrow, .pf-c-popover.pf-m-right-bottom .pf-c-popover__arrow {
|
|
16885
|
-
top: 50%;
|
|
16886
|
-
left: 0;
|
|
16887
|
-
transform: translateX(var(--pf-c-popover__arrow--m-right--TranslateX)) translateY(var(--pf-c-popover__arrow--m-right--TranslateY)) rotate(var(--pf-c-popover__arrow--m-right--Rotate));
|
|
16888
|
-
}
|
|
16889
|
-
|
|
16890
|
-
.pf-c-popover.pf-m-left-top .pf-c-popover__arrow, .pf-c-popover.pf-m-right-top .pf-c-popover__arrow {
|
|
16891
|
-
top: var(--pf-c-popover__arrow--Height);
|
|
16892
|
-
}
|
|
16893
|
-
|
|
16894
|
-
.pf-c-popover.pf-m-left-bottom .pf-c-popover__arrow, .pf-c-popover.pf-m-right-bottom .pf-c-popover__arrow {
|
|
16895
|
-
top: auto;
|
|
16896
|
-
bottom: 0;
|
|
16897
|
-
}
|
|
16898
|
-
|
|
16899
|
-
.pf-c-popover.pf-m-top-left .pf-c-popover__arrow, .pf-c-popover.pf-m-bottom-left .pf-c-popover__arrow {
|
|
16900
|
-
left: var(--pf-c-popover__arrow--Width);
|
|
16901
|
-
}
|
|
16902
|
-
|
|
16903
|
-
.pf-c-popover.pf-m-top-right .pf-c-popover__arrow, .pf-c-popover.pf-m-bottom-right .pf-c-popover__arrow {
|
|
16904
|
-
right: 0;
|
|
16905
|
-
left: auto;
|
|
16906
|
-
}
|
|
16907
|
-
|
|
16908
|
-
.pf-c-popover.pf-m-danger {
|
|
16909
|
-
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-danger__title-icon--Color);
|
|
16910
|
-
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-danger__title-text--Color);
|
|
16911
|
-
}
|
|
16912
|
-
|
|
16913
|
-
.pf-c-popover.pf-m-warning {
|
|
16914
|
-
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-warning__title-icon--Color);
|
|
16915
|
-
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-warning__title-text--Color);
|
|
16916
|
-
}
|
|
16917
|
-
|
|
16918
|
-
.pf-c-popover.pf-m-success {
|
|
16919
|
-
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-success__title-icon--Color);
|
|
16920
|
-
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-success__title-text--Color);
|
|
16921
|
-
}
|
|
16922
|
-
|
|
16923
|
-
.pf-c-popover.pf-m-default {
|
|
16924
|
-
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-default__title-icon--Color);
|
|
16925
|
-
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-default__title-text--Color);
|
|
16926
|
-
}
|
|
16927
|
-
|
|
16928
|
-
.pf-c-popover.pf-m-info {
|
|
16929
|
-
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-info__title-icon--Color);
|
|
16930
|
-
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-info__title-text--Color);
|
|
16931
|
-
}
|
|
16932
|
-
|
|
16933
|
-
.pf-c-popover__content {
|
|
16934
|
-
position: relative;
|
|
16935
|
-
padding: var(--pf-c-popover__content--PaddingTop) var(--pf-c-popover__content--PaddingRight) var(--pf-c-popover__content--PaddingBottom) var(--pf-c-popover__content--PaddingLeft);
|
|
16936
|
-
background-color: var(--pf-c-popover__content--BackgroundColor);
|
|
16937
|
-
}
|
|
16938
|
-
|
|
16939
|
-
.pf-c-popover__content > .pf-c-title {
|
|
16940
|
-
margin-bottom: var(--pf-c-popover--c-title--MarginBottom);
|
|
16941
|
-
}
|
|
16942
|
-
|
|
16943
|
-
.pf-c-popover__content > .pf-c-button {
|
|
16944
|
-
position: absolute;
|
|
16945
|
-
top: var(--pf-c-popover--c-button--Top);
|
|
16946
|
-
right: var(--pf-c-popover--c-button--Right);
|
|
16947
|
-
}
|
|
16948
|
-
|
|
16949
|
-
.pf-c-popover__content > .pf-c-button + * {
|
|
16950
|
-
padding-right: var(--pf-c-popover--c-button--sibling--PaddingRight);
|
|
16951
|
-
}
|
|
16952
|
-
|
|
16953
|
-
.pf-c-popover__arrow {
|
|
16954
|
-
position: absolute;
|
|
16955
|
-
width: var(--pf-c-popover__arrow--Width);
|
|
16956
|
-
height: var(--pf-c-popover__arrow--Height);
|
|
16957
|
-
pointer-events: none;
|
|
16958
|
-
background-color: var(--pf-c-popover__arrow--BackgroundColor);
|
|
16959
|
-
box-shadow: var(--pf-c-popover__arrow--BoxShadow);
|
|
16960
|
-
}
|
|
16961
|
-
|
|
16962
|
-
.pf-c-popover__title {
|
|
16963
|
-
flex: 0 0 auto;
|
|
16964
|
-
margin-bottom: var(--pf-c-popover__title--MarginBottom);
|
|
16965
|
-
font-family: var(--pf-c-popover__title--FontFamily);
|
|
16966
|
-
font-size: var(--pf-c-popover__title--FontSize);
|
|
16967
|
-
line-height: var(--pf-c-popover__title--LineHeight);
|
|
16968
|
-
}
|
|
16969
|
-
|
|
16970
|
-
.pf-c-popover__title.pf-m-icon {
|
|
16971
|
-
display: flex;
|
|
16972
|
-
}
|
|
16973
|
-
|
|
16974
|
-
.pf-c-popover__title-icon {
|
|
16975
|
-
margin-right: var(--pf-c-popover__title-icon--MarginRight);
|
|
16976
|
-
color: var(--pf-c-popover__title-icon--Color);
|
|
16977
|
-
}
|
|
16978
|
-
|
|
16979
|
-
.pf-c-popover__title-text {
|
|
16980
|
-
color: var(--pf-c-popover__title-text--Color, inherit);
|
|
16981
|
-
}
|
|
16982
|
-
|
|
16983
|
-
.pf-c-popover__body {
|
|
16984
|
-
word-wrap: break-word;
|
|
16985
|
-
}
|
|
16986
|
-
|
|
16987
|
-
.pf-c-popover__footer {
|
|
16988
|
-
margin-top: var(--pf-c-popover__footer--MarginTop);
|
|
16989
|
-
}
|
|
16990
|
-
|
|
16991
|
-
:where(.pf-theme-dark) .pf-c-popover {
|
|
16992
|
-
--pf-c-popover--BoxShadow: none;
|
|
16993
|
-
--pf-c-popover__arrow--BoxShadow: none;
|
|
16994
|
-
--pf-c-popover__arrow--BackgroundColor: var(--pf-c-popover__content--BackgroundColor);
|
|
16995
|
-
--pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--200);
|
|
16996
|
-
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--100);
|
|
16997
|
-
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--100);
|
|
16998
|
-
}
|
|
16999
|
-
|
|
17000
|
-
:where(.pf-theme-dark) .pf-c-popover,
|
|
17001
|
-
:where(.pf-theme-dark) .pf-c-popover .pf-c-popover__arrow {
|
|
17002
|
-
border: 4px solid var(--pf-global--BorderColor--400);
|
|
17003
|
-
}
|
|
17004
|
-
|
|
17005
16807
|
.pf-c-progress {
|
|
17006
16808
|
--pf-c-progress--GridGap: var(--pf-global--spacer--md);
|
|
17007
16809
|
--pf-c-progress__bar--before--BackgroundColor: var(--pf-global--primary-color--100);
|
|
@@ -17888,6 +17690,212 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
17888
17690
|
cursor: not-allowed;
|
|
17889
17691
|
}
|
|
17890
17692
|
|
|
17693
|
+
.pf-c-popover {
|
|
17694
|
+
--pf-c-popover--FontSize: var(--pf-global--FontSize--sm);
|
|
17695
|
+
--pf-c-popover--MinWidth: calc(var(--pf-c-popover__content--PaddingLeft) + var(--pf-c-popover__content--PaddingRight) + 18.75rem);
|
|
17696
|
+
--pf-c-popover--MaxWidth: calc(var(--pf-c-popover__content--PaddingLeft) + var(--pf-c-popover__content--PaddingRight) + 18.75rem);
|
|
17697
|
+
--pf-c-popover--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
17698
|
+
--pf-c-popover--m-danger__title-icon--Color: var(--pf-global--danger-color--100);
|
|
17699
|
+
--pf-c-popover--m-warning__title-icon--Color: var(--pf-global--warning-color--100);
|
|
17700
|
+
--pf-c-popover--m-success__title-icon--Color: var(--pf-global--success-color--100);
|
|
17701
|
+
--pf-c-popover--m-info__title-icon--Color: var(--pf-global--info-color--100);
|
|
17702
|
+
--pf-c-popover--m-default__title-icon--Color: var(--pf-global--default-color--200);
|
|
17703
|
+
--pf-c-popover--m-danger__title-text--Color: var(--pf-global--danger-color--200);
|
|
17704
|
+
--pf-c-popover--m-warning__title-text--Color: var(--pf-global--warning-color--200);
|
|
17705
|
+
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--200);
|
|
17706
|
+
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--200);
|
|
17707
|
+
--pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--300);
|
|
17708
|
+
--pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
17709
|
+
--pf-c-popover__content--PaddingTop: var(--pf-global--spacer--md);
|
|
17710
|
+
--pf-c-popover__content--PaddingRight: var(--pf-global--spacer--md);
|
|
17711
|
+
--pf-c-popover__content--PaddingBottom: var(--pf-global--spacer--md);
|
|
17712
|
+
--pf-c-popover__content--PaddingLeft: var(--pf-global--spacer--md);
|
|
17713
|
+
--pf-c-popover__arrow--Width: var(--pf-global--arrow--width-lg);
|
|
17714
|
+
--pf-c-popover__arrow--Height: var(--pf-global--arrow--width-lg);
|
|
17715
|
+
--pf-c-popover__arrow--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
17716
|
+
--pf-c-popover__arrow--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
17717
|
+
--pf-c-popover__arrow--m-top--TranslateX: -50%;
|
|
17718
|
+
--pf-c-popover__arrow--m-top--TranslateY: 50%;
|
|
17719
|
+
--pf-c-popover__arrow--m-top--Rotate: 45deg;
|
|
17720
|
+
--pf-c-popover__arrow--m-right--TranslateX: -50%;
|
|
17721
|
+
--pf-c-popover__arrow--m-right--TranslateY: -50%;
|
|
17722
|
+
--pf-c-popover__arrow--m-right--Rotate: 45deg;
|
|
17723
|
+
--pf-c-popover__arrow--m-bottom--TranslateX: -50%;
|
|
17724
|
+
--pf-c-popover__arrow--m-bottom--TranslateY: -50%;
|
|
17725
|
+
--pf-c-popover__arrow--m-bottom--Rotate: 45deg;
|
|
17726
|
+
--pf-c-popover__arrow--m-left--TranslateX: 50%;
|
|
17727
|
+
--pf-c-popover__arrow--m-left--TranslateY: -50%;
|
|
17728
|
+
--pf-c-popover__arrow--m-left--Rotate: 45deg;
|
|
17729
|
+
--pf-c-popover--c-button--MarginLeft: var(--pf-global--spacer--sm);
|
|
17730
|
+
--pf-c-popover--c-button--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
|
|
17731
|
+
--pf-c-popover--c-button--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
|
|
17732
|
+
--pf-c-popover--c-button--sibling--PaddingRight: var(--pf-global--spacer--2xl);
|
|
17733
|
+
--pf-c-popover--c-title--MarginBottom: var(--pf-global--spacer--sm);
|
|
17734
|
+
--pf-c-popover__title--MarginBottom: var(--pf-global--spacer--sm);
|
|
17735
|
+
--pf-c-popover__title--LineHeight: var(--pf-global--LineHeight--md);
|
|
17736
|
+
--pf-c-popover__title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
|
|
17737
|
+
--pf-c-popover__title--FontSize: var(--pf-global--FontSize--md);
|
|
17738
|
+
--pf-c-popover__title-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
17739
|
+
--pf-c-popover__title-icon--Color: var(--pf-global--Color--100);
|
|
17740
|
+
--pf-c-popover__footer--MarginTop: var(--pf-global--spacer--md);
|
|
17741
|
+
position: relative;
|
|
17742
|
+
min-width: var(--pf-c-popover--MinWidth);
|
|
17743
|
+
max-width: var(--pf-c-popover--MaxWidth);
|
|
17744
|
+
font-size: var(--pf-c-popover--FontSize);
|
|
17745
|
+
box-shadow: var(--pf-c-popover--BoxShadow);
|
|
17746
|
+
}
|
|
17747
|
+
|
|
17748
|
+
.pf-c-popover.pf-m-no-padding {
|
|
17749
|
+
--pf-c-popover__content--PaddingTop: 0px;
|
|
17750
|
+
--pf-c-popover__content--PaddingRight: 0px;
|
|
17751
|
+
--pf-c-popover__content--PaddingBottom: 0px;
|
|
17752
|
+
--pf-c-popover__content--PaddingLeft: 0px;
|
|
17753
|
+
}
|
|
17754
|
+
|
|
17755
|
+
.pf-c-popover.pf-m-width-auto {
|
|
17756
|
+
--pf-c-popover--MinWidth: auto;
|
|
17757
|
+
--pf-c-popover--MaxWidth: none;
|
|
17758
|
+
}
|
|
17759
|
+
|
|
17760
|
+
.pf-c-popover.pf-m-top .pf-c-popover__arrow, .pf-c-popover.pf-m-top-left .pf-c-popover__arrow, .pf-c-popover.pf-m-top-right .pf-c-popover__arrow {
|
|
17761
|
+
bottom: 0;
|
|
17762
|
+
left: 50%;
|
|
17763
|
+
transform: translateX(var(--pf-c-popover__arrow--m-top--TranslateX)) translateY(var(--pf-c-popover__arrow--m-top--TranslateY)) rotate(var(--pf-c-popover__arrow--m-top--Rotate));
|
|
17764
|
+
}
|
|
17765
|
+
|
|
17766
|
+
.pf-c-popover.pf-m-bottom .pf-c-popover__arrow, .pf-c-popover.pf-m-bottom-left .pf-c-popover__arrow, .pf-c-popover.pf-m-bottom-right .pf-c-popover__arrow {
|
|
17767
|
+
top: 0;
|
|
17768
|
+
left: 50%;
|
|
17769
|
+
transform: translateX(var(--pf-c-popover__arrow--m-bottom--TranslateX)) translateY(var(--pf-c-popover__arrow--m-bottom--TranslateY)) rotate(var(--pf-c-popover__arrow--m-bottom--Rotate));
|
|
17770
|
+
}
|
|
17771
|
+
|
|
17772
|
+
.pf-c-popover.pf-m-left .pf-c-popover__arrow, .pf-c-popover.pf-m-left-top .pf-c-popover__arrow, .pf-c-popover.pf-m-left-bottom .pf-c-popover__arrow {
|
|
17773
|
+
top: 50%;
|
|
17774
|
+
right: 0;
|
|
17775
|
+
transform: translateX(var(--pf-c-popover__arrow--m-left--TranslateX)) translateY(var(--pf-c-popover__arrow--m-left--TranslateY)) rotate(var(--pf-c-popover__arrow--m-left--Rotate));
|
|
17776
|
+
}
|
|
17777
|
+
|
|
17778
|
+
.pf-c-popover.pf-m-right .pf-c-popover__arrow, .pf-c-popover.pf-m-right-top .pf-c-popover__arrow, .pf-c-popover.pf-m-right-bottom .pf-c-popover__arrow {
|
|
17779
|
+
top: 50%;
|
|
17780
|
+
left: 0;
|
|
17781
|
+
transform: translateX(var(--pf-c-popover__arrow--m-right--TranslateX)) translateY(var(--pf-c-popover__arrow--m-right--TranslateY)) rotate(var(--pf-c-popover__arrow--m-right--Rotate));
|
|
17782
|
+
}
|
|
17783
|
+
|
|
17784
|
+
.pf-c-popover.pf-m-left-top .pf-c-popover__arrow, .pf-c-popover.pf-m-right-top .pf-c-popover__arrow {
|
|
17785
|
+
top: var(--pf-c-popover__arrow--Height);
|
|
17786
|
+
}
|
|
17787
|
+
|
|
17788
|
+
.pf-c-popover.pf-m-left-bottom .pf-c-popover__arrow, .pf-c-popover.pf-m-right-bottom .pf-c-popover__arrow {
|
|
17789
|
+
top: auto;
|
|
17790
|
+
bottom: 0;
|
|
17791
|
+
}
|
|
17792
|
+
|
|
17793
|
+
.pf-c-popover.pf-m-top-left .pf-c-popover__arrow, .pf-c-popover.pf-m-bottom-left .pf-c-popover__arrow {
|
|
17794
|
+
left: var(--pf-c-popover__arrow--Width);
|
|
17795
|
+
}
|
|
17796
|
+
|
|
17797
|
+
.pf-c-popover.pf-m-top-right .pf-c-popover__arrow, .pf-c-popover.pf-m-bottom-right .pf-c-popover__arrow {
|
|
17798
|
+
right: 0;
|
|
17799
|
+
left: auto;
|
|
17800
|
+
}
|
|
17801
|
+
|
|
17802
|
+
.pf-c-popover.pf-m-danger {
|
|
17803
|
+
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-danger__title-icon--Color);
|
|
17804
|
+
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-danger__title-text--Color);
|
|
17805
|
+
}
|
|
17806
|
+
|
|
17807
|
+
.pf-c-popover.pf-m-warning {
|
|
17808
|
+
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-warning__title-icon--Color);
|
|
17809
|
+
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-warning__title-text--Color);
|
|
17810
|
+
}
|
|
17811
|
+
|
|
17812
|
+
.pf-c-popover.pf-m-success {
|
|
17813
|
+
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-success__title-icon--Color);
|
|
17814
|
+
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-success__title-text--Color);
|
|
17815
|
+
}
|
|
17816
|
+
|
|
17817
|
+
.pf-c-popover.pf-m-default {
|
|
17818
|
+
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-default__title-icon--Color);
|
|
17819
|
+
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-default__title-text--Color);
|
|
17820
|
+
}
|
|
17821
|
+
|
|
17822
|
+
.pf-c-popover.pf-m-info {
|
|
17823
|
+
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-info__title-icon--Color);
|
|
17824
|
+
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-info__title-text--Color);
|
|
17825
|
+
}
|
|
17826
|
+
|
|
17827
|
+
.pf-c-popover__content {
|
|
17828
|
+
position: relative;
|
|
17829
|
+
padding: var(--pf-c-popover__content--PaddingTop) var(--pf-c-popover__content--PaddingRight) var(--pf-c-popover__content--PaddingBottom) var(--pf-c-popover__content--PaddingLeft);
|
|
17830
|
+
background-color: var(--pf-c-popover__content--BackgroundColor);
|
|
17831
|
+
}
|
|
17832
|
+
|
|
17833
|
+
.pf-c-popover__content > .pf-c-title {
|
|
17834
|
+
margin-bottom: var(--pf-c-popover--c-title--MarginBottom);
|
|
17835
|
+
}
|
|
17836
|
+
|
|
17837
|
+
.pf-c-popover__content > .pf-c-button {
|
|
17838
|
+
position: absolute;
|
|
17839
|
+
top: var(--pf-c-popover--c-button--Top);
|
|
17840
|
+
right: var(--pf-c-popover--c-button--Right);
|
|
17841
|
+
}
|
|
17842
|
+
|
|
17843
|
+
.pf-c-popover__content > .pf-c-button + * {
|
|
17844
|
+
padding-right: var(--pf-c-popover--c-button--sibling--PaddingRight);
|
|
17845
|
+
}
|
|
17846
|
+
|
|
17847
|
+
.pf-c-popover__arrow {
|
|
17848
|
+
position: absolute;
|
|
17849
|
+
width: var(--pf-c-popover__arrow--Width);
|
|
17850
|
+
height: var(--pf-c-popover__arrow--Height);
|
|
17851
|
+
pointer-events: none;
|
|
17852
|
+
background-color: var(--pf-c-popover__arrow--BackgroundColor);
|
|
17853
|
+
box-shadow: var(--pf-c-popover__arrow--BoxShadow);
|
|
17854
|
+
}
|
|
17855
|
+
|
|
17856
|
+
.pf-c-popover__title {
|
|
17857
|
+
flex: 0 0 auto;
|
|
17858
|
+
margin-bottom: var(--pf-c-popover__title--MarginBottom);
|
|
17859
|
+
font-family: var(--pf-c-popover__title--FontFamily);
|
|
17860
|
+
font-size: var(--pf-c-popover__title--FontSize);
|
|
17861
|
+
line-height: var(--pf-c-popover__title--LineHeight);
|
|
17862
|
+
}
|
|
17863
|
+
|
|
17864
|
+
.pf-c-popover__title.pf-m-icon {
|
|
17865
|
+
display: flex;
|
|
17866
|
+
}
|
|
17867
|
+
|
|
17868
|
+
.pf-c-popover__title-icon {
|
|
17869
|
+
margin-right: var(--pf-c-popover__title-icon--MarginRight);
|
|
17870
|
+
color: var(--pf-c-popover__title-icon--Color);
|
|
17871
|
+
}
|
|
17872
|
+
|
|
17873
|
+
.pf-c-popover__title-text {
|
|
17874
|
+
color: var(--pf-c-popover__title-text--Color, inherit);
|
|
17875
|
+
}
|
|
17876
|
+
|
|
17877
|
+
.pf-c-popover__body {
|
|
17878
|
+
word-wrap: break-word;
|
|
17879
|
+
}
|
|
17880
|
+
|
|
17881
|
+
.pf-c-popover__footer {
|
|
17882
|
+
margin-top: var(--pf-c-popover__footer--MarginTop);
|
|
17883
|
+
}
|
|
17884
|
+
|
|
17885
|
+
:where(.pf-theme-dark) .pf-c-popover {
|
|
17886
|
+
--pf-c-popover--BoxShadow: none;
|
|
17887
|
+
--pf-c-popover__arrow--BoxShadow: none;
|
|
17888
|
+
--pf-c-popover__arrow--BackgroundColor: var(--pf-c-popover__content--BackgroundColor);
|
|
17889
|
+
--pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--200);
|
|
17890
|
+
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--100);
|
|
17891
|
+
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--100);
|
|
17892
|
+
}
|
|
17893
|
+
|
|
17894
|
+
:where(.pf-theme-dark) .pf-c-popover,
|
|
17895
|
+
:where(.pf-theme-dark) .pf-c-popover .pf-c-popover__arrow {
|
|
17896
|
+
border: 4px solid var(--pf-global--BorderColor--400);
|
|
17897
|
+
}
|
|
17898
|
+
|
|
17891
17899
|
.pf-c-select {
|
|
17892
17900
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
17893
17901
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|