elementdrawing 1.0.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 +21 -0
- package/dist/elementdrawing.min.js +3 -0
- package/dist/elementdrawing.min.js.LICENSE.txt +8 -0
- package/dist/elementdrawing.min.js.map +1 -0
- package/dist/index.html +1 -0
- package/package.json +127 -0
- package/src/core/bridge.h +855 -0
- package/src/core/diff.c +900 -0
- package/src/core/element.c +1078 -0
- package/src/core/event.c +813 -0
- package/src/core/fiber.c +1027 -0
- package/src/core/hooks.c +919 -0
- package/src/core/renderer.c +963 -0
- package/src/core/scheduler.c +702 -0
- package/src/core/state.c +803 -0
- package/src/css/animations.css +779 -0
- package/src/css/base.css +615 -0
- package/src/css/components.css +1311 -0
- package/src/css/tailwind.css +370 -0
- package/src/css/themes.css +517 -0
- package/src/css/utilities.css +475 -0
- package/src/index.js +746 -0
- package/src/js/animation.js +655 -0
- package/src/js/dom.js +665 -0
- package/src/js/events.js +585 -0
- package/src/js/http.js +446 -0
- package/src/js/index.js +26 -0
- package/src/js/router.js +483 -0
- package/src/js/store.js +539 -0
- package/src/js/utils.js +593 -0
- package/src/js/validator.js +529 -0
- package/src/jsx/components/Accordion.jsx +210 -0
- package/src/jsx/components/Alert.jsx +169 -0
- package/src/jsx/components/Avatar.jsx +214 -0
- package/src/jsx/components/Badge.jsx +136 -0
- package/src/jsx/components/Breadcrumb.jsx +200 -0
- package/src/jsx/components/Button.jsx +188 -0
- package/src/jsx/components/Card.jsx +192 -0
- package/src/jsx/components/Carousel.jsx +278 -0
- package/src/jsx/components/Checkbox.jsx +215 -0
- package/src/jsx/components/Dialog.jsx +242 -0
- package/src/jsx/components/Drawer.jsx +190 -0
- package/src/jsx/components/Dropdown.jsx +268 -0
- package/src/jsx/components/Form.jsx +274 -0
- package/src/jsx/components/Input.jsx +285 -0
- package/src/jsx/components/Menu.jsx +276 -0
- package/src/jsx/components/Modal.jsx +274 -0
- package/src/jsx/components/Navbar.jsx +292 -0
- package/src/jsx/components/Pagination.jsx +268 -0
- package/src/jsx/components/Progress.jsx +252 -0
- package/src/jsx/components/Radio.jsx +208 -0
- package/src/jsx/components/Select.jsx +397 -0
- package/src/jsx/components/Sidebar.jsx +250 -0
- package/src/jsx/components/Slider.jsx +310 -0
- package/src/jsx/components/Spinner.jsx +198 -0
- package/src/jsx/components/Switch.jsx +201 -0
- package/src/jsx/components/Table.jsx +332 -0
- package/src/jsx/components/Tabs.jsx +227 -0
- package/src/jsx/components/Textarea.jsx +212 -0
- package/src/jsx/components/Toast.jsx +270 -0
- package/src/jsx/components/Tooltip.jsx +178 -0
- package/src/jsx/components/Typography.jsx +299 -0
- package/src/jsx/components/index.jsx +70 -0
- package/src/jsx/core/element.js +3 -0
- package/src/jsx/hooks/index.js +356 -0
- package/src/jsx/hooks/useCallback.js +472 -0
- package/src/jsx/hooks/useContext.js +586 -0
- package/src/jsx/hooks/useEffect.js +704 -0
- package/src/jsx/hooks/useLayoutEffect.js +508 -0
- package/src/jsx/hooks/useMemo.js +689 -0
- package/src/jsx/hooks/useReducer.js +729 -0
- package/src/jsx/hooks/useRef.js +542 -0
- package/src/jsx/hooks/useState.js +854 -0
- package/src/jsx/runtime/commit.js +903 -0
- package/src/jsx/runtime/createElement.js +860 -0
- package/src/jsx/runtime/index.js +356 -0
- package/src/jsx/runtime/reconcile.js +687 -0
- package/src/jsx/runtime/render.js +914 -0
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ElementDrawing Framework - Utilities CSS
|
|
3
|
+
* Custom utility classes: scrollbar, selection, glass-morphism, gradient text,
|
|
4
|
+
* text truncate, aspect ratio, grid helpers, spacing, borders, shadows,
|
|
5
|
+
* transitions, and responsive helpers.
|
|
6
|
+
*
|
|
7
|
+
* @version 1.0.0
|
|
8
|
+
* @license MIT
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/* ─── Scrollbar Utilities ──────────────────────────────────────────────────── */
|
|
12
|
+
|
|
13
|
+
.ed-scrollbar-thin {
|
|
14
|
+
scrollbar-width: thin;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ed-scrollbar-thin::-webkit-scrollbar {
|
|
18
|
+
width: 6px;
|
|
19
|
+
height: 6px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ed-scrollbar-none {
|
|
23
|
+
scrollbar-width: none;
|
|
24
|
+
-ms-overflow-style: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ed-scrollbar-none::-webkit-scrollbar {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ed-scrollbar-auto {
|
|
32
|
+
scrollbar-width: auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ed-scrollbar-auto::-webkit-scrollbar {
|
|
36
|
+
width: auto;
|
|
37
|
+
height: auto;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ed-scrollbar-track-transparent::-webkit-scrollbar-track {
|
|
41
|
+
background: transparent;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ed-scrollbar-thumb-rounded::-webkit-scrollbar-thumb {
|
|
45
|
+
border-radius: 9999px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* ─── Selection Utilities ──────────────────────────────────────────────────── */
|
|
49
|
+
|
|
50
|
+
.ed-select-none {
|
|
51
|
+
user-select: none;
|
|
52
|
+
-webkit-user-select: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ed-select-text {
|
|
56
|
+
user-select: text;
|
|
57
|
+
-webkit-user-select: text;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ed-select-all {
|
|
61
|
+
user-select: all;
|
|
62
|
+
-webkit-user-select: all;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ed-select-auto {
|
|
66
|
+
user-select: auto;
|
|
67
|
+
-webkit-user-select: auto;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ed-select-contain {
|
|
71
|
+
user-select: contain;
|
|
72
|
+
-webkit-user-select: contain;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* ─── Glass Morphism Utilities ─────────────────────────────────────────────── */
|
|
76
|
+
|
|
77
|
+
.ed-glass {
|
|
78
|
+
background: rgba(255, 255, 255, 0.15);
|
|
79
|
+
backdrop-filter: blur(12px);
|
|
80
|
+
-webkit-backdrop-filter: blur(12px);
|
|
81
|
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ed-glass-dark {
|
|
85
|
+
background: rgba(0, 0, 0, 0.25);
|
|
86
|
+
backdrop-filter: blur(12px);
|
|
87
|
+
-webkit-backdrop-filter: blur(12px);
|
|
88
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ed-glass-strong {
|
|
92
|
+
background: rgba(255, 255, 255, 0.3);
|
|
93
|
+
backdrop-filter: blur(20px) saturate(180%);
|
|
94
|
+
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
95
|
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ed-glass-subtle {
|
|
99
|
+
background: rgba(255, 255, 255, 0.08);
|
|
100
|
+
backdrop-filter: blur(8px);
|
|
101
|
+
-webkit-backdrop-filter: blur(8px);
|
|
102
|
+
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ed-glass-colored {
|
|
106
|
+
background: rgba(59, 130, 246, 0.15);
|
|
107
|
+
backdrop-filter: blur(12px) saturate(150%);
|
|
108
|
+
-webkit-backdrop-filter: blur(12px) saturate(150%);
|
|
109
|
+
border: 1px solid rgba(59, 130, 246, 0.25);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.ed-glass-no-border {
|
|
113
|
+
background: rgba(255, 255, 255, 0.15);
|
|
114
|
+
backdrop-filter: blur(12px);
|
|
115
|
+
-webkit-backdrop-filter: blur(12px);
|
|
116
|
+
border: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ed-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
|
|
120
|
+
.ed-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
|
|
121
|
+
.ed-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
|
|
122
|
+
.ed-blur-lg { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
|
|
123
|
+
.ed-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
|
|
124
|
+
.ed-blur-none { backdrop-filter: none; -webkit-backdrop-filter: none; }
|
|
125
|
+
|
|
126
|
+
/* ─── Gradient Text Utilities ──────────────────────────────────────────────── */
|
|
127
|
+
|
|
128
|
+
.ed-gradient-text {
|
|
129
|
+
background-clip: text;
|
|
130
|
+
-webkit-background-clip: text;
|
|
131
|
+
-webkit-text-fill-color: transparent;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.ed-gradient-text-primary {
|
|
135
|
+
background-image: linear-gradient(135deg, #3b82f6, #8b5cf6);
|
|
136
|
+
background-clip: text;
|
|
137
|
+
-webkit-background-clip: text;
|
|
138
|
+
-webkit-text-fill-color: transparent;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.ed-gradient-text-success {
|
|
142
|
+
background-image: linear-gradient(135deg, #22c55e, #14b8a6);
|
|
143
|
+
background-clip: text;
|
|
144
|
+
-webkit-background-clip: text;
|
|
145
|
+
-webkit-text-fill-color: transparent;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ed-gradient-text-warning {
|
|
149
|
+
background-image: linear-gradient(135deg, #f59e0b, #ef4444);
|
|
150
|
+
background-clip: text;
|
|
151
|
+
-webkit-background-clip: text;
|
|
152
|
+
-webkit-text-fill-color: transparent;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.ed-gradient-text-danger {
|
|
156
|
+
background-image: linear-gradient(135deg, #ef4444, #ec4899);
|
|
157
|
+
background-clip: text;
|
|
158
|
+
-webkit-background-clip: text;
|
|
159
|
+
-webkit-text-fill-color: transparent;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.ed-gradient-text-info {
|
|
163
|
+
background-image: linear-gradient(135deg, #0ea5e9, #6366f1);
|
|
164
|
+
background-clip: text;
|
|
165
|
+
-webkit-background-clip: text;
|
|
166
|
+
-webkit-text-fill-color: transparent;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.ed-gradient-text-rainbow {
|
|
170
|
+
background-image: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e, #3b82f6, #8b5cf6);
|
|
171
|
+
background-clip: text;
|
|
172
|
+
-webkit-background-clip: text;
|
|
173
|
+
-webkit-text-fill-color: transparent;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* ─── Text Truncate Utilities ──────────────────────────────────────────────── */
|
|
177
|
+
|
|
178
|
+
.ed-truncate {
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
text-overflow: ellipsis;
|
|
181
|
+
white-space: nowrap;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.ed-line-clamp-1 {
|
|
185
|
+
display: -webkit-box;
|
|
186
|
+
-webkit-line-clamp: 1;
|
|
187
|
+
-webkit-box-orient: vertical;
|
|
188
|
+
overflow: hidden;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.ed-line-clamp-2 {
|
|
192
|
+
display: -webkit-box;
|
|
193
|
+
-webkit-line-clamp: 2;
|
|
194
|
+
-webkit-box-orient: vertical;
|
|
195
|
+
overflow: hidden;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.ed-line-clamp-3 {
|
|
199
|
+
display: -webkit-box;
|
|
200
|
+
-webkit-line-clamp: 3;
|
|
201
|
+
-webkit-box-orient: vertical;
|
|
202
|
+
overflow: hidden;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.ed-line-clamp-4 {
|
|
206
|
+
display: -webkit-box;
|
|
207
|
+
-webkit-line-clamp: 4;
|
|
208
|
+
-webkit-box-orient: vertical;
|
|
209
|
+
overflow: hidden;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ed-line-clamp-5 {
|
|
213
|
+
display: -webkit-box;
|
|
214
|
+
-webkit-line-clamp: 5;
|
|
215
|
+
-webkit-box-orient: vertical;
|
|
216
|
+
overflow: hidden;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.ed-line-clamp-none {
|
|
220
|
+
-webkit-line-clamp: unset;
|
|
221
|
+
display: block;
|
|
222
|
+
overflow: visible;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/* ─── Aspect Ratio Utilities ───────────────────────────────────────────────── */
|
|
226
|
+
|
|
227
|
+
.ed-aspect-square { aspect-ratio: 1 / 1; }
|
|
228
|
+
.ed-aspect-video { aspect-ratio: 16 / 9; }
|
|
229
|
+
.ed-aspect-photo { aspect-ratio: 4 / 3; }
|
|
230
|
+
.ed-aspect-wide { aspect-ratio: 21 / 9; }
|
|
231
|
+
.ed-aspect-golden { aspect-ratio: 1.618 / 1; }
|
|
232
|
+
.ed-aspect-portrait { aspect-ratio: 3 / 4; }
|
|
233
|
+
.ed-aspect-auto { aspect-ratio: auto; }
|
|
234
|
+
|
|
235
|
+
/* ─── Grid Helpers ─────────────────────────────────────────────────────────── */
|
|
236
|
+
|
|
237
|
+
.ed-grid {
|
|
238
|
+
display: grid;
|
|
239
|
+
gap: 1rem;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.ed-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
|
|
243
|
+
.ed-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
244
|
+
.ed-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
245
|
+
.ed-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
|
246
|
+
.ed-grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
|
|
247
|
+
.ed-grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
|
|
248
|
+
.ed-grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
|
|
249
|
+
|
|
250
|
+
.ed-grid-auto-fill {
|
|
251
|
+
grid-template-columns: repeat(auto-fill, minmax(var(--ed-grid-min, 15rem), 1fr));
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.ed-grid-auto-fit {
|
|
255
|
+
grid-template-columns: repeat(auto-fit, minmax(var(--ed-grid-min, 15rem), 1fr));
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.ed-grid-flow-col { grid-auto-flow: column; }
|
|
259
|
+
.ed-grid-flow-dense { grid-auto-flow: dense; }
|
|
260
|
+
|
|
261
|
+
.ed-col-span-1 { grid-column: span 1 / span 1; }
|
|
262
|
+
.ed-col-span-2 { grid-column: span 2 / span 2; }
|
|
263
|
+
.ed-col-span-3 { grid-column: span 3 / span 3; }
|
|
264
|
+
.ed-col-span-4 { grid-column: span 4 / span 4; }
|
|
265
|
+
.ed-col-span-6 { grid-column: span 6 / span 6; }
|
|
266
|
+
.ed-col-span-full { grid-column: 1 / -1; }
|
|
267
|
+
|
|
268
|
+
.ed-row-span-1 { grid-row: span 1 / span 1; }
|
|
269
|
+
.ed-row-span-2 { grid-row: span 2 / span 2; }
|
|
270
|
+
.ed-row-span-3 { grid-row: span 3 / span 3; }
|
|
271
|
+
.ed-row-span-full { grid-row: 1 / -1; }
|
|
272
|
+
|
|
273
|
+
/* ─── Spacing Utilities ────────────────────────────────────────────────────── */
|
|
274
|
+
|
|
275
|
+
.ed-gap-xs { gap: 0.25rem; }
|
|
276
|
+
.ed-gap-sm { gap: 0.5rem; }
|
|
277
|
+
.ed-gap-md { gap: 1rem; }
|
|
278
|
+
.ed-gap-lg { gap: 1.5rem; }
|
|
279
|
+
.ed-gap-xl { gap: 2rem; }
|
|
280
|
+
.ed-gap-2xl { gap: 3rem; }
|
|
281
|
+
|
|
282
|
+
.ed-p-xs { padding: 0.25rem; }
|
|
283
|
+
.ed-p-sm { padding: 0.5rem; }
|
|
284
|
+
.ed-p-md { padding: 1rem; }
|
|
285
|
+
.ed-p-lg { padding: 1.5rem; }
|
|
286
|
+
.ed-p-xl { padding: 2rem; }
|
|
287
|
+
.ed-p-2xl { padding: 3rem; }
|
|
288
|
+
|
|
289
|
+
.ed-m-xs { margin: 0.25rem; }
|
|
290
|
+
.ed-m-sm { margin: 0.5rem; }
|
|
291
|
+
.ed-m-md { margin: 1rem; }
|
|
292
|
+
.ed-m-lg { margin: 1.5rem; }
|
|
293
|
+
.ed-m-xl { margin: 2rem; }
|
|
294
|
+
.ed-m-auto { margin: auto; }
|
|
295
|
+
|
|
296
|
+
.ed-mx-auto { margin-left: auto; margin-right: auto; }
|
|
297
|
+
|
|
298
|
+
.ed-space-y-xs > * + * { margin-top: 0.25rem; }
|
|
299
|
+
.ed-space-y-sm > * + * { margin-top: 0.5rem; }
|
|
300
|
+
.ed-space-y-md > * + * { margin-top: 1rem; }
|
|
301
|
+
.ed-space-y-lg > * + * { margin-top: 1.5rem; }
|
|
302
|
+
.ed-space-y-xl > * + * { margin-top: 2rem; }
|
|
303
|
+
|
|
304
|
+
.ed-space-x-xs > * + * { margin-left: 0.25rem; }
|
|
305
|
+
.ed-space-x-sm > * + * { margin-left: 0.5rem; }
|
|
306
|
+
.ed-space-x-md > * + * { margin-left: 1rem; }
|
|
307
|
+
.ed-space-x-lg > * + * { margin-left: 1.5rem; }
|
|
308
|
+
.ed-space-x-xl > * + * { margin-left: 2rem; }
|
|
309
|
+
|
|
310
|
+
/* ─── Border Utilities ─────────────────────────────────────────────────────── */
|
|
311
|
+
|
|
312
|
+
.ed-border { border: 1px solid var(--ed-border-primary); }
|
|
313
|
+
.ed-border-0 { border: 0; }
|
|
314
|
+
.ed-border-t { border-top: 1px solid var(--ed-border-primary); }
|
|
315
|
+
.ed-border-b { border-bottom: 1px solid var(--ed-border-primary); }
|
|
316
|
+
.ed-border-l { border-left: 1px solid var(--ed-border-primary); }
|
|
317
|
+
.ed-border-r { border-right: 1px solid var(--ed-border-primary); }
|
|
318
|
+
|
|
319
|
+
.ed-border-primary { border-color: var(--ed-primary-500); }
|
|
320
|
+
.ed-border-success { border-color: var(--ed-success-500); }
|
|
321
|
+
.ed-border-warning { border-color: var(--ed-warning-500); }
|
|
322
|
+
.ed-border-danger { border-color: var(--ed-danger-500); }
|
|
323
|
+
|
|
324
|
+
.ed-rounded-none { border-radius: 0; }
|
|
325
|
+
.ed-rounded-sm { border-radius: 0.25rem; }
|
|
326
|
+
.ed-rounded { border-radius: 0.375rem; }
|
|
327
|
+
.ed-rounded-md { border-radius: 0.5rem; }
|
|
328
|
+
.ed-rounded-lg { border-radius: 0.75rem; }
|
|
329
|
+
.ed-rounded-xl { border-radius: 1rem; }
|
|
330
|
+
.ed-rounded-2xl { border-radius: 1.5rem; }
|
|
331
|
+
.ed-rounded-full { border-radius: 9999px; }
|
|
332
|
+
|
|
333
|
+
/* ─── Shadow Utilities ─────────────────────────────────────────────────────── */
|
|
334
|
+
|
|
335
|
+
.ed-shadow-none { box-shadow: none; }
|
|
336
|
+
.ed-shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
|
|
337
|
+
.ed-shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
|
|
338
|
+
.ed-shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
|
|
339
|
+
.ed-shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
|
|
340
|
+
.ed-shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
|
|
341
|
+
.ed-shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
|
|
342
|
+
.ed-shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
|
|
343
|
+
|
|
344
|
+
.ed-shadow-primary { box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.35); }
|
|
345
|
+
.ed-shadow-success { box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.35); }
|
|
346
|
+
.ed-shadow-danger { box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.35); }
|
|
347
|
+
|
|
348
|
+
/* ─── Transition Utilities ─────────────────────────────────────────────────── */
|
|
349
|
+
|
|
350
|
+
.ed-transition-none { transition: none; }
|
|
351
|
+
.ed-transition-all { transition: all 250ms ease; }
|
|
352
|
+
.ed-transition-colors { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
|
|
353
|
+
.ed-transition-opacity { transition: opacity 200ms ease; }
|
|
354
|
+
.ed-transition-transform { transition: transform 200ms ease; }
|
|
355
|
+
.ed-transition-shadow { transition: box-shadow 200ms ease; }
|
|
356
|
+
.ed-transition-fast { transition-duration: 150ms; }
|
|
357
|
+
.ed-transition-normal { transition-duration: 250ms; }
|
|
358
|
+
.ed-transition-slow { transition-duration: 350ms; }
|
|
359
|
+
.ed-transition-slower { transition-duration: 500ms; }
|
|
360
|
+
|
|
361
|
+
.ed-ease-linear { transition-timing-function: linear; }
|
|
362
|
+
.ed-ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
|
|
363
|
+
.ed-ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
|
|
364
|
+
.ed-ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
|
|
365
|
+
.ed-ease-spring { transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); }
|
|
366
|
+
.ed-ease-bounce { transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }
|
|
367
|
+
|
|
368
|
+
/* ─── Responsive Helpers ───────────────────────────────────────────────────── */
|
|
369
|
+
|
|
370
|
+
.ed-container {
|
|
371
|
+
width: 100%;
|
|
372
|
+
max-width: var(--ed-container-xl, 1280px);
|
|
373
|
+
margin-left: auto;
|
|
374
|
+
margin-right: auto;
|
|
375
|
+
padding-left: 1rem;
|
|
376
|
+
padding-right: 1rem;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.ed-container-sm { max-width: var(--ed-container-sm, 640px); }
|
|
380
|
+
.ed-container-md { max-width: var(--ed-container-md, 768px); }
|
|
381
|
+
.ed-container-lg { max-width: var(--ed-container-lg, 1024px); }
|
|
382
|
+
.ed-container-xl { max-width: var(--ed-container-xl, 1280px); }
|
|
383
|
+
.ed-container-2xl { max-width: var(--ed-container-2xl, 1536px); }
|
|
384
|
+
|
|
385
|
+
.ed-hide-scrollbar {
|
|
386
|
+
scrollbar-width: none;
|
|
387
|
+
-ms-overflow-style: none;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.ed-hide-scrollbar::-webkit-scrollbar {
|
|
391
|
+
display: none;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.ed-sr-only {
|
|
395
|
+
position: absolute;
|
|
396
|
+
width: 1px;
|
|
397
|
+
height: 1px;
|
|
398
|
+
padding: 0;
|
|
399
|
+
margin: -1px;
|
|
400
|
+
overflow: hidden;
|
|
401
|
+
clip: rect(0, 0, 0, 0);
|
|
402
|
+
white-space: nowrap;
|
|
403
|
+
border-width: 0;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.ed-not-sr-only {
|
|
407
|
+
position: static;
|
|
408
|
+
width: auto;
|
|
409
|
+
height: auto;
|
|
410
|
+
padding: 0;
|
|
411
|
+
margin: 0;
|
|
412
|
+
overflow: visible;
|
|
413
|
+
clip: auto;
|
|
414
|
+
white-space: normal;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/* Responsive visibility */
|
|
418
|
+
.ed-hidden-mobile { display: none; }
|
|
419
|
+
.ed-visible-mobile { display: initial; }
|
|
420
|
+
.ed-hidden-tablet { display: none; }
|
|
421
|
+
.ed-visible-tablet { display: initial; }
|
|
422
|
+
.ed-hidden-desktop { display: none; }
|
|
423
|
+
.ed-visible-desktop { display: initial; }
|
|
424
|
+
|
|
425
|
+
@media (min-width: 640px) {
|
|
426
|
+
.ed-hidden-mobile { display: initial; }
|
|
427
|
+
.ed-visible-mobile { display: none; }
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
@media (min-width: 768px) {
|
|
431
|
+
.ed-hidden-tablet { display: initial; }
|
|
432
|
+
.ed-visible-tablet { display: none; }
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
@media (min-width: 1024px) {
|
|
436
|
+
.ed-hidden-desktop { display: initial; }
|
|
437
|
+
.ed-visible-desktop { display: none; }
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* ─── Overflow Utilities ───────────────────────────────────────────────────── */
|
|
441
|
+
|
|
442
|
+
.ed-overflow-hidden { overflow: hidden; }
|
|
443
|
+
.ed-overflow-auto { overflow: auto; }
|
|
444
|
+
.ed-overflow-x-auto { overflow-x: auto; }
|
|
445
|
+
.ed-overflow-y-auto { overflow-y: auto; }
|
|
446
|
+
.ed-overflow-clip { overflow: clip; }
|
|
447
|
+
|
|
448
|
+
/* ─── Z-Index Utilities ────────────────────────────────────────────────────── */
|
|
449
|
+
|
|
450
|
+
.ed-z-0 { z-index: 0; }
|
|
451
|
+
.ed-z-10 { z-index: 10; }
|
|
452
|
+
.ed-z-20 { z-index: 20; }
|
|
453
|
+
.ed-z-30 { z-index: 30; }
|
|
454
|
+
.ed-z-40 { z-index: 40; }
|
|
455
|
+
.ed-z-50 { z-index: 50; }
|
|
456
|
+
.ed-z-auto { z-index: auto; }
|
|
457
|
+
.ed-z-dropdown { z-index: var(--ed-z-dropdown, 1000); }
|
|
458
|
+
.ed-z-sticky { z-index: var(--ed-z-sticky, 1020); }
|
|
459
|
+
.ed-z-fixed { z-index: var(--ed-z-fixed, 1030); }
|
|
460
|
+
.ed-z-modal { z-index: var(--ed-z-modal, 1050); }
|
|
461
|
+
.ed-z-popover { z-index: var(--ed-z-popover, 1060); }
|
|
462
|
+
.ed-z-tooltip { z-index: var(--ed-z-tooltip, 1070); }
|
|
463
|
+
.ed-z-toast { z-index: var(--ed-z-toast, 1080); }
|
|
464
|
+
|
|
465
|
+
/* ─── Pointer Events ──────────────────────────────────────────────────────── */
|
|
466
|
+
|
|
467
|
+
.ed-pointer-events-none { pointer-events: none; }
|
|
468
|
+
.ed-pointer-events-auto { pointer-events: auto; }
|
|
469
|
+
|
|
470
|
+
/* ─── Resize Utilities ─────────────────────────────────────────────────────── */
|
|
471
|
+
|
|
472
|
+
.ed-resize-none { resize: none; }
|
|
473
|
+
.ed-resize-y { resize: vertical; }
|
|
474
|
+
.ed-resize-x { resize: horizontal; }
|
|
475
|
+
.ed-resize-both { resize: both; }
|