@patternfly/react-styles 5.0.0-alpha.18 → 5.0.0-alpha.19

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 CHANGED
@@ -3,6 +3,10 @@
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
+ # [5.0.0-alpha.19](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@5.0.0-alpha.18...@patternfly/react-styles@5.0.0-alpha.19) (2023-06-02)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-styles
9
+
6
10
  # 5.0.0-alpha.18 (2023-06-01)
7
11
 
8
12
  ### Bug Fixes
@@ -1,5 +1,6 @@
1
1
  .pf-v5-c-background-image {
2
2
  --pf-v5-c-background-image--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-100);
3
+ --pf-v5-c-background-image--BackgroundImage: none;
3
4
  --pf-v5-c-background-image--BackgroundPosition: bottom right;
4
5
  --pf-v5-c-background-image--BackgroundSize--min-width: 200px;
5
6
  --pf-v5-c-background-image--BackgroundSize--width: 60%;
@@ -12,7 +13,7 @@
12
13
  width: 100%;
13
14
  height: 100%;
14
15
  background-color: var(--pf-v5-c-background-image--BackgroundColor);
15
- background-image: var(--pf-v5-c-background-image--BackgroundImage, none);
16
+ background-image: var(--pf-v5-c-background-image--BackgroundImage);
16
17
  background-repeat: no-repeat;
17
18
  background-position: var(--pf-v5-c-background-image--BackgroundPosition);
18
19
  background-size: var(--pf-v5-c-background-image--BackgroundSize);
@@ -77,6 +77,7 @@
77
77
 
78
78
  .pf-v5-c-code-editor__main {
79
79
  position: relative;
80
+ color: var(--pf-v5-c-code-editor__main--Color, inherit);
80
81
  background-color: var(--pf-v5-c-code-editor__main--BackgroundColor);
81
82
  border: var(--pf-v5-c-code-editor__main--BorderWidth) solid;
82
83
  border-color: var(--pf-v5-c-code-editor__main--BorderColor);
@@ -135,6 +136,10 @@
135
136
  margin-left: var(--pf-v5-c-code-editor__tab-icon--text--MarginLeft);
136
137
  }
137
138
 
139
+ :where(.pf-v5-theme-dark) .pf-v5-c-code-editor {
140
+ --pf-v5-c-code-editor--m-read-only__main--Color: var(--pf-v5-global--disabled-color--300);
141
+ --pf-v5-c-code-editor--m-read-only__main--BackgroundColor: var(--pf-v5-global--disabled-color--200);
142
+ }
138
143
  :where(.pf-v5-theme-dark) .pf-v5-c-code-editor__controls > * + * {
139
144
  border-left: 1px solid var(--pf-v5-global--palette--black-700);
140
145
  }
@@ -275,14 +275,14 @@
275
275
  --pf-v5-c-form-control--BorderBottomColor: var(--pf-v5-global--BorderColor--400);
276
276
  --pf-v5-c-form-control--BorderLeftColor: transparent;
277
277
  --pf-v5-c-form-control--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
278
- --pf-v5-c-form-control--disabled--Color: var(--pf-v5-global--disabled-color--300);
279
- --pf-v5-c-form-control--disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
280
- --pf-v5-c-form-control--readonly--BackgroundColor: var(--pf-v5-global--disabled-color--200);
278
+ --pf-v5-c-form-control--m-disabled--Color: var(--pf-v5-global--disabled-color--300);
279
+ --pf-v5-c-form-control--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
280
+ --pf-v5-c-form-control--m-readonly--BackgroundColor: var(--pf-v5-global--disabled-color--200);
281
+ --pf-v5-c-form-control--m-readonly--hover--BorderBottomColor: var(--pf-v5-global--BorderColor--400);
282
+ --pf-v5-c-form-control--m-readonly--focus--BorderBottomColor:var(--pf-v5-global--BorderColor--400);
283
+ --pf-v5-c-form-control--m-disabled__toggle-icon--Color: var(--pf-v5-global--disabled-color--300);
281
284
  color: var(--pf-v5-global--Color--100);
282
285
  }
283
286
  :where(.pf-v5-theme-dark) .pf-v5-c-form-control::-webkit-calendar-picker-indicator {
284
287
  filter: invert(1);
285
- }
286
- :where(.pf-v5-theme-dark) .pf-v5-c-form-control.pf-m-readonly {
287
- border-bottom-color: var(--pf-v5-global--palette--black-700);
288
288
  }
