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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. package/CHANGELOG.md +8 -2
  2. package/css/components/AboutModalBox/about-modal-box.css +20 -13
  3. package/css/components/Accordion/accordion.css +33 -20
  4. package/css/components/Accordion/accordion.d.ts +3 -1
  5. package/css/components/Accordion/accordion.js +3 -1
  6. package/css/components/Accordion/accordion.mjs +3 -1
  7. package/css/components/ActionList/action-list.css +2 -2
  8. package/css/components/Alert/alert-group.css +7 -4
  9. package/css/components/Alert/alert.css +19 -13
  10. package/css/components/Alert/alert.d.ts +3 -1
  11. package/css/components/Alert/alert.js +3 -1
  12. package/css/components/Alert/alert.mjs +3 -1
  13. package/css/components/AppLauncher/app-launcher.css +32 -23
  14. package/css/components/BackToTop/back-to-top.css +2 -2
  15. package/css/components/Backdrop/backdrop.css +2 -2
  16. package/css/components/BackgroundImage/background-image.css +2 -2
  17. package/css/components/Badge/badge.css +2 -2
  18. package/css/components/Banner/banner.css +5 -2
  19. package/css/components/Breadcrumb/breadcrumb.css +9 -3
  20. package/css/components/Breadcrumb/breadcrumb.d.ts +3 -1
  21. package/css/components/Breadcrumb/breadcrumb.js +3 -1
  22. package/css/components/Breadcrumb/breadcrumb.mjs +3 -1
  23. package/css/components/Button/button.css +23 -17
  24. package/css/components/CalendarMonth/calendar-month.css +25 -15
  25. package/css/components/CalendarMonth/calendar-month.d.ts +3 -1
  26. package/css/components/CalendarMonth/calendar-month.js +3 -1
  27. package/css/components/CalendarMonth/calendar-month.mjs +3 -1
  28. package/css/components/Card/card.css +21 -16
  29. package/css/components/Check/check.css +2 -2
  30. package/css/components/Chip/chip-group.css +6 -6
  31. package/css/components/Chip/chip.css +16 -9
  32. package/css/components/Chip/chip.d.ts +1 -0
  33. package/css/components/Chip/chip.js +1 -0
  34. package/css/components/Chip/chip.mjs +1 -0
  35. package/css/components/ClipboardCopy/clipboard-copy.css +19 -10
  36. package/css/components/ClipboardCopy/clipboard-copy.d.ts +3 -1
  37. package/css/components/ClipboardCopy/clipboard-copy.js +3 -1
  38. package/css/components/ClipboardCopy/clipboard-copy.mjs +3 -1
  39. package/css/components/CodeBlock/code-block.css +6 -3
  40. package/css/components/CodeEditor/code-editor.css +31 -22
  41. package/css/components/Content/content.css +33 -30
  42. package/css/components/ContextSelector/context-selector.css +41 -26
  43. package/css/components/DataList/data-list-grid.css +21 -49
  44. package/css/components/DataList/data-list.css +66 -84
  45. package/css/components/DatePicker/date-picker.css +8 -8
  46. package/css/components/DescriptionList/description-list.css +8 -5
  47. package/css/components/DragDrop/drag-drop.css +8 -8
  48. package/css/components/Drawer/drawer.css +75 -60
  49. package/css/components/Dropdown/dropdown.css +75 -66
  50. package/css/components/DualListSelector/dual-list-selector.css +29 -15
  51. package/css/components/DualListSelector/dual-list-selector.d.ts +4 -1
  52. package/css/components/DualListSelector/dual-list-selector.js +4 -1
  53. package/css/components/DualListSelector/dual-list-selector.mjs +4 -1
  54. package/css/components/EmptyState/empty-state.css +7 -4
  55. package/css/components/ExpandableSection/expandable-section.css +17 -10
  56. package/css/components/ExpandableSection/expandable-section.d.ts +3 -1
  57. package/css/components/ExpandableSection/expandable-section.js +3 -1
  58. package/css/components/ExpandableSection/expandable-section.mjs +3 -1
  59. package/css/components/FileUpload/file-upload.css +9 -15
  60. package/css/components/Form/form.css +50 -50
  61. package/css/components/FormControl/form-control.css +21 -11
  62. package/css/components/HelperText/helper-text.css +1 -1
  63. package/css/components/Hint/hint.css +9 -6
  64. package/css/components/Icon/icon.css +1 -1
  65. package/css/components/InlineEdit/inline-edit.css +4 -4
  66. package/css/components/InputGroup/input-group.css +12 -6
  67. package/css/components/JumpLinks/jump-links.css +24 -24
  68. package/css/components/Label/label-group.css +13 -10
  69. package/css/components/Label/label.css +9 -9
  70. package/css/components/List/list.css +9 -9
  71. package/css/components/LogViewer/log-viewer.css +14 -14
  72. package/css/components/Login/login.css +36 -27
  73. package/css/components/Masthead/masthead.css +19 -22
  74. package/css/components/Menu/menu.css +80 -66
  75. package/css/components/Menu/menu.d.ts +3 -1
  76. package/css/components/Menu/menu.js +3 -1
  77. package/css/components/Menu/menu.mjs +3 -1
  78. package/css/components/MenuToggle/menu-toggle.css +41 -29
  79. package/css/components/ModalBox/modal-box.css +19 -19
  80. package/css/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  81. package/css/components/Nav/nav.css +120 -93
  82. package/css/components/Nav/nav.d.ts +3 -1
  83. package/css/components/Nav/nav.js +3 -1
  84. package/css/components/Nav/nav.mjs +3 -1
  85. package/css/components/NotificationBadge/notification-badge.css +13 -7
  86. package/css/components/NotificationDrawer/notification-drawer.css +32 -19
  87. package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -1
  88. package/css/components/NotificationDrawer/notification-drawer.js +3 -1
  89. package/css/components/NotificationDrawer/notification-drawer.mjs +3 -1
  90. package/css/components/NumberInput/number-input.css +3 -3
  91. package/css/components/OptionsMenu/options-menu.css +43 -31
  92. package/css/components/OverflowMenu/overflow-menu.css +2 -2
  93. package/css/components/Page/page.css +123 -65
  94. package/css/components/Page/page.d.ts +3 -1
  95. package/css/components/Page/page.js +3 -1
  96. package/css/components/Page/page.mjs +3 -1
  97. package/css/components/Pagination/pagination.css +28 -18
  98. package/css/components/Pagination/pagination.d.ts +3 -1
  99. package/css/components/Pagination/pagination.js +3 -1
  100. package/css/components/Pagination/pagination.mjs +3 -1
  101. package/css/components/Panel/panel.css +13 -7
  102. package/css/components/Popover/popover.css +24 -21
  103. package/css/components/Progress/progress.css +7 -7
  104. package/css/components/ProgressStepper/progress-stepper.css +26 -20
  105. package/css/components/Radio/radio.css +4 -5
  106. package/css/components/Select/select.css +56 -47
  107. package/css/components/Sidebar/sidebar.css +11 -5
  108. package/css/components/SimpleList/simple-list.css +10 -4
  109. package/css/components/Skeleton/skeleton.css +2 -5
  110. package/css/components/SkipToContent/skip-to-content.css +3 -3
  111. package/css/components/Slider/slider.css +46 -26
  112. package/css/components/Slider/slider.d.ts +3 -1
  113. package/css/components/Slider/slider.js +3 -1
  114. package/css/components/Slider/slider.mjs +3 -1
  115. package/css/components/Switch/switch.css +9 -5
  116. package/css/components/Switch/switch.d.ts +3 -1
  117. package/css/components/Switch/switch.js +3 -1
  118. package/css/components/Switch/switch.mjs +3 -1
  119. package/css/components/TabContent/tab-content.css +4 -1
  120. package/css/components/Table/table-grid.css +256 -219
  121. package/css/components/Table/table-scrollable.css +2 -2
  122. package/css/components/Table/table-tree-view.css +107 -104
  123. package/css/components/Table/table.css +87 -69
  124. package/css/components/Tabs/tabs.css +66 -48
  125. package/css/components/TextInputGroup/text-input-group.css +15 -15
  126. package/css/components/Tile/tile.css +10 -10
  127. package/css/components/ToggleGroup/toggle-group.css +14 -11
  128. package/css/components/Toolbar/toolbar.css +44 -41
  129. package/css/components/Tooltip/tooltip.css +19 -16
  130. package/css/components/TreeView/tree-view.css +42 -27
  131. package/css/components/Wizard/wizard.css +57 -36
  132. package/css/components/Wizard/wizard.d.ts +3 -1
  133. package/css/components/Wizard/wizard.js +3 -1
  134. package/css/components/Wizard/wizard.mjs +3 -1
  135. package/css/docs/components/Button/examples/Button.css +2 -2
  136. package/css/docs/components/DragDrop/examples/DragDrop.css +2 -2
  137. package/css/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  138. package/css/docs/components/LogViewer/examples/LogViewer.css +2 -2
  139. package/css/docs/components/ModalBox/examples/ModalBox.css +2 -2
  140. package/css/docs/components/Nav/examples/Navigation.css +3 -26
  141. package/css/docs/components/Nav/examples/Navigation.d.ts +1 -1
  142. package/css/docs/components/Nav/examples/Navigation.js +1 -1
  143. package/css/docs/components/Nav/examples/Navigation.mjs +1 -1
  144. package/css/docs/components/Popover/examples/Popover.css +2 -2
  145. package/css/docs/components/Select/deprecated/Select.css +3 -3
  146. package/css/docs/components/Table/examples/Table.css +2 -2
  147. package/css/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  148. package/css/docs/components/Tile/examples/Tile.css +1 -1
  149. package/css/docs/demos/Card/examples/Card.css +3 -3
  150. package/css/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  151. package/css/layouts/Flex/flex.css +115 -43
  152. package/css/utilities/Accessibility/accessibility.css +12 -12
  153. package/css/utilities/Spacing/spacing.css +720 -960
  154. package/package.json +4 -8
