@cameronsjo/artificer 0.22.1 → 0.23.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schemaVersion": "1",
3
- "$version": "0.22.1",
3
+ "$version": "0.23.0",
4
4
  "$doc": "Primitive mint ledger (ADR 0037, #199). Provenance + adoption semantics for every shipped primitive. tokens.json owns token VALUES; scripts/css-token-set.baseline.json owns the token SET; this file owns grouping, vintage, recipes, and adoption signals. Gated by scripts/check-primitives.mjs (check:primitives). minted 'pending-backfill' marks an entry awaiting mechanical dating (all dated by #199 PR-3's backfill; the sentinel remains legal for future re-derivations); 'unreleased' marks a mint on a feature branch, swept to the release version by sync:primitives-vintage.",
5
5
  "primitives": {
6
6
  "stack": {
@@ -201,10 +201,24 @@
201
201
  "classes": [
202
202
  "sidenav",
203
203
  "sidenav__group",
204
+ "sidenav__section",
205
+ "sidenav__footer",
204
206
  "label",
205
207
  "count"
206
208
  ],
207
- "recipe": "Side navigation"
209
+ "recipe": "Side navigation",
210
+ "variants": [
211
+ {
212
+ "class": "sidenav__section",
213
+ "minted": "unreleased",
214
+ "note": "collapsible group — <details class=\"sidenav__section\"> whose <summary> carries the group-label treatment + twisty; rows keep full sidenav styling. The section holding [aria-current=\"page\"] must be rendered open (consumer JS owns the open attribute); sticky group labels deliberately don't apply inside <details>"
215
+ },
216
+ {
217
+ "class": "sidenav__footer",
218
+ "minted": "unreleased",
219
+ "note": "bottom-anchored settings row (margin-top:auto in the min-height:100% drawer sidenav) — the theme toggle's drawer seat; pairs a text label with a canonical .theme-toggle--inline [data-theme-toggle] button"
220
+ }
221
+ ]
208
222
  },
209
223
  "nav-drawer": {
210
224
  "kind": "component",
@@ -262,12 +276,12 @@
262
276
  "classes": [
263
277
  "glyph"
264
278
  ],
265
- "recipe": "Dense table status / \u2713\u2717~\u2013 cells",
279
+ "recipe": "Dense table status / ✓✗~– cells",
266
280
  "adoption": {
267
281
  "supersedes": "raw emoji / hand-tinted spans in comparison grids",
268
282
  "signals": [
269
283
  {
270
- "grep": "[\u2713\u2717~]</(td|span)",
284
+ "grep": "[✓✗~]</(td|span)",
271
285
  "note": "bare status marks without .glyph tinting or role=img"
272
286
  }
273
287
  ]
@@ -470,7 +484,7 @@
470
484
  "signals": [
471
485
  {
472
486
  "grep": "role=\"tablist\"",
473
- "note": "ARIA tablist without ArtificerTabs.enhance() \u2014 the CSS alone is style-only"
487
+ "note": "ARIA tablist without ArtificerTabs.enhance() — the CSS alone is style-only"
474
488
  }
475
489
  ]
476
490
  }
@@ -509,7 +523,8 @@
509
523
  "tree__group",
510
524
  "tree__row",
511
525
  "tree__twisty",
512
- "tree__leaf"
526
+ "tree__leaf",
527
+ "tree--static"
513
528
  ],
514
529
  "js": {
515
530
  "module": "artificer-tree.js",
@@ -518,6 +533,12 @@
518
533
  },
519
534
  "recipe": "Tree / file explorer / nested nav",
520
535
  "demo": "live-spec/components-extended.html#tree",
536
+ "variants": [
537
+ {
538
+ "class": "tree--static",
539
+ "note": "native <details>/<summary> disclosure for no-JS/SSR contexts — deliberately not role=\"tree\"; nested disclosure is the honest a11y model here, so ArtificerTree.enhance() stays inert on it"
540
+ }
541
+ ],
521
542
  "adoption": {
522
543
  "supersedes": "hand-rolled nested-list explorers / custom disclosure rows",
523
544
  "signals": [
@@ -584,7 +605,7 @@
584
605
  "api": "ArtificerOptions.combobox()",
585
606
  "hook": "input[data-combobox]"
586
607
  },
587
- "recipe": "Command palette / \u2318K",
608
+ "recipe": "Command palette / ⌘K",
588
609
  "demo": "live-spec/components-extended.html"
589
610
  },
590
611
  "popover": {
@@ -637,6 +658,21 @@
637
658
  ],
638
659
  "recipe": "Split pane / master-detail"
639
660
  },
