@patternfly/patternfly 4.142.0 → 4.144.2

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/RELEASE-NOTES.md CHANGED
@@ -3,6 +3,46 @@ id: Release notes
3
3
  section: developer-resources
4
4
  releaseNoteTOC: true
5
5
  ---
6
+
7
+ ## 2021.13 release notes (2021-10-08)
8
+ Packages released:
9
+ - [@patternfly/patternfly@v4.144.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.144.2)
10
+
11
+ ### Components
12
+ - **Backdrop:** Added var for position to allow customization ([#4391](https://github.com/patternfly/patternfly/pull/4391))
13
+ - **Banner:** Added link style ([#4383](https://github.com/patternfly/patternfly/pull/4383))
14
+ - **Card:**
15
+ * Fixed demo image paths ([#4400](https://github.com/patternfly/patternfly/pull/4400))
16
+ * Updated log view and event view demos ([#4371](https://github.com/patternfly/patternfly/pull/4371))
17
+ - **Drag drop:**
18
+ * Added drag drop ([#4398](https://github.com/patternfly/patternfly/pull/4398))
19
+ * Moved drag drop styles into component ([#4404](https://github.com/patternfly/patternfly/pull/4404))
20
+ - **Dual list selector:** Added support for disabled items ([#4361](https://github.com/patternfly/patternfly/pull/4361))
21
+ - **Jump links:** Moved text into expandable toggle ([#4352](https://github.com/patternfly/patternfly/pull/4352))
22
+ - **Label:** Added compact variant ([#4386](https://github.com/patternfly/patternfly/pull/4386))
23
+ - **Log viewer:**
24
+ * Preserved white space in log viewer text ([#4397](https://github.com/patternfly/patternfly/pull/4397))
25
+ * Made text fill available space in container ([#4406](https://github.com/patternfly/patternfly/pull/4406))
26
+ - **Masthead:** Updated column-end ([#4418](https://github.com/patternfly/patternfly/pull/4418))
27
+ - **Masthead, description list**: Fixed undefined vars ([#4421](https://github.com/patternfly/patternfly/pull/4421))
28
+ - **Menu:** Added scrollable and plain modifiers ([#4392](https://github.com/patternfly/patternfly/pull/4392))
29
+ - **Nav:** Added support for menu component as flyout ([#4417](https://github.com/patternfly/patternfly/pull/4417))
30
+ - **Progress stepper:** Added help text for popover ([#4381](https://github.com/patternfly/patternfly/pull/4381))
31
+ - **Radio, checkbox, form:** Corrected label alignment ([#4375](https://github.com/patternfly/patternfly/pull/4375))
32
+ - **Select:**
33
+ * Added support for placeholder in toggle ([#4377](https://github.com/patternfly/patternfly/pull/4377))
34
+ * Removed double invalid icon on invalid typeahead ([#4385](https://github.com/patternfly/patternfly/pull/4385))
35
+ - **Table:**
36
+ * Added fixed columns ([#4326](https://github.com/patternfly/patternfly/pull/4326))
37
+ * Addressed followup compact tree issues ([#4389](https://github.com/patternfly/patternfly/pull/4389))
38
+ - **Text input group:** Added component ([#4408](https://github.com/patternfly/patternfly/pull/4408))
39
+ - **Toolbar:** Adjusted demo heights, removed dupe demo ([#4373](https://github.com/patternfly/patternfly/pull/4373))
40
+
41
+ ### Other
42
+ - **Deps:** Update dependency theme-patternfly-org to v0.7.3 ([#4275](https://github.com/patternfly/patternfly/pull/4275))
43
+ - **Utilities:** Added breakpoint options to docs ([#4409](https://github.com/patternfly/patternfly/pull/4409))
44
+
45
+
6
46
  ## 2021.12 release notes (2021-09-14)
7
47
  Packages released:
8
48
  - [@patternfly/patternfly@v4.135.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.135.2)
@@ -19,6 +19,8 @@
19
19
  --pf-c-description-list--m-horizontal__description--width: minmax(10ch, auto);
20
20
  --pf-c-description-list--m-horizontal__group--GridTemplateColumns: var(--pf-c-description-list__term--width) var(--pf-c-description-list--m-horizontal__description--width);
21
21
  --pf-c-description-list--m-1-col--GridTemplateColumns--count: 1;
22
+ --pf-c-description-list--m-2-col--GridTemplateColumns--count: 2;
23
+ --pf-c-description-list--m-3-col--GridTemplateColumns--count: 3;
22
24
  --pf-c-description-list--m-auto-fit--GridTemplateColumns--min: 15.625rem;
23
25
  --pf-c-description-list--m-auto-fit--GridTemplateColumns--minmax--min: var(--pf-c-description-list--m-auto-fit--GridTemplateColumns--min);
24
26
  --pf-c-description-list__text--m-help-text--TextDecorationColor: var(--pf-global--BorderColor--200);
@@ -32,12 +34,6 @@
32
34
  column-gap: var(--pf-c-description-list--ColumnGap);
33
35
  grid-template-columns: var(--pf-c-description-list--GridTemplateColumns);
34
36
  }
35
- @media screen and (min-width: 768px) {
36
- .pf-c-description-list {
37
- --pf-c-description-list--m-2-col--GridTemplateColumns--count: 2;
38
- --pf-c-description-list--m-3-col--GridTemplateColumns--count: 3;
39
- }
40
- }
41
37
  .pf-c-description-list[class*=pf-m-horizontal] {
42
38
  --pf-c-description-list__term--width: var(--pf-c-description-list--m-horizontal__term--width);
43
39
  }
@@ -31,16 +31,13 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
31
31
  --pf-c-description-list--m-horizontal__description--width: minmax(10ch, auto);
32
32
  --pf-c-description-list--m-horizontal__group--GridTemplateColumns: var(--pf-c-description-list__term--width) var(--pf-c-description-list--m-horizontal__description--width); // use --pf-c-description-list__term--width here as it is re-defined on line 45
33
33
  --pf-c-description-list--m-1-col--GridTemplateColumns--count: 1;
34
+ --pf-c-description-list--m-2-col--GridTemplateColumns--count: 2;
35
+ --pf-c-description-list--m-3-col--GridTemplateColumns--count: 3;
34
36
 
35
37
  // auto-fit
36
38
  --pf-c-description-list--m-auto-fit--GridTemplateColumns--min: #{pf-size-prem(250px)};
37
39
  --pf-c-description-list--m-auto-fit--GridTemplateColumns--minmax--min: var(--pf-c-description-list--m-auto-fit--GridTemplateColumns--min);
38
40
 
39
- @media screen and (min-width: $pf-global--breakpoint--md) {
40
- --pf-c-description-list--m-2-col--GridTemplateColumns--count: 2;
41
- --pf-c-description-list--m-3-col--GridTemplateColumns--count: 3;
42
- }
43
-
44
41
  // help text
45
42
  --pf-c-description-list__text--m-help-text--TextDecorationColor: var(--pf-global--BorderColor--200);
46
43
  --pf-c-description-list__text--m-help-text--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
@@ -130,7 +130,7 @@
130
130
  --pf-c-masthead__main--PaddingBottom: var(--pf-c-masthead--m-display-stack__main--PaddingBottom);
131
131
  --pf-c-masthead__main--MarginRight: var(--pf-c-masthead--m-display-stack__main--MarginRight);
132
132
  --pf-c-masthead__main--before--BorderBottom: var(--pf-c-masthead--m-display-stack__main--before--BorderBottom);
133
- --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-stack-inline__content--GridColumn);
133
+ --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-display-stack__content--GridColumn);
134
134
  --pf-c-masthead__content--MinHeight: var(--pf-c-masthead--m-display-stack__content--MinHeight);
135
135
  --pf-c-masthead__content--Order: var(--pf-c-masthead--m-display-stack__content--Order);
136
136
  --pf-c-masthead__content--PaddingTop: var(--pf-c-masthead--m-display-stack__content--PaddingTop);
@@ -207,7 +207,7 @@
207
207
  }
208
208
  .pf-c-masthead .pf-c-menu-toggle.pf-m-full-height {
209
209
  --pf-c-menu-toggle--before--BorderRightColor: var(--pf-c-masthead--c-menu-toggle--m-full-height--before--BorderRightColor);
210
- --pf-c-menu-toggle--before--BorderBottomColor: var(--pf-c-masthead--c-menu-toggle--m-full-height--before--BorderBottomColor);
210
+ --pf-c-menu-toggle--before--BorderLeftColor: var(--pf-c-masthead--c-menu-toggle--m-full-height--before--BorderLeftColor);
211
211
  }
212
212
  .pf-c-masthead .pf-c-context-selector {
213
213
  --pf-c-context-selector--Width: var(--pf-c-masthead--c-context-selector--Width);
@@ -311,7 +311,7 @@
311
311
  --pf-c-masthead__main--PaddingBottom: var(--pf-c-masthead--m-display-stack__main--PaddingBottom);
312
312
  --pf-c-masthead__main--MarginRight: var(--pf-c-masthead--m-display-stack__main--MarginRight);
313
313
  --pf-c-masthead__main--before--BorderBottom: var(--pf-c-masthead--m-display-stack__main--before--BorderBottom);
314
- --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-stack-inline__content--GridColumn);
314
+ --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-display-stack__content--GridColumn);
315
315
  --pf-c-masthead__content--MinHeight: var(--pf-c-masthead--m-display-stack__content--MinHeight);
316
316
  --pf-c-masthead__content--Order: var(--pf-c-masthead--m-display-stack__content--Order);
317
317
  --pf-c-masthead__content--PaddingTop: var(--pf-c-masthead--m-display-stack__content--PaddingTop);
@@ -368,7 +368,7 @@
368
368
  --pf-c-masthead__main--PaddingBottom: var(--pf-c-masthead--m-display-stack__main--PaddingBottom);
369
369
  --pf-c-masthead__main--MarginRight: var(--pf-c-masthead--m-display-stack__main--MarginRight);
370
370
  --pf-c-masthead__main--before--BorderBottom: var(--pf-c-masthead--m-display-stack__main--before--BorderBottom);
371
- --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-stack-inline__content--GridColumn);
371
+ --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-display-stack__content--GridColumn);
372
372
  --pf-c-masthead__content--MinHeight: var(--pf-c-masthead--m-display-stack__content--MinHeight);
373
373
  --pf-c-masthead__content--Order: var(--pf-c-masthead--m-display-stack__content--Order);
374
374
  --pf-c-masthead__content--PaddingTop: var(--pf-c-masthead--m-display-stack__content--PaddingTop);
@@ -428,7 +428,7 @@
428
428
  --pf-c-masthead__main--PaddingBottom: var(--pf-c-masthead--m-display-stack__main--PaddingBottom);
429
429
  --pf-c-masthead__main--MarginRight: var(--pf-c-masthead--m-display-stack__main--MarginRight);
430
430
  --pf-c-masthead__main--before--BorderBottom: var(--pf-c-masthead--m-display-stack__main--before--BorderBottom);
431
- --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-stack-inline__content--GridColumn);
431
+ --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-display-stack__content--GridColumn);
432
432
  --pf-c-masthead__content--MinHeight: var(--pf-c-masthead--m-display-stack__content--MinHeight);
433
433
  --pf-c-masthead__content--Order: var(--pf-c-masthead--m-display-stack__content--Order);
434
434
  --pf-c-masthead__content--PaddingTop: var(--pf-c-masthead--m-display-stack__content--PaddingTop);
@@ -488,7 +488,7 @@
488
488
  --pf-c-masthead__main--PaddingBottom: var(--pf-c-masthead--m-display-stack__main--PaddingBottom);
489
489
  --pf-c-masthead__main--MarginRight: var(--pf-c-masthead--m-display-stack__main--MarginRight);
490
490
  --pf-c-masthead__main--before--BorderBottom: var(--pf-c-masthead--m-display-stack__main--before--BorderBottom);
491
- --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-stack-inline__content--GridColumn);
491
+ --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-display-stack__content--GridColumn);
492
492
  --pf-c-masthead__content--MinHeight: var(--pf-c-masthead--m-display-stack__content--MinHeight);
493
493
  --pf-c-masthead__content--Order: var(--pf-c-masthead--m-display-stack__content--Order);
494
494
  --pf-c-masthead__content--PaddingTop: var(--pf-c-masthead--m-display-stack__content--PaddingTop);
@@ -548,7 +548,7 @@
548
548
  --pf-c-masthead__main--PaddingBottom: var(--pf-c-masthead--m-display-stack__main--PaddingBottom);
549
549
  --pf-c-masthead__main--MarginRight: var(--pf-c-masthead--m-display-stack__main--MarginRight);
550
550
  --pf-c-masthead__main--before--BorderBottom: var(--pf-c-masthead--m-display-stack__main--before--BorderBottom);
551
- --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-stack-inline__content--GridColumn);
551
+ --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-display-stack__content--GridColumn);
552
552
  --pf-c-masthead__content--MinHeight: var(--pf-c-masthead--m-display-stack__content--MinHeight);
553
553
  --pf-c-masthead__content--Order: var(--pf-c-masthead--m-display-stack__content--Order);
554
554
  --pf-c-masthead__content--PaddingTop: var(--pf-c-masthead--m-display-stack__content--PaddingTop);
@@ -608,7 +608,7 @@
608
608
  --pf-c-masthead__main--PaddingBottom: var(--pf-c-masthead--m-display-stack__main--PaddingBottom);
609
609
  --pf-c-masthead__main--MarginRight: var(--pf-c-masthead--m-display-stack__main--MarginRight);
610
610
  --pf-c-masthead__main--before--BorderBottom: var(--pf-c-masthead--m-display-stack__main--before--BorderBottom);
611
- --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-stack-inline__content--GridColumn);
611
+ --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-display-stack__content--GridColumn);
612
612
  --pf-c-masthead__content--MinHeight: var(--pf-c-masthead--m-display-stack__content--MinHeight);
613
613
  --pf-c-masthead__content--Order: var(--pf-c-masthead--m-display-stack__content--Order);
614
614
  --pf-c-masthead__content--PaddingTop: var(--pf-c-masthead--m-display-stack__content--PaddingTop);
@@ -11,7 +11,7 @@ $pf-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
11
11
  --pf-c-masthead__main--PaddingBottom: var(--pf-c-masthead--m-display-stack__main--PaddingBottom);
12
12
  --pf-c-masthead__main--MarginRight: var(--pf-c-masthead--m-display-stack__main--MarginRight);
13
13
  --pf-c-masthead__main--before--BorderBottom: var(--pf-c-masthead--m-display-stack__main--before--BorderBottom);
14
- --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-stack-inline__content--GridColumn);
14
+ --pf-c-masthead__content--GridColumn: var(--pf-c-masthead--m-display-stack__content--GridColumn);
15
15
  --pf-c-masthead__content--MinHeight: var(--pf-c-masthead--m-display-stack__content--MinHeight);
16
16
  --pf-c-masthead__content--Order: var(--pf-c-masthead--m-display-stack__content--Order);
17
17
  --pf-c-masthead__content--PaddingTop: var(--pf-c-masthead--m-display-stack__content--PaddingTop);
@@ -214,7 +214,7 @@ $pf-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
214
214
 
215
215
  &.pf-m-full-height {
216
216
  --pf-c-menu-toggle--before--BorderRightColor: var(--pf-c-masthead--c-menu-toggle--m-full-height--before--BorderRightColor);
217
- --pf-c-menu-toggle--before--BorderBottomColor: var(--pf-c-masthead--c-menu-toggle--m-full-height--before--BorderBottomColor);
217
+ --pf-c-menu-toggle--before--BorderLeftColor: var(--pf-c-masthead--c-menu-toggle--m-full-height--before--BorderLeftColor);
218
218
  }
219
219
  }
220
220
 
@@ -0,0 +1,53 @@
1
+ .pf-c-table {
2
+ --pf-c-table__sticky-column--cell-min-width--base: 12.5rem;
3
+ --pf-c-table__sticky-column--MinWidth: var(--pf-c-table__sticky-column--cell-min-width--base);
4
+ --pf-c-table__sticky-column--Left: 0;
5
+ --pf-c-table__sticky-column--ZIndex: var(--pf-global--ZIndex--md);
6
+ --pf-c-table__sticky-column--Top: 0;
7
+ --pf-c-table__sticky-column--BackgroundColor: var(--pf-global--BackgroundColor--100);
8
+ --pf-c-table__sticky-column--m-border-right--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
9
+ --pf-c-table__sticky-column--m-border-right--before--BorderRightColor: var(--pf-global--BorderColor--100);
10
+ --pf-c-table--m-sticky-header--thead__sticky-column--ZIndex: calc(var(--pf-c-table__sticky-column--ZIndex) + 1);
11
+ }
12
+ .pf-c-table .pf-c-table__sticky-column {
13
+ position: sticky;
14
+ left: var(--pf-c-table__sticky-column--Left);
15
+ z-index: var(--pf-c-table__sticky-column--ZIndex);
16
+ min-width: var(--pf-c-table__sticky-column--MinWidth);
17
+ background-color: var(--pf-c-table__sticky-column--BackgroundColor);
18
+ background-clip: padding-box;
19
+ }
20
+ .pf-c-table .pf-c-table__sticky-column.pf-m-border-right::before {
21
+ position: absolute;
22
+ top: 0;
23
+ right: 0;
24
+ bottom: 0;
25
+ left: 0;
26
+ pointer-events: none;
27
+ content: "";
28
+ border-right: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth) solid var(--pf-c-table__sticky-column--m-border-right--before--BorderRightColor);
29
+ }
30
+ .pf-c-table.pf-m-sticky-header {
31
+ --pf-c-table--cell--Overflow: visible;
32
+ }
33
+ .pf-c-table.pf-m-sticky-header thead .pf-c-table__sticky-column {
34
+ z-index: var(--pf-c-table--m-sticky-header--thead__sticky-column--ZIndex);
35
+ }
36
+
37
+ .pf-c-scroll-outer-wrapper {
38
+ --pf-c-scroll-outer-wrapper--MinHeight: 25rem;
39
+ display: flex;
40
+ flex-direction: column;
41
+ max-width: 100%;
42
+ min-height: var(--pf-c-scroll-outer-wrapper--MinHeight);
43
+ max-height: 100%;
44
+ overflow: hidden;
45
+ }
46
+
47
+ .pf-c-scroll-inner-wrapper {
48
+ display: flex;
49
+ flex-direction: column;
50
+ max-width: 100%;
51
+ max-height: 100%;
52
+ overflow: auto;
53
+ }
@@ -0,0 +1,60 @@
1
+ .pf-c-table {
2
+ --pf-c-table__sticky-column--cell-min-width--base: #{pf-size-prem(200px)};
3
+ --pf-c-table__sticky-column--MinWidth: var(--pf-c-table__sticky-column--cell-min-width--base);
4
+ --pf-c-table__sticky-column--Left: 0;
5
+ --pf-c-table__sticky-column--ZIndex: var(--pf-global--ZIndex--md);
6
+ --pf-c-table__sticky-column--Top: 0;
7
+ --pf-c-table__sticky-column--BackgroundColor: var(--pf-global--BackgroundColor--100);
8
+ --pf-c-table__sticky-column--m-border-right--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
9
+ --pf-c-table__sticky-column--m-border-right--before--BorderRightColor: var(--pf-global--BorderColor--100);
10
+ --pf-c-table--m-sticky-header--thead__sticky-column--ZIndex: calc(var(--pf-c-table__sticky-column--ZIndex) + 1);
11
+
12
+ .pf-c-table__sticky-column {
13
+ position: sticky;
14
+ left: var(--pf-c-table__sticky-column--Left);
15
+ z-index: var(--pf-c-table__sticky-column--ZIndex);
16
+ min-width: var(--pf-c-table__sticky-column--MinWidth);
17
+ background-color: var(--pf-c-table__sticky-column--BackgroundColor);
18
+ background-clip: padding-box;
19
+
20
+ &.pf-m-border-right::before {
21
+ position: absolute;
22
+ top: 0;
23
+ right: 0;
24
+ bottom: 0;
25
+ left: 0;
26
+ pointer-events: none;
27
+ content: "";
28
+ border-right: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth) solid var(--pf-c-table__sticky-column--m-border-right--before--BorderRightColor);
29
+ }
30
+ }
31
+
32
+ &.pf-m-sticky-header {
33
+ --pf-c-table--cell--Overflow: visible;
34
+
35
+ thead {
36
+ .pf-c-table__sticky-column {
37
+ z-index: var(--pf-c-table--m-sticky-header--thead__sticky-column--ZIndex);
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ .pf-c-scroll-outer-wrapper {
44
+ --pf-c-scroll-outer-wrapper--MinHeight: #{pf-size-prem(400px)};
45
+
46
+ display: flex;
47
+ flex-direction: column;
48
+ max-width: 100%;
49
+ min-height: var(--pf-c-scroll-outer-wrapper--MinHeight);
50
+ max-height: 100%;
51
+ overflow: hidden;
52
+ }
53
+
54
+ .pf-c-scroll-inner-wrapper {
55
+ display: flex;
56
+ flex-direction: column;
57
+ max-width: 100%;
58
+ max-height: 100%;
59
+ overflow: auto;
60
+ }
@@ -0,0 +1,124 @@
1
+ .pf-c-text-input-group {
2
+ --pf-c-text-input-group__text--before--BorderWidth: var(--pf-global--BorderWidth--sm);
3
+ --pf-c-text-input-group__text--before--BorderColor: var(--pf-global--BorderColor--300);
4
+ --pf-c-text-input-group__text--after--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
5
+ --pf-c-text-input-group__text--after--BorderBottomColor: var(--pf-global--BorderColor--200);
6
+ --pf-c-text-input-group--hover__text--after--BorderBottomColor: var(--pf-global--primary-color--100);
7
+ --pf-c-text-input-group__text--focus-within--after--BorderBottomWidth: var(--pf-global--BorderWidth--md);
8
+ --pf-c-text-input-group__text--focus-within--after--BorderBottomColor: var(--pf-global--primary-color--100);
9
+ --pf-c-text-input-group__main--first-child--not--text-input--MarginLeft: var(--pf-global--spacer--sm);
10
+ --pf-c-text-input-group__text-input--PaddingTop: var(--pf-global--spacer--form-element);
11
+ --pf-c-text-input-group__text-input--PaddingRight: var(--pf-global--spacer--sm);
12
+ --pf-c-text-input-group__text-input--PaddingBottom: var(--pf-global--spacer--form-element);
13
+ --pf-c-text-input-group__text-input--PaddingLeft: var(--pf-global--spacer--sm);
14
+ --pf-c-text-input-group--m-icon__text-input--PaddingLeft: var(--pf-global--spacer--xl);
15
+ --pf-c-text-input-group__text-input--MinWidth: 12ch;
16
+ --pf-c-text-input-group__text-input--m-hint--Color: var(--pf-global--Color--dark-200);
17
+ --pf-c-text-input-group__icon--Left: var(--pf-global--spacer--sm);
18
+ --pf-c-text-input-group__icon--Color: var(--pf-global--Color--200);
19
+ --pf-c-text-input-group__text--hover__icon--Color: var(--pf-global--Color--100);
20
+ --pf-c-text-input-group__icon--TranslateY: -50%;
21
+ --pf-c-text-input-group__utilities--MarginRight: var(--pf-global--spacer--sm);
22
+ --pf-c-text-input-group__utilities--MarginLeft: var(--pf-global--spacer--xs);
23
+ --pf-c-text-input-group__utilities--child--MarginLeft: var(--pf-global--spacer--xs);
24
+ --pf-c-text-input-group__utilities--c-button--PaddingRight: var(--pf-global--spacer--xs);
25
+ --pf-c-text-input-group__utilities--c-button--PaddingLeft: var(--pf-global--spacer--xs);
26
+ position: relative;
27
+ display: flex;
28
+ }
29
+ .pf-c-text-input-group:hover {
30
+ --pf-c-text-input-group__text--after--BorderBottomColor: var(--pf-c-text-input-group--hover__text--after--BorderBottomColor);
31
+ }
32
+ .pf-c-text-input-group.pf-m-icon {
33
+ --pf-c-text-input-group__text-input--PaddingLeft: var(--pf-c-text-input-group--m-icon__text-input--PaddingLeft);
34
+ }
35
+
36
+ .pf-c-text-input-group__main {
37
+ display: flex;
38
+ flex: 1;
39
+ gap: var(--pf-global--spacer--sm);
40
+ min-width: 0;
41
+ }
42
+ .pf-c-text-input-group__main > :first-child:not(.pf-c-text-input-group__text) {
43
+ margin-left: var(--pf-c-text-input-group__main--first-child--not--text-input--MarginLeft);
44
+ }
45
+ .pf-c-text-input-group__main .pf-c-chip-group {
46
+ overflow: auto;
47
+ -ms-overflow-style: none;
48
+ scrollbar-width: none;
49
+ }
50
+ .pf-c-text-input-group__main .pf-c-chip-group::-webkit-scrollbar {
51
+ display: none;
52
+ }
53
+ .pf-c-text-input-group__main .pf-c-chip-group,
54
+ .pf-c-text-input-group__main .pf-c-chip-group__list {
55
+ flex-wrap: nowrap;
56
+ }
57
+
58
+ .pf-c-text-input-group__text {
59
+ display: inline-grid;
60
+ grid-template-columns: 1fr;
61
+ grid-template-areas: "text-input";
62
+ flex: 1;
63
+ }
64
+ .pf-c-text-input-group__text::before, .pf-c-text-input-group__text::after {
65
+ position: absolute;
66
+ top: 0;
67
+ right: 0;
68
+ bottom: 0;
69
+ left: 0;
70
+ pointer-events: none;
71
+ content: "";
72
+ }
73
+ .pf-c-text-input-group__text::before {
74
+ border: var(--pf-c-text-input-group__text--before--BorderWidth) solid var(--pf-c-text-input-group__text--before--BorderColor);
75
+ }
76
+ .pf-c-text-input-group__text::after {
77
+ border-bottom: var(--pf-c-text-input-group__text--after--BorderBottomWidth) solid var(--pf-c-text-input-group__text--after--BorderBottomColor);
78
+ }
79
+ .pf-c-text-input-group__text:hover, .pf-c-text-input-group__text:focus-within {
80
+ --pf-c-text-input-group__icon--Color: var(--pf-c-text-input-group__text--hover__icon--Color);
81
+ }
82
+ .pf-c-text-input-group__text:focus-within {
83
+ --pf-c-text-input-group__text--after--BorderBottomWidth: var(--pf-c-text-input-group__text--focus-within--after--BorderBottomWidth);
84
+ --pf-c-text-input-group__text--after--BorderBottomColor: var(--pf-c-text-input-group__text--focus-within--after--BorderBottomColor);
85
+ }
86
+
87
+ .pf-c-text-input-group__icon {
88
+ position: absolute;
89
+ top: 50%;
90
+ left: var(--pf-c-text-input-group__icon--Left);
91
+ color: var(--pf-c-text-input-group__icon--Color);
92
+ transform: translateY(var(--pf-c-text-input-group__icon--TranslateY));
93
+ }
94
+
95
+ .pf-c-text-input-group__text-input {
96
+ overflow: hidden;
97
+ text-overflow: ellipsis;
98
+ white-space: nowrap;
99
+ position: relative;
100
+ width: 100%;
101
+ min-width: var(--pf-c-text-input-group__text-input--MinWidth);
102
+ padding: var(--pf-c-text-input-group__text-input--PaddingTop) var(--pf-c-text-input-group__text-input--PaddingRight) var(--pf-c-text-input-group__text-input--PaddingBottom) var(--pf-c-text-input-group__text-input--PaddingLeft);
103
+ border: 0;
104
+ }
105
+ .pf-c-text-input-group__text-input, .pf-c-text-input-group__text-input.pf-m-hint {
106
+ grid-area: text-input;
107
+ }
108
+ .pf-c-text-input-group__text-input.pf-m-hint {
109
+ color: var(--pf-c-text-input-group__text-input--m-hint--Color);
110
+ }
111
+
112
+ .pf-c-text-input-group__utilities {
113
+ display: flex;
114
+ align-items: center;
115
+ margin-right: var(--pf-c-text-input-group__utilities--MarginRight);
116
+ margin-left: var(--pf-c-text-input-group__utilities--MarginLeft);
117
+ }
118
+ .pf-c-text-input-group__utilities > * + * {
119
+ margin-left: var(--pf-c-text-input-group__utilities--child--MarginLeft);
120
+ }
121
+ .pf-c-text-input-group__utilities .pf-c-button {
122
+ --pf-c-button--PaddingRight: var(--pf-c-text-input-group__utilities--c-button--PaddingRight);
123
+ --pf-c-button--PaddingLeft: var(--pf-c-text-input-group__utilities--c-button--PaddingLeft);
124
+ }
@@ -0,0 +1,157 @@
1
+ .pf-c-text-input-group {
2
+ // Base border
3
+ --pf-c-text-input-group__text--before--BorderWidth: var(--pf-global--BorderWidth--sm);
4
+ --pf-c-text-input-group__text--before--BorderColor: var(--pf-global--BorderColor--300);
5
+
6
+ // Bottom border
7
+ --pf-c-text-input-group__text--after--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
8
+ --pf-c-text-input-group__text--after--BorderBottomColor: var(--pf-global--BorderColor--200);
9
+ --pf-c-text-input-group--hover__text--after--BorderBottomColor: var(--pf-global--primary-color--100);
10
+ --pf-c-text-input-group__text--focus-within--after--BorderBottomWidth: var(--pf-global--BorderWidth--md);
11
+ --pf-c-text-input-group__text--focus-within--after--BorderBottomColor: var(--pf-global--primary-color--100);
12
+
13
+ // Main
14
+ --pf-c-text-input-group__main--first-child--not--text-input--MarginLeft: var(--pf-global--spacer--sm);
15
+
16
+ // Search input
17
+ --pf-c-text-input-group__text-input--PaddingTop: var(--pf-global--spacer--form-element);
18
+ --pf-c-text-input-group__text-input--PaddingRight: var(--pf-global--spacer--sm);
19
+ --pf-c-text-input-group__text-input--PaddingBottom: var(--pf-global--spacer--form-element);
20
+ --pf-c-text-input-group__text-input--PaddingLeft: var(--pf-global--spacer--sm);
21
+ --pf-c-text-input-group--m-icon__text-input--PaddingLeft: var(--pf-global--spacer--xl);
22
+ --pf-c-text-input-group__text-input--MinWidth: 12ch;
23
+ --pf-c-text-input-group__text-input--m-hint--Color: var(--pf-global--Color--dark-200); // matches placeholder text color
24
+
25
+ // Icon
26
+ --pf-c-text-input-group__icon--Left: var(--pf-global--spacer--sm);
27
+ --pf-c-text-input-group__icon--Color: var(--pf-global--Color--200);
28
+ --pf-c-text-input-group__text--hover__icon--Color: var(--pf-global--Color--100);
29
+ --pf-c-text-input-group__icon--TranslateY: -50%;
30
+
31
+ // Utilities
32
+ --pf-c-text-input-group__utilities--MarginRight: var(--pf-global--spacer--sm);
33
+ --pf-c-text-input-group__utilities--MarginLeft: var(--pf-global--spacer--xs);
34
+ --pf-c-text-input-group__utilities--child--MarginLeft: var(--pf-global--spacer--xs);
35
+ --pf-c-text-input-group__utilities--c-button--PaddingRight: var(--pf-global--spacer--xs);
36
+ --pf-c-text-input-group__utilities--c-button--PaddingLeft: var(--pf-global--spacer--xs);
37
+
38
+ position: relative;
39
+ display: flex;
40
+
41
+ &:hover {
42
+ --pf-c-text-input-group__text--after--BorderBottomColor: var(--pf-c-text-input-group--hover__text--after--BorderBottomColor);
43
+ }
44
+
45
+ &.pf-m-icon {
46
+ --pf-c-text-input-group__text-input--PaddingLeft: var(--pf-c-text-input-group--m-icon__text-input--PaddingLeft);
47
+ }
48
+ }
49
+
50
+ .pf-c-text-input-group__main {
51
+ display: flex;
52
+ flex: 1;
53
+ gap: var(--pf-global--spacer--sm);
54
+ min-width: 0;
55
+
56
+ > :first-child:not(.pf-c-text-input-group__text) {
57
+ margin-left: var(--pf-c-text-input-group__main--first-child--not--text-input--MarginLeft);
58
+ }
59
+
60
+ // Scroll chip group horizontally if there is overflow
61
+ .pf-c-chip-group {
62
+ overflow: auto;
63
+
64
+ // Hide scrollbar for IE, Edge and Firefox
65
+ -ms-overflow-style: none; // IE and Edge
66
+ scrollbar-width: none; // Firefox
67
+
68
+ // Hide scrollbar for Chrome, Safari and Opera
69
+ &::-webkit-scrollbar {
70
+ display: none;
71
+ }
72
+ }
73
+
74
+ .pf-c-chip-group,
75
+ .pf-c-chip-group__list {
76
+ flex-wrap: nowrap;
77
+ }
78
+ }
79
+
80
+ .pf-c-text-input-group__text {
81
+ display: inline-grid;
82
+ grid-template-columns: 1fr;
83
+ grid-template-areas: "text-input";
84
+ flex: 1;
85
+
86
+ &::before,
87
+ &::after {
88
+ position: absolute;
89
+ top: 0;
90
+ right: 0;
91
+ bottom: 0;
92
+ left: 0;
93
+ pointer-events: none;
94
+ content: "";
95
+ }
96
+
97
+ &::before {
98
+ border: var(--pf-c-text-input-group__text--before--BorderWidth) solid var(--pf-c-text-input-group__text--before--BorderColor);
99
+ }
100
+
101
+ &::after {
102
+ border-bottom: var(--pf-c-text-input-group__text--after--BorderBottomWidth) solid var(--pf-c-text-input-group__text--after--BorderBottomColor);
103
+ }
104
+
105
+ &:hover,
106
+ &:focus-within {
107
+ --pf-c-text-input-group__icon--Color: var(--pf-c-text-input-group__text--hover__icon--Color);
108
+ }
109
+
110
+ &:focus-within {
111
+ --pf-c-text-input-group__text--after--BorderBottomWidth: var(--pf-c-text-input-group__text--focus-within--after--BorderBottomWidth);
112
+ --pf-c-text-input-group__text--after--BorderBottomColor: var(--pf-c-text-input-group__text--focus-within--after--BorderBottomColor);
113
+ }
114
+ }
115
+
116
+ .pf-c-text-input-group__icon {
117
+ position: absolute;
118
+ top: 50%;
119
+ left: var(--pf-c-text-input-group__icon--Left);
120
+ color: var(--pf-c-text-input-group__icon--Color);
121
+ transform: translateY(var(--pf-c-text-input-group__icon--TranslateY));
122
+ }
123
+
124
+ .pf-c-text-input-group__text-input {
125
+ @include pf-text-overflow;
126
+
127
+ position: relative;
128
+ width: 100%;
129
+ min-width: var(--pf-c-text-input-group__text-input--MinWidth);
130
+ padding: var(--pf-c-text-input-group__text-input--PaddingTop) var(--pf-c-text-input-group__text-input--PaddingRight) var(--pf-c-text-input-group__text-input--PaddingBottom) var(--pf-c-text-input-group__text-input--PaddingLeft);
131
+ border: 0;
132
+
133
+ &,
134
+ &.pf-m-hint {
135
+ grid-area: text-input;
136
+ }
137
+
138
+ &.pf-m-hint {
139
+ color: var(--pf-c-text-input-group__text-input--m-hint--Color);
140
+ }
141
+ }
142
+
143
+ .pf-c-text-input-group__utilities {
144
+ display: flex;
145
+ align-items: center;
146
+ margin-right: var(--pf-c-text-input-group__utilities--MarginRight);
147
+ margin-left: var(--pf-c-text-input-group__utilities--MarginLeft);
148
+
149
+ > * + * {
150
+ margin-left: var(--pf-c-text-input-group__utilities--child--MarginLeft);
151
+ }
152
+
153
+ .pf-c-button {
154
+ --pf-c-button--PaddingRight: var(--pf-c-text-input-group__utilities--c-button--PaddingRight);
155
+ --pf-c-button--PaddingLeft: var(--pf-c-text-input-group__utilities--c-button--PaddingLeft);
156
+ }
157
+ }
@@ -74,8 +74,10 @@
74
74
  @import "./TabContent/tab-content.scss";
75
75
  @import "./Table/table-grid.scss";
76
76
  @import "./Table/table.scss";
77
+ @import "./Table/table-scrollable.scss";
77
78
  @import "./Table/table-tree-view.scss";
78
79
  @import "./Tabs/tabs.scss";
80
+ @import "./TextInputGroup/text-input-group.scss";
79
81
  @import "./Tile/tile.scss";
80
82
  @import "./Title/title.scss";
81
83
  @import "./ToggleGroup/toggle-group.scss";
@@ -8,3 +8,7 @@
8
8
  left: 440px;
9
9
  top: -18px;
10
10
  }
11
+
12
+ #ws-core-c-table-sticky-columns-and-header .ws-preview-html {
13
+ height: 600px;
14
+ }