@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.
Files changed (75) hide show
  1. package/README.md +4 -2
  2. package/dist/components/ui/alert/alert.css +56 -23
  3. package/dist/components/ui/breadcrumb/breadcrumb.css +85 -36
  4. package/dist/components/ui/carousel/carousel.css +465 -166
  5. package/dist/components/ui/checkbox/checkbox.css +196 -49
  6. package/dist/components/ui/combobox/combobox.css +213 -60
  7. package/dist/components/ui/dialog/dialog.css +176 -49
  8. package/dist/components/ui/disclosure/disclosure.css +228 -100
  9. package/dist/components/ui/feed/feed.css +30 -10
  10. package/dist/components/ui/field/field.css +18 -22
  11. package/dist/components/ui/form/form.css +7 -8
  12. package/dist/components/ui/grid/grid.css +172 -43
  13. package/dist/components/ui/input/input.css +126 -30
  14. package/dist/components/ui/label/label.css +20 -6
  15. package/dist/components/ui/listbox/listbox.css +137 -19
  16. package/dist/components/ui/menu-button/index.js +1 -1
  17. package/dist/components/ui/menu-button/index.js.map +4 -4
  18. package/dist/components/ui/menu-button/menu-button.css +158 -38
  19. package/dist/components/ui/menu-button/menu-button.script.d.ts +7 -7
  20. package/dist/components/ui/menubar/index.js +1 -1
  21. package/dist/components/ui/menubar/index.js.map +2 -2
  22. package/dist/components/ui/menubar/menubar.css +207 -39
  23. package/dist/components/ui/meter/meter.css +50 -13
  24. package/dist/components/ui/navigation-menu/navigation-menu.css +281 -85
  25. package/dist/components/ui/radio-group/radio-group.css +179 -40
  26. package/dist/components/ui/shared/floating-position.d.ts +37 -0
  27. package/dist/components/ui/shared/floating-position.test.d.ts +1 -0
  28. package/dist/components/ui/shared/placement.d.ts +2 -0
  29. package/dist/components/ui/sidebar/sidebar.css +407 -189
  30. package/dist/components/ui/slider/slider.css +220 -47
  31. package/dist/components/ui/spinbutton/spinbutton.css +65 -15
  32. package/dist/components/ui/switch/switch.css +164 -43
  33. package/dist/components/ui/tabs/tabs.css +145 -24
  34. package/dist/components/ui/textarea/textarea.css +128 -31
  35. package/dist/components/ui/toast/toast.css +388 -255
  36. package/dist/components/ui/toolbar/toolbar.css +118 -11
  37. package/dist/components/ui/tooltip/index.js +1 -1
  38. package/dist/components/ui/tooltip/index.js.map +4 -4
  39. package/dist/components/ui/tooltip/tooltip.css +119 -21
  40. package/dist/components/ui/tooltip/tooltip.script.d.ts +6 -6
  41. package/dist/components/ui/tree/tree.css +180 -49
  42. package/dist/components/ui/treegrid/treegrid.css +190 -72
  43. package/dist/components/ui/window-splitter/window-splitter.css +144 -31
  44. package/dist/index.js +1 -1
  45. package/dist/index.js.map +4 -4
  46. package/dist/styles/components/button.css +299 -113
  47. package/dist/styles/radiant-ui-core.css +828 -7
  48. package/dist/styles/radiant-ui.css +1497 -8
  49. package/dist/styles/styles.css +5830 -36
  50. package/dist/styles/tailwind.css +1607 -27
  51. package/dist/styles/themes/aurora.css +637 -15
  52. package/dist/styles/themes/default-compact-soft.css +580 -15
  53. package/dist/styles/themes/default.css +641 -2
  54. package/dist/styles/themes/glacier.css +637 -15
  55. package/dist/styles/tokens/colors/aurora.css +1 -73
  56. package/dist/styles/tokens/colors/basalt.css +1 -36
  57. package/dist/styles/tokens/colors/glacier.css +1 -45
  58. package/dist/styles/tokens/colors/palettes.css +1 -3
  59. package/dist/styles/tokens/elevation/default.css +11 -19
  60. package/dist/styles/tokens/elevation/flat.css +11 -19
  61. package/dist/styles/tokens/motion/default.css +6 -17
  62. package/dist/styles/tokens/motion/snappy.css +6 -17
  63. package/dist/styles/tokens/presets/colors/index.css +446 -4
  64. package/dist/styles/tokens/radius/default.css +17 -31
  65. package/dist/styles/tokens/radius/edgy.css +17 -32
  66. package/dist/styles/tokens/radius/sharp.css +20 -2
  67. package/dist/styles/tokens/radius/soft.css +17 -31
  68. package/dist/styles/tokens/semantic.css +445 -79
  69. package/dist/styles/tokens/spacing/compact.css +16 -21
  70. package/dist/styles/tokens/spacing/default.css +16 -21
  71. package/dist/styles/tokens/spacing/scale-bridge.css +1 -17
  72. package/dist/styles/tokens/spacing/wide.css +16 -21
  73. package/dist/styles/tokens/system.css +21 -33
  74. package/dist/styles/tokens/typography/default.css +23 -33
  75. package/package.json +5 -6
