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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (557) hide show
  1. package/README.md +27 -16
  2. package/dist/App.d.ts +0 -1
  3. package/dist/assets/BottomSheetModal.css +1 -1
  4. package/dist/assets/Card.css +1 -1
  5. package/dist/assets/Input.css +1 -1
  6. package/dist/assets/ListItem.css +1 -1
  7. package/dist/assets/Radio.css +1 -1
  8. package/dist/assets/SideSheetModal.css +1 -1
  9. package/dist/assets/Switch.css +1 -1
  10. package/dist/assets/ThemeSelector.css +1 -1
  11. package/dist/assets/core7.css +1 -1
  12. package/dist/chunks/ActionDialog +0 -1
  13. package/dist/chunks/ActionDialog.map +1 -1
  14. package/dist/chunks/AppBar +0 -1
  15. package/dist/chunks/AppBar.map +1 -1
  16. package/dist/chunks/AppBarAction +0 -1
  17. package/dist/chunks/AppBarAction.map +1 -1
  18. package/dist/chunks/AppBarAvatar +1 -2
  19. package/dist/chunks/AppBarAvatar.map +1 -1
  20. package/dist/chunks/AppBarHeadline +1 -2
  21. package/dist/chunks/AppBarHeadline.map +1 -1
  22. package/dist/chunks/BaseCalendar +2 -11
  23. package/dist/chunks/BaseCalendar.map +1 -1
  24. package/dist/chunks/BottomSheet +1 -2
  25. package/dist/chunks/BottomSheet.map +1 -1
  26. package/dist/chunks/BottomSheetModal +1 -2
  27. package/dist/chunks/BottomSheetModal.map +1 -1
  28. package/dist/chunks/ButtonGroup +1 -2
  29. package/dist/chunks/ButtonGroup.map +1 -1
  30. package/dist/chunks/CalendarCell +0 -1
  31. package/dist/chunks/CalendarCell.map +1 -1
  32. package/dist/chunks/CalendarGrid +1 -2
  33. package/dist/chunks/CalendarGrid.map +1 -1
  34. package/dist/chunks/CalendarMenuItem +1 -2
  35. package/dist/chunks/CalendarMenuItem.map +1 -1
  36. package/dist/chunks/Card +4 -5
  37. package/dist/chunks/Card.map +1 -1
  38. package/dist/chunks/CardIcon +1 -2
  39. package/dist/chunks/CardIcon.map +1 -1
  40. package/dist/chunks/CenteredSlider +1 -2
  41. package/dist/chunks/CenteredSlider.map +1 -1
  42. package/dist/chunks/ComboBox +1 -2
  43. package/dist/chunks/ComboBox.map +1 -1
  44. package/dist/chunks/ComboBoxPopover +0 -1
  45. package/dist/chunks/ComboBoxPopover.map +1 -1
  46. package/dist/chunks/ComboBoxTrigger +182 -200
  47. package/dist/chunks/ComboBoxTrigger.map +1 -1
  48. package/dist/chunks/ConnectedButtonGroup +0 -1
  49. package/dist/chunks/ConnectedButtonGroup.map +1 -1
  50. package/dist/chunks/Dialog +1 -2
  51. package/dist/chunks/Dialog.map +1 -1
  52. package/dist/chunks/Disclosure +1 -2
  53. package/dist/chunks/Disclosure.map +1 -1
  54. package/dist/chunks/DisclosureGroup +1 -2
  55. package/dist/chunks/DisclosureGroup.map +1 -1
  56. package/dist/chunks/DisclosureHeader +1 -2
  57. package/dist/chunks/DisclosureHeader.map +1 -1
  58. package/dist/chunks/DisclosurePanel +1 -2
  59. package/dist/chunks/DisclosurePanel.map +1 -1
  60. package/dist/chunks/Divider +1 -2
  61. package/dist/chunks/Divider.map +1 -1
  62. package/dist/chunks/FieldError +1 -2
  63. package/dist/chunks/FieldError.map +1 -1
  64. package/dist/chunks/GridBackgroundDecorator +0 -1
  65. package/dist/chunks/GridBackgroundDecorator.map +1 -1
  66. package/dist/chunks/Icon +1 -2
  67. package/dist/chunks/Icon.map +1 -1
  68. package/dist/chunks/Input +67 -78
  69. package/dist/chunks/Input.map +1 -1
  70. package/dist/chunks/Input2 +4 -8
  71. package/dist/chunks/Input2.map +1 -1
  72. package/dist/chunks/ListAction +0 -1
  73. package/dist/chunks/ListAction.map +1 -1
  74. package/dist/chunks/ListAvatar +1 -2
  75. package/dist/chunks/ListAvatar.map +1 -1
  76. package/dist/chunks/ListBox +12 -9
  77. package/dist/chunks/ListBox.map +1 -1
  78. package/dist/chunks/ListIcon +1 -2
  79. package/dist/chunks/ListIcon.map +1 -1
  80. package/dist/chunks/ListItem +62 -49
  81. package/dist/chunks/ListItem.map +1 -1
  82. package/dist/chunks/ListLabelText +1 -2
  83. package/dist/chunks/ListLabelText.map +1 -1
  84. package/dist/chunks/ListMedia +0 -1
  85. package/dist/chunks/ListMedia.map +1 -1
  86. package/dist/chunks/ListOverlineText +1 -2
  87. package/dist/chunks/ListOverlineText.map +1 -1
  88. package/dist/chunks/ListSupportingText +1 -2
  89. package/dist/chunks/ListSupportingText.map +1 -1
  90. package/dist/chunks/ListTrailingText +1 -2
  91. package/dist/chunks/ListTrailingText.map +1 -1
  92. package/dist/chunks/Loader +1 -2
  93. package/dist/chunks/Loader.map +1 -1
  94. package/dist/chunks/MenuPopover +1 -2
  95. package/dist/chunks/MenuPopover.map +1 -1
  96. package/dist/chunks/Modal +1 -2
  97. package/dist/chunks/Modal.map +1 -1
  98. package/dist/chunks/ModalOverlay +1 -2
  99. package/dist/chunks/ModalOverlay.map +1 -1
  100. package/dist/chunks/Navigation +2 -4
  101. package/dist/chunks/Navigation.map +1 -1
  102. package/dist/chunks/NavigationScrollContainer +2 -4
  103. package/dist/chunks/NavigationScrollContainer.map +1 -1
  104. package/dist/chunks/NavigationSection +1 -2
  105. package/dist/chunks/NavigationSection.map +1 -1
  106. package/dist/chunks/NavigationSectionLabel +1 -2
  107. package/dist/chunks/NavigationSectionLabel.map +1 -1
  108. package/dist/chunks/Popover +1 -2
  109. package/dist/chunks/Popover.map +1 -1
  110. package/dist/chunks/RadialGlowDecorator +0 -1
  111. package/dist/chunks/RadialGlowDecorator.map +1 -1
  112. package/dist/chunks/Radio +57 -70
  113. package/dist/chunks/Radio.map +1 -1
  114. package/dist/chunks/RichTooltip +1 -2
  115. package/dist/chunks/RichTooltip.map +1 -1
  116. package/dist/chunks/RichTooltipActions +1 -2
  117. package/dist/chunks/RichTooltipActions.map +1 -1
  118. package/dist/chunks/RichTooltipInfo +1 -2
  119. package/dist/chunks/RichTooltipInfo.map +1 -1
  120. package/dist/chunks/SearchField +0 -1
  121. package/dist/chunks/SearchField.map +1 -1
  122. package/dist/chunks/SelectPopover +1 -2
  123. package/dist/chunks/SelectPopover.map +1 -1
  124. package/dist/chunks/SelectTrigger +1 -2
  125. package/dist/chunks/SelectTrigger.map +1 -1
  126. package/dist/chunks/SideSheet +1 -2
  127. package/dist/chunks/SideSheet.map +1 -1
  128. package/dist/chunks/SideSheetModal +2 -3
  129. package/dist/chunks/SideSheetModal.map +1 -1
  130. package/dist/chunks/Slider +0 -1
  131. package/dist/chunks/Slider.map +1 -1
  132. package/dist/chunks/SliderOutput +1 -2
  133. package/dist/chunks/SliderOutput.map +1 -1
  134. package/dist/chunks/SliderStops +1 -2
  135. package/dist/chunks/SliderStops.map +1 -1
  136. package/dist/chunks/SliderThumb +0 -1
  137. package/dist/chunks/SliderThumb.map +1 -1
  138. package/dist/chunks/Snackbar +1 -2
  139. package/dist/chunks/Snackbar.map +1 -1
  140. package/dist/chunks/SplitButton +1 -2
  141. package/dist/chunks/SplitButton.map +1 -1
  142. package/dist/chunks/SplitButtonTrigger +1 -2
  143. package/dist/chunks/SplitButtonTrigger.map +1 -1
  144. package/dist/chunks/SubmenuPopover +0 -1
  145. package/dist/chunks/SubmenuPopover.map +1 -1
  146. package/dist/chunks/Switch +47 -48
  147. package/dist/chunks/Switch.map +1 -1
  148. package/dist/chunks/Tab +1 -2
  149. package/dist/chunks/Tab.map +1 -1
  150. package/dist/chunks/TabList +1 -2
  151. package/dist/chunks/TabList.map +1 -1
  152. package/dist/chunks/TabPanel +1 -2
  153. package/dist/chunks/TabPanel.map +1 -1
  154. package/dist/chunks/TabPanels +1 -2
  155. package/dist/chunks/TabPanels.map +1 -1
  156. package/dist/chunks/Tabs +1 -2
  157. package/dist/chunks/Tabs.map +1 -1
  158. package/dist/chunks/Tag +1 -2
  159. package/dist/chunks/Tag.map +1 -1
  160. package/dist/chunks/ThemeSelector +109 -85
  161. package/dist/chunks/ThemeSelector.map +1 -1
  162. package/dist/chunks/Toolbar +0 -1
  163. package/dist/chunks/Toolbar.map +1 -1
  164. package/dist/chunks/Tooltip +0 -1
  165. package/dist/chunks/Tooltip.map +1 -1
  166. package/dist/chunks/base +1 -2
  167. package/dist/chunks/compiler-runtime +2 -3
  168. package/dist/chunks/context +1 -2
  169. package/dist/chunks/core +3 -6
  170. package/dist/chunks/core.map +1 -1
  171. package/dist/chunks/core2 +0 -1
  172. package/dist/chunks/core2.map +1 -1
  173. package/dist/chunks/core3 +2 -5
  174. package/dist/chunks/core3.map +1 -1
  175. package/dist/chunks/core4 +0 -1
  176. package/dist/chunks/core4.map +1 -1
  177. package/dist/chunks/core5 +0 -1
  178. package/dist/chunks/core5.map +1 -1
  179. package/dist/chunks/core6 +9 -10
  180. package/dist/chunks/core6.map +1 -1
  181. package/dist/chunks/core7 +2 -5
  182. package/dist/chunks/core7.map +1 -1
  183. package/dist/chunks/core8 +1 -3
  184. package/dist/chunks/core8.map +1 -1
  185. package/dist/chunks/core9 +0 -1
  186. package/dist/chunks/core9.map +1 -1
  187. package/dist/chunks/navContext +1 -2
  188. package/dist/chunks/navContext.map +1 -1
  189. package/dist/chunks/tapTarget +0 -1
  190. package/dist/chunks/tapTarget.map +1 -1
  191. package/dist/chunks/types +1 -2
  192. package/dist/chunks/useHover +187 -225
  193. package/dist/chunks/useHover.map +1 -1
  194. package/dist/chunks/useSplash +1 -2
  195. package/dist/chunks/useSplash.map +1 -1
  196. package/dist/components/AppBar/AppBar/index.js +1 -2
  197. package/dist/components/AppBar/AppBarAction/index.js +1 -2
  198. package/dist/components/AppBar/AppBarAvatar/index.js +1 -2
  199. package/dist/components/AppBar/AppBarHeadline/index.js +1 -2
  200. package/dist/components/AppBar/AppBarState/index.js +2 -4
  201. package/dist/components/AppBar/AppBarState/index.js.map +1 -1
  202. package/dist/components/AppBar/core/index.js +2 -4
  203. package/dist/components/AppBar/core/index.js.map +1 -1
  204. package/dist/components/Button/Button/index.js +1 -2
  205. package/dist/components/Button/Button/index.js.map +1 -1
  206. package/dist/components/Button/ButtonGroups/ButtonGroup/index.js +1 -2
  207. package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js +3 -6
  208. package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js.map +1 -1
  209. package/dist/components/Button/ButtonGroups/ConnectedButton/index.js +1 -2
  210. package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/index.js +1 -2
  211. package/dist/components/Button/IconButton/index.js +1 -2
  212. package/dist/components/Button/LinkButton/index.js +1 -2
  213. package/dist/components/Button/LinkButton/index.js.map +1 -1
  214. package/dist/components/Button/LinkIconButton/index.js +1 -2
  215. package/dist/components/Button/SplitButton/SplitButton/index.js +1 -2
  216. package/dist/components/Button/SplitButton/SplitButtonContext/index.js +2 -4
  217. package/dist/components/Button/SplitButton/SplitButtonContext/index.js.map +1 -1
  218. package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +1 -2
  219. package/dist/components/Button/SplitButton/SplitButtonTrigger/index.js +1 -2
  220. package/dist/components/Button/SplitButton/core/index.js +1 -2
  221. package/dist/components/Button/ToggleButton/index.js +1 -2
  222. package/dist/components/Button/ToggleButton/index.js.map +1 -1
  223. package/dist/components/Button/ToggleIconButton/index.js +1 -2
  224. package/dist/components/Button/core/index.js +1 -2
  225. package/dist/components/Calendar/BaseCalendar/index.js +1 -2
  226. package/dist/components/Calendar/Calendar/index.js +1 -2
  227. package/dist/components/Calendar/Calendar/index.js.map +1 -1
  228. package/dist/components/Calendar/CalendarCell/index.js +1 -2
  229. package/dist/components/Calendar/CalendarGrid/index.js +1 -2
  230. package/dist/components/Calendar/CalendarMenuItem/index.js +1 -2
  231. package/dist/components/Calendar/CalendarMonthMenu/index.js +1 -2
  232. package/dist/components/Calendar/CalendarMonthMenu/index.js.map +1 -1
  233. package/dist/components/Calendar/CalendarYearMenu/index.js +1 -2
  234. package/dist/components/Calendar/CalendarYearMenu/index.js.map +1 -1
  235. package/dist/components/Calendar/RangeCalendar/index.js +1 -2
  236. package/dist/components/Calendar/RangeCalendar/index.js.map +1 -1
  237. package/dist/components/Calendar/core/index.js +1 -2
  238. package/dist/components/Card/CardIcon/index.js +1 -2
  239. package/dist/components/Decorators/GridBackgroundDecorator/index.js +1 -2
  240. package/dist/components/Decorators/RadialGlowDecorator/index.js +1 -2
  241. package/dist/components/Dialog/ActionDialog/index.js +1 -2
  242. package/dist/components/Dialog/Dialog/index.js +1 -2
  243. package/dist/components/Dialog/Modal/index.js +1 -2
  244. package/dist/components/Dialog/ModalOverlay/index.js +1 -2
  245. package/dist/components/Dialog/core/index.js +2 -4
  246. package/dist/components/Dialog/core/index.js.map +1 -1
  247. package/dist/components/Disclosure/Disclosure/index.js +1 -2
  248. package/dist/components/Disclosure/DisclosureGroup/index.js +1 -2
  249. package/dist/components/Disclosure/DisclosureHeader/index.js +1 -2
  250. package/dist/components/Disclosure/DisclosurePanel/index.js +1 -2
  251. package/dist/components/Disclosure/context/index.js +1 -2
  252. package/dist/components/Disclosure/context/index.js.map +1 -1
  253. package/dist/components/Divider/index.js +1 -2
  254. package/dist/components/Icon/index.js +1 -2
  255. package/dist/components/Input/CharacterCount/index.js +1 -2
  256. package/dist/components/Input/CharacterCount/index.js.map +1 -1
  257. package/dist/components/Input/Checkbox/Checkbox.d.ts +14 -3
  258. package/dist/components/Input/Checkbox/CheckboxGroup.d.ts +3 -3
  259. package/dist/components/Input/Checkbox/context.d.ts +2 -4
  260. package/dist/components/Input/Checkbox/types.d.ts +11 -26
  261. package/dist/components/Input/DateField/index.js +1 -2
  262. package/dist/components/Input/DatePicker/DatePicker/index.js +1 -2
  263. package/dist/components/Input/DatePicker/DateRangePicker/index.js +1 -2
  264. package/dist/components/Input/DatePicker/core/index.js +1 -2
  265. package/dist/components/Input/Description/index.js +1 -2
  266. package/dist/components/Input/Description/index.js.map +1 -1
  267. package/dist/components/Input/FieldError/index.js +1 -2
  268. package/dist/components/Input/Input/index.js +1 -2
  269. package/dist/components/Input/Label/index.js +1 -2
  270. package/dist/components/Input/Label/index.js.map +1 -1
  271. package/dist/components/Input/Radio/Radio.d.ts +5 -4
  272. package/dist/components/Input/Radio/RadioGroup.d.ts +2 -2
  273. package/dist/components/Input/Radio/context.d.ts +2 -4
  274. package/dist/components/Input/Radio/index.js +1 -2
  275. package/dist/components/Input/Radio/types.d.ts +11 -25
  276. package/dist/components/Input/SearchField/index.js +1 -2
  277. package/dist/components/Input/Select/ComboBox/index.js +1 -2
  278. package/dist/components/Input/Select/ComboBoxPopover/index.js +1 -2
  279. package/dist/components/Input/Select/ComboBoxTrigger/index.js +1 -2
  280. package/dist/components/Input/Select/Select/index.js +1 -2
  281. package/dist/components/Input/Select/SelectItem/index.js +1 -2
  282. package/dist/components/Input/Select/SelectList/index.js +1 -2
  283. package/dist/components/Input/Select/SelectListSection/index.js +1 -2
  284. package/dist/components/Input/Select/SelectListSection/index.js.map +1 -1
  285. package/dist/components/Input/Select/SelectListSectionHeader/index.js +1 -2
  286. package/dist/components/Input/Select/SelectListSectionHeader/index.js.map +1 -1
  287. package/dist/components/Input/Select/SelectPopover/index.js +1 -2
  288. package/dist/components/Input/Select/SelectTrigger/index.js +1 -2
  289. package/dist/components/Input/Slider/CenteredSlider/index.js +1 -2
  290. package/dist/components/Input/Slider/CenteredSlider/types.d.ts +1 -1
  291. package/dist/components/Input/Slider/RangeSlider/RangeSlider.d.ts +1 -1
  292. package/dist/components/Input/Slider/RangeSlider/index.js +1 -2
  293. package/dist/components/Input/Slider/RangeSlider/index.js.map +1 -1
  294. package/dist/components/Input/Slider/RangeSlider/types.d.ts +1 -1
  295. package/dist/components/Input/Slider/Slider/Slider.d.ts +1 -1
  296. package/dist/components/Input/Slider/Slider/index.js +1 -2
  297. package/dist/components/Input/Slider/Slider/types.d.ts +1 -1
  298. package/dist/components/Input/Slider/SliderOutput/SliderOutput.d.ts +2 -2
  299. package/dist/components/Input/Slider/SliderOutput/index.js +1 -2
  300. package/dist/components/Input/Slider/SliderStops/index.js +1 -2
  301. package/dist/components/Input/Slider/SliderStops/types.d.ts +1 -1
  302. package/dist/components/Input/Slider/SliderThumb/SliderThumb.d.ts +2 -2
  303. package/dist/components/Input/Slider/SliderThumb/context.d.ts +2 -2
  304. package/dist/components/Input/Slider/SliderThumb/index.js +1 -2
  305. package/dist/components/Input/Slider/core/index.js +1 -2
  306. package/dist/components/Input/Slider/core/slider.d.ts +3 -3
  307. package/dist/components/Input/Switch/Switch.d.ts +20 -3
  308. package/dist/components/Input/Switch/index.js +1 -2
  309. package/dist/components/Input/Switch/types.d.ts +11 -12
  310. package/dist/components/Input/TextArea/index.js +1 -2
  311. package/dist/components/Input/TimeField/index.js +1 -2
  312. package/dist/components/Input/core/index.js +1 -2
  313. package/dist/components/Input/hooks/index.js +1 -2
  314. package/dist/components/List/ListAction/ListAction.d.ts +2 -2
  315. package/dist/components/List/ListAction/index.js +1 -2
  316. package/dist/components/List/ListAvatar/ListAvatar.d.ts +2 -2
  317. package/dist/components/List/ListAvatar/index.js +1 -2
  318. package/dist/components/List/ListBox/ListBox.d.ts +3 -3
  319. package/dist/components/List/ListBox/index.js +1 -2
  320. package/dist/components/List/ListBox/types.d.ts +14 -2
  321. package/dist/components/List/ListIcon/ListIcon.d.ts +2 -2
  322. package/dist/components/List/ListIcon/index.js +1 -2
  323. package/dist/components/List/ListItem/ListItem.d.ts +2 -1
  324. package/dist/components/List/ListItem/index.js +1 -2
  325. package/dist/components/List/ListItem/types.d.ts +17 -4
  326. package/dist/components/List/ListLabelText/ListLabelText.d.ts +2 -2
  327. package/dist/components/List/ListLabelText/index.js +1 -2
  328. package/dist/components/List/ListMedia/ListMedia.d.ts +1 -1
  329. package/dist/components/List/ListMedia/index.js +1 -2
  330. package/dist/components/List/ListMedia/types.d.ts +2 -2
  331. package/dist/components/List/ListOverlineText/ListOverlineText.d.ts +2 -2
  332. package/dist/components/List/ListOverlineText/index.js +1 -2
  333. package/dist/components/List/ListSupportingText/ListSupportingText.d.ts +2 -2
  334. package/dist/components/List/ListSupportingText/index.js +1 -2
  335. package/dist/components/List/ListTrailingText/ListTrailingText.d.ts +2 -2
  336. package/dist/components/List/ListTrailingText/index.js +1 -2
  337. package/dist/components/List/core/context.d.ts +18 -0
  338. package/dist/components/List/core/index.d.ts +2 -0
  339. package/dist/components/List/core/index.js +9 -0
  340. package/dist/components/List/core/index.js.map +1 -0
  341. package/dist/components/List/core/selectionIndicator.d.ts +8 -0
  342. package/dist/components/List/index.d.ts +1 -0
  343. package/dist/components/List/index.js +12 -11
  344. package/dist/components/Loader/Loader.d.ts +2 -2
  345. package/dist/components/Loader/index.js +1 -2
  346. package/dist/components/Menu/Menu/index.js +1 -2
  347. package/dist/components/Menu/Menu/index.js.map +1 -1
  348. package/dist/components/Menu/Menu/types.d.ts +3 -3
  349. package/dist/components/Menu/MenuItem/MenuItem.d.ts +2 -2
  350. package/dist/components/Menu/MenuItem/index.js +1 -2
  351. package/dist/components/Menu/MenuItem/index.js.map +1 -1
  352. package/dist/components/Menu/MenuItem/types.d.ts +3 -3
  353. package/dist/components/Menu/MenuPopover/MenuPopover.d.ts +3 -3
  354. package/dist/components/Menu/MenuPopover/index.js +1 -2
  355. package/dist/components/Menu/MenuSection/MenuSection.d.ts +4 -4
  356. package/dist/components/Menu/MenuSection/index.js +1 -2
  357. package/dist/components/Menu/MenuSection/index.js.map +1 -1
  358. package/dist/components/Menu/MenuSectionHeader/MenuSectionHeader.d.ts +2 -2
  359. package/dist/components/Menu/MenuSectionHeader/index.js +1 -2
  360. package/dist/components/Menu/MenuSectionHeader/index.js.map +1 -1
  361. package/dist/components/Menu/MenuShortcut/MenuShortcut.d.ts +2 -2
  362. package/dist/components/Menu/MenuShortcut/index.js +1 -2
  363. package/dist/components/Menu/MenuShortcut/index.js.map +1 -1
  364. package/dist/components/Menu/MenuTrailingText/MenuTrailingText.d.ts +2 -2
  365. package/dist/components/Menu/MenuTrailingText/index.js +1 -2
  366. package/dist/components/Menu/MenuTrailingText/index.js.map +1 -1
  367. package/dist/components/Menu/MenuTrigger/MenuTrigger.d.ts +3 -3
  368. package/dist/components/Menu/MenuTrigger/index.js +1 -2
  369. package/dist/components/Menu/MenuTrigger/index.js.map +1 -1
  370. package/dist/components/Menu/SubmenuPopover/SubmenuPopover.d.ts +1 -1
  371. package/dist/components/Menu/SubmenuPopover/index.js +1 -2
  372. package/dist/components/Menu/context/context.d.ts +1 -1
  373. package/dist/components/Menu/context/index.js +2 -4
  374. package/dist/components/Menu/context/index.js.map +1 -1
  375. package/dist/components/Menu/context/useMenuConfigContext.d.ts +1 -1
  376. package/dist/components/Menu/core/color.d.ts +1 -1
  377. package/dist/components/Menu/core/index.js +1 -2
  378. package/dist/components/Menu/core/layout.d.ts +1 -1
  379. package/dist/components/Navigation/Navigation/Navigation.d.ts +1 -1
  380. package/dist/components/Navigation/Navigation/navContext.d.ts +1 -1
  381. package/dist/components/Navigation/Navigation/navRenderingContext.d.ts +2 -2
  382. package/dist/components/Navigation/Navigation/types.d.ts +3 -3
  383. package/dist/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +1 -1
  384. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js +1 -2
  385. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -1
  386. package/dist/components/Navigation/NavigationItem/NavigationButton/types.d.ts +2 -2
  387. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +1 -1
  388. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js +1 -2
  389. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -1
  390. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js +1 -2
  391. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -1
  392. package/dist/components/Navigation/NavigationItem/NavigationLink/types.d.ts +2 -2
  393. package/dist/components/Navigation/NavigationItem/core/index.js +1 -2
  394. package/dist/components/Navigation/NavigationItem/core/navigationItem.d.ts +2 -2
  395. package/dist/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +2 -2
  396. package/dist/components/Navigation/NavigationScrollContainer/index.js +1 -2
  397. package/dist/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +1 -1
  398. package/dist/components/Navigation/NavigationSection/NavigationSection/index.js +1 -2
  399. package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +2 -2
  400. package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/index.js +1 -2
  401. package/dist/components/Navigation/NavigationState/NavigationState.d.ts +2 -2
  402. package/dist/components/Navigation/NavigationState/context.d.ts +2 -2
  403. package/dist/components/Navigation/NavigationState/index.js +2 -4
  404. package/dist/components/Navigation/NavigationState/index.js.map +1 -1
  405. package/dist/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +2 -2
  406. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +1 -2
  407. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -1
  408. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +3 -3
  409. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +1 -2
  410. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -1
  411. package/dist/components/Navigation/core/index.js +1 -2
  412. package/dist/components/Navigation/core/navigation.d.ts +2 -2
  413. package/dist/components/Navigation/core/navigationInfo.d.ts +2 -2
  414. package/dist/components/Popover/Popover.d.ts +1 -1
  415. package/dist/components/Popover/index.js +1 -2
  416. package/dist/components/Sheets/BottomSheet/BottomSheet/index.d.ts +2 -0
  417. package/dist/components/Sheets/BottomSheet/BottomSheet/index.js +1 -0
  418. package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/context.d.ts +1 -1
  419. package/dist/components/Sheets/BottomSheet/BottomSheetModal/index.js +1 -0
  420. package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/types.d.ts +1 -1
  421. package/dist/components/Sheets/BottomSheet/index.d.ts +1 -1
  422. package/dist/components/Sheets/BottomSheet/index.js +3 -2
  423. package/dist/components/Sheets/SideSheet/SideSheet/index.d.ts +3 -0
  424. package/dist/components/Sheets/SideSheet/SideSheet/index.js +1 -0
  425. package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/context.d.ts +1 -1
  426. package/dist/components/Sheets/SideSheet/SideSheetModal/index.js +1 -0
  427. package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/types.d.ts +1 -1
  428. package/dist/components/Sheets/SideSheet/index.d.ts +1 -2
  429. package/dist/components/Sheets/SideSheet/index.js +3 -2
  430. package/dist/components/Sheets/index.d.ts +0 -2
  431. package/dist/components/Snackbar/index.js +1 -2
  432. package/dist/components/Splash/index.js +1 -2
  433. package/dist/components/Tabs/Tab/index.js +1 -2
  434. package/dist/components/Tabs/TabList/index.js +1 -2
  435. package/dist/components/Tabs/TabPanel/index.js +1 -2
  436. package/dist/components/Tabs/TabPanels/index.js +1 -2
  437. package/dist/components/Tabs/Tabs/index.js +1 -2
  438. package/dist/components/Tag/index.js +1 -2
  439. package/dist/components/ThemeSelector/ThemeItem.d.ts +7 -1
  440. package/dist/components/ThemeSelector/ThemeSelector.d.ts +2 -2
  441. package/dist/components/ThemeSelector/core.d.ts +21 -11
  442. package/dist/components/ThemeSelector/index.js +1 -2
  443. package/dist/components/ThemeSelector/types.d.ts +41 -0
  444. package/dist/components/Toolbar/index.js +1 -2
  445. package/dist/components/Tooltip/RichTooltip/RichTooltip/RichTooltip.d.ts +4 -4
  446. package/dist/components/Tooltip/RichTooltip/RichTooltip/index.js +1 -2
  447. package/dist/components/Tooltip/RichTooltip/RichTooltipActions/index.js +1 -2
  448. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/index.js +1 -2
  449. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js +1 -2
  450. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js.map +1 -1
  451. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js +1 -2
  452. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js.map +1 -1
  453. package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/RichTooltipTrigger.d.ts +53 -0
  454. package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.d.ts +1 -0
  455. package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.js +11 -0
  456. package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.js.map +1 -0
  457. package/dist/components/Tooltip/RichTooltip/index.d.ts +1 -0
  458. package/dist/components/Tooltip/RichTooltip/index.js +2 -1
  459. package/dist/components/Tooltip/Tooltip/index.js +1 -2
  460. package/dist/components/Tooltip/TooltipTrigger/index.js +1 -2
  461. package/dist/components/Tooltip/index.js +4 -3
  462. package/dist/index.js +111 -111
  463. package/dist/index.js.map +1 -1
  464. package/dist/preview/AppBar/AppBar.d.ts +2 -0
  465. package/dist/preview/AppBar/index.d.ts +1 -0
  466. package/dist/preview/BottomSheet/BottomSheet.d.ts +6 -0
  467. package/dist/preview/BottomSheet/index.d.ts +1 -0
  468. package/dist/preview/Button/Button.d.ts +2 -0
  469. package/dist/preview/Button/index.d.ts +1 -0
  470. package/dist/preview/ButtonGroup/ButtonGroup.d.ts +2 -0
  471. package/dist/preview/ButtonGroup/index.d.ts +1 -0
  472. package/dist/preview/Calendar/Calendar.d.ts +2 -0
  473. package/dist/preview/Calendar/index.d.ts +1 -0
  474. package/dist/preview/Card/Card.d.ts +2 -0
  475. package/dist/preview/Card/index.d.ts +1 -0
  476. package/dist/preview/CenteredSlider/CenteredSlider.d.ts +2 -0
  477. package/dist/preview/CenteredSlider/index.d.ts +1 -0
  478. package/dist/preview/Checkbox/Checkbox.d.ts +2 -0
  479. package/dist/preview/Checkbox/index.d.ts +1 -0
  480. package/dist/preview/Config/Config.d.ts +8 -0
  481. package/dist/preview/Config/index.d.ts +1 -0
  482. package/dist/preview/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +2 -0
  483. package/dist/preview/ConnectedButtonGroup/index.d.ts +1 -0
  484. package/dist/preview/DateField/DateField.d.ts +6 -0
  485. package/dist/preview/DateField/index.d.ts +1 -0
  486. package/dist/preview/DatePicker/DatePicker.d.ts +2 -0
  487. package/dist/preview/DatePicker/index.d.ts +1 -0
  488. package/dist/preview/DateRangePicker/DateRangePicker.d.ts +2 -0
  489. package/dist/preview/DateRangePicker/index.d.ts +1 -0
  490. package/dist/preview/Decorators/Decorators.d.ts +2 -0
  491. package/dist/preview/Decorators/index.d.ts +1 -0
  492. package/dist/preview/Dialog/Dialog.d.ts +2 -0
  493. package/dist/preview/Dialog/index.d.ts +1 -0
  494. package/dist/preview/Disclosure/Disclosure.d.ts +2 -0
  495. package/dist/preview/Disclosure/index.d.ts +1 -0
  496. package/dist/preview/Gradients/Gradients.d.ts +6 -0
  497. package/dist/preview/Gradients/index.d.ts +1 -0
  498. package/dist/preview/Icon/Icon.d.ts +2 -0
  499. package/dist/preview/Icon/index.d.ts +1 -0
  500. package/dist/preview/IconButton/IconButton.d.ts +2 -0
  501. package/dist/preview/IconButton/index.d.ts +1 -0
  502. package/dist/preview/Input/Input.d.ts +6 -0
  503. package/dist/preview/Input/index.d.ts +1 -0
  504. package/dist/preview/Link/Link.d.ts +2 -0
  505. package/dist/preview/Link/index.d.ts +1 -0
  506. package/dist/preview/List/List.d.ts +2 -0
  507. package/dist/preview/List/index.d.ts +1 -0
  508. package/dist/preview/Menu/Menu.d.ts +3 -0
  509. package/dist/preview/Menu/index.d.ts +1 -0
  510. package/dist/preview/Navigation/Navigation.d.ts +3 -0
  511. package/dist/preview/Navigation/index.d.ts +1 -0
  512. package/dist/preview/Radio/Radio.d.ts +2 -0
  513. package/dist/preview/Radio/index.d.ts +1 -0
  514. package/dist/preview/RangeCalendar/RangeCalendar.d.ts +2 -0
  515. package/dist/preview/RangeCalendar/index.d.ts +1 -0
  516. package/dist/preview/RangeSlider/RangeSlider.d.ts +2 -0
  517. package/dist/preview/RangeSlider/index.d.ts +1 -0
  518. package/dist/preview/SearchField/SearchField.d.ts +2 -0
  519. package/dist/preview/SearchField/index.d.ts +1 -0
  520. package/dist/preview/Select/Select.d.ts +2 -0
  521. package/dist/preview/Select/index.d.ts +1 -0
  522. package/dist/preview/SideSheet/SideSheet.d.ts +7 -0
  523. package/dist/preview/SideSheet/index.d.ts +1 -0
  524. package/dist/preview/Slider/Slider.d.ts +2 -0
  525. package/dist/preview/Slider/index.d.ts +1 -0
  526. package/dist/preview/Snackbar/Snackbar.d.ts +2 -0
  527. package/dist/preview/Snackbar/index.d.ts +1 -0
  528. package/dist/preview/SplitButton/SplitButton.d.ts +10 -0
  529. package/dist/preview/SplitButton/index.d.ts +1 -0
  530. package/dist/preview/Switch/Switch.d.ts +2 -0
  531. package/dist/preview/Switch/index.d.ts +1 -0
  532. package/dist/preview/Tabs/Tabs.d.ts +7 -0
  533. package/dist/preview/Tabs/index.d.ts +1 -0
  534. package/dist/preview/Tags/Tags.d.ts +2 -0
  535. package/dist/preview/Tags/index.d.ts +1 -0
  536. package/dist/preview/TextArea/TextArea.d.ts +6 -0
  537. package/dist/preview/TextArea/index.d.ts +1 -0
  538. package/dist/preview/ThemeSelector/ThemeSelector.d.ts +2 -0
  539. package/dist/preview/ThemeSelector/index.d.ts +1 -0
  540. package/dist/preview/TimeField/TimeField.d.ts +6 -0
  541. package/dist/preview/TimeField/index.d.ts +1 -0
  542. package/dist/preview/Toolbar/Toolbar.d.ts +10 -0
  543. package/dist/preview/Toolbar/index.d.ts +1 -0
  544. package/dist/preview/Tooltip/Tooltip.d.ts +2 -0
  545. package/dist/preview/Tooltip/index.d.ts +1 -0
  546. package/package.json +13 -13
  547. package/dist/components/Sheets/BottomSheetModal/index.js +0 -2
  548. package/dist/components/Sheets/SideSheetModal/index.js +0 -2
  549. /package/dist/components/Sheets/BottomSheet/{BottomSheet.d.ts → BottomSheet/BottomSheet.d.ts} +0 -0
  550. /package/dist/components/Sheets/BottomSheet/{types.d.ts → BottomSheet/types.d.ts} +0 -0
  551. /package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/BottomSheetModal.d.ts +0 -0
  552. /package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/index.d.ts +0 -0
  553. /package/dist/components/Sheets/SideSheet/{SideSheet.d.ts → SideSheet/SideSheet.d.ts} +0 -0
  554. /package/dist/components/Sheets/SideSheet/{SideSheetDialog.d.ts → SideSheet/SideSheetDialog.d.ts} +0 -0
  555. /package/dist/components/Sheets/SideSheet/{types.d.ts → SideSheet/types.d.ts} +0 -0
  556. /package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/SideSheetModal.d.ts +0 -0
  557. /package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_c","clsx","AriaMenuSection","require_compiler_runtime","MenuSectionStyles","clsx$1","MenuSection$1","import_compiler_runtime","MenuSection","$","className","props","t0","t1","t2"],"sources":["../../../../src/components/Menu/MenuSection/MenuSection.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { MenuSection as AriaMenuSection } from \"react-aria-components\";\nimport { MenuSectionStyles } from \"../core\";\n\n/**\n * Props for the [`MenuSection`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuSection/MenuSection.tsx) component.\n */\nexport interface MenuSectionProps<T extends object>\n extends React.ComponentPropsWithRef<typeof AriaMenuSection<T>> {}\n\n/**\n * Groups related menu items into logical sections within a [`Menu`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/Menu/Menu.tsx).\n *\n * Typically contains a [`MenuSectionHeader`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx)\n * and one or more [`MenuItem`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuItem/MenuItem.tsx) components.\n *\n * @example\n * ```tsx\n * import { MenuSection, MenuSectionHeader, MenuItem } from \"@adgytec/web-ui-components\";\n *\n * <MenuSection>\n * <MenuSectionHeader>Document Actions</MenuSectionHeader>\n * <MenuItem label=\"Print\" />\n * <MenuItem label=\"Export as PDF\" />\n * </MenuSection>\n * ```\n */\nexport const MenuSection = <T extends object>({\n className,\n ...props\n}: MenuSectionProps<T>) => {\n return (\n <AriaMenuSection\n className={clsx(MenuSectionStyles, className)}\n {...props}\n data-menu-section\n />\n );\n};\n"],"mappings":";;;;;;aA2BaQ,KAAc,MAAA;CAAA,IAAAC,KAAA,GAAAT,EAAAA,EAAAA,CAAA,CAAA,GAAAU,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGL,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHwB,eAAA,GAAAE,KAAAC,GAGxB,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAGmC,IAAAD,EAAA,MAAlC,IAAAR,EAAKG,GAAmBM,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAC;CAG/C,OAH+CL,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KADjD,IAAA,kBAACX,GAAD;EACe,WAAAW;EAAkC,GACzCF;EACJ,qBAAA;CAAiB,CAAA,GACnB,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAC,KAAA,IAAAL,EAAA,IAJFK;AAIE"}
