@react-md/core 1.0.0-next.20 → 1.0.0-next.21

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 (1138) hide show
  1. package/dist/CoreProviders.d.ts +1 -0
  2. package/dist/CoreProviders.js +1 -0
  3. package/dist/CoreProviders.js.map +1 -1
  4. package/dist/NoSsr.d.ts +3 -1
  5. package/dist/NoSsr.js +3 -1
  6. package/dist/NoSsr.js.map +1 -1
  7. package/dist/RootHtml.d.ts +1 -1
  8. package/dist/RootHtml.js +1 -1
  9. package/dist/RootHtml.js.map +1 -1
  10. package/dist/SsrProvider.d.ts +1 -0
  11. package/dist/SsrProvider.js +1 -0
  12. package/dist/SsrProvider.js.map +1 -1
  13. package/dist/_a11y.scss +187 -0
  14. package/dist/_base.scss +479 -0
  15. package/dist/_box-shadows.scss +80 -71
  16. package/dist/_colors.scss +283 -279
  17. package/dist/_core.scss +5 -483
  18. package/dist/_object-fit.scss +27 -23
  19. package/dist/_utils.scss +225 -225
  20. package/dist/app-bar/AppBar.d.ts +3 -1
  21. package/dist/app-bar/AppBar.js +3 -1
  22. package/dist/app-bar/AppBar.js.map +1 -1
  23. package/dist/app-bar/AppBarTitle.d.ts +2 -1
  24. package/dist/app-bar/AppBarTitle.js +2 -1
  25. package/dist/app-bar/AppBarTitle.js.map +1 -1
  26. package/dist/app-bar/_app-bar.scss +112 -105
  27. package/dist/autocomplete/Autocomplete.d.ts +81 -2
  28. package/dist/autocomplete/Autocomplete.js +4 -2
  29. package/dist/autocomplete/Autocomplete.js.map +1 -1
  30. package/dist/autocomplete/AutocompleteChip.d.ts +1 -0
  31. package/dist/autocomplete/AutocompleteChip.js +1 -0
  32. package/dist/autocomplete/AutocompleteChip.js.map +1 -1
  33. package/dist/autocomplete/AutocompleteCircularProgress.d.ts +1 -0
  34. package/dist/autocomplete/AutocompleteCircularProgress.js +1 -0
  35. package/dist/autocomplete/AutocompleteCircularProgress.js.map +1 -1
  36. package/dist/autocomplete/AutocompleteClearButton.d.ts +1 -0
  37. package/dist/autocomplete/AutocompleteClearButton.js +4 -2
  38. package/dist/autocomplete/AutocompleteClearButton.js.map +1 -1
  39. package/dist/autocomplete/AutocompleteDropdownButton.d.ts +1 -0
  40. package/dist/autocomplete/AutocompleteDropdownButton.js +1 -0
  41. package/dist/autocomplete/AutocompleteDropdownButton.js.map +1 -1
  42. package/dist/autocomplete/AutocompleteListboxChildren.d.ts +1 -3
  43. package/dist/autocomplete/AutocompleteListboxChildren.js.map +1 -1
  44. package/dist/autocomplete/_autocomplete.scss +125 -71
  45. package/dist/autocomplete/autocompleteStyles.d.ts +3 -0
  46. package/dist/autocomplete/autocompleteStyles.js +5 -2
  47. package/dist/autocomplete/autocompleteStyles.js.map +1 -1
  48. package/dist/autocomplete/types.d.ts +128 -82
  49. package/dist/autocomplete/types.js.map +1 -1
  50. package/dist/autocomplete/useAutocomplete.d.ts +3 -0
  51. package/dist/autocomplete/useAutocomplete.js +17 -17
  52. package/dist/autocomplete/useAutocomplete.js.map +1 -1
  53. package/dist/autocomplete/utils.d.ts +3 -6
  54. package/dist/autocomplete/utils.js.map +1 -1
  55. package/dist/avatar/Avatar.d.ts +2 -1
  56. package/dist/avatar/Avatar.js +2 -1
  57. package/dist/avatar/Avatar.js.map +1 -1
  58. package/dist/avatar/_avatar.scss +81 -77
  59. package/dist/badge/Badge.d.ts +8 -4
  60. package/dist/badge/Badge.js +8 -4
  61. package/dist/badge/Badge.js.map +1 -1
  62. package/dist/badge/_badge.scss +72 -68
  63. package/dist/box/Box.d.ts +4 -3
  64. package/dist/box/Box.js +4 -3
  65. package/dist/box/Box.js.map +1 -1
  66. package/dist/box/_box.scss +115 -119
  67. package/dist/button/AsyncButton.d.ts +3 -2
  68. package/dist/button/AsyncButton.js +4 -3
  69. package/dist/button/AsyncButton.js.map +1 -1
  70. package/dist/button/Button.d.ts +11 -9
  71. package/dist/button/Button.js +11 -9
  72. package/dist/button/Button.js.map +1 -1
  73. package/dist/button/ButtonUnstyled.d.ts +1 -0
  74. package/dist/button/ButtonUnstyled.js +2 -1
  75. package/dist/button/ButtonUnstyled.js.map +1 -1
  76. package/dist/button/TooltippedButton.d.ts +3 -2
  77. package/dist/button/TooltippedButton.js +2 -1
  78. package/dist/button/TooltippedButton.js.map +1 -1
  79. package/dist/button/_button.scss +128 -98
  80. package/dist/button/{buttonStyles.d.ts → styles.d.ts} +10 -0
  81. package/dist/button/{buttonStyles.js → styles.js} +9 -1
  82. package/dist/button/styles.js.map +1 -0
  83. package/dist/card/Card.d.ts +9 -10
  84. package/dist/card/Card.js +9 -10
  85. package/dist/card/Card.js.map +1 -1
  86. package/dist/card/CardContent.d.ts +1 -0
  87. package/dist/card/CardContent.js +1 -0
  88. package/dist/card/CardContent.js.map +1 -1
  89. package/dist/card/CardFooter.d.ts +1 -0
  90. package/dist/card/CardFooter.js +1 -0
  91. package/dist/card/CardFooter.js.map +1 -1
  92. package/dist/card/CardHeader.d.ts +1 -0
  93. package/dist/card/CardHeader.js +1 -0
  94. package/dist/card/CardHeader.js.map +1 -1
  95. package/dist/card/CardSubtitle.d.ts +1 -0
  96. package/dist/card/CardSubtitle.js +1 -0
  97. package/dist/card/CardSubtitle.js.map +1 -1
  98. package/dist/card/CardTitle.d.ts +2 -1
  99. package/dist/card/CardTitle.js +1 -0
  100. package/dist/card/CardTitle.js.map +1 -1
  101. package/dist/card/ClickableCard.d.ts +3 -1
  102. package/dist/card/ClickableCard.js +3 -1
  103. package/dist/card/ClickableCard.js.map +1 -1
  104. package/dist/card/_card.scss +76 -71
  105. package/dist/chip/Chip.d.ts +5 -3
  106. package/dist/chip/Chip.js +5 -3
  107. package/dist/chip/Chip.js.map +1 -1
  108. package/dist/chip/_chip.scss +247 -33
  109. package/dist/cssUtils.d.ts +1 -1
  110. package/dist/cssUtils.js.map +1 -1
  111. package/dist/dialog/Dialog.d.ts +9 -10
  112. package/dist/dialog/Dialog.js +9 -10
  113. package/dist/dialog/Dialog.js.map +1 -1
  114. package/dist/dialog/DialogContent.d.ts +2 -0
  115. package/dist/dialog/DialogContent.js +5 -2
  116. package/dist/dialog/DialogContent.js.map +1 -1
  117. package/dist/dialog/DialogFooter.d.ts +2 -0
  118. package/dist/dialog/DialogFooter.js +5 -2
  119. package/dist/dialog/DialogFooter.js.map +1 -1
  120. package/dist/dialog/DialogHeader.d.ts +14 -2
  121. package/dist/dialog/DialogHeader.js +8 -2
  122. package/dist/dialog/DialogHeader.js.map +1 -1
  123. package/dist/dialog/DialogTitle.d.ts +2 -0
  124. package/dist/dialog/DialogTitle.js +5 -2
  125. package/dist/dialog/DialogTitle.js.map +1 -1
  126. package/dist/dialog/FixedDialog.d.ts +11 -10
  127. package/dist/dialog/FixedDialog.js +13 -12
  128. package/dist/dialog/FixedDialog.js.map +1 -1
  129. package/dist/dialog/_dialog.scss +167 -22
  130. package/dist/dialog/styles.d.ts +12 -6
  131. package/dist/dialog/styles.js +11 -5
  132. package/dist/dialog/styles.js.map +1 -1
  133. package/dist/divider/Divider.d.ts +3 -1
  134. package/dist/divider/Divider.js +3 -1
  135. package/dist/divider/Divider.js.map +1 -1
  136. package/dist/divider/_divider.scss +68 -0
  137. package/dist/divider/styles.js.map +1 -1
  138. package/dist/draggable/_draggable.scss +16 -0
  139. package/dist/draggable/useDraggable.d.ts +1 -0
  140. package/dist/draggable/useDraggable.js +1 -0
  141. package/dist/draggable/useDraggable.js.map +1 -1
  142. package/dist/error-boundary/ErrorBoundary.d.ts +58 -0
  143. package/dist/error-boundary/ErrorBoundary.js +99 -0
  144. package/dist/error-boundary/ErrorBoundary.js.map +1 -0
  145. package/dist/error-boundary/context.d.ts +11 -0
  146. package/dist/error-boundary/context.js +12 -0
  147. package/dist/error-boundary/context.js.map +1 -0
  148. package/dist/error-boundary/types.d.ts +16 -0
  149. package/dist/error-boundary/types.js +7 -0
  150. package/dist/error-boundary/types.js.map +1 -0
  151. package/dist/error-boundary/useErrorBoundary.d.ts +25 -0
  152. package/dist/error-boundary/useErrorBoundary.js +33 -0
  153. package/dist/error-boundary/useErrorBoundary.js.map +1 -0
  154. package/dist/expansion-panel/ExpansionList.d.ts +1 -0
  155. package/dist/expansion-panel/ExpansionList.js +1 -0
  156. package/dist/expansion-panel/ExpansionList.js.map +1 -1
  157. package/dist/expansion-panel/ExpansionPanel.d.ts +32 -0
  158. package/dist/expansion-panel/ExpansionPanel.js +32 -0
  159. package/dist/expansion-panel/ExpansionPanel.js.map +1 -1
  160. package/dist/expansion-panel/ExpansionPanelHeader.d.ts +4 -7
  161. package/dist/expansion-panel/ExpansionPanelHeader.js +9 -10
  162. package/dist/expansion-panel/ExpansionPanelHeader.js.map +1 -1
  163. package/dist/expansion-panel/_expansion-panel.scss +45 -0
  164. package/dist/expansion-panel/expansionPanelStyles.d.ts +20 -0
  165. package/dist/expansion-panel/expansionPanelStyles.js +12 -0
  166. package/dist/expansion-panel/expansionPanelStyles.js.map +1 -1
  167. package/dist/expansion-panel/useExpansionList.d.ts +7 -8
  168. package/dist/expansion-panel/useExpansionList.js +7 -8
  169. package/dist/expansion-panel/useExpansionList.js.map +1 -1
  170. package/dist/expansion-panel/useExpansionPanels.d.ts +7 -10
  171. package/dist/expansion-panel/useExpansionPanels.js +7 -10
  172. package/dist/expansion-panel/useExpansionPanels.js.map +1 -1
  173. package/dist/files/FileInput.d.ts +4 -2
  174. package/dist/files/FileInput.js +3 -1
  175. package/dist/files/FileInput.js.map +1 -1
  176. package/dist/files/_files.scss +9 -0
  177. package/dist/files/styles.d.ts +1 -1
  178. package/dist/files/styles.js +1 -1
  179. package/dist/files/styles.js.map +1 -1
  180. package/dist/files/useFileUpload.d.ts +2 -0
  181. package/dist/files/useFileUpload.js +2 -0
  182. package/dist/files/useFileUpload.js.map +1 -1
  183. package/dist/focus/useFocusContainer.js +24 -23
  184. package/dist/focus/useFocusContainer.js.map +1 -1
  185. package/dist/form/Checkbox.d.ts +3 -1
  186. package/dist/form/Checkbox.js +3 -1
  187. package/dist/form/Checkbox.js.map +1 -1
  188. package/dist/form/Fieldset.d.ts +6 -20
  189. package/dist/form/Fieldset.js +6 -13
  190. package/dist/form/Fieldset.js.map +1 -1
  191. package/dist/form/Form.d.ts +2 -0
  192. package/dist/form/Form.js +2 -0
  193. package/dist/form/Form.js.map +1 -1
  194. package/dist/form/FormMessage.d.ts +2 -0
  195. package/dist/form/FormMessage.js +2 -0
  196. package/dist/form/FormMessage.js.map +1 -1
  197. package/dist/form/FormMessageContainer.d.ts +1 -0
  198. package/dist/form/FormMessageContainer.js +1 -0
  199. package/dist/form/FormMessageContainer.js.map +1 -1
  200. package/dist/form/FormMessageCounter.d.ts +2 -0
  201. package/dist/form/FormMessageCounter.js +2 -0
  202. package/dist/form/FormMessageCounter.js.map +1 -1
  203. package/dist/form/InputToggle.d.ts +4 -2
  204. package/dist/form/InputToggle.js +2 -0
  205. package/dist/form/InputToggle.js.map +1 -1
  206. package/dist/form/Label.d.ts +4 -5
  207. package/dist/form/Label.js +4 -32
  208. package/dist/form/Label.js.map +1 -1
  209. package/dist/form/Legend.d.ts +1 -0
  210. package/dist/form/Legend.js +1 -0
  211. package/dist/form/Legend.js.map +1 -1
  212. package/dist/form/Listbox.d.ts +1 -1
  213. package/dist/form/Listbox.js.map +1 -1
  214. package/dist/form/MenuItemCheckbox.d.ts +3 -1
  215. package/dist/form/MenuItemCheckbox.js +3 -1
  216. package/dist/form/MenuItemCheckbox.js.map +1 -1
  217. package/dist/form/MenuItemFileInput.d.ts +1 -0
  218. package/dist/form/MenuItemFileInput.js +1 -0
  219. package/dist/form/MenuItemFileInput.js.map +1 -1
  220. package/dist/form/MenuItemInputToggle.d.ts +3 -2
  221. package/dist/form/MenuItemInputToggle.js +1 -0
  222. package/dist/form/MenuItemInputToggle.js.map +1 -1
  223. package/dist/form/MenuItemRadio.d.ts +8 -8
  224. package/dist/form/MenuItemRadio.js +8 -8
  225. package/dist/form/MenuItemRadio.js.map +1 -1
  226. package/dist/form/MenuItemSwitch.d.ts +3 -1
  227. package/dist/form/MenuItemSwitch.js +3 -1
  228. package/dist/form/MenuItemSwitch.js.map +1 -1
  229. package/dist/form/MenuItemTextField.d.ts +1 -0
  230. package/dist/form/MenuItemTextField.js +1 -0
  231. package/dist/form/MenuItemTextField.js.map +1 -1
  232. package/dist/form/NativeSelect.d.ts +2 -0
  233. package/dist/form/NativeSelect.js +2 -0
  234. package/dist/form/NativeSelect.js.map +1 -1
  235. package/dist/form/OptGroup.d.ts +4 -1
  236. package/dist/form/OptGroup.js +4 -1
  237. package/dist/form/OptGroup.js.map +1 -1
  238. package/dist/form/Option.d.ts +2 -1
  239. package/dist/form/Option.js +1 -0
  240. package/dist/form/Option.js.map +1 -1
  241. package/dist/form/Password.d.ts +3 -1
  242. package/dist/form/Password.js +3 -1
  243. package/dist/form/Password.js.map +1 -1
  244. package/dist/form/Radio.d.ts +2 -0
  245. package/dist/form/Radio.js +2 -0
  246. package/dist/form/Radio.js.map +1 -1
  247. package/dist/form/Select.d.ts +5 -28
  248. package/dist/form/Select.js +4 -27
  249. package/dist/form/Select.js.map +1 -1
  250. package/dist/form/Slider.d.ts +9 -2
  251. package/dist/form/Slider.js.map +1 -1
  252. package/dist/form/SliderContainer.js +7 -11
  253. package/dist/form/SliderContainer.js.map +1 -1
  254. package/dist/form/SliderMark.js +5 -8
  255. package/dist/form/SliderMark.js.map +1 -1
  256. package/dist/form/SliderMarkLabel.js +5 -7
  257. package/dist/form/SliderMarkLabel.js.map +1 -1
  258. package/dist/form/SliderThumb.js +2 -27
  259. package/dist/form/SliderThumb.js.map +1 -1
  260. package/dist/form/SliderTrack.js +6 -12
  261. package/dist/form/SliderTrack.js.map +1 -1
  262. package/dist/form/SliderValueTooltip.js +7 -7
  263. package/dist/form/SliderValueTooltip.js.map +1 -1
  264. package/dist/form/Switch.d.ts +9 -1
  265. package/dist/form/Switch.js +3 -1
  266. package/dist/form/Switch.js.map +1 -1
  267. package/dist/form/SwitchTrack.js +8 -8
  268. package/dist/form/SwitchTrack.js.map +1 -1
  269. package/dist/form/TextArea.d.ts +9 -1
  270. package/dist/form/TextArea.js +3 -1
  271. package/dist/form/TextArea.js.map +1 -1
  272. package/dist/form/TextField.d.ts +3 -1
  273. package/dist/form/TextField.js +3 -1
  274. package/dist/form/TextField.js.map +1 -1
  275. package/dist/form/TextFieldAddon.d.ts +1 -34
  276. package/dist/form/TextFieldAddon.js +1 -16
  277. package/dist/form/TextFieldAddon.js.map +1 -1
  278. package/dist/form/TextFieldContainer.d.ts +13 -0
  279. package/dist/form/TextFieldContainer.js.map +1 -1
  280. package/dist/form/_form.scss +737 -10
  281. package/dist/form/fieldsetStyles.d.ts +19 -0
  282. package/dist/form/fieldsetStyles.js +14 -0
  283. package/dist/form/fieldsetStyles.js.map +1 -0
  284. package/dist/form/formConfig.js +22 -3
  285. package/dist/form/formConfig.js.map +1 -1
  286. package/dist/form/labelStyles.d.ts +5 -0
  287. package/dist/form/labelStyles.js +34 -0
  288. package/dist/form/labelStyles.js.map +1 -0
  289. package/dist/form/sliderStyles.d.ts +89 -0
  290. package/dist/form/sliderStyles.js +96 -0
  291. package/dist/form/sliderStyles.js.map +1 -0
  292. package/dist/form/switchStyles.d.ts +24 -6
  293. package/dist/form/switchStyles.js +18 -0
  294. package/dist/form/switchStyles.js.map +1 -1
  295. package/dist/form/textAreaStyles.d.ts +0 -6
  296. package/dist/form/textAreaStyles.js.map +1 -1
  297. package/dist/form/textFieldAddonStyles.d.ts +17 -0
  298. package/dist/form/textFieldAddonStyles.js +18 -0
  299. package/dist/form/textFieldAddonStyles.js.map +1 -0
  300. package/dist/form/textFieldContainerStyles.d.ts +0 -13
  301. package/dist/form/textFieldContainerStyles.js.map +1 -1
  302. package/dist/form/types.d.ts +23 -2
  303. package/dist/form/types.js.map +1 -1
  304. package/dist/form/useCheckboxGroup.d.ts +8 -0
  305. package/dist/form/useCheckboxGroup.js +6 -1
  306. package/dist/form/useCheckboxGroup.js.map +1 -1
  307. package/dist/form/useCombobox.d.ts +0 -1
  308. package/dist/form/useCombobox.js +66 -63
  309. package/dist/form/useCombobox.js.map +1 -1
  310. package/dist/form/useNumberField.d.ts +17 -7
  311. package/dist/form/useNumberField.js +2 -0
  312. package/dist/form/useNumberField.js.map +1 -1
  313. package/dist/form/useRadioGroup.d.ts +6 -0
  314. package/dist/form/useRadioGroup.js +3 -0
  315. package/dist/form/useRadioGroup.js.map +1 -1
  316. package/dist/form/useRangeSlider.d.ts +6 -1
  317. package/dist/form/useRangeSlider.js +6 -1
  318. package/dist/form/useRangeSlider.js.map +1 -1
  319. package/dist/form/useSlider.d.ts +4 -1
  320. package/dist/form/useSlider.js +4 -1
  321. package/dist/form/useSlider.js.map +1 -1
  322. package/dist/form/useTextField.d.ts +7 -1
  323. package/dist/form/useTextField.js +5 -1
  324. package/dist/form/useTextField.js.map +1 -1
  325. package/dist/form/validation.d.ts +1 -0
  326. package/dist/form/validation.js.map +1 -1
  327. package/dist/icon/FontIcon.d.ts +1 -0
  328. package/dist/icon/FontIcon.js +1 -0
  329. package/dist/icon/FontIcon.js.map +1 -1
  330. package/dist/icon/IconRotator.d.ts +2 -0
  331. package/dist/icon/IconRotator.js +2 -0
  332. package/dist/icon/IconRotator.js.map +1 -1
  333. package/dist/icon/MaterialIcon.d.ts +2 -0
  334. package/dist/icon/MaterialIcon.js +2 -0
  335. package/dist/icon/MaterialIcon.js.map +1 -1
  336. package/dist/icon/MaterialSymbol.d.ts +3 -1
  337. package/dist/icon/MaterialSymbol.js +3 -1
  338. package/dist/icon/MaterialSymbol.js.map +1 -1
  339. package/dist/icon/SVGIcon.d.ts +2 -0
  340. package/dist/icon/SVGIcon.js +2 -0
  341. package/dist/icon/SVGIcon.js.map +1 -1
  342. package/dist/icon/TextIconSpacing.d.ts +6 -2
  343. package/dist/icon/TextIconSpacing.js +6 -2
  344. package/dist/icon/TextIconSpacing.js.map +1 -1
  345. package/dist/icon/_icon.scss +137 -129
  346. package/dist/icon/config.d.ts +2 -2
  347. package/dist/icon/config.js +2 -2
  348. package/dist/icon/config.js.map +1 -1
  349. package/dist/icon/material.d.ts +1 -1
  350. package/dist/icon/material.js.map +1 -1
  351. package/dist/icon/styles.d.ts +2 -1
  352. package/dist/icon/styles.js.map +1 -1
  353. package/dist/interaction/Ripple.d.ts +11 -2
  354. package/dist/interaction/Ripple.js.map +1 -1
  355. package/dist/interaction/UserInteractionModeProvider.d.ts +1 -1
  356. package/dist/interaction/UserInteractionModeProvider.js +1 -1
  357. package/dist/interaction/UserInteractionModeProvider.js.map +1 -1
  358. package/dist/interaction/_interaction.scss +279 -13
  359. package/dist/layout/LayoutAppBar.d.ts +1 -0
  360. package/dist/layout/LayoutAppBar.js +1 -0
  361. package/dist/layout/LayoutAppBar.js.map +1 -1
  362. package/dist/layout/LayoutNav.d.ts +9 -12
  363. package/dist/layout/LayoutNav.js +9 -12
  364. package/dist/layout/LayoutNav.js.map +1 -1
  365. package/dist/layout/LayoutWindowSplitter.d.ts +7 -8
  366. package/dist/layout/LayoutWindowSplitter.js +7 -8
  367. package/dist/layout/LayoutWindowSplitter.js.map +1 -1
  368. package/dist/layout/Main.d.ts +2 -1
  369. package/dist/layout/Main.js +2 -1
  370. package/dist/layout/Main.js.map +1 -1
  371. package/dist/layout/_layout.scss +106 -23
  372. package/dist/layout/useExpandableLayout.d.ts +1 -0
  373. package/dist/layout/useExpandableLayout.js +1 -0
  374. package/dist/layout/useExpandableLayout.js.map +1 -1
  375. package/dist/layout/useHorizontalLayoutTransition.d.ts +9 -6
  376. package/dist/layout/useHorizontalLayoutTransition.js +4 -1
  377. package/dist/layout/useHorizontalLayoutTransition.js.map +1 -1
  378. package/dist/layout/useLayoutAppBarHeight.d.ts +7 -10
  379. package/dist/layout/useLayoutAppBarHeight.js +7 -10
  380. package/dist/layout/useLayoutAppBarHeight.js.map +1 -1
  381. package/dist/layout/useLayoutTree.d.ts +3 -0
  382. package/dist/layout/useLayoutTree.js +3 -0
  383. package/dist/layout/useLayoutTree.js.map +1 -1
  384. package/dist/layout/useLayoutWindowSplitter.d.ts +4 -2
  385. package/dist/layout/useLayoutWindowSplitter.js +4 -2
  386. package/dist/layout/useLayoutWindowSplitter.js.map +1 -1
  387. package/dist/layout/useResizableLayout.d.ts +1 -0
  388. package/dist/layout/useResizableLayout.js +3 -1
  389. package/dist/layout/useResizableLayout.js.map +1 -1
  390. package/dist/layout/useTemporaryLayout.d.ts +1 -0
  391. package/dist/layout/useTemporaryLayout.js +1 -0
  392. package/dist/layout/useTemporaryLayout.js.map +1 -1
  393. package/dist/link/Link.d.ts +3 -1
  394. package/dist/link/Link.js +3 -1
  395. package/dist/link/Link.js.map +1 -1
  396. package/dist/link/SkipToMainContent.d.ts +22 -0
  397. package/dist/link/SkipToMainContent.js +22 -0
  398. package/dist/link/SkipToMainContent.js.map +1 -1
  399. package/dist/link/_link.scss +55 -6
  400. package/dist/list/List.d.ts +11 -1
  401. package/dist/list/List.js +5 -1
  402. package/dist/list/List.js.map +1 -1
  403. package/dist/list/ListItem.d.ts +22 -2
  404. package/dist/list/ListItem.js +6 -2
  405. package/dist/list/ListItem.js.map +1 -1
  406. package/dist/list/ListItemChildren.d.ts +3 -1
  407. package/dist/list/ListItemChildren.js +3 -1
  408. package/dist/list/ListItemChildren.js.map +1 -1
  409. package/dist/list/ListItemLink.d.ts +32 -1
  410. package/dist/list/ListItemLink.js +32 -1
  411. package/dist/list/ListItemLink.js.map +1 -1
  412. package/dist/list/ListSubheader.d.ts +2 -0
  413. package/dist/list/ListSubheader.js +2 -0
  414. package/dist/list/ListSubheader.js.map +1 -1
  415. package/dist/list/_list.scss +224 -1
  416. package/dist/list/listItemStyles.d.ts +0 -16
  417. package/dist/list/listItemStyles.js.map +1 -1
  418. package/dist/list/listStyles.d.ts +0 -6
  419. package/dist/list/listStyles.js.map +1 -1
  420. package/dist/media-queries/AppSizeProvider.d.ts +2 -0
  421. package/dist/media-queries/AppSizeProvider.js +2 -0
  422. package/dist/media-queries/AppSizeProvider.js.map +1 -1
  423. package/dist/media-queries/_media-queries.scss +111 -4
  424. package/dist/media-queries/useMediaQuery.d.ts +2 -0
  425. package/dist/media-queries/useMediaQuery.js +2 -0
  426. package/dist/media-queries/useMediaQuery.js.map +1 -1
  427. package/dist/menu/DropdownMenu.d.ts +5 -2
  428. package/dist/menu/DropdownMenu.js +5 -2
  429. package/dist/menu/DropdownMenu.js.map +1 -1
  430. package/dist/menu/Menu.d.ts +1 -0
  431. package/dist/menu/Menu.js +1 -0
  432. package/dist/menu/Menu.js.map +1 -1
  433. package/dist/menu/MenuBar.d.ts +4 -1
  434. package/dist/menu/MenuBar.js +4 -1
  435. package/dist/menu/MenuBar.js.map +1 -1
  436. package/dist/menu/MenuButton.d.ts +1 -0
  437. package/dist/menu/MenuButton.js +1 -0
  438. package/dist/menu/MenuButton.js.map +1 -1
  439. package/dist/menu/MenuItem.d.ts +1 -0
  440. package/dist/menu/MenuItem.js +1 -0
  441. package/dist/menu/MenuItem.js.map +1 -1
  442. package/dist/menu/MenuItemCircularProgress.d.ts +4 -6
  443. package/dist/menu/MenuItemCircularProgress.js +4 -6
  444. package/dist/menu/MenuItemCircularProgress.js.map +1 -1
  445. package/dist/menu/MenuItemGroup.d.ts +6 -7
  446. package/dist/menu/MenuItemGroup.js +6 -7
  447. package/dist/menu/MenuItemGroup.js.map +1 -1
  448. package/dist/menu/MenuItemSeparator.d.ts +1 -0
  449. package/dist/menu/MenuItemSeparator.js +1 -0
  450. package/dist/menu/MenuItemSeparator.js.map +1 -1
  451. package/dist/menu/MenuWidget.d.ts +0 -12
  452. package/dist/menu/MenuWidget.js +1 -12
  453. package/dist/menu/MenuWidget.js.map +1 -1
  454. package/dist/menu/_menu.scss +61 -0
  455. package/dist/menu/styles.d.ts +12 -0
  456. package/dist/menu/styles.js +14 -0
  457. package/dist/menu/styles.js.map +1 -0
  458. package/dist/menu/useContextMenu.d.ts +4 -1
  459. package/dist/menu/useContextMenu.js +4 -1
  460. package/dist/menu/useContextMenu.js.map +1 -1
  461. package/dist/movement/useKeyboardMovementProvider.d.ts +3 -3
  462. package/dist/movement/useKeyboardMovementProvider.js +3 -3
  463. package/dist/movement/useKeyboardMovementProvider.js.map +1 -1
  464. package/dist/navigation/CollapsibleNavGroup.d.ts +1 -0
  465. package/dist/navigation/CollapsibleNavGroup.js +1 -0
  466. package/dist/navigation/CollapsibleNavGroup.js.map +1 -1
  467. package/dist/navigation/DefaultNavigationRenderer.d.ts +1 -0
  468. package/dist/navigation/DefaultNavigationRenderer.js +1 -0
  469. package/dist/navigation/DefaultNavigationRenderer.js.map +1 -1
  470. package/dist/navigation/NavGroup.d.ts +1 -0
  471. package/dist/navigation/NavGroup.js +1 -0
  472. package/dist/navigation/NavGroup.js.map +1 -1
  473. package/dist/navigation/NavItem.d.ts +1 -0
  474. package/dist/navigation/NavItem.js +1 -0
  475. package/dist/navigation/NavItem.js.map +1 -1
  476. package/dist/navigation/NavItemButton.d.ts +1 -0
  477. package/dist/navigation/NavItemButton.js +1 -0
  478. package/dist/navigation/NavItemButton.js.map +1 -1
  479. package/dist/navigation/NavItemLink.d.ts +1 -0
  480. package/dist/navigation/NavItemLink.js +1 -0
  481. package/dist/navigation/NavItemLink.js.map +1 -1
  482. package/dist/navigation/NavSubheader.d.ts +1 -0
  483. package/dist/navigation/NavSubheader.js +1 -0
  484. package/dist/navigation/NavSubheader.js.map +1 -1
  485. package/dist/navigation/Navigation.d.ts +44 -0
  486. package/dist/navigation/Navigation.js +44 -0
  487. package/dist/navigation/Navigation.js.map +1 -1
  488. package/dist/navigation/_navigation.scss +47 -5
  489. package/dist/navigation/getTableOfContentsHeadings.d.ts +20 -0
  490. package/dist/navigation/getTableOfContentsHeadings.js +53 -0
  491. package/dist/navigation/getTableOfContentsHeadings.js.map +1 -0
  492. package/dist/navigation/navItemStyles.js +1 -1
  493. package/dist/navigation/navItemStyles.js.map +1 -1
  494. package/dist/navigation/types.d.ts +47 -0
  495. package/dist/navigation/types.js +1 -3
  496. package/dist/navigation/types.js.map +1 -1
  497. package/dist/navigation/useActiveHeadingId.d.ts +2 -12
  498. package/dist/navigation/useActiveHeadingId.js +1 -0
  499. package/dist/navigation/useActiveHeadingId.js.map +1 -1
  500. package/dist/navigation/useNavigationExpansion.d.ts +2 -0
  501. package/dist/navigation/useNavigationExpansion.js +2 -0
  502. package/dist/navigation/useNavigationExpansion.js.map +1 -1
  503. package/dist/navigation/useTableOfContentsHeadings.d.ts +3 -37
  504. package/dist/navigation/useTableOfContentsHeadings.js +18 -41
  505. package/dist/navigation/useTableOfContentsHeadings.js.map +1 -1
  506. package/dist/overlay/Overlay.d.ts +10 -1
  507. package/dist/overlay/Overlay.js +5 -2
  508. package/dist/overlay/Overlay.js.map +1 -1
  509. package/dist/overlay/_overlay.scss +35 -0
  510. package/dist/overlay/{overlayStyles.d.ts → styles.d.ts} +0 -6
  511. package/dist/overlay/{overlayStyles.js → styles.js} +1 -1
  512. package/dist/overlay/styles.js.map +1 -0
  513. package/dist/portal/Portal.d.ts +1 -0
  514. package/dist/portal/Portal.js +1 -0
  515. package/dist/portal/Portal.js.map +1 -1
  516. package/dist/portal/PortalContainerProvider.d.ts +1 -0
  517. package/dist/portal/PortalContainerProvider.js +1 -0
  518. package/dist/portal/PortalContainerProvider.js.map +1 -1
  519. package/dist/positioning/createHorizontalPosition.d.ts +6 -6
  520. package/dist/positioning/createHorizontalPosition.js +12 -12
  521. package/dist/positioning/createHorizontalPosition.js.map +1 -1
  522. package/dist/positioning/createVerticalPosition.d.ts +6 -6
  523. package/dist/positioning/createVerticalPosition.js +2 -2
  524. package/dist/positioning/createVerticalPosition.js.map +1 -1
  525. package/dist/positioning/useFixedPositioning.d.ts +1 -0
  526. package/dist/positioning/useFixedPositioning.js +1 -0
  527. package/dist/positioning/useFixedPositioning.js.map +1 -1
  528. package/dist/progress/CircularProgress.d.ts +3 -2
  529. package/dist/progress/CircularProgress.js +3 -2
  530. package/dist/progress/CircularProgress.js.map +1 -1
  531. package/dist/progress/LinearProgress.d.ts +3 -2
  532. package/dist/progress/LinearProgress.js +3 -2
  533. package/dist/progress/LinearProgress.js.map +1 -1
  534. package/dist/progress/_progress.scss +164 -38
  535. package/dist/responsive-item/ResponsiveItem.d.ts +4 -3
  536. package/dist/responsive-item/ResponsiveItem.js +4 -3
  537. package/dist/responsive-item/ResponsiveItem.js.map +1 -1
  538. package/dist/responsive-item/ResponsiveItemOverlay.d.ts +6 -4
  539. package/dist/responsive-item/ResponsiveItemOverlay.js +6 -4
  540. package/dist/responsive-item/ResponsiveItemOverlay.js.map +1 -1
  541. package/dist/responsive-item/_responsive-item.scss +89 -0
  542. package/dist/scroll/useScrollLock.d.ts +1 -0
  543. package/dist/scroll/useScrollLock.js +1 -0
  544. package/dist/scroll/useScrollLock.js.map +1 -1
  545. package/dist/searching/fuzzy.d.ts +2 -1
  546. package/dist/searching/fuzzy.js +2 -1
  547. package/dist/searching/fuzzy.js.map +1 -1
  548. package/dist/segmented-button/SegmentedButton.d.ts +3 -4
  549. package/dist/segmented-button/SegmentedButton.js +3 -4
  550. package/dist/segmented-button/SegmentedButton.js.map +1 -1
  551. package/dist/segmented-button/SegmentedButtonContainer.d.ts +5 -6
  552. package/dist/segmented-button/SegmentedButtonContainer.js +7 -8
  553. package/dist/segmented-button/SegmentedButtonContainer.js.map +1 -1
  554. package/dist/segmented-button/_segmented-button.scss +79 -33
  555. package/dist/segmented-button/segmentedButtonContainerStyles.d.ts +1 -1
  556. package/dist/segmented-button/segmentedButtonContainerStyles.js +1 -1
  557. package/dist/segmented-button/segmentedButtonContainerStyles.js.map +1 -1
  558. package/dist/sheet/Sheet.d.ts +14 -0
  559. package/dist/sheet/Sheet.js +2 -0
  560. package/dist/sheet/Sheet.js.map +1 -1
  561. package/dist/sheet/_sheet.scss +84 -0
  562. package/dist/sheet/styles.d.ts +19 -15
  563. package/dist/sheet/styles.js +6 -2
  564. package/dist/sheet/styles.js.map +1 -1
  565. package/dist/snackbar/DefaultToastRenderer.d.ts +1 -0
  566. package/dist/snackbar/DefaultToastRenderer.js +1 -0
  567. package/dist/snackbar/DefaultToastRenderer.js.map +1 -1
  568. package/dist/snackbar/Snackbar.d.ts +10 -9
  569. package/dist/snackbar/Snackbar.js +4 -1
  570. package/dist/snackbar/Snackbar.js.map +1 -1
  571. package/dist/snackbar/Toast.d.ts +8 -0
  572. package/dist/snackbar/Toast.js +1 -0
  573. package/dist/snackbar/Toast.js.map +1 -1
  574. package/dist/snackbar/ToastActionButton.d.ts +2 -1
  575. package/dist/snackbar/ToastActionButton.js +1 -0
  576. package/dist/snackbar/ToastActionButton.js.map +1 -1
  577. package/dist/snackbar/ToastCloseButton.d.ts +2 -1
  578. package/dist/snackbar/ToastCloseButton.js +1 -0
  579. package/dist/snackbar/ToastCloseButton.js.map +1 -1
  580. package/dist/snackbar/ToastContent.d.ts +1 -0
  581. package/dist/snackbar/ToastContent.js +1 -0
  582. package/dist/snackbar/ToastContent.js.map +1 -1
  583. package/dist/snackbar/ToastManager.d.ts +1 -1
  584. package/dist/snackbar/ToastManager.js +1 -1
  585. package/dist/snackbar/ToastManager.js.map +1 -1
  586. package/dist/snackbar/ToastManagerProvider.d.ts +1 -0
  587. package/dist/snackbar/ToastManagerProvider.js +1 -0
  588. package/dist/snackbar/ToastManagerProvider.js.map +1 -1
  589. package/dist/snackbar/_snackbar.scss +131 -3
  590. package/dist/snackbar/toastStyles.d.ts +0 -7
  591. package/dist/snackbar/toastStyles.js.map +1 -1
  592. package/dist/snackbar/useCurrentToastActions.d.ts +1 -0
  593. package/dist/snackbar/useCurrentToastActions.js +1 -0
  594. package/dist/snackbar/useCurrentToastActions.js.map +1 -1
  595. package/dist/storage/useStorage.d.ts +1 -0
  596. package/dist/storage/useStorage.js +1 -0
  597. package/dist/storage/useStorage.js.map +1 -1
  598. package/dist/suspense/CircularProgressSuspense.d.ts +2 -1
  599. package/dist/suspense/CircularProgressSuspense.js +2 -1
  600. package/dist/suspense/CircularProgressSuspense.js.map +1 -1
  601. package/dist/suspense/NullSuspense.d.ts +2 -1
  602. package/dist/suspense/NullSuspense.js +2 -1
  603. package/dist/suspense/NullSuspense.js.map +1 -1
  604. package/dist/table/StickyTableSection.d.ts +2 -0
  605. package/dist/table/StickyTableSection.js +2 -0
  606. package/dist/table/StickyTableSection.js.map +1 -1
  607. package/dist/table/Table.d.ts +8 -8
  608. package/dist/table/Table.js +8 -8
  609. package/dist/table/Table.js.map +1 -1
  610. package/dist/table/TableBody.d.ts +2 -0
  611. package/dist/table/TableBody.js +2 -0
  612. package/dist/table/TableBody.js.map +1 -1
  613. package/dist/table/TableCell.d.ts +6 -2
  614. package/dist/table/TableCell.js +2 -0
  615. package/dist/table/TableCell.js.map +1 -1
  616. package/dist/table/TableCheckbox.d.ts +11 -12
  617. package/dist/table/TableCheckbox.js +10 -11
  618. package/dist/table/TableCheckbox.js.map +1 -1
  619. package/dist/table/TableConfigurationProvider.js +1 -1
  620. package/dist/table/TableConfigurationProvider.js.map +1 -1
  621. package/dist/table/TableContainer.d.ts +2 -0
  622. package/dist/table/TableContainer.js +2 -0
  623. package/dist/table/TableContainer.js.map +1 -1
  624. package/dist/table/TableContainerProvider.js +1 -1
  625. package/dist/table/TableContainerProvider.js.map +1 -1
  626. package/dist/table/TableFooter.d.ts +2 -0
  627. package/dist/table/TableFooter.js +2 -0
  628. package/dist/table/TableFooter.js.map +1 -1
  629. package/dist/table/TableHeader.d.ts +2 -0
  630. package/dist/table/TableHeader.js +2 -0
  631. package/dist/table/TableHeader.js.map +1 -1
  632. package/dist/table/TableRadio.d.ts +13 -13
  633. package/dist/table/TableRadio.js +10 -10
  634. package/dist/table/TableRadio.js.map +1 -1
  635. package/dist/table/TableRow.d.ts +2 -0
  636. package/dist/table/TableRow.js +2 -0
  637. package/dist/table/TableRow.js.map +1 -1
  638. package/dist/table/_table.scss +209 -11
  639. package/dist/table/tableCellStyles.js +3 -2
  640. package/dist/table/tableCellStyles.js.map +1 -1
  641. package/dist/tabs/SimpleTabPanel.d.ts +2 -0
  642. package/dist/tabs/SimpleTabPanel.js +2 -0
  643. package/dist/tabs/SimpleTabPanel.js.map +1 -1
  644. package/dist/tabs/SimpleTabPanels.d.ts +2 -0
  645. package/dist/tabs/SimpleTabPanels.js +2 -0
  646. package/dist/tabs/SimpleTabPanels.js.map +1 -1
  647. package/dist/tabs/Tab.d.ts +19 -1
  648. package/dist/tabs/Tab.js +1 -1
  649. package/dist/tabs/Tab.js.map +1 -1
  650. package/dist/tabs/TabList.d.ts +1 -1
  651. package/dist/tabs/TabList.js +1 -1
  652. package/dist/tabs/TabList.js.map +1 -1
  653. package/dist/tabs/TabListScrollButton.d.ts +1 -1
  654. package/dist/tabs/TabListScrollButton.js.map +1 -1
  655. package/dist/tabs/_tabs.scss +142 -5
  656. package/dist/tabs/tabStyles.d.ts +0 -18
  657. package/dist/tabs/tabStyles.js.map +1 -1
  658. package/dist/tabs/useTabs.d.ts +4 -0
  659. package/dist/tabs/useTabs.js +3 -2
  660. package/dist/tabs/useTabs.js.map +1 -1
  661. package/dist/test-utils/jest-globals/match-media.d.ts +1 -2
  662. package/dist/test-utils/jest-globals/match-media.js +1 -1
  663. package/dist/test-utils/jest-globals/match-media.js.map +1 -1
  664. package/dist/test-utils/jest-globals/resize-observer.js +2 -2
  665. package/dist/test-utils/jest-globals/resize-observer.js.map +1 -1
  666. package/dist/test-utils/mocks/ResizeObserver.d.ts +7 -7
  667. package/dist/test-utils/mocks/ResizeObserver.js +7 -7
  668. package/dist/test-utils/mocks/ResizeObserver.js.map +1 -1
  669. package/dist/test-utils/mocks/match-media.d.ts +31 -0
  670. package/dist/test-utils/mocks/match-media.js.map +1 -1
  671. package/dist/test-utils/utils/createMatchMediaSpy.d.ts +40 -0
  672. package/dist/test-utils/{mocks/match-media-implementation.js → utils/createMatchMediaSpy.js} +33 -4
  673. package/dist/test-utils/utils/createMatchMediaSpy.js.map +1 -0
  674. package/dist/test-utils/vitest/match-media.d.ts +1 -2
  675. package/dist/test-utils/vitest/match-media.js +1 -1
  676. package/dist/test-utils/vitest/match-media.js.map +1 -1
  677. package/dist/test-utils/vitest/resize-observer.js +2 -2
  678. package/dist/test-utils/vitest/resize-observer.js.map +1 -1
  679. package/dist/theme/LocalStorageColorSchemeProvider.d.ts +6 -6
  680. package/dist/theme/LocalStorageColorSchemeProvider.js +6 -6
  681. package/dist/theme/LocalStorageColorSchemeProvider.js.map +1 -1
  682. package/dist/theme/ThemeProvider.d.ts +10 -11
  683. package/dist/theme/ThemeProvider.js +7 -9
  684. package/dist/theme/ThemeProvider.js.map +1 -1
  685. package/dist/theme/_a11y.scss +62 -62
  686. package/dist/theme/_colors.scss +283 -279
  687. package/dist/theme/_theme.scss +298 -249
  688. package/dist/theme/colors.d.ts +2 -2
  689. package/dist/theme/colors.js +2 -2
  690. package/dist/theme/colors.js.map +1 -1
  691. package/dist/theme/useColorScheme.d.ts +1 -1
  692. package/dist/theme/useColorScheme.js +1 -1
  693. package/dist/theme/useColorScheme.js.map +1 -1
  694. package/dist/tooltip/Tooltip.d.ts +12 -1
  695. package/dist/tooltip/Tooltip.js +6 -2
  696. package/dist/tooltip/Tooltip.js.map +1 -1
  697. package/dist/tooltip/TooltipHoverModeProvider.d.ts +1 -0
  698. package/dist/tooltip/TooltipHoverModeProvider.js +1 -0
  699. package/dist/tooltip/TooltipHoverModeProvider.js.map +1 -1
  700. package/dist/tooltip/_tooltip.scss +109 -5
  701. package/dist/tooltip/constants.d.ts +13 -3
  702. package/dist/tooltip/constants.js +4 -4
  703. package/dist/tooltip/constants.js.map +1 -1
  704. package/dist/tooltip/{tooltipStyles.d.ts → styles.d.ts} +1 -1
  705. package/dist/tooltip/{tooltipStyles.js → styles.js} +1 -1
  706. package/dist/tooltip/styles.js.map +1 -0
  707. package/dist/tooltip/useTooltip.d.ts +8 -15
  708. package/dist/tooltip/useTooltip.js +8 -8
  709. package/dist/tooltip/useTooltip.js.map +1 -1
  710. package/dist/transition/CSSTransition.d.ts +3 -1
  711. package/dist/transition/CSSTransition.js +3 -1
  712. package/dist/transition/CSSTransition.js.map +1 -1
  713. package/dist/transition/Collapse.d.ts +1 -0
  714. package/dist/transition/Collapse.js +1 -0
  715. package/dist/transition/Collapse.js.map +1 -1
  716. package/dist/transition/CrossFade.d.ts +1 -0
  717. package/dist/transition/CrossFade.js +1 -0
  718. package/dist/transition/CrossFade.js.map +1 -1
  719. package/dist/transition/ScaleTransition.d.ts +4 -1
  720. package/dist/transition/ScaleTransition.js +4 -1
  721. package/dist/transition/ScaleTransition.js.map +1 -1
  722. package/dist/transition/SkeletonPlaceholder.d.ts +3 -2
  723. package/dist/transition/SkeletonPlaceholder.js +3 -2
  724. package/dist/transition/SkeletonPlaceholder.js.map +1 -1
  725. package/dist/transition/Slide.d.ts +1 -0
  726. package/dist/transition/Slide.js +1 -0
  727. package/dist/transition/Slide.js.map +1 -1
  728. package/dist/transition/SlideContainer.d.ts +10 -7
  729. package/dist/transition/SlideContainer.js +12 -8
  730. package/dist/transition/SlideContainer.js.map +1 -1
  731. package/dist/transition/_transition.scss +178 -6
  732. package/dist/transition/getTransitionCallbacks.d.ts +76 -0
  733. package/dist/transition/getTransitionCallbacks.js +57 -0
  734. package/dist/transition/getTransitionCallbacks.js.map +1 -0
  735. package/dist/transition/skeletonPlaceholderUtils.d.ts +4 -1
  736. package/dist/transition/skeletonPlaceholderUtils.js +4 -1
  737. package/dist/transition/skeletonPlaceholderUtils.js.map +1 -1
  738. package/dist/transition/types.d.ts +26 -1
  739. package/dist/transition/types.js.map +1 -1
  740. package/dist/transition/useCSSTransition.d.ts +2 -0
  741. package/dist/transition/useCSSTransition.js +2 -0
  742. package/dist/transition/useCSSTransition.js.map +1 -1
  743. package/dist/transition/useCarousel.d.ts +6 -2
  744. package/dist/transition/useCarousel.js +11 -7
  745. package/dist/transition/useCarousel.js.map +1 -1
  746. package/dist/transition/useCollapseTransition.d.ts +7 -2
  747. package/dist/transition/useCollapseTransition.js +2 -0
  748. package/dist/transition/useCollapseTransition.js.map +1 -1
  749. package/dist/transition/useCrossFadeTransition.d.ts +22 -45
  750. package/dist/transition/useCrossFadeTransition.js +17 -49
  751. package/dist/transition/useCrossFadeTransition.js.map +1 -1
  752. package/dist/transition/useScaleTransition.d.ts +22 -16
  753. package/dist/transition/useScaleTransition.js +20 -14
  754. package/dist/transition/useScaleTransition.js.map +1 -1
  755. package/dist/transition/useSkeletonPlaceholder.d.ts +6 -3
  756. package/dist/transition/useSkeletonPlaceholder.js +3 -0
  757. package/dist/transition/useSkeletonPlaceholder.js.map +1 -1
  758. package/dist/transition/useSlideTransition.d.ts +9 -3
  759. package/dist/transition/useSlideTransition.js +1 -0
  760. package/dist/transition/useSlideTransition.js.map +1 -1
  761. package/dist/transition/useTransition.d.ts +1 -0
  762. package/dist/transition/useTransition.js +3 -2
  763. package/dist/transition/useTransition.js.map +1 -1
  764. package/dist/tree/DefaultTreeItemRenderer.d.ts +1 -0
  765. package/dist/tree/DefaultTreeItemRenderer.js +1 -0
  766. package/dist/tree/DefaultTreeItemRenderer.js.map +1 -1
  767. package/dist/tree/Tree.d.ts +8 -9
  768. package/dist/tree/Tree.js +4 -3
  769. package/dist/tree/Tree.js.map +1 -1
  770. package/dist/tree/TreeItem.d.ts +1 -0
  771. package/dist/tree/TreeItem.js +1 -0
  772. package/dist/tree/TreeItem.js.map +1 -1
  773. package/dist/tree/_tree.scss +71 -1
  774. package/dist/tree/types.d.ts +1 -1
  775. package/dist/tree/types.js.map +1 -1
  776. package/dist/tree/useTree.d.ts +4 -2
  777. package/dist/tree/useTree.js +4 -2
  778. package/dist/tree/useTree.js.map +1 -1
  779. package/dist/tree/useTreeExpansion.d.ts +1 -0
  780. package/dist/tree/useTreeExpansion.js +1 -0
  781. package/dist/tree/useTreeExpansion.js.map +1 -1
  782. package/dist/tree/useTreeItems.d.ts +1 -0
  783. package/dist/tree/useTreeItems.js +1 -0
  784. package/dist/tree/useTreeItems.js.map +1 -1
  785. package/dist/tree/useTreeSelection.d.ts +1 -0
  786. package/dist/tree/useTreeSelection.js +1 -0
  787. package/dist/tree/useTreeSelection.js.map +1 -1
  788. package/dist/types.d.ts +1 -1
  789. package/dist/types.js.map +1 -1
  790. package/dist/typography/HighlightText.d.ts +76 -0
  791. package/dist/typography/HighlightText.js +60 -0
  792. package/dist/typography/HighlightText.js.map +1 -0
  793. package/dist/typography/HighlightTextMark.d.ts +16 -0
  794. package/dist/typography/HighlightTextMark.js +16 -0
  795. package/dist/typography/HighlightTextMark.js.map +1 -0
  796. package/dist/typography/Mark.d.ts +27 -0
  797. package/dist/typography/Mark.js +34 -0
  798. package/dist/typography/Mark.js.map +1 -0
  799. package/dist/typography/SrOnly.d.ts +3 -1
  800. package/dist/typography/SrOnly.js +3 -1
  801. package/dist/typography/SrOnly.js.map +1 -1
  802. package/dist/typography/TextContainer.d.ts +9 -1
  803. package/dist/typography/TextContainer.js +3 -1
  804. package/dist/typography/TextContainer.js.map +1 -1
  805. package/dist/typography/Typography.d.ts +2 -1
  806. package/dist/typography/Typography.js +2 -1
  807. package/dist/typography/Typography.js.map +1 -1
  808. package/dist/typography/WritingDirectionProvider.d.ts +8 -8
  809. package/dist/typography/WritingDirectionProvider.js +8 -8
  810. package/dist/typography/WritingDirectionProvider.js.map +1 -1
  811. package/dist/typography/_typography.scss +392 -51
  812. package/dist/typography/markStyles.d.ts +10 -0
  813. package/dist/typography/markStyles.js +11 -0
  814. package/dist/typography/markStyles.js.map +1 -0
  815. package/dist/typography/textContainerStyles.d.ts +2 -7
  816. package/dist/typography/textContainerStyles.js +2 -1
  817. package/dist/typography/textContainerStyles.js.map +1 -1
  818. package/dist/typography/typographyStyles.d.ts +2 -2
  819. package/dist/typography/typographyStyles.js +2 -2
  820. package/dist/typography/typographyStyles.js.map +1 -1
  821. package/dist/useAsyncFunction.d.ts +10 -68
  822. package/dist/useAsyncFunction.js +9 -67
  823. package/dist/useAsyncFunction.js.map +1 -1
  824. package/dist/useDebouncedFunction.d.ts +3 -1
  825. package/dist/useDebouncedFunction.js +3 -1
  826. package/dist/useDebouncedFunction.js.map +1 -1
  827. package/dist/useDropzone.d.ts +3 -2
  828. package/dist/useDropzone.js +3 -2
  829. package/dist/useDropzone.js.map +1 -1
  830. package/dist/useThrottledFunction.d.ts +3 -1
  831. package/dist/useThrottledFunction.js +3 -1
  832. package/dist/useThrottledFunction.js.map +1 -1
  833. package/dist/useUnmounted.d.ts +1 -1
  834. package/dist/useUnmounted.js +1 -1
  835. package/dist/useUnmounted.js.map +1 -1
  836. package/dist/utils/RenderRecursively.d.ts +1 -0
  837. package/dist/utils/RenderRecursively.js +1 -0
  838. package/dist/utils/RenderRecursively.js.map +1 -1
  839. package/dist/utils/applyRef.d.ts +1 -1
  840. package/dist/utils/applyRef.js +1 -1
  841. package/dist/utils/applyRef.js.map +1 -1
  842. package/dist/window-splitter/WindowSplitter.d.ts +11 -0
  843. package/dist/window-splitter/WindowSplitter.js +1 -0
  844. package/dist/window-splitter/WindowSplitter.js.map +1 -1
  845. package/dist/window-splitter/_window-splitter.scss +46 -0
  846. package/dist/window-splitter/useWindowSplitter.d.ts +0 -10
  847. package/dist/window-splitter/useWindowSplitter.js.map +1 -1
  848. package/package.json +43 -17
  849. package/src/CoreProviders.tsx +1 -0
  850. package/src/NoSsr.tsx +3 -1
  851. package/src/RootHtml.tsx +1 -1
  852. package/src/SsrProvider.tsx +1 -0
  853. package/src/app-bar/AppBar.tsx +3 -1
  854. package/src/app-bar/AppBarTitle.tsx +2 -1
  855. package/src/autocomplete/Autocomplete.tsx +85 -3
  856. package/src/autocomplete/AutocompleteChip.tsx +1 -0
  857. package/src/autocomplete/AutocompleteCircularProgress.tsx +1 -0
  858. package/src/autocomplete/AutocompleteClearButton.tsx +3 -1
  859. package/src/autocomplete/AutocompleteDropdownButton.tsx +1 -0
  860. package/src/autocomplete/AutocompleteListboxChildren.tsx +2 -3
  861. package/src/autocomplete/autocompleteStyles.ts +11 -2
  862. package/src/autocomplete/types.ts +140 -86
  863. package/src/autocomplete/useAutocomplete.ts +21 -26
  864. package/src/autocomplete/utils.ts +6 -8
  865. package/src/avatar/Avatar.tsx +2 -1
  866. package/src/badge/Badge.tsx +8 -4
  867. package/src/box/Box.tsx +4 -3
  868. package/src/button/AsyncButton.tsx +4 -3
  869. package/src/button/Button.tsx +11 -9
  870. package/src/button/ButtonUnstyled.tsx +2 -1
  871. package/src/button/TooltippedButton.tsx +3 -2
  872. package/src/button/{buttonStyles.ts → styles.ts} +18 -0
  873. package/src/card/Card.tsx +9 -10
  874. package/src/card/CardContent.tsx +1 -0
  875. package/src/card/CardFooter.tsx +1 -0
  876. package/src/card/CardHeader.tsx +1 -0
  877. package/src/card/CardSubtitle.tsx +1 -0
  878. package/src/card/CardTitle.tsx +2 -1
  879. package/src/card/ClickableCard.tsx +3 -1
  880. package/src/chip/Chip.tsx +5 -3
  881. package/src/cssUtils.ts +1 -1
  882. package/src/dialog/Dialog.tsx +9 -10
  883. package/src/dialog/DialogContent.tsx +5 -5
  884. package/src/dialog/DialogFooter.tsx +5 -2
  885. package/src/dialog/DialogHeader.tsx +31 -5
  886. package/src/dialog/DialogTitle.tsx +8 -7
  887. package/src/dialog/FixedDialog.tsx +13 -12
  888. package/src/dialog/styles.ts +16 -10
  889. package/src/divider/Divider.tsx +3 -1
  890. package/src/divider/styles.ts +2 -2
  891. package/src/draggable/useDraggable.ts +1 -0
  892. package/src/error-boundary/ErrorBoundary.tsx +103 -0
  893. package/src/error-boundary/context.ts +16 -0
  894. package/src/error-boundary/types.ts +19 -0
  895. package/src/error-boundary/useErrorBoundary.ts +36 -0
  896. package/src/expansion-panel/ExpansionList.tsx +1 -0
  897. package/src/expansion-panel/ExpansionPanel.tsx +32 -0
  898. package/src/expansion-panel/ExpansionPanelHeader.tsx +10 -10
  899. package/src/expansion-panel/expansionPanelStyles.ts +33 -0
  900. package/src/expansion-panel/useExpansionList.ts +7 -8
  901. package/src/expansion-panel/useExpansionPanels.ts +7 -10
  902. package/src/files/FileInput.tsx +4 -2
  903. package/src/files/styles.ts +1 -1
  904. package/src/files/useFileUpload.ts +2 -0
  905. package/src/focus/useFocusContainer.ts +29 -43
  906. package/src/form/Checkbox.tsx +3 -1
  907. package/src/form/Fieldset.tsx +6 -35
  908. package/src/form/Form.tsx +2 -0
  909. package/src/form/FormMessage.tsx +2 -0
  910. package/src/form/FormMessageContainer.tsx +1 -0
  911. package/src/form/FormMessageCounter.tsx +2 -0
  912. package/src/form/InputToggle.tsx +4 -2
  913. package/src/form/Label.tsx +5 -54
  914. package/src/form/Legend.tsx +1 -0
  915. package/src/form/Listbox.tsx +1 -1
  916. package/src/form/MenuItemCheckbox.tsx +3 -1
  917. package/src/form/MenuItemFileInput.tsx +1 -0
  918. package/src/form/MenuItemInputToggle.tsx +3 -2
  919. package/src/form/MenuItemRadio.tsx +8 -8
  920. package/src/form/MenuItemSwitch.tsx +3 -1
  921. package/src/form/MenuItemTextField.tsx +1 -0
  922. package/src/form/NativeSelect.tsx +2 -0
  923. package/src/form/OptGroup.tsx +4 -1
  924. package/src/form/Option.tsx +2 -1
  925. package/src/form/Password.tsx +3 -1
  926. package/src/form/Radio.tsx +2 -0
  927. package/src/form/Select.tsx +6 -29
  928. package/src/form/Slider.tsx +9 -2
  929. package/src/form/SliderContainer.tsx +7 -15
  930. package/src/form/SliderMark.tsx +2 -13
  931. package/src/form/SliderMarkLabel.tsx +2 -5
  932. package/src/form/SliderThumb.tsx +2 -50
  933. package/src/form/SliderTrack.tsx +8 -18
  934. package/src/form/SliderValueTooltip.tsx +2 -10
  935. package/src/form/Switch.tsx +10 -1
  936. package/src/form/SwitchTrack.tsx +3 -6
  937. package/src/form/TextArea.tsx +10 -1
  938. package/src/form/TextField.tsx +3 -1
  939. package/src/form/TextFieldAddon.tsx +2 -59
  940. package/src/form/TextFieldContainer.tsx +14 -0
  941. package/src/form/fieldsetStyles.ts +35 -0
  942. package/src/form/formConfig.ts +29 -4
  943. package/src/form/labelStyles.ts +55 -0
  944. package/src/form/sliderStyles.ts +204 -0
  945. package/src/form/switchStyles.ts +36 -7
  946. package/src/form/textAreaStyles.ts +0 -7
  947. package/src/form/textFieldAddonStyles.ts +41 -0
  948. package/src/form/textFieldContainerStyles.ts +0 -14
  949. package/src/form/types.ts +25 -2
  950. package/src/form/useCheckboxGroup.ts +14 -0
  951. package/src/form/useCombobox.ts +78 -84
  952. package/src/form/useNumberField.ts +19 -7
  953. package/src/form/useRadioGroup.ts +9 -0
  954. package/src/form/useRangeSlider.ts +6 -1
  955. package/src/form/useSlider.ts +4 -1
  956. package/src/form/useTextField.ts +12 -1
  957. package/src/form/validation.ts +1 -0
  958. package/src/icon/FontIcon.tsx +1 -0
  959. package/src/icon/IconRotator.tsx +2 -0
  960. package/src/icon/MaterialIcon.tsx +2 -0
  961. package/src/icon/MaterialSymbol.tsx +3 -1
  962. package/src/icon/SVGIcon.tsx +2 -0
  963. package/src/icon/TextIconSpacing.tsx +6 -2
  964. package/src/icon/config.tsx +2 -2
  965. package/src/icon/material.ts +260 -17
  966. package/src/icon/styles.ts +5 -1
  967. package/src/interaction/Ripple.tsx +4 -4
  968. package/src/interaction/UserInteractionModeProvider.tsx +1 -1
  969. package/src/layout/LayoutAppBar.tsx +1 -0
  970. package/src/layout/LayoutNav.tsx +9 -12
  971. package/src/layout/LayoutWindowSplitter.tsx +7 -8
  972. package/src/layout/Main.tsx +2 -1
  973. package/src/layout/useExpandableLayout.ts +1 -0
  974. package/src/layout/useHorizontalLayoutTransition.ts +5 -2
  975. package/src/layout/useLayoutAppBarHeight.ts +7 -10
  976. package/src/layout/useLayoutTree.ts +3 -0
  977. package/src/layout/useLayoutWindowSplitter.ts +4 -2
  978. package/src/layout/useResizableLayout.ts +3 -0
  979. package/src/layout/useTemporaryLayout.ts +1 -0
  980. package/src/link/Link.tsx +3 -1
  981. package/src/link/SkipToMainContent.tsx +22 -0
  982. package/src/list/List.tsx +12 -1
  983. package/src/list/ListItem.tsx +23 -2
  984. package/src/list/ListItemChildren.tsx +3 -1
  985. package/src/list/ListItemLink.tsx +32 -1
  986. package/src/list/ListSubheader.tsx +2 -0
  987. package/src/list/listItemStyles.ts +0 -17
  988. package/src/list/listStyles.ts +0 -7
  989. package/src/media-queries/AppSizeProvider.tsx +2 -0
  990. package/src/media-queries/useMediaQuery.ts +2 -0
  991. package/src/menu/DropdownMenu.tsx +5 -2
  992. package/src/menu/Menu.tsx +1 -0
  993. package/src/menu/MenuBar.tsx +4 -1
  994. package/src/menu/MenuButton.tsx +1 -0
  995. package/src/menu/MenuItem.tsx +1 -0
  996. package/src/menu/MenuItemCircularProgress.tsx +4 -6
  997. package/src/menu/MenuItemGroup.tsx +6 -7
  998. package/src/menu/MenuItemSeparator.tsx +1 -0
  999. package/src/menu/MenuWidget.tsx +1 -21
  1000. package/src/menu/styles.ts +23 -0
  1001. package/src/menu/useContextMenu.ts +4 -1
  1002. package/src/movement/useKeyboardMovementProvider.ts +3 -3
  1003. package/src/navigation/CollapsibleNavGroup.tsx +1 -0
  1004. package/src/navigation/DefaultNavigationRenderer.tsx +1 -0
  1005. package/src/navigation/NavGroup.tsx +1 -0
  1006. package/src/navigation/NavItem.tsx +1 -0
  1007. package/src/navigation/NavItemButton.tsx +1 -0
  1008. package/src/navigation/NavItemLink.tsx +1 -0
  1009. package/src/navigation/NavSubheader.tsx +1 -0
  1010. package/src/navigation/Navigation.tsx +44 -0
  1011. package/src/navigation/getTableOfContentsHeadings.ts +70 -0
  1012. package/src/navigation/navItemStyles.ts +1 -1
  1013. package/src/navigation/types.ts +57 -0
  1014. package/src/navigation/useActiveHeadingId.ts +3 -15
  1015. package/src/navigation/useNavigationExpansion.ts +2 -0
  1016. package/src/navigation/useTableOfContentsHeadings.ts +22 -89
  1017. package/src/overlay/Overlay.tsx +12 -2
  1018. package/src/overlay/{overlayStyles.ts → styles.ts} +1 -7
  1019. package/src/portal/Portal.tsx +1 -0
  1020. package/src/portal/PortalContainerProvider.tsx +1 -0
  1021. package/src/positioning/createHorizontalPosition.ts +25 -19
  1022. package/src/positioning/createVerticalPosition.ts +10 -8
  1023. package/src/positioning/useFixedPositioning.ts +1 -0
  1024. package/src/progress/CircularProgress.tsx +3 -2
  1025. package/src/progress/LinearProgress.tsx +3 -2
  1026. package/src/responsive-item/ResponsiveItem.tsx +4 -3
  1027. package/src/responsive-item/ResponsiveItemOverlay.tsx +6 -4
  1028. package/src/scroll/useScrollLock.ts +1 -0
  1029. package/src/searching/fuzzy.ts +2 -1
  1030. package/src/segmented-button/SegmentedButton.tsx +3 -4
  1031. package/src/segmented-button/SegmentedButtonContainer.tsx +7 -8
  1032. package/src/segmented-button/segmentedButtonContainerStyles.ts +1 -1
  1033. package/src/sheet/Sheet.tsx +15 -0
  1034. package/src/sheet/styles.ts +10 -17
  1035. package/src/snackbar/DefaultToastRenderer.tsx +1 -0
  1036. package/src/snackbar/Snackbar.tsx +10 -9
  1037. package/src/snackbar/Toast.tsx +9 -0
  1038. package/src/snackbar/ToastActionButton.tsx +2 -1
  1039. package/src/snackbar/ToastCloseButton.tsx +2 -1
  1040. package/src/snackbar/ToastContent.tsx +1 -0
  1041. package/src/snackbar/{ToastManager.tsx → ToastManager.ts} +1 -1
  1042. package/src/snackbar/ToastManagerProvider.tsx +1 -0
  1043. package/src/snackbar/toastStyles.ts +0 -8
  1044. package/src/snackbar/useCurrentToastActions.ts +1 -0
  1045. package/src/storage/useStorage.ts +1 -0
  1046. package/src/suspense/CircularProgressSuspense.tsx +2 -1
  1047. package/src/suspense/NullSuspense.tsx +2 -1
  1048. package/src/table/StickyTableSection.tsx +2 -0
  1049. package/src/table/Table.tsx +8 -8
  1050. package/src/table/TableBody.tsx +2 -0
  1051. package/src/table/TableCell.tsx +6 -2
  1052. package/src/table/TableCheckbox.tsx +11 -12
  1053. package/src/table/TableContainer.tsx +2 -0
  1054. package/src/table/TableFooter.tsx +2 -0
  1055. package/src/table/TableHeader.tsx +2 -0
  1056. package/src/table/TableRadio.tsx +13 -13
  1057. package/src/table/TableRow.tsx +2 -0
  1058. package/src/table/tableCellStyles.ts +1 -1
  1059. package/src/tabs/SimpleTabPanel.tsx +2 -0
  1060. package/src/tabs/SimpleTabPanels.tsx +2 -0
  1061. package/src/tabs/Tab.tsx +21 -1
  1062. package/src/tabs/TabList.tsx +1 -1
  1063. package/src/tabs/TabListScrollButton.tsx +1 -1
  1064. package/src/tabs/tabStyles.ts +0 -20
  1065. package/src/tabs/useTabs.ts +7 -2
  1066. package/src/test-utils/jest-globals/match-media.ts +4 -3
  1067. package/src/test-utils/jest-globals/resize-observer.ts +2 -2
  1068. package/src/test-utils/mocks/ResizeObserver.ts +7 -7
  1069. package/src/test-utils/mocks/match-media.ts +32 -0
  1070. package/src/test-utils/{mocks/match-media-implementation.ts → utils/createMatchMediaSpy.ts} +34 -36
  1071. package/src/test-utils/vitest/match-media.ts +4 -3
  1072. package/src/test-utils/vitest/resize-observer.ts +2 -2
  1073. package/src/theme/LocalStorageColorSchemeProvider.tsx +6 -6
  1074. package/src/theme/ThemeProvider.tsx +10 -11
  1075. package/src/theme/colors.ts +2 -2
  1076. package/src/theme/useColorScheme.ts +1 -1
  1077. package/src/tooltip/Tooltip.tsx +14 -2
  1078. package/src/tooltip/TooltipHoverModeProvider.tsx +1 -0
  1079. package/src/tooltip/constants.ts +11 -11
  1080. package/src/tooltip/{tooltipStyles.ts → styles.ts} +1 -1
  1081. package/src/tooltip/useTooltip.ts +8 -16
  1082. package/src/transition/CSSTransition.tsx +3 -1
  1083. package/src/transition/Collapse.tsx +1 -0
  1084. package/src/transition/CrossFade.tsx +1 -0
  1085. package/src/transition/ScaleTransition.tsx +4 -1
  1086. package/src/transition/SkeletonPlaceholder.tsx +3 -2
  1087. package/src/transition/Slide.tsx +1 -0
  1088. package/src/transition/SlideContainer.tsx +15 -11
  1089. package/src/transition/getTransitionCallbacks.ts +140 -0
  1090. package/src/transition/skeletonPlaceholderUtils.ts +4 -1
  1091. package/src/transition/types.ts +28 -7
  1092. package/src/transition/useCSSTransition.ts +2 -0
  1093. package/src/transition/useCarousel.ts +11 -7
  1094. package/src/transition/useCollapseTransition.ts +4 -3
  1095. package/src/transition/useCrossFadeTransition.ts +23 -57
  1096. package/src/transition/useScaleTransition.ts +27 -19
  1097. package/src/transition/useSkeletonPlaceholder.ts +6 -3
  1098. package/src/transition/useSlideTransition.ts +14 -13
  1099. package/src/transition/useTransition.ts +3 -2
  1100. package/src/tree/DefaultTreeItemRenderer.tsx +1 -0
  1101. package/src/tree/Tree.tsx +8 -9
  1102. package/src/tree/TreeItem.tsx +1 -0
  1103. package/src/tree/types.ts +1 -1
  1104. package/src/tree/useTree.ts +4 -2
  1105. package/src/tree/useTreeExpansion.ts +1 -0
  1106. package/src/tree/useTreeItems.ts +1 -0
  1107. package/src/tree/useTreeSelection.ts +1 -0
  1108. package/src/types.ts +1 -1
  1109. package/src/typography/HighlightText.tsx +201 -0
  1110. package/src/typography/HighlightTextMark.tsx +25 -0
  1111. package/src/typography/Mark.tsx +41 -0
  1112. package/src/typography/SrOnly.tsx +3 -1
  1113. package/src/typography/TextContainer.tsx +10 -1
  1114. package/src/typography/Typography.tsx +2 -1
  1115. package/src/typography/WritingDirectionProvider.tsx +8 -8
  1116. package/src/typography/markStyles.ts +20 -0
  1117. package/src/typography/textContainerStyles.ts +2 -8
  1118. package/src/typography/typographyStyles.ts +2 -2
  1119. package/src/useAsyncFunction.ts +12 -68
  1120. package/src/useDebouncedFunction.ts +3 -1
  1121. package/src/useDropzone.ts +3 -2
  1122. package/src/useThrottledFunction.ts +3 -1
  1123. package/src/useUnmounted.ts +1 -1
  1124. package/src/utils/RenderRecursively.tsx +1 -0
  1125. package/src/utils/applyRef.ts +1 -1
  1126. package/src/window-splitter/WindowSplitter.tsx +12 -0
  1127. package/src/window-splitter/useWindowSplitter.ts +0 -11
  1128. package/dist/button/buttonStyles.js.map +0 -1
  1129. package/dist/button/buttonUnstyledStyles.d.ts +0 -10
  1130. package/dist/button/buttonUnstyledStyles.js +0 -11
  1131. package/dist/button/buttonUnstyledStyles.js.map +0 -1
  1132. package/dist/overlay/overlayStyles.js.map +0 -1
  1133. package/dist/test-utils/mocks/match-media-implementation.d.ts +0 -42
  1134. package/dist/test-utils/mocks/match-media-implementation.js.map +0 -1
  1135. package/dist/tooltip/tooltipStyles.js.map +0 -1
  1136. package/src/button/buttonUnstyledStyles.ts +0 -19
  1137. /package/src/table/{TableConfigurationProvider.tsx → TableConfigurationProvider.ts} +0 -0
  1138. /package/src/table/{TableContainerProvider.tsx → TableContainerProvider.ts} +0 -0
