@webority/theme 0.150.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 +52 -17
- package/dist/purge-safelist.json +20 -0
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/index.scss +11 -13
- package/package.json +3 -2
- package/scss/_bootstrap-css.scss +40 -0
- package/scss/_bootstrap.generated.scss +1 -2
- package/scss/_components.scss +157 -55
- package/scss/_config.scss +16 -0
- package/scss/_marketing.scss +15 -15
- package/scss/_tokens.generated.scss +26 -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 +8 -6
- package/scss/wui/_card-options.scss +2 -0
- package/scss/wui/_card.scss +6 -4
- package/scss/wui/_carousel.scss +5 -3
- package/scss/wui/_cell.scss +2 -0
- package/scss/wui/_chart-card.scss +2 -0
- package/scss/wui/_chart.scss +6 -4
- package/scss/wui/_choice.scss +50 -43
- package/scss/wui/_code-block.scss +2 -0
- package/scss/wui/_command-palette.scss +4 -2
- package/scss/wui/_comment-thread.scss +4 -2
- package/scss/wui/_compare-table.scss +29 -0
- package/scss/wui/_consent-banner.scss +2 -0
- package/scss/wui/_context-menu.scss +2 -0
- package/scss/wui/_controls.scss +53 -51
- package/scss/wui/_data.scss +28 -16
- package/scss/wui/_detail-pane.scss +2 -0
- package/scss/wui/_dialog-motion.scss +6 -4
- package/scss/wui/_disclosure.scss +6 -4
- package/scss/wui/_display.scss +39 -23
- package/scss/wui/_dock.scss +8 -6
- package/scss/wui/_drawer.scss +4 -2
- package/scss/wui/_due-date.scss +2 -0
- package/scss/wui/_empty-state.scss +2 -0
- package/scss/wui/_field-busy.scss +3 -1
- package/scss/wui/_field-floor.scss +4 -1
- package/scss/wui/_field-sizes.scss +2 -0
- package/scss/wui/_file-tiles.scss +2 -0
- package/scss/wui/_file-viewer.scss +9 -5
- package/scss/wui/_filter-popover.scss +2 -0
- package/scss/wui/_floating.scss +2 -0
- package/scss/wui/_flow.scss +17 -13
- 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 +4 -2
- package/scss/wui/_interaction.scss +3 -2
- package/scss/wui/_kanban.scss +18 -6
- package/scss/wui/_lightbox.scss +4 -2
- package/scss/wui/_list-card.scss +2 -0
- package/scss/wui/_markdown.scss +4 -1
- package/scss/wui/_media.scss +50 -48
- 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 +3 -1
- package/scss/wui/_money.scss +2 -0
- package/scss/wui/_nav-list.scss +2 -0
- package/scss/wui/_navigation-menu.scss +3 -1
- package/scss/wui/_navigation.scss +70 -18
- package/scss/wui/_notification-center.scss +5 -3
- package/scss/wui/_onboarding-checklist.scss +3 -1
- package/scss/wui/_org-tree.scss +2 -0
- package/scss/wui/_overlays.scss +30 -40
- package/scss/wui/_page-header-bar.scss +2 -0
- package/scss/wui/_pagination.scss +6 -4
- package/scss/wui/_pending.scss +2 -0
- package/scss/wui/_period-picker.scss +2 -0
- package/scss/wui/_rating.scss +3 -1
- package/scss/wui/_record-pager.scss +2 -0
- package/scss/wui/_relative-time.scss +2 -0
- package/scss/wui/_resizable.scss +3 -1
- package/scss/wui/_rich-text.scss +13 -7
- package/scss/wui/_rolling-number.scss +2 -0
- package/scss/wui/_score-scale.scss +5 -3
- package/scss/wui/_scrollbar.scss +2 -0
- package/scss/wui/_section-lead-capture.scss +2 -0
- package/scss/wui/_sections.scss +5 -2
- package/scss/wui/_select.scss +2 -0
- package/scss/wui/_shell-parts.scss +55 -5
- package/scss/wui/_shell.scss +58 -57
- package/scss/wui/_shortcuts.scss +2 -0
- package/scss/wui/_show-more.scss +2 -0
- package/scss/wui/_sortable.scss +4 -2
- package/scss/wui/_split-view.scss +4 -2
- package/scss/wui/_support.scss +2 -0
- package/scss/wui/_table-server.scss +3 -1
- package/scss/wui/_theme-toggle.scss +3 -1
- package/scss/wui/_tone-pill.scss +2 -0
- package/scss/wui/_toolbar.scss +9 -7
- package/scss/wui/_tour.scss +9 -9
- package/scss/wui/_tree.scss +5 -3
- package/scss/wui/_truncate.scss +2 -0
- package/scss/wui/_typography.scss +3 -0
- package/scss/wui/_utilities.scss +31 -11
- package/scss/wui/_whats-new.scss +2 -0
- package/scss/wui/_workspace.scss +4 -2
- package/scss/wui/tour/_advance.scss +2 -0
- package/scss/wui/tour/_base.scss +2 -0
- package/scss/wui/tour/_end.scss +3 -1
- package/scss/wui/tour/_media.scss +2 -0
- package/scss/wui/tour/_motion.scss +6 -4
- package/scss/wui/tour/_placement.scss +2 -0
- package/scss/wui/tour/_progress.scss +2 -0
- package/token-meanings.json +2 -0
package/scss/_variables.scss
CHANGED
|
@@ -3,21 +3,26 @@
|
|
|
3
3
|
@use "sass:math";
|
|
4
4
|
@use "sass:string";
|
|
5
5
|
|
|
6
|
+
// Bootstrap $ defaults generated from the token source (`corepack pnpm run tokens`). Every value is !default and
|
|
7
|
+
// this file must not reassign them (scripts/check-theme-shadow.mjs), so a brand's configured value wins.
|
|
8
|
+
@forward "bootstrap.generated";
|
|
9
|
+
@use "bootstrap.generated" as *;
|
|
10
|
+
|
|
6
11
|
// =====================================================================
|
|
7
12
|
// Webority UI — Bootstrap variable overrides.
|
|
8
|
-
//
|
|
13
|
+
// Loaded through _config.scss BEFORE Bootstrap's own variables, so Bootstrap derives every
|
|
9
14
|
// utility class (.btn-primary, .bg-info, .text-success, etc.) from these
|
|
10
15
|
// values. Shared by every product's Razor marketing site and React portal
|
|
11
|
-
// so both surfaces stay visually identical.
|
|
12
|
-
//
|
|
16
|
+
// so both surfaces stay visually identical. A product overrides the !default ones by configuring
|
|
17
|
+
// the theme in its brand variables module: @use "@webority/theme/scss/config" with ($primary: …).
|
|
13
18
|
// =====================================================================
|
|
14
19
|
|
|
15
20
|
|
|
16
21
|
// ---- Brand colors ---------------------------------------------------
|
|
17
22
|
// Neutral indigo default. The full ramp lives in _tokens.scss as CSS
|
|
18
23
|
// variables since Bootstrap only consumes the named theme colors.
|
|
19
|
-
// `!default` so a
|
|
20
|
-
//
|
|
24
|
+
// `!default` so a brand's configured value wins; everything derived from $primary below (the theme-colour map,
|
|
25
|
+
// the primary ink, the on-primary label, the dark primary, the link colours) follows it.
|
|
21
26
|
$primary: #4F46E5 !default;
|
|
22
27
|
// $secondary is intentional quiet grey (text-2 / foreground-3), NOT a second
|
|
23
28
|
// brand hue. `.btn-soft-primary`, `.text-secondary`, `.bg-secondary` mean "quiet /
|
|
@@ -156,35 +161,6 @@ $wui-dark-primary: wui-dark-primary($primary) !default;
|
|
|
156
161
|
$wui-dark-primary-hover: color.mix(#FFFFFF, $wui-dark-primary, 12%) !default;
|
|
157
162
|
$link-color: $wui-primary-ink !default;
|
|
158
163
|
|
|
159
|
-
// Brand helper — set a product's primary ONCE and have the theme-colour map
|
|
160
|
-
// (so every .btn-primary / .bg-primary / .text-primary utility), $link-color,
|
|
161
|
-
// $link-hover-color, the primary ink, the on-primary label and the dark primary follow, instead of
|
|
162
|
-
// overriding each in turn. Call it in the product's pre-bootstrap variables,
|
|
163
|
-
// BEFORE `bootstrap/scss/bootstrap`, e.g.:
|
|
164
|
-
//
|
|
165
|
-
// @include wui-brand-primary(#0EA5E9);
|
|
166
|
-
// @import "bootstrap/scss/bootstrap";
|
|
167
|
-
//
|
|
168
|
-
// It rewrites the globals in place, so the whole Bootstrap colour system derives
|
|
169
|
-
// from the one value. Runtime CSS tokens (--wui-primary*) are still overridden
|
|
170
|
-
// separately, as usual.
|
|
171
|
-
@mixin wui-brand-primary($primary) {
|
|
172
|
-
$primary: $primary !global;
|
|
173
|
-
$theme-colors: map-merge($theme-colors, ("primary": $primary)) !global;
|
|
174
|
-
$wui-primary-ink: wui-primary-ink($primary) !global;
|
|
175
|
-
$wui-primary-text: wui-on-primary($primary) !global;
|
|
176
|
-
$wui-dark-primary: wui-dark-primary($primary) !global;
|
|
177
|
-
$wui-dark-primary-hover: color.mix(#FFFFFF, $wui-dark-primary, 12%) !global;
|
|
178
|
-
$link-color: $wui-primary-ink !global;
|
|
179
|
-
$link-hover-color: mix(black, $wui-primary-ink, 12%) !global;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// Bootstrap $ defaults generated from the token source (`corepack pnpm run tokens`). Imported here, before the first
|
|
183
|
-
// read of $body-color, $border-color, $border-radius* and $wui-shadow-overlay* below, because a !default value is
|
|
184
|
-
// only visible to lines after it. Every value is !default, so a brand $ set before this file still wins; this file
|
|
185
|
-
// must not reassign them (scripts/check-theme-shadow.mjs).
|
|
186
|
-
@import "bootstrap.generated";
|
|
187
|
-
|
|
188
164
|
|
|
189
165
|
// ---- Body / text ----------------------------------------------------
|
|
190
166
|
// $body-bg left at Bootstrap's $white — do not restate pure defaults here.
|
|
@@ -289,6 +265,8 @@ $input-padding-x: 0.875rem; // 14px
|
|
|
289
265
|
$input-border-radius: $border-radius;
|
|
290
266
|
// Themed, so it flips in dark mode. The old fixed #99A1B7 was 2.58:1 on white and read as typed text on dark.
|
|
291
267
|
$input-placeholder-color: var(--color-text-subtle);
|
|
268
|
+
// The trailing error glyph, shared by every field that shows one (the phone shell draws it too).
|
|
269
|
+
$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");
|
|
292
270
|
|
|
293
271
|
|
|
294
272
|
// ---- Cards ----------------------------------------------------------
|
|
@@ -321,7 +299,7 @@ $toast-box-shadow: $wui-shadow-overlay-lg;
|
|
|
321
299
|
// ---- Links ----------------------------------------------------------
|
|
322
300
|
// $link-color is the primary ink (above), so a link clears AA whatever the brand.
|
|
323
301
|
// Hover is a darkened mix of the ink — never a hard-coded indigo — so a product
|
|
324
|
-
// that
|
|
302
|
+
// that configures $primary gets a matching hover. Approximate
|
|
325
303
|
// of Bootstrap's shift-color($link-color, 20%) without importing BS functions here.
|
|
326
304
|
$link-hover-color: mix(black, $wui-primary-ink, 12%);
|
|
327
305
|
$link-decoration: none; // BS default is underline
|
|
@@ -18,116 +18,112 @@
|
|
|
18
18
|
// This file is now an INDEX. The rules live in ./wui/*.scss, split by domain
|
|
19
19
|
// because one 5,000-line stylesheet made finding a component a grep.
|
|
20
20
|
//
|
|
21
|
-
// Shared tone-pill mixin — used by .badge, .status-label, and .chip.
|
|
22
|
-
// Must be imported before components that use it.
|
|
23
|
-
@import "wui/tone-pill";
|
|
24
|
-
|
|
25
21
|
// The order below is LOAD-BEARING. A later partial may deliberately override an
|
|
26
|
-
// earlier one, so reordering these
|
|
22
|
+
// earlier one, so reordering these @use lines silently changes the cascade — and
|
|
27
23
|
// nothing in the build will complain. `pnpm check:theme` measures the rules that
|
|
28
24
|
// have to win against Bootstrap; the rest is guarded by review.
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@
|
|
38
|
-
@
|
|
39
|
-
@
|
|
40
|
-
@
|
|
41
|
-
@
|
|
42
|
-
@
|
|
43
|
-
@
|
|
44
|
-
@
|
|
45
|
-
@
|
|
46
|
-
@
|
|
47
|
-
@
|
|
48
|
-
@
|
|
49
|
-
@
|
|
50
|
-
@
|
|
51
|
-
@
|
|
52
|
-
@
|
|
53
|
-
@
|
|
54
|
-
@
|
|
55
|
-
@
|
|
56
|
-
@
|
|
57
|
-
@
|
|
58
|
-
@
|
|
59
|
-
@
|
|
25
|
+
@use "wui/controls";
|
|
26
|
+
@use "wui/pending";
|
|
27
|
+
@use "wui/choice";
|
|
28
|
+
@use "wui/select";
|
|
29
|
+
@use "wui/media";
|
|
30
|
+
@use "wui/file-tiles";
|
|
31
|
+
@use "wui/image-crop";
|
|
32
|
+
@use "wui/avatar-picker";
|
|
33
|
+
@use "wui/navigation";
|
|
34
|
+
@use "wui/nav-list";
|
|
35
|
+
@use "wui/card";
|
|
36
|
+
@use "wui/card-options";
|
|
37
|
+
@use "wui/empty-state";
|
|
38
|
+
@use "wui/data";
|
|
39
|
+
@use "wui/pagination";
|
|
40
|
+
@use "wui/illustration";
|
|
41
|
+
@use "wui/table-server";
|
|
42
|
+
@use "wui/kanban";
|
|
43
|
+
@use "wui/inline-edit";
|
|
44
|
+
@use "wui/mention-input";
|
|
45
|
+
@use "wui/comment-thread";
|
|
46
|
+
@use "wui/support";
|
|
47
|
+
@use "wui/overlays";
|
|
48
|
+
@use "wui/drawer";
|
|
49
|
+
@use "wui/modal-remote";
|
|
50
|
+
@use "wui/utilities";
|
|
51
|
+
@use "wui/typography";
|
|
52
|
+
@use "wui/disclosure";
|
|
53
|
+
@use "wui/display";
|
|
54
|
+
@use "wui/compare-table";
|
|
55
|
+
@use "wui/flow";
|
|
60
56
|
// After `flow`: the pricing section extends its `.plan-grid` rules.
|
|
61
|
-
@
|
|
62
|
-
@
|
|
63
|
-
@
|
|
64
|
-
@
|
|
65
|
-
@
|
|
66
|
-
@
|
|
67
|
-
@
|
|
68
|
-
@
|
|
69
|
-
@
|
|
57
|
+
@use "wui/sections";
|
|
58
|
+
@use "wui/section-lead-capture";
|
|
59
|
+
@use "wui/chart";
|
|
60
|
+
@use "wui/chart-card";
|
|
61
|
+
@use "wui/calendar";
|
|
62
|
+
@use "wui/rich-text";
|
|
63
|
+
@use "wui/markdown";
|
|
64
|
+
@use "wui/scrollbar";
|
|
65
|
+
@use "wui/sortable";
|
|
70
66
|
// Before `split-view`, which places the legend sheet inside the list column.
|
|
71
|
-
@
|
|
72
|
-
@
|
|
73
|
-
@
|
|
74
|
-
@
|
|
75
|
-
@
|
|
76
|
-
@
|
|
77
|
-
@
|
|
78
|
-
@
|
|
79
|
-
@
|
|
80
|
-
@
|
|
81
|
-
@
|
|
82
|
-
@
|
|
83
|
-
@
|
|
84
|
-
@
|
|
85
|
-
@
|
|
86
|
-
@
|
|
87
|
-
@
|
|
67
|
+
@use "wui/record-pager";
|
|
68
|
+
@use "wui/shortcuts";
|
|
69
|
+
@use "wui/split-view";
|
|
70
|
+
@use "wui/detail-pane";
|
|
71
|
+
@use "wui/groups";
|
|
72
|
+
@use "wui/carousel";
|
|
73
|
+
@use "wui/onboarding-checklist";
|
|
74
|
+
@use "wui/rating";
|
|
75
|
+
@use "wui/score-scale";
|
|
76
|
+
@use "wui/list-card";
|
|
77
|
+
@use "wui/money";
|
|
78
|
+
@use "wui/period-picker";
|
|
79
|
+
@use "wui/relative-time";
|
|
80
|
+
@use "wui/resizable";
|
|
81
|
+
@use "wui/rolling-number";
|
|
82
|
+
@use "wui/show-more";
|
|
83
|
+
@use "wui/truncate";
|
|
88
84
|
// After `navigation`/`overlays`: the switcher restates dropdown-item chrome those partials
|
|
89
85
|
// set, so it has to win on equal specificity.
|
|
90
|
-
@
|
|
91
|
-
@
|
|
92
|
-
@
|
|
93
|
-
@
|
|
94
|
-
@
|
|
95
|
-
@
|
|
86
|
+
@use "wui/workspace";
|
|
87
|
+
@use "wui/page-header-bar";
|
|
88
|
+
@use "wui/filter-popover";
|
|
89
|
+
@use "wui/metric-strip";
|
|
90
|
+
@use "wui/due-date";
|
|
91
|
+
@use "wui/cell";
|
|
96
92
|
|
|
97
93
|
// Country flags are NOT part of this aggregate. The 245 `.wui-flag-*` rules are about 187KB raw
|
|
98
94
|
// (38KB Brotli) of inlined SVG, and most sites never render a phone field or country picker.
|
|
99
95
|
// A site that does imports `@webority/theme/scss/flags` once, after this file; without it
|
|
100
96
|
// <wui-phone> and <wui-select mode="country"> show an empty grey box where the flag should be.
|
|
101
|
-
@
|
|
102
|
-
@
|
|
103
|
-
@
|
|
104
|
-
@
|
|
105
|
-
@
|
|
106
|
-
@
|
|
107
|
-
@
|
|
108
|
-
@
|
|
109
|
-
@
|
|
110
|
-
@
|
|
111
|
-
@
|
|
112
|
-
@
|
|
113
|
-
@
|
|
114
|
-
@
|
|
97
|
+
@use "wui/shell";
|
|
98
|
+
@use "wui/shell-parts";
|
|
99
|
+
@use "wui/account-switcher";
|
|
100
|
+
@use "wui/dock";
|
|
101
|
+
@use "wui/consent-banner";
|
|
102
|
+
@use "wui/file-viewer";
|
|
103
|
+
@use "wui/lightbox";
|
|
104
|
+
@use "wui/toolbar";
|
|
105
|
+
@use "wui/theme-toggle";
|
|
106
|
+
@use "wui/auth-layout";
|
|
107
|
+
@use "wui/tree";
|
|
108
|
+
@use "wui/org-tree";
|
|
109
|
+
@use "wui/floating";
|
|
110
|
+
@use "wui/code-block";
|
|
115
111
|
// After `overlays`: anchors the shared modal shell to the top when it holds the palette card.
|
|
116
|
-
@
|
|
117
|
-
@
|
|
118
|
-
@
|
|
119
|
-
@
|
|
120
|
-
@
|
|
121
|
-
@
|
|
122
|
-
@
|
|
112
|
+
@use "wui/command-palette";
|
|
113
|
+
@use "wui/context-menu";
|
|
114
|
+
@use "wui/navigation-menu";
|
|
115
|
+
@use "wui/tour";
|
|
116
|
+
@use "wui/hover-card";
|
|
117
|
+
@use "wui/notification-center";
|
|
118
|
+
@use "wui/whats-new";
|
|
123
119
|
// Before field-floor, which restates the font sizes the size steps set.
|
|
124
|
-
@
|
|
125
|
-
@
|
|
120
|
+
@use "wui/field-busy";
|
|
121
|
+
@use "wui/field-sizes";
|
|
126
122
|
// After every component partial: restates each field's own font size with a 16px floor on touch screens.
|
|
127
|
-
@
|
|
123
|
+
@use "wui/field-floor";
|
|
128
124
|
// After every component partial: the shared focus ring and pressed wash settle ties with their hover rules.
|
|
129
|
-
@
|
|
125
|
+
@use "wui/interaction";
|
|
130
126
|
// Last: restates the settled state of menus other partials style, so it must win.
|
|
131
|
-
@
|
|
127
|
+
@use "wui/menu-motion";
|
|
132
128
|
// After menu-motion: reuses its zoom keyframes and must win over the overlay partials' modal rules.
|
|
133
|
-
@
|
|
129
|
+
@use "wui/dialog-motion";
|
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
|
@@ -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
|
//
|
|
@@ -66,9 +68,9 @@ wui-calendar .fc .fc-day-other .fc-daygrid-day-number {
|
|
|
66
68
|
font-weight: 600;
|
|
67
69
|
cursor: pointer;
|
|
68
70
|
transition:
|
|
69
|
-
background
|
|
70
|
-
color
|
|
71
|
-
border-color
|
|
71
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
72
|
+
color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
73
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
72
74
|
}
|
|
73
75
|
.wui-calendar-nav-btn {
|
|
74
76
|
padding: 0;
|
|
@@ -120,8 +122,8 @@ wui-calendar .fc .fc-day-other .fc-daygrid-day-number {
|
|
|
120
122
|
white-space: nowrap;
|
|
121
123
|
cursor: pointer;
|
|
122
124
|
transition:
|
|
123
|
-
background
|
|
124
|
-
color
|
|
125
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
126
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
125
127
|
}
|
|
126
128
|
.wui-calendar-view-btn:hover {
|
|
127
129
|
color: var(--color-primary-text);
|
|
@@ -210,7 +212,7 @@ wui-calendar a {
|
|
|
210
212
|
.wui-calendar-surface {
|
|
211
213
|
min-width: 0;
|
|
212
214
|
overflow-x: auto;
|
|
213
|
-
transition: opacity
|
|
215
|
+
transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
214
216
|
}
|
|
215
217
|
wui-calendar[aria-busy="true"] .wui-calendar-surface {
|
|
216
218
|
opacity: 0.6;
|
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;
|
|
@@ -219,9 +221,9 @@
|
|
|
219
221
|
text-decoration: none;
|
|
220
222
|
cursor: pointer;
|
|
221
223
|
transition:
|
|
222
|
-
border-color
|
|
223
|
-
transform
|
|
224
|
-
box-shadow
|
|
224
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
225
|
+
transform var(--wui-duration-default) var(--wui-ease-out),
|
|
226
|
+
box-shadow var(--wui-duration-default) var(--wui-ease-ui);
|
|
225
227
|
}
|
|
226
228
|
button.card-clickable {
|
|
227
229
|
width: 100%;
|
package/scss/wui/_carousel.scss
CHANGED
|
@@ -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
|
|
@@ -75,8 +77,8 @@
|
|
|
75
77
|
color: var(--color-text);
|
|
76
78
|
cursor: pointer;
|
|
77
79
|
transition:
|
|
78
|
-
background-color
|
|
79
|
-
color
|
|
80
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
81
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
80
82
|
&:hover {
|
|
81
83
|
background: var(--color-primary-soft);
|
|
82
84
|
color: var(--color-primary-text);
|
|
@@ -115,7 +117,7 @@
|
|
|
115
117
|
inset: 7px;
|
|
116
118
|
border-radius: 50%;
|
|
117
119
|
background: var(--color-border-strong);
|
|
118
|
-
transition: background-color
|
|
120
|
+
transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
119
121
|
}
|
|
120
122
|
&:hover::before {
|
|
121
123
|
background: var(--color-text-muted);
|
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.
|