@patternfly/react-styles 6.0.0-alpha.6 → 6.0.0-alpha.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/css/components/Button/button.css +44 -14
  3. package/css/components/Card/card.css +97 -194
  4. package/css/components/Card/card.d.ts +3 -9
  5. package/css/components/Card/card.js +3 -9
  6. package/css/components/Card/card.mjs +3 -9
  7. package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
  8. package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
  9. package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
  10. package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
  11. package/css/components/CodeBlock/code-block.css +18 -9
  12. package/css/components/DescriptionList/description-list.css +39 -34
  13. package/css/components/DragDrop/drag-drop.css +18 -14
  14. package/css/components/DragDrop/drag-drop.d.ts +1 -2
  15. package/css/components/DragDrop/drag-drop.js +1 -2
  16. package/css/components/DragDrop/drag-drop.mjs +1 -2
  17. package/css/components/Drawer/drawer.css +113 -113
  18. package/css/components/Drawer/drawer.d.ts +3 -3
  19. package/css/components/Drawer/drawer.js +3 -3
  20. package/css/components/Drawer/drawer.mjs +3 -3
  21. package/css/components/FileUpload/file-upload.css +28 -34
  22. package/css/components/FormControl/form-control.css +3 -3
  23. package/css/components/Icon/icon.css +154 -18
  24. package/css/components/Icon/icon.d.ts +11 -0
  25. package/css/components/Icon/icon.js +11 -0
  26. package/css/components/Icon/icon.mjs +11 -0
  27. package/css/components/InlineEdit/inline-edit.css +3 -2
  28. package/css/components/InputGroup/input-group.css +22 -38
  29. package/css/components/InputGroup/input-group.d.ts +1 -2
  30. package/css/components/InputGroup/input-group.js +1 -2
  31. package/css/components/InputGroup/input-group.mjs +1 -2
  32. package/css/components/JumpLinks/jump-links.css +34 -34
  33. package/css/components/Label/label-group.css +39 -44
  34. package/css/components/Label/label.css +258 -355
  35. package/css/components/Label/label.d.ts +11 -10
  36. package/css/components/Label/label.js +11 -10
  37. package/css/components/Label/label.mjs +11 -10
  38. package/css/components/Nav/nav.css +240 -918
  39. package/css/components/Nav/nav.d.ts +9 -20
  40. package/css/components/Nav/nav.js +9 -20
  41. package/css/components/Nav/nav.mjs +9 -20
  42. package/css/components/NumberInput/number-input.css +8 -8
  43. package/css/components/NumberInput/number-input.d.ts +0 -3
  44. package/css/components/NumberInput/number-input.js +0 -3
  45. package/css/components/NumberInput/number-input.mjs +0 -3
  46. package/css/components/Sidebar/sidebar.css +20 -9
  47. package/css/components/Sidebar/sidebar.d.ts +1 -0
  48. package/css/components/Sidebar/sidebar.js +1 -0
  49. package/css/components/Sidebar/sidebar.mjs +1 -0
  50. package/css/components/SimpleList/simple-list.css +1 -1
  51. package/css/components/Tile/tile.css +40 -81
  52. package/css/components/Tile/tile.d.ts +0 -1
  53. package/css/components/Tile/tile.js +0 -1
  54. package/css/components/Tile/tile.mjs +0 -1
  55. package/css/components/Timestamp/timestamp.css +12 -9
  56. package/css/components/ToggleGroup/toggle-group.css +34 -47
  57. package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
  58. package/css/components/ToggleGroup/toggle-group.js +0 -1
  59. package/css/components/ToggleGroup/toggle-group.mjs +0 -1
  60. package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
  61. package/css/docs/components/Label/examples/Label.css +4 -0
  62. package/css/docs/components/Nav/examples/Navigation.css +1 -39
  63. package/css/docs/components/Nav/examples/Navigation.d.ts +0 -2
  64. package/css/docs/components/Nav/examples/Navigation.js +0 -2
  65. package/css/docs/components/Nav/examples/Navigation.mjs +0 -2
  66. package/package.json +3 -3
@@ -1,40 +1,29 @@
1
1
  import './nav.css';
