@pfct/purple 1.5.0-npm-next.6 → 1.5.0-npm-next.7

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 (442) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/chunks/clsx.C11secjj.js +1 -0
  3. package/dist/chunks/clsx.OuTLNxxd.js +16 -0
  4. package/dist/chunks/index.6ZBAQokh.js +82 -0
  5. package/dist/chunks/index.BhKv87PH.js +1 -0
  6. package/dist/chunks/index.BqdzwVah.js +1 -0
  7. package/dist/chunks/index.CIq9yakG.js +243 -0
  8. package/dist/chunks/index.CKKuhuuw.js +1 -0
  9. package/dist/chunks/index.CKdg_c8_.js +1540 -0
  10. package/dist/chunks/index.CQiaoKjj.js +27 -0
  11. package/dist/chunks/index.CRSD6wuV.js +227 -0
  12. package/dist/chunks/index.Ca2_YDeQ.js +1 -0
  13. package/dist/chunks/{index.LN3KW-I4.js → index.Cc-miKAT.js} +1 -1
  14. package/dist/chunks/index.Cg0AsUJe.js +340 -0
  15. package/dist/chunks/index.CiFVe164.js +152 -0
  16. package/dist/chunks/{index.styled.B9NKU_3J.js → index.CqzduzUN.js} +288 -349
  17. package/dist/chunks/index.CzX283JL.js +1 -0
  18. package/dist/chunks/index.D2jUN9AV.js +1 -0
  19. package/dist/chunks/index.DMhXgOEz.js +1 -0
  20. package/dist/chunks/index.DYkYoCrb.js +13 -0
  21. package/dist/chunks/index.Dh7jK0Mq.js +777 -0
  22. package/dist/chunks/index.Ibth5ADB.js +675 -0
  23. package/dist/chunks/index.Tc55yzvH.js +5 -0
  24. package/dist/chunks/index.cLNSO_n0.js +41 -0
  25. package/dist/chunks/index.mFaQzo4n.js +1 -0
  26. package/dist/chunks/jsx-runtime.CrDL12FN.js +22 -0
  27. package/dist/chunks/jsx-runtime.OVHDjVDe.js +284 -0
  28. package/dist/components/Accordion/index.cjs.js +1 -1
  29. package/dist/components/Accordion/index.es.js +247 -684
  30. package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
  31. package/dist/components/Badge/BaseBadge/index.es.js +10 -10
  32. package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
  33. package/dist/components/Badge/BaseBadge/index.styled.d.ts +3 -3
  34. package/dist/components/Badge/BaseBadge/index.styled.es.js +2 -2
  35. package/dist/components/Badge/IconBadge/index.cjs.js +1 -1
  36. package/dist/components/Badge/IconBadge/index.es.js +6 -6
  37. package/dist/components/Badge/IconBadge/index.styled.d.ts +2 -2
  38. package/dist/components/Badge/TextBadge/index.cjs.js +1 -1
  39. package/dist/components/Badge/TextBadge/index.es.js +7 -7
  40. package/dist/components/Badge/TextBadge/index.styled.d.ts +1 -1
  41. package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
  42. package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +25 -27
  43. package/dist/components/BottomSheet/BaseBottomSheet/index.styled.d.ts +5 -5
  44. package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
  45. package/dist/components/BottomSheet/NavBottomSheet/index.es.js +2 -2
  46. package/dist/components/BottomSheet/NavBottomSheet/index.styled.d.ts +2 -2
  47. package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
  48. package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +3 -3
  49. package/dist/components/BottomSheet/TitleBottomSheet/index.styled.d.ts +4 -4
  50. package/dist/components/BottomSheet/index.cjs.js +1 -1
  51. package/dist/components/BottomSheet/index.es.js +1 -1
  52. package/dist/components/Button/BaseButton/index.cjs.js +1 -1
  53. package/dist/components/Button/BaseButton/index.es.js +5 -5
  54. package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
  55. package/dist/components/Button/DoubleButton/index.es.js +2 -2
  56. package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
  57. package/dist/components/Button/FloatBaseButton/index.es.js +12 -12
  58. package/dist/components/Button/FloatBaseButton/index.styled.d.ts +12 -12
  59. package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
  60. package/dist/components/Button/FloatDoubleButton/index.es.js +11 -11
  61. package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
  62. package/dist/components/Button/FloatSingleButton/index.es.js +12 -12
  63. package/dist/components/Button/SingleButton/index.cjs.js +1 -1
  64. package/dist/components/Button/SingleButton/index.es.js +4 -4
  65. package/dist/components/Button/TestButton/index.cjs.js +1 -1
  66. package/dist/components/Button/TestButton/index.es.js +2 -2
  67. package/dist/components/Button/index.cjs.js +1 -1
  68. package/dist/components/Button/index.es.js +1 -1
  69. package/dist/components/Card/index.cjs.js +1 -1
  70. package/dist/components/Card/index.es.js +7 -7
  71. package/dist/components/Card/index.styled.d.ts +2 -2
  72. package/dist/components/Chips/BasicChips/index.cjs.js +1 -1
  73. package/dist/components/Chips/BasicChips/index.es.js +8 -8
  74. package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
  75. package/dist/components/Chips/BasicChips/index.styled.d.ts +5 -5
  76. package/dist/components/Chips/BasicChips/index.styled.es.js +2 -2
  77. package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
  78. package/dist/components/Chips/ChipItem/index.es.js +51 -50
  79. package/dist/components/Chips/ChipItem/index.styled.cjs.js +1 -1
  80. package/dist/components/Chips/ChipItem/index.styled.d.ts +2 -2
  81. package/dist/components/Chips/ChipItem/index.styled.es.js +22 -24
  82. package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
  83. package/dist/components/Chips/ChipsFrame/index.es.js +24 -24
  84. package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
  85. package/dist/components/Chips/ChipsFrame/index.styled.d.ts +5 -5
  86. package/dist/components/Chips/ChipsFrame/index.styled.es.js +2 -2
  87. package/dist/components/Comment/Group/index.cjs.js +1 -1
  88. package/dist/components/Comment/Group/index.es.js +3 -3
  89. package/dist/components/Comment/Group/index.styled.d.ts +2 -2
  90. package/dist/components/Comment/Item/index.cjs.js +1 -1
  91. package/dist/components/Comment/Item/index.es.js +6 -6
  92. package/dist/components/Comment/Item/index.styled.d.ts +8 -8
  93. package/dist/components/Comment/index.d.ts +2 -2
  94. package/dist/components/Control/CheckMark/CheckMark.cjs.js +1 -1
  95. package/dist/components/Control/CheckMark/CheckMark.es.js +3 -3
  96. package/dist/components/Control/CheckMark/index.cjs.js +1 -1
  97. package/dist/components/Control/CheckMark/index.es.js +23 -25
  98. package/dist/components/Control/CheckMark/index.styled.d.ts +2 -2
  99. package/dist/components/Control/RadioButton/index.cjs.js +1 -1
  100. package/dist/components/Control/RadioButton/index.es.js +11 -11
  101. package/dist/components/Control/RadioButton/index.styled.cjs.js +1 -1
  102. package/dist/components/Control/RadioButton/index.styled.d.ts +2 -2
  103. package/dist/components/Control/RadioButton/index.styled.es.js +19 -21
  104. package/dist/components/Control/Switch/index.cjs.js +1 -1
  105. package/dist/components/Control/Switch/index.es.js +24 -26
  106. package/dist/components/Control/Switch/index.styled.d.ts +2 -2
  107. package/dist/components/Control/index.cjs.js +1 -1
  108. package/dist/components/Control/index.d.ts +2 -1
  109. package/dist/components/Control/index.es.js +4 -4
  110. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
  111. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +27 -29
  112. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
  113. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +28 -30
  114. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
  115. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +3 -3
  116. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
  117. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +29 -31
  118. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
  119. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +33 -35
  120. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
  121. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +29 -31
  122. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.cjs.js +1 -1
  123. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.d.ts +10 -10
  124. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.es.js +30 -32
  125. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
  126. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +5 -5
  127. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.cjs.js +1 -1
  128. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.d.ts +5 -5
  129. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.es.js +2 -2
  130. package/dist/components/DatePicker/BaseDatePicker/Month/index.cjs.js +1 -1
  131. package/dist/components/DatePicker/BaseDatePicker/Month/index.es.js +4 -4
  132. package/dist/components/DatePicker/BaseDatePicker/Month/index.styled.d.ts +2 -2
  133. package/dist/components/DatePicker/BaseDatePicker/Week/index.cjs.js +1 -1
  134. package/dist/components/DatePicker/BaseDatePicker/Week/index.es.js +3 -3
  135. package/dist/components/DatePicker/BaseDatePicker/Week/index.styled.d.ts +4 -4
  136. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
  137. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +26 -26
  138. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.styed.d.ts +6 -6
  139. package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
  140. package/dist/components/DatePicker/BaseDatePicker/index.es.js +56 -58
  141. package/dist/components/DatePicker/BaseDatePicker/index.styled.d.ts +2 -2
  142. package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
  143. package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +26 -26
  144. package/dist/components/DatePicker/RangeDatePickerModal/index.styled.d.ts +5 -5
  145. package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
  146. package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +25 -27
  147. package/dist/components/DatePicker/SingleDatePickerModal/index.styled.d.ts +2 -2
  148. package/dist/components/Divider/index.cjs.js +1 -1
  149. package/dist/components/Divider/index.es.js +3 -3
  150. package/dist/components/Divider/index.styled.d.ts +4 -4
  151. package/dist/components/Input/BaseInput/index.cjs.js +1 -1
  152. package/dist/components/Input/BaseInput/index.es.js +39 -39
  153. package/dist/components/Input/BaseInput/index.styled.d.ts +2 -2
  154. package/dist/components/Input/NumberInput/index.cjs.js +1 -1
  155. package/dist/components/Input/NumberInput/index.es.js +40 -42
  156. package/dist/components/Input/PostfixInput/index.cjs.js +1 -1
  157. package/dist/components/Input/PostfixInput/index.es.js +60 -60
  158. package/dist/components/Input/PostfixInput/index.styled.d.ts +5 -5
  159. package/dist/components/Input/PostfixInput/index.util.cjs.js +1 -1
  160. package/dist/components/Input/PostfixInput/index.util.es.js +22 -24
  161. package/dist/components/Input/ResidentNumberInput/index.cjs.js +1 -1
  162. package/dist/components/Input/ResidentNumberInput/index.es.js +73 -73
  163. package/dist/components/Input/ResidentNumberInput/index.styled.d.ts +8 -8
  164. package/dist/components/Input/TextField/index.cjs.js +1 -1
  165. package/dist/components/Input/TextField/index.es.js +49 -49
  166. package/dist/components/Input/common/InputFrame/index.cjs.js +1 -1
  167. package/dist/components/Input/common/InputFrame/index.es.js +17 -17
  168. package/dist/components/Input/common/InputFrame/index.styled.d.ts +3 -3
  169. package/dist/components/Input/index.cjs.js +1 -1
  170. package/dist/components/Input/index.es.js +32 -34
  171. package/dist/components/LegacyModal/BaseModal/index.cjs.js +1 -0
  172. package/dist/components/LegacyModal/BaseModal/index.es.js +8 -0
  173. package/dist/components/LegacyModal/BaseModal/index.styled.d.ts +6 -0
  174. package/dist/components/LegacyModal/index.cjs.js +1 -0
  175. package/dist/components/LegacyModal/index.d.ts +31 -0
  176. package/dist/components/LegacyModal/index.es.js +9 -0
  177. package/dist/components/LegacyModal/index.styled.cjs.js +42 -0
  178. package/dist/components/LegacyModal/index.styled.d.ts +29 -0
  179. package/dist/components/LegacyModal/index.styled.es.js +56 -0
  180. package/dist/components/List/index.cjs.js +1 -1
  181. package/dist/components/List/index.es.js +10 -10
  182. package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
  183. package/dist/components/Loading/ProgressBar/index.es.js +7 -7
  184. package/dist/components/Loading/ProgressBar/index.styled.cjs.js +1 -1
  185. package/dist/components/Loading/ProgressBar/index.styled.d.ts +4 -4
  186. package/dist/components/Loading/ProgressBar/index.styled.es.js +20 -22
  187. package/dist/components/Loading/Skeleton/SkeletonLayout/index.cjs.js +1 -1
  188. package/dist/components/Loading/Skeleton/SkeletonLayout/index.es.js +3 -3
  189. package/dist/components/Loading/Skeleton/SkeletonLayout/index.styled.d.ts +4 -4
  190. package/dist/components/Loading/Skeleton/index.cjs.js +1 -1
  191. package/dist/components/Loading/Skeleton/index.es.js +10 -10
  192. package/dist/components/Loading/Skeleton/index.styled.d.ts +6 -6
  193. package/dist/components/Loading/Spinner/index.cjs.js +1 -1
  194. package/dist/components/Loading/Spinner/index.es.js +2 -2
  195. package/dist/components/Loading/Spinner/index.styled.d.ts +2 -2
  196. package/dist/components/Loading/index.cjs.js +1 -1
  197. package/dist/components/Loading/index.es.js +1 -1
  198. package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
  199. package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
  200. package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
  201. package/dist/components/MiniButton/IconMiniButton/index.d.ts +1 -1
  202. package/dist/components/MiniButton/IconMiniButton/index.es.js +30 -27
  203. package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
  204. package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +43 -40
  205. package/dist/components/MiniButton/common/ButtonTag.cjs.js +1 -1
  206. package/dist/components/MiniButton/common/ButtonTag.es.js +3 -3
  207. package/dist/components/MiniButton/common/index.styled.cjs.js +1 -1
  208. package/dist/components/MiniButton/common/index.styled.d.ts +1 -1
  209. package/dist/components/MiniButton/common/index.styled.es.js +21 -23
  210. package/dist/components/Modal/index.cjs.js +1 -1
  211. package/dist/components/Modal/index.d.ts +14 -27
  212. package/dist/components/Modal/index.es.js +99 -9
  213. package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
  214. package/dist/components/Navigation/BaseNavigation/index.es.js +14 -14
  215. package/dist/components/Navigation/BaseNavigation/index.styled.d.ts +8 -8
  216. package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
  217. package/dist/components/Navigation/BottomNavigationBar/index.es.js +13 -13
  218. package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
  219. package/dist/components/Navigation/PageNavigationBar/index.es.js +33 -33
  220. package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
  221. package/dist/components/Navigation/TitleNavigationBar/index.es.js +20 -20
  222. package/dist/components/Navigation/index.cjs.js +1 -1
  223. package/dist/components/Navigation/index.es.js +30 -30
  224. package/dist/components/Navigation/index.styled.d.ts +5 -5
  225. package/dist/components/OverlayRoot/index.cjs.js +1 -1
  226. package/dist/components/OverlayRoot/index.es.js +19 -21
  227. package/dist/components/OverlayRoot/index.styled.d.ts +1 -1
  228. package/dist/components/Segment/BaseSegment/index.cjs.js +1 -1
  229. package/dist/components/Segment/BaseSegment/index.es.js +14 -14
  230. package/dist/components/Segment/BaseSegment/index.styled.d.ts +10 -10
  231. package/dist/components/Segment/ExtendSegment/index.cjs.js +1 -1
  232. package/dist/components/Segment/ExtendSegment/index.es.js +19 -19
  233. package/dist/components/Segment/ExtendSegment/index.styled.d.ts +12 -12
  234. package/dist/components/SelectBox/index.cjs.js +1 -1
  235. package/dist/components/SelectBox/index.es.js +53 -53
  236. package/dist/components/SelectBox/index.styled.cjs.js +1 -1
  237. package/dist/components/SelectBox/index.styled.d.ts +8 -8
  238. package/dist/components/SelectBox/index.styled.es.js +26 -28
  239. package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
  240. package/dist/components/Tabs/FillTabs/index.es.js +29 -31
  241. package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
  242. package/dist/components/Tabs/TextTabs/index.es.js +35 -37
  243. package/dist/components/Tag/index.cjs.js +1 -1
  244. package/dist/components/Tag/index.es.js +4 -4
  245. package/dist/components/Tag/index.styled.cjs.js +1 -1
  246. package/dist/components/Tag/index.styled.d.ts +2 -2
  247. package/dist/components/Tag/index.styled.es.js +19 -21
  248. package/dist/components/Terms/index.cjs.js +1 -1
  249. package/dist/components/Terms/index.es.js +39 -40
  250. package/dist/components/TextArea/index.cjs.js +1 -0
  251. package/dist/components/TextArea/index.d.ts +80 -0
  252. package/dist/components/TextArea/index.es.js +30 -0
  253. package/dist/components/Title/index.cjs.js +1 -1
  254. package/dist/components/Title/index.es.js +13 -13
  255. package/dist/components/Title/index.styled.cjs.js +1 -1
  256. package/dist/components/Title/index.styled.d.ts +2 -2
  257. package/dist/components/Title/index.styled.es.js +20 -22
  258. package/dist/components/Toast/index.cjs.js +1 -0
  259. package/dist/components/Toast/index.d.ts +5 -0
  260. package/dist/components/Toast/index.es.js +36 -0
  261. package/dist/components/index.cjs.js +1 -1
  262. package/dist/components/index.d.ts +5 -3
  263. package/dist/components/index.es.js +163 -141
  264. package/dist/components/ui/bottomSheet.cjs.js +13 -13
  265. package/dist/components/ui/bottomSheet.es.js +97 -97
  266. package/dist/components/ui/button.cjs.js +1 -1
  267. package/dist/components/ui/button.d.ts +1 -1
  268. package/dist/components/ui/button.es.js +5 -5
  269. package/dist/components/ui/checkbox.cjs.js +1 -0
  270. package/dist/components/ui/checkbox.d.ts +9 -0
  271. package/dist/components/ui/checkbox.es.js +447 -0
  272. package/dist/components/ui/dialog.cjs.js +1 -1
  273. package/dist/components/ui/dialog.es.js +49 -49
  274. package/dist/components/ui/drawer.cjs.js +2 -2
  275. package/dist/components/ui/drawer.es.js +218 -218
  276. package/dist/components/ui/impact-tooltip.cjs.js +1 -0
  277. package/dist/components/ui/impact-tooltip.d.ts +16 -0
  278. package/dist/components/ui/impact-tooltip.es.js +329 -0
  279. package/dist/components/ui/share-ui.cjs.js +1 -1
  280. package/dist/components/ui/share-ui.d.ts +1 -1
  281. package/dist/components/ui/share-ui.es.js +34 -34
  282. package/dist/components/ui/tooltip.cjs.js +1 -0
  283. package/dist/components/ui/tooltip.d.ts +9 -0
  284. package/dist/components/ui/tooltip.es.js +385 -0
  285. package/dist/components/ui/typography.cjs.js +1 -1
  286. package/dist/components/ui/typography.d.ts +1 -1
  287. package/dist/components/ui/typography.es.js +5 -5
  288. package/dist/core/Colors/index.cjs.js +1 -1
  289. package/dist/core/Colors/index.d.ts +0 -4
  290. package/dist/core/Colors/index.es.js +4 -8
  291. package/dist/core/Display/Mobile.cjs.js +1 -1
  292. package/dist/core/Display/Mobile.es.js +4 -4
  293. package/dist/core/Display/Pc.cjs.js +1 -1
  294. package/dist/core/Display/Pc.es.js +4 -4
  295. package/dist/core/Display/index.styled.cjs.js +1 -1
  296. package/dist/core/Display/index.styled.d.ts +2 -2
  297. package/dist/core/Display/index.styled.es.js +20 -22
  298. package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
  299. package/dist/core/Typography/BaseTypography/index.d.ts +16 -16
  300. package/dist/core/Typography/BaseTypography/index.es.js +5 -5
  301. package/dist/core/Typography/index.cjs.js +1 -1
  302. package/dist/core/Typography/index.es.js +19 -19
  303. package/dist/hooks/useLayoutIsMobile.cjs.js +1 -1
  304. package/dist/hooks/useLayoutIsMobile.es.js +20 -22
  305. package/dist/icons/src/aliases/aliases.cjs.js +1 -1
  306. package/dist/icons/src/aliases/aliases.d.ts +11 -11
  307. package/dist/icons/src/aliases/aliases.es.js +48 -48
  308. package/dist/icons/src/aliases/index.cjs.js +1 -1
  309. package/dist/icons/src/aliases/index.es.js +96 -96
  310. package/dist/icons/src/aliases/prefixed.cjs.js +1 -1
  311. package/dist/icons/src/aliases/prefixed.d.ts +17 -17
  312. package/dist/icons/src/aliases/prefixed.es.js +44 -44
  313. package/dist/icons/src/aliases/suffixed.cjs.js +1 -1
  314. package/dist/icons/src/aliases/suffixed.d.ts +18 -18
  315. package/dist/icons/src/aliases/suffixed.es.js +50 -50
  316. package/dist/icons/src/icons/Alarm_fill.d.ts +1 -1
  317. package/dist/icons/src/icons/Calendar.d.ts +1 -1
  318. package/dist/icons/src/icons/Cancel.d.ts +1 -1
  319. package/dist/icons/src/icons/Cancel_circle.d.ts +1 -1
  320. package/dist/icons/src/icons/Cart_fill.d.ts +1 -1
  321. package/dist/icons/src/icons/Check.d.ts +1 -1
  322. package/dist/icons/src/icons/Chevron_down.d.ts +1 -1
  323. package/dist/icons/src/icons/Chevron_left.d.ts +1 -1
  324. package/dist/icons/src/icons/Chevron_right.d.ts +1 -1
  325. package/dist/icons/src/icons/Chevron_up.d.ts +1 -1
  326. package/dist/icons/src/icons/Double_Chevron_left.d.ts +1 -1
  327. package/dist/icons/src/icons/Double_Chevron_right.d.ts +1 -1
  328. package/dist/icons/src/icons/Eye_fill.d.ts +1 -1
  329. package/dist/icons/src/icons/Eye_slash_fill.d.ts +1 -1
  330. package/dist/icons/src/icons/Filter.d.ts +1 -1
  331. package/dist/icons/src/icons/Information.d.ts +1 -1
  332. package/dist/icons/src/icons/Menu.d.ts +1 -1
  333. package/dist/icons/src/icons/More.d.ts +1 -1
  334. package/dist/icons/src/icons/Person_fill.d.ts +1 -1
  335. package/dist/icons/src/icons/Plus.d.ts +1 -1
  336. package/dist/icons/src/icons/Question_circle.d.ts +1 -1
  337. package/dist/icons/src/icons/Re.d.ts +1 -1
  338. package/dist/icons/src/icons/Search.d.ts +1 -1
  339. package/dist/icons/src/icons/Setting_fill.d.ts +1 -1
  340. package/dist/icons/src/icons/Share.d.ts +1 -1
  341. package/dist/icons/src/icons/Store.d.ts +1 -1
  342. package/dist/icons/src/icons/index.cjs.js +1 -1
  343. package/dist/icons/src/icons/index.d.ts +14 -14
  344. package/dist/icons/src/icons/index.es.js +40 -40
  345. package/dist/index.cjs.js +1 -1
  346. package/dist/index.es.js +376 -354
  347. package/dist/lib/utils.cjs.js +1 -1
  348. package/dist/lib/utils.es.js +2729 -2
  349. package/dist/library/BasicForm/index.cjs.js +1 -1
  350. package/dist/library/BasicForm/index.es.js +11 -11
  351. package/dist/library/BasicLayout/Body.cjs.js +1 -1
  352. package/dist/library/BasicLayout/Body.es.js +7 -7
  353. package/dist/library/BasicLayout/Footer.cjs.js +1 -1
  354. package/dist/library/BasicLayout/Footer.d.ts +2 -2
  355. package/dist/library/BasicLayout/Footer.es.js +83 -82
  356. package/dist/library/BasicLayout/index.cjs.js +1 -1
  357. package/dist/library/BasicLayout/index.d.ts +21 -21
  358. package/dist/library/BasicLayout/index.es.js +55 -57
  359. package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
  360. package/dist/library/BasicLayout/index.styled.d.ts +21 -21
  361. package/dist/library/BasicLayout/index.styled.es.js +48 -50
  362. package/dist/library/Flex/index.styled.d.ts +3 -3
  363. package/dist/library/IconWithImage/index.cjs.js +1 -1
  364. package/dist/library/IconWithImage/index.es.js +4 -4
  365. package/dist/library/IconWithImage/index.styled.d.ts +1 -1
  366. package/dist/library/List/BottomSheetItemList/index.cjs.js +1 -1
  367. package/dist/library/List/BottomSheetItemList/index.es.js +5 -5
  368. package/dist/library/List/BottomSheetItemList/index.styled.d.ts +1 -1
  369. package/dist/library/Lottie/index.cjs.js +1 -1
  370. package/dist/library/Lottie/index.es.js +55 -55
  371. package/dist/library/Lottie/index.styled.d.ts +3 -3
  372. package/dist/library/Spacing/index.cjs.js +1 -1
  373. package/dist/library/Spacing/index.es.js +3 -3
  374. package/dist/library/Spacing/index.styled.d.ts +2 -2
  375. package/dist/utils/GenerateColorStyle/chip.cjs.js +1 -1
  376. package/dist/utils/GenerateColorStyle/chip.es.js +2 -2
  377. package/dist/utils/GenerateColorStyle/index.cjs.js +1 -1
  378. package/dist/utils/GenerateColorStyle/index.es.js +8 -8
  379. package/dist/utils/GenerateColorStyle/tab/fill-tabs.cjs.js +1 -1
  380. package/dist/utils/GenerateColorStyle/tab/fill-tabs.es.js +20 -22
  381. package/dist/utils/GenerateColorStyle/tab/text-tabs.cjs.js +1 -1
  382. package/dist/utils/GenerateColorStyle/tab/text-tabs.es.js +20 -22
  383. package/dist/utils/index.cjs.js +1 -1
  384. package/dist/utils/index.es.js +8 -8
  385. package/package.json +13 -8
  386. package/dist/Icon/utils/svgr-cli.template.d.ts +0 -7
  387. package/dist/chunks/index.B7ToLlZV.js +0 -1242
  388. package/dist/chunks/index.BUYroSWi.js +0 -1
  389. package/dist/chunks/index.CycwZAWT.js +0 -67
  390. package/dist/chunks/index.D2Ren1qk.js +0 -45
  391. package/dist/chunks/index.DnJQUgiG.js +0 -1
  392. package/dist/chunks/index.styled.D12n8i_w.js +0 -398
  393. package/dist/chunks/utils.B9KdtH6G.js +0 -2493
  394. package/dist/chunks/utils.Gb5_Gcy7.js +0 -1
  395. package/dist/components/Control/CheckBox/CheckIcon.cjs.js +0 -1
  396. package/dist/components/Control/CheckBox/CheckIcon.d.ts +0 -6
  397. package/dist/components/Control/CheckBox/CheckIcon.es.js +0 -26
  398. package/dist/components/Control/CheckBox/index.cjs.js +0 -1
  399. package/dist/components/Control/CheckBox/index.d.ts +0 -12
  400. package/dist/components/Control/CheckBox/index.es.js +0 -97
  401. package/dist/components/Control/CheckBox/index.styled.cjs.js +0 -24
  402. package/dist/components/Control/CheckBox/index.styled.d.ts +0 -18
  403. package/dist/components/Control/CheckBox/index.styled.es.js +0 -30
  404. package/dist/components/Modal/BaseModal/index.cjs.js +0 -1
  405. package/dist/components/Modal/BaseModal/index.es.js +0 -8
  406. package/dist/components/Modal/BaseModal/index.styled.d.ts +0 -6
  407. package/dist/components/Modal/index.styled.cjs.js +0 -35
  408. package/dist/components/Modal/index.styled.d.ts +0 -26
  409. package/dist/components/Modal/index.styled.es.js +0 -47
  410. package/dist/components/ToastMessage/BaseToastMessage/index.cjs.js +0 -1
  411. package/dist/components/ToastMessage/BaseToastMessage/index.d.ts +0 -13
  412. package/dist/components/ToastMessage/BaseToastMessage/index.es.js +0 -25
  413. package/dist/components/ToastMessage/BaseToastMessage/index.styled.cjs.js +0 -1
  414. package/dist/components/ToastMessage/BaseToastMessage/index.styled.d.ts +0 -10
  415. package/dist/components/ToastMessage/BaseToastMessage/index.styled.es.js +0 -81
  416. package/dist/components/ToastMessage/Toast/index.cjs.js +0 -1
  417. package/dist/components/ToastMessage/Toast/index.d.ts +0 -13
  418. package/dist/components/ToastMessage/Toast/index.es.js +0 -32
  419. package/dist/components/ToastMessage/Toast/index.styled.cjs.js +0 -13
  420. package/dist/components/ToastMessage/Toast/index.styled.d.ts +0 -8
  421. package/dist/components/ToastMessage/Toast/index.styled.es.js +0 -18
  422. package/dist/components/ToastMessage/index.cjs.js +0 -1
  423. package/dist/components/ToastMessage/index.d.ts +0 -1
  424. package/dist/components/ToastMessage/index.es.js +0 -4
  425. package/dist/components/Tooltip/BasicTooltip/index.cjs.js +0 -1
  426. package/dist/components/Tooltip/BasicTooltip/index.d.ts +0 -5
  427. package/dist/components/Tooltip/BasicTooltip/index.es.js +0 -6
  428. package/dist/components/Tooltip/ImpactTooltip/index.cjs.js +0 -1
  429. package/dist/components/Tooltip/ImpactTooltip/index.d.ts +0 -7
  430. package/dist/components/Tooltip/ImpactTooltip/index.es.js +0 -23
  431. package/dist/components/Tooltip/TooltipBase/index.cjs.js +0 -8
  432. package/dist/components/Tooltip/TooltipBase/index.d.ts +0 -18
  433. package/dist/components/Tooltip/TooltipBase/index.es.js +0 -146
  434. package/dist/components/Tooltip/TooltipBase/index.styled.cjs.js +0 -107
  435. package/dist/components/Tooltip/TooltipBase/index.styled.d.ts +0 -22
  436. package/dist/components/Tooltip/TooltipBase/index.styled.es.js +0 -2006
  437. package/dist/components/Tooltip/index.cjs.js +0 -1
  438. package/dist/components/Tooltip/index.d.ts +0 -6
  439. package/dist/components/Tooltip/index.es.js +0 -6
  440. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.d.ts +0 -0
  441. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.cjs.js +0 -0
  442. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.es.js +0 -0