1
+ {"version":3,"file":"index.js","names":["_c","clsx","AriaMenuSection","require_compiler_runtime","MenuSectionStyles","clsx$1","MenuSection$1","import_compiler_runtime","MenuSection","$","className","props","t0","t1","t2"],"sources":["../../../../src/components/Menu/MenuSection/MenuSection.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { MenuSection as AriaMenuSection } from \"react-aria-components\";\nimport { MenuSectionStyles } from \"../core\";\n\n/**\n * Props for the [`MenuSection`](src/components/Menu/MenuSection/MenuSection.tsx) component.\n */\nexport interface MenuSectionProps<T extends object>\n extends React.ComponentPropsWithRef<typeof AriaMenuSection<T>> {}\n\n/**\n * Groups related menu items into logical sections within a [`Menu`](src/components/Menu/Menu/Menu.tsx).\n *\n * Typically contains a [`MenuSectionHeader`](src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx)\n * and one or more [`MenuItem`](src/components/Menu/MenuItem/MenuItem.tsx) components.\n *\n * @example\n * ```tsx\n * import { MenuSection, MenuSectionHeader, MenuItem } from \"@adgytec/web-ui-components\";\n *\n * <MenuSection>\n * <MenuSectionHeader>Document Actions</MenuSectionHeader>\n * <MenuItem label=\"Print\" />\n * <MenuItem label=\"Export as PDF\" />\n * </MenuSection>\n * ```\n */\nexport const MenuSection = <T extends object>({\n className,\n ...props\n}: MenuSectionProps<T>) => {\n return (\n <AriaMenuSection\n className={clsx(MenuSectionStyles, className)}\n {...props}\n data-menu-section\n />\n );\n};\n"],"mappings":";;;;;;A,aA2BaQ,KAAc,MAAA;CAAA,IAAAC,KAAA,GAAAT,EAAAA,EAAAA,CAAA,CAAA,GAAAU,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGL,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHwB,eAAA,GAAAE,KAAAC,GAGxB,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAGmC,IAAAD,EAAA,MAAlC,IAAAR,EAAKG,GAAmBM,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAC;CAG/C,OAH+CL,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KADjD,IAAA,kBAACX,GAAD;EACe,WAAAW;EAAkC,GACzCF;EACJ,qBAAA;CAAiB,CAAA,GACnB,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAC,KAAA,IAAAL,EAAA,IAJFK;AAIE"}
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Props for the [`MenuSectionHeader`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx) component.
2
+ * Props for the [`MenuSectionHeader`](src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx) component.
3
3
  */
