@adgytec/adgytec-web-ui-components 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (772) hide show
  1. package/README.md +27 -16
  2. package/dist/App.d.ts +1 -2
  3. package/dist/assets/BottomSheetModal.css +1 -1
  4. package/dist/assets/CalendarCell.css +1 -1
  5. package/dist/assets/CalendarMenuItem.css +1 -1
  6. package/dist/assets/Card.css +1 -1
  7. package/dist/assets/Input.css +1 -1
  8. package/dist/assets/ListItem.css +1 -1
  9. package/dist/assets/ListTrailingText.css +1 -0
  10. package/dist/assets/Radio.css +1 -1
  11. package/dist/assets/SideSheet.css +1 -1
  12. package/dist/assets/SideSheetModal.css +1 -1
  13. package/dist/assets/Switch.css +1 -1
  14. package/dist/assets/ThemeSelector.css +1 -1
  15. package/dist/assets/core7.css +1 -1
  16. package/dist/chunks/ActionDialog +0 -1
  17. package/dist/chunks/ActionDialog.map +1 -1
  18. package/dist/chunks/AppBar +42 -43
  19. package/dist/chunks/AppBar.map +1 -1
  20. package/dist/chunks/AppBarAction +0 -1
  21. package/dist/chunks/AppBarAction.map +1 -1
  22. package/dist/chunks/AppBarAvatar +1 -2
  23. package/dist/chunks/AppBarAvatar.map +1 -1
  24. package/dist/chunks/AppBarHeadline +1 -2
  25. package/dist/chunks/AppBarHeadline.map +1 -1
  26. package/dist/chunks/BaseCalendar +65 -68
  27. package/dist/chunks/BaseCalendar.map +1 -1
  28. package/dist/chunks/BottomSheet +1 -2
  29. package/dist/chunks/BottomSheet.map +1 -1
  30. package/dist/chunks/BottomSheetModal +1 -2
  31. package/dist/chunks/BottomSheetModal.map +1 -1
  32. package/dist/chunks/ButtonGroup +1 -2
  33. package/dist/chunks/ButtonGroup.map +1 -1
  34. package/dist/chunks/CalendarCell +25 -40
  35. package/dist/chunks/CalendarCell.map +1 -1
  36. package/dist/chunks/CalendarGrid +1 -2
  37. package/dist/chunks/CalendarGrid.map +1 -1
  38. package/dist/chunks/CalendarMenuItem +2 -3
  39. package/dist/chunks/CalendarMenuItem.map +1 -1
  40. package/dist/chunks/Card +4 -5
  41. package/dist/chunks/Card.map +1 -1
  42. package/dist/chunks/CardIcon +1 -2
  43. package/dist/chunks/CardIcon.map +1 -1
  44. package/dist/chunks/CenteredSlider +1 -2
  45. package/dist/chunks/CenteredSlider.map +1 -1
  46. package/dist/chunks/ComboBox +1 -2
  47. package/dist/chunks/ComboBox.map +1 -1
  48. package/dist/chunks/ComboBoxPopover +0 -1
  49. package/dist/chunks/ComboBoxPopover.map +1 -1
  50. package/dist/chunks/ComboBoxTrigger +575 -63
  51. package/dist/chunks/ComboBoxTrigger.map +1 -1
  52. package/dist/chunks/ConnectedButtonGroup +13 -11
  53. package/dist/chunks/ConnectedButtonGroup.map +1 -1
  54. package/dist/chunks/Dialog +1 -2
  55. package/dist/chunks/Dialog.map +1 -1
  56. package/dist/chunks/Disclosure +1 -2
  57. package/dist/chunks/Disclosure.map +1 -1
  58. package/dist/chunks/DisclosureGroup +1 -2
  59. package/dist/chunks/DisclosureGroup.map +1 -1
  60. package/dist/chunks/DisclosureHeader +1 -2
  61. package/dist/chunks/DisclosureHeader.map +1 -1
  62. package/dist/chunks/DisclosurePanel +1 -2
  63. package/dist/chunks/DisclosurePanel.map +1 -1
  64. package/dist/chunks/Divider +1 -2
  65. package/dist/chunks/Divider.map +1 -1
  66. package/dist/chunks/FieldError +1 -2
  67. package/dist/chunks/FieldError.map +1 -1
  68. package/dist/chunks/GridBackgroundDecorator +0 -1
  69. package/dist/chunks/GridBackgroundDecorator.map +1 -1
  70. package/dist/chunks/Icon +1 -2
  71. package/dist/chunks/Icon.map +1 -1
  72. package/dist/chunks/Input +67 -78
  73. package/dist/chunks/Input.map +1 -1
  74. package/dist/chunks/Input2 +6 -9
  75. package/dist/chunks/Input2.map +1 -1
  76. package/dist/chunks/ListAction +12 -0
  77. package/dist/chunks/ListAction.map +1 -0
  78. package/dist/chunks/ListAvatar +1 -2
  79. package/dist/chunks/ListAvatar.map +1 -1
  80. package/dist/chunks/ListBox +12 -9
  81. package/dist/chunks/ListBox.map +1 -1
  82. package/dist/chunks/ListIcon +1 -2
  83. package/dist/chunks/ListIcon.map +1 -1
  84. package/dist/chunks/ListItem +62 -49
  85. package/dist/chunks/ListItem.map +1 -1
  86. package/dist/chunks/ListLabelText +1 -2
  87. package/dist/chunks/ListLabelText.map +1 -1
  88. package/dist/chunks/ListMedia +0 -1
  89. package/dist/chunks/ListMedia.map +1 -1
  90. package/dist/chunks/ListOverlineText +1 -2
  91. package/dist/chunks/ListOverlineText.map +1 -1
  92. package/dist/chunks/ListSupportingText +1 -2
  93. package/dist/chunks/ListSupportingText.map +1 -1
  94. package/dist/chunks/ListTrailingText +20 -0
  95. package/dist/chunks/ListTrailingText.map +1 -0
  96. package/dist/chunks/Loader +1 -2
  97. package/dist/chunks/Loader.map +1 -1
  98. package/dist/chunks/MenuPopover +1 -2
  99. package/dist/chunks/MenuPopover.map +1 -1
  100. package/dist/chunks/Modal +1 -2
  101. package/dist/chunks/Modal.map +1 -1
  102. package/dist/chunks/ModalOverlay +1 -2
  103. package/dist/chunks/ModalOverlay.map +1 -1
  104. package/dist/chunks/Navigation +2 -4
  105. package/dist/chunks/Navigation.map +1 -1
  106. package/dist/chunks/NavigationScrollContainer +7 -6
  107. package/dist/chunks/NavigationScrollContainer.map +1 -1
  108. package/dist/chunks/NavigationSection +1 -2
  109. package/dist/chunks/NavigationSection.map +1 -1
  110. package/dist/chunks/NavigationSectionLabel +1 -2
  111. package/dist/chunks/NavigationSectionLabel.map +1 -1
  112. package/dist/chunks/Popover +1 -2
  113. package/dist/chunks/Popover.map +1 -1
  114. package/dist/chunks/RadialGlowDecorator +0 -1
  115. package/dist/chunks/RadialGlowDecorator.map +1 -1
  116. package/dist/chunks/Radio +57 -70
  117. package/dist/chunks/Radio.map +1 -1
  118. package/dist/chunks/RichTooltip +1 -2
  119. package/dist/chunks/RichTooltip.map +1 -1
  120. package/dist/chunks/RichTooltipActions +1 -2
  121. package/dist/chunks/RichTooltipActions.map +1 -1
  122. package/dist/chunks/RichTooltipInfo +1 -2
  123. package/dist/chunks/RichTooltipInfo.map +1 -1
  124. package/dist/chunks/SearchField +0 -1
  125. package/dist/chunks/SearchField.map +1 -1
  126. package/dist/chunks/SelectPopover +1 -2
  127. package/dist/chunks/SelectPopover.map +1 -1
  128. package/dist/chunks/SelectTrigger +1 -2
  129. package/dist/chunks/SelectTrigger.map +1 -1
  130. package/dist/chunks/SideSheet +8 -9
  131. package/dist/chunks/SideSheet.map +1 -1
  132. package/dist/chunks/SideSheetModal +2 -3
  133. package/dist/chunks/SideSheetModal.map +1 -1
  134. package/dist/chunks/Slider +0 -1
  135. package/dist/chunks/Slider.map +1 -1
  136. package/dist/chunks/SliderOutput +1 -2
  137. package/dist/chunks/SliderOutput.map +1 -1
  138. package/dist/chunks/SliderStops +4 -5
  139. package/dist/chunks/SliderStops.map +1 -1
  140. package/dist/chunks/SliderThumb +0 -1
  141. package/dist/chunks/SliderThumb.map +1 -1
  142. package/dist/chunks/Snackbar +1 -2
  143. package/dist/chunks/Snackbar.map +1 -1
  144. package/dist/chunks/SplitButton +14 -12
  145. package/dist/chunks/SplitButton.map +1 -1
  146. package/dist/chunks/SplitButtonTrigger +9 -9
  147. package/dist/chunks/SplitButtonTrigger.map +1 -1
  148. package/dist/chunks/SubmenuPopover +0 -1
  149. package/dist/chunks/SubmenuPopover.map +1 -1
  150. package/dist/chunks/Switch +47 -48
  151. package/dist/chunks/Switch.map +1 -1
  152. package/dist/chunks/Tab +1 -2
  153. package/dist/chunks/Tab.map +1 -1
  154. package/dist/chunks/TabList +1 -2
  155. package/dist/chunks/TabList.map +1 -1
  156. package/dist/chunks/TabPanel +1 -2
  157. package/dist/chunks/TabPanel.map +1 -1
  158. package/dist/chunks/TabPanels +1 -2
  159. package/dist/chunks/TabPanels.map +1 -1
  160. package/dist/chunks/Tabs +1 -2
  161. package/dist/chunks/Tabs.map +1 -1
  162. package/dist/chunks/Tag +1 -2
  163. package/dist/chunks/Tag.map +1 -1
  164. package/dist/chunks/ThemeSelector +117 -89
  165. package/dist/chunks/ThemeSelector.map +1 -1
  166. package/dist/chunks/Toolbar +0 -1
  167. package/dist/chunks/Toolbar.map +1 -1
  168. package/dist/chunks/Tooltip +0 -1
  169. package/dist/chunks/Tooltip.map +1 -1
  170. package/dist/chunks/base +1 -2
  171. package/dist/chunks/base.map +1 -1
  172. package/dist/chunks/compiler-runtime +4 -5
  173. package/dist/chunks/compiler-runtime.map +1 -1
  174. package/dist/chunks/context +1 -2
  175. package/dist/chunks/context.map +1 -1
  176. package/dist/chunks/core +30 -31
  177. package/dist/chunks/core.map +1 -1
  178. package/dist/chunks/core2 +0 -1
  179. package/dist/chunks/core2.map +1 -1
  180. package/dist/chunks/core3 +2 -5
  181. package/dist/chunks/core3.map +1 -1
  182. package/dist/chunks/core4 +0 -1
  183. package/dist/chunks/core4.map +1 -1
  184. package/dist/chunks/core5 +0 -1
  185. package/dist/chunks/core5.map +1 -1
  186. package/dist/chunks/core6 +14 -15
  187. package/dist/chunks/core6.map +1 -1
  188. package/dist/chunks/core7 +2 -5
  189. package/dist/chunks/core7.map +1 -1
  190. package/dist/chunks/core8 +1 -3
  191. package/dist/chunks/core8.map +1 -1
  192. package/dist/chunks/core9 +0 -1
  193. package/dist/chunks/core9.map +1 -1
  194. package/dist/chunks/navContext +1 -2
  195. package/dist/chunks/navContext.map +1 -1
  196. package/dist/chunks/tapTarget +0 -1
  197. package/dist/chunks/tapTarget.map +1 -1
  198. package/dist/chunks/types +1 -2
  199. package/dist/chunks/types.map +1 -1
  200. package/dist/chunks/useHover +430 -161
  201. package/dist/chunks/useHover.map +1 -1
  202. package/dist/chunks/useSplash +18 -21
  203. package/dist/chunks/useSplash.map +1 -1
  204. package/dist/components/AppBar/AppBar/AppBar.d.ts +29 -0
  205. package/dist/components/AppBar/AppBar/index.js +1 -2
  206. package/dist/components/AppBar/AppBar/types.d.ts +29 -4
  207. package/dist/components/AppBar/AppBarAction/AppBarAction.d.ts +19 -1
  208. package/dist/components/AppBar/AppBarAction/index.js +1 -2
  209. package/dist/components/AppBar/AppBarAvatar/AppBarAvatar.d.ts +20 -1
  210. package/dist/components/AppBar/AppBarAvatar/index.js +1 -2
  211. package/dist/components/AppBar/AppBarHeadline/AppBarHeadline.d.ts +19 -1
  212. package/dist/components/AppBar/AppBarHeadline/index.js +1 -2
  213. package/dist/components/AppBar/AppBarState/AppBarState.d.ts +28 -2
  214. package/dist/components/AppBar/AppBarState/context.d.ts +37 -0
  215. package/dist/components/AppBar/AppBarState/index.js +16 -12
  216. package/dist/components/AppBar/AppBarState/index.js.map +1 -1
  217. package/dist/components/AppBar/core/alignment.d.ts +6 -0
  218. package/dist/components/AppBar/core/context.d.ts +16 -0
  219. package/dist/components/AppBar/core/index.js +2 -4
  220. package/dist/components/AppBar/core/index.js.map +1 -1
  221. package/dist/components/AppBar/core/size.d.ts +13 -0
  222. package/dist/components/AppBar/index.js +7 -7
  223. package/dist/components/Button/Button/Button.d.ts +17 -0
  224. package/dist/components/Button/Button/index.js +1 -2
  225. package/dist/components/Button/Button/index.js.map +1 -1
  226. package/dist/components/Button/Button/types.d.ts +4 -0
  227. package/dist/components/Button/ButtonGroups/ButtonGroup/ButtonGroup.d.ts +17 -0
  228. package/dist/components/Button/ButtonGroups/ButtonGroup/index.js +1 -2
  229. package/dist/components/Button/ButtonGroups/ButtonGroup/types.d.ts +24 -0
  230. package/dist/components/Button/ButtonGroups/ButtonGroupContext/context.d.ts +22 -0
  231. package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js +3 -6
  232. package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js.map +1 -1
  233. package/dist/components/Button/ButtonGroups/ButtonGroupContext/useButtonGroupContext.d.ts +5 -0
  234. package/dist/components/Button/ButtonGroups/ButtonGroupContext/useConnectedButtonGroupContext.d.ts +5 -0
  235. package/dist/components/Button/ButtonGroups/ConnectedButton/ConnectedButton.d.ts +13 -0
  236. package/dist/components/Button/ButtonGroups/ConnectedButton/index.js +1 -2
  237. package/dist/components/Button/ButtonGroups/ConnectedButton/types.d.ts +19 -1
  238. package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +18 -0
  239. package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/index.js +1 -2
  240. package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/types.d.ts +24 -0
  241. package/dist/components/Button/IconButton/IconButton.d.ts +21 -0
  242. package/dist/components/Button/IconButton/index.js +1 -2
  243. package/dist/components/Button/IconButton/index.js.map +1 -1
  244. package/dist/components/Button/IconButton/types.d.ts +4 -0
  245. package/dist/components/Button/LinkButton/LinkButton.d.ts +15 -0
  246. package/dist/components/Button/LinkButton/index.js +1 -2
  247. package/dist/components/Button/LinkButton/index.js.map +1 -1
  248. package/dist/components/Button/LinkButton/types.d.ts +4 -0
  249. package/dist/components/Button/LinkIconButton/LinkIconButton.d.ts +19 -0
  250. package/dist/components/Button/LinkIconButton/index.js +1 -2
  251. package/dist/components/Button/LinkIconButton/index.js.map +1 -1
  252. package/dist/components/Button/LinkIconButton/types.d.ts +4 -0
  253. package/dist/components/Button/SplitButton/SplitButton/SplitButton.d.ts +24 -0
  254. package/dist/components/Button/SplitButton/SplitButton/index.js +1 -2
  255. package/dist/components/Button/SplitButton/SplitButton/types.d.ts +23 -0
  256. package/dist/components/Button/SplitButton/SplitButtonContext/context.d.ts +11 -0
  257. package/dist/components/Button/SplitButton/SplitButtonContext/index.js +2 -4
  258. package/dist/components/Button/SplitButton/SplitButtonContext/index.js.map +1 -1
  259. package/dist/components/Button/SplitButton/SplitButtonContext/useSplitButtonContext.d.ts +5 -0
  260. package/dist/components/Button/SplitButton/SplitButtonPrimary/SplitButtonPrimary.d.ts +15 -0
  261. package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +3 -4
  262. package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
  263. package/dist/components/Button/SplitButton/SplitButtonPrimary/types.d.ts +11 -0
  264. package/dist/components/Button/SplitButton/SplitButtonTrigger/SplitButtonTrigger.d.ts +19 -0
  265. package/dist/components/Button/SplitButton/SplitButtonTrigger/index.js +1 -2
  266. package/dist/components/Button/SplitButton/SplitButtonTrigger/types.d.ts +5 -0
  267. package/dist/components/Button/SplitButton/core/index.js +1 -2
  268. package/dist/components/Button/SplitButton/core/size.d.ts +13 -0
  269. package/dist/components/Button/ToggleButton/ToggleButton.d.ts +21 -0
  270. package/dist/components/Button/ToggleButton/index.js +1 -2
  271. package/dist/components/Button/ToggleButton/index.js.map +1 -1
  272. package/dist/components/Button/ToggleButton/types.d.ts +14 -0
  273. package/dist/components/Button/ToggleIconButton/ToggleIconButton.d.ts +21 -0
  274. package/dist/components/Button/ToggleIconButton/index.js +1 -2
  275. package/dist/components/Button/ToggleIconButton/index.js.map +1 -1
  276. package/dist/components/Button/ToggleIconButton/types.d.ts +9 -0
  277. package/dist/components/Button/core/button.d.ts +33 -0
  278. package/dist/components/Button/core/color.d.ts +38 -0
  279. package/dist/components/Button/core/index.js +1 -2
  280. package/dist/components/Button/core/shape.d.ts +6 -0
  281. package/dist/components/Button/core/sizes.d.ts +26 -0
  282. package/dist/components/Button/core/useButtonConfig.d.ts +25 -0
  283. package/dist/components/Button/core/variant.d.ts +6 -0
  284. package/dist/components/Button/core/width.d.ts +7 -0
  285. package/dist/components/Button/core/withTooltip.d.ts +9 -2
  286. package/dist/components/Calendar/BaseCalendar/BaseCalendar.d.ts +23 -2
  287. package/dist/components/Calendar/BaseCalendar/index.js +1 -2
  288. package/dist/components/Calendar/Calendar/Calendar.d.ts +39 -2
  289. package/dist/components/Calendar/Calendar/index.js +19 -14
  290. package/dist/components/Calendar/Calendar/index.js.map +1 -1
  291. package/dist/components/Calendar/CalendarCell/CalendarCell.d.ts +14 -2
  292. package/dist/components/Calendar/CalendarCell/index.js +1 -2
  293. package/dist/components/Calendar/CalendarGrid/CalendarGrid.d.ts +12 -2
  294. package/dist/components/Calendar/CalendarGrid/index.js +1 -2
  295. package/dist/components/Calendar/CalendarMenuItem/CalendarMenuItem.d.ts +12 -1
  296. package/dist/components/Calendar/CalendarMenuItem/index.js +1 -2
  297. package/dist/components/Calendar/CalendarMonthMenu/CalendarMonthMenu.d.ts +14 -2
  298. package/dist/components/Calendar/CalendarMonthMenu/index.js +3 -4
  299. package/dist/components/Calendar/CalendarMonthMenu/index.js.map +1 -1
  300. package/dist/components/Calendar/CalendarYearMenu/CalendarYearMenu.d.ts +14 -2
  301. package/dist/components/Calendar/CalendarYearMenu/index.js +1 -2
  302. package/dist/components/Calendar/CalendarYearMenu/index.js.map +1 -1
  303. package/dist/components/Calendar/RangeCalendar/RangeCalendar.d.ts +40 -2
  304. package/dist/components/Calendar/RangeCalendar/index.js +20 -17
  305. package/dist/components/Calendar/RangeCalendar/index.js.map +1 -1
  306. package/dist/components/Calendar/core/calendar.d.ts +26 -0
  307. package/dist/components/Calendar/core/index.js +1 -2
  308. package/dist/components/Calendar/core/useCalendarState.d.ts +15 -0
  309. package/dist/components/Calendar/index.d.ts +1 -0
  310. package/dist/components/Calendar/index.js +4 -3
  311. package/dist/components/Card/Card/Card.d.ts +20 -0
  312. package/dist/components/Card/Card/types.d.ts +23 -0
  313. package/dist/components/Card/CardIcon/CardIcon.d.ts +25 -1
  314. package/dist/components/Card/CardIcon/index.js +1 -2
  315. package/dist/components/Decorators/GridBackgroundDecorator/GridBackgroundDecorator.d.ts +46 -7
  316. package/dist/components/Decorators/GridBackgroundDecorator/index.js +1 -2
  317. package/dist/components/Decorators/RadialGlowDecorator/RadialGlowDecorator.d.ts +53 -6
  318. package/dist/components/Decorators/RadialGlowDecorator/index.js +1 -2
  319. package/dist/components/Dialog/ActionDialog/ActionDialog.d.ts +33 -0
  320. package/dist/components/Dialog/ActionDialog/index.js +1 -2
  321. package/dist/components/Dialog/ActionDialog/types.d.ts +28 -2
  322. package/dist/components/Dialog/Dialog/Dialog.d.ts +32 -1
  323. package/dist/components/Dialog/Dialog/index.js +1 -2
  324. package/dist/components/Dialog/Modal/Modal.d.ts +24 -1
  325. package/dist/components/Dialog/Modal/index.js +1 -2
  326. package/dist/components/Dialog/ModalOverlay/ModalOverlay.d.ts +25 -1
  327. package/dist/components/Dialog/ModalOverlay/index.js +1 -2
  328. package/dist/components/Dialog/core/context.d.ts +8 -0
  329. package/dist/components/Dialog/core/index.js +2 -4
  330. package/dist/components/Dialog/core/index.js.map +1 -1
  331. package/dist/components/Dialog/core/typography.d.ts +9 -0
  332. package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +25 -1
  333. package/dist/components/Disclosure/Disclosure/index.js +1 -2
  334. package/dist/components/Disclosure/DisclosureGroup/DisclosureGroup.d.ts +50 -2
  335. package/dist/components/Disclosure/DisclosureGroup/index.js +1 -2
  336. package/dist/components/Disclosure/DisclosureHeader/DisclosureHeader.d.ts +31 -2
  337. package/dist/components/Disclosure/DisclosureHeader/index.js +1 -2
  338. package/dist/components/Disclosure/DisclosurePanel/DisclosurePanel.d.ts +31 -2
  339. package/dist/components/Disclosure/DisclosurePanel/index.js +1 -2
  340. package/dist/components/Disclosure/context/context.d.ts +11 -2
  341. package/dist/components/Disclosure/context/index.js +1 -2
  342. package/dist/components/Disclosure/context/index.js.map +1 -1
  343. package/dist/components/Disclosure/context/useDisclosureTypographyContext.d.ts +18 -2
  344. package/dist/components/Divider/Divider.d.ts +30 -1
  345. package/dist/components/Divider/index.js +1 -2
  346. package/dist/components/Icon/Icon.d.ts +29 -0
  347. package/dist/components/Icon/index.js +1 -2
  348. package/dist/components/Icon/types.d.ts +28 -0
  349. package/dist/components/Input/CharacterCount/CharacterCount.d.ts +11 -2
  350. package/dist/components/Input/CharacterCount/index.js +1 -2
  351. package/dist/components/Input/CharacterCount/index.js.map +1 -1
  352. package/dist/components/Input/Checkbox/Checkbox.d.ts +26 -0
  353. package/dist/components/Input/Checkbox/CheckboxGroup.d.ts +17 -0
  354. package/dist/components/Input/Checkbox/context.d.ts +9 -3
  355. package/dist/components/Input/Checkbox/types.d.ts +32 -5
  356. package/dist/components/Input/DateField/DateField.d.ts +17 -1
  357. package/dist/components/Input/DateField/index.js +1 -2
  358. package/dist/components/Input/DateField/index.js.map +1 -1
  359. package/dist/components/Input/DateField/types.d.ts +4 -0
  360. package/dist/components/Input/DatePicker/DatePicker/DatePicker.d.ts +17 -1
  361. package/dist/components/Input/DatePicker/DatePicker/index.js +1 -2
  362. package/dist/components/Input/DatePicker/DatePicker/index.js.map +1 -1
  363. package/dist/components/Input/DatePicker/DatePicker/types.d.ts +10 -0
  364. package/dist/components/Input/DatePicker/DateRangePicker/DateRangePicker.d.ts +17 -1
  365. package/dist/components/Input/DatePicker/DateRangePicker/index.js +1 -2
  366. package/dist/components/Input/DatePicker/DateRangePicker/index.js.map +1 -1
  367. package/dist/components/Input/DatePicker/DateRangePicker/types.d.ts +10 -0
  368. package/dist/components/Input/DatePicker/core/datePicker.d.ts +3 -0
  369. package/dist/components/Input/DatePicker/core/index.js +1 -2
  370. package/dist/components/Input/Description/Description.d.ts +12 -1
  371. package/dist/components/Input/Description/index.js +1 -2
  372. package/dist/components/Input/Description/index.js.map +1 -1
  373. package/dist/components/Input/FieldError/FieldError.d.ts +12 -1
  374. package/dist/components/Input/FieldError/index.js +1 -2
  375. package/dist/components/Input/Input/Input.d.ts +27 -0
  376. package/dist/components/Input/Input/InputButton.d.ts +10 -1
  377. package/dist/components/Input/Input/handleInputButton.d.ts +6 -0
  378. package/dist/components/Input/Input/index.js +1 -2
  379. package/dist/components/Input/Input/types.d.ts +20 -0
  380. package/dist/components/Input/Label/Label.d.ts +12 -1
  381. package/dist/components/Input/Label/index.js +1 -2
  382. package/dist/components/Input/Label/index.js.map +1 -1
  383. package/dist/components/Input/Radio/Radio.d.ts +17 -0
  384. package/dist/components/Input/Radio/RadioGroup.d.ts +17 -0
  385. package/dist/components/Input/Radio/context.d.ts +9 -3
  386. package/dist/components/Input/Radio/index.js +1 -2
  387. package/dist/components/Input/Radio/types.d.ts +32 -6
  388. package/dist/components/Input/SearchField/SearchField.d.ts +16 -0
  389. package/dist/components/Input/SearchField/index.js +1 -2
  390. package/dist/components/Input/SearchField/types.d.ts +9 -0
  391. package/dist/components/Input/Select/ComboBox/ComboBox.d.ts +29 -1
  392. package/dist/components/Input/Select/ComboBox/context.d.ts +3 -0
  393. package/dist/components/Input/Select/ComboBox/index.js +1 -2
  394. package/dist/components/Input/Select/ComboBox/types.d.ts +9 -0
  395. package/dist/components/Input/Select/ComboBoxPopover/ComboBoxPopover.d.ts +10 -1
  396. package/dist/components/Input/Select/ComboBoxPopover/index.js +1 -2
  397. package/dist/components/Input/Select/ComboBoxTrigger/ComboBoxTrigger.d.ts +10 -2
  398. package/dist/components/Input/Select/ComboBoxTrigger/index.js +1 -2
  399. package/dist/components/Input/Select/Select/Select.d.ts +29 -1
  400. package/dist/components/Input/Select/Select/index.js +1 -2
  401. package/dist/components/Input/Select/Select/index.js.map +1 -1
  402. package/dist/components/Input/Select/Select/types.d.ts +4 -0
  403. package/dist/components/Input/Select/SelectItem/SelectItem.d.ts +19 -0
  404. package/dist/components/Input/Select/SelectItem/index.js +1 -2
  405. package/dist/components/Input/Select/SelectItem/index.js.map +1 -1
  406. package/dist/components/Input/Select/SelectItem/types.d.ts +9 -0
  407. package/dist/components/Input/Select/SelectList/SelectList.d.ts +14 -2
  408. package/dist/components/Input/Select/SelectList/index.js +1 -2
  409. package/dist/components/Input/Select/SelectList/index.js.map +1 -1
  410. package/dist/components/Input/Select/SelectListSection/SelectListSection.d.ts +4 -1
  411. package/dist/components/Input/Select/SelectListSection/index.js +1 -2
  412. package/dist/components/Input/Select/SelectListSection/index.js.map +1 -1
  413. package/dist/components/Input/Select/SelectListSectionHeader/SelectListSectionHeader.d.ts +3 -0
  414. package/dist/components/Input/Select/SelectListSectionHeader/index.js +1 -2
  415. package/dist/components/Input/Select/SelectListSectionHeader/index.js.map +1 -1
  416. package/dist/components/Input/Select/SelectPopover/SelectPopover.d.ts +10 -1
  417. package/dist/components/Input/Select/SelectPopover/index.js +1 -2
  418. package/dist/components/Input/Select/SelectTrigger/SelectTrigger.d.ts +10 -1
  419. package/dist/components/Input/Select/SelectTrigger/index.js +1 -2
  420. package/dist/components/Input/Slider/CenteredSlider/CenteredSlider.d.ts +23 -1
  421. package/dist/components/Input/Slider/CenteredSlider/index.js +1 -2
  422. package/dist/components/Input/Slider/CenteredSlider/types.d.ts +6 -0
  423. package/dist/components/Input/Slider/RangeSlider/RangeSlider.d.ts +24 -1
  424. package/dist/components/Input/Slider/RangeSlider/index.js +1 -2
  425. package/dist/components/Input/Slider/RangeSlider/index.js.map +1 -1
  426. package/dist/components/Input/Slider/RangeSlider/types.d.ts +9 -0
  427. package/dist/components/Input/Slider/Slider/Slider.d.ts +24 -1
  428. package/dist/components/Input/Slider/Slider/index.js +1 -2
  429. package/dist/components/Input/Slider/Slider/types.d.ts +13 -0
  430. package/dist/components/Input/Slider/SliderOutput/SliderOutput.d.ts +19 -1
  431. package/dist/components/Input/Slider/SliderOutput/index.js +1 -2
  432. package/dist/components/Input/Slider/SliderStops/SliderStops.d.ts +18 -0
  433. package/dist/components/Input/Slider/SliderStops/core.d.ts +54 -10
  434. package/dist/components/Input/Slider/SliderStops/index.js +1 -2
  435. package/dist/components/Input/Slider/SliderStops/types.d.ts +38 -0
  436. package/dist/components/Input/Slider/SliderThumb/SliderThumb.d.ts +32 -2
  437. package/dist/components/Input/Slider/SliderThumb/context.d.ts +20 -0
  438. package/dist/components/Input/Slider/SliderThumb/index.js +1 -2
  439. package/dist/components/Input/Slider/core/color.d.ts +1 -0
  440. package/dist/components/Input/Slider/core/index.js +1 -2
  441. package/dist/components/Input/Slider/core/size.d.ts +12 -0
  442. package/dist/components/Input/Slider/core/slider.d.ts +44 -0
  443. package/dist/components/Input/Slider/core/variant.d.ts +10 -0
  444. package/dist/components/Input/Switch/Switch.d.ts +32 -0
  445. package/dist/components/Input/Switch/index.js +1 -2
  446. package/dist/components/Input/Switch/types.d.ts +35 -3
  447. package/dist/components/Input/TextArea/TextArea.d.ts +19 -0
  448. package/dist/components/Input/TextArea/index.js +1 -2
  449. package/dist/components/Input/TextArea/index.js.map +1 -1
  450. package/dist/components/Input/TextArea/types.d.ts +11 -0
  451. package/dist/components/Input/TimeField/TimeField.d.ts +17 -1
  452. package/dist/components/Input/TimeField/index.js +1 -2
  453. package/dist/components/Input/TimeField/index.js.map +1 -1
  454. package/dist/components/Input/TimeField/types.d.ts +4 -0
  455. package/dist/components/Input/core/index.js +1 -2
  456. package/dist/components/Input/core/input.d.ts +15 -0
  457. package/dist/components/Input/core/textField.d.ts +13 -0
  458. package/dist/components/Input/hooks/index.js +1 -2
  459. package/dist/components/Input/hooks/index.js.map +1 -1
  460. package/dist/components/Input/hooks/useControllableState.d.ts +17 -2
  461. package/dist/components/List/ListAction/ListAction.d.ts +23 -1
  462. package/dist/components/List/ListAction/index.d.ts +1 -1
  463. package/dist/components/List/ListAction/index.js +1 -0
  464. package/dist/components/List/ListAvatar/ListAvatar.d.ts +23 -1
  465. package/dist/components/List/ListAvatar/index.js +1 -2
  466. package/dist/components/List/ListBox/ListBox.d.ts +28 -1
  467. package/dist/components/List/ListBox/index.js +1 -2
  468. package/dist/components/List/ListBox/types.d.ts +27 -0
  469. package/dist/components/List/ListIcon/ListIcon.d.ts +19 -1
  470. package/dist/components/List/ListIcon/index.js +1 -2
  471. package/dist/components/List/ListItem/ListItem.d.ts +35 -0
  472. package/dist/components/List/ListItem/index.js +1 -2
  473. package/dist/components/List/ListItem/types.d.ts +34 -0
  474. package/dist/components/List/ListLabelText/ListLabelText.d.ts +16 -1
  475. package/dist/components/List/ListLabelText/index.js +1 -2
  476. package/dist/components/List/ListMedia/ListMedia.d.ts +20 -0
  477. package/dist/components/List/ListMedia/index.js +1 -2
  478. package/dist/components/List/ListMedia/types.d.ts +32 -0
  479. package/dist/components/List/ListOverlineText/ListOverlineText.d.ts +16 -1
  480. package/dist/components/List/ListOverlineText/index.js +1 -2
  481. package/dist/components/List/ListSupportingText/ListSupportingText.d.ts +16 -1
  482. package/dist/components/List/ListSupportingText/index.js +1 -2
  483. package/dist/components/List/ListTrailingText/ListTrailingText.d.ts +16 -1
  484. package/dist/components/List/ListTrailingText/index.d.ts +1 -1
  485. package/dist/components/List/ListTrailingText/index.js +1 -0
  486. package/dist/components/List/core/context.d.ts +18 -0
  487. package/dist/components/List/core/index.d.ts +2 -0
  488. package/dist/components/List/core/index.js +9 -0
  489. package/dist/components/List/core/index.js.map +1 -0
  490. package/dist/components/List/core/selectionIndicator.d.ts +8 -0
  491. package/dist/components/List/index.d.ts +1 -0
  492. package/dist/components/List/index.js +12 -9
  493. package/dist/components/Loader/Loader.d.ts +26 -1
  494. package/dist/components/Loader/index.js +1 -2
  495. package/dist/components/Menu/Menu/Menu.d.ts +31 -1
  496. package/dist/components/Menu/Menu/index.js +1 -2
  497. package/dist/components/Menu/Menu/index.js.map +1 -1
  498. package/dist/components/Menu/Menu/types.d.ts +18 -0
  499. package/dist/components/Menu/MenuItem/MenuItem.d.ts +22 -0
  500. package/dist/components/Menu/MenuItem/index.js +1 -2
  501. package/dist/components/Menu/MenuItem/index.js.map +1 -1
  502. package/dist/components/Menu/MenuItem/types.d.ts +24 -0
  503. package/dist/components/Menu/MenuPopover/MenuPopover.d.ts +21 -1
  504. package/dist/components/Menu/MenuPopover/index.js +1 -2
  505. package/dist/components/Menu/MenuSection/MenuSection.d.ts +23 -1
  506. package/dist/components/Menu/MenuSection/index.js +1 -2
  507. package/dist/components/Menu/MenuSection/index.js.map +1 -1
  508. package/dist/components/Menu/MenuSectionHeader/MenuSectionHeader.d.ts +16 -1
  509. package/dist/components/Menu/MenuSectionHeader/index.js +1 -2
  510. package/dist/components/Menu/MenuSectionHeader/index.js.map +1 -1
  511. package/dist/components/Menu/MenuShortcut/MenuShortcut.d.ts +16 -1
  512. package/dist/components/Menu/MenuShortcut/index.js +1 -2
  513. package/dist/components/Menu/MenuShortcut/index.js.map +1 -1
  514. package/dist/components/Menu/MenuTrailingText/MenuTrailingText.d.ts +16 -1
  515. package/dist/components/Menu/MenuTrailingText/index.js +1 -2
  516. package/dist/components/Menu/MenuTrailingText/index.js.map +1 -1
  517. package/dist/components/Menu/MenuTrigger/MenuTrigger.d.ts +43 -2
  518. package/dist/components/Menu/MenuTrigger/index.js +1 -2
  519. package/dist/components/Menu/MenuTrigger/index.js.map +1 -1
  520. package/dist/components/Menu/SubmenuPopover/SubmenuPopover.d.ts +22 -1
  521. package/dist/components/Menu/SubmenuPopover/index.js +1 -2
  522. package/dist/components/Menu/context/context.d.ts +13 -0
  523. package/dist/components/Menu/context/index.js +2 -4
  524. package/dist/components/Menu/context/index.js.map +1 -1
  525. package/dist/components/Menu/context/useMenuConfigContext.d.ts +6 -0
  526. package/dist/components/Menu/core/color.d.ts +20 -0
  527. package/dist/components/Menu/core/index.js +1 -2
  528. package/dist/components/Menu/core/layout.d.ts +17 -0
  529. package/dist/components/Menu/core/menu.d.ts +18 -0
  530. package/dist/components/Navigation/Navigation/Navigation.d.ts +28 -0
  531. package/dist/components/Navigation/Navigation/navContext.d.ts +19 -0
  532. package/dist/components/Navigation/Navigation/navRenderingContext.d.ts +16 -0
  533. package/dist/components/Navigation/Navigation/types.d.ts +28 -0
  534. package/dist/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +15 -0
  535. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js +1 -2
  536. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -1
  537. package/dist/components/Navigation/NavigationItem/NavigationButton/types.d.ts +9 -0
  538. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +21 -2
  539. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js +1 -2
  540. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -1
  541. package/dist/components/Navigation/NavigationItem/NavigationLink/NavigationLink.d.ts +15 -0
  542. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js +1 -2
  543. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -1
  544. package/dist/components/Navigation/NavigationItem/NavigationLink/types.d.ts +5 -0
  545. package/dist/components/Navigation/NavigationItem/core/index.js +1 -2
  546. package/dist/components/Navigation/NavigationItem/core/navigationItem.d.ts +22 -0
  547. package/dist/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +22 -1
  548. package/dist/components/Navigation/NavigationScrollContainer/index.js +1 -2
  549. package/dist/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +24 -1
  550. package/dist/components/Navigation/NavigationSection/NavigationSection/index.js +1 -2
  551. package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +16 -1
  552. package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/index.js +1 -2
  553. package/dist/components/Navigation/NavigationState/NavigationState.d.ts +27 -2
  554. package/dist/components/Navigation/NavigationState/context.d.ts +31 -0
  555. package/dist/components/Navigation/NavigationState/index.d.ts +1 -0
  556. package/dist/components/Navigation/NavigationState/index.js +2 -4
  557. package/dist/components/Navigation/NavigationState/index.js.map +1 -1
  558. package/dist/components/Navigation/NavigationState/types.d.ts +12 -0
  559. package/dist/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +35 -2
  560. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +1 -2
  561. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -1
  562. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +40 -2
  563. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +1 -2
  564. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -1
  565. package/dist/components/Navigation/core/index.js +1 -2
  566. package/dist/components/Navigation/core/navLabelContext.d.ts +6 -0
  567. package/dist/components/Navigation/core/navigation.d.ts +9 -0
  568. package/dist/components/Navigation/core/navigationInfo.d.ts +19 -0
  569. package/dist/components/Popover/Popover.d.ts +34 -1
  570. package/dist/components/Popover/index.js +1 -2
  571. package/dist/components/Sheets/BottomSheet/BottomSheet/BottomSheet.d.ts +40 -0
  572. package/dist/components/Sheets/BottomSheet/BottomSheet/index.d.ts +2 -0
  573. package/dist/components/Sheets/BottomSheet/BottomSheet/index.js +1 -0
  574. package/dist/components/Sheets/BottomSheet/BottomSheet/types.d.ts +37 -0
  575. package/dist/components/Sheets/BottomSheet/BottomSheetModal/BottomSheetModal.d.ts +36 -0
  576. package/dist/components/Sheets/BottomSheet/BottomSheetModal/context.d.ts +15 -0
  577. package/dist/components/Sheets/BottomSheet/BottomSheetModal/index.js +1 -0
  578. package/dist/components/Sheets/BottomSheet/BottomSheetModal/types.d.ts +43 -0
  579. package/dist/components/Sheets/BottomSheet/index.d.ts +1 -0
  580. package/dist/components/Sheets/BottomSheet/index.js +3 -2
  581. package/dist/components/Sheets/SideSheet/SideSheet/SideSheet.d.ts +48 -0
  582. package/dist/components/Sheets/SideSheet/SideSheet/SideSheetDialog.d.ts +45 -0
  583. package/dist/components/Sheets/SideSheet/SideSheet/index.d.ts +3 -0
  584. package/dist/components/Sheets/SideSheet/SideSheet/index.js +1 -0
  585. package/dist/components/Sheets/SideSheet/SideSheet/types.d.ts +102 -0
  586. package/dist/components/Sheets/SideSheet/SideSheetModal/SideSheetModal.d.ts +36 -0
  587. package/dist/components/Sheets/SideSheet/SideSheetModal/context.d.ts +20 -0
  588. package/dist/components/Sheets/SideSheet/SideSheetModal/index.js +1 -0
  589. package/dist/components/Sheets/SideSheet/SideSheetModal/types.d.ts +56 -0
  590. package/dist/components/Sheets/SideSheet/index.d.ts +1 -2
  591. package/dist/components/Sheets/SideSheet/index.js +3 -2
  592. package/dist/components/Sheets/core/layout.d.ts +11 -0
  593. package/dist/components/Sheets/index.d.ts +0 -2
  594. package/dist/components/Snackbar/SnackbarRegion.d.ts +50 -0
  595. package/dist/components/Snackbar/context.d.ts +38 -0
  596. package/dist/components/Snackbar/index.js +1 -2
  597. package/dist/components/Snackbar/types.d.ts +69 -0
  598. package/dist/components/Splash/Splash.d.ts +6 -0
  599. package/dist/components/Splash/index.js +1 -2
  600. package/dist/components/Splash/types.d.ts +10 -0
  601. package/dist/components/Splash/useSplash.d.ts +21 -0
  602. package/dist/components/Tabs/Tab/Tab.d.ts +33 -2
  603. package/dist/components/Tabs/Tab/index.js +1 -2
  604. package/dist/components/Tabs/TabList/TabList.d.ts +42 -1
  605. package/dist/components/Tabs/TabList/index.js +1 -2
  606. package/dist/components/Tabs/TabPanel/TabPanel.d.ts +28 -1
  607. package/dist/components/Tabs/TabPanel/index.js +1 -2
  608. package/dist/components/Tabs/TabPanels/TabPanels.d.ts +28 -1
  609. package/dist/components/Tabs/TabPanels/index.js +1 -2
  610. package/dist/components/Tabs/Tabs/Tabs.d.ts +43 -1
  611. package/dist/components/Tabs/Tabs/index.js +1 -2
  612. package/dist/components/Tag/Tag.d.ts +37 -0
  613. package/dist/components/Tag/core.d.ts +6 -0
  614. package/dist/components/Tag/index.js +1 -2
  615. package/dist/components/Tag/types.d.ts +48 -2
  616. package/dist/components/ThemeSelector/ThemeItem.d.ts +52 -2
  617. package/dist/components/ThemeSelector/ThemeProvider.d.ts +29 -2
  618. package/dist/components/ThemeSelector/ThemeSelector.d.ts +24 -0
  619. package/dist/components/ThemeSelector/core.d.ts +72 -4
  620. package/dist/components/ThemeSelector/index.d.ts +2 -0
  621. package/dist/components/ThemeSelector/index.js +1 -2
  622. package/dist/components/ThemeSelector/types.d.ts +110 -2
  623. package/dist/components/Toolbar/Toolbar.d.ts +47 -0
  624. package/dist/components/Toolbar/ToolbarToggleButtonGroup.d.ts +35 -1
  625. package/dist/components/Toolbar/index.js +1 -2
  626. package/dist/components/Toolbar/types.d.ts +60 -0
  627. package/dist/components/Tooltip/RichTooltip/RichTooltip/RichTooltip.d.ts +56 -1
  628. package/dist/components/Tooltip/RichTooltip/RichTooltip/index.js +1 -2
  629. package/dist/components/Tooltip/RichTooltip/RichTooltipActions/RichTooltipActions.d.ts +27 -1
  630. package/dist/components/Tooltip/RichTooltip/RichTooltipActions/index.js +1 -2
  631. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/RichTooltipInfo.d.ts +31 -1
  632. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/index.js +1 -2
  633. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.d.ts +22 -1
  634. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js +1 -2
  635. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js.map +1 -1
  636. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.d.ts +26 -1
  637. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js +1 -2
  638. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js.map +1 -1
  639. package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/RichTooltipTrigger.d.ts +53 -0
  640. package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.d.ts +1 -0
  641. package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.js +11 -0
  642. package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.js.map +1 -0
  643. package/dist/components/Tooltip/RichTooltip/index.d.ts +1 -0
  644. package/dist/components/Tooltip/RichTooltip/index.js +2 -1
  645. package/dist/components/Tooltip/Tooltip/Tooltip.d.ts +35 -1
  646. package/dist/components/Tooltip/Tooltip/index.js +1 -2
  647. package/dist/components/Tooltip/TooltipTrigger/TooltipTrigger.d.ts +29 -1
  648. package/dist/components/Tooltip/TooltipTrigger/index.js +1 -2
  649. package/dist/components/Tooltip/TooltipTrigger/index.js.map +1 -1
  650. package/dist/components/Tooltip/index.js +4 -3
  651. package/dist/index.d.ts +0 -1
  652. package/dist/index.js +131 -139
  653. package/dist/index.js.map +1 -1
  654. package/dist/preview/AppBar/AppBar.d.ts +2 -0
  655. package/dist/preview/AppBar/index.d.ts +1 -0
  656. package/dist/preview/BottomSheet/BottomSheet.d.ts +6 -0
  657. package/dist/preview/BottomSheet/index.d.ts +1 -0
  658. package/dist/preview/Button/Button.d.ts +2 -0
  659. package/dist/preview/Button/index.d.ts +1 -0
  660. package/dist/preview/ButtonGroup/ButtonGroup.d.ts +2 -0
  661. package/dist/preview/ButtonGroup/index.d.ts +1 -0
  662. package/dist/preview/Calendar/Calendar.d.ts +2 -0
  663. package/dist/preview/Calendar/index.d.ts +1 -0
  664. package/dist/preview/Card/Card.d.ts +2 -0
  665. package/dist/preview/Card/index.d.ts +1 -0
  666. package/dist/preview/CenteredSlider/CenteredSlider.d.ts +2 -0
  667. package/dist/preview/CenteredSlider/index.d.ts +1 -0
  668. package/dist/preview/Checkbox/Checkbox.d.ts +2 -0
  669. package/dist/preview/Checkbox/index.d.ts +1 -0
  670. package/dist/preview/Config/Config.d.ts +8 -0
  671. package/dist/preview/Config/index.d.ts +1 -0
  672. package/dist/preview/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +2 -0
  673. package/dist/preview/ConnectedButtonGroup/index.d.ts +1 -0
  674. package/dist/preview/DateField/DateField.d.ts +6 -0
  675. package/dist/preview/DateField/index.d.ts +1 -0
  676. package/dist/preview/DatePicker/DatePicker.d.ts +2 -0
  677. package/dist/preview/DatePicker/index.d.ts +1 -0
  678. package/dist/preview/DateRangePicker/DateRangePicker.d.ts +2 -0
  679. package/dist/preview/DateRangePicker/index.d.ts +1 -0
  680. package/dist/preview/Decorators/Decorators.d.ts +2 -0
  681. package/dist/preview/Decorators/index.d.ts +1 -0
  682. package/dist/preview/Dialog/Dialog.d.ts +2 -0
  683. package/dist/preview/Dialog/index.d.ts +1 -0
  684. package/dist/preview/Disclosure/Disclosure.d.ts +2 -0
  685. package/dist/preview/Disclosure/index.d.ts +1 -0
  686. package/dist/preview/Gradients/Gradients.d.ts +6 -0
  687. package/dist/preview/Gradients/index.d.ts +1 -0
  688. package/dist/preview/Icon/Icon.d.ts +2 -0
  689. package/dist/preview/Icon/index.d.ts +1 -0
  690. package/dist/preview/IconButton/IconButton.d.ts +2 -0
  691. package/dist/preview/IconButton/index.d.ts +1 -0
  692. package/dist/preview/Input/Input.d.ts +6 -0
  693. package/dist/preview/Input/index.d.ts +1 -0
  694. package/dist/preview/Link/Link.d.ts +2 -0
  695. package/dist/preview/Link/index.d.ts +1 -0
  696. package/dist/preview/List/List.d.ts +2 -0
  697. package/dist/preview/List/index.d.ts +1 -0
  698. package/dist/preview/Menu/Menu.d.ts +3 -0
  699. package/dist/preview/Menu/index.d.ts +1 -0
  700. package/dist/preview/Navigation/Navigation.d.ts +3 -0
  701. package/dist/preview/Navigation/index.d.ts +1 -0
  702. package/dist/preview/Radio/Radio.d.ts +2 -0
  703. package/dist/preview/Radio/index.d.ts +1 -0
  704. package/dist/preview/RangeCalendar/RangeCalendar.d.ts +2 -0
  705. package/dist/preview/RangeCalendar/index.d.ts +1 -0
  706. package/dist/preview/RangeSlider/RangeSlider.d.ts +2 -0
  707. package/dist/preview/RangeSlider/index.d.ts +1 -0
  708. package/dist/preview/SearchField/SearchField.d.ts +2 -0
  709. package/dist/preview/SearchField/index.d.ts +1 -0
  710. package/dist/preview/Select/Select.d.ts +2 -0
  711. package/dist/preview/Select/index.d.ts +1 -0
  712. package/dist/preview/SideSheet/SideSheet.d.ts +7 -0
  713. package/dist/preview/SideSheet/index.d.ts +1 -0
  714. package/dist/preview/Slider/Slider.d.ts +2 -0
  715. package/dist/preview/Slider/index.d.ts +1 -0
  716. package/dist/preview/Snackbar/Snackbar.d.ts +2 -0
  717. package/dist/preview/Snackbar/index.d.ts +1 -0
  718. package/dist/preview/SplitButton/SplitButton.d.ts +10 -0
  719. package/dist/preview/SplitButton/index.d.ts +1 -0
  720. package/dist/preview/Switch/Switch.d.ts +2 -0
  721. package/dist/preview/Switch/index.d.ts +1 -0
  722. package/dist/preview/Tabs/Tabs.d.ts +7 -0
  723. package/dist/preview/Tabs/index.d.ts +1 -0
  724. package/dist/preview/Tags/Tags.d.ts +2 -0
  725. package/dist/preview/Tags/index.d.ts +1 -0
  726. package/dist/preview/TextArea/TextArea.d.ts +6 -0
  727. package/dist/preview/TextArea/index.d.ts +1 -0
  728. package/dist/preview/ThemeSelector/ThemeSelector.d.ts +2 -0
  729. package/dist/preview/ThemeSelector/index.d.ts +1 -0
  730. package/dist/preview/TimeField/TimeField.d.ts +6 -0
  731. package/dist/preview/TimeField/index.d.ts +1 -0
  732. package/dist/preview/Toolbar/Toolbar.d.ts +10 -0
  733. package/dist/preview/Toolbar/index.d.ts +1 -0
  734. package/dist/preview/Tooltip/Tooltip.d.ts +2 -0
  735. package/dist/preview/Tooltip/index.d.ts +1 -0
  736. package/dist/utils/gradients/gradients.d.ts +97 -0
  737. package/dist/utils/index.d.ts +0 -1
  738. package/dist/utils/ref/ref.d.ts +35 -2
  739. package/dist/utils/scroll/scroll.d.ts +67 -4
  740. package/dist/utils/tapTarget/tapTarget.d.ts +57 -0
  741. package/dist/utils/theme/build.d.ts +24 -0
  742. package/dist/utils/theme/types.d.ts +70 -0
  743. package/dist/utils/theme/useTheme.d.ts +40 -0
  744. package/dist/utils/typography/base.d.ts +68 -0
  745. package/dist/utils/typography/core.d.ts +16 -0
  746. package/dist/utils/typography/fluid.d.ts +36 -0
  747. package/package.json +24 -26
  748. package/dist/chunks/useGlobalListeners +0 -294
  749. package/dist/chunks/useGlobalListeners.map +0 -1
  750. package/dist/chunks/usePress +0 -535
  751. package/dist/chunks/usePress.map +0 -1
  752. package/dist/components/Image/Image.d.ts +0 -2
  753. package/dist/components/Image/index.d.ts +0 -2
  754. package/dist/components/Image/index.js +0 -29
  755. package/dist/components/Image/index.js.map +0 -1
  756. package/dist/components/Image/types.d.ts +0 -9
  757. package/dist/components/Sheets/BottomSheet/BottomSheet.d.ts +0 -2
  758. package/dist/components/Sheets/BottomSheetModal/BottomSheetModal.d.ts +0 -2
  759. package/dist/components/Sheets/BottomSheetModal/context.d.ts +0 -5
  760. package/dist/components/Sheets/BottomSheetModal/index.js +0 -2
  761. package/dist/components/Sheets/BottomSheetModal/types.d.ts +0 -5
  762. package/dist/components/Sheets/SideSheet/SideSheet.d.ts +0 -2
  763. package/dist/components/Sheets/SideSheet/SideSheetDialog.d.ts +0 -2
  764. package/dist/components/Sheets/SideSheet/types.d.ts +0 -8
  765. package/dist/components/Sheets/SideSheetModal/SideSheetModal.d.ts +0 -2
  766. package/dist/components/Sheets/SideSheetModal/context.d.ts +0 -7
  767. package/dist/components/Sheets/SideSheetModal/index.js +0 -2
  768. package/dist/components/Sheets/SideSheetModal/types.d.ts +0 -7
  769. package/dist/utils/form/form.d.ts +0 -13
  770. package/dist/utils/form/index.d.ts +0 -1
  771. /package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/index.d.ts +0 -0
  772. /package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/index.d.ts +0 -0
