@jasonshimmy/custom-elements-runtime 2.8.1 → 3.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.
Files changed (91) hide show
  1. package/README.md +159 -46
  2. package/dist/css-utils-Cg4o1MqY.js +643 -0
  3. package/dist/css-utils-Cg4o1MqY.js.map +1 -0
  4. package/dist/css-utils-RqkyBWft.cjs +576 -0
  5. package/dist/css-utils-RqkyBWft.cjs.map +1 -0
  6. package/dist/custom-elements-runtime.cjs.js +3 -3
  7. package/dist/custom-elements-runtime.cjs.js.map +1 -1
  8. package/dist/custom-elements-runtime.dom-jit-css.cjs.js +7 -0
  9. package/dist/custom-elements-runtime.dom-jit-css.cjs.js.map +1 -0
  10. package/dist/custom-elements-runtime.dom-jit-css.es.js +136 -0
  11. package/dist/custom-elements-runtime.dom-jit-css.es.js.map +1 -0
  12. package/dist/custom-elements-runtime.es.js +70 -67
  13. package/dist/custom-elements-runtime.es.js.map +1 -1
  14. package/dist/custom-elements-runtime.event-bus.cjs.js +1 -1
  15. package/dist/custom-elements-runtime.event-bus.cjs.js.map +1 -1
  16. package/dist/custom-elements-runtime.event-bus.es.js +62 -46
  17. package/dist/custom-elements-runtime.event-bus.es.js.map +1 -1
  18. package/dist/custom-elements-runtime.jit-css.cjs.js +2 -0
  19. package/dist/custom-elements-runtime.jit-css.cjs.js.map +1 -0
  20. package/dist/custom-elements-runtime.jit-css.es.js +38 -0
  21. package/dist/custom-elements-runtime.jit-css.es.js.map +1 -0
  22. package/dist/custom-elements-runtime.router.cjs.js +20 -20
  23. package/dist/custom-elements-runtime.router.cjs.js.map +1 -1
  24. package/dist/custom-elements-runtime.router.es.js +448 -434
  25. package/dist/custom-elements-runtime.router.es.js.map +1 -1
  26. package/dist/custom-elements-runtime.ssr.cjs.js +1 -1
  27. package/dist/custom-elements-runtime.ssr.cjs.js.map +1 -1
  28. package/dist/custom-elements-runtime.ssr.es.js +33 -18
  29. package/dist/custom-elements-runtime.ssr.es.js.map +1 -1
  30. package/dist/custom-elements-runtime.store.cjs.js +1 -1
  31. package/dist/custom-elements-runtime.store.cjs.js.map +1 -1
  32. package/dist/custom-elements-runtime.store.es.js +21 -16
  33. package/dist/custom-elements-runtime.store.es.js.map +1 -1
  34. package/dist/custom-elements-runtime.transitions.cjs.js +1 -1
  35. package/dist/custom-elements-runtime.transitions.cjs.js.map +1 -1
  36. package/dist/custom-elements-runtime.transitions.es.js +279 -7
  37. package/dist/custom-elements-runtime.transitions.es.js.map +1 -1
  38. package/dist/custom-elements-runtime.vite-plugin.cjs.js +2 -0
  39. package/dist/custom-elements-runtime.vite-plugin.cjs.js.map +1 -0
  40. package/dist/custom-elements-runtime.vite-plugin.es.js +73 -0
  41. package/dist/custom-elements-runtime.vite-plugin.es.js.map +1 -0
  42. package/dist/dom-jit-css.d.ts +66 -0
  43. package/dist/event-bus.d.ts +3 -1
  44. package/dist/{namespace-helpers-DhLBqt-7.js → helpers-CweFZFWU.js} +265 -287
  45. package/dist/helpers-CweFZFWU.js.map +1 -0
  46. package/dist/helpers-DeWjSmOl.cjs +5 -0
  47. package/dist/helpers-DeWjSmOl.cjs.map +1 -0
  48. package/dist/hooks-BrrLKSub.cjs +3 -0
  49. package/dist/hooks-BrrLKSub.cjs.map +1 -0
  50. package/dist/hooks-DyShDHKo.js +403 -0
  51. package/dist/hooks-DyShDHKo.js.map +1 -0
  52. package/dist/index.d.ts +3 -3
  53. package/dist/jit-css.d.ts +30 -0
  54. package/dist/namespace-helpers-CnpZ5__p.js +45 -0
  55. package/dist/namespace-helpers-CnpZ5__p.js.map +1 -0
  56. package/dist/namespace-helpers-CyIDtI97.cjs +2 -0
  57. package/dist/namespace-helpers-CyIDtI97.cjs.map +1 -0
  58. package/dist/router/types.d.ts +4 -2
  59. package/dist/runtime/css-utils.d.ts +33 -0
  60. package/dist/runtime/discovery-state.d.ts +3 -0
  61. package/dist/runtime/hooks.d.ts +78 -0
  62. package/dist/runtime/jit-hooks.d.ts +28 -0
  63. package/dist/runtime/render-bridge.d.ts +37 -0
  64. package/dist/runtime/scheduler.d.ts +3 -4
  65. package/dist/runtime/secure-expression-evaluator.d.ts +0 -1
  66. package/dist/runtime/style.d.ts +84 -26
  67. package/dist/runtime/template-compiler/lru-cache.d.ts +0 -3
  68. package/dist/runtime/vdom-helpers.d.ts +0 -1
  69. package/dist/ssr.d.ts +42 -0
  70. package/dist/{transitions-DMJXs_tY.js → style-BmyOIMcU.js} +904 -1344
  71. package/dist/style-BmyOIMcU.js.map +1 -0
  72. package/dist/style-D40DsIqJ.cjs +55 -0
  73. package/dist/style-D40DsIqJ.cjs.map +1 -0
  74. package/dist/style.css +1 -1
  75. package/dist/template-compiler-B5uN1EQw.js +3731 -0
  76. package/dist/template-compiler-B5uN1EQw.js.map +1 -0
  77. package/dist/template-compiler-Cx623BSB.cjs +23 -0
  78. package/dist/template-compiler-Cx623BSB.cjs.map +1 -0
  79. package/dist/variables.css +1 -1
  80. package/dist/vite-plugin.d.ts +52 -0
  81. package/package.json +55 -6
  82. package/dist/namespace-helpers-Ctd_h7j2.cjs +0 -5
  83. package/dist/namespace-helpers-Ctd_h7j2.cjs.map +0 -1
  84. package/dist/namespace-helpers-DhLBqt-7.js.map +0 -1
  85. package/dist/template-compiler-CVBKYu3j.js +0 -3991
  86. package/dist/template-compiler-CVBKYu3j.js.map +0 -1
  87. package/dist/template-compiler-G8h2OJbA.cjs +0 -23
  88. package/dist/template-compiler-G8h2OJbA.cjs.map +0 -1
  89. package/dist/transitions-DMJXs_tY.js.map +0 -1
  90. package/dist/transitions-f4KfN29T.cjs +0 -330
  91. package/dist/transitions-f4KfN29T.cjs.map +0 -1