@@ -1,14 +1,14 @@
1
- import { jsx as j, jsxs as he } from "react/jsx-runtime";
2
- import { O as ge, a as ve, b as ye, C as be, T as Se, D as Te, R as De, P as Re } from "../../chunks/index.B7ToLlZV.js";
3
- import * as Ee from "react";
4
- import r, { useMemo as xe, useLayoutEffect as Oe, useEffect as Ce } from "react";
5
- import { c as at } from "../../chunks/utils.B9KdtH6G.js";
6
- function $e(t) {
1
+ import { j as z } from "../../chunks/jsx-runtime.OVHDjVDe.js";
2
+ import { O as he, a as ge, b as ve, C as ye, T as be, D as Se, R as Te, P as Re } from "../../chunks/index.CIq9yakG.js";
3
+ import * as De from "react";
4
+ import r, { useMemo as Ee, useLayoutEffect as xe, useEffect as Oe } from "react";
5
+ import { cn as ot } from "../../lib/utils.es.js";
6
+ function Ce(t) {
7
7
  if (typeof document > "u") return;
8
8
  let n = document.head || document.getElementsByTagName("head")[0], e = document.createElement("style");
9
9
  e.type = "text/css", n.appendChild(e), e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
10
10
  }
11
- const jt = r.createContext({
11
+ const Vt = r.createContext({
12
12
  drawerRef: {
13
13
  current: null
14
14
  },
@@ -55,57 +55,57 @@ const jt = r.createContext({
55
55
  noBodyStyles: !1,
56
56
  container: null,
57
57
  autoFocus: !1
58
- }), ft = () => {
59
- const t = r.useContext(jt);
58
+ }), mt = () => {
59
+ const t = r.useContext(Vt);
60
60
  if (!t)
61
61
  throw new Error("useDrawerContext must be used within a Drawer.Root");
62
62
  return t;
63
63
  };
64
- $e(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
64
+ Ce(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
65
65
  [data-state=closed]
66
66
  ){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);
67
- function Ae() {
67
+ function $e() {
68
68
  const t = navigator.userAgent;
69
69
  return typeof window < "u" && (/Firefox/.test(t) && /Mobile/.test(t) || // Android Firefox
70
70
  /FxiOS/.test(t));
71
71
  }
72
- function Me() {
72
+ function Ae() {
73
73
  return At(/^Mac/);
74
74
  }
75
- function Pe() {
75
+ function Me() {
76
76
  return At(/^iPhone/);
77
77
  }
78
78
  function Ft() {
79
79
  return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
80
80
  }
81
- function Ie() {
81
+ function Pe() {
82
82
  return At(/^iPad/) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
83
- Me() && navigator.maxTouchPoints > 1;
83
+ Ae() && navigator.maxTouchPoints > 1;
84
84
  }
85
85
  function Yt() {
86
- return Pe() || Ie();
86
+ return Me() || Pe();
87
87
  }
88
88
  function At(t) {
89
89
  return typeof window < "u" && window.navigator != null ? t.test(window.navigator.platform) : void 0;
90
90
  }
91
- const Ne = 24, _e = typeof window < "u" ? Oe : Ce;
92
- function Wt(...t) {
91
+ const Ie = 24, Ne = typeof window < "u" ? xe : Oe;
92
+ function jt(...t) {
93
93
  return (...n) => {
94
94
  for (let e of t)
95
95
  typeof e == "function" && e(...n);
96
96
  };
97
97
  }
98
- const Rt = typeof document < "u" && window.visualViewport;
99
- function zt(t) {
98
+ const Dt = typeof document < "u" && window.visualViewport;
99
+ function Wt(t) {
100
100
  let n = window.getComputedStyle(t);
101
101
  return /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
102
102
  }
103
103
  function qt(t) {
104
- for (zt(t) && (t = t.parentElement); t && !zt(t); )
104
+ for (Wt(t) && (t = t.parentElement); t && !Wt(t); )
105
105
  t = t.parentElement;
106
106
  return t || document.scrollingElement || document.documentElement;
107
107
  }
108
- const He = /* @__PURE__ */ new Set([
108
+ const _e = /* @__PURE__ */ new Set([
109
109
  "checkbox",
110
110
  "radio",
111
111
  "range",
@@ -116,19 +116,19 @@ const He = /* @__PURE__ */ new Set([
116
116
  "submit",
117
117
  "reset"
118
118
  ]);
119
- let ht = 0, Et;
120
- function Le(t = {}) {
119
+ let gt = 0, Et;
120
+ function He(t = {}) {
121
121
  let { isDisabled: n } = t;
122
- _e(() => {
122
+ Ne(() => {
123
123
  if (!n)
124
- return ht++, ht === 1 && Yt() && (Et = ke()), () => {
125
- ht--, ht === 0 && (Et == null || Et());
124
+ return gt++, gt === 1 && Yt() && (Et = Le()), () => {
125
+ gt--, gt === 0 && (Et == null || Et());
126
126
  };
127
127
  }, [
128
128
  n
129
129
  ]);
130
130
  }
131
- function ke() {
131
+ function Le() {
132
132
  let t, n = 0, e = (f) => {
133
133
  t = qt(f.target), !(t === document.documentElement && t === document.body) && (n = f.changedTouches[0].pageY);
134
134
  }, o = (f) => {
@@ -146,64 +146,64 @@ function ke() {
146
146
  }, a = (f) => {
147
147
  let m = f.target;
148
148
  Ct(m) && (m.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
149
- m.style.transform = "", Rt && (Rt.height < window.innerHeight ? requestAnimationFrame(() => {
150
- Vt(m);
151
- }) : Rt.addEventListener("resize", () => Vt(m), {
149
+ m.style.transform = "", Dt && (Dt.height < window.innerHeight ? requestAnimationFrame(() => {
150
+ zt(m);
151
+ }) : Dt.addEventListener("resize", () => zt(m), {
152
152
  once: !0
153
153
  }));
154
154
  }));
155
155
  }, v = () => {
156
156
  window.scrollTo(0, 0);
157
- }, p = window.pageXOffset, T = window.pageYOffset, R = Wt(Be(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
157
+ }, p = window.pageXOffset, T = window.pageYOffset, D = jt(ke(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
158
158
  window.scrollTo(0, 0);
159
- let h = Wt(ct(document, "touchstart", e, {
159
+ let h = jt(dt(document, "touchstart", e, {
160
160
  passive: !1,
161
161
  capture: !0
162
- }), ct(document, "touchmove", o, {
162
+ }), dt(document, "touchmove", o, {
163
163
  passive: !1,
164
164
  capture: !0
165
- }), ct(document, "touchend", i, {
165
+ }), dt(document, "touchend", i, {
166
166
  passive: !1,
167
167
  capture: !0
168
- }), ct(document, "focus", a, !0), ct(window, "scroll", v));
168
+ }), dt(document, "focus", a, !0), dt(window, "scroll", v));
169
169
  return () => {
170
- R(), h(), window.scrollTo(p, T);
170
+ D(), h(), window.scrollTo(p, T);
171
171
  };
172
172
  }
173
- function Be(t, n, e) {
173
+ function ke(t, n, e) {
174
174
  let o = t.style[n];
175
175
  return t.style[n] = e, () => {
176
176
  t.style[n] = o;
177
177
  };
178
178
  }
179
- function ct(t, n, e, o) {
179
+ function dt(t, n, e, o) {
180
180
  return t.addEventListener(n, e, o), () => {
181
181
  t.removeEventListener(n, e, o);
182
182
  };
183
183
  }
184
- function Vt(t) {
184
+ function zt(t) {
185
185
  let n = document.scrollingElement || document.documentElement;
186
186
  for (; t && t !== n; ) {
187
187
  let e = qt(t);
188
188
  if (e !== document.documentElement && e !== document.body && e !== t) {
189
189
  let o = e.getBoundingClientRect().top, i = t.getBoundingClientRect().top, a = t.getBoundingClientRect().bottom;
190
- const v = e.getBoundingClientRect().bottom + Ne;
190
+ const v = e.getBoundingClientRect().bottom + Ie;
191
191
  a > v && (e.scrollTop += i - o);
192
192
  }
193
193
  t = e.parentElement;
194
194
  }
195
195
  }
196
196
  function Ct(t) {
197
- return t instanceof HTMLInputElement && !He.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
197
+ return t instanceof HTMLInputElement && !_e.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
198
198
  }
199
- function Ue(t, n) {
199
+ function Be(t, n) {
200
200
  typeof t == "function" ? t(n) : t != null && (t.current = n);
201
201
  }
202
- function Fe(...t) {
203
- return (n) => t.forEach((e) => Ue(e, n));
202
+ function Ue(...t) {
203
+ return (n) => t.forEach((e) => Be(e, n));
204
204
  }
205
205
  function Xt(...t) {
206
- return Ee.useCallback(Fe(...t), t);
206
+ return De.useCallback(Ue(...t), t);
207
207
  }
208
208
  const Kt = /* @__PURE__ */ new WeakMap();
209
209
  function $(t, n, e = !1) {
@@ -217,7 +217,7 @@ function $(t, n, e = !1) {
217
217
  o[i] = t.style[i], t.style[i] = a;
218
218
  }), !e && Kt.set(t, o);
219
219
  }
220
- function We(t, n) {
220
+ function Fe(t, n) {
221
221
  if (!t || !(t instanceof HTMLElement)) return;
222
222
  let e = Kt.get(t);
223
223
  e && (t.style[n] = e[n]);
@@ -234,7 +234,7 @@ const C = (t) => {
234
234
  return t;
235
235
  }
236
236
  };
237
- function gt(t, n) {
237
+ function vt(t, n) {
238
238
  if (!t)
239
239
  return null;
240
240
  const e = window.getComputedStyle(t), o = (
@@ -244,7 +244,7 @@ function gt(t, n) {
244
244
  let i = o.match(/^matrix3d\((.+)\)$/);
245
245
  return i ? parseFloat(i[1].split(", ")[C(n) ? 13 : 12]) : (i = o.match(/^matrix\((.+)\)$/), i ? parseFloat(i[1].split(", ")[C(n) ? 5 : 4]) : null);
246
246
  }
247
- function ze(t) {
247
+ function je(t) {
248
248
  return 8 * (Math.log(t + 1) - 2);
249
249
  }
250
250
  function xt(t, n) {
@@ -255,7 +255,7 @@ function xt(t, n) {
255
255
  t.style.cssText = e;
256
256
  };
257
257
  }
258
- function Ve(...t) {
258
+ function We(...t) {
259
259
  return (...n) => {
260
260
  for (const e of t)
261
261
  typeof e == "function" && e(...n);
@@ -269,14 +269,14 @@ const x = {
269
269
  0,
270
270
  1
271
271
  ]
272
- }, Gt = 0.4, je = 0.25, Ye = 100, Jt = 8, vt = 16, $t = 26, Ot = "vaul-dragging";
272
+ }, Gt = 0.4, ze = 0.25, Ve = 100, Jt = 8, et = 16, $t = 26, Ot = "vaul-dragging";
273
273
  function Qt(t) {
274
274
  const n = r.useRef(t);
275
275
  return r.useEffect(() => {
276
276
  n.current = t;
277
277
  }), r.useMemo(() => (...e) => n.current == null ? void 0 : n.current.call(n, ...e), []);
278
278
  }
279
- function qe({ defaultProp: t, onChange: n }) {
279
+ function Ye({ defaultProp: t, onChange: n }) {
280
280
  const e = r.useState(t), [o] = e, i = r.useRef(o), a = Qt(n);
281
281
  return r.useEffect(() => {
282
282
  i.current !== o && (a(o), i.current = o);
@@ -288,15 +288,15 @@ function qe({ defaultProp: t, onChange: n }) {
288
288
  }
289
289
  function Zt({ prop: t, defaultProp: n, onChange: e = () => {
290
290
  } }) {
291
- const [o, i] = qe({
291
+ const [o, i] = Ye({
292
292
  defaultProp: n,
293
293
  onChange: e
294
- }), a = t !== void 0, v = a ? t : o, p = Qt(e), T = r.useCallback((R) => {
294
+ }), a = t !== void 0, v = a ? t : o, p = Qt(e), T = r.useCallback((D) => {
295
295
  if (a) {
296
- const f = typeof R == "function" ? R(t) : R;
296
+ const f = typeof D == "function" ? D(t) : D;
297
297
  f !== t && p(f);
298
298
  } else
299
- i(R);
299
+ i(D);
300
300
  }, [
301
301
  a,
302
302
  t,
@@ -308,7 +308,7 @@ function Zt({ prop: t, defaultProp: n, onChange: e = () => {
308
308
  T
309
309
  ];
310
310
  }
311
- function Xe({ activeSnapPointProp: t, setActiveSnapPointProp: n, snapPoints: e, drawerRef: o, overlayRef: i, fadeFromIndex: a, onSnapPointChange: v, direction: p = "bottom", container: T, snapToSequentialPoint: R }) {
311
+ function qe({ activeSnapPointProp: t, setActiveSnapPointProp: n, snapPoints: e, drawerRef: o, overlayRef: i, fadeFromIndex: a, onSnapPointChange: v, direction: p = "bottom", container: T, snapToSequentialPoint: D }) {
312
312
  const [h, f] = Zt({
313
313
  prop: t,
314
314
  defaultProp: e == null ? void 0 : e[0],
@@ -354,8 +354,8 @@ function Xe({ activeSnapPointProp: t, setActiveSnapPointProp: n, snapPoints: e,
354
354
  const s = N ? P : m ? y * u.height : 0;
355
355
  return m ? p === "bottom" ? u.height - s : -u.height + s : s;
356
356
  }
357
- const W = N ? P : m ? y * u.width : 0;
358
- return m ? p === "right" ? u.width - W : -u.width + W : W;
357
+ const j = N ? P : m ? y * u.width : 0;
358
+ return m ? p === "right" ? u.width - j : -u.width + j : j;
359
359
  })) != null ? b : [];
360
360
  }, [
361
361
  e,
@@ -400,19 +400,19 @@ function Xe({ activeSnapPointProp: t, setActiveSnapPointProp: n, snapPoints: e,
400
400
  ]);
401
401
  function c({ draggedDistance: u, closeDrawer: b, velocity: y, dismissible: N }) {
402
402
  if (a === void 0) return;
403
- const P = p === "bottom" || p === "right" ? (M ?? 0) - u : (M ?? 0) + u, W = E === a - 1, s = E === 0, F = u > 0;
404
- if (W && $(i.current, {
403
+ const P = p === "bottom" || p === "right" ? (M ?? 0) - u : (M ?? 0) + u, j = E === a - 1, s = E === 0, F = u > 0;
404
+ if (j && $(i.current, {
405
405
  transition: `opacity ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`
406
- }), !R && y > 2 && !F) {
406
+ }), !D && y > 2 && !F) {
407
407
  N ? b() : A(w[0]);
408
408
  return;
409
409
  }
410
- if (!R && y > 2 && F && w && e) {
410
+ if (!D && y > 2 && F && w && e) {
411
411
  A(w[e.length - 1]);
412
412
  return;
413
413
  }
414
- const _ = w == null ? void 0 : w.reduce((I, X) => typeof I != "number" || typeof X != "number" ? I : Math.abs(X - P) < Math.abs(I - P) ? X : I), z = C(p) ? window.innerHeight : window.innerWidth;
415
- if (y > Gt && Math.abs(u) < z * 0.4) {
414
+ const _ = w == null ? void 0 : w.reduce((I, X) => typeof I != "number" || typeof X != "number" ? I : Math.abs(X - P) < Math.abs(I - P) ? X : I), W = C(p) ? window.innerHeight : window.innerWidth;
415
+ if (y > Gt && Math.abs(u) < W * 0.4) {
416
416
  const I = F ? 1 : -1;
417
417
  if (I > 0 && L && e) {
418
418
  A(w[e.length - 1]);
@@ -438,7 +438,7 @@ function Xe({ activeSnapPointProp: t, setActiveSnapPointProp: n, snapPoints: e,
438
438
  return 0;
439
439
  if (y && !b) return 1;
440
440
  if (!U && !y) return null;
441
- const P = y ? E + 1 : E - 1, W = y ? w[P] - w[P - 1] : w[P + 1] - w[P], s = u / Math.abs(W);
441
+ const P = y ? E + 1 : E - 1, j = y ? w[P] - w[P - 1] : w[P + 1] - w[P], s = u / Math.abs(j);
442
442
  return y ? 1 - s : s;
443
443
  }
444
444
  return {
@@ -453,10 +453,10 @@ function Xe({ activeSnapPointProp: t, setActiveSnapPointProp: n, snapPoints: e,
453
453
  snapPointsOffset: w
454
454
  };
455
455
  }
456
- const Ke = () => () => {
456
+ const Xe = () => () => {
457
457
  };
458
- function Ge() {
459
- const { direction: t, isOpen: n, shouldScaleBackground: e, setBackgroundColorOnScale: o, noBodyStyles: i } = ft(), a = r.useRef(null), v = xe(() => document.body.style.backgroundColor, []);
458
+ function Ke() {
459
+ const { direction: t, isOpen: n, shouldScaleBackground: e, setBackgroundColorOnScale: o, noBodyStyles: i } = mt(), a = r.useRef(null), v = Ee(() => document.body.style.backgroundColor, []);
460
460
  function p() {
461
461
  return (window.innerWidth - $t) / window.innerWidth;
462
462
  }
@@ -465,15 +465,15 @@ function Ge() {
465
465
  a.current && clearTimeout(a.current);
466
466
  const T = document.querySelector("[data-vaul-drawer-wrapper]") || document.querySelector("[vaul-drawer-wrapper]");
467
467
  if (!T) return;
468
- Ve(o && !i ? xt(document.body, {
468
+ We(o && !i ? xt(document.body, {
469
469
  background: "black"
470
- }) : Ke, xt(T, {
470
+ }) : Xe, xt(T, {
471
471
  transformOrigin: C(t) ? "top" : "left",
472
472
  transitionProperty: "transform, border-radius",
473
473
  transitionDuration: `${x.DURATION}s`,
474
474
  transitionTimingFunction: `cubic-bezier(${x.EASE.join(",")})`
475
475
  }));
476
- const R = xt(T, {
476
+ const D = xt(T, {
477
477
  borderRadius: `${Jt}px`,
478
478
  overflow: "hidden",
479
479
  ...C(t) ? {
@@ -483,7 +483,7 @@ function Ge() {
483
483
  }
484
484
  });
485
485
  return () => {
486
- R(), a.current = window.setTimeout(() => {
486
+ D(), a.current = window.setTimeout(() => {
487
487
  v ? document.body.style.background = v : document.body.style.removeProperty("background");
488
488
  }, x.DURATION * 1e3);
489
489
  };
@@ -494,11 +494,11 @@ function Ge() {
494
494
  v
495
495
  ]);
496
496
  }
497
- let dt = null;
498
- function Je({ isOpen: t, modal: n, nested: e, hasBeenOpened: o, preventScrollRestoration: i, noBodyStyles: a }) {
499
- const [v, p] = r.useState(() => typeof window < "u" ? window.location.href : ""), T = r.useRef(0), R = r.useCallback(() => {
500
- if (Ft() && dt === null && t && !a) {
501
- dt = {
497
+ let ft = null;
498
+ function Ge({ isOpen: t, modal: n, nested: e, hasBeenOpened: o, preventScrollRestoration: i, noBodyStyles: a }) {
499
+ const [v, p] = r.useState(() => typeof window < "u" ? window.location.href : ""), T = r.useRef(0), D = r.useCallback(() => {
500
+ if (Ft() && ft === null && t && !a) {
501
+ ft = {
502
502
  position: document.body.style.position,
503
503
  top: document.body.style.top,
504
504
  left: document.body.style.left,
@@ -519,15 +519,15 @@ function Je({ isOpen: t, modal: n, nested: e, hasBeenOpened: o, preventScrollRes
519
519
  }, [
520
520
  t
521
521
  ]), h = r.useCallback(() => {
522
- if (Ft() && dt !== null && !a) {
522
+ if (Ft() && ft !== null && !a) {
523
523
  const f = -parseInt(document.body.style.top, 10), m = -parseInt(document.body.style.left, 10);
524
- Object.assign(document.body.style, dt), window.requestAnimationFrame(() => {
524
+ Object.assign(document.body.style, ft), window.requestAnimationFrame(() => {
525
525
  if (i && v !== window.location.href) {
526
526
  p(window.location.href);
527
527
  return;
528
528
  }
529
529
  window.scrollTo(m, f);
530
- }), dt = null;
530
+ }), ft = null;
531
531
  }
532
532
  }, [
533
533
  v
@@ -548,7 +548,7 @@ function Je({ isOpen: t, modal: n, nested: e, hasBeenOpened: o, preventScrollRes
548
548
  n,
549
549
  h
550
550
  ]), r.useEffect(() => {
551
- e || !o || (t ? (!window.matchMedia("(display-mode: standalone)").matches && R(), n || window.setTimeout(() => {
551
+ e || !o || (t ? (!window.matchMedia("(display-mode: standalone)").matches && D(), n || window.setTimeout(() => {
552
552
  h();
553
553
  }, 500)) : h());
554
554
  }, [
@@ -557,15 +557,15 @@ function Je({ isOpen: t, modal: n, nested: e, hasBeenOpened: o, preventScrollRes
557
557
  v,
558
558
  n,
559
559
  e,
560
- R,
560
+ D,
561
561
  h
562
562
  ]), {
563
563
  restorePositionSetting: h
564
564
  };
565
565
  }
566
- function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, snapPoints: a, shouldScaleBackground: v = !1, setBackgroundColorOnScale: p = !0, closeThreshold: T = je, scrollLockTimeout: R = Ye, dismissible: h = !0, handleOnly: f = !1, fadeFromIndex: m = a && a.length - 1, activeSnapPoint: B, setActiveSnapPoint: L, fixed: E, modal: U = !0, onClose: w, nested: M, noBodyStyles: A = !1, direction: c = "bottom", defaultOpen: Y = !1, disablePreventScroll: Z = !0, snapToSequentialPoint: u = !1, preventScrollRestoration: b = !1, repositionInputs: y = !0, onAnimationEnd: N, container: P, autoFocus: W = !1 }) {
566
+ function Je({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, snapPoints: a, shouldScaleBackground: v = !1, setBackgroundColorOnScale: p = !0, closeThreshold: T = ze, scrollLockTimeout: D = Ve, dismissible: h = !0, handleOnly: f = !1, fadeFromIndex: m = a && a.length - 1, activeSnapPoint: B, setActiveSnapPoint: L, fixed: E, modal: U = !0, onClose: w, nested: M, noBodyStyles: A = !1, direction: c = "bottom", defaultOpen: Y = !1, disablePreventScroll: Z = !0, snapToSequentialPoint: u = !1, preventScrollRestoration: b = !1, repositionInputs: y = !0, onAnimationEnd: N, container: P, autoFocus: j = !1 }) {
567
567
  var s, F;
568
- const [_ = !1, z] = Zt({
568
+ const [_ = !1, W] = Zt({
569
569
  defaultProp: Y,
570
570
  prop: t,
571
571
  onChange: (l) => {
@@ -575,24 +575,24 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
575
575
  document.body.style.pointerEvents = "auto";
576
576
  }), l || (document.body.style.pointerEvents = "auto");
577
577
  }
578
- }), [I, X] = r.useState(!1), [K, ot] = r.useState(!1), [ne, Mt] = r.useState(!1), et = r.useRef(null), mt = r.useRef(null), yt = r.useRef(null), bt = r.useRef(null), it = r.useRef(null), lt = r.useRef(!1), St = r.useRef(null), Tt = r.useRef(0), nt = r.useRef(!1), Pt = r.useRef(!Y), It = r.useRef(0), d = r.useRef(null), Nt = r.useRef(((s = d.current) == null ? void 0 : s.getBoundingClientRect().height) || 0), _t = r.useRef(((F = d.current) == null ? void 0 : F.getBoundingClientRect().width) || 0), Dt = r.useRef(0), re = r.useCallback((l) => {
579
- a && l === st.length - 1 && (mt.current = /* @__PURE__ */ new Date());
580
- }, []), { activeSnapPoint: ae, activeSnapPointIndex: rt, setActiveSnapPoint: Ht, onRelease: oe, snapPointsOffset: st, onDrag: ie, shouldFade: Lt, getPercentageDragged: le } = Xe({
578
+ }), [I, X] = r.useState(!1), [K, it] = r.useState(!1), [ne, Mt] = r.useState(!1), nt = r.useRef(null), wt = r.useRef(null), yt = r.useRef(null), bt = r.useRef(null), lt = r.useRef(null), st = r.useRef(!1), St = r.useRef(null), Tt = r.useRef(0), rt = r.useRef(!1), Pt = r.useRef(!Y), It = r.useRef(0), d = r.useRef(null), Nt = r.useRef(((s = d.current) == null ? void 0 : s.getBoundingClientRect().height) || 0), _t = r.useRef(((F = d.current) == null ? void 0 : F.getBoundingClientRect().width) || 0), Rt = r.useRef(0), re = r.useCallback((l) => {
579
+ a && l === ut.length - 1 && (wt.current = /* @__PURE__ */ new Date());
580
+ }, []), { activeSnapPoint: ae, activeSnapPointIndex: at, setActiveSnapPoint: Ht, onRelease: oe, snapPointsOffset: ut, onDrag: ie, shouldFade: Lt, getPercentageDragged: le } = qe({
581
581
  snapPoints: a,
582
582
  activeSnapPointProp: B,
583
583
  setActiveSnapPointProp: L,
584
584
  drawerRef: d,
585
585
  fadeFromIndex: m,
586
- overlayRef: et,
586
+ overlayRef: nt,
587
587
  onSnapPointChange: re,
588
588
  direction: c,
589
589
  container: P,
590
590
  snapToSequentialPoint: u
591
591
  });
592
- Le({
592
+ He({
593
593
  isDisabled: !_ || K || !U || ne || !I || !y || !Z
594
594
  });
595
- const { restorePositionSetting: se } = Je({
595
+ const { restorePositionSetting: se } = Ge({
596
596
  isOpen: _,
597
597
  modal: U,
598
598
  nested: M ?? !1,
@@ -600,35 +600,35 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
600
600
  preventScrollRestoration: b,
601
601
  noBodyStyles: A
602
602
  });
603
- function wt() {
603
+ function pt() {
604
604
  return (window.innerWidth - $t) / window.innerWidth;
605
605
  }
606
606
  function ue(l) {
607
- var S, D;
608
- !h && !a || d.current && !d.current.contains(l.target) || (Nt.current = ((S = d.current) == null ? void 0 : S.getBoundingClientRect().height) || 0, _t.current = ((D = d.current) == null ? void 0 : D.getBoundingClientRect().width) || 0, ot(!0), yt.current = /* @__PURE__ */ new Date(), Yt() && window.addEventListener("touchend", () => lt.current = !1, {
607
+ var S, R;
608
+ !h && !a || d.current && !d.current.contains(l.target) || (Nt.current = ((S = d.current) == null ? void 0 : S.getBoundingClientRect().height) || 0, _t.current = ((R = d.current) == null ? void 0 : R.getBoundingClientRect().width) || 0, it(!0), yt.current = /* @__PURE__ */ new Date(), Yt() && window.addEventListener("touchend", () => st.current = !1, {
609
609
  once: !0
610
610
  }), l.target.setPointerCapture(l.pointerId), Tt.current = C(c) ? l.pageY : l.pageX);
611
611
  }
612
612
  function kt(l, S) {
613
- var D;
613
+ var R;
614
614
  let g = l;
615
- const O = (D = window.getSelection()) == null ? void 0 : D.toString(), k = d.current ? gt(d.current, c) : null, H = /* @__PURE__ */ new Date();
615
+ const O = (R = window.getSelection()) == null ? void 0 : R.toString(), k = d.current ? vt(d.current, c) : null, H = /* @__PURE__ */ new Date();
616
616
  if (g.tagName === "SELECT" || g.hasAttribute("data-vaul-no-drag") || g.closest("[data-vaul-no-drag]"))
617
617
  return !1;
618
618
  if (c === "right" || c === "left")
619
619
  return !0;
620
- if (mt.current && H.getTime() - mt.current.getTime() < 500)
620
+ if (wt.current && H.getTime() - wt.current.getTime() < 500)
621
621
  return !1;
622
622
  if (k !== null && (c === "bottom" ? k > 0 : k < 0))
623
623
  return !0;
624
624
  if (O && O.length > 0)
625
625
  return !1;
626
- if (it.current && H.getTime() - it.current.getTime() < R && k === 0 || S)
627
- return it.current = H, !1;
626
+ if (lt.current && H.getTime() - lt.current.getTime() < D && k === 0 || S)
627
+ return lt.current = H, !1;
628
628
  for (; g; ) {
629
629
  if (g.scrollHeight > g.clientHeight) {
630
630
  if (g.scrollTop !== 0)
631
- return it.current = /* @__PURE__ */ new Date(), !1;
631
+ return lt.current = /* @__PURE__ */ new Date(), !1;
632
632
  if (g.getAttribute("role") === "dialog")
633
633
  return !0;
634
634
  }
@@ -638,33 +638,33 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
638
638
  }
639
639
  function ce(l) {
640
640
  if (d.current && K) {
641
- const S = c === "bottom" || c === "right" ? 1 : -1, D = (Tt.current - (C(c) ? l.pageY : l.pageX)) * S, g = D > 0, O = a && !h && !g;
642
- if (O && rt === 0) return;
643
- const k = Math.abs(D), H = document.querySelector("[data-vaul-drawer-wrapper]"), G = c === "bottom" || c === "top" ? Nt.current : _t.current;
641
+ const S = c === "bottom" || c === "right" ? 1 : -1, R = (Tt.current - (C(c) ? l.pageY : l.pageX)) * S, g = R > 0, O = a && !h && !g;
642
+ if (O && at === 0) return;
643
+ const k = Math.abs(R), H = document.querySelector("[data-vaul-drawer-wrapper]"), G = c === "bottom" || c === "top" ? Nt.current : _t.current;
644
644
  let V = k / G;
645
645
  const tt = le(k, g);
646
- if (tt !== null && (V = tt), O && V >= 1 || !lt.current && !kt(l.target, g)) return;
647
- if (d.current.classList.add(Ot), lt.current = !0, $(d.current, {
646
+ if (tt !== null && (V = tt), O && V >= 1 || !st.current && !kt(l.target, g)) return;
647
+ if (d.current.classList.add(Ot), st.current = !0, $(d.current, {
648
648
  transition: "none"
649
- }), $(et.current, {
649
+ }), $(nt.current, {
650
650
  transition: "none"
651
651
  }), a && ie({
652
- draggedDistance: D
652
+ draggedDistance: R
653
653
  }), g && !a) {
654
- const q = ze(D), pt = Math.min(q * -1, 0) * S;
654
+ const q = je(R), ht = Math.min(q * -1, 0) * S;
655
655
  $(d.current, {
656
- transform: C(c) ? `translate3d(0, ${pt}px, 0)` : `translate3d(${pt}px, 0, 0)`
656
+ transform: C(c) ? `translate3d(0, ${ht}px, 0)` : `translate3d(${ht}px, 0, 0)`
657
657
  });
658
658
  return;
659
659
  }
660
660
  const J = 1 - V;
661
- if ((Lt || m && rt === m - 1) && (o == null || o(l, V), $(et.current, {
661
+ if ((Lt || m && at === m - 1) && (o == null || o(l, V), $(nt.current, {
662
662
  opacity: `${J}`,
663
663
  transition: "none"
664
- }, !0)), H && et.current && v) {
665
- const q = Math.min(wt() + V * (1 - wt()), 1), pt = 8 - V * 8, Ut = Math.max(0, 14 - V * 14);
664
+ }, !0)), H && nt.current && v) {
665
+ const q = Math.min(pt() + V * (1 - pt()), 1), ht = 8 - V * 8, Ut = Math.max(0, 14 - V * 14);
666
666
  $(H, {
667
- borderRadius: `${pt}px`,
667
+ borderRadius: `${ht}px`,
668
668
  transform: C(c) ? `scale(${q}) translate3d(0, ${Ut}px, 0)` : `scale(${q}) translate3d(${Ut}px, 0, 0)`,
669
669
  transition: "none"
670
670
  }, !0);
@@ -685,57 +685,57 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
685
685
  var l;
686
686
  function S() {
687
687
  if (!d.current || !y) return;
688
- const D = document.activeElement;
689
- if (Ct(D) || nt.current) {
688
+ const R = document.activeElement;
689
+ if (Ct(R) || rt.current) {
690
690
  var g;
691
691
  const O = ((g = window.visualViewport) == null ? void 0 : g.height) || 0, k = window.innerHeight;
692
692
  let H = k - O;
693
693
  const G = d.current.getBoundingClientRect().height || 0, V = G > k * 0.8;
694
- Dt.current || (Dt.current = G);
694
+ Rt.current || (Rt.current = G);
695
695
  const tt = d.current.getBoundingClientRect().top;
696
- if (Math.abs(It.current - H) > 60 && (nt.current = !nt.current), a && a.length > 0 && st && rt) {
697
- const J = st[rt] || 0;
696
+ if (Math.abs(It.current - H) > 60 && (rt.current = !rt.current), a && a.length > 0 && ut && at) {
697
+ const J = ut[at] || 0;
698
698
  H += J;
699
699
  }
700
- if (It.current = H, G > O || nt.current) {
700
+ if (It.current = H, G > O || rt.current) {
701
701
  const J = d.current.getBoundingClientRect().height;
702
702
  let q = J;
703
703
  J > O && (q = O - (V ? tt : $t)), E ? d.current.style.height = `${J - Math.max(H, 0)}px` : d.current.style.height = `${Math.max(q, O - tt)}px`;
704
- } else Ae() || (d.current.style.height = `${Dt.current}px`);
705
- a && a.length > 0 && !nt.current ? d.current.style.bottom = "0px" : d.current.style.bottom = `${Math.max(H, 0)}px`;
704
+ } else $e() || (d.current.style.height = `${Rt.current}px`);
705
+ a && a.length > 0 && !rt.current ? d.current.style.bottom = "0px" : d.current.style.bottom = `${Math.max(H, 0)}px`;
706
706
  }
707
707
  }
708
708
  return (l = window.visualViewport) == null || l.addEventListener("resize", S), () => {
709
- var D;
710
- return (D = window.visualViewport) == null ? void 0 : D.removeEventListener("resize", S);
709
+ var R;
710
+ return (R = window.visualViewport) == null ? void 0 : R.removeEventListener("resize", S);
711
711
  };
712
712
  }, [
713
- rt,
713
+ at,
714
714
  a,
715
- st
715
+ ut
716
716
  ]);
717
- function ut(l) {
718
- de(), w == null || w(), l || z(!1), setTimeout(() => {
717
+ function ct(l) {
718
+ de(), w == null || w(), l || W(!1), setTimeout(() => {
719
719
  a && Ht(a[0]);
720
720
  }, x.DURATION * 1e3);
721
721
  }
722
722
  function Bt() {
723
723
  if (!d.current) return;
724
- const l = document.querySelector("[data-vaul-drawer-wrapper]"), S = gt(d.current, c);
724
+ const l = document.querySelector("[data-vaul-drawer-wrapper]"), S = vt(d.current, c);
725
725
  $(d.current, {
726
726
  transform: "translate3d(0, 0, 0)",
727
727
  transition: `transform ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`
728
- }), $(et.current, {
728
+ }), $(nt.current, {
729
729
  transition: `opacity ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`,
730
730
  opacity: "1"
731
731
  }), v && S && S > 0 && _ && $(l, {
732
732
  borderRadius: `${Jt}px`,
733
733
  overflow: "hidden",
734
734
  ...C(c) ? {
735
- transform: `scale(${wt()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
735
+ transform: `scale(${pt()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
736
736
  transformOrigin: "top"
737
737
  } : {
738
- transform: `scale(${wt()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,
738
+ transform: `scale(${pt()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,
739
739
  transformOrigin: "left"
740
740
  },
741
741
  transitionProperty: "transform, border-radius",
@@ -744,20 +744,20 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
744
744
  }, !0);
745
745
  }
746
746
  function de() {
747
- !K || !d.current || (d.current.classList.remove(Ot), lt.current = !1, ot(!1), bt.current = /* @__PURE__ */ new Date());
747
+ !K || !d.current || (d.current.classList.remove(Ot), st.current = !1, it(!1), bt.current = /* @__PURE__ */ new Date());
748
748
  }
749
749
  function fe(l) {
750
750
  if (!K || !d.current) return;
751
- d.current.classList.remove(Ot), lt.current = !1, ot(!1), bt.current = /* @__PURE__ */ new Date();
752
- const S = gt(d.current, c);
751
+ d.current.classList.remove(Ot), st.current = !1, it(!1), bt.current = /* @__PURE__ */ new Date();
752
+ const S = vt(d.current, c);
753
753
  if (!l || !kt(l.target, !1) || !S || Number.isNaN(S) || yt.current === null) return;
754
- const D = bt.current.getTime() - yt.current.getTime(), g = Tt.current - (C(c) ? l.pageY : l.pageX), O = Math.abs(g) / D;
754
+ const R = bt.current.getTime() - yt.current.getTime(), g = Tt.current - (C(c) ? l.pageY : l.pageX), O = Math.abs(g) / R;
755
755
  if (O > 0.05 && (Mt(!0), setTimeout(() => {
756
756
  Mt(!1);
757
757
  }, 200)), a) {
758
758
  oe({
759
759
  draggedDistance: g * (c === "bottom" || c === "right" ? 1 : -1),
760
- closeDrawer: ut,
760
+ closeDrawer: ct,
761
761
  velocity: O,
762
762
  dismissible: h
763
763
  }), i == null || i(l, !0);
@@ -768,7 +768,7 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
768
768
  return;
769
769
  }
770
770
  if (O > Gt) {
771
- ut(), i == null || i(l, !1);
771
+ ct(), i == null || i(l, !1);
772
772
  return;
773
773
  }
774
774
  var k;
@@ -776,25 +776,25 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
776
776
  var G;
777
777
  const V = Math.min((G = d.current.getBoundingClientRect().width) != null ? G : 0, window.innerWidth), tt = c === "left" || c === "right";
778
778
  if (Math.abs(S) >= (tt ? V : H) * T) {
779
- ut(), i == null || i(l, !1);
779
+ ct(), i == null || i(l, !1);
780
780
  return;
781
781
  }
782
782
  i == null || i(l, !0), Bt();
783
783
  }
784
784
  r.useEffect(() => (_ && ($(document.documentElement, {
785
785
  scrollBehavior: "auto"
786
- }), mt.current = /* @__PURE__ */ new Date()), () => {
787
- We(document.documentElement, "scrollBehavior");
786
+ }), wt.current = /* @__PURE__ */ new Date()), () => {
787
+ Fe(document.documentElement, "scrollBehavior");
788
788
  }), [
789
789
  _
790
790
  ]);
791
791
  function me(l) {
792
- const S = l ? (window.innerWidth - vt) / window.innerWidth : 1, D = l ? -16 : 0;
792
+ const S = l ? (window.innerWidth - et) / window.innerWidth : 1, R = l ? -et : 0;
793
793
  St.current && window.clearTimeout(St.current), $(d.current, {
794
794
  transition: `transform ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`,
795
- transform: C(c) ? `scale(${S}) translate3d(0, ${D}px, 0)` : `scale(${S}) translate3d(${D}px, 0, 0)`
795
+ transform: C(c) ? `scale(${S}) translate3d(0, ${R}px, 0)` : `scale(${S}) translate3d(${R}px, 0, 0)`
796
796
  }), !l && d.current && (St.current = setTimeout(() => {
797
- const g = gt(d.current, c);
797
+ const g = vt(d.current, c);
798
798
  $(d.current, {
799
799
  transition: "none",
800
800
  transform: C(c) ? `translate3d(0, ${g}px, 0)` : `translate3d(${g}px, 0, 0)`
@@ -803,14 +803,14 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
803
803
  }
804
804
  function we(l, S) {
805
805
  if (S < 0) return;
806
- const D = (window.innerWidth - vt) / window.innerWidth, g = D + S * (1 - D), O = -16 + S * vt;
806
+ const R = (window.innerWidth - et) / window.innerWidth, g = R + S * (1 - R), O = -et + S * et;
807
807
  $(d.current, {
808
808
  transform: C(c) ? `scale(${g}) translate3d(0, ${O}px, 0)` : `scale(${g}) translate3d(${O}px, 0, 0)`,
809
809
  transition: "none"
810
810
  });
811
811
  }
812
812
  function pe(l, S) {
813
- const D = C(c) ? window.innerHeight : window.innerWidth, g = S ? (D - vt) / D : 1, O = S ? -16 : 0;
813
+ const R = C(c) ? window.innerHeight : window.innerWidth, g = S ? (R - et) / R : 1, O = S ? -et : 0;
814
814
  S && $(d.current, {
815
815
  transition: `transform ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`,
816
816
  transform: C(c) ? `scale(${g}) translate3d(0, ${O}px, 0)` : `scale(${g}) translate3d(${O}px, 0, 0)`
@@ -822,19 +822,19 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
822
822
  });
823
823
  }, [
824
824
  U
825
- ]), /* @__PURE__ */ r.createElement(De, {
825
+ ]), /* @__PURE__ */ r.createElement(Te, {
826
826
  defaultOpen: Y,
827
827
  onOpenChange: (l) => {
828
- !h && !l || (l ? X(!0) : ut(!0), z(l));
828
+ !h && !l || (l ? X(!0) : ct(!0), W(l));
829
829
  },
830
830
  open: _
831
- }, /* @__PURE__ */ r.createElement(jt.Provider, {
831
+ }, /* @__PURE__ */ r.createElement(Vt.Provider, {
832
832
  value: {
833
833
  activeSnapPoint: ae,
834
834
  snapPoints: a,
835
835
  setActiveSnapPoint: Ht,
836
836
  drawerRef: d,
837
- overlayRef: et,
837
+ overlayRef: nt,
838
838
  onOpenChange: n,
839
839
  onPress: ue,
840
840
  onRelease: fe,
@@ -845,33 +845,33 @@ function Qe({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, sn
845
845
  isOpen: _,
846
846
  isDragging: K,
847
847
  shouldFade: Lt,
848
- closeDrawer: ut,
848
+ closeDrawer: ct,
849
849
  onNestedDrag: we,
850
850
  onNestedOpenChange: me,
851
851
  onNestedRelease: pe,
852
- keyboardIsOpen: nt,
852
+ keyboardIsOpen: rt,
853
853
  modal: U,
854
- snapPointsOffset: st,
855
- activeSnapPointIndex: rt,
854
+ snapPointsOffset: ut,
855
+ activeSnapPointIndex: at,
856
856
  direction: c,
857
857
  shouldScaleBackground: v,
858
858
  setBackgroundColorOnScale: p,
859
859
  noBodyStyles: A,
860
860
  container: P,
861
- autoFocus: W
861
+ autoFocus: j
862
862
  }
863
863
  }, e));
864
864
  }
865
865
  const te = /* @__PURE__ */ r.forwardRef(function({ ...t }, n) {
866
- const { overlayRef: e, snapPoints: o, onRelease: i, shouldFade: a, isOpen: v, modal: p, shouldAnimate: T } = ft(), R = Xt(n, e), h = o && o.length > 0;
866
+ const { overlayRef: e, snapPoints: o, onRelease: i, shouldFade: a, isOpen: v, modal: p, shouldAnimate: T } = mt(), D = Xt(n, e), h = o && o.length > 0;
867
867
  if (!p)
868
868
  return null;
869
869
  const f = r.useCallback((m) => i(m), [
870
870
  i
871
871
  ]);
872
- return /* @__PURE__ */ r.createElement(ge, {
872
+ return /* @__PURE__ */ r.createElement(he, {
873
873
  onMouseUp: f,
874
- ref: R,
874
+ ref: D,
875
875
  "data-vaul-overlay": "",
876
876
  "data-vaul-snap-points": v && h ? "true" : "false",
877
877
  "data-vaul-snap-points-overlay": v && a ? "true" : "false",
@@ -881,18 +881,18 @@ const te = /* @__PURE__ */ r.forwardRef(function({ ...t }, n) {
881
881
  });
882
882
  te.displayName = "Drawer.Overlay";
883
883
  const ee = /* @__PURE__ */ r.forwardRef(function({ onPointerDownOutside: t, style: n, onOpenAutoFocus: e, ...o }, i) {
884
- const { drawerRef: a, onPress: v, onRelease: p, onDrag: T, keyboardIsOpen: R, snapPointsOffset: h, activeSnapPointIndex: f, modal: m, isOpen: B, direction: L, snapPoints: E, container: U, handleOnly: w, shouldAnimate: M, autoFocus: A } = ft(), [c, Y] = r.useState(!1), Z = Xt(i, a), u = r.useRef(null), b = r.useRef(null), y = r.useRef(!1), N = E && E.length > 0;
885
- Ge();
884
+ const { drawerRef: a, onPress: v, onRelease: p, onDrag: T, keyboardIsOpen: D, snapPointsOffset: h, activeSnapPointIndex: f, modal: m, isOpen: B, direction: L, snapPoints: E, container: U, handleOnly: w, shouldAnimate: M, autoFocus: A } = mt(), [c, Y] = r.useState(!1), Z = Xt(i, a), u = r.useRef(null), b = r.useRef(null), y = r.useRef(!1), N = E && E.length > 0;
885
+ Ke();
886
886
  const P = (s, F, _ = 0) => {
887
887
  if (y.current) return !0;
888
- const z = Math.abs(s.y), I = Math.abs(s.x), X = I > z, K = [
888
+ const W = Math.abs(s.y), I = Math.abs(s.x), X = I > W, K = [
889
889
  "bottom",
890
890
  "right"
891
891
  ].includes(F) ? 1 : -1;
892
892
  if (F === "left" || F === "right") {
893
893
  if (!(s.x * K < 0) && I >= 0 && I <= _)
894
894
  return X;
895
- } else if (!(s.y * K < 0) && z >= 0 && z <= _)
895
+ } else if (!(s.y * K < 0) && W >= 0 && W <= _)
896
896
  return !X;
897
897
  return y.current = !0, !0;
898
898
  };
@@ -901,10 +901,10 @@ const ee = /* @__PURE__ */ r.forwardRef(function({ onPointerDownOutside: t, styl
901
901
  Y(!0);
902
902
  });
903
903
  }, []);
904
- function W(s) {
904
+ function j(s) {
905
905
  u.current = null, y.current = !1, p(s);
906
906
  }
907
- return /* @__PURE__ */ r.createElement(ve, {
907
+ return /* @__PURE__ */ r.createElement(ge, {
908
908
  "data-vaul-drawer-direction": L,
909
909
  "data-vaul-drawer": "",
910
910
  "data-vaul-delayed-snap-points": c ? "true" : "false",
@@ -931,7 +931,7 @@ const ee = /* @__PURE__ */ r.forwardRef(function({ onPointerDownOutside: t, styl
931
931
  s.preventDefault();
932
932
  return;
933
933
  }
934
- R.current && (R.current = !1);
934
+ D.current && (D.current = !1);
935
935
  },
936
936
  onFocusOutside: (s) => {
937
937
  if (!m) {
@@ -941,26 +941,26 @@ const ee = /* @__PURE__ */ r.forwardRef(function({ onPointerDownOutside: t, styl
941
941
  },
942
942
  onPointerMove: (s) => {
943
943
  if (b.current = s, w || (o.onPointerMove == null || o.onPointerMove.call(o, s), !u.current)) return;
944
- const F = s.pageY - u.current.y, _ = s.pageX - u.current.x, z = s.pointerType === "touch" ? 10 : 2;
944
+ const F = s.pageY - u.current.y, _ = s.pageX - u.current.x, W = s.pointerType === "touch" ? 10 : 2;
945
945
  P({
946
946
  x: _,
947
947
  y: F
948
- }, L, z) ? T(s) : (Math.abs(_) > z || Math.abs(F) > z) && (u.current = null);
948
+ }, L, W) ? T(s) : (Math.abs(_) > W || Math.abs(F) > W) && (u.current = null);
949
949
  },
950
950
  onPointerUp: (s) => {
951
951
  o.onPointerUp == null || o.onPointerUp.call(o, s), u.current = null, y.current = !1, p(s);
952
952
  },
953
953
  onPointerOut: (s) => {
954
- o.onPointerOut == null || o.onPointerOut.call(o, s), W(b.current);
954
+ o.onPointerOut == null || o.onPointerOut.call(o, s), j(b.current);
955
955
  },
956
956
  onContextMenu: (s) => {
957
- o.onContextMenu == null || o.onContextMenu.call(o, s), b.current && W(b.current);
957
+ o.onContextMenu == null || o.onContextMenu.call(o, s), b.current && j(b.current);
958
958
  }
959
959
  });
960
960
  });
961
961
  ee.displayName = "Drawer.Content";
962
- const Ze = 250, tn = 120, en = /* @__PURE__ */ r.forwardRef(function({ preventCycle: t = !1, children: n, ...e }, o) {
963
- const { closeDrawer: i, isDragging: a, snapPoints: v, activeSnapPoint: p, setActiveSnapPoint: T, dismissible: R, handleOnly: h, isOpen: f, onPress: m, onDrag: B } = ft(), L = r.useRef(null), E = r.useRef(!1);
962
+ const Qe = 250, Ze = 120, tn = /* @__PURE__ */ r.forwardRef(function({ preventCycle: t = !1, children: n, ...e }, o) {
963
+ const { closeDrawer: i, isDragging: a, snapPoints: v, activeSnapPoint: p, setActiveSnapPoint: T, dismissible: D, handleOnly: h, isOpen: f, onPress: m, onDrag: B } = mt(), L = r.useRef(null), E = r.useRef(!1);
964
964
  function U() {
965
965
  if (E.current) {
966
966
  A();
@@ -968,7 +968,7 @@ const Ze = 250, tn = 120, en = /* @__PURE__ */ r.forwardRef(function({ preventCy
968
968
  }
969
969
  window.setTimeout(() => {
970
970
  w();
971
- }, tn);
971
+ }, Ze);
972
972
  }
973
973
  function w() {
974
974
  if (a || t || E.current) {
@@ -976,10 +976,10 @@ const Ze = 250, tn = 120, en = /* @__PURE__ */ r.forwardRef(function({ preventCy
976
976
  return;
977
977
  }
978
978
  if (A(), !v || v.length === 0) {
979
- R || i();
979
+ D || i();
980
980
  return;
981
981
  }
982
- if (p === v[v.length - 1] && R) {
982
+ if (p === v[v.length - 1] && D) {
983
983
  i();
984
984
  return;
985
985
  }
@@ -991,7 +991,7 @@ const Ze = 250, tn = 120, en = /* @__PURE__ */ r.forwardRef(function({ preventCy
991
991
  function M() {
992
992
  L.current = window.setTimeout(() => {
993
993
  E.current = !0;
994
- }, Ze);
994
+ }, Qe);
995
995
  }
996
996
  function A() {
997
997
  L.current && window.clearTimeout(L.current), E.current = !1;
@@ -1016,42 +1016,42 @@ const Ze = 250, tn = 120, en = /* @__PURE__ */ r.forwardRef(function({ preventCy
1016
1016
  "aria-hidden": "true"
1017
1017
  }, n));
1018
1018
  });
1019
- en.displayName = "Drawer.Handle";
1020
- function nn(t) {
1021
- const n = ft(), { container: e = n.container, ...o } = t;
1019
+ tn.displayName = "Drawer.Handle";
1020
+ function en(t) {
1021
+ const n = mt(), { container: e = n.container, ...o } = t;
1022
1022
  return /* @__PURE__ */ r.createElement(Re, {
1023
1023
  container: e,
1024
1024
  ...o
1025
1025
  });
1026
1026
  }
1027
1027
  const Q = {
1028
- Root: Qe,
1028
+ Root: Je,
1029
1029
  Content: ee,
1030
1030
  Overlay: te,
1031
- Trigger: ye,
1032
- Portal: nn,
1033
- Close: be,
1034
- Title: Se,
1035
- Description: Te
1031
+ Trigger: ve,
1032
+ Portal: en,
1033
+ Close: ye,
1034
+ Title: be,
1035
+ Description: Se
1036
1036
  };
1037
- function cn({ ...t }) {
1038
- return /* @__PURE__ */ j(Q.Root, { "data-slot": "drawer", ...t });
1037
+ function un({ ...t }) {
1038
+ return /* @__PURE__ */ z.jsx(Q.Root, { "data-slot": "drawer", ...t });
1039
1039
  }
1040
- function dn({ ...t }) {
1041
- return /* @__PURE__ */ j(Q.Trigger, { "data-slot": "drawer-trigger", ...t });
1040
+ function cn({ ...t }) {
1041
+ return /* @__PURE__ */ z.jsx(Q.Trigger, { "data-slot": "drawer-trigger", ...t });
1042
1042
  }
1043
- function rn({ ...t }) {
1044
- return /* @__PURE__ */ j(Q.Portal, { "data-slot": "drawer-portal", ...t });
1043
+ function nn({ ...t }) {
1044
+ return /* @__PURE__ */ z.jsx(Q.Portal, { "data-slot": "drawer-portal", ...t });
1045
1045
  }
1046
- function fn({ ...t }) {
1047
- return /* @__PURE__ */ j(Q.Close, { "data-slot": "drawer-close", ...t });
1046
+ function dn({ ...t }) {
1047
+ return /* @__PURE__ */ z.jsx(Q.Close, { "data-slot": "drawer-close", ...t });
1048
1048
  }
1049
- function an({ className: t, ...n }) {
1050
- return /* @__PURE__ */ j(
1049
+ function rn({ className: t, ...n }) {
1050
+ return /* @__PURE__ */ z.jsx(
1051
1051
  Q.Overlay,
1052
1052
  {
1053
1053
  "data-slot": "drawer-overlay",
1054
- className: at(
1054
+ className: ot(
1055
1055
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1000 bg-black/50",
1056
1056
  t
1057
1057
  ),
@@ -1059,14 +1059,14 @@ function an({ className: t, ...n }) {
1059
1059
  }
1060
1060
  );
1061
1061
  }
1062
- function mn({ className: t, children: n, ...e }) {
1063
- return /* @__PURE__ */ he(rn, { "data-slot": "drawer-portal", children: [
1064
- /* @__PURE__ */ j(an, {}),
1065
- /* @__PURE__ */ j(
1062
+ function fn({ className: t, children: n, ...e }) {
1063
+ return /* @__PURE__ */ z.jsxs(nn, { "data-slot": "drawer-portal", children: [
1064
+ /* @__PURE__ */ z.jsx(rn, {}),
1065
+ /* @__PURE__ */ z.jsx(
1066
1066
  Q.Content,
1067
1067
  {
1068
1068
  "data-slot": "drawer-content",
1069
- className: at(
1069
+ className: ot(
1070
1070
  "group/drawer-content fixed z-1000 flex h-auto flex-col bg-white",
1071
1071
  "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
1072
1072
  "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-0",
@@ -1080,41 +1080,41 @@ function mn({ className: t, children: n, ...e }) {
1080
1080
  )
1081
1081
  ] });
1082
1082
  }
1083
+ function mn({ className: t, ...n }) {
1084
+ return /* @__PURE__ */ z.jsx("div", { "data-slot": "drawer-header", className: ot("flex flex-col gap-2 p-5", t), ...n });
1085
+ }
1083
1086
  function wn({ className: t, ...n }) {
1084
- return /* @__PURE__ */ j("div", { "data-slot": "drawer-header", className: at("flex flex-col gap-2 p-5", t), ...n });
1087
+ return /* @__PURE__ */ z.jsx("div", { "data-slot": "drawer-footer", className: ot("mt-auto flex flex-col gap-2 p-5", t), ...n });
1085
1088
  }
1086
1089
  function pn({ className: t, ...n }) {
1087
- return /* @__PURE__ */ j("div", { "data-slot": "drawer-footer", className: at("mt-auto flex flex-col gap-2 p-5", t), ...n });
1088
- }
1089
- function hn({ className: t, ...n }) {
1090
- return /* @__PURE__ */ j(
1090
+ return /* @__PURE__ */ z.jsx(
1091
1091
  Q.Title,
1092
1092
  {
1093
1093
  "data-slot": "drawer-title",
1094
- className: at("text-foreground font-semibold", t),
1094
+ className: ot("text-foreground font-semibold", t),
1095
1095
  ...n
1096
1096
  }
1097
1097
  );
1098
1098
  }
1099
- function gn({ className: t, ...n }) {
1100
- return /* @__PURE__ */ j(
1099
+ function hn({ className: t, ...n }) {
1100
+ return /* @__PURE__ */ z.jsx(
1101
1101
  Q.Description,
1102
1102
  {
1103
1103
  "data-slot": "drawer-description",
1104
- className: at("text-muted-foreground text-sm", t),
1104
+ className: ot("text-muted-foreground text-sm", t),
1105
1105
  ...n
1106
1106
  }
1107
1107
  );
1108
1108
  }
1109
1109
  export {
1110
- cn as Drawer,
1111
- fn as DrawerClose,
1112
- mn as DrawerContent,
1113
- gn as DrawerDescription,
1114
- pn as DrawerFooter,
1115
- wn as DrawerHeader,
1116
- an as DrawerOverlay,
1117
- rn as DrawerPortal,
1118
- hn as DrawerTitle,
1119
- dn as DrawerTrigger
1110
+ un as Drawer,
1111
+ dn as DrawerClose,
1112
+ fn as DrawerContent,
1113
+ hn as DrawerDescription,
1114
+ wn as DrawerFooter,
1115
+ mn as DrawerHeader,
1116
+ rn as DrawerOverlay,
1117
+ nn as DrawerPortal,
1118
+ pn as DrawerTitle,
1119
+ cn as DrawerTrigger
1120
1120
  };