@adgytec/adgytec-web-ui-components 2.1.6 → 2.1.8

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 (198) hide show
  1. package/dist/assets/core.css +1 -1
  2. package/dist/chunks/ActionDialog.map +1 -1
  3. package/dist/chunks/AppBarAction.map +1 -1
  4. package/dist/chunks/AppBarAvatar +38 -30
  5. package/dist/chunks/AppBarAvatar.map +1 -1
  6. package/dist/chunks/AppBarHeadline +18 -12
  7. package/dist/chunks/AppBarHeadline.map +1 -1
  8. package/dist/chunks/BaseCalendar.map +1 -1
  9. package/dist/chunks/BottomSheet +23 -16
  10. package/dist/chunks/BottomSheet.map +1 -1
  11. package/dist/chunks/BottomSheetModal.map +1 -1
  12. package/dist/chunks/ButtonGroup +28 -20
  13. package/dist/chunks/ButtonGroup.map +1 -1
  14. package/dist/chunks/CalendarCell.map +1 -1
  15. package/dist/chunks/CalendarGrid +40 -22
  16. package/dist/chunks/CalendarGrid.map +1 -1
  17. package/dist/chunks/CalendarMenuItem +18 -9
  18. package/dist/chunks/CalendarMenuItem.map +1 -1
  19. package/dist/chunks/CenteredSlider.map +1 -1
  20. package/dist/chunks/ComboBox.map +1 -1
  21. package/dist/chunks/ComboBoxPopover.map +1 -1
  22. package/dist/chunks/ComboBoxTrigger +66 -44
  23. package/dist/chunks/ComboBoxTrigger.map +1 -1
  24. package/dist/chunks/ConnectedButtonGroup.map +1 -1
  25. package/dist/chunks/Dialog +21 -12
  26. package/dist/chunks/Dialog.map +1 -1
  27. package/dist/chunks/Disclosure +17 -8
  28. package/dist/chunks/Disclosure.map +1 -1
  29. package/dist/chunks/DisclosureGroup +28 -15
  30. package/dist/chunks/DisclosureGroup.map +1 -1
  31. package/dist/chunks/DisclosureHeader +53 -35
  32. package/dist/chunks/DisclosureHeader.map +1 -1
  33. package/dist/chunks/DisclosurePanel +22 -12
  34. package/dist/chunks/DisclosurePanel.map +1 -1
  35. package/dist/chunks/Divider +18 -9
  36. package/dist/chunks/Divider.map +1 -1
  37. package/dist/chunks/FieldError +18 -9
  38. package/dist/chunks/FieldError.map +1 -1
  39. package/dist/chunks/Icon +20 -15
  40. package/dist/chunks/Icon.map +1 -1
  41. package/dist/chunks/Input +72 -64
  42. package/dist/chunks/Input.map +1 -1
  43. package/dist/chunks/Input2 +82 -72
  44. package/dist/chunks/Input2.map +1 -1
  45. package/dist/chunks/Loader +17 -10
  46. package/dist/chunks/Loader.map +1 -1
  47. package/dist/chunks/MenuPopover +17 -8
  48. package/dist/chunks/MenuPopover.map +1 -1
  49. package/dist/chunks/Modal +17 -8
  50. package/dist/chunks/Modal.map +1 -1
  51. package/dist/chunks/ModalOverlay +17 -8
  52. package/dist/chunks/ModalOverlay.map +1 -1
  53. package/dist/chunks/Navigation +46 -36
  54. package/dist/chunks/Navigation.map +1 -1
  55. package/dist/chunks/NavigationScrollContainer +37 -27
  56. package/dist/chunks/NavigationScrollContainer.map +1 -1
  57. package/dist/chunks/NavigationSection +16 -7
  58. package/dist/chunks/NavigationSection.map +1 -1
  59. package/dist/chunks/NavigationSectionLabel +18 -9
  60. package/dist/chunks/NavigationSectionLabel.map +1 -1
  61. package/dist/chunks/NavigationState.map +1 -1
  62. package/dist/chunks/Popover +17 -8
  63. package/dist/chunks/Popover.map +1 -1
  64. package/dist/chunks/Radio +59 -52
  65. package/dist/chunks/Radio.map +1 -1
  66. package/dist/chunks/RichTooltip +17 -8
  67. package/dist/chunks/RichTooltip.map +1 -1
  68. package/dist/chunks/RichTooltipActions +16 -7
  69. package/dist/chunks/RichTooltipActions.map +1 -1
  70. package/dist/chunks/RichTooltipInfo +16 -7
  71. package/dist/chunks/RichTooltipInfo.map +1 -1
  72. package/dist/chunks/SearchField.map +1 -1
  73. package/dist/chunks/SelectPopover +17 -8
  74. package/dist/chunks/SelectPopover.map +1 -1
  75. package/dist/chunks/SelectTrigger +34 -24
  76. package/dist/chunks/SelectTrigger.map +1 -1
  77. package/dist/chunks/SideSheet +64 -52
  78. package/dist/chunks/SideSheet.map +1 -1
  79. package/dist/chunks/SideSheetModal.map +1 -1
  80. package/dist/chunks/Slider.map +1 -1
  81. package/dist/chunks/SliderOutput +21 -16
  82. package/dist/chunks/SliderOutput.map +1 -1
  83. package/dist/chunks/SliderStops.map +1 -1
  84. package/dist/chunks/Snackbar.map +1 -1
  85. package/dist/chunks/SplitButtonTrigger +48 -38
  86. package/dist/chunks/SplitButtonTrigger.map +1 -1
  87. package/dist/chunks/SubmenuPopover.map +1 -1
  88. package/dist/chunks/Switch.map +1 -1
  89. package/dist/chunks/Tab +41 -29
  90. package/dist/chunks/Tab.map +1 -1
  91. package/dist/chunks/TabList +16 -8
  92. package/dist/chunks/TabList.map +1 -1
  93. package/dist/chunks/TabPanel +16 -8
  94. package/dist/chunks/TabPanel.map +1 -1
  95. package/dist/chunks/TabPanels +17 -9
  96. package/dist/chunks/TabPanels.map +1 -1
  97. package/dist/chunks/Tabs +17 -8
  98. package/dist/chunks/Tabs.map +1 -1
  99. package/dist/chunks/Tag.map +1 -1
  100. package/dist/chunks/ThemeSelector +73 -72
  101. package/dist/chunks/ThemeSelector.map +1 -1
  102. package/dist/chunks/Toolbar +20 -12
  103. package/dist/chunks/Toolbar.map +1 -1
  104. package/dist/chunks/Tooltip.map +1 -1
  105. package/dist/chunks/compiler-runtime +24 -0
  106. package/dist/chunks/compiler-runtime.map +1 -0
  107. package/dist/chunks/core +75 -68
  108. package/dist/chunks/core.map +1 -1
  109. package/dist/chunks/core3.map +1 -1
  110. package/dist/chunks/core8.map +1 -1
  111. package/dist/chunks/core9.map +1 -1
  112. package/dist/chunks/navContext.map +1 -1
  113. package/dist/chunks/useGlobalListeners.map +1 -1
  114. package/dist/chunks/useHover +1 -1
  115. package/dist/chunks/useHover.map +1 -1
  116. package/dist/chunks/usePress +1 -1
  117. package/dist/chunks/usePress.map +1 -1
  118. package/dist/chunks/useSplash +42 -27
  119. package/dist/chunks/useSplash.map +1 -1
  120. package/dist/components/AppBar/core/index.js.map +1 -1
  121. package/dist/components/Button/Button/index.js +61 -48
  122. package/dist/components/Button/Button/index.js.map +1 -1
  123. package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js.map +1 -1
  124. package/dist/components/Button/IconButton/index.js.map +1 -1
  125. package/dist/components/Button/LinkButton/index.js +61 -48
  126. package/dist/components/Button/LinkButton/index.js.map +1 -1
  127. package/dist/components/Button/LinkIconButton/index.js.map +1 -1
  128. package/dist/components/Button/SplitButton/SplitButtonContext/index.js.map +1 -1
  129. package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
  130. package/dist/components/Button/ToggleButton/index.js +69 -54
  131. package/dist/components/Button/ToggleButton/index.js.map +1 -1
  132. package/dist/components/Button/ToggleIconButton/index.js.map +1 -1
  133. package/dist/components/Calendar/Calendar/index.js +22 -12
  134. package/dist/components/Calendar/Calendar/index.js.map +1 -1
  135. package/dist/components/Calendar/CalendarMonthMenu/index.js +38 -33
  136. package/dist/components/Calendar/CalendarMonthMenu/index.js.map +1 -1
  137. package/dist/components/Calendar/CalendarYearMenu/index.js +31 -26
  138. package/dist/components/Calendar/CalendarYearMenu/index.js.map +1 -1
  139. package/dist/components/Calendar/RangeCalendar/index.js +25 -15
  140. package/dist/components/Calendar/RangeCalendar/index.js.map +1 -1
  141. package/dist/components/Dialog/core/index.js.map +1 -1
  142. package/dist/components/Disclosure/context/index.js +11 -12
  143. package/dist/components/Disclosure/context/index.js.map +1 -1
  144. package/dist/components/Image/index.js.map +1 -1
  145. package/dist/components/Input/CharacterCount/index.js +18 -10
  146. package/dist/components/Input/CharacterCount/index.js.map +1 -1
  147. package/dist/components/Input/DateField/index.js.map +1 -1
  148. package/dist/components/Input/DatePicker/DatePicker/index.js.map +1 -1
  149. package/dist/components/Input/DatePicker/DateRangePicker/index.js.map +1 -1
  150. package/dist/components/Input/Description/index.js +21 -10
  151. package/dist/components/Input/Description/index.js.map +1 -1
  152. package/dist/components/Input/Label/index.js +18 -10
  153. package/dist/components/Input/Label/index.js.map +1 -1
  154. package/dist/components/Input/Select/Select/index.js.map +1 -1
  155. package/dist/components/Input/Select/SelectItem/index.js.map +1 -1
  156. package/dist/components/Input/Select/SelectList/index.js.map +1 -1
  157. package/dist/components/Input/Select/SelectListSection/index.js +17 -9
  158. package/dist/components/Input/Select/SelectListSection/index.js.map +1 -1
  159. package/dist/components/Input/Select/SelectListSectionHeader/index.js +18 -10
  160. package/dist/components/Input/Select/SelectListSectionHeader/index.js.map +1 -1
  161. package/dist/components/Input/Slider/RangeSlider/index.js.map +1 -1
  162. package/dist/components/Input/TextArea/index.js.map +1 -1
  163. package/dist/components/Input/TimeField/index.js.map +1 -1
  164. package/dist/components/Input/hooks/index.js +16 -10
  165. package/dist/components/Input/hooks/index.js.map +1 -1
  166. package/dist/components/Menu/Menu/index.js +19 -14
  167. package/dist/components/Menu/Menu/index.js.map +1 -1
  168. package/dist/components/Menu/MenuItem/index.js +48 -38
  169. package/dist/components/Menu/MenuItem/index.js.map +1 -1
  170. package/dist/components/Menu/MenuSection/index.js +18 -10
  171. package/dist/components/Menu/MenuSection/index.js.map +1 -1
  172. package/dist/components/Menu/MenuSectionHeader/index.js +18 -10
  173. package/dist/components/Menu/MenuSectionHeader/index.js.map +1 -1
  174. package/dist/components/Menu/MenuShortcut/index.js +16 -8
  175. package/dist/components/Menu/MenuShortcut/index.js.map +1 -1
  176. package/dist/components/Menu/MenuTrailingText/index.js +16 -8
  177. package/dist/components/Menu/MenuTrailingText/index.js.map +1 -1
  178. package/dist/components/Menu/MenuTrigger/index.js +21 -11
  179. package/dist/components/Menu/MenuTrigger/index.js.map +1 -1
  180. package/dist/components/Menu/context/index.js.map +1 -1
  181. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js +30 -21
  182. package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -1
  183. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js +30 -8
  184. package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -1
  185. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js +29 -20
  186. package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -1
  187. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +69 -56
  188. package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -1
  189. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +48 -29
  190. package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -1
  191. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js +17 -9
  192. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js.map +1 -1
  193. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js +17 -9
  194. package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js.map +1 -1
  195. package/dist/components/Tooltip/TooltipTrigger/index.js.map +1 -1
  196. package/dist/index.js.map +1 -1
  197. package/dist/src/components/Navigation/NavigationItem/core/navigationItem.d.ts +1 -1
  198. package/package.json +4 -4
