@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,6 +1,44 @@
1
1
  import { ReactNode } from 'react';
2
- export declare const SubNavigationTrigger: React.FC<{
2
+ /**
3
+ * Props for the [`SubNavigationTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx) component.
4
+ */
5
+ export interface SubNavigationTriggerProps {
6
+ /**
7
+ * Unique state key used for referencing and animating this sub-navigation level.
8
+ */
3
9
  stateID: string;
10
+ /**
11
+ * Child elements, typically an opening trigger button and a [`SubNavigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx) panel.
12
+ */
4
13
  children?: ReactNode;
14
+ /**
15
+ * Text or node label passed down to the trigger button and child sub-navigation header.
16
+ */
5
17
  label: ReactNode;
6
- }>;
18
+ }
19
+ /**
20
+ * Orchestrator component tying together an opening action button and its sliding
21
+ * [`SubNavigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx) panel.
22
+ *
23
+ * Configures button click handlers to slide the sub-navigation panel into view, increments the
24
+ * depth counter, and passes down the section label.
25
+ *
26
+ * @example
27
+ * ```tsx
28
+ * import {
29
+ * SubNavigationTrigger,
30
+ * NavigationButton,
31
+ * SubNavigation,
32
+ * NavigationLink,
33
+ * } from "@adgytec/web-ui-components";
34
+ * import { Settings } from "lucide-react";
35
+ *
36
+ * <SubNavigationTrigger stateID="settings" label="Settings">
37
+ * <NavigationButton icon={Settings} />
38
+ * <SubNavigation>
39
+ * <NavigationLink href="/settings/profile" label="Profile" />
40
+ * </SubNavigation>
41
+ * </SubNavigationTrigger>
42
+ * ```
43
+ */
44
+ export declare const SubNavigationTrigger: React.FC<SubNavigationTriggerProps>;
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "../../../../chunks/compiler-runtime";
2
- import { r as t } from "../../../../chunks/NavigationState";
3
- import { n, r, t as i } from "../../../../chunks/core8";
2
+ import { n as t, r as n, t as r } from "../../../../chunks/core8";
3
+ import { useNavigationState as i } from "../../NavigationState/index.js";
4
4
  import { jsx as a } from "react/jsx-runtime";
5
5
  import { ButtonContext as o, DEFAULT_SLOT as s, Provider as c } from "react-aria-components";
6
6
  //#region src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx
7
7
  var l = e(), u = (e) => {
8
- let u = (0, l.c)(29), { stateID: d, children: f, label: p } = e, m = r(), { openSubNavigation: h, closeSubNavigation: g, isSubNavigationOpen: _ } = t(), v = `${m.id}--${d}`, y = m.depth + 1, b;
9
- u[0] === p ? b = u[1] : (b = [i, p], u[0] = p, u[1] = b);
8
+ let u = (0, l.c)(29), { stateID: d, children: f, label: p } = e, m = n(), { openSubNavigation: h, closeSubNavigation: g, isSubNavigationOpen: _ } = i(), v = `${m.id}--${d}`, y = m.depth + 1, b;
9
+ u[0] === p ? b = u[1] : (b = [r, p], u[0] = p, u[1] = b);
10
10
  let x;
11
- u[2] !== y || u[3] !== v ? (x = [n, {
11
+ u[2] !== y || u[3] !== v ? (x = [t, {
12
12
  id: v,
13
13
  depth: y
14
14
  }], u[2] = y, u[3] = v, u[4] = x) : x = u[4];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["children"],"sources":["../../../../../src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { ButtonContext, DEFAULT_SLOT, Provider } from \"react-aria-components\";\nimport {\n NavigationInfoContext,\n NavLabelContext,\n useNavigationInfo,\n} from \"../../core\";\nimport { useNavigationState } from \"../../NavigationState\";\n\nexport const SubNavigationTrigger: React.FC<{\n stateID: string;\n children?: ReactNode;\n label: ReactNode;\n}> = ({ stateID, children, label }) => {\n const parentInfo = useNavigationInfo();\n const { openSubNavigation, closeSubNavigation, isSubNavigationOpen } =\n useNavigationState();\n\n const subNavID = `${parentInfo.id}--${stateID}`;\n const depth = parentInfo.depth + 1;\n\n return (\n <Provider\n values={[\n [NavLabelContext, label],\n [NavigationInfoContext, { id: subNavID, depth }],\n [\n ButtonContext,\n {\n slots: {\n [DEFAULT_SLOT]: {},\n open: {\n onPress: () => {\n openSubNavigation(subNavID, depth);\n },\n isPressed: isSubNavigationOpen(subNavID),\n },\n close: {\n onPress: () => {\n closeSubNavigation(subNavID);\n },\n },\n },\n },\n ],\n ]}\n >\n {children}\n </Provider>\n );\n};\n"],"mappings":";;;;;;aASa,KAIR,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,EAAA,GAAC,EAAA,YAAA,aAAA,aAAA,GACF,IAAmB,EAAkB,GACrC,EAAA,sBAAA,uBAAA,2BACI,EAAmB,GAEvB,IAAiB,GAAG,EAAU,GAAG,IAAK,KACtC,IAAc,EAAU,QAAS,GAAE;CAAA,AAAA,EAAA,OAAA,IAKC,IAAA,EAAA,MAAxB,IAAA,CAAC,GAAiB,CAAK,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KACxB,IAAA,CAAC,GAAuB;EAAA,IAAM;EAAQ;CAAQ,CAAC,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,OAAA,IAAA,2BAAA,KAKpB,IAAA,CAAC,GAAC,EAAA,KAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAEL,UAAA;EACL,EAAkB,GAAU,CAAK;CAAC,GACrC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KACU,IAAA,EAAoB,CAAQ,GAAC,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAJtC,IAAA;EAAA,SACO;EAER,WACU;CACf,GAAC,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KACM,IAAA,EAAA,eACM;EACL,EAAmB,CAAQ;CAAC,EAEpC,GAAC,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAfb,IAAA,CACI,GACA,EAAA,OACW;GACF,IAAe;EAAE,MACZ;EAKL,OACM;CAKX,EACJ,CAAC,GACJ,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KArBG,IAAA;EACJ;EACA;EACA;CAkBC,GACJ,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAGM,OAHN,EAAA,QAAA,KAAA,EAAA,QAAA,KAvBL,IAAA,kBAAC,GAAD;EACY,QAAA;EAwBP;CAzBI,CAAA,GA0BE,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA,KA1BX;AA0BW"}
1
+ {"version":3,"file":"index.js","names":["children","_c","require_compiler_runtime","NavigationInfoContext","useNavigationInfo","NavLabelContext","import_compiler_runtime","SubNavigationTrigger","$","t0","parentInfo","useNavigationState","subNavID","stateID","depth","t1","label","t2","t3","t4","openSubNavigation","t5","isSubNavigationOpen","t6","t7","closeSubNavigation","t8","ButtonContext","DEFAULT_SLOT","t9","t10","children","Provider"],"sources":["../../../../../src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { ButtonContext, DEFAULT_SLOT, Provider } from \"react-aria-components\";\nimport {\n NavigationInfoContext,\n NavLabelContext,\n useNavigationInfo,\n} from \"../../core\";\nimport { useNavigationState } from \"../../NavigationState\";\n\n/**\n * Props for the [`SubNavigationTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx) component.\n */\nexport interface SubNavigationTriggerProps {\n /**\n * Unique state key used for referencing and animating this sub-navigation level.\n */\n stateID: string;\n\n /**\n * Child elements, typically an opening trigger button and a [`SubNavigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx) panel.\n */\n children?: ReactNode;\n\n /**\n * Text or node label passed down to the trigger button and child sub-navigation header.\n */\n label: ReactNode;\n}\n\n/**\n * Orchestrator component tying together an opening action button and its sliding\n * [`SubNavigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx) panel.\n *\n * Configures button click handlers to slide the sub-navigation panel into view, increments the\n * depth counter, and passes down the section label.\n *\n * @example\n * ```tsx\n * import {\n * SubNavigationTrigger,\n * NavigationButton,\n * SubNavigation,\n * NavigationLink,\n * } from \"@adgytec/web-ui-components\";\n * import { Settings } from \"lucide-react\";\n *\n * <SubNavigationTrigger stateID=\"settings\" label=\"Settings\">\n * <NavigationButton icon={Settings} />\n * <SubNavigation>\n * <NavigationLink href=\"/settings/profile\" label=\"Profile\" />\n * </SubNavigation>\n * </SubNavigationTrigger>\n * ```\n */\nexport const SubNavigationTrigger: React.FC<SubNavigationTriggerProps> = ({\n stateID,\n children,\n label,\n}) => {\n const parentInfo = useNavigationInfo();\n const { openSubNavigation, closeSubNavigation, isSubNavigationOpen } =\n useNavigationState();\n\n const subNavID = `${parentInfo.id}--${stateID}`;\n const depth = parentInfo.depth + 1;\n\n return (\n <Provider\n values={[\n [NavLabelContext, label],\n [NavigationInfoContext, { id: subNavID, depth }],\n [\n ButtonContext,\n {\n slots: {\n [DEFAULT_SLOT]: {},\n open: {\n onPress: () => {\n openSubNavigation(subNavID, depth);\n },\n isPressed: isSubNavigationOpen(subNavID),\n },\n close: {\n onPress: () => {\n closeSubNavigation(subNavID);\n },\n },\n },\n },\n ],\n ]}\n >\n {children}\n </Provider>\n );\n};\n"],"mappings":";;;;;;aAsDaO,KAA4D,MAAA;CAAA,IAAAC,KAAA,GAAAP,EAAAA,EAAAA,CAAA,EAAA,GAAC,EAAA,YAAA,aAAA,aAAAQ,GAKtEC,IAAmBN,EAAkB,GACrC,EAAA,sBAAA,uBAAA,2BACIO,EAAmB,GAEvBC,IAAiB,GAAGF,EAAU,GAAG,IAAKG,KACtCC,IAAcJ,EAAU,QAAS,GAAEK;CAAA,AAAAP,EAAA,OAAAQ,IAKC,IAAAR,EAAA,MAAxB,IAAA,CAACH,GAAiBW,CAAK,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAD;CAAA,IAAAE;CAAA,AAAAT,EAAA,OAAAM,KAAAN,EAAA,OAAAI,KACxB,IAAA,CAACT,GAAuB;EAAA,IAAMS;EAAQ;CAAQ,CAAC,GAAC,EAAA,KAAAE,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAK,KAAA,IAAAT,EAAA;CAAA,IAAAU;CAAA,AAAAV,EAAA,OAAA,OAAA,IAAA,2BAAA,KAKpB,IAAA,CAAC,GAAC,EAAA,KAAAU,KAAA,IAAAV,EAAA;CAAA,IAAAW;CAAA,AAAAX,EAAA,OAAAM,KAAAN,EAAA,OAAAY,KAAAZ,EAAA,OAAAI,KAEL,UAAA;EACL,EAAkBA,GAAUE,CAAK;CAAC,GACrC,EAAA,KAAAA,GAAA,EAAA,KAAAM,GAAA,EAAA,KAAAR,GAAA,EAAA,KAAAO,KAAA,IAAAX,EAAA;CAAA,IAAAa;CAAA,AAAAb,EAAA,QAAAc,KAAAd,EAAA,QAAAI,KACU,IAAAU,EAAoBV,CAAQ,GAAC,EAAA,MAAAU,GAAA,EAAA,MAAAV,GAAA,EAAA,MAAAS,KAAA,IAAAb,EAAA;CAAA,IAAAe;CAAA,AAAAf,EAAA,QAAAW,KAAAX,EAAA,QAAAa,KAJtC,IAAA;EAAA,SACOF;EAER,WACUE;CACf,GAAC,EAAA,MAAAF,GAAA,EAAA,MAAAE,GAAA,EAAA,MAAAE,KAAA,IAAAf,EAAA;CAAA,IAAAgB;CAAA,AAAAhB,EAAA,QAAAiB,KAAAjB,EAAA,QAAAI,KACM,IAAA,EAAA,eACM;EACL,EAAmBA,CAAQ;CAAC,EAEpC,GAAC,EAAA,MAAAa,GAAA,EAAA,MAAAb,GAAA,EAAA,MAAAY,KAAA,IAAAhB,EAAA;CAAA,IAAAkB;CAAA,AAAAlB,EAAA,QAAAe,KAAAf,EAAA,QAAAgB,KAfb,IAAA,CACIG,GACA,EAAA,OACW;GACFC,IAAeV;EAAE,MACZK;EAKL,OACMC;CAKX,EACJ,CAAC,GACJ,EAAA,MAAAD,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAE,KAAA,IAAAlB,EAAA;CAAA,IAAAqB;CAAA,AAAArB,EAAA,QAAAO,KAAAP,EAAA,QAAAS,KAAAT,EAAA,QAAAkB,KArBG,IAAA;EACJX;EACAE;EACAS;CAkBC,GACJ,EAAA,MAAAX,GAAA,EAAA,MAAAE,GAAA,EAAA,MAAAS,GAAA,EAAA,MAAAG,KAAA,IAAArB,EAAA;CAAA,IAAAsB;CAGM,OAHNtB,EAAA,QAAAuB,KAAAvB,EAAA,QAAAqB,KAvBL,IAAA,kBAACG,GAAD;EACY,QAAAH;EAwBP;CAzBI,CAAA,GA0BE,EAAA,MAAAE,GAAA,EAAA,MAAAF,GAAA,EAAA,MAAAC,KAAA,IAAAtB,EAAA,KA1BXsB;AA0BW"}
@@ -1,3 +1,9 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * Context value representing the label inherited from a parent navigation trigger.
4
+ */
2
5
  export type NavLabelContextType = ReactNode;
6
+ /**
7
+ * React context providing the trigger label to descendant navigation items or sub-navigation panels.
8
+ */
3
9
  export declare const NavLabelContext: import('react').Context<ReactNode>;
@@ -1,3 +1,12 @@
1
+ /**
2
+ * CSS class for the root navigation container layout and surface styling.
3
+ */
1
4
  export declare const NavigationStyles: string;
5
+ /**
6
+ * CSS class for the header area of a root [`Navigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/Navigation/Navigation.tsx) container.
7
+ */
2
8
  export declare const NavigationHeaderStyles: string;
9
+ /**
10
+ * CSS class for the header area of a sliding [`SubNavigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx) panel.
11
+ */
3
12
  export declare const SubNavigationHeaderStyles: string;
@@ -1,6 +1,25 @@
1
+ /**
2
+ * Identifier and nesting depth information for the current navigation level.
3
+ */
1
4
  export type NavigationInfoContextType = {
5
+ /**
6
+ * Unique identifier for this navigation level/panel.
7
+ */
2
8
  id: string;
9
+ /**
10
+ * Current nesting hierarchy depth (root is 0, sub-navigations increment from 1).
11
+ */
3
12
  depth: number;
4
13
  };
14
+ /**
15
+ * React context providing the current navigation level's ID and hierarchy depth.
16
+ */
5
17
  export declare const NavigationInfoContext: import('react').Context<NavigationInfoContextType | null>;
18
+ /**
19
+ * Hook to access the current navigation level's unique ID and nesting depth.
20
+ *
21
+ * @throws If rendered outside of a [`Navigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/Navigation/Navigation.tsx)
22
+ * or [`SubNavigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx) component.
23
+ * @returns The current {@link NavigationInfoContextType}.
24
+ */
6
25
  export declare function useNavigationInfo(): NavigationInfoContextType;
@@ -1,4 +1,4 @@
1
- import { n as e, r as t, t as n } from "../../chunks/NavigationState";
1
+ import { NavigationState as e, NavigationStateContext as t, useNavigationState as n } from "./NavigationState/index.js";
2
2
  import { n as r, t as i } from "../../chunks/navContext";
3
3
  import { n as a, r as o, t as s } from "../../chunks/Navigation";
4
4
  import { NavigationButton as c } from "./NavigationItem/NavigationButton/index.js";
@@ -7,4 +7,4 @@ import { t as u } from "../../chunks/NavigationSection";
7
7
  import { t as d } from "../../chunks/NavigationSectionLabel";
8
8
  import { SubNavigation as f } from "./SubNavigation/SubNavigation/index.js";
9
9
  import { SubNavigationTrigger as p } from "./SubNavigation/SubNavigationTrigger/index.js";
10
- export { s as Navigation, c as NavigationButton, i as NavigationContext, l as NavigationLink, a as NavigationRenderingContext, u as NavigationSection, d as NavigationSectionLabel, n as NavigationState, e as NavigationStateContext, f as SubNavigation, p as SubNavigationTrigger, o as useNavigationContainer, r as useNavigationContext, t as useNavigationState };
10
+ export { s as Navigation, c as NavigationButton, i as NavigationContext, l as NavigationLink, a as NavigationRenderingContext, u as NavigationSection, d as NavigationSectionLabel, e as NavigationState, t as NavigationStateContext, f as SubNavigation, p as SubNavigationTrigger, o as useNavigationContainer, r as useNavigationContext, n as useNavigationState };
@@ -1,2 +1,35 @@
1
1
  import { Popover as AriaPopover } from 'react-aria-components';
2
- export declare const Popover: React.FC<React.ComponentPropsWithRef<typeof AriaPopover>>;
2
+ /**
3
+ * Props for the [`Popover`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Popover/Popover.tsx) component.
4
+ *
5
+ * Extends all properties from React Aria's `Popover`, including positioning (`placement`, `offset`, `crossOffset`),
6
+ * portal containers, and entry/exit transition states.
7
+ */
8
+ export interface PopoverProps extends React.ComponentPropsWithRef<typeof AriaPopover> {
9
+ }
10
+ /**
11
+ * Overlay surface container that presents content anchored to a trigger element.
12
+ *
13
+ * Built on React Aria's `Popover` with Material Design 3 surface colors, shadow elevation,
14
+ * and built-in entry/exit animations responsive to placement directions.
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * import {
19
+ * Popover,
20
+ * Button,
21
+ * DialogTrigger,
22
+ * Dialog,
23
+ * } from "@adgytec/web-ui-components";
24
+ *
25
+ * <DialogTrigger>
26
+ * <Button label="Open Popover" />
27
+ * <Popover>
28
+ * <Dialog>
29
+ * <p>This is the content inside the popover.</p>
30
+ * </Dialog>
31
+ * </Popover>
32
+ * </DialogTrigger>
33
+ * ```
34
+ */
35
+ export declare const Popover: React.FC<PopoverProps>;
@@ -1,2 +1,40 @@
1
- import { Dialog } from 'react-aria-components';
2
- export declare const BottomSheet: React.FC<React.ComponentPropsWithRef<typeof Dialog>>;
1
+ import { BottomSheetProps } from './types';
2
+ /**
3
+ * Content container for bottom sheets, conforming to
4
+ * [Material 3 Bottom Sheets](https://m3.material.io/components/bottom-sheets/overview).
5
+ *
6
+ * Renders inside a React Aria `Dialog` within `DialogContext` (value: `true`), anchoring
7
+ * content to the bottom of the viewport with responsive maximum width and height.
8
+ * Consumes {@link BottomSheetContext} to apply `data-layout` for standard or detached layouts.
9
+ *
10
+ * Configurable CSS tokens:
11
+ * - `--md-bottom-sheet-background`: Background color of the bottom sheet (`var(--md-sys-color-surface-container-low)`).
12
+ * - `--md-bottom-sheet-color`: Text color of the bottom sheet (`var(--md-sys-color-on-surface)`).
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * import { DialogTrigger } from "react-aria-components";
17
+ * import {
18
+ * BottomSheet,
19
+ * BottomSheetModal,
20
+ * Button,
21
+ * ModalOverlay,
22
+ * } from "@adgytec/web-ui-components";
23
+ *
24
+ * export function Example() {
25
+ * return (
26
+ * <DialogTrigger>
27
+ * <Button label="Open Bottom Sheet" />
28
+ * <ModalOverlay>
29
+ * <BottomSheetModal layout="standard">
30
+ * <BottomSheet>
31
+ * <p>This is the bottom sheet content.</p>
32
+ * </BottomSheet>
33
+ * </BottomSheetModal>
34
+ * </ModalOverlay>
35
+ * </DialogTrigger>
36
+ * );
37
+ * }
38
+ * ```
39
+ */
40
+ export declare const BottomSheet: React.FC<BottomSheetProps>;
@@ -1 +1,2 @@
1
1
  export * from './BottomSheet';
2
+ export type * from './types';
@@ -0,0 +1,37 @@
1
+ import { Dialog } from 'react-aria-components';
2
+ /**
3
+ * Props for the {@link BottomSheet} component.
4
+ * Extends React Aria Components `Dialog` props for bottom sheet content containers.
5
+ *
6
+ * Configurable CSS tokens:
7
+ * - `--md-bottom-sheet-background`: Background color of the bottom sheet (`var(--md-sys-color-surface-container-low)`).
8
+ * - `--md-bottom-sheet-color`: Text color of the bottom sheet (`var(--md-sys-color-on-surface)`).
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * import { DialogTrigger } from "react-aria-components";
13
+ * import {
14
+ * BottomSheet,
15
+ * BottomSheetModal,
16
+ * Button,
17
+ * ModalOverlay,
18
+ * } from "@adgytec/web-ui-components";
19
+ *
20
+ * export function Example() {
21
+ * return (
22
+ * <DialogTrigger>
23
+ * <Button label="Open Sheet" />
24
+ * <ModalOverlay>
25
+ * <BottomSheetModal layout="standard">
26
+ * <BottomSheet>
27
+ * <p>Bottom sheet content goes here.</p>
28
+ * </BottomSheet>
29
+ * </BottomSheetModal>
30
+ * </ModalOverlay>
31
+ * </DialogTrigger>
32
+ * );
33
+ * }
34
+ * ```
35
+ */
36
+ export interface BottomSheetProps extends React.ComponentPropsWithRef<typeof Dialog> {
37
+ }
@@ -1,2 +1,36 @@
1
1
  import { BottomSheetModalProps } from './types';
2
+ /**
3
+ * Modal container for a bottom sheet ({@link BottomSheet}).
4
+ *
5
+ * Implements [Material 3 Bottom Sheets](https://m3.material.io/components/bottom-sheets/overview)
6
+ * positioning and animations using React Aria Components `Modal`. Sets `data-layout` attribute
7
+ * to control slide-up entrance/exit animations and viewport margin styling, and provides layout
8
+ * configuration to children through {@link BottomSheetContext}.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * import { DialogTrigger } from "react-aria-components";
13
+ * import {
14
+ * BottomSheet,
15
+ * BottomSheetModal,
16
+ * Button,
17
+ * ModalOverlay,
18
+ * } from "@adgytec/web-ui-components";
19
+ *
20
+ * export function Example() {
21
+ * return (
22
+ * <DialogTrigger>
23
+ * <Button label="Open Bottom Sheet" />
24
+ * <ModalOverlay>
25
+ * <BottomSheetModal layout="standard">
26
+ * <BottomSheet>
27
+ * <p>This is the bottom sheet content.</p>
28
+ * </BottomSheet>
29
+ * </BottomSheetModal>
30
+ * </ModalOverlay>
31
+ * </DialogTrigger>
32
+ * );
33
+ * }
34
+ * ```
35
+ */
2
36
  export declare const BottomSheetModal: React.FC<BottomSheetModalProps>;
@@ -1,5 +1,15 @@
1
1
  import { SheetLayout } from '../core';
2
+ /**
3
+ * Context value passed from {@link BottomSheetModal} to descendant {@link BottomSheet} components.
4
+ */
2
5
  export type BottomSheetContextValue = {
6
+ /**
7
+ * Current layout style (`"standard"` or `"detached"`).
8
+ */
3
9
  layout: SheetLayout;
4
10
  };
11
+ /**
12
+ * React context providing layout configuration for bottom sheets.
13
+ * Default value is `layout: "standard"`.
14
+ */
5
15
  export declare const BottomSheetContext: import('react').Context<BottomSheetContextValue>;
@@ -1,5 +1,43 @@
1
1
  import { Modal } from 'react-aria-components';
2
2
  import { SheetLayout } from '../core';
3
+ /**
4
+ * Props for the {@link BottomSheetModal} component.
5
+ * Extends React Aria Components `Modal` props with bottom-sheet layout configurations.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import { DialogTrigger } from "react-aria-components";
10
+ * import {
11
+ * BottomSheet,
12
+ * BottomSheetModal,
13
+ * Button,
14
+ * ModalOverlay,
15
+ * } from "@adgytec/web-ui-components";
16
+ *
17
+ * export function Example() {
18
+ * return (
19
+ * <DialogTrigger>
20
+ * <Button label="Open Sheet" />
21
+ * <ModalOverlay>
22
+ * <BottomSheetModal layout="standard">
23
+ * <BottomSheet>
24
+ * <p>Bottom sheet content.</p>
25
+ * </BottomSheet>
26
+ * </BottomSheetModal>
27
+ * </ModalOverlay>
28
+ * </DialogTrigger>
29
+ * );
30
+ * }
31
+ * ```
32
+ */
3
33
  export interface BottomSheetModalProps extends React.ComponentPropsWithRef<typeof Modal> {
34
+ /**
35
+ * Layout style of the bottom sheet.
36
+ *
37
+ * - `"standard"`: Attached to the bottom edge of the viewport.
38
+ * - `"detached"`: Floating with margin and rounded corners on all edges.
39
+ *
40
+ * @default "standard"
41
+ */
4
42
  layout?: SheetLayout;
5
43
  }
@@ -1,2 +1,48 @@
1
1
  import { SideSheetProps } from './types';
2
+ /**
3
+ * High-level content container for side sheets, conforming to
4
+ * [Material 3 Side Sheets](https://m3.material.io/components/side-sheets/overview).
5
+ *
6
+ * Provides a standard structured side sheet layout containing:
7
+ * - A top header with an optional `headline` (`typography.titleLarge`) and a built-in close `IconButton` (`X`).
8
+ * - A scrollable `main` content area.
9
+ * - An optional bottom `actions` footer, automatically aligned with the sheet's alignment setting.
10
+ *
11
+ * Configurable CSS tokens:
12
+ * - `--md-side-sheet-background`: Background color of the side sheet (`var(--md-sys-color-surface-container-low)`).
13
+ * - `--md-side-sheet-color`: Text color of the side sheet (`var(--md-sys-color-on-surface)`).
14
+ * - `--md-side-sheet-headline-color`: Color of the side sheet headline (`var(--md-sys-color-on-surface-variant)`).
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * import { DialogTrigger } from "react-aria-components";
19
+ * import {
20
+ * Button,
21
+ * ModalOverlay,
22
+ * SideSheet,
23
+ * SideSheetModal,
24
+ * } from "@adgytec/web-ui-components";
25
+ *
26
+ * export function Example() {
27
+ * return (
28
+ * <DialogTrigger>
29
+ * <Button label="Open Side Sheet" />
30
+ * <ModalOverlay>
31
+ * <SideSheetModal alignment="end" layout="standard">
32
+ * <SideSheet
33
+ * headline="Side Sheet Title"
34
+ * actions={[
35
+ * <Button key="save" label="Save" onPress={() => {}} />,
36
+ * <Button key="cancel" label="Cancel" variant="outline" onPress={() => {}} />,
37
+ * ]}
38
+ * >
39
+ * <p>This is the side sheet content.</p>
40
+ * </SideSheet>
41
+ * </SideSheetModal>
42
+ * </ModalOverlay>
43
+ * </DialogTrigger>
44
+ * );
45
+ * }
46
+ * ```
47
+ */
2
48
  export declare const SideSheet: React.FC<SideSheetProps>;
@@ -1,2 +1,45 @@
1
1
  import { SideSheetDialogProps } from './types';
2
+ /**
3
+ * Low-level dialog container for side sheets, useful for custom layout structures.
4
+ *
5
+ * Consumes {@link SideSheetContext} to apply appropriate `data-alignment` and `data-layout`
6
+ * attributes for responsive positioning, border radiuses, and size constraints.
7
+ * Also provides `DialogContext` with `true` for modal integration.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { DialogTrigger, Header, Heading } from "react-aria-components";
12
+ * import {
13
+ * Button,
14
+ * IconButton,
15
+ * ModalOverlay,
16
+ * SideSheetDialog,
17
+ * SideSheetModal,
18
+ * } from "@adgytec/web-ui-components";
19
+ * import { X } from "lucide-react";
20
+ *
21
+ * export function Example() {
22
+ * return (
23
+ * <DialogTrigger>
24
+ * <Button label="Open Custom Sheet" />
25
+ * <ModalOverlay>
26
+ * <SideSheetModal alignment="end" layout="standard">
27
+ * <SideSheetDialog>
28
+ * {({ close }) => (
29
+ * <>
30
+ * <Header>
31
+ * <Heading slot="title">Custom Title</Heading>
32
+ * <IconButton icon={X} onPress={close} aria-label="Close" />
33
+ * </Header>
34
+ * <div>Custom content goes here.</div>
35
+ * </>
36
+ * )}
37
+ * </SideSheetDialog>
38
+ * </SideSheetModal>
39
+ * </ModalOverlay>
40
+ * </DialogTrigger>
41
+ * );
42
+ * }
43
+ * ```
44
+ */
2
45
  export declare const SideSheetDialog: React.FC<SideSheetDialogProps>;
@@ -1,8 +1,102 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  import { Dialog, DialogRenderProps } from 'react-aria-components';
3
+ /**
4
+ * Props for the {@link SideSheetDialog} component.
5
+ * Extends React Aria Components `Dialog` props for low-level custom side sheet layouts.
6
+ *
7
+ * Configurable CSS tokens:
8
+ * - `--md-side-sheet-background`: Background color of the side sheet (`var(--md-sys-color-surface-container-low)`).
9
+ * - `--md-side-sheet-color`: Text color of the side sheet (`var(--md-sys-color-on-surface)`).
10
+ * - `--md-side-sheet-headline-color`: Color of the side sheet headline (`var(--md-sys-color-on-surface-variant)`).
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * import { DialogTrigger, Header, Heading } from "react-aria-components";
15
+ * import {
16
+ * Button,
17
+ * IconButton,
18
+ * ModalOverlay,
19
+ * SideSheetDialog,
20
+ * SideSheetModal,
21
+ * } from "@adgytec/web-ui-components";
22
+ * import { X } from "lucide-react";
23
+ *
24
+ * export function Example() {
25
+ * return (
26
+ * <DialogTrigger>
27
+ * <Button label="Open Sheet" />
28
+ * <ModalOverlay>
29
+ * <SideSheetModal alignment="end">
30
+ * <SideSheetDialog>
31
+ * {({ close }) => (
32
+ * <>
33
+ * <Header>
34
+ * <Heading slot="title">Custom Layout</Heading>
35
+ * <IconButton icon={X} onPress={close} aria-label="Close" />
36
+ * </Header>
37
+ * <div>Content goes here</div>
38
+ * </>
39
+ * )}
40
+ * </SideSheetDialog>
41
+ * </SideSheetModal>
42
+ * </ModalOverlay>
43
+ * </DialogTrigger>
44
+ * );
45
+ * }
46
+ * ```
47
+ */
3
48
  export interface SideSheetDialogProps extends React.ComponentPropsWithRef<typeof Dialog> {
4
49
  }
50
+ /**
51
+ * Props for the {@link SideSheet} component.
52
+ * Extends React Aria Components `Dialog` props with optional headline and footer action buttons.
53
+ *
54
+ * Configurable CSS tokens:
55
+ * - `--md-side-sheet-background`: Background color of the side sheet (`var(--md-sys-color-surface-container-low)`).
56
+ * - `--md-side-sheet-color`: Text color of the side sheet (`var(--md-sys-color-on-surface)`).
57
+ * - `--md-side-sheet-headline-color`: Color of the side sheet headline (`var(--md-sys-color-on-surface-variant)`).
58
+ *
59
+ * @example
60
+ * ```tsx
61
+ * import { DialogTrigger } from "react-aria-components";
62
+ * import {
63
+ * Button,
64
+ * ModalOverlay,
65
+ * SideSheet,
66
+ * SideSheetModal,
67
+ * } from "@adgytec/web-ui-components";
68
+ *
69
+ * export function Example() {
70
+ * return (
71
+ * <DialogTrigger>
72
+ * <Button label="Open Filters" />
73
+ * <ModalOverlay>
74
+ * <SideSheetModal alignment="end" layout="standard">
75
+ * <SideSheet
76
+ * headline="Filter Items"
77
+ * actions={[
78
+ * <Button key="apply" label="Apply" onPress={() => {}} />,
79
+ * <Button key="reset" label="Reset" variant="outline" onPress={() => {}} />,
80
+ * ]}
81
+ * >
82
+ * <p>Filter options go here.</p>
83
+ * </SideSheet>
84
+ * </SideSheetModal>
85
+ * </ModalOverlay>
86
+ * </DialogTrigger>
87
+ * );
88
+ * }
89
+ * ```
90
+ */
5
91
  export interface SideSheetProps extends React.ComponentPropsWithRef<typeof Dialog> {
92
+ /**
93
+ * Optional headline text or element displayed in the side sheet header.
94
+ * Rendered inside a React Aria `Heading` using `typography.titleLarge`.
95
+ */
6
96
  headline?: ReactNode;
7
- actions?: ReactElement[] | ((renderProps: DialogRenderProps) => ReactElement[]);
97
+ /**
98
+ * Optional action buttons rendered in the bottom action bar.
99
+ * Can be an array of React nodes or a render function receiving React Aria `DialogRenderProps` (such as `close`).
100
+ */
101
+ actions?: ReactNode[] | ((renderProps: DialogRenderProps) => ReactNode[]);
8
102
  }
@@ -1,2 +1,36 @@
1
1
  import { SideSheetModalProps } from './types';
2
+ /**
3
+ * Modal container for a side sheet ({@link SideSheet} or {@link SideSheetDialog}).
4
+ *
5
+ * Implements [Material 3 Side Sheets](https://m3.material.io/components/side-sheets/overview)
6
+ * positioning and animations using React Aria Components `Modal`. Sets `data-alignment` and
7
+ * `data-layout` attributes to control entry/exit slide animations and viewport anchoring,
8
+ * and provides layout and alignment configurations to children through {@link SideSheetContext}.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * import { DialogTrigger } from "react-aria-components";
13
+ * import {
14
+ * Button,
15
+ * ModalOverlay,
16
+ * SideSheet,
17
+ * SideSheetModal,
18
+ * } from "@adgytec/web-ui-components";
19
+ *
20
+ * export function Example() {
21
+ * return (
22
+ * <DialogTrigger>
23
+ * <Button label="Open Details" />
24
+ * <ModalOverlay>
25
+ * <SideSheetModal alignment="end" layout="standard">
26
+ * <SideSheet headline="Details">
27
+ * <p>Side sheet content goes here.</p>
28
+ * </SideSheet>
29
+ * </SideSheetModal>
30
+ * </ModalOverlay>
31
+ * </DialogTrigger>
32
+ * );
33
+ * }
34
+ * ```
35
+ */
2
36
  export declare const SideSheetModal: React.FC<SideSheetModalProps>;
@@ -1,7 +1,20 @@
1
1
  import { SheetLayout } from '../core';
2
2
  import { SideSheetAlignment } from './types';
3
+ /**
4
+ * Context value passed from {@link SideSheetModal} to descendant side sheet components like {@link SideSheetDialog} and {@link SideSheet}.
5
+ */
3
6
  export type SideSheetContextValue = {
7
+ /**
8
+ * Current layout style (`"standard"` or `"detached"`).
9
+ */
4
10
  layout: SheetLayout;
11
+ /**
12
+ * Current alignment edge (`"start"` or `"end"`).
13
+ */
5
14
  alignment: SideSheetAlignment;
6
15
  };
16
+ /**
17
+ * React context providing layout and alignment properties for side sheets.
18
+ * Default values are `layout: "standard"` and `alignment: "end"`.
19
+ */
7
20
  export declare const SideSheetContext: import('react').Context<SideSheetContextValue>;