@webority/theme 0.152.0 → 0.154.0

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 (114) hide show
  1. package/README.md +45 -17
  2. package/dist/purge-safelist.json +2 -0
  3. package/dist/webority-theme.css +1 -1
  4. package/dist/webority-tokens.css +1 -1
  5. package/index.scss +11 -13
  6. package/package.json +3 -3
  7. package/scss/_bootstrap-css.scss +40 -0
  8. package/scss/_bootstrap.generated.scss +1 -2
  9. package/scss/_components.scss +19 -3
  10. package/scss/_config.scss +16 -0
  11. package/scss/_marketing.scss +5 -5
  12. package/scss/_tokens.generated.scss +7 -6
  13. package/scss/_tokens.scss +3 -3
  14. package/scss/_variables.scss +14 -36
  15. package/scss/_wui-components.scss +91 -95
  16. package/scss/_wui-core.scss +80 -84
  17. package/scss/wui/_account-switcher.scss +2 -0
  18. package/scss/wui/_auth-layout.scss +2 -0
  19. package/scss/wui/_avatar-picker.scss +2 -0
  20. package/scss/wui/_calendar.scss +2 -0
  21. package/scss/wui/_card-options.scss +2 -0
  22. package/scss/wui/_card.scss +3 -1
  23. package/scss/wui/_carousel.scss +2 -0
  24. package/scss/wui/_cell.scss +2 -0
  25. package/scss/wui/_chart-card.scss +2 -0
  26. package/scss/wui/_chart.scss +2 -0
  27. package/scss/wui/_choice.scss +2 -0
  28. package/scss/wui/_code-block.scss +2 -0
  29. package/scss/wui/_command-palette.scss +2 -0
  30. package/scss/wui/_comment-thread.scss +2 -0
  31. package/scss/wui/_compare-table.scss +2 -0
  32. package/scss/wui/_consent-banner.scss +2 -0
  33. package/scss/wui/_context-menu.scss +2 -0
  34. package/scss/wui/_controls.scss +3 -3
  35. package/scss/wui/_data.scss +2 -0
  36. package/scss/wui/_detail-pane.scss +2 -0
  37. package/scss/wui/_dialog-motion.scss +2 -0
  38. package/scss/wui/_disclosure.scss +2 -0
  39. package/scss/wui/_display.scss +44 -0
  40. package/scss/wui/_dock.scss +2 -0
  41. package/scss/wui/_drawer.scss +2 -0
  42. package/scss/wui/_due-date.scss +2 -0
  43. package/scss/wui/_empty-state.scss +2 -0
  44. package/scss/wui/_field-busy.scss +2 -0
  45. package/scss/wui/_field-floor.scss +2 -0
  46. package/scss/wui/_field-sizes.scss +2 -0
  47. package/scss/wui/_file-tiles.scss +2 -0
  48. package/scss/wui/_file-viewer.scss +6 -2
  49. package/scss/wui/_filter-popover.scss +2 -0
  50. package/scss/wui/_floating.scss +2 -0
  51. package/scss/wui/_flow.scss +2 -0
  52. package/scss/wui/_groups.scss +2 -0
  53. package/scss/wui/_hover-card.scss +2 -0
  54. package/scss/wui/_illustration.scss +2 -0
  55. package/scss/wui/_image-crop.scss +2 -0
  56. package/scss/wui/_inline-edit.scss +2 -0
  57. package/scss/wui/_interaction.scss +2 -0
  58. package/scss/wui/_kanban.scss +2 -0
  59. package/scss/wui/_lightbox.scss +2 -0
  60. package/scss/wui/_list-card.scss +2 -0
  61. package/scss/wui/_markdown.scss +4 -1
  62. package/scss/wui/_media.scss +2 -0
  63. package/scss/wui/_mention-input.scss +2 -0
  64. package/scss/wui/_menu-motion.scss +2 -0
  65. package/scss/wui/_metric-strip.scss +2 -0
  66. package/scss/wui/_modal-remote.scss +2 -0
  67. package/scss/wui/_money.scss +2 -0
  68. package/scss/wui/_nav-list.scss +2 -0
  69. package/scss/wui/_navigation-menu.scss +2 -0
  70. package/scss/wui/_navigation.scss +2 -0
  71. package/scss/wui/_notification-center.scss +2 -0
  72. package/scss/wui/_onboarding-checklist.scss +2 -0
  73. package/scss/wui/_org-tree.scss +2 -0
  74. package/scss/wui/_overlays.scss +2 -0
  75. package/scss/wui/_page-header-bar.scss +2 -0
  76. package/scss/wui/_pagination.scss +2 -0
  77. package/scss/wui/_pending.scss +2 -0
  78. package/scss/wui/_period-picker.scss +2 -0
  79. package/scss/wui/_rating.scss +2 -0
  80. package/scss/wui/_record-pager.scss +2 -0
  81. package/scss/wui/_relative-time.scss +2 -0
  82. package/scss/wui/_resizable.scss +2 -0
  83. package/scss/wui/_rich-text.scss +9 -3
  84. package/scss/wui/_rolling-number.scss +2 -0
  85. package/scss/wui/_score-scale.scss +2 -0
  86. package/scss/wui/_scrollbar.scss +2 -0
  87. package/scss/wui/_section-lead-capture.scss +2 -0
  88. package/scss/wui/_sections.scss +3 -0
  89. package/scss/wui/_select.scss +2 -0
  90. package/scss/wui/_shell-parts.scss +2 -0
  91. package/scss/wui/_shell.scss +2 -0
  92. package/scss/wui/_shortcuts.scss +2 -0
  93. package/scss/wui/_show-more.scss +2 -0
  94. package/scss/wui/_sortable.scss +2 -0
  95. package/scss/wui/_split-view.scss +2 -0
  96. package/scss/wui/_support.scss +2 -0
  97. package/scss/wui/_table-server.scss +2 -0
  98. package/scss/wui/_theme-toggle.scss +2 -0
  99. package/scss/wui/_tone-pill.scss +2 -0
  100. package/scss/wui/_toolbar.scss +2 -0
  101. package/scss/wui/_tour.scss +9 -9
  102. package/scss/wui/_tree.scss +2 -0
  103. package/scss/wui/_truncate.scss +2 -0
  104. package/scss/wui/_typography.scss +3 -0
  105. package/scss/wui/_utilities.scss +2 -0
  106. package/scss/wui/_whats-new.scss +2 -0
  107. package/scss/wui/_workspace.scss +2 -0
  108. package/scss/wui/tour/_advance.scss +2 -0
  109. package/scss/wui/tour/_base.scss +2 -0
  110. package/scss/wui/tour/_end.scss +2 -0
  111. package/scss/wui/tour/_media.scss +2 -0
  112. package/scss/wui/tour/_motion.scss +2 -0
  113. package/scss/wui/tour/_placement.scss +2 -0
  114. package/scss/wui/tour/_progress.scss +2 -0
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Prefer .wui-* for new chrome; legacy bare names here are frozen until a BREAKING rename.
2
4
  // Base table, ledger table, toolbar and filter bar. The empty state is in _empty-state.scss, the pager in _pagination.scss.
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppDetailPane / <app-detail-pane>: an in-page detail column beside a list, filled by WUI.pane.load.
2
4
 
