@okam/stack-ui 1.36.1 → 1.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/components/Dialog/interface.d.ts +5 -3
  3. package/components/Lightbox/interface.d.ts +2 -0
  4. package/components/Modal/interface.d.ts +6 -4
  5. package/components/SidePanel/interface.d.ts +9 -6
  6. package/hooks/useLabelledOverlay/index.d.ts +9 -0
  7. package/hooks/useLabelledOverlay/interface.d.ts +14 -0
  8. package/index.d.ts +2 -1
  9. package/index.js +1 -1
  10. package/index.mjs +72 -70
  11. package/index100.js +5 -1
  12. package/index100.mjs +88 -6
  13. package/index101.js +1 -12
  14. package/index101.mjs +6 -40
  15. package/index102.js +12 -1
  16. package/index102.mjs +36 -25
  17. package/index103.js +1 -1
  18. package/index103.mjs +24 -8
  19. package/index104.js +1 -7
  20. package/index104.mjs +7 -13
  21. package/index105.js +6 -14
  22. package/index105.mjs +13 -65
  23. package/index106.js +15 -1
  24. package/index106.mjs +71 -7
  25. package/index107.js +1 -41
  26. package/index107.mjs +7 -106
  27. package/index108.js +32 -38
  28. package/index108.mjs +78 -74
  29. package/index109.js +46 -15
  30. package/index109.mjs +96 -19
  31. package/index110.js +16 -1
  32. package/index110.mjs +20 -37
  33. package/index111.js +1 -1
  34. package/index111.mjs +42 -48
  35. package/index112.js +1 -1
  36. package/index112.mjs +47 -22
  37. package/index113.js +1 -2
  38. package/index113.mjs +22 -21
  39. package/index123.js +1 -1
  40. package/index123.mjs +1 -1
  41. package/index131.js +1 -1
  42. package/index131.mjs +23 -8
  43. package/index132.js +1 -1
  44. package/index132.mjs +1 -1
  45. package/index133.js +1 -1
  46. package/index133.mjs +4 -4
  47. package/index134.js +1 -1
  48. package/index134.mjs +2 -2
  49. package/index135.js +1 -1
  50. package/index135.mjs +9 -9
  51. package/index139.js +1 -1
  52. package/index139.mjs +6 -18
  53. package/index145.js +1 -1
  54. package/index145.mjs +1 -1
  55. package/index150.js +1 -1
  56. package/index150.mjs +54 -18
  57. package/index151.js +1 -1
  58. package/index151.mjs +21 -6
  59. package/index152.js +1 -1
  60. package/index152.mjs +5 -11
  61. package/index153.js +1 -1
  62. package/index153.mjs +12 -57
  63. package/index159.js +1 -1
  64. package/index159.mjs +1 -1
  65. package/index162.js +1 -1
  66. package/index162.mjs +1 -1
  67. package/index178.js +1 -1
  68. package/index178.mjs +1 -1
  69. package/index18.js +1 -1
  70. package/index18.mjs +1 -1
  71. package/index196.js +1 -1
  72. package/index196.mjs +122 -138
  73. package/index197.js +1 -1
  74. package/index197.mjs +129 -192
  75. package/index198.js +1 -1
  76. package/index198.mjs +44 -22
  77. package/index199.js +1 -1
  78. package/index199.mjs +14 -49
  79. package/index2.js +1 -1
  80. package/index2.mjs +21 -21
  81. package/index200.js +1 -1
  82. package/index200.mjs +93 -46
  83. package/index201.js +1 -1
  84. package/index201.mjs +98 -89
  85. package/index202.js +1 -1
  86. package/index202.mjs +5 -72
  87. package/index203.js +1 -1
  88. package/index203.mjs +3 -68
  89. package/index204.js +1 -1
  90. package/index204.mjs +125 -7
  91. package/index205.js +1 -1
  92. package/index205.mjs +29 -11
  93. package/index206.js +1 -1
  94. package/index206.mjs +40 -113
  95. package/index207.js +1 -1
  96. package/index207.mjs +41 -131
  97. package/index208.js +1 -1
  98. package/index208.mjs +36 -43
  99. package/index209.js +1 -1
  100. package/index209.mjs +110 -11
  101. package/index210.js +1 -1
  102. package/index210.mjs +59 -77
  103. package/index211.js +1 -1
  104. package/index211.mjs +94 -99
  105. package/index212.js +1 -1
  106. package/index212.mjs +98 -5
  107. package/index213.js +1 -1
  108. package/index213.mjs +140 -3
  109. package/index214.js +1 -1
  110. package/index214.mjs +191 -119
  111. package/index215.js +1 -1
  112. package/index215.mjs +22 -29
  113. package/index216.js +1 -1
  114. package/index216.mjs +49 -51
  115. package/index217.js +1 -1
  116. package/index217.mjs +47 -43
  117. package/index218.js +1 -1
  118. package/index218.mjs +95 -35
  119. package/index219.js +1 -1
  120. package/index219.mjs +72 -114
  121. package/index220.js +1 -1
  122. package/index220.mjs +67 -76
  123. package/index221.js +1 -1
  124. package/index221.mjs +7 -101
  125. package/index222.js +1 -1
  126. package/index222.mjs +12 -98
  127. package/index250.js +1 -1
  128. package/index250.mjs +1 -1
  129. package/index255.js +1 -1
  130. package/index255.mjs +5 -5
  131. package/index256.js +1 -1
  132. package/index256.mjs +1 -1
  133. package/index257.js +1 -1
  134. package/index257.mjs +4 -4
  135. package/index258.js +1 -1
  136. package/index258.mjs +1 -1
  137. package/index259.js +1 -1
  138. package/index259.mjs +1 -1
  139. package/index260.js +1 -1
  140. package/index260.mjs +4 -4
  141. package/index261.js +1 -1
  142. package/index261.mjs +4 -4
  143. package/index262.js +1 -1
  144. package/index262.mjs +1 -1
  145. package/index263.js +1 -1
  146. package/index263.mjs +4 -4
  147. package/index264.js +1 -1
  148. package/index264.mjs +4 -4
  149. package/index265.js +1 -1
  150. package/index265.mjs +1 -1
  151. package/index266.js +1 -1
  152. package/index266.mjs +4 -4
  153. package/index267.js +1 -1
  154. package/index267.mjs +4 -4
  155. package/index268.js +1 -1
  156. package/index268.mjs +1 -1
  157. package/index269.js +1 -1
  158. package/index269.mjs +1 -1
  159. package/index270.js +1 -1
  160. package/index270.mjs +4 -4
  161. package/index271.js +1 -1
  162. package/index271.mjs +4 -4
  163. package/index272.js +1 -1
  164. package/index272.mjs +1 -1
  165. package/index273.js +1 -1
  166. package/index273.mjs +4 -4
  167. package/index274.js +1 -1
  168. package/index274.mjs +4 -4
  169. package/index275.js +1 -1
  170. package/index275.mjs +4 -4
  171. package/index276.js +1 -1
  172. package/index276.mjs +1 -1
  173. package/index277.js +1 -1
  174. package/index277.mjs +4 -4
  175. package/index278.js +1 -1
  176. package/index278.mjs +4 -4
  177. package/index279.js +1 -1
  178. package/index279.mjs +4 -4
  179. package/index280.js +1 -1
  180. package/index280.mjs +4 -4
  181. package/index281.js +1 -1
  182. package/index281.mjs +4 -4
  183. package/index282.js +1 -1
  184. package/index282.mjs +1 -1
  185. package/index283.js +1 -1
  186. package/index283.mjs +1 -1
  187. package/index284.js +1 -1
  188. package/index284.mjs +1 -1
  189. package/index285.js +1 -1
  190. package/index285.mjs +4 -4
  191. package/index286.js +1 -1
  192. package/index286.mjs +4 -4
  193. package/index287.js +1 -1
  194. package/index287.mjs +4 -4
  195. package/index288.js +1 -1
  196. package/index288.mjs +4 -4
  197. package/index289.js +1 -1
  198. package/index289.mjs +5 -5
  199. package/index30.js +1 -1
  200. package/index30.mjs +15 -12
  201. package/index310.js +1 -1
  202. package/index310.mjs +1 -1
  203. package/index35.js +1 -1
  204. package/index35.mjs +20 -20
  205. package/index38.js +1 -1
  206. package/index38.mjs +13 -13
  207. package/index4.js +1 -1
  208. package/index4.mjs +1 -1
  209. package/index43.js +1 -1
  210. package/index43.mjs +1 -1
  211. package/index45.js +1 -1
  212. package/index45.mjs +1 -1
  213. package/index75.js +1 -1
  214. package/index75.mjs +34 -29
  215. package/index8.js +1 -1
  216. package/index8.mjs +45 -34
  217. package/index81.js +1 -1
  218. package/index81.mjs +1 -1
  219. package/index89.js +2 -1
  220. package/index89.mjs +20 -5
  221. package/index9.js +1 -1
  222. package/index9.mjs +32 -30
  223. package/index90.js +1 -1
  224. package/index90.mjs +5 -2
  225. package/index91.js +1 -6
  226. package/index91.mjs +2 -94
  227. package/index92.js +6 -1
  228. package/index92.mjs +79 -54
  229. package/index93.js +1 -1
  230. package/index93.mjs +61 -33
  231. package/index94.js +1 -42
  232. package/index94.mjs +34 -67
  233. package/index95.js +38 -60
  234. package/index95.mjs +65 -219
  235. package/index96.js +63 -8
  236. package/index96.mjs +215 -44
  237. package/index97.js +9 -1
  238. package/index97.mjs +48 -36
  239. package/index98.js +1 -1
  240. package/index98.mjs +40 -8
  241. package/index99.js +1 -5
  242. package/index99.mjs +10 -85
  243. package/package.json +1 -1
  244. package/providers/SidePanel/interface.d.ts +13 -4
  245. package/theme/SidePanel/index.d.ts +1 -1
  246. package/components/Lightbox/hooks/overlay/index.d.ts +0 -79
