@webority/theme 0.152.0 → 0.153.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 (111) hide show
  1. package/README.md +43 -17
  2. package/index.scss +11 -13
  3. package/package.json +3 -3
  4. package/scss/_bootstrap-css.scss +40 -0
  5. package/scss/_bootstrap.generated.scss +1 -2
  6. package/scss/_components.scss +19 -3
  7. package/scss/_config.scss +16 -0
  8. package/scss/_marketing.scss +5 -5
  9. package/scss/_tokens.generated.scss +1 -1
  10. package/scss/_tokens.scss +3 -3
  11. package/scss/_variables.scss +13 -35
  12. package/scss/_wui-components.scss +91 -95
  13. package/scss/_wui-core.scss +80 -84
  14. package/scss/wui/_account-switcher.scss +2 -0
  15. package/scss/wui/_auth-layout.scss +2 -0
  16. package/scss/wui/_avatar-picker.scss +2 -0
  17. package/scss/wui/_calendar.scss +2 -0
  18. package/scss/wui/_card-options.scss +2 -0
  19. package/scss/wui/_card.scss +3 -1
  20. package/scss/wui/_carousel.scss +2 -0
  21. package/scss/wui/_cell.scss +2 -0
  22. package/scss/wui/_chart-card.scss +2 -0
  23. package/scss/wui/_chart.scss +2 -0
  24. package/scss/wui/_choice.scss +2 -0
  25. package/scss/wui/_code-block.scss +2 -0
  26. package/scss/wui/_command-palette.scss +2 -0
  27. package/scss/wui/_comment-thread.scss +2 -0
  28. package/scss/wui/_compare-table.scss +2 -0
  29. package/scss/wui/_consent-banner.scss +2 -0
  30. package/scss/wui/_context-menu.scss +2 -0
  31. package/scss/wui/_controls.scss +3 -3
  32. package/scss/wui/_data.scss +2 -0
  33. package/scss/wui/_detail-pane.scss +2 -0
  34. package/scss/wui/_dialog-motion.scss +2 -0
  35. package/scss/wui/_disclosure.scss +2 -0
  36. package/scss/wui/_display.scss +2 -0
  37. package/scss/wui/_dock.scss +2 -0
  38. package/scss/wui/_drawer.scss +2 -0
  39. package/scss/wui/_due-date.scss +2 -0
  40. package/scss/wui/_empty-state.scss +2 -0
  41. package/scss/wui/_field-busy.scss +2 -0
  42. package/scss/wui/_field-floor.scss +2 -0
  43. package/scss/wui/_field-sizes.scss +2 -0
  44. package/scss/wui/_file-tiles.scss +2 -0
  45. package/scss/wui/_file-viewer.scss +6 -2
  46. package/scss/wui/_filter-popover.scss +2 -0
  47. package/scss/wui/_floating.scss +2 -0
  48. package/scss/wui/_flow.scss +2 -0
  49. package/scss/wui/_groups.scss +2 -0
  50. package/scss/wui/_hover-card.scss +2 -0
  51. package/scss/wui/_illustration.scss +2 -0
  52. package/scss/wui/_image-crop.scss +2 -0
  53. package/scss/wui/_inline-edit.scss +2 -0
  54. package/scss/wui/_interaction.scss +2 -0
  55. package/scss/wui/_kanban.scss +2 -0
  56. package/scss/wui/_lightbox.scss +2 -0
  57. package/scss/wui/_list-card.scss +2 -0
  58. package/scss/wui/_markdown.scss +4 -1
  59. package/scss/wui/_media.scss +2 -0
  60. package/scss/wui/_mention-input.scss +2 -0
  61. package/scss/wui/_menu-motion.scss +2 -0
  62. package/scss/wui/_metric-strip.scss +2 -0
  63. package/scss/wui/_modal-remote.scss +2 -0
  64. package/scss/wui/_money.scss +2 -0
  65. package/scss/wui/_nav-list.scss +2 -0
  66. package/scss/wui/_navigation-menu.scss +2 -0
  67. package/scss/wui/_navigation.scss +2 -0
  68. package/scss/wui/_notification-center.scss +2 -0
  69. package/scss/wui/_onboarding-checklist.scss +2 -0
  70. package/scss/wui/_org-tree.scss +2 -0
  71. package/scss/wui/_overlays.scss +2 -0
  72. package/scss/wui/_page-header-bar.scss +2 -0
  73. package/scss/wui/_pagination.scss +2 -0
  74. package/scss/wui/_pending.scss +2 -0
  75. package/scss/wui/_period-picker.scss +2 -0
  76. package/scss/wui/_rating.scss +2 -0
  77. package/scss/wui/_record-pager.scss +2 -0
  78. package/scss/wui/_relative-time.scss +2 -0
  79. package/scss/wui/_resizable.scss +2 -0
  80. package/scss/wui/_rich-text.scss +9 -3
  81. package/scss/wui/_rolling-number.scss +2 -0
  82. package/scss/wui/_score-scale.scss +2 -0
  83. package/scss/wui/_scrollbar.scss +2 -0
  84. package/scss/wui/_section-lead-capture.scss +2 -0
  85. package/scss/wui/_sections.scss +3 -0
  86. package/scss/wui/_select.scss +2 -0
  87. package/scss/wui/_shell-parts.scss +2 -0
  88. package/scss/wui/_shell.scss +2 -0
  89. package/scss/wui/_shortcuts.scss +2 -0
  90. package/scss/wui/_show-more.scss +2 -0
  91. package/scss/wui/_sortable.scss +2 -0
  92. package/scss/wui/_split-view.scss +2 -0
  93. package/scss/wui/_support.scss +2 -0
  94. package/scss/wui/_table-server.scss +2 -0
  95. package/scss/wui/_theme-toggle.scss +2 -0
  96. package/scss/wui/_tone-pill.scss +2 -0
  97. package/scss/wui/_toolbar.scss +2 -0
  98. package/scss/wui/_tour.scss +9 -9
  99. package/scss/wui/_tree.scss +2 -0
  100. package/scss/wui/_truncate.scss +2 -0
  101. package/scss/wui/_typography.scss +3 -0
  102. package/scss/wui/_utilities.scss +2 -0
  103. package/scss/wui/_whats-new.scss +2 -0
  104. package/scss/wui/_workspace.scss +2 -0
  105. package/scss/wui/tour/_advance.scss +2 -0
  106. package/scss/wui/tour/_base.scss +2 -0
  107. package/scss/wui/tour/_end.scss +2 -0
  108. package/scss/wui/tour/_media.scss +2 -0
  109. package/scss/wui/tour/_motion.scss +2 -0
  110. package/scss/wui/tour/_placement.scss +2 -0
  111. package/scss/wui/tour/_progress.scss +2 -0
