@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,592 @@
1
+ import { LitElement, html, nothing } from 'lit';
2
+ import { classMap } from 'lit/directives/class-map.js';
3
+ import { ActionPlacement, AvailabilityController, BUTTON_VARIANTS, HOST_VARIANT, OpenAxesController, assignSlot, compChoice, giveVariant, SHEET_FLING_VELOCITY, SheetDrag, closeRequestReason, deepActive, focusWithin, holdPageScroll, keyboardCover, modalLayer, modalSheetKeys, onBackdrop, report, returnFocus, watchEscape, WordsController, } from '../../primitives/index.js';
4
+ import '../button/button.js';
5
+ import { AXES, styles } from './side-sheet.styles.js';
6
+ /**
7
+ * SSH-4: whether a released drag asks to close — past half the sheet's width toward its end edge, or flung that way.
8
+ * `distance` is how far the sheet is drawn from where it rests, toward the end edge; `velocity` the pointer's speed that
9
+ * way at the release, in px per ms.
10
+ */
11
+ export function sideSheetRelease(distance, velocity, width) {
12
+ return distance > width / 2 || velocity > SHEET_FLING_VELOCITY;
13
+ }
14
+ const PREFIX = '--tanrei-comp-side-sheet';
15
+ /** SSH-11: how the actions sit (tokens/comp/side-sheet.tokens.json, `dev.tanrei.enum`): the first is the fallback. */
16
+ const ARRANGEMENTS = ['fill', 'start'];
17
+ /**
18
+ * Shows supplementary content or a secondary task in a panel at the end edge, with a headline, an optional close button
19
+ * and actions: `standard`, beside the content in the layout (a layout region), where actions are optional, or
20
+ * `modal`, over the content with a scrim, holding focus until it closes (a modal overlay), with at least one
21
+ * action (SSH-16).
22
+ *
23
+ * Contract: specs/side-sheet.spec.json. The content is the default slot. The header holds `headline` (the sheet's
24
+ * accessible name, a heading) and, while `closable`, an icon-only `<tanrei-button>` of the medium size showing the close
25
+ * glyph, named by `close-label`, in the variant `comp.side-sheet.close-button.variant` names (tonal in the default
26
+ * system).
27
+ *
28
+ * The actions are `<tanrei-button slot="actions">` children, each marked `confirming` or `dismissive`, placed below a
29
+ * divider as a full-width Button group places them: dismissive at the start and confirming at the end of a row the
30
+ * actions share equally, confirming on top of a column when a label does not fit its share (or, where the system's
31
+ * `actions.arrangement` is `start`, at their own widths from the start edge). Focus and assistive technology follow that
32
+ * order. A Button without a `variant` attribute takes the sheet's (`comp.side-sheet.actions.variant`, tonal in the
33
+ * default system). Actions never close the sheet: close it from their handlers.
34
+ *
35
+ * Controlled: the sheet never closes itself. It fires `close` with a reason — its close button in either variant, and for
36
+ * a modal sheet a press on the scrim, Escape, the platform's back or a drag toward its end edge — and you set `open` to
37
+ * false. A product that does not close it after a drag sees it slide back.
38
+ *
39
+ * Standard: an `<aside>` (a complementary landmark) named by the headline; place it as the last item of a flex row (the
40
+ * full height of that row). Its width animates while open changes, the content beside it resizing. Opening it moves focus
41
+ * in, closing it with focus inside gives focus back, Tab leaves it open, and Escape and drags do nothing.
42
+ *
43
+ * Modal: a native `<dialog>` in the shadow root opened with `showModal()`, at the window's end edge in the top layer over
44
+ * `::backdrop` (the scrim), everything else inert, the page held from scrolling and focus kept inside. Focus goes to the
45
+ * slotted element marked `autofocus`, else the sheet (also when it is mounted open), and returns where it was when it
46
+ * closes.
47
+ *
48
+ * The content scrolls between the header and the actions; a divider appears below the header while it is scrolled from
49
+ * its top. While the on-screen keyboard covers the bottom of the sheet, the actions sit directly above it (the
50
+ * `visualViewport`).
51
+ *
52
+ * Every visual value comes from `--tanrei-comp-side-sheet-*` tokens. The color reaches under
53
+ * `env(safe-area-inset-*)` at the end, top and bottom.
54
+ *
55
+ * @tag tanrei-side-sheet
56
+ * @slot - The content: it gets `content.color` as its color, and plain text the body role; it scrolls between the header and the actions.
57
+ * @slot actions - Tanrei Buttons, each marked `confirming` or `dismissive`; at least one in a modal sheet. The sheet places them and gives those without a `variant` its own; it never restyles them.
58
+ * @csspart container - The panel: the `<aside>` of a standard sheet, the `<dialog>` of a modal one (its `::backdrop` is the scrim).
59
+ * @csspart outline - The start edge.
60
+ * @csspart header - The row that holds the headline and the close button.
61
+ * @csspart headline - The headline (a heading).
62
+ * @csspart close-button - The close button, an icon-only `<tanrei-button>`.
63
+ * @csspart content - The box that insets and scrolls the content.
64
+ * @csspart divider - A hairline: above the actions while there are actions, and below the header while the content is scrolled from its top (hidden from assistive technology).
65
+ * @csspart actions - The row (or column) of actions.
66
+ * @fires {CustomEvent<TanreiSideSheetCloseDetail>} close - The sheet asks to be closed: `detail.reason` is `close` (its close button), or for a modal sheet `scrim`, `escape`, `back` or `drag`. Set `open` to false.
67
+ */
68
+ export class TanreiSideSheet extends LitElement {
69
+ constructor() {
70
+ super(...arguments);
71
+ this.availability = new AvailabilityController(this, 'side-sheet');
72
+ /** The product's words, read where the instance gives none (src/primitives/words.ts). */
73
+ this.words = new WordsController(this);
74
+ /** `standard` (the default) sits beside the content; `modal` slides over it with a scrim and holds focus. A value the active system does not have is drawn as `standard`, reported (SSH-13). Reflected. */
75
+ this.variant = 'standard';
76
+ /** Whether the sheet is shown: a standard one takes its width in the layout, a modal one is presented. Controlled: set it to false in answer to `close`. Reflected. */
77
+ this.open = false;
78
+ /** What the sheet is about ("Filters"), drawn in its header and used as its accessible name. Required (SSH-12). */
79
+ this.headline = '';
80
+ /** Draws the close button at the end of the header. Give a standard sheet one unless your own control closes it. Reflected. */
81
+ this.closable = false;
82
+ /** The close button's accessible name ("Close filters"). Required while `closable` (SSH-5). */
83
+ this.closeLabel = '';
84
+ /** SSH-11, SSH-16: whether the sheet has at least one action. */
85
+ this.hasActions = false;
86
+ /** SSH-10: the content children, assigned to the default slot. */
87
+ this.content = [];
88
+ /** SSH-11, SSH-17: the actions, by run, placed and given the sheet's variant. */
89
+ this.placement = new ActionPlacement(this, (action) => this.resize$?.observe(action));
90
+ this.mutation$ = new MutationObserver(() => this.readSlots());
91
+ /** SSH-20: how much of the sheet the on-screen keyboard covers, as last applied. */
92
+ this.keyboard = 0;
93
+ /** SSH-13: variants a design system adds, and a value the active system does not have (src/primitives/axes.ts). */
94
+ this.axes = new OpenAxesController(this, { component: 'side-sheet', behavior: 'SSH-13', axes: AXES });
95
+ /** Where focus was when the sheet opened (SSH-3). */
96
+ this.opener = null;
97
+ /** A modal sheet is presented (in the top layer). */
98
+ this.shown = false;
99
+ this.pressedScrim = false;
100
+ this.dragged = false;
101
+ this.drag = null;
102
+ /** How far the sheet was drawn from where it rests, toward its end edge, when the drag began to follow. */
103
+ this.dragFrom = 0;
104
+ /** How far it is drawn from where it rests while it follows a drag. */
105
+ this.offset = 0;
106
+ /** Whether focus was inside a standard sheet that is closing (read before the render makes it inert). */
107
+ this.closingWithFocus = false;
108
+ this.resize$ = typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(() => this.layout());
109
+ this.onCloseClick = () => {
110
+ if (this.dragged)
111
+ return;
112
+ this.requestClose('close');
113
+ };
114
+ /** SSH-4, SSH-2, SSH-15: Escape asks to close (only the topmost overlay answers it); Tab stays inside. */
115
+ this.onKeyDown = (event) => {
116
+ const dialog = this.dialog;
117
+ if (dialog)
118
+ modalSheetKeys(event, dialog, () => this.requestClose('escape'));
119
+ };
120
+ /** A close request without a key the sheet saw (Android's back) arrives as the native cancel. */
121
+ this.onNativeCancel = (event) => {
122
+ event.preventDefault();
123
+ this.requestClose(closeRequestReason(event));
124
+ };
125
+ /** The browser closed the dialog itself (a close request it would not let the sheet cancel): ask, and stay unless closed. */
126
+ this.onNativeClose = () => {
127
+ const dialog = this.dialog;
128
+ if (!this.shown || !dialog || dialog.open)
129
+ return;
130
+ this.requestClose('back');
131
+ if (this.open && this.modal)
132
+ dialog.showModal();
133
+ };
134
+ /**
135
+ * On the way down (capture): the click that ends a drag activates nothing — not the close button, the content or the
136
+ * actions; a press that began and ended on the scrim asks to close.
137
+ */
138
+ this.onClick = {
139
+ capture: true,
140
+ handleEvent: (event) => {
141
+ if (this.dragged) {
142
+ event.stopPropagation();
143
+ event.preventDefault();
144
+ this.pressedScrim = false;
145
+ return;
146
+ }
147
+ const scrim = this.pressedScrim && onBackdrop(event, this.dialog);
148
+ this.pressedScrim = false;
149
+ if (scrim)
150
+ this.requestClose('scrim');
151
+ },
152
+ };
153
+ this.onPointerDown = (event) => {
154
+ this.pressedScrim = onBackdrop(event, this.dialog);
155
+ if (this.pressedScrim || !this.open || !this.shown)
156
+ return;
157
+ if (this.drag || (event.pointerType === 'mouse' && event.button !== 0))
158
+ return;
159
+ this.drag = new SheetDrag(event, 'x');
160
+ // The drag is followed through the window, wherever the pointer goes (pointer capture alone can fail to take).
161
+ this.listenToDrag(true);
162
+ };
163
+ this.onPointerMove = (event) => {
164
+ const drag = this.drag;
165
+ const dialog = this.dialog;
166
+ if (!drag || !dialog || event.pointerId !== drag.id)
167
+ return;
168
+ const step = drag.move(event);
169
+ if (step === 'wait')
170
+ return;
171
+ if (step === 'start') {
172
+ // From where it is drawn (a slide back in progress included); nothing transitions while it follows.
173
+ this.dragFrom = this.drawnOffset();
174
+ dialog.classList.add('dragging');
175
+ try {
176
+ dialog.setPointerCapture?.(event.pointerId);
177
+ }
178
+ catch {
179
+ // A pointer the browser no longer counts as active cannot be captured; the window still follows it.
180
+ }
181
+ }
182
+ this.place(Math.max(0, this.dragFrom + this.towardEnd(drag.distance(event))));
183
+ };
184
+ this.onPointerUp = (event) => {
185
+ const drag = this.drag;
186
+ if (drag && event.pointerId !== drag.id)
187
+ return;
188
+ this.drag = null;
189
+ this.listenToDrag(false);
190
+ const dialog = this.dialog;
191
+ if (!drag || !dialog || !drag.following)
192
+ return;
193
+ // The click that ends a drag activates nothing.
194
+ this.dragged = true;
195
+ setTimeout(() => (this.dragged = false), 0);
196
+ // It stays where the drag left it (no transition runs on removing the class, the offset being unchanged).
197
+ dialog.classList.remove('dragging');
198
+ const velocity = event.type === 'pointercancel' ? 0 : this.towardEnd(drag.velocity(event));
199
+ if (!sideSheetRelease(this.offset, velocity, dialog.getBoundingClientRect().width)) {
200
+ this.slideBack();
201
+ return;
202
+ }
203
+ // SSH-6: ask, hold where the drag left it for one frame, then slide out from there (the product closed it: the exit
204
+ // motion starts from the offset) or slide back (it declined).
205
+ this.requestClose('drag');
206
+ requestAnimationFrame(() => {
207
+ if (this.open && this.shown)
208
+ this.slideBack();
209
+ });
210
+ };
211
+ this.onScroll = () => this.syncHeaderDivider();
212
+ /**
213
+ * SSH-20: while the on-screen keyboard covers the bottom of the sheet (the part of it below the visual viewport), the
214
+ * divider and the actions sit directly above it and the content scrolls in the room left, the focused element scrolled
215
+ * into it; the header stays. At once: the web moves nothing for its keyboard.
216
+ */
217
+ this.onViewport = () => {
218
+ const sheet = this.sheet;
219
+ const cover = sheet && this.open ? Math.round(this.modal ? keyboardCover() : keyboardCover(sheet.getBoundingClientRect().bottom)) : 0;
220
+ if (cover === this.keyboard)
221
+ return;
222
+ this.keyboard = cover;
223
+ if (cover > 0)
224
+ sheet?.style.setProperty('--_keyboard', `${cover}px`);
225
+ else
226
+ sheet?.style.removeProperty('--_keyboard');
227
+ if (cover <= 0)
228
+ return;
229
+ const active = deepActive();
230
+ const content = this.renderRoot.querySelector('.content');
231
+ const inContent = !!active && this.content.some((node) => node === active || node.contains(active) || (node instanceof Element && focusWithin(node)));
232
+ if (inContent && content)
233
+ active?.scrollIntoView({ block: 'nearest', inline: 'nearest' });
234
+ };
235
+ }
236
+ static { this.styles = styles; }
237
+ // The children are assigned by hand: the content to the default slot, the actions to three slots in the order the
238
+ // orientation places them (BGR-15), so that focus and the accessibility tree follow the placed order without CSS `order`.
239
+ static { this.shadowRootOptions = { ...LitElement.shadowRootOptions, slotAssignment: 'manual' }; }
240
+ static { this.properties = {
241
+ variant: { type: String, reflect: true },
242
+ open: { type: Boolean, reflect: true },
243
+ headline: { type: String },
244
+ closable: { type: Boolean, reflect: true },
245
+ closeLabel: { type: String, attribute: 'close-label' },
246
+ hasActions: { state: true },
247
+ }; }
248
+ get modal() {
249
+ return this.variant === 'modal';
250
+ }
251
+ get sheet() {
252
+ return this.renderRoot?.querySelector('.sheet') ?? null;
253
+ }
254
+ get dialog() {
255
+ return this.renderRoot?.querySelector('dialog') ?? null;
256
+ }
257
+ /** A choice of kind, by name, as the cascade gives it now — never cached, so a system switch is seen; unknown is the first. */
258
+ choice(token, values) {
259
+ return compChoice(this, `${PREFIX}-${token}`, values);
260
+ }
261
+ /** @internal SSH-17: the variant it gives one of its actions whose own is not set (src/primitives/group-item.ts). */
262
+ [HOST_VARIANT](child) {
263
+ return child.parentElement === this && child.getAttribute('slot') === 'actions' ? this.choice('actions-variant', BUTTON_VARIANTS) : null;
264
+ }
265
+ connectedCallback() {
266
+ super.connectedCallback();
267
+ this.mutation$.observe(this, {
268
+ childList: true,
269
+ subtree: true,
270
+ characterData: true,
271
+ attributes: true,
272
+ attributeFilter: ['slot', 'confirming', 'dismissive'],
273
+ });
274
+ window.visualViewport?.addEventListener('resize', this.onViewport);
275
+ window.visualViewport?.addEventListener('scroll', this.onViewport);
276
+ if (this.hasUpdated)
277
+ this.readSlots();
278
+ // Moved in the document while open: presented again, in place (as mounted).
279
+ if (this.hasUpdated && this.open && this.modal)
280
+ this.present(true);
281
+ }
282
+ disconnectedCallback() {
283
+ super.disconnectedCallback();
284
+ this.mutation$.disconnect();
285
+ window.visualViewport?.removeEventListener('resize', this.onViewport);
286
+ window.visualViewport?.removeEventListener('scroll', this.onViewport);
287
+ this.resize$?.disconnect();
288
+ this.drag = null;
289
+ this.listenToDrag(false);
290
+ if (this.shown)
291
+ this.withdraw(false);
292
+ }
293
+ // ---- SSH-4, SSH-5: asking to close ----
294
+ /** SSH-4, SSH-5: `close` with the reason, once, while open; a standard sheet answers only its close button. */
295
+ requestClose(reason) {
296
+ if (!this.open)
297
+ return;
298
+ if (!this.modal && reason !== 'close')
299
+ return;
300
+ this.dispatchEvent(new CustomEvent('close', { detail: { reason } }));
301
+ }
302
+ // ---- SSH-4, SSH-6: the drag toward the end edge ----
303
+ /** The distance `dx` (px, rightward positive) toward the end edge, whatever the direction of the text. */
304
+ towardEnd(dx) {
305
+ return getComputedStyle(this).direction === 'rtl' ? -dx : dx;
306
+ }
307
+ /** How far the modal sheet is drawn from where it rests, toward its end edge (whatever is moving it). */
308
+ drawnOffset() {
309
+ const dialog = this.dialog;
310
+ if (!dialog)
311
+ return 0;
312
+ const box = dialog.getBoundingClientRect();
313
+ const rtl = getComputedStyle(this).direction === 'rtl';
314
+ return Math.max(0, rtl ? -box.left : box.right - document.documentElement.clientWidth);
315
+ }
316
+ listenToDrag(on) {
317
+ const listeners = [
318
+ ['pointermove', this.onPointerMove],
319
+ ['pointerup', this.onPointerUp],
320
+ ['pointercancel', this.onPointerUp],
321
+ ];
322
+ for (const [type, listener] of listeners) {
323
+ if (on)
324
+ window.addEventListener(type, listener, true);
325
+ else
326
+ window.removeEventListener(type, listener, true);
327
+ }
328
+ }
329
+ /** Draws the modal sheet `offset` from where it rests, toward its end edge. */
330
+ place(offset) {
331
+ this.offset = offset;
332
+ const rtl = getComputedStyle(this).direction === 'rtl';
333
+ if (offset > 0)
334
+ this.dialog?.style.setProperty('--_drag', `${rtl ? -offset : offset}px`);
335
+ else
336
+ this.dialog?.style.removeProperty('--_drag');
337
+ }
338
+ /** SSH-4: back to where it rests, over the enter motion (the open dialog's transition), at once where motion is reduced. */
339
+ slideBack() {
340
+ this.place(0);
341
+ }
342
+ // ---- SSH-8, SSH-10, SSH-11, SSH-17, SSH-19, SSH-20: the parts and their layout ----
343
+ /** SSH-10, SSH-11: which child goes to which slot, and the actions' runs (BGR-13, BGR-14, BGR-18). */
344
+ readSlots() {
345
+ const nodes = [...this.childNodes];
346
+ this.content = nodes.filter((node) => (node instanceof Element && !node.hasAttribute('slot')) || (node.nodeType === Node.TEXT_NODE && !!node.textContent?.trim()));
347
+ this.placement.read(nodes.filter((node) => node instanceof Element && node.getAttribute('slot') === 'actions'));
348
+ this.placement.give(this.choice('actions-variant', BUTTON_VARIANTS));
349
+ const filled = this.placement.actions.length > 0;
350
+ if (filled !== this.hasActions)
351
+ this.hasActions = filled;
352
+ else {
353
+ this.assign();
354
+ this.layout();
355
+ }
356
+ }
357
+ /** The slots assigned by hand: the content, and the actions in the order of the orientation (BGR-15). */
358
+ assign() {
359
+ const root = this.renderRoot;
360
+ if (!root)
361
+ return;
362
+ assignSlot(root.querySelector('slot:not([name])'), this.content);
363
+ this.placement.assign(root.querySelectorAll('.actions slot'));
364
+ }
365
+ /**
366
+ * SSH-5, SSH-17: the variants the sheet's tokens name, read now (a system switch is seen at the next layout): the close
367
+ * button's, and the one every action without its own draws.
368
+ */
369
+ giveVariants() {
370
+ giveVariant(this.renderRoot?.querySelector('tanrei-button.close'), this.choice('close-button-variant', BUTTON_VARIANTS));
371
+ this.placement.give(this.choice('actions-variant', BUTTON_VARIANTS));
372
+ }
373
+ /**
374
+ * SSH-11: the actions as the system's arrangement places them — `fill` a row while every label fits its equal share,
375
+ * `start` while the row at their own widths fits the inner width, and a column otherwise; SSH-10: a content that
376
+ * scrolls is a Tab stop, so the keyboard can scroll it; SSH-19: the divider below the header.
377
+ */
378
+ layout() {
379
+ const sheet = this.sheet;
380
+ if (!sheet)
381
+ return;
382
+ this.giveVariants();
383
+ const arrangement = this.choice('actions-arrangement', ARRANGEMENTS);
384
+ sheet.dataset.arrangement = arrangement;
385
+ const actions = this.renderRoot.querySelector('.actions');
386
+ if (actions && this.hasActions) {
387
+ const { changed } = this.placement.measure(actions, arrangement === 'start' ? 'packed' : 'fill');
388
+ if (changed)
389
+ this.assign();
390
+ }
391
+ const content = this.renderRoot.querySelector('.content');
392
+ if (content) {
393
+ if (content.scrollHeight > content.clientHeight + 0.5)
394
+ content.setAttribute('tabindex', '0');
395
+ else
396
+ content.removeAttribute('tabindex');
397
+ }
398
+ this.syncHeaderDivider();
399
+ }
400
+ /** SSH-19: a divider below the header while the content is scrolled away from its top; at once, without motion. */
401
+ syncHeaderDivider() {
402
+ const header = this.renderRoot?.querySelector('.header');
403
+ const content = this.renderRoot?.querySelector('.content');
404
+ if (header && content)
405
+ header.classList.toggle('scrolled', content.scrollTop > 0.5);
406
+ }
407
+ // ---- SSH-1, SSH-2, SSH-3: presenting and focus ----
408
+ /** SSH-3: focus to the slotted element marked `autofocus`, else the sheet itself, so its headline is read first. */
409
+ focusInside() {
410
+ const marked = this.querySelector('[autofocus]');
411
+ if (marked && !marked.closest('[inert]'))
412
+ marked.focus();
413
+ else
414
+ this.sheet?.focus();
415
+ }
416
+ /** SSH-3: focus back where it was when the sheet opened — or dropped, where that element is gone. */
417
+ restoreFocus() {
418
+ const opener = this.opener;
419
+ this.opener = null;
420
+ returnFocus(opener, this);
421
+ }
422
+ /** SSH-2, SSH-3: in the top layer, the page held, focus in. Mounted open, it appears in place without motion. */
423
+ present(mounted) {
424
+ const dialog = this.dialog;
425
+ if (!dialog || this.shown || !this.isConnected)
426
+ return;
427
+ watchEscape();
428
+ this.place(0);
429
+ this.opener = deepActive();
430
+ if (mounted) {
431
+ dialog.classList.add('instant');
432
+ requestAnimationFrame(() => requestAnimationFrame(() => dialog.classList.remove('instant')));
433
+ }
434
+ // SSH-16: counted when it opens — or, in a document that is still being read, once it has been: its actions stand
435
+ // after its start tag, and a sheet whose element was defined before its markup opens before they are there.
436
+ const count = () => {
437
+ if (this.shown && !this.placement.actions.length) {
438
+ report(this, 'SSH-16', 'a modal side sheet opened with no action; it must offer at least one: add a <tanrei-button slot="actions">', { once: false, level: 'error' });
439
+ }
440
+ };
441
+ if (!dialog.open)
442
+ dialog.showModal();
443
+ this.shown = true;
444
+ if (document.readyState === 'loading')
445
+ document.addEventListener('DOMContentLoaded', count, { once: true });
446
+ else
447
+ count();
448
+ modalLayer.add(this);
449
+ holdPageScroll(this, true);
450
+ this.layout();
451
+ this.onViewport();
452
+ this.focusInside();
453
+ }
454
+ /** SSH-2, SSH-3: out of the top layer (sliding from where it is drawn), the page given back, focus back where it was. */
455
+ withdraw(restore) {
456
+ if (!this.shown)
457
+ return;
458
+ this.shown = false;
459
+ this.drag = null;
460
+ this.listenToDrag(false);
461
+ modalLayer.delete(this);
462
+ holdPageScroll(this, false);
463
+ const hadFocus = focusWithin(this);
464
+ const dialog = this.dialog;
465
+ dialog?.classList.remove('dragging');
466
+ if (dialog?.open)
467
+ dialog.close();
468
+ if (restore && hadFocus)
469
+ this.restoreFocus();
470
+ else
471
+ this.opener = null;
472
+ }
473
+ willUpdate(changed) {
474
+ if (changed.has('open') && changed.get('open') === true && !this.open && !this.modal)
475
+ this.closingWithFocus = focusWithin(this);
476
+ }
477
+ /** What changes whether the actions fit and whether the content scrolls: the content box, the content and the row. */
478
+ observe() {
479
+ for (const selector of ['.sheet', '.content', '.inner', '.actions']) {
480
+ const element = this.renderRoot.querySelector(selector);
481
+ if (element)
482
+ this.resize$?.observe(element);
483
+ }
484
+ }
485
+ firstUpdated() {
486
+ this.readSlots();
487
+ this.observe();
488
+ }
489
+ updated(changed) {
490
+ // Before it is presented or measured: the slots of the element just rendered hold their children.
491
+ this.assign();
492
+ // SSH-12, SSH-5: what a debug build reports.
493
+ if ((changed.has('headline') || changed.has('variant')) && !this.headline.trim()) {
494
+ report(this, 'SSH-12', `headline is empty, so the ${this.modal ? 'modal dialog' : 'complementary region'} has no accessible name; give it a headline`);
495
+ }
496
+ if ((changed.has('closable') || changed.has('closeLabel')) && this.closable && this.words.lacks('closeLabel', this.closeLabel)) {
497
+ report(this, 'SSH-5', 'close-label is empty, so the close button has no accessible name; give it a close-label');
498
+ }
499
+ const variantChanged = changed.has('variant') && changed.get('variant') !== undefined;
500
+ if (variantChanged) {
501
+ // Another element holds the panel now: observe it, and lay it out before it is presented.
502
+ this.observe();
503
+ this.keyboard = -1;
504
+ this.layout();
505
+ if (this.shown && !this.modal)
506
+ this.withdraw(false);
507
+ }
508
+ if (changed.has('open') || variantChanged) {
509
+ const mounted = changed.has('open') && changed.get('open') === undefined;
510
+ const was = changed.has('open') ? changed.get('open') === true : this.open;
511
+ if (this.modal) {
512
+ // SSH-3: a modal sheet mounted open takes focus as if it had just opened.
513
+ if (this.open)
514
+ this.present(mounted || variantChanged);
515
+ else if (this.shown)
516
+ this.withdraw(true);
517
+ }
518
+ else if (changed.has('open') && !mounted) {
519
+ // SSH-3: a standard sheet opened moves focus in; closed with focus inside, it gives it back. Mounted open, it
520
+ // leaves focus where it is (it makes nothing unfocusable).
521
+ if (this.open && !was) {
522
+ this.opener = deepActive();
523
+ this.focusInside();
524
+ }
525
+ else if (!this.open && was && this.closingWithFocus) {
526
+ this.closingWithFocus = false;
527
+ this.restoreFocus();
528
+ }
529
+ }
530
+ }
531
+ // A footer drawn anew, a close button, or the sheet opening: observed, laid out and given the variants the tokens
532
+ // name now.
533
+ if (changed.has('hasActions') || changed.has('closable') || changed.has('headline') || changed.has('open') || variantChanged) {
534
+ this.observe();
535
+ this.layout();
536
+ }
537
+ if (changed.has('open'))
538
+ this.onViewport();
539
+ }
540
+ body() {
541
+ const headline = this.headline.trim() ? this.headline : '';
542
+ const header = !!headline || this.closable;
543
+ return html `
544
+ <div part="outline" class="edge" aria-hidden="true"></div>
545
+ ${header
546
+ ? html `<div part="header" class=${classMap({ header: true, closable: this.closable })}>
547
+ ${headline ? html `<h2 part="headline" class="headline">${headline}</h2>` : nothing}
548
+ ${this.closable
549
+ ? html `<tanrei-button part="close-button" class="close" size="medium" label=${this.words.get('closeLabel', this.closeLabel)} @click=${this.onCloseClick}><span slot="icon">close</span></tanrei-button>`
550
+ : nothing}
551
+ <div part="divider" class="divider below-header" aria-hidden="true"></div>
552
+ </div>`
553
+ : nothing}
554
+ <div class="middle">
555
+ <div part="content" class=${classMap({ content: true, top: !header, bottom: !this.hasActions })} data-tanrei-shape @scroll=${this.onScroll}>
556
+ <div class="inner"><slot @slotchange=${() => this.layout()}></slot></div>
557
+ </div>
558
+ <span class="focus" data-tanrei-shape></span>
559
+ </div>
560
+ <div class="footer" ?hidden=${!this.hasActions}>
561
+ <div part="divider" class="divider above-actions" aria-hidden="true"></div>
562
+ <div part="actions" class="actions"><slot name="actions-first"></slot><slot name="actions-between"></slot><slot name="actions-last"></slot></div>
563
+ </div>
564
+ `;
565
+ }
566
+ render() {
567
+ const label = this.headline.trim() || nothing;
568
+ if (this.modal) {
569
+ // SSH-12: a modal dialog named by the headline.
570
+ return html `<dialog
571
+ part="container"
572
+ class="sheet"
573
+ aria-label=${label}
574
+ tabindex="-1"
575
+ data-tanrei-shape
576
+ @keydown=${this.onKeyDown}
577
+ @cancel=${this.onNativeCancel}
578
+ @close=${this.onNativeClose}
579
+ @pointerdown=${this.onPointerDown}
580
+ @click=${this.onClick}
581
+ >
582
+ ${this.body()}
583
+ </dialog>`;
584
+ }
585
+ // SSH-1, SSH-12: a complementary region named by the headline; closed, out of the focus order and the accessibility
586
+ // tree at once (inert), and hidden once it has slid out.
587
+ return html `<aside part="container" class="sheet standard" aria-label=${label} tabindex="-1" ?inert=${!this.open} data-tanrei-shape>${this.body()}</aside>`;
588
+ }
589
+ }
590
+ if (!customElements.get('tanrei-side-sheet'))
591
+ customElements.define('tanrei-side-sheet', TanreiSideSheet);
592
+ //# sourceMappingURL=side-sheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-sheet.js","sourceRoot":"","sources":["../../../src/components/side-sheet/side-sheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkD,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,YAAY,EACZ,kBAAkB,EAElB,UAAU,EACV,UAAU,EACV,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,cAAc,EACd,aAAa,EACb,UAAU,EACV,cAAc,EACd,UAAU,EACV,MAAM,EACN,WAAW,EACX,WAAW,EACX,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAYtD;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAAgB,EAAE,QAAgB,EAAE,KAAa;IAChF,OAAO,QAAQ,GAAG,KAAK,GAAG,CAAC,IAAI,QAAQ,GAAG,oBAAoB,CAAC;AACjE,CAAC;AAED,MAAM,MAAM,GAAG,0BAA0B,CAAC;AAC1C,sHAAsH;AACtH,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAM,OAAO,eAAgB,SAAQ,UAAU;IAA/C;;QACmB,iBAAY,GAAG,IAAI,sBAAsB,CAAC,IAAI,EAAE,YAAY,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AGI,KAAK;;;mBAGP,IAAI,CAAC,SAAS;kBACf,IAAI,CAAC,cAAc;iBACpB,IAAI,CAAC,aAAa;uBACZ,IAAI,CAAC,aAAa;iBACxB,IAAI,CAAC,OAAO;;UAEnB,IAAI,CAAC,IAAI,EAAE;gBACL,CAAC;QACb,CAAC;QACD,oHAAoH;QACpH,yDAAyD;QACzD,OAAO,IAAI,CAAA,6DAA6D,KAAK,yBAAyB,CAAC,IAAI,CAAC,IAAI,sBAAsB,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC;IAC9J,CAAC;CACF;AAED,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,mBAAmB,CAAC;IAAE,cAAc,CAAC,MAAM,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type OpenAxis } from '../../primitives/index.js';
2
+ export declare const CORE_VARIANTS: readonly ['standard', 'modal'];
3
+ export declare const DEFAULT_VARIANT = "standard";
4
+ /**
5
+ * The open axis (SSH-13): a variant a layer added gets its block on demand, built by the same function and
6
+ * falling back to standard's tokens (and laid out as a standard sheet); a value the active system lacks is reported.
7
+ */
8
+ export declare const AXES: readonly OpenAxis[];
9
+ export declare const styles: import("lit").CSSResult;