@@ -1,9 +1,41 @@
1
1
  import { LucideIcon } from 'lucide-react';
2
- import { Switch } from 'react-aria-components';
3
- export interface SwitchProps extends React.ComponentPropsWithRef<typeof Switch> {
2
+ import { SwitchField } from 'react-aria-components';
3
+ /**
4
+ * Props for the [`Switch`](src/components/Input/Switch/Switch.tsx) component.
5
+ *
6
+ * Extends all properties from React Aria's `SwitchField`, including form submission (`name`, `value`),
7
+ * selection states (`isSelected`, `defaultSelected`, `onChange`), validation, and accessibility.
8
+ */
9
+ export interface SwitchProps extends React.ComponentPropsWithRef<typeof SwitchField> {
10
+ /**
11
+ * Determines which icons to render within the switch handle.
12
+ *
13
+ * - `"none"`: No icons rendered.
14
+ * - `"selected"`: Icon rendered only when the switch is selected (default).
15
+ * - `"both"`: Render selected icon when on, and unselected icon when off.
16
+ *
17
+ * @default "selected"
18
+ */
4
19
  icon?: "none" | "selected" | "both";
20
+ /**
21
+ * Alignment of the label text relative to the switch track.
22
+ *
23
+ * - `"start"`: Label appears before (to the left of) the switch track.
24
+ * - `"end"`: Label appears after (to the right of) the switch track.
25
+ *
26
+ * @default "start"
27
+ */
5
28
  labelPlacement?: "start" | "end";
6
- containerStateLayer?: boolean;
29
+ /**
30
+ * Custom icon rendered when the switch is unselected (used when `icon="both"`).
31
+ *
32
+ * @default X
33
+ */
7
34
  unselectedIcon?: LucideIcon;
35
+ /**
36
+ * Custom icon rendered when the switch is selected (used when `icon="selected"` or `"both"`).
37
+ *
38
+ * @default Check
39
+ */
8
40
  selectedIcon?: LucideIcon;
9
41
  }
@@ -1,2 +1,21 @@
1
1
  import { TextAreaProps } from './types';
2
+ /**
3
+ * A multiline text input component implementing Material Design 3 Text Area specifications.
4
+ *
5
+ * Supports accessible labels, helper descriptions, error messages, character counters,
6
+ * and customizable row heights.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * import { TextArea } from '@adgytec/web-ui-components';
11
+ *
12
+ * <TextArea
13
+ * label="Feedback"
14
+ * placeholder="Describe your thoughts..."
15
+ * rows={4}
16
+ * maxLength={200}
17
+ * showCharacterCount
18
+ * />
19
+ * ```
20
+ */
2
21
  export declare const TextArea: React.FC<TextAreaProps>;
@@ -8,7 +8,7 @@ import { useControllableState as d } from "../hooks/index.js";
8
8
  import f from "clsx";
9
9
  import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
10
10
  import { TextArea as g, TextField as _ } from "react-aria-components";
11
- //#region src/components/Input/TextArea/TextArea.tsx
11
+ // src/components/Input/TextArea/TextArea.tsx
12
12
  var v = ({ label: v, description: y, errorMessage: b, showDescriptionOnInvalid: x = !1, placeholder: S, showCharacterCount: C, rows: w, className: T, maxLength: E, value: D, defaultValue: O, onChange: k, ref: A, ...j }) => {
13
13
  let { currentValue: M, setValue: N } = d({
14
14
  value: D,
@@ -55,7 +55,6 @@ var v = ({ label: v, description: y, errorMessage: b, showDescriptionOnInvalid:
55
55
  }
56
56
  });
57
57
  };
58
- //#endregion
59
58
  export { v as TextArea };
60
59
 
61
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Input/TextArea/TextArea.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport {\n TextArea as AriaTextArea,\n TextField as AriaTextField,\n} from \"react-aria-components\";\nimport { typography } from \"@/utils\";\nimport { CharacterCount } from \"../CharacterCount\";\nimport {\n Colors,\n EditorInputStyles,\n EditorStyles,\n InputGroupStyles,\n SupportingTextStyles,\n UnsetStyles,\n} from \"../core\";\nimport { Description } from \"../Description\";\nimport { FieldError } from \"../FieldError\";\nimport { useControllableState } from \"../hooks\";\nimport { Label } from \"../Label\";\nimport type { TextAreaProps } from \"./types\";\n\nexport const TextArea: React.FC<TextAreaProps> = ({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n placeholder,\n showCharacterCount: hasCharacterCount,\n rows,\n className,\n maxLength,\n value,\n defaultValue,\n onChange,\n ref,\n ...props\n}) => {\n const { currentValue, setValue } = useControllableState({\n value,\n defaultValue,\n onChange,\n });\n\n return (\n <AriaTextField\n className={(renderProps) =>\n clsx(\n Colors,\n InputGroupStyles,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n maxLength={maxLength}\n value={currentValue}\n defaultValue={defaultValue}\n onChange={setValue}\n {...props}\n >\n {({ isInvalid }) => {\n const hasDescription =\n description &&\n (!isInvalid || (isInvalid && showDescriptionOnInvalid));\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <AriaTextArea\n ref={ref}\n rows={rows}\n placeholder={placeholder}\n className={clsx(\n UnsetStyles,\n EditorStyles,\n EditorInputStyles,\n typography.bodyLarge\n )}\n data-textarea={true}\n />\n\n {hasDescription && (\n <span className={clsx(SupportingTextStyles)}>\n <Description>{description}</Description>\n\n {hasCharacterCount && (\n <CharacterCount\n count={currentValue.length}\n maxLength={maxLength}\n />\n )}\n </span>\n )}\n\n {!hasDescription && hasCharacterCount && (\n <span className={clsx(SupportingTextStyles)}>\n <FieldError>{errorMessage}</FieldError>\n\n <CharacterCount\n count={currentValue.length}\n maxLength={maxLength}\n />\n </span>\n )}\n\n {/* Error placement */}\n {hasDescription || !hasCharacterCount ? (\n <FieldError className={clsx(SupportingTextStyles)}>\n {errorMessage}\n </FieldError>\n ) : null}\n </>\n );\n }}\n </AriaTextField>\n );\n};\n"],"mappings":";;;;;;;;;;;AAqBA,IAAa,KAAqC,EAC9C,UACA,gBACA,iBACA,8BAA2B,IAC3B,gBACA,oBAAoB,GACpB,SACA,cACA,cACA,UACA,iBACA,aACA,QACA,GAAG,QACD;CACF,IAAM,EAAE,iBAAc,gBAAa,EAAqB;EACpD;EACA;EACA;CACJ,CAAC;CAED,OACI,kBAAC,GAAD;EACI,YAAY,MACR,EACI,GACA,GACA,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;EAEO;EACX,OAAO;EACO;EACd,UAAU;EACV,GAAI;aAEF,EAAE,mBAAgB;GAChB,IAAM,IACF,MACC,CAAC,KAAc,KAAa;GAEjC,OACI,kBAAA,GAAA,EAAA,UAAA;IACK,KAAS,kBAAC,GAAD,EAAA,UAAQ,EAAa,CAAA;IAE/B,kBAAC,GAAD;KACS;KACC;KACO;KACb,WAAW,EACP,GACA,GACA,GACA,EAAW,SACf;KACA,iBAAe;IAAK,CAAA;IAGvB,KACG,kBAAC,QAAD;KAAM,WAAW,EAAK,CAAoB;eAA1C,CACI,kBAAC,GAAD,EAAA,UAAc,EAAyB,CAAA,GAEtC,KACG,kBAAC,GAAD;MACI,OAAO,EAAa;MACT;KAAU,CAAA,CAG3B;;IAGT,CAAC,KAAkB,KAChB,kBAAC,QAAD;KAAM,WAAW,EAAK,CAAoB;eAA1C,CACI,kBAAC,GAAD,EAAA,UAAa,EAAyB,CAAA,GAEtC,kBAAC,GAAD;MACI,OAAO,EAAa;MACT;KAAU,CAAA,CAEvB;;IAIT,KAAkB,CAAC,IAChB,kBAAC,GAAD;KAAY,WAAW,EAAK,CAAoB;eAC3C;IACO,CAAA,IACZ;GACR,EAAA,CAAA;EAER;CACW,CAAA;AAEvB"}
1
+ {"version":3,"file":"index.js","names":["AriaTextField","clsx","_Fragment","Label","AriaTextArea","FieldError","typography","FieldError$1","Label$1","InputGroupStyles","UnsetStyles","SupportingTextStyles","Colors","EditorInputStyles","EditorStyles","clsx$1","TextArea$1","TextArea","hasCharacterCount","props","useControllableState","TextField","className","renderProps","currentValue","setValue","hasDescription","description","isInvalid","showDescriptionOnInvalid","Fragment","label","Description","CharacterCount","errorMessage"],"sources":["../../../../src/components/Input/TextArea/TextArea.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport {\n TextArea as AriaTextArea,\n TextField as AriaTextField,\n} from \"react-aria-components\";\nimport { typography } from \"@/utils\";\nimport { CharacterCount } from \"../CharacterCount\";\nimport {\n Colors,\n EditorInputStyles,\n EditorStyles,\n InputGroupStyles,\n SupportingTextStyles,\n UnsetStyles,\n} from \"../core\";\nimport { Description } from \"../Description\";\nimport { FieldError } from \"../FieldError\";\nimport { useControllableState } from \"../hooks\";\nimport { Label } from \"../Label\";\nimport type { TextAreaProps } from \"./types\";\n\n/**\n * A multiline text input component implementing Material Design 3 Text Area specifications.\n *\n * Supports accessible labels, helper descriptions, error messages, character counters,\n * and customizable row heights.\n *\n * @example\n * ```tsx\n * import { TextArea } from '@adgytec/web-ui-components';\n *\n * <TextArea\n * label=\"Feedback\"\n * placeholder=\"Describe your thoughts...\"\n * rows={4}\n * maxLength={200}\n * showCharacterCount\n * />\n * ```\n */\nexport const TextArea: React.FC<TextAreaProps> = ({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n placeholder,\n showCharacterCount: hasCharacterCount,\n rows,\n className,\n maxLength,\n value,\n defaultValue,\n onChange,\n ref,\n ...props\n}) => {\n const { currentValue, setValue } = useControllableState({\n value,\n defaultValue,\n onChange,\n });\n\n return (\n <AriaTextField\n className={(renderProps) =>\n clsx(\n Colors,\n InputGroupStyles,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n maxLength={maxLength}\n value={currentValue}\n defaultValue={defaultValue}\n onChange={setValue}\n {...props}\n >\n {({ isInvalid }) => {\n const hasDescription =\n description &&\n (!isInvalid || (isInvalid && showDescriptionOnInvalid));\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <AriaTextArea\n ref={ref}\n rows={rows}\n placeholder={placeholder}\n className={clsx(\n UnsetStyles,\n EditorStyles,\n EditorInputStyles,\n typography.bodyLarge\n )}\n data-textarea={true}\n />\n\n {hasDescription && (\n <span className={clsx(SupportingTextStyles)}>\n <Description>{description}</Description>\n\n {hasCharacterCount && (\n <CharacterCount\n count={currentValue.length}\n maxLength={maxLength}\n />\n )}\n </span>\n )}\n\n {!hasDescription && hasCharacterCount && (\n <span className={clsx(SupportingTextStyles)}>\n <FieldError>{errorMessage}</FieldError>\n\n <CharacterCount\n count={currentValue.length}\n maxLength={maxLength}\n />\n </span>\n )}\n\n {/* Error placement */}\n {hasDescription || !hasCharacterCount ? (\n <FieldError className={clsx(SupportingTextStyles)}>\n {errorMessage}\n </FieldError>\n ) : null}\n </>\n );\n }}\n </AriaTextField>\n );\n};\n"],"mappings":";;;;;;;;;;;AAwCA,IAAaiB,KAAqC,EAC9C,UACA,gBACA,iBACA,8BAA2B,IAC3B,gBACA,oBAAoBC,GACpB,SACA,cACA,cACA,UACA,iBACA,aACA,QACA,GAAGC,QACD;CACF,IAAM,EAAE,iBAAc,gBAAaC,EAAqB;EACpD;EACA;EACA;CACJ,CAAC;CAED,OACI,kBAACpB,GAAD;EACI,YAAY,MACRC,EACIW,GACAH,GACA,OAAOa,KAAc,aACfA,EAAUC,CAAW,IACrBD,CACV;EAEO;EACX,OAAOE;EACO;EACd,UAAUC;EACV,GAAIN;EAEF,WAAA,EAAE,mBAAgB;GAChB,IAAMO,IACFC,MACC,CAACC,KAAcA,KAAaC;GAEjC,OACI,kBAAA3B,GAAA,EAAA,UAAA;IACK6B,KAAS,kBAAC5B,GAAD,EAAA,UAAQ4B,EAAa,CAAA;IAE/B,kBAAC3B,GAAD;KACS;KACC;KACO;KACb,WAAWH,EACPS,GACAI,GACAD,GACAP,EAAW,SACf;KACA,iBAAe;IAAK,CAAA;IAGvBoB,KACG,kBAAC,QAAD;KAAM,WAAWzB,EAAKU,CAAoB;KAA1C,UAAA,CACI,kBAACqB,GAAD,EAAA,UAAcL,EAAyB,CAAA,GAEtCT,KACG,kBAACe,GAAD;MACI,OAAOT,EAAa;MACT;KAAU,CAAA,CAG3B;;IAGT,CAACE,KAAkBR,KAChB,kBAAC,QAAD;KAAM,WAAWjB,EAAKU,CAAoB;KAA1C,UAAA,CACI,kBAACN,GAAD,EAAA,UAAa6B,EAAyB,CAAA,GAEtC,kBAACD,GAAD;MACI,OAAOT,EAAa;MACT;KAAU,CAAA,CAEvB;;IAITE,KAAkB,CAACR,IAChB,kBAACb,GAAD;KAAY,WAAWJ,EAAKU,CAAoB;KAC3C,UAAAuB;IACO,CAAA,IACZ;GACR,EAAA,CAAA;EAER;CACW,CAAA;AAEvB"}
@@ -1,8 +1,19 @@
1
1
  import { TextFieldProps as AriaTextFieldProps, TextArea } from 'react-aria-components';
