@patternfly/react-styles 5.1.1-prerelease.1 → 5.1.1-prerelease.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/css/components/Accordion/accordion.css +3 -0
  3. package/css/components/Accordion/accordion.d.ts +3 -1
  4. package/css/components/Accordion/accordion.js +3 -1
  5. package/css/components/Accordion/accordion.mjs +3 -1
  6. package/css/components/Alert/alert.css +3 -0
  7. package/css/components/Alert/alert.d.ts +3 -1
  8. package/css/components/Alert/alert.js +3 -1
  9. package/css/components/Alert/alert.mjs +3 -1
  10. package/css/components/Breadcrumb/breadcrumb.css +3 -0
  11. package/css/components/Breadcrumb/breadcrumb.d.ts +3 -1
  12. package/css/components/Breadcrumb/breadcrumb.js +3 -1
  13. package/css/components/Breadcrumb/breadcrumb.mjs +3 -1
  14. package/css/components/CalendarMonth/calendar-month.css +4 -0
  15. package/css/components/CalendarMonth/calendar-month.d.ts +3 -1
  16. package/css/components/CalendarMonth/calendar-month.js +3 -1
  17. package/css/components/CalendarMonth/calendar-month.mjs +3 -1
  18. package/css/components/ClipboardCopy/clipboard-copy.css +3 -0
  19. package/css/components/ClipboardCopy/clipboard-copy.d.ts +3 -1
  20. package/css/components/ClipboardCopy/clipboard-copy.js +3 -1
  21. package/css/components/ClipboardCopy/clipboard-copy.mjs +3 -1
  22. package/css/components/DualListSelector/dual-list-selector.css +9 -1
  23. package/css/components/DualListSelector/dual-list-selector.d.ts +4 -1
  24. package/css/components/DualListSelector/dual-list-selector.js +4 -1
  25. package/css/components/DualListSelector/dual-list-selector.mjs +4 -1
  26. package/css/components/ExpandableSection/expandable-section.css +4 -0
  27. package/css/components/ExpandableSection/expandable-section.d.ts +3 -1
  28. package/css/components/ExpandableSection/expandable-section.js +3 -1
  29. package/css/components/ExpandableSection/expandable-section.mjs +3 -1
  30. package/css/components/Menu/menu.css +11 -0
  31. package/css/components/Menu/menu.d.ts +3 -1
  32. package/css/components/Menu/menu.js +3 -1
  33. package/css/components/Menu/menu.mjs +3 -1
  34. package/css/components/Nav/nav.css +20 -0
  35. package/css/components/Nav/nav.d.ts +3 -1
  36. package/css/components/Nav/nav.js +3 -1
  37. package/css/components/Nav/nav.mjs +3 -1
  38. package/css/components/NotificationDrawer/notification-drawer.css +4 -0
  39. package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -1
  40. package/css/components/NotificationDrawer/notification-drawer.js +3 -1
  41. package/css/components/NotificationDrawer/notification-drawer.mjs +3 -1
  42. package/css/components/Page/page.css +4 -0
  43. package/css/components/Page/page.d.ts +3 -1
  44. package/css/components/Page/page.js +3 -1
  45. package/css/components/Page/page.mjs +3 -1
  46. package/css/components/Pagination/pagination.css +4 -0
  47. package/css/components/Pagination/pagination.d.ts +3 -1
  48. package/css/components/Pagination/pagination.js +3 -1
  49. package/css/components/Pagination/pagination.mjs +3 -1
  50. package/css/components/Slider/slider.css +29 -6
  51. package/css/components/Slider/slider.d.ts +3 -1
  52. package/css/components/Slider/slider.js +3 -1
  53. package/css/components/Slider/slider.mjs +3 -1
  54. package/css/components/Switch/switch.css +4 -0
  55. package/css/components/Switch/switch.d.ts +3 -1
  56. package/css/components/Switch/switch.js +3 -1
  57. package/css/components/Switch/switch.mjs +3 -1
  58. package/css/components/Wizard/wizard.css +10 -1
  59. package/css/components/Wizard/wizard.d.ts +3 -1
  60. package/css/components/Wizard/wizard.js +3 -1
  61. package/css/components/Wizard/wizard.mjs +3 -1
  62. package/css/docs/components/DragDrop/examples/DragDrop.css +2 -2
  63. package/css/docs/components/Nav/examples/Navigation.css +3 -26
  64. package/css/docs/components/Nav/examples/Navigation.d.ts +1 -1
  65. package/css/docs/components/Nav/examples/Navigation.js +1 -1
  66. package/css/docs/components/Nav/examples/Navigation.mjs +1 -1
  67. package/package.json +3 -3