4
4
  export interface MenuSectionHeaderProps extends React.ComponentPropsWithRef<"header"> {
5
5
  }
6
6
  /**
7
- * Section header title rendered at the top of a [`MenuSection`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuSection/MenuSection.tsx).
7
+ * Section header title rendered at the top of a [`MenuSection`](src/components/Menu/MenuSection/MenuSection.tsx).
8
8
  *
9
9
  * Styled with Material Design 3 `labelLarge` typography and accessible section header semantics.
10
10
  *
@@ -4,7 +4,7 @@ import { i as n } from "../../../chunks/core6";
4
4
  import r from "clsx";
5
5
  import { jsx as i } from "react/jsx-runtime";
6
6
  import { Header as a } from "react-aria-components";
7
- //#region src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx
7
+ // src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx
8
8
  var o = e(), s = (e) => {
9
9
  let s = (0, o.c)(8), c, l;
10
10
  s[0] === e ? (c = s[1], l = s[2]) : ({className: c, ...l} = e, s[0] = e, s[1] = c, s[2] = l);
@@ -16,7 +16,6 @@ var o = e(), s = (e) => {
16
16
  ...l
17
17
  }), s[5] = l, s[6] = u, s[7] = d) : d = s[7], d;
18
18
  };
19
- //#endregion
20
19
  export { s as MenuSectionHeader };
21
20
 
22
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","MenuSectionHeaderStyles","clsx$1","import_compiler_runtime","MenuSectionHeader","$","className","props","t0","t1","typography","t2","Header"],"sources":["../../../../src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Header } from \"react-aria-components\";\nimport { typography } from \"@/utils\";\nimport { MenuSectionHeaderStyles } from \"../core\";\n\n/**\n * Props for the [`MenuSectionHeader`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx) component.\n */\nexport interface MenuSectionHeaderProps\n extends React.ComponentPropsWithRef<\"header\"> {}\n\n/**\n * Section header title rendered at the top of a [`MenuSection`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuSection/MenuSection.tsx).\n *\n * Styled with Material Design 3 `labelLarge` typography and accessible section header semantics.\n *\n * @example\n * ```tsx\n * <MenuSectionHeader>Preferences</MenuSectionHeader>\n * ```\n */\nexport const MenuSectionHeader: React.FC<MenuSectionHeaderProps> = ({\n className,\n ...props\n}) => {\n return (\n <Header\n className={clsx(\n typography.labelLarge,\n MenuSectionHeaderStyles,\n className\n )}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;;aAqBaM,KAAsD,MAAA;CAAA,IAAAC,KAAA,GAAAP,EAAAA,EAAAA,CAAA,CAAA,GAAAQ,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGlE,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHmE,eAAA,GAAAE,KAAAC,GAGnE,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAOY,IAAAD,EAAA,MAJU,IAAAN,EACPW,EAAU,YACVT,GACAK,CACJ,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAEH,OAFGN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KALL,IAAA,kBAACG,GAAD;EACe,WAAAH;EAIV,GACGF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAPFM;AAOE"}
1
+ {"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","MenuSectionHeaderStyles","clsx$1","import_compiler_runtime","MenuSectionHeader","$","className","props","t0","t1","typography","t2","Header"],"sources":["../../../../src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Header } from \"react-aria-components\";\nimport { typography } from \"@/utils\";\nimport { MenuSectionHeaderStyles } from \"../core\";\n\n/**\n * Props for the [`MenuSectionHeader`](src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx) component.\n */\nexport interface MenuSectionHeaderProps\n extends React.ComponentPropsWithRef<\"header\"> {}\n\n/**\n * Section header title rendered at the top of a [`MenuSection`](src/components/Menu/MenuSection/MenuSection.tsx).\n *\n * Styled with Material Design 3 `labelLarge` typography and accessible section header semantics.\n *\n * @example\n * ```tsx\n * <MenuSectionHeader>Preferences</MenuSectionHeader>\n * ```\n */\nexport const MenuSectionHeader: React.FC<MenuSectionHeaderProps> = ({\n className,\n ...props\n}) => {\n return (\n <Header\n className={clsx(\n typography.labelLarge,\n MenuSectionHeaderStyles,\n className\n )}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;;A,aAqBaM,KAAsD,MAAA;CAAA,IAAAC,KAAA,GAAAP,EAAAA,EAAAA,CAAA,CAAA,GAAAQ,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGlE,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHmE,eAAA,GAAAE,KAAAC,GAGnE,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAOY,IAAAD,EAAA,MAJU,IAAAN,EACPW,EAAU,YACVT,GACAK,CACJ,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAEH,OAFGN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KALL,IAAA,kBAACG,GAAD;EACe,WAAAH;EAIV,GACGF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAPFM;AAOE"}
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Props for the [`MenuShortcut`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuShortcut/MenuShortcut.tsx) component.
2
+ * Props for the [`MenuShortcut`](src/components/Menu/MenuShortcut/MenuShortcut.tsx) component.
3
3
  */