2
2
  import { RefProp } from '../../../utils';
3
3
  import { CoreInputProps } from '../core';
4
+ /**
5
+ * Props for the {@link TextArea} component.
6
+ * Extends React Aria's {@link AriaTextFieldProps}, {@link CoreInputProps}, and native textarea element ref.
7
+ */
4
8
  export interface TextAreaProps extends Omit<AriaTextFieldProps, "children" | "type">, CoreInputProps, RefProp<typeof TextArea> {
9
+ /** Placeholder text displayed when the multiline textarea is empty. */
5
10
  placeholder?: string;
11
+ /**
12
+ * Whether to display the character count below the textarea.
13
+ *
14
+ * @default false
15
+ */
6
16
  showCharacterCount?: boolean;
17
+ /** Number of visible text lines in the textarea. */
7
18
  rows?: number;
8
19
  }
@@ -1,3 +1,19 @@
1
1
  import { TimeValue } from 'react-aria-components';
2
2
  import { TimeFieldProps } from './types';
3
- export declare const TimeField: <T extends TimeValue>({ label, description, errorMessage, showDescriptionOnInvalid, className, ref, ...props }: TimeFieldProps<T>) => import("react").JSX.Element;
3
+ /**
4
+ * An accessible segmented time input field allowing users to enter time values by editing hour, minute, and AM/PM segments.
5
+ *
6
+ * Automatically formats time per locale and handles keyboard arrow adjustments,
7
+ * helper descriptions, and validation errors.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { TimeField } from '@adgytec/web-ui-components';
12
+ *
13
+ * <TimeField
14
+ * label="Meeting Time"
15
+ * description="Select an hour and minute."
16
+ * />
17
+ * ```
18
+ */
19
+ export declare const TimeField: <T extends TimeValue>({ label, description, errorMessage, showDescriptionOnInvalid, className, ref, ...props }: TimeFieldProps<T>) => import('react').JSX.Element;
@@ -6,7 +6,7 @@ import { c as i, d as a, i as o, l as s, n as c, o as l, r as u, s as d } from "
6
6
  import f from "clsx";
