eidotter 0.46.1 → 0.47.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 +8 -5
- package/dist/components/Brand/components/Wordmark.d.ts +2 -1
- package/dist/components/Brand/components/Wordmark.js +3 -2
- package/dist/components/CalendarHeatmap/components/CalendarHeatmap.d.ts +2 -2
- package/dist/components/CalendarHeatmap/components/CalendarHeatmap.js +2 -2
- package/dist/components/ChecklistRow/components/ChecklistRow.d.ts +1 -1
- package/dist/components/ChecklistRow/components/ChecklistRow.js +1 -1
- package/dist/components/CopyButton/components/CopyButton.d.ts +1 -1
- package/dist/components/CopyButton/components/CopyButton.js +1 -1
- package/dist/components/EmptyState/components/EmptyState.d.ts +1 -1
- package/dist/components/EmptyState/components/EmptyState.js +1 -1
- package/dist/components/Gauge/components/Gauge.js +1 -1
- package/dist/components/HoldToComplete/components/HoldToComplete.d.ts +1 -1
- package/dist/components/HoldToComplete/components/HoldToComplete.js +1 -1
- package/dist/components/LedgerRow/components/LedgerRow.d.ts +1 -1
- package/dist/components/LedgerRow/components/LedgerRow.js +1 -1
- package/dist/components/ProgressRing/components/ProgressRing.d.ts +1 -1
- package/dist/components/ProgressRing/components/ProgressRing.js +1 -1
- package/dist/components/RetroEffects/components/RetroEffects.d.ts +54 -0
- package/dist/components/RetroEffects/components/RetroEffects.js +124 -4
- package/dist/components/RetroEffects/components/index.d.ts +1 -1
- package/dist/components/RetroEffects/index.d.ts +1 -1
- package/dist/components/SectionHeading/components/SectionHeading.d.ts +1 -1
- package/dist/components/SectionHeading/components/SectionHeading.js +2 -2
- package/dist/components/Stat/components/Stat.js +1 -1
- package/dist/components/registry.d.ts +12 -1
- package/dist/components/registry.js +100 -98
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.es.js +689 -599
- package/dist/index.umd.js +1 -1
- package/dist/terminal/cga-amber.json +94 -0
- package/dist/terminal/cga-mode4-p0.json +94 -0
- package/dist/terminal/cga-mode4-p1.json +94 -0
- package/dist/terminal/cga-mode5.json +94 -0
- package/dist/terminal/dos-86.json +94 -0
- package/dist/utils/displayTheme.d.ts +32 -4
- package/dist/utils/displayTheme.js +33 -7
- package/guidelines/README.md +14 -2
- package/guidelines/components.md +9 -0
- package/guidelines/design-principles.md +1 -0
- package/guidelines/figma-architecture.md +1 -2
- package/guidelines/terminal-target.md +44 -0
- package/llms.txt +19 -19
- package/migrations/0.47.0.md +209 -0
- package/migrations/README.md +2 -0
- package/package.json +9 -3
- package/src/styles/dos-utilities.css +13 -3
- package/src/styles/shadcn.css +37 -2
- package/src/styles/theme.amber-paper.css +5 -1
- package/src/styles/theme.dos-86.css +79 -0
- package/src/styles/{theme.amber-mono.css → theme.pure-amber.css} +1 -1
- package/src/styles/tokens.css +44 -2
- package/tailwind.preset.cjs +4 -2
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
export const projects = {
|
|
2
2
|
eidotter: { displayName: 'eiDotter' },
|
|
3
|
-
spacewar: { displayName: 'Spacewar!' },
|
|
4
3
|
rizomorf: { displayName: 'rizomorf' },
|
|
5
|
-
'pomodoke-calendar': { displayName: 'PomoDoke Calendar' },
|
|
6
|
-
keepcoin: { displayName: 'KeepCoin' },
|
|
7
|
-
steuerdash: { displayName: 'Steuerdash' },
|
|
8
|
-
sella: { displayName: 'sella' },
|
|
9
|
-
lifelines: { displayName: 'Lifelines' },
|
|
10
|
-
betamorf: { displayName: 'betamorf' },
|
|
11
4
|
dmnctech: { displayName: 'dmnc.tech', url: 'https://dmnc.tech' },
|
|
12
|
-
|
|
13
|
-
'
|
|
14
|
-
dosbts: { displayName: 'DOSBTS' },
|
|
5
|
+
'eidotter-home': { displayName: 'eidotter.com', url: 'https://eidotter.com' },
|
|
6
|
+
'dmnc-online': { displayName: 'dmnc.online' },
|
|
15
7
|
};
|
|
16
8
|
// ---------------------------------------------------------------------------
|
|
17
9
|
// Registry data
|
|
@@ -19,7 +11,7 @@ export const projects = {
|
|
|
19
11
|
export const componentRegistry = {
|
|
20
12
|
Alert: {
|
|
21
13
|
origin: 'eidotter',
|
|
22
|
-
consumers: ['rizomorf'
|
|
14
|
+
consumers: ['rizomorf'],
|
|
23
15
|
since: '0.2.0',
|
|
24
16
|
variants: {
|
|
25
17
|
'color:brand': { description: 'Brand-accent message' },
|
|
@@ -29,9 +21,9 @@ export const componentRegistry = {
|
|
|
29
21
|
'color:warning': { description: 'Warning notice' },
|
|
30
22
|
'color:success': { description: 'Success confirmation' },
|
|
31
23
|
'type:info': { description: 'Informational message', deprecated: '0.16.0', since: '0.2.0', usedBy: ['rizomorf'] },
|
|
32
|
-
'type:success': { description: 'Success confirmation', deprecated: '0.16.0', since: '0.2.0'
|
|
33
|
-
'type:warning': { description: 'Warning notice', deprecated: '0.16.0', since: '0.2.0', usedBy: ['rizomorf'
|
|
34
|
-
'type:error': { description: 'Error message', deprecated: '0.16.0', since: '0.2.0'
|
|
24
|
+
'type:success': { description: 'Success confirmation', deprecated: '0.16.0', since: '0.2.0' },
|
|
25
|
+
'type:warning': { description: 'Warning notice', deprecated: '0.16.0', since: '0.2.0', usedBy: ['rizomorf'] },
|
|
26
|
+
'type:error': { description: 'Error message', deprecated: '0.16.0', since: '0.2.0' },
|
|
35
27
|
'type:default': { description: 'Deprecated: neutral message (use color)', deprecated: '0.16.0' },
|
|
36
28
|
'type:brand': { description: 'Deprecated: brand message (use color)', deprecated: '0.16.0' },
|
|
37
29
|
'size:floating': { description: 'Card-style floating alert (default)' },
|
|
@@ -91,13 +83,13 @@ export const componentRegistry = {
|
|
|
91
83
|
},
|
|
92
84
|
Badge: {
|
|
93
85
|
origin: 'eidotter',
|
|
94
|
-
consumers: ['rizomorf'
|
|
86
|
+
consumers: ['rizomorf'],
|
|
95
87
|
since: '0.3.0',
|
|
96
88
|
variants: {
|
|
97
89
|
'variant:default': { description: 'Neutral badge with muted styling', since: '0.3.0', usedBy: ['rizomorf'] },
|
|
98
|
-
'variant:success': { description: 'Green success indicator', since: '0.3.0'
|
|
99
|
-
'variant:warning': { description: 'Amber warning indicator', since: '0.3.0'
|
|
100
|
-
'variant:error': { description: 'Red error/critical indicator', since: '0.3.0'
|
|
90
|
+
'variant:success': { description: 'Green success indicator', since: '0.3.0' },
|
|
91
|
+
'variant:warning': { description: 'Amber warning indicator', since: '0.3.0' },
|
|
92
|
+
'variant:error': { description: 'Red error/critical indicator', since: '0.3.0' },
|
|
101
93
|
'variant:info': { description: 'Blue informational indicator', since: '0.3.0' },
|
|
102
94
|
'variant:accent': { description: 'Theme accent color badge', since: '0.3.0', usedBy: ['rizomorf'] },
|
|
103
95
|
'variant:brand': { description: 'Alias of accent' },
|
|
@@ -144,13 +136,13 @@ export const componentRegistry = {
|
|
|
144
136
|
},
|
|
145
137
|
Button: {
|
|
146
138
|
origin: 'eidotter',
|
|
147
|
-
consumers: ['
|
|
139
|
+
consumers: ['rizomorf'],
|
|
148
140
|
since: '0.2.0',
|
|
149
141
|
variants: {
|
|
150
|
-
'variant:primary': { description: 'Primary CTA with amber background', since: '0.2.0', usedBy: ['
|
|
151
|
-
'variant:secondary': { description: 'Secondary action with border only', since: '0.2.0', usedBy: ['rizomorf'
|
|
142
|
+
'variant:primary': { description: 'Primary CTA with amber background', since: '0.2.0', usedBy: ['rizomorf'] },
|
|
143
|
+
'variant:secondary': { description: 'Secondary action with border only', since: '0.2.0', usedBy: ['rizomorf'] },
|
|
152
144
|
'variant:tertiary': { description: 'Lower-emphasis action between secondary and ghost' },
|
|
153
|
-
'variant:destructive': { description: 'Destructive action; honest red under colour themes, amber-
|
|
145
|
+
'variant:destructive': { description: 'Destructive action; honest red under dos-86 (the default, fill #D00000) and the colour themes, amber under Pure Amber (pure-amber, formerly amber-mono)' },
|
|
154
146
|
'variant:ghost': { description: 'Minimal button with hover reveal', since: '0.2.0', usedBy: ['rizomorf'] },
|
|
155
147
|
'variant:link': { description: 'Inline link-style button', since: '0.2.0', usedBy: ['rizomorf'] },
|
|
156
148
|
'size:xs': { description: 'Extra-compact 1.5rem min-height (24px)' },
|
|
@@ -165,7 +157,7 @@ export const componentRegistry = {
|
|
|
165
157
|
platforms: {
|
|
166
158
|
react: { path: 'src/components/Button', status: 'canonical' },
|
|
167
159
|
swiftui: { path: 'platforms/swiftui/Sources/EiDotterUI/DOSButton.swift', status: 'planned', note: 'POC with primary variant only — not yet production-ready' },
|
|
168
|
-
spritekit: { status: 'token-only', note: '
|
|
160
|
+
spritekit: { status: 'token-only', note: 'A native consumer uses tokens only, no UIKit/SwiftUI button' },
|
|
169
161
|
},
|
|
170
162
|
changelog: [
|
|
171
163
|
{ version: '0.41.0', type: 'changed', description: 'Loading indicator uses the shared stepped blink keyframe (blink-loading removed, DMNC-1592)' },
|
|
@@ -181,11 +173,11 @@ export const componentRegistry = {
|
|
|
181
173
|
},
|
|
182
174
|
Card: {
|
|
183
175
|
origin: 'eidotter',
|
|
184
|
-
consumers: ['rizomorf'
|
|
176
|
+
consumers: ['rizomorf'],
|
|
185
177
|
since: '0.3.0',
|
|
186
178
|
variants: {
|
|
187
|
-
'variant:default': { description: 'Standard card with subtle border', since: '0.3.0', usedBy: ['rizomorf'
|
|
188
|
-
'variant:elevated': { description: 'Raised card with drop shadow', since: '0.3.0'
|
|
179
|
+
'variant:default': { description: 'Standard card with subtle border', since: '0.3.0', usedBy: ['rizomorf'] },
|
|
180
|
+
'variant:elevated': { description: 'Raised card with drop shadow', since: '0.3.0' },
|
|
189
181
|
'variant:bordered': { description: 'Strong border emphasis', since: '0.3.0' },
|
|
190
182
|
'variant:glow': { description: 'Phosphor glow border effect', since: '0.4.0', usedBy: ['rizomorf'] },
|
|
191
183
|
'variant:interactive': { description: 'Hover-reactive card for clickable surfaces', since: '0.4.0', usedBy: ['rizomorf'] },
|
|
@@ -209,11 +201,11 @@ export const componentRegistry = {
|
|
|
209
201
|
},
|
|
210
202
|
Checkbox: {
|
|
211
203
|
origin: 'eidotter',
|
|
212
|
-
consumers: [
|
|
204
|
+
consumers: [],
|
|
213
205
|
since: '0.3.0',
|
|
214
206
|
variants: {
|
|
215
207
|
'size:sm': { description: 'Compact 16px checkbox for dense forms', since: '0.16.0' },
|
|
216
|
-
'size:md': { description: 'Standard 20px checkbox', since: '0.3.0'
|
|
208
|
+
'size:md': { description: 'Standard 20px checkbox', since: '0.3.0' },
|
|
217
209
|
},
|
|
218
210
|
platforms: {
|
|
219
211
|
react: { path: 'src/components/Checkbox', status: 'canonical' },
|
|
@@ -278,11 +270,11 @@ export const componentRegistry = {
|
|
|
278
270
|
},
|
|
279
271
|
Input: {
|
|
280
272
|
origin: 'eidotter',
|
|
281
|
-
consumers: [
|
|
273
|
+
consumers: [],
|
|
282
274
|
since: '0.3.0',
|
|
283
275
|
variants: {
|
|
284
|
-
'variant:default': { description: 'Standard text input with amber focus border', since: '0.3.0'
|
|
285
|
-
'variant:error': { description: 'Error state — red border, errorMessage slot', since: '0.3.0'
|
|
276
|
+
'variant:default': { description: 'Standard text input with amber focus border', since: '0.3.0' },
|
|
277
|
+
'variant:error': { description: 'Error state — red border, errorMessage slot', since: '0.3.0' },
|
|
286
278
|
},
|
|
287
279
|
platforms: {
|
|
288
280
|
react: { path: 'src/components/Input', status: 'canonical' },
|
|
@@ -310,7 +302,7 @@ export const componentRegistry = {
|
|
|
310
302
|
},
|
|
311
303
|
Modal: {
|
|
312
304
|
origin: 'eidotter',
|
|
313
|
-
consumers: [
|
|
305
|
+
consumers: [],
|
|
314
306
|
since: '0.3.0',
|
|
315
307
|
originNote: 'DOS-styled dialog built on React Aria ModalOverlay/Modal/Dialog — focus trap, Esc to close, backdrop',
|
|
316
308
|
platforms: {
|
|
@@ -328,17 +320,17 @@ export const componentRegistry = {
|
|
|
328
320
|
},
|
|
329
321
|
Progress: {
|
|
330
322
|
origin: 'eidotter',
|
|
331
|
-
consumers: [
|
|
323
|
+
consumers: [],
|
|
332
324
|
since: '0.3.0',
|
|
333
325
|
variants: {
|
|
334
|
-
'variant:default': { description: 'Amber progress bar', since: '0.3.0'
|
|
326
|
+
'variant:default': { description: 'Amber progress bar', since: '0.3.0' },
|
|
335
327
|
'variant:success': { description: 'Green completion indicator', since: '0.3.0' },
|
|
336
328
|
'variant:warning': { description: 'Amber warning progress', since: '0.3.0' },
|
|
337
329
|
'variant:error': { description: 'Red error/failed progress', since: '0.3.0' },
|
|
338
330
|
'size:sm': { description: 'Compact single-row bar', since: '0.16.0' },
|
|
339
|
-
'size:md': { description: 'Standard bar height', since: '0.3.0'
|
|
331
|
+
'size:md': { description: 'Standard bar height', since: '0.3.0' },
|
|
340
332
|
'size:lg': { description: 'Tall bar for prominent display', since: '0.16.0' },
|
|
341
|
-
'trackStyle:block': { description: 'Solid block fill (default)', since: '0.3.0'
|
|
333
|
+
'trackStyle:block': { description: 'Solid block fill (default)', since: '0.3.0' },
|
|
342
334
|
'trackStyle:bordered': { description: 'Outline bar with fill inside', since: '0.3.0' },
|
|
343
335
|
'trackStyle:gradient': { description: 'Gradient fill for smooth visual', since: '0.3.0' },
|
|
344
336
|
'size:small': { description: 'Deprecated alias of size:sm', deprecated: '0.16.0' },
|
|
@@ -356,13 +348,13 @@ export const componentRegistry = {
|
|
|
356
348
|
],
|
|
357
349
|
},
|
|
358
350
|
RetroEffects: {
|
|
359
|
-
origin: '
|
|
360
|
-
consumers: ['
|
|
351
|
+
origin: 'eidotter',
|
|
352
|
+
consumers: ['rizomorf'],
|
|
361
353
|
since: '0.3.0',
|
|
362
|
-
originNote: 'CRT scanline/glow effects
|
|
354
|
+
originNote: 'CRT scanline/glow effects — compositor-only, prefers-reduced-motion safe',
|
|
363
355
|
platforms: {
|
|
364
356
|
react: { path: 'src/components/RetroEffects', status: 'canonical' },
|
|
365
|
-
spritekit: { status: 'planned', note: '
|
|
357
|
+
spritekit: { status: 'planned', note: 'Native consumers use a CRT shader natively; component is React-web-only' },
|
|
366
358
|
},
|
|
367
359
|
changelog: [
|
|
368
360
|
{ version: '0.30.0', type: 'added', description: 'bootOnce — gate CGA turn-on to once per browser tab/session via sessionStorage' },
|
|
@@ -373,18 +365,18 @@ export const componentRegistry = {
|
|
|
373
365
|
],
|
|
374
366
|
},
|
|
375
367
|
Select: {
|
|
376
|
-
origin: '
|
|
377
|
-
consumers: [
|
|
368
|
+
origin: 'eidotter',
|
|
369
|
+
consumers: [],
|
|
378
370
|
since: '0.36.0',
|
|
379
|
-
originNote: 'DOS-styled dropdown. MVP was a native <select> ported from
|
|
371
|
+
originNote: 'DOS-styled dropdown. MVP was a native <select> ported from a private consumer; rebuilt on React Aria Select/ComboBox in DMNC-593 with default/searchable/multi modes',
|
|
380
372
|
variants: {
|
|
381
|
-
'mode:default': { description: 'Single-select — React Aria Select (button + popover + listbox)', since: '0.38.0'
|
|
373
|
+
'mode:default': { description: 'Single-select — React Aria Select (button + popover + listbox)', since: '0.38.0' },
|
|
382
374
|
'searchable:true': { description: 'Type-to-filter ComboBox single-select', since: '0.38.0' },
|
|
383
375
|
'multiple:true': { description: 'Multi-select listbox; value/onChange use string arrays', since: '0.38.0' },
|
|
384
376
|
'variant:default': { description: 'Standard (valid) state' },
|
|
385
377
|
'variant:error': { description: 'Invalid state — red border + errorMessage slot', since: '0.38.0' },
|
|
386
378
|
'size:sm': { description: 'Compact trigger (28px min-height)', since: '0.38.0' },
|
|
387
|
-
'size:md': { description: 'Standard trigger (32px min-height)', since: '0.38.0'
|
|
379
|
+
'size:md': { description: 'Standard trigger (32px min-height)', since: '0.38.0' },
|
|
388
380
|
'size:lg': { description: 'Tall trigger (40px min-height)', since: '0.38.0' },
|
|
389
381
|
'size:small': { description: 'Deprecated alias of size:sm', deprecated: '0.16.0' },
|
|
390
382
|
'size:medium': { description: 'Deprecated alias of size:md', deprecated: '0.16.0' },
|
|
@@ -398,7 +390,7 @@ export const componentRegistry = {
|
|
|
398
390
|
{ version: '0.41.0', type: 'changed', description: 'Popover enter/exit use the shared eidotter-pop-in/out at 150ms (select-pop-in/out removed, DMNC-1592)' },
|
|
399
391
|
{ version: '0.41.0', type: 'changed', description: 'Keyboard focus ring: 2px amber outline at 2px offset on the trigger (searchable: when its input has focus-visible) (DMNC-1436)' },
|
|
400
392
|
{ version: '0.38.0', type: 'changed', description: 'Rebuild on React Aria (Select/ComboBox/ListBox) with phosphor glow; add searchable + multiple modes, label/description/error chrome, sizes. Backward-compatible value/options/onChange API (DMNC-593)' },
|
|
401
|
-
{ version: '0.36.0', type: 'added', description: 'Initial Select — native <select> MVP ported from
|
|
393
|
+
{ version: '0.36.0', type: 'added', description: 'Initial Select — native <select> MVP ported from a private consumer (DMNC-860)' },
|
|
402
394
|
],
|
|
403
395
|
},
|
|
404
396
|
Skeleton: {
|
|
@@ -411,16 +403,16 @@ export const componentRegistry = {
|
|
|
411
403
|
],
|
|
412
404
|
},
|
|
413
405
|
Stat: {
|
|
414
|
-
origin: '
|
|
415
|
-
consumers: [
|
|
406
|
+
origin: 'eidotter',
|
|
407
|
+
consumers: [],
|
|
416
408
|
since: '0.3.0',
|
|
417
409
|
originNote: 'Key-value metric display created for tax dashboard — optional trend arrow and TextScramble animation',
|
|
418
410
|
variants: {
|
|
419
411
|
'size:sm': { description: 'Compact metric for dense dashboards', since: '0.16.0' },
|
|
420
|
-
'size:md': { description: 'Standard metric display', since: '0.3.0'
|
|
421
|
-
'size:lg': { description: 'Hero metric for prominent KPIs', since: '0.16.0'
|
|
422
|
-
'trend:up': { description: 'Upward trend indicator (green arrow)', since: '0.3.0'
|
|
423
|
-
'trend:down': { description: 'Downward trend indicator (red arrow)', since: '0.3.0'
|
|
412
|
+
'size:md': { description: 'Standard metric display', since: '0.3.0' },
|
|
413
|
+
'size:lg': { description: 'Hero metric for prominent KPIs', since: '0.16.0' },
|
|
414
|
+
'trend:up': { description: 'Upward trend indicator (green arrow)', since: '0.3.0' },
|
|
415
|
+
'trend:down': { description: 'Downward trend indicator (red arrow)', since: '0.3.0' },
|
|
424
416
|
'trend:neutral': { description: 'No change indicator (muted dash)', since: '0.3.0' },
|
|
425
417
|
'size:small': { description: 'Deprecated alias of size:sm', deprecated: '0.16.0' },
|
|
426
418
|
'size:medium': { description: 'Deprecated alias of size:md', deprecated: '0.16.0' },
|
|
@@ -463,14 +455,14 @@ export const componentRegistry = {
|
|
|
463
455
|
},
|
|
464
456
|
FilterBar: {
|
|
465
457
|
origin: 'eidotter',
|
|
466
|
-
consumers: ['
|
|
458
|
+
consumers: ['rizomorf'],
|
|
467
459
|
since: '0.7.0',
|
|
468
460
|
originNote: 'Multi-select toggle group for faceted filtering — keyboard nav, showAll, per-item color',
|
|
469
461
|
variants: {
|
|
470
|
-
'mode:multi': { description: 'Multiple filters selectable simultaneously', since: '0.7.0', usedBy: ['
|
|
462
|
+
'mode:multi': { description: 'Multiple filters selectable simultaneously', since: '0.7.0', usedBy: ['rizomorf'] },
|
|
471
463
|
'mode:single': { description: 'Single active filter (radio behavior)', since: '0.7.0' },
|
|
472
464
|
'size:sm': { description: 'Compact filter chips', since: '0.16.0' },
|
|
473
|
-
'size:md': { description: 'Standard filter chips', since: '0.7.0', usedBy: ['
|
|
465
|
+
'size:md': { description: 'Standard filter chips', since: '0.7.0', usedBy: ['rizomorf'] },
|
|
474
466
|
'size:lg': { description: 'Large filter chips for touch targets', since: '0.16.0' },
|
|
475
467
|
'size:small': { description: 'Deprecated alias of size:sm', deprecated: '0.16.0' },
|
|
476
468
|
'size:medium': { description: 'Deprecated alias of size:md', deprecated: '0.16.0' },
|
|
@@ -487,13 +479,13 @@ export const componentRegistry = {
|
|
|
487
479
|
},
|
|
488
480
|
Tag: {
|
|
489
481
|
origin: 'eidotter',
|
|
490
|
-
consumers: ['
|
|
482
|
+
consumers: ['rizomorf'],
|
|
491
483
|
since: '0.7.0',
|
|
492
484
|
originNote: 'Interactive labels for tags, categories, and filter chips',
|
|
493
485
|
variants: {
|
|
494
486
|
'variant:default': { description: 'Standard tag with subtle background', since: '0.7.0', usedBy: ['rizomorf'] },
|
|
495
|
-
'variant:outlined': { description: 'Border-only tag', since: '0.7.0'
|
|
496
|
-
'variant:filled': { description: 'Solid background tag', since: '0.7.0', usedBy: ['rizomorf'
|
|
487
|
+
'variant:outlined': { description: 'Border-only tag', since: '0.7.0' },
|
|
488
|
+
'variant:filled': { description: 'Solid background tag', since: '0.7.0', usedBy: ['rizomorf'] },
|
|
497
489
|
'size:sm': { description: 'Compact tag for dense layouts' },
|
|
498
490
|
'size:md': { description: 'Standard tag size' },
|
|
499
491
|
'size:lg': { description: 'Large tag' },
|
|
@@ -514,13 +506,13 @@ export const componentRegistry = {
|
|
|
514
506
|
},
|
|
515
507
|
Tabs: {
|
|
516
508
|
origin: 'eidotter',
|
|
517
|
-
consumers: [
|
|
509
|
+
consumers: [],
|
|
518
510
|
since: '0.3.0',
|
|
519
511
|
variants: {
|
|
520
|
-
'variant:underline': { description: 'Underline indicator tab bar (default)', since: '0.3.0'
|
|
512
|
+
'variant:underline': { description: 'Underline indicator tab bar (default)', since: '0.3.0' },
|
|
521
513
|
'variant:pills': { description: 'Filled pill tabs', since: '0.3.0' },
|
|
522
514
|
'size:sm': { description: 'Compact tabs for dense layouts', since: '0.16.0' },
|
|
523
|
-
'size:md': { description: 'Standard tab height', since: '0.3.0'
|
|
515
|
+
'size:md': { description: 'Standard tab height', since: '0.3.0' },
|
|
524
516
|
'size:lg': { description: 'Large touch-friendly tabs', since: '0.16.0' },
|
|
525
517
|
'size:small': { description: 'Deprecated alias of size:sm', deprecated: '0.16.0' },
|
|
526
518
|
'size:medium': { description: 'Deprecated alias of size:md', deprecated: '0.16.0' },
|
|
@@ -567,24 +559,24 @@ export const componentRegistry = {
|
|
|
567
559
|
],
|
|
568
560
|
},
|
|
569
561
|
TimelineNode: {
|
|
570
|
-
origin: '
|
|
571
|
-
consumers: ['
|
|
562
|
+
origin: 'eidotter',
|
|
563
|
+
consumers: ['rizomorf'],
|
|
572
564
|
since: '0.4.0',
|
|
573
|
-
originNote: 'Timeline markers extracted from
|
|
565
|
+
originNote: 'Timeline markers extracted from a private consumer — sits on the axis line, content-box sizing',
|
|
574
566
|
variants: {
|
|
575
|
-
'shape:circle': { description: 'Circular node marker (default)', since: '0.4.0', usedBy: ['
|
|
567
|
+
'shape:circle': { description: 'Circular node marker (default)', since: '0.4.0', usedBy: ['rizomorf'] },
|
|
576
568
|
'shape:square': { description: 'Square node marker', since: '0.4.0' },
|
|
577
569
|
'shape:diamond': { description: 'Diamond (rotated square) node marker', since: '0.4.0' },
|
|
578
|
-
'variant:default': { description: 'Muted amber node', since: '0.4.0', usedBy: ['
|
|
579
|
-
'variant:primary': { description: 'Full-brightness amber node with phosphor glow', since: '0.4.0'
|
|
570
|
+
'variant:default': { description: 'Muted amber node', since: '0.4.0', usedBy: ['rizomorf'] },
|
|
571
|
+
'variant:primary': { description: 'Full-brightness amber node with phosphor glow', since: '0.4.0' },
|
|
580
572
|
'variant:secondary': { description: 'Dimmed node for secondary events', since: '0.4.0' },
|
|
581
573
|
'variant:accent': { description: 'CGA accent color node', since: '0.4.0' },
|
|
582
|
-
'labelPosition:right': { description: 'Label to the right of the node (default)', since: '0.4.0', usedBy: ['
|
|
574
|
+
'labelPosition:right': { description: 'Label to the right of the node (default)', since: '0.4.0', usedBy: ['rizomorf'] },
|
|
583
575
|
'labelPosition:left': { description: 'Label to the left of the node', since: '0.4.0' },
|
|
584
576
|
'labelPosition:top': { description: 'Label above the node', since: '0.4.0' },
|
|
585
577
|
'labelPosition:bottom': { description: 'Label below the node', since: '0.4.0' },
|
|
586
578
|
'size:sm': { description: 'Compact 8px node', since: '0.16.0' },
|
|
587
|
-
'size:md': { description: 'Standard 12px node', since: '0.4.0', usedBy: ['
|
|
579
|
+
'size:md': { description: 'Standard 12px node', since: '0.4.0', usedBy: ['rizomorf'] },
|
|
588
580
|
'size:lg': { description: 'Large 16px node for emphasis', since: '0.16.0' },
|
|
589
581
|
'size:small': { description: 'Deprecated alias of size:sm', deprecated: '0.16.0' },
|
|
590
582
|
'size:medium': { description: 'Deprecated alias of size:md', deprecated: '0.16.0' },
|
|
@@ -637,17 +629,17 @@ export const componentRegistry = {
|
|
|
637
629
|
],
|
|
638
630
|
},
|
|
639
631
|
TimelineContainer: {
|
|
640
|
-
origin: '
|
|
641
|
-
consumers: [
|
|
632
|
+
origin: 'eidotter',
|
|
633
|
+
consumers: [],
|
|
642
634
|
since: '0.8.0',
|
|
643
635
|
originNote: 'Multi-zoom timeline with year/month/day/hour views. Supports interactive, static, feed, and master-detail modes.',
|
|
644
636
|
variants: {
|
|
645
|
-
'mode:interactive': { description: 'Full drill-down with keyboard shortcuts and Ctrl+scroll zoom', since: '0.8.0'
|
|
637
|
+
'mode:interactive': { description: 'Full drill-down with keyboard shortcuts and Ctrl+scroll zoom', since: '0.8.0' },
|
|
646
638
|
'mode:static': { description: 'Read-only snapshot — no zoom or selection controls', since: '0.8.0' },
|
|
647
|
-
'mode:feed': { description: 'Paginated vertical list with LOAD MORE — append-safe', since: '0.21.0'
|
|
639
|
+
'mode:feed': { description: 'Paginated vertical list with LOAD MORE — append-safe', since: '0.21.0' },
|
|
648
640
|
'mode:master-detail': { description: 'Split-pane with list rail + detail panel', since: '0.34.0' },
|
|
649
641
|
'sortOrder:asc': { description: 'Oldest entries first', since: '0.8.0' },
|
|
650
|
-
'sortOrder:desc': { description: 'Newest entries first (default)', since: '0.8.0'
|
|
642
|
+
'sortOrder:desc': { description: 'Newest entries first (default)', since: '0.8.0' },
|
|
651
643
|
},
|
|
652
644
|
platforms: {
|
|
653
645
|
react: { path: 'src/components/TimelineContainer', status: 'canonical' },
|
|
@@ -657,7 +649,7 @@ export const componentRegistry = {
|
|
|
657
649
|
{ version: '0.21.0', type: 'added', description: 'feed mode — pageSize, onLoadMore, DOS-styled LOAD MORE button' },
|
|
658
650
|
{ version: '0.21.0', type: 'added', description: 'renderEntry prop — pluggable entry renderer with defaultRender() opt-in' },
|
|
659
651
|
{ version: '0.9.0', type: 'changed', description: 'Responsive layout with CSS container queries' },
|
|
660
|
-
{ version: '0.8.0', type: 'added', description: 'Initial TimelineContainer — year/month/day/hour drill-down, migrated from
|
|
652
|
+
{ version: '0.8.0', type: 'added', description: 'Initial TimelineContainer — year/month/day/hour drill-down, migrated from a private consumer' },
|
|
661
653
|
],
|
|
662
654
|
},
|
|
663
655
|
TextScramble: {
|
|
@@ -813,7 +805,7 @@ export const componentRegistry = {
|
|
|
813
805
|
origin: 'eidotter',
|
|
814
806
|
consumers: [],
|
|
815
807
|
since: '0.45.0',
|
|
816
|
-
originNote: 'One header control for display options (DMNC-1619): a trigger (pixel monitor glyph, label, chevron; icon only below 640px) opens a non-modal React Aria popover (a labelled group, DMNC-1629) with one row per option, each an eidotter Switch. Replaces switches side by side in Header end slots; consumers own the state.',
|
|
808
|
+
originNote: 'One header control for display options (DMNC-1619): a trigger (pixel monitor glyph, label, chevron; icon only below 640px) opens a non-modal React Aria popover (a labelled group, DMNC-1629) with one row per option, each an eidotter Switch. Replaces switches side by side in Header end slots; consumers own the state. Rows come from displayMenuItems: DOS, LIGHT and, on a site that passes dosPure (DMNC-1643), PURE (DOS on and LIGHT off only; hidden, never disabled).',
|
|
817
809
|
variants: {
|
|
818
810
|
'labelDisplay:responsive': { description: 'Icon only below 640px, icon + label above (default)', since: '0.45.0' },
|
|
819
811
|
'labelDisplay:icon': { description: 'Always icon only (36px square)', since: '0.45.0' },
|
|
@@ -889,12 +881,12 @@ export const componentRegistry = {
|
|
|
889
881
|
{ version: '0.41.0', type: 'changed', description: 'Fix: search input shows the 2px focus-visible ring instead of only a faint background tint (DMNC-1436)' },
|
|
890
882
|
],
|
|
891
883
|
},
|
|
892
|
-
// Ported from
|
|
884
|
+
// Ported from a private habit app (DMNC-1040)
|
|
893
885
|
ProgressRing: {
|
|
894
|
-
origin: '
|
|
895
|
-
consumers: [
|
|
886
|
+
origin: 'eidotter',
|
|
887
|
+
consumers: [],
|
|
896
888
|
since: '0.37.0',
|
|
897
|
-
originNote: '16-segment quantized progress ring (SVG). Powers
|
|
889
|
+
originNote: '16-segment quantized progress ring (SVG). Powers the hold-to-complete feedback ring.',
|
|
898
890
|
platforms: { react: { path: 'src/components/ProgressRing', status: 'canonical' } },
|
|
899
891
|
changelog: [
|
|
900
892
|
{ version: '0.40.0', type: 'changed', description: 'Add additive decorative prop (aria-hidden, no progressbar role) so Gauge owns meter semantics' },
|
|
@@ -902,8 +894,8 @@ export const componentRegistry = {
|
|
|
902
894
|
],
|
|
903
895
|
},
|
|
904
896
|
CalendarHeatmap: {
|
|
905
|
-
origin: '
|
|
906
|
-
consumers: [
|
|
897
|
+
origin: 'eidotter',
|
|
898
|
+
consumers: [],
|
|
907
899
|
since: '0.37.0',
|
|
908
900
|
originNote: 'Block-character month calendar heatmap (█ ░ · ▒). Domain-agnostic — takes a date→status map, not a domain object.',
|
|
909
901
|
variants: {
|
|
@@ -917,8 +909,8 @@ export const componentRegistry = {
|
|
|
917
909
|
],
|
|
918
910
|
},
|
|
919
911
|
HoldToComplete: {
|
|
920
|
-
origin: '
|
|
921
|
-
consumers: [
|
|
912
|
+
origin: 'eidotter',
|
|
913
|
+
consumers: [],
|
|
922
914
|
since: '0.37.0',
|
|
923
915
|
originNote: 'Press-and-hold-to-complete interaction with ProgressRing feedback. Pointer + keyboard, reduced-motion aware.',
|
|
924
916
|
platforms: { react: { path: 'src/components/HoldToComplete', status: 'canonical' } },
|
|
@@ -995,9 +987,9 @@ export const componentRegistry = {
|
|
|
995
987
|
},
|
|
996
988
|
Gauge: {
|
|
997
989
|
origin: 'eidotter',
|
|
998
|
-
consumers: [
|
|
990
|
+
consumers: [],
|
|
999
991
|
since: '0.40.0',
|
|
1000
|
-
originNote: 'Ring gauge for one metabolic value. Carries the SCUM metabolism-screen dial pattern (value, target, provenance) as used in diabetes apps.
|
|
992
|
+
originNote: 'Ring gauge for one metabolic value. Carries the SCUM metabolism-screen dial pattern (value, target, provenance) as used in diabetes apps. Figma: Web DS / Health.',
|
|
1001
993
|
variants: {
|
|
1002
994
|
'size:sm': { description: 'Compact gauge', since: '0.40.0' },
|
|
1003
995
|
'size:md': { description: 'Standard gauge', since: '0.40.0' },
|
|
@@ -1024,9 +1016,9 @@ export const componentRegistry = {
|
|
|
1024
1016
|
},
|
|
1025
1017
|
Meter: {
|
|
1026
1018
|
origin: 'eidotter',
|
|
1027
|
-
consumers: [
|
|
1019
|
+
consumers: [],
|
|
1028
1020
|
since: '0.40.0',
|
|
1029
|
-
originNote: 'Single labelled meter bar with tick and tone/pattern pairing. Carries the SCUM stat-bar pattern (food, water, energy) for diabetes values such as carbs on board.
|
|
1021
|
+
originNote: 'Single labelled meter bar with tick and tone/pattern pairing. Carries the SCUM stat-bar pattern (food, water, energy) for diabetes values such as carbs on board. Figma: Web DS / Health.',
|
|
1030
1022
|
variants: {
|
|
1031
1023
|
'orientation:vertical': { description: 'Vertical bar with label beneath', since: '0.40.0' },
|
|
1032
1024
|
'orientation:horizontal': { description: 'Horizontal bar with label alongside', since: '0.40.0' },
|
|
@@ -1054,9 +1046,9 @@ export const componentRegistry = {
|
|
|
1054
1046
|
},
|
|
1055
1047
|
MeterGroup: {
|
|
1056
1048
|
origin: 'eidotter',
|
|
1057
|
-
consumers: [
|
|
1049
|
+
consumers: [],
|
|
1058
1050
|
since: '0.40.0',
|
|
1059
|
-
originNote: 'Layout wrapper for several Meters. Carries the SCUM metabolism-screen stat cluster pattern.
|
|
1051
|
+
originNote: 'Layout wrapper for several Meters. Carries the SCUM metabolism-screen stat cluster pattern. Figma: Web DS / Health.',
|
|
1060
1052
|
variants: {
|
|
1061
1053
|
'layout:row': { description: 'Meters in a single row', since: '0.40.0' },
|
|
1062
1054
|
'layout:grid': { description: 'Meters in a wrapping grid', since: '0.40.0' },
|
|
@@ -1072,9 +1064,9 @@ export const componentRegistry = {
|
|
|
1072
1064
|
},
|
|
1073
1065
|
RangeBar: {
|
|
1074
1066
|
origin: 'eidotter',
|
|
1075
|
-
consumers: [
|
|
1067
|
+
consumers: [],
|
|
1076
1068
|
since: '0.40.0',
|
|
1077
|
-
originNote: 'Banded range bar showing where a value sits against target segments, as in diabetes time-in-range displays. Carries the SCUM condition-bar pattern.
|
|
1069
|
+
originNote: 'Banded range bar showing where a value sits against target segments, as in diabetes time-in-range displays. Carries the SCUM condition-bar pattern. Figma: Web DS / Health.',
|
|
1078
1070
|
variants: {
|
|
1079
1071
|
'orientation:vertical': { description: 'Vertical track', since: '0.40.0' },
|
|
1080
1072
|
'orientation:horizontal': { description: 'Horizontal track', since: '0.40.0' },
|
|
@@ -1104,9 +1096,9 @@ export const componentRegistry = {
|
|
|
1104
1096
|
},
|
|
1105
1097
|
SeriesBars: {
|
|
1106
1098
|
origin: 'eidotter',
|
|
1107
|
-
consumers: [
|
|
1099
|
+
consumers: [],
|
|
1108
1100
|
since: '0.40.0',
|
|
1109
|
-
originNote: 'Bar series for per-period values such as daily carbs or time-in-range, as in diabetes reports. Carries the SCUM history-chart pattern.
|
|
1101
|
+
originNote: 'Bar series for per-period values such as daily carbs or time-in-range, as in diabetes reports. Carries the SCUM history-chart pattern. Figma: Web DS / Health.',
|
|
1110
1102
|
variants: {
|
|
1111
1103
|
'size:sm': { description: 'Short plot', since: '0.40.0' },
|
|
1112
1104
|
'size:md': { description: 'Standard plot', since: '0.40.0' },
|
|
@@ -1130,9 +1122,9 @@ export const componentRegistry = {
|
|
|
1130
1122
|
},
|
|
1131
1123
|
DecayStrip: {
|
|
1132
1124
|
origin: 'eidotter',
|
|
1133
|
-
consumers: [
|
|
1125
|
+
consumers: [],
|
|
1134
1126
|
since: '0.40.0',
|
|
1135
|
-
originNote: 'Stepped block strip of consumer-supplied remaining-amount samples with a now marker (active-on-board curve in diabetes apps). Carries the SCUM timed-effect pattern; no absorption math.
|
|
1127
|
+
originNote: 'Stepped block strip of consumer-supplied remaining-amount samples with a now marker (active-on-board curve in diabetes apps). Carries the SCUM timed-effect pattern; no absorption math. Figma: Web DS / Health.',
|
|
1136
1128
|
variants: {
|
|
1137
1129
|
'size:sm': { description: 'Compact strip', since: '0.40.0' },
|
|
1138
1130
|
'size:md': { description: 'Standard strip', since: '0.40.0' },
|
|
@@ -1154,9 +1146,9 @@ export const componentRegistry = {
|
|
|
1154
1146
|
},
|
|
1155
1147
|
VitalsStrip: {
|
|
1156
1148
|
origin: 'eidotter',
|
|
1157
|
-
consumers: [
|
|
1149
|
+
consumers: [],
|
|
1158
1150
|
since: '0.40.0',
|
|
1159
|
-
originNote: 'Server-safe row of vitals tiles with value, unit, secondary text and bands, and status. Carries the SCUM vitals header pattern for diabetes summaries.
|
|
1151
|
+
originNote: 'Server-safe row of vitals tiles with value, unit, secondary text and bands, and status. Carries the SCUM vitals header pattern for diabetes summaries. Figma: Web DS / Health.',
|
|
1160
1152
|
variants: {
|
|
1161
1153
|
'size:sm': { description: 'Compact tiles', since: '0.40.0' },
|
|
1162
1154
|
'size:md': { description: 'Standard tiles', since: '0.40.0' },
|
|
@@ -1218,3 +1210,13 @@ export function getVariantConsumerMap(componentName) {
|
|
|
1218
1210
|
}
|
|
1219
1211
|
return map;
|
|
1220
1212
|
}
|
|
1213
|
+
/**
|
|
1214
|
+
* The provenance line printed above every Storybook story. Only names the registry
|
|
1215
|
+
* is allowed to carry reach it, and an empty consumer list drops the "Used by" part
|
|
1216
|
+
* instead of printing a dangling label.
|
|
1217
|
+
*/
|
|
1218
|
+
export function formatProvenanceLine(meta) {
|
|
1219
|
+
const origin = `Origin: ${meta.origin}${meta.originNote ? ` — ${meta.originNote}` : ''}`;
|
|
1220
|
+
const consumers = meta.consumers.filter((id) => id in projects);
|
|
1221
|
+
return consumers.length ? `${origin} | Used by: ${consumers.join(', ')}` : origin;
|
|
1222
|
+
}
|