@@ -172,8 +172,8 @@
172
172
  width: 100%;
173
173
  }
174
174
  .pf-v5-c-select .pf-v5-c-divider {
175
- margin-top: var(--pf-v5-c-select-menu--c-divider--MarginTop);
176
- margin-bottom: var(--pf-v5-c-select-menu--c-divider--MarginBottom);
175
+ margin-block-start: var(--pf-v5-c-select-menu--c-divider--MarginTop);
176
+ margin-block-end: var(--pf-v5-c-select-menu--c-divider--MarginBottom);
177
177
  }
178
178
  .pf-v5-c-select .pf-v5-c-divider:last-child {
179
179
  --pf-v5-c-select-menu--c-divider--MarginBottom: 0;
@@ -217,7 +217,10 @@
217
217
  justify-content: space-between;
218
218
  width: 100%;
219
219
  min-width: var(--pf-v5-c-select__toggle--MinWidth);
220
- padding: var(--pf-v5-c-select__toggle--PaddingTop) var(--pf-v5-c-select__toggle--PaddingRight) var(--pf-v5-c-select__toggle--PaddingBottom) var(--pf-v5-c-select__toggle--PaddingLeft);
220
+ padding-block-start: var(--pf-v5-c-select__toggle--PaddingTop);
221
+ padding-block-end: var(--pf-v5-c-select__toggle--PaddingBottom);
222
+ padding-inline-start: var(--pf-v5-c-select__toggle--PaddingLeft);
223
+ padding-inline-end: var(--pf-v5-c-select__toggle--PaddingRight);
221
224
  font-size: var(--pf-v5-c-select__toggle--FontSize);
222
225
  font-weight: var(--pf-v5-c-select__toggle--FontWeight);
223
226
  line-height: var(--pf-v5-c-select__toggle--LineHeight);
@@ -237,14 +240,14 @@
237
240
  .pf-v5-c-select__toggle::before {
238
241
  --pf-v5-c-select__toggle--before--BorderWidth-base: var(--pf-v5-c-select__toggle--before--BorderTopWidth) var(--pf-v5-c-select__toggle--before--BorderRightWidth) var(--pf-v5-c-select__toggle--before--BorderBottomWidth) var(--pf-v5-c-select__toggle--before--BorderLeftWidth);
239
242
  position: absolute;
240
- top: 0;
241
- right: 0;
242
- bottom: 0;
243
- left: 0;
243
+ inset: 0;
244
244
  content: "";
245
- border-color: var(--pf-v5-c-select__toggle--before--BorderTopColor) var(--pf-v5-c-select__toggle--before--BorderRightColor) var(--pf-v5-c-select__toggle--before--BorderBottomColor) var(--pf-v5-c-select__toggle--before--BorderLeftColor);
246
245
  border-style: solid;
247
246
  border-width: var(--pf-v5-c-select__toggle--before--BorderWidth, var(--pf-v5-c-select__toggle--before--BorderWidth-base));
247
+ border-block-start-color: var(--pf-v5-c-select__toggle--before--BorderTopColor);
248
+ border-block-end-color: var(--pf-v5-c-select__toggle--before--BorderBottomColor);
249
+ border-inline-start-color: var(--pf-v5-c-select__toggle--before--BorderLeftColor);
250
+ border-inline-end-color: var(--pf-v5-c-select__toggle--before--BorderRightColor);
248
251
  }
249
252
  .pf-v5-c-select__toggle:hover {
250
253
  --pf-v5-c-select__toggle--before--BorderBottomColor: var(--pf-v5-c-select__toggle--hover--before--BorderBottomColor);
@@ -283,15 +286,15 @@
283
286
  position: relative;
284
287
  }
285
288
  .pf-v5-c-select__toggle .pf-v5-c-select__toggle-clear {
286
- padding-right: var(--pf-v5-c-select__toggle-clear--PaddingRight);
287
- padding-left: var(--pf-v5-c-select__toggle-clear--PaddingLeft);
288
- margin-left: auto;
289
+ padding-inline-start: var(--pf-v5-c-select__toggle-clear--PaddingLeft);
290
+ padding-inline-end: var(--pf-v5-c-select__toggle-clear--PaddingRight);
291
+ margin-inline-start: auto;
289
292
  }
290
293
  .pf-v5-c-select__toggle .pf-v5-c-select__toggle-button {
291
294
  color: var(--pf-v5-c-select__toggle-button--Color);
292
295
  }
293
296
  .pf-v5-c-select__toggle .pf-v5-c-select__toggle-clear + .pf-v5-c-select__toggle-button {
294
- padding-left: var(--pf-v5-c-select__toggle-clear--toggle-button--PaddingLeft);
297
+ padding-inline-start: var(--pf-v5-c-select__toggle-clear--toggle-button--PaddingLeft);
295
298
  }
296
299
  .pf-v5-c-select__toggle.pf-m-placeholder {
297
300
  --pf-v5-c-select__toggle-text--Color: var(--pf-v5-c-select__toggle--m-placeholder__toggle-text--Color);
@@ -301,8 +304,8 @@
301
304
  color: var(--pf-v5-c-select__toggle-arrow--Color, inherit);
302
305
  }
303
306
  * + .pf-v5-c-select__toggle-arrow {
304
- margin-right: var(--pf-v5-c-select__toggle-arrow--MarginRight);
305
- margin-left: var(--pf-v5-c-select__toggle-arrow--MarginLeft);
307
+ margin-inline-start: var(--pf-v5-c-select__toggle-arrow--MarginLeft);
308
+ margin-inline-end: var(--pf-v5-c-select__toggle-arrow--MarginRight);
306
309
  }
307
310
  .pf-v5-c-select.pf-m-top.pf-m-expanded .pf-v5-c-select__toggle-arrow {
308
311
  transform: rotate(var(--pf-v5-c-select__toggle-arrow--m-top--m-expanded__toggle-arrow--Rotate));
@@ -326,28 +329,28 @@
326
329
  white-space: normal;
327
330
  }
328
331
  .pf-v5-c-select__toggle-wrapper > :not(:last-child) {
329
- margin-right: var(--pf-v5-c-select__toggle-wrapper--not-last-child--MarginRight);
332
+ margin-inline-end: var(--pf-v5-c-select__toggle-wrapper--not-last-child--MarginRight);
330
333
  }
331
334
  .pf-v5-c-select__toggle-wrapper .pf-v5-c-chip-group {
332
- margin-top: var(--pf-v5-c-select__toggle-wrapper--c-chip-group--MarginTop);
333
- margin-bottom: var(--pf-v5-c-select__toggle-wrapper--c-chip-group--MarginBottom);
335
+ margin-block-start: var(--pf-v5-c-select__toggle-wrapper--c-chip-group--MarginTop);
336
+ margin-block-end: var(--pf-v5-c-select__toggle-wrapper--c-chip-group--MarginBottom);
334
337
  }
335
338
  .pf-v5-c-select__toggle-wrapper > .pf-v5-c-select__toggle-typeahead:first-child {
336
- margin-left: calc(-1 * var(--pf-v5-c-select__toggle--PaddingLeft));
339
+ margin-inline-start: calc(-1 * var(--pf-v5-c-select__toggle--PaddingLeft));
337
340
  }
338
341
 
339
342
  .pf-v5-c-select__toggle-icon + .pf-v5-c-select__toggle-text {
340
- margin-left: var(--pf-v5-c-select__toggle-icon--toggle-text--MarginLeft);
343
+ margin-inline-start: var(--pf-v5-c-select__toggle-icon--toggle-text--MarginLeft);
341
344
  }
342
345
 
343
346
  .pf-v5-c-select__toggle-status-icon {
344
- margin-left: var(--pf-v5-c-select__toggle-status-icon--MarginLeft);
347
+ margin-inline-start: var(--pf-v5-c-select__toggle-status-icon--MarginLeft);
345
348
  color: var(--pf-v5-c-select__toggle-status-icon--Color);
346
349
  }
347
350
 
348
351
  .pf-v5-c-select__toggle-badge {
349
352
  display: flex;
350
- padding-left: var(--pf-v5-c-select__toggle-badge--PaddingLeft);
353
+ padding-inline-start: var(--pf-v5-c-select__toggle-badge--PaddingLeft);
351
354
  }
352
355
 
353
356
  .pf-v5-c-select__toggle-typeahead {
@@ -365,30 +368,27 @@
365
368
 
366
369
  .pf-v5-c-select__menu {
367
370
  position: absolute;
368
- top: var(--pf-v5-c-select__menu--Top);
371
+ inset-block-start: var(--pf-v5-c-select__menu--Top);
369
372
  z-index: var(--pf-v5-c-select__menu--ZIndex);
370
373
  width: var(--pf-v5-c-select__menu--Width);
371
374
  min-width: var(--pf-v5-c-select__menu--MinWidth);
372
- padding-top: var(--pf-v5-c-select__menu--PaddingTop);
373
- padding-bottom: var(--pf-v5-c-select__menu--PaddingBottom);
375
+ padding-block-start: var(--pf-v5-c-select__menu--PaddingTop);
376
+ padding-block-end: var(--pf-v5-c-select__menu--PaddingBottom);
374
377
  background-color: var(--pf-v5-c-select__menu--BackgroundColor);
375
378
  background-clip: padding-box;
376
379
  box-shadow: var(--pf-v5-c-select__menu--BoxShadow);
377
380
  }
378
381
  .pf-v5-c-select__menu.pf-m-align-right {
379
- right: 0;
382
+ inset-inline-end: 0;
380
383
  }
381
384
  .pf-v5-c-select.pf-m-top .pf-v5-c-select__menu {
382
- top: 0;
385
+ inset-block-start: 0;
383
386
  transform: translateY(var(--pf-v5-c-select__menu--m-top--TranslateY));
384
387
  }
385
388
  .pf-v5-c-select__menu.pf-m-static {
386
389
  --pf-v5-c-select__menu--m-top--TranslateY: 0;
387
390
  position: static;
388
- top: auto;
389
- right: auto;
390
- bottom: auto;
391
- left: auto;
391
+ inset: auto;
392
392
  z-index: auto;
393
393
  min-width: min-content;
394
394
  }
@@ -409,12 +409,15 @@
409
409
  .pf-v5-c-select__menu-item {
410
410
  position: relative;
411
411
  width: var(--pf-v5-c-select__menu-item--Width);
412
- padding: var(--pf-v5-c-select__menu-item--PaddingTop) var(--pf-v5-c-select__menu-item--PaddingRight) var(--pf-v5-c-select__menu-item--PaddingBottom) var(--pf-v5-c-select__menu-item--PaddingLeft);
412
+ padding-block-start: var(--pf-v5-c-select__menu-item--PaddingTop);
413
+ padding-block-end: var(--pf-v5-c-select__menu-item--PaddingBottom);
414
+ padding-inline-start: var(--pf-v5-c-select__menu-item--PaddingLeft);
415
+ padding-inline-end: var(--pf-v5-c-select__menu-item--PaddingRight);
413
416
  font-size: var(--pf-v5-c-select__menu-item--FontSize);
414
417
  font-weight: var(--pf-v5-c-select__menu-item--FontWeight);
415
418
  line-height: var(--pf-v5-c-select__menu-item--LineHeight);
416
419
  color: var(--pf-v5-c-select__menu-item--Color);
417
- text-align: left;
420
+ text-align: start;
418
421
  white-space: nowrap;
419
422
  background-color: transparent;
420
423
  border: none;
@@ -495,14 +498,14 @@
495
498
  }
496
499
 
497
500
  .pf-v5-c-select__list-item.pf-m-loading {
498
- padding-top: var(--pf-v5-c-select__list-item--m-loading--PaddingTop);
501
+ padding-block-start: var(--pf-v5-c-select__list-item--m-loading--PaddingTop);
499
502
  text-align: center;
500
503
  }
501
504
 
502
505
  .pf-v5-c-select__menu-item-main {
503
506
  position: relative;
504
507
  display: block;
505
- padding-right: var(--pf-v5-c-select__menu-item-main--PaddingRight);
508
+ padding-inline-end: var(--pf-v5-c-select__menu-item-main--PaddingRight);
506
509
  white-space: nowrap;
507
510
  }
508
511
 
@@ -516,22 +519,22 @@
516
519
 
517
520
  .pf-v5-c-select__menu-item-count {
518
521
  align-self: center;
519
- margin-left: var(--pf-v5-c-select__menu-item-count--MarginLeft);
522
+ margin-inline-start: var(--pf-v5-c-select__menu-item-count--MarginLeft);
520
523
  font-size: var(--pf-v5-c-select__menu-item-count--FontSize);
521
524
  color: var(--pf-v5-c-select__menu-item-count--Color);
522
525
  }
523
526
 
524
527
  .pf-v5-c-select__menu-item-description {
525
528
  display: block;
526
- padding-right: var(--pf-v5-c-select__menu-item-description--PaddingRight);
529
+ padding-inline-end: var(--pf-v5-c-select__menu-item-description--PaddingRight);
527
530
  font-size: var(--pf-v5-c-select__menu-item-description--FontSize);
528
531
  color: var(--pf-v5-c-select__menu-item-description--Color);
529
532
  }
530
533
 
531
534
  .pf-v5-c-select__menu-item-icon {
532
535
  position: absolute;
533
- top: var(--pf-v5-c-select__menu-item-icon--Top);
534
- right: var(--pf-v5-c-select__menu-item-icon--Right);
536
+ inset-block-start: var(--pf-v5-c-select__menu-item-icon--Top);
537
+ inset-inline-end: var(--pf-v5-c-select__menu-item-icon--Right);
535
538
  font-size: var(--pf-v5-c-select__menu-item-icon--FontSize);
536
539
  color: var(--pf-v5-c-select__menu-item-icon--Color);
537
540
  transform: translateY(var(--pf-v5-c-select__menu-item-icon--TranslateY));
@@ -549,27 +552,33 @@
549
552
  }
550
553
 
551
554
  .pf-v5-c-select__menu-group + .pf-v5-c-select__menu-group {
552
- padding-top: var(--pf-v5-c-select__menu-group--menu-group--PaddingTop);
555
+ padding-block-start: var(--pf-v5-c-select__menu-group--menu-group--PaddingTop);
553
556
  }
554
557
 
555
558
  .pf-v5-c-select__menu-search {
556
- padding: var(--pf-v5-c-select__menu-search--PaddingTop) var(--pf-v5-c-select__menu-search--PaddingRight) var(--pf-v5-c-select__menu-search--PaddingBottom) var(--pf-v5-c-select__menu-search--PaddingLeft);
559
+ padding-block-start: var(--pf-v5-c-select__menu-search--PaddingTop);
560
+ padding-block-end: var(--pf-v5-c-select__menu-search--PaddingBottom);
561
+ padding-inline-start: var(--pf-v5-c-select__menu-search--PaddingLeft);
562
+ padding-inline-end: var(--pf-v5-c-select__menu-search--PaddingRight);
557
563
  }
558
564
 
559
565
  .pf-v5-c-select__menu-group-title {
560
- padding-top: var(--pf-v5-c-select__menu-group-title--PaddingTop);
561
- padding-right: var(--pf-v5-c-select__menu-group-title--PaddingRight);
562
- padding-bottom: var(--pf-v5-c-select__menu-group-title--PaddingBottom);
563
- padding-left: var(--pf-v5-c-select__menu-group-title--PaddingLeft);
566
+ padding-block-start: var(--pf-v5-c-select__menu-group-title--PaddingTop);
567
+ padding-block-end: var(--pf-v5-c-select__menu-group-title--PaddingBottom);
568
+ padding-inline-start: var(--pf-v5-c-select__menu-group-title--PaddingLeft);
569
+ padding-inline-end: var(--pf-v5-c-select__menu-group-title--PaddingRight);
564
570
  font-size: var(--pf-v5-c-select__menu-group-title--FontSize);
565
571
  font-weight: var(--pf-v5-c-select__menu-group-title--FontWeight);
566
572
  color: var(--pf-v5-c-select__menu-group-title--Color);
567
573
  }
568
574
 
569
575
  .pf-v5-c-select__menu-footer {
570
- padding: var(--pf-v5-c-select__menu-footer--PaddingTop) var(--pf-v5-c-select__menu-footer--PaddingRight) var(--pf-v5-c-select__menu-footer--PaddingBottom) var(--pf-v5-c-select__menu-footer--PaddingLeft);
571
- margin-top: var(--pf-v5-c-select__menu-footer--MarginTop);
572
- margin-bottom: var(--pf-v5-c-select__menu-footer--MarginBottom);
576
+ padding-block-start: var(--pf-v5-c-select__menu-footer--PaddingTop);
577
+ padding-block-end: var(--pf-v5-c-select__menu-footer--PaddingBottom);
578
+ padding-inline-start: var(--pf-v5-c-select__menu-footer--PaddingLeft);
579
+ padding-inline-end: var(--pf-v5-c-select__menu-footer--PaddingRight);
580
+ margin-block-start: var(--pf-v5-c-select__menu-footer--MarginTop);
581
+ margin-block-end: var(--pf-v5-c-select__menu-footer--MarginBottom);
573
582
  box-shadow: var(--pf-v5-c-select__menu-footer--BoxShadow);
574
583
  }
575
584
 
@@ -25,7 +25,7 @@
25
25
  --pf-v5-c-sidebar__main--FlexDirection: column;
26
26
  --pf-v5-c-sidebar__main--md--FlexDirection: row;
27
27
  --pf-v5-c-sidebar__main--AlignItems: stretch;
28
- --pf-v5-c-sidebar__main--md--AlignItems: start;
28
+ --pf-v5-c-sidebar__main--md--AlignItems: flex-start;
29
29
  --pf-v5-c-sidebar__main--child--MarginTop: 0;
30
30
  --pf-v5-c-sidebar--m-gutter__main--Gap: var(--pf-v5-c-sidebar--inset);
31
31
  --pf-v5-c-sidebar__main--m-border--before--Display: none;
@@ -41,7 +41,7 @@
41
41
  --pf-v5-c-sidebar--m-stack__panel--Top: 0;
42
42
  --pf-v5-c-sidebar--m-stack__panel--BoxShadow: var(--pf-v5-c-sidebar__panel--BoxShadow--base);
43
43
  --pf-v5-c-sidebar--m-stack--m-panel-right__panel--Order: -1;
44
- --pf-v5-c-sidebar--m-split__main--AlignItems: start;
44
+ --pf-v5-c-sidebar--m-split__main--AlignItems: flex-start;
45
45
  --pf-v5-c-sidebar--m-split__main--FlexDirection: row;
46
46
  --pf-v5-c-sidebar--m-split__panel--Position: static;
47
47
  --pf-v5-c-sidebar--m-split__panel--Top: auto;
@@ -131,12 +131,15 @@
131
131
 
132
132
  .pf-v5-c-sidebar__panel {
133
133
  position: var(--pf-v5-c-sidebar__panel--Position);
134
- top: var(--pf-v5-c-sidebar__panel--Top);
134
+ inset-block-start: var(--pf-v5-c-sidebar__panel--Top);
135
135
  z-index: var(--pf-v5-c-sidebar__panel--ZIndex);
136
136
  flex-basis: var(--pf-v5-c-sidebar__panel--FlexBasis);
137
137
  flex-shrink: 0;
138
138
  order: var(--pf-v5-c-sidebar__panel--Order);
139
- padding: var(--pf-v5-c-sidebar__panel--PaddingTop) var(--pf-v5-c-sidebar__panel--PaddingRight) var(--pf-v5-c-sidebar__panel--PaddingBottom) var(--pf-v5-c-sidebar__panel--PaddingLeft);
139
+ padding-block-start: var(--pf-v5-c-sidebar__panel--PaddingTop);
140
+ padding-block-end: var(--pf-v5-c-sidebar__panel--PaddingBottom);
141
+ padding-inline-start: var(--pf-v5-c-sidebar__panel--PaddingLeft);
142
+ padding-inline-end: var(--pf-v5-c-sidebar__panel--PaddingRight);
140
143
  background-color: var(--pf-v5-c-sidebar__panel--BackgroundColor);
141
144
  box-shadow: var(--pf-v5-c-sidebar__panel--BoxShadow);
142
145
  }
@@ -158,7 +161,10 @@
158
161
  .pf-v5-c-sidebar__content {
159
162
  flex-grow: 1;
160
163
  order: var(--pf-v5-c-sidebar__content--Order);
161
- padding: var(--pf-v5-c-sidebar__content--PaddingTop) var(--pf-v5-c-sidebar__content--PaddingRight) var(--pf-v5-c-sidebar__content--PaddingBottom) var(--pf-v5-c-sidebar__content--PaddingLeft);
164
+ padding-block-start: var(--pf-v5-c-sidebar__content--PaddingTop);
165
+ padding-block-end: var(--pf-v5-c-sidebar__content--PaddingBottom);
166
+ padding-inline-start: var(--pf-v5-c-sidebar__content--PaddingLeft);
167
+ padding-inline-end: var(--pf-v5-c-sidebar__content--PaddingRight);
162
168
  background-color: var(--pf-v5-c-sidebar__content--BackgroundColor);
163
169
  }
164
170
  .pf-v5-c-sidebar__content.pf-m-padding {
@@ -31,11 +31,14 @@
31
31
  .pf-v5-c-simple-list__item-link {
32
32
  display: block;
33
33
  width: 100%;
34
- padding: var(--pf-v5-c-simple-list__item-link--PaddingTop) var(--pf-v5-c-simple-list__item-link--PaddingRight) var(--pf-v5-c-simple-list__item-link--PaddingBottom) var(--pf-v5-c-simple-list__item-link--PaddingLeft);
34
+ padding-block-start: var(--pf-v5-c-simple-list__item-link--PaddingTop);
35
+ padding-block-end: var(--pf-v5-c-simple-list__item-link--PaddingBottom);
36
+ padding-inline-start: var(--pf-v5-c-simple-list__item-link--PaddingLeft);
37
+ padding-inline-end: var(--pf-v5-c-simple-list__item-link--PaddingRight);
35
38
  font-size: var(--pf-v5-c-simple-list__item-link--FontSize);
36
39
  font-weight: var(--pf-v5-c-simple-list__item-link--FontWeight);
37
40
  color: var(--pf-v5-c-simple-list__item-link--Color);
38
- text-align: left;
41
+ text-align: start;
39
42
  background-color: var(--pf-v5-c-simple-list__item-link--BackgroundColor);
40
43
  border: none;
41
44
  }
@@ -61,14 +64,17 @@
61
64
  }
62
65
 
63
66
  .pf-v5-c-simple-list__title {
64
- padding: var(--pf-v5-c-simple-list__title--PaddingTop) var(--pf-v5-c-simple-list__title--PaddingRight) var(--pf-v5-c-simple-list__title--PaddingBottom) var(--pf-v5-c-simple-list__title--PaddingLeft);
67
+ padding-block-start: var(--pf-v5-c-simple-list__title--PaddingTop);
68
+ padding-block-end: var(--pf-v5-c-simple-list__title--PaddingBottom);
69
+ padding-inline-start: var(--pf-v5-c-simple-list__title--PaddingLeft);
70
+ padding-inline-end: var(--pf-v5-c-simple-list__title--PaddingRight);
65
71
  font-size: var(--pf-v5-c-simple-list__title--FontSize);
66
72
  font-weight: var(--pf-v5-c-simple-list__title--FontWeight);
67
73
  color: var(--pf-v5-c-simple-list__title--Color);
68
74
  }
69
75
 
70
76
  .pf-v5-c-simple-list__section + .pf-v5-c-simple-list__section {
71
- margin-top: var(--pf-v5-c-simple-list__section--section--MarginTop);
77
+ margin-block-start: var(--pf-v5-c-simple-list__section--section--MarginTop);
72
78
  }
73
79
 
74
80
  :where(.pf-v5-theme-dark) .pf-v5-c-simple-list {
@@ -54,15 +54,12 @@
54
54
  .pf-v5-c-skeleton::before {
55
55
  display: block;
56
56
  height: var(--pf-v5-c-skeleton--before--Height);
57
- padding-bottom: var(--pf-v5-c-skeleton--before--PaddingBottom);
57
+ padding-block-end: var(--pf-v5-c-skeleton--before--PaddingBottom);
58
58
  content: var(--pf-v5-c-skeleton--before--Content);
59
59
  }
60
60
  .pf-v5-c-skeleton::after {
61
61
  position: absolute;
62
- top: 0;
63
- right: 0;
64
- bottom: 0;
65
- left: 0;
62
+ inset: 0;
66
63
  display: block;
67
64
  content: "";
68
65
  background: linear-gradient(var(--pf-v5-c-skeleton--after--LinearGradientAngle), var(--pf-v5-c-skeleton--after--LinearGradientColorStop1), var(--pf-v5-c-skeleton--after--LinearGradientColorStop2), var(--pf-v5-c-skeleton--after--LinearGradientColorStop3));
@@ -3,10 +3,10 @@
3
3
  --pf-v5-c-skip-to-content--ZIndex: var(--pf-v5-global--ZIndex--2xl);
4
4
  --pf-v5-c-skip-to-content--focus--Left: var(--pf-v5-global--spacer--md);
5
5
  position: absolute;
6
- top: var(--pf-v5-c-skip-to-content--Top);
7
- left: -300%;
6
+ inset-block-start: var(--pf-v5-c-skip-to-content--Top);
7
+ inset-inline-start: -300%;
8
8
  z-index: var(--pf-v5-c-skip-to-content--ZIndex);
9
9
  }
10
10
  .pf-v5-c-skip-to-content:focus-within {
11
- left: var(--pf-v5-c-skip-to-content--focus--Left);
11
+ inset-inline-start: var(--pf-v5-c-skip-to-content--focus--Left);
12
12
  }
@@ -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);
@@ -77,8 +82,8 @@
77
82
  }
78
83
 
79
84
  .pf-v5-c-slider__rail {
80
- padding-top: var(--pf-v5-c-slider__rail--PaddingTop);
81
- padding-bottom: var(--pf-v5-c-slider__rail--PaddingBottom);
85
+ padding-block-start: var(--pf-v5-c-slider__rail--PaddingTop);
86
+ padding-block-end: var(--pf-v5-c-slider__rail--PaddingBottom);
82
87
  }
83
88
 
84
89
  .pf-v5-c-slider__rail-track {
@@ -87,12 +92,9 @@
87
92
  }
88
93
  .pf-v5-c-slider__rail-track::before {
89
94
  position: absolute;
90
- top: 0;
91
- right: 0;
92
- bottom: 0;
93
- left: 0;
95
+ inset: 0;
94
96
  content: "";
95
- 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));
96
98
  border-radius: var(--pf-v5-c-slider__rail-track--before--BorderRadius);