7
7
  import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
8
8
  import { DateInput as g, DateSegment as _, TimeField as v } from "react-aria-components";
9
- //#region src/components/Input/TimeField/TimeField.tsx
9
+ // src/components/Input/TimeField/TimeField.tsx
10
10
  var y = ({ label: y, description: b, errorMessage: x, showDescriptionOnInvalid: S = !1, className: C, ref: w, ...T }) => /* @__PURE__ */ m(v, {
11
11
  className: (e) => f(c, i, typeof C == "function" ? C(e) : C),
12
12
  ...T,
@@ -34,7 +34,6 @@ var y = ({ label: y, description: b, errorMessage: x, showDescriptionOnInvalid:
34
34
  ] });
35
35
  }
36
36
  });
37
- //#endregion
38
37
  export { y as TimeField };
39
38
 
40
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Input/TimeField/TimeField.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport {\n TimeField as AriaTimeField,\n DateInput,\n DateSegment,\n type TimeValue,\n} from \"react-aria-components\";\nimport { typography } from \"@/utils\";\nimport {\n Colors,\n DateInputStyles,\n DateSegmentStyles,\n EditorInputStyles,\n EditorStyles,\n InputGroupStyles,\n SupportingTextStyles,\n UnsetStyles,\n} from \"../core\";\nimport { Description } from \"../Description\";\nimport { FieldError } from \"../FieldError\";\nimport { Label } from \"../Label\";\nimport type { TimeFieldProps } from \"./types\";\n\nexport const TimeField = <T extends TimeValue>({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n className,\n ref,\n ...props\n}: TimeFieldProps<T>) => {\n return (\n <AriaTimeField\n className={(renderProps) =>\n clsx(\n Colors,\n InputGroupStyles,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n >\n {({ isInvalid }) => {\n const showDescription =\n description &&\n (!isInvalid || (isInvalid && showDescriptionOnInvalid));\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <DateInput\n ref={ref}\n className={clsx(\n UnsetStyles,\n EditorStyles,\n EditorInputStyles,\n typography.bodyLarge,\n DateInputStyles\n )}\n data-date-input={true}\n >\n {(segment) => {\n return (\n <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\n />\n );\n }}\n </DateInput>\n\n {showDescription && (\n <Description className={clsx(SupportingTextStyles)}>\n {description}\n </Description>\n )}\n <FieldError className={clsx(SupportingTextStyles)}>\n {errorMessage}\n </FieldError>\n </>\n );\n }}\n </AriaTimeField>\n );\n};\n"],"mappings":";;;;;;;;;AAuBA,IAAa,KAAkC,EAC3C,UACA,gBACA,iBACA,8BAA2B,IAC3B,cACA,QACA,GAAG,QAGC,kBAAC,GAAD;CACI,YAAY,MACR,EACI,GACA,GACA,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;CAEJ,GAAI;YAEF,EAAE,mBAAgB;EAChB,IAAM,IACF,MACC,CAAC,KAAc,KAAa;EAEjC,OACI,kBAAA,GAAA,EAAA,UAAA;GACK,KAAS,kBAAC,GAAD,EAAA,UAAQ,EAAa,CAAA;GAE/B,kBAAC,GAAD;IACS;IACL,WAAW,EACP,GACA,GACA,GACA,EAAW,WACX,CACJ;IACA,mBAAiB;eAEf,MAEM,kBAAC,GAAD;KACI,WAAW,EACP,GACA,EAAW,SACf;KACS;IAAQ,CAAA;GAItB,CAAA;GAEV,KACG,kBAAC,GAAD;IAAa,WAAW,EAAK,CAAoB;cAC5C;GACQ,CAAA;GAEjB,kBAAC,GAAD;IAAY,WAAW,EAAK,CAAoB;cAC3C;GACO,CAAA;EAChB,EAAA,CAAA;CAER;AACW,CAAA"}
1
+ {"version":3,"file":"index.js","names":["AriaTimeField","clsx","_Fragment","Label","FieldError","typography","FieldError$1","Label$1","InputGroupStyles","UnsetStyles","DateSegmentStyles","SupportingTextStyles","Colors","EditorInputStyles","DateInputStyles","EditorStyles","clsx$1","TimeField$1","TimeField","props","className","renderProps","showDescription","description","isInvalid","showDescriptionOnInvalid","Fragment","label","DateInput","DateSegment","Description","errorMessage"],"sources":["../../../../src/components/Input/TimeField/TimeField.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport {\n TimeField as AriaTimeField,\n DateInput,\n DateSegment,\n type TimeValue,\n} from \"react-aria-components\";\nimport { typography } from \"@/utils\";\nimport {\n Colors,\n DateInputStyles,\n DateSegmentStyles,\n EditorInputStyles,\n EditorStyles,\n InputGroupStyles,\n SupportingTextStyles,\n UnsetStyles,\n} from \"../core\";\nimport { Description } from \"../Description\";\nimport { FieldError } from \"../FieldError\";\nimport { Label } from \"../Label\";\nimport type { TimeFieldProps } from \"./types\";\n\n/**\n * An accessible segmented time input field allowing users to enter time values by editing hour, minute, and AM/PM segments.\n *\n * Automatically formats time per locale and handles keyboard arrow adjustments,\n * helper descriptions, and validation errors.\n *\n * @example\n * ```tsx\n * import { TimeField } from '@adgytec/web-ui-components';\n *\n * <TimeField\n * label=\"Meeting Time\"\n * description=\"Select an hour and minute.\"\n * />\n * ```\n */\nexport const TimeField = <T extends TimeValue>({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n className,\n ref,\n ...props\n}: TimeFieldProps<T>) => {\n return (\n <AriaTimeField\n className={(renderProps) =>\n clsx(\n Colors,\n InputGroupStyles,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n >\n {({ isInvalid }) => {\n const showDescription =\n description &&\n (!isInvalid || (isInvalid && showDescriptionOnInvalid));\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <DateInput\n ref={ref}\n className={clsx(\n UnsetStyles,\n EditorStyles,\n EditorInputStyles,\n typography.bodyLarge,\n DateInputStyles\n )}\n data-date-input={true}\n >\n {(segment) => {\n return (\n <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\n />\n );\n }}\n </DateInput>\n\n {showDescription && (\n <Description className={clsx(SupportingTextStyles)}>\n {description}\n </Description>\n )}\n <FieldError className={clsx(SupportingTextStyles)}>\n {errorMessage}\n </FieldError>\n </>\n );\n }}\n </AriaTimeField>\n );\n};\n"],"mappings":";;;;;;;;;AAuCA,IAAakB,KAAkC,EAC3C,UACA,gBACA,iBACA,8BAA2B,IAC3B,cACA,QACA,GAAGC,QAGC,kBAACnB,GAAD;CACI,YAAY,MACRC,EACIW,GACAJ,GACA,OAAOY,KAAc,aACfA,EAAUC,CAAW,IACrBD,CACV;CAEJ,GAAID;CAEF,WAAA,EAAE,mBAAgB;EAChB,IAAMG,IACFC,MACC,CAACC,KAAcA,KAAaC;EAEjC,OACI,kBAAAvB,GAAA,EAAA,UAAA;GACKyB,KAAS,kBAACxB,GAAD,EAAA,UAAQwB,EAAa,CAAA;GAE/B,kBAACC,GAAD;IACS;IACL,WAAW3B,EACPQ,GACAM,GACAF,GACAR,EAAW,WACXS,CACJ;IACA,mBAAiB;IAEf,WAAA,MAEM,kBAACe,GAAD;KACI,WAAW5B,EACPS,GACAL,EAAW,SACf;KACS;IAAQ,CAAA;GAItB,CAAA;GAEViB,KACG,kBAACQ,GAAD;IAAa,WAAW7B,EAAKU,CAAoB;IAC5C,UAAAY;GACQ,CAAA;GAEjB,kBAACnB,GAAD;IAAY,WAAWH,EAAKU,CAAoB;IAC3C,UAAAoB;GACO,CAAA;EAChB,EAAA,CAAA;CAER;AACW,CAAA"}
@@ -1,5 +1,9 @@
1
1
  import { TimeFieldProps as AriaTimeFieldProps, DateInput, TimeValue } from 'react-aria-components';
