@coreframe/dashboard 0.4.0-next.4 → 0.4.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/README.md +144 -23
- package/dist/package/access.d.ts +7 -0
- package/dist/package/access.js +30 -0
- package/dist/package/app/root.js +1 -1
- package/dist/package/app/sculpted-runtime.js +1 -0
- package/dist/package/app/shell.js +1 -1
- package/dist/package/app-client.d.ts +5 -4
- package/dist/package/app-client.js +1 -1
- package/dist/package/build.js +2 -2
- package/dist/package/config.d.ts +15 -3
- package/dist/package/index.d.ts +3 -3
- package/dist/package/node-fetch-adapter.js +1 -1
- package/dist/package/server.d.ts +8 -2
- package/dist/package/server.js +1 -1
- package/dist/package/types.d.ts +1 -17
- package/dist/package/web/styled-system/css/conditions.js +1 -1
- package/dist/package/web/styled-system/helpers.js +1 -1
- package/dist/package/web/styled-system/recipes/dashboard-button.js +1 -1
- package/dist/package/web/styled-system/recipes/dashboard-status.js +1 -1
- package/dist/package/web/styled-system/recipes/runtime.js +1 -1
- package/dist/package/web/ui/index.d.ts +1 -1
- package/dist/package/web/ui/styles.js +1 -1
- package/dist/package/web-shell/index.d.ts +2 -1
- package/dist/package/web-shell/index.js +1 -1
- package/dist/package/web-shell/menu.d.ts +19 -0
- package/dist/package/web-shell/menu.js +1 -0
- package/dist/package/web-shell/shell.d.ts +7 -6
- package/dist/package/web-shell/shell.js +6 -1
- package/dist/package/worker.d.ts +3 -3
- package/dist/package/worker.js +1 -1
- package/package.json +16 -33
- package/dist/package/plugins/diagnostics/api/contract.d.ts +0 -10
- package/dist/package/plugins/diagnostics/api/contract.js +0 -1
- package/dist/package/plugins/diagnostics/api/local.d.ts +0 -10
- package/dist/package/plugins/diagnostics/api/local.js +0 -1
- package/dist/package/plugins/diagnostics/api/worker.d.ts +0 -8
- package/dist/package/plugins/diagnostics/api/worker.js +0 -1
- package/dist/package/plugins/diagnostics/index.d.ts +0 -30
- package/dist/package/plugins/diagnostics/index.js +0 -1
- package/dist/package/plugins/diagnostics/web/queries.js +0 -1
- package/dist/package/plugins/diagnostics/web.d.ts +0 -4
- package/dist/package/plugins/diagnostics/web.js +0 -1
- package/dist/package/shell.css +0 -390
- package/dist/package/styled-css.js +0 -1
- package/dist/package/web/dashboard/dashboard-page.js +0 -1
- package/dist/package/web/dashboard/dashboard-section.js +0 -1
- package/dist/package/web/dashboard/dashboard.style.js +0 -1
- package/dist/package/web/dashboard/deployed-dashboard-page.js +0 -1
- package/dist/package/web/dashboard/findings.js +0 -1
- package/dist/package/web/dashboard/worker-environment.js +0 -1
- package/dist/package/web/root.style.js +0 -1
- package/dist/package/web/styled-system/css/css.js +0 -1
package/dist/package/shell.css
DELETED
|
@@ -1,390 +0,0 @@
|
|
|
1
|
-
@import "@fontsource-variable/inter";
|
|
2
|
-
|
|
3
|
-
@layer reset, base, tokens, recipes, utilities;
|
|
4
|
-
|
|
5
|
-
/* Dashboard documents are separate applications and must not depend on the host app's reset. */
|
|
6
|
-
@layer reset {
|
|
7
|
-
*,
|
|
8
|
-
*::before,
|
|
9
|
-
*::after {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
* {
|
|
14
|
-
margin: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html {
|
|
18
|
-
-webkit-text-size-adjust: 100%;
|
|
19
|
-
-webkit-tap-highlight-color: transparent;
|
|
20
|
-
text-size-adjust: 100%;
|
|
21
|
-
overscroll-behavior-y: none;
|
|
22
|
-
|
|
23
|
-
color: #20242a;
|
|
24
|
-
background: #f5f6f8;
|
|
25
|
-
font-family: "Inter Variable", Inter, system-ui, sans-serif;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
html:focus-within {
|
|
29
|
-
scroll-behavior: smooth;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
body {
|
|
33
|
-
min-height: 100svh;
|
|
34
|
-
overscroll-behavior-y: none;
|
|
35
|
-
font-size: 0.875rem;
|
|
36
|
-
line-height: 1.5;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
img,
|
|
40
|
-
picture,
|
|
41
|
-
video,
|
|
42
|
-
canvas,
|
|
43
|
-
svg {
|
|
44
|
-
display: block;
|
|
45
|
-
max-width: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
img:not([draggable="true"]) {
|
|
49
|
-
-webkit-user-drag: none;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
button,
|
|
53
|
-
input,
|
|
54
|
-
textarea,
|
|
55
|
-
select {
|
|
56
|
-
font: inherit;
|
|
57
|
-
letter-spacing: inherit;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
textarea:not([rows]) {
|
|
61
|
-
min-height: 10em;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
textarea {
|
|
65
|
-
resize: vertical;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
button,
|
|
69
|
-
[role="button"] {
|
|
70
|
-
cursor: pointer;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
:disabled {
|
|
74
|
-
cursor: not-allowed;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
:focus:not(:focus-visible) {
|
|
78
|
-
outline: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
a {
|
|
82
|
-
color: inherit;
|
|
83
|
-
text-decoration-skip-ink: auto;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
table {
|
|
87
|
-
border-collapse: collapse;
|
|
88
|
-
border-spacing: 0;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
p,
|
|
92
|
-
h1,
|
|
93
|
-
h2,
|
|
94
|
-
h3,
|
|
95
|
-
h4,
|
|
96
|
-
h5,
|
|
97
|
-
h6 {
|
|
98
|
-
overflow-wrap: break-word;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@media (prefers-reduced-motion: reduce) {
|
|
102
|
-
html:focus-within {
|
|
103
|
-
scroll-behavior: auto;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
*,
|
|
107
|
-
*::before,
|
|
108
|
-
*::after {
|
|
109
|
-
animation-duration: 0.01ms !important;
|
|
110
|
-
animation-iteration-count: 1 !important;
|
|
111
|
-
scroll-behavior: auto !important;
|
|
112
|
-
transition-duration: 0.01ms !important;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
::view-transition-group(*),
|
|
116
|
-
::view-transition-old(*),
|
|
117
|
-
::view-transition-new(*) {
|
|
118
|
-
animation: none !important;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.coreframe-dashboard,
|
|
124
|
-
.coreframe-dashboard__state {
|
|
125
|
-
--dashboard-background: #f5f6f8;
|
|
126
|
-
--dashboard-border: #dfe3e8;
|
|
127
|
-
--dashboard-foreground: #20242a;
|
|
128
|
-
--dashboard-muted: #68717d;
|
|
129
|
-
--dashboard-surface: #ffffff;
|
|
130
|
-
--dashboard-accent: #4f46e5;
|
|
131
|
-
box-sizing: border-box;
|
|
132
|
-
color: var(--dashboard-foreground);
|
|
133
|
-
font-family: "Inter Variable", Inter, system-ui, sans-serif;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.coreframe-dashboard *,
|
|
137
|
-
.coreframe-dashboard *::before,
|
|
138
|
-
.coreframe-dashboard *::after,
|
|
139
|
-
.coreframe-dashboard__state *,
|
|
140
|
-
.coreframe-dashboard__state *::before,
|
|
141
|
-
.coreframe-dashboard__state *::after {
|
|
142
|
-
box-sizing: inherit;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.coreframe-dashboard {
|
|
146
|
-
display: grid;
|
|
147
|
-
min-height: 100svh;
|
|
148
|
-
grid-template-columns: 15rem minmax(0, 1fr);
|
|
149
|
-
background: var(--dashboard-background);
|
|
150
|
-
transition: grid-template-columns 160ms ease;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.coreframe-dashboard[data-collapsed="true"] {
|
|
154
|
-
grid-template-columns: 4.25rem minmax(0, 1fr);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.coreframe-dashboard__sidebar {
|
|
158
|
-
z-index: 20;
|
|
159
|
-
border-right: 1px solid var(--dashboard-border);
|
|
160
|
-
background: var(--dashboard-surface);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.coreframe-dashboard__navigation {
|
|
164
|
-
position: sticky;
|
|
165
|
-
top: 0;
|
|
166
|
-
height: 100svh;
|
|
167
|
-
padding: 1rem;
|
|
168
|
-
overflow: hidden auto;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.coreframe-dashboard__brand {
|
|
172
|
-
display: flex;
|
|
173
|
-
min-height: 2.5rem;
|
|
174
|
-
align-items: center;
|
|
175
|
-
gap: 0.75rem;
|
|
176
|
-
font-weight: 700;
|
|
177
|
-
white-space: nowrap;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.coreframe-dashboard__mark {
|
|
181
|
-
display: grid;
|
|
182
|
-
width: 2rem;
|
|
183
|
-
height: 2rem;
|
|
184
|
-
flex: 0 0 auto;
|
|
185
|
-
place-items: center;
|
|
186
|
-
border-radius: 0.5rem;
|
|
187
|
-
background: var(--dashboard-foreground);
|
|
188
|
-
color: white;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.coreframe-dashboard__navigation-list {
|
|
192
|
-
display: grid;
|
|
193
|
-
gap: 0.25rem;
|
|
194
|
-
margin: 2rem 0 0;
|
|
195
|
-
padding: 0;
|
|
196
|
-
list-style: none;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.coreframe-dashboard__navigation-link {
|
|
200
|
-
display: flex;
|
|
201
|
-
min-height: 2.5rem;
|
|
202
|
-
align-items: center;
|
|
203
|
-
gap: 0.75rem;
|
|
204
|
-
border-radius: 0.5rem;
|
|
205
|
-
color: var(--dashboard-muted);
|
|
206
|
-
padding: 0.5rem;
|
|
207
|
-
text-decoration: none;
|
|
208
|
-
white-space: nowrap;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.coreframe-dashboard__navigation-link:hover,
|
|
212
|
-
.coreframe-dashboard__navigation-link[aria-current="page"] {
|
|
213
|
-
background: #eef0ff;
|
|
214
|
-
color: #3730a3;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.coreframe-dashboard__navigation-dot {
|
|
218
|
-
width: 0.5rem;
|
|
219
|
-
height: 0.5rem;
|
|
220
|
-
flex: 0 0 auto;
|
|
221
|
-
border-radius: 999px;
|
|
222
|
-
background: currentColor;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.coreframe-dashboard[data-collapsed="true"] .coreframe-dashboard__navigation-text,
|
|
226
|
-
.coreframe-dashboard[data-collapsed="true"] .coreframe-dashboard__navigation-empty {
|
|
227
|
-
position: absolute;
|
|
228
|
-
width: 1px;
|
|
229
|
-
height: 1px;
|
|
230
|
-
margin: -1px;
|
|
231
|
-
clip-path: inset(50%);
|
|
232
|
-
overflow: hidden;
|
|
233
|
-
white-space: nowrap;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.coreframe-dashboard__navigation-empty {
|
|
237
|
-
color: var(--dashboard-muted);
|
|
238
|
-
font-size: 0.875rem;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.coreframe-dashboard__toggle {
|
|
242
|
-
position: fixed;
|
|
243
|
-
z-index: 30;
|
|
244
|
-
top: 1rem;
|
|
245
|
-
left: 12rem;
|
|
246
|
-
display: grid;
|
|
247
|
-
width: 2rem;
|
|
248
|
-
height: 2rem;
|
|
249
|
-
place-items: center;
|
|
250
|
-
border: 1px solid var(--dashboard-border);
|
|
251
|
-
border-radius: 0.5rem;
|
|
252
|
-
background: var(--dashboard-surface);
|
|
253
|
-
color: var(--dashboard-foreground);
|
|
254
|
-
transition: left 160ms ease;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.coreframe-dashboard[data-collapsed="true"] .coreframe-dashboard__toggle {
|
|
258
|
-
left: 3.25rem;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.coreframe-dashboard__main {
|
|
262
|
-
position: relative;
|
|
263
|
-
width: min(100%, 80rem);
|
|
264
|
-
padding: 4rem clamp(1.25rem, 4vw, 4rem);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.coreframe-dashboard__page-header {
|
|
268
|
-
margin-bottom: 2rem;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.coreframe-dashboard__page-header h1,
|
|
272
|
-
.coreframe-dashboard__state h1 {
|
|
273
|
-
margin: 0;
|
|
274
|
-
font-size: clamp(1.75rem, 4vw, 2.5rem);
|
|
275
|
-
line-height: 1.1;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.coreframe-dashboard__page-header > p:last-child,
|
|
279
|
-
.coreframe-dashboard__state > p:last-of-type {
|
|
280
|
-
max-width: 44rem;
|
|
281
|
-
margin: 0.65rem 0 0;
|
|
282
|
-
color: var(--dashboard-muted);
|
|
283
|
-
line-height: 1.6;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.coreframe-dashboard__eyebrow {
|
|
287
|
-
margin: 0 0 0.35rem;
|
|
288
|
-
color: var(--dashboard-muted);
|
|
289
|
-
font-size: 0.6875rem;
|
|
290
|
-
font-weight: 700;
|
|
291
|
-
letter-spacing: 0.08em;
|
|
292
|
-
text-transform: uppercase;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.coreframe-dashboard__pending {
|
|
296
|
-
position: absolute;
|
|
297
|
-
top: 1rem;
|
|
298
|
-
right: 1rem;
|
|
299
|
-
color: var(--dashboard-muted);
|
|
300
|
-
font-size: 0.8125rem;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.coreframe-dashboard__state {
|
|
304
|
-
display: flex;
|
|
305
|
-
width: min(44rem, calc(100vw - 2.5rem));
|
|
306
|
-
min-height: 70svh;
|
|
307
|
-
flex-direction: column;
|
|
308
|
-
align-items: flex-start;
|
|
309
|
-
justify-content: center;
|
|
310
|
-
margin: 0 auto;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.coreframe-dashboard__button {
|
|
314
|
-
margin-top: 1rem;
|
|
315
|
-
border-radius: 0.375rem;
|
|
316
|
-
background: var(--dashboard-accent);
|
|
317
|
-
color: white;
|
|
318
|
-
padding: 0.5rem 0.75rem;
|
|
319
|
-
font-weight: 600;
|
|
320
|
-
text-decoration: none;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.coreframe-dashboard__toggle:focus-visible,
|
|
324
|
-
.coreframe-dashboard__backdrop:focus-visible,
|
|
325
|
-
.coreframe-dashboard__navigation:focus-visible,
|
|
326
|
-
.coreframe-dashboard__navigation-link:focus-visible,
|
|
327
|
-
.coreframe-dashboard__button:focus-visible {
|
|
328
|
-
outline: 3px solid #818cf8;
|
|
329
|
-
outline-offset: 2px;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.coreframe-dashboard__backdrop {
|
|
333
|
-
display: none;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
@media (max-width: 47.999rem) {
|
|
337
|
-
.coreframe-dashboard,
|
|
338
|
-
.coreframe-dashboard[data-collapsed="true"] {
|
|
339
|
-
display: block;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.coreframe-dashboard__sidebar {
|
|
343
|
-
position: fixed;
|
|
344
|
-
inset: 0 auto 0 0;
|
|
345
|
-
width: min(18rem, calc(100vw - 3rem));
|
|
346
|
-
transform: translateX(-100%);
|
|
347
|
-
transition: transform 160ms ease;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.coreframe-dashboard[data-drawer-open="true"] .coreframe-dashboard__sidebar {
|
|
351
|
-
transform: translateX(0);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.coreframe-dashboard__toggle,
|
|
355
|
-
.coreframe-dashboard[data-collapsed="true"] .coreframe-dashboard__toggle {
|
|
356
|
-
top: 1rem;
|
|
357
|
-
left: 1rem;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.coreframe-dashboard__backdrop {
|
|
361
|
-
position: fixed;
|
|
362
|
-
z-index: 10;
|
|
363
|
-
inset: 0;
|
|
364
|
-
display: block;
|
|
365
|
-
border: 0;
|
|
366
|
-
background: rgb(24 28 34 / 42%);
|
|
367
|
-
opacity: 0;
|
|
368
|
-
pointer-events: none;
|
|
369
|
-
transition: opacity 160ms ease;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.coreframe-dashboard[data-drawer-open="true"] .coreframe-dashboard__backdrop {
|
|
373
|
-
opacity: 1;
|
|
374
|
-
pointer-events: auto;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.coreframe-dashboard__main {
|
|
378
|
-
padding-top: 5rem;
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
@media (prefers-reduced-motion: reduce) {
|
|
383
|
-
.coreframe-dashboard,
|
|
384
|
-
.coreframe-dashboard *,
|
|
385
|
-
.coreframe-dashboard *::before,
|
|
386
|
-
.coreframe-dashboard *::after {
|
|
387
|
-
scroll-behavior: auto !important;
|
|
388
|
-
transition-duration: 0.01ms !important;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{css as e}from"./web/styled-system/css/css.js";import{cx as t}from"./web/styled-system/css/cx.js";export{e as css,t as cx};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./dashboard.style.js";import{FindingSection as t,LinksSection as n}from"./findings.js";import{WorkerEnvironment as r}from"./worker-environment.js";import{useState as i}from"react";import{jsx as a,jsxs as o}from"react/jsx-runtime";const s={ready:`No outstanding findings`,needs_setup:`Launch decisions needed`,broken_locally:`Diagnostics blocked`,not_deploy_ready:`Launch work remaining`,unknown:`Readiness incomplete`};function c({payload:c,onRefresh:p}){let[m,h]=i(),[g,_]=i(),v=c.diagnostics,y=v.snapshot.facts.package?.name??`Unnamed project`,b=d(v);async function x(e,t){try{if(!navigator.clipboard)throw Error(`Clipboard access is unavailable`);await navigator.clipboard.writeText(t),h(e),_(void 0)}catch{_(e)}}return o(`main`,{className:e.page,children:[o(`header`,{className:e.topbar,children:[o(`div`,{className:e.brand,children:[a(`span`,{className:e.brandMark,"aria-hidden":`true`,children:`C`}),o(`div`,{children:[a(`p`,{className:e.eyebrow,children:`Coreframe Dashboard`}),a(`h1`,{className:e.title,children:y})]})]}),o(`div`,{className:e.topbarActions,children:[a(`span`,{className:u(v.dashboard.headline.status),children:s[v.dashboard.headline.status]}),a(`button`,{className:e.button,onClick:p,children:`Refresh`})]})]}),o(`section`,{className:e.summary,"aria-labelledby":`summary-title`,children:[o(`div`,{children:[a(`p`,{className:e.eyebrow,children:`Production readiness`}),a(`h2`,{className:e.summaryTitle,id:`summary-title`,children:v.dashboard.headline.message}),o(`p`,{className:e.muted,children:[`Diagnostics updated `,f(v.snapshot.collectedAt),`.`]})]}),o(`dl`,{className:e.summaryFacts,children:[a(l,{label:`First-release scope`,value:b.scope}),a(l,{label:`Product identity`,value:b.identity}),a(l,{label:`Legal and privacy`,value:b.legal})]})]}),o(`div`,{className:e.grid,children:[a(r,{status:c.workerEnvironment}),a(t,{title:`Path to production`,description:`Decisions and human-owned work that remain before the first production release.`,findings:v.dashboard.launchItems,emptyTitle:`No outstanding launch items`,emptyMessage:`Diagnostics found no unresolved production-readiness work.`,copiedAction:m,copyError:g,onCopy:x}),v.dashboard.problems.length?a(t,{title:`Problems`,description:`Local or runtime problems that need investigation.`,findings:v.dashboard.problems,emptyTitle:`No problems`,emptyMessage:`No problems were returned.`,copiedAction:m,copyError:g,onCopy:x}):null,v.dashboard.links.length?a(n,{links:v.dashboard.links}):null]})]})}function l({label:t,value:n}){return o(`div`,{className:e.summaryFact,children:[a(`dt`,{children:t}),a(`dd`,{children:n})]})}function u(t){return t===`ready`?`${e.status} ${e.success}`:t===`broken_locally`?`${e.status} ${e.danger}`:t===`unknown`?`${e.status} ${e.neutral}`:`${e.status} ${e.warning}`}function d(e){let t=e.snapshot.facts.launchReadiness;if(!t)return{scope:`Unknown`,identity:`Unknown`,legal:`Unknown`};let n=t.defaultIdentity.length+ +(e.snapshot.facts.package?.name===`coreframe`),r=t.defaultLegalDocuments.length+ +!t.privacyReviewRecorded;return{scope:t.productionChecklistExists?`Recorded`:`Undecided`,identity:n===0?`Personalized`:n===1?`1 default remains`:`${n} defaults remain`,legal:r===0?`Reviewed`:`${r} item${r===1?``:`s`} pending`}}function f(e){let t=new Date(e);return Number.isNaN(t.valueOf())?`just now`:new Intl.DateTimeFormat(void 0,{dateStyle:`medium`,timeStyle:`short`}).format(t)}export{c as DashboardPage};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./dashboard.style.js";import{EmptyState as t}from"../ui/index.js";import{jsx as n,jsxs as r}from"react/jsx-runtime";function i({title:t,description:i}){return r(`header`,{className:e.sectionHeader,children:[n(`h2`,{id:`${t}-title`,children:t}),n(`p`,{children:i})]})}function a({title:r,message:i}){return n(t,{className:e.empty,title:r,message:i})}export{a as EmptyState,i as SectionHeader};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{css as e}from"../styled-system/css/css.js";import"../../styled-css.js";var t={page:e({width:`min(76rem, calc(100vw - 2rem))`,margin:`0 auto`,padding:{base:`1.25rem 0 3rem`,md:`2rem 0 4rem`}}),topbar:e({display:`flex`,alignItems:{base:`flex-start`,md:`center`},justifyContent:`space-between`,flexDirection:{base:`column`,md:`row`},gap:`1.25rem`,padding:`0 0.25rem 1.5rem`}),brand:e({display:`flex`,alignItems:`center`,gap:`0.875rem`}),brandMark:e({display:`grid`,width:`2.625rem`,height:`2.625rem`,placeItems:`center`,borderRadius:`0.75rem`,background:`gray.900`,color:`white`,fontSize:`1rem`,fontWeight:`750`,boxShadow:`0 5px 14px rgb(32 33 38 / 0.16)`}),topbarActions:e({display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:`0.625rem`}),eyebrow:e({margin:`0 0 0.2rem`,color:`gray.600`,fontSize:`0.65rem`,fontWeight:`700`,letterSpacing:`0.1em`,textTransform:`uppercase`}),title:e({margin:`0`,fontSize:`clamp(1.5rem, 4vw, 1.875rem)`,fontWeight:`700`,letterSpacing:`-0.035em`,lineHeight:`1.05`}),button:e({border:`1px solid token(colors.gray.300)`,borderRadius:`0.625rem`,background:`white`,color:`gray.900`,padding:`0.5625rem 0.75rem`,fontWeight:`600`,boxShadow:`0 1px 2px rgb(32 33 38 / 0.05)`,transition:`border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`,"&:hover":{borderColor:`gray.500`,boxShadow:`0 3px 8px rgb(32 33 38 / 0.08)`,transform:`translateY(-1px)`},"&:focus-visible":{outline:`3px solid rgb(91 91 214 / 0.22)`,outlineOffset:`2px`},"&:disabled":{opacity:`0.55`}}),primaryButton:e({border:`1px solid token(colors.indigo.600)`,borderRadius:`0.625rem`,background:`indigo.600`,color:`white`,padding:`0.5625rem 0.75rem`,fontWeight:`600`,boxShadow:`0 4px 10px rgb(91 91 214 / 0.2)`,transition:`filter 150ms ease, transform 150ms ease`,"&:hover:not(:disabled)":{filter:`brightness(0.94)`,transform:`translateY(-1px)`},"&:focus-visible":{outline:`3px solid rgb(91 91 214 / 0.22)`,outlineOffset:`2px`},"&:disabled":{borderColor:`gray.300`,background:`gray.100`,color:`gray.500`,boxShadow:`none`,opacity:`1`}}),smallButton:e({border:`1px solid token(colors.gray.300)`,borderRadius:`0.5rem`,background:`white`,color:`gray.900`,padding:`0.4rem 0.625rem`,fontSize:`0.75rem`,fontWeight:`600`,transition:`border-color 150ms ease, background 150ms ease`,"&:hover":{borderColor:`indigo.600`,background:`gray.100`}}),status:e({display:`inline-flex`,alignItems:`center`,borderRadius:`999px`,gap:`0.4rem`,padding:`0.5rem 0.7rem`,fontSize:`0.75rem`,fontWeight:`650`,lineHeight:`1`,whiteSpace:`nowrap`,"&::before":{width:`0.4rem`,height:`0.4rem`,borderRadius:`50%`,background:`currentColor`,content:`''`}}),success:e({background:`green.50`,color:`green.700`}),warning:e({background:`yellow.50`,color:`yellow.700`}),danger:e({background:`red.50`,color:`red.700`}),neutral:e({background:`gray.100`,color:`gray.600`}),summary:e({position:`relative`,display:`grid`,gridTemplateColumns:{base:`1fr`,md:`minmax(0, 1.05fr) minmax(21rem, 0.95fr)`},alignItems:`center`,gap:{base:`1.5rem`,md:`2.5rem`},overflow:`hidden`,border:`1px solid token(colors.gray.200)`,borderRadius:`1rem`,background:`linear-gradient(135deg, #ffffff 20%, #f8f7ff 100%)`,padding:{base:`1.25rem`,md:`1.75rem 2rem`},boxShadow:`0 12px 35px rgb(32 33 38 / 0.055)`,"&::after":{position:`absolute`,top:`-5rem`,right:`-3rem`,width:`11rem`,height:`11rem`,borderRadius:`50%`,background:`rgb(91 91 214 / 0.06)`,content:`''`,pointerEvents:`none`}}),summaryTitle:e({margin:`0`,fontSize:`clamp(1.4rem, 3vw, 1.8rem)`,fontWeight:`680`,letterSpacing:`-0.025em`,lineHeight:`1.2`}),muted:e({maxWidth:`47.5rem`,margin:`0.5rem 0 0`,color:`gray.600`,fontSize:`0.875rem`,lineHeight:`1.55`}),summaryFacts:e({position:`relative`,zIndex:`1`,display:`grid`,gridTemplateColumns:{base:`1fr`,sm:`repeat(3, minmax(0, 1fr))`},gap:`0.625rem`,margin:`0`}),summaryFact:e({minWidth:`0`,border:`1px solid rgb(229 228 223 / 0.9)`,borderRadius:`0.75rem`,background:`rgb(255 255 255 / 0.8)`,padding:`0.875rem`,boxShadow:`0 2px 10px rgb(32 33 38 / 0.035)`,"& dt":{color:`gray.500`,fontSize:`0.625rem`,fontWeight:`700`,letterSpacing:`0.035em`,textTransform:`uppercase`},"& dd":{margin:`0.35rem 0 0`,fontSize:`0.925rem`,fontWeight:`650`,lineHeight:`1.3`}}),grid:e({display:`grid`,gridTemplateColumns:{base:`1fr`,md:`repeat(2, minmax(0, 1fr))`},gap:`1rem`,paddingTop:`1rem`}),section:e({minWidth:`0`,gridColumn:{base:`auto`,md:`1 / -1`},border:`1px solid token(colors.gray.200)`,borderRadius:`1rem`,background:`white`,padding:{base:`1.125rem`,md:`1.375rem 1.5rem`},boxShadow:`0 5px 18px rgb(32 33 38 / 0.035)`}),sectionHeader:e({marginBottom:`1rem`,"& h2":{margin:`0`,fontSize:`1.05rem`,fontWeight:`680`,letterSpacing:`-0.015em`},"& p":{margin:`0.3rem 0 0`,color:`gray.600`,fontSize:`0.8125rem`,lineHeight:`1.45`}}),environmentNotice:e({margin:`0.75rem 0`,borderRadius:`0.625rem`,background:`yellow.50`,color:`yellow.700`,padding:`0.625rem 0.75rem`,fontSize:`0.75rem`,lineHeight:`1.45`}),environmentTableFrame:e({overflowX:`auto`}),environmentTable:e({width:`100%`,borderCollapse:`collapse`,textAlign:`left`,"& th, & td":{borderTop:`1px solid token(colors.gray.200)`,padding:`0.75rem`,verticalAlign:`top`,fontSize:`0.75rem`},"& thead th":{borderTop:`0`,color:`gray.500`,fontSize:`0.65rem`,fontWeight:`700`,letterSpacing:`0.04em`,textTransform:`uppercase`},"& tbody th":{minWidth:`16rem`,fontWeight:`600`},"& code":{fontSize:`0.75rem`},"& tbody th span":{display:`block`,maxWidth:`28rem`,marginTop:`0.25rem`,color:`gray.600`,fontWeight:`400`,lineHeight:`1.4`}}),environmentState:e({display:`inline-flex`,borderRadius:`999px`,background:`gray.100`,color:`gray.600`,padding:`0.3125rem 0.5rem`,fontSize:`0.6875rem`,fontWeight:`650`,lineHeight:`1`,whiteSpace:`nowrap`}),environmentStateOk:e({background:`green.50`,color:`green.700`}),environmentStateMissing:e({background:`red.50`,color:`red.700`}),environmentStatePending:e({background:`yellow.50`,color:`yellow.800`}),list:e({listStyle:`none`,margin:`0`,padding:`0`}),empty:e({borderTop:`1px solid token(colors.gray.200)`,paddingTop:`0.875rem`,"& strong":{fontSize:`0.8125rem`},"& p":{margin:`0.25rem 0 0`,color:`gray.600`,fontSize:`0.8125rem`}}),error:e({margin:`0.75rem 0 0`,color:`red.700`,fontSize:`0.8125rem`}),findingRow:e({borderTop:`1px solid token(colors.gray.200)`,padding:`1.125rem 0`,"&:first-child":{borderTop:`0`,paddingTop:`0.125rem`},"&:last-child":{paddingBottom:`0.125rem`}}),findingTitle:e({display:`flex`,alignItems:`center`,flexWrap:`wrap`,gap:`0.5rem`,"& h3":{margin:`0`,fontSize:`0.9rem`,fontWeight:`650`}}),findingArea:e({color:`gray.500`,fontSize:`0.6875rem`,fontWeight:`700`,letterSpacing:`0.04em`,textTransform:`uppercase`,whiteSpace:`nowrap`}),findingStatus:e({display:`inline-flex`,marginLeft:`auto`,borderRadius:`999px`,padding:`0.3125rem 0.5rem`,fontSize:`0.75rem`,fontWeight:`650`,lineHeight:`1`,whiteSpace:`nowrap`}),dot:e({width:`0.4375rem`,height:`0.4375rem`,flex:`0 0 auto`,borderRadius:`50%`}),successDot:e({background:`green.700`}),warningDot:e({background:`yellow.700`}),dangerDot:e({background:`red.700`}),evidence:e({display:`flex`,flexWrap:`wrap`,gap:`0.375rem 1.125rem`,margin:`0.625rem 0 0 0.9375rem`,"& > div":{display:`flex`,alignItems:`baseline`,gap:`0.3125rem`},"& dt":{color:`gray.500`,fontSize:`0.6875rem`,fontWeight:`700`,textTransform:`uppercase`},"& dd":{margin:`0`,fontSize:`0.75rem`,fontWeight:`600`}}),actions:e({display:`grid`,gap:`0.5rem`,margin:`0.75rem 0 0 0.9375rem`,"& a":{width:`fit-content`,color:`indigo.600`,fontSize:`0.8125rem`,fontWeight:`600`}}),action:e({display:`flex`,alignItems:`center`,flexWrap:`wrap`,gap:`0.5rem`,"& > span:first-child":{fontSize:`0.8125rem`,fontWeight:`600`}}),linkRow:e({borderTop:`1px solid token(colors.gray.200)`,"&:first-child":{borderTop:`0`},"& a":{display:`flex`,alignItems:`center`,justifyContent:`space-between`,gap:`1rem`,padding:`0.6875rem 0`,color:`indigo.600`,fontWeight:`600`,textDecoration:`none`,"&:hover":{textDecoration:`underline`}}})};export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./dashboard.style.js";import{SectionHeader as t}from"./dashboard-section.js";import{jsx as n,jsxs as r}from"react/jsx-runtime";function i({payload:i,onRefresh:o}){let s=i.configuration.filter(e=>e.status===`missing`);return r(`main`,{className:e.page,children:[r(`header`,{className:e.topbar,children:[r(`div`,{className:e.brand,children:[n(`span`,{className:e.brandMark,"aria-hidden":`true`,children:`C`}),r(`div`,{children:[n(`p`,{className:e.eyebrow,children:`Coreframe Dashboard`}),n(`h1`,{className:e.title,children:i.release.applicationName})]})]}),r(`div`,{className:e.topbarActions,children:[n(`span`,{className:`${e.status} ${s.length?e.warning:e.success}`,children:s.length?`${s.length} missing`:`Configuration ready`}),n(`button`,{className:e.button,onClick:o,children:`Refresh`})]})]}),r(`section`,{className:e.summary,"aria-labelledby":`deployment-title`,children:[r(`div`,{children:[n(`p`,{className:e.eyebrow,children:`Deployed Worker`}),r(`h2`,{className:e.summaryTitle,id:`deployment-title`,children:[i.environment===`production`?`Production`:`Staging`,` deployment`]}),n(`p`,{className:e.muted,children:`Read-only release identity and required Worker configuration.`})]}),r(`dl`,{className:e.summaryFacts,children:[n(a,{label:`Application`,value:i.release.applicationVersion??`Unknown`}),n(a,{label:`Coreframe`,value:i.release.coreframeVersion??`Unknown`}),n(a,{label:`Release`,value:i.release.releaseName??i.release.cloudflareVersionTag??`Unknown`})]})]}),r(`div`,{className:e.grid,children:[r(`section`,{className:e.section,"aria-labelledby":`configuration-title`,children:[n(t,{title:`Worker configuration`,description:`Required values are checked by presence only. Secret and variable values are never returned.`}),n(`div`,{className:e.environmentTableFrame,children:r(`table`,{className:e.environmentTable,children:[n(`thead`,{children:r(`tr`,{children:[n(`th`,{scope:`col`,children:`Name`}),n(`th`,{scope:`col`,children:`Kind`}),n(`th`,{scope:`col`,children:`Status`})]})}),n(`tbody`,{children:i.configuration.map(t=>r(`tr`,{children:[r(`th`,{scope:`row`,children:[n(`code`,{children:t.name}),n(`span`,{children:t.description})]}),n(`td`,{children:t.kind}),n(`td`,{children:n(`span`,{className:`${e.environmentState} ${t.status===`configured`?e.environmentStateOk:e.environmentStateMissing}`,children:t.status===`configured`?`Configured`:`Missing`})})]},t.name))})]})})]}),i.links.length?r(`section`,{className:e.section,"aria-labelledby":`links-title`,children:[n(t,{title:`Helpful links`,description:`Configured deployment resources.`}),n(`ul`,{className:e.list,children:i.links.map(t=>n(`li`,{className:e.linkRow,children:r(`a`,{href:t.href,rel:`noreferrer`,target:`_blank`,children:[n(`span`,{children:t.label}),n(`span`,{"aria-hidden":`true`,children:`→`})]})},t.id))})]}):null]})]})}function a({label:t,value:i}){return r(`div`,{className:e.summaryFact,children:[n(`dt`,{children:t}),n(`dd`,{children:i})]})}export{i as DeployedDashboardPage};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./dashboard.style.js";import{EmptyState as t,SectionHeader as n}from"./dashboard-section.js";import{jsx as r,jsxs as i}from"react/jsx-runtime";function a({title:a,description:s,findings:c,emptyTitle:l,emptyMessage:u,copiedAction:d,copyError:f,onCopy:p}){return i(`section`,{className:e.section,"aria-labelledby":`${a}-title`,children:[r(n,{title:a,description:s}),c.length===0?r(t,{title:l,message:u}):r(`ul`,{className:e.list,children:c.map(e=>r(o,{finding:e,copiedAction:d,copyError:f,onCopy:p},e.id))})]})}function o({finding:t,copiedAction:n,copyError:a,onCopy:o}){return i(`li`,{className:e.findingRow,children:[i(`div`,{className:e.findingTitle,children:[r(`span`,{className:u(t.status),"aria-hidden":`true`}),r(`span`,{className:e.findingArea,children:p(t.area)}),r(`h3`,{children:t.title}),r(`span`,{className:d(t.status),children:f(t.status)})]}),r(`p`,{className:e.muted,children:t.summary}),r(s,{evidence:t.evidence}),r(c,{actions:t.actions,actionPrefix:t.id,copiedAction:n,copyError:a,onCopy:o})]})}function s({evidence:t}){return t?.length?r(`dl`,{className:e.evidence,children:t.map(e=>i(`div`,{children:[r(`dt`,{children:e.label}),r(`dd`,{children:String(e.value)})]},e.label))}):null}function c({actions:t,actionPrefix:n,copiedAction:a,copyError:o,onCopy:s}){return t.length?r(`div`,{className:e.actions,children:t.map((t,c)=>{let l=`${n}-${c}`;if(t.kind===`link`)return r(`a`,{href:t.href,rel:`noreferrer`,target:`_blank`,children:t.label},l);let u=t.kind===`agent_prompt`?t.prompt:t.command;return i(`div`,{className:e.action,children:[r(`span`,{children:t.label}),r(`button`,{className:e.smallButton,onClick:()=>void s(l,u),children:a===l?`Copied`:t.kind===`agent_prompt`?`Copy task for agent`:`Copy command`}),o===l?r(`span`,{className:e.error,children:`Copy unavailable`}):null]},l)})}):null}function l({links:t}){return i(`section`,{className:e.section,"aria-labelledby":`links-title`,children:[r(n,{title:`Helpful links`,description:`Configured tools for deeper project detail.`}),r(`ul`,{className:e.list,children:t.map(t=>r(`li`,{className:e.linkRow,children:i(`a`,{href:t.href,rel:`noreferrer`,target:`_blank`,children:[r(`span`,{children:t.label}),r(`span`,{"aria-hidden":`true`,children:`→`})]})},t.id))})]})}function u(t){return`${e.dot} ${t===`ok`?e.successDot:t===`blocked`?e.dangerDot:e.warningDot}`}function d(t){return`${e.findingStatus} ${t===`ok`?e.success:t===`blocked`?e.danger:t===`needs_action`?e.warning:e.neutral}`}function f(e){return{ok:`Complete`,needs_action:`Needs action`,blocked:`Blocked`,unknown:`Unknown`}[e]}function p(e){switch(e){case`launch`:return`Release scope`;case`product`:return`Product identity`;case`legal`:return`Legal and privacy`;case`local_dev`:return`Local development`;default:return`${e[0].toUpperCase()}${e.slice(1)}`}}export{a as FindingSection,l as LinksSection};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./dashboard.style.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";const r={configured:`Configured`,declared:`Declared`,generated:`Automatic`,missing:`Missing`,not_configured:`Not configured`,pending_addition:`Pending addition`,pending_replacement:`Pending replacement`,pending_update:`Pending update`,unknown:`Unknown`};function i({status:r}){if(r.entries.length===0)return null;let i=Object.values(r.providers).flatMap(e=>e.message?[e.message]:[]),o=Object.entries(r.undeclaredSecrets).flatMap(([e,t])=>t.map(t=>`${t} (${e})`));return n(`section`,{className:e.section,"aria-labelledby":`worker-environment-title`,children:[n(`header`,{className:e.sectionHeader,children:[t(`h2`,{id:`worker-environment-title`,children:`Worker environment`}),t(`p`,{children:`Local values are optional overrides of built-in defaults. Secret changes are queued until the next deploy; ordinary variables remain owned by project and deploy configuration.`})]}),i.map(n=>t(`p`,{className:e.environmentNotice,children:n},n)),t(`div`,{className:e.environmentTableFrame,children:n(`table`,{className:e.environmentTable,children:[t(`thead`,{children:n(`tr`,{children:[t(`th`,{scope:`col`,children:`Name`}),t(`th`,{scope:`col`,children:`Kind`}),t(`th`,{scope:`col`,children:`Local`}),t(`th`,{scope:`col`,children:`Staging`}),t(`th`,{scope:`col`,children:`Production`})]})}),t(`tbody`,{children:r.entries.map(e=>n(`tr`,{children:[n(`th`,{scope:`row`,children:[t(`code`,{children:e.name}),t(`span`,{children:e.description})]}),t(`td`,{children:e.kind}),t(`td`,{children:e.local===`override`?`Override`:`Built-in default`}),t(a,{state:e.deployed.staging}),t(a,{state:e.deployed.production})]},e.name))})]})}),o.length>0?n(`p`,{className:e.environmentNotice,children:[`Cloudflare also contains undeclared secrets: `,o.join(`, `),`.`]}):null]})}function a({state:e}){return t(`td`,{children:t(`span`,{className:o(e),children:r[e]})})}function o(t){return t===`configured`||t===`generated`?`${e.environmentState} ${e.environmentStateOk}`:t===`missing`?`${e.environmentState} ${e.environmentStateMissing}`:t.startsWith(`pending_`)?`${e.environmentState} ${e.environmentStatePending}`:e.environmentState}export{i as WorkerEnvironment};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{css as e}from"./styled-system/css/css.js";import"../styled-css.js";var t={statePage:e({display:`flex`,width:`min(70rem, calc(100vw - 2.5rem))`,minHeight:`100svh`,flexDirection:`column`,alignItems:`flex-start`,justifyContent:`center`,margin:`0 auto`}),eyebrow:e({margin:`0 0 0.3125rem`,color:`gray.600`,fontSize:`0.6875rem`,fontWeight:`700`,letterSpacing:`0.08em`,textTransform:`uppercase`}),message:e({color:`gray.600`}),button:e({marginTop:`1rem`,borderRadius:`0.375rem`,background:`indigo.600`,color:`white`,padding:`0.5rem 0.75rem`,fontWeight:`600`,textDecoration:`none`})};export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createCssRuntime as e,hypenateProperty as t,isObject as n,withoutSpace as r}from"../helpers.js";import{breakpointKeys as i,finalizeConditions as a,sortConditions as o}from"./conditions.js";const s=new Map,c=new Map;`WebkitTextFillColor:wktf-c,accentColor:ac-c,alignContent:ac,alignItems:ai,alignSelf:as,animation:anim,animationComposition:anim-comp,animationDelay:anim-dly,animationDirection:anim-dir,animationDuration:anim-dur,animationFillMode:anim-fm,animationIterationCount:anim-ic,animationName:anim-n,animationPlayState:anim-ps,animationRange:anim-r,animationRangeEnd:anim-re,animationRangeStart:anim-rs,animationState:anim-s,animationTimeline:anim-tl,animationTimingFunction:anim-tmf,appearance:ap,aspectRatio:asp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropFilter:bkdp,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,backfaceVisibility:bfv,background:bg/1,backgroundAttachment:bg-a/bgAttachment,backgroundBlendMode:bg-bm/bgBlendMode,backgroundClip:bg-cp/bgClip,backgroundColor:bg-c/bgColor,backgroundConic:bg-conic/bgConic,backgroundGradient:bg-grad/bgGradient,backgroundImage:bg-i/bgImage,backgroundLinear:bg-linear/bgLinear,backgroundOrigin:bg-o/bgOrigin,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundRadial:bg-radial/bgRadial,backgroundRepeat:bg-r/bgRepeat,backgroundSize:bg-s/bgSize,blockSize:h-bs,border:bd,borderBlock:bd-y/borderY,borderBlockColor:bd-y-c/borderYColor,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockEndWidth:bd-be-w,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,borderBlockStartWidth:bd-bs-w,borderBlockWidth:bd-y-w/borderYWidth,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderBottomRadius:bdr-b/roundedBottom,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomWidth:bd-b-w,borderCollapse:bd-cl,borderColor:bd-c,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,borderEndStartRadius:bdr-es/roundedEndStart,borderInline:bd-x/borderX,borderInlineColor:bd-x-c/borderXColor,borderInlineEnd:bd-e/borderEnd,borderInlineEndColor:bd-e-c/borderEndColor,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineStart:bd-s/borderStart,borderInlineStartColor:bd-s-c/borderStartColor,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineWidth:bd-x-w/borderXWidth,borderLeft:bd-l,borderLeftColor:bd-l-c,borderLeftRadius:bdr-l/roundedLeft,borderLeftWidth:bd-l-w,borderRadius:bdr/rounded,borderRight:bd-r,borderRightColor:bd-r-c,borderRightRadius:bdr-r/roundedRight,borderRightWidth:bd-r-w,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderStartStartRadius:bdr-ss/roundedStartStart,borderTop:bd-t,borderTopColor:bd-t-c,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRadius:bdr-t/roundedTop,borderTopRightRadius:bdr-tr/roundedTopRight,borderTopWidth:bd-t-w,borderWidth:bd-w,boxDecorationBreak:bx-db,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,boxSize:size,boxSizing:bx-s,caretColor:ca-c,clipPath:cp-path,color:c,columnGap:cg,container:cq,containerName:cq-n,containerType:cq-t,display:d,divideColor:dvd-c,divideStyle:dvd-s,divideX:dvd-x,divideY:dvd-y,flexBasis:flex-b,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,focusRingColor:focus-ring-c,focusRingOffset:focus-ring-o,focusRingStyle:focus-ring-s,focusRingWidth:focus-ring-w,focusVisibleRing:focus-v-ring,fontFamily:ff,fontFeatureSettings:ff-s,fontKerning:fk,fontPalette:fp,fontSize:fs,fontSizeAdjust:fs-a,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariantNumeric:fv-num,fontVariationSettings:fv-s,fontWeight:fw,gradientFrom:grad-from,gradientFromPosition:grad-from-pos,gradientTo:grad-to,gradientToPosition:grad-to-pos,gradientVia:grad-via,gradientViaPosition:grad-via-pos,gridAutoColumns:grid-ac,gridAutoFlow:grid-af,gridAutoRows:grid-ar,gridColumn:grid-c,gridColumnEnd:grid-ce,gridColumnGap:grid-cg,gridColumnStart:grid-cs,gridGap:grid-g,gridRow:grid-r,gridRowGap:grid-rg,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,height:h/1,hideBelow:show,hideFrom:hide,hyphens:hy,inlineSize:w-is,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInline:inset-x/insetX,insetInlineEnd:inset-e/end/insetEnd,insetInlineStart:inset-s/insetStart/start,justifyContent:jc,letterSpacing:ls,lineClamp:lc,lineHeight:lh,listStyle:li-s,listStyleImage:li-img,listStylePosition:li-pos,listStyleType:li-t,margin:m/1,marginBlock:my/marginY/1,marginBlockEnd:mbe,marginBlockStart:mbs,marginBottom:mb/1,marginInline:mx/marginX/1,marginInlineEnd:me/marginEnd/1,marginInlineStart:ms/marginStart/1,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,mask:msk,maskImage:msk-i,maskSize:msk-s,maxBlockSize:max-b,maxHeight:max-h/maxH,maxInlineSize:max-w-is,maxWidth:max-w/maxW,minBlockSize:min-h-bs,minHeight:min-h/minH,minInlineSize:min-w-is,minWidth:min-w/minW,mixBlendMode:mix-bm,objectFit:obj-f,objectPosition:obj-p,opacity:op,outline:ring/1,outlineColor:ring-c/ringColor,outlineOffset:ring-o/ringOffset,outlineWidth:ring-w/ringWidth,overflow:ov,overflowAnchor:ov-a,overflowBlock:ov-b,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overflowInline:ov-i,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overscrollBehavior:ovs-b,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,padding:p/1,paddingBlock:py/paddingY/1,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingBottom:pb/1,paddingInline:px/paddingX/1,paddingInlineEnd:pe/paddingEnd/1,paddingInlineStart:ps/paddingStart/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,position:pos/1,rowGap:rg,scrollBehavior:scr-bhv,scrollMargin:scr-m,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginBottom:scr-mb,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockEnd:scr-pbe,scrollPaddingBlockStart:scr-pbs,scrollPaddingBottom:scr-pb,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollSnapAlign:scr-sa,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapMargin:scrs-m,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapMarginTop:scrs-mt,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapStop:scrs-s,scrollSnapStrictness:scrs-strt,scrollSnapType:scrs-t,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,spaceX:sx,spaceY:sy,srOnly:sr,stroke:stk,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,strokeWidth:stk-w,tableLayout:tbl,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textEmphasisColor:te-c,textGradient:txt-grad,textIndent:ti,textOverflow:tov,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,textSizeAdjust:txt-adj,textStyle:textStyle,textTransform:tt,textUnderlineOffset:tu-o,textWrap:tw,touchAction:tch-a,transform:trf,transformBox:trf-b,transformOrigin:trf-o,transformStyle:trf-s,transition:trs,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transitionTimingFunction:trs-tmf,translateX:/x,translateY:/y,translateZ:/z,truncate:trunc,userSelect:us,verticalAlign:va,visibility:vis,width:w/1,wordBreak:wb,zIndex:z`.split(`,`).forEach(e=>{let[t,n]=e.split(`:`),[r,...i]=n.split(`/`);r&&s.set(t,r),i.forEach(e=>{let n=e===`1`?r:e;c.set(n,t)})});const l=e=>c.get(e)||e,{serializeCss:u,mergeCss:d,assignCss:f}=e({hash:!1,conditions:{shift:o,finalize:a,breakpoints:{keys:i}},utility:{prefix:null,hasShorthand:!0,toHash(e,t){return t(e.join(`:`))},transform(e,n){let i=l(e);return{className:`${s.get(i)||t(i)}_${r(n)}`}},resolveShorthand:l}}),p=Object.assign(function(...e){return e.length===1&&n(e[0])?u(e[0]):u(d(...e))},{raw:function(...e){return d(...e)}});export{p as css,d as mergeCss};
|