@patternfly/react-styles 6.0.0-alpha.2 → 6.0.0-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/css/assets/images/PF-Backdrop.svg +1 -0
  3. package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
  4. package/css/assets/images/PF-IconLogo.svg +17 -0
  5. package/css/assets/images/logo__pf--reverse-on-md.svg +1 -1
  6. package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  7. package/css/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  8. package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  9. package/css/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  10. package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  11. package/css/assets/images/pf_logo_white.hbs +35 -0
  12. package/css/assets/images/pf_logo_white.svg +38 -0
  13. package/css/components/AboutModalBox/about-modal-box.css +59 -98
  14. package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
  15. package/css/components/AboutModalBox/about-modal-box.js +1 -2
  16. package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
  17. package/css/components/Accordion/accordion.css +85 -177
  18. package/css/components/Accordion/accordion.d.ts +3 -2
  19. package/css/components/Accordion/accordion.js +3 -2
  20. package/css/components/Accordion/accordion.mjs +3 -2
  21. package/css/components/Alert/alert.css +1 -1
  22. package/css/components/BackToTop/back-to-top.css +17 -15
  23. package/css/components/Badge/badge.css +23 -15
  24. package/css/components/Badge/badge.d.ts +2 -2
  25. package/css/components/Badge/badge.js +2 -2
  26. package/css/components/Badge/badge.mjs +2 -2
  27. package/css/components/Banner/banner.css +86 -64
  28. package/css/components/Banner/banner.d.ts +11 -4
  29. package/css/components/Banner/banner.js +11 -4
  30. package/css/components/Banner/banner.mjs +11 -4
  31. package/css/components/Button/button.css +1 -1
  32. package/css/components/Check/check.css +10 -8
  33. package/css/components/Dropdown/dropdown.css +1 -3
  34. package/css/components/Dropdown/dropdown.d.ts +0 -1
  35. package/css/components/Dropdown/dropdown.js +0 -1
  36. package/css/components/Dropdown/dropdown.mjs +0 -1
  37. package/css/components/ExpandableSection/expandable-section.css +64 -55
  38. package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
  39. package/css/components/ExpandableSection/expandable-section.js +1 -3
  40. package/css/components/ExpandableSection/expandable-section.mjs +1 -3
  41. package/css/components/Hint/hint.css +28 -21
  42. package/css/components/Hint/hint.d.ts +1 -2
  43. package/css/components/Hint/hint.js +1 -2
  44. package/css/components/Hint/hint.mjs +1 -2
  45. package/css/components/List/list.css +16 -16
  46. package/css/components/Login/login.css +70 -97
  47. package/css/components/Login/login.d.ts +0 -2
  48. package/css/components/Login/login.js +0 -2
  49. package/css/components/Login/login.mjs +0 -2
  50. package/css/components/Menu/menu.css +3 -0
  51. package/css/components/Menu/menu.d.ts +1 -0
  52. package/css/components/Menu/menu.js +1 -0
  53. package/css/components/Menu/menu.mjs +1 -0
  54. package/css/components/MenuToggle/menu-toggle.css +2 -3
  55. package/css/components/ModalBox/modal-box.css +59 -52
  56. package/css/components/ModalBox/modal-box.d.ts +1 -2
  57. package/css/components/ModalBox/modal-box.js +1 -2
  58. package/css/components/ModalBox/modal-box.mjs +1 -2
  59. package/css/components/Page/page.css +9 -7
  60. package/css/components/Popover/popover.css +42 -51
  61. package/css/components/Popover/popover.d.ts +1 -2
  62. package/css/components/Popover/popover.js +1 -2
  63. package/css/components/Popover/popover.mjs +1 -2
  64. package/css/components/Radio/radio.css +13 -10
  65. package/css/components/SkipToContent/skip-to-content.css +6 -3
  66. package/css/components/Switch/switch.css +1 -1
  67. package/css/components/Table/table.css +6 -2
  68. package/css/components/Table/table.d.ts +2 -0
  69. package/css/components/Table/table.js +2 -0
  70. package/css/components/Table/table.mjs +2 -0
  71. package/css/components/Title/title.css +70 -19
  72. package/css/components/Title/title.d.ts +7 -1
  73. package/css/components/Title/title.js +7 -1
  74. package/css/components/Title/title.mjs +7 -1
  75. package/css/components/Toolbar/toolbar.css +9 -1
  76. package/css/components/Toolbar/toolbar.d.ts +1 -0
  77. package/css/components/Toolbar/toolbar.js +1 -0
  78. package/css/components/Toolbar/toolbar.mjs +1 -0
  79. package/css/components/Tooltip/tooltip.css +16 -16
  80. package/css/components/Tooltip/tooltip.d.ts +0 -1
  81. package/css/components/Tooltip/tooltip.js +0 -1
  82. package/css/components/Tooltip/tooltip.mjs +0 -1
  83. package/css/docs/components/Brand/examples/Brand.css +12 -0
  84. package/css/docs/components/Brand/examples/Brand.d.ts +10 -0
  85. package/css/docs/components/Brand/examples/Brand.js +11 -0
  86. package/css/docs/components/Brand/examples/Brand.mjs +9 -0
  87. package/css/docs/demos/Toolbar/examples/Toolbar.css +10 -0
  88. package/css/docs/demos/Toolbar/examples/Toolbar.d.ts +6 -1
  89. package/css/docs/demos/Toolbar/examples/Toolbar.js +6 -1
  90. package/css/docs/demos/Toolbar/examples/Toolbar.mjs +6 -1
  91. package/package.json +3 -3