2
2
  import { RefProp } from '../../../utils';
3
3
  import { CoreInputProps } from '../core';
4
+ /**
5
+ * Props for the {@link TimeField} component.
6
+ * Extends React Aria's {@link AriaTimeFieldProps}, {@link CoreInputProps}, and native time input ref.
7
+ */
4
8
  export interface TimeFieldProps<T extends TimeValue> extends Omit<AriaTimeFieldProps<T>, "children">, CoreInputProps, RefProp<typeof DateInput> {
5
9
  }
@@ -1,2 +1 @@
1
- import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../../../chunks/core4";
2
- export { l as CharacterCountStyles, a as Colors, s as DateInputStyles, r as DateSegmentStyles, e as EditorInputGroupStyles, o as EditorInputStyles, c as EditorStyles, t as InputGroupStyles, i as SupportingTextStyles, u as TextFieldIconSize, n as UnsetStyles };
1
+ export { t as CharacterCountStyles, n as Colors, r as DateInputStyles, i as DateSegmentStyles, a as EditorInputGroupStyles, o as EditorInputStyles, s as EditorStyles, c as InputGroupStyles, l as SupportingTextStyles, u as TextFieldIconSize, d as UnsetStyles } from "../../../chunks/core4";
@@ -1,8 +1,23 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ValidationResult } from 'react-aria-components';
3
+ /**
4
+ * Shared input wrapper props providing accessible labeling, descriptions, and error feedback.
5
+ */
3
6
  export interface CoreInputProps {
7
+ /** The accessible label displayed above or alongside the input control. */
4
8
  label?: ReactNode;
9
+ /** Informative supporting text displayed below the input. */
5
10
  description?: ReactNode;
11
+ /**
12
+ * Error message content displayed when the input fails validation.
13
+ * Can be static content or a render function receiving the current {@link ValidationResult}.
14
+ */
6
15
  errorMessage?: ReactNode | ((validation: ValidationResult) => ReactNode);
16
+ /**
17
+ * Whether to continue displaying the {@link description} supporting text even when
18
+ * the input is invalid and rendering an error message.
19
+ *
20
+ * @default false
21
+ */
7
22
  showDescriptionOnInvalid?: boolean;
8
23
  }
