@stll/ui 0.65.0 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. package/dist/calendar/day-calendar.d.ts +8 -3
  2. package/dist/calendar/day-calendar.js +7 -10
  3. package/dist/calendar/day-calendar.logic.d.ts +0 -2
  4. package/dist/calendar/day-calendar.logic.js +1 -2
  5. package/dist/calendar/primitives.d.ts +1 -3
  6. package/dist/calendar/primitives.js +1 -2
  7. package/dist/calendar/resource-calendar.d.ts +0 -2
  8. package/dist/calendar/resource-calendar.js +1 -2
  9. package/dist/calendar/resource-calendar.logic.d.ts +1 -3
  10. package/dist/calendar/resource-calendar.logic.js +1 -2
  11. package/dist/components/accordion.d.ts +18 -4
  12. package/dist/components/accordion.js +25 -9
  13. package/dist/components/ai-label.d.ts +0 -2
  14. package/dist/components/ai-label.js +1 -2
  15. package/dist/components/alert-dialog.d.ts +0 -2
  16. package/dist/components/alert-dialog.js +1 -2
  17. package/dist/components/animated-count.d.ts +0 -2
  18. package/dist/components/animated-count.js +1 -2
  19. package/dist/components/animated-preview.css +152 -0
  20. package/dist/components/animated-preview.d.ts +75 -0
  21. package/dist/components/animated-preview.js +105 -0
  22. package/dist/components/application-rail.d.ts +1 -3
  23. package/dist/components/application-rail.js +1 -2
  24. package/dist/components/avatar.d.ts +0 -2
  25. package/dist/components/avatar.js +1 -2
  26. package/dist/components/badge.d.ts +0 -2
  27. package/dist/components/badge.js +1 -2
  28. package/dist/components/bidi-text.d.ts +0 -2
  29. package/dist/components/bidi-text.js +1 -2
  30. package/dist/components/brand-icons.d.ts +0 -2
  31. package/dist/components/brand-icons.js +1 -2
  32. package/dist/components/breadcrumb.d.ts +0 -2
  33. package/dist/components/breadcrumb.js +1 -2
  34. package/dist/components/button.d.ts +0 -2
  35. package/dist/components/button.js +35 -13
  36. package/dist/components/button.native-classes.d.ts +0 -2
  37. package/dist/components/button.native-classes.js +1 -2
  38. package/dist/components/button.native.d.ts +0 -2
  39. package/dist/components/button.native.js +1 -2
  40. package/dist/components/button.shared.d.ts +1 -3
  41. package/dist/components/button.shared.js +1 -2
  42. package/dist/components/checkbox.d.ts +0 -2
  43. package/dist/components/checkbox.js +1 -2
  44. package/dist/components/collapsible.d.ts +10 -6
  45. package/dist/components/collapsible.js +12 -6
  46. package/dist/components/color-picker.d.ts +12 -5
  47. package/dist/components/color-picker.js +4 -6
  48. package/dist/components/combobox.d.ts +0 -2
  49. package/dist/components/combobox.js +1 -2
  50. package/dist/components/command.d.ts +0 -2
  51. package/dist/components/command.js +1 -2
  52. package/dist/components/composer-tokens.d.ts +1 -3
  53. package/dist/components/composer-tokens.js +1 -2
  54. package/dist/components/composer.d.ts +0 -2
  55. package/dist/components/composer.js +1 -2
  56. package/dist/components/context-menu.d.ts +1 -3
  57. package/dist/components/context-menu.js +1 -2
  58. package/dist/components/copy-button.d.ts +0 -2
  59. package/dist/components/copy-button.js +1 -2
  60. package/dist/components/court-badge.d.ts +0 -2
  61. package/dist/components/court-badge.js +1 -2
  62. package/dist/components/court-filter.d.ts +0 -2
  63. package/dist/components/court-filter.js +1 -2
  64. package/dist/components/date-picker-popover.d.ts +0 -2
  65. package/dist/components/date-picker-popover.js +4 -68
  66. package/dist/components/date-picker-popover.logic.d.ts +1 -3
  67. package/dist/components/date-picker-popover.logic.js +1 -2
  68. package/dist/components/date-range-filter.d.ts +0 -2
  69. package/dist/components/date-range-filter.js +1 -2
  70. package/dist/components/destructive-action-confirmation.d.ts +0 -2
  71. package/dist/components/destructive-action-confirmation.js +1 -2
  72. package/dist/components/destructive-confirm-dialog.d.ts +0 -2
  73. package/dist/components/destructive-confirm-dialog.js +1 -2
  74. package/dist/components/details-grid.d.ts +13 -5
  75. package/dist/components/details-grid.js +69 -14
  76. package/dist/components/dialog-form-state.d.ts +1 -3
  77. package/dist/components/dialog-form-state.js +1 -2
  78. package/dist/components/dialog.d.ts +0 -2
  79. package/dist/components/dialog.js +1 -2
  80. package/dist/components/directional-icon.d.ts +0 -2
  81. package/dist/components/directional-icon.js +1 -2
  82. package/dist/components/document-identity-badge.d.ts +0 -2
  83. package/dist/components/document-identity-badge.js +1 -2
  84. package/dist/components/document-identity-badge.logic.d.ts +1 -3
  85. package/dist/components/document-identity-badge.logic.js +1 -2
  86. package/dist/components/document-mark.d.ts +9 -0
  87. package/dist/components/document-mark.js +29 -0
  88. package/dist/components/document-mark.native.d.ts +11 -0
  89. package/dist/components/document-mark.native.js +36 -0
  90. package/dist/components/document-mark.shared.d.ts +378 -0
  91. package/dist/components/document-mark.shared.js +756 -0
  92. package/dist/components/field.d.ts +0 -2
  93. package/dist/components/field.js +1 -2
  94. package/dist/components/file-input.d.ts +0 -2
  95. package/dist/components/file-input.js +1 -2
  96. package/dist/components/form.d.ts +0 -2
  97. package/dist/components/form.js +1 -2
  98. package/dist/components/frame.d.ts +0 -2
  99. package/dist/components/frame.js +1 -2
  100. package/dist/components/hex-color-picker.d.ts +0 -2
  101. package/dist/components/hex-color-picker.js +1 -2
  102. package/dist/components/horizontal-scroller.d.ts +0 -2
  103. package/dist/components/horizontal-scroller.js +1 -2
  104. package/dist/components/identity-text.d.ts +0 -2
  105. package/dist/components/identity-text.js +1 -2
  106. package/dist/components/inline-drop-indicator.d.ts +1 -3
  107. package/dist/components/inline-drop-indicator.js +1 -2
  108. package/dist/components/inline-rename.d.ts +0 -2
  109. package/dist/components/inline-rename.js +1 -2
  110. package/dist/components/input-control.d.ts +1 -3
  111. package/dist/components/input-control.js +1 -2
  112. package/dist/components/input-group.d.ts +0 -2
  113. package/dist/components/input-group.js +1 -2
  114. package/dist/components/input-otp.d.ts +0 -2
  115. package/dist/components/input-otp.js +1 -2
  116. package/dist/components/input.d.ts +0 -2
  117. package/dist/components/input.js +1 -2
  118. package/dist/components/input.native.d.ts +0 -2
  119. package/dist/components/input.native.js +1 -2
  120. package/dist/components/input.shared.d.ts +1 -3
  121. package/dist/components/kbd.d.ts +58 -0
  122. package/dist/components/kbd.js +90 -0
  123. package/dist/components/label.d.ts +0 -2
  124. package/dist/components/label.js +1 -2
  125. package/dist/components/landing.d.ts +0 -2
  126. package/dist/components/landing.js +1 -2
  127. package/dist/components/list.d.ts +0 -2
  128. package/dist/components/list.js +1 -2
  129. package/dist/components/loader.d.ts +0 -2
  130. package/dist/components/loader.js +1 -2
  131. package/dist/components/loader.native.d.ts +0 -2
  132. package/dist/components/loader.native.js +1 -2
  133. package/dist/components/loader.shared.d.ts +1 -3
  134. package/dist/components/loader.shared.js +1 -2
  135. package/dist/components/matter-icon.d.ts +0 -2
  136. package/dist/components/matter-icon.js +1 -2
  137. package/dist/components/matter-icon.native.d.ts +0 -2
  138. package/dist/components/matter-icon.native.js +2 -3
  139. package/dist/components/matter-icon.shared.d.ts +1 -3
  140. package/dist/components/matter-icon.shared.js +1 -2
  141. package/dist/components/menu-section.d.ts +0 -2
  142. package/dist/components/menu-section.js +1 -2
  143. package/dist/components/menu.d.ts +18 -4
  144. package/dist/components/menu.js +27 -7
  145. package/dist/components/middle-truncate.d.ts +0 -2
  146. package/dist/components/middle-truncate.js +1 -2
  147. package/dist/components/middle-truncate.logic.d.ts +0 -2
  148. package/dist/components/middle-truncate.logic.js +1 -2
  149. package/dist/components/number-input.d.ts +0 -2
  150. package/dist/components/number-input.js +1 -2
  151. package/dist/components/outline-rail.d.ts +12 -3
  152. package/dist/components/outline-rail.js +61 -9
  153. package/dist/components/outline-rail.logic.d.ts +0 -2
  154. package/dist/components/outline-rail.logic.js +7 -3
  155. package/dist/components/pagination.d.ts +0 -2
  156. package/dist/components/pagination.js +1 -2
  157. package/dist/components/popover.d.ts +0 -2
  158. package/dist/components/popover.js +1 -2
  159. package/dist/components/preview-card.d.ts +0 -2
  160. package/dist/components/preview-card.js +1 -2
  161. package/dist/components/preview-pane.d.ts +0 -2
  162. package/dist/components/preview-pane.js +1 -2
  163. package/dist/components/prose.d.ts +0 -2
  164. package/dist/components/prose.js +1 -2
  165. package/dist/components/scroll-area.d.ts +0 -2
  166. package/dist/components/scroll-area.js +1 -2
  167. package/dist/components/scroll-to-top.d.ts +1 -3
  168. package/dist/components/scroll-to-top.js +1 -2
  169. package/dist/components/search-field.d.ts +0 -2
  170. package/dist/components/search-field.js +1 -2
  171. package/dist/components/secret-input.d.ts +0 -2
  172. package/dist/components/secret-input.js +1 -2
  173. package/dist/components/segmented-icon-toggle.d.ts +0 -2
  174. package/dist/components/segmented-icon-toggle.js +1 -2
  175. package/dist/components/select.d.ts +0 -2
  176. package/dist/components/select.js +1 -2
  177. package/dist/components/separator.d.ts +0 -2
  178. package/dist/components/separator.js +1 -2
  179. package/dist/components/separator.native.d.ts +1 -3
  180. package/dist/components/separator.native.js +1 -2
  181. package/dist/components/separator.shared.d.ts +1 -3
  182. package/dist/components/sheet.d.ts +0 -2
  183. package/dist/components/sheet.js +1 -2
  184. package/dist/components/sheet.native.d.ts +1 -3
  185. package/dist/components/sheet.native.js +1 -2
  186. package/dist/components/sheet.shared.d.ts +1 -3
  187. package/dist/components/sidebar.d.ts +0 -2
  188. package/dist/components/sidebar.js +1 -2
  189. package/dist/components/sidebar.logic.d.ts +1 -3
  190. package/dist/components/sidebar.logic.js +1 -2
  191. package/dist/components/skeleton.d.ts +0 -2
  192. package/dist/components/skeleton.js +1 -2
  193. package/dist/components/split-button.d.ts +0 -2
  194. package/dist/components/split-button.js +1 -2
  195. package/dist/components/status-mark.d.ts +0 -2
  196. package/dist/components/status-mark.js +1 -2
  197. package/dist/components/stella-mark.d.ts +1 -3
  198. package/dist/components/stella-mark.js +1 -2
  199. package/dist/components/stella-mark.native.d.ts +1 -3
  200. package/dist/components/stella-mark.native.js +1 -2
  201. package/dist/components/stella-mark.shared.d.ts +1 -3
  202. package/dist/components/stella-mark.shared.js +1 -2
  203. package/dist/components/stella-wordmark.d.ts +1 -3
  204. package/dist/components/stella-wordmark.js +1 -2
  205. package/dist/components/stella-wordmark.native.d.ts +1 -3
  206. package/dist/components/stella-wordmark.native.js +1 -2
  207. package/dist/components/stella-wordmark.shared.d.ts +1 -3
  208. package/dist/components/stella-wordmark.shared.js +1 -2
  209. package/dist/components/steps.d.ts +0 -2
  210. package/dist/components/steps.js +1 -2
  211. package/dist/components/swap-text.d.ts +0 -2
  212. package/dist/components/swap-text.js +1 -2
  213. package/dist/components/switch.d.ts +0 -2
  214. package/dist/components/switch.js +1 -2
  215. package/dist/components/switch.native.d.ts +0 -2
  216. package/dist/components/switch.native.js +1 -2
  217. package/dist/components/switch.shared.d.ts +1 -3
  218. package/dist/components/table-chart.d.ts +1 -3
  219. package/dist/components/table-chart.js +1 -2
  220. package/dist/components/table.d.ts +0 -2
  221. package/dist/components/table.js +1 -2
  222. package/dist/components/tabs.d.ts +0 -2
  223. package/dist/components/tabs.js +1 -2
  224. package/dist/components/text.d.ts +0 -2
  225. package/dist/components/text.js +1 -2
  226. package/dist/components/text.native.d.ts +0 -2
  227. package/dist/components/text.native.js +1 -2
  228. package/dist/components/text.shared.d.ts +1 -3
  229. package/dist/components/text.shared.js +1 -2
  230. package/dist/components/textarea.d.ts +11 -3
  231. package/dist/components/textarea.js +51 -13
  232. package/dist/components/textarea.native.d.ts +1 -3
  233. package/dist/components/textarea.native.js +1 -2
  234. package/dist/components/textarea.shared.d.ts +1 -3
  235. package/dist/components/time-field.d.ts +25 -0
  236. package/dist/components/time-field.js +108 -0
  237. package/dist/components/toast.d.ts +0 -2
  238. package/dist/components/toast.js +1 -2
  239. package/dist/components/toggle-group.d.ts +0 -2
  240. package/dist/components/toggle-group.js +1 -2
  241. package/dist/components/toggle.d.ts +0 -2
  242. package/dist/components/toggle.js +1 -2
  243. package/dist/components/toolbar-icon-action.d.ts +0 -2
  244. package/dist/components/toolbar-icon-action.js +1 -2
  245. package/dist/components/tooltip-trigger-helper.d.ts +0 -2
  246. package/dist/components/tooltip-trigger-helper.js +1 -2
  247. package/dist/components/tooltip.d.ts +7 -3
  248. package/dist/components/tooltip.js +9 -5
  249. package/dist/components/truncated-text.d.ts +0 -2
  250. package/dist/components/truncated-text.js +1 -2
  251. package/dist/components/view-toolbar.d.ts +0 -2
  252. package/dist/components/view-toolbar.js +1 -2
  253. package/dist/components/workspace-shell.d.ts +0 -2
  254. package/dist/components/workspace-shell.js +1 -2
  255. package/dist/css.d.ts +0 -1
  256. package/dist/data-table/schema.d.ts +1 -3
  257. package/dist/data-table/schema.js +1 -2
  258. package/dist/data-table/table.d.ts +0 -2
  259. package/dist/data-table/table.js +1 -2
  260. package/dist/hooks/use-contained-handler.d.ts +0 -2
  261. package/dist/hooks/use-contained-handler.js +1 -2
  262. package/dist/hooks/use-content-dir.d.ts +0 -2
  263. package/dist/hooks/use-content-dir.js +1 -2
  264. package/dist/hooks/use-latest.d.ts +1 -3
  265. package/dist/hooks/use-latest.js +1 -2
  266. package/dist/hooks/use-mobile.d.ts +1 -3
  267. package/dist/hooks/use-mobile.js +1 -2
  268. package/dist/hooks/use-prefers-reduced-motion.d.ts +6 -0
  269. package/dist/hooks/use-prefers-reduced-motion.js +17 -0
  270. package/dist/hooks/use-viewport-width.d.ts +1 -3
  271. package/dist/hooks/use-viewport-width.js +1 -2
  272. package/dist/index.d.ts +5 -4
  273. package/dist/index.js +5 -4
  274. package/dist/inspector/chrome.d.ts +1 -3
  275. package/dist/inspector/chrome.js +1 -2
  276. package/dist/inspector/dock.d.ts +0 -2
  277. package/dist/inspector/dock.js +1 -2
  278. package/dist/inspector/entity-tab.d.ts +0 -2
  279. package/dist/inspector/entity-tab.js +1 -2
  280. package/dist/inspector/entity-tab.logic.d.ts +1 -3
  281. package/dist/inspector/entity-tab.logic.js +1 -2
  282. package/dist/inspector/facet-bar.d.ts +1 -3
  283. package/dist/inspector/facet-bar.js +1 -2
  284. package/dist/inspector/facet-bar.logic.d.ts +1 -3
  285. package/dist/inspector/facet-bar.logic.js +1 -2
  286. package/dist/inspector/layout-tokens.d.ts +1 -3
  287. package/dist/inspector/layout-tokens.js +1 -2
  288. package/dist/inspector/pane-width.d.ts +0 -2
  289. package/dist/inspector/pane-width.js +1 -2
  290. package/dist/inspector/use-pane-width.d.ts +0 -2
  291. package/dist/inspector/use-pane-width.js +1 -2
  292. package/dist/kanban/band-peek.d.ts +1 -3
  293. package/dist/kanban/band-peek.js +1 -2
  294. package/dist/kanban/card-properties.d.ts +1 -3
  295. package/dist/kanban/card-properties.js +1 -2
  296. package/dist/kanban/card-shell.d.ts +1 -3
  297. package/dist/kanban/card-shell.js +1 -2
  298. package/dist/kanban/cell-action.d.ts +1 -3
  299. package/dist/kanban/cell-action.js +1 -2
  300. package/dist/kanban/column-band-header.d.ts +1 -3
  301. package/dist/kanban/column-band-header.js +1 -2
  302. package/dist/kanban/column-bands.d.ts +1 -3
  303. package/dist/kanban/column-bands.js +1 -2
  304. package/dist/kanban/column-header.d.ts +1 -3
  305. package/dist/kanban/column-header.js +1 -2
  306. package/dist/kanban/drag-interactions.d.ts +0 -2
  307. package/dist/kanban/drag-interactions.js +1 -2
  308. package/dist/kanban/grouping.d.ts +1 -3
  309. package/dist/kanban/grouping.js +1 -2
  310. package/dist/kanban/layout-tokens.d.ts +1 -3
  311. package/dist/kanban/layout-tokens.js +1 -2
  312. package/dist/kanban/matrix.d.ts +1 -3
  313. package/dist/kanban/matrix.js +1 -2
  314. package/dist/kanban/sortable-edge.d.ts +0 -2
  315. package/dist/kanban/sortable-edge.js +1 -2
  316. package/dist/kanban/sortable-interactions.d.ts +0 -2
  317. package/dist/kanban/sortable-interactions.js +1 -2
  318. package/dist/kanban/sortable-interactions.logic.d.ts +0 -2
  319. package/dist/kanban/sortable-interactions.logic.js +1 -2
  320. package/dist/kanban/sticky-lane.d.ts +0 -2
  321. package/dist/kanban/sticky-lane.js +1 -2
  322. package/dist/kanban/subgroup-board.d.ts +0 -2
  323. package/dist/kanban/subgroup-board.js +1 -2
  324. package/dist/kanban/touch-identity.d.ts +0 -2
  325. package/dist/kanban/touch-identity.js +1 -2
  326. package/dist/kanban/virtual-cell.d.ts +1 -3
  327. package/dist/kanban/virtual-cell.js +1 -2
  328. package/dist/lib/button-disposition.d.ts +0 -2
  329. package/dist/lib/button-disposition.js +1 -2
  330. package/dist/lib/control-size.d.ts +0 -2
  331. package/dist/lib/control-size.js +1 -2
  332. package/dist/lib/field-trigger.d.ts +1 -3
  333. package/dist/lib/field-trigger.js +1 -2
  334. package/dist/lib/file-picker.d.ts +0 -2
  335. package/dist/lib/file-picker.js +1 -2
  336. package/dist/lib/initials.d.ts +1 -3
  337. package/dist/lib/initials.js +1 -2
  338. package/dist/lib/inline-reorder.d.ts +0 -2
  339. package/dist/lib/inline-reorder.js +1 -2
  340. package/dist/lib/matter-colors.d.ts +0 -2
  341. package/dist/lib/matter-colors.js +1 -2
  342. package/dist/lib/menu-row.d.ts +1 -3
  343. package/dist/lib/menu-row.js +1 -2
  344. package/dist/lib/option-color.d.ts +1 -3
  345. package/dist/lib/option-color.js +1 -2
  346. package/dist/lib/overlay-layer.d.ts +1 -3
  347. package/dist/lib/overlay-layer.js +1 -2
  348. package/dist/lib/panel-inset.d.ts +1 -3
  349. package/dist/lib/panel-inset.js +1 -2
  350. package/dist/lib/positioner-sizing.d.ts +1 -3
  351. package/dist/lib/positioner-sizing.js +1 -2
  352. package/dist/lib/renders-nothing.d.ts +8 -0
  353. package/dist/lib/renders-nothing.js +14 -0
  354. package/dist/lib/safe-area.d.ts +1 -3
  355. package/dist/lib/safe-area.js +1 -2
  356. package/dist/lib/scroll-edge-fade.d.ts +1 -3
  357. package/dist/lib/scroll-edge-fade.js +1 -2
  358. package/dist/lib/slot.d.ts +0 -2
  359. package/dist/lib/slot.js +1 -2
  360. package/dist/lib/tab-order.d.ts +0 -2
  361. package/dist/lib/tab-order.js +1 -2
  362. package/dist/lib/tooltip-content.d.ts +1 -3
  363. package/dist/lib/tooltip-content.js +1 -2
  364. package/dist/lib/typed-character.d.ts +1 -3
  365. package/dist/lib/typed-character.js +1 -2
  366. package/dist/lib/utils.d.ts +1 -3
  367. package/dist/lib/utils.js +1 -2
  368. package/dist/lib/week.d.ts +1 -3
  369. package/dist/lib/week.js +1 -2
  370. package/dist/review/review-author-avatar.d.ts +0 -2
  371. package/dist/review/review-author-avatar.js +1 -2
  372. package/dist/review/review-comment-card.d.ts +0 -2
  373. package/dist/review/review-comment-card.js +1 -2
  374. package/dist/review/review-decision-actions.d.ts +0 -2
  375. package/dist/review/review-decision-actions.js +1 -2
  376. package/dist/review/review-diff-text.d.ts +0 -2
  377. package/dist/review/review-diff-text.js +1 -2
  378. package/dist/review/review-out-of-date-notice.d.ts +0 -2
  379. package/dist/review/review-out-of-date-notice.js +1 -2
  380. package/dist/review/review-severity-dot.d.ts +0 -2
  381. package/dist/review/review-severity-dot.js +1 -2
  382. package/dist/review/review-status-badge.d.ts +0 -2
  383. package/dist/review/review-status-badge.js +1 -2
  384. package/dist/review/review-word-diff.d.ts +1 -3
  385. package/dist/review/review-word-diff.js +1 -2
  386. package/dist/review/text-mark.d.ts +0 -2
  387. package/dist/review/text-mark.js +1 -2
  388. package/dist/styles/theme.css +27 -0
  389. package/dist/testing/browser-clock.d.ts +1 -3
  390. package/dist/testing/browser-clock.js +1 -2
  391. package/package.json +37 -5
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { createContext, useContext, useId, useLayoutEffect } from "react";
3
- //#region src/components/dialog-form-state.tsx
3
+ // src/components/dialog-form-state.tsx
4
4
  const DialogFormContext = createContext(null);