@@ -11,102 +11,98 @@
11
11
  // layer is absent.
12
12
  // ============================================================================
13
13
 
14
- // Shared tone-pill mixin — used by .badge, .status-label, and .chip.
15
- // Must be imported before components that use it.
16
- @import "wui/tone-pill";
17
-
18
14
  // The order below is LOAD-BEARING. A later partial may deliberately override an
19
- // earlier one, so reordering these imports silently changes the cascade — and
15
+ // earlier one, so reordering these @use lines silently changes the cascade — and
20
16
  // nothing in the build will complain. `pnpm check:theme` measures the rules that
21
17
  // have to win against Bootstrap; the rest is guarded by review.
22
- @import "wui/controls";
23
- @import "wui/pending";
24
- @import "wui/choice";
25
- @import "wui/select";
26
- @import "wui/media";
27
- @import "wui/file-tiles";
28
- @import "wui/avatar-picker";
29
- @import "wui/navigation";
30
- @import "wui/nav-list";
31
- @import "wui/card";
32
- @import "wui/card-options";
33
- @import "wui/empty-state";
34
- @import "wui/data";
35
- @import "wui/pagination";
36
- @import "wui/illustration";
37
- @import "wui/table-server";
38
- @import "wui/inline-edit";
39
- @import "wui/mention-input";
40
- @import "wui/comment-thread";
41
- @import "wui/support";
42
- @import "wui/overlays";
43
- @import "wui/drawer";
44
- @import "wui/modal-remote";
45
- @import "wui/utilities";
46
- @import "wui/typography";
47
- @import "wui/disclosure";
48
- @import "wui/display";
49
- @import "wui/compare-table";
50
- @import "wui/flow";
18
+ @use "wui/controls";
19
+ @use "wui/pending";
20
+ @use "wui/choice";
21
+ @use "wui/select";
22
+ @use "wui/media";
23
+ @use "wui/file-tiles";
24
+ @use "wui/avatar-picker";
25
+ @use "wui/navigation";
26
+ @use "wui/nav-list";
27
+ @use "wui/card";
28
+ @use "wui/card-options";
29
+ @use "wui/empty-state";
30
+ @use "wui/data";
31
+ @use "wui/pagination";
32
+ @use "wui/illustration";
33
+ @use "wui/table-server";
34
+ @use "wui/inline-edit";
35
+ @use "wui/mention-input";
36
+ @use "wui/comment-thread";
37
+ @use "wui/support";
38
+ @use "wui/overlays";
39
+ @use "wui/drawer";
40
+ @use "wui/modal-remote";
41
+ @use "wui/utilities";
42
+ @use "wui/typography";
43
+ @use "wui/disclosure";
44
+ @use "wui/display";
45
+ @use "wui/compare-table";
46
+ @use "wui/flow";
51
47
  // After `flow`: the pricing section extends its `.plan-grid` rules.