@@ -1,11 +1,20 @@
1
- import e from "clsx";
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
- className: (t) => e(r.disclosure, typeof i == "function" ? i(t) : i),
6
- ...a
7
- });
1
+ import { t as e } from "./compiler-runtime";
2
+ import t from "clsx";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { Disclosure as r } from "react-aria-components";
5
+ import '../assets/Disclosure.css';//#region src/components/Disclosure/Disclosure/disclosure.module.css
6
+ var i = e(), a = { disclosure: "_disclosure_nnw90_2" }, o = (e) => {
7
+ let o = (0, i.c)(8), s, c;
8
+ o[0] === e ? (s = o[1], c = o[2]) : ({className: s, ...c} = e, o[0] = e, o[1] = s, o[2] = c);
9
+ let l;
10
+ o[3] === s ? l = o[4] : (l = (e) => t(a.disclosure, typeof s == "function" ? s(e) : s), o[3] = s, o[4] = l);
11
+ let u;
12
+ return o[5] !== c || o[6] !== l ? (u = /* @__PURE__ */ n(r, {
13
+ className: l,
14
+ ...c
15
+ }), o[5] = c, o[6] = l, o[7] = u) : u = o[7], u;
16
+ };
8
17
  //#endregion
9
- export { i as t };
18
+ export { o as t };
10
19
 
11
20
  //# sourceMappingURL=Disclosure.map
@@ -1 +1 @@
1
- {"version":3,"file":"Disclosure","names":[],"sources":["../../src/components/Disclosure/Disclosure/disclosure.module.css","../../src/components/Disclosure/Disclosure/Disclosure.tsx"],"sourcesContent":["@layer adgytec.comps {\n .disclosure {\n --spacing: var(--md-sys-layout-space-12);\n }\n}\n","import clsx from \"clsx\";\nimport { Disclosure as AriaDisclosure } from \"react-aria-components\";\nimport styles from \"./disclosure.module.css\";\n\nexport const Disclosure: React.FC<\n React.ComponentPropsWithRef<typeof AriaDisclosure>\n> = ({ className, ...props }) => {\n return (\n <AriaDisclosure\n className={(renderProps) =>\n clsx(\n styles[\"disclosure\"],\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n />\n );\n};\n"],"mappings":";;;+CCIa,KAER,EAAE,cAAW,GAAG,QAEb,kBAAC,GAAD;CACI,YAAY,MACR,EACI,EAAO,YACP,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;CAEJ,GAAI;AACP,CAAA"}
1
+ {"version":3,"file":"Disclosure","names":[],"sources":["../../src/components/Disclosure/Disclosure/disclosure.module.css","../../src/components/Disclosure/Disclosure/Disclosure.tsx"],"sourcesContent":["@layer adgytec.comps {\n .disclosure {\n --spacing: var(--md-sys-layout-space-12);\n }\n}\n","import clsx from \"clsx\";\nimport { Disclosure as AriaDisclosure } from \"react-aria-components\";\nimport styles from \"./disclosure.module.css\";\n\nexport const Disclosure: React.FC<\n React.ComponentPropsWithRef<typeof AriaDisclosure>\n> = ({ className, ...props }) => {\n return (\n <AriaDisclosure\n className={(renderProps) =>\n clsx(\n styles[\"disclosure\"],\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n />\n );\n};\n"],"mappings":";;;;;wDCIa,KAET,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,CAAA,GAAA,GAAA;CAAA,AAAA,EAAA,OAAA,KAAwB,IAAA,EAAA,IAAA,IAAA,EAAA,OAAvB,kBAAA,KAAA,GAAuB,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,IASX,IAAA,EAAA,MANM,KAAA,MACP,EACI,EAAM,YACN,OAAO,KAAc,aACf,EAAU,CACF,IAFd,CAGJ,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAGP,OAHO,EAAA,OAAA,KAAA,EAAA,OAAA,KAPT,IAAA,kBAAC,GAAD;EACe,WAAA;EAMN,GAED;CAAK,CAAA,GACX,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA,IAVF;AAUE"}
@@ -1,18 +1,31 @@
1
- import { DisclosureTypographyContext as e } from "../components/Disclosure/context/index.js";
2
- import t from "clsx";
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
- value: {
7
- label: a,
8
- panel: o
9
- },
10
- children: /* @__PURE__ */ n(r, {
11
- className: (e) => t(i.group, typeof s == "function" ? s(e) : s),
12
- ...c
13
- })
14
- });
1
+ import { t as e } from "./compiler-runtime";
2
+ import { DisclosureTypographyContext as t } from "../components/Disclosure/context/index.js";
3
+ import n from "clsx";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ import { DisclosureGroup as i } from "react-aria-components";
6
+ import '../assets/DisclosureGroup.css';//#region src/components/Disclosure/DisclosureGroup/disclosureGroup.module.css
7
+ var a = e(), o = { group: "_group_lbw2t_2" }, s = (e) => {
8
+ let s = (0, a.c)(16), c, l, u, d;
9
+ s[0] === e ? (c = s[1], l = s[2], u = s[3], d = s[4]) : ({labelTypography: l, panelTypography: u, className: c, ...d} = e, s[0] = e, s[1] = c, s[2] = l, s[3] = u, s[4] = d);
10
+ let f;
11
+ s[5] !== l || s[6] !== u ? (f = {
12
+ label: l,
13
+ panel: u
14
+ }, s[5] = l, s[6] = u, s[7] = f) : f = s[7];
15
+ let p;
16
+ s[8] === c ? p = s[9] : (p = (e) => n(o.group, typeof c == "function" ? c(e) : c), s[8] = c, s[9] = p);
17
+ let m;
18
+ s[10] !== d || s[11] !== p ? (m = /* @__PURE__ */ r(i, {
19
+ className: p,
20
+ ...d
21
+ }), s[10] = d, s[11] = p, s[12] = m) : m = s[12];
22
+ let h;
23
+ return s[13] !== f || s[14] !== m ? (h = /* @__PURE__ */ r(t, {
24
+ value: f,
25
+ children: m
26
+ }), s[13] = f, s[14] = m, s[15] = h) : h = s[15], h;
27
+ };
15
28
  //#endregion