2
2
  declare const _default: {
3
+ "buttonIcon": "pf-v5-c-button__icon",
3
4
  "dirRtl": "pf-v5-m-dir-rtl",
4
- "divider": "pf-v5-c-divider",
5
- "menu": "pf-v5-c-menu",
6
- "menuContent": "pf-v5-c-menu__content",
7
- "menuItem": "pf-v5-c-menu__item",
8
- "menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
9
- "menuListItem": "pf-v5-c-menu__list-item",
10
5
  "modifiers": {
11
- "flyout": "pf-m-flyout",
12
- "top": "pf-m-top",
13
- "left": "pf-m-left",
14
- "current": "pf-m-current",
15
- "drillUp": "pf-m-drill-up",
16
- "horizontal": "pf-m-horizontal",
17
- "tertiary": "pf-m-tertiary",
18
- "horizontalSubnav": "pf-m-horizontal-subnav",
19
- "light": "pf-m-light",
20
6
  "scrollable": "pf-m-scrollable",
21
7
  "overflowHidden": "pf-m-overflow-hidden",
22
- "expandable": "pf-m-expandable",
8
+ "fullWidth": "pf-m-full-width",
9
+ "fill": "pf-m-fill",
23
10
  "expanded": "pf-m-expanded",
24
- "drilldown": "pf-m-drilldown",
25
11
  "hover": "pf-m-hover",
26
- "start": "pf-m-start"
12
+ "current": "pf-m-current",
13
+ "flyout": "pf-m-flyout",
14
+ "horizontal": "pf-m-horizontal",
15
+ "subnav": "pf-m-subnav"
27
16
  },
28
17
  "nav": "pf-v5-c-nav",
29
18
  "navItem": "pf-v5-c-nav__item",
30
19
  "navLink": "pf-v5-c-nav__link",
31
20
  "navList": "pf-v5-c-nav__list",
21
+ "navNav": "pf-v5-c-nav__nav",
32
22
  "navScrollButton": "pf-v5-c-nav__scroll-button",
33
23
  "navSection": "pf-v5-c-nav__section",
34
24
  "navSectionTitle": "pf-v5-c-nav__section-title",
35
25
  "navSubnav": "pf-v5-c-nav__subnav",
36
26
  "navToggle": "pf-v5-c-nav__toggle",
37
- "navToggleIcon": "pf-v5-c-nav__toggle-icon",
38
- "themeDark": "pf-v5-theme-dark"
27
+ "navToggleIcon": "pf-v5-c-nav__toggle-icon"
39
28
  };
40
29
  export default _default;
@@ -2,40 +2,29 @@
2
2
  exports.__esModule = true;
3
3
  require('./nav.css');
4
4
  exports.default = {
5
+ "buttonIcon": "pf-v5-c-button__icon",
5
6
  "dirRtl": "pf-v5-m-dir-rtl",
6
- "divider": "pf-v5-c-divider",
7
- "menu": "pf-v5-c-menu",
8
- "menuContent": "pf-v5-c-menu__content",
9
- "menuItem": "pf-v5-c-menu__item",
10
- "menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
11
- "menuListItem": "pf-v5-c-menu__list-item",
12
7
  "modifiers": {
13
- "flyout": "pf-m-flyout",
14
- "top": "pf-m-top",
15
- "left": "pf-m-left",
16
- "current": "pf-m-current",
17
- "drillUp": "pf-m-drill-up",
18
- "horizontal": "pf-m-horizontal",
19
- "tertiary": "pf-m-tertiary",
20
- "horizontalSubnav": "pf-m-horizontal-subnav",
21
- "light": "pf-m-light",
22
8
  "scrollable": "pf-m-scrollable",
23
9
  "overflowHidden": "pf-m-overflow-hidden",
24
- "expandable": "pf-m-expandable",
10
+ "fullWidth": "pf-m-full-width",
11
+ "fill": "pf-m-fill",
25
12
  "expanded": "pf-m-expanded",
26
- "drilldown": "pf-m-drilldown",
27
13
  "hover": "pf-m-hover",
28
- "start": "pf-m-start"
14
+ "current": "pf-m-current",
15
+ "flyout": "pf-m-flyout",
16
+ "horizontal": "pf-m-horizontal",
17
+ "subnav": "pf-m-subnav"
29
18
  },
30
19
  "nav": "pf-v5-c-nav",
31
20
  "navItem": "pf-v5-c-nav__item",
32
21
  "navLink": "pf-v5-c-nav__link",
33
22
  "navList": "pf-v5-c-nav__list",
23
+ "navNav": "pf-v5-c-nav__nav",
34
24
  "navScrollButton": "pf-v5-c-nav__scroll-button",
35
25
  "navSection": "pf-v5-c-nav__section",
36
26
  "navSectionTitle": "pf-v5-c-nav__section-title",
37
27
  "navSubnav": "pf-v5-c-nav__subnav",
38
28
  "navToggle": "pf-v5-c-nav__toggle",
39
- "navToggleIcon": "pf-v5-c-nav__toggle-icon",
40
- "themeDark": "pf-v5-theme-dark"
29
+ "navToggleIcon": "pf-v5-c-nav__toggle-icon"
41
30
  };
@@ -1,39 +1,28 @@
1
1
  import './nav.css';
