@adgytec/adgytec-web-ui-components 2.2.0 → 2.3.1

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 (504) hide show
  1. package/dist/App.d.ts +2 -2
  2. package/dist/assets/AppBarHeadline.css +1 -1
  3. package/dist/assets/CalendarCell.css +1 -1
  4. package/dist/assets/CalendarMenuItem.css +1 -1
  5. package/dist/assets/Card.css +1 -0
  6. package/dist/assets/CardIcon.css +1 -0
  7. package/dist/assets/ConnectedButtonGroup.css +1 -1
  8. package/dist/assets/ListAvatar.css +1 -0
  9. package/dist/assets/ListBox.css +1 -0
  10. package/dist/assets/ListIcon.css +1 -0
  11. package/dist/assets/ListItem.css +1 -0
  12. package/dist/assets/ListLabelText.css +1 -0
  13. package/dist/assets/ListMedia.css +1 -0
  14. package/dist/assets/ListOverlineText.css +1 -0
  15. package/dist/assets/ListSupportingText.css +1 -0
  16. package/dist/assets/ListTrailingText.css +1 -0
  17. package/dist/assets/NavigationScrollContainer.css +1 -1
  18. package/dist/assets/SideSheet.css +1 -1
  19. package/dist/assets/Snackbar.css +1 -1
  20. package/dist/assets/core7.css +1 -1
  21. package/dist/chunks/ActionDialog.map +1 -1
  22. package/dist/chunks/AppBar +42 -42
  23. package/dist/chunks/AppBar.map +1 -1
  24. package/dist/chunks/AppBarAction.map +1 -1
  25. package/dist/chunks/AppBarAvatar.map +1 -1
  26. package/dist/chunks/AppBarHeadline +2 -2
  27. package/dist/chunks/AppBarHeadline.map +1 -1
  28. package/dist/chunks/BaseCalendar +69 -63
  29. package/dist/chunks/BaseCalendar.map +1 -1
  30. package/dist/chunks/BottomSheet.map +1 -1
  31. package/dist/chunks/BottomSheetModal.map +1 -1
  32. package/dist/chunks/ButtonGroup.map +1 -1
  33. package/dist/chunks/CalendarCell +25 -39
  34. package/dist/chunks/CalendarCell.map +1 -1
  35. package/dist/chunks/CalendarGrid.map +1 -1
  36. package/dist/chunks/CalendarMenuItem +1 -1
  37. package/dist/chunks/CalendarMenuItem.map +1 -1
  38. package/dist/chunks/Card +22 -0
  39. package/dist/chunks/Card.map +1 -0
  40. package/dist/chunks/CardIcon +23 -0
  41. package/dist/chunks/CardIcon.map +1 -0
  42. package/dist/chunks/CenteredSlider.map +1 -1
  43. package/dist/chunks/ComboBox.map +1 -1
  44. package/dist/chunks/ComboBoxPopover.map +1 -1
  45. package/dist/chunks/ComboBoxTrigger +592 -62
  46. package/dist/chunks/ComboBoxTrigger.map +1 -1
  47. package/dist/chunks/ConnectedButtonGroup +19 -16
  48. package/dist/chunks/ConnectedButtonGroup.map +1 -1
  49. package/dist/chunks/Dialog.map +1 -1
  50. package/dist/chunks/Disclosure.map +1 -1
  51. package/dist/chunks/DisclosureGroup.map +1 -1
  52. package/dist/chunks/DisclosureHeader.map +1 -1
  53. package/dist/chunks/DisclosurePanel.map +1 -1
  54. package/dist/chunks/Divider.map +1 -1
  55. package/dist/chunks/FieldError.map +1 -1
  56. package/dist/chunks/GridBackgroundDecorator.map +1 -1
  57. package/dist/chunks/Icon.map +1 -1
  58. package/dist/chunks/Input.map +1 -1
  59. package/dist/chunks/Input2 +2 -1
  60. package/dist/chunks/Input2.map +1 -1
  61. package/dist/chunks/ListAction +13 -0
  62. package/dist/chunks/ListAction.map +1 -0
  63. package/dist/chunks/ListAvatar +20 -0
  64. package/dist/chunks/ListAvatar.map +1 -0
  65. package/dist/chunks/ListBox +16 -0
  66. package/dist/chunks/ListBox.map +1 -0
  67. package/dist/chunks/ListIcon +21 -0
  68. package/dist/chunks/ListIcon.map +1 -0
  69. package/dist/chunks/ListItem +63 -0
  70. package/dist/chunks/ListItem.map +1 -0
  71. package/dist/chunks/ListLabelText +22 -0
  72. package/dist/chunks/ListLabelText.map +1 -0
  73. package/dist/chunks/ListMedia +15 -0
  74. package/dist/chunks/ListMedia.map +1 -0
  75. package/dist/chunks/ListOverlineText +21 -0
  76. package/dist/chunks/ListOverlineText.map +1 -0
  77. package/dist/chunks/ListSupportingText +22 -0
  78. package/dist/chunks/ListSupportingText.map +1 -0
  79. package/dist/chunks/ListTrailingText +21 -0
  80. package/dist/chunks/ListTrailingText.map +1 -0
  81. package/dist/chunks/Loader.map +1 -1
  82. package/dist/chunks/MenuPopover.map +1 -1
  83. package/dist/chunks/Modal.map +1 -1
  84. package/dist/chunks/ModalOverlay.map +1 -1
  85. package/dist/chunks/Navigation +20 -20
  86. package/dist/chunks/Navigation.map +1 -1
  87. package/dist/chunks/NavigationScrollContainer +48 -32
  88. package/dist/chunks/NavigationScrollContainer.map +1 -1
  89. package/dist/chunks/NavigationSection.map +1 -1
  90. package/dist/chunks/NavigationSectionLabel.map +1 -1
  91. package/dist/chunks/Popover.map +1 -1
  92. package/dist/chunks/RadialGlowDecorator.map +1 -1
  93. package/dist/chunks/Radio.map +1 -1
  94. package/dist/chunks/RichTooltip.map +1 -1
  95. package/dist/chunks/RichTooltipActions.map +1 -1
  96. package/dist/chunks/RichTooltipInfo.map +1 -1
  97. package/dist/chunks/SearchField.map +1 -1
  98. package/dist/chunks/SelectPopover.map +1 -1
  99. package/dist/chunks/SelectTrigger.map +1 -1
  100. package/dist/chunks/SideSheet +7 -7
  101. package/dist/chunks/SideSheet.map +1 -1
  102. package/dist/chunks/SideSheetModal.map +1 -1
  103. package/dist/chunks/Slider.map +1 -1
  104. package/dist/chunks/SliderOutput.map +1 -1
  105. package/dist/chunks/SliderStops +3 -3
  106. package/dist/chunks/SliderStops.map +1 -1
  107. package/dist/chunks/SliderThumb.map +1 -1
  108. package/dist/chunks/Snackbar +18 -27
  109. package/dist/chunks/Snackbar.map +1 -1
  110. package/dist/chunks/SplitButton +13 -10
  111. package/dist/chunks/SplitButton.map +1 -1
  112. package/dist/chunks/SplitButtonTrigger +8 -7
  113. package/dist/chunks/SplitButtonTrigger.map +1 -1
  114. package/dist/chunks/SubmenuPopover.map +1 -1
  115. package/dist/chunks/Switch.map +1 -1
  116. package/dist/chunks/Tab.map +1 -1
  117. package/dist/chunks/TabList.map +1 -1
  118. package/dist/chunks/TabPanel.map +1 -1
  119. package/dist/chunks/TabPanels.map +1 -1
  120. package/dist/chunks/Tabs.map +1 -1
  121. package/dist/chunks/Tag.map +1 -1
  122. package/dist/chunks/ThemeSelector +75 -71
  123. package/dist/chunks/ThemeSelector.map +1 -1
  124. package/dist/chunks/Toolbar.map +1 -1
  125. package/dist/chunks/Tooltip.map +1 -1
  126. package/dist/chunks/base.map +1 -1
  127. package/dist/chunks/compiler-runtime +2 -2
  128. package/dist/chunks/compiler-runtime.map +1 -1
  129. package/dist/chunks/context.map +1 -1
  130. package/dist/chunks/core +27 -25
  131. package/dist/chunks/core.map +1 -1
  132. package/dist/chunks/core2.map +1 -1
  133. package/dist/chunks/core3.map +1 -1
  134. package/dist/chunks/core4.map +1 -1
  135. package/dist/chunks/core5.map +1 -1
  136. package/dist/chunks/core6 +11 -11
  137. package/dist/chunks/core6.map +1 -1
  138. package/dist/chunks/core7.map +1 -1
  139. package/dist/chunks/core8.map +1 -1
  140. package/dist/chunks/core9.map +1 -1
  141. package/dist/chunks/navContext.map +1 -1
  142. package/dist/chunks/tapTarget.map +1 -1
  143. package/dist/chunks/types +6 -0
  144. package/dist/chunks/types.map +1 -0
  145. package/dist/chunks/useHover +460 -153
  146. package/dist/chunks/useHover.map +1 -1
  147. package/dist/chunks/useSplash +17 -19
  148. package/dist/chunks/useSplash.map +1 -1
  149. package/dist/components/AppBar/AppBar/AppBar.d.ts +29 -0
  150. package/dist/components/AppBar/AppBar/types.d.ts +29 -4
  151. package/dist/components/AppBar/AppBarAction/AppBarAction.d.ts +19 -1
  152. package/dist/components/AppBar/AppBarAvatar/AppBarAvatar.d.ts +20 -1
  153. package/dist/components/AppBar/AppBarHeadline/AppBarHeadline.d.ts +19 -1
  154. package/dist/components/AppBar/AppBarState/AppBarState.d.ts +28 -2
  155. package/dist/components/AppBar/AppBarState/context.d.ts +37 -0
  156. package/dist/components/AppBar/AppBarState/index.js +16 -10
  157. package/dist/components/AppBar/AppBarState/index.js.map +1 -1
  158. package/dist/components/AppBar/core/alignment.d.ts +6 -0
  159. package/dist/components/AppBar/core/context.d.ts +16 -0
  160. package/dist/components/AppBar/core/index.js.map +1 -1
  161. package/dist/components/AppBar/core/size.d.ts +13 -0
  162. package/dist/components/AppBar/index.js +7 -7
  163. package/dist/components/Button/Button/Button.d.ts +17 -0
  164. package/dist/components/Button/Button/index.js.map +1 -1
  165. package/dist/components/Button/Button/types.d.ts +4 -0
  166. package/dist/components/Button/ButtonGroups/ButtonGroup/ButtonGroup.d.ts +17 -0
  167. package/dist/components/Button/ButtonGroups/ButtonGroup/types.d.ts +24 -0
  168. package/dist/components/Button/ButtonGroups/ButtonGroupContext/context.d.ts +22 -0
  169. package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js.map +1 -1
  170. package/dist/components/Button/ButtonGroups/ButtonGroupContext/useButtonGroupContext.d.ts +5 -0
  171. package/dist/components/Button/ButtonGroups/ButtonGroupContext/useConnectedButtonGroupContext.d.ts +5 -0
  172. package/dist/components/Button/ButtonGroups/ConnectedButton/ConnectedButton.d.ts +13 -0
  173. package/dist/components/Button/ButtonGroups/ConnectedButton/types.d.ts +19 -1
  174. package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +18 -0
  175. package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/types.d.ts +24 -0
  176. package/dist/components/Button/IconButton/IconButton.d.ts +21 -0
  177. package/dist/components/Button/IconButton/index.js.map +1 -1
  178. package/dist/components/Button/IconButton/types.d.ts +4 -0
  179. package/dist/components/Button/LinkButton/LinkButton.d.ts +15 -0
  180. package/dist/components/Button/LinkButton/index.js.map +1 -1
  181. package/dist/components/Button/LinkButton/types.d.ts +4 -0
  182. package/dist/components/Button/LinkIconButton/LinkIconButton.d.ts +19 -0
  183. package/dist/components/Button/LinkIconButton/index.js.map +1 -1
  184. package/dist/components/Button/LinkIconButton/types.d.ts +4 -0
  185. package/dist/components/Button/SplitButton/SplitButton/SplitButton.d.ts +24 -0
  186. package/dist/components/Button/SplitButton/SplitButton/types.d.ts +23 -0
  187. package/dist/components/Button/SplitButton/SplitButtonContext/context.d.ts +11 -0
  188. package/dist/components/Button/SplitButton/SplitButtonContext/index.js.map +1 -1
  189. package/dist/components/Button/SplitButton/SplitButtonContext/useSplitButtonContext.d.ts +5 -0
  190. package/dist/components/Button/SplitButton/SplitButtonPrimary/SplitButtonPrimary.d.ts +15 -0
  191. package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +2 -2
  192. package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
  193. package/dist/components/Button/SplitButton/SplitButtonPrimary/types.d.ts +11 -0
  194. package/dist/components/Button/SplitButton/SplitButtonTrigger/SplitButtonTrigger.d.ts +19 -0
  195. package/dist/components/Button/SplitButton/SplitButtonTrigger/types.d.ts +5 -0
  196. package/dist/components/Button/SplitButton/core/size.d.ts +13 -0
  197. package/dist/components/Button/ToggleButton/ToggleButton.d.ts +21 -0
  198. package/dist/components/Button/ToggleButton/index.js.map +1 -1
  199. package/dist/components/Button/ToggleButton/types.d.ts +14 -0
  200. package/dist/components/Button/ToggleIconButton/ToggleIconButton.d.ts +21 -0
  201. package/dist/components/Button/ToggleIconButton/index.js.map +1 -1
  202. package/dist/components/Button/ToggleIconButton/types.d.ts +9 -0
  203. package/dist/components/Button/core/button.d.ts +33 -0
  204. package/dist/components/Button/core/color.d.ts +38 -0
  205. package/dist/components/Button/core/shape.d.ts +6 -0
  206. package/dist/components/Button/core/sizes.d.ts +26 -0
  207. package/dist/components/Button/core/useButtonConfig.d.ts +25 -0
  208. package/dist/components/Button/core/variant.d.ts +6 -0
  209. package/dist/components/Button/core/width.d.ts +7 -0
  210. package/dist/components/Button/core/withTooltip.d.ts +9 -2
  211. package/dist/components/Calendar/BaseCalendar/BaseCalendar.d.ts +23 -2
  212. package/dist/components/Calendar/Calendar/Calendar.d.ts +39 -2
  213. package/dist/components/Calendar/Calendar/index.js +18 -12
  214. package/dist/components/Calendar/Calendar/index.js.map +1 -1
  215. package/dist/components/Calendar/CalendarCell/CalendarCell.d.ts +14 -2
  216. package/dist/components/Calendar/CalendarGrid/CalendarGrid.d.ts +12 -2
  217. package/dist/components/Calendar/CalendarMenuItem/CalendarMenuItem.d.ts +12 -1
  218. package/dist/components/Calendar/CalendarMonthMenu/CalendarMonthMenu.d.ts +14 -2
  219. package/dist/components/Calendar/CalendarMonthMenu/index.js +2 -2
  220. package/dist/components/Calendar/CalendarMonthMenu/index.js.map +1 -1
  221. package/dist/components/Calendar/CalendarYearMenu/CalendarYearMenu.d.ts +14 -2
  222. package/dist/components/Calendar/CalendarYearMenu/index.js.map +1 -1
  223. package/dist/components/Calendar/RangeCalendar/RangeCalendar.d.ts +40 -2
  224. package/dist/components/Calendar/RangeCalendar/index.js +19 -15
  225. package/dist/components/Calendar/RangeCalendar/index.js.map +1 -1
  226. package/dist/components/Calendar/core/calendar.d.ts +26 -0
  227. package/dist/components/Calendar/core/useCalendarState.d.ts +15 -0
  228. package/dist/components/Calendar/index.d.ts +1 -0
  229. package/dist/components/Calendar/index.js +4 -3
  230. package/dist/components/Card/Card/Card.d.ts +22 -0
  231. package/dist/components/{Image → Card/Card}/index.d.ts +1 -1
  232. package/dist/components/Card/Card/index.js +3 -0
  233. package/dist/components/Card/Card/types.d.ts +30 -0
  234. package/dist/components/Card/CardIcon/CardIcon.d.ts +26 -0
  235. package/dist/components/Card/CardIcon/index.d.ts +1 -0
  236. package/dist/components/Card/CardIcon/index.js +2 -0
  237. package/dist/components/Card/index.d.ts +2 -0
  238. package/dist/components/Card/index.js +4 -0
  239. package/dist/components/Decorators/GridBackgroundDecorator/GridBackgroundDecorator.d.ts +46 -7
  240. package/dist/components/Decorators/RadialGlowDecorator/RadialGlowDecorator.d.ts +53 -6
  241. package/dist/components/Dialog/ActionDialog/ActionDialog.d.ts +33 -0
  242. package/dist/components/Dialog/ActionDialog/types.d.ts +28 -2
  243. package/dist/components/Dialog/Dialog/Dialog.d.ts +32 -1
  244. package/dist/components/Dialog/Modal/Modal.d.ts +24 -1
  245. package/dist/components/Dialog/ModalOverlay/ModalOverlay.d.ts +25 -1
  246. package/dist/components/Dialog/core/context.d.ts +8 -0
  247. package/dist/components/Dialog/core/index.js.map +1 -1
  248. package/dist/components/Dialog/core/typography.d.ts +9 -0
  249. package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +25 -1
  250. package/dist/components/Disclosure/DisclosureGroup/DisclosureGroup.d.ts +50 -2
  251. package/dist/components/Disclosure/DisclosureHeader/DisclosureHeader.d.ts +31 -2
  252. package/dist/components/Disclosure/DisclosurePanel/DisclosurePanel.d.ts +31 -2
  253. package/dist/components/Disclosure/context/context.d.ts +11 -2
  254. package/dist/components/Disclosure/context/index.js.map +1 -1
  255. package/dist/components/Disclosure/context/useDisclosureTypographyContext.d.ts +18 -2
  256. package/dist/components/Divider/Divider.d.ts +30 -1
  257. package/dist/components/Icon/Icon.d.ts +29 -0
  258. package/dist/components/Icon/types.d.ts +28 -0
  259. package/dist/components/Input/CharacterCount/CharacterCount.d.ts +11 -2
  260. package/dist/components/Input/CharacterCount/index.js.map +1 -1
  261. package/dist/components/Input/Checkbox/Checkbox.d.ts +15 -0
  262. package/dist/components/Input/Checkbox/CheckboxGroup.d.ts +17 -0
  263. package/dist/components/Input/Checkbox/context.d.ts +10 -2
  264. package/dist/components/Input/Checkbox/types.d.ts +42 -0
  265. package/dist/components/Input/DateField/DateField.d.ts +17 -1
  266. package/dist/components/Input/DateField/index.js.map +1 -1
  267. package/dist/components/Input/DateField/types.d.ts +4 -0
  268. package/dist/components/Input/DatePicker/DatePicker/DatePicker.d.ts +17 -1
  269. package/dist/components/Input/DatePicker/DatePicker/index.js.map +1 -1
  270. package/dist/components/Input/DatePicker/DatePicker/types.d.ts +10 -0
  271. package/dist/components/Input/DatePicker/DateRangePicker/DateRangePicker.d.ts +17 -1
  272. package/dist/components/Input/DatePicker/DateRangePicker/index.js.map +1 -1
  273. package/dist/components/Input/DatePicker/DateRangePicker/types.d.ts +10 -0
  274. package/dist/components/Input/DatePicker/core/datePicker.d.ts +3 -0
  275. package/dist/components/Input/Description/Description.d.ts +12 -1
  276. package/dist/components/Input/Description/index.js.map +1 -1
  277. package/dist/components/Input/FieldError/FieldError.d.ts +12 -1
  278. package/dist/components/Input/Input/Input.d.ts +27 -0
  279. package/dist/components/Input/Input/InputButton.d.ts +10 -1
  280. package/dist/components/Input/Input/handleInputButton.d.ts +6 -0
  281. package/dist/components/Input/Input/types.d.ts +20 -0
  282. package/dist/components/Input/Label/Label.d.ts +12 -1
  283. package/dist/components/Input/Label/index.js.map +1 -1
  284. package/dist/components/Input/Radio/Radio.d.ts +16 -0
  285. package/dist/components/Input/Radio/RadioGroup.d.ts +17 -0
  286. package/dist/components/Input/Radio/context.d.ts +10 -2
  287. package/dist/components/Input/Radio/types.d.ts +40 -0
  288. package/dist/components/Input/SearchField/SearchField.d.ts +16 -0
  289. package/dist/components/Input/SearchField/types.d.ts +9 -0
  290. package/dist/components/Input/Select/ComboBox/ComboBox.d.ts +29 -1
  291. package/dist/components/Input/Select/ComboBox/context.d.ts +3 -0
  292. package/dist/components/Input/Select/ComboBox/types.d.ts +9 -0
  293. package/dist/components/Input/Select/ComboBoxPopover/ComboBoxPopover.d.ts +10 -1
  294. package/dist/components/Input/Select/ComboBoxTrigger/ComboBoxTrigger.d.ts +10 -2
  295. package/dist/components/Input/Select/Select/Select.d.ts +29 -1
  296. package/dist/components/Input/Select/Select/index.js.map +1 -1
  297. package/dist/components/Input/Select/Select/types.d.ts +4 -0
  298. package/dist/components/Input/Select/SelectItem/SelectItem.d.ts +19 -0
  299. package/dist/components/Input/Select/SelectItem/index.js.map +1 -1
  300. package/dist/components/Input/Select/SelectItem/types.d.ts +9 -0
  301. package/dist/components/Input/Select/SelectList/SelectList.d.ts +14 -2
  302. package/dist/components/Input/Select/SelectList/index.js.map +1 -1
  303. package/dist/components/Input/Select/SelectListSection/SelectListSection.d.ts +4 -1
  304. package/dist/components/Input/Select/SelectListSection/index.js.map +1 -1
  305. package/dist/components/Input/Select/SelectListSectionHeader/SelectListSectionHeader.d.ts +3 -0
  306. package/dist/components/Input/Select/SelectListSectionHeader/index.js.map +1 -1
  307. package/dist/components/Input/Select/SelectPopover/SelectPopover.d.ts +10 -1
  308. package/dist/components/Input/Select/SelectTrigger/SelectTrigger.d.ts +10 -1
  309. package/dist/components/Input/Slider/CenteredSlider/CenteredSlider.d.ts +23 -1
  310. package/dist/components/Input/Slider/CenteredSlider/types.d.ts +6 -0
  311. package/dist/components/Input/Slider/RangeSlider/RangeSlider.d.ts +24 -1
  312. package/dist/components/Input/Slider/RangeSlider/index.js.map +1 -1
  313. package/dist/components/Input/Slider/RangeSlider/types.d.ts +9 -0
  314. package/dist/components/Input/Slider/Slider/Slider.d.ts +24 -1
  315. package/dist/components/Input/Slider/Slider/types.d.ts +13 -0
  316. package/dist/components/Input/Slider/SliderOutput/SliderOutput.d.ts +19 -1
  317. package/dist/components/Input/Slider/SliderStops/SliderStops.d.ts +18 -0
  318. package/dist/components/Input/Slider/SliderStops/core.d.ts +54 -10
  319. package/dist/components/Input/Slider/SliderStops/types.d.ts +38 -0
  320. package/dist/components/Input/Slider/SliderThumb/SliderThumb.d.ts +32 -2
  321. package/dist/components/Input/Slider/SliderThumb/context.d.ts +20 -0
  322. package/dist/components/Input/Slider/core/color.d.ts +1 -0
  323. package/dist/components/Input/Slider/core/size.d.ts +12 -0
  324. package/dist/components/Input/Slider/core/slider.d.ts +44 -0
  325. package/dist/components/Input/Slider/core/variant.d.ts +10 -0
  326. package/dist/components/Input/Switch/Switch.d.ts +15 -0
  327. package/dist/components/Input/Switch/types.d.ts +33 -0
  328. package/dist/components/Input/TextArea/TextArea.d.ts +19 -0
  329. package/dist/components/Input/TextArea/index.js.map +1 -1
  330. package/dist/components/Input/TextArea/types.d.ts +11 -0
  331. package/dist/components/Input/TimeField/TimeField.d.ts +17 -1
  332. package/dist/components/Input/TimeField/index.js.map +1 -1
  333. package/dist/components/Input/TimeField/types.d.ts +4 -0
  334. package/dist/components/Input/core/input.d.ts +15 -0
  335. package/dist/components/Input/core/textField.d.ts +13 -0
  336. package/dist/components/Input/hooks/index.js.map +1 -1
  337. package/dist/components/Input/hooks/useControllableState.d.ts +17 -2
  338. package/dist/components/List/ListAction/ListAction.d.ts +24 -0
  339. package/dist/components/List/ListAction/index.d.ts +1 -0
  340. package/dist/components/List/ListAction/index.js +2 -0
  341. package/dist/components/List/ListAvatar/ListAvatar.d.ts +23 -0
  342. package/dist/components/List/ListAvatar/index.d.ts +1 -0
  343. package/dist/components/List/ListAvatar/index.js +2 -0
  344. package/dist/components/List/ListBox/ListBox.d.ts +29 -0
  345. package/dist/components/List/ListBox/index.d.ts +2 -0
  346. package/dist/components/List/ListBox/index.js +2 -0
  347. package/dist/components/List/ListBox/types.d.ts +20 -0
  348. package/dist/components/List/ListIcon/ListIcon.d.ts +20 -0
  349. package/dist/components/List/ListIcon/index.d.ts +1 -0
  350. package/dist/components/List/ListIcon/index.js +2 -0
  351. package/dist/components/List/ListItem/ListItem.d.ts +36 -0
  352. package/dist/components/List/ListItem/index.d.ts +2 -0
  353. package/dist/components/List/ListItem/index.js +2 -0
  354. package/dist/components/List/ListItem/types.d.ts +30 -0
  355. package/dist/components/List/ListLabelText/ListLabelText.d.ts +17 -0
  356. package/dist/components/List/ListLabelText/index.d.ts +1 -0
  357. package/dist/components/List/ListLabelText/index.js +2 -0
  358. package/dist/components/List/ListMedia/ListMedia.d.ts +22 -0
  359. package/dist/components/List/ListMedia/index.d.ts +2 -0
  360. package/dist/components/List/ListMedia/index.js +2 -0
  361. package/dist/components/List/ListMedia/types.d.ts +42 -0
  362. package/dist/components/List/ListOverlineText/ListOverlineText.d.ts +17 -0
  363. package/dist/components/List/ListOverlineText/index.d.ts +1 -0
  364. package/dist/components/List/ListOverlineText/index.js +2 -0
  365. package/dist/components/List/ListSupportingText/ListSupportingText.d.ts +17 -0
  366. package/dist/components/List/ListSupportingText/index.d.ts +1 -0
  367. package/dist/components/List/ListSupportingText/index.js +2 -0
  368. package/dist/components/List/ListTrailingText/ListTrailingText.d.ts +17 -0
  369. package/dist/components/List/ListTrailingText/index.d.ts +1 -0
  370. package/dist/components/List/ListTrailingText/index.js +2 -0
  371. package/dist/components/List/index.d.ts +10 -0
  372. package/dist/components/List/index.js +11 -0
  373. package/dist/components/Loader/Loader.d.ts +26 -1
  374. package/dist/components/Menu/Menu/Menu.d.ts +31 -1
  375. package/dist/components/Menu/Menu/index.js.map +1 -1
  376. package/dist/components/Menu/Menu/types.d.ts +18 -0
  377. package/dist/components/Menu/MenuItem/MenuItem.d.ts +22 -0
  378. package/dist/components/Menu/MenuItem/index.js.map +1 -1
  379. package/dist/components/Menu/MenuItem/types.d.ts +24 -0
  380. package/dist/components/Menu/MenuPopover/MenuPopover.d.ts +21 -1
  381. package/dist/components/Menu/MenuSection/MenuSection.d.ts +23 -1
  382. package/dist/components/Menu/MenuSection/index.js.map +1 -1
  383. package/dist/components/Menu/MenuSectionHeader/MenuSectionHeader.d.ts +16 -1
  384. package/dist/components/Menu/MenuSectionHeader/index.js.map +1 -1
  385. package/dist/components/Menu/MenuShortcut/MenuShortcut.d.ts +16 -1
  386. package/dist/components/Menu/MenuShortcut/index.js.map +1 -1
  387. package/dist/components/Menu/MenuTrailingText/MenuTrailingText.d.ts +16 -1
  388. package/dist/components/Menu/MenuTrailingText/index.js.map +1 -1
  389. package/dist/components/Menu/MenuTrigger/MenuTrigger.d.ts +43 -2
  390. package/dist/components/Menu/MenuTrigger/index.js.map +1 -1
  391. package/dist/components/Menu/SubmenuPopover/SubmenuPopover.d.ts +22 -1
  392. package/dist/components/Menu/context/context.d.ts +13 -0
  393. package/dist/components/Menu/context/index.js.map +1 -1
  394. package/dist/components/Menu/context/useMenuConfigContext.d.ts +6 -0
  395. package/dist/components/Menu/core/color.d.ts +20 -0
  396. package/dist/components/Menu/core/layout.d.ts +17 -0
  397. package/dist/components/Menu/core/menu.d.ts +18 -0
  398. package/dist/components/Navigation/Navigation/Navigation.d.ts +28 -0
  399. package/dist/components/Navigation/Navigation/navContext.d.ts +19 -0
  400. package/dist/components/Navigation/Navigation/navRenderingContext.d.ts +16 -0
  401. package/dist/components/Navigation/Navigation/types.d.ts +28 -0
  402. package/dist/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +15 -0
  403. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -1
  404. package/dist/components/Navigation/NavigationItem/NavigationButton/types.d.ts +9 -0
  405. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +21 -2
  406. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -1
  407. package/dist/components/Navigation/NavigationItem/NavigationLink/NavigationLink.d.ts +15 -0
  408. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -1
  409. package/dist/components/Navigation/NavigationItem/NavigationLink/types.d.ts +5 -0
  410. package/dist/components/Navigation/NavigationItem/core/navigationItem.d.ts +22 -0
  411. package/dist/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +22 -1
  412. package/dist/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +24 -1
  413. package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +16 -1
  414. package/dist/components/Navigation/NavigationState/NavigationState.d.ts +27 -2
  415. package/dist/components/Navigation/NavigationState/context.d.ts +32 -1
  416. package/dist/components/Navigation/NavigationState/index.d.ts +1 -0
  417. package/dist/components/Navigation/NavigationState/index.js +61 -2
  418. package/dist/components/Navigation/NavigationState/index.js.map +1 -0
  419. package/dist/components/Navigation/NavigationState/types.d.ts +12 -0
  420. package/dist/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +35 -2
  421. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +4 -4
  422. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -1
  423. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +40 -2
  424. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +5 -5
  425. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -1
  426. package/dist/components/Navigation/core/navLabelContext.d.ts +6 -0
  427. package/dist/components/Navigation/core/navigation.d.ts +9 -0
  428. package/dist/components/Navigation/core/navigationInfo.d.ts +19 -0
  429. package/dist/components/Navigation/index.js +2 -2
  430. package/dist/components/Popover/Popover.d.ts +34 -1
  431. package/dist/components/Sheets/BottomSheet/BottomSheet.d.ts +40 -2
  432. package/dist/components/Sheets/BottomSheet/index.d.ts +1 -0
  433. package/dist/components/Sheets/BottomSheet/types.d.ts +37 -0
  434. package/dist/components/Sheets/BottomSheetModal/BottomSheetModal.d.ts +34 -0
  435. package/dist/components/Sheets/BottomSheetModal/context.d.ts +10 -0
  436. package/dist/components/Sheets/BottomSheetModal/types.d.ts +38 -0
  437. package/dist/components/Sheets/SideSheet/SideSheet.d.ts +46 -0
  438. package/dist/components/Sheets/SideSheet/SideSheetDialog.d.ts +43 -0
  439. package/dist/components/Sheets/SideSheet/types.d.ts +96 -2
  440. package/dist/components/Sheets/SideSheetModal/SideSheetModal.d.ts +34 -0
  441. package/dist/components/Sheets/SideSheetModal/context.d.ts +13 -0
  442. package/dist/components/Sheets/SideSheetModal/types.d.ts +49 -0
  443. package/dist/components/Sheets/core/layout.d.ts +11 -0
  444. package/dist/components/Snackbar/SnackbarRegion.d.ts +50 -0
  445. package/dist/components/Snackbar/context.d.ts +38 -0
  446. package/dist/components/Snackbar/types.d.ts +69 -0
  447. package/dist/components/Splash/Splash.d.ts +6 -0
  448. package/dist/components/Splash/types.d.ts +10 -0
  449. package/dist/components/Splash/useSplash.d.ts +21 -0
  450. package/dist/components/Tabs/Tab/Tab.d.ts +33 -2
  451. package/dist/components/Tabs/TabList/TabList.d.ts +42 -1
  452. package/dist/components/Tabs/TabPanel/TabPanel.d.ts +28 -1
  453. package/dist/components/Tabs/TabPanels/TabPanels.d.ts +28 -1
  454. package/dist/components/Tabs/Tabs/Tabs.d.ts +43 -1
  455. package/dist/components/Tag/Tag.d.ts +37 -0
  456. package/dist/components/Tag/core.d.ts +6 -0
  457. package/dist/components/Tag/types.d.ts +48 -2
  458. package/dist/components/ThemeSelector/ThemeItem.d.ts +46 -2
  459. package/dist/components/ThemeSelector/ThemeProvider.d.ts +29 -2
  460. package/dist/components/ThemeSelector/ThemeSelector.d.ts +24 -0
  461. package/dist/components/ThemeSelector/core.d.ts +58 -0
  462. package/dist/components/ThemeSelector/index.d.ts +2 -0
  463. package/dist/components/ThemeSelector/index.js +2 -2
  464. package/dist/components/ThemeSelector/types.d.ts +69 -2
  465. package/dist/components/Toolbar/Toolbar.d.ts +47 -0
  466. package/dist/components/Toolbar/ToolbarToggleButtonGroup.d.ts +35 -1
  467. package/dist/components/Toolbar/types.d.ts +60 -0
  468. package/dist/components/Tooltip/RichTooltip/RichTooltip/RichTooltip.d.ts +56 -1
  469. package/dist/components/Tooltip/RichTooltip/RichTooltipActions/RichTooltipActions.d.ts +27 -1
  470. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/RichTooltipInfo.d.ts +31 -1
  471. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.d.ts +22 -1
  472. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js.map +1 -1
  473. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.d.ts +26 -1
  474. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js.map +1 -1
  475. package/dist/components/Tooltip/Tooltip/Tooltip.d.ts +35 -1
  476. package/dist/components/Tooltip/TooltipTrigger/TooltipTrigger.d.ts +29 -1
  477. package/dist/components/Tooltip/TooltipTrigger/index.js.map +1 -1
  478. package/dist/index.d.ts +2 -1
  479. package/dist/index.js +131 -125
  480. package/dist/index.js.map +1 -1
  481. package/dist/utils/gradients/gradients.d.ts +97 -0
  482. package/dist/utils/index.d.ts +0 -1
  483. package/dist/utils/ref/ref.d.ts +35 -2
  484. package/dist/utils/scroll/scroll.d.ts +67 -4
  485. package/dist/utils/tapTarget/tapTarget.d.ts +57 -0
  486. package/dist/utils/theme/build.d.ts +24 -0
  487. package/dist/utils/theme/types.d.ts +70 -0
  488. package/dist/utils/theme/useTheme.d.ts +40 -0
  489. package/dist/utils/typography/base.d.ts +68 -0
  490. package/dist/utils/typography/core.d.ts +16 -0
  491. package/dist/utils/typography/fluid.d.ts +36 -0
  492. package/package.json +23 -25
  493. package/dist/chunks/NavigationState +0 -69
  494. package/dist/chunks/NavigationState.map +0 -1
  495. package/dist/chunks/useGlobalListeners +0 -294
  496. package/dist/chunks/useGlobalListeners.map +0 -1
  497. package/dist/chunks/usePress +0 -535
  498. package/dist/chunks/usePress.map +0 -1
  499. package/dist/components/Image/Image.d.ts +0 -2
  500. package/dist/components/Image/index.js +0 -29
  501. package/dist/components/Image/index.js.map +0 -1
  502. package/dist/components/Image/types.d.ts +0 -9
  503. package/dist/utils/form/form.d.ts +0 -13
  504. package/dist/utils/form/index.d.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Disclosure/context/context.ts","../../../../src/components/Disclosure/context/useDisclosureTypographyContext.ts"],"sourcesContent":["import { createContext } from \"react\";\nimport type { Typography } from \"@/utils\";\n\nexport type DisclosureTypographyContextValue = {\n label?: Typography;\n panel?: Typography;\n};\n\nexport const DisclosureTypographyContext =\n createContext<DisclosureTypographyContextValue>({});\n","import { useContext } from \"react\";\nimport { type Typography, typography } from \"@/utils\";\nimport { DisclosureTypographyContext } from \"./context\";\n\nexport function useDisclosureTypographyContext({\n label,\n panel,\n}: {\n label?: Typography;\n panel?: Typography;\n}) {\n const { label: groupLabel, panel: groupPanel } = useContext(\n DisclosureTypographyContext\n );\n\n const labelTypography =\n label ?? groupLabel ?? typography.titleMediumEmphasized;\n const panelTypography = panel ?? groupPanel ?? typography.bodyLarge;\n\n return { label: labelTypography, panel: panelTypography };\n}\n"],"mappings":";;;;AAQA,IAAa,IACT,EAAgD,CAAC,CAAC;ACLtD,SAAO,EAAA,GAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,CAAA,GAAwC,EAAA,UAAA,aAAA,GAO3C,EAAA,OAAA,GAAA,OAAA,MAAiD,EAC7C,CACJ,GAEA,IACI,KAAA,KAAuB,EAAU,uBACrC,IAAwB,KAAA,KAAuB,EAAU,WAAW;CAEX,OAFW,EAAA,OAAA,KAAA,EAAA,OAAA,KAE7D,IAAA;EAAA,OAAS;EAAe,OAAS;CAAgB,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA,IAAlD;AAAkD"}