97
99
  }
98
100
 
@@ -104,8 +106,8 @@
104
106
 
105
107
  .pf-v5-c-slider__step {
106
108
  position: absolute;
107
- top: 0;
108
- left: var(--pf-v5-c-slider__step--Left);
109
+ inset-block-start: 0;
110
+ inset-inline-start: var(--pf-v5-c-slider__step--Left);
109
111
  content: "";
110
112
  }
111
113
  .pf-v5-c-slider__step.pf-m-active {
@@ -121,45 +123,59 @@
121
123
  }
122
124
 
123
125
  .pf-v5-c-slider__step-tick {
126
+ transform: translateX(var(--pf-v5-c-slider__step-tick--TranslateX));
124
127
  position: absolute;
125
- top: var(--pf-v5-c-slider__step-tick--Top);
126
- left: 0;
128
+ inset-block-start: var(--pf-v5-c-slider__step-tick--Top);
129
+ inset-inline-start: 0;
127
130
  width: var(--pf-v5-c-slider__step-tick--Width);
128
131
  height: var(--pf-v5-c-slider__step-tick--Height);
129
132
  background-color: var(--pf-v5-c-slider__step-tick--BackgroundColor);
130
133
  border-radius: var(--pf-v5-c-slider__step-tick--BorderRadius);
131
- 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)));
132
137
  }
