@nadicodeai/design-system 0.10.2 → 0.11.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 (51) hide show
  1. package/AGENTS.md +30 -101
  2. package/CONTEXT.md +75 -0
  3. package/DESIGN.md +180 -345
  4. package/README.md +27 -54
  5. package/dist/assets/logo-mark.svg +6 -0
  6. package/dist/assets/logo-wordmark.svg +4 -0
  7. package/dist/assets/nadia-canonical-face.png +0 -0
  8. package/dist/css/chat-autoplay.js +18 -27
  9. package/dist/css/index.css +2540 -56
  10. package/dist/favicon/apple-touch-icon.png +0 -0
  11. package/dist/favicon/favicon.ico +0 -0
  12. package/dist/favicon/favicon.svg +6 -16
  13. package/dist/favicon/icon-192.png +0 -0
  14. package/dist/favicon/icon-512.png +0 -0
  15. package/dist/favicon/site.webmanifest +2 -2
  16. package/dist/tailwind/nadicode.tailwind.json +98 -143
  17. package/dist/tokens/nadicode.dtcg.json +413 -908
  18. package/package.json +19 -11
  19. package/src/assets/logo-geometry.d.ts +27 -0
  20. package/src/assets/logo-geometry.js +204 -0
  21. package/src/assets/nadia-canonical-face.d.ts +2 -0
  22. package/dist/css/components/.gitkeep +0 -0
  23. package/dist/css/components/agent-avatar.css +0 -52
  24. package/dist/css/components/approval-gate.css +0 -145
  25. package/dist/css/components/artifact-preview.css +0 -81
  26. package/dist/css/components/chat-bubble-agent.css +0 -63
  27. package/dist/css/components/chat-bubble-user.css +0 -28
  28. package/dist/css/components/chat-thread.css +0 -159
  29. package/dist/css/components/handoff-banner.css +0 -37
  30. package/dist/css/components/image.css +0 -87
  31. package/dist/css/components/memory-item.css +0 -36
  32. package/dist/css/components/run-timeline.css +0 -160
  33. package/dist/css/components/state-row.css +0 -64
  34. package/dist/css/components/state-tag.css +0 -67
  35. package/dist/css/components/status-tag.css +0 -101
  36. package/dist/css/components/tool-call-trace.css +0 -36
  37. package/dist/css/components/typing-dots.css +0 -54
  38. package/dist/css/components/usage-meter.css +0 -63
  39. package/dist/css/foundation.css +0 -177
  40. package/dist/css/layout.css +0 -657
  41. package/dist/css/motion.css +0 -225
  42. package/dist/css/primitives.css +0 -333
  43. package/dist/css/reset.css +0 -22
  44. package/dist/css/tokens.generated.css +0 -349
  45. package/dist/css/tokens.local.css +0 -11
  46. package/dist/tailwind/nadicode.theme.css +0 -596
  47. package/src/assets/favicon.svg +0 -17
  48. package/src/assets/logo-mark.svg +0 -15
  49. package/src/assets/logo-wordmark.svg +0 -26
  50. package/src/assets/nadia.d.ts +0 -9
  51. package/src/assets/nadia.png +0 -0