2
2
  export default {
3
+ "buttonIcon": "pf-v5-c-button__icon",
3
4
  "dirRtl": "pf-v5-m-dir-rtl",
4
- "divider": "pf-v5-c-divider",
5
- "menu": "pf-v5-c-menu",
6
- "menuContent": "pf-v5-c-menu__content",
7
- "menuItem": "pf-v5-c-menu__item",
8
- "menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
9
- "menuListItem": "pf-v5-c-menu__list-item",
10
5
  "modifiers": {
11
- "flyout": "pf-m-flyout",
12
- "top": "pf-m-top",
13
- "left": "pf-m-left",
14
- "current": "pf-m-current",
15
- "drillUp": "pf-m-drill-up",
16
- "horizontal": "pf-m-horizontal",
17
- "tertiary": "pf-m-tertiary",
18
- "horizontalSubnav": "pf-m-horizontal-subnav",
19
- "light": "pf-m-light",
20
6
  "scrollable": "pf-m-scrollable",
21
7
  "overflowHidden": "pf-m-overflow-hidden",
22
- "expandable": "pf-m-expandable",
8
+ "fullWidth": "pf-m-full-width",
9
+ "fill": "pf-m-fill",
23
10
  "expanded": "pf-m-expanded",
24
- "drilldown": "pf-m-drilldown",
25
11
  "hover": "pf-m-hover",
26
- "start": "pf-m-start"
12
+ "current": "pf-m-current",
13
+ "flyout": "pf-m-flyout",
14
+ "horizontal": "pf-m-horizontal",
15
+ "subnav": "pf-m-subnav"
27
16
  },
28
17
  "nav": "pf-v5-c-nav",
29
18
  "navItem": "pf-v5-c-nav__item",
30
19
  "navLink": "pf-v5-c-nav__link",
31
20
  "navList": "pf-v5-c-nav__list",
21
+ "navNav": "pf-v5-c-nav__nav",
32
22
  "navScrollButton": "pf-v5-c-nav__scroll-button",
33
23
  "navSection": "pf-v5-c-nav__section",
34
24
  "navSectionTitle": "pf-v5-c-nav__section-title",
35
25
  "navSubnav": "pf-v5-c-nav__subnav",
36
26
  "navToggle": "pf-v5-c-nav__toggle",
37
- "navToggleIcon": "pf-v5-c-nav__toggle-icon",
38
- "themeDark": "pf-v5-theme-dark"
27
+ "navToggleIcon": "pf-v5-c-nav__toggle-icon"
39
28
  };
@@ -6,12 +6,12 @@
6
6
  appearance: none;
7
7
  }
8
8
 
9
+ :root,
9
10
  .pf-v5-c-number-input {
10
- --pf-v5-c-number-input__unit--c-input-group--MarginLeft: var(--pf-v5-global--spacer--sm);
11
- --pf-v5-c-number-input__icon--FontSize: var(--pf-v5-global--FontSize--xs);
12
- --pf-v5-c-number-input--c-form-control--width-base: calc(var(--pf-v5-global--spacer--sm) * 2 + var(--pf-v5-global--BorderWidth--sm) * 2);
13
- --pf-v5-c-number-input--c-form-control--width-icon: 0px;
14
- --pf-v5-c-number-input--m-status--c-form-control--width-icon: var(--pf-v5-global--spacer--xl);
11
+ --pf-v5-c-number-input__unit--c-input-group--MarginLeft: var(--pf-t--global--spacer--sm);
12
+ --pf-v5-c-number-input__icon--FontSize: var(--pf-t--global--font--size--xs);
13
+ --pf-v5-c-number-input--c-form-control--width-base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-t--global--border--width--box--default) * 2);
14
+ --pf-v5-c-number-input--c-form-control--width-icon: var(--pf-t--global--spacer--xl);
15
15
  --pf-v5-c-number-input--c-form-control--width-chars: 4;
16
16
  --pf-v5-c-number-input--c-form-control--Width:
17
17
  calc(
@@ -19,12 +19,12 @@
19
19
  var(--pf-v5-c-number-input--c-form-control--width-base) + var(--pf-v5-c-number-input--c-form-control--width-chars) * 1ch
20
20
  ) + var(--pf-v5-c-number-input--c-form-control--width-icon)
21
21
  );
22
+ }
23
+
24
+ .pf-v5-c-number-input {
22
25
  display: inline-flex;
23
26
  align-items: center;
24
27
  }
25
- .pf-v5-c-number-input.pf-m-status {
26
- --pf-v5-c-number-input--c-form-control--width-icon: var(--pf-v5-c-number-input--m-status--c-form-control--width-icon);
27
- }
28
28
  .pf-v5-c-number-input .pf-v5-c-form-control {
29
29
  width: var(--pf-v5-c-number-input--c-form-control--Width);
30
30
  }
