@okam/stack-ui 1.29.1 → 1.30.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 (395) hide show
  1. package/components/Accordion/components/AccordionItem.d.ts +1 -0
  2. package/components/Accordion/index.d.ts +2 -1
  3. package/components/Accordion/interface.d.ts +3 -2
  4. package/components/Alerts/components/AlertsCloseButton.d.ts +1 -1
  5. package/components/Alerts/index.d.ts +2 -1
  6. package/components/Alerts/interface.d.ts +4 -3
  7. package/components/Box/index.d.ts +3 -2
  8. package/components/Button/index.d.ts +8 -4
  9. package/components/Button/interface.d.ts +3 -2
  10. package/components/Calendar/index.d.ts +5 -1
  11. package/components/Calendar/interface.d.ts +2 -1
  12. package/components/Carousel/components/CarouselNavigationButton.d.ts +3 -3
  13. package/components/Date/index.d.ts +2 -1
  14. package/components/Date/interface.d.ts +2 -1
  15. package/components/Icon/index.d.ts +2 -1
  16. package/components/Icon/interface.d.ts +2 -1
  17. package/components/Lightbox/hooks/overlay/index.d.ts +75 -0
  18. package/components/Lightbox/index.d.ts +2 -1
  19. package/components/Lightbox/interface.d.ts +3 -2
  20. package/components/Menu/Menu.d.ts +2 -1
  21. package/components/Menu/interface.d.ts +5 -4
  22. package/components/Modal/index.d.ts +2 -1
  23. package/components/Modal/interface.d.ts +2 -1
  24. package/components/Popover/index.d.ts +5 -2
  25. package/components/Popover/interface.d.ts +3 -2
  26. package/components/ShareButton/index.d.ts +2 -1
  27. package/components/ShareButton/interface.d.ts +2 -2
  28. package/components/SidePanel/index.d.ts +3 -3
  29. package/components/SidePanel/interface.d.ts +5 -4
  30. package/components/Typography/index.d.ts +3 -2
  31. package/components/Video/index.d.ts +2 -1
  32. package/components/Video/interface.d.ts +2 -1
  33. package/components/WysiwygBlock/index.d.ts +2 -1
  34. package/components/WysiwygBlock/interface.d.ts +2 -1
  35. package/components/fields/Checkbox/Checkbox.interface.d.ts +2 -1
  36. package/components/fields/Checkbox/index.d.ts +2 -1
  37. package/components/fields/CheckboxGroup/index.d.ts +2 -1
  38. package/components/fields/CheckboxGroup/interface.d.ts +2 -1
  39. package/components/fields/DatePicker/index.d.ts +2 -1
  40. package/components/fields/DatePicker/interface.d.ts +2 -1
  41. package/components/fields/Radio/Radio.interface.d.ts +3 -2
  42. package/components/fields/Radio/index.d.ts +3 -2
  43. package/components/fields/RadioGroup/index.d.ts +2 -1
  44. package/components/fields/RadioGroup/interface.d.ts +2 -1
  45. package/components/fields/SearchField/index.d.ts +2 -1
  46. package/components/fields/SearchField/interface.d.ts +2 -1
  47. package/components/fields/Select/Select.d.ts +2 -1
  48. package/components/fields/Select/Select.interface.d.ts +3 -2
  49. package/components/fields/TextArea/index.d.ts +2 -1
  50. package/components/fields/TextInputField/interface.d.ts +3 -2
  51. package/index.d.ts +1 -0
  52. package/index.js +1 -1
  53. package/index.mjs +41 -38
  54. package/index10.js +1 -1
  55. package/index10.mjs +1 -0
  56. package/index100.js +1 -2
  57. package/index100.mjs +22 -21
  58. package/index101.js +2 -1
  59. package/index101.mjs +22 -63
  60. package/index102.js +1 -1
  61. package/index102.mjs +58 -24
  62. package/index103.js +1 -1
  63. package/index103.mjs +29 -52
  64. package/index104.js +1 -1
  65. package/index104.mjs +52 -4
  66. package/index105.js +1 -1
  67. package/index105.mjs +4 -11
  68. package/index106.js +1 -1
  69. package/index106.mjs +11 -14
  70. package/index107.js +1 -1
  71. package/index107.mjs +13 -22
  72. package/index108.js +1 -1
  73. package/index108.mjs +19 -19
  74. package/index109.js +1 -1
  75. package/index109.mjs +22 -38
  76. package/index11.js +1 -1
  77. package/index11.mjs +2 -2
  78. package/index110.js +1 -2
  79. package/index110.mjs +38 -12
  80. package/index111.js +2 -1
  81. package/index111.mjs +12 -7
  82. package/index112.js +1 -1
  83. package/index112.mjs +7 -21
  84. package/index113.js +1 -1
  85. package/index113.mjs +21 -38
  86. package/index114.js +1 -1
  87. package/index114.mjs +38 -49
  88. package/index115.js +1 -1
  89. package/index115.mjs +49 -40
  90. package/index116.js +1 -1
  91. package/index116.mjs +40 -13
  92. package/index117.js +1 -1
  93. package/index117.mjs +14 -26
  94. package/index118.js +1 -1
  95. package/index118.mjs +29 -18
  96. package/index119.js +1 -1
  97. package/index119.mjs +19 -8
  98. package/index120.js +1 -1
  99. package/index120.mjs +9 -30
  100. package/index121.js +1 -1
  101. package/index121.mjs +30 -15
  102. package/index122.js +1 -1
  103. package/index122.mjs +13 -15
  104. package/index123.js +1 -1
  105. package/index123.mjs +17 -21
  106. package/index124.js +1 -1
  107. package/index124.mjs +21 -11
  108. package/index125.js +1 -2
  109. package/index125.mjs +11 -22
  110. package/index126.js +2 -1
  111. package/index126.mjs +22 -12
  112. package/index127.js +1 -1
  113. package/index127.mjs +23 -23
  114. package/index128.js +1 -1
  115. package/index128.mjs +3 -3
  116. package/index13.js +1 -1
  117. package/index13.mjs +10 -9
  118. package/index130.mjs +6 -6
  119. package/index131.js +1 -1
  120. package/index131.mjs +12 -51
  121. package/index132.js +1 -1
  122. package/index132.mjs +49 -25
  123. package/index133.js +1 -1
  124. package/index133.mjs +25 -19
  125. package/index134.js +1 -1
  126. package/index134.mjs +17 -58
  127. package/index135.js +1 -1
  128. package/index135.mjs +194 -89
  129. package/index136.js +1 -1
  130. package/index136.mjs +63 -30
  131. package/index137.js +1 -1
  132. package/index137.mjs +136 -116
  133. package/index138.js +1 -1
  134. package/index138.mjs +118 -26
  135. package/index139.js +1 -1
  136. package/index139.mjs +212 -119
  137. package/index14.js +1 -1
  138. package/index14.mjs +3 -3
  139. package/index140.js +1 -1
  140. package/index140.mjs +187 -131
  141. package/index141.js +1 -1
  142. package/index141.mjs +69 -14
  143. package/index142.js +1 -1
  144. package/index142.mjs +248 -85
  145. package/index143.js +1 -1
  146. package/index143.mjs +93 -102
  147. package/index144.js +1 -1
  148. package/index144.mjs +174 -5
  149. package/index145.js +1 -1
  150. package/index145.mjs +84 -3
  151. package/index146.js +1 -1
  152. package/index146.mjs +56 -123
  153. package/index147.js +1 -1
  154. package/index147.mjs +125 -28
  155. package/index148.js +1 -1
  156. package/index148.mjs +113 -48
  157. package/index149.js +1 -1
  158. package/index149.mjs +119 -41
  159. package/index150.js +1 -1
  160. package/index150.mjs +71 -36
  161. package/index151.js +1 -1
  162. package/index151.mjs +105 -108
  163. package/index152.js +1 -1
  164. package/index152.mjs +52 -77
  165. package/index153.js +1 -1
  166. package/index153.mjs +93 -101
  167. package/index154.js +1 -1
  168. package/index154.mjs +71 -98
  169. package/index155.js +1 -1
  170. package/index155.mjs +50 -193
  171. package/index156.js +1 -1
  172. package/index156.mjs +91 -56
  173. package/index157.js +5 -1
  174. package/index157.mjs +75 -136
  175. package/index158.js +1 -1
  176. package/index158.mjs +1999 -107
  177. package/index159.js +1 -1
  178. package/index159.mjs +56 -214
  179. package/index16.js +1 -1
  180. package/index16.mjs +2 -2
  181. package/index160.js +1 -1
  182. package/index160.mjs +186 -188
  183. package/index161.js +1 -1
  184. package/index161.mjs +59 -67
  185. package/index162.js +1 -1
  186. package/index162.mjs +88 -252
  187. package/index163.js +1 -1
  188. package/index163.mjs +32 -96
  189. package/index164.js +1 -1
  190. package/index164.mjs +117 -170
  191. package/index165.js +1 -1
  192. package/index165.mjs +26 -83
  193. package/index166.js +1 -1
  194. package/index166.mjs +123 -57
  195. package/index167.js +1 -1
  196. package/index167.mjs +130 -122
  197. package/index168.js +1 -1
  198. package/index168.mjs +14 -116
  199. package/index169.js +1 -1
  200. package/index169.mjs +92 -119
  201. package/index170.js +1 -1
  202. package/index170.mjs +105 -71
  203. package/index171.js +1 -1
  204. package/index171.mjs +5 -110
  205. package/index172.js +1 -1
  206. package/index172.mjs +3 -52
  207. package/index173.js +1 -1
  208. package/index173.mjs +124 -92
  209. package/index174.js +1 -1
  210. package/index174.mjs +29 -70
  211. package/index175.js +1 -1
  212. package/index175.mjs +51 -56
  213. package/index176.js +1 -1
  214. package/index176.mjs +44 -99
  215. package/index177.js +1 -5
  216. package/index177.mjs +36 -79
  217. package/index178.js +1 -1
  218. package/index178.mjs +94 -1992
  219. package/index179.js +1 -1
  220. package/index179.mjs +78 -60
  221. package/index18.js +1 -1
  222. package/index18.mjs +7 -7
  223. package/index180.js +1 -1
  224. package/index180.mjs +95 -182
  225. package/index181.js +1 -1
  226. package/index181.mjs +98 -6
  227. package/index19.js +1 -1
  228. package/index19.mjs +2 -2
  229. package/index190.js +1 -1
  230. package/index190.mjs +5 -313
  231. package/index191.js +1 -1
  232. package/index191.mjs +327 -179
  233. package/index192.js +1 -1
  234. package/index192.mjs +183 -8
  235. package/index193.js +1 -1
  236. package/index193.mjs +7 -25
  237. package/index194.js +1 -1
  238. package/index194.mjs +26 -55
  239. package/index195.js +1 -1
  240. package/index195.mjs +55 -46
  241. package/index196.js +1 -1
  242. package/index196.mjs +45 -123
  243. package/index197.js +1 -1
  244. package/index197.mjs +110 -5
  245. package/index198.js +1 -1
  246. package/index198.mjs +31 -27
  247. package/index199.js +1 -1
  248. package/index199.mjs +6 -7
  249. package/index2.js +1 -1
  250. package/index2.mjs +51 -50
  251. package/index20.js +1 -1
  252. package/index20.mjs +1 -1
  253. package/index200.js +1 -1
  254. package/index200.mjs +28 -7
  255. package/index201.js +1 -1
  256. package/index201.mjs +7 -8
  257. package/index202.js +1 -1
  258. package/index202.mjs +6 -3
  259. package/index203.js +1 -1
  260. package/index203.mjs +7 -5
  261. package/index204.js +1 -1
  262. package/index204.mjs +4 -9
  263. package/index205.js +1 -0
  264. package/index205.mjs +8 -0
  265. package/index206.js +1 -0
  266. package/index206.mjs +12 -0
  267. package/index21.js +1 -1
  268. package/index21.mjs +8 -8
  269. package/index22.js +1 -1
  270. package/index22.mjs +2 -2
  271. package/index23.js +1 -1
  272. package/index23.mjs +40 -39
  273. package/index24.js +1 -1
  274. package/index24.mjs +45 -44
  275. package/index26.js +1 -1
  276. package/index26.mjs +28 -21
  277. package/index27.js +1 -1
  278. package/index27.mjs +12 -12
  279. package/index28.js +1 -1
  280. package/index28.mjs +6 -6
  281. package/index29.js +1 -1
  282. package/index29.mjs +1 -1
  283. package/index30.js +1 -1
  284. package/index30.mjs +14 -8
  285. package/index31.js +1 -1
  286. package/index31.mjs +18 -18
  287. package/index32.js +1 -1
  288. package/index32.mjs +1 -1
  289. package/index33.mjs +43 -43
  290. package/index34.js +1 -1
  291. package/index34.mjs +1 -1
  292. package/index35.js +1 -1
  293. package/index35.mjs +3 -3
  294. package/index36.mjs +10 -10
  295. package/index4.js +1 -1
  296. package/index4.mjs +3 -3
  297. package/index6.js +1 -1
  298. package/index6.mjs +47 -46
  299. package/index65.js +1 -1
  300. package/index65.mjs +1 -1
  301. package/index66.js +1 -1
  302. package/index66.mjs +2 -2
  303. package/index67.js +1 -1
  304. package/index67.mjs +1 -1
  305. package/index69.js +1 -1
  306. package/index69.mjs +1 -1
  307. package/index7.mjs +4 -4
  308. package/index70.js +1 -1
  309. package/index70.mjs +1 -1
  310. package/index71.js +1 -1
  311. package/index71.mjs +1 -1
  312. package/index72.js +2 -1
  313. package/index72.mjs +27 -2
  314. package/index73.js +1 -2
  315. package/index73.mjs +2 -9
  316. package/index74.js +1 -1
  317. package/index74.mjs +7 -6
  318. package/index75.js +1 -1
  319. package/index75.mjs +6 -6
  320. package/index76.js +1 -1
  321. package/index76.mjs +6 -6
  322. package/index77.js +2 -1
  323. package/index77.mjs +8 -25
  324. package/index78.js +1 -1
  325. package/index78.mjs +25 -2
  326. package/index79.js +1 -6
  327. package/index79.mjs +2 -94
  328. package/index8.js +1 -1
  329. package/index8.mjs +42 -23
  330. package/index80.js +6 -1
  331. package/index80.mjs +79 -54
  332. package/index81.js +1 -1
  333. package/index81.mjs +61 -33
  334. package/index82.js +1 -42
  335. package/index82.mjs +34 -67
  336. package/index83.js +42 -1
  337. package/index83.mjs +69 -154
  338. package/index84.js +1 -9
  339. package/index84.mjs +149 -47
  340. package/index85.js +9 -1
  341. package/index85.mjs +48 -36
  342. package/index86.js +1 -1
  343. package/index86.mjs +40 -8
  344. package/index87.js +1 -1
  345. package/index87.mjs +9 -31
  346. package/index88.js +1 -1
  347. package/index88.mjs +38 -6
  348. package/index89.js +1 -12
  349. package/index89.mjs +6 -40
  350. package/index9.js +1 -1
  351. package/index9.mjs +7 -7
  352. package/index90.js +12 -1
  353. package/index90.mjs +36 -25
  354. package/index91.js +1 -1
  355. package/index91.mjs +24 -8
  356. package/index92.js +1 -7
  357. package/index92.mjs +7 -13
  358. package/index93.js +6 -14
  359. package/index93.mjs +13 -65
  360. package/index94.js +15 -1
  361. package/index94.mjs +71 -7
  362. package/index95.js +1 -16
  363. package/index95.mjs +7 -25
  364. package/index96.js +16 -1
  365. package/index96.mjs +20 -37
  366. package/index97.js +1 -1
  367. package/index97.mjs +40 -43
  368. package/index98.js +1 -1
  369. package/index98.mjs +44 -47
  370. package/index99.js +1 -1
  371. package/index99.mjs +48 -17
  372. package/package.json +1 -1
  373. package/providers/Translation/index.d.ts +4 -0
  374. package/providers/Translation/interface.d.ts +16 -0
  375. package/theme/Accordion/index.d.ts +12 -12
  376. package/theme/Alerts/index.d.ts +22 -22
  377. package/theme/Box/index.d.ts +8 -8
  378. package/theme/Button/index.d.ts +2 -2
  379. package/theme/Calendar/index.d.ts +12 -12
  380. package/theme/Carousel/index.d.ts +11 -11
  381. package/theme/Checkbox/index.d.ts +8 -8
  382. package/theme/CheckboxGroup/index.d.ts +3 -3
  383. package/theme/DatePicker/index.d.ts +10 -9
  384. package/theme/Image/index.d.ts +1 -1
  385. package/theme/LightBox/index.d.ts +9 -9
  386. package/theme/Radio/index.d.ts +6 -6
  387. package/theme/RadioGroup/index.d.ts +3 -3
  388. package/theme/Search/index.d.ts +3 -3
  389. package/theme/ShareButton/index.d.ts +10 -10
  390. package/theme/SidePanel/index.d.ts +3 -3
  391. package/theme/TextArea/index.d.ts +2 -2
  392. package/theme/Typography/index.d.ts +2 -2
  393. package/transitions/ModalTransition.d.ts +3 -6
  394. package/transitions/RenderWithSlide.d.ts +3 -6
  395. package/transitions/SidePanelTransition.d.ts +3 -6