1
+ {"version":3,"file":"index.js","names":["_c","require_compiler_runtime","DisclosureTypographyContext","createContext","import_compiler_runtime","useDisclosureTypographyContext","$","t0","groupLabel","groupPanel","useContext","labelTypography","label","typography","panelTypography","panel","t1"],"sources":["../../../../src/components/Disclosure/context/context.ts","../../../../src/components/Disclosure/context/useDisclosureTypographyContext.ts"],"sourcesContent":["import { createContext } from \"react\";\nimport type { Typography } from \"@/utils\";\n\n/**\n * Context value providing inherited typography styles for disclosure components within a group.\n */\nexport interface DisclosureTypographyContextValue {\n /** Typography applied to {@link DisclosureHeader} labels. */\n label?: Typography;\n /** Typography applied to {@link DisclosurePanel} content. */\n panel?: Typography;\n}\n\n/**\n * React Context used by {@link DisclosureGroup} to pass typography settings down to nested\n * {@link DisclosureHeader} and {@link DisclosurePanel} components.\n */\nexport const DisclosureTypographyContext =\n createContext<DisclosureTypographyContextValue>({});\n","import { useContext } from \"react\";\nimport { type Typography, typography } from \"@/utils\";\nimport { DisclosureTypographyContext } from \"./context\";\n\n/**\n * Parameters for the {@link useDisclosureTypographyContext} hook.\n */\nexport interface UseDisclosureTypographyContextProps {\n /** Optional label typography override passed directly to the component. */\n label?: Typography;\n /** Optional panel typography override passed directly to the component. */\n panel?: Typography;\n}\n\n/**\n * Resolves the active typography styles for disclosure headers and panels.\n *\n * Checks explicit component props first, then falls back to inherited values from\n * an enclosing {@link DisclosureGroup}, and finally defaults to Material 3 standard\n * typography (`typography.titleMediumEmphasized` for labels, `typography.bodyLarge` for panels).\n *\n * @param props - Explicit typography overrides from component props.\n * @returns An object containing resolved `label` and `panel` typography classes.\n */\nexport function useDisclosureTypographyContext({\n label,\n panel,\n}: UseDisclosureTypographyContextProps) {\n const { label: groupLabel, panel: groupPanel } = useContext(\n DisclosureTypographyContext\n );\n\n const labelTypography =\n label ?? groupLabel ?? typography.titleMediumEmphasized;\n const panelTypography = panel ?? groupPanel ?? typography.bodyLarge;\n\n return { label: labelTypography, panel: panelTypography };\n}\n"],"mappings":";;;;AAiBA,IAAaE,IACTC,EAAgD,CAAC,CAAC;ACMtD,SAAOE,EAAA,GAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAwC,EAAA,UAAA,aAAAO,GAI3C,EAAA,OAAAC,GAAA,OAAAC,MAAiDC,EAC7CR,CACJ,GAEAS,IACIC,KAAAJ,KAAuBK,EAAU,uBACrCC,IAAwBC,KAAAN,KAAuBI,EAAU,WAAWG;CAEX,OAFWV,EAAA,OAAAK,KAAAL,EAAA,OAAAQ,KAE7D,IAAA;EAAA,OAASH;EAAe,OAASG;CAAgB,GAAC,EAAA,KAAAH,GAAA,EAAA,KAAAG,GAAA,EAAA,KAAAE,KAAA,IAAAV,EAAA,IAAlDU;AAAkD"}
@@ -1,8 +1,24 @@
1
1
  import { Typography } from '../../../utils';