4
4
  export interface MenuShortcutProps extends React.ComponentPropsWithRef<"kbd"> {
5
5
  }
6
6
  /**
7
- * Keyboard shortcut badge (`<kbd>`) displayed at the trailing edge of a [`MenuItem`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuItem/MenuItem.tsx).
7
+ * Keyboard shortcut badge (`<kbd>`) displayed at the trailing edge of a [`MenuItem`](src/components/Menu/MenuItem/MenuItem.tsx).
8
8
  *
9
9
  * Styled with Material Design 3 `labelLarge` typography and appropriate contrast.
10
10
  *
@@ -2,7 +2,7 @@ import { t as e } from "../../../chunks/compiler-runtime";
2
2
  import { t } from "../../../chunks/base";
3
3
  import n from "clsx";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- //#region src/components/Menu/MenuShortcut/MenuShortcut.tsx
5
+ // src/components/Menu/MenuShortcut/MenuShortcut.tsx
6
6
  var i = e(), a = (e) => {
7
7
  let a = (0, i.c)(8), o, s;
8
8
  a[0] === e ? (o = a[1], s = a[2]) : ({className: o, ...s} = e, a[0] = e, a[1] = o, a[2] = s);
@@ -14,7 +14,6 @@ var i = e(), a = (e) => {
14
14
  ...s
15
15
  }), a[5] = s, a[6] = c, a[7] = l) : l = a[7], l;
16
16
  };
17
- //#endregion
18
17
  export { a as MenuShortcut };
19
18
 
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","clsx$1","import_compiler_runtime","MenuShortcut","$","className","props","t0","t1","typography","t2"],"sources":["../../../../src/components/Menu/MenuShortcut/MenuShortcut.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { typography } from \"@/utils/typography\";\n\n/**\n * Props for the [`MenuShortcut`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuShortcut/MenuShortcut.tsx) component.\n */\nexport interface MenuShortcutProps extends React.ComponentPropsWithRef<\"kbd\"> {}\n\n/**\n * Keyboard shortcut badge (`<kbd>`) displayed at the trailing edge of a [`MenuItem`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuItem/MenuItem.tsx).\n *\n * Styled with Material Design 3 `labelLarge` typography and appropriate contrast.\n *\n * @example\n * ```tsx\n * <MenuShortcut>⌘S</MenuShortcut>\n * ```\n */\nexport const MenuShortcut: React.FC<MenuShortcutProps> = ({\n className,\n ...props\n}) => {\n return (\n <kbd className={clsx(typography.labelLarge, className)} {...props} />\n );\n};\n"],"mappings":";;;;;aAkBaK,KAA4C,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAAO,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGxD,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHyD,eAAA,GAAAE,KAAAC,GAGzD,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAE6D,IAAAD,EAAA,MAAtC,IAAAL,EAAKU,EAAU,YAAaJ,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAAe,OAAfN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KAAtD,IAAA,kBAAA,OAAA;EAAgB,WAAAA;EAAsC,GAAMF;CAAK,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAArEM;AAAqE"}
1
+ {"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","clsx$1","import_compiler_runtime","MenuShortcut","$","className","props","t0","t1","typography","t2"],"sources":["../../../../src/components/Menu/MenuShortcut/MenuShortcut.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { typography } from \"@/utils/typography\";\n\n/**\n * Props for the [`MenuShortcut`](src/components/Menu/MenuShortcut/MenuShortcut.tsx) component.\n */\nexport interface MenuShortcutProps extends React.ComponentPropsWithRef<\"kbd\"> {}\n\n/**\n * Keyboard shortcut badge (`<kbd>`) displayed at the trailing edge of a [`MenuItem`](src/components/Menu/MenuItem/MenuItem.tsx).\n *\n * Styled with Material Design 3 `labelLarge` typography and appropriate contrast.\n *\n * @example\n * ```tsx\n * <MenuShortcut>⌘S</MenuShortcut>\n * ```\n */\nexport const MenuShortcut: React.FC<MenuShortcutProps> = ({\n className,\n ...props\n}) => {\n return (\n <kbd className={clsx(typography.labelLarge, className)} {...props} />\n );\n};\n"],"mappings":";;;;;A,aAkBaK,KAA4C,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAAO,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGxD,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHyD,eAAA,GAAAE,KAAAC,GAGzD,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAE6D,IAAAD,EAAA,MAAtC,IAAAL,EAAKU,EAAU,YAAaJ,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAAe,OAAfN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KAAtD,IAAA,kBAAA,OAAA;EAAgB,WAAAA;EAAsC,GAAMF;CAAK,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAArEM;AAAqE"}
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Props for the [`MenuTrailingText`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuTrailingText/MenuTrailingText.tsx) component.
2
+ * Props for the [`MenuTrailingText`](src/components/Menu/MenuTrailingText/MenuTrailingText.tsx) component.
3
3
  */
4
4
  export interface MenuTrailingTextProps extends React.ComponentPropsWithRef<"p"> {
5
5
  }
6
6
  /**
7
- * Secondary metadata or descriptive text placed at the trailing edge of a [`MenuItem`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuItem/MenuItem.tsx).
7
+ * Secondary metadata or descriptive text placed at the trailing edge of a [`MenuItem`](src/components/Menu/MenuItem/MenuItem.tsx).
8
8
  *
9
9
  * Styled with Material Design 3 `labelLarge` typography.
10
10
  *
@@ -2,7 +2,7 @@ import { t as e } from "../../../chunks/compiler-runtime";
2
2
  import { t } from "../../../chunks/base";
3
3
  import n from "clsx";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- //#region src/components/Menu/MenuTrailingText/MenuTrailingText.tsx
5
+ // src/components/Menu/MenuTrailingText/MenuTrailingText.tsx
6
6
  var i = e(), a = (e) => {
7
7
  let a = (0, i.c)(8), o, s;
8
8
  a[0] === e ? (o = a[1], s = a[2]) : ({className: o, ...s} = e, a[0] = e, a[1] = o, a[2] = s);
@@ -14,7 +14,6 @@ var i = e(), a = (e) => {
14
14
  ...s
15
15
  }), a[5] = s, a[6] = c, a[7] = l) : l = a[7], l;
16
16
  };
17
- //#endregion
18
17
  export { a as MenuTrailingText };
19
18
 
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","clsx$1","import_compiler_runtime","MenuTrailingText","$","className","props","t0","t1","typography","t2"],"sources":["../../../../src/components/Menu/MenuTrailingText/MenuTrailingText.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { typography } from \"@/utils/typography\";\n\n/**\n * Props for the [`MenuTrailingText`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuTrailingText/MenuTrailingText.tsx) component.\n */\nexport interface MenuTrailingTextProps\n extends React.ComponentPropsWithRef<\"p\"> {}\n\n/**\n * Secondary metadata or descriptive text placed at the trailing edge of a [`MenuItem`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuItem/MenuItem.tsx).\n *\n * Styled with Material Design 3 `labelLarge` typography.\n *\n * @example\n * ```tsx\n * <MenuTrailingText>New</MenuTrailingText>\n * ```\n */\nexport const MenuTrailingText: React.FC<MenuTrailingTextProps> = ({\n className,\n ...props\n}) => {\n return <p className={clsx(typography.labelLarge, className)} {...props} />;\n};\n"],"mappings":";;;;;aAmBaK,KAAoD,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAAO,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGhE,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHiE,eAAA,GAAAE,KAAAC,GAGjE,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAC8D,IAAAD,EAAA,MAAtC,IAAAL,EAAKU,EAAU,YAAaJ,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAAe,OAAfN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KAApD,IAAA,kBAAA,KAAA;EAAc,WAAAA;EAAsC,GAAMF;CAAK,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAAnEM;AAAmE"}
1
+ {"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","clsx$1","import_compiler_runtime","MenuTrailingText","$","className","props","t0","t1","typography","t2"],"sources":["../../../../src/components/Menu/MenuTrailingText/MenuTrailingText.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { typography } from \"@/utils/typography\";\n\n/**\n * Props for the [`MenuTrailingText`](src/components/Menu/MenuTrailingText/MenuTrailingText.tsx) component.\n */\nexport interface MenuTrailingTextProps\n extends React.ComponentPropsWithRef<\"p\"> {}\n\n/**\n * Secondary metadata or descriptive text placed at the trailing edge of a [`MenuItem`](src/components/Menu/MenuItem/MenuItem.tsx).\n *\n * Styled with Material Design 3 `labelLarge` typography.\n *\n * @example\n * ```tsx\n * <MenuTrailingText>New</MenuTrailingText>\n * ```\n */\nexport const MenuTrailingText: React.FC<MenuTrailingTextProps> = ({\n className,\n ...props\n}) => {\n return <p className={clsx(typography.labelLarge, className)} {...props} />;\n};\n"],"mappings":";;;;;A,aAmBaK,KAAoD,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAAO,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGhE,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHiE,eAAA,GAAAE,KAAAC,GAGjE,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAC8D,IAAAD,EAAA,MAAtC,IAAAL,EAAKU,EAAU,YAAaJ,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAAe,OAAfN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KAApD,IAAA,kBAAA,KAAA;EAAc,WAAAA;EAAsC,GAAMF;CAAK,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAAnEM;AAAmE"}
@@ -1,7 +1,7 @@
1
1
  import { MenuTrigger as AriaMenuTrigger } from 'react-aria-components';
