@datatechsolutions/tympan 0.3.0 → 0.3.1

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 (1554) hide show
  1. package/README.md +22 -4
  2. package/dist/elements-DCGBSGS8.js +14699 -0
  3. package/dist/elements-DCGBSGS8.js.map +1 -0
  4. package/dist/elements-react.d.ts +1378 -0
  5. package/dist/elements-react.js +3639 -0
  6. package/dist/elements-react.js.map +1 -0
  7. package/dist/elements.bundle.js +5 -0
  8. package/dist/elements.d.ts +13520 -0
  9. package/dist/elements.js +3 -0
  10. package/dist/flow.css +174 -3
  11. package/dist/flow.d.ts +86 -4
  12. package/dist/flow.js +199 -10
  13. package/dist/flow.js.map +1 -1
  14. package/dist/{index-C3WAwKdm.d.ts → index-6wR5ThnX.d.ts} +4 -2
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/parse-Dq4x3Wet.js +345 -0
  18. package/dist/parse-Dq4x3Wet.js.map +1 -0
  19. package/dist/{src-Ds9ArSaP.js → src-C9whlpC7.js} +3 -342
  20. package/dist/src-C9whlpC7.js.map +1 -0
  21. package/dist/styles.css +6082 -2213
  22. package/docs/html-contract.md +644 -0
  23. package/package.json +25 -14
  24. package/src/avatars/GeneratedAvatar.tsx +41 -0
  25. package/src/avatars/avatarSvg.ts +252 -0
  26. package/src/avatars/avatars.test.tsx +268 -0
  27. package/src/avatars/index.ts +30 -0
  28. package/src/avatars/styles.ts +80 -0
  29. package/src/base.css +49 -0
  30. package/src/components/action-menu/ActionMenu.css +152 -0
  31. package/src/components/action-menu/ActionMenu.test.tsx +189 -0
  32. package/src/components/action-menu/ActionMenu.tsx +282 -0
  33. package/src/components/activity-feed/ActivityFeed.css +91 -0
  34. package/src/components/activity-feed/ActivityFeed.test.tsx +89 -0
  35. package/src/components/activity-feed/ActivityFeed.tsx +86 -0
  36. package/src/components/actor-chip/ActorChip.css +93 -0
  37. package/src/components/actor-chip/ActorChip.test.tsx +89 -0
  38. package/src/components/actor-chip/ActorChip.tsx +98 -0
  39. package/src/components/agent-output-card/AgentOutputCard.css +105 -0
  40. package/src/components/agent-output-card/AgentOutputCard.rtl.test.tsx +12 -0
  41. package/src/components/agent-output-card/AgentOutputCard.test.tsx +65 -0
  42. package/src/components/agent-output-card/AgentOutputCard.tsx +74 -0
  43. package/src/components/ambient-backdrop/AmbientBackdrop.css +45 -0
  44. package/src/components/ambient-backdrop/AmbientBackdrop.rtl.test.tsx +12 -0
  45. package/src/components/ambient-backdrop/AmbientBackdrop.test.tsx +60 -0
  46. package/src/components/ambient-backdrop/AmbientBackdrop.tsx +11 -0
  47. package/src/components/app-frame/AppFrame.css +285 -0
  48. package/src/components/app-frame/AppFrame.test.tsx +127 -0
  49. package/src/components/app-frame/AppFrame.tsx +231 -0
  50. package/src/components/app-frame/AppFrameRail.css +321 -0
  51. package/src/components/app-frame/RailFrame.test.tsx +159 -0
  52. package/src/components/app-frame/RailFrame.tsx +140 -0
  53. package/src/components/app-frame/RailNav.tsx +118 -0
  54. package/src/components/app-frame/frameContext.ts +22 -0
  55. package/src/components/app-launcher-grid/AppLauncherGrid.css +140 -0
  56. package/src/components/app-launcher-grid/AppLauncherGrid.test.tsx +103 -0
  57. package/src/components/app-launcher-grid/AppLauncherGrid.tsx +201 -0
  58. package/src/components/app-navigation/AppNavigation.css +354 -0
  59. package/src/components/app-navigation/AppNavigation.test.tsx +129 -0
  60. package/src/components/app-navigation/AppNavigation.tsx +372 -0
  61. package/src/components/app-navigation/builders.ts +117 -0
  62. package/src/components/attention-list/AttentionList.css +90 -0
  63. package/src/components/attention-list/AttentionList.test.tsx +84 -0
  64. package/src/components/attention-list/AttentionList.tsx +82 -0
  65. package/src/components/auth-frame/AuthFrame.css +85 -0
  66. package/src/components/auth-frame/AuthFrame.rtl.test.tsx +14 -0
  67. package/src/components/auth-frame/AuthFrame.test.tsx +89 -0
  68. package/src/components/auth-frame/AuthFrame.tsx +35 -0
  69. package/src/components/avatar/Avatar.css +134 -0
  70. package/src/components/avatar/Avatar.test.tsx +98 -0
  71. package/src/components/avatar/Avatar.tsx +114 -0
  72. package/src/components/brand-loader/BrandLoader.css +78 -0
  73. package/src/components/brand-loader/BrandLoader.rtl.test.tsx +13 -0
  74. package/src/components/brand-loader/BrandLoader.test.tsx +83 -0
  75. package/src/components/brand-loader/BrandLoader.tsx +34 -0
  76. package/src/components/brand-mark/BrandMark.css +60 -0
  77. package/src/components/brand-mark/BrandMark.rtl.test.tsx +16 -0
  78. package/src/components/brand-mark/BrandMark.test.tsx +60 -0
  79. package/src/components/brand-mark/BrandMark.tsx +76 -0
  80. package/src/components/brand-panel/BrandPanel.css +100 -0
  81. package/src/components/brand-panel/BrandPanel.rtl.test.tsx +13 -0
  82. package/src/components/brand-panel/BrandPanel.test.tsx +59 -0
  83. package/src/components/brand-panel/BrandPanel.tsx +61 -0
  84. package/src/components/brand-wordmark/BrandWordmark.css +37 -0
  85. package/src/components/breadcrumbs/Breadcrumbs.css +158 -0
  86. package/src/components/breadcrumbs/Breadcrumbs.test.tsx +104 -0
  87. package/src/components/breadcrumbs/Breadcrumbs.tsx +130 -0
  88. package/src/components/button/Button.css +214 -0
  89. package/src/components/button/Button.test.tsx +177 -0
  90. package/src/components/button/Button.tsx +205 -0
  91. package/src/components/cascade-grid/CascadeGrid.css +31 -0
  92. package/src/components/cascade-grid/CascadeGrid.rtl.test.tsx +20 -0
  93. package/src/components/cascade-grid/CascadeGrid.test.tsx +126 -0
  94. package/src/components/cascade-grid/CascadeGrid.tsx +98 -0
  95. package/src/components/category-tabs/CategoryTabs.css +108 -0
  96. package/src/components/category-tabs/CategoryTabs.test.tsx +118 -0
  97. package/src/components/category-tabs/CategoryTabs.tsx +94 -0
  98. package/src/components/chart/Chart.css +215 -0
  99. package/src/components/chart/Chart.rtl.test.tsx +42 -0
  100. package/src/components/chart/Chart.test.tsx +187 -0
  101. package/src/components/chart/Chart.tsx +502 -0
  102. package/src/components/chart/chartMath.ts +73 -0
  103. package/src/components/chart/plot.ts +53 -0
  104. package/src/components/chart/types.ts +72 -0
  105. package/src/components/checkbox/Checkbox.css +168 -0
  106. package/src/components/checkbox/Checkbox.test.tsx +97 -0
  107. package/src/components/checkbox/Checkbox.tsx +168 -0
  108. package/src/components/chip-group/ChipGroup.css +182 -0
  109. package/src/components/chip-group/ChipGroup.test.tsx +135 -0
  110. package/src/components/chip-group/ChipGroup.tsx +169 -0
  111. package/src/components/choice-card/ChoiceCard.css +141 -0
  112. package/src/components/choice-card/ChoiceCard.test.tsx +111 -0
  113. package/src/components/choice-card/ChoiceCard.tsx +139 -0
  114. package/src/components/choice-grid/ChoiceGrid.css +110 -0
  115. package/src/components/choice-grid/ChoiceGrid.test.tsx +85 -0
  116. package/src/components/choice-grid/ChoiceGrid.tsx +85 -0
  117. package/src/components/choice-tile/ChoiceTile.css +79 -0
  118. package/src/components/choice-tile/ChoiceTile.test.tsx +118 -0
  119. package/src/components/choice-tile/ChoiceTile.tsx +57 -0
  120. package/src/components/command-palette/CommandPalette.css +296 -0
  121. package/src/components/command-palette/CommandPalette.test.tsx +190 -0
  122. package/src/components/command-palette/CommandPalette.tsx +340 -0
  123. package/src/components/command-palette/model.ts +156 -0
  124. package/src/components/compact-confirm/CompactConfirm.css +136 -0
  125. package/src/components/compact-confirm/CompactConfirm.test.tsx +119 -0
  126. package/src/components/compact-confirm/CompactConfirm.tsx +91 -0
  127. package/src/components/confirm-service/ConfirmService.test.tsx +121 -0
  128. package/src/components/confirm-service/ConfirmService.tsx +152 -0
  129. package/src/components/consent-banner/ConsentBanner.css +73 -0
  130. package/src/components/consent-banner/ConsentBanner.rtl.test.tsx +12 -0
  131. package/src/components/consent-banner/ConsentBanner.test.tsx +86 -0
  132. package/src/components/consent-banner/ConsentBanner.tsx +66 -0
  133. package/src/components/contact-card/ContactCard.css +105 -0
  134. package/src/components/contact-card/ContactCard.rtl.test.tsx +17 -0
  135. package/src/components/contact-card/ContactCard.test.tsx +58 -0
  136. package/src/components/contact-card/ContactCard.tsx +99 -0
  137. package/src/components/copy-identifier/CopyIdentifier.css +90 -0
  138. package/src/components/copy-identifier/CopyIdentifier.test.tsx +103 -0
  139. package/src/components/copy-identifier/CopyIdentifier.tsx +89 -0
  140. package/src/components/count-badge/CountBadge.css +54 -0
  141. package/src/components/count-badge/CountBadge.test.tsx +81 -0
  142. package/src/components/count-badge/CountBadge.tsx +68 -0
  143. package/src/components/currency-field/CurrencyField.css +88 -0
  144. package/src/components/currency-field/CurrencyField.test.tsx +147 -0
  145. package/src/components/currency-field/CurrencyField.tsx +219 -0
  146. package/src/components/data-table/DataTable.css +362 -0
  147. package/src/components/data-table/DataTable.test.tsx +214 -0
  148. package/src/components/data-table/DataTable.tsx +396 -0
  149. package/src/components/date-field/DateField.css +126 -0
  150. package/src/components/date-field/DateField.test.tsx +143 -0
  151. package/src/components/date-field/DateField.tsx +235 -0
  152. package/src/components/delta-indicator/DeltaIndicator.css +58 -0
  153. package/src/components/delta-indicator/DeltaIndicator.rtl.test.tsx +19 -0
  154. package/src/components/delta-indicator/DeltaIndicator.test.tsx +69 -0
  155. package/src/components/delta-indicator/DeltaIndicator.tsx +88 -0
  156. package/src/components/details-popover/DetailsPopover.css +166 -0
  157. package/src/components/details-popover/DetailsPopover.test.tsx +92 -0
  158. package/src/components/details-popover/DetailsPopover.tsx +141 -0
  159. package/src/components/drawer/Drawer.css +188 -0
  160. package/src/components/drawer/Drawer.test.tsx +152 -0
  161. package/src/components/drawer/Drawer.tsx +121 -0
  162. package/src/components/edge-swipe-back/EdgeSwipeBack.css +66 -0
  163. package/src/components/edge-swipe-back/EdgeSwipeBack.rtl.test.tsx +17 -0
  164. package/src/components/edge-swipe-back/EdgeSwipeBack.test.tsx +86 -0
  165. package/src/components/edge-swipe-back/EdgeSwipeBack.tsx +104 -0
  166. package/src/components/empty-state/EmptyState.css +70 -0
  167. package/src/components/empty-state/EmptyState.test.tsx +77 -0
  168. package/src/components/empty-state/EmptyState.tsx +105 -0
  169. package/src/components/environment-banner/EnvironmentBanner.css +46 -0
  170. package/src/components/environment-banner/EnvironmentBanner.rtl.test.tsx +13 -0
  171. package/src/components/environment-banner/EnvironmentBanner.test.tsx +51 -0
  172. package/src/components/environment-banner/EnvironmentBanner.tsx +75 -0
  173. package/src/components/error-state/ErrorState.css +113 -0
  174. package/src/components/error-state/ErrorState.test.tsx +98 -0
  175. package/src/components/error-state/ErrorState.tsx +145 -0
  176. package/src/components/evidence-panel/EvidencePanel.css +126 -0
  177. package/src/components/evidence-panel/EvidencePanel.test.tsx +130 -0
  178. package/src/components/evidence-panel/EvidencePanel.tsx +120 -0
  179. package/src/components/feature-showcase-card/FeatureShowcaseCard.css +136 -0
  180. package/src/components/feature-showcase-card/FeatureShowcaseCard.rtl.test.tsx +13 -0
  181. package/src/components/feature-showcase-card/FeatureShowcaseCard.test.tsx +91 -0
  182. package/src/components/feature-showcase-card/FeatureShowcaseCard.tsx +76 -0
  183. package/src/components/feature-tile/FeatureTile.css +111 -0
  184. package/src/components/feature-tile/FeatureTile.rtl.test.tsx +14 -0
  185. package/src/components/feature-tile/FeatureTile.test.tsx +78 -0
  186. package/src/components/feature-tile/FeatureTile.tsx +52 -0
  187. package/src/components/federated-sign-in/FederatedSignIn.css +23 -0
  188. package/src/components/federated-sign-in/FederatedSignIn.rtl.test.tsx +12 -0
  189. package/src/components/federated-sign-in/FederatedSignIn.test.tsx +74 -0
  190. package/src/components/federated-sign-in/FederatedSignIn.tsx +68 -0
  191. package/src/components/field/Field.css +99 -0
  192. package/src/components/field/Field.test.tsx +134 -0
  193. package/src/components/field/Field.tsx +228 -0
  194. package/src/components/filter-chips/FilterChips.css +145 -0
  195. package/src/components/filter-chips/FilterChips.test.tsx +121 -0
  196. package/src/components/filter-chips/FilterChips.tsx +134 -0
  197. package/src/components/filter-field/FilterField.css +11 -0
  198. package/src/components/filter-field/FilterField.test.tsx +92 -0
  199. package/src/components/filter-field/FilterField.tsx +43 -0
  200. package/src/components/filter-tile/FilterTile.css +145 -0
  201. package/src/components/filter-tile/FilterTile.test.tsx +69 -0
  202. package/src/components/filter-tile/FilterTile.tsx +87 -0
  203. package/src/components/flag-set-picker/FlagSetPicker.css +32 -0
  204. package/src/components/flag-set-picker/FlagSetPicker.test.tsx +75 -0
  205. package/src/components/flag-set-picker/FlagSetPicker.tsx +92 -0
  206. package/src/components/floating-action-bar/FloatingActionBar.css +375 -0
  207. package/src/components/floating-action-bar/FloatingActionBar.test.tsx +309 -0
  208. package/src/components/floating-action-bar/FloatingActionBar.tsx +655 -0
  209. package/src/components/floating-action-bar/barModel.ts +147 -0
  210. package/src/components/floating-action-button/FloatingActionButton.css +54 -0
  211. package/src/components/floating-action-button/FloatingActionButton.test.tsx +87 -0
  212. package/src/components/floating-action-button/FloatingActionButton.tsx +87 -0
  213. package/src/components/form-actions/FormActions.css +34 -0
  214. package/src/components/form-actions/FormActions.test.tsx +96 -0
  215. package/src/components/form-actions/FormActions.tsx +83 -0
  216. package/src/components/form-layout/FormLayout.css +148 -0
  217. package/src/components/form-layout/FormLayout.test.tsx +137 -0
  218. package/src/components/form-layout/FormLayout.tsx +177 -0
  219. package/src/components/glass-check-toggle/GlassCheckToggle.css +92 -0
  220. package/src/components/glass-check-toggle/GlassCheckToggle.rtl.test.tsx +12 -0
  221. package/src/components/glass-check-toggle/GlassCheckToggle.test.tsx +70 -0
  222. package/src/components/glass-check-toggle/GlassCheckToggle.tsx +75 -0
  223. package/src/components/gradient-mark/GradientMark.css +45 -0
  224. package/src/components/grouped-disclosure-list/GroupedDisclosureList.css +80 -0
  225. package/src/components/grouped-disclosure-list/GroupedDisclosureList.test.tsx +92 -0
  226. package/src/components/grouped-disclosure-list/GroupedDisclosureList.tsx +105 -0
  227. package/src/components/heading/Heading.css +67 -0
  228. package/src/components/heading/Heading.test.tsx +93 -0
  229. package/src/components/heading/Heading.tsx +60 -0
  230. package/src/components/highlight-stat/HighlightStat.css +50 -0
  231. package/src/components/highlight-stat/HighlightStat.rtl.test.tsx +13 -0
  232. package/src/components/highlight-stat/HighlightStat.test.tsx +83 -0
  233. package/src/components/highlight-stat/HighlightStat.tsx +66 -0
  234. package/src/components/history-list/HistoryList.css +116 -0
  235. package/src/components/history-list/HistoryList.test.tsx +88 -0
  236. package/src/components/history-list/HistoryList.tsx +115 -0
  237. package/src/components/http-error-page/HttpErrorPage.css +70 -0
  238. package/src/components/http-error-page/HttpErrorPage.rtl.test.tsx +12 -0
  239. package/src/components/http-error-page/HttpErrorPage.test.tsx +51 -0
  240. package/src/components/http-error-page/HttpErrorPage.tsx +70 -0
  241. package/src/components/image-picker/ImagePicker.css +151 -0
  242. package/src/components/image-picker/ImagePicker.test.tsx +133 -0
  243. package/src/components/image-picker/ImagePicker.tsx +167 -0
  244. package/src/components/inline-notice/InlineNotice.css +101 -0
  245. package/src/components/inline-notice/InlineNotice.test.tsx +123 -0
  246. package/src/components/inline-notice/InlineNotice.tsx +98 -0
  247. package/src/components/insight-card/InsightCard.css +109 -0
  248. package/src/components/insight-card/InsightCard.rtl.test.tsx +14 -0
  249. package/src/components/insight-card/InsightCard.test.tsx +102 -0
  250. package/src/components/insight-card/InsightCard.tsx +185 -0
  251. package/src/components/legal-document-frame/LegalDocumentFrame.css +163 -0
  252. package/src/components/legal-document-frame/LegalDocumentFrame.rtl.test.tsx +13 -0
  253. package/src/components/legal-document-frame/LegalDocumentFrame.test.tsx +123 -0
  254. package/src/components/legal-document-frame/LegalDocumentFrame.tsx +167 -0
  255. package/src/components/link/Link.css +76 -0
  256. package/src/components/link/Link.test.tsx +103 -0
  257. package/src/components/link/Link.tsx +87 -0
  258. package/src/components/list-panel/ListPanel.css +95 -0
  259. package/src/components/list-panel/ListPanel.test.tsx +128 -0
  260. package/src/components/list-panel/ListPanel.tsx +137 -0
  261. package/src/components/list-row/ListRow.css +81 -0
  262. package/src/components/list-row/ListRow.test.tsx +87 -0
  263. package/src/components/list-row/ListRow.tsx +68 -0
  264. package/src/components/listbox-select/ListboxSelect.css +263 -0
  265. package/src/components/listbox-select/ListboxSelect.test.tsx +157 -0
  266. package/src/components/listbox-select/ListboxSelect.tsx +178 -0
  267. package/src/components/live-report-view/LiveReportView.css +111 -0
  268. package/src/components/live-report-view/LiveReportView.rtl.test.tsx +14 -0
  269. package/src/components/live-report-view/LiveReportView.test.tsx +185 -0
  270. package/src/components/live-report-view/LiveReportView.tsx +135 -0
  271. package/src/components/live-report-view/runEvents.ts +103 -0
  272. package/src/components/live-report-view/useRunEventStream.ts +134 -0
  273. package/src/components/loader-presets/LoaderPresets.test.tsx +22 -0
  274. package/src/components/loader-presets/LoaderPresets.tsx +80 -0
  275. package/src/components/locale-picker/LocalePicker.css +91 -0
  276. package/src/components/locale-picker/LocalePicker.test.tsx +99 -0
  277. package/src/components/locale-picker/LocalePicker.tsx +128 -0
  278. package/src/components/long-press-menu/LongPressMenu.css +97 -0
  279. package/src/components/long-press-menu/LongPressMenu.test.tsx +106 -0
  280. package/src/components/long-press-menu/LongPressMenu.tsx +100 -0
  281. package/src/components/markdown-view/MarkdownView.css +93 -0
  282. package/src/components/markdown-view/MarkdownView.test.tsx +107 -0
  283. package/src/components/markdown-view/MarkdownView.tsx +96 -0
  284. package/src/components/markdown-view/parse.ts +152 -0
  285. package/src/components/metric-tile/MetricTile.css +104 -0
  286. package/src/components/metric-tile/MetricTile.rtl.test.tsx +12 -0
  287. package/src/components/metric-tile/MetricTile.test.tsx +70 -0
  288. package/src/components/metric-tile/MetricTile.tsx +59 -0
  289. package/src/components/modal-dialog/ModalDialog.css +165 -0
  290. package/src/components/modal-dialog/ModalDialog.test.tsx +158 -0
  291. package/src/components/modal-dialog/ModalDialog.tsx +112 -0
  292. package/src/components/month-field/MonthField.css +11 -0
  293. package/src/components/month-field/MonthField.test.tsx +101 -0
  294. package/src/components/month-field/MonthField.tsx +124 -0
  295. package/src/components/native-select/NativeSelect.css +246 -0
  296. package/src/components/native-select/NativeSelect.test.tsx +160 -0
  297. package/src/components/native-select/NativeSelect.tsx +234 -0
  298. package/src/components/navigation-flyout/NavigationFlyout.css +181 -0
  299. package/src/components/navigation-flyout/NavigationFlyout.test.tsx +111 -0
  300. package/src/components/navigation-flyout/NavigationFlyout.tsx +196 -0
  301. package/src/components/notification-center/NotificationCenter.css +187 -0
  302. package/src/components/notification-center/NotificationCenter.test.tsx +140 -0
  303. package/src/components/notification-center/NotificationCenter.tsx +229 -0
  304. package/src/components/one-time-code-field/OneTimeCodeField.css +62 -0
  305. package/src/components/one-time-code-field/OneTimeCodeField.test.tsx +150 -0
  306. package/src/components/one-time-code-field/OneTimeCodeField.tsx +176 -0
  307. package/src/components/page-dots/PageDots.css +90 -0
  308. package/src/components/page-dots/PageDots.test.tsx +87 -0
  309. package/src/components/page-dots/PageDots.tsx +95 -0
  310. package/src/components/page-header/PageHeader.css +271 -0
  311. package/src/components/page-header/PageHeader.test.tsx +185 -0
  312. package/src/components/page-header/PageHeader.tsx +194 -0
  313. package/src/components/pagination/Pagination.css +139 -0
  314. package/src/components/pagination/Pagination.test.tsx +104 -0
  315. package/src/components/pagination/Pagination.tsx +160 -0
  316. package/src/components/password-strength/PasswordStrength.css +85 -0
  317. package/src/components/password-strength/PasswordStrength.test.tsx +90 -0
  318. package/src/components/password-strength/PasswordStrength.tsx +109 -0
  319. package/src/components/phase-bar/PhaseBar.css +95 -0
  320. package/src/components/phase-bar/PhaseBar.test.tsx +67 -0
  321. package/src/components/phase-bar/PhaseBar.tsx +66 -0
  322. package/src/components/popover/Popover.css +130 -0
  323. package/src/components/popover/Popover.test.tsx +153 -0
  324. package/src/components/popover/Popover.tsx +110 -0
  325. package/src/components/product-mark/ProductMark.css +24 -0
  326. package/src/components/product-mark/ProductMark.test.tsx +48 -0
  327. package/src/components/product-mark/ProductMark.tsx +95 -0
  328. package/src/components/product-mark/marks.ts +115 -0
  329. package/src/components/product-mark/plate.ts +42 -0
  330. package/src/components/profile-avatar/ProfileAvatar.css +51 -0
  331. package/src/components/profile-avatar/ProfileAvatar.test.tsx +78 -0
  332. package/src/components/profile-avatar/ProfileAvatar.tsx +58 -0
  333. package/src/components/profile-summary/ProfileSummary.css +43 -0
  334. package/src/components/profile-summary/ProfileSummary.rtl.test.tsx +12 -0
  335. package/src/components/profile-summary/ProfileSummary.test.tsx +52 -0
  336. package/src/components/profile-summary/ProfileSummary.tsx +52 -0
  337. package/src/components/progress-bar/ProgressBar.css +100 -0
  338. package/src/components/progress-bar/ProgressBar.test.tsx +68 -0
  339. package/src/components/progress-bar/ProgressBar.tsx +76 -0
  340. package/src/components/proof-badge/ProofBadge.css +178 -0
  341. package/src/components/proof-badge/ProofBadge.test.tsx +95 -0
  342. package/src/components/proof-badge/ProofBadge.tsx +113 -0
  343. package/src/components/pull-to-refresh/PullToRefresh.css +99 -0
  344. package/src/components/pull-to-refresh/PullToRefresh.rtl.test.tsx +16 -0
  345. package/src/components/pull-to-refresh/PullToRefresh.test.tsx +117 -0
  346. package/src/components/pull-to-refresh/PullToRefresh.tsx +181 -0
  347. package/src/components/record-card/RecordCard.css +151 -0
  348. package/src/components/record-card/RecordCard.rtl.test.tsx +16 -0
  349. package/src/components/record-card/RecordCard.test.tsx +105 -0
  350. package/src/components/record-card/RecordCard.tsx +159 -0
  351. package/src/components/recovery-code-list/RecoveryCodeList.css +66 -0
  352. package/src/components/recovery-code-list/RecoveryCodeList.test.tsx +108 -0
  353. package/src/components/recovery-code-list/RecoveryCodeList.tsx +105 -0
  354. package/src/components/region-map/RegionMap.css +229 -0
  355. package/src/components/region-map/RegionMap.test.tsx +200 -0
  356. package/src/components/region-map/RegionMap.tsx +400 -0
  357. package/src/components/region-map/useRegionMapState.ts +92 -0
  358. package/src/components/region-theme/countryProfile.ts +110 -0
  359. package/src/components/region-theme/data/br-profile.ts +41 -0
  360. package/src/components/region-theme/data/br.ts +80 -0
  361. package/src/components/region-theme/format.ts +120 -0
  362. package/src/components/region-theme/geometry.ts +67 -0
  363. package/src/components/region-theme/index.ts +7 -0
  364. package/src/components/region-theme/regionTheme.test.tsx +200 -0
  365. package/src/components/region-theme/registry.ts +163 -0
  366. package/src/components/report-view/ReportView.css +323 -0
  367. package/src/components/report-view/ReportView.rtl.test.tsx +25 -0
  368. package/src/components/report-view/ReportView.test.tsx +141 -0
  369. package/src/components/report-view/ReportView.tsx +201 -0
  370. package/src/components/report-view/sections.tsx +281 -0
  371. package/src/components/report-view/types.ts +72 -0
  372. package/src/components/report-view/validateReport.ts +51 -0
  373. package/src/components/resizable-split/ResizableSplit.css +56 -0
  374. package/src/components/resizable-split/ResizableSplit.test.tsx +108 -0
  375. package/src/components/resizable-split/ResizableSplit.tsx +76 -0
  376. package/src/components/resizable-split/useSplitter.ts +72 -0
  377. package/src/components/reveal-number/RevealNumber.css +17 -0
  378. package/src/components/reveal-number/RevealNumber.rtl.test.tsx +13 -0
  379. package/src/components/reveal-number/RevealNumber.test.tsx +136 -0
  380. package/src/components/reveal-number/RevealNumber.tsx +115 -0
  381. package/src/components/route-progress/RouteProgress.css +54 -0
  382. package/src/components/route-progress/RouteProgress.rtl.test.tsx +16 -0
  383. package/src/components/route-progress/RouteProgress.test.tsx +62 -0
  384. package/src/components/route-progress/RouteProgress.tsx +63 -0
  385. package/src/components/ruled-grid/RuledGrid.css +86 -0
  386. package/src/components/ruled-grid/RuledGrid.rtl.test.tsx +13 -0
  387. package/src/components/ruled-grid/RuledGrid.test.tsx +92 -0
  388. package/src/components/ruled-grid/RuledGrid.tsx +73 -0
  389. package/src/components/safe-area-inset/SafeAreaInset.css +65 -0
  390. package/src/components/safe-area-inset/SafeAreaInset.rtl.test.tsx +17 -0
  391. package/src/components/safe-area-inset/SafeAreaInset.test.tsx +99 -0
  392. package/src/components/safe-area-inset/SafeAreaInset.tsx +101 -0
  393. package/src/components/schema-request-form/SchemaRequestForm.css +75 -0
  394. package/src/components/schema-request-form/SchemaRequestForm.test.tsx +138 -0
  395. package/src/components/schema-request-form/SchemaRequestForm.tsx +231 -0
  396. package/src/components/search-bar/SearchBar.css +117 -0
  397. package/src/components/search-bar/SearchBar.test.tsx +134 -0
  398. package/src/components/search-bar/SearchBar.tsx +176 -0
  399. package/src/components/section-heading/SectionHeading.css +68 -0
  400. package/src/components/section-heading/SectionHeading.test.tsx +65 -0
  401. package/src/components/section-heading/SectionHeading.tsx +61 -0
  402. package/src/components/section-panel/SectionPanel.css +207 -0
  403. package/src/components/section-panel/SectionPanel.test.tsx +122 -0
  404. package/src/components/section-panel/SectionPanel.tsx +139 -0
  405. package/src/components/sectioned-modal/SectionedModal.css +325 -0
  406. package/src/components/sectioned-modal/SectionedModal.test.tsx +138 -0
  407. package/src/components/sectioned-modal/SectionedModal.tsx +258 -0
  408. package/src/components/segmented-control/SegmentedControl.css +123 -0
  409. package/src/components/segmented-control/SegmentedControl.test.tsx +109 -0
  410. package/src/components/segmented-control/SegmentedControl.tsx +85 -0
  411. package/src/components/separator/Separator.css +61 -0
  412. package/src/components/separator/Separator.test.tsx +65 -0
  413. package/src/components/separator/Separator.tsx +46 -0
  414. package/src/components/settings-dialog/SettingsDialog.css +151 -0
  415. package/src/components/settings-dialog/SettingsDialog.test.tsx +155 -0
  416. package/src/components/settings-dialog/SettingsDialog.tsx +126 -0
  417. package/src/components/settings-dialog/settingsModel.ts +63 -0
  418. package/src/components/settings-dialog/settingsParts.tsx +149 -0
  419. package/src/components/showcase-backdrop/ShowcaseBackdrop.css +78 -0
  420. package/src/components/showcase-backdrop/ShowcaseBackdrop.rtl.test.tsx +12 -0
  421. package/src/components/showcase-backdrop/ShowcaseBackdrop.test.tsx +91 -0
  422. package/src/components/showcase-backdrop/ShowcaseBackdrop.tsx +47 -0
  423. package/src/components/showcase-heading/ShowcaseHeading.css +65 -0
  424. package/src/components/showcase-heading/ShowcaseHeading.rtl.test.tsx +13 -0
  425. package/src/components/showcase-heading/ShowcaseHeading.test.tsx +79 -0
  426. package/src/components/showcase-heading/ShowcaseHeading.tsx +67 -0
  427. package/src/components/skeleton/Skeleton.css +120 -0
  428. package/src/components/skeleton/Skeleton.test.tsx +96 -0
  429. package/src/components/skeleton/Skeleton.tsx +168 -0
  430. package/src/components/skeleton-fill/SkeletonFill.css +67 -0
  431. package/src/components/skeleton-fill/SkeletonFill.rtl.test.tsx +12 -0
  432. package/src/components/skeleton-fill/SkeletonFill.test.tsx +61 -0
  433. package/src/components/skeleton-fill/SkeletonFill.tsx +48 -0
  434. package/src/components/skip-link/SkipLink.css +52 -0
  435. package/src/components/skip-link/SkipLink.test.tsx +90 -0
  436. package/src/components/skip-link/SkipLink.tsx +42 -0
  437. package/src/components/spinner/Spinner.css +134 -0
  438. package/src/components/spinner/Spinner.test.tsx +99 -0
  439. package/src/components/spinner/Spinner.tsx +100 -0
  440. package/src/components/stage-strip/StageStrip.css +126 -0
  441. package/src/components/stage-strip/StageStrip.test.tsx +82 -0
  442. package/src/components/stage-strip/StageStrip.tsx +100 -0
  443. package/src/components/stat-strip/StatStrip.css +90 -0
  444. package/src/components/stat-strip/StatStrip.test.tsx +75 -0
  445. package/src/components/stat-strip/StatStrip.tsx +62 -0
  446. package/src/components/stat-tile/StatTile.css +171 -0
  447. package/src/components/stat-tile/StatTile.rtl.test.tsx +14 -0
  448. package/src/components/stat-tile/StatTile.test.tsx +90 -0
  449. package/src/components/stat-tile/StatTile.tsx +129 -0
  450. package/src/components/state-switch/StateSwitch.css +113 -0
  451. package/src/components/state-switch/StateSwitch.test.tsx +102 -0
  452. package/src/components/state-switch/StateSwitch.tsx +73 -0
  453. package/src/components/status-pill/StatusPill.css +85 -0
  454. package/src/components/status-pill/StatusPill.test.tsx +91 -0
  455. package/src/components/status-pill/StatusPill.tsx +73 -0
  456. package/src/components/step-list/StepList.css +181 -0
  457. package/src/components/step-list/StepList.test.tsx +93 -0
  458. package/src/components/step-list/StepList.tsx +118 -0
  459. package/src/components/summary-row/SummaryRow.css +85 -0
  460. package/src/components/summary-row/SummaryRow.test.tsx +77 -0
  461. package/src/components/summary-row/SummaryRow.tsx +72 -0
  462. package/src/components/surface/Surface.css +157 -0
  463. package/src/components/surface/Surface.test.tsx +97 -0
  464. package/src/components/surface/Surface.tsx +124 -0
  465. package/src/components/swipe-row/SwipeRow.css +131 -0
  466. package/src/components/swipe-row/SwipeRow.rtl.test.tsx +31 -0
  467. package/src/components/swipe-row/SwipeRow.test.tsx +124 -0
  468. package/src/components/swipe-row/SwipeRow.tsx +219 -0
  469. package/src/components/switch/Switch.css +182 -0
  470. package/src/components/switch/Switch.test.tsx +112 -0
  471. package/src/components/switch/Switch.tsx +125 -0
  472. package/src/components/tabs/Tabs.css +137 -0
  473. package/src/components/tabs/Tabs.test.tsx +127 -0
  474. package/src/components/tabs/Tabs.tsx +94 -0
  475. package/src/components/tag/Tag.css +146 -0
  476. package/src/components/tag/Tag.test.tsx +129 -0
  477. package/src/components/tag/Tag.tsx +168 -0
  478. package/src/components/tag-field/TagField.css +274 -0
  479. package/src/components/tag-field/TagField.test.tsx +156 -0
  480. package/src/components/tag-field/TagField.tsx +270 -0
  481. package/src/components/text/Text.css +84 -0
  482. package/src/components/text/Text.test.tsx +91 -0
  483. package/src/components/text/Text.tsx +84 -0
  484. package/src/components/text-area/TextArea.css +125 -0
  485. package/src/components/text-area/TextArea.test.tsx +97 -0
  486. package/src/components/text-area/TextArea.tsx +145 -0
  487. package/src/components/text-field/TextField.css +197 -0
  488. package/src/components/text-field/TextField.test.tsx +136 -0
  489. package/src/components/text-field/TextField.tsx +208 -0
  490. package/src/components/theme-palette/ThemePalette.css +262 -0
  491. package/src/components/theme-palette/ThemePalette.test.tsx +62 -0
  492. package/src/components/theme-palette/ThemePalette.tsx +377 -0
  493. package/src/components/theme-switcher/ThemeSwitcher.css +159 -0
  494. package/src/components/theme-switcher/ThemeSwitcher.test.tsx +71 -0
  495. package/src/components/theme-switcher/ThemeSwitcher.tsx +72 -0
  496. package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.css +56 -0
  497. package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.rtl.test.tsx +13 -0
  498. package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.test.tsx +100 -0
  499. package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.tsx +218 -0
  500. package/src/components/ticker-card/TickerCard.css +147 -0
  501. package/src/components/ticker-card/TickerCard.rtl.test.tsx +14 -0
  502. package/src/components/ticker-card/TickerCard.test.tsx +74 -0
  503. package/src/components/ticker-card/TickerCard.tsx +151 -0
  504. package/src/components/time-field/TimeField.css +69 -0
  505. package/src/components/time-field/TimeField.test.tsx +138 -0
  506. package/src/components/time-field/TimeField.tsx +205 -0
  507. package/src/components/toast/Toast.css +137 -0
  508. package/src/components/toast/Toast.test.tsx +269 -0
  509. package/src/components/toast/Toast.tsx +370 -0
  510. package/src/components/tone-tint/ToneTint.css +74 -0
  511. package/src/components/tone-tint/toneTint.test.tsx +74 -0
  512. package/src/components/tone-tint/toneTint.ts +57 -0
  513. package/src/components/toolbar-trigger/ToolbarTrigger.css +104 -0
  514. package/src/components/toolbar-trigger/ToolbarTrigger.test.tsx +75 -0
  515. package/src/components/toolbar-trigger/ToolbarTrigger.tsx +70 -0
  516. package/src/components/tweened-number/TweenedNumber.css +7 -0
  517. package/src/components/tweened-number/TweenedNumber.rtl.test.tsx +19 -0
  518. package/src/components/tweened-number/TweenedNumber.test.tsx +97 -0
  519. package/src/components/tweened-number/TweenedNumber.tsx +70 -0
  520. package/src/components/upgrade-gate/UpgradeGate.css +94 -0
  521. package/src/components/upgrade-gate/UpgradeGate.rtl.test.tsx +12 -0
  522. package/src/components/upgrade-gate/UpgradeGate.test.tsx +56 -0
  523. package/src/components/upgrade-gate/UpgradeGate.tsx +56 -0
  524. package/src/components/wheel-picker/WheelPicker.css +149 -0
  525. package/src/components/wheel-picker/WheelPicker.test.tsx +150 -0
  526. package/src/components/wheel-picker/WheelPicker.tsx +228 -0
  527. package/src/components/wizard-page/WizardPage.css +114 -0
  528. package/src/components/wizard-page/WizardPage.test.tsx +117 -0
  529. package/src/components/wizard-page/WizardPage.tsx +123 -0
  530. package/src/elements/action-menu/definition.ts +123 -0
  531. package/src/elements/action-menu/element.ts +604 -0
  532. package/src/elements/anatomy.ts +55 -0
  533. package/src/elements/avatar/definition.ts +161 -0
  534. package/src/elements/avatar/element.ts +112 -0
  535. package/src/elements/base.ts +244 -0
  536. package/src/elements/brand-wordmark/definition.ts +37 -0
  537. package/src/elements/brand-wordmark/element.ts +13 -0
  538. package/src/elements/breadcrumbs/definition.ts +85 -0
  539. package/src/elements/breadcrumbs/element.ts +231 -0
  540. package/src/elements/button/definition.ts +74 -0
  541. package/src/elements/button/element.ts +25 -0
  542. package/src/elements/checkbox/definition.ts +132 -0
  543. package/src/elements/checkbox/element.ts +59 -0
  544. package/src/elements/command-palette/definition.ts +60 -0
  545. package/src/elements/command-palette/element.ts +706 -0
  546. package/src/elements/currency-field/definition.ts +159 -0
  547. package/src/elements/currency-field/element.ts +265 -0
  548. package/src/elements/data-table/definition.ts +54 -0
  549. package/src/elements/data-table/element.ts +440 -0
  550. package/src/elements/definition.ts +196 -0
  551. package/src/elements/drawer/definition.ts +156 -0
  552. package/src/elements/drawer/element.ts +304 -0
  553. package/src/elements/elements.css +156 -0
  554. package/src/elements/gradient-mark/definition.ts +41 -0
  555. package/src/elements/gradient-mark/element.ts +27 -0
  556. package/src/elements/heading/definition.ts +64 -0
  557. package/src/elements/heading/element.ts +14 -0
  558. package/src/elements/index.ts +146 -0
  559. package/src/elements/inline-notice/definition.ts +167 -0
  560. package/src/elements/inline-notice/element.ts +36 -0
  561. package/src/elements/link/definition.ts +70 -0
  562. package/src/elements/link/element.ts +40 -0
  563. package/src/elements/markdown-view/definition.ts +35 -0
  564. package/src/elements/markdown-view/element.ts +183 -0
  565. package/src/elements/modal/definition.ts +175 -0
  566. package/src/elements/modal/element.ts +226 -0
  567. package/src/elements/native-select/definition.ts +143 -0
  568. package/src/elements/native-select/element.ts +34 -0
  569. package/src/elements/notification-center/definition.ts +236 -0
  570. package/src/elements/notification-center/element.ts +527 -0
  571. package/src/elements/page-header/definition.ts +151 -0
  572. package/src/elements/page-header/element.ts +37 -0
  573. package/src/elements/popover/definition.ts +137 -0
  574. package/src/elements/popover/element.ts +196 -0
  575. package/src/elements/popover/model.ts +141 -0
  576. package/src/elements/progress-bar/definition.ts +84 -0
  577. package/src/elements/progress-bar/element.ts +82 -0
  578. package/src/elements/react/TyActionMenu.ts +79 -0
  579. package/src/elements/react/TyAvatar.ts +129 -0
  580. package/src/elements/react/TyBrandWordmark.ts +51 -0
  581. package/src/elements/react/TyBreadcrumbs.ts +82 -0
  582. package/src/elements/react/TyButton.ts +98 -0
  583. package/src/elements/react/TyCheckbox.ts +92 -0
  584. package/src/elements/react/TyCommandPalette.ts +120 -0
  585. package/src/elements/react/TyCurrencyField.ts +126 -0
  586. package/src/elements/react/TyDataTable.ts +105 -0
  587. package/src/elements/react/TyDrawer.ts +99 -0
  588. package/src/elements/react/TyGradientMark.ts +52 -0
  589. package/src/elements/react/TyHeading.ts +65 -0
  590. package/src/elements/react/TyInlineNotice.ts +191 -0
  591. package/src/elements/react/TyLink.ts +65 -0
  592. package/src/elements/react/TyMarkdownView.ts +46 -0
  593. package/src/elements/react/TyModal.ts +118 -0
  594. package/src/elements/react/TyNativeSelect.ts +96 -0
  595. package/src/elements/react/TyNotificationCenter.ts +153 -0
  596. package/src/elements/react/TyPageHeader.ts +126 -0
  597. package/src/elements/react/TyPopover.ts +95 -0
  598. package/src/elements/react/TyProgressBar.ts +72 -0
  599. package/src/elements/react/TySectionHeading.ts +78 -0
  600. package/src/elements/react/TySegmentedControl.ts +64 -0
  601. package/src/elements/react/TySeparator.ts +51 -0
  602. package/src/elements/react/TySkeleton.ts +61 -0
  603. package/src/elements/react/TySkipLink.ts +39 -0
  604. package/src/elements/react/TySpinner.ts +55 -0
  605. package/src/elements/react/TyStatusPill.ts +66 -0
  606. package/src/elements/react/TySurface.ts +104 -0
  607. package/src/elements/react/TySwitch.ts +77 -0
  608. package/src/elements/react/TyTabs.ts +66 -0
  609. package/src/elements/react/TyTag.ts +71 -0
  610. package/src/elements/react/TyTagField.ts +90 -0
  611. package/src/elements/react/TyTextArea.ts +124 -0
  612. package/src/elements/react/TyTextField.ts +186 -0
  613. package/src/elements/react/TyThemePalette.ts +126 -0
  614. package/src/elements/react/TyToast.ts +57 -0
  615. package/src/elements/react/TyWheelPicker.ts +60 -0
  616. package/src/elements/react/index.ts +39 -0
  617. package/src/elements/register.ts +7 -0
  618. package/src/elements/section-heading/definition.ts +81 -0
  619. package/src/elements/section-heading/element.ts +15 -0
  620. package/src/elements/segmented-control/definition.ts +72 -0
  621. package/src/elements/segmented-control/element.ts +253 -0
  622. package/src/elements/separator/definition.ts +44 -0
  623. package/src/elements/separator/element.ts +13 -0
  624. package/src/elements/skeleton/definition.ts +91 -0
  625. package/src/elements/skeleton/element.ts +175 -0
  626. package/src/elements/skip-link/definition.ts +26 -0
  627. package/src/elements/skip-link/element.ts +75 -0
  628. package/src/elements/spinner/definition.ts +52 -0
  629. package/src/elements/spinner/element.ts +58 -0
  630. package/src/elements/status-pill/definition.ts +48 -0
  631. package/src/elements/status-pill/element.ts +50 -0
  632. package/src/elements/surface/definition.ts +93 -0
  633. package/src/elements/surface/element.ts +42 -0
  634. package/src/elements/switch/definition.ts +72 -0
  635. package/src/elements/switch/element.ts +65 -0
  636. package/src/elements/tabs/definition.ts +60 -0
  637. package/src/elements/tabs/element.ts +319 -0
  638. package/src/elements/tag/definition.ts +69 -0
  639. package/src/elements/tag/element.ts +35 -0
  640. package/src/elements/tag-field/definition.ts +51 -0
  641. package/src/elements/tag-field/element.ts +461 -0
  642. package/src/elements/text-area/definition.ts +137 -0
  643. package/src/elements/text-area/element.ts +113 -0
  644. package/src/elements/text-field/definition.ts +236 -0
  645. package/src/elements/text-field/element.ts +151 -0
  646. package/src/elements/theme-palette/definition.ts +52 -0
  647. package/src/elements/theme-palette/element.ts +372 -0
  648. package/src/elements/theme-palette/model.ts +140 -0
  649. package/src/elements/toast/definition.ts +42 -0
  650. package/src/elements/toast/element.ts +479 -0
  651. package/src/elements/wheel-picker/definition.ts +39 -0
  652. package/src/elements/wheel-picker/element.ts +407 -0
  653. package/src/flags/Flag.css +58 -0
  654. package/src/flags/Flag.tsx +70 -0
  655. package/src/flags/art/1x1/ad.ts +2 -0
  656. package/src/flags/art/1x1/ae.ts +2 -0
  657. package/src/flags/art/1x1/af.ts +2 -0
  658. package/src/flags/art/1x1/ag.ts +2 -0
  659. package/src/flags/art/1x1/ai.ts +2 -0
  660. package/src/flags/art/1x1/al.ts +2 -0
  661. package/src/flags/art/1x1/am.ts +2 -0
  662. package/src/flags/art/1x1/ao.ts +2 -0
  663. package/src/flags/art/1x1/aq.ts +2 -0
  664. package/src/flags/art/1x1/ar.ts +2 -0
  665. package/src/flags/art/1x1/arab.ts +2 -0
  666. package/src/flags/art/1x1/as.ts +2 -0
  667. package/src/flags/art/1x1/asean.ts +2 -0
  668. package/src/flags/art/1x1/at.ts +2 -0
  669. package/src/flags/art/1x1/au.ts +2 -0
  670. package/src/flags/art/1x1/aw.ts +2 -0
  671. package/src/flags/art/1x1/ax.ts +2 -0
  672. package/src/flags/art/1x1/az.ts +2 -0
  673. package/src/flags/art/1x1/ba.ts +2 -0
  674. package/src/flags/art/1x1/bb.ts +2 -0
  675. package/src/flags/art/1x1/bd.ts +2 -0
  676. package/src/flags/art/1x1/be.ts +2 -0
  677. package/src/flags/art/1x1/bf.ts +2 -0
  678. package/src/flags/art/1x1/bg.ts +2 -0
  679. package/src/flags/art/1x1/bh.ts +2 -0
  680. package/src/flags/art/1x1/bi.ts +2 -0
  681. package/src/flags/art/1x1/bj.ts +2 -0
  682. package/src/flags/art/1x1/bl.ts +2 -0
  683. package/src/flags/art/1x1/bm.ts +2 -0
  684. package/src/flags/art/1x1/bn.ts +2 -0
  685. package/src/flags/art/1x1/bo.ts +2 -0
  686. package/src/flags/art/1x1/bq.ts +2 -0
  687. package/src/flags/art/1x1/br.ts +2 -0
  688. package/src/flags/art/1x1/bs.ts +2 -0
  689. package/src/flags/art/1x1/bt.ts +2 -0
  690. package/src/flags/art/1x1/bv.ts +2 -0
  691. package/src/flags/art/1x1/bw.ts +2 -0
  692. package/src/flags/art/1x1/by.ts +2 -0
  693. package/src/flags/art/1x1/bz.ts +2 -0
  694. package/src/flags/art/1x1/ca.ts +2 -0
  695. package/src/flags/art/1x1/cc.ts +2 -0
  696. package/src/flags/art/1x1/cd.ts +2 -0
  697. package/src/flags/art/1x1/cefta.ts +2 -0
  698. package/src/flags/art/1x1/cf.ts +2 -0
  699. package/src/flags/art/1x1/cg.ts +2 -0
  700. package/src/flags/art/1x1/ch.ts +2 -0
  701. package/src/flags/art/1x1/ci.ts +2 -0
  702. package/src/flags/art/1x1/ck.ts +2 -0
  703. package/src/flags/art/1x1/cl.ts +2 -0
  704. package/src/flags/art/1x1/cm.ts +2 -0
  705. package/src/flags/art/1x1/cn.ts +2 -0
  706. package/src/flags/art/1x1/co.ts +2 -0
  707. package/src/flags/art/1x1/cp.ts +2 -0
  708. package/src/flags/art/1x1/cr.ts +2 -0
  709. package/src/flags/art/1x1/cu.ts +2 -0
  710. package/src/flags/art/1x1/cv.ts +2 -0
  711. package/src/flags/art/1x1/cw.ts +2 -0
  712. package/src/flags/art/1x1/cx.ts +2 -0
  713. package/src/flags/art/1x1/cy.ts +2 -0
  714. package/src/flags/art/1x1/cz.ts +2 -0
  715. package/src/flags/art/1x1/de.ts +2 -0
  716. package/src/flags/art/1x1/dg.ts +2 -0
  717. package/src/flags/art/1x1/dj.ts +2 -0
  718. package/src/flags/art/1x1/dk.ts +2 -0
  719. package/src/flags/art/1x1/dm.ts +2 -0
  720. package/src/flags/art/1x1/do.ts +2 -0
  721. package/src/flags/art/1x1/dz.ts +2 -0
  722. package/src/flags/art/1x1/eac.ts +2 -0
  723. package/src/flags/art/1x1/ec.ts +2 -0
  724. package/src/flags/art/1x1/ee.ts +2 -0
  725. package/src/flags/art/1x1/eg.ts +2 -0
  726. package/src/flags/art/1x1/eh.ts +2 -0
  727. package/src/flags/art/1x1/er.ts +2 -0
  728. package/src/flags/art/1x1/es-ct.ts +2 -0
  729. package/src/flags/art/1x1/es-ga.ts +2 -0
  730. package/src/flags/art/1x1/es-pv.ts +2 -0
  731. package/src/flags/art/1x1/es.ts +2 -0
  732. package/src/flags/art/1x1/et.ts +2 -0
  733. package/src/flags/art/1x1/eu.ts +2 -0
  734. package/src/flags/art/1x1/fi.ts +2 -0
  735. package/src/flags/art/1x1/fj.ts +2 -0
  736. package/src/flags/art/1x1/fk.ts +2 -0
  737. package/src/flags/art/1x1/fm.ts +2 -0
  738. package/src/flags/art/1x1/fo.ts +2 -0
  739. package/src/flags/art/1x1/fr.ts +2 -0
  740. package/src/flags/art/1x1/ga.ts +2 -0
  741. package/src/flags/art/1x1/gb-eng.ts +2 -0
  742. package/src/flags/art/1x1/gb-nir.ts +2 -0
  743. package/src/flags/art/1x1/gb-sct.ts +2 -0
  744. package/src/flags/art/1x1/gb-wls.ts +2 -0
  745. package/src/flags/art/1x1/gb.ts +2 -0
  746. package/src/flags/art/1x1/gd.ts +2 -0
  747. package/src/flags/art/1x1/ge.ts +2 -0
  748. package/src/flags/art/1x1/gf.ts +2 -0
  749. package/src/flags/art/1x1/gg.ts +2 -0
  750. package/src/flags/art/1x1/gh.ts +2 -0
  751. package/src/flags/art/1x1/gi.ts +2 -0
  752. package/src/flags/art/1x1/gl.ts +2 -0
  753. package/src/flags/art/1x1/gm.ts +2 -0
  754. package/src/flags/art/1x1/gn.ts +2 -0
  755. package/src/flags/art/1x1/gp.ts +2 -0
  756. package/src/flags/art/1x1/gq.ts +2 -0
  757. package/src/flags/art/1x1/gr.ts +2 -0
  758. package/src/flags/art/1x1/gs.ts +2 -0
  759. package/src/flags/art/1x1/gt.ts +2 -0
  760. package/src/flags/art/1x1/gu.ts +2 -0
  761. package/src/flags/art/1x1/gw.ts +2 -0
  762. package/src/flags/art/1x1/gy.ts +2 -0
  763. package/src/flags/art/1x1/hk.ts +2 -0
  764. package/src/flags/art/1x1/hm.ts +2 -0
  765. package/src/flags/art/1x1/hn.ts +2 -0
  766. package/src/flags/art/1x1/hr.ts +2 -0
  767. package/src/flags/art/1x1/ht.ts +2 -0
  768. package/src/flags/art/1x1/hu.ts +2 -0
  769. package/src/flags/art/1x1/ic.ts +2 -0
  770. package/src/flags/art/1x1/id.ts +2 -0
  771. package/src/flags/art/1x1/ie.ts +2 -0
  772. package/src/flags/art/1x1/il.ts +2 -0
  773. package/src/flags/art/1x1/im.ts +2 -0
  774. package/src/flags/art/1x1/in.ts +2 -0
  775. package/src/flags/art/1x1/io.ts +2 -0
  776. package/src/flags/art/1x1/iq.ts +2 -0
  777. package/src/flags/art/1x1/ir.ts +2 -0
  778. package/src/flags/art/1x1/is.ts +2 -0
  779. package/src/flags/art/1x1/it.ts +2 -0
  780. package/src/flags/art/1x1/je.ts +2 -0
  781. package/src/flags/art/1x1/jm.ts +2 -0
  782. package/src/flags/art/1x1/jo.ts +2 -0
  783. package/src/flags/art/1x1/jp.ts +2 -0
  784. package/src/flags/art/1x1/ke.ts +2 -0
  785. package/src/flags/art/1x1/kg.ts +2 -0
  786. package/src/flags/art/1x1/kh.ts +2 -0
  787. package/src/flags/art/1x1/ki.ts +2 -0
  788. package/src/flags/art/1x1/km.ts +2 -0
  789. package/src/flags/art/1x1/kn.ts +2 -0
  790. package/src/flags/art/1x1/kp.ts +2 -0
  791. package/src/flags/art/1x1/kr.ts +2 -0
  792. package/src/flags/art/1x1/kw.ts +2 -0
  793. package/src/flags/art/1x1/ky.ts +2 -0
  794. package/src/flags/art/1x1/kz.ts +2 -0
  795. package/src/flags/art/1x1/la.ts +2 -0
  796. package/src/flags/art/1x1/lb.ts +2 -0
  797. package/src/flags/art/1x1/lc.ts +2 -0
  798. package/src/flags/art/1x1/li.ts +2 -0
  799. package/src/flags/art/1x1/lk.ts +2 -0
  800. package/src/flags/art/1x1/lr.ts +2 -0
  801. package/src/flags/art/1x1/ls.ts +2 -0
  802. package/src/flags/art/1x1/lt.ts +2 -0
  803. package/src/flags/art/1x1/lu.ts +2 -0
  804. package/src/flags/art/1x1/lv.ts +2 -0
  805. package/src/flags/art/1x1/ly.ts +2 -0
  806. package/src/flags/art/1x1/ma.ts +2 -0
  807. package/src/flags/art/1x1/mc.ts +2 -0
  808. package/src/flags/art/1x1/md.ts +2 -0
  809. package/src/flags/art/1x1/me.ts +2 -0
  810. package/src/flags/art/1x1/mf.ts +2 -0
  811. package/src/flags/art/1x1/mg.ts +2 -0
  812. package/src/flags/art/1x1/mh.ts +2 -0
  813. package/src/flags/art/1x1/mk.ts +2 -0
  814. package/src/flags/art/1x1/ml.ts +2 -0
  815. package/src/flags/art/1x1/mm.ts +2 -0
  816. package/src/flags/art/1x1/mn.ts +2 -0
  817. package/src/flags/art/1x1/mo.ts +2 -0
  818. package/src/flags/art/1x1/mp.ts +2 -0
  819. package/src/flags/art/1x1/mq.ts +2 -0
  820. package/src/flags/art/1x1/mr.ts +2 -0
  821. package/src/flags/art/1x1/ms.ts +2 -0
  822. package/src/flags/art/1x1/mt.ts +2 -0
  823. package/src/flags/art/1x1/mu.ts +2 -0
  824. package/src/flags/art/1x1/mv.ts +2 -0
  825. package/src/flags/art/1x1/mw.ts +2 -0
  826. package/src/flags/art/1x1/mx.ts +2 -0
  827. package/src/flags/art/1x1/my.ts +2 -0
  828. package/src/flags/art/1x1/mz.ts +2 -0
  829. package/src/flags/art/1x1/na.ts +2 -0
  830. package/src/flags/art/1x1/nc.ts +2 -0
  831. package/src/flags/art/1x1/ne.ts +2 -0
  832. package/src/flags/art/1x1/nf.ts +2 -0
  833. package/src/flags/art/1x1/ng.ts +2 -0
  834. package/src/flags/art/1x1/ni.ts +2 -0
  835. package/src/flags/art/1x1/nl.ts +2 -0
  836. package/src/flags/art/1x1/no.ts +2 -0
  837. package/src/flags/art/1x1/np.ts +2 -0
  838. package/src/flags/art/1x1/nr.ts +2 -0
  839. package/src/flags/art/1x1/nu.ts +2 -0
  840. package/src/flags/art/1x1/nz.ts +2 -0
  841. package/src/flags/art/1x1/om.ts +2 -0
  842. package/src/flags/art/1x1/pa.ts +2 -0
  843. package/src/flags/art/1x1/pc.ts +2 -0
  844. package/src/flags/art/1x1/pe.ts +2 -0
  845. package/src/flags/art/1x1/pf.ts +2 -0
  846. package/src/flags/art/1x1/pg.ts +2 -0
  847. package/src/flags/art/1x1/ph.ts +2 -0
  848. package/src/flags/art/1x1/pk.ts +2 -0
  849. package/src/flags/art/1x1/pl.ts +2 -0
  850. package/src/flags/art/1x1/pm.ts +2 -0
  851. package/src/flags/art/1x1/pn.ts +2 -0
  852. package/src/flags/art/1x1/pr.ts +2 -0
  853. package/src/flags/art/1x1/ps.ts +2 -0
  854. package/src/flags/art/1x1/pt.ts +2 -0
  855. package/src/flags/art/1x1/pw.ts +2 -0
  856. package/src/flags/art/1x1/py.ts +2 -0
  857. package/src/flags/art/1x1/qa.ts +2 -0
  858. package/src/flags/art/1x1/re.ts +2 -0
  859. package/src/flags/art/1x1/ro.ts +2 -0
  860. package/src/flags/art/1x1/rs.ts +2 -0
  861. package/src/flags/art/1x1/ru.ts +2 -0
  862. package/src/flags/art/1x1/rw.ts +2 -0
  863. package/src/flags/art/1x1/sa.ts +2 -0
  864. package/src/flags/art/1x1/sb.ts +2 -0
  865. package/src/flags/art/1x1/sc.ts +2 -0
  866. package/src/flags/art/1x1/sd.ts +2 -0
  867. package/src/flags/art/1x1/se.ts +2 -0
  868. package/src/flags/art/1x1/sg.ts +2 -0
  869. package/src/flags/art/1x1/sh-ac.ts +2 -0
  870. package/src/flags/art/1x1/sh-hl.ts +2 -0
  871. package/src/flags/art/1x1/sh-ta.ts +2 -0
  872. package/src/flags/art/1x1/sh.ts +2 -0
  873. package/src/flags/art/1x1/si.ts +2 -0
  874. package/src/flags/art/1x1/sj.ts +2 -0
  875. package/src/flags/art/1x1/sk.ts +2 -0
  876. package/src/flags/art/1x1/sl.ts +2 -0
  877. package/src/flags/art/1x1/sm.ts +2 -0
  878. package/src/flags/art/1x1/sn.ts +2 -0
  879. package/src/flags/art/1x1/so.ts +2 -0
  880. package/src/flags/art/1x1/sr.ts +2 -0
  881. package/src/flags/art/1x1/ss.ts +2 -0
  882. package/src/flags/art/1x1/st.ts +2 -0
  883. package/src/flags/art/1x1/sv.ts +2 -0
  884. package/src/flags/art/1x1/sx.ts +2 -0
  885. package/src/flags/art/1x1/sy.ts +2 -0
  886. package/src/flags/art/1x1/sz.ts +2 -0
  887. package/src/flags/art/1x1/tc.ts +2 -0
  888. package/src/flags/art/1x1/td.ts +2 -0
  889. package/src/flags/art/1x1/tf.ts +2 -0
  890. package/src/flags/art/1x1/tg.ts +2 -0
  891. package/src/flags/art/1x1/th.ts +2 -0
  892. package/src/flags/art/1x1/tj.ts +2 -0
  893. package/src/flags/art/1x1/tk.ts +2 -0
  894. package/src/flags/art/1x1/tl.ts +2 -0
  895. package/src/flags/art/1x1/tm.ts +2 -0
  896. package/src/flags/art/1x1/tn.ts +2 -0
  897. package/src/flags/art/1x1/to.ts +2 -0
  898. package/src/flags/art/1x1/tr.ts +2 -0
  899. package/src/flags/art/1x1/tt.ts +2 -0
  900. package/src/flags/art/1x1/tv.ts +2 -0
  901. package/src/flags/art/1x1/tw.ts +2 -0
  902. package/src/flags/art/1x1/tz.ts +2 -0
  903. package/src/flags/art/1x1/ua.ts +2 -0
  904. package/src/flags/art/1x1/ug.ts +2 -0
  905. package/src/flags/art/1x1/um.ts +2 -0
  906. package/src/flags/art/1x1/un.ts +2 -0
  907. package/src/flags/art/1x1/us.ts +2 -0
  908. package/src/flags/art/1x1/uy.ts +2 -0
  909. package/src/flags/art/1x1/uz.ts +2 -0
  910. package/src/flags/art/1x1/va.ts +2 -0
  911. package/src/flags/art/1x1/vc.ts +2 -0
  912. package/src/flags/art/1x1/ve.ts +2 -0
  913. package/src/flags/art/1x1/vg.ts +2 -0
  914. package/src/flags/art/1x1/vi.ts +2 -0
  915. package/src/flags/art/1x1/vn.ts +2 -0
  916. package/src/flags/art/1x1/vu.ts +2 -0
  917. package/src/flags/art/1x1/wf.ts +2 -0
  918. package/src/flags/art/1x1/ws.ts +2 -0
  919. package/src/flags/art/1x1/xk.ts +2 -0
  920. package/src/flags/art/1x1/xx.ts +2 -0
  921. package/src/flags/art/1x1/ye.ts +2 -0
  922. package/src/flags/art/1x1/yt.ts +2 -0
  923. package/src/flags/art/1x1/za.ts +2 -0
  924. package/src/flags/art/1x1/zm.ts +2 -0
  925. package/src/flags/art/1x1/zw.ts +2 -0
  926. package/src/flags/art/4x3/ad.ts +2 -0
  927. package/src/flags/art/4x3/ae.ts +2 -0
  928. package/src/flags/art/4x3/af.ts +2 -0
  929. package/src/flags/art/4x3/ag.ts +2 -0
  930. package/src/flags/art/4x3/ai.ts +2 -0
  931. package/src/flags/art/4x3/al.ts +2 -0
  932. package/src/flags/art/4x3/am.ts +2 -0
  933. package/src/flags/art/4x3/ao.ts +2 -0
  934. package/src/flags/art/4x3/aq.ts +2 -0
  935. package/src/flags/art/4x3/ar.ts +2 -0
  936. package/src/flags/art/4x3/arab.ts +2 -0
  937. package/src/flags/art/4x3/as.ts +2 -0
  938. package/src/flags/art/4x3/asean.ts +2 -0
  939. package/src/flags/art/4x3/at.ts +2 -0
  940. package/src/flags/art/4x3/au.ts +2 -0
  941. package/src/flags/art/4x3/aw.ts +2 -0
  942. package/src/flags/art/4x3/ax.ts +2 -0
  943. package/src/flags/art/4x3/az.ts +2 -0
  944. package/src/flags/art/4x3/ba.ts +2 -0
  945. package/src/flags/art/4x3/bb.ts +2 -0
  946. package/src/flags/art/4x3/bd.ts +2 -0
  947. package/src/flags/art/4x3/be.ts +2 -0
  948. package/src/flags/art/4x3/bf.ts +2 -0
  949. package/src/flags/art/4x3/bg.ts +2 -0
  950. package/src/flags/art/4x3/bh.ts +2 -0
  951. package/src/flags/art/4x3/bi.ts +2 -0
  952. package/src/flags/art/4x3/bj.ts +2 -0
  953. package/src/flags/art/4x3/bl.ts +2 -0
  954. package/src/flags/art/4x3/bm.ts +2 -0
  955. package/src/flags/art/4x3/bn.ts +2 -0
  956. package/src/flags/art/4x3/bo.ts +2 -0
  957. package/src/flags/art/4x3/bq.ts +2 -0
  958. package/src/flags/art/4x3/br.ts +2 -0
  959. package/src/flags/art/4x3/bs.ts +2 -0
  960. package/src/flags/art/4x3/bt.ts +2 -0
  961. package/src/flags/art/4x3/bv.ts +2 -0
  962. package/src/flags/art/4x3/bw.ts +2 -0
  963. package/src/flags/art/4x3/by.ts +2 -0
  964. package/src/flags/art/4x3/bz.ts +2 -0
  965. package/src/flags/art/4x3/ca.ts +2 -0
  966. package/src/flags/art/4x3/cc.ts +2 -0
  967. package/src/flags/art/4x3/cd.ts +2 -0
  968. package/src/flags/art/4x3/cefta.ts +2 -0
  969. package/src/flags/art/4x3/cf.ts +2 -0
  970. package/src/flags/art/4x3/cg.ts +2 -0
  971. package/src/flags/art/4x3/ch.ts +2 -0
  972. package/src/flags/art/4x3/ci.ts +2 -0
  973. package/src/flags/art/4x3/ck.ts +2 -0
  974. package/src/flags/art/4x3/cl.ts +2 -0
  975. package/src/flags/art/4x3/cm.ts +2 -0
  976. package/src/flags/art/4x3/cn.ts +2 -0
  977. package/src/flags/art/4x3/co.ts +2 -0
  978. package/src/flags/art/4x3/cp.ts +2 -0
  979. package/src/flags/art/4x3/cr.ts +2 -0
  980. package/src/flags/art/4x3/cu.ts +2 -0
  981. package/src/flags/art/4x3/cv.ts +2 -0
  982. package/src/flags/art/4x3/cw.ts +2 -0
  983. package/src/flags/art/4x3/cx.ts +2 -0
  984. package/src/flags/art/4x3/cy.ts +2 -0
  985. package/src/flags/art/4x3/cz.ts +2 -0
  986. package/src/flags/art/4x3/de.ts +2 -0
  987. package/src/flags/art/4x3/dg.ts +2 -0
  988. package/src/flags/art/4x3/dj.ts +2 -0
  989. package/src/flags/art/4x3/dk.ts +2 -0
  990. package/src/flags/art/4x3/dm.ts +2 -0
  991. package/src/flags/art/4x3/do.ts +2 -0
  992. package/src/flags/art/4x3/dz.ts +2 -0
  993. package/src/flags/art/4x3/eac.ts +2 -0
  994. package/src/flags/art/4x3/ec.ts +2 -0
  995. package/src/flags/art/4x3/ee.ts +2 -0
  996. package/src/flags/art/4x3/eg.ts +2 -0
  997. package/src/flags/art/4x3/eh.ts +2 -0
  998. package/src/flags/art/4x3/er.ts +2 -0
  999. package/src/flags/art/4x3/es-ct.ts +2 -0
  1000. package/src/flags/art/4x3/es-ga.ts +2 -0
  1001. package/src/flags/art/4x3/es-pv.ts +2 -0
  1002. package/src/flags/art/4x3/es.ts +2 -0
  1003. package/src/flags/art/4x3/et.ts +2 -0
  1004. package/src/flags/art/4x3/eu.ts +2 -0
  1005. package/src/flags/art/4x3/fi.ts +2 -0
  1006. package/src/flags/art/4x3/fj.ts +2 -0
  1007. package/src/flags/art/4x3/fk.ts +2 -0
  1008. package/src/flags/art/4x3/fm.ts +2 -0
  1009. package/src/flags/art/4x3/fo.ts +2 -0
  1010. package/src/flags/art/4x3/fr.ts +2 -0
  1011. package/src/flags/art/4x3/ga.ts +2 -0
  1012. package/src/flags/art/4x3/gb-eng.ts +2 -0
  1013. package/src/flags/art/4x3/gb-nir.ts +2 -0
  1014. package/src/flags/art/4x3/gb-sct.ts +2 -0
  1015. package/src/flags/art/4x3/gb-wls.ts +2 -0
  1016. package/src/flags/art/4x3/gb.ts +2 -0
  1017. package/src/flags/art/4x3/gd.ts +2 -0
  1018. package/src/flags/art/4x3/ge.ts +2 -0
  1019. package/src/flags/art/4x3/gf.ts +2 -0
  1020. package/src/flags/art/4x3/gg.ts +2 -0
  1021. package/src/flags/art/4x3/gh.ts +2 -0
  1022. package/src/flags/art/4x3/gi.ts +2 -0
  1023. package/src/flags/art/4x3/gl.ts +2 -0
  1024. package/src/flags/art/4x3/gm.ts +2 -0
  1025. package/src/flags/art/4x3/gn.ts +2 -0
  1026. package/src/flags/art/4x3/gp.ts +2 -0
  1027. package/src/flags/art/4x3/gq.ts +2 -0
  1028. package/src/flags/art/4x3/gr.ts +2 -0
  1029. package/src/flags/art/4x3/gs.ts +2 -0
  1030. package/src/flags/art/4x3/gt.ts +2 -0
  1031. package/src/flags/art/4x3/gu.ts +2 -0
  1032. package/src/flags/art/4x3/gw.ts +2 -0
  1033. package/src/flags/art/4x3/gy.ts +2 -0
  1034. package/src/flags/art/4x3/hk.ts +2 -0
  1035. package/src/flags/art/4x3/hm.ts +2 -0
  1036. package/src/flags/art/4x3/hn.ts +2 -0
  1037. package/src/flags/art/4x3/hr.ts +2 -0
  1038. package/src/flags/art/4x3/ht.ts +2 -0
  1039. package/src/flags/art/4x3/hu.ts +2 -0
  1040. package/src/flags/art/4x3/ic.ts +2 -0
  1041. package/src/flags/art/4x3/id.ts +2 -0
  1042. package/src/flags/art/4x3/ie.ts +2 -0
  1043. package/src/flags/art/4x3/il.ts +2 -0
  1044. package/src/flags/art/4x3/im.ts +2 -0
  1045. package/src/flags/art/4x3/in.ts +2 -0
  1046. package/src/flags/art/4x3/io.ts +2 -0
  1047. package/src/flags/art/4x3/iq.ts +2 -0
  1048. package/src/flags/art/4x3/ir.ts +2 -0
  1049. package/src/flags/art/4x3/is.ts +2 -0
  1050. package/src/flags/art/4x3/it.ts +2 -0
  1051. package/src/flags/art/4x3/je.ts +2 -0
  1052. package/src/flags/art/4x3/jm.ts +2 -0
  1053. package/src/flags/art/4x3/jo.ts +2 -0
  1054. package/src/flags/art/4x3/jp.ts +2 -0
  1055. package/src/flags/art/4x3/ke.ts +2 -0
  1056. package/src/flags/art/4x3/kg.ts +2 -0
  1057. package/src/flags/art/4x3/kh.ts +2 -0
  1058. package/src/flags/art/4x3/ki.ts +2 -0
  1059. package/src/flags/art/4x3/km.ts +2 -0
  1060. package/src/flags/art/4x3/kn.ts +2 -0
  1061. package/src/flags/art/4x3/kp.ts +2 -0
  1062. package/src/flags/art/4x3/kr.ts +2 -0
  1063. package/src/flags/art/4x3/kw.ts +2 -0
  1064. package/src/flags/art/4x3/ky.ts +2 -0
  1065. package/src/flags/art/4x3/kz.ts +2 -0
  1066. package/src/flags/art/4x3/la.ts +2 -0
  1067. package/src/flags/art/4x3/lb.ts +2 -0
  1068. package/src/flags/art/4x3/lc.ts +2 -0
  1069. package/src/flags/art/4x3/li.ts +2 -0
  1070. package/src/flags/art/4x3/lk.ts +2 -0
  1071. package/src/flags/art/4x3/lr.ts +2 -0
  1072. package/src/flags/art/4x3/ls.ts +2 -0
  1073. package/src/flags/art/4x3/lt.ts +2 -0
  1074. package/src/flags/art/4x3/lu.ts +2 -0
  1075. package/src/flags/art/4x3/lv.ts +2 -0
  1076. package/src/flags/art/4x3/ly.ts +2 -0
  1077. package/src/flags/art/4x3/ma.ts +2 -0
  1078. package/src/flags/art/4x3/mc.ts +2 -0
  1079. package/src/flags/art/4x3/md.ts +2 -0
  1080. package/src/flags/art/4x3/me.ts +2 -0
  1081. package/src/flags/art/4x3/mf.ts +2 -0
  1082. package/src/flags/art/4x3/mg.ts +2 -0
  1083. package/src/flags/art/4x3/mh.ts +2 -0
  1084. package/src/flags/art/4x3/mk.ts +2 -0
  1085. package/src/flags/art/4x3/ml.ts +2 -0
  1086. package/src/flags/art/4x3/mm.ts +2 -0
  1087. package/src/flags/art/4x3/mn.ts +2 -0
  1088. package/src/flags/art/4x3/mo.ts +2 -0
  1089. package/src/flags/art/4x3/mp.ts +2 -0
  1090. package/src/flags/art/4x3/mq.ts +2 -0
  1091. package/src/flags/art/4x3/mr.ts +2 -0
  1092. package/src/flags/art/4x3/ms.ts +2 -0
  1093. package/src/flags/art/4x3/mt.ts +2 -0
  1094. package/src/flags/art/4x3/mu.ts +2 -0
  1095. package/src/flags/art/4x3/mv.ts +2 -0
  1096. package/src/flags/art/4x3/mw.ts +2 -0
  1097. package/src/flags/art/4x3/mx.ts +2 -0
  1098. package/src/flags/art/4x3/my.ts +2 -0
  1099. package/src/flags/art/4x3/mz.ts +2 -0
  1100. package/src/flags/art/4x3/na.ts +2 -0
  1101. package/src/flags/art/4x3/nc.ts +2 -0
  1102. package/src/flags/art/4x3/ne.ts +2 -0
  1103. package/src/flags/art/4x3/nf.ts +2 -0
  1104. package/src/flags/art/4x3/ng.ts +2 -0
  1105. package/src/flags/art/4x3/ni.ts +2 -0
  1106. package/src/flags/art/4x3/nl.ts +2 -0
  1107. package/src/flags/art/4x3/no.ts +2 -0
  1108. package/src/flags/art/4x3/np.ts +2 -0
  1109. package/src/flags/art/4x3/nr.ts +2 -0
  1110. package/src/flags/art/4x3/nu.ts +2 -0
  1111. package/src/flags/art/4x3/nz.ts +2 -0
  1112. package/src/flags/art/4x3/om.ts +2 -0
  1113. package/src/flags/art/4x3/pa.ts +2 -0
  1114. package/src/flags/art/4x3/pc.ts +2 -0
  1115. package/src/flags/art/4x3/pe.ts +2 -0
  1116. package/src/flags/art/4x3/pf.ts +2 -0
  1117. package/src/flags/art/4x3/pg.ts +2 -0
  1118. package/src/flags/art/4x3/ph.ts +2 -0
  1119. package/src/flags/art/4x3/pk.ts +2 -0
  1120. package/src/flags/art/4x3/pl.ts +2 -0
  1121. package/src/flags/art/4x3/pm.ts +2 -0
  1122. package/src/flags/art/4x3/pn.ts +2 -0
  1123. package/src/flags/art/4x3/pr.ts +2 -0
  1124. package/src/flags/art/4x3/ps.ts +2 -0
  1125. package/src/flags/art/4x3/pt.ts +2 -0
  1126. package/src/flags/art/4x3/pw.ts +2 -0
  1127. package/src/flags/art/4x3/py.ts +2 -0
  1128. package/src/flags/art/4x3/qa.ts +2 -0
  1129. package/src/flags/art/4x3/re.ts +2 -0
  1130. package/src/flags/art/4x3/ro.ts +2 -0
  1131. package/src/flags/art/4x3/rs.ts +2 -0
  1132. package/src/flags/art/4x3/ru.ts +2 -0
  1133. package/src/flags/art/4x3/rw.ts +2 -0
  1134. package/src/flags/art/4x3/sa.ts +2 -0
  1135. package/src/flags/art/4x3/sb.ts +2 -0
  1136. package/src/flags/art/4x3/sc.ts +2 -0
  1137. package/src/flags/art/4x3/sd.ts +2 -0
  1138. package/src/flags/art/4x3/se.ts +2 -0
  1139. package/src/flags/art/4x3/sg.ts +2 -0
  1140. package/src/flags/art/4x3/sh-ac.ts +2 -0
  1141. package/src/flags/art/4x3/sh-hl.ts +2 -0
  1142. package/src/flags/art/4x3/sh-ta.ts +2 -0
  1143. package/src/flags/art/4x3/sh.ts +2 -0
  1144. package/src/flags/art/4x3/si.ts +2 -0
  1145. package/src/flags/art/4x3/sj.ts +2 -0
  1146. package/src/flags/art/4x3/sk.ts +2 -0
  1147. package/src/flags/art/4x3/sl.ts +2 -0
  1148. package/src/flags/art/4x3/sm.ts +2 -0
  1149. package/src/flags/art/4x3/sn.ts +2 -0
  1150. package/src/flags/art/4x3/so.ts +2 -0
  1151. package/src/flags/art/4x3/sr.ts +2 -0
  1152. package/src/flags/art/4x3/ss.ts +2 -0
  1153. package/src/flags/art/4x3/st.ts +2 -0
  1154. package/src/flags/art/4x3/sv.ts +2 -0
  1155. package/src/flags/art/4x3/sx.ts +2 -0
  1156. package/src/flags/art/4x3/sy.ts +2 -0
  1157. package/src/flags/art/4x3/sz.ts +2 -0
  1158. package/src/flags/art/4x3/tc.ts +2 -0
  1159. package/src/flags/art/4x3/td.ts +2 -0
  1160. package/src/flags/art/4x3/tf.ts +2 -0
  1161. package/src/flags/art/4x3/tg.ts +2 -0
  1162. package/src/flags/art/4x3/th.ts +2 -0
  1163. package/src/flags/art/4x3/tj.ts +2 -0
  1164. package/src/flags/art/4x3/tk.ts +2 -0
  1165. package/src/flags/art/4x3/tl.ts +2 -0
  1166. package/src/flags/art/4x3/tm.ts +2 -0
  1167. package/src/flags/art/4x3/tn.ts +2 -0
  1168. package/src/flags/art/4x3/to.ts +2 -0
  1169. package/src/flags/art/4x3/tr.ts +2 -0
  1170. package/src/flags/art/4x3/tt.ts +2 -0
  1171. package/src/flags/art/4x3/tv.ts +2 -0
  1172. package/src/flags/art/4x3/tw.ts +2 -0
  1173. package/src/flags/art/4x3/tz.ts +2 -0
  1174. package/src/flags/art/4x3/ua.ts +2 -0
  1175. package/src/flags/art/4x3/ug.ts +2 -0
  1176. package/src/flags/art/4x3/um.ts +2 -0
  1177. package/src/flags/art/4x3/un.ts +2 -0
  1178. package/src/flags/art/4x3/us.ts +2 -0
  1179. package/src/flags/art/4x3/uy.ts +2 -0
  1180. package/src/flags/art/4x3/uz.ts +2 -0
  1181. package/src/flags/art/4x3/va.ts +2 -0
  1182. package/src/flags/art/4x3/vc.ts +2 -0
  1183. package/src/flags/art/4x3/ve.ts +2 -0
  1184. package/src/flags/art/4x3/vg.ts +2 -0
  1185. package/src/flags/art/4x3/vi.ts +2 -0
  1186. package/src/flags/art/4x3/vn.ts +2 -0
  1187. package/src/flags/art/4x3/vu.ts +2 -0
  1188. package/src/flags/art/4x3/wf.ts +2 -0
  1189. package/src/flags/art/4x3/ws.ts +2 -0
  1190. package/src/flags/art/4x3/xk.ts +2 -0
  1191. package/src/flags/art/4x3/xx.ts +2 -0
  1192. package/src/flags/art/4x3/ye.ts +2 -0
  1193. package/src/flags/art/4x3/yt.ts +2 -0
  1194. package/src/flags/art/4x3/za.ts +2 -0
  1195. package/src/flags/art/4x3/zm.ts +2 -0
  1196. package/src/flags/art/4x3/zw.ts +2 -0
  1197. package/src/flags/art/index.ts +552 -0
  1198. package/src/flags/flags.test.tsx +140 -0
  1199. package/src/flags/index.ts +7 -0
  1200. package/src/flags/loadFlag.ts +29 -0
  1201. package/src/flags/names.ts +65 -0
  1202. package/src/flow/CLEAN-ROOM.md +110 -0
  1203. package/src/flow/PROVENANCE.md +169 -0
  1204. package/src/flow/README.md +117 -0
  1205. package/src/flow/agents/AgentCreationWizard.tsx +633 -0
  1206. package/src/flow/agents/AgentEditorDialog.tsx +751 -0
  1207. package/src/flow/agents/agents.css +563 -0
  1208. package/src/flow/agents/agents.test.tsx +207 -0
  1209. package/src/flow/agents/index.ts +4 -0
  1210. package/src/flow/agents/parts.tsx +171 -0
  1211. package/src/flow/assistant/AssistantConversation.tsx +388 -0
  1212. package/src/flow/assistant/AssistantVisualBlock.test.tsx +86 -0
  1213. package/src/flow/assistant/AssistantVisualBlock.tsx +75 -0
  1214. package/src/flow/assistant/ConversationShell.test.tsx +202 -0
  1215. package/src/flow/assistant/ConversationShell.tsx +160 -0
  1216. package/src/flow/assistant/LiveCanvasPanel.tsx +52 -0
  1217. package/src/flow/assistant/MarkdownView.tsx +162 -0
  1218. package/src/flow/assistant/ThreadHistory.tsx +156 -0
  1219. package/src/flow/assistant/assistant.css +567 -0
  1220. package/src/flow/assistant/index.ts +10 -0
  1221. package/src/flow/assistant/threadDays.ts +44 -0
  1222. package/src/flow/assistant/useAssistantSession.test.tsx +172 -0
  1223. package/src/flow/assistant/useAssistantSession.ts +457 -0
  1224. package/src/flow/assistant/visual.ts +205 -0
  1225. package/src/flow/catalog/RenderCatalog.tsx +98 -0
  1226. package/src/flow/catalog/catalog.test.tsx +162 -0
  1227. package/src/flow/catalog/icons.ts +116 -0
  1228. package/src/flow/catalog/kindCatalog.ts +175 -0
  1229. package/src/flow/catalog/nodeState.ts +46 -0
  1230. package/src/flow/catalog/palette.ts +116 -0
  1231. package/src/flow/connectors/ConditionalConnector.css +274 -0
  1232. package/src/flow/connectors/ConditionalConnector.tsx +288 -0
  1233. package/src/flow/connectors/ConnectionPreviewLine.tsx +31 -0
  1234. package/src/flow/connectors/ConnectorInsertMenu.tsx +103 -0
  1235. package/src/flow/connectors/connectors.css +2 -0
  1236. package/src/flow/connectors/connectors.test.tsx +218 -0
  1237. package/src/flow/connectors/index.ts +4 -0
  1238. package/src/flow/decision/DecisionNode.tsx +182 -0
  1239. package/src/flow/decision/decision.css +1 -0
  1240. package/src/flow/decision/index.ts +3 -0
  1241. package/src/flow/decision/types.ts +60 -0
  1242. package/src/flow/dialogs/DefinitionDialogs.test.tsx +177 -0
  1243. package/src/flow/dialogs/DefinitionExportDialog.tsx +234 -0
  1244. package/src/flow/dialogs/DefinitionImportDialog.tsx +303 -0
  1245. package/src/flow/dialogs/FlowSettingsDialog.test.tsx +95 -0
  1246. package/src/flow/dialogs/FlowSettingsDialog.tsx +242 -0
  1247. package/src/flow/dialogs/NodeConfigDialog.test.tsx +151 -0
  1248. package/src/flow/dialogs/NodeConfigDialog.tsx +208 -0
  1249. package/src/flow/dialogs/dialogs.css +134 -0
  1250. package/src/flow/dialogs/index.ts +5 -0
  1251. package/src/flow/editor/AutosaveController.tsx +25 -0
  1252. package/src/flow/editor/CanvasCommandBar.tsx +315 -0
  1253. package/src/flow/editor/CanvasContextMenus.tsx +287 -0
  1254. package/src/flow/editor/FlowEditor.test.tsx +282 -0
  1255. package/src/flow/editor/FlowEditor.tsx +1214 -0
  1256. package/src/flow/editor/FlowOutline.tsx +196 -0
  1257. package/src/flow/editor/FlowPreview.tsx +149 -0
  1258. package/src/flow/editor/FlowSwitcherBar.tsx +141 -0
  1259. package/src/flow/editor/NodePalette.tsx +447 -0
  1260. package/src/flow/editor/RunControls.tsx +85 -0
  1261. package/src/flow/editor/SaveStatus.tsx +45 -0
  1262. package/src/flow/editor/editor.css +573 -0
  1263. package/src/flow/editor/editorTools.ts +135 -0
  1264. package/src/flow/editor/focusOut.ts +23 -0
  1265. package/src/flow/editor/index.ts +16 -0
  1266. package/src/flow/editor/keyMap.ts +93 -0
  1267. package/src/flow/editor/nodeBridge.tsx +66 -0
  1268. package/src/flow/editor/parts.test.tsx +519 -0
  1269. package/src/flow/editor/useEditorShortcuts.ts +122 -0
  1270. package/src/flow/editor/useSelectionArrange.ts +135 -0
  1271. package/src/flow/expressions/ComputeInsertPanel.tsx +123 -0
  1272. package/src/flow/expressions/ComputeNodeForm.tsx +291 -0
  1273. package/src/flow/expressions/ComputeTrial.tsx +105 -0
  1274. package/src/flow/expressions/ExpressionBuilder.test.tsx +161 -0
  1275. package/src/flow/expressions/ExpressionBuilder.tsx +71 -0
  1276. package/src/flow/expressions/ExpressionField.tsx +157 -0
  1277. package/src/flow/expressions/RuleEditor.tsx +645 -0
  1278. package/src/flow/expressions/RuleNodeForm.tsx +165 -0
  1279. package/src/flow/expressions/SimulationNodeForm.tsx +175 -0
  1280. package/src/flow/expressions/TraceTree.test.tsx +120 -0
  1281. package/src/flow/expressions/TraceTree.tsx +210 -0
  1282. package/src/flow/expressions/builder/ItemList.tsx +72 -0
  1283. package/src/flow/expressions/builder/leaves.tsx +94 -0
  1284. package/src/flow/expressions/builder/shared.tsx +55 -0
  1285. package/src/flow/expressions/builder/tree.tsx +221 -0
  1286. package/src/flow/expressions/catalogContext.tsx +21 -0
  1287. package/src/flow/expressions/computeDraft.ts +105 -0
  1288. package/src/flow/expressions/exampleCatalog.ts +42 -0
  1289. package/src/flow/expressions/expressions.css +520 -0
  1290. package/src/flow/expressions/forms.test.tsx +325 -0
  1291. package/src/flow/expressions/index.ts +15 -0
  1292. package/src/flow/expressions/labels.ts +204 -0
  1293. package/src/flow/expressions/model.ts +194 -0
  1294. package/src/flow/expressions/ruleActions.ts +164 -0
  1295. package/src/flow/expressions/ruleCondition.ts +98 -0
  1296. package/src/flow/expressions/trace.ts +98 -0
  1297. package/src/flow/forms/AgentNodeForm.css +29 -0
  1298. package/src/flow/forms/AgentNodeForm.test.tsx +66 -0
  1299. package/src/flow/forms/AgentNodeForm.tsx +177 -0
  1300. package/src/flow/forms/DataSourceNodeForm.test.tsx +121 -0
  1301. package/src/flow/forms/DataSourceNodeForm.tsx +519 -0
  1302. package/src/flow/forms/DecisionNodeForm.test.tsx +72 -0
  1303. package/src/flow/forms/DecisionNodeForm.tsx +302 -0
  1304. package/src/flow/forms/GroupNodeForm.css +72 -0
  1305. package/src/flow/forms/GroupNodeForm.test.tsx +55 -0
  1306. package/src/flow/forms/GroupNodeForm.tsx +148 -0
  1307. package/src/flow/forms/NewForms.css +256 -0
  1308. package/src/flow/forms/NodeFormFooter.tsx +44 -0
  1309. package/src/flow/forms/OutputSchemaBuilder.test.tsx +83 -0
  1310. package/src/flow/forms/OutputSchemaBuilder.tsx +325 -0
  1311. package/src/flow/forms/ReportOutputNodeForm.test.tsx +63 -0
  1312. package/src/flow/forms/ReportOutputNodeForm.tsx +180 -0
  1313. package/src/flow/forms/SchemaConfigForm.css +7 -0
  1314. package/src/flow/forms/SchemaConfigForm.test.tsx +74 -0
  1315. package/src/flow/forms/SchemaConfigForm.tsx +214 -0
  1316. package/src/flow/forms/StartNodeForm.css +29 -0
  1317. package/src/flow/forms/StartNodeForm.test.tsx +66 -0
  1318. package/src/flow/forms/StartNodeForm.tsx +88 -0
  1319. package/src/flow/forms/ToolServerListField.css +58 -0
  1320. package/src/flow/forms/ToolServerListField.test.tsx +73 -0
  1321. package/src/flow/forms/ToolServerListField.tsx +242 -0
  1322. package/src/flow/forms/VariableListEditor.css +82 -0
  1323. package/src/flow/forms/VariableListEditor.test.tsx +79 -0
  1324. package/src/flow/forms/VariableListEditor.tsx +280 -0
  1325. package/src/flow/forms/forms-shared.css +53 -0
  1326. package/src/flow/forms/forms.css +9 -0
  1327. package/src/flow/forms/index.ts +12 -0
  1328. package/src/flow/forms/nameListModel.ts +61 -0
  1329. package/src/flow/geometry/arrange.ts +74 -0
  1330. package/src/flow/geometry/curve.ts +58 -0
  1331. package/src/flow/geometry/geometry.test.ts +97 -0
  1332. package/src/flow/geometry/guides.ts +49 -0
  1333. package/src/flow/geometry/rect.ts +101 -0
  1334. package/src/flow/geometry/viewport.ts +70 -0
  1335. package/src/flow/index.ts +58 -0
  1336. package/src/flow/internal/Announcer.tsx +63 -0
  1337. package/src/flow/internal/DockedPanel.tsx +95 -0
  1338. package/src/flow/internal/SectionedModal.tsx +117 -0
  1339. package/src/flow/internal/builtInLabels.test.ts +16 -0
  1340. package/src/flow/internal/confirm.tsx +73 -0
  1341. package/src/flow/internal/format.ts +47 -0
  1342. package/src/flow/internal/i18n.test.tsx +109 -0
  1343. package/src/flow/internal/ids.ts +9 -0
  1344. package/src/flow/internal/internal.css +152 -0
  1345. package/src/flow/internal/labels.ts +101 -0
  1346. package/src/flow/internal/messageFormat.ts +102 -0
  1347. package/src/flow/internal/useControllable.ts +17 -0
  1348. package/src/flow/layout/autoLayout.test.ts +56 -0
  1349. package/src/flow/layout/autoLayout.ts +93 -0
  1350. package/src/flow/layout/chainLayout.ts +66 -0
  1351. package/src/flow/model/graph.ts +123 -0
  1352. package/src/flow/model/types.ts +83 -0
  1353. package/src/flow/nodes/AgentIdentity.tsx +145 -0
  1354. package/src/flow/nodes/AgentNode.tsx +152 -0
  1355. package/src/flow/nodes/AlignmentGuides.tsx +108 -0
  1356. package/src/flow/nodes/ConnectionPorts.tsx +277 -0
  1357. package/src/flow/nodes/DataSourceNode.tsx +179 -0
  1358. package/src/flow/nodes/GenericNode.tsx +114 -0
  1359. package/src/flow/nodes/GraphNodeCard.css +314 -0
  1360. package/src/flow/nodes/GraphNodeCard.test.tsx +117 -0
  1361. package/src/flow/nodes/GraphNodeCard.tsx +329 -0
  1362. package/src/flow/nodes/GroupNode.tsx +231 -0
  1363. package/src/flow/nodes/NodeRunIndicator.tsx +139 -0
  1364. package/src/flow/nodes/NoteNode.tsx +134 -0
  1365. package/src/flow/nodes/RuleNode.tsx +162 -0
  1366. package/src/flow/nodes/flow-nodes.css +687 -0
  1367. package/src/flow/nodes/groupLayout.ts +66 -0
  1368. package/src/flow/nodes/index.ts +18 -0
  1369. package/src/flow/nodes/nodeChrome.tsx +113 -0
  1370. package/src/flow/nodes/nodes.css +3 -0
  1371. package/src/flow/nodes/nodes.test.tsx +529 -0
  1372. package/src/flow/nodes/ports.ts +127 -0
  1373. package/src/flow/nodes/registry.tsx +262 -0
  1374. package/src/flow/nodes/sourceMarks.tsx +52 -0
  1375. package/src/flow/nodes/types.ts +85 -0
  1376. package/src/flow/provenance/EditionCompare.tsx +292 -0
  1377. package/src/flow/provenance/NumberTrace.tsx +208 -0
  1378. package/src/flow/provenance/ProvenanceCertificate.tsx +263 -0
  1379. package/src/flow/provenance/ProvenanceFilters.tsx +137 -0
  1380. package/src/flow/provenance/ProvenanceGraph.css +1156 -0
  1381. package/src/flow/provenance/ProvenanceGraph.test.tsx +361 -0
  1382. package/src/flow/provenance/ProvenanceGraph.tsx +725 -0
  1383. package/src/flow/provenance/ProvenanceInspector.tsx +201 -0
  1384. package/src/flow/provenance/ProvenanceLegend.tsx +66 -0
  1385. package/src/flow/provenance/ProvenanceNode.tsx +171 -0
  1386. package/src/flow/provenance/ProvenanceShellParts.test.tsx +130 -0
  1387. package/src/flow/provenance/ProvenanceTimeline.tsx +342 -0
  1388. package/src/flow/provenance/ProvenanceTree.tsx +143 -0
  1389. package/src/flow/provenance/ProvenanceViews.css +828 -0
  1390. package/src/flow/provenance/ProvenanceViews.test.tsx +307 -0
  1391. package/src/flow/provenance/index.ts +14 -0
  1392. package/src/flow/provenance/labels.ts +418 -0
  1393. package/src/flow/provenance/model.ts +381 -0
  1394. package/src/flow/provenance/proofTypes.ts +93 -0
  1395. package/src/flow/provenance/provenance.css +3 -0
  1396. package/src/flow/report/ClaimTitle.tsx +15 -0
  1397. package/src/flow/report/ProvenanceTag.test.tsx +37 -0
  1398. package/src/flow/report/ProvenanceTag.tsx +58 -0
  1399. package/src/flow/report/ReportView.test.tsx +59 -0
  1400. package/src/flow/report/ReportView.tsx +359 -0
  1401. package/src/flow/report/index.ts +4 -0
  1402. package/src/flow/report/report.css +267 -0
  1403. package/src/flow/run/ExecutionTimeline.tsx +478 -0
  1404. package/src/flow/run/NumberInput.tsx +59 -0
  1405. package/src/flow/run/RunDrawer.tsx +485 -0
  1406. package/src/flow/run/RunInputDialog.tsx +149 -0
  1407. package/src/flow/run/RunPanel.tsx +136 -0
  1408. package/src/flow/run/RunPreviewPanel.tsx +269 -0
  1409. package/src/flow/run/RunReplayDialog.tsx +278 -0
  1410. package/src/flow/run/RunRewindDialog.tsx +197 -0
  1411. package/src/flow/run/RunStatusMark.tsx +79 -0
  1412. package/src/flow/run/RunTimePanel.test.tsx +55 -0
  1413. package/src/flow/run/RunTimePanel.tsx +143 -0
  1414. package/src/flow/run/RunViews.tsx +170 -0
  1415. package/src/flow/run/ShortId.tsx +15 -0
  1416. package/src/flow/run/VariableInspector.tsx +198 -0
  1417. package/src/flow/run/VersionHistoryPanel.tsx +178 -0
  1418. package/src/flow/run/execution.ts +187 -0
  1419. package/src/flow/run/index.ts +18 -0
  1420. package/src/flow/run/lineage.ts +123 -0
  1421. package/src/flow/run/rewindPlan.ts +79 -0
  1422. package/src/flow/run/run.css +749 -0
  1423. package/src/flow/run/run.test.tsx +533 -0
  1424. package/src/flow/run/runData.ts +124 -0
  1425. package/src/flow/run/types.ts +53 -0
  1426. package/src/flow/state/dialogStack.tsx +90 -0
  1427. package/src/flow/state/editorState.test.tsx +110 -0
  1428. package/src/flow/state/editorState.tsx +296 -0
  1429. package/src/flow/state/graphEdits.ts +107 -0
  1430. package/src/flow/state/store.ts +67 -0
  1431. package/src/flow/steps/AddStepPicker.tsx +108 -0
  1432. package/src/flow/steps/FlowSidePanel.tsx +318 -0
  1433. package/src/flow/steps/IssueBar.tsx +58 -0
  1434. package/src/flow/steps/ShapeChip.tsx +41 -0
  1435. package/src/flow/steps/StepCard.tsx +139 -0
  1436. package/src/flow/steps/StepListView.tsx +152 -0
  1437. package/src/flow/steps/StepPalette.tsx +194 -0
  1438. package/src/flow/steps/StepsContext.tsx +70 -0
  1439. package/src/flow/steps/index.ts +15 -0
  1440. package/src/flow/steps/researchSteps.ts +269 -0
  1441. package/src/flow/steps/shapes.ts +46 -0
  1442. package/src/flow/steps/stepLabels.ts +160 -0
  1443. package/src/flow/steps/stepTools.ts +37 -0
  1444. package/src/flow/steps/steps.css +962 -0
  1445. package/src/flow/steps/steps.test.tsx +351 -0
  1446. package/src/flow/steps/wiring.ts +123 -0
  1447. package/src/flow/styles.css +23 -0
  1448. package/src/flow/surface/CanvasSurface.test.tsx +148 -0
  1449. package/src/flow/surface/CanvasSurface.tsx +674 -0
  1450. package/src/flow/surface/OverviewMap.tsx +50 -0
  1451. package/src/flow/surface/SurfaceContext.tsx +28 -0
  1452. package/src/flow/surface/surface.css +200 -0
  1453. package/src/flow/surface/types.ts +97 -0
  1454. package/src/flow/surface/useElementSize.ts +29 -0
  1455. package/src/flow/surface/useNodeMeasurement.ts +71 -0
  1456. package/src/flow/toolbar/CanvasNodeSearch.tsx +110 -0
  1457. package/src/flow/toolbar/CanvasToolbar.test.tsx +101 -0
  1458. package/src/flow/toolbar/CanvasToolbar.tsx +114 -0
  1459. package/src/flow/toolbar/canvasTools.ts +114 -0
  1460. package/src/flow/toolbar/dockItems.test.tsx +47 -0
  1461. package/src/flow/toolbar/dockItems.tsx +51 -0
  1462. package/src/flow/toolbar/index.ts +5 -0
  1463. package/src/flow/toolbar/toolbar.css +217 -0
  1464. package/src/groups/auth-brand.css +18 -0
  1465. package/src/groups/auth-brand.ts +17 -0
  1466. package/src/groups/charts-geo.css +6 -0
  1467. package/src/groups/charts-geo.ts +98 -0
  1468. package/src/groups/data-a.css +13 -0
  1469. package/src/groups/data-a.ts +14 -0
  1470. package/src/groups/data-b.css +11 -0
  1471. package/src/groups/data-b.ts +11 -0
  1472. package/src/groups/forms-a.css +17 -0
  1473. package/src/groups/forms-a.ts +15 -0
  1474. package/src/groups/forms-b.css +14 -0
  1475. package/src/groups/forms-b.ts +13 -0
  1476. package/src/groups/overlays-nav.css +15 -0
  1477. package/src/groups/overlays-nav.ts +16 -0
  1478. package/src/groups/platform.css +7 -0
  1479. package/src/groups/platform.ts +101 -0
  1480. package/src/groups/shell.css +10 -0
  1481. package/src/groups/shell.ts +10 -0
  1482. package/src/groups/showcase.css +8 -0
  1483. package/src/groups/showcase.ts +9 -0
  1484. package/src/index.ts +65 -0
  1485. package/src/internal/ThemeScope.tsx +28 -0
  1486. package/src/internal/VisuallyHidden.tsx +10 -0
  1487. package/src/internal/cx.ts +4 -0
  1488. package/src/internal/data-a/announce.ts +38 -0
  1489. package/src/internal/data-a/clipboard.ts +11 -0
  1490. package/src/internal/data-b/signed.ts +34 -0
  1491. package/src/internal/data-b/tween.ts +67 -0
  1492. package/src/internal/dev.ts +12 -0
  1493. package/src/internal/dom.ts +42 -0
  1494. package/src/internal/forms-a/LiveNote.tsx +18 -0
  1495. package/src/internal/forms-a/SearchInput.css +125 -0
  1496. package/src/internal/forms-a/SearchInput.tsx +52 -0
  1497. package/src/internal/forms-a/marks.tsx +18 -0
  1498. package/src/internal/forms-a/shared.css +25 -0
  1499. package/src/internal/forms-b/digits.ts +33 -0
  1500. package/src/internal/forms-b/forms-b.css +341 -0
  1501. package/src/internal/forms-b/parts.tsx +151 -0
  1502. package/src/internal/haptics.ts +77 -0
  1503. package/src/internal/icuCatalogue.ts +60 -0
  1504. package/src/internal/inert.ts +15 -0
  1505. package/src/internal/media.ts +35 -0
  1506. package/src/internal/messages/auth-brand.ts +161 -0
  1507. package/src/internal/messages/charts-geo.ts +289 -0
  1508. package/src/internal/messages/core-es.ts +94 -0
  1509. package/src/internal/messages/data-a.ts +199 -0
  1510. package/src/internal/messages/data-b.ts +99 -0
  1511. package/src/internal/messages/forms-a.ts +309 -0
  1512. package/src/internal/messages/forms-b.ts +293 -0
  1513. package/src/internal/messages/overlays-nav.ts +367 -0
  1514. package/src/internal/messages/platform.ts +63 -0
  1515. package/src/internal/messages/plural.ts +24 -0
  1516. package/src/internal/messages/shell.ts +144 -0
  1517. package/src/internal/messages/showcase.ts +12 -0
  1518. package/src/internal/messages.ts +335 -0
  1519. package/src/internal/overlays-nav/fuzzy.ts +115 -0
  1520. package/src/internal/overlays-nav/hold.ts +53 -0
  1521. package/src/internal/overlays-nav/recent.ts +73 -0
  1522. package/src/internal/overlays-nav/state.ts +54 -0
  1523. package/src/internal/platform/touchTrack.ts +49 -0
  1524. package/src/internal/provider.tsx +64 -0
  1525. package/src/internal/speech.ts +24 -0
  1526. package/src/internal/theme.test.tsx +166 -0
  1527. package/src/internal/theme.tsx +181 -0
  1528. package/src/internal/types.ts +4 -0
  1529. package/src/internal/variants.test.ts +14 -0
  1530. package/src/internal/variants.ts +48 -0
  1531. package/src/native-states.css +364 -0
  1532. package/src/styles.css +56 -0
  1533. package/src/utilities/api-error-model/apiErrors.test.ts +74 -0
  1534. package/src/utilities/api-error-model/apiErrors.ts +192 -0
  1535. package/src/utilities/entity-list-loader/useEntityListLoader.test.tsx +72 -0
  1536. package/src/utilities/entity-list-loader/useEntityListLoader.ts +107 -0
  1537. package/src/utilities/formatters/formatters.locales.test.ts +30 -0
  1538. package/src/utilities/formatters/formatters.test.tsx +86 -0
  1539. package/src/utilities/formatters/formatters.ts +190 -0
  1540. package/src/utilities/haptics/haptics.test.tsx +96 -0
  1541. package/src/utilities/haptics/haptics.tsx +79 -0
  1542. package/src/utilities/i18n-adapter/I18nAdapter.test.tsx +70 -0
  1543. package/src/utilities/i18n-adapter/I18nAdapter.tsx +136 -0
  1544. package/src/utilities/i18n-adapter/icu.numeric.test.ts +39 -0
  1545. package/src/utilities/i18n-adapter/icu.ts +207 -0
  1546. package/src/utilities/legacy-alias-map/LEGACY-ALIASES.md +65 -0
  1547. package/src/utilities/legacy-alias-map/legacy-alias-map.test.ts +57 -0
  1548. package/src/utilities/motion-foundation/motion.test.tsx +76 -0
  1549. package/src/utilities/motion-foundation/motion.tsx +119 -0
  1550. package/src/utilities/router-adapter/Routing.test.tsx +68 -0
  1551. package/src/utilities/router-adapter/Routing.tsx +149 -0
  1552. package/src/utilities/view-transition/animatedChange.test.ts +72 -0
  1553. package/src/utilities/view-transition/animatedChange.ts +90 -0
  1554. package/dist/src-Ds9ArSaP.js.map +0 -1
