@tanrei/web 0.0.0-stage → 0.1.0-next.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 (781) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +58 -0
  3. package/README.md +9743 -2
  4. package/custom-elements.json +86072 -0
  5. package/dist/THIRD_PARTY_LICENSES.md +136 -0
  6. package/dist/accordion.css +812 -0
  7. package/dist/app-shell.css +493 -0
  8. package/dist/avatar.css +80 -0
  9. package/dist/breadcrumbs.css +511 -0
  10. package/dist/callout.css +65 -0
  11. package/dist/code.css +595 -0
  12. package/dist/components/accordion/accordion.d.ts +197 -0
  13. package/dist/components/accordion/accordion.js +763 -0
  14. package/dist/components/accordion/accordion.js.map +1 -0
  15. package/dist/components/app-bar/app-bar.d.ts +107 -0
  16. package/dist/components/app-bar/app-bar.js +295 -0
  17. package/dist/components/app-bar/app-bar.js.map +1 -0
  18. package/dist/components/app-bar/app-bar.styles.d.ts +12 -0
  19. package/dist/components/app-bar/app-bar.styles.js +223 -0
  20. package/dist/components/app-bar/app-bar.styles.js.map +1 -0
  21. package/dist/components/app-shell/app-shell.d.ts +220 -0
  22. package/dist/components/app-shell/app-shell.js +677 -0
  23. package/dist/components/app-shell/app-shell.js.map +1 -0
  24. package/dist/components/avatar/avatar.d.ts +162 -0
  25. package/dist/components/avatar/avatar.js +390 -0
  26. package/dist/components/avatar/avatar.js.map +1 -0
  27. package/dist/components/avatar/avatar.styles.d.ts +9 -0
  28. package/dist/components/avatar/avatar.styles.js +258 -0
  29. package/dist/components/avatar/avatar.styles.js.map +1 -0
  30. package/dist/components/badge/badge.d.ts +59 -0
  31. package/dist/components/badge/badge.js +176 -0
  32. package/dist/components/badge/badge.js.map +1 -0
  33. package/dist/components/badge/badge.styles.d.ts +1 -0
  34. package/dist/components/badge/badge.styles.js +106 -0
  35. package/dist/components/badge/badge.styles.js.map +1 -0
  36. package/dist/components/bottom-sheet/bottom-sheet.d.ts +207 -0
  37. package/dist/components/bottom-sheet/bottom-sheet.js +724 -0
  38. package/dist/components/bottom-sheet/bottom-sheet.js.map +1 -0
  39. package/dist/components/bottom-sheet/bottom-sheet.styles.d.ts +1 -0
  40. package/dist/components/bottom-sheet/bottom-sheet.styles.js +393 -0
  41. package/dist/components/bottom-sheet/bottom-sheet.styles.js.map +1 -0
  42. package/dist/components/breadcrumbs/breadcrumbs.d.ts +176 -0
  43. package/dist/components/breadcrumbs/breadcrumbs.js +638 -0
  44. package/dist/components/breadcrumbs/breadcrumbs.js.map +1 -0
  45. package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts +1 -0
  46. package/dist/components/breadcrumbs/breadcrumbs.styles.js +225 -0
  47. package/dist/components/breadcrumbs/breadcrumbs.styles.js.map +1 -0
  48. package/dist/components/button/button.d.ts +280 -0
  49. package/dist/components/button/button.js +530 -0
  50. package/dist/components/button/button.js.map +1 -0
  51. package/dist/components/button/button.styles.d.ts +20 -0
  52. package/dist/components/button/button.styles.js +328 -0
  53. package/dist/components/button/button.styles.js.map +1 -0
  54. package/dist/components/button-group/button-group.d.ts +124 -0
  55. package/dist/components/button-group/button-group.js +287 -0
  56. package/dist/components/button-group/button-group.js.map +1 -0
  57. package/dist/components/button-group/button-group.styles.d.ts +1 -0
  58. package/dist/components/button-group/button-group.styles.js +220 -0
  59. package/dist/components/button-group/button-group.styles.js.map +1 -0
  60. package/dist/components/button-with-menu/button-with-menu.d.ts +224 -0
  61. package/dist/components/button-with-menu/button-with-menu.js +635 -0
  62. package/dist/components/button-with-menu/button-with-menu.js.map +1 -0
  63. package/dist/components/button-with-menu/button-with-menu.styles.d.ts +15 -0
  64. package/dist/components/button-with-menu/button-with-menu.styles.js +418 -0
  65. package/dist/components/button-with-menu/button-with-menu.styles.js.map +1 -0
  66. package/dist/components/calendar/calendar.d.ts +380 -0
  67. package/dist/components/calendar/calendar.js +1619 -0
  68. package/dist/components/calendar/calendar.js.map +1 -0
  69. package/dist/components/calendar/calendar.styles.d.ts +11 -0
  70. package/dist/components/calendar/calendar.styles.js +412 -0
  71. package/dist/components/calendar/calendar.styles.js.map +1 -0
  72. package/dist/components/callout/callout.d.ts +157 -0
  73. package/dist/components/callout/callout.js +436 -0
  74. package/dist/components/callout/callout.js.map +1 -0
  75. package/dist/components/callout/callout.styles.d.ts +13 -0
  76. package/dist/components/callout/callout.styles.js +383 -0
  77. package/dist/components/callout/callout.styles.js.map +1 -0
  78. package/dist/components/card/card.d.ts +108 -0
  79. package/dist/components/card/card.js +235 -0
  80. package/dist/components/card/card.js.map +1 -0
  81. package/dist/components/card/card.styles.d.ts +9 -0
  82. package/dist/components/card/card.styles.js +170 -0
  83. package/dist/components/card/card.styles.js.map +1 -0
  84. package/dist/components/carousel/carousel-geometry.d.ts +178 -0
  85. package/dist/components/carousel/carousel-geometry.js +356 -0
  86. package/dist/components/carousel/carousel-geometry.js.map +1 -0
  87. package/dist/components/carousel/carousel.d.ts +401 -0
  88. package/dist/components/carousel/carousel.js +1352 -0
  89. package/dist/components/carousel/carousel.js.map +1 -0
  90. package/dist/components/carousel/carousel.styles.d.ts +4 -0
  91. package/dist/components/carousel/carousel.styles.js +475 -0
  92. package/dist/components/carousel/carousel.styles.js.map +1 -0
  93. package/dist/components/chat-composer/chat-composer.d.ts +482 -0
  94. package/dist/components/chat-composer/chat-composer.js +1374 -0
  95. package/dist/components/chat-composer/chat-composer.js.map +1 -0
  96. package/dist/components/chat-composer/chat-composer.styles.d.ts +9 -0
  97. package/dist/components/chat-composer/chat-composer.styles.js +308 -0
  98. package/dist/components/chat-composer/chat-composer.styles.js.map +1 -0
  99. package/dist/components/checkbox/checkbox.d.ts +135 -0
  100. package/dist/components/checkbox/checkbox.js +296 -0
  101. package/dist/components/checkbox/checkbox.js.map +1 -0
  102. package/dist/components/checkbox/checkbox.styles.d.ts +13 -0
  103. package/dist/components/checkbox/checkbox.styles.js +226 -0
  104. package/dist/components/checkbox/checkbox.styles.js.map +1 -0
  105. package/dist/components/checkbox-group/checkbox-group.d.ts +199 -0
  106. package/dist/components/checkbox-group/checkbox-group.js +500 -0
  107. package/dist/components/checkbox-group/checkbox-group.js.map +1 -0
  108. package/dist/components/chip/chip.d.ts +176 -0
  109. package/dist/components/chip/chip.js +376 -0
  110. package/dist/components/chip/chip.js.map +1 -0
  111. package/dist/components/chip/chip.styles.d.ts +10 -0
  112. package/dist/components/chip/chip.styles.js +465 -0
  113. package/dist/components/chip/chip.styles.js.map +1 -0
  114. package/dist/components/chip-field/chip-field.d.ts +315 -0
  115. package/dist/components/chip-field/chip-field.js +887 -0
  116. package/dist/components/chip-field/chip-field.js.map +1 -0
  117. package/dist/components/code-block/code-block.before.d.ts +2 -0
  118. package/dist/components/code-block/code-block.before.js +193 -0
  119. package/dist/components/code-block/code-block.before.js.map +1 -0
  120. package/dist/components/code-block/code-block.d.ts +268 -0
  121. package/dist/components/code-block/code-block.js +1009 -0
  122. package/dist/components/code-block/code-block.js.map +1 -0
  123. package/dist/components/code-block/code-block.light.d.ts +50 -0
  124. package/dist/components/code-block/code-block.light.js +287 -0
  125. package/dist/components/code-block/code-block.light.js.map +1 -0
  126. package/dist/components/code-block/code-block.lines.d.ts +49 -0
  127. package/dist/components/code-block/code-block.lines.js +75 -0
  128. package/dist/components/code-block/code-block.lines.js.map +1 -0
  129. package/dist/components/code-block/code-block.styles.d.ts +8 -0
  130. package/dist/components/code-block/code-block.styles.js +212 -0
  131. package/dist/components/code-block/code-block.styles.js.map +1 -0
  132. package/dist/components/color-field/color-field.d.ts +120 -0
  133. package/dist/components/color-field/color-field.js +182 -0
  134. package/dist/components/color-field/color-field.js.map +1 -0
  135. package/dist/components/color-input/color-input.d.ts +302 -0
  136. package/dist/components/color-input/color-input.js +748 -0
  137. package/dist/components/color-input/color-input.js.map +1 -0
  138. package/dist/components/color-input/color-input.styles.d.ts +22 -0
  139. package/dist/components/color-input/color-input.styles.js +373 -0
  140. package/dist/components/color-input/color-input.styles.js.map +1 -0
  141. package/dist/components/color-input/color-text.d.ts +48 -0
  142. package/dist/components/color-input/color-text.js +77 -0
  143. package/dist/components/color-input/color-text.js.map +1 -0
  144. package/dist/components/combobox/combobox.d.ts +387 -0
  145. package/dist/components/combobox/combobox.js +1108 -0
  146. package/dist/components/combobox/combobox.js.map +1 -0
  147. package/dist/components/combobox/combobox.styles.d.ts +26 -0
  148. package/dist/components/combobox/combobox.styles.js +497 -0
  149. package/dist/components/combobox/combobox.styles.js.map +1 -0
  150. package/dist/components/combobox-field/combobox-field.d.ts +159 -0
  151. package/dist/components/combobox-field/combobox-field.js +280 -0
  152. package/dist/components/combobox-field/combobox-field.js.map +1 -0
  153. package/dist/components/copy-button/copy-button.d.ts +112 -0
  154. package/dist/components/copy-button/copy-button.js +237 -0
  155. package/dist/components/copy-button/copy-button.js.map +1 -0
  156. package/dist/components/copy-button/copy-button.styles.d.ts +1 -0
  157. package/dist/components/copy-button/copy-button.styles.js +62 -0
  158. package/dist/components/copy-button/copy-button.styles.js.map +1 -0
  159. package/dist/components/date-time-picker/date-time-picker.d.ts +603 -0
  160. package/dist/components/date-time-picker/date-time-picker.js +2537 -0
  161. package/dist/components/date-time-picker/date-time-picker.js.map +1 -0
  162. package/dist/components/date-time-picker/date-time-picker.styles.d.ts +1 -0
  163. package/dist/components/date-time-picker/date-time-picker.styles.js +842 -0
  164. package/dist/components/date-time-picker/date-time-picker.styles.js.map +1 -0
  165. package/dist/components/description-list/description-list.d.ts +133 -0
  166. package/dist/components/description-list/description-list.js +395 -0
  167. package/dist/components/description-list/description-list.js.map +1 -0
  168. package/dist/components/dialog/dialog.d.ts +140 -0
  169. package/dist/components/dialog/dialog.js +440 -0
  170. package/dist/components/dialog/dialog.js.map +1 -0
  171. package/dist/components/dialog/dialog.styles.d.ts +1 -0
  172. package/dist/components/dialog/dialog.styles.js +306 -0
  173. package/dist/components/dialog/dialog.styles.js.map +1 -0
  174. package/dist/components/divider/divider.d.ts +112 -0
  175. package/dist/components/divider/divider.js +331 -0
  176. package/dist/components/divider/divider.js.map +1 -0
  177. package/dist/components/divider/divider.styles.d.ts +6 -0
  178. package/dist/components/divider/divider.styles.js +183 -0
  179. package/dist/components/divider/divider.styles.js.map +1 -0
  180. package/dist/components/embedded-text-input/embedded-text-input.d.ts +246 -0
  181. package/dist/components/embedded-text-input/embedded-text-input.js +673 -0
  182. package/dist/components/embedded-text-input/embedded-text-input.js.map +1 -0
  183. package/dist/components/embedded-text-input/embedded-text-input.styles.d.ts +1 -0
  184. package/dist/components/embedded-text-input/embedded-text-input.styles.js +204 -0
  185. package/dist/components/embedded-text-input/embedded-text-input.styles.js.map +1 -0
  186. package/dist/components/empty-state/empty-state.d.ts +132 -0
  187. package/dist/components/empty-state/empty-state.js +333 -0
  188. package/dist/components/empty-state/empty-state.js.map +1 -0
  189. package/dist/components/empty-state/empty-state.styles.d.ts +11 -0
  190. package/dist/components/empty-state/empty-state.styles.js +218 -0
  191. package/dist/components/empty-state/empty-state.styles.js.map +1 -0
  192. package/dist/components/fab-menu/fab-menu.d.ts +240 -0
  193. package/dist/components/fab-menu/fab-menu.js +605 -0
  194. package/dist/components/fab-menu/fab-menu.js.map +1 -0
  195. package/dist/components/fab-menu/fab-menu.styles.d.ts +21 -0
  196. package/dist/components/fab-menu/fab-menu.styles.js +427 -0
  197. package/dist/components/fab-menu/fab-menu.styles.js.map +1 -0
  198. package/dist/components/field/field.d.ts +165 -0
  199. package/dist/components/field/field.js +399 -0
  200. package/dist/components/field/field.js.map +1 -0
  201. package/dist/components/field/field.styles.d.ts +2 -0
  202. package/dist/components/field/field.styles.js +177 -0
  203. package/dist/components/field/field.styles.js.map +1 -0
  204. package/dist/components/field-group/field-group.d.ts +122 -0
  205. package/dist/components/field-group/field-group.js +246 -0
  206. package/dist/components/field-group/field-group.js.map +1 -0
  207. package/dist/components/field-group/field-group.styles.d.ts +7 -0
  208. package/dist/components/field-group/field-group.styles.js +28 -0
  209. package/dist/components/field-group/field-group.styles.js.map +1 -0
  210. package/dist/components/figure/figure.d.ts +152 -0
  211. package/dist/components/figure/figure.js +435 -0
  212. package/dist/components/figure/figure.js.map +1 -0
  213. package/dist/components/file-item/file-item.d.ts +232 -0
  214. package/dist/components/file-item/file-item.js +665 -0
  215. package/dist/components/file-item/file-item.js.map +1 -0
  216. package/dist/components/file-item/file-item.styles.d.ts +2 -0
  217. package/dist/components/file-item/file-item.styles.js +582 -0
  218. package/dist/components/file-item/file-item.styles.js.map +1 -0
  219. package/dist/components/file-picker/file-picker.d.ts +221 -0
  220. package/dist/components/file-picker/file-picker.js +588 -0
  221. package/dist/components/file-picker/file-picker.js.map +1 -0
  222. package/dist/components/file-picker/file-picker.styles.d.ts +2 -0
  223. package/dist/components/file-picker/file-picker.styles.js +303 -0
  224. package/dist/components/file-picker/file-picker.styles.js.map +1 -0
  225. package/dist/components/file-upload/file-upload.d.ts +353 -0
  226. package/dist/components/file-upload/file-upload.js +939 -0
  227. package/dist/components/file-upload/file-upload.js.map +1 -0
  228. package/dist/components/file-upload/file-upload.styles.d.ts +1 -0
  229. package/dist/components/file-upload/file-upload.styles.js +91 -0
  230. package/dist/components/file-upload/file-upload.styles.js.map +1 -0
  231. package/dist/components/image-preview/image-preview.d.ts +336 -0
  232. package/dist/components/image-preview/image-preview.js +1510 -0
  233. package/dist/components/image-preview/image-preview.js.map +1 -0
  234. package/dist/components/image-preview/image-preview.styles.d.ts +1 -0
  235. package/dist/components/image-preview/image-preview.styles.js +418 -0
  236. package/dist/components/image-preview/image-preview.styles.js.map +1 -0
  237. package/dist/components/keyboard-shortcut/keyboard-shortcut.d.ts +94 -0
  238. package/dist/components/keyboard-shortcut/keyboard-shortcut.js +285 -0
  239. package/dist/components/keyboard-shortcut/keyboard-shortcut.js.map +1 -0
  240. package/dist/components/keyboard-shortcut/keyboard-shortcut.styles.d.ts +11 -0
  241. package/dist/components/keyboard-shortcut/keyboard-shortcut.styles.js +155 -0
  242. package/dist/components/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -0
  243. package/dist/components/link-card/link-card.d.ts +156 -0
  244. package/dist/components/link-card/link-card.js +713 -0
  245. package/dist/components/link-card/link-card.js.map +1 -0
  246. package/dist/components/list/list.d.ts +430 -0
  247. package/dist/components/list/list.js +1230 -0
  248. package/dist/components/list/list.js.map +1 -0
  249. package/dist/components/list/list.styles.d.ts +3 -0
  250. package/dist/components/list/list.styles.js +334 -0
  251. package/dist/components/list/list.styles.js.map +1 -0
  252. package/dist/components/loading-indicator/loading-indicator.d.ts +83 -0
  253. package/dist/components/loading-indicator/loading-indicator.js +195 -0
  254. package/dist/components/loading-indicator/loading-indicator.js.map +1 -0
  255. package/dist/components/loading-indicator/loading-indicator.styles.d.ts +6 -0
  256. package/dist/components/loading-indicator/loading-indicator.styles.js +124 -0
  257. package/dist/components/loading-indicator/loading-indicator.styles.js.map +1 -0
  258. package/dist/components/main-action-button/main-action-button.d.ts +95 -0
  259. package/dist/components/main-action-button/main-action-button.js +202 -0
  260. package/dist/components/main-action-button/main-action-button.js.map +1 -0
  261. package/dist/components/main-action-button/main-action-button.styles.d.ts +10 -0
  262. package/dist/components/main-action-button/main-action-button.styles.js +285 -0
  263. package/dist/components/main-action-button/main-action-button.styles.js.map +1 -0
  264. package/dist/components/menu/menu.d.ts +813 -0
  265. package/dist/components/menu/menu.js +2061 -0
  266. package/dist/components/menu/menu.js.map +1 -0
  267. package/dist/components/menu/menu.styles.d.ts +18 -0
  268. package/dist/components/menu/menu.styles.js +587 -0
  269. package/dist/components/menu/menu.styles.js.map +1 -0
  270. package/dist/components/menubar/menubar.d.ts +477 -0
  271. package/dist/components/menubar/menubar.js +1677 -0
  272. package/dist/components/menubar/menubar.js.map +1 -0
  273. package/dist/components/menubar/menubar.styles.d.ts +43 -0
  274. package/dist/components/menubar/menubar.styles.js +379 -0
  275. package/dist/components/menubar/menubar.styles.js.map +1 -0
  276. package/dist/components/navigation-bar/navigation-bar.d.ts +239 -0
  277. package/dist/components/navigation-bar/navigation-bar.js +544 -0
  278. package/dist/components/navigation-bar/navigation-bar.js.map +1 -0
  279. package/dist/components/navigation-bar/navigation-bar.styles.d.ts +21 -0
  280. package/dist/components/navigation-bar/navigation-bar.styles.js +320 -0
  281. package/dist/components/navigation-bar/navigation-bar.styles.js.map +1 -0
  282. package/dist/components/navigation-drawer/navigation-drawer.d.ts +627 -0
  283. package/dist/components/navigation-drawer/navigation-drawer.js +1917 -0
  284. package/dist/components/navigation-drawer/navigation-drawer.js.map +1 -0
  285. package/dist/components/navigation-drawer/navigation-drawer.styles.d.ts +40 -0
  286. package/dist/components/navigation-drawer/navigation-drawer.styles.js +934 -0
  287. package/dist/components/navigation-drawer/navigation-drawer.styles.js.map +1 -0
  288. package/dist/components/number-field/number-field.d.ts +147 -0
  289. package/dist/components/number-field/number-field.js +252 -0
  290. package/dist/components/number-field/number-field.js.map +1 -0
  291. package/dist/components/number-input/number-input.d.ts +347 -0
  292. package/dist/components/number-input/number-input.js +929 -0
  293. package/dist/components/number-input/number-input.js.map +1 -0
  294. package/dist/components/number-input/number-input.styles.d.ts +22 -0
  295. package/dist/components/number-input/number-input.styles.js +395 -0
  296. package/dist/components/number-input/number-input.styles.js.map +1 -0
  297. package/dist/components/number-input/number-text.d.ts +74 -0
  298. package/dist/components/number-input/number-text.js +230 -0
  299. package/dist/components/number-input/number-text.js.map +1 -0
  300. package/dist/components/one-time-code-field/one-time-code-field.d.ts +94 -0
  301. package/dist/components/one-time-code-field/one-time-code-field.js +135 -0
  302. package/dist/components/one-time-code-field/one-time-code-field.js.map +1 -0
  303. package/dist/components/one-time-code-input/code-text.d.ts +51 -0
  304. package/dist/components/one-time-code-input/code-text.js +145 -0
  305. package/dist/components/one-time-code-input/code-text.js.map +1 -0
  306. package/dist/components/one-time-code-input/one-time-code-input.d.ts +219 -0
  307. package/dist/components/one-time-code-input/one-time-code-input.js +710 -0
  308. package/dist/components/one-time-code-input/one-time-code-input.js.map +1 -0
  309. package/dist/components/one-time-code-input/one-time-code-input.styles.d.ts +8 -0
  310. package/dist/components/one-time-code-input/one-time-code-input.styles.js +323 -0
  311. package/dist/components/one-time-code-input/one-time-code-input.styles.js.map +1 -0
  312. package/dist/components/option/option.d.ts +51 -0
  313. package/dist/components/option/option.js +75 -0
  314. package/dist/components/option/option.js.map +1 -0
  315. package/dist/components/page-header/page-header.d.ts +97 -0
  316. package/dist/components/page-header/page-header.js +258 -0
  317. package/dist/components/page-header/page-header.js.map +1 -0
  318. package/dist/components/popover/popover.d.ts +217 -0
  319. package/dist/components/popover/popover.js +616 -0
  320. package/dist/components/popover/popover.js.map +1 -0
  321. package/dist/components/popover/popover.styles.d.ts +8 -0
  322. package/dist/components/popover/popover.styles.js +299 -0
  323. package/dist/components/popover/popover.styles.js.map +1 -0
  324. package/dist/components/progress-indicator/progress-indicator.d.ts +76 -0
  325. package/dist/components/progress-indicator/progress-indicator.js +165 -0
  326. package/dist/components/progress-indicator/progress-indicator.js.map +1 -0
  327. package/dist/components/progress-indicator/progress-indicator.styles.d.ts +7 -0
  328. package/dist/components/progress-indicator/progress-indicator.styles.js +271 -0
  329. package/dist/components/progress-indicator/progress-indicator.styles.js.map +1 -0
  330. package/dist/components/radio-button/radio-button.d.ts +149 -0
  331. package/dist/components/radio-button/radio-button.js +370 -0
  332. package/dist/components/radio-button/radio-button.js.map +1 -0
  333. package/dist/components/radio-button/radio-button.styles.d.ts +8 -0
  334. package/dist/components/radio-button/radio-button.styles.js +190 -0
  335. package/dist/components/radio-button/radio-button.styles.js.map +1 -0
  336. package/dist/components/radio-group/radio-group.d.ts +188 -0
  337. package/dist/components/radio-group/radio-group.js +380 -0
  338. package/dist/components/radio-group/radio-group.js.map +1 -0
  339. package/dist/components/search/search.d.ts +569 -0
  340. package/dist/components/search/search.js +1801 -0
  341. package/dist/components/search/search.js.map +1 -0
  342. package/dist/components/search/search.styles.d.ts +15 -0
  343. package/dist/components/search/search.styles.js +967 -0
  344. package/dist/components/search/search.styles.js.map +1 -0
  345. package/dist/components/segmented-button/segmented-button.d.ts +183 -0
  346. package/dist/components/segmented-button/segmented-button.js +483 -0
  347. package/dist/components/segmented-button/segmented-button.js.map +1 -0
  348. package/dist/components/segmented-button/segmented-button.styles.d.ts +19 -0
  349. package/dist/components/segmented-button/segmented-button.styles.js +400 -0
  350. package/dist/components/segmented-button/segmented-button.styles.js.map +1 -0
  351. package/dist/components/select/select.d.ts +259 -0
  352. package/dist/components/select/select.js +702 -0
  353. package/dist/components/select/select.js.map +1 -0
  354. package/dist/components/select/select.styles.d.ts +27 -0
  355. package/dist/components/select/select.styles.js +359 -0
  356. package/dist/components/select/select.styles.js.map +1 -0
  357. package/dist/components/select-field/select-field.d.ts +141 -0
  358. package/dist/components/select-field/select-field.js +234 -0
  359. package/dist/components/select-field/select-field.js.map +1 -0
  360. package/dist/components/side-sheet/side-sheet.d.ts +190 -0
  361. package/dist/components/side-sheet/side-sheet.js +592 -0
  362. package/dist/components/side-sheet/side-sheet.js.map +1 -0
  363. package/dist/components/side-sheet/side-sheet.styles.d.ts +9 -0
  364. package/dist/components/side-sheet/side-sheet.styles.js +352 -0
  365. package/dist/components/side-sheet/side-sheet.styles.js.map +1 -0
  366. package/dist/components/skeleton/skeleton.d.ts +157 -0
  367. package/dist/components/skeleton/skeleton.js +550 -0
  368. package/dist/components/skeleton/skeleton.js.map +1 -0
  369. package/dist/components/slider/slider.d.ts +235 -0
  370. package/dist/components/slider/slider.js +792 -0
  371. package/dist/components/slider/slider.js.map +1 -0
  372. package/dist/components/slider/slider.styles.d.ts +6 -0
  373. package/dist/components/slider/slider.styles.js +492 -0
  374. package/dist/components/slider/slider.styles.js.map +1 -0
  375. package/dist/components/slider-field/slider-field.d.ts +150 -0
  376. package/dist/components/slider-field/slider-field.js +269 -0
  377. package/dist/components/slider-field/slider-field.js.map +1 -0
  378. package/dist/components/snackbar/snackbar.d.ts +237 -0
  379. package/dist/components/snackbar/snackbar.js +607 -0
  380. package/dist/components/snackbar/snackbar.js.map +1 -0
  381. package/dist/components/snackbar/snackbar.styles.d.ts +10 -0
  382. package/dist/components/snackbar/snackbar.styles.js +510 -0
  383. package/dist/components/snackbar/snackbar.styles.js.map +1 -0
  384. package/dist/components/switch/switch.d.ts +161 -0
  385. package/dist/components/switch/switch.js +470 -0
  386. package/dist/components/switch/switch.js.map +1 -0
  387. package/dist/components/switch/switch.styles.d.ts +3 -0
  388. package/dist/components/switch/switch.styles.js +440 -0
  389. package/dist/components/switch/switch.styles.js.map +1 -0
  390. package/dist/components/tab-view/tab-view.d.ts +303 -0
  391. package/dist/components/tab-view/tab-view.js +917 -0
  392. package/dist/components/tab-view/tab-view.js.map +1 -0
  393. package/dist/components/tab-view/tab-view.styles.d.ts +19 -0
  394. package/dist/components/tab-view/tab-view.styles.js +85 -0
  395. package/dist/components/tab-view/tab-view.styles.js.map +1 -0
  396. package/dist/components/table/table.d.ts +386 -0
  397. package/dist/components/table/table.js +1320 -0
  398. package/dist/components/table/table.js.map +1 -0
  399. package/dist/components/table-of-contents/table-of-contents.d.ts +227 -0
  400. package/dist/components/table-of-contents/table-of-contents.js +963 -0
  401. package/dist/components/table-of-contents/table-of-contents.js.map +1 -0
  402. package/dist/components/table-of-contents/table-of-contents.styles.d.ts +1 -0
  403. package/dist/components/table-of-contents/table-of-contents.styles.js +243 -0
  404. package/dist/components/table-of-contents/table-of-contents.styles.js.map +1 -0
  405. package/dist/components/tabs/tabs.d.ts +800 -0
  406. package/dist/components/tabs/tabs.js +2183 -0
  407. package/dist/components/tabs/tabs.js.map +1 -0
  408. package/dist/components/tabs/tabs.styles.d.ts +47 -0
  409. package/dist/components/tabs/tabs.styles.js +595 -0
  410. package/dist/components/tabs/tabs.styles.js.map +1 -0
  411. package/dist/components/tag/tag.d.ts +77 -0
  412. package/dist/components/tag/tag.js +143 -0
  413. package/dist/components/tag/tag.js.map +1 -0
  414. package/dist/components/tag/tag.styles.d.ts +13 -0
  415. package/dist/components/tag/tag.styles.js +215 -0
  416. package/dist/components/tag/tag.styles.js.map +1 -0
  417. package/dist/components/tag-group/tag-group.d.ts +110 -0
  418. package/dist/components/tag-group/tag-group.js +298 -0
  419. package/dist/components/tag-group/tag-group.js.map +1 -0
  420. package/dist/components/tag-group/tag-group.styles.d.ts +8 -0
  421. package/dist/components/tag-group/tag-group.styles.js +66 -0
  422. package/dist/components/tag-group/tag-group.styles.js.map +1 -0
  423. package/dist/components/text-field/text-field.d.ts +159 -0
  424. package/dist/components/text-field/text-field.js +272 -0
  425. package/dist/components/text-field/text-field.js.map +1 -0
  426. package/dist/components/text-input/text-input-segments.d.ts +93 -0
  427. package/dist/components/text-input/text-input-segments.js +233 -0
  428. package/dist/components/text-input/text-input-segments.js.map +1 -0
  429. package/dist/components/text-input/text-input.d.ts +683 -0
  430. package/dist/components/text-input/text-input.js +2120 -0
  431. package/dist/components/text-input/text-input.js.map +1 -0
  432. package/dist/components/text-input/text-input.styles.d.ts +27 -0
  433. package/dist/components/text-input/text-input.styles.js +1071 -0
  434. package/dist/components/text-input/text-input.styles.js.map +1 -0
  435. package/dist/components/toolbar/toolbar.d.ts +123 -0
  436. package/dist/components/toolbar/toolbar.js +336 -0
  437. package/dist/components/toolbar/toolbar.js.map +1 -0
  438. package/dist/components/toolbar/toolbar.styles.d.ts +10 -0
  439. package/dist/components/toolbar/toolbar.styles.js +156 -0
  440. package/dist/components/toolbar/toolbar.styles.js.map +1 -0
  441. package/dist/components/tooltip/tooltip-placement.d.ts +22 -0
  442. package/dist/components/tooltip/tooltip-placement.js +15 -0
  443. package/dist/components/tooltip/tooltip-placement.js.map +1 -0
  444. package/dist/components/tooltip/tooltip.d.ts +267 -0
  445. package/dist/components/tooltip/tooltip.js +902 -0
  446. package/dist/components/tooltip/tooltip.js.map +1 -0
  447. package/dist/components/tooltip/tooltip.styles.d.ts +7 -0
  448. package/dist/components/tooltip/tooltip.styles.js +240 -0
  449. package/dist/components/tooltip/tooltip.styles.js.map +1 -0
  450. package/dist/components/tree-view/tree-view.d.ts +264 -0
  451. package/dist/components/tree-view/tree-view.js +1228 -0
  452. package/dist/components/tree-view/tree-view.js.map +1 -0
  453. package/dist/description-list.css +337 -0
  454. package/dist/empty-state.css +70 -0
  455. package/dist/figure.css +381 -0
  456. package/dist/generated/icon-sets.d.ts +9 -0
  457. package/dist/generated/icon-sets.js +18 -0
  458. package/dist/generated/icon-sets.js.map +1 -0
  459. package/dist/generated/words.d.ts +161 -0
  460. package/dist/generated/words.js +91 -0
  461. package/dist/generated/words.js.map +1 -0
  462. package/dist/highlight/grammars/css.d.ts +3 -0
  463. package/dist/highlight/grammars/css.js +56 -0
  464. package/dist/highlight/grammars/css.js.map +1 -0
  465. package/dist/highlight/grammars/dart.d.ts +3 -0
  466. package/dist/highlight/grammars/dart.js +53 -0
  467. package/dist/highlight/grammars/dart.js.map +1 -0
  468. package/dist/highlight/grammars/javascript.d.ts +4 -0
  469. package/dist/highlight/grammars/javascript.js +119 -0
  470. package/dist/highlight/grammars/javascript.js.map +1 -0
  471. package/dist/highlight/grammars/json.d.ts +3 -0
  472. package/dist/highlight/grammars/json.js +19 -0
  473. package/dist/highlight/grammars/json.js.map +1 -0
  474. package/dist/highlight/grammars/kotlin.d.ts +3 -0
  475. package/dist/highlight/grammars/kotlin.js +46 -0
  476. package/dist/highlight/grammars/kotlin.js.map +1 -0
  477. package/dist/highlight/grammars/markup.d.ts +3 -0
  478. package/dist/highlight/grammars/markup.js +45 -0
  479. package/dist/highlight/grammars/markup.js.map +1 -0
  480. package/dist/highlight/grammars/shared.d.ts +25 -0
  481. package/dist/highlight/grammars/shared.js +37 -0
  482. package/dist/highlight/grammars/shared.js.map +1 -0
  483. package/dist/highlight/grammars/shell.d.ts +3 -0
  484. package/dist/highlight/grammars/shell.js +48 -0
  485. package/dist/highlight/grammars/shell.js.map +1 -0
  486. package/dist/highlight/grammars/swift.d.ts +3 -0
  487. package/dist/highlight/grammars/swift.js +46 -0
  488. package/dist/highlight/grammars/swift.js.map +1 -0
  489. package/dist/highlight/grammars/typescript.d.ts +2 -0
  490. package/dist/highlight/grammars/typescript.js +5 -0
  491. package/dist/highlight/grammars/typescript.js.map +1 -0
  492. package/dist/highlight/index.d.ts +104 -0
  493. package/dist/highlight/index.js +331 -0
  494. package/dist/highlight/index.js.map +1 -0
  495. package/dist/icons.css +107 -0
  496. package/dist/icons.d.ts +2 -0
  497. package/dist/icons.js +10 -0
  498. package/dist/icons.js.map +1 -0
  499. package/dist/index.d.ts +85 -0
  500. package/dist/index.js +100 -0
  501. package/dist/index.js.map +1 -0
  502. package/dist/link-card.css +678 -0
  503. package/dist/link.css +728 -0
  504. package/dist/link.d.ts +21 -0
  505. package/dist/link.js +594 -0
  506. package/dist/link.js.map +1 -0
  507. package/dist/links/index.d.ts +136 -0
  508. package/dist/links/index.js +404 -0
  509. package/dist/links/index.js.map +1 -0
  510. package/dist/links/node/address.js +154 -0
  511. package/dist/links/node/cli.js +102 -0
  512. package/dist/links/node/fetcher.js +267 -0
  513. package/dist/links/node/head.js +278 -0
  514. package/dist/links/node/index.d.ts +164 -0
  515. package/dist/links/node/index.js +26 -0
  516. package/dist/links/node/links.js +275 -0
  517. package/dist/links/node/lock.js +86 -0
  518. package/dist/links/node/mark.js +71 -0
  519. package/dist/links/node/options.js +120 -0
  520. package/dist/links/node/pictures.js +265 -0
  521. package/dist/links/node/refresh.js +28 -0
  522. package/dist/menu.css +97 -0
  523. package/dist/menubar.css +69 -0
  524. package/dist/page-header.css +324 -0
  525. package/dist/pagination.css +410 -0
  526. package/dist/pagination.d.ts +6 -0
  527. package/dist/pagination.js +256 -0
  528. package/dist/pagination.js.map +1 -0
  529. package/dist/primitives/actions.d.ts +75 -0
  530. package/dist/primitives/actions.js +142 -0
  531. package/dist/primitives/actions.js.map +1 -0
  532. package/dist/primitives/after-click.d.ts +8 -0
  533. package/dist/primitives/after-click.js +21 -0
  534. package/dist/primitives/after-click.js.map +1 -0
  535. package/dist/primitives/anchored.d.ts +134 -0
  536. package/dist/primitives/anchored.js +425 -0
  537. package/dist/primitives/anchored.js.map +1 -0
  538. package/dist/primitives/arc.d.ts +13 -0
  539. package/dist/primitives/arc.js +49 -0
  540. package/dist/primitives/arc.js.map +1 -0
  541. package/dist/primitives/arrow.d.ts +47 -0
  542. package/dist/primitives/arrow.js +159 -0
  543. package/dist/primitives/arrow.js.map +1 -0
  544. package/dist/primitives/auto-height.d.ts +56 -0
  545. package/dist/primitives/auto-height.js +150 -0
  546. package/dist/primitives/auto-height.js.map +1 -0
  547. package/dist/primitives/autofocus.d.ts +11 -0
  548. package/dist/primitives/autofocus.js +26 -0
  549. package/dist/primitives/autofocus.js.map +1 -0
  550. package/dist/primitives/availability.d.ts +32 -0
  551. package/dist/primitives/availability.js +122 -0
  552. package/dist/primitives/availability.js.map +1 -0
  553. package/dist/primitives/axes.d.ts +45 -0
  554. package/dist/primitives/axes.js +72 -0
  555. package/dist/primitives/axes.js.map +1 -0
  556. package/dist/primitives/behavior.d.ts +14 -0
  557. package/dist/primitives/behavior.js +19 -0
  558. package/dist/primitives/behavior.js.map +1 -0
  559. package/dist/primitives/calendar-date.d.ts +79 -0
  560. package/dist/primitives/calendar-date.js +135 -0
  561. package/dist/primitives/calendar-date.js.map +1 -0
  562. package/dist/primitives/composed.d.ts +144 -0
  563. package/dist/primitives/composed.js +303 -0
  564. package/dist/primitives/composed.js.map +1 -0
  565. package/dist/primitives/default-button.d.ts +49 -0
  566. package/dist/primitives/default-button.js +270 -0
  567. package/dist/primitives/default-button.js.map +1 -0
  568. package/dist/primitives/description.d.ts +18 -0
  569. package/dist/primitives/description.js +18 -0
  570. package/dist/primitives/description.js.map +1 -0
  571. package/dist/primitives/destination.d.ts +259 -0
  572. package/dist/primitives/destination.js +651 -0
  573. package/dist/primitives/destination.js.map +1 -0
  574. package/dist/primitives/direction.d.ts +23 -0
  575. package/dist/primitives/direction.js +90 -0
  576. package/dist/primitives/direction.js.map +1 -0
  577. package/dist/primitives/disabled-while-focused.d.ts +46 -0
  578. package/dist/primitives/disabled-while-focused.js +126 -0
  579. package/dist/primitives/disabled-while-focused.js.map +1 -0
  580. package/dist/primitives/disclosure.d.ts +9 -0
  581. package/dist/primitives/disclosure.js +15 -0
  582. package/dist/primitives/disclosure.js.map +1 -0
  583. package/dist/primitives/dismiss.d.ts +88 -0
  584. package/dist/primitives/dismiss.js +232 -0
  585. package/dist/primitives/dismiss.js.map +1 -0
  586. package/dist/primitives/field-frame.d.ts +166 -0
  587. package/dist/primitives/field-frame.js +358 -0
  588. package/dist/primitives/field-frame.js.map +1 -0
  589. package/dist/primitives/field-group-frame.d.ts +59 -0
  590. package/dist/primitives/field-group-frame.js +174 -0
  591. package/dist/primitives/field-group-frame.js.map +1 -0
  592. package/dist/primitives/field-trigger.d.ts +117 -0
  593. package/dist/primitives/field-trigger.js +387 -0
  594. package/dist/primitives/field-trigger.js.map +1 -0
  595. package/dist/primitives/field.d.ts +186 -0
  596. package/dist/primitives/field.js +349 -0
  597. package/dist/primitives/field.js.map +1 -0
  598. package/dist/primitives/file-format.d.ts +23 -0
  599. package/dist/primitives/file-format.js +185 -0
  600. package/dist/primitives/file-format.js.map +1 -0
  601. package/dist/primitives/file-item-holder.d.ts +45 -0
  602. package/dist/primitives/file-item-holder.js +39 -0
  603. package/dist/primitives/file-item-holder.js.map +1 -0
  604. package/dist/primitives/focus-order.d.ts +11 -0
  605. package/dist/primitives/focus-order.js +11 -0
  606. package/dist/primitives/focus-order.js.map +1 -0
  607. package/dist/primitives/focus-ring.d.ts +76 -0
  608. package/dist/primitives/focus-ring.js +230 -0
  609. package/dist/primitives/focus-ring.js.map +1 -0
  610. package/dist/primitives/follow.d.ts +65 -0
  611. package/dist/primitives/follow.js +283 -0
  612. package/dist/primitives/follow.js.map +1 -0
  613. package/dist/primitives/form-disabled.d.ts +20 -0
  614. package/dist/primitives/form-disabled.js +46 -0
  615. package/dist/primitives/form-disabled.js.map +1 -0
  616. package/dist/primitives/form-says.d.ts +33 -0
  617. package/dist/primitives/form-says.js +45 -0
  618. package/dist/primitives/form-says.js.map +1 -0
  619. package/dist/primitives/forward.d.ts +13 -0
  620. package/dist/primitives/forward.js +28 -0
  621. package/dist/primitives/forward.js.map +1 -0
  622. package/dist/primitives/glyph-mirror.d.ts +77 -0
  623. package/dist/primitives/glyph-mirror.js +211 -0
  624. package/dist/primitives/glyph-mirror.js.map +1 -0
  625. package/dist/primitives/glyph-pending.d.ts +17 -0
  626. package/dist/primitives/glyph-pending.js +91 -0
  627. package/dist/primitives/glyph-pending.js.map +1 -0
  628. package/dist/primitives/glyph.d.ts +53 -0
  629. package/dist/primitives/glyph.js +161 -0
  630. package/dist/primitives/glyph.js.map +1 -0
  631. package/dist/primitives/group-item.d.ts +128 -0
  632. package/dist/primitives/group-item.js +334 -0
  633. package/dist/primitives/group-item.js.map +1 -0
  634. package/dist/primitives/hidden.d.ts +2 -0
  635. package/dist/primitives/hidden.js +23 -0
  636. package/dist/primitives/hidden.js.map +1 -0
  637. package/dist/primitives/host-aria.d.ts +8 -0
  638. package/dist/primitives/host-aria.js +18 -0
  639. package/dist/primitives/host-aria.js.map +1 -0
  640. package/dist/primitives/index.d.ts +59 -0
  641. package/dist/primitives/index.js +189 -0
  642. package/dist/primitives/index.js.map +1 -0
  643. package/dist/primitives/indicator-drag.d.ts +90 -0
  644. package/dist/primitives/indicator-drag.js +207 -0
  645. package/dist/primitives/indicator-drag.js.map +1 -0
  646. package/dist/primitives/interactive.d.ts +13 -0
  647. package/dist/primitives/interactive.js +67 -0
  648. package/dist/primitives/interactive.js.map +1 -0
  649. package/dist/primitives/item-row.d.ts +34 -0
  650. package/dist/primitives/item-row.js +76 -0
  651. package/dist/primitives/item-row.js.map +1 -0
  652. package/dist/primitives/item-update.d.ts +2 -0
  653. package/dist/primitives/item-update.js +12 -0
  654. package/dist/primitives/item-update.js.map +1 -0
  655. package/dist/primitives/kept-length.d.ts +34 -0
  656. package/dist/primitives/kept-length.js +154 -0
  657. package/dist/primitives/kept-length.js.map +1 -0
  658. package/dist/primitives/keyboard-convention.d.ts +30 -0
  659. package/dist/primitives/keyboard-convention.js +88 -0
  660. package/dist/primitives/keyboard-convention.js.map +1 -0
  661. package/dist/primitives/label-lines.d.ts +12 -0
  662. package/dist/primitives/label-lines.js +34 -0
  663. package/dist/primitives/label-lines.js.map +1 -0
  664. package/dist/primitives/layout-scale.d.ts +18 -0
  665. package/dist/primitives/layout-scale.js +35 -0
  666. package/dist/primitives/layout-scale.js.map +1 -0
  667. package/dist/primitives/link.d.ts +147 -0
  668. package/dist/primitives/link.js +204 -0
  669. package/dist/primitives/link.js.map +1 -0
  670. package/dist/primitives/locale-date.d.ts +132 -0
  671. package/dist/primitives/locale-date.js +508 -0
  672. package/dist/primitives/locale-date.js.map +1 -0
  673. package/dist/primitives/missing-value.d.ts +16 -0
  674. package/dist/primitives/missing-value.js +31 -0
  675. package/dist/primitives/missing-value.js.map +1 -0
  676. package/dist/primitives/modal.d.ts +38 -0
  677. package/dist/primitives/modal.js +175 -0
  678. package/dist/primitives/modal.js.map +1 -0
  679. package/dist/primitives/native-text.d.ts +51 -0
  680. package/dist/primitives/native-text.js +77 -0
  681. package/dist/primitives/native-text.js.map +1 -0
  682. package/dist/primitives/natural-height.d.ts +21 -0
  683. package/dist/primitives/natural-height.js +36 -0
  684. package/dist/primitives/natural-height.js.map +1 -0
  685. package/dist/primitives/option-list.d.ts +314 -0
  686. package/dist/primitives/option-list.js +1098 -0
  687. package/dist/primitives/option-list.js.map +1 -0
  688. package/dist/primitives/overlay-focus.d.ts +48 -0
  689. package/dist/primitives/overlay-focus.js +152 -0
  690. package/dist/primitives/overlay-focus.js.map +1 -0
  691. package/dist/primitives/placement.d.ts +131 -0
  692. package/dist/primitives/placement.js +144 -0
  693. package/dist/primitives/placement.js.map +1 -0
  694. package/dist/primitives/places.d.ts +44 -0
  695. package/dist/primitives/places.js +98 -0
  696. package/dist/primitives/places.js.map +1 -0
  697. package/dist/primitives/press.d.ts +90 -0
  698. package/dist/primitives/press.js +153 -0
  699. package/dist/primitives/press.js.map +1 -0
  700. package/dist/primitives/report.d.ts +17 -0
  701. package/dist/primitives/report.js +34 -0
  702. package/dist/primitives/report.js.map +1 -0
  703. package/dist/primitives/ripple.d.ts +40 -0
  704. package/dist/primitives/ripple.js +70 -0
  705. package/dist/primitives/ripple.js.map +1 -0
  706. package/dist/primitives/roving.d.ts +41 -0
  707. package/dist/primitives/roving.js +71 -0
  708. package/dist/primitives/roving.js.map +1 -0
  709. package/dist/primitives/selection.d.ts +134 -0
  710. package/dist/primitives/selection.js +287 -0
  711. package/dist/primitives/selection.js.map +1 -0
  712. package/dist/primitives/separation.d.ts +28 -0
  713. package/dist/primitives/separation.js +96 -0
  714. package/dist/primitives/separation.js.map +1 -0
  715. package/dist/primitives/shared-choice.d.ts +33 -0
  716. package/dist/primitives/shared-choice.js +110 -0
  717. package/dist/primitives/shared-choice.js.map +1 -0
  718. package/dist/primitives/sheet.d.ts +63 -0
  719. package/dist/primitives/sheet.js +139 -0
  720. package/dist/primitives/sheet.js.map +1 -0
  721. package/dist/primitives/sheets.d.ts +8 -0
  722. package/dist/primitives/sheets.js +96 -0
  723. package/dist/primitives/sheets.js.map +1 -0
  724. package/dist/primitives/states.d.ts +33 -0
  725. package/dist/primitives/states.js +30 -0
  726. package/dist/primitives/states.js.map +1 -0
  727. package/dist/primitives/system-watch.d.ts +9 -0
  728. package/dist/primitives/system-watch.js +29 -0
  729. package/dist/primitives/system-watch.js.map +1 -0
  730. package/dist/primitives/target.d.ts +21 -0
  731. package/dist/primitives/target.js +79 -0
  732. package/dist/primitives/target.js.map +1 -0
  733. package/dist/primitives/values.d.ts +6 -0
  734. package/dist/primitives/values.js +22 -0
  735. package/dist/primitives/values.js.map +1 -0
  736. package/dist/primitives/visibility.d.ts +12 -0
  737. package/dist/primitives/visibility.js +50 -0
  738. package/dist/primitives/visibility.js.map +1 -0
  739. package/dist/primitives/words.d.ts +81 -0
  740. package/dist/primitives/words.js +236 -0
  741. package/dist/primitives/words.js.map +1 -0
  742. package/dist/prose.css +1917 -0
  743. package/dist/registry.d.ts +182 -0
  744. package/dist/registry.js +2 -0
  745. package/dist/registry.js.map +1 -0
  746. package/dist/shape.css +21 -0
  747. package/dist/skeleton.css +428 -0
  748. package/dist/steps.css +231 -0
  749. package/dist/steps.d.ts +6 -0
  750. package/dist/steps.js +156 -0
  751. package/dist/steps.js.map +1 -0
  752. package/dist/styles/icons.d.ts +62 -0
  753. package/dist/styles/icons.js +237 -0
  754. package/dist/styles/icons.js.map +1 -0
  755. package/dist/styles/product-text.d.ts +66 -0
  756. package/dist/styles/product-text.js +114 -0
  757. package/dist/styles/product-text.js.map +1 -0
  758. package/dist/styles/registered-properties.d.ts +6 -0
  759. package/dist/styles/registered-properties.js +68 -0
  760. package/dist/styles/registered-properties.js.map +1 -0
  761. package/dist/styles/shape.d.ts +59 -0
  762. package/dist/styles/shape.js +95 -0
  763. package/dist/styles/shape.js.map +1 -0
  764. package/dist/systems/cupertino.css +8793 -0
  765. package/dist/systems/m3-expressive-like.css +8786 -0
  766. package/dist/systems/m3-like.css +8748 -0
  767. package/dist/table-of-contents.css +482 -0
  768. package/dist/table.css +902 -0
  769. package/dist/tanrei.bundle.js +26644 -0
  770. package/dist/tanrei.bundle.js.map +7 -0
  771. package/dist/text.css +104 -0
  772. package/dist/timeline.css +410 -0
  773. package/dist/timeline.d.ts +6 -0
  774. package/dist/timeline.js +176 -0
  775. package/dist/timeline.js.map +1 -0
  776. package/dist/tokens.css +8801 -0
  777. package/dist/tree-view.css +797 -0
  778. package/dist/words.d.ts +2 -0
  779. package/dist/words.js +6 -0
  780. package/dist/words.js.map +1 -0
  781. package/package.json +132 -3