5
5
  /** Forms report semantic changes, including edits made by custom controls. */
6
6
  const DialogFormState = ({ dirty, onDiscard }) => {
@@ -24,5 +24,4 @@ const DialogFormState = ({ dirty, onDiscard }) => {
24
24
  }, [id, registry]);
25
25
  return null;
26
26
  };
27
- //#endregion
28
27
  export { DialogFormContext, DialogFormState };
@@ -2,7 +2,6 @@ import * as React$1 from "react";
2
2
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
3
3
  import { DialogFormState } from "./dialog-form-state.js";
4
4
  import { OverlayLayer } from "../lib/overlay-layer.js";
5
- //#region src/components/dialog.d.ts
6
5
  declare const DialogCreateHandle: typeof Dialog$1.createHandle;
7
6
  type DialogLabels = {
8
7
  close: string;
@@ -72,5 +71,4 @@ declare const DialogDescription: ({ className, ...props }: Dialog$1.Description.
72
71
  declare const DialogPanel: ({ className, scrollFade, ...props }: React$1.ComponentProps<"div"> & {
73
72
  scrollFade?: boolean;
74
73
  }) => React$1.JSX.Element;
75
- //#endregion
76
74
  export { DIALOG_MOBILE_LAYOUT, DIALOG_SIZE_CLASS_NAMES, Dialog, DialogBackdrop, DialogBackdrop as DialogOverlay, DialogClose, DialogPopup as DialogContent, DialogPopup, DialogCreateHandle, DialogDescription, DialogFooter, DialogFormState, DialogHeader, type DialogLabels, type DialogMobileLayout, DialogPanel, DialogPortal, DialogProvider, type DialogSize, DialogTitle, DialogTrigger, DialogViewport };
@@ -10,7 +10,7 @@ import { DialogFormContext, DialogFormState } from "./dialog-form-state.js";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  import { createContext, useContext, useRef, useState } from "react";
12
12
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
13
- //#region src/components/dialog.tsx
13
+ // src/components/dialog.tsx
14
14
  const DialogCreateHandle = Dialog$1.createHandle;
15
15
  const DialogLabelsContext = createContext({
16
16
  close: "Close",
@@ -197,5 +197,4 @@ const DialogPanel = ({ className, scrollFade = true, ...props }) => /* @__PURE__
197
197
  ...props
198
198
  })
199
199
  });
200
- //#endregion
201
200
  export { DIALOG_MOBILE_LAYOUT, DIALOG_SIZE_CLASS_NAMES, Dialog, DialogBackdrop, DialogBackdrop as DialogOverlay, DialogClose, DialogPopup as DialogContent, DialogPopup, DialogCreateHandle, DialogDescription, DialogFooter, DialogFormState, DialogHeader, DialogPanel, DialogPortal, DialogProvider, DialogTitle, DialogTrigger, DialogViewport };
@@ -1,5 +1,4 @@
1
1
  import { LucideIcon } from "../icons.js";
2
- //#region src/components/directional-icon.d.ts
3
2
  type DirectionalIconProps = {
4
3
  /**
5
4
  * A horizontally-directional lucide icon (chevron / arrow / caret /
@@ -26,5 +25,4 @@ type DirectionalIconProps = {
26
25
  * icon). See `/conventions-ux` → Right-to-Left & Bidirectional.
27
26
  */
28
27
  export declare const DirectionalIcon: ({ icon: Icon, className, flip }: DirectionalIconProps) => import("react").JSX.Element;
29
- //#endregion
30
28
  export {};
@@ -1,6 +1,6 @@
1
1
  import { cn } from "../lib/utils.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region src/components/directional-icon.tsx
3
+ // src/components/directional-icon.tsx
4
4
  /**
5
5
  * Single sanctioned way to render a direction-bearing icon. Centralizes
6
6
  * the `rtl:-scale-x-100` mirror so individual call sites can't get RTL
@@ -8,5 +8,4 @@ import { jsx } from "react/jsx-runtime";
8
8
  * icon). See `/conventions-ux` → Right-to-Left & Bidirectional.
9
9
  */
10
10
  const DirectionalIcon = ({ icon: Icon, className, flip = true }) => /* @__PURE__ */ jsx(Icon, { className: cn(flip && "rtl:-scale-x-100", className) });
11
- //#endregion
12
11
  export { DirectionalIcon };
@@ -1,6 +1,5 @@
1
1
  import { CourtBadgeSize } from "./court-badge.js";
2
2
  import { DocumentIdentity } from "./document-identity-badge.logic.js";
3
- //#region src/components/document-identity-badge.d.ts
4
3
  export declare const DocumentIdentityBadge: ({ identity, size, title }: DocumentIdentityBadgeProps) => import("react").JSX.Element;
5
4
  type DocumentIdentityBadgeProps = {
6
5
  identity: DocumentIdentity;
@@ -9,5 +8,4 @@ type DocumentIdentityBadgeProps = {
9
8
  /** Omit when the enclosing tab already supplies the full-title tooltip. */
10
9
  title?: string | undefined;
11
10
  };
12
- //#endregion
13
11
  export {};
@@ -5,7 +5,7 @@ import { CourtBadge } from "./court-badge.js";
5
5
  import { COURT_TIER_WEIGHT, caseNumberIdentityLabels, statuteIdentityLabels } from "./document-identity-badge.logic.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { panic } from "better-result";
8
- //#region src/components/document-identity-badge.tsx
8
+ // src/components/document-identity-badge.tsx
9
9
  const DocumentIdentityBadge = ({ identity, size, title }) => {
10
10
  const content = documentIdentityMark(identity, size);
11
11
  if (title === void 0) return content;
@@ -104,5 +104,4 @@ function statuteLabelClasses(length) {
104
104
  if (length === 9) return STATUTE_LABEL_CLASSES[9];
105
105
  return STATUTE_LABEL_CLASSES[10];
106
106
  }
107
- //#endregion
108
107
  export { DocumentIdentityBadge };
@@ -1,4 +1,3 @@
1
- //#region src/components/document-identity-badge.logic.d.ts
2
1
  export declare const COURT_TIER_WEIGHT: {
3
2
  readonly constitutional: "solid";
4
3
  readonly supreme: "tinted";
@@ -40,5 +39,4 @@ export declare const statuteIdentityLabels: ({ number, year }: Extract<DocumentI
40
39
  */
41
40
  export declare const caseNumberIdentityLabels: ({ caseNumber }: Extract<DocumentIdentity, {
42
41
  kind: "caseNumber";
43
- }>) => IdentityLabels | null;
44
- //#endregion
42
+ }>) => IdentityLabels | null;
@@ -1,4 +1,4 @@
1
- //#region src/components/document-identity-badge.logic.ts
1
+ // src/components/document-identity-badge.logic.ts
2
2
  const COURT_TIER_WEIGHT = {
3
3
  constitutional: "solid",
4
4
  supreme: "tinted",
@@ -37,5 +37,4 @@ const caseNumberIdentityLabels = ({ caseNumber }) => {
37
37
  long
38
38
  };
39
39
  };
40
- //#endregion
41
40
  export { COURT_TIER_WEIGHT, caseNumberIdentityLabels, statuteIdentityLabels };
@@ -0,0 +1,9 @@
1
+ import { DocumentMarkContract, DocumentMarkKind, isDocumentMarkKind } from "./document-mark.shared.js";
2
+ import { SVGProps } from "react";
3
+ /**
4
+ * A file format's mark (the Word, Excel or PDF page), drawn from the artwork
5
+ * the apps share. Decorative: the file's name says what it is.
6
+ */
7
+ export declare const DocumentMark: ({ kind, ...props }: DocumentMarkProps) => import("react").ReactSVGElement;
8
+ type DocumentMarkProps = DocumentMarkContract & Omit<SVGProps<SVGSVGElement>, "children" | "viewBox">;
9
+ export { type DocumentMarkKind, isDocumentMarkKind };
@@ -0,0 +1,29 @@
1
+ import { DOCUMENT_MARKS, GRADIENT_REFERENCE, isDocumentMarkKind } from "./document-mark.shared.js";
2
+ import { createElement, useId } from "react";
3
+ // src/components/document-mark.tsx
4
+ /**
5
+ * A file format's mark (the Word, Excel or PDF page), drawn from the artwork
6
+ * the apps share. Decorative: the file's name says what it is.
7
+ */
8
+ const DocumentMark = ({ kind, ...props }) => {
9
+ const scope = useId();
10
+ const mark = DOCUMENT_MARKS[kind];
11
+ const gradients = mark.gradients.map((gradient) => createElement("linearGradient", {
12
+ ...gradient.attrs,
13
+ id: `${scope}-${gradient.id}`
14
+ }, ...gradient.stops.map((stop) => createElement("stop", stop))));
15
+ return createElement("svg", {
16
+ "aria-hidden": true,
17
+ fill: mark.fill ?? "none",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ ...props,
20
+ viewBox: mark.viewBox
21
+ }, ...gradients.length === 0 ? [] : [createElement("defs", {}, ...gradients)], ...mark.shapes.map((shape) => draw(shape, scope)));
22
+ };
23
+ /** A gradient id or paint reference, namespaced to one drawn mark. */
24
+ const scoped = (attrs, scope) => Object.fromEntries(Object.entries(attrs).map(([name, value]) => {
25
+ const id = GRADIENT_REFERENCE.exec(value)?.[1];
26
+ return [name, id === void 0 ? value : `url(#${scope}-${id})`];
27
+ }));
28
+ const draw = (shape, scope) => createElement(shape.tag, scoped(shape.attrs, scope), ...(shape.children ?? []).map((child) => draw(child, scope)));
29
+ export { DocumentMark, isDocumentMarkKind };
@@ -0,0 +1,11 @@
1
+ import Svg from "react-native-svg";
2
+ import { DocumentMarkContract, DocumentMarkKind, isDocumentMarkKind } from "./document-mark.shared.js";
3
+ /**
4
+ * A file format's mark (the Word, Excel or PDF page), drawn from the artwork
5
+ * the web shares. `color` paints a mark drawn in the text colour (Markdown).
6
+ */
7
+ export declare const DocumentMark: ({ color, kind, size }: DocumentMarkContract & {
8
+ color?: string | undefined;
9
+ size?: number | undefined;
10
+ }) => import("react").CElement<Readonly<import("react-native-svg").SvgProps> | import("react-native-svg").SvgProps, Svg>;
11
+ export { type DocumentMarkKind, isDocumentMarkKind };
@@ -0,0 +1,36 @@
1
+ import { DOCUMENT_MARKS, GRADIENT_REFERENCE, isDocumentMarkKind } from "./document-mark.shared.js";
2
+ import { createElement, useId } from "react";
3
+ import Svg, { Defs, G, LinearGradient, Path, Polygon, Rect, Stop } from "react-native-svg";
4
+ // src/components/document-mark.native.tsx
5
+ /**
6
+ * A file format's mark (the Word, Excel or PDF page), drawn from the artwork
7
+ * the web shares. `color` paints a mark drawn in the text colour (Markdown).
8
+ */
9
+ const DocumentMark = ({ color, kind, size = 18 }) => {
10
+ const scope = `m${useId().replaceAll(/[^a-z0-9]/giu, "")}`;
11
+ const mark = DOCUMENT_MARKS[kind];
12
+ const gradients = mark.gradients.map((gradient) => createElement(LinearGradient, {
13
+ ...gradient.attrs,
14
+ id: `${scope}-${gradient.id}`
15
+ }, ...gradient.stops.map((stop) => createElement(Stop, stop))));
16
+ return createElement(Svg, {
17
+ ...color === void 0 ? {} : { color },
18
+ fill: mark.fill ?? "none",
19
+ height: size,
20
+ viewBox: mark.viewBox,
21
+ width: size
22
+ }, ...gradients.length === 0 ? [] : [createElement(Defs, {}, ...gradients)], ...mark.shapes.map((shape) => draw(shape, scope)));
23
+ };
24
+ const ELEMENTS = {
25
+ g: G,
26
+ path: Path,
27
+ polygon: Polygon,
28
+ rect: Rect
29
+ };
30
+ /** A gradient id or paint reference, namespaced to one drawn mark. */
31
+ const scoped = (attrs, scope) => Object.fromEntries(Object.entries(attrs).map(([name, value]) => {
32
+ const id = GRADIENT_REFERENCE.exec(value)?.[1];
33
+ return [name, id === void 0 ? value : `url(#${scope}-${id})`];
34
+ }));
35
+ const draw = (shape, scope) => createElement(ELEMENTS[shape.tag], scoped(shape.attrs, scope), ...(shape.children ?? []).map((child) => draw(child, scope)));
36
+ export { DocumentMark, isDocumentMarkKind };
@@ -0,0 +1,378 @@
1
+ export type MarkShape = {
2
+ readonly tag: "g" | "path" | "polygon" | "rect";
3
+ readonly attrs: Readonly<Record<string, string>>;
4
+ readonly children?: readonly MarkShape[];
5
+ };
6
+ export type MarkGradient = {
7
+ readonly id: string;
8
+ readonly attrs: Readonly<Record<string, string>>;
9
+ readonly stops: readonly Readonly<Record<string, string>>[];
10
+ };
11
+ export type DocumentMarkArtwork = {
12
+ readonly viewBox: string;
13
+ /** "currentColor" for a mark drawn in the text colour; otherwise none. */
14
+ readonly fill?: "currentColor";
15
+ readonly gradients: readonly MarkGradient[];
16
+ readonly shapes: readonly MarkShape[];
17
+ };
18
+ /** A paint reference to one of the mark's gradients. */
19
+ export declare const GRADIENT_REFERENCE: RegExp;
20
+ export declare const DOCUMENT_MARKS: {
21
+ readonly pdf: {
22
+ readonly viewBox: "0 0 75.320129 92.604164";
23
+ readonly gradients: readonly [];
24
+ readonly shapes: readonly [{
25
+ readonly tag: "g";
26
+ readonly attrs: {
27
+ readonly transform: "translate(53.55 -183.98) scale(1.48)";
28
+ };
29
+ readonly children: readonly [{
30
+ readonly tag: "path";
31
+ readonly attrs: {
32
+ readonly d: "M-29.63 123.95c-3.55 0-6.44 2.89-6.44 6.45v49.5c0 3.55 2.89 6.45 6.44 6.45H8.22c3.55 0 6.44-2.89 6.44-6.45v-40.7s.1-1.19-.42-2.35c-.48-1.09-1.28-1.84-1.28-1.84a1.06 1.06 0 0 0-.01-.01l-9.39-9.21a1.06 1.06 0 0 0-.02-.02s-.8-.76-1.99-1.27c-1.4-.6-2.84-.54-2.84-.54l.02-.0z";
33
+ readonly fill: "#ff2116";
34
+ };
35
+ }, {
36
+ readonly tag: "path";
37
+ readonly attrs: {
38
+ readonly d: "M-29.63 126.06h28.38a1.06 1.06 0 0 0 .02 0s1.13.01 1.96.37c.8.34 1.37.86 1.37.87.0.0.0.0.0.0l9.37 9.19s.56.6.84 1.21c.22.49.23 1.4.23 1.4a1.06 1.06 0 0 0-.0.04v40.75c0 2.42-1.91 4.33-4.33 4.33H-29.63c-2.42 0-4.33-1.91-4.33-4.33v-49.5c0-2.42 1.91-4.33 4.33-4.33z";
39
+ readonly fill: "#f5f5f5";
40
+ };
41
+ }, {
42
+ readonly tag: "path";
43
+ readonly attrs: {
44
+ readonly d: "M-23.41 161.09c-1.46-1.46.12-3.46 4.4-5.58l2.69-1.34 1.05-2.29c.58-1.26 1.44-3.32 1.91-4.57l.86-2.28-.6-1.69c-.73-2.08-.99-5.19-.53-6.32.63-1.52 2.69-1.36 3.51.27.64 1.27.57 3.57-.18 6.48l-.62 2.38.55.93c.3.51 1.18 1.72 1.95 2.69l1.45 1.8 1.8-.24c5.73-.75 7.69.52 7.69 2.34 0 2.3-4.5 2.49-8.28-.16-.85-.6-1.43-1.19-1.43-1.19s-2.37.48-3.53.8c-1.2.32-1.8.53-3.56 1.12 0 0-.62.9-1.02 1.55-1.5 2.43-3.25 4.44-4.5 5.17-1.4.82-2.87.88-3.6.14zm2.29-.82c.82-.51 2.48-2.47 3.62-4.29l.46-.74-2.11 1.06c-3.27 1.64-4.76 3.19-3.98 4.13.44.53.96.48 2.01-.17zm21.22-5.96c.8-.56.68-1.69-.22-2.15-.7-.35-1.27-.43-3.1-.4-1.12.08-2.93.3-3.24.37 0 0 .99.69 1.43.94.59.34 2.01.96 3.06 1.28 1.03.31 1.62.28 2.07-.04zm-8.53-3.55c-.48-.51-1.31-1.57-1.83-2.36-.68-.9-1.03-1.53-1.03-1.53s-.5 1.61-.91 2.57l-1.28 3.16-.37.72s1.97-.65 2.97-.91c1.06-.28 3.22-.7 3.22-.7zm-2.75-11.03c.12-1.04.18-2.07-.16-2.6-.92-1.01-2.04-.17-1.85 2.24.06.81.26 2.19.53 3.04l.49 1.55.34-1.17c.19-.64.48-2.02.64-3.06z";
45
+ readonly fill: "#ff2116";
46
+ };
47
+ }, {
48
+ readonly tag: "path";
49
+ readonly attrs: {
50
+ readonly d: "M-20.93 167.84h2.36q1.13 0 1.84.22.71.21 1.19.94.48.73.48 1.76 0 .94-.39 1.62-.39.68-1.06.98-.66.3-2.03.3h-.82v3.73h-1.58zm1.58 1.22v3.33h.78q1.05 0 1.45-.39.41-.39.41-1.27 0-.66-.27-1.06-.27-.41-.59-.5-.31-.1-1.0-.1zm5.51-1.22h2.15q1.56 0 2.49.55.94.55 1.41 1.64.48 1.09.48 2.42 0 1.4-.43 2.5-.43 1.09-1.32 1.76-.88.67-2.52.67h-2.27zm1.58 1.27v7.02h.66q1.38 0 2.0-.95.62-.96.62-2.55 0-3.51-2.62-3.51zm6.47-1.27h5.3v1.27H-4.21v2.85h2.98v1.27h-2.98v4.16h-1.58z";
51
+ readonly fill: "#2c2c2c";
52
+ };
53
+ }];
54
+ }];
55
+ };
56
+ readonly word: {
57
+ readonly viewBox: "0 0 48 48";
58
+ readonly gradients: readonly [];
59
+ readonly shapes: readonly [{
60
+ readonly tag: "path";
61
+ readonly attrs: {
62
+ readonly d: "M13.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H13.5c-.275 0-.5.225-.5.5v39c0 .275.225.5.5.5z";
63
+ readonly fill: "#fff";
64
+ };
65
+ }, {
66
+ readonly tag: "path";
67
+ readonly attrs: {
68
+ readonly d: "M42.293 13 34 4.707V12.5c0 .275.225.5.5.5h7.793z";
69
+ readonly fill: "#fff";
70
+ };
71
+ }, {
72
+ readonly tag: "path";
73
+ readonly attrs: {
74
+ readonly clipRule: "evenodd";
75
+ readonly d: "m43.56 12.854-9.414-9.415A1.51 1.51 0 0 0 33.086 3H13.5c-.827 0-1.5.673-1.5 1.5v39c0 .827.673 1.5 1.5 1.5h29c.827 0 1.5-.673 1.5-1.5V13.914c0-.4-.156-.777-.44-1.06zM34 4.707 42.293 13H34.5a.501.501 0 0 1-.5-.5V4.707zM13.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H13.5c-.275 0-.5.225-.5.5v39a.5.5 0 0 0 .5.5z";
76
+ readonly fill: "#605E5C";
77
+ readonly fillRule: "evenodd";
78
+ readonly opacity: ".64";
79
+ };
80
+ }, {
81
+ readonly tag: "path";
82
+ readonly attrs: {
83
+ readonly d: "M39.5 30H28v1h11.5a.5.5 0 0 0 0-1z";
84
+ readonly fill: "#103F91";
85
+ };
86
+ }, {
87
+ readonly tag: "path";
88
+ readonly attrs: {
89
+ readonly d: "M39.5 27H28v1h11.5a.5.5 0 0 0 0-1z";
90
+ readonly fill: "#185ABD";
91
+ };
92
+ }, {
93
+ readonly tag: "path";
94
+ readonly attrs: {
95
+ readonly d: "M39.5 24H28v1h11.5a.5.5 0 0 0 0-1z";
96
+ readonly fill: "#2B7CD3";
97
+ };
98
+ }, {
99
+ readonly tag: "path";
100
+ readonly attrs: {
101
+ readonly d: "M39.5 21H28v1h11.5a.5.5 0 0 0 0-1z";
102
+ readonly fill: "#41A5EE";
103
+ };
104
+ }, {
105
+ readonly tag: "path";
106
+ readonly attrs: {
107
+ readonly d: "M6 37h18a2 2 0 0 0 2-2V17a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2z";
108
+ readonly fill: "#185ABD";
109
+ };
110
+ }, {
111
+ readonly tag: "path";
112
+ readonly attrs: {
113
+ readonly d: "M11.829 29.322c.033.262.055.49.065.684h.038c.045-.446.117-.89.214-1.328L13.921 21h2.295l1.836 7.564c.092.373.168.848.23 1.426h.03c.026-.399.09-.859.191-1.38l1.47-7.61h2.088l-2.57 11H17.05l-1.752-7.287c-.051-.21-.109-.484-.172-.822a10.585 10.585 0 0 1-.119-.736h-.03c-.02.18-.06.446-.119.798-.059.354-.106.613-.141.783L13.072 32h-2.479L8 21h2.127l1.598 7.694c.036.159.07.369.104.628z";
114
+ readonly fill: "#F9F7F7";
115
+ };
116
+ }];
117
+ };
118
+ readonly rtf: {
119
+ readonly viewBox: "0 0 48 48";
120
+ readonly gradients: readonly [];
121
+ readonly shapes: readonly [{
122
+ readonly tag: "path";
123
+ readonly attrs: {
124
+ readonly d: "M9.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H9.5c-.275 0-.5.225-.5.5v39c0 .275.225.5.5.5z";
125
+ readonly fill: "#FFF";
126
+ };
127
+ }, {
128
+ readonly tag: "path";
129
+ readonly attrs: {
130
+ readonly d: "M38.293 13L30 4.707V12.5c0 .275.225.5.5.5h7.793z";
131
+ readonly fill: "#FFF";
132
+ };
133
+ }, {
134
+ readonly tag: "path";
135
+ readonly attrs: {
136
+ readonly d: "M39.56 12.854l-9.414-9.415A1.51 1.51 0 0029.086 3H9.5C8.673 3 8 3.673 8 4.5v39c0 .827.673 1.5 1.5 1.5h29c.827 0 1.5-.673 1.5-1.5V13.914c0-.4-.156-.777-.44-1.06zM30 4.707L38.293 13H30.5a.501.501 0 01-.5-.5V4.707zM38.5 44h-29a.501.501 0 01-.5-.5v-39c0-.275.225-.5.5-.5H29v8.5c0 .827.673 1.5 1.5 1.5H39v29.5c0 .275-.225.5-.5.5z";
137
+ readonly fill: "#605E5C";
138
+ readonly opacity: ".64";
139
+ };
140
+ }, {
141
+ readonly tag: "path";
142
+ readonly attrs: {
143
+ readonly d: "M35.5 21h-14a.5.5 0 010-1h14a.5.5 0 010 1zm0 3h-14a.5.5 0 010-1h14a.5.5 0 010 1z";
144
+ readonly fill: "#69AFE5";
145
+ };
146
+ }, {
147
+ readonly tag: "path";
148
+ readonly attrs: {
149
+ readonly d: "M35.5 27h-23a.5.5 0 010-1h23a.5.5 0 010 1z";
150
+ readonly fill: "#0078D7";
151
+ };
152
+ }, {
153
+ readonly tag: "path";
154
+ readonly attrs: {
155
+ readonly d: "M22.5 30h-10a.5.5 0 010-1h10a.5.5 0 010 1zm0 3h-10a.5.5 0 010-1h10a.5.5 0 010 1zm0 3h-10a.5.5 0 010-1h10a.5.5 0 010 1z";
156
+ readonly fill: "#C8C6C4";
157
+ };
158
+ }, {
159
+ readonly tag: "path";
160
+ readonly attrs: {
161
+ readonly d: "M35 36h-9a1 1 0 01-1-1v-5a1 1 0 011-1h9a1 1 0 011 1v5a1 1 0 01-1 1z";
162
+ readonly fill: "#69AFE5";
163
+ };
164
+ }, {
165
+ readonly tag: "path";
166
+ readonly attrs: {
167
+ readonly d: "M20 24h-1.751l-.696-1.817h-3.187L13.708 24H12l3.105-8h1.703L20 24zm-2.964-3.165l-1.099-2.969-1.076 2.969h2.175z";
168
+ readonly fill: "#0078D7";
169
+ };
170
+ }];
171
+ };
172
+ readonly openDocumentText: DocumentMarkArtwork;
173
+ readonly excel: {
174
+ readonly viewBox: "0 0 48 48";
175
+ readonly gradients: readonly [];
176
+ readonly shapes: readonly [{
177
+ readonly tag: "path";
178
+ readonly attrs: {
179
+ readonly d: "M13.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H13.5c-.275 0-.5.225-.5.5v39c0 .275.225.5.5.5z";
180
+ readonly fill: "#fff";
181
+ };
182
+ }, {
183
+ readonly tag: "path";
184
+ readonly attrs: {
185
+ readonly d: "M42.293 13 34 4.707V12.5c0 .275.225.5.5.5h7.793z";
186
+ readonly fill: "#fff";
187
+ };
188
+ }, {
189
+ readonly tag: "path";
190
+ readonly attrs: {
191
+ readonly clipRule: "evenodd";
192
+ readonly d: "m43.56 12.854-9.414-9.415A1.51 1.51 0 0 0 33.086 3H13.5c-.827 0-1.5.673-1.5 1.5v39c0 .827.673 1.5 1.5 1.5h29c.827 0 1.5-.673 1.5-1.5V13.914c0-.4-.156-.777-.44-1.06zM34 4.707 42.293 13H34.5a.501.501 0 0 1-.5-.5V4.707zM13.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H13.5c-.275 0-.5.225-.5.5v39a.5.5 0 0 0 .5.5z";
193
+ readonly fill: "#605E5C";
194
+ readonly fillRule: "evenodd";
195
+ readonly opacity: ".64";
196
+ };
197
+ }, {
198
+ readonly tag: "path";
199
+ readonly attrs: {
200
+ readonly d: "M39 31h-3a1 1 0 110-2h3a1 1 0 110 2z";
201
+ readonly fill: "#134A2C";
202
+ };
203
+ }, {
204
+ readonly tag: "path";
205
+ readonly attrs: {
206
+ readonly d: "M32 31h-3a1 1 0 110-2h3a1 1 0 110 2z";
207
+ readonly fill: "#185C37";
208
+ };
209
+ }, {
210
+ readonly tag: "path";
211
+ readonly attrs: {
212
+ readonly d: "M39 27h-3a1 1 0 110-2h3a1 1 0 110 2z";
213
+ readonly fill: "#21A366";
214
+ };
215
+ }, {
216
+ readonly tag: "path";
217
+ readonly attrs: {
218
+ readonly d: "M32 27h-3a1 1 0 110-2h3a1 1 0 110 2z";
219
+ readonly fill: "#107C41";
220
+ };
221
+ }, {
222
+ readonly tag: "path";
223
+ readonly attrs: {
224
+ readonly d: "M39 23h-3a1 1 0 110-2h3a1 1 0 110 2z";
225
+ readonly fill: "#33C481";
226
+ };
227
+ }, {
228
+ readonly tag: "path";
229
+ readonly attrs: {
230
+ readonly d: "M32 23h-3a1 1 0 110-2h3a1 1 0 110 2z";
231
+ readonly fill: "#21A366";
232
+ };
233
+ }, {
234
+ readonly tag: "path";
235
+ readonly attrs: {
236
+ readonly d: "M6 37h18a2 2 0 002-2V17a2 2 0 00-2-2H6a2 2 0 00-2 2v18a2 2 0 002 2z";
237
+ readonly fill: "#107C41";
238
+ };
239
+ }, {
240
+ readonly tag: "path";
241
+ readonly attrs: {
242
+ readonly d: "M9.518 32l3.851-6.017L9.841 20h2.839l1.926 3.825c.177.362.298.633.365.811h.025c.127-.29.26-.572.398-.845L17.454 20h2.605l-3.62 5.95L20.15 32h-2.772l-2.225-4.2a3.522 3.522 0 01-.265-.561h-.033a2.605 2.605 0 01-.257.543L12.307 32h-2.79z";
243
+ readonly fill: "#F9F7F7";
244
+ };
245
+ }];
246
+ };
247
+ readonly powerpoint: {
248
+ readonly viewBox: "0 0 48 48";
249
+ readonly gradients: readonly [];
250
+ readonly shapes: readonly [{
251
+ readonly tag: "path";
252
+ readonly attrs: {
253
+ readonly d: "M13.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H13.5c-.275 0-.5.225-.5.5v39c0 .275.225.5.5.5z";
254
+ readonly fill: "#fff";
255
+ };
256
+ }, {
257
+ readonly tag: "path";
258
+ readonly attrs: {
259
+ readonly d: "M42.293 13 34 4.707V12.5c0 .275.225.5.5.5h7.793z";
260
+ readonly fill: "#fff";
261
+ };
262
+ }, {
263
+ readonly tag: "path";
264
+ readonly attrs: {
265
+ readonly clipRule: "evenodd";
266
+ readonly d: "m43.56 12.854-9.414-9.415A1.51 1.51 0 0 0 33.086 3H13.5c-.827 0-1.5.673-1.5 1.5v39c0 .827.673 1.5 1.5 1.5h29c.827 0 1.5-.673 1.5-1.5V13.914c0-.4-.156-.777-.44-1.06zM34 4.707 42.293 13H34.5a.501.501 0 0 1-.5-.5V4.707zM13.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H13.5c-.275 0-.5.225-.5.5v39a.5.5 0 0 0 .5.5z";
267
+ readonly fill: "#605E5C";
268
+ readonly fillRule: "evenodd";
269
+ readonly opacity: ".64";
270
+ };
271
+ }, {
272
+ readonly tag: "path";
273
+ readonly attrs: {
274
+ readonly d: "M39.5 21H28v2h11.5a.5.5 0 0 0 0-1z";
275
+ readonly fill: "#D24726";
276
+ };
277
+ }, {
278
+ readonly tag: "path";
279
+ readonly attrs: {
280
+ readonly d: "M33 25h-5v6h5z";
281
+ readonly fill: "#FF8F6B";
282
+ };
283
+ }, {
284
+ readonly tag: "path";
285
+ readonly attrs: {
286
+ readonly d: "M39.5 25H35v1h4.5a.5.5 0 0 0 0-1z";
287
+ readonly fill: "#D24726";
288
+ };
289
+ }, {
290
+ readonly tag: "path";
291
+ readonly attrs: {
292
+ readonly d: "M39.5 28H35v1h4.5a.5.5 0 0 0 0-1z";
293
+ readonly fill: "#E86F45";
294
+ };
295
+ }, {
296
+ readonly tag: "path";
297
+ readonly attrs: {
298
+ readonly d: "M39.5 31H35v1h4.5a.5.5 0 0 0 0-1z";
299
+ readonly fill: "#FF8F6B";
300
+ };
301
+ }, {
302
+ readonly tag: "path";
303
+ readonly attrs: {
304
+ readonly d: "M6 37h18a2 2 0 0 0 2-2V17a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2z";
305
+ readonly fill: "#D24726";
306
+ };
307
+ }, {
308
+ readonly tag: "path";
309
+ readonly attrs: {
310
+ readonly d: "M10 20h5.59c3.47 0 5.41 1.78 5.41 4.82 0 3.2-2.08 5.08-5.63 5.08h-1.94V33H10V20zm3.43 2.78v4.35h1.62c1.63 0 2.47-.73 2.47-2.2 0-1.44-.84-2.15-2.47-2.15h-1.62z";
311
+ readonly fill: "#F9F7F7";
312
+ };
313
+ }];
314
+ };
315
+ readonly openDocumentSheet: DocumentMarkArtwork;
316
+ readonly csv: {
317
+ readonly viewBox: "0 0 48 48";
318
+ readonly gradients: readonly [];
319
+ readonly shapes: readonly [{
320
+ readonly tag: "path";
321
+ readonly attrs: {
322
+ readonly d: "M13.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H13.5c-.275 0-.5.225-.5.5v39c0 .275.225.5.5.5z";
323
+ readonly fill: "#fff";
324
+ };
325
+ }, {
326
+ readonly tag: "path";
327
+ readonly attrs: {
328
+ readonly d: "M42.293 13 34 4.707V12.5c0 .275.225.5.5.5h7.793z";
329
+ readonly fill: "#fff";
330
+ };
331
+ }, {
332
+ readonly tag: "path";
333
+ readonly attrs: {
334
+ readonly clipRule: "evenodd";
335
+ readonly d: "m43.56 12.854-9.414-9.415A1.51 1.51 0 0 0 33.086 3H13.5c-.827 0-1.5.673-1.5 1.5v39c0 .827.673 1.5 1.5 1.5h29c.827 0 1.5-.673 1.5-1.5V13.914c0-.4-.156-.777-.44-1.06zM34 4.707 42.293 13H34.5a.501.501 0 0 1-.5-.5V4.707zM13.5 44h29c.275 0 .5-.225.5-.5V14h-8.5c-.827 0-1.5-.673-1.5-1.5V4H13.5c-.275 0-.5.225-.5.5v39a.5.5 0 0 0 .5.5z";
336
+ readonly fill: "#605E5C";
337
+ readonly fillRule: "evenodd";
338
+ readonly opacity: ".64";
339
+ };
340
+ }, {
341
+ readonly tag: "path";
342
+ readonly attrs: {
343
+ readonly d: "M36 31.03h-1.58v-1.54h-.038c-.687 1.187-1.699 1.781-3.034 1.781-.95 0-1.711-.258-2.282-.775-.572-.517-.858-1.212-.858-2.085 0-1.837 1.085-2.909 3.255-3.217l2.957-.414c0-1.67-.678-2.504-2.032-2.504-1.188 0-2.26.401-3.217 1.203v-1.618c.289-.218.784-.428 1.483-.63.7-.202 1.323-.304 1.869-.304 2.317 0 3.477 1.23 3.477 3.69v6.413zm-1.58-4.989l-2.388.337c-.816.116-1.387.31-1.715.583-.327.273-.49.715-.49 1.324 0 .495.175.891.528 1.19.354.299.806.448 1.359.448.783 0 1.43-.276 1.94-.829.51-.552.767-1.242.767-2.07v-.983zm5.58 3.23L38.468 34h-1.126l1.126-4.729H40z";
344
+ readonly fill: "#33C481";
345
+ };
346
+ }, {
347
+ readonly tag: "path";
348
+ readonly attrs: {
349
+ readonly d: "M6 37h18a2 2 0 002-2V17a2 2 0 00-2-2H6a2 2 0 00-2 2v18a2 2 0 002 2z";
350
+ readonly fill: "#107C41";
351
+ };
352
+ }, {
353
+ readonly tag: "path";
354
+ readonly attrs: {
355
+ readonly d: "M9.518 32l3.851-6.017L9.841 20h2.839l1.926 3.825c.177.362.298.633.365.811h.025c.127-.29.26-.572.398-.845L17.454 20h2.605l-3.62 5.95L20.15 32h-2.772l-2.225-4.2a3.522 3.522 0 01-.265-.561h-.033a2.605 2.605 0 01-.257.543L12.307 32h-2.79z";
356
+ readonly fill: "#F9F7F7";
357
+ };
358
+ }];
359
+ };
360
+ readonly markdown: {
361
+ readonly viewBox: "0 0 24 24";
362
+ readonly fill: "currentColor";
363
+ readonly gradients: readonly [];
364
+ readonly shapes: readonly [{
365
+ readonly tag: "path";
366
+ readonly attrs: {
367
+ readonly d: "M22.27 19.385H1.73A1.73 1.73 0 0 1 0 17.655V6.345a1.73 1.73 0 0 1 1.73-1.73h20.54A1.73 1.73 0 0 1 24 6.345v11.308a1.73 1.73 0 0 1-1.73 1.731zM5.769 15.923v-4.5l2.308 2.885 2.307-2.885v4.5h2.308V8.078h-2.308l-2.307 2.885-2.308-2.885H3.46v7.847zM21.232 12h-2.309V8.077h-2.307V12h-2.308l3.461 4.039z";
368
+ };
369
+ }];
370
+ };
371
+ };
372
+ /** The formats that have a mark of their own. */
373
+ export type DocumentMarkKind = keyof typeof DOCUMENT_MARKS;
374
+ export declare const isDocumentMarkKind: (kind: string) => kind is DocumentMarkKind;
375
+ /** What both renderers draw a mark from. */
376
+ export type DocumentMarkContract = {
377
+ kind: DocumentMarkKind;
378
+ };