@patternfly/react-styles 5.0.0-alpha.10 → 5.0.0-alpha.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/css/components/AboutModalBox/about-modal-box.css +2 -20
  3. package/css/components/AboutModalBox/about-modal-box.d.ts +0 -1
  4. package/css/components/AboutModalBox/about-modal-box.js +0 -1
  5. package/css/components/AboutModalBox/about-modal-box.mjs +0 -1
  6. package/css/components/BackgroundImage/background-image.css +1 -2
  7. package/css/components/Breadcrumb/breadcrumb.css +1 -5
  8. package/css/components/Breadcrumb/breadcrumb.d.ts +1 -2
  9. package/css/components/Breadcrumb/breadcrumb.js +1 -2
  10. package/css/components/Breadcrumb/breadcrumb.mjs +1 -2
  11. package/css/components/FormControl/form-control.css +164 -221
  12. package/css/components/FormControl/form-control.d.ts +10 -6
  13. package/css/components/FormControl/form-control.js +10 -6
  14. package/css/components/FormControl/form-control.mjs +10 -6
  15. package/css/components/Icon/icon.css +25 -24
  16. package/css/components/List/list.css +1 -1
  17. package/css/components/LogViewer/log-viewer.css +0 -3
  18. package/css/components/LogViewer/log-viewer.d.ts +0 -1
  19. package/css/components/LogViewer/log-viewer.js +0 -1
  20. package/css/components/LogViewer/log-viewer.mjs +0 -1
  21. package/css/components/MultipleFileUpload/multiple-file-upload.css +3 -3
  22. package/css/components/NotificationBadge/notification-badge.css +2 -2
  23. package/css/components/NumberInput/number-input.css +0 -1
  24. package/css/components/ProgressStepper/progress-stepper.css +1 -1
  25. package/css/components/ProgressStepper/progress-stepper.d.ts +1 -1
  26. package/css/components/ProgressStepper/progress-stepper.js +1 -1
  27. package/css/components/ProgressStepper/progress-stepper.mjs +1 -1
  28. package/css/components/TextInputGroup/text-input-group.css +1 -5
  29. package/css/components/Wizard/wizard.css +5 -5
  30. package/css/docs/components/Avatar/examples/Avatar.css +1 -1
  31. package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +1 -1
  32. package/css/docs/components/TextInputGroup/examples/TextInputGroup.css +0 -13
  33. package/css/layouts/Flex/flex.css +678 -31
  34. package/css/layouts/Flex/flex.d.ts +148 -1
  35. package/css/layouts/Flex/flex.js +148 -1
  36. package/css/layouts/Flex/flex.mjs +148 -1
  37. package/package.json +3 -3
  38. package/css/components/SearchInput/search-input.css +0 -199
  39. package/css/components/SearchInput/search-input.d.ts +0 -24
  40. package/css/components/SearchInput/search-input.js +0 -25
  41. package/css/components/SearchInput/search-input.mjs +0 -23
  42. package/css/docs/components/FormControl/examples/FormControl.css +0 -5
  43. package/css/docs/components/FormControl/examples/FormControl.d.ts +0 -3
  44. package/css/docs/components/FormControl/examples/FormControl.js +0 -4
  45. package/css/docs/components/FormControl/examples/FormControl.mjs +0 -2
  46. package/css/docs/components/SearchInput/examples/SearchInput.css +0 -12
  47. package/css/docs/components/SearchInput/examples/SearchInput.d.ts +0 -3
  48. package/css/docs/components/SearchInput/examples/SearchInput.js +0 -4
  49. package/css/docs/components/SearchInput/examples/SearchInput.mjs +0 -2
  50. /package/css/components/{ChipGroup → Chip}/chip-group.css +0 -0
  51. /package/css/components/{ChipGroup → Chip}/chip-group.d.ts +0 -0
  52. /package/css/components/{ChipGroup → Chip}/chip-group.js +0 -0
  53. /package/css/components/{ChipGroup → Chip}/chip-group.mjs +0 -0
  54. /package/css/components/{LabelGroup → Label}/label-group.css +0 -0
  55. /package/css/components/{LabelGroup → Label}/label-group.d.ts +0 -0
  56. /package/css/components/{LabelGroup → Label}/label-group.js +0 -0
  57. /package/css/components/{LabelGroup → Label}/label-group.mjs +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
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.12 (2023-05-18)
7
+
8
+ ### Features
9
+
10
+ - **FormControls:** updated logic for rendering icons ([#9132](https://github.com/patternfly/patternfly-react/issues/9132)) ([9f4863f](https://github.com/patternfly/patternfly-react/commit/9f4863f3251e365142c44aace2c1aeba57ba6b3a))
11
+
12
+ # 5.0.0-alpha.11 (2023-05-16)
13
+
14
+ **Note:** Version bump only for package @patternfly/react-styles
15
+
6
16
  # [5.0.0-alpha.10](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@5.0.0-alpha.9...@patternfly/react-styles@5.0.0-alpha.10) (2023-05-05)
7
17
 
8
18
  ### Bug Fixes
@@ -10,7 +10,6 @@
10
10
 
11
11
  .pf-v5-c-about-modal-box {
12
12
  --pf-v5-c-about-modal-box--BackgroundColor: var(--pf-v5-global--palette--black-1000);
13
- --pf-v5-c-about-modal-box--BackgroundImage: url("../../assets/images/pfbg-icon.svg");
14
13
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
15
14
  --pf-v5-c-about-modal-box--BackgroundSize--min-width: 200px;
16
15
  --pf-v5-c-about-modal-box--BackgroundSize--width: 60%;
@@ -41,9 +40,6 @@
41
40
  --pf-v5-c-about-modal-box__close--c-button--Height: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
42
41
  --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-global--palette--black-1000);
43
42
  --pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor: rgba(3, 3, 3, 0.4);
44
- --pf-v5-c-about-modal-box__hero--sm--BackgroundImage: url("../../assets/images/pfbg_992@2x.jpg");
45
- --pf-v5-c-about-modal-box__hero--sm--BackgroundPosition: top left;
46
- --pf-v5-c-about-modal-box__hero--sm--BackgroundSize: cover;
47
43
  --pf-v5-c-about-modal-box__brand-image--Height: 2.5rem;
48
44
  --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-global--spacer--xl);
49
45
  --pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-v5-global--spacer--sm);
