@hjmds/design-contracts 1.7.0 → 1.9.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 (250) hide show
  1. package/THIRD_PARTY_NOTICES.md +58 -0
  2. package/dist/affix.d.ts +8 -0
  3. package/dist/affix.d.ts.map +1 -0
  4. package/dist/affix.js +7 -0
  5. package/dist/affix.js.map +1 -0
  6. package/dist/agreement.d.ts +3 -3
  7. package/dist/agreement.js +1 -1
  8. package/dist/agreement.js.map +1 -1
  9. package/dist/asset.d.ts +1 -1
  10. package/dist/asset.js +1 -1
  11. package/dist/asset.js.map +1 -1
  12. package/dist/base-recipes.d.ts +12 -12
  13. package/dist/base-recipes.d.ts.map +1 -1
  14. package/dist/base-recipes.js +15 -14
  15. package/dist/base-recipes.js.map +1 -1
  16. package/dist/behaviors.d.ts +1 -1
  17. package/dist/catalog.d.ts +445 -651
  18. package/dist/catalog.d.ts.map +1 -1
  19. package/dist/catalog.js +149 -101
  20. package/dist/catalog.js.map +1 -1
  21. package/dist/color-picker.d.ts +11 -0
  22. package/dist/color-picker.d.ts.map +1 -0
  23. package/dist/color-picker.js +20 -0
  24. package/dist/color-picker.js.map +1 -0
  25. package/dist/command-palette.d.ts +3 -3
  26. package/dist/component-contracts.d.ts +4 -4
  27. package/dist/component-contracts.d.ts.map +1 -1
  28. package/dist/component-contracts.js +5 -4
  29. package/dist/component-contracts.js.map +1 -1
  30. package/dist/component-definitions.d.ts +1 -9
  31. package/dist/component-definitions.d.ts.map +1 -1
  32. package/dist/component-definitions.js +1 -9
  33. package/dist/component-definitions.js.map +1 -1
  34. package/dist/component-recipes.d.ts +76 -83
  35. package/dist/component-recipes.d.ts.map +1 -1
  36. package/dist/component-recipes.js +29 -49
  37. package/dist/component-recipes.js.map +1 -1
  38. package/dist/component-references.d.ts +10 -25
  39. package/dist/component-references.d.ts.map +1 -1
  40. package/dist/component-references.js +5 -8
  41. package/dist/component-references.js.map +1 -1
  42. package/dist/data-table.d.ts +3 -3
  43. package/dist/data-table.js +1 -1
  44. package/dist/data-table.js.map +1 -1
  45. package/dist/date-picker.d.ts +2 -2
  46. package/dist/icon-button-recipe.d.ts +2 -2
  47. package/dist/icon-button-recipe.js +1 -1
  48. package/dist/icon-button-recipe.js.map +1 -1
  49. package/dist/image.d.ts +2 -2
  50. package/dist/image.js +2 -2
  51. package/dist/image.js.map +1 -1
  52. package/dist/index.d.ts +1 -1
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +1 -1
  55. package/dist/index.js.map +1 -1
  56. package/dist/interaction-adapters.d.ts +53 -0
  57. package/dist/interaction-adapters.d.ts.map +1 -0
  58. package/dist/interaction-adapters.js +45 -0
  59. package/dist/interaction-adapters.js.map +1 -0
  60. package/dist/internal/thinking-orb/braid.d.ts +3 -0
  61. package/dist/internal/thinking-orb/braid.d.ts.map +1 -0
  62. package/dist/internal/thinking-orb/braid.js +47 -0
  63. package/dist/internal/thinking-orb/braid.js.map +1 -0
  64. package/dist/internal/thinking-orb/core.d.ts +60 -0
  65. package/dist/internal/thinking-orb/core.d.ts.map +1 -0
  66. package/dist/internal/thinking-orb/core.js +86 -0
  67. package/dist/internal/thinking-orb/core.js.map +1 -0
  68. package/dist/internal/thinking-orb/lattice.d.ts +5 -0
  69. package/dist/internal/thinking-orb/lattice.d.ts.map +1 -0
  70. package/dist/internal/thinking-orb/lattice.js +187 -0
  71. package/dist/internal/thinking-orb/lattice.js.map +1 -0
  72. package/dist/internal/thinking-orb/morph.d.ts +3 -0
  73. package/dist/internal/thinking-orb/morph.d.ts.map +1 -0
  74. package/dist/internal/thinking-orb/morph.js +127 -0
  75. package/dist/internal/thinking-orb/morph.js.map +1 -0
  76. package/dist/internal/thinking-orb/orbits.d.ts +3 -0
  77. package/dist/internal/thinking-orb/orbits.d.ts.map +1 -0
  78. package/dist/internal/thinking-orb/orbits.js +68 -0
  79. package/dist/internal/thinking-orb/orbits.js.map +1 -0
  80. package/dist/internal/thinking-orb/presets.d.ts +21 -0
  81. package/dist/internal/thinking-orb/presets.d.ts.map +1 -0
  82. package/dist/internal/thinking-orb/presets.js +77 -0
  83. package/dist/internal/thinking-orb/presets.js.map +1 -0
  84. package/dist/internal/thinking-orb/profiles.d.ts +8 -0
  85. package/dist/internal/thinking-orb/profiles.d.ts.map +1 -0
  86. package/dist/internal/thinking-orb/profiles.js +158 -0
  87. package/dist/internal/thinking-orb/profiles.js.map +1 -0
  88. package/dist/internal/thinking-orb/registry.d.ts +9 -0
  89. package/dist/internal/thinking-orb/registry.d.ts.map +1 -0
  90. package/dist/internal/thinking-orb/registry.js +27 -0
  91. package/dist/internal/thinking-orb/registry.js.map +1 -0
  92. package/dist/internal/thinking-orb/ribbon.d.ts +3 -0
  93. package/dist/internal/thinking-orb/ribbon.d.ts.map +1 -0
  94. package/dist/internal/thinking-orb/ribbon.js +87 -0
  95. package/dist/internal/thinking-orb/ribbon.js.map +1 -0
  96. package/dist/internal/thinking-orb/types.d.ts +15 -0
  97. package/dist/internal/thinking-orb/types.d.ts.map +1 -0
  98. package/dist/internal/thinking-orb/types.js +4 -0
  99. package/dist/internal/thinking-orb/types.js.map +1 -0
  100. package/dist/internal/thinking-orb/web.d.ts +3 -0
  101. package/dist/internal/thinking-orb/web.d.ts.map +1 -0
  102. package/dist/internal/thinking-orb/web.js +92 -0
  103. package/dist/internal/thinking-orb/web.js.map +1 -0
  104. package/dist/masonry.d.ts +17 -0
  105. package/dist/masonry.d.ts.map +1 -0
  106. package/dist/masonry.js +18 -0
  107. package/dist/masonry.js.map +1 -0
  108. package/dist/menubar.d.ts +3 -3
  109. package/dist/menubar.js +1 -1
  110. package/dist/menubar.js.map +1 -1
  111. package/dist/number-field.d.ts +2 -2
  112. package/dist/otp-field.d.ts +1 -1
  113. package/dist/password-field.d.ts +2 -2
  114. package/dist/popover.d.ts +7 -8
  115. package/dist/popover.d.ts.map +1 -1
  116. package/dist/popover.js +2 -0
  117. package/dist/popover.js.map +1 -1
  118. package/dist/qr-code-recipe.d.ts +7 -0
  119. package/dist/qr-code-recipe.d.ts.map +1 -0
  120. package/dist/qr-code-recipe.js +2 -0
  121. package/dist/qr-code-recipe.js.map +1 -0
  122. package/dist/qr-code.d.ts +16 -0
  123. package/dist/qr-code.d.ts.map +1 -0
  124. package/dist/qr-code.js +37 -0
  125. package/dist/qr-code.js.map +1 -0
  126. package/dist/semantic-colors.d.ts +1 -1
  127. package/dist/semantic-colors.js +1 -1
  128. package/dist/semantic-colors.js.map +1 -1
  129. package/dist/showcase.d.ts +5 -1
  130. package/dist/showcase.d.ts.map +1 -1
  131. package/dist/showcase.js +53 -12
  132. package/dist/showcase.js.map +1 -1
  133. package/dist/sidebar.d.ts +3 -3
  134. package/dist/sidebar.js +1 -1
  135. package/dist/sidebar.js.map +1 -1
  136. package/dist/tag.d.ts +4 -4
  137. package/dist/tag.js +3 -3
  138. package/dist/tag.js.map +1 -1
  139. package/dist/tags-input.d.ts +3 -3
  140. package/dist/tags-input.js +1 -1
  141. package/dist/tags-input.js.map +1 -1
  142. package/dist/text-formats.d.ts +2 -2
  143. package/dist/text-formats.js +2 -2
  144. package/dist/text-formats.js.map +1 -1
  145. package/dist/thinking-orb-recipe.d.ts +15 -0
  146. package/dist/thinking-orb-recipe.d.ts.map +1 -0
  147. package/dist/thinking-orb-recipe.js +9 -0
  148. package/dist/thinking-orb-recipe.js.map +1 -0
  149. package/dist/thinking-orb.d.ts +25 -0
  150. package/dist/thinking-orb.d.ts.map +1 -0
  151. package/dist/thinking-orb.js +40 -0
  152. package/dist/thinking-orb.js.map +1 -0
  153. package/dist/toast-liquid.d.ts +116 -0
  154. package/dist/toast-liquid.d.ts.map +1 -0
  155. package/dist/toast-liquid.js +103 -0
  156. package/dist/toast-liquid.js.map +1 -0
  157. package/dist/toast.d.ts +7 -1
  158. package/dist/toast.d.ts.map +1 -1
  159. package/dist/toast.js +5 -0
  160. package/dist/toast.js.map +1 -1
  161. package/dist/toggle-group.d.ts +2 -2
  162. package/dist/toggle-group.js +3 -3
  163. package/dist/toggle-group.js.map +1 -1
  164. package/dist/transfer-list.d.ts +3 -3
  165. package/dist/transfer-list.js +1 -1
  166. package/dist/transfer-list.js.map +1 -1
  167. package/dist/tree.d.ts +2 -2
  168. package/dist/version.d.ts +1 -1
  169. package/dist/version.js +1 -1
  170. package/dist/version.js.map +1 -1
  171. package/dist/virtual-list.d.ts +13 -0
  172. package/dist/virtual-list.d.ts.map +1 -0
  173. package/dist/virtual-list.js +13 -0
  174. package/dist/virtual-list.js.map +1 -0
  175. package/dist/watermark.d.ts +15 -0
  176. package/dist/watermark.d.ts.map +1 -0
  177. package/dist/watermark.js +11 -0
  178. package/dist/watermark.js.map +1 -0
  179. package/docs/affix.md +27 -63
  180. package/docs/anchor.md +5 -4
  181. package/docs/ant-design-coverage.md +8 -12
  182. package/docs/architecture.md +6 -2
  183. package/docs/authoring-brief.md +3 -2
  184. package/docs/bottom-navigation.md +7 -6
  185. package/docs/breadcrumb.md +5 -2
  186. package/docs/calendar.md +6 -3
  187. package/docs/carousel.md +2 -2
  188. package/docs/cascader.md +11 -0
  189. package/docs/catalog-cleanup.md +7 -0
  190. package/docs/catalog-decision-status.md +8 -3
  191. package/docs/catalog-freeze.json +9 -7
  192. package/docs/collapsible.md +12 -0
  193. package/docs/color-picker.md +30 -72
  194. package/docs/command-palette.md +5 -3
  195. package/docs/confirm-popover.md +5 -0
  196. package/docs/consumer-policy.md +29 -12
  197. package/docs/context-menu.md +12 -2
  198. package/docs/data-table.md +11 -6
  199. package/docs/date-picker.md +6 -4
  200. package/docs/date-range.md +4 -2
  201. package/docs/description-list.md +8 -9
  202. package/docs/dialog.md +39 -0
  203. package/docs/expansion-roadmap.md +11 -7
  204. package/docs/file-picker.md +5 -3
  205. package/docs/form.md +16 -4
  206. package/docs/generated/component-maturity.md +91 -99
  207. package/docs/generated/renderer-evidence.json +2043 -1059
  208. package/docs/generated/renderer-evidence.md +156 -145
  209. package/docs/generated/showcase-manifest.json +476 -625
  210. package/docs/layout.md +8 -9
  211. package/docs/library-gap-analysis.md +1 -1
  212. package/docs/masonry.md +11 -0
  213. package/docs/mentions.md +14 -7
  214. package/docs/optional-adapters.md +126 -0
  215. package/docs/otp-field.md +2 -1
  216. package/docs/pagination.md +4 -1
  217. package/docs/password-field.md +2 -1
  218. package/docs/popover.md +9 -6
  219. package/docs/promotion-candidates.md +2 -1
  220. package/docs/qr-code.md +11 -65
  221. package/docs/rating.md +5 -0
  222. package/docs/react-native-completion.md +1 -1
  223. package/docs/result.md +8 -5
  224. package/docs/screen-chrome.md +2 -1
  225. package/docs/sheet.md +8 -2
  226. package/docs/showcase.md +10 -2
  227. package/docs/side-panel.md +12 -6
  228. package/docs/sidebar.md +3 -0
  229. package/docs/splitter.md +6 -6
  230. package/docs/stable-core.md +92 -0
  231. package/docs/stable-promotion.md +47 -43
  232. package/docs/tags-input.md +5 -2
  233. package/docs/theme-palette.md +27 -0
  234. package/docs/thinking-orb.md +124 -0
  235. package/docs/time-picker.md +5 -0
  236. package/docs/timeline.md +2 -3
  237. package/docs/toast.md +6 -0
  238. package/docs/tooltip.md +2 -1
  239. package/docs/tour.md +14 -8
  240. package/docs/transfer-list.md +24 -21
  241. package/docs/tree-select.md +7 -1
  242. package/docs/tree.md +12 -7
  243. package/docs/upload-item.md +7 -3
  244. package/docs/virtual-list.md +10 -67
  245. package/docs/watermark.md +26 -58
  246. package/package.json +54 -3
  247. package/docs/app-provider.md +0 -50
  248. package/docs/border-beam.md +0 -66
  249. package/docs/chart.md +0 -33
  250. package/docs/utility.md +0 -53