package/index35.mjs CHANGED
@@ -1,36 +1,36 @@
1
1
  "use client";
2
- import { jsx as i } from "react/jsx-runtime";
3
- import { useMenu as f } from "./index76.mjs";
4
- import h from "./index8.mjs";
5
- import p from "./index143.mjs";
6
- const T = (m) => {
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ import { useMenu as h } from "./index76.mjs";
4
+ import p from "./index8.mjs";
5
+ import P from "./index143.mjs";
6
+ const B = (m) => {
7
7
  const {
8
8
  id: n = "main-menu",
9
9
  children: s,
10
- TransitionAnimation: l,
11
- PanelTransition: a,
10
+ TransitionAnimation: a,
11
+ PanelTransition: l,
12
12
  themeName: t,
13
13
  tokens: o,
14
- customTheme: r,
15
- ...c
16
- } = m, { closeBtn: d, tabState: e, defaultSelectedKey: u } = f();
17
- return /* @__PURE__ */ i(
18
- h,
14
+ customTheme: i,
15
+ ...d
16
+ } = m, { closeBtn: c, tabState: e, defaultSelectedKey: u } = h();
17
+ return /* @__PURE__ */ r(
18
+ p,
19
19
  {
20
20
  themeName: `${t}.sidePanel`,
21
21
  tokens: o,
22
- customTheme: r,
23
- closeBtnRender: d,
22
+ customTheme: i,
23
+ closeBtnRender: c,
24
24
  id: n,
25
- TransitionAnimation: l,
26
- PanelTransition: a,
27
- onCloseCallBack: () => {
28
- e == null || e.setSelectedKey(u);
25
+ TransitionAnimation: a,
26
+ PanelTransition: l,
27
+ onOpenChange: (f) => {
28
+ f || e == null || e.setSelectedKey(u);
29
29
  },
30
- children: /* @__PURE__ */ i(p, { id: n, themeName: t, tokens: o, customTheme: r, ...c, children: s })
30
+ children: /* @__PURE__ */ r(P, { id: n, themeName: t, tokens: o, customTheme: i, ...d, children: s })
31
31
  }
32
32
  );
33
33
  };
34
34
  export {
35
- T as default
35
+ B as default
36
36
  };
package/index38.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const r=require("react/jsx-runtime"),h=require("react"),q=require("react-stately"),d=require("./index142.js"),x=require("./index11.js"),O=require("./index113.js"),y=require("./index129.js"),B=require("./index39.js"),C=e=>{const{themeName:t="alerts",tokens:s,customTheme:R,defaultOpen:i=!0,closeButton:a=y,transitionComponent:l=d,closeButtonAriaLabel:c,isOpen:f,onOpenChange:j,setOpen:A,children:u=B,...m}=e,n=h.useRef(null),o=q.useOverlayTriggerState({...e,defaultOpen:i}),{triggerProps:p,overlayProps:g}=O({...e,type:"dialog"},o,n);return r.jsxs(l,{...g,role:"alert",themeName:`${t}.wrapper`,tokens:s,isVisible:o.isOpen,children:[r.jsx(a,{ref:n,themeName:`${t}.closeBtn`,"aria-label":c,...p}),r.jsx(x,{themeName:t,tokens:s,...m,children:u})]})};module.exports=C;
2
+ "use strict";const r=require("react/jsx-runtime"),h=require("react"),q=require("react-stately"),d=require("./index89.js"),x=require("./index142.js"),O=require("./index11.js"),y=require("./index129.js"),B=require("./index39.js"),C=e=>{const{themeName:t="alerts",tokens:s,customTheme:R,defaultOpen:i=!0,closeButton:a=y,transitionComponent:l=x,closeButtonAriaLabel:c,isOpen:f,onOpenChange:j,setOpen:A,children:u=B,...m}=e,n=h.useRef(null),o=q.useOverlayTriggerState({...e,defaultOpen:i}),{triggerProps:p,overlayProps:g}=d({...e,type:"dialog"},o,n);return r.jsxs(l,{...g,role:"alert",themeName:`${t}.wrapper`,tokens:s,isVisible:o.isOpen,children:[r.jsx(a,{ref:n,themeName:`${t}.closeBtn`,"aria-label":c,...p}),r.jsx(O,{themeName:t,tokens:s,...m,children:u})]})};module.exports=C;
package/index38.mjs CHANGED
@@ -2,28 +2,28 @@
2
2
  import { jsxs as g, jsx as n } from "react/jsx-runtime";
3
3
  import { useRef as h } from "react";
4
4
  import { useOverlayTriggerState as O } from "react-stately";
5
- import d from "./index142.mjs";
6
- import C from "./index11.mjs";
7
- import y from "./index113.mjs";
5
+ import d from "./index89.mjs";
6
+ import C from "./index142.mjs";
7
+ import y from "./index11.mjs";
8
8
  import B from "./index129.mjs";
9
- import A from "./index39.mjs";
9
+ import b from "./index39.mjs";
10
10
  const I = (e) => {
11
11
  const {
12
12
  themeName: t = "alerts",
13
13
  tokens: r,
14
- customTheme: b,
15
- defaultOpen: i = !0,
16
- closeButton: m = B,
17
- transitionComponent: l = d,
14
+ customTheme: A,
15
+ defaultOpen: l = !0,
16
+ closeButton: i = B,
17
+ transitionComponent: m = C,
18
18
  closeButtonAriaLabel: a,
19
19
  isOpen: v,
20
20
  onOpenChange: x,
21
21
  setOpen: N,
22
- children: p = A,
22
+ children: p = b,
23
23
  ...u
24
- } = e, o = h(null), s = O({ ...e, defaultOpen: i }), { triggerProps: f, overlayProps: c } = y({ ...e, type: "dialog" }, s, o);
24
+ } = e, o = h(null), s = O({ ...e, defaultOpen: l }), { triggerProps: f, overlayProps: c } = d({ ...e, type: "dialog" }, s, o);
25
25
  return /* @__PURE__ */ g(
26
- l,
26
+ m,
27
27
  {
28
28
  ...c,
29
29
  role: "alert",
@@ -32,7 +32,7 @@ const I = (e) => {
32
32
  isVisible: s.isOpen,
33
33
  children: [
34
34
  /* @__PURE__ */ n(
35
- m,
35
+ i,
36
36
  {
37
37
  ref: o,
38
38
  themeName: `${t}.closeBtn`,
@@ -40,7 +40,7 @@ const I = (e) => {
40
40
  ...f
41
41
  }
42
42
  ),
43
- /* @__PURE__ */ n(C, { themeName: t, tokens: r, ...u, children: p })
43
+ /* @__PURE__ */ n(y, { themeName: t, tokens: r, ...u, children: p })
44
44
  ]
45
45
  }
46
46
  );
package/index4.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const r=require("react/jsx-runtime"),d=require("@react-aria/accordion"),m=require("react"),x=require("./index78.js"),q=require("./index27.js"),A=require("./index111.js"),h=require("./index87.js"),l=e=>{const{themeName:c="accordion",tokens:n,customTheme:s,TransitionAnimation:u}=e,t=m.useRef(null),o=h(e),{accordionProps:a}=d.useAccordion(e,o,t);return r.jsx(x.AccordionContextProvider,{state:o,TransitionAnimation:u,children:r.jsx(q.BoxWithForwardRef,{themeName:`${c}.wrapper`,tokens:n,customTheme:s,ref:t,...a,children:[...o.collection].map(i=>r.jsx(A,{item:i,themeName:c,tokens:n},i.key))})})};module.exports=l;
2
+ "use strict";const r=require("react/jsx-runtime"),d=require("@react-aria/accordion"),m=require("react"),x=require("./index78.js"),q=require("./index27.js"),A=require("./index112.js"),h=require("./index87.js"),l=e=>{const{themeName:c="accordion",tokens:n,customTheme:s,TransitionAnimation:u}=e,t=m.useRef(null),o=h(e),{accordionProps:a}=d.useAccordion(e,o,t);return r.jsx(x.AccordionContextProvider,{state:o,TransitionAnimation:u,children:r.jsx(q.BoxWithForwardRef,{themeName:`${c}.wrapper`,tokens:n,customTheme:s,ref:t,...a,children:[...o.collection].map(i=>r.jsx(A,{item:i,themeName:c,tokens:n},i.key))})})};module.exports=l;
package/index4.mjs CHANGED
@@ -4,7 +4,7 @@ import { useAccordion as s } from "@react-aria/accordion";
4
4
  import { useRef as f } from "react";
5
5
  import { AccordionContextProvider as p } from "./index78.mjs";
6
6
  import { BoxWithForwardRef as u } from "./index27.mjs";
7
- import l from "./index111.mjs";
7
+ import l from "./index112.mjs";
8
8
  import A from "./index87.mjs";
9
9
  const T = (o) => {
10
10
  const { themeName: e = "accordion", tokens: c, customTheme: m, TransitionAnimation: a } = o, n = f(null), r = A(o), { accordionProps: d } = s(o, r, n);
package/index43.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),h=require("./index89.js");function d(t){return null}function m(t){return t.hasChildItems!=null?t.hasChildItems:!!(t.childItems||t.title&&u.Children.count(t.children)>0)}d.getCollectionNode=function*(e,l){const{childItems:a,title:s,children:c}=e,n=e.title||e.children,r=e.textValue||(typeof n=="string"?n:"")||e["aria-label"]||"";!r&&!(l!=null&&l.suppressTextValueWarning)&&process.env.NODE_ENV!=="production"&&h.log("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop.","warn"),yield{type:"item",props:e,rendered:n,textValue:r,"aria-label":e["aria-label"],hasChildNodes:m(e),*childNodes(){if(a)yield*Array.from(a).map(i=>({type:"item",value:i}));else if(s){const i=[];u.Children.forEach(c,o=>{i.push({type:"item",element:o})}),yield*i}}}};const f=d;exports.TagItem=f;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),h=require("./index90.js");function d(t){return null}function m(t){return t.hasChildItems!=null?t.hasChildItems:!!(t.childItems||t.title&&u.Children.count(t.children)>0)}d.getCollectionNode=function*(e,l){const{childItems:a,title:s,children:c}=e,n=e.title||e.children,r=e.textValue||(typeof n=="string"?n:"")||e["aria-label"]||"";!r&&!(l!=null&&l.suppressTextValueWarning)&&process.env.NODE_ENV!=="production"&&h.log("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop.","warn"),yield{type:"item",props:e,rendered:n,textValue:r,"aria-label":e["aria-label"],hasChildNodes:m(e),*childNodes(){if(a)yield*Array.from(a).map(i=>({type:"item",value:i}));else if(s){const i=[];u.Children.forEach(c,o=>{i.push({type:"item",element:o})}),yield*i}}}};const f=d;exports.TagItem=f;
package/index43.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import d from "react";
3
- import { log as m } from "./index89.mjs";
3
+ import { log as m } from "./index90.mjs";
4
4
  function s(t) {
5
5
  return null;
6
6
  }
package/index45.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),h=require("./index89.js");function d(t){return null}function m(t){return t.hasChildItems!=null?t.hasChildItems:!!(t.childItems||t.title&&u.Children.count(t.children)>0)}d.getCollectionNode=function*(e,l){const{childItems:a,title:s,children:c}=e,n=e.title||e.children,r=e.textValue||(typeof n=="string"?n:"")||e["aria-label"]||"";!r&&!(l!=null&&l.suppressTextValueWarning)&&h.log("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop.","warn"),yield{type:"item",props:e,rendered:n,textValue:r,"aria-label":e["aria-label"],hasChildNodes:m(e),*childNodes(){if(a)yield*Array.from(a).map(i=>({type:"item",value:i}));else if(s){const i=[];u.Children.forEach(c,o=>{i.push({type:"item",element:o})}),yield*i}}}};const f=d;exports.TabItem=f;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),h=require("./index90.js");function d(t){return null}function m(t){return t.hasChildItems!=null?t.hasChildItems:!!(t.childItems||t.title&&u.Children.count(t.children)>0)}d.getCollectionNode=function*(e,l){const{childItems:a,title:s,children:c}=e,n=e.title||e.children,r=e.textValue||(typeof n=="string"?n:"")||e["aria-label"]||"";!r&&!(l!=null&&l.suppressTextValueWarning)&&h.log("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop.","warn"),yield{type:"item",props:e,rendered:n,textValue:r,"aria-label":e["aria-label"],hasChildNodes:m(e),*childNodes(){if(a)yield*Array.from(a).map(i=>({type:"item",value:i}));else if(s){const i=[];u.Children.forEach(c,o=>{i.push({type:"item",element:o})}),yield*i}}}};const f=d;exports.TabItem=f;
package/index45.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import d from "react";
3
- import { log as h } from "./index89.mjs";
3
+ import { log as h } from "./index90.mjs";
4
4
  function u(t) {
5
5
  return null;
6
6
  }
package/index75.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react/jsx-runtime"),g=require("./index149.js"),r=require("react"),v=require("react-stately"),y=require("./index113.js"),[x,R]=g.default();function q(i){const{children:l,defaultSelectedKey:s,onOpenCallback:e,onCloseCallback:t,defaultIsOpen:a=!1,type:c="dialog"}=i,d=r.useRef(null),P=r.useRef(null),n=v.useOverlayTriggerState({defaultOpen:a,onOpenChange(p){if(!p){t==null||t();return}e==null||e()}}),{triggerProps:o,overlayProps:u}=y({type:c},n),f=r.useMemo(()=>({overlayProps:u,defaultSelectedKey:s,overlayState:n,buttonProps:{closeButtonProps:o,closeButtonRef:P,openButtonProps:o,openButtonRef:d}}),[n,s,o,u]);return S.jsx(R,{value:f,children:l})}exports.SidePanelContextProvider=q;exports.useSidePanel=x;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("react/jsx-runtime"),R=require("./index149.js"),s=require("react"),q=require("react-stately"),B=require("./index89.js"),[j,m]=R.default();function b(c){const{children:d,defaultSelectedKey:u,onOpenCallback:e,onCloseCallback:t,defaultIsOpen:p=!1,onOpenChange:n,isOpen:P,defaultOpen:f,type:S="dialog"}=c,y=f??p,g=s.useRef(null),v=s.useRef(null),o=q.useOverlayTriggerState({isOpen:P,defaultOpen:y,onOpenChange(a){if(n==null||n(a),!a){t==null||t();return}e==null||e()}}),{triggerProps:r,overlayProps:l,labelProps:i}=B({type:S},o),O=s.useMemo(()=>({labelProps:i,overlayProps:l,defaultSelectedKey:u,overlayState:o,buttonProps:{closeButtonProps:r,closeButtonRef:v,openButtonProps:r,openButtonRef:g}}),[i,l,u,o,r]);return x.jsx(m,{value:O,children:d})}exports.SidePanelContextProvider=b;exports.useSidePanel=j;
package/index75.mjs CHANGED
@@ -1,44 +1,49 @@
1
1
  "use client";
2
- import { jsx as P } from "react/jsx-runtime";
3
- import v from "./index149.mjs";
4
- import { useRef as u, useMemo as g } from "react";
5
- import { useOverlayTriggerState as y } from "react-stately";
6
- import S from "./index113.mjs";
7
- const [H, x] = v();
8
- function I(i) {
2
+ import { jsx as S } from "react/jsx-runtime";
3
+ import x from "./index149.mjs";
4
+ import { useRef as a, useMemo as B } from "react";
5
+ import { useOverlayTriggerState as R } from "react-stately";
6
+ import b from "./index89.mjs";
7
+ const [M, h] = x();
8
+ function T(i) {
9
9
  const {
10
- children: l,
11
- defaultSelectedKey: n,
10
+ children: f,
11
+ defaultSelectedKey: s,
12
12
  onOpenCallback: e,
13
- onCloseCallback: o,
14
- defaultIsOpen: p = !1,
15
- type: f = "dialog"
16
- } = i, a = u(null), c = u(null), t = y({
17
- defaultOpen: p,
18
- onOpenChange(m) {
19
- if (!m) {
20
- o == null || o();
13
+ onCloseCallback: t,
14
+ defaultIsOpen: d = !1,
15
+ onOpenChange: o,
16
+ isOpen: c,
17
+ defaultOpen: P,
18
+ type: m = "dialog"
19
+ } = i, O = P ?? d, v = a(null), y = a(null), r = R({
20
+ isOpen: c,
21
+ defaultOpen: O,
22
+ onOpenChange(u) {
23
+ if (o == null || o(u), !u) {
24
+ t == null || t();
21
25
  return;
22
26
  }
23
27
  e == null || e();
24
28
  }
25
- }), { triggerProps: r, overlayProps: s } = S({ type: f }, t), d = g(
29
+ }), { triggerProps: n, overlayProps: l, labelProps: p } = b({ type: m }, r), g = B(
26
30
  () => ({
27
- overlayProps: s,
28
- defaultSelectedKey: n,
29
- overlayState: t,
31
+ labelProps: p,
32
+ overlayProps: l,
33
+ defaultSelectedKey: s,
34
+ overlayState: r,
30
35
  buttonProps: {
31
- closeButtonProps: r,
32
- closeButtonRef: c,
33
- openButtonProps: r,
34
- openButtonRef: a
36
+ closeButtonProps: n,
37
+ closeButtonRef: y,
38
+ openButtonProps: n,
39
+ openButtonRef: v
35
40
  }
36
41
  }),
37
- [t, n, r, s]
42
+ [p, l, s, r, n]
38
43
  );
39
- return /* @__PURE__ */ P(x, { value: d, children: l });
44
+ return /* @__PURE__ */ S(h, { value: g, children: f });
40
45
  }
41
46
  export {
42
- I as SidePanelContextProvider,
43
- H as useSidePanel
47
+ T as SidePanelContextProvider,
48
+ M as useSidePanel
44
49
  };
package/index8.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const i=require("react/jsx-runtime"),h=require("react-div-100vh"),x=require("./index75.js"),p=require("./index73.js"),q=require("./index33.js"),j=require("./index112.js"),r=require("./index27.js"),P=require("./index30.js"),$=o=>{const{children:a,closeBtnRender:s,themeName:e="sidePanel",tokens:n,TransitionAnimation:c=q,PanelTransition:l=j,customTheme:d}=o,m=p(`${e}.wrapper`,n,d),{overlayState:t,overlayProps:u}=x.useSidePanel();return i.jsx(P,{themeName:e,tokens:n,state:t,...u,transitionComponent:l,isDismissable:!0,children:i.jsxs(h,{className:m,children:[s&&s(),i.jsx(c,{themeName:`${e}.transitionAnimation`,tokens:n,isVisible:t.isOpen,children:i.jsx(r.default,{themeName:`${e}.container`,tokens:n,children:i.jsx(r.default,{themeName:`${e}.innerContainer`,tokens:n,children:a})})})]})})};module.exports=$;
2
+ "use strict";const t=require("react/jsx-runtime"),p=require("react"),N=require("react-div-100vh"),S=require("./index75.js"),T=require("./index33.js"),b=require("./index113.js"),o=require("./index27.js"),v=require("./index30.js"),D=d=>{const{children:l,closeBtnRender:a,themeName:e="sidePanel",tokens:u,TransitionAnimation:m=T,PanelTransition:h=b,onOpenChange:i,customTheme:x,isDismissable:q=!0,shouldCloseOnInteractOutside:f,isKeyboardDismissDisabled:P=!1,onCloseCallBack:r,title:j,...k}=d,{overlayState:c,overlayProps:$}=S.useSidePanel(),{isOpen:n}=c;p.useEffect(()=>{i==null||i(n),n||r==null||r()},[n,i,r]);const s={isOpen:n,...u};return t.jsx(v,{themeName:e,tokens:s,customTheme:x,state:c,...$,transitionComponent:h,isDismissable:q,shouldCloseOnInteractOutside:f,isKeyboardDismissDisabled:P,title:j,...k,children:t.jsxs(o.default,{as:N,themeName:`${e}.wrapper`,tokens:s,children:[a&&a(),t.jsx(m,{themeName:`${e}.transitionAnimation`,tokens:s,isVisible:n,children:t.jsx(o.default,{themeName:`${e}.container`,tokens:s,children:t.jsx(o.default,{themeName:`${e}.innerContainer`,tokens:s,children:l})})})]})})};module.exports=D;
package/index8.mjs CHANGED
@@ -1,46 +1,57 @@
1
1
  "use client";
2
- import { jsx as n, jsxs as c } from "react/jsx-runtime";
3
- import f from "react-div-100vh";
4
- import { useSidePanel as u } from "./index75.mjs";
5
- import P from "./index73.mjs";
6
- import T from "./index33.mjs";
7
- import x from "./index112.mjs";
8
- import o from "./index27.mjs";
9
- import N from "./index30.mjs";
10
- const A = (m) => {
2
+ import { jsx as s, jsxs as b } from "react/jsx-runtime";
3
+ import { useEffect as v } from "react";
4
+ import x from "react-div-100vh";
5
+ import { useSidePanel as D } from "./index75.mjs";
6
+ import $ from "./index33.mjs";
7
+ import y from "./index113.mjs";
8
+ import r from "./index27.mjs";
9
+ import j from "./index30.mjs";
10
+ const M = (l) => {
11
11
  const {
12
- children: a,
13
- closeBtnRender: r,
12
+ children: d,
13
+ closeBtnRender: m,
14
14
  themeName: e = "sidePanel",
15
- tokens: i,
16
- TransitionAnimation: s = T,
17
- PanelTransition: l = x,
18
- customTheme: p
19
- } = m, d = P(`${e}.wrapper`, i, p), { overlayState: t, overlayProps: h } = u();
20
- return /* @__PURE__ */ n(
21
- N,
15
+ tokens: c,
16
+ TransitionAnimation: f = $,
17
+ PanelTransition: h = y,
18
+ onOpenChange: n,
19
+ customTheme: p,
20
+ isDismissable: u = !0,
21
+ shouldCloseOnInteractOutside: P,
22
+ isKeyboardDismissDisabled: k = !1,
23
+ onCloseCallBack: o,
24
+ title: N,
25
+ ...S
26
+ } = l, { overlayState: a, overlayProps: T } = D(), { isOpen: t } = a;
27
+ v(() => {
28
+ n == null || n(t), t || o == null || o();
29
+ }, [t, n, o]);
30
+ const i = {
31
+ isOpen: t,
32
+ ...c
33
+ };
34
+ return /* @__PURE__ */ s(
35
+ j,
22
36
  {
23
37
  themeName: e,
24
38
  tokens: i,
25
- state: t,
26
- ...h,
27
- transitionComponent: l,
28
- isDismissable: !0,
29
- children: /* @__PURE__ */ c(f, { className: d, children: [
30
- r && r(),
31
- /* @__PURE__ */ n(
32
- s,
33
- {
34
- themeName: `${e}.transitionAnimation`,
35
- tokens: i,
36
- isVisible: t.isOpen,
37
- children: /* @__PURE__ */ n(o, { themeName: `${e}.container`, tokens: i, children: /* @__PURE__ */ n(o, { themeName: `${e}.innerContainer`, tokens: i, children: a }) })
38
- }
39
- )
39
+ customTheme: p,
40
+ state: a,
41
+ ...T,
42
+ transitionComponent: h,
43
+ isDismissable: u,
44
+ shouldCloseOnInteractOutside: P,
45
+ isKeyboardDismissDisabled: k,
46
+ title: N,
47
+ ...S,
48
+ children: /* @__PURE__ */ b(r, { as: x, themeName: `${e}.wrapper`, tokens: i, children: [
49
+ m && m(),
50
+ /* @__PURE__ */ s(f, { themeName: `${e}.transitionAnimation`, tokens: i, isVisible: t, children: /* @__PURE__ */ s(r, { themeName: `${e}.container`, tokens: i, children: /* @__PURE__ */ s(r, { themeName: `${e}.innerContainer`, tokens: i, children: d }) }) })
40
51
  ] })
41
52
  }
42
53
  );
43
54
  };
44
55
  export {
45
- A as default
56
+ M as default
46
57
  };
package/index81.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react/jsx-runtime"),g=require("./index149.js"),v=require("radashi"),s=require("react"),q=require("./index89.js"),[x,i]=g.default();function P({useTranslationFunc:u,children:l,namespace:o="common",translateFunctionName:e="t"}){const c=u(o),d=(t,n)=>(q.log(`translation function not found: translateFunctionName: ${e}`,"warn",{key:t,obj:n,namespace:o}),t),r=v.get(c,e,d),a=s.useCallback((t,n)=>n==null?r(t):r(t,n),[r]),f=s.useMemo(()=>({t:a}),[a]);return T.jsx(i,{value:f,children:l})}exports.TranslationContextProvider=P;exports.TranslationProvider=i;exports.useTranslation=x;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react/jsx-runtime"),g=require("./index149.js"),v=require("radashi"),s=require("react"),q=require("./index90.js"),[x,i]=g.default();function P({useTranslationFunc:u,children:l,namespace:o="common",translateFunctionName:e="t"}){const c=u(o),d=(t,n)=>(q.log(`translation function not found: translateFunctionName: ${e}`,"warn",{key:t,obj:n,namespace:o}),t),r=v.get(c,e,d),a=s.useCallback((t,n)=>n==null?r(t):r(t,n),[r]),f=s.useMemo(()=>({t:a}),[a]);return T.jsx(i,{value:f,children:l})}exports.TranslationContextProvider=P;exports.TranslationProvider=i;exports.useTranslation=x;
package/index81.mjs CHANGED
@@ -3,7 +3,7 @@ import { jsx as u } from "react/jsx-runtime";
3
3
  import m from "./index149.mjs";
4
4
  import { get as f } from "radashi";
5
5
  import { useCallback as p, useMemo as x } from "react";
6
- import { log as b } from "./index89.mjs";
6
+ import { log as b } from "./index90.mjs";
7
7
  const [j, d] = m();
8
8
  function k({
9
9
  useTranslationFunc: i,
package/index89.js CHANGED
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index150.js");const o=require("./index151.js"),e=o("[StackUI]"),{log:r}=e;exports.log=r;exports.logger=e;
1
+ "use client";
2
+ "use strict";const n=require("./index150.js"),p=require("react-aria");function d(s,o,l){const{type:a="dialog"}=s,{triggerProps:{onPress:t,...i},overlayProps:g}=p.useOverlayTrigger({type:a},o,l),r=n.useSlotId(),e={"aria-labelledby":r,handlePress:t,...i};return{openTriggerProps:e,triggerProps:e,labelProps:{id:r},overlayProps:{...g,"aria-labelledby":r}}}module.exports=d;
package/index89.mjs CHANGED
@@ -1,7 +1,22 @@
1
- import "./index150.mjs";
2
- import o from "./index151.mjs";
3
- const r = o("[StackUI]"), { log: g } = r;
1
+ "use client";
2
+ import { useSlotId as g } from "./index150.mjs";
3
+ import { useOverlayTrigger as i } from "react-aria";
4
+ function P(o, s, l) {
5
+ const { type: a = "dialog" } = o, {
6
+ triggerProps: { onPress: t, ...p },
7
+ overlayProps: d
8
+ } = i({ type: a }, s, l), r = g(), e = {
9
+ "aria-labelledby": r,
10
+ handlePress: t,
11
+ ...p
12
+ };
13
+ return {
14
+ openTriggerProps: e,
15
+ triggerProps: e,
16
+ labelProps: { id: r },
17
+ overlayProps: { ...d, "aria-labelledby": r }
18
+ };
19
+ }
4
20
  export {
5
- g as log,
6
- r as logger
21
+ P as default
7
22
  };
package/index9.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const e=require("react/jsx-runtime"),j=require("@react-aria/focus"),$=require("react-stately"),q=require("./index27.js"),a=require("./index6.js"),b=require("./index14.js"),f=require("./index30.js"),B=require("./index3.js"),N=require("./index113.js"),p=n=>{const{themeName:r,tokens:o,children:i,...t}=n;return e.jsx(a.default,{themeName:r,tokens:o,...t,children:e.jsx(b,{icon:"CloseBtn"})})},C=n=>{const{children:r,thumbnailContent:o,label:i,themeName:t="lightBox",tokens:s,closeButton:c=p,closeButtonAriaLabel:u,transitionComponent:h}=n,l=$.useOverlayTriggerState(n),{openTriggerProps:d,triggerProps:x,overlayProps:m,labelProps:g}=N({...n,type:"dialog"},l);return e.jsxs(e.Fragment,{children:[e.jsx(j.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:e.jsxs(a.default,{themeName:`${t}.wrapper`,tokens:s,...d,children:[i&&e.jsx(B.default,{themeName:`${t}.label`,tokens:{size:"footnotes"},...g,children:i}),o]})}),e.jsxs(f,{themeName:`${t}.modal`,tokens:s,state:l,...m,transitionComponent:h,children:[e.jsx(c,{themeName:`${t}.closeBtn`,tokens:s,"aria-label":u,...x}),e.jsx(q.default,{themeName:`${t}.container`,tokens:s,children:r})]})]})};module.exports=C;
2
+ "use strict";const e=require("react/jsx-runtime"),q=require("@react-aria/focus"),B=require("react-stately"),b=require("./index89.js"),f=require("./index27.js"),a=require("./index6.js"),C=require("./index14.js"),N=require("./index30.js"),p=require("./index3.js"),w=n=>{const{themeName:s,tokens:o,children:i,...t}=n;return e.jsx(a.default,{themeName:s,tokens:o,...t,children:e.jsx(C,{icon:"CloseBtn"})})},y=n=>{const{children:s,thumbnailContent:o,label:i,themeName:t="lightBox",tokens:r,closeButton:c=w,closeButtonAriaLabel:u,transitionComponent:h,showTriggerButton:d=!0,showCloseButton:x=!0}=n,l=B.useOverlayTriggerState(n),{openTriggerProps:m,triggerProps:g,overlayProps:j,labelProps:$}=b({...n,type:"dialog"},l);return e.jsxs(e.Fragment,{children:[d&&e.jsx(q.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:e.jsxs(a.default,{themeName:`${t}.wrapper`,tokens:r,...m,children:[i&&e.jsx(p.default,{themeName:`${t}.label`,tokens:r,...$,children:i}),o]})}),e.jsxs(N,{themeName:`${t}.modal`,tokens:r,state:l,...j,transitionComponent:h,children:[x&&e.jsx(c,{themeName:`${t}.closeBtn`,tokens:r,"aria-label":u,...g}),e.jsx(f.default,{themeName:`${t}.container`,tokens:r,children:s})]})]})};module.exports=y;
package/index9.mjs CHANGED
@@ -1,59 +1,61 @@
1
1
  "use client";
2
- import { jsxs as s, Fragment as B, jsx as o } from "react/jsx-runtime";
3
- import { FocusRing as b } from "@react-aria/focus";
4
- import { useOverlayTriggerState as x } from "react-stately";
5
- import C from "./index27.mjs";
6
- import l from "./index6.mjs";
7
- import N from "./index14.mjs";
8
- import y from "./index30.mjs";
9
- import $ from "./index3.mjs";
10
- import k from "./index113.mjs";
11
- const P = (t) => {
12
- const { themeName: n, tokens: i, children: m, ...e } = t;
13
- return /* @__PURE__ */ o(l, { themeName: n, tokens: i, ...e, children: /* @__PURE__ */ o(N, { icon: "CloseBtn" }) });
14
- }, A = (t) => {
2
+ import { jsxs as l, Fragment as C, jsx as t } from "react/jsx-runtime";
3
+ import { FocusRing as x } from "@react-aria/focus";
4
+ import { useOverlayTriggerState as N } from "react-stately";
5
+ import y from "./index89.mjs";
6
+ import $ from "./index27.mjs";
7
+ import s from "./index6.mjs";
8
+ import w from "./index14.mjs";
9
+ import L from "./index30.mjs";
10
+ import P from "./index3.mjs";
11
+ const T = (o) => {
12
+ const { themeName: n, tokens: i, children: m, ...e } = o;
13
+ return /* @__PURE__ */ t(s, { themeName: n, tokens: i, ...e, children: /* @__PURE__ */ t(w, { icon: "CloseBtn" }) });
14
+ }, M = (o) => {
15
15
  const {
16
16
  children: n,
17
17
  thumbnailContent: i,
18
18
  label: m,
19
19
  themeName: e = "lightBox",
20
20
  tokens: r,
21
- closeButton: c = P,
22
- closeButtonAriaLabel: h,
23
- transitionComponent: p
24
- } = t, a = x(t), { openTriggerProps: g, triggerProps: u, overlayProps: f, labelProps: d } = k(
25
- { ...t, type: "dialog" },
21
+ closeButton: h = T,
22
+ closeButtonAriaLabel: c,
23
+ transitionComponent: p,
24
+ showTriggerButton: u = !0,
25
+ showCloseButton: g = !0
26
+ } = o, a = N(o), { openTriggerProps: d, triggerProps: f, overlayProps: B, labelProps: b } = y(
27
+ { ...o, type: "dialog" },
26
28
  a
27
29
  );
28
- return /* @__PURE__ */ s(B, { children: [
29
- /* @__PURE__ */ o(b, { focusRingClass: "has-focus-ring", within: !0, children: /* @__PURE__ */ s(l, { themeName: `${e}.wrapper`, tokens: r, ...g, children: [
30
- m && /* @__PURE__ */ o($, { themeName: `${e}.label`, tokens: { size: "footnotes" }, ...d, children: m }),
30
+ return /* @__PURE__ */ l(C, { children: [
31
+ u && /* @__PURE__ */ t(x, { focusRingClass: "has-focus-ring", within: !0, children: /* @__PURE__ */ l(s, { themeName: `${e}.wrapper`, tokens: r, ...d, children: [
32
+ m && /* @__PURE__ */ t(P, { themeName: `${e}.label`, tokens: r, ...b, children: m }),
31
33
  i
32
34
  ] }) }),
33
- /* @__PURE__ */ s(
34
- y,
35
+ /* @__PURE__ */ l(
36
+ L,
35
37
  {
36
38
  themeName: `${e}.modal`,
37
39
  tokens: r,
38
40
  state: a,
39
- ...f,
41
+ ...B,
40
42
  transitionComponent: p,
41
43
  children: [
42
- /* @__PURE__ */ o(
43
- c,
44
+ g && /* @__PURE__ */ t(
45
+ h,
44
46
  {
45
47
  themeName: `${e}.closeBtn`,
46
48
  tokens: r,
47
- "aria-label": h,
48
- ...u
49
+ "aria-label": c,
50
+ ...f
49
51
  }
50
52
  ),
51
- /* @__PURE__ */ o(C, { themeName: `${e}.container`, tokens: r, children: n })
53
+ /* @__PURE__ */ t($, { themeName: `${e}.container`, tokens: r, children: n })
52
54
  ]
53
55
  }
54
56
  )
55
57
  ] });
56
58
  };
57
59
  export {
58
- A as default
60
+ M as default
59
61
  };
package/index90.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=e=>e;exports.makeTheme=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index151.js");const o=require("./index152.js"),e=o("[StackUI]"),{log:r}=e;exports.log=r;exports.logger=e;
package/index90.mjs CHANGED
@@ -1,4 +1,7 @@
1
- const m = (e) => e;
1
+ import "./index151.mjs";
2
+ import o from "./index152.mjs";
3
+ const r = o("[StackUI]"), { log: g } = r;
2
4
  export {
3
- m as makeTheme
5
+ g as log,
6
+ r as logger
4
7
  };
package/index91.js CHANGED
@@ -1,6 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),n=e.tv({base:"[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",defaultVariants:{textAlign:"left",isOpen:!1},variants:{textAlign:{center:"text-center",left:"text-left"}}}),o=e.tv({base:"grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",variants:{titleBold:{true:"font-bold"},textAlign:{center:"grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",left:"grid-cols-[1fr_3rem]"},bgColor:{gray:"bg-gray-300",white:"bg-white"}},defaultVariants:{titleBold:!1,textAlign:"left",bgColor:"white"}}),r=e.tv({base:"",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"justify-self-center col-start-2",left:"justify-self-start"}}}),i=e.tv({base:"text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",variants:{isOpen:{true:"-rotate-90",false:""}}}),a=e.tv({base:`
2
- font-body
3
- text-inherit
4
- h-auto
5
- grid
6
- `,defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"grid-cols-[3rem_1fr_3rem] px-6 text-center",left:"grid-cols-[1fr_3rem] text-left"}}}),l=e.tv({base:"overflow-hidden flex flex-col gap-2 items-start",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"col-start-2",left:""}}}),c={container:t=>n(t),button:t=>o(t),title:t=>r(t),icon:t=>i(t),region:t=>a(t),content:t=>l(t)};exports.accordionButton=o;exports.accordionContainer=n;exports.accordionContent=l;exports.accordionIcon=i;exports.accordionRegion=a;exports.accordionTheme=c;exports.accordionTitle=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=e=>e;exports.makeTheme=t;