@@ -2,9 +2,6 @@ import './number-input.css';
2
2
  declare const _default: {
3
3
  "formControl": "pf-v5-c-form-control",
4
4
  "inputGroup": "pf-v5-c-input-group",
5
- "modifiers": {
6
- "status": "pf-m-status"
7
- },
8
5
  "numberInput": "pf-v5-c-number-input",
9
6
  "numberInputIcon": "pf-v5-c-number-input__icon",
10
7
  "numberInputUnit": "pf-v5-c-number-input__unit"
@@ -4,9 +4,6 @@ require('./number-input.css');
4
4
  exports.default = {
5
5
  "formControl": "pf-v5-c-form-control",
6
6
  "inputGroup": "pf-v5-c-input-group",
7
- "modifiers": {
8
- "status": "pf-m-status"
9
- },
10
7
  "numberInput": "pf-v5-c-number-input",
11
8
  "numberInputIcon": "pf-v5-c-number-input__icon",
12
9
  "numberInputUnit": "pf-v5-c-number-input__unit"
@@ -2,9 +2,6 @@ import './number-input.css';
2
2
  export default {
3
3
  "formControl": "pf-v5-c-form-control",
4
4
  "inputGroup": "pf-v5-c-input-group",
5
- "modifiers": {
6
- "status": "pf-m-status"
7
- },
8
5
  "numberInput": "pf-v5-c-number-input",
9
6
  "numberInputIcon": "pf-v5-c-number-input__icon",
10
7
  "numberInputUnit": "pf-v5-c-number-input__unit"
@@ -1,9 +1,9 @@
1
- .pf-v5-c-sidebar {
2
- --pf-v5-c-sidebar--inset: var(--pf-v5-global--spacer--md);
3
- --pf-v5-c-sidebar--xl--inset: var(--pf-v5-global--spacer--lg);
4
- --pf-v5-c-sidebar--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
5
- --pf-v5-c-sidebar--BorderWidth--base: var(--pf-v5-global--BorderWidth--sm);
6
- --pf-v5-c-sidebar--BorderColor--base: var(--pf-v5-global--BorderColor--100);
1
+ :root,
2
+ :where(.pf-v5-c-sidebar) {
3
+ --pf-v5-c-sidebar--inset: var(--pf-t--global--spacer--md);
4
+ --pf-v5-c-sidebar--xl--inset: var(--pf-t--global--spacer--lg);
5
+ --pf-v5-c-sidebar--BorderWidth--base: var(--pf-t--global--border--width--regular);
6
+ --pf-v5-c-sidebar--BorderColor--base: var(--pf-t--global--border--color--default);
7
7
  --pf-v5-c-sidebar__panel--PaddingTop: 0;
8
8
  --pf-v5-c-sidebar__panel--PaddingRight: 0;
9
9
  --pf-v5-c-sidebar__panel--PaddingBottom: 0;
@@ -59,11 +59,16 @@
59
59
  --pf-v5-c-sidebar__panel--md--FlexBasis: 15.625rem;
60
60
  --pf-v5-c-sidebar__panel--m-split--FlexBasis: 15.625rem;
61
61
  --pf-v5-c-sidebar__panel--m-stack--FlexBasis: auto;
62
- --pf-v5-c-sidebar__panel--ZIndex: var(--pf-v5-global--ZIndex--xs);
63
- --pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
64
- --pf-v5-c-sidebar__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
62
+ --pf-v5-c-sidebar__panel--ZIndex: var(--pf-t--global--Zindex--xs);
63
+ --pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
64
+ --pf-v5-c-sidebar__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
65
+ --pf-v5-c-sidebar__content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
66
+ --pf-v5-c-sidebar__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
65
67
  --pf-v5-c-sidebar__panel--m-sticky--Top: 0;
66
68
  --pf-v5-c-sidebar__panel--m-sticky--Position: sticky;
69
+ }
70
+
71
+ .pf-v5-c-sidebar {
67
72
  height: 100%;
68
73
  }
69
74
  @media (min-width: 768px) {
@@ -157,6 +162,9 @@
157
162
  --pf-v5-c-sidebar__panel--Position: static;
158
163
  --pf-v5-c-sidebar__panel--Top: auto;
159
164
  }
165
+ .pf-v5-c-sidebar__panel.pf-m-secondary {
166
+ --pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-v5-c-sidebar__panel--m-secondary--BackgroundColor);
167
+ }
160
168
 
161
169
  .pf-v5-c-sidebar__content {
162
170
  flex-grow: 1;
@@ -176,6 +184,9 @@
176
184
  .pf-v5-c-sidebar__content.pf-m-no-background {
177
185
  --pf-v5-c-sidebar__content--BackgroundColor: transparent;
178
186
  }
187
+ .pf-v5-c-sidebar__content.pf-m-secondary {
188
+ --pf-v5-c-sidebar__content--BackgroundColor: var(--pf-v5-c-sidebar__content--m-secondary--BackgroundColor);
189
+ }
179
190
  .pf-v5-c-sidebar__content + .pf-v5-c-sidebar__panel {
180
191
  --pf-v5-c-sidebar__panel--Order: 1;
181
192
  }
@@ -9,6 +9,7 @@ declare const _default: {
9
9
  "padding": "pf-m-padding",
10
10
  "sticky": "pf-m-sticky",
11
11
  "static": "pf-m-static",
12
+ "secondary": "pf-m-secondary",
12
13
  "noBackground": "pf-m-no-background",
13
14
  "widthDefault": "pf-m-width-default",
14
15
  "width_25": "pf-m-width-25",
@@ -11,6 +11,7 @@ exports.default = {
11
11
  "padding": "pf-m-padding",
12
12
  "sticky": "pf-m-sticky",
13
13
  "static": "pf-m-static",
14
+ "secondary": "pf-m-secondary",
14
15
  "noBackground": "pf-m-no-background",
15
16
  "widthDefault": "pf-m-width-default",
16
17
  "width_25": "pf-m-width-25",
@@ -9,6 +9,7 @@ export default {
9
9
  "padding": "pf-m-padding",
10
10
  "sticky": "pf-m-sticky",
11
11
  "static": "pf-m-static",
12
+ "secondary": "pf-m-secondary",
12
13
  "noBackground": "pf-m-no-background",
13
14
  "widthDefault": "pf-m-width-default",
14
15
  "width_25": "pf-m-width-25",
@@ -7,7 +7,7 @@
7
7
  --pf-v5-c-simple-list__item-link--Color: var(--pf-t--global--text--color--subtle);
8
8
  --pf-v5-c-simple-list__item-link--FontSize: var(--pf-t--global--font--size--body--default);
9
9
  --pf-v5-c-simple-list__item-link--m-current--Color: var(--pf-t--global--text--color--regular);
10
- --pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--selected);
10
+ --pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
11
11
  --pf-v5-c-simple-list__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
12
12
  --pf-v5-c-simple-list__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
13
13
  --pf-v5-c-simple-list__item-link--MixBlendMode: var(--pf-t--global--background--color--action--plain--hover--blend);
@@ -1,45 +1,35 @@
1
- .pf-v5-c-tile {
2
- --pf-v5-c-tile--PaddingTop: var(--pf-v5-global--spacer--lg);
3
- --pf-v5-c-tile--PaddingRight: var(--pf-v5-global--spacer--lg);
4
- --pf-v5-c-tile--PaddingBottom: var(--pf-v5-global--spacer--lg);
5
- --pf-v5-c-tile--PaddingLeft: var(--pf-v5-global--spacer--lg);
6
- --pf-v5-c-tile--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
7
- --pf-v5-c-tile--Transition: none;
8
- --pf-v5-c-tile--TranslateY: 0;
9
- --pf-v5-c-tile--before--BorderColor: var(--pf-v5-global--BorderColor--100);
10
- --pf-v5-c-tile--before--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
11
- --pf-v5-c-tile--after--Height: var(--pf-v5-global--BorderWidth--lg);
1
+ :where(:root),
2
+ :where(.pf-v5-c-tile) {
3
+ --pf-v5-c-tile--PaddingTop: var(--pf-t--global--spacer--lg);
4
+ --pf-v5-c-tile--PaddingRight: var(--pf-t--global--spacer--lg);
5
+ --pf-v5-c-tile--PaddingBottom: var(--pf-t--global--spacer--lg);
6
+ --pf-v5-c-tile--PaddingLeft: var(--pf-t--global--spacer--lg);
7
+ --pf-v5-c-tile--BackgroundColor: var(--pf-t--global--background--color--primary--default);
8
+ --pf-v5-c-tile--BorderRadius: var(--pf-t--global--border--radius--medium);
9
+ --pf-v5-c-tile--before--BorderColor: var(--pf-t--global--border--color--default);
10
+ --pf-v5-c-tile--before--BorderWidth: var(--pf-t--global--border--width--box--default);
11
+ --pf-v5-c-tile--before--BorderRadius: var(--pf-v5-c-tile--BorderRadius);
12
12
  --pf-v5-c-tile--after--BackgroundColor: transparent;
13
- --pf-v5-c-tile--after--Transition: none;
14
- --pf-v5-c-tile--after--ScaleY: 1;
15
- --pf-v5-c-tile--after--TranslateY: 0;
16
- --pf-v5-c-tile__icon--MarginRight: var(--pf-v5-global--spacer--sm);
17
- --pf-v5-c-tile__icon--FontSize: var(--pf-v5-global--icon--FontSize--md);
18
- --pf-v5-c-tile__icon--Color: var(--pf-v5-global--Color--100);
19
- --pf-v5-c-tile__title--Color: var(--pf-v5-global--Color--100);
20
- --pf-v5-c-tile__body--Color: var(--pf-v5-global--Color--100);
21
- --pf-v5-c-tile__body--FontSize: var(--pf-v5-global--FontSize--xs);
22
- --pf-v5-c-tile--hover--after--BackgroundColor: var(--pf-v5-global--active-color--400);
23
- --pf-v5-c-tile--hover__icon--Color: var(--pf-v5-global--primary-color--100);
24
- --pf-v5-c-tile--hover__title--Color: var(--pf-v5-global--primary-color--100);
25
- --pf-v5-c-tile--focus--after--BackgroundColor: var(--pf-v5-global--active-color--400);
26
- --pf-v5-c-tile--focus__icon--Color: var(--pf-v5-global--primary-color--100);
27
- --pf-v5-c-tile--focus__title--Color: var(--pf-v5-global--primary-color--100);
28
- --pf-v5-c-tile--m-selected--TranslateY: calc(-1 * var(--pf-v5-c-tile--m-selected--after--ScaleY) * var(--pf-v5-c-tile--m-selected--after--Height));
29
- --pf-v5-c-tile--m-selected--Transition: var(--pf-v5-global--Transition);
30
- --pf-v5-c-tile--m-selected--after--Height: var(--pf-v5-global--BorderWidth--lg);
31
- --pf-v5-c-tile--m-selected--after--BackgroundColor: var(--pf-v5-global--active-color--100);
32
- --pf-v5-c-tile--m-selected--after--Transition: var(--pf-v5-global--Transition);
33
- --pf-v5-c-tile--m-selected--after--ScaleY: 2;
34
- --pf-v5-c-tile--m-selected__icon--Color: var(--pf-v5-global--primary-color--100);
35
- --pf-v5-c-tile--m-selected__title--Color: var(--pf-v5-global--primary-color--100);
36
- --pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--300);
37
- --pf-v5-c-tile--m-disabled__icon--Color: var(--pf-v5-global--disabled-color--100);
38
- --pf-v5-c-tile--m-disabled__title--Color: var(--pf-v5-global--disabled-color--100);
39
- --pf-v5-c-tile--m-disabled__body--Color: var(--pf-v5-global--disabled-color--100);
40
- --pf-v5-c-tile__header--m-stacked__icon--MarginBottom: var(--pf-v5-global--spacer--xs);
41
- --pf-v5-c-tile__header--m-stacked__icon--FontSize: var(--pf-v5-global--icon--FontSize--lg);
42
- --pf-v5-c-tile--m-display-lg__header--m-stacked__icon--FontSize: var(--pf-v5-global--icon--FontSize--xl);
13
+ --pf-v5-c-tile__icon--MarginRight: var(--pf-t--global--spacer--sm);
14
+ --pf-v5-c-tile__icon--FontSize: var(--pf-t--global--icon--size--body--default);
15
+ --pf-v5-c-tile__icon--Color: var(--pf-t--global--icon--color--regular);
16
+ --pf-v5-c-tile__title--Color: var(--pf-t--global--text--color--regular);
17
+ --pf-v5-c-tile__title--FontWeight: var(--pf-t--global--font--weight--body--bold);
18
+ --pf-v5-c-tile__body--Color: var(--pf-t--global--text--color--regular);
19
+ --pf-v5-c-tile__body--FontSize: var(--pf-t--global--font--size--body--sm);
20
+ --pf-v5-c-tile--hover--before--BorderColor: var(--pf-t--global--border--color--hover);
21
+ --pf-v5-c-tile--m-selected--before--BorderColor: var(--pf-t--global--border--color--clicked);
22
+ --pf-v5-c-tile--m-selected--before--BorderWidth: var(--pf-t--global--border--width--box--clicked);
23
+ --pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
24
+ --pf-v5-c-tile--m-disabled__title--Color: var(--pf-t--global--text--color--on-disabled);
25
+ --pf-v5-c-tile--m-disabled__icon--Color: var(--pf-t--global--icon--color--on-disabled);
26
+ --pf-v5-c-tile--m-disabled__body--Color: var(--pf-t--global--text--color--on-disabled);
27
+ --pf-v5-c-tile__header--m-stacked__icon--MarginBottom: var(--pf-t--global--spacer--md);
28
+ --pf-v5-c-tile__header--m-stacked__icon--FontSize: var(--pf-t--global--icon--size--xl);
29
+ --pf-v5-c-tile--m-display-lg__header--m-stacked__icon--FontSize: var(--pf-t--global--icon--size--2xl);
30
+ }
31
+
32
+ .pf-v5-c-tile {
43
33
  position: relative;
44
34
  display: inline-grid;
45
35
  grid-template-rows: min-content;
@@ -47,11 +37,9 @@
47
37
  padding-block-end: var(--pf-v5-c-tile--PaddingBottom);
48
38
  padding-inline-start: var(--pf-v5-c-tile--PaddingLeft);
49
39
  padding-inline-end: var(--pf-v5-c-tile--PaddingRight);
50
- text-align: center;
51
40
  cursor: pointer;
52
41
  background-color: var(--pf-v5-c-tile--BackgroundColor);
53
- transition: var(--pf-v5-c-tile--Transition);
54
- transform: translateY(var(--pf-v5-c-tile--TranslateY));
42
+ border-radius: var(--pf-v5-c-tile--BorderRadius);
55
43
  }
56
44
  .pf-v5-c-tile::before, .pf-v5-c-tile::after {
57
45
  position: absolute;
@@ -61,42 +49,21 @@
61
49
  .pf-v5-c-tile::before {
62
50
  inset: 0;
63
51
  border: var(--pf-v5-c-tile--before--BorderWidth) solid var(--pf-v5-c-tile--before--BorderColor);
64
- }
65
- .pf-v5-c-tile::after {
66
- inset-block-end: 0;
67
- inset-inline-start: 0;
68
- inset-inline-end: 0;
69
- height: var(--pf-v5-c-tile--after--Height);
70
- background-color: var(--pf-v5-c-tile--after--BackgroundColor);
71
- transition: var(--pf-v5-c-tile--after--Transition);
72
- transform: scaleY(var(--pf-v5-c-tile--after--ScaleY)) translateY(var(--pf-v5-c-tile--after--TranslateY));
52
+ border-radius: var(--pf-v5-c-tile--before--BorderRadius);
73
53
  }
74
54
  .pf-v5-c-tile:hover {
75
- --pf-v5-c-tile__title--Color: var(--pf-v5-c-tile--hover__title--Color);
76
- --pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--hover__icon--Color);
77
- --pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--hover--after--BackgroundColor);
55
+ --pf-v5-c-tile--before--BorderColor: var(--pf-v5-c-tile--hover--before--BorderColor);
78
56
  }
79
- .pf-v5-c-tile:focus {
80
- --pf-v5-c-tile__title--Color: var(--pf-v5-c-tile--focus__title--Color);
81
- --pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--focus__icon--Color);
82
- --pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--focus--after--BackgroundColor);
83
- }
84
- .pf-v5-c-tile:active, .pf-v5-c-tile.pf-m-selected {
85
- --pf-v5-c-tile__title--Color: var(--pf-v5-c-tile--m-selected__title--Color);
86
- --pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-selected__icon--Color);
87
- --pf-v5-c-tile--TranslateY: var(--pf-v5-c-tile--m-selected--TranslateY);
88
- --pf-v5-c-tile--Transition: var(--pf-v5-c-tile--m-selected--Transition);
89
- --pf-v5-c-tile--after--Height: var(--pf-v5-c-tile--m-selected--after--Height);
90
- --pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--m-selected--after--BackgroundColor);
91
- --pf-v5-c-tile--after--Transition: var(--pf-v5-c-tile--m-selected--after--Transition);
92
- --pf-v5-c-tile--after--ScaleY: var(--pf-v5-c-tile--m-selected--after--ScaleY);
57
+ .pf-v5-c-tile.pf-m-selected {
58
+ --pf-v5-c-tile--before--BorderColor: var(--pf-v5-c-tile--m-selected--before--BorderColor);
59
+ --pf-v5-c-tile--before--BorderWidth: var(--pf-v5-c-tile--m-selected--before--BorderWidth);
93
60
  }
94
61
  .pf-v5-c-tile.pf-m-disabled {
95
62
  --pf-v5-c-tile--BackgroundColor: var(--pf-v5-c-tile--m-disabled--BackgroundColor);
96
63
  --pf-v5-c-tile__title--Color: var(--pf-v5-c-tile--m-disabled__title--Color);
64
+ --pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-disabled__icon--Color);
97
65
  --pf-v5-c-tile__body--Color: var(--pf-v5-c-tile--m-disabled__body--Color);
98
66
  --pf-v5-c-tile--before--BorderWidth: 0;
99
- --pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-disabled__icon--Color);
100
67
  pointer-events: none;
101
68
  }