@@ -1,11 +1,24 @@
1
+ /**
2
+ * Standard icon size (in pixels) for leading and trailing icons in text fields.
3
+ */
1
4
  export declare const TextFieldIconSize = 24;
5
+ /** CSS class resetting browser-default text field container styles. */
2
6
  export declare const UnsetStyles: string;
7
+ /** CSS class providing color tokens for text fields. */
3
8
  export declare const Colors: string;
9
+ /** CSS class for the composite input group container. */
4
10
  export declare const InputGroupStyles: string;
11
+ /** CSS class for the editable input container. */
5
12
  export declare const EditorStyles: string;
13
+ /** CSS class for the input element wrapper group. */
6
14
  export declare const EditorInputGroupStyles: string;
15
+ /** CSS class for native `<input>` and `<textarea>` elements. */
7
16
  export declare const EditorInputStyles: string;
17
+ /** CSS class for supporting text below text fields. */
8
18
  export declare const SupportingTextStyles: string;
19
+ /** CSS class for the character count display. */
9
20
  export declare const CharacterCountStyles: string;
21
+ /** CSS class for date field composite inputs. */
10
22
  export declare const DateInputStyles: string;
23
+ /** CSS class for individual date segments within a date field. */
11
24
  export declare const DateSegmentStyles: string;
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../../../chunks/compiler-runtime";
2
2
  import { useState as t } from "react";