2
- export declare function useDisclosureTypographyContext({ label, panel, }: {
2
+ /**
3
+ * Parameters for the {@link useDisclosureTypographyContext} hook.
4
+ */
5
+ export interface UseDisclosureTypographyContextProps {
6
+ /** Optional label typography override passed directly to the component. */
3
7
  label?: Typography;
8
+ /** Optional panel typography override passed directly to the component. */
4
9
  panel?: Typography;
5
- }): {
10
+ }
11
+ /**
12
+ * Resolves the active typography styles for disclosure headers and panels.
13
+ *
14
+ * Checks explicit component props first, then falls back to inherited values from
15
+ * an enclosing {@link DisclosureGroup}, and finally defaults to Material 3 standard
16
+ * typography (`typography.titleMediumEmphasized` for labels, `typography.bodyLarge` for panels).
17
+ *
18
+ * @param props - Explicit typography overrides from component props.
19
+ * @returns An object containing resolved `label` and `panel` typography classes.
20
+ */
21
+ export declare function useDisclosureTypographyContext({ label, panel, }: UseDisclosureTypographyContextProps): {
6
22
  label: Typography;
7
23
  panel: Typography;
8
24
  };
@@ -1,2 +1,31 @@
1
1
  import { Separator } from 'react-aria-components';
2
- export declare const Divider: React.FC<React.ComponentPropsWithRef<typeof Separator>>;
2
+ /**
3
+ * Props for the {@link Divider} component.
4
+ * Extends React Aria's {@link Separator} props, supporting orientation (`"horizontal"` or `"vertical"`),
5
+ * element tag selection (`elementType`), and standard HTML attributes.
6
+ */
7
+ export interface DividerProps extends React.ComponentPropsWithRef<typeof Separator> {
8
+ }
9
+ /**
10
+ * A thin horizontal or vertical line component implementing Material Design 3 Divider guidelines.
11
+ *
12
+ * Dividers separate, group, and structure content within lists and layouts. Built on top of
13
+ * React Aria's {@link Separator}, it ensures correct accessibility roles (`role="separator"`,
14
+ * `aria-orientation`) and adapts dynamically to configurable CSS tokens (`--md-divider-color`).
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * import { Divider } from '@adgytec/web-ui-components';
19
+ *
20
+ * // Standard horizontal divider
21
+ * <Divider />
22
+ *
23
+ * // Vertical separator between inline elements
24
+ * <div style={{ display: 'flex', height: '24px', alignItems: 'center' }}>
25
+ * <span>Left Item</span>
26
+ * <Divider orientation="vertical" />
27
+ * <span>Right Item</span>
28
+ * </div>
29
+ * ```
30
+ */
31
+ export declare const Divider: React.FC<DividerProps>;
@@ -1,2 +1,31 @@
1
1
  import { IconProps } from './types';
2
+ /**
3
+ * A standardized icon wrapper component implementing Material Design 3 icon sizing guidelines.
4
+ *
5
+ * Wraps `lucide-react` icons to enforce consistent sizing via predefined size tokens
6
+ * (`"dense"`, `"standard"`, `"medium"`, `"large"`, `"extra-large"`), custom numeric pixel values,
7
+ * or proportional `1em` inline text scaling via `withText`.
8
+ *
9
+ * @see https://m3.material.io/styles/icons/applying-icons
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * import { Icon } from '@adgytec/web-ui-components';
14
+ * import { Settings, AlertTriangle } from 'lucide-react';
15
+ *
16
+ * // Standard 24px icon (default)
17
+ * <Icon icon={Settings} />
18
+ *
19
+ * // Large preset icon
20
+ * <Icon icon={Settings} size="large" />
21
+ *
22
+ * // Explicit numeric pixel dimension
23
+ * <Icon icon={AlertTriangle} size={36} />
24
+ *
25
+ * // Inline with typography (scales to 1em)
26
+ * <h2>
27
+ * <Icon icon={Settings} withText /> Account Settings
28
+ * </h2>
29
+ * ```
30
+ */
2
31
  export declare const Icon: React.FC<IconProps>;
@@ -1,7 +1,35 @@
1
1
  import { LucideIcon } from 'lucide-react';
2
+ /**
3
+ * Predefined icon size presets aligning with Material Design 3 icon specifications.
4
+ *
5
+ * - `"dense"`: Compact size (`--md-sys-icon-dense`, typically 18px).
6
+ * - `"standard"`: Default body icon size (`--md-sys-icon-standard`, typically 24px).
7
+ * - `"medium"`: Medium accent size (`--md-sys-icon-medium`, typically 32px).
8
+ * - `"large"`: Large hero or feature size (`--md-sys-icon-large`, typically 40px).
9
+ * - `"extra-large"`: Extra large display size (`--md-sys-icon-extra-large`, typically 48px).
10
+ */
2
11
  export type IconSize = "dense" | "standard" | "medium" | "large" | "extra-large";
12
+ /**
13
+ * Props for the {@link Icon} component.
14
+ * Extends Lucide SVG props while overriding `size` to support design system presets or pixel values.
15
+ */
3
16
  export interface IconProps extends Omit<React.ComponentPropsWithRef<LucideIcon>, "size"> {
17
+ /**
18
+ * The Lucide icon component to render.
19
+ */
4
20
  icon: LucideIcon;
21
+ /**
22
+ * The size of the icon. Accepts a predefined design system preset or an exact numeric pixel value.
23
+ * Note: Ignored when {@link withText} is `true`.
24
+ *
25
+ * @default "standard"
26
+ */
5
27
  size?: IconSize | number;
28
+ /**
29
+ * When `true`, dimensions are set to `1em` by `1em`, allowing the icon to scale dynamically
30
+ * with the font size of the surrounding text or typography element.
31
+ *
32
+ * @default false
33
+ */
6
34
  withText?: boolean;
7
35
  }
@@ -1,5 +1,14 @@
1
1
  import { RefProp } from '../../../utils';
2
- export declare const CharacterCount: React.FC<{
2
+ /**
3
+ * Props for the {@link CharacterCount} component.
4
+ */
5
+ export interface CharacterCountProps extends RefProp<"span"> {
6
+ /** Current character count. */
3
7
  count: number;
8
+ /** Optional maximum allowed character limit. */
4
9
  maxLength?: number;
5
- } & RefProp<"span">>;
10
+ }
11
+ /**
12
+ * Displays the current character count and optional maximum character limit below text inputs.
13
+ */
14
+ export declare const CharacterCount: React.FC<CharacterCountProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["count"],"sources":["../../../../src/components/Input/CharacterCount/CharacterCount.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { type RefProp, typography } from \"@/utils\";\nimport { CharacterCountStyles } from \"../core\";\n\nexport const CharacterCount: React.FC<\n {\n count: number;\n maxLength?: number;\n } & RefProp<\"span\">\n> = ({ count, maxLength, ...props }) => {\n return (\n <span\n className={clsx(CharacterCountStyles, typography.labelMedium)}\n {...props}\n >\n {count}\n {maxLength !== undefined && `/${maxLength}`}\n </span>\n );\n};\n"],"mappings":";;;;;;aAIa,KAKT,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,CAAA,GAAA,GAAA,GAAA;CAAA,AAAA,EAAA,OAAA,KAA+B,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,OAA9B,4BAAA,KAAA,GAA8B,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,OAAA,IAAA,2BAAA,KAGZ,IAAA,EAAK,GAAsB,EAAU,WAAY,GAAC,EAAA,KAAA,KAAA,IAAA,EAAA;CAI5D,IAAA,IAAA,MAAc,KAAA,KAAd,IAA+B,KAAW;CACxC,OADwC,EAAA,OAAA,KAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAL/C,IAAA,kBAAA,QAAA;EACe,WAAA;EAAkD,GACzD;YAFR,CAIK,GACA,CACE;KAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA,IANP;AAMO"}
1
+ {"version":3,"file":"index.js","names":["count","_c","clsx","require_compiler_runtime","CharacterCountStyles","clsx$1","import_compiler_runtime","CharacterCount","$","count","maxLength","props","t0","t1","typography","t2","t3"],"sources":["../../../../src/components/Input/CharacterCount/CharacterCount.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { type RefProp, typography } from \"@/utils\";\nimport { CharacterCountStyles } from \"../core\";\n\n/**\n * Props for the {@link CharacterCount} component.\n */\nexport interface CharacterCountProps extends RefProp<\"span\"> {\n /** Current character count. */\n count: number;\n /** Optional maximum allowed character limit. */\n maxLength?: number;\n}\n\n/**\n * Displays the current character count and optional maximum character limit below text inputs.\n */\nexport const CharacterCount: React.FC<CharacterCountProps> = ({\n count,\n maxLength,\n ...props\n}) => {\n return (\n <span\n className={clsx(CharacterCountStyles, typography.labelMedium)}\n {...props}\n >\n {count}\n {maxLength !== undefined && `/${maxLength}`}\n </span>\n );\n};\n"],"mappings":";;;;;;aAiBaO,KAAgD,MAAA;CAAA,IAAAC,KAAA,GAAAP,EAAAA,EAAAA,CAAA,CAAA,GAAAQ,GAAAC,GAAAC;CAAA,AAAAH,EAAA,OAAAI,KAI5D,IAAAJ,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAJ6D,yBAAA,GAAAG,KAAAC,GAI7D,EAAA,KAAAA,GAAA,EAAA,KAAAH,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAL,EAAA,OAAA,OAAA,IAAA,2BAAA,KAGsB,IAAAN,EAAKE,GAAsBU,EAAU,WAAY,GAAC,EAAA,KAAAD,KAAA,IAAAL,EAAA;CAI5D,IAAAO,IAAAL,MAAc,KAAA,KAAd,IAA+BA,KAAWM;CACxC,OADwCR,EAAA,OAAAC,KAAAD,EAAA,OAAAG,KAAAH,EAAA,OAAAO,KAL/C,IAAA,kBAAA,QAAA;EACe,WAAAF;EAAkD,GACzDF;EAFR,UAAA,CAIKF,GACAM,CACE;KAAA,EAAA,KAAAN,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAI,GAAA,EAAA,KAAAC,KAAA,IAAAR,EAAA,IANPQ;AAMO"}
@@ -1,2 +1,17 @@
1
1
  import { CheckboxProps } from './types';
