@patternfly/patternfly 4.192.0 → 4.192.3

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,32 @@ id: Release notes
3
3
  section: developer-resources
4
4
  releaseNoteTOC: true
5
5
  ---
6
+ ## 2022.05 release notes (2022-04-20)
7
+ Packages released:
8
+ - [@patternfly/patternfly@v4.192.1](https://www.npmjs.com/package/@patternfly/patternfly/v/4.192.1)
9
+
10
+ ### Components
11
+ - **Card:** Fixed stacking context issue with selectable raised cards ([#4780](https://github.com/patternfly/patternfly/pull/4780))
12
+ - **Data list:** Updated expandable demo to include expand/collapse all in toolbar ([#4784](https://github.com/patternfly/patternfly/pull/4784))
13
+ - **Divider:** Added horizontal/vertical breakpoint support to divider ([#4765](https://github.com/patternfly/patternfly/pull/4765))
14
+ - **Form control:** Fixed placeholder variation menu item color ([#4773](https://github.com/patternfly/patternfly/pull/4773))
15
+ - **Form:**
16
+ - Added CSS vars for defining label cursor ([#4779](https://github.com/patternfly/patternfly/pull/4779))
17
+ - Changed width limited form max width from 500 to 800px ([#4782](https://github.com/patternfly/patternfly/pull/4782))
18
+ - **Login:** Added support for any language selector menu ([#4793](https://github.com/patternfly/patternfly/pull/4793))
19
+ - **Page:** Updated dark theme main section bgcolor ([#4791](https://github.com/patternfly/patternfly/pull/4791))
20
+ - **Search input:** Converted to text-input-group ([#4730](https://github.com/patternfly/patternfly/pull/4730))
21
+ - **Switch:** Updated to switch state colors, added checked + label example ([#4766](https://github.com/patternfly/patternfly/pull/4766))
22
+ - **Tabs:**
23
+ - Added secondary border-bottom variation, update demos ([#4774](https://github.com/patternfly/patternfly/pull/4774))
24
+ - Added close button and add new tab ([#4787](https://github.com/patternfly/patternfly/pull/4787))
25
+ - **Wizard:** Added drawer example ([#4778](https://github.com/patternfly/patternfly/pull/4778))
26
+
27
+ ### Other
28
+ - **Global:** Updated code and pre elements to use PF mono font stack ([#4783](https://github.com/patternfly/patternfly/pull/4783))
29
+ - **Theme:** Added stylesheet for prefers-color-scheme dark ([#4761](https://github.com/patternfly/patternfly/pull/4761))
30
+
31
+
6
32
  ## 2022.04 release notes (2022-03-30)
7
33
  Packages released:
8
34
  - [@patternfly/patternfly@v4.185.1](https://www.npmjs.com/package/@patternfly/patternfly/v/4.185.1)
@@ -162,6 +162,9 @@
162
162
  color: var(--pf-c-description-list__term-icon--Color);
163
163
  }
164
164
 
165
+ .pf-c-description-list__text {
166
+ min-width: 0;
167
+ }
165
168
  .pf-c-description-list__text.pf-m-help-text {
166
169
  text-decoration: underline;
167
170
  cursor: pointer;
@@ -144,6 +144,8 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
144
144
  }
145
145
 
146
146
  .pf-c-description-list__text {
147
+ min-width: 0; // this allows overflow-wrap to work
148
+
147
149
  &.pf-m-help-text {
148
150
  text-decoration: underline;
149
151
  cursor: pointer;
@@ -29,6 +29,7 @@
29
29
  --pf-c-text-input-group--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
30
30
  position: relative;
31
31
  display: flex;
32
+ width: 100%;
32
33
  color: var(--pf-c-text-input-group--Color, inherit);
33
34
  background-color: var(--pf-c-text-input-group--BackgroundColor);
34
35
  }
@@ -144,4 +145,8 @@
144
145
  .pf-c-text-input-group__utilities .pf-c-button {
145
146
  --pf-c-button--PaddingRight: var(--pf-c-text-input-group__utilities--c-button--PaddingRight);
146
147
  --pf-c-button--PaddingLeft: var(--pf-c-text-input-group__utilities--c-button--PaddingLeft);
148
+ }
149
+
150
+ .pf-c-text-input-group__group {
151
+ display: flex;
147
152
  }
@@ -45,6 +45,7 @@
45
45
 
46
46
  position: relative;
47
47
  display: flex;
48
+ width: 100%; // when child of flex layout, take up space
48
49
  color: var(--pf-c-text-input-group--Color, inherit);
49
50
  background-color: var(--pf-c-text-input-group--BackgroundColor);
50
51
 
@@ -190,3 +191,8 @@
190
191
  --pf-c-button--PaddingLeft: var(--pf-c-text-input-group__utilities--c-button--PaddingLeft);
191
192
  }
192
193
  }
194
+
195
+
196
+ .pf-c-text-input-group__group {
197
+ display: flex;
198
+ }
@@ -59,6 +59,7 @@
59
59
  --pf-c-tree-view--m-guides__list-item--before--BackgroundColor: var(--pf-c-tree-view--m-guides--guide-color--base);
60
60
  --pf-c-tree-view--m-guides__list-item--last-child--before--Top: var(--pf-c-tree-view--m-guides__node--before--Top);
61
61
  --pf-c-tree-view--m-guides__list-item--last-child--before--Height: var(--pf-c-tree-view--m-guides__list-item--last-child--before--Top);
62
+ --pf-c-tree-view--m-guides__list-item--ZIndex: var(--pf-global--ZIndex--xs);
62
63
  --pf-c-tree-view--m-guides__node--before--Width: 1rem;
63
64
  --pf-c-tree-view--m-guides__node--before--Height: var(--pf-c-tree-view--m-guides--guide-width--base);
64
65
  --pf-c-tree-view--m-guides__node--before--Top: 1.125rem;
@@ -119,6 +120,7 @@
119
120
  }
120
121
  .pf-c-tree-view.pf-m-compact .pf-c-tree-view__list-item .pf-c-tree-view__list-item::before, .pf-c-tree-view.pf-m-guides .pf-c-tree-view__list-item .pf-c-tree-view__list-item::before {
121
122
  top: var(--pf-c-tree-view--m-guides__list-item--before--Top);
123
+ z-index: var(--pf-c-tree-view--m-guides__list-item--ZIndex);
122
124
  width: var(--pf-c-tree-view--m-guides__list-item--before--Width);
123
125
  height: var(--pf-c-tree-view--m-guides__list-item--before--Height);
124
126
  background-color: var(--pf-c-tree-view--m-guides__list-item--before--BackgroundColor);
@@ -98,6 +98,7 @@ $pf-c-tree-view--MaxNesting: 10;
98
98
  --pf-c-tree-view--m-guides__list-item--before--BackgroundColor: var(--pf-c-tree-view--m-guides--guide-color--base);
99
99
  --pf-c-tree-view--m-guides__list-item--last-child--before--Top: var(--pf-c-tree-view--m-guides__node--before--Top);
100
100
  --pf-c-tree-view--m-guides__list-item--last-child--before--Height: var(--pf-c-tree-view--m-guides__list-item--last-child--before--Top);
101
+ --pf-c-tree-view--m-guides__list-item--ZIndex: var(--pf-global--ZIndex--xs);
101
102
 
102
103
  // Node
103
104
  --pf-c-tree-view--m-guides__node--before--Width: #{pf-size-prem(16px)};
@@ -187,6 +188,7 @@ $pf-c-tree-view--MaxNesting: 10;
187
188
  // vertical border
188
189
  &::before {
189
190
  top: var(--pf-c-tree-view--m-guides__list-item--before--Top);
191
+ z-index: var(--pf-c-tree-view--m-guides__list-item--ZIndex);
190
192
  width: var(--pf-c-tree-view--m-guides__list-item--before--Width);
191
193
  height: var(--pf-c-tree-view--m-guides__list-item--before--Height);
192
194
  background-color: var(--pf-c-tree-view--m-guides__list-item--before--BackgroundColor);
@@ -2,7 +2,11 @@
2
2
  id: Input group
3
3
  section: components
4
4
  cssPrefix: pf-c-input-group
5
- ---## Examples
5
+ ---### Overview
6
+
7
+ Use the input group to extend form controls by adding text, buttons, selects, etc. The input group handles border overlap.
8
+
9
+ ## Examples
6
10
 
7
11
  ### Variations
8
12
 
@@ -213,10 +217,6 @@ cssPrefix: pf-c-input-group
213
217
 
214
218
  ## Documentation
215
219
 
216
- ### Overview
217
-
218
- Use the input group to extend form controls by adding text, buttons, selects, etc.
219
-
220
220
  ### Accessibility
221
221
 
222
222
  When using the `.pf-c-input-group` always ensure labels are used outside the input group with the `.pf-screen-reader` class applied. You can also make use of the `aria-describedby`, `aria-label`, or `aria-labelledby` attributes. For more information on accessibility and forms see the [form component](/components/form).
@@ -0,0 +1,23 @@
1
+ #ws-core-c-search-input-advanced-search-expanded,
2
+ #ws-core-c-text-input-group-search-input-group-advanced-search-expanded-with-autocomplete {
3
+ height: 540px;
4
+ }
5
+
6
+ #ws-core-c-search-input-autocomplete {
7
+ height: 250px;
8
+ }
9
+
10
+ #ws-core-c-search-input-autocomplete-last-option-hint {
11
+ height: 130px;
12
+ }
13
+
14
+ .ws-example-wrapper {
15
+ position: relative;
16
+ }
17
+
18
+ .ws-example-wrapper .pf-c-menu,
19
+ .ws-example-wrapper .pf-c-panel {
20
+ position: absolute;
21
+ top: 40px;
22
+ width: 100%;
23
+ }