2
2
  import { MenuColor, MenuLayout } from '../core';
3
3
  /**
4
- * Props for the [`MenuTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuTrigger/MenuTrigger.tsx) component.
4
+ * Props for the [`MenuTrigger`](src/components/Menu/MenuTrigger/MenuTrigger.tsx) component.
5
5
  */
6
6
  export interface MenuTriggerProps extends React.ComponentPropsWithRef<typeof AriaMenuTrigger> {
7
7
  /**
@@ -20,8 +20,8 @@ export interface MenuTriggerProps extends React.ComponentPropsWithRef<typeof Ari
20
20
  /**
21
21
  * Container component that manages menu visibility and trigger interaction states.
22
22
  *
23
- * Wraps React Aria's `MenuTrigger` and provides [`MenuConfigContext`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/context/context.ts)
24
- * to configure the color scheme and layout density across descendant [`Menu`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/Menu/Menu.tsx) components.
23
+ * Wraps React Aria's `MenuTrigger` and provides [`MenuConfigContext`](src/components/Menu/context/context.ts)
24
+ * to configure the color scheme and layout density across descendant [`Menu`](src/components/Menu/Menu/Menu.tsx) components.
25
25
  *
26
26
  * @example
27
27
  * ```tsx
@@ -2,7 +2,7 @@ import { t as e } from "../../../chunks/compiler-runtime";
2
2
  import { MenuConfigContext as t } from "../context/index.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import { MenuTrigger as r } from "react-aria-components";
5
- //#region src/components/Menu/MenuTrigger/MenuTrigger.tsx
5
+ // src/components/Menu/MenuTrigger/MenuTrigger.tsx
6
6
  var i = e(), a = (e) => {
7
7
  let a = (0, i.c)(12), o, s, c;
8
8
  a[0] === e ? (o = a[1], s = a[2], c = a[3]) : ({color: o, layout: s, ...c} = e, a[0] = e, a[1] = o, a[2] = s, a[3] = c);
@@ -19,7 +19,6 @@ var i = e(), a = (e) => {
19
19
  children: u
20
20
  }), a[9] = l, a[10] = u, a[11] = d) : d = a[11], d;
21
21
  };
22
- //#endregion
23
22
  export { a as MenuTrigger };
24
23
 
25
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_c","AriaMenuTrigger","require_compiler_runtime","MenuTrigger$1","import_compiler_runtime","MenuTrigger","$","color","layout","props","t0","t1","t2","t3","MenuConfigContext"],"sources":["../../../../src/components/Menu/MenuTrigger/MenuTrigger.tsx"],"sourcesContent":["import { MenuTrigger as AriaMenuTrigger } from \"react-aria-components\";\nimport { MenuConfigContext } from \"../context\";\nimport type { MenuColor, MenuLayout } from \"../core\";\n\n/**\n * Props for the [`MenuTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuTrigger/MenuTrigger.tsx) component.\n */\nexport interface MenuTriggerProps\n extends React.ComponentPropsWithRef<typeof AriaMenuTrigger> {\n /**\n * Sets the default color scheme for child menus.\n *\n * @default \"standard\"\n */\n color?: MenuColor;\n\n /**\n * Sets the default layout density for child menus.\n *\n * @default \"standard\"\n */\n layout?: MenuLayout;\n}\n\n/**\n * Container component that manages menu visibility and trigger interaction states.\n *\n * Wraps React Aria's `MenuTrigger` and provides [`MenuConfigContext`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/context/context.ts)\n * to configure the color scheme and layout density across descendant [`Menu`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/Menu/Menu.tsx) components.\n *\n * @example\n * ```tsx\n * import {\n * MenuTrigger,\n * Button,\n * MenuPopover,\n * Menu,\n * MenuItem,\n * } from \"@adgytec/web-ui-components\";\n *\n * <MenuTrigger color=\"vibrant\">\n * <Button label=\"Open Menu\" />\n * <MenuPopover>\n * <Menu>\n * <MenuItem label=\"Item 1\" />\n * <MenuItem label=\"Item 2\" />\n * </Menu>\n * </MenuPopover>\n * </MenuTrigger>\n * ```\n */\nexport const MenuTrigger: React.FC<MenuTriggerProps> = ({\n color,\n layout,\n ...props\n}) => {\n return (\n <MenuConfigContext value={{ color, layout }}>\n <AriaMenuTrigger {...props} />\n </MenuConfigContext>\n );\n};\n"],"mappings":";;;;;aAmDaK,KAA0C,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,EAAA,GAAAO,GAAAC,GAAAC;CAAA,AAAAH,EAAA,OAAAI,KAItD,IAAAJ,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAJuD,sBAAA,GAAAG,KAAAC,GAIvD,EAAA,KAAAA,GAAA,EAAA,KAAAH,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAL,EAAA,OAAAC,KAAAD,EAAA,OAAAE,KAEiC,IAAA;EAAA;EAAA;CAAgB,GAAC,EAAA,KAAAD,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAG,KAAA,IAAAL,EAAA;CAAA,IAAAM;CAAA,AAAAN,EAAA,OAAAG,IACT,IAAAH,EAAA,MAA9B,IAAA,kBAACL,GAAD,EAAgB,GAAKQ,EAAK,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAC;CACd,OADcP,EAAA,OAAAK,KAAAL,EAAA,QAAAM,KADlC,IAAA,kBAACE,GAAD;EAA0B,OAAAH;EACtB,UAAAC;CADc,CAAA,GAEE,EAAA,KAAAD,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAC,KAAA,IAAAP,EAAA,KAFpBO;AAEoB"}
1
+ {"version":3,"file":"index.js","names":["_c","AriaMenuTrigger","require_compiler_runtime","MenuTrigger$1","import_compiler_runtime","MenuTrigger","$","color","layout","props","t0","t1","t2","t3","MenuConfigContext"],"sources":["../../../../src/components/Menu/MenuTrigger/MenuTrigger.tsx"],"sourcesContent":["import { MenuTrigger as AriaMenuTrigger } from \"react-aria-components\";\nimport { MenuConfigContext } from \"../context\";\nimport type { MenuColor, MenuLayout } from \"../core\";\n\n/**\n * Props for the [`MenuTrigger`](src/components/Menu/MenuTrigger/MenuTrigger.tsx) component.\n */\nexport interface MenuTriggerProps\n extends React.ComponentPropsWithRef<typeof AriaMenuTrigger> {\n /**\n * Sets the default color scheme for child menus.\n *\n * @default \"standard\"\n */\n color?: MenuColor;\n\n /**\n * Sets the default layout density for child menus.\n *\n * @default \"standard\"\n */\n layout?: MenuLayout;\n}\n\n/**\n * Container component that manages menu visibility and trigger interaction states.\n *\n * Wraps React Aria's `MenuTrigger` and provides [`MenuConfigContext`](src/components/Menu/context/context.ts)\n * to configure the color scheme and layout density across descendant [`Menu`](src/components/Menu/Menu/Menu.tsx) components.\n *\n * @example\n * ```tsx\n * import {\n * MenuTrigger,\n * Button,\n * MenuPopover,\n * Menu,\n * MenuItem,\n * } from \"@adgytec/web-ui-components\";\n *\n * <MenuTrigger color=\"vibrant\">\n * <Button label=\"Open Menu\" />\n * <MenuPopover>\n * <Menu>\n * <MenuItem label=\"Item 1\" />\n * <MenuItem label=\"Item 2\" />\n * </Menu>\n * </MenuPopover>\n * </MenuTrigger>\n * ```\n */\nexport const MenuTrigger: React.FC<MenuTriggerProps> = ({\n color,\n layout,\n ...props\n}) => {\n return (\n <MenuConfigContext value={{ color, layout }}>\n <AriaMenuTrigger {...props} />\n </MenuConfigContext>\n );\n};\n"],"mappings":";;;;;A,aAmDaK,KAA0C,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,EAAA,GAAAO,GAAAC,GAAAC;CAAA,AAAAH,EAAA,OAAAI,KAItD,IAAAJ,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAJuD,sBAAA,GAAAG,KAAAC,GAIvD,EAAA,KAAAA,GAAA,EAAA,KAAAH,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAL,EAAA,OAAAC,KAAAD,EAAA,OAAAE,KAEiC,IAAA;EAAA;EAAA;CAAgB,GAAC,EAAA,KAAAD,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAG,KAAA,IAAAL,EAAA;CAAA,IAAAM;CAAA,AAAAN,EAAA,OAAAG,IACT,IAAAH,EAAA,MAA9B,IAAA,kBAACL,GAAD,EAAgB,GAAKQ,EAAK,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAC;CACd,OADcP,EAAA,OAAAK,KAAAL,EAAA,QAAAM,KADlC,IAAA,kBAACE,GAAD;EAA0B,OAAAH;EACtB,UAAAC;CADc,CAAA,GAEE,EAAA,KAAAD,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAC,KAAA,IAAAP,EAAA,KAFpBO;AAEoB"}
@@ -1,6 +1,6 @@
1
1
  import { Popover } from '../../Popover';
2
2
  /**
3
- * Props for the [`SubmenuPopover`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/SubmenuPopover/SubmenuPopover.tsx) component.
3
+ * Props for the [`SubmenuPopover`](src/components/Menu/SubmenuPopover/SubmenuPopover.tsx) component.
4
4
  */
5
5
  export interface SubmenuPopoverProps extends React.ComponentPropsWithRef<typeof Popover> {
6
6
  }
@@ -1,2 +1 @@
1
- import { t as e } from "../../../chunks/SubmenuPopover";
2
- export { e as SubmenuPopover };
1
+ export { t as SubmenuPopover } from "../../../chunks/SubmenuPopover";
@@ -1,6 +1,6 @@
1
1
  import { MenuColor, MenuLayout } from '../core';
2
2
  /**
3
- * Configuration options propagated from [`MenuTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuTrigger/MenuTrigger.tsx)
3
+ * Configuration options propagated from [`MenuTrigger`](src/components/Menu/MenuTrigger/MenuTrigger.tsx)
4
4
  * down to child menus.
5
5
  */
6
6
  export type MenuConfigContextValue = {
@@ -1,12 +1,10 @@
1
1
  import { createContext as e, useContext as t } from "react";
2
- //#region src/components/Menu/context/context.ts
2
+ // src/components/Menu/context/context.ts
3
3
  var n = e({});
4
- //#endregion
5
- //#region src/components/Menu/context/useMenuConfigContext.ts
4
+ // src/components/Menu/context/useMenuConfigContext.ts
6
5
  function r() {
7
6
  return t(n);
8
7
  }
9
- //#endregion
10
8
  export { n as MenuConfigContext, r as useMenuConfigContext };
11
9
 
12
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["MenuConfigContext","createContext","useMenuConfigContext","useContext"],"sources":["../../../../src/components/Menu/context/context.ts","../../../../src/components/Menu/context/useMenuConfigContext.ts"],"sourcesContent":["import { createContext } from \"react\";\nimport type { MenuColor, MenuLayout } from \"../core\";\n\n/**\n * Configuration options propagated from [`MenuTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuTrigger/MenuTrigger.tsx)\n * down to child menus.\n */\nexport type MenuConfigContextValue = {\n /**\n * Color scheme for the menu surface and items.\n */\n color?: MenuColor;\n /**\n * Layout density for the menu items.\n */\n layout?: MenuLayout;\n};\n\n/**\n * React context providing menu configuration (`color` and `layout`) to nested menus.\n */\nexport const MenuConfigContext = createContext<MenuConfigContextValue>({});\n","import { useContext } from \"react\";\nimport { MenuConfigContext } from \"./context\";\n\n/**\n * Hook to access the current menu configuration (`color` and `layout`) provided by an ancestor\n * [`MenuTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuTrigger/MenuTrigger.tsx).\n *\n * @returns The current {@link MenuConfigContextValue}.\n */\nexport function useMenuConfigContext() {\n return useContext(MenuConfigContext);\n}\n"],"mappings":";;AAqBA,IAAaA,IAAoBC,EAAsC,CAAC,CAAC;;;ACZzE,SAAOC,IAAA;CAAA,OACIC,EAAWH,CAAiB;AAAC"}
1
+ {"version":3,"file":"index.js","names":["MenuConfigContext","createContext","useMenuConfigContext","useContext"],"sources":["../../../../src/components/Menu/context/context.ts","../../../../src/components/Menu/context/useMenuConfigContext.ts"],"sourcesContent":["import { createContext } from \"react\";\nimport type { MenuColor, MenuLayout } from \"../core\";\n\n/**\n * Configuration options propagated from [`MenuTrigger`](src/components/Menu/MenuTrigger/MenuTrigger.tsx)\n * down to child menus.\n */\nexport type MenuConfigContextValue = {\n /**\n * Color scheme for the menu surface and items.\n */\n color?: MenuColor;\n /**\n * Layout density for the menu items.\n */\n layout?: MenuLayout;\n};\n\n/**\n * React context providing menu configuration (`color` and `layout`) to nested menus.\n */\nexport const MenuConfigContext = createContext<MenuConfigContextValue>({});\n","import { useContext } from \"react\";\nimport { MenuConfigContext } from \"./context\";\n\n/**\n * Hook to access the current menu configuration (`color` and `layout`) provided by an ancestor\n * [`MenuTrigger`](src/components/Menu/MenuTrigger/MenuTrigger.tsx).\n *\n * @returns The current {@link MenuConfigContextValue}.\n */\nexport function useMenuConfigContext() {\n return useContext(MenuConfigContext);\n}\n"],"mappings":";;AAqBA,IAAaA,IAAoBC,EAAsC,CAAC,CAAC;;ACZzE,SAAOC,IAAA;CAAA,OACIC,EAAWH,CAAiB;AAAC"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Hook to access the current menu configuration (`color` and `layout`) provided by an ancestor
3
- * [`MenuTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/MenuTrigger/MenuTrigger.tsx).
3
+ * [`MenuTrigger`](src/components/Menu/MenuTrigger/MenuTrigger.tsx).
4
4
  *
5
5
  * @returns The current {@link MenuConfigContextValue}.
6
6
  */
@@ -13,7 +13,7 @@ export declare const menuItemBaseColor: string;
13
13
  */
14
14
  export declare const menuItemLabelColor: string;
15
15
  /**
16
- * Resolves the CSS class corresponding to a given [`MenuColor`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/core/color.ts#L8) variant.
16
+ * Resolves the CSS class corresponding to a given [`MenuColor`](src/components/Menu/core/color.ts#L8) variant.
17
17
  *
18
18
  * @param color - The selected color variant.
19
19
  * @returns The CSS class name.
@@ -1,2 +1 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../../../chunks/core6";
2
- export { u as MenuBaseLayout, t as MenuItemIconSize, d as MenuItemLeadingStyles, o as MenuItemStyles, l as MenuItemTrailingStyles, i as MenuSectionHeaderStyles, e as MenuSectionStyles, s as MenuStyles, f as menuBaseColor, n as menuColorConfig, r as menuItemBaseColor, c as menuItemLabelColor, a as menuLayoutConfig };
1
+ export { s as MenuBaseLayout, c as MenuItemIconSize, t as MenuItemLeadingStyles, n as MenuItemStyles, r as MenuItemTrailingStyles, i as MenuSectionHeaderStyles, a as MenuSectionStyles, o as MenuStyles, u as menuBaseColor, d as menuColorConfig, f as menuItemBaseColor, p as menuItemLabelColor, l as menuLayoutConfig } from "../../../chunks/core6";
@@ -13,7 +13,7 @@ export declare const MenuItemIconSize = 20;
13
13
  */
14
14
  export declare const MenuBaseLayout: string;
15
15
  /**
16
- * Resolves the CSS class corresponding to a given [`MenuLayout`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Menu/core/layout.ts#L8) variant.
16
+ * Resolves the CSS class corresponding to a given [`MenuLayout`](src/components/Menu/core/layout.ts#L8) variant.
17
17
  *
18
18
  * @param layout - The layout density variant.
19
19
  * @returns The CSS class name.
@@ -4,7 +4,7 @@ import { NavigationProps } from './types';
4
4
  *
5
5
  * Coordinates navigation header titles, dialog/drawer modal close buttons, scroll position synchronization,
6
6
  * and context providers for link/button active states and portal-rendered sub-navigation panels.
7
- * Automatically provides a [`NavigationState`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationState/NavigationState.tsx)
7
+ * Automatically provides a [`NavigationState`](src/components/Navigation/NavigationState/NavigationState.tsx)
8
8
  * if not already nested within one.
9
9
  *
10
10
  * @example
@@ -18,7 +18,7 @@ export type NavigationContextType = {
18
18
  export declare const NavigationContext: import('react').Context<NavigationContextType | null>;
19
19
  /**
20
20
  * Hook to access active state predicates (`isLinkActive` and `isButtonActive`) from the parent
21
- * [`Navigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/Navigation/Navigation.tsx) container.
21
+ * [`Navigation`](src/components/Navigation/Navigation/Navigation.tsx) container.
22
22
  *
23
23
  * @throws If called outside of a `Navigation` component.
24
24
  * @returns The current {@link NavigationContextType}.
@@ -13,9 +13,9 @@ export type NavigationRenderingContextType = {
13
13
  export declare const NavigationRenderingContext: import('react').Context<NavigationRenderingContextType | null>;
14
14
  /**
15
15
  * Hook to access the parent navigation container element used for portal mounting of
16
- * [`SubNavigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx).
16
+ * [`SubNavigation`](src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx).
17
17
  *
18
- * @throws If called outside of a [`Navigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/Navigation/Navigation.tsx) component.
18
+ * @throws If called outside of a [`Navigation`](src/components/Navigation/Navigation/Navigation.tsx) component.
19
19
  * @returns The current {@link NavigationRenderingContextType}.
20
20
  */
21
21
  export declare function useNavigationContainer(): NavigationRenderingContextType;
@@ -8,7 +8,7 @@ export type IsLinkActive = (href?: string) => boolean;
8
8
  */
9
9
  export type IsButtonActive = (prefix?: string) => boolean;
10
10
  /**
11
- * Props for the root [`Navigation`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/Navigation/Navigation.tsx) container component.
11
+ * Props for the root [`Navigation`](src/components/Navigation/Navigation/Navigation.tsx) container component.
12
12
  */
13
13
  export interface NavigationProps extends React.ComponentPropsWithRef<"nav"> {
14
14
  /**
@@ -16,12 +16,12 @@ export interface NavigationProps extends React.ComponentPropsWithRef<"nav"> {
16
16
  */
17
17
  label?: ReactNode;
18
18
  /**
19
- * Callback function used by child [`NavigationLink`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx)
19
+ * Callback function used by child [`NavigationLink`](src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx)
20
20
  * components to determine their active state from their `href`.
21
21
  */
22
22
  isLinkActive?: IsLinkActive;
23
23
  /**
24
- * Callback function used by child [`NavigationButton`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx)
24
+ * Callback function used by child [`NavigationButton`](src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx)
25
25
  * components to determine their active state from their `prefix`.
26
26
  */
27
27
  isButtonActive?: IsButtonActive;
@@ -2,7 +2,7 @@ import { NavigationButtonProps } from './types';
2
2
  /**
3
3
  * Button navigation item component.
4
4
  *
5
- * Typically used as an action trigger within a [`SubNavigationTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx)
5
+ * Typically used as an action trigger within a [`SubNavigationTrigger`](src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx)
6
6
  * to open a nested sub-navigation panel. Automatically evaluates active state matching based on its `prefix`,
7
7
  * switches between resting and active icons, and inherits labels from parent triggers.
8
8
  *
@@ -7,7 +7,7 @@ import { clsx as o } from "clsx";
7
7
  import { useContext as s } from "react";
8
8
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
9
9
  import { Button as u } from "react-aria-components";
10
- //#region src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx
10
+ // src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx
11
11
  var d = e(), f = (e) => {
12
12
  let f = (0, d.c)(24), p, m, h, g, _, v, y;
13
13
  f[0] === e ? (p = f[1], m = f[2], h = f[3], g = f[4], _ = f[5], v = f[6], y = f[7]) : ({className: m, icon: h, activeIcon: p, label: _, prefix: v, isActive: g, ...y} = e, f[0] = e, f[1] = p, f[2] = m, f[3] = h, f[4] = g, f[5] = _, f[6] = v, f[7] = y);
@@ -30,7 +30,6 @@ var d = e(), f = (e) => {
30
30
  children: [D, w]
31
31
  }), f[18] = w, f[19] = y, f[20] = T, f[21] = E, f[22] = D, f[23] = O) : O = f[23], O;
32
32
  };
33
- //#endregion
34
33
  export { f as NavigationButton };
35
34
 
36
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["icon","activeIcon","buttonActive","buttonLabel","_c","require_compiler_runtime","NavigationItemStyles","NavigationItemLabelTypography","import_compiler_runtime","NavigationButton","$","activeIcon","className","icon","isActive","label","prefix","props","t0","useNavigationContext","t1","isButtonActive","buttonActive","triggerLabel","useContext","NavLabelContext","buttonLabel","t2","clsx","renderProps","t3","t4","NavigationItemIconRenderer","t5","Button"],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport { useContext } from \"react\";\nimport { Button } from \"react-aria-components\";\nimport { NavLabelContext } from \"../../core\";\nimport { useNavigationContext } from \"../../Navigation/navContext\";\nimport { NavigationItemLabelTypography, NavigationItemStyles } from \"../core\";\nimport { NavigationItemIconRenderer } from \"../NavigationItemIconRenderer\";\nimport type { NavigationButtonProps } from \"./types\";\n\n/**\n * Button navigation item component.\n *\n * Typically used as an action trigger within a [`SubNavigationTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx)\n * to open a nested sub-navigation panel. Automatically evaluates active state matching based on its `prefix`,\n * switches between resting and active icons, and inherits labels from parent triggers.\n *\n * @example\n * ```tsx\n * import { NavigationButton } from \"@adgytec/web-ui-components\";\n * import { Briefcase } from \"lucide-react\";\n *\n * <NavigationButton icon={Briefcase} prefix=\"/projects\" label=\"Projects\" />\n * ```\n */\nexport const NavigationButton: React.FC<NavigationButtonProps> = ({\n className,\n icon,\n activeIcon,\n label,\n prefix,\n isActive,\n ...props\n}) => {\n const { isButtonActive } = useNavigationContext();\n const buttonActive =\n typeof isActive === \"function\"\n ? isActive(prefix)\n : (isActive ?? isButtonActive?.(prefix));\n\n const triggerLabel = useContext(NavLabelContext);\n const buttonLabel = label ?? triggerLabel;\n\n return (\n <Button\n className={(renderProps) =>\n clsx(\n NavigationItemStyles,\n NavigationItemLabelTypography,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n slot=\"open\"\n data-active={buttonActive || undefined}\n >\n <NavigationItemIconRenderer\n icon={icon}\n activeIcon={activeIcon}\n isActive={buttonActive}\n />\n {buttonLabel}\n </Button>\n );\n};\n"],"mappings":";;;;;;;;;;aAwBaS,KAAoD,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,EAAA,GAAAO,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;CAAA,AAAAP,EAAA,OAAAQ,KAQhE,IAAAR,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OARiE,yEAAA,GAAAO,KAAAC,GAQjE,EAAA,KAAAA,GAAA,EAAA,KAAAP,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CACG,IAAA,EAAA,sBAA2BE,EAAqB,GAAEC;CAAA,AAAAV,EAAA,OAAAI,KAAAJ,EAAA,OAAAW,KAAAX,EAAA,QAAAM,KAE9C,IAAA,OAAOF,KAAa,aACdA,EAASE,CAC4B,IAApCF,KAAYO,IAAiBL,CAAM,GAAE,EAAA,KAAAF,GAAA,EAAA,KAAAO,GAAA,EAAA,MAAAL,GAAA,EAAA,MAAAI,KAAA,IAAAV,EAAA;CAHhD,IAAAY,IACIF,GAIJG,IAAqBC,EAAWC,CAAe,GAC/CC,IAAoBX,KAAAQ,GAAsBI;CAAA,AAAAjB,EAAA,QAAAE,IAW7B,IAAAF,EAAA,OAPM,KAAA,MACPkB,EACItB,GACAC,GACA,OAAOK,KAAc,aACfA,EAAUiB,CACF,IAFdjB,CAGJ,GAAC,EAAA,MAAAA,GAAA,EAAA,MAAAe;CAIQ,IAAAG,IAAAR,KAAA,KAAA,GAAyBS;CAAA,AAAArB,EAAA,QAAAC,KAAAD,EAAA,QAAAY,KAAAZ,EAAA,QAAAG,KAEtC,IAAA,kBAACmB,GAAD;EACU;EACM;EACF9B,UAAAoB;CAAY,CAAA,GACxB,EAAA,MAAAX,GAAA,EAAA,MAAAW,GAAA,EAAA,MAAAT,GAAA,EAAA,MAAAkB,KAAA,IAAArB,EAAA;CAAA,IAAAuB;CAEG,OAFHvB,EAAA,QAAAgB,KAAAhB,EAAA,QAAAO,KAAAP,EAAA,QAAAiB,KAAAjB,EAAA,QAAAoB,KAAApB,EAAA,QAAAqB,KAlBN,IAAA,kBAACG,GAAD;EACe,WAAAP;EAON,GAEDV;EACC,MAAA;EACQ,eAAAa;EAZjB,UAAA,CAcIC,GAKCL,CAnBE;KAoBE,EAAA,MAAAA,GAAA,EAAA,MAAAT,GAAA,EAAA,MAAAU,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAE,KAAA,IAAAvB,EAAA,KApBTuB;AAoBS"}
1
+ {"version":3,"file":"index.js","names":["icon","activeIcon","buttonActive","buttonLabel","_c","require_compiler_runtime","NavigationItemStyles","NavigationItemLabelTypography","import_compiler_runtime","NavigationButton","$","activeIcon","className","icon","isActive","label","prefix","props","t0","useNavigationContext","t1","isButtonActive","buttonActive","triggerLabel","useContext","NavLabelContext","buttonLabel","t2","clsx","renderProps","t3","t4","NavigationItemIconRenderer","t5","Button"],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport { useContext } from \"react\";\nimport { Button } from \"react-aria-components\";\nimport { NavLabelContext } from \"../../core\";\nimport { useNavigationContext } from \"../../Navigation/navContext\";\nimport { NavigationItemLabelTypography, NavigationItemStyles } from \"../core\";\nimport { NavigationItemIconRenderer } from \"../NavigationItemIconRenderer\";\nimport type { NavigationButtonProps } from \"./types\";\n\n/**\n * Button navigation item component.\n *\n * Typically used as an action trigger within a [`SubNavigationTrigger`](src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx)\n * to open a nested sub-navigation panel. Automatically evaluates active state matching based on its `prefix`,\n * switches between resting and active icons, and inherits labels from parent triggers.\n *\n * @example\n * ```tsx\n * import { NavigationButton } from \"@adgytec/web-ui-components\";\n * import { Briefcase } from \"lucide-react\";\n *\n * <NavigationButton icon={Briefcase} prefix=\"/projects\" label=\"Projects\" />\n * ```\n */\nexport const NavigationButton: React.FC<NavigationButtonProps> = ({\n className,\n icon,\n activeIcon,\n label,\n prefix,\n isActive,\n ...props\n}) => {\n const { isButtonActive } = useNavigationContext();\n const buttonActive =\n typeof isActive === \"function\"\n ? isActive(prefix)\n : (isActive ?? isButtonActive?.(prefix));\n\n const triggerLabel = useContext(NavLabelContext);\n const buttonLabel = label ?? triggerLabel;\n\n return (\n <Button\n className={(renderProps) =>\n clsx(\n NavigationItemStyles,\n NavigationItemLabelTypography,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n slot=\"open\"\n data-active={buttonActive || undefined}\n >\n <NavigationItemIconRenderer\n icon={icon}\n activeIcon={activeIcon}\n isActive={buttonActive}\n />\n {buttonLabel}\n </Button>\n );\n};\n"],"mappings":";;;;;;;;;;A,aAwBaS,KAAoD,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,EAAA,GAAAO,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;CAAA,AAAAP,EAAA,OAAAQ,KAQhE,IAAAR,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OARiE,yEAAA,GAAAO,KAAAC,GAQjE,EAAA,KAAAA,GAAA,EAAA,KAAAP,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CACG,IAAA,EAAA,sBAA2BE,EAAqB,GAAEC;CAAA,AAAAV,EAAA,OAAAI,KAAAJ,EAAA,OAAAW,KAAAX,EAAA,QAAAM,KAE9C,IAAA,OAAOF,KAAa,aACdA,EAASE,CAC4B,IAApCF,KAAYO,IAAiBL,CAAM,GAAE,EAAA,KAAAF,GAAA,EAAA,KAAAO,GAAA,EAAA,MAAAL,GAAA,EAAA,MAAAI,KAAA,IAAAV,EAAA;CAHhD,IAAAY,IACIF,GAIJG,IAAqBC,EAAWC,CAAe,GAC/CC,IAAoBX,KAAAQ,GAAsBI;CAAA,AAAAjB,EAAA,QAAAE,IAW7B,IAAAF,EAAA,OAPM,KAAA,MACPkB,EACItB,GACAC,GACA,OAAOK,KAAc,aACfA,EAAUiB,CACF,IAFdjB,CAGJ,GAAC,EAAA,MAAAA,GAAA,EAAA,MAAAe;CAIQ,IAAAG,IAAAR,KAAA,KAAA,GAAyBS;CAAA,AAAArB,EAAA,QAAAC,KAAAD,EAAA,QAAAY,KAAAZ,EAAA,QAAAG,KAEtC,IAAA,kBAACmB,GAAD;EACU;EACM;EACF9B,UAAAoB;CAAY,CAAA,GACxB,EAAA,MAAAX,GAAA,EAAA,MAAAW,GAAA,EAAA,MAAAT,GAAA,EAAA,MAAAkB,KAAA,IAAArB,EAAA;CAAA,IAAAuB;CAEG,OAFHvB,EAAA,QAAAgB,KAAAhB,EAAA,QAAAO,KAAAP,EAAA,QAAAiB,KAAAjB,EAAA,QAAAoB,KAAApB,EAAA,QAAAqB,KAlBN,IAAA,kBAACG,GAAD;EACe,WAAAP;EAON,GAEDV;EACC,MAAA;EACQ,eAAAa;EAZjB,UAAA,CAcIC,GAKCL,CAnBE;C,IAoBE,EAAA,MAAAA,GAAA,EAAA,MAAAT,GAAA,EAAA,MAAAU,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAE,KAAA,IAAAvB,EAAA,KApBTuB;AAoBS"}
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
2
2
  import { Button } from 'react-aria-components';
3
3
  import { NavigationItemProps } from '../core';
4
4
  /**
5
- * Props for the [`NavigationButton`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx) component.
5
+ * Props for the [`NavigationButton`](src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx) component.
6
6
  */
7
7
  export interface NavigationButtonProps extends Omit<React.ComponentPropsWithRef<typeof Button>, "children" | "slot">, Omit<NavigationItemProps, "label"> {
8
8
  /**
@@ -10,7 +10,7 @@ export interface NavigationButtonProps extends Omit<React.ComponentPropsWithRef<
10
10
  */
11
11
  prefix?: string;
12
12
  /**
13
- * Button label content. If omitted, falls back to the label provided to [`SubNavigationTrigger`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx).
13
+ * Button label content. If omitted, falls back to the label provided to [`SubNavigationTrigger`](src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx).
14
14
  */
15
15
  label?: ReactNode;
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import { LucideIcon } from 'lucide-react';
2
2
  /**
3
- * Props for the [`NavigationItemIconRenderer`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx) component.
3
+ * Props for the [`NavigationItemIconRenderer`](src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx) component.
4
4
  */
5
5
  export interface NavigationItemIconRendererProps {
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "../../../../chunks/compiler-runtime";
2
2
  import { t } from "../../../../chunks/Icon";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
- //#region src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx
4
+ // src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx
5
5
  var r = e(), i = (e) => {
6
6
  let i = (0, r.c)(2), { icon: a } = e, o;
7
7
  return i[0] === a ? o = i[1] : (o = /* @__PURE__ */ n(t, {
@@ -28,7 +28,6 @@ var r = e(), i = (e) => {
28
28
  }
29
29
  return null;
30
30
  };
31
- //#endregion
32
31
  export { a as NavigationItemIconRenderer };
33
32
 
34
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["icon","activeIcon","_c","require_compiler_runtime","import_compiler_runtime","IconRenderer","$","t0","t1","icon","Icon","NavigationItemIconRenderer","isActive","activeIcon"],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx"],"sourcesContent":["import type { LucideIcon } from \"lucide-react\";\nimport { Icon } from \"@/components/Icon\";\n\nconst IconRenderer: React.FC<{ icon: LucideIcon }> = ({ icon }) => {\n return <Icon icon={icon} size={24} data-nav-icon />;\n};\n\n/**\n * Props for the [`NavigationItemIconRenderer`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx) component.\n */\nexport interface NavigationItemIconRendererProps {\n /**\n * Icon displayed when the item is in its inactive/resting state.\n */\n icon?: LucideIcon;\n\n /**\n * Alternate icon displayed when the item is active.\n */\n activeIcon?: LucideIcon;\n\n /**\n * Whether the parent navigation item is currently active.\n */\n isActive?: boolean;\n}\n\n/**\n * Internal icon renderer for navigation items.\n *\n * Renders a standard 24px icon with automatic fallback between `activeIcon` (when `isActive` is true)\n * and the resting `icon`.\n */\nexport const NavigationItemIconRenderer: React.FC<\n NavigationItemIconRendererProps\n> = ({ icon, activeIcon, isActive }) => {\n if (isActive) {\n if (activeIcon) return <IconRenderer icon={activeIcon} />;\n if (icon) return <IconRenderer icon={icon} />;\n\n return null;\n }\n\n if (icon) return <IconRenderer icon={icon} />;\n return null;\n};\n"],"mappings":";;;;aAGMK,KAA+C,MAAA;CAAA,IAAAC,KAAA,GAAAJ,EAAAA,EAAAA,CAAA,CAAA,GAAC,EAAA,YAAAK,GAAQC;CACP,OADOF,EAAA,OAAAG,IACP,IAAAH,EAAA,MAA5C,IAAA,kBAACI,GAAD;EAAY;EAAY,MAAA;EAAI,iBAAA;CAAa,CAAA,GAAG,EAAA,KAAAD,GAAA,EAAA,KAAAD,IAA5CA;AAA4C,GA6B1CG,KAET,MAAA;CAAA,IAAAL,KAAA,GAAAJ,EAAAA,EAAAA,CAAA,CAAA,GAAC,EAAA,SAAA,eAAA,gBAAAK;CACD,IAAIK,GAAQ;EACR,IAAIC,GAAU;GAAA,IAAAL;GAA2C,OAA3CF,EAAA,OAAAO,IAA2C,IAAAP,EAAA,MAAlC,IAAA,kBAACD,GAAD,EAAoBJ,MAAAY,EAAU,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAL,IAAlCA;EAAkC;EACzD,IAAIC,GAAI;GAAA,IAAAD;GAAqC,OAArCF,EAAA,OAAAG,IAAqC,IAAAH,EAAA,MAA5B,IAAA,kBAACD,GAAD,EAAoB,QAAI,CAAA,GAAI,EAAA,KAAAI,GAAA,EAAA,KAAAD,IAA5BA;EAA4B;EAAC,OAEvC;CAAI;CAGf,IAAIC,GAAI;EAAA,IAAAD;EAAqC,OAArCF,EAAA,OAAAG,IAAqC,IAAAH,EAAA,MAA5B,IAAA,kBAACD,GAAD,EAAoB,QAAI,CAAA,GAAI,EAAA,KAAAI,GAAA,EAAA,KAAAD,IAA5BA;CAA4B;CAAC,OACvC;AAAI"}
1
+ {"version":3,"file":"index.js","names":["icon","activeIcon","_c","require_compiler_runtime","import_compiler_runtime","IconRenderer","$","t0","t1","icon","Icon","NavigationItemIconRenderer","isActive","activeIcon"],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx"],"sourcesContent":["import type { LucideIcon } from \"lucide-react\";\nimport { Icon } from \"@/components/Icon\";\n\nconst IconRenderer: React.FC<{ icon: LucideIcon }> = ({ icon }) => {\n return <Icon icon={icon} size={24} data-nav-icon />;\n};\n\n/**\n * Props for the [`NavigationItemIconRenderer`](src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx) component.\n */\nexport interface NavigationItemIconRendererProps {\n /**\n * Icon displayed when the item is in its inactive/resting state.\n */\n icon?: LucideIcon;\n\n /**\n * Alternate icon displayed when the item is active.\n */\n activeIcon?: LucideIcon;\n\n /**\n * Whether the parent navigation item is currently active.\n */\n isActive?: boolean;\n}\n\n/**\n * Internal icon renderer for navigation items.\n *\n * Renders a standard 24px icon with automatic fallback between `activeIcon` (when `isActive` is true)\n * and the resting `icon`.\n */\nexport const NavigationItemIconRenderer: React.FC<\n NavigationItemIconRendererProps\n> = ({ icon, activeIcon, isActive }) => {\n if (isActive) {\n if (activeIcon) return <IconRenderer icon={activeIcon} />;\n if (icon) return <IconRenderer icon={icon} />;\n\n return null;\n }\n\n if (icon) return <IconRenderer icon={icon} />;\n return null;\n};\n"],"mappings":";;;;A,aAGMK,KAA+C,MAAA;CAAA,IAAAC,KAAA,GAAAJ,EAAAA,EAAAA,CAAA,CAAA,GAAC,EAAA,YAAAK,GAAQC;CACP,OADOF,EAAA,OAAAG,IACP,IAAAH,EAAA,MAA5C,IAAA,kBAACI,GAAD;EAAY;EAAY,MAAA;EAAI,iBAAA;CAAa,CAAA,GAAG,EAAA,KAAAD,GAAA,EAAA,KAAAD,IAA5CA;AAA4C,GA6B1CG,KAET,MAAA;CAAA,IAAAL,KAAA,GAAAJ,EAAAA,EAAAA,CAAA,CAAA,GAAC,EAAA,SAAA,eAAA,gBAAAK;CACD,IAAIK,GAAQ;EACR,IAAIC,GAAU;GAAA,IAAAL;GAA2C,OAA3CF,EAAA,OAAAO,IAA2C,IAAAP,EAAA,MAAlC,IAAA,kBAACD,GAAD,EAAoBJ,MAAAY,EAAU,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAL,IAAlCA;EAAkC;EACzD,IAAIC,GAAI;GAAA,IAAAD;GAAqC,OAArCF,EAAA,OAAAG,IAAqC,IAAAH,EAAA,MAA5B,IAAA,kBAACD,GAAD,EAAoB,QAAI,CAAA,GAAI,EAAA,KAAAI,GAAA,EAAA,KAAAD,IAA5BA;EAA4B;EAAC,OAEvC;CAAI;CAGf,IAAIC,GAAI;EAAA,IAAAD;EAAqC,OAArCF,EAAA,OAAAG,IAAqC,IAAAH,EAAA,MAA5B,IAAA,kBAACD,GAAD,EAAoB,QAAI,CAAA,GAAI,EAAA,KAAAI,GAAA,EAAA,KAAAD,IAA5BA;CAA4B;CAAC,OACvC;AAAI"}
@@ -5,7 +5,7 @@ import { NavigationItemIconRenderer as i } from "../NavigationItemIconRenderer/i
5
5
  import a from "clsx";
6
6
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  import { Link as c } from "react-aria-components";
8
- //#region src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx
8
+ // src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx
9
9
  var l = e(), u = (e) => {
10
10
  let u = (0, l.c)(25), d, f, p, m, h, g, _;
11
11
  u[0] === e ? (d = u[1], f = u[2], p = u[3], m = u[4], h = u[5], g = u[6], _ = u[7]) : ({className: f, icon: m, activeIcon: d, label: g, href: p, isActive: h, ..._} = e, u[0] = e, u[1] = d, u[2] = f, u[3] = p, u[4] = m, u[5] = h, u[6] = g, u[7] = _);
@@ -28,7 +28,6 @@ var l = e(), u = (e) => {
28
28
  children: [C, g]
29
29
  }), u[18] = p, u[19] = g, u[20] = _, u[21] = x, u[22] = S, u[23] = C, u[24] = w) : w = u[24], w;
30
30
  };
31
- //#endregion
32
31
  export { u as NavigationLink };
33
32
 
34
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["icon","activeIcon","linkActive","href","label","_c","clsx","require_compiler_runtime","useNavigationContext","NavigationItemLabelTypography","clsx$1","import_compiler_runtime","NavigationLink","$","activeIcon","className","href","icon","isActive","label","props","t0","t1","isLinkActive","linkActive","t2","NavigationItemStyles","renderProps","t3","t4","NavigationItemIconRenderer","t5","Link"],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Link } from \"react-aria-components\";\nimport { useNavigationContext } from \"../../Navigation/navContext\";\nimport { NavigationItemLabelTypography, NavigationItemStyles } from \"../core\";\nimport { NavigationItemIconRenderer } from \"../NavigationItemIconRenderer\";\nimport type { NavigationLinkProps } from \"./types\";\n\n/**\n * Anchor-based navigation item component.\n *\n * Renders an accessible navigation link that evaluates active URL state matching (using `href`),\n * automatically toggles between resting and active icons, and applies Material Design 3\n * active state pill backgrounds.\n *\n * @example\n * ```tsx\n * import { NavigationLink } from \"@adgytec/web-ui-components\";\n * import { Home } from \"lucide-react\";\n *\n * <NavigationLink href=\"/dashboard\" label=\"Dashboard\" icon={Home} />\n * ```\n */\nexport const NavigationLink: React.FC<NavigationLinkProps> = ({\n className,\n icon,\n activeIcon,\n label,\n href,\n isActive,\n ...props\n}) => {\n const { isLinkActive } = useNavigationContext();\n const linkActive =\n typeof isActive === \"function\"\n ? isActive(href)\n : (isActive ?? isLinkActive?.(href));\n\n return (\n <Link\n className={(renderProps) =>\n clsx(\n NavigationItemStyles,\n NavigationItemLabelTypography,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n href={href}\n {...props}\n data-active={linkActive || undefined}\n >\n <NavigationItemIconRenderer\n icon={icon}\n activeIcon={activeIcon}\n isActive={linkActive}\n />\n {label}\n </Link>\n );\n};\n"],"mappings":";;;;;;;;aAsBaY,KAAgD,MAAA;CAAA,IAAAC,KAAA,GAAAR,EAAAA,EAAAA,CAAA,EAAA,GAAAS,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;CAAA,AAAAP,EAAA,OAAAQ,KAQ5D,IAAAR,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAR6D,uEAAA,GAAAO,KAAAC,GAQ7D,EAAA,KAAAA,GAAA,EAAA,KAAAP,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CACG,IAAA,EAAA,oBAAyBZ,EAAqB,GAAEc;CAAA,AAAAT,EAAA,OAAAG,KAAAH,EAAA,OAAAK,KAAAL,EAAA,QAAAU,KAE5C,IAAA,OAAOL,KAAa,aACdA,EAASF,CACwB,IAAhCE,KAAYK,IAAeP,CAAI,GAAE,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,MAAAK,GAAA,EAAA,MAAAD,KAAA,IAAAT,EAAA;CAH5C,IAAAW,IACIF,GAEyCG;CAAA,AAAAZ,EAAA,QAAAE,IAWhC,IAAAF,EAAA,OAPM,KAAA,MACPP,EACIoB,GACAjB,GACA,OAAOM,KAAc,aACfA,EAAUY,CACF,IAFdZ,CAGJ,GAAC,EAAA,MAAAA,GAAA,EAAA,MAAAU;CAIQ,IAAAG,IAAAJ,KAAA,KAAA,GAAuBK;CAAA,AAAAhB,EAAA,QAAAC,KAAAD,EAAA,QAAAI,KAAAJ,EAAA,QAAAW,KAEpC,IAAA,kBAACM,GAAD;EACU;EACM;EACF5B,UAAAsB;CAAU,CAAA,GACtB,EAAA,MAAAV,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAO,GAAA,EAAA,MAAAK,KAAA,IAAAhB,EAAA;CAAA,IAAAkB;CAEC,OAFDlB,EAAA,QAAAG,KAAAH,EAAA,QAAAM,KAAAN,EAAA,QAAAO,KAAAP,EAAA,QAAAY,KAAAZ,EAAA,QAAAe,KAAAf,EAAA,QAAAgB,KAlBN,IAAA,kBAACG,GAAD;EACe,WAAAP;EASL;EAAI,GACNL;EACS,eAAAQ;EAZjB,UAAA,CAcIC,GAKCV,CAnBA;KAoBE,EAAA,MAAAH,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAK,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAE,KAAA,IAAAlB,EAAA,KApBPkB;AAoBO"}
1
+ {"version":3,"file":"index.js","names":["icon","activeIcon","linkActive","href","label","_c","clsx","require_compiler_runtime","useNavigationContext","NavigationItemLabelTypography","clsx$1","import_compiler_runtime","NavigationLink","$","activeIcon","className","href","icon","isActive","label","props","t0","t1","isLinkActive","linkActive","t2","NavigationItemStyles","renderProps","t3","t4","NavigationItemIconRenderer","t5","Link"],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Link } from \"react-aria-components\";\nimport { useNavigationContext } from \"../../Navigation/navContext\";\nimport { NavigationItemLabelTypography, NavigationItemStyles } from \"../core\";\nimport { NavigationItemIconRenderer } from \"../NavigationItemIconRenderer\";\nimport type { NavigationLinkProps } from \"./types\";\n\n/**\n * Anchor-based navigation item component.\n *\n * Renders an accessible navigation link that evaluates active URL state matching (using `href`),\n * automatically toggles between resting and active icons, and applies Material Design 3\n * active state pill backgrounds.\n *\n * @example\n * ```tsx\n * import { NavigationLink } from \"@adgytec/web-ui-components\";\n * import { Home } from \"lucide-react\";\n *\n * <NavigationLink href=\"/dashboard\" label=\"Dashboard\" icon={Home} />\n * ```\n */\nexport const NavigationLink: React.FC<NavigationLinkProps> = ({\n className,\n icon,\n activeIcon,\n label,\n href,\n isActive,\n ...props\n}) => {\n const { isLinkActive } = useNavigationContext();\n const linkActive =\n typeof isActive === \"function\"\n ? isActive(href)\n : (isActive ?? isLinkActive?.(href));\n\n return (\n <Link\n className={(renderProps) =>\n clsx(\n NavigationItemStyles,\n NavigationItemLabelTypography,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n href={href}\n {...props}\n data-active={linkActive || undefined}\n >\n <NavigationItemIconRenderer\n icon={icon}\n activeIcon={activeIcon}\n isActive={linkActive}\n />\n {label}\n </Link>\n );\n};\n"],"mappings":";;;;;;;;A,aAsBaY,KAAgD,MAAA;CAAA,IAAAC,KAAA,GAAAR,EAAAA,EAAAA,CAAA,EAAA,GAAAS,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;CAAA,AAAAP,EAAA,OAAAQ,KAQ5D,IAAAR,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAR6D,uEAAA,GAAAO,KAAAC,GAQ7D,EAAA,KAAAA,GAAA,EAAA,KAAAP,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CACG,IAAA,EAAA,oBAAyBZ,EAAqB,GAAEc;CAAA,AAAAT,EAAA,OAAAG,KAAAH,EAAA,OAAAK,KAAAL,EAAA,QAAAU,KAE5C,IAAA,OAAOL,KAAa,aACdA,EAASF,CACwB,IAAhCE,KAAYK,IAAeP,CAAI,GAAE,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,MAAAK,GAAA,EAAA,MAAAD,KAAA,IAAAT,EAAA;CAH5C,IAAAW,IACIF,GAEyCG;CAAA,AAAAZ,EAAA,QAAAE,IAWhC,IAAAF,EAAA,OAPM,KAAA,MACPP,EACIoB,GACAjB,GACA,OAAOM,KAAc,aACfA,EAAUY,CACF,IAFdZ,CAGJ,GAAC,EAAA,MAAAA,GAAA,EAAA,MAAAU;CAIQ,IAAAG,IAAAJ,KAAA,KAAA,GAAuBK;CAAA,AAAAhB,EAAA,QAAAC,KAAAD,EAAA,QAAAI,KAAAJ,EAAA,QAAAW,KAEpC,IAAA,kBAACM,GAAD;EACU;EACM;EACF5B,UAAAsB;CAAU,CAAA,GACtB,EAAA,MAAAV,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAO,GAAA,EAAA,MAAAK,KAAA,IAAAhB,EAAA;CAAA,IAAAkB;CAEC,OAFDlB,EAAA,QAAAG,KAAAH,EAAA,QAAAM,KAAAN,EAAA,QAAAO,KAAAP,EAAA,QAAAY,KAAAZ,EAAA,QAAAe,KAAAf,EAAA,QAAAgB,KAlBN,IAAA,kBAACG,GAAD;EACe,WAAAP;EASL;EAAI,GACNL;EACS,eAAAQ;EAZjB,UAAA,CAcIC,GAKCV,CAnBA;C,IAoBE,EAAA,MAAAH,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAK,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAE,KAAA,IAAAlB,EAAA,KApBPkB;AAoBO"}
@@ -1,9 +1,9 @@
1
1
  import { Link } from 'react-aria-components';