@@ -1,3 +1,7 @@
1
+ ////
2
+ /// @group core.form
3
+ ////
4
+
1
5
  @use "sass:map";
2
6
  @use "sass:math";
3
7
  @use "sass:color";
@@ -15,84 +19,304 @@
15
19
  @use "../typography/typography";
16
20
  @use "../interaction/interaction";
17
21
 
22
+ /// The color to use while the form elements are focused. This would
23
+ /// apply to things like the border-color/box-shadow and text color.
24
+ ///
25
+ /// @type Color
26
+ $form-focus-color: interaction.$focus-color !default;
27
+
28
+ /// The color to apply to form elements while they are active/checked.
29
+ ///
30
+ /// @type Color
31
+ $form-active-color: theme.theme-get-var(primary-color) !default;
32
+
33
+ /// Set to `true` to disable all form styles.
34
+ /// @type Boolean
18
35
  $form-disable-everything: false !default;
36
+
37
+ /// Set to `true` to disable the `Formset` component styles
38
+ /// @type Boolean
19
39
  $disable-fieldset: $form-disable-everything !default;
40
+
41
+ /// Set to `true` to disable the `FormMessage`/`FormMessageContainer` component
42
+ /// styles. This also includes the `messageProps` on other form components.
43
+ ///
44
+ /// @type Boolean
20
45
  $disable-message: $form-disable-everything !default;
46
+
47
+ /// Set to `true` to disable all the `Label` styles
48
+ /// @type Boolean
21
49
  $disable-label: $form-disable-everything !default;
50
+
51
+ /// Set to `true` to disable only the floating `Label` styles
52
+ /// @type Boolean
22
53
  $disable-floating-label: $form-disable-everything !default;
54
+
55
+ /// Set to `true` to disable the `gap` property on a `Label`.
56
+ /// @type Boolean
23
57
  $disable-label-gap: $form-disable-everything !default;
58
+
59
+ /// Set to `true` to disable the `reversed` styles on a `Label`.
60
+ /// @type Boolean
24
61
  $disable-label-reversed: $form-disable-everything !default;
62
+
63
+ /// Set to `true` to disable the `stacked` styles for a `Label`.
64
+ /// @type Boolean
25
65
  $disable-label-stacked: $form-disable-everything !default;
66
+
67
+ /// Set to `true` to disable the `stacked` and `reversed` styles for a `Label`.
68
+ /// @type Boolean
26
69
  $disable-label-stacked-reversed: $form-disable-everything !default;
70
+
71
+ /// Set to `true` to disable the `TextField` styles
72
+ /// @type Boolean
27
73
  $disable-text-field: $form-disable-everything !default;
74
+
75
+ /// Set to `true` to disable the `TextArea` styles
76
+ /// @type Boolean
28
77
  $disable-textarea: $form-disable-everything !default;