2
+ /**
3
+ * A checkbox control implementing Material Design 3 Checkbox guidelines.
4
+ *
5
+ * Supports unchecked, checked, and indeterminate states with smooth animated SVG paths,
6
+ * accessible keyboard activation, and flexible label positioning.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * import { Checkbox } from '@adgytec/web-ui-components';
11
+ *
12
+ * <Checkbox isSelected={agree} onChange={setAgree}>
13
+ * I accept the terms and conditions
14
+ * </Checkbox>
15
+ * ```
16
+ */
2
17
  export declare const Checkbox: React.FC<CheckboxProps>;
@@ -1,2 +1,19 @@
1
1
  import { CheckboxGroupProps } from './types';
2
+ /**
3
+ * A container managing a set of related {@link Checkbox} controls.
4
+ *
5
+ * Coordinates group selection values, accessible group labels, helper descriptions,
6
+ * error validation messages, and consistent item spacing.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * import { CheckboxGroup, Checkbox } from '@adgytec/web-ui-components';
11
+ *
12
+ * <CheckboxGroup label="Notification Preferences">
13
+ * <Checkbox value="email">Email</Checkbox>
14
+ * <Checkbox value="sms">SMS</Checkbox>
15
+ * <Checkbox value="push">Push notifications</Checkbox>
16
+ * </CheckboxGroup>
17
+ * ```
18
+ */
2
19
  export declare const CheckboxGroup: React.FC<CheckboxGroupProps>;