16
- export { a as t };
29
+ export { s as t };
17
30
 
18
31
  //# sourceMappingURL=DisclosureGroup.map
@@ -1 +1 @@
1
- {"version":3,"file":"DisclosureGroup","names":[],"sources":["../../src/components/Disclosure/DisclosureGroup/disclosureGroup.module.css","../../src/components/Disclosure/DisclosureGroup/DisclosureGroup.tsx"],"sourcesContent":["@layer adgytec.comps {\n .group {\n display: grid;\n gap: var(--md-sys-layout-space-24);\n }\n}\n","import clsx from \"clsx\";\nimport { DisclosureGroup as AriaDisclosureGroup } from \"react-aria-components\";\nimport type { Typography } from \"@/utils\";\nimport { DisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosureGroup.module.css\";\n\nexport const DisclosureGroup: React.FC<\n React.ComponentPropsWithRef<typeof AriaDisclosureGroup> & {\n labelTypography?: Typography;\n panelTypography?: Typography;\n }\n> = ({ labelTypography, panelTypography, className, ...props }) => {\n return (\n <DisclosureTypographyContext\n value={{ label: labelTypography, panel: panelTypography }}\n >\n <AriaDisclosureGroup\n className={(renderProps) =>\n clsx(\n styles[\"group\"],\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n />\n </DisclosureTypographyContext>\n );\n};\n"],"mappings":";;;;qCCMa,KAKR,EAAE,oBAAiB,oBAAiB,cAAW,GAAG,QAE/C,kBAAC,GAAD;CACI,OAAO;EAAE,OAAO;EAAiB,OAAO;CAAgB;WAExD,kBAAC,GAAD;EACI,YAAY,MACR,EACI,EAAO,OACP,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;EAEJ,GAAI;CACP,CAAA;AACwB,CAAA"}
1
+ {"version":3,"file":"DisclosureGroup","names":[],"sources":["../../src/components/Disclosure/DisclosureGroup/disclosureGroup.module.css","../../src/components/Disclosure/DisclosureGroup/DisclosureGroup.tsx"],"sourcesContent":["@layer adgytec.comps {\n .group {\n display: grid;\n gap: var(--md-sys-layout-space-24);\n }\n}\n","import clsx from \"clsx\";\nimport { DisclosureGroup as AriaDisclosureGroup } from \"react-aria-components\";\nimport type { Typography } from \"@/utils\";\nimport { DisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosureGroup.module.css\";\n\nexport const DisclosureGroup: React.FC<\n React.ComponentPropsWithRef<typeof AriaDisclosureGroup> & {\n labelTypography?: Typography;\n panelTypography?: Typography;\n }\n> = ({ labelTypography, panelTypography, className, ...props }) => {\n return (\n <DisclosureTypographyContext\n value={{ label: labelTypography, panel: panelTypography }}\n >\n <AriaDisclosureGroup\n className={(renderProps) =>\n clsx(\n styles[\"group\"],\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n />\n </DisclosureTypographyContext>\n );\n};\n"],"mappings":";;;;;;8CCMa,KAKT,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,EAAA,GAAA,GAAA,GAAA,GAAA;CAAA,AAAA,EAAA,OAAA,KAA0D,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,OAAzD,0DAAA,KAAA,GAAyD,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAG3C,IAAA;EAAA,OAAS;EAAe,OAAS;CAAgB,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,IAShD,IAAA,EAAA,MANM,KAAA,MACP,EACI,EAAM,OACN,OAAO,KAAc,aACf,EAAU,CACF,IAFd,CAGJ,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAPT,IAAA,kBAAC,GAAD;EACe,WAAA;EAMN,GAED;CAAK,CAAA,GACX,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CACwB,OADxB,EAAA,QAAA,KAAA,EAAA,QAAA,KAbN,IAAA,kBAAC,GAAD;EACW,OAAA;YAEP;CAHwB,CAAA,GAcE,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA,KAd9B;AAc8B"}
@@ -1,41 +1,59 @@
1
- import { t as e } from "./tapTarget";
2
- import { t } from "./Icon";
3
- import { n, t as r } from "./useSplash";
4
- import { f as i, l as a, u as o } from "./core";
5
- import { useDisclosureTypographyContext as s } from "../components/Disclosure/context/index.js";
6
- import { clsx as c } from "clsx";
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
- import '../assets/DisclosureHeader.css';var g = {
1
+ import { t as e } from "./compiler-runtime";
2
+ import { t } from "./tapTarget";
3
+ import { t as n } from "./Icon";
4
+ import { n as r, t as i } from "./useSplash";
5
+ import { f as a, l as o, u as s } from "./core";
6
+ import { useDisclosureTypographyContext as c } from "../components/Disclosure/context/index.js";
7
+ import { clsx as l } from "clsx";
8
+ import { useContext as u } from "react";
9
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
10
+ import { Button as p, DisclosureStateContext as m, Heading as h } from "react-aria-components";
11
+ import { ChevronRight as g } from "lucide-react";
12
+ import '../assets/DisclosureHeader.css';//#region src/components/Disclosure/DisclosureHeader/disclosureHeader.module.css
13
+ var _ = e(), v = {
12
14
  "state-layer": "_state-layer_1bxlz_2",
13
15
  trigger: "_trigger_1bxlz_21"
14
- }, _ = ({ children: _, labelTypography: v, ...y }) => {
15
- let { splashInfo: b, handlePress: x } = r(), { isExpanded: S } = l(p) || {}, { label: C } = s({ label: v });
16
- return /* @__PURE__ */ u(m, {
17
- ...y,
18
- children: /* @__PURE__ */ d(f, {
19
- onPress: x,
20
- className: c(i, e, g.trigger, a, o("standard"), C),
21
- slot: "trigger",
22
- "data-expanded": S || void 0,
23
- "data-shape": "square",
24
- children: [
25
- /* @__PURE__ */ u("span", {
26
- className: g["state-layer"],
27
- children: b && /* @__PURE__ */ u(n, { ...b })
28
- }),
29
- /* @__PURE__ */ u(t, {
30
- withText: !0,
31
- icon: h
32
- }),
33
- _
34
- ]
35
- })
36
- });
16
+ }, y = (e) => {
17
+ let y = (0, _.c)(24), b, x, S;
18
+ y[0] === e ? (b = y[1], x = y[2], S = y[3]) : ({children: b, labelTypography: x, ...S} = e, y[0] = e, y[1] = b, y[2] = x, y[3] = S);
19
+ let { splashInfo: C, handlePress: w } = i(), T = u(m), E;
20
+ y[4] === T ? E = y[5] : (E = T || {}, y[4] = T, y[5] = E);
21
+ let { isExpanded: D } = E, O;
22
+ y[6] === x ? O = y[7] : (O = { label: x }, y[6] = x, y[7] = O);
23
+ let { label: k } = c(O), A;
24
+ y[8] === k ? A = y[9] : (A = l(a, t, v.trigger, o, s("standard"), k), y[8] = k, y[9] = A);
25
+ let j = D || void 0, M;
26
+ y[10] === C ? M = y[11] : (M = C && /* @__PURE__ */ d(r, { ...C }), y[10] = C, y[11] = M);
27
+ let N;
28
+ y[12] === M ? N = y[13] : (N = /* @__PURE__ */ d("span", {
29
+ className: v["state-layer"],
30
+ children: M
31
+ }), y[12] = M, y[13] = N);
32
+ let P;
33
+ y[14] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ d(n, {
34
+ withText: !0,
35
+ icon: g
36
+ }), y[14] = P) : P = y[14];
37
+ let F;
38
+ y[15] !== b || y[16] !== w || y[17] !== A || y[18] !== j || y[19] !== N ? (F = /* @__PURE__ */ f(p, {
39
+ onPress: w,
40
+ className: A,
41
+ slot: "trigger",
42
+ "data-expanded": j,
43
+ "data-shape": "square",
44
+ children: [
45
+ N,
46
+ P,
47
+ b
48
+ ]
49
+ }), y[15] = b, y[16] = w, y[17] = A, y[18] = j, y[19] = N, y[20] = F) : F = y[20];
50
+ let I;
51
+ return y[21] !== S || y[22] !== F ? (I = /* @__PURE__ */ d(h, {
52
+ ...S,
53
+ children: F
54
+ }), y[21] = S, y[22] = F, y[23] = I) : I = y[23], I;
37
55
  };
