@webority/theme 0.168.0 → 0.169.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +12 -1
  2. package/dist/postcss/rtl-mirror.d.mts +10 -0
  3. package/dist/postcss/rtl-mirror.mjs +1 -0
  4. package/dist/purge-safelist.json +49 -1
  5. package/dist/webority-modes.css +1 -1
  6. package/dist/webority-theme.css +1 -1
  7. package/dist/webority-tokens.css +1 -1
  8. package/package.json +8 -4
  9. package/scss/_bootstrap-css.scss +1 -0
  10. package/scss/_bootstrap.generated.scss +1 -1
  11. package/scss/_components.scss +28 -7
  12. package/scss/_config.scss +22 -0
  13. package/scss/_marketing.scss +7 -0
  14. package/scss/_modes.scss +1 -0
  15. package/scss/_tokens-modes.generated.scss +1 -1
  16. package/scss/_tokens.generated.scss +2 -2
  17. package/scss/_wui-components.scss +4 -0
  18. package/scss/_wui-core.scss +2 -0
  19. package/scss/wui/_avatar-picker.scss +1 -1
  20. package/scss/wui/_calendar.scss +2 -2
  21. package/scss/wui/_card.scss +3 -3
  22. package/scss/wui/_cell.scss +1 -1
  23. package/scss/wui/_chart.scss +6 -5
  24. package/scss/wui/_choice.scss +56 -24
  25. package/scss/wui/_code-block.scss +2 -1
  26. package/scss/wui/_compare-table.scss +8 -5
  27. package/scss/wui/_consent-banner.scss +4 -1
  28. package/scss/wui/_controls.scss +66 -39
  29. package/scss/wui/_data.scss +58 -45
  30. package/scss/wui/_disclosure.scss +11 -5
  31. package/scss/wui/_display.scss +67 -39
  32. package/scss/wui/_drawer.scss +9 -3
  33. package/scss/wui/_due-date.scss +1 -1
  34. package/scss/wui/_empty-state.scss +1 -1
  35. package/scss/wui/_entry-grid.scss +23 -0
  36. package/scss/wui/_field-busy.scss +6 -0
  37. package/scss/wui/_file-viewer.scss +4 -4
  38. package/scss/wui/_flow.scss +26 -22
  39. package/scss/wui/_gantt.scss +498 -0
  40. package/scss/wui/_kanban.scss +1 -1
  41. package/scss/wui/_lightbox.scss +2 -2
  42. package/scss/wui/_markdown.scss +3 -3
  43. package/scss/wui/_media.scss +13 -13
  44. package/scss/wui/_menu-motion.scss +3 -0
  45. package/scss/wui/_metric-strip.scss +1 -1
  46. package/scss/wui/_modal-remote.scss +8 -1
  47. package/scss/wui/_native-overlay.scss +12 -0
  48. package/scss/wui/_navigation-menu.scss +4 -3
  49. package/scss/wui/_navigation.scss +28 -24
  50. package/scss/wui/_notification-center.scss +2 -2
  51. package/scss/wui/_onboarding-checklist.scss +3 -0
  52. package/scss/wui/_org-tree.scss +9 -6
  53. package/scss/wui/_overlays.scss +11 -7
  54. package/scss/wui/_pagination.scss +5 -1
  55. package/scss/wui/_query-builder.scss +91 -0
  56. package/scss/wui/_rating.scss +1 -1
  57. package/scss/wui/_record-pager.scss +1 -1
  58. package/scss/wui/_rich-text.scss +6 -6
  59. package/scss/wui/_select.scss +5 -5
  60. package/scss/wui/_shell-parts.scss +9 -8
  61. package/scss/wui/_shell.scss +34 -10
  62. package/scss/wui/_shortcuts.scss +5 -4
  63. package/scss/wui/_sortable.scss +2 -1
  64. package/scss/wui/_split-view.scss +11 -9
  65. package/scss/wui/_toolbar.scss +2 -2
  66. package/scss/wui/_transfer-list.scss +24 -0
  67. package/scss/wui/_tree-picker.scss +219 -0
  68. package/scss/wui/_typography.scss +5 -4
  69. package/scss/wui/_utilities.scss +38 -18
  70. package/scss/wui/_whats-new.scss +7 -1
  71. package/scss/wui/_workspace.scss +3 -3
  72. package/scss/wui/modes/_gantt.scss +44 -0
  73. package/scss/wui/tour/_advance.scss +12 -0
@@ -50,7 +50,7 @@
50
50
  font-size: 15px;
51
51
  font-weight: 600;
