@react-md/core 1.0.0-next.8 → 6.0.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 (3243) hide show
  1. package/README.md +39 -24
  2. package/dist/CoreProviders.d.ts +4 -3
  3. package/dist/CoreProviders.js +2 -1
  4. package/dist/CoreProviders.js.map +1 -1
  5. package/dist/NoSsr.d.ts +7 -6
  6. package/dist/NoSsr.js +6 -5
  7. package/dist/NoSsr.js.map +1 -1
  8. package/dist/RootHtml.d.ts +59 -0
  9. package/dist/RootHtml.js +46 -0
  10. package/dist/RootHtml.js.map +1 -0
  11. package/dist/SsrProvider.d.ts +4 -3
  12. package/dist/SsrProvider.js +3 -2
  13. package/dist/SsrProvider.js.map +1 -1
  14. package/dist/_a11y.scss +187 -0
  15. package/dist/_base.scss +518 -0
  16. package/dist/_box-shadows.scss +94 -5
  17. package/dist/_colors.scss +7 -1
  18. package/dist/_core.scss +20 -387
  19. package/dist/_object-fit.scss +96 -0
  20. package/dist/_utils.scss +243 -83
  21. package/dist/app-bar/AppBar.d.ts +12 -104
  22. package/dist/app-bar/AppBar.js +6 -47
  23. package/dist/app-bar/AppBar.js.map +1 -1
  24. package/dist/app-bar/AppBarTitle.d.ts +15 -40
  25. package/dist/app-bar/AppBarTitle.js +8 -24
  26. package/dist/app-bar/AppBarTitle.js.map +1 -1
  27. package/dist/app-bar/_app-bar.scss +166 -31
  28. package/dist/app-bar/styles.d.ts +117 -0
  29. package/dist/app-bar/styles.js +55 -0
  30. package/dist/app-bar/styles.js.map +1 -0
  31. package/dist/autocomplete/Autocomplete.d.ts +93 -0
  32. package/dist/autocomplete/Autocomplete.js +169 -0
  33. package/dist/autocomplete/Autocomplete.js.map +1 -0
  34. package/dist/autocomplete/AutocompleteChip.d.ts +9 -0
  35. package/dist/autocomplete/AutocompleteChip.js +35 -0
  36. package/dist/autocomplete/AutocompleteChip.js.map +1 -0
  37. package/dist/autocomplete/AutocompleteCircularProgress.d.ts +11 -0
  38. package/dist/autocomplete/AutocompleteCircularProgress.js +20 -0
  39. package/dist/autocomplete/AutocompleteCircularProgress.js.map +1 -0
  40. package/dist/autocomplete/AutocompleteClearButton.d.ts +10 -0
  41. package/dist/autocomplete/AutocompleteClearButton.js +31 -0
  42. package/dist/autocomplete/AutocompleteClearButton.js.map +1 -0
  43. package/dist/autocomplete/AutocompleteDropdownButton.d.ts +11 -0
  44. package/dist/autocomplete/AutocompleteDropdownButton.js +34 -0
  45. package/dist/autocomplete/AutocompleteDropdownButton.js.map +1 -0
  46. package/dist/autocomplete/AutocompleteListboxChildren.d.ts +20 -0
  47. package/dist/autocomplete/AutocompleteListboxChildren.js +37 -0
  48. package/dist/autocomplete/AutocompleteListboxChildren.js.map +1 -0
  49. package/dist/autocomplete/_autocomplete.scss +442 -0
  50. package/dist/autocomplete/autocompleteStyles.d.ts +57 -0
  51. package/dist/autocomplete/autocompleteStyles.js +46 -0
  52. package/dist/autocomplete/autocompleteStyles.js.map +1 -0
  53. package/dist/autocomplete/defaults.d.ts +21 -0
  54. package/dist/autocomplete/defaults.js +52 -0
  55. package/dist/autocomplete/defaults.js.map +1 -0
  56. package/dist/autocomplete/types.d.ts +647 -0
  57. package/dist/autocomplete/types.js +5 -0
  58. package/dist/autocomplete/types.js.map +1 -0
  59. package/dist/autocomplete/useAutocomplete.d.ts +25 -0
  60. package/dist/autocomplete/useAutocomplete.js +281 -0
  61. package/dist/autocomplete/useAutocomplete.js.map +1 -0
  62. package/dist/autocomplete/utils.d.ts +78 -0
  63. package/dist/autocomplete/utils.js +108 -0
  64. package/dist/autocomplete/utils.js.map +1 -0
  65. package/dist/avatar/Avatar.d.ts +18 -7
  66. package/dist/avatar/Avatar.js +7 -7
  67. package/dist/avatar/Avatar.js.map +1 -1
  68. package/dist/avatar/_avatar.scss +101 -5
  69. package/dist/avatar/styles.d.ts +4 -4
  70. package/dist/avatar/styles.js +2 -2
  71. package/dist/avatar/styles.js.map +1 -1
  72. package/dist/badge/Badge.d.ts +13 -32
  73. package/dist/badge/Badge.js +12 -25
  74. package/dist/badge/Badge.js.map +1 -1
  75. package/dist/badge/_badge.scss +94 -3
  76. package/dist/badge/styles.d.ts +26 -0
  77. package/dist/badge/styles.js +18 -0
  78. package/dist/badge/styles.js.map +1 -0
  79. package/dist/box/Box.d.ts +10 -14
  80. package/dist/box/Box.js +21 -21
  81. package/dist/box/Box.js.map +1 -1
  82. package/dist/box/_box.scss +253 -20
  83. package/dist/box/styles.d.ts +111 -10
  84. package/dist/box/styles.js +106 -4
  85. package/dist/box/styles.js.map +1 -1
  86. package/dist/button/AsyncButton.d.ts +9 -10
  87. package/dist/button/AsyncButton.js +9 -10
  88. package/dist/button/AsyncButton.js.map +1 -1
  89. package/dist/button/Button.d.ts +17 -18
  90. package/dist/button/Button.js +17 -18
  91. package/dist/button/Button.js.map +1 -1
  92. package/dist/button/ButtonUnstyled.d.ts +3 -4
  93. package/dist/button/ButtonUnstyled.js +3 -4
  94. package/dist/button/ButtonUnstyled.js.map +1 -1
  95. package/dist/button/FloatingActionButton.d.ts +5 -5
  96. package/dist/button/FloatingActionButton.js +2 -2
  97. package/dist/button/FloatingActionButton.js.map +1 -1
  98. package/dist/button/TooltippedButton.d.ts +5 -4
  99. package/dist/button/TooltippedButton.js +4 -6
  100. package/dist/button/TooltippedButton.js.map +1 -1
  101. package/dist/button/_button.scss +187 -25
  102. package/dist/button/styles.d.ts +104 -0
  103. package/dist/button/styles.js +64 -0
  104. package/dist/button/styles.js.map +1 -0
  105. package/dist/card/Card.d.ts +21 -17
  106. package/dist/card/Card.js +22 -18
  107. package/dist/card/Card.js.map +1 -1
  108. package/dist/card/CardContent.d.ts +3 -6
  109. package/dist/card/CardContent.js +2 -4
  110. package/dist/card/CardContent.js.map +1 -1
  111. package/dist/card/CardFooter.d.ts +3 -5
  112. package/dist/card/CardFooter.js +2 -3
  113. package/dist/card/CardFooter.js.map +1 -1
  114. package/dist/card/CardHeader.d.ts +11 -14
  115. package/dist/card/CardHeader.js +7 -9
  116. package/dist/card/CardHeader.js.map +1 -1
  117. package/dist/card/CardSubtitle.d.ts +9 -5
  118. package/dist/card/CardSubtitle.js +4 -4
  119. package/dist/card/CardSubtitle.js.map +1 -1
  120. package/dist/card/CardTitle.d.ts +3 -5
  121. package/dist/card/CardTitle.js +2 -3
  122. package/dist/card/CardTitle.js.map +1 -1
  123. package/dist/card/ClickableCard.d.ts +8 -6
  124. package/dist/card/ClickableCard.js +10 -6
  125. package/dist/card/ClickableCard.js.map +1 -1
  126. package/dist/card/_card.scss +107 -21
  127. package/dist/card/styles.d.ts +15 -22
  128. package/dist/card/styles.js +11 -14
  129. package/dist/card/styles.js.map +1 -1
  130. package/dist/chip/Chip.d.ts +17 -20
  131. package/dist/chip/Chip.js +12 -14
  132. package/dist/chip/Chip.js.map +1 -1
  133. package/dist/chip/_chip.scss +283 -45
  134. package/dist/chip/styles.d.ts +16 -14
  135. package/dist/chip/styles.js +2 -2
  136. package/dist/chip/styles.js.map +1 -1
  137. package/dist/cssUtils.d.ts +12 -12
  138. package/dist/cssUtils.js +2 -2
  139. package/dist/cssUtils.js.map +1 -1
  140. package/dist/delegateEvent.d.ts +2 -2
  141. package/dist/delegateEvent.js.map +1 -1
  142. package/dist/dialog/Dialog.d.ts +25 -44
  143. package/dist/dialog/Dialog.js +36 -39
  144. package/dist/dialog/Dialog.js.map +1 -1
  145. package/dist/dialog/DialogContainer.d.ts +17 -7
  146. package/dist/dialog/DialogContainer.js +12 -8
  147. package/dist/dialog/DialogContainer.js.map +1 -1
  148. package/dist/dialog/DialogContent.d.ts +4 -2
  149. package/dist/dialog/DialogContent.js +7 -4
  150. package/dist/dialog/DialogContent.js.map +1 -1
  151. package/dist/dialog/DialogFooter.d.ts +3 -2
  152. package/dist/dialog/DialogFooter.js +6 -4
  153. package/dist/dialog/DialogFooter.js.map +1 -1
  154. package/dist/dialog/DialogHeader.d.ts +16 -4
  155. package/dist/dialog/DialogHeader.js +10 -4
  156. package/dist/dialog/DialogHeader.js.map +1 -1
  157. package/dist/dialog/DialogTitle.d.ts +7 -5
  158. package/dist/dialog/DialogTitle.js +7 -4
  159. package/dist/dialog/DialogTitle.js.map +1 -1
  160. package/dist/dialog/FixedDialog.d.ts +18 -19
  161. package/dist/dialog/FixedDialog.js +26 -31
  162. package/dist/dialog/FixedDialog.js.map +1 -1
  163. package/dist/dialog/NestedDialogProvider.d.ts +0 -1
  164. package/dist/dialog/NestedDialogProvider.js.map +1 -1
  165. package/dist/dialog/_dialog.scss +237 -35
  166. package/dist/dialog/styles.d.ts +80 -9
  167. package/dist/dialog/styles.js +39 -6
  168. package/dist/dialog/styles.js.map +1 -1
  169. package/dist/divider/Divider.d.ts +5 -17
  170. package/dist/divider/Divider.js +4 -5
  171. package/dist/divider/Divider.js.map +1 -1
  172. package/dist/divider/_divider.scss +75 -1
  173. package/dist/divider/styles.d.ts +13 -2
  174. package/dist/divider/styles.js +1 -1
  175. package/dist/divider/styles.js.map +1 -1
  176. package/dist/draggable/_draggable.scss +16 -0
  177. package/dist/draggable/useDraggable.d.ts +27 -24
  178. package/dist/draggable/useDraggable.js +13 -8
  179. package/dist/draggable/useDraggable.js.map +1 -1
  180. package/dist/draggable/utils.d.ts +5 -5
  181. package/dist/draggable/utils.js +1 -1
  182. package/dist/draggable/utils.js.map +1 -1
  183. package/dist/error-boundary/ErrorBoundary.d.ts +58 -0
  184. package/dist/error-boundary/ErrorBoundary.js +99 -0
  185. package/dist/error-boundary/ErrorBoundary.js.map +1 -0
  186. package/dist/error-boundary/context.d.ts +11 -0
  187. package/dist/error-boundary/context.js +12 -0
  188. package/dist/error-boundary/context.js.map +1 -0
  189. package/dist/error-boundary/types.d.ts +16 -0
  190. package/dist/error-boundary/types.js +7 -0
  191. package/dist/error-boundary/types.js.map +1 -0
  192. package/dist/error-boundary/useErrorBoundary.d.ts +25 -0
  193. package/dist/error-boundary/useErrorBoundary.js +33 -0
  194. package/dist/error-boundary/useErrorBoundary.js.map +1 -0
  195. package/dist/expansion-panel/ExpansionList.d.ts +4 -3
  196. package/dist/expansion-panel/ExpansionList.js +3 -2
  197. package/dist/expansion-panel/ExpansionList.js.map +1 -1
  198. package/dist/expansion-panel/ExpansionPanel.d.ts +46 -31
  199. package/dist/expansion-panel/ExpansionPanel.js +34 -14
  200. package/dist/expansion-panel/ExpansionPanel.js.map +1 -1
  201. package/dist/expansion-panel/ExpansionPanelHeader.d.ts +9 -13
  202. package/dist/expansion-panel/ExpansionPanelHeader.js +12 -15
  203. package/dist/expansion-panel/ExpansionPanelHeader.js.map +1 -1
  204. package/dist/expansion-panel/_expansion-panel.scss +50 -1
  205. package/dist/expansion-panel/styles.d.ts +39 -0
  206. package/dist/expansion-panel/styles.js +26 -0
  207. package/dist/expansion-panel/styles.js.map +1 -0
  208. package/dist/expansion-panel/useExpansionList.d.ts +12 -14
  209. package/dist/expansion-panel/useExpansionList.js +11 -13
  210. package/dist/expansion-panel/useExpansionList.js.map +1 -1
  211. package/dist/expansion-panel/useExpansionPanels.d.ts +16 -24
  212. package/dist/expansion-panel/useExpansionPanels.js +22 -40
  213. package/dist/expansion-panel/useExpansionPanels.js.map +1 -1
  214. package/dist/files/FileInput.d.ts +103 -0
  215. package/dist/files/FileInput.js +113 -0
  216. package/dist/files/FileInput.js.map +1 -0
  217. package/dist/files/_files.scss +31 -0
  218. package/dist/files/styles.d.ts +5 -0
  219. package/dist/files/styles.js +7 -0
  220. package/dist/files/styles.js.map +1 -0
  221. package/dist/files/useFileUpload.d.ts +148 -0
  222. package/dist/files/useFileUpload.js +327 -0
  223. package/dist/files/useFileUpload.js.map +1 -0
  224. package/dist/files/utils.d.ts +199 -0
  225. package/dist/files/utils.js +144 -0
  226. package/dist/files/utils.js.map +1 -0
  227. package/dist/files/validation.d.ts +287 -0
  228. package/dist/files/validation.js +226 -0
  229. package/dist/files/validation.js.map +1 -0
  230. package/dist/focus/useFocusContainer.d.ts +16 -19
  231. package/dist/focus/useFocusContainer.js +31 -33
  232. package/dist/focus/useFocusContainer.js.map +1 -1
  233. package/dist/focus/utils.d.ts +4 -5
  234. package/dist/focus/utils.js +3 -4
  235. package/dist/focus/utils.js.map +1 -1
  236. package/dist/form/Checkbox.d.ts +4 -4
  237. package/dist/form/Checkbox.js +4 -3
  238. package/dist/form/Checkbox.js.map +1 -1
  239. package/dist/form/Fieldset.d.ts +8 -25
  240. package/dist/form/Fieldset.js +7 -15
  241. package/dist/form/Fieldset.js.map +1 -1
  242. package/dist/form/Form.d.ts +2 -0
  243. package/dist/form/Form.js +2 -0
  244. package/dist/form/Form.js.map +1 -1
  245. package/dist/form/FormMessage.d.ts +2 -3
  246. package/dist/form/FormMessage.js +2 -2
  247. package/dist/form/FormMessage.js.map +1 -1
  248. package/dist/form/FormMessageContainer.d.ts +3 -3
  249. package/dist/form/FormMessageContainer.js +6 -4
  250. package/dist/form/FormMessageContainer.js.map +1 -1
  251. package/dist/form/FormMessageCounter.d.ts +6 -8
  252. package/dist/form/FormMessageCounter.js +4 -5
  253. package/dist/form/FormMessageCounter.js.map +1 -1
  254. package/dist/form/InputToggle.d.ts +16 -14
  255. package/dist/form/InputToggle.js +5 -2
  256. package/dist/form/InputToggle.js.map +1 -1
  257. package/dist/form/InputToggleIcon.d.ts +4 -8
  258. package/dist/form/InputToggleIcon.js +3 -6
  259. package/dist/form/InputToggleIcon.js.map +1 -1
  260. package/dist/form/Label.d.ts +9 -12
  261. package/dist/form/Label.js +6 -36
  262. package/dist/form/Label.js.map +1 -1
  263. package/dist/form/Legend.d.ts +3 -5
  264. package/dist/form/Legend.js +2 -3
  265. package/dist/form/Legend.js.map +1 -1
  266. package/dist/form/Listbox.d.ts +24 -0
  267. package/dist/form/Listbox.js +46 -0
  268. package/dist/form/Listbox.js.map +1 -0
  269. package/dist/form/ListboxProvider.d.ts +21 -0
  270. package/dist/form/ListboxProvider.js +21 -0
  271. package/dist/form/ListboxProvider.js.map +1 -0
  272. package/dist/form/NativeSelect.d.ts +9 -8
  273. package/dist/form/NativeSelect.js +12 -11
  274. package/dist/form/NativeSelect.js.map +1 -1
  275. package/dist/form/OptGroup.d.ts +7 -5
  276. package/dist/form/OptGroup.js +6 -4
  277. package/dist/form/OptGroup.js.map +1 -1
  278. package/dist/form/Option.d.ts +53 -15
  279. package/dist/form/Option.js +20 -17
  280. package/dist/form/Option.js.map +1 -1
  281. package/dist/form/Password.d.ts +22 -21
  282. package/dist/form/Password.js +7 -12
  283. package/dist/form/Password.js.map +1 -1
  284. package/dist/form/Radio.d.ts +3 -3
  285. package/dist/form/Radio.js +3 -2
  286. package/dist/form/Radio.js.map +1 -1
  287. package/dist/form/ResizingTextAreaWrapper.d.ts +19 -0
  288. package/dist/form/ResizingTextAreaWrapper.js +35 -0
  289. package/dist/form/ResizingTextAreaWrapper.js.map +1 -0
  290. package/dist/form/Select.d.ts +88 -24
  291. package/dist/form/Select.js +148 -266
  292. package/dist/form/Select.js.map +1 -1
  293. package/dist/form/SelectedOption.d.ts +19 -0
  294. package/dist/form/SelectedOption.js +36 -0
  295. package/dist/form/SelectedOption.js.map +1 -0
  296. package/dist/form/Slider.d.ts +45 -35
  297. package/dist/form/Slider.js +20 -66
  298. package/dist/form/Slider.js.map +1 -1
  299. package/dist/form/SliderContainer.d.ts +6 -11
  300. package/dist/form/SliderContainer.js +9 -16
  301. package/dist/form/SliderContainer.js.map +1 -1
  302. package/dist/form/SliderMark.d.ts +2 -4
  303. package/dist/form/SliderMark.js +6 -11
  304. package/dist/form/SliderMark.js.map +1 -1
  305. package/dist/form/SliderMarkLabel.d.ts +5 -6
  306. package/dist/form/SliderMarkLabel.js +6 -10
  307. package/dist/form/SliderMarkLabel.js.map +1 -1
  308. package/dist/form/SliderThumb.d.ts +16 -13
  309. package/dist/form/SliderThumb.js +5 -30
  310. package/dist/form/SliderThumb.js.map +1 -1
  311. package/dist/form/SliderTrack.d.ts +4 -8
  312. package/dist/form/SliderTrack.js +8 -17
  313. package/dist/form/SliderTrack.js.map +1 -1
  314. package/dist/form/SliderValueMarks.d.ts +9 -13
  315. package/dist/form/SliderValueMarks.js +1 -3
  316. package/dist/form/SliderValueMarks.js.map +1 -1
  317. package/dist/form/SliderValueTooltip.d.ts +4 -6
  318. package/dist/form/SliderValueTooltip.js +9 -10
  319. package/dist/form/SliderValueTooltip.js.map +1 -1
  320. package/dist/form/Switch.d.ts +12 -7
  321. package/dist/form/Switch.js +5 -6
  322. package/dist/form/Switch.js.map +1 -1
  323. package/dist/form/SwitchTrack.d.ts +2 -1
  324. package/dist/form/SwitchTrack.js +10 -9
  325. package/dist/form/SwitchTrack.js.map +1 -1
  326. package/dist/form/TextArea.d.ts +21 -3
  327. package/dist/form/TextArea.js +23 -33
  328. package/dist/form/TextArea.js.map +1 -1
  329. package/dist/form/TextField.d.ts +12 -24
  330. package/dist/form/TextField.js +12 -15
  331. package/dist/form/TextField.js.map +1 -1
  332. package/dist/form/TextFieldAddon.d.ts +2 -38
  333. package/dist/form/TextFieldAddon.js +3 -17
  334. package/dist/form/TextFieldAddon.js.map +1 -1
  335. package/dist/form/TextFieldContainer.d.ts +13 -0
  336. package/dist/form/TextFieldContainer.js +3 -4
  337. package/dist/form/TextFieldContainer.js.map +1 -1
  338. package/dist/form/_base.scss +86 -0
  339. package/dist/form/_fieldset.scss +34 -0
  340. package/dist/form/_form-message.scss +118 -0
  341. package/dist/form/_input-toggle.scss +184 -0
  342. package/dist/form/_label.scss +309 -0
  343. package/dist/form/_password.scss +52 -0
  344. package/dist/form/_select.scss +234 -0
  345. package/dist/form/_slider.scss +943 -0
  346. package/dist/form/_switch.scss +305 -0
  347. package/dist/form/_text-area.scss +211 -0
  348. package/dist/form/_text-field.scss +706 -0
  349. package/dist/form/fieldsetStyles.d.ts +19 -0
  350. package/dist/form/fieldsetStyles.js +14 -0
  351. package/dist/form/fieldsetStyles.js.map +1 -0
  352. package/dist/form/formConfig.d.ts +2 -2
  353. package/dist/form/formConfig.js +24 -5
  354. package/dist/form/formConfig.js.map +1 -1
  355. package/dist/form/formMessageContainerStyles.d.ts +10 -0
  356. package/dist/form/formMessageContainerStyles.js +11 -0
  357. package/dist/form/formMessageContainerStyles.js.map +1 -0
  358. package/dist/form/formMessageStyles.d.ts +5 -5
  359. package/dist/form/formMessageStyles.js +3 -3
  360. package/dist/form/formMessageStyles.js.map +1 -1
  361. package/dist/form/inputToggleStyles.d.ts +3 -3
  362. package/dist/form/inputToggleStyles.js +1 -1
  363. package/dist/form/inputToggleStyles.js.map +1 -1
  364. package/dist/form/labelStyles.d.ts +5 -0
  365. package/dist/form/labelStyles.js +34 -0
  366. package/dist/form/labelStyles.js.map +1 -0
  367. package/dist/form/nativeSelectStyles.d.ts +4 -4
  368. package/dist/form/nativeSelectStyles.js +2 -2
  369. package/dist/form/nativeSelectStyles.js.map +1 -1
  370. package/dist/form/optionStyles.d.ts +3 -2
  371. package/dist/form/optionStyles.js +3 -3
  372. package/dist/form/optionStyles.js.map +1 -1
  373. package/dist/form/passwordStyles.d.ts +4 -4
  374. package/dist/form/passwordStyles.js +1 -1
  375. package/dist/form/passwordStyles.js.map +1 -1
  376. package/dist/form/selectStyles.d.ts +2 -2
  377. package/dist/form/selectStyles.js +1 -1
  378. package/dist/form/selectStyles.js.map +1 -1
  379. package/dist/form/selectUtils.d.ts +4 -6
  380. package/dist/form/selectUtils.js +4 -12
  381. package/dist/form/selectUtils.js.map +1 -1
  382. package/dist/form/sliderStyles.d.ts +89 -0
  383. package/dist/form/sliderStyles.js +96 -0
  384. package/dist/form/sliderStyles.js.map +1 -0
  385. package/dist/form/sliderUtils.d.ts +23 -15
  386. package/dist/form/sliderUtils.js +24 -9
  387. package/dist/form/sliderUtils.js.map +1 -1
  388. package/dist/form/switchStyles.d.ts +26 -8
  389. package/dist/form/switchStyles.js +19 -1
  390. package/dist/form/switchStyles.js.map +1 -1
  391. package/dist/form/textAreaStyles.d.ts +4 -10
  392. package/dist/form/textAreaStyles.js +2 -2
  393. package/dist/form/textAreaStyles.js.map +1 -1
  394. package/dist/form/textFieldAddonStyles.d.ts +17 -0
  395. package/dist/form/textFieldAddonStyles.js +18 -0
  396. package/dist/form/textFieldAddonStyles.js.map +1 -0
  397. package/dist/form/textFieldContainerStyles.d.ts +19 -0
  398. package/dist/form/textFieldContainerStyles.js +48 -0
  399. package/dist/form/textFieldContainerStyles.js.map +1 -0
  400. package/dist/form/textFieldStyles.d.ts +2 -2
  401. package/dist/form/textFieldStyles.js +1 -1
  402. package/dist/form/textFieldStyles.js.map +1 -1
  403. package/dist/form/types.d.ts +38 -24
  404. package/dist/form/types.js.map +1 -1
  405. package/dist/form/useCheckboxGroup.d.ts +42 -39
  406. package/dist/form/useCheckboxGroup.js +15 -18
  407. package/dist/form/useCheckboxGroup.js.map +1 -1
  408. package/dist/form/useCombobox.d.ts +191 -0
  409. package/dist/form/useCombobox.js +224 -0
  410. package/dist/form/useCombobox.js.map +1 -0
  411. package/dist/form/useEditableCombobox.d.ts +35 -0
  412. package/dist/form/useEditableCombobox.js +109 -0
  413. package/dist/form/useEditableCombobox.js.map +1 -0
  414. package/dist/form/useFormReset.d.ts +16 -0
  415. package/dist/form/useFormReset.js +32 -0
  416. package/dist/form/useFormReset.js.map +1 -0
  417. package/dist/form/useNumberField.d.ts +34 -32
  418. package/dist/form/useNumberField.js +2 -0
  419. package/dist/form/useNumberField.js.map +1 -1
  420. package/dist/form/useRadioGroup.d.ts +24 -21
  421. package/dist/form/useRadioGroup.js +5 -3
  422. package/dist/form/useRadioGroup.js.map +1 -1
  423. package/dist/form/useRangeSlider.d.ts +15 -12
  424. package/dist/form/useRangeSlider.js +9 -6
  425. package/dist/form/useRangeSlider.js.map +1 -1
  426. package/dist/form/useResizingTextArea.d.ts +5 -2
  427. package/dist/form/useResizingTextArea.js +52 -22
  428. package/dist/form/useResizingTextArea.js.map +1 -1
  429. package/dist/form/useSelectCombobox.d.ts +16 -0
  430. package/dist/form/useSelectCombobox.js +36 -0
  431. package/dist/form/useSelectCombobox.js.map +1 -0
  432. package/dist/form/useSlider.d.ts +12 -13
  433. package/dist/form/useSlider.js +7 -6
  434. package/dist/form/useSlider.js.map +1 -1
  435. package/dist/form/useSliderDraggable.d.ts +9 -0
  436. package/dist/form/useSliderDraggable.js +44 -0
  437. package/dist/form/useSliderDraggable.js.map +1 -0
  438. package/dist/form/useTextField.d.ts +54 -47
  439. package/dist/form/useTextField.js +12 -6
  440. package/dist/form/useTextField.js.map +1 -1
  441. package/dist/form/useTextFieldContainerAddons.d.ts +88 -0
  442. package/dist/form/useTextFieldContainerAddons.js +85 -0
  443. package/dist/form/useTextFieldContainerAddons.js.map +1 -0
  444. package/dist/form/utils.d.ts +16 -7
  445. package/dist/form/utils.js +10 -5
  446. package/dist/form/utils.js.map +1 -1
  447. package/dist/form/validation.d.ts +17 -16
  448. package/dist/form/validation.js +9 -7
  449. package/dist/form/validation.js.map +1 -1
  450. package/dist/hoverMode/useHoverMode.d.ts +76 -16
  451. package/dist/hoverMode/useHoverMode.js.map +1 -1
  452. package/dist/hoverMode/useHoverModeProvider.d.ts +37 -31
  453. package/dist/hoverMode/useHoverModeProvider.js +24 -15
  454. package/dist/hoverMode/useHoverModeProvider.js.map +1 -1
  455. package/dist/icon/FontIcon.d.ts +15 -10
  456. package/dist/icon/FontIcon.js +3 -8
  457. package/dist/icon/FontIcon.js.map +1 -1
  458. package/dist/icon/IconRotator.d.ts +3 -3
  459. package/dist/icon/IconRotator.js +2 -2
  460. package/dist/icon/IconRotator.js.map +1 -1
  461. package/dist/icon/MaterialIcon.d.ts +22 -5
  462. package/dist/icon/MaterialIcon.js +16 -4
  463. package/dist/icon/MaterialIcon.js.map +1 -1
  464. package/dist/icon/MaterialSymbol.d.ts +6 -6
  465. package/dist/icon/MaterialSymbol.js +5 -5
  466. package/dist/icon/MaterialSymbol.js.map +1 -1
  467. package/dist/icon/SVGIcon.d.ts +5 -3
  468. package/dist/icon/SVGIcon.js +2 -2
  469. package/dist/icon/SVGIcon.js.map +1 -1
  470. package/dist/icon/TextIconSpacing.d.ts +12 -10
  471. package/dist/icon/TextIconSpacing.js +8 -8
  472. package/dist/icon/TextIconSpacing.js.map +1 -1
  473. package/dist/icon/_icon.scss +180 -12
  474. package/dist/icon/config.d.ts +254 -0
  475. package/dist/icon/config.js +184 -0
  476. package/dist/icon/config.js.map +1 -0
  477. package/dist/icon/material.d.ts +5 -5
  478. package/dist/icon/material.js +1 -1
  479. package/dist/icon/material.js.map +1 -1
  480. package/dist/icon/materialConfig.d.ts +12 -12
  481. package/dist/icon/materialConfig.js +40 -11
  482. package/dist/icon/materialConfig.js.map +1 -1
  483. package/dist/icon/styles.d.ts +16 -10
  484. package/dist/icon/styles.js +7 -5
  485. package/dist/icon/styles.js.map +1 -1
  486. package/dist/interaction/Ripple.d.ts +11 -2
  487. package/dist/interaction/Ripple.js.map +1 -1
  488. package/dist/interaction/RippleContainer.d.ts +0 -2
  489. package/dist/interaction/RippleContainer.js +0 -2
  490. package/dist/interaction/RippleContainer.js.map +1 -1
  491. package/dist/interaction/UserInteractionModeProvider.d.ts +7 -8
  492. package/dist/interaction/UserInteractionModeProvider.js +14 -11
  493. package/dist/interaction/UserInteractionModeProvider.js.map +1 -1
  494. package/dist/interaction/_interaction.scss +283 -17
  495. package/dist/interaction/config.d.ts +2 -2
  496. package/dist/interaction/config.js +1 -1
  497. package/dist/interaction/config.js.map +1 -1
  498. package/dist/interaction/types.d.ts +28 -10
  499. package/dist/interaction/types.js +1 -1
  500. package/dist/interaction/types.js.map +1 -1
  501. package/dist/interaction/useElementInteraction.d.ts +36 -32
  502. package/dist/interaction/useElementInteraction.js +24 -27
  503. package/dist/interaction/useElementInteraction.js.map +1 -1
  504. package/dist/interaction/useHigherContrastChildren.d.ts +10 -9
  505. package/dist/interaction/useHigherContrastChildren.js +12 -11
  506. package/dist/interaction/useHigherContrastChildren.js.map +1 -1
  507. package/dist/interaction/utils.d.ts +2 -2
  508. package/dist/interaction/utils.js +2 -2
  509. package/dist/interaction/utils.js.map +1 -1
  510. package/dist/layout/LayoutAppBar.d.ts +5 -8
  511. package/dist/layout/LayoutAppBar.js +4 -6
  512. package/dist/layout/LayoutAppBar.js.map +1 -1
  513. package/dist/layout/LayoutNav.d.ts +13 -18
  514. package/dist/layout/LayoutNav.js +15 -21
  515. package/dist/layout/LayoutNav.js.map +1 -1
  516. package/dist/layout/LayoutWindowSplitter.d.ts +10 -13
  517. package/dist/layout/LayoutWindowSplitter.js +9 -11
  518. package/dist/layout/LayoutWindowSplitter.js.map +1 -1
  519. package/dist/layout/Main.d.ts +6 -6
  520. package/dist/layout/Main.js +4 -4
  521. package/dist/layout/Main.js.map +1 -1
  522. package/dist/layout/_layout.scss +140 -24
  523. package/dist/layout/layoutNavStyles.d.ts +2 -2
  524. package/dist/layout/layoutNavStyles.js +1 -1
  525. package/dist/layout/layoutNavStyles.js.map +1 -1
  526. package/dist/layout/layoutWindowSplitterStyles.d.ts +2 -2
  527. package/dist/layout/layoutWindowSplitterStyles.js +1 -1
  528. package/dist/layout/layoutWindowSplitterStyles.js.map +1 -1
  529. package/dist/layout/mainStyles.d.ts +2 -2
  530. package/dist/layout/mainStyles.js +1 -1
  531. package/dist/layout/mainStyles.js.map +1 -1
  532. package/dist/layout/useExpandableLayout.d.ts +95 -32
  533. package/dist/layout/useExpandableLayout.js +65 -18
  534. package/dist/layout/useExpandableLayout.js.map +1 -1
  535. package/dist/layout/useHorizontalLayoutTransition.d.ts +13 -10
  536. package/dist/layout/useHorizontalLayoutTransition.js +7 -4
  537. package/dist/layout/useHorizontalLayoutTransition.js.map +1 -1
  538. package/dist/layout/useLayoutAppBarHeight.d.ts +15 -21
  539. package/dist/layout/useLayoutAppBarHeight.js +15 -19
  540. package/dist/layout/useLayoutAppBarHeight.js.map +1 -1
  541. package/dist/layout/useLayoutTree.d.ts +14 -10
  542. package/dist/layout/useLayoutTree.js +8 -4
  543. package/dist/layout/useLayoutTree.js.map +1 -1
  544. package/dist/layout/useLayoutWindowSplitter.d.ts +9 -8
  545. package/dist/layout/useLayoutWindowSplitter.js +6 -5
  546. package/dist/layout/useLayoutWindowSplitter.js.map +1 -1
  547. package/dist/layout/useMainTabIndex.d.ts +1 -1
  548. package/dist/layout/useMainTabIndex.js +1 -1
  549. package/dist/layout/useMainTabIndex.js.map +1 -1
  550. package/dist/layout/useResizableLayout.d.ts +65 -21
  551. package/dist/layout/useResizableLayout.js +64 -19
  552. package/dist/layout/useResizableLayout.js.map +1 -1
  553. package/dist/layout/useTemporaryLayout.d.ts +29 -23
  554. package/dist/layout/useTemporaryLayout.js +14 -11
  555. package/dist/layout/useTemporaryLayout.js.map +1 -1
  556. package/dist/link/Link.d.ts +13 -18
  557. package/dist/link/Link.js +8 -11
  558. package/dist/link/Link.js.map +1 -1
  559. package/dist/link/SkipToMainContent.d.ts +33 -6
  560. package/dist/link/SkipToMainContent.js +27 -3
  561. package/dist/link/SkipToMainContent.js.map +1 -1
  562. package/dist/link/_link.scss +55 -6
  563. package/dist/link/styles.d.ts +6 -6
  564. package/dist/link/styles.js +2 -2
  565. package/dist/link/styles.js.map +1 -1
  566. package/dist/list/List.d.ts +6 -17
  567. package/dist/list/List.js +7 -17
  568. package/dist/list/List.js.map +1 -1
  569. package/dist/list/ListItem.d.ts +12 -9
  570. package/dist/list/ListItem.js +11 -8
  571. package/dist/list/ListItem.js.map +1 -1
  572. package/dist/list/ListItemAddon.d.ts +0 -2
  573. package/dist/list/ListItemAddon.js +0 -2
  574. package/dist/list/ListItemAddon.js.map +1 -1
  575. package/dist/list/ListItemChildren.d.ts +4 -5
  576. package/dist/list/ListItemChildren.js +4 -5
  577. package/dist/list/ListItemChildren.js.map +1 -1
  578. package/dist/list/ListItemLink.d.ts +34 -2
  579. package/dist/list/ListItemLink.js +34 -2
  580. package/dist/list/ListItemLink.js.map +1 -1
  581. package/dist/list/ListItemText.d.ts +0 -2
  582. package/dist/list/ListItemText.js +0 -2
  583. package/dist/list/ListItemText.js.map +1 -1
  584. package/dist/list/ListSubheader.d.ts +8 -5
  585. package/dist/list/ListSubheader.js +3 -3
  586. package/dist/list/ListSubheader.js.map +1 -1
  587. package/dist/list/_list.scss +232 -8
  588. package/dist/list/getListItemHeight.d.ts +3 -3
  589. package/dist/list/getListItemHeight.js +2 -2
  590. package/dist/list/getListItemHeight.js.map +1 -1
  591. package/dist/list/listItemStyles.d.ts +10 -10
  592. package/dist/list/listItemStyles.js +3 -3
  593. package/dist/list/listItemStyles.js.map +1 -1
  594. package/dist/list/listStyles.d.ts +12 -0
  595. package/dist/list/listStyles.js +14 -0
  596. package/dist/list/listStyles.js.map +1 -0
  597. package/dist/list/types.d.ts +20 -14
  598. package/dist/list/types.js +6 -1
  599. package/dist/list/types.js.map +1 -1
  600. package/dist/media-queries/AppSizeProvider.d.ts +12 -3
  601. package/dist/media-queries/AppSizeProvider.js +6 -3
  602. package/dist/media-queries/AppSizeProvider.js.map +1 -1
  603. package/dist/media-queries/_media-queries.scss +143 -3
  604. package/dist/media-queries/appSize.d.ts +5 -5
  605. package/dist/media-queries/appSize.js.map +1 -1
  606. package/dist/media-queries/useMediaQuery.d.ts +7 -6
  607. package/dist/media-queries/useMediaQuery.js +10 -7
  608. package/dist/media-queries/useMediaQuery.js.map +1 -1
  609. package/dist/menu/DropdownMenu.d.ts +12 -13
  610. package/dist/menu/DropdownMenu.js +9 -9
  611. package/dist/menu/DropdownMenu.js.map +1 -1
  612. package/dist/menu/Menu.d.ts +19 -16
  613. package/dist/menu/Menu.js +17 -5
  614. package/dist/menu/Menu.js.map +1 -1
  615. package/dist/menu/MenuBar.d.ts +7 -6
  616. package/dist/menu/MenuBar.js +7 -5
  617. package/dist/menu/MenuBar.js.map +1 -1
  618. package/dist/menu/MenuButton.d.ts +9 -9
  619. package/dist/menu/MenuButton.js +4 -3
  620. package/dist/menu/MenuButton.js.map +1 -1
  621. package/dist/menu/MenuConfigurationProvider.d.ts +8 -8
  622. package/dist/menu/MenuConfigurationProvider.js +5 -5
  623. package/dist/menu/MenuConfigurationProvider.js.map +1 -1
  624. package/dist/menu/MenuItem.d.ts +3 -3
  625. package/dist/menu/MenuItem.js +2 -1
  626. package/dist/menu/MenuItem.js.map +1 -1
  627. package/dist/menu/MenuItemButton.d.ts +2 -3
  628. package/dist/menu/MenuItemButton.js +8 -4
  629. package/dist/menu/MenuItemButton.js.map +1 -1
  630. package/dist/menu/MenuItemCheckbox.d.ts +34 -0
  631. package/dist/menu/MenuItemCheckbox.js +44 -0
  632. package/dist/menu/MenuItemCheckbox.js.map +1 -0
  633. package/dist/menu/MenuItemCircularProgress.d.ts +57 -0
  634. package/dist/menu/MenuItemCircularProgress.js +71 -0
  635. package/dist/menu/MenuItemCircularProgress.js.map +1 -0
  636. package/dist/menu/MenuItemFileInput.d.ts +44 -0
  637. package/dist/menu/MenuItemFileInput.js +59 -0
  638. package/dist/menu/MenuItemFileInput.js.map +1 -0
  639. package/dist/menu/MenuItemGroup.d.ts +9 -11
  640. package/dist/menu/MenuItemGroup.js +8 -10
  641. package/dist/menu/MenuItemGroup.js.map +1 -1
  642. package/dist/menu/MenuItemInputToggle.d.ts +90 -0
  643. package/dist/menu/MenuItemInputToggle.js +114 -0
  644. package/dist/menu/MenuItemInputToggle.js.map +1 -0
  645. package/dist/menu/MenuItemRadio.d.ts +102 -0
  646. package/dist/menu/MenuItemRadio.js +113 -0
  647. package/dist/menu/MenuItemRadio.js.map +1 -0
  648. package/dist/menu/MenuItemSeparator.d.ts +3 -2
  649. package/dist/menu/MenuItemSeparator.js +2 -1
  650. package/dist/menu/MenuItemSeparator.js.map +1 -1
  651. package/dist/menu/MenuItemSwitch.d.ts +33 -0
  652. package/dist/menu/MenuItemSwitch.js +43 -0
  653. package/dist/menu/MenuItemSwitch.js.map +1 -0
  654. package/dist/menu/MenuItemTextField.d.ts +28 -0
  655. package/dist/menu/MenuItemTextField.js +48 -0
  656. package/dist/menu/MenuItemTextField.js.map +1 -0
  657. package/dist/menu/MenuSheet.d.ts +7 -9
  658. package/dist/menu/MenuSheet.js +2 -3
  659. package/dist/menu/MenuSheet.js.map +1 -1
  660. package/dist/menu/MenuVisibilityProvider.d.ts +6 -8
  661. package/dist/menu/MenuVisibilityProvider.js +5 -6
  662. package/dist/menu/MenuVisibilityProvider.js.map +1 -1
  663. package/dist/menu/MenuWidget.d.ts +0 -12
  664. package/dist/menu/MenuWidget.js +1 -12
  665. package/dist/menu/MenuWidget.js.map +1 -1
  666. package/dist/menu/MenuWidgetKeyboardProvider.d.ts +2 -2
  667. package/dist/menu/MenuWidgetKeyboardProvider.js +1 -1
  668. package/dist/menu/MenuWidgetKeyboardProvider.js.map +1 -1
  669. package/dist/menu/_menu.scss +147 -4
  670. package/dist/menu/styles.d.ts +51 -0
  671. package/dist/menu/styles.js +41 -0
  672. package/dist/menu/styles.js.map +1 -0
  673. package/dist/menu/useContextMenu.d.ts +18 -19
  674. package/dist/menu/useContextMenu.js +10 -9
  675. package/dist/menu/useContextMenu.js.map +1 -1
  676. package/dist/menu/useMenuBarProvider.d.ts +6 -7
  677. package/dist/menu/useMenuBarProvider.js +3 -3
  678. package/dist/menu/useMenuBarProvider.js.map +1 -1
  679. package/dist/menu/utils.d.ts +2 -2
  680. package/dist/menu/utils.js +1 -1
  681. package/dist/menu/utils.js.map +1 -1
  682. package/dist/movement/constants.d.ts +3 -3
  683. package/dist/movement/constants.js +3 -3
  684. package/dist/movement/constants.js.map +1 -1
  685. package/dist/movement/types.d.ts +60 -42
  686. package/dist/movement/types.js +1 -1
  687. package/dist/movement/types.js.map +1 -1
  688. package/dist/movement/useKeyboardMovementProvider.d.ts +8 -12
  689. package/dist/movement/useKeyboardMovementProvider.js +24 -16
  690. package/dist/movement/useKeyboardMovementProvider.js.map +1 -1
  691. package/dist/movement/utils.d.ts +19 -14
  692. package/dist/movement/utils.js +19 -9
  693. package/dist/movement/utils.js.map +1 -1
  694. package/dist/navigation/CollapsibleNavGroup.d.ts +32 -0
  695. package/dist/navigation/CollapsibleNavGroup.js +49 -0
  696. package/dist/navigation/CollapsibleNavGroup.js.map +1 -0
  697. package/dist/navigation/DefaultNavigationRenderer.d.ts +22 -0
  698. package/dist/navigation/DefaultNavigationRenderer.js +63 -0
  699. package/dist/navigation/DefaultNavigationRenderer.js.map +1 -0
  700. package/dist/navigation/NavGroup.d.ts +17 -0
  701. package/dist/navigation/NavGroup.js +28 -0
  702. package/dist/navigation/NavGroup.js.map +1 -0
  703. package/dist/navigation/NavItem.d.ts +16 -0
  704. package/dist/navigation/NavItem.js +23 -0
  705. package/dist/navigation/NavItem.js.map +1 -0
  706. package/dist/navigation/NavItemButton.d.ts +27 -0
  707. package/dist/navigation/NavItemButton.js +67 -0
  708. package/dist/navigation/NavItemButton.js.map +1 -0
  709. package/dist/navigation/NavItemLink.d.ts +42 -0
  710. package/dist/navigation/NavItemLink.js +93 -0
  711. package/dist/navigation/NavItemLink.js.map +1 -0
  712. package/dist/navigation/NavSubheader.d.ts +13 -0
  713. package/dist/navigation/NavSubheader.js +25 -0
  714. package/dist/navigation/NavSubheader.js.map +1 -0
  715. package/dist/navigation/Navigation.d.ts +75 -0
  716. package/dist/navigation/Navigation.js +90 -0
  717. package/dist/navigation/Navigation.js.map +1 -0
  718. package/dist/navigation/_navigation.scss +142 -0
  719. package/dist/navigation/getTableOfContentsHeadings.d.ts +20 -0
  720. package/dist/navigation/getTableOfContentsHeadings.js +53 -0
  721. package/dist/navigation/getTableOfContentsHeadings.js.map +1 -0
  722. package/dist/navigation/navGroupStyles.d.ts +11 -0
  723. package/dist/navigation/navGroupStyles.js +13 -0
  724. package/dist/navigation/navGroupStyles.js.map +1 -0
  725. package/dist/navigation/navItemStyles.d.ts +33 -0
  726. package/dist/navigation/navItemStyles.js +31 -0
  727. package/dist/navigation/navItemStyles.js.map +1 -0
  728. package/dist/navigation/types.d.ts +232 -0
  729. package/dist/navigation/types.js +3 -0
  730. package/dist/navigation/types.js.map +1 -0
  731. package/dist/navigation/useActiveHeadingId.d.ts +44 -0
  732. package/dist/navigation/useActiveHeadingId.js +118 -0
  733. package/dist/navigation/useActiveHeadingId.js.map +1 -0
  734. package/dist/navigation/useNavigationExpansion.d.ts +106 -0
  735. package/dist/navigation/useNavigationExpansion.js +79 -0
  736. package/dist/navigation/useNavigationExpansion.js.map +1 -0
  737. package/dist/navigation/useTableOfContentsHeadings.d.ts +41 -0
  738. package/dist/navigation/useTableOfContentsHeadings.js +68 -0
  739. package/dist/navigation/useTableOfContentsHeadings.js.map +1 -0
  740. package/dist/navigation/utils.d.ts +13 -0
  741. package/dist/navigation/utils.js +36 -0
  742. package/dist/navigation/utils.js.map +1 -0
  743. package/dist/objectFit.d.ts +86 -0
  744. package/dist/objectFit.js +53 -0
  745. package/dist/objectFit.js.map +1 -0
  746. package/dist/overlay/Overlay.d.ts +16 -7
  747. package/dist/overlay/Overlay.js +8 -6
  748. package/dist/overlay/Overlay.js.map +1 -1
  749. package/dist/overlay/_overlay.scss +37 -1
  750. package/dist/overlay/styles.d.ts +31 -0
  751. package/dist/overlay/styles.js +28 -0
  752. package/dist/overlay/styles.js.map +1 -0
  753. package/dist/portal/Portal.d.ts +6 -2
  754. package/dist/portal/Portal.js +2 -2
  755. package/dist/portal/Portal.js.map +1 -1
  756. package/dist/portal/PortalContainerProvider.d.ts +13 -7
  757. package/dist/portal/PortalContainerProvider.js +4 -2
  758. package/dist/portal/PortalContainerProvider.js.map +1 -1
  759. package/dist/positioning/constants.d.ts +1 -1
  760. package/dist/positioning/constants.js.map +1 -1
  761. package/dist/positioning/createHorizontalPosition.d.ts +8 -8
  762. package/dist/positioning/createHorizontalPosition.js +12 -12
  763. package/dist/positioning/createHorizontalPosition.js.map +1 -1
  764. package/dist/positioning/createVerticalPosition.d.ts +9 -9
  765. package/dist/positioning/createVerticalPosition.js +2 -2
  766. package/dist/positioning/createVerticalPosition.js.map +1 -1
  767. package/dist/positioning/getFixedPosition.d.ts +1 -1
  768. package/dist/positioning/getFixedPosition.js +1 -1
  769. package/dist/positioning/getFixedPosition.js.map +1 -1
  770. package/dist/positioning/types.d.ts +4 -4
  771. package/dist/positioning/types.js.map +1 -1
  772. package/dist/positioning/useFixedPositioning.d.ts +40 -24
  773. package/dist/positioning/useFixedPositioning.js +20 -22
  774. package/dist/positioning/useFixedPositioning.js.map +1 -1
  775. package/dist/positioning/utils.d.ts +4 -4
  776. package/dist/positioning/utils.js +1 -1
  777. package/dist/positioning/utils.js.map +1 -1
  778. package/dist/progress/CircularProgress.d.ts +14 -17
  779. package/dist/progress/CircularProgress.js +6 -9
  780. package/dist/progress/CircularProgress.js.map +1 -1
  781. package/dist/progress/LinearProgress.d.ts +7 -10
  782. package/dist/progress/LinearProgress.js +6 -9
  783. package/dist/progress/LinearProgress.js.map +1 -1
  784. package/dist/progress/_progress.scss +199 -55
  785. package/dist/progress/types.d.ts +6 -6
  786. package/dist/progress/types.js +1 -1
  787. package/dist/progress/types.js.map +1 -1
  788. package/dist/responsive-item/ResponsiveItem.d.ts +65 -0
  789. package/dist/responsive-item/ResponsiveItem.js +69 -0
  790. package/dist/responsive-item/ResponsiveItem.js.map +1 -0
  791. package/dist/responsive-item/ResponsiveItemOverlay.d.ts +10 -29
  792. package/dist/responsive-item/ResponsiveItemOverlay.js +9 -21
  793. package/dist/responsive-item/ResponsiveItemOverlay.js.map +1 -1
  794. package/dist/responsive-item/_responsive-item.scss +199 -129
  795. package/dist/responsive-item/responsiveItemOverlayStyles.d.ts +19 -0
  796. package/dist/responsive-item/responsiveItemOverlayStyles.js +14 -0
  797. package/dist/responsive-item/responsiveItemOverlayStyles.js.map +1 -0
  798. package/dist/responsive-item/responsiveItemStyles.d.ts +52 -0
  799. package/dist/responsive-item/responsiveItemStyles.js +15 -0
  800. package/dist/responsive-item/responsiveItemStyles.js.map +1 -0
  801. package/dist/scroll/ScrollLock.d.ts +1 -1
  802. package/dist/scroll/ScrollLock.js +1 -1
  803. package/dist/scroll/ScrollLock.js.map +1 -1
  804. package/dist/scroll/useScrollLock.d.ts +9 -4
  805. package/dist/scroll/useScrollLock.js +4 -4
  806. package/dist/scroll/useScrollLock.js.map +1 -1
  807. package/dist/searching/caseInsensitive.d.ts +146 -0
  808. package/dist/searching/caseInsensitive.js +30 -0
  809. package/dist/searching/caseInsensitive.js.map +1 -0
  810. package/dist/searching/fuzzy.d.ts +128 -0
  811. package/dist/searching/fuzzy.js +55 -0
  812. package/dist/searching/fuzzy.js.map +1 -0
  813. package/dist/searching/toSearchQuery.d.ts +7 -0
  814. package/dist/searching/toSearchQuery.js +15 -0
  815. package/dist/searching/toSearchQuery.js.map +1 -0
  816. package/dist/searching/types.d.ts +28 -0
  817. package/dist/searching/types.js +5 -0
  818. package/dist/searching/types.js.map +1 -0
  819. package/dist/searching/useFuzzyMatch.d.ts +19 -0
  820. package/dist/searching/useFuzzyMatch.js +26 -0
  821. package/dist/searching/useFuzzyMatch.js.map +1 -0
  822. package/dist/searching/utils.d.ts +21 -0
  823. package/dist/searching/utils.js +28 -0
  824. package/dist/searching/utils.js.map +1 -0
  825. package/dist/segmented-button/SegmentedButton.d.ts +8 -9
  826. package/dist/segmented-button/SegmentedButton.js +8 -9
  827. package/dist/segmented-button/SegmentedButton.js.map +1 -1
  828. package/dist/segmented-button/SegmentedButtonContainer.d.ts +8 -12
  829. package/dist/segmented-button/SegmentedButtonContainer.js +9 -13
  830. package/dist/segmented-button/SegmentedButtonContainer.js.map +1 -1
  831. package/dist/segmented-button/_segmented-button.scss +92 -6
  832. package/dist/segmented-button/segmentedButtonContainerStyles.d.ts +3 -3
  833. package/dist/segmented-button/segmentedButtonContainerStyles.js +2 -2
  834. package/dist/segmented-button/segmentedButtonContainerStyles.js.map +1 -1
  835. package/dist/segmented-button/segmentedButtonStyles.d.ts +2 -2
  836. package/dist/segmented-button/segmentedButtonStyles.js +1 -1
  837. package/dist/segmented-button/segmentedButtonStyles.js.map +1 -1
  838. package/dist/sheet/Sheet.d.ts +33 -5
  839. package/dist/sheet/Sheet.js +28 -16
  840. package/dist/sheet/Sheet.js.map +1 -1
  841. package/dist/sheet/_sheet.scss +102 -6
  842. package/dist/sheet/styles.d.ts +38 -4
  843. package/dist/sheet/styles.js +20 -3
  844. package/dist/sheet/styles.js.map +1 -1
  845. package/dist/snackbar/DefaultToastRenderer.d.ts +3 -2
  846. package/dist/snackbar/DefaultToastRenderer.js +2 -1
  847. package/dist/snackbar/DefaultToastRenderer.js.map +1 -1
  848. package/dist/snackbar/Snackbar.d.ts +22 -20
  849. package/dist/snackbar/Snackbar.js +8 -5
  850. package/dist/snackbar/Snackbar.js.map +1 -1
  851. package/dist/snackbar/Toast.d.ts +11 -3
  852. package/dist/snackbar/Toast.js +2 -1
  853. package/dist/snackbar/Toast.js.map +1 -1
  854. package/dist/snackbar/ToastActionButton.d.ts +4 -4
  855. package/dist/snackbar/ToastActionButton.js +2 -1
  856. package/dist/snackbar/ToastActionButton.js.map +1 -1
  857. package/dist/snackbar/ToastCloseButton.d.ts +4 -4
  858. package/dist/snackbar/ToastCloseButton.js +3 -2
  859. package/dist/snackbar/ToastCloseButton.js.map +1 -1
  860. package/dist/snackbar/ToastContent.d.ts +3 -2
  861. package/dist/snackbar/ToastContent.js +2 -1
  862. package/dist/snackbar/ToastContent.js.map +1 -1
  863. package/dist/snackbar/ToastManager.d.ts +18 -19
  864. package/dist/snackbar/ToastManager.js +37 -25
  865. package/dist/snackbar/ToastManager.js.map +1 -1
  866. package/dist/snackbar/ToastManagerProvider.d.ts +7 -6
  867. package/dist/snackbar/ToastManagerProvider.js +6 -5
  868. package/dist/snackbar/ToastManagerProvider.js.map +1 -1
  869. package/dist/snackbar/_snackbar.scss +168 -20
  870. package/dist/snackbar/snackbarStyles.d.ts +5 -5
  871. package/dist/snackbar/snackbarStyles.js +3 -2
  872. package/dist/snackbar/snackbarStyles.js.map +1 -1
  873. package/dist/snackbar/toastContentStyles.d.ts +2 -2
  874. package/dist/snackbar/toastContentStyles.js +1 -1
  875. package/dist/snackbar/toastContentStyles.js.map +1 -1
  876. package/dist/snackbar/toastStyles.d.ts +2 -9
  877. package/dist/snackbar/toastStyles.js +1 -1
  878. package/dist/snackbar/toastStyles.js.map +1 -1
  879. package/dist/snackbar/useCurrentToastActions.d.ts +9 -9
  880. package/dist/snackbar/useCurrentToastActions.js +3 -2
  881. package/dist/snackbar/useCurrentToastActions.js.map +1 -1
  882. package/dist/storage/internalUtils.d.ts +19 -0
  883. package/dist/storage/internalUtils.js +22 -0
  884. package/dist/storage/internalUtils.js.map +1 -0
  885. package/dist/storage/types.d.ts +75 -0
  886. package/dist/storage/types.js +3 -0
  887. package/dist/storage/types.js.map +1 -0
  888. package/dist/storage/useStorage.d.ts +114 -0
  889. package/dist/storage/useStorage.js +248 -0
  890. package/dist/storage/useStorage.js.map +1 -0
  891. package/dist/storage/utils.d.ts +94 -0
  892. package/dist/storage/utils.js +106 -0
  893. package/dist/storage/utils.js.map +1 -0
  894. package/dist/suspense/CircularProgressSuspense.d.ts +5 -7
  895. package/dist/suspense/CircularProgressSuspense.js +4 -6
  896. package/dist/suspense/CircularProgressSuspense.js.map +1 -1
  897. package/dist/suspense/NullSuspense.d.ts +5 -7
  898. package/dist/suspense/NullSuspense.js +4 -6
  899. package/dist/suspense/NullSuspense.js.map +1 -1
  900. package/dist/table/StickyTableSection.d.ts +25 -0
  901. package/dist/table/StickyTableSection.js +58 -0
  902. package/dist/table/StickyTableSection.js.map +1 -0
  903. package/dist/table/Table.d.ts +10 -11
  904. package/dist/table/Table.js +9 -10
  905. package/dist/table/Table.js.map +1 -1
  906. package/dist/table/TableBody.d.ts +3 -1
  907. package/dist/table/TableBody.js +2 -0
  908. package/dist/table/TableBody.js.map +1 -1
  909. package/dist/table/TableCell.d.ts +16 -11
  910. package/dist/table/TableCell.js +3 -1
  911. package/dist/table/TableCell.js.map +1 -1
  912. package/dist/table/TableCellContent.d.ts +4 -8
  913. package/dist/table/TableCellContent.js +0 -3
  914. package/dist/table/TableCellContent.js.map +1 -1
  915. package/dist/table/TableCheckbox.d.ts +20 -25
  916. package/dist/table/TableCheckbox.js +13 -16
  917. package/dist/table/TableCheckbox.js.map +1 -1
  918. package/dist/table/TableConfigurationProvider.d.ts +1 -74
  919. package/dist/table/TableConfigurationProvider.js +1 -1
  920. package/dist/table/TableConfigurationProvider.js.map +1 -1
  921. package/dist/table/TableContainer.d.ts +2 -0
  922. package/dist/table/TableContainer.js +2 -0
  923. package/dist/table/TableContainer.js.map +1 -1
  924. package/dist/table/TableContainerProvider.d.ts +3 -3
  925. package/dist/table/TableContainerProvider.js +3 -3
  926. package/dist/table/TableContainerProvider.js.map +1 -1
  927. package/dist/table/TableFooter.d.ts +10 -17
  928. package/dist/table/TableFooter.js +19 -80
  929. package/dist/table/TableFooter.js.map +1 -1
  930. package/dist/table/TableHeader.d.ts +10 -17
  931. package/dist/table/TableHeader.js +22 -87
  932. package/dist/table/TableHeader.js.map +1 -1
  933. package/dist/table/TableRadio.d.ts +20 -22
  934. package/dist/table/TableRadio.js +12 -13
  935. package/dist/table/TableRadio.js.map +1 -1
  936. package/dist/table/TableRow.d.ts +3 -1
  937. package/dist/table/TableRow.js +2 -0
  938. package/dist/table/TableRow.js.map +1 -1
  939. package/dist/table/_table.scss +230 -16
  940. package/dist/table/tableCellStyles.d.ts +10 -6
  941. package/dist/table/tableCellStyles.js +6 -5
  942. package/dist/table/tableCellStyles.js.map +1 -1
  943. package/dist/table/tableContainerStyles.d.ts +2 -2
  944. package/dist/table/tableContainerStyles.js +1 -1
  945. package/dist/table/tableContainerStyles.js.map +1 -1
  946. package/dist/table/tableFooterStyles.d.ts +1 -1
  947. package/dist/table/tableFooterStyles.js.map +1 -1
  948. package/dist/table/tableHeaderStyles.d.ts +2 -2
  949. package/dist/table/tableHeaderStyles.js +1 -1
  950. package/dist/table/tableHeaderStyles.js.map +1 -1
  951. package/dist/table/tableRowStyles.d.ts +2 -2
  952. package/dist/table/tableRowStyles.js +1 -1
  953. package/dist/table/tableRowStyles.js.map +1 -1
  954. package/dist/table/tableStyles.d.ts +2 -2
  955. package/dist/table/tableStyles.js +1 -1
  956. package/dist/table/tableStyles.js.map +1 -1
  957. package/dist/table/types.d.ts +96 -18
  958. package/dist/table/types.js +1 -1
  959. package/dist/table/types.js.map +1 -1
  960. package/dist/table/useStickyTableSection.d.ts +27 -0
  961. package/dist/table/useStickyTableSection.js +84 -0
  962. package/dist/table/useStickyTableSection.js.map +1 -0
  963. package/dist/table/useTableSectionConfig.d.ts +13 -0
  964. package/dist/table/useTableSectionConfig.js +33 -0
  965. package/dist/table/useTableSectionConfig.js.map +1 -0
  966. package/dist/tabs/SimpleTabPanel.d.ts +19 -0
  967. package/dist/tabs/SimpleTabPanel.js +23 -0
  968. package/dist/tabs/SimpleTabPanel.js.map +1 -0
  969. package/dist/tabs/SimpleTabPanels.d.ts +19 -0
  970. package/dist/tabs/SimpleTabPanels.js +20 -0
  971. package/dist/tabs/SimpleTabPanels.js.map +1 -0
  972. package/dist/tabs/Tab.d.ts +28 -6
  973. package/dist/tabs/Tab.js +4 -3
  974. package/dist/tabs/Tab.js.map +1 -1
  975. package/dist/tabs/TabList.d.ts +12 -29
  976. package/dist/tabs/TabList.js +6 -8
  977. package/dist/tabs/TabList.js.map +1 -1
  978. package/dist/tabs/TabListScrollButton.d.ts +5 -5
  979. package/dist/tabs/TabListScrollButton.js +9 -4
  980. package/dist/tabs/TabListScrollButton.js.map +1 -1
  981. package/dist/tabs/_tabs.scss +267 -32
  982. package/dist/tabs/getTabListScrollToOptions.d.ts +18 -0
  983. package/dist/tabs/getTabListScrollToOptions.js +19 -0
  984. package/dist/tabs/getTabListScrollToOptions.js.map +1 -0
  985. package/dist/tabs/tabIndicatorStyles.d.ts +2 -2
  986. package/dist/tabs/tabIndicatorStyles.js +1 -1
  987. package/dist/tabs/tabIndicatorStyles.js.map +1 -1
  988. package/dist/tabs/tabListScrollButtonStyles.d.ts +6 -4
  989. package/dist/tabs/tabListScrollButtonStyles.js +11 -7
  990. package/dist/tabs/tabListScrollButtonStyles.js.map +1 -1
  991. package/dist/tabs/tabListStyles.d.ts +11 -2
  992. package/dist/tabs/tabListStyles.js +3 -2
  993. package/dist/tabs/tabListStyles.js.map +1 -1
  994. package/dist/tabs/tabStyles.d.ts +2 -10
  995. package/dist/tabs/tabStyles.js +1 -1
  996. package/dist/tabs/tabStyles.js.map +1 -1
  997. package/dist/tabs/types.d.ts +25 -0
  998. package/dist/tabs/types.js +24 -0
  999. package/dist/tabs/types.js.map +1 -0
  1000. package/dist/tabs/useMaxTabPanelHeight.d.ts +82 -0
  1001. package/dist/tabs/useMaxTabPanelHeight.js +95 -0
  1002. package/dist/tabs/useMaxTabPanelHeight.js.map +1 -0
  1003. package/dist/tabs/useTabList.d.ts +7 -10
  1004. package/dist/tabs/useTabList.js +29 -8
  1005. package/dist/tabs/useTabList.js.map +1 -1
  1006. package/dist/tabs/useTabs.d.ts +110 -104
  1007. package/dist/tabs/useTabs.js +19 -8
  1008. package/dist/tabs/useTabs.js.map +1 -1
  1009. package/dist/tabs/utils.d.ts +4 -18
  1010. package/dist/tabs/utils.js +5 -15
  1011. package/dist/tabs/utils.js.map +1 -1
  1012. package/dist/test-utils/data-testid.d.ts +6 -0
  1013. package/dist/test-utils/data-testid.js +1 -0
  1014. package/dist/test-utils/data-testid.js.map +1 -1
  1015. package/dist/test-utils/drag.d.ts +27 -0
  1016. package/dist/test-utils/index.d.ts +9 -0
  1017. package/dist/test-utils/index.js +6 -4
  1018. package/dist/test-utils/index.js.map +1 -1
  1019. package/dist/test-utils/jest-globals/index.d.ts +4 -0
  1020. package/dist/test-utils/jest-globals/index.js +6 -0
  1021. package/dist/test-utils/jest-globals/index.js.map +1 -0
  1022. package/dist/test-utils/jest-globals/match-media.d.ts +31 -0
  1023. package/dist/test-utils/jest-globals/match-media.js +35 -0
  1024. package/dist/test-utils/jest-globals/match-media.js.map +1 -0
  1025. package/dist/test-utils/jest-globals/resize-observer.d.ts +5 -0
  1026. package/dist/test-utils/jest-globals/resize-observer.js +10 -0
  1027. package/dist/test-utils/jest-globals/resize-observer.js.map +1 -0
  1028. package/dist/test-utils/jest-globals/setup.d.ts +1 -0
  1029. package/dist/test-utils/jest-globals/setup.js +14 -0
  1030. package/dist/test-utils/jest-globals/setup.js.map +1 -0
  1031. package/dist/test-utils/jest-globals/timers.d.ts +42 -0
  1032. package/dist/test-utils/jest-globals/timers.js +42 -0
  1033. package/dist/test-utils/jest-globals/timers.js.map +1 -0
  1034. package/dist/test-utils/jest-globals/uploadMenuItemFileInput.d.ts +32 -0
  1035. package/dist/test-utils/jest-globals/uploadMenuItemFileInput.js +39 -0
  1036. package/dist/test-utils/jest-globals/uploadMenuItemFileInput.js.map +1 -0
  1037. package/dist/test-utils/mocks/IntersectionObserver.d.ts +12 -0
  1038. package/dist/test-utils/mocks/IntersectionObserver.js.map +1 -0
  1039. package/dist/test-utils/mocks/ResizeObserver.d.ts +204 -0
  1040. package/dist/test-utils/mocks/ResizeObserver.js +248 -0
  1041. package/dist/test-utils/mocks/ResizeObserver.js.map +1 -0
  1042. package/dist/test-utils/mocks/match-media.d.ts +63 -0
  1043. package/dist/test-utils/mocks/match-media.js +39 -0
  1044. package/dist/test-utils/mocks/match-media.js.map +1 -0
  1045. package/dist/test-utils/polyfills/IntersectionObserver.d.ts +1 -0
  1046. package/dist/test-utils/polyfills/IntersectionObserver.js +1 -1
  1047. package/dist/test-utils/polyfills/IntersectionObserver.js.map +1 -1
  1048. package/dist/test-utils/polyfills/ResizeObserver.d.ts +1 -0
  1049. package/dist/test-utils/polyfills/ResizeObserver.js +1 -1
  1050. package/dist/test-utils/polyfills/ResizeObserver.js.map +1 -1
  1051. package/dist/test-utils/polyfills/TextDecoder.d.ts +1 -0
  1052. package/dist/test-utils/polyfills/TextDecoder.js +7 -0
  1053. package/dist/test-utils/polyfills/TextDecoder.js.map +1 -0
  1054. package/dist/test-utils/polyfills/TextEncoder.d.ts +1 -0
  1055. package/dist/test-utils/polyfills/TextEncoder.js +6 -0
  1056. package/dist/test-utils/polyfills/TextEncoder.js.map +1 -0
  1057. package/dist/test-utils/polyfills/index.d.ts +7 -0
  1058. package/dist/test-utils/polyfills/index.js +2 -0
  1059. package/dist/test-utils/polyfills/index.js.map +1 -1
  1060. package/dist/test-utils/polyfills/matchMedia.d.ts +1 -0
  1061. package/dist/test-utils/polyfills/matchMedia.js +1 -1
  1062. package/dist/test-utils/polyfills/matchMedia.js.map +1 -1
  1063. package/dist/test-utils/polyfills/offsetParent.d.ts +1 -0
  1064. package/dist/test-utils/polyfills/scrollIntoView.d.ts +1 -0
  1065. package/dist/test-utils/queries/index.d.ts +2 -0
  1066. package/dist/test-utils/queries/index.js +4 -0
  1067. package/dist/test-utils/queries/index.js.map +1 -0
  1068. package/dist/test-utils/queries/select.d.ts +67 -0
  1069. package/dist/test-utils/queries/select.js +69 -0
  1070. package/dist/test-utils/queries/select.js.map +1 -0
  1071. package/dist/test-utils/queries/slider.d.ts +126 -0
  1072. package/dist/test-utils/queries/slider.js +136 -0
  1073. package/dist/test-utils/queries/slider.js.map +1 -0
  1074. package/dist/test-utils/queries/types.d.ts +8 -0
  1075. package/dist/test-utils/queries/types.js +5 -0
  1076. package/dist/test-utils/queries/types.js.map +1 -0
  1077. package/dist/test-utils/render.d.ts +13 -0
  1078. package/dist/test-utils/render.js +1 -1
  1079. package/dist/test-utils/render.js.map +1 -1
  1080. package/dist/test-utils/utils/createFileList.d.ts +4 -0
  1081. package/dist/test-utils/utils/createFileList.js +27 -0
  1082. package/dist/test-utils/utils/createFileList.js.map +1 -0
  1083. package/dist/test-utils/utils/createMatchMediaSpy.d.ts +40 -0
  1084. package/dist/test-utils/utils/createMatchMediaSpy.js +75 -0
  1085. package/dist/test-utils/utils/createMatchMediaSpy.js.map +1 -0
  1086. package/dist/test-utils/utils/createResizeObserverEntry.d.ts +18 -0
  1087. package/dist/test-utils/utils/createResizeObserverEntry.js +33 -0
  1088. package/dist/test-utils/utils/createResizeObserverEntry.js.map +1 -0
  1089. package/dist/test-utils/vitest/index.d.ts +4 -0
  1090. package/dist/test-utils/vitest/index.js +6 -0
  1091. package/dist/test-utils/vitest/index.js.map +1 -0
  1092. package/dist/test-utils/vitest/match-media.d.ts +31 -0
  1093. package/dist/test-utils/vitest/match-media.js +35 -0
  1094. package/dist/test-utils/vitest/match-media.js.map +1 -0
  1095. package/dist/test-utils/vitest/resize-observer.d.ts +5 -0
  1096. package/dist/test-utils/vitest/resize-observer.js +10 -0
  1097. package/dist/test-utils/vitest/resize-observer.js.map +1 -0
  1098. package/dist/test-utils/vitest/setup.d.ts +1 -0
  1099. package/dist/test-utils/vitest/setup.js +18 -0
  1100. package/dist/test-utils/vitest/setup.js.map +1 -0
  1101. package/dist/test-utils/vitest/timers.d.ts +42 -0
  1102. package/dist/test-utils/vitest/timers.js +42 -0
  1103. package/dist/test-utils/vitest/timers.js.map +1 -0
  1104. package/dist/test-utils/vitest/uploadMenuItemFileInput.d.ts +32 -0
  1105. package/dist/test-utils/vitest/uploadMenuItemFileInput.js +39 -0
  1106. package/dist/test-utils/vitest/uploadMenuItemFileInput.js.map +1 -0
  1107. package/dist/theme/LocalStorageColorSchemeProvider.d.ts +25 -25
  1108. package/dist/theme/LocalStorageColorSchemeProvider.js +26 -25
  1109. package/dist/theme/LocalStorageColorSchemeProvider.js.map +1 -1
  1110. package/dist/theme/ThemeProvider.d.ts +19 -114
  1111. package/dist/theme/ThemeProvider.js +21 -84
  1112. package/dist/theme/ThemeProvider.js.map +1 -1
  1113. package/dist/theme/_a11y.scss +86 -13
  1114. package/dist/theme/_colors.scss +7 -1
  1115. package/dist/theme/_theme.scss +374 -41
  1116. package/dist/theme/colors.d.ts +2 -2
  1117. package/dist/theme/colors.js +2 -2
  1118. package/dist/theme/colors.js.map +1 -1
  1119. package/dist/theme/constants.d.ts +7 -0
  1120. package/dist/theme/constants.js +31 -0
  1121. package/dist/theme/constants.js.map +1 -0
  1122. package/dist/theme/getDerivedTheme.d.ts +27 -0
  1123. package/dist/theme/getDerivedTheme.js +38 -0
  1124. package/dist/theme/getDerivedTheme.js.map +1 -0
  1125. package/dist/theme/isColorScheme.d.ts +16 -0
  1126. package/dist/theme/isColorScheme.js +19 -0
  1127. package/dist/theme/isColorScheme.js.map +1 -0
  1128. package/dist/theme/types.d.ts +107 -4
  1129. package/dist/theme/types.js +1 -23
  1130. package/dist/theme/types.js.map +1 -1
  1131. package/dist/theme/useCSSVariables.d.ts +7 -64
  1132. package/dist/theme/useCSSVariables.js +36 -21
  1133. package/dist/theme/useCSSVariables.js.map +1 -1
  1134. package/dist/theme/useColorScheme.d.ts +19 -53
  1135. package/dist/theme/useColorScheme.js +20 -19
  1136. package/dist/theme/useColorScheme.js.map +1 -1
  1137. package/dist/theme/useColorSchemeMetaTag.d.ts +17 -4
  1138. package/dist/theme/useColorSchemeMetaTag.js +14 -1
  1139. package/dist/theme/useColorSchemeMetaTag.js.map +1 -1
  1140. package/dist/theme/useColorSchemeProvider.d.ts +20 -22
  1141. package/dist/theme/useColorSchemeProvider.js +13 -13
  1142. package/dist/theme/useColorSchemeProvider.js.map +1 -1
  1143. package/dist/theme/useInlineCSSVariables.d.ts +33 -0
  1144. package/dist/theme/useInlineCSSVariables.js +42 -0
  1145. package/dist/theme/useInlineCSSVariables.js.map +1 -0
  1146. package/dist/theme/usePrefersDarkTheme.d.ts +7 -0
  1147. package/dist/theme/usePrefersDarkTheme.js +12 -0
  1148. package/dist/theme/usePrefersDarkTheme.js.map +1 -0
  1149. package/dist/theme/utils.d.ts +1 -1
  1150. package/dist/theme/utils.js +1 -1
  1151. package/dist/theme/utils.js.map +1 -1
  1152. package/dist/tooltip/Tooltip.d.ts +34 -14
  1153. package/dist/tooltip/Tooltip.js +7 -4
  1154. package/dist/tooltip/Tooltip.js.map +1 -1
  1155. package/dist/tooltip/TooltipHoverModeProvider.d.ts +6 -6
  1156. package/dist/tooltip/TooltipHoverModeProvider.js +4 -4
  1157. package/dist/tooltip/TooltipHoverModeProvider.js.map +1 -1
  1158. package/dist/tooltip/_tooltip.scss +161 -20
  1159. package/dist/tooltip/constants.d.ts +22 -12
  1160. package/dist/tooltip/constants.js +12 -12
  1161. package/dist/tooltip/constants.js.map +1 -1
  1162. package/dist/tooltip/styles.d.ts +15 -0
  1163. package/dist/tooltip/styles.js +17 -0
  1164. package/dist/tooltip/styles.js.map +1 -0
  1165. package/dist/tooltip/useTooltip.d.ts +74 -67
  1166. package/dist/tooltip/useTooltip.js +14 -16
  1167. package/dist/tooltip/useTooltip.js.map +1 -1
  1168. package/dist/tooltip/useTooltipPosition.d.ts +6 -8
  1169. package/dist/tooltip/useTooltipPosition.js +1 -1
  1170. package/dist/tooltip/useTooltipPosition.js.map +1 -1
  1171. package/dist/transition/CSSTransition.d.ts +6 -5
  1172. package/dist/transition/CSSTransition.js +5 -4
  1173. package/dist/transition/CSSTransition.js.map +1 -1
  1174. package/dist/transition/Collapse.d.ts +6 -8
  1175. package/dist/transition/Collapse.js +4 -5
  1176. package/dist/transition/Collapse.js.map +1 -1
  1177. package/dist/transition/CrossFade.d.ts +6 -8
  1178. package/dist/transition/CrossFade.js +6 -8
  1179. package/dist/transition/CrossFade.js.map +1 -1
  1180. package/dist/transition/ScaleTransition.d.ts +11 -11
  1181. package/dist/transition/ScaleTransition.js +8 -7
  1182. package/dist/transition/ScaleTransition.js.map +1 -1
  1183. package/dist/transition/SkeletonPlaceholder.d.ts +7 -8
  1184. package/dist/transition/SkeletonPlaceholder.js +6 -7
  1185. package/dist/transition/SkeletonPlaceholder.js.map +1 -1
  1186. package/dist/transition/Slide.d.ts +3 -2
  1187. package/dist/transition/Slide.js +2 -1
  1188. package/dist/transition/Slide.js.map +1 -1
  1189. package/dist/transition/SlideContainer.d.ts +18 -65
  1190. package/dist/transition/SlideContainer.js +17 -61
  1191. package/dist/transition/SlideContainer.js.map +1 -1
  1192. package/dist/transition/_transition.scss +194 -15
  1193. package/dist/transition/collapseStyles.d.ts +2 -2
  1194. package/dist/transition/collapseStyles.js +1 -1
  1195. package/dist/transition/collapseStyles.js.map +1 -1
  1196. package/dist/transition/config.d.ts +6 -3
  1197. package/dist/transition/config.js +2 -2
  1198. package/dist/transition/config.js.map +1 -1
  1199. package/dist/transition/getTransitionCallbacks.d.ts +76 -0
  1200. package/dist/transition/getTransitionCallbacks.js +57 -0
  1201. package/dist/transition/getTransitionCallbacks.js.map +1 -0
  1202. package/dist/transition/maxWidthTransition.d.ts +6 -0
  1203. package/dist/transition/maxWidthTransition.js +3 -1
  1204. package/dist/transition/maxWidthTransition.js.map +1 -1
  1205. package/dist/transition/skeletonPlaceholderUtils.d.ts +7 -4
  1206. package/dist/transition/skeletonPlaceholderUtils.js +6 -3
  1207. package/dist/transition/skeletonPlaceholderUtils.js.map +1 -1
  1208. package/dist/transition/types.d.ts +77 -61
  1209. package/dist/transition/types.js +1 -1
  1210. package/dist/transition/types.js.map +1 -1
  1211. package/dist/transition/useCSSTransition.d.ts +14 -11
  1212. package/dist/transition/useCSSTransition.js +14 -11
  1213. package/dist/transition/useCSSTransition.js.map +1 -1
  1214. package/dist/transition/useCarousel.d.ts +14 -11
  1215. package/dist/transition/useCarousel.js +12 -9
  1216. package/dist/transition/useCarousel.js.map +1 -1
  1217. package/dist/transition/useCollapseTransition.d.ts +32 -40
  1218. package/dist/transition/useCollapseTransition.js +18 -22
  1219. package/dist/transition/useCollapseTransition.js.map +1 -1
  1220. package/dist/transition/useCrossFadeTransition.d.ts +26 -50
  1221. package/dist/transition/useCrossFadeTransition.js +20 -52
  1222. package/dist/transition/useCrossFadeTransition.js.map +1 -1
  1223. package/dist/transition/useMaxWidthTransition.d.ts +11 -2
  1224. package/dist/transition/useMaxWidthTransition.js +10 -1
  1225. package/dist/transition/useMaxWidthTransition.js.map +1 -1
  1226. package/dist/transition/useScaleTransition.d.ts +50 -26
  1227. package/dist/transition/useScaleTransition.js +31 -25
  1228. package/dist/transition/useScaleTransition.js.map +1 -1
  1229. package/dist/transition/useSkeletonPlaceholder.d.ts +28 -13
  1230. package/dist/transition/useSkeletonPlaceholder.js +16 -1
  1231. package/dist/transition/useSkeletonPlaceholder.js.map +1 -1
  1232. package/dist/transition/useSlideTransition.d.ts +26 -25
  1233. package/dist/transition/useSlideTransition.js +17 -21
  1234. package/dist/transition/useSlideTransition.js.map +1 -1
  1235. package/dist/transition/useTransition.d.ts +3 -1
  1236. package/dist/transition/useTransition.js +7 -4
  1237. package/dist/transition/useTransition.js.map +1 -1
  1238. package/dist/transition/utils.d.ts +6 -6
  1239. package/dist/transition/utils.js +10 -5
  1240. package/dist/transition/utils.js.map +1 -1
  1241. package/dist/tree/DefaultTreeItemRenderer.d.ts +4 -4
  1242. package/dist/tree/DefaultTreeItemRenderer.js +3 -2
  1243. package/dist/tree/DefaultTreeItemRenderer.js.map +1 -1
  1244. package/dist/tree/Tree.d.ts +17 -23
  1245. package/dist/tree/Tree.js +8 -9
  1246. package/dist/tree/Tree.js.map +1 -1
  1247. package/dist/tree/TreeGroup.d.ts +3 -3
  1248. package/dist/tree/TreeGroup.js +1 -1
  1249. package/dist/tree/TreeGroup.js.map +1 -1
  1250. package/dist/tree/TreeItem.d.ts +14 -6
  1251. package/dist/tree/TreeItem.js +11 -7
  1252. package/dist/tree/TreeItem.js.map +1 -1
  1253. package/dist/tree/TreeItemExpander.d.ts +2 -2
  1254. package/dist/tree/TreeItemExpander.js +2 -2
  1255. package/dist/tree/TreeItemExpander.js.map +1 -1
  1256. package/dist/tree/TreeProvider.d.ts +6 -6
  1257. package/dist/tree/TreeProvider.js +2 -2
  1258. package/dist/tree/TreeProvider.js.map +1 -1
  1259. package/dist/tree/_tree.scss +79 -8
  1260. package/dist/tree/styles.d.ts +10 -10
  1261. package/dist/tree/styles.js +5 -5
  1262. package/dist/tree/styles.js.map +1 -1
  1263. package/dist/tree/types.d.ts +17 -13
  1264. package/dist/tree/types.js +1 -26
  1265. package/dist/tree/types.js.map +1 -1
  1266. package/dist/tree/useTree.d.ts +13 -12
  1267. package/dist/tree/useTree.js +6 -5
  1268. package/dist/tree/useTree.js.map +1 -1
  1269. package/dist/tree/useTreeExpansion.d.ts +7 -6
  1270. package/dist/tree/useTreeExpansion.js +8 -19
  1271. package/dist/tree/useTreeExpansion.js.map +1 -1
  1272. package/dist/tree/useTreeItems.d.ts +9 -8
  1273. package/dist/tree/useTreeItems.js +3 -2
  1274. package/dist/tree/useTreeItems.js.map +1 -1
  1275. package/dist/tree/useTreeMovement.d.ts +3 -3
  1276. package/dist/tree/useTreeMovement.js +4 -4
  1277. package/dist/tree/useTreeMovement.js.map +1 -1
  1278. package/dist/tree/useTreeSelection.d.ts +7 -6
  1279. package/dist/tree/useTreeSelection.js +9 -26
  1280. package/dist/tree/useTreeSelection.js.map +1 -1
  1281. package/dist/tree/utils.d.ts +3 -3
  1282. package/dist/tree/utils.js +2 -2
  1283. package/dist/tree/utils.js.map +1 -1
  1284. package/dist/types.d.ts +31 -19
  1285. package/dist/types.js +1 -1
  1286. package/dist/types.js.map +1 -1
  1287. package/dist/typography/HighlightText.d.ts +106 -0
  1288. package/dist/typography/HighlightText.js +90 -0
  1289. package/dist/typography/HighlightText.js.map +1 -0
  1290. package/dist/typography/HighlightTextMark.d.ts +16 -0
  1291. package/dist/typography/HighlightTextMark.js +16 -0
  1292. package/dist/typography/HighlightTextMark.js.map +1 -0
  1293. package/dist/typography/Mark.d.ts +28 -0
  1294. package/dist/typography/Mark.js +35 -0
  1295. package/dist/typography/Mark.js.map +1 -0
  1296. package/dist/typography/SrOnly.d.ts +6 -4
  1297. package/dist/typography/SrOnly.js +6 -4
  1298. package/dist/typography/SrOnly.js.map +1 -1
  1299. package/dist/typography/TextContainer.d.ts +11 -41
  1300. package/dist/typography/TextContainer.js +8 -36
  1301. package/dist/typography/TextContainer.js.map +1 -1
  1302. package/dist/typography/Typography.d.ts +16 -119
  1303. package/dist/typography/Typography.js +7 -94
  1304. package/dist/typography/Typography.js.map +1 -1
  1305. package/dist/typography/WritingDirectionProvider.d.ts +21 -24
  1306. package/dist/typography/WritingDirectionProvider.js +16 -19
  1307. package/dist/typography/WritingDirectionProvider.js.map +1 -1
  1308. package/dist/typography/_typography.scss +440 -41
  1309. package/dist/typography/markStyles.d.ts +10 -0
  1310. package/dist/typography/markStyles.js +11 -0
  1311. package/dist/typography/markStyles.js.map +1 -0
  1312. package/dist/typography/textContainerStyles.d.ts +34 -0
  1313. package/dist/typography/textContainerStyles.js +32 -0
  1314. package/dist/typography/textContainerStyles.js.map +1 -0
  1315. package/dist/typography/typographyStyles.d.ts +110 -0
  1316. package/dist/typography/typographyStyles.js +89 -0
  1317. package/dist/typography/typographyStyles.js.map +1 -0
  1318. package/dist/useAsyncFunction.d.ts +115 -0
  1319. package/dist/useAsyncFunction.js +101 -0
  1320. package/dist/useAsyncFunction.js.map +1 -0
  1321. package/dist/useDebouncedFunction.d.ts +6 -9
  1322. package/dist/useDebouncedFunction.js +17 -10
  1323. package/dist/useDebouncedFunction.js.map +1 -1
  1324. package/dist/useDropzone.d.ts +33 -30
  1325. package/dist/useDropzone.js +34 -32
  1326. package/dist/useDropzone.js.map +1 -1
  1327. package/dist/useElementSize.d.ts +27 -6
  1328. package/dist/useElementSize.js +8 -6
  1329. package/dist/useElementSize.js.map +1 -1
  1330. package/dist/useEnsuredId.d.ts +3 -4
  1331. package/dist/useEnsuredId.js +3 -4
  1332. package/dist/useEnsuredId.js.map +1 -1
  1333. package/dist/useEnsuredRef.d.ts +4 -5
  1334. package/dist/useEnsuredRef.js +3 -4
  1335. package/dist/useEnsuredRef.js.map +1 -1
  1336. package/dist/useEnsuredState.d.ts +3 -3
  1337. package/dist/useEnsuredState.js +1 -1
  1338. package/dist/useEnsuredState.js.map +1 -1
  1339. package/dist/useHtmlClassName.d.ts +12 -1
  1340. package/dist/useHtmlClassName.js +12 -1
  1341. package/dist/useHtmlClassName.js.map +1 -1
  1342. package/dist/useIntersectionObserver.d.ts +21 -28
  1343. package/dist/useIntersectionObserver.js +4 -5
  1344. package/dist/useIntersectionObserver.js.map +1 -1
  1345. package/dist/useIsomorphicLayoutEffect.js.map +1 -1
  1346. package/dist/useMutationObserver.d.ts +52 -0
  1347. package/dist/useMutationObserver.js +84 -0
  1348. package/dist/useMutationObserver.js.map +1 -0
  1349. package/dist/useOrientation.d.ts +0 -1
  1350. package/dist/useOrientation.js +3 -2
  1351. package/dist/useOrientation.js.map +1 -1
  1352. package/dist/usePageInactive.d.ts +12 -7
  1353. package/dist/usePageInactive.js +8 -3
  1354. package/dist/usePageInactive.js.map +1 -1
  1355. package/dist/useReadonlySet.d.ts +77 -0
  1356. package/dist/useReadonlySet.js +73 -0
  1357. package/dist/useReadonlySet.js.map +1 -0
  1358. package/dist/useResizeListener.d.ts +16 -9
  1359. package/dist/useResizeListener.js +8 -7
  1360. package/dist/useResizeListener.js.map +1 -1
  1361. package/dist/useResizeObserver.d.ts +30 -13
  1362. package/dist/useResizeObserver.js +24 -6
  1363. package/dist/useResizeObserver.js.map +1 -1
  1364. package/dist/useThrottledFunction.d.ts +6 -9
  1365. package/dist/useThrottledFunction.js +27 -20
  1366. package/dist/useThrottledFunction.js.map +1 -1
  1367. package/dist/useToggle.d.ts +12 -13
  1368. package/dist/useToggle.js +5 -6
  1369. package/dist/useToggle.js.map +1 -1
  1370. package/dist/useUnmounted.d.ts +3 -4
  1371. package/dist/useUnmounted.js +3 -4
  1372. package/dist/useUnmounted.js.map +1 -1
  1373. package/dist/useWindowSize.d.ts +4 -5
  1374. package/dist/useWindowSize.js +3 -4
  1375. package/dist/useWindowSize.js.map +1 -1
  1376. package/dist/utils/RenderRecursively.d.ts +115 -39
  1377. package/dist/utils/RenderRecursively.js +108 -35
  1378. package/dist/utils/RenderRecursively.js.map +1 -1
  1379. package/dist/utils/alphaNumericSort.d.ts +17 -17
  1380. package/dist/utils/alphaNumericSort.js +7 -14
  1381. package/dist/utils/alphaNumericSort.js.map +1 -1
  1382. package/dist/utils/applyRef.d.ts +2 -3
  1383. package/dist/utils/applyRef.js +2 -3
  1384. package/dist/utils/applyRef.js.map +1 -1
  1385. package/dist/utils/bem.d.ts +51 -9
  1386. package/dist/utils/bem.js +7 -17
  1387. package/dist/utils/bem.js.map +1 -1
  1388. package/dist/utils/debounce.d.ts +5 -0
  1389. package/dist/utils/debounce.js +17 -0
  1390. package/dist/utils/debounce.js.map +1 -0
  1391. package/dist/utils/getClientPosition.d.ts +4 -4
  1392. package/dist/utils/getClientPosition.js +2 -2
  1393. package/dist/utils/getClientPosition.js.map +1 -1
  1394. package/dist/utils/getMiddleOfRange.d.ts +2 -2
  1395. package/dist/utils/getMiddleOfRange.js +1 -1
  1396. package/dist/utils/getMiddleOfRange.js.map +1 -1
  1397. package/dist/utils/getPercentage.d.ts +3 -4
  1398. package/dist/utils/getPercentage.js +3 -4
  1399. package/dist/utils/getPercentage.js.map +1 -1
  1400. package/dist/utils/getRangeDefaultValue.d.ts +2 -2
  1401. package/dist/utils/getRangeDefaultValue.js +1 -1
  1402. package/dist/utils/getRangeDefaultValue.js.map +1 -1
  1403. package/dist/utils/getRangeSteps.d.ts +3 -4
  1404. package/dist/utils/getRangeSteps.js +3 -4
  1405. package/dist/utils/getRangeSteps.js.map +1 -1
  1406. package/dist/utils/identity.d.ts +1 -1
  1407. package/dist/utils/identity.js +1 -1
  1408. package/dist/utils/identity.js.map +1 -1
  1409. package/dist/utils/isElementVisible.d.ts +4 -5
  1410. package/dist/utils/isElementVisible.js +4 -5
  1411. package/dist/utils/isElementVisible.js.map +1 -1
  1412. package/dist/utils/loop.d.ts +4 -2
  1413. package/dist/utils/loop.js +2 -2
  1414. package/dist/utils/loop.js.map +1 -1
  1415. package/dist/utils/nearest.d.ts +3 -4
  1416. package/dist/utils/nearest.js +3 -4
  1417. package/dist/utils/nearest.js.map +1 -1
  1418. package/dist/utils/parseCssLengthUnit.d.ts +3 -5
  1419. package/dist/utils/parseCssLengthUnit.js +2 -4
  1420. package/dist/utils/parseCssLengthUnit.js.map +1 -1
  1421. package/dist/utils/randomInt.d.ts +2 -2
  1422. package/dist/utils/randomInt.js +2 -2
  1423. package/dist/utils/randomInt.js.map +1 -1
  1424. package/dist/utils/throttle.d.ts +5 -0
  1425. package/dist/utils/throttle.js +30 -0
  1426. package/dist/utils/throttle.js.map +1 -0
  1427. package/dist/utils/wait.d.ts +6 -7
  1428. package/dist/utils/wait.js +10 -7
  1429. package/dist/utils/wait.js.map +1 -1
  1430. package/dist/utils/withinRange.d.ts +3 -4
  1431. package/dist/utils/withinRange.js +3 -4
  1432. package/dist/utils/withinRange.js.map +1 -1
  1433. package/dist/window-splitter/WindowSplitter.d.ts +52 -19
  1434. package/dist/window-splitter/WindowSplitter.js +42 -20
  1435. package/dist/window-splitter/WindowSplitter.js.map +1 -1
  1436. package/dist/window-splitter/_window-splitter.scss +129 -35
  1437. package/dist/window-splitter/styles.d.ts +14 -0
  1438. package/dist/window-splitter/styles.js +18 -0
  1439. package/dist/window-splitter/styles.js.map +1 -0
  1440. package/dist/window-splitter/useWindowSplitter.d.ts +10 -18
  1441. package/dist/window-splitter/useWindowSplitter.js +6 -4
  1442. package/dist/window-splitter/useWindowSplitter.js.map +1 -1
  1443. package/package.json +78 -39
  1444. package/src/CoreProviders.tsx +12 -9
  1445. package/src/NoSsr.tsx +10 -7
  1446. package/src/RootHtml.tsx +93 -0
  1447. package/src/SsrProvider.tsx +7 -5
  1448. package/src/app-bar/AppBar.tsx +13 -184
  1449. package/src/app-bar/AppBarTitle.tsx +16 -60
  1450. package/src/app-bar/styles.ts +207 -0
  1451. package/src/autocomplete/Autocomplete.tsx +361 -0
  1452. package/src/autocomplete/AutocompleteChip.tsx +50 -0
  1453. package/src/autocomplete/AutocompleteCircularProgress.tsx +32 -0
  1454. package/src/autocomplete/AutocompleteClearButton.tsx +48 -0
  1455. package/src/autocomplete/AutocompleteDropdownButton.tsx +48 -0
  1456. package/src/autocomplete/AutocompleteListboxChildren.tsx +69 -0
  1457. package/src/autocomplete/autocompleteStyles.ts +127 -0
  1458. package/src/autocomplete/defaults.ts +92 -0
  1459. package/src/autocomplete/types.ts +860 -0
  1460. package/src/autocomplete/useAutocomplete.ts +425 -0
  1461. package/src/autocomplete/utils.ts +210 -0
  1462. package/src/avatar/Avatar.tsx +30 -11
  1463. package/src/avatar/styles.ts +6 -5
  1464. package/src/badge/Badge.tsx +14 -51
  1465. package/src/badge/styles.ts +46 -0
  1466. package/src/box/Box.tsx +35 -30
  1467. package/src/box/styles.ts +273 -17
  1468. package/src/button/AsyncButton.tsx +15 -14
  1469. package/src/button/Button.tsx +23 -19
  1470. package/src/button/ButtonUnstyled.tsx +6 -6
  1471. package/src/button/FloatingActionButton.tsx +7 -6
  1472. package/src/button/TooltippedButton.tsx +16 -17
  1473. package/src/button/styles.ts +193 -0
  1474. package/src/card/Card.tsx +38 -23
  1475. package/src/card/CardContent.tsx +6 -8
  1476. package/src/card/CardFooter.tsx +4 -4
  1477. package/src/card/CardHeader.tsx +13 -15
  1478. package/src/card/CardSubtitle.tsx +13 -4
  1479. package/src/card/CardTitle.tsx +4 -4
  1480. package/src/card/ClickableCard.tsx +18 -8
  1481. package/src/card/styles.ts +19 -31
  1482. package/src/chip/Chip.tsx +25 -22
  1483. package/src/chip/styles.ts +17 -14
  1484. package/src/cssUtils.ts +13 -12
  1485. package/src/delegateEvent.ts +5 -5
  1486. package/src/dialog/Dialog.tsx +72 -86
  1487. package/src/dialog/DialogContainer.tsx +49 -18
  1488. package/src/dialog/DialogContent.tsx +10 -9
  1489. package/src/dialog/DialogFooter.tsx +9 -6
  1490. package/src/dialog/DialogHeader.tsx +34 -7
  1491. package/src/dialog/DialogTitle.tsx +14 -12
  1492. package/src/dialog/FixedDialog.tsx +34 -39
  1493. package/src/dialog/NestedDialogProvider.ts +1 -0
  1494. package/src/dialog/styles.ts +113 -9
  1495. package/src/divider/Divider.tsx +7 -19
  1496. package/src/divider/styles.ts +15 -2
  1497. package/src/draggable/useDraggable.ts +48 -35
  1498. package/src/draggable/utils.ts +7 -6
  1499. package/src/error-boundary/ErrorBoundary.tsx +103 -0
  1500. package/src/error-boundary/context.ts +16 -0
  1501. package/src/error-boundary/types.ts +19 -0
  1502. package/src/error-boundary/useErrorBoundary.ts +36 -0
  1503. package/src/expansion-panel/ExpansionList.tsx +7 -4
  1504. package/src/expansion-panel/ExpansionPanel.tsx +50 -46
  1505. package/src/expansion-panel/ExpansionPanelHeader.tsx +15 -22
  1506. package/src/expansion-panel/styles.ts +67 -0
  1507. package/src/expansion-panel/useExpansionList.ts +15 -15
  1508. package/src/expansion-panel/useExpansionPanels.ts +35 -51
  1509. package/src/files/FileInput.tsx +213 -0
  1510. package/src/files/styles.ts +11 -0
  1511. package/src/files/useFileUpload.ts +538 -0
  1512. package/src/files/utils.ts +264 -0
  1513. package/src/files/validation.ts +458 -0
  1514. package/src/focus/useFocusContainer.ts +57 -64
  1515. package/src/focus/utils.ts +4 -5
  1516. package/src/form/Checkbox.tsx +6 -4
  1517. package/src/form/Fieldset.tsx +9 -40
  1518. package/src/form/Form.tsx +4 -1
  1519. package/src/form/FormMessage.tsx +3 -2
  1520. package/src/form/FormMessageContainer.tsx +7 -6
  1521. package/src/form/FormMessageCounter.tsx +7 -8
  1522. package/src/form/InputToggle.tsx +24 -17
  1523. package/src/form/InputToggleIcon.tsx +8 -11
  1524. package/src/form/Label.tsx +20 -69
  1525. package/src/form/Legend.tsx +4 -4
  1526. package/src/form/Listbox.tsx +88 -0
  1527. package/src/form/ListboxProvider.ts +39 -0
  1528. package/src/form/NativeSelect.tsx +27 -21
  1529. package/src/form/OptGroup.tsx +10 -6
  1530. package/src/form/Option.tsx +89 -30
  1531. package/src/form/Password.tsx +27 -24
  1532. package/src/form/Radio.tsx +5 -2
  1533. package/src/form/ResizingTextAreaWrapper.tsx +76 -0
  1534. package/src/form/Select.tsx +244 -348
  1535. package/src/form/SelectedOption.tsx +56 -0
  1536. package/src/form/Slider.tsx +75 -113
  1537. package/src/form/SliderContainer.tsx +14 -26
  1538. package/src/form/SliderMark.tsx +4 -16
  1539. package/src/form/SliderMarkLabel.tsx +8 -12
  1540. package/src/form/SliderThumb.tsx +27 -67
  1541. package/src/form/SliderTrack.tsx +16 -29
  1542. package/src/form/SliderValueMarks.tsx +14 -17
  1543. package/src/form/SliderValueTooltip.tsx +8 -16
  1544. package/src/form/Switch.tsx +15 -8
  1545. package/src/form/SwitchTrack.tsx +7 -8
  1546. package/src/form/TextArea.tsx +61 -45
  1547. package/src/form/TextField.tsx +29 -46
  1548. package/src/form/TextFieldAddon.tsx +6 -62
  1549. package/src/form/TextFieldContainer.tsx +28 -14
  1550. package/src/form/fieldsetStyles.ts +35 -0
  1551. package/src/form/formConfig.ts +31 -6
  1552. package/src/form/formMessageContainerStyles.ts +23 -0
  1553. package/src/form/formMessageStyles.ts +6 -5
  1554. package/src/form/inputToggleStyles.ts +4 -3
  1555. package/src/form/labelStyles.ts +55 -0
  1556. package/src/form/nativeSelectStyles.ts +5 -4
  1557. package/src/form/optionStyles.ts +10 -4
  1558. package/src/form/passwordStyles.ts +5 -4
  1559. package/src/form/selectStyles.ts +3 -2
  1560. package/src/form/selectUtils.ts +9 -19
  1561. package/src/form/sliderStyles.ts +204 -0
  1562. package/src/form/sliderUtils.ts +45 -17
  1563. package/src/form/switchStyles.ts +39 -9
  1564. package/src/form/textAreaStyles.ts +6 -12
  1565. package/src/form/textFieldAddonStyles.ts +41 -0
  1566. package/src/form/textFieldContainerStyles.ts +93 -0
  1567. package/src/form/textFieldStyles.ts +3 -2
  1568. package/src/form/types.ts +41 -25
  1569. package/src/form/useCheckboxGroup.ts +61 -58
  1570. package/src/form/useCombobox.ts +559 -0
  1571. package/src/form/useEditableCombobox.ts +179 -0
  1572. package/src/form/useFormReset.ts +50 -0
  1573. package/src/form/useNumberField.ts +39 -33
  1574. package/src/form/useRadioGroup.ts +33 -26
  1575. package/src/form/useRangeSlider.ts +17 -12
  1576. package/src/form/useResizingTextArea.ts +70 -28
  1577. package/src/form/useSelectCombobox.ts +71 -0
  1578. package/src/form/useSlider.ts +14 -13
  1579. package/src/form/useSliderDraggable.ts +71 -0
  1580. package/src/form/useTextField.ts +75 -59
  1581. package/src/form/useTextFieldContainerAddons.ts +197 -0
  1582. package/src/form/utils.ts +22 -10
  1583. package/src/form/validation.ts +21 -18
  1584. package/src/hoverMode/useHoverMode.ts +88 -17
  1585. package/src/hoverMode/useHoverModeProvider.ts +39 -31
  1586. package/src/icon/FontIcon.tsx +26 -14
  1587. package/src/icon/IconRotator.tsx +8 -7
  1588. package/src/icon/MaterialIcon.tsx +29 -9
  1589. package/src/icon/MaterialSymbol.tsx +10 -9
  1590. package/src/icon/SVGIcon.tsx +8 -5
  1591. package/src/icon/TextIconSpacing.tsx +12 -12
  1592. package/src/icon/config.tsx +317 -0
  1593. package/src/icon/material.ts +539 -39
  1594. package/src/icon/materialConfig.ts +65 -32
  1595. package/src/icon/styles.ts +26 -15
  1596. package/src/interaction/Ripple.tsx +6 -4
  1597. package/src/interaction/RippleContainer.tsx +1 -2
  1598. package/src/interaction/UserInteractionModeProvider.tsx +17 -13
  1599. package/src/interaction/config.ts +2 -2
  1600. package/src/interaction/types.ts +29 -10
  1601. package/src/interaction/useElementInteraction.tsx +53 -44
  1602. package/src/interaction/useHigherContrastChildren.tsx +13 -11
  1603. package/src/interaction/utils.ts +8 -7
  1604. package/src/layout/LayoutAppBar.tsx +7 -7
  1605. package/src/layout/LayoutNav.tsx +20 -22
  1606. package/src/layout/LayoutWindowSplitter.tsx +14 -14
  1607. package/src/layout/Main.tsx +10 -8
  1608. package/src/layout/layoutNavStyles.ts +3 -2
  1609. package/src/layout/layoutWindowSplitterStyles.ts +3 -2
  1610. package/src/layout/mainStyles.ts +3 -2
  1611. package/src/layout/useExpandableLayout.ts +125 -42
  1612. package/src/layout/useHorizontalLayoutTransition.ts +16 -11
  1613. package/src/layout/useLayoutAppBarHeight.ts +21 -26
  1614. package/src/layout/useLayoutTree.ts +20 -14
  1615. package/src/layout/useLayoutWindowSplitter.ts +11 -9
  1616. package/src/layout/useMainTabIndex.ts +2 -1
  1617. package/src/layout/useResizableLayout.ts +68 -22
  1618. package/src/layout/useTemporaryLayout.ts +32 -25
  1619. package/src/link/Link.tsx +16 -20
  1620. package/src/link/SkipToMainContent.tsx +37 -8
  1621. package/src/link/styles.ts +7 -6
  1622. package/src/list/List.tsx +9 -30
  1623. package/src/list/ListItem.tsx +19 -11
  1624. package/src/list/ListItemAddon.tsx +2 -3
  1625. package/src/list/ListItemChildren.tsx +5 -5
  1626. package/src/list/ListItemLink.tsx +41 -4
  1627. package/src/list/ListItemText.tsx +2 -3
  1628. package/src/list/ListSubheader.tsx +10 -6
  1629. package/src/list/getListItemHeight.ts +3 -3
  1630. package/src/list/listItemStyles.ts +14 -13
  1631. package/src/list/listStyles.ts +25 -0
  1632. package/src/list/types.ts +21 -14
  1633. package/src/media-queries/AppSizeProvider.tsx +18 -7
  1634. package/src/media-queries/useMediaQuery.ts +11 -7
  1635. package/src/menu/DropdownMenu.tsx +17 -16
  1636. package/src/menu/Menu.tsx +39 -23
  1637. package/src/menu/MenuBar.tsx +9 -5
  1638. package/src/menu/MenuButton.tsx +12 -9
  1639. package/src/menu/MenuConfigurationProvider.tsx +16 -14
  1640. package/src/menu/MenuItem.tsx +5 -2
  1641. package/src/menu/MenuItemButton.tsx +12 -4
  1642. package/src/menu/MenuItemCheckbox.tsx +49 -0
  1643. package/src/menu/MenuItemCircularProgress.tsx +114 -0
  1644. package/src/menu/MenuItemFileInput.tsx +124 -0
  1645. package/src/menu/MenuItemGroup.tsx +12 -12
  1646. package/src/menu/MenuItemInputToggle.tsx +281 -0
  1647. package/src/menu/MenuItemRadio.tsx +117 -0
  1648. package/src/menu/MenuItemSeparator.tsx +6 -3
  1649. package/src/menu/MenuItemSwitch.tsx +45 -0
  1650. package/src/menu/MenuItemTextField.tsx +70 -0
  1651. package/src/menu/MenuSheet.tsx +10 -10
  1652. package/src/menu/MenuVisibilityProvider.tsx +12 -12
  1653. package/src/menu/MenuWidget.tsx +4 -22
  1654. package/src/menu/MenuWidgetKeyboardProvider.tsx +4 -2
  1655. package/src/menu/styles.ts +98 -0
  1656. package/src/menu/useContextMenu.ts +20 -19
  1657. package/src/menu/useMenuBarProvider.ts +8 -6
  1658. package/src/menu/utils.ts +2 -2
  1659. package/src/movement/constants.ts +3 -3
  1660. package/src/movement/types.ts +71 -46
  1661. package/src/movement/useKeyboardMovementProvider.ts +32 -20
  1662. package/src/movement/utils.ts +25 -14
  1663. package/src/navigation/CollapsibleNavGroup.tsx +105 -0
  1664. package/src/navigation/DefaultNavigationRenderer.tsx +75 -0
  1665. package/src/navigation/NavGroup.tsx +39 -0
  1666. package/src/navigation/NavItem.tsx +29 -0
  1667. package/src/navigation/NavItemButton.tsx +108 -0
  1668. package/src/navigation/NavItemLink.tsx +174 -0
  1669. package/src/navigation/NavSubheader.tsx +36 -0
  1670. package/src/navigation/Navigation.tsx +136 -0
  1671. package/src/navigation/getTableOfContentsHeadings.ts +70 -0
  1672. package/src/navigation/navGroupStyles.ts +22 -0
  1673. package/src/navigation/navItemStyles.ts +72 -0
  1674. package/src/navigation/types.ts +274 -0
  1675. package/src/navigation/useActiveHeadingId.ts +180 -0
  1676. package/src/navigation/useNavigationExpansion.ts +174 -0
  1677. package/src/navigation/useTableOfContentsHeadings.ts +83 -0
  1678. package/src/navigation/utils.ts +47 -0
  1679. package/src/objectFit.ts +108 -0
  1680. package/src/overlay/Overlay.tsx +22 -10
  1681. package/src/overlay/styles.ts +79 -0
  1682. package/src/portal/Portal.tsx +8 -2
  1683. package/src/portal/PortalContainerProvider.tsx +25 -14
  1684. package/src/positioning/constants.ts +1 -1
  1685. package/src/positioning/createHorizontalPosition.ts +27 -21
  1686. package/src/positioning/createVerticalPosition.ts +13 -11
  1687. package/src/positioning/getFixedPosition.ts +2 -2
  1688. package/src/positioning/types.ts +4 -4
  1689. package/src/positioning/useFixedPositioning.ts +67 -37
  1690. package/src/positioning/utils.ts +4 -4
  1691. package/src/progress/CircularProgress.tsx +17 -19
  1692. package/src/progress/LinearProgress.tsx +10 -12
  1693. package/src/progress/types.ts +6 -6
  1694. package/src/responsive-item/ResponsiveItem.tsx +98 -0
  1695. package/src/responsive-item/ResponsiveItemOverlay.tsx +16 -56
  1696. package/src/responsive-item/responsiveItemOverlayStyles.ts +47 -0
  1697. package/src/responsive-item/responsiveItemStyles.ts +82 -0
  1698. package/src/scroll/ScrollLock.tsx +2 -1
  1699. package/src/scroll/useScrollLock.ts +12 -4
  1700. package/src/searching/caseInsensitive.ts +196 -0
  1701. package/src/searching/fuzzy.ts +175 -0
  1702. package/src/searching/toSearchQuery.ts +20 -0
  1703. package/src/searching/types.ts +34 -0
  1704. package/src/searching/useFuzzyMatch.ts +44 -0
  1705. package/src/searching/utils.ts +53 -0
  1706. package/src/segmented-button/SegmentedButton.tsx +15 -11
  1707. package/src/segmented-button/SegmentedButtonContainer.tsx +12 -15
  1708. package/src/segmented-button/segmentedButtonContainerStyles.ts +4 -3
  1709. package/src/segmented-button/segmentedButtonStyles.ts +3 -2
  1710. package/src/sheet/Sheet.tsx +44 -23
  1711. package/src/sheet/styles.ts +50 -6
  1712. package/src/snackbar/DefaultToastRenderer.tsx +8 -5
  1713. package/src/snackbar/Snackbar.tsx +29 -23
  1714. package/src/snackbar/Toast.tsx +16 -5
  1715. package/src/snackbar/ToastActionButton.tsx +6 -3
  1716. package/src/snackbar/ToastCloseButton.tsx +7 -4
  1717. package/src/snackbar/ToastContent.tsx +6 -3
  1718. package/src/snackbar/ToastManager.ts +585 -0
  1719. package/src/snackbar/ToastManagerProvider.tsx +11 -9
  1720. package/src/snackbar/snackbarStyles.ts +8 -6
  1721. package/src/snackbar/toastContentStyles.ts +3 -2
  1722. package/src/snackbar/toastStyles.ts +4 -11
  1723. package/src/snackbar/useCurrentToastActions.ts +10 -8
  1724. package/src/storage/internalUtils.ts +43 -0
  1725. package/src/storage/types.ts +88 -0
  1726. package/src/storage/useStorage.ts +278 -0
  1727. package/src/storage/utils.ts +156 -0
  1728. package/src/suspense/CircularProgressSuspense.tsx +7 -8
  1729. package/src/suspense/NullSuspense.tsx +6 -8
  1730. package/src/table/StickyTableSection.tsx +95 -0
  1731. package/src/table/Table.tsx +14 -16
  1732. package/src/table/TableBody.tsx +6 -3
  1733. package/src/table/TableCell.tsx +20 -16
  1734. package/src/table/TableCellContent.tsx +6 -10
  1735. package/src/table/TableCheckbox.tsx +23 -26
  1736. package/src/table/TableConfigurationProvider.ts +50 -0
  1737. package/src/table/TableContainer.tsx +6 -2
  1738. package/src/table/TableContainerProvider.ts +37 -0
  1739. package/src/table/TableFooter.tsx +23 -116
  1740. package/src/table/TableHeader.tsx +24 -118
  1741. package/src/table/TableRadio.tsx +23 -23
  1742. package/src/table/TableRow.tsx +7 -5
  1743. package/src/table/tableCellStyles.ts +15 -10
  1744. package/src/table/tableContainerStyles.ts +2 -2
  1745. package/src/table/tableFooterStyles.ts +2 -1
  1746. package/src/table/tableHeaderStyles.ts +3 -2
  1747. package/src/table/tableRowStyles.ts +3 -2
  1748. package/src/table/tableStyles.ts +3 -2
  1749. package/src/table/types.ts +112 -19
  1750. package/src/table/useStickyTableSection.tsx +128 -0
  1751. package/src/table/useTableSectionConfig.ts +47 -0
  1752. package/src/tabs/SimpleTabPanel.tsx +37 -0
  1753. package/src/tabs/SimpleTabPanels.tsx +30 -0
  1754. package/src/tabs/Tab.tsx +36 -9
  1755. package/src/tabs/TabList.tsx +42 -55
  1756. package/src/tabs/TabListScrollButton.tsx +22 -12
  1757. package/src/tabs/getTabListScrollToOptions.ts +37 -0
  1758. package/src/tabs/tabIndicatorStyles.ts +3 -2
  1759. package/src/tabs/tabListScrollButtonStyles.ts +14 -9
  1760. package/src/tabs/tabListStyles.ts +24 -4
  1761. package/src/tabs/tabStyles.ts +3 -11
  1762. package/src/tabs/types.ts +30 -0
  1763. package/src/tabs/useMaxTabPanelHeight.ts +138 -0
  1764. package/src/tabs/useTabList.ts +51 -17
  1765. package/src/tabs/useTabs.ts +144 -112
  1766. package/src/tabs/utils.ts +9 -38
  1767. package/src/test-utils/data-testid.ts +5 -1
  1768. package/src/test-utils/drag.ts +10 -2
  1769. package/src/test-utils/index.ts +6 -5
  1770. package/src/test-utils/jest-globals/index.ts +4 -0
  1771. package/src/test-utils/jest-globals/match-media.ts +42 -0
  1772. package/src/test-utils/jest-globals/resize-observer.ts +11 -0
  1773. package/src/test-utils/jest-globals/setup.ts +15 -0
  1774. package/src/test-utils/jest-globals/timers.ts +48 -0
  1775. package/src/test-utils/jest-globals/uploadMenuItemFileInput.ts +52 -0
  1776. package/src/test-utils/mocks/IntersectionObserver.ts +50 -0
  1777. package/src/test-utils/mocks/ResizeObserver.ts +283 -0
  1778. package/src/test-utils/mocks/match-media.ts +95 -0
  1779. package/src/test-utils/polyfills/IntersectionObserver.ts +1 -1
  1780. package/src/test-utils/polyfills/ResizeObserver.ts +1 -1
  1781. package/src/test-utils/polyfills/TextDecoder.ts +6 -0
  1782. package/src/test-utils/polyfills/TextEncoder.ts +5 -0
  1783. package/src/test-utils/polyfills/index.ts +2 -0
  1784. package/src/test-utils/polyfills/matchMedia.ts +1 -1
  1785. package/src/test-utils/queries/index.ts +2 -0
  1786. package/src/test-utils/queries/select.ts +116 -0
  1787. package/src/test-utils/queries/slider.ts +247 -0
  1788. package/src/test-utils/queries/types.ts +13 -0
  1789. package/src/test-utils/render.tsx +4 -3
  1790. package/src/test-utils/utils/createFileList.ts +27 -0
  1791. package/src/test-utils/utils/createMatchMediaSpy.ts +109 -0
  1792. package/src/test-utils/utils/createResizeObserverEntry.ts +47 -0
  1793. package/src/test-utils/vitest/index.ts +4 -0
  1794. package/src/test-utils/vitest/match-media.ts +42 -0
  1795. package/src/test-utils/vitest/resize-observer.ts +11 -0
  1796. package/src/test-utils/vitest/setup.ts +20 -0
  1797. package/src/test-utils/vitest/timers.ts +48 -0
  1798. package/src/test-utils/vitest/uploadMenuItemFileInput.ts +52 -0
  1799. package/src/theme/LocalStorageColorSchemeProvider.tsx +39 -39
  1800. package/src/theme/ThemeProvider.tsx +32 -222
  1801. package/src/theme/colors.ts +2 -2
  1802. package/src/theme/constants.ts +43 -0
  1803. package/src/theme/getDerivedTheme.ts +84 -0
  1804. package/src/theme/isColorScheme.ts +24 -0
  1805. package/src/theme/types.ts +127 -4
  1806. package/src/theme/useCSSVariables.ts +14 -103
  1807. package/src/theme/useColorScheme.ts +22 -58
  1808. package/src/theme/useColorSchemeMetaTag.ts +19 -4
  1809. package/src/theme/useColorSchemeProvider.ts +39 -40
  1810. package/src/theme/useInlineCSSVariables.ts +51 -0
  1811. package/src/theme/usePrefersDarkTheme.ts +13 -0
  1812. package/src/theme/utils.ts +1 -1
  1813. package/src/tooltip/Tooltip.tsx +43 -15
  1814. package/src/tooltip/TooltipHoverModeProvider.tsx +12 -10
  1815. package/src/tooltip/constants.ts +19 -19
  1816. package/src/tooltip/styles.ts +33 -0
  1817. package/src/tooltip/useTooltip.ts +102 -80
  1818. package/src/tooltip/useTooltipPosition.ts +8 -8
  1819. package/src/transition/CSSTransition.tsx +9 -6
  1820. package/src/transition/Collapse.tsx +10 -10
  1821. package/src/transition/CrossFade.tsx +11 -18
  1822. package/src/transition/ScaleTransition.tsx +15 -13
  1823. package/src/transition/SkeletonPlaceholder.tsx +11 -10
  1824. package/src/transition/Slide.tsx +6 -3
  1825. package/src/transition/SlideContainer.tsx +25 -70
  1826. package/src/transition/collapseStyles.ts +3 -2
  1827. package/src/transition/config.ts +6 -3
  1828. package/src/transition/getTransitionCallbacks.ts +140 -0
  1829. package/src/transition/maxWidthTransition.ts +7 -0
  1830. package/src/transition/skeletonPlaceholderUtils.ts +8 -4
  1831. package/src/transition/types.ts +83 -71
  1832. package/src/transition/useCSSTransition.ts +16 -11
  1833. package/src/transition/useCarousel.ts +21 -16
  1834. package/src/transition/useCollapseTransition.ts +39 -53
  1835. package/src/transition/useCrossFadeTransition.ts +29 -61
  1836. package/src/transition/useMaxWidthTransition.ts +13 -2
  1837. package/src/transition/useScaleTransition.ts +44 -35
  1838. package/src/transition/useSkeletonPlaceholder.ts +32 -15
  1839. package/src/transition/useSlideTransition.ts +33 -35
  1840. package/src/transition/useTransition.ts +9 -4
  1841. package/src/transition/utils.ts +16 -11
  1842. package/src/tree/DefaultTreeItemRenderer.tsx +6 -5
  1843. package/src/tree/Tree.tsx +22 -27
  1844. package/src/tree/TreeGroup.tsx +6 -4
  1845. package/src/tree/TreeItem.tsx +24 -9
  1846. package/src/tree/TreeItemExpander.tsx +8 -6
  1847. package/src/tree/TreeProvider.tsx +10 -8
  1848. package/src/tree/styles.ts +11 -10
  1849. package/src/tree/types.ts +23 -13
  1850. package/src/tree/useTree.ts +14 -14
  1851. package/src/tree/useTreeExpansion.ts +14 -30
  1852. package/src/tree/useTreeItems.ts +12 -10
  1853. package/src/tree/useTreeMovement.ts +8 -6
  1854. package/src/tree/useTreeSelection.ts +15 -37
  1855. package/src/tree/utils.ts +8 -4
  1856. package/src/types.ts +38 -19
  1857. package/src/typography/HighlightText.tsx +201 -0
  1858. package/src/typography/HighlightTextMark.tsx +25 -0
  1859. package/src/typography/Mark.tsx +41 -0
  1860. package/src/typography/SrOnly.tsx +8 -5
  1861. package/src/typography/TextContainer.tsx +16 -54
  1862. package/src/typography/Typography.tsx +21 -152
  1863. package/src/typography/WritingDirectionProvider.tsx +26 -25
  1864. package/src/typography/markStyles.ts +20 -0
  1865. package/src/typography/textContainerStyles.ts +47 -0
  1866. package/src/typography/typographyStyles.ts +144 -0
  1867. package/src/useAsyncFunction.ts +165 -0
  1868. package/src/useDebouncedFunction.ts +18 -18
  1869. package/src/useDropzone.ts +65 -53
  1870. package/src/useElementSize.ts +35 -8
  1871. package/src/useEnsuredId.ts +3 -4
  1872. package/src/useEnsuredRef.ts +6 -5
  1873. package/src/useEnsuredState.ts +4 -3
  1874. package/src/useHtmlClassName.ts +13 -1
  1875. package/src/useIntersectionObserver.ts +23 -28
  1876. package/src/useIsomorphicLayoutEffect.ts +1 -0
  1877. package/src/useMutationObserver.ts +119 -0
  1878. package/src/useOrientation.ts +4 -2
  1879. package/src/usePageInactive.ts +13 -7
  1880. package/src/useReadonlySet.ts +125 -0
  1881. package/src/useResizeListener.ts +19 -10
  1882. package/src/useResizeObserver.ts +34 -16
  1883. package/src/useThrottledFunction.ts +20 -18
  1884. package/src/useToggle.ts +14 -13
  1885. package/src/useUnmounted.ts +5 -4
  1886. package/src/useWindowSize.ts +7 -6
  1887. package/src/utils/RenderRecursively.tsx +131 -41
  1888. package/src/utils/alphaNumericSort.ts +23 -35
  1889. package/src/utils/applyRef.ts +2 -3
  1890. package/src/utils/bem.ts +60 -29
  1891. package/src/utils/debounce.ts +22 -0
  1892. package/src/utils/getClientPosition.ts +4 -4
  1893. package/src/utils/getMiddleOfRange.ts +2 -2
  1894. package/src/utils/getPercentage.ts +3 -4
  1895. package/src/utils/getRangeDefaultValue.ts +3 -3
  1896. package/src/utils/getRangeSteps.ts +3 -4
  1897. package/src/utils/identity.ts +1 -1
  1898. package/src/utils/isElementVisible.ts +4 -5
  1899. package/src/utils/loop.ts +4 -2
  1900. package/src/utils/nearest.ts +3 -4
  1901. package/src/utils/parseCssLengthUnit.ts +3 -5
  1902. package/src/utils/randomInt.ts +2 -2
  1903. package/src/utils/throttle.ts +38 -0
  1904. package/src/utils/wait.ts +12 -8
  1905. package/src/utils/withinRange.ts +3 -4
  1906. package/src/window-splitter/WindowSplitter.tsx +55 -48
  1907. package/src/window-splitter/styles.ts +43 -0
  1908. package/src/window-splitter/useWindowSplitter.ts +13 -20
  1909. package/.eslintrc.cjs +0 -26
  1910. package/.swcrc +0 -17
  1911. package/.turbo/turbo-build.log +0 -18
  1912. package/CHANGELOG.md +0 -205
  1913. package/coverage/clover.xml +0 -407
  1914. package/coverage/coverage-final.json +0 -3
  1915. package/coverage/lcov-report/AppBar.tsx.html +0 -784
  1916. package/coverage/lcov-report/AsyncButton.tsx.html +0 -649
  1917. package/coverage/lcov-report/Avatar.tsx.html +0 -472
  1918. package/coverage/lcov-report/Badge.tsx.html +0 -253
  1919. package/coverage/lcov-report/CircularProgress.tsx.html +0 -799
  1920. package/coverage/lcov-report/Collapse.tsx.html +0 -340
  1921. package/coverage/lcov-report/CoreProviders.tsx.html +0 -502
  1922. package/coverage/lcov-report/DefaultToastRenderer.tsx.html +0 -526
  1923. package/coverage/lcov-report/Dialog.tsx.html +0 -1309
  1924. package/coverage/lcov-report/DialogContent.tsx.html +0 -178
  1925. package/coverage/lcov-report/DialogFooter.tsx.html +0 -169
  1926. package/coverage/lcov-report/ExpansionList.tsx.html +0 -205
  1927. package/coverage/lcov-report/ExpansionPanel.tsx.html +0 -934
  1928. package/coverage/lcov-report/ExpansionPanelHeader.tsx.html +0 -622
  1929. package/coverage/lcov-report/FileInput.tsx.html +0 -733
  1930. package/coverage/lcov-report/FontIcon.tsx.html +0 -265
  1931. package/coverage/lcov-report/IconRotator.tsx.html +0 -322
  1932. package/coverage/lcov-report/InputToggle.tsx.html +0 -1117
  1933. package/coverage/lcov-report/InputToggleIcon.tsx.html +0 -478
  1934. package/coverage/lcov-report/LinearProgress.tsx.html +0 -658
  1935. package/coverage/lcov-report/ListItem.tsx.html +0 -892
  1936. package/coverage/lcov-report/ListItemLink.tsx.html +0 -616
  1937. package/coverage/lcov-report/MaterialIcon.tsx.html +0 -235
  1938. package/coverage/lcov-report/MaterialSymbol.tsx.html +0 -421
  1939. package/coverage/lcov-report/MenuItemCheckbox.tsx.html +0 -223
  1940. package/coverage/lcov-report/MenuItemInputToggle.tsx.html +0 -925
  1941. package/coverage/lcov-report/MenuItemRadio.tsx.html +0 -436
  1942. package/coverage/lcov-report/MenuItemSeparator.tsx.html +0 -223
  1943. package/coverage/lcov-report/MenuItemTextField.tsx.html +0 -289
  1944. package/coverage/lcov-report/NativeSelect.tsx.html +0 -763
  1945. package/coverage/lcov-report/Portal.tsx.html +0 -223
  1946. package/coverage/lcov-report/PortalContainerProvider.tsx.html +0 -367
  1947. package/coverage/lcov-report/SVGIcon.tsx.html +0 -445
  1948. package/coverage/lcov-report/SegmentedButton.tsx.html +0 -628
  1949. package/coverage/lcov-report/SegmentedButtonContainer.tsx.html +0 -277
  1950. package/coverage/lcov-report/SkeletonPlaceholder.tsx.html +0 -613
  1951. package/coverage/lcov-report/Snackbar.tsx.html +0 -610
  1952. package/coverage/lcov-report/SrOnly.tsx.html +0 -328
  1953. package/coverage/lcov-report/Switch.tsx.html +0 -535
  1954. package/coverage/lcov-report/SwitchTrack.tsx.html +0 -262
  1955. package/coverage/lcov-report/Tab.tsx.html +0 -622
  1956. package/coverage/lcov-report/TabList.tsx.html +0 -757
  1957. package/coverage/lcov-report/TabListScrollButton.tsx.html +0 -472
  1958. package/coverage/lcov-report/Table.tsx.html +0 -457
  1959. package/coverage/lcov-report/TableCell.tsx.html +0 -982
  1960. package/coverage/lcov-report/TableCheckbox.tsx.html +0 -709
  1961. package/coverage/lcov-report/TableContainer.tsx.html +0 -220
  1962. package/coverage/lcov-report/TableFooter.tsx.html +0 -502
  1963. package/coverage/lcov-report/TableHeader.tsx.html +0 -541
  1964. package/coverage/lcov-report/TableRadio.tsx.html +0 -670
  1965. package/coverage/lcov-report/TableRow.tsx.html +0 -289
  1966. package/coverage/lcov-report/TextArea.tsx.html +0 -940
  1967. package/coverage/lcov-report/TextField.tsx.html +0 -829
  1968. package/coverage/lcov-report/TextFieldAddon.tsx.html +0 -382
  1969. package/coverage/lcov-report/TextFieldContainer.tsx.html +0 -364
  1970. package/coverage/lcov-report/Toast.tsx.html +0 -868
  1971. package/coverage/lcov-report/ToastCloseButton.tsx.html +0 -340
  1972. package/coverage/lcov-report/ToastManager.tsx.html +0 -1783
  1973. package/coverage/lcov-report/ToastManagerProvider.tsx.html +0 -400
  1974. package/coverage/lcov-report/Tooltip.tsx.html +0 -559
  1975. package/coverage/lcov-report/TooltipHoverModeProvider.tsx.html +0 -253
  1976. package/coverage/lcov-report/Tree.tsx.html +0 -1135
  1977. package/coverage/lcov-report/TreeGroup.tsx.html +0 -313
  1978. package/coverage/lcov-report/Typography.tsx.html +0 -1027
  1979. package/coverage/lcov-report/app-bar/AppBar.tsx.html +0 -937
  1980. package/coverage/lcov-report/app-bar/AppBarTitle.tsx.html +0 -451
  1981. package/coverage/lcov-report/app-bar/index.html +0 -116
  1982. package/coverage/lcov-report/avatar/Avatar.tsx.html +0 -472
  1983. package/coverage/lcov-report/avatar/index.html +0 -131
  1984. package/coverage/lcov-report/avatar/styles.ts.html +0 -268
  1985. package/coverage/lcov-report/badge/Badge.tsx.html +0 -364
  1986. package/coverage/lcov-report/badge/index.html +0 -116
  1987. package/coverage/lcov-report/base.css +0 -224
  1988. package/coverage/lcov-report/block-navigation.js +0 -87
  1989. package/coverage/lcov-report/box/Box.tsx.html +0 -550
  1990. package/coverage/lcov-report/box/index.html +0 -116
  1991. package/coverage/lcov-report/button/AsyncButton.tsx.html +0 -1045
  1992. package/coverage/lcov-report/button/Button.tsx.html +0 -688
  1993. package/coverage/lcov-report/button/ButtonUnstyled.tsx.html +0 -214
  1994. package/coverage/lcov-report/button/FloatingActionButton.tsx.html +0 -427
  1995. package/coverage/lcov-report/button/TooltippedButton.tsx.html +0 -445
  1996. package/coverage/lcov-report/button/buttonStyles.ts.html +0 -607
  1997. package/coverage/lcov-report/button/buttonUnstyledStyles.ts.html +0 -142
  1998. package/coverage/lcov-report/button/index.html +0 -116
  1999. package/coverage/lcov-report/card/Card.tsx.html +0 -349
  2000. package/coverage/lcov-report/card/CardContent.tsx.html +0 -223
  2001. package/coverage/lcov-report/card/CardHeader.tsx.html +0 -322
  2002. package/coverage/lcov-report/card/ClickableCard.tsx.html +0 -400
  2003. package/coverage/lcov-report/card/index.html +0 -116
  2004. package/coverage/lcov-report/card/styles.ts.html +0 -694
  2005. package/coverage/lcov-report/chip/Chip.tsx.html +0 -1072
  2006. package/coverage/lcov-report/chip/index.html +0 -116
  2007. package/coverage/lcov-report/chip/styles.ts.html +0 -436
  2008. package/coverage/lcov-report/collapseStyles.ts.html +0 -184
  2009. package/coverage/lcov-report/config.ts.html +0 -151
  2010. package/coverage/lcov-report/cssUtils.ts.html +0 -814
  2011. package/coverage/lcov-report/dialog/Dialog.tsx.html +0 -1309
  2012. package/coverage/lcov-report/dialog/DialogContent.tsx.html +0 -178
  2013. package/coverage/lcov-report/dialog/DialogFooter.tsx.html +0 -169
  2014. package/coverage/lcov-report/dialog/DialogHeader.tsx.html +0 -148
  2015. package/coverage/lcov-report/dialog/DialogTitle.tsx.html +0 -256
  2016. package/coverage/lcov-report/dialog/FixedDialog.tsx.html +0 -583
  2017. package/coverage/lcov-report/dialog/index.html +0 -116
  2018. package/coverage/lcov-report/dialog/styles.ts.html +0 -439
  2019. package/coverage/lcov-report/divider/Divider.tsx.html +0 -280
  2020. package/coverage/lcov-report/divider/index.html +0 -116
  2021. package/coverage/lcov-report/draggable/index.html +0 -116
  2022. package/coverage/lcov-report/draggable/useControlledDraggable.ts.html +0 -2131
  2023. package/coverage/lcov-report/draggable/useDraggable.ts.html +0 -2398
  2024. package/coverage/lcov-report/draggable/useDraggableOrig.ts.html +0 -316
  2025. package/coverage/lcov-report/draggable/useLocalStorageDraggable.ts.html +0 -361
  2026. package/coverage/lcov-report/draggable/useLocalStorageDraggableControls.ts.html +0 -487
  2027. package/coverage/lcov-report/draggable/useLocalStorageDraggableLatest.ts.html +0 -334
  2028. package/coverage/lcov-report/draggable/utils.ts.html +0 -808
  2029. package/coverage/lcov-report/expansion-panel/ExpansionList.tsx.html +0 -211
  2030. package/coverage/lcov-report/expansion-panel/ExpansionPanel.tsx.html +0 -943
  2031. package/coverage/lcov-report/expansion-panel/ExpansionPanelHeader.tsx.html +0 -649
  2032. package/coverage/lcov-report/expansion-panel/index.html +0 -146
  2033. package/coverage/lcov-report/expansion-panel/useExpansionPanels.ts.html +0 -928
  2034. package/coverage/lcov-report/favicon.png +0 -0
  2035. package/coverage/lcov-report/filters.ts.html +0 -1045
  2036. package/coverage/lcov-report/findMatchIndex.ts.html +0 -385
  2037. package/coverage/lcov-report/form/FileInput.tsx.html +0 -739
  2038. package/coverage/lcov-report/form/Form.tsx.html +0 -238
  2039. package/coverage/lcov-report/form/FormMessage.tsx.html +0 -322
  2040. package/coverage/lcov-report/form/FormMessageContainer.tsx.html +0 -229
  2041. package/coverage/lcov-report/form/InputToggle.tsx.html +0 -1108
  2042. package/coverage/lcov-report/form/InputToggleIcon.tsx.html +0 -478
  2043. package/coverage/lcov-report/form/MenuItemInputToggle.tsx.html +0 -979
  2044. package/coverage/lcov-report/form/MenuItemTextField.tsx.html +0 -289
  2045. package/coverage/lcov-report/form/NativeSelect.tsx.html +0 -826
  2046. package/coverage/lcov-report/form/OptGroup.tsx.html +0 -340
  2047. package/coverage/lcov-report/form/Password.tsx.html +0 -721
  2048. package/coverage/lcov-report/form/Radio.tsx.html +0 -175
  2049. package/coverage/lcov-report/form/Select.tsx.html +0 -1663
  2050. package/coverage/lcov-report/form/Slider.tsx.html +0 -2014
  2051. package/coverage/lcov-report/form/SliderThumb.tsx.html +0 -1030
  2052. package/coverage/lcov-report/form/SliderValueTooltip.tsx.html +0 -319
  2053. package/coverage/lcov-report/form/Switch.tsx.html +0 -535
  2054. package/coverage/lcov-report/form/SwitchTrack.tsx.html +0 -262
  2055. package/coverage/lcov-report/form/TextArea.tsx.html +0 -1108
  2056. package/coverage/lcov-report/form/TextField.tsx.html +0 -907
  2057. package/coverage/lcov-report/form/fileUtils.ts.html +0 -2155
  2058. package/coverage/lcov-report/form/formMessageStyles.ts.html +0 -238
  2059. package/coverage/lcov-report/form/index.html +0 -116
  2060. package/coverage/lcov-report/form/inputToggleStyles.ts.html +0 -316
  2061. package/coverage/lcov-report/form/selectUtils.ts.html +0 -430
  2062. package/coverage/lcov-report/form/switchStyles.ts.html +0 -172
  2063. package/coverage/lcov-report/form/textAreaStyles.ts.html +0 -385
  2064. package/coverage/lcov-report/form/useCheckboxGroup.ts.html +0 -1087
  2065. package/coverage/lcov-report/form/useCombobox-6-13.ts.html +0 -1054
  2066. package/coverage/lcov-report/form/useCombobox-6-15.ts.html +0 -1048
  2067. package/coverage/lcov-report/form/useCombobox.ts.html +0 -1051
  2068. package/coverage/lcov-report/form/useComboboxBoth.ts.html +0 -85
  2069. package/coverage/lcov-report/form/useComboboxDialog.ts.html +0 -85
  2070. package/coverage/lcov-report/form/useComboboxList.ts.html +0 -403
  2071. package/coverage/lcov-report/form/useComboboxOrig.ts.html +0 -781
  2072. package/coverage/lcov-report/form/useFileUpload.ts.html +0 -1702
  2073. package/coverage/lcov-report/form/useListboxProvider.ts.html +0 -214
  2074. package/coverage/lcov-report/form/useNumberField.ts.html +0 -1561
  2075. package/coverage/lcov-report/form/useRadioGroup.ts.html +0 -1021
  2076. package/coverage/lcov-report/form/useRangeSlider.ts.html +0 -355
  2077. package/coverage/lcov-report/form/useSlider.ts.html +0 -421
  2078. package/coverage/lcov-report/form/useTextField.ts.html +0 -2203
  2079. package/coverage/lcov-report/form/utils.ts.html +0 -343
  2080. package/coverage/lcov-report/form/validation.ts.html +0 -886
  2081. package/coverage/lcov-report/getListItemHeight.ts.html +0 -298
  2082. package/coverage/lcov-report/hoverMode/index.html +0 -116
  2083. package/coverage/lcov-report/hoverMode/useHoverMode.ts.html +0 -676
  2084. package/coverage/lcov-report/icon/FontIcon.tsx.html +0 -256
  2085. package/coverage/lcov-report/icon/index.html +0 -116
  2086. package/coverage/lcov-report/icon/styles.ts.html +0 -586
  2087. package/coverage/lcov-report/iconConfig.tsx.html +0 -973
  2088. package/coverage/lcov-report/index.html +0 -131
  2089. package/coverage/lcov-report/inputToggleStyles.ts.html +0 -316
  2090. package/coverage/lcov-report/interaction/ElementInteractionProvider.tsx.html +0 -253
  2091. package/coverage/lcov-report/interaction/UserInteractionModeProvider.tsx.html +0 -679
  2092. package/coverage/lcov-report/interaction/config.ts.html +0 -181
  2093. package/coverage/lcov-report/interaction/index.html +0 -131
  2094. package/coverage/lcov-report/layout/LayoutAppBar.tsx.html +0 -358
  2095. package/coverage/lcov-report/layout/LayoutNav.tsx.html +0 -694
  2096. package/coverage/lcov-report/layout/LayoutWindowSplitter.tsx.html +0 -460
  2097. package/coverage/lcov-report/layout/Main.tsx.html +0 -355
  2098. package/coverage/lcov-report/layout/NavigationLink.tsx.html +0 -334
  2099. package/coverage/lcov-report/layout/NavigationRail.tsx.html +0 -157
  2100. package/coverage/lcov-report/layout/index.html +0 -116
  2101. package/coverage/lcov-report/layout/layoutNavStyles.ts.html +0 -166
  2102. package/coverage/lcov-report/layout/layoutWindowSplitterStyles.ts.html +0 -220
  2103. package/coverage/lcov-report/layout/navigationLinkStyles.ts.html +0 -250
  2104. package/coverage/lcov-report/layout/navigationRailStyles.ts.html +0 -148
  2105. package/coverage/lcov-report/layout/useExpandableLayout.ts.html +0 -742
  2106. package/coverage/lcov-report/layout/useExpandableLayoutAppBarTransition.ts.html +0 -199
  2107. package/coverage/lcov-report/layout/useHorizontalLayoutTransition.ts.html +0 -349
  2108. package/coverage/lcov-report/layout/useLayoutAppBarHeight.ts.html +0 -343
  2109. package/coverage/lcov-report/layout/useLayoutNavigation.ts.html +0 -544
  2110. package/coverage/lcov-report/layout/useLayoutTree.ts.html +0 -691
  2111. package/coverage/lcov-report/layout/useLayoutWindowSplitter.ts.html +0 -517
  2112. package/coverage/lcov-report/layout/useMainTabIndex.ts.html +0 -136
  2113. package/coverage/lcov-report/layout/useResizableLayout.ts.html +0 -328
  2114. package/coverage/lcov-report/layout/useTemporaryLayout.ts.html +0 -589
  2115. package/coverage/lcov-report/link/Link.tsx.html +0 -358
  2116. package/coverage/lcov-report/link/LinkProvider.tsx.html +0 -214
  2117. package/coverage/lcov-report/link/SkipToMainContent.tsx.html +0 -448
  2118. package/coverage/lcov-report/link/index.html +0 -116
  2119. package/coverage/lcov-report/list/List.tsx.html +0 -490
  2120. package/coverage/lcov-report/list/ListItem.tsx.html +0 -886
  2121. package/coverage/lcov-report/list/ListItemAddon.tsx.html +0 -286
  2122. package/coverage/lcov-report/list/ListItemChildren.tsx.html +0 -445
  2123. package/coverage/lcov-report/list/ListItemLink.tsx.html +0 -616
  2124. package/coverage/lcov-report/list/ListItemText.tsx.html +0 -280
  2125. package/coverage/lcov-report/list/ListSubheader.tsx.html +0 -322
  2126. package/coverage/lcov-report/list/index.html +0 -191
  2127. package/coverage/lcov-report/list/listItemStyles.ts.html +0 -703
  2128. package/coverage/lcov-report/materialConfig.ts.html +0 -703
  2129. package/coverage/lcov-report/media-queries/AppSizeProvider.tsx.html +0 -484
  2130. package/coverage/lcov-report/media-queries/appSize.ts.html +0 -445
  2131. package/coverage/lcov-report/media-queries/index.html +0 -116
  2132. package/coverage/lcov-report/media-queries/useMediaQuery.ts.html +0 -244
  2133. package/coverage/lcov-report/media-queries/useMinWidthMediaQuery.ts.html +0 -115
  2134. package/coverage/lcov-report/menu/DropdownMenu.tsx.html +0 -976
  2135. package/coverage/lcov-report/menu/Menu.tsx.html +0 -1888
  2136. package/coverage/lcov-report/menu/MenuConfigurationProvider.tsx.html +0 -637
  2137. package/coverage/lcov-report/menu/MenuItemGroup.tsx.html +0 -382
  2138. package/coverage/lcov-report/menu/MenuSheet.tsx.html +0 -502
  2139. package/coverage/lcov-report/menu/MenuVisibilityProvider.tsx.html +0 -355
  2140. package/coverage/lcov-report/menu/MenuWidget.tsx.html +0 -634
  2141. package/coverage/lcov-report/menu/index.html +0 -116
  2142. package/coverage/lcov-report/menu/menuConfig.ts.html +0 -118
  2143. package/coverage/lcov-report/menuItemInputToggleStyles.ts.html +0 -319
  2144. package/coverage/lcov-report/movement/index.html +0 -116
  2145. package/coverage/lcov-report/movement/useKeyboardMovementProvider.ts.html +0 -1684
  2146. package/coverage/lcov-report/overlay/Overlay.tsx.html +0 -655
  2147. package/coverage/lcov-report/overlay/index.html +0 -116
  2148. package/coverage/lcov-report/positioning/createVerticalPosition.ts.html +0 -1009
  2149. package/coverage/lcov-report/positioning/getFixedPosition.ts.html +0 -616
  2150. package/coverage/lcov-report/positioning/index.html +0 -131
  2151. package/coverage/lcov-report/prettify.css +0 -1
  2152. package/coverage/lcov-report/prettify.js +0 -2
  2153. package/coverage/lcov-report/progress/CircularProgress.tsx.html +0 -799
  2154. package/coverage/lcov-report/progress/LinearProgress.tsx.html +0 -658
  2155. package/coverage/lcov-report/progress/index.html +0 -131
  2156. package/coverage/lcov-report/segmented-button/SegmentedButton.tsx.html +0 -628
  2157. package/coverage/lcov-report/segmented-button/SegmentedButtonContainer.tsx.html +0 -259
  2158. package/coverage/lcov-report/segmented-button/index.html +0 -161
  2159. package/coverage/lcov-report/segmented-button/segmentedButtonContainerStyles.ts.html +0 -151
  2160. package/coverage/lcov-report/segmented-button/segmentedButtonStyles.ts.html +0 -199
  2161. package/coverage/lcov-report/segmentedButtonContainerStyles.ts.html +0 -160
  2162. package/coverage/lcov-report/segmentedButtonStyles.ts.html +0 -199
  2163. package/coverage/lcov-report/sheet/Sheet.tsx.html +0 -403
  2164. package/coverage/lcov-report/sheet/index.html +0 -116
  2165. package/coverage/lcov-report/sheet/styles.ts.html +0 -376
  2166. package/coverage/lcov-report/skeletonPlaceholderUtils.ts.html +0 -400
  2167. package/coverage/lcov-report/snackbar/DefaultToastRenderer.tsx.html +0 -526
  2168. package/coverage/lcov-report/snackbar/Snackbar.tsx.html +0 -610
  2169. package/coverage/lcov-report/snackbar/Toast.tsx.html +0 -868
  2170. package/coverage/lcov-report/snackbar/ToastContent.tsx.html +0 -364
  2171. package/coverage/lcov-report/snackbar/ToastManager.tsx.html +0 -1783
  2172. package/coverage/lcov-report/snackbar/ToastManagerProvider.tsx.html +0 -400
  2173. package/coverage/lcov-report/snackbar/index.html +0 -206
  2174. package/coverage/lcov-report/snackbar/snackbarStyles.ts.html +0 -139
  2175. package/coverage/lcov-report/snackbar/toastContentStyles.ts.html +0 -196
  2176. package/coverage/lcov-report/snackbar/toastStyles.ts.html +0 -349
  2177. package/coverage/lcov-report/snackbar/useCurrentToastActions.ts.html +0 -226
  2178. package/coverage/lcov-report/snackbarStyles.ts.html +0 -139
  2179. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  2180. package/coverage/lcov-report/sorter.js +0 -196
  2181. package/coverage/lcov-report/src/AppSize.tsx.html +0 -247
  2182. package/coverage/lcov-report/src/AppSizeProvider.tsx.html +0 -787
  2183. package/coverage/lcov-report/src/CoreProviders.tsx.html +0 -412
  2184. package/coverage/lcov-report/src/NoSsr.tsx.html +0 -250
  2185. package/coverage/lcov-report/src/NullSsrSuspense.tsx.html +0 -223
  2186. package/coverage/lcov-report/src/SsrProvider.tsx.html +0 -211
  2187. package/coverage/lcov-report/src/app-bar/AppBar.tsx.html +0 -937
  2188. package/coverage/lcov-report/src/app-bar/AppBarTitle.tsx.html +0 -445
  2189. package/coverage/lcov-report/src/app-bar/index.html +0 -131
  2190. package/coverage/lcov-report/src/avatar/Avatar.tsx.html +0 -472
  2191. package/coverage/lcov-report/src/avatar/index.html +0 -131
  2192. package/coverage/lcov-report/src/avatar/styles.ts.html +0 -268
  2193. package/coverage/lcov-report/src/badge/Badge.tsx.html +0 -382
  2194. package/coverage/lcov-report/src/badge/index.html +0 -116
  2195. package/coverage/lcov-report/src/box/Box.tsx.html +0 -541
  2196. package/coverage/lcov-report/src/box/index.html +0 -131
  2197. package/coverage/lcov-report/src/box/styles.ts.html +0 -622
  2198. package/coverage/lcov-report/src/button/AsyncButton.tsx.html +0 -1045
  2199. package/coverage/lcov-report/src/button/Button.tsx.html +0 -688
  2200. package/coverage/lcov-report/src/button/ButtonUnstyled.tsx.html +0 -211
  2201. package/coverage/lcov-report/src/button/FloatingActionButton.tsx.html +0 -382
  2202. package/coverage/lcov-report/src/button/TooltippedButton.tsx.html +0 -445
  2203. package/coverage/lcov-report/src/button/buttonStyles.ts.html +0 -607
  2204. package/coverage/lcov-report/src/button/buttonUnstyledStyles.ts.html +0 -142
  2205. package/coverage/lcov-report/src/button/index.html +0 -206
  2206. package/coverage/lcov-report/src/card/Card.tsx.html +0 -349
  2207. package/coverage/lcov-report/src/card/CardContent.tsx.html +0 -223
  2208. package/coverage/lcov-report/src/card/CardFooter.tsx.html +0 -196
  2209. package/coverage/lcov-report/src/card/CardHeader.tsx.html +0 -319
  2210. package/coverage/lcov-report/src/card/CardSubtitle.tsx.html +0 -250
  2211. package/coverage/lcov-report/src/card/CardTitle.tsx.html +0 -247
  2212. package/coverage/lcov-report/src/card/ClickableCard.tsx.html +0 -400
  2213. package/coverage/lcov-report/src/card/index.html +0 -221
  2214. package/coverage/lcov-report/src/card/styles.ts.html +0 -694
  2215. package/coverage/lcov-report/src/chip/Chip.tsx.html +0 -1102
  2216. package/coverage/lcov-report/src/chip/index.html +0 -131
  2217. package/coverage/lcov-report/src/chip/styles.ts.html +0 -457
  2218. package/coverage/lcov-report/src/cssUtils.ts.html +0 -787
  2219. package/coverage/lcov-report/src/delegateEvent.ts.html +0 -619
  2220. package/coverage/lcov-report/src/dialog/Dialog.tsx.html +0 -1309
  2221. package/coverage/lcov-report/src/dialog/DialogContainer.tsx.html +0 -175
  2222. package/coverage/lcov-report/src/dialog/DialogContent.tsx.html +0 -178
  2223. package/coverage/lcov-report/src/dialog/DialogFooter.tsx.html +0 -169
  2224. package/coverage/lcov-report/src/dialog/DialogHeader.tsx.html +0 -148
  2225. package/coverage/lcov-report/src/dialog/DialogTitle.tsx.html +0 -256
  2226. package/coverage/lcov-report/src/dialog/FixedDialog.tsx.html +0 -577
  2227. package/coverage/lcov-report/src/dialog/NestedDialogProvider.ts.html +0 -127
  2228. package/coverage/lcov-report/src/dialog/index.html +0 -236
  2229. package/coverage/lcov-report/src/dialog/styles.ts.html +0 -439
  2230. package/coverage/lcov-report/src/divider/Divider.tsx.html +0 -277
  2231. package/coverage/lcov-report/src/divider/VerticalDivider.tsx.html +0 -235
  2232. package/coverage/lcov-report/src/divider/index.html +0 -131
  2233. package/coverage/lcov-report/src/divider/styles.ts.html +0 -232
  2234. package/coverage/lcov-report/src/divider/useVerticalDividerHeight.ts.html +0 -301
  2235. package/coverage/lcov-report/src/draggable/index.html +0 -131
  2236. package/coverage/lcov-report/src/draggable/useControlledDraggable.ts.html +0 -2137
  2237. package/coverage/lcov-report/src/draggable/useDraggable.ts.html +0 -2398
  2238. package/coverage/lcov-report/src/draggable/useDraggableOrig.ts.html +0 -316
  2239. package/coverage/lcov-report/src/draggable/useLocalStorageDraggable.ts.html +0 -370
  2240. package/coverage/lcov-report/src/draggable/utils.ts.html +0 -808
  2241. package/coverage/lcov-report/src/expansion-panel/ExpansionList.tsx.html +0 -211
  2242. package/coverage/lcov-report/src/expansion-panel/ExpansionPanel.tsx.html +0 -943
  2243. package/coverage/lcov-report/src/expansion-panel/ExpansionPanelHeader.tsx.html +0 -649
  2244. package/coverage/lcov-report/src/expansion-panel/index.html +0 -176
  2245. package/coverage/lcov-report/src/expansion-panel/useExpansionList.ts.html +0 -322
  2246. package/coverage/lcov-report/src/expansion-panel/useExpansionPanels.ts.html +0 -928
  2247. package/coverage/lcov-report/src/focus/index.html +0 -131
  2248. package/coverage/lcov-report/src/focus/useFocusContainer.ts.html +0 -883
  2249. package/coverage/lcov-report/src/focus/utils.ts.html +0 -544
  2250. package/coverage/lcov-report/src/form/Checkbox.tsx.html +0 -160
  2251. package/coverage/lcov-report/src/form/Fieldset.tsx.html +0 -355
  2252. package/coverage/lcov-report/src/form/FileInput.tsx.html +0 -739
  2253. package/coverage/lcov-report/src/form/Form.tsx.html +0 -235
  2254. package/coverage/lcov-report/src/form/FormMessage.tsx.html +0 -322
  2255. package/coverage/lcov-report/src/form/FormMessageContainer.tsx.html +0 -223
  2256. package/coverage/lcov-report/src/form/FormMessageCounter.tsx.html +0 -262
  2257. package/coverage/lcov-report/src/form/FormThemeProvider.tsx.html +0 -313
  2258. package/coverage/lcov-report/src/form/InputToggle.tsx.html +0 -1108
  2259. package/coverage/lcov-report/src/form/InputToggleIcon.tsx.html +0 -478
  2260. package/coverage/lcov-report/src/form/Label.tsx.html +0 -439
  2261. package/coverage/lcov-report/src/form/Legend.tsx.html +0 -199
  2262. package/coverage/lcov-report/src/form/MenuItemCheckbox.tsx.html +0 -223
  2263. package/coverage/lcov-report/src/form/MenuItemFileInput.tsx.html +0 -424
  2264. package/coverage/lcov-report/src/form/MenuItemInputToggle.tsx.html +0 -979
  2265. package/coverage/lcov-report/src/form/MenuItemRadio.tsx.html +0 -436
  2266. package/coverage/lcov-report/src/form/MenuItemSwitch.tsx.html +0 -211
  2267. package/coverage/lcov-report/src/form/MenuItemTextField.tsx.html +0 -289
  2268. package/coverage/lcov-report/src/form/NativeSelect.tsx.html +0 -763
  2269. package/coverage/lcov-report/src/form/OptGroup.tsx.html +0 -343
  2270. package/coverage/lcov-report/src/form/Option.tsx.html +0 -709
  2271. package/coverage/lcov-report/src/form/Password.tsx.html +0 -721
  2272. package/coverage/lcov-report/src/form/Radio.tsx.html +0 -172
  2273. package/coverage/lcov-report/src/form/Select.tsx.html +0 -1663
  2274. package/coverage/lcov-report/src/form/SelectValue.tsx.html +0 -202
  2275. package/coverage/lcov-report/src/form/Slider.tsx.html +0 -2008
  2276. package/coverage/lcov-report/src/form/SliderContainer.tsx.html +0 -358
  2277. package/coverage/lcov-report/src/form/SliderMark.tsx.html +0 -208
  2278. package/coverage/lcov-report/src/form/SliderMarkLabel.tsx.html +0 -271
  2279. package/coverage/lcov-report/src/form/SliderThumb.tsx.html +0 -1084
  2280. package/coverage/lcov-report/src/form/SliderTrack.tsx.html +0 -454
  2281. package/coverage/lcov-report/src/form/SliderValueMarks.tsx.html +0 -745
  2282. package/coverage/lcov-report/src/form/SliderValueTooltip.tsx.html +0 -319
  2283. package/coverage/lcov-report/src/form/Switch.tsx.html +0 -535
  2284. package/coverage/lcov-report/src/form/SwitchTrack.tsx.html +0 -262
  2285. package/coverage/lcov-report/src/form/TextArea.tsx.html +0 -940
  2286. package/coverage/lcov-report/src/form/TextField.tsx.html +0 -829
  2287. package/coverage/lcov-report/src/form/TextFieldAddon.tsx.html +0 -382
  2288. package/coverage/lcov-report/src/form/TextFieldContainer.tsx.html +0 -364
  2289. package/coverage/lcov-report/src/form/TextFieldContainerStyles.ts.html +0 -418
  2290. package/coverage/lcov-report/src/form/fileUtils.ts.html +0 -2155
  2291. package/coverage/lcov-report/src/form/formConfig.ts.html +0 -157
  2292. package/coverage/lcov-report/src/form/formMessageStyles.ts.html +0 -238
  2293. package/coverage/lcov-report/src/form/index.html +0 -1046
  2294. package/coverage/lcov-report/src/form/inputToggleStyles.ts.html +0 -316
  2295. package/coverage/lcov-report/src/form/nativeSelectStyles.ts.html +0 -253
  2296. package/coverage/lcov-report/src/form/optionStyles.ts.html +0 -151
  2297. package/coverage/lcov-report/src/form/passwordStyles.ts.html +0 -235
  2298. package/coverage/lcov-report/src/form/selectStyles.ts.html +0 -181
  2299. package/coverage/lcov-report/src/form/selectUtils.ts.html +0 -430
  2300. package/coverage/lcov-report/src/form/sliderUtils.ts.html +0 -790
  2301. package/coverage/lcov-report/src/form/switchStyles.ts.html +0 -172
  2302. package/coverage/lcov-report/src/form/textAreaStyles.ts.html +0 -385
  2303. package/coverage/lcov-report/src/form/textFieldStyles.ts.html +0 -184
  2304. package/coverage/lcov-report/src/form/useCheckboxGroup.ts.html +0 -1087
  2305. package/coverage/lcov-report/src/form/useCombobox.ts.html +0 -1054
  2306. package/coverage/lcov-report/src/form/useComboboxBoth.ts.html +0 -85
  2307. package/coverage/lcov-report/src/form/useComboboxDialog.ts.html +0 -85
  2308. package/coverage/lcov-report/src/form/useComboboxList.ts.html +0 -403
  2309. package/coverage/lcov-report/src/form/useComboboxOrig.ts.html +0 -781
  2310. package/coverage/lcov-report/src/form/useFileUpload.ts.html +0 -1702
  2311. package/coverage/lcov-report/src/form/useListboxProvider.ts.html +0 -214
  2312. package/coverage/lcov-report/src/form/useNumberField.ts.html +0 -1561
  2313. package/coverage/lcov-report/src/form/useRadioGroup.ts.html +0 -1021
  2314. package/coverage/lcov-report/src/form/useRangeSlider.ts.html +0 -355
  2315. package/coverage/lcov-report/src/form/useResizingTextArea.ts.html +0 -523
  2316. package/coverage/lcov-report/src/form/useResizingTextArea.tsx.html +0 -523
  2317. package/coverage/lcov-report/src/form/useSlider.ts.html +0 -421
  2318. package/coverage/lcov-report/src/form/useTextField.ts.html +0 -2203
  2319. package/coverage/lcov-report/src/form/utils.ts.html +0 -343
  2320. package/coverage/lcov-report/src/form/validation.ts.html +0 -886
  2321. package/coverage/lcov-report/src/hoverMode/index.html +0 -131
  2322. package/coverage/lcov-report/src/hoverMode/useHoverMode.ts.html +0 -676
  2323. package/coverage/lcov-report/src/hoverMode/useHoverModeProvider.ts.html +0 -1018
  2324. package/coverage/lcov-report/src/icon/FontIcon.tsx.html +0 -256
  2325. package/coverage/lcov-report/src/icon/IconProvider.tsx.html +0 -931
  2326. package/coverage/lcov-report/src/icon/IconRotator.tsx.html +0 -322
  2327. package/coverage/lcov-report/src/icon/MaterialIcon.tsx.html +0 -235
  2328. package/coverage/lcov-report/src/icon/MaterialIconsProvider.ts.html +0 -154
  2329. package/coverage/lcov-report/src/icon/MaterialSymbol.tsx.html +0 -421
  2330. package/coverage/lcov-report/src/icon/MaterialSymbolsProvider.tsx.html +0 -757
  2331. package/coverage/lcov-report/src/icon/SVGIcon.tsx.html +0 -445
  2332. package/coverage/lcov-report/src/icon/TextIconSpacing.tsx.html +0 -679
  2333. package/coverage/lcov-report/src/icon/iconConfig.tsx.html +0 -973
  2334. package/coverage/lcov-report/src/icon/index.html +0 -251
  2335. package/coverage/lcov-report/src/icon/material.ts.html +0 -15922
  2336. package/coverage/lcov-report/src/icon/materialConfig.ts.html +0 -703
  2337. package/coverage/lcov-report/src/icon/styles.ts.html +0 -586
  2338. package/coverage/lcov-report/src/index.html +0 -461
  2339. package/coverage/lcov-report/src/interaction/ElementInteractionProvider.tsx.html +0 -277
  2340. package/coverage/lcov-report/src/interaction/LazyRippleContainer.tsx.html +0 -136
  2341. package/coverage/lcov-report/src/interaction/Ripple.tsx.html +0 -283
  2342. package/coverage/lcov-report/src/interaction/RippleContainer.tsx.html +0 -211
  2343. package/coverage/lcov-report/src/interaction/UserInteractionModeProvider.tsx.html +0 -679
  2344. package/coverage/lcov-report/src/interaction/config.ts.html +0 -181
  2345. package/coverage/lcov-report/src/interaction/index.html +0 -206
  2346. package/coverage/lcov-report/src/interaction/useElementInteraction.ts.html +0 -1474
  2347. package/coverage/lcov-report/src/interaction/useElementInteraction.tsx.html +0 -1513
  2348. package/coverage/lcov-report/src/interaction/useHigherContrastChildren.tsx.html +0 -355
  2349. package/coverage/lcov-report/src/interaction/utils.ts.html +0 -496
  2350. package/coverage/lcov-report/src/layout/DefaultLayoutNavigationItemRenderer.tsx.html +0 -169
  2351. package/coverage/lcov-report/src/layout/DefaultLayoutNavigationMiniItemRenderer.tsx.html +0 -160
  2352. package/coverage/lcov-report/src/layout/Layout.tsx.html +0 -235
  2353. package/coverage/lcov-report/src/layout/LayoutAppBar.tsx.html +0 -373
  2354. package/coverage/lcov-report/src/layout/LayoutAppBarTitle.tsx.html +0 -193
  2355. package/coverage/lcov-report/src/layout/LayoutChildren.tsx.html +0 -718
  2356. package/coverage/lcov-report/src/layout/LayoutCloseNavigationButton.tsx.html +0 -265
  2357. package/coverage/lcov-report/src/layout/LayoutMain.tsx.html +0 -580
  2358. package/coverage/lcov-report/src/layout/LayoutNav.tsx.html +0 -688
  2359. package/coverage/lcov-report/src/layout/LayoutNavToggle.tsx.html +0 -430
  2360. package/coverage/lcov-report/src/layout/LayoutNavigation.tsx.html +0 -445
  2361. package/coverage/lcov-report/src/layout/LayoutNavigationHeader.tsx.html +0 -274
  2362. package/coverage/lcov-report/src/layout/LayoutProvider.tsx.html +0 -706
  2363. package/coverage/lcov-report/src/layout/LayoutTree.tsx.html +0 -331
  2364. package/coverage/lcov-report/src/layout/LayoutWindowSplitter.tsx.html +0 -472
  2365. package/coverage/lcov-report/src/layout/Main.tsx.html +0 -367
  2366. package/coverage/lcov-report/src/layout/MiniLayoutWrapper.tsx.html +0 -541
  2367. package/coverage/lcov-report/src/layout/NavigationLink.tsx.html +0 -334
  2368. package/coverage/lcov-report/src/layout/NavigationRail.tsx.html +0 -157
  2369. package/coverage/lcov-report/src/layout/TemporaryLayout.tsx.html +0 -85
  2370. package/coverage/lcov-report/src/layout/constants.ts.html +0 -169
  2371. package/coverage/lcov-report/src/layout/index.html +0 -326
  2372. package/coverage/lcov-report/src/layout/layoutNavStyles.ts.html +0 -166
  2373. package/coverage/lcov-report/src/layout/layoutWindowSplitterStyles.ts.html +0 -220
  2374. package/coverage/lcov-report/src/layout/mainStyles.ts.html +0 -217
  2375. package/coverage/lcov-report/src/layout/navigationLinkStyles.ts.html +0 -250
  2376. package/coverage/lcov-report/src/layout/navigationRailStyles.ts.html +0 -148
  2377. package/coverage/lcov-report/src/layout/useExpandableLayout.ts.html +0 -742
  2378. package/coverage/lcov-report/src/layout/useHorizontalLayoutTransition.ts.html +0 -349
  2379. package/coverage/lcov-report/src/layout/useLayoutAppBarHeight.ts.html +0 -367
  2380. package/coverage/lcov-report/src/layout/useLayoutNavigation.ts.html +0 -544
  2381. package/coverage/lcov-report/src/layout/useLayoutTree.ts.html +0 -691
  2382. package/coverage/lcov-report/src/layout/useLayoutWindowSplitter.ts.html +0 -496
  2383. package/coverage/lcov-report/src/layout/useMainTabIndex.ts.html +0 -136
  2384. package/coverage/lcov-report/src/layout/useResizableLayout.ts.html +0 -535
  2385. package/coverage/lcov-report/src/layout/useTemporaryLayout.ts.html +0 -589
  2386. package/coverage/lcov-report/src/layout/utils.ts.html +0 -391
  2387. package/coverage/lcov-report/src/link/Link.tsx.html +0 -358
  2388. package/coverage/lcov-report/src/link/LinkProvider.tsx.html +0 -238
  2389. package/coverage/lcov-report/src/link/SkipToMainContent.tsx.html +0 -448
  2390. package/coverage/lcov-report/src/link/index.html +0 -146
  2391. package/coverage/lcov-report/src/link/styles.ts.html +0 -238
  2392. package/coverage/lcov-report/src/list/List.tsx.html +0 -490
  2393. package/coverage/lcov-report/src/list/ListItem.tsx.html +0 -892
  2394. package/coverage/lcov-report/src/list/ListItemAddon.tsx.html +0 -286
  2395. package/coverage/lcov-report/src/list/ListItemChildren.tsx.html +0 -445
  2396. package/coverage/lcov-report/src/list/ListItemLink.tsx.html +0 -616
  2397. package/coverage/lcov-report/src/list/ListItemText.tsx.html +0 -277
  2398. package/coverage/lcov-report/src/list/ListSubheader.tsx.html +0 -319
  2399. package/coverage/lcov-report/src/list/getListItemHeight.ts.html +0 -301
  2400. package/coverage/lcov-report/src/list/index.html +0 -236
  2401. package/coverage/lcov-report/src/list/listItemStyles.ts.html +0 -703
  2402. package/coverage/lcov-report/src/main-layout/DefaultLayoutNavigationItemRenderer.tsx.html +0 -169
  2403. package/coverage/lcov-report/src/main-layout/DefaultLayoutNavigationMiniItemRenderer.tsx.html +0 -160
  2404. package/coverage/lcov-report/src/main-layout/Main.tsx.html +0 -298
  2405. package/coverage/lcov-report/src/main-layout/MainLayout.tsx.html +0 -619
  2406. package/coverage/lcov-report/src/main-layout/MainLayoutAppBar.tsx.html +0 -448
  2407. package/coverage/lcov-report/src/main-layout/MainLayoutNavigationButton.tsx.html +0 -295
  2408. package/coverage/lcov-report/src/main-layout/MainLayoutTitle.tsx.html +0 -184
  2409. package/coverage/lcov-report/src/main-layout/MainNavWindowSplitter.tsx.html +0 -427
  2410. package/coverage/lcov-report/src/main-layout/MainNavigation.tsx.html +0 -568
  2411. package/coverage/lcov-report/src/main-layout/MainNavigationTree.tsx.html +0 -115
  2412. package/coverage/lcov-report/src/main-layout/index.html +0 -296
  2413. package/coverage/lcov-report/src/main-layout/useLayoutNavigation.ts.html +0 -727
  2414. package/coverage/lcov-report/src/main-layout/useMainLayout.ts.html +0 -523
  2415. package/coverage/lcov-report/src/main-layout/useMainLayoutProvider.ts.html +0 -484
  2416. package/coverage/lcov-report/src/main-layout-current/DefaultLayoutNavigationItemRenderer.tsx.html +0 -169
  2417. package/coverage/lcov-report/src/main-layout-current/DefaultLayoutNavigationMiniItemRenderer.tsx.html +0 -160
  2418. package/coverage/lcov-report/src/main-layout-current/Main.tsx.html +0 -265
  2419. package/coverage/lcov-report/src/main-layout-current/MainLayout.tsx.html +0 -739
  2420. package/coverage/lcov-report/src/main-layout-current/MainLayoutAppBar.tsx.html +0 -352
  2421. package/coverage/lcov-report/src/main-layout-current/MainLayoutProvider.ts.html +0 -991
  2422. package/coverage/lcov-report/src/main-layout-current/MainLayoutTitle.tsx.html +0 -184
  2423. package/coverage/lcov-report/src/main-layout-current/MainNavWindowSplitter.tsx.html +0 -520
  2424. package/coverage/lcov-report/src/main-layout-current/MainNavigation.tsx.html +0 -586
  2425. package/coverage/lcov-report/src/main-layout-current/NavigationButton.tsx.html +0 -283
  2426. package/coverage/lcov-report/src/main-layout-current/index.html +0 -266
  2427. package/coverage/lcov-report/src/main-layout-current/useLayoutNavigation.ts.html +0 -727
  2428. package/coverage/lcov-report/src/media-queries/AppSizeProvider.tsx.html +0 -502
  2429. package/coverage/lcov-report/src/media-queries/appSize.ts.html +0 -445
  2430. package/coverage/lcov-report/src/media-queries/index.html +0 -146
  2431. package/coverage/lcov-report/src/media-queries/useMediaQuery.ts.html +0 -244
  2432. package/coverage/lcov-report/src/media-queries/useMinWidthMediaQuery.ts.html +0 -115
  2433. package/coverage/lcov-report/src/menu/DropdownMenu.tsx.html +0 -976
  2434. package/coverage/lcov-report/src/menu/Menu.tsx.html +0 -1870
  2435. package/coverage/lcov-report/src/menu/MenuBar.tsx.html +0 -442
  2436. package/coverage/lcov-report/src/menu/MenuButton.tsx.html +0 -490
  2437. package/coverage/lcov-report/src/menu/MenuConfigurationProvider.tsx.html +0 -637
  2438. package/coverage/lcov-report/src/menu/MenuItem.tsx.html +0 -292
  2439. package/coverage/lcov-report/src/menu/MenuItemButton.tsx.html +0 -580
  2440. package/coverage/lcov-report/src/menu/MenuItemGroup.tsx.html +0 -376
  2441. package/coverage/lcov-report/src/menu/MenuItemSeparator.tsx.html +0 -226
  2442. package/coverage/lcov-report/src/menu/MenuSheet.tsx.html +0 -502
  2443. package/coverage/lcov-report/src/menu/MenuVisibilityProvider.tsx.html +0 -370
  2444. package/coverage/lcov-report/src/menu/MenuWidget.tsx.html +0 -631
  2445. package/coverage/lcov-report/src/menu/MenuWidgetKeyboardProvider.tsx.html +0 -190
  2446. package/coverage/lcov-report/src/menu/index.html +0 -341
  2447. package/coverage/lcov-report/src/menu/useContextMenu.ts.html +0 -490
  2448. package/coverage/lcov-report/src/menu/useMenuBarProvider.ts.html +0 -349
  2449. package/coverage/lcov-report/src/menu/utils.ts.html +0 -271
  2450. package/coverage/lcov-report/src/movement/constants.ts.html +0 -193
  2451. package/coverage/lcov-report/src/movement/findMatchIndex.ts.html +0 -385
  2452. package/coverage/lcov-report/src/movement/index.html +0 -161
  2453. package/coverage/lcov-report/src/movement/useKeyboardMovementProvider.ts.html +0 -1687
  2454. package/coverage/lcov-report/src/movement/utils.ts.html +0 -871
  2455. package/coverage/lcov-report/src/overlay/Overlay.tsx.html +0 -556
  2456. package/coverage/lcov-report/src/overlay/index.html +0 -131
  2457. package/coverage/lcov-report/src/overlay/overlayStyles.ts.html +0 -340
  2458. package/coverage/lcov-report/src/portal/Portal.tsx.html +0 -223
  2459. package/coverage/lcov-report/src/portal/PortalContainerProvider.tsx.html +0 -367
  2460. package/coverage/lcov-report/src/portal/index.html +0 -131
  2461. package/coverage/lcov-report/src/positioning/constants.ts.html +0 -463
  2462. package/coverage/lcov-report/src/positioning/createHorizontalPosition.ts.html +0 -1075
  2463. package/coverage/lcov-report/src/positioning/createVerticalPosition.ts.html +0 -997
  2464. package/coverage/lcov-report/src/positioning/getFixedPosition.ts.html +0 -610
  2465. package/coverage/lcov-report/src/positioning/index.html +0 -191
  2466. package/coverage/lcov-report/src/positioning/useFixedPositioning.ts.html +0 -1339
  2467. package/coverage/lcov-report/src/positioning/utils.ts.html +0 -1225
  2468. package/coverage/lcov-report/src/progress/CircularProgress.tsx.html +0 -799
  2469. package/coverage/lcov-report/src/progress/LinearProgress.tsx.html +0 -658
  2470. package/coverage/lcov-report/src/progress/getProgressA11y.ts.html +0 -160
  2471. package/coverage/lcov-report/src/progress/index.html +0 -146
  2472. package/coverage/lcov-report/src/responsive-item/ResponsiveItemContainer.tsx.html +0 -628
  2473. package/coverage/lcov-report/src/responsive-item/ResponsiveItemOverlay.tsx.html +0 -385
  2474. package/coverage/lcov-report/src/responsive-item/index.html +0 -146
  2475. package/coverage/lcov-report/src/responsive-item/styles.ts.html +0 -259
  2476. package/coverage/lcov-report/src/scroll/ScrollLock.tsx.html +0 -133
  2477. package/coverage/lcov-report/src/scroll/getScrollbarWidth.ts.html +0 -181
  2478. package/coverage/lcov-report/src/scroll/index.html +0 -146
  2479. package/coverage/lcov-report/src/scroll/useScrollLock.ts.html +0 -241
  2480. package/coverage/lcov-report/src/segmented-button/SegmentedButton.tsx.html +0 -619
  2481. package/coverage/lcov-report/src/segmented-button/SegmentedButtonContainer.tsx.html +0 -277
  2482. package/coverage/lcov-report/src/segmented-button/index.html +0 -161
  2483. package/coverage/lcov-report/src/segmented-button/segmentedButtonContainerStyles.ts.html +0 -160
  2484. package/coverage/lcov-report/src/segmented-button/segmentedButtonStyles.ts.html +0 -205
  2485. package/coverage/lcov-report/src/sheet/Sheet.tsx.html +0 -397
  2486. package/coverage/lcov-report/src/sheet/index.html +0 -131
  2487. package/coverage/lcov-report/src/sheet/styles.ts.html +0 -376
  2488. package/coverage/lcov-report/src/snackbar/DefaultToastRenderer.tsx.html +0 -526
  2489. package/coverage/lcov-report/src/snackbar/Snackbar.tsx.html +0 -628
  2490. package/coverage/lcov-report/src/snackbar/Toast.tsx.html +0 -841
  2491. package/coverage/lcov-report/src/snackbar/ToastActionButton.tsx.html +0 -298
  2492. package/coverage/lcov-report/src/snackbar/ToastCloseButton.tsx.html +0 -349
  2493. package/coverage/lcov-report/src/snackbar/ToastContent.tsx.html +0 -364
  2494. package/coverage/lcov-report/src/snackbar/ToastManager.tsx.html +0 -1786
  2495. package/coverage/lcov-report/src/snackbar/ToastManagerProvider.tsx.html +0 -400
  2496. package/coverage/lcov-report/src/snackbar/index.html +0 -281
  2497. package/coverage/lcov-report/src/snackbar/snackbarStyles.ts.html +0 -214
  2498. package/coverage/lcov-report/src/snackbar/toastContentStyles.ts.html +0 -196
  2499. package/coverage/lcov-report/src/snackbar/toastStyles.ts.html +0 -268
  2500. package/coverage/lcov-report/src/snackbar/useCurrentToastActions.ts.html +0 -226
  2501. package/coverage/lcov-report/src/snackbar/useDefaultToastRenderer.ts.html +0 -85
  2502. package/coverage/lcov-report/src/snackbar/useDefaultToastRenderer.tsx.html +0 -394
  2503. package/coverage/lcov-report/src/snackbar/useRemoveToast.ts.html +0 -169
  2504. package/coverage/lcov-report/src/snackbar/useToast.ts.html +0 -184
  2505. package/coverage/lcov-report/src/snackbar/useToastRenderer.ts.html +0 -85
  2506. package/coverage/lcov-report/src/suspense/CircularProgressSuspense.tsx.html +0 -283
  2507. package/coverage/lcov-report/src/suspense/NullSsrSuspense.tsx.html +0 -151
  2508. package/coverage/lcov-report/src/suspense/NullSuspense.tsx.html +0 -202
  2509. package/coverage/lcov-report/src/suspense/index.html +0 -131
  2510. package/coverage/lcov-report/src/table/Table.tsx.html +0 -457
  2511. package/coverage/lcov-report/src/table/TableBody.tsx.html +0 -280
  2512. package/coverage/lcov-report/src/table/TableCell.tsx.html +0 -982
  2513. package/coverage/lcov-report/src/table/TableCellContent.tsx.html +0 -436
  2514. package/coverage/lcov-report/src/table/TableCheckbox.tsx.html +0 -715
  2515. package/coverage/lcov-report/src/table/TableConfigurationProvider.tsx.html +0 -484
  2516. package/coverage/lcov-report/src/table/TableContainer.tsx.html +0 -220
  2517. package/coverage/lcov-report/src/table/TableContainerProvider.tsx.html +0 -193
  2518. package/coverage/lcov-report/src/table/TableFooter.tsx.html +0 -538
  2519. package/coverage/lcov-report/src/table/TableHeader.tsx.html +0 -565
  2520. package/coverage/lcov-report/src/table/TableRadio.tsx.html +0 -676
  2521. package/coverage/lcov-report/src/table/TableRow.tsx.html +0 -289
  2522. package/coverage/lcov-report/src/table/index.html +0 -371
  2523. package/coverage/lcov-report/src/table/tableCellStyles.ts.html +0 -334
  2524. package/coverage/lcov-report/src/table/tableContainerStyles.ts.html +0 -142
  2525. package/coverage/lcov-report/src/table/tableFooterStyles.ts.html +0 -166
  2526. package/coverage/lcov-report/src/table/tableHeaderStyles.ts.html +0 -172
  2527. package/coverage/lcov-report/src/table/tableRowStyles.ts.html +0 -169
  2528. package/coverage/lcov-report/src/table/tableStyles.ts.html +0 -157
  2529. package/coverage/lcov-report/src/tabs/Tab.tsx.html +0 -622
  2530. package/coverage/lcov-report/src/tabs/TabList.tsx.html +0 -796
  2531. package/coverage/lcov-report/src/tabs/TabListScrollButton.tsx.html +0 -490
  2532. package/coverage/lcov-report/src/tabs/index.html +0 -251
  2533. package/coverage/lcov-report/src/tabs/tabIndicatorStyles.ts.html +0 -187
  2534. package/coverage/lcov-report/src/tabs/tabListScrollButtonStyles.ts.html +0 -226
  2535. package/coverage/lcov-report/src/tabs/tabListStyles.ts.html +0 -241
  2536. package/coverage/lcov-report/src/tabs/tabStyles.ts.html +0 -265
  2537. package/coverage/lcov-report/src/tabs/useTabList.ts.html +0 -736
  2538. package/coverage/lcov-report/src/tabs/useTabs.ts.html +0 -1567
  2539. package/coverage/lcov-report/src/tabs/useTabsOriginal.ts.html +0 -760
  2540. package/coverage/lcov-report/src/tabs/utils.ts.html +0 -337
  2541. package/coverage/lcov-report/src/test-utils/IntersectionObserver.ts.html +0 -235
  2542. package/coverage/lcov-report/src/test-utils/ResizeObserver.ts.html +0 -904
  2543. package/coverage/lcov-report/src/test-utils/data-testid.ts.html +0 -100
  2544. package/coverage/lcov-report/src/test-utils/drag.ts.html +0 -337
  2545. package/coverage/lcov-report/src/test-utils/index.html +0 -221
  2546. package/coverage/lcov-report/src/test-utils/jest-setup.ts.html +0 -124
  2547. package/coverage/lcov-report/src/test-utils/matchMedia.ts.html +0 -679
  2548. package/coverage/lcov-report/src/test-utils/polyfills/IntersectionObserver.ts.html +0 -109
  2549. package/coverage/lcov-report/src/test-utils/polyfills/ResizeObserver.ts.html +0 -100
  2550. package/coverage/lcov-report/src/test-utils/polyfills/index.html +0 -176
  2551. package/coverage/lcov-report/src/test-utils/polyfills/matchMedia.ts.html +0 -109
  2552. package/coverage/lcov-report/src/test-utils/polyfills/offsetParent.ts.html +0 -202
  2553. package/coverage/lcov-report/src/test-utils/polyfills/scrollIntoView.ts.html +0 -112
  2554. package/coverage/lcov-report/src/test-utils/render.tsx.html +0 -220
  2555. package/coverage/lcov-report/src/test-utils/timers.ts.html +0 -223
  2556. package/coverage/lcov-report/src/test-utils/utils.ts.html +0 -118
  2557. package/coverage/lcov-report/src/theme/ColorSchemeProvider.tsx.html +0 -811
  2558. package/coverage/lcov-report/src/theme/LocalStorageColorSchemeProvider.tsx.html +0 -475
  2559. package/coverage/lcov-report/src/theme/ThemeProvider.tsx.html +0 -1510
  2560. package/coverage/lcov-report/src/theme/colors.ts.html +0 -910
  2561. package/coverage/lcov-report/src/theme/cssVars.ts.html +0 -130
  2562. package/coverage/lcov-report/src/theme/index.html +0 -251
  2563. package/coverage/lcov-report/src/theme/useCSSVariables.ts.html +0 -622
  2564. package/coverage/lcov-report/src/theme/useColorScheme.ts.html +0 -490
  2565. package/coverage/lcov-report/src/theme/useColorSchemeMetaTag.ts.html +0 -244
  2566. package/coverage/lcov-report/src/theme/useColorSchemeProvider.ts.html +0 -433
  2567. package/coverage/lcov-report/src/theme/usePrefersColorScheme.ts.html +0 -121
  2568. package/coverage/lcov-report/src/theme/utils.ts.html +0 -670
  2569. package/coverage/lcov-report/src/tooltip/Tooltip.tsx.html +0 -559
  2570. package/coverage/lcov-report/src/tooltip/TooltipHoverModeProvider.tsx.html +0 -409
  2571. package/coverage/lcov-report/src/tooltip/constants.ts.html +0 -208
  2572. package/coverage/lcov-report/src/tooltip/index.html +0 -206
  2573. package/coverage/lcov-report/src/tooltip/tooltipStyles.ts.html +0 -181
  2574. package/coverage/lcov-report/src/tooltip/useOverflowTooltip.ts.html +0 -364
  2575. package/coverage/lcov-report/src/tooltip/useTooltip.ts.html +0 -2095
  2576. package/coverage/lcov-report/src/tooltip/useTooltipPosition.ts.html +0 -388
  2577. package/coverage/lcov-report/src/tooltip/utils.ts.html +0 -238
  2578. package/coverage/lcov-report/src/transition/CSSTransition.tsx.html +0 -358
  2579. package/coverage/lcov-report/src/transition/Collapse.tsx.html +0 -337
  2580. package/coverage/lcov-report/src/transition/CrossFade.tsx.html +0 -436
  2581. package/coverage/lcov-report/src/transition/ScaleTransition.tsx.html +0 -328
  2582. package/coverage/lcov-report/src/transition/SkeletonPlaceholder.tsx.html +0 -613
  2583. package/coverage/lcov-report/src/transition/Slide.tsx.html +0 -367
  2584. package/coverage/lcov-report/src/transition/SlideContainer.tsx.html +0 -649
  2585. package/coverage/lcov-report/src/transition/collapseStyles.ts.html +0 -184
  2586. package/coverage/lcov-report/src/transition/config.ts.html +0 -187
  2587. package/coverage/lcov-report/src/transition/constants.ts.html +0 -103
  2588. package/coverage/lcov-report/src/transition/index.html +0 -416
  2589. package/coverage/lcov-report/src/transition/maxWidthTransition.ts.html +0 -157
  2590. package/coverage/lcov-report/src/transition/skeletonPlaceholderUtils.ts.html +0 -400
  2591. package/coverage/lcov-report/src/transition/useCSSTransition.ts.html +0 -766
  2592. package/coverage/lcov-report/src/transition/useCarousel.ts.html +0 -835
  2593. package/coverage/lcov-report/src/transition/useCollapseTransition.ts.html +0 -1438
  2594. package/coverage/lcov-report/src/transition/useCrossFadeTransition.ts.html +0 -469
  2595. package/coverage/lcov-report/src/transition/useMaxWidthTransition.ts.html +0 -205
  2596. package/coverage/lcov-report/src/transition/useScaleTransition.ts.html +0 -535
  2597. package/coverage/lcov-report/src/transition/useSkeletonPlaceholder.ts.html +0 -958
  2598. package/coverage/lcov-report/src/transition/useSlideTransition.ts.html +0 -424
  2599. package/coverage/lcov-report/src/transition/useTransition.ts.html +0 -943
  2600. package/coverage/lcov-report/src/transition/utils.ts.html +0 -529
  2601. package/coverage/lcov-report/src/tree/DefaultTreeItemRenderer.tsx.html +0 -313
  2602. package/coverage/lcov-report/src/tree/Tree.tsx.html +0 -1066
  2603. package/coverage/lcov-report/src/tree/TreeGroup.tsx.html +0 -367
  2604. package/coverage/lcov-report/src/tree/TreeItem.tsx.html +0 -1006
  2605. package/coverage/lcov-report/src/tree/TreeItemExpander.tsx.html +0 -355
  2606. package/coverage/lcov-report/src/tree/TreeProvider.tsx.html +0 -679
  2607. package/coverage/lcov-report/src/tree/index.html +0 -296
  2608. package/coverage/lcov-report/src/tree/styles.ts.html +0 -538
  2609. package/coverage/lcov-report/src/tree/useTree.ts.html +0 -289
  2610. package/coverage/lcov-report/src/tree/useTreeExpansion.ts.html +0 -241
  2611. package/coverage/lcov-report/src/tree/useTreeItems.ts.html +0 -496
  2612. package/coverage/lcov-report/src/tree/useTreeMovement.ts.html +0 -700
  2613. package/coverage/lcov-report/src/tree/useTreeSelection.ts.html +0 -274
  2614. package/coverage/lcov-report/src/tree/utils.ts.html +0 -277
  2615. package/coverage/lcov-report/src/typography/SrOnly.tsx.html +0 -328
  2616. package/coverage/lcov-report/src/typography/TextContainer.tsx.html +0 -403
  2617. package/coverage/lcov-report/src/typography/Typography.tsx.html +0 -1027
  2618. package/coverage/lcov-report/src/typography/WritingDirection.tsx.html +0 -775
  2619. package/coverage/lcov-report/src/typography/WritingDirectionProvider.tsx.html +0 -781
  2620. package/coverage/lcov-report/src/typography/index.html +0 -161
  2621. package/coverage/lcov-report/src/useAsyncAction.ts.html +0 -685
  2622. package/coverage/lcov-report/src/useDebounced.ts.html +0 -190
  2623. package/coverage/lcov-report/src/useDebouncedFunction.ts.html +0 -430
  2624. package/coverage/lcov-report/src/useDropzone.ts.html +0 -766
  2625. package/coverage/lcov-report/src/useElementSize.ts.html +0 -334
  2626. package/coverage/lcov-report/src/useEnsuredId.ts.html +0 -175
  2627. package/coverage/lcov-report/src/useEnsuredRef.ts.html +0 -253
  2628. package/coverage/lcov-report/src/useEnsuredState.ts.html +0 -235
  2629. package/coverage/lcov-report/src/useHtmlClassName.ts.html +0 -142
  2630. package/coverage/lcov-report/src/useIntersectionObserver.ts.html +0 -1075
  2631. package/coverage/lcov-report/src/useIsomorphicLayoutEffect.ts.html +0 -130
  2632. package/coverage/lcov-report/src/useLocalStorage.ts.html +0 -1852
  2633. package/coverage/lcov-report/src/useLocalStorageEvents.ts.html +0 -85
  2634. package/coverage/lcov-report/src/useMediaQuery.ts.html +0 -241
  2635. package/coverage/lcov-report/src/useMinWidthMediaQuery.ts.html +0 -115
  2636. package/coverage/lcov-report/src/useOrientation.ts.html +0 -271
  2637. package/coverage/lcov-report/src/usePageInactive.ts.html +0 -448
  2638. package/coverage/lcov-report/src/useResizeListener.ts.html +0 -391
  2639. package/coverage/lcov-report/src/useResizeObserver.ts.html +0 -790
  2640. package/coverage/lcov-report/src/useThrottledFunction.ts.html +0 -478
  2641. package/coverage/lcov-report/src/useToggle.ts.html +0 -253
  2642. package/coverage/lcov-report/src/useUnmounted.ts.html +0 -217
  2643. package/coverage/lcov-report/src/useWindowSize.ts.html +0 -460
  2644. package/coverage/lcov-report/src/utils/RecursiveRender.tsx.html +0 -253
  2645. package/coverage/lcov-report/src/utils/RenderRecursively.tsx.html +0 -691
  2646. package/coverage/lcov-report/src/utils/alphaNumericSort.ts.html +0 -535
  2647. package/coverage/lcov-report/src/utils/applyRef.ts.html +0 -214
  2648. package/coverage/lcov-report/src/utils/bem.ts.html +0 -412
  2649. package/coverage/lcov-report/src/utils/filters.ts.html +0 -1045
  2650. package/coverage/lcov-report/src/utils/getClientPosition.ts.html +0 -226
  2651. package/coverage/lcov-report/src/utils/getMiddleOfRange.ts.html +0 -163
  2652. package/coverage/lcov-report/src/utils/getPercentage.ts.html +0 -253
  2653. package/coverage/lcov-report/src/utils/getRangeDefaultValue.ts.html +0 -169
  2654. package/coverage/lcov-report/src/utils/getRangeSteps.ts.html +0 -157
  2655. package/coverage/lcov-report/src/utils/getUseStateSetterValue.ts.html +0 -85
  2656. package/coverage/lcov-report/src/utils/identity.ts.html +0 -100
  2657. package/coverage/lcov-report/src/utils/index.html +0 -371
  2658. package/coverage/lcov-report/src/utils/isElementVisible.ts.html +0 -214
  2659. package/coverage/lcov-report/src/utils/isValidNumber.ts.html +0 -118
  2660. package/coverage/lcov-report/src/utils/loop.ts.html +0 -262
  2661. package/coverage/lcov-report/src/utils/nearest.ts.html +0 -220
  2662. package/coverage/lcov-report/src/utils/parseCssLengthUnit.ts.html +0 -280
  2663. package/coverage/lcov-report/src/utils/randomInt.ts.html +0 -148
  2664. package/coverage/lcov-report/src/utils/wait.ts.html +0 -139
  2665. package/coverage/lcov-report/src/utils/withinRange.ts.html +0 -184
  2666. package/coverage/lcov-report/src/window-splitter/WindowSplitter.tsx.html +0 -445
  2667. package/coverage/lcov-report/src/window-splitter/index.html +0 -131
  2668. package/coverage/lcov-report/src/window-splitter/useControlledWindowSplitter.ts.html +0 -562
  2669. package/coverage/lcov-report/src/window-splitter/useLocalStorageWindowSplitter.ts.html +0 -331
  2670. package/coverage/lcov-report/src/window-splitter/useWindowSplitter.ts.html +0 -508
  2671. package/coverage/lcov-report/src/window-splitter/useWindowSplitterDefault.ts.html +0 -466
  2672. package/coverage/lcov-report/src/window-splitter/useWindowSplitterMaxValue.ts.html +0 -256
  2673. package/coverage/lcov-report/styles.ts.html +0 -457
  2674. package/coverage/lcov-report/suspense/CircularProgressSuspense.tsx.html +0 -283
  2675. package/coverage/lcov-report/suspense/NullSuspense.tsx.html +0 -202
  2676. package/coverage/lcov-report/suspense/index.html +0 -131
  2677. package/coverage/lcov-report/switchStyles.ts.html +0 -172
  2678. package/coverage/lcov-report/tabIndicatorStyles.ts.html +0 -187
  2679. package/coverage/lcov-report/tabListScrollButtonStyles.ts.html +0 -226
  2680. package/coverage/lcov-report/tabListStyles.ts.html +0 -241
  2681. package/coverage/lcov-report/tabStyles.ts.html +0 -265
  2682. package/coverage/lcov-report/table/Table.tsx.html +0 -526
  2683. package/coverage/lcov-report/table/TableBody.tsx.html +0 -280
  2684. package/coverage/lcov-report/table/TableCell.tsx.html +0 -1180
  2685. package/coverage/lcov-report/table/TableCheckbox.tsx.html +0 -709
  2686. package/coverage/lcov-report/table/TableFooter.tsx.html +0 -508
  2687. package/coverage/lcov-report/table/TableHeader.tsx.html +0 -607
  2688. package/coverage/lcov-report/table/TableRadio.tsx.html +0 -670
  2689. package/coverage/lcov-report/table/TableRow.tsx.html +0 -370
  2690. package/coverage/lcov-report/table/index.html +0 -191
  2691. package/coverage/lcov-report/tableCellStyles.ts.html +0 -334
  2692. package/coverage/lcov-report/tableContainerStyles.ts.html +0 -142
  2693. package/coverage/lcov-report/tableFooterStyles.ts.html +0 -157
  2694. package/coverage/lcov-report/tableHeaderStyles.ts.html +0 -163
  2695. package/coverage/lcov-report/tableRowStyles.ts.html +0 -169
  2696. package/coverage/lcov-report/tableStyles.ts.html +0 -157
  2697. package/coverage/lcov-report/tabs/Tab.tsx.html +0 -592
  2698. package/coverage/lcov-report/tabs/TabList.tsx.html +0 -796
  2699. package/coverage/lcov-report/tabs/TabListScrollButton.tsx.html +0 -472
  2700. package/coverage/lcov-report/tabs/index.html +0 -206
  2701. package/coverage/lcov-report/tabs/tabIndicatorStyles.ts.html +0 -187
  2702. package/coverage/lcov-report/tabs/tabListStyles.ts.html +0 -241
  2703. package/coverage/lcov-report/tabs/tabStyles.ts.html +0 -253
  2704. package/coverage/lcov-report/tabs/useTabList.ts.html +0 -736
  2705. package/coverage/lcov-report/tabs/useTabs.ts.html +0 -1567
  2706. package/coverage/lcov-report/tabs/utils.ts.html +0 -337
  2707. package/coverage/lcov-report/test-utils/index.html +0 -116
  2708. package/coverage/lcov-report/test-utils/jest-setup.ts.html +0 -124
  2709. package/coverage/lcov-report/test-utils/matchMedia.ts.html +0 -664
  2710. package/coverage/lcov-report/test-utils/polyfills/index.html +0 -116
  2711. package/coverage/lcov-report/test-utils/polyfills/matchMedia.ts.html +0 -109
  2712. package/coverage/lcov-report/test-utils/polyfills/offsetParent.ts.html +0 -202
  2713. package/coverage/lcov-report/test-utils/use.ts.html +0 -187
  2714. package/coverage/lcov-report/theme/ColorSchemeProvider.tsx.html +0 -811
  2715. package/coverage/lcov-report/theme/LocalStorageColorSchemeProvider.tsx.html +0 -268
  2716. package/coverage/lcov-report/theme/ThemeProvider.tsx.html +0 -1453
  2717. package/coverage/lcov-report/theme/cssVars.ts.html +0 -130
  2718. package/coverage/lcov-report/theme/index.html +0 -191
  2719. package/coverage/lcov-report/theme/useColorScheme.ts.html +0 -475
  2720. package/coverage/lcov-report/theme/useColorSchemeMetaTag.ts.html +0 -175
  2721. package/coverage/lcov-report/theme/useColorSchemeProvider.ts.html +0 -244
  2722. package/coverage/lcov-report/theme/usePrefersColorScheme.ts.html +0 -103
  2723. package/coverage/lcov-report/tooltip/Tooltip.tsx.html +0 -559
  2724. package/coverage/lcov-report/tooltip/TooltipHoverModeProvider.tsx.html +0 -409
  2725. package/coverage/lcov-report/tooltip/constants.ts.html +0 -208
  2726. package/coverage/lcov-report/tooltip/index.html +0 -116
  2727. package/coverage/lcov-report/tooltip/tooltipStyles.ts.html +0 -181
  2728. package/coverage/lcov-report/tooltip/useOverflowTooltip.ts.html +0 -364
  2729. package/coverage/lcov-report/tooltip/useTooltip.ts.html +0 -2095
  2730. package/coverage/lcov-report/tooltipStyles.ts.html +0 -181
  2731. package/coverage/lcov-report/transition/SkeletonPlaceholder.tsx.html +0 -595
  2732. package/coverage/lcov-report/transition/config.ts.html +0 -187
  2733. package/coverage/lcov-report/transition/index.html +0 -116
  2734. package/coverage/lcov-report/transition/maxWidthTransition.ts.html +0 -157
  2735. package/coverage/lcov-report/transition/skeletonPlaceholderUtils.ts.html +0 -400
  2736. package/coverage/lcov-report/transition/useMaxWidthTransition.ts.html +0 -199
  2737. package/coverage/lcov-report/transition/useSkeletonPlaceholder.ts.html +0 -952
  2738. package/coverage/lcov-report/transition/useTransition.ts.html +0 -943
  2739. package/coverage/lcov-report/tree/DefaultTreeItemRenderer.tsx.html +0 -301
  2740. package/coverage/lcov-report/tree/Tree.tsx.html +0 -1054
  2741. package/coverage/lcov-report/tree/TreeGroup.tsx.html +0 -370
  2742. package/coverage/lcov-report/tree/TreeItem.tsx.html +0 -1006
  2743. package/coverage/lcov-report/tree/TreeItemExpander.tsx.html +0 -328
  2744. package/coverage/lcov-report/tree/TreeProvider.tsx.html +0 -679
  2745. package/coverage/lcov-report/tree/index.html +0 -131
  2746. package/coverage/lcov-report/tree/styles.ts.html +0 -538
  2747. package/coverage/lcov-report/tree/useTree.ts.html +0 -289
  2748. package/coverage/lcov-report/tree/useTreeExpansion.ts.html +0 -241
  2749. package/coverage/lcov-report/tree/useTreeItems.ts.html +0 -496
  2750. package/coverage/lcov-report/tree/useTreeMovement.ts.html +0 -703
  2751. package/coverage/lcov-report/tree/useTreeSelection.ts.html +0 -274
  2752. package/coverage/lcov-report/tree/utils.ts.html +0 -277
  2753. package/coverage/lcov-report/typography/SrOnly.tsx.html +0 -352
  2754. package/coverage/lcov-report/typography/TextContainer.tsx.html +0 -433
  2755. package/coverage/lcov-report/typography/Typography.tsx.html +0 -1027
  2756. package/coverage/lcov-report/typography/WritingDirection.tsx.html +0 -775
  2757. package/coverage/lcov-report/typography/WritingDirectionProvider.tsx.html +0 -781
  2758. package/coverage/lcov-report/typography/index.html +0 -116
  2759. package/coverage/lcov-report/useCSSTransition.ts.html +0 -763
  2760. package/coverage/lcov-report/useCollapseTransition.ts.html +0 -1429
  2761. package/coverage/lcov-report/useDraggable.ts.html +0 -2458
  2762. package/coverage/lcov-report/useDropzone.ts.html +0 -763
  2763. package/coverage/lcov-report/useEnsuredRef.ts.html +0 -250
  2764. package/coverage/lcov-report/useExpandableLayout.ts.html +0 -736
  2765. package/coverage/lcov-report/useExpansionPanels.ts.html +0 -913
  2766. package/coverage/lcov-report/useHigherContrastChildren.tsx.html +0 -355
  2767. package/coverage/lcov-report/useLayoutTree.ts.html +0 -691
  2768. package/coverage/lcov-report/useLocalStorage.ts.html +0 -1828
  2769. package/coverage/lcov-report/useMinWidthMediaQuery.ts.html +0 -115
  2770. package/coverage/lcov-report/useRemoveToast.ts.html +0 -160
  2771. package/coverage/lcov-report/useResizeObserver.ts.html +0 -874
  2772. package/coverage/lcov-report/useResizingTextArea.ts.html +0 -523
  2773. package/coverage/lcov-report/useSkeletonPlaceholder.ts.html +0 -952
  2774. package/coverage/lcov-report/useTabList.ts.html +0 -736
  2775. package/coverage/lcov-report/useTabs.ts.html +0 -757
  2776. package/coverage/lcov-report/useThrottledFunction.ts.html +0 -475
  2777. package/coverage/lcov-report/useTooltip.ts.html +0 -2041
  2778. package/coverage/lcov-report/useTransition.ts.html +0 -934
  2779. package/coverage/lcov-report/useTree.ts.html +0 -286
  2780. package/coverage/lcov-report/useWindowSplitter.ts.html +0 -640
  2781. package/coverage/lcov-report/useWindowSplitterMaxValue.ts.html +0 -256
  2782. package/coverage/lcov-report/utils/RecursiveRender.tsx.html +0 -253
  2783. package/coverage/lcov-report/utils/RenderRecursively.tsx.html +0 -688
  2784. package/coverage/lcov-report/utils/alphaNumericSort.ts.html +0 -535
  2785. package/coverage/lcov-report/utils/caseInsensitiveFilter.ts.html +0 -397
  2786. package/coverage/lcov-report/utils/filters.ts.html +0 -463
  2787. package/coverage/lcov-report/utils/fuzzyFilter.ts.html +0 -241
  2788. package/coverage/lcov-report/utils/index.html +0 -116
  2789. package/coverage/lcov-report/utils/isElementVisible.ts.html +0 -214
  2790. package/coverage/lcov-report/utils/parseCssLengthUnit.ts.html +0 -280
  2791. package/coverage/lcov-report/utils/randomInt.ts.html +0 -148
  2792. package/coverage/lcov-report/utils/wait.ts.html +0 -139
  2793. package/coverage/lcov-report/utils.ts.html +0 -550
  2794. package/coverage/lcov-report/wait.ts.html +0 -139
  2795. package/coverage/lcov-report/window-splitter/WindowSplitter.tsx.html +0 -448
  2796. package/coverage/lcov-report/window-splitter/index.html +0 -116
  2797. package/coverage/lcov-report/window-splitter/useControlledWindowSplitter.ts.html +0 -562
  2798. package/coverage/lcov-report/window-splitter/useLocalStorageWindowSplitter.ts.html +0 -331
  2799. package/coverage/lcov-report/window-splitter/useWindowSplitter.ts.html +0 -640
  2800. package/coverage/lcov-report/window-splitter/useWindowSplitterDefault.ts.html +0 -466
  2801. package/coverage/lcov-report/window-splitter/useWindowSplitterOrig.ts.html +0 -598
  2802. package/coverage/lcov.info +0 -448
  2803. package/dist/button/buttonStyles.d.ts +0 -94
  2804. package/dist/button/buttonStyles.js +0 -56
  2805. package/dist/button/buttonStyles.js.map +0 -1
  2806. package/dist/button/buttonUnstyledStyles.d.ts +0 -10
  2807. package/dist/button/buttonUnstyledStyles.js +0 -11
  2808. package/dist/button/buttonUnstyledStyles.js.map +0 -1
  2809. package/dist/form/FileInput.d.ts +0 -105
  2810. package/dist/form/FileInput.js +0 -115
  2811. package/dist/form/FileInput.js.map +0 -1
  2812. package/dist/form/MenuItemCheckbox.d.ts +0 -34
  2813. package/dist/form/MenuItemCheckbox.js +0 -43
  2814. package/dist/form/MenuItemCheckbox.js.map +0 -1
  2815. package/dist/form/MenuItemFileInput.d.ts +0 -48
  2816. package/dist/form/MenuItemFileInput.js +0 -50
  2817. package/dist/form/MenuItemFileInput.js.map +0 -1
  2818. package/dist/form/MenuItemInputToggle.d.ts +0 -91
  2819. package/dist/form/MenuItemInputToggle.js +0 -113
  2820. package/dist/form/MenuItemInputToggle.js.map +0 -1
  2821. package/dist/form/MenuItemRadio.d.ts +0 -105
  2822. package/dist/form/MenuItemRadio.js +0 -115
  2823. package/dist/form/MenuItemRadio.js.map +0 -1
  2824. package/dist/form/MenuItemSwitch.d.ts +0 -33
  2825. package/dist/form/MenuItemSwitch.js +0 -42
  2826. package/dist/form/MenuItemSwitch.js.map +0 -1
  2827. package/dist/form/MenuItemTextField.d.ts +0 -27
  2828. package/dist/form/MenuItemTextField.js +0 -48
  2829. package/dist/form/MenuItemTextField.js.map +0 -1
  2830. package/dist/form/SelectValue.d.ts +0 -17
  2831. package/dist/form/SelectValue.js +0 -32
  2832. package/dist/form/SelectValue.js.map +0 -1
  2833. package/dist/form/TextFieldContainerStyles.d.ts +0 -34
  2834. package/dist/form/TextFieldContainerStyles.js +0 -49
  2835. package/dist/form/TextFieldContainerStyles.js.map +0 -1
  2836. package/dist/form/_form.scss +0 -2158
  2837. package/dist/form/fileUtils.d.ts +0 -455
  2838. package/dist/form/fileUtils.js +0 -351
  2839. package/dist/form/fileUtils.js.map +0 -1
  2840. package/dist/form/menuItemInputToggleStyles.d.ts +0 -39
  2841. package/dist/form/menuItemInputToggleStyles.js +0 -31
  2842. package/dist/form/menuItemInputToggleStyles.js.map +0 -1
  2843. package/dist/form/useFileUpload.d.ts +0 -149
  2844. package/dist/form/useFileUpload.js +0 -327
  2845. package/dist/form/useFileUpload.js.map +0 -1
  2846. package/dist/form/useListboxProvider.d.ts +0 -29
  2847. package/dist/form/useListboxProvider.js +0 -23
  2848. package/dist/form/useListboxProvider.js.map +0 -1
  2849. package/dist/icon/iconConfig.d.ts +0 -238
  2850. package/dist/icon/iconConfig.js +0 -175
  2851. package/dist/icon/iconConfig.js.map +0 -1
  2852. package/dist/index.d.ts +0 -329
  2853. package/dist/index.js +0 -330
  2854. package/dist/index.js.map +0 -1
  2855. package/dist/overlay/overlayStyles.d.ts +0 -33
  2856. package/dist/overlay/overlayStyles.js +0 -28
  2857. package/dist/overlay/overlayStyles.js.map +0 -1
  2858. package/dist/responsive-item/ResponsiveItemContainer.d.ts +0 -122
  2859. package/dist/responsive-item/ResponsiveItemContainer.js +0 -85
  2860. package/dist/responsive-item/ResponsiveItemContainer.js.map +0 -1
  2861. package/dist/responsive-item/styles.d.ts +0 -34
  2862. package/dist/responsive-item/styles.js +0 -17
  2863. package/dist/responsive-item/styles.js.map +0 -1
  2864. package/dist/test-utils/IntersectionObserver.js.map +0 -1
  2865. package/dist/test-utils/ResizeObserver.js +0 -252
  2866. package/dist/test-utils/ResizeObserver.js.map +0 -1
  2867. package/dist/test-utils/jest-setup.js +0 -13
  2868. package/dist/test-utils/jest-setup.js.map +0 -1
  2869. package/dist/test-utils/matchMedia.js +0 -114
  2870. package/dist/test-utils/matchMedia.js.map +0 -1
  2871. package/dist/test-utils/timers.js +0 -43
  2872. package/dist/test-utils/timers.js.map +0 -1
  2873. package/dist/theme/usePrefersColorScheme.d.ts +0 -7
  2874. package/dist/theme/usePrefersColorScheme.js +0 -12
  2875. package/dist/theme/usePrefersColorScheme.js.map +0 -1
  2876. package/dist/tooltip/tooltipStyles.d.ts +0 -15
  2877. package/dist/tooltip/tooltipStyles.js +0 -17
  2878. package/dist/tooltip/tooltipStyles.js.map +0 -1
  2879. package/dist/useAsyncAction.d.ts +0 -155
  2880. package/dist/useAsyncAction.js +0 -161
  2881. package/dist/useAsyncAction.js.map +0 -1
  2882. package/dist/useLocalStorage.d.ts +0 -373
  2883. package/dist/useLocalStorage.js +0 -381
  2884. package/dist/useLocalStorage.js.map +0 -1
  2885. package/dist/utils/filters.d.ts +0 -196
  2886. package/dist/utils/filters.js +0 -67
  2887. package/dist/utils/filters.js.map +0 -1
  2888. package/jest.config.ts +0 -64
  2889. package/jest.setup.ts +0 -3
  2890. package/scripts/copySassFiles.js +0 -70
  2891. package/src/__tests__/NoSsr.node.tsx +0 -26
  2892. package/src/__tests__/NoSsr.tsx +0 -89
  2893. package/src/__tests__/useAsyncAction.tsx +0 -124
  2894. package/src/__tests__/useDebouncedFunction.tsx +0 -67
  2895. package/src/__tests__/useDropzone.tsx +0 -131
  2896. package/src/__tests__/useElementSize.tsx +0 -181
  2897. package/src/__tests__/useEnsuredId.tsx +0 -25
  2898. package/src/__tests__/useEnsuredState.tsx +0 -74
  2899. package/src/__tests__/useHtmlClassName.tsx +0 -54
  2900. package/src/__tests__/useLocalStorage.tsx +0 -377
  2901. package/src/__tests__/useOrientation.node.tsx +0 -20
  2902. package/src/__tests__/useOrientation.tsx +0 -63
  2903. package/src/__tests__/useResizeObserver.tsx +0 -258
  2904. package/src/__tests__/useThrottledFunction.tsx +0 -172
  2905. package/src/__tests__/useToggle.tsx +0 -78
  2906. package/src/__tests__/useWindowSize.node.tsx +0 -56
  2907. package/src/__tests__/useWindowSize.tsx +0 -156
  2908. package/src/_box-shadows.scss +0 -216
  2909. package/src/_core.scss +0 -423
  2910. package/src/_utils.scss +0 -348
  2911. package/src/app-bar/__tests__/AppBar.tsx +0 -121
  2912. package/src/app-bar/__tests__/AppBarTitle.tsx +0 -39
  2913. package/src/app-bar/__tests__/__snapshots__/AppBar.tsx.snap +0 -186
  2914. package/src/app-bar/__tests__/__snapshots__/AppBarTitle.tsx.snap +0 -47
  2915. package/src/app-bar/_app-bar.scss +0 -248
  2916. package/src/avatar/__tests__/Avatar.tsx +0 -75
  2917. package/src/avatar/__tests__/__snapshots__/Avatar.tsx.snap +0 -73
  2918. package/src/avatar/_avatar.scss +0 -156
  2919. package/src/badge/__tests__/Badge.tsx +0 -42
  2920. package/src/badge/__tests__/__snapshots__/Badge.tsx.snap +0 -54
  2921. package/src/badge/_badge.scss +0 -145
  2922. package/src/box/_box.scss +0 -168
  2923. package/src/button/__tests__/AsyncButton.tsx +0 -211
  2924. package/src/button/__tests__/Button.tsx +0 -198
  2925. package/src/button/__tests__/ButtonUnstyled.tsx +0 -37
  2926. package/src/button/__tests__/TooltippedButton.tsx +0 -60
  2927. package/src/button/__tests__/__snapshots__/AsyncButton.tsx.snap +0 -418
  2928. package/src/button/__tests__/__snapshots__/Button.tsx.snap +0 -573
  2929. package/src/button/__tests__/__snapshots__/ButtonUnstyled.tsx.snap +0 -22
  2930. package/src/button/__tests__/__snapshots__/TooltippedButton.tsx.snap +0 -26
  2931. package/src/button/__tests__/__snapshots__/buttonStyles.ts.snap +0 -11
  2932. package/src/button/__tests__/buttonStyles.ts +0 -15
  2933. package/src/button/_button.scss +0 -330
  2934. package/src/button/buttonStyles.ts +0 -174
  2935. package/src/button/buttonUnstyledStyles.ts +0 -19
  2936. package/src/card/__tests__/Card.tsx +0 -37
  2937. package/src/card/__tests__/CardContent.tsx +0 -40
  2938. package/src/card/__tests__/CardFooter.tsx +0 -34
  2939. package/src/card/__tests__/CardHeader.tsx +0 -66
  2940. package/src/card/__tests__/CardSubtitle.tsx +0 -30
  2941. package/src/card/__tests__/CardTitle.tsx +0 -30
  2942. package/src/card/__tests__/ClickableCard.tsx +0 -66
  2943. package/src/card/__tests__/__snapshots__/Card.tsx.snap +0 -40
  2944. package/src/card/__tests__/__snapshots__/CardContent.tsx.snap +0 -50
  2945. package/src/card/__tests__/__snapshots__/CardFooter.tsx.snap +0 -30
  2946. package/src/card/__tests__/__snapshots__/CardHeader.tsx.snap +0 -74
  2947. package/src/card/__tests__/__snapshots__/CardSubtitle.tsx.snap +0 -18
  2948. package/src/card/__tests__/__snapshots__/CardTitle.tsx.snap +0 -18
  2949. package/src/card/__tests__/__snapshots__/ClickableCard.tsx.snap +0 -20
  2950. package/src/card/__tests__/__snapshots__/styles.ts.snap +0 -13
  2951. package/src/card/__tests__/styles.ts +0 -45
  2952. package/src/card/_card.scss +0 -189
  2953. package/src/chip/__tests__/Chip.tsx +0 -327
  2954. package/src/chip/__tests__/__snapshots__/Chip.tsx.snap +0 -597
  2955. package/src/chip/__tests__/__snapshots__/styles.ts.snap +0 -5
  2956. package/src/chip/__tests__/styles.ts +0 -14
  2957. package/src/chip/_chip.scss +0 -324
  2958. package/src/dialog/__tests__/Dialog.tsx +0 -316
  2959. package/src/dialog/__tests__/DialogContent.tsx +0 -53
  2960. package/src/dialog/__tests__/DialogFooter.tsx +0 -70
  2961. package/src/dialog/__tests__/DialogHeader.tsx +0 -37
  2962. package/src/dialog/__tests__/DialogTitle.tsx +0 -41
  2963. package/src/dialog/__tests__/__snapshots__/Dialog.tsx.snap +0 -84
  2964. package/src/dialog/__tests__/__snapshots__/DialogContent.tsx.snap +0 -36
  2965. package/src/dialog/__tests__/__snapshots__/DialogFooter.tsx.snap +0 -186
  2966. package/src/dialog/__tests__/__snapshots__/DialogHeader.tsx.snap +0 -18
  2967. package/src/dialog/__tests__/__snapshots__/DialogTitle.tsx.snap +0 -26
  2968. package/src/dialog/_dialog.scss +0 -273
  2969. package/src/divider/__tests__/Divider.tsx +0 -36
  2970. package/src/divider/__tests__/__snapshots__/Divider.tsx.snap +0 -26
  2971. package/src/divider/_divider.scss +0 -124
  2972. package/src/draggable/__tests__/__snapshots__/useDraggable.tsx.snap +0 -49
  2973. package/src/draggable/__tests__/useDraggable.tsx +0 -540
  2974. package/src/draggable/_draggable.scss +0 -29
  2975. package/src/expansion-panel/__tests__/ExpansionPanel.tsx +0 -290
  2976. package/src/expansion-panel/__tests__/__snapshots__/ExpansionPanel.tsx.snap +0 -197
  2977. package/src/expansion-panel/_expansion-panel.scss +0 -107
  2978. package/src/focus/__tests__/useFocusContainer.tsx +0 -280
  2979. package/src/form/FileInput.tsx +0 -218
  2980. package/src/form/MenuItemCheckbox.tsx +0 -46
  2981. package/src/form/MenuItemFileInput.tsx +0 -113
  2982. package/src/form/MenuItemInputToggle.tsx +0 -280
  2983. package/src/form/MenuItemRadio.tsx +0 -117
  2984. package/src/form/MenuItemSwitch.tsx +0 -42
  2985. package/src/form/MenuItemTextField.tsx +0 -68
  2986. package/src/form/SelectValue.tsx +0 -39
  2987. package/src/form/TextFieldContainerStyles.ts +0 -111
  2988. package/src/form/__tests__/Checkbox.tsx +0 -42
  2989. package/src/form/__tests__/Fieldset.tsx +0 -44
  2990. package/src/form/__tests__/FileInput.tsx +0 -120
  2991. package/src/form/__tests__/Label.tsx +0 -69
  2992. package/src/form/__tests__/Legend.tsx +0 -34
  2993. package/src/form/__tests__/MenuItemCheckbox.tsx +0 -53
  2994. package/src/form/__tests__/MenuItemRadio.tsx +0 -53
  2995. package/src/form/__tests__/Radio.tsx +0 -35
  2996. package/src/form/__tests__/Switch.tsx +0 -152
  2997. package/src/form/__tests__/__snapshots__/Checkbox.tsx.snap +0 -99
  2998. package/src/form/__tests__/__snapshots__/Fieldset.tsx.snap +0 -58
  2999. package/src/form/__tests__/__snapshots__/FileInput.tsx.snap +0 -612
  3000. package/src/form/__tests__/__snapshots__/Label.tsx.snap +0 -140
  3001. package/src/form/__tests__/__snapshots__/Legend.tsx.snap +0 -30
  3002. package/src/form/__tests__/__snapshots__/MenuItemCheckbox.tsx.snap +0 -96
  3003. package/src/form/__tests__/__snapshots__/MenuItemRadio.tsx.snap +0 -96
  3004. package/src/form/__tests__/__snapshots__/Radio.tsx.snap +0 -99
  3005. package/src/form/__tests__/__snapshots__/Switch.tsx.snap +0 -428
  3006. package/src/form/__tests__/__snapshots__/useCheckboxGroup.tsx.snap +0 -481
  3007. package/src/form/__tests__/__snapshots__/useRadioGroup.tsx.snap +0 -704
  3008. package/src/form/__tests__/useCheckboxGroup.tsx +0 -292
  3009. package/src/form/__tests__/useFileUpload.tsx +0 -289
  3010. package/src/form/__tests__/useRadioGroup.tsx +0 -227
  3011. package/src/form/__tests__/utils.ts +0 -247
  3012. package/src/form/_form.scss +0 -2158
  3013. package/src/form/fileUtils.ts +0 -690
  3014. package/src/form/menuItemInputToggleStyles.ts +0 -78
  3015. package/src/form/useFileUpload.ts +0 -539
  3016. package/src/form/useListboxProvider.ts +0 -43
  3017. package/src/icon/__tests__/FontIcon.tsx +0 -45
  3018. package/src/icon/__tests__/IconRotator.tsx +0 -120
  3019. package/src/icon/__tests__/MaterialIcon.tsx +0 -79
  3020. package/src/icon/__tests__/MaterialSymbol.tsx +0 -100
  3021. package/src/icon/__tests__/SVGIcon.tsx +0 -40
  3022. package/src/icon/__tests__/TextIconSpacing.tsx +0 -108
  3023. package/src/icon/__tests__/__snapshots__/FontIcon.tsx.snap +0 -35
  3024. package/src/icon/__tests__/__snapshots__/IconRotator.tsx.snap +0 -165
  3025. package/src/icon/__tests__/__snapshots__/MaterialIcon.tsx.snap +0 -82
  3026. package/src/icon/__tests__/__snapshots__/MaterialSymbol.tsx.snap +0 -42
  3027. package/src/icon/__tests__/__snapshots__/SVGIcon.tsx.snap +0 -47
  3028. package/src/icon/__tests__/__snapshots__/TextIconSpacing.tsx.snap +0 -101
  3029. package/src/icon/__tests__/__snapshots__/styles.ts.snap +0 -29
  3030. package/src/icon/__tests__/styles.ts +0 -28
  3031. package/src/icon/_icon.scss +0 -213
  3032. package/src/icon/iconConfig.tsx +0 -296
  3033. package/src/index.ts +0 -332
  3034. package/src/interaction/__tests__/UserInteractionModeProvider.tsx +0 -121
  3035. package/src/interaction/__tests__/__snapshots__/useHigherContrastChildren.tsx.snap +0 -79
  3036. package/src/interaction/__tests__/useHigherContrastChildren.tsx +0 -97
  3037. package/src/interaction/_interaction.scss +0 -436
  3038. package/src/layout/__tests__/LayoutAppBar.tsx +0 -94
  3039. package/src/layout/__tests__/LayoutNav.tsx +0 -78
  3040. package/src/layout/__tests__/LayoutWindowSplitter.tsx +0 -63
  3041. package/src/layout/__tests__/Main.tsx +0 -51
  3042. package/src/layout/__tests__/__snapshots__/LayoutAppBar.tsx.snap +0 -78
  3043. package/src/layout/__tests__/__snapshots__/LayoutNav.tsx.snap +0 -31
  3044. package/src/layout/__tests__/__snapshots__/LayoutWindowSplitter.tsx.snap +0 -60
  3045. package/src/layout/__tests__/__snapshots__/Main.tsx.snap +0 -32
  3046. package/src/layout/__tests__/__snapshots__/useExpandableLayout.tsx.snap +0 -116
  3047. package/src/layout/__tests__/__snapshots__/useLayoutTree.tsx.snap +0 -676
  3048. package/src/layout/__tests__/__snapshots__/useResizableLayout.tsx.snap +0 -95
  3049. package/src/layout/__tests__/__snapshots__/useTemporaryLayout.tsx.snap +0 -141
  3050. package/src/layout/__tests__/useExpandableLayout.tsx +0 -271
  3051. package/src/layout/__tests__/useLayoutTree.tsx +0 -212
  3052. package/src/layout/__tests__/useResizableLayout.tsx +0 -170
  3053. package/src/layout/__tests__/useTemporaryLayout.tsx +0 -109
  3054. package/src/layout/_layout.scss +0 -152
  3055. package/src/link/__tests__/Link.tsx +0 -31
  3056. package/src/link/__tests__/SkipToMainContent.tsx +0 -125
  3057. package/src/link/__tests__/__snapshots__/Link.tsx.snap +0 -20
  3058. package/src/link/__tests__/__snapshots__/SkipToMainContent.tsx.snap +0 -22
  3059. package/src/link/_link.scss +0 -149
  3060. package/src/list/__tests__/List.tsx +0 -58
  3061. package/src/list/__tests__/ListItem.tsx +0 -280
  3062. package/src/list/__tests__/ListItemLink.tsx +0 -89
  3063. package/src/list/__tests__/ListSubheader.tsx +0 -81
  3064. package/src/list/__tests__/__snapshots__/List.tsx.snap +0 -41
  3065. package/src/list/__tests__/__snapshots__/ListItem.tsx.snap +0 -414
  3066. package/src/list/__tests__/__snapshots__/ListItemLink.tsx.snap +0 -73
  3067. package/src/list/__tests__/__snapshots__/ListSubheader.tsx.snap +0 -99
  3068. package/src/list/__tests__/getListItemHeight.ts +0 -176
  3069. package/src/list/_list.scss +0 -322
  3070. package/src/media-queries/__tests__/AppSizeProvider.node.tsx +0 -37
  3071. package/src/media-queries/__tests__/AppSizeProvider.tsx +0 -119
  3072. package/src/media-queries/__tests__/useMediaQuery.node.tsx +0 -20
  3073. package/src/media-queries/__tests__/useMediaQuery.tsx +0 -59
  3074. package/src/media-queries/_media-queries.scss +0 -63
  3075. package/src/menu/__tests__/DropdownMenu.tsx +0 -627
  3076. package/src/menu/__tests__/MenuBar.tsx +0 -354
  3077. package/src/menu/__tests__/MenuVisibilityProvider.tsx +0 -34
  3078. package/src/menu/__tests__/__snapshots__/DropdownMenu.tsx.snap +0 -292
  3079. package/src/menu/__tests__/__snapshots__/MenuBar.tsx.snap +0 -87
  3080. package/src/menu/__tests__/utils.ts +0 -121
  3081. package/src/menu/_menu.scss +0 -116
  3082. package/src/movement/__tests__/findMatchIndex.ts +0 -244
  3083. package/src/movement/__tests__/utils.ts +0 -710
  3084. package/src/overlay/__tests__/Overlay.tsx +0 -198
  3085. package/src/overlay/__tests__/__snapshots__/Overlay.tsx.snap +0 -77
  3086. package/src/overlay/_overlay.scss +0 -74
  3087. package/src/overlay/overlayStyles.ts +0 -85
  3088. package/src/portal/__tests__/PortalContainerProvider.node.tsx +0 -26
  3089. package/src/portal/__tests__/PortalContainerProvider.tsx +0 -84
  3090. package/src/positioning/__tests__/__snapshots__/useFixedPositioning.tsx.snap +0 -119
  3091. package/src/positioning/__tests__/createHorizontalPosition.ts +0 -779
  3092. package/src/positioning/__tests__/createVerticalPosition.ts +0 -464
  3093. package/src/positioning/__tests__/useFixedPositioning.tsx +0 -219
  3094. package/src/positioning/__tests__/utils.ts +0 -1311
  3095. package/src/progress/__tests__/CircularProgress.tsx +0 -153
  3096. package/src/progress/__tests__/LinearProgress.tsx +0 -131
  3097. package/src/progress/__tests__/__snapshots__/CircularProgress.tsx.snap +0 -499
  3098. package/src/progress/__tests__/__snapshots__/LinearProgress.tsx.snap +0 -321
  3099. package/src/progress/__tests__/getProgressA11y.ts +0 -16
  3100. package/src/progress/_progress.scss +0 -577
  3101. package/src/responsive-item/ResponsiveItemContainer.tsx +0 -181
  3102. package/src/responsive-item/__tests__/ResponsiveItemContainer.tsx +0 -56
  3103. package/src/responsive-item/__tests__/ResponsiveItemOverlay.tsx +0 -66
  3104. package/src/responsive-item/__tests__/__snapshots__/ResponsiveItemContainer.tsx.snap +0 -85
  3105. package/src/responsive-item/__tests__/__snapshots__/ResponsiveItemOverlay.tsx.snap +0 -151
  3106. package/src/responsive-item/__tests__/__snapshots__/styles.ts.snap +0 -9
  3107. package/src/responsive-item/__tests__/styles.ts +0 -32
  3108. package/src/responsive-item/_responsive-item.scss +0 -196
  3109. package/src/responsive-item/styles.ts +0 -58
  3110. package/src/segmented-button/__tests__/SegmentedButton.tsx +0 -61
  3111. package/src/segmented-button/__tests__/SegmentedButtonContainer.tsx +0 -38
  3112. package/src/segmented-button/__tests__/__snapshots__/SegmentedButton.tsx.snap +0 -116
  3113. package/src/segmented-button/__tests__/__snapshots__/SegmentedButtonContainer.tsx.snap +0 -22
  3114. package/src/segmented-button/_segmented-button.scss +0 -208
  3115. package/src/sheet/_sheet.scss +0 -189
  3116. package/src/snackbar/ToastManager.tsx +0 -567
  3117. package/src/snackbar/__tests__/Snackbar.tsx +0 -85
  3118. package/src/snackbar/__tests__/Toast.tsx +0 -105
  3119. package/src/snackbar/__tests__/ToastActionButton.tsx +0 -112
  3120. package/src/snackbar/__tests__/ToastCloseButton.tsx +0 -140
  3121. package/src/snackbar/__tests__/ToastContent.tsx +0 -88
  3122. package/src/snackbar/__tests__/ToastManagerProvider.tsx +0 -818
  3123. package/src/snackbar/__tests__/__snapshots__/Snackbar.tsx.snap +0 -176
  3124. package/src/snackbar/__tests__/__snapshots__/Toast.tsx.snap +0 -52
  3125. package/src/snackbar/__tests__/__snapshots__/ToastActionButton.tsx.snap +0 -36
  3126. package/src/snackbar/__tests__/__snapshots__/ToastCloseButton.tsx.snap +0 -104
  3127. package/src/snackbar/__tests__/__snapshots__/ToastContent.tsx.snap +0 -26
  3128. package/src/snackbar/__tests__/__snapshots__/ToastManagerProvider.tsx.snap +0 -290
  3129. package/src/snackbar/_snackbar.scss +0 -259
  3130. package/src/suspense/__tests__/CircularProgressSuspense.tsx +0 -90
  3131. package/src/suspense/__tests__/NullSuspense.tsx +0 -46
  3132. package/src/suspense/__tests__/__snapshots__/CircularProgressSuspense.tsx.snap +0 -24
  3133. package/src/table/TableConfigurationProvider.tsx +0 -133
  3134. package/src/table/TableContainerProvider.tsx +0 -36
  3135. package/src/table/__tests__/Table.tsx +0 -314
  3136. package/src/table/__tests__/TableBody.tsx +0 -52
  3137. package/src/table/__tests__/TableCheckbox.tsx +0 -89
  3138. package/src/table/__tests__/TableContainer.tsx +0 -31
  3139. package/src/table/__tests__/TableRadio.tsx +0 -112
  3140. package/src/table/__tests__/TableRow.tsx +0 -63
  3141. package/src/table/__tests__/__snapshots__/Table.tsx.snap +0 -2426
  3142. package/src/table/__tests__/__snapshots__/TableBody.tsx.snap +0 -54
  3143. package/src/table/__tests__/__snapshots__/TableCheckbox.tsx.snap +0 -142
  3144. package/src/table/__tests__/__snapshots__/TableContainer.tsx.snap +0 -16
  3145. package/src/table/__tests__/__snapshots__/TableRadio.tsx.snap +0 -138
  3146. package/src/table/__tests__/__snapshots__/TableRow.tsx.snap +0 -56
  3147. package/src/table/__tests__/__snapshots__/tableContainerStyles.ts.snap +0 -3
  3148. package/src/table/__tests__/__snapshots__/tableRowStyles.ts.snap +0 -3
  3149. package/src/table/__tests__/__snapshots__/tableStyles.ts.snap +0 -3
  3150. package/src/table/__tests__/tableContainerStyles.ts +0 -8
  3151. package/src/table/__tests__/tableRowStyles.ts +0 -8
  3152. package/src/table/__tests__/tableStyles.ts +0 -8
  3153. package/src/table/_table.scss +0 -447
  3154. package/src/tabs/__tests__/Tab.tsx +0 -51
  3155. package/src/tabs/__tests__/TabList.tsx +0 -640
  3156. package/src/tabs/__tests__/__snapshots__/Tab.tsx.snap +0 -85
  3157. package/src/tabs/__tests__/__snapshots__/TabList.tsx.snap +0 -51
  3158. package/src/tabs/__tests__/useTabs.tsx +0 -212
  3159. package/src/tabs/_tabs.scss +0 -273
  3160. package/src/test-utils/IntersectionObserver.ts +0 -50
  3161. package/src/test-utils/README.md +0 -150
  3162. package/src/test-utils/ResizeObserver.ts +0 -273
  3163. package/src/test-utils/__tests__/ResizeObserver.ts +0 -171
  3164. package/src/test-utils/jest-setup.ts +0 -13
  3165. package/src/test-utils/matchMedia.ts +0 -198
  3166. package/src/test-utils/timers.ts +0 -46
  3167. package/src/theme/__tests__/LocalStorageColorSchemeProvider.tsx +0 -162
  3168. package/src/theme/__tests__/ThemeProvider.tsx +0 -90
  3169. package/src/theme/__tests__/__snapshots__/useCSSVariables.tsx.snap +0 -27
  3170. package/src/theme/__tests__/__snapshots__/useColorSchemeMetaTag.tsx.snap +0 -15
  3171. package/src/theme/__tests__/useCSSVariables.tsx +0 -177
  3172. package/src/theme/__tests__/useColorSchemeMetaTag.tsx +0 -36
  3173. package/src/theme/__tests__/utils.ts +0 -67
  3174. package/src/theme/_a11y.scss +0 -114
  3175. package/src/theme/_colors.scss +0 -1057
  3176. package/src/theme/_theme.scss +0 -519
  3177. package/src/theme/usePrefersColorScheme.ts +0 -12
  3178. package/src/tooltip/__tests__/Tooltip.tsx +0 -501
  3179. package/src/tooltip/__tests__/TooltipHoverModeProvider.tsx +0 -94
  3180. package/src/tooltip/__tests__/__snapshots__/Tooltip.tsx.snap +0 -34
  3181. package/src/tooltip/__tests__/utils.ts +0 -94
  3182. package/src/tooltip/_tooltip.scss +0 -155
  3183. package/src/tooltip/tooltipStyles.ts +0 -32
  3184. package/src/transition/__tests__/CSSTransition.tsx +0 -182
  3185. package/src/transition/__tests__/Collapse.tsx +0 -209
  3186. package/src/transition/__tests__/CrossFade.tsx +0 -227
  3187. package/src/transition/__tests__/ScaleTransition.tsx +0 -204
  3188. package/src/transition/__tests__/SkeletonPlaceholder.tsx +0 -72
  3189. package/src/transition/__tests__/__snapshots__/CSSTransition.tsx.snap +0 -145
  3190. package/src/transition/__tests__/__snapshots__/Collapse.tsx.snap +0 -224
  3191. package/src/transition/__tests__/__snapshots__/CrossFade.tsx.snap +0 -240
  3192. package/src/transition/__tests__/__snapshots__/ScaleTransition.tsx.snap +0 -239
  3193. package/src/transition/__tests__/__snapshots__/SkeletonPlaceholder.tsx.snap +0 -24
  3194. package/src/transition/__tests__/__snapshots__/useCollapseTransition.tsx.snap +0 -361
  3195. package/src/transition/__tests__/__snapshots__/useCrossFadeTransition.tsx.snap +0 -258
  3196. package/src/transition/__tests__/__snapshots__/useMaxWidthTransition.tsx.snap +0 -68
  3197. package/src/transition/__tests__/__snapshots__/useScaleTransition.tsx.snap +0 -209
  3198. package/src/transition/__tests__/useCSSTransition.tsx +0 -190
  3199. package/src/transition/__tests__/useCollapseTransition.tsx +0 -316
  3200. package/src/transition/__tests__/useCrossFadeTransition.tsx +0 -229
  3201. package/src/transition/__tests__/useMaxWidthTransition.tsx +0 -123
  3202. package/src/transition/__tests__/useScaleTransition.tsx +0 -212
  3203. package/src/transition/__tests__/useTransition.tsx +0 -569
  3204. package/src/transition/__tests__/utils.ts +0 -595
  3205. package/src/transition/_transition.scss +0 -365
  3206. package/src/tree/__tests__/Tree.tsx +0 -735
  3207. package/src/tree/__tests__/TreeGroup.tsx +0 -76
  3208. package/src/tree/__tests__/TreeItemExpander.tsx +0 -74
  3209. package/src/tree/__tests__/__snapshots__/Tree.tsx.snap +0 -3618
  3210. package/src/tree/__tests__/__snapshots__/TreeItemExpander.tsx.snap +0 -11
  3211. package/src/tree/__tests__/utils.ts +0 -98
  3212. package/src/tree/_tree.scss +0 -176
  3213. package/src/typography/__tests__/SrOnly.tsx +0 -43
  3214. package/src/typography/__tests__/TextContainer.tsx +0 -44
  3215. package/src/typography/__tests__/Typography.tsx +0 -86
  3216. package/src/typography/__tests__/WritingDirectionProvider.node.tsx +0 -27
  3217. package/src/typography/__tests__/WritingDirectionProvider.tsx +0 -119
  3218. package/src/typography/__tests__/__snapshots__/SrOnly.tsx.snap +0 -56
  3219. package/src/typography/__tests__/__snapshots__/TextContainer.tsx.snap +0 -29
  3220. package/src/typography/__tests__/__snapshots__/Typography.tsx.snap +0 -112
  3221. package/src/typography/_typography.scss +0 -399
  3222. package/src/useAsyncAction.ts +0 -200
  3223. package/src/useLocalStorage.ts +0 -589
  3224. package/src/utils/__tests__/RenderRecursively.tsx +0 -87
  3225. package/src/utils/__tests__/__snapshots__/RenderRecursively.tsx.snap +0 -80
  3226. package/src/utils/__tests__/applyRef.ts +0 -30
  3227. package/src/utils/__tests__/bem.ts +0 -54
  3228. package/src/utils/__tests__/filters.ts +0 -279
  3229. package/src/utils/__tests__/getMiddleOfRange.ts +0 -12
  3230. package/src/utils/__tests__/getPercentage.ts +0 -104
  3231. package/src/utils/__tests__/getRangeDefaultValue.ts +0 -47
  3232. package/src/utils/__tests__/getRangeSteps.ts +0 -14
  3233. package/src/utils/__tests__/loop.ts +0 -50
  3234. package/src/utils/__tests__/nearest.ts +0 -83
  3235. package/src/utils/__tests__/parseCssLengthUnit.node.ts +0 -28
  3236. package/src/utils/__tests__/parseCssLengthUnit.ts +0 -47
  3237. package/src/utils/__tests__/wait.ts +0 -12
  3238. package/src/utils/__tests__/withinRange.ts +0 -24
  3239. package/src/utils/filters.ts +0 -320
  3240. package/src/window-splitter/_window-splitter.scss +0 -143
  3241. package/tsconfig.json +0 -19
  3242. package/tsconfig.types.json +0 -12
  3243. /package/dist/test-utils/{IntersectionObserver.js → mocks/IntersectionObserver.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/snackbar/Toast.tsx"],"sourcesContent":["\"use client\";\nimport {\n forwardRef,\n isValidElement,\n type AriaRole,\n type HTMLAttributes,\n type ReactElement,\n type ReactNode,\n} from \"react\";\nimport { type ButtonProps } from \"../button/Button.js\";\nimport { type BackgroundColor } from \"../cssUtils.js\";\nimport {\n type CSSTransitionClassNames,\n type TransitionCallbacks,\n type TransitionTimeout,\n} from \"../transition/types.js\";\nimport { useScaleTransition } from \"../transition/useScaleTransition.js\";\nimport { type PropsWithRef } from \"../types.js\";\nimport { useEnsuredId } from \"../useEnsuredId.js\";\nimport { ToastActionButton } from \"./ToastActionButton.js\";\nimport { ToastCloseButton } from \"./ToastCloseButton.js\";\nimport { ToastContent, type ToastContentProps } from \"./ToastContent.js\";\nimport { toast } from \"./toastStyles.js\";\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface ConfigurableToastProps\n extends HTMLAttributes<HTMLDivElement>,\n TransitionCallbacks {\n /**\n * Note: this default value will only be generated in the `Toast` component.\n *\n * @defaultValue `\"toast-\" + useId()`\n */\n id?: string;\n\n /**\n * Note: This is set while creating the toast.\n *\n * @defaultValue `visibleTime === null ? \"alert\" : \"status\"`\n */\n role?: AriaRole;\n\n /**\n * @defaultValue `\"surface\"`\n */\n theme?: BackgroundColor;\n\n /**\n * Set this to `true` to stack the content above the {@link action}. It is not\n * recommended to enable this prop if the {@link closeButton} is enabled.\n *\n * @defaultValue `false`\n */\n stacked?: boolean;\n\n /**\n * If this is not provided, a `ResizeObserver` will be used to determine if\n * there are multiple lines of content.\n */\n multiline?: boolean;\n\n /**\n * When this is a string or React element, it will be rendered as the\n * `children` within a `Button`\n */\n action?: ButtonProps | ReactElement | string;\n\n /**\n * This can be used to replace the custom action button behavior.\n */\n actionButton?: ReactNode;\n\n /**\n * @defaultValue `getIcon(\"close\")`\n */\n closeIcon?: ReactNode;\n\n /**\n * Set this to `true` if a close button should be rendered to the right of the\n * `children`.\n *\n * @defaultValue `!!closeButtonProps`\n */\n closeButton?: boolean;\n\n /**\n * Use this prop to override most of the close button behavior. The\n */\n closeButtonProps?: ButtonProps;\n\n /**\n * Any additional props that should be provided to the `<div>` that surrounds\n * the toast `children`.\n */\n contentProps?: PropsWithRef<ToastContentProps, HTMLDivElement>;\n\n /**\n * Set this to `true` if the `children` for the toast should no longer be\n * wrapped in an additional `<div>` that applies some toast layout styles.\n * This should normally only be used for custom `Toast` implementations.\n *\n * @see the `Snackbar`'s `renderToast` prop for an example.\n */\n disableToastContent?: boolean;\n\n /**\n * The toast's transition timeout for entering and exiting. This is **not**\n * how long the toast should remain visible.\n *\n * @defaultValue `SCALE_TIMEOUT`\n */\n timeout?: TransitionTimeout;\n\n /**\n * The toast's transition class names for entering and exiting.\n *\n * @defaultValue `SCALE_CLASSNAMES`\n */\n classNames?: CSSTransitionClassNames;\n}\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface ToastProps extends ConfigurableToastProps {\n paused?: boolean;\n visible: boolean;\n}\n\n/**\n * **Client Component**\n *\n * This component is just used for toast styling and does not implement any of\n * the visibility behavior.\n *\n * @remarks \\@since 6.0.0\n */\nexport const Toast = forwardRef<HTMLDivElement, ToastProps>(\n function Toast(props, ref) {\n const {\n id: propId,\n className,\n timeout,\n classNames,\n theme = \"surface\",\n action: propAction,\n actionButton: propActionButton,\n paused,\n visible,\n closeIcon: propCloseIcon,\n closeButtonProps,\n closeButton = !!closeButtonProps,\n contentProps,\n disableToastContent,\n stacked,\n multiline,\n onEnter,\n onEntering,\n onEntered,\n onExit,\n onExiting,\n onExited,\n children,\n ...remaining\n } = props;\n const id = useEnsuredId(propId, \"toast\");\n\n let actionButton = propActionButton;\n if (propAction) {\n let overrides: ButtonProps = {};\n let buttonChildren: ReactNode;\n // have to use `any` to correctly filter out all react elements\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isValidElement<any>(propAction) || typeof propAction !== \"object\") {\n buttonChildren = propAction;\n } else {\n ({ children: buttonChildren, ...overrides } = propAction);\n }\n\n actionButton = (\n <ToastActionButton\n theme={theme === \"surface\" ? \"secondary\" : \"clear\"}\n reordered={stacked && closeButton}\n {...overrides}\n >\n {buttonChildren}\n </ToastActionButton>\n );\n }\n\n let closeIcon = propCloseIcon;\n if (typeof closeButtonProps?.children !== \"undefined\") {\n closeIcon = closeButtonProps.children;\n }\n\n const action = !!actionButton;\n const reordered = stacked && action && closeButton;\n const { elementProps, rendered } = useScaleTransition({\n appear: true,\n nodeRef: ref,\n className: toast({\n className,\n theme,\n action,\n paused,\n stacked,\n reordered,\n closeButton,\n }),\n timeout,\n classNames,\n onEnter,\n onEntering,\n onEntered,\n onExit,\n onExiting,\n onExited,\n temporary: true,\n transitionIn: visible,\n exitedHidden: true,\n });\n\n // this might get rid of the weird popping-back-in for a split second\n // that sometimes happens on mobile firefox\n if (!rendered) {\n return null;\n }\n\n return (\n <div {...remaining} {...elementProps} id={id}>\n <ToastContent\n action={action}\n stacked={stacked}\n multiline={multiline}\n closeButton={closeButton}\n disableWrapper={disableToastContent}\n {...contentProps}\n >\n {children}\n </ToastContent>\n {actionButton}\n {closeButton && (\n <ToastCloseButton reordered={reordered} {...closeButtonProps}>\n {closeIcon}\n </ToastCloseButton>\n )}\n </div>\n );\n }\n);\n"],"names":["forwardRef","isValidElement","useScaleTransition","useEnsuredId","ToastActionButton","ToastCloseButton","ToastContent","toast","Toast","props","ref","id","propId","className","timeout","classNames","theme","action","propAction","actionButton","propActionButton","paused","visible","closeIcon","propCloseIcon","closeButtonProps","closeButton","contentProps","disableToastContent","stacked","multiline","onEnter","onEntering","onEntered","onExit","onExiting","onExited","children","remaining","overrides","buttonChildren","reordered","elementProps","rendered","appear","nodeRef","temporary","transitionIn","exitedHidden","div","disableWrapper"],"mappings":"AAAA;;AACA,SACEA,UAAU,EACVC,cAAc,QAKT,QAAQ;AAQf,SAASC,kBAAkB,QAAQ,sCAAsC;AAEzE,SAASC,YAAY,QAAQ,qBAAqB;AAClD,SAASC,iBAAiB,QAAQ,yBAAyB;AAC3D,SAASC,gBAAgB,QAAQ,wBAAwB;AACzD,SAASC,YAAY,QAAgC,oBAAoB;AACzE,SAASC,KAAK,QAAQ,mBAAmB;AA6GzC;;;;;;;CAOC,GACD,OAAO,MAAMC,sBAAQR,WACnB,SAASQ,MAAMC,KAAK,EAAEC,GAAG;IACvB,MAAM,EACJC,IAAIC,MAAM,EACVC,SAAS,EACTC,OAAO,EACPC,UAAU,EACVC,QAAQ,SAAS,EACjBC,QAAQC,UAAU,EAClBC,cAAcC,gBAAgB,EAC9BC,MAAM,EACNC,OAAO,EACPC,WAAWC,aAAa,EACxBC,gBAAgB,EAChBC,cAAc,CAAC,CAACD,gBAAgB,EAChCE,YAAY,EACZC,mBAAmB,EACnBC,OAAO,EACPC,SAAS,EACTC,OAAO,EACPC,UAAU,EACVC,SAAS,EACTC,MAAM,EACNC,SAAS,EACTC,QAAQ,EACRC,QAAQ,EACR,GAAGC,WACJ,GAAG7B;IACJ,MAAME,KAAKR,aAAaS,QAAQ;IAEhC,IAAIO,eAAeC;IACnB,IAAIF,YAAY;QACd,IAAIqB,YAAyB,CAAC;QAC9B,IAAIC;QACJ,+DAA+D;QAC/D,8DAA8D;QAC9D,kBAAIvC,eAAoBiB,eAAe,OAAOA,eAAe,UAAU;YACrEsB,iBAAiBtB;QACnB,OAAO;YACJ,CAAA,EAAEmB,UAAUG,cAAc,EAAE,GAAGD,WAAW,GAAGrB,UAAS;QACzD;QAEAC,6BACE,KAACf;YACCY,OAAOA,UAAU,YAAY,cAAc;YAC3CyB,WAAWZ,WAAWH;YACrB,GAAGa,SAAS;sBAEZC;;IAGP;IAEA,IAAIjB,YAAYC;IAChB,IAAI,OAAOC,kBAAkBY,aAAa,aAAa;QACrDd,YAAYE,iBAAiBY,QAAQ;IACvC;IAEA,MAAMpB,SAAS,CAAC,CAACE;IACjB,MAAMsB,YAAYZ,WAAWZ,UAAUS;IACvC,MAAM,EAAEgB,YAAY,EAAEC,QAAQ,EAAE,GAAGzC,mBAAmB;QACpD0C,QAAQ;QACRC,SAASnC;QACTG,WAAWN,MAAM;YACfM;YACAG;YACAC;YACAI;YACAQ;YACAY;YACAf;QACF;QACAZ;QACAC;QACAgB;QACAC;QACAC;QACAC;QACAC;QACAC;QACAU,WAAW;QACXC,cAAczB;QACd0B,cAAc;IAChB;IAEA,qEAAqE;IACrE,2CAA2C;IAC3C,IAAI,CAACL,UAAU;QACb,OAAO;IACT;IAEA,qBACE,MAACM;QAAK,GAAGX,SAAS;QAAG,GAAGI,YAAY;QAAE/B,IAAIA;;0BACxC,KAACL;gBACCW,QAAQA;gBACRY,SAASA;gBACTC,WAAWA;gBACXJ,aAAaA;gBACbwB,gBAAgBtB;gBACf,GAAGD,YAAY;0BAEfU;;YAEFlB;YACAO,6BACC,KAACrB;gBAAiBoC,WAAWA;gBAAY,GAAGhB,gBAAgB;0BACzDF;;;;AAKX,GACA"}
1
+ {"version":3,"sources":["../../src/snackbar/Toast.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n type AriaRole,\n type HTMLAttributes,\n type ReactElement,\n type ReactNode,\n forwardRef,\n isValidElement,\n} from \"react\";\n\nimport { type ButtonProps } from \"../button/Button.js\";\nimport { type BackgroundColor } from \"../cssUtils.js\";\nimport {\n type CSSTransitionClassNames,\n type TransitionCallbacks,\n type TransitionTimeout,\n} from \"../transition/types.js\";\nimport { useScaleTransition } from \"../transition/useScaleTransition.js\";\nimport { type PropsWithRef } from \"../types.js\";\nimport { useEnsuredId } from \"../useEnsuredId.js\";\nimport { ToastActionButton } from \"./ToastActionButton.js\";\nimport { ToastCloseButton } from \"./ToastCloseButton.js\";\nimport { ToastContent, type ToastContentProps } from \"./ToastContent.js\";\nimport { toast } from \"./toastStyles.js\";\n\ndeclare module \"react\" {\n interface CSSProperties {\n \"--rmd-toast-color\"?: string;\n \"--rmd-toast-background-color\"?: string;\n \"--rmd-toast-offset\"?: string | number;\n }\n}\n\n/**\n * @since 6.0.0\n */\nexport interface ConfigurableToastProps\n extends HTMLAttributes<HTMLDivElement>,\n TransitionCallbacks {\n /**\n * Note: this default value will only be generated in the `Toast` component.\n *\n * @defaultValue `\"toast-\" + useId()`\n */\n id?: string;\n\n /**\n * Note: This is set while creating the toast.\n *\n * @defaultValue `visibleTime === null ? \"alert\" : \"status\"`\n */\n role?: AriaRole;\n\n /**\n * @defaultValue `\"surface\"`\n */\n theme?: BackgroundColor;\n\n /**\n * Set this to `true` to stack the content above the {@link action}. It is not\n * recommended to enable this prop if the {@link closeButton} is enabled.\n *\n * @defaultValue `false`\n */\n stacked?: boolean;\n\n /**\n * If this is not provided, a `ResizeObserver` will be used to determine if\n * there are multiple lines of content.\n */\n multiline?: boolean;\n\n /**\n * When this is a string or React element, it will be rendered as the\n * `children` within a `Button`\n */\n action?: ButtonProps | ReactElement | string;\n\n /**\n * This can be used to replace the custom action button behavior.\n */\n actionButton?: ReactNode;\n\n /**\n * @defaultValue `getIcon(\"close\")`\n */\n closeIcon?: ReactNode;\n\n /**\n * Set this to `true` if a close button should be rendered to the right of the\n * `children`.\n *\n * @defaultValue `!!closeButtonProps`\n */\n closeButton?: boolean;\n\n /**\n * Use this prop to override most of the close button behavior. The\n */\n closeButtonProps?: ButtonProps;\n\n /**\n * Any additional props that should be provided to the `<div>` that surrounds\n * the toast `children`.\n */\n contentProps?: PropsWithRef<ToastContentProps, HTMLDivElement>;\n\n /**\n * Set this to `true` if the `children` for the toast should no longer be\n * wrapped in an additional `<div>` that applies some toast layout styles.\n * This should normally only be used for custom `Toast` implementations.\n *\n * @see the `Snackbar`'s `renderToast` prop for an example.\n */\n disableToastContent?: boolean;\n\n /**\n * The toast's transition timeout for entering and exiting. This is **not**\n * how long the toast should remain visible.\n *\n * @defaultValue `SCALE_TIMEOUT`\n */\n timeout?: TransitionTimeout;\n\n /**\n * The toast's transition class names for entering and exiting.\n *\n * @defaultValue `SCALE_CLASSNAMES`\n */\n classNames?: CSSTransitionClassNames;\n}\n\n/**\n * @since 6.0.0\n */\nexport interface ToastProps extends ConfigurableToastProps {\n paused?: boolean;\n visible: boolean;\n}\n\n/**\n * **Client Component**\n *\n * This component is just used for toast styling and does not implement any of\n * the visibility behavior.\n *\n * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}\n * @since 6.0.0\n */\nexport const Toast = forwardRef<HTMLDivElement, ToastProps>(\n function Toast(props, ref) {\n const {\n id: propId,\n className,\n timeout,\n classNames,\n theme = \"surface\",\n action: propAction,\n actionButton: propActionButton,\n paused,\n visible,\n closeIcon: propCloseIcon,\n closeButtonProps,\n closeButton = !!closeButtonProps,\n contentProps,\n disableToastContent,\n stacked,\n multiline,\n onEnter,\n onEntering,\n onEntered,\n onExit,\n onExiting,\n onExited,\n children,\n ...remaining\n } = props;\n const id = useEnsuredId(propId, \"toast\");\n\n let actionButton = propActionButton;\n if (propAction) {\n let overrides: ButtonProps = {};\n let buttonChildren: ReactNode;\n // have to use `any` to correctly filter out all react elements\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isValidElement<any>(propAction) || typeof propAction !== \"object\") {\n buttonChildren = propAction;\n } else {\n ({ children: buttonChildren, ...overrides } = propAction);\n }\n\n actionButton = (\n <ToastActionButton\n theme={theme === \"surface\" ? \"secondary\" : \"clear\"}\n reordered={stacked && closeButton}\n {...overrides}\n >\n {buttonChildren}\n </ToastActionButton>\n );\n }\n\n let closeIcon = propCloseIcon;\n if (typeof closeButtonProps?.children !== \"undefined\") {\n closeIcon = closeButtonProps.children;\n }\n\n const action = !!actionButton;\n const reordered = stacked && action && closeButton;\n const { elementProps, rendered } = useScaleTransition({\n appear: true,\n nodeRef: ref,\n className: toast({\n className,\n theme,\n action,\n paused,\n stacked,\n reordered,\n closeButton,\n }),\n timeout,\n classNames,\n onEnter,\n onEntering,\n onEntered,\n onExit,\n onExiting,\n onExited,\n temporary: true,\n transitionIn: visible,\n exitedHidden: true,\n });\n\n // this might get rid of the weird popping-back-in for a split second\n // that sometimes happens on mobile firefox\n if (!rendered) {\n return null;\n }\n\n return (\n <div {...remaining} {...elementProps} id={id}>\n <ToastContent\n action={action}\n stacked={stacked}\n multiline={multiline}\n closeButton={closeButton}\n disableWrapper={disableToastContent}\n {...contentProps}\n >\n {children}\n </ToastContent>\n {actionButton}\n {closeButton && (\n <ToastCloseButton reordered={reordered} {...closeButtonProps}>\n {closeIcon}\n </ToastCloseButton>\n )}\n </div>\n );\n }\n);\n"],"names":["forwardRef","isValidElement","useScaleTransition","useEnsuredId","ToastActionButton","ToastCloseButton","ToastContent","toast","Toast","props","ref","id","propId","className","timeout","classNames","theme","action","propAction","actionButton","propActionButton","paused","visible","closeIcon","propCloseIcon","closeButtonProps","closeButton","contentProps","disableToastContent","stacked","multiline","onEnter","onEntering","onEntered","onExit","onExiting","onExited","children","remaining","overrides","buttonChildren","reordered","elementProps","rendered","appear","nodeRef","temporary","transitionIn","exitedHidden","div","disableWrapper"],"mappings":"AAAA;;AAEA,SAKEA,UAAU,EACVC,cAAc,QACT,QAAQ;AASf,SAASC,kBAAkB,QAAQ,sCAAsC;AAEzE,SAASC,YAAY,QAAQ,qBAAqB;AAClD,SAASC,iBAAiB,QAAQ,yBAAyB;AAC3D,SAASC,gBAAgB,QAAQ,wBAAwB;AACzD,SAASC,YAAY,QAAgC,oBAAoB;AACzE,SAASC,KAAK,QAAQ,mBAAmB;AAqHzC;;;;;;;;CAQC,GACD,OAAO,MAAMC,sBAAQR,WACnB,SAASQ,MAAMC,KAAK,EAAEC,GAAG;IACvB,MAAM,EACJC,IAAIC,MAAM,EACVC,SAAS,EACTC,OAAO,EACPC,UAAU,EACVC,QAAQ,SAAS,EACjBC,QAAQC,UAAU,EAClBC,cAAcC,gBAAgB,EAC9BC,MAAM,EACNC,OAAO,EACPC,WAAWC,aAAa,EACxBC,gBAAgB,EAChBC,cAAc,CAAC,CAACD,gBAAgB,EAChCE,YAAY,EACZC,mBAAmB,EACnBC,OAAO,EACPC,SAAS,EACTC,OAAO,EACPC,UAAU,EACVC,SAAS,EACTC,MAAM,EACNC,SAAS,EACTC,QAAQ,EACRC,QAAQ,EACR,GAAGC,WACJ,GAAG7B;IACJ,MAAME,KAAKR,aAAaS,QAAQ;IAEhC,IAAIO,eAAeC;IACnB,IAAIF,YAAY;QACd,IAAIqB,YAAyB,CAAC;QAC9B,IAAIC;QACJ,+DAA+D;QAC/D,8DAA8D;QAC9D,kBAAIvC,eAAoBiB,eAAe,OAAOA,eAAe,UAAU;YACrEsB,iBAAiBtB;QACnB,OAAO;YACJ,CAAA,EAAEmB,UAAUG,cAAc,EAAE,GAAGD,WAAW,GAAGrB,UAAS;QACzD;QAEAC,6BACE,KAACf;YACCY,OAAOA,UAAU,YAAY,cAAc;YAC3CyB,WAAWZ,WAAWH;YACrB,GAAGa,SAAS;sBAEZC;;IAGP;IAEA,IAAIjB,YAAYC;IAChB,IAAI,OAAOC,kBAAkBY,aAAa,aAAa;QACrDd,YAAYE,iBAAiBY,QAAQ;IACvC;IAEA,MAAMpB,SAAS,CAAC,CAACE;IACjB,MAAMsB,YAAYZ,WAAWZ,UAAUS;IACvC,MAAM,EAAEgB,YAAY,EAAEC,QAAQ,EAAE,GAAGzC,mBAAmB;QACpD0C,QAAQ;QACRC,SAASnC;QACTG,WAAWN,MAAM;YACfM;YACAG;YACAC;YACAI;YACAQ;YACAY;YACAf;QACF;QACAZ;QACAC;QACAgB;QACAC;QACAC;QACAC;QACAC;QACAC;QACAU,WAAW;QACXC,cAAczB;QACd0B,cAAc;IAChB;IAEA,qEAAqE;IACrE,2CAA2C;IAC3C,IAAI,CAACL,UAAU;QACb,OAAO;IACT;IAEA,qBACE,MAACM;QAAK,GAAGX,SAAS;QAAG,GAAGI,YAAY;QAAE/B,IAAIA;;0BACxC,KAACL;gBACCW,QAAQA;gBACRY,SAASA;gBACTC,WAAWA;gBACXJ,aAAaA;gBACbwB,gBAAgBtB;gBACf,GAAGD,YAAY;0BAEfU;;YAEFlB;YACAO,6BACC,KAACrB;gBAAiBoC,WAAWA;gBAAY,GAAGhB,gBAAgB;0BACzDF;;;;AAKX,GACA"}
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { type ButtonProps } from "../button/Button.js";
3
- import { type ButtonTheme } from "../button/buttonStyles.js";
2
+ import { type ButtonTheme } from "../button/styles.js";
4
3
  /**
5
- * @remarks \@since 6.0.0
4
+ * @since 6.0.0
6
5
  */
7
6
  export interface ToastActionButtonProps extends ButtonProps {
8
7
  /** @defaultValue `"secondary"` */
@@ -22,6 +21,7 @@ export interface ToastActionButtonProps extends ButtonProps {
22
21
  * This button will automatically close the toast when clicked unless
23
22
  * `event.stopPropagation()` is called from the `onClick` prop.
24
23
  *
25
- * @remarks \@since 6.0.0
24
+ * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}
25
+ * @since 6.0.0
26
26
  */
27
27
  export declare const ToastActionButton: import("react").ForwardRefExoticComponent<ToastActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -15,7 +15,8 @@ const noop = ()=>{
15
15
  * This button will automatically close the toast when clicked unless
16
16
  * `event.stopPropagation()` is called from the `onClick` prop.
17
17
  *
18
- * @remarks \@since 6.0.0
18
+ * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}
19
+ * @since 6.0.0
19
20
  */ export const ToastActionButton = /*#__PURE__*/ forwardRef(function ToastActionButton(props, ref) {
20
21
  const { className, children, theme = "secondary", onClick = noop, reordered, ...remaining } = props;
21
22
  const { removeToast } = useCurrentToastActions();
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/snackbar/ToastActionButton.tsx"],"sourcesContent":["\"use client\";\nimport { cnb } from \"cnbuilder\";\nimport { forwardRef } from \"react\";\nimport { Button, type ButtonProps } from \"../button/Button.js\";\nimport { type ButtonTheme } from \"../button/buttonStyles.js\";\nimport { bem } from \"../utils/bem.js\";\nimport { useCurrentToastActions } from \"./useCurrentToastActions.js\";\n\nconst styles = bem(\"rmd-toast-action\");\nconst noop = (): void => {\n // do nothing\n};\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface ToastActionButtonProps extends ButtonProps {\n /** @defaultValue `\"secondary\"` */\n theme?: ButtonTheme;\n\n /**\n * Set this to `true` when there is a close button visible and the content is\n * stacked. This will update the styles so the button renders in the bottom\n * right below the content and close button.\n *\n * @defaultValue `false`\n */\n reordered?: boolean;\n}\n\n/**\n * **Client Component**\n *\n * This button will automatically close the toast when clicked unless\n * `event.stopPropagation()` is called from the `onClick` prop.\n *\n * @remarks \\@since 6.0.0\n */\nexport const ToastActionButton = forwardRef<\n HTMLButtonElement,\n ToastActionButtonProps\n>(function ToastActionButton(props, ref) {\n const {\n className,\n children,\n theme = \"secondary\",\n onClick = noop,\n reordered,\n ...remaining\n } = props;\n const { removeToast } = useCurrentToastActions();\n\n return (\n <Button\n {...remaining}\n ref={ref}\n onClick={(event) => {\n onClick(event);\n if (event.isPropagationStopped()) {\n return;\n }\n\n removeToast(true);\n }}\n theme={theme}\n className={cnb(styles({ reordered }), className)}\n >\n {children}\n </Button>\n );\n});\n"],"names":["cnb","forwardRef","Button","bem","useCurrentToastActions","styles","noop","ToastActionButton","props","ref","className","children","theme","onClick","reordered","remaining","removeToast","event","isPropagationStopped"],"mappings":"AAAA;;AACA,SAASA,GAAG,QAAQ,YAAY;AAChC,SAASC,UAAU,QAAQ,QAAQ;AACnC,SAASC,MAAM,QAA0B,sBAAsB;AAE/D,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,sBAAsB,QAAQ,8BAA8B;AAErE,MAAMC,SAASF,IAAI;AACnB,MAAMG,OAAO;AACX,aAAa;AACf;AAmBA;;;;;;;CAOC,GACD,OAAO,MAAMC,kCAAoBN,WAG/B,SAASM,kBAAkBC,KAAK,EAAEC,GAAG;IACrC,MAAM,EACJC,SAAS,EACTC,QAAQ,EACRC,QAAQ,WAAW,EACnBC,UAAUP,IAAI,EACdQ,SAAS,EACT,GAAGC,WACJ,GAAGP;IACJ,MAAM,EAAEQ,WAAW,EAAE,GAAGZ;IAExB,qBACE,KAACF;QACE,GAAGa,SAAS;QACbN,KAAKA;QACLI,SAAS,CAACI;YACRJ,QAAQI;YACR,IAAIA,MAAMC,oBAAoB,IAAI;gBAChC;YACF;YAEAF,YAAY;QACd;QACAJ,OAAOA;QACPF,WAAWV,IAAIK,OAAO;YAAES;QAAU,IAAIJ;kBAErCC;;AAGP,GAAG"}
1
+ {"version":3,"sources":["../../src/snackbar/ToastActionButton.tsx"],"sourcesContent":["\"use client\";\n\nimport { cnb } from \"cnbuilder\";\nimport { forwardRef } from \"react\";\n\nimport { Button, type ButtonProps } from \"../button/Button.js\";\nimport { type ButtonTheme } from \"../button/styles.js\";\nimport { bem } from \"../utils/bem.js\";\nimport { useCurrentToastActions } from \"./useCurrentToastActions.js\";\n\nconst styles = bem(\"rmd-toast-action\");\nconst noop = (): void => {\n // do nothing\n};\n\n/**\n * @since 6.0.0\n */\nexport interface ToastActionButtonProps extends ButtonProps {\n /** @defaultValue `\"secondary\"` */\n theme?: ButtonTheme;\n\n /**\n * Set this to `true` when there is a close button visible and the content is\n * stacked. This will update the styles so the button renders in the bottom\n * right below the content and close button.\n *\n * @defaultValue `false`\n */\n reordered?: boolean;\n}\n\n/**\n * **Client Component**\n *\n * This button will automatically close the toast when clicked unless\n * `event.stopPropagation()` is called from the `onClick` prop.\n *\n * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}\n * @since 6.0.0\n */\nexport const ToastActionButton = forwardRef<\n HTMLButtonElement,\n ToastActionButtonProps\n>(function ToastActionButton(props, ref) {\n const {\n className,\n children,\n theme = \"secondary\",\n onClick = noop,\n reordered,\n ...remaining\n } = props;\n const { removeToast } = useCurrentToastActions();\n\n return (\n <Button\n {...remaining}\n ref={ref}\n onClick={(event) => {\n onClick(event);\n if (event.isPropagationStopped()) {\n return;\n }\n\n removeToast(true);\n }}\n theme={theme}\n className={cnb(styles({ reordered }), className)}\n >\n {children}\n </Button>\n );\n});\n"],"names":["cnb","forwardRef","Button","bem","useCurrentToastActions","styles","noop","ToastActionButton","props","ref","className","children","theme","onClick","reordered","remaining","removeToast","event","isPropagationStopped"],"mappings":"AAAA;;AAEA,SAASA,GAAG,QAAQ,YAAY;AAChC,SAASC,UAAU,QAAQ,QAAQ;AAEnC,SAASC,MAAM,QAA0B,sBAAsB;AAE/D,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,sBAAsB,QAAQ,8BAA8B;AAErE,MAAMC,SAASF,IAAI;AACnB,MAAMG,OAAO;AACX,aAAa;AACf;AAmBA;;;;;;;;CAQC,GACD,OAAO,MAAMC,kCAAoBN,WAG/B,SAASM,kBAAkBC,KAAK,EAAEC,GAAG;IACrC,MAAM,EACJC,SAAS,EACTC,QAAQ,EACRC,QAAQ,WAAW,EACnBC,UAAUP,IAAI,EACdQ,SAAS,EACT,GAAGC,WACJ,GAAGP;IACJ,MAAM,EAAEQ,WAAW,EAAE,GAAGZ;IAExB,qBACE,KAACF;QACE,GAAGa,SAAS;QACbN,KAAKA;QACLI,SAAS,CAACI;YACRJ,QAAQI;YACR,IAAIA,MAAMC,oBAAoB,IAAI;gBAChC;YACF;YAEAF,YAAY;QACd;QACAJ,OAAOA;QACPF,WAAWV,IAAIK,OAAO;YAAES;QAAU,IAAIJ;kBAErCC;;AAGP,GAAG"}
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { type ButtonProps } from "../button/Button.js";
3
- import { type ButtonType } from "../button/buttonStyles.js";
2
+ import { type ButtonType } from "../button/styles.js";
4
3
  /**
5
- * @remarks \@since 6.0.0
4
+ * @since 6.0.0
6
5
  */
7
6
  export interface ToastCloseButtonProps extends ButtonProps {
8
7
  /**
@@ -29,6 +28,7 @@ export interface ToastCloseButtonProps extends ButtonProps {
29
28
  * This button will automatically close the toast when clicked unless
30
29
  * `event.stopPropagation()` is called from the `onClick` prop.
31
30
  *
32
- * @remarks \@since 6.0.0
31
+ * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}
32
+ * @since 6.0.0
33
33
  */
34
34
  export declare const ToastCloseButton: import("react").ForwardRefExoticComponent<ToastCloseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { cnb } from "cnbuilder";
4
4
  import { forwardRef } from "react";
5
5
  import { Button } from "../button/Button.js";
6
- import { getIcon } from "../icon/iconConfig.js";
6
+ import { getIcon } from "../icon/config.js";
7
7
  import { bem } from "../utils/bem.js";
8
8
  import { useCurrentToastActions } from "./useCurrentToastActions.js";
9
9
  const styles = bem("rmd-toast-x");
@@ -16,7 +16,8 @@ const noop = ()=>{
16
16
  * This button will automatically close the toast when clicked unless
17
17
  * `event.stopPropagation()` is called from the `onClick` prop.
18
18
  *
19
- * @remarks \@since 6.0.0
19
+ * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}
20
+ * @since 6.0.0
20
21
  */ export const ToastCloseButton = /*#__PURE__*/ forwardRef(function ToastCloseButton(props, ref) {
21
22
  const { buttonType = "icon-square", "aria-labelledby": ariaLabelledBy, "aria-label": ariaLabel = buttonType !== "text" && !ariaLabelledBy ? "Close" : undefined, children: propChildren, className, onClick = noop, reordered, ...remaining } = props;
22
23
  const children = getIcon("close", propChildren);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/snackbar/ToastCloseButton.tsx"],"sourcesContent":["\"use client\";\nimport { cnb } from \"cnbuilder\";\nimport { forwardRef } from \"react\";\nimport { Button, type ButtonProps } from \"../button/Button.js\";\nimport { type ButtonType } from \"../button/buttonStyles.js\";\nimport { getIcon } from \"../icon/iconConfig.js\";\nimport { bem } from \"../utils/bem.js\";\nimport { useCurrentToastActions } from \"./useCurrentToastActions.js\";\n\nconst styles = bem(\"rmd-toast-x\");\nconst noop = (): void => {\n // do nothing\n};\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface ToastCloseButtonProps extends ButtonProps {\n /**\n * Note: This default value will only be used if the {@link buttonType} is not\n * `\"text\"` and an `aria-labelledby` is not provided.\n *\n * @defaultValue `\"Close\"`\n */\n \"aria-label\"?: string;\n\n /** @defaultValue `\"icon-square\"` */\n buttonType?: ButtonType;\n\n /**\n * Set this to `true` when there is a close button visible and the content is\n * stacked. This will update the styles so the button renders next to the\n * content and above the action button.\n *\n * @defaultValue `false`\n */\n reordered?: boolean;\n}\n\n/**\n * **Client Component**\n *\n * This button will automatically close the toast when clicked unless\n * `event.stopPropagation()` is called from the `onClick` prop.\n *\n * @remarks \\@since 6.0.0\n */\nexport const ToastCloseButton = forwardRef<\n HTMLButtonElement,\n ToastCloseButtonProps\n>(function ToastCloseButton(props, ref) {\n const {\n buttonType = \"icon-square\",\n \"aria-labelledby\": ariaLabelledBy,\n \"aria-label\": ariaLabel = buttonType !== \"text\" && !ariaLabelledBy\n ? \"Close\"\n : undefined,\n children: propChildren,\n className,\n onClick = noop,\n reordered,\n ...remaining\n } = props;\n\n const children = getIcon(\"close\", propChildren);\n const { removeToast } = useCurrentToastActions();\n\n return (\n <Button\n {...remaining}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n ref={ref}\n onClick={(event) => {\n onClick(event);\n if (event.isPropagationStopped()) {\n return;\n }\n\n removeToast(true);\n }}\n className={cnb(styles({ reordered }), className)}\n buttonType={buttonType}\n >\n {children}\n </Button>\n );\n});\n"],"names":["cnb","forwardRef","Button","getIcon","bem","useCurrentToastActions","styles","noop","ToastCloseButton","props","ref","buttonType","ariaLabelledBy","ariaLabel","undefined","children","propChildren","className","onClick","reordered","remaining","removeToast","aria-label","aria-labelledby","event","isPropagationStopped"],"mappings":"AAAA;;AACA,SAASA,GAAG,QAAQ,YAAY;AAChC,SAASC,UAAU,QAAQ,QAAQ;AACnC,SAASC,MAAM,QAA0B,sBAAsB;AAE/D,SAASC,OAAO,QAAQ,wBAAwB;AAChD,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,sBAAsB,QAAQ,8BAA8B;AAErE,MAAMC,SAASF,IAAI;AACnB,MAAMG,OAAO;AACX,aAAa;AACf;AA2BA;;;;;;;CAOC,GACD,OAAO,MAAMC,iCAAmBP,WAG9B,SAASO,iBAAiBC,KAAK,EAAEC,GAAG;IACpC,MAAM,EACJC,aAAa,aAAa,EAC1B,mBAAmBC,cAAc,EACjC,cAAcC,YAAYF,eAAe,UAAU,CAACC,iBAChD,UACAE,SAAS,EACbC,UAAUC,YAAY,EACtBC,SAAS,EACTC,UAAUX,IAAI,EACdY,SAAS,EACT,GAAGC,WACJ,GAAGX;IAEJ,MAAMM,WAAWZ,QAAQ,SAASa;IAClC,MAAM,EAAEK,WAAW,EAAE,GAAGhB;IAExB,qBACE,KAACH;QACE,GAAGkB,SAAS;QACbE,cAAYT;QACZU,mBAAiBX;QACjBF,KAAKA;QACLQ,SAAS,CAACM;YACRN,QAAQM;YACR,IAAIA,MAAMC,oBAAoB,IAAI;gBAChC;YACF;YAEAJ,YAAY;QACd;QACAJ,WAAWjB,IAAIM,OAAO;YAAEa;QAAU,IAAIF;QACtCN,YAAYA;kBAEXI;;AAGP,GAAG"}
1
+ {"version":3,"sources":["../../src/snackbar/ToastCloseButton.tsx"],"sourcesContent":["\"use client\";\n\nimport { cnb } from \"cnbuilder\";\nimport { forwardRef } from \"react\";\n\nimport { Button, type ButtonProps } from \"../button/Button.js\";\nimport { type ButtonType } from \"../button/styles.js\";\nimport { getIcon } from \"../icon/config.js\";\nimport { bem } from \"../utils/bem.js\";\nimport { useCurrentToastActions } from \"./useCurrentToastActions.js\";\n\nconst styles = bem(\"rmd-toast-x\");\nconst noop = (): void => {\n // do nothing\n};\n\n/**\n * @since 6.0.0\n */\nexport interface ToastCloseButtonProps extends ButtonProps {\n /**\n * Note: This default value will only be used if the {@link buttonType} is not\n * `\"text\"` and an `aria-labelledby` is not provided.\n *\n * @defaultValue `\"Close\"`\n */\n \"aria-label\"?: string;\n\n /** @defaultValue `\"icon-square\"` */\n buttonType?: ButtonType;\n\n /**\n * Set this to `true` when there is a close button visible and the content is\n * stacked. This will update the styles so the button renders next to the\n * content and above the action button.\n *\n * @defaultValue `false`\n */\n reordered?: boolean;\n}\n\n/**\n * **Client Component**\n *\n * This button will automatically close the toast when clicked unless\n * `event.stopPropagation()` is called from the `onClick` prop.\n *\n * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}\n * @since 6.0.0\n */\nexport const ToastCloseButton = forwardRef<\n HTMLButtonElement,\n ToastCloseButtonProps\n>(function ToastCloseButton(props, ref) {\n const {\n buttonType = \"icon-square\",\n \"aria-labelledby\": ariaLabelledBy,\n \"aria-label\": ariaLabel = buttonType !== \"text\" && !ariaLabelledBy\n ? \"Close\"\n : undefined,\n children: propChildren,\n className,\n onClick = noop,\n reordered,\n ...remaining\n } = props;\n\n const children = getIcon(\"close\", propChildren);\n const { removeToast } = useCurrentToastActions();\n\n return (\n <Button\n {...remaining}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n ref={ref}\n onClick={(event) => {\n onClick(event);\n if (event.isPropagationStopped()) {\n return;\n }\n\n removeToast(true);\n }}\n className={cnb(styles({ reordered }), className)}\n buttonType={buttonType}\n >\n {children}\n </Button>\n );\n});\n"],"names":["cnb","forwardRef","Button","getIcon","bem","useCurrentToastActions","styles","noop","ToastCloseButton","props","ref","buttonType","ariaLabelledBy","ariaLabel","undefined","children","propChildren","className","onClick","reordered","remaining","removeToast","aria-label","aria-labelledby","event","isPropagationStopped"],"mappings":"AAAA;;AAEA,SAASA,GAAG,QAAQ,YAAY;AAChC,SAASC,UAAU,QAAQ,QAAQ;AAEnC,SAASC,MAAM,QAA0B,sBAAsB;AAE/D,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,sBAAsB,QAAQ,8BAA8B;AAErE,MAAMC,SAASF,IAAI;AACnB,MAAMG,OAAO;AACX,aAAa;AACf;AA2BA;;;;;;;;CAQC,GACD,OAAO,MAAMC,iCAAmBP,WAG9B,SAASO,iBAAiBC,KAAK,EAAEC,GAAG;IACpC,MAAM,EACJC,aAAa,aAAa,EAC1B,mBAAmBC,cAAc,EACjC,cAAcC,YAAYF,eAAe,UAAU,CAACC,iBAChD,UACAE,SAAS,EACbC,UAAUC,YAAY,EACtBC,SAAS,EACTC,UAAUX,IAAI,EACdY,SAAS,EACT,GAAGC,WACJ,GAAGX;IAEJ,MAAMM,WAAWZ,QAAQ,SAASa;IAClC,MAAM,EAAEK,WAAW,EAAE,GAAGhB;IAExB,qBACE,KAACH;QACE,GAAGkB,SAAS;QACbE,cAAYT;QACZU,mBAAiBX;QACjBF,KAAKA;QACLQ,SAAS,CAACM;YACRN,QAAQM;YACR,IAAIA,MAAMC,oBAAoB,IAAI;gBAChC;YACF;YAEAJ,YAAY;QACd;QACAJ,WAAWjB,IAAIM,OAAO;YAAEa;QAAU,IAAIF;QACtCN,YAAYA;kBAEXI;;AAGP,GAAG"}
@@ -1,6 +1,6 @@
1
1
  import { type HTMLAttributes } from "react";
2
2
  /**
3
- * @remarks \@since 6.0.0
3
+ * @since 6.0.0
4
4
  */
5
5
  export interface ToastContentProps extends HTMLAttributes<HTMLDivElement> {
6
6
  /** @defaultValue `false` */
@@ -28,6 +28,7 @@ export interface ToastContentProps extends HTMLAttributes<HTMLDivElement> {
28
28
  /**
29
29
  * **Client Component**
30
30
  *
31
- * @remarks \@since 6.0.0
31
+ * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}
32
+ * @since 6.0.0
32
33
  */
33
34
  export declare const ToastContent: import("react").ForwardRefExoticComponent<ToastContentProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -6,7 +6,8 @@ import { toastContent } from "./toastContentStyles.js";
6
6
  /**
7
7
  * **Client Component**
8
8
  *
9
- * @remarks \@since 6.0.0
9
+ * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}
10
+ * @since 6.0.0
10
11
  */ export const ToastContent = /*#__PURE__*/ forwardRef(function ToastContent(props, ref) {
11
12
  const { className, children, action, stacked, multiline: propMultiline, closeButton, disableWrapper, ...remaining } = props;
12
13
  const [isMultiline, setMultiline] = useState(false);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/snackbar/ToastContent.tsx"],"sourcesContent":["\"use client\";\nimport { forwardRef, useCallback, useState, type HTMLAttributes } from \"react\";\nimport { useResizeObserver } from \"../useResizeObserver.js\";\nimport { toastContent } from \"./toastContentStyles.js\";\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface ToastContentProps extends HTMLAttributes<HTMLDivElement> {\n /** @defaultValue `false` */\n action?: boolean;\n\n /** @defaultValue `false` */\n stacked?: boolean;\n\n /**\n * Set this to `true` if you know that the {@link children} span multiple\n * lines. When this is omitted, a `ResizeObserver` will be used to\n * automatically detect multiline content.\n */\n multiline?: boolean;\n\n /** @defaultValue `false` */\n closeButton?: boolean;\n\n /**\n * Set this to `true` if you do not want to wrap the `children` in a `<div>`\n * that applies some toast layout styles. This should really only be used for\n * custom `Toast` implementations.\n *\n * @internal\n * @defaultValue `false`\n */\n disableWrapper?: boolean;\n}\n\n/**\n * **Client Component**\n *\n * @remarks \\@since 6.0.0\n */\nexport const ToastContent = forwardRef<HTMLDivElement, ToastContentProps>(\n function ToastContent(props, ref) {\n const {\n className,\n children,\n action,\n stacked,\n multiline: propMultiline,\n closeButton,\n disableWrapper,\n ...remaining\n } = props;\n\n const [isMultiline, setMultiline] = useState(false);\n const nodeRef = useResizeObserver({\n ref,\n disabled: disableWrapper || typeof propMultiline === \"boolean\",\n disableWidth: true,\n onUpdate: useCallback((entry) => {\n const element = entry.target;\n const style = window.getComputedStyle(element);\n const lineHeight = parseFloat(style.lineHeight);\n if (Number.isNaN(lineHeight)) {\n return;\n }\n\n setMultiline(element.scrollHeight > lineHeight);\n }, []),\n });\n const multiline = propMultiline ?? isMultiline;\n\n if (disableWrapper) {\n return <>{children}</>;\n }\n\n return (\n <div\n {...remaining}\n ref={nodeRef}\n className={toastContent({\n action,\n stacked,\n multiline,\n closeButton,\n className,\n })}\n >\n {children}\n </div>\n );\n }\n);\n"],"names":["forwardRef","useCallback","useState","useResizeObserver","toastContent","ToastContent","props","ref","className","children","action","stacked","multiline","propMultiline","closeButton","disableWrapper","remaining","isMultiline","setMultiline","nodeRef","disabled","disableWidth","onUpdate","entry","element","target","style","window","getComputedStyle","lineHeight","parseFloat","Number","isNaN","scrollHeight","div"],"mappings":"AAAA;;AACA,SAASA,UAAU,EAAEC,WAAW,EAAEC,QAAQ,QAA6B,QAAQ;AAC/E,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,SAASC,YAAY,QAAQ,0BAA0B;AAiCvD;;;;CAIC,GACD,OAAO,MAAMC,6BAAeL,WAC1B,SAASK,aAAaC,KAAK,EAAEC,GAAG;IAC9B,MAAM,EACJC,SAAS,EACTC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,WAAWC,aAAa,EACxBC,WAAW,EACXC,cAAc,EACd,GAAGC,WACJ,GAAGV;IAEJ,MAAM,CAACW,aAAaC,aAAa,GAAGhB,SAAS;IAC7C,MAAMiB,UAAUhB,kBAAkB;QAChCI;QACAa,UAAUL,kBAAkB,OAAOF,kBAAkB;QACrDQ,cAAc;QACdC,UAAUrB,YAAY,CAACsB;YACrB,MAAMC,UAAUD,MAAME,MAAM;YAC5B,MAAMC,QAAQC,OAAOC,gBAAgB,CAACJ;YACtC,MAAMK,aAAaC,WAAWJ,MAAMG,UAAU;YAC9C,IAAIE,OAAOC,KAAK,CAACH,aAAa;gBAC5B;YACF;YAEAX,aAAaM,QAAQS,YAAY,GAAGJ;QACtC,GAAG,EAAE;IACP;IACA,MAAMjB,YAAYC,iBAAiBI;IAEnC,IAAIF,gBAAgB;QAClB,qBAAO;sBAAGN;;IACZ;IAEA,qBACE,KAACyB;QACE,GAAGlB,SAAS;QACbT,KAAKY;QACLX,WAAWJ,aAAa;YACtBM;YACAC;YACAC;YACAE;YACAN;QACF;kBAECC;;AAGP,GACA"}
1
+ {"version":3,"sources":["../../src/snackbar/ToastContent.tsx"],"sourcesContent":["\"use client\";\n\nimport { type HTMLAttributes, forwardRef, useCallback, useState } from \"react\";\n\nimport { useResizeObserver } from \"../useResizeObserver.js\";\nimport { toastContent } from \"./toastContentStyles.js\";\n\n/**\n * @since 6.0.0\n */\nexport interface ToastContentProps extends HTMLAttributes<HTMLDivElement> {\n /** @defaultValue `false` */\n action?: boolean;\n\n /** @defaultValue `false` */\n stacked?: boolean;\n\n /**\n * Set this to `true` if you know that the {@link children} span multiple\n * lines. When this is omitted, a `ResizeObserver` will be used to\n * automatically detect multiline content.\n */\n multiline?: boolean;\n\n /** @defaultValue `false` */\n closeButton?: boolean;\n\n /**\n * Set this to `true` if you do not want to wrap the `children` in a `<div>`\n * that applies some toast layout styles. This should really only be used for\n * custom `Toast` implementations.\n *\n * @internal\n * @defaultValue `false`\n */\n disableWrapper?: boolean;\n}\n\n/**\n * **Client Component**\n *\n * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}\n * @since 6.0.0\n */\nexport const ToastContent = forwardRef<HTMLDivElement, ToastContentProps>(\n function ToastContent(props, ref) {\n const {\n className,\n children,\n action,\n stacked,\n multiline: propMultiline,\n closeButton,\n disableWrapper,\n ...remaining\n } = props;\n\n const [isMultiline, setMultiline] = useState(false);\n const nodeRef = useResizeObserver({\n ref,\n disabled: disableWrapper || typeof propMultiline === \"boolean\",\n disableWidth: true,\n onUpdate: useCallback((entry) => {\n const element = entry.target;\n const style = window.getComputedStyle(element);\n const lineHeight = parseFloat(style.lineHeight);\n if (Number.isNaN(lineHeight)) {\n return;\n }\n\n setMultiline(element.scrollHeight > lineHeight);\n }, []),\n });\n const multiline = propMultiline ?? isMultiline;\n\n if (disableWrapper) {\n return <>{children}</>;\n }\n\n return (\n <div\n {...remaining}\n ref={nodeRef}\n className={toastContent({\n action,\n stacked,\n multiline,\n closeButton,\n className,\n })}\n >\n {children}\n </div>\n );\n }\n);\n"],"names":["forwardRef","useCallback","useState","useResizeObserver","toastContent","ToastContent","props","ref","className","children","action","stacked","multiline","propMultiline","closeButton","disableWrapper","remaining","isMultiline","setMultiline","nodeRef","disabled","disableWidth","onUpdate","entry","element","target","style","window","getComputedStyle","lineHeight","parseFloat","Number","isNaN","scrollHeight","div"],"mappings":"AAAA;;AAEA,SAA8BA,UAAU,EAAEC,WAAW,EAAEC,QAAQ,QAAQ,QAAQ;AAE/E,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,SAASC,YAAY,QAAQ,0BAA0B;AAiCvD;;;;;CAKC,GACD,OAAO,MAAMC,6BAAeL,WAC1B,SAASK,aAAaC,KAAK,EAAEC,GAAG;IAC9B,MAAM,EACJC,SAAS,EACTC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,WAAWC,aAAa,EACxBC,WAAW,EACXC,cAAc,EACd,GAAGC,WACJ,GAAGV;IAEJ,MAAM,CAACW,aAAaC,aAAa,GAAGhB,SAAS;IAC7C,MAAMiB,UAAUhB,kBAAkB;QAChCI;QACAa,UAAUL,kBAAkB,OAAOF,kBAAkB;QACrDQ,cAAc;QACdC,UAAUrB,YAAY,CAACsB;YACrB,MAAMC,UAAUD,MAAME,MAAM;YAC5B,MAAMC,QAAQC,OAAOC,gBAAgB,CAACJ;YACtC,MAAMK,aAAaC,WAAWJ,MAAMG,UAAU;YAC9C,IAAIE,OAAOC,KAAK,CAACH,aAAa;gBAC5B;YACF;YAEAX,aAAaM,QAAQS,YAAY,GAAGJ;QACtC,GAAG,EAAE;IACP;IACA,MAAMjB,YAAYC,iBAAiBI;IAEnC,IAAIF,gBAAgB;QAClB,qBAAO;sBAAGN;;IACZ;IAEA,qBACE,KAACyB;QACE,GAAGlB,SAAS;QACbT,KAAKY;QACLX,WAAWJ,aAAa;YACtBM;YACAC;YACAC;YACAE;YACAN;QACF;kBAECC;;AAGP,GACA"}
@@ -1,6 +1,6 @@
1
1
  import { type ConfigurableToastProps } from "./Toast.js";
2
2
  /**
3
- * @remarks \@since 6.0.0
3
+ * @since 6.0.0
4
4
  */
5
5
  export declare const DEFAULT_TOAST_VISIBLE_TIME = 5000;
6
6
  /**
@@ -15,7 +15,7 @@ export declare const DEFAULT_TOAST_VISIBLE_TIME = 5000;
15
15
  * currently visible toast, the toast will be shown again once the `"immediate"`
16
16
  * toast is hidden.
17
17
  *
18
- * @remarks \@since 6.0.0 Renamed from `MessagePriority` to `ToastPriority`
18
+ * @since 6.0.0 Renamed from `MessagePriority` to `ToastPriority`
19
19
  */
20
20
  export type ToastPriority = "normal" | "next" | "replace" | "immediate";
21
21
  /**
@@ -29,11 +29,11 @@ export type ToastPriority = "normal" | "next" | "replace" | "immediate";
29
29
  * - `"update"` - toasts that have the same `toastId` will just update the toast
30
30
  * with the latest content while maintaining any existing timeouts
31
31
  *
32
- * @remarks \@since 6.0.0 Renamed from `DuplicateBehavior`
32
+ * @since 6.0.0 Renamed from `DuplicateBehavior`
33
33
  */
34
34
  export type ToastDuplicateBehavior = "allow" | "restart" | "update";
35
35
  /**
36
- * @remarks \@since 6.0.0
36
+ * @since 6.0.0
37
37
  */
38
38
  export interface ToastMeta {
39
39
  /**
@@ -59,7 +59,7 @@ export interface ToastMeta {
59
59
  visibleTime: number | null;
60
60
  }
61
61
  /**
62
- * @remarks \@since 6.0.0
62
+ * @since 6.0.0
63
63
  */
64
64
  export interface CreateToastOptions extends ConfigurableToastProps {
65
65
  /**
@@ -86,21 +86,21 @@ export interface CreateToastOptions extends ConfigurableToastProps {
86
86
  visibleTime?: number | null;
87
87
  }
88
88
  /**
89
- * @remarks \@since 6.0.0
89
+ * @since 6.0.0
90
90
  */
91
91
  export interface QueuedToast extends ConfigurableToastProps, ToastMeta {
92
92
  }
93
93
  /**
94
- * @remarks \@since 6.0.0
94
+ * @since 6.0.0
95
95
  */
96
96
  export type ToastQueue = readonly Readonly<QueuedToast>[];
97
97
  /**
98
- * @remarks \@since 6.0.0
98
+ * @since 6.0.0
99
99
  */
100
100
  export type ToastCallback = (queue: ToastQueue) => void;
101
101
  /**
102
102
  * @internal
103
- * @remarks \@since 6.0.0
103
+ * @since 6.0.0
104
104
  */
105
105
  export interface ToastVisibilityTimers {
106
106
  inactive: boolean;
@@ -109,9 +109,9 @@ export interface ToastVisibilityTimers {
109
109
  exitTimeout?: number;
110
110
  }
111
111
  /**
112
+ * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}
112
113
  * @see {@link ToastManagerProvider}
113
- *
114
- * @remarks \@since 6.0.0
114
+ * @since 6.0.0
115
115
  */
116
116
  export declare class ToastManager {
117
117
  #private;
@@ -139,8 +139,7 @@ export declare class ToastManager {
139
139
  * Either adds the toast to the queue or updates an existing toast when using
140
140
  * an existing `toastId`.
141
141
  *
142
- * @example
143
- * Adding toasts
142
+ * @example Adding toasts
144
143
  * ```tsx
145
144
  * // create a toast when the user is offline that will not disappear
146
145
  * addToast({ toastId: "offline", visibleTime: null });
@@ -261,31 +260,31 @@ export declare class ToastManager {
261
260
  * added without setting up the {@link ToastManagerProvider}.
262
261
  *
263
262
  * @internal
264
- * @remarks \@since 6.0.0
263
+ * @since 6.0.0
265
264
  */
266
265
  export declare const toastManager: ToastManager;
267
266
  /**
268
267
  * @see {@link ToastManager.addToast}
269
- * @remarks \@since 6.0.0
268
+ * @since 6.0.0
270
269
  */
271
270
  export declare const addToast: ToastManager["addToast"];
272
271
  /**
273
272
  * @see {@link ToastManager.startRemoveTimeout}
274
- * @remarks \@since 6.0.0
273
+ * @since 6.0.0
275
274
  */
276
275
  export declare const startRemoveToastTimeout: ToastManager["startRemoveTimeout"];
277
276
  /**
278
277
  * @see {@link ToastManager.popToast}
279
- * @remarks \@since 6.0.0
278
+ * @since 6.0.0
280
279
  */
281
280
  export declare const popToast: ToastManager["popToast"];
282
281
  /**
283
282
  * @see {@link ToastManager.removeToast}
284
- * @remarks \@since 6.0.0
283
+ * @since 6.0.0
285
284
  */
286
285
  export declare const removeToast: ToastManager["removeToast"];
287
286
  /**
288
287
  * @see {@link ToastManager.clearToasts}
289
- * @remarks \@since 6.0.0
288
+ * @since 6.0.0
290
289
  */
291
290
  export declare const clearToasts: () => void;
@@ -53,7 +53,7 @@ function _define_property(obj, key, value) {
53
53
  }
54
54
  import { nanoid } from "nanoid";
55
55
  /**
56
- * @remarks \@since 6.0.0
56
+ * @since 6.0.0
57
57
  */ export const DEFAULT_TOAST_VISIBLE_TIME = 5000;
58
58
  var _queue = /*#__PURE__*/ new WeakMap(), _timers = /*#__PURE__*/ new WeakMap(), _listeners = /*#__PURE__*/ new WeakMap(), _emit = /*#__PURE__*/ new WeakMap(), _getToastIndex = /*#__PURE__*/ new WeakMap(), _getToast = /*#__PURE__*/ new WeakMap(), /**
59
59
  * Starts the exit transition for the currently shown toast and adds the next
@@ -63,9 +63,9 @@ var _queue = /*#__PURE__*/ new WeakMap(), _timers = /*#__PURE__*/ new WeakMap(),
63
63
  * This calls `this.#emit()` if the toast was updated
64
64
  */ _updateToast = /*#__PURE__*/ new WeakMap();
65
65
  /**
66
+ * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}
66
67
  * @see {@link ToastManagerProvider}
67
- *
68
- * @remarks \@since 6.0.0
68
+ * @since 6.0.0
69
69
  */ export class ToastManager {
70
70
  constructor(){
71
71
  _class_private_field_init(this, _queue, {
@@ -165,8 +165,7 @@ var _queue = /*#__PURE__*/ new WeakMap(), _timers = /*#__PURE__*/ new WeakMap(),
165
165
  * Either adds the toast to the queue or updates an existing toast when using
166
166
  * an existing `toastId`.
167
167
  *
168
- * @example
169
- * Adding toasts
168
+ * @example Adding toasts
170
169
  * ```tsx
171
170
  * // create a toast when the user is offline that will not disappear
172
171
  * addToast({ toastId: "offline", visibleTime: null });
@@ -225,25 +224,23 @@ var _queue = /*#__PURE__*/ new WeakMap(), _timers = /*#__PURE__*/ new WeakMap(),
225
224
  const existingIndex = _class_private_field_get(this, _getToastIndex).call(this, toast.toastId);
226
225
  if (existingIndex !== -1 && duplicates !== "allow") {
227
226
  const existingToast = _class_private_field_get(this, _queue)[existingIndex];
227
+ const nextToast = {
228
+ ...existingToast,
229
+ ...toast
230
+ };
228
231
  // reorder/move the existing toast to be the next item in the queue by:
229
232
  // - removing the toast from the queue
230
233
  // - inserting it into the next position with the updates
231
234
  if (priority === "next" && existingIndex > 1) {
232
235
  _class_private_field_get(this, _queue).splice(existingIndex, 1);
233
- _class_private_field_get(this, _queue).splice(1, 0, {
234
- ...existingToast,
235
- ...toast
236
- });
236
+ _class_private_field_get(this, _queue).splice(1, 0, nextToast);
237
237
  _class_private_field_get(this, _emit).call(this);
238
238
  return;
239
239
  }
240
240
  // only need to reorder the queue if it is not being shown
241
241
  if ((priority === "replace" || priority === "immediate") && existingIndex !== 0) {
242
242
  _class_private_field_get(this, _queue).splice(existingIndex, 1);
243
- _class_private_field_get(this, _addToastImmediately).call(this, {
244
- ...existingToast,
245
- ...toast
246
- });
243
+ _class_private_field_get(this, _addToastImmediately).call(this, nextToast);
247
244
  _class_private_field_get(this, _emit).call(this);
248
245
  return;
249
246
  }
@@ -253,7 +250,11 @@ var _queue = /*#__PURE__*/ new WeakMap(), _timers = /*#__PURE__*/ new WeakMap(),
253
250
  ...timers,
254
251
  elapsedTime: 0
255
252
  });
256
- this.startRemoveTimeout(toastId);
253
+ // wait for the next resume event instead. this _should_ only happen
254
+ // when hovering a toast and another toast replaces it
255
+ if (!nextToast.paused) {
256
+ this.startRemoveTimeout(toastId);
257
+ }
257
258
  }
258
259
  _class_private_field_get(this, _updateToast).call(this, existingIndex, toast);
259
260
  return;
@@ -345,6 +346,7 @@ var _queue = /*#__PURE__*/ new WeakMap(), _timers = /*#__PURE__*/ new WeakMap(),
345
346
  if (toastIndex === -1 || !timers?.startTime) {
346
347
  return;
347
348
  }
349
+ timers.startTime = Date.now();
348
350
  _class_private_field_get(this, _updateToast).call(this, toastIndex, {
349
351
  paused: false
350
352
  });
@@ -434,27 +436,37 @@ var _queue = /*#__PURE__*/ new WeakMap(), _timers = /*#__PURE__*/ new WeakMap(),
434
436
  * added without setting up the {@link ToastManagerProvider}.
435
437
  *
436
438
  * @internal
437
- * @remarks \@since 6.0.0
439
+ * @since 6.0.0
438
440
  */ export const toastManager = new ToastManager();
439
441
  /**
440
442
  * @see {@link ToastManager.addToast}
441
- * @remarks \@since 6.0.0
442
- */ export const addToast = (toast)=>toastManager.addToast(toast);
443
+ * @since 6.0.0
444
+ */ export const addToast = (toast)=>{
445
+ toastManager.addToast(toast);
446
+ };
443
447
  /**
444
448
  * @see {@link ToastManager.startRemoveTimeout}
445
- * @remarks \@since 6.0.0
446
- */ export const startRemoveToastTimeout = (toastId)=>toastManager.startRemoveTimeout(toastId);
449
+ * @since 6.0.0
450
+ */ export const startRemoveToastTimeout = (toastId)=>{
451
+ toastManager.startRemoveTimeout(toastId);
452
+ };
447
453
  /**
448
454
  * @see {@link ToastManager.popToast}
449
- * @remarks \@since 6.0.0
450
- */ export const popToast = ()=>toastManager.popToast();
455
+ * @since 6.0.0
456
+ */ export const popToast = ()=>{
457
+ toastManager.popToast();
458
+ };
451
459
  /**
452
460
  * @see {@link ToastManager.removeToast}
453
- * @remarks \@since 6.0.0
454
- */ export const removeToast = (toastId, transition)=>toastManager.removeToast(toastId, transition);
461
+ * @since 6.0.0
462
+ */ export const removeToast = (toastId, transition)=>{
463
+ toastManager.removeToast(toastId, transition);
464
+ };
455
465
  /**
456
466
  * @see {@link ToastManager.clearToasts}
457
- * @remarks \@since 6.0.0
458
- */ export const clearToasts = ()=>toastManager.clearToasts();
467
+ * @since 6.0.0
468
+ */ export const clearToasts = ()=>{
469
+ toastManager.clearToasts();
470
+ };
459
471
 
460
472
  //# sourceMappingURL=ToastManager.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/snackbar/ToastManager.tsx"],"sourcesContent":["import { nanoid } from \"nanoid\";\nimport { type ConfigurableToastProps } from \"./Toast.js\";\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport const DEFAULT_TOAST_VISIBLE_TIME = 5000;\n\n/**\n * - `\"normal\"` - the toast will be added to the end of the queue\n * - `\"next\"` - the toast will be inserted next-in-line in the queue, waiting\n * for the current visible toast to exit before being shown. If the toast does\n * not support duplicates, the existing toast will be moved instead and merged\n * with the toast.\n * - `\"replace\"` - if there is a currently visible toast, it will start the\n * leave transition and display the newly added toast instead.\n * - `\"immediate\"` - the same behavior as `\"replace\"` except that if there was a\n * currently visible toast, the toast will be shown again once the `\"immediate\"`\n * toast is hidden.\n *\n * @remarks \\@since 6.0.0 Renamed from `MessagePriority` to `ToastPriority`\n */\nexport type ToastPriority = \"normal\" | \"next\" | \"replace\" | \"immediate\";\n\n/**\n * - `\"allow\"` - toasts with the same `toastId` can be added into the queue, but\n * the leave timeout behavior might not work if multiple toasts can be shown\n * at the same time.\n * - `\"restart\"` - (default) toasts that have the same `toastId` as a toast\n * being shown will restart the exit timeout and update the toast with any\n * differences in the toast. If the toast is not currently being shown, a new\n * toast will not be added.\n * - `\"update\"` - toasts that have the same `toastId` will just update the toast\n * with the latest content while maintaining any existing timeouts\n *\n * @remarks \\@since 6.0.0 Renamed from `DuplicateBehavior`\n */\nexport type ToastDuplicateBehavior = \"allow\" | \"restart\" | \"update\";\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface ToastMeta {\n /**\n * This will be `true` if the exit timeout has been paused either by hovering\n * the toast or the page has become inactive through blur or minimizing.\n */\n paused: boolean;\n\n /**\n * This will be `true` when the toast should be visible and `false` during the\n * exit animation.\n */\n visible: boolean;\n\n /**\n * The current toast's id which can be used with the:\n * - {@link ToastManager.removeToast}\n * - {@link ToastManager.startRemoveTimeout}\n * - {@link ToastManager.pauseRemoveTimeout}\n * - {@link ToastManager.resumeRemoveTimeout}\n */\n toastId: string;\n priority: ToastPriority;\n duplicates: ToastDuplicateBehavior;\n visibleTime: number | null;\n}\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface CreateToastOptions extends ConfigurableToastProps {\n /**\n * @defaultValue `nanoid()`\n */\n toastId?: string;\n\n /**\n * @see {@link ToastDuplicateBehavior}\n * @defaultValue `\"restart\"`\n */\n duplicates?: ToastDuplicateBehavior;\n\n /**\n * @see {@link ToastPriority}\n * @defaultValue `\"normal\"`\n */\n priority?: ToastPriority;\n\n /**\n * Set this to `null` to prevent the toast from automatically hiding,\n * otherwise set this to the number of milliseconds to remain visible.\n *\n * @see {@link DEFAULT_TOAST_VISIBLE_TIME}\n * @defaultValue `DEFAULT_TOAST_VISIBLE_TIME`\n */\n visibleTime?: number | null;\n}\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface QueuedToast extends ConfigurableToastProps, ToastMeta {}\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport type ToastQueue = readonly Readonly<QueuedToast>[];\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport type ToastCallback = (queue: ToastQueue) => void;\n\n/**\n * @internal\n * @remarks \\@since 6.0.0\n */\nexport interface ToastVisibilityTimers {\n inactive: boolean;\n startTime: number;\n elapsedTime: number;\n exitTimeout?: number;\n}\n\n/**\n * @see {@link ToastManagerProvider}\n *\n * @remarks \\@since 6.0.0\n */\nexport class ToastManager {\n #queue: QueuedToast[];\n #timers: Map<string, ToastVisibilityTimers>;\n #listeners: ToastCallback[];\n\n constructor() {\n this.#queue = [];\n this.#timers = new Map();\n this.#listeners = [];\n\n // All of the class methods must be arrow functions to preserve the correct\n // `this` value. If they aren't arrow functions, I'd have to wrap each call\n // in an arrow function to work.\n //\n // i.e.\n // useSyncExternalStore(\n // (cb) => manager.subscribe(cb),\n // () => manager.getQueue(),\n // () => manager.getQueue(),\n // );\n }\n\n #emit = (): void => {\n // shallow clone to ensure react updates\n this.#queue = [...this.#queue];\n this.#listeners.forEach((callback) => {\n callback(this.#queue);\n });\n };\n\n #getToastIndex = (toastId: string | undefined): number => {\n if (!toastId) {\n return -1;\n }\n\n return this.#queue.findIndex((toast) => toast.toastId === toastId);\n };\n\n #getToast = (toastId: string | undefined): QueuedToast | undefined => {\n return this.#queue[this.#getToastIndex(toastId)];\n };\n\n /**\n * Starts the exit transition for the currently shown toast and adds the next\n * toast into the queue. This requires a manual call to `this.#emit()`\n * afterwards.\n */\n #addToastImmediately = (nextToast: QueuedToast): void => {\n const [current] = this.#queue;\n this.clearTimer(current.toastId);\n this.#queue[0] = {\n ...current,\n visible: false,\n };\n if (nextToast.priority === \"immediate\") {\n this.#queue.splice(1, 0, nextToast, current);\n } else {\n this.#queue.splice(1, 0, nextToast);\n }\n };\n\n /**\n * This calls `this.#emit()` if the toast was updated\n */\n #updateToast = (\n toastIdOrIndex: string | number,\n patch: Partial<QueuedToast>\n ): void => {\n const index =\n typeof toastIdOrIndex === \"number\"\n ? toastIdOrIndex\n : this.#getToastIndex(toastIdOrIndex);\n\n if (index === -1) {\n return;\n }\n\n this.#queue[index] = {\n ...this.#queue[index],\n ...patch,\n };\n this.#emit();\n };\n\n /**\n * This is just used to subscribe to changes in the {@link useToastQueue}.\n *\n * ```tsx\n * useSyncExternalStore(\n * toastManager.subscribe,\n * toastManager.getQueue,\n * toastManager.getQueue,\n * );\n * ```\n *\n * @internal\n */\n subscribe = (callback: ToastCallback): (() => void) => {\n this.#listeners.push(callback);\n\n return () => {\n this.#listeners = this.#listeners.filter((cb) => cb !== callback);\n };\n };\n\n /**\n * @see {@link subscribe}\n * @internal\n */\n getQueue = (): ToastQueue => {\n return this.#queue;\n };\n\n /**\n * Either adds the toast to the queue or updates an existing toast when using\n * an existing `toastId`.\n *\n * @example\n * Adding toasts\n * ```tsx\n * // create a toast when the user is offline that will not disappear\n * addToast({ toastId: \"offline\", visibleTime: null });\n *\n * // add a new toast that displays `\"Toast\"` to the queue\n * addToast({ children: \"Toast!\" });\n *\n * // add an online toast notification. since these three use the same toast\n * // id, the hide timer will be reset each time\n * addToast({ toastId: \"online\" });\n * addToast({ toastId: \"online\" });\n * addToast({ toastId: \"online\" });\n *\n * // add a server error toast to the queue where the second one will be\n * // ignored\n * addToast({\n * toastId: \"ServerError\",\n * theme: \"error\",\n * duplicates: \"prevent\",\n * });\n * addToast({\n * toastId: \"ServerError\",\n * theme: \"error\",\n * duplicates: \"prevent\",\n * });\n *\n * // add a toast to the queue that has an action button that says \"Goodbye\"\n * addToast({\n * children: \"Hello, world!\",\n * action: \"Goodbye\",\n * });\n *\n * // add a toast to the queue that has an action button that says \"Goodbye\"\n * // and a custom click handler\n * addToast({\n * children: \"Hello, world!\",\n * action: {\n * onClick: () => {\n * logout();\n * },\n * children: \"Goodbye\",\n * },\n * });\n *\n * // add a toast to the queue that renders a react component in the content,\n * // a custom action button implementation (using `ToastActionButton`), and a\n * // close button\n * addToast({\n * children: <SomeCustomComponent />,\n * actionButton: <SomeCustomActionButton />,\n * closeButton: true,\n * });\n * ```\n */\n addToast = (toast: CreateToastOptions): void => {\n const {\n toastId = nanoid(),\n visibleTime = DEFAULT_TOAST_VISIBLE_TIME,\n role = visibleTime === null ? \"alert\" : \"status\",\n priority = \"normal\",\n duplicates = \"restart\",\n } = toast;\n\n const existingIndex = this.#getToastIndex(toast.toastId);\n if (existingIndex !== -1 && duplicates !== \"allow\") {\n const existingToast = this.#queue[existingIndex];\n\n // reorder/move the existing toast to be the next item in the queue by:\n // - removing the toast from the queue\n // - inserting it into the next position with the updates\n if (priority === \"next\" && existingIndex > 1) {\n this.#queue.splice(existingIndex, 1);\n this.#queue.splice(1, 0, { ...existingToast, ...toast });\n this.#emit();\n return;\n }\n\n // only need to reorder the queue if it is not being shown\n if (\n (priority === \"replace\" || priority === \"immediate\") &&\n existingIndex !== 0\n ) {\n this.#queue.splice(existingIndex, 1);\n this.#addToastImmediately({\n ...existingToast,\n ...toast,\n });\n this.#emit();\n return;\n }\n\n const timers = this.#timers.get(toastId);\n if (existingToast.visible && duplicates === \"restart\" && timers) {\n this.#timers.set(toastId, { ...timers, elapsedTime: 0 });\n this.startRemoveTimeout(toastId);\n }\n\n this.#updateToast(existingIndex, toast);\n return;\n }\n\n const nextToast: QueuedToast = {\n ...toast,\n role,\n paused: false,\n visible: true,\n toastId,\n priority,\n duplicates,\n visibleTime,\n };\n\n const queueSize = this.#queue.length;\n if (priority === \"next\" && queueSize > 1) {\n this.#queue.splice(1, 0, nextToast);\n } else if (\n (priority === \"replace\" || priority === \"immediate\") &&\n queueSize > 0\n ) {\n this.#addToastImmediately(nextToast);\n } else {\n this.#queue.push(nextToast);\n }\n\n this.#emit();\n };\n\n /**\n * Attempts to start the timeout for removing the toast when the `visibleTime`\n * is not null for a toast.\n *\n * @param toastId - The specific toastId to update\n */\n startRemoveTimeout = (toastId: string): void => {\n const toast = this.#getToast(toastId);\n if (!toast) {\n return;\n }\n\n const { visibleTime } = toast;\n if (visibleTime === null) {\n // Must manually be closed\n return;\n }\n\n const cached = this.#timers.get(toastId);\n const timers = (cached && { ...cached }) || {\n inactive: false,\n startTime: Date.now(),\n elapsedTime: 0,\n };\n window.clearTimeout(timers.exitTimeout);\n\n let duration = visibleTime;\n if (timers.elapsedTime) {\n duration -= timers.elapsedTime;\n }\n\n timers.inactive = false;\n timers.exitTimeout = window.setTimeout(() => {\n this.removeToast(toastId, true);\n }, duration);\n this.#timers.set(toastId, timers);\n };\n\n /**\n * Pauses the remove timeout for a specific toast normally with hover events\n * or the browser becoming inactive.\n *\n * @param toastId - The specific toastId to pause\n */\n pauseRemoveTimeout = (toastId: string): void => {\n const toast = this.#getToast(toastId);\n const cached = this.#timers.get(toastId);\n if (!toast || !cached || cached.inactive) {\n return;\n }\n\n window.clearTimeout(cached.exitTimeout);\n const timers = { ...cached };\n timers.inactive = true;\n timers.elapsedTime = Date.now() - timers.startTime + timers.elapsedTime;\n this.#timers.set(toastId, timers);\n this.#updateToast(toastId, { paused: true });\n };\n\n /**\n * Resumes the current remove timeout if it was paused by\n * {@link pauseRemoveTimeout}.\n *\n * @param toastId - The specific toastId to resume\n */\n resumeRemoveTimeout = (toastId: string): void => {\n const toastIndex = this.#getToastIndex(toastId);\n const timers = this.#timers.get(toastId);\n if (toastIndex === -1 || !timers?.startTime) {\n return;\n }\n\n this.#updateToast(toastIndex, { paused: false });\n this.startRemoveTimeout(toastId);\n };\n\n /**\n * Removes a toast by id from the queue without any exit animation.\n *\n * @param toastId - The specific {@link QueuedToast.toastId}\n * @param transition - Set this to `true` to remove the toast by the exit\n * transition instead of immediately.\n */\n removeToast = (toastId: string, transition: boolean): void => {\n const toastIndex = this.#getToastIndex(toastId);\n if (toastIndex === -1) {\n return;\n }\n\n if (transition) {\n this.clearTimer(toastId);\n this.#updateToast(toastIndex, { visible: false });\n return;\n }\n\n this.#queue.splice(toastIndex, 1);\n this.#emit();\n };\n\n /**\n * Clears any pending timers for the provided toast id. This should generally\n * be used in the `useEffect` cleanup effect for any custom toast renderer\n * implementations.\n *\n * @example\n * ```tsx\n * const { toastId } = toast;\n * const toastManager = useToastManager();\n *\n * useEffect(() => {\n * return () => {\n * toastManager.clearTimer(toastId):\n * }\n * }, [toastManager, toastId]);\n * ```\n */\n clearTimer = (toastId: string): void => {\n const timer = this.#timers.get(toastId);\n window.clearTimeout(timer?.exitTimeout);\n this.#timers.delete(toastId);\n };\n\n /**\n * Removes first toast from the queue without any exit animation. You most\n * likely want to use {@link removeToast} instead.\n */\n popToast = (): void => {\n this.#queue.pop();\n this.#emit();\n };\n\n /**\n * Removes all toasts from the queue. There will be no exit animation.\n *\n * @param disableEmit - Set this to `true` to disable emitting the empty queue.\n * Mostly used for tests.\n */\n clearToasts = (disableEmit = false): void => {\n this.#queue = [];\n this.#timers.forEach((meta) => {\n window.clearTimeout(meta.exitTimeout);\n });\n this.#timers.clear();\n if (!disableEmit) {\n this.#emit();\n }\n };\n}\n\n/**\n * The default toast manager for react-md apps that will allow toasts to be\n * added without setting up the {@link ToastManagerProvider}.\n *\n * @internal\n * @remarks \\@since 6.0.0\n */\nexport const toastManager = new ToastManager();\n\n/**\n * @see {@link ToastManager.addToast}\n * @remarks \\@since 6.0.0\n */\nexport const addToast: ToastManager[\"addToast\"] = (toast) =>\n toastManager.addToast(toast);\n\n/**\n * @see {@link ToastManager.startRemoveTimeout}\n * @remarks \\@since 6.0.0\n */\nexport const startRemoveToastTimeout: ToastManager[\"startRemoveTimeout\"] = (\n toastId\n) => toastManager.startRemoveTimeout(toastId);\n\n/**\n * @see {@link ToastManager.popToast}\n * @remarks \\@since 6.0.0\n */\nexport const popToast: ToastManager[\"popToast\"] = () => toastManager.popToast();\n\n/**\n * @see {@link ToastManager.removeToast}\n * @remarks \\@since 6.0.0\n */\nexport const removeToast: ToastManager[\"removeToast\"] = (toastId, transition) =>\n toastManager.removeToast(toastId, transition);\n\n/**\n * @see {@link ToastManager.clearToasts}\n * @remarks \\@since 6.0.0\n */\nexport const clearToasts = (): void => toastManager.clearToasts();\n"],"names":["nanoid","DEFAULT_TOAST_VISIBLE_TIME","ToastManager","constructor","queue","listeners","forEach","callback","toastId","findIndex","toast","getToastIndex","nextToast","current","clearTimer","visible","priority","splice","toastIdOrIndex","patch","index","emit","subscribe","push","filter","cb","getQueue","addToast","visibleTime","role","duplicates","existingIndex","existingToast","addToastImmediately","timers","get","set","elapsedTime","startRemoveTimeout","updateToast","paused","queueSize","length","getToast","cached","inactive","startTime","Date","now","window","clearTimeout","exitTimeout","duration","setTimeout","removeToast","pauseRemoveTimeout","resumeRemoveTimeout","toastIndex","transition","timer","delete","popToast","pop","clearToasts","disableEmit","meta","clear","Map","toastManager","startRemoveToastTimeout"],"mappings":"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"}
1
+ {"version":3,"sources":["../../src/snackbar/ToastManager.ts"],"sourcesContent":["import { nanoid } from \"nanoid\";\n\nimport { type ConfigurableToastProps } from \"./Toast.js\";\n\n/**\n * @since 6.0.0\n */\nexport const DEFAULT_TOAST_VISIBLE_TIME = 5000;\n\n/**\n * - `\"normal\"` - the toast will be added to the end of the queue\n * - `\"next\"` - the toast will be inserted next-in-line in the queue, waiting\n * for the current visible toast to exit before being shown. If the toast does\n * not support duplicates, the existing toast will be moved instead and merged\n * with the toast.\n * - `\"replace\"` - if there is a currently visible toast, it will start the\n * leave transition and display the newly added toast instead.\n * - `\"immediate\"` - the same behavior as `\"replace\"` except that if there was a\n * currently visible toast, the toast will be shown again once the `\"immediate\"`\n * toast is hidden.\n *\n * @since 6.0.0 Renamed from `MessagePriority` to `ToastPriority`\n */\nexport type ToastPriority = \"normal\" | \"next\" | \"replace\" | \"immediate\";\n\n/**\n * - `\"allow\"` - toasts with the same `toastId` can be added into the queue, but\n * the leave timeout behavior might not work if multiple toasts can be shown\n * at the same time.\n * - `\"restart\"` - (default) toasts that have the same `toastId` as a toast\n * being shown will restart the exit timeout and update the toast with any\n * differences in the toast. If the toast is not currently being shown, a new\n * toast will not be added.\n * - `\"update\"` - toasts that have the same `toastId` will just update the toast\n * with the latest content while maintaining any existing timeouts\n *\n * @since 6.0.0 Renamed from `DuplicateBehavior`\n */\nexport type ToastDuplicateBehavior = \"allow\" | \"restart\" | \"update\";\n\n/**\n * @since 6.0.0\n */\nexport interface ToastMeta {\n /**\n * This will be `true` if the exit timeout has been paused either by hovering\n * the toast or the page has become inactive through blur or minimizing.\n */\n paused: boolean;\n\n /**\n * This will be `true` when the toast should be visible and `false` during the\n * exit animation.\n */\n visible: boolean;\n\n /**\n * The current toast's id which can be used with the:\n * - {@link ToastManager.removeToast}\n * - {@link ToastManager.startRemoveTimeout}\n * - {@link ToastManager.pauseRemoveTimeout}\n * - {@link ToastManager.resumeRemoveTimeout}\n */\n toastId: string;\n priority: ToastPriority;\n duplicates: ToastDuplicateBehavior;\n visibleTime: number | null;\n}\n\n/**\n * @since 6.0.0\n */\nexport interface CreateToastOptions extends ConfigurableToastProps {\n /**\n * @defaultValue `nanoid()`\n */\n toastId?: string;\n\n /**\n * @see {@link ToastDuplicateBehavior}\n * @defaultValue `\"restart\"`\n */\n duplicates?: ToastDuplicateBehavior;\n\n /**\n * @see {@link ToastPriority}\n * @defaultValue `\"normal\"`\n */\n priority?: ToastPriority;\n\n /**\n * Set this to `null` to prevent the toast from automatically hiding,\n * otherwise set this to the number of milliseconds to remain visible.\n *\n * @see {@link DEFAULT_TOAST_VISIBLE_TIME}\n * @defaultValue `DEFAULT_TOAST_VISIBLE_TIME`\n */\n visibleTime?: number | null;\n}\n\n/**\n * @since 6.0.0\n */\nexport interface QueuedToast extends ConfigurableToastProps, ToastMeta {}\n\n/**\n * @since 6.0.0\n */\nexport type ToastQueue = readonly Readonly<QueuedToast>[];\n\n/**\n * @since 6.0.0\n */\nexport type ToastCallback = (queue: ToastQueue) => void;\n\n/**\n * @internal\n * @since 6.0.0\n */\nexport interface ToastVisibilityTimers {\n inactive: boolean;\n startTime: number;\n elapsedTime: number;\n exitTimeout?: number;\n}\n\n/**\n * @see {@link https://next.react-md.dev/components/snackbar | Snackbar Demos}\n * @see {@link ToastManagerProvider}\n * @since 6.0.0\n */\nexport class ToastManager {\n #queue: QueuedToast[];\n #timers: Map<string, ToastVisibilityTimers>;\n #listeners: ToastCallback[];\n\n constructor() {\n this.#queue = [];\n this.#timers = new Map();\n this.#listeners = [];\n\n // All of the class methods must be arrow functions to preserve the correct\n // `this` value. If they aren't arrow functions, I'd have to wrap each call\n // in an arrow function to work.\n //\n // i.e.\n // useSyncExternalStore(\n // (cb) => manager.subscribe(cb),\n // () => manager.getQueue(),\n // () => manager.getQueue(),\n // );\n }\n\n #emit = (): void => {\n // shallow clone to ensure react updates\n this.#queue = [...this.#queue];\n this.#listeners.forEach((callback) => {\n callback(this.#queue);\n });\n };\n\n #getToastIndex = (toastId: string | undefined): number => {\n if (!toastId) {\n return -1;\n }\n\n return this.#queue.findIndex((toast) => toast.toastId === toastId);\n };\n\n #getToast = (toastId: string | undefined): QueuedToast | undefined => {\n return this.#queue[this.#getToastIndex(toastId)];\n };\n\n /**\n * Starts the exit transition for the currently shown toast and adds the next\n * toast into the queue. This requires a manual call to `this.#emit()`\n * afterwards.\n */\n #addToastImmediately = (nextToast: QueuedToast): void => {\n const [current] = this.#queue;\n this.clearTimer(current.toastId);\n this.#queue[0] = {\n ...current,\n visible: false,\n };\n if (nextToast.priority === \"immediate\") {\n this.#queue.splice(1, 0, nextToast, current);\n } else {\n this.#queue.splice(1, 0, nextToast);\n }\n };\n\n /**\n * This calls `this.#emit()` if the toast was updated\n */\n #updateToast = (\n toastIdOrIndex: string | number,\n patch: Partial<QueuedToast>\n ): void => {\n const index =\n typeof toastIdOrIndex === \"number\"\n ? toastIdOrIndex\n : this.#getToastIndex(toastIdOrIndex);\n\n if (index === -1) {\n return;\n }\n\n this.#queue[index] = {\n ...this.#queue[index],\n ...patch,\n };\n this.#emit();\n };\n\n /**\n * This is just used to subscribe to changes in the {@link useToastQueue}.\n *\n * ```tsx\n * useSyncExternalStore(\n * toastManager.subscribe,\n * toastManager.getQueue,\n * toastManager.getQueue,\n * );\n * ```\n *\n * @internal\n */\n subscribe = (callback: ToastCallback): (() => void) => {\n this.#listeners.push(callback);\n\n return () => {\n this.#listeners = this.#listeners.filter((cb) => cb !== callback);\n };\n };\n\n /**\n * @see {@link subscribe}\n * @internal\n */\n getQueue = (): ToastQueue => {\n return this.#queue;\n };\n\n /**\n * Either adds the toast to the queue or updates an existing toast when using\n * an existing `toastId`.\n *\n * @example Adding toasts\n * ```tsx\n * // create a toast when the user is offline that will not disappear\n * addToast({ toastId: \"offline\", visibleTime: null });\n *\n * // add a new toast that displays `\"Toast\"` to the queue\n * addToast({ children: \"Toast!\" });\n *\n * // add an online toast notification. since these three use the same toast\n * // id, the hide timer will be reset each time\n * addToast({ toastId: \"online\" });\n * addToast({ toastId: \"online\" });\n * addToast({ toastId: \"online\" });\n *\n * // add a server error toast to the queue where the second one will be\n * // ignored\n * addToast({\n * toastId: \"ServerError\",\n * theme: \"error\",\n * duplicates: \"prevent\",\n * });\n * addToast({\n * toastId: \"ServerError\",\n * theme: \"error\",\n * duplicates: \"prevent\",\n * });\n *\n * // add a toast to the queue that has an action button that says \"Goodbye\"\n * addToast({\n * children: \"Hello, world!\",\n * action: \"Goodbye\",\n * });\n *\n * // add a toast to the queue that has an action button that says \"Goodbye\"\n * // and a custom click handler\n * addToast({\n * children: \"Hello, world!\",\n * action: {\n * onClick: () => {\n * logout();\n * },\n * children: \"Goodbye\",\n * },\n * });\n *\n * // add a toast to the queue that renders a react component in the content,\n * // a custom action button implementation (using `ToastActionButton`), and a\n * // close button\n * addToast({\n * children: <SomeCustomComponent />,\n * actionButton: <SomeCustomActionButton />,\n * closeButton: true,\n * });\n * ```\n */\n addToast = (toast: CreateToastOptions): void => {\n const {\n toastId = nanoid(),\n visibleTime = DEFAULT_TOAST_VISIBLE_TIME,\n role = visibleTime === null ? \"alert\" : \"status\",\n priority = \"normal\",\n duplicates = \"restart\",\n } = toast;\n\n const existingIndex = this.#getToastIndex(toast.toastId);\n if (existingIndex !== -1 && duplicates !== \"allow\") {\n const existingToast = this.#queue[existingIndex];\n const nextToast: QueuedToast = {\n ...existingToast,\n ...toast,\n };\n\n // reorder/move the existing toast to be the next item in the queue by:\n // - removing the toast from the queue\n // - inserting it into the next position with the updates\n if (priority === \"next\" && existingIndex > 1) {\n this.#queue.splice(existingIndex, 1);\n this.#queue.splice(1, 0, nextToast);\n this.#emit();\n return;\n }\n\n // only need to reorder the queue if it is not being shown\n if (\n (priority === \"replace\" || priority === \"immediate\") &&\n existingIndex !== 0\n ) {\n this.#queue.splice(existingIndex, 1);\n this.#addToastImmediately(nextToast);\n this.#emit();\n return;\n }\n\n const timers = this.#timers.get(toastId);\n if (existingToast.visible && duplicates === \"restart\" && timers) {\n this.#timers.set(toastId, { ...timers, elapsedTime: 0 });\n\n // wait for the next resume event instead. this _should_ only happen\n // when hovering a toast and another toast replaces it\n if (!nextToast.paused) {\n this.startRemoveTimeout(toastId);\n }\n }\n\n this.#updateToast(existingIndex, toast);\n return;\n }\n\n const nextToast: QueuedToast = {\n ...toast,\n role,\n paused: false,\n visible: true,\n toastId,\n priority,\n duplicates,\n visibleTime,\n };\n\n const queueSize = this.#queue.length;\n if (priority === \"next\" && queueSize > 1) {\n this.#queue.splice(1, 0, nextToast);\n } else if (\n (priority === \"replace\" || priority === \"immediate\") &&\n queueSize > 0\n ) {\n this.#addToastImmediately(nextToast);\n } else {\n this.#queue.push(nextToast);\n }\n\n this.#emit();\n };\n\n /**\n * Attempts to start the timeout for removing the toast when the `visibleTime`\n * is not null for a toast.\n *\n * @param toastId - The specific toastId to update\n */\n startRemoveTimeout = (toastId: string): void => {\n const toast = this.#getToast(toastId);\n if (!toast) {\n return;\n }\n\n const { visibleTime } = toast;\n if (visibleTime === null) {\n // Must manually be closed\n return;\n }\n\n const cached = this.#timers.get(toastId);\n const timers = (cached && { ...cached }) || {\n inactive: false,\n startTime: Date.now(),\n elapsedTime: 0,\n };\n window.clearTimeout(timers.exitTimeout);\n\n let duration = visibleTime;\n if (timers.elapsedTime) {\n duration -= timers.elapsedTime;\n }\n\n timers.inactive = false;\n timers.exitTimeout = window.setTimeout(() => {\n this.removeToast(toastId, true);\n }, duration);\n this.#timers.set(toastId, timers);\n };\n\n /**\n * Pauses the remove timeout for a specific toast normally with hover events\n * or the browser becoming inactive.\n *\n * @param toastId - The specific toastId to pause\n */\n pauseRemoveTimeout = (toastId: string): void => {\n const toast = this.#getToast(toastId);\n const cached = this.#timers.get(toastId);\n if (!toast || !cached || cached.inactive) {\n return;\n }\n\n window.clearTimeout(cached.exitTimeout);\n const timers = { ...cached };\n timers.inactive = true;\n timers.elapsedTime = Date.now() - timers.startTime + timers.elapsedTime;\n this.#timers.set(toastId, timers);\n this.#updateToast(toastId, { paused: true });\n };\n\n /**\n * Resumes the current remove timeout if it was paused by\n * {@link pauseRemoveTimeout}.\n *\n * @param toastId - The specific toastId to resume\n */\n resumeRemoveTimeout = (toastId: string): void => {\n const toastIndex = this.#getToastIndex(toastId);\n const timers = this.#timers.get(toastId);\n if (toastIndex === -1 || !timers?.startTime) {\n return;\n }\n\n timers.startTime = Date.now();\n this.#updateToast(toastIndex, { paused: false });\n this.startRemoveTimeout(toastId);\n };\n\n /**\n * Removes a toast by id from the queue without any exit animation.\n *\n * @param toastId - The specific {@link QueuedToast.toastId}\n * @param transition - Set this to `true` to remove the toast by the exit\n * transition instead of immediately.\n */\n removeToast = (toastId: string, transition: boolean): void => {\n const toastIndex = this.#getToastIndex(toastId);\n if (toastIndex === -1) {\n return;\n }\n\n if (transition) {\n this.clearTimer(toastId);\n this.#updateToast(toastIndex, { visible: false });\n return;\n }\n\n this.#queue.splice(toastIndex, 1);\n this.#emit();\n };\n\n /**\n * Clears any pending timers for the provided toast id. This should generally\n * be used in the `useEffect` cleanup effect for any custom toast renderer\n * implementations.\n *\n * @example\n * ```tsx\n * const { toastId } = toast;\n * const toastManager = useToastManager();\n *\n * useEffect(() => {\n * return () => {\n * toastManager.clearTimer(toastId):\n * }\n * }, [toastManager, toastId]);\n * ```\n */\n clearTimer = (toastId: string): void => {\n const timer = this.#timers.get(toastId);\n window.clearTimeout(timer?.exitTimeout);\n this.#timers.delete(toastId);\n };\n\n /**\n * Removes first toast from the queue without any exit animation. You most\n * likely want to use {@link removeToast} instead.\n */\n popToast = (): void => {\n this.#queue.pop();\n this.#emit();\n };\n\n /**\n * Removes all toasts from the queue. There will be no exit animation.\n *\n * @param disableEmit - Set this to `true` to disable emitting the empty queue.\n * Mostly used for tests.\n */\n clearToasts = (disableEmit = false): void => {\n this.#queue = [];\n this.#timers.forEach((meta) => {\n window.clearTimeout(meta.exitTimeout);\n });\n this.#timers.clear();\n if (!disableEmit) {\n this.#emit();\n }\n };\n}\n\n/**\n * The default toast manager for react-md apps that will allow toasts to be\n * added without setting up the {@link ToastManagerProvider}.\n *\n * @internal\n * @since 6.0.0\n */\nexport const toastManager = new ToastManager();\n\n/**\n * @see {@link ToastManager.addToast}\n * @since 6.0.0\n */\nexport const addToast: ToastManager[\"addToast\"] = (toast) => {\n toastManager.addToast(toast);\n};\n\n/**\n * @see {@link ToastManager.startRemoveTimeout}\n * @since 6.0.0\n */\nexport const startRemoveToastTimeout: ToastManager[\"startRemoveTimeout\"] = (\n toastId\n) => {\n toastManager.startRemoveTimeout(toastId);\n};\n\n/**\n * @see {@link ToastManager.popToast}\n * @since 6.0.0\n */\nexport const popToast: ToastManager[\"popToast\"] = () => {\n toastManager.popToast();\n};\n\n/**\n * @see {@link ToastManager.removeToast}\n * @since 6.0.0\n */\nexport const removeToast: ToastManager[\"removeToast\"] = (\n toastId,\n transition\n) => {\n toastManager.removeToast(toastId, transition);\n};\n\n/**\n * @see {@link ToastManager.clearToasts}\n * @since 6.0.0\n */\nexport const clearToasts = (): void => {\n toastManager.clearToasts();\n};\n"],"names":["nanoid","DEFAULT_TOAST_VISIBLE_TIME","ToastManager","constructor","forEach","callback","toastId","findIndex","toast","nextToast","current","clearTimer","visible","priority","splice","toastIdOrIndex","patch","index","subscribe","push","filter","cb","getQueue","addToast","visibleTime","role","duplicates","existingIndex","existingToast","timers","get","set","elapsedTime","paused","startRemoveTimeout","queueSize","length","cached","inactive","startTime","Date","now","window","clearTimeout","exitTimeout","duration","setTimeout","removeToast","pauseRemoveTimeout","resumeRemoveTimeout","toastIndex","transition","timer","delete","popToast","pop","clearToasts","disableEmit","meta","clear","Map","toastManager","startRemoveToastTimeout"],"mappings":"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"}