3
5
  .wui-detail-pane {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Dialog open motion ──
2
4
  // Every Bootstrap modal (AppModal, the Ctrl+K palette and search, Razor <app-modal>, confirm
3
5
  // dialogs) opens with the same soft zoom the menus use: a fade in from 95% size, no bounce.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Accordion / FAQ list.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // KPI tile, info list, segmented, colour field, timeline, compare table, resource card.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -464,6 +466,7 @@ a.kpi:focus-visible {
464
466
  column-gap: 16px;
465
467
  row-gap: 2px;
466
468
  align-items: center;
469
+ position: relative;
467
470
  padding: 16px 0;
468
471
  border-top: none;
469
472
  border-bottom: 1px solid var(--color-border);
@@ -494,6 +497,23 @@ a.kpi:focus-visible {
494
497
  white-space: nowrap;
495
498
  word-break: normal;
496
499
  }
500
+ // The row's one link stretches over the whole row (icon, label, value) and stays a single focus stop. An anchor cannot wrap dt and dd inside a dl, so the link stays in the value.
501
+ .wui-descs-list .wui-descs-link::after {
502
+ content: "";
503
+ position: absolute;
504
+ inset: 0;
505
+ }
506
+ .wui-descs-list .wui-descs-link:focus-visible {
507
+ outline: none;
508
+ }
509
+ .wui-descs-list .wui-descs-link:focus-visible::after {
510
+ outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
511
+ outline-offset: var(--wui-focus-ring-offset);
512
+ }
513
+ .wui-descs-list .descs-item:has(.wui-descs-link):hover .wui-descs-link {
514
+ color: var(--color-primary-text);
515
+ text-decoration: underline;
516
+ }
497
517
 
498
518
  // ============================================================================
499
519
  // Segmented control: 2 to 4 mutually exclusive options shown side by side.
@@ -670,6 +690,30 @@ a.kpi:focus-visible {
670
690
  padding: 4px 16px;
671
691
  font-size: 14px;
672
692
  }
693
+ // An option with a phone label (the period picker's "30d") shows it below sm, where the full
694
+ // labels would overflow; the full label stays in the accessibility tree at every width.
695
+ .wui-segmented-label-full {
696
+ position: absolute;
697
+ width: 1px;
698
+ height: 1px;
699
+ margin: -1px;
700
+ overflow: hidden;
701
+ clip-path: inset(50%);
702
+ white-space: nowrap;
703
+ }
704
+ @include media-breakpoint-up(sm) {
705
+ .wui-segmented-label-full {
706
+ position: static;
707
+ width: auto;
708
+ height: auto;
709
+ margin: 0;
710
+ overflow: visible;
711
+ clip-path: none;
712
+ }
713
+ .wui-segmented-label-short {
714
+ display: none;
715
+ }
716
+ }
673
717
  // Full width — segments share the row equally (a toggle spanning a card or toolbar).
674
718
  .segmented-full {
675
719
  display: flex;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Floating dock ──
2
4
  // AppFloatingDock / <app-floating-dock> / <wui-dock> — a macOS-style pill of icon
3
5
  // links. The element writes --wui-dock-mag (1 → max-scale) per item on pointermove;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Drawer ──
2
4
  // AppDrawer / <app-drawer> (a <wui-drawer> element): a side drawer from md up, a bottom sheet
3
5
  // below it, or a side drawer at every width when it is `no-sheet`. The sheet is as tall as its highest snap point (`--wui-drawer-max`, percent of the
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Due date ──
2
4
  // AppDueDate / <app-due-date> (a <wui-due-date> element): a due date that never wraps. An overdue
3
5
  // date reads in danger with its glyph, a date within soon-days reads "N days left" in warning.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Empty state: the card look, the table-body look and the sibling placement under a data table.
2
4
  //
3
5
  // Part of the wui-components layer; imported right before _data.scss, where these rules sat. Order within the layer is load-bearing (see _wui-components.scss).
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // The busy state of a form field (React loading, Razor loading, <wui-*> loading). Part of the wui-components layer, see _wui-components.scss for load order.
2
4
 
3
5
  @property --wui-busy-angle {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Under 16px iOS Safari zooms the whole page when a text field takes focus.
2
4
  // This partial loads after every component partial (`_wui-components.scss`),
3
5
  // so each restated rule shares the library rule's specificity and wins by
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Size steps for fields that had none: textarea, checkbox, switch, OTP. Part of the wui-components layer, see _wui-components.scss for load order.
2
4
 
3
5
  // .textarea sets its own padding and height after .input-sm/.input-lg, so the shared step classes
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppFileTiles / <app-file-tiles>: a read-only grid of file tiles with a type tile, name, size and meta line.
2
4
 
3
5
  .wui-file-tiles {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── File viewer ──
2
4
  // AppFileViewer / <app-file-viewer> / <wui-file-viewer>: a file shown inside the page, with a
3
5
  // toolbar above it. The element builds the markup and the PDF pages; everything visual is here.
@@ -369,7 +371,8 @@ wui-file-viewer:fullscreen {
369
371
  // A search hit inside a text run sits in the run's flow, not positioned like the runs themselves.
370
372
  // The text is transparent over the drawing, so the hit is a see-through tint: an opaque one
371
373
  // would hide the words it marks.
372
- .wui-file-viewer-text mark.wui-file-viewer-hit {
374
+ .wui-file-viewer-text mark.wui-file-viewer-hit,
375
+ .wui-file-viewer-text .wui-file-viewer-hit.mark {
373
376
  position: static;
374
377
  margin: -1px;
375
378
  padding: 1px;
@@ -377,7 +380,8 @@ wui-file-viewer:fullscreen {
377
380
  color: transparent;
378
381
  background: color-mix(in srgb, var(--color-warning) 40%, transparent);
379
382
  }
380
- .wui-file-viewer-text mark.wui-file-viewer-hit-current {
383
+ .wui-file-viewer-text mark.wui-file-viewer-hit-current,
384
+ .wui-file-viewer-text .wui-file-viewer-hit-current.mark {
381
385
  background: color-mix(in srgb, var(--color-primary) 45%, transparent);
382
386
  box-shadow: 0 0 0 1px var(--color-primary);
383
387
  }
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // The floating filter panel: <wui-filter-popover> with its Filters button, drawn by AppFilterBar
2
4
  // `floating` and <app-filter-bar floating>. The element places the panel (anchorOverlay, fixed), so
3
5
  // this partial only draws it: a panel sized to its facets with a head (title and the Keep open switch),
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Floating stack ──
2
4
  // The one fixed corner container the compact floating buttons (AppFloatingButton: the chat launcher, the report-an-issue
3
5
  // button) portal into, so they stack with a gap and never overlap or need a hand-set offset. React's
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Wizard stepper, pricing card, form repeater.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Joined controls ──
2
4
  // AppButtonGroup / <app-button-group> (`.wui-btn-group`, on Bootstrap's `.btn-group`),
3
5
  // AppSplitButton / <app-split-button> (`.wui-split-button`: a main button and a menu chevron) and
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Hover card ──
2
4
  // AppHoverCard / <app-hover-card> (a <wui-hover-card> element): a small preview card beside a name or
3
5
  // record link. The element shows the panel with [data-open] (never a class or the hidden attribute,
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Illustrations ──
2
4
  // The empty-state illustration set (AppEmptyState `illustration`, <app-empty-state
3
5
  // illustration>): decorative SVG drawn only with these classes, so every colour is a theme token and
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Image crop ──
2
4
  // <wui-image-crop>: the crop surface AppImagePicker (and its Razor tag) shows in a dialog before
3
5
  // upload. The image is fitted into the stage; the frame is positioned by the element (inline
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Inline edit ──
2
4
  // AppInlineEdit / <app-inline-edit> / <wui-inline-edit>. The value reads as plain text with a
3
5
  // pencil that shows on hover and focus; while editing, the element swaps it for the library
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Focus ring and pressed state ──
2
4
  // The one keyboard focus ring and the one pressed wash, for every control the library draws.
3
5
  // The recipe is tokens in _tokens.generated.scss: an outline of --wui-focus-ring-width in
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Kanban board ──
2
4
  // AppKanban / <app-kanban> over <wui-kanban>. The library owns the column shell, the card shell
3
5
  // and every drag state; card CONTENT is the product's. State lives in data attributes the element
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Lightbox ──
2
4
  // AppLightbox / <app-lightbox> (a <wui-lightbox> element): a gallery of thumbnails that open
3
5
  // full screen with zoom, previous and next, a caption and a download. The element builds the
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── List card ──
2
4
  // <app-list-card>: the frame of a list page. Its filter row sits between the header and the
3
5
  // table with the header's side inset, so filters line up with the title.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Markdown: the <wui-markdown class="wui-markdown"> element that draws a brief, a comment or a work-item
2
4
  // text. The root is the element, not a div: Razor <app-markdown> writes it, and the element draws the
3
5
  // blocks inside it.
@@ -31,7 +33,8 @@
31
33
  .wui-markdown p {
32
34
  margin: 0 0 0.75em;
33
35
  }
34
- .wui-markdown h2 {
36
+ .wui-markdown h2,
37
+ .wui-markdown .h2 {
35
38
  margin: 1em 0 0.5em;
36
39
  color: var(--color-text);
37
40
  font-size: 1.25em;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Avatar, file attach, file picker, logo picker.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Mention input ──
2
4
  // AppMentionInput / <app-mention-input> / <wui-mention-input>, also the boxes of a comment thread.
3
5
  // A textarea where "@" opens a fixed list of people under the box, placed by the element
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Menu open motion ──
2
4
  // One entrance for every menu-like overlay: Bootstrap dropdown menus (AppDropdown,
3
5
  // AppWorkspaceSwitcher), popovers (AppPopover), and every portalled wui-* panel
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ============================================================================
2
4
  // Metric strip: a row of linked values, each a label over a value over a note.
3
5
  // No card chrome. Markup and classes are the same for <app-metric-strip> and
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Server-loaded modal: loading skeleton, error state and the submit-failure alert. The fullscreen
2
4
  // size lives with the modal itself in _overlays.scss, since a page modal uses it too.
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Money ──
2
4
  // <app-money>: an amount in rupees; tabular figures so a column of amounts lines up.
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppNavList / <app-nav-list>: a page-level rail of links with icons or dots, counts and a tinted current row.
2
4
  // The current row is tinted by the primary soft fill and its text takes the AA primary text colour. Every colour is a theme token.
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Navigation menu ──
2
4
  // AppNavigationMenu / <app-navigation-menu> (a <wui-navigation-menu> element): a site's top
3
5
  // navigation. An entry is a link or a button that discloses a panel of links; the panel opens on
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Drawer / sidebar menu, tabs, search field.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Notification centre ──
2
4
  // AppNotificationCenter / <app-notification-center> (a <wui-notification-center> element): a bell
3
5
  // with an unread count that opens a panel of notifications grouped by day. The element shows the
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Onboarding checklist ──
2
4
  // AppOnboardingChecklist / <app-onboarding-checklist> / <wui-onboarding-checklist>: a first-run
3
5
  // setup card. A heading that collapses the steps, a close icon, a bar of one segment per step and
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Org tree ──
2
4
  // AppOrgTree / <app-org-tree> over <wui-org-tree>. Each surface draws the markup; this partial draws
3
5
  // it as an inverted org chart: root on top, reports in a row below, connector lines in the border
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Prefer .wui-* for new chrome; legacy bare names here are frozen until a BREAKING rename.
2
4
  // Modal, confirm dialog.
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Bar ── (`size="bar"`): one 40px header row. The breadcrumbs lead as an inline prefix. The
2
4
  // title keeps its content width and a spacer takes the spare width, so the views follow the title
3
5
  // and the tools and actions sit at the far end. Below md the row wraps, so the actions drop under
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Pager: the table-footer and standalone page controls.
2
4
  //
3
5
  // Part of the wui-components layer; imported right after _data.scss. Order within the layer is load-bearing (see _wui-components.scss).
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // A field element is undefined until its script runs: wui-select until the page script at the end of
2
4
  // the body, an on-demand element (packages/elements src/global/chunks.js) one request after that. Until
3
5
  // then it keeps its field height and hides its option children, so the field does not jump or flash
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Period picker ──
2
4
  // <app-period-picker>: the period filter of a report or list page. The month kind is two arrows
3
5
  // around a fixed-width label, so the arrows stay put as the month name changes.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Rating ──
2
4
  // AppRating / <app-rating>: a 1 to N star input (a <wui-rating> radiogroup) or a read-only display.
3
5
  // Each star is an outline glyph with a bold copy on top, clipped to the filled share of its width.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Record pager ──
2
4
  // AppRecordPager / <app-record-pager> (a <wui-record-pager> element): "12 of 47" and the
3
5
  // previous and next action icons, in a detail page's header actions or a split view's pane header.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Relative time ──
2
4
  // AppRelativeTime / <app-relative-time> (a <wui-relative-time> element): "5 minutes ago" with the
3
5
  // exact IST time as the tooltip.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Resizable panels ──
2
4
  // AppResizable / <app-resizable> (a <wui-resizable> element): panels side by side or stacked with a
3
5
  // handle between each pair. The element writes each panel's `flex` (a share of the room the panels
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Rich text: the <wui-rich-text> element behind AppRichText / <app-rich-text>.
2
4
  //
3
5
  // Part of the wui-components layer; see _wui-components.scss for the load order. The shell wears the
@@ -237,16 +239,20 @@ wui-rich-text[readonly] .wui-rich-text-prose {
237
239
  margin: 0 0 0.75em;
238
240
  }
239
241
  .wui-rich-text-prose h2,
240
- .wui-rich-text-prose h3 {
242
+ .wui-rich-text-prose .h2,
243
+ .wui-rich-text-prose h3,
244
+ .wui-rich-text-prose .h3 {
241
245
  margin: 1em 0 0.5em;
242
246
  font-weight: 600;
243
247
  line-height: 1.3;
244
248
  color: var(--color-text);
245
249
  }
246
- .wui-rich-text-prose h2 {
250
+ .wui-rich-text-prose h2,
251
+ .wui-rich-text-prose .h2 {
247
252
  font-size: 1.25em;
248
253
  }
249
- .wui-rich-text-prose h3 {
254
+ .wui-rich-text-prose h3,
255
+ .wui-rich-text-prose .h3 {
250
256
  font-size: 1.1em;
251
257
  }
252
258
  .wui-rich-text-prose ul,
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Rolling number ──
2
4
  // AppRollingNumber / <app-rolling-number> (a <wui-rolling-number> element): a figure whose digits
3
5
  // roll to a new value. The element draws one reel (digits 0 to 9, stacked) per digit in the
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Score scale ──
2
4
  // AppScoreScale / <app-score-scale>: one value per radio on a row of equal-width items that wraps on narrow screens.
3
5
  // Each value is a label around a visually hidden native radio, so the arrow keys and the checked state come from the browser.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppScrollbar / opt-in internal scrollers — same tokens as the document rail
2
4
  // (--wui-scrollbar*). Document chrome lives on html/body only; use this class
3
5
  // for panels, drawers, and modal bodies that need a matching thin thumb.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Lead capture section of a marketing page (AppSectionLeadCapture).
2
4
  //
3
5
  // Part of the wui-components layer; imported after _sections.scss. Order within the layer is load-bearing (see _wui-components.scss).
@@ -1,3 +1,6 @@
1
+ @use "../config" as *;
2
+ @use "tone-pill" as *;
3
+
1
4
  // ── Section kit ──
2
5
  // AppSection* / <app-section-*>: the hero, features, logos, testimonials, pricing, FAQ and call to
3
6
  // action sections of a public page. One frame for all seven:
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // The select family: <wui-select> in every mode (single, multiple, search, tag, country),
2
4
  // its menu and its parts (chips, draft input, option rows).
3
5
 
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Shell parts: notification bell, topbar search, phone tab bar, user menu.
2
4
  //
3
5
  // Part of the wui-components layer; imported after its base partial (see _wui-components.scss).
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Splash / boot loader, persistent app shell.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Keyboard shortcuts ──
2
4
  // `.wui-kbd` is the key chip of a shortcut: the `shortcut` prop on AppButton, AppTooltip and
3
5
  // AppDropdown items (and their Razor `shortcut` attribute), and every row of a legend.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Show more ──
2
4
  // AppShowMore / <app-show-more> (a <wui-show-more> element): a long text block clamped to a few
3
5
  // lines with a Show more toggle. The clamp is visual only, so the full text stays readable by
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Sortable list ──
2
4
  // AppSortableList / <app-sortable-list> / <wui-sortable>. The element moves the real items
3
5
  // while the person drags and shows a `.wui-sortable-ghost` copy under the pointer; everything
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Split view ──
2
4
  // AppSplitView / <app-split-view>: a list beside a reading pane. Mobile-first: one screen at a
3
5
  // time (the list, or the pane once an item is open, `.wui-split-reading`) until the tier in
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ============================================================================
2
4
  // Help desk (@webority/support-react): the ticket list toolbar and subject cell,
3
5
  // and the ticket page's reply rows and composer. Everything else on those pages
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Server-paged data table: loading, empty and error states, the busy dim and the server sort affordance.
2
4
  //
3
5
  // Part of the wui-components layer; imported after its base partial (see _wui-components.scss).
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppThemeToggle / <app-theme-toggle>: the light/dark switch and its page-wide transition.
2
4
  //
3
5
  // The button is the .u-action disc (see _data.scss). While a switch runs, the page is a View
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Shared tone-pill color mixin ──
2
4
  // Consolidates the tone→color mapping used by .badge, .status-label, and .chip:
3
5
  // background: var(--color-{tone}-soft)
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Toolbar ──
2
4
  // AppToolbar / <app-toolbar> — a Figma-style tool strip: a pill of icon tools where
3
5
  // the active tool expands to reveal its label. Radio-backed (no JS needed on Razor);
@@ -1,18 +1,18 @@
1
1
  // ── Product tour ──
2
2
  // AppTour / <app-tour> / <wui-tour>. The one entry for every tour rule: the partials under
3
3
  // wui/tour/ hold one concern each, matching the element's modules (tourMotion.js, tourProgress.js,
4
- // tourPlacement.js, tourMedia.js, tourAdvance.js, tourEnd.js). Nothing else imports them, so the
5
- // tour's styles move as a whole by moving this one import.
4
+ // tourPlacement.js, tourMedia.js, tourAdvance.js, tourEnd.js). Nothing else loads them, so the
5
+ // tour's styles move as a whole by moving this one @use.
6
6
  //
7
7
  // Isolated tours carry a sealed copy of every .wui-tour-* rule (packages/elements/src/tourIsolated.js),
8
8
  // and a test pins that copy to the compiled theme.
9
9
  //
10
10
  // Part of the wui-components layer, see _wui-components.scss for load order.
11
11
 
12
- @import "tour/base";
13
- @import "tour/motion";
14
- @import "tour/progress";
15
- @import "tour/placement";
16
- @import "tour/media";
17
- @import "tour/advance";
18
- @import "tour/end";
12
+ @use "tour/base";
13
+ @use "tour/motion";
14
+ @use "tour/progress";
15
+ @use "tour/placement";
16
+ @use "tour/media";
17
+ @use "tour/advance";
18
+ @use "tour/end";
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Tree view ──
2
4
  // AppTreeView / <app-tree-view> / <wui-tree>: a hierarchy in the WAI-ARIA tree pattern. The element
3
5
  // draws the markup and keeps the state on ARIA attributes (aria-expanded on an item,