@@ -1,6 +1,14 @@
1
1
  import { CheckboxLabelPlacement } from './types';
2
- export type CheckboxGroupContextValue = {
2
+ /**
3
+ * Shared context value provided by {@link CheckboxGroup} to child {@link Checkbox} components.
4
+ */
5
+ export interface CheckboxGroupContextValue {
6
+ /** Inherited label placement. */
3
7
  labelPlacement?: CheckboxLabelPlacement;
8
+ /** Inherited container state layer flag. */
4
9
  containerStateLayer?: boolean;
5
- };
10
+ }
11
+ /**
12
+ * Context communicating group-level styling configurations to nested checkboxes.
13
+ */
6
14
  export declare const CheckboxGroupContext: import('react').Context<CheckboxGroupContextValue>;
@@ -1,14 +1,56 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Checkbox, CheckboxGroup } from 'react-aria-components';
3
3
  import { CoreInputProps } from '../core';
4
+ /**
5
+ * Alignment of the checkbox label text relative to the indicator box.
6
+ *
7
+ * - `"start"`: Label precedes the checkbox indicator.
8
+ * - `"end"`: Label follows the checkbox indicator (default).
9
+ */
4
10
  export type CheckboxLabelPlacement = "start" | "end";
11
+ /**
12
+ * Props for the {@link CheckboxGroup} component.
13
+ * Extends React Aria's `CheckboxGroup` props and {@link CoreInputProps}.
14
+ */
5
15
  export interface CheckboxGroupProps extends Omit<React.ComponentPropsWithRef<typeof CheckboxGroup>, "children">, CoreInputProps {
16
+ /** The child checkboxes or custom content rendered inside the group. */
6
17
  children?: ReactNode;
18
+ /**
19
+ * Vertical spacing (in pixels) between child checkbox items.
20
+ *
21
+ * @default 24
22
+ */
7
23
  checkboxItemsGap?: number;
24
+ /**
25
+ * Default label placement applied to all child checkboxes within the group.
26
+ *
27
+ * @default "end"
28
+ */
8
29
  labelPlacement?: CheckboxLabelPlacement;
30
+ /**
31
+ * When `true`, displays the state layer (hover, press, focus) across the entire checkbox container
32
+ * rather than only on the indicator box.
33
+ *
34
+ * @default false
35
+ */
9
36
  containerStateLayer?: boolean;
10
37
  }
38
+ /**
39
+ * Props for the {@link Checkbox} component.
40
+ * Extends React Aria's `Checkbox` props.
41
+ */
11
42
  export interface CheckboxProps extends React.ComponentPropsWithRef<typeof Checkbox> {
43
+ /**
44
+ * Alignment of the label text relative to the indicator box.
45
+ * Overrides the group-level setting if nested inside a {@link CheckboxGroup}.
46
+ *
47
+ * @default "end"
48
+ */
12
49
  labelPlacement?: CheckboxLabelPlacement;
50
+ /**
51
+ * When `true`, displays the state layer (hover, press, focus) across the entire checkbox container.
52
+ *
53
+ * @default false
54
+ */
13
55
  containerStateLayer?: boolean;
14
56
  }
@@ -1,3 +1,19 @@
1
1
  import { DateValue } from 'react-aria-components';
2
2
  import { DateFieldProps } from './types';