@@ -1,145 +1,99 @@
1
- .pf-v5-c-accordion {
2
- --pf-v5-global--Color--100: var(--pf-v5-global--Color--dark-100);
3
- --pf-v5-global--Color--200: var(--pf-v5-global--Color--dark-200);
4
- --pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--dark-100);
5
- --pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--dark-100);
6
- --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--dark);
7
- --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--dark--hover);
8
- --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--light-100);
9
- --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--dark);
10
- --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
11
- }
12
-
13
- .pf-v5-c-accordion {
14
- --pf-v5-c-accordion--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
15
- --pf-v5-c-accordion__toggle--PaddingTop: var(--pf-v5-global--spacer--sm);
16
- --pf-v5-c-accordion__toggle--PaddingRight: var(--pf-v5-global--spacer--md);
17
- --pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-v5-global--spacer--sm);
18
- --pf-v5-c-accordion__toggle--PaddingLeft: var(--pf-v5-global--spacer--md);
19
- --pf-v5-c-accordion__toggle--before--Top: 0;
20
- --pf-v5-c-accordion__toggle--after--Top: 0;
21
- --pf-v5-c-accordion__toggle--after--BackgroundColor: transparent;
22
- --pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
23
- --pf-v5-c-accordion__toggle--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
24
- --pf-v5-c-accordion__toggle--active--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
25
- --pf-v5-c-accordion__toggle--before--Width: var(--pf-v5-global--BorderWidth--lg);
26
- --pf-v5-c-accordion__toggle--after--Width: var(--pf-v5-global--BorderWidth--lg);
27
- --pf-v5-c-accordion__toggle--m-expanded--after--BackgroundColor: var(--pf-v5-global--primary-color--100);
28
- --pf-v5-c-accordion__toggle--BackgroundColor: transparent;
29
- --pf-v5-c-accordion__toggle-text--MaxWidth: calc(100% - var(--pf-v5-global--spacer--lg));
30
- --pf-v5-c-accordion__toggle--hover__toggle-text--Color: var(--pf-v5-global--link--Color);
31
- --pf-v5-c-accordion__toggle--active__toggle-text--Color: var(--pf-v5-global--link--Color);
32
- --pf-v5-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
33
- --pf-v5-c-accordion__toggle--focus__toggle-text--Color: var(--pf-v5-global--link--Color);
34
- --pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
35
- --pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-v5-global--link--Color);
36
- --pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
1
+ :root {
2
+ --pf-v5-c-accordion--BackgroundColor: var(--pf-t--global--background--color--primary--default);
3
+ --pf-v5-c-accordion--RowGap: var(--pf-t--global--spacer--xs);
4
+ --pf-v5-c-accordion__item--BorderRadius: var(--pf-t--global--border--radius--200);
5
+ --pf-v5-c-accordion__item--m-expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--selected);
6
+ --pf-v5-c-accordion__toggle--ColumnGap: var(--pf-t--global--spacer--sm);
7
+ --pf-v5-c-accordion__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
8
+ --pf-v5-c-accordion__toggle--PaddingRight: var(--pf-t--global--spacer--md);
9
+ --pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
10
+ --pf-v5-c-accordion__toggle--m-expanded--PaddingBottom: var(--pf-t--global--spacer--sm);
11
+ --pf-v5-c-accordion__toggle--PaddingLeft: var(--pf-t--global--spacer--md);
12
+ --pf-v5-c-accordion__toggle--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
13
+ --pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
14
+ --pf-v5-c-accordion__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
15
+ --pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-t--global--spacer--md);
16
+ --pf-v5-c-accordion__toggle-text--Color: var(--pf-t--global--text--color--regular);
17
+ --pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-t--global--font--weight--body);
18
+ --pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
37
19
  --pf-v5-c-accordion__toggle-icon--Transition: .2s ease-in 0s;
38
20
  --pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate: 90deg;