2
2
  import { NavigationItemProps } from '../core';
3
3
  /**
4
- * Props for the [`NavigationLink`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx) component.
4
+ * Props for the [`NavigationLink`](src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx) component.
5
5
  *
6
- * Extends React Aria's `Link` properties and [`NavigationItemProps`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/core/navigationItem.ts#L8).
6
+ * Extends React Aria's `Link` properties and [`NavigationItemProps`](src/components/Navigation/NavigationItem/core/navigationItem.ts#L8).
7
7
  */
8
8
  export interface NavigationLinkProps extends Omit<React.ComponentPropsWithRef<typeof Link>, "children">, NavigationItemProps {
9
9
  }
@@ -1,2 +1 @@
1
- import { n as e, t } from "../../../../chunks/core9";
2
- export { t as NavigationItemLabelTypography, e as NavigationItemStyles };
1
+ export { t as NavigationItemLabelTypography, n as NavigationItemStyles } from "../../../../chunks/core9";
@@ -1,8 +1,8 @@
1
1
  import { LucideIcon } from 'lucide-react';
2
2
  import { ReactNode } from 'react';
3
3
  /**
4
- * Common configuration properties shared across navigation items ([`NavigationLink`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx)
5
- * and [`NavigationButton`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx)).
4
+ * Common configuration properties shared across navigation items ([`NavigationLink`](src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx)
5
+ * and [`NavigationButton`](src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx)).
6
6
  */
