@webority/theme 0.163.0 → 0.165.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/LICENSE +1 -1
- package/README.md +21 -21
- package/dist/purge-safelist.json +47 -24
- package/dist/webority-theme.css +1 -1
- package/package.json +6 -5
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +38 -34
- package/scss/_flags.scss +3 -3
- package/scss/_marketing.scss +6 -6
- package/scss/_tokens.generated.scss +1 -1
- package/scss/_variables.scss +19 -19
- package/scss/_wui-components.scss +4 -2
- package/scss/_wui-core.scss +4 -2
- package/scss/wui/_card.scss +8 -8
- package/scss/wui/_choice.scss +4 -4
- package/scss/wui/_command-palette.scss +7 -2
- package/scss/wui/_comment-thread.scss +3 -3
- package/scss/wui/_context-menu.scss +14 -10
- package/scss/wui/_controls.scss +80 -116
- package/scss/wui/_data.scss +71 -35
- package/scss/wui/_dialog-motion.scss +14 -19
- package/scss/wui/_disclosure.scss +3 -3
- package/scss/wui/_display.scss +56 -56
- package/scss/wui/_dock.scss +4 -4
- package/scss/wui/_drawer.scss +18 -15
- package/scss/wui/_empty-state.scss +4 -4
- package/scss/wui/_entry-grid.scss +118 -0
- package/scss/wui/_field-sizes.scss +1 -2
- package/scss/wui/_file-viewer.scss +14 -2
- package/scss/wui/_filter-popover.scss +1 -1
- package/scss/wui/_floating.scss +1 -1
- package/scss/wui/_flow.scss +33 -33
- package/scss/wui/_formula-steps.scss +73 -0
- package/scss/wui/_hover-card.scss +6 -5
- package/scss/wui/_inline-edit.scss +1 -1
- package/scss/wui/_interaction.scss +4 -0
- package/scss/wui/_kanban.scss +1 -1
- package/scss/wui/_lightbox.scss +20 -9
- package/scss/wui/_media.scss +1 -1
- package/scss/wui/_mention-input.scss +3 -3
- package/scss/wui/_menu-motion.scss +23 -23
- package/scss/wui/_metric-strip.scss +14 -0
- package/scss/wui/_modal-remote.scss +3 -3
- package/scss/wui/_native-overlay.scss +76 -0
- package/scss/wui/_navigation-menu.scss +13 -17
- package/scss/wui/_navigation.scss +25 -1
- package/scss/wui/_notification-center.scss +6 -9
- package/scss/wui/_overlay-reset.scss +15 -0
- package/scss/wui/_overlays.scss +147 -99
- package/scss/wui/_page-header-bar.scss +24 -0
- package/scss/wui/_scrollbar.scss +1 -1
- package/scss/wui/_sections.scss +31 -3
- package/scss/wui/_select.scss +16 -10
- package/scss/wui/_shell-parts.scss +6 -2
- package/scss/wui/_shell.scss +131 -28
- package/scss/wui/_shortcuts.scss +3 -15
- package/scss/wui/_sortable.scss +1 -1
- package/scss/wui/_tone-pill.scss +2 -2
- package/scss/wui/_toolbar.scss +3 -3
- package/scss/wui/_truncate.scss +2 -2
- package/scss/wui/_typography.scss +9 -8
- package/scss/wui/_utilities.scss +4 -12
- package/scss/wui/_whats-new.scss +6 -7
- package/scss/wui/_workspace.scss +34 -9
- package/scss/wui/tour/_base.scss +11 -1
- package/scss/wui/tour/_end.scss +6 -0
- package/scss/wui/tour/_media.scss +1 -1
- package/scss/wui/tour/_placement.scss +6 -0
- package/scss/wui/_resizable.scss +0 -100
- package/scss/wui/_rolling-number.scss +0 -68
package/scss/wui/_resizable.scss
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
@use "../config" as *;
|
|
2
|
-
|
|
3
|
-
// ── Resizable panels ──
|
|
4
|
-
// AppResizable / <app-resizable> (a <wui-resizable> element): panels side by side or stacked with a
|
|
5
|
-
// handle between each pair. The element writes each panel's `flex` (a share of the room the panels
|
|
6
|
-
// split) and the handle's aria-value*; the handle is a thin line with a wider invisible hit area so a
|
|
7
|
-
// finger can find it. `direction="vertical"` stacks the panels and needs a height: set
|
|
8
|
-
// `--wui-resizable-height` on the group, or give its parent one.
|
|
9
|
-
//
|
|
10
|
-
// Part of the wui-components layer, see _wui-components.scss for load order.
|
|
11
|
-
|
|
12
|
-
.wui-resizable {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: var(--wui-resizable-height, auto);
|
|
17
|
-
min-width: 0;
|
|
18
|
-
min-height: 0;
|
|
19
|
-
}
|
|
20
|
-
.wui-resizable[direction="vertical"] {
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
height: var(--wui-resizable-height, 100%);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.wui-resizable-panel {
|
|
26
|
-
flex: 1 1 0;
|
|
27
|
-
min-width: 0;
|
|
28
|
-
min-height: 0;
|
|
29
|
-
overflow: auto;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.wui-resizable-handle {
|
|
33
|
-
position: relative;
|
|
34
|
-
flex: none;
|
|
35
|
-
width: 9px;
|
|
36
|
-
cursor: col-resize;
|
|
37
|
-
touch-action: none;
|
|
38
|
-
user-select: none;
|
|
39
|
-
outline: none;
|
|
40
|
-
}
|
|
41
|
-
.wui-resizable[direction="vertical"] > .wui-resizable-handle {
|
|
42
|
-
width: auto;
|
|
43
|
-
height: 9px;
|
|
44
|
-
cursor: row-resize;
|
|
45
|
-
}
|
|
46
|
-
// The visible line, centred in the handle.
|
|
47
|
-
.wui-resizable-handle::after {
|
|
48
|
-
content: "";
|
|
49
|
-
position: absolute;
|
|
50
|
-
inset-block: 0;
|
|
51
|
-
inset-inline: 4px;
|
|
52
|
-
background: var(--color-border);
|
|
53
|
-
border-radius: 2px;
|
|
54
|
-
}
|
|
55
|
-
.wui-resizable[direction="vertical"] > .wui-resizable-handle::after {
|
|
56
|
-
inset-block: 4px;
|
|
57
|
-
inset-inline: 0;
|
|
58
|
-
}
|
|
59
|
-
// A wider hit area for touch than the line shows.
|
|
60
|
-
.wui-resizable-handle::before {
|
|
61
|
-
content: "";
|
|
62
|
-
position: absolute;
|
|
63
|
-
inset-block: 0;
|
|
64
|
-
inset-inline: -6px;
|
|
65
|
-
}
|
|
66
|
-
.wui-resizable[direction="vertical"] > .wui-resizable-handle::before {
|
|
67
|
-
inset-block: -6px;
|
|
68
|
-
inset-inline: 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.wui-resizable-handle:hover::after,
|
|
72
|
-
.wui-resizable-handle.is-active::after {
|
|
73
|
-
background: var(--color-primary);
|
|
74
|
-
}
|
|
75
|
-
.wui-resizable-handle:focus-visible::after {
|
|
76
|
-
background: var(--color-primary);
|
|
77
|
-
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
78
|
-
outline-offset: var(--wui-focus-ring-offset);
|
|
79
|
-
}
|
|
80
|
-
.wui-resizable-handle:focus-visible {
|
|
81
|
-
z-index: 1;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// While dragging, the whole group keeps the resize cursor and text under the pointer is not selected.
|
|
85
|
-
.wui-resizable.is-dragging {
|
|
86
|
-
cursor: col-resize;
|
|
87
|
-
user-select: none;
|
|
88
|
-
}
|
|
89
|
-
.wui-resizable.is-dragging[direction="vertical"] {
|
|
90
|
-
cursor: row-resize;
|
|
91
|
-
}
|
|
92
|
-
.wui-resizable.is-dragging > .wui-resizable-panel {
|
|
93
|
-
pointer-events: none;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
97
|
-
.wui-resizable-handle::after {
|
|
98
|
-
transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
@use "../config" as *;
|
|
2
|
-
|
|
3
|
-
// ── Rolling number ──
|
|
4
|
-
// AppRollingNumber / <app-rolling-number> (a <wui-rolling-number> element): a figure whose digits
|
|
5
|
-
// roll to a new value. The element draws one reel (digits 0 to 9, stacked) per digit in the
|
|
6
|
-
// aria-hidden roll and moves it with --wui-roll-digit; the plain text beside it is what a screen
|
|
7
|
-
// reader reads, shown on its own until the element is ready or when motion is reduced.
|
|
8
|
-
//
|
|
9
|
-
// Part of the wui-components layer, see _wui-components.scss for load order.
|
|
10
|
-
|
|
11
|
-
$wui-roll-cell: 1.2em;
|
|
12
|
-
|
|
13
|
-
.wui-rolling-number {
|
|
14
|
-
position: relative;
|
|
15
|
-
display: inline-block;
|
|
16
|
-
vertical-align: bottom;
|
|
17
|
-
// Unitless, so a digit column whose font size differs from the figure's keeps its own cell height.
|
|
18
|
-
line-height: 1.2;
|
|
19
|
-
font-variant-numeric: tabular-nums;
|
|
20
|
-
white-space: nowrap;
|
|
21
|
-
}
|
|
22
|
-
.wui-rolling-number-roll {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
.wui-rolling-number[data-ready] > .wui-rolling-number-roll {
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
}
|
|
28
|
-
// The text stays for assistive technology while the roll is drawn.
|
|
29
|
-
.wui-rolling-number[data-ready] > .wui-rolling-number-text {
|
|
30
|
-
position: absolute;
|
|
31
|
-
width: 1px;
|
|
32
|
-
height: 1px;
|
|
33
|
-
margin: -1px;
|
|
34
|
-
padding: 0;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
clip-path: inset(50%);
|
|
37
|
-
white-space: nowrap;
|
|
38
|
-
}
|
|
39
|
-
.wui-rolling-number-char {
|
|
40
|
-
display: inline-block;
|
|
41
|
-
vertical-align: top;
|
|
42
|
-
height: $wui-roll-cell;
|
|
43
|
-
}
|
|
44
|
-
.wui-rolling-number-digit {
|
|
45
|
-
display: inline-block;
|
|
46
|
-
vertical-align: top;
|
|
47
|
-
height: $wui-roll-cell;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
}
|
|
50
|
-
.wui-rolling-number-reel {
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
transform: translateY(calc(var(--wui-roll-digit, 0) * -#{$wui-roll-cell}));
|
|
54
|
-
> span {
|
|
55
|
-
display: block;
|
|
56
|
-
height: $wui-roll-cell;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
// Only a figure that is moving has a transition, so a still render never catches a reel mid-move.
|
|
60
|
-
.wui-rolling-number[data-rolling] .wui-rolling-number-reel {
|
|
61
|
-
transition: transform var(--wui-roll-duration, 600ms) var(--wui-ease-out);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@media (prefers-reduced-motion: reduce) {
|
|
65
|
-
.wui-rolling-number-reel {
|
|
66
|
-
transition: none;
|
|
67
|
-
}
|
|
68
|
-
}
|