39
- --pf-v5-c-accordion__expandable-content--Color: var(--pf-v5-global--Color--200);
40
- --pf-v5-c-accordion__expandable-content--FontSize: var(--pf-v5-global--FontSize--sm);
41
- --pf-v5-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor: var(--pf-v5-global--primary-color--100);
21
+ --pf-v5-c-accordion__expandable-content--MarginRight: var(--pf-t--global--spacer--md);
22
+ --pf-v5-c-accordion__expandable-content--MarginBottom: var(--pf-t--global--spacer--md);
23
+ --pf-v5-c-accordion__expandable-content--MarginLeft: var(--pf-t--global--spacer--md);
24
+ --pf-v5-c-accordion__expandable-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
25
+ --pf-v5-c-accordion__expandable-content--BorderRadius: var(--pf-t--global--border--radius--small);
26
+ --pf-v5-c-accordion__expandable-content--Color: var(--pf-t--global--text--color--regular);
27
+ --pf-v5-c-accordion__expandable-content--FontSize: var(--pf-t--global--font--size--body--md);
42
28
  --pf-v5-c-accordion__expandable-content--m-fixed--MaxHeight: 9.375rem;
43
- --pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-v5-global--spacer--sm);
44
- --pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-v5-global--spacer--md);
45
- --pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-v5-global--spacer--sm);
46
- --pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-v5-global--spacer--md);
29
+ --pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-t--global--spacer--sm);
30
+ --pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-t--global--spacer--sm);
31
+ --pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-t--global--spacer--sm);
32
+ --pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-t--global--spacer--sm);
47
33
  --pf-v5-c-accordion__expandable-content-body--expandable-content-body--PaddingTop: 0;
48
- --pf-v5-c-accordion__expandable-content-body--after--BackgroundColor: transparent;
49
- --pf-v5-c-accordion__expandable-content-body--after--Width: var(--pf-v5-global--BorderWidth--lg);
50
- --pf-v5-c-accordion__expandable-content-body--before--Top: 0;
51
- --pf-v5-c-accordion--m-display-lg__toggle--PaddingTop: var(--pf-v5-global--spacer--md);
52
- --pf-v5-c-accordion--m-display-lg__toggle--PaddingRight: var(--pf-v5-global--spacer--md);
53
- --pf-v5-c-accordion--m-display-lg__toggle--PaddingBottom: var(--pf-v5-global--spacer--md);
54
- --pf-v5-c-accordion--m-display-lg__toggle--PaddingLeft: var(--pf-v5-global--spacer--lg);
55
- --pf-v5-c-accordion--m-display-lg__toggle--FontFamily: var(--pf-v5-global--FontFamily--heading);
56
- --pf-v5-c-accordion--m-display-lg__toggle--FontSize: var(--pf-v5-global--FontSize--xl);
57
- --pf-v5-c-accordion--m-display-lg__toggle--hover__toggle-text--Color: var(--pf-v5-global--Color--100);
58
- --pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--Color: var(--pf-v5-global--Color--100);
59
- --pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--normal);
60
- --pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--Color: var(--pf-v5-global--Color--100);
61
- --pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--normal);
62
- --pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color: var(--pf-v5-global--Color--100);
63
- --pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--normal);
64
- --pf-v5-c-accordion--m-display-lg__expandable-content--FontSize: var(--pf-v5-global--FontSize--md);
65
- --pf-v5-c-accordion--m-display-lg__expandable-content--Color: var(--pf-v5-global--Color--100);
66
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingTop: 0;
67
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingRight: var(--pf-v5-global--spacer--md);
68
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingBottom: var(--pf-v5-global--spacer--md);
69
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom: var(--pf-v5-global--spacer--lg);
70
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingLeft: var(--pf-v5-global--spacer--lg);
71
- --pf-v5-c-accordion--m-bordered--BorderTopWidth: var(--pf-v5-global--BorderWidth--sm);
72
- --pf-v5-c-accordion--m-bordered--BorderTopColor: var(--pf-v5-global--BorderColor--100);
73
- --pf-v5-c-accordion--m-bordered__toggle--after--Top: calc(-1 * var(--pf-v5-global--BorderWidth--sm));
74
- --pf-v5-c-accordion--m-bordered__toggle--before--BorderColor: var(--pf-v5-global--BorderColor--100);
75
- --pf-v5-c-accordion--m-bordered__toggle--before--BorderTopWidth: 0;
76
- --pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
77
- --pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
78
- --pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor: var(--pf-v5-global--BorderColor--100);
79
- color: var(--pf-v5-global--Color--100);
34
+ --pf-v5-c-accordion--m-display-lg__toggle--PaddingTop: var(--pf-t--global--spacer--md);
35
+ --pf-v5-c-accordion--m-display-lg__toggle--PaddingRight: var(--pf-t--global--spacer--md);
36
+ --pf-v5-c-accordion--m-display-lg__toggle--PaddingBottom: var(--pf-t--global--spacer--md);
37
+ --pf-v5-c-accordion--m-display-lg__toggle--m-expanded--PaddingBottom: var(--pf-t--global--spacer--sm);
38
+ --pf-v5-c-accordion--m-display-lg__toggle--PaddingLeft: var(--pf-t--global--spacer--md);
39
+ --pf-v5-c-accordion--m-display-lg__toggle--FontFamily: var(--pf-t--global--font--family--heading);
40
+ --pf-v5-c-accordion--m-display-lg__toggle--FontSize: var(--pf-t--global--font--size--heading--sm);
41
+ --pf-v5-c-accordion--m-display-lg__toggle-text--FontWeight: var(--pf-t--global--font--weight--heading);
42
+ --pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight: var(--pf-t--global--font--weight--heading--bold);
43
+ --pf-v5-c-accordion--m-display-lg__expandable-content--FontSize: var(--pf-t--global--font--size--body--lg);
44
+ --pf-v5-c-accordion--m-display-lg__expandable-content--Color: var(--pf-t--global--text--color--regular);
45
+ --pf-v5-c-accordion--m-bordered--RowGap: 0;
46
+ --pf-v5-c-accordion__item--m-bordered--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
47
+ --pf-v5-c-accordion__item--m-bordered--BorderBottomColor: var(--pf-t--global--border--color--default);
48
+ }
49
+
50
+ .pf-v5-c-accordion {
51
+ display: flex;
52
+ flex-direction: column;
53
+ row-gap: var(--pf-v5-c-accordion--RowGap);
80
54
  background-color: var(--pf-v5-c-accordion--BackgroundColor);
81
55
  }
