@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.
- package/README.md +43 -17
- package/index.scss +11 -13
- package/package.json +3 -3
- package/scss/_bootstrap-css.scss +40 -0
- package/scss/_bootstrap.generated.scss +1 -2
- package/scss/_components.scss +19 -3
- package/scss/_config.scss +16 -0
- package/scss/_marketing.scss +5 -5
- package/scss/_tokens.generated.scss +1 -1
- package/scss/_tokens.scss +3 -3
- package/scss/_variables.scss +13 -35
- package/scss/_wui-components.scss +91 -95
- package/scss/_wui-core.scss +80 -84
- package/scss/wui/_account-switcher.scss +2 -0
- package/scss/wui/_auth-layout.scss +2 -0
- package/scss/wui/_avatar-picker.scss +2 -0
- package/scss/wui/_calendar.scss +2 -0
- package/scss/wui/_card-options.scss +2 -0
- package/scss/wui/_card.scss +3 -1
- package/scss/wui/_carousel.scss +2 -0
- package/scss/wui/_cell.scss +2 -0
- package/scss/wui/_chart-card.scss +2 -0
- package/scss/wui/_chart.scss +2 -0
- package/scss/wui/_choice.scss +2 -0
- package/scss/wui/_code-block.scss +2 -0
- package/scss/wui/_command-palette.scss +2 -0
- package/scss/wui/_comment-thread.scss +2 -0
- package/scss/wui/_compare-table.scss +2 -0
- package/scss/wui/_consent-banner.scss +2 -0
- package/scss/wui/_context-menu.scss +2 -0
- package/scss/wui/_controls.scss +3 -3
- package/scss/wui/_data.scss +2 -0
- package/scss/wui/_detail-pane.scss +2 -0
- package/scss/wui/_dialog-motion.scss +2 -0
- package/scss/wui/_disclosure.scss +2 -0
- package/scss/wui/_display.scss +2 -0
- package/scss/wui/_dock.scss +2 -0
- package/scss/wui/_drawer.scss +2 -0
- package/scss/wui/_due-date.scss +2 -0
- package/scss/wui/_empty-state.scss +2 -0
- package/scss/wui/_field-busy.scss +2 -0
- package/scss/wui/_field-floor.scss +2 -0
- package/scss/wui/_field-sizes.scss +2 -0
- package/scss/wui/_file-tiles.scss +2 -0
- package/scss/wui/_file-viewer.scss +6 -2
- package/scss/wui/_filter-popover.scss +2 -0
- package/scss/wui/_floating.scss +2 -0
- package/scss/wui/_flow.scss +2 -0
- package/scss/wui/_groups.scss +2 -0
- package/scss/wui/_hover-card.scss +2 -0
- package/scss/wui/_illustration.scss +2 -0
- package/scss/wui/_image-crop.scss +2 -0
- package/scss/wui/_inline-edit.scss +2 -0
- package/scss/wui/_interaction.scss +2 -0
- package/scss/wui/_kanban.scss +2 -0
- package/scss/wui/_lightbox.scss +2 -0
- package/scss/wui/_list-card.scss +2 -0
- package/scss/wui/_markdown.scss +4 -1
- package/scss/wui/_media.scss +2 -0
- package/scss/wui/_mention-input.scss +2 -0
- package/scss/wui/_menu-motion.scss +2 -0
- package/scss/wui/_metric-strip.scss +2 -0
- package/scss/wui/_modal-remote.scss +2 -0
- package/scss/wui/_money.scss +2 -0
- package/scss/wui/_nav-list.scss +2 -0
- package/scss/wui/_navigation-menu.scss +2 -0
- package/scss/wui/_navigation.scss +2 -0
- package/scss/wui/_notification-center.scss +2 -0
- package/scss/wui/_onboarding-checklist.scss +2 -0
- package/scss/wui/_org-tree.scss +2 -0
- package/scss/wui/_overlays.scss +2 -0
- package/scss/wui/_page-header-bar.scss +2 -0
- package/scss/wui/_pagination.scss +2 -0
- package/scss/wui/_pending.scss +2 -0
- package/scss/wui/_period-picker.scss +2 -0
- package/scss/wui/_rating.scss +2 -0
- package/scss/wui/_record-pager.scss +2 -0
- package/scss/wui/_relative-time.scss +2 -0
- package/scss/wui/_resizable.scss +2 -0
- package/scss/wui/_rich-text.scss +9 -3
- package/scss/wui/_rolling-number.scss +2 -0
- package/scss/wui/_score-scale.scss +2 -0
- package/scss/wui/_scrollbar.scss +2 -0
- package/scss/wui/_section-lead-capture.scss +2 -0
- package/scss/wui/_sections.scss +3 -0
- package/scss/wui/_select.scss +2 -0
- package/scss/wui/_shell-parts.scss +2 -0
- package/scss/wui/_shell.scss +2 -0
- package/scss/wui/_shortcuts.scss +2 -0
- package/scss/wui/_show-more.scss +2 -0
- package/scss/wui/_sortable.scss +2 -0
- package/scss/wui/_split-view.scss +2 -0
- package/scss/wui/_support.scss +2 -0
- package/scss/wui/_table-server.scss +2 -0
- package/scss/wui/_theme-toggle.scss +2 -0
- package/scss/wui/_tone-pill.scss +2 -0
- package/scss/wui/_toolbar.scss +2 -0
- package/scss/wui/_tour.scss +9 -9
- package/scss/wui/_tree.scss +2 -0
- package/scss/wui/_truncate.scss +2 -0
- package/scss/wui/_typography.scss +3 -0
- package/scss/wui/_utilities.scss +2 -0
- package/scss/wui/_whats-new.scss +2 -0
- package/scss/wui/_workspace.scss +2 -0
- package/scss/wui/tour/_advance.scss +2 -0
- package/scss/wui/tour/_base.scss +2 -0
- package/scss/wui/tour/_end.scss +2 -0
- package/scss/wui/tour/_media.scss +2 -0
- package/scss/wui/tour/_motion.scss +2 -0
- package/scss/wui/tour/_placement.scss +2 -0
- package/scss/wui/tour/_progress.scss +2 -0
package/scss/_wui-core.scss
CHANGED
|
@@ -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
|
|
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
|
-
@
|
|
23
|
-
@
|
|
24
|
-
@
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@
|
|
28
|
-
@
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@
|
|
38
|
-
@
|
|
39
|
-
@
|
|
40
|
-
@
|
|
41
|
-
@
|
|
42
|
-
@
|
|
43
|
-
@
|
|
44
|
-
@
|
|
45
|
-
@
|
|
46
|
-
@
|
|
47
|
-
@
|
|
48
|
-
@
|
|
49
|
-
@
|
|
50
|
-
@
|
|
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
|
-
@
|
|
53
|
-
@
|
|
54
|
-
@
|
|
55
|
-
@
|
|
56
|
-
@
|
|
57
|
-
@
|
|
58
|
-
@
|
|
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
|
-
@
|
|
61
|
-
@
|
|
62
|
-
@
|
|
63
|
-
@
|
|
64
|
-
@
|
|
65
|
-
@
|
|
66
|
-
@
|
|
67
|
-
@
|
|
68
|
-
@
|
|
69
|
-
@
|
|
70
|
-
@
|
|
71
|
-
@
|
|
72
|
-
@
|
|
73
|
-
@
|
|
74
|
-
@
|
|
75
|
-
@
|
|
76
|
-
@
|
|
77
|
-
@
|
|
78
|
-
@
|
|
79
|
-
@
|
|
80
|
-
@
|
|
81
|
-
@
|
|
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
|
-
@
|
|
88
|
-
@
|
|
89
|
-
@
|
|
90
|
-
@
|
|
91
|
-
@
|
|
92
|
-
@
|
|
93
|
-
@
|
|
94
|
-
@
|
|
95
|
-
@
|
|
96
|
-
@
|
|
97
|
-
@
|
|
98
|
-
@
|
|
99
|
-
@
|
|
100
|
-
@
|
|
101
|
-
@
|
|
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
|
-
@
|
|
104
|
-
@
|
|
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
|
-
@
|
|
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
|
-
@
|
|
104
|
+
@use "wui/interaction";
|
|
109
105
|
// Last: restates the settled state of menus other partials style, so it must win.
|
|
110
|
-
@
|
|
106
|
+
@use "wui/menu-motion";
|
|
111
107
|
// After menu-motion: reuses its zoom keyframes and must win over the overlay partials' modal rules.
|
|
112
|
-
@
|
|
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
|
// ── 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>
|
package/scss/wui/_calendar.scss
CHANGED
package/scss/wui/_card.scss
CHANGED
|
@@ -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;
|
package/scss/wui/_carousel.scss
CHANGED
package/scss/wui/_cell.scss
CHANGED
|
@@ -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.
|
package/scss/wui/_chart.scss
CHANGED
package/scss/wui/_choice.scss
CHANGED
package/scss/wui/_controls.scss
CHANGED
|
@@ -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.
|
package/scss/wui/_data.scss
CHANGED
package/scss/wui/_display.scss
CHANGED
package/scss/wui/_dock.scss
CHANGED
package/scss/wui/_drawer.scss
CHANGED
|
@@ -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
|
package/scss/wui/_due-date.scss
CHANGED
|
@@ -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
|
// 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
|
// ── 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),
|
package/scss/wui/_floating.scss
CHANGED
|
@@ -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
|
package/scss/wui/_flow.scss
CHANGED
package/scss/wui/_groups.scss
CHANGED
package/scss/wui/_kanban.scss
CHANGED
package/scss/wui/_lightbox.scss
CHANGED
package/scss/wui/_list-card.scss
CHANGED
package/scss/wui/_markdown.scss
CHANGED
|
@@ -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;
|
package/scss/wui/_media.scss
CHANGED
package/scss/wui/_money.scss
CHANGED
package/scss/wui/_nav-list.scss
CHANGED
|
@@ -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
|
//
|