3
- //#region src/components/Input/hooks/useControllableState.ts
3
+ // src/components/Input/hooks/useControllableState.ts
4
4
  var n = e();
5
5
  function r(e) {
6
6
  let r = (0, n.c)(8), { value: i, defaultValue: a, onChange: o } = e, s = i !== void 0, c;
@@ -15,7 +15,6 @@ function r(e) {
15
15
  setValue: p
16
16
  }, r[5] = d, r[6] = p, r[7] = m) : m = r[7], m;
17
17
  }
18
- //#endregion
19
18
  export { r as useControllableState };
20
19
 
21
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Input/hooks/useControllableState.ts"],"sourcesContent":["import { useState } from \"react\";\n\nexport function useControllableState({\n value,\n defaultValue,\n onChange,\n}: {\n value?: string;\n defaultValue?: string;\n onChange?: (value: string) => void;\n}) {\n const isControlled = value !== undefined;\n\n const [internalValue, setInternalValue] = useState(\n () => defaultValue ?? \"\"\n );\n\n const currentValue = isControlled ? value : internalValue;\n\n const setValue = (val: string) => {\n onChange?.(val);\n\n if (!isControlled) {\n setInternalValue(val);\n }\n };\n\n return {\n currentValue,\n setValue,\n };\n}\n"],"mappings":";;;;AAEA,SAAO,EAAA,GAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,CAAA,GAA8B,EAAA,UAAA,iBAAA,gBAAA,GASjC,IAAqB,MAAU,KAAA,GAAU;CAAA,AAAA,EAAA,OAAA,IAGb,IAAA,EAAA,MAAxB,UAAM,KAAA,IAAkB,EAAA,KAAA,GAAA,EAAA,KAAA;CAD5B,IAAA,CAAA,GAAA,KAA0C,EACtC,CACJ,GAEA,IAAqB,IAAA,IAAA,GAAqC;CAAA,AAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAEzC,KAAA,MAAA;EAGb,AAFA,IAAW,CAAG,GAET,KACD,EAAiB,CAAG;CACvB,GACJ,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA;CAND,IAAA,IAAiB,GAMf;CAKD,OALC,EAAA,OAAA,KAAA,EAAA,OAAA,KAEK,IAAA;EAAA;EAAA;CAGP,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA,IAHM;AAGN"}
1
+ {"version":3,"file":"index.js","names":["_c","require_compiler_runtime","import_compiler_runtime","useControllableState","$","t0","isControlled","value","t1","defaultValue","internalValue","setInternalValue","useState","currentValue","t2","onChange","val","setValue","t3"],"sources":["../../../../src/components/Input/hooks/useControllableState.ts"],"sourcesContent":["import { useState } from \"react\";\n\n/**\n * Options for the {@link useControllableState} hook.\n */\nexport interface UseControllableStateProps {\n /** Controlled value from props. */\n value?: string;\n /** Uncontrolled default value fallback. */\n defaultValue?: string;\n /** Change callback invoked when value updates. */\n onChange?: (value: string) => void;\n}\n\n/**\n * Custom hook to manage state that can operate in either controlled or uncontrolled mode.\n *\n * If `value` is passed, the hook operates in controlled mode; otherwise, it manages internal state.\n *\n * @param options - Controlled state options including `value`, `defaultValue`, and `onChange`.\n * @returns An object containing `currentValue` and `setValue`.\n */\nexport function useControllableState({\n value,\n defaultValue,\n onChange,\n}: UseControllableStateProps) {\n const isControlled = value !== undefined;\n\n const [internalValue, setInternalValue] = useState(\n () => defaultValue ?? \"\"\n );\n\n const currentValue = isControlled ? value : internalValue;\n\n const setValue = (val: string) => {\n onChange?.(val);\n\n if (!isControlled) {\n setInternalValue(val);\n }\n };\n\n return {\n currentValue,\n setValue,\n };\n}\n"],"mappings":";;;;AAsBA,SAAOG,EAAA,GAAA;CAAA,IAAAC,KAAA,GAAAJ,EAAAA,EAAAA,CAAA,CAAA,GAA8B,EAAA,UAAA,iBAAA,gBAAAK,GAKjCC,IAAqBC,MAAU,KAAA,GAAUC;CAAA,AAAAJ,EAAA,OAAAK,IAGb,IAAAL,EAAA,MAAxB,UAAMK,KAAA,IAAkB,EAAA,KAAAA,GAAA,EAAA,KAAAD;CAD5B,IAAA,CAAAE,GAAAC,KAA0CC,EACtCJ,CACJ,GAEAK,IAAqBP,IAAAC,IAAAG,GAAqCI;CAAA,AAAAV,EAAA,OAAAE,KAAAF,EAAA,OAAAW,KAEzC,KAAA,MAAA;EAGb,AAFAA,IAAWC,CAAG,GAETV,KACDK,EAAiBK,CAAG;CACvB,GACJ,EAAA,KAAAV,GAAA,EAAA,KAAAS,GAAA,EAAA,KAAAD,KAAA,IAAAV,EAAA;CAND,IAAAa,IAAiBH,GAMfI;CAKD,OALCd,EAAA,OAAAS,KAAAT,EAAA,OAAAa,KAEK,IAAA;EAAA;EAAA;CAGP,GAAC,EAAA,KAAAJ,GAAA,EAAA,KAAAI,GAAA,EAAA,KAAAC,KAAA,IAAAd,EAAA,IAHMc;AAGN"}
@@ -1,8 +1,23 @@
1
- export declare function useControllableState({ value, defaultValue, onChange, }: {
1
+ /**
2
+ * Options for the {@link useControllableState} hook.
3
+ */
4
+ export interface UseControllableStateProps {
5
+ /** Controlled value from props. */
2
6
  value?: string;
7
+ /** Uncontrolled default value fallback. */
3
8
  defaultValue?: string;
9
+ /** Change callback invoked when value updates. */
4
10
  onChange?: (value: string) => void;
5
- }): {
11
+ }
12
+ /**
13
+ * Custom hook to manage state that can operate in either controlled or uncontrolled mode.
14
+ *
15
+ * If `value` is passed, the hook operates in controlled mode; otherwise, it manages internal state.
16
+ *
17
+ * @param options - Controlled state options including `value`, `defaultValue`, and `onChange`.
18
+ * @returns An object containing `currentValue` and `setValue`.
19
+ */
20
+ export declare function useControllableState({ value, defaultValue, onChange, }: UseControllableStateProps): {
6
21
  currentValue: string;
7
22
  setValue: (val: string) => void;
8
23
  };
@@ -1,2 +1,24 @@
1
1
  import { IconButtonProps } from '../../Button';
2
- export declare const ListAction: React.FC<Omit<IconButtonProps, "size">>;
2
+ /**
3
+ * Props for the [`ListAction`](src/components/List/ListAction/ListAction.tsx) component.
4
+ */
5
+ export interface ListActionProps extends Omit<IconButtonProps, "size"> {
6
+ }
7
+ /**
8
+ * Pre-configured trailing action icon button for a [`ListItem`](src/components/List/ListItem/ListItem.tsx).
9
+ *
10
+ * Hardcodes `size="small"` while ensuring a full 48px touch target area for accessibility,
11
+ * defaulting to the `"standard"` icon button color style.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * import { MoreVertical } from "lucide-react";
16
+ *
17
+ * <ListAction
18
+ * icon={MoreVertical}
19
+ * aria-label="More options"
20
+ * onPress={() => handleOpenMenu()}
21
+ * />
22
+ * ```
23
+ */
24
+ export declare const ListAction: React.FC<ListActionProps>;
@@ -1 +1 @@
1
- export {};
1
+ export * from './ListAction';
@@ -0,0 +1 @@
1
+ export { t as ListAction } from "../../../chunks/ListAction";
@@ -1 +1,23 @@
1
- export declare const ListAvatar: React.FC<React.ComponentPropsWithRef<"div">>;
1
+ /**
2
+ * Props for the [`ListAvatar`](src/components/List/ListAvatar/ListAvatar.tsx) component.
3
+ */
4
+ export interface ListAvatarProps extends React.ComponentPropsWithRef<"div"> {
5
+ }
6
+ /**
7
+ * Circular 40px avatar container for user initials or profile images inside a [`ListItem`](src/components/List/ListItem/ListItem.tsx).
8
+ *
9
+ * Automatically styles text content with Material Design 3 `titleMedium` typography,
10
+ * and scales nested `<img>` elements with `object-fit: cover`.
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * // Initials avatar
15
+ * <ListAvatar>JD</ListAvatar>
16
+ *
17
+ * // Image avatar
18
+ * <ListAvatar>
19
+ * <img src="/avatars/user.jpg" alt="Jane Doe" />
20
+ * </ListAvatar>
21
+ * ```
22
+ */
23
+ export declare const ListAvatar: React.FC<ListAvatarProps>;
@@ -1,2 +1 @@
1
- import { t as e } from "../../../chunks/ListAvatar";
2
- export { e as ListAvatar };
1
+ export { t as ListAvatar } from "../../../chunks/ListAvatar";
@@ -1,2 +1,29 @@
1
1
  import { ListBoxProps } from './types';
2
- export declare const ListBox: <T extends object>({ alignY, className, ...props }: ListBoxProps<T>) => import("react").JSX.Element;
2
+ /**
3
+ * Material Design 3 List container component.
4
+ *
5
+ * Coordinates vertical indexing of items, keyboard navigation, single/multiple selection,
6
+ * unified vertical alignment of elements (`alignY`), and contextual selection indicator placement (`selectionIndicator`).
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * import {
11
+ * ListBox,
12
+ * ListItem,
13
+ * ListIcon,
14
+ * ListLabelText,
15
+ * ListSupportingText,
16
+ * } from "@adgytec/web-ui-components";
17
+ * import { Mail } from "lucide-react";
18
+ *
19
+ * <ListBox selectionMode="single" selectionIndicator="leading">
20
+ * <ListItem
21
+ * id="inbox"
22
+ * leading={<ListIcon icon={Mail} />}
23
+ * label={<ListLabelText>Inbox</ListLabelText>}
24
+ * supporting={<ListSupportingText>2 unread messages</ListSupportingText>}
25
+ * />
26
+ * </ListBox>
27
+ * ```
28
+ */
29
+ export declare const ListBox: <T extends object>({ alignY, className, selectionIndicator, ...props }: ListBoxProps<T>) => import('react').JSX.Element;
@@ -1,2 +1 @@
1
- import { t as e } from "../../../chunks/ListBox";
2
- export { e as ListBox };
1
+ export { t as ListBox } from "../../../chunks/ListBox";
@@ -1,5 +1,32 @@
1
1
  import { ListBox } from 'react-aria-components';
2
+ import { SelectionIndicator } from '../core';
3
+ /**
4
+ * Vertical alignment options for elements (leading media, text content, and trailing actions)
5
+ * across list items in a [`ListBox`](src/components/List/ListBox/ListBox.tsx).
6
+ */
2
7
  export type ListAlignY = "start" | "center" | "end";
8
+ /**
9
+ * Props for the [`ListBox`](src/components/List/ListBox/ListBox.tsx) container component.
10
+ *
11
+ * Extends all properties from React Aria's `ListBox`, including selection modes, keyboard navigation,
12
+ * and collection props.
13
+ */
3
14
  export interface ListBoxProps<T extends object> extends React.ComponentPropsWithRef<typeof ListBox<T>> {
15
+ /**
16
+ * Vertical alignment of leading, text, and trailing elements across list items.
17
+ *
18
+ * @default "center"
19
+ */
4
20
  alignY?: ListAlignY;
21
+ /**
22
+ * Placement of the checkmark indicator when a list item is selected.
23
+ * Can be overridden per individual [`ListItem`](src/components/List/ListItem/ListItem.tsx).
24
+ *
25
+ * - `"leading"`: Replaces the leading element with a check icon when selected.
26
+ * - `"trailing"`: Replaces the trailing element with a check icon when selected.
27
+ * - `"none"`: Disables automatic checkmark icon replacement (default).
28
+ *
29
+ * @default "none"
30
+ */
31
+ selectionIndicator?: SelectionIndicator;
5
32
  }
@@ -1,2 +1,20 @@
1
1
  import { Icon } from '../../Icon';
2
- export declare const ListIcon: React.FC<Omit<React.ComponentPropsWithRef<typeof Icon>, "size" | "withText">>;
2
+ /**
3
+ * Props for the [`ListIcon`](src/components/List/ListIcon/ListIcon.tsx) component.
4
+ */
5
+ export interface ListIconProps extends Omit<React.ComponentPropsWithRef<typeof Icon>, "size" | "withText"> {
6
+ }
7
+ /**
8
+ * Standardized leading icon component for a [`ListItem`](src/components/List/ListItem/ListItem.tsx).
9
+ *
10
+ * Hardcodes a standard 20px dimension while dynamically inheriting the list item's
11
+ * text and interaction state colors.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * import { Mail } from "lucide-react";
16
+ *
17
+ * <ListIcon icon={Mail} />
18
+ * ```
19
+ */
20
+ export declare const ListIcon: React.FC<ListIconProps>;
@@ -1,2 +1 @@
1
- import { t as e } from "../../../chunks/ListIcon";
2
- export { e as ListIcon };
1
+ export { t as ListIcon } from "../../../chunks/ListIcon";
@@ -1,2 +1,37 @@
1
1
  import { ListItemProps } from './types';
2
+ /**
3
+ * Material Design 3 interactive list item component.
4
+ *
5
+ * Supports structured slot composition (`leading`, `overline`, `label`, `supporting`, `trailing`),
6
+ * dynamic corner radius morphing on hover/focus/selection, touch ripple splash feedback,
7
+ * contextual checkmark replacement on selection (`selectionIndicator`),
8
+ * and automatic synchronization with nested selection controls (`Checkbox` with `slot="selection"`).
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * import {
13
+ * ListItem,
14
+ * ListIcon,
15
+ * ListLabelText,
16
+ * ListSupportingText,
17
+ * ListAction,
18
+ * } from "@adgytec/web-ui-components";
19
+ * import { Star, Trash2 } from "lucide-react";
20
+ *
21
+ * <ListItem
22
+ * id="starred-email"
23
+ * leading={<ListIcon icon={Star} />}
24
+ * label={<ListLabelText>Project Roadmap</ListLabelText>}
25
+ * supporting={<ListSupportingText>Updated yesterday by Alex</ListSupportingText>}
26
+ * trailing={[
27
+ * <ListAction
28
+ * key="delete"
29
+ * icon={Trash2}
30
+ * aria-label="Delete item"
31
+ * onPress={() => handleDelete()}
32
+ * />,
33
+ * ]}
34
+ * />
35
+ * ```
36
+ */
2
37
  export declare const ListItem: React.FC<ListItemProps>;
@@ -1,2 +1 @@
1
- import { t as e } from "../../../chunks/ListItem";
2
- export { e as ListItem };
1
+ export { t as ListItem } from "../../../chunks/ListItem";
@@ -1,9 +1,43 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ListBoxItem } from 'react-aria-components';
3
+ import { SelectionIndicator } from '../core';
4
+ /**
5
+ * Props for the [`ListItem`](src/components/List/ListItem/ListItem.tsx) component.
6
+ *
7
+ * Utilizes a structured slot-based API (`leading`, `overline`, `label`, `supporting`, `trailing`)
8
+ * to lay out content following Material Design 3 List specifications.
9
+ */
3
10
  export interface ListItemProps extends Omit<React.ComponentPropsWithRef<typeof ListBoxItem>, "children"> {
11
+ /**
12
+ * Element rendered at the start of the list item (e.g. icon, avatar, thumbnail media, or selection checkbox).
13
+ */
4
14
  leading?: ReactNode;
15
+ /**
16
+ * Eyebrow or overline text rendered above the primary label, typically [`ListOverlineText`](src/components/List/ListOverlineText/ListOverlineText.tsx).
17
+ */
5
18
  overline?: ReactNode;
19
+ /**
20
+ * The primary label element of the list item, typically [`ListLabelText`](src/components/List/ListLabelText/ListLabelText.tsx).
21
+ */
6
22
  label: ReactNode;
23
+ /**
24
+ * Secondary descriptive text rendered beneath the label, typically [`ListSupportingText`](src/components/List/ListSupportingText/ListSupportingText.tsx).
25
+ */
7
26
  supporting?: ReactNode;
27
+ /**
28
+ * Array of elements rendered at the end of the list item (e.g. trailing metadata text, action buttons, or selection switches).
29
+ */
8
30
  trailing?: ReactNode[];
31
+ /**
32
+ * Placement of the checkmark indicator when this item is selected.
33
+ * When set, replaces the corresponding `leading` or `trailing` element with a check icon when selected.
34
+ * If omitted, inherits from the parent [`ListBox`](src/components/List/ListBox/ListBox.tsx) `selectionIndicator`, defaulting to `"none"`.
35
+ *
36
+ * - `"leading"`: Replaces the `leading` element with a check icon when selected.
37
+ * - `"trailing"`: Replaces the `trailing` element with a check icon when selected.
38
+ * - `"none"`: Disables checkmark icon replacement.
39
+ *
40
+ * @default "none"
41
+ */
42
+ selectionIndicator?: SelectionIndicator;
9
43
  }