133
138
 
134
139
  .pf-v5-c-slider__step-label {
140
+ transform: translateX(var(--pf-v5-c-slider__step-label--TranslateX));
135
141
  position: absolute;
136
- top: var(--pf-v5-c-slider__step-label--Top);
142
+ inset-block-start: var(--pf-v5-c-slider__step-label--Top);
137
143
  word-break: normal;
138
- 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)));
139
147
  }
140
148
 
141
149
  .pf-v5-c-slider__thumb {
150
+ transform: translate(var(--pf-v5-c-slider__thumb--TranslateX), var(--pf-v5-c-slider__thumb--TranslateY));
142
151
  position: absolute;
143
- top: var(--pf-v5-c-slider__thumb--Top);
144
- left: var(--pf-v5-c-slider__thumb--Left);
152
+ inset-block-start: var(--pf-v5-c-slider__thumb--Top);
153
+ inset-inline-start: var(--pf-v5-c-slider__thumb--Left);
145
154
  width: var(--pf-v5-c-slider__thumb--Width);
146
155
  height: var(--pf-v5-c-slider__thumb--Height);
147
156
  cursor: pointer;
148
157
  background-color: var(--pf-v5-c-slider__thumb--BackgroundColor);
149
158
  border-radius: var(--pf-v5-c-slider__thumb--BorderRadius);
150
159
  box-shadow: var(--pf-v5-c-slider__thumb--BoxShadow);
151
- transform: translate(var(--pf-v5-c-slider__thumb--TranslateX), var(--pf-v5-c-slider__thumb--TranslateY));
152
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
+
153
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));
154
167
  position: absolute;