78
+
79
+ /// Set to `true` to disable the `Password` styles
80
+ /// @type Boolean
29
81
  $disable-password: $disable-text-field !default;
82
+
83
+ /// Set to `true` if the addon props will not be used with the `TextField` or
84
+ /// `TextArea` components or the `visibilityIcon` prop for the `Password`
85
+ /// component.
86
+ /// @type Boolean
30
87
  $disable-text-field-addon: $disable-text-field and $disable-password and
31
88
  $disable-textarea !default;
89
+
90
+ /// Set to `true` if the `::placeholder` text should not automatically ellipsis
91
+ /// when there is text overflow.
92
+ /// @type Boolean
32
93
  $disable-placeholder-ellipsis: false !default;
94
+
95
+ /// Set to `true` to disable the `TextFieldContainer` dense styles.
96
+ /// @type Boolean
33
97
  $disable-text-field-container-dense: false !default;
98
+
99
+ /// Set to `true` to disable the `Select` styles.
100
+ /// @type Boolean
34
101
  $disable-select: $form-disable-everything !default;
102
+
103
+ /// Set to `true` to disable the `Option` styles.
104
+ /// @type Boolean
35
105
  $disable-option: $disable-select !default;
106
+
107
+ /// Set to `true` to disable the `NativeSelect` styles.
108
+ /// @type Boolean
36
109
  $disable-native-select: $form-disable-everything !default;