3
- export declare const DateField: <T extends DateValue>({ label, description, errorMessage, showDescriptionOnInvalid, className, ref, ...props }: DateFieldProps<T>) => import("react").JSX.Element;
3
+ /**
4
+ * An accessible segmented date input field allowing users to enter dates by editing day, month, and year segments.
5
+ *
6
+ * Automatically handles locale-specific date formatting, keyboard increment/decrement,
7
+ * validation constraints, helper descriptions, and error feedback.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { DateField } from '@adgytec/web-ui-components';
12
+ *
13
+ * <DateField
14
+ * label="Birth date"
15
+ * description="Enter in your local date format."
16
+ * />
17
+ * ```
18
+ */
19
+ export declare const DateField: <T extends DateValue>({ label, description, errorMessage, showDescriptionOnInvalid, className, ref, ...props }: DateFieldProps<T>) => import('react').JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Input/DateField/DateField.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport {\n DateField as AriaDateField,\n DateInput,\n DateSegment,\n type DateValue,\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 { DateFieldProps } from \"./types\";\n\nexport const DateField = <T extends DateValue>({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n className,\n ref,\n ...props\n}: DateFieldProps<T>) => {\n return (\n <AriaDateField\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 <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\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 </AriaDateField>\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,MACE,kBAAC,GAAD;KACI,WAAW,EACP,GACA,EAAW,SACf;KACS;IAAQ,CAAA;GAGlB,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":["AriaDateField","clsx","_Fragment","Label","FieldError","typography","FieldError$1","Label$1","InputGroupStyles","UnsetStyles","DateSegmentStyles","SupportingTextStyles","Colors","EditorInputStyles","DateInputStyles","EditorStyles","clsx$1","DateField$1","DateField","props","className","renderProps","showDescription","description","isInvalid","showDescriptionOnInvalid","Fragment","label","DateInput","DateSegment","Description","errorMessage"],"sources":["../../../../src/components/Input/DateField/DateField.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport {\n DateField as AriaDateField,\n DateInput,\n DateSegment,\n type DateValue,\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 { DateFieldProps } from \"./types\";\n\n/**\n * An accessible segmented date input field allowing users to enter dates by editing day, month, and year segments.\n *\n * Automatically handles locale-specific date formatting, keyboard increment/decrement,\n * validation constraints, helper descriptions, and error feedback.\n *\n * @example\n * ```tsx\n * import { DateField } from '@adgytec/web-ui-components';\n *\n * <DateField\n * label=\"Birth date\"\n * description=\"Enter in your local date format.\"\n * />\n * ```\n */\nexport const DateField = <T extends DateValue>({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n className,\n ref,\n ...props\n}: DateFieldProps<T>) => {\n return (\n <AriaDateField\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 <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\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 </AriaDateField>\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,MACE,kBAACe,GAAD;KACI,WAAW5B,EACPS,GACAL,EAAW,SACf;KACS;IAAQ,CAAA;GAGlB,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 { DateFieldProps as AriaDateFieldProps, DateInput, DateValue } from 'react-aria-components';
2
2
  import { RefProp } from '../../../utils';
3
3
  import { CoreInputProps } from '../core';
4
+ /**
5
+ * Props for the {@link DateField} component.
6
+ * Extends React Aria's {@link AriaDateFieldProps}, {@link CoreInputProps}, and native date input ref.
7
+ */
4
8
  export interface DateFieldProps<T extends DateValue> extends Omit<AriaDateFieldProps<T>, "children">, CoreInputProps, RefProp<typeof DateInput> {
5
9
  }
@@ -1,3 +1,19 @@
1
1
  import { DateValue } from 'react-aria-components';
2
2
  import { DatePickerProps } from './types';
3
- export declare const DatePicker: <T extends DateValue>({ label, description, errorMessage, showDescriptionOnInvalid, className, ref, weekdayStyle, ...props }: DatePickerProps<T>) => import("react").JSX.Element;
3
+ /**
4
+ * A date picker component combining a segmented date input field with a dropdown {@link Calendar} popover.
5
+ *
6
+ * Implements Material Design 3 Date Picker guidelines, providing both typed manual input and interactive
7
+ * calendar date selection, with locale-sensitive formatting and validation.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { DatePicker } from '@adgytec/web-ui-components';
12
+ *
13
+ * <DatePicker
14
+ * label="Appointment Date"
15
+ * description="Choose a date for your visit."
16
+ * />
17
+ * ```
18
+ */
19
+ export declare const DatePicker: <T extends DateValue>({ label, description, errorMessage, showDescriptionOnInvalid, className, ref, weekdayStyle, ...props }: DatePickerProps<T>) => import('react').JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../src/components/Input/DatePicker/DatePicker/DatePicker.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { CalendarDays } from \"lucide-react\";\nimport {\n DatePicker as AriaDatePicker,\n DateInput,\n DateSegment,\n type DateValue,\n Group,\n} from \"react-aria-components\";\nimport { Calendar } from \"@/components/Calendar\";\nimport { Popover } from \"@/components/Popover\";\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 { InputButton } from \"../../Input\";\nimport { Label } from \"../../Label\";\nimport { DatePickerGroupStyles, DatePickerPopoverStyles } from \"../core\";\nimport type { DatePickerProps } from \"./types\";\n\nexport const DatePicker = <T extends DateValue>({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n className,\n ref,\n weekdayStyle,\n ...props\n}: DatePickerProps<T>) => {\n return (\n <AriaDatePicker\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, isDisabled, isOpen }) => {\n const showDescription =\n description &&\n (!isInvalid || (isInvalid && showDescriptionOnInvalid));\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <Group\n className={clsx(\n EditorStyles,\n DatePickerGroupStyles\n )}\n data-trailing={true}\n data-open={isOpen || undefined}\n data-date-input={true}\n >\n <DateInput\n ref={ref}\n className={clsx(\n UnsetStyles,\n EditorInputStyles,\n typography.bodyLarge,\n DateInputStyles\n )}\n data-date-input={true}\n >\n {(segment) => (\n <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\n />\n )}\n </DateInput>\n\n <InputButton\n icon={CalendarDays}\n isDisabled={isDisabled}\n data-invalid={isInvalid || undefined}\n />\n </Group>\n\n {showDescription && (\n <Description className={clsx(SupportingTextStyles)}>\n {description}\n </Description>\n )}\n <FieldError className={clsx(SupportingTextStyles)}>\n {errorMessage}\n </FieldError>\n\n <Popover className={clsx(DatePickerPopoverStyles)}>\n <Calendar weekdayStyle={weekdayStyle} />\n </Popover>\n </>\n );\n }}\n </AriaDatePicker>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;AA6BA,IAAa,KAAmC,EAC5C,UACA,gBACA,iBACA,8BAA2B,IAC3B,cACA,QACA,iBACA,GAAG,QAGC,kBAAC,GAAD;CACI,YAAY,MACR,EACI,GACA,GACA,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;CAEJ,GAAI;YAEF,EAAE,cAAW,eAAY,gBAAa;EACpC,IAAM,IACF,MACC,CAAC,KAAc,KAAa;EAEjC,OACI,kBAAA,GAAA,EAAA,UAAA;GACK,KAAS,kBAAC,GAAD,EAAA,UAAQ,EAAa,CAAA;GAE/B,kBAAC,GAAD;IACI,WAAW,EACP,GACA,CACJ;IACA,iBAAe;IACf,aAAW,KAAU,KAAA;IACrB,mBAAiB;cAPrB,CASI,kBAAC,GAAD;KACS;KACL,WAAW,EACP,GACA,GACA,EAAW,WACX,CACJ;KACA,mBAAiB;gBAEf,MACE,kBAAC,GAAD;MACI,WAAW,EACP,GACA,EAAW,SACf;MACS;KAAQ,CAAA;IAGlB,CAAA,GAEX,kBAAC,GAAD;KACI,MAAM;KACM;KACZ,gBAAc,KAAa,KAAA;IAAU,CAAA,CAEtC;;GAEN,KACG,kBAAC,GAAD;IAAa,WAAW,EAAK,CAAoB;cAC5C;GACQ,CAAA;GAEjB,kBAAC,GAAD;IAAY,WAAW,EAAK,CAAoB;cAC3C;GACO,CAAA;GAEZ,kBAAC,GAAD;IAAS,WAAW,EAAK,CAAuB;cAC5C,kBAAC,GAAD,EAAwB,gBAAa,CAAA;GAChC,CAAA;EACb,EAAA,CAAA;CAER;AACY,CAAA"}
1
+ {"version":3,"file":"index.js","names":["AriaDatePicker","clsx","_Fragment","Label","FieldError","Popover","Calendar","typography","Calendar$1","FieldError$1","Label$1","InputGroupStyles","UnsetStyles","DateSegmentStyles","SupportingTextStyles","Colors","EditorInputStyles","DateInputStyles","EditorStyles","Popover$1","InputButton","DatePickerPopoverStyles","DatePickerGroupStyles","clsx$1","DatePicker$1","DatePicker","props","className","renderProps","showDescription","description","isInvalid","showDescriptionOnInvalid","Fragment","label","Group","isOpen","DateInput","DateSegment","CalendarDays","Description","errorMessage"],"sources":["../../../../../src/components/Input/DatePicker/DatePicker/DatePicker.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { CalendarDays } from \"lucide-react\";\nimport {\n DatePicker as AriaDatePicker,\n DateInput,\n DateSegment,\n type DateValue,\n Group,\n} from \"react-aria-components\";\nimport { Calendar } from \"@/components/Calendar\";\nimport { Popover } from \"@/components/Popover\";\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 { InputButton } from \"../../Input\";\nimport { Label } from \"../../Label\";\nimport { DatePickerGroupStyles, DatePickerPopoverStyles } from \"../core\";\nimport type { DatePickerProps } from \"./types\";\n\n/**\n * A date picker component combining a segmented date input field with a dropdown {@link Calendar} popover.\n *\n * Implements Material Design 3 Date Picker guidelines, providing both typed manual input and interactive\n * calendar date selection, with locale-sensitive formatting and validation.\n *\n * @example\n * ```tsx\n * import { DatePicker } from '@adgytec/web-ui-components';\n *\n * <DatePicker\n * label=\"Appointment Date\"\n * description=\"Choose a date for your visit.\"\n * />\n * ```\n */\nexport const DatePicker = <T extends DateValue>({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n className,\n ref,\n weekdayStyle,\n ...props\n}: DatePickerProps<T>) => {\n return (\n <AriaDatePicker\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, isDisabled, isOpen }) => {\n const showDescription =\n description &&\n (!isInvalid || (isInvalid && showDescriptionOnInvalid));\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <Group\n className={clsx(\n EditorStyles,\n DatePickerGroupStyles\n )}\n data-trailing={true}\n data-open={isOpen || undefined}\n data-date-input={true}\n >\n <DateInput\n ref={ref}\n className={clsx(\n UnsetStyles,\n EditorInputStyles,\n typography.bodyLarge,\n DateInputStyles\n )}\n data-date-input={true}\n >\n {(segment) => (\n <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\n />\n )}\n </DateInput>\n\n <InputButton\n icon={CalendarDays}\n isDisabled={isDisabled}\n data-invalid={isInvalid || undefined}\n />\n </Group>\n\n {showDescription && (\n <Description className={clsx(SupportingTextStyles)}>\n {description}\n </Description>\n )}\n <FieldError className={clsx(SupportingTextStyles)}>\n {errorMessage}\n </FieldError>\n\n <Popover className={clsx(DatePickerPopoverStyles)}>\n <Calendar weekdayStyle={weekdayStyle} />\n </Popover>\n </>\n );\n }}\n </AriaDatePicker>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;AA6CA,IAAayB,KAAmC,EAC5C,UACA,gBACA,iBACA,8BAA2B,IAC3B,cACA,QACA,iBACA,GAAGC,QAGC,kBAAC1B,GAAD;CACI,YAAY,MACRC,EACIc,GACAJ,GACA,OAAOgB,KAAc,aACfA,EAAUC,CAAW,IACrBD,CACV;CAEJ,GAAID;CAEF,WAAA,EAAE,cAAW,eAAY,gBAAa;EACpC,IAAMG,IACFC,MACC,CAACC,KAAcA,KAAaC;EAEjC,OACI,kBAAA9B,GAAA,EAAA,UAAA;GACKgC,KAAS,kBAAC/B,GAAD,EAAA,UAAQ+B,EAAa,CAAA;GAE/B,kBAACC,GAAD;IACI,WAAWlC,EACPiB,GACAI,CACJ;IACA,iBAAe;IACf,aAAWc,KAAU,KAAA;IACrB,mBAAiB;IAPrB,UAAA,CASI,kBAACC,GAAD;KACS;KACL,WAAWpC,EACPW,GACAI,GACAT,EAAW,WACXU,CACJ;KACA,mBAAiB;KAEf,WAAA,MACE,kBAACqB,GAAD;MACI,WAAWrC,EACPY,GACAN,EAAW,SACf;MACS;KAAQ,CAAA;IAGlB,CAAA,GAEX,kBAACa,GAAD;KACI,MAAMmB;KACM;KACZ,gBAAcR,KAAa,KAAA;IAAU,CAAA,CAEtC;;GAENF,KACG,kBAACW,GAAD;IAAa,WAAWvC,EAAKa,CAAoB;IAC5C,UAAAgB;GACQ,CAAA;GAEjB,kBAAC1B,GAAD;IAAY,WAAWH,EAAKa,CAAoB;IAC3C,UAAA2B;GACO,CAAA;GAEZ,kBAACpC,GAAD;IAAS,WAAWJ,EAAKoB,CAAuB;IAC5C,UAAA,kBAACf,GAAD,EAAwB,gBAAa,CAAA;GAChC,CAAA;EACb,EAAA,CAAA;CAER;AACY,CAAA"}
@@ -2,6 +2,16 @@ import { DatePickerProps as AriaDatePickerProps, DateInput, DateValue } from 're
2
2
  import { WeekdayStyle } from '../../../Calendar/core';
3
3
  import { RefProp } from '../../../../utils';
4
4
  import { CoreInputProps } from '../../core';
5
+ /**
6
+ * Props for the {@link DatePicker} component.
7
+ * Extends React Aria's {@link AriaDatePickerProps}, {@link CoreInputProps}, and native date input ref.
8
+ */
5
9
  export interface DatePickerProps<T extends DateValue> extends Omit<AriaDatePickerProps<T>, "children">, CoreInputProps, RefProp<typeof DateInput> {
10
+ /**
11
+ * Formatting style for weekday column headers in the calendar popover.
12
+ *
13
+ * - `"narrow"`: Typically a single character (e.g. "S", "M", "T").
14
+ * - `"short"`: Abbreviated weekday name (e.g. "Sun", "Mon", "Tue").
15
+ */
6
16
  weekdayStyle?: WeekdayStyle;
7
17
  }
@@ -1,3 +1,19 @@
1
1
  import { DateValue } from 'react-aria-components';
2
2
  import { DateRangePickerProps } from './types';
3
- export declare const DateRangePicker: <T extends DateValue>({ label, description, errorMessage, showDescriptionOnInvalid, className, ref, weekdayStyle, ...props }: DateRangePickerProps<T>) => import("react").JSX.Element;
3
+ /**
4
+ * A date range picker component allowing users to select a start and end date using dual segmented date inputs or a dropdown {@link RangeCalendar} popover.
5
+ *
6
+ * Implements Material Design 3 Date Range Picker guidelines, providing accessible keyboard navigation,
7
+ * custom range highlighting, and validation feedback.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { DateRangePicker } from '@adgytec/web-ui-components';
12
+ *
13
+ * <DateRangePicker
14
+ * label="Travel Dates"
15
+ * description="Select departure and return dates."
16
+ * />
17
+ * ```
18
+ */
19
+ export declare const DateRangePicker: <T extends DateValue>({ label, description, errorMessage, showDescriptionOnInvalid, className, ref, weekdayStyle, ...props }: DateRangePickerProps<T>) => import('react').JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["segment"],"sources":["../../../../../src/components/Input/DatePicker/DateRangePicker/DateRangePicker.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { CalendarDays } from \"lucide-react\";\nimport {\n DateRangePicker as AriaRangeDatePicker,\n DateInput,\n DateSegment,\n type DateValue,\n Group,\n} from \"react-aria-components\";\nimport { RangeCalendar } from \"@/components/Calendar\";\nimport { Popover } from \"@/components/Popover\";\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 { InputButton } from \"../../Input\";\nimport { Label } from \"../../Label\";\nimport {\n DatePickerGroupStyles,\n DatePickerPopoverStyles,\n DateRangePickerDateInputGroupStyles,\n} from \"../core\";\nimport type { DateRangePickerProps } from \"./types\";\n\nexport const DateRangePicker = <T extends DateValue>({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n className,\n ref,\n weekdayStyle,\n ...props\n}: DateRangePickerProps<T>) => {\n return (\n <AriaRangeDatePicker\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, isDisabled, isOpen }) => {\n const showDescription =\n description &&\n (!isInvalid || (isInvalid && showDescriptionOnInvalid));\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <Group\n className={clsx(\n EditorStyles,\n DatePickerGroupStyles\n )}\n data-trailing={true}\n data-open={isOpen || undefined}\n data-date-input={true}\n >\n <div\n className={clsx(\n DateRangePickerDateInputGroupStyles\n )}\n >\n <DateInput\n slot=\"start\"\n ref={ref}\n className={clsx(\n UnsetStyles,\n EditorInputStyles,\n typography.bodyLarge,\n DateInputStyles\n )}\n data-date-input={true}\n >\n {(segment) => (\n <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\n />\n )}\n </DateInput>\n\n <span aria-hidden=\"true\">–</span>\n\n <DateInput\n slot=\"end\"\n className={clsx(\n UnsetStyles,\n EditorInputStyles,\n typography.bodyLarge,\n DateInputStyles\n )}\n data-date-input={true}\n >\n {(segment) => (\n <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\n />\n )}\n </DateInput>\n </div>\n\n <InputButton\n icon={CalendarDays}\n isDisabled={isDisabled}\n data-invalid={isInvalid || undefined}\n />\n </Group>\n\n {showDescription && (\n <Description className={clsx(SupportingTextStyles)}>\n {description}\n </Description>\n )}\n <FieldError className={clsx(SupportingTextStyles)}>\n {errorMessage}\n </FieldError>\n\n <Popover className={clsx(DatePickerPopoverStyles)}>\n <RangeCalendar weekdayStyle={weekdayStyle} />\n </Popover>\n </>\n );\n }}\n </AriaRangeDatePicker>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;AAiCA,IAAa,KAAwC,EACjD,UACA,gBACA,iBACA,8BAA2B,IAC3B,cACA,QACA,iBACA,GAAG,QAGC,kBAAC,GAAD;CACI,YAAY,MACR,EACI,GACA,GACA,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;CAEJ,GAAI;YAEF,EAAE,cAAW,eAAY,gBAAa;EACpC,IAAM,IACF,MACC,CAAC,KAAc,KAAa;EAEjC,OACI,kBAAA,GAAA,EAAA,UAAA;GACK,KAAS,kBAAC,GAAD,EAAA,UAAQ,EAAa,CAAA;GAE/B,kBAAC,GAAD;IACI,WAAW,EACP,GACA,CACJ;IACA,iBAAe;IACf,aAAW,KAAU,KAAA;IACrB,mBAAiB;cAPrB,CASI,kBAAC,OAAD;KACI,WAAW,EACP,CACJ;eAHJ;MAKI,kBAAC,GAAD;OACI,MAAK;OACA;OACL,WAAW,EACP,GACA,GACA,EAAW,WACX,CACJ;OACA,mBAAiB;kBAEf,MACE,kBAAC,GAAD;QACI,WAAW,EACP,GACA,EAAW,SACf;QACS;OAAQ,CAAA;MAGlB,CAAA;MAEX,kBAAC,QAAD;OAAM,eAAY;iBAAO;MAAO,CAAA;MAEhC,kBAAC,GAAD;OACI,MAAK;OACL,WAAW,EACP,GACA,GACA,EAAW,WACX,CACJ;OACA,mBAAiB;kBAEfA,MACE,kBAAC,GAAD;QACI,WAAW,EACP,GACA,EAAW,SACf;QACA,SAASA;OAAQ,CAAA;MAGlB,CAAA;KACV;QAEL,kBAAC,GAAD;KACI,MAAM;KACM;KACZ,gBAAc,KAAa,KAAA;IAAU,CAAA,CAEtC;;GAEN,KACG,kBAAC,GAAD;IAAa,WAAW,EAAK,CAAoB;cAC5C;GACQ,CAAA;GAEjB,kBAAC,GAAD;IAAY,WAAW,EAAK,CAAoB;cAC3C;GACO,CAAA;GAEZ,kBAAC,GAAD;IAAS,WAAW,EAAK,CAAuB;cAC5C,kBAAC,GAAD,EAA6B,gBAAa,CAAA;GACrC,CAAA;EACb,EAAA,CAAA;CAER;AACiB,CAAA"}
1
+ {"version":3,"file":"index.js","names":["segment","AriaRangeDatePicker","clsx","_Fragment","Label","FieldError","Popover","RangeCalendar","typography","RangeCalendar$1","FieldError$1","Label$1","InputGroupStyles","UnsetStyles","DateSegmentStyles","SupportingTextStyles","Colors","EditorInputStyles","DateInputStyles","EditorStyles","Popover$1","InputButton","DatePickerPopoverStyles","DateRangePickerDateInputGroupStyles","DatePickerGroupStyles","clsx$1","DateRangePicker$1","DateRangePicker","props","className","renderProps","showDescription","description","isInvalid","showDescriptionOnInvalid","Fragment","label","Group","isOpen","DateInput","DateSegment","segment_0","CalendarDays","Description","errorMessage"],"sources":["../../../../../src/components/Input/DatePicker/DateRangePicker/DateRangePicker.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { CalendarDays } from \"lucide-react\";\nimport {\n DateRangePicker as AriaRangeDatePicker,\n DateInput,\n DateSegment,\n type DateValue,\n Group,\n} from \"react-aria-components\";\nimport { RangeCalendar } from \"@/components/Calendar\";\nimport { Popover } from \"@/components/Popover\";\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 { InputButton } from \"../../Input\";\nimport { Label } from \"../../Label\";\nimport {\n DatePickerGroupStyles,\n DatePickerPopoverStyles,\n DateRangePickerDateInputGroupStyles,\n} from \"../core\";\nimport type { DateRangePickerProps } from \"./types\";\n\n/**\n * A date range picker component allowing users to select a start and end date using dual segmented date inputs or a dropdown {@link RangeCalendar} popover.\n *\n * Implements Material Design 3 Date Range Picker guidelines, providing accessible keyboard navigation,\n * custom range highlighting, and validation feedback.\n *\n * @example\n * ```tsx\n * import { DateRangePicker } from '@adgytec/web-ui-components';\n *\n * <DateRangePicker\n * label=\"Travel Dates\"\n * description=\"Select departure and return dates.\"\n * />\n * ```\n */\nexport const DateRangePicker = <T extends DateValue>({\n label,\n description,\n errorMessage,\n showDescriptionOnInvalid = false,\n className,\n ref,\n weekdayStyle,\n ...props\n}: DateRangePickerProps<T>) => {\n return (\n <AriaRangeDatePicker\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, isDisabled, isOpen }) => {\n const showDescription =\n description &&\n (!isInvalid || (isInvalid && showDescriptionOnInvalid));\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <Group\n className={clsx(\n EditorStyles,\n DatePickerGroupStyles\n )}\n data-trailing={true}\n data-open={isOpen || undefined}\n data-date-input={true}\n >\n <div\n className={clsx(\n DateRangePickerDateInputGroupStyles\n )}\n >\n <DateInput\n slot=\"start\"\n ref={ref}\n className={clsx(\n UnsetStyles,\n EditorInputStyles,\n typography.bodyLarge,\n DateInputStyles\n )}\n data-date-input={true}\n >\n {(segment) => (\n <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\n />\n )}\n </DateInput>\n\n <span aria-hidden=\"true\">–</span>\n\n <DateInput\n slot=\"end\"\n className={clsx(\n UnsetStyles,\n EditorInputStyles,\n typography.bodyLarge,\n DateInputStyles\n )}\n data-date-input={true}\n >\n {(segment) => (\n <DateSegment\n className={clsx(\n DateSegmentStyles,\n typography.bodyLarge\n )}\n segment={segment}\n />\n )}\n </DateInput>\n </div>\n\n <InputButton\n icon={CalendarDays}\n isDisabled={isDisabled}\n data-invalid={isInvalid || undefined}\n />\n </Group>\n\n {showDescription && (\n <Description className={clsx(SupportingTextStyles)}>\n {description}\n </Description>\n )}\n <FieldError className={clsx(SupportingTextStyles)}>\n {errorMessage}\n </FieldError>\n\n <Popover className={clsx(DatePickerPopoverStyles)}>\n <RangeCalendar weekdayStyle={weekdayStyle} />\n </Popover>\n </>\n );\n }}\n </AriaRangeDatePicker>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;AAiDA,IAAa2B,KAAwC,EACjD,UACA,gBACA,iBACA,8BAA2B,IAC3B,cACA,QACA,iBACA,GAAGC,QAGC,kBAAC3B,GAAD;CACI,YAAY,MACRC,EACIc,GACAJ,GACA,OAAOiB,KAAc,aACfA,EAAUC,CAAW,IACrBD,CACV;CAEJ,GAAID;CAEF,WAAA,EAAE,cAAW,eAAY,gBAAa;EACpC,IAAMG,IACFC,MACC,CAACC,KAAcA,KAAaC;EAEjC,OACI,kBAAA/B,GAAA,EAAA,UAAA;GACKiC,KAAS,kBAAChC,GAAD,EAAA,UAAQgC,EAAa,CAAA;GAE/B,kBAACC,GAAD;IACI,WAAWnC,EACPiB,GACAK,CACJ;IACA,iBAAe;IACf,aAAWc,KAAU,KAAA;IACrB,mBAAiB;IAPrB,UAAA,CASI,kBAAC,OAAD;KACI,WAAWpC,EACPqB,CACJ;KAHJ,UAAA;MAKI,kBAACgB,GAAD;OACI,MAAK;OACA;OACL,WAAWrC,EACPW,GACAI,GACAT,EAAW,WACXU,CACJ;OACA,mBAAiB;OAEf,WAAA,MACE,kBAACsB,GAAD;QACI,WAAWtC,EACPY,GACAN,EAAW,SACf;QACS;OAAQ,CAAA;MAGlB,CAAA;MAEX,kBAAC,QAAD;OAAM,eAAY;OAAO,UAAA;MAAO,CAAA;MAEhC,kBAAC+B,GAAD;OACI,MAAK;OACL,WAAWrC,EACPW,GACAI,GACAT,EAAW,WACXU,CACJ;OACA,mBAAiB;OAEflB,WAAAA,MACE,kBAACwC,GAAD;QACI,WAAWtC,EACPY,GACAN,EAAW,SACf;QACA,SAASR;OAAQ,CAAA;MAGlB,CAAA;KACV;IAEL,CAAA,GAAA,kBAACqB,GAAD;KACI,MAAMqB;KACM;KACZ,gBAAcT,KAAa,KAAA;IAAU,CAAA,CAEtC;;GAENF,KACG,kBAACY,GAAD;IAAa,WAAWzC,EAAKa,CAAoB;IAC5C,UAAAiB;GACQ,CAAA;GAEjB,kBAAC3B,GAAD;IAAY,WAAWH,EAAKa,CAAoB;IAC3C,UAAA6B;GACO,CAAA;GAEZ,kBAACtC,GAAD;IAAS,WAAWJ,EAAKoB,CAAuB;IAC5C,UAAA,kBAACf,GAAD,EAA6B,gBAAa,CAAA;GACrC,CAAA;EACb,EAAA,CAAA;CAER;AACiB,CAAA"}
@@ -2,6 +2,16 @@ import { DateRangePickerProps as AriaDateRangePickerProps, DateInput, DateValue
2
2
  import { WeekdayStyle } from '../../../Calendar/core';
3
3
  import { RefProp } from '../../../../utils';
4
4
  import { CoreInputProps } from '../../core';
5
+ /**
6
+ * Props for the {@link DateRangePicker} component.
7
+ * Extends React Aria's {@link AriaDateRangePickerProps}, {@link CoreInputProps}, and native start date input ref.
8
+ */
5
9
  export interface DateRangePickerProps<T extends DateValue> extends Omit<AriaDateRangePickerProps<T>, "children">, CoreInputProps, RefProp<typeof DateInput> {
10
+ /**
11
+ * Formatting style for weekday column headers in the range calendar popover.
12
+ *
13
+ * - `"narrow"`: Typically a single character (e.g. "S", "M", "T").
14
+ * - `"short"`: Abbreviated weekday name (e.g. "Sun", "Mon", "Tue").
15
+ */
6
16
  weekdayStyle?: WeekdayStyle;
7
17
  }
@@ -1,3 +1,6 @@
1
+ /** CSS class for the date picker popover container. */
1
2
  export declare const DatePickerPopoverStyles: string;
3
+ /** CSS class for the date picker input group container. */
2
4
  export declare const DatePickerGroupStyles: string;
5
+ /** CSS class for the date range picker input group container. */
3
6
  export declare const DateRangePickerDateInputGroupStyles: string;
@@ -1,2 +1,13 @@
1
1
  import { Text } from 'react-aria-components';
2
- export declare const Description: React.FC<React.ComponentPropsWithRef<typeof Text>>;
2
+ /**
3
+ * Props for the {@link Description} component.
4
+ * Extends React Aria's {@link Text} props.
5
+ */
6
+ export interface DescriptionProps extends React.ComponentPropsWithRef<typeof Text> {
7
+ }
8
+ /**
9
+ * Informative supporting text placed beneath an input field.
10
+ *
11
+ * Automatically bound via `slot="description"` for accessibility screen reader announcements.
12
+ */
13
+ export declare const Description: React.FC<DescriptionProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Input/Description/Description.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Text } from \"react-aria-components\";\nimport { typography } from \"@/utils/typography\";\n\nexport const Description: React.FC<\n React.ComponentPropsWithRef<typeof Text>\n> = ({ className, slot: _, ...props }) => {\n return (\n <Text\n slot=\"description\"\n className={clsx(typography.labelMedium, className)}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;aAIa,KAET,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,CAAA,GAAA,GAAA;CAAA,IAAA,EAAA,OAAA,GAAA;EAAC,IAAA,EAAA,WAAA,GAAA,MAAA,GAAA,GAAA,MAAA;EAAgC,AAAhC,IAAA,GAAA,IAAA,GAAgC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,OAAA,AAAA,IAAA,EAAA,IAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,IAIyB,IAAA,EAAA,MAAvC,IAAA,EAAK,EAAU,aAAc,CAAS,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAEpD,OAFoD,EAAA,OAAA,KAAA,EAAA,OAAA,KAFtD,IAAA,kBAAC,GAAD;EACS,MAAA;EACM,WAAA;EAAuC,GAC9C;CAAK,CAAA,GACX,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA,IAJF;AAIE"}
1
+ {"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","clsx$1","import_compiler_runtime","Description","$","className","props","t0","t1","_","t2","typography","Text"],"sources":["../../../../src/components/Input/Description/Description.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Text } from \"react-aria-components\";\nimport { typography } from \"@/utils/typography\";\n\n/**\n * Props for the {@link Description} component.\n * Extends React Aria's {@link Text} props.\n */\nexport interface DescriptionProps\n extends React.ComponentPropsWithRef<typeof Text> {}\n\n/**\n * Informative supporting text placed beneath an input field.\n *\n * Automatically bound via `slot=\"description\"` for accessibility screen reader announcements.\n */\nexport const Description: React.FC<DescriptionProps> = ({\n className,\n slot: _,\n ...props\n}) => {\n return (\n <Text\n slot=\"description\"\n className={clsx(typography.labelMedium, className)}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;aAgBaK,KAA0C,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAAO,GAAAC;CAAA,IAAAF,EAAA,OAAAG,GAAA;EAAC,IAAA,EAAA,WAAAC,GAAA,MAAAC,GAAA,GAAAC,MAAAH;EAIvD,AAJuD,IAAAC,GAAA,IAAAE,GAIvD,EAAA,KAAAH,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,OAAA,AAAA,IAAAF,EAAA,IAAA,IAAAA,EAAA;CAAA,IAAAI;CAAA,AAAAJ,EAAA,OAAAC,IAI6D,IAAAD,EAAA,MAAvC,IAAAL,EAAKY,EAAU,aAAcN,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAEpD,OAFoDN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KAFtD,IAAA,kBAACI,GAAD;EACS,MAAA;EACM,WAAAJ;EAAuC,GAC9CF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAJFM;AAIE"}
@@ -1,2 +1,13 @@
1
1
  import { FieldError as AriaFieldError } from 'react-aria-components';
2
- export declare const FieldError: React.FC<React.ComponentPropsWithRef<typeof AriaFieldError>>;
2
+ /**
3
+ * Props for the {@link FieldError} component.
4
+ * Extends React Aria's {@link AriaFieldError} props.
5
+ */
6
+ export interface FieldErrorProps extends React.ComponentPropsWithRef<typeof AriaFieldError> {
7
+ }
8
+ /**
9
+ * Renders error messages when an input component fails validation.
10
+ *
11
+ * Automatically displays validation feedback according to Material Design 3 error styles.
12
+ */
13
+ export declare const FieldError: React.FC<FieldErrorProps>;
@@ -1,2 +1,29 @@
1
1
  import { InputProps } from './types';
2
+ /**
3
+ * A single-line text input field implementing Material Design 3 Text Field guidelines.
4
+ *
5
+ * Supports accessible labels, helper descriptions, error messages, prefix/suffix text,
6
+ * leading icons, trailing actions via {@link InputButton}, and character counter indicators.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * import { Input, InputButton } from '@adgytec/web-ui-components';
11
+ * import { Eye, Mail } from 'lucide-react';
12
+ *
13
+ * // Basic text input with label and helper text
14
+ * <Input
15
+ * label="Email Address"
16
+ * placeholder="user@example.com"
17
+ * leadingIcon={Mail}
18
+ * description="We'll never share your email."
19
+ * />
20
+ *
21
+ * // Password field with trailing visibility button
22
+ * <Input
23
+ * label="Password"
24
+ * type="password"
25
+ * trailing={<InputButton icon={Eye} onPress={() => {}} />}
26
+ * />
27
+ * ```
28
+ */
2
29
  export declare const Input: React.FC<InputProps>;
@@ -1,2 +1,11 @@
1
1
  import { IconButtonProps } from '../../Button';
2
- export declare const InputButton: React.FC<Omit<IconButtonProps, "color" | "size" | "width">>;
2
+ /**
3
+ * Props for the {@link InputButton} component.
4
+ * Extends {@link IconButtonProps} omitting fixed size, color, and width configurations.
5
+ */
6
+ export interface InputButtonProps extends Omit<IconButtonProps, "color" | "size" | "width"> {
7
+ }
8
+ /**
9
+ * An action button tailored for placement within an {@link Input} container (e.g. password visibility toggle, clear button).
10
+ */
11
+ export declare const InputButton: React.FC<InputButtonProps>;
@@ -1,4 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * Injects input validation and disabled states into child {@link InputButton} elements.
4
+ *
5
+ * @param params - Configuration containing `node`, `isInvalid`, and `isDisabled`.
6
+ * @returns Cloned element with attached state data attributes, or the original node if not an InputButton.
7
+ */
2
8
  export declare function addStateAttrsToInputButton({ node, isInvalid, isDisabled, }: {
3
9
  node: ReactNode;
4
10
  isInvalid: boolean;