52
- @import "wui/sections";
53
- @import "wui/section-lead-capture";
54
- @import "wui/chart";
55
- @import "wui/chart-card";
56
- @import "wui/markdown";
57
- @import "wui/scrollbar";
58
- @import "wui/sortable";
48
+ @use "wui/sections";
49
+ @use "wui/section-lead-capture";
50
+ @use "wui/chart";
51
+ @use "wui/chart-card";
52
+ @use "wui/markdown";
53
+ @use "wui/scrollbar";
54
+ @use "wui/sortable";
59
55
  // Before `split-view`, which places the legend sheet inside the list column.
60
- @import "wui/record-pager";
61
- @import "wui/shortcuts";
62
- @import "wui/split-view";
63
- @import "wui/detail-pane";
64
- @import "wui/groups";
65
- @import "wui/carousel";
66
- @import "wui/onboarding-checklist";
67
- @import "wui/rating";
68
- @import "wui/score-scale";
69
- @import "wui/list-card";
70
- @import "wui/money";
71
- @import "wui/period-picker";
72
- @import "wui/relative-time";
73
- @import "wui/resizable";
74
- @import "wui/rolling-number";
75
- @import "wui/show-more";
76
- @import "wui/truncate";
77
- @import "wui/page-header-bar";
78
- @import "wui/filter-popover";
79
- @import "wui/metric-strip";
80
- @import "wui/due-date";
81
- @import "wui/cell";
56
+ @use "wui/record-pager";
57
+ @use "wui/shortcuts";
58
+ @use "wui/split-view";
59
+ @use "wui/detail-pane";
60
+ @use "wui/groups";
61
+ @use "wui/carousel";
62
+ @use "wui/onboarding-checklist";
63
+ @use "wui/rating";
64
+ @use "wui/score-scale";
65
+ @use "wui/list-card";
66
+ @use "wui/money";
67
+ @use "wui/period-picker";
68
+ @use "wui/relative-time";
69
+ @use "wui/resizable";
70
+ @use "wui/rolling-number";
71
+ @use "wui/show-more";
72
+ @use "wui/truncate";
73
+ @use "wui/page-header-bar";
74
+ @use "wui/filter-popover";
75
+ @use "wui/metric-strip";
76
+ @use "wui/due-date";
77
+ @use "wui/cell";
82
78
 
83
79
  // Country flags are NOT part of this layer. The 245 `.wui-flag-*` rules are about 187KB raw
84
80
  // (38KB Brotli) of inlined SVG, and most sites never render a phone field or country picker.
85
81
  // A site that does imports `@webority/theme/scss/flags` once, after this file; without it
86
82
  // <wui-phone> and <wui-select mode="country"> show an empty grey box where the flag should be.
87
- @import "wui/shell";
88
- @import "wui/shell-parts";
89
- @import "wui/account-switcher";
90
- @import "wui/consent-banner";
91
- @import "wui/lightbox";
92
- @import "wui/toolbar";
93
- @import "wui/theme-toggle";
94
- @import "wui/auth-layout";
95
- @import "wui/floating";
96
- @import "wui/code-block";
97
- @import "wui/context-menu";
98
- @import "wui/navigation-menu";
99
- @import "wui/hover-card";
100
- @import "wui/notification-center";
101
- @import "wui/whats-new";
83
+ @use "wui/shell";
84
+ @use "wui/shell-parts";
85
+ @use "wui/account-switcher";
86
+ @use "wui/consent-banner";
87
+ @use "wui/lightbox";
88
+ @use "wui/toolbar";
89
+ @use "wui/theme-toggle";
90
+ @use "wui/auth-layout";
91
+ @use "wui/floating";
92
+ @use "wui/code-block";
93
+ @use "wui/context-menu";
94
+ @use "wui/navigation-menu";
95
+ @use "wui/hover-card";
96
+ @use "wui/notification-center";
97
+ @use "wui/whats-new";
102
98
  // Before field-floor, which restates the font sizes the size steps set.
103
- @import "wui/field-busy";
104
- @import "wui/field-sizes";
99
+ @use "wui/field-busy";
100
+ @use "wui/field-sizes";
105
101
  // After every component partial: restates each field's own font size with a 16px floor on touch screens.
106
- @import "wui/field-floor";
102
+ @use "wui/field-floor";
107
103
  // After every component partial: the shared focus ring and pressed wash settle ties with their hover rules.
108
- @import "wui/interaction";
104
+ @use "wui/interaction";
109
105
  // Last: restates the settled state of menus other partials style, so it must win.
110
- @import "wui/menu-motion";
106
+ @use "wui/menu-motion";
111
107
  // After menu-motion: reuses its zoom keyframes and must win over the overlay partials' modal rules.
