@ecopages/radiant-ui 0.1.0-beta.0 → 0.1.0-beta.2
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 +4 -2
- package/dist/components/ui/alert/alert.css +56 -23
- package/dist/components/ui/breadcrumb/breadcrumb.css +85 -36
- package/dist/components/ui/carousel/carousel.css +465 -166
- package/dist/components/ui/checkbox/checkbox.css +196 -49
- package/dist/components/ui/combobox/combobox.css +213 -60
- package/dist/components/ui/dialog/dialog.css +176 -49
- package/dist/components/ui/disclosure/disclosure.css +228 -100
- package/dist/components/ui/feed/feed.css +30 -10
- package/dist/components/ui/field/field.css +18 -22
- package/dist/components/ui/form/form.css +7 -8
- package/dist/components/ui/grid/grid.css +172 -43
- package/dist/components/ui/input/input.css +126 -30
- package/dist/components/ui/label/label.css +20 -6
- package/dist/components/ui/listbox/listbox.css +137 -19
- package/dist/components/ui/menu-button/index.js +1 -1
- package/dist/components/ui/menu-button/index.js.map +4 -4
- package/dist/components/ui/menu-button/menu-button.css +158 -38
- package/dist/components/ui/menu-button/menu-button.script.d.ts +7 -7
- package/dist/components/ui/menubar/index.js +1 -1
- package/dist/components/ui/menubar/index.js.map +2 -2
- package/dist/components/ui/menubar/menubar.css +207 -39
- package/dist/components/ui/meter/meter.css +50 -13
- package/dist/components/ui/navigation-menu/navigation-menu.css +281 -85
- package/dist/components/ui/radio-group/radio-group.css +179 -40
- package/dist/components/ui/shared/floating-position.d.ts +37 -0
- package/dist/components/ui/shared/floating-position.test.d.ts +1 -0
- package/dist/components/ui/shared/placement.d.ts +2 -0
- package/dist/components/ui/sidebar/sidebar.css +407 -189
- package/dist/components/ui/slider/slider.css +220 -47
- package/dist/components/ui/spinbutton/spinbutton.css +65 -15
- package/dist/components/ui/switch/switch.css +164 -43
- package/dist/components/ui/tabs/tabs.css +145 -24
- package/dist/components/ui/textarea/textarea.css +128 -31
- package/dist/components/ui/toast/toast.css +388 -255
- package/dist/components/ui/toolbar/toolbar.css +118 -11
- package/dist/components/ui/tooltip/index.js +1 -1
- package/dist/components/ui/tooltip/index.js.map +4 -4
- package/dist/components/ui/tooltip/tooltip.css +119 -21
- package/dist/components/ui/tooltip/tooltip.script.d.ts +6 -6
- package/dist/components/ui/tree/tree.css +180 -49
- package/dist/components/ui/treegrid/treegrid.css +190 -72
- package/dist/components/ui/window-splitter/window-splitter.css +144 -31
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/styles/components/button.css +299 -113
- package/dist/styles/radiant-ui-core.css +828 -7
- package/dist/styles/radiant-ui.css +1497 -8
- package/dist/styles/styles.css +5830 -36
- package/dist/styles/tailwind.css +1607 -27
- package/dist/styles/themes/aurora.css +637 -15
- package/dist/styles/themes/default-compact-soft.css +580 -15
- package/dist/styles/themes/default.css +641 -2
- package/dist/styles/themes/glacier.css +637 -15
- package/dist/styles/tokens/colors/aurora.css +1 -73
- package/dist/styles/tokens/colors/basalt.css +1 -36
- package/dist/styles/tokens/colors/glacier.css +1 -45
- package/dist/styles/tokens/colors/palettes.css +1 -3
- package/dist/styles/tokens/elevation/default.css +11 -19
- package/dist/styles/tokens/elevation/flat.css +11 -19
- package/dist/styles/tokens/motion/default.css +6 -17
- package/dist/styles/tokens/motion/snappy.css +6 -17
- package/dist/styles/tokens/presets/colors/index.css +446 -4
- package/dist/styles/tokens/radius/default.css +17 -31
- package/dist/styles/tokens/radius/edgy.css +17 -32
- package/dist/styles/tokens/radius/sharp.css +20 -2
- package/dist/styles/tokens/radius/soft.css +17 -31
- package/dist/styles/tokens/semantic.css +445 -79
- package/dist/styles/tokens/spacing/compact.css +16 -21
- package/dist/styles/tokens/spacing/default.css +16 -21
- package/dist/styles/tokens/spacing/scale-bridge.css +1 -17
- package/dist/styles/tokens/spacing/wide.css +16 -21
- package/dist/styles/tokens/system.css +21 -33
- package/dist/styles/tokens/typography/default.css +23 -33
- package/package.json +5 -6
|
@@ -1,315 +1,448 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* Fixed toaster host. Stack transforms are written by JS onto `--y`
|
|
5
|
-
* (Sonner-style). CSS only handles enter/exit/swipe and chrome.
|
|
6
|
-
*/
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties;
|
|
7
3
|
rui-toaster {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
4
|
+
position: fixed;
|
|
5
|
+
z-index: var(--z-toast, 50);
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
width: var(--width, 356px);
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
17
12
|
rui-toaster[data-y-position='top'] {
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
top: var(--viewport-offset, 24px);
|
|
14
|
+
bottom: auto;
|
|
20
15
|
}
|
|
21
|
-
|
|
22
16
|
rui-toaster[data-y-position='bottom'] {
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
bottom: var(--viewport-offset, 24px);
|
|
18
|
+
top: auto;
|
|
25
19
|
}
|
|
26
|
-
|
|
27
20
|
rui-toaster[data-x-position='end'] {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
right: var(--viewport-offset, 24px);
|
|
22
|
+
left: auto;
|
|
23
|
+
transform: none;
|
|
31
24
|
}
|
|
32
|
-
|
|
33
25
|
rui-toaster[data-x-position='start'] {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
26
|
+
left: var(--viewport-offset, 24px);
|
|
27
|
+
right: auto;
|
|
28
|
+
transform: none;
|
|
37
29
|
}
|
|
38
|
-
|
|
39
30
|
rui-toaster[data-x-position='center'] {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
left: 50%;
|
|
32
|
+
right: auto;
|
|
33
|
+
transform: translateX(-50%);
|
|
43
34
|
}
|
|
44
|
-
|
|
45
35
|
rui-toast {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
transform 400ms ease,
|
|
36
|
+
--y: translateY(0);
|
|
37
|
+
--z-index: 1;
|
|
38
|
+
position: absolute;
|
|
39
|
+
left: 0;
|
|
40
|
+
width: 100%;
|
|
41
|
+
opacity: 0;
|
|
42
|
+
transform: var(--y);
|
|
43
|
+
touch-action: none;
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
outline: none;
|
|
46
|
+
overflow-wrap: anywhere;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
pointer-events: auto;
|
|
49
|
+
z-index: var(--z-index);
|
|
50
|
+
transition: transform 400ms ease,
|
|
62
51
|
opacity 400ms ease,
|
|
63
52
|
height 400ms ease;
|
|
64
53
|
}
|
|
65
|
-
|
|
66
54
|
rui-toaster[data-y-position='bottom'] rui-toast {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
55
|
+
bottom: 0;
|
|
56
|
+
top: auto;
|
|
57
|
+
transform-origin: center bottom;
|
|
70
58
|
}
|
|
71
|
-
|
|
72
59
|
rui-toaster[data-y-position='top'] rui-toast {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
60
|
+
top: 0;
|
|
61
|
+
bottom: auto;
|
|
62
|
+
transform-origin: center top;
|
|
76
63
|
}
|
|
77
|
-
|
|
78
|
-
/* Enter from off-screen until JS mounts + patches --y */
|
|
79
64
|
rui-toast:not([data-mounted='true']) {
|
|
80
|
-
|
|
65
|
+
opacity: 0;
|
|
81
66
|
}
|
|
82
|
-
|
|
83
67
|
rui-toaster[data-y-position='bottom'] rui-toast:not([data-mounted='true']) {
|
|
84
|
-
|
|
68
|
+
--y: translateY(100%);
|
|
85
69
|
}
|
|
86
|
-
|
|
87
70
|
rui-toaster[data-y-position='top'] rui-toast:not([data-mounted='true']) {
|
|
88
|
-
|
|
71
|
+
--y: translateY(-100%);
|
|
89
72
|
}
|
|
90
|
-
|
|
91
73
|
rui-toast[data-mounted='true'] {
|
|
92
|
-
|
|
74
|
+
opacity: 1;
|
|
93
75
|
}
|
|
94
|
-
|
|
95
76
|
rui-toast[data-expanded='false'][data-front='false'] {
|
|
96
|
-
|
|
77
|
+
pointer-events: none;
|
|
97
78
|
}
|
|
98
|
-
|
|
99
79
|
rui-toast[data-swiping='true'] {
|
|
100
|
-
|
|
101
|
-
|
|
80
|
+
transform: var(--y) translateY(var(--swipe-amount-y, 0px)) translateX(var(--swipe-amount-x, 0px));
|
|
81
|
+
transition: none;
|
|
102
82
|
}
|
|
103
|
-
|
|
104
83
|
rui-toast[data-removed='true'][data-swipe-out='false'] {
|
|
105
|
-
|
|
84
|
+
opacity: 0;
|
|
106
85
|
}
|
|
107
|
-
|
|
108
86
|
rui-toaster[data-y-position='bottom'] rui-toast[data-removed='true'][data-swipe-out='false'] {
|
|
109
|
-
|
|
87
|
+
--y: translateY(100%);
|
|
110
88
|
}
|
|
111
|
-
|
|
112
89
|
rui-toaster[data-y-position='top'] rui-toast[data-removed='true'][data-swipe-out='false'] {
|
|
113
|
-
|
|
90
|
+
--y: translateY(-100%);
|
|
114
91
|
}
|
|
115
|
-
|
|
116
92
|
rui-toast[data-swipe-out='true'] {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
93
|
+
animation-duration: 200ms;
|
|
94
|
+
animation-timing-function: ease-out;
|
|
95
|
+
animation-fill-mode: forwards;
|
|
120
96
|
}
|
|
121
|
-
|
|
122
97
|
rui-toast[data-swipe-out='true'][data-swipe-direction='left'] {
|
|
123
|
-
|
|
98
|
+
animation-name: rui-toast-swipe-out-left;
|
|
124
99
|
}
|
|
125
|
-
|
|
126
100
|
rui-toast[data-swipe-out='true'][data-swipe-direction='right'] {
|
|
127
|
-
|
|
101
|
+
animation-name: rui-toast-swipe-out-right;
|
|
128
102
|
}
|
|
129
|
-
|
|
130
103
|
rui-toast[data-swipe-out='true'][data-swipe-direction='up'] {
|
|
131
|
-
|
|
104
|
+
animation-name: rui-toast-swipe-out-up;
|
|
132
105
|
}
|
|
133
|
-
|
|
134
106
|
rui-toast[data-swipe-out='true'][data-swipe-direction='down'] {
|
|
135
|
-
|
|
107
|
+
animation-name: rui-toast-swipe-out-down;
|
|
136
108
|
}
|
|
137
|
-
|
|
138
|
-
/* Hover bridge between expanded toasts */
|
|
139
109
|
rui-toast[data-expanded='true']::after {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
|
|
110
|
+
content: '';
|
|
111
|
+
position: absolute;
|
|
112
|
+
left: 0;
|
|
113
|
+
width: 100%;
|
|
114
|
+
height: calc(var(--gap, 14px) + 1px);
|
|
115
|
+
bottom: 100%;
|
|
116
|
+
}
|
|
148
117
|
@layer components {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
118
|
+
.rui-toaster-region {
|
|
119
|
+
display: contents;
|
|
120
|
+
}
|
|
121
|
+
.rui-toaster {
|
|
122
|
+
position: relative;
|
|
123
|
+
margin: 0px;
|
|
124
|
+
list-style-type: none;
|
|
125
|
+
padding: 0px;
|
|
126
|
+
width: 100%;
|
|
127
|
+
outline: none;
|
|
128
|
+
box-sizing: border-box;
|
|
129
|
+
pointer-events: auto;
|
|
130
|
+
}
|
|
131
|
+
rui-toast .rui-toast > * {
|
|
132
|
+
transition: opacity 400ms ease;
|
|
133
|
+
}
|
|
134
|
+
rui-toast[data-expanded='false'][data-front='false'] .rui-toast > * {
|
|
135
|
+
opacity: 0;
|
|
136
|
+
}
|
|
137
|
+
.rui-toast {
|
|
138
|
+
position: relative;
|
|
139
|
+
display: flex;
|
|
140
|
+
width: 100%;
|
|
141
|
+
align-items: center;
|
|
142
|
+
gap: var(--spacing-2, var(--space-2));
|
|
143
|
+
border-radius: var(--radius-container, var(--radius-container));
|
|
144
|
+
border-style: var(--tw-border-style);
|
|
145
|
+
border-width: 1px;
|
|
146
|
+
@media (forced-colors: active) {
|
|
147
|
+
background-image: none;
|
|
148
|
+
}
|
|
149
|
+
background-image: var(--sheen-image);
|
|
150
|
+
@media (forced-colors: active) {
|
|
151
|
+
background-image: none;
|
|
152
|
+
}
|
|
153
|
+
padding-inline: var(--spacing-control-x, var(--space-control-x));
|
|
154
|
+
padding-block: var(--spacing-control-y, var(--space-control-y));
|
|
155
|
+
font-size: var(--text-sm, var(--text-sm));
|
|
156
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
157
|
+
--tw-shadow: var(--shadow-overlay);
|
|
158
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
159
|
+
border-color: var(--color-border, var(--border));
|
|
160
|
+
background-color: var(--color-surface, var(--surface));
|
|
161
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
162
|
+
}
|
|
163
|
+
.rui-toast--info {
|
|
164
|
+
border-color: var(--color-border, var(--border));
|
|
165
|
+
background-color: var(--color-surface, var(--surface));
|
|
166
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
167
|
+
}
|
|
168
|
+
.rui-toast--success {
|
|
169
|
+
border-color: var(--color-success, var(--success));
|
|
170
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
171
|
+
border-color: color-mix(in oklab, var(--color-success, var(--success)) 40%, transparent);
|
|
172
|
+
}
|
|
173
|
+
background-color: var(--color-surface, var(--surface));
|
|
174
|
+
color: var(--color-success, var(--success));
|
|
175
|
+
}
|
|
176
|
+
.rui-toast--warning {
|
|
177
|
+
border-color: var(--color-border, var(--border));
|
|
178
|
+
background-color: var(--color-surface, var(--surface));
|
|
179
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
180
|
+
}
|
|
181
|
+
.rui-toast--error {
|
|
182
|
+
border-color: var(--color-error, var(--error));
|
|
183
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
184
|
+
border-color: color-mix(in oklab, var(--color-error, var(--error)) 40%, transparent);
|
|
185
|
+
}
|
|
186
|
+
background-color: var(--color-surface, var(--surface));
|
|
187
|
+
color: var(--color-error, var(--error));
|
|
188
|
+
}
|
|
189
|
+
.rui-toast--loading {
|
|
190
|
+
border-color: var(--color-border, var(--border));
|
|
191
|
+
background-color: var(--color-surface, var(--surface));
|
|
192
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
193
|
+
}
|
|
194
|
+
.rui-toast__icon {
|
|
195
|
+
display: inline-flex;
|
|
196
|
+
width: var(--spacing-5, var(--space-5));
|
|
197
|
+
height: var(--spacing-5, var(--space-5));
|
|
198
|
+
flex-shrink: 0;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
font-size: var(--text-sm, var(--text-sm));
|
|
202
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
203
|
+
--tw-font-weight: var(--font-weight-semibold, var(--weight-semibold));
|
|
204
|
+
font-weight: var(--font-weight-semibold, var(--weight-semibold));
|
|
205
|
+
}
|
|
206
|
+
.rui-toast__loader {
|
|
207
|
+
width: var(--spacing-4, var(--space-4));
|
|
208
|
+
height: var(--spacing-4, var(--space-4));
|
|
209
|
+
border-radius: var(--radius-full, var(--border-radius-full));
|
|
210
|
+
border-style: var(--tw-border-style);
|
|
211
|
+
border-width: 2px;
|
|
212
|
+
border-color: currentcolor;
|
|
213
|
+
border-right-color: transparent;
|
|
214
|
+
animation: rui-toast-spin 0.7s linear infinite;
|
|
215
|
+
}
|
|
216
|
+
.rui-toast__content {
|
|
217
|
+
display: flex;
|
|
218
|
+
min-width: 0px;
|
|
219
|
+
flex: 1;
|
|
220
|
+
flex-direction: column;
|
|
221
|
+
gap: calc(var(--spacing, 0.25rem) * 0.5);
|
|
222
|
+
}
|
|
223
|
+
.rui-toast__title {
|
|
224
|
+
--tw-leading: var(--leading-snug, 1.375);
|
|
225
|
+
line-height: var(--leading-snug, 1.375);
|
|
226
|
+
--tw-font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
227
|
+
font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
228
|
+
color: inherit;
|
|
229
|
+
}
|
|
230
|
+
.rui-toast__description {
|
|
231
|
+
font-size: var(--text-xs, var(--text-xs));
|
|
232
|
+
line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
233
|
+
--tw-leading: var(--leading-snug, 1.375);
|
|
234
|
+
line-height: var(--leading-snug, 1.375);
|
|
235
|
+
opacity: 80%;
|
|
236
|
+
}
|
|
237
|
+
.rui-toast__action {
|
|
238
|
+
flex-shrink: 0;
|
|
239
|
+
}
|
|
240
|
+
.rui-toast__close {
|
|
241
|
+
position: absolute;
|
|
242
|
+
top: calc(var(--spacing-2, var(--space-2)) * -1);
|
|
243
|
+
left: calc(var(--spacing-2, var(--space-2)) * -1);
|
|
244
|
+
display: inline-flex;
|
|
245
|
+
width: var(--spacing-5, var(--space-5));
|
|
246
|
+
height: var(--spacing-5, var(--space-5));
|
|
247
|
+
align-items: center;
|
|
248
|
+
justify-content: center;
|
|
249
|
+
border-radius: var(--radius-full, var(--border-radius-full));
|
|
250
|
+
border-style: var(--tw-border-style);
|
|
251
|
+
border-width: 1px;
|
|
252
|
+
border-color: var(--color-border, var(--border));
|
|
253
|
+
background-color: var(--color-surface, var(--surface));
|
|
254
|
+
font-size: var(--text-xs, var(--text-xs));
|
|
255
|
+
line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
256
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
257
|
+
cursor: pointer;
|
|
258
|
+
--tw-leading: 1;
|
|
259
|
+
line-height: 1;
|
|
260
|
+
}
|
|
261
|
+
.rui-toast__close:hover {
|
|
262
|
+
background-color: var(--color-background, var(--background));
|
|
263
|
+
}
|
|
264
|
+
.rui-toast__close:focus-visible {
|
|
265
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
266
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
267
|
+
--tw-ring-color: var(--color-focus-ring, var(--focus-ring));
|
|
268
|
+
--tw-outline-style: none;
|
|
269
|
+
outline-style: none;
|
|
270
|
+
@media (forced-colors: active) {
|
|
271
|
+
outline: 2px solid transparent;
|
|
272
|
+
outline-offset: 2px;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
rui-toast:focus-visible .rui-toast {
|
|
276
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
277
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
278
|
+
--tw-ring-color: var(--color-focus-ring, var(--focus-ring));
|
|
279
|
+
}
|
|
280
|
+
}
|
|
237
281
|
@keyframes rui-toast-spin {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
282
|
+
to {
|
|
283
|
+
transform: rotate(360deg);
|
|
284
|
+
}
|
|
241
285
|
}
|
|
242
|
-
|
|
243
286
|
@keyframes rui-toast-swipe-out-left {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
|
|
287
|
+
from {
|
|
288
|
+
transform: var(--y) translateX(var(--swipe-amount-x));
|
|
289
|
+
opacity: 1;
|
|
290
|
+
}
|
|
291
|
+
to {
|
|
292
|
+
transform: var(--y) translateX(calc(var(--swipe-amount-x) - 100%));
|
|
293
|
+
opacity: 0;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
255
296
|
@keyframes rui-toast-swipe-out-right {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
|
|
297
|
+
from {
|
|
298
|
+
transform: var(--y) translateX(var(--swipe-amount-x));
|
|
299
|
+
opacity: 1;
|
|
300
|
+
}
|
|
301
|
+
to {
|
|
302
|
+
transform: var(--y) translateX(calc(var(--swipe-amount-x) + 100%));
|
|
303
|
+
opacity: 0;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
267
306
|
@keyframes rui-toast-swipe-out-up {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
}
|
|
278
|
-
|
|
307
|
+
from {
|
|
308
|
+
transform: var(--y) translateY(var(--swipe-amount-y));
|
|
309
|
+
opacity: 1;
|
|
310
|
+
}
|
|
311
|
+
to {
|
|
312
|
+
transform: var(--y) translateY(calc(var(--swipe-amount-y) - 100%));
|
|
313
|
+
opacity: 0;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
279
316
|
@keyframes rui-toast-swipe-out-down {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
|
|
317
|
+
from {
|
|
318
|
+
transform: var(--y) translateY(var(--swipe-amount-y));
|
|
319
|
+
opacity: 1;
|
|
320
|
+
}
|
|
321
|
+
to {
|
|
322
|
+
transform: var(--y) translateY(calc(var(--swipe-amount-y) + 100%));
|
|
323
|
+
opacity: 0;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
291
326
|
@media (max-width: 600px) {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
|
|
327
|
+
rui-toaster {
|
|
328
|
+
left: var(--viewport-offset, 16px);
|
|
329
|
+
right: var(--viewport-offset, 16px);
|
|
330
|
+
width: auto;
|
|
331
|
+
transform: none;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
300
334
|
@media (prefers-reduced-motion: reduce) {
|
|
301
|
-
|
|
335
|
+
rui-toast,
|
|
302
336
|
.rui-toast__loader,
|
|
303
337
|
rui-toast .rui-toast > * {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
338
|
+
transition: none !important;
|
|
339
|
+
animation: none !important;
|
|
340
|
+
}
|
|
341
|
+
rui-toast[data-mounted='true'] {
|
|
342
|
+
opacity: 1;
|
|
343
|
+
}
|
|
344
|
+
rui-toast[data-swipe-out='true'] {
|
|
345
|
+
opacity: 0;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
@property --tw-border-style {
|
|
349
|
+
syntax: "*";
|
|
350
|
+
inherits: false;
|
|
351
|
+
initial-value: solid;
|
|
352
|
+
}
|
|
353
|
+
@property --tw-shadow {
|
|
354
|
+
syntax: "*";
|
|
355
|
+
inherits: false;
|
|
356
|
+
initial-value: 0 0 #0000;
|
|
357
|
+
}
|
|
358
|
+
@property --tw-shadow-color {
|
|
359
|
+
syntax: "*";
|
|
360
|
+
inherits: false;
|
|
361
|
+
}
|
|
362
|
+
@property --tw-shadow-alpha {
|
|
363
|
+
syntax: "<percentage>";
|
|
364
|
+
inherits: false;
|
|
365
|
+
initial-value: 100%;
|
|
366
|
+
}
|
|
367
|
+
@property --tw-inset-shadow {
|
|
368
|
+
syntax: "*";
|
|
369
|
+
inherits: false;
|
|
370
|
+
initial-value: 0 0 #0000;
|
|
371
|
+
}
|
|
372
|
+
@property --tw-inset-shadow-color {
|
|
373
|
+
syntax: "*";
|
|
374
|
+
inherits: false;
|
|
375
|
+
}
|
|
376
|
+
@property --tw-inset-shadow-alpha {
|
|
377
|
+
syntax: "<percentage>";
|
|
378
|
+
inherits: false;
|
|
379
|
+
initial-value: 100%;
|
|
380
|
+
}
|
|
381
|
+
@property --tw-ring-color {
|
|
382
|
+
syntax: "*";
|
|
383
|
+
inherits: false;
|
|
384
|
+
}
|
|
385
|
+
@property --tw-ring-shadow {
|
|
386
|
+
syntax: "*";
|
|
387
|
+
inherits: false;
|
|
388
|
+
initial-value: 0 0 #0000;
|
|
389
|
+
}
|
|
390
|
+
@property --tw-inset-ring-color {
|
|
391
|
+
syntax: "*";
|
|
392
|
+
inherits: false;
|
|
393
|
+
}
|
|
394
|
+
@property --tw-inset-ring-shadow {
|
|
395
|
+
syntax: "*";
|
|
396
|
+
inherits: false;
|
|
397
|
+
initial-value: 0 0 #0000;
|
|
398
|
+
}
|
|
399
|
+
@property --tw-ring-inset {
|
|
400
|
+
syntax: "*";
|
|
401
|
+
inherits: false;
|
|
402
|
+
}
|
|
403
|
+
@property --tw-ring-offset-width {
|
|
404
|
+
syntax: "<length>";
|
|
405
|
+
inherits: false;
|
|
406
|
+
initial-value: 0px;
|
|
407
|
+
}
|
|
408
|
+
@property --tw-ring-offset-color {
|
|
409
|
+
syntax: "*";
|
|
410
|
+
inherits: false;
|
|
411
|
+
initial-value: #fff;
|
|
412
|
+
}
|
|
413
|
+
@property --tw-ring-offset-shadow {
|
|
414
|
+
syntax: "*";
|
|
415
|
+
inherits: false;
|
|
416
|
+
initial-value: 0 0 #0000;
|
|
417
|
+
}
|
|
418
|
+
@property --tw-font-weight {
|
|
419
|
+
syntax: "*";
|
|
420
|
+
inherits: false;
|
|
421
|
+
}
|
|
422
|
+
@property --tw-leading {
|
|
423
|
+
syntax: "*";
|
|
424
|
+
inherits: false;
|
|
425
|
+
}
|
|
426
|
+
@layer properties {
|
|
427
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
428
|
+
*, ::before, ::after, ::backdrop {
|
|
429
|
+
--tw-border-style: solid;
|
|
430
|
+
--tw-shadow: 0 0 #0000;
|
|
431
|
+
--tw-shadow-color: initial;
|
|
432
|
+
--tw-shadow-alpha: 100%;
|
|
433
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
434
|
+
--tw-inset-shadow-color: initial;
|
|
435
|
+
--tw-inset-shadow-alpha: 100%;
|
|
436
|
+
--tw-ring-color: initial;
|
|
437
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
438
|
+
--tw-inset-ring-color: initial;
|
|
439
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
440
|
+
--tw-ring-inset: initial;
|
|
441
|
+
--tw-ring-offset-width: 0px;
|
|
442
|
+
--tw-ring-offset-color: #fff;
|
|
443
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
444
|
+
--tw-font-weight: initial;
|
|
445
|
+
--tw-leading: initial;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
315
448
|
}
|