@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,934 @@
1
+ import { css, unsafeCSS } from 'lit';
2
+ import { conditionBlock, focusRing, iconGlyph, pressHold, rippleStyles, stateRules } from '../../primitives/index.js';
3
+ import { productText } from '../../styles/product-text.js';
4
+ import { cornerRadius, shape } from '../../styles/shape.js';
5
+ // Every visual value is a token (tokens/comp/navigation-drawer.tokens.json). The drawer paints its panel per variant
6
+ // (standard or modal: the color, elevation, end corners and end edge) and lays out its header, sections, groups and
7
+ // cells; each cell (a destination's, or a group's row) paints its item container (the state layer's box and the active
8
+ // indicator), icon indicator, icon, label, short label and trailing content from its condition and state:
9
+ // `unselected` and `selected` while the drawer is expanded, `collapsed-unselected` and `collapsed-selected` while it is
10
+ // collapsed (NVD-3).
11
+ //
12
+ // ONE LAYOUT FOR BOTH FORMS (NVD-31, NVD-35). Everything inside the drawer is laid out for the expanded drawer, at
13
+ // comp.navigation-drawer.container.width, whatever the form: the icon column is half of collapsed.container.width from
14
+ // the start edge in both, every cell has the same height in both, and the drawer's panel — whose width is the only thing
15
+ // that follows the form — clips what lies past its moving end edge. So no icon, header button or main action glyph ever
16
+ // moves. What changes with the form is drawn on top of that layout: each item container changes between the expanded
17
+ // row and the collapsed cell around the same icon line — in the default system the collapsed cell is the row cut after
18
+ // its icon, with the row's height and corners, so only its end edge moves; a system whose collapsed column is another
19
+ // design (Material's) gives it another size and corner by value — the labels, trailing content, headings' text and the
20
+ // header slot fade out (collapsing: the first half) or in (expanding: the second half), and the short labels, where
21
+ // collapsedLabels draws them, the other way.
22
+ //
23
+ // WHAT THE DRAWER IS (NVD-30, NVD-53). The host carries, as state attributes the element writes, what it is drawn as:
24
+ // `data-as` (standard or modal), `data-collapsible`, `data-open` and `collapsed`. For a drawer that is not responsive
25
+ // they repeat its props; for a responsive one they are what its presentation stands for (`presentation`: standard,
26
+ // column or modal), whatever `variant` and `open` say. The styles read these, never the props.
27
+ export const CORE_VARIANTS = ['standard', 'modal'];
28
+ export const DEFAULT_VARIANT = 'standard';
29
+ const PREFIX = '--tanrei-comp-navigation-drawer';
30
+ const T = (name) => `var(${PREFIX}-${name})`;
31
+ const t = (name) => unsafeCSS(T(name));
32
+ // A value the core does not have may be missing from the active design system: fall back to the default's token.
33
+ const ref = (name, variant, fallback) => (fallback ? `var(${PREFIX}-${name}-${variant}, var(${PREFIX}-${name}-${fallback}))` : `var(${PREFIX}-${name}-${variant})`);
34
+ /** One variant's members (`dev.tanrei.axes.variant.members`) as private custom properties under `selector`. */
35
+ const variantBlock = (variant, selector, fallback = null) => `${selector} {
36
+ --_bg: ${ref('container-color', variant, fallback)};
37
+ --_elevation: ${ref('container-elevation', variant, fallback)};
38
+ --_edge: ${ref('outline-color', variant, fallback)};
39
+ --_shape: ${ref('container-shape', variant, fallback)};
40
+ --_shape-pill: ${fallback ? `var(${PREFIX}-container-shape-${variant}-pill, var(${PREFIX}-container-shape-${fallback}-pill, 0))` : `var(${PREFIX}-container-shape-${variant}-pill, 0)`};
41
+ }`;
42
+ /**
43
+ * The open axis (NVD-26): a variant a layer added gets its block on demand, built by the same function and
44
+ * falling back to standard's tokens (and presented as a standard drawer); a value the active system lacks is reported.
45
+ */
46
+ export const AXES = [
47
+ { name: 'variant', core: CORE_VARIANTS, default: DEFAULT_VARIANT, rules: (value, selector) => variantBlock(value, selector, DEFAULT_VARIANT), probe: (value) => `${PREFIX}-container-color-${value}` },
48
+ ];
49
+ /** The icon column's width (the collapsed drawer's) and the drawer's inner padding. */
50
+ const COLUMN = T('collapsed-container-width');
51
+ const PAD_INLINE = T('container-padding-inline');
52
+ /** One line of the short label: its typescale's size times its line height (a number). */
53
+ const SHORT_LINE = `calc(${T('collapsed-item-label-typescale-font-size')} * ${T('collapsed-item-label-typescale-line-height')})`;
54
+ const EXPAND = T('motion-expand-duration');
55
+ const EXPAND_EASING = T('motion-expand-easing');
56
+ /** The first half of the change of form, and the second (NVD-35). */
57
+ const FIRST_HALF = `calc(${EXPAND} / 2) ${EXPAND_EASING} 0s`;
58
+ const SECOND_HALF = `calc(${EXPAND} / 2) ${EXPAND_EASING} calc(${EXPAND} / 2)`;
59
+ /** The change of form's own motion, for what only the form changes. */
60
+ const MORPH = `${EXPAND} ${EXPAND_EASING}`;
61
+ const ENTER = `${T('motion-enter-duration')} ${T('motion-enter-easing')}`;
62
+ const EXIT = `${T('motion-exit-duration')} ${T('motion-exit-easing')}`;
63
+ /**
64
+ * The drawer (NVD-11, NVD-12, NVD-18, NVD-19, NVD-22, NVD-25, NVD-30, NVD-35, NVD-38, NVD-40). The panel is its form's
65
+ * width (container.width expanded, collapsed.container.width collapsed) beside the start inset and the full height of
66
+ * its parent (standard, or a collapsible modal drawer's column) or of the window (modal), on its variant's color and
67
+ * elevation, its end corners rounded by its variant's shape and its start corners square, with its variant's end edge.
68
+ * Inside it: the header, which stays in place, and then the items, which scroll. Logical, so right-to-left puts it at the
69
+ * right edge, mirrored.
70
+ */
71
+ export const drawerStyles = css `
72
+ :host {
73
+ display: block;
74
+ --_inset-top: env(safe-area-inset-top, 0px);
75
+ --_inset-bottom: env(safe-area-inset-bottom, 0px);
76
+ --_inset-start: env(safe-area-inset-left, 0px);
77
+ --_form-width: ${t('container-width')};
78
+ --_width: calc(var(--_form-width) + var(--_inset-start));
79
+ --_column-width: calc(${t('collapsed-container-width')} + var(--_inset-start));
80
+ }
81
+ :host(:dir(rtl)) {
82
+ --_inset-start: env(safe-area-inset-right, 0px);
83
+ }
84
+ :host([collapsed]) {
85
+ --_form-width: ${t('collapsed-container-width')};
86
+ }
87
+ /* NVD-35: while the drawer changes form, every part the form recolors cross-fades over the change's motion, and a
88
+ group's items move with it (inherited by the cells, groups and sections). */
89
+ :host([data-form-change]) {
90
+ --_nvd-recolor-duration: ${t('motion-expand-duration')};
91
+ --_nvd-recolor-easing: ${t('motion-expand-easing')};
92
+ --_nvd-reveal-duration: ${t('motion-expand-duration')};
93
+ --_nvd-reveal-easing: ${t('motion-expand-easing')};
94
+ }
95
+ /* NVD-62: until its first frame is drawn the drawer is what it was given, at once — a group that the product or
96
+ revealSelected opens or closes, a selection that the page sets — without the motions of NVD-41 and NVD-44
97
+ (inherited by the cells and groups, which read the same tokens). */
98
+ :host([data-arriving]) {
99
+ --_nvd-reveal-duration: 0s;
100
+ --_nvd-recolor-duration: 0s;
101
+ ${unsafeCSS(['disclosure', 'selection', 'state'].map((motion) => `${PREFIX}-motion-${motion}-duration: 0s;`).join('\n '))}
102
+ }
103
+ /* NVD-54, NVD-55: a change of presentation is drawn at once — the motions of NVD-18, NVD-35 and NVD-40 take no time
104
+ while it is drawn (inherited by the cells, groups and sections, which read the same tokens). */
105
+ :host([data-instant]) {
106
+ ${unsafeCSS(['expand', 'enter', 'exit', 'disclosure'].map((motion) => `${PREFIX}-motion-${motion}-duration: 0s;`).join('\n '))}
107
+ }
108
+ /* …and what was already on its way stops where the new presentation puts it. */
109
+ :host([data-instant]),
110
+ :host([data-instant]) .drawer,
111
+ :host([data-instant]) .title,
112
+ :host([data-instant]) dialog.drawer::backdrop {
113
+ transition: none !important;
114
+ }
115
+ ${unsafeCSS(variantBlock(DEFAULT_VARIANT, ':host'))}
116
+ ${unsafeCSS(CORE_VARIANTS.filter((v) => v !== DEFAULT_VARIANT).map((v) => variantBlock(v, `:host([data-as='${v}'])`)).join('\n'))}
117
+ /* NVD-40: a collapsible modal drawer's column, while it is closed, is drawn as a standard drawer's. */
118
+ ${unsafeCSS(variantBlock(DEFAULT_VARIANT, '.column'))}
119
+ :host([hidden]) {
120
+ display: none;
121
+ }
122
+
123
+ .drawer {
124
+ box-sizing: border-box;
125
+ display: flex;
126
+ flex-direction: column;
127
+ inline-size: var(--_width);
128
+ margin: 0;
129
+ border: 0;
130
+ padding: 0;
131
+ padding-block-start: var(--_inset-top);
132
+ padding-block-end: var(--_inset-bottom);
133
+ padding-inline-start: var(--_inset-start);
134
+ background: var(--_bg);
135
+ box-shadow: var(--_elevation);
136
+ color: inherit;
137
+ outline: none;
138
+ /* NVD-35: what lies past the moving end edge is clipped there. */
139
+ overflow: clip;
140
+ --tanrei-corner-radius: var(--_shape);
141
+ --tanrei-corner-pill: var(--_shape-pill);
142
+ transition: inline-size ${unsafeCSS(MORPH)};
143
+ }
144
+ /* NVD-11: only the end corners are rounded. */
145
+ .drawer[data-tanrei-shape] {
146
+ border-start-start-radius: 0;
147
+ border-end-start-radius: 0;
148
+ }
149
+ /* NVD-11: the end edge, inside the panel. */
150
+ .edge {
151
+ position: absolute;
152
+ z-index: 1;
153
+ inset-block: 0;
154
+ inset-inline-end: 0;
155
+ inline-size: ${t('outline-width')};
156
+ background: var(--_edge);
157
+ pointer-events: none;
158
+ }
159
+ /* The modal drawer's navigation landmark: the dialog's whole content (a box of its own, so it is reached by focus). */
160
+ .landmark {
161
+ display: flex;
162
+ flex: 1 1 auto;
163
+ flex-direction: column;
164
+ min-block-size: 0;
165
+ position: relative;
166
+ }
167
+
168
+ /* NVD-38: the header, from the top — the header buttons stacked in the icon column, each centred on its centre line,
169
+ header.item-gap apart; the header slot's content in the first one's row, item.gap after it (padding-inline from the
170
+ start without a header button), vertically centred; and then the main action, header.item-gap below. It is laid out
171
+ for the expanded drawer and clipped by the panel, so nothing in it moves between the forms. */
172
+ .header {
173
+ box-sizing: border-box;
174
+ display: grid;
175
+ flex: none;
176
+ grid-template-columns: ${t('collapsed-container-width')} minmax(0, 1fr);
177
+ align-items: center;
178
+ row-gap: ${t('header-item-gap')};
179
+ inline-size: ${t('container-width')};
180
+ padding-block-start: ${t('container-padding-block')};
181
+ }
182
+ .header:not(.filled) {
183
+ display: none;
184
+ }
185
+ ::slotted([slot='header-button']) {
186
+ grid-column: 1;
187
+ justify-self: center;
188
+ }
189
+ .title {
190
+ grid-row: 1;
191
+ grid-column: 2;
192
+ min-inline-size: 0;
193
+ /* --_lead: where the first header button ends, from the drawer's start (measured: the button is the product's). */
194
+ margin-inline-start: calc(var(--_lead, calc(${t('collapsed-container-width')} / 2)) + ${t('item-gap')} - ${t('collapsed-container-width')});
195
+ padding-inline-end: ${t('container-padding-inline')};
196
+ opacity: 1;
197
+ transition: opacity ${unsafeCSS(SECOND_HALF)};
198
+ }
199
+ .title:not(.filled) {
200
+ display: none;
201
+ }
202
+ .header.no-buttons .title {
203
+ grid-column: 1 / -1;
204
+ margin-inline-start: ${t('container-padding-inline')};
205
+ }
206
+ :host([collapsed]) .title {
207
+ opacity: 0;
208
+ transition: opacity ${unsafeCSS(FIRST_HALF)};
209
+ }
210
+ /* NVD-52: the header's text is its own run, in the direction of its first strong character, aligned to the layout's
211
+ start edge (src/styles/product-text.ts). */
212
+ ${productText('.title', { align: 'start' })}
213
+ /* NVD-39: the main action starts where its collapsed square is centred in the icon column, in both forms (--_main-size:
214
+ its measured height, the side of that square). */
215
+ ::slotted([slot='main-action']) {
216
+ grid-column: 1 / -1;
217
+ justify-self: start;
218
+ margin-inline-start: calc((${t('collapsed-container-width')} - var(--_main-size, 0px)) / 2);
219
+ }
220
+ /* NVD-39: only the first main action is drawn. */
221
+ ::slotted([data-tanrei-drawer-extra]) {
222
+ display: none;
223
+ }
224
+
225
+ /* NVD-12: the items, header.gap below the header (padding-block below the top without one) and padding-block above
226
+ the bottom, measured to the first and the last cell; container.gap between two cells; they scroll, the header stays. */
227
+ .items {
228
+ box-sizing: border-box;
229
+ display: flex;
230
+ flex: 1 1 auto;
231
+ flex-direction: column;
232
+ gap: ${t('container-gap')};
233
+ min-block-size: 0;
234
+ overflow-x: hidden;
235
+ overflow-y: auto;
236
+ /* NVD-61: a scroll that reaches either end of the items does not go on to the page; and a write to the offset
237
+ (scrollOffset, the selection brought into view — NVD-57) is drawn at once, whatever the page's own scrolling is. */
238
+ overscroll-behavior: contain;
239
+ scroll-behavior: auto;
240
+ padding-block: ${t('container-padding-block')};
241
+ }
242
+ .header.filled + .items {
243
+ padding-block-start: ${t('header-gap')};
244
+ }
245
+ /* The change of form's clock: its motion, read through a real property (a duration token is an expression). */
246
+ .clock {
247
+ display: none;
248
+ transition-property: none;
249
+ transition-delay: ${t('motion-expand-duration')};
250
+ }
251
+
252
+ /* NVD-18: a standard drawer takes its form's width in the layout while open and none while closed, sliding while the
253
+ content beside it resizes; closed, it is hidden from assistive technology and focus (visibility, kept until the slide
254
+ ends). A change of form moves its end edge over the change's motion (NVD-35). */
255
+ :host(:not([data-as='modal'])) {
256
+ position: relative;
257
+ block-size: 100%;
258
+ inline-size: var(--_width);
259
+ overflow: hidden;
260
+ transition:
261
+ inline-size ${unsafeCSS(MORPH)},
262
+ visibility 0s;
263
+ }
264
+ :host(:not([data-as='modal'])[data-sliding][data-open]) {
265
+ transition:
266
+ inline-size ${unsafeCSS(ENTER)},
267
+ visibility 0s;
268
+ }
269
+ :host(:not([data-as='modal']):not([data-open])) {
270
+ inline-size: 0;
271
+ visibility: hidden;
272
+ transition:
273
+ inline-size ${unsafeCSS(EXIT)},
274
+ visibility 0s linear ${t('motion-exit-duration')};
275
+ }
276
+ .standard {
277
+ position: absolute;
278
+ inset-block: 0;
279
+ inset-inline-end: 0;
280
+ block-size: 100%;
281
+ }
282
+
283
+ /* NVD-40: a collapsible modal drawer keeps its column in the layout, closed or open (the open drawer widens over the
284
+ content from it without resizing it). */
285
+ :host([data-as='modal'][data-collapsible]) {
286
+ position: relative;
287
+ block-size: 100%;
288
+ inline-size: var(--_column-width);
289
+ }
290
+ .column {
291
+ block-size: 100%;
292
+ inline-size: var(--_column-width);
293
+ }
294
+
295
+ /* NVD-19, NVD-22: a modal drawer is a native modal <dialog> in the top layer at the window's start edge, its full height,
296
+ over ::backdrop (the scrim); it slides in from its start edge over the enter motion and out over the exit motion. */
297
+ dialog.drawer {
298
+ position: fixed;
299
+ inset-block: 0;
300
+ inset-inline-start: 0;
301
+ inset-inline-end: auto;
302
+ block-size: 100%;
303
+ max-block-size: none;
304
+ max-inline-size: 100%;
305
+ translate: var(--_drag, 0px) 0;
306
+ transition-property: translate, display, overlay;
307
+ transition-duration: ${t('motion-exit-duration')};
308
+ transition-timing-function: ${t('motion-exit-easing')};
309
+ transition-behavior: allow-discrete;
310
+ }
311
+ dialog.drawer:not([open]) {
312
+ display: none;
313
+ translate: var(--_away) 0;
314
+ }
315
+ :host {
316
+ --_away: -100%;
317
+ }
318
+ :host(:dir(rtl)) {
319
+ --_away: 100%;
320
+ }
321
+ dialog.drawer[open] {
322
+ transition-duration: ${t('motion-enter-duration')};
323
+ transition-timing-function: ${t('motion-enter-easing')};
324
+ }
325
+ dialog.drawer.dragging {
326
+ transition: none;
327
+ }
328
+ @starting-style {
329
+ dialog.drawer[open] {
330
+ translate: var(--_away) 0;
331
+ }
332
+ }
333
+ dialog.drawer::backdrop {
334
+ background: ${t('scrim-color')};
335
+ opacity: 0;
336
+ transition-property: opacity, display, overlay;
337
+ transition-duration: ${t('motion-exit-duration')};
338
+ transition-timing-function: ${t('motion-exit-easing')};
339
+ transition-behavior: allow-discrete;
340
+ }
341
+ dialog.drawer[open]::backdrop {
342
+ opacity: 1;
343
+ transition-duration: ${t('motion-enter-duration')};
344
+ transition-timing-function: ${t('motion-enter-easing')};
345
+ }
346
+ @starting-style {
347
+ dialog.drawer[open]::backdrop {
348
+ opacity: 0;
349
+ }
350
+ }
351
+
352
+ /* NVD-40: a collapsible modal drawer does not slide: it widens over the content from its column (placed over it: the
353
+ column's box, measured when it opens) and narrows back to it, and its scrim fades, over the change's motion. */
354
+ dialog.drawer.widening {
355
+ inset-block: auto;
356
+ inset-block-start: var(--_top, 0px);
357
+ inset-inline-start: var(--_start, 0px);
358
+ block-size: var(--_height, 100%);
359
+ transition-property: inline-size, translate, display, overlay;
360
+ transition-duration: ${t('motion-expand-duration')};
361
+ transition-timing-function: ${t('motion-expand-easing')};
362
+ }
363
+ dialog.drawer.widening:not([open]) {
364
+ display: none;
365
+ translate: 0 0;
366
+ }
367
+ @starting-style {
368
+ dialog.drawer.widening[open] {
369
+ translate: 0 0;
370
+ inline-size: var(--_column-width);
371
+ }
372
+ }
373
+ dialog.drawer.widening.dragging {
374
+ transition: none;
375
+ }
376
+ dialog.drawer.widening::backdrop,
377
+ dialog.drawer.widening[open]::backdrop {
378
+ transition-duration: ${t('motion-expand-duration')};
379
+ transition-timing-function: ${t('motion-expand-easing')};
380
+ }
381
+
382
+ ${shape}
383
+
384
+ @media (prefers-reduced-motion: reduce) {
385
+ :host(:not([data-as='modal'])),
386
+ :host(:not([data-as='modal'])[data-sliding][data-open]),
387
+ :host(:not([data-as='modal']):not([data-open])),
388
+ .drawer,
389
+ .title,
390
+ :host([collapsed]) .title,
391
+ dialog.drawer,
392
+ dialog.drawer[open],
393
+ dialog.drawer.widening,
394
+ dialog.drawer::backdrop,
395
+ dialog.drawer[open]::backdrop,
396
+ dialog.drawer.widening::backdrop,
397
+ dialog.drawer.widening[open]::backdrop {
398
+ transition-duration: 0s;
399
+ transition-delay: 0s;
400
+ }
401
+ .clock {
402
+ transition-delay: 0s;
403
+ }
404
+ }
405
+ @media (forced-colors: active) {
406
+ .drawer {
407
+ border-inline-end: ${t('outline-width')} solid CanvasText;
408
+ }
409
+ }
410
+ `;
411
+ /**
412
+ * A section (NVD-16, NVD-17): the divider component before it, across the drawer's inner width in either form; its
413
+ * heading in heading.typescale and heading.color in a row at least heading.height, the text centred and starting where
414
+ * the labels of destinations without an icon start; then its cells. Collapsed, the heading's row keeps its height and its
415
+ * text fades and is clipped (NVD-35).
416
+ */
417
+ export const sectionStyles = css `
418
+ :host {
419
+ display: block;
420
+ }
421
+ :host([hidden]) {
422
+ display: none;
423
+ }
424
+ .section {
425
+ display: flex;
426
+ flex-direction: column;
427
+ gap: ${t('container-gap')};
428
+ }
429
+ tanrei-divider {
430
+ align-self: stretch;
431
+ margin-inline: ${t('container-padding-inline')};
432
+ }
433
+ .heading {
434
+ box-sizing: border-box;
435
+ display: flex;
436
+ align-items: center;
437
+ min-block-size: ${t('heading-height')};
438
+ margin: 0;
439
+ overflow-x: clip;
440
+ }
441
+ .heading-text {
442
+ box-sizing: border-box;
443
+ flex: none;
444
+ inline-size: ${t('container-width')};
445
+ padding-inline: calc(${t('container-padding-inline')} + ${t('item-padding-inline')});
446
+ font: ${t('heading-typescale-font')};
447
+ letter-spacing: ${t('heading-typescale-letter-spacing')};
448
+ color: ${t('heading-color')};
449
+ opacity: 1;
450
+ transition: opacity ${unsafeCSS(SECOND_HALF)};
451
+ }
452
+ /* NVD-52: the heading is its own run, in the direction of its first strong character, aligned to the layout's start. */
453
+ ${productText('.heading-text', { align: 'start' })}
454
+ .collapsed .heading-text {
455
+ opacity: 0;
456
+ transition: opacity ${unsafeCSS(FIRST_HALF)};
457
+ }
458
+ .items {
459
+ display: flex;
460
+ flex-direction: column;
461
+ gap: ${t('container-gap')};
462
+ }
463
+ @media (prefers-reduced-motion: reduce) {
464
+ .heading-text,
465
+ .collapsed .heading-text {
466
+ transition: none;
467
+ }
468
+ }
469
+ `;
470
+ /**
471
+ * The parts each condition colors in every state: the item container (the active indicator), the icon indicator, the
472
+ * icon, the label (and the short label), the trailing text and the trailing glyph.
473
+ */
474
+ const PARTS = { c: 'item-container-color', n: 'item-icon-indicator-color', i: 'item-icon-color', l: 'item-label-color', tt: 'item-trailing-text-color', ti: 'item-trailing-icon-color' };
475
+ const set = (suffix, skip) => Object.keys(PARTS)
476
+ .filter((key) => key !== skip)
477
+ .map((key) => `\n --_${key}: var(--_${key}${suffix});`)
478
+ .join('');
479
+ /**
480
+ * Where each state is read: hover and keyboard focus on the cell (the native button or link: the whole cell is the hit
481
+ * area), press on the item container (`PressController` writes `data-pressed` there), disabled from `.d`. `:where()`
482
+ * keeps every selector at the same specificity, so the order `stateRules()` writes them in is the precedence.
483
+ */
484
+ const on = (state) => {
485
+ if (state === ':hover')
486
+ return '.cell:where(:hover)';
487
+ if (state === ':focus-visible')
488
+ return '.cell:where(:focus-visible)';
489
+ if (state === ':disabled')
490
+ return '.cell:where(.d)';
491
+ return `.cell:where(:has(.container${state}))`;
492
+ };
493
+ /** From the row's start (the drawer's inner edge) to the icon column's centre line, at the cell's level of nesting. */
494
+ const ICON_LINE_X = `calc(${COLUMN} / 2 + var(--_level, 0) * ${T('item-nest-indent')} - ${PAD_INLINE})`;
495
+ /** From the row's start to the collapsed pill's start: the pill is centred in the icon column. */
496
+ const PILL_X = `calc(${COLUMN} / 2 - ${T('collapsed-item-container-width')} / 2 - ${PAD_INLINE})`;
497
+ /**
498
+ * A cell — a destination's, or a group's row (NVD-4…10, NVD-13, NVD-14, NVD-27, NVD-31…35, NVD-41, NVD-43, NVD-44). The
499
+ * cell is the native button or link: the drawer's full width (its current width, so its hit area follows the form) and
500
+ * its height, with half of container.gap above and below it and at least the minimum target. In it, the row — laid out
501
+ * for the expanded drawer, clipped by the cell: at least item.container.height, the icon on the icon column and the
502
+ * cell's icon line (the row's centre), the label (wrapping) item.gap after it, the trailing content at its end — and,
503
+ * placed around the same icon line, the item container (the row expanded; the pill collapsed) and the short label under
504
+ * the icon.
505
+ */
506
+ export const cellStyles = css `
507
+ :host {
508
+ display: block;
509
+ outline: none;
510
+ }
511
+ :host([hidden]) {
512
+ display: none;
513
+ }
514
+ ${unsafeCSS(conditionBlock(PREFIX, 'unselected', PARTS, '.cell'))}
515
+ ${unsafeCSS(conditionBlock(PREFIX, 'selected', PARTS, '.cell.selected'))}
516
+ ${unsafeCSS(conditionBlock(PREFIX, 'collapsed-unselected', PARTS, '.cell.collapsed'))}
517
+ ${unsafeCSS(conditionBlock(PREFIX, 'collapsed-selected', PARTS, '.cell.collapsed.selected'))}
518
+
519
+ .cell {
520
+ all: unset;
521
+ box-sizing: border-box;
522
+ position: relative;
523
+ display: block;
524
+ inline-size: 100%;
525
+ padding-inline-start: ${t('container-padding-inline')};
526
+ /* NVD-35: the row, laid out for the expanded drawer, is clipped at the drawer's moving end edge. */
527
+ overflow-x: clip;
528
+ overflow-y: visible;
529
+ cursor: pointer;
530
+ -webkit-user-select: none;
531
+ user-select: none;
532
+ -webkit-tap-highlight-color: transparent;
533
+ ${unsafeCSS(set('-r'))}
534
+ /* A part the states, the selection and the form all recolor takes the state motion (NVD-41: a selection changes
535
+ color in place, over it), and the change of form's while the form changes (the drawer's). */
536
+ --_recolor-duration: var(--_nvd-recolor-duration, ${t('motion-state-duration')});
537
+ --_recolor-easing: var(--_nvd-recolor-easing, ${t('motion-state-easing')});
538
+ --_labels: calc(${t('collapsed-item-gap')} + ${unsafeCSS(SHORT_LINE)});
539
+ transition: opacity ${t('motion-state-duration')} ${t('motion-state-easing')};
540
+ }
541
+ .cell.no-labels {
542
+ --_labels: 0px;
543
+ }
544
+ /* NVD-31: while the drawer is collapsible, every cell has the same height and icon line in both forms: the icon line
545
+ lies the larger of half the expanded row and collapsed padding-block plus half the icon indicator below the top, and
546
+ the cell reaches the larger of half the expanded row and half the icon indicator, the short label's gap and line
547
+ (unless collapsedLabels is never) and collapsed padding-block below it. The row is centred on that line. */
548
+ .cell.collapsible {
549
+ padding-block-start: max(0px, calc(${t('collapsed-item-container-padding-block')} + ${t('item-icon-indicator-height')} / 2 - ${t('item-container-height')} / 2));
550
+ padding-block-end: max(0px, calc(${t('item-icon-indicator-height')} / 2 + var(--_labels) + ${t('collapsed-item-container-padding-block')} - ${t('item-container-height')} / 2));
551
+ }
552
+ /* Nothing inside the cell is hit-tested: a press anywhere in it lands on the native button or link itself. */
553
+ .cell * {
554
+ pointer-events: none;
555
+ }
556
+ .cell.d {
557
+ cursor: default;
558
+ }
559
+ /* NVD-6: the hit area is the cell with half of container.gap above and below, and never below the minimum target. */
560
+ .cell::before {
561
+ content: '';
562
+ position: absolute;
563
+ inset-inline: 0;
564
+ inset-block-start: 50%;
565
+ block-size: max(calc(100% + ${t('container-gap')}), var(--tanrei-sys-target-pointer));
566
+ transform: translateY(-50%);
567
+ }
568
+ @media (pointer: coarse) {
569
+ .cell::before {
570
+ block-size: max(calc(100% + ${t('container-gap')}), var(--tanrei-sys-target-touch));
571
+ }
572
+ }
573
+
574
+ /* NVD-13: the expanded row, across the expanded drawer's inner width (whatever the form: the cell clips it). */
575
+ .row {
576
+ box-sizing: border-box;
577
+ position: relative;
578
+ isolation: isolate;
579
+ display: flex;
580
+ align-items: center;
581
+ gap: ${t('item-gap')};
582
+ inline-size: calc(${t('container-width')} - 2 * ${t('container-padding-inline')});
583
+ min-block-size: ${t('item-container-height')};
584
+ padding-inline-end: ${t('item-padding-inline')};
585
+ }
586
+
587
+ /* NVD-13, NVD-32, NVD-35: the item container — the expanded row, which starts item.nest-indent further in for each
588
+ level of nesting (so a nested destination's fill, state layer and focus indicator hang under its group, and not
589
+ its content alone), or the collapsed cell (collapsed.item.container.width, centred in the icon column, from collapsed
590
+ padding-block above the icon indicator to collapsed padding-block below the short label, or below the icon indicator
591
+ where the short label is not drawn) — one shape that changes size and corners around the same icon line over the
592
+ change of form. Where the two forms give it the same height and corners, its end edge alone moves. */
593
+ .container {
594
+ box-sizing: border-box;
595
+ position: absolute;
596
+ z-index: -1;
597
+ isolation: isolate;
598
+ inset-block-start: 0;
599
+ inset-inline-start: calc(var(--_level, 0) * ${t('item-nest-indent')});
600
+ inline-size: calc(100% - var(--_level, 0) * ${t('item-nest-indent')});
601
+ block-size: 100%;
602
+ ${unsafeCSS(cornerRadius(`${PREFIX}-item-container-shape`))}
603
+ transition:
604
+ inset-block-start ${unsafeCSS(MORPH)},
605
+ inset-inline-start ${unsafeCSS(MORPH)},
606
+ inline-size ${unsafeCSS(MORPH)},
607
+ block-size ${unsafeCSS(MORPH)},
608
+ border-radius ${unsafeCSS(MORPH)};
609
+ }
610
+ .cell.collapsed .container {
611
+ inset-block-start: calc(50% - ${t('item-icon-indicator-height')} / 2 - ${t('collapsed-item-container-padding-block')});
612
+ inset-inline-start: ${unsafeCSS(PILL_X)};
613
+ inline-size: ${t('collapsed-item-container-width')};
614
+ block-size: calc(2 * ${t('collapsed-item-container-padding-block')} + ${t('item-icon-indicator-height')} + var(--_labels));
615
+ ${unsafeCSS(cornerRadius(`${PREFIX}-collapsed-item-container-shape`))}
616
+ }
617
+ .cell.collapsed:not(.short-shown) .container {
618
+ block-size: calc(2 * ${t('collapsed-item-container-padding-block')} + ${t('item-icon-indicator-height')});
619
+ }
620
+ /* NVD-41: a collapsed cell that gains or loses its short label (collapsedLabels selected) changes over the selection motion. */
621
+ .cell[data-condition-change] .container {
622
+ transition-duration: ${t('motion-selection-duration')};
623
+ transition-timing-function: ${t('motion-selection-easing')};
624
+ }
625
+ /* The active indicator and the state layer: the item container's color in the current condition and state. NVD-41: a
626
+ selection changes it in place, at its full size and shape, over the state motion — it never grows, shrinks or
627
+ slides to show one. */
628
+ .indicator {
629
+ position: absolute;
630
+ z-index: -2;
631
+ inset: 0;
632
+ border-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale));
633
+ corner-shape: inherit;
634
+ background: var(--_c);
635
+ pointer-events: none;
636
+ transition: background-color var(--_recolor-duration) var(--_recolor-easing);
637
+ }
638
+
639
+ /* NVD-13, NVD-14, NVD-32: the icon, centred on the icon column's centre line (and item.nest-indent further per level),
640
+ the icon indicator centred behind it and taking no space. */
641
+ .lead {
642
+ position: relative;
643
+ display: grid;
644
+ flex: none;
645
+ place-items: center;
646
+ inline-size: ${t('item-icon-size')};
647
+ block-size: ${t('item-icon-size')};
648
+ margin-inline-start: calc(${unsafeCSS(ICON_LINE_X)} - ${t('item-icon-size')} / 2);
649
+ }
650
+ /* NVD-49: without an icon the icon indicator is still drawn, empty, on the icon column, taking no space. */
651
+ .cell.no-icon .lead {
652
+ position: absolute;
653
+ inset-block-start: calc(50% - ${t('item-icon-size')} / 2);
654
+ inset-inline-start: calc(${unsafeCSS(ICON_LINE_X)} - ${t('item-icon-size')} / 2);
655
+ margin: 0;
656
+ }
657
+ .icon-indicator {
658
+ position: absolute;
659
+ z-index: -1;
660
+ top: 50%;
661
+ left: 50%;
662
+ inline-size: ${t('item-icon-indicator-width')};
663
+ block-size: ${t('item-icon-indicator-height')};
664
+ translate: -50% -50%;
665
+ ${unsafeCSS(cornerRadius(`${PREFIX}-item-icon-indicator-shape`))}
666
+ background: var(--_n);
667
+ /* NVD-41: the selection motion, read by the element through real properties (no animation is named here): the icon
668
+ indicator grows in width from its centre on the newly selected cell, and fades out on the previous one. */
669
+ animation-duration: ${t('motion-selection-duration')};
670
+ animation-timing-function: ${t('motion-selection-easing')};
671
+ transition: background-color var(--_recolor-duration) var(--_recolor-easing);
672
+ }
673
+ .cell[data-condition-change] .icon-indicator {
674
+ transition: background-color ${t('motion-selection-duration')} ${t('motion-selection-easing')};
675
+ }
676
+ .cell.selected[data-condition-change] .icon-indicator {
677
+ transition: none;
678
+ }
679
+ ${iconGlyph('.icon', { size: `${PREFIX}-item-icon-size`, selected: '.cell.selected', duration: `${PREFIX}-motion-state-duration`, easing: `${PREFIX}-motion-state-easing` })}
680
+ .icon {
681
+ color: var(--_i);
682
+ transition:
683
+ color var(--_recolor-duration) var(--_recolor-easing),
684
+ font-variation-settings var(--_recolor-duration) var(--_recolor-easing);
685
+ }
686
+
687
+ /* NVD-13: the label, item.gap after the icon — or item.padding-inline (and the nesting indent) from the row's start
688
+ without one — wrapping rather than truncating; the row grows with it. NVD-35: it fades out over the first half of a
689
+ collapse and in over the second half of an expansion, clipped at the moving edge. */
690
+ .label {
691
+ flex: 1 1 auto;
692
+ min-inline-size: 0;
693
+ padding-block: max(0px, calc((${t('item-container-height')} - 1lh) / 2));
694
+ font: ${t('item-label-typescale-font')};
695
+ letter-spacing: ${t('item-label-typescale-letter-spacing')};
696
+ color: var(--_l);
697
+ overflow-wrap: break-word;
698
+ opacity: 1;
699
+ transition:
700
+ color var(--_recolor-duration) var(--_recolor-easing),
701
+ opacity ${unsafeCSS(SECOND_HALF)};
702
+ }
703
+ .cell.no-icon .label {
704
+ margin-inline-start: calc(${t('item-padding-inline')} + var(--_level, 0) * ${t('item-nest-indent')});
705
+ }
706
+
707
+ /* NVD-43: the trailing content at the row's end, item.gap after the label and item.padding-inline from the end: the
708
+ trailing text on one line, never truncated, in trailing-text.typescale; a glyph in the trailing slot at
709
+ trailing-icon.size (anything else as it draws itself); a group's chevron (NVD-44). Not interactive. NVD-51:
710
+ iconGlyph() mirrors the icon and a glyph in the trailing slot that GlyphMirrorController marked, in right-to-left;
711
+ the chevron (expand_more) is never marked. */
712
+ .trailing {
713
+ display: flex;
714
+ flex: none;
715
+ align-items: center;
716
+ opacity: 1;
717
+ transition: opacity ${unsafeCSS(SECOND_HALF)};
718
+ }
719
+ .trailing:not(.filled) {
720
+ display: none;
721
+ }
722
+ .trailing-text {
723
+ font: ${t('item-trailing-text-typescale-font')};
724
+ letter-spacing: ${t('item-trailing-text-typescale-letter-spacing')};
725
+ color: var(--_tt);
726
+ white-space: nowrap;
727
+ font-variant-numeric: tabular-nums;
728
+ transition: color var(--_recolor-duration) var(--_recolor-easing);
729
+ }
730
+ .trailing-slot:not(.filled) {
731
+ display: none;
732
+ }
733
+ .trailing-slot {
734
+ display: flex;
735
+ align-items: center;
736
+ color: var(--_ti);
737
+ transition: color var(--_recolor-duration) var(--_recolor-easing);
738
+ }
739
+ ${iconGlyph('.trailing-slot.glyph', { size: `${PREFIX}-item-trailing-icon-size`, selected: '.cell.selected', duration: `${PREFIX}-motion-state-duration`, easing: `${PREFIX}-motion-state-easing` })}
740
+ .trailing-slot.glyph.filled {
741
+ display: inline-flex;
742
+ color: var(--_ti);
743
+ transition: color var(--_recolor-duration) var(--_recolor-easing);
744
+ }
745
+ /* NVD-63: the mark of a link that opens a new context, drawn as a glyph of the trailing slot is. */
746
+ ${iconGlyph('.link-mark', { size: `${PREFIX}-item-trailing-icon-size`, selected: '.cell.selected', duration: `${PREFIX}-motion-state-duration`, easing: `${PREFIX}-motion-state-easing` })}
747
+ .link-mark {
748
+ color: var(--_ti);
749
+ transition: color var(--_recolor-duration) var(--_recolor-easing);
750
+ }
751
+ ${iconGlyph('.chevron', { size: `${PREFIX}-item-trailing-icon-size`, selected: '.cell.selected', duration: `${PREFIX}-motion-disclosure-duration`, easing: `${PREFIX}-motion-disclosure-easing` })}
752
+ .chevron {
753
+ color: var(--_ti);
754
+ transition:
755
+ color var(--_recolor-duration) var(--_recolor-easing),
756
+ rotate ${t('motion-disclosure-duration')} ${t('motion-disclosure-easing')};
757
+ }
758
+ .cell.open .chevron {
759
+ rotate: 0.5turn;
760
+ }
761
+ .cell.collapsed :is(.label, .trailing) {
762
+ opacity: 0;
763
+ transition:
764
+ color var(--_recolor-duration) var(--_recolor-easing),
765
+ opacity ${unsafeCSS(FIRST_HALF)};
766
+ }
767
+
768
+ /* NVD-32, NVD-33, NVD-34: the short label, collapsed.item.gap under the icon indicator, centred on the icon column in
769
+ one line of collapsed.item.label.typescale, cut with an ellipsis inside the collapsed padding-inline. It fades in
770
+ over the second half of a collapse and out over the first half of an expansion (NVD-35), and with the selection
771
+ over the selection motion (NVD-41). */
772
+ .short {
773
+ position: absolute;
774
+ inset-block-start: calc(50% + ${t('item-icon-indicator-height')} / 2 + ${t('collapsed-item-gap')});
775
+ inset-inline-start: calc(${unsafeCSS(PILL_X)} + ${t('collapsed-item-container-padding-inline')});
776
+ inline-size: calc(${t('collapsed-item-container-width')} - 2 * ${t('collapsed-item-container-padding-inline')});
777
+ overflow: hidden;
778
+ text-align: center;
779
+ white-space: nowrap;
780
+ font: ${t('collapsed-item-label-typescale-font')};
781
+ letter-spacing: ${t('collapsed-item-label-typescale-letter-spacing')};
782
+ color: var(--_l);
783
+ opacity: 0;
784
+ transition:
785
+ color var(--_recolor-duration) var(--_recolor-easing),
786
+ opacity ${unsafeCSS(FIRST_HALF)};
787
+ }
788
+ /* NVD-52: each text of a row is its own run, in the direction of its first strong character, so a left-to-right name
789
+ or a count with its unit keeps its order in a right-to-left drawer. The label's lines are still aligned to the
790
+ layout's start edge; the trailing text is as wide as itself and stays at the row's end; the short label stays
791
+ centred and, too long (NVD-32), loses the end of ITS direction — a left-to-right one its right end, never its
792
+ beginning (src/styles/product-text.ts). */
793
+ ${productText('.label', { align: 'start' })}
794
+ ${productText(':is(.trailing-text, .short-text)')}
795
+ /* The short label's text, in a box of its own inside the one the layout places (.short, whose inline-start inset is
796
+ the layout's): the box that cuts it takes the text's direction (ownDirection()), so the ellipsis is drawn at the
797
+ text's own end in every engine. */
798
+ .short-text {
799
+ display: block;
800
+ overflow: hidden;
801
+ text-overflow: ellipsis;
802
+ }
803
+ .cell.collapsed.short-shown .short {
804
+ opacity: 1;
805
+ transition:
806
+ color var(--_recolor-duration) var(--_recolor-easing),
807
+ opacity ${unsafeCSS(SECOND_HALF)};
808
+ }
809
+ .cell[data-condition-change] .short {
810
+ transition:
811
+ color var(--_recolor-duration) var(--_recolor-easing),
812
+ opacity ${t('motion-selection-duration')} ${t('motion-selection-easing')};
813
+ }
814
+
815
+ /* NVD-56: the plain tooltip of a collapsed cell that draws no label lies over its item container, drawing nothing
816
+ and answering no pointer itself (the cell is the one hit target): the cell opens it, beside the item container. */
817
+ .tip {
818
+ position: absolute;
819
+ inset-block-start: calc(50% - ${t('item-icon-indicator-height')} / 2 - ${t('collapsed-item-container-padding-block')});
820
+ inset-inline-start: ${unsafeCSS(PILL_X)};
821
+ display: block;
822
+ inline-size: ${t('collapsed-item-container-width')};
823
+ block-size: calc(2 * ${t('collapsed-item-container-padding-block')} + ${t('item-icon-indicator-height')});
824
+ }
825
+ /* The tooltip's own waits, read through real properties (a duration token is an expression). */
826
+ .tip-clock {
827
+ display: none;
828
+ transition-property: none;
829
+ transition-delay: var(--tanrei-comp-tooltip-motion-show-delay);
830
+ transition-duration: var(--tanrei-comp-tooltip-motion-hide-delay);
831
+ }
832
+
833
+ ${stateRules(on, {
834
+ hovered: `${set('-h')}
835
+ opacity: ${T('hovered-opacity')};`,
836
+ focused: `${set('-f')}
837
+ opacity: ${T('focused-opacity')};`,
838
+ pressed: `${set('-p')}
839
+ opacity: ${T('pressed-opacity')};`,
840
+ pressedContent: `${set('-p', 'c')}
841
+ opacity: ${T('pressed-opacity')};`,
842
+ disabled: `
843
+ cursor: default;${set('-d')}
844
+ opacity: ${T('disabled-opacity')};`,
845
+ })}
846
+ .cell:where(:has(.container[data-pressed]:not([data-pressed='none']))) :is(.indicator, .icon-indicator, .icon, .label, .short, .trailing-text, .trailing-slot, .link-mark, .chevron) {
847
+ transition-duration: 0s;
848
+ }
849
+ ${rippleStyles({ color: '--_c-p', grow: `${PREFIX}-motion-feedback-duration`, fade: `${PREFIX}-motion-state-duration`, easing: `${PREFIX}-motion-state-easing` })}
850
+ /* NVD-5, NVD-10: the ring (or the glow) around the item container, never animated. */
851
+ ${focusRing((focus) => `.cell${focus} .container`)}
852
+ ${shape}
853
+ ${pressHold('.hold')}
854
+ .hold {
855
+ display: none;
856
+ }
857
+ @media (prefers-reduced-motion: reduce) {
858
+ .cell,
859
+ .container,
860
+ .cell.collapsed .container,
861
+ .indicator,
862
+ .icon-indicator,
863
+ .icon,
864
+ .label,
865
+ .trailing,
866
+ .trailing-text,
867
+ .trailing-slot,
868
+ .link-mark,
869
+ .chevron,
870
+ .short,
871
+ .cell.collapsed :is(.label, .trailing),
872
+ .cell.collapsed.short-shown .short,
873
+ .cell[data-condition-change] .short {
874
+ transition: none;
875
+ }
876
+ .icon-indicator {
877
+ animation-duration: 0s;
878
+ }
879
+ }
880
+ @media (forced-colors: active) {
881
+ .cell.selected .indicator {
882
+ background: Highlight;
883
+ forced-color-adjust: none;
884
+ }
885
+ .cell.selected :is(.icon, .label, .short, .trailing-text, .trailing-slot, .link-mark, .chevron) {
886
+ color: HighlightText;
887
+ }
888
+ .cell.d :is(.icon, .label, .short, .trailing-text, .trailing-slot, .link-mark, .chevron) {
889
+ color: GrayText;
890
+ }
891
+ }
892
+ `;
893
+ /**
894
+ * A group (NVD-44…48): its row is a cell (above), and under it its items, revealed and hidden over the disclosure motion
895
+ * while it opens and closes (and over the change of form's while the drawer collapses: the collapsed drawer draws none of
896
+ * them, and the cells below move up), container.gap from its row and between them.
897
+ */
898
+ export const groupStyles = css `
899
+ .items {
900
+ display: grid;
901
+ grid-template-rows: 0fr;
902
+ visibility: hidden;
903
+ /* Clipped while partly shown; a focus ring on the first or last item still reaches past the edge. */
904
+ overflow: clip;
905
+ overflow-clip-margin: calc(var(--tanrei-sys-focus-offset) + var(--tanrei-sys-focus-inner-width) + var(--tanrei-sys-focus-outer-width));
906
+ transition:
907
+ grid-template-rows var(--_nvd-reveal-duration, ${t('motion-disclosure-duration')}) var(--_nvd-reveal-easing, ${t('motion-disclosure-easing')}),
908
+ visibility 0s linear var(--_nvd-reveal-duration, ${t('motion-disclosure-duration')});
909
+ }
910
+ .items.shown {
911
+ grid-template-rows: 1fr;
912
+ visibility: visible;
913
+ transition:
914
+ grid-template-rows var(--_nvd-reveal-duration, ${t('motion-disclosure-duration')}) var(--_nvd-reveal-easing, ${t('motion-disclosure-easing')}),
915
+ visibility 0s;
916
+ }
917
+ /* The row that folds to nothing: the list's own gap from the group's row is inside it, so a closed group takes no space. */
918
+ .fold {
919
+ min-block-size: 0;
920
+ }
921
+ .list {
922
+ display: flex;
923
+ flex-direction: column;
924
+ gap: ${t('container-gap')};
925
+ padding-block-start: ${t('container-gap')};
926
+ }
927
+ @media (prefers-reduced-motion: reduce) {
928
+ .items,
929
+ .items.shown {
930
+ transition: none;
931
+ }
932
+ }
933
+ `;
934
+ //# sourceMappingURL=navigation-drawer.styles.js.map