@@ -107,9 +107,11 @@
107
107
  --pf-v5-c-menu-toggle--m-split-button--m-action--m-primary--m-expanded--child--BackgroundColor: var(--pf-v5-global--primary-color--200);
108
108
  --pf-v5-c-menu-toggle--m-split-button--m-action--m-secondary--child--BorderLeftColor: var(--pf-v5-global--primary-color--100);
109
109
  --pf-v5-c-menu-toggle__button--BackgroundColor: transparent;
110
+ --pf-v5-c-menu-toggle__button--PaddingLeft: var(--pf-v5-global--spacer--sm);
111
+ --pf-v5-c-menu-toggle__button--PaddingRight: var(--pf-v5-global--spacer--sm);
110
112
  --pf-v5-c-menu-toggle__button__controls--MarginRight: var(--pf-v5-global--spacer--sm);
111
113
  --pf-v5-c-menu-toggle__button__controls--MarginLeft: var(--pf-v5-global--spacer--sm);
112
- --pf-v5-c-menu-toggle--m-typeahead__controls--MarginRight: var(--pf-v5-global--spacer--md);
114
+ --pf-v5-c-menu-toggle--m-typeahead__controls--MarginRight: var(--pf-v5-global--spacer--sm);
113
115
  --pf-v5-c-menu-toggle--m-typeahead__controls--MarginLeft: var(--pf-v5-global--spacer--sm);
114
116
  --pf-v5-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight: var(--pf-v5-global--spacer--sm);
115
117
  position: relative;
@@ -360,6 +362,8 @@
360
362
  --pf-v5-c-menu-toggle__controls--PaddingLeft: 0;
361
363
  --pf-v5-c-menu-toggle__controls--MarginRight: var(--pf-v5-c-menu-toggle__button__controls--MarginRight);
362
364
  --pf-v5-c-menu-toggle__controls--MarginLeft: var(--pf-v5-c-menu-toggle__button__controls--MarginLeft);
365
+ padding-right: var(--pf-v5-c-menu-toggle__button--PaddingRight);
366
+ padding-left: var(--pf-v5-c-menu-toggle__button--PaddingLeft);
363
367
  color: inherit;
364
368
  background-color: var(--pf-v5-c-menu-toggle__button--BackgroundColor);
365
369
  border: 0;
@@ -67,7 +67,7 @@
67
67
  }
68
68
  }
69
69
 
