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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/css/assets/images/PF-Backdrop.svg +1 -0
  3. package/css/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  4. package/css/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  5. package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
  6. package/css/assets/images/PF-IconLogo-color.svg +17 -0
  7. package/css/assets/images/PF-IconLogo.svg +17 -0
  8. package/css/assets/images/logo__pf--reverse-on-md.svg +1 -1
  9. package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  10. package/css/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  11. package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  12. package/css/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  13. package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  14. package/css/assets/images/pf_logo_white.hbs +35 -0
  15. package/css/assets/images/pf_logo_white.svg +38 -0
  16. package/css/components/AboutModalBox/about-modal-box.css +59 -98
  17. package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
  18. package/css/components/AboutModalBox/about-modal-box.js +1 -2
  19. package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
  20. package/css/components/Accordion/accordion.css +85 -177
  21. package/css/components/Accordion/accordion.d.ts +3 -2
  22. package/css/components/Accordion/accordion.js +3 -2
  23. package/css/components/Accordion/accordion.mjs +3 -2
  24. package/css/components/Alert/alert.css +3 -3
  25. package/css/components/Avatar/avatar.css +10 -13
  26. package/css/components/Avatar/avatar.d.ts +1 -2
  27. package/css/components/Avatar/avatar.js +1 -2
  28. package/css/components/Avatar/avatar.mjs +1 -2
  29. package/css/components/BackToTop/back-to-top.css +17 -15
  30. package/css/components/Backdrop/backdrop.css +6 -2
  31. package/css/components/Badge/badge.css +23 -15
  32. package/css/components/Badge/badge.d.ts +2 -2
  33. package/css/components/Badge/badge.js +2 -2
  34. package/css/components/Badge/badge.mjs +2 -2
  35. package/css/components/Banner/banner.css +90 -64
  36. package/css/components/Banner/banner.d.ts +12 -4
  37. package/css/components/Banner/banner.js +12 -4
  38. package/css/components/Banner/banner.mjs +12 -4
  39. package/css/components/Breadcrumb/breadcrumb.css +19 -16
  40. package/css/components/Button/button.css +2 -2
  41. package/css/components/Card/card.css +3 -0
  42. package/css/components/Card/card.d.ts +2 -0
  43. package/css/components/Card/card.js +2 -0
  44. package/css/components/Card/card.mjs +2 -0
  45. package/css/components/Check/check.css +10 -8
  46. package/css/components/Content/content.css +7 -7
  47. package/css/components/Dropdown/dropdown.css +1 -3
  48. package/css/components/Dropdown/dropdown.d.ts +0 -1
  49. package/css/components/Dropdown/dropdown.js +0 -1
  50. package/css/components/Dropdown/dropdown.mjs +0 -1
  51. package/css/components/EmptyState/empty-state.css +57 -34
  52. package/css/components/EmptyState/empty-state.d.ts +6 -1
  53. package/css/components/EmptyState/empty-state.js +6 -1
  54. package/css/components/EmptyState/empty-state.mjs +6 -1
  55. package/css/components/ExpandableSection/expandable-section.css +64 -62
  56. package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
  57. package/css/components/ExpandableSection/expandable-section.js +1 -3
  58. package/css/components/ExpandableSection/expandable-section.mjs +1 -3
  59. package/css/components/Form/form.css +6 -0
  60. package/css/components/HelperText/helper-text.css +28 -34
  61. package/css/components/HelperText/helper-text.d.ts +1 -2
  62. package/css/components/HelperText/helper-text.js +1 -2
  63. package/css/components/HelperText/helper-text.mjs +1 -2
  64. package/css/components/Hint/hint.css +28 -21
  65. package/css/components/Hint/hint.d.ts +1 -2
  66. package/css/components/Hint/hint.js +1 -2
  67. package/css/components/Hint/hint.mjs +1 -2
  68. package/css/components/InlineEdit/inline-edit.css +5 -5
  69. package/css/components/List/list.css +16 -16
  70. package/css/components/Login/login.css +70 -97
  71. package/css/components/Login/login.d.ts +0 -2
  72. package/css/components/Login/login.js +0 -2
  73. package/css/components/Login/login.mjs +0 -2
  74. package/css/components/Menu/menu.css +3 -0
  75. package/css/components/Menu/menu.d.ts +1 -0
  76. package/css/components/Menu/menu.js +1 -0
  77. package/css/components/Menu/menu.mjs +1 -0
  78. package/css/components/MenuToggle/menu-toggle.css +4 -4
  79. package/css/components/ModalBox/modal-box.css +59 -52
  80. package/css/components/ModalBox/modal-box.d.ts +1 -2
  81. package/css/components/ModalBox/modal-box.js +1 -2
  82. package/css/components/ModalBox/modal-box.mjs +1 -2
  83. package/css/components/Nav/nav.css +2 -2
  84. package/css/components/Page/page.css +9 -7
  85. package/css/components/Pagination/pagination.css +61 -121
  86. package/css/components/Pagination/pagination.d.ts +2 -5
  87. package/css/components/Pagination/pagination.js +2 -5
  88. package/css/components/Pagination/pagination.mjs +2 -5
  89. package/css/components/Popover/popover.css +42 -53
  90. package/css/components/Popover/popover.d.ts +1 -2
  91. package/css/components/Popover/popover.js +1 -2
  92. package/css/components/Popover/popover.mjs +1 -2
  93. package/css/components/Radio/radio.css +13 -10
  94. package/css/components/SimpleList/simple-list.css +35 -52
  95. package/css/components/SimpleList/simple-list.d.ts +2 -2
  96. package/css/components/SimpleList/simple-list.js +2 -2
  97. package/css/components/SimpleList/simple-list.mjs +2 -2
  98. package/css/components/SkipToContent/skip-to-content.css +6 -3
  99. package/css/components/Switch/switch.css +1 -1
  100. package/css/components/Table/table.css +12 -8
  101. package/css/components/Table/table.d.ts +2 -0
  102. package/css/components/Table/table.js +2 -0
  103. package/css/components/Table/table.mjs +2 -0
  104. package/css/components/Title/title.css +70 -19
  105. package/css/components/Title/title.d.ts +7 -1
  106. package/css/components/Title/title.js +7 -1
  107. package/css/components/Title/title.mjs +7 -1
  108. package/css/components/Toolbar/toolbar.css +9 -1
  109. package/css/components/Toolbar/toolbar.d.ts +1 -0
  110. package/css/components/Toolbar/toolbar.js +1 -0
  111. package/css/components/Toolbar/toolbar.mjs +1 -0
  112. package/css/components/Tooltip/tooltip.css +16 -18
  113. package/css/components/Tooltip/tooltip.d.ts +0 -1
  114. package/css/components/Tooltip/tooltip.js +0 -1
  115. package/css/components/Tooltip/tooltip.mjs +0 -1
  116. package/css/components/Truncate/truncate.css +4 -0
  117. package/css/docs/components/Brand/examples/Brand.css +12 -0
  118. package/css/docs/components/Brand/examples/Brand.d.ts +10 -0
  119. package/css/docs/components/Brand/examples/Brand.js +11 -0
  120. package/css/docs/components/Brand/examples/Brand.mjs +9 -0
  121. package/css/docs/components/Nav/examples/Navigation.css +18 -2
  122. package/css/docs/components/Nav/examples/Navigation.d.ts +0 -1
  123. package/css/docs/components/Nav/examples/Navigation.js +0 -1
  124. package/css/docs/components/Nav/examples/Navigation.mjs +0 -1
  125. package/css/docs/components/Truncate/examples/Truncate.css +2 -2
  126. package/css/docs/demos/Toolbar/examples/Toolbar.css +10 -0
  127. package/css/docs/demos/Toolbar/examples/Toolbar.d.ts +6 -1
  128. package/css/docs/demos/Toolbar/examples/Toolbar.js +6 -1
  129. package/css/docs/demos/Toolbar/examples/Toolbar.mjs +6 -1
  130. package/package.json +3 -3
  131. package/css/docs/components/Avatar/examples/Avatar.css +0 -3
  132. package/css/docs/components/Avatar/examples/Avatar.d.ts +0 -3
  133. package/css/docs/components/Avatar/examples/Avatar.js +0 -4
  134. package/css/docs/components/Avatar/examples/Avatar.mjs +0 -2
