@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,482 @@
1
+ import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
2
+ import { GROUP_PLACE, type GroupPlace, type PlacingGroup } from '../../primitives/index.js';
3
+ import { ComposedElement } from '../../primitives/composed.js';
4
+ import { type TanreiFileItemDetail, type TanreiFileItemForm, type TanreiFileItemStatus } from '../file-item/file-item.js';
5
+ import { type TanreiFilePickerRefused, type TanreiFilePickerRejectReason } from '../file-picker/file-picker.js';
6
+ export type { TanreiFileItemDetail, TanreiFileItemForm, TanreiFileItemStatus };
7
+ /** Where the actions stand in the capsule (CCM-2, CCM-3). */
8
+ export type TanreiChatComposerLayout = 'inline' | 'stacked';
9
+ /** What Enter does on a hardware keyboard (CCM-12). */
10
+ export type TanreiChatComposerSendKey = 'enter' | 'modifier';
11
+ /** Whether files can be attached, and who holds them (CCM-21, CCM-22). */
12
+ export type TanreiChatComposerAttachments = 'none' | 'own' | 'given';
13
+ /** The form of the File items the chat composer draws itself (CCM-44). */
14
+ export type TanreiChatComposerAttachmentForm = 'auto' | 'tile' | 'row';
15
+ /** Why what the chat composer holds cannot be sent — names for the product's code, never words (CCM-9). */
16
+ export type TanreiChatComposerReason = 'disabled' | 'sending' | 'blocked' | 'empty' | 'length' | 'uploading' | 'failed';
17
+ /** Why a file was refused — a name for the product's code, never words: its kind, its size, or how many there were. */
18
+ export type TanreiChatComposerRejectReason = TanreiFilePickerRejectReason;
19
+ /** A file that was refused, with the reason: what `reject` carries and `addFiles()` answers with. */
20
+ export type TanreiChatComposerRefused = TanreiFilePickerRefused;
21
+ /** `send`: the text exactly as written, and the attachments in the order of the strip — the kept `File`s while `attachments` is `own`, the values of the File items that have not failed while it is `given`. */
22
+ export interface TanreiChatComposerSendDetail {
23
+ value: string;
24
+ attachments: File[] | string[];
25
+ }
26
+ /** `sendablechange`, `sendblocked`: whether it can be sent, and each reason it cannot. */
27
+ export interface TanreiChatComposerSendableDetail {
28
+ sendable: boolean;
29
+ reasons: TanreiChatComposerReason[];
30
+ }
31
+ /** `select`: the files of one arrival that passed, in the order they came. */
32
+ export interface TanreiChatComposerSelectDetail {
33
+ files: File[];
34
+ }
35
+ /** `reject`: the files of one arrival that were refused, each with its reason. */
36
+ export interface TanreiChatComposerRejectDetail {
37
+ files: TanreiChatComposerRefused[];
38
+ }
39
+ /** `attachmentschange`: the files the chat composer now keeps, in order. */
40
+ export interface TanreiChatComposerAttachmentsChangeDetail {
41
+ files: File[];
42
+ }
43
+ /**
44
+ * Lets a person write a message and send it, in one capsule that holds everything. Built from an Embedded text input
45
+ * (`<tanrei-embedded-text-input>`) — the typing, which grows with what is written — a File picker
46
+ * (`<tanrei-file-picker>`) and File items (`<tanrei-file-item>`) — the attachments, as a strip at the top of the
47
+ * capsule — and Buttons (`<tanrei-button>`): the send button, the stop button in its place, the attach button, and the
48
+ * product's own in its slots. It adds what ties them: the capsule, which is its own part and shows the typing area's
49
+ * focus on its edge; whether what it holds can be sent, and why not; the files it keeps; the counter; one live
50
+ * region; and the form's value. **It never sends**: `send` hands the text and the attachments to the product.
51
+ *
52
+ * Contract: specs/chat-composer.spec.json.
53
+ *
54
+ * ```html
55
+ * <tanrei-chat-composer label="Message" placeholder="Write a message" send-label="Send"
56
+ * attachments="own" attach-label="Attach files" remove-label="Remove">
57
+ * <tanrei-button slot="leading" variant="text" label="Mention someone"><span slot="icon">alternate_email</span></tanrei-button>
58
+ * </tanrei-chat-composer>
59
+ * ```
60
+ *
61
+ * `layout="inline"` (the default) puts every action on the line being written; `layout="stacked"` keeps the send
62
+ * button on that line and puts everything else in a row beneath it, inside the capsule. A capsule narrower than
63
+ * `comp.chat-composer.layout.inline-min-width` is laid out stacked whatever `layout` says; a stacked composer with
64
+ * nothing for the row beneath is drawn as an inline one. Tab moves through it in the order it is drawn.
65
+ *
66
+ * Enter sends and Shift+Enter begins a new line; with `send-key="modifier"` Enter begins a new line. Ctrl+Enter and
67
+ * Command+Enter send under both. An input method's Enter never sends, and neither does the return key of an on-screen
68
+ * keyboard: both are the embedded text input's to tell. A request by the keyboard while the message cannot be sent
69
+ * emits `sendblocked` with the reasons, unless there is simply nothing to send.
70
+ *
71
+ * `attachments="own"`: the composer keeps the files a person attaches — chosen, dropped on the capsule or pasted — and
72
+ * draws a File item for each (`attachment-form`: a tile with its picture for an image, a row for anything else); a
73
+ * refused file is a failed row with the product's sentence for its reason. `files` reads the kept files,
74
+ * `addFiles(files)` hands files over and answers with the refused, `clear()` empties the text and the files.
75
+ * `attachments="given"`: the File items are `<tanrei-file-item>` children the product adds on `select` and removes on
76
+ * an item's `remove`, each with its status and progress; nothing can be sent while one is uploading, or has failed and
77
+ * can be tried again.
78
+ *
79
+ * Form-associated: it submits the text under `name` and, while `attachments` is `own`, each kept file under
80
+ * `files-name`; after `send` — unless that was cancelled — it asks its form to submit, and then does not empty itself.
81
+ * Inside a `<tanrei-field>` it takes the field's label, help, error and `disabled`.
82
+ *
83
+ * Without script, and until the element is defined, a `<textarea>` and a submit `<button>` the product wrote as its
84
+ * children are the form; when it is defined it takes the text area's text and hides and disables both.
85
+ *
86
+ * @tag tanrei-chat-composer
87
+ * @slot leading - The product's own Buttons after the attach button: before the typing area in the inline layout, at the start of the row beneath it in the stacked one. Laid out and never restyled.
88
+ * @slot trailing - The product's own Buttons before the send button in the inline layout, and at the end of the row beneath the typing area in the stacked one. Laid out and never restyled.
89
+ * @slot attach - The product's own Button in place of the attach button the chat composer brings. Exactly one; it opens the browser's picker. Not drawn while `attachments` is `none`.
90
+ * @slot send - The product's own Button in place of the send button the chat composer brings. Exactly one; it sends, and is disabled while nothing can be sent.
91
+ * @slot stop - The product's own Button in place of the stop button the chat composer brings, shown in the send button's place while `sending` and `stoppable` are set. Exactly one.
92
+ * @slot - While `attachments` is `given`: the attachments, `<tanrei-file-item>` children, in order. Anything else is not drawn, and while `attachments` is `own` or `none` nothing here is.
93
+ * @csspart container - The capsule: the one container the chat composer draws, behind everything it holds.
94
+ * @csspart strip - The strip of attachments at the top of the capsule.
95
+ * @csspart counter - The number of characters, and the limit.
96
+ * @csspart embedded-text-input - The typing area: the `<tanrei-embedded-text-input>` it is built from.
97
+ * @csspart file-picker - The `<tanrei-file-picker>` it is built from, around the attach button.
98
+ * @csspart file-item - A File item the chat composer drew itself, while `attachments` is `own`: a `<tanrei-file-item>` it is built from.
99
+ * @csspart button - Each `<tanrei-button>` the chat composer brings: the attach button, and the send or the stop button.
100
+ * @csspart attach-button - The attach button the chat composer brings.
101
+ * @csspart send-button - The send button the chat composer brings.
102
+ * @csspart stop-button - The stop button the chat composer brings, in the send button's place.
103
+ * @exportparts tanrei-embedded-text-input input: input-input
104
+ * @exportparts tanrei-file-picker container: picker-container, icon: picker-icon, label: picker-label, supporting-text: picker-supporting-text, selection-text: picker-selection-text
105
+ * @exportparts tanrei-file-item container: item-container, media: item-media, icon: item-icon, preview: item-preview, headline: item-headline, supporting-text: item-supporting-text, status-icon: item-status-icon, progress: item-progress, action: item-action
106
+ * @exportparts tanrei-button container: attach-container, label: attach-label, icon: attach-icon
107
+ * @exportparts tanrei-button container: send-container, label: send-label, icon: send-icon
108
+ * @attr {string} form - The id of the form the chat composer belongs to, where it stands outside it: the platform's own attribute. The `form` property is read-only and returns the form element.
109
+ * @attr {string} files-name - Web only: the name each kept file is submitted under, while `attachments` is `own` and the chat composer stands in a form. Without it no file is submitted.
110
+ * @fires input - The person changed the text: the typing area's own `input` event, which leaves the element as it is. Read the new text from `event.target.value`. Never when `value` is set, and not when the chat composer empties itself after `send`.
111
+ * @fires {CustomEvent<TanreiChatComposerSendDetail>} send - The person sent what the chat composer holds, by the send button or the keyboard, while it could be sent. `detail.value` is the text exactly as written; `detail.attachments` the kept `File`s (`own`) or the values of the File items that have not failed (`given`), in the order of the strip. Bubbles; cancelable — a cancelled one keeps the content and asks no form to submit.
112
+ * @fires {CustomEvent} stop - The person activated the stop button while `sending` and `stoppable` were set. The product stops what is under way and sets `sending`. Bubbles.
113
+ * @fires {CustomEvent<TanreiChatComposerSendableDetail>} sendablechange - Whether what the chat composer holds can be sent changed, or the reasons it cannot did: `detail.sendable`, and `detail.reasons` by name — `disabled`, `sending`, `blocked`, `empty`, `length`, `uploading`, `failed`. Bubbles. Never when it is first drawn.
114
+ * @fires {CustomEvent<TanreiChatComposerSendableDetail>} sendblocked - The person asked to send by the keyboard while it could not be sent for a reason other than being empty or disabled; `detail.reasons` says why. Bubbles.
115
+ * @fires {CustomEvent<TanreiChatComposerSelectDetail>} select - Files were chosen in the picker, dropped on the capsule or pasted, and passed. Once per arrival; `detail.files` is a `File[]` — while `attachments` is `own`, the files newly kept. Bubbles.
116
+ * @fires {CustomEvent<TanreiChatComposerRejectDetail>} reject - Files of one arrival were refused. Once, after `select` where both happen; `detail.files` is `{ file, reason }[]`, the reason `type`, `size` or `count`. Bubbles.
117
+ * @fires {CustomEvent<TanreiChatComposerAttachmentsChangeDetail>} attachmentschange - While `attachments` is `own`: the kept files changed by what a person did — an arrival that kept a file, or a kept file removed by its File item. `detail.files` is the `File[]` now kept. Bubbles. Never for `addFiles()`, `clear()`, the emptying after `send` or a reset.
118
+ */
119
+ export declare class TanreiChatComposer extends ComposedElement implements PlacingGroup {
120
+ static styles: import("lit").CSSResult[];
121
+ /** CCM-36: the one control the form meets. Its members stand in its shadow root, or are the product's own children, and take no part in a form. */
122
+ static formAssociated: boolean;
123
+ /**
124
+ * Its parts, once: its own three, each member's host, and what each member exports.
125
+ *
126
+ * @internal
127
+ */
128
+ static readonly parts: readonly string[];
129
+ static get observedAttributes(): string[];
130
+ static properties: PropertyDeclarations;
131
+ /** @from tanrei-embedded-text-input.value */
132
+ get value(): string;
133
+ set value(value: string);
134
+ /** @from tanrei-embedded-text-input.label */
135
+ label: string;
136
+ /** @from tanrei-embedded-text-input.placeholder */
137
+ placeholder: string;
138
+ /** Where the actions stand in the capsule. `inline` (the default, and every value it does not know): on the line being written — the attach button and the leading actions before the typing area, the counter, the trailing actions and the send button after it. `stacked`: the typing area and the send button on one line, and everything else in a row beneath them, inside the capsule. A capsule too narrow for inline is laid out stacked whatever this says; the number of lines never changes the layout. */
139
+ layout: 'inline' | 'stacked';
140
+ /** @from tanrei-embedded-text-input.minRows */
141
+ minRows: number;
142
+ /** The most lines the typing area grows to before it scrolls inside itself (`max-rows`). Given to the embedded text input as its `maxRows`, with a default of the chat composer's own: six lines. 0 sets no limit. */
143
+ maxRows: number;
144
+ /** The most user-perceived characters a message may hold (`max-length`); 0 is no limit. It refuses no edit and shortens no paste: text beyond it stays, is marked, and stops sending until the person has cut it. */
145
+ maxLength: number;
146
+ /** Draws the number of characters, and `maxLength` where one is set, before the trailing actions. */
147
+ counter: boolean;
148
+ /** What Enter does on a hardware keyboard (`send-key`). `enter` (the default, and every value it does not know): Enter sends and Shift+Enter begins a new line. `modifier`: Enter begins a new line and Ctrl+Enter or Command+Enter sends. Ctrl+Enter and Command+Enter send under both. */
149
+ sendKey: 'enter' | 'modifier';
150
+ /** Whether files can be attached, and who holds them. `none` (the default, and every value it does not know): text alone. `own`: the chat composer keeps the files a person attached and draws a File item for each, and `send` carries them. `given`: the product gives the File items as children and the chat composer lays them out and keeps no file. */
151
+ attachments: 'none' | 'own' | 'given';
152
+ /** The form of the File items the chat composer draws itself, while `attachments` is `own` (`attachment-form`). `auto` (the default, and every value it does not know): a tile with its picture for an image, a row for every other file. `tile`: every file a tile. `row`: every file a row, and no picture. A refused file is a row under every value. */
153
+ attachmentForm: 'auto' | 'tile' | 'row';
154
+ /** Whether more than one file can be attached. Given to the file picker as its `multiple`; the default is true (`multiple="false"` says false). */
155
+ multiple: boolean;
156
+ /** @from tanrei-file-picker.accept */
157
+ accept: string[];
158
+ /** @from tanrei-file-picker.maxSize */
159
+ maxSize: number | null;
160
+ /** @from tanrei-file-picker.maxFiles */
161
+ maxFiles: number | null;
162
+ /** What was sent is on its way, or its answer is still arriving: the product's to set and to clear. While it is set nothing more can be sent; the typing area stays open. */
163
+ sending: boolean;
164
+ /** While `sending` is set, puts a stop button in the send button's place, which asks the product to stop what is under way (`stop`). Ignored while `sending` is not set. */
165
+ stoppable: boolean;
166
+ /** The product's own reason that nothing can be sent now. The send button is disabled and the send key sends nothing; the product says why in its own words. */
167
+ blocked: boolean;
168
+ /** Keeps the text and the attachments after `send` (`keep-after-send`), for a product that clears them itself (`clear()`) once it knows the message arrived. */
169
+ keepAfterSend: boolean;
170
+ /** Nothing can be written, attached, removed or sent: every member and every Button in a slot is disabled. Inside a Field, disable the Field. */
171
+ disabled: boolean;
172
+ /** Draws the capsule in its error condition and exposes the typing area as invalid. A Field sets it with its own error. It does not stop sending by itself: `blocked` does. */
173
+ error: boolean;
174
+ /** The accessible name of the send button the chat composer brings (`send-label`): this instance's words, else the product's (`setWords({ sendLabel })`). Tanrei has none: without them the button is drawn and works, and has no name. */
175
+ sendLabel: string;
176
+ /** The accessible name of the stop button the chat composer brings (`stop-label`): this instance's words, else the product's (`setWords({ stopLabel })`). */
177
+ stopLabel: string;
178
+ /** The accessible name of the attach button the chat composer brings (`attach-label`): this instance's words, else the product's (`setWords({ attachLabel })`). */
179
+ attachLabel: string;
180
+ /** @from tanrei-file-item.removeLabel */
181
+ removeLabel: string;
182
+ /** @from tanrei-file-item.retryLabel */
183
+ retryLabel: string;
184
+ /** While `attachments` is `own`: the sentence on the File item of a file refused for its kind (`type-error-text`): this instance's words, else the product's (`setWords({ fileTypeErrorText })`). */
185
+ typeErrorText: string;
186
+ /** While `attachments` is `own`: the sentence on the File item of a file refused for its size (`size-error-text`): this instance's words, else the product's (`setWords({ fileSizeErrorText })`). */
187
+ sizeErrorText: string;
188
+ /** While `attachments` is `own`: the sentence on the File item of a file refused because no more can be added (`count-error-text`): this instance's words, else the product's (`setWords({ fileCountErrorText })`). */
189
+ countErrorText: string;
190
+ /** A message assistive technology hears through the one live region when the product sets or changes it. Not drawn. */
191
+ announcement: string;
192
+ /** Web only: the name the text is submitted under. */
193
+ name: string;
194
+ /** CCM-42: the typing area has focus. */
195
+ protected typing: boolean;
196
+ /** CCM-23: files are dragged over the capsule. */
197
+ protected receiving: boolean;
198
+ /** CCM-4: the capsule is narrower than `layout.inline-min-width`. */
199
+ protected narrow: boolean;
200
+ /** CCM-43: how many File items the product gave. */
201
+ protected count: number;
202
+ /** Set by an ancestor `<fieldset disabled>`, or by the element's own attribute (`formDisabledCallback`). */
203
+ protected formDisabled: boolean;
204
+ protected readonly hostNameSentence = "CCM-29";
205
+ private readonly internals;
206
+ /** CCM-31: the product's words, read where the instance gives none (src/primitives/words.ts). */
207
+ private readonly words;
208
+ /** CCM-6: the variant of the send button it brings is a choice the active design system makes; a system switch draws it again. */
209
+ private readonly system;
210
+ /** CCM-28: what a field around the chat composer gives it (src/primitives/field.ts): the name while it has no `label` of its own, the description, the invalid and the disabled state. The chat composer is the field's one control. */
211
+ private readonly field;
212
+ /**
213
+ * CCM-28: the file picker inside asks as every control does, and the chat composer answers it in a field's place —
214
+ * `disabled` alone — so that its question does not reach a field around the chat composer as a second control.
215
+ */
216
+ private readonly provider;
217
+ /** W5: the value last set on the element, while the typing area has not taken it. */
218
+ private given;
219
+ private pending;
220
+ /** CCM-22: the files it keeps while `attachments` is `own`, in order — handles, never read (CCM-40). */
221
+ private kept;
222
+ /** CCM-22: the files the last arrival refused, in the order they were refused. Not kept. */
223
+ private refused;
224
+ /** What the file picker's two events of one arrival said, until the arrival is over. */
225
+ private arriving;
226
+ /** CCM-9: what it last said of whether it can be sent; undefined until it was first drawn. */
227
+ private said;
228
+ /** CCM-30: what each File item last said; one not in it is new. */
229
+ private readonly known;
230
+ /** CCM-30: the chat composer has been presented: a File item that comes now was added. */
231
+ private presented;
232
+ /** CCM-30: the product's own sentence, set or changed in this turn; what the arrivals of this turn say. */
233
+ private own;
234
+ private arrived;
235
+ /** CCM-38: the next message says no File item: the ones that are there came by a change of `attachments`. */
236
+ private hush;
237
+ private turn;
238
+ /** CCM-25: the File item focus is on, as the last `focusin` said, and the items as they stood. */
239
+ private held;
240
+ private stood;
241
+ /** CCM-23: the drags that entered and have not left. */
242
+ private drags;
243
+ /** CCM-17: focus was on the button in the send button's place when the update began. */
244
+ private sendHeld;
245
+ /** CCM-4: focus was on a Button the layout is about to draw again. */
246
+ private startHeld;
247
+ /** CCM-41: one line of the typing area's text, as its native element computes it, and the rule that is written from it. */
248
+ private line;
249
+ private readonly sheet;
250
+ private sizes;
251
+ private watched;
252
+ /** What the product's own Buttons in the slots were given, to take back (CCM-10, CCM-26). */
253
+ private readonly lent;
254
+ /** CCM-43, CCM-25, CCM-3: a child that comes or goes — a File item, a Button in a slot — is drawn at once. */
255
+ private readonly children$;
256
+ constructor();
257
+ /** CCM-5: its one embedded text input, once rendered. */
258
+ private get input();
259
+ /** CCM-7: its one file picker, while `attachments` is not none. */
260
+ private get picker();
261
+ private get capsule();
262
+ /** W7: focus is the typing area's (CCM-5). */
263
+ protected get control(): HTMLElement | null;
264
+ /** Disabled by its own `disabled`, by a field around it, or by its form (CCM-26, CCM-28, CCM-36). */
265
+ private get isDisabled();
266
+ /** CCM-18, CCM-27, CCM-28: the capsule is in its error condition, and the typing area is invalid — by `error`, by a field's, or over the limit. */
267
+ private get isError();
268
+ /** CCM-38: who holds the files; a value it does not know is none. */
269
+ private get attaches();
270
+ /** CCM-29: the group's name, and the typing area's — its own label, else the field's. */
271
+ private get groupName();
272
+ /** CCM-18: the limit, where one is set. */
273
+ private get lengthLimit();
274
+ /** CCM-18: the count is over the limit. */
275
+ private get over();
276
+ /** CCM-19: the counter is drawn. */
277
+ private get counts();
278
+ /** CCM-19: what the counter shows — the count, then a slash and the limit where one is set. */
279
+ private get counterText();
280
+ /** The elements the product placed in a named slot. */
281
+ private slotted;
282
+ /** CCM-21, CCM-43: the File items the product gave, in the order it gave them — and none unless `attachments` is `given`. */
283
+ private get givenItems();
284
+ /** The `tanrei-file-item` children the product wrote, whatever `attachments` says. */
285
+ private get itemChildren();
286
+ /** The File items it drew itself, in the order they are drawn. */
287
+ private get ownItems();
288
+ /** CCM-7: the attach button is drawn. */
289
+ private get attachShown();
290
+ /** CCM-3: the row beneath would hold something — the attach button, a Button in either slot, or the counter. */
291
+ private get rowHolds();
292
+ /** CCM-3, CCM-4: it is laid out stacked — by `layout`, or because the capsule is too narrow for inline — and has something for the row beneath. */
293
+ private get stacked();
294
+ /** CCM-12: what the embedded text input's Enter does; a value of `sendKey` it does not know is enter. */
295
+ private get enterKey();
296
+ /** CCM-5: the most lines of the typing area — 0, or a number of at least its fewest. */
297
+ private get mostRows();
298
+ /** CCM-19, CCM-28: the typing area's description — what the counter shows first, and the field's shown text last. */
299
+ private get description();
300
+ /** CCM-22: the room `maxFiles` leaves, which is what the file picker is given while the chat composer keeps the files. */
301
+ private get room();
302
+ /** CCM-9: each reason what it holds cannot be sent, by name; none while it can. */
303
+ private reasons;
304
+ /** Whether what it holds can be sent now, read-only: what the last `sendablechange` said. */
305
+ get sendable(): boolean;
306
+ /** CCM-9: the answer or the reasons changed — said once, and never when it is first drawn. */
307
+ private tellSendable;
308
+ /**
309
+ * CCM-11: a request to send — by the send button (`key` false) or by the keyboard. While it can be sent: `send`,
310
+ * once, with the text exactly as it stands and the attachments in the order of the strip; then, in a form, the
311
+ * form's submission (CCM-36), and outside one the emptying (CCM-15); then focus in the typing area (CCM-16). While
312
+ * it cannot: nothing — but `sendblocked` for a request by the keyboard that a reason other than empty holds back (CCM-14).
313
+ */
314
+ private requestSend;
315
+ /** CCM-15: empties itself — the text, every file it keeps and every File item it drew. Emits nothing. */
316
+ private empty;
317
+ /**
318
+ * CCM-15: empties the chat composer as it empties itself after `send` — the text, every file it keeps and every File
319
+ * item it drew — for a product that set `keep-after-send` and now knows the message arrived. Emits nothing and
320
+ * announces nothing. The product's own File items (`attachments="given"`) are the product's to remove.
321
+ */
322
+ clear(): void;
323
+ private readonly onSend;
324
+ /** CCM-17: the stop button asks the product to stop, and changes nothing itself. */
325
+ private readonly onStop;
326
+ /** The person changed the text: the event leaves as it is (W5); the counter, the limit and what can be sent follow. */
327
+ private readonly onInput;
328
+ /** CCM-12: the embedded text input's action is a request to send. The event itself does not leave the element. */
329
+ private readonly onAction;
330
+ /** W5: the embedded text input's `change` and `rowschange` are not events of the chat composer. */
331
+ private readonly stop;
332
+ /** CCM-42: the capsule's edge is the focus indication of the typing area, however its focus was given. */
333
+ private readonly onTypingFocus;
334
+ private readonly onTypingBlur;
335
+ /**
336
+ * CCM-24: a paste into the typing area that holds files and no plain text is an arrival, and inserts nothing; one
337
+ * that holds text is the typing area's.
338
+ */
339
+ private readonly onPaste;
340
+ /**
341
+ * CCM-5: a press on the capsule's own ground — its padding, the room beside a short text, the gaps of the strip — is
342
+ * passed on to the typing area, which takes focus with the caret at the nearest point of its text (ETI-12). A press
343
+ * on a Button, a File item or the counter is not. The press's default is prevented, so that focus is not taken away
344
+ * again; the capsule shows no pressed state.
345
+ */
346
+ private readonly onGround;
347
+ /** The file picker's `select` and `reject` are answered here and do not leave the element as they are. */
348
+ private readonly onPickerSelect;
349
+ private readonly onPickerReject;
350
+ /** The browser's picker closed with a choice: one arrival, told once. CCM-25: with a file kept or handed over, focus goes to the typing area. */
351
+ private readonly onArrival;
352
+ /** CCM-23, CCM-24: files that came another way — dropped, pasted — are judged by the file picker as a choice is (FPK-31). */
353
+ private take;
354
+ /** The file picker that judges by what the chat composer says now — its own, or, before it was first drawn, one that is nowhere and judges by the same props. */
355
+ private judge;
356
+ /**
357
+ * One arrival, judged. CCM-21: while `attachments` is `given` nothing is kept — `select`, then `reject`, and the
358
+ * product gives back a File item for each file it keeps. CCM-22: while it is `own` the File items of what an earlier
359
+ * arrival refused leave; a file that passed and that it already keeps is passed over; with `multiple` the rest is
360
+ * kept after the others, each one beyond the room `maxFiles` leaves refused for the count, and without it a file
361
+ * that passed takes the place of the one kept. Then, for what a person did (`person`): `select`, `reject`,
362
+ * `attachmentschange`, each once and only where it applies. Answers whether a file was kept or handed over.
363
+ */
364
+ private arrive;
365
+ /** CCM-22: the files it keeps changed by what a person did. */
366
+ private emitAttachments;
367
+ /** CCM-22, CCM-31: the product's sentence for a reason — the instance's prop, else the product's words, else nothing. */
368
+ private sentence;
369
+ /**
370
+ * CCM-22: the files it keeps while `attachments` is `own`, in order, as the browser's own `File` handles: a new array
371
+ * on each read. Never a refused file. Empty while `attachments` is `given` or `none`.
372
+ */
373
+ get files(): File[];
374
+ /**
375
+ * CCM-22: hands files over, as a product does whose own action in a slot makes a file — a photograph, a recording.
376
+ * They are judged by its file picker (FPK-31) and are then an arrival: kept or refused, drawn and announced as a
377
+ * choice is, with no event. Answers with the refused files and their reasons. While `attachments` is not `own` it
378
+ * does nothing and is reported.
379
+ */
380
+ addFiles(files: Iterable<File>): TanreiChatComposerRefused[];
381
+ /** A drag that holds a file, while files can be attached. */
382
+ private drops;
383
+ private readonly onDragEnter;
384
+ private readonly onDragOver;
385
+ private readonly onDragLeave;
386
+ private readonly onDrop;
387
+ private endDrag;
388
+ /** CCM-20, CCM-26, CCM-29: what every File item it holds is given, through the internal channel: the names of its two actions, whether it is disabled, and that it is an item of the strip's list. */
389
+ private gift;
390
+ private tellItems;
391
+ /**
392
+ * Changes the files it keeps and draws their File items at once, so that what is emitted afterwards is emitted with
393
+ * the strip as it will be. CCM-25: where an item that leaves held focus, focus goes to the remove action of the item
394
+ * that followed it, or of the one before where none follows, or to the typing area where none is left.
395
+ */
396
+ private redraw;
397
+ /** CCM-22: the remove action of a File item it drew removes the item, at once; a kept file is let go and `attachmentschange` is emitted. The item's own `remove` does not leave the element: it is an event of the product's items. */
398
+ private removeOwn;
399
+ private readonly onItemUpdate;
400
+ /** The product's File items were added to, removed from, or changed: drawn at once, said once. */
401
+ private readItems;
402
+ private childrenChanged;
403
+ private itemOf;
404
+ private readonly onFocusIn;
405
+ private readonly onFocusOut;
406
+ /**
407
+ * CCM-25: a File item the product gave left while focus was on one of its actions, and focus is now nowhere: it goes
408
+ * to the remove action of the item that followed, or of the one before where none follows, or to the typing area
409
+ * where no item is left. Where the product has already put focus somewhere, nothing is done.
410
+ */
411
+ private afterLeave;
412
+ /** CCM-30: something that may be said changed in this turn; everything of one turn is one message. */
413
+ private changed;
414
+ /**
415
+ * CCM-30: the one message of a turn, in the product's words alone — its own sentence where it set one; while
416
+ * `attachments` is `own`, what arrived; while it is `given`, each File item that was added after the chat composer
417
+ * was first presented, finished or failed: its name, then its status text or its error text. Nothing of progress, and
418
+ * nothing of the chat composer's own making.
419
+ */
420
+ private say;
421
+ /** @internal FPK-22: where a child is placed, for the Button that asks its parent when it connects: the file picker says it of its trigger. */
422
+ [GROUP_PLACE](child: Element): GroupPlace | null;
423
+ /** The form it belongs to, if any. */
424
+ get form(): HTMLFormElement | null;
425
+ /** CCM-36: a reset empties it, and emits nothing. */
426
+ formResetCallback(): void;
427
+ /** CCM-40: the text is restored with the page; it begins with no file. */
428
+ formStateRestoreCallback(state: string | File | FormData | null): void;
429
+ formDisabledCallback(disabled: boolean): void;
430
+ attributeChangedCallback(name: string, old: string | null, value: string | null): void;
431
+ /** CCM-36: the text under its name and, while it keeps its own files, each of them under the name given for its files — nothing while disabled. The text is what a restored page gives back. */
432
+ private syncForm;
433
+ /**
434
+ * CCM-37: the platform's own text area and submit button that the product wrote as children are the form until the
435
+ * element is defined. Now the text area's text is the value while its own is empty, and each is taken out of what
436
+ * is drawn, focused, read and submitted.
437
+ */
438
+ private adopt;
439
+ /**
440
+ * CCM-41: one line of the typing area's text — the member's computed line height, never its token — from which the
441
+ * capsule's corners and the least height of its groups are written, as a rule of the element's own. CCM-4: whether
442
+ * the capsule is narrower than `layout.inline-min-width`, by its own width.
443
+ */
444
+ private measure;
445
+ private watch;
446
+ protected createRenderRoot(): DocumentFragment | HTMLElement;
447
+ connectedCallback(): void;
448
+ disconnectedCallback(): void;
449
+ protected willUpdate(changed: PropertyValues<this>): void;
450
+ protected firstUpdated(): void;
451
+ protected updated(changed: PropertyValues<this>): void;
452
+ /**
453
+ * CCM-10, CCM-26: the product's own Buttons in the slots are disabled as their own `disabled` does — every one while
454
+ * the chat composer is disabled, and the one in the send slot while nothing can be sent — and each gets back what it
455
+ * had; one the product disabled itself is never enabled.
456
+ */
457
+ private lend;
458
+ /**
459
+ * CCM-17: the button in the send button's place changed while it had focus — focus stays on the button now there, or
460
+ * goes to the typing area where that one is disabled. CCM-4: an attach button the layout drew again keeps its focus.
461
+ */
462
+ private keepFocus;
463
+ /** What a debug build is told about the content, once it has all been written: the chat composer still renders. */
464
+ private check;
465
+ private reports;
466
+ /**
467
+ * CCM-22, CCM-44: a File item it draws itself. A kept file is a pending File item given the file's handle — a tile
468
+ * with its picture and no drawn name for an image (auto, tile), a tile for any file (tile), a row otherwise; a
469
+ * refused one a failed row with the product's sentence, given no handle and never retryable. Neither is pressable.
470
+ */
471
+ private ownItem;
472
+ /** CCM-7: its file picker around its trigger — the product's own Button in the attach slot, or the one it brings. */
473
+ private attachPart;
474
+ /** CCM-6, CCM-17: the send button — or, while a stoppable sending is under way, the stop button in its place: the product's own in its slot, or the one it brings. */
475
+ private sendPart;
476
+ protected render(): TemplateResult<1>;
477
+ }
478
+ declare global {
479
+ interface HTMLElementTagNameMap {
480
+ 'tanrei-chat-composer': TanreiChatComposer;
481
+ }
482
+ }