7
7
  export interface NavigationItemProps {
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Props for the [`NavigationScrollContainer`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.tsx) component.
2
+ * Props for the [`NavigationScrollContainer`](src/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.tsx) component.
3
3
  */
4
4
  export interface NavigationScrollContainerProps extends React.ComponentPropsWithRef<"div"> {
5
5
  }
@@ -7,7 +7,7 @@ export interface NavigationScrollContainerProps extends React.ComponentPropsWith
7
7
  * Scrollable viewport container for navigation items and sections.
8
8
  *
9
9
  * Automatically records and restores scroll progress on mount and scroll events,
10
- * coordinating with [`NavigationState`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationState/NavigationState.tsx)
10
+ * coordinating with [`NavigationState`](src/components/Navigation/NavigationState/NavigationState.tsx)
11
11
  * to keep scroll positions synchronized when navigating into and out of sub-menus.
12
12
  *
13
13
  * @example
@@ -1,2 +1 @@
1
- import { t as e } from "../../../chunks/NavigationScrollContainer";
2
- export { e as NavigationScrollContainer };
1
+ export { t as NavigationScrollContainer } from "../../../chunks/NavigationScrollContainer";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Props for the [`NavigationSection`](file:///home/rohan/work/adgytec/adgytec-web-ui-components/src/components/Navigation/NavigationSection/NavigationSection/NavigationSection.tsx) component.
2
+ * Props for the [`NavigationSection`](src/components/Navigation/NavigationSection/NavigationSection/NavigationSection.tsx) component.
3
3
  */
4
4
  export interface NavigationSectionProps extends React.ComponentPropsWithRef<"section"> {
5
5
  }
@@ -1,2 +1 @@
1
- import { t as e } from "../../../../chunks/NavigationSection";
2
- export { e as NavigationSection };
1
+ export { t as NavigationSection } from "../../../../chunks/NavigationSection";