@@ -1,2 +1,17 @@
1
1
  import { Text } from 'react-aria-components';
2
- export declare const ListLabelText: React.FC<Omit<React.ComponentPropsWithRef<typeof Text>, "slot">>;
2
+ /**
3
+ * Props for the [`ListLabelText`](src/components/List/ListLabelText/ListLabelText.tsx) component.
4
+ */
5
+ export interface ListLabelTextProps extends Omit<React.ComponentPropsWithRef<typeof Text>, "slot"> {
6
+ }
7
+ /**
8
+ * Primary headline/label text component for a [`ListItem`](src/components/List/ListItem/ListItem.tsx).
9
+ *
10
+ * Automatically binds to `slot="label"` with Material Design 3 `bodyLarge` typography.
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * <ListLabelText>Notification Settings</ListLabelText>
15
+ * ```
16
+ */
17
+ export declare const ListLabelText: React.FC<ListLabelTextProps>;
@@ -1,2 +1 @@
1
- import { t as e } from "../../../chunks/ListLabelText";
2
- export { e as ListLabelText };
1
+ export { t as ListLabelText } from "../../../chunks/ListLabelText";
@@ -1,2 +1,22 @@
1
1
  import { ListMediaProps } from './types';
2
+ /**
3
+ * Styled media container for thumbnail images and video previews within a [`ListItem`](src/components/List/ListItem/ListItem.tsx).
4
+ *
5
+ * Automatically applies rounded corners and `object-fit: cover` to nested `<img>` or `<video>` elements.
6
+ * Supports dimension presets: `"image"` (56×56), `"video"` (100×56), and `"large-video"` (114×64).
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * import { ListMedia, ListMediaImageWidth, ListMediaImageHeight } from "@adgytec/web-ui-components";
11
+ *
12
+ * <ListMedia variant="image">
13
+ * <img
14
+ * src="https://picsum.photos/56/56"
15
+ * alt="Thumbnail"
16
+ * width={ListMediaImageWidth}
17
+ * height={ListMediaImageHeight}
18
+ * />
19
+ * </ListMedia>
20
+ * ```
21
+ */
2
22
  export declare const ListMedia: React.FC<ListMediaProps>;