155
- top: 50%;
156
- left: 50%;
168
+ inset-block-start: 50%;
169
+ inset-inline-start: 50%;
157
170
  width: var(--pf-v5-c-slider__thumb--before--Width);
158
171
  height: var(--pf-v5-c-slider__thumb--before--Height);
159
172
  content: "";
160
173
  border-radius: var(--pf-v5-c-slider__thumb--before--BorderRadius);
161
- transform: translate(var(--pf-v5-c-slider__thumb--before--TranslateX), var(--pf-v5-c-slider__thumb--before--TranslateY));
162
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
+
163
179
  .pf-v5-c-slider__thumb:hover {
164
180
  --pf-v5-c-slider__thumb--BoxShadow: var(--pf-v5-c-slider__thumb--hover--BoxShadow);
165
181
  }
@@ -172,25 +188,29 @@
172
188
  }
173
189
 
174
190
  .pf-v5-c-slider__value {
175
- margin-left: var(--pf-v5-c-slider__value--MarginLeft);
191
+ margin-inline-start: var(--pf-v5-c-slider__value--MarginLeft);
176
192
  }
177
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));
178
195
  --pf-v5-c-slider__value--MarginLeft: 0;
179
196
  position: absolute;
180
- top: 0;
181
- left: var(--pf-v5-c-slider__value--m-floating--Left);
197
+ inset-block-start: 0;
198
+ inset-inline-start: var(--pf-v5-c-slider__value--m-floating--Left);
182
199
  z-index: var(--pf-v5-c-slider__value--m-floating--ZIndex);
