@zimyo/ui 1.0.1 → 1.1.0

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 (307) hide show
  1. package/package.json +79 -80
  2. package/dist/_virtual/_rollupPluginBabelHelpers.js +0 -11
  3. package/dist/components/index.d.ts +0 -59
  4. package/dist/components/ui/accordion.d.ts +0 -9
  5. package/dist/components/ui/accordion.js +0 -53
  6. package/dist/components/ui/alert-dialog.d.ts +0 -16
  7. package/dist/components/ui/alert-dialog.js +0 -107
  8. package/dist/components/ui/alert.d.ts +0 -12
  9. package/dist/components/ui/alert.js +0 -53
  10. package/dist/components/ui/aspect-ratio.d.ts +0 -6
  11. package/dist/components/ui/aspect-ratio.js +0 -12
  12. package/dist/components/ui/avatar.d.ts +0 -8
  13. package/dist/components/ui/avatar.js +0 -38
  14. package/dist/components/ui/badge.d.ts +0 -12
  15. package/dist/components/ui/badge.js +0 -37
  16. package/dist/components/ui/breadcrumb.d.ts +0 -13
  17. package/dist/components/ui/breadcrumb.js +0 -90
  18. package/dist/components/ui/button.d.ts +0 -13
  19. package/dist/components/ui/button.js +0 -49
  20. package/dist/components/ui/calendar.d.ts +0 -12
  21. package/dist/components/ui/calendar.js +0 -134
  22. package/dist/components/ui/card.d.ts +0 -11
  23. package/dist/components/ui/card.js +0 -77
  24. package/dist/components/ui/carousel.d.ts +0 -24
  25. package/dist/components/ui/carousel.js +0 -163
  26. package/dist/components/ui/chart.d.ts +0 -43
  27. package/dist/components/ui/chart.js +0 -187
  28. package/dist/components/ui/checkbox.d.ts +0 -6
  29. package/dist/components/ui/checkbox.js +0 -24
  30. package/dist/components/ui/collapsible.d.ts +0 -8
  31. package/dist/components/ui/collapsible.js +0 -24
  32. package/dist/components/ui/command.d.ts +0 -21
  33. package/dist/components/ui/command.js +0 -110
  34. package/dist/components/ui/context-menu.d.ts +0 -27
  35. package/dist/components/ui/context-menu.js +0 -158
  36. package/dist/components/ui/dialog.d.ts +0 -17
  37. package/dist/components/ui/dialog.js +0 -102
  38. package/dist/components/ui/drawer.d.ts +0 -15
  39. package/dist/components/ui/drawer.js +0 -97
  40. package/dist/components/ui/dropdown-menu.d.ts +0 -27
  41. package/dist/components/ui/dropdown-menu.js +0 -160
  42. package/dist/components/ui/form.d.ts +0 -26
  43. package/dist/components/ui/form.js +0 -125
  44. package/dist/components/ui/hover-card.d.ts +0 -8
  45. package/dist/components/ui/hover-card.js +0 -36
  46. package/dist/components/ui/input-otp.d.ts +0 -13
  47. package/dist/components/ui/input-otp.js +0 -61
  48. package/dist/components/ui/input.d.ts +0 -5
  49. package/dist/components/ui/input.js +0 -19
  50. package/dist/components/ui/label.d.ts +0 -6
  51. package/dist/components/ui/label.js +0 -18
  52. package/dist/components/ui/menubar.d.ts +0 -28
  53. package/dist/components/ui/menubar.js +0 -178
  54. package/dist/components/ui/navigation-menu.d.ts +0 -17
  55. package/dist/components/ui/navigation-menu.js +0 -102
  56. package/dist/components/ui/pagination.d.ts +0 -17
  57. package/dist/components/ui/pagination.js +0 -95
  58. package/dist/components/ui/popover.d.ts +0 -9
  59. package/dist/components/ui/popover.js +0 -40
  60. package/dist/components/ui/progress.d.ts +0 -6
  61. package/dist/components/ui/progress.js +0 -25
  62. package/dist/components/ui/radio-group.d.ts +0 -7
  63. package/dist/components/ui/radio-group.js +0 -34
  64. package/dist/components/ui/resizable.d.ts +0 -10
  65. package/dist/components/ui/resizable.js +0 -40
  66. package/dist/components/ui/scroll-area.d.ts +0 -7
  67. package/dist/components/ui/scroll-area.js +0 -37
  68. package/dist/components/ui/select.d.ts +0 -17
  69. package/dist/components/ui/select.js +0 -118
  70. package/dist/components/ui/separator.d.ts +0 -6
  71. package/dist/components/ui/separator.js +0 -22
  72. package/dist/components/ui/sheet.d.ts +0 -15
  73. package/dist/components/ui/sheet.js +0 -101
  74. package/dist/components/ui/sidebar.d.ts +0 -73
  75. package/dist/components/ui/sidebar.js +0 -484
  76. package/dist/components/ui/skeleton.d.ts +0 -5
  77. package/dist/components/ui/skeleton.js +0 -16
  78. package/dist/components/ui/slider.d.ts +0 -6
  79. package/dist/components/ui/slider.js +0 -39
  80. package/dist/components/ui/sonner.d.ts +0 -6
  81. package/dist/components/ui/sonner.js +0 -18
  82. package/dist/components/ui/switch.d.ts +0 -6
  83. package/dist/components/ui/switch.js +0 -21
  84. package/dist/components/ui/table.d.ts +0 -12
  85. package/dist/components/ui/table.js +0 -90
  86. package/dist/components/ui/tabs.d.ts +0 -9
  87. package/dist/components/ui/tabs.js +0 -48
  88. package/dist/components/ui/textarea.d.ts +0 -5
  89. package/dist/components/ui/textarea.js +0 -17
  90. package/dist/components/ui/toggle-group.d.ts +0 -10
  91. package/dist/components/ui/toggle-group.js +0 -52
  92. package/dist/components/ui/toggle.d.ts +0 -12
  93. package/dist/components/ui/toggle.js +0 -42
  94. package/dist/components/ui/tooltip.d.ts +0 -9
  95. package/dist/components/ui/tooltip.js +0 -45
  96. package/dist/index.d.ts +0 -61
  97. package/dist/index.js +0 -47
  98. package/dist/lib/utils.d.ts +0 -5
  99. package/dist/lib/utils.js +0 -8
  100. package/dist/node_modules/@date-fns/tz/date/index.js +0 -101
  101. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -207
  102. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -43
  103. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -11
  104. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -39
  105. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -79
  106. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -321
  107. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -211
  108. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -29
  109. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -207
  110. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -15
  111. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -17
  112. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -130
  113. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -43
  114. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -89
  115. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -12
  116. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -70
  117. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -18
  118. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -7
  119. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -137
  120. package/dist/node_modules/class-variance-authority/dist/index.js +0 -44
  121. package/dist/node_modules/clsx/dist/clsx.js +0 -3
  122. package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.js +0 -3
  123. package/dist/node_modules/cmdk/dist/index.js +0 -10
  124. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
  125. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  126. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -775
  127. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -94
  128. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -66
  129. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -31
  130. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  131. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
  132. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -25
  133. package/dist/node_modules/date-fns/addDays.js +0 -41
  134. package/dist/node_modules/date-fns/addMonths.js +0 -75
  135. package/dist/node_modules/date-fns/addWeeks.js +0 -33
  136. package/dist/node_modules/date-fns/addYears.js +0 -33
  137. package/dist/node_modules/date-fns/constants.js +0 -46
  138. package/dist/node_modules/date-fns/constructFrom.js +0 -49
  139. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -62
  140. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -42
  141. package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -65
  142. package/dist/node_modules/date-fns/endOfISOWeek.js +0 -35
  143. package/dist/node_modules/date-fns/endOfMonth.js +0 -37
  144. package/dist/node_modules/date-fns/endOfWeek.js +0 -53
  145. package/dist/node_modules/date-fns/endOfYear.js +0 -37
  146. package/dist/node_modules/date-fns/format.js +0 -423
  147. package/dist/node_modules/date-fns/getDayOfYear.js +0 -34
  148. package/dist/node_modules/date-fns/getDaysInMonth.js +0 -36
  149. package/dist/node_modules/date-fns/getISOWeek.js +0 -40
  150. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -52
  151. package/dist/node_modules/date-fns/getMonth.js +0 -29
  152. package/dist/node_modules/date-fns/getWeek.js +0 -54
  153. package/dist/node_modules/date-fns/getWeekYear.js +0 -75
  154. package/dist/node_modules/date-fns/getYear.js +0 -29
  155. package/dist/node_modules/date-fns/isAfter.js +0 -25
  156. package/dist/node_modules/date-fns/isBefore.js +0 -25
  157. package/dist/node_modules/date-fns/isDate.js +0 -41
  158. package/dist/node_modules/date-fns/isSameDay.js +0 -46
  159. package/dist/node_modules/date-fns/isSameMonth.js +0 -43
  160. package/dist/node_modules/date-fns/isSameYear.js +0 -35
  161. package/dist/node_modules/date-fns/isValid.js +0 -39
  162. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  163. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -64
  164. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -59
  165. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -22
  166. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -103
  167. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -41
  168. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -13
  169. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -189
  170. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -134
  171. package/dist/node_modules/date-fns/locale/en-US.js +0 -28
  172. package/dist/node_modules/date-fns/max.js +0 -49
  173. package/dist/node_modules/date-fns/min.js +0 -49
  174. package/dist/node_modules/date-fns/setMonth.js +0 -46
  175. package/dist/node_modules/date-fns/setYear.js +0 -40
  176. package/dist/node_modules/date-fns/startOfDay.js +0 -35
  177. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -35
  178. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -42
  179. package/dist/node_modules/date-fns/startOfMonth.js +0 -37
  180. package/dist/node_modules/date-fns/startOfWeek.js +0 -53
  181. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -64
  182. package/dist/node_modules/date-fns/startOfYear.js +0 -36
  183. package/dist/node_modules/date-fns/toDate.js +0 -46
  184. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1669
  185. package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +0 -37
  186. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -38
  187. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -8
  188. package/dist/node_modules/input-otp/dist/index.js +0 -24
  189. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -285
  190. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -122
  191. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -30
  192. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -14
  193. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -13
  194. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -522
  195. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -13
  196. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -13
  197. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  198. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -18
  199. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -19
  200. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -21
  201. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -13
  202. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -13
  203. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -15
  204. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -14
  205. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -13
  206. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -13
  207. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -15
  208. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -31
  209. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -15
  210. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -13
  211. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -15
  212. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -14
  213. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -13
  214. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -14
  215. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -14
  216. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -13
  217. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -13
  218. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -14
  219. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -13
  220. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -15
  221. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -26
  222. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -25
  223. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -19
  224. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -18
  225. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -21
  226. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -13
  227. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -19
  228. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -23
  229. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -7
  230. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -73
  231. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -95
  232. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -22
  233. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -28
  234. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -33
  235. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -20
  236. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -27
  237. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -51
  238. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -19
  239. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -33
  240. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -24
  241. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -46
  242. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -24
  243. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -28
  244. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -33
  245. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -69
  246. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -51
  247. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -39
  248. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -36
  249. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -37
  250. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -27
  251. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -24
  252. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -14
  253. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -38
  254. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -27
  255. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -31
  256. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -11
  257. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -32
  258. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -24
  259. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -22
  260. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -14
  261. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -13
  262. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -15
  263. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -15
  264. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -15
  265. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -14
  266. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -18
  267. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -14
  268. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -57
  269. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -45
  270. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -44
  271. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -175
  272. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -85
  273. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -25
  274. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -50
  275. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -31
  276. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -92
  277. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -62
  278. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -30
  279. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -74
  280. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -35
  281. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -21
  282. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -66
  283. package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -507
  284. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -9
  285. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -160
  286. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -38
  287. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -21
  288. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -110
  289. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  290. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  291. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -56
  292. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -10
  293. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -31
  294. package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.js +0 -2407
  295. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -19
  296. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -25
  297. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -51
  298. package/dist/node_modules/sonner/dist/index.js +0 -1125
  299. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2956
  300. package/dist/node_modules/tslib/tslib.es6.js +0 -56
  301. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -24
  302. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -48
  303. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -42
  304. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -21
  305. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -77
  306. package/dist/node_modules/vaul/dist/index.js +0 -1627
  307. package/dist/styles.css +0 -1