56
+ .pf-v5-c-accordion.pf-m-toggle-start {
57
+ --pf-v5-c-accordion__toggle--ColumnGap: var(--pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap);
58
+ }
82
59
  .pf-v5-c-accordion.pf-m-display-lg {
83
60
  --pf-v5-c-accordion__toggle--PaddingTop: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingTop);
84
61
  --pf-v5-c-accordion__toggle--PaddingRight: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingRight);
85
62
  --pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingBottom);
63
+ --pf-v5-c-accordion__toggle--m-expanded--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded--PaddingBottom);
86
64
  --pf-v5-c-accordion__toggle--PaddingLeft: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingLeft);
87
65
  --pf-v5-c-accordion__toggle--FontFamily: var(--pf-v5-c-accordion--m-display-lg__toggle--FontFamily);
88
66
  --pf-v5-c-accordion__toggle--FontSize: var(--pf-v5-c-accordion--m-display-lg__toggle--FontSize);
89
- --pf-v5-c-accordion__toggle--hover__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--hover__toggle-text--Color);
90
- --pf-v5-c-accordion__toggle--active__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--Color);
91
- --pf-v5-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--FontWeight);
92
- --pf-v5-c-accordion__toggle--focus__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--Color);
93
- --pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight);
94
- --pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color);
67
+ --pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle-text--FontWeight);
95
68
  --pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight);
96
- --pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingTop);
97
- --pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingRight);
98
- --pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingBottom);
99
- --pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingLeft);
100
69
  --pf-v5-c-accordion__expandable-content--FontSize: var(--pf-v5-c-accordion--m-display-lg__expandable-content--FontSize);
101
70
  --pf-v5-c-accordion__expandable-content--Color: var(--pf-v5-c-accordion--m-display-lg__expandable-content--Color);
102
71
  }
103
- .pf-v5-c-accordion.pf-m-display-lg .pf-v5-c-accordion__expandable-content-body:last-child {
104
- --pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom);
105
- }
106
72
  .pf-v5-c-accordion.pf-m-bordered {
107
- --pf-v5-c-accordion__toggle--after--Top: var(--pf-v5-c-accordion--m-bordered__toggle--after--Top);
108
- border-block-start: var(--pf-v5-c-accordion--m-bordered--BorderTopWidth) solid var(--pf-v5-c-accordion--m-bordered--BorderTopColor);
109
- }
110
- .pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__toggle::before {
111
- position: absolute;
112
- inset-block-start: 0;
113
- inset-block-end: 0;
114
- inset-inline-start: 0;
115
- inset-inline-end: 0;
116
- content: "";
117
- border-color: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderColor);
118
- border-style: solid;
119
- border-block-start-width: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderTopWidth);
120
- border-block-end-width: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth);
121
- border-inline-start-width: 0;
122
- border-inline-end-width: 0;
123
- }
124
- .pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__toggle.pf-m-expanded {
125
- --pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth: 0;
126
- }
127
- .pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__expandable-content.pf-m-expanded .pf-v5-c-accordion__expandable-content-body:last-child::before {
128
- position: absolute;
129
- inset-block-start: 0;
130
- inset-block-end: 0;
131
- inset-inline-start: 0;
132
- inset-inline-end: 0;
133
- pointer-events: none;
134
- content: "";
135
- border-block-end: var(--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth) solid var(--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor);
73
+ --pf-v5-c-accordion--RowGap: var(--pf-v5-c-accordion--m-bordered--RowGap);
74
+ --pf-v5-c-accordion__item--BorderRadius: 0;
75
+ --pf-v5-c-accordion__toggle--BorderRadius: 0;
76
+ }
77
+ .pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__item {
78
+ border-block-end: var(--pf-v5-c-accordion__item--m-bordered--BorderBottomWidth) solid var(--pf-v5-c-accordion__item--m-bordered--BorderBottomColor);
79
+ }
80
+
81
+ .pf-v5-c-accordion__item {
82
+ border-radius: var(--pf-v5-c-accordion__item--BorderRadius);
83
+ }
84
+ .pf-v5-c-accordion__item.pf-m-expanded {
85
+ --pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-v5-c-accordion__toggle--m-expanded--PaddingBottom);
86
+ --pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
87
+ background-color: var(--pf-v5-c-accordion__item--m-expanded--BackgroundColor);
88
+ }
89
+ .pf-v5-c-accordion__item.pf-m-expanded .pf-v5-c-accordion__toggle-icon {
90
+ transform: rotate(var(--pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate));
136
91
  }
