@patternfly/patternfly 4.219.1 → 4.219.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 +18 -0
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +0 -1
- package/docs/components/CodeEditor/examples/CodeEditor.md +0 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +0 -1
- package/docs/components/FormControl/examples/FormControl.md +1 -1
- package/docs/components/LabelGroup/examples/LabelGroup.md +3 -4
- package/docs/components/Masthead/examples/masthead.md +0 -1
- package/docs/components/MenuToggle/examples/MenuToggle.md +0 -1
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +0 -1
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +0 -1
- package/docs/components/Page/examples/Page.css +11 -0
- package/docs/components/Page/examples/Page.md +72 -39
- package/docs/components/Panel/examples/Panel.md +0 -1
- package/docs/components/Select/examples/Select.md +2 -2
- package/docs/components/Slider/examples/Slider.md +0 -1
- package/docs/components/TreeView/examples/TreeView.md +0 -1
- package/docs/demos/Masthead/examples/Masthead.md +0 -1
- package/package.json +2 -2
package/RELEASE-NOTES.md
CHANGED
|
@@ -3,6 +3,24 @@ id: Release notes
|
|
|
3
3
|
section: developer-resources
|
|
4
4
|
releaseNoteTOC: true
|
|
5
5
|
---
|
|
6
|
+
## 2022.14 release notes (2022-10-28)
|
|
7
|
+
Packages released:
|
|
8
|
+
- [@patternfly/patternfly@v4.219.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.219.2)
|
|
9
|
+
|
|
10
|
+
### Components
|
|
11
|
+
- **Context selector:** Updated static props ([#5191](https://github.com/patternfly/patternfly/pull/5191))
|
|
12
|
+
- **Dropdown:** Disabled top positioning when using static variation ([#5189](https://github.com/patternfly/patternfly/pull/5189))
|
|
13
|
+
- **Progress:** Added helper text ([#5161](https://github.com/patternfly/patternfly/pull/5161))
|
|
14
|
+
|
|
15
|
+
### Other
|
|
16
|
+
- **Docs:**
|
|
17
|
+
- Removed a11y section from example pages ([#5167](https://github.com/patternfly/patternfly/pull/5167))
|
|
18
|
+
- Promoted 2022.14 beta candidates ([#5179](https://github.com/patternfly/patternfly/pull/5179))
|
|
19
|
+
- Updated page component example content, made text readable ([#5187](https://github.com/patternfly/patternfly/pull/5187))
|
|
20
|
+
- **Icons:** Added open-drawer-right pficon ([#5160](https://github.com/patternfly/patternfly/pull/5160))
|
|
21
|
+
- **Build:** Created new extensions github workflow ([#5186](https://github.com/patternfly/patternfly/pull/5186))
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## 2022.13 release notes (2022-10-06)
|
|
7
25
|
Packages released:
|
|
8
26
|
- [@patternfly/patternfly@v4.217.1](https://www.npmjs.com/package/@patternfly/patternfly/v/4.217.1)
|
|
@@ -348,7 +348,7 @@ cssPrefix: pf-c-form-control
|
|
|
348
348
|
|
|
349
349
|
**Note:** The icons for the success, invalid, calendar, etc varations in form control elemements are applied as background images to the form element. By default, the image URLs for these icons are data URIs. However, there may be cases where data URIs are not ideal, such as in an application with a content security policy that disallows data URIs for security reasons. The `.pf-m-icon-sprite` variation changes the icon source to an external SVG file that serves as a sprite for all of the supported icons.
|
|
350
350
|
|
|
351
|
-
```html
|
|
351
|
+
```html
|
|
352
352
|
<input
|
|
353
353
|
class="pf-c-form-control pf-m-success pf-m-icon-sprite"
|
|
354
354
|
type="text"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: 'Label group'
|
|
3
|
-
beta: true
|
|
4
3
|
section: components
|
|
5
4
|
cssPrefix: pf-c-label-group
|
|
6
5
|
---## Examples
|
|
@@ -611,7 +610,7 @@ In addition to the JavaScript management of [editable labels](/components/label#
|
|
|
611
610
|
|
|
612
611
|
### Editable labels, dynamic label group
|
|
613
612
|
|
|
614
|
-
```html
|
|
613
|
+
```html isBeta
|
|
615
614
|
<div class="pf-c-label-group pf-m-editable">
|
|
616
615
|
<div class="pf-c-label-group__main">
|
|
617
616
|
<ul class="pf-c-label-group__list" role="list" aria-label="Group of labels">
|
|
@@ -694,7 +693,7 @@ In addition to the JavaScript management of [editable labels](/components/label#
|
|
|
694
693
|
|
|
695
694
|
### Editable labels, label active, dynamic label group
|
|
696
695
|
|
|
697
|
-
```html
|
|
696
|
+
```html isBeta
|
|
698
697
|
<div class="pf-c-label-group pf-m-editable">
|
|
699
698
|
<div class="pf-c-label-group__main">
|
|
700
699
|
<ul class="pf-c-label-group__list" role="list" aria-label="Group of labels">
|
|
@@ -842,7 +841,7 @@ In addition to the JavaScript management of [editable labels](/components/label#
|
|
|
842
841
|
|
|
843
842
|
### Mixed labels (static / editable), dynamic label group
|
|
844
843
|
|
|
845
|
-
```html
|
|
844
|
+
```html isBeta
|
|
846
845
|
<div class="pf-c-label-group pf-m-editable">
|
|
847
846
|
<div class="pf-c-label-group__main">
|
|
848
847
|
<ul class="pf-c-label-group__list" role="list" aria-label="Group of labels">
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.ws-core-c-page :is(.pf-c-page__sidebar, .pf-c-page__main-subnav) {
|
|
2
|
+
color: var(--pf-global--Color--light-100);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ws-core-c-page .pf-c-page__main-section.pf-m-dark-200 {
|
|
6
|
+
color: var(--pf-global--Color--dark-100);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
#ws-core-c-page-with-or-without-fill .ws-preview-html {
|
|
10
|
+
height: 500px;
|
|
11
|
+
}
|
|
@@ -3,7 +3,9 @@ id: Page
|
|
|
3
3
|
section: components
|
|
4
4
|
cssPrefix: pf-c-page
|
|
5
5
|
wrapperTag: div
|
|
6
|
-
|
|
6
|
+
---import './Page.css'
|
|
7
|
+
|
|
8
|
+
## Examples
|
|
7
9
|
|
|
8
10
|
### Vertical nav
|
|
9
11
|
|
|
@@ -17,13 +19,28 @@ wrapperTag: div
|
|
|
17
19
|
<div class="pf-c-page__header-tools">header-tools</div>
|
|
18
20
|
</header>
|
|
19
21
|
<div class="pf-c-page__sidebar">
|
|
20
|
-
<div class="pf-c-page__sidebar-body">
|
|
22
|
+
<div class="pf-c-page__sidebar-body">Navigation</div>
|
|
21
23
|
</div>
|
|
22
24
|
<main class="pf-c-page__main" tabindex="-1">
|
|
23
|
-
<section class="pf-c-page__main-section pf-m-dark-100"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
<section class="pf-c-page__main-section pf-m-dark-100">
|
|
26
|
+
This
|
|
27
|
+
<code>.pf-c-page__main-section</code> uses
|
|
28
|
+
<code>.pf-m-dark-100</code>.
|
|
29
|
+
</section>
|
|
30
|
+
<section class="pf-c-page__main-section pf-m-dark-200">
|
|
31
|
+
This
|
|
32
|
+
<code>.pf-c-page__main-section</code> uses
|
|
33
|
+
<code>.pf-m-dark-200</code>.
|
|
34
|
+
</section>
|
|
35
|
+
<section class="pf-c-page__main-section pf-m-light">
|
|
36
|
+
This
|
|
37
|
+
<code>.pf-c-page__main-section</code> uses
|
|
38
|
+
<code>.pf-m-light</code>.
|
|
39
|
+
</section>
|
|
40
|
+
<section class="pf-c-page__main-section">
|
|
41
|
+
This is a default
|
|
42
|
+
<code>.pf-c-page__main-section</code>.
|
|
43
|
+
</section>
|
|
27
44
|
</main>
|
|
28
45
|
</div>
|
|
29
46
|
|
|
@@ -37,7 +54,7 @@ wrapperTag: div
|
|
|
37
54
|
<div class="pf-c-page__header-brand">
|
|
38
55
|
<a href="#" class="pf-c-page__header-brand-link">Logo</a>
|
|
39
56
|
</div>
|
|
40
|
-
<div class="pf-c-page__header-nav">
|
|
57
|
+
<div class="pf-c-page__header-nav">Navigation</div>
|
|
41
58
|
<div class="pf-c-page__header-tools">header-tools</div>
|
|
42
59
|
</header>
|
|
43
60
|
<main class="pf-c-page__main" tabindex="-1">
|
|
@@ -58,17 +75,19 @@ wrapperTag: div
|
|
|
58
75
|
<div class="pf-c-page__header-brand">
|
|
59
76
|
<a href="#" class="pf-c-page__header-brand-link">Logo</a>
|
|
60
77
|
</div>
|
|
61
|
-
<div class="pf-c-page__header-nav">
|
|
78
|
+
<div class="pf-c-page__header-nav">Navigation</div>
|
|
62
79
|
<div class="pf-c-page__header-tools">header-tools</div>
|
|
63
80
|
</header>
|
|
64
81
|
<main class="pf-c-page__main" tabindex="-1">
|
|
65
|
-
<section class="pf-c-page__main-section pf-m-light"
|
|
66
|
-
<section
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
82
|
+
<section class="pf-c-page__main-section pf-m-light">A regular page section.</section>
|
|
83
|
+
<section class="pf-c-page__main-section pf-m-fill">
|
|
84
|
+
This section uses
|
|
85
|
+
<code>.pf-m-fill</code> to fill the available space.
|
|
86
|
+
</section>
|
|
87
|
+
<section class="pf-c-page__main-section pf-m-light pf-m-no-fill">
|
|
88
|
+
This section uses
|
|
89
|
+
<code>.pf-m-no-fill</code> to not fill the available space.
|
|
90
|
+
</section>
|
|
72
91
|
</main>
|
|
73
92
|
</div>
|
|
74
93
|
|
|
@@ -86,18 +105,24 @@ wrapperTag: div
|
|
|
86
105
|
<div class="pf-c-page__header-tools">header-tools</div>
|
|
87
106
|
</header>
|
|
88
107
|
<div class="pf-c-page__sidebar">
|
|
89
|
-
<div class="pf-c-page__sidebar-body">
|
|
108
|
+
<div class="pf-c-page__sidebar-body">Navigation</div>
|
|
90
109
|
</div>
|
|
91
110
|
<main class="pf-c-page__main" tabindex="-1">
|
|
92
|
-
<section
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
111
|
+
<section class="pf-c-page__main-section">
|
|
112
|
+
This
|
|
113
|
+
<code>.pf-c-page__main-section</code> has default padding.
|
|
114
|
+
</section>
|
|
115
|
+
<section class="pf-c-page__main-section pf-m-no-padding pf-m-light">
|
|
116
|
+
This
|
|
117
|
+
<code>.pf-c-page__main-section</code> uses
|
|
118
|
+
<code>.pf-m-no-padding</code> to remove all padding.
|
|
119
|
+
</section>
|
|
120
|
+
<section class="pf-c-page__main-section pf-m-no-padding pf-m-padding-on-md">
|
|
121
|
+
This
|
|
122
|
+
<code>.pf-c-page__main-section</code> uses
|
|
123
|
+
<code>.pf-m-no-padding .pf-m-padding-on-md</code> to remove padding up to the
|
|
124
|
+
<code>md</code> breakpoint.
|
|
125
|
+
</section>
|
|
101
126
|
</main>
|
|
102
127
|
</div>
|
|
103
128
|
|
|
@@ -115,22 +140,30 @@ wrapperTag: div
|
|
|
115
140
|
<div class="pf-c-page__header-tools">header-tools</div>
|
|
116
141
|
</header>
|
|
117
142
|
<div class="pf-c-page__sidebar">
|
|
118
|
-
<div class="pf-c-page__sidebar-body">
|
|
143
|
+
<div class="pf-c-page__sidebar-body">Navigation</div>
|
|
119
144
|
</div>
|
|
120
145
|
<main class="pf-c-page__main" tabindex="-1">
|
|
121
|
-
<section
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
<section
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
<section
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
146
|
+
<section class="pf-c-page__main-subnav">
|
|
147
|
+
<code>.pf-c-page__main-subnav</code> for horizontal subnav navigation
|
|
148
|
+
</section>
|
|
149
|
+
<section class="pf-c-page__main-nav">
|
|
150
|
+
<code>.pf-c-page__main-nav</code> for tertiary navigation
|
|
151
|
+
</section>
|
|
152
|
+
<section class="pf-c-page__main-tabs">
|
|
153
|
+
<code>.pf-c-page__main-tabs</code> for tabs
|
|
154
|
+
</section>
|
|
155
|
+
<div class="pf-c-page__main-group">
|
|
156
|
+
<code>.pf-c-page__main-group</code> for a group of page sections
|
|
157
|
+
</div>
|
|
158
|
+
<section class="pf-c-page__main-breadcrumb">
|
|
159
|
+
<code>.pf-c-page__main-breadcrumb</code> for breadcrumbs
|
|
160
|
+
</section>
|
|
161
|
+
<section class="pf-c-page__main-section">
|
|
162
|
+
<code>.pf-c-page__main-section</code> for main sections
|
|
163
|
+
</section>
|
|
164
|
+
<section class="pf-c-page__main-wizard">
|
|
165
|
+
<code>.pf-c-page__main-wizard</code> for wizards
|
|
166
|
+
</section>
|
|
134
167
|
</main>
|
|
135
168
|
</div>
|
|
136
169
|
|
|
@@ -2933,7 +2933,7 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2933
2933
|
|
|
2934
2934
|
### View more menu item
|
|
2935
2935
|
|
|
2936
|
-
```html
|
|
2936
|
+
```html
|
|
2937
2937
|
<div class="pf-c-select pf-m-expanded">
|
|
2938
2938
|
<span id="select-single-view-more-label" hidden>Choose one</span>
|
|
2939
2939
|
|
|
@@ -3000,7 +3000,7 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3000
3000
|
|
|
3001
3001
|
### Loading menu item
|
|
3002
3002
|
|
|
3003
|
-
```html
|
|
3003
|
+
```html
|
|
3004
3004
|
<div class="pf-c-select pf-m-expanded">
|
|
3005
3005
|
<span id="select-single-loading-label" hidden>Choose one</span>
|
|
3006
3006
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/patternfly",
|
|
3
3
|
"description": "Assets, source, tooling, and content for PatternFly 4",
|
|
4
|
-
"version": "4.219.
|
|
4
|
+
"version": "4.219.2",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"stylelint-scss": "^4.3.0",
|
|
80
80
|
"stylelint-value-no-unknown-custom-properties": "^4.0.0",
|
|
81
81
|
"surge": "^0.21.3",
|
|
82
|
-
"@patternfly/documentation-framework": "1.2.
|
|
82
|
+
"@patternfly/documentation-framework": "1.2.51",
|
|
83
83
|
"unified": "^9.2.0",
|
|
84
84
|
"webpack": "^4.43.0"
|
|
85
85
|
},
|