661
+ "workbench": {
662
+ "kind": "component",
663
+ "minted": "0.23.0",
664
+ "classes": [
665
+ "workbench",
666
+ "workbench__pane",
667
+ "workbench__header",
668
+ "workbench__editor"
669
+ ],
670
+ "recipe": "Text workbench / editor panes",
671
+ "demo": "live-spec/composition.html#workbench",
672
+ "adoption": {
673
+ "supersedes": "hand-rolled full-height textarea panes"
674
+ }
675
+ },
640
676
  "dash": {
641
677
  "kind": "component",
642
678
  "minted": "0.10.1",
@@ -688,6 +724,17 @@
688
724
  "demo": "live-spec/charts.html",
689
725
  "recipe": "Chart / sparkline / gauge"
690
726
  },
727
+ "bar-meter": {
728
+ "kind": "component",
729
+ "minted": "0.23.0",
730
+ "classes": [
731
+ "bar",
732
+ "bar__track",
733
+ "bar__fill"
734
+ ],
735
+ "demo": "live-spec/charts.html",
736
+ "recipe": "Horizontal bar / meter"
737
+ },
691
738
  "diagrams": {
692
739
  "kind": "component",
693
740
  "minted": "0.7.0",
@@ -703,6 +750,37 @@
703
750
  "demo": "live-spec/diagrams.html",
704
751
  "recipe": "Architecture / flow diagram"
705
752
  },
753
+ "diagram-flow": {
754
+ "kind": "component",
755
+ "minted": "0.23.0",
756
+ "classes": [
757
+ "dia-box",
758
+ "dia-box--accent",
759
+ "dia-box--ghost",
760
+ "dia-box--tab",
761
+ "flow",
762
+ "flow-frame",
763
+ "flow-frame__label",
764
+ "flow__link",
765
+ "flow__link--dashed",
766
+ "flow__step"
767
+ ],
768
+ "demo": "live-spec/diagrams.html",
769
+ "recipe": "HTML diagram node"
770
+ },
771
+ "spine-phase": {
772
+ "kind": "component",
773
+ "minted": "0.23.0",
774
+ "classes": [
775
+ "spine",
776
+ "phase",
777
+ "phase--accent",
778
+ "phase__body",
779
+ "phase__marker"
780
+ ],
781
+ "demo": "live-spec/diagrams.html",
782
+ "recipe": "Phased timeline"
783
+ },
706
784
  "syntax": {
707
785
  "kind": "component",
708
786
  "minted": "0.7.0",
@@ -897,7 +975,7 @@
897
975
  },
898
976
  "versions": {
899
977
  "0.10.1": {
900
- "title": "v0.10.0 + v0.10.1 \u2014 navigation wave, SPA lifecycle, brandPurple ramp split (shipped as ONE commit; no consumer was ever on 0.10.0)",
978
+ "title": "v0.10.0 + v0.10.1 — navigation wave, SPA lifecycle, brandPurple ramp split (shipped as ONE commit; no consumer was ever on 0.10.0)",
901
979
  "minted": [
902
980
  "appbar",
903
981
  "sidenav",
@@ -967,7 +1045,7 @@
967
1045
  ]
968
1046
  },
969
1047
  "0.13.0": {
970
- "title": "trust layer \u00b7 texture carve \u00b7 whimsy attention \u00b7 greeting \u00b7 brand refresh",
1048
+ "title": "trust layer · texture carve · whimsy attention · greeting · brand refresh",
971
1049
  "minted": [
972
1050
  "figure",
973
1051
  "note",
@@ -981,7 +1059,7 @@
981
1059
  ]
982
1060
  },
983
1061
  "0.14.0": {
984
- "title": ".notif primitive \u00b7 trust-layer follow-through \u00b7 gradients \u00b7 encapsulation doctrine",
1062
+ "title": ".notif primitive · trust-layer follow-through · gradients · encapsulation doctrine",
985
1063
  "minted": [
986
1064
  "notif"
987
1065
  ],
@@ -991,7 +1069,7 @@
991
1069
  ]
992
1070
  },
993
1071
  "0.15.0": {
994
- "title": "A1 conformance gate \u00b7 the component mints (option-popover keystone + what it unlocks) \u00b7 loading-feedback",
1072
+ "title": "A1 conformance gate · the component mints (option-popover keystone + what it unlocks) · loading-feedback",
995
1073
  "minted": [
996
1074
  "banner",
997
1075
  "listbox",
@@ -1015,7 +1093,7 @@
1015
1093
  ]
1016
1094
  },
