@stll/ui 0.65.1 → 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 +0 -2
  12. package/dist/components/accordion.js +1 -2
  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 +0 -2
  45. package/dist/components/collapsible.js +1 -2
  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
@@ -0,0 +1,756 @@
1
+ // src/components/document-mark.shared.ts
2
+ /** A paint reference to one of the mark's gradients. */
3
+ const GRADIENT_REFERENCE = /^url\(#([a-z0-9]+)\)$/u;
4
+ /** The sheen over the page: a diagonal fade, the fold's shade and its edge. */
5
+ const OPEN_DOCUMENT_SHEEN = [
6
+ {
7
+ id: "g1",
8
+ attrs: {
9
+ gradientUnits: "userSpaceOnUse",
10
+ x1: "8.5867",
11
+ x2: "42.4893",
12
+ y1: "5.8641",
13
+ y2: "46.2676"
14
+ },
15
+ stops: [
16
+ {
17
+ offset: "0",
18
+ stopColor: "#FFFFFF",
19
+ stopOpacity: "0"
20
+ },
21
+ {
22
+ offset: "0.2264",
23
+ stopColor: "#FCFCFC",
24
+ stopOpacity: "0.0226"
25
+ },
26
+ {
27
+ offset: "0.3626",
28
+ stopColor: "#F4F4F4",
29
+ stopOpacity: "0.0363"
30
+ },
31
+ {
32
+ offset: "0.475",
33
+ stopColor: "#E6E6E6",
34
+ stopOpacity: "0.0475"
35
+ },
36
+ {
37
+ offset: "0.5744",
38
+ stopColor: "#D1D1D1",
39
+ stopOpacity: "0.0574"
40
+ },
41
+ {
42
+ offset: "0.6652",
43
+ stopColor: "#B7B7B7",
44
+ stopOpacity: "0.0665"
45
+ },
46
+ {
47
+ offset: "0.7498",
48
+ stopColor: "#979797",
49
+ stopOpacity: "0.075"
50
+ },
51
+ {
52
+ offset: "0.8297",
53
+ stopColor: "#707070",
54
+ stopOpacity: "0.083"
55
+ },
56
+ {
57
+ offset: "0.9057",
58
+ stopColor: "#444444",
59
+ stopOpacity: "0.0906"
60
+ },
61
+ {
62
+ offset: "0.9761",
63
+ stopColor: "#121212",
64
+ stopOpacity: "0.0976"
65
+ },
66
+ {
67
+ offset: "1",
68
+ stopColor: "#000000",
69
+ stopOpacity: "0.1"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ id: "g2",
75
+ attrs: {
76
+ gradientUnits: "userSpaceOnUse",
77
+ x1: "38",
78
+ x2: "38",
79
+ y1: "16.9063",
80
+ y2: "14.0875"
81
+ },
82
+ stops: [
83
+ {
84
+ offset: "0",
85
+ stopColor: "#828282",
86
+ stopOpacity: "0"
87
+ },
88
+ {
89
+ offset: "0.2812",
90
+ stopColor: "#7F7F7F",
91
+ stopOpacity: "0.0281"
92
+ },
93
+ {
94
+ offset: "0.4503",
95
+ stopColor: "#777777",
96
+ stopOpacity: "0.045"
97
+ },
98
+ {
99
+ offset: "0.5899",
100
+ stopColor: "#696969",
101
+ stopOpacity: "0.059"
102
+ },
103
+ {
104
+ offset: "0.7133",
105
+ stopColor: "#545454",
106
+ stopOpacity: "0.0713"
107
+ },
108
+ {
109
+ offset: "0.8259",
110
+ stopColor: "#3A3A3A",
111
+ stopOpacity: "0.0826"
112
+ },
113
+ {
114
+ offset: "0.9294",
115
+ stopColor: "#1A1A1A",
116
+ stopOpacity: "0.0929"
117
+ },
118
+ {
119
+ offset: "1",
120
+ stopColor: "#000000",
121
+ stopOpacity: "0.1"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ id: "g3",
127
+ attrs: {
128
+ gradientUnits: "userSpaceOnUse",
129
+ x1: "31.27",
130
+ x2: "37.2361",
131
+ y1: "12.23",
132
+ y2: "6.2639"
133
+ },
134
+ stops: [
135
+ {
136
+ offset: "0",
137
+ stopColor: "#FFFFFF",
138
+ stopOpacity: "0"
139
+ },
140
+ {
141
+ offset: "0.8537",
142
+ stopColor: "#FFFFFF",
143
+ stopOpacity: "0.2134"
144
+ },
145
+ {
146
+ offset: "1",
147
+ stopColor: "#FFFFFF",
148
+ stopOpacity: "0.25"
149
+ }
150
+ ]
151
+ }
152
+ ];
153
+ /** The badge's gloss, and the shadow it casts on the page below it. */
154
+ const BADGE_LAYERS = {
155
+ highlight: {
156
+ attrs: {
157
+ gradientUnits: "userSpaceOnUse",
158
+ x1: "14",
159
+ x2: "14",
160
+ y1: "39.1875",
161
+ y2: "14.7584"
162
+ },
163
+ stops: [
164
+ {
165
+ offset: "0",
166
+ stopColor: "#FFFFFF",
167
+ stopOpacity: "0"
168
+ },
169
+ {
170
+ offset: "0.8587",
171
+ stopColor: "#FFFFFF",
172
+ stopOpacity: "0.1546"
173
+ },
174
+ {
175
+ offset: "1",
176
+ stopColor: "#FFFFFF",
177
+ stopOpacity: "0.18"
178
+ }
179
+ ],
180
+ points: "24,14 4,17 4,37 24,40"
181
+ },
182
+ shadow: {
183
+ attrs: {
184
+ gradientUnits: "userSpaceOnUse",
185
+ x1: "17.7538",
186
+ x2: "18.1773",
187
+ y1: "42.9183",
188
+ y2: "38.93"
189
+ },
190
+ stops: [
191
+ {
192
+ offset: "0",
193
+ stopColor: "#828282",
194
+ stopOpacity: "0"
195
+ },
196
+ {
197
+ offset: "0.1699",
198
+ stopColor: "#7E7E7E",
199
+ stopOpacity: "0.0341"
200
+ },
201
+ {
202
+ offset: "0.346",
203
+ stopColor: "#717171",
204
+ stopOpacity: "0.0694"
205
+ },
206
+ {
207
+ offset: "0.5248",
208
+ stopColor: "#5D5D5D",
209
+ stopOpacity: "0.1053"
210
+ },
211
+ {
212
+ offset: "0.7057",
213
+ stopColor: "#404040",
214
+ stopOpacity: "0.1415"
215
+ },
216
+ {
217
+ offset: "0.8863",
218
+ stopColor: "#1B1B1B",
219
+ stopOpacity: "0.1778"
220
+ },
221
+ {
222
+ offset: "0.9972",
223
+ stopColor: "#000000",
224
+ stopOpacity: "0.2"
225
+ }
226
+ ],
227
+ points: "24,43 12,43 12,38.2 24,40"
228
+ }
229
+ };
230
+ const ruledLine = (y) => ({
231
+ tag: "rect",
232
+ attrs: {
233
+ fill: "#C8C8C8",
234
+ height: "1",
235
+ width: "16",
236
+ x: "24",
237
+ y
238
+ }
239
+ });
240
+ const openDocumentMark = ({ badge, letter, arrows, layers }) => {
241
+ const layerId = (index) => `g${OPEN_DOCUMENT_SHEEN.length + index + 1}`;
242
+ return {
243
+ viewBox: "0 0 48 48",
244
+ gradients: [...OPEN_DOCUMENT_SHEEN, ...layers.map((layer, index) => ({
245
+ id: layerId(index),
246
+ attrs: BADGE_LAYERS[layer].attrs,
247
+ stops: BADGE_LAYERS[layer].stops
248
+ }))],
249
+ shapes: [
250
+ {
251
+ tag: "g",
252
+ attrs: {},
253
+ children: [{
254
+ tag: "polygon",
255
+ attrs: {
256
+ fill: "#FFFFFF",
257
+ points: "43,44 13,44 13,4 34,4 43,13"
258
+ }
259
+ }, {
260
+ tag: "path",
261
+ attrs: {
262
+ d: "M34.0005,3H12v42h32V13L34.0005,3z M34,4.5l8.5,8.5H34V4.5z M43,44H13V4h20v10h10V44z",
263
+ fill: "#949494"
264
+ }
265
+ }]
266
+ },
267
+ ruledLine("35"),
268
+ ruledLine("32"),
269
+ ruledLine("38"),
270
+ {
271
+ tag: "polygon",
272
+ attrs: {
273
+ fill: badge,
274
+ points: "4,17 24,14 24,40 4,37"
275
+ }
276
+ },
277
+ {
278
+ tag: "g",
279
+ attrs: {},
280
+ children: [{
281
+ tag: "path",
282
+ attrs: {
283
+ d: letter,
284
+ fill: "#FFFFFF"
285
+ }
286
+ }]
287
+ },
288
+ {
289
+ tag: "g",
290
+ attrs: {},
291
+ children: [{
292
+ tag: "path",
293
+ attrs: {
294
+ d: "M33.0381,18c1.0137,0,1.6631,0.5059,2.0293,0.9307c0.6475,0.7505,0.9502,1.8481,0.9063,3.0693h2.0161 c0.0923-3.3911-1.9761-6-4.9517-6s-5.8179,2.6089-6.7314,6h2.0923C29.2051,19.7324,31.1221,18,33.0381,18z",
295
+ fill: arrows
296
+ }
297
+ }, {
298
+ tag: "path",
299
+ attrs: {
300
+ d: "M30.9619,28c-1.0137,0-1.6631-0.5059-2.0293-0.9307c-0.6475-0.7505-0.9502-1.8481-0.9063-3.0693h-2.0161 c-0.0923,3.3911,1.9761,6,4.9517,6s5.8179-2.6089,6.7314-6h-2.0923C34.7949,26.2676,32.8779,28,30.9619,28z",
301
+ fill: arrows
302
+ }
303
+ }]
304
+ },
305
+ {
306
+ tag: "path",
307
+ attrs: {
308
+ d: "M44,13L34,3H12v42h32V13z",
309
+ fill: "url(#g1)"
310
+ }
311
+ },
312
+ {
313
+ tag: "rect",
314
+ attrs: {
315
+ fill: "url(#g2)",
316
+ height: "3",
317
+ width: "10",
318
+ x: "33",
319
+ y: "14"
320
+ }
321
+ },
322
+ {
323
+ tag: "polygon",
324
+ attrs: {
325
+ fill: "url(#g3)",
326
+ points: "12,3 12,4 33,4 33,14 43,14 43,28 44,28 44,13 34,3"
327
+ }
328
+ },
329
+ ...layers.map((layer, index) => ({
330
+ tag: "polygon",
331
+ attrs: {
332
+ fill: `url(#${layerId(index)})`,
333
+ points: BADGE_LAYERS[layer].points
334
+ }
335
+ }))
336
+ ]
337
+ };
338
+ };
339
+ const DOCUMENT_MARKS = {
340
+ pdf: {
341
+ viewBox: "0 0 75.320129 92.604164",
342
+ gradients: [],
343
+ shapes: [{
344
+ tag: "g",
345
+ attrs: { transform: "translate(53.55 -183.98) scale(1.48)" },
346
+ children: [
347
+ {
348
+ tag: "path",
349
+ attrs: {
350
+ 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",
351
+ fill: "#ff2116"
352
+ }
353
+ },
354
+ {
355
+ tag: "path",
356
+ attrs: {
357
+ 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",
358
+ fill: "#f5f5f5"
359
+ }
360
+ },
361
+ {
362
+ tag: "path",
363
+ attrs: {
364
+ 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",
365
+ fill: "#ff2116"
366
+ }
367
+ },
368
+ {
369
+ tag: "path",
370
+ attrs: {
371
+ 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",
372
+ fill: "#2c2c2c"
373
+ }
374
+ }
375
+ ]
376
+ }]
377
+ },
378
+ word: {
379
+ viewBox: "0 0 48 48",
380
+ gradients: [],
381
+ shapes: [
382
+ {
383
+ tag: "path",
384
+ attrs: {
385
+ 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",
386
+ fill: "#fff"
387
+ }
388
+ },
389
+ {
390
+ tag: "path",
391
+ attrs: {
392
+ d: "M42.293 13 34 4.707V12.5c0 .275.225.5.5.5h7.793z",
393
+ fill: "#fff"
394
+ }
395
+ },
396
+ {
397
+ tag: "path",
398
+ attrs: {
399
+ clipRule: "evenodd",
400
+ 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",
401
+ fill: "#605E5C",
402
+ fillRule: "evenodd",
403
+ opacity: ".64"
404
+ }
405
+ },
406
+ {
407
+ tag: "path",
408
+ attrs: {
409
+ d: "M39.5 30H28v1h11.5a.5.5 0 0 0 0-1z",
410
+ fill: "#103F91"
411
+ }
412
+ },
413
+ {
414
+ tag: "path",
415
+ attrs: {
416
+ d: "M39.5 27H28v1h11.5a.5.5 0 0 0 0-1z",
417
+ fill: "#185ABD"
418
+ }
419
+ },
420
+ {
421
+ tag: "path",
422
+ attrs: {
423
+ d: "M39.5 24H28v1h11.5a.5.5 0 0 0 0-1z",
424
+ fill: "#2B7CD3"
425
+ }
426
+ },
427
+ {
428
+ tag: "path",
429
+ attrs: {
430
+ d: "M39.5 21H28v1h11.5a.5.5 0 0 0 0-1z",
431
+ fill: "#41A5EE"
432
+ }
433
+ },
434
+ {
435
+ tag: "path",
436
+ attrs: {
437
+ 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",
438
+ fill: "#185ABD"
439
+ }
440
+ },
441
+ {
442
+ tag: "path",
443
+ attrs: {
444
+ 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",
445
+ fill: "#F9F7F7"
446
+ }
447
+ }
448
+ ]
449
+ },
450
+ rtf: {
451
+ viewBox: "0 0 48 48",
452
+ gradients: [],
453
+ shapes: [
454
+ {
455
+ tag: "path",
456
+ attrs: {
457
+ 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",
458
+ fill: "#FFF"
459
+ }
460
+ },
461
+ {
462
+ tag: "path",
463
+ attrs: {
464
+ d: "M38.293 13L30 4.707V12.5c0 .275.225.5.5.5h7.793z",
465
+ fill: "#FFF"
466
+ }
467
+ },
468
+ {
469
+ tag: "path",
470
+ attrs: {
471
+ 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",
472
+ fill: "#605E5C",
473
+ opacity: ".64"
474
+ }
475
+ },
476
+ {
477
+ tag: "path",
478
+ attrs: {
479
+ 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",
480
+ fill: "#69AFE5"
481
+ }
482
+ },
483
+ {
484
+ tag: "path",
485
+ attrs: {
486
+ d: "M35.5 27h-23a.5.5 0 010-1h23a.5.5 0 010 1z",
487
+ fill: "#0078D7"
488
+ }
489
+ },
490
+ {
491
+ tag: "path",
492
+ attrs: {
493
+ 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",
494
+ fill: "#C8C6C4"
495
+ }
496
+ },
497
+ {
498
+ tag: "path",
499
+ attrs: {
500
+ d: "M35 36h-9a1 1 0 01-1-1v-5a1 1 0 011-1h9a1 1 0 011 1v5a1 1 0 01-1 1z",
501
+ fill: "#69AFE5"
502
+ }
503
+ },
504
+ {
505
+ tag: "path",
506
+ attrs: {
507
+ 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",
508
+ fill: "#0078D7"
509
+ }
510
+ }
511
+ ]
512
+ },
513
+ openDocumentText: openDocumentMark({
514
+ badge: "#2B579A",
515
+ letter: "M21,22l-2.6241,10h-2.4787l-1.6479-6.4156c-0.0878-0.3347-0.1409-0.7088-0.1592-1.1227h-0.0277 c-0.0415,0.4558-0.1016,0.8298-0.18,1.1227L12.1929,32H9.6103L7,22h2.4441l1.3986,6.6597 c0.0598,0.2837,0.1039,0.665,0.1316,1.1437h0.0415c0.0183-0.3579,0.0853-0.7484,0.2008-1.1715L13.0168,22h2.3956l1.6271,6.7155 c0.0598,0.2466,0.113,0.6045,0.1592,1.0739h0.0277c0.0183-0.3671,0.0668-0.7392,0.1454-1.1158L18.7428,22H21z",
516
+ arrows: "#ACBBE3",
517
+ layers: [
518
+ "highlight",
519
+ "shadow",
520
+ "highlight"
521
+ ]
522
+ }),
523
+ excel: {
524
+ viewBox: "0 0 48 48",
525
+ gradients: [],
526
+ shapes: [
527
+ {
528
+ tag: "path",
529
+ attrs: {
530
+ 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",
531
+ fill: "#fff"
532
+ }
533
+ },
534
+ {
535
+ tag: "path",
536
+ attrs: {
537
+ d: "M42.293 13 34 4.707V12.5c0 .275.225.5.5.5h7.793z",
538
+ fill: "#fff"
539
+ }
540
+ },
541
+ {
542
+ tag: "path",
543
+ attrs: {
544
+ clipRule: "evenodd",
545
+ 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",
546
+ fill: "#605E5C",
547
+ fillRule: "evenodd",
548
+ opacity: ".64"
549
+ }
550
+ },
551
+ {
552
+ tag: "path",
553
+ attrs: {
554
+ d: "M39 31h-3a1 1 0 110-2h3a1 1 0 110 2z",
555
+ fill: "#134A2C"
556
+ }
557
+ },
558
+ {
559
+ tag: "path",
560
+ attrs: {
561
+ d: "M32 31h-3a1 1 0 110-2h3a1 1 0 110 2z",
562
+ fill: "#185C37"
563
+ }
564
+ },
565
+ {
566
+ tag: "path",
567
+ attrs: {
568
+ d: "M39 27h-3a1 1 0 110-2h3a1 1 0 110 2z",
569
+ fill: "#21A366"
570
+ }
571
+ },
572
+ {
573
+ tag: "path",
574
+ attrs: {
575
+ d: "M32 27h-3a1 1 0 110-2h3a1 1 0 110 2z",
576
+ fill: "#107C41"
577
+ }
578
+ },
579
+ {
580
+ tag: "path",
581
+ attrs: {
582
+ d: "M39 23h-3a1 1 0 110-2h3a1 1 0 110 2z",
583
+ fill: "#33C481"
584
+ }
585
+ },
586
+ {
587
+ tag: "path",
588
+ attrs: {
589
+ d: "M32 23h-3a1 1 0 110-2h3a1 1 0 110 2z",
590
+ fill: "#21A366"
591
+ }
592
+ },
593
+ {
594
+ tag: "path",
595
+ attrs: {
596
+ d: "M6 37h18a2 2 0 002-2V17a2 2 0 00-2-2H6a2 2 0 00-2 2v18a2 2 0 002 2z",
597
+ fill: "#107C41"
598
+ }
599
+ },
600
+ {
601
+ tag: "path",
602
+ attrs: {
603
+ 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",
604
+ fill: "#F9F7F7"
605
+ }
606
+ }
607
+ ]
608
+ },
609
+ powerpoint: {
610
+ viewBox: "0 0 48 48",
611
+ gradients: [],
612
+ shapes: [
613
+ {
614
+ tag: "path",
615
+ attrs: {
616
+ 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",
617
+ fill: "#fff"
618
+ }
619
+ },
620
+ {
621
+ tag: "path",
622
+ attrs: {
623
+ d: "M42.293 13 34 4.707V12.5c0 .275.225.5.5.5h7.793z",
624
+ fill: "#fff"
625
+ }
626
+ },
627
+ {
628
+ tag: "path",
629
+ attrs: {
630
+ clipRule: "evenodd",
631
+ 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",
632
+ fill: "#605E5C",
633
+ fillRule: "evenodd",
634
+ opacity: ".64"
635
+ }
636
+ },
637
+ {
638
+ tag: "path",
639
+ attrs: {
640
+ d: "M39.5 21H28v2h11.5a.5.5 0 0 0 0-1z",
641
+ fill: "#D24726"
642
+ }
643
+ },
644
+ {
645
+ tag: "path",
646
+ attrs: {
647
+ d: "M33 25h-5v6h5z",
648
+ fill: "#FF8F6B"
649
+ }
650
+ },
651
+ {
652
+ tag: "path",
653
+ attrs: {
654
+ d: "M39.5 25H35v1h4.5a.5.5 0 0 0 0-1z",
655
+ fill: "#D24726"
656
+ }
657
+ },
658
+ {
659
+ tag: "path",
660
+ attrs: {
661
+ d: "M39.5 28H35v1h4.5a.5.5 0 0 0 0-1z",
662
+ fill: "#E86F45"
663
+ }
664
+ },
665
+ {
666
+ tag: "path",
667
+ attrs: {
668
+ d: "M39.5 31H35v1h4.5a.5.5 0 0 0 0-1z",
669
+ fill: "#FF8F6B"
670
+ }
671
+ },
672
+ {
673
+ tag: "path",
674
+ attrs: {
675
+ 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",
676
+ fill: "#D24726"
677
+ }
678
+ },
679
+ {
680
+ tag: "path",
681
+ attrs: {
682
+ 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",
683
+ fill: "#F9F7F7"
684
+ }
685
+ }
686
+ ]
687
+ },
688
+ openDocumentSheet: openDocumentMark({
689
+ badge: "#217346",
690
+ letter: "M19,33h-2.8819l-1.8585-3.9079c-0.0703-0.1449-0.143-0.4127-0.2182-0.8033h-0.0301 c-0.0353,0.1841-0.118,0.4631-0.2483,0.8368L11.8969,33H9l3.4387-6l-3.1452-6h2.9571l1.5425,3.5983 c0.1204,0.2845,0.2281,0.6221,0.3236,1.0126h0.0301c0.0602-0.2343,0.1731-0.5829,0.3386-1.046L16.2009,21h2.7088l-3.2355,5.9498 L19,33z",
691
+ arrows: "#8BBF8A",
692
+ layers: ["shadow", "highlight"]
693
+ }),
694
+ csv: {
695
+ viewBox: "0 0 48 48",
696
+ gradients: [],
697
+ shapes: [
698
+ {
699
+ tag: "path",
700
+ attrs: {
701
+ 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",
702
+ fill: "#fff"
703
+ }
704
+ },
705
+ {
706
+ tag: "path",
707
+ attrs: {
708
+ d: "M42.293 13 34 4.707V12.5c0 .275.225.5.5.5h7.793z",
709
+ fill: "#fff"
710
+ }
711
+ },
712
+ {
713
+ tag: "path",
714
+ attrs: {
715
+ clipRule: "evenodd",
716
+ 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",
717
+ fill: "#605E5C",
718
+ fillRule: "evenodd",
719
+ opacity: ".64"
720
+ }
721
+ },
722
+ {
723
+ tag: "path",
724
+ attrs: {
725
+ 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",
726
+ fill: "#33C481"
727
+ }
728
+ },
729
+ {
730
+ tag: "path",
731
+ attrs: {
732
+ d: "M6 37h18a2 2 0 002-2V17a2 2 0 00-2-2H6a2 2 0 00-2 2v18a2 2 0 002 2z",
733
+ fill: "#107C41"
734
+ }
735
+ },
736
+ {
737
+ tag: "path",
738
+ attrs: {
739
+ 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",
740
+ fill: "#F9F7F7"
741
+ }
742
+ }
743
+ ]
744
+ },
745
+ markdown: {
746
+ viewBox: "0 0 24 24",
747
+ fill: "currentColor",
748
+ gradients: [],
749
+ shapes: [{
750
+ tag: "path",
751
+ attrs: { 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" }
752
+ }]
753
+ }
754
+ };
755
+ const isDocumentMarkKind = (kind) => Object.hasOwn(DOCUMENT_MARKS, kind);
756
+ export { DOCUMENT_MARKS, GRADIENT_REFERENCE, isDocumentMarkKind };