@@ -1,6 +1,7 @@
1
1
  import './table.css';
2
2
  export default {
3
3
  "button": "pf-v5-c-button",
4
+ "check": "pf-v5-c-check",
4
5
  "checkInput": "pf-v5-c-check__input",
5
6
  "dirRtl": "pf-v5-m-dir-rtl",
6
7
  "modifiers": {
@@ -39,6 +40,7 @@ export default {
39
40
  "selected": "pf-m-selected",
40
41
  "firstCellOffsetReset": "pf-m-first-cell-offset-reset",
41
42
  "dragOver": "pf-m-drag-over",
43
+ "standalone": "pf-m-standalone",
42
44
  "favorited": "pf-m-favorited",
43
45
  "noPadding": "pf-m-no-padding",
44
46
  "compact": "pf-m-compact",
@@ -1,23 +1,44 @@
1
+ :root {
2
+ --pf-v5-c-title--FontFamily: var(--pf-t--global--font--family--heading);
3
+ --pf-v5-c-title--m-4xl--LineHeight: var(--pf-t--global--font--line-height--heading);
4
+ --pf-v5-c-title--m-4xl--FontSize: var(--pf-t--global--font--size--heading--2xl);
5
+ --pf-v5-c-title--m-4xl--FontWeight: var(--pf-t--global--font--weight--heading);
6
+ --pf-v5-c-title--m-3xl--LineHeight: var(--pf-t--global--font--line-height--heading);
7
+ --pf-v5-c-title--m-3xl--FontSize: var(--pf-t--global--font--size--heading--xl);
8
+ --pf-v5-c-title--m-3xl--FontWeight: var(--pf-t--global--font--weight--heading);
9
+ --pf-v5-c-title--m-2xl--LineHeight: var(--pf-t--global--font--line-height--heading);
10
+ --pf-v5-c-title--m-2xl--FontSize: var(--pf-t--global--font--size--heading--lg);
11
+ --pf-v5-c-title--m-2xl--FontWeight: var(--pf-t--global--font--weight--heading);
12
+ --pf-v5-c-title--m-xl--LineHeight: var(--pf-t--global--font--line-height--heading);
13
+ --pf-v5-c-title--m-xl--FontSize: var(--pf-t--global--font--size--heading--md);
14
+ --pf-v5-c-title--m-xl--FontWeight: var(--pf-t--global--font--weight--heading);
15
+ --pf-v5-c-title--m-lg--LineHeight: var(--pf-t--global--font--line-height--heading);
16
+ --pf-v5-c-title--m-lg--FontSize: var(--pf-t--global--font--size--heading--sm);
17
+ --pf-v5-c-title--m-lg--FontWeight: var(--pf-t--global--font--weight--heading);
18
+ --pf-v5-c-title--m-md--LineHeight: var(--pf-t--global--font--line-height--heading);
19
+ --pf-v5-c-title--m-md--FontSize: var(--pf-t--global--font--size--heading--xs);
20
+ --pf-v5-c-title--m-md--FontWeight: var(--pf-t--global--font--weight--heading);
21
+ --pf-v5-c-title--m-h1--LineHeight: var(--pf-t--global--font--line-height--heading);
22
+ --pf-v5-c-title--m-h1--FontSize: var(--pf-t--global--font--size--heading--h1);
23
+ --pf-v5-c-title--m-h1--FontWeight: var(--pf-t--global--font--weight--heading);
24
+ --pf-v5-c-title--m-h2--LineHeight: var(--pf-t--global--font--line-height--heading);
25
+ --pf-v5-c-title--m-h2--FontSize: var(--pf-t--global--font--size--heading--h2);
26
+ --pf-v5-c-title--m-h2--FontWeight: var(--pf-t--global--font--weight--heading);
27
+ --pf-v5-c-title--m-h3--LineHeight: var(--pf-t--global--font--line-height--heading);
28
+ --pf-v5-c-title--m-h3--FontSize: var(--pf-t--global--font--size--heading--h3);
29
+ --pf-v5-c-title--m-h3--FontWeight: var(--pf-t--global--font--weight--heading);
30
+ --pf-v5-c-title--m-h4--LineHeight: var(--pf-t--global--font--line-height--heading);
31
+ --pf-v5-c-title--m-h4--FontSize: var(--pf-t--global--font--size--heading--h4);
32
+ --pf-v5-c-title--m-h4--FontWeight: var(--pf-t--global--font--weight--heading);
33
+ --pf-v5-c-title--m-h5--LineHeight: var(--pf-t--global--font--line-height--heading);
34
+ --pf-v5-c-title--m-h5--FontSize: var(--pf-t--global--font--size--heading--h5);
35
+ --pf-v5-c-title--m-h5--FontWeight: var(--pf-t--global--font--weight--heading);
36
+ --pf-v5-c-title--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
37
+ --pf-v5-c-title--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
38
+ --pf-v5-c-title--m-h6--FontWeight: var(--pf-t--global--font--weight--heading);
39
+ }
40
+
1
41
  .pf-v5-c-title {
2
- --pf-v5-c-title--FontFamily: var(--pf-v5-global--FontFamily--heading);
3
- --pf-v5-c-title--m-4xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
4
- --pf-v5-c-title--m-4xl--FontSize: var(--pf-v5-global--FontSize--4xl);
5
- --pf-v5-c-title--m-4xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
6
- --pf-v5-c-title--m-3xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
7
- --pf-v5-c-title--m-3xl--FontSize: var(--pf-v5-global--FontSize--3xl);
8
- --pf-v5-c-title--m-3xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
9
- --pf-v5-c-title--m-2xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
10
- --pf-v5-c-title--m-2xl--FontSize: var(--pf-v5-global--FontSize--2xl);
11
- --pf-v5-c-title--m-2xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
12
- --pf-v5-c-title--m-xl--LineHeight: var(--pf-v5-global--LineHeight--md);
13
- --pf-v5-c-title--m-xl--FontSize: var(--pf-v5-global--FontSize--xl);
14
- --pf-v5-c-title--m-xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
15
- --pf-v5-c-title--m-lg--LineHeight: var(--pf-v5-global--LineHeight--md);
16
- --pf-v5-c-title--m-lg--FontSize: var(--pf-v5-global--FontSize--lg);
17
- --pf-v5-c-title--m-lg--FontWeight: var(--pf-v5-global--FontWeight--normal);
18
- --pf-v5-c-title--m-md--LineHeight: var(--pf-v5-global--LineHeight--md);
19
- --pf-v5-c-title--m-md--FontSize: var(--pf-v5-global--FontSize--md);
20
- --pf-v5-c-title--m-md--FontWeight: var(--pf-v5-global--FontWeight--normal);
21
42
  font-family: var(--pf-v5-c-title--FontFamily);
22
43
  word-break: break-word;
23
44
  }
@@ -50,4 +71,34 @@
50
71
  font-size: var(--pf-v5-c-title--m-md--FontSize);
51
72
  font-weight: var(--pf-v5-c-title--m-md--FontWeight);
52
73
  line-height: var(--pf-v5-c-title--m-md--LineHeight);
74
+ }
75
+ .pf-v5-c-title.pf-m-h1 {
76
+ font-size: var(--pf-v5-c-title--m-h1--FontSize);
77
+ font-weight: var(--pf-v5-c-title--m-h1--FontWeight);
78
+ line-height: var(--pf-v5-c-title--m-h1--LineHeight);
79
+ }
80
+ .pf-v5-c-title.pf-m-h2 {
81
+ font-size: var(--pf-v5-c-title--m-h2--FontSize);
82
+ font-weight: var(--pf-v5-c-title--m-h2--FontWeight);
83
+ line-height: var(--pf-v5-c-title--m-h2--LineHeight);
84
+ }
85
+ .pf-v5-c-title.pf-m-h3 {
86
+ font-size: var(--pf-v5-c-title--m-h3--FontSize);
87
+ font-weight: var(--pf-v5-c-title--m-h3--FontWeight);
88
+ line-height: var(--pf-v5-c-title--m-h3--LineHeight);
89
+ }
90
+ .pf-v5-c-title.pf-m-h4 {
91
+ font-size: var(--pf-v5-c-title--m-h4--FontSize);
92
+ font-weight: var(--pf-v5-c-title--m-h4--FontWeight);
93
+ line-height: var(--pf-v5-c-title--m-h4--LineHeight);
94
+ }
95
+ .pf-v5-c-title.pf-m-h5 {
96
+ font-size: var(--pf-v5-c-title--m-h5--FontSize);
97
+ font-weight: var(--pf-v5-c-title--m-h5--FontWeight);
98
+ line-height: var(--pf-v5-c-title--m-h5--LineHeight);
99
+ }
100
+ .pf-v5-c-title.pf-m-h6 {
101
+ font-size: var(--pf-v5-c-title--m-h6--FontSize);
102
+ font-weight: var(--pf-v5-c-title--m-h6--FontWeight);
103
+ line-height: var(--pf-v5-c-title--m-h6--LineHeight);
53
104
  }
@@ -6,7 +6,13 @@ declare const _default: {
6
6
  "2xl": "pf-m-2xl",
7
7
  "xl": "pf-m-xl",
8
8
  "lg": "pf-m-lg",
9
- "md": "pf-m-md"
9
+ "md": "pf-m-md",
10
+ "h1": "pf-m-h1",
11
+ "h2": "pf-m-h2",
12
+ "h3": "pf-m-h3",
13
+ "h4": "pf-m-h4",
14
+ "h5": "pf-m-h5",
15
+ "h6": "pf-m-h6"
10
16
  },
11
17
  "title": "pf-v5-c-title"
12
18
  };
@@ -8,7 +8,13 @@ exports.default = {
8
8
  "2xl": "pf-m-2xl",
9
9
  "xl": "pf-m-xl",
10
10
  "lg": "pf-m-lg",
11
- "md": "pf-m-md"
11
+ "md": "pf-m-md",
12
+ "h1": "pf-m-h1",
13
+ "h2": "pf-m-h2",
14
+ "h3": "pf-m-h3",
15
+ "h4": "pf-m-h4",
16
+ "h5": "pf-m-h5",
17
+ "h6": "pf-m-h6"
12
18
  },
13
19
  "title": "pf-v5-c-title"
14
20
  };