package/index66.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as P } from "react/jsx-runtime";
3
- import v from "./index125.mjs";
3
+ import v from "./index126.mjs";
4
4
  import { useRef as u, useMemo as g } from "react";
5
5
  import { useOverlayTriggerState as y } from "react-stately";
6
- import S from "./index100.mjs";
6
+ import S from "./index101.mjs";
7
7
  const [H, x] = v();
8
8
  function I(i) {
9
9
  const {
package/index67.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),q=require("./index125.js"),j=require("react"),g=require("react-stately"),m=require("./index66.js"),[h,s]=q.createCtxNullable();function R({children:c,defaultSelectedKey:r,defaultIsOpen:x,onCloseCallback:n,onOpenCallback:M,tabs:v,openBtn:t,closeBtn:i,...P}){const e=g.useTabListState({...P,children:v,defaultSelectedKey:r}),d=j.useMemo(()=>({openBtn:t,closeBtn:i,tabState:e,defaultSelectedKey:r}),[t,i,e,r]);return o.jsx(s,{value:d,children:o.jsx(m.SidePanelContextProvider,{onCloseCallback:()=>{var u;n==null||n(),(u=e==null?void 0:e.setSelectedKey)==null||u.call(e,r)},onOpenCallback:M,defaultIsOpen:x,defaultSelectedKey:r.toString(),children:c})})}exports.MenuContextProvider=R;exports.MenuProvider=s;exports.useMenu=h;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),q=require("./index126.js"),j=require("react"),g=require("react-stately"),m=require("./index66.js"),[h,s]=q.createCtxNullable();function R({children:c,defaultSelectedKey:r,defaultIsOpen:x,onCloseCallback:n,onOpenCallback:M,tabs:v,openBtn:t,closeBtn:i,...P}){const e=g.useTabListState({...P,children:v,defaultSelectedKey:r}),d=j.useMemo(()=>({openBtn:t,closeBtn:i,tabState:e,defaultSelectedKey:r}),[t,i,e,r]);return o.jsx(s,{value:d,children:o.jsx(m.SidePanelContextProvider,{onCloseCallback:()=>{var u;n==null||n(),(u=e==null?void 0:e.setSelectedKey)==null||u.call(e,r)},onOpenCallback:M,defaultIsOpen:x,defaultSelectedKey:r.toString(),children:c})})}exports.MenuContextProvider=R;exports.MenuProvider=s;exports.useMenu=h;
package/index67.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as u } from "react/jsx-runtime";
3
- import { createCtxNullable as P } from "./index125.mjs";
3
+ import { createCtxNullable as P } from "./index126.mjs";
4
4
  import { useMemo as f } from "react";