@@ -0,0 +1,643 @@
1
+ const u = `/*
2
+ * Custom Elements Variables CSS
3
+ * Default fallback values
4
+ *
5
+ * Define your overrides in the document's :root to have them
6
+ * inherited into all Shadow DOM components:
7
+ *
8
+ * <style>
9
+ * :root {
10
+ * --cer-color-primary-500: #8b5cf6;
11
+ * --cer-font-sans: 'Inter', sans-serif;
12
+ * }
13
+ * </style>
14
+ *
15
+ * Note: Only :root is used here (not :host) so document-level
16
+ * overrides will inherit into Shadow DOM and take precedence.
17
+ */
18
+
19
+ :root {
20
+ /* Font families (match runtime defaults in src/lib/runtime/style.ts) */
21
+ --cer-font-sans:
22
+ ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
23
+ 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
24
+ --cer-font-serif: ui-serif, Georgia, 'Times New Roman', Times, serif;
25
+ --cer-font-mono:
26
+ ui-monospace, 'SFMono-Regular', Menlo, Monaco, 'Roboto Mono', 'Courier New',
27
+ monospace;
28
+
29
+ /* Default outline style */
30
+ --cer-outline-style: solid;
31
+
32
+ /* Colors */
33
+ --cer-color-transparent: transparent;
34
+ --cer-color-current: currentColor;
35
+ --cer-color-black: #000000;
36
+ --cer-color-white: #ffffff;
37
+ --cer-color-inherit: inherit;
38
+
39
+ /* neutral */
40
+ --cer-color-neutral-50: #fafafa;
41
+ --cer-color-neutral-100: #f4f4f5;
42
+ --cer-color-neutral-200: #e4e4e7;
43
+ --cer-color-neutral-300: #d4d4d8;
44
+ --cer-color-neutral-400: #9f9fa9;
45
+ --cer-color-neutral-500: #71717b;
46
+ --cer-color-neutral-600: #52525c;
47
+ --cer-color-neutral-700: #3f3f46;
48
+ --cer-color-neutral-800: #27272a;
49
+ --cer-color-neutral-900: #18181b;
50
+ --cer-color-neutral-950: #09090b;
51
+
52
+ /* primary */
53
+ --cer-color-primary-50: #eff6ff;
54
+ --cer-color-primary-100: #dbeafe;
55
+ --cer-color-primary-200: #bfdbfe;
56
+ --cer-color-primary-300: #93c5fd;
57
+ --cer-color-primary-400: #60a5fa;
58
+ --cer-color-primary-500: #3b82f6;
59
+ --cer-color-primary-600: #2563eb;
60
+ --cer-color-primary-700: #1d4ed8;
61
+ --cer-color-primary-800: #1e40af;
62
+ --cer-color-primary-900: #1e3a8a;
63
+ --cer-color-primary-950: #172554;
64
+
65
+ /* secondary */
66
+ --cer-color-secondary-50: #eef2ff;
67
+ --cer-color-secondary-100: #e0e7ff;
68
+ --cer-color-secondary-200: #c7d2fe;
69
+ --cer-color-secondary-300: #a5b4fc;
70
+ --cer-color-secondary-400: #818cf8;
71
+ --cer-color-secondary-500: #6366f1;
72
+ --cer-color-secondary-600: #4f46e5;
73
+ --cer-color-secondary-700: #4338ca;
74
+ --cer-color-secondary-800: #3730a3;
75
+ --cer-color-secondary-900: #312e81;
76
+ --cer-color-secondary-950: #1e1b4b;
77
+
78
+ /* success */
79
+ --cer-color-success-50: #f0fdf4;
80
+ --cer-color-success-100: #dcfce7;
81
+ --cer-color-success-200: #bbf7d0;
82
+ --cer-color-success-300: #86efac;
83
+ --cer-color-success-400: #4ade80;
84
+ --cer-color-success-500: #22c55e;
85
+ --cer-color-success-600: #16a34a;
86
+ --cer-color-success-700: #15803d;
87
+ --cer-color-success-800: #166534;
88
+ --cer-color-success-900: #14532d;
89
+ --cer-color-success-950: #052e16;
90
+
91
+ /* info */
92
+ --cer-color-info-50: #f0f9ff;
93
+ --cer-color-info-100: #e0f2fe;
94
+ --cer-color-info-200: #bae6fd;
95
+ --cer-color-info-300: #7dd3fc;
96
+ --cer-color-info-400: #38bdf8;
97
+ --cer-color-info-500: #0ea5e9;
98
+ --cer-color-info-600: #0284c7;
99
+ --cer-color-info-700: #0369a1;
100
+ --cer-color-info-800: #075985;
101
+ --cer-color-info-900: #0c4a6e;
102
+ --cer-color-info-950: #082f49;
103
+
104
+ /* warning */
105
+ --cer-color-warning-50: #fffbeb;
106
+ --cer-color-warning-100: #fef3c7;
107
+ --cer-color-warning-200: #fde68a;
108
+ --cer-color-warning-300: #fcd34d;
109
+ --cer-color-warning-400: #fbbf24;
110
+ --cer-color-warning-500: #f59e0b;
111
+ --cer-color-warning-600: #d97706;
112
+ --cer-color-warning-700: #b45309;
113
+ --cer-color-warning-800: #92400e;
114
+ --cer-color-warning-900: #78350f;
115
+ --cer-color-warning-950: #451a03;
116
+
117
+ /* error */
118
+ --cer-color-error-50: #fef2f2;
119
+ --cer-color-error-100: #fee2e2;
120
+ --cer-color-error-200: #fecaca;
121
+ --cer-color-error-300: #fca5a5;
122
+ --cer-color-error-400: #f87171;
123
+ --cer-color-error-500: #ef4444;
124
+ --cer-color-error-600: #dc2626;
125
+ --cer-color-error-700: #b91c1c;
126
+ --cer-color-error-800: #991b1b;
127
+ --cer-color-error-900: #7f1d1d;
128
+ --cer-color-error-950: #450a0a;
129
+
130
+ /* Extended Tailwind palette — override to theme these colors */
131
+ /* slate */
132
+ --cer-color-slate-50: #f8fafc;
133
+ --cer-color-slate-100: #f1f5f9;
134
+ --cer-color-slate-200: #e2e8f0;
135
+ --cer-color-slate-300: #cbd5e1;
136
+ --cer-color-slate-400: #94a3b8;
137
+ --cer-color-slate-500: #64748b;
138
+ --cer-color-slate-600: #475569;
139
+ --cer-color-slate-700: #334155;
140
+ --cer-color-slate-800: #1e293b;
141
+ --cer-color-slate-900: #0f172a;
142
+ --cer-color-slate-950: #020617;
143
+ /* gray */
144
+ --cer-color-gray-50: #f9fafb;
145
+ --cer-color-gray-100: #f3f4f6;
146
+ --cer-color-gray-200: #e5e7eb;
147
+ --cer-color-gray-300: #d1d5db;
148
+ --cer-color-gray-400: #9ca3af;
149
+ --cer-color-gray-500: #6b7280;
150
+ --cer-color-gray-600: #4b5563;
151
+ --cer-color-gray-700: #374151;
152
+ --cer-color-gray-800: #1f2937;
153
+ --cer-color-gray-900: #111827;
154
+ --cer-color-gray-950: #030712;
155
+ /* zinc */
156
+ --cer-color-zinc-50: #fafafa;
157
+ --cer-color-zinc-100: #f4f4f5;
158
+ --cer-color-zinc-200: #e4e4e7;
159
+ --cer-color-zinc-300: #d4d4d8;
160
+ --cer-color-zinc-400: #a1a1aa;
161
+ --cer-color-zinc-500: #71717a;
162
+ --cer-color-zinc-600: #52525b;
163
+ --cer-color-zinc-700: #3f3f46;
164
+ --cer-color-zinc-800: #27272a;
165
+ --cer-color-zinc-900: #18181b;
166
+ --cer-color-zinc-950: #09090b;
167
+ /* stone */
168
+ --cer-color-stone-50: #fafaf9;
169
+ --cer-color-stone-100: #f5f5f4;
170
+ --cer-color-stone-200: #e7e5e4;
171
+ --cer-color-stone-300: #d6d3d1;
172
+ --cer-color-stone-400: #a8a29e;
173
+ --cer-color-stone-500: #78716c;
174
+ --cer-color-stone-600: #57534e;
175
+ --cer-color-stone-700: #44403c;
176
+ --cer-color-stone-800: #292524;
177
+ --cer-color-stone-900: #1c1917;
178
+ --cer-color-stone-950: #0c0a09;
179
+ /* red */
180
+ --cer-color-red-50: #fef2f2;
181
+ --cer-color-red-100: #fee2e2;
182
+ --cer-color-red-200: #fecaca;
183
+ --cer-color-red-300: #fca5a5;
184
+ --cer-color-red-400: #f87171;
185
+ --cer-color-red-500: #ef4444;
186
+ --cer-color-red-600: #dc2626;
187
+ --cer-color-red-700: #b91c1c;
188
+ --cer-color-red-800: #991b1b;
189
+ --cer-color-red-900: #7f1d1d;
190
+ --cer-color-red-950: #450a0a;
191
+ /* orange */
192
+ --cer-color-orange-50: #fff7ed;
193
+ --cer-color-orange-100: #ffedd5;
194
+ --cer-color-orange-200: #fed7aa;
195
+ --cer-color-orange-300: #fdba74;
196
+ --cer-color-orange-400: #fb923c;
197
+ --cer-color-orange-500: #f97316;
198
+ --cer-color-orange-600: #ea580c;
199
+ --cer-color-orange-700: #c2410c;
200
+ --cer-color-orange-800: #9a3412;
201
+ --cer-color-orange-900: #7c2d12;
202
+ --cer-color-orange-950: #431407;
203
+ /* amber */
204
+ --cer-color-amber-50: #fffbeb;
205
+ --cer-color-amber-100: #fef3c7;
206
+ --cer-color-amber-200: #fde68a;
207
+ --cer-color-amber-300: #fcd34d;
208
+ --cer-color-amber-400: #fbbf24;
209
+ --cer-color-amber-500: #f59e0b;
210
+ --cer-color-amber-600: #d97706;
211
+ --cer-color-amber-700: #b45309;
212
+ --cer-color-amber-800: #92400e;
213
+ --cer-color-amber-900: #78350f;
214
+ --cer-color-amber-950: #451a03;
215
+ /* yellow */
216
+ --cer-color-yellow-50: #fefce8;
217
+ --cer-color-yellow-100: #fef9c3;
218
+ --cer-color-yellow-200: #fef08a;
219
+ --cer-color-yellow-300: #fde047;
220
+ --cer-color-yellow-400: #facc15;
221
+ --cer-color-yellow-500: #eab308;
222
+ --cer-color-yellow-600: #ca8a04;
223
+ --cer-color-yellow-700: #a16207;
224
+ --cer-color-yellow-800: #854d0e;
225
+ --cer-color-yellow-900: #713f12;
226
+ --cer-color-yellow-950: #422006;
227
+ /* lime */
228
+ --cer-color-lime-50: #f7fee7;
229
+ --cer-color-lime-100: #ecfccb;
230
+ --cer-color-lime-200: #d9f99d;
231
+ --cer-color-lime-300: #bef264;
232
+ --cer-color-lime-400: #a3e635;
233
+ --cer-color-lime-500: #84cc16;
234
+ --cer-color-lime-600: #65a30d;
235
+ --cer-color-lime-700: #4d7c0f;
236
+ --cer-color-lime-800: #3f6212;
237
+ --cer-color-lime-900: #365314;
238
+ --cer-color-lime-950: #1a2e05;
239
+ /* green */
240
+ --cer-color-green-50: #f0fdf4;
241
+ --cer-color-green-100: #dcfce7;
242
+ --cer-color-green-200: #bbf7d0;
243
+ --cer-color-green-300: #86efac;
244
+ --cer-color-green-400: #4ade80;
245
+ --cer-color-green-500: #22c55e;
246
+ --cer-color-green-600: #16a34a;
247
+ --cer-color-green-700: #15803d;
248
+ --cer-color-green-800: #166534;
249
+ --cer-color-green-900: #14532d;
250
+ --cer-color-green-950: #052e16;
251
+ /* emerald */
252
+ --cer-color-emerald-50: #ecfdf5;
253
+ --cer-color-emerald-100: #d1fae5;
254
+ --cer-color-emerald-200: #a7f3d0;
255
+ --cer-color-emerald-300: #6ee7b7;
256
+ --cer-color-emerald-400: #34d399;
257
+ --cer-color-emerald-500: #10b981;
258
+ --cer-color-emerald-600: #059669;
259
+ --cer-color-emerald-700: #047857;
260
+ --cer-color-emerald-800: #065f46;
261
+ --cer-color-emerald-900: #064e3b;
262
+ --cer-color-emerald-950: #022c22;
263
+ /* teal */
264
+ --cer-color-teal-50: #f0fdfa;
265
+ --cer-color-teal-100: #ccfbf1;
266
+ --cer-color-teal-200: #99f6e4;
267
+ --cer-color-teal-300: #5eead4;
268
+ --cer-color-teal-400: #2dd4bf;
269
+ --cer-color-teal-500: #14b8a6;
270
+ --cer-color-teal-600: #0d9488;
271
+ --cer-color-teal-700: #0f766e;
272
+ --cer-color-teal-800: #115e59;
273
+ --cer-color-teal-900: #134e4a;
274
+ --cer-color-teal-950: #042f2e;
275
+ /* cyan */
276
+ --cer-color-cyan-50: #ecfeff;
277
+ --cer-color-cyan-100: #cffafe;
278
+ --cer-color-cyan-200: #a5f3fc;
279
+ --cer-color-cyan-300: #67e8f9;
280
+ --cer-color-cyan-400: #22d3ee;
281
+ --cer-color-cyan-500: #06b6d4;
282
+ --cer-color-cyan-600: #0891b2;
283
+ --cer-color-cyan-700: #0e7490;
284
+ --cer-color-cyan-800: #155e75;
285
+ --cer-color-cyan-900: #164e63;
286
+ --cer-color-cyan-950: #083344;
287
+ /* sky */
288
+ --cer-color-sky-50: #f0f9ff;
289
+ --cer-color-sky-100: #e0f2fe;
290
+ --cer-color-sky-200: #bae6fd;
291
+ --cer-color-sky-300: #7dd3fc;
292
+ --cer-color-sky-400: #38bdf8;
293
+ --cer-color-sky-500: #0ea5e9;
294
+ --cer-color-sky-600: #0284c7;
295
+ --cer-color-sky-700: #0369a1;
296
+ --cer-color-sky-800: #075985;
297
+ --cer-color-sky-900: #0c4a6e;
298
+ --cer-color-sky-950: #082f49;
299
+ /* blue */
300
+ --cer-color-blue-50: #eff6ff;
301
+ --cer-color-blue-100: #dbeafe;
302
+ --cer-color-blue-200: #bfdbfe;
303
+ --cer-color-blue-300: #93c5fd;
304
+ --cer-color-blue-400: #60a5fa;
305
+ --cer-color-blue-500: #3b82f6;
306
+ --cer-color-blue-600: #2563eb;
307
+ --cer-color-blue-700: #1d4ed8;
308
+ --cer-color-blue-800: #1e40af;
309
+ --cer-color-blue-900: #1e3a8a;
310
+ --cer-color-blue-950: #172554;
311
+ /* indigo */
312
+ --cer-color-indigo-50: #eef2ff;
313
+ --cer-color-indigo-100: #e0e7ff;
314
+ --cer-color-indigo-200: #c7d2fe;
315
+ --cer-color-indigo-300: #a5b4fc;
316
+ --cer-color-indigo-400: #818cf8;
317
+ --cer-color-indigo-500: #6366f1;
318
+ --cer-color-indigo-600: #4f46e5;
319
+ --cer-color-indigo-700: #4338ca;
320
+ --cer-color-indigo-800: #3730a3;
321
+ --cer-color-indigo-900: #312e81;
322
+ --cer-color-indigo-950: #1e1b4b;
323
+ /* violet */
324
+ --cer-color-violet-50: #f5f3ff;
325
+ --cer-color-violet-100: #ede9fe;
326
+ --cer-color-violet-200: #ddd6fe;
327
+ --cer-color-violet-300: #c4b5fd;
328
+ --cer-color-violet-400: #a78bfa;
329
+ --cer-color-violet-500: #8b5cf6;
330
+ --cer-color-violet-600: #7c3aed;
331
+ --cer-color-violet-700: #6d28d9;
332
+ --cer-color-violet-800: #5b21b6;
333
+ --cer-color-violet-900: #4c1d95;
334
+ --cer-color-violet-950: #2e1065;
335
+ /* purple */
336
+ --cer-color-purple-50: #faf5ff;
337
+ --cer-color-purple-100: #f3e8ff;
338
+ --cer-color-purple-200: #e9d5ff;
339
+ --cer-color-purple-300: #d8b4fe;
340
+ --cer-color-purple-400: #c084fc;
341
+ --cer-color-purple-500: #a855f7;
342
+ --cer-color-purple-600: #9333ea;
343
+ --cer-color-purple-700: #7e22ce;
344
+ --cer-color-purple-800: #6b21a8;
345
+ --cer-color-purple-900: #581c87;
346
+ --cer-color-purple-950: #3b0764;
347
+ /* fuchsia */
348
+ --cer-color-fuchsia-50: #fdf4ff;
349
+ --cer-color-fuchsia-100: #fae8ff;
350
+ --cer-color-fuchsia-200: #f5d0fe;
351
+ --cer-color-fuchsia-300: #f0abfc;
352
+ --cer-color-fuchsia-400: #e879f9;
353
+ --cer-color-fuchsia-500: #d946ef;
354
+ --cer-color-fuchsia-600: #c026d3;
355
+ --cer-color-fuchsia-700: #a21caf;
356
+ --cer-color-fuchsia-800: #86198f;
357
+ --cer-color-fuchsia-900: #701a75;
358
+ --cer-color-fuchsia-950: #4a044e;
359
+ /* pink */
360
+ --cer-color-pink-50: #fdf2f8;
361
+ --cer-color-pink-100: #fce7f3;
362
+ --cer-color-pink-200: #fbcfe8;
363
+ --cer-color-pink-300: #f9a8d4;
364
+ --cer-color-pink-400: #f472b6;
365
+ --cer-color-pink-500: #ec4899;
366
+ --cer-color-pink-600: #db2777;
367
+ --cer-color-pink-700: #be185d;
368
+ --cer-color-pink-800: #9d174d;
369
+ --cer-color-pink-900: #831843;
370
+ --cer-color-pink-950: #500724;
371
+ /* rose */
372
+ --cer-color-rose-50: #fff1f2;
373
+ --cer-color-rose-100: #ffe4e6;
374
+ --cer-color-rose-200: #fecdd3;
375
+ --cer-color-rose-300: #fda4af;
376
+ --cer-color-rose-400: #fb7185;
377
+ --cer-color-rose-500: #f43f5e;
378
+ --cer-color-rose-600: #e11d48;
379
+ --cer-color-rose-700: #be123c;
380
+ --cer-color-rose-800: #9f1239;
381
+ --cer-color-rose-900: #881337;
382
+ --cer-color-rose-950: #4c0519;
383
+ }
384
+
385
+ /* @property registrations for CSS transition composability */
386
+ @property --cer-rotate {
387
+ syntax: '<angle>';
388
+ initial-value: 0deg;
389
+ inherits: false;
390
+ }
391
+ @property --cer-translate-x {
392
+ syntax: '<length>';
393
+ initial-value: 0px;
394
+ inherits: false;
395
+ }
396
+ @property --cer-translate-y {
397
+ syntax: '<length>';
398
+ initial-value: 0px;
399
+ inherits: false;
400
+ }
401
+ @property --cer-skew-x {
402
+ syntax: '<angle>';
403
+ initial-value: 0deg;
404
+ inherits: false;
405
+ }
406
+ @property --cer-skew-y {
407
+ syntax: '<angle>';
408
+ initial-value: 0deg;
409
+ inherits: false;
410
+ }
411
+ @property --cer-scale-x {
412
+ syntax: '<number>';
413
+ initial-value: 1;
414
+ inherits: false;
415
+ }
416
+ @property --cer-scale-y {
417
+ syntax: '<number>';
418
+ initial-value: 1;
419
+ inherits: false;
420
+ }
421
+ /* Filter composition variables (--cer-blur, --cer-brightness, etc.) intentionally
422
+ omit @property registration because their "no-op" value is empty string (''),
423
+ which is not a valid CSS initial-value. They compose correctly without Houdini. */
424
+ @property --cer-opacity {
425
+ syntax: '<number>';
426
+ initial-value: 1;
427
+ inherits: false;
428
+ }
429
+ `;
430
+ function p(e, ...c) {
431
+ let n = "";
432
+ for (let o = 0; o < e.length; o++)
433
+ n += e[o], o < c.length && (n += c[o]);
434
+ return n;
435
+ }
436
+ function d(e) {
437
+ return e.replace(/\/\*[\s\S]*?\*\//g, "").replace(/\s+/g, " ").replace(/\s*([{}:;,>~])\s*/g, "$1").replace(/;}/g, "}").trim();
438
+ }
439
+ function y(e) {
440
+ return e.replace(/@charset\s+[^;]*;/gi, "").replace(/url\s*\(\s*['"]?javascript:[^)]*\)/gi, "").replace(/url\s*\(\s*['"]?data:[^)]*\)/gi, "").replace(/@import\s[^;{]*/gi, "").replace(/-moz-binding\s*:[^;]*/gi, "").replace(/\bbehavior\s*:[^;]*/gi, "").replace(/<script[\s\S]*?>[\s\S]*?<\/script>/gi, "").replace(/expression\s*\([^)]*\)/gi, "");
441
+ }
442
+ function g(e) {
443
+ if (typeof CSS < "u" && CSS.escape)
444
+ return CSS.escape(e);
445
+ const c = String(e), n = c.length;
446
+ let o = "", l = 0;
447
+ for (; l < n; ) {
448
+ const i = c.charAt(l), r = c.charCodeAt(l);
449
+ r === 0 ? o += "�" : r >= 1 && r <= 31 || r === 127 || l === 0 && r >= 48 && r <= 57 || l === 1 && r >= 48 && r <= 57 && c.charCodeAt(0) === 45 ? o += "\\" + r.toString(16) + " " : l === 0 && n === 1 && r === 45 ? o += "\\" + i : r >= 128 || r === 45 || r === 95 || r >= 48 && r <= 57 || r >= 65 && r <= 90 || r >= 97 && r <= 122 ? o += i : o += "\\" + i, l++;
450
+ }
451
+ return o;
452
+ }
453
+ function m(e) {
454
+ return "." + g(e);
455
+ }
456
+ function h(e) {
457
+ return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
458
+ }
459
+ const b = p`
460
+ ${u}
461
+ :host,
462
+ *,
463
+ ::before,
464
+ ::after {
465
+ all: isolate;
466
+ box-sizing: border-box;
467
+ border: 0 solid currentColor;
468
+ margin: 0;
469
+ padding: 0;
470
+ font: inherit;
471
+ vertical-align: baseline;
472
+ background: transparent;
473
+ color: inherit;
474
+ -webkit-tap-highlight-color: transparent;
475
+ /* Transform composition variables (reset per-element for composability) */
476
+ --cer-translate-x: 0px;
477
+ --cer-translate-y: 0px;
478
+ --cer-rotate: 0deg;
479
+ --cer-skew-x: 0deg;
480
+ --cer-skew-y: 0deg;
481
+ --cer-scale-x: 1;
482
+ --cer-scale-y: 1;
483
+ /* Ring variables */
484
+ --cer-ring-color: rgb(59 130 246 / 0.5);
485
+ /* Filter composition variables (empty = no-op in filter chain) */
486
+ --cer-blur: ;
487
+ --cer-brightness: ;
488
+ --cer-contrast: ;
489
+ --cer-grayscale: ;
490
+ --cer-hue-rotate: ;
491
+ --cer-invert: ;
492
+ --cer-saturate: ;
493
+ --cer-sepia: ;
494
+ --cer-drop-shadow: ;
495
+ --cer-backdrop-blur: ;
496
+ --cer-backdrop-brightness: ;
497
+ --cer-backdrop-contrast: ;
498
+ --cer-backdrop-grayscale: ;
499
+ --cer-backdrop-hue-rotate: ;
500
+ --cer-backdrop-invert: ;
501
+ --cer-backdrop-saturate: ;
502
+ --cer-backdrop-sepia: ;
503
+ }
504
+ :host {
505
+ display: contents;
506
+ font: 16px/1.5 var(--cer-font-sans, ui-sans-serif, system-ui, sans-serif);
507
+ /* Default CE line-height variable so leading-* can reliably override */
508
+ --cer-line-height: 1.5;
509
+ -webkit-text-size-adjust: 100%;
510
+ text-size-adjust: 100%;
511
+ -webkit-font-smoothing: antialiased;
512
+ -moz-osx-font-smoothing: grayscale;
513
+ /* Default gradient variables to avoid undefined var() usage in generated utilities */
514
+ --cer-gradient-from-position: 0%;
515
+ --cer-gradient-to-position: 100%;
516
+ --cer-gradient-via-position: 50%;
517
+ --cer-gradient-from: rgba(255, 255, 255, 0);
518
+ --cer-gradient-to: rgba(255, 255, 255, 0);
519
+ --cer-gradient-stops: var(--cer-gradient-from), var(--cer-gradient-to);
520
+ /* Default outline style variable */
521
+ --cer-outline-style: solid;
522
+ }
523
+ button,
524
+ input,
525
+ select,
526
+ textarea {
527
+ background: transparent;
528
+ outline: none;
529
+ }
530
+ textarea {
531
+ resize: vertical;
532
+ }
533
+ progress {
534
+ vertical-align: baseline;
535
+ }
536
+ button,
537
+ textarea {
538
+ overflow: visible;
539
+ }
540
+ img,
541
+ svg,
542
+ video,
543
+ canvas,
544
+ audio,
545
+ iframe,
546
+ embed,
547
+ object {
548
+ display: block;
549
+ max-width: 100%;
550
+ height: auto;
551
+ }
552
+ svg {
553
+ fill: currentColor;
554
+ stroke: none;
555
+ }
556
+ a {
557
+ text-decoration: inherit;
558
+ cursor: pointer;
559
+ }
560
+ button,
561
+ [type='button'],
562
+ [type='reset'],
563
+ [type='submit'] {
564
+ cursor: pointer;
565
+ appearance: button;
566
+ background: none;
567
+ -webkit-user-select: none;
568
+ user-select: none;
569
+ }
570
+ ::-webkit-input-placeholder,
571
+ ::placeholder {
572
+ color: inherit;
573
+ opacity: 0.5;
574
+ }
575
+ *:focus-visible {
576
+ outline: 2px solid var(--cer-color-primary-500, #3b82f6);
577
+ outline-offset: 2px;
578
+ }
579
+ ol,
580
+ ul {
581
+ list-style: none;
582
+ }
583
+ table {
584
+ border-collapse: collapse;
585
+ }
586
+ sub,
587
+ sup {
588
+ font-size: 0.75em;
589
+ line-height: 0;
590
+ position: relative;
591
+ }
592
+ sub {
593
+ bottom: -0.25em;
594
+ }
595
+ sup {
596
+ top: -0.5em;
597
+ }
598
+ [disabled],
599
+ [aria-disabled='true'] {
600
+ cursor: not-allowed;
601
+ }
602
+ [hidden] {
603
+ display: none;
604
+ }
605
+ `, v = "0.25rem";
606
+ let a = null;
607
+ function k() {
608
+ return a || (typeof CSSStyleSheet > "u" ? a = {
609
+ cssRules: [],
610
+ replaceSync: () => {
611
+ },
612
+ toString: () => d(b)
613
+ } : (a = new CSSStyleSheet(), a.replaceSync(d(b)))), a;
614
+ }
615
+ let t = null, s = null, f = null;
616
+ function w(e, c, n) {
617
+ t = e, s = c, f = n;
618
+ }
619
+ function S(e) {
620
+ return t ? t(e) : !1;
621
+ }
622
+ function x(e) {
623
+ return s ? s(e) : "";
624
+ }
625
+ function C() {
626
+ return f ? f() : null;
627
+ }
628
+ export {
629
+ w as _,
630
+ k as a,
631
+ b,
632
+ p as c,
633
+ g as d,
634
+ m as e,
635
+ h as f,
636
+ C as g,
637
+ v as h,
638
+ S as i,
639
+ d as m,
640
+ x as p,
641
+ y as s
642
+ };
643
+ //# sourceMappingURL=css-utils-Cg4o1MqY.js.map