@@ -6,7 +6,13 @@ export default {
6
6
  "2xl": "pf-m-2xl",
7
7
  "xl": "pf-m-xl",
8
8
  "lg": "pf-m-lg",
9
- "md": "pf-m-md"
9
+ "md": "pf-m-md",
10
+ "h1": "pf-m-h1",
11
+ "h2": "pf-m-h2",
12
+ "h3": "pf-m-h3",
13
+ "h4": "pf-m-h4",
14
+ "h5": "pf-m-h5",
15
+ "h6": "pf-m-h6"
10
16
  },
11
17
  "title": "pf-v5-c-title"
12
18
  };
@@ -114,6 +114,9 @@
114
114
  --pf-v5-c-toolbar__item--m-label--spacer: var(--pf-v5-c-toolbar__item--spacer);
115
115
  --pf-v5-c-toolbar__item--m-label--TranslateY: var(--pf-v5-global--spacer--form-element);
116
116
  --pf-v5-c-toolbar__item--m-label--FontWeight: var(--pf-v5-global--FontWeight--bold);
117
+ --pf-v5-c-toolbar__item--m-form-element--spacer: var(--pf-v5-c-toolbar__item--spacer);
118
+ --pf-v5-c-toolbar__item--m-form-element--TranslateY: var(--pf-v5-global--spacer--form-element);
119
+ --pf-v5-c-toolbar__item--m-form-element--FontWeight: var(--pf-v5-global--FontWeight--bold);
117
120
  --pf-v5-c-toolbar__item--m-form-control--TranslateY: var(--pf-v5-global--spacer--form-element);