137
92
 
138
93
  .pf-v5-c-accordion__toggle {
139
- position: relative;
140
94
  display: flex;
95
+ column-gap: var(--pf-v5-c-accordion__toggle--ColumnGap);
141
96
  align-items: center;
142
- justify-content: space-between;
143
97
  width: 100%;
144
98
  padding-block-start: var(--pf-v5-c-accordion__toggle--PaddingTop);
145
99
  padding-block-end: var(--pf-v5-c-accordion__toggle--PaddingBottom);
@@ -147,54 +101,22 @@
147
101
  padding-inline-end: var(--pf-v5-c-accordion__toggle--PaddingRight);
148
102
  font-family: var(--pf-v5-c-accordion__toggle--FontFamily, inherit);
149
103
  font-size: var(--pf-v5-c-accordion__toggle--FontSize, inherit);
104
+ text-align: start;
150
105
  background-color: var(--pf-v5-c-accordion__toggle--BackgroundColor);
151
106
  border: 0;
107
+ border-radius: var(--pf-v5-c-accordion__toggle--BorderRadius);
152
108
  }
153
- .pf-v5-c-accordion__toggle::after {
154
- position: absolute;
155
- inset-block-start: var(--pf-v5-c-accordion__toggle--after--Top);
156
- inset-block-end: 0;
157
- inset-inline-start: 0;
158
- width: var(--pf-v5-c-accordion__toggle--after--Width);
159
- content: "";
160
- background-color: var(--pf-v5-c-accordion__toggle--after--BackgroundColor);
161
- }
162
- .pf-v5-c-accordion__toggle.pf-m-expanded {
163
- --pf-v5-c-accordion__toggle--after--BackgroundColor: var(--pf-v5-c-accordion__toggle--m-expanded--after--BackgroundColor);
164
- }
165
- .pf-v5-c-accordion__toggle.pf-m-expanded .pf-v5-c-accordion__toggle-text {
166
- font-weight: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
167
- color: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color);
168
- }
169
- .pf-v5-c-accordion__toggle.pf-m-expanded .pf-v5-c-accordion__toggle-icon {
170
- transform: rotate(var(--pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate));
171
- }
172
- .pf-v5-c-accordion__toggle:hover {
173
- background-color: var(--pf-v5-c-accordion__toggle--hover--BackgroundColor);
174
- }
175
- .pf-v5-c-accordion__toggle:hover .pf-v5-c-accordion__toggle-text {
176
- color: var(--pf-v5-c-accordion__toggle--hover__toggle-text--Color);
177
- }
178
- .pf-v5-c-accordion__toggle:focus {
179
- background-color: var(--pf-v5-c-accordion__toggle--focus--BackgroundColor);
180
- }
181
- .pf-v5-c-accordion__toggle:focus .pf-v5-c-accordion__toggle-text {
182
- font-weight: var(--pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight);
183
- color: var(--pf-v5-c-accordion__toggle--focus__toggle-text--Color);
184
- }
185
- .pf-v5-c-accordion__toggle:active {
186
- background-color: var(--pf-v5-c-accordion__toggle--active--BackgroundColor);
187
- }
188
- .pf-v5-c-accordion__toggle:active .pf-v5-c-accordion__toggle-text {
189
- font-weight: var(--pf-v5-c-accordion__toggle--active__toggle-text--FontWeight);
190
- color: var(--pf-v5-c-accordion__toggle--active__toggle-text--Color);
109
+ .pf-v5-c-accordion__toggle:is(:hover, :focus) {
110
+ --pf-v5-c-accordion__toggle--BackgroundColor: var(--pf-v5-c-accordion__toggle--hover--BackgroundColor);
191
111
  }
192
112
 
193
113
  .pf-v5-c-accordion__toggle-text {
194
114
  overflow: hidden;
195
115
  text-overflow: ellipsis;
196
116
  white-space: nowrap;
197
- max-width: var(--pf-v5-c-accordion__toggle-text--MaxWidth);
117
+ flex-grow: 1;
118
+ font-weight: var(--pf-v5-c-accordion__toggle-text--FontWeight);
119
+ color: var(--pf-v5-c-accordion__toggle-text--Color);
198
120
  }
199
121
 
200
122
  .pf-v5-c-accordion__toggle-icon {
@@ -205,39 +127,25 @@
205
127
  }
206
128
 
207
129
  .pf-v5-c-accordion__expandable-content {
130
+ margin-block-end: var(--pf-v5-c-accordion__expandable-content--MarginBottom);
131
+ margin-inline-start: var(--pf-v5-c-accordion__expandable-content--MarginLeft);
132
+ margin-inline-end: var(--pf-v5-c-accordion__expandable-content--MarginRight);
208
133
  font-size: var(--pf-v5-c-accordion__expandable-content--FontSize);
209
134
  color: var(--pf-v5-c-accordion__expandable-content--Color);
135
+ background-color: var(--pf-v5-c-accordion__expandable-content--BackgroundColor);
136
+ border-radius: var(--pf-v5-c-accordion__expandable-content--BorderRadius);
210
137
  }
211
138
  .pf-v5-c-accordion__expandable-content.pf-m-fixed {
212
139
  max-height: var(--pf-v5-c-accordion__expandable-content--m-fixed--MaxHeight);
213
140
  overflow-y: auto;
214
141
  }
215
- .pf-v5-c-accordion__expandable-content.pf-m-expanded {
216
- --pf-v5-c-accordion__expandable-content-body--after--BackgroundColor: var(--pf-v5-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor);
217
- }
218
142
 
219
143
  .pf-v5-c-accordion__expandable-content-body {
220
- position: relative;
221
144
  padding-block-start: var(--pf-v5-c-accordion__expandable-content-body--PaddingTop);
222
145
  padding-block-end: var(--pf-v5-c-accordion__expandable-content-body--PaddingBottom);
223
146
  padding-inline-start: var(--pf-v5-c-accordion__expandable-content-body--PaddingLeft);
224
147
  padding-inline-end: var(--pf-v5-c-accordion__expandable-content-body--PaddingRight);
225
148
  }
226
- .pf-v5-c-accordion__expandable-content-body::after {
227
- position: absolute;
228
- inset-block-start: 0;
229
- inset-block-end: 0;
230
- inset-inline-start: 0;
231
- width: var(--pf-v5-c-accordion__expandable-content-body--after--Width);
232
- content: "";
233
- background-color: var(--pf-v5-c-accordion__expandable-content-body--after--BackgroundColor);
234
- }
235
149
  .pf-v5-c-accordion__expandable-content-body + .pf-v5-c-accordion__expandable-content-body {
236
150
  --pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-v5-c-accordion__expandable-content-body--expandable-content-body--PaddingTop);
237
- }
238
-
239
- :where(.pf-v5-theme-dark) .pf-v5-c-accordion {
240
- --pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
241
- --pf-v5-c-accordion__toggle--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
242
- --pf-v5-c-accordion__toggle--active--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
243
151
  }
