@zimyo/ui 1.0.2 → 1.1.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 (327) hide show
  1. package/dist/Accordion/index.d.ts +34 -0
  2. package/dist/Accordion/index.esm.js +129 -0
  3. package/dist/Accordion/index.js +137 -0
  4. package/dist/Button/index.d.ts +15 -0
  5. package/dist/Button/index.esm.js +23 -0
  6. package/dist/Button/index.js +28 -0
  7. package/dist/Card/index.d.ts +41 -0
  8. package/dist/Card/index.esm.js +36 -0
  9. package/dist/Card/index.js +38 -0
  10. package/dist/Popover/index.d.ts +19 -0
  11. package/dist/Popover/index.esm.js +22 -0
  12. package/dist/Popover/index.js +27 -0
  13. package/dist/RadioGroup/index.d.ts +31 -0
  14. package/dist/RadioGroup/index.esm.js +92 -0
  15. package/dist/RadioGroup/index.js +97 -0
  16. package/dist/Typography/index.d.ts +30 -0
  17. package/dist/Typography/index.esm.js +57 -0
  18. package/dist/Typography/index.js +66 -0
  19. package/package.json +106 -83
  20. package/dist/components/index.d.ts +0 -60
  21. package/dist/components/ui/accordion.d.ts +0 -10
  22. package/dist/components/ui/accordion.js +0 -58
  23. package/dist/components/ui/alert-dialog.d.ts +0 -17
  24. package/dist/components/ui/alert-dialog.js +0 -108
  25. package/dist/components/ui/alert.d.ts +0 -13
  26. package/dist/components/ui/alert.js +0 -52
  27. package/dist/components/ui/aspect-ratio.d.ts +0 -6
  28. package/dist/components/ui/aspect-ratio.js +0 -12
  29. package/dist/components/ui/avatar.d.ts +0 -9
  30. package/dist/components/ui/avatar.js +0 -37
  31. package/dist/components/ui/badge.d.ts +0 -13
  32. package/dist/components/ui/badge.js +0 -36
  33. package/dist/components/ui/breadcrumb.d.ts +0 -14
  34. package/dist/components/ui/breadcrumb.js +0 -94
  35. package/dist/components/ui/button.d.ts +0 -14
  36. package/dist/components/ui/button.js +0 -48
  37. package/dist/components/ui/calendar.d.ts +0 -13
  38. package/dist/components/ui/calendar.js +0 -137
  39. package/dist/components/ui/card.d.ts +0 -12
  40. package/dist/components/ui/card.js +0 -76
  41. package/dist/components/ui/carousel.d.ts +0 -25
  42. package/dist/components/ui/carousel.js +0 -173
  43. package/dist/components/ui/chart.d.ts +0 -44
  44. package/dist/components/ui/chart.js +0 -203
  45. package/dist/components/ui/checkbox.d.ts +0 -7
  46. package/dist/components/ui/checkbox.js +0 -26
  47. package/dist/components/ui/collapsible.d.ts +0 -8
  48. package/dist/components/ui/collapsible.js +0 -24
  49. package/dist/components/ui/command.d.ts +0 -22
  50. package/dist/components/ui/command.js +0 -119
  51. package/dist/components/ui/context-menu.d.ts +0 -28
  52. package/dist/components/ui/context-menu.js +0 -171
  53. package/dist/components/ui/dialog.d.ts +0 -18
  54. package/dist/components/ui/dialog.js +0 -106
  55. package/dist/components/ui/drawer.d.ts +0 -16
  56. package/dist/components/ui/drawer.js +0 -99
  57. package/dist/components/ui/dropdown-menu.d.ts +0 -28
  58. package/dist/components/ui/dropdown-menu.js +0 -173
  59. package/dist/components/ui/form.d.ts +0 -27
  60. package/dist/components/ui/form.js +0 -129
  61. package/dist/components/ui/hover-card.d.ts +0 -9
  62. package/dist/components/ui/hover-card.js +0 -36
  63. package/dist/components/ui/input-otp.d.ts +0 -14
  64. package/dist/components/ui/input-otp.js +0 -66
  65. package/dist/components/ui/input.d.ts +0 -6
  66. package/dist/components/ui/input.js +0 -18
  67. package/dist/components/ui/label.d.ts +0 -7
  68. package/dist/components/ui/label.js +0 -17
  69. package/dist/components/ui/menubar.d.ts +0 -29
  70. package/dist/components/ui/menubar.js +0 -191
  71. package/dist/components/ui/navigation-menu.d.ts +0 -18
  72. package/dist/components/ui/navigation-menu.js +0 -108
  73. package/dist/components/ui/pagination.d.ts +0 -18
  74. package/dist/components/ui/pagination.js +0 -103
  75. package/dist/components/ui/popover.d.ts +0 -10
  76. package/dist/components/ui/popover.js +0 -41
  77. package/dist/components/ui/progress.d.ts +0 -7
  78. package/dist/components/ui/progress.js +0 -26
  79. package/dist/components/ui/radio-group.d.ts +0 -8
  80. package/dist/components/ui/radio-group.js +0 -36
  81. package/dist/components/ui/resizable.d.ts +0 -11
  82. package/dist/components/ui/resizable.js +0 -42
  83. package/dist/components/ui/scroll-area.d.ts +0 -8
  84. package/dist/components/ui/scroll-area.js +0 -41
  85. package/dist/components/ui/select.d.ts +0 -18
  86. package/dist/components/ui/select.js +0 -136
  87. package/dist/components/ui/separator.d.ts +0 -7
  88. package/dist/components/ui/separator.js +0 -21
  89. package/dist/components/ui/sheet.d.ts +0 -16
  90. package/dist/components/ui/sheet.js +0 -106
  91. package/dist/components/ui/sidebar.d.ts +0 -74
  92. package/dist/components/ui/sidebar.js +0 -511
  93. package/dist/components/ui/skeleton.d.ts +0 -5
  94. package/dist/components/ui/skeleton.js +0 -16
  95. package/dist/components/ui/slider.d.ts +0 -7
  96. package/dist/components/ui/slider.js +0 -41
  97. package/dist/components/ui/sonner.d.ts +0 -6
  98. package/dist/components/ui/sonner.js +0 -18
  99. package/dist/components/ui/switch.d.ts +0 -7
  100. package/dist/components/ui/switch.js +0 -22
  101. package/dist/components/ui/table.d.ts +0 -13
  102. package/dist/components/ui/table.js +0 -90
  103. package/dist/components/ui/tabs.d.ts +0 -10
  104. package/dist/components/ui/tabs.js +0 -47
  105. package/dist/components/ui/textarea.d.ts +0 -6
  106. package/dist/components/ui/textarea.js +0 -16
  107. package/dist/components/ui/toggle-group.d.ts +0 -11
  108. package/dist/components/ui/toggle-group.js +0 -57
  109. package/dist/components/ui/toggle.d.ts +0 -13
  110. package/dist/components/ui/toggle.js +0 -41
  111. package/dist/components/ui/tooltip.d.ts +0 -10
  112. package/dist/components/ui/tooltip.js +0 -50
  113. package/dist/index.d.ts +0 -63
  114. package/dist/index.js +0 -48
  115. package/dist/lib/utils.d.ts +0 -5
  116. package/dist/lib/utils.js +0 -8
  117. package/dist/node_modules/@date-fns/tz/date/index.js +0 -101
  118. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -207
  119. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -43
  120. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -11
  121. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -39
  122. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -79
  123. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -321
  124. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -211
  125. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -29
  126. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -207
  127. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -15
  128. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -17
  129. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -130
  130. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -43
  131. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -89
  132. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -12
  133. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -70
  134. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -18
  135. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -7
  136. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -137
  137. package/dist/node_modules/class-variance-authority/dist/index.js +0 -44
  138. package/dist/node_modules/clsx/dist/clsx.js +0 -3
  139. package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.js +0 -3
  140. package/dist/node_modules/cmdk/dist/index.js +0 -10
  141. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
  142. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  143. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -775
  144. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -94
  145. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -66
  146. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -31
  147. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  148. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
  149. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -25
  150. package/dist/node_modules/date-fns/addDays.js +0 -41
  151. package/dist/node_modules/date-fns/addMonths.js +0 -75
  152. package/dist/node_modules/date-fns/addWeeks.js +0 -33
  153. package/dist/node_modules/date-fns/addYears.js +0 -33
  154. package/dist/node_modules/date-fns/constants.js +0 -46
  155. package/dist/node_modules/date-fns/constructFrom.js +0 -49
  156. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -62
  157. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -42
  158. package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -65
  159. package/dist/node_modules/date-fns/endOfISOWeek.js +0 -35
  160. package/dist/node_modules/date-fns/endOfMonth.js +0 -37
  161. package/dist/node_modules/date-fns/endOfWeek.js +0 -53
  162. package/dist/node_modules/date-fns/endOfYear.js +0 -37
  163. package/dist/node_modules/date-fns/format.js +0 -423
  164. package/dist/node_modules/date-fns/getDayOfYear.js +0 -34
  165. package/dist/node_modules/date-fns/getDaysInMonth.js +0 -36
  166. package/dist/node_modules/date-fns/getISOWeek.js +0 -40
  167. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -52
  168. package/dist/node_modules/date-fns/getMonth.js +0 -29
  169. package/dist/node_modules/date-fns/getWeek.js +0 -54
  170. package/dist/node_modules/date-fns/getWeekYear.js +0 -75
  171. package/dist/node_modules/date-fns/getYear.js +0 -29
  172. package/dist/node_modules/date-fns/isAfter.js +0 -25
  173. package/dist/node_modules/date-fns/isBefore.js +0 -25
  174. package/dist/node_modules/date-fns/isDate.js +0 -41
  175. package/dist/node_modules/date-fns/isSameDay.js +0 -46
  176. package/dist/node_modules/date-fns/isSameMonth.js +0 -43
  177. package/dist/node_modules/date-fns/isSameYear.js +0 -35
  178. package/dist/node_modules/date-fns/isValid.js +0 -39
  179. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  180. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -64
  181. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -59
  182. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -22
  183. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -103
  184. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -41
  185. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -13
  186. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -189
  187. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -134
  188. package/dist/node_modules/date-fns/locale/en-US.js +0 -28
  189. package/dist/node_modules/date-fns/max.js +0 -49
  190. package/dist/node_modules/date-fns/min.js +0 -49
  191. package/dist/node_modules/date-fns/setMonth.js +0 -46
  192. package/dist/node_modules/date-fns/setYear.js +0 -40
  193. package/dist/node_modules/date-fns/startOfDay.js +0 -35
  194. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -35
  195. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -42
  196. package/dist/node_modules/date-fns/startOfMonth.js +0 -37
  197. package/dist/node_modules/date-fns/startOfWeek.js +0 -53
  198. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -64
  199. package/dist/node_modules/date-fns/startOfYear.js +0 -36
  200. package/dist/node_modules/date-fns/toDate.js +0 -46
  201. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1669
  202. package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +0 -37
  203. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -38
  204. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -8
  205. package/dist/node_modules/input-otp/dist/index.js +0 -24
  206. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -285
  207. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -122
  208. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -30
  209. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -14
  210. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -13
  211. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -522
  212. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -13
  213. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -13
  214. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  215. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -18
  216. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -19
  217. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -21
  218. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -13
  219. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -13
  220. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -15
  221. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -14
  222. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -13
  223. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -13
  224. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -15
  225. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -31
  226. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -15
  227. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -13
  228. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -15
  229. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -14
  230. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -13
  231. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -14
  232. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -14
  233. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -13
  234. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -13
  235. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -14
  236. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -13
  237. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -15
  238. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -26
  239. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -25
  240. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -19
  241. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -18
  242. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -21
  243. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -13
  244. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -19
  245. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -23
  246. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -7
  247. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -73
  248. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -95
  249. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -22
  250. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -28
  251. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -33
  252. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -20
  253. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -27
  254. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -51
  255. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -19
  256. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -33
  257. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -24
  258. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -46
  259. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -24
  260. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -28
  261. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -33
  262. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -69
  263. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -51
  264. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -39
  265. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -36
  266. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -37
  267. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -27
  268. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -24
  269. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -14
  270. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -38
  271. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -27
  272. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -31
  273. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -11
  274. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -32
  275. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -24
  276. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -22
  277. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -14
  278. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -13
  279. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -15
  280. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -15
  281. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -15
  282. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -14
  283. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -18
  284. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -14
  285. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -57
  286. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -45
  287. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -44
  288. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -175
  289. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -85
  290. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -25
  291. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -50
  292. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -31
  293. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -92
  294. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -62
  295. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -30
  296. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -74
  297. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -35
  298. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -21
  299. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -66
  300. package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -507
  301. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -9
  302. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -160
  303. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -38
  304. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -21
  305. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -110
  306. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  307. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  308. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -56
  309. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -10
  310. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -31
  311. package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.js +0 -2407
  312. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -19
  313. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -25
  314. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -51
  315. package/dist/node_modules/sonner/dist/index.js +0 -1125
  316. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2956
  317. package/dist/node_modules/tslib/tslib.es6.js +0 -56
  318. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -24
  319. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -48
  320. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -42
  321. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -21
  322. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -77
  323. package/dist/node_modules/vaul/dist/index.js +0 -1627
  324. package/dist/providers/ThemeProvider.d.ts +0 -12
  325. package/dist/providers/ThemeProvider.js +0 -27
  326. package/dist/providers/index.d.ts +0 -3
  327. package/dist/styles.css +0 -1
