@patternfly/react-table 4.67.3 → 4.67.6
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/umd/react-table.css +59 -59
- package/dist/umd/react-table.js +16 -5
- package/dist/umd/react-table.min.css +100 -100
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 4.67.6 (2022-02-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 4.67.5 (2022-02-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## 4.67.4 (2022-02-17)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **Select:** Do not filter out view more button on filter ([#6848](https://github.com/patternfly/patternfly-react/issues/6848)) ([6c7ac8a](https://github.com/patternfly/patternfly-react/commit/6c7ac8a5e287670d7469ecc0ef137bc33583e739))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## 4.67.3 (2022-02-16)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @patternfly/react-table
|
package/dist/umd/react-table.css
CHANGED
|
@@ -2253,65 +2253,6 @@
|
|
|
2253
2253
|
--pf-c-table--m-tree-view-grid--tbody--cell--PaddingLeft: calc(var(--pf-c-table__tree-view-main--nested-indent--base) * 9 + var(--pf-c-table__tree-view-main--indent--base));
|
|
2254
2254
|
}
|
|
2255
2255
|
}
|
|
2256
|
-
.pf-c-table {
|
|
2257
|
-
--pf-c-table__sticky-column--cell-min-width--base: 12.5rem;
|
|
2258
|
-
--pf-c-table__sticky-column--MinWidth: var(--pf-c-table__sticky-column--cell-min-width--base);
|
|
2259
|
-
--pf-c-table__sticky-column--Left: 0;
|
|
2260
|
-
--pf-c-table__sticky-column--ZIndex: var(--pf-global--ZIndex--md);
|
|
2261
|
-
--pf-c-table__sticky-column--Top: 0;
|
|
2262
|
-
--pf-c-table__sticky-column--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
2263
|
-
--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
2264
|
-
--pf-c-table__sticky-column--m-border-right--before--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
2265
|
-
--pf-c-table__sticky-column--m-border-left--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
2266
|
-
--pf-c-table__sticky-column--m-border-left--before--BorderLeftColor: var(--pf-global--BorderColor--100);
|
|
2267
|
-
--pf-c-table--m-sticky-header--thead__sticky-column--ZIndex: calc(var(--pf-c-table__sticky-column--ZIndex) + 1);
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
.pf-c-table .pf-c-table__sticky-column {
|
|
2271
|
-
position: sticky;
|
|
2272
|
-
left: var(--pf-c-table__sticky-column--Left);
|
|
2273
|
-
z-index: var(--pf-c-table__sticky-column--ZIndex);
|
|
2274
|
-
min-width: var(--pf-c-table__sticky-column--MinWidth);
|
|
2275
|
-
background-color: var(--pf-c-table__sticky-column--BackgroundColor);
|
|
2276
|
-
background-clip: padding-box;
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
.pf-c-table .pf-c-table__sticky-column.pf-m-border-right::before {
|
|
2280
|
-
--pf-c-table--cell--m-border-right--before--BorderRightWidth: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth);
|
|
2281
|
-
--pf-c-table--cell--m-border-right--before--BorderRightColor: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightColor);
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
.pf-c-table .pf-c-table__sticky-column.pf-m-border-left::before {
|
|
2285
|
-
--pf-c-table--cell--m-border-left--before--BorderLeftWidth: var(--pf-c-table__sticky-column--m-border-left--before--BorderLeftWidth);
|
|
2286
|
-
--pf-c-table--cell--m-border-left--before--BorderLeftColor: var(--pf-c-table__sticky-column--m-border-left--before--BorderLeftColor);
|
|
2287
|
-
}
|
|
2288
|
-
|
|
2289
|
-
.pf-c-table.pf-m-sticky-header {
|
|
2290
|
-
--pf-c-table--cell--Overflow: visible;
|
|
2291
|
-
}
|
|
2292
|
-
|
|
2293
|
-
.pf-c-table.pf-m-sticky-header thead .pf-c-table__sticky-column {
|
|
2294
|
-
z-index: var(--pf-c-table--m-sticky-header--thead__sticky-column--ZIndex);
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
.pf-c-scroll-outer-wrapper {
|
|
2298
|
-
--pf-c-scroll-outer-wrapper--MinHeight: 25rem;
|
|
2299
|
-
display: flex;
|
|
2300
|
-
flex-direction: column;
|
|
2301
|
-
max-width: 100%;
|
|
2302
|
-
min-height: var(--pf-c-scroll-outer-wrapper--MinHeight);
|
|
2303
|
-
max-height: 100%;
|
|
2304
|
-
overflow: hidden;
|
|
2305
|
-
}
|
|
2306
|
-
|
|
2307
|
-
.pf-c-scroll-inner-wrapper {
|
|
2308
|
-
display: flex;
|
|
2309
|
-
flex-direction: column;
|
|
2310
|
-
max-width: 100%;
|
|
2311
|
-
max-height: 100%;
|
|
2312
|
-
overflow: auto;
|
|
2313
|
-
}
|
|
2314
|
-
|
|
2315
2256
|
.pf-c-table[class*=pf-m-grid] {
|
|
2316
2257
|
--pf-c-table--responsive--BorderColor: var(--pf-global--BorderColor--300);
|
|
2317
2258
|
--pf-c-table--tbody--responsive--border-width--base: var(--pf-global--spacer--sm);
|
|
@@ -4248,6 +4189,65 @@
|
|
|
4248
4189
|
--pf-c-table--cell--Width: auto;
|
|
4249
4190
|
}
|
|
4250
4191
|
}
|
|
4192
|
+
.pf-c-table {
|
|
4193
|
+
--pf-c-table__sticky-column--cell-min-width--base: 12.5rem;
|
|
4194
|
+
--pf-c-table__sticky-column--MinWidth: var(--pf-c-table__sticky-column--cell-min-width--base);
|
|
4195
|
+
--pf-c-table__sticky-column--Left: 0;
|
|
4196
|
+
--pf-c-table__sticky-column--ZIndex: var(--pf-global--ZIndex--md);
|
|
4197
|
+
--pf-c-table__sticky-column--Top: 0;
|
|
4198
|
+
--pf-c-table__sticky-column--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
4199
|
+
--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
4200
|
+
--pf-c-table__sticky-column--m-border-right--before--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
4201
|
+
--pf-c-table__sticky-column--m-border-left--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
4202
|
+
--pf-c-table__sticky-column--m-border-left--before--BorderLeftColor: var(--pf-global--BorderColor--100);
|
|
4203
|
+
--pf-c-table--m-sticky-header--thead__sticky-column--ZIndex: calc(var(--pf-c-table__sticky-column--ZIndex) + 1);
|
|
4204
|
+
}
|
|
4205
|
+
|
|
4206
|
+
.pf-c-table .pf-c-table__sticky-column {
|
|
4207
|
+
position: sticky;
|
|
4208
|
+
left: var(--pf-c-table__sticky-column--Left);
|
|
4209
|
+
z-index: var(--pf-c-table__sticky-column--ZIndex);
|
|
4210
|
+
min-width: var(--pf-c-table__sticky-column--MinWidth);
|
|
4211
|
+
background-color: var(--pf-c-table__sticky-column--BackgroundColor);
|
|
4212
|
+
background-clip: padding-box;
|
|
4213
|
+
}
|
|
4214
|
+
|
|
4215
|
+
.pf-c-table .pf-c-table__sticky-column.pf-m-border-right::before {
|
|
4216
|
+
--pf-c-table--cell--m-border-right--before--BorderRightWidth: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth);
|
|
4217
|
+
--pf-c-table--cell--m-border-right--before--BorderRightColor: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightColor);
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
.pf-c-table .pf-c-table__sticky-column.pf-m-border-left::before {
|
|
4221
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftWidth: var(--pf-c-table__sticky-column--m-border-left--before--BorderLeftWidth);
|
|
4222
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftColor: var(--pf-c-table__sticky-column--m-border-left--before--BorderLeftColor);
|
|
4223
|
+
}
|
|
4224
|
+
|
|
4225
|
+
.pf-c-table.pf-m-sticky-header {
|
|
4226
|
+
--pf-c-table--cell--Overflow: visible;
|
|
4227
|
+
}
|
|
4228
|
+
|
|
4229
|
+
.pf-c-table.pf-m-sticky-header thead .pf-c-table__sticky-column {
|
|
4230
|
+
z-index: var(--pf-c-table--m-sticky-header--thead__sticky-column--ZIndex);
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
.pf-c-scroll-outer-wrapper {
|
|
4234
|
+
--pf-c-scroll-outer-wrapper--MinHeight: 25rem;
|
|
4235
|
+
display: flex;
|
|
4236
|
+
flex-direction: column;
|
|
4237
|
+
max-width: 100%;
|
|
4238
|
+
min-height: var(--pf-c-scroll-outer-wrapper--MinHeight);
|
|
4239
|
+
max-height: 100%;
|
|
4240
|
+
overflow: hidden;
|
|
4241
|
+
}
|
|
4242
|
+
|
|
4243
|
+
.pf-c-scroll-inner-wrapper {
|
|
4244
|
+
display: flex;
|
|
4245
|
+
flex-direction: column;
|
|
4246
|
+
max-width: 100%;
|
|
4247
|
+
max-height: 100%;
|
|
4248
|
+
overflow: auto;
|
|
4249
|
+
}
|
|
4250
|
+
|
|
4251
4251
|
.pf-c-form {
|
|
4252
4252
|
--pf-c-form--GridGap: var(--pf-global--gutter--md);
|
|
4253
4253
|
--pf-c-form__group--m-action--MarginTop: var(--pf-global--spacer--xl);
|
package/dist/umd/react-table.js
CHANGED
|
@@ -4996,7 +4996,9 @@
|
|
|
4996
4996
|
isLoad && !isGrouped && (React__namespace.createElement("button", Object.assign({}, props, { className: css(_default$b.selectMenuItem, _default$b.modifiers.load, className), onClick: (event) => {
|
|
4997
4997
|
onViewMoreClick(event);
|
|
4998
4998
|
event.stopPropagation();
|
|
4999
|
-
}, ref: this.ref,
|
|
4999
|
+
}, ref: this.ref, onKeyDown: (event) => {
|
|
5000
|
+
this.onKeyDown(event, 0);
|
|
5001
|
+
}, type: "button" }), itemDisplay)),
|
|
5000
5002
|
!isLoading && !isLoad && (React__namespace.createElement(React__namespace.Fragment, null,
|
|
5001
5003
|
React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$b.selectMenuItem, isLoad && _default$b.modifiers.load, isSelected && _default$b.modifiers.selected, isDisabled && _default$b.modifiers.disabled, description && _default$b.modifiers.description, isFavorite !== null && _default$b.modifiers.link, className), onClick: (event) => {
|
|
5002
5004
|
if (!isDisabled) {
|
|
@@ -5281,7 +5283,7 @@
|
|
|
5281
5283
|
}
|
|
5282
5284
|
// Current element is in footer.
|
|
5283
5285
|
if (event.shiftKey) {
|
|
5284
|
-
// Move focus back to
|
|
5286
|
+
// Move focus back to menu if current tab index is 0
|
|
5285
5287
|
if (currentElementIndex === 0) {
|
|
5286
5288
|
moveFocusToLastMenuItem();
|
|
5287
5289
|
event.preventDefault();
|
|
@@ -5608,8 +5610,9 @@
|
|
|
5608
5610
|
firstRef[0].focus();
|
|
5609
5611
|
}
|
|
5610
5612
|
}
|
|
5613
|
+
else if (
|
|
5611
5614
|
// if viewMoreNextIndex is not -1, view more was clicked, set focus on first newly loaded item
|
|
5612
|
-
|
|
5615
|
+
this.state.viewMoreNextIndex !== -1 &&
|
|
5613
5616
|
this.refCollection.length > this.state.viewMoreNextIndex &&
|
|
5614
5617
|
this.props.loadingVariant !== 'spinner' &&
|
|
5615
5618
|
this.refCollection[this.state.viewMoreNextIndex][0]) {
|
|
@@ -5671,7 +5674,7 @@
|
|
|
5671
5674
|
const { isInputFilterPersisted } = this.props;
|
|
5672
5675
|
this.setState(Object.assign(Object.assign({ focusFirstOption: false, typeaheadInputValue: null }, (!isInputFilterPersisted && {
|
|
5673
5676
|
typeaheadFilteredChildren: React__namespace.Children.toArray(this.props.children)
|
|
5674
|
-
})), { typeaheadCurrIndex: -1, tabbedIntoFavoritesMenu: false }));
|
|
5677
|
+
})), { typeaheadCurrIndex: -1, tabbedIntoFavoritesMenu: false, viewMoreNextIndex: -1 }));
|
|
5675
5678
|
};
|
|
5676
5679
|
this.onChange = (e) => {
|
|
5677
5680
|
if (e.target.value.toString() !== '' && !this.props.isOpen) {
|
|
@@ -5690,7 +5693,7 @@
|
|
|
5690
5693
|
};
|
|
5691
5694
|
this.updateTypeAheadFilteredChildren = (typeaheadInputValue, e) => {
|
|
5692
5695
|
let typeaheadFilteredChildren;
|
|
5693
|
-
const { onFilter, isCreatable, onCreateOption, createText, noResultsFoundText, children, isGrouped, isCreateSelectOptionObject } = this.props;
|
|
5696
|
+
const { onFilter, isCreatable, onCreateOption, createText, noResultsFoundText, children, isGrouped, isCreateSelectOptionObject, loadingVariant } = this.props;
|
|
5694
5697
|
if (onFilter) {
|
|
5695
5698
|
/* The updateTypeAheadFilteredChildren callback is not only called on input changes but also when the children change.
|
|
5696
5699
|
* In this case the e is null but we can get the typeaheadInputValue from the state.
|
|
@@ -5740,6 +5743,14 @@
|
|
|
5740
5743
|
const isSelectOptionObject = typeof valueToCheck !== 'string' &&
|
|
5741
5744
|
valueToCheck.toString &&
|
|
5742
5745
|
valueToCheck.compareTo;
|
|
5746
|
+
// View more option should be returned as not a match
|
|
5747
|
+
if (loadingVariant !== 'spinner' && (loadingVariant === null || loadingVariant === void 0 ? void 0 : loadingVariant.text) === valueToCheck) {
|
|
5748
|
+
return true;
|
|
5749
|
+
}
|
|
5750
|
+
// spinner should be returned as not a match
|
|
5751
|
+
if (loadingVariant === 'spinner' && valueToCheck === 'loading') {
|
|
5752
|
+
return true;
|
|
5753
|
+
}
|
|
5743
5754
|
if (isSelectOptionObject) {
|
|
5744
5755
|
return valueToCheck.compareTo(typeaheadInputValue);
|
|
5745
5756
|
}
|
|
@@ -17963,106 +17963,6 @@ ul.pf-c-list {
|
|
|
17963
17963
|
left: 0;
|
|
17964
17964
|
}
|
|
17965
17965
|
|
|
17966
|
-
.pf-c-notification-badge {
|
|
17967
|
-
--pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
|
|
17968
|
-
--pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
|
|
17969
|
-
--pf-c-notification-badge--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
17970
|
-
--pf-c-notification-badge--PaddingLeft: var(--pf-global--spacer--md);
|
|
17971
|
-
--pf-c-notification-badge--MarginTop: calc(-1 * var(--pf-global--spacer--form-element));
|
|
17972
|
-
--pf-c-notification-badge--MarginRight: calc(-1 * var(--pf-global--spacer--md));
|
|
17973
|
-
--pf-c-notification-badge--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
|
|
17974
|
-
--pf-c-notification-badge--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
|
|
17975
|
-
--pf-c-notification-badge--after--BorderColor: transparent;
|
|
17976
|
-
--pf-c-notification-badge--after--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
17977
|
-
--pf-c-notification-badge--after--BorderWidth: 0;
|
|
17978
|
-
--pf-c-notification-badge--after--Top: 0;
|
|
17979
|
-
--pf-c-notification-badge--after--Right: 0;
|
|
17980
|
-
--pf-c-notification-badge--after--Width: auto;
|
|
17981
|
-
--pf-c-notification-badge--after--Height: auto;
|
|
17982
|
-
--pf-c-notification-badge--after--BackgroundColor: transparent;
|
|
17983
|
-
--pf-c-notification-badge--after--TranslateX: 0;
|
|
17984
|
-
--pf-c-notification-badge--after--TranslateY: 0;
|
|
17985
|
-
--pf-c-notification-badge__i--Width: auto;
|
|
17986
|
-
--pf-c-notification-badge__i--Height: auto;
|
|
17987
|
-
--pf-c-notification-badge--m-read--after--BorderColor: transparent;
|
|
17988
|
-
--pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
|
|
17989
|
-
--pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
|
|
17990
|
-
--pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
|
|
17991
|
-
--pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
|
|
17992
|
-
--pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
|
|
17993
|
-
--pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
|
|
17994
|
-
--pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
|
|
17995
|
-
--pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
|
|
17996
|
-
--pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
|
|
17997
|
-
position: relative;
|
|
17998
|
-
display: inline-block;
|
|
17999
|
-
padding: var(--pf-c-notification-badge--PaddingTop) var(--pf-c-notification-badge--PaddingRight) var(--pf-c-notification-badge--PaddingBottom) var(--pf-c-notification-badge--PaddingLeft);
|
|
18000
|
-
margin: var(--pf-c-notification-badge--MarginTop) var(--pf-c-notification-badge--MarginRight) var(--pf-c-notification-badge--MarginBottom) var(--pf-c-notification-badge--MarginLeft);
|
|
18001
|
-
background-color: var(--pf-c-notification-badge--after--BackgroundColor);
|
|
18002
|
-
border-radius: var(--pf-c-notification-badge--after--BorderRadius);
|
|
18003
|
-
}
|
|
18004
|
-
|
|
18005
|
-
.pf-c-notification-badge::before {
|
|
18006
|
-
position: absolute;
|
|
18007
|
-
top: var(--pf-c-notification-badge--after--Top);
|
|
18008
|
-
right: var(--pf-c-notification-badge--after--Right);
|
|
18009
|
-
bottom: 0;
|
|
18010
|
-
left: 0;
|
|
18011
|
-
width: var(--pf-c-notification-badge--after--Width);
|
|
18012
|
-
height: var(--pf-c-notification-badge--after--Height);
|
|
18013
|
-
content: "";
|
|
18014
|
-
border: var(--pf-c-notification-badge--after--BorderWidth) solid var(--pf-c-notification-badge--after--BorderColor);
|
|
18015
|
-
border-radius: var(--pf-c-notification-badge--after--BorderRadius);
|
|
18016
|
-
transform: translate(var(--pf-c-notification-badge--after--TranslateX), var(--pf-c-notification-badge--after--TranslateY));
|
|
18017
|
-
}
|
|
18018
|
-
|
|
18019
|
-
.pf-c-notification-badge > i {
|
|
18020
|
-
width: var(--pf-c-notification-badge__i--Width);
|
|
18021
|
-
height: var(--pf-c-notification-badge__i--Height);
|
|
18022
|
-
}
|
|
18023
|
-
|
|
18024
|
-
.pf-c-notification-badge > * {
|
|
18025
|
-
position: relative;
|
|
18026
|
-
}
|
|
18027
|
-
|
|
18028
|
-
.pf-c-notification-badge .pf-icon-attention-bell,
|
|
18029
|
-
.pf-c-notification-badge .pf-icon-bell {
|
|
18030
|
-
display: inline-block;
|
|
18031
|
-
line-height: var(--pf-c-notification-badge--pf-icon-attention-bell--LineHeight);
|
|
18032
|
-
}
|
|
18033
|
-
|
|
18034
|
-
.pf-c-notification-badge .pf-icon-attention-bell::before,
|
|
18035
|
-
.pf-c-notification-badge .pf-icon-bell::before {
|
|
18036
|
-
vertical-align: bottom;
|
|
18037
|
-
}
|
|
18038
|
-
|
|
18039
|
-
.pf-c-notification-badge.pf-m-read {
|
|
18040
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
|
|
18041
|
-
--pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
|
|
18042
|
-
}
|
|
18043
|
-
|
|
18044
|
-
.pf-c-notification-badge.pf-m-unread {
|
|
18045
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
|
|
18046
|
-
color: var(--pf-c-notification-badge--m-unread--Color);
|
|
18047
|
-
}
|
|
18048
|
-
|
|
18049
|
-
.pf-c-notification-badge.pf-m-unread:hover {
|
|
18050
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--hover--after--BackgroundColor);
|
|
18051
|
-
}
|
|
18052
|
-
|
|
18053
|
-
.pf-c-notification-badge.pf-m-attention {
|
|
18054
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--after--BackgroundColor);
|
|
18055
|
-
color: var(--pf-c-notification-badge--m-attention--Color);
|
|
18056
|
-
}
|
|
18057
|
-
|
|
18058
|
-
.pf-c-notification-badge.pf-m-attention:hover {
|
|
18059
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
|
|
18060
|
-
}
|
|
18061
|
-
|
|
18062
|
-
.pf-c-notification-badge__count {
|
|
18063
|
-
margin-left: var(--pf-c-notification-badge__count--MarginLeft);
|
|
18064
|
-
}
|
|
18065
|
-
|
|
18066
17966
|
.pf-c-notification-drawer {
|
|
18067
17967
|
--pf-c-notification-drawer--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
18068
17968
|
--pf-c-notification-drawer__header--PaddingTop: var(--pf-global--spacer--md);
|
|
@@ -26306,6 +26206,106 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
26306
26206
|
direction: ltr;
|
|
26307
26207
|
}
|
|
26308
26208
|
}
|
|
26209
|
+
.pf-c-notification-badge {
|
|
26210
|
+
--pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
|
|
26211
|
+
--pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
|
|
26212
|
+
--pf-c-notification-badge--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
26213
|
+
--pf-c-notification-badge--PaddingLeft: var(--pf-global--spacer--md);
|
|
26214
|
+
--pf-c-notification-badge--MarginTop: calc(-1 * var(--pf-global--spacer--form-element));
|
|
26215
|
+
--pf-c-notification-badge--MarginRight: calc(-1 * var(--pf-global--spacer--md));
|
|
26216
|
+
--pf-c-notification-badge--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
|
|
26217
|
+
--pf-c-notification-badge--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
|
|
26218
|
+
--pf-c-notification-badge--after--BorderColor: transparent;
|
|
26219
|
+
--pf-c-notification-badge--after--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
26220
|
+
--pf-c-notification-badge--after--BorderWidth: 0;
|
|
26221
|
+
--pf-c-notification-badge--after--Top: 0;
|
|
26222
|
+
--pf-c-notification-badge--after--Right: 0;
|
|
26223
|
+
--pf-c-notification-badge--after--Width: auto;
|
|
26224
|
+
--pf-c-notification-badge--after--Height: auto;
|
|
26225
|
+
--pf-c-notification-badge--after--BackgroundColor: transparent;
|
|
26226
|
+
--pf-c-notification-badge--after--TranslateX: 0;
|
|
26227
|
+
--pf-c-notification-badge--after--TranslateY: 0;
|
|
26228
|
+
--pf-c-notification-badge__i--Width: auto;
|
|
26229
|
+
--pf-c-notification-badge__i--Height: auto;
|
|
26230
|
+
--pf-c-notification-badge--m-read--after--BorderColor: transparent;
|
|
26231
|
+
--pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
|
|
26232
|
+
--pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
|
|
26233
|
+
--pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
|
|
26234
|
+
--pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
|
|
26235
|
+
--pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
|
|
26236
|
+
--pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
|
|
26237
|
+
--pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
|
|
26238
|
+
--pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
|
|
26239
|
+
--pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
|
|
26240
|
+
position: relative;
|
|
26241
|
+
display: inline-block;
|
|
26242
|
+
padding: var(--pf-c-notification-badge--PaddingTop) var(--pf-c-notification-badge--PaddingRight) var(--pf-c-notification-badge--PaddingBottom) var(--pf-c-notification-badge--PaddingLeft);
|
|
26243
|
+
margin: var(--pf-c-notification-badge--MarginTop) var(--pf-c-notification-badge--MarginRight) var(--pf-c-notification-badge--MarginBottom) var(--pf-c-notification-badge--MarginLeft);
|
|
26244
|
+
background-color: var(--pf-c-notification-badge--after--BackgroundColor);
|
|
26245
|
+
border-radius: var(--pf-c-notification-badge--after--BorderRadius);
|
|
26246
|
+
}
|
|
26247
|
+
|
|
26248
|
+
.pf-c-notification-badge::before {
|
|
26249
|
+
position: absolute;
|
|
26250
|
+
top: var(--pf-c-notification-badge--after--Top);
|
|
26251
|
+
right: var(--pf-c-notification-badge--after--Right);
|
|
26252
|
+
bottom: 0;
|
|
26253
|
+
left: 0;
|
|
26254
|
+
width: var(--pf-c-notification-badge--after--Width);
|
|
26255
|
+
height: var(--pf-c-notification-badge--after--Height);
|
|
26256
|
+
content: "";
|
|
26257
|
+
border: var(--pf-c-notification-badge--after--BorderWidth) solid var(--pf-c-notification-badge--after--BorderColor);
|
|
26258
|
+
border-radius: var(--pf-c-notification-badge--after--BorderRadius);
|
|
26259
|
+
transform: translate(var(--pf-c-notification-badge--after--TranslateX), var(--pf-c-notification-badge--after--TranslateY));
|
|
26260
|
+
}
|
|
26261
|
+
|
|
26262
|
+
.pf-c-notification-badge > i {
|
|
26263
|
+
width: var(--pf-c-notification-badge__i--Width);
|
|
26264
|
+
height: var(--pf-c-notification-badge__i--Height);
|
|
26265
|
+
}
|
|
26266
|
+
|
|
26267
|
+
.pf-c-notification-badge > * {
|
|
26268
|
+
position: relative;
|
|
26269
|
+
}
|
|
26270
|
+
|
|
26271
|
+
.pf-c-notification-badge .pf-icon-attention-bell,
|
|
26272
|
+
.pf-c-notification-badge .pf-icon-bell {
|
|
26273
|
+
display: inline-block;
|
|
26274
|
+
line-height: var(--pf-c-notification-badge--pf-icon-attention-bell--LineHeight);
|
|
26275
|
+
}
|
|
26276
|
+
|
|
26277
|
+
.pf-c-notification-badge .pf-icon-attention-bell::before,
|
|
26278
|
+
.pf-c-notification-badge .pf-icon-bell::before {
|
|
26279
|
+
vertical-align: bottom;
|
|
26280
|
+
}
|
|
26281
|
+
|
|
26282
|
+
.pf-c-notification-badge.pf-m-read {
|
|
26283
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
|
|
26284
|
+
--pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
|
|
26285
|
+
}
|
|
26286
|
+
|
|
26287
|
+
.pf-c-notification-badge.pf-m-unread {
|
|
26288
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
|
|
26289
|
+
color: var(--pf-c-notification-badge--m-unread--Color);
|
|
26290
|
+
}
|
|
26291
|
+
|
|
26292
|
+
.pf-c-notification-badge.pf-m-unread:hover {
|
|
26293
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--hover--after--BackgroundColor);
|
|
26294
|
+
}
|
|
26295
|
+
|
|
26296
|
+
.pf-c-notification-badge.pf-m-attention {
|
|
26297
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--after--BackgroundColor);
|
|
26298
|
+
color: var(--pf-c-notification-badge--m-attention--Color);
|
|
26299
|
+
}
|
|
26300
|
+
|
|
26301
|
+
.pf-c-notification-badge.pf-m-attention:hover {
|
|
26302
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
|
|
26303
|
+
}
|
|
26304
|
+
|
|
26305
|
+
.pf-c-notification-badge__count {
|
|
26306
|
+
margin-left: var(--pf-c-notification-badge__count--MarginLeft);
|
|
26307
|
+
}
|
|
26308
|
+
|
|
26309
26309
|
.pf-l-flex {
|
|
26310
26310
|
--pf-l-flex--Display: flex;
|
|
26311
26311
|
--pf-l-flex--FlexWrap: wrap;
|