102
69
  .pf-v5-c-tile.pf-m-display-lg .pf-v5-c-tile__header.pf-m-stacked {
@@ -106,22 +73,21 @@
106
73
  .pf-v5-c-tile__header {
107
74
  display: flex;
108
75
  align-items: center;
109
- justify-content: center;
110
76
  }
111
77
  .pf-v5-c-tile__header.pf-m-stacked {
112
78
  --pf-v5-c-tile__icon--MarginRight: 0;
113
79
  --pf-v5-c-tile__icon--FontSize: var(--pf-v5-c-tile__header--m-stacked__icon--FontSize);
114
80
  flex-direction: column;
115
- justify-content: initial;
81
+ align-items: flex-start;
116
82
  }
117
83
  .pf-v5-c-tile__header.pf-m-stacked .pf-v5-c-tile__icon {
118
84
  display: flex;
119
85
  align-items: center;
120
- justify-content: center;
121
86
  margin-block-end: var(--pf-v5-c-tile__header--m-stacked__icon--MarginBottom);
122
87
  }
123
88
 
124
89
  .pf-v5-c-tile__title {
90
+ font-weight: var(--pf-v5-c-tile__title--FontWeight);
125
91
  color: var(--pf-v5-c-tile__title--Color);
126
92
  }
127
93
 
@@ -134,11 +100,4 @@
134
100
  margin-inline-end: var(--pf-v5-c-tile__icon--MarginRight);
135
101
  font-size: var(--pf-v5-c-tile__icon--FontSize);
136
102
  color: var(--pf-v5-c-tile__icon--Color);
137
- }
138
-
139
- :where(.pf-v5-theme-dark) .pf-v5-c-tile {
140
- --pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
141
- --pf-v5-c-tile--m-disabled__title--Color: var(--pf-v5-global--disabled-color--300);
142
- --pf-v5-c-tile--m-disabled__icon--Color: var(--pf-v5-global--disabled-color--300);
143
- --pf-v5-c-tile--m-disabled__body--Color: var(--pf-v5-global--disabled-color--300);
144
103
  }