@@ -3,16 +3,17 @@ declare const _default: {
3
3
  "accordion": "pf-v5-c-accordion",
4
4
  "accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
5
5
  "accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
6
+ "accordionItem": "pf-v5-c-accordion__item",
6
7
  "accordionToggle": "pf-v5-c-accordion__toggle",
7
8
  "accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
8
9
  "accordionToggleText": "pf-v5-c-accordion__toggle-text",
9
10
  "dirRtl": "pf-v5-m-dir-rtl",
10
11
  "modifiers": {
12
+ "toggleStart": "pf-m-toggle-start",
11
13
  "displayLg": "pf-m-display-lg",
12
14
  "bordered": "pf-m-bordered",
13
15
  "expanded": "pf-m-expanded",
14
16
  "fixed": "pf-m-fixed"
15
- },
16
- "themeDark": "pf-v5-theme-dark"
17
+ }
17
18
  };
18
19
  export default _default;
@@ -5,15 +5,16 @@ exports.default = {
5
5
  "accordion": "pf-v5-c-accordion",
6
6
  "accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
7
7
  "accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
8
+ "accordionItem": "pf-v5-c-accordion__item",
8
9
  "accordionToggle": "pf-v5-c-accordion__toggle",
9
10
  "accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
10
11
  "accordionToggleText": "pf-v5-c-accordion__toggle-text",
11
12
  "dirRtl": "pf-v5-m-dir-rtl",
12
13
  "modifiers": {
14
+ "toggleStart": "pf-m-toggle-start",
13
15
  "displayLg": "pf-m-display-lg",
14
16
  "bordered": "pf-m-bordered",
15
17
  "expanded": "pf-m-expanded",
16
18
  "fixed": "pf-m-fixed"
17
- },
18
- "themeDark": "pf-v5-theme-dark"
19
+ }
19
20
  };
@@ -3,15 +3,16 @@ export default {
3
3
  "accordion": "pf-v5-c-accordion",
4
4
  "accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
5
5
  "accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
6
+ "accordionItem": "pf-v5-c-accordion__item",
6
7
  "accordionToggle": "pf-v5-c-accordion__toggle",
7
8
  "accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
8
9
  "accordionToggleText": "pf-v5-c-accordion__toggle-text",
9
10
  "dirRtl": "pf-v5-m-dir-rtl",
10
11
  "modifiers": {
12
+ "toggleStart": "pf-m-toggle-start",
11
13
  "displayLg": "pf-m-display-lg",
12
14
  "bordered": "pf-m-bordered",
13
15
  "expanded": "pf-m-expanded",
14
16
  "fixed": "pf-m-fixed"
15
- },
16
- "themeDark": "pf-v5-theme-dark"
17
+ }
17
18
  };