@@ -121,8 +121,8 @@ declare const antDesignReferenceSources: readonly [{
121
121
  }, {
122
122
  readonly name: "Cascader";
123
123
  readonly category: "data-entry";
124
- readonly targets: readonly ["Cascader"];
125
- readonly relationship: "direct";
124
+ readonly targets: readonly ["Popover", "Tree"];
125
+ readonly relationship: "decomposed";
126
126
  }, {
127
127
  readonly name: "Checkbox";
128
128
  readonly category: "data-entry";
@@ -166,8 +166,8 @@ declare const antDesignReferenceSources: readonly [{
166
166
  }, {
167
167
  readonly name: "Rate";
168
168
  readonly category: "data-entry";
169
- readonly targets: readonly ["Rating"];
170
- readonly relationship: "adapted";
169
+ readonly targets: readonly ["Slider", "Statistic"];
170
+ readonly relationship: "decomposed";
171
171
  }, {
172
172
  readonly name: "Select";
173
173
  readonly category: "data-entry";
@@ -186,8 +186,8 @@ declare const antDesignReferenceSources: readonly [{
186
186
  }, {
187
187
  readonly name: "TimePicker";
188
188
  readonly category: "data-entry";
189
- readonly targets: readonly ["TimePicker"];
190
- readonly relationship: "direct";
189
+ readonly targets: readonly ["Select"];
190
+ readonly relationship: "adapted";
191
191
  }, {
192
192
  readonly name: "Transfer";
193
193
  readonly category: "data-entry";
@@ -196,8 +196,8 @@ declare const antDesignReferenceSources: readonly [{
196
196
  }, {
197
197
  readonly name: "TreeSelect";
198
198
  readonly category: "data-entry";
199
- readonly targets: readonly ["TreeSelect"];
200
- readonly relationship: "direct";
199
+ readonly targets: readonly ["Popover", "Tree"];
200
+ readonly relationship: "decomposed";
201
201
  }, {
202
202
  readonly name: "Upload";
203
203
  readonly category: "data-entry";
@@ -338,8 +338,8 @@ declare const antDesignReferenceSources: readonly [{
338
338
  }, {
339
339
  readonly name: "Popconfirm";
340
340
  readonly category: "feedback";
341
- readonly targets: readonly ["ConfirmPopover"];
342
- readonly relationship: "adapted";
341
+ readonly targets: readonly ["Popover", "AlertDialog"];
342
+ readonly relationship: "decomposed";
343
343
  }, {
344
344
  readonly name: "Progress";
345
345
  readonly category: "feedback";
@@ -370,26 +370,11 @@ declare const antDesignReferenceSources: readonly [{
370
370
  readonly category: "other";
371
371
  readonly targets: readonly ["Affix"];
372
372
  readonly relationship: "direct";
373
- }, {
374
- readonly name: "App";
375
- readonly category: "other";
376
- readonly targets: readonly ["AppProvider"];
377
- readonly relationship: "adapted";
378
- }, {
379
- readonly name: "BorderBeam";
380
- readonly category: "other";
381
- readonly targets: readonly ["BorderBeam"];
382
- readonly relationship: "direct";
383
373
  }, {
384
374
  readonly name: "ConfigProvider";
385
375
  readonly category: "other";
386
376
  readonly targets: readonly ["DesignSystemProvider"];
387
377
  readonly relationship: "adapted";
388
- }, {
389
- readonly name: "Util";
390
- readonly category: "other";
391
- readonly targets: readonly ["Utility"];
392
- readonly relationship: "adapted";
393
378
  }];
394
379
  export declare const antDesignReferenceComponents: readonly AntDesignReferenceComponent[];
395
380
  export type AntDesignComponentName = (typeof antDesignReferenceSources)[number]["name"];
@@ -1 +1 @@
1
- {"version":3,"file":"component-references.d.ts","sourceRoot":"","sources":["../src/component-references.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAG3B,MAAM,cAAc,CAAC;AACtB,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,CAAC;AAExE,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,OAAO,EAAE,SAAS,WAAW,EAAE,CAAC;IAChC,YAAY,EAAE,qBAAqB,CAAC;IACpC,SAAS,CAAC,EAAE,YAAY,GAAG,KAAK,CAAC;CAClC,CAAC,CAAC;AAKH,eAAO,MAAM,wBAAwB;;;;;;;CAO3B,CAAC;AAEX;;;;;GAKG;AACH,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC;IAChB,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,eAAe,EAAE,MAAM,CAAC;IACxB,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,gBAAgB,EAAE,MAAM,CAAC;IACzB,+EAA+E;IAC/E,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qCAAqC;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,CAAC;CAChE,CAAC,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,iBAAiB,EAAE,MAAM,GACxB,SAAS,2BAA2B,EAAE,CAQxC;AAED,wBAAgB,0BAA0B,CACxC,OAAO,GAAE,SAAS,qBAAqB,EAAqB,GAC3D,wBAAwB,CAyC1B"}
@@ -34,7 +34,7 @@ const antDesignReferenceSources = [
34
34
  { name: "Steps", category: "navigation", targets: ["Steps"], relationship: "direct" },
35
35
  { name: "Tabs", category: "navigation", targets: ["Tabs"], relationship: "direct" },
36
36
  { name: "AutoComplete", category: "data-entry", targets: ["Combobox"], relationship: "adapted" },
37
- { name: "Cascader", category: "data-entry", targets: ["Cascader"], relationship: "direct" },
37
+ { name: "Cascader", category: "data-entry", targets: ["Popover", "Tree"], relationship: "decomposed" },
38
38
  { name: "Checkbox", category: "data-entry", targets: ["Checkbox", "CheckboxGroup"], relationship: "decomposed" },
39
39
  { name: "ColorPicker", category: "data-entry", targets: ["ColorPicker"], relationship: "direct" },
40
40
  { name: "DatePicker", category: "data-entry", targets: ["DatePicker"], relationship: "direct" },
@@ -43,13 +43,13 @@ const antDesignReferenceSources = [
43
43
  { name: "InputNumber", category: "data-entry", targets: ["NumberField"], relationship: "adapted" },
44
44
  { name: "Mentions", category: "data-entry", targets: ["Mentions"], relationship: "direct" },
45
45
  { name: "Radio", category: "data-entry", targets: ["Radio", "RadioGroup"], relationship: "decomposed" },
46
- { name: "Rate", category: "data-entry", targets: ["Rating"], relationship: "adapted" },
46
+ { name: "Rate", category: "data-entry", targets: ["Slider", "Statistic"], relationship: "decomposed" },
47
47
  { name: "Select", category: "data-entry", targets: ["Select"], relationship: "direct" },
48
48
  { name: "Slider", category: "data-entry", targets: ["Slider"], relationship: "direct" },
49
49
  { name: "Switch", category: "data-entry", targets: ["Switch"], relationship: "direct" },
50
- { name: "TimePicker", category: "data-entry", targets: ["TimePicker"], relationship: "direct" },
50
+ { name: "TimePicker", category: "data-entry", targets: ["Select"], relationship: "adapted" },
51
51
  { name: "Transfer", category: "data-entry", targets: ["TransferList"], relationship: "adapted" },
52
- { name: "TreeSelect", category: "data-entry", targets: ["TreeSelect"], relationship: "direct" },
52
+ { name: "TreeSelect", category: "data-entry", targets: ["Popover", "Tree"], relationship: "decomposed" },
53
53
  { name: "Upload", category: "data-entry", targets: ["FilePicker", "UploadItem"], relationship: "decomposed" },
54
54
  { name: "Avatar", category: "data-display", targets: ["Avatar"], relationship: "direct" },
55
55
  { name: "Badge", category: "data-display", targets: ["Badge", "CounterBadge"], relationship: "decomposed" },
@@ -77,17 +77,14 @@ const antDesignReferenceSources = [
77
77
  { name: "Message", category: "feedback", targets: ["Toast"], relationship: "adapted" },
78
78
  { name: "Modal", category: "feedback", targets: ["Dialog", "AlertDialog"], relationship: "decomposed" },
79
79
  { name: "Notification", category: "feedback", targets: ["Toast"], relationship: "adapted" },
80
- { name: "Popconfirm", category: "feedback", targets: ["ConfirmPopover"], relationship: "adapted" },
80
+ { name: "Popconfirm", category: "feedback", targets: ["Popover", "AlertDialog"], relationship: "decomposed" },
81
81
  { name: "Progress", category: "feedback", targets: ["Progress"], relationship: "direct" },
82
82
  { name: "Result", category: "feedback", targets: ["Result"], relationship: "direct" },
83
83
  { name: "Skeleton", category: "feedback", targets: ["Skeleton"], relationship: "direct" },
84
84
  { name: "Spin", category: "feedback", targets: ["Spinner"], relationship: "adapted" },
85
85
  { name: "Watermark", category: "feedback", targets: ["Watermark"], relationship: "direct" },
86
86
  { name: "Affix", category: "other", targets: ["Affix"], relationship: "direct" },
87
- { name: "App", category: "other", targets: ["AppProvider"], relationship: "adapted" },
88
- { name: "BorderBeam", category: "other", targets: ["BorderBeam"], relationship: "direct" },
89
87
  { name: "ConfigProvider", category: "other", targets: ["DesignSystemProvider"], relationship: "adapted" },
90
- { name: "Util", category: "other", targets: ["Utility"], relationship: "adapted" },
91
88
  ];
92
89
  export const antDesignReferenceComponents = antDesignReferenceSources.map((reference) => ({
93
90
  ...reference,
@@ -1 +1 @@
1
- {"version":3,"file":"component-references.js","sourceRoot":"","sources":["../src/component-references.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,GAIjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,oBAAoB,EACpB,YAAY,GAEb,MAAM,4BAA4B,CAAC;AAwBpC,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,yCAAyC;CACzC,CAAC;AAEX;;;;;GAKG;AACH,MAAM,yBAAyB,GAAG;IAChC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE;IACpF,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE;IACxG,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE;IAChF,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE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GAAG,CAAC,CAAC;IAExB,KAAK,MAAM,SAAS,IAAI,4BAA4B,EAAE,CAAC;QACrD,aAAa,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;QAC3C,MAAM,cAAc,GAAG,SAAS,CAAC,OAAO;aACrC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;aACvC,MAAM,CAAC,CAAC,MAAM,EAA6B,EAAE,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC;QACvE,IAAI,cAAc,CAAC,MAAM,KAAK,SAAS,CAAC,OAAO,CAAC,MAAM;YAAE,OAAO,IAAI,CAAC,CAAC;QACrE,MAAM,aAAa,GAAG,cAAc,CAAC,MAAM,CACzC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,MAAM,CACrD,CAAC,MAAM,CAAC;QACT,IAAI,aAAa,KAAK,SAAS,CAAC,OAAO,CAAC,MAAM;YAAE,WAAW,IAAI,CAAC,CAAC;aAC5D,IAAI,aAAa,GAAG,CAAC;YAAE,eAAe,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,MAAM,WAAW,GAAG,4BAA4B,CAAC,MAAM,GAAG,WAAW,GAAG,eAAe,CAAC;IAExF,OAAO;QACL,KAAK,EAAE,4BAA4B,CAAC,MAAM;QAC1C,OAAO;QACP,WAAW;QACX,eAAe;QACf,WAAW;QACX,yEAAyE;QACzE,gEAAgE;QAChE,gBAAgB,EAAE,WAAW;QAC7B,oBAAoB,EAAE,eAAe;QACrC,YAAY,EAAE,WAAW;QACzB,aAAa;KACd,CAAC;AACJ,CAAC","sourcesContent":["import {\n componentCatalog,\n type ComponentCatalogEntry,\n type ComponentName,\n type ComponentStatus,\n} from \"./catalog.js\";\nimport {\n componentDefinitions,\n componentIds,\n type ComponentId,\n} from \"./component-definitions.js\";\n\nexport type ReferenceRelationship = \"direct\" | \"adapted\" | \"decomposed\";\n\nexport type AntDesignCategory =\n | \"general\"\n | \"layout\"\n | \"navigation\"\n | \"data-entry\"\n | \"data-display\"\n | \"feedback\"\n | \"other\";\n\nexport type AntDesignReferenceComponent = Readonly<{\n name: string;\n category: AntDesignCategory;\n targets: readonly ComponentId[];\n relationship: ReferenceRelationship;\n lifecycle?: \"deprecated\" | \"new\";\n}>;\n\ntype AntDesignReferenceSourceComponent = Omit<AntDesignReferenceComponent, \"targets\"> &\n Readonly<{ targets: readonly ComponentName[] }>;\n\nexport const antDesignReferenceSystem = {\n id: \"ant-design\",\n name: \"Ant Design\",\n version: \"6.6.1\",\n capturedAt: \"2026-08-20\",\n scope: \"core\",\n source: \"https://ant.design/components/overview/\",\n} as const;\n\n/**\n * Ant Design is a coverage benchmark, not a runtime or API dependency.\n * Every reference component maps to one or more stable HJM component IDs so broad\n * ecosystem coverage can be tracked without copying Ant Design's appearance,\n * prop names, or Web-only assumptions into the shared core.\n */\nconst antDesignReferenceSources = [\n { name: \"Button\", category: \"general\", targets: [\"Button\"], relationship: \"direct\" },\n { name: \"FloatButton\", category: \"general\", targets: [\"FloatingActionButton\"], relationship: \"adapted\" },\n { name: \"Icon\", category: \"general\", targets: [\"Icon\"], relationship: \"direct\" },\n { name: \"Typography\", category: \"general\", targets: [\"Text\", \"Link\"], relationship: \"decomposed\" },\n\n { name: \"Divider\", category: \"layout\", targets: [\"Divider\"], relationship: \"direct\" },\n { name: \"Flex\", category: \"layout\", targets: [\"Stack\"], relationship: \"adapted\" },\n { name: \"Grid\", category: \"layout\", targets: [\"Grid\"], relationship: \"direct\" },\n { name: \"Layout\", category: \"layout\", targets: [\"Layout\"], relationship: \"direct\" },\n { name: \"Masonry\", category: \"layout\", targets: [\"Masonry\"], relationship: \"direct\" },\n { name: \"Space\", category: \"layout\", targets: [\"Stack\"], relationship: \"adapted\" },\n { name: \"Splitter\", category: \"layout\", targets: [\"Splitter\"], relationship: \"direct\" },\n\n { name: \"Anchor\", category: \"navigation\", targets: [\"Anchor\"], relationship: \"direct\" },\n { name: \"Breadcrumb\", category: \"navigation\", targets: [\"Breadcrumb\"], relationship: \"direct\" },\n { name: \"Dropdown\", category: \"navigation\", targets: [\"Menu\"], relationship: \"adapted\" },\n { name: \"Menu\", category: \"navigation\", targets: [\"Menu\"], relationship: \"direct\" },\n { name: \"Pagination\", category: \"navigation\", targets: [\"Pagination\"], relationship: \"direct\" },\n { name: \"Steps\", category: \"navigation\", targets: [\"Steps\"], relationship: \"direct\" },\n { name: \"Tabs\", category: \"navigation\", targets: [\"Tabs\"], relationship: \"direct\" },\n\n { name: \"AutoComplete\", category: \"data-entry\", targets: [\"Combobox\"], relationship: \"adapted\" },\n { name: \"Cascader\", category: \"data-entry\", targets: [\"Cascader\"], relationship: \"direct\" },\n { name: \"Checkbox\", category: \"data-entry\", targets: [\"Checkbox\", \"CheckboxGroup\"], relationship: \"decomposed\" },\n { name: \"ColorPicker\", category: \"data-entry\", targets: [\"ColorPicker\"], relationship: \"direct\" },\n { name: \"DatePicker\", category: \"data-entry\", targets: [\"DatePicker\"], relationship: \"direct\" },\n { name: \"Form\", category: \"data-entry\", targets: [\"Form\", \"Field\"], relationship: \"decomposed\" },\n { name: \"Input\", category: \"data-entry\", targets: [\"Field\", \"TextArea\", \"SearchField\", \"PasswordField\", \"OtpField\"], relationship: \"decomposed\" },\n { name: \"InputNumber\", category: \"data-entry\", targets: [\"NumberField\"], relationship: \"adapted\" },\n { name: \"Mentions\", category: \"data-entry\", targets: [\"Mentions\"], relationship: \"direct\" },\n { name: \"Radio\", category: \"data-entry\", targets: [\"Radio\", \"RadioGroup\"], relationship: \"decomposed\" },\n { name: \"Rate\", category: \"data-entry\", targets: [\"Rating\"], relationship: \"adapted\" },\n { name: \"Select\", category: \"data-entry\", targets: [\"Select\"], relationship: \"direct\" },\n { name: \"Slider\", category: \"data-entry\", targets: [\"Slider\"], relationship: \"direct\" },\n { name: \"Switch\", category: \"data-entry\", targets: [\"Switch\"], relationship: \"direct\" },\n { name: \"TimePicker\", category: \"data-entry\", targets: [\"TimePicker\"], relationship: \"direct\" },\n { name: \"Transfer\", category: \"data-entry\", targets: [\"TransferList\"], relationship: \"adapted\" },\n { name: \"TreeSelect\", category: \"data-entry\", targets: [\"TreeSelect\"], relationship: \"direct\" },\n { name: \"Upload\", category: \"data-entry\", targets: [\"FilePicker\", \"UploadItem\"], relationship: \"decomposed\" },\n\n { name: \"Avatar\", category: \"data-display\", targets: [\"Avatar\"], relationship: \"direct\" },\n { name: \"Badge\", category: \"data-display\", targets: [\"Badge\", \"CounterBadge\"], relationship: \"decomposed\" },\n { name: \"Calendar\", category: \"data-display\", targets: [\"Calendar\"], relationship: \"direct\" },\n { name: \"Card\", category: \"data-display\", targets: [\"Card\"], relationship: \"direct\" },\n { name: \"Carousel\", category: \"data-display\", targets: [\"Carousel\"], relationship: \"direct\" },\n { name: \"Collapse\", category: \"data-display\", targets: [\"Accordion\"], relationship: \"adapted\" },\n { name: \"Descriptions\", category: \"data-display\", targets: [\"DescriptionList\"], relationship: \"adapted\" },\n { name: \"Empty\", category: \"data-display\", targets: [\"EmptyState\"], relationship: \"adapted\" },\n { name: \"Image\", category: \"data-display\", targets: [\"Image\"], relationship: \"direct\" },\n { name: \"List\", category: \"data-display\", targets: [\"List\", \"ListRow\"], relationship: \"decomposed\", lifecycle: \"deprecated\" },\n { name: \"Listy\", category: \"data-display\", targets: [\"VirtualList\"], relationship: \"adapted\", lifecycle: \"new\" },\n { name: \"Popover\", category: \"data-display\", targets: [\"Popover\"], relationship: \"direct\" },\n { name: \"QRCode\", category: \"data-display\", targets: [\"QRCode\"], relationship: \"direct\" },\n { name: \"Segmented\", category: \"data-display\", targets: [\"SegmentedControl\"], relationship: \"adapted\" },\n { name: \"Statistic\", category: \"data-display\", targets: [\"Statistic\"], relationship: \"direct\" },\n { name: \"Table\", category: \"data-display\", targets: [\"DataTable\"], relationship: \"adapted\" },\n { name: \"Tag\", category: \"data-display\", targets: [\"Tag\"], relationship: \"direct\" },\n { name: \"Timeline\", category: \"data-display\", targets: [\"Timeline\"], relationship: \"direct\" },\n { name: \"Tooltip\", category: \"data-display\", targets: [\"Tooltip\"], relationship: \"direct\" },\n { name: \"Tour\", category: \"data-display\", targets: [\"Tour\"], relationship: \"direct\" },\n { name: \"Tree\", category: \"data-display\", targets: [\"Tree\"], relationship: \"direct\" },\n\n { name: \"Alert\", category: \"feedback\", targets: [\"Notice\"], relationship: \"adapted\" },\n { name: \"Drawer\", category: \"feedback\", targets: [\"Sheet\", \"SidePanel\"], relationship: \"decomposed\" },\n { name: \"Message\", category: \"feedback\", targets: [\"Toast\"], relationship: \"adapted\" },\n { name: \"Modal\", category: \"feedback\", targets: [\"Dialog\", \"AlertDialog\"], relationship: \"decomposed\" },\n { name: \"Notification\", category: \"feedback\", targets: [\"Toast\"], relationship: \"adapted\" },\n { name: \"Popconfirm\", category: \"feedback\", targets: [\"ConfirmPopover\"], relationship: \"adapted\" },\n { name: \"Progress\", category: \"feedback\", targets: [\"Progress\"], relationship: \"direct\" },\n { name: \"Result\", category: \"feedback\", targets: [\"Result\"], relationship: \"direct\" },\n { name: \"Skeleton\", category: \"feedback\", targets: [\"Skeleton\"], relationship: \"direct\" },\n { name: \"Spin\", category: \"feedback\", targets: [\"Spinner\"], relationship: \"adapted\" },\n { name: \"Watermark\", category: \"feedback\", targets: [\"Watermark\"], relationship: \"direct\" },\n\n { name: \"Affix\", category: \"other\", targets: [\"Affix\"], relationship: \"direct\" },\n { name: \"App\", category: \"other\", targets: [\"AppProvider\"], relationship: \"adapted\" },\n { name: \"BorderBeam\", category: \"other\", targets: [\"BorderBeam\"], relationship: \"direct\" },\n { name: \"ConfigProvider\", category: \"other\", targets: [\"DesignSystemProvider\"], relationship: \"adapted\" },\n { name: \"Util\", category: \"other\", targets: [\"Utility\"], relationship: \"adapted\" },\n] as const satisfies readonly AntDesignReferenceSourceComponent[];\n\nexport const antDesignReferenceComponents: readonly AntDesignReferenceComponent[] =\n antDesignReferenceSources.map((reference) => ({\n ...reference,\n targets: reference.targets.map((target) => componentIds[target]),\n }));\n\nexport type AntDesignComponentName = (typeof antDesignReferenceSources)[number][\"name\"];\n\nexport type ReferenceCoverageSummary = Readonly<{\n total: number;\n tracked: number;\n /** Every HJM target has reached stable or beta maturity. */\n fullyMature: number;\n /** At least one, but not every, HJM target has reached stable or beta maturity. */\n partiallyMature: number;\n /** No HJM target has moved beyond planned maturity. */\n plannedOnly: number;\n /** @deprecated Status maturity is not proof that a preview renderer exists. */\n fullyPreviewable: number;\n /** @deprecated Status maturity is not proof that a preview renderer exists. */\n partiallyPreviewable: number;\n /** @deprecated Use `plannedOnly`. */\n contractOnly: number;\n relationships: Readonly<Record<ReferenceRelationship, number>>;\n}>;\n\nexport function getAntDesignReferencesFor(\n componentNameOrId: string,\n): readonly AntDesignReferenceComponent[] {\n const definition = componentDefinitions.find(\n ({ id, name }) => id === componentNameOrId || name === componentNameOrId,\n );\n if (!definition) return [];\n return antDesignReferenceComponents.filter(({ targets }) =>\n targets.includes(definition.id),\n );\n}\n\nexport function summarizeAntDesignCoverage(\n entries: readonly ComponentCatalogEntry[] = componentCatalog,\n): ReferenceCoverageSummary {\n const statusById = new Map(\n entries.map((entry) => [componentIds[entry.name as ComponentName], entry.status]),\n );\n const relationships: Record<ReferenceRelationship, number> = {\n direct: 0,\n adapted: 0,\n decomposed: 0,\n };\n let tracked = 0;\n let fullyMature = 0;\n let partiallyMature = 0;\n\n for (const reference of antDesignReferenceComponents) {\n relationships[reference.relationship] += 1;\n const targetStatuses = reference.targets\n .map((target) => statusById.get(target))\n .filter((status): status is ComponentStatus => status !== undefined);\n if (targetStatuses.length === reference.targets.length) tracked += 1;\n const matureTargets = targetStatuses.filter(\n (status) => status === \"stable\" || status === \"beta\",\n ).length;\n if (matureTargets === reference.targets.length) fullyMature += 1;\n else if (matureTargets > 0) partiallyMature += 1;\n }\n\n const plannedOnly = antDesignReferenceComponents.length - fullyMature - partiallyMature;\n\n return {\n total: antDesignReferenceComponents.length,\n tracked,\n fullyMature,\n partiallyMature,\n plannedOnly,\n // Backward-compatible aliases. These names predate the evidence registry\n // and must not be used as renderer or preview counts in new UI.\n fullyPreviewable: fullyMature,\n partiallyPreviewable: partiallyMature,\n contractOnly: plannedOnly,\n relationships,\n };\n}\n"]}
1
+ {"version":3,"file":"component-references.js","sourceRoot":"","sources":["../src/component-references.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,GAIjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,oBAAoB,EACpB,YAAY,GAEb,MAAM,4BAA4B,CAAC;AAwBpC,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,yCAAyC;CACzC,CAAC;AAEX;;;;;GAKG;AACH,MAAM,yBAAyB,GAAG;IAChC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE;IACpF,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE;IACxG,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE;IAChF,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE;IAElG,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE;IACrF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M,EAAE,EAAE,CAAC,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,MAAM,CACrD,CAAC,MAAM,CAAC;QACT,IAAI,aAAa,KAAK,SAAS,CAAC,OAAO,CAAC,MAAM;YAAE,WAAW,IAAI,CAAC,CAAC;aAC5D,IAAI,aAAa,GAAG,CAAC;YAAE,eAAe,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,MAAM,WAAW,GAAG,4BAA4B,CAAC,MAAM,GAAG,WAAW,GAAG,eAAe,CAAC;IAExF,OAAO;QACL,KAAK,EAAE,4BAA4B,CAAC,MAAM;QAC1C,OAAO;QACP,WAAW;QACX,eAAe;QACf,WAAW;QACX,yEAAyE;QACzE,gEAAgE;QAChE,gBAAgB,EAAE,WAAW;QAC7B,oBAAoB,EAAE,eAAe;QACrC,YAAY,EAAE,WAAW;QACzB,aAAa;KACd,CAAC;AACJ,CAAC","sourcesContent":["import {\n componentCatalog,\n type ComponentCatalogEntry,\n type ComponentName,\n type ComponentStatus,\n} from \"./catalog.js\";\nimport {\n componentDefinitions,\n componentIds,\n type ComponentId,\n} from \"./component-definitions.js\";\n\nexport type ReferenceRelationship = \"direct\" | \"adapted\" | \"decomposed\";\n\nexport type AntDesignCategory =\n | \"general\"\n | \"layout\"\n | \"navigation\"\n | \"data-entry\"\n | \"data-display\"\n | \"feedback\"\n | \"other\";\n\nexport type AntDesignReferenceComponent = Readonly<{\n name: string;\n category: AntDesignCategory;\n targets: readonly ComponentId[];\n relationship: ReferenceRelationship;\n lifecycle?: \"deprecated\" | \"new\";\n}>;\n\ntype AntDesignReferenceSourceComponent = Omit<AntDesignReferenceComponent, \"targets\"> &\n Readonly<{ targets: readonly ComponentName[] }>;\n\nexport const antDesignReferenceSystem = {\n id: \"ant-design\",\n name: \"Ant Design\",\n version: \"6.6.1\",\n capturedAt: \"2026-08-20\",\n scope: \"core\",\n source: \"https://ant.design/components/overview/\",\n} as const;\n\n/**\n * Ant Design is a coverage benchmark, not a runtime or API dependency.\n * Every reference component maps to one or more stable HJM component IDs so broad\n * ecosystem coverage can be tracked without copying Ant Design's appearance,\n * prop names, or Web-only assumptions into the shared core.\n */\nconst antDesignReferenceSources = [\n { name: \"Button\", category: \"general\", targets: [\"Button\"], relationship: \"direct\" },\n { name: \"FloatButton\", category: \"general\", targets: [\"FloatingActionButton\"], relationship: \"adapted\" },\n { name: \"Icon\", category: \"general\", targets: [\"Icon\"], relationship: \"direct\" },\n { name: \"Typography\", category: \"general\", targets: [\"Text\", \"Link\"], relationship: \"decomposed\" },\n\n { name: \"Divider\", category: \"layout\", targets: [\"Divider\"], relationship: \"direct\" },\n { name: \"Flex\", category: \"layout\", targets: [\"Stack\"], relationship: \"adapted\" },\n { name: \"Grid\", category: \"layout\", targets: [\"Grid\"], relationship: \"direct\" },\n { name: \"Layout\", category: \"layout\", targets: [\"Layout\"], relationship: \"direct\" },\n { name: \"Masonry\", category: \"layout\", targets: [\"Masonry\"], relationship: \"direct\" },\n { name: \"Space\", category: \"layout\", targets: [\"Stack\"], relationship: \"adapted\" },\n { name: \"Splitter\", category: \"layout\", targets: [\"Splitter\"], relationship: \"direct\" },\n\n { name: \"Anchor\", category: \"navigation\", targets: [\"Anchor\"], relationship: \"direct\" },\n { name: \"Breadcrumb\", category: \"navigation\", targets: [\"Breadcrumb\"], relationship: \"direct\" },\n { name: \"Dropdown\", category: \"navigation\", targets: [\"Menu\"], relationship: \"adapted\" },\n { name: \"Menu\", category: \"navigation\", targets: [\"Menu\"], relationship: \"direct\" },\n { name: \"Pagination\", category: \"navigation\", targets: [\"Pagination\"], relationship: \"direct\" },\n { name: \"Steps\", category: \"navigation\", targets: [\"Steps\"], relationship: \"direct\" },\n { name: \"Tabs\", category: \"navigation\", targets: [\"Tabs\"], relationship: \"direct\" },\n\n { name: \"AutoComplete\", category: \"data-entry\", targets: [\"Combobox\"], relationship: \"adapted\" },\n { name: \"Cascader\", category: \"data-entry\", targets: [\"Popover\", \"Tree\"], relationship: \"decomposed\" },\n { name: \"Checkbox\", category: \"data-entry\", targets: [\"Checkbox\", \"CheckboxGroup\"], relationship: \"decomposed\" },\n { name: \"ColorPicker\", category: \"data-entry\", targets: [\"ColorPicker\"], relationship: \"direct\" },\n { name: \"DatePicker\", category: \"data-entry\", targets: [\"DatePicker\"], relationship: \"direct\" },\n { name: \"Form\", category: \"data-entry\", targets: [\"Form\", \"Field\"], relationship: \"decomposed\" },\n { name: \"Input\", category: \"data-entry\", targets: [\"Field\", \"TextArea\", \"SearchField\", \"PasswordField\", \"OtpField\"], relationship: \"decomposed\" },\n { name: \"InputNumber\", category: \"data-entry\", targets: [\"NumberField\"], relationship: \"adapted\" },\n { name: \"Mentions\", category: \"data-entry\", targets: [\"Mentions\"], relationship: \"direct\" },\n { name: \"Radio\", category: \"data-entry\", targets: [\"Radio\", \"RadioGroup\"], relationship: \"decomposed\" },\n { name: \"Rate\", category: \"data-entry\", targets: [\"Slider\", \"Statistic\"], relationship: \"decomposed\" },\n { name: \"Select\", category: \"data-entry\", targets: [\"Select\"], relationship: \"direct\" },\n { name: \"Slider\", category: \"data-entry\", targets: [\"Slider\"], relationship: \"direct\" },\n { name: \"Switch\", category: \"data-entry\", targets: [\"Switch\"], relationship: \"direct\" },\n { name: \"TimePicker\", category: \"data-entry\", targets: [\"Select\"], relationship: \"adapted\" },\n { name: \"Transfer\", category: \"data-entry\", targets: [\"TransferList\"], relationship: \"adapted\" },\n { name: \"TreeSelect\", category: \"data-entry\", targets: [\"Popover\", \"Tree\"], relationship: \"decomposed\" },\n { name: \"Upload\", category: \"data-entry\", targets: [\"FilePicker\", \"UploadItem\"], relationship: \"decomposed\" },\n\n { name: \"Avatar\", category: \"data-display\", targets: [\"Avatar\"], relationship: \"direct\" },\n { name: \"Badge\", category: \"data-display\", targets: [\"Badge\", \"CounterBadge\"], relationship: \"decomposed\" },\n { name: \"Calendar\", category: \"data-display\", targets: [\"Calendar\"], relationship: \"direct\" },\n { name: \"Card\", category: \"data-display\", targets: [\"Card\"], relationship: \"direct\" },\n { name: \"Carousel\", category: \"data-display\", targets: [\"Carousel\"], relationship: \"direct\" },\n { name: \"Collapse\", category: \"data-display\", targets: [\"Accordion\"], relationship: \"adapted\" },\n { name: \"Descriptions\", category: \"data-display\", targets: [\"DescriptionList\"], relationship: \"adapted\" },\n { name: \"Empty\", category: \"data-display\", targets: [\"EmptyState\"], relationship: \"adapted\" },\n { name: \"Image\", category: \"data-display\", targets: [\"Image\"], relationship: \"direct\" },\n { name: \"List\", category: \"data-display\", targets: [\"List\", \"ListRow\"], relationship: \"decomposed\", lifecycle: \"deprecated\" },\n { name: \"Listy\", category: \"data-display\", targets: [\"VirtualList\"], relationship: \"adapted\", lifecycle: \"new\" },\n { name: \"Popover\", category: \"data-display\", targets: [\"Popover\"], relationship: \"direct\" },\n { name: \"QRCode\", category: \"data-display\", targets: [\"QRCode\"], relationship: \"direct\" },\n { name: \"Segmented\", category: \"data-display\", targets: [\"SegmentedControl\"], relationship: \"adapted\" },\n { name: \"Statistic\", category: \"data-display\", targets: [\"Statistic\"], relationship: \"direct\" },\n { name: \"Table\", category: \"data-display\", targets: [\"DataTable\"], relationship: \"adapted\" },\n { name: \"Tag\", category: \"data-display\", targets: [\"Tag\"], relationship: \"direct\" },\n { name: \"Timeline\", category: \"data-display\", targets: [\"Timeline\"], relationship: \"direct\" },\n { name: \"Tooltip\", category: \"data-display\", targets: [\"Tooltip\"], relationship: \"direct\" },\n { name: \"Tour\", category: \"data-display\", targets: [\"Tour\"], relationship: \"direct\" },\n { name: \"Tree\", category: \"data-display\", targets: [\"Tree\"], relationship: \"direct\" },\n\n { name: \"Alert\", category: \"feedback\", targets: [\"Notice\"], relationship: \"adapted\" },\n { name: \"Drawer\", category: \"feedback\", targets: [\"Sheet\", \"SidePanel\"], relationship: \"decomposed\" },\n { name: \"Message\", category: \"feedback\", targets: [\"Toast\"], relationship: \"adapted\" },\n { name: \"Modal\", category: \"feedback\", targets: [\"Dialog\", \"AlertDialog\"], relationship: \"decomposed\" },\n { name: \"Notification\", category: \"feedback\", targets: [\"Toast\"], relationship: \"adapted\" },\n { name: \"Popconfirm\", category: \"feedback\", targets: [\"Popover\", \"AlertDialog\"], relationship: \"decomposed\" },\n { name: \"Progress\", category: \"feedback\", targets: [\"Progress\"], relationship: \"direct\" },\n { name: \"Result\", category: \"feedback\", targets: [\"Result\"], relationship: \"direct\" },\n { name: \"Skeleton\", category: \"feedback\", targets: [\"Skeleton\"], relationship: \"direct\" },\n { name: \"Spin\", category: \"feedback\", targets: [\"Spinner\"], relationship: \"adapted\" },\n { name: \"Watermark\", category: \"feedback\", targets: [\"Watermark\"], relationship: \"direct\" },\n\n { name: \"Affix\", category: \"other\", targets: [\"Affix\"], relationship: \"direct\" },\n { name: \"ConfigProvider\", category: \"other\", targets: [\"DesignSystemProvider\"], relationship: \"adapted\" },\n] as const satisfies readonly AntDesignReferenceSourceComponent[];\n\nexport const antDesignReferenceComponents: readonly AntDesignReferenceComponent[] =\n antDesignReferenceSources.map((reference) => ({\n ...reference,\n targets: reference.targets.map((target) => componentIds[target]),\n }));\n\nexport type AntDesignComponentName = (typeof antDesignReferenceSources)[number][\"name\"];\n\nexport type ReferenceCoverageSummary = Readonly<{\n total: number;\n tracked: number;\n /** Every HJM target has reached stable or beta maturity. */\n fullyMature: number;\n /** At least one, but not every, HJM target has reached stable or beta maturity. */\n partiallyMature: number;\n /** No HJM target has moved beyond planned maturity. */\n plannedOnly: number;\n /** @deprecated Status maturity is not proof that a preview renderer exists. */\n fullyPreviewable: number;\n /** @deprecated Status maturity is not proof that a preview renderer exists. */\n partiallyPreviewable: number;\n /** @deprecated Use `plannedOnly`. */\n contractOnly: number;\n relationships: Readonly<Record<ReferenceRelationship, number>>;\n}>;\n\nexport function getAntDesignReferencesFor(\n componentNameOrId: string,\n): readonly AntDesignReferenceComponent[] {\n const definition = componentDefinitions.find(\n ({ id, name }) => id === componentNameOrId || name === componentNameOrId,\n );\n if (!definition) return [];\n return antDesignReferenceComponents.filter(({ targets }) =>\n targets.includes(definition.id),\n );\n}\n\nexport function summarizeAntDesignCoverage(\n entries: readonly ComponentCatalogEntry[] = componentCatalog,\n): ReferenceCoverageSummary {\n const statusById = new Map(\n entries.map((entry) => [componentIds[entry.name as ComponentName], entry.status]),\n );\n const relationships: Record<ReferenceRelationship, number> = {\n direct: 0,\n adapted: 0,\n decomposed: 0,\n };\n let tracked = 0;\n let fullyMature = 0;\n let partiallyMature = 0;\n\n for (const reference of antDesignReferenceComponents) {\n relationships[reference.relationship] += 1;\n const targetStatuses = reference.targets\n .map((target) => statusById.get(target))\n .filter((status): status is ComponentStatus => status !== undefined);\n if (targetStatuses.length === reference.targets.length) tracked += 1;\n const matureTargets = targetStatuses.filter(\n (status) => status === \"stable\" || status === \"beta\",\n ).length;\n if (matureTargets === reference.targets.length) fullyMature += 1;\n else if (matureTargets > 0) partiallyMature += 1;\n }\n\n const plannedOnly = antDesignReferenceComponents.length - fullyMature - partiallyMature;\n\n return {\n total: antDesignReferenceComponents.length,\n tracked,\n fullyMature,\n partiallyMature,\n plannedOnly,\n // Backward-compatible aliases. These names predate the evidence registry\n // and must not be used as renderer or preview counts in new UI.\n fullyPreviewable: fullyMature,\n partiallyPreviewable: partiallyMature,\n contractOnly: plannedOnly,\n relationships,\n };\n}\n"]}
@@ -83,7 +83,7 @@ export declare const dataTableRecipe: {
83
83
  readonly header: {
84
84
  readonly background: Readonly<{
85
85
  source: "theme";
86
- key: "surfaceAlt";
86
+ key: "bg";
87
87
  alpha?: number;
88
88
  }>;
89
89
  readonly color: Readonly<{
@@ -107,12 +107,12 @@ export declare const dataTableRecipe: {
107
107
  }>;
108
108
  readonly hoverBackground: Readonly<{
109
109
  source: "theme";
110
- key: "text";
110
+ key: "bg";
111
111
  alpha?: number;
112
112
  }>;
113
113
  readonly selectedBackground: Readonly<{
114
114
  source: "theme";
115
- key: "primary";
115
+ key: "bg";
116
116
  alpha?: number;
117
117
  }>;
118
118
  };
@@ -109,7 +109,7 @@ export const dataTableRecipe = {
109
109
  regular: { paddingVertical: spacing.sm, paddingHorizontal: spacing.md },
110
110
  },
111
111
  header: {
112
- background: semanticColors.surface.sunken,
112
+ background: semanticColors.canvas,
113
113
  color: semanticColors.content.secondary,
114
114
  textVariant: "label",
115
115
  fontWeight: fontWeight.bold,
@@ -1 +1 @@
1
- {"version":3,"file":"data-table.js","sourceRoot":"","sources":["../src/data-table.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAA0C,MAAM,kBAAkB,CAAC;AACxG,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AActD,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,KAAK;CAC0D,CAAC;AAE5E,SAAS,cAAc,CAAC,KAAa,EAAE,KAAa;IAClD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3D,MAAM,IAAI,SAAS,CAAC,aAAa,KAAK,oBAAoB,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,OAAkD;IAElD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,SAAS,CAAC,4CAA4C,CAAC,CAAC;IACpE,CAAC;IACD,MAAM,GAAG,GAAG,IAAI,GAAG,EAAO,CAAC;IAC3B,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,cAAc,CAAC,MAAM,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;QACvC,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;YACvB,MAAM,IAAI,SAAS,CAAC,kCAAkC,MAAM,CAAC,EAAE,EAAE,CAAC,C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AE;IAC9C,SAAS,EAAE;QACT,sEAAsE;QACtE,uDAAuD;QACvD,gEAAgE;QAChE,2EAA2E;QAC3E,qEAAqE;QACrE,uDAAuD;QACvD,uEAAuE;QACvE,+EAA+E;QAC/E,mDAAmD;QACnD,+CAA+C;KAChD;CACkC,CAAC","sourcesContent":["import type { ColorReference } from \"./color-references.js\";\nimport type {\n AsyncCollectionState,\n BehaviorContract,\n CheckboxState,\n CollectionKey,\n CollectionSelectionModel,\n} from \"./behaviors.js\";\nimport { collectionItemContract, focusIndicatorContract } from \"./component-contracts.js\";\nimport { control, fontWeight, spacing, type FontWeightValue, type TextVariant } from \"./foundations.js\";\nimport { semanticColors } from \"./semantic-colors.js\";\n\nexport type DataTableAlign = \"start\" | \"center\" | \"end\";\n\nexport type DataTableColumnDescriptor<Key extends CollectionKey = CollectionKey> = Readonly<{\n id: Key;\n /** Visible column header text; also the columnheader's accessible name. */\n header: string;\n align?: DataTableAlign;\n sortable?: boolean;\n /** Layout hint only (px or flex-basis); renderers may ignore or clamp it. */\n width?: number;\n}>;\n\nexport const dataTableColumnDefaults = {\n align: \"start\",\n sortable: false,\n} as const satisfies Readonly<{ align: DataTableAlign; sortable: boolean }>;\n\nfunction assertNonEmpty(value: string, field: string): void {\n if (typeof value !== \"string\" || value.trim().length === 0) {\n throw new TypeError(`DataTable ${field} must not be empty`);\n }\n}\n\nexport function validateDataTableColumns<Key extends CollectionKey>(\n columns: readonly DataTableColumnDescriptor<Key>[],\n): void {\n if (columns.length === 0) {\n throw new TypeError(\"DataTable must declare at least one column\");\n }\n const ids = new Set<Key>();\n for (const column of columns) {\n assertNonEmpty(column.id, \"column id\");\n if (ids.has(column.id)) {\n throw new TypeError(`Duplicate DataTable column id: ${column.id}`);\n }\n ids.add(column.id);\n assertNonEmpty(column.header, `column \"${column.id}\" header`);\n if (column.width !== undefined && (!Number.isFinite(column.width) || column.width <= 0)) {\n throw new RangeError(`DataTable column \"${column.id}\" width must be a positive finite number`);\n }\n }\n}\n\n/**\n * Row identity and selection deliberately do NOT reuse `CollectionItemDescriptor`\n * verbatim: a table row has no single visible `label`/`textValue` the way a\n * Menu or Select item does — its \"content\" is however many columns the\n * product renders per row. Only the parts of the Collection base contract\n * that are genuinely row-shaped (`CollectionKey` identity, `disabled`) apply.\n */\nexport type DataTableRowDescriptor<Key extends CollectionKey = CollectionKey> = Readonly<{\n id: Key;\n disabled?: boolean;\n}>;\n\nexport function validateDataTableRows<Key extends CollectionKey>(\n rows: readonly DataTableRowDescriptor<Key>[],\n): void {\n const ids = new Set<Key>();\n for (const row of rows) {\n assertNonEmpty(row.id, \"row id\");\n if (ids.has(row.id)) {\n throw new TypeError(`Duplicate DataTable row id: ${row.id}`);\n }\n ids.add(row.id);\n }\n}\n\n/** Row selection is the unmodified Collection base contract — no DataTable-only selection shape. */\nexport type DataTableSelection<Key extends CollectionKey = CollectionKey> =\n CollectionSelectionModel<Key>;\n\n/**\n * Header \"select all\" state as the same tri-state `CheckboxState` the\n * selection column's checkbox already renders (check/dash), instead of a new\n * `\"none\" | \"some\" | \"all\"` enum the recipe would have to translate again.\n * Disabled rows are excluded from both the denominator and the count.\n */\nexport function resolveDataTableSelectAllState<Key extends CollectionKey>(\n rows: readonly DataTableRowDescriptor<Key>[],\n selectedKeys: ReadonlySet<Key>,\n): CheckboxState {\n const selectable = rows.filter((row) => !row.disabled);\n if (selectable.length === 0) return false;\n const selectedCount = selectable.filter((row) => selectedKeys.has(row.id)).length;\n if (selectedCount === 0) return false;\n if (selectedCount === selectable.length) return true;\n return \"mixed\";\n}\n\n/**\n * Values are the literal `aria-sort` vocabulary (minus `\"none\"`, which is\n * `null`) so the Web renderer passes them through without a translation\n * table — the same \"pass the platform value through\" choice Slider makes\n * for `valueText`.\n */\nexport type DataTableSortDirection = \"ascending\" | \"descending\";\n\nexport type DataTableSortState<Key extends CollectionKey = CollectionKey> = Readonly<{\n columnId: Key;\n direction: DataTableSortDirection;\n}> | null;\n\nexport type DataTableSortCycle = \"two-state\" | \"three-state\";\n\nexport const dataTableDefaults = {\n sortCycle: \"three-state\",\n} as const satisfies Readonly<{ sortCycle: DataTableSortCycle }>;\n\nexport function validateDataTableSortState<Key extends CollectionKey>(\n state: DataTableSortState<Key>,\n columns: readonly DataTableColumnDescriptor<Key>[],\n): void {\n if (state === null) return;\n if (state.direction !== \"ascending\" && state.direction !== \"descending\") {\n throw new TypeError(`Unsupported DataTable sort direction: ${String(state.direction)}`);\n }\n const column = columns.find((candidate) => candidate.id === state.columnId);\n if (!column) {\n throw new TypeError(`DataTable sort references unknown column id: ${String(state.columnId)}`);\n }\n if (!column.sortable) {\n throw new TypeError(`DataTable column \"${String(state.columnId)}\" is not sortable`);\n }\n}\n\n/**\n * Pure toggle: does not read or write product data. The product still owns\n * actually re-sorting rows (Combobox's local/external filtering split is the\n * same boundary — HJM judges intent, never executes the data operation).\n */\nexport function getNextDataTableSortState<Key extends CollectionKey>(\n current: DataTableSortState<Key>,\n columnId: Key,\n cycle: DataTableSortCycle = dataTableDefaults.sortCycle,\n): DataTableSortState<Key> {\n if (current === null || current.columnId !== columnId) {\n return { columnId, direction: \"ascending\" };\n }\n if (current.direction === \"ascending\") {\n return { columnId, direction: \"descending\" };\n }\n return cycle === \"three-state\" ? null : { columnId, direction: \"ascending\" };\n}\n\n/** The whole table's row-loading status — the unmodified Collection base async contract. */\nexport type DataTableAsyncState = AsyncCollectionState;\n\nexport type DataTableDensity = \"compact\" | \"regular\";\n\n/**\n * Reuses `collectionItemContract`'s hover/selected/focus tokens instead of a\n * second set of row-interaction colors — Menu, Select, and DataTable rows\n * stay one visual vocabulary.\n */\nexport const dataTableRecipe = {\n slots: [\n \"root\",\n \"header\",\n \"headerCell\",\n \"sortButton\",\n \"sortIcon\",\n \"row\",\n \"cell\",\n \"selectionCell\",\n \"emptyState\",\n \"errorState\",\n ] as const,\n defaults: { density: \"regular\" },\n density: {\n compact: { paddingVertical: spacing.xs, paddingHorizontal: spacing.sm },\n regular: { paddingVertical: spacing.sm, paddingHorizontal: spacing.md },\n },\n header: {\n background: semanticColors.surface.sunken,\n color: semanticColors.content.secondary,\n textVariant: \"label\",\n fontWeight: fontWeight.bold,\n borderBottom: semanticColors.border.default,\n },\n row: {\n borderBottom: semanticColors.border.subtle,\n hoverBackground: collectionItemContract.highlightedBackground,\n selectedBackground: collectionItemContract.selectedBackground,\n },\n cell: {\n color: semanticColors.content.body,\n textVariant: \"body\",\n },\n sortButton: {\n minTarget: control.minTouchTarget,\n color: semanticColors.content.secondary,\n activeColor: semanticColors.content.brand,\n },\n selectionCell: {\n width: control.minTouchTarget,\n },\n emptyState: {\n color: semanticColors.content.secondary,\n textVariant: \"body\",\n },\n errorState: {\n color: semanticColors.content.danger,\n textVariant: \"body\",\n },\n states: {\n focus: focusIndicatorContract,\n },\n} as const satisfies {\n slots: readonly [\n \"root\",\n \"header\",\n \"headerCell\",\n \"sortButton\",\n \"sortIcon\",\n \"row\",\n \"cell\",\n \"selectionCell\",\n \"emptyState\",\n \"errorState\",\n ];\n defaults: { density: DataTableDensity };\n density: Record<DataTableDensity, { paddingVertical: number; paddingHorizontal: number }>;\n header: {\n background: ColorReference;\n color: ColorReference;\n textVariant: TextVariant;\n fontWeight: FontWeightValue;\n borderBottom: ColorReference;\n };\n row: {\n borderBottom: ColorReference;\n hoverBackground: ColorReference;\n selectedBackground: ColorReference;\n };\n cell: { color: ColorReference; textVariant: TextVariant };\n sortButton: { minTarget: number; color: ColorReference; activeColor: ColorReference };\n selectionCell: { width: number };\n emptyState: { color: ColorReference; textVariant: TextVariant };\n errorState: { color: ColorReference; textVariant: TextVariant };\n states: { focus: typeof focusIndicatorContract };\n};\n\n/**\n * No roving-tabindex grid keyboard navigation (arrow keys between cells):\n * no product using this contract has measured demand for full ARIA-grid\n * traversal, and it is a materially bigger accessibility surface than a\n * sortable header button plus native checkbox/radio tab stops.\n */\nexport const dataTableBehavior = {\n controlled: [\"selection\"],\n inputs: [\"columns\", \"rows\", \"sortState\", \"asyncState\"],\n events: [\"onSortChange\"],\n configuration: { sortCycle: [\"two-state\", \"three-state\"] },\n defaults: dataTableDefaults,\n stateAxes: {\n value: [\"selected\"],\n content: [\"idle\", \"loading\", \"loadingMore\", \"empty\", \"error\"],\n },\n web: {\n roles: [\"table\", \"row\", \"columnheader\", \"cell\", \"button\", \"checkbox\", \"radio\"],\n keyboard: [\"Tab\", \"Enter\", \"Space\"],\n focus: \"native\",\n },\n native: { roles: [], states: [], actions: [] },\n scenarios: [\n \"row-selection-reuses-the-shared-collection-selection-model-unchanged\",\n \"select-all-reuses-the-shared-tri-state-checkbox-value\",\n \"async-state-reuses-the-shared-collection-async-state-unchanged\",\n \"sortable-header-is-a-button-inside-the-columnheader-not-the-header-itself\",\n \"sort-direction-values-pass-through-to-aria-sort-without-translation\",\n \"disabled-rows-are-excluded-from-select-all-accounting\",\n \"pagination-or-load-more-is-composed-beneath-the-table-not-owned-by-it\",\n \"row-expansion-is-not-owned-here-compose-the-disclosure-group-contract-per-row\",\n \"a-data-cell-exposes-at-most-one-focusable-control\",\n \"no-roving-tabindex-grid-navigation-is-implied\",\n ],\n} as const satisfies BehaviorContract;\n"]}
1
+ {"version":3,"file":"data-table.js","sourceRoot":"","sources":["../src/data-table.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAA0C,MAAM,kBAAkB,CAAC;AACxG,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AActD,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,KAAK;CAC0D,CAAC;AAE5E,SAAS,cAAc,CAAC,KAAa,EAAE,KAAa;IAClD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3D,MAAM,IAAI,SAA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AAE,aAAa,CAAC,EAAE;IAC1D,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE;QACT,KAAK,EAAE,CAAC,UAAU,CAAC;QACnB,OAAO,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC;KAC9D;IACD,GAAG,EAAE;QACH,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC;QAC9E,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC;QACnC,KAAK,EAAE,QAAQ;KAChB;IACD,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9C,SAAS,EAAE;QACT,sEAAsE;QACtE,uDAAuD;QACvD,gEAAgE;QAChE,2EAA2E;QAC3E,qEAAqE;QACrE,uDAAuD;QACvD,uEAAuE;QACvE,+EAA+E;QAC/E,mDAAmD;QACnD,+CAA+C;KAChD;CACkC,CAAC","sourcesContent":["import type { ColorReference } from \"./color-references.js\";\nimport type {\n AsyncCollectionState,\n BehaviorContract,\n CheckboxState,\n CollectionKey,\n CollectionSelectionModel,\n} from \"./behaviors.js\";\nimport { collectionItemContract, focusIndicatorContract } from \"./component-contracts.js\";\nimport { control, fontWeight, spacing, type FontWeightValue, type TextVariant } from \"./foundations.js\";\nimport { semanticColors } from \"./semantic-colors.js\";\n\nexport type DataTableAlign = \"start\" | \"center\" | \"end\";\n\nexport type DataTableColumnDescriptor<Key extends CollectionKey = CollectionKey> = Readonly<{\n id: Key;\n /** Visible column header text; also the columnheader's accessible name. */\n header: string;\n align?: DataTableAlign;\n sortable?: boolean;\n /** Layout hint only (px or flex-basis); renderers may ignore or clamp it. */\n width?: number;\n}>;\n\nexport const dataTableColumnDefaults = {\n align: \"start\",\n sortable: false,\n} as const satisfies Readonly<{ align: DataTableAlign; sortable: boolean }>;\n\nfunction assertNonEmpty(value: string, field: string): void {\n if (typeof value !== \"string\" || value.trim().length === 0) {\n throw new TypeError(`DataTable ${field} must not be empty`);\n }\n}\n\nexport function validateDataTableColumns<Key extends CollectionKey>(\n columns: readonly DataTableColumnDescriptor<Key>[],\n): void {\n if (columns.length === 0) {\n throw new TypeError(\"DataTable must declare at least one column\");\n }\n const ids = new Set<Key>();\n for (const column of columns) {\n assertNonEmpty(column.id, \"column id\");\n if (ids.has(column.id)) {\n throw new TypeError(`Duplicate DataTable column id: ${column.id}`);\n }\n ids.add(column.id);\n assertNonEmpty(column.header, `column \"${column.id}\" header`);\n if (column.width !== undefined && (!Number.isFinite(column.width) || column.width <= 0)) {\n throw new RangeError(`DataTable column \"${column.id}\" width must be a positive finite number`);\n }\n }\n}\n\n/**\n * Row identity and selection deliberately do NOT reuse `CollectionItemDescriptor`\n * verbatim: a table row has no single visible `label`/`textValue` the way a\n * Menu or Select item does — its \"content\" is however many columns the\n * product renders per row. Only the parts of the Collection base contract\n * that are genuinely row-shaped (`CollectionKey` identity, `disabled`) apply.\n */\nexport type DataTableRowDescriptor<Key extends CollectionKey = CollectionKey> = Readonly<{\n id: Key;\n disabled?: boolean;\n}>;\n\nexport function validateDataTableRows<Key extends CollectionKey>(\n rows: readonly DataTableRowDescriptor<Key>[],\n): void {\n const ids = new Set<Key>();\n for (const row of rows) {\n assertNonEmpty(row.id, \"row id\");\n if (ids.has(row.id)) {\n throw new TypeError(`Duplicate DataTable row id: ${row.id}`);\n }\n ids.add(row.id);\n }\n}\n\n/** Row selection is the unmodified Collection base contract — no DataTable-only selection shape. */\nexport type DataTableSelection<Key extends CollectionKey = CollectionKey> =\n CollectionSelectionModel<Key>;\n\n/**\n * Header \"select all\" state as the same tri-state `CheckboxState` the\n * selection column's checkbox already renders (check/dash), instead of a new\n * `\"none\" | \"some\" | \"all\"` enum the recipe would have to translate again.\n * Disabled rows are excluded from both the denominator and the count.\n */\nexport function resolveDataTableSelectAllState<Key extends CollectionKey>(\n rows: readonly DataTableRowDescriptor<Key>[],\n selectedKeys: ReadonlySet<Key>,\n): CheckboxState {\n const selectable = rows.filter((row) => !row.disabled);\n if (selectable.length === 0) return false;\n const selectedCount = selectable.filter((row) => selectedKeys.has(row.id)).length;\n if (selectedCount === 0) return false;\n if (selectedCount === selectable.length) return true;\n return \"mixed\";\n}\n\n/**\n * Values are the literal `aria-sort` vocabulary (minus `\"none\"`, which is\n * `null`) so the Web renderer passes them through without a translation\n * table — the same \"pass the platform value through\" choice Slider makes\n * for `valueText`.\n */\nexport type DataTableSortDirection = \"ascending\" | \"descending\";\n\nexport type DataTableSortState<Key extends CollectionKey = CollectionKey> = Readonly<{\n columnId: Key;\n direction: DataTableSortDirection;\n}> | null;\n\nexport type DataTableSortCycle = \"two-state\" | \"three-state\";\n\nexport const dataTableDefaults = {\n sortCycle: \"three-state\",\n} as const satisfies Readonly<{ sortCycle: DataTableSortCycle }>;\n\nexport function validateDataTableSortState<Key extends CollectionKey>(\n state: DataTableSortState<Key>,\n columns: readonly DataTableColumnDescriptor<Key>[],\n): void {\n if (state === null) return;\n if (state.direction !== \"ascending\" && state.direction !== \"descending\") {\n throw new TypeError(`Unsupported DataTable sort direction: ${String(state.direction)}`);\n }\n const column = columns.find((candidate) => candidate.id === state.columnId);\n if (!column) {\n throw new TypeError(`DataTable sort references unknown column id: ${String(state.columnId)}`);\n }\n if (!column.sortable) {\n throw new TypeError(`DataTable column \"${String(state.columnId)}\" is not sortable`);\n }\n}\n\n/**\n * Pure toggle: does not read or write product data. The product still owns\n * actually re-sorting rows (Combobox's local/external filtering split is the\n * same boundary — HJM judges intent, never executes the data operation).\n */\nexport function getNextDataTableSortState<Key extends CollectionKey>(\n current: DataTableSortState<Key>,\n columnId: Key,\n cycle: DataTableSortCycle = dataTableDefaults.sortCycle,\n): DataTableSortState<Key> {\n if (current === null || current.columnId !== columnId) {\n return { columnId, direction: \"ascending\" };\n }\n if (current.direction === \"ascending\") {\n return { columnId, direction: \"descending\" };\n }\n return cycle === \"three-state\" ? null : { columnId, direction: \"ascending\" };\n}\n\n/** The whole table's row-loading status — the unmodified Collection base async contract. */\nexport type DataTableAsyncState = AsyncCollectionState;\n\nexport type DataTableDensity = \"compact\" | \"regular\";\n\n/**\n * Reuses `collectionItemContract`'s hover/selected/focus tokens instead of a\n * second set of row-interaction colors — Menu, Select, and DataTable rows\n * stay one visual vocabulary.\n */\nexport const dataTableRecipe = {\n slots: [\n \"root\",\n \"header\",\n \"headerCell\",\n \"sortButton\",\n \"sortIcon\",\n \"row\",\n \"cell\",\n \"selectionCell\",\n \"emptyState\",\n \"errorState\",\n ] as const,\n defaults: { density: \"regular\" },\n density: {\n compact: { paddingVertical: spacing.xs, paddingHorizontal: spacing.sm },\n regular: { paddingVertical: spacing.sm, paddingHorizontal: spacing.md },\n },\n header: {\n background: semanticColors.canvas,\n color: semanticColors.content.secondary,\n textVariant: \"label\",\n fontWeight: fontWeight.bold,\n borderBottom: semanticColors.border.default,\n },\n row: {\n borderBottom: semanticColors.border.subtle,\n hoverBackground: collectionItemContract.highlightedBackground,\n selectedBackground: collectionItemContract.selectedBackground,\n },\n cell: {\n color: semanticColors.content.body,\n textVariant: \"body\",\n },\n sortButton: {\n minTarget: control.minTouchTarget,\n color: semanticColors.content.secondary,\n activeColor: semanticColors.content.brand,\n },\n selectionCell: {\n width: control.minTouchTarget,\n },\n emptyState: {\n color: semanticColors.content.secondary,\n textVariant: \"body\",\n },\n errorState: {\n color: semanticColors.content.danger,\n textVariant: \"body\",\n },\n states: {\n focus: focusIndicatorContract,\n },\n} as const satisfies {\n slots: readonly [\n \"root\",\n \"header\",\n \"headerCell\",\n \"sortButton\",\n \"sortIcon\",\n \"row\",\n \"cell\",\n \"selectionCell\",\n \"emptyState\",\n \"errorState\",\n ];\n defaults: { density: DataTableDensity };\n density: Record<DataTableDensity, { paddingVertical: number; paddingHorizontal: number }>;\n header: {\n background: ColorReference;\n color: ColorReference;\n textVariant: TextVariant;\n fontWeight: FontWeightValue;\n borderBottom: ColorReference;\n };\n row: {\n borderBottom: ColorReference;\n hoverBackground: ColorReference;\n selectedBackground: ColorReference;\n };\n cell: { color: ColorReference; textVariant: TextVariant };\n sortButton: { minTarget: number; color: ColorReference; activeColor: ColorReference };\n selectionCell: { width: number };\n emptyState: { color: ColorReference; textVariant: TextVariant };\n errorState: { color: ColorReference; textVariant: TextVariant };\n states: { focus: typeof focusIndicatorContract };\n};\n\n/**\n * No roving-tabindex grid keyboard navigation (arrow keys between cells):\n * no product using this contract has measured demand for full ARIA-grid\n * traversal, and it is a materially bigger accessibility surface than a\n * sortable header button plus native checkbox/radio tab stops.\n */\nexport const dataTableBehavior = {\n controlled: [\"selection\"],\n inputs: [\"columns\", \"rows\", \"sortState\", \"asyncState\"],\n events: [\"onSortChange\"],\n configuration: { sortCycle: [\"two-state\", \"three-state\"] },\n defaults: dataTableDefaults,\n stateAxes: {\n value: [\"selected\"],\n content: [\"idle\", \"loading\", \"loadingMore\", \"empty\", \"error\"],\n },\n web: {\n roles: [\"table\", \"row\", \"columnheader\", \"cell\", \"button\", \"checkbox\", \"radio\"],\n keyboard: [\"Tab\", \"Enter\", \"Space\"],\n focus: \"native\",\n },\n native: { roles: [], states: [], actions: [] },\n scenarios: [\n \"row-selection-reuses-the-shared-collection-selection-model-unchanged\",\n \"select-all-reuses-the-shared-tri-state-checkbox-value\",\n \"async-state-reuses-the-shared-collection-async-state-unchanged\",\n \"sortable-header-is-a-button-inside-the-columnheader-not-the-header-itself\",\n \"sort-direction-values-pass-through-to-aria-sort-without-translation\",\n \"disabled-rows-are-excluded-from-select-all-accounting\",\n \"pagination-or-load-more-is-composed-beneath-the-table-not-owned-by-it\",\n \"row-expansion-is-not-owned-here-compose-the-disclosure-group-contract-per-row\",\n \"a-data-cell-exposes-at-most-one-focusable-control\",\n \"no-roving-tabindex-grid-navigation-is-implied\",\n ],\n} as const satisfies BehaviorContract;\n"]}
@@ -91,12 +91,12 @@ export declare const datePickerRecipe: {
91
91
  readonly frame: {
92
92
  readonly background: Readonly<{
93
93
  source: "theme";
94
- key: "surface";
94
+ key: "bg";
95
95
  alpha?: number;
96
96
  }>;
97
97
  readonly border: Readonly<{
98
98
  source: "theme";
99
- key: "textMuted";
99
+ key: "borderControl";
100
100
  alpha?: number;
101
101
  }>;
102
102
  readonly focusBorder: Readonly<{
@@ -26,7 +26,7 @@ export declare const iconButtonRecipe: {
26
26
  readonly secondary: {
27
27
  readonly background: Readonly<{
28
28
  source: "theme";
29
- key: "surfaceAlt";
29
+ key: "bg";
30
30
  alpha?: number;
31
31
  }>;
32
32
  readonly content: Readonly<{
@@ -88,7 +88,7 @@ export declare const iconButtonRecipe: {
88
88
  readonly selected: {
89
89
  readonly background: Readonly<{
90
90
  source: "theme";
91
- key: "surfaceAccent";
91
+ key: "bg";
92
92
  alpha?: number;
93
93
  }>;
94
94
  readonly content: Readonly<{
@@ -37,7 +37,7 @@ export const iconButtonRecipe = {
37
37
  // state; without a paired visual every consumer painted the pressed icon
38
38
  // button in product styles. Mirrors `buttonRecipe.states.selected`.
39
39
  selected: {
40
- background: semanticColors.surface.brand,
40
+ background: semanticColors.canvas,
41
41
  content: semanticColors.content.brand,
42
42
  border: semanticColors.border.focus,
43
43
  },
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button-recipe.js","sourceRoot":"","sources":["../src/icon-button-recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,GAGtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,OAAO,EACP,MAAM,GAEP,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAMtD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAU;IAC3C,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SA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AO,CAAC,KAAK;YACrC,MAAM,EAAE,cAAc,CAAC,MAAM,CAAC,KAAK;SACpC;QACD,cAAc,EAAE,OAAO,CAAC,OAAO;QAC/B,eAAe,EAAE,OAAO,CAAC,QAAQ;KAClC;CAmBF,CAAC;AAQF,iFAAiF;AACjF,MAAM,UAAU,6BAA6B,CAC3C,IAAoB,EACpB,OAA8B,EAC9B,QAAQ,GAAG,KAAK;IAEhB,MAAM,QAAQ,GAIV,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/E,OAAO;QACL,UAAU,EACR,QAAQ,CAAC,UAAU,KAAK,IAAI;YAC1B,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,qBAAqB,CAAC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;QACzD,OAAO,EAAE,qBAAqB,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;QACzD,MAAM,EACJ,QAAQ,CAAC,MAAM,KAAK,IAAI;YACtB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,qBAAqB,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;KACtD,CAAC;AACJ,CAAC","sourcesContent":["import {\n resolveColorReference,\n type ColorReference,\n type ColorReferencePalette,\n} from \"./color-references.js\";\nimport {\n opacity,\n radius,\n type GlyphSize,\n} from \"./foundations.js\";\nimport { semanticColors } from \"./semantic-colors.js\";\n\nexport type IconButtonSize = \"small\" | \"medium\" | \"large\";\nexport type IconButtonShape = \"rounded\" | \"circle\";\nexport type IconButtonTone = \"primary\" | \"secondary\" | \"ghost\" | \"danger\";\n\nexport const iconButtonRecipe = {\n slots: [\"root\", \"icon\", \"spinner\"] as const,\n defaults: { tone: \"ghost\", size: \"medium\", shape: \"rounded\" },\n tones: {\n primary: {\n background: semanticColors.action.brand.background,\n content: semanticColors.action.brand.content,\n border: null,\n },\n secondary: {\n background: semanticColors.action.neutral.background,\n content: semanticColors.action.neutral.content,\n border: semanticColors.action.neutral.border,\n },\n ghost: {\n background: null,\n content: semanticColors.content.secondary,\n border: null,\n },\n danger: {\n background: semanticColors.action.danger.background,\n content: semanticColors.action.danger.content,\n border: null,\n },\n },\n sizes: {\n small: { diameter: 36, hitSlop: 4, glyph: \"sm\" },\n medium: { diameter: 44, hitSlop: 0, glyph: \"md\" },\n large: { diameter: 52, hitSlop: 0, glyph: \"lg\" },\n },\n shapes: { rounded: \"md\", circle: \"full\" },\n states: {\n // `aria-pressed` / `accessibilityState.selected` already carried the toggle\n // state; without a paired visual every consumer painted the pressed icon\n // button in product styles. Mirrors `buttonRecipe.states.selected`.\n selected: {\n background: semanticColors.surface.brand,\n content: semanticColors.content.brand,\n border: semanticColors.border.focus,\n },\n pressedOpacity: opacity.pressed,\n disabledOpacity: opacity.disabled,\n },\n} as const satisfies {\n slots: readonly string[];\n defaults: {\n tone: IconButtonTone;\n size: IconButtonSize;\n shape: IconButtonShape;\n };\n tones: Record<\n IconButtonTone,\n { background: ColorReference | null; content: ColorReference; border: ColorReference | null }\n >;\n sizes: Record<IconButtonSize, { diameter: number; hitSlop: number; glyph: GlyphSize }>;\n shapes: Record<IconButtonShape, keyof typeof radius>;\n states: {\n selected: { background: ColorReference; content: ColorReference; border: ColorReference };\n pressedOpacity: number;\n disabledOpacity: number;\n };\n};\n\nexport type ResolvedIconButtonPresentation = Readonly<{\n background: string | null;\n content: string;\n border: string | null;\n}>;\n\n/** Resolve one recipe tone for non-CSS renderers without a second tone table. */\nexport function resolveIconButtonPresentation(\n tone: IconButtonTone,\n palette: ColorReferencePalette,\n selected = false,\n): ResolvedIconButtonPresentation {\n const contract: {\n background: ColorReference | null;\n content: ColorReference;\n border: ColorReference | null;\n } = selected ? iconButtonRecipe.states.selected : iconButtonRecipe.tones[tone];\n return {\n background:\n contract.background === null\n ? null\n : resolveColorReference(contract.background, palette),\n content: resolveColorReference(contract.content, palette),\n border:\n contract.border === null\n ? null\n : resolveColorReference(contract.border, palette),\n };\n}\n"]}
1
+ {"version":3,"file":"icon-button-recipe.js","sourceRoot":"","sources":["../src/icon-button-recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,GAGtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,OAAO,EACP,MAAM,GAEP,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAMtD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAU;IAC3C,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE;IAC7D,KAAK,EAAE;QACL,OAAO,EAAE;YACP,UAAU,EAAE,cAAc,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU;YAClD,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO;YAC5C,MAAM,EAAE,IAAI;SACb;QACD,SAAS,EAAE;YACT,UAAU,EAAE,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU;YACpD,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO;YAC9C,MAAM,EAAE,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM;SAC7C;QACD,KAAK,EAAE;YACL,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC,SAAS;YACzC,MAAM,EAAE,IAAI;SACb;QACD,MAAM,EAAE;YACN,UAAU,EAAE,cAAc,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU;YACnD,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO;YAC7C,MAAM,EAAE,IAAI;SACb;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,EAAE,QAAQ,EAAE,EA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AAE,OAAO,CAAC;KACtD,CAAC;AACJ,CAAC","sourcesContent":["import {\n resolveColorReference,\n type ColorReference,\n type ColorReferencePalette,\n} from \"./color-references.js\";\nimport {\n opacity,\n radius,\n type GlyphSize,\n} from \"./foundations.js\";\nimport { semanticColors } from \"./semantic-colors.js\";\n\nexport type IconButtonSize = \"small\" | \"medium\" | \"large\";\nexport type IconButtonShape = \"rounded\" | \"circle\";\nexport type IconButtonTone = \"primary\" | \"secondary\" | \"ghost\" | \"danger\";\n\nexport const iconButtonRecipe = {\n slots: [\"root\", \"icon\", \"spinner\"] as const,\n defaults: { tone: \"ghost\", size: \"medium\", shape: \"rounded\" },\n tones: {\n primary: {\n background: semanticColors.action.brand.background,\n content: semanticColors.action.brand.content,\n border: null,\n },\n secondary: {\n background: semanticColors.action.neutral.background,\n content: semanticColors.action.neutral.content,\n border: semanticColors.action.neutral.border,\n },\n ghost: {\n background: null,\n content: semanticColors.content.secondary,\n border: null,\n },\n danger: {\n background: semanticColors.action.danger.background,\n content: semanticColors.action.danger.content,\n border: null,\n },\n },\n sizes: {\n small: { diameter: 36, hitSlop: 4, glyph: \"sm\" },\n medium: { diameter: 44, hitSlop: 0, glyph: \"md\" },\n large: { diameter: 52, hitSlop: 0, glyph: \"lg\" },\n },\n shapes: { rounded: \"md\", circle: \"full\" },\n states: {\n // `aria-pressed` / `accessibilityState.selected` already carried the toggle\n // state; without a paired visual every consumer painted the pressed icon\n // button in product styles. Mirrors `buttonRecipe.states.selected`.\n selected: {\n background: semanticColors.canvas,\n content: semanticColors.content.brand,\n border: semanticColors.border.focus,\n },\n pressedOpacity: opacity.pressed,\n disabledOpacity: opacity.disabled,\n },\n} as const satisfies {\n slots: readonly string[];\n defaults: {\n tone: IconButtonTone;\n size: IconButtonSize;\n shape: IconButtonShape;\n };\n tones: Record<\n IconButtonTone,\n { background: ColorReference | null; content: ColorReference; border: ColorReference | null }\n >;\n sizes: Record<IconButtonSize, { diameter: number; hitSlop: number; glyph: GlyphSize }>;\n shapes: Record<IconButtonShape, keyof typeof radius>;\n states: {\n selected: { background: ColorReference; content: ColorReference; border: ColorReference };\n pressedOpacity: number;\n disabledOpacity: number;\n };\n};\n\nexport type ResolvedIconButtonPresentation = Readonly<{\n background: string | null;\n content: string;\n border: string | null;\n}>;\n\n/** Resolve one recipe tone for non-CSS renderers without a second tone table. */\nexport function resolveIconButtonPresentation(\n tone: IconButtonTone,\n palette: ColorReferencePalette,\n selected = false,\n): ResolvedIconButtonPresentation {\n const contract: {\n background: ColorReference | null;\n content: ColorReference;\n border: ColorReference | null;\n } = selected ? iconButtonRecipe.states.selected : iconButtonRecipe.tones[tone];\n return {\n background:\n contract.background === null\n ? null\n : resolveColorReference(contract.background, palette),\n content: resolveColorReference(contract.content, palette),\n border:\n contract.border === null\n ? null\n : resolveColorReference(contract.border, palette),\n };\n}\n"]}
package/dist/image.d.ts CHANGED
@@ -61,14 +61,14 @@ export declare const imageRecipe: {
61
61
  readonly placeholder: {
62
62
  readonly background: Readonly<{
63
63
  source: "theme";
64
- key: "surfaceAlt";
64
+ key: "bg";
65
65
  alpha?: number;
66
66
  }>;
67
67
  };
68
68
  readonly fallback: {
69
69
  readonly background: Readonly<{
70
70
  source: "theme";
71
- key: "surfaceAlt";
71
+ key: "bg";
72
72
  alpha?: number;
73
73
  }>;
74
74
  readonly icon: {
package/dist/image.js CHANGED
@@ -89,10 +89,10 @@ export const imageRecipe = {
89
89
  defaults: imageDefaults,
90
90
  fits,
91
91
  placeholder: {
92
- background: semanticColors.surface.sunken,
92
+ background: semanticColors.canvas,
93
93
  },
94
94
  fallback: {
95
- background: semanticColors.surface.sunken,
95
+ background: semanticColors.canvas,
96
96
  icon: { name: errorIconName, tone: fallbackIconTone },
97
97
  },
98
98
  radius: "md",
package/dist/image.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"image.js","sourceRoot":"","sources":["../src/image.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CA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AS,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC;AAC3E,CAAC;AAED,MAAM,aAAa,GAAqB,OAAO,CAAC;AAChD,MAAM,gBAAgB,GAAa,WAAW,CAAC;AAE/C;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;CAC4B,CAAC;AAE9C,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,CAAU;IAChE,QAAQ,EAAE,aAAa;IACvB,IAAI;IACJ,WAAW,EAAE;QACX,UAAU,EAAE,cAAc,CAAC,OAAO,CAAC,MAAM;KAC1C;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,cAAc,CAAC,OAAO,CAAC,MAAM;QACzC,IAAI,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,gBAAgB,EAAE;KACtD;IACD,MAAM,EAAE,IAAI;CACJ,CAAC","sourcesContent":["import type { SemanticIconName } from \"./icon.js\";\nimport type { IconTone } from \"./component-recipes.js\";\nimport { semanticColors } from \"./semantic-colors.js\";\n\nexport type ImageFit = \"cover\" | \"contain\" | \"fill\";\nexport type ImageLoadStatus = \"idle\" | \"loading\" | \"loaded\" | \"error\";\n\nexport const imageDefaults = {\n fit: \"cover\",\n} as const satisfies Readonly<{ fit: ImageFit }>;\n\ntype ImageAppearance = Readonly<{\n src: string;\n /** Intrinsic dimensions reserve layout space before the asset loads. */\n width: number;\n height: number;\n fit?: ImageFit;\n}>;\n\n/**\n * Same shape as Icon's decorative/informative split: a picture that only\n * repeats a caption or label already visible nearby stays decorative, and\n * only a self-sufficient picture requires localized alt copy.\n */\nexport type DecorativeImageDescriptor = ImageAppearance &\n Readonly<{ decorative?: true; accessibilityLabel?: never }>;\n\nexport type InformativeImageDescriptor = ImageAppearance &\n Readonly<{ decorative: false; accessibilityLabel: string }>;\n\nexport type ImageDescriptor =\n | DecorativeImageDescriptor\n | InformativeImageDescriptor;\n\nexport type ResolvedImageDescriptor =\n | (Required<Omit<DecorativeImageDescriptor, \"accessibilityLabel\">> &\n Readonly<{ accessibilityLabel?: never }>)\n | Required<InformativeImageDescriptor>;\n\nconst fits: readonly ImageFit[] = [\"cover\", \"contain\", \"fill\"];\n\nfunction assertCopy(value: string, field: string): void {\n if (value.trim().length === 0) {\n throw new TypeError(`Image ${field} must not be empty`);\n }\n}\n\nfunction assertDimension(value: number, field: string): void {\n if (!Number.isFinite(value) || value <= 0) {\n throw new RangeError(`Image ${field} must be a positive finite number`);\n }\n}\n\nexport function validateImageDescriptor(descriptor: ImageDescriptor): void {\n assertCopy(descriptor.src, \"src\");\n assertDimension(descriptor.width, \"width\");\n assertDimension(descriptor.height, \"height\");\n if (descriptor.fit !== undefined && !fits.includes(descriptor.fit)) {\n throw new TypeError(`Unsupported Image fit: ${String(descriptor.fit)}`);\n }\n const runtimeDecorative = (\n descriptor as Readonly<{ decorative?: unknown }>\n ).decorative;\n const runtimeLabel = (\n descriptor as Readonly<{ accessibilityLabel?: unknown }>\n ).accessibilityLabel;\n if (\n runtimeDecorative !== undefined &&\n runtimeDecorative !== true &&\n runtimeDecorative !== false\n ) {\n throw new TypeError(\"Image decorative must be a boolean when provided\");\n }\n if (runtimeDecorative === false) {\n if (typeof runtimeLabel !== \"string\" || runtimeLabel.trim().length === 0) {\n throw new TypeError(\n \"Informative Image accessibilityLabel must not be empty\",\n );\n }\n } else if (runtimeLabel !== undefined) {\n throw new TypeError(\"Decorative Image must not provide accessibilityLabel\");\n }\n}\n\nexport function resolveImageDescriptor(\n descriptor: ImageDescriptor,\n): ResolvedImageDescriptor {\n validateImageDescriptor(descriptor);\n const common = {\n src: descriptor.src,\n width: descriptor.width,\n height: descriptor.height,\n fit: descriptor.fit ?? imageDefaults.fit,\n } as const;\n if (descriptor.decorative === false) {\n return {\n ...common,\n decorative: false,\n accessibilityLabel: descriptor.accessibilityLabel,\n } as ResolvedImageDescriptor;\n }\n return { ...common, decorative: true } as ResolvedImageDescriptor;\n}\n\n/**\n * Reserves layout space ahead of load so a slow asset never shifts\n * surrounding content — the same problem `width`/`height` solve for\n * `next/image`, translated without a bundler dependency.\n */\nexport function resolveImageAspectRatio(width: number, height: number): number {\n assertDimension(width, \"width\");\n assertDimension(height, \"height\");\n return width / height;\n}\n\n/**\n * The fallback node on `error` always carries the resolved\n * `accessibilityLabel`, never a generic \"broken image\" string. An\n * informative picture's meaning does not disappear because the asset\n * failed to load; only its visual form changes.\n */\nexport function resolveImageFallbackAccessibilityLabel(\n descriptor: ResolvedImageDescriptor,\n): string | undefined {\n return descriptor.decorative ? undefined : descriptor.accessibilityLabel;\n}\n\nconst errorIconName: SemanticIconName = \"error\";\nconst fallbackIconTone: IconTone = \"secondary\";\n\n/**\n * Web `object-fit` and RN `resizeMode` diverge only in the `fill` case;\n * `fills` is the platform-neutral name and `nativeResizeModes` is the one\n * translation renderers need, kept here instead of re-derived per product.\n */\nexport const nativeResizeModes = {\n cover: \"cover\",\n contain: \"contain\",\n fill: \"stretch\",\n} as const satisfies Record<ImageFit, string>;\n\nexport const imageRecipe = {\n slots: [\"root\", \"image\", \"placeholder\", \"fallbackIcon\"] as const,\n defaults: imageDefaults,\n fits,\n placeholder: {\n background: semanticColors.surface.sunken,\n },\n fallback: {\n background: semanticColors.surface.sunken,\n icon: { name: errorIconName, tone: fallbackIconTone },\n },\n radius: \"md\",\n} as const;\n"]}
1
+ {"version":3,"file":"image.js","sourceRoot":"","sources":["../src/image.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAKtD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,OAAO;CACkC,CAAC;AA8BjD,MAAM,IAAI,GAAwB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AAE/D,SAAS,UAAU,C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,iBAAiB,GAAG;IAC/B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;CAC4B,CAAC;AAE9C,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,CAAU;IAChE,QAAQ,EAAE,aAAa;IACvB,IAAI;IACJ,WAAW,EAAE;QACX,UAAU,EAAE,cAAc,CAAC,MAAM;KAClC;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,cAAc,CAAC,MAAM;QACjC,IAAI,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,gBAAgB,EAAE;KACtD;IACD,MAAM,EAAE,IAAI;CACJ,CAAC","sourcesContent":["import type { SemanticIconName } from \"./icon.js\";\nimport type { IconTone } from \"./component-recipes.js\";\nimport { semanticColors } from \"./semantic-colors.js\";\n\nexport type ImageFit = \"cover\" | \"contain\" | \"fill\";\nexport type ImageLoadStatus = \"idle\" | \"loading\" | \"loaded\" | \"error\";\n\nexport const imageDefaults = {\n fit: \"cover\",\n} as const satisfies Readonly<{ fit: ImageFit }>;\n\ntype ImageAppearance = Readonly<{\n src: string;\n /** Intrinsic dimensions reserve layout space before the asset loads. */\n width: number;\n height: number;\n fit?: ImageFit;\n}>;\n\n/**\n * Same shape as Icon's decorative/informative split: a picture that only\n * repeats a caption or label already visible nearby stays decorative, and\n * only a self-sufficient picture requires localized alt copy.\n */\nexport type DecorativeImageDescriptor = ImageAppearance &\n Readonly<{ decorative?: true; accessibilityLabel?: never }>;\n\nexport type InformativeImageDescriptor = ImageAppearance &\n Readonly<{ decorative: false; accessibilityLabel: string }>;\n\nexport type ImageDescriptor =\n | DecorativeImageDescriptor\n | InformativeImageDescriptor;\n\nexport type ResolvedImageDescriptor =\n | (Required<Omit<DecorativeImageDescriptor, \"accessibilityLabel\">> &\n Readonly<{ accessibilityLabel?: never }>)\n | Required<InformativeImageDescriptor>;\n\nconst fits: readonly ImageFit[] = [\"cover\", \"contain\", \"fill\"];\n\nfunction assertCopy(value: string, field: string): void {\n if (value.trim().length === 0) {\n throw new TypeError(`Image ${field} must not be empty`);\n }\n}\n\nfunction assertDimension(value: number, field: string): void {\n if (!Number.isFinite(value) || value <= 0) {\n throw new RangeError(`Image ${field} must be a positive finite number`);\n }\n}\n\nexport function validateImageDescriptor(descriptor: ImageDescriptor): void {\n assertCopy(descriptor.src, \"src\");\n assertDimension(descriptor.width, \"width\");\n assertDimension(descriptor.height, \"height\");\n if (descriptor.fit !== undefined && !fits.includes(descriptor.fit)) {\n throw new TypeError(`Unsupported Image fit: ${String(descriptor.fit)}`);\n }\n const runtimeDecorative = (\n descriptor as Readonly<{ decorative?: unknown }>\n ).decorative;\n const runtimeLabel = (\n descriptor as Readonly<{ accessibilityLabel?: unknown }>\n ).accessibilityLabel;\n if (\n runtimeDecorative !== undefined &&\n runtimeDecorative !== true &&\n runtimeDecorative !== false\n ) {\n throw new TypeError(\"Image decorative must be a boolean when provided\");\n }\n if (runtimeDecorative === false) {\n if (typeof runtimeLabel !== \"string\" || runtimeLabel.trim().length === 0) {\n throw new TypeError(\n \"Informative Image accessibilityLabel must not be empty\",\n );\n }\n } else if (runtimeLabel !== undefined) {\n throw new TypeError(\"Decorative Image must not provide accessibilityLabel\");\n }\n}\n\nexport function resolveImageDescriptor(\n descriptor: ImageDescriptor,\n): ResolvedImageDescriptor {\n validateImageDescriptor(descriptor);\n const common = {\n src: descriptor.src,\n width: descriptor.width,\n height: descriptor.height,\n fit: descriptor.fit ?? imageDefaults.fit,\n } as const;\n if (descriptor.decorative === false) {\n return {\n ...common,\n decorative: false,\n accessibilityLabel: descriptor.accessibilityLabel,\n } as ResolvedImageDescriptor;\n }\n return { ...common, decorative: true } as ResolvedImageDescriptor;\n}\n\n/**\n * Reserves layout space ahead of load so a slow asset never shifts\n * surrounding content — the same problem `width`/`height` solve for\n * `next/image`, translated without a bundler dependency.\n */\nexport function resolveImageAspectRatio(width: number, height: number): number {\n assertDimension(width, \"width\");\n assertDimension(height, \"height\");\n return width / height;\n}\n\n/**\n * The fallback node on `error` always carries the resolved\n * `accessibilityLabel`, never a generic \"broken image\" string. An\n * informative picture's meaning does not disappear because the asset\n * failed to load; only its visual form changes.\n */\nexport function resolveImageFallbackAccessibilityLabel(\n descriptor: ResolvedImageDescriptor,\n): string | undefined {\n return descriptor.decorative ? undefined : descriptor.accessibilityLabel;\n}\n\nconst errorIconName: SemanticIconName = \"error\";\nconst fallbackIconTone: IconTone = \"secondary\";\n\n/**\n * Web `object-fit` and RN `resizeMode` diverge only in the `fill` case;\n * `fills` is the platform-neutral name and `nativeResizeModes` is the one\n * translation renderers need, kept here instead of re-derived per product.\n */\nexport const nativeResizeModes = {\n cover: \"cover\",\n contain: \"contain\",\n fill: \"stretch\",\n} as const satisfies Record<ImageFit, string>;\n\nexport const imageRecipe = {\n slots: [\"root\", \"image\", \"placeholder\", \"fallbackIcon\"] as const,\n defaults: imageDefaults,\n fits,\n placeholder: {\n background: semanticColors.canvas,\n },\n fallback: {\n background: semanticColors.canvas,\n icon: { name: errorIconName, tone: fallbackIconTone },\n },\n radius: \"md\",\n} as const;\n"]}
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ export { bottomNavigationBehaviorDefaults, resolveBottomNavigationActivation, re
7
7
  export { resolveTooltipDescriptor, tooltipBehaviorDefaults, tooltipDescriptorDefaults, validateTooltipDescriptor, validateTooltipOpenState, type ControlledTooltipOpenState, type ResolvedTooltipDescriptor, type TooltipAlign, type TooltipDescriptor, type TooltipOpenChangeDetails, type TooltipOpenChangeReason, type TooltipOpenState, type TooltipPlacement, type UncontrolledTooltipOpenState, } from "./tooltip.js";
8
8
  export { alertDialogBehaviorDefaults, canDismissAlertDialog, createAlertDialogSession, getAlertDialogInitialFocus, validateAlertDialogRequest, type AlertDialogAsyncState, type AlertDialogCancelReason, type AlertDialogConfirmAction, type AlertDialogDismissReason, type AlertDialogInitialFocus, type AlertDialogMode, type AlertDialogOpenChangeReason, type AlertDialogOpenState, type AlertDialogPhase, type AlertDialogRequest, type AlertDialogResult, type AlertDialogSession, } from "./alert-dialog.js";
9
9
  export { canDismissSheet, createSheetLifecycle, sheetBehaviorDefaults, type SheetDismissPolicy, type SheetDismissReason, type SheetLifecycle, type SheetOpenChangeDetails, type SheetOpenState, } from "./sheet.js";
10
- export { createToastSession, createToastStore, resolveToastAnnouncement, resolveToastDescriptor, resolveToastDuration, toastBehaviorDefaults, validateToastDescriptor, type ResolvedToastActionDescriptor, type ResolvedToastDescriptor, type ToastActionDescriptor, type ToastAnnouncement, type ToastAnnouncementPriority, type ToastDescriptor, type ToastDismissReason, type ToastDuplicatePolicy, type ToastId, type ToastOverflowPolicy, type ToastPauseReason, type ToastPhase, type ToastPublishOptions, type ToastPublishResult, type ToastSession, type ToastSessionSnapshot, type ToastStore, type ToastStoreOptions, type ToastStoreSnapshot, type ToastTimerSnapshot, type ToastTimerStatus, type ToastTimerUpdatePolicy, } from "./toast.js";
10
+ export { createToastSession, createToastStore, resolveToastAnnouncement, resolveToastDescriptor, resolveToastDuration, liquidToastRecipe, resolveLiquidToastLayout, buildLiquidToastGeometry, validateLiquidToastAnchor, type LiquidToastAnchor, type LiquidToastLayout, type ToastPresentation, toastBehaviorDefaults, validateToastDescriptor, type ResolvedToastActionDescriptor, type ResolvedToastDescriptor, type ToastActionDescriptor, type ToastAnnouncement, type ToastAnnouncementPriority, type ToastDescriptor, type ToastDismissReason, type ToastDuplicatePolicy, type ToastId, type ToastOverflowPolicy, type ToastPauseReason, type ToastPhase, type ToastPublishOptions, type ToastPublishResult, type ToastSession, type ToastSessionSnapshot, type ToastStore, type ToastStoreOptions, type ToastStoreSnapshot, type ToastTimerSnapshot, type ToastTimerStatus, type ToastTimerUpdatePolicy, } from "./toast.js";
11
11
  export { resolveStatisticDescriptor, statisticDefaults, statisticTrendMarks, validateStatisticDescriptor, validateStatisticGroup, type ResolvedStatisticDescriptor, type ResolvedStatisticTrendDescriptor, type StatisticDescriptor, type StatisticGroupDescriptor, type StatisticTrendDescriptor, type StatisticTrendDirection, type StatisticTrendTone, } from "./statistic.js";
12
12
  export { canRequestLoadMore, createLoadMoreController, loadMoreBehaviorDefaults, validateLoadMoreDescriptor, validateLoadMoreLabels, validateLoadMoreState, type LoadMoreCompleteState, type LoadMoreController, type LoadMoreControllerOptions, type LoadMoreControllerSnapshot, type LoadMoreDescriptor, type LoadMoreErrorState, type LoadMoreLabels, type LoadMoreLoadingState, type LoadMoreMode, type LoadMoreReadyState, type LoadMoreRequest, type LoadMoreRequestHandler, type LoadMoreRequestOutcome, type LoadMoreRequestReason, type LoadMoreState, } from "./load-more.js";
13
13
  export { collectionValidationDefaults, flattenCollectionItems, getCollectionNavigationIntent, getCollectionNavigationTarget, getCollectionTypeaheadMatch, isComboboxResultCurrent, reconcileSelectSelection, resolveComboboxSelectedItem, resolveCollectionItem, resolveSelectSelectedItem, validateCollection, type CollectionNavigationIntent, type CollectionSource, type SelectCollectionSectionDescriptor, type SelectCollectionSource, type CollectionTypeaheadOptions, type CollectionValidationOptions, type ComboboxCollectionState, type ComboboxState, type ReconcileSelectOptions, type SelectCollectionState, type SelectConfiguration, type SelectLabel, type SelectOpenChangeReason, type SelectOpenState, type SelectState, } from "./collection.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,wBAAwB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,6BAA6B,GACnC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,0BAA0B,EAC1B,2BAA2B,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,2BAA2B,GACjC,MAAM,gBAAgB,CAAC;AAEx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