@@ -6,7 +6,6 @@ declare const _default: {
6
6
  "displayLg": "pf-m-display-lg",
7
7
  "stacked": "pf-m-stacked"
8
8
  },
9
- "themeDark": "pf-v5-theme-dark",
10
9
  "tile": "pf-v5-c-tile",
11
10
  "tileBody": "pf-v5-c-tile__body",
12
11
  "tileHeader": "pf-v5-c-tile__header",
@@ -8,7 +8,6 @@ exports.default = {
8
8
  "displayLg": "pf-m-display-lg",
9
9
  "stacked": "pf-m-stacked"
10
10
  },
11
- "themeDark": "pf-v5-theme-dark",
12
11
  "tile": "pf-v5-c-tile",
13
12
  "tileBody": "pf-v5-c-tile__body",
14
13
  "tileHeader": "pf-v5-c-tile__header",
@@ -6,7 +6,6 @@ export default {
6
6
  "displayLg": "pf-m-display-lg",
7
7
  "stacked": "pf-m-stacked"
8
8
  },
9
- "themeDark": "pf-v5-theme-dark",
10
9
  "tile": "pf-v5-c-tile",
11
10
  "tileBody": "pf-v5-c-tile__body",
12
11
  "tileHeader": "pf-v5-c-tile__header",
