@patternfly/react-styles 3.7.3 → 3.7.8
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 +40 -0
- package/css/components/DataToolbar/data-toolbar.css +19 -1
- package/css/components/DataToolbar/data-toolbar.d.ts +4 -2
- package/css/components/DataToolbar/data-toolbar.js +4 -2
- package/css/components/Divider/divider.css +118 -4
- package/css/components/Divider/divider.d.ts +45 -1
- package/css/components/Divider/divider.js +45 -1
- package/css/components/Drawer/drawer.css +322 -70
- package/css/components/Drawer/drawer.d.ts +23 -5
- package/css/components/Drawer/drawer.js +24 -6
- package/css/components/FileUpload/file-upload.css +54 -47
- package/css/components/FileUpload/file-upload.d.ts +4 -4
- package/css/components/FileUpload/file-upload.js +4 -4
- package/css/components/Login/login.css +1 -3
- package/css/components/Nav/nav.css +4 -3
- package/css/components/OverflowMenu/overflow-menu.css +12 -0
- package/css/components/OverflowMenu/overflow-menu.d.ts +2 -0
- package/css/components/OverflowMenu/overflow-menu.js +3 -1
- package/css/components/Page/page.css +4 -14
- package/css/components/Page/page.d.ts +0 -2
- package/css/components/Page/page.js +0 -2
- package/package.json +3 -3
@@ -1,76 +1,162 @@
|
|
1
1
|
.pf-c-drawer {
|
2
|
+
--pf-c-drawer__section--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
2
3
|
--pf-c-drawer__content--FlexBasis: 100%;
|
3
|
-
--pf-c-drawer__content
|
4
|
-
--pf-c-drawer__content
|
5
|
-
--pf-c-drawer__content-body--m-padding--PaddingBottom: var(--pf-global--spacer--lg);
|
6
|
-
--pf-c-drawer__content-body--m-padding--PaddingLeft: var(--pf-global--spacer--lg);
|
4
|
+
--pf-c-drawer__content--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
5
|
+
--pf-c-drawer__content--ZIndex: var(--pf-global--ZIndex--xs);
|
7
6
|
--pf-c-drawer__panel--FlexBasis: 100%;
|
8
|
-
--pf-c-drawer__panel--md--FlexBasis:
|
7
|
+
--pf-c-drawer__panel--md--FlexBasis: 50%;
|
8
|
+
--pf-c-drawer__panel--MinWidth: 50%;
|
9
|
+
--pf-c-drawer__panel--xl--MinWidth: 28.125rem;
|
10
|
+
--pf-c-drawer__panel--xl--FlexBasis: 28.125rem;
|
11
|
+
--pf-c-drawer__panel--ZIndex: var(--pf-global--ZIndex--sm);
|
9
12
|
--pf-c-drawer__panel--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
10
13
|
--pf-c-drawer__panel--TransitionDuration: .25s;
|
11
|
-
--pf-c-drawer__panel--TransitionProperty: margin, transform;
|
12
|
-
--pf-c-
|
13
|
-
--pf-c-
|
14
|
-
--pf-c-
|
15
|
-
--pf-c-
|
16
|
-
--pf-c-
|
17
|
-
--pf-c-
|
18
|
-
--pf-c-
|
19
|
-
--pf-c-
|
14
|
+
--pf-c-drawer__panel--TransitionProperty: margin, transform, box-shadow;
|
15
|
+
--pf-c-drawer--child--PaddingTop: var(--pf-global--spacer--md);
|
16
|
+
--pf-c-drawer--child--PaddingRight: var(--pf-global--spacer--md);
|
17
|
+
--pf-c-drawer--child--PaddingBottom: var(--pf-global--spacer--md);
|
18
|
+
--pf-c-drawer--child--PaddingLeft: var(--pf-global--spacer--md);
|
19
|
+
--pf-c-drawer--child--md--PaddingTop: var(--pf-global--spacer--lg);
|
20
|
+
--pf-c-drawer--child--md--PaddingRight: var(--pf-global--spacer--lg);
|
21
|
+
--pf-c-drawer--child--md--PaddingBottom: var(--pf-global--spacer--lg);
|
22
|
+
--pf-c-drawer--child--md--PaddingLeft: var(--pf-global--spacer--lg);
|
23
|
+
--pf-c-drawer--child--m-padding--PaddingTop: var(--pf-global--spacer--md);
|
24
|
+
--pf-c-drawer--child--m-padding--PaddingRight: var(--pf-global--spacer--md);
|
25
|
+
--pf-c-drawer--child--m-padding--PaddingBottom: var(--pf-global--spacer--md);
|
26
|
+
--pf-c-drawer--child--m-padding--PaddingLeft: var(--pf-global--spacer--md);
|
27
|
+
--pf-c-drawer--child--m-padding--md--PaddingTop: var(--pf-global--spacer--lg);
|
28
|
+
--pf-c-drawer--child--m-padding--md--PaddingRight: var(--pf-global--spacer--lg);
|
29
|
+
--pf-c-drawer--child--m-padding--md--PaddingBottom: var(--pf-global--spacer--lg);
|
30
|
+
--pf-c-drawer--child--m-padding--md--PaddingLeft: var(--pf-global--spacer--lg);
|
31
|
+
--pf-c-drawer__content--child--PaddingTop: 0;
|
32
|
+
--pf-c-drawer__content--child--PaddingRight: 0;
|
33
|
+
--pf-c-drawer__content--child--PaddingBottom: 0;
|
34
|
+
--pf-c-drawer__content--child--PaddingLeft: 0;
|
35
|
+
--pf-c-drawer__actions--MarginTop: calc(0.375rem * -1);
|
36
|
+
--pf-c-drawer__actions--MarginRight: calc(0.375rem * -1);
|
20
37
|
--pf-c-drawer__panel--BoxShadow: none;
|
21
|
-
--pf-c-drawer--m-expanded__panel--BoxShadow: var(--pf-global--BoxShadow--
|
22
|
-
--pf-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-global--BoxShadow--
|
23
|
-
--pf-c-
|
24
|
-
--pf-c-
|
38
|
+
--pf-c-drawer--m-expanded__panel--BoxShadow: var(--pf-global--BoxShadow--lg-left);
|
39
|
+
--pf-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-global--BoxShadow--lg-right);
|
40
|
+
--pf-c-drawer__panel--after--Width: var(--pf-global--BorderWidth--sm);
|
41
|
+
--pf-c-drawer__panel--after--BackgroundColor: transparent;
|
42
|
+
--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var(--pf-global--BorderColor--100);
|
25
43
|
display: flex;
|
44
|
+
flex-direction: column;
|
26
45
|
height: 100%;
|
27
46
|
overflow-x: hidden; }
|
28
47
|
@media screen and (min-width: 768px) {
|
29
48
|
.pf-c-drawer {
|
30
|
-
--pf-c-drawer__panel--FlexBasis: var(--pf-c-drawer__panel--md--FlexBasis);
|
49
|
+
--pf-c-drawer__panel--FlexBasis: var(--pf-c-drawer__panel--md--FlexBasis);
|
50
|
+
--pf-c-drawer--child--PaddingTop: var(--pf-c-drawer--child--md--PaddingTop);
|
51
|
+
--pf-c-drawer--child--PaddingRight: var(--pf-c-drawer--child--md--PaddingRight);
|
52
|
+
--pf-c-drawer--child--PaddingBottom: var(--pf-c-drawer--child--md--PaddingBottom);
|
53
|
+
--pf-c-drawer--child--PaddingLeft: var(--pf-c-drawer--child--md--PaddingLeft);
|
54
|
+
--pf-c-drawer--child--m-padding--PaddingTop: var(--pf-c-drawer--child--m-padding--md--PaddingTop);
|
55
|
+
--pf-c-drawer--child--m-padding--PaddingRight: var(--pf-c-drawer--child--m-padding--md--PaddingRight);
|
56
|
+
--pf-c-drawer--child--m-padding--PaddingBottom: var(--pf-c-drawer--child--m-padding--md--PaddingBottom);
|
57
|
+
--pf-c-drawer--child--m-padding--PaddingLeft: var(--pf-c-drawer--child--m-padding--md--PaddingLeft); } }
|
58
|
+
@media screen and (min-width: 1200px) {
|
59
|
+
.pf-c-drawer {
|
60
|
+
--pf-c-drawer__panel--FlexBasis: var(--pf-c-drawer__panel--xl--FlexBasis);
|
61
|
+
--pf-c-drawer__panel--MinWidth: var(--pf-c-drawer__panel--xl--MinWidth); } }
|
31
62
|
@media screen and (min-width: 768px) {
|
32
63
|
.pf-c-drawer {
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
64
|
+
min-width: var(--pf-c-drawer__panel--MinWidth); } }
|
65
|
+
|
66
|
+
.pf-c-drawer__section {
|
67
|
+
flex-grow: 0;
|
68
|
+
background-color: var(--pf-c-drawer__section--BackgroundColor); }
|
69
|
+
.pf-c-drawer__section.pf-m-no-background {
|
70
|
+
--pf-c-drawer__section--BackgroundColor: transparent; }
|
71
|
+
|
72
|
+
.pf-c-drawer__main {
|
73
|
+
display: flex;
|
74
|
+
flex-grow: 1;
|
75
|
+
overflow: hidden; }
|
37
76
|
|
38
77
|
.pf-c-drawer__content,
|
39
78
|
.pf-c-drawer__panel {
|
79
|
+
display: flex;
|
80
|
+
flex-direction: column;
|
40
81
|
flex-shrink: 0;
|
41
82
|
overflow: auto; }
|
42
83
|
|
43
84
|
.pf-c-drawer__content {
|
85
|
+
--pf-c-drawer--child--PaddingTop: var(--pf-c-drawer__content--child--PaddingTop);
|
86
|
+
--pf-c-drawer--child--PaddingRight: var(--pf-c-drawer__content--child--PaddingRight);
|
87
|
+
--pf-c-drawer--child--PaddingBottom: var(--pf-c-drawer__content--child--PaddingBottom);
|
88
|
+
--pf-c-drawer--child--PaddingLeft: var(--pf-c-drawer__content--child--PaddingLeft);
|
89
|
+
z-index: var(--pf-c-drawer__content--ZIndex);
|
44
90
|
flex-basis: var(--pf-c-drawer__content--FlexBasis);
|
45
|
-
order: 0;
|
91
|
+
order: 0;
|
92
|
+
background-color: var(--pf-c-drawer__content--BackgroundColor); }
|
93
|
+
.pf-c-drawer__content.pf-m-no-background {
|
94
|
+
--pf-c-drawer__content--BackgroundColor: transparent; }
|
46
95
|
|
47
96
|
.pf-c-drawer__panel {
|
48
97
|
position: relative;
|
98
|
+
z-index: var(--pf-c-drawer__panel--ZIndex);
|
49
99
|
flex-basis: var(--pf-c-drawer__panel--FlexBasis);
|
50
100
|
order: 1;
|
101
|
+
overflow: auto;
|
51
102
|
background-color: var(--pf-c-drawer__panel--BackgroundColor);
|
103
|
+
box-shadow: var(--pf-c-drawer__panel--BoxShadow);
|
52
104
|
transition-duration: var(--pf-c-drawer__panel--TransitionDuration);
|
53
105
|
transition-property: var(--pf-c-drawer__panel--TransitionProperty);
|
54
106
|
-webkit-overflow-scrolling: touch; }
|
107
|
+
.pf-c-drawer__panel::after {
|
108
|
+
position: absolute;
|
109
|
+
top: 0;
|
110
|
+
left: 0;
|
111
|
+
width: var(--pf-c-drawer__panel--after--Width);
|
112
|
+
height: 100%;
|
113
|
+
content: "";
|
114
|
+
background-color: var(--pf-c-drawer__panel--after--BackgroundColor); }
|
115
|
+
.pf-c-drawer__panel.pf-m-no-background {
|
116
|
+
--pf-c-drawer__content--BackgroundColor: transparent; }
|
55
117
|
|
56
|
-
.pf-c-
|
57
|
-
|
118
|
+
.pf-c-drawer__head {
|
119
|
+
display: grid;
|
120
|
+
grid-template-columns: auto;
|
121
|
+
grid-auto-columns: max-content; }
|
122
|
+
.pf-c-drawer__head > * {
|
123
|
+
grid-column: 1; }
|
58
124
|
|
59
|
-
.pf-c-
|
60
|
-
|
125
|
+
.pf-c-drawer__actions {
|
126
|
+
grid-column: 2;
|
127
|
+
grid-row: 1;
|
128
|
+
display: flex;
|
129
|
+
align-self: baseline;
|
130
|
+
margin-top: var(--pf-c-drawer__actions--MarginTop);
|
131
|
+
margin-right: var(--pf-c-drawer__actions--MarginRight); }
|
61
132
|
|
62
|
-
.pf-c-
|
63
|
-
--pf-c-
|
64
|
-
|
65
|
-
|
66
|
-
|
133
|
+
.pf-c-drawer__body {
|
134
|
+
padding: var(--pf-c-drawer--child--PaddingTop) var(--pf-c-drawer--child--PaddingRight) var(--pf-c-drawer--child--PaddingBottom) var(--pf-c-drawer--child--PaddingLeft); }
|
135
|
+
.pf-c-drawer__body.pf-m-no-padding {
|
136
|
+
--pf-c-drawer__actions--MarginTop: 0;
|
137
|
+
--pf-c-drawer__actions--MarginRight: 0;
|
138
|
+
--pf-c-drawer--child--PaddingTop: 0;
|
139
|
+
--pf-c-drawer--child--PaddingRight: 0;
|
140
|
+
--pf-c-drawer--child--PaddingBottom: 0;
|
141
|
+
--pf-c-drawer--child--PaddingLeft: 0; }
|
142
|
+
.pf-c-drawer__body.pf-m-padding {
|
143
|
+
--pf-c-drawer--child--PaddingTop: var(--pf-c-drawer--child--m-padding--PaddingTop);
|
144
|
+
--pf-c-drawer--child--PaddingRight: var(--pf-c-drawer--child--m-padding--PaddingRight);
|
145
|
+
--pf-c-drawer--child--PaddingBottom: var(--pf-c-drawer--child--m-padding--PaddingBottom);
|
146
|
+
--pf-c-drawer--child--PaddingLeft: var(--pf-c-drawer--child--m-padding--PaddingLeft); }
|
147
|
+
.pf-c-drawer__body:not(.pf-m-no-padding) + * {
|
148
|
+
--pf-c-drawer--child--PaddingTop: 0; }
|
149
|
+
|
150
|
+
.pf-c-drawer__body:last-of-type {
|
151
|
+
flex: 1 0 auto; }
|
67
152
|
|
68
153
|
.pf-c-drawer.pf-m-expanded .pf-c-drawer__panel {
|
69
154
|
transform: translateX(-100%); }
|
70
155
|
|
156
|
+
.pf-c-drawer .pf-c-page__main {
|
157
|
+
min-height: 100%; }
|
158
|
+
|
71
159
|
@media screen and (min-width: 768px) {
|
72
|
-
.pf-c-drawer:not(.pf-m-divider) .pf-c-drawer__panel {
|
73
|
-
box-shadow: var(--pf-c-drawer__panel--BoxShadow); }
|
74
160
|
.pf-c-drawer .pf-c-drawer__content {
|
75
161
|
order: 0; }
|
76
162
|
.pf-c-drawer .pf-c-drawer__panel {
|
@@ -87,39 +173,17 @@
|
|
87
173
|
transform: translateX(-100%); }
|
88
174
|
.pf-c-drawer.pf-m-panel-left.pf-m-expanded .pf-c-drawer__panel {
|
89
175
|
--pf-c-drawer__panel--BoxShadow: var(--pf-c-drawer--m-expanded--m-panel-left__panel--BoxShadow);
|
90
|
-
transform: translateX(0); } }
|
91
|
-
|
92
|
-
@media screen and (min-width: 768px) {
|
93
|
-
.pf-c-drawer.pf-m-inline .pf-c-drawer__content {
|
94
|
-
flex-shrink: 1; }
|
95
|
-
.pf-c-drawer.pf-m-inline .pf-c-drawer__panel {
|
96
|
-
margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
97
|
-
transform: translateX(100%); }
|
98
|
-
.pf-c-drawer.pf-m-inline.pf-m-expanded .pf-c-drawer__panel {
|
99
|
-
margin-left: 0;
|
100
176
|
transform: translateX(0); }
|
101
|
-
.pf-c-drawer.pf-m-
|
102
|
-
margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
103
|
-
margin-left: 0;
|
104
|
-
transform: translateX(-100%); }
|
105
|
-
.pf-c-drawer.pf-m-inline.pf-m-panel-left.pf-m-expanded .pf-c-drawer__panel {
|
106
|
-
margin-right: 0;
|
107
|
-
transform: translateX(0); } }
|
108
|
-
|
109
|
-
@media screen and (min-width: 768px) {
|
110
|
-
.pf-c-drawer.pf-m-divider .pf-c-drawer__panel::after {
|
111
|
-
position: absolute;
|
112
|
-
top: 0;
|
113
|
-
left: 0;
|
114
|
-
width: var(--pf-c-drawer--m-divider__panel--after--Width);
|
115
|
-
height: 100%;
|
116
|
-
content: "";
|
117
|
-
background-color: transparent; }
|
118
|
-
.pf-c-drawer.pf-m-divider.pf-m-expanded .pf-c-drawer__panel::after {
|
119
|
-
background-color: var(--pf-c-drawer--m-divider--m-expanded__panel--after--BackgroundColor); }
|
120
|
-
.pf-c-drawer.pf-m-divider.pf-m-panel-left.pf-m-expanded .pf-c-drawer__panel::after {
|
177
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-expanded .pf-c-drawer__panel::after {
|
121
178
|
right: 0;
|
122
|
-
left: auto; }
|
179
|
+
left: auto; }
|
180
|
+
.pf-c-drawer .pf-c-drawer__panel.pf-m-border,
|
181
|
+
.pf-c-drawer.pf-m-panel-left .pf-c-drawer__panel.pf-m-border,
|
182
|
+
.pf-c-drawer .pf-c-drawer__panel.pf-m-no-border,
|
183
|
+
.pf-c-drawer.pf-m-panel-left .pf-c-drawer__panel.pf-m-no-border {
|
184
|
+
--pf-c-drawer__panel--BoxShadow: transparent; }
|
185
|
+
.pf-c-drawer.pf-m-expanded .pf-c-drawer__panel.pf-m-border::after {
|
186
|
+
--pf-c-drawer__panel--after--BackgroundColor: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor); } }
|
123
187
|
|
124
188
|
@media (min-width: 768px) {
|
125
189
|
.pf-c-drawer__panel.pf-m-width-25 {
|
@@ -131,7 +195,9 @@
|
|
131
195
|
.pf-c-drawer__panel.pf-m-width-66 {
|
132
196
|
--pf-c-drawer__panel--FlexBasis: 66%; }
|
133
197
|
.pf-c-drawer__panel.pf-m-width-75 {
|
134
|
-
--pf-c-drawer__panel--FlexBasis: 75%; }
|
198
|
+
--pf-c-drawer__panel--FlexBasis: 75%; }
|
199
|
+
.pf-c-drawer__panel.pf-m-width-100 {
|
200
|
+
--pf-c-drawer__panel--FlexBasis: 100%; } }
|
135
201
|
|
136
202
|
@media (min-width: 992px) {
|
137
203
|
.pf-c-drawer__panel.pf-m-width-25-on-lg {
|
@@ -143,7 +209,9 @@
|
|
143
209
|
.pf-c-drawer__panel.pf-m-width-66-on-lg {
|
144
210
|
--pf-c-drawer__panel--FlexBasis: 66%; }
|
145
211
|
.pf-c-drawer__panel.pf-m-width-75-on-lg {
|
146
|
-
--pf-c-drawer__panel--FlexBasis: 75%; }
|
212
|
+
--pf-c-drawer__panel--FlexBasis: 75%; }
|
213
|
+
.pf-c-drawer__panel.pf-m-width-100-on-lg {
|
214
|
+
--pf-c-drawer__panel--FlexBasis: 100%; } }
|
147
215
|
|
148
216
|
@media (min-width: 1200px) {
|
149
217
|
.pf-c-drawer__panel.pf-m-width-25-on-xl {
|
@@ -155,7 +223,9 @@
|
|
155
223
|
.pf-c-drawer__panel.pf-m-width-66-on-xl {
|
156
224
|
--pf-c-drawer__panel--FlexBasis: 66%; }
|
157
225
|
.pf-c-drawer__panel.pf-m-width-75-on-xl {
|
158
|
-
--pf-c-drawer__panel--FlexBasis: 75%; }
|
226
|
+
--pf-c-drawer__panel--FlexBasis: 75%; }
|
227
|
+
.pf-c-drawer__panel.pf-m-width-100-on-xl {
|
228
|
+
--pf-c-drawer__panel--FlexBasis: 100%; } }
|
159
229
|
|
160
230
|
@media (min-width: 1450px) {
|
161
231
|
.pf-c-drawer__panel.pf-m-width-25-on-2xl {
|
@@ -167,4 +237,186 @@
|
|
167
237
|
.pf-c-drawer__panel.pf-m-width-66-on-2xl {
|
168
238
|
--pf-c-drawer__panel--FlexBasis: 66%; }
|
169
239
|
.pf-c-drawer__panel.pf-m-width-75-on-2xl {
|
170
|
-
--pf-c-drawer__panel--FlexBasis: 75%; }
|
240
|
+
--pf-c-drawer__panel--FlexBasis: 75%; }
|
241
|
+
.pf-c-drawer__panel.pf-m-width-100-on-2xl {
|
242
|
+
--pf-c-drawer__panel--FlexBasis: 100%; } }
|
243
|
+
|
244
|
+
@media (min-width: 768px) {
|
245
|
+
.pf-c-drawer.pf-m-inline .pf-c-drawer__content,
|
246
|
+
.pf-c-drawer.pf-m-static .pf-c-drawer__content {
|
247
|
+
flex-shrink: 1; }
|
248
|
+
.pf-c-drawer.pf-m-inline .pf-c-drawer__panel,
|
249
|
+
.pf-c-drawer.pf-m-static .pf-c-drawer__panel {
|
250
|
+
--pf-c-drawer__panel--BoxShadow: transparent; }
|
251
|
+
.pf-c-drawer.pf-m-inline .pf-c-drawer__panel::after,
|
252
|
+
.pf-c-drawer.pf-m-static .pf-c-drawer__panel::after {
|
253
|
+
--pf-c-drawer__panel--after--BackgroundColor: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor); }
|
254
|
+
.pf-c-drawer.pf-m-inline .pf-c-drawer__content {
|
255
|
+
overflow-x: auto; }
|
256
|
+
.pf-c-drawer.pf-m-inline .pf-c-drawer__panel {
|
257
|
+
margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
258
|
+
transform: translateX(100%); }
|
259
|
+
.pf-c-drawer.pf-m-inline.pf-m-expanded .pf-c-drawer__panel {
|
260
|
+
margin-left: 0;
|
261
|
+
transform: translateX(0); }
|
262
|
+
.pf-c-drawer.pf-m-static .pf-c-drawer__panel {
|
263
|
+
margin-left: 0;
|
264
|
+
transform: translateX(0); }
|
265
|
+
.pf-c-drawer.pf-m-static.pf-m-panel-left .pf-c-drawer__panel {
|
266
|
+
margin-right: 0;
|
267
|
+
margin-left: 0;
|
268
|
+
transform: translateX(0); }
|
269
|
+
.pf-c-drawer.pf-m-static.pf-m-panel-left .pf-c-drawer__panel::after {
|
270
|
+
right: 0;
|
271
|
+
left: auto; }
|
272
|
+
.pf-c-drawer.pf-m-static .pf-c-drawer__close {
|
273
|
+
display: none;
|
274
|
+
visibility: hidden; } }
|
275
|
+
|
276
|
+
@media (min-width: 768px) {
|
277
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline .pf-c-drawer__panel {
|
278
|
+
--pf-c-drawer__panel--BoxShadow: transparent;
|
279
|
+
margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
280
|
+
margin-left: 0;
|
281
|
+
transform: translateX(-100%); }
|
282
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline.pf-m-expanded .pf-c-drawer__panel {
|
283
|
+
margin-right: 0;
|
284
|
+
transform: translateX(0); }
|
285
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline .pf-c-drawer__close {
|
286
|
+
display: unset;
|
287
|
+
visibility: visible; } }
|
288
|
+
|
289
|
+
@media (min-width: 992px) {
|
290
|
+
.pf-c-drawer.pf-m-inline-on-lg .pf-c-drawer__content,
|
291
|
+
.pf-c-drawer.pf-m-static-on-lg .pf-c-drawer__content {
|
292
|
+
flex-shrink: 1; }
|
293
|
+
.pf-c-drawer.pf-m-inline-on-lg .pf-c-drawer__panel,
|
294
|
+
.pf-c-drawer.pf-m-static-on-lg .pf-c-drawer__panel {
|
295
|
+
--pf-c-drawer__panel--BoxShadow: transparent; }
|
296
|
+
.pf-c-drawer.pf-m-inline-on-lg .pf-c-drawer__panel::after,
|
297
|
+
.pf-c-drawer.pf-m-static-on-lg .pf-c-drawer__panel::after {
|
298
|
+
--pf-c-drawer__panel--after--BackgroundColor: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor); }
|
299
|
+
.pf-c-drawer.pf-m-inline-on-lg .pf-c-drawer__content {
|
300
|
+
overflow-x: auto; }
|
301
|
+
.pf-c-drawer.pf-m-inline-on-lg .pf-c-drawer__panel {
|
302
|
+
margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
303
|
+
transform: translateX(100%); }
|
304
|
+
.pf-c-drawer.pf-m-inline-on-lg.pf-m-expanded .pf-c-drawer__panel {
|
305
|
+
margin-left: 0;
|
306
|
+
transform: translateX(0); }
|
307
|
+
.pf-c-drawer.pf-m-static-on-lg .pf-c-drawer__panel {
|
308
|
+
margin-left: 0;
|
309
|
+
transform: translateX(0); }
|
310
|
+
.pf-c-drawer.pf-m-static-on-lg.pf-m-panel-left .pf-c-drawer__panel {
|
311
|
+
margin-right: 0;
|
312
|
+
margin-left: 0;
|
313
|
+
transform: translateX(0); }
|
314
|
+
.pf-c-drawer.pf-m-static-on-lg.pf-m-panel-left .pf-c-drawer__panel::after {
|
315
|
+
right: 0;
|
316
|
+
left: auto; }
|
317
|
+
.pf-c-drawer.pf-m-static-on-lg .pf-c-drawer__close {
|
318
|
+
display: none;
|
319
|
+
visibility: hidden; } }
|
320
|
+
|
321
|
+
@media (min-width: 992px) {
|
322
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-lg .pf-c-drawer__panel {
|
323
|
+
--pf-c-drawer__panel--BoxShadow: transparent;
|
324
|
+
margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
325
|
+
margin-left: 0;
|
326
|
+
transform: translateX(-100%); }
|
327
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-lg.pf-m-expanded .pf-c-drawer__panel {
|
328
|
+
margin-right: 0;
|
329
|
+
transform: translateX(0); }
|
330
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-lg .pf-c-drawer__close {
|
331
|
+
display: unset;
|
332
|
+
visibility: visible; } }
|
333
|
+
|
334
|
+
@media (min-width: 1200px) {
|
335
|
+
.pf-c-drawer.pf-m-inline-on-xl .pf-c-drawer__content,
|
336
|
+
.pf-c-drawer.pf-m-static-on-xl .pf-c-drawer__content {
|
337
|
+
flex-shrink: 1; }
|
338
|
+
.pf-c-drawer.pf-m-inline-on-xl .pf-c-drawer__panel,
|
339
|
+
.pf-c-drawer.pf-m-static-on-xl .pf-c-drawer__panel {
|
340
|
+
--pf-c-drawer__panel--BoxShadow: transparent; }
|
341
|
+
.pf-c-drawer.pf-m-inline-on-xl .pf-c-drawer__panel::after,
|
342
|
+
.pf-c-drawer.pf-m-static-on-xl .pf-c-drawer__panel::after {
|
343
|
+
--pf-c-drawer__panel--after--BackgroundColor: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor); }
|
344
|
+
.pf-c-drawer.pf-m-inline-on-xl .pf-c-drawer__content {
|
345
|
+
overflow-x: auto; }
|
346
|
+
.pf-c-drawer.pf-m-inline-on-xl .pf-c-drawer__panel {
|
347
|
+
margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
348
|
+
transform: translateX(100%); }
|
349
|
+
.pf-c-drawer.pf-m-inline-on-xl.pf-m-expanded .pf-c-drawer__panel {
|
350
|
+
margin-left: 0;
|
351
|
+
transform: translateX(0); }
|
352
|
+
.pf-c-drawer.pf-m-static-on-xl .pf-c-drawer__panel {
|
353
|
+
margin-left: 0;
|
354
|
+
transform: translateX(0); }
|
355
|
+
.pf-c-drawer.pf-m-static-on-xl.pf-m-panel-left .pf-c-drawer__panel {
|
356
|
+
margin-right: 0;
|
357
|
+
margin-left: 0;
|
358
|
+
transform: translateX(0); }
|
359
|
+
.pf-c-drawer.pf-m-static-on-xl.pf-m-panel-left .pf-c-drawer__panel::after {
|
360
|
+
right: 0;
|
361
|
+
left: auto; }
|
362
|
+
.pf-c-drawer.pf-m-static-on-xl .pf-c-drawer__close {
|
363
|
+
display: none;
|
364
|
+
visibility: hidden; } }
|
365
|
+
|
366
|
+
@media (min-width: 1200px) {
|
367
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-xl .pf-c-drawer__panel {
|
368
|
+
--pf-c-drawer__panel--BoxShadow: transparent;
|
369
|
+
margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
370
|
+
margin-left: 0;
|
371
|
+
transform: translateX(-100%); }
|
372
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-xl.pf-m-expanded .pf-c-drawer__panel {
|
373
|
+
margin-right: 0;
|
374
|
+
transform: translateX(0); }
|
375
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-xl .pf-c-drawer__close {
|
376
|
+
display: unset;
|
377
|
+
visibility: visible; } }
|
378
|
+
|
379
|
+
@media (min-width: 1450px) {
|
380
|
+
.pf-c-drawer.pf-m-inline-on-2xl .pf-c-drawer__content,
|
381
|
+
.pf-c-drawer.pf-m-static-on-2xl .pf-c-drawer__content {
|
382
|
+
flex-shrink: 1; }
|
383
|
+
.pf-c-drawer.pf-m-inline-on-2xl .pf-c-drawer__panel,
|
384
|
+
.pf-c-drawer.pf-m-static-on-2xl .pf-c-drawer__panel {
|
385
|
+
--pf-c-drawer__panel--BoxShadow: transparent; }
|
386
|
+
.pf-c-drawer.pf-m-inline-on-2xl .pf-c-drawer__panel::after,
|
387
|
+
.pf-c-drawer.pf-m-static-on-2xl .pf-c-drawer__panel::after {
|
388
|
+
--pf-c-drawer__panel--after--BackgroundColor: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor); }
|
389
|
+
.pf-c-drawer.pf-m-inline-on-2xl .pf-c-drawer__content {
|
390
|
+
overflow-x: auto; }
|
391
|
+
.pf-c-drawer.pf-m-inline-on-2xl .pf-c-drawer__panel {
|
392
|
+
margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
393
|
+
transform: translateX(100%); }
|
394
|
+
.pf-c-drawer.pf-m-inline-on-2xl.pf-m-expanded .pf-c-drawer__panel {
|
395
|
+
margin-left: 0;
|
396
|
+
transform: translateX(0); }
|
397
|
+
.pf-c-drawer.pf-m-static-on-2xl .pf-c-drawer__panel {
|
398
|
+
margin-left: 0;
|
399
|
+
transform: translateX(0); }
|
400
|
+
.pf-c-drawer.pf-m-static-on-2xl.pf-m-panel-left .pf-c-drawer__panel {
|
401
|
+
margin-right: 0;
|
402
|
+
margin-left: 0;
|
403
|
+
transform: translateX(0); }
|
404
|
+
.pf-c-drawer.pf-m-static-on-2xl.pf-m-panel-left .pf-c-drawer__panel::after {
|
405
|
+
right: 0;
|
406
|
+
left: auto; }
|
407
|
+
.pf-c-drawer.pf-m-static-on-2xl .pf-c-drawer__close {
|
408
|
+
display: none;
|
409
|
+
visibility: hidden; } }
|
410
|
+
|
411
|
+
@media (min-width: 1450px) {
|
412
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-2xl .pf-c-drawer__panel {
|
413
|
+
--pf-c-drawer__panel--BoxShadow: transparent;
|
414
|
+
margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);
|
415
|
+
margin-left: 0;
|
416
|
+
transform: translateX(-100%); }
|
417
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-2xl.pf-m-expanded .pf-c-drawer__panel {
|
418
|
+
margin-right: 0;
|
419
|
+
transform: translateX(0); }
|
420
|
+
.pf-c-drawer.pf-m-panel-left.pf-m-inline-on-2xl .pf-c-drawer__close {
|
421
|
+
display: unset;
|
422
|
+
visibility: visible; } }
|
@@ -1,37 +1,55 @@
|
|
1
1
|
import './drawer.css';
|
2
2
|
declare const _default: {
|
3
3
|
drawer: string;
|
4
|
+
drawerSection: string;
|
5
|
+
drawerMain: string;
|
4
6
|
drawerContent: string;
|
5
7
|
drawerPanel: string;
|
6
|
-
|
7
|
-
|
8
|
+
drawerHead: string;
|
9
|
+
drawerActions: string;
|
10
|
+
drawerBody: string;
|
11
|
+
pageMain: string;
|
12
|
+
drawerClose: string;
|
8
13
|
modifiers: {
|
9
|
-
'
|
14
|
+
'noBackground': string;
|
10
15
|
'noPadding': string;
|
16
|
+
'padding': string;
|
11
17
|
'expanded': string;
|
12
|
-
'divider': string;
|
13
18
|
'panelLeft': string;
|
14
|
-
'
|
19
|
+
'border': string;
|
20
|
+
'noBorder': string;
|
15
21
|
'width_25': string;
|
16
22
|
'width_33': string;
|
17
23
|
'width_50': string;
|
18
24
|
'width_66': string;
|
19
25
|
'width_75': string;
|
26
|
+
'width_100': string;
|
20
27
|
'width_25OnLg': string;
|
21
28
|
'width_33OnLg': string;
|
22
29
|
'width_50OnLg': string;
|
23
30
|
'width_66OnLg': string;
|
24
31
|
'width_75OnLg': string;
|
32
|
+
'width_100OnLg': string;
|
25
33
|
'width_25OnXl': string;
|
26
34
|
'width_33OnXl': string;
|
27
35
|
'width_50OnXl': string;
|
28
36
|
'width_66OnXl': string;
|
29
37
|
'width_75OnXl': string;
|
38
|
+
'width_100OnXl': string;
|
30
39
|
'width_25On_2xl': string;
|
31
40
|
'width_33On_2xl': string;
|
32
41
|
'width_50On_2xl': string;
|
33
42
|
'width_66On_2xl': string;
|
34
43
|
'width_75On_2xl': string;
|
44
|
+
'width_100On_2xl': string;
|
45
|
+
'inline': string;
|
46
|
+
'static': string;
|
47
|
+
'inlineOnLg': string;
|
48
|
+
'staticOnLg': string;
|
49
|
+
'inlineOnXl': string;
|
50
|
+
'staticOnXl': string;
|
51
|
+
'inlineOn_2xl': string;
|
52
|
+
'staticOn_2xl': string;
|
35
53
|
};
|
36
54
|
};
|
37
55
|
export default _default;
|
@@ -3,36 +3,54 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("./drawer.css");
|
4
4
|
exports.default = {
|
5
5
|
drawer: 'pf-c-drawer',
|
6
|
+
drawerSection: 'pf-c-drawer__section',
|
7
|
+
drawerMain: 'pf-c-drawer__main',
|
6
8
|
drawerContent: 'pf-c-drawer__content',
|
7
9
|
drawerPanel: 'pf-c-drawer__panel',
|
8
|
-
|
9
|
-
|
10
|
+
drawerHead: 'pf-c-drawer__head',
|
11
|
+
drawerActions: 'pf-c-drawer__actions',
|
12
|
+
drawerBody: 'pf-c-drawer__body',
|
13
|
+
pageMain: 'pf-c-page__main',
|
14
|
+
drawerClose: 'pf-c-drawer__close',
|
10
15
|
modifiers: {
|
11
|
-
'
|
16
|
+
'noBackground': 'pf-m-no-background',
|
12
17
|
'noPadding': 'pf-m-no-padding',
|
18
|
+
'padding': 'pf-m-padding',
|
13
19
|
'expanded': 'pf-m-expanded',
|
14
|
-
'divider': 'pf-m-divider',
|
15
20
|
'panelLeft': 'pf-m-panel-left',
|
16
|
-
'
|
21
|
+
'border': 'pf-m-border',
|
22
|
+
'noBorder': 'pf-m-no-border',
|
17
23
|
'width_25': 'pf-m-width-25',
|
18
24
|
'width_33': 'pf-m-width-33',
|
19
25
|
'width_50': 'pf-m-width-50',
|
20
26
|
'width_66': 'pf-m-width-66',
|
21
27
|
'width_75': 'pf-m-width-75',
|
28
|
+
'width_100': 'pf-m-width-100',
|
22
29
|
'width_25OnLg': 'pf-m-width-25-on-lg',
|
23
30
|
'width_33OnLg': 'pf-m-width-33-on-lg',
|
24
31
|
'width_50OnLg': 'pf-m-width-50-on-lg',
|
25
32
|
'width_66OnLg': 'pf-m-width-66-on-lg',
|
26
33
|
'width_75OnLg': 'pf-m-width-75-on-lg',
|
34
|
+
'width_100OnLg': 'pf-m-width-100-on-lg',
|
27
35
|
'width_25OnXl': 'pf-m-width-25-on-xl',
|
28
36
|
'width_33OnXl': 'pf-m-width-33-on-xl',
|
29
37
|
'width_50OnXl': 'pf-m-width-50-on-xl',
|
30
38
|
'width_66OnXl': 'pf-m-width-66-on-xl',
|
31
39
|
'width_75OnXl': 'pf-m-width-75-on-xl',
|
40
|
+
'width_100OnXl': 'pf-m-width-100-on-xl',
|
32
41
|
'width_25On_2xl': 'pf-m-width-25-on-2xl',
|
33
42
|
'width_33On_2xl': 'pf-m-width-33-on-2xl',
|
34
43
|
'width_50On_2xl': 'pf-m-width-50-on-2xl',
|
35
44
|
'width_66On_2xl': 'pf-m-width-66-on-2xl',
|
36
|
-
'width_75On_2xl': 'pf-m-width-75-on-2xl'
|
45
|
+
'width_75On_2xl': 'pf-m-width-75-on-2xl',
|
46
|
+
'width_100On_2xl': 'pf-m-width-100-on-2xl',
|
47
|
+
'inline': 'pf-m-inline',
|
48
|
+
'static': 'pf-m-static',
|
49
|
+
'inlineOnLg': 'pf-m-inline-on-lg',
|
50
|
+
'staticOnLg': 'pf-m-static-on-lg',
|
51
|
+
'inlineOnXl': 'pf-m-inline-on-xl',
|
52
|
+
'staticOnXl': 'pf-m-static-on-xl',
|
53
|
+
'inlineOn_2xl': 'pf-m-inline-on-2xl',
|
54
|
+
'staticOn_2xl': 'pf-m-static-on-2xl'
|
37
55
|
}
|
38
56
|
};
|