@duskmoon-dev/core 0.1.0 → 0.2.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.
Files changed (110) hide show
  1. package/README.md +366 -78
  2. package/dist/components/accordion.css +244 -0
  3. package/dist/components/alert.css +199 -0
  4. package/dist/components/appbar.css +493 -0
  5. package/dist/components/autocomplete.css +269 -0
  6. package/dist/components/avatar.css +167 -0
  7. package/dist/components/badge.css +178 -0
  8. package/dist/components/bottom-navigation.css +263 -0
  9. package/dist/components/bottomsheet.css +334 -0
  10. package/dist/components/button.css +475 -0
  11. package/dist/components/card.css +220 -0
  12. package/dist/components/cascader.css +418 -0
  13. package/dist/components/checkbox.css +231 -0
  14. package/dist/components/chip.css +211 -0
  15. package/dist/components/collapse.css +454 -0
  16. package/dist/components/datepicker.css +741 -0
  17. package/dist/components/dialog.css +173 -0
  18. package/dist/components/divider.css +284 -0
  19. package/dist/components/drawer.css +371 -0
  20. package/dist/components/file-upload.css +321 -0
  21. package/dist/components/form-group.css +308 -0
  22. package/dist/components/form.css +441 -0
  23. package/dist/components/index.css +14951 -0
  24. package/dist/components/input.css +240 -0
  25. package/dist/components/list.css +188 -0
  26. package/dist/components/markdown-body.css +405 -0
  27. package/dist/components/modal.css +291 -0
  28. package/dist/components/multi-select.css +491 -0
  29. package/dist/components/navigation.css +736 -0
  30. package/dist/components/otp-input.css +195 -0
  31. package/dist/components/pin-input.css +184 -0
  32. package/dist/components/popover.css +392 -0
  33. package/dist/components/progress.css +238 -0
  34. package/dist/components/radio.css +183 -0
  35. package/dist/components/rating.css +230 -0
  36. package/dist/components/segment-control.css +186 -0
  37. package/dist/components/select.css +205 -0
  38. package/dist/components/skeleton.css +216 -0
  39. package/dist/components/slider.css +327 -0
  40. package/dist/components/snackbar.css +311 -0
  41. package/dist/components/stepper.css +313 -0
  42. package/dist/components/switch.css +234 -0
  43. package/dist/components/table.css +199 -0
  44. package/dist/components/textarea.css +398 -0
  45. package/dist/components/time-input.css +252 -0
  46. package/dist/components/timeline.css +353 -0
  47. package/dist/components/toast.css +251 -0
  48. package/dist/components/tooltip.css +284 -0
  49. package/dist/components/tree-select.css +472 -0
  50. package/dist/esm/components/accordion.js +251 -0
  51. package/dist/esm/components/alert.js +206 -0
  52. package/dist/esm/components/appbar.js +500 -0
  53. package/dist/esm/components/autocomplete.js +276 -0
  54. package/dist/esm/components/avatar.js +174 -0
  55. package/dist/esm/components/badge.js +185 -0
  56. package/dist/esm/components/bottom-navigation.js +270 -0
  57. package/dist/esm/components/bottomsheet.js +341 -0
  58. package/dist/esm/components/button.js +482 -0
  59. package/dist/esm/components/card.js +227 -0
  60. package/dist/esm/components/cascader.js +425 -0
  61. package/dist/esm/components/checkbox.js +238 -0
  62. package/dist/esm/components/chip.js +218 -0
  63. package/dist/esm/components/collapse.js +461 -0
  64. package/dist/esm/components/datepicker.js +748 -0
  65. package/dist/esm/components/dialog.js +180 -0
  66. package/dist/esm/components/divider.js +291 -0
  67. package/dist/esm/components/drawer.js +378 -0
  68. package/dist/esm/components/file-upload.js +328 -0
  69. package/dist/esm/components/form-group.js +315 -0
  70. package/dist/esm/components/form.js +448 -0
  71. package/dist/esm/components/input.js +247 -0
  72. package/dist/esm/components/list.js +195 -0
  73. package/dist/esm/components/markdown-body.js +412 -0
  74. package/dist/esm/components/modal.js +298 -0
  75. package/dist/esm/components/multi-select.js +498 -0
  76. package/dist/esm/components/navigation.js +743 -0
  77. package/dist/esm/components/otp-input.js +202 -0
  78. package/dist/esm/components/pin-input.js +191 -0
  79. package/dist/esm/components/popover.js +399 -0
  80. package/dist/esm/components/progress.js +245 -0
  81. package/dist/esm/components/radio.js +190 -0
  82. package/dist/esm/components/rating.js +237 -0
  83. package/dist/esm/components/segment-control.js +193 -0
  84. package/dist/esm/components/select.js +212 -0
  85. package/dist/esm/components/skeleton.js +223 -0
  86. package/dist/esm/components/slider.js +334 -0
  87. package/dist/esm/components/snackbar.js +318 -0
  88. package/dist/esm/components/stepper.js +320 -0
  89. package/dist/esm/components/switch.js +241 -0
  90. package/dist/esm/components/table.js +206 -0
  91. package/dist/esm/components/textarea.js +405 -0
  92. package/dist/esm/components/time-input.js +259 -0
  93. package/dist/esm/components/timeline.js +360 -0
  94. package/dist/esm/components/toast.js +258 -0
  95. package/dist/esm/components/tooltip.js +291 -0
  96. package/dist/esm/components/tree-select.js +479 -0
  97. package/dist/index.css +15866 -0
  98. package/dist/themes/moonlight.css +253 -0
  99. package/dist/themes/sunshine.css +250 -0
  100. package/dist/types/index.d.ts +14 -0
  101. package/dist/types/index.d.ts.map +1 -0
  102. package/dist/types/plugin.d.ts +69 -0
  103. package/dist/types/plugin.d.ts.map +1 -0
  104. package/dist/types/theme.d.ts +202 -0
  105. package/dist/types/theme.d.ts.map +1 -0
  106. package/package.json +262 -18
  107. package/dist/index.cjs +0 -243
  108. package/dist/index.cjs.map +0 -15
  109. package/dist/index.js +0 -211
  110. package/dist/index.js.map +0 -15