52
52
  line-height: 1.45;
53
- text-align: left;
53
+ text-align: start;
54
54
  color: var(--color-text);
55
55
  cursor: pointer;
56
56
  transition: color var(--wui-duration-fast) var(--wui-ease-ui);
@@ -91,6 +91,9 @@
91
91
  grid-template-rows: 1fr;
92
92
  }
93
93
  .wui-accordion-body {
94
+ display: var(--wui-accordion-body-display, block);
95
+ flex-direction: var(--wui-accordion-body-direction, row);
96
+ row-gap: var(--wui-accordion-body-gap, normal);
94
97
  min-height: 0;
95
98
  overflow: hidden;
96
99
  // Horizontal padding is CONSTANT in both states. Toggling it with `.open` made the content
@@ -98,16 +101,16 @@
98
101
  // grid-row height), the "slide left" bug. Side padding adds no height, so keeping it on the
99
102
  // closed pane is safe; only the BOTTOM padding stays conditional (below), because a constant
100
103
  // one leaks height on the collapsed 0fr row.
101
- padding: 0 18px;
102
- font-size: 14px;
104
+ padding: 0 var(--wui-accordion-body-padding-inline, 18px);
105
+ font-size: var(--wui-accordion-body-font-size, 14px);
103
106
  line-height: 1.6;
104
- color: var(--color-text-muted);
107
+ color: var(--wui-accordion-body-color, var(--color-text-muted));
105
108
  }
106
109
  .wui-accordion-body > :first-child {
107
110
  margin-top: 0;
108
111
  }
109
112
  .wui-accordion-item.open > .wui-accordion-panel > .wui-accordion-body {
110
- padding-bottom: 16px;
113
+ padding-bottom: var(--wui-accordion-body-padding-bottom, 16px);
111
114
  }
112
115
 
113
116
  // Flat: a text toggle with a leading chevron, for a section header rather than a card.
@@ -134,6 +137,9 @@
134
137
  .wui-accordion.wui-accordion-flat .wui-accordion-icon {
135
138
  transform: rotate(-90deg);
136
139
  }
140
+ .wui-accordion.wui-accordion-flat:dir(rtl) .wui-accordion-icon {
141
+ transform: rotate(90deg);
142
+ }
137
143
  .wui-accordion.wui-accordion-flat .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon {
138
144
  transform: none;
139
145
  }