@@ -1,349 +0,0 @@
1
- /* Generated by Style Dictionary (scripts/sd) from the @google/design.md DTCG + Tailwind exports. */
2
- /* A complete projection of the export — DESIGN.md is the single source. Do not edit directly. */
3
- /* Run npm run build. Responsive @media switching and composed/calc vars live in */
4
- /* layout.css / tokens.local.css and reference these emitted --nc-* tokens only. */
5
-
6
- :root {
7
- /* Colors */
8
- --nc-primary: #008c45;
9
- --nc-on-primary: #ffffff;
10
- --nc-action: #007a3c;
11
- --nc-action-foreground: #ffffff;
12
- --nc-action-hover: #00602f;
13
- --nc-action-active: #00301a;
14
- --nc-ink: #171717;
15
- --nc-body: #4d4d4d;
16
- --nc-muted: #888888;
17
- --nc-canvas: #ffffff;
18
- --nc-canvas-soft: #fafafa;
19
- --nc-canvas-soft-2: #f5f5f5;
20
- --nc-line: #e5e5e5;
21
- --nc-input: #8f8f8f;
22
- --nc-seam: #e4e7ec;
23
- --nc-cross: #a1a1a1;
24
- --nc-focus-ring: #007a3c;
25
- --nc-scrim: #171717;
26
- --nc-link: #007a3c;
27
- --nc-link-deep: #00602f;
28
- --nc-link-bg-soft: #d9f6e4;
29
- --nc-accent: #cd212a;
30
- --nc-info: #2743d8;
31
- --nc-success: #008c45;
32
- --nc-error: #b80022;
33
- --nc-error-soft: #fce4e4;
34
- --nc-error-deep: #9c001d;
35
- --nc-warning: #f5a623;
36
- --nc-warning-soft: #fff1cf;
37
- --nc-warning-deep: #8f4a06;
38
- --nc-flag-red: #cd212a;
39
- --nc-selection-bg: #171717;
40
- --nc-selection-fg: #f2f2f2;
41
- --nc-state-ready: #4d4d4d;
42
- --nc-state-running: #2743d8;
43
- --nc-state-review: #f5a623;
44
- --nc-state-blocked: #b80022;
45
- --nc-state-complete: #008c45;
46
- --nc-background-100: #ffffff;
47
- --nc-background-200: #fafafa;
48
- --nc-gray-100: #f2f2f2;
49
- --nc-gray-200: #ebebeb;
50
- --nc-gray-300: #e6e6e6;
51
- --nc-gray-400: #eaeaea;
52
- --nc-gray-500: #c9c9c9;
53
- --nc-gray-600: #a8a8a8;
54
- --nc-gray-700: #8f8f8f;
55
- --nc-gray-800: #7d7d7d;
56
- --nc-gray-900: #4d4d4d;
57
- --nc-gray-1000: #171717;
58
- --nc-green-italia-100: #e8faef;
59
- --nc-green-italia-200: #d9f6e4;
60
- --nc-green-italia-300: #c3f0d4;
61
- --nc-green-italia-400: #9fe6bc;
62
- --nc-green-italia-500: #62d494;
63
- --nc-green-italia-600: #17b568;
64
- --nc-green-italia-700: #008c45;
65
- --nc-green-italia-800: #007a3c;
66
- --nc-green-italia-900: #00602f;
67
- --nc-green-italia-1000: #00301a;
68
- --nc-red-italia-100: #fdeeee;
69
- --nc-red-italia-200: #fce4e4;
70
- --nc-red-italia-300: #fad3d4;
71
- --nc-red-italia-400: #f7b3b5;
72
- --nc-red-italia-500: #f28085;
73
- --nc-red-italia-600: #e84e57;
74
- --nc-red-italia-700: #cd212a;
75
- --nc-red-italia-800: #b80022;
76
- --nc-red-italia-900: #9c001d;
77
- --nc-red-italia-1000: #4a000e;
78
- --nc-blue-cobalto-100: #eef2ff;
79
- --nc-blue-cobalto-200: #e2e9fe;
80
- --nc-blue-cobalto-300: #cdd9fd;
81
- --nc-blue-cobalto-400: #a9befa;
82
- --nc-blue-cobalto-500: #7d99f2;
83
- --nc-blue-cobalto-600: #4f6ae6;
84
- --nc-blue-cobalto-700: #2743d8;
85
- --nc-blue-cobalto-800: #1d33ad;
86
- --nc-blue-cobalto-900: #16277f;
87
- --nc-blue-cobalto-1000: #0a1240;
88
- --nc-amber-100: #fff6e1;
89
- --nc-amber-200: #fff1cf;
90
- --nc-amber-300: #ffe9b3;
91
- --nc-amber-400: #ffd97d;
92
- --nc-amber-500: #ffc933;
93
- --nc-amber-600: #f5a623;
94
- --nc-amber-700: #d98800;
95
- --nc-amber-800: #b36b00;
96
- --nc-amber-900: #8f4a06;
97
- --nc-amber-1000: #452301;
98
- --nc-campo-verde: #008c45;
99
- --nc-campo-rosso: #cd212a;
100
- --nc-campo-arancio: #e4530b;
101
- --nc-campo-giallo: #f2b705;
102
- --nc-campo-cobalto: #2743d8;
103
- --nc-campo-inchiostro: #171717;
104
- --nc-campo-bianco: #ffffff;
105
- --nc-chart-1: #2743d8;
106
- --nc-chart-2: #008c45;
107
- --nc-chart-3: #f5a623;
108
- --nc-chart-4: #cd212a;
109
- --nc-chart-5: #00838f;
110
- --nc-chart-6: #6f42c1;
111
- --nc-chart-seq-1: #7d99f2;
112
- --nc-chart-seq-2: #4f6ae6;
113
- --nc-chart-seq-3: #2743d8;
114
- --nc-chart-seq-4: #1d33ad;
115
- --nc-chart-seq-5: #16277f;
116
- --nc-chart-div-warm: #d98800;
117
- --nc-chart-div-mid: #8f8f8f;
118
- --nc-chart-div-cool: #7d99f2;
119
- --nc-dark-canvas: #0a0a0a;
120
- --nc-dark-canvas-soft: #171717;
121
- --nc-dark-canvas-soft-2: #262626;
122
- --nc-dark-ink: #f5f5f5;
123
- --nc-dark-body: #d4d4d4;
124
- --nc-dark-muted: #a3a3a3;
125
- --nc-dark-line: #2e2e2e;
126
- --nc-dark-input: #5d5d5d;
127
- --nc-dark-seam: #1f1f1f;
128
- --nc-dark-primary: #ededed;
129
- --nc-dark-on-primary: #0a0a0a;
130
- --nc-dark-action: #ededed;
131
- --nc-dark-action-foreground: #0a0a0a;
132
- --nc-dark-action-hover: #d4d4d4;
133
- --nc-dark-action-active: #a3a3a3;
134
- --nc-dark-link: #9fe6bc;
135
- --nc-dark-link-deep: #c3f0d4;
136
- --nc-dark-link-bg-soft: #00301a;
137
- --nc-dark-focus-ring: #9fe6bc;
138
- --nc-dark-scrim: #f5f5f5;
139
- --nc-dark-error: #f7b3b5;
140
- --nc-dark-error-soft: #4a000e;
141
- --nc-dark-error-deep: #fad3d4;
142
- --nc-dark-warning: #ffd97d;
143
- --nc-dark-warning-soft: #452301;
144
- --nc-dark-warning-deep: #ffe9b3;
145
- --nc-dark-cyan: #33d1cb;
146
- --nc-dark-cyan-soft: #7ee8de;
147
- --nc-dark-cyan-deep: #1f9e9a;
148
- --nc-dark-success: #62d494;
149
- --nc-dark-state-ready: #8f8f8f;
150
- --nc-dark-state-running: #4f6ae6;
151
- --nc-dark-state-review: #f5a623;
152
- --nc-dark-state-blocked: #cd212a;
153
- --nc-dark-state-complete: #008c45;
154
- --nc-dark-selection-bg: #ededed;
155
- --nc-dark-selection-fg: #0a0a0a;
156
- --nc-dark-cross: #6e6e6e;
157
- --nc-dark-chart-1: #7d99f2;
158
- --nc-dark-chart-2: #17b568;
159
- --nc-dark-chart-3: #ffd97d;
160
- --nc-dark-chart-4: #f28085;
161
- --nc-dark-chart-5: #33d1cb;
162
- --nc-dark-chart-6: #9575cd;
163
- --nc-dark-chart-seq-1: #4f6ae6;
164
- --nc-dark-chart-seq-2: #7d99f2;
165
- --nc-dark-chart-seq-3: #a9befa;
166
- --nc-dark-chart-seq-4: #cdd9fd;
167
- --nc-dark-chart-seq-5: #eef2ff;
168
- --nc-dark-chart-div-warm: #ffd97d;
169
- --nc-dark-chart-div-mid: #e6e6e6;
170
- --nc-dark-chart-div-cool: #cdd9fd;
171
-
172
- /* Spacing */
173
- --nc-xxs: 4px;
174
- --nc-filter-chip-gap: 6px;
175
- --nc-xs: 8px;
176
- --nc-sm: 12px;
177
- --nc-md: 16px;
178
- --nc-lg: 24px;
179
- --nc-xl: 32px;
180
- --nc-2xl: 40px;
181
- --nc-3xl: 48px;
182
- --nc-4xl: 64px;
183
- --nc-5xl: 96px;
184
- --nc-6xl: 128px;
185
- --nc-section: 192px;
186
- --nc-guide: 1px;
187
- --nc-focus-ring-width: 3px;
188
- --nc-control-height: 32px;
189
- --nc-control-padding-inline: 10px;
190
- --nc-touch-target: 44px;
191
- --nc-page-pad: 24px;
192
- --nc-page-max-mobile: 448px;
193
- --nc-page-max-tablet: 624px;
194
- --nc-page-max-desktop: 1440px;
195
- --nc-frame-max: 1392px;
196
- --nc-frame-gap: 24px;
197
- --nc-cell-padding: 24px;
198
- --nc-section-gap: 48px;
199
- --nc-cross-size-mobile: 11px;
200
- --nc-cross-size-tablet: 15px;
201
- --nc-cross-size-desktop: 21px;
202
- --nc-h-strip-mobile: 72px;
203
- --nc-h-strip-tablet: 80px;
204
- --nc-h-strip-desktop: 88px;
205
- --nc-h-cell-sm: 120px;
206
- --nc-h-cell-md-mobile: 144px;
207
- --nc-h-cell-md-tablet: 160px;
208
- --nc-h-cell-md-desktop: 168px;
209
- --nc-h-cell-lg-mobile: 220px;
210
- --nc-h-cell-lg-desktop: 240px;
211
- --nc-h-visual-mobile: 276px;
212
- --nc-h-visual-tablet: 318px;
213
- --nc-h-visual-desktop: 360px;
214
- --nc-h-precision-mobile: 276px;
215
- --nc-h-precision-tablet: 480px;
216
- --nc-h-precision-desktop: 720px;
217
- --nc-h-hero-mobile: 560px;
218
- --nc-h-hero-desktop: 720px;
219
- --nc-h-action-strip-mobile: 20px;
220
- --nc-h-action-strip-desktop: 32px;
221
- --nc-h-action-body-mobile: 320px;
222
- --nc-h-action-body-tablet: 338px;
223
- --nc-h-action-band: 260px;
224
- --nc-h-feature-mobile: 360px;
225
- --nc-h-feature-tablet: 400px;
226
- --nc-h-feature-desktop: 456px;
227
- --nc-h-editorial-feature-mobile: 360px;
228
- --nc-h-editorial-feature-tablet: 440px;
229
- --nc-h-editorial-feature-desktop: 560px;
230
- --nc-h-bento-primary: 384px;
231
- --nc-h-bento-secondary: 240px;
232
- --nc-h-bento-mobile-copy: 248px;
233
- --nc-h-bento-mobile-main: 537px;
234
- --nc-h-bento-strip: 20px;
235
- --nc-filter-chip-height: 28px;
236
- --nc-filter-chip-icon: 14px;
237
-
238
- /* Radii */
239
- --nc-rounded-none: 0px;
240
- --nc-rounded-xs: 2px;
241
- --nc-rounded-sm: 4px;
242
- --nc-rounded-md: 6px;
243
- --nc-rounded-lg: 8px;
244
- --nc-rounded-xl: 10px;
245
- --nc-rounded-2xl: 12px;
246
- --nc-rounded-3xl: 16px;
247
- --nc-rounded-pill-sm: 64px;
248
- --nc-rounded-pill: 100px;
249
- --nc-rounded-full: 9999px;
250
-
251
- /* Typography (per-property; consumed by .nc-type-* classes in foundation.css) */
252
- --nc-type-display-xl-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
253
- --nc-type-display-xl-font-size: 72px;
254
- --nc-type-display-xl-font-weight: 600;
255
- --nc-type-display-xl-line-height: 74px;
256
- --nc-type-display-xl-letter-spacing: -1.5px;
257
- --nc-type-display-lg-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
258
- --nc-type-display-lg-font-size: 52px;
259
- --nc-type-display-lg-font-weight: 600;
260
- --nc-type-display-lg-line-height: 54px;
261
- --nc-type-display-lg-letter-spacing: -1px;
262
- --nc-type-display-md-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
263
- --nc-type-display-md-font-size: 24px;
264
- --nc-type-display-md-font-weight: 600;
265
- --nc-type-display-md-line-height: 32px;
266
- --nc-type-display-md-letter-spacing: 0px;
267
- --nc-type-display-sm-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
268
- --nc-type-display-sm-font-size: 20px;
269
- --nc-type-display-sm-font-weight: 600;
270
- --nc-type-display-sm-line-height: 28px;
271
- --nc-type-display-sm-letter-spacing: 0px;
272
- --nc-type-title-lg-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
273
- --nc-type-title-lg-font-size: 40px;
274
- --nc-type-title-lg-font-weight: 600;
275
- --nc-type-title-lg-line-height: 41px;
276
- --nc-type-title-lg-letter-spacing: 0px;
277
- --nc-type-title-md-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
278
- --nc-type-title-md-font-size: 30px;
279
- --nc-type-title-md-font-weight: 600;
280
- --nc-type-title-md-line-height: 32px;
281
- --nc-type-title-md-letter-spacing: 0px;
282
- --nc-type-title-sm-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
283
- --nc-type-title-sm-font-size: 22px;
284
- --nc-type-title-sm-font-weight: 600;
285
- --nc-type-title-sm-line-height: 25px;
286
- --nc-type-title-sm-letter-spacing: 0px;
287
- --nc-type-body-lg-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
288
- --nc-type-body-lg-font-size: 18px;
289
- --nc-type-body-lg-font-weight: 400;
290
- --nc-type-body-lg-line-height: 27px;
291
- --nc-type-body-lg-letter-spacing: 0px;
292
- --nc-type-body-md-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
293
- --nc-type-body-md-font-size: 16px;
294
- --nc-type-body-md-font-weight: 400;
295
- --nc-type-body-md-line-height: 25px;
296
- --nc-type-body-md-letter-spacing: 0px;
297
- --nc-type-body-md-strong-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
298
- --nc-type-body-md-strong-font-size: 16px;
299
- --nc-type-body-md-strong-font-weight: 500;
300
- --nc-type-body-md-strong-line-height: 24px;
301
- --nc-type-body-md-strong-letter-spacing: 0px;
302
- --nc-type-body-sm-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
303
- --nc-type-body-sm-font-size: 14px;
304
- --nc-type-body-sm-font-weight: 400;
305
- --nc-type-body-sm-line-height: 20px;
306
- --nc-type-body-sm-letter-spacing: 0px;
307
- --nc-type-body-sm-strong-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
308
- --nc-type-body-sm-strong-font-size: 14px;
309
- --nc-type-body-sm-strong-font-weight: 500;
310
- --nc-type-body-sm-strong-line-height: 20px;
311
- --nc-type-body-sm-strong-letter-spacing: 0px;
312
- --nc-type-caption-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
313
- --nc-type-caption-font-size: 12px;
314
- --nc-type-caption-font-weight: 400;
315
- --nc-type-caption-line-height: 16px;
316
- --nc-type-caption-letter-spacing: 0px;
317
- --nc-type-caption-strong-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
318
- --nc-type-caption-strong-font-size: 12px;
319
- --nc-type-caption-strong-font-weight: 500;
320
- --nc-type-caption-strong-line-height: 16px;
321
- --nc-type-caption-strong-letter-spacing: 0px;
322
- --nc-type-caption-mono-font-family: Geist Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
323
- --nc-type-caption-mono-font-size: 12px;
324
- --nc-type-caption-mono-font-weight: 500;
325
- --nc-type-caption-mono-line-height: 16px;
326
- --nc-type-caption-mono-letter-spacing: 0px;
327
- --nc-type-code-font-family: Geist Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
328
- --nc-type-code-font-size: 13px;
329
- --nc-type-code-font-weight: 400;
330
- --nc-type-code-line-height: 20px;
331
- --nc-type-code-letter-spacing: 0px;
332
- --nc-type-button-md-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
333
- --nc-type-button-md-font-size: 14px;
334
- --nc-type-button-md-font-weight: 500;
335
- --nc-type-button-md-line-height: 18px;
336
- --nc-type-button-md-letter-spacing: 0px;
337
- --nc-type-button-lg-font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
338
- --nc-type-button-lg-font-size: 16px;
339
- --nc-type-button-lg-font-weight: 500;
340
- --nc-type-button-lg-line-height: 24px;
341
- --nc-type-button-lg-letter-spacing: 0px;
342
-
343
- /* Material opacity and shadows (strictly parsed from DESIGN.md prose) */
344
- --nc-material-scrim-opacity: 10%;
345
- --nc-material-shadow-tooltip: 0 1px 1px rgb(0 0 0 / 2%), 0 4px 8px rgb(0 0 0 / 4%);
346
- --nc-material-shadow-menu: 0 1px 1px rgb(0 0 0 / 2%), 0 4px 8px -4px rgb(0 0 0 / 4%), 0 16px 24px -8px rgb(0 0 0 / 6%);
347
- --nc-material-shadow-dialog: 0 1px 1px rgb(0 0 0 / 2%), 0 8px 16px -4px rgb(0 0 0 / 4%), 0 24px 32px -8px rgb(0 0 0 / 6%);
348
- --nc-material-shadow-sheet: 0 2px 2px rgb(0 0 0 / 4%), 0 8px 16px -4px rgb(0 0 0 / 4%);
349
- }
@@ -1,11 +0,0 @@
1
- /*
2
- * Hand-authored bundle-local tokens — NOT generated, NOT in DESIGN.md.
3
- * The only exception that cannot be a flat contract value: the runtime grid
4
- * counters, set per-recipe at the markup level.
5
- * Everything else in the tokens layer comes from tokens.generated.css.
6
- */
7
- :root {
8
- /* Runtime grid counters — overwritten per-recipe via inline style. */
9
- --nc-guide-columns: 1;
10
- --nc-guide-rows: 1;
11
- }