112
- @import "wui/dialog-motion";
108
+ @use "wui/dialog-motion";
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Account switcher: shared by React <AppAccountSwitcher> and Razor <app-account-switcher>.
2
4
  // Rows are Bootstrap dropdown items inside the shell's user menu (.wui-usermenu-menu, see
3
5
  // _shell-parts.scss), so they inherit that menu's padding and hover. Every rule here is scoped
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Auth layout ──
2
4
  // AppAuthLayout / <app-auth-layout>: a sign-in page, centred by default. The form panel sits in
3
5
  // the middle of the page; `.wui-auth-split` (variant="split") adds an aside on the right from the
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Image picker, buttons look ──
2
4
  // AppImagePicker with controls="buttons" (and <app-image-picker controls="buttons">): a profile photo
3
5
  // (or its placeholder) beside the actions that change it. The crop dialog it opens is <wui-image-crop>
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Calendar: the <wui-calendar> element behind AppCalendar and <app-calendar>. The element is styled by its
2
4
  // tag, since a framework that sets `class` on it would replace any class the element added to itself.
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Card options: `flush` (content runs to the card's rounded corners) and `divided`
2
4
  // (a rule under the header).
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Card chrome — the header row, its title/subtitle, and the compact variant.
2
4
  //
3
5
  // Bootstrap supplies `.card`, `.card-header` and `.card-body`, and the brand
@@ -60,7 +62,7 @@
60
62
  color: var(--color-text);
61
63
  }
62
64
  // A title passed as a heading stays a heading for screen readers but takes the title's type.
63
- .card-title > :is(h1, h2, h3, h4, h5, h6) {
65
+ .card-title > :is(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
64
66
  margin: 0;
65
67
  font: inherit;
66
68
  letter-spacing: inherit;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Carousel ──
2
4
  // AppCarousel / <app-carousel> (a <wui-carousel> element): slides in a scroll-snap track with previous
3
5
  // and next buttons, a dot per page and an optional visible pause button. The track scrolls on its own
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Cell ──
2
4
  // AppCell / <app-cell>: one table or list cell with a primary line and an optional secondary line.
3
5
  // Markup contract, shared by both surfaces and the rules below:
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Chart surfaces: the sparkline, the chart card and the dashboard grid.
2
4
  // ============================================================================
3
5
  // The sparkline is plain SVG (AppSparkline, <app-sparkline>) and never loads the chart engine.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Charts: the <wui-chart> element behind AppChart.
2
4
  //
3
5
  // Part of the wui-components layer; see _wui-components.scss for the load order. The element draws
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Structure card, search select, date picker, phone input.
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
  // ── Code block ──
2
4
  // AppCodeBlock / <app-code-block> (a <wui-code-block> element): source with syntax colours, a header
3
5
  // with a Copy button, optional line numbers and wrapping. The element hides the plain
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Command palette ──
2
4
  // AppCommandPalette / <app-command-palette> / <wui-command-palette>: app-wide "search and jump".
3
5
  // The overlay is the shared modal (.wui-modal-shell, .wui-modal), with .wui-cmd-card on the
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Comment thread ──
2
4
  // AppCommentThread / <app-comment-thread> / <wui-comment-thread>: comments with an avatar, the
3
5
  // author and time, the body with mentions, reactions and the Reply, Edit and Delete actions;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Feature-comparison table.
2
4
  //
3
5
  // Part of the wui-components layer; imported right after _display.scss. Order within the layer is load-bearing (see _wui-components.scss).
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Cookie consent banner ──
2
4
  // AppConsentBanner / <app-consent-banner> / <wui-consent-banner>: a card pinned to a bottom
3
5
  // corner, or a slim full-width bar along the bottom edge (position "bar", and every phone) asking
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Context menu ──
2
4
  // AppContextMenu / <app-context-menu> / <wui-context-menu>: a right-click menu over a region.
3
5
  // The panel is a Bootstrap .dropdown-menu with .dropdown-item rows, so the look, the danger tone
@@ -1,3 +1,6 @@
1
+ @use "../config" as *;
2
+ @use "tone-pill" as *;
3
+
1
4
  // Prefer .wui-* for new chrome; legacy bare names here are frozen until a BREAKING rename.
2
5
  // Checkbox & radio, field/input, status badge, choice chip.
3
6
  //
@@ -831,9 +834,6 @@ form .wui-field-message:empty {
831
834
  pointer-events: none;
832
835
  }
833
836
 
834
- // The trailing error glyph, shared by every field that shows one (the phone shell draws it too).
835
- $wui-field-error-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F8285A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
836
-
837
837
  // Trailing error glyph on a PLAIN field only (child combinator). Shell-wrapped
838
838
  // inputs sit one level deeper and keep their own right edge.
839
839
  // Note: background-image here re-applies after the shared invalid rule zeroed BS's SVG.
@@ -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
@@ -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