@@ -1,16 +1,19 @@
1
- .pf-v5-c-timestamp {
2
- --pf-v5-c-timestamp--FontSize: var(--pf-v5-global--FontSize--sm);
3
- --pf-v5-c-timestamp--Color: var(--pf-v5-global--Color--200);
1
+ :root, .pf-v5-c-timestamp {
2
+ --pf-v5-c-timestamp--FontSize: var(--pf-t--global--font--size--body--sm);
3
+ --pf-v5-c-timestamp--Color: var(--pf-t--global--text--color--subtle);
4
4
  --pf-v5-c-timestamp--OutlineOffset: 0.1875rem;
5
5
  --pf-v5-c-timestamp--m-help-text--TextDecorationLine: underline;
6
6
  --pf-v5-c-timestamp--m-help-text--TextDecorationStyle: dashed;
7
- --pf-v5-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-v5-global--BorderWidth--sm);
7
+ --pf-v5-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-t--global--border--width--regular);
8
8
  --pf-v5-c-timestamp--m-help-text--TextUnderlineOffset: 0.25rem;
9
- --pf-v5-c-timestamp--m-help-text--TextDecorationColor: var(--pf-v5-global--BorderColor--200);
10
- --pf-v5-c-timestamp--m-help-text--hover--Color: var(--pf-v5-global--Color--100);
11
- --pf-v5-c-timestamp--m-help-text--focus--Color: var(--pf-v5-global--Color--100);
12
- --pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-v5-global--Color--100);
13
- --pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-v5-global--Color--100);
9
+ --pf-v5-c-timestamp--m-help-text--TextDecorationColor: var(--pf-t--global--border--color--default);
10
+ --pf-v5-c-timestamp--m-help-text--hover--Color: var(--pf-t--global--text--color--regular);
11
+ --pf-v5-c-timestamp--m-help-text--focus--Color: var(--pf-t--global--text--color--regular);
12
+ --pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-t--global--text--color--regular);
13
+ --pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
14
+ }
15
+
16
+ .pf-v5-c-timestamp {
14
17
  display: inline-block;
15
18
  font-size: var(--pf-v5-c-timestamp--FontSize);
16
19
  color: var(--pf-v5-c-timestamp--Color);