@adgytec/adgytec-web-ui-components 2.0.0 → 2.1.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 (230) hide show
  1. package/dist/assets/AppBar.css +1 -0
  2. package/dist/assets/AppBarAvatar.css +1 -0
  3. package/dist/assets/AppBarHeadline.css +1 -0
  4. package/dist/assets/Navigation.css +1 -0
  5. package/dist/assets/NavigationScrollContainer.css +1 -0
  6. package/dist/assets/NavigationSection.css +1 -0
  7. package/dist/assets/NavigationSectionLabel.css +1 -0
  8. package/dist/assets/SideSheet.css +1 -1
  9. package/dist/assets/Tag.css +1 -1
  10. package/dist/assets/core10.css +1 -0
  11. package/dist/assets/core2.css +1 -1
  12. package/dist/assets/core3.css +1 -1
  13. package/dist/assets/core9.css +1 -0
  14. package/dist/chunks/ActionDialog +10 -10
  15. package/dist/chunks/AppBar +65 -0
  16. package/dist/chunks/AppBar.map +1 -0
  17. package/dist/chunks/AppBarAvatar +35 -0
  18. package/dist/chunks/AppBarAvatar.map +1 -0
  19. package/dist/chunks/AppBarHeadline +19 -0
  20. package/dist/chunks/AppBarHeadline.map +1 -0
  21. package/dist/chunks/BaseCalendar +35 -35
  22. package/dist/chunks/BottomSheet +17 -13
  23. package/dist/chunks/BottomSheet.map +1 -1
  24. package/dist/chunks/BottomSheetModal +5 -5
  25. package/dist/chunks/ButtonGroup +4 -4
  26. package/dist/chunks/CalendarCell +14 -14
  27. package/dist/chunks/CalendarGrid +7 -7
  28. package/dist/chunks/CalendarMenuItem +3 -3
  29. package/dist/chunks/CenteredSlider +16 -16
  30. package/dist/chunks/ComboBox +12 -12
  31. package/dist/chunks/ComboBoxTrigger +6 -6
  32. package/dist/chunks/ConnectedButtonGroup +4 -4
  33. package/dist/chunks/Dialog +10 -6
  34. package/dist/chunks/Dialog.map +1 -1
  35. package/dist/chunks/Disclosure +3 -3
  36. package/dist/chunks/DisclosureGroup +4 -4
  37. package/dist/chunks/DisclosureHeader +15 -15
  38. package/dist/chunks/DisclosurePanel +4 -4
  39. package/dist/chunks/Divider +3 -3
  40. package/dist/chunks/FieldError +3 -3
  41. package/dist/chunks/Input +12 -12
  42. package/dist/chunks/Input2 +28 -28
  43. package/dist/chunks/Modal +3 -3
  44. package/dist/chunks/ModalOverlay +3 -3
  45. package/dist/chunks/Navigation +68 -0
  46. package/dist/chunks/Navigation.map +1 -0
  47. package/dist/chunks/NavigationScrollContainer +32 -0
  48. package/dist/chunks/NavigationScrollContainer.map +1 -0
  49. package/dist/chunks/NavigationSection +10 -0
  50. package/dist/chunks/NavigationSection.map +1 -0
  51. package/dist/chunks/NavigationSectionLabel +12 -0
  52. package/dist/chunks/NavigationSectionLabel.map +1 -0
  53. package/dist/chunks/NavigationState +69 -0
  54. package/dist/chunks/NavigationState.map +1 -0
  55. package/dist/chunks/Popover +3 -3
  56. package/dist/chunks/Radio +13 -13
  57. package/dist/chunks/SearchField +10 -10
  58. package/dist/chunks/SelectTrigger +12 -12
  59. package/dist/chunks/SideSheet +50 -37
  60. package/dist/chunks/SideSheet.map +1 -1
  61. package/dist/chunks/SideSheetModal +6 -6
  62. package/dist/chunks/Slider +13 -13
  63. package/dist/chunks/SliderOutput +7 -7
  64. package/dist/chunks/SliderStops +9 -9
  65. package/dist/chunks/SliderThumb +5 -5
  66. package/dist/chunks/Snackbar +23 -23
  67. package/dist/chunks/SplitButton +20 -21
  68. package/dist/chunks/SplitButton.map +1 -1
  69. package/dist/chunks/SplitButtonTrigger +28 -28
  70. package/dist/chunks/SplitButtonTrigger.map +1 -1
  71. package/dist/chunks/Switch +21 -21
  72. package/dist/chunks/Switch.map +1 -1
  73. package/dist/chunks/Tab +12 -12
  74. package/dist/chunks/TabList +3 -3
  75. package/dist/chunks/TabPanel +3 -3
  76. package/dist/chunks/TabPanels +3 -3
  77. package/dist/chunks/Tabs +3 -3
  78. package/dist/chunks/Tag +18 -18
  79. package/dist/chunks/Tag.map +1 -1
  80. package/dist/chunks/ThemeSelector +42 -42
  81. package/dist/chunks/Toolbar +6 -6
  82. package/dist/chunks/Tooltip +3 -3
  83. package/dist/chunks/core +39 -39
  84. package/dist/chunks/core.map +1 -1
  85. package/dist/chunks/core2 +8 -8
  86. package/dist/chunks/core2.map +1 -1
  87. package/dist/chunks/core3 +3 -3
  88. package/dist/chunks/core8 +18 -0
  89. package/dist/chunks/core8.map +1 -0
  90. package/dist/chunks/core9 +6 -0
  91. package/dist/chunks/core9.map +1 -0
  92. package/dist/chunks/navContext +12 -0
  93. package/dist/chunks/navContext.map +1 -0
  94. package/dist/chunks/useSplash +7 -7
  95. package/dist/components/AppBar/AppBar/index.js +2 -0
  96. package/dist/components/AppBar/AppBarAction/index.js +12 -0
  97. package/dist/components/AppBar/AppBarAction/index.js.map +1 -0
  98. package/dist/components/AppBar/AppBarAvatar/index.js +2 -0
  99. package/dist/components/AppBar/AppBarHeadline/index.js +2 -0
  100. package/dist/components/AppBar/AppBarState/index.js +17 -0
  101. package/dist/components/AppBar/AppBarState/index.js.map +1 -0
  102. package/dist/components/AppBar/core/index.js +24 -0
  103. package/dist/components/AppBar/core/index.js.map +1 -0
  104. package/dist/components/AppBar/index.js +7 -0
  105. package/dist/components/Button/Button/index.js +16 -16
  106. package/dist/components/Button/IconButton/index.js +12 -12
  107. package/dist/components/Button/LinkButton/index.js +16 -16
  108. package/dist/components/Button/LinkIconButton/index.js +12 -12
  109. package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +32 -32
  110. package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
  111. package/dist/components/Button/ToggleButton/index.js +17 -17
  112. package/dist/components/Button/ToggleIconButton/index.js +15 -15
  113. package/dist/components/Calendar/Calendar/index.js +4 -4
  114. package/dist/components/Calendar/CalendarMonthMenu/index.js +10 -10
  115. package/dist/components/Calendar/CalendarYearMenu/index.js +7 -7
  116. package/dist/components/Calendar/RangeCalendar/index.js +4 -4
  117. package/dist/components/Dialog/core/index.js +9 -2
  118. package/dist/components/Dialog/core/index.js.map +1 -1
  119. package/dist/components/Dialog/index.js +6 -6
  120. package/dist/components/Input/DateField/index.js +9 -9
  121. package/dist/components/Input/DatePicker/DatePicker/index.js +15 -15
  122. package/dist/components/Input/DatePicker/DateRangePicker/index.js +19 -19
  123. package/dist/components/Input/Description/index.js +3 -3
  124. package/dist/components/Input/Label/index.js +3 -3
  125. package/dist/components/Input/Select/Select/index.js +8 -8
  126. package/dist/components/Input/Select/SelectItem/index.js +18 -18
  127. package/dist/components/Input/Select/SelectList/index.js +3 -3
  128. package/dist/components/Input/Select/SelectListSection/index.js +3 -3
  129. package/dist/components/Input/Select/SelectListSectionHeader/index.js +3 -3
  130. package/dist/components/Input/Slider/RangeSlider/index.js +13 -13
  131. package/dist/components/Input/TextArea/index.js +11 -11
  132. package/dist/components/Input/TimeField/index.js +9 -9
  133. package/dist/components/Menu/Menu/index.js +4 -4
  134. package/dist/components/Menu/MenuItem/index.js +19 -19
  135. package/dist/components/Menu/MenuSection/index.js +3 -3
  136. package/dist/components/Menu/MenuSectionHeader/index.js +3 -3
  137. package/dist/components/Menu/MenuTrigger/index.js +4 -4
  138. package/dist/components/Navigation/Navigation/index.js +3 -0
  139. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js +27 -0
  140. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -0
  141. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js +12 -0
  142. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -0
  143. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js +25 -0
  144. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -0
  145. package/dist/components/Navigation/NavigationItem/core/index.js +2 -0
  146. package/dist/components/Navigation/NavigationItem/index.js +3 -0
  147. package/dist/components/Navigation/NavigationScrollContainer/index.js +2 -0
  148. package/dist/components/Navigation/NavigationSection/NavigationSection/index.js +2 -0
  149. package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/index.js +2 -0
  150. package/dist/components/Navigation/NavigationSection/index.js +3 -0
  151. package/dist/components/Navigation/NavigationState/index.js +2 -0
  152. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +63 -0
  153. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -0
  154. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +34 -0
  155. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -0
  156. package/dist/components/Navigation/SubNavigation/index.js +3 -0
  157. package/dist/components/Navigation/core/index.js +2 -0
  158. package/dist/components/Navigation/index.js +10 -0
  159. package/dist/components/Sheets/SideSheet/index.js +2 -2
  160. package/dist/components/Sheets/index.js +2 -2
  161. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js +3 -3
  162. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js +3 -3
  163. package/dist/components/Tooltip/TooltipTrigger/index.js +3 -3
  164. package/dist/index.js +122 -107
  165. package/dist/index.js.map +1 -1
  166. package/dist/src/components/AppBar/AppBar/AppBar.d.ts +2 -0
  167. package/dist/src/components/AppBar/AppBar/index.d.ts +2 -0
  168. package/dist/src/components/AppBar/AppBar/types.d.ts +9 -0
  169. package/dist/src/components/AppBar/AppBarAction/AppBarAction.d.ts +2 -0
  170. package/dist/src/components/AppBar/AppBarAction/index.d.ts +1 -0
  171. package/dist/src/components/AppBar/AppBarAvatar/AppBarAvatar.d.ts +2 -0
  172. package/dist/src/components/AppBar/AppBarAvatar/index.d.ts +1 -0
  173. package/dist/src/components/AppBar/AppBarHeadline/AppBarHeadline.d.ts +2 -0
  174. package/dist/src/components/AppBar/AppBarHeadline/index.d.ts +1 -0
  175. package/dist/src/components/AppBar/AppBarState/AppBarState.d.ts +5 -0
  176. package/dist/src/components/AppBar/AppBarState/context.d.ts +5 -0
  177. package/dist/src/components/AppBar/AppBarState/index.d.ts +2 -0
  178. package/dist/src/components/AppBar/core/alignment.d.ts +1 -0
  179. package/dist/src/components/AppBar/core/context.d.ts +10 -0
  180. package/dist/src/components/AppBar/core/index.d.ts +3 -0
  181. package/dist/src/components/AppBar/core/size.d.ts +3 -0
  182. package/dist/src/components/AppBar/index.d.ts +6 -0
  183. package/dist/src/components/Dialog/core/context.d.ts +2 -0
  184. package/dist/src/components/Dialog/core/index.d.ts +1 -0
  185. package/dist/src/components/Input/Switch/types.d.ts +3 -0
  186. package/dist/src/components/Navigation/Navigation/Navigation.d.ts +2 -0
  187. package/dist/src/components/Navigation/Navigation/index.d.ts +4 -0
  188. package/dist/src/components/Navigation/Navigation/navContext.d.ts +7 -0
  189. package/dist/src/components/Navigation/Navigation/navRenderingContext.d.ts +5 -0
  190. package/dist/src/components/Navigation/Navigation/types.d.ts +10 -0
  191. package/dist/src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +2 -0
  192. package/dist/src/components/Navigation/NavigationItem/NavigationButton/index.d.ts +2 -0
  193. package/dist/src/components/Navigation/NavigationItem/NavigationButton/types.d.ts +7 -0
  194. package/dist/src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +6 -0
  195. package/dist/src/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.d.ts +1 -0
  196. package/dist/src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.d.ts +2 -0
  197. package/dist/src/components/Navigation/NavigationItem/NavigationLink/index.d.ts +2 -0
  198. package/dist/src/components/Navigation/NavigationItem/NavigationLink/types.d.ts +4 -0
  199. package/dist/src/components/Navigation/NavigationItem/core/index.d.ts +1 -0
  200. package/dist/src/components/Navigation/NavigationItem/core/navigationItem.d.ts +10 -0
  201. package/dist/src/components/Navigation/NavigationItem/index.d.ts +2 -0
  202. package/dist/src/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +1 -0
  203. package/dist/src/components/Navigation/NavigationScrollContainer/index.d.ts +1 -0
  204. package/dist/src/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +1 -0
  205. package/dist/src/components/Navigation/NavigationSection/NavigationSection/index.d.ts +1 -0
  206. package/dist/src/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +2 -0
  207. package/dist/src/components/Navigation/NavigationSection/NavigationSectionLabel/index.d.ts +1 -0
  208. package/dist/src/components/Navigation/NavigationSection/index.d.ts +2 -0
  209. package/dist/src/components/Navigation/NavigationState/NavigationState.d.ts +4 -0
  210. package/dist/src/components/Navigation/NavigationState/context.d.ts +10 -0
  211. package/dist/src/components/Navigation/NavigationState/index.d.ts +2 -0
  212. package/dist/src/components/Navigation/NavigationState/types.d.ts +5 -0
  213. package/dist/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +4 -0
  214. package/dist/src/components/Navigation/SubNavigation/SubNavigation/index.d.ts +1 -0
  215. package/dist/src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +6 -0
  216. package/dist/src/components/Navigation/SubNavigation/SubNavigationTrigger/index.d.ts +1 -0
  217. package/dist/src/components/Navigation/SubNavigation/index.d.ts +2 -0
  218. package/dist/src/components/Navigation/core/index.d.ts +3 -0
  219. package/dist/src/components/Navigation/core/navLabelContext.d.ts +3 -0
  220. package/dist/src/components/Navigation/core/navigation.d.ts +3 -0
  221. package/dist/src/components/Navigation/core/navigationInfo.d.ts +6 -0
  222. package/dist/src/components/Navigation/index.d.ts +5 -0
  223. package/dist/src/components/Sheets/SideSheet/SideSheetDialog.d.ts +2 -0
  224. package/dist/src/components/Sheets/SideSheet/index.d.ts +1 -0
  225. package/dist/src/components/Sheets/SideSheet/types.d.ts +2 -0
  226. package/dist/src/index.d.ts +2 -0
  227. package/dist/src/utils/index.d.ts +1 -0
  228. package/dist/src/utils/scroll/index.d.ts +1 -0
  229. package/dist/src/utils/scroll/scroll.d.ts +10 -0
  230. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,121 +1,136 @@