@@ -1,7 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Checkbox as Checkbox$1 } from 'radix-ui';
3
- import * as React from 'react';
4
-
5
- declare function Checkbox({ className, ...props }: React.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime.JSX.Element;
6
-
7
- export { Checkbox };
@@ -1,26 +0,0 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
- import { jsx } from 'react/jsx-runtime';
3
- import { CheckIcon } from 'lucide-react';
4
- import { Checkbox as Checkbox$1 } from 'radix-ui';
5
- import { cn } from '../../lib/utils.js';
6
-
7
- function Checkbox(_a) {
8
- var {
9
- className
10
- } = _a,
11
- props = __rest(_a, ["className"]);
12
- return jsx(Checkbox$1.Root, Object.assign({
13
- "data-slot": "checkbox",
14
- className: cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className)
15
- }, props, {
16
- children: jsx(Checkbox$1.Indicator, {
17
- "data-slot": "checkbox-indicator",
18
- className: "flex items-center justify-center text-current transition-none",
19
- children: jsx(CheckIcon, {
20
- className: "size-3.5"
21
- })
22
- })
23
- }));
24
- }
25
-
26
- export { Checkbox };
@@ -1,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Collapsible as Collapsible$1 } from 'radix-ui';
3
-
4
- declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
5
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
6
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
7
-
8
- export { Collapsible, CollapsibleContent, CollapsibleTrigger };
@@ -1,24 +0,0 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
- import { jsx } from 'react/jsx-runtime';
3
- import { Collapsible as Collapsible$1 } from 'radix-ui';
4
-
5
- function Collapsible(_a) {
6
- var props = __rest(_a, []);
7
- return jsx(Collapsible$1.Root, Object.assign({
8
- "data-slot": "collapsible"
9
- }, props));
10
- }
11
- function CollapsibleTrigger(_a) {
12
- var props = __rest(_a, []);
13
- return jsx(Collapsible$1.CollapsibleTrigger, Object.assign({
14
- "data-slot": "collapsible-trigger"
15
- }, props));
16
- }
17
- function CollapsibleContent(_a) {
18
- var props = __rest(_a, []);
19
- return jsx(Collapsible$1.CollapsibleContent, Object.assign({
20
- "data-slot": "collapsible-content"
21
- }, props));
22
- }
23
-
24
- export { Collapsible, CollapsibleContent, CollapsibleTrigger };
@@ -1,22 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Command as Command$1 } from 'cmdk';
3
- import * as React from 'react';
4
- import { Dialog } from './dialog.js';
5
- import 'radix-ui';
6
-
7
- declare function Command({ className, ...props }: React.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
8
- declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
9
- title?: string;
10
- description?: string;
11
- className?: string;
12
- showCloseButton?: boolean;
13
- }): react_jsx_runtime.JSX.Element;
14
- declare function CommandInput({ className, ...props }: React.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
15
- declare function CommandList({ className, ...props }: React.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
16
- declare function CommandEmpty({ ...props }: React.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
17
- declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
18
- declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
19
- declare function CommandItem({ className, ...props }: React.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
20
- declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
21
-
22
- export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
@@ -1,119 +0,0 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
3
- import { Command as _e } from '../../node_modules/cmdk/dist/index.js';
4
- import { SearchIcon } from 'lucide-react';
5
- import { Dialog, DialogHeader, DialogTitle, DialogDescription, DialogContent } from './dialog.js';
6
- import { cn } from '../../lib/utils.js';
7
-
8
- function Command(_a) {
9
- var {
10
- className
11
- } = _a,
12
- props = __rest(_a, ["className"]);
13
- return jsx(_e, Object.assign({
14
- "data-slot": "command",
15
- className: cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className)
16
- }, props));
17
- }
18
- function CommandDialog(_a) {
19
- var {
20
- title = "Command Palette",
21
- description = "Search for a command to run...",
22
- children,
23
- className,
24
- showCloseButton = true
25
- } = _a,
26
- props = __rest(_a, ["title", "description", "children", "className", "showCloseButton"]);
27
- return jsxs(Dialog, Object.assign({}, props, {
28
- children: [jsxs(DialogHeader, {
29
- className: "sr-only",
30
- children: [jsx(DialogTitle, {
31
- children: title
32
- }), jsx(DialogDescription, {
33
- children: description
34
- })]
35
- }), jsx(DialogContent, {
36
- className: cn("overflow-hidden p-0", className),
37
- showCloseButton: showCloseButton,
38
- children: jsx(Command, {
39
- className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",
40
- children: children
41
- })
42
- })]
43
- }));
44
- }
45
- function CommandInput(_a) {
46
- var {
47
- className
48
- } = _a,
49
- props = __rest(_a, ["className"]);
50
- return jsxs("div", {
51
- "data-slot": "command-input-wrapper",
52
- className: "flex h-9 items-center gap-2 border-b px-3",
53
- children: [jsx(SearchIcon, {
54
- className: "size-4 shrink-0 opacity-50"
55
- }), jsx(_e.Input, Object.assign({
56
- "data-slot": "command-input",
57
- className: cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", className)
58
- }, props))]
59
- });
60
- }
61
- function CommandList(_a) {
62
- var {
63
- className
64
- } = _a,
65
- props = __rest(_a, ["className"]);
66
- return jsx(_e.List, Object.assign({
67
- "data-slot": "command-list",
68
- className: cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", className)
69
- }, props));
70
- }
71
- function CommandEmpty(_a) {
72
- var props = __rest(_a, []);
73
- return jsx(_e.Empty, Object.assign({
74
- "data-slot": "command-empty",
75
- className: "py-6 text-center text-sm"
76
- }, props));
77
- }
78
- function CommandGroup(_a) {
79
- var {
80
- className
81
- } = _a,
82
- props = __rest(_a, ["className"]);
83
- return jsx(_e.Group, Object.assign({
84
- "data-slot": "command-group",
85
- className: cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className)
86
- }, props));
87
- }
88
- function CommandSeparator(_a) {
89
- var {
90
- className
91
- } = _a,
92
- props = __rest(_a, ["className"]);
93
- return jsx(_e.Separator, Object.assign({
94
- "data-slot": "command-separator",
95
- className: cn("bg-border -mx-1 h-px", className)
96
- }, props));
97
- }
98
- function CommandItem(_a) {
99
- var {
100
- className
101
- } = _a,
102
- props = __rest(_a, ["className"]);
103
- return jsx(_e.Item, Object.assign({
104
- "data-slot": "command-item",
105
- className: cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className)
106
- }, props));
107
- }
108
- function CommandShortcut(_a) {
109
- var {
110
- className
111
- } = _a,
112
- props = __rest(_a, ["className"]);
113
- return jsx("span", Object.assign({
114
- "data-slot": "command-shortcut",
115
- className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className)
116
- }, props));
117
- }
118
-
119
- export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
@@ -1,28 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ContextMenu as ContextMenu$1 } from 'radix-ui';
3
- import * as React from 'react';
4
-
5
- declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime.JSX.Element;
6
- declare function ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
7
- declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime.JSX.Element;
8
- declare function ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime.JSX.Element;
9
- declare function ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime.JSX.Element;
10
- declare function ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
11
- declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
12
- inset?: boolean;
13
- }): react_jsx_runtime.JSX.Element;
14
- declare function ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
15
- declare function ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime.JSX.Element;
16
- declare function ContextMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof ContextMenu$1.Item> & {
17
- inset?: boolean;
18
- variant?: "default" | "destructive";
19
- }): react_jsx_runtime.JSX.Element;
20
- declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
21
- declare function ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
22
- declare function ContextMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof ContextMenu$1.Label> & {
23
- inset?: boolean;
24
- }): react_jsx_runtime.JSX.Element;
25
- declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
26
- declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
27
-
28
- export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
@@ -1,171 +0,0 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
3
- import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
4
- import { ContextMenu as ContextMenu$1 } from 'radix-ui';
5
- import { cn } from '../../lib/utils.js';
6
-
7
- function ContextMenu(_a) {
8
- var props = __rest(_a, []);
9
- return jsx(ContextMenu$1.Root, Object.assign({
10
- "data-slot": "context-menu"
11
- }, props));
12
- }
13
- function ContextMenuTrigger(_a) {
14
- var props = __rest(_a, []);
15
- return jsx(ContextMenu$1.Trigger, Object.assign({
16
- "data-slot": "context-menu-trigger"
17
- }, props));
18
- }
19
- function ContextMenuGroup(_a) {
20
- var props = __rest(_a, []);
21
- return jsx(ContextMenu$1.Group, Object.assign({
22
- "data-slot": "context-menu-group"
23
- }, props));
24
- }
25
- function ContextMenuPortal(_a) {
26
- var props = __rest(_a, []);
27
- return jsx(ContextMenu$1.Portal, Object.assign({
28
- "data-slot": "context-menu-portal"
29
- }, props));
30
- }
31
- function ContextMenuSub(_a) {
32
- var props = __rest(_a, []);
33
- return jsx(ContextMenu$1.Sub, Object.assign({
34
- "data-slot": "context-menu-sub"
35
- }, props));
36
- }
37
- function ContextMenuRadioGroup(_a) {
38
- var props = __rest(_a, []);
39
- return jsx(ContextMenu$1.RadioGroup, Object.assign({
40
- "data-slot": "context-menu-radio-group"
41
- }, props));
42
- }
43
- function ContextMenuSubTrigger(_a) {
44
- var {
45
- className,
46
- inset,
47
- children
48
- } = _a,
49
- props = __rest(_a, ["className", "inset", "children"]);
50
- return jsxs(ContextMenu$1.SubTrigger, Object.assign({
51
- "data-slot": "context-menu-sub-trigger",
52
- "data-inset": inset,
53
- className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className)
54
- }, props, {
55
- children: [children, jsx(ChevronRightIcon, {
56
- className: "ml-auto"
57
- })]
58
- }));
59
- }
60
- function ContextMenuSubContent(_a) {
61
- var {
62
- className
63
- } = _a,
64
- props = __rest(_a, ["className"]);
65
- return jsx(ContextMenu$1.SubContent, Object.assign({
66
- "data-slot": "context-menu-sub-content",
67
- className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className)
68
- }, props));
69
- }
70
- function ContextMenuContent(_a) {
71
- var {
72
- className
73
- } = _a,
74
- props = __rest(_a, ["className"]);
75
- return jsx(ContextMenu$1.Portal, {
76
- children: jsx(ContextMenu$1.Content, Object.assign({
77
- "data-slot": "context-menu-content",
78
- className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", className)
79
- }, props))
80
- });
81
- }
82
- function ContextMenuItem(_a) {
83
- var {
84
- className,
85
- inset,
86
- variant = "default"
87
- } = _a,
88
- props = __rest(_a, ["className", "inset", "variant"]);
89
- return jsx(ContextMenu$1.Item, Object.assign({
90
- "data-slot": "context-menu-item",
91
- "data-inset": inset,
92
- "data-variant": variant,
93
- className: cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className)
94
- }, props));
95
- }
96
- function ContextMenuCheckboxItem(_a) {
97
- var {
98
- className,
99
- children,
100
- checked
101
- } = _a,
102
- props = __rest(_a, ["className", "children", "checked"]);
103
- return jsxs(ContextMenu$1.CheckboxItem, Object.assign({
104
- "data-slot": "context-menu-checkbox-item",
105
- className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
106
- checked: checked
107
- }, props, {
108
- children: [jsx("span", {
109
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
110
- children: jsx(ContextMenu$1.ItemIndicator, {
111
- children: jsx(CheckIcon, {
112
- className: "size-4"
113
- })
114
- })
115
- }), children]
116
- }));
117
- }
118
- function ContextMenuRadioItem(_a) {
119
- var {
120
- className,
121
- children
122
- } = _a,
123
- props = __rest(_a, ["className", "children"]);
124
- return jsxs(ContextMenu$1.RadioItem, Object.assign({
125
- "data-slot": "context-menu-radio-item",
126
- className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className)
127
- }, props, {
128
- children: [jsx("span", {
129
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
130
- children: jsx(ContextMenu$1.ItemIndicator, {
131
- children: jsx(CircleIcon, {
132
- className: "size-2 fill-current"
133
- })
134
- })
135
- }), children]
136
- }));
137
- }
138
- function ContextMenuLabel(_a) {
139
- var {
140
- className,
141
- inset
142
- } = _a,
143
- props = __rest(_a, ["className", "inset"]);
144
- return jsx(ContextMenu$1.Label, Object.assign({
145
- "data-slot": "context-menu-label",
146
- "data-inset": inset,
147
- className: cn("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className)
148
- }, props));
149
- }
150
- function ContextMenuSeparator(_a) {
151
- var {
152
- className
153
- } = _a,
154
- props = __rest(_a, ["className"]);
155
- return jsx(ContextMenu$1.Separator, Object.assign({
156
- "data-slot": "context-menu-separator",
157
- className: cn("bg-border -mx-1 my-1 h-px", className)
158
- }, props));
159
- }
160
- function ContextMenuShortcut(_a) {
161
- var {
162
- className
163
- } = _a,
164
- props = __rest(_a, ["className"]);
165
- return jsx("span", Object.assign({
166
- "data-slot": "context-menu-shortcut",
167
- className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className)
168
- }, props));
169
- }
170
-
171
- export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Dialog as Dialog$1 } from 'radix-ui';
3
- import * as React from 'react';
4
-
5
- declare function Dialog({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
6
- declare function DialogTrigger({ ...props }: React.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
7
- declare function DialogPortal({ ...props }: React.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
8
- declare function DialogClose({ ...props }: React.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
9
- declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
10
- declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof Dialog$1.Content> & {
11
- showCloseButton?: boolean;
12
- }): react_jsx_runtime.JSX.Element;
13
- declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
14
- declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
15
- declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
16
- declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
17
-
18
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
@@ -1,106 +0,0 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
3
- import { XIcon } from 'lucide-react';
4
- import { Dialog as Dialog$1 } from 'radix-ui';
5
- import { cn } from '../../lib/utils.js';
6
-
7
- function Dialog(_a) {
8
- var props = __rest(_a, []);
9
- return jsx(Dialog$1.Root, Object.assign({
10
- "data-slot": "dialog"
11
- }, props));
12
- }
13
- function DialogTrigger(_a) {
14
- var props = __rest(_a, []);
15
- return jsx(Dialog$1.Trigger, Object.assign({
16
- "data-slot": "dialog-trigger"
17
- }, props));
18
- }
19
- function DialogPortal(_a) {
20
- var props = __rest(_a, []);
21
- return jsx(Dialog$1.Portal, Object.assign({
22
- "data-slot": "dialog-portal"
23
- }, props));
24
- }
25
- function DialogClose(_a) {
26
- var props = __rest(_a, []);
27
- return jsx(Dialog$1.Close, Object.assign({
28
- "data-slot": "dialog-close"
29
- }, props));
30
- }
31
- function DialogOverlay(_a) {
32
- var {
33
- className
34
- } = _a,
35
- props = __rest(_a, ["className"]);
36
- return jsx(Dialog$1.Overlay, Object.assign({
37
- "data-slot": "dialog-overlay",
38
- className: cn("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-50 bg-black/50", className)
39
- }, props));
40
- }
41
- function DialogContent(_a) {
42
- var {
43
- className,
44
- children,
45
- showCloseButton = true
46
- } = _a,
47
- props = __rest(_a, ["className", "children", "showCloseButton"]);
48
- return jsxs(DialogPortal, {
49
- "data-slot": "dialog-portal",
50
- children: [jsx(DialogOverlay, {}), jsxs(Dialog$1.Content, Object.assign({
51
- "data-slot": "dialog-content",
52
- className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className)
53
- }, props, {
54
- children: [children, showCloseButton && jsxs(Dialog$1.Close, {
55
- "data-slot": "dialog-close",
56
- className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
57
- children: [jsx(XIcon, {}), jsx("span", {
58
- className: "sr-only",
59
- children: "Close"
60
- })]
61
- })]
62
- }))]
63
- });
64
- }
65
- function DialogHeader(_a) {
66
- var {
67
- className
68
- } = _a,
69
- props = __rest(_a, ["className"]);
70
- return jsx("div", Object.assign({
71
- "data-slot": "dialog-header",
72
- className: cn("flex flex-col gap-2 text-center sm:text-left", className)
73
- }, props));
74
- }
75
- function DialogFooter(_a) {
76
- var {
77
- className
78
- } = _a,
79
- props = __rest(_a, ["className"]);
80
- return jsx("div", Object.assign({
81
- "data-slot": "dialog-footer",
82
- className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className)
83
- }, props));
84
- }
85
- function DialogTitle(_a) {
86
- var {
87
- className
88
- } = _a,
89
- props = __rest(_a, ["className"]);
90
- return jsx(Dialog$1.Title, Object.assign({
91
- "data-slot": "dialog-title",
92
- className: cn("text-lg leading-none font-semibold", className)
93
- }, props));
94
- }
95
- function DialogDescription(_a) {
96
- var {
97
- className
98
- } = _a,
99
- props = __rest(_a, ["className"]);
100
- return jsx(Dialog$1.Description, Object.assign({
101
- "data-slot": "dialog-description",
102
- className: cn("text-muted-foreground text-sm", className)
103
- }, props));
104
- }
105
-
106
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { Drawer as Drawer$1 } from 'vaul';
4
-
5
- declare function Drawer({ ...props }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
6
- declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
7
- declare function DrawerPortal({ ...props }: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
8
- declare function DrawerClose({ ...props }: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
9
- declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
10
- declare function DrawerContent({ className, children, ...props }: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
11
- declare function DrawerHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
12
- declare function DrawerFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
13
- declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
14
- declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
15
-
16
- export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
@@ -1,99 +0,0 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
3
- import { Drawer as Drawer$1 } from '../../node_modules/vaul/dist/index.js';
4
- import { cn } from '../../lib/utils.js';
5
-
6
- function Drawer(_a) {
7
- var props = __rest(_a, []);
8
- return jsx(Drawer$1.Root, Object.assign({
9
- "data-slot": "drawer"
10
- }, props));
11
- }
12
- function DrawerTrigger(_a) {
13
- var props = __rest(_a, []);
14
- return jsx(Drawer$1.Trigger, Object.assign({
15
- "data-slot": "drawer-trigger"
16
- }, props));
17
- }
18
- function DrawerPortal(_a) {
19
- var props = __rest(_a, []);
20
- return jsx(Drawer$1.Portal, Object.assign({
21
- "data-slot": "drawer-portal"
22
- }, props));
23
- }
24
- function DrawerClose(_a) {
25
- var props = __rest(_a, []);
26
- return jsx(Drawer$1.Close, Object.assign({
27
- "data-slot": "drawer-close"
28
- }, props));
29
- }
30
- function DrawerOverlay(_a) {
31
- var {
32
- className
33
- } = _a,
34
- props = __rest(_a, ["className"]);
35
- return jsx(Drawer$1.Overlay, Object.assign({
36
- "data-slot": "drawer-overlay",
37
- className: cn("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-50 bg-black/50", className)
38
- }, props));
39
- }
40
- function DrawerContent(_a) {
41
- var {
42
- className,
43
- children
44
- } = _a,
45
- props = __rest(_a, ["className", "children"]);
46
- return jsxs(DrawerPortal, {
47
- "data-slot": "drawer-portal",
48
- children: [jsx(DrawerOverlay, {}), jsxs(Drawer$1.Content, Object.assign({
49
- "data-slot": "drawer-content",
50
- className: cn("group/drawer-content bg-background fixed z-50 flex h-auto flex-col", "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", "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-t", "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm", "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm", className)
51
- }, props, {
52
- children: [jsx("div", {
53
- className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"
54
- }), children]
55
- }))]
56
- });
57
- }
58
- function DrawerHeader(_a) {
59
- var {
60
- className
61
- } = _a,
62
- props = __rest(_a, ["className"]);
63
- return jsx("div", Object.assign({
64
- "data-slot": "drawer-header",
65
- className: cn("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left", className)
66
- }, props));
67
- }
68
- function DrawerFooter(_a) {
69
- var {
70
- className
71
- } = _a,
72
- props = __rest(_a, ["className"]);
73
- return jsx("div", Object.assign({
74
- "data-slot": "drawer-footer",
75
- className: cn("mt-auto flex flex-col gap-2 p-4", className)
76
- }, props));
77
- }
78
- function DrawerTitle(_a) {
79
- var {
80
- className
81
- } = _a,
82
- props = __rest(_a, ["className"]);
83
- return jsx(Drawer$1.Title, Object.assign({
84
- "data-slot": "drawer-title",
85
- className: cn("text-foreground font-semibold", className)
86
- }, props));
87
- }
88
- function DrawerDescription(_a) {
89
- var {
90
- className
91
- } = _a,
92
- props = __rest(_a, ["className"]);
93
- return jsx(Drawer$1.Description, Object.assign({
94
- "data-slot": "drawer-description",
95
- className: cn("text-muted-foreground text-sm", className)
96
- }, props));
97
- }
98
-
99
- export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };