@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
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet","names":[],"sources":["../../src/components/Sheets/BottomSheet/bottomSheet.module.css","../../src/components/Sheets/BottomSheet/BottomSheet.tsx"],"sourcesContent":["/* configurable tokens\n*\n* --md-bottom-sheet-background\n* --md-bottom-sheet-color\n*\n* configurable tokens end */\n\n@layer adgytec.comps {\n .bottom-sheet {\n --_md-bottom-sheet-background: var(\n --md-bottom-sheet-background,\n var(--md-sys-color-surface-container-low)\n );\n --_md-bottom-sheet-color: var(\n --md-bottom-sheet-color,\n var(--md-sys-color-on-surface)\n );\n --_max-inline-size: calc(640 * var(--dp, 1px));\n\n background-color: var(--_md-bottom-sheet-background);\n color: var(--_md-bottom-sheet-color);\n\n box-shadow: var(--md-sys-elevation-shadow-1);\n border-radius: var(--md-sys-shape-corner-radius-large);\n\n inline-size: min(100svi, var(--_max-inline-size));\n max-block-size: calc(100svb - var(--_top-padding));\n\n padding: var(--md-sys-layout-space-20);\n\n overflow-y: auto;\n\n &[data-layout=\"detached\"] {\n max-block-size: calc(\n 100svb -\n calc(var(--_top-padding) + var(--_detached-margin))\n );\n inline-size: min(\n calc(100svi - calc(2 * var(--_detached-margin))),\n var(--_max-inline-size)\n );\n }\n\n &[data-layout=\"standard\"] {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n }\n}\n","import clsx from \"clsx\";\nimport { useContext } from \"react\";\nimport { Dialog } from \"react-aria-components\";\nimport { BottomSheetContext } from \"../BottomSheetModal\";\nimport styles from \"./bottomSheet.module.css\";\n\nexport const BottomSheet: React.FC<\n React.ComponentPropsWithRef<typeof Dialog>\n> = ({ children, className, ...props }) => {\n const { layout } = useContext(BottomSheetContext);\n\n return (\n <Dialog\n className={clsx(styles[\"bottom-sheet\"], className)}\n data-layout={layout}\n {...props}\n >\n {(renderProps) => (\n <>\n {typeof children === \"function\"\n ? children(renderProps)\n : children}\n </>\n )}\n </Dialog>\n );\n};\n"],"mappings":";;;;;;qDCMa,KAER,EAAE,aAAU,cAAW,GAAG,QAAY;CACvC,IAAM,EAAE,cAAW,EAAW,CAAkB;CAEhD,OACI,kBAAC,GAAD;EACI,WAAW,EAAK,EAAO,iBAAiB,CAAS;EACjD,eAAa;EACb,GAAI;aAEF,MACE,kBAAA,GAAA,EAAA,UACK,OAAO,KAAa,aACf,EAAS,CAAW,IACpB,EACR,CAAA;CAEF,CAAA;AAEhB"}
1
+ {"version":3,"file":"BottomSheet","names":[],"sources":["../../src/components/Sheets/BottomSheet/bottomSheet.module.css","../../src/components/Sheets/BottomSheet/BottomSheet.tsx"],"sourcesContent":["/* configurable tokens\n*\n* --md-bottom-sheet-background\n* --md-bottom-sheet-color\n*\n* configurable tokens end */\n\n@layer adgytec.comps {\n .bottom-sheet {\n --_md-bottom-sheet-background: var(\n --md-bottom-sheet-background,\n var(--md-sys-color-surface-container-low)\n );\n --_md-bottom-sheet-color: var(\n --md-bottom-sheet-color,\n var(--md-sys-color-on-surface)\n );\n --_max-inline-size: calc(640 * var(--dp, 1px));\n\n background-color: var(--_md-bottom-sheet-background);\n color: var(--_md-bottom-sheet-color);\n\n box-shadow: var(--md-sys-elevation-shadow-1);\n border-radius: var(--md-sys-shape-corner-radius-large);\n\n inline-size: min(100svi, var(--_max-inline-size));\n max-block-size: calc(100svb - var(--_top-padding));\n\n padding: var(--md-sys-layout-space-20);\n\n overflow-y: auto;\n\n &[data-layout=\"detached\"] {\n max-block-size: calc(\n 100svb -\n calc(var(--_top-padding) + var(--_detached-margin))\n );\n inline-size: min(\n calc(100svi - calc(2 * var(--_detached-margin))),\n var(--_max-inline-size)\n );\n }\n\n &[data-layout=\"standard\"] {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n }\n}\n","import clsx from \"clsx\";\nimport { useContext } from \"react\";\nimport { Dialog } from \"react-aria-components\";\nimport { DialogContext } from \"@/components/Dialog\";\nimport { BottomSheetContext } from \"../BottomSheetModal\";\nimport styles from \"./bottomSheet.module.css\";\n\nexport const BottomSheet: React.FC<\n React.ComponentPropsWithRef<typeof Dialog>\n> = ({ children, className, ...props }) => {\n const { layout } = useContext(BottomSheetContext);\n\n return (\n <DialogContext value={true}>\n <Dialog\n className={clsx(styles[\"bottom-sheet\"], className)}\n data-layout={layout}\n {...props}\n >\n {(renderProps) => (\n <>\n {typeof children === \"function\"\n ? children(renderProps)\n : children}\n </>\n )}\n </Dialog>\n </DialogContext>\n );\n};\n"],"mappings":";;;;;;;qDCOa,KAER,EAAE,aAAU,cAAW,GAAG,QAAY;CACvC,IAAM,EAAE,cAAW,EAAW,CAAkB;CAEhD,OACI,kBAAC,GAAD;EAAe,OAAO;YAClB,kBAAC,GAAD;GACI,WAAW,EAAK,EAAO,iBAAiB,CAAS;GACjD,eAAa;GACb,GAAI;cAEF,MACE,kBAAA,GAAA,EAAA,UACK,OAAO,KAAa,aACf,EAAS,CAAW,IACpB,EACR,CAAA;EAEF,CAAA;CACG,CAAA;AAEvB"}
@@ -1,12 +1,12 @@
1
1
  import e from "clsx";
2
- import { Modal as t } from "react-aria-components";
2
+ import { createContext as t } from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
- import { createContext as r } from "react";
5
- import '../assets/BottomSheetModal.css';var i = { modal: "_modal_hiq4g_2" }, a = r({ layout: "standard" }), o = ({ className: r, layout: o = "standard", ...s }) => /* @__PURE__ */ n(a, {
4
+ import { Modal as r } from "react-aria-components";
5
+ import '../assets/BottomSheetModal.css';var i = { modal: "_modal_hiq4g_2" }, a = t({ layout: "standard" }), o = ({ className: t, layout: o = "standard", ...s }) => /* @__PURE__ */ n(a, {
6
6
  value: { layout: o },
7
- children: /* @__PURE__ */ n(t, {
7
+ children: /* @__PURE__ */ n(r, {
8
8
  "data-layout": o,
9
- className: (t) => e(i.modal, typeof r == "function" ? r(t) : r),
9
+ className: (n) => e(i.modal, typeof t == "function" ? t(n) : t),
10
10
  ...s
11
11
  })
12
12
  });
@@ -1,8 +1,8 @@
1
1
  import { ButtonGroupContext as e } from "../components/Button/ButtonGroups/ButtonGroupContext/index.js";
2
2
  import { clsx as t } from "clsx";
3
- import { ToggleButtonGroup as n } from "react-aria-components";
3
+ import { useMemo as n } from "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- import { useMemo as i } from "react";
5
+ import { ToggleButtonGroup as i } from "react-aria-components";
6
6
  import '../assets/ButtonGroup.css';var a = {
7
7
  "button-group": "_button-group_1enif_2",
8
8
  "extra-small": "_extra-small_1enif_41",
@@ -11,7 +11,7 @@ import '../assets/ButtonGroup.css';var a = {
11
11
  large: "_large_1enif_65",
12
12
  "extra-large": "_extra-large_1enif_73"
13
13
  }, o = ({ size: o, shape: s, color: c, className: l, iconPlacement: u, ...d }) => /* @__PURE__ */ r(e, {
14
- value: i(() => ({
14
+ value: n(() => ({
15
15
  size: o,
16
16
  shape: s,
17
17
  color: c,
@@ -22,7 +22,7 @@ import '../assets/ButtonGroup.css';var a = {
22
22
  c,
23
23
  u
24
24
  ]),
25
- children: /* @__PURE__ */ r(n, {
25
+ children: /* @__PURE__ */ r(i, {
26
26
  className: (e) => t(a["button-group"], a[o ?? "small"], typeof l == "function" ? l(e) : l),
27
27
  ...d,
28
28
  "data-button-group": !0
@@ -1,38 +1,38 @@
1
- import { n as e, t } from "./useSplash";
2
- import { t as n } from "./base";
1
+ import { t as e } from "./base";
2
+ import { n as t, t as n } from "./useSplash";
3
3
  import { t as r } from "./usePress";
4
4
  import i from "clsx";
5
- import { CalendarCell as a } from "react-aria-components";
6
- import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
5
+ import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
6
+ import { CalendarCell as c } from "react-aria-components";
7
7
  import '../assets/CalendarCell.css';var l = {
8
8
  cell: "_cell_xm3mx_2",
9
9
  "splash-container": "_splash-container_xm3mx_119",
10
10
  "range-indicator": "_range-indicator_xm3mx_155"
11
11
  }, u = ({ className: u, isRangeCalendar: d = !1, ...f }) => {
12
- let { splashInfo: p, handlePress: m } = t(), { pressProps: h } = r({ onPress: m });
13
- return /* @__PURE__ */ s(a, {
14
- className: (e) => i(l.cell, n.bodyLarge, typeof u == "function" ? u(e) : u),
12
+ let { splashInfo: p, handlePress: m } = n(), { pressProps: h } = r({ onPress: m });
13
+ return /* @__PURE__ */ o(c, {
14
+ className: (t) => i(l.cell, e.bodyLarge, typeof u == "function" ? u(t) : u),
15
15
  ...h,
16
16
  ...f,
17
17
  "data-range-calendar": d || void 0,
18
- children: ({ formattedDate: t, isDisabled: n, isOutsideVisibleRange: r, isOutsideMonth: a, isInvalid: u, isSelected: f, isSelectionStart: m, isSelectionEnd: h }) => {
18
+ children: ({ formattedDate: e, isDisabled: n, isOutsideVisibleRange: r, isOutsideMonth: c, isInvalid: u, isSelected: f, isSelectionStart: m, isSelectionEnd: h }) => {
19
19
  let g = d && f && !m && !h;
20
- return /* @__PURE__ */ c(o, { children: [
21
- !(n || a || r) && p && /* @__PURE__ */ s("span", {
20
+ return /* @__PURE__ */ s(a, { children: [
21
+ !(n || c || r) && p && /* @__PURE__ */ o("span", {
22
22
  className: i(l["splash-container"]),
23
- children: /* @__PURE__ */ s(e, { ...p })
23
+ children: /* @__PURE__ */ o(t, { ...p })
24
24
  }),
25
- d && /* @__PURE__ */ s("span", {
25
+ d && /* @__PURE__ */ o("span", {
26
26
  className: i(l["range-indicator"]),
27
27
  "data-in-range": g || void 0,
28
28
  "data-selection-start": m || void 0,
29
29
  "data-selection-end": h || void 0,
30
30
  "data-invalid": u || void 0,
31
31
  "data-disabled": n || void 0,
32
- "data-outside-month": a || void 0,
32
+ "data-outside-month": c || void 0,
33
33
  "data-outside-visible-range": r || void 0
34
34
  }),
35
- t
35
+ e
36
36
  ] });
37
37
  }
38
38
  });
@@ -1,24 +1,24 @@
1
1
  import { t as e } from "./base";
2
2
  import { t } from "./CalendarCell";
3
3
  import n from "clsx";
4
- import { CalendarGrid as r, CalendarGridBody as i, CalendarGridHeader as a, CalendarHeaderCell as o } from "react-aria-components";
5
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { CalendarGrid as a, CalendarGridBody as o, CalendarGridHeader as s, CalendarHeaderCell as c } from "react-aria-components";
6
6
  import '../assets/CalendarGrid.css';var l = {
7
7
  grid: "_grid_1uey9_2",
8
8
  header: "_header_1uey9_7",
9
9
  "header-cell": "_header-cell_1uey9_17"
10
- }, u = ({ isRangeCalendar: u, ...d }) => /* @__PURE__ */ c(r, {
10
+ }, u = ({ isRangeCalendar: u, ...d }) => /* @__PURE__ */ i(a, {
11
11
  ...d,
12
12
  className: n(l.grid),
13
- children: [/* @__PURE__ */ s(a, {
13
+ children: [/* @__PURE__ */ r(s, {
14
14
  className: n(l.header),
15
- children: (t) => /* @__PURE__ */ s(o, {
15
+ children: (t) => /* @__PURE__ */ r(c, {
16
16
  className: n(l["header-cell"], e.bodyLarge),
17
17
  children: t
18
18
  })
19
- }), /* @__PURE__ */ s(i, {
19
+ }), /* @__PURE__ */ r(o, {
20
20
  className: n(l.body),
21
- children: (e) => /* @__PURE__ */ s(t, {
21
+ children: (e) => /* @__PURE__ */ r(t, {
22
22
  isRangeCalendar: u,
23
23
  date: e
24
24
  })
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./base";
2
2
  import t from "clsx";
3
- import { ListBoxItem as n } from "react-aria-components";
4
- import { jsx as r } from "react/jsx-runtime";
5
- import '../assets/CalendarMenuItem.css';var i = { item: "_item_tzerc_2" }, a = ({ className: a, ...o }) => /* @__PURE__ */ r(n, {
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { ListBoxItem as r } from "react-aria-components";
5
+ import '../assets/CalendarMenuItem.css';var i = { item: "_item_tzerc_2" }, a = ({ className: a, ...o }) => /* @__PURE__ */ n(r, {
6
6
  className: (n) => t(i.item, e.bodyLarge, typeof a == "function" ? a(n) : a),
7
7
  ...o
8
8
  });
@@ -3,63 +3,63 @@ import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./cor
3
3
  import { t as l } from "./SliderStops";
4
4
  import { t as u } from "./SliderThumb";
5
5
  import d from "clsx";
6
- import { Slider as f, SliderTrack as p } from "react-aria-components";
7
- import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
6
+ import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
7
+ import { Slider as h, SliderTrack as g } from "react-aria-components";
8
8
  import '../assets/CenteredSlider.css';//#region src/components/Input/Slider/CenteredSlider/centerdSlider.module.css
9
- var _ = { "inactive-track": "_inactive-track_1pivv_2" }, v = ({ label: v, thumbLabel: y, size: b = "small", minValue: x = 0, maxValue: S = 100, step: C = 1, defaultValue: w = (x + S) / 2, showInBetweenSteps: T, maxStops: E, outputRenderer: D, className: O, ...k }) => /* @__PURE__ */ h(f, {
9
+ var _ = { "inactive-track": "_inactive-track_1pivv_2" }, v = ({ label: v, thumbLabel: y, size: b = "small", minValue: x = 0, maxValue: S = 100, step: C = 1, defaultValue: w = (x + S) / 2, showInBetweenSteps: T, maxStops: E, outputRenderer: D, className: O, ...k }) => /* @__PURE__ */ p(h, {
10
10
  minValue: x,
11
11
  maxValue: S,
12
12
  step: C,
13
13
  defaultValue: w,
14
14
  className: (e) => d(t, n, typeof O == "function" ? O(e) : O),
15
15
  ...k,
16
- children: ({ orientation: t, state: n, isDisabled: f }) => {
16
+ children: ({ orientation: t, state: n, isDisabled: h }) => {
17
17
  let w = n.getThumbPercent(0), O = t === "horizontal" ? "inlineSize" : "blockSize", k = .5, A = Math.abs(w - k) * 100, j = Math.min(w, k) * 100, M = Math.min(1 - w, k) * 100, N = w < .5 ? "start" : w > .5 ? "end" : void 0;
18
- return /* @__PURE__ */ g(m, { children: [v && /* @__PURE__ */ h(e, { children: v }), /* @__PURE__ */ h("div", {
18
+ return /* @__PURE__ */ m(f, { children: [v && /* @__PURE__ */ p(e, { children: v }), /* @__PURE__ */ p("div", {
19
19
  className: d(a),
20
20
  "data-orientation": t,
21
- children: /* @__PURE__ */ g(p, {
21
+ children: /* @__PURE__ */ m(g, {
22
22
  className: d(s, r(b)),
23
23
  children: [
24
- /* @__PURE__ */ g("div", {
24
+ /* @__PURE__ */ m("div", {
25
25
  className: d(o),
26
26
  "data-orientation": t,
27
27
  children: [
28
- /* @__PURE__ */ h("div", {
28
+ /* @__PURE__ */ p("div", {
29
29
  className: d(i, _["inactive-track"]),
30
30
  "data-active-direction": N === "start" || void 0,
31
31
  "data-track": "start",
32
32
  "data-orientation": t,
33
33
  "data-mid": w === k || void 0,
34
- "data-disabled": f || void 0,
34
+ "data-disabled": h || void 0,
35
35
  style: { [O]: `${j}%` }
36
36
  }),
37
- /* @__PURE__ */ h("div", {
37
+ /* @__PURE__ */ p("div", {
38
38
  className: d(c),
39
39
  "data-orientation": t,
40
40
  "data-track": "mid",
41
- "data-disabled": f || void 0,
41
+ "data-disabled": h || void 0,
42
42
  style: { [O]: `${A}%` },
43
- children: /* @__PURE__ */ h("div", { "data-direction": N })
43
+ children: /* @__PURE__ */ p("div", { "data-direction": N })
44
44
  }),
45
- /* @__PURE__ */ h("div", {
45
+ /* @__PURE__ */ p("div", {
46
46
  className: d(i, _["inactive-track"]),
47
47
  "data-orientation": t,
48
48
  "data-track": "end",
49
49
  "data-active-direction": N === "end" || void 0,
50
50
  "data-mid": w === k || void 0,
51
- "data-disabled": f || void 0,
51
+ "data-disabled": h || void 0,
52
52
  style: { [O]: `${M}%` }
53
53
  })
54
54
  ]
55
55
  }),
56
- /* @__PURE__ */ h(u, {
56
+ /* @__PURE__ */ p(u, {
57
57
  size: b,
58
58
  orientation: t,
59
59
  "aria-label": y,
60
60
  outputRenderer: D
61
61
  }),
62
- /* @__PURE__ */ h(l, {
62
+ /* @__PURE__ */ p(l, {
63
63
  slider: "centered",
64
64
  minValue: x,
65
65
  maxValue: S,
@@ -6,44 +6,44 @@ import { c as i, l as a, n as o } from "./core4";
6
6
  import { t as s } from "./Tag";
7
7
  import { t as c } from "./context";
8
8
  import l from "clsx";
9
- import { ComboBox as u, ComboBoxValue as d, TagGroup as f, TagList as p } from "react-aria-components";
10
- import { jsx as m, jsxs as h } from "react/jsx-runtime";
9
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
10
+ import { ComboBox as f, ComboBoxValue as p, TagGroup as m, TagList as h } from "react-aria-components";
11
11
  import '../assets/ComboBox.css';//#region src/components/Input/Select/ComboBox/comboBox.module.css
12
12
  var g = {
13
13
  "selected-value": "_selected-value_4mif5_2",
14
14
  "tag-list": "_tag-list_4mif5_14"
15
- }, _ = ({ label: _, description: v, errorMessage: y, showDescriptionOnInvalid: b = !1, children: x, className: S, hideMultiSelectionValue: C = !1, ...w }) => /* @__PURE__ */ m(u, {
15
+ }, _ = ({ label: _, description: v, errorMessage: y, showDescriptionOnInvalid: b = !1, children: x, className: S, hideMultiSelectionValue: C = !1, ...w }) => /* @__PURE__ */ u(f, {
16
16
  className: (e) => l(o, i, typeof S == "function" ? S(e) : S),
17
17
  ...w,
18
18
  children: (i) => {
19
- let { isInvalid: o } = i, u = v && (!o || o && b);
20
- return /* @__PURE__ */ h(c, {
19
+ let { isInvalid: o } = i, f = v && (!o || o && b);
20
+ return /* @__PURE__ */ d(c, {
21
21
  value: i,
22
22
  children: [
23
- _ && /* @__PURE__ */ m(r, { children: _ }),
23
+ _ && /* @__PURE__ */ u(r, { children: _ }),
24
24
  typeof x == "function" ? x(i) : x,
25
- w.selectionMode === "multiple" && !C && /* @__PURE__ */ m(d, {
25
+ w.selectionMode === "multiple" && !C && /* @__PURE__ */ u(p, {
26
26
  className: l(g["selected-value"], e.bodyLarge),
27
- children: ({ state: e }) => /* @__PURE__ */ m(f, {
27
+ children: ({ state: e }) => /* @__PURE__ */ u(m, {
28
28
  "aria-label": "Selected Items",
29
29
  onRemove: (t) => {
30
30
  Array.isArray(e.value) && e.setValue(e.value.filter((e) => !t.has(e)));
31
31
  },
32
- children: /* @__PURE__ */ m(p, {
32
+ children: /* @__PURE__ */ u(h, {
33
33
  items: e.selectedItems,
34
34
  className: l(g["tag-list"]),
35
- children: (e) => /* @__PURE__ */ m(s, {
35
+ children: (e) => /* @__PURE__ */ u(s, {
36
36
  id: e.key,
37
37
  label: e.textValue
38
38
  })
39
39
  })
40
40
  })
41
41
  }),
42
- u && /* @__PURE__ */ m(t, {
42
+ f && /* @__PURE__ */ u(t, {
43
43
  className: l(a),
44
44
  children: v
45
45
  }),
46
- /* @__PURE__ */ m(n, {
46
+ /* @__PURE__ */ u(n, {
47
47
  className: l(a),
48
48
  children: y
49
49
  })
@@ -5,16 +5,16 @@ import { d as r, o as i, s as a } from "./core4";
5
5
  import { n as o, t as s } from "./useHover";
6
6
  import { t as c } from "./context";
7
7
  import l from "clsx";
8
- import { Input as u } from "react-aria-components";
8
+ import { useContext as u } from "react";
9
9
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
10
- import { ChevronDown as p } from "lucide-react";
11
- import { useContext as m } from "react";
10
+ import { Input as p } from "react-aria-components";
11
+ import { ChevronDown as m } from "lucide-react";
12
12
  import { useObjectRef as h } from "react-aria";
13
13
  import '../assets/ComboBoxTrigger.css';var g = {
14
14
  trigger: "_trigger_83n0r_2",
15
15
  input: "_input_83n0r_26"
16
16
  }, _ = ({ className: _, placeholder: v, dir: y, ref: b, ...x }) => {
17
- let S = h(b), { isInvalid: C, isDisabled: w, isOpen: T } = m(c), { isFocused: E, isFocusVisible: D, focusProps: O } = o({ isTextInput: !0 }), { isHovered: k, hoverProps: A } = s({}), { pressProps: j } = n({ onPress: () => {
17
+ let S = h(b), { isInvalid: C, isDisabled: w, isOpen: T } = u(c), { isFocused: E, isFocusVisible: D, focusProps: O } = o({ isTextInput: !0 }), { isHovered: k, hoverProps: A } = s({}), { pressProps: j } = n({ onPress: () => {
18
18
  S.current?.focus();
19
19
  } }), M = {
20
20
  "data-hovered": k || void 0,
@@ -32,7 +32,7 @@ import '../assets/ComboBoxTrigger.css';var g = {
32
32
  className: l(a, _),
33
33
  ...x,
34
34
  ...M,
35
- children: [/* @__PURE__ */ d(u, {
35
+ children: [/* @__PURE__ */ d(p, {
36
36
  ref: S,
37
37
  ...O,
38
38
  placeholder: v,
@@ -41,7 +41,7 @@ import '../assets/ComboBoxTrigger.css';var g = {
41
41
  dir: y
42
42
  }), /* @__PURE__ */ d(t, {
43
43
  className: l(g.trigger),
44
- icon: p,
44
+ icon: m,
45
45
  color: "standard",
46
46
  "data-invalid": C || void 0
47
47
  })]
@@ -1,8 +1,8 @@
1
1
  import { ConnectedButtonGroupContext as e } from "../components/Button/ButtonGroups/ButtonGroupContext/index.js";
2
2
  import { clsx as t } from "clsx";
3
- import { ToggleButtonGroup as n } from "react-aria-components";
3
+ import { useMemo as n } from "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- import { useMemo as i } from "react";
5
+ import { ToggleButtonGroup as i } from "react-aria-components";
6
6
  import '../assets/ConnectedButtonGroup.css';var a = {
7
7
  group: "_group_1it1y_2",
8
8
  "extra-small": "_extra-small_1it1y_31",
@@ -11,7 +11,7 @@ import '../assets/ConnectedButtonGroup.css';var a = {
11
11
  large: "_large_1it1y_94",
12
12
  "extra-large": "_extra-large_1it1y_115"
13
13
  }, o = ({ size: o = "small", shape: s = "round", color: c = "filled", iconPlacement: l, className: u, ...d }) => /* @__PURE__ */ r(e, {
14
- value: i(() => ({
14
+ value: n(() => ({
15
15
  size: o,
16
16
  shape: s,
17
17
  color: c,
@@ -22,7 +22,7 @@ import '../assets/ConnectedButtonGroup.css';var a = {
22
22
  c,
23
23
  l
24
24
  ]),
25
- children: /* @__PURE__ */ r(n, {
25
+ children: /* @__PURE__ */ r(i, {
26
26
  className: (e) => t(a.group, a[o], typeof u == "function" ? u(e) : u),
27
27
  ...d,
28
28
  "data-shape": s,
@@ -1,11 +1,15 @@
1
- import e from "clsx";
2
- import { Dialog as t } from "react-aria-components";
1
+ import { DialogContext as e } from "../components/Dialog/core/index.js";
2
+ import t from "clsx";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
- import '../assets/Dialog.css';var r = { dialog: "_dialog_a2pbf_11" }, i = ({ className: i, ...a }) => /* @__PURE__ */ n(t, {
5
- className: e(r.dialog, i),
6
- ...a
4
+ import { Dialog as r } from "react-aria-components";
5
+ import '../assets/Dialog.css';var i = { dialog: "_dialog_a2pbf_11" }, a = ({ className: a, ...o }) => /* @__PURE__ */ n(e, {
6
+ value: !0,
7
+ children: /* @__PURE__ */ n(r, {
8
+ className: t(i.dialog, a),
9
+ ...o
10
+ })
7
11
  });
8
12
  //#endregion
9
- export { i as t };
13
+ export { a as t };
10
14
 
11
15
  //# sourceMappingURL=Dialog.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog","names":[],"sources":["../../src/components/Dialog/Dialog/dialog.module.css","../../src/components/Dialog/Dialog/Dialog.tsx"],"sourcesContent":["/* configurable tokens\n*\n* --md-dialog-container-background\n* --md-dialog-headline-text-color\n* --md-dialog-icon-color\n* --md-dialog-body-text-color\n*\n* configurable tokens end */\n\n@layer adgytec.comps {\n .dialog {\n --md-divider-color: currentcolor;\n\n /* container */\n --_md-dialog-container-min-inline-size: calc(280 * var(--dp, 1px));\n --_md-dialog-container-max-inline-size: calc(560 * var(--dp, 1px));\n --_md-dialog-container-max-block-size: 90svb;\n\n --_md-dialog-container-background: var(\n --md-dialog-container-background,\n var(--md-sys-color-surface-container-high)\n );\n --_md-dialog-container-shape: var(\n --md-sys-shape-corner-radius-extra-large\n );\n --_md-dialog-container-elevation: var(--md-sys-elevation-shadow-3);\n --_md-dialog-container-padding: var(--md-sys-layout-space-24);\n\n /* color */\n --_md-dialog-headline-text-color: var(\n --md-dialog-headline-text-color,\n var(--md-sys-color-on-surface)\n );\n --_md-dialog-icon-color: var(\n --md-dialog-icon-color,\n var(--md-sys-color-secondary)\n );\n --_md-dialog-body-text-color: var(\n --md-dialog-body-text-color,\n var(--md-sys-color-on-surface-variant)\n );\n\n /* spacing */\n --_md-dialog-action-gap: var(--md-sys-layout-space-8);\n --_md-dialog-title-body-gap: var(--md-sys-layout-space-16);\n --_md-dialog-title-icon-gap: var(--md-sys-layout-space-16);\n --_md-dialog-body-action-gap: var(--md-sys-layout-space-24);\n\n /* styles */\n padding: var(--_md-dialog-container-padding);\n border-radius: var(--_md-dialog-container-shape);\n\n background-color: var(--_md-dialog-container-background);\n color: var(--_md-dialog-body-text-color);\n box-shadow: var(--_md-dialog-container-elevation);\n\n min-inline-size: min(\n 100svi,\n var(--_md-dialog-container-min-inline-size)\n );\n max-inline-size: var(--_md-dialog-container-max-inline-size);\n max-block-size: var(--_md-dialog-container-max-block-size);\n }\n}\n","import clsx from \"clsx\";\nimport { Dialog as AriaDialog } from \"react-aria-components\";\nimport styles from \"./dialog.module.css\";\n\nexport const Dialog: React.FC<\n React.ComponentPropsWithRef<typeof AriaDialog>\n> = ({ className, ...props }) => {\n return (\n <AriaDialog className={clsx(styles[\"dialog\"], className)} {...props} />\n );\n};\n"],"mappings":";;;wCCIa,KAER,EAAE,cAAW,GAAG,QAEb,kBAAC,GAAD;CAAY,WAAW,EAAK,EAAO,QAAW,CAAS;CAAG,GAAI;AAAQ,CAAA"}
1
+ {"version":3,"file":"Dialog","names":[],"sources":["../../src/components/Dialog/Dialog/dialog.module.css","../../src/components/Dialog/Dialog/Dialog.tsx"],"sourcesContent":["/* configurable tokens\n*\n* --md-dialog-container-background\n* --md-dialog-headline-text-color\n* --md-dialog-icon-color\n* --md-dialog-body-text-color\n*\n* configurable tokens end */\n\n@layer adgytec.comps {\n .dialog {\n --md-divider-color: currentcolor;\n\n /* container */\n --_md-dialog-container-min-inline-size: calc(280 * var(--dp, 1px));\n --_md-dialog-container-max-inline-size: calc(560 * var(--dp, 1px));\n --_md-dialog-container-max-block-size: 90svb;\n\n --_md-dialog-container-background: var(\n --md-dialog-container-background,\n var(--md-sys-color-surface-container-high)\n );\n --_md-dialog-container-shape: var(\n --md-sys-shape-corner-radius-extra-large\n );\n --_md-dialog-container-elevation: var(--md-sys-elevation-shadow-3);\n --_md-dialog-container-padding: var(--md-sys-layout-space-24);\n\n /* color */\n --_md-dialog-headline-text-color: var(\n --md-dialog-headline-text-color,\n var(--md-sys-color-on-surface)\n );\n --_md-dialog-icon-color: var(\n --md-dialog-icon-color,\n var(--md-sys-color-secondary)\n );\n --_md-dialog-body-text-color: var(\n --md-dialog-body-text-color,\n var(--md-sys-color-on-surface-variant)\n );\n\n /* spacing */\n --_md-dialog-action-gap: var(--md-sys-layout-space-8);\n --_md-dialog-title-body-gap: var(--md-sys-layout-space-16);\n --_md-dialog-title-icon-gap: var(--md-sys-layout-space-16);\n --_md-dialog-body-action-gap: var(--md-sys-layout-space-24);\n\n /* styles */\n padding: var(--_md-dialog-container-padding);\n border-radius: var(--_md-dialog-container-shape);\n\n background-color: var(--_md-dialog-container-background);\n color: var(--_md-dialog-body-text-color);\n box-shadow: var(--_md-dialog-container-elevation);\n\n min-inline-size: min(\n 100svi,\n var(--_md-dialog-container-min-inline-size)\n );\n max-inline-size: var(--_md-dialog-container-max-inline-size);\n max-block-size: var(--_md-dialog-container-max-block-size);\n }\n}\n","import clsx from \"clsx\";\nimport { Dialog as AriaDialog } from \"react-aria-components\";\nimport { DialogContext } from \"../core\";\nimport styles from \"./dialog.module.css\";\n\nexport const Dialog: React.FC<\n React.ComponentPropsWithRef<typeof AriaDialog>\n> = ({ className, ...props }) => {\n return (\n <DialogContext value={true}>\n <AriaDialog\n className={clsx(styles[\"dialog\"], className)}\n {...props}\n />\n </DialogContext>\n );\n};\n"],"mappings":";;;;wCCKa,KAER,EAAE,cAAW,GAAG,QAEb,kBAAC,GAAD;CAAe,OAAO;WAClB,kBAAC,GAAD;EACI,WAAW,EAAK,EAAO,QAAW,CAAS;EAC3C,GAAI;CACP,CAAA;AACU,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import e from "clsx";
2
- import { Disclosure as t } from "react-aria-components";
3
- import { jsx as n } from "react/jsx-runtime";
4
- import '../assets/Disclosure.css';var r = { disclosure: "_disclosure_nnw90_2" }, i = ({ className: i, ...a }) => /* @__PURE__ */ n(t, {
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { Disclosure as n } from "react-aria-components";
4
+ import '../assets/Disclosure.css';var r = { disclosure: "_disclosure_nnw90_2" }, i = ({ className: i, ...a }) => /* @__PURE__ */ t(n, {
5
5
  className: (t) => e(r.disclosure, typeof i == "function" ? i(t) : i),
6
6
  ...a
7
7
  });
@@ -1,13 +1,13 @@
1
1
  import { DisclosureTypographyContext as e } from "../components/Disclosure/context/index.js";
2
2
  import t from "clsx";
3
- import { DisclosureGroup as n } from "react-aria-components";
4
- import { jsx as r } from "react/jsx-runtime";
5
- import '../assets/DisclosureGroup.css';var i = { group: "_group_lbw2t_2" }, a = ({ labelTypography: a, panelTypography: o, className: s, ...c }) => /* @__PURE__ */ r(e, {
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { DisclosureGroup as r } from "react-aria-components";
5
+ import '../assets/DisclosureGroup.css';var i = { group: "_group_lbw2t_2" }, a = ({ labelTypography: a, panelTypography: o, className: s, ...c }) => /* @__PURE__ */ n(e, {
6
6
  value: {
7
7
  label: a,
8
8
  panel: o
9
9
  },
10
- children: /* @__PURE__ */ r(n, {
10
+ children: /* @__PURE__ */ n(r, {
11
11
  className: (e) => t(i.group, typeof s == "function" ? s(e) : s),
12
12
  ...c
13
13
  })
@@ -1,34 +1,34 @@
1
- import { t as e } from "./Icon";
2
- import { n as t, t as n } from "./useSplash";
3
- import { t as r } from "./tapTarget";
1
+ import { t as e } from "./tapTarget";
2
+ import { t } from "./Icon";
3
+ import { n, t as r } from "./useSplash";
4
4
  import { f as i, l as a, u as o } from "./core";
5
5
  import { useDisclosureTypographyContext as s } from "../components/Disclosure/context/index.js";
6
6
  import { clsx as c } from "clsx";
7
- import { Button as l, DisclosureStateContext as u, Heading as d } from "react-aria-components";
8
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
9
- import { ChevronRight as m } from "lucide-react";
10
- import { useContext as h } from "react";
7
+ import { useContext as l } from "react";
8
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
9
+ import { Button as f, DisclosureStateContext as p, Heading as m } from "react-aria-components";
10
+ import { ChevronRight as h } from "lucide-react";
11
11
  import '../assets/DisclosureHeader.css';var g = {
12
12
  "state-layer": "_state-layer_1bxlz_2",
13
13
  trigger: "_trigger_1bxlz_21"
14
14
  }, _ = ({ children: _, labelTypography: v, ...y }) => {
15
- let { splashInfo: b, handlePress: x } = n(), { isExpanded: S } = h(u) || {}, { label: C } = s({ label: v });
16
- return /* @__PURE__ */ f(d, {
15
+ let { splashInfo: b, handlePress: x } = r(), { isExpanded: S } = l(p) || {}, { label: C } = s({ label: v });
16
+ return /* @__PURE__ */ u(m, {
17
17
  ...y,
18
- children: /* @__PURE__ */ p(l, {
18
+ children: /* @__PURE__ */ d(f, {
19
19
  onPress: x,
20
- className: c(i, r, g.trigger, a, o("standard"), C),
20
+ className: c(i, e, g.trigger, a, o("standard"), C),
21
21
  slot: "trigger",
22
22
  "data-expanded": S || void 0,
23
23
  "data-shape": "square",
24
24
  children: [
25
- /* @__PURE__ */ f("span", {
25
+ /* @__PURE__ */ u("span", {
26
26
  className: g["state-layer"],
27
- children: b && /* @__PURE__ */ f(t, { ...b })
27
+ children: b && /* @__PURE__ */ u(n, { ...b })
28
28
  }),
29
- /* @__PURE__ */ f(e, {
29
+ /* @__PURE__ */ u(t, {
30
30
  withText: !0,
31
- icon: m
31
+ icon: h
32
32
  }),
33
33
  _
34
34
  ]
@@ -1,13 +1,13 @@
1
1
  import { useDisclosureTypographyContext as e } from "../components/Disclosure/context/index.js";
2
2
  import { clsx as t } from "clsx";
3
- import { DisclosurePanel as n } from "react-aria-components";
4
- import { jsx as r } from "react/jsx-runtime";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { DisclosurePanel as r } from "react-aria-components";
5
5
  import '../assets/DisclosurePanel.css';var i = { panel: "_panel_sw5lb_2" }, a = ({ className: a, children: o, panelTypography: s, ...c }) => {
6
6
  let { panel: l } = e({ panel: s });
7
- return /* @__PURE__ */ r(n, {
7
+ return /* @__PURE__ */ n(r, {
8
8
  className: (e) => t(i.panel, l, typeof a == "function" ? a(e) : a),
9
9
  ...c,
10
- children: /* @__PURE__ */ r("div", { children: o })
10
+ children: /* @__PURE__ */ n("div", { children: o })
11
11
  });
12
12
  };
13
13
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { clsx as e } from "clsx";
2
- import { Separator as t } from "react-aria-components";
3
- import { jsx as n } from "react/jsx-runtime";
4
- import '../assets/Divider.css';var r = { divider: "_divider_1sn33_8" }, i = ({ className: i, ...a }) => /* @__PURE__ */ n(t, {
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { Separator as n } from "react-aria-components";
4
+ import '../assets/Divider.css';var r = { divider: "_divider_1sn33_8" }, i = ({ className: i, ...a }) => /* @__PURE__ */ t(n, {
5
5
  className: e(r.divider, i),
6
6
  ...a,
7
7
  "data-divider": !0
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./base";
2
2
  import { clsx as t } from "clsx";
3
- import { FieldError as n } from "react-aria-components";
4
- import { jsx as r } from "react/jsx-runtime";
5
- import '../assets/FieldError.css';var i = { error: "_error_16b4e_2" }, a = ({ className: a, ...o }) => /* @__PURE__ */ r(n, {
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { FieldError as r } from "react-aria-components";
5
+ import '../assets/FieldError.css';var i = { error: "_error_16b4e_2" }, a = ({ className: a, ...o }) => /* @__PURE__ */ n(r, {
6
6
  className: (n) => t(i.error, e.labelMedium, typeof a == "function" ? a(n) : a),
7
7
  ...o
8
8
  });
package/dist/chunks/Input CHANGED
@@ -4,9 +4,9 @@ import { Description as n } from "../components/Input/Description/index.js";
4
4
  import { t as r } from "./FieldError";
5
5
  import { Label as i } from "../components/Input/Label/index.js";
6
6
  import a from "clsx";
7
- import { Checkbox as o, CheckboxGroup as s } from "react-aria-components";
7
+ import { createContext as o, useContext as s } from "react";
8
8
  import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
9
- import { createContext as d, useContext as f } from "react";
9
+ import { Checkbox as d, CheckboxGroup as f } from "react-aria-components";
10
10
  import '../assets/Input.css';var p = {
11
11
  "checkbox-group": "_checkbox-group_km0x5_16",
12
12
  "checkbox-items": "_checkbox-items_km0x5_29",
@@ -14,11 +14,11 @@ import '../assets/Input.css';var p = {
14
14
  "state-layer": "_state-layer_km0x5_167",
15
15
  indicator: "_indicator_km0x5_187",
16
16
  svg: "_svg_km0x5_296"
17
- }, m = d({}), h = ({ children: n, className: r, labelPlacement: i, containerStateLayer: s, ...d }) => {
18
- let { labelPlacement: h, containerStateLayer: g } = f(m), _ = i ?? h ?? "end", v = s ?? g ?? !1;
19
- return /* @__PURE__ */ l(o, {
17
+ }, m = o({}), h = ({ children: n, className: r, labelPlacement: i, containerStateLayer: o, ...f }) => {
18
+ let { labelPlacement: h, containerStateLayer: g } = s(m), _ = i ?? h ?? "end", v = o ?? g ?? !1;
19
+ return /* @__PURE__ */ l(d, {
20
20
  className: (e) => a(p.checkbox, v && p["state-layer"], t.labelLarge, typeof r == "function" ? r(e) : r),
21
- ...d,
21
+ ...f,
22
22
  "data-checkbox": !0,
23
23
  children: (t) => {
24
24
  let { isSelected: r, isHovered: i, isDisabled: o, isFocused: s, isFocusVisible: d, isPressed: f, isInvalid: m, isIndeterminate: h } = t, g = {
@@ -55,22 +55,22 @@ import '../assets/Input.css';var p = {
55
55
  ] });
56
56
  }
57
57
  });
58
- }, g = ({ label: e, description: t, errorMessage: o, children: d, className: f, checkboxItemsGap: h = 24, labelPlacement: g, containerStateLayer: _, showDescriptionOnInvalid: v = !1, ...y }) => /* @__PURE__ */ l(m, {
58
+ }, g = ({ label: e, description: t, errorMessage: o, children: s, className: d, checkboxItemsGap: h = 24, labelPlacement: g, containerStateLayer: _, showDescriptionOnInvalid: v = !1, ...y }) => /* @__PURE__ */ l(m, {
59
59
  value: {
60
60
  labelPlacement: g,
61
61
  containerStateLayer: _
62
62
  },
63
- children: /* @__PURE__ */ l(s, {
64
- className: (e) => a(p["checkbox-group"], typeof f == "function" ? f(e) : f),
63
+ children: /* @__PURE__ */ l(f, {
64
+ className: (e) => a(p["checkbox-group"], typeof d == "function" ? d(e) : d),
65
65
  ...y,
66
- children: ({ isInvalid: s }) => {
67
- let f = t && (!s || s && v);
66
+ children: ({ isInvalid: d }) => {
67
+ let f = t && (!d || d && v);
68
68
  return /* @__PURE__ */ u(c, { children: [
69
69
  e && /* @__PURE__ */ l(i, { children: e }),
70
70
  /* @__PURE__ */ l("div", {
71
71
  className: a(p["checkbox-items"]),
72
72
  style: { gap: `calc(${h} * var(--dp, 1px))` },
73
- children: d
73
+ children: s
74
74
  }),
75
75
  f && /* @__PURE__ */ l(n, { children: t }),
76
76
  /* @__PURE__ */ l(r, { children: o })