110
+
111
+ /// Set to `true` to disable the `multiselect` styles for the `NativeSelect`.
112
+ /// @type Boolean
37
113
  $disable-native-select-multiple: $form-disable-everything !default;
114
+
115
+ /// Set to `true` to disable the `Checkbox` styles.
116
+ /// @type Boolean
38
117
  $disable-checkbox: $form-disable-everything !default;
118
+
119
+ /// Set to `true` to disable the `Radio` styles.
120
+ /// @type Boolean
39
121
  $disable-radio: $form-disable-everything !default;
122
+
123
+ /// Set to `true` to if the `Checkbox` and `Radio` components will always
124
+ /// be controlled providing a `checked` prop. This feature flag adds a few more
125
+ /// styles to support switching between the icons based on the `input` checked
126
+ /// state without JS.
127
+ ///
128
+ /// @type Boolean
40
129
  $disable-uncontrolled-input-toggles: false !default;
130
+
131
+ /// Set to `true` to disable the `Switch` styles.
132
+ /// @type Boolean
41
133
  $disable-switch: $form-disable-everything !default;
134
+
135
+ /// Set to `true` to disable the `CircularProgress` rendered within a `Switch`
136
+ /// styles.
137
+ /// @type Boolean
42
138
  $disable-switch-circular-progress: progress.$disable-circular !default;
139
+
140
+ /// Set to `true` to disable the icon rendered within a `Switch` styles.
141
+ /// @type Boolean
43
142
  $disable-switch-icon: false !default;
143
+
144
+ /// Set to `true` to disable the `MenuItemCheckbox` styles.
145
+ /// @type Boolean
44
146
  $disable-menu-item-checkbox: $disable-checkbox !default;
147
+
148
+ /// Set to `true` to disable the `MenuItemRadio` styles.
149
+ /// @type Boolean
45
150
  $disable-menu-item-radio: $disable-radio !default;
151
+
152
+ /// Set to `true` to disable the `MenuItemSwitch` styles.
153
+ /// @type Boolean
46
154
  $disable-menu-item-switch: $disable-switch !default;
155
+
156
+ /// Set to `true` to disable the `Slider` styles.
157
+ /// @type Boolean
47
158
  $disable-slider: $form-disable-everything !default;
159
+
160
+ /// Set to `true` to disable the horizontal `Slider` styles.
161
+ /// @type Boolean
48
162
  $disable-horizontal-slider: $form-disable-everything !default;
163
+
164
+ /// Set to `true` to disable the vertical `Slider` styles.
165
+ /// @type Boolean
49
166
  $disable-vertical-slider: $form-disable-everything !default;
167
+
168
+ /// Set to `true` to disable the two-thumb `Slider` styles.
169
+ /// @type Boolean
50
170
  $disable-range-slider: $form-disable-everything !default;
171
+
172
+ /// Set to `true` to disable the `Slider` styles show the current value in a
173
+ /// tooltip.
174
+ /// @type Boolean
51
175
  $disable-discrete-slider: $form-disable-everything !default;
176
+
177
+ /// Set to `true` to disable the `Slider` styles that show the tick marks below
178
+ /// the slider track.
179
+ /// @type Boolean
52
180
  $disable-discrete-slider-marks: $disable-discrete-slider !default;
181
+
182
+ /// Set to `true` to disable the `Slider` styles that display a label with each
183
+ /// tick mark below the slider track.
184
+ /// @type Boolean
53
185
  $disable-discrete-slider-marks-labels: $disable-discrete-slider-marks !default;
54
186
 
55
- // Note: enabling the filled theme forces the underlined theme to be used since it depends on the same styles
187
+ /// Set to `true` if the `theme="filled"` will not be used in the app.
188
+ ///
189
+ /// @type Boolean
56
190
  $disable-text-field-filled-theme: $form-disable-everything !default;
191
+
192
+ /// Set to `true` if the `theme="outline"` will not be used in the app.
193
+ ///
194
+ /// NOTE: This would require updating the `FORM_CONFIG.theme` value since this
195
+ /// is the default theme.
196
+ ///
197
+ /// @type Boolean
57
198
  $disable-text-field-outlined-theme: $form-disable-everything !default;
199
+
200
+ /// Set to `true` if the `theme="underline"` will not be used in the app.
201
+ ///
202
+ /// NOTE: If the `$form-theme` is set to `filled`, this will always be `true`
203
+ /// since it they depend on the same styles.
204
+ ///
205
+ /// @type Boolean
58
206
  $disable-text-field-underlined-theme: $form-disable-everything !default;
207
+
208
+ /// Set to `true` if the inline counter for `TextField`/`TextArea`/`Password`
209
+ /// will not be used.
210
+ ///
211
+ /// @type Boolean
59
212
  $disable-text-field-counter: $form-disable-everything !default;
213
+
214
+ /// Set to `true` if the underlined theme will not animate from the left.
215
+ ///
216
+ /// NOTE: This would require updating the `FORM_CONFIG.underlineDirection`
217
+ /// value since this is the default.
218
+ ///
219
+ /// @type Boolean
60
220
  $disable-text-field-underline-left: $form-disable-everything !default;
221
+
222
+ /// Set to `true` if the underlined theme will not animate from the center.
223
+ ///
224
+ /// @type Boolean
61
225
  $disable-text-field-underline-center: $form-disable-everything !default;
226
+
227
+ /// Set to `true` if the underlined theme will not animate from the right.
228
+ ///
229
+ /// @type Boolean
62
230
  $disable-text-field-underline-right: $form-disable-everything !default;
63
231
 
232
+ /// Set to `true` if the `TextArea` does not need to support the
233
+ /// `resize="auto"` behavior.
234
+ ///
235
+ /// @type Boolean
64
236
  $disable-textarea-resizing-rows: $form-disable-everything !default;
65
- $disable-textarea-resizing-mask: $disable-textarea-resizing-rows !default;
237
+
238
+ /// Set to `true` if the `resize="horizontal"` will not be used for the
239
+ /// `TextArea`.
240
+ /// @type Boolean
66
241
  $disable-textarea-resize-horizontal: $form-disable-everything !default;
67
- $disable-textarea-resize-vertical: $form-disable-everything !default;
68
242
 
69
- $form-active-color: theme.theme-get-var(primary-color) !default;
70
- $form-focus-color: interaction.$focus-color !default;
243
+ /// Set to `true` if the `resize="vertical"` will not be used for the
244
+ /// `TextArea`.
245
+ /// @type Boolean
246
+ $disable-textarea-resize-vertical: $form-disable-everything !default;
71
247
 
248
+ /// The spacing between elements in a `Label`.
249
+ ///
250
+ /// @see $disable-label-gap
251
+ /// @type Number
72
252
  $label-gap: icon.$spacing !default;
253
+
254
+ /// The default `Label` font size.
255
+ ///
256
+ /// @type Number
73
257
  $label-font-size: 1em !default;
258
+
259
+ /// The default `Label` typography.
260
+ ///
261
+ /// @type Map
74
262
  $label-typography: map.merge(
75
263
  typography.$body-1-styles,
76
264
  (
77
265
  font-size: $label-font-size,
78
266
  )
79
267
  ) !default;
268
+
269
+ /// The distance from the top of the floating label container to position the `Label`
270
+ /// while not active.
271
+ ///
272
+ /// @type Number
80
273
  $label-floating-top: 1rem !default;
274
+
275
+ /// The distance from the top of the floating label container to position the `Label`
276
+ /// while not active and the `dense` prop was enabled.
277
+ ///
278
+ /// @type Number
81
279
  $label-floating-top-dense: 0.9rem !default;
280
+
281
+ /// The `transform: scale()` value to apply to the floating label while not active.
282
+ /// @type Number
82
283
  $label-floating-scale: 0.75 !default;
284
+
285
+ /// The amount of padding to apply to a floating label. This is used to "cover"
286
+ /// the outline and add some general spacing.
287
+ ///
288
+ /// @type Number
83
289
  $label-floating-padding: 0.25rem !default;
84
290
 
291
+ /// The default typography for the `FormMessage` component.
292
+ /// @type Map
85
293
  $form-message-typography-styles: map.merge(
86
294
  typography.$body-2-styles,
87
295
  (
88
296
  font-size: 0.75rem,
89
297
  )
90
298
  ) !default;
299
+
300
+ /// The `gap` between elements in the `FormMessageCounter` component .
301
+ ///
302
+ /// @type Number
91
303
  $form-message-counter-spacing: icon.$spacing !default;
304
+
305
+ /// The `margin-top` for the `FormMessage` component.
306
+ /// @type Number
92
307
  $form-message-margin-top: 0.5rem !default;
308
+
309
+ /// The `margin-bottom` for the `FormMessage` component.
310
+ ///
311
+ /// @type Number
93
312
  $form-message-margin-bottom: 1rem !default;
313
+
314
+ /// The `min-height` for the `FormMessage` component.
315
+ /// @type Number
94
316
  $form-message-min-height: 2rem !default;
95
317
 
318
+ /// The default `TextField` typography
319
+ /// @type Map
96
320
  $text-field-typography: map.merge(
97
321
  typography.$base-font-styles,
98
322
  map.merge(
@@ -102,171 +326,589 @@ $text-field-typography: map.merge(
102
326
  )
103
327
  )
104
328
  ) !default;
329
+
330
+ /// The default `TextField` height.
331
+ /// @type Number
105
332
  $text-field-height: 3rem !default;
333
+
334
+ /// The default `TextField` height when the `dense` prop is enabled.
335
+ /// @type Number
106
336
  $text-field-dense-height: 2.5rem !default;
337
+
338
+ /// The default `TextField` height when there is a `label` prop.
339
+ /// @type Number
107
340
  $text-field-label-height: 3.5rem !default;
341
+
342
+ /// The default `TextField` height when there is a `label` and `dense` prop.
343
+ /// @type Number
108
344
  $text-field-label-dense-height: 3.25rem !default;
345
+
346
+ /// The `border-radius` for a `TextField`.
347
+ /// @type Number
109
348
  $text-field-border-radius: 0.25rem !default;
349
+
350
+ /// The `border-width` for a `TextField`.
351
+ /// @type Number
110
352
  $text-field-border-width: 1px !default;
353
+
354
+ /// The `border-width` for a `TextField` while active or focused.
355
+ /// @type Number
111
356
  $text-field-border-width-active: 2px !default;
357
+
358
+ /// The amount of horizontal padding to apply to a `TextField` with the
359
+ /// `theme="filled"`.
360
+ /// @type Number
112
361
  $text-field-filled-padding: 0.75rem !default;
362
+
363
+ /// The amount of horizontal padding to apply to a `TextField` with the
364
+ /// `theme="outline"`.
365
+ /// @type Number
113
366
  $text-field-outlined-padding: 1rem !default;
367
+
368
+ /// The amount of horizontal padding to apply to a `TextField` with the
369
+ /// `theme="underline"`.
370
+ ///
371
+ /// @type Number
114
372
  $text-field-underlined-padding: null !default;
115
- // set this to null to remove this style
373
+
374
+ /// The amount of height to apply to a `TextField` while the
375
+ /// `theme="underline"` and a `label` has not been provided.
376
+ ///
377
+ /// Set this to `null` to disable these styles.
378
+ ///
379
+ /// @type Number
116
380
  $text-field-underlined-placeholder-height: 2.5rem !default;
381
+
382
+ /// The amount of padding-top to apply to a `TextField` while the
383
+ /// `theme="underline"` and a `label` has not been provided.
384
+ ///
385
+ /// This will be ignored if the `$text-field-underlined-placeholder-height` is
386
+ /// `null`.
387
+ ///
388
+ /// @type Number
117
389
  $text-field-underlined-placeholder-padding-top: 0.5rem !default;
390
+
391
+ /// The amount of padding-top to apply to addons in a `TextField` while the
392
+ /// `theme="underline"`.
393
+ ///
394
+ /// This will be ignored if the `$text-field-underlined-placeholder-height` is
395
+ /// `null`.
396
+ ///
397
+ /// @type Number
118
398
  $text-field-underlined-placeholder-addon-padding-top: 0.25rem !default;
119
- // this is the default height of the label with line-height
399
+
400
+ /// The amount of padding-top to apply to the `TextFieldContainer` while the
401
+ /// `theme="underline"` and a `label` was provided.
402
+ ///
403
+ /// NOTE: This is the default height of the label with line-height
404
+ ///
405
+ /// @type Number
120
406
  $text-field-underlined-label-padding-top: 1.5rem !default;
407
+
408
+ /// The position in the `TextFieldContainer` for a `Label` while the
409
+ /// `theme="underline"`.
410
+ ///
411
+ /// @type Number
121
412
  $text-field-underlined-label-left-offset: icon.$spacing !default;
413
+
414
+ /// Set this to `null` if not using `<TextField type="color" />` since this is
415
+ /// used to apply a `min-width` to color inputs.
416
+ ///
417
+ /// @type Number
122
418
  $text-field-color-min-width: 5rem !default;