1017
1095
  "0.16.0": {
1018
- "title": "behavior modules (ArtificerOptions / ArtificerTree) \u00b7 a11y floor \u00b7 export gate",
1096
+ "title": "behavior modules (ArtificerOptions / ArtificerTree) · a11y floor · export gate",
1019
1097
  "minted": [],
1020
1098
  "breaking": [],
1021
1099
  "adoption": [
@@ -1026,7 +1104,7 @@
1026
1104
  ]
1027
1105
  },
1028
1106
  "0.17.0": {
1029
- "title": "the fix wave: gates grow contracts \u00b7 --radius-pill \u00b7 canonical chrome",
1107
+ "title": "the fix wave: gates grow contracts · --radius-pill · canonical chrome",
1030
1108
  "minted": [],
1031
1109
  "breaking": [],
1032
1110
  "adoption": []
@@ -1039,7 +1117,7 @@
1039
1117
  "kind": "repurpose",
1040
1118
  "what": "root font-size + every --t-*-size binding",
1041
1119
  "from": "root silently 87.5% (labels rendered at ~0.875x)",
1042
- "to": "html { font-size: 100% } \u2014 labels true",
1120
+ "to": "html { font-size: 100% } — labels true",
1043
1121
  "why": "everything token-bound grows ~14.3% (body 12.25 -> 14px); re-check dense layouts and any px assumptions",
1044
1122
  "ref": "#211"
1045
1123
  }
@@ -1053,7 +1131,7 @@
1053
1131
  "adoption": []
1054
1132
  },
1055
1133
  "0.19.0": {
1056
- "title": "Lane 2 unification (one version, one rhythm) \u00b7 .glyph anti-emoji mint \u00b7 terminalBg elevation (ADR 0036, terminal themes)",
1134
+ "title": "Lane 2 unification (one version, one rhythm) · .glyph anti-emoji mint · terminalBg elevation (ADR 0036, terminal themes)",
1057
1135
  "minted": [
1058
1136
  "glyph"
1059
1137
  ],
@@ -1089,7 +1167,7 @@
1089
1167
  ]
1090
1168
  },
1091
1169
  "0.22.1": {
1092
- "title": "btn--link: an action that reads as text \u2014 the missing way to render a <button> as a link, and the reason the colophon spine had to special-case buttons",
1170
+ "title": "btn--link: an action that reads as text — the missing way to render a <button> as a link, and the reason the colophon spine had to special-case buttons",
1093
1171
  "minted": [],
1094
1172
  "breaking": [],
1095
1173
  "adoption": [
package/src/tokens.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://design-tokens.org/schema.json",
3
3
  "$description": "Artificer · Cameron's personal design system. Machine-readable token export. Mirrors artificer.css. Source of truth lives in the CSS — regenerate this file if tokens change there.",
4
- "$version": "0.22.1",
4
+ "$version": "0.23.0",
5
5
 
6
6
  "color": {
7
7
  "$description": "All colors paired with their dark/light values. AAA-tuned where indicated. v0.6 palette: apothecary × deco × speakeasy.",
@@ -70,7 +70,9 @@
70
70
  "typography": {
71
71
  "fontFamily": {
72
72
  "mono": { "value": "'JetBrains Mono', 'Berkeley Mono', ui-monospace, 'SF Mono', Menlo, monospace", "use": "Code, identifiers, numerals, dense tool body." },
73
- "sans": { "value": "'iA Writer Quattro S', 'iA Writer Quattro', 'Iowan Old Style', 'Charter', system-ui, sans-serif", "use": "Document body, UI labels, humanist sans." }
73
+ "body": { "value": "'iA Writer Quattro V', 'Iowan Old Style', 'Charter', 'Source Sans 3', system-ui, -apple-system, sans-serif", "use": "Body prose — document surfaces, headline/body type utilities, .meta." },
74
+ "interface": { "value": "'iA Writer Quattro S', 'Iowan Old Style', 'Charter', 'Source Sans 3', system-ui, -apple-system, sans-serif", "use": "Interface chrome — labels, controls, form fields, nav, tabular UI numerals." },
75
+ "sans": { "value": "'iA Writer Quattro V', 'Iowan Old Style', 'Charter', 'Source Sans 3', system-ui, -apple-system, sans-serif", "use": "Legacy alias of body — kept resolvable for public-API back-compat." }
74
76
  },
75
77
  "scale": {
76
78
  "$note": "Sizes are REM so text honors the browser font-size preference (root is never overridden; 1rem = 16px at default). px equivalents in comments.",