@@ -24,7 +24,7 @@
24
24
  --pf-v5-c-alert__icon--MarginRight: var(--pf-t--global--spacer--sm);
25
25
  --pf-v5-c-alert__icon--FontSize: var(--pf-t--global--icon--size--md);
26
26
  --pf-v5-c-alert__title--FontSize: var(--pf-t--global--font--size--heading--xs);
27
- --pf-v5-c-alert__title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
27
+ --pf-v5-c-alert__title--FontWeight: var(--pf-t--global--font--weight--heading);
28
28
  --pf-v5-c-alert__title--LineHeight: var(--pf-t--global--font--line-height--heading);
29
29
  --pf-v5-c-alert__title--Color: var(--pf-t--global--text--color--regular);
30
30
  --pf-v5-c-alert__title--max-lines: 1;
@@ -1,23 +1,25 @@
1
- .pf-v5-c-back-to-top {
2
- --pf-v5-c-back-to-top--Right: var(--pf-v5-global--spacer--2xl);
3
- --pf-v5-c-back-to-top--Bottom: var(--pf-v5-global--spacer--lg);
4
- --pf-v5-c-back-to-top--md--Bottom: var(--pf-v5-global--spacer--2xl);
5
- --pf-v5-c-back-to-top--c-button--FontSize: var(--pf-v5-global--FontSize--xs);
6
- --pf-v5-c-back-to-top--c-button--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
7
- --pf-v5-c-back-to-top--c-button--PaddingTop: var(--pf-v5-global--spacer--xs);
8
- --pf-v5-c-back-to-top--c-button--PaddingRight: var(--pf-v5-global--spacer--sm);
9
- --pf-v5-c-back-to-top--c-button--PaddingBottom: var(--pf-v5-global--spacer--xs);
10
- --pf-v5-c-back-to-top--c-button--PaddingLeft: var(--pf-v5-global--spacer--sm);
11
- --pf-v5-c-back-to-top--c-button--BoxShadow: var(--pf-v5-global--BoxShadow--lg-bottom);
12
- position: absolute;
13
- inset-block-end: var(--pf-v5-c-back-to-top--Bottom);
14
- inset-inline-end: var(--pf-v5-c-back-to-top--Right);
1
+ :root {
2
+ --pf-v5-c-back-to-top--Right: var(--pf-t--global--spacer--2xl);
3
+ --pf-v5-c-back-to-top--Bottom: var(--pf-t--global--spacer--lg);
4
+ --pf-v5-c-back-to-top--md--Bottom: var(--pf-t--global--spacer--2xl);
5
+ --pf-v5-c-back-to-top--c-button--FontSize: var(--pf-t--global--font--size--body--sm);
6
+ --pf-v5-c-back-to-top--c-button--PaddingTop: var(--pf-t--global--spacer--xs);
7
+ --pf-v5-c-back-to-top--c-button--PaddingRight: var(--pf-t--global--spacer--sm);
8
+ --pf-v5-c-back-to-top--c-button--PaddingBottom: var(--pf-t--global--spacer--xs);
9
+ --pf-v5-c-back-to-top--c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
10
+ --pf-v5-c-back-to-top--c-button--BoxShadow: var(--pf-t--global--box-shadow--sm);
15
11
  }
16
12
  @media (min-width: 768px) {
17
- .pf-v5-c-back-to-top {
13
+ :root {
18
14
  --pf-v5-c-back-to-top--Bottom: var(--pf-v5-c-back-to-top--md--Bottom);
19
15
  }
20
16
  }
17
+
18
+ .pf-v5-c-back-to-top {
19
+ position: absolute;
20
+ inset-block-end: var(--pf-v5-c-back-to-top--Bottom);
21
+ inset-inline-end: var(--pf-v5-c-back-to-top--Right);
22
+ }
21
23
  .pf-v5-c-back-to-top.pf-m-hidden {
22
24
  display: none;
23
25
  }
@@ -1,15 +1,22 @@
1
+ :root {
2
+ --pf-v5-c-badge--BorderRadius: var(--pf-t--global--border--radius--pill);
3
+ --pf-v5-c-badge--FontSize: var(--pf-t--global--font--size--body--sm);
4
+ --pf-v5-c-badge--FontWeight: var(--pf-t--global--font--weight--body--bold);
5
+ --pf-v5-c-badge--PaddingRight: var(--pf-t--global--spacer--sm);
6
+ --pf-v5-c-badge--PaddingLeft: var(--pf-t--global--spacer--sm);
7
+ --pf-v5-c-badge--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
8
+ --pf-v5-c-badge--MinWidth: var(--pf-t--global--spacer--xl);
9
+ --pf-v5-c-badge__toggle-icon--MarginLeft: var(--pf-t--global--spacer--xs);
10
+ --pf-v5-c-badge__toggle-icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
11
+ --pf-v5-c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
12
+ --pf-v5-c-badge--m-read--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
13
+ --pf-v5-c-badge--m-read__toggle-icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
14
+ --pf-v5-c-badge--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
15
+ --pf-v5-c-badge--m-unread--Color: var(--pf-t--global--text--color--on-brand--default);
16
+ --pf-v5-c-badge--m-unread__toggle-icon--Color: var(--pf-t--global--icon--color--on-brand--default);
17
+ }
18
+
1
19
  .pf-v5-c-badge {
2
- --pf-v5-c-badge--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
3
- --pf-v5-c-badge--FontSize: var(--pf-v5-global--FontSize--xs);
4
- --pf-v5-c-badge--FontWeight: var(--pf-v5-global--FontWeight--bold);
5
- --pf-v5-c-badge--PaddingRight: var(--pf-v5-global--spacer--sm);
6
- --pf-v5-c-badge--PaddingLeft: var(--pf-v5-global--spacer--sm);
7
- --pf-v5-c-badge--Color: var(--pf-v5-global--Color--dark-100);
8
- --pf-v5-c-badge--MinWidth: var(--pf-v5-global--spacer--xl);
9
- --pf-v5-c-badge--m-read--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
10
- --pf-v5-c-badge--m-read--Color: var(--pf-v5-global--Color--dark-100);
11
- --pf-v5-c-badge--m-unread--BackgroundColor: var(--pf-v5-global--primary-color--100);
12
- --pf-v5-c-badge--m-unread--Color: var(--pf-v5-global--Color--light-100);
13
20
  display: inline-block;
14
21
  min-width: var(--pf-v5-c-badge--MinWidth);
15
22
  padding-inline-start: var(--pf-v5-c-badge--PaddingLeft);
@@ -25,14 +32,15 @@
25
32
  .pf-v5-c-badge.pf-m-read {
26
33
  --pf-v5-c-badge--Color: var(--pf-v5-c-badge--m-read--Color);
27
34
  --pf-v5-c-badge--BackgroundColor: var(--pf-v5-c-badge--m-read--BackgroundColor);
35
+ --pf-v5-c-badge__toggle-icon--Color: var(--pf-v5-c-badge--m-read__toggle-icon--Color);
28
36
  }
29
37
  .pf-v5-c-badge.pf-m-unread {
30
38
  --pf-v5-c-badge--Color: var(--pf-v5-c-badge--m-unread--Color);
31
39
  --pf-v5-c-badge--BackgroundColor: var(--pf-v5-c-badge--m-unread--BackgroundColor);
40
+ --pf-v5-c-badge__toggle-icon--Color: var(--pf-v5-c-badge--m-unread__toggle-icon--Color);
32
41
  }
33
42
 
34
- :where(.pf-v5-theme-dark) .pf-v5-c-badge {
35
- --pf-v5-c-badge--m-read--BackgroundColor: var(--pf-v5-global--palette--black-500);
36
- --pf-v5-c-badge--m-unread--Color: var(--pf-v5-global--primary-color--400);
37
- --pf-v5-c-badge--m-unread--BackgroundColor: var(--pf-v5-global--primary-color--300);
43
+ .pf-v5-c-badge__toggle-icon {
44
+ margin-inline-start: var(--pf-v5-c-badge__toggle-icon--MarginLeft);
45
+ color: var(--pf-v5-c-badge__toggle-icon--Color);
38
46
  }
@@ -1,10 +1,10 @@
1
1
  import './badge.css';
2
2
  declare const _default: {
3
3
  "badge": "pf-v5-c-badge",
4
+ "badgeToggleIcon": "pf-v5-c-badge__toggle-icon",
4
5
  "modifiers": {
5
6
  "read": "pf-m-read",
6
7
  "unread": "pf-m-unread"
7
- },
8
- "themeDark": "pf-v5-theme-dark"
8
+ }
9
9
  };
10
10
  export default _default;
@@ -3,9 +3,9 @@ exports.__esModule = true;
3
3
  require('./badge.css');
4
4
  exports.default = {
5
5
  "badge": "pf-v5-c-badge",
6
+ "badgeToggleIcon": "pf-v5-c-badge__toggle-icon",
6
7
  "modifiers": {
7
8
  "read": "pf-m-read",
8
9
  "unread": "pf-m-unread"
9
- },
10
- "themeDark": "pf-v5-theme-dark"
10
+ }
11
11
  };
@@ -1,9 +1,9 @@
1
1
  import './badge.css';
2
2
  export default {
3
3
  "badge": "pf-v5-c-badge",
4
+ "badgeToggleIcon": "pf-v5-c-badge__toggle-icon",
4
5
  "modifiers": {
5
6
  "read": "pf-m-read",
6
7
  "unread": "pf-m-unread"
7
- },
8
- "themeDark": "pf-v5-theme-dark"
8
+ }
9
9
  };