@@ -357,54 +357,54 @@ a.kpi:focus-visible {
357
357
  .descs-bordered .descs-item {
358
358
  border-top: 1px solid var(--color-border);
359
359
  }
360
- // Column variants: set the grid-template-columns.
361
- .descs-col-1 .descs-list {
360
+ // Column variants: set the grid-template-columns. Child selectors, so a list nested in a value keeps its own columns.
361
+ .descs-col-1 > .descs-list {
362
362
  --descs-cols: 1;
363
363
  }
364
- .descs-col-2 .descs-list {
364
+ .descs-col-2 > .descs-list {
365
365
  --descs-cols: 2;
366
366
  }
367
- .descs-col-3 .descs-list {
367
+ .descs-col-3 > .descs-list {
368
368
  --descs-cols: 3;
369
369
  }
370
- .wui-descs-col-4 {
370
+ .wui-descs-col-4 > .descs-list {
371
371
  --descs-cols: 4;
372
372
  }
373
- .descs-col-1.descs-bordered .descs-item:first-child {
373
+ .descs-col-1.descs-bordered > .descs-list > .descs-item:first-child {
374
374
  border-top: none;
375
375
  }
376
- .descs-col-2.descs-bordered .descs-item:nth-child(-n + 2) {
376
+ .descs-col-2.descs-bordered > .descs-list > .descs-item:nth-child(-n + 2) {
377
377
  border-top: none;
378
378
  }
379
- .descs-col-3.descs-bordered .descs-item:nth-child(-n + 3) {
379
+ .descs-col-3.descs-bordered > .descs-list > .descs-item:nth-child(-n + 3) {
380
380
  border-top: none;
381
381
  }
382
- .wui-descs-col-4.descs-bordered .descs-item:nth-child(-n + 4) {
382
+ .wui-descs-col-4.descs-bordered > .descs-list > .descs-item:nth-child(-n + 4) {
383
383
  border-top: none;
384
384
  }
385
385
  // Media-breakpoint collapse to single column under md.
386
386
  @include media-breakpoint-down(sm) {
387
- .descs-col-2 .descs-list,
388
- .descs-col-3 .descs-list,
389
- .wui-descs-col-4 .descs-list {
387
+ .descs-col-2 > .descs-list,
388
+ .descs-col-3 > .descs-list,
389
+ .wui-descs-col-4 > .descs-list {
390
390
  --descs-cols: 1;
391
391
  }
392
392
  // A span wider than the one column would add an implicit column and squeeze every value into half the width.
393
- .descs-col-2 .descs-item,
394
- .descs-col-3 .descs-item,
395
- .wui-descs-col-4 .descs-item {
393
+ .descs-col-2 > .descs-list > .descs-item,
394
+ .descs-col-3 > .descs-list > .descs-item,
395
+ .wui-descs-col-4 > .descs-list > .descs-item {
396
396
  --descs-span: 1;
397
397
  }
398
398
  // One column here, so only the first item sits on the first row.
399
- .descs-col-2.descs-bordered .descs-item:nth-child(n + 2),
400
- .descs-col-3.descs-bordered .descs-item:nth-child(n + 2),
401
- .wui-descs-col-4.descs-bordered .descs-item:nth-child(n + 2) {
399
+ .descs-col-2.descs-bordered > .descs-list > .descs-item:nth-child(n + 2),
400
+ .descs-col-3.descs-bordered > .descs-list > .descs-item:nth-child(n + 2),
401
+ .wui-descs-col-4.descs-bordered > .descs-list > .descs-item:nth-child(n + 2) {
402
402
  border-top: 1px solid var(--color-border);
403
403
  }
404
404
  }
405
405
  // Summary layout (React `layout="summary"`): one row per item, its label left and its value right.
406
406
  // Declared after the column variants so the single column wins on equal specificity.
407
- .wui-descs-summary .descs-list {
407
+ .wui-descs-summary > .descs-list {
408
408
  --descs-cols: 1;
409
409
  }
410
410
  .wui-descs-summary .descs-item {
@@ -420,8 +420,8 @@ a.kpi:focus-visible {
420
420
  padding: 0;
421
421
  }
422
422
  .wui-descs-summary .descs-value {
423
- margin-left: auto;
424
- text-align: right;
423
+ margin-inline-start: auto;
424
+ text-align: end;
425
425
  font-variant-numeric: tabular-nums;
426
426
  }
427
427
  // Emphasis (React item `emphasis`): the total row, bold, with a rule above it. The row before it
@@ -457,7 +457,7 @@ a.kpi:focus-visible {
457
457
  }
458
458
  // List layout (React `layout="list"`): one column, a rule between rows, flush first and last row,
459
459
  // and the value on one line with an ellipsis. The icon tile spans both rows beside the label and value.
460
- .wui-descs-list .descs-list {
460
+ .wui-descs-list > .descs-list {
461
461
  --descs-cols: 1;
462
462
  }
463
463
  .wui-descs-list .descs-item {
@@ -813,7 +813,8 @@ a.kpi:focus-visible {
813
813
  --wui-timeline-dot: 24px;
814
814
  position: relative;
815
815
  margin: 0;
816
- padding: 0 0 0 6px;
816
+ padding-block: 0;
817
+ padding-inline: 6px 0;
817
818
  list-style: none;
818
819
  }
819
820
  .timeline::before {
@@ -822,7 +823,7 @@ a.kpi:focus-visible {
822
823
  // Inset top and bottom so the rail starts and ends inside the first/last dot.
823
824
  top: calc(var(--wui-timeline-dot) / 2 - 2px);
824
825
  bottom: calc(var(--wui-timeline-dot) / 2 - 2px);
825
- left: calc(6px + var(--wui-timeline-dot) / 2 - 1px);
826
+ inset-inline-start: calc(6px + var(--wui-timeline-dot) / 2 - 1px);
826
827
  width: 2px;
827
828
  background: var(--color-border);
828
829
  }
@@ -949,7 +950,7 @@ a.kpi:focus-visible {
949
950
  --wui-timeline-halo: calc(var(--wui-timeline-dot) / 4 - 2px);
950
951
  --wui-timeline-halo-thin: calc(var(--wui-timeline-dot) / 12);
951
952
  // Room on the left so a status dot's soft halo ring isn't clipped.
952
- padding-left: calc(var(--wui-timeline-halo) + 1px);
953
+ padding-inline-start: calc(var(--wui-timeline-halo) + 1px);
953
954
  }
954
955
  // No single list rail: each item owns the segment down to the next dot so it
955
956
  // can be tinted independently.
@@ -966,7 +967,7 @@ a.kpi:focus-visible {
966
967
  position: absolute;
967
968
  top: var(--wui-timeline-dot);
968
969
  bottom: -2px;
969
- left: calc(var(--wui-timeline-dot) / 2 - 1px);
970
+ inset-inline-start: calc(var(--wui-timeline-dot) / 2 - 1px);
970
971
  width: 2px;
971
972
  background: var(--color-border);
972
973
  }
@@ -1040,7 +1041,7 @@ a.kpi:focus-visible {
1040
1041
  .timeline--progress .timeline-head .timeline-when {
1041
1042
  flex: none;
1042
1043
  align-items: flex-end;
1043
- text-align: right;
1044
+ text-align: end;
1044
1045
  }
1045
1046
  .timeline--progress .timeline-head .timeline-at,
1046
1047
  .timeline--progress .timeline-head .timeline-time {
@@ -1096,8 +1097,8 @@ a.kpi:focus-visible {
1096
1097
  position: absolute;
1097
1098
  top: calc(var(--wui-timeline-dot) / 2 - 1px);
1098
1099
  bottom: auto;
1099
- left: 50%;
1100
- right: -50%;
1100
+ inset-inline-start: 50%;
1101
+ inset-inline-end: -50%;
1101
1102
  width: auto;
1102
1103
  height: 2px;
1103
1104
  background: var(--color-border);
@@ -1179,7 +1180,7 @@ a.kpi:focus-visible {
1179
1180
  position: absolute;
1180
1181
  top: calc(var(--wui-timeline-dot) + var(--wui-timeline-step-ring) + 6px);
1181
1182
  bottom: calc(var(--wui-timeline-step-ring) + 6px);
1182
- left: calc(var(--wui-timeline-dot) / 2);
1183
+ inset-inline-start: calc(var(--wui-timeline-dot) / 2);
1183
1184
  width: 1px;
1184
1185
  background: repeating-linear-gradient(
1185
1186
  to bottom,
@@ -1216,10 +1217,11 @@ a.kpi:focus-visible {
1216
1217
  min-width: 0;
1217
1218
  flex-direction: column;
1218
1219
  gap: 20px;
1219
- padding: 0 24px 0 0;
1220
+ padding-block: 0;
1221
+ padding-inline: 0 24px;
1220
1222
  }
1221
1223
  .wui-timeline--steps:not(.wui-timeline--steps-vertical) .timeline-item:last-child {
1222
- padding-right: 0;
1224
+ padding-inline-end: 0;
1223
1225
  }
1224
1226
  .wui-timeline--steps:not(.wui-timeline--steps-vertical) .timeline-body {
1225
1227
  padding-top: 0;
@@ -1228,8 +1230,8 @@ a.kpi:focus-visible {
1228
1230
  .wui-timeline--steps:not(.wui-timeline--steps-vertical) .timeline-item:not(:last-child)::after {
1229
1231
  top: calc(var(--wui-timeline-dot) / 2);
1230
1232
  bottom: auto;
1231
- left: calc(var(--wui-timeline-dot) + var(--wui-timeline-step-ring) + 12px);
1232
- right: calc(var(--wui-timeline-step-ring) + 12px);
1233
+ inset-inline-start: calc(var(--wui-timeline-dot) + var(--wui-timeline-step-ring) + 12px);
1234
+ inset-inline-end: calc(var(--wui-timeline-step-ring) + 12px);
1233
1235
  width: auto;
1234
1236
  height: 1px;
1235
1237
  background: repeating-linear-gradient(
@@ -1323,15 +1325,17 @@ a.kpi:focus-visible {
1323
1325
  @include media-breakpoint-up(md) {
1324
1326
  .wui-timeline--steps.wui-timeline--sm:not(.wui-timeline--steps-vertical) .timeline-item {
1325
1327
  gap: 14px;
1326
- padding: 0 16px 0 0;
1328
+ padding-block: 0;
1329
+ padding-inline: 0 16px;
1327
1330
  }
1328
1331
  .wui-timeline--steps.wui-timeline--lg:not(.wui-timeline--steps-vertical) .timeline-item {
1329
1332
  gap: 24px;
1330
- padding: 0 32px 0 0;
1333
+ padding-block: 0;
1334
+ padding-inline: 0 32px;
1331
1335
  }
1332
1336
  .wui-timeline--steps.wui-timeline--sm:not(.wui-timeline--steps-vertical) .timeline-item:last-child,
1333
1337
  .wui-timeline--steps.wui-timeline--lg:not(.wui-timeline--steps-vertical) .timeline-item:last-child {
1334
- padding-right: 0;
1338
+ padding-inline-end: 0;
1335
1339
  }
1336
1340
  }
1337
1341
 
@@ -1625,6 +1629,10 @@ button.wui-link {
1625
1629
  .wui-link--underline-center .wui-link__label::after {
1626
1630
  transform-origin: center;
1627
1631
  }
1632
+ .wui-link--underline:dir(rtl) .wui-link__label::after,
1633
+ .wui-link--static:dir(rtl) .wui-link__label::after {
1634
+ transform-origin: right center;
1635
+ }
1628
1636
  .wui-link--underline:hover .wui-link__label::after,
1629
1637
  .wui-link--underline:focus-visible .wui-link__label::after,
1630
1638
  .wui-link--underline-center:hover .wui-link__label::after,
@@ -1640,6 +1648,10 @@ button.wui-link {
1640
1648
  .wui-link--slide:focus-visible {
1641
1649
  transform: translateX(3px);
1642
1650
  }
1651
+ .wui-link--slide:hover:dir(rtl),
1652
+ .wui-link--slide:focus-visible:dir(rtl) {
1653
+ transform: translateX(-3px);
1654
+ }
1643
1655
 
1644
1656
  // icon: a trailing icon slides and fades in on hover.
1645
1657
  .wui-link--icon .wui-link__ic--right {
@@ -1648,12 +1660,19 @@ button.wui-link {
1648
1660
  transform: translateX(-4px);
1649
1661
  transition: opacity var(--wui-duration-default) var(--wui-ease-out), transform var(--wui-duration-default) var(--wui-ease-out), margin var(--wui-duration-default) var(--wui-ease-out);
1650
1662
  }
1663
+ .wui-link--icon:dir(rtl) .wui-link__ic--right {
1664
+ transform: translateX(4px);
1665
+ }
1651
1666
  .wui-link--icon:hover .wui-link__ic--right,
1652
1667
  .wui-link--icon:focus-visible .wui-link__ic--right {
1653
1668
  margin-inline-start: 0;
1654
1669
  opacity: 1;
1655
1670
  transform: translateX(2px);
1656
1671
  }
1672
+ .wui-link--icon:hover:dir(rtl) .wui-link__ic--right,
1673
+ .wui-link--icon:focus-visible:dir(rtl) .wui-link__ic--right {
1674
+ transform: translateX(-2px);
1675
+ }
1657
1676
 
1658
1677
  // rotate: the trailing icon turns a quarter-eighth turn on hover and focus.
1659
1678
  .wui-link--rotate .wui-link__ic--right {
@@ -1676,6 +1695,9 @@ button.wui-link {
1676
1695
  transform-origin: left center;
1677
1696
  transition: transform var(--wui-duration-default) var(--wui-ease-out);
1678
1697
  }
1698
+ .wui-link--highlight:dir(rtl) .wui-link__label::before {
1699
+ transform-origin: right center;
1700
+ }
1679
1701
  .wui-link--highlight:hover .wui-link__label::before,
1680
1702
  .wui-link--highlight:focus-visible .wui-link__label::before {
1681
1703
  transform: scaleX(1);
@@ -1694,14 +1716,20 @@ button.wui-link {
1694
1716
  }
1695
1717
  .wui-link--bracket .wui-link__label::before {
1696
1718
  content: "[";
1697
- left: 0;
1719
+ inset-inline-start: 0;
1698
1720
  transform: translateX(0.35em);
1699
1721
  }
1700
1722
  .wui-link--bracket .wui-link__label::after {
1701
1723
  content: "]";
1702
- right: 0;
1724
+ inset-inline-end: 0;
1725
+ transform: translateX(-0.35em);
1726
+ }
1727
+ .wui-link--bracket:dir(rtl) .wui-link__label::before {
1703
1728
  transform: translateX(-0.35em);
1704
1729
  }
1730
+ .wui-link--bracket:dir(rtl) .wui-link__label::after {
1731
+ transform: translateX(0.35em);
1732
+ }
1705
1733
  .wui-link--bracket:hover .wui-link__label::before,
1706
1734
  .wui-link--bracket:focus-visible .wui-link__label::before,
1707
1735
  .wui-link--bracket:hover .wui-link__label::after,
@@ -137,16 +137,22 @@ dialog.wui-drawer-panel::backdrop {
137
137
  .wui-drawer-panel {
138
138
  top: 0;
139
139
  bottom: 0;
140
- right: 0;
140
+ inset-inline-end: 0;
141
141
  width: min(var(--wui-drawer-width), 100%);
142
142
  max-width: var(--wui-drawer-max-width);
143
143
  transform: translateX(100%);
144
144
  }
145
+ .wui-drawer-panel:dir(rtl) {
146
+ transform: translateX(-100%);
147
+ }
145
148
  &[side="start"] .wui-drawer-panel {
146
- right: auto;
147
- left: 0;
149
+ inset-inline-end: auto;
150
+ inset-inline-start: 0;
148
151
  transform: translateX(-100%);
149
152
  }
153
+ &[side="start"] .wui-drawer-panel:dir(rtl) {
154
+ transform: translateX(100%);
155
+ }
150
156
  .wui-drawer-panel[open]:not([data-wui-closing]),
151
157
  &[side="start"] .wui-drawer-panel[open]:not([data-wui-closing]) {
152
158
  transform: none;
@@ -11,7 +11,7 @@
11
11
  font-variant-numeric: tabular-nums;
12
12
 
13
13
  > .wui-icon {
14
- margin-right: 0.25rem;
14
+ margin-inline-end: 0.25rem;
15
15
  }
16
16
  }
17
17
 
@@ -115,7 +115,7 @@
115
115
  // empty state is author-placed inside a `<td colSpan>`.)
116
116
  .tbl-empty-block {
117
117
  position: sticky;
118
- left: 0;
118
+ inset-inline-start: 0;
119
119
  // = the wrap's visible width (content box of the overflow container), never its scroll width.
120
120
  width: 100%;
121
121
  // `.wui-empty-state-table` / `.tbl-empty-plain` inside own the centring and padding.
@@ -15,6 +15,20 @@
15
15
  max-width: 100%;
16
16
  overflow-x: auto;
17
17
  }
18
+ .wui-entry-grid-scrolls {
19
+ overflow-y: auto;
20
+ overscroll-behavior-y: contain;
21
+ }
22
+ // The whole header sticks, so a group row and the column row stay stacked. It sits above the pinned
23
+ // body cells (z-index 1); its own pinned cell keeps z-index 3 inside the header's layer.
24
+ .wui-entry-grid-scrolls > .wui-entry-grid-table > thead {
25
+ position: sticky;
26
+ top: 0;
27
+ z-index: 2;
28
+ }
29
+ .wui-entry-grid-scrolls > .wui-entry-grid-table > thead th {
30
+ background: var(--color-surface);
31
+ }
18
32
 
19
33
  // Inputs fill their cell; the cell adds no padding around them, so a line reads as one row of fields.
20
34
  .wui-entry-grid-table td:has(input:not([type="checkbox"], [type="radio"]), select, textarea) {
@@ -24,6 +38,15 @@
24
38
  width: 100%;
25
39
  min-width: 0;
26
40
  }
41
+ .wui-entry-grid-table td:has(> wui-select) {
42
+ max-width: 16rem;
43
+ }
44
+ .wui-entry-grid-table td > wui-select {
45
+ display: block;
46
+ width: 100%;
47
+ max-width: 16rem;
48
+ min-width: 0;
49
+ }
27
50
 
28
51
  .wui-entry-grid-status {
29
52
  width: 2rem;
@@ -31,6 +31,12 @@
31
31
  conic-gradient(from var(--wui-busy-angle), transparent 0 30%, var(--color-primary) 30% 100%);
32
32
  animation: wui-field-busy-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
33
33
  }
34
+ .input.wui-field-busy:dir(rtl),
35
+ .textarea.wui-field-busy:dir(rtl),
36
+ .form-control.wui-field-busy:dir(rtl),
37
+ .select.wui-field-busy:dir(rtl) {
38
+ background-position: left 12px center;
39
+ }
34
40
 
35
41
  @media (prefers-reduced-motion: reduce) {
36
42
  .input.wui-field-busy,
@@ -223,7 +223,7 @@ wui-file-viewer:fullscreen {
223
223
  overflow-y: auto;
224
224
  overflow-x: hidden;
225
225
  background: var(--color-surface);
226
- border-right: 1px solid transparent;
226
+ border-inline-end: 1px solid transparent;
227
227
  opacity: 0;
228
228
  transition:
229
229
  width var(--wui-duration-default) var(--wui-ease-ui),
@@ -233,7 +233,7 @@ wui-file-viewer:fullscreen {
233
233
  .wui-file-viewer-thumbs.open {
234
234
  width: 210px;
235
235
  padding: 18px 0;
236
- border-right-color: var(--color-border);
236
+ border-inline-end-color: var(--color-border);
237
237
  opacity: 1;
238
238
  }
239
239
  .wui-file-viewer-thumb {
@@ -357,7 +357,7 @@ wui-file-viewer:fullscreen {
357
357
  margin: 0;
358
358
  color: transparent;
359
359
  white-space: pre;
360
- cursor: text;
360
+ cursor: var(--wui-file-viewer-text-cursor, text);
361
361
  transform-origin: 0 0;
362
362
  }
363
363
  // pdf.js wraps tagged runs in span.markedContent; matched by attribute, since that class is
@@ -417,7 +417,7 @@ wui-file-viewer:fullscreen {
417
417
  // display: none, which can stop a frame's document from laying out and print blank.
418
418
  .wui-file-viewer-print-frame {
419
419
  position: fixed;
420
- right: 0;
420
+ inset-inline-end: 0;
421
421
  bottom: 0;
422
422
  width: 0;
423
423
  height: 0;
@@ -74,8 +74,8 @@
74
74
  position: absolute;
75
75
  // Centred on the badge: half the diameter, minus 1 for the 2px line's own height.
76
76
  top: calc(var(--wui-step-size, 28px) / 2 - 1px);
77
- left: calc(-50% + var(--wui-step-size, 28px) / 2 + 4px);
78
- right: calc(50% + var(--wui-step-size, 28px) / 2 + 4px);
77
+ inset-inline-start: calc(-50% + var(--wui-step-size, 28px) / 2 + 4px);
78
+ inset-inline-end: calc(50% + var(--wui-step-size, 28px) / 2 + 4px);
79
79
  height: 2px;
80
80
  background: var(--wui-step-connector, var(--color-border));
81
81
  z-index: 0;
@@ -86,11 +86,11 @@
86
86
  // The active circle's 4px ring would swallow the 4px gap, so both connectors touching the
87
87
  // active step start 4px further out and keep the same gap from the ring's edge.
88
88
  .step.active + .step::before {
89
- left: calc(-50% + var(--wui-step-size, 28px) / 2 + 8px);
89
+ inset-inline-start: calc(-50% + var(--wui-step-size, 28px) / 2 + 8px);
90
90
  }
91
91
  .step.active + .step::before,
92
92
  .step.active::before {
93
- right: calc(50% + var(--wui-step-size, 28px) / 2 + 8px);
93
+ inset-inline-end: calc(50% + var(--wui-step-size, 28px) / 2 + 8px);
94
94
  }
95
95
  .step-circle {
96
96
  position: relative;
@@ -223,7 +223,7 @@ button.step.done:focus-visible .step-circle {
223
223
  flex-direction: row;
224
224
  align-items: center;
225
225
  gap: 12px;
226
- text-align: left;
226
+ text-align: start;
227
227
  }
228
228
  // The compact variant's connector is absolute and 28px-calibrated; the journey
229
229
  // variant uses a real flex sibling instead, so cancel it.
@@ -355,7 +355,7 @@ button.step.done:focus-visible .step-circle {
355
355
  // base .step gap of 10px is for the horizontal circle→label spacing.
356
356
  row-gap: 0;
357
357
  align-items: start;
358
- text-align: left;
358
+ text-align: start;
359
359
  }
360
360
  // The circle spans the whole text block rather than sitting in the first row: a
361
361
  // row sized to the 28px circle would leave dead space below a single-line label
@@ -391,7 +391,7 @@ button.step.done:focus-visible .step-circle {
391
391
  content: "";
392
392
  position: absolute;
393
393
  // Half the badge minus 1 for the 2px line's own width; runs from below the circle.
394
- left: calc(var(--wui-step-size, 28px) / 2 - 1px);
394
+ inset-inline-start: calc(var(--wui-step-size, 28px) / 2 - 1px);
395
395
  top: var(--wui-step-size, 28px);
396
396
  // Reaches through the 18px inter-step gap to meet the next circle's top; keep
397
397
  // this in sync with the .stepper-vertical `gap`.
@@ -500,8 +500,8 @@ button.step.done:focus-visible .step-circle {
500
500
  // 4px line's own height), and filled with the accent once the step to its left is done.
501
501
  .stepper-icons .step + .step::before {
502
502
  top: calc(var(--wui-step-badge-size, 56px) / 2 - 2px);
503
- left: calc(-50% + var(--wui-step-badge-size, 56px) / 2 + 8px);
504
- right: calc(50% + var(--wui-step-badge-size, 56px) / 2 + 8px);
503
+ inset-inline-start: calc(-50% + var(--wui-step-badge-size, 56px) / 2 + 8px);
504
+ inset-inline-end: calc(50% + var(--wui-step-badge-size, 56px) / 2 + 8px);
505
505
  height: 4px;
506
506
  border-radius: 999px;
507
507
  background: var(--wui-step-connector, var(--color-border));
@@ -528,7 +528,7 @@ button.step.done:focus-visible .step-circle {
528
528
  flex-direction: row;
529
529
  align-items: center;
530
530
  gap: 14px;
531
- text-align: left;
531
+ text-align: start;
532
532
  }
533
533
  // A row has no column gap to pull the description back from.
534
534
  .stepper-icons.stepper-icons .step > .step-label + .step-desc {
@@ -579,12 +579,16 @@ button.step.done:focus-visible .step-circle {
579
579
  border-right: 2px solid var(--wui-step-connector, var(--color-border-strong));
580
580
  transform: rotate(45deg);
581
581
  }
582
+ .wui-step-tile + .wui-step-tile:dir(rtl)::before {
583
+ transform: rotate(225deg);
584
+ }
582
585
  .wui-step-tile-body {
583
586
  display: flex;
584
587
  align-items: center;
585
588
  gap: 10px;
586
589
  min-width: 0;
587
- padding: 4px 8px 4px 0;
590
+ padding-block: var(--wui-space-xs);
591
+ padding-inline: 0 8px;
588
592
  border: 0;
589
593
  border-radius: var(--wui-radius-md);
590
594
  background: none;
@@ -704,18 +708,18 @@ button.wui-step-tile-body:hover .step-label {
704
708
  .wui-stepper-start:not(.stepper-vertical, .stepper-journey, .stepper-icons, .wui-step-tiles) {
705
709
  .step {
706
710
  align-items: flex-start;
707
- text-align: left;
711
+ text-align: start;
708
712
  }
709
713
  .step + .step::before {
710
- left: calc(-100% + var(--wui-step-size, 28px) + 4px);
711
- right: calc(100% + 4px);
714
+ inset-inline-start: calc(-100% + var(--wui-step-size, 28px) + 4px);
715
+ inset-inline-end: calc(100% + 4px);
712
716
  }
713
717
  // The active badge's 4px ring would swallow the gap, so the lines touching it start further out.
714
718
  .step.active + .step::before {
715
- left: calc(-100% + var(--wui-step-size, 28px) + 8px);
719
+ inset-inline-start: calc(-100% + var(--wui-step-size, 28px) + 8px);
716
720
  }
717
721
  .step.active::before {
718
- right: calc(100% + 8px);
722
+ inset-inline-end: calc(100% + 8px);
719
723
  }
720
724
  }
721
725
  // Below md the icons stepper stacks into a list, which needs no alignment change.
@@ -723,11 +727,11 @@ button.wui-step-tile-body:hover .step-label {
723
727
  .wui-stepper-start.stepper-icons:not(.stepper-vertical) {
724
728
  .step {
725
729
  align-items: flex-start;
726
- text-align: left;
730
+ text-align: start;
727
731
  }
728
732
  .step + .step::before {
729
- left: calc(-100% + var(--wui-step-badge-size, 56px) + 8px);
730
- right: calc(100% + 8px);
733
+ inset-inline-start: calc(-100% + var(--wui-step-badge-size, 56px) + 8px);
734
+ inset-inline-end: calc(100% + 8px);
731
735
  }
732
736
  }
733
737
  }
@@ -1034,7 +1038,7 @@ button.wui-step-tile-body:hover .step-label {
1034
1038
  .repeater-row-label {
1035
1039
  flex: 0 0 100%;
1036
1040
  min-height: 24px;
1037
- padding-right: 44px;
1041
+ padding-inline-end: 44px;
1038
1042
  font-size: 12px;
1039
1043
  font-weight: 600;
1040
1044
  line-height: 1.4;
@@ -1073,7 +1077,7 @@ button.wui-step-tile-body:hover .step-label {
1073
1077
  // reads as part of the band rather than pinned to the corner.
1074
1078
  position: absolute;
1075
1079
  top: 12px;
1076
- right: 12px;
1080
+ inset-inline-end: 12px;
1077
1081
  }
1078
1082
  .repeater-add {
1079
1083
  align-self: flex-start;
@@ -1190,7 +1194,7 @@ button.wui-step-tile-body:hover .step-label {
1190
1194
  }
1191
1195
  // A checkbox or switch has its label after the box; line the box up with the controls.
1192
1196
  .wui-form-labels-start .form-row-grid > .form-check {
1193
- margin-left: calc(var(--wui-form-label-width) + 20px);
1197
+ margin-inline-start: calc(var(--wui-form-label-width) + 20px);
1194
1198
  }
1195
1199
  }
1196
1200