@@ -1,315 +1,448 @@
1
- @reference '../../../styles/radiant-ui.css';
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
- position: fixed;
9
- z-index: var(--z-toast, 50);
10
- pointer-events: none;
11
- box-sizing: border-box;
12
- width: var(--width, 356px);
13
- margin: 0;
14
- padding: 0;
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
- top: var(--viewport-offset, 24px);
19
- bottom: auto;
13
+ top: var(--viewport-offset, 24px);
14
+ bottom: auto;
20
15
  }
21
-
22
16
  rui-toaster[data-y-position='bottom'] {
23
- bottom: var(--viewport-offset, 24px);
24
- top: auto;
17
+ bottom: var(--viewport-offset, 24px);
18
+ top: auto;
25
19
  }
26
-
27
20
  rui-toaster[data-x-position='end'] {
28
- right: var(--viewport-offset, 24px);
29
- left: auto;
30
- transform: none;
21
+ right: var(--viewport-offset, 24px);
22
+ left: auto;
23
+ transform: none;
31
24
  }
32
-
33
25
  rui-toaster[data-x-position='start'] {
34
- left: var(--viewport-offset, 24px);
35
- right: auto;
36
- transform: none;
26
+ left: var(--viewport-offset, 24px);
27
+ right: auto;
28
+ transform: none;
37
29
  }
38
-
39
30
  rui-toaster[data-x-position='center'] {
40
- left: 50%;
41
- right: auto;
42
- transform: translateX(-50%);
31
+ left: 50%;
32
+ right: auto;
33
+ transform: translateX(-50%);
43
34
  }
44
-
45
35
  rui-toast {
46
- --y: translateY(0);
47
- --z-index: 1;
48
- position: absolute;
49
- left: 0;
50
- width: 100%;
51
- opacity: 0;
52
- transform: var(--y);
53
- touch-action: none;
54
- box-sizing: border-box;
55
- outline: none;
56
- overflow-wrap: anywhere;
57
- overflow: hidden;
58
- pointer-events: auto;
59
- z-index: var(--z-index);
60
- transition:
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
- bottom: 0;
68
- top: auto;
69
- transform-origin: center bottom;
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
- top: 0;
74
- bottom: auto;
75
- transform-origin: center top;
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
- opacity: 0;
65
+ opacity: 0;
81
66
  }
82
-
83
67
  rui-toaster[data-y-position='bottom'] rui-toast:not([data-mounted='true']) {
84
- --y: translateY(100%);
68
+ --y: translateY(100%);
85
69
  }
86
-
87
70
  rui-toaster[data-y-position='top'] rui-toast:not([data-mounted='true']) {
88
- --y: translateY(-100%);
71
+ --y: translateY(-100%);
89
72
  }
90
-
91
73
  rui-toast[data-mounted='true'] {
92
- opacity: 1;
74
+ opacity: 1;
93
75
  }
94
-
95
76
  rui-toast[data-expanded='false'][data-front='false'] {
96
- pointer-events: none;
77
+ pointer-events: none;
97
78
  }
98
-
99
79
  rui-toast[data-swiping='true'] {
100
- transform: var(--y) translateY(var(--swipe-amount-y, 0px)) translateX(var(--swipe-amount-x, 0px));
101
- transition: none;
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
- opacity: 0;
84
+ opacity: 0;
106
85
  }
107
-
108
86
  rui-toaster[data-y-position='bottom'] rui-toast[data-removed='true'][data-swipe-out='false'] {
109
- --y: translateY(100%);
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
- --y: translateY(-100%);
90
+ --y: translateY(-100%);
114
91
  }
115
-
116
92
  rui-toast[data-swipe-out='true'] {
117
- animation-duration: 200ms;
118
- animation-timing-function: ease-out;
119
- animation-fill-mode: forwards;
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
- animation-name: rui-toast-swipe-out-left;
98
+ animation-name: rui-toast-swipe-out-left;
124
99
  }
125
-
126
100
  rui-toast[data-swipe-out='true'][data-swipe-direction='right'] {
127
- animation-name: rui-toast-swipe-out-right;
101
+ animation-name: rui-toast-swipe-out-right;
128
102
  }
129
-
130
103
  rui-toast[data-swipe-out='true'][data-swipe-direction='up'] {
131
- animation-name: rui-toast-swipe-out-up;
104
+ animation-name: rui-toast-swipe-out-up;
132
105
  }