@@ -1,46 +0,0 @@
1
- import { constructFrom } from './constructFrom.js';
2
- import { getDaysInMonth } from './getDaysInMonth.js';
3
- import { toDate } from './toDate.js';
4
-
5
- /**
6
- * The {@link setMonth} function options.
7
- */
8
-
9
- /**
10
- * @name setMonth
11
- * @category Month Helpers
12
- * @summary Set the month to the given date.
13
- *
14
- * @description
15
- * Set the month to the given date.
16
- *
17
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
18
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
19
- *
20
- * @param date - The date to be changed
21
- * @param month - The month index to set (0-11)
22
- * @param options - The options
23
- *
24
- * @returns The new date with the month set
25
- *
26
- * @example
27
- * // Set February to 1 September 2014:
28
- * const result = setMonth(new Date(2014, 8, 1), 1)
29
- * //=> Sat Feb 01 2014 00:00:00
30
- */
31
- function setMonth(date, month, options) {
32
- const _date = toDate(date, options?.in);
33
- const year = _date.getFullYear();
34
- const day = _date.getDate();
35
-
36
- const midMonth = constructFrom(date, 0);
37
- midMonth.setFullYear(year, month, 15);
38
- midMonth.setHours(0, 0, 0, 0);
39
- const daysInMonth = getDaysInMonth(midMonth);
40
-
41
- // Set the earlier date, allows to wrap Jan 31 to Feb 28
42
- _date.setMonth(month, Math.min(day, daysInMonth));
43
- return _date;
44
- }
45
-
46
- export { setMonth as default, setMonth };
@@ -1,40 +0,0 @@
1
- import { constructFrom } from './constructFrom.js';
2
- import { toDate } from './toDate.js';
3
-
4
- /**
5
- * The {@link setYear} function options.
6
- */
7
-
8
- /**
9
- * @name setYear
10
- * @category Year Helpers
11
- * @summary Set the year to the given date.
12
- *
13
- * @description
14
- * Set the year to the given date.
15
- *
16
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
17
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
18
- *
19
- * @param date - The date to be changed
20
- * @param year - The year of the new date
21
- * @param options - An object with options.
22
- *
23
- * @returns The new date with the year set
24
- *
25
- * @example
26
- * // Set year 2013 to 1 September 2014:
27
- * const result = setYear(new Date(2014, 8, 1), 2013)
28
- * //=> Sun Sep 01 2013 00:00:00
29
- */
30
- function setYear(date, year, options) {
31
- const date_ = toDate(date, options?.in);
32
-
33
- // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date
34
- if (isNaN(+date_)) return constructFrom(date, NaN);
35
-
36
- date_.setFullYear(year);
37
- return date_;
38
- }
39
-
40
- export { setYear as default, setYear };
@@ -1,35 +0,0 @@
1
- import { toDate } from './toDate.js';
2
-
3
- /**
4
- * The {@link startOfDay} function options.
5
- */
6
-
7
- /**
8
- * @name startOfDay
9
- * @category Day Helpers
10
- * @summary Return the start of a day for the given date.
11
- *
12
- * @description
13
- * Return the start of a day for the given date.
14
- * The result will be in the local timezone.
15
- *
16
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
17
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
18
- *
19
- * @param date - The original date
20
- * @param options - The options
21
- *
22
- * @returns The start of a day
23
- *
24
- * @example
25
- * // The start of a day for 2 September 2014 11:55:00:
26
- * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))
27
- * //=> Tue Sep 02 2014 00:00:00
28
- */
29
- function startOfDay(date, options) {
30
- const _date = toDate(date, options?.in);
31
- _date.setHours(0, 0, 0, 0);
32
- return _date;
33
- }
34
-
35
- export { startOfDay as default, startOfDay };
@@ -1,35 +0,0 @@
1
- import { startOfWeek } from './startOfWeek.js';
2
-
3
- /**
4
- * The {@link startOfISOWeek} function options.
5
- */
6
-
7
- /**
8
- * @name startOfISOWeek
9
- * @category ISO Week Helpers
10
- * @summary Return the start of an ISO week for the given date.
11
- *
12
- * @description
13
- * Return the start of an ISO week for the given date.
14
- * The result will be in the local timezone.
15
- *
16
- * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
17
- *
18
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
19
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
20
- *
21
- * @param date - The original date
22
- * @param options - An object with options
23
- *
24
- * @returns The start of an ISO week
25
- *
26
- * @example
27
- * // The start of an ISO week for 2 September 2014 11:55:00:
28
- * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))
29
- * //=> Mon Sep 01 2014 00:00:00
30
- */
31
- function startOfISOWeek(date, options) {
32
- return startOfWeek(date, { ...options, weekStartsOn: 1 });
33
- }
34
-
35
- export { startOfISOWeek as default, startOfISOWeek };
@@ -1,42 +0,0 @@
1
- import { constructFrom } from './constructFrom.js';
2
- import { getISOWeekYear } from './getISOWeekYear.js';
3
- import { startOfISOWeek } from './startOfISOWeek.js';
4
-
5
- /**
6
- * The {@link startOfISOWeekYear} function options.
7
- */
8
-
9
- /**
10
- * @name startOfISOWeekYear
11
- * @category ISO Week-Numbering Year Helpers
12
- * @summary Return the start of an ISO week-numbering year for the given date.
13
- *
14
- * @description
15
- * Return the start of an ISO week-numbering year,
16
- * which always starts 3 days before the year's first Thursday.
17
- * The result will be in the local timezone.
18
- *
19
- * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
20
- *
21
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
22
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
23
- *
24
- * @param date - The original date
25
- * @param options - An object with options
26
- *
27
- * @returns The start of an ISO week-numbering year
28
- *
29
- * @example
30
- * // The start of an ISO week-numbering year for 2 July 2005:
31
- * const result = startOfISOWeekYear(new Date(2005, 6, 2))
32
- * //=> Mon Jan 03 2005 00:00:00
33
- */
34
- function startOfISOWeekYear(date, options) {
35
- const year = getISOWeekYear(date, options);
36
- const fourthOfJanuary = constructFrom(date, 0);
37
- fourthOfJanuary.setFullYear(year, 0, 4);
38
- fourthOfJanuary.setHours(0, 0, 0, 0);
39
- return startOfISOWeek(fourthOfJanuary);
40
- }
41
-
42
- export { startOfISOWeekYear as default, startOfISOWeekYear };
@@ -1,37 +0,0 @@
1
- import { toDate } from './toDate.js';
2
-
3
- /**
4
- * The {@link startOfMonth} function options.
5
- */
6
-
7
- /**
8
- * @name startOfMonth
9
- * @category Month Helpers
10
- * @summary Return the start of a month for the given date.
11
- *
12
- * @description
13
- * Return the start of a month for the given date. The result will be in the local timezone.
14
- *
15
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments.
16
- * Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
17
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed,
18
- * or inferred from the arguments.
19
- *
20
- * @param date - The original date
21
- * @param options - An object with options
22
- *
23
- * @returns The start of a month
24
- *
25
- * @example
26
- * // The start of a month for 2 September 2014 11:55:00:
27
- * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))
28
- * //=> Mon Sep 01 2014 00:00:00
29
- */
30
- function startOfMonth(date, options) {
31
- const _date = toDate(date, options?.in);
32
- _date.setDate(1);
33
- _date.setHours(0, 0, 0, 0);
34
- return _date;
35
- }
36
-
37
- export { startOfMonth as default, startOfMonth };
@@ -1,53 +0,0 @@
1
- import { getDefaultOptions } from './_lib/defaultOptions.js';
2
- import { toDate } from './toDate.js';
3
-
4
- /**
5
- * The {@link startOfWeek} function options.
6
- */
7
-
8
- /**
9
- * @name startOfWeek
10
- * @category Week Helpers
11
- * @summary Return the start of a week for the given date.
12
- *
13
- * @description
14
- * Return the start of a week for the given date.
15
- * The result will be in the local timezone.
16
- *
17
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
18
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
19
- *
20
- * @param date - The original date
21
- * @param options - An object with options
22
- *
23
- * @returns The start of a week
24
- *
25
- * @example
26
- * // The start of a week for 2 September 2014 11:55:00:
27
- * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))
28
- * //=> Sun Aug 31 2014 00:00:00
29
- *
30
- * @example
31
- * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:
32
- * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })
33
- * //=> Mon Sep 01 2014 00:00:00
34
- */
35
- function startOfWeek(date, options) {
36
- const defaultOptions = getDefaultOptions();
37
- const weekStartsOn =
38
- options?.weekStartsOn ??
39
- options?.locale?.options?.weekStartsOn ??
40
- defaultOptions.weekStartsOn ??
41
- defaultOptions.locale?.options?.weekStartsOn ??
42
- 0;
43
-
44
- const _date = toDate(date, options?.in);
45
- const day = _date.getDay();
46
- const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
47
-
48
- _date.setDate(_date.getDate() - diff);
49
- _date.setHours(0, 0, 0, 0);
50
- return _date;
51
- }
52
-
53
- export { startOfWeek as default, startOfWeek };
@@ -1,64 +0,0 @@
1
- import { getDefaultOptions } from './_lib/defaultOptions.js';
2
- import { constructFrom } from './constructFrom.js';
3
- import { getWeekYear } from './getWeekYear.js';
4
- import { startOfWeek } from './startOfWeek.js';
5
-
6
- /**
7
- * The {@link startOfWeekYear} function options.
8
- */
9
-
10
- /**
11
- * @name startOfWeekYear
12
- * @category Week-Numbering Year Helpers
13
- * @summary Return the start of a local week-numbering year for the given date.
14
- *
15
- * @description
16
- * Return the start of a local week-numbering year.
17
- * The exact calculation depends on the values of
18
- * `options.weekStartsOn` (which is the index of the first day of the week)
19
- * and `options.firstWeekContainsDate` (which is the day of January, which is always in
20
- * the first week of the week-numbering year)
21
- *
22
- * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system
23
- *
24
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25
- * @typeParam ResultDate - The result `Date` type.
26
- *
27
- * @param date - The original date
28
- * @param options - An object with options
29
- *
30
- * @returns The start of a week-numbering year
31
- *
32
- * @example
33
- * // The start of an a week-numbering year for 2 July 2005 with default settings:
34
- * const result = startOfWeekYear(new Date(2005, 6, 2))
35
- * //=> Sun Dec 26 2004 00:00:00
36
- *
37
- * @example
38
- * // The start of a week-numbering year for 2 July 2005
39
- * // if Monday is the first day of week
40
- * // and 4 January is always in the first week of the year:
41
- * const result = startOfWeekYear(new Date(2005, 6, 2), {
42
- * weekStartsOn: 1,
43
- * firstWeekContainsDate: 4
44
- * })
45
- * //=> Mon Jan 03 2005 00:00:00
46
- */
47
- function startOfWeekYear(date, options) {
48
- const defaultOptions = getDefaultOptions();
49
- const firstWeekContainsDate =
50
- options?.firstWeekContainsDate ??
51
- options?.locale?.options?.firstWeekContainsDate ??
52
- defaultOptions.firstWeekContainsDate ??
53
- defaultOptions.locale?.options?.firstWeekContainsDate ??
54
- 1;
55
-
56
- const year = getWeekYear(date, options);
57
- const firstWeek = constructFrom(options?.in || date, 0);
58
- firstWeek.setFullYear(year, 0, firstWeekContainsDate);
59
- firstWeek.setHours(0, 0, 0, 0);
60
- const _date = startOfWeek(firstWeek, options);
61
- return _date;
62
- }
63
-
64
- export { startOfWeekYear as default, startOfWeekYear };
@@ -1,36 +0,0 @@
1
- import { toDate } from './toDate.js';
2
-
3
- /**
4
- * The {@link startOfYear} function options.
5
- */
6
-
7
- /**
8
- * @name startOfYear
9
- * @category Year Helpers
10
- * @summary Return the start of a year for the given date.
11
- *
12
- * @description
13
- * Return the start of a year for the given date.
14
- * The result will be in the local timezone.
15
- *
16
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
17
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
18
- *
19
- * @param date - The original date
20
- * @param options - The options
21
- *
22
- * @returns The start of a year
23
- *
24
- * @example
25
- * // The start of a year for 2 September 2014 11:55:00:
26
- * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))
27
- * //=> Wed Jan 01 2014 00:00:00
28
- */
29
- function startOfYear(date, options) {
30
- const date_ = toDate(date, options?.in);
31
- date_.setFullYear(date_.getFullYear(), 0, 1);
32
- date_.setHours(0, 0, 0, 0);
33
- return date_;
34
- }
35
-
36
- export { startOfYear as default, startOfYear };
@@ -1,46 +0,0 @@
1
- import { constructFrom } from './constructFrom.js';
2
-
3
- /**
4
- * @name toDate
5
- * @category Common Helpers
6
- * @summary Convert the given argument to an instance of Date.
7
- *
8
- * @description
9
- * Convert the given argument to an instance of Date.
10
- *
11
- * If the argument is an instance of Date, the function returns its clone.
12
- *
13
- * If the argument is a number, it is treated as a timestamp.
14
- *
15
- * If the argument is none of the above, the function returns Invalid Date.
16
- *
17
- * Starting from v3.7.0, it clones a date using `[Symbol.for("constructDateFrom")]`
18
- * enabling to transfer extra properties from the reference date to the new date.
19
- * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)
20
- * that accept a time zone as a constructor argument.
21
- *
22
- * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
23
- *
24
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
26
- *
27
- * @param argument - The value to convert
28
- *
29
- * @returns The parsed date in the local time zone
30
- *
31
- * @example
32
- * // Clone the date:
33
- * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
34
- * //=> Tue Feb 11 2014 11:30:30
35
- *
36
- * @example
37
- * // Convert the timestamp to date:
38
- * const result = toDate(1392098430000)
39
- * //=> Tue Feb 11 2014 11:30:30
40
- */
41
- function toDate(argument, context) {
42
- // [TODO] Get rid of `toDate` or `constructFrom`?
43
- return constructFrom(context || argument, argument);
44
- }
45
-
46
- export { toDate as default, toDate };