123
419
 
420
+ /// The gap to apply between addon elements if multiple were provided.
421
+ /// i.e. `leftAddon={<><FavoriteIcon /><CloseIcon /></>}`
422
+ ///
423
+ /// @type Number
124
424
  $text-field-addon-gap: 0.25rem !default;
425
+
426
+ /// The amount of margin to apply to addons when the `TextField`
427
+ /// `theme="underline"`.
428
+ /// @type Number
125
429
  $text-field-addon-margin: icon.$spacing !default;
430
+
431
+ /// The amount of spacing between a `TextField` addon and the `<input>`
432
+ /// element.
433
+ ///
434
+ /// @type Number
126
435
  $text-field-addon-spacing: icon.get-var(spacing) !default;
127
436
 
437
+ /// The border-color for a `theme="outline"` `TextField` in the light theme.
438
+ /// @type Color
128
439
  $text-field-light-border-color: rgba(#000, 0.12) !default;
440
+
441
+ /// The border-color for a `theme="outline"` `TextField` in the dark theme.
442
+ /// @type Color
129
443
  $text-field-dark-border-color: rgba(#fff, 0.5) !default;
444
+
445
+ /// The default border-color for a `theme="outline"` `TextField`.
446
+ /// @type Color
130
447
  $text-field-border-color: theme.get-default-color(
131
448
  $text-field-light-border-color,
132
449
  $text-field-dark-border-color
133
450
  ) !default;
134
451
 
452
+ /// The border-color for a `theme="outline"` `TextField` in the light theme
453
+ /// while hovering.
454
+ ///
455
+ /// @type Color
135
456
  $text-field-light-hover-border-color: rgba(#000, 0.87) !default;
457
+
458
+ /// The border-color for a `theme="outline"` `TextField` in the dark theme
459
+ /// while hovering.
460
+ ///
461
+ /// @type Color
136
462
  $text-field-dark-hover-border-color: rgba(#fff, 0.87) !default;
463
+
464
+ /// The default border-color for a `theme="outline"` `TextField` while
465
+ /// hovering.
466
+ ///
467
+ /// @type Color
137
468
  $text-field-hover-border-color: theme.get-default-color(
138
469
  $text-field-light-hover-border-color,
139
470
  $text-field-dark-hover-border-color
140
471
  ) !default;
141
472
 
473
+ /// The background color for `theme="filled"` `TextField` in the light theme.
474
+ /// @type Color
142
475
  $text-field-light-filled-background-color: colors.$grey-100 !default;
476
+
477
+ /// The background color for `theme="filled"` `TextField` in the dark theme.
478
+ /// @type Color
143
479
  $text-field-dark-filled-background-color: #424242 !default;
144
- // $text-field-dark-filled-background-color: core.$grey-700 !default;
480
+
481
+ /// The default background color for `theme="filled"` `TextField`.
482
+ /// @type Color
145
483
  $text-field-filled-background-color: theme.get-default-color(
146
484
  $text-field-light-filled-background-color,
147
485
  $text-field-dark-filled-background-color
148
486
  ) !default;
149
487
 
488
+ /// The default position for addons within a `TextArea`.
489
+ /// @type Number
150
490
  $textarea-addon-top: 1rem !default;
491
+
492
+ /// The default vertical padding to apply to `TextArea` which is useful when
493
+ /// there is a scrollbar visible. This should normally be enough so that the
494
+ /// floating label does not cover the content.
495
+ ///
496
+ /// @type Number
151
497
  $textarea-vertical-padding: 0.75rem !default;
152
498
 
499
+ /// The `padding-left` to apply to a `Password` when there is a visibility
500
+ /// icon.
501
+ /// @type Number
153
502
  $password-visibility-toggle-spacing: 0.25rem !default;
154
503
 
504
+ /// The addon position within a `NativeSelect`.
505
+ /// @type Number
155
506
  $native-select-addon-top: 1rem !default;
507
+
508
+ /// The padding to apply to a multiselect `NativeSelect`.
509
+ /// @type Number
156
510
  $native-select-multiple-padding: 0.75rem !default;
511
+
512
+ /// The padding to apply to a multiselect `NativeSelect` when the
513
+ /// `theme="underline"`.
514
+ ///
515
+ /// @type Number
157
516
  $native-select-multiple-underline-padding: 1.5rem !default;
158
517
 
518
+ /// The default icon size for a selected `Option`.
519
+ /// @type Number
159
520
  $option-selected-icon-size: 1rem !default;
521
+
522
+ /// The default `Option` styles while selected.
523
+ /// @type Map
160
524
  $option-selected-styles: (
161
525
  --rmd-icon-color: currentcolor,
162
526
  background-color: colors.$blue-900,
163
527
  color: colors.$white,
164
528
  ) !default;
529
+
530
+ /// The `padding-left` to apply to an `Option` when the `disableSelectedIcon`
531
+ /// prop has not been enabled.
532
+ ///
533
+ /// @type Number
165
534
  $option-padding-left: list.$item-horizontal-padding - math.div(
166
535
  icon.$size - $option-selected-icon-size,
167
536
  2
168
537
  ) !default;
538
+
539
+ /// The spacing between the selected icon and the `Option` content.
540
+ /// @type Number
169
541
  $option-selected-icon-spacing: $option-padding-left !default;
170
542
 
543
+ /// The default border-radius for `Checkbox` and `Radio` components.
544
+ /// @type Number
171
545
  $input-toggle-border-radius: 50% !default;
546
+
547
+ /// The amount of padding to apply around the `Checkbox` and `Radio` icons
548
+ /// @type Number
172
549
  $input-toggle-padding: 0.5em !default;
550
+
551
+ /// The `Checkbox` and `Radio` size to use when `size="small"`.
552
+ ///
553
+ /// @type Number
173
554
  $input-toggle-small-size: 1rem !default;
555
+
556
+ /// The `Checkbox` and `Radio` size to use when `size="dense"`.
557
+ ///
558
+ /// @type Number
174
559
  $input-toggle-dense-size: icon.$dense-size !default;
560
+
561
+ /// The `Checkbox` and `Radio` size to use when `size="normal"`.
562
+ ///
563
+ /// @type Number
175
564
  $input-toggle-normal-size: icon.$size !default;
565
+
566
+ /// The `Checkbox` and `Radio` size to use when `size="large"`.
567
+ ///
568
+ /// @type Number
176
569
  $input-toggle-large-size: 2rem !default;
177
570
 
571
+ /// The opacity to apply to a `Switch` while disabled.
572
+ /// @type Number
178
573
  $switch-disabled-opacity: 0.5 !default;
574
+
575
+ /// The `Switch` ball size.
576
+ /// @type Number
179
577
  $switch-ball-size: 1.25em !default;
578
+
579
+ /// The `Switch` border radius.
580
+ /// @type Number
180
581
  $switch-ball-border-radius: 50% !default;
582
+
583
+ /// The distance from the `left` and `right` of the `Switch` track to display
584
+ /// the ball.
585
+ ///
586
+ /// @type Number
181
587
  $switch-ball-offset: 0.25em !default;
588
+
589
+ /// The default `Switch` ball background color.
590
+ /// @type Color
182
591
  $switch-ball-background-color: color.adjust(
183
592
  colors.$white,
184
593
  $lightness: -5%
185
594
  ) !default;
595
+
596
+ /// The height of the `Switch` clickable area.
597
+ /// @type Number
186
598
  $switch-track-height: 1em !default;
599
+
600
+ /// The width of the `Switch` clickable area.
601
+ /// @type Number
187
602
  $switch-track-width: 2.25em !default;
603
+
604
+ /// The border radius for the `Switch` clickable area.
605
+ /// @type Number
188
606
  $switch-track-border-radius: 0.5em !default;
607
+
608
+ /// The amount of vertical padding to apply to the `Switch` component.
609
+ /// @type Number
189
610
  $switch-track-vertical-padding: 0.75em !default;
611
+
612
+ /// The amount of horizontal padding to apply to the `Switch` component.
613
+ /// @type Number
190
614
  $switch-track-horizontal-padding: 0.875em !default;
615
+
616
+ /// The background color to apply to the `SwitchTrack` in the light theme.
617
+ /// @type Color
191
618
  $switch-track-light-background-color: colors.$grey-400 !default;
619
+
620
+ /// The background color to apply to the `SwitchTrack` in the dark theme.
621
+ /// @type Color
192
622
  $switch-track-dark-background-color: if(
193
623
  theme.$disable-dark-elevation,
194
624
  $switch-track-light-background-color,
195
625
  map.get(theme.$dark-elevation-colors, 24)
196
626
  ) !default;
627
+
628
+ /// The default background color to apply to the `SwitchTrack`.
629
+ /// @type Color
197
630
  $switch-track-background-color: theme.get-default-color(
198
631
  $switch-track-light-background-color,
199
632
  $switch-track-dark-background-color
200
633
  ) !default;
634
+
635
+ /// The default size for an icon within the `Switch` ball.
636
+ /// @type Number
201
637
  $switch-icon-size: 1em !default;
638
+
639
+ /// The `circular-stroke-width` to use for a `CircularProgress` rendered within
640
+ /// a `Switch` ball.
641
+ ///
642
+ /// @type Number
202
643
  $switch-circular-progress-width: 12 !default;
644
+
645
+ /// The `circular-size` to use for a `CircularProgress` rendered within a
646
+ /// `Switch` ball.
647
+ ///
648
+ /// @type Number
203
649
  $switch-circular-progress-size: 1em !default;
204
650
 
651
+ /// The `height` of the `Slider`'s track while horizontal or the `width` while
652
+ /// vertical.
653
+ ///
654
+ /// @type Number
205
655
  $slider-size: 2rem !default;
656
+
657
+ /// The default `height` for a vertical `Slider`.
658
+ /// @type Number
206
659
  $slider-vertical-size: 15rem !default;
660
+
661
+ /// The default color for a `Slider` and is applied to:
662
+ /// - The Slider "thumb",
663
+ /// - The active slider track
664
+ /// - The inactive slider track (with opacity applied)
665
+ ///
666
+ /// If more color customization is required, set this to `null` and configure
667
+ /// the `$slider-track-active-color`, `$slider-track-active-opacity`,
668
+ /// `$slider-track-inactive-color`, and `$slider-track-inactive-opacity`
669
+ /// instead.
670
+ ///
671
+ /// @see $slider-track-active-color
672
+ /// @see $slider-track-active-opacity
673
+ /// @see $slider-track-inactive-color
674
+ /// @see $slider-track-inactive-opacity
675
+ /// @type Color
207
676
  $slider-track-color: theme.theme-get-var(primary-color) !default;
677
+
678
+ /// The height/width of the `Slider` track representing the current value. This
679
+ /// should normally be greater than or equal to the `$slider-size`.
680
+ ///
681
+ /// @see $slider-size
682
+ /// @type Number
208
683
  $slider-track-active-size: 0.375rem !default;
684
+
685
+ /// Set this value if additional control is required or the `Slider` active
686
+ /// color.
687
+ ///
688
+ /// @see $slider-track-color
689
+ /// @type Color
209
690
  $slider-track-active-color: null !default;
691
+
692
+ /// An optional opacity value to apply to the active `Slider` color.
693
+ ///
694
+ /// @see $slider-track-color
695
+ /// @type Color
210
696
  $slider-track-active-opacity: null !default;
697
+
698
+ /// The `z-index` for the active `Slider` track. This normally shouldn't need
699
+ /// to be changed but should be greater than the
700
+ /// `$slider-track-inactive-z-index`.
701
+ ///
702
+ /// @see $slider-track-inactive-z-index
703
+ /// @type Number
211
704
  $slider-track-active-z-index: 2 !default;
705
+
706
+ /// The height/width for the inactive `Slider` track.
707
+ ///
708
+ /// @type Number
212
709
  $slider-track-inactive-size: 0.25rem !default;
710
+
711
+ /// Set this value if additional control is required or the `Slider` inactive
712
+ /// color.
713
+ ///
714
+ /// @see $slider-track-color
715
+ /// @type Number
213
716
  $slider-track-inactive-color: null !default;
717
+
718
+ /// The opacity to apply to the `Slider` inactive track background color.
719
+ ///
720
+ /// @see $slider-track-color
721
+ /// @type Number
214
722
  $slider-track-inactive-opacity: 0.5 !default;
723
+
724
+ /// The `z-index` for the inactive `Slider` track. This normally shouldn't need
725
+ /// to be changed but should be less than the `$slider-track-active-z-index`
726
+ ///
727
+ /// @see $slider-track-active-z-index
728
+ /// @type Number
215
729
  $slider-track-inactive-z-index: 1 !default;
730
+
731
+ /// The background-color to apply to a `Slider` track while disabled.
732
+ ///
733
+ /// @type Color
216
734
  $slider-track-disabled-color: theme.theme-get-var(text-disabled-color) !default;
217
735
 
736
+ /// The default height of a discrete `Slider` tick mark.
737
+ /// @type Number
218
738
  $slider-mark-height: $slider-track-inactive-size !default;
739
+
740
+ /// The default width of a discrete `Slider` tick mark.
741
+ /// @type Number
219
742
  $slider-mark-width: $slider-track-inactive-size !default;
743
+
744
+ /// The default border-radius for a discrete `Slider` tick mark.
745
+ /// @type Number
220
746
  $slider-mark-border-radius: 50% !default;
747
+
748
+ /// The light theme `Slider` tick mark color.
749
+ /// @type Color
221
750
  $slider-mark-light-active-color: theme.theme-get-var(on-primary-color) !default;
751
+
752
+ /// The dark theme `Slider` tick mark color.
753
+ /// @type Color
222
754
  $slider-mark-dark-active-color: $slider-mark-light-active-color !default;
755
+
756
+ /// The light theme `Slider` tick mark opacity.
757
+ /// @type Number
223
758
  $slider-mark-light-active-opacity: 0.38 !default;
759
+
760
+ /// The dark theme `Slider` tick mark opacity.
761
+ /// @type Number
224
762
  $slider-mark-dark-active-opacity: 0.38 !default;
763
+
764
+ /// The default `Slider` tick mark color.
765
+ /// @type Color
225
766
  $slider-mark-active-color: theme.get-default-color(
226
767
  $slider-mark-light-active-color,
227
768
  $slider-mark-dark-active-color
228
769
  ) !default;
770
+
771
+ /// The default `Slider` tick mark opacity.
772
+ /// @type Number
229
773
  $slider-mark-active-opacity: theme.get-default-color(
230
774
  $slider-mark-light-active-opacity,
231
775
  $slider-mark-dark-active-opacity
232
776
  ) !default;
233
777
 
778
+ /// The light theme color for a `Slider` mark that is not covered by the active
779
+ /// `Slider` track.
780
+ /// @type Color
234
781
  $slider-mark-light-inactive-color: colors.$black !default;
782
+
783
+ /// The dark theme color for a `Slider` mark that is not covered by the active
784
+ /// `Slider` track.
785
+ /// @type Color
235
786
  $slider-mark-dark-inactive-color: colors.$white !default;
787
+
788
+ /// The default color for a `Slider` mark that is not covered by the active
789
+ /// `Slider` track.
790
+ ///
791
+ /// @type Color
236
792
  $slider-mark-inactive-color: theme.get-default-color(
237
793
  $slider-mark-light-inactive-color,
238
794
  $slider-mark-dark-inactive-color
239
795
  ) !default;
796
+
797
+ /// The default opacity to apply to the light theme `Slider` mark.
798
+ /// @type Number
240
799
  $slider-mark-light-inactive-opacity: 1 !default;
800
+
801
+ /// The default opacity to apply to the dark theme `Slider` mark.
802
+ /// @type Number
241
803
  $slider-mark-dark-inactive-opacity: 0.8 !default;
804
+
805
+ /// The default opacity to apply to the `Slider` mark.
806
+ /// @type Number
242
807
  $slider-mark-inactive-opacity: theme.get-default-color(
243
808
  $slider-mark-light-inactive-opacity,
244
809
  $slider-mark-dark-inactive-opacity
245
810
  ) !default;
811
+
812
+ /// The z-index for an inactive `Slider` mark.
813
+ /// @type Number
246
814
  $slider-mark-inactive-z-index: 1 !default;
815
+
816
+ /// The z-index for an active `Slider` mark.
817
+ /// @type Number
247
818
  $slider-mark-active-z-index: $slider-track-active-z-index + 1 !default;
248
819
 
820
+ /// The size for the `Slider` thumb.
821
+ /// @type Number
249
822
  $slider-thumb-size: 1.25rem !default;
823
+
824
+ /// The `border-radius` for the `Slider` thumb.
825
+ /// @type Number
250
826
  $slider-thumb-border-radius: 50% !default;
827
+
828
+ /// The amount of opacity to apply to the focused/active state of the `Slider`
829
+ /// thumb.
830
+ ///
831
+ /// @see $slider-thumb-focus-scale
832
+ /// @see $slider-thumb-active-scale
833
+ /// @type Number
251
834
  $slider-thumb-bubble-opacity: 0.3 !default;
835
+
836
+ /// The `z-index` for the `Slider` thumb.
837
+ /// @type Number
252
838
  $slider-thumb-z-index: $slider-track-active-z-index !default;
839
+
840
+ /// The size of the focused state for a `Slider` thumb.
841
+ ///
842
+ /// @see $slider-thumb-bubble-opacity
843
+ /// @type Number
253
844
  $slider-thumb-focus-scale: 2 !default;
845
+
846
+ /// The size of the active state for a `Slider` thumb.
847
+ ///
848
+ /// @see $slider-thumb-bubble-opacity
849
+ /// @type Number
254
850
  $slider-thumb-active-scale: 2.5 !default;
851
+
852
+ /// The size of a disabled `Slider` thumb.
853
+ ///
854
+ /// @see $slider-thumb-mask-scale
855
+ /// @type Number
255
856
  $slider-thumb-disabled-scale: 0.5 !default;
857
+
858
+ /// The size of a disabled `Slider` thumb which is used to apply the spacing
859
+ /// between the track and thumb. This should be larger than the
860
+ /// `$slider-thumb-disabled-scale`
861
+ ///
862
+ /// @see $slider-thumb-disabled-scale
863
+ /// @type Number
256
864
  $slider-thumb-mask-scale: 0.8 !default;
865
+
866
+ /// The disabled color for a `Slider` thumb.
867
+ /// @type Color
257
868
  $slider-thumb-disabled-color: $slider-track-disabled-color !default;
869
+
870
+ /// The discrete `Slider` tooltip caret size which is generated using `border`.
871
+ /// @type Number
258
872
  $slider-tooltip-caret-size: 0.3rem !default;
873
+
874
+ /// The top/left for the discrete `Slider` tooltip.
875
+ /// @type Number
259
876
  $slider-tooltip-offset: -($slider-thumb-size + icon.$spacing) !default;
877
+
878
+ /// The `z-index` for the discrete `Slider` tooltip.
879
+ /// @type Number
260
880
  $slider-tooltip-z-index: 0 !default;
881
+
882
+ /// The amount of padding to apply around the `Slider` component and also the
883
+ /// "touch" area for the `Slider`. This should generally be at least 1/2 the
884
+ /// `$slider-thumb-size` so it does not overlap other elements.
885
+ ///
886
+ /// @type Number
261
887
  $slider-container-padding: $slider-thumb-size * 0.5 !default;
888
+
889
+ /// The amount of spacing between a `Slider` addon and the `SliderTrack`.
890
+ /// @type Number
262
891
  $slider-container-addon-spacing: $slider-thumb-size !default;
892
+
893
+ /// The `transition-duration` to apply to the `Slider` while the next value
894
+ /// should animate.
895
+ /// @type Number
263
896
  $slider-transition-duration: transition.$linear-duration !default;
897
+
898
+ /// The `transition-timing-function` to apply to the `Slider` while the next
899
+ /// value should animate.
900
+ /// @type Number
264
901
  $slider-transition-timing-function: transition.$linear-timing-function !default;
265
902
 
266
- // internal variable helpers
903
+ /// internal variable helpers
904
+ /// @access private
905
+ /// @type Boolean
267
906
  $_disable-text-field-container: $disable-text-field and $disable-password and
268
907
  $disable-textarea and $disable-select and $disable-native-select;
269
908
 
909
+ /// The available configurable css variables and mostly used internally for the
910
+ /// `get-var`, `set-var`, and `use-var` utils.
911
+ /// @type List
270
912
  $form-variables: (
271
913
  active-color,
272
914
  focus-color,
@@ -311,6 +953,9 @@ $form-variables: (
311
953
  slider-mark-inactive-opacity
312
954
  );
313
955
 
956
+ /// @param {String} name - The supported variable name
957
+ /// @param {any} fallback [null] - An optional fallback value
958
+ /// @returns {String} a `var()` statement
314
959
  @function form-get-var($name, $fallback: null) {
315
960
  $var: utils.get-var-name($form-variables, $name, "form");
316
961
  @if $fallback {
@@ -320,16 +965,24 @@ $form-variables: (
320
965
  @return var(#{$var});
321
966
  }
322
967
 
968
+ /// @param {String} name - The supported variable name
969
+ /// @param {any} value - The value to set the variable to. Supports `null` which
970
+ /// will just be a no-op.
323
971
  @mixin form-set-var($name, $value) {
324
972
  @if $value {
325
973
  #{utils.get-var-name($form-variables, $name, "form")}: #{$value};
326
974
  }
327
975
  }
328
976
 
977
+ /// @param {String} property - The css property to apply the variable to
978
+ /// @param {String} name [$property] - The supported variable name
979
+ /// @param {any} fallback [null] - An optional fallback value if the variable
980
+ /// has not been set
329
981
  @mixin form-use-var($property, $name: $property, $fallback: null) {
330
982
  #{$property}: form-get-var($name, $fallback);
331
983
  }
332
984
 
985
+ /// Applies the light the variables based on feature flags
333
986
  @mixin form-use-light-theme {
334
987
  @if not $form-disable-everything {
335
988
  @include form-set-var(
@@ -386,6 +1039,7 @@ $form-variables: (
386
1039
  }
387
1040
  }
388
1041
 
1042
+ /// Applies the dark the variables based on feature flags
389
1043
  @mixin form-use-dark-theme {
390
1044
  @if not $form-disable-everything {
391
1045
  @include form-set-var(
@@ -442,6 +1096,10 @@ $form-variables: (
442
1096
  }
443
1097
  }
444
1098
 
1099
+ /// Generates all the styles based on feature flags.
1100
+ ///
1101
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1102
+ /// layer behavior
445
1103
  @mixin form-message-styles($disable-layer: false) {
446
1104
  @include utils.optional-layer(form, $disable-layer) {
447
1105
  .rmd-form-message-container {
@@ -501,6 +1159,10 @@ $form-variables: (
501
1159
  }
502
1160
  }
503
1161
 
1162
+ /// Generates all the styles based on feature flags.
1163
+ ///
1164
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1165
+ /// layer behavior
504
1166
  @mixin label-styles($disable-layer: false) {
505
1167
  @include utils.optional-layer(form, $disable-layer) {
506
1168
  .rmd-label {
@@ -654,6 +1316,10 @@ $form-variables: (
654
1316
  }
655
1317
  }
656
1318
 
1319
+ /// Generates all the styles based on feature flags.
1320
+ ///
1321
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1322
+ /// layer behavior
657
1323
  @mixin text-field-container-styles($disable-layer: false) {
658
1324
  @include utils.optional-layer(form, $disable-layer) {
659
1325
  .rmd-text-field-container {
@@ -936,6 +1602,7 @@ $form-variables: (
936
1602
  }
937
1603
  }
938
1604
 
1605
+ /// @access private
939
1606
  @mixin _text-field-base-styles {
940
1607
  @include utils.map-to-styles($text-field-typography);
941
1608
  @include form-use-var(padding-left, text-field-padding-left);
@@ -951,6 +1618,10 @@ $form-variables: (
951
1618
  width: 100%;
952
1619
  }
953
1620
 
1621
+ /// Generates all the styles based on feature flags.
1622
+ ///
1623
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1624
+ /// layer behavior
954
1625
  @mixin text-field-styles($disable-layer: false) {
955
1626
  @include utils.optional-layer(form, $disable-layer) {
956
1627
  .rmd-text-field {
@@ -1002,6 +1673,10 @@ $form-variables: (
1002
1673
  }
1003
1674
  }
1004
1675
 
1676
+ /// Generates all the styles based on feature flags.
1677
+ ///
1678
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1679
+ /// layer behavior
1005
1680
  @mixin password-styles($disable-layer: false) {
1006
1681
  @include utils.optional-layer(form, $disable-layer) {
1007
1682
  .rmd-password {
@@ -1033,6 +1708,10 @@ $form-variables: (
1033
1708
  }
1034
1709
  }
1035
1710
 
1711
+ /// Generates all the styles based on feature flags.
1712
+ ///
1713
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1714
+ /// layer behavior
1036
1715
  @mixin textarea-container-styles($disable-layer: false) {
1037
1716
  @include utils.optional-layer(form, $disable-layer) {
1038
1717
  .rmd-textarea-container {
@@ -1095,6 +1774,10 @@ $form-variables: (
1095
1774
  }
1096
1775
  }
1097
1776
 
1777
+ /// Generates all the styles based on feature flags.
1778
+ ///
1779
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1780
+ /// layer behavior
1098
1781
  @mixin textarea-styles($disable-layer: false) {
1099
1782
  @include utils.optional-layer(form, $disable-layer) {
1100
1783
  .rmd-textarea {
@@ -1126,7 +1809,7 @@ $form-variables: (
1126
1809
  overflow: auto;
1127
1810
  }
1128
1811
 
1129
- @if not $disable-textarea-resizing-mask {
1812
+ @if not $disable-textarea-resizing-rows {
1130
1813
  &--mask {
1131
1814
  height: auto;
1132
1815
  left: 0;
@@ -1142,6 +1825,10 @@ $form-variables: (
1142
1825
  }
1143
1826
  }
1144
1827
 
1828
+ /// Generates all the styles based on feature flags.
1829
+ ///
1830
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1831
+ /// layer behavior
1145
1832
  @mixin select-styles($disable-layer: false) {
1146
1833
  @include utils.optional-layer(form, $disable-layer) {
1147
1834
  .rmd-select-container {
@@ -1199,6 +1886,10 @@ $form-variables: (
1199
1886
  }
1200
1887
  }
1201
1888
 
1889
+ /// Generates all the styles based on feature flags.
1890
+ ///
1891
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1892
+ /// layer behavior
1202
1893
  @mixin option-styles($disable-layer: false) {
1203
1894
  @include utils.optional-layer(form, $disable-layer) {
1204
1895
  .rmd-option {
@@ -1224,6 +1915,10 @@ $form-variables: (
1224
1915
  }
1225
1916
  }
1226
1917
 
1918
+ /// Generates all the styles based on feature flags.
1919
+ ///
1920
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1921
+ /// layer behavior
1227
1922
  @mixin native-select-styles($disable-layer: false) {
1228
1923
  @include utils.optional-layer(form, $disable-layer) {
1229
1924
  @if not $disable-native-select-multiple {
@@ -1276,6 +1971,10 @@ $form-variables: (
1276
1971
  }
1277
1972
  }
1278
1973
 
1974
+ /// Generates all the styles based on feature flags.
1975
+ ///
1976
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
1977
+ /// layer behavior
1279
1978
  @mixin text-field-addon-styles($disable-layer: false) {
1280
1979
  @include utils.optional-layer(form, $disable-layer) {
1281
1980
  .rmd-text-field-addon {
@@ -1323,6 +2022,10 @@ $form-variables: (
1323
2022
  }
1324
2023
  }
1325
2024
 
2025
+ /// Generates all the styles based on feature flags.
2026
+ ///
2027
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
2028
+ /// layer behavior
1326
2029
  @mixin hidden-input-styles($disable-layer: false) {
1327
2030
  @include utils.optional-layer(form, $disable-layer) {
1328
2031
  .rmd-hidden-input {
@@ -1341,6 +2044,10 @@ $form-variables: (
1341
2044
  }
1342
2045
  }
1343
2046
 
2047
+ /// Generates all the styles based on feature flags.
2048
+ ///
2049
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
2050
+ /// layer behavior
1344
2051
  @mixin input-toggle-styles($disable-layer: false) {
1345
2052
  @include utils.optional-layer(form, $disable-layer) {
1346
2053
  .rmd-input-toggle {
@@ -1428,6 +2135,10 @@ $form-variables: (
1428
2135
  }
1429
2136
  }
1430
2137
 
2138
+ /// Generates all the styles based on feature flags.
2139
+ ///
2140
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
2141
+ /// layer behavior
1431
2142
  @mixin switch-styles($disable-layer: false) {
1432
2143
  @include utils.optional-layer(form, $disable-layer) {
1433
2144
  .rmd-switch {
@@ -1559,6 +2270,10 @@ $form-variables: (
1559
2270
  }
1560
2271
  }
1561
2272
 
2273
+ /// Generates all the styles based on feature flags.
2274
+ ///
2275
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
2276
+ /// layer behavior
1562
2277
  @mixin menu-item-input-toggle-styles($disable-layer: false) {
1563
2278
  @include utils.optional-layer(form, $disable-layer) {
1564
2279
  .rmd-menu-item-input-toggle {
@@ -1608,6 +2323,10 @@ $form-variables: (
1608
2323
  }
1609
2324
  }
1610
2325
 
2326
+ /// Generates all the styles based on feature flags.
2327
+ ///
2328
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
2329
+ /// layer behavior
1611
2330
  @mixin slider-styles($disable-layer: false) {
1612
2331
  @include utils.optional-layer(form, $disable-layer) {
1613
2332
  .rmd-slider-container {
@@ -2112,6 +2831,10 @@ $form-variables: (
2112
2831
  }
2113
2832
  }
2114
2833
 
2834
+ /// Generates all the styles based on feature flags.
2835
+ ///
2836
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
2837
+ /// layer behavior
2115
2838
  @mixin form-variables {
2116
2839
  @if not $form-disable-everything {
2117
2840
  @include form-set-var(active-color, $form-active-color);
@@ -2241,6 +2964,10 @@ $form-variables: (
2241
2964
  }
2242
2965
  }
2243
2966
 
2967
+ /// Generates all the styles based on feature flags.
2968
+ ///
2969
+ /// @param {Boolean} disable-layer [false] - Set this to `true` to disable the
2970
+ /// layer behavior
2244
2971
  @mixin form-styles($disable-layer: false) {
2245
2972
  @if not $form-disable-everything {
2246
2973
  @include utils.optional-layer(form, $disable-layer) {