38
56
  //#endregion
39
- export { _ as t };
57
+ export { y as t };
40
58
 
41
59
  //# sourceMappingURL=DisclosureHeader.map
@@ -1 +1 @@
1
- {"version":3,"file":"DisclosureHeader","names":[],"sources":["../../src/components/Disclosure/DisclosureHeader/disclosureHeader.module.css","../../src/components/Disclosure/DisclosureHeader/DisclosureHeader.tsx"],"sourcesContent":["@layer adgytec.overrides {\n .state-layer {\n --inset: calc(-1 * var(--spacing));\n\n position: absolute;\n inset: var(--inset);\n border-radius: inherit;\n\n overflow: clip;\n\n background-color: var(--_state-layer-color);\n\n transition: background-color var(--md-sys-motion-standard-fast-spatial)\n var(--md-sys-motion-standard-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n\n .trigger::before {\n background-color: transparent;\n }\n\n .trigger[data-focus-visible] {\n outline: none;\n\n &::before {\n outline: none;\n z-index: 1;\n }\n\n .state-layer {\n outline-width: var(--focus-indicator-thickness);\n outline-style: solid;\n outline-offset: var(--focus-indicator-offset);\n outline-color: var(--focus-indicator-color);\n }\n }\n}\n\n@layer adgytec.comps {\n .trigger {\n --rotate: 0;\n\n display: flex;\n gap: var(--md-sys-layout-space-4);\n align-items: start;\n\n border-radius: var(--md-sys-shape-corner-radius-medium);\n text-align: start;\n\n &[data-pressed] {\n border-radius: var(--md-sys-shape-corner-radius-small);\n }\n\n &[data-expanded] {\n --rotate: 90deg;\n }\n\n > svg {\n margin-block-start: calc(2.5 * var(--dp, 1px));\n rotate: var(--rotate);\n transition: rotate var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { ChevronRight } from \"lucide-react\";\nimport { useContext } from \"react\";\nimport { Button, DisclosureStateContext, Heading } from \"react-aria-components\";\nimport {\n ButtonReset,\n buttonColorBase,\n buttonColorConfig,\n} from \"@/components/Button\";\nimport { Icon } from \"@/components/Icon\";\nimport { Splash } from \"@/components/Splash/Splash\";\nimport { useSplash } from \"@/components/Splash/useSplash\";\nimport { TapTarget, type Typography } from \"@/utils\";\nimport { useDisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosureHeader.module.css\";\n\nexport const DisclosureHeader: React.FC<\n React.ComponentPropsWithRef<typeof Heading> & {\n labelTypography?: Typography;\n }\n> = ({ children, labelTypography, ...props }) => {\n const { splashInfo, handlePress } = useSplash();\n\n const disclosureContext = useContext(DisclosureStateContext);\n const { isExpanded } = disclosureContext || {};\n\n const { label } = useDisclosureTypographyContext({\n label: labelTypography,\n });\n\n return (\n <Heading {...props}>\n <Button\n onPress={handlePress}\n className={clsx(\n ButtonReset,\n TapTarget,\n styles[\"trigger\"],\n buttonColorBase,\n buttonColorConfig(\"standard\"),\n label\n )}\n slot=\"trigger\"\n data-expanded={isExpanded || undefined}\n data-shape=\"square\"\n >\n <span className={styles[\"state-layer\"]}>\n {splashInfo && <Splash {...splashInfo} />}\n </span>\n <Icon withText icon={ChevronRight} />\n {children}\n </Button>\n </Heading>\n );\n};\n"],"mappings":";;;;;;;;;;;;;GCgBa,KAIR,EAAE,aAAU,oBAAiB,GAAG,QAAY;CAC7C,IAAM,EAAE,eAAY,mBAAgB,EAAU,GAGxC,EAAE,kBADkB,EAAW,CACd,KAAqB,CAAC,GAEvC,EAAE,aAAU,EAA+B,EAC7C,OAAO,EACX,CAAC;CAED,OACI,kBAAC,GAAD;EAAS,GAAI;YACT,kBAAC,GAAD;GACI,SAAS;GACT,WAAW,EACP,GACA,GACA,EAAO,SACP,GACA,EAAkB,UAAU,GAC5B,CACJ;GACA,MAAK;GACL,iBAAe,KAAc,KAAA;GAC7B,cAAW;aAZf;IAcI,kBAAC,QAAD;KAAM,WAAW,EAAO;eACnB,KAAc,kBAAC,GAAD,EAAQ,GAAI,EAAa,CAAA;IACtC,CAAA;IACN,kBAAC,GAAD;KAAM,UAAA;KAAS,MAAM;IAAe,CAAA;IACnC;GACG;;CACH,CAAA;AAEjB"}
1
+ {"version":3,"file":"DisclosureHeader","names":["ChevronRight","handlePress","children"],"sources":["../../src/components/Disclosure/DisclosureHeader/disclosureHeader.module.css","../../src/components/Disclosure/DisclosureHeader/DisclosureHeader.tsx"],"sourcesContent":["@layer adgytec.overrides {\n .state-layer {\n --inset: calc(-1 * var(--spacing));\n\n position: absolute;\n inset: var(--inset);\n border-radius: inherit;\n\n overflow: clip;\n\n background-color: var(--_state-layer-color);\n\n transition: background-color var(--md-sys-motion-standard-fast-spatial)\n var(--md-sys-motion-standard-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n\n .trigger::before {\n background-color: transparent;\n }\n\n .trigger[data-focus-visible] {\n outline: none;\n\n &::before {\n outline: none;\n z-index: 1;\n }\n\n .state-layer {\n outline-width: var(--focus-indicator-thickness);\n outline-style: solid;\n outline-offset: var(--focus-indicator-offset);\n outline-color: var(--focus-indicator-color);\n }\n }\n}\n\n@layer adgytec.comps {\n .trigger {\n --rotate: 0;\n\n display: flex;\n gap: var(--md-sys-layout-space-4);\n align-items: start;\n\n border-radius: var(--md-sys-shape-corner-radius-medium);\n text-align: start;\n\n &[data-pressed] {\n border-radius: var(--md-sys-shape-corner-radius-small);\n }\n\n &[data-expanded] {\n --rotate: 90deg;\n }\n\n > svg {\n margin-block-start: calc(2.5 * var(--dp, 1px));\n rotate: var(--rotate);\n transition: rotate var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { ChevronRight } from \"lucide-react\";\nimport { useContext } from \"react\";\nimport { Button, DisclosureStateContext, Heading } from \"react-aria-components\";\nimport {\n ButtonReset,\n buttonColorBase,\n buttonColorConfig,\n} from \"@/components/Button\";\nimport { Icon } from \"@/components/Icon\";\nimport { Splash } from \"@/components/Splash/Splash\";\nimport { useSplash } from \"@/components/Splash/useSplash\";\nimport { TapTarget, type Typography } from \"@/utils\";\nimport { useDisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosureHeader.module.css\";\n\nexport const DisclosureHeader: React.FC<\n React.ComponentPropsWithRef<typeof Heading> & {\n labelTypography?: Typography;\n }\n> = ({ children, labelTypography, ...props }) => {\n const { splashInfo, handlePress } = useSplash();\n\n const disclosureContext = useContext(DisclosureStateContext);\n const { isExpanded } = disclosureContext || {};\n\n const { label } = useDisclosureTypographyContext({\n label: labelTypography,\n });\n\n return (\n <Heading {...props}>\n <Button\n onPress={handlePress}\n className={clsx(\n ButtonReset,\n TapTarget,\n styles[\"trigger\"],\n buttonColorBase,\n buttonColorConfig(\"standard\"),\n label\n )}\n slot=\"trigger\"\n data-expanded={isExpanded || undefined}\n data-shape=\"square\"\n >\n <span className={styles[\"state-layer\"]}>\n {splashInfo && <Splash {...splashInfo} />}\n </span>\n <Icon withText icon={ChevronRight} />\n {children}\n </Button>\n </Heading>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;GCgBa,KAIT,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,EAAA,GAAA,GAAA,GAAA;CAAA,AAAA,EAAA,OAAA,KAAwC,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,OAAvC,qCAAA,KAAA,GAAuC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CACxC,IAAA,EAAA,eAAA,mBAAoC,EAAU,GAE9C,IAA0B,EAAW,CAAsB,GAAE;CAAA,AAAA,EAAA,OAAA,IACf,IAAA,EAAA,MAAvB,IAAA,KAAA,CAAsB,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAA9C,IAAA,EAAA,kBAAuB,GAAwB;CAAA,AAAA,EAAA,OAAA,IAI9C,IAAA,EAAA,MAFgD,IAAA,EAAA,OACtC,EACX,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAFD,IAAA,EAAA,aAAkB,EAA+B,CAEhD,GAAE;CAAA,AAAA,EAAA,OAAA,IAaU,IAAA,EAAA,MAPU,IAAA,EACP,GACA,GACA,EAAM,SACN,GACA,EAAkB,UAAU,GAC5B,CACJ,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAEc,IAAA,IAAA,KAAA,KAAA,GAAuB;CAAA,AAAA,EAAA,QAAA,IAIO,IAAA,EAAA,OAAxC,IAAA,KAAc,kBAAC,GAAD,EAAO,GAAK,EAAU,CAAA,GAAI,EAAA,MAAA,GAAA,EAAA,MAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,IACtC,IAAA,EAAA,OAFP,IAAA,kBAAA,QAAA;EAAiB,WAAA,EAAO;YACnB;CACE,CAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,OAAA,IAAA,2BAAA,KACP,IAAA,kBAAC,GAAD;EAAM,UAAA;EAAeA,MAAA;CAAY,CAAA,GAAI,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAjBzC,IAAA,kBAAC,GAAD;EACaC,SAAA;EACE,WAAA;EAQN,MAAA;EACU,iBAAA;EACJ,cAAA;YAZf;GAcI;GAGA;GACC;EAlBE;KAmBE,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CACH,OADG,EAAA,QAAA,KAAA,EAAA,QAAA,KApBb,IAAA,kBAAC,GAAD;EAAQ,GAAK;YACT;CADI,CAAA,GAqBE,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA,KArBV;AAqBU"}
@@ -1,16 +1,26 @@
1
- import { useDisclosureTypographyContext as e } from "../components/Disclosure/context/index.js";
2
- import { clsx as t } from "clsx";
3
- import { jsx as n } from "react/jsx-runtime";
4
- import { DisclosurePanel as r } from "react-aria-components";
5
- import '../assets/DisclosurePanel.css';var i = { panel: "_panel_sw5lb_2" }, a = ({ className: a, children: o, panelTypography: s, ...c }) => {
6
- let { panel: l } = e({ panel: s });
7
- return /* @__PURE__ */ n(r, {
8
- className: (e) => t(i.panel, l, typeof a == "function" ? a(e) : a),
9
- ...c,
10
- children: /* @__PURE__ */ n("div", { children: o })
11
- });
1
+ import { t as e } from "./compiler-runtime";
2
+ import { useDisclosureTypographyContext as t } from "../components/Disclosure/context/index.js";
3
+ import { clsx as n } from "clsx";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ import { DisclosurePanel as i } from "react-aria-components";
6
+ import '../assets/DisclosurePanel.css';//#region src/components/Disclosure/DisclosurePanel/disclosurePanel.module.css
7
+ var a = e(), o = { panel: "_panel_sw5lb_2" }, s = (e) => {
8
+ let s = (0, a.c)(16), c, l, u, d;
9
+ s[0] === e ? (c = s[1], l = s[2], u = s[3], d = s[4]) : ({className: l, children: c, panelTypography: u, ...d} = e, s[0] = e, s[1] = c, s[2] = l, s[3] = u, s[4] = d);
10
+ let f;
11
+ s[5] === u ? f = s[6] : (f = { panel: u }, s[5] = u, s[6] = f);
12
+ let { panel: p } = t(f), m;
13
+ s[7] !== l || s[8] !== p ? (m = (e) => n(o.panel, p, typeof l == "function" ? l(e) : l), s[7] = l, s[8] = p, s[9] = m) : m = s[9];
14
+ let h;
15
+ s[10] === c ? h = s[11] : (h = /* @__PURE__ */ r("div", { children: c }), s[10] = c, s[11] = h);
16
+ let g;
17
+ return s[12] !== d || s[13] !== m || s[14] !== h ? (g = /* @__PURE__ */ r(i, {
18
+ className: m,
19
+ ...d,
20
+ children: h
21
+ }), s[12] = d, s[13] = m, s[14] = h, s[15] = g) : g = s[15], g;
12
22
  };
13
23
  //#endregion
14
- export { a as t };
24
+ export { s as t };
15
25
 
16
26
  //# sourceMappingURL=DisclosurePanel.map
@@ -1 +1 @@
1
- {"version":3,"file":"DisclosurePanel","names":[],"sources":["../../src/components/Disclosure/DisclosurePanel/disclosurePanel.module.css","../../src/components/Disclosure/DisclosurePanel/DisclosurePanel.tsx"],"sourcesContent":["@layer adgytec.comps {\n .panel {\n height: var(--disclosure-panel-height);\n\n transition: height var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n overflow: clip;\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n\n > div {\n padding-block-start: var(--spacing);\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { DisclosurePanel as AriaDisclosurePanel } from \"react-aria-components\";\nimport type { Typography } from \"@/utils\";\nimport { useDisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosurePanel.module.css\";\n\nexport const DisclosurePanel: React.FC<\n React.ComponentPropsWithRef<typeof AriaDisclosurePanel> & {\n panelTypography?: Typography;\n }\n> = ({ className, children, panelTypography, ...props }) => {\n const { panel } = useDisclosureTypographyContext({\n panel: panelTypography,\n });\n\n return (\n <AriaDisclosurePanel\n className={(renderProps) =>\n clsx(\n styles[\"panel\"],\n panel,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n >\n <div>{children}</div>\n </AriaDisclosurePanel>\n );\n};\n"],"mappings":";;;;qCCMa,KAIR,EAAE,cAAW,aAAU,oBAAiB,GAAG,QAAY;CACxD,IAAM,EAAE,aAAU,EAA+B,EAC7C,OAAO,EACX,CAAC;CAED,OACI,kBAAC,GAAD;EACI,YAAY,MACR,EACI,EAAO,OACP,GACA,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;EAEJ,GAAI;YAEJ,kBAAC,OAAD,EAAM,YAAc,CAAA;CACH,CAAA;AAE7B"}
1
+ {"version":3,"file":"DisclosurePanel","names":["children"],"sources":["../../src/components/Disclosure/DisclosurePanel/disclosurePanel.module.css","../../src/components/Disclosure/DisclosurePanel/DisclosurePanel.tsx"],"sourcesContent":["@layer adgytec.comps {\n .panel {\n height: var(--disclosure-panel-height);\n\n transition: height var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n overflow: clip;\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n\n > div {\n padding-block-start: var(--spacing);\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { DisclosurePanel as AriaDisclosurePanel } from \"react-aria-components\";\nimport type { Typography } from \"@/utils\";\nimport { useDisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosurePanel.module.css\";\n\nexport const DisclosurePanel: React.FC<\n React.ComponentPropsWithRef<typeof AriaDisclosurePanel> & {\n panelTypography?: Typography;\n }\n> = ({ className, children, panelTypography, ...props }) => {\n const { panel } = useDisclosureTypographyContext({\n panel: panelTypography,\n });\n\n return (\n <AriaDisclosurePanel\n className={(renderProps) =>\n clsx(\n styles[\"panel\"],\n panel,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n >\n <div>{children}</div>\n </AriaDisclosurePanel>\n );\n};\n"],"mappings":";;;;;;8CCMa,KAIT,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,EAAA,GAAA,GAAA,GAAA,GAAA;CAAA,AAAA,EAAA,OAAA,KAAmD,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,OAAlD,mDAAA,KAAA,GAAkD,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,IAGlD,IAAA,EAAA,MAFgD,IAAA,EAAA,OACtC,EACX,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAFD,IAAA,EAAA,aAAkB,EAA+B,CAEhD,GAAE;CAAA,AAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAIgB,KAAA,MACP,EACI,EAAM,OACN,GACA,OAAO,KAAc,aACf,EAAU,CACF,IAFd,CAGJ,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,IAIgB,IAAA,EAAA,OAArB,IAAA,kBAAA,OAAA,EAAM,YAAe,CAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA;CAAA,IAAA;CACH,OADG,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAZzB,IAAA,kBAAC,GAAD;EACe,WAAA;EAON,GAED;YAEJ;CAZgB,CAAA,GAaE,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA,KAbtB;AAasB"}
@@ -1,12 +1,21 @@
1
- import { clsx as e } from "clsx";
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
- className: e(r.divider, i),
6
- ...a,
7
- "data-divider": !0
8
- });
1
+ import { t as e } from "./compiler-runtime";
2
+ import { clsx as t } from "clsx";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { Separator as r } from "react-aria-components";
5
+ import '../assets/Divider.css';//#region src/components/Divider/divider.module.css
6
+ var i = e(), a = { divider: "_divider_1sn33_8" }, o = (e) => {
7
+ let o = (0, i.c)(8), s, c;
8
+ o[0] === e ? (s = o[1], c = o[2]) : ({className: s, ...c} = e, o[0] = e, o[1] = s, o[2] = c);
9
+ let l;
10
+ o[3] === s ? l = o[4] : (l = t(a.divider, s), o[3] = s, o[4] = l);
11
+ let u;
12
+ return o[5] !== c || o[6] !== l ? (u = /* @__PURE__ */ n(r, {
13
+ className: l,
14
+ ...c,
15
+ "data-divider": !0
16
+ }), o[5] = c, o[6] = l, o[7] = u) : u = o[7], u;
17
+ };
9
18
  //#endregion
10
- export { i as t };
19
+ export { o as t };
11
20
 
12
21
  //# sourceMappingURL=Divider.map
@@ -1 +1 @@
1
- {"version":3,"file":"Divider","names":[],"sources":["../../src/components/Divider/divider.module.css","../../src/components/Divider/Divider.tsx"],"sourcesContent":["/* configurable tokens\n*\n* --md-divider-color\n*\n* configurable tokens end */\n\n@layer adgytec.comps {\n .divider {\n --_thickness: calc(1 * var(--dp, 1px));\n --_color: var(--md-divider-color, var(--md-sys-color-outline-variant));\n\n background-color: rgb(\n from var(--_color) r g b /\n var(--md-sys-state-divider)\n );\n\n inline-size: 100%;\n block-size: var(--_thickness);\n min-block-size: var(--_thickness);\n\n border: none;\n margin: 0;\n\n &[aria-orientation=\"vertical\"] {\n block-size: 100%;\n\n inline-size: var(--_thickness);\n min-inline-size: var(--_thickness);\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { Separator } from \"react-aria-components\";\nimport styles from \"./divider.module.css\";\n\nexport const Divider: React.FC<\n React.ComponentPropsWithRef<typeof Separator>\n> = ({ className, ...props }) => {\n return (\n <Separator\n className={clsx(styles[\"divider\"], className)}\n {...props}\n data-divider\n />\n );\n};\n"],"mappings":";;;yCCIa,KAER,EAAE,cAAW,GAAG,QAEb,kBAAC,GAAD;CACI,WAAW,EAAK,EAAO,SAAY,CAAS;CAC5C,GAAI;CACJ,gBAAA;AACH,CAAA"}
1
+ {"version":3,"file":"Divider","names":[],"sources":["../../src/components/Divider/divider.module.css","../../src/components/Divider/Divider.tsx"],"sourcesContent":["/* configurable tokens\n*\n* --md-divider-color\n*\n* configurable tokens end */\n\n@layer adgytec.comps {\n .divider {\n --_thickness: calc(1 * var(--dp, 1px));\n --_color: var(--md-divider-color, var(--md-sys-color-outline-variant));\n\n background-color: rgb(\n from var(--_color) r g b /\n var(--md-sys-state-divider)\n );\n\n inline-size: 100%;\n block-size: var(--_thickness);\n min-block-size: var(--_thickness);\n\n border: none;\n margin: 0;\n\n &[aria-orientation=\"vertical\"] {\n block-size: 100%;\n\n inline-size: var(--_thickness);\n min-inline-size: var(--_thickness);\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { Separator } from \"react-aria-components\";\nimport styles from \"./divider.module.css\";\n\nexport const Divider: React.FC<\n React.ComponentPropsWithRef<typeof Separator>\n> = ({ className, ...props }) => {\n return (\n <Separator\n className={clsx(styles[\"divider\"], className)}\n {...props}\n data-divider\n />\n );\n};\n"],"mappings":";;;;;kDCIa,KAET,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,CAAA,GAAA,GAAA;CAAA,AAAA,EAAA,OAAA,KAAwB,IAAA,EAAA,IAAA,IAAA,EAAA,OAAvB,kBAAA,KAAA,GAAuB,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,IAG6B,IAAA,EAAA,MAAlC,IAAA,EAAK,EAAM,SAAa,CAAS,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAG/C,OAH+C,EAAA,OAAA,KAAA,EAAA,OAAA,KADjD,IAAA,kBAAC,GAAD;EACe,WAAA;EAAkC,GACzC;EACJ,gBAAA;CAAY,CAAA,GACd,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA,IAJF;AAIE"}
@@ -1,12 +1,21 @@
1
- import { t as e } from "./base";
2
- import { clsx as t } from "clsx";
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
- className: (n) => t(i.error, e.labelMedium, typeof a == "function" ? a(n) : a),
7
- ...o
8
- });
1
+ import { t as e } from "./compiler-runtime";
2
+ import { t } from "./base";
3
+ import { clsx as n } from "clsx";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ import { FieldError as i } from "react-aria-components";
6
+ import '../assets/FieldError.css';//#region src/components/Input/FieldError/fieldError.module.css
7
+ var a = e(), o = { error: "_error_16b4e_2" }, s = (e) => {
8
+ let s = (0, a.c)(8), c, l;
9
+ s[0] === e ? (c = s[1], l = s[2]) : ({className: c, ...l} = e, s[0] = e, s[1] = c, s[2] = l);
10
+ let u;
11
+ s[3] === c ? u = s[4] : (u = (e) => n(o.error, t.labelMedium, typeof c == "function" ? c(e) : c), s[3] = c, s[4] = u);
12
+ let d;
13
+ return s[5] !== l || s[6] !== u ? (d = /* @__PURE__ */ r(i, {
14
+ className: u,
15
+ ...l
16
+ }), s[5] = l, s[6] = u, s[7] = d) : d = s[7], d;
17
+ };
9
18
  //#endregion
10
- export { a as t };
19
+ export { s as t };
11
20
 
12
21
  //# sourceMappingURL=FieldError.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldError","names":[],"sources":["../../src/components/Input/FieldError/fieldError.module.css","../../src/components/Input/FieldError/FieldError.tsx"],"sourcesContent":["@layer adgytec.comps {\n .error {\n color: var(--md-sys-color-error);\n }\n}\n","import { clsx } from \"clsx\";\nimport { FieldError as AriaFieldError } from \"react-aria-components\";\nimport { typography } from \"@/utils/typography\";\nimport styles from \"./fieldError.module.css\";\n\nexport const FieldError: React.FC<\n React.ComponentPropsWithRef<typeof AriaFieldError>\n> = ({ className, ...props }) => {\n return (\n <AriaFieldError\n className={(renderProps) =>\n clsx(\n styles[\"error\"],\n typography.labelMedium,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n />\n );\n};\n"],"mappings":";;;;qCCKa,KAER,EAAE,cAAW,GAAG,QAEb,kBAAC,GAAD;CACI,YAAY,MACR,EACI,EAAO,OACP,EAAW,aACX,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;CAEJ,GAAI;AACP,CAAA"}
1
+ {"version":3,"file":"FieldError","names":[],"sources":["../../src/components/Input/FieldError/fieldError.module.css","../../src/components/Input/FieldError/FieldError.tsx"],"sourcesContent":["@layer adgytec.comps {\n .error {\n color: var(--md-sys-color-error);\n }\n}\n","import { clsx } from \"clsx\";\nimport { FieldError as AriaFieldError } from \"react-aria-components\";\nimport { typography } from \"@/utils/typography\";\nimport styles from \"./fieldError.module.css\";\n\nexport const FieldError: React.FC<\n React.ComponentPropsWithRef<typeof AriaFieldError>\n> = ({ className, ...props }) => {\n return (\n <AriaFieldError\n className={(renderProps) =>\n clsx(\n styles[\"error\"],\n typography.labelMedium,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;8CCKa,KAET,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,CAAA,GAAA,GAAA;CAAA,AAAA,EAAA,OAAA,KAAwB,IAAA,EAAA,IAAA,IAAA,EAAA,OAAvB,kBAAA,KAAA,GAAuB,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAAA,AAAA,EAAA,OAAA,IAUX,IAAA,EAAA,MAPM,KAAA,MACP,EACI,EAAM,OACN,EAAU,aACV,OAAO,KAAc,aACf,EAAU,CACF,IAFd,CAGJ,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA;CAAA,IAAA;CAGP,OAHO,EAAA,OAAA,KAAA,EAAA,OAAA,KART,IAAA,kBAAC,GAAD;EACe,WAAA;EAON,GAED;CAAK,CAAA,GACX,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,KAAA,IAAA,EAAA,IAXF;AAWE"}
package/dist/chunks/Icon CHANGED
@@ -1,6 +1,8 @@
1
- import e from "clsx";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import '../assets/Icon.css';var n = {
1
+ import { t as e } from "./compiler-runtime";
2
+ import t from "clsx";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import '../assets/Icon.css';//#region src/components/Icon/icon.module.css
5
+ var r = e(), i = {
4
6
  icon: "_icon_ozzt2_2",
5
7
  "with-text": "_with-text_ozzt2_7",
6
8
  dense: "_dense_ozzt2_13",
@@ -8,19 +10,22 @@ import '../assets/Icon.css';var n = {
8
10
  medium: "_medium_ozzt2_21",
9
11
  large: "_large_ozzt2_25",
10
12
  "extra-large": "_extra-large_ozzt2_29"
11
- }, r = ({ size: r, withText: i, icon: a, className: o, ...s }) => {
12
- process.env.NODE_ENV !== "production" && i && r !== void 0 && console.warn("Icon: 'size' is ignored when 'withText' is true.");
13
- let c = typeof r == "number", l = !i && !c, u = !i && c;
14
- return /* @__PURE__ */ t(a, {
15
- className: e(i && n["with-text"], {
16
- [n.icon]: l,
17
- [n[r ?? "standard"]]: l
18
- }, o),
19
- size: u ? r : void 0,
20
- ...s
21
- });
13
+ }, a = (e) => {
14
+ let a = (0, r.c)(16), o, s, c, l, u;
15
+ a[0] === e ? (o = a[1], s = a[2], c = a[3], l = a[4], u = a[5]) : ({size: l, withText: u, icon: o, className: s, ...c} = e, a[0] = e, a[1] = o, a[2] = s, a[3] = c, a[4] = l, a[5] = u), process.env.NODE_ENV !== "production" && u && l !== void 0 && console.warn("Icon: 'size' is ignored when 'withText' is true.");
16
+ let d = typeof l == "number", f = !u && !d, p = !u && d, m = u && i["with-text"], h = i[l ?? "standard"], g;
17
+ a[6] !== s || a[7] !== f || a[8] !== m || a[9] !== h ? (g = t(m, {
18
+ [i.icon]: f,
19
+ [h]: f
20
+ }, s), a[6] = s, a[7] = f, a[8] = m, a[9] = h, a[10] = g) : g = a[10];
21
+ let _ = p ? l : void 0, v;
22
+ return a[11] !== o || a[12] !== c || a[13] !== g || a[14] !== _ ? (v = /* @__PURE__ */ n(o, {
23
+ className: g,
24
+ size: _,
25
+ ...c
26
+ }), a[11] = o, a[12] = c, a[13] = g, a[14] = _, a[15] = v) : v = a[15], v;
22
27
  };
23
28
  //#endregion
24
- export { r as t };
29
+ export { a as t };
25
30
 
26
31
  //# sourceMappingURL=Icon.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon","names":[],"sources":["../../src/components/Icon/icon.module.css","../../src/components/Icon/Icon.tsx"],"sourcesContent":["@layer adgytec.comps {\n .icon {\n width: var(--_icon-size);\n height: var(--_icon-size);\n }\n\n .with-text {\n width: 1em;\n height: 1em;\n }\n\n /* size */\n .dense {\n --_icon-size: var(--md-sys-icon-dense);\n }\n\n .standard {\n --_icon-size: var(--md-sys-icon-standard);\n }\n\n .medium {\n --_icon-size: var(--md-sys-icon-medium);\n }\n\n .large {\n --_icon-size: var(--md-sys-icon-large);\n }\n\n .extra-large {\n --_icon-size: var(--md-sys-icon-extra-large);\n }\n}\n","// icons with typography ref\n// https://m3.material.io/styles/icons/applying-icons#f9db4adc-ca78-473f-85eb-a351b73c39ac\n\nimport clsx from \"clsx\";\nimport styles from \"./icon.module.css\";\nimport type { IconProps } from \"./types\";\n\nexport const Icon: React.FC<IconProps> = ({\n size,\n withText,\n icon: Icon,\n className,\n ...props\n}) => {\n if (process.env.NODE_ENV !== \"production\") {\n if (withText && typeof size !== \"undefined\") {\n console.warn(\"Icon: 'size' is ignored when 'withText' is true.\");\n }\n }\n\n const sizeInNum = typeof size === \"number\";\n\n const shouldAddSizeClasses = !withText && !sizeInNum;\n const shouldAddSizeProp = !withText && sizeInNum;\n return (\n <Icon\n className={clsx(\n withText && styles[\"with-text\"],\n {\n [styles[\"icon\"]]: shouldAddSizeClasses,\n [styles[size ?? \"standard\"]]: shouldAddSizeClasses,\n },\n className\n )}\n size={shouldAddSizeProp ? size : undefined}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;;;;;GCOa,KAA6B,EACtC,SACA,aACA,MAAM,GACN,cACA,GAAG,QACD;CACF,AAAA,QAAA,IAAA,aAA6B,gBACrB,KAAmB,MAAS,UAC5B,QAAQ,KAAK,kDAAkD;CAIvE,IAAM,IAAY,OAAO,KAAS,UAE5B,IAAuB,CAAC,KAAY,CAAC,GACrC,IAAoB,CAAC,KAAY;CACvC,OACI,kBAAC,GAAD;EACI,WAAW,EACP,KAAY,EAAO,cACnB;IACK,EAAO,OAAU;IACjB,EAAO,KAAQ,cAAc;EAClC,GACA,CACJ;EACA,MAAM,IAAoB,IAAO,KAAA;EACjC,GAAI;CACP,CAAA;AAET"}
1
+ {"version":3,"file":"Icon","names":[],"sources":["../../src/components/Icon/icon.module.css","../../src/components/Icon/Icon.tsx"],"sourcesContent":["@layer adgytec.comps {\n .icon {\n width: var(--_icon-size);\n height: var(--_icon-size);\n }\n\n .with-text {\n width: 1em;\n height: 1em;\n }\n\n /* size */\n .dense {\n --_icon-size: var(--md-sys-icon-dense);\n }\n\n .standard {\n --_icon-size: var(--md-sys-icon-standard);\n }\n\n .medium {\n --_icon-size: var(--md-sys-icon-medium);\n }\n\n .large {\n --_icon-size: var(--md-sys-icon-large);\n }\n\n .extra-large {\n --_icon-size: var(--md-sys-icon-extra-large);\n }\n}\n","// icons with typography ref\n// https://m3.material.io/styles/icons/applying-icons#f9db4adc-ca78-473f-85eb-a351b73c39ac\n\nimport clsx from \"clsx\";\nimport styles from \"./icon.module.css\";\nimport type { IconProps } from \"./types\";\n\nexport const Icon: React.FC<IconProps> = ({\n size,\n withText,\n icon: Icon,\n className,\n ...props\n}) => {\n if (process.env.NODE_ENV !== \"production\") {\n if (withText && typeof size !== \"undefined\") {\n console.warn(\"Icon: 'size' is ignored when 'withText' is true.\");\n }\n }\n\n const sizeInNum = typeof size === \"number\";\n\n const shouldAddSizeClasses = !withText && !sizeInNum;\n const shouldAddSizeProp = !withText && sizeInNum;\n return (\n <Icon\n className={clsx(\n withText && styles[\"with-text\"],\n {\n [styles[\"icon\"]]: shouldAddSizeClasses,\n [styles[size ?? \"standard\"]]: shouldAddSizeClasses,\n },\n className\n )}\n size={shouldAddSizeProp ? size : undefined}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;;;;;;;GCOa,KAA4B,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,EAAA,GAAA,GAAA,GAAA,GAAA,GAAA;CAOrC,AAPqC,EAAA,OAAA,KAMxC,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,OANyC,uBAAA,MAAA,oBAAA,KAAA,GAMzC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,IACG,QAAA,IAAA,aAA6B,gBACrB,KAAmB,MAAS,UAC5B,QAAO,KAAM,kDAAkD;CAIvE,IAAA,IAAkB,OAAO,KAAS,UAElC,IAA6B,CAAC,KAAD,CAAc,GAC3C,IAA0B,CAAC,KAAD,GAId,IAAA,KAAY,EAAO,cAGd,IAAA,EAAO,KAAA,aAAmB;CAAA,AAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAAA,EAAA,OAAA,KAJxB,IAAA,EACP,GACA;GACK,EAAM,OAAW;GACjB,IAA6B;CAClC,GACA,CACJ,GAAC,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CACK,IAAA,IAAA,IAAA,IAAA,KAAA,GAAoC;CAE5C,OAF4C,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAT9C,IAAA,kBAAC,GAAD;EACe,WAAA;EAQL,MAAA;EAAoC,GACtC;CAAK,CAAA,GACX,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA,KAXF;AAWE"}
package/dist/chunks/Input CHANGED
@@ -1,84 +1,92 @@
1
- import { t as e } from "./tapTarget";
2
- import { t } from "./base";
3
- import { Description as n } from "../components/Input/Description/index.js";
4
- import { t as r } from "./FieldError";
5
- import { Label as i } from "../components/Input/Label/index.js";
6
- import a from "clsx";
7
- import { createContext as o, useContext as s } from "react";
8
- import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
9
- import { Checkbox as d, CheckboxGroup as f } from "react-aria-components";
10
- import '../assets/Input.css';var p = {
1
+ import { t as e } from "./compiler-runtime";
2
+ import { t } from "./tapTarget";
3
+ import { t as n } from "./base";
4
+ import { Description as r } from "../components/Input/Description/index.js";
5
+ import { t as i } from "./FieldError";
6
+ import { Label as a } from "../components/Input/Label/index.js";
7
+ import o from "clsx";
8
+ import { createContext as s, useContext as c } from "react";
9
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
10
+ import { Checkbox as f, CheckboxGroup as p } from "react-aria-components";
11
+ import '../assets/Input.css';//#region src/components/Input/Checkbox/checkbox.module.css
12
+ var m = e(), h = {
11
13
  "checkbox-group": "_checkbox-group_km0x5_16",
12
14
  "checkbox-items": "_checkbox-items_km0x5_29",
13
15
  checkbox: "_checkbox_km0x5_16",
14
16
  "state-layer": "_state-layer_km0x5_167",
15
17
  indicator: "_indicator_km0x5_187",
16
18
  svg: "_svg_km0x5_296"
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
- className: (e) => a(p.checkbox, v && p["state-layer"], t.labelLarge, typeof r == "function" ? r(e) : r),
21
- ...f,
22
- "data-checkbox": !0,
23
- children: (t) => {
24
- let { isSelected: r, isHovered: i, isDisabled: o, isFocused: s, isFocusVisible: d, isPressed: f, isInvalid: m, isIndeterminate: h } = t, g = {
25
- "data-selected": r || void 0,
26
- "data-hovered": i || void 0,
27
- "data-disabled": o || void 0,
28
- "data-focused": s || void 0,
29
- "data-focus-visible": d || void 0,
30
- "data-pressed": f || void 0,
31
- "data-invalid": m || void 0,
32
- "data-indeterminate": h || void 0,
33
- "data-show-state-layer": !v || void 0,
34
- "data-filled": r || h || void 0
35
- }, y = typeof n == "function" ? n(t) : n;
36
- return /* @__PURE__ */ u(c, { children: [
37
- _ === "start" && y,
38
- /* @__PURE__ */ l("span", {
39
- className: a(p.indicator, e),
19
+ }, g = s({}), _ = (e) => {
20
+ let r = (0, m.c)(17), i, a, s, p, _;
21
+ r[0] === e ? (i = r[1], a = r[2], s = r[3], p = r[4], _ = r[5]) : ({children: i, className: a, labelPlacement: p, containerStateLayer: s, ..._} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = s, r[4] = p, r[5] = _);
22
+ let { labelPlacement: v, containerStateLayer: y } = c(g), b = p ?? v ?? "end", x = s ?? y ?? !1, S;
23
+ r[6] !== a || r[7] !== x ? (S = (e) => o(h.checkbox, x && h["state-layer"], n.labelLarge, typeof a == "function" ? a(e) : a), r[6] = a, r[7] = x, r[8] = S) : S = r[8];
24
+ let C;
25
+ r[9] !== i || r[10] !== b || r[11] !== x ? (C = (e) => {
26
+ let { isSelected: n, isHovered: r, isDisabled: a, isFocused: s, isFocusVisible: c, isPressed: f, isInvalid: p, isIndeterminate: m } = e, g = {
27
+ "data-selected": n || void 0,
28
+ "data-hovered": r || void 0,
29
+ "data-disabled": a || void 0,
30
+ "data-focused": s || void 0,
31
+ "data-focus-visible": c || void 0,
32
+ "data-pressed": f || void 0,
33
+ "data-invalid": p || void 0,
34
+ "data-indeterminate": m || void 0,
35
+ "data-show-state-layer": !x || void 0,
36
+ "data-filled": n || m || void 0
37
+ }, _ = typeof i == "function" ? i(e) : i;
38
+ return /* @__PURE__ */ d(l, { children: [
39
+ b === "start" && _,
40
+ /* @__PURE__ */ u("span", {
41
+ className: o(h.indicator, t),
42
+ ...g,
43
+ children: /* @__PURE__ */ u("svg", {
44
+ viewBox: "0 0 18 18",
45
+ "aria-hidden": "true",
46
+ className: h.svg,
40
47
  ...g,
41
- children: /* @__PURE__ */ l("svg", {
42
- viewBox: "0 0 18 18",
43
- "aria-hidden": "true",
44
- className: p.svg,
45
- ...g,
46
- children: h ? /* @__PURE__ */ l("rect", {
47
- x: 1,
48
- y: 7.5,
49
- width: 16,
50
- height: 3
51
- }) : /* @__PURE__ */ l("polyline", { points: "2 9 7 14 16 4" })
52
- }, h ? "indeterminate" : "check")
53
- }),
54
- _ === "end" && y
55
- ] });
56
- }
57
- });
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, {
48
+ children: m ? /* @__PURE__ */ u("rect", {
49
+ x: 1,
50
+ y: 7.5,
51
+ width: 16,
52
+ height: 3
53
+ }) : /* @__PURE__ */ u("polyline", { points: "2 9 7 14 16 4" })
54
+ }, m ? "indeterminate" : "check")
55
+ }),
56
+ b === "end" && _
57
+ ] });
58
+ }, r[9] = i, r[10] = b, r[11] = x, r[12] = C) : C = r[12];
59
+ let w;
60
+ return r[13] !== _ || r[14] !== S || r[15] !== C ? (w = /* @__PURE__ */ u(f, {
61
+ className: S,
62
+ ..._,
63
+ "data-checkbox": !0,
64
+ children: C
65
+ }), r[13] = _, r[14] = S, r[15] = C, r[16] = w) : w = r[16], w;
66
+ }, v = ({ label: e, description: t, errorMessage: n, children: s, className: c, checkboxItemsGap: f = 24, labelPlacement: m, containerStateLayer: _, showDescriptionOnInvalid: v = !1, ...y }) => /* @__PURE__ */ u(g, {
59
67
  value: {
60
- labelPlacement: g,
68
+ labelPlacement: m,
61
69
  containerStateLayer: _
62
70
  },
63
- children: /* @__PURE__ */ l(f, {
64
- className: (e) => a(p["checkbox-group"], typeof d == "function" ? d(e) : d),
71
+ children: /* @__PURE__ */ u(p, {
72
+ className: (e) => o(h["checkbox-group"], typeof c == "function" ? c(e) : c),
65
73
  ...y,
66
- children: ({ isInvalid: d }) => {
67
- let f = t && (!d || d && v);
68
- return /* @__PURE__ */ u(c, { children: [
69
- e && /* @__PURE__ */ l(i, { children: e }),
70
- /* @__PURE__ */ l("div", {
71
- className: a(p["checkbox-items"]),
72
- style: { gap: `calc(${h} * var(--dp, 1px))` },
74
+ children: ({ isInvalid: c }) => {
75
+ let p = t && (!c || c && v);
76
+ return /* @__PURE__ */ d(l, { children: [
77
+ e && /* @__PURE__ */ u(a, { children: e }),
78
+ /* @__PURE__ */ u("div", {
79
+ className: o(h["checkbox-items"]),
80
+ style: { gap: `calc(${f} * var(--dp, 1px))` },
73
81
  children: s
74
82
  }),
75
- f && /* @__PURE__ */ l(n, { children: t }),
76
- /* @__PURE__ */ l(r, { children: o })
83
+ p && /* @__PURE__ */ u(r, { children: t }),
84
+ /* @__PURE__ */ u(i, { children: n })
77
85
  ] });
78
86
  }
79
87
  })
80
88
  });
81
89
  //#endregion
82
- export { h as n, g as t };
90
+ export { _ as n, v as t };
83
91
 
84
92
  //# sourceMappingURL=Input.map