183
- transform: translate(var(--pf-v5-c-slider__value--m-floating--TranslateX), var(--pf-v5-c-slider__value--m-floating--TranslateY));
184
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
+
185
205
  .pf-v5-c-slider__value .pf-v5-c-form-control {
186
206
  width: var(--pf-v5-c-slider__value--c-form-control--Width);
187
207
  }
188
208
 
189
209
  .pf-v5-c-slider__actions {
190
210
  display: flex;
191
- margin-right: var(--pf-v5-c-slider__actions--MarginRight);
211
+ margin-inline-end: var(--pf-v5-c-slider__actions--MarginRight);
192
212
  }
193
213
  .pf-v5-c-slider__main ~ .pf-v5-c-slider__actions {
194
214
  --pf-v5-c-slider__actions--MarginRight: 0;
195
- margin-left: var(--pf-v5-c-slider__main--actions--MarginLeft);
215
+ margin-inline-start: var(--pf-v5-c-slider__main--actions--MarginLeft);
196
216
  }
@@ -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
  }
@@ -107,8 +111,8 @@
107
111
  }
108
112
  .pf-v5-c-switch__toggle::before {
109
113
  position: absolute;
110
- top: var(--pf-v5-c-switch__toggle--before--Top);
111
- left: var(--pf-v5-c-switch__toggle--before--Left);
114
+ inset-block-start: var(--pf-v5-c-switch__toggle--before--Top);
115
+ inset-inline-start: var(--pf-v5-c-switch__toggle--before--Left);
112
116
  display: block;
113
117
  width: var(--pf-v5-c-switch__toggle--before--Width);
114
118
  height: var(--pf-v5-c-switch__toggle--before--Height);
@@ -121,9 +125,9 @@
121
125
 
122
126
  .pf-v5-c-switch__toggle-icon {
123
127
  position: absolute;
124
- top: 0;
125
- bottom: 0;
126
- left: var(--pf-v5-c-switch__toggle-icon--Left);
128
+ inset-block-start: 0;
129
+ inset-block-end: 0;
130
+ inset-inline-start: var(--pf-v5-c-switch__toggle-icon--Left);
127
131
  display: flex;
128
132
  align-items: center;
129
133
  font-size: var(--pf-v5-c-switch__toggle-icon--FontSize);
@@ -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
  };