@@ -0,0 +1,270 @@
1
+ // Auto-generated from bottom-navigation.css
2
+ export const css = `/**
3
+ * Bottom Navigation Component Styles
4
+ * DuskMoonUI - Material Design 3 inspired bottom navigation system
5
+ */
6
+
7
+ @layer components {
8
+ /* Base Bottom Navigation */
9
+ .bottom-nav {
10
+ position: fixed;
11
+ bottom: 0;
12
+ left: 0;
13
+ right: 0;
14
+ z-index: 1000;
15
+ display: flex;
16
+ align-items: stretch;
17
+ justify-content: space-around;
18
+ min-height: 5rem;
19
+ padding-bottom: env(safe-area-inset-bottom, 0);
20
+ background-color: var(--color-surface);
21
+ box-shadow: 0 -1px 3px 0 rgb(0 0 0 / 0.1);
22
+ }
23
+
24
+ /* Navigation Item */
25
+ .bottom-nav-item {
26
+ display: flex;
27
+ flex-direction: column;
28
+ align-items: center;
29
+ justify-content: center;
30
+ flex: 1;
31
+ min-width: 4rem;
32
+ max-width: 10rem;
33
+ padding: 0.75rem 0.25rem;
34
+ color: var(--color-on-surface-variant);
35
+ background-color: transparent;
36
+ border: none;
37
+ cursor: pointer;
38
+ transition: color 150ms ease-in-out;
39
+ text-decoration: none;
40
+ gap: 0.25rem;
41
+ }
42
+
43
+ .bottom-nav-item:hover {
44
+ color: var(--color-on-surface);
45
+ }
46
+
47
+ .bottom-nav-item:focus-visible {
48
+ outline: none;
49
+ }
50
+
51
+ .bottom-nav-item:focus-visible .bottom-nav-indicator {
52
+ outline: 2px solid var(--color-primary);
53
+ outline-offset: 2px;
54
+ }
55
+
56
+ /* Active State */
57
+ .bottom-nav-item.active {
58
+ color: var(--color-on-surface);
59
+ }
60
+
61
+ /* Icon Container with Indicator */
62
+ .bottom-nav-indicator {
63
+ position: relative;
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: center;
67
+ width: 4rem;
68
+ height: 2rem;
69
+ border-radius: 1rem;
70
+ transition: background-color 150ms ease-in-out;
71
+ }
72
+
73
+ .bottom-nav-item:hover .bottom-nav-indicator {
74
+ background-color: var(--color-surface-container);
75
+ }
76
+
77
+ .bottom-nav-item.active .bottom-nav-indicator {
78
+ background-color: var(--color-secondary-container);
79
+ }
80
+
81
+ /* Icon */
82
+ .bottom-nav-icon {
83
+ font-size: 1.5rem;
84
+ line-height: 1;
85
+ transition: font-size 150ms ease-in-out;
86
+ }
87
+
88
+ /* Label */
89
+ .bottom-nav-label {
90
+ font-size: 0.75rem;
91
+ font-weight: 500;
92
+ line-height: 1rem;
93
+ text-align: center;
94
+ overflow: hidden;
95
+ text-overflow: ellipsis;
96
+ white-space: nowrap;
97
+ max-width: 100%;
98
+ }
99
+
100
+ .bottom-nav-item.active .bottom-nav-label {
101
+ font-weight: 600;
102
+ }
103
+
104
+ /* Badge */
105
+ .bottom-nav-badge {
106
+ position: absolute;
107
+ top: 0;
108
+ right: 0.5rem;
109
+ min-width: 1rem;
110
+ height: 1rem;
111
+ padding: 0 0.25rem;
112
+ font-size: 0.625rem;
113
+ font-weight: 600;
114
+ line-height: 1rem;
115
+ color: var(--color-on-error);
116
+ background-color: var(--color-error);
117
+ border-radius: 9999px;
118
+ text-align: center;
119
+ }
120
+
121
+ .bottom-nav-badge-dot {
122
+ min-width: 0.5rem;
123
+ width: 0.5rem;
124
+ height: 0.5rem;
125
+ padding: 0;
126
+ top: 0.125rem;
127
+ right: 0.75rem;
128
+ }
129
+
130
+ /* Variants */
131
+ .bottom-nav-elevated {
132
+ box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
133
+ }
134
+
135
+ .bottom-nav-bordered {
136
+ box-shadow: none;
137
+ border-top: 1px solid var(--color-outline-variant);
138
+ }
139
+
140
+ .bottom-nav-filled {
141
+ background-color: var(--color-surface-container);
142
+ }
143
+
144
+ /* Color Variants */
145
+ .bottom-nav-primary .bottom-nav-item.active .bottom-nav-indicator {
146
+ background-color: var(--color-primary-container);
147
+ }
148
+
149
+ .bottom-nav-primary .bottom-nav-item.active {
150
+ color: var(--color-on-primary-container);
151
+ }
152
+
153
+ /* Hide Labels */
154
+ .bottom-nav-icons-only .bottom-nav-label {
155
+ display: none;
156
+ }
157
+
158
+ .bottom-nav-icons-only .bottom-nav-item {
159
+ padding: 1rem 0.25rem;
160
+ }
161
+
162
+ /* Show Labels Only on Active */
163
+ .bottom-nav-labels-active .bottom-nav-label {
164
+ opacity: 0;
165
+ max-height: 0;
166
+ overflow: hidden;
167
+ transition: opacity 150ms ease-in-out, max-height 150ms ease-in-out;
168
+ }
169
+
170
+ .bottom-nav-labels-active .bottom-nav-item.active .bottom-nav-label {
171
+ opacity: 1;
172
+ max-height: 1rem;
173
+ }
174
+
175
+ /* Shifting Animation (like older Material Design) */
176
+ .bottom-nav-shifting .bottom-nav-item {
177
+ flex: 0 1 4rem;
178
+ transition: flex 200ms ease-in-out;
179
+ }
180
+
181
+ .bottom-nav-shifting .bottom-nav-item.active {
182
+ flex: 1 1 6rem;
183
+ }
184
+
185
+ .bottom-nav-shifting .bottom-nav-label {
186
+ opacity: 0;
187
+ transform: translateY(0.5rem);
188
+ transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
189
+ }
190
+
191
+ .bottom-nav-shifting .bottom-nav-item.active .bottom-nav-label {
192
+ opacity: 1;
193
+ transform: translateY(0);
194
+ }
195
+
196
+ /* Rail Style (Side Navigation) */
197
+ .nav-rail {
198
+ position: fixed;
199
+ left: 0;
200
+ top: 0;
201
+ bottom: 0;
202
+ z-index: 1000;
203
+ display: flex;
204
+ flex-direction: column;
205
+ align-items: center;
206
+ width: 5rem;
207
+ padding: 1rem 0;
208
+ background-color: var(--color-surface);
209
+ border-right: 1px solid var(--color-outline-variant);
210
+ }
211
+
212
+ .nav-rail .bottom-nav-item {
213
+ width: 100%;
214
+ padding: 0.5rem;
215
+ margin: 0.25rem 0;
216
+ }
217
+
218
+ .nav-rail .bottom-nav-indicator {
219
+ width: 3.5rem;
220
+ height: 2rem;
221
+ }
222
+
223
+ /* Responsive - Convert to top tabs on larger screens */
224
+ @media (min-width: 768px) {
225
+ .bottom-nav-responsive {
226
+ position: relative;
227
+ bottom: auto;
228
+ justify-content: flex-start;
229
+ gap: 0.5rem;
230
+ min-height: 3rem;
231
+ padding: 0 1rem;
232
+ box-shadow: none;
233
+ border-bottom: 1px solid var(--color-outline-variant);
234
+ }
235
+
236
+ .bottom-nav-responsive .bottom-nav-item {
237
+ flex: 0 0 auto;
238
+ flex-direction: row;
239
+ gap: 0.5rem;
240
+ padding: 0.75rem 1rem;
241
+ }
242
+
243
+ .bottom-nav-responsive .bottom-nav-indicator {
244
+ width: auto;
245
+ height: auto;
246
+ background-color: transparent !important;
247
+ }
248
+
249
+ .bottom-nav-responsive .bottom-nav-item.active {
250
+ border-bottom: 2px solid var(--color-primary);
251
+ }
252
+ }
253
+
254
+ /* Reduce Motion */
255
+ @media (prefers-reduced-motion: reduce) {
256
+ .bottom-nav-item,
257
+ .bottom-nav-indicator,
258
+ .bottom-nav-icon,
259
+ .bottom-nav-label,
260
+ .bottom-nav-shifting .bottom-nav-item {
261
+ transition: none;
262
+ }
263
+ }
264
+ }
265
+ `;
266
+
267
+ const sheet = new CSSStyleSheet();
268
+ sheet.replaceSync(css);
269
+ export const styles = sheet;
270
+ export default sheet;
@@ -0,0 +1,341 @@
1
+ // Auto-generated from bottomsheet.css
2
+ export const css = `/**
3
+ * Bottom Sheet Component Styles
4
+ * DuskMoonUI - Material Design 3 inspired bottom sheet system
5
+ */
6
+
7
+ @layer components {
8
+ /* Bottom Sheet Backdrop */
9
+ .bottomsheet-backdrop {
10
+ position: fixed;
11
+ inset: 0;
12
+ z-index: 1100;
13
+ background-color: rgb(0 0 0 / 0.5);
14
+ opacity: 0;
15
+ visibility: hidden;
16
+ transition: opacity 300ms ease-out, visibility 300ms ease-out;
17
+ }
18
+
19
+ .bottomsheet-backdrop.show {
20
+ opacity: 1;
21
+ visibility: visible;
22
+ }
23
+
24
+ /* Base Bottom Sheet */
25
+ .bottomsheet {
26
+ position: fixed;
27
+ bottom: 0;
28
+ left: 0;
29
+ right: 0;
30
+ z-index: 1200;
31
+ display: flex;
32
+ flex-direction: column;
33
+ max-height: 90vh;
34
+ background-color: var(--color-surface);
35
+ border-radius: 1.75rem 1.75rem 0 0;
36
+ box-shadow: 0 -25px 50px -12px rgb(0 0 0 / 0.25);
37
+ transform: translateY(100%);
38
+ transition: transform 300ms ease-out;
39
+ padding-bottom: env(safe-area-inset-bottom, 0);
40
+ }
41
+
42
+ .bottomsheet.show {
43
+ transform: translateY(0);
44
+ }
45
+
46
+ /* Drag Handle */
47
+ .bottomsheet-handle {
48
+ display: flex;
49
+ justify-content: center;
50
+ padding: 1rem;
51
+ cursor: grab;
52
+ touch-action: none;
53
+ }
54
+
55
+ .bottomsheet-handle::before {
56
+ content: '';
57
+ width: 2rem;
58
+ height: 0.25rem;
59
+ background-color: var(--color-outline-variant);
60
+ border-radius: 9999px;
61
+ }
62
+
63
+ .bottomsheet-handle:active {
64
+ cursor: grabbing;
65
+ }
66
+
67
+ /* Bottom Sheet Header */
68
+ .bottomsheet-header {
69
+ display: flex;
70
+ align-items: center;
71
+ gap: 0.75rem;
72
+ padding: 0 1.5rem 1rem;
73
+ flex-shrink: 0;
74
+ }
75
+
76
+ .bottomsheet-title {
77
+ flex: 1;
78
+ font-size: 1.25rem;
79
+ font-weight: 500;
80
+ color: var(--color-on-surface);
81
+ }
82
+
83
+ .bottomsheet-close {
84
+ display: flex;
85
+ align-items: center;
86
+ justify-content: center;
87
+ width: 2.5rem;
88
+ height: 2.5rem;
89
+ color: var(--color-on-surface-variant);
90
+ background-color: transparent;
91
+ border: none;
92
+ border-radius: 50%;
93
+ cursor: pointer;
94
+ transition: background-color 150ms ease-in-out;
95
+ }
96
+
97
+ .bottomsheet-close:hover {
98
+ background-color: var(--color-surface-container);
99
+ }
100
+
101
+ .bottomsheet-close:focus-visible {
102
+ outline: 2px solid var(--color-primary);
103
+ outline-offset: 2px;
104
+ }
105
+
106
+ /* Bottom Sheet Content */
107
+ .bottomsheet-content {
108
+ flex: 1;
109
+ overflow-y: auto;
110
+ padding: 0 1.5rem;
111
+ overscroll-behavior: contain;
112
+ }
113
+
114
+ /* Bottom Sheet Footer */
115
+ .bottomsheet-footer {
116
+ display: flex;
117
+ align-items: center;
118
+ gap: 0.75rem;
119
+ padding: 1rem 1.5rem;
120
+ border-top: 1px solid var(--color-outline-variant);
121
+ flex-shrink: 0;
122
+ }
123
+
124
+ /* List Items in Bottom Sheet */
125
+ .bottomsheet-list {
126
+ display: flex;
127
+ flex-direction: column;
128
+ margin: 0 -1.5rem;
129
+ }
130
+
131
+ .bottomsheet-item {
132
+ display: flex;
133
+ align-items: center;
134
+ gap: 1rem;
135
+ width: 100%;
136
+ padding: 1rem 1.5rem;
137
+ font-size: 0.875rem;
138
+ color: var(--color-on-surface);
139
+ background-color: transparent;
140
+ border: none;
141
+ cursor: pointer;
142
+ text-align: left;
143
+ text-decoration: none;
144
+ transition: background-color 150ms ease-in-out;
145
+ }
146
+
147
+ .bottomsheet-item:hover {
148
+ background-color: var(--color-surface-container);
149
+ }
150
+
151
+ .bottomsheet-item:focus-visible {
152
+ outline: none;
153
+ background-color: var(--color-surface-container);
154
+ box-shadow: inset 0 0 0 2px var(--color-primary);
155
+ }
156
+
157
+ .bottomsheet-item-icon {
158
+ display: flex;
159
+ align-items: center;
160
+ justify-content: center;
161
+ width: 1.5rem;
162
+ height: 1.5rem;
163
+ color: var(--color-on-surface-variant);
164
+ font-size: 1.25rem;
165
+ flex-shrink: 0;
166
+ }
167
+
168
+ .bottomsheet-item-content {
169
+ flex: 1;
170
+ min-width: 0;
171
+ }
172
+
173
+ .bottomsheet-item-label {
174
+ font-weight: 500;
175
+ overflow: hidden;
176
+ text-overflow: ellipsis;
177
+ white-space: nowrap;
178
+ }
179
+
180
+ .bottomsheet-item-description {
181
+ font-size: 0.75rem;
182
+ color: var(--color-on-surface-variant);
183
+ margin-top: 0.125rem;
184
+ overflow: hidden;
185
+ text-overflow: ellipsis;
186
+ white-space: nowrap;
187
+ }
188
+
189
+ /* Grid Items */
190
+ .bottomsheet-grid {
191
+ display: grid;
192
+ grid-template-columns: repeat(3, 1fr);
193
+ gap: 0.5rem;
194
+ padding: 0.5rem 0;
195
+ }
196
+
197
+ .bottomsheet-grid-item {
198
+ display: flex;
199
+ flex-direction: column;
200
+ align-items: center;
201
+ gap: 0.5rem;
202
+ padding: 1rem 0.5rem;
203
+ font-size: 0.75rem;
204
+ color: var(--color-on-surface);
205
+ background-color: transparent;
206
+ border: none;
207
+ border-radius: 0.75rem;
208
+ cursor: pointer;
209
+ transition: background-color 150ms ease-in-out;
210
+ }
211
+
212
+ .bottomsheet-grid-item:hover {
213
+ background-color: var(--color-surface-container);
214
+ }
215
+
216
+ .bottomsheet-grid-item-icon {
217
+ display: flex;
218
+ align-items: center;
219
+ justify-content: center;
220
+ width: 3rem;
221
+ height: 3rem;
222
+ font-size: 1.5rem;
223
+ background-color: var(--color-surface-container-high);
224
+ border-radius: 50%;
225
+ color: var(--color-on-surface-variant);
226
+ }
227
+
228
+ /* Size Variants */
229
+ .bottomsheet-sm {
230
+ max-height: 50vh;
231
+ }
232
+
233
+ .bottomsheet-lg {
234
+ max-height: 95vh;
235
+ }
236
+
237
+ .bottomsheet-full {
238
+ max-height: 100vh;
239
+ height: 100vh;
240
+ border-radius: 0;
241
+ }
242
+
243
+ /* Persistent (non-modal) */
244
+ .bottomsheet-persistent {
245
+ position: absolute;
246
+ box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
247
+ }
248
+
249
+ /* Expandable Heights */
250
+ .bottomsheet-peek {
251
+ max-height: 30vh;
252
+ }
253
+
254
+ .bottomsheet-half {
255
+ max-height: 50vh;
256
+ }
257
+
258
+ .bottomsheet-expanded {
259
+ max-height: 90vh;
260
+ }
261
+
262
+ /* Detent Indicators */
263
+ .bottomsheet-detents {
264
+ position: absolute;
265
+ right: 1rem;
266
+ top: 50%;
267
+ transform: translateY(-50%);
268
+ display: flex;
269
+ flex-direction: column;
270
+ gap: 0.25rem;
271
+ }
272
+
273
+ .bottomsheet-detent {
274
+ width: 0.25rem;
275
+ height: 1rem;
276
+ background-color: var(--color-outline-variant);
277
+ border-radius: 9999px;
278
+ cursor: pointer;
279
+ }
280
+
281
+ .bottomsheet-detent.active {
282
+ background-color: var(--color-primary);
283
+ }
284
+
285
+ /* Divider in Bottom Sheet */
286
+ .bottomsheet-divider {
287
+ height: 1px;
288
+ margin: 0.5rem 0;
289
+ background-color: var(--color-outline-variant);
290
+ }
291
+
292
+ /* Section Title */
293
+ .bottomsheet-section-title {
294
+ padding: 0.75rem 0;
295
+ font-size: 0.75rem;
296
+ font-weight: 600;
297
+ text-transform: uppercase;
298
+ letter-spacing: 0.05em;
299
+ color: var(--color-on-surface-variant);
300
+ }
301
+
302
+ /* Desktop Breakpoint - Convert to Side Sheet */
303
+ @media (min-width: 768px) {
304
+ .bottomsheet-responsive {
305
+ left: auto;
306
+ right: 0;
307
+ top: 0;
308
+ bottom: 0;
309
+ width: 24rem;
310
+ max-width: calc(100vw - 3.5rem);
311
+ max-height: 100vh;
312
+ border-radius: 1rem 0 0 1rem;
313
+ transform: translateX(100%);
314
+ }
315
+
316
+ .bottomsheet-responsive.show {
317
+ transform: translateX(0);
318
+ }
319
+
320
+ .bottomsheet-responsive .bottomsheet-handle {
321
+ display: none;
322
+ }
323
+ }
324
+
325
+ /* Reduce Motion */
326
+ @media (prefers-reduced-motion: reduce) {
327
+ .bottomsheet,
328
+ .bottomsheet-backdrop,
329
+ .bottomsheet-close,
330
+ .bottomsheet-item,
331
+ .bottomsheet-grid-item {
332
+ transition: none;
333
+ }
334
+ }
335
+ }
336
+ `;
337
+
338
+ const sheet = new CSSStyleSheet();
339
+ sheet.replaceSync(css);
340
+ export const styles = sheet;
341
+ export default sheet;