70
- .pf-v5-c-page {
70
+ :root {
71
71
  --pf-v5-c-page--BackgroundColor: var(--pf-v5-global--BackgroundColor--light-300);
72
72
  --pf-v5-c-page--inset: var(--pf-v5-global--spacer--md);
73
73
  --pf-v5-c-page--xl--inset: var(--pf-v5-global--spacer--lg);
@@ -181,40 +181,32 @@
181
181
  --pf-v5-c-page__main-wizard--BorderTopColor: var(--pf-v5-global--BorderColor--100);
182
182
  --pf-v5-c-page__main-wizard--BorderTopWidth: var(--pf-v5-global--BorderWidth--sm);
183
183
  --pf-v5-c-page__main-wizard--m-light-200--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
184
- display: grid;
185
- grid-template-areas: "header" "main";
186
- grid-template-rows: max-content 1fr;
187
- grid-template-columns: 1fr;
188
- height: 100vh;
189
- height: 100dvh;
190
- max-height: 100%;
191
- background-color: var(--pf-v5-c-page--BackgroundColor);
192
184
  }
193
185
  @media (min-width: 1200px) {
194
- .pf-v5-c-page {
186
+ :root {
195
187
  --pf-v5-c-page__header-brand--PaddingLeft: var(--pf-v5-c-page__header-brand--xl--PaddingLeft);
196
188
  --pf-v5-c-page--inset: var(--pf-v5-c-page--xl--inset);
197
189
  }
198
190
  }
199
191
  @media screen and (min-width: 1200px) {
200
- .pf-v5-c-page {
192
+ :root {
201
193
  --pf-v5-c-page__header-nav--BackgroundColor: var(--pf-v5-c-page__header-nav--xl--BackgroundColor);
202
194
  --pf-v5-c-page__header-nav--PaddingRight: var(--pf-v5-c-page__header-nav--xl--PaddingRight);
203
195
  --pf-v5-c-page__header-nav--PaddingLeft: var(--pf-v5-c-page__header-nav--xl--PaddingLeft);
204
196
  }
205
197
  }
206
198
  @media screen and (min-width: 1200px) {
207
- .pf-v5-c-page {
199
+ :root {
208
200
  --pf-v5-c-page__header-tools--MarginRight: var(--pf-v5-c-page__header-tools--xl--MarginRight);
209
201
  }
210
202
  }
211
203
  @media screen and (min-width: 1200px) {
212
- .pf-v5-c-page {
204
+ :root {
213
205
  --pf-v5-c-page__sidebar--TranslateX: var(--pf-v5-c-page__sidebar--xl--TranslateX);
214
206
  }
215
207
  }
216
208
  @media screen and (min-width: 1200px) {
217
- .pf-v5-c-page {
209
+ :root {
218
210
  --pf-v5-c-page__main-section--PaddingTop: var(--pf-v5-c-page__main-section--xl--PaddingTop);
219
211
  --pf-v5-c-page__main-section--PaddingRight: var(--pf-v5-c-page__main-section--xl--PaddingRight);
220
212
  --pf-v5-c-page__main-section--PaddingBottom: var(--pf-v5-c-page__main-section--xl--PaddingBottom);
@@ -222,17 +214,28 @@
222
214
  }
223
215
  }
224
216
  @media screen and (min-width: 1200px) {
225
- .pf-v5-c-page {
217
+ :root {
226
218
  --pf-v5-c-page__main-nav--PaddingRight: var(--pf-v5-c-page__main-nav--xl--PaddingRight);
227
219
  --pf-v5-c-page__main-nav--PaddingLeft: var(--pf-v5-c-page__main-nav--xl--PaddingLeft);
228
220
  }
229
221
  }
230
222
  @media screen and (min-width: 1200px) {
231
- .pf-v5-c-page {
223
+ :root {
232
224
  --pf-v5-c-page__main-breadcrumb--PaddingRight: var(--pf-v5-c-page__main-breadcrumb--xl--PaddingRight);
233
225
  --pf-v5-c-page__main-breadcrumb--PaddingLeft: var(--pf-v5-c-page__main-breadcrumb--xl--PaddingLeft);
234
226
  }
235
227
  }
228
+
229
+ .pf-v5-c-page {
230
+ display: grid;
231
+ grid-template-areas: "header" "main";
232
+ grid-template-rows: max-content 1fr;
233
+ grid-template-columns: 1fr;
234
+ height: 100vh;
235
+ height: 100dvh;
236
+ max-height: 100%;
237
+ background-color: var(--pf-v5-c-page--BackgroundColor);
238
+ }
236
239
  @media (min-width: 1200px) {
237
240
  .pf-v5-c-page {
238
241
  grid-template-areas: "header header" "nav main";
@@ -961,7 +964,7 @@
961
964
  --pf-v5-global--BackgroundColor--100: #1b1d21;
962
965
  }
963
966
 
964
- :where(.pf-v5-theme-dark) .pf-v5-c-page {
967
+ :where(.pf-v5-theme-dark):root {
965
968
  --pf-v5-c-page__main-section--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
966
969
  --pf-v5-c-page__header-tools--c-button--m-selected--before--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
967
970
  --pf-v5-c-page__sidebar--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
@@ -29,6 +29,7 @@
29
29
  }
30
30
 
31
31
  .pf-v5-l-flex > * {
32
+ --pf-v5-l-flex--spacer: initial;
32
33
  --pf-v5-l-flex--spacer--column: var(--pf-v5-l-flex--spacer, var(--pf-v5-l-flex--spacer--column--base));
33
34
  --pf-v5-l-flex--spacer--row: var(--pf-v5-l-flex--spacer, var(--pf-v5-l-flex--spacer--row--base));
34
35
  order: var(--pf-v5-l-flex--item--Order);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "5.0.0-alpha.18",
3
+ "version": "5.0.0-alpha.19",
4
4
  "main": "dist/js/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "clean": "rimraf dist css"
20
20
  },
21
21
  "devDependencies": {
22
- "@patternfly/patternfly": "5.0.0-alpha.69",
22
+ "@patternfly/patternfly": "5.0.0-alpha.74",
23
23
  "camel-case": "^3.0.0",
24
24
  "css": "^2.2.3",
25
25
  "fs-extra": "^11.1.1",
@@ -29,5 +29,5 @@
29
29
  "typescript": "^4.7.4"
30
30
  },
31
31
  "license": "MIT",
32
- "gitHead": "026c5f69bb0f7280c796d28f2d3fd52891793229"
32
+ "gitHead": "ed9000303ee57e753010e884ab9f3db6acea5b15"
33
33
  }