1
- import { t as e } from "./chunks/Icon";
2
- import { t } from "./chunks/Loader";
3
- import { n, t as r } from "./chunks/useSplash";
4
- import { n as ee, t as te } from "./chunks/tapTarget";
5
- import { a as i, c as a, d as o, f as s, i as c, l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./chunks/core";
6
- import { t as _ } from "./chunks/base";
7
- import { ButtonGroupContext as v, ConnectedButtonGroupContext as y, useButtonGroupContext as b, useConnectedButtonGroupContext as x } from "./components/Button/ButtonGroups/ButtonGroupContext/index.js";
8
- import { t as S } from "./chunks/ButtonGroup";
9
- import { t as C } from "./chunks/ConnectedButtonGroup";
10
- import { t as w } from "./chunks/RichTooltip";
11
- import { t as T } from "./chunks/RichTooltipActions";
12
- import { t as E } from "./chunks/RichTooltipInfo";
13
- import { i as D, n as O, r as k, t as A } from "./chunks/ThemeSelector";
14
- import { RichTooltipSubhead as j } from "./components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js";
15
- import { RichTooltipText as M } from "./components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js";
16
- import { t as N } from "./chunks/Tooltip";
17
- import { TooltipTrigger as P } from "./components/Tooltip/TooltipTrigger/index.js";
18
- import { Button as F } from "./components/Button/Button/index.js";
19
- import { IconButton as I } from "./components/Button/IconButton/index.js";
20
- import { LinkButton as L } from "./components/Button/LinkButton/index.js";
21
- import { LinkIconButton as R } from "./components/Button/LinkIconButton/index.js";
22
- import { a as z, i as B, n as V, r as H, t as U } from "./chunks/core2";
23
- import { t as W } from "./chunks/SplitButton";
24
- import { SplitButtonPrimary as G } from "./components/Button/SplitButton/SplitButtonPrimary/index.js";
25
- import { t as K } from "./chunks/SplitButtonTrigger";
26
- import { ToggleButton as q } from "./components/Button/ToggleButton/index.js";
27
- import { ToggleIconButton as J } from "./components/Button/ToggleIconButton/index.js";
28
- import { Calendar as Y } from "./components/Calendar/Calendar/index.js";
29
- import { RangeCalendar as X } from "./components/Calendar/RangeCalendar/index.js";
30
- import { DialogBodyTypography as Z, DialogHeadlineTypography as Q, DialogIconSize as ne } from "./components/Dialog/core/index.js";
31
- import { t as re } from "./chunks/Dialog";
32
- import { t as ie } from "./chunks/ActionDialog";
33
- import { t as ae } from "./chunks/Modal";
34
- import { t as oe } from "./chunks/ModalOverlay";
35
- import "./components/Dialog/index.js";
36
- import { DisclosureTypographyContext as se, useDisclosureTypographyContext as ce } from "./components/Disclosure/context/index.js";
37
- import { t as le } from "./chunks/Disclosure";
38
- import { t as ue } from "./chunks/DisclosureGroup";
39
- import { t as de } from "./chunks/DisclosureHeader";
40
- import { t as fe } from "./chunks/DisclosurePanel";
1
+ import { AppBarState as e, AppBarStateContext as t } from "./components/AppBar/AppBarState/index.js";
2
+ import { a as n, i as r, n as ee, r as te, t as i } from "./chunks/NavigationState";
3
+ import { n as a, t as o } from "./chunks/tapTarget";
4
+ import { i as s, n as c, r as l, t as u } from "./chunks/ThemeSelector";
5
+ import { t as d } from "./chunks/base";
6
+ import { AppBarContext as f, AppBarHeadlineBlockSize as p, AppBarHeadlineTypography as m, useAppBarContext as h } from "./components/AppBar/core/index.js";
7
+ import { t as g } from "./chunks/AppBar";
8
+ import { t as _ } from "./chunks/Icon";
9
+ import { t as v } from "./chunks/Loader";
10
+ import { n as y, t as b } from "./chunks/useSplash";
11
+ import { a as x, c as S, d as C, f as w, i as T, l as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N } from "./chunks/core";
12
+ import { ButtonGroupContext as P, ConnectedButtonGroupContext as F, useButtonGroupContext as I, useConnectedButtonGroupContext as L } from "./components/Button/ButtonGroups/ButtonGroupContext/index.js";
13
+ import { t as R } from "./chunks/ButtonGroup";
14
+ import { t as z } from "./chunks/ConnectedButtonGroup";
15
+ import { t as B } from "./chunks/RichTooltip";
16
+ import { t as V } from "./chunks/RichTooltipActions";
17
+ import { t as H } from "./chunks/RichTooltipInfo";
18
+ import { RichTooltipSubhead as U } from "./components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js";
19
+ import { RichTooltipText as W } from "./components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js";
20
+ import { t as G } from "./chunks/Tooltip";
21
+ import { TooltipTrigger as K } from "./components/Tooltip/TooltipTrigger/index.js";
22
+ import { Button as q } from "./components/Button/Button/index.js";
23
+ import { IconButton as J } from "./components/Button/IconButton/index.js";
24
+ import { LinkButton as Y } from "./components/Button/LinkButton/index.js";
25
+ import { LinkIconButton as X } from "./components/Button/LinkIconButton/index.js";
26
+ import { a as Z, i as Q, n as ne, r as re, t as ie } from "./chunks/core2";
27
+ import { t as ae } from "./chunks/SplitButton";
28
+ import { SplitButtonPrimary as oe } from "./components/Button/SplitButton/SplitButtonPrimary/index.js";
29
+ import { t as se } from "./chunks/SplitButtonTrigger";
30
+ import { ToggleButton as ce } from "./components/Button/ToggleButton/index.js";
31
+ import { ToggleIconButton as le } from "./components/Button/ToggleIconButton/index.js";
32
+ import { AppBarAction as ue } from "./components/AppBar/AppBarAction/index.js";
33
+ import { t as de } from "./chunks/AppBarAvatar";
34
+ import { t as fe } from "./chunks/AppBarHeadline";
35
+ import "./components/AppBar/index.js";
36
+ import { Calendar as pe } from "./components/Calendar/Calendar/index.js";
37
+ import { RangeCalendar as me } from "./components/Calendar/RangeCalendar/index.js";
38
+ import { DialogBodyTypography as he, DialogContext as ge, DialogHeadlineTypography as _e, DialogIconSize as ve, useInDialog as ye } from "./components/Dialog/core/index.js";
39
+ import { t as be } from "./chunks/Dialog";
40
+ import { t as xe } from "./chunks/ActionDialog";
41
+ import { t as Se } from "./chunks/Modal";
42
+ import { t as Ce } from "./chunks/ModalOverlay";
43
+ import { DisclosureTypographyContext as we, useDisclosureTypographyContext as Te } from "./components/Disclosure/context/index.js";
44
+ import { t as Ee } from "./chunks/Disclosure";
45
+ import { t as De } from "./chunks/DisclosureGroup";
46
+ import { t as Oe } from "./chunks/DisclosureHeader";
47
+ import { t as ke } from "./chunks/DisclosurePanel";
41
48
  import "./components/Disclosure/index.js";
42
- import { t as pe } from "./chunks/Divider";
43
- import { Image as me } from "./components/Image/index.js";
44
- import { n as he, t as ge } from "./chunks/Input";
45
- import { Description as _e } from "./components/Input/Description/index.js";
46
- import { t as ve } from "./chunks/FieldError";
47
- import { Label as ye } from "./components/Input/Label/index.js";
48
- import { DateField as be } from "./components/Input/DateField/index.js";
49
- import { t as xe } from "./chunks/Popover";
50
- import { n as Se, t as Ce } from "./chunks/Input2";
51
- import { useControllableState as we } from "./components/Input/hooks/index.js";
52
- import { DatePicker as Te } from "./components/Input/DatePicker/DatePicker/index.js";
53
- import { DateRangePicker as Ee } from "./components/Input/DatePicker/DateRangePicker/index.js";
54
- import { n as De, t as Oe } from "./chunks/Radio";
55
- import { t as ke } from "./chunks/SearchField";
56
- import { n as Ae, r as $, t as je } from "./chunks/Tag";
57
- import { t as Me } from "./chunks/ComboBox";
58
- import { t as Ne } from "./chunks/ComboBoxPopover";
59
- import { t as Pe } from "./chunks/ComboBoxTrigger";
60
- import { Select as Fe } from "./components/Input/Select/Select/index.js";
61
- import { a as Ie, c as Le, d as Re, f as ze, i as Be, l as Ve, n as He, o as Ue, p as We, r as Ge, s as Ke, t as qe, u as Je } from "./chunks/core6";
62
- import { Menu as Ye } from "./components/Menu/Menu/index.js";
63
- import { MenuItem as Xe } from "./components/Menu/MenuItem/index.js";
64
- import { t as Ze } from "./chunks/MenuPopover";
65
- import { MenuSection as Qe } from "./components/Menu/MenuSection/index.js";
66
- import { MenuSectionHeader as $e } from "./components/Menu/MenuSectionHeader/index.js";
67
- import { MenuShortcut as et } from "./components/Menu/MenuShortcut/index.js";
68
- import { MenuTrailingText as tt } from "./components/Menu/MenuTrailingText/index.js";
69
- import { MenuTrigger as nt } from "./components/Menu/MenuTrigger/index.js";
70
- import { t as rt } from "./chunks/SubmenuPopover";
71
- import { SelectItem as it } from "./components/Input/Select/SelectItem/index.js";
72
- import { SelectList as at } from "./components/Input/Select/SelectList/index.js";
73
- import { SelectListSection as ot } from "./components/Input/Select/SelectListSection/index.js";
74
- import { SelectListSectionHeader as st } from "./components/Input/Select/SelectListSectionHeader/index.js";
75
- import { t as ct } from "./chunks/SelectPopover";
76
- import { t as lt } from "./chunks/SelectTrigger";
77
- import { a as ut, c as dt, i as ft, n as pt, o as mt, r as ht, s as gt, t as _t } from "./chunks/core7";
78
- import { t as vt } from "./chunks/SliderOutput";
79
- import { t as yt } from "./chunks/CenteredSlider";
80
- import { RangeSlider as bt } from "./components/Input/Slider/RangeSlider/index.js";
81
- import { t as xt } from "./chunks/Slider";
82
- import { t as St } from "./chunks/Switch";
83
- import { TextArea as Ct } from "./components/Input/TextArea/index.js";
84
- import { TimeField as wt } from "./components/Input/TimeField/index.js";
85
- import { n as Tt, t as Et } from "./chunks/BottomSheetModal";
86
- import { t as Dt } from "./chunks/BottomSheet";
87
- import { n as Ot, t as kt } from "./chunks/SideSheetModal";
88
- import { t as At } from "./chunks/SideSheet";
49
+ import { t as Ae } from "./chunks/Divider";
50
+ import { Image as je } from "./components/Image/index.js";
51
+ import { n as Me, t as Ne } from "./chunks/Input";
52
+ import { Description as Pe } from "./components/Input/Description/index.js";
53
+ import { t as Fe } from "./chunks/FieldError";
54
+ import { Label as Ie } from "./components/Input/Label/index.js";
55
+ import { DateField as Le } from "./components/Input/DateField/index.js";
56
+ import { t as Re } from "./chunks/Popover";
57
+ import { n as ze, t as Be } from "./chunks/Input2";
58
+ import { useControllableState as Ve } from "./components/Input/hooks/index.js";
59
+ import { DatePicker as He } from "./components/Input/DatePicker/DatePicker/index.js";
60
+ import { DateRangePicker as $ } from "./components/Input/DatePicker/DateRangePicker/index.js";
61
+ import { n as Ue, t as We } from "./chunks/Radio";
62
+ import { t as Ge } from "./chunks/SearchField";
63
+ import { n as Ke, r as qe, t as Je } from "./chunks/Tag";
64
+ import { t as Ye } from "./chunks/ComboBox";
65
+ import { t as Xe } from "./chunks/ComboBoxPopover";
66
+ import { t as Ze } from "./chunks/ComboBoxTrigger";
67
+ import { Select as Qe } from "./components/Input/Select/Select/index.js";
68
+ import { a as $e, c as et, d as tt, f as nt, i as rt, l as it, n as at, o as ot, p as st, r as ct, s as lt, t as ut, u as dt } from "./chunks/core6";
69
+ import { Menu as ft } from "./components/Menu/Menu/index.js";
70
+ import { MenuItem as pt } from "./components/Menu/MenuItem/index.js";
71
+ import { t as mt } from "./chunks/MenuPopover";
72
+ import { MenuSection as ht } from "./components/Menu/MenuSection/index.js";
73
+ import { MenuSectionHeader as gt } from "./components/Menu/MenuSectionHeader/index.js";
74
+ import { MenuShortcut as _t } from "./components/Menu/MenuShortcut/index.js";
75
+ import { MenuTrailingText as vt } from "./components/Menu/MenuTrailingText/index.js";
76
+ import { MenuTrigger as yt } from "./components/Menu/MenuTrigger/index.js";
77
+ import { t as bt } from "./chunks/SubmenuPopover";
78
+ import { SelectItem as xt } from "./components/Input/Select/SelectItem/index.js";
79
+ import { SelectList as St } from "./components/Input/Select/SelectList/index.js";
80
+ import { SelectListSection as Ct } from "./components/Input/Select/SelectListSection/index.js";
81
+ import { SelectListSectionHeader as wt } from "./components/Input/Select/SelectListSectionHeader/index.js";
82
+ import { t as Tt } from "./chunks/SelectPopover";
83
+ import { t as Et } from "./chunks/SelectTrigger";
84
+ import { a as Dt, c as Ot, i as kt, n as At, o as jt, r as Mt, s as Nt, t as Pt } from "./chunks/core7";
85
+ import { t as Ft } from "./chunks/SliderOutput";
86
+ import { t as It } from "./chunks/CenteredSlider";
87
+ import { RangeSlider as Lt } from "./components/Input/Slider/RangeSlider/index.js";
88
+ import { t as Rt } from "./chunks/Slider";
89
+ import { t as zt } from "./chunks/Switch";
90
+ import { TextArea as Bt } from "./components/Input/TextArea/index.js";
91
+ import { TimeField as Vt } from "./components/Input/TimeField/index.js";
92
+ import { n as Ht, t as Ut } from "./chunks/navContext";
93
+ import { n as Wt, r as Gt, t as Kt } from "./chunks/Navigation";
94
+ import { NavigationButton as qt } from "./components/Navigation/NavigationItem/NavigationButton/index.js";
95
+ import { NavigationLink as Jt } from "./components/Navigation/NavigationItem/NavigationLink/index.js";
96
+ import { t as Yt } from "./chunks/NavigationSection";
97
+ import { t as Xt } from "./chunks/NavigationSectionLabel";
98
+ import { SubNavigation as Zt } from "./components/Navigation/SubNavigation/SubNavigation/index.js";
99
+ import { SubNavigationTrigger as Qt } from "./components/Navigation/SubNavigation/SubNavigationTrigger/index.js";
100
+ import "./components/Navigation/index.js";
101
+ import { n as $t, t as en } from "./chunks/BottomSheetModal";
102
+ import { t as tn } from "./chunks/BottomSheet";
103
+ import { n as nn, t as rn } from "./chunks/SideSheetModal";
104
+ import { n as an, t as on } from "./chunks/SideSheet";
89
105
  import "./components/Sheets/index.js";
90
- import { n as jt, r as Mt, t as Nt } from "./chunks/Snackbar";
91
- import "./components/Splash/index.js";
92
- import { t as Pt } from "./chunks/Tab";
93
- import { t as Ft } from "./chunks/TabList";
94
- import { t as It } from "./chunks/TabPanel";
95
- import { t as Lt } from "./chunks/TabPanels";
96
- import { t as Rt } from "./chunks/Tabs";
106
+ import { n as sn, r as cn, t as ln } from "./chunks/Snackbar";
107
+ import { t as un } from "./chunks/Tab";
108
+ import { t as dn } from "./chunks/TabList";
109
+ import { t as fn } from "./chunks/TabPanel";
110
+ import { t as pn } from "./chunks/TabPanels";
111
+ import { t as mn } from "./chunks/Tabs";
97
112
  import "./components/Tabs/index.js";
98
- import { n as zt, t as Bt } from "./chunks/Toolbar";
99
- import * as Vt from "zod";
100
- //#region src/utils/typography/fluid.ts
101
- var Ht = {
102
- displayLarge: "typography-display-large-fluid",
103
- displayMedium: "typography-display-medium-fluid",
104
- displaySmall: "typography-display-small-fluid",
105
- headlineLarge: "typography-headline-large-fluid",
106
- headlineMedium: "typography-headline-medium-fluid",
107
- headlineSmall: "typography-headline-small-fluid"
108
- }, Ut = (e, t) => {
113
+ import { n as hn, t as gn } from "./chunks/Toolbar";
114
+ import * as _n from "zod";
115
+ //#region src/utils/form/form.ts
116
+ var vn = (e, t) => {
109
117
  let n = Object.fromEntries(new FormData(e)), r = t.safeParse(n);
110
118
  return r.success ? {
111
119
  success: !0,
112
120
  data: r.data
113
121
  } : {
114
122
  success: !1,
115
- errors: Vt.flattenError(r.error).fieldErrors
123
+ errors: _n.flattenError(r.error).fieldErrors
116
124
  };
125
+ }, yn = {
126
+ displayLarge: "typography-display-large-fluid",
127
+ displayMedium: "typography-display-medium-fluid",
128
+ displaySmall: "typography-display-small-fluid",
129
+ headlineLarge: "typography-headline-large-fluid",
130
+ headlineMedium: "typography-headline-medium-fluid",
131
+ headlineSmall: "typography-headline-small-fluid"
117
132
  };
118
133
  //#endregion
119
- export { ie as ActionDialog, _t as ActiveTrackStyles, Ae as AvatarSize, Dt as BottomSheet, Tt as BottomSheetContext, Et as BottomSheetModal, F as Button, o as ButtonCore, S as ButtonGroup, v as ButtonGroupContext, c as ButtonIconSizeMapping, i as ButtonLabelTextMapping, s as ButtonReset, d as ButtonSizeBase, Y as Calendar, yt as CenteredSlider, he as Checkbox, ge as CheckboxGroup, Me as ComboBox, Ne as ComboBoxPopover, Pe as ComboBoxTrigger, p as ConnectedButton, C as ConnectedButtonGroup, y as ConnectedButtonGroupContext, be as DateField, Te as DatePicker, Ee as DateRangePicker, _e as Description, re as Dialog, Z as DialogBodyTypography, Q as DialogHeadlineTypography, ne as DialogIconSize, le as Disclosure, ue as DisclosureGroup, de as DisclosureHeader, fe as DisclosurePanel, se as DisclosureTypographyContext, pe as Divider, ve as FieldError, e as Icon, I as IconButton, m as IconButtonIconSizeMapping, me as Image, pt as InactiveTrackStyles, Ce as Input, Se as InputButton, ye as Label, L as LinkButton, R as LinkIconButton, t as Loader, Ye as Menu, Ke as MenuBaseLayout, Xe as MenuItem, Le as MenuItemIconSize, qe as MenuItemLeadingStyles, He as MenuItemStyles, Ge as MenuItemTrailingStyles, Ze as MenuPopover, Qe as MenuSection, $e as MenuSectionHeader, Be as MenuSectionHeaderStyles, Ie as MenuSectionStyles, et as MenuShortcut, Ue as MenuStyles, tt as MenuTrailingText, nt as MenuTrigger, ae as Modal, oe as ModalOverlay, xe as Popover, De as Radio, Oe as RadioGroup, X as RangeCalendar, bt as RangeSlider, w as RichTooltip, T as RichTooltipActions, E as RichTooltipInfo, j as RichTooltipSubhead, M as RichTooltipText, ke as SearchField, Fe as Select, it as SelectItem, at as SelectList, ot as SelectListSection, st as SelectListSectionHeader, ct as SelectPopover, lt as SelectTrigger, At as SideSheet, Ot as SideSheetContext, kt as SideSheetModal, xt as Slider, dt as SliderColors, vt as SliderOutput, ft as SliderSizeStyles, ut as SliderStyles, jt as SnackbarQueueContext, Nt as SnackbarRegion, n as Splash, W as SplitButton, G as SplitButtonPrimary, U as SplitButtonPrimaryBase, K as SplitButtonTrigger, V as SplitButtonTriggerBase, H as SplitButtonTriggerIconSize, B as SplitButtonVariantBase, rt as SubmenuPopover, St as Switch, Pt as Tab, Ft as TabList, It as TabPanel, Lt as TabPanels, Rt as Tabs, je as Tag, $ as TagIconSize, te as TapTarget, ee as TapTargetBefore, Ct as TextArea, O as ThemeProvider, A as ThemeSelector, wt as TimeField, q as ToggleButton, J as ToggleIconButton, zt as Toolbar, Bt as ToolbarToggleButtonGroup, N as Tooltip, P as TooltipTrigger, mt as TrackContainerStyles, gt as TrackStyles, ht as VisualTrackStyles, D as buildThemeString, l as buttonColorBase, g as buttonColorConfig, a as buttonSizeConfig, Ht as fluidTypography, Je as menuBaseColor, Re as menuColorConfig, ze as menuItemBaseColor, We as menuItemLabelColor, Ve as menuLayoutConfig, f as newButtonBaseDataAttrs, z as splitButtonSizeConfig, _ as typography, u as useButtonConfig, b as useButtonGroupContext, x as useConnectedButtonGroupContext, we as useControllableState, ce as useDisclosureTypographyContext, Mt as useSnackbarQueue, r as useSplash, k as useTheme, Ut as validateAndGetFormValues, h as withTooltip };
134
+ export { xe as ActionDialog, Pt as ActiveTrackStyles, g as AppBar, ue as AppBarAction, de as AppBarAvatar, f as AppBarContext, fe as AppBarHeadline, p as AppBarHeadlineBlockSize, m as AppBarHeadlineTypography, e as AppBarState, t as AppBarStateContext, Ke as AvatarSize, tn as BottomSheet, $t as BottomSheetContext, en as BottomSheetModal, q as Button, C as ButtonCore, R as ButtonGroup, P as ButtonGroupContext, T as ButtonIconSizeMapping, x as ButtonLabelTextMapping, w as ButtonReset, O as ButtonSizeBase, pe as Calendar, It as CenteredSlider, Me as Checkbox, Ne as CheckboxGroup, Ye as ComboBox, Xe as ComboBoxPopover, Ze as ComboBoxTrigger, A as ConnectedButton, z as ConnectedButtonGroup, F as ConnectedButtonGroupContext, Le as DateField, He as DatePicker, $ as DateRangePicker, Pe as Description, be as Dialog, he as DialogBodyTypography, ge as DialogContext, _e as DialogHeadlineTypography, ve as DialogIconSize, Ee as Disclosure, De as DisclosureGroup, Oe as DisclosureHeader, ke as DisclosurePanel, we as DisclosureTypographyContext, Ae as Divider, Fe as FieldError, _ as Icon, J as IconButton, j as IconButtonIconSizeMapping, je as Image, At as InactiveTrackStyles, Be as Input, ze as InputButton, Ie as Label, Y as LinkButton, X as LinkIconButton, v as Loader, ft as Menu, lt as MenuBaseLayout, pt as MenuItem, et as MenuItemIconSize, ut as MenuItemLeadingStyles, at as MenuItemStyles, ct as MenuItemTrailingStyles, mt as MenuPopover, ht as MenuSection, gt as MenuSectionHeader, rt as MenuSectionHeaderStyles, $e as MenuSectionStyles, _t as MenuShortcut, ot as MenuStyles, vt as MenuTrailingText, yt as MenuTrigger, Se as Modal, Ce as ModalOverlay, Kt as Navigation, qt as NavigationButton, Ut as NavigationContext, Jt as NavigationLink, Wt as NavigationRenderingContext, Yt as NavigationSection, Xt as NavigationSectionLabel, i as NavigationState, ee as NavigationStateContext, Re as Popover, Ue as Radio, We as RadioGroup, me as RangeCalendar, Lt as RangeSlider, B as RichTooltip, V as RichTooltipActions, H as RichTooltipInfo, U as RichTooltipSubhead, W as RichTooltipText, Ge as SearchField, Qe as Select, xt as SelectItem, St as SelectList, Ct as SelectListSection, wt as SelectListSectionHeader, Tt as SelectPopover, Et as SelectTrigger, on as SideSheet, nn as SideSheetContext, an as SideSheetDialog, rn as SideSheetModal, Rt as Slider, Ot as SliderColors, Ft as SliderOutput, kt as SliderSizeStyles, Dt as SliderStyles, sn as SnackbarQueueContext, ln as SnackbarRegion, y as Splash, ae as SplitButton, oe as SplitButtonPrimary, ie as SplitButtonPrimaryBase, se as SplitButtonTrigger, ne as SplitButtonTriggerBase, re as SplitButtonTriggerIconSize, Q as SplitButtonVariantBase, Zt as SubNavigation, Qt as SubNavigationTrigger, bt as SubmenuPopover, zt as Switch, un as Tab, dn as TabList, fn as TabPanel, pn as TabPanels, mn as Tabs, Je as Tag, qe as TagIconSize, o as TapTarget, a as TapTargetBefore, Bt as TextArea, c as ThemeProvider, u as ThemeSelector, Vt as TimeField, ce as ToggleButton, le as ToggleIconButton, hn as Toolbar, gn as ToolbarToggleButtonGroup, G as Tooltip, K as TooltipTrigger, jt as TrackContainerStyles, Nt as TrackStyles, Mt as VisualTrackStyles, s as buildThemeString, E as buttonColorBase, N as buttonColorConfig, S as buttonSizeConfig, yn as fluidTypography, r as getScrollProgress, n as getScrollTopFromProgress, dt as menuBaseColor, tt as menuColorConfig, nt as menuItemBaseColor, st as menuItemLabelColor, it as menuLayoutConfig, k as newButtonBaseDataAttrs, Z as splitButtonSizeConfig, d as typography, h as useAppBarContext, D as useButtonConfig, I as useButtonGroupContext, L as useConnectedButtonGroupContext, Ve as useControllableState, Te as useDisclosureTypographyContext, ye as useInDialog, Gt as useNavigationContainer, Ht as useNavigationContext, te as useNavigationState, cn as useSnackbarQueue, b as useSplash, l as useTheme, vn as validateAndGetFormValues, M as withTooltip };
120
135
 
121
136
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/utils/typography/fluid.ts","../src/utils/form/form.ts"],"sourcesContent":["export const fluidTypography = {\n displayLarge: \"typography-display-large-fluid\",\n displayMedium: \"typography-display-medium-fluid\",\n displaySmall: \"typography-display-small-fluid\",\n\n headlineLarge: \"typography-headline-large-fluid\",\n headlineMedium: \"typography-headline-medium-fluid\",\n headlineSmall: \"typography-headline-small-fluid\",\n} as const;\n\nexport type FluidTypographyVariant =\n (typeof fluidTypography)[keyof typeof fluidTypography];\n","import * as z from \"zod\";\n\ninterface FormValidateSuccessResult<T> {\n success: true;\n data: T;\n}\n\ninterface FormValidateFailureResult<T> {\n success: false;\n errors: Partial<Record<keyof T, string | string[]>>;\n}\n\ntype FormValidateResult<T> =\n | FormValidateSuccessResult<T>\n | FormValidateFailureResult<T>;\n\nexport type ValidateAndGetFormValues = <T extends z.ZodTypeAny>(\n formElement: HTMLFormElement,\n schema: T\n) => FormValidateResult<z.infer<T>>;\n\nexport const validateAndGetFormValues: ValidateAndGetFormValues = (\n formElement,\n schema\n) => {\n const valueObject = Object.fromEntries(new FormData(formElement));\n const result = schema.safeParse(valueObject);\n if (result.success) {\n return {\n success: true,\n data: result.data,\n };\n }\n\n return {\n success: false,\n errors: z.flattenError(result.error).fieldErrors,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAa,KAAkB;CAC3B,cAAc;CACd,eAAe;CACf,cAAc;CAEd,eAAe;CACf,gBAAgB;CAChB,eAAe;AACnB,GCaa,MACT,GACA,MACC;CACD,IAAM,IAAc,OAAO,YAAY,IAAI,SAAS,CAAW,CAAC,GAC1D,IAAS,EAAO,UAAU,CAAW;CAQ3C,OAPI,EAAO,UACA;EACH,SAAS;EACT,MAAM,EAAO;CACjB,IAGG;EACH,SAAS;EACT,QAAQ,GAAE,aAAa,EAAO,KAAK,EAAE;CACzC;AACJ"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/utils/form/form.ts","../src/utils/typography/fluid.ts"],"sourcesContent":["import * as z from \"zod\";\n\ninterface FormValidateSuccessResult<T> {\n success: true;\n data: T;\n}\n\ninterface FormValidateFailureResult<T> {\n success: false;\n errors: Partial<Record<keyof T, string | string[]>>;\n}\n\ntype FormValidateResult<T> =\n | FormValidateSuccessResult<T>\n | FormValidateFailureResult<T>;\n\nexport type ValidateAndGetFormValues = <T extends z.ZodTypeAny>(\n formElement: HTMLFormElement,\n schema: T\n) => FormValidateResult<z.infer<T>>;\n\nexport const validateAndGetFormValues: ValidateAndGetFormValues = (\n formElement,\n schema\n) => {\n const valueObject = Object.fromEntries(new FormData(formElement));\n const result = schema.safeParse(valueObject);\n if (result.success) {\n return {\n success: true,\n data: result.data,\n };\n }\n\n return {\n success: false,\n errors: z.flattenError(result.error).fieldErrors,\n };\n};\n","export const fluidTypography = {\n displayLarge: \"typography-display-large-fluid\",\n displayMedium: \"typography-display-medium-fluid\",\n displaySmall: \"typography-display-small-fluid\",\n\n headlineLarge: \"typography-headline-large-fluid\",\n headlineMedium: \"typography-headline-medium-fluid\",\n headlineSmall: \"typography-headline-small-fluid\",\n} as const;\n\nexport type FluidTypographyVariant =\n (typeof fluidTypography)[keyof typeof fluidTypography];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,IAAa,MACT,GACA,MACC;CACD,IAAM,IAAc,OAAO,YAAY,IAAI,SAAS,CAAW,CAAC,GAC1D,IAAS,EAAO,UAAU,CAAW;CAQ3C,OAPI,EAAO,UACA;EACH,SAAS;EACT,MAAM,EAAO;CACjB,IAGG;EACH,SAAS;EACT,QAAQ,GAAE,aAAa,EAAO,KAAK,EAAE;CACzC;AACJ,GCtCa,KAAkB;CAC3B,cAAc;CACd,eAAe;CACf,cAAc;CAEd,eAAe;CACf,gBAAgB;CAChB,eAAe;AACnB"}
@@ -0,0 +1,2 @@
1
+ import { AppBarProps } from './types';
2
+ export declare const AppBar: React.FC<AppBarProps>;
@@ -0,0 +1,2 @@
1
+ export * from './AppBar';
2
+ export type * from './types';
@@ -0,0 +1,9 @@
1
+ import { ReactElement } from 'react';
2
+ import { AppBarAlignment, AppBarSize } from '../core';
3
+ export interface AppBarProps extends Omit<React.ComponentPropsWithRef<"header">, "children"> {
4
+ size?: AppBarSize;
5
+ alignment?: AppBarAlignment;
6
+ leadingAction?: ReactElement;
7
+ trailingActions?: ReactElement[];
8
+ headline?: ReactElement;
9
+ }
@@ -0,0 +1,2 @@
1
+ import { IconButtonProps } from '../../Button';
2
+ export declare const AppBarAction: React.FC<Omit<IconButtonProps, "size">>;
@@ -0,0 +1 @@
1
+ export * from './AppBarAction';
@@ -0,0 +1,2 @@
1
+ import { Button } from 'react-aria-components';
2
+ export declare const AppBarAvatar: React.FC<React.ComponentPropsWithRef<typeof Button>>;
@@ -0,0 +1 @@
1
+ export * from './AppBarAvatar';
@@ -0,0 +1,2 @@
1
+ import { Heading } from 'react-aria-components';
2
+ export declare const AppBarHeadline: React.FC<React.ComponentPropsWithRef<typeof Heading>>;
@@ -0,0 +1 @@
1
+ export * from './AppBarHeadline';
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const AppBarState: React.FC<{
3
+ children?: ReactNode;
4
+ initialScrolling?: boolean;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ export type AppBarStateContextType = {
2
+ isScrolling: boolean;
3
+ updateScrolling: (isScrolling: boolean) => void;
4
+ };
5
+ export declare const AppBarStateContext: import('react').Context<AppBarStateContextType | null>;
@@ -0,0 +1,2 @@
1
+ export * from './AppBarState';
2
+ export * from './context';
@@ -0,0 +1 @@
1
+ export type AppBarAlignment = "default" | "centered";
@@ -0,0 +1,10 @@
1
+ import { AppBarAlignment } from './alignment';
2
+ import { AppBarSize } from './size';
3
+ export type AppBarContextType = {
4
+ size: AppBarSize;
5
+ alignment: AppBarAlignment;
6
+ headlineBlockSize: number;
7
+ headlineTypography: string;
8
+ };
9
+ export declare const AppBarContext: import('react').Context<AppBarContextType | null>;
10
+ export declare function useAppBarContext(): AppBarContextType;
@@ -0,0 +1,3 @@
1
+ export * from './alignment';
2
+ export * from './context';
3
+ export * from './size';
@@ -0,0 +1,3 @@
1
+ export type AppBarSize = "small" | "medium" | "large";
2
+ export declare const AppBarHeadlineTypography: Record<AppBarSize, string>;
3
+ export declare const AppBarHeadlineBlockSize: Record<AppBarSize, number>;
@@ -0,0 +1,6 @@
1
+ export * from './AppBar';
2
+ export * from './AppBarAction';
3
+ export * from './AppBarAvatar';
4
+ export * from './AppBarHeadline';
5
+ export * from './AppBarState';
6
+ export * from './core';
@@ -0,0 +1,2 @@
1
+ export declare const DialogContext: import('react').Context<boolean | null>;
2
+ export declare function useInDialog(): boolean;
@@ -1 +1,2 @@
1
+ export * from './context';
1
2
  export * from './typography';
@@ -1,6 +1,9 @@
1
+ import { LucideIcon } from 'lucide-react';
1
2
  import { Switch } from 'react-aria-components';
2
3
  export interface SwitchProps extends React.ComponentPropsWithRef<typeof Switch> {
3
4
  icon?: "none" | "selected" | "both";
4
5
  labelPlacement?: "start" | "end";
5
6
  containerStateLayer?: boolean;
7
+ unselectedIcon?: LucideIcon;
8
+ selectedIcon?: LucideIcon;
6
9
  }
@@ -0,0 +1,2 @@
1
+ import { NavigationProps } from './types';
2
+ export declare const Navigation: React.FC<NavigationProps>;
@@ -0,0 +1,4 @@
1
+ export * from './Navigation';
2
+ export * from './navContext';
3
+ export * from './navRenderingContext';
4
+ export * from './types';
@@ -0,0 +1,7 @@
1
+ import { IsButtonActive, IsLinkActive } from './types';
2
+ export type NavigationContextType = {
3
+ isLinkActive?: IsLinkActive;
4
+ isButtonActive?: IsButtonActive;
5
+ };
6
+ export declare const NavigationContext: import('react').Context<NavigationContextType | null>;
7
+ export declare function useNavigationContext(): NavigationContextType;
@@ -0,0 +1,5 @@
1
+ export type NavigationRenderingContextType = {
2
+ container: HTMLDivElement | null;
3
+ };
4
+ export declare const NavigationRenderingContext: import('react').Context<NavigationRenderingContextType | null>;
5
+ export declare function useNavigationContainer(): NavigationRenderingContextType;
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ export type IsLinkActive = (href?: string) => boolean;
3
+ export type IsButtonActive = (prefix?: string) => boolean;
4
+ export interface NavigationProps extends React.ComponentPropsWithRef<"nav"> {
5
+ label?: ReactNode;
6
+ isLinkActive?: IsLinkActive;
7
+ isButtonActive?: IsButtonActive;
8
+ stateID?: string;
9
+ containerClassName?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ import { NavigationButtonProps } from './types';
2
+ export declare const NavigationButton: React.FC<NavigationButtonProps>;
@@ -0,0 +1,2 @@
1
+ export * from './NavigationButton';
2
+ export type * from './types';
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ import { Button } from 'react-aria-components';
3
+ import { NavigationItemProps } from '../core';
4
+ export interface NavigationButtonProps extends Omit<React.ComponentPropsWithRef<typeof Button>, "children" | "slot">, Omit<NavigationItemProps, "label"> {
5
+ prefix?: string;
6
+ label?: ReactNode;
7
+ }
@@ -0,0 +1,6 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ export declare const NavigationItemIconRenderer: React.FC<{
3
+ icon?: LucideIcon;
4
+ activeIcon?: LucideIcon;
5
+ isActive?: boolean;
6
+ }>;
@@ -0,0 +1 @@
1
+ export * from './NavigationItemIconRenderer';
@@ -0,0 +1,2 @@
1
+ import { NavigationLinkProps } from './types';
2
+ export declare const NavigationLink: React.FC<NavigationLinkProps>;
@@ -0,0 +1,2 @@
1
+ export * from './NavigationLink';
2
+ export type * from './types';
@@ -0,0 +1,4 @@
1
+ import { Link } from 'react-aria-components';
2
+ import { NavigationItemProps } from '../core';
3
+ export interface NavigationLinkProps extends Omit<React.ComponentPropsWithRef<typeof Link>, "children">, NavigationItemProps {
4
+ }
@@ -0,0 +1 @@
1
+ export * from './navigationItem';
@@ -0,0 +1,10 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ import { ReactNode } from 'react';
3
+ export interface NavigationItemProps {
4
+ label: ReactNode;
5
+ icon?: LucideIcon;
6
+ activeIcon?: LucideIcon;
7
+ isActive?: boolean;
8
+ }
9
+ export declare const NavigationItemLabelTypography: "typography-title-small";
10
+ export declare const NavigationItemStyles: string;
@@ -0,0 +1,2 @@
1
+ export * from './NavigationButton';
2
+ export * from './NavigationLink';
@@ -0,0 +1 @@
1
+ export declare const NavigationScrollContainer: React.FC<React.ComponentPropsWithRef<"div">>;
@@ -0,0 +1 @@
1
+ export * from './NavigationScrollContainer';
@@ -0,0 +1 @@
1
+ export declare const NavigationSection: React.FC<React.ComponentPropsWithRef<"section">>;
@@ -0,0 +1 @@
1
+ export * from './NavigationSection';
@@ -0,0 +1,2 @@
1
+ import { Heading } from 'react-aria-components';
2
+ export declare const NavigationSectionLabel: React.FC<React.ComponentPropsWithRef<typeof Heading>>;
@@ -0,0 +1 @@
1
+ export * from './NavigationSectionLabel';
@@ -0,0 +1,2 @@
1
+ export * from './NavigationSection';
2
+ export * from './NavigationSectionLabel';
@@ -0,0 +1,4 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const NavigationState: React.FC<{
3
+ children?: ReactNode;
4
+ }>;
@@ -0,0 +1,10 @@
1
+ export type NavigationStateContextType = {
2
+ openSubNavigation: (id: string, depth: number) => void;
3
+ closeSubNavigation: (id: string) => void;
4
+ saveNavigationScrollTopProgress: (id: string, progress: number) => void;
5
+ registerNavigationContainer: (id: string, container: HTMLDivElement) => () => void;
6
+ isSubNavigationOpen: (id: string) => boolean;
7
+ isInert: (depth: number) => boolean;
8
+ };
9
+ export declare const NavigationStateContext: import('react').Context<NavigationStateContextType | null>;
10
+ export declare function useNavigationState(): NavigationStateContextType;
@@ -0,0 +1,2 @@
1
+ export * from './context';
2
+ export * from './NavigationState';
@@ -0,0 +1,5 @@
1
+ export type NavScrollInfo = Record<string, number>;
2
+ export type SubNavItem = {
3
+ id: string;
4
+ depth: number;
5
+ };
@@ -0,0 +1,4 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const SubNavigation: React.FC<React.ComponentPropsWithRef<"nav"> & {
3
+ label?: ReactNode;
4
+ }>;
@@ -0,0 +1 @@
1
+ export * from './SubNavigation';
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const SubNavigationTrigger: React.FC<{
3
+ stateID: string;
4
+ children?: ReactNode;
5
+ label: ReactNode;
6
+ }>;
@@ -0,0 +1 @@
1
+ export * from './SubNavigationTrigger';
@@ -0,0 +1,2 @@
1
+ export * from './SubNavigation';
2
+ export * from './SubNavigationTrigger';
@@ -0,0 +1,3 @@
1
+ export * from './navigation';
2
+ export * from './navigationInfo';
3
+ export * from './navLabelContext';