@@ -267,6 +267,10 @@
267
267
  color: var(--pf-v5-c-notification-drawer__group-toggle-icon--Color);
268
268
  transition: var(--pf-v5-c-notification-drawer__group-toggle-icon--Transition);
269
269
  }
270
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-notification-drawer__group-toggle-icon {
271
+ scale: -1 1;
272
+ }
273
+
270
274
  .pf-v5-c-notification-drawer__group.pf-m-expanded .pf-v5-c-notification-drawer__group-toggle-icon {
271
275
  transform: rotate(var(--pf-v5-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
272
276
  }
@@ -1,5 +1,6 @@
1
1
  import './notification-drawer.css';
2
2
  declare const _default: {
3
+ "dirRtl": "pf-v5-m-dir-rtl",
3
4
  "modifiers": {
4
5
  "read": "pf-m-read",
5
6
  "info": "pf-m-info",
@@ -30,6 +31,7 @@ declare const _default: {
30
31
  "notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
31
32
  "notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
32
33
  "notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp",
33
- "themeDark": "pf-v5-theme-dark"
34
+ "themeDark": "pf-v5-theme-dark",
35
+ "wsDirRtl": "ws-dir-rtl"
34
36
  };
35
37
  export default _default;
@@ -2,6 +2,7 @@
2
2
  exports.__esModule = true;
3
3
  require('./notification-drawer.css');
4
4
  exports.default = {
5
+ "dirRtl": "pf-v5-m-dir-rtl",
5
6
  "modifiers": {
6
7
  "read": "pf-m-read",
7
8
  "info": "pf-m-info",
@@ -32,5 +33,6 @@ exports.default = {
32
33
  "notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
33
34
  "notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
34
35
  "notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp",
35
- "themeDark": "pf-v5-theme-dark"
36
+ "themeDark": "pf-v5-theme-dark",
37
+ "wsDirRtl": "ws-dir-rtl"
36
38
  };
@@ -1,5 +1,6 @@
1
1
  import './notification-drawer.css';
2
2
  export default {
3
+ "dirRtl": "pf-v5-m-dir-rtl",
3
4
  "modifiers": {
4
5
  "read": "pf-m-read",
5
6
  "info": "pf-m-info",
@@ -30,5 +31,6 @@ export default {
30
31
  "notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
31
32
  "notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
32
33
  "notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp",
33
- "themeDark": "pf-v5-theme-dark"
34
+ "themeDark": "pf-v5-theme-dark",
35
+ "wsDirRtl": "ws-dir-rtl"
34
36
  };
@@ -399,6 +399,10 @@
399
399
  transition: var(--pf-v5-c-page__sidebar--Transition);
400
400
  transform: translateX(var(--pf-v5-c-page__sidebar--TranslateX)) translateZ(var(--pf-v5-c-page__sidebar--TranslateZ));
401
401
  }
402
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-page__sidebar {
403
+ transform: translateX(calc(var(--pf-v5-c-page__sidebar--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateZ(var(--pf-v5-c-page__sidebar--TranslateZ));
404
+ }
405
+
402
406
  .pf-v5-c-page__sidebar.pf-m-expanded {
403
407
  --pf-v5-c-page__sidebar--TranslateX: var(--pf-v5-c-page__sidebar--m-expanded--TranslateX);
404
408
  box-shadow: var(--pf-v5-c-page__sidebar--BoxShadow);
@@ -4,6 +4,7 @@ declare const _default: {
4
4
  "brand": "pf-v5-c-brand",
5
5
  "button": "pf-v5-c-button",
6
6
  "contextSelector": "pf-v5-c-context-selector",
7
+ "dirRtl": "pf-v5-m-dir-rtl",
7
8
  "drawer": "pf-v5-c-drawer",
8
9
  "masthead": "pf-v5-c-masthead",
9
10
  "modifiers": {
@@ -88,6 +89,7 @@ declare const _default: {
88
89
  "pageMainWizard": "pf-v5-c-page__main-wizard",
89
90
  "pageSidebar": "pf-v5-c-page__sidebar",
90
91
  "pageSidebarBody": "pf-v5-c-page__sidebar-body",
91
- "themeDark": "pf-v5-theme-dark"
92
+ "themeDark": "pf-v5-theme-dark",
93
+ "wsDirRtl": "ws-dir-rtl"
92
94
  };
93
95
  export default _default;
@@ -6,6 +6,7 @@ exports.default = {
6
6
  "brand": "pf-v5-c-brand",
7
7
  "button": "pf-v5-c-button",
8
8
  "contextSelector": "pf-v5-c-context-selector",
9
+ "dirRtl": "pf-v5-m-dir-rtl",
9
10
  "drawer": "pf-v5-c-drawer",
10
11
  "masthead": "pf-v5-c-masthead",
11
12
  "modifiers": {
@@ -90,5 +91,6 @@ exports.default = {
90
91
  "pageMainWizard": "pf-v5-c-page__main-wizard",
91
92
  "pageSidebar": "pf-v5-c-page__sidebar",
92
93
  "pageSidebarBody": "pf-v5-c-page__sidebar-body",
93
- "themeDark": "pf-v5-theme-dark"
94
+ "themeDark": "pf-v5-theme-dark",
95
+ "wsDirRtl": "ws-dir-rtl"
94
96
  };
@@ -4,6 +4,7 @@ export default {
4
4
  "brand": "pf-v5-c-brand",
5
5
  "button": "pf-v5-c-button",
6
6
  "contextSelector": "pf-v5-c-context-selector",
7
+ "dirRtl": "pf-v5-m-dir-rtl",
7
8
  "drawer": "pf-v5-c-drawer",
8
9
  "masthead": "pf-v5-c-masthead",
9
10
  "modifiers": {
@@ -88,5 +89,6 @@ export default {
88
89
  "pageMainWizard": "pf-v5-c-page__main-wizard",
89
90
  "pageSidebar": "pf-v5-c-page__sidebar",
90
91
  "pageSidebarBody": "pf-v5-c-page__sidebar-body",
91
- "themeDark": "pf-v5-theme-dark"
92
+ "themeDark": "pf-v5-theme-dark",
93
+ "wsDirRtl": "ws-dir-rtl"
92
94
  };
@@ -196,6 +196,10 @@
196
196
  justify-content: flex-end;
197
197
  }
198
198
 
199
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-pagination__nav-control {
200
+ scale: -1 1;
201
+ }
202
+
199
203
  .pf-v5-c-pagination__nav-control .pf-v5-c-button {
200
204
  padding-inline-start: var(--pf-v5-c-pagination__nav-control--c-button--PaddingLeft);
201
205
  padding-inline-end: var(--pf-v5-c-pagination__nav-control--c-button--PaddingRight);
@@ -1,6 +1,7 @@
1
1
  import './pagination.css';
2
2
  declare const _default: {
3
3
  "button": "pf-v5-c-button",
4
+ "dirRtl": "pf-v5-m-dir-rtl",
4
5
  "formControl": "pf-v5-c-form-control",
5
6
  "menuToggle": "pf-v5-c-menu-toggle",
6
7
  "modifiers": {
@@ -65,6 +66,7 @@ declare const _default: {
65
66
  "paginationNavControl": "pf-v5-c-pagination__nav-control",
66
67
  "paginationNavPageSelect": "pf-v5-c-pagination__nav-page-select",
67
68
  "paginationTotalItems": "pf-v5-c-pagination__total-items",
68
- "themeDark": "pf-v5-theme-dark"
69
+ "themeDark": "pf-v5-theme-dark",
70
+ "wsDirRtl": "ws-dir-rtl"
69
71
  };
70
72
  export default _default;
@@ -3,6 +3,7 @@ exports.__esModule = true;
3
3
  require('./pagination.css');
4
4
  exports.default = {
5
5
  "button": "pf-v5-c-button",
6
+ "dirRtl": "pf-v5-m-dir-rtl",
6
7
  "formControl": "pf-v5-c-form-control",
7
8
  "menuToggle": "pf-v5-c-menu-toggle",
8
9
  "modifiers": {
@@ -67,5 +68,6 @@ exports.default = {
67
68
  "paginationNavControl": "pf-v5-c-pagination__nav-control",
68
69
  "paginationNavPageSelect": "pf-v5-c-pagination__nav-page-select",
69
70
  "paginationTotalItems": "pf-v5-c-pagination__total-items",
70
- "themeDark": "pf-v5-theme-dark"
71
+ "themeDark": "pf-v5-theme-dark",
72
+ "wsDirRtl": "ws-dir-rtl"
71
73
  };
@@ -1,6 +1,7 @@
1
1
  import './pagination.css';
2
2
  export default {
3
3
  "button": "pf-v5-c-button",
4
+ "dirRtl": "pf-v5-m-dir-rtl",
4
5
  "formControl": "pf-v5-c-form-control",
5
6
  "menuToggle": "pf-v5-c-menu-toggle",
6
7
  "modifiers": {
@@ -65,5 +66,6 @@ export default {
65
66
  "paginationNavControl": "pf-v5-c-pagination__nav-control",
66
67
  "paginationNavPageSelect": "pf-v5-c-pagination__nav-page-select",
67
68
  "paginationTotalItems": "pf-v5-c-pagination__total-items",
68
- "themeDark": "pf-v5-theme-dark"
69
+ "themeDark": "pf-v5-theme-dark",
70
+ "wsDirRtl": "ws-dir-rtl"
69
71
  };
@@ -7,6 +7,7 @@
7
7
  --pf-v5-c-slider__rail-track--before--fill--BackgroundColor: var(--pf-v5-global--active-color--300);
8
8
  --pf-v5-c-slider__rail-track--before--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
9
9
  --pf-v5-c-slider__rail-track--before--fill--BackgroundColor--gradient-stop: var(--pf-v5-c-slider--value);
10
+ --pf-v5-c-slider__rail-track--before--fill--direction: right;
10
11
  --pf-v5-c-slider__steps--FontSize: var(--pf-v5-global--FontSize--sm);
11
12
  --pf-v5-c-slider__steps--Height: var(--pf-v5-c-slider__steps--FontSize);
12
13
  --pf-v5-c-slider__step-tick--Top: var(--pf-v5-global--spacer--md);
@@ -58,6 +59,10 @@
58
59
  --pf-v5-c-slider--m-disabled__thumb--BackgroundColor: var(--pf-v5-global--palette--black-700);
59
60
  display: flex;
60
61
  }
62
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-slider {
63
+ --pf-v5-c-slider__rail-track--before--fill--direction: left;
64
+ }
65
+
61
66
  .pf-v5-c-slider.pf-m-disabled {
62
67
  --pf-v5-c-slider__rail-track--before--fill--BackgroundColor: var(--pf-v5-c-slider--m-disabled__rail-track--before--fill--BackgroundColor);
63
68
  --pf-v5-c-slider__step--m-active__slider-tick--BackgroundColor: var(--pf-v5-c-slider--m-disabled__step--m-active__slider-tick--BackgroundColor);
@@ -89,7 +94,7 @@
89
94
  position: absolute;
90
95
  inset: 0;
91
96
  content: "";
92
- background: linear-gradient(to right, var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor), var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor) var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor--gradient-stop), var(--pf-v5-c-slider__rail-track--before--base--BackgroundColor) var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor--gradient-stop));
97
+ background: linear-gradient(to var(--pf-v5-c-slider__rail-track--before--fill--direction), var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor), var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor) var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor--gradient-stop), var(--pf-v5-c-slider__rail-track--before--base--BackgroundColor) var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor--gradient-stop));
93
98
  border-radius: var(--pf-v5-c-slider__rail-track--before--BorderRadius);
94
99
  }
95
100
 
@@ -118,6 +123,7 @@
118
123
  }
119
124
 
120
125
  .pf-v5-c-slider__step-tick {
126
+ transform: translateX(var(--pf-v5-c-slider__step-tick--TranslateX));
121
127
  position: absolute;
122
128
  inset-block-start: var(--pf-v5-c-slider__step-tick--Top);
123
129
  inset-inline-start: 0;
@@ -125,17 +131,23 @@
125
131
  height: var(--pf-v5-c-slider__step-tick--Height);
126
132
  background-color: var(--pf-v5-c-slider__step-tick--BackgroundColor);
127
133
  border-radius: var(--pf-v5-c-slider__step-tick--BorderRadius);
128
- transform: translateX(var(--pf-v5-c-slider__step-tick--TranslateX));
134
+ }
135
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-slider__step-tick {
136
+ transform: translateX(calc(var(--pf-v5-c-slider__step-tick--TranslateX) * var(--pf-v5-global--inverse--multiplier)));
129
137
  }
130
138
 
131
139
  .pf-v5-c-slider__step-label {
140
+ transform: translateX(var(--pf-v5-c-slider__step-label--TranslateX));
132
141
  position: absolute;
133
142
  inset-block-start: var(--pf-v5-c-slider__step-label--Top);
134
143
  word-break: normal;
135
- transform: translateX(var(--pf-v5-c-slider__step-label--TranslateX));
144
+ }
145
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-slider__step-label {
146
+ transform: translateX(calc(var(--pf-v5-c-slider__step-label--TranslateX) * var(--pf-v5-global--inverse--multiplier)));
136
147
  }
137
148
 
138
149
  .pf-v5-c-slider__thumb {
150
+ transform: translate(var(--pf-v5-c-slider__thumb--TranslateX), var(--pf-v5-c-slider__thumb--TranslateY));
139
151
  position: absolute;
140
152
  inset-block-start: var(--pf-v5-c-slider__thumb--Top);
141
153
  inset-inline-start: var(--pf-v5-c-slider__thumb--Left);
@@ -145,9 +157,13 @@
145
157
  background-color: var(--pf-v5-c-slider__thumb--BackgroundColor);
146
158
  border-radius: var(--pf-v5-c-slider__thumb--BorderRadius);
147
159
  box-shadow: var(--pf-v5-c-slider__thumb--BoxShadow);
148
- transform: translate(var(--pf-v5-c-slider__thumb--TranslateX), var(--pf-v5-c-slider__thumb--TranslateY));
149
160
  }
161
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-slider__thumb {
162
+ transform: translate(calc(var(--pf-v5-c-slider__thumb--TranslateX) * var(--pf-v5-global--inverse--multiplier)), var(--pf-v5-c-slider__thumb--TranslateY));
163
+ }
164
+
150
165
  .pf-v5-c-slider__thumb::before {
166
+ transform: translate(var(--pf-v5-c-slider__thumb--before--TranslateX), var(--pf-v5-c-slider__thumb--before--TranslateY));
151
167
  position: absolute;
152
168
  inset-block-start: 50%;
153
169
  inset-inline-start: 50%;
@@ -155,8 +171,11 @@
155
171
  height: var(--pf-v5-c-slider__thumb--before--Height);
156
172
  content: "";
157
173
  border-radius: var(--pf-v5-c-slider__thumb--before--BorderRadius);
158
- transform: translate(var(--pf-v5-c-slider__thumb--before--TranslateX), var(--pf-v5-c-slider__thumb--before--TranslateY));
159
174
  }
175
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-slider__thumb::before {
176
+ transform: translate(calc(var(--pf-v5-c-slider__thumb--before--TranslateX) * var(--pf-v5-global--inverse--multiplier)), var(--pf-v5-c-slider__thumb--before--TranslateY));
177
+ }
178
+
160
179
  .pf-v5-c-slider__thumb:hover {
161
180
  --pf-v5-c-slider__thumb--BoxShadow: var(--pf-v5-c-slider__thumb--hover--BoxShadow);
162
181
  }
@@ -172,13 +191,17 @@
172
191
  margin-inline-start: var(--pf-v5-c-slider__value--MarginLeft);
173
192
  }
174
193
  .pf-v5-c-slider__value.pf-m-floating {
194
+ transform: translate(var(--pf-v5-c-slider__value--m-floating--TranslateX), var(--pf-v5-c-slider__value--m-floating--TranslateY));
175
195
  --pf-v5-c-slider__value--MarginLeft: 0;
176
196
  position: absolute;
177
197
  inset-block-start: 0;
178
198
  inset-inline-start: var(--pf-v5-c-slider__value--m-floating--Left);
179
199
  z-index: var(--pf-v5-c-slider__value--m-floating--ZIndex);
180
- transform: translate(var(--pf-v5-c-slider__value--m-floating--TranslateX), var(--pf-v5-c-slider__value--m-floating--TranslateY));
181
200
  }
201
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-slider__value.pf-m-floating {
202
+ transform: translate(calc(var(--pf-v5-c-slider__value--m-floating--TranslateX) * var(--pf-v5-global--inverse--multiplier)), var(--pf-v5-c-slider__value--m-floating--TranslateY));
203
+ }
204
+
182
205
  .pf-v5-c-slider__value .pf-v5-c-form-control {
183
206
  width: var(--pf-v5-c-slider__value--c-form-control--Width);
184
207
  }
@@ -1,5 +1,6 @@
1
1
  import './slider.css';
2
2
  declare const _default: {
3
+ "dirRtl": "pf-v5-m-dir-rtl",
3
4
  "formControl": "pf-v5-c-form-control",
4
5
  "modifiers": {
5
6
  "disabled": "pf-m-disabled",
@@ -16,6 +17,7 @@ declare const _default: {
16
17
  "sliderStepTick": "pf-v5-c-slider__step-tick",
17
18
  "sliderSteps": "pf-v5-c-slider__steps",
18
19
  "sliderThumb": "pf-v5-c-slider__thumb",
19
- "sliderValue": "pf-v5-c-slider__value"
20
+ "sliderValue": "pf-v5-c-slider__value",
21
+ "wsDirRtl": "ws-dir-rtl"
20
22
  };
21
23
  export default _default;
@@ -2,6 +2,7 @@
2
2
  exports.__esModule = true;
3
3
  require('./slider.css');
4
4
  exports.default = {
5
+ "dirRtl": "pf-v5-m-dir-rtl",
5
6
  "formControl": "pf-v5-c-form-control",
6
7
  "modifiers": {
7
8
  "disabled": "pf-m-disabled",
@@ -18,5 +19,6 @@ exports.default = {
18
19
  "sliderStepTick": "pf-v5-c-slider__step-tick",
19
20
  "sliderSteps": "pf-v5-c-slider__steps",
20
21
  "sliderThumb": "pf-v5-c-slider__thumb",
21
- "sliderValue": "pf-v5-c-slider__value"
22
+ "sliderValue": "pf-v5-c-slider__value",
23
+ "wsDirRtl": "ws-dir-rtl"
22
24
  };
@@ -1,5 +1,6 @@
1
1
  import './slider.css';
2
2
  export default {
3
+ "dirRtl": "pf-v5-m-dir-rtl",
3
4
  "formControl": "pf-v5-c-form-control",
4
5
  "modifiers": {
5
6
  "disabled": "pf-m-disabled",
@@ -16,5 +17,6 @@ export default {
16
17
  "sliderStepTick": "pf-v5-c-slider__step-tick",
17
18
  "sliderSteps": "pf-v5-c-slider__steps",
18
19
  "sliderThumb": "pf-v5-c-slider__thumb",
19
- "sliderValue": "pf-v5-c-slider__value"
20
+ "sliderValue": "pf-v5-c-slider__value",
21
+ "wsDirRtl": "ws-dir-rtl"
20
22
  };
@@ -69,6 +69,10 @@
69
69
  .pf-v5-c-switch__input:checked ~ .pf-v5-c-switch__toggle::before {
70
70
  transform: translateX(var(--pf-v5-c-switch__input--checked__toggle--before--TranslateX));
71
71
  }
72
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-switch__input:checked ~ .pf-v5-c-switch__toggle::before {
73
+ transform: translateX(calc(var(--pf-v5-c-switch__input--checked__toggle--before--TranslateX) * var(--pf-v5-global--inverse--multiplier)));
74
+ }
75
+
72
76
  .pf-v5-c-switch__input:checked ~ .pf-m-off {
73
77
  display: none;
74
78
  }
@@ -1,5 +1,6 @@
1
1
  import './switch.css';
2
2
  declare const _default: {
3
+ "dirRtl": "pf-v5-m-dir-rtl",
3
4
  "modifiers": {
4
5
  "reverse": "pf-m-reverse",
5
6
  "off": "pf-m-off",
@@ -10,6 +11,7 @@ declare const _default: {
10
11
  "switchLabel": "pf-v5-c-switch__label",
11
12
  "switchToggle": "pf-v5-c-switch__toggle",
12
13
  "switchToggleIcon": "pf-v5-c-switch__toggle-icon",
13
- "themeDark": "pf-v5-theme-dark"
14
+ "themeDark": "pf-v5-theme-dark",
15
+ "wsDirRtl": "ws-dir-rtl"
14
16
  };
15
17
  export default _default;
@@ -2,6 +2,7 @@
2
2
  exports.__esModule = true;
3
3
  require('./switch.css');
4
4
  exports.default = {
5
+ "dirRtl": "pf-v5-m-dir-rtl",
5
6
  "modifiers": {
6
7
  "reverse": "pf-m-reverse",
7
8
  "off": "pf-m-off",
@@ -12,5 +13,6 @@ exports.default = {
12
13
  "switchLabel": "pf-v5-c-switch__label",
13
14
  "switchToggle": "pf-v5-c-switch__toggle",
14
15
  "switchToggleIcon": "pf-v5-c-switch__toggle-icon",
15
- "themeDark": "pf-v5-theme-dark"
16
+ "themeDark": "pf-v5-theme-dark",
17
+ "wsDirRtl": "ws-dir-rtl"
16
18
  };
@@ -1,5 +1,6 @@
1
1
  import './switch.css';
2
2
  export default {
3
+ "dirRtl": "pf-v5-m-dir-rtl",
3
4
  "modifiers": {
4
5
  "reverse": "pf-m-reverse",
5
6
  "off": "pf-m-off",
@@ -10,5 +11,6 @@ export default {
10
11
  "switchLabel": "pf-v5-c-switch__label",
11
12
  "switchToggle": "pf-v5-c-switch__toggle",
12
13
  "switchToggleIcon": "pf-v5-c-switch__toggle-icon",
13
- "themeDark": "pf-v5-theme-dark"
14
+ "themeDark": "pf-v5-theme-dark",
15
+ "wsDirRtl": "ws-dir-rtl"
14
16
  };
@@ -303,6 +303,9 @@
303
303
  margin-inline-start: var(--pf-v5-c-wizard__toggle-separator--MarginLeft);
304
304
  color: var(--pf-v5-c-wizard__toggle-separator--Color);
305
305
  }
306
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-wizard__toggle-separator {
307
+ scale: -1 1;
308
+ }
306
309
 
307
310
  .pf-v5-c-wizard__toggle-icon {
308
311
  line-height: var(--pf-v5-c-wizard__toggle-icon--LineHeight);
@@ -407,6 +410,7 @@
407
410
  border: 0;
408
411
  }
409
412
  .pf-v5-c-wizard__toggle-num, .pf-v5-c-wizard__nav-link::before {
413
+ transform: translateX(var(--pf-v5-c-wizard__nav-link--before--TranslateX));
410
414
  position: absolute;
411
415
  inset-block-start: var(--pf-v5-c-wizard__nav-link--before--Top);
412
416
  inset-inline-start: 0;
@@ -420,7 +424,9 @@
420
424
  color: var(--pf-v5-c-wizard__nav-link--before--Color);
421
425
  background-color: var(--pf-v5-c-wizard__nav-link--before--BackgroundColor);
422
426
  border-radius: var(--pf-v5-c-wizard__nav-link--before--BorderRadius);
423
- transform: translateX(var(--pf-v5-c-wizard__nav-link--before--TranslateX));
427
+ }
428
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-wizard__toggle-num, .pf-v5-c-wizard__nav-link::before {
429
+ transform: translateX(calc(var(--pf-v5-c-wizard__nav-link--before--TranslateX) * var(--pf-v5-global--inverse--multiplier)));
424
430
  }
425
431
 
426
432
  .pf-v5-c-wizard__nav-link::before {
@@ -469,6 +475,9 @@
469
475
  transition: var(--pf-v5-c-wizard__nav-link-toggle-icon--Transition);
470
476
  transform: rotate(var(--pf-v5-c-wizard__nav-link-toggle-icon--Rotate));
471
477
  }
478
+ :where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-wizard__nav-link-toggle-icon {
479
+ scale: -1 1;
480
+ }
472
481
 
473
482
  .pf-v5-c-wizard__main {
474
483
  z-index: var(--pf-v5-c-wizard__main--ZIndex);
@@ -1,6 +1,7 @@
1
1
  import './wizard.css';
2
2
  declare const _default: {
3
3
  "button": "pf-v5-c-button",
4
+ "dirRtl": "pf-v5-m-dir-rtl",
4
5
  "drawer": "pf-v5-c-drawer",
5
6
  "modalBox": "pf-v5-c-modal-box",
6
7
  "modifiers": {
@@ -37,6 +38,7 @@ declare const _default: {
37
38
  "wizardToggleList": "pf-v5-c-wizard__toggle-list",
38
39
  "wizardToggleListItem": "pf-v5-c-wizard__toggle-list-item",
39
40
  "wizardToggleNum": "pf-v5-c-wizard__toggle-num",
40
- "wizardToggleSeparator": "pf-v5-c-wizard__toggle-separator"
41
+ "wizardToggleSeparator": "pf-v5-c-wizard__toggle-separator",
42
+ "wsDirRtl": "ws-dir-rtl"
41
43
  };
42
44
  export default _default;
@@ -3,6 +3,7 @@ exports.__esModule = true;
3
3
  require('./wizard.css');
4
4
  exports.default = {
5
5
  "button": "pf-v5-c-button",
6
+ "dirRtl": "pf-v5-m-dir-rtl",
6
7
  "drawer": "pf-v5-c-drawer",
7
8
  "modalBox": "pf-v5-c-modal-box",
8
9
  "modifiers": {
@@ -39,5 +40,6 @@ exports.default = {
39
40
  "wizardToggleList": "pf-v5-c-wizard__toggle-list",
40
41
  "wizardToggleListItem": "pf-v5-c-wizard__toggle-list-item",
41
42
  "wizardToggleNum": "pf-v5-c-wizard__toggle-num",
42
- "wizardToggleSeparator": "pf-v5-c-wizard__toggle-separator"
43
+ "wizardToggleSeparator": "pf-v5-c-wizard__toggle-separator",
44
+ "wsDirRtl": "ws-dir-rtl"
43
45
  };
@@ -1,6 +1,7 @@
1
1
  import './wizard.css';
2
2
  export default {
3
3
  "button": "pf-v5-c-button",
4
+ "dirRtl": "pf-v5-m-dir-rtl",
4
5
  "drawer": "pf-v5-c-drawer",
5
6
  "modalBox": "pf-v5-c-modal-box",
6
7
  "modifiers": {
@@ -37,5 +38,6 @@ export default {
37
38
  "wizardToggleList": "pf-v5-c-wizard__toggle-list",
38
39
  "wizardToggleListItem": "pf-v5-c-wizard__toggle-list-item",
39
40
  "wizardToggleNum": "pf-v5-c-wizard__toggle-num",
40
- "wizardToggleSeparator": "pf-v5-c-wizard__toggle-separator"
41
+ "wizardToggleSeparator": "pf-v5-c-wizard__toggle-separator",
42
+ "wsDirRtl": "ws-dir-rtl"
41
43
  };
@@ -6,8 +6,8 @@
6
6
  --pf-v5-c-draggable--m-dragging--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
7
7
 
8
8
  position: absolute;
9
- inset-block-start: 23%;
10
- inset-inline-start: .5em;
9
+ inset-block-start: 23%;
10
+ inset-inline-start: .5em;
11
11
  z-index: 9999;
12
12
  width: 100%;
13
13
  }
@@ -1,32 +1,9 @@
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 {
19
- padding: 0;
20
- background-color: var(--pf-v5-global--BackgroundColor--dark-300);
21
- }
22
-
23
- #ws-core-c-navigation-expandable-third-level .pf-v5-c-nav {
1
+ .ws-core-c-navigation:not([id*="tertiary"]):not([id*="light-mode"]) .ws-preview-html {
24
2
  background-color: var(--pf-v5-global--BackgroundColor--dark-300);
25
3
  }
26
4
 
27
5
  #ws-core-c-navigation-horizontal-in-masthead,
28
6
  #ws-core-c-navigation-horizontal-in-masthead-overflow {
29
- padding: 0;
30
7
  grid-template-rows: auto;
31
8
  }
32
9
 
@@ -58,6 +35,6 @@
58
35
 
59
36
  #ws-core-c-navigation-nav-with-flyout .pf-v5-c-menu.pf-m-flyout.pf-m-nav {
60
37
  position: absolute;
61
- inset-block-start: 168px;
62
- inset-inline-start: 256px;
38
+ inset-block-start: 168px;
39
+ inset-inline-start: 256px;
63
40
  }
@@ -5,9 +5,9 @@ declare const _default: {
5
5
  "flyout": "pf-m-flyout",
6
6
  "nav": "pf-m-nav"
7
7
  },
8
- "nav": "pf-v5-c-nav",
9
8
  "pageHeader": "pf-v5-c-page__header",
10
9
  "pageHeaderNav": "pf-v5-c-page__header-nav",
10
+ "wsCoreCNavigation": "ws-core-c-navigation",
11
11
  "wsPreviewHtml": "ws-preview-html"
12
12
  };
13
13
  export default _default;
@@ -7,8 +7,8 @@ exports.default = {
7
7
  "flyout": "pf-m-flyout",
8
8
  "nav": "pf-m-nav"
9
9
  },
10
- "nav": "pf-v5-c-nav",
11
10
  "pageHeader": "pf-v5-c-page__header",
12
11
  "pageHeaderNav": "pf-v5-c-page__header-nav",
12
+ "wsCoreCNavigation": "ws-core-c-navigation",
13
13
  "wsPreviewHtml": "ws-preview-html"
14
14
  };
@@ -5,8 +5,8 @@ export default {
5
5
  "flyout": "pf-m-flyout",
6
6
  "nav": "pf-m-nav"
7
7
  },
8
- "nav": "pf-v5-c-nav",
9
8
  "pageHeader": "pf-v5-c-page__header",
10
9
  "pageHeaderNav": "pf-v5-c-page__header-nav",
10
+ "wsCoreCNavigation": "ws-core-c-navigation",
11
11
  "wsPreviewHtml": "ws-preview-html"
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "5.1.1-prerelease.1",
3
+ "version": "5.1.1-prerelease.2",
4
4
  "main": "dist/js/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "clean": "rimraf dist css"
19
19
  },
20
20
  "devDependencies": {
21
- "@patternfly/patternfly": "5.1.0-prerelease.8",
21
+ "@patternfly/patternfly": "5.1.0-prerelease.13",
22
22
  "camel-case": "^3.0.0",
23
23
  "css": "^2.2.3",
24
24
  "fs-extra": "^11.1.1",
@@ -28,5 +28,5 @@
28
28
  "typescript": "^4.7.4"
29
29
  },
30
30
  "license": "MIT",
31
- "gitHead": "1e1305e5f7450e087ff8d1690d2be28b00dac0a1"
31
+ "gitHead": "52cbf11e7e407d70d674a160da7f432d197c5f57"
32
32
  }