118
121
  --pf-v5-c-toolbar__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--pf-v5-c-toolbar__expandable-content--m-expanded--GridRowGap) + var(--pf-v5-global--spacer--sm));
119
122
  --pf-v5-c-toolbar__expandable-content__item--m-label--FontSize: var(--pf-v5-global--FontSize--sm);
@@ -363,7 +366,12 @@
363
366
  .pf-v5-c-toolbar__item.pf-m-label {
364
367
  --pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-label--spacer);
365
368
  font-weight: var(--pf-v5-c-toolbar__item--m-label--FontWeight);
366
- transform: translateY(var(--pf-v5-global--spacer--form-element));
369
+ transform: translateY(var(--pf-v5-c-toolbar__item--m-label--TranslateY));
370
+ }
371
+ .pf-v5-c-toolbar__item.pf-m-form-element {
372
+ --pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-form-element--spacer);
373
+ font-weight: var(--pf-v5-c-toolbar__item--m-form-element--FontWeight);
374
+ transform: translateY(var(--pf-v5-c-toolbar__item--m-form-element--TranslateY));
367
375
  }
368
376
  .pf-v5-c-toolbar__item.pf-m-pagination {
369
377
  margin-inline-start: auto;
@@ -37,6 +37,7 @@ declare const _default: {
37
37
  "searchFilter": "pf-m-search-filter",
38
38
  "chipGroup": "pf-m-chip-group",
39
39
  "label": "pf-m-label",
40
+ "formElement": "pf-m-form-element",
40
41
  "pagination": "pf-m-pagination",
41
42
  "overflowContainer": "pf-m-overflow-container",
42
43
  "chipContainer": "pf-m-chip-container",
@@ -39,6 +39,7 @@ exports.default = {
39
39
  "searchFilter": "pf-m-search-filter",
40
40
  "chipGroup": "pf-m-chip-group",
41
41
  "label": "pf-m-label",
42
+ "formElement": "pf-m-form-element",
42
43
  "pagination": "pf-m-pagination",
43
44
  "overflowContainer": "pf-m-overflow-container",
44
45
  "chipContainer": "pf-m-chip-container",
@@ -37,6 +37,7 @@ export default {
37
37
  "searchFilter": "pf-m-search-filter",
38
38
  "chipGroup": "pf-m-chip-group",
39
39
  "label": "pf-m-label",
40
+ "formElement": "pf-m-form-element",
40
41
  "pagination": "pf-m-pagination",
41
42
  "overflowContainer": "pf-m-overflow-container",
42
43
  "chipContainer": "pf-m-chip-container",
@@ -1,17 +1,18 @@
1
- .pf-v5-c-tooltip {
1
+ :root {
2
2
  --pf-v5-c-tooltip--MaxWidth: 18.75rem;
3
- --pf-v5-c-tooltip--BoxShadow: var(--pf-v5-global--BoxShadow--md);
4
- --pf-v5-c-tooltip__content--PaddingTop: var(--pf-v5-global--spacer--sm);
5
- --pf-v5-c-tooltip__content--PaddingRight: var(--pf-v5-global--spacer--sm);
6
- --pf-v5-c-tooltip__content--PaddingBottom: var(--pf-v5-global--spacer--sm);
7
- --pf-v5-c-tooltip__content--PaddingLeft: var(--pf-v5-global--spacer--sm);
8
- --pf-v5-c-tooltip__content--Color: var(--pf-v5-global--Color--light-100);
9
- --pf-v5-c-tooltip__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-100);
10
- --pf-v5-c-tooltip__content--FontSize: var(--pf-v5-global--FontSize--sm);
3
+ --pf-v5-c-tooltip--BoxShadow: var(--pf-t--global--box-shadow--md);
4
+ --pf-v5-c-tooltip__content--PaddingTop: var(--pf-t--global--spacer--sm);
5
+ --pf-v5-c-tooltip__content--PaddingRight: var(--pf-t--global--spacer--md);
6
+ --pf-v5-c-tooltip__content--PaddingBottom: var(--pf-t--global--spacer--sm);
7
+ --pf-v5-c-tooltip__content--PaddingLeft: var(--pf-t--global--spacer--md);
8
+ --pf-v5-c-tooltip__content--Color: var(--pf-t--global--text--color--inverse);
9
+ --pf-v5-c-tooltip__content--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
10
+ --pf-v5-c-tooltip__content--FontSize: var(--pf-t--global--font--size--body--sm);
11
+ --pf-v5-c-tooltip__content--BorderRadius: var(--pf-t--global--border--radius--small);
11
12
  --pf-v5-c-tooltip__arrow--Width: 0.9375rem;
12
13
  --pf-v5-c-tooltip__arrow--Height: 0.9375rem;
13
- --pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-100);
14
- --pf-v5-c-tooltip__arrow--BoxShadow: var(--pf-v5-global--BoxShadow--md);
14
+ --pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
15
+ --pf-v5-c-tooltip__arrow--BoxShadow: var(--pf-t--global--box-shadow--md);
15
16
  --pf-v5-c-tooltip__arrow--m-top--TranslateX: -50%;
16
17
  --pf-v5-c-tooltip__arrow--m-top--TranslateY: 50%;
17
18
  --pf-v5-c-tooltip__arrow--m-top--Rotate: 45deg;
@@ -24,6 +25,9 @@
24
25
  --pf-v5-c-tooltip__arrow--m-left--TranslateX: 50%;
25
26
  --pf-v5-c-tooltip__arrow--m-left--TranslateY: -50%;
26
27
  --pf-v5-c-tooltip__arrow--m-left--Rotate: 45deg;
28
+ }
29
+
30
+ .pf-v5-c-tooltip {
27
31
  position: relative;
28
32
  max-width: var(--pf-v5-c-tooltip--MaxWidth);
29
33
  box-shadow: var(--pf-v5-c-tooltip--BoxShadow);
@@ -96,6 +100,7 @@
96
100
  text-align: center;
97
101
  word-break: break-word;
98
102
  background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
103
+ border-radius: var(--pf-v5-c-tooltip__content--BorderRadius);
99
104
  }
100
105
  .pf-v5-c-tooltip__content.pf-m-text-align-left {
101
106
  text-align: start;
@@ -103,21 +108,14 @@
103
108
 
104
109
  .pf-v5-c-tooltip__arrow {
105
110
  position: absolute;
106
- /* stylelint-disable liberty/use-logical-spec */
107
111
  top: var(--pf-v5-c-tooltip__arrow--Top, auto);
108
112
  right: var(--pf-v5-c-tooltip__arrow--Right, auto);
109
113
  bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
110
114
  left: var(--pf-v5-c-tooltip__arrow--Left, auto);
111
- /* stylelint-enable */
112
115
  width: var(--pf-v5-c-tooltip__arrow--Width);
113
116
  height: var(--pf-v5-c-tooltip__arrow--Height);
114
117
  pointer-events: none;
115
118
  background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
116
119
  box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
117
120
  transform: translateX(var(--pf-v5-c-tooltip__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-tooltip__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-tooltip__arrow--Rotate, 0));
118
- }
119
-
120
- :where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
121
- --pf-v5-c-tooltip__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
122
- --pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
123
121
  }
@@ -15,7 +15,6 @@ declare const _default: {
15
15
  "rightBottom": "pf-m-right-bottom",
16
16
  "textAlignLeft": "pf-m-text-align-left"
17
17
  },
18
- "themeDark": "pf-v5-theme-dark",
19
18
  "tooltip": "pf-v5-c-tooltip",
20
19
  "tooltipArrow": "pf-v5-c-tooltip__arrow",
21
20
  "tooltipContent": "pf-v5-c-tooltip__content"
@@ -17,7 +17,6 @@ exports.default = {
17
17
  "rightBottom": "pf-m-right-bottom",
18
18
  "textAlignLeft": "pf-m-text-align-left"
19
19
  },
20
- "themeDark": "pf-v5-theme-dark",
21
20
  "tooltip": "pf-v5-c-tooltip",
22
21
  "tooltipArrow": "pf-v5-c-tooltip__arrow",
23
22
  "tooltipContent": "pf-v5-c-tooltip__content"
@@ -15,7 +15,6 @@ export default {
15
15
  "rightBottom": "pf-m-right-bottom",
16
16
  "textAlignLeft": "pf-m-text-align-left"
17
17
  },
18
- "themeDark": "pf-v5-theme-dark",
19
18
  "tooltip": "pf-v5-c-tooltip",
20
19
  "tooltipArrow": "pf-v5-c-tooltip__arrow",
21
20
  "tooltipContent": "pf-v5-c-tooltip__content"
@@ -1,6 +1,10 @@
1
+ :root,
1
2
  .pf-v5-c-truncate {
2
3
  --pf-v5-c-truncate--MinWidth: 12ch;
3
4
  --pf-v5-c-truncate__start--MinWidth: 6ch;
5
+ }
6
+
7
+ .pf-v5-c-truncate {
4
8
  display: inline-grid;
5
9
  grid-auto-flow: column;
6
10
  align-items: baseline;
@@ -0,0 +1,12 @@
1
+ .show-dark,
2
+ :where(.pf-v5-theme-dark) .show-light {
3
+ display: none;
4
+ }
5
+
6
+ :where(.pf-v5-theme-dark) .show-dark {
7
+ display: revert;
8
+ }
9
+
10
+ :where(.pf-v5-theme-dark) .show-dark .pf-m-picture {
11
+ display: inline-flex;
12
+ }
@@ -0,0 +1,10 @@
1
+ import './Brand.css';
2
+ declare const _default: {
3
+ "modifiers": {
4
+ "picture": "pf-m-picture"
5
+ },
6
+ "showDark": "show-dark",
7
+ "showLight": "show-light",
8
+ "themeDark": "pf-v5-theme-dark"
9
+ };
10
+ export default _default;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ require('./Brand.css');
4
+ exports.default = {
5
+ "modifiers": {
6
+ "picture": "pf-m-picture"
7
+ },
8
+ "showDark": "show-dark",
9
+ "showLight": "show-light",
10
+ "themeDark": "pf-v5-theme-dark"
11
+ };
@@ -0,0 +1,9 @@
1
+ import './Brand.css';
2
+ export default {
3
+ "modifiers": {
4
+ "picture": "pf-m-picture"
5
+ },
6
+ "showDark": "show-dark",
7
+ "showLight": "show-light",
8
+ "themeDark": "pf-v5-theme-dark"
9
+ };
@@ -1,6 +1,22 @@
1
- .ws-core-c-navigation:not([id*="tertiary"]):not([id*="light-mode"]) .pf-v5-c-nav {
1
+ #ws-core-c-navigation-default,
2
+ #ws-core-c-navigation-basic,
3
+ #ws-core-c-navigation-grouped,
4
+ #ws-core-c-navigation-grouped-nav,
5
+ #ws-core-c-navigation-grouped-nav-no-titles,
6
+ #ws-core-c-navigation-expanded,
7
+ #ws-core-c-navigation-expanded-with-subnav-titles,
8
+ #ws-core-c-navigation-mixed,
9
+ #ws-core-c-navigation-horizontal,
10
+ #ws-core-c-navigation-horizontal-overflow,
11
+ #ws-core-c-navigation-horizontal-subnav,
12
+ #ws-core-c-navigation-horizontal-subnav-overflow,
13
+ #ws-core-c-navigation-drilldown,
14
+ #ws-core-c-navigation-nav-with-drilldown-menu .pf-v5-c-nav,
15
+ #ws-core-c-navigation-level-2-drilldown,
16
+ #ws-core-c-navigation-level-3-drilldown,
17
+ #ws-core-c-navigation-nav-with-flyout .pf-v5-c-nav,
18
+ #ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
2
19
  padding: 0;
3
- background-color: var(--pf-v5-global--BackgroundColor--dark-300);
4
20
  }
5
21
 
6
22
  #ws-core-c-navigation-horizontal-in-masthead,
@@ -8,7 +8,6 @@ declare const _default: {
8
8
  "nav": "pf-v5-c-nav",
9
9
  "pageHeader": "pf-v5-c-page__header",
10
10
  "pageHeaderNav": "pf-v5-c-page__header-nav",
11
- "wsCoreCNavigation": "ws-core-c-navigation",
12
11
  "wsPreviewHtml": "ws-preview-html"
13
12
  };
14
13
  export default _default;
@@ -10,6 +10,5 @@ exports.default = {
10
10
  "nav": "pf-v5-c-nav",
11
11
  "pageHeader": "pf-v5-c-page__header",
12
12
  "pageHeaderNav": "pf-v5-c-page__header-nav",
13
- "wsCoreCNavigation": "ws-core-c-navigation",
14
13
  "wsPreviewHtml": "ws-preview-html"
15
14
  };
@@ -8,6 +8,5 @@ export default {
8
8
  "nav": "pf-v5-c-nav",
9
9
  "pageHeader": "pf-v5-c-page__header",
10
10
  "pageHeaderNav": "pf-v5-c-page__header-nav",
11
- "wsCoreCNavigation": "ws-core-c-navigation",
12
11
  "wsPreviewHtml": "ws-preview-html"
13
12
  };
@@ -4,6 +4,6 @@
4
4
  overflow: auto;
5
5
  min-width: 161px;
6
6
  max-width: 100%;
7
- padding: var(--pf-v5-global--spacer--md);
8
- border: var(--pf-v5-global--BorderWidth--sm) solid var(--pf-v5-global--BorderColor--100);
7
+ padding: var(--pf-t--global--spacer--sm);
8
+ border: var(--pf-t--global--border--width--box--default) solid var(--pf-t--global--border--color--default);
9
9
  }
@@ -13,3 +13,13 @@
13
13
  #ws-html-demos-c-toolbar-toolbar-attribute-value-search-filter-on-mobile {
14
14
  min-height: 175px;
15
15
  }
16
+
17
+ .pf-v5-c-menu-toggle + .pf-v5-c-panel {
18
+ position: absolute;
19
+ top: calc(100% + 2px);
20
+ z-index: var(--pf-v5-global--ZIndex--sm);
21
+ }
22
+
23
+ .ws-html-demos-c-toolbar .pf-v5-c-toolbar__item {
24
+ position: relative;
25
+ }
@@ -1,3 +1,8 @@
1
1
  import './Toolbar.css';
2
- declare const _default: {};
2
+ declare const _default: {
3
+ "menuToggle": "pf-v5-c-menu-toggle",
4
+ "panel": "pf-v5-c-panel",
5
+ "toolbarItem": "pf-v5-c-toolbar__item",
6
+ "wsHtmlDemosCToolbar": "ws-html-demos-c-toolbar"
7
+ };
3
8
  export default _default;
@@ -1,4 +1,9 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
3
  require('./Toolbar.css');
4
- exports.default = {};
4
+ exports.default = {
5
+ "menuToggle": "pf-v5-c-menu-toggle",
6
+ "panel": "pf-v5-c-panel",
7
+ "toolbarItem": "pf-v5-c-toolbar__item",
8
+ "wsHtmlDemosCToolbar": "ws-html-demos-c-toolbar"
9
+ };
@@ -1,2 +1,7 @@
1
1
  import './Toolbar.css';
2
- export default {};
2
+ export default {
3
+ "menuToggle": "pf-v5-c-menu-toggle",
4
+ "panel": "pf-v5-c-panel",
5
+ "toolbarItem": "pf-v5-c-toolbar__item",
6
+ "wsHtmlDemosCToolbar": "ws-html-demos-c-toolbar"
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "6.0.0-alpha.2",
3
+ "version": "6.0.0-alpha.4",
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": "6.0.0-alpha.12",
22
+ "@patternfly/patternfly": "6.0.0-alpha.38",
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": "e097336a87fa3cd2ab41654bec28d120beed10bc"
32
+ "gitHead": "0213323de9e62364f8cd3f401bec86f1f34ee4fe"
33
33
  }
@@ -1,3 +0,0 @@
1
- #ws-core-c-avatar-bordered---dark {
2
- background: var(--pf-v5-global--BackgroundColor--dark-100);
3
- }
@@ -1,3 +0,0 @@
1
- import './Avatar.css';
2
- declare const _default: {};
3
- export default _default;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- require('./Avatar.css');
4
- exports.default = {};
@@ -1,2 +0,0 @@
1
- import './Avatar.css';
2
- export default {};