5
5
  import { useTabListState as h } from "react-stately";
6
6
  import { SidePanelContextProvider as c } from "./index66.mjs";
package/index69.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),s=require("./index125.js"),u=require("react"),[d,t]=s.createCtxNullable();function a(r){const{state:e,children:n,TransitionAnimation:o}=r,c=u.useMemo(()=>({state:e,TransitionAnimation:o}),[e,o]);return i.jsx(t,{value:c,children:n})}exports.AccordionContextProvider=a;exports.AccordionProvider=t;exports.useAccordionCtx=d;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),s=require("./index126.js"),u=require("react"),[d,t]=s.createCtxNullable();function a(r){const{state:e,children:n,TransitionAnimation:o}=r,c=u.useMemo(()=>({state:e,TransitionAnimation:o}),[e,o]);return i.jsx(t,{value:c,children:n})}exports.AccordionContextProvider=a;exports.AccordionProvider=t;exports.useAccordionCtx=d;
package/index69.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as i } from "react/jsx-runtime";
3
- import { createCtxNullable as c } from "./index125.mjs";
3
+ import { createCtxNullable as c } from "./index126.mjs";
4
4
  import { useMemo as m } from "react";
5
5
  const [l, s] = c();
6
6
  function x(t) {
package/index7.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { jsx as i, jsxs as A } from "react/jsx-runtime";
3
- import { useState as C } from "react";
2
+ import { jsx as i, jsxs as C } from "react/jsx-runtime";
3
+ import { useState as A } from "react";
4
4
  import { FocusScope as T, useFocusManager as I } from "react-aria";
5
5
  import b from "./index64.mjs";
6
6
  import K, { ButtonWithForwardRef as L } from "./index6.mjs";
@@ -40,14 +40,14 @@ const $ = (w) => {
40
40
  themeName: a = "shareButton",
41
41
  tokens: c,
42
42
  ...y
43
- } = w, [e, p] = C(!1), o = b(`${a}.container`, c, l), u = (t) => {
43
+ } = w, [e, p] = A(!1), o = b(`${a}.container`, c, l), u = (t) => {
44
44
  p(!e), !e && setTimeout(() => {
45
45
  var n, s;
46
46
  const r = (s = (n = t.target.parentElement) == null ? void 0 : n.lastChild) == null ? void 0 : s.firstChild;
47
47
  r == null || r.focus();
48
48
  });
49
49
  };
50
- return /* @__PURE__ */ i(T, { autoFocus: !0, restoreFocus: !0, contain: e, children: /* @__PURE__ */ A("div", { className: o, onKeyDown: (t) => {
50
+ return /* @__PURE__ */ i(T, { autoFocus: !0, restoreFocus: !0, contain: e, children: /* @__PURE__ */ C("div", { className: o, onKeyDown: (t) => {
51
51
  const r = t.currentTarget.firstChild, n = t.currentTarget.lastChild, s = n.firstChild, v = n.lastChild, { listDirection: x } = c ?? {};
52
52
  x === "row" && (t.key === "ArrowRight" && t.target === r && (s == null || s.focus(), t.preventDefault()), t.key === "ArrowLeft" && t.target === r && (v.focus(), t.preventDefault())), x === "column" && (t.key === "ArrowDown" && t.target === r && (s == null || s.focus(), t.preventDefault()), t.key === "ArrowUp" && t.target === r && (v.focus(), t.preventDefault())), t.key === "Escape" && (p(!1), r == null || r.focus()), document.activeElement === n && (r == null || r.focus());
53
53
  }, children: [
package/index70.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),i=require("./index125.js"),t=require("react"),[l,s]=i.default();function S(u){const{userQuery:o,children:a}=u,[e,r]=t.useState(o),c=t.useMemo(()=>({userSearchQuery:e,setUserSearchQuery:r}),[e,r]);return n.jsx(s,{value:c,children:a})}exports.SearchBarProvider=S;exports.SearchProvider=s;exports.useUserQueryValHook=l;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),i=require("./index126.js"),t=require("react"),[l,s]=i.default();function S(u){const{userQuery:o,children:a}=u,[e,r]=t.useState(o),c=t.useMemo(()=>({userSearchQuery:e,setUserSearchQuery:r}),[e,r]);return n.jsx(s,{value:c,children:a})}exports.SearchBarProvider=S;exports.SearchProvider=s;exports.useUserQueryValHook=l;
package/index70.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as a } from "react/jsx-runtime";
3
- import c from "./index125.mjs";
3
+ import c from "./index126.mjs";
4
4
  import { useState as n, useMemo as i } from "react";
5
5
  const [f, m] = c();
6
6
  function p(o) {
package/index71.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),i=require("./index125.js"),c=require("react"),[u,r]=i.createCtxNullable();function s(o){const{controller:e,children:t}=o,n=c.useMemo(()=>({controller:e}),[e]);return l.jsx(r,{value:n,children:t})}exports.SwiperControllerContextProvider=s;exports.SwiperControllerProvider=r;exports.useSwiperController=u;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),i=require("./index126.js"),c=require("react"),[u,r]=i.createCtxNullable();function s(o){const{controller:e,children:t}=o,n=c.useMemo(()=>({controller:e}),[e]);return l.jsx(r,{value:n,children:t})}exports.SwiperControllerContextProvider=s;exports.SwiperControllerProvider=r;exports.useSwiperController=u;
package/index71.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as l } from "react/jsx-runtime";
3
- import { createCtxNullable as n } from "./index125.mjs";
3
+ import { createCtxNullable as n } from "./index126.mjs";
4
4
  import { useMemo as i } from "react";
5
5
  const [u, c] = n();
6
6
  function C(o) {
package/index72.js CHANGED
@@ -1 +1,2 @@
1
- "use strict";const s=(t,e,m="sharing_tool")=>`?utm_source=${t}&utm_medium=${e}&utm_campaign=${m}`;module.exports=s;
1
+ "use client";
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react/jsx-runtime"),f=require("./index126.js"),m=require("radash"),a=require("react"),[v,x]=f.default();function C({useTranslationFunc:s,children:u,namespace:i="common",translateFunctionName:r="t"}){const c=s(i),l=(n,e)=>(console.warn(`STACK-UI/Translation --> translation function not found: translateFunctionName: ${r}`),n),t=m.get(c,r,l),o=a.useCallback((n,e)=>e==null?t(n):t(n,e),[t]),d=a.useMemo(()=>({t:o}),[o]);return T.jsx(x,{value:d,children:u})}exports.TranslationContextProvider=C;exports.useTranslation=v;
package/index72.mjs CHANGED
@@ -1,4 +1,29 @@
1
- const m = (t, a, e = "sharing_tool") => `?utm_source=${t}&utm_medium=${a}&utm_campaign=${e}`;
1
+ "use client";
2
+ import { jsx as u } from "react/jsx-runtime";
3
+ import m from "./index126.mjs";
4
+ import { get as f } from "radash";
5
+ import { useCallback as p, useMemo as T } from "react";
6
+ const [k, x] = m();
7
+ function P({
8
+ useTranslationFunc: s,
9
+ children: e,
10
+ namespace: l = "common",
11
+ translateFunctionName: r = "t"
12
+ }) {
13
+ const c = s(l), t = f(c, r, (n, o) => (console.warn(
14
+ `STACK-UI/Translation --> translation function not found: translateFunctionName: ${r}`
15
+ ), n)), a = p(
16
+ (n, o) => o == null ? t(n) : t(n, o),
17
+ [t]
18
+ ), i = T(
19
+ () => ({
20
+ t: a
21
+ }),
22
+ [a]
23
+ );
24
+ return /* @__PURE__ */ u(x, { value: i, children: e });
25
+ }
2
26
  export {
3
- m as default
27
+ P as TranslationContextProvider,
28
+ k as useTranslation
4
29
  };
package/index73.js CHANGED
@@ -1,2 +1 @@
1
- "use client";
2
- "use strict";const t=require("react"),s=()=>{const[e,o]=t.useState(),[n,i]=t.useState();return t.useEffect(()=>{o(window.location.href),i(window.document.title)},[]),{windowLocation:e,windowTitle:n}};module.exports=s;
1
+ "use strict";const s=(t,e,m="sharing_tool")=>`?utm_source=${t}&utm_medium=${e}&utm_campaign=${m}`;module.exports=s;
package/index73.mjs CHANGED
@@ -1,11 +1,4 @@
1
- "use client";
2
- import { useState as o, useEffect as w } from "react";
3
- const s = () => {
4
- const [t, e] = o(), [n, i] = o();
5
- return w(() => {
6
- e(window.location.href), i(window.document.title);
7
- }, []), { windowLocation: t, windowTitle: n };
8
- };
1
+ const m = (t, a, e = "sharing_tool") => `?utm_source=${t}&utm_medium=${a}&utm_campaign=${e}`;
9
2
  export {
10
- s as default
3
+ m as default
11
4
  };
package/index74.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const u=require("./index72.js"),i=require("./index73.js"),l=(t,e,o)=>{const{windowLocation:r,windowTitle:s}=i(),n=o??r,c=u(t,e);return`https://www.facebook.com/sharer.php?u=${`${n}${c}`}&t=${s}`};module.exports=l;
2
+ "use strict";const t=require("react"),s=()=>{const[e,o]=t.useState(),[n,i]=t.useState();return t.useEffect(()=>{o(window.location.href),i(window.document.title)},[]),{windowLocation:e,windowTitle:n}};module.exports=s;
package/index74.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  "use client";
2
- import a from "./index72.mjs";
3
- import l from "./index73.mjs";
4
- const m = (o, t, r) => {
5
- const { windowLocation: e, windowTitle: n } = l(), s = r ?? e, c = a(o, t);
6
- return `https://www.facebook.com/sharer.php?u=${`${s}${c}`}&t=${n}`;
2
+ import { useState as o, useEffect as w } from "react";
3
+ const s = () => {
4
+ const [t, e] = o(), [n, i] = o();
5
+ return w(() => {
6
+ e(window.location.href), i(window.document.title);
7
+ }, []), { windowLocation: t, windowTitle: n };
7
8
  };
8
9
  export {
9
- m as default
10
+ s as default
10
11
  };
package/index75.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const u=require("./index72.js"),l=require("./index73.js"),a=(t,o,e)=>{const{windowLocation:n,windowTitle:r}=l(),s=e??n,c=u(t,o),i=`${s}${c}`;return`mailto:?to=&body=${r}%20${i}`};module.exports=a;
2
+ "use strict";const u=require("./index73.js"),i=require("./index74.js"),l=(t,e,o)=>{const{windowLocation:r,windowTitle:s}=i(),n=o??r,c=u(t,e);return`https://www.facebook.com/sharer.php?u=${`${n}${c}`}&t=${s}`};module.exports=l;
package/index75.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import l from "./index72.mjs";
3
- import c from "./index73.mjs";
4
- const d = (o, t, r) => {
5
- const { windowLocation: n, windowTitle: e } = c(), i = r ?? n, s = l(o, t), a = `${i}${s}`;
6
- return `mailto:?to=&body=${e}%20${a}`;
2
+ import a from "./index73.mjs";
3
+ import l from "./index74.mjs";
4
+ const m = (o, t, r) => {
5
+ const { windowLocation: e, windowTitle: n } = l(), s = r ?? e, c = a(o, t);
6
+ return `https://www.facebook.com/sharer.php?u=${`${s}${c}`}&t=${n}`;
7
7
  };
8
8
  export {
9
- d as default
9
+ m as default
10
10
  };
package/index76.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const c=require("./index72.js"),u=require("./index73.js"),i=(t,e,r)=>{const{windowLocation:n}=u(),s=r??n,o=c(t,e);return`https://twitter.com/intent/tweet?text=${`${s}${o}`}`};module.exports=i;
2
+ "use strict";const u=require("./index73.js"),l=require("./index74.js"),a=(t,o,e)=>{const{windowLocation:n,windowTitle:r}=l(),s=e??n,c=u(t,o),i=`${s}${c}`;return`mailto:?to=&body=${r}%20${i}`};module.exports=a;
package/index76.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import c from "./index72.mjs";
3
- import i from "./index73.mjs";
4
- const a = (t, e, r) => {
5
- const { windowLocation: o } = i(), n = r ?? o, s = c(t, e);
6
- return `https://twitter.com/intent/tweet?text=${`${n}${s}`}`;
2
+ import l from "./index73.mjs";
3
+ import c from "./index74.mjs";
4
+ const d = (o, t, r) => {
5
+ const { windowLocation: n, windowTitle: e } = c(), i = r ?? n, s = l(o, t), a = `${i}${s}`;
6
+ return `mailto:?to=&body=${e}%20${a}`;
7
7
  };
8
8
  export {
9
- a as default
9
+ d as default
10
10
  };
package/index77.js CHANGED
@@ -1 +1,2 @@
1
- "use strict";const f=require("react-stately");function S(c){const{children:e,defaultSelectedKeys:a,selectionMode:d="single",selectedKeys:s,onSelectionChange:l,...o}=c,u=Array.isArray(e)?e:[e],r=a??u.reduce((t,i)=>{const{props:y,key:n}=i,{defaultOpen:p}=y??{};return!p||!n||t.push(n),t},[]);return f.useTreeState({children:e,selectionMode:d,defaultExpandedKeys:r,defaultSelectedKeys:r,expandedKeys:s,selectedKeys:s,onSelectionChange:l,...o})}module.exports=S;
1
+ "use client";
2
+ "use strict";const c=require("./index73.js"),u=require("./index74.js"),i=(t,e,r)=>{const{windowLocation:n}=u(),s=r??n,o=c(t,e);return`https://twitter.com/intent/tweet?text=${`${s}${o}`}`};module.exports=i;
package/index77.mjs CHANGED
@@ -1,27 +1,10 @@
1
- import { useTreeState as y } from "react-stately";
2
- function h(d) {
3
- const {
4
- children: e,
5
- defaultSelectedKeys: a,
6
- selectionMode: c = "single",
7
- selectedKeys: r,
8
- onSelectionChange: o,
9
- ...l
10
- } = d, u = Array.isArray(e) ? e : [e], s = a ?? u.reduce((t, i) => {
11
- const { props: f, key: n } = i, { defaultOpen: p } = f ?? {};
12
- return !p || !n || t.push(n), t;
13
- }, []);
14
- return y({
15
- children: e,
16
- selectionMode: c,
17
- defaultExpandedKeys: s,
18
- defaultSelectedKeys: s,
19
- expandedKeys: r,
20
- selectedKeys: r,
21
- onSelectionChange: o,
22
- ...l
23
- });
24
- }
1
+ "use client";
2
+ import c from "./index73.mjs";
3
+ import i from "./index74.mjs";
4
+ const a = (t, e, r) => {
5
+ const { windowLocation: o } = i(), n = r ?? o, s = c(t, e);
6
+ return `https://twitter.com/intent/tweet?text=${`${n}${s}`}`;
7
+ };
25
8
  export {
26
- h as default
9
+ a as default
27
10
  };
package/index78.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=e=>e;exports.makeTheme=t;
1
+ "use strict";const f=require("react-stately");function S(c){const{children:e,defaultSelectedKeys:a,selectionMode:d="single",selectedKeys:s,onSelectionChange:l,...o}=c,u=Array.isArray(e)?e:[e],r=a??u.reduce((t,i)=>{const{props:y,key:n}=i,{defaultOpen:p}=y??{};return!p||!n||t.push(n),t},[]);return f.useTreeState({children:e,selectionMode:d,defaultExpandedKeys:r,defaultSelectedKeys:r,expandedKeys:s,selectedKeys:s,onSelectionChange:l,...o})}module.exports=S;
package/index78.mjs CHANGED
@@ -1,4 +1,27 @@
1
- const m = (e) => e;
1
+ import { useTreeState as y } from "react-stately";
2
+ function h(d) {
3
+ const {
4
+ children: e,
5
+ defaultSelectedKeys: a,
6
+ selectionMode: c = "single",
7
+ selectedKeys: r,
8
+ onSelectionChange: o,
9
+ ...l
10
+ } = d, u = Array.isArray(e) ? e : [e], s = a ?? u.reduce((t, i) => {
11
+ const { props: f, key: n } = i, { defaultOpen: p } = f ?? {};
12
+ return !p || !n || t.push(n), t;
13
+ }, []);
14
+ return y({
15
+ children: e,
16
+ selectionMode: c,
17
+ defaultExpandedKeys: s,
18
+ defaultSelectedKeys: s,
19
+ expandedKeys: r,
20
+ selectedKeys: r,
21
+ onSelectionChange: o,
22
+ ...l
23
+ });
24
+ }
2
25
  export {
3
- m as makeTheme
26
+ h as default
4
27
  };
package/index79.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;
package/index79.mjs CHANGED
@@ -1,96 +1,4 @@
1
- import { tv as e } from "tailwind-variants";
2
- const r = e({
3
- base: "[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",
4
- defaultVariants: {
5
- textAlign: "left",
6
- isOpen: !1
7
- },
8
- variants: {
9
- textAlign: {
10
- center: "text-center",
11
- left: "text-left"
12
- }
13
- }
14
- }), n = e({
15
- base: "grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",
16
- variants: {
17
- titleBold: {
18
- true: "font-bold"
19
- },
20
- textAlign: {
21
- center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",
22
- left: "grid-cols-[1fr_3rem]"
23
- },
24
- bgColor: {
25
- gray: "bg-gray-300",
26
- white: "bg-white"
27
- }
28
- },
29
- defaultVariants: {
30
- titleBold: !1,
31
- textAlign: "left",
32
- bgColor: "white"
33
- }
34
- }), o = e({
35
- base: "",
36
- defaultVariants: {
37
- textAlign: "left"
38
- },
39
- variants: {
40
- textAlign: {
41
- center: "justify-self-center col-start-2",
42
- left: "justify-self-start"
43
- }
44
- }
45
- }), i = e({
46
- 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",
47
- variants: {
48
- isOpen: {
49
- true: "-rotate-90",
50
- false: ""
51
- }
52
- }
53
- }), l = e({
54
- base: `
55
- font-body
56
- text-inherit
57
- h-auto
58
- grid
59
- `,
60
- defaultVariants: {
61
- textAlign: "left"
62
- },
63
- variants: {
64
- textAlign: {
65
- center: "grid-cols-[3rem_1fr_3rem] px-6 text-center",
66
- left: "grid-cols-[1fr_3rem] text-left"
67
- }
68
- }
69
- }), a = e({
70
- base: "overflow-hidden flex flex-col gap-2 items-start",
71
- defaultVariants: {
72
- textAlign: "left"
73
- },
74
- variants: {
75
- textAlign: {
76
- center: "col-start-2",
77
- left: ""
78
- }
79
- }
80
- }), c = {
81
- container: (t) => r(t),
82
- button: (t) => n(t),
83
- title: (t) => o(t),
84
- icon: (t) => i(t),
85
- region: (t) => l(t),
86
- content: (t) => a(t)
87
- };
1
+ const m = (e) => e;
88
2
  export {
89
- n as accordionButton,
90
- r as accordionContainer,
91
- a as accordionContent,
92
- i as accordionIcon,
93
- l as accordionRegion,
94
- c as accordionTheme,
95
- o as accordionTitle
3
+ m as makeTheme
96
4
  };
package/index8.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const e=require("react/jsx-runtime"),p=require("react"),q=require("react-div-100vh"),P=require("./index66.js"),r=require("./index64.js"),T=require("./index30.js"),j=require("./index99.js"),v=require("./index27.js"),S=a=>{const{children:c,closeBtnRender:t,themeName:n="sidePanel",tokens:i,TransitionAnimation:l=T,PanelTransition:d=j,customTheme:s}=a,m=r(`${n}.wrapper`,i,s),u=r(`${n}.container`,i,s),h=r(`${n}.innerContainer`,i,s),{overlayState:o,overlayProps:x}=P.useSidePanel();return e.jsx(v,{state:o,...x,transitionComponent:d,isDismissable:!0,children:e.jsxs(q,{className:m,children:[t&&t(),e.jsx(l,{isVisible:o.isOpen,children:e.jsx("div",{className:u,children:e.jsx("div",{className:h,children:c})})})]})})},$=p.memo(S);module.exports=$;
2
+ "use strict";const n=require("react/jsx-runtime"),h=require("react-div-100vh"),x=require("./index66.js"),p=require("./index64.js"),q=require("./index30.js"),j=require("./index100.js"),r=require("./index25.js"),P=require("./index27.js"),$=o=>{const{children:a,closeBtnRender:s,themeName:e="sidePanel",tokens:i,TransitionAnimation:c=q,PanelTransition:l=j,customTheme:d}=o,m=p(`${e}.wrapper`,i,d),{overlayState:t,overlayProps:u}=x.useSidePanel();return n.jsx(P,{themeName:e,tokens:i,state:t,...u,transitionComponent:l,isDismissable:!0,children:n.jsxs(h,{className:m,children:[s&&s(),n.jsx(c,{themeName:`${e}.transitionAnimation`,tokens:i,isVisible:t.isOpen,children:n.jsx(r.default,{themeName:`${e}.container`,children:n.jsx(r.default,{themeName:`${e}.innerContainer`,children:a})})})]})})};module.exports=$;
package/index8.mjs CHANGED
@@ -1,27 +1,46 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as T } from "react/jsx-runtime";
3
- import u from "react";
4
- import P from "react-div-100vh";
5
- import { useSidePanel as v } from "./index66.mjs";
6
- import r from "./index64.mjs";
7
- import S from "./index30.mjs";
8
- import x from "./index99.mjs";
9
- import C from "./index27.mjs";
10
- const N = (a) => {
2
+ import { jsx as i, jsxs as c } from "react/jsx-runtime";
3
+ import f from "react-div-100vh";
4
+ import { useSidePanel as u } from "./index66.mjs";
5
+ import P from "./index64.mjs";
6
+ import T from "./index30.mjs";
7
+ import x from "./index100.mjs";
8
+ import o from "./index25.mjs";
9
+ import N from "./index27.mjs";
10
+ const A = (m) => {
11
11
  const {
12
- children: m,
13
- closeBtnRender: t,
14
- themeName: n = "sidePanel",
15
- tokens: i,
16
- TransitionAnimation: l = S,
17
- PanelTransition: c = x,
18
- customTheme: o
19
- } = a, d = r(`${n}.wrapper`, i, o), p = r(`${n}.container`, i, o), h = r(`${n}.innerContainer`, i, o), { overlayState: s, overlayProps: f } = v();
20
- return /* @__PURE__ */ e(C, { state: s, ...f, transitionComponent: c, isDismissable: !0, children: /* @__PURE__ */ T(P, { className: d, children: [
21
- t && t(),
22
- /* @__PURE__ */ e(l, { isVisible: s.isOpen, children: /* @__PURE__ */ e("div", { className: p, children: /* @__PURE__ */ e("div", { className: h, children: m }) }) })
23
- ] }) });
24
- }, k = u.memo(N);
12
+ children: a,
13
+ closeBtnRender: r,
14
+ themeName: e = "sidePanel",
15
+ tokens: n,
16
+ TransitionAnimation: s = T,
17
+ PanelTransition: l = x,
18
+ customTheme: p
19
+ } = m, d = P(`${e}.wrapper`, n, p), { overlayState: t, overlayProps: h } = u();
20
+ return /* @__PURE__ */ i(
21
+ N,
22
+ {
23
+ themeName: e,
24
+ tokens: n,
25
+ state: t,
26
+ ...h,
27
+ transitionComponent: l,
28
+ isDismissable: !0,
29
+ children: /* @__PURE__ */ c(f, { className: d, children: [
30
+ r && r(),
31
+ /* @__PURE__ */ i(
32
+ s,
33
+ {
34
+ themeName: `${e}.transitionAnimation`,
35
+ tokens: n,
36
+ isVisible: t.isOpen,
37
+ children: /* @__PURE__ */ i(o, { themeName: `${e}.container`, children: /* @__PURE__ */ i(o, { themeName: `${e}.innerContainer`, children: a }) })
38
+ }
39
+ )
40
+ ] })
41
+ }
42
+ );
43
+ };
25
44
  export {
26
- k as default
45
+ A as default
27
46
  };
package/index80.js CHANGED
@@ -1 +1,6 @@
1
- "use strict";const e=require("tailwind-variants"),t=require("./index82.js"),r=require("./index96.js"),a=e.tv({base:"bg-color-1-200 p-4 flex flex-col gap-4"}),s=e.tv({base:"flex justify-between items-center gap-4 relative"}),n=e.tv({extend:t,base:"self-end"}),o=e.tv({base:"bg-color-1-300 m-2 rounded-lg order-2"}),l=e.tv({base:"m-4"}),i=e.tv({base:""}),c=e.tv({base:""}),p=e.tv({extend:r,defaultVariants:{size:"h1"}}),b=e.tv({extend:r}),u=e.tv({base:"block w-min bg-color-1-400 p-2 rounded-lg"}),v=e.tv({extend:t,variants:{order:{prev:"order-1",next:"order-3"}}}),d=e.tv({base:"flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"}),g=e.tv({base:"w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",variants:{active:{true:"bg-color-1-100",false:""}}}),w={wrapper:a,carouselWrapper:s,closeBtn:n,swiper:{swiper:o,wrapper:l},item:{wrapper:i,container:c,title:p,content:b,icon:u},navigation:{button:v},pagination:{wrapper:d,bullet:g}};module.exports=w;
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;