133
-
134
106
  rui-toast[data-swipe-out='true'][data-swipe-direction='down'] {
135
- animation-name: rui-toast-swipe-out-down;
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
- content: '';
141
- position: absolute;
142
- left: 0;
143
- width: 100%;
144
- height: calc(var(--gap, 14px) + 1px);
145
- bottom: 100%;
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
- .rui-toaster-region {
150
- display: contents;
151
- }
152
-
153
- .rui-toaster {
154
- @apply relative m-0 list-none p-0;
155
- width: 100%;
156
- outline: none;
157
- box-sizing: border-box;
158
- pointer-events: auto;
159
- }
160
-
161
- rui-toast .rui-toast > * {
162
- transition: opacity 400ms ease;
163
- }
164
-
165
- rui-toast[data-expanded='false'][data-front='false'] .rui-toast > * {
166
- opacity: 0;
167
- }
168
-
169
- .rui-toast {
170
- @apply relative flex w-full items-center gap-2 rounded-container border px-control-x py-control-y text-sm shadow-md rui-sheen;
171
- @apply border-border bg-surface text-on-surface;
172
- }
173
-
174
- .rui-toast--info {
175
- @apply border-border bg-surface text-on-surface;
176
- }
177
-
178
- .rui-toast--success {
179
- @apply border-success/40 bg-surface text-success;
180
- }
181
-
182
- .rui-toast--warning {
183
- @apply border-border bg-surface text-on-surface;
184
- }
185
-
186
- .rui-toast--error {
187
- @apply border-error/40 bg-surface text-error;
188
- }
189
-
190
- .rui-toast--loading {
191
- @apply border-border bg-surface text-on-surface;
192
- }
193
-
194
- .rui-toast__icon {
195
- @apply inline-flex size-5 shrink-0 items-center justify-center text-sm font-semibold;
196
- }
197
-
198
- .rui-toast__loader {
199
- @apply size-4 rounded-full border-2 border-current border-r-transparent;
200
- animation: rui-toast-spin 0.7s linear infinite;
201
- }
202
-
203
- .rui-toast__content {
204
- @apply flex min-w-0 flex-1 flex-col gap-0.5;
205
- }
206
-
207
- .rui-toast__title {
208
- @apply font-medium leading-snug text-inherit;
209
- }
210
-
211
- .rui-toast__description {
212
- @apply text-xs leading-snug opacity-80;
213
- }
214
-
215
- .rui-toast__action {
216
- @apply shrink-0;
217
- }
218
-
219
- .rui-toast__close {
220
- @apply absolute -top-2 -left-2 inline-flex size-5 items-center justify-center rounded-full border border-border bg-surface text-xs text-on-surface;
221
- @apply cursor-pointer leading-none;
222
- }
223
-
224
- .rui-toast__close:hover {
225
- @apply bg-background;
226
- }
227
-
228
- .rui-toast__close:focus-visible {
229
- @apply ring-2 ring-focus-ring outline-hidden;
230
- }
231
-
232
- rui-toast:focus-visible .rui-toast {
233
- @apply ring-2 ring-focus-ring;
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
- to {
239
- transform: rotate(360deg);
240
- }
282
+ to {
283
+ transform: rotate(360deg);
284
+ }
241
285
  }
242
-
243
286
  @keyframes rui-toast-swipe-out-left {
244
- from {
245
- transform: var(--y) translateX(var(--swipe-amount-x));
246
- opacity: 1;
247
- }
248
-
249
- to {
250
- transform: var(--y) translateX(calc(var(--swipe-amount-x) - 100%));
251
- opacity: 0;
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
- from {
257
- transform: var(--y) translateX(var(--swipe-amount-x));
258
- opacity: 1;
259
- }
260
-
261
- to {
262
- transform: var(--y) translateX(calc(var(--swipe-amount-x) + 100%));
263
- opacity: 0;
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
- from {
269
- transform: var(--y) translateY(var(--swipe-amount-y));
270
- opacity: 1;
271
- }
272
-
273
- to {
274
- transform: var(--y) translateY(calc(var(--swipe-amount-y) - 100%));
275
- opacity: 0;
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
- from {
281
- transform: var(--y) translateY(var(--swipe-amount-y));
282
- opacity: 1;
283
- }
284
-
285
- to {
286
- transform: var(--y) translateY(calc(var(--swipe-amount-y) + 100%));
287
- opacity: 0;
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
- rui-toaster {
293
- left: var(--viewport-offset, 16px);
294
- right: var(--viewport-offset, 16px);
295
- width: auto;
296
- transform: none;
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
- rui-toast,
335
+ rui-toast,
302
336
  .rui-toast__loader,
303
337
  rui-toast .rui-toast > * {
304
- transition: none !important;
305
- animation: none !important;
306
- }
307
-
308
- rui-toast[data-mounted='true'] {
309
- opacity: 1;
310
- }
311
-
312
- rui-toast[data-swipe-out='true'] {
313
- opacity: 0;
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
  }