@@ -0,0 +1,550 @@
1
+ import { ReactiveElement } from 'lit';
2
+ import { AvailabilityController, SystemWatchController, VisibilityController, WordsController, report, styleQueries } from '../../primitives/index.js';
3
+ import { debugBuild } from '../../primitives/report.js';
4
+ import { adopt, adoptUnlessDrawn } from '../../primitives/sheets.js';
5
+ const SKELETON_CSS = (() => {
6
+ try {
7
+ return "@layer tanrei.components {\n:where(tanrei-skeleton) {\n--_skl-gap: var(--tanrei-comp-skeleton-container-gap);\n--_skl-delay: var(--tanrei-comp-skeleton-motion-show-delay);\n--_skl-pulse-delay: var(--_skl-delay);\ndisplay: block;\npointer-events: none;\nanimation: tanrei-skeleton-wait var(--_skl-delay) step-end;\ntransition: none 0s linear var(--tanrei-comp-skeleton-motion-show-delay);\n}\n:where(tanrei-skeleton[hidden]) {\ndisplay: none;\n}\n:where(tanrei-skeleton[show-delay='0']) {\n--_skl-delay: 0s;\n}\n:where(tanrei-skeleton[data-clocked]) {\n--_skl-pulse-delay: 0s;\nanimation: none;\n}\n:where(tanrei-skeleton[data-waiting]) {\nvisibility: hidden;\n}\n:where(tanrei-skeleton:not(:has(.tanrei-skeleton-placeholder))) {\ndisplay: none;\n}\n:where(tanrei-skeleton) > :where(.tanrei-skeleton-placeholder) + :where(.tanrei-skeleton-placeholder) {\nmargin-block-start: var(--_skl-gap);\n}\n:where(.tanrei-skeleton-placeholder) {\n--tanrei-corner-pill: 0;\n}\n:where(.tanrei-skeleton-placeholder) {\n--_corner-scale: 1;\nborder-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale));\n}\n@supports (corner-shape: superellipse(log(2, 2))) {\n:where(.tanrei-skeleton-placeholder) {\n--_corner-smoothing: calc(var(--tanrei-sys-shape-corner-smoothing, 0) * (1 - var(--tanrei-corner-pill, 0)));\n--_corner-scale: calc(1 + 0.4 * var(--_corner-smoothing));\ncorner-shape: superellipse(log(calc(2 + var(--_corner-smoothing)), 2));\n}\n}\n:where(.tanrei-skeleton-placeholder)::before {\n--tanrei-corner-pill: 0;\n}\n:where(.tanrei-skeleton-placeholder)::before {\n--_corner-scale: 1;\nborder-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale));\n}\n@supports (corner-shape: superellipse(log(2, 2))) {\n:where(.tanrei-skeleton-placeholder)::before {\n--_corner-smoothing: calc(var(--tanrei-sys-shape-corner-smoothing, 0) * (1 - var(--tanrei-corner-pill, 0)));\n--_corner-scale: calc(1 + 0.4 * var(--_corner-smoothing));\ncorner-shape: superellipse(log(calc(2 + var(--_corner-smoothing)), 2));\n}\n}\n:where(.tanrei-skeleton-placeholder)::after {\n--tanrei-corner-pill: 0;\n}\n:where(.tanrei-skeleton-placeholder)::after {\n--_corner-scale: 1;\nborder-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale));\n}\n@supports (corner-shape: superellipse(log(2, 2))) {\n:where(.tanrei-skeleton-placeholder)::after {\n--_corner-smoothing: calc(var(--tanrei-sys-shape-corner-smoothing, 0) * (1 - var(--tanrei-corner-pill, 0)));\n--_corner-scale: calc(1 + 0.4 * var(--_corner-smoothing));\ncorner-shape: superellipse(log(calc(2 + var(--_corner-smoothing)), 2));\n}\n}\n:where(.tanrei-skeleton-placeholder) {\n--_skl-fill: var(--tanrei-comp-skeleton-placeholder-color);\n--_skl-lines: 1;\n--_skl-more: min(1, var(--_skl-lines) - 1);\n--_skl-line: var(--tanrei-sys-border-hairline);\ndisplay: flow-root;\nbox-sizing: border-box;\nmax-inline-size: 100%;\nmin-inline-size: 0;\nmin-block-size: 0;\nanimation: tanrei-skeleton-pulse var(--tanrei-comp-skeleton-motion-dim-duration) var(--tanrei-comp-skeleton-motion-dim-easing) var(--_skl-pulse-delay, 0s) infinite alternate;\n}\n:where(.tanrei-skeleton-placeholder[hidden]) {\ndisplay: none;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='2']) {\n--_skl-lines: 2;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='3']) {\n--_skl-lines: 3;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='4']) {\n--_skl-lines: 4;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='5']) {\n--_skl-lines: 5;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='6']) {\n--_skl-lines: 6;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='7']) {\n--_skl-lines: 7;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='8']) {\n--_skl-lines: 8;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='9']) {\n--_skl-lines: 9;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='10']) {\n--_skl-lines: 10;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='11']) {\n--_skl-lines: 11;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='12']) {\n--_skl-lines: 12;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='13']) {\n--_skl-lines: 13;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='14']) {\n--_skl-lines: 14;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='15']) {\n--_skl-lines: 15;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='16']) {\n--_skl-lines: 16;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='17']) {\n--_skl-lines: 17;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='18']) {\n--_skl-lines: 18;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='19']) {\n--_skl-lines: 19;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='20']) {\n--_skl-lines: 20;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='21']) {\n--_skl-lines: 21;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='22']) {\n--_skl-lines: 22;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='23']) {\n--_skl-lines: 23;\n}\n:where(.tanrei-skeleton-placeholder[data-lines='24']) {\n--_skl-lines: 24;\n}\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle'])) {\nblock-size: calc(var(--_skl-lines) * 1lh) !important;\n}\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::before,\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::after {\n--tanrei-corner-radius: var(--tanrei-comp-skeleton-placeholder-shape-text);\n--tanrei-corner-pill: var(--tanrei-comp-skeleton-placeholder-shape-text-pill, 0);\ncontent: '';\ndisplay: block;\nbox-sizing: border-box;\nbackground-color: var(--_skl-fill);\n}\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::before {\nblock-size: 1em;\nmargin-block-start: calc((1lh - 1em) / 2);\nbox-shadow:\n0 calc(1lh * clamp(0, var(--_skl-lines) - 2, 1)) 0 0 var(--_skl-fill),\n0 calc(2lh * clamp(0, var(--_skl-lines) - 3, 1)) 0 0 var(--_skl-fill),\n0 calc(3lh * clamp(0, var(--_skl-lines) - 4, 1)) 0 0 var(--_skl-fill),\n0 calc(4lh * clamp(0, var(--_skl-lines) - 5, 1)) 0 0 var(--_skl-fill),\n0 calc(5lh * clamp(0, var(--_skl-lines) - 6, 1)) 0 0 var(--_skl-fill),\n0 calc(6lh * clamp(0, var(--_skl-lines) - 7, 1)) 0 0 var(--_skl-fill),\n0 calc(7lh * clamp(0, var(--_skl-lines) - 8, 1)) 0 0 var(--_skl-fill),\n0 calc(8lh * clamp(0, var(--_skl-lines) - 9, 1)) 0 0 var(--_skl-fill),\n0 calc(9lh * clamp(0, var(--_skl-lines) - 10, 1)) 0 0 var(--_skl-fill),\n0 calc(10lh * clamp(0, var(--_skl-lines) - 11, 1)) 0 0 var(--_skl-fill),\n0 calc(11lh * clamp(0, var(--_skl-lines) - 12, 1)) 0 0 var(--_skl-fill),\n0 calc(12lh * clamp(0, var(--_skl-lines) - 13, 1)) 0 0 var(--_skl-fill),\n0 calc(13lh * clamp(0, var(--_skl-lines) - 14, 1)) 0 0 var(--_skl-fill),\n0 calc(14lh * clamp(0, var(--_skl-lines) - 15, 1)) 0 0 var(--_skl-fill),\n0 calc(15lh * clamp(0, var(--_skl-lines) - 16, 1)) 0 0 var(--_skl-fill),\n0 calc(16lh * clamp(0, var(--_skl-lines) - 17, 1)) 0 0 var(--_skl-fill),\n0 calc(17lh * clamp(0, var(--_skl-lines) - 18, 1)) 0 0 var(--_skl-fill),\n0 calc(18lh * clamp(0, var(--_skl-lines) - 19, 1)) 0 0 var(--_skl-fill),\n0 calc(19lh * clamp(0, var(--_skl-lines) - 20, 1)) 0 0 var(--_skl-fill),\n0 calc(20lh * clamp(0, var(--_skl-lines) - 21, 1)) 0 0 var(--_skl-fill),\n0 calc(21lh * clamp(0, var(--_skl-lines) - 22, 1)) 0 0 var(--_skl-fill),\n0 calc(22lh * clamp(0, var(--_skl-lines) - 23, 1)) 0 0 var(--_skl-fill);\n}\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::after {\ninline-size: calc(100% * var(--tanrei-comp-skeleton-placeholder-last-line-inline-size));\nblock-size: calc(1em * var(--_skl-more));\nmargin-block-start: calc((var(--_skl-lines) - 1) * 1lh - 1em * var(--_skl-more));\n}\n:where(.tanrei-skeleton-placeholder[data-shape='block']) {\n--tanrei-corner-radius: var(--tanrei-comp-skeleton-placeholder-shape-block);\n--tanrei-corner-pill: var(--tanrei-comp-skeleton-placeholder-shape-block-pill, 0);\nbackground-color: var(--_skl-fill);\n}\n:where(.tanrei-skeleton-placeholder[data-shape='block'])::before {\ncontent: '';\ndisplay: block;\nblock-size: 1lh;\nmax-block-size: 100%;\n}\n:where(.tanrei-skeleton-placeholder[data-shape='circle']) {\n--tanrei-corner-radius: var(--tanrei-comp-skeleton-placeholder-shape-circle);\n--tanrei-corner-pill: var(--tanrei-comp-skeleton-placeholder-shape-circle-pill, 0);\ninline-size: fit-content;\naspect-ratio: 1;\nbackground-color: var(--_skl-fill);\nclip-path: circle(closest-side);\n}\n:where(.tanrei-skeleton-placeholder[data-shape='circle'])::before {\ncontent: '';\ndisplay: block;\ninline-size: 1lh;\nmax-inline-size: 100%;\n}\n:where(tanrei-skeleton[data-waiting]) :where(.tanrei-skeleton-placeholder) {\nanimation-name: none;\n}\n@container style(--tanrei-comp-skeleton-motion-animation: none) {\n:where(.tanrei-skeleton-placeholder) {\nanimation-name: none;\n}\n}\n:where(tanrei-skeleton[data-animation='none']) :where(.tanrei-skeleton-placeholder) {\nanimation-name: none;\n}\n:where(tanrei-skeleton[data-wave]) :where(.tanrei-skeleton-placeholder) {\nmask-image: linear-gradient(to right, rgb(0 0 0 / 1), rgb(0 0 0 / var(--tanrei-comp-skeleton-placeholder-dim-opacity)), rgb(0 0 0 / 1));\nmask-size: var(--_skl-wave-size, 100%) 100%;\nmask-repeat: repeat;\nmask-position: calc(0px - var(--_skl-wave-offset, 0px)) 0;\nanimation-name: tanrei-skeleton-wave;\nanimation-duration: calc(2 * var(--tanrei-comp-skeleton-motion-dim-duration));\nanimation-timing-function: linear;\nanimation-direction: normal;\n}\n:where(tanrei-skeleton[data-wave]):dir(rtl) :where(.tanrei-skeleton-placeholder) {\nanimation-direction: reverse;\n}\n:where(tanrei-skeleton[data-paused]) :where(.tanrei-skeleton-placeholder) {\nanimation-play-state: paused;\n}\n@media (prefers-reduced-motion: reduce) {\n:where(.tanrei-skeleton-placeholder),\n:where(tanrei-skeleton[data-wave]) :where(.tanrei-skeleton-placeholder) {\nmask-image: none;\nanimation-name: none;\n}\n}\n@media (forced-colors: active) {\n:where(.tanrei-skeleton-placeholder),\n:where(tanrei-skeleton[data-wave]) :where(.tanrei-skeleton-placeholder) {\nmask-image: none;\nanimation-name: none;\n}\n:where(.tanrei-skeleton-placeholder[data-shape='block']),\n:where(.tanrei-skeleton-placeholder[data-shape='circle']) {\nbackground-color: transparent;\noutline: var(--_skl-line) solid CanvasText;\noutline-offset: calc(0px - var(--_skl-line));\n}\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::before,\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::after {\nborder: var(--_skl-line) solid CanvasText;\nbackground-color: transparent;\nbox-shadow: none;\n}\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::before {\n--_skl-full: max(1, var(--_skl-lines) - 1);\n--_skl-step: 1lh;\nfilter: drop-shadow(0 calc(var(--_skl-step) * (min(2, var(--_skl-full)) - 1)) 0 CanvasText) drop-shadow(0 calc(var(--_skl-step) * (min(4, var(--_skl-full)) - min(2, var(--_skl-full)))) 0 CanvasText)\ndrop-shadow(0 calc(var(--_skl-step) * (min(8, var(--_skl-full)) - min(4, var(--_skl-full)))) 0 CanvasText) drop-shadow(0 calc(var(--_skl-step) * (min(16, var(--_skl-full)) - min(8, var(--_skl-full)))) 0 CanvasText)\ndrop-shadow(0 calc(var(--_skl-step) * (min(32, var(--_skl-full)) - min(16, var(--_skl-full)))) 0 CanvasText);\n}\n@supports (inline-size: round(1lh, 1px)) {\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::before {\n--_skl-step: round(1lh, 1px);\n}\n}\n:where(.tanrei-skeleton-placeholder:not([data-shape='block'], [data-shape='circle']))::after {\nborder-width: calc(var(--_skl-line) * var(--_skl-more));\n}\n}\n@keyframes tanrei-skeleton-wait {\nfrom,\nto {\nvisibility: hidden;\n}\n}\n@keyframes tanrei-skeleton-pulse {\nto {\nopacity: var(--tanrei-comp-skeleton-placeholder-dim-opacity);\n}\n}\n@keyframes tanrei-skeleton-wave {\nfrom {\nmask-position: calc(0px - var(--_skl-wave-offset, 0px)) 0;\n}\nto {\nmask-position: calc(var(--_skl-wave-size, 100%) - var(--_skl-wave-offset, 0px)) 0;\n}\n}\n}";
8
+ }
9
+ catch {
10
+ return '';
11
+ }
12
+ })();
13
+ const TAG = 'tanrei-skeleton';
14
+ const PLACEHOLDER = 'tanrei-skeleton-placeholder';
15
+ const PREFIX = '--tanrei-comp-skeleton';
16
+ /** The three shapes (SKL-25: any other is drawn as text). */
17
+ const SHAPES = ['text', 'block', 'circle'];
18
+ /** The manners of `comp.skeleton.motion.animation`. The first is the default, and what an unknown name falls back to. */
19
+ const MANNERS = ['pulse', 'wave', 'none'];
20
+ /** The names of skeleton.css's animations: the wait that is the show delay, and the two that stir. */
21
+ const WAIT = 'tanrei-skeleton-wait';
22
+ const STIRS = ['tanrei-skeleton-pulse', 'tanrei-skeleton-wave'];
23
+ /** The most lines skeleton.css reads from `data-lines` itself, and the shadows it holds for them. */
24
+ const LINES_IN_SHEET = 24;
25
+ /** A text placeholder, as skeleton.css reaches it. */
26
+ const TEXT = `.${PLACEHOLDER}:not([data-shape='block'], [data-shape='circle'])`;
27
+ /** What the element exposes itself with (SKL-15), and leaves alone where the page wrote it. */
28
+ const EXPOSURE = ['role', 'aria-busy', 'aria-label', 'aria-hidden'];
29
+ /** SKL-9: an attribute that is empty or does not parse as a finite number is not a number (and is reported). */
30
+ const milliseconds = {
31
+ fromAttribute: (value) => (value === null ? null : value.trim() === '' ? Number.NaN : Number(value)),
32
+ };
33
+ const usable = (value) => typeof value === 'number' && Number.isFinite(value) && value >= 0;
34
+ const sheets = new Map();
35
+ /** A stylesheet of the page, made once and shared by every root that needs it. */
36
+ function sheet(id, text) {
37
+ if (typeof CSSStyleSheet === 'undefined')
38
+ return null;
39
+ let made = sheets.get(id);
40
+ if (!made) {
41
+ made = new CSSStyleSheet();
42
+ try {
43
+ made.replaceSync(text());
44
+ }
45
+ catch {
46
+ // A browser that cannot construct it: the page's own copy of skeleton.css draws the skeleton.
47
+ }
48
+ sheets.set(id, made);
49
+ }
50
+ return made;
51
+ }
52
+ /**
53
+ * The sheet of the rules the element writes: one per page, grown as placeholders need a rule it does not have yet. Its
54
+ * rules are in no cascade layer, so they also win over a copy of skeleton.css that a page loads into a layer of its own.
55
+ */
56
+ const written = new Set();
57
+ function writtenSheet(id, rules) {
58
+ const made = sheet('written', () => '');
59
+ if (!made || written.has(id))
60
+ return made;
61
+ try {
62
+ for (const rule of rules())
63
+ made.insertRule(rule, made.cssRules.length);
64
+ written.add(id);
65
+ }
66
+ catch {
67
+ // A browser that cannot read the rule draws the placeholder as a page without the script does.
68
+ }
69
+ return made;
70
+ }
71
+ /** An attribute's value inside a double-quoted string of a selector. */
72
+ const quoted = (value) => value.replace(/["\\\n\r\f]/g, (char) => `\\${char.codePointAt(0).toString(16)} `);
73
+ /**
74
+ * SKL-3, SKL-25: the rules of a `data-lines` that skeleton.css does not read — more lines than it holds, or a value
75
+ * that is not a whole number of at least 1, which is drawn as the whole number below it, and as 1 where there is none.
76
+ */
77
+ function linesRules(value, lines) {
78
+ const at = `[data-lines="${quoted(value)}"]`;
79
+ const rules = [`:where(.${PLACEHOLDER}${at}) { --_skl-lines: ${lines}; }`];
80
+ if (lines > LINES_IN_SHEET) {
81
+ const shadows = Array.from({ length: lines - 2 }, (_, k) => `0 calc(${k + 1}lh * clamp(0, var(--_skl-lines) - ${k + 2}, 1)) 0 0 var(--_skl-fill)`);
82
+ // Not in forced colors, where a shadow is not drawn and skeleton.css copies the outline instead.
83
+ rules.push(`@media not (forced-colors: active) { :where(${TEXT}${at})::before { box-shadow: ${shadows.join(', ')}; } }`);
84
+ }
85
+ return rules;
86
+ }
87
+ /** The lines a `data-lines` is drawn as (SKL-25): the whole number below it, and 1 where it is less than 1 or no number. */
88
+ const linesOf = (value) => {
89
+ const lines = value.trim() === '' ? Number.NaN : Number(value);
90
+ return Number.isFinite(lines) && lines >= 1 ? Math.floor(lines) : 1;
91
+ };
92
+ /** Writes an attribute only when it differs: what is written here is observed, and must settle. */
93
+ function mark(element, name, value) {
94
+ if (value === null) {
95
+ if (element.hasAttribute(name))
96
+ element.removeAttribute(name);
97
+ }
98
+ else if (element.getAttribute(name) !== value)
99
+ element.setAttribute(name, value);
100
+ }
101
+ /** Writes a custom property of an element's own style only when it differs. */
102
+ function write(element, name, value) {
103
+ if (value === null) {
104
+ if (element.style.getPropertyValue(name) !== '')
105
+ element.style.removeProperty(name);
106
+ }
107
+ else if (element.style.getPropertyValue(name) !== value)
108
+ element.style.setProperty(name, value);
109
+ }
110
+ /** A hundredth of a pixel is as fine as a layout is. */
111
+ const px = (value) => `${Math.round(value * 100) / 100}px`;
112
+ const cssAnimations = (element, names) => typeof element.getAnimations === 'function' ? element.getAnimations().filter((animation) => 'animationName' in animation && names.includes(animation.animationName)) : [];
113
+ /** True while the element is being defined: the skeletons connected then were in the page before the script. */
114
+ let defining = false;
115
+ /**
116
+ * Stands where content will be while it loads: quiet placeholders in the shape of what is coming — lines of text, a
117
+ * block, a circle — that keep the box the content will take, in a region that says once that it is busy.
118
+ *
119
+ * Contract: specs/skeleton.spec.json. The element has **no shadow root**: it is the box around the product's own
120
+ * layout, and a placeholder is the product's own empty element with the class `tanrei-skeleton-placeholder`.
121
+ *
122
+ * ```html
123
+ * <tanrei-skeleton label="Loading the author">
124
+ * <div class="byline">
125
+ * <span class="tanrei-skeleton-placeholder" data-shape="circle" style="block-size: 40px"></span>
126
+ * <div>
127
+ * <p><span class="tanrei-skeleton-placeholder" style="inline-size: 10rem"></span></p>
128
+ * <p><span class="tanrei-skeleton-placeholder" data-lines="2"></span></p>
129
+ * </div>
130
+ * </div>
131
+ * </tanrei-skeleton>
132
+ * ```
133
+ *
134
+ * A placeholder: `data-shape` (`text`, the default and what an unknown value draws; `block`; `circle`), `data-lines`
135
+ * (text: how many lines) and the CSS properties `inline-size` and `block-size` for its sizes. A text placeholder takes
136
+ * the text style of where it stands — the inherited `font` — so it goes where the text will be, and is exactly its
137
+ * lines high. Placeholders that are the skeleton's own children are stacked, `container.gap` apart; anything else is
138
+ * the product's own layout inside the skeleton.
139
+ *
140
+ * Everything drawn is `@tanrei/web/skeleton.css` — every value a `--tanrei-comp-skeleton-*` token — which draws the
141
+ * skeleton before and without this script: the shapes, the show delay (the skeleton is hidden for its length, with its
142
+ * box kept), the pulse, stillness under reduced motion, outlines in forced colors. The element adds the same sheet to
143
+ * the root it is connected to, and what a stylesheet cannot say: once the delay has passed it is a progressbar with no
144
+ * value (`role="progressbar"`, `aria-busy="true"`, `aria-label` from `label`, else from the product's words,
145
+ * `loadingLabel`) — unless `decorative`, or inside another skeleton, when it is kept from assistive technology
146
+ * (`aria-hidden="true"`); what it holds is `inert`; its animation is held while it cannot be seen; a wave, which has to
147
+ * be measured, is drawn (before the element is defined a wave is a pulse); and a debug build reports what it ignored.
148
+ * A page that must be right before its script runs writes `role`, `aria-busy` and `aria-label` itself, and the element
149
+ * leaves what it finds.
150
+ *
151
+ * Insert it when the wait starts and remove it when the wait ends. It takes no input and emits no event.
152
+ *
153
+ * @tag tanrei-skeleton
154
+ * @slot - The placeholders — empty elements with `class="tanrei-skeleton-placeholder"` — alone or inside a layout of the product's own. They are children in the document, not slotted nodes: the element has no shadow root.
155
+ */
156
+ export class TanreiSkeleton extends ReactiveElement {
157
+ constructor() {
158
+ super(...arguments);
159
+ this.availability = new AvailabilityController(this, 'skeleton');
160
+ /**
161
+ * What is loading, in the product's language ("Loading projects"): the name assistive technology is given for the
162
+ * whole skeleton, once. Never drawn. Left empty, it reads the product's words (`loadingLabel`). Not read while
163
+ * `decorative` is true.
164
+ */
165
+ this.label = '';
166
+ /**
167
+ * Whether something else already says this wait: a loading indicator beside it, a status text, a region the product
168
+ * itself exposes as busy and names. True keeps the whole skeleton from assistive technology; it changes nothing that
169
+ * is drawn.
170
+ */
171
+ this.decorative = false;
172
+ /**
173
+ * How long, in milliseconds, it waits from its insertion before it is drawn and exposed; 0 shows it as it is
174
+ * inserted. Null takes `motion.show-delay`, as does a negative or non-finite value (reported). A page that is drawn
175
+ * before its script runs writes `show-delay="0"`, which the stylesheet reads; any other number is the element's.
176
+ */
177
+ this.showDelay = null;
178
+ this.words = new WordsController(this);
179
+ /** SKL-14: the placeholders stir only while the skeleton can be seen. */
180
+ this.visibility = new VisibilityController(this);
181
+ /** SKL-12: the manner is read again when the document's root switches the design system. */
182
+ this.system = new SystemWatchController(this);
183
+ /** SKL-7, SKL-8: false during the show delay. */
184
+ this.shown = false;
185
+ /** The attributes of `EXPOSURE` the page wrote itself: found at the first insertion, and never touched. */
186
+ this.authored = null;
187
+ /** The attributes of `EXPOSURE` the element wrote. */
188
+ this.exposed = new Set();
189
+ /** The children the element made inert (SKL-19). */
190
+ this.inerted = new WeakSet();
191
+ this.mutations = typeof MutationObserver === 'undefined' ? null : new MutationObserver((records) => this.changed(records));
192
+ /** A wave is measured again when the skeleton or a placeholder changes size. */
193
+ this.sizes = typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(() => this.measure());
194
+ this.waving = false;
195
+ /**
196
+ * The skeleton's inline size, and each placeholder's distance from the skeleton's left edge: where the one mask of
197
+ * the wave stands in each of them. Written only where it differs, so it settles; nothing is asked for at rest.
198
+ */
199
+ this.measure = () => {
200
+ if (!this.waving || !this.isConnected)
201
+ return;
202
+ const box = this.getBoundingClientRect();
203
+ if (box.width === 0)
204
+ return;
205
+ const placeholders = this.placeholders();
206
+ const offsets = placeholders.map((placeholder) => placeholder.getBoundingClientRect().left - box.left);
207
+ write(this, '--_skl-wave-size', px(box.width));
208
+ placeholders.forEach((placeholder, i) => write(placeholder, '--_skl-wave-offset', px(offsets[i])));
209
+ };
210
+ }
211
+ static { this.properties = {
212
+ label: { type: String },
213
+ decorative: { type: Boolean, reflect: true },
214
+ showDelay: { attribute: 'show-delay', converter: milliseconds },
215
+ }; }
216
+ /** No shadow root: what the skeleton holds is the document's. */
217
+ createRenderRoot() {
218
+ return this;
219
+ }
220
+ /** The skeletons inserted in this turn (`beginTogether`), and those whose manner is read after their update (`stirTogether`). */
221
+ static { this.beginning = new Set(); }
222
+ static { this.stirring = new Set(); }
223
+ /**
224
+ * Every skeleton of one turn in ONE microtask after it: what each asks of the cascade is read for them all, and only
225
+ * then does each write what follows. A skeleton that read in its own insertion and in its own update — its delay,
226
+ * the stylesheet's wait, the manner — after the attributes the one before it had just written had the page styled
227
+ * for itself, twice (fifty inserted at once: about a hundred style passes).
228
+ */
229
+ static together(due, each, run) {
230
+ if (!due.size) {
231
+ queueMicrotask(() => {
232
+ const all = [...due].filter((skeleton) => skeleton.isConnected);
233
+ due.clear();
234
+ run(all);
235
+ });
236
+ }
237
+ due.add(each);
238
+ }
239
+ connectedCallback() {
240
+ clearTimeout(this.timer);
241
+ this.timer = undefined;
242
+ const atOnce = usable(this.showDelay) && this.showDelay <= 0;
243
+ if (atOnce) {
244
+ // SKL-8: no delay — shown at once, and nothing is asked of the cascade for it.
245
+ TanreiSkeleton.beginning.delete(this);
246
+ this.setAttribute('data-clocked', '');
247
+ }
248
+ else {
249
+ // SKL-7: it waits from this moment — nothing is drawn — and how long is read with every other skeleton inserted
250
+ // in this turn, before the element's own first update (which `super` asks for) and before any frame.
251
+ // Not a skeleton that was in the page before the element was defined: the stylesheet has been counting its
252
+ // wait and may have shown it, and nothing it draws may change (SKL-6) — it is only read.
253
+ this.shown = false;
254
+ if (!defining)
255
+ this.setAttribute('data-waiting', '');
256
+ TanreiSkeleton.together(TanreiSkeleton.beginning, this, (all) => {
257
+ const read = all.map((skeleton) => skeleton.beginning());
258
+ all.forEach((skeleton, index) => skeleton.begin(read[index]));
259
+ });
260
+ }
261
+ super.connectedCallback();
262
+ adoptUnlessDrawn(this, sheet('skeleton', () => SKELETON_CSS), '--_skl-gap');
263
+ this.authored ??= new Set(EXPOSURE.filter((name) => this.hasAttribute(name)));
264
+ if (atOnce)
265
+ this.show();
266
+ else if (!defining)
267
+ this.expose();
268
+ this.mutations?.observe(this, { childList: true, subtree: true, attributes: true, attributeFilter: ['class', 'data-shape', 'data-lines', 'style'] });
269
+ this.read();
270
+ }
271
+ disconnectedCallback() {
272
+ super.disconnectedCallback();
273
+ // SKL-11: removed during the delay, it has shown nothing; removed while shown, it is gone at once.
274
+ clearTimeout(this.timer);
275
+ this.timer = undefined;
276
+ this.shown = false;
277
+ TanreiSkeleton.beginning.delete(this);
278
+ TanreiSkeleton.stirring.delete(this);
279
+ this.mutations?.disconnect();
280
+ this.wave(false);
281
+ this.expose();
282
+ }
283
+ /**
284
+ * SKL-7, SKL-9, SKL-11: every insertion waits its whole delay, with the value of that moment. The element counts it
285
+ * (`data-clocked`), so that it is also counted where the skeleton is not rendered (SKL-10) and ends at the same
286
+ * moment for what is drawn and for what is exposed. A skeleton that was in the page before the element was defined
287
+ * has been waiting by the stylesheet's animation: what is left of that wait is counted on, and a skeleton the
288
+ * stylesheet has already shown stays as it is — nothing it draws changes when the element is defined.
289
+ */
290
+ begin({ token, elapsed, drawn, manner }) {
291
+ clearTimeout(this.timer);
292
+ this.timer = undefined;
293
+ const delay = usable(this.showDelay) ? this.showDelay : token;
294
+ if (elapsed === null && delay > 0 && drawn) {
295
+ // The stylesheet's wait has run out: the skeleton is drawn, and its placeholders are stirring.
296
+ this.shown = true;
297
+ this.removeAttribute('data-waiting');
298
+ this.expose();
299
+ this.step();
300
+ return;
301
+ }
302
+ this.setAttribute('data-clocked', '');
303
+ if (delay - (elapsed ?? 0) <= 0) {
304
+ this.show(manner);
305
+ return;
306
+ }
307
+ this.shown = false;
308
+ this.setAttribute('data-waiting', '');
309
+ this.expose();
310
+ // SKL-10: a wait, not motion — kept under reduced motion, and counted while the skeleton cannot be seen.
311
+ this.timer = setTimeout(() => this.show(), delay - (elapsed ?? 0));
312
+ }
313
+ /**
314
+ * The reading half of `begin()`: the delay the tokens name, how long the stylesheet's wait has run (null: there is
315
+ * none, or the element counts already), whether a skeleton that has no wait is drawn, and the manner. It writes nothing.
316
+ */
317
+ beginning() {
318
+ const style = getComputedStyle(this);
319
+ const token = (Number.parseFloat(style.transitionDelay) || 0) * 1000;
320
+ const [wait] = this.hasAttribute('data-clocked') ? [] : cssAnimations(this, [WAIT]);
321
+ const elapsed = wait ? Number(wait.currentTime) || 0 : null;
322
+ // Asked only of a skeleton that waits and has no wait of the stylesheet's: it needs a layout.
323
+ const delay = usable(this.showDelay) ? this.showDelay : token;
324
+ const drawn = !wait && !this.hasAttribute('data-clocked') && delay > 0 && this.getClientRects().length > 0;
325
+ return { token, elapsed, drawn, manner: this.manner(style) };
326
+ }
327
+ /** SKL-8: shown — drawn at once, exposed, and stirring from the beginning of a pulse. */
328
+ show(manner) {
329
+ this.timer = undefined;
330
+ this.shown = true;
331
+ this.removeAttribute('data-waiting');
332
+ this.expose();
333
+ // The manner: as it was read with the delay, or read with every other skeleton shown or updated in this turn.
334
+ if (manner)
335
+ this.stir(manner);
336
+ else
337
+ this.stirTogether();
338
+ }
339
+ stirTogether() {
340
+ TanreiSkeleton.together(TanreiSkeleton.stirring, this, (all) => {
341
+ const manners = all.map((skeleton) => skeleton.manner());
342
+ all.forEach((skeleton, index) => skeleton.stir(manners[index]));
343
+ });
344
+ }
345
+ /** Whether this skeleton stands inside another (SKL-17), through shadow roots. */
346
+ nested() {
347
+ for (let at = this.parentNode; at; at = at instanceof ShadowRoot ? at.host : at.parentNode) {
348
+ if (at instanceof Element && at.localName === TAG)
349
+ return true;
350
+ }
351
+ return false;
352
+ }
353
+ /**
354
+ * SKL-15, SKL-17, SKL-18: once shown, one busy progressbar with no value, named by `label` or by the product's
355
+ * words; kept from assistive technology while decorative or nested; and nothing while it waits, when it is hidden,
356
+ * or while it holds no placeholder (SKL-26).
357
+ * An attribute the page wrote itself is left as it was found.
358
+ */
359
+ expose() {
360
+ const silent = this.decorative || this.nested();
361
+ // SKL-26: a skeleton that holds no placeholder exposes nothing (the stylesheet draws nothing of it).
362
+ const said = this.shown && !silent && this.querySelector(`.${PLACEHOLDER}`) !== null;
363
+ const name = said ? this.words.get('loadingLabel', this.label) : '';
364
+ this.give('role', said ? 'progressbar' : null);
365
+ this.give('aria-busy', said ? 'true' : null);
366
+ this.give('aria-label', name || null);
367
+ this.give('aria-hidden', this.shown && silent ? 'true' : null);
368
+ // SKL-18: still drawn and still exposed, without a name. (A page that named it itself has named it.)
369
+ if (said && !name && !this.authored?.has('aria-label') && this.isConnected) {
370
+ this.words.missing('loadingLabel', { prop: 'label', id: 'SKL-18', effect: 'the skeleton is exposed as a progressbar without a name' });
371
+ }
372
+ }
373
+ give(name, value) {
374
+ if (this.authored?.has(name))
375
+ return;
376
+ if (value === null) {
377
+ if (this.exposed.delete(name))
378
+ this.removeAttribute(name);
379
+ }
380
+ else {
381
+ this.exposed.add(name);
382
+ if (this.getAttribute(name) !== value)
383
+ this.setAttribute(name, value);
384
+ }
385
+ }
386
+ willUpdate(changed) {
387
+ // SKL-9: a value it cannot use takes the token, and is reported.
388
+ const value = this.showDelay;
389
+ if (changed.has('showDelay') && value !== null && value !== undefined && !usable(value)) {
390
+ const attribute = this.getAttribute('show-delay');
391
+ const given = Number.isNaN(value) && attribute !== null ? `"${attribute}"` : String(value);
392
+ report(this, 'SKL-9', `showDelay ${given} is not a finite, non-negative number of milliseconds; it takes comp.skeleton.motion.show-delay`);
393
+ }
394
+ }
395
+ updated() {
396
+ // SKL-24: a new label or `decorative` is exposed at once; neither the delay nor the animation starts again.
397
+ if (this.isConnected)
398
+ this.expose();
399
+ mark(this, 'data-paused', this.visibility.visible ? null : '');
400
+ // The manner is read for every skeleton updated in this turn, after their updates, and then written.
401
+ this.stirTogether();
402
+ }
403
+ /** SKL-12, SKL-25: the manner the tokens name now, read from the cascade; a name the skeleton does not know is a pulse. */
404
+ manner(style = getComputedStyle(this)) {
405
+ const named = style.getPropertyValue(`${PREFIX}-motion-animation`).trim();
406
+ if (MANNERS.includes(named))
407
+ return named;
408
+ if (named !== '')
409
+ report(this, 'SKL-25', `comp.skeleton.motion.animation "${named}" is not pulse, wave or none; the skeleton pulses`);
410
+ return MANNERS[0];
411
+ }
412
+ /** What the stylesheet cannot read or measure of the manner: its name where there are no style queries, and the wave. */
413
+ stir(manner = this.manner()) {
414
+ if (!this.isConnected)
415
+ return;
416
+ // Where the browser answers style queries the stylesheet reads `none` itself, and nothing is written.
417
+ mark(this, 'data-animation', styleQueries() || manner === 'pulse' ? null : manner);
418
+ this.wave(manner === 'wave' && this.shown);
419
+ }
420
+ /** SKL-12, wave: the placeholders are measured against the skeleton, and measured again when a size changes. */
421
+ wave(on) {
422
+ if (on === this.waving) {
423
+ if (on)
424
+ this.measure();
425
+ return;
426
+ }
427
+ this.waving = on;
428
+ this.sizes?.disconnect();
429
+ if (on) {
430
+ this.sizes?.observe(this);
431
+ for (const placeholder of this.placeholders())
432
+ this.sizes?.observe(placeholder);
433
+ this.measure();
434
+ this.setAttribute('data-wave', '');
435
+ this.step();
436
+ }
437
+ else {
438
+ this.removeAttribute('data-wave');
439
+ write(this, '--_skl-wave-size', null);
440
+ for (const placeholder of this.placeholders())
441
+ write(placeholder, '--_skl-wave-offset', null);
442
+ }
443
+ }
444
+ /** The placeholders this skeleton draws: every one in it, those of a skeleton inside it too (it is silent, SKL-17). */
445
+ placeholders() {
446
+ return [...this.querySelectorAll(`.${PLACEHOLDER}`)];
447
+ }
448
+ /**
449
+ * SKL-12, SKL-24: every placeholder in step. Placeholders that were there when the skeleton was shown began together;
450
+ * one that was added since, or parsed in a later piece of the page, began when it arrived, and is given the others'
451
+ * beginning. Nothing is restarted.
452
+ */
453
+ step() {
454
+ if (!this.shown)
455
+ return;
456
+ const stirring = this.placeholders().flatMap((placeholder) => cssAnimations(placeholder, STIRS));
457
+ if (stirring.length < 2)
458
+ return;
459
+ void Promise.all(stirring.map((animation) => animation.ready.catch(() => undefined))).then(() => {
460
+ const starts = stirring.map((animation) => animation.startTime).filter((start) => typeof start === 'number');
461
+ if (starts.length < 2)
462
+ return;
463
+ const first = Math.min(...starts);
464
+ for (const animation of stirring)
465
+ if (typeof animation.startTime === 'number' && animation.startTime !== first)
466
+ animation.startTime = first;
467
+ });
468
+ }
469
+ changed(records) {
470
+ const added = records.some((record) => record.type === 'childList' && record.addedNodes.length > 0);
471
+ this.read();
472
+ // SKL-24, SKL-26: the first placeholder, or the last one gone, is exposed at once.
473
+ if (records.some((record) => record.type === 'childList'))
474
+ this.expose();
475
+ if (this.waving) {
476
+ for (const placeholder of this.placeholders())
477
+ this.sizes?.observe(placeholder);
478
+ this.measure();
479
+ }
480
+ if (added)
481
+ this.step();
482
+ }
483
+ /**
484
+ * Reads what the skeleton holds and writes what follows from it: `inert` on each of its children (SKL-19), the rule
485
+ * of a `data-lines` the stylesheet does not read (SKL-3), and in a debug build what it ignored (SKL-25, SKL-26).
486
+ * Called when it is inserted and when what it holds changes; it writes only what differs, so it settles.
487
+ */
488
+ read() {
489
+ if (!this.isConnected)
490
+ return;
491
+ // SKL-19: nothing the skeleton holds takes focus or input, or is read. On the children, not on the skeleton: an
492
+ // inert element is itself kept from assistive technology, and the skeleton is what is exposed.
493
+ for (const child of this.children) {
494
+ if (child.hasAttribute('inert'))
495
+ continue;
496
+ child.setAttribute('inert', '');
497
+ this.inerted.add(child);
498
+ }
499
+ const placeholders = this.placeholders();
500
+ for (const placeholder of placeholders) {
501
+ const lines = placeholder.getAttribute('data-lines');
502
+ if (lines === null)
503
+ continue;
504
+ const drawn = linesOf(lines);
505
+ const inSheet = String(drawn) === lines && drawn <= LINES_IN_SHEET;
506
+ if (!inSheet)
507
+ adopt(this.getRootNode(), writtenSheet(`lines:${lines}`, () => linesRules(lines, drawn)));
508
+ }
509
+ if (!debugBuild())
510
+ return;
511
+ // A skeleton that is still being parsed is read again when it is whole.
512
+ if (document.readyState === 'loading')
513
+ document.addEventListener('DOMContentLoaded', () => this.read(), { once: true });
514
+ else
515
+ this.check(placeholders);
516
+ }
517
+ /** What a debug build says about a skeleton it still draws (SKL-25, SKL-26). */
518
+ check(placeholders) {
519
+ if (placeholders.length === 0) {
520
+ report(this, 'SKL-26', `the skeleton holds no placeholder (an element with class="${PLACEHOLDER}"), so it draws nothing and exposes nothing; a wait whose shape is not known is a loading indicator's`);
521
+ return;
522
+ }
523
+ for (const placeholder of placeholders) {
524
+ const shape = placeholder.getAttribute('data-shape');
525
+ if (shape !== null && !SHAPES.includes(shape))
526
+ report(this, 'SKL-25', `data-shape "${shape}" is not text, block or circle; the placeholder is drawn as text`);
527
+ const lines = placeholder.getAttribute('data-lines');
528
+ if (lines !== null && String(linesOf(lines)) !== lines.trim())
529
+ report(this, 'SKL-25', `data-lines "${lines}" is not a whole number of at least 1; the placeholder is drawn with ${linesOf(lines)}`);
530
+ // A size the browser does not take (a negative length, a word that is no size) is left out by its parser: the
531
+ // placeholder is drawn as if none was given.
532
+ const style = placeholder.getAttribute('style') ?? '';
533
+ for (const [, property, given] of style.matchAll(/(?:^|;)\s*(inline-size|block-size)\s*:\s*([^;]+)/g)) {
534
+ if (!CSS.supports(property, given.replace(/!\s*important\s*$/, '').trim()))
535
+ report(this, 'SKL-25', `${property} "${given.trim()}" is not a size; the placeholder is drawn as if none was given`);
536
+ }
537
+ }
538
+ }
539
+ }
540
+ if (!customElements.get('tanrei-skeleton')) {
541
+ // The skeletons that are in the page already are upgraded inside this call (`connectedCallback` reads `defining`).
542
+ defining = true;
543
+ try {
544
+ customElements.define('tanrei-skeleton', TanreiSkeleton);
545
+ }
546
+ finally {
547
+ defining = false;
548
+ }
549
+ }
550
+ //# sourceMappingURL=skeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton.js","sourceRoot":"","sources":["../../../src/components/skeleton/skeleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkD,eAAe,EAAE,MAAM,KAAK,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACvJ,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAMrE,MAAM,YAAY,GAAW,CAAC,GAAG,EAAE;IACjC,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC,CAAC,EAAE,CAAC;AAEL,MAAM,GAAG,GAAG,iBAAiB,CAAC;AAC9B,MAAM,WAAW,GAAG,6BAA6B,CAAC;AAClD,MAAM,MAAM,GAAG,wBAAwB,CAAC;AACxC,6DAA6D;AAC7D,MAAM,MAAM,GAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC9D,yHAAyH;AACzH,MAAM,OAAO,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAU,CAAC;AAEnD,sGAAsG;AACtG,MAAM,IAAI,GAAG,sBAAsB,CAAC;AACpC,MAAM,KAAK,GAAsB,CAAC,uBAAuB,EAAE,sBAAsB,CAAC,CAAC;AACnF,qGAAqG;AACrG,MAAM,cAA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