@@ -71,7 +67,7 @@
71
67
  overflow-x: hidden;
72
68
  overflow-y: auto;
73
69
  background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
74
- background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
70
+ background-image: var(--pf-v5-c-about-modal-box--BackgroundImage, none);
75
71
  background-repeat: no-repeat;
76
72
  background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
77
73
  background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
@@ -198,6 +194,7 @@
198
194
  justify-content: center;
199
195
  width: var(--pf-v5-c-about-modal-box__close--c-button--Width);
200
196
  height: var(--pf-v5-c-about-modal-box__close--c-button--Height);
197
+ padding: 0;
201
198
  font-size: var(--pf-v5-c-about-modal-box__close--c-button--FontSize);
202
199
  color: var(--pf-v5-c-about-modal-box__close--c-button--Color);
203
200
  background-color: var(--pf-v5-c-about-modal-box__close--c-button--BackgroundColor);
@@ -207,21 +204,6 @@
207
204
  --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor);
208
205
  }
209
206
 
210
- .pf-v5-c-about-modal-box__hero {
211
- display: none;
212
- }
213
- @media only screen and (min-width: 576px) {
214
- .pf-v5-c-about-modal-box__hero {
215
- display: block;
216
- grid-area: hero;
217
- background-image: var(--pf-v5-c-about-modal-box__hero--sm--BackgroundImage);
218
- background-repeat: no-repeat;
219
- background-attachment: fixed;
220
- background-position: var(--pf-v5-c-about-modal-box__hero--sm--BackgroundPosition);
221
- background-size: var(--pf-v5-c-about-modal-box__hero--sm--BackgroundSize);
222
- }
223
- }
224
-
225
207
  :where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box {
226
208
  --pf-v5-global--Color--100: #e0e0e0;
227
209
  --pf-v5-global--Color--200: #aaabac;
@@ -6,7 +6,6 @@ declare const _default: {
6
6
  "aboutModalBoxClose": "pf-v5-c-about-modal-box__close",
7
7
  "aboutModalBoxContent": "pf-v5-c-about-modal-box__content",
8
8
  "aboutModalBoxHeader": "pf-v5-c-about-modal-box__header",
9
- "aboutModalBoxHero": "pf-v5-c-about-modal-box__hero",
10
9
  "aboutModalBoxStrapline": "pf-v5-c-about-modal-box__strapline",
11
10
  "button": "pf-v5-c-button",
12
11
  "modifiers": {
@@ -8,7 +8,6 @@ exports.default = {
8
8
  "aboutModalBoxClose": "pf-v5-c-about-modal-box__close",
9
9
  "aboutModalBoxContent": "pf-v5-c-about-modal-box__content",
10
10
  "aboutModalBoxHeader": "pf-v5-c-about-modal-box__header",
11
- "aboutModalBoxHero": "pf-v5-c-about-modal-box__hero",
12
11
  "aboutModalBoxStrapline": "pf-v5-c-about-modal-box__strapline",
13
12
  "button": "pf-v5-c-button",
14
13
  "modifiers": {
@@ -6,7 +6,6 @@ export default {
6
6
  "aboutModalBoxClose": "pf-v5-c-about-modal-box__close",
7
7
  "aboutModalBoxContent": "pf-v5-c-about-modal-box__content",
8
8
  "aboutModalBoxHeader": "pf-v5-c-about-modal-box__header",
9
- "aboutModalBoxHero": "pf-v5-c-about-modal-box__hero",
10
9
  "aboutModalBoxStrapline": "pf-v5-c-about-modal-box__strapline",
11
10
  "button": "pf-v5-c-button",
12
11
  "modifiers": {
@@ -1,6 +1,5 @@
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: url("../../assets/images/pfbg-icon.svg");
4
3
  --pf-v5-c-background-image--BackgroundPosition: bottom right;
5
4
  --pf-v5-c-background-image--BackgroundSize--min-width: 200px;
6
5
  --pf-v5-c-background-image--BackgroundSize--width: 60%;
@@ -13,7 +12,7 @@
13
12
  width: 100%;
14
13
  height: 100%;
15
14
  background-color: var(--pf-v5-c-background-image--BackgroundColor);
16
- background-image: var(--pf-v5-c-background-image--BackgroundImage);
15
+ background-image: var(--pf-v5-c-background-image--BackgroundImage, none);
17
16
  background-repeat: no-repeat;
18
17
  background-position: var(--pf-v5-c-background-image--BackgroundPosition);
19
18
  background-size: var(--pf-v5-c-background-image--BackgroundSize);
@@ -2,7 +2,7 @@
2
2
  --pf-v5-c-breadcrumb__item--FontSize: var(--pf-v5-global--FontSize--sm);
3
3
  --pf-v5-c-breadcrumb__item--LineHeight: var(--pf-v5-global--LineHeight--sm);
4
4
  --pf-v5-c-breadcrumb__item--MarginRight: var(--pf-v5-global--spacer--sm);
5
- --pf-v5-c-breadcrumb__item-divider--Color: var(--pf-v5-global--BorderColor--200);
5
+ --pf-v5-c-breadcrumb__item-divider--Color: var(--pf-v5-global--icon--Color--dark);
6
6
  --pf-v5-c-breadcrumb__item-divider--MarginRight: var(--pf-v5-global--spacer--sm);
7
7
  --pf-v5-c-breadcrumb__item-divider--FontSize: var(--pf-v5-global--FontSize--sm);
8
8
  --pf-v5-c-breadcrumb__link--Color: var(--pf-v5-global--link--Color);
@@ -89,8 +89,4 @@ button.pf-v5-c-breadcrumb__link {
89
89
 
90
90
  .pf-v5-c-breadcrumb__list > :first-child .pf-v5-c-breadcrumb__item-divider {
91
91
  display: none;
92
- }
93
-
94
- :where(.pf-v5-theme-dark) .pf-v5-c-breadcrumb {
95
- --pf-v5-c-breadcrumb__item-divider--Color: var(--pf-v5-global--BorderColor--100);
96
92
  }
@@ -10,7 +10,6 @@ declare const _default: {
10
10
  "dropdownToggle": "pf-v5-c-dropdown__toggle",
11
11
  "modifiers": {
12
12
  "current": "pf-m-current"
13
- },
14
- "themeDark": "pf-v5-theme-dark"
13
+ }
15
14
  };
16
15
  export default _default;
@@ -12,6 +12,5 @@ exports.default = {
12
12
  "dropdownToggle": "pf-v5-c-dropdown__toggle",
13
13
  "modifiers": {
14
14
  "current": "pf-m-current"
15
- },
16
- "themeDark": "pf-v5-theme-dark"
15
+ }
17
16
  };
@@ -10,6 +10,5 @@ export default {
10
10
  "dropdownToggle": "pf-v5-c-dropdown__toggle",
11
11
  "modifiers": {
12
12
  "current": "pf-m-current"
13
- },
14
- "themeDark": "pf-v5-theme-dark"
13
+ }
15
14
  };