@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,223 @@
1
+ import { css, unsafeCSS } from 'lit';
2
+ import { productText } from '../../styles/product-text.js';
3
+ // Every visual value is a token (tokens/comp/app-bar.tokens.json). The bar has no interaction states: its navigation and
4
+ // action items are the product's icon buttons, which paint themselves from their own tokens (APB-11). What the bar paints
5
+ // is its condition (flat or scrolled: the container color, its elevation and the bottom edge) and its size (the heights
6
+ // and the title's and subtitle's text roles).
7
+ /** The values every design system has. A layer may add more; those get their styles on demand. */
8
+ export const CORE_SIZES = ['small', 'large'];
9
+ export const DEFAULT_SIZE = 'small';
10
+ const PREFIX = '--tanrei-comp-app-bar';
11
+ const T = (name) => `var(${PREFIX}-${name})`;
12
+ const t = (name) => unsafeCSS(T(name));
13
+ // A value the core does not have may be missing from the active design system: fall back to the default's token.
14
+ const ref = (name, key, fallback) => (fallback ? `var(${name(key)}, var(${name(fallback)}))` : `var(${name(key)})`);
15
+ /** The members of the size axis (`dev.tanrei.axes.size.members`), as private custom properties. */
16
+ const SIZE_MEMBERS = {
17
+ h: (v) => `${PREFIX}-container-height-${v}`,
18
+ 'title-font': (v) => `${PREFIX}-title-typescale-${v}-font`,
19
+ 'title-ls': (v) => `${PREFIX}-title-typescale-${v}-letter-spacing`,
20
+ 'subtitle-font': (v) => `${PREFIX}-subtitle-typescale-${v}-font`,
21
+ 'subtitle-ls': (v) => `${PREFIX}-subtitle-typescale-${v}-letter-spacing`,
22
+ };
23
+ /** One size's members under `selector`: `--_h` is its height, `--_title-font` its title's text role, and so on. */
24
+ const sizeBlock = (size, selector, fallback = null) => `${selector} {\n${Object.entries(SIZE_MEMBERS)
25
+ .map(([key, name]) => ` --_${key}: ${ref(name, size, fallback)};`)
26
+ .join('\n')}\n}`;
27
+ /**
28
+ * The open axis (APB-14): a size a layer added (Material's `medium`) gets its block on demand, built by the
29
+ * same function and falling back to `small`'s tokens; a value the active system lacks is reported in debug builds.
30
+ */
31
+ export const AXES = [
32
+ { name: 'size', core: CORE_SIZES, default: DEFAULT_SIZE, rules: (value, selector) => sizeBlock(value, selector, DEFAULT_SIZE), probe: (value) => `${PREFIX}-container-height-${value}` },
33
+ ];
34
+ /** The token a size's height is read from: a size the active system defines has it (the element checks, APB-14). */
35
+ export const heightProbe = (size) => `${PREFIX}-container-height-${size}`;
36
+ /** The condition's parts (APB-1, APB-2): the container color, its elevation and the bottom edge's color. */
37
+ const condition = (name) => `
38
+ --_c: ${T(`${name}-container-color`)};
39
+ --_e: ${T(`${name}-container-elevation`)};
40
+ --_o: ${T(`${name}-outline-color`)};`;
41
+ const CONDITION_MOTION = `${T('motion-condition-duration')} ${T('motion-condition-easing')}`;
42
+ /** One line of text, truncated at the end with an ellipsis (APB-5, APB-7, APB-15). */
43
+ const oneLine = `
44
+ overflow: hidden;
45
+ white-space: nowrap;
46
+ text-overflow: ellipsis;`;
47
+ export const styles = css `
48
+ :host {
49
+ display: block;
50
+ /* APB-10: the system insets the bar reaches under and keeps its content out of (0 where the platform has none). */
51
+ --_inset-top: env(safe-area-inset-top, 0px);
52
+ --_inset-left: env(safe-area-inset-left, 0px);
53
+ --_inset-right: env(safe-area-inset-right, 0px);
54
+ ${unsafeCSS(condition('flat'))}
55
+ }
56
+ :host([scrolled]) {
57
+ ${unsafeCSS(condition('scrolled'))}
58
+ }
59
+ ${unsafeCSS(sizeBlock(DEFAULT_SIZE, ':host'))}
60
+ ${unsafeCSS(CORE_SIZES.filter((size) => size !== DEFAULT_SIZE).map((size) => sizeBlock(size, `:host([size='${size}'])`)).join('\n'))}
61
+ :host([hidden]) {
62
+ display: none;
63
+ }
64
+
65
+ /* APB-1, APB-2, APB-4, APB-10: the parent's full width; the condition's color, elevation and bottom edge; the color
66
+ reaches under the top inset and the side insets while the content stays inside them. */
67
+ .container {
68
+ box-sizing: border-box;
69
+ position: relative;
70
+ display: flex;
71
+ flex-direction: column;
72
+ inline-size: 100%;
73
+ padding-block-start: var(--_inset-top);
74
+ padding-left: var(--_inset-left);
75
+ padding-right: var(--_inset-right);
76
+ background: var(--_c);
77
+ box-shadow: var(--_e);
78
+ /* APB-3: a change of condition moves over the condition motion. */
79
+ transition-property: background-color, box-shadow;
80
+ transition-duration: ${t('motion-condition-duration')};
81
+ transition-timing-function: ${t('motion-condition-easing')};
82
+ }
83
+ /* APB-1, APB-2: the bottom edge, inside the bar (it never changes the bar's height). */
84
+ .outline {
85
+ position: absolute;
86
+ inset-inline: 0;
87
+ inset-block-end: 0;
88
+ block-size: ${t('outline-width')};
89
+ background: var(--_o);
90
+ pointer-events: none;
91
+ transition: background-color ${unsafeCSS(CONDITION_MOTION)};
92
+ }
93
+
94
+ /* APB-4: the top row — at least the small bar's height (a large bar's top row is always the small height); the
95
+ navigation item padding-inline from the start edge, the title block, the actions padding-inline from the end edge,
96
+ container.gap between them, each centred in the row. Logical, so right-to-left mirrors the order. */
97
+ .row {
98
+ box-sizing: border-box;
99
+ display: flex;
100
+ align-items: center;
101
+ gap: ${t('container-gap')};
102
+ min-block-size: ${t('container-height-small')};
103
+ padding-inline: ${t('container-padding-inline')};
104
+ }
105
+ /* APB-4: without a navigation item the title block starts title.inset from the start edge; without actions it ends
106
+ title.inset from the end edge. */
107
+ .row:not(.has-navigation) {
108
+ padding-inline-start: ${t('title-inset')};
109
+ }
110
+ .row:not(.has-actions) {
111
+ padding-inline-end: ${t('title-inset')};
112
+ }
113
+ .navigation,
114
+ .actions {
115
+ display: flex;
116
+ flex: none;
117
+ align-items: center;
118
+ }
119
+ .row:not(.has-navigation) .navigation,
120
+ .row:not(.has-actions) .actions {
121
+ display: none;
122
+ }
123
+ /* APB-4: comp.app-bar.actions.gap between two actions. */
124
+ .actions {
125
+ gap: ${t('actions-gap')};
126
+ }
127
+ /* APB-11: the items are laid out, never restyled — each keeps its own box, centred in a cell as large as the minimum
128
+ target it answers to (BTN-5), so a neighbour's target never overlaps it and the row is at least that high. */
129
+ ::slotted(*) {
130
+ display: inline-flex;
131
+ align-items: center;
132
+ justify-content: center;
133
+ min-inline-size: var(--tanrei-sys-target-pointer);
134
+ min-block-size: var(--tanrei-sys-target-pointer);
135
+ }
136
+ @media (pointer: coarse) {
137
+ ::slotted(*) {
138
+ min-inline-size: var(--tanrei-sys-target-touch);
139
+ min-block-size: var(--tanrei-sys-target-touch);
140
+ }
141
+ }
142
+
143
+ /* APB-5, APB-6: the title block — the title, and the subtitle under it, centred in the row as a block; at the start
144
+ after the navigation slot, or (center) centred on the bar's full width, narrowed equally on both sides by the
145
+ element's measured balance so it never runs under either slot. */
146
+ .title-area {
147
+ box-sizing: border-box;
148
+ flex: 1 1 0;
149
+ min-inline-size: 0;
150
+ }
151
+ .row.center .title-area {
152
+ padding-inline-start: var(--_balance-start, 0px);
153
+ padding-inline-end: var(--_balance-end, 0px);
154
+ text-align: center;
155
+ }
156
+ .title-block {
157
+ display: flex;
158
+ flex-direction: column;
159
+ justify-content: center;
160
+ min-inline-size: 0;
161
+ }
162
+ .title {
163
+ margin: 0;
164
+ font: ${t('title-typescale-small-font')};
165
+ letter-spacing: ${t('title-typescale-small-letter-spacing')};
166
+ color: ${t('title-color')};${unsafeCSS(oneLine)}
167
+ }
168
+ .subtitle {
169
+ font: ${t('subtitle-typescale-small-font')};
170
+ letter-spacing: ${t('subtitle-typescale-small-letter-spacing')};
171
+ color: ${t('subtitle-color')};${unsafeCSS(oneLine)}
172
+ }
173
+ /* APB-17: the title and the subtitle are each a run of their own, in the direction of their first strong character: a
174
+ left-to-right title in a right-to-left bar keeps its order and loses its right end when it is cut (APB-5, APB-7),
175
+ never its beginning. Their lines are still placed by the layout: at its start edge, or centred (APB-6)
176
+ (src/styles/product-text.ts). */
177
+ ${productText(':is(.title, .subtitle)', { align: 'start' })}
178
+ .row.center :is(.title, .subtitle) {
179
+ text-align: center;
180
+ }
181
+
182
+ /* APB-7, APB-8: a large bar's own title row under the top row — at least the size's height less the top row's, its
183
+ block ending padding-block-end above the bottom edge, starting (and ending) title.inset from the edges. It collapses
184
+ by moving up under the top row: the element pulls the block up by the scrolled distance and this row clips it. */
185
+ .expanded {
186
+ display: flex;
187
+ flex-direction: column;
188
+ overflow: hidden;
189
+ }
190
+ .block {
191
+ box-sizing: border-box;
192
+ position: relative;
193
+ display: flex;
194
+ flex: none;
195
+ flex-direction: column;
196
+ justify-content: flex-end;
197
+ min-block-size: calc(var(--_h) - ${t('container-height-small')});
198
+ margin-block-start: calc(-1 * var(--_collapse, 0px));
199
+ padding-inline: ${t('title-inset')};
200
+ padding-block-end: ${t('container-padding-block-end')};
201
+ }
202
+ .block .title {
203
+ font: var(--_title-font);
204
+ letter-spacing: var(--_title-ls);
205
+ }
206
+ .block .subtitle {
207
+ font: var(--_subtitle-font);
208
+ letter-spacing: var(--_subtitle-ls);
209
+ }
210
+
211
+ @media (prefers-reduced-motion: reduce) {
212
+ .container,
213
+ .outline {
214
+ transition: none;
215
+ }
216
+ }
217
+ @media (forced-colors: active) {
218
+ :host([scrolled]) .outline {
219
+ background: CanvasText;
220
+ }
221
+ }
222
+ `;
223
+ //# sourceMappingURL=app-bar.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-bar.styles.js","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar.styles.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,220 @@
1
+ import { type PropertyDeclarations, type PropertyValues, ReactiveElement } from 'lit';
2
+ import { type SeparationProp } from '../../primitives/index.js';
3
+ /** What scrolls (APS-14, APS-15): the whole page in the window, or the main region alone inside a frame as tall as the window. */
4
+ export type TanreiAppShellScroll = 'page' | 'main';
5
+ /** Whether the header stays at the top of the window while the page scrolls (APS-16). */
6
+ export type TanreiAppShellHeaderPosition = 'sticky' | 'static';
7
+ /** Whether the main region's content is limited to the readable width (APS-8). */
8
+ export type TanreiAppShellMainWidth = 'contained' | 'full';
9
+ /** Where the aside stands in reading order, and so where it is drawn when it is not beside the main content (APS-9). */
10
+ export type TanreiAppShellAsideOrder = 'after' | 'before';
11
+ /** How regions that touch are told apart (APS-18): `auto` takes `comp.app-shell.separation`. */
12
+ export type TanreiAppShellSeparation = SeparationProp;
13
+ /** The class the window's width gives it (APS-2). */
14
+ export type TanreiWindowClass = 'compact' | 'medium' | 'expanded';
15
+ /** What `windowclasschange` carries: the class the window has now (which `windowClass` already holds). */
16
+ export interface TanreiAppShellWindowClassChangeDetail {
17
+ windowClass: TanreiWindowClass;
18
+ }
19
+ /** What `navigationopenchange` carries: the value asked for (which `navigationOpen` already holds). */
20
+ export interface TanreiAppShellNavigationOpenChangeDetail {
21
+ navigationOpen: boolean;
22
+ }
23
+ /**
24
+ * Frames a page or an app: places a header, the navigation, the main content, an aside and a footer, decides from the
25
+ * window's width how each of them is shown, and lets a keyboard reach the content in one step. It draws the frame and
26
+ * none of what stands in it.
27
+ *
28
+ * Contract: specs/app-shell.spec.json. The element has **no shadow root**: it is the frame around the product's own
29
+ * regions, which stay in the document and keep their semantics — a `<header>` is the page's banner and the one
30
+ * `<main>` its main landmark for a screen reader, a crawler and a page without script alike.
31
+ *
32
+ * ```html
33
+ * <tanrei-app-shell aside-order="before" aside-label="On this page">
34
+ * <a class="tanrei-link" data-standalone slot="skip-link" href="#main">Skip to content</a>
35
+ * <div slot="announcement">…a callout…</div>
36
+ * <header slot="header">
37
+ * <tanrei-app-bar headline="Tanrei">
38
+ * <tanrei-button slot="navigation" data-app-shell-menu variant="text" label="Menu"><span slot="icon">menu</span></tanrei-button>
39
+ * </tanrei-app-bar>
40
+ * </header>
41
+ * <tanrei-navigation-drawer slot="navigation" responsive collapsible label="Documentation">…</tanrei-navigation-drawer>
42
+ * <aside slot="aside">…</aside>
43
+ * <main id="main" tabindex="-1">…</main>
44
+ * <footer slot="footer">…</footer>
45
+ * <tanrei-navigation-bar slot="navigation-bar" label="Sections">…</tanrei-navigation-bar>
46
+ * </tanrei-app-shell>
47
+ * ```
48
+ *
49
+ * A region is a child with a `slot` attribute — the region's name; no shadow root reads it — and the main region is
50
+ * the one `<main>` without one. They are written in the order a keyboard walks them (APS-22): the skip link, the
51
+ * announcement, the header, the navigation, the aside while `aside-order` is `before`, the main region, the aside
52
+ * while it is `after`, the footer, the navigation bar. The stylesheet places them by name and never reorders focus.
53
+ *
54
+ * Everything laid out is `@tanrei/web/app-shell.css`, before and without this script (APS-24): the window's class is
55
+ * a media condition, a region the class does not show has no box, and the skip link is an anchor to the main region's
56
+ * id. The element adds the same sheet to the root it is connected to, and what a stylesheet cannot say:
57
+ *
58
+ * - **the class**, as the read-only `windowClass`, the `data-window-class` attribute and `windowclasschange` — from
59
+ * two `matchMedia` listeners of the widths the stylesheet was written with; no resize listener and no frame loop.
60
+ * What the frame holds also inherits it as `--tanrei-app-shell-window-class`, from the stylesheet alone;
61
+ * - **the menu button** — the one icon-only `<tanrei-button data-app-shell-menu>` in the header — which it answers
62
+ * while the navigation has no place in the layout: `navigationOpen` and the `open` of a
63
+ * `<tanrei-navigation-drawer>` in the navigation region become true, the drawer's `close` makes them false again,
64
+ * and the button says `aria-expanded` and what it controls;
65
+ * - **the scroll offset**: the header's measured height as `--tanrei-app-shell-scroll-offset` on the document's root
66
+ * (the stylesheet sets the root's scroll padding from it), and the navigation bar's as
67
+ * `--tanrei-app-shell-scroll-offset-end`, so a link's target and a focused element rest clear of both. The product's
68
+ * own sticky parts read the same properties;
69
+ * - **a landmark** for a region whose element does not give one (`role="banner"` on a header that is not a
70
+ * `<header>`, `aria-label` from `aside-label` on an aside without a name), and `tabindex="-1"` on a `<main>` that
71
+ * lacks it;
72
+ * - the debug reports of APS-4, APS-21 and APS-29.
73
+ *
74
+ * With `scroll="main"` the main region is the scrolling view: name its id in the app bar's `scroll-target`.
75
+ *
76
+ * @tag tanrei-app-shell
77
+ * @slot - The main region: the one `<main>` child without a `slot` attribute. Its `id` is the skip link's destination.
78
+ * @slot skip-link - The skip link: a standalone Link (`class="tanrei-link" data-standalone`) whose `href` is the main region's id, with the product's words. Shown only while it has keyboard focus.
79
+ * @slot announcement - The notice above the header: an element around a callout, across the frame's width.
80
+ * @slot header - The header: a `<header>` around the product's app bar, with the menu button in the bar's navigation slot.
81
+ * @slot navigation - The navigation: a `<tanrei-navigation-drawer responsive>`. Anything else is placed beside the content in an expanded window and is not shown in a narrower one.
82
+ * @slot aside - The aside: an `<aside>` with the product's supporting content, or a side sheet.
83
+ * @slot footer - The footer: a `<footer>` with the product's own layout.
84
+ * @slot navigation-bar - A navigation bar for the bottom edge of a compact window.
85
+ * @fires {CustomEvent<TanreiAppShellWindowClassChangeDetail>} windowclasschange - The frame decided the window's class for the first time, or the window's width changed it: `detail.windowClass` (and `windowClass`) is `compact`, `medium` or `expanded`.
86
+ * @fires {CustomEvent<TanreiAppShellNavigationOpenChangeDetail>} navigationopenchange - The navigation asks to be presented over the content, or to be put away: the menu button was activated (`detail.navigationOpen` true), or the open navigation closed or the window's class changed (false). `navigationOpen` already holds it.
87
+ * @cssprop --tanrei-app-shell-scroll-offset - On the document's root: the height the frame keeps over the top of the page (a sticky header's), for the product's own sticky parts.
88
+ * @cssprop --tanrei-app-shell-scroll-offset-end - On the document's root: the height the frame keeps over the bottom of the page (the navigation bar's).
89
+ * @cssprop --tanrei-app-shell-window-class - Inherited by everything the frame holds: `compact`, `medium` or `expanded`, for a style container query.
90
+ */
91
+ export declare class TanreiAppShell extends ReactiveElement {
92
+ private readonly availability;
93
+ static properties: PropertyDeclarations;
94
+ /**
95
+ * What scrolls: the `scroll` attribute. `page`: the whole page scrolls in the window, the header stays at the top and the navigation and the aside stay in view beside the content. `main`: the frame is exactly as tall as the window and only the main region scrolls inside it.
96
+ * @attr scroll
97
+ */
98
+ scrolls: TanreiAppShellScroll;
99
+ /** Whether the header stays at the top of the window while the page scrolls (`sticky`) or scrolls away with it (`static`). Ignored while `scroll` is `main`, where the header never moves. */
100
+ headerPosition: TanreiAppShellHeaderPosition;
101
+ /** `contained`: the main region's content is no wider than the frame's readable width and is centred in its room. `full`: it takes all the room inside the gutters. */
102
+ mainWidth: TanreiAppShellMainWidth;
103
+ /** Where the aside stands in reading and focus order, and so where it is drawn when it is not beside the main content: `after` it (below) or `before` it (above). Write the aside on that side of the `<main>` in the markup. */
104
+ asideOrder: TanreiAppShellAsideOrder;
105
+ /** How regions that touch are told apart: `divider` draws the one hairline, `gap` draws nothing; `auto` takes `comp.app-shell.separation`, the design system's answer. */
106
+ separation: TanreiAppShellSeparation;
107
+ /** Whether the navigation is presented over the content, while it has no place of its own in the layout (or only its column). The menu button makes it true; closing the navigation, and any change of the window's class, makes it false. */
108
+ navigationOpen: boolean;
109
+ /** Names the aside for assistive technology where its element has no name of its own. */
110
+ asideLabel: string;
111
+ /** APS-2: the two widths the stylesheet was written with, as media queries, and what stops listening. */
112
+ private widths;
113
+ private decided;
114
+ /** APS-3: a `windowclasschange` owed once the class it names is drawn. */
115
+ private announce;
116
+ private readonly mutations;
117
+ /** The navigation's `collapsible` decides its presentation in a medium window (APS-4). */
118
+ private readonly navigationMutations;
119
+ private readonly sizes;
120
+ /** The regions read last. */
121
+ private header;
122
+ private bar;
123
+ private footer;
124
+ /** APS-23: what last took focus in the frame, until focus goes elsewhere by a person's doing. */
125
+ private focused;
126
+ private drawer;
127
+ private navigation;
128
+ /** The elements the frame gave a role, a name or a tab index, and what it gave: taken back when they leave it. */
129
+ private readonly given;
130
+ private menuStated;
131
+ private menuAwaited;
132
+ private awaitingParse;
133
+ /** No shadow root: the regions are the document's. */
134
+ protected createRenderRoot(): this;
135
+ /**
136
+ * APS-2, APS-3: the class of the window's current width — `compact`, `medium` or `expanded` — or null until it is
137
+ * decided. Read-only, derived from the width alone and never stored in a prop; reflected as the `data-window-class`
138
+ * attribute.
139
+ */
140
+ get windowClass(): TanreiWindowClass | null;
141
+ connectedCallback(): void;
142
+ disconnectedCallback(): void;
143
+ /** The two widths are read back from the stylesheet that lays the frame out, so the two can never disagree. */
144
+ private watch;
145
+ /** The frames connected in this turn, whose widths are read together (`watchTogether`). */
146
+ private static readonly connecting;
147
+ /**
148
+ * `watch()` for a frame that was just connected: in ONE microtask after the script that connected it, for every
149
+ * frame of that turn — all read, then all told their class — and before any of them is drawn or a frame painted.
150
+ * Read in its own connection, each frame had the page styled for itself, after the class the one before it had just
151
+ * written (fifty at once: fifty style passes). A page has one frame; a gallery of them has many.
152
+ */
153
+ private watchTogether;
154
+ /** The reading half of `watch()`: the widths the frame's stylesheet was written for, and the tokens' here. */
155
+ private readWidths;
156
+ /** The writing half of `watch()`: the widths are listened to, and the window's class decided. */
157
+ private takeWidths;
158
+ private unwatch;
159
+ private readonly onWidth;
160
+ /**
161
+ * APS-3, APS-7, APS-23: the class of the window's current width. The first decision is only told. A change closes
162
+ * an open navigation at once and takes focus off what the new arrangement does not show.
163
+ */
164
+ private decide;
165
+ private readonly onFocusIn;
166
+ /** Focus that leaves an element which is still drawn was moved by a person; one that is no longer drawn lost it to the layout. */
167
+ private readonly onFocusOut;
168
+ /** Whether `element` is in the frame: in its regions, or in a shadow root of something in them. */
169
+ private holds;
170
+ /** APS-3: `windowclasschange`, once for each class decided. */
171
+ private tell;
172
+ private region;
173
+ private main;
174
+ /** APS-4: how the navigation is presented now: beside the content, as its column, or over the content when opened. */
175
+ private get presentation();
176
+ /** Gives `element` an attribute it lacks, and remembers that the frame did. */
177
+ private give;
178
+ private takeBack;
179
+ /**
180
+ * Reads the regions the frame holds and writes what follows from them: the landmarks and names their elements lack
181
+ * (APS-21), the main region's tab index (APS-20), what is measured (APS-17), the navigation that is followed
182
+ * (APS-7), and the two choices where the browser cannot query them (APS-6, APS-18). Called when a property, a child
183
+ * or the class changes; it writes only what differs, so it settles.
184
+ */
185
+ private read;
186
+ private resized;
187
+ /** The header's height, while the header is kept over the top of the page; nothing otherwise (APS-17). */
188
+ private measure;
189
+ /** APS-6: whether the menu button is shown: only while the navigation has no place in the layout. */
190
+ private get menuShown();
191
+ private get menu();
192
+ /** The drawer whose `close` and `expandedchange` the frame follows: one at a time. */
193
+ private listen;
194
+ /** APS-7: the menu button opens the navigation over the content. */
195
+ private readonly onClick;
196
+ /** APS-7: the open navigation closed — by its scrim, Escape, a destination, a drag or the platform's back (NVD-20, NVD-21). */
197
+ private readonly onDrawerClose;
198
+ /** APS-4: the column's own menu button widened it over the content, or narrowed it again (NVD-37). */
199
+ private readonly onDrawerForm;
200
+ /** Makes `navigationOpen` `open`, and tells it once where the value changed. */
201
+ private setOpen;
202
+ /** APS-7: the drawer is open while `navigationOpen` is, where it is presented over the content; a drawer beside it is left alone. */
203
+ private syncNavigation;
204
+ /** APS-7: the menu button says whether the navigation it controls is open, on the button it draws. */
205
+ private stateMenu;
206
+ /**
207
+ * APS-20: focus goes to the region the link names — the main region — and its top comes into view below the header,
208
+ * at once, whatever the page says of how it scrolls. The link's own navigation is then not needed, and is not left to
209
+ * follow: a browser that is given the focus here and then follows the fragment starts its next Tab after the first
210
+ * link of the region (Firefox). Without this script the anchor does the same by itself. Returns whether it did.
211
+ */
212
+ private skip;
213
+ protected willUpdate(): void;
214
+ protected updated(changed: PropertyValues): void;
215
+ }
216
+ declare global {
217
+ interface HTMLElementTagNameMap {
218
+ 'tanrei-app-shell': TanreiAppShell;
219
+ }
220
+ }