@@ -0,0 +1,725 @@
1
+ // ProvenanceGraph: "where did this come from". One question bar picks the
2
+ // item in focus (any value, record, number or manuscript sentence); five
3
+ // views show the same data:
4
+ //
5
+ // Graph horizontal bands in research order (search, reading,
6
+ // source, assertion, base and verification, analysis,
7
+ // edition, manuscript), the focus item's proof path down the
8
+ // first column, everything else dimmed or hidden.
9
+ // Tree the keyboard and screen-reader alternative (APG tree).
10
+ // Timeline one lane per actor on a time axis.
11
+ // Certificate the obligation tree the verifier checked for a claim.
12
+ // Compare what changed between two editions.
13
+ //
14
+ // The evidence panel (inspector) stays beside the graph and the tree. The
15
+ // graph's filters (type, actor, proof), the steps back and forward and "only
16
+ // the proof path" sit as chips in one row above the canvas with the line key;
17
+ // the canvas tools (select, move, zoom, fit, rearrange, tree, export, find)
18
+ // form a dock, drawn over the canvas or handed to the host (renderTools).
19
+ // The question field and the view switch are exported on their own so a
20
+ // host can place them in its page header (showQuestionBar={false}).
21
+ //
22
+ // Keys on a focused node: Up/Down move between bands along the relations
23
+ // (towards the origin is Up), Left/Right move inside a band (mirrored in
24
+ // RTL), Home/End go to the first/last node, Enter/Space select, Escape
25
+ // returns to the question bar.
26
+
27
+ import { useCallback, useLayoutEffect, useMemo, useRef, useState, type KeyboardEvent, type ReactNode } from 'react'
28
+ import { ComboBox, Input, Label, ListBox, ListBoxItem, Popover as AriaPopover, Button as AriaButton, Radio, RadioGroup, Switch as AriaSwitch, Text } from 'react-aria-components'
29
+ import { ArrowDown, ArrowUp, Check, ChevronDown, FileDown, GitCompareArrows, Hourglass, ListTree } from 'lucide-react'
30
+ import { Button, EmptyState, InlineNotice, useMediaQuery } from '../../index'
31
+ import { kindTone } from '../catalog/palette'
32
+ import { fill, useFlowLocale, useLabels } from '../internal/labels'
33
+ import { useControllable } from '../internal/useControllable'
34
+ import type { Point } from '../model/types'
35
+ import { CanvasSurface } from '../surface/CanvasSurface'
36
+ import type { CanvasApi, ConnectorShape, NodeDragEvent, SurfaceConnector, SurfaceNode } from '../surface/types'
37
+ import { CanvasNodeSearch } from '../toolbar/CanvasNodeSearch'
38
+ import { CanvasToolbar } from '../toolbar/CanvasToolbar'
39
+ import { canvasToolItems, type CanvasToolItem } from '../toolbar/canvasTools'
40
+ import { EditionCompare } from './EditionCompare'
41
+ import { provenanceLabels, type ProvenanceLabels } from './labels'
42
+ import {
43
+ bandGeometryFrom,
44
+ bandLayout,
45
+ DEFAULT_BANDS,
46
+ type BandGeometry,
47
+ EMPTY_FILTERS,
48
+ isDeep,
49
+ proofKeyOf,
50
+ proofPath,
51
+ provenanceView,
52
+ readingOrder,
53
+ searchableText,
54
+ type ProofKey,
55
+ type ProvActor,
56
+ type ProvFilters,
57
+ type ProvItem,
58
+ type ProvLink,
59
+ type ProvStatement,
60
+ type ProvVertex,
61
+ } from './model'
62
+ import type { EditionComparison, ProofCertificate } from './proofTypes'
63
+ import { ProvenanceCertificate } from './ProvenanceCertificate'
64
+ import { FilterChips } from './ProvenanceFilters'
65
+ import { ProvenanceInspector } from './ProvenanceInspector'
66
+ import { ProvenanceLegend } from './ProvenanceLegend'
67
+ import { ActorNode, ProvenanceNode } from './ProvenanceNode'
68
+ import { ProvenanceTimeline } from './ProvenanceTimeline'
69
+ import { ProvenanceTree } from './ProvenanceTree'
70
+
71
+ export type ProvenanceViewMode = 'graph' | 'tree' | 'timeline' | 'certificate' | 'compare'
72
+
73
+ export interface ProvenanceGraphProps {
74
+ items: readonly ProvItem[]
75
+ statements: readonly ProvStatement[]
76
+ /** Actors that statements attribute items to (needed only to draw actors as nodes). */
77
+ actors?: readonly ProvActor[]
78
+ focusId?: string | null
79
+ defaultFocusId?: string | null
80
+ onFocusChange?: (id: string | null) => void
81
+ selectedId?: string | null
82
+ defaultSelectedId?: string | null
83
+ onSelect?: (id: string | null) => void
84
+ /** Steps towards origins. */
85
+ back?: number
86
+ defaultBack?: number
87
+ onBackChange?: (n: number) => void
88
+ /** Steps towards uses. */
89
+ forward?: number
90
+ defaultForward?: number
91
+ onForwardChange?: (n: number) => void
92
+ /** Show only the focus item's proof path. */
93
+ onlyProofPath?: boolean
94
+ defaultOnlyProofPath?: boolean
95
+ onOnlyProofPathChange?: (on: boolean) => void
96
+ view?: ProvenanceViewMode
97
+ defaultView?: ProvenanceViewMode
98
+ onViewChange?: (v: ProvenanceViewMode) => void
99
+ filters?: ProvFilters
100
+ defaultFilters?: ProvFilters
101
+ onFiltersChange?: (f: ProvFilters) => void
102
+ /** Largest number of steps offered in each direction. */
103
+ maxHops?: number
104
+ /** Certificates by claim id (the focus or the selected item). */
105
+ certificates?: Readonly<Record<string, ProofCertificate>>
106
+ onRerunCertificate?: (claimId: string) => void
107
+ onDownloadCertificate?: (claimId: string) => void
108
+ certificateBusy?: boolean
109
+ /** Two editions to compare. */
110
+ comparison?: EditionComparison | null
111
+ onReread?: (id: string) => void
112
+ onRequestVerification?: (id: string) => void
113
+ loading?: boolean
114
+ /** Error message in plain words (the view then shows it with a retry). */
115
+ error?: string | null
116
+ onRetry?: () => void
117
+ /** Keep the graph's reading start on the left even in RTL locales. */
118
+ keepLtr?: boolean
119
+ labels?: Partial<ProvenanceLabels>
120
+ /** Page title shown at the start of the question row (for example "Proveniência"). */
121
+ title?: string
122
+ /** Mono breadcrumb above the title (organisation / project / id). */
123
+ breadcrumb?: string
124
+ /** `false` when the host shows ProvenanceQuestion and ProvenanceViewSwitch itself. */
125
+ showQuestionBar?: boolean
126
+ /** Host dock: receives the canvas tool items; a dock over the canvas otherwise. */
127
+ renderTools?: (items: CanvasToolItem[]) => ReactNode
128
+ /** "Export PROV" in the canvas tools. */
129
+ onExport?: () => void
130
+ /** Content at the end of the graph's chip row (for example a sample-data tag). */
131
+ toolRowEnd?: ReactNode
132
+ /** Words for times on the timeline (for example placeholders while dates are not known). */
133
+ formatTime?: (time: number, use: 'tick' | 'detail') => string
134
+ /** Actions under the selected timeline event. */
135
+ timelineActions?: (item: ProvItem) => ReactNode
136
+ /** "Ask for a review" on a compared change. */
137
+ onRequestReview?: (itemId: string) => void
138
+ /** Compared row selected at first. */
139
+ defaultCompareItemId?: string | null
140
+ className?: string
141
+ }
142
+
143
+ const VIEWS: readonly ProvenanceViewMode[] = ['graph', 'tree', 'timeline', 'certificate', 'compare']
144
+ const PROV_RELATIONS_ORDER = ['wasDerivedFrom', 'wasAttributedTo', 'used', 'wasGeneratedBy'] as const
145
+
146
+ function initialMatch(query: string, fallback: boolean): boolean {
147
+ return typeof window !== 'undefined' && window.matchMedia ? window.matchMedia(query).matches : fallback
148
+ }
149
+
150
+ export function ProvenanceGraph(props: ProvenanceGraphProps) {
151
+ const { items, statements, actors = [], maxHops = 8, loading = false, error = null, onRetry, keepLtr = false, className } = props
152
+ const l = useLabels(provenanceLabels, props.labels)
153
+ const { locale, rtl } = useFlowLocale()
154
+ const mirror = rtl && !keepLtr
155
+ const wide = useMediaQuery('(min-width: 1024px)', true)
156
+
157
+ const [focusId, setFocusId] = useControllable<string | null>(props.focusId, props.defaultFocusId ?? null, props.onFocusChange)
158
+ const [selectedId, setSelectedIdRaw] = useControllable<string | null>(props.selectedId, props.defaultSelectedId ?? props.defaultFocusId ?? null, props.onSelect)
159
+ const [back, setBack] = useControllable<number>(props.back, props.defaultBack ?? 3, props.onBackChange)
160
+ const [forward, setForward] = useControllable<number>(props.forward, props.defaultForward ?? 1, props.onForwardChange)
161
+ const [onlyPath, setOnlyPath] = useControllable<boolean>(props.onlyProofPath, props.defaultOnlyProofPath ?? false, props.onOnlyProofPathChange)
162
+ const [view, setView] = useControllable<ProvenanceViewMode>(props.view, () => props.defaultView ?? (initialMatch('(min-width: 1024px)', true) ? 'graph' : 'tree'), props.onViewChange)
163
+ const [filters, setFilters] = useControllable<ProvFilters>(props.filters, props.defaultFilters ?? EMPTY_FILTERS, props.onFiltersChange)
164
+ // On phones the inspector is a sheet over the page: it opens on selection only.
165
+ const [inspectorOpen, setInspectorOpen] = useState(() => initialMatch('(min-width: 1024px)', true))
166
+ const [mode, setMode] = useState<'select' | 'pan'>('select')
167
+ const [zoom, setZoom] = useState(1)
168
+ const [searchOpen, setSearchOpen] = useState(false)
169
+ const [moved, setMoved] = useState<ReadonlyMap<string, Point>>(new Map())
170
+ const [layoutRun, setLayoutRun] = useState(0)
171
+ const pendingFocus = useRef<string | null>(null)
172
+ const rootRef = useRef<HTMLDivElement>(null)
173
+ const [geometry, setGeometry] = useState<BandGeometry>(DEFAULT_BANDS)
174
+ // Band sizes come from the --ty-flow-* tokens, so a theme or density can change them.
175
+ useLayoutEffect(() => {
176
+ const g = bandGeometryFrom(rootRef.current)
177
+ setGeometry((prev) => (JSON.stringify(prev) === JSON.stringify(g) ? prev : g))
178
+ }, [])
179
+
180
+ const api = useRef<CanvasApi | null>(null)
181
+ const barRef = useRef<HTMLDivElement>(null)
182
+ const canvasRef = useRef<HTMLDivElement>(null)
183
+ const searchAnchor = useRef<HTMLElement | null>(null)
184
+ const dragBase = useRef<Map<string, Point>>(new Map())
185
+
186
+ const fullView = useMemo(() => provenanceView(items, statements, actors, { focusId, back, forward, filters }), [items, statements, actors, focusId, back, forward, filters])
187
+ const path = useMemo(() => proofPath(fullView, focusId), [fullView, focusId])
188
+ const provView = useMemo(() => {
189
+ if (!onlyPath || !path.nodes.size) return fullView
190
+ return { ...fullView, vertices: fullView.vertices.filter((v) => path.nodes.has(v.id)), links: fullView.links.filter((lk) => path.links.has(lk.id)) }
191
+ }, [fullView, onlyPath, path])
192
+ const byId = useMemo(() => new Map(provView.vertices.map((v) => [v.id, v])), [provView])
193
+ const linkById = useMemo(() => new Map(provView.links.map((lk) => [lk.id, lk])), [provView])
194
+ const ordered = useMemo(() => readingOrder(items, statements), [items, statements])
195
+ const hasPath = path.nodes.size > 1
196
+
197
+ const setSelectedId = useCallback(
198
+ (id: string | null) => {
199
+ setSelectedIdRaw(id)
200
+ if (id !== null) setInspectorOpen(true)
201
+ },
202
+ [setSelectedIdRaw],
203
+ )
204
+
205
+ // Band placement, then any node the person moved by hand.
206
+ const bands = useMemo(() => bandLayout(provView, path.nodes, geometry, mirror), [provView, path, mirror, geometry])
207
+ const layoutKey = `${focusId}|${back}|${forward}|${onlyPath}|${JSON.stringify(filters)}|${layoutRun}|${view}|${mirror}`
208
+
209
+ const surfaceNodes = useMemo<SurfaceNode[]>(
210
+ () =>
211
+ provView.vertices.map((v) => {
212
+ const p = moved.get(v.id) ?? bands.positions.get(v.id) ?? { x: 0, y: 0 }
213
+ return { id: v.id, rect: { ...p, width: geometry.card.width, height: geometry.card.height }, selected: v.id === selectedId, tone: v.type === 'item' ? kindTone(v.item.kind) : 'neutral' }
214
+ }),
215
+ [provView, moved, bands, selectedId, geometry],
216
+ )
217
+ const surfaceConnectors = useMemo<SurfaceConnector[]>(() => provView.links.map((lk) => ({ id: lk.id, source: lk.source, target: lk.target })), [provView])
218
+
219
+ const leaveCanvas = useCallback(() => {
220
+ barRef.current?.querySelector<HTMLElement>('input, button, select, [tabindex="0"]')?.focus()
221
+ }, [])
222
+
223
+ const moveFocusTo = useCallback((id: string | undefined) => {
224
+ if (!id) return
225
+ api.current?.reveal(id)
226
+ api.current?.focusNode(id)
227
+ }, [])
228
+
229
+ const onNodeKey = useCallback(
230
+ (id: string) => (e: KeyboardEvent<HTMLElement>) => {
231
+ const here = bands.positions.get(id)
232
+ const sameBand = provView.vertices
233
+ .filter((v) => bands.positions.get(v.id)?.y === here?.y)
234
+ .sort((a, b) => (bands.positions.get(a.id)!.x - bands.positions.get(b.id)!.x) * (mirror ? -1 : 1))
235
+ const index = sameBand.findIndex((v) => v.id === id)
236
+ const nextInBand = mirror ? 'ArrowLeft' : 'ArrowRight'
237
+ const prevInBand = mirror ? 'ArrowRight' : 'ArrowLeft'
238
+ const yOf = (other: string) => bands.positions.get(other)?.y ?? 0
239
+ const neighbours = provView.links.flatMap((lk) => (lk.source === id ? [lk.target] : lk.target === id ? [lk.source] : []))
240
+ let next: string | undefined
241
+ if (e.key === 'ArrowUp') next = neighbours.filter((n) => yOf(n) < (here?.y ?? 0)).sort((a, b) => yOf(b) - yOf(a))[0]
242
+ else if (e.key === 'ArrowDown') next = neighbours.filter((n) => yOf(n) > (here?.y ?? 0)).sort((a, b) => yOf(a) - yOf(b))[0]
243
+ else if (e.key === nextInBand) next = sameBand[index + 1]?.id
244
+ else if (e.key === prevInBand) next = sameBand[index - 1]?.id
245
+ else if (e.key === 'Home') next = provView.vertices[0]?.id
246
+ else if (e.key === 'End') next = provView.vertices[provView.vertices.length - 1]?.id
247
+ else if (e.key === 'Escape') {
248
+ e.preventDefault()
249
+ leaveCanvas()
250
+ return
251
+ } else return
252
+ e.preventDefault()
253
+ moveFocusTo(next)
254
+ },
255
+ [bands, provView, mirror, leaveCanvas, moveFocusTo],
256
+ )
257
+
258
+ const onNodeDrag = useCallback(
259
+ (e: NodeDragEvent) => {
260
+ if (e.phase === 'start') {
261
+ dragBase.current = new Map(e.ids.map((id) => [id, surfaceNodes.find((n) => n.id === id)?.rect ?? { x: 0, y: 0 }]))
262
+ return
263
+ }
264
+ setMoved((prev) => {
265
+ const next = new Map(prev)
266
+ for (const [id, base] of dragBase.current) next.set(id, { x: base.x + e.delta.x, y: base.y + e.delta.y })
267
+ return next
268
+ })
269
+ },
270
+ [surfaceNodes],
271
+ )
272
+
273
+ const renderConnector = useCallback(
274
+ (c: SurfaceConnector, shape: ConnectorShape) => {
275
+ const link = linkById.get(c.id) as ProvLink
276
+ const onPathLink = path.links.has(link.id)
277
+ const dim = hasPath && !onPathLink && !(path.ahead.has(link.source) && (path.ahead.has(link.target) || path.nodes.has(link.target)))
278
+ // The relation is carried by the line style (legend in the tool row) and
279
+ // spelled out in the inspector and the tree; no word sits on the line,
280
+ // so it never covers a card between two close bands.
281
+ return {
282
+ svg: (
283
+ <path className="ty-prov-link" data-relation={link.relation} data-on-path={onPathLink ? 'true' : undefined} data-dimmed={dim ? 'true' : undefined} d={shape.d} markerEnd="url(#ty-surface-arrow)">
284
+ <title>{l.relations[link.relation]}</title>
285
+ </path>
286
+ ),
287
+ }
288
+ },
289
+ [linkById, l, path, hasPath],
290
+ )
291
+
292
+ const renderNode = useCallback(
293
+ (n: SurfaceNode) => {
294
+ const v = byId.get(n.id) as ProvVertex
295
+ const activate = () => setSelectedId(n.id)
296
+ const onPathNode = path.nodes.has(n.id)
297
+ return v.type === 'item' ? (
298
+ <ProvenanceNode
299
+ item={v.item}
300
+ labels={l}
301
+ locale={locale}
302
+ selected={n.id === selectedId}
303
+ onPath={hasPath && onPathNode}
304
+ focused={n.id === focusId}
305
+ dimmed={hasPath && !onPathNode && !path.ahead.has(n.id)}
306
+ onActivate={activate}
307
+ onKeyDown={onNodeKey(n.id)}
308
+ />
309
+ ) : (
310
+ <ActorNode actor={v.actor} labels={l} locale={locale} selected={n.id === selectedId} onActivate={activate} onKeyDown={onNodeKey(n.id)} />
311
+ )
312
+ },
313
+ [byId, l, locale, selectedId, setSelectedId, onNodeKey, path, hasPath, focusId],
314
+ )
315
+
316
+ // Band backgrounds and labels, drawn under the nodes in canvas units.
317
+ const bandOverlay = (
318
+ <div className="ty-prov-bands" aria-hidden="true">
319
+ {bands.bands.map((b) => (
320
+ <div
321
+ key={b.key}
322
+ className="ty-prov-band"
323
+ data-parity={b.row % 2 ? 'odd' : 'even'}
324
+ style={{ transform: `translate(${-4000}px, ${b.row * geometry.band}px)`, width: bands.width + 8000, height: geometry.band }}
325
+ />
326
+ ))}
327
+ {bands.bands.map((b) => (
328
+ <span
329
+ key={`label-${b.key}`}
330
+ className="ty-prov-band__label"
331
+ style={{ transform: `translate(${bands.labelX}px, ${b.row * geometry.band}px)`, width: geometry.label, height: geometry.band }}
332
+ >
333
+ <span className="ty-prov-band__number">{new Intl.NumberFormat(locale).format(b.row + 1)}</span>
334
+ <span className="ty-prov-band__name">{l.lanes[b.key]}</span>
335
+ </span>
336
+ ))}
337
+ </div>
338
+ )
339
+
340
+ const openInGraph = useCallback(
341
+ (id: string) => {
342
+ setSelectedId(id)
343
+ pendingFocus.current = id
344
+ setView('graph')
345
+ },
346
+ [setSelectedId, setView],
347
+ )
348
+
349
+ const bindApi = useCallback(
350
+ (handle: CanvasApi | null) => {
351
+ api.current = handle
352
+ const id = pendingFocus.current
353
+ if (handle && id) {
354
+ pendingFocus.current = null
355
+ requestAnimationFrame(() => moveFocusTo(id))
356
+ }
357
+ },
358
+ [moveFocusTo],
359
+ )
360
+
361
+ const baseTools = canvasToolItems({
362
+ zoom,
363
+ mode,
364
+ onModeChange: setMode,
365
+ onZoomIn: () => api.current?.zoomIn(),
366
+ onZoomOut: () => api.current?.zoomOut(),
367
+ onZoomReset: () => api.current?.zoomTo(1),
368
+ onFit: () => api.current?.fit(),
369
+ onAutoLayout: () => {
370
+ setMoved(new Map())
371
+ setLayoutRun((r) => r + 1)
372
+ },
373
+ onToggleListView: () => setView('tree'),
374
+ onSearch: () => {
375
+ searchAnchor.current = (document.activeElement as HTMLElement | null) ?? null
376
+ setSearchOpen(true)
377
+ },
378
+ labels: { listView: l.toolTree },
379
+ locale,
380
+ })
381
+ // Export sits with "find", before the search.
382
+ const tools: CanvasToolItem[] = props.onExport
383
+ ? [...baseTools.slice(0, -1), { id: 'export', label: l.toolExport, icon: FileDown, kind: 'action', group: 'find', onPress: props.onExport }, ...baseTools.slice(-1)]
384
+ : baseTools
385
+
386
+ const presentProof = useMemo(() => {
387
+ const seen = new Set<ProofKey>(provView.vertices.flatMap((v) => (v.type === 'item' ? [proofKeyOf(v.item)] : [])))
388
+ return (['proved', 'pending', 'refuted', 'not_disclosed', 'none'] as const).filter((k) => seen.has(k))
389
+ }, [provView])
390
+
391
+ const selectedVertex = selectedId ? (byId.get(selectedId) ?? fullView.vertices.find((v) => v.id === selectedId)) : undefined
392
+ const hopOptions = Array.from({ length: maxHops + 1 }, (_, i) => String(i))
393
+ const viewNames: Record<ProvenanceViewMode, string> = { graph: l.viewGraph, tree: l.viewTree, timeline: l.viewTimeline, certificate: l.viewCertificate, compare: l.viewCompare }
394
+
395
+ void viewNames
396
+ const question =
397
+ props.showQuestionBar === false ? null : (
398
+ <div className="ty-prov__bar" role="group" aria-label={l.queryBar} ref={barRef}>
399
+ {props.title ? (
400
+ <div className="ty-prov__heading">
401
+ {props.breadcrumb ? <p className="ty-prov__crumb">{props.breadcrumb}</p> : null}
402
+ <h1 className="ty-prov__title">{props.title}</h1>
403
+ </div>
404
+ ) : null}
405
+ <ProvenanceQuestion
406
+ items={ordered}
407
+ value={focusId}
408
+ labels={l}
409
+ onChange={(id) => {
410
+ setFocusId(id)
411
+ setSelectedId(id)
412
+ }}
413
+ />
414
+ <ProvenanceViewSwitch value={view} onChange={setView} labels={l} />
415
+ </div>
416
+ )
417
+
418
+ const shell = (state: string, body: ReactNode) => (
419
+ <div className={['ty-prov', className].filter(Boolean).join(' ')} data-state={state} {...(state === 'loading' ? { 'aria-busy': true } : {})}>
420
+ {body}
421
+ </div>
422
+ )
423
+ if (loading) {
424
+ return shell(
425
+ 'loading',
426
+ <>
427
+ <p className="ty-prov__status" role="status">
428
+ {l.loading}
429
+ </p>
430
+ <div className="ty-prov__ghosts" aria-hidden="true">
431
+ <span className="ty-prov__ghost" />
432
+ <span className="ty-prov__ghost" />
433
+ <span className="ty-prov__ghost" />
434
+ </div>
435
+ </>,
436
+ )
437
+ }
438
+ if (error) {
439
+ return shell(
440
+ 'error',
441
+ <InlineNotice tone="danger" title={l.errorTitle} titleAs="h2" urgency="assertive" actions={onRetry ? <Button onPress={onRetry}>{l.retry}</Button> : undefined}>
442
+ {error}
443
+ </InlineNotice>,
444
+ )
445
+ }
446
+ if (!items.length) return shell('empty', <EmptyState title={l.emptyTitle} description={l.emptyText} framing="section" />)
447
+
448
+ const notices: Array<{ key: string; tone: 'info' | 'warning'; text: string }> = []
449
+ if (fullView.focusFiltered) notices.push({ key: 'filtered', tone: 'info', text: l.focusFiltered })
450
+ else if (fullView.focusIsolated) notices.push({ key: 'isolated', tone: 'info', text: l.isolated })
451
+ else if (!provView.vertices.length) notices.push({ key: 'none', tone: 'info', text: l.noMatches })
452
+ if (isDeep(provView, Math.max(back, forward))) notices.push({ key: 'deep', tone: 'warning', text: fill(l.deep, { count: provView.vertices.length }, locale) })
453
+
454
+ const inspector =
455
+ inspectorOpen && selectedVertex ? (
456
+ <ProvenanceInspector
457
+ vertex={selectedVertex}
458
+ view={fullView}
459
+ labels={l}
460
+ locale={locale}
461
+ onSelect={(id) => setSelectedId(id)}
462
+ {...(!wide ? { onClose: () => setInspectorOpen(false) } : {})}
463
+ {...(props.onReread ? { onReread: props.onReread } : {})}
464
+ {...(props.onRequestVerification ? { onRequestVerification: props.onRequestVerification } : {})}
465
+ {...(props.formatTime ? { formatTime: props.formatTime } : {})}
466
+ />
467
+ ) : null
468
+
469
+ const presentRelations = PROV_RELATIONS_ORDER.filter((r) => provView.links.some((lk) => lk.relation === r))
470
+ void presentProof
471
+ const graphRow = (
472
+ <div className="ty-prov__tools" data-ty-canvas-exit="">
473
+ <FilterChips value={filters} onChange={setFilters} labels={l} locale={locale} canShowActors={actors.some((a) => !!a.id)} />
474
+ <span className="ty-prov-chip ty-prov-hops" role="group" aria-label={l.hops} data-disabled={focusId ? undefined : 'true'}>
475
+ <ArrowUp className="ty-prov-hops__arrow" aria-hidden="true" focusable="false" />
476
+ <select className="ty-prov-hops__select" aria-label={l.hopsBack} value={String(back)} onChange={(e) => setBack(Number(e.target.value))} disabled={!focusId}>
477
+ {hopOptions.map((o) => (
478
+ <option key={o} value={o}>
479
+ {o}
480
+ </option>
481
+ ))}
482
+ </select>
483
+ <span aria-hidden="true">·</span>
484
+ <ArrowDown className="ty-prov-hops__arrow" aria-hidden="true" focusable="false" />
485
+ <select className="ty-prov-hops__select" aria-label={l.hopsForward} value={String(forward)} onChange={(e) => setForward(Number(e.target.value))} disabled={!focusId}>
486
+ {hopOptions.map((o) => (
487
+ <option key={o} value={o}>
488
+ {o}
489
+ </option>
490
+ ))}
491
+ </select>
492
+ <span className="ty-prov-hops__word">{l.hopsWord}</span>
493
+ </span>
494
+ <AriaSwitch className="ty-prov-chip ty-prov-only-path" isSelected={onlyPath} onChange={setOnlyPath} isDisabled={!hasPath}>
495
+ {l.onlyPath}
496
+ </AriaSwitch>
497
+ <span className="ty-prov__spacer" />
498
+ <p className="ty-visually-hidden" role="status">
499
+ {fill(l.count, { count: provView.vertices.length }, locale)}
500
+ </p>
501
+ <ProvenanceLegend labels={l} states={[]} relations={presentRelations.length ? presentRelations : undefined} variant="inline" />
502
+ {props.toolRowEnd}
503
+ </div>
504
+ )
505
+ const dock = props.renderTools ? props.renderTools(tools) : <CanvasToolbar className="ty-prov-dock" items={tools} label={l.graphName} placement="dock" exitTarget={false} />
506
+
507
+ const certificateFor = (focusId && props.certificates?.[focusId]) || (selectedId && props.certificates?.[selectedId]) || null
508
+
509
+ let main: ReactNode
510
+ if (view === 'graph') {
511
+ main = (
512
+ <div className="ty-prov__main" ref={canvasRef}>
513
+ {graphRow}
514
+ <CanvasSurface
515
+ label={l.graphName}
516
+ roleDescription={l.graphRole}
517
+ nodes={surfaceNodes}
518
+ connectors={surfaceConnectors}
519
+ renderNode={renderNode}
520
+ renderConnector={renderConnector}
521
+ overlay={bandOverlay}
522
+ floating
523
+ fitKey={layoutKey}
524
+ fit="resize"
525
+ fitAlign="start"
526
+ fitInclude={{ x: 0, y: 0, width: bands.width, height: bands.height }}
527
+ fitPadding={16}
528
+ minFitZoom={0.55}
529
+ minimap={provView.vertices.length > 12}
530
+ mode={mode}
531
+ dragNodes={mode === 'select'}
532
+ onNodeDrag={onNodeDrag}
533
+ onViewportChange={(v) => setZoom(v.zoom)}
534
+ onEscape={() => false}
535
+ onLeave={leaveCanvas}
536
+ direction={mirror ? 'rtl' : 'ltr'}
537
+ apiRef={bindApi}
538
+ className="ty-prov__canvas"
539
+ data={{ 'data-path': hasPath ? 'true' : undefined }}
540
+ >
541
+ <CanvasNodeSearch
542
+ isOpen={searchOpen}
543
+ onOpenChange={setSearchOpen}
544
+ triggerRef={searchAnchor}
545
+ nodes={provView.vertices.map((v) =>
546
+ v.type === 'item' ? { id: v.id, label: v.item.title, kindLabel: l.kinds[v.item.kind], keywords: v.item.meta?.join(' ') ?? '' } : { id: v.id, label: v.actor.name, kindLabel: l.actorKinds[v.actor.kind] },
547
+ )}
548
+ onPick={(id) => {
549
+ setSelectedId(id)
550
+ requestAnimationFrame(() => moveFocusTo(id))
551
+ }}
552
+ />
553
+ {props.renderTools ? null : dock}
554
+ </CanvasSurface>
555
+ {props.renderTools ? dock : null}
556
+ </div>
557
+ )
558
+ } else if (view === 'tree') {
559
+ main = (
560
+ <div className="ty-prov__main">
561
+ <div className="ty-prov__tree-only">
562
+ <ProvenanceTree view={fullView} focusId={focusId} selectedId={selectedId} onSelect={(id) => setSelectedId(id)} onOpenInGraph={openInGraph} labels={l} locale={locale} />
563
+ </div>
564
+ </div>
565
+ )
566
+ } else if (view === 'timeline') {
567
+ main = (
568
+ <div className="ty-prov__main">
569
+ <ProvenanceTimeline
570
+ items={provView.vertices.flatMap((v) => (v.type === 'item' ? [v.item] : []))}
571
+ selectedId={selectedId}
572
+ onSelect={(id: string) => setSelectedId(id)}
573
+ {...(props.formatTime ? { formatTime: props.formatTime } : {})}
574
+ {...(props.timelineActions ? { renderDetailActions: props.timelineActions } : {})}
575
+ />
576
+ </div>
577
+ )
578
+ } else if (view === 'certificate') {
579
+ main = (
580
+ <div className="ty-prov__main">
581
+ <ProvenanceCertificate
582
+ certificate={certificateFor}
583
+ {...(certificateFor && props.onRerunCertificate ? { onRerun: () => props.onRerunCertificate!(certificateFor.claimId) } : {})}
584
+ {...(certificateFor && props.onDownloadCertificate ? { onDownload: () => props.onDownloadCertificate!(certificateFor.claimId) } : {})}
585
+ {...(props.certificateBusy !== undefined ? { busy: props.certificateBusy } : {})}
586
+ />
587
+ </div>
588
+ )
589
+ } else {
590
+ main = (
591
+ <div className="ty-prov__main">
592
+ {props.comparison ? (
593
+ <EditionCompare
594
+ comparison={props.comparison}
595
+ {...(props.defaultCompareItemId ? { defaultSelectedItemId: props.defaultCompareItemId } : {})}
596
+ onOpenInGraph={(id) => (items.some((i) => i.id === id) ? openInGraph(id) : setView('graph'))}
597
+ {...(props.onRequestReview ? { onRequestReview: props.onRequestReview } : {})}
598
+ />
599
+ ) : <EmptyState title={l.viewCompare} description={l.noComparison} framing="section" />}
600
+ </div>
601
+ )
602
+ }
603
+
604
+ const showInspector = view === 'graph' || view === 'tree'
605
+ return (
606
+ <div ref={rootRef} className={['ty-prov', className].filter(Boolean).join(' ')} data-view={view} data-inspector-open={showInspector && inspector ? 'true' : 'false'} data-wide={wide ? 'true' : 'false'}>
607
+ {question}
608
+ {notices.map((n) => (
609
+ <InlineNotice key={n.key} tone={n.tone} urgency="polite" className="ty-prov__notice">
610
+ {n.text}
611
+ </InlineNotice>
612
+ ))}
613
+ <div className="ty-prov__body">
614
+ {main}
615
+ {showInspector ? inspector : null}
616
+ </div>
617
+ </div>
618
+ )
619
+ }
620
+
621
+ const VIEW_ICON: Record<ProvenanceViewMode, typeof ListTree> = { graph: ProvGlyph as unknown as typeof ListTree, tree: ListTree, timeline: Hourglass, certificate: Check, compare: GitCompareArrows }
622
+
623
+ /** Three linked nodes, the provenance mark. */
624
+ function ProvGlyph(props: { className?: string }) {
625
+ return (
626
+ <svg className={props.className} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false">
627
+ <circle cx="5" cy="6" r="2" />
628
+ <circle cx="19" cy="6" r="2" />
629
+ <circle cx="12" cy="18" r="2" />
630
+ <path d="M7 6h10M6 8l5 8M18 8l-5 8" />
631
+ </svg>
632
+ )
633
+ }
634
+
635
+ export interface ProvenanceViewSwitchProps {
636
+ value: ProvenanceViewMode
637
+ onChange: (view: ProvenanceViewMode) => void
638
+ labels?: Partial<ProvenanceLabels>
639
+ /** Views offered, in order (all five by default). */
640
+ views?: readonly ProvenanceViewMode[]
641
+ className?: string
642
+ }
643
+
644
+ /** The five views as one radio group with icons (graph, tree, timeline, certificate, compare). */
645
+ export function ProvenanceViewSwitch({ value, onChange, labels, views = VIEWS, className }: ProvenanceViewSwitchProps) {
646
+ const l = useLabels(provenanceLabels, labels)
647
+ const names: Record<ProvenanceViewMode, string> = { graph: l.viewGraph, tree: l.viewTree, timeline: l.viewTimeline, certificate: l.viewCertificate, compare: l.viewCompare }
648
+ return (
649
+ <RadioGroup className={['ty-prov-views', className].filter(Boolean).join(' ')} aria-label={l.view} orientation="horizontal" value={value} onChange={(v) => onChange(v as ProvenanceViewMode)}>
650
+ {views.map((v) => {
651
+ const Icon = VIEW_ICON[v]
652
+ return (
653
+ <Radio key={v} value={v} className="ty-prov-views__option">
654
+ <Icon className="ty-prov-views__icon" aria-hidden="true" />
655
+ <span className="ty-prov-views__word">{names[v]}</span>
656
+ </Radio>
657
+ )
658
+ })}
659
+ </RadioGroup>
660
+ )
661
+ }
662
+
663
+ export interface ProvenanceQuestionProps {
664
+ items: readonly ProvItem[]
665
+ value: string | null
666
+ onChange: (id: string | null) => void
667
+ labels?: Partial<ProvenanceLabels>
668
+ /** Show the hint of what can be asked at the end of the field. */
669
+ hint?: boolean
670
+ className?: string
671
+ }
672
+
673
+ /** "Where did this come from [item]": a combobox over every item, matching titles, ids, values and quoted evidence. */
674
+ export function ProvenanceQuestion({ items, value, onChange, labels, hint = false, className }: ProvenanceQuestionProps) {
675
+ const l = useLabels(provenanceLabels, labels)
676
+ const [input, setInput] = useState<string | null>(null)
677
+ const current = items.find((i) => i.id === value)
678
+ const shown = input ?? (current ? current.title : '')
679
+ const needle = (input ?? '').trim().toLocaleLowerCase()
680
+ const options = needle ? items.filter((i) => searchableText(i).toLocaleLowerCase().includes(needle) || l.kinds[i.kind].toLocaleLowerCase().includes(needle)) : items
681
+ return (
682
+ <ComboBox
683
+ className={['ty-prov-question', className].filter(Boolean).join(' ')}
684
+ items={options}
685
+ selectedKey={value}
686
+ inputValue={shown}
687
+ onInputChange={setInput}
688
+ onSelectionChange={(key) => {
689
+ setInput(null)
690
+ if (key !== null) onChange(String(key))
691
+ }}
692
+ menuTrigger="focus"
693
+ allowsEmptyCollection
694
+ >
695
+ <div className="ty-prov-question__field">
696
+ <Label className="ty-prov-question__label">{l.question}</Label>
697
+ <Input className="ty-prov-question__input" placeholder={l.questionHint} dir="auto" onBlur={() => setInput(null)} />
698
+ {hint ? (
699
+ <span className="ty-prov-question__hint" aria-hidden="true">
700
+ {l.questionField}
701
+ </span>
702
+ ) : null}
703
+ <AriaButton className="ty-prov-question__button">
704
+ <ChevronDown aria-hidden="true" focusable="false" />
705
+ </AriaButton>
706
+ </div>
707
+ <AriaPopover className="ty-prov-question__popover" placement="bottom start">
708
+ <ListBox className="ty-prov-question__list" renderEmptyState={() => <p className="ty-prov-question__empty">{l.questionEmpty}</p>}>
709
+ {(item: ProvItem) => (
710
+ <ListBoxItem id={item.id} textValue={`${l.kinds[item.kind]}: ${item.title}`} className="ty-prov-question__option">
711
+ <Text slot="label" className="ty-prov-question__option-title">
712
+ <span className="ty-prov-question__option-kind">{l.kinds[item.kind]}</span> {item.title}
713
+ </Text>
714
+ {item.meta?.[0] ? (
715
+ <Text slot="description" className="ty-prov-question__option-meta">
716
+ <code dir="ltr">{item.meta[0]}</code>
717
+ </Text>
718
+ ) : null}
719
+ </ListBoxItem>
720
+ )}
721
+ </ListBox>
722
+ </AriaPopover>
723
+ </ComboBox>
724
+ )
725
+ }