lsp-uikit 1.2.7 → 1.3.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 (336) hide show
  1. package/dist/components/accordion/accordion.d.ts +10 -0
  2. package/dist/components/accordion/accordion.js +2 -0
  3. package/dist/components/alert/alert.d.ts +13 -0
  4. package/dist/components/alert/alert.js +1 -0
  5. package/dist/components/badge/badge.d.ts +18 -0
  6. package/dist/components/badge/badge.js +1 -0
  7. package/dist/components/button/button.d.ts +18 -0
  8. package/dist/components/button/button.js +1 -0
  9. package/dist/components/calendar/calendar.d.ts +50 -0
  10. package/dist/components/calendar/calendar.js +2 -0
  11. package/dist/components/card/card.d.ts +12 -0
  12. package/dist/components/card/card.js +1 -0
  13. package/dist/components/chart/chart.js +2 -0
  14. package/dist/components/checkbox/checkbox.d.ts +9 -0
  15. package/dist/components/checkbox/checkbox.js +2 -0
  16. package/dist/components/checked-value/checked-value.d.ts +11 -0
  17. package/dist/components/checked-value/checked-value.js +1 -0
  18. package/dist/components/date-range-picker/date-range-picker.d.ts +17 -0
  19. package/dist/components/date-range-picker/date-range-picker.js +2 -0
  20. package/dist/components/dialog/dialog.d.ts +21 -0
  21. package/dist/components/dialog/dialog.js +2 -0
  22. package/dist/components/drawer/drawer.js +2 -0
  23. package/dist/components/dropdown/dropdown.d.ts +28 -0
  24. package/dist/components/dropdown/dropdown.js +2 -0
  25. package/dist/components/field-value/field-value.d.ts +14 -0
  26. package/dist/components/field-value/field-value.js +2 -0
  27. package/dist/components/hover-card/hover-card.d.ts +9 -0
  28. package/dist/components/hover-card/hover-card.js +2 -0
  29. package/dist/components/input/form-input.d.ts +10 -0
  30. package/dist/components/input/form-input.js +1 -0
  31. package/dist/components/input/input.d.ts +8 -0
  32. package/dist/components/input/input.js +1 -0
  33. package/dist/components/label/label.d.ts +7 -0
  34. package/dist/components/label/label.js +2 -0
  35. package/dist/components/loader/loader.d.ts +12 -0
  36. package/dist/components/loader/loader.js +1 -0
  37. package/dist/components/numeric-input/numeric-input.d.ts +11 -0
  38. package/dist/components/numeric-input/numeric-input.js +1 -0
  39. package/dist/components/pagination/pagination.d.ts +26 -0
  40. package/dist/components/pagination/pagination.js +1 -0
  41. package/dist/components/popover/popover.d.ts +10 -0
  42. package/dist/components/popover/popover.js +2 -0
  43. package/dist/components/progress/progress.d.ts +7 -0
  44. package/dist/components/progress/progress.js +2 -0
  45. package/dist/components/r-dialog/r-dialog.d.ts +20 -0
  46. package/dist/components/r-dialog/r-dialog.js +2 -0
  47. package/dist/components/radio-group/radio-group.d.ts +8 -0
  48. package/dist/components/radio-group/radio-group.js +2 -0
  49. package/dist/components/scroll-area/scroll-area.d.ts +9 -0
  50. package/dist/components/scroll-area/scroll-area.js +2 -0
  51. package/dist/components/select/select.d.ts +18 -0
  52. package/dist/components/select/select.js +2 -0
  53. package/dist/components/separator/separator.d.ts +7 -0
  54. package/dist/components/separator/separator.js +2 -0
  55. package/dist/components/shadcn-table/shadcn-table.d.ts +15 -0
  56. package/dist/components/shadcn-table/shadcn-table.js +2 -0
  57. package/dist/components/sheet/sheet.d.ts +17 -0
  58. package/dist/components/sheet/sheet.js +2 -0
  59. package/dist/components/sidebar/sidebar.d.ts +73 -0
  60. package/dist/components/sidebar/sidebar.js +2 -0
  61. package/dist/components/skeleton/skeleton.d.ts +5 -0
  62. package/dist/components/skeleton/skeleton.js +1 -0
  63. package/dist/components/sonner/sonner.d.ts +8 -0
  64. package/dist/components/sonner/sonner.js +2 -0
  65. package/dist/components/stack/stack.d.ts +12 -0
  66. package/dist/components/stack/stack.js +1 -0
  67. package/dist/components/switch/switch.d.ts +12 -0
  68. package/dist/components/switch/switch.js +2 -0
  69. package/dist/components/table/table.d.ts +27 -0
  70. package/dist/components/table/table.js +1 -0
  71. package/dist/components/tabs/tabs.d.ts +10 -0
  72. package/dist/components/tabs/tabs.js +2 -0
  73. package/dist/components/text/text.d.ts +17 -0
  74. package/dist/components/text/text.js +1 -0
  75. package/dist/components/textarea/textarea.d.ts +12 -0
  76. package/dist/components/textarea/textarea.js +1 -0
  77. package/dist/components/toggle/toggle.d.ts +13 -0
  78. package/dist/components/toggle/toggle.js +2 -0
  79. package/dist/components/tooltip/tooltip.d.ts +10 -0
  80. package/dist/components/tooltip/tooltip.js +2 -0
  81. package/dist/index.d.ts +40 -436
  82. package/dist/index.js +1 -3
  83. package/dist/lib/hooks/index.d.ts +1 -4
  84. package/dist/lib/hooks/index.js +2 -2
  85. package/dist/lib/hooks/useMobile.d.ts +4 -0
  86. package/dist/lib/hooks/useMobile.js +2 -0
  87. package/dist/lib/utils/cn.d.ts +5 -0
  88. package/dist/lib/utils/cn.js +1 -0
  89. package/dist/lib/utils/digits.js +1 -0
  90. package/dist/lib/utils/events.js +1 -0
  91. package/dist/lib/utils/index.d.ts +1 -5
  92. package/dist/lib/utils/index.js +1 -2
  93. package/dist/node_modules/@date-fns/tz/date/index.js +1 -0
  94. package/dist/node_modules/@date-fns/tz/date/mini.js +1 -0
  95. package/dist/node_modules/@date-fns/tz/tzName/index.js +1 -0
  96. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +1 -0
  97. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -0
  98. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -0
  99. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +1 -0
  100. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +1 -0
  101. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +1 -0
  102. package/dist/node_modules/@radix-ui/number/dist/index.js +1 -0
  103. package/dist/node_modules/@radix-ui/primitive/dist/index.js +1 -0
  104. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +1 -0
  105. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +1 -0
  106. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +1 -0
  107. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +1 -0
  108. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +1 -0
  109. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +1 -0
  110. package/dist/node_modules/@radix-ui/react-context/dist/index.js +1 -0
  111. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +1 -0
  112. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +1 -0
  113. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +1 -0
  114. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +1 -0
  115. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +1 -0
  116. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +1 -0
  117. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +1 -0
  118. package/dist/node_modules/@radix-ui/react-id/dist/index.js +1 -0
  119. package/dist/node_modules/@radix-ui/react-label/dist/index.js +1 -0
  120. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +1 -0
  121. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +1 -0
  122. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +1 -0
  123. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +1 -0
  124. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +1 -0
  125. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +1 -0
  126. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +1 -0
  127. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +1 -0
  128. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +1 -0
  129. package/dist/node_modules/@radix-ui/react-select/dist/index.js +1 -0
  130. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +1 -0
  131. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +1 -0
  132. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +1 -0
  133. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +1 -0
  134. package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +1 -0
  135. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +1 -0
  136. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +1 -0
  137. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +1 -0
  138. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +1 -0
  139. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +1 -0
  140. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +1 -0
  141. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +1 -0
  142. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +1 -0
  143. package/dist/node_modules/aria-hidden/dist/es2015/index.js +1 -0
  144. package/dist/node_modules/class-variance-authority/dist/index.js +1 -0
  145. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +1 -0
  146. package/dist/node_modules/date-fns/_lib/defaultOptions.js +1 -0
  147. package/dist/node_modules/date-fns/_lib/format/formatters.js +1 -0
  148. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +1 -0
  149. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +1 -0
  150. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +1 -0
  151. package/dist/node_modules/date-fns/_lib/normalizeDates.js +1 -0
  152. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +1 -0
  153. package/dist/node_modules/date-fns/_lib/protectedTokens.js +1 -0
  154. package/dist/node_modules/date-fns/addDays.js +1 -0
  155. package/dist/node_modules/date-fns/addMonths.js +1 -0
  156. package/dist/node_modules/date-fns/addWeeks.js +1 -0
  157. package/dist/node_modules/date-fns/addYears.js +1 -0
  158. package/dist/node_modules/date-fns/constants.js +1 -0
  159. package/dist/node_modules/date-fns/constructFrom.js +1 -0
  160. package/dist/node_modules/date-fns/differenceInCalendarDays.js +1 -0
  161. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +1 -0
  162. package/dist/node_modules/date-fns/eachMonthOfInterval.js +1 -0
  163. package/dist/node_modules/date-fns/endOfISOWeek.js +1 -0
  164. package/dist/node_modules/date-fns/endOfMonth.js +1 -0
  165. package/dist/node_modules/date-fns/endOfWeek.js +1 -0
  166. package/dist/node_modules/date-fns/endOfYear.js +1 -0
  167. package/dist/node_modules/date-fns/format.js +1 -0
  168. package/dist/node_modules/date-fns/getDayOfYear.js +1 -0
  169. package/dist/node_modules/date-fns/getDaysInMonth.js +1 -0
  170. package/dist/node_modules/date-fns/getISOWeek.js +1 -0
  171. package/dist/node_modules/date-fns/getISOWeekYear.js +1 -0
  172. package/dist/node_modules/date-fns/getMonth.js +1 -0
  173. package/dist/node_modules/date-fns/getWeek.js +1 -0
  174. package/dist/node_modules/date-fns/getWeekYear.js +1 -0
  175. package/dist/node_modules/date-fns/getYear.js +1 -0
  176. package/dist/node_modules/date-fns/isAfter.js +1 -0
  177. package/dist/node_modules/date-fns/isBefore.js +1 -0
  178. package/dist/node_modules/date-fns/isDate.js +1 -0
  179. package/dist/node_modules/date-fns/isSameDay.js +1 -0
  180. package/dist/node_modules/date-fns/isSameMonth.js +1 -0
  181. package/dist/node_modules/date-fns/isSameWeek.js +1 -0
  182. package/dist/node_modules/date-fns/isSameYear.js +1 -0
  183. package/dist/node_modules/date-fns/isValid.js +1 -0
  184. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +1 -0
  185. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +1 -0
  186. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +1 -0
  187. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +1 -0
  188. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +1 -0
  189. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +1 -0
  190. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +1 -0
  191. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +1 -0
  192. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +1 -0
  193. package/dist/node_modules/date-fns/locale/en-US.js +1 -0
  194. package/dist/node_modules/date-fns/locale/ru/_lib/formatDistance.js +1 -0
  195. package/dist/node_modules/date-fns/locale/ru/_lib/formatLong.js +1 -0
  196. package/dist/node_modules/date-fns/locale/ru/_lib/formatRelative.js +1 -0
  197. package/dist/node_modules/date-fns/locale/ru/_lib/localize.js +1 -0
  198. package/dist/node_modules/date-fns/locale/ru/_lib/match.js +1 -0
  199. package/dist/node_modules/date-fns/locale/ru.js +1 -0
  200. package/dist/node_modules/date-fns/max.js +1 -0
  201. package/dist/node_modules/date-fns/min.js +1 -0
  202. package/dist/node_modules/date-fns/setMonth.js +1 -0
  203. package/dist/node_modules/date-fns/setYear.js +1 -0
  204. package/dist/node_modules/date-fns/startOfDay.js +1 -0
  205. package/dist/node_modules/date-fns/startOfISOWeek.js +1 -0
  206. package/dist/node_modules/date-fns/startOfISOWeekYear.js +1 -0
  207. package/dist/node_modules/date-fns/startOfMonth.js +1 -0
  208. package/dist/node_modules/date-fns/startOfWeek.js +1 -0
  209. package/dist/node_modules/date-fns/startOfWeekYear.js +1 -0
  210. package/dist/node_modules/date-fns/startOfYear.js +1 -0
  211. package/dist/node_modules/date-fns/subDays.js +1 -0
  212. package/dist/node_modules/date-fns/toDate.js +1 -0
  213. package/dist/node_modules/get-nonce/dist/es2015/index.js +1 -0
  214. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +1 -0
  215. package/dist/node_modules/react-day-picker/dist/esm/UI.js +1 -0
  216. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +1 -0
  217. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +1 -0
  218. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +1 -0
  219. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +1 -0
  220. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +1 -0
  221. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +1 -0
  222. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +1 -0
  223. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +1 -0
  224. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +1 -0
  225. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +1 -0
  226. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +1 -0
  227. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +1 -0
  228. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +1 -0
  229. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +1 -0
  230. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +1 -0
  231. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +1 -0
  232. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +1 -0
  233. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +1 -0
  234. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +1 -0
  235. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +1 -0
  236. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +1 -0
  237. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +1 -0
  238. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +1 -0
  239. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +1 -0
  240. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +1 -0
  241. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +1 -0
  242. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +1 -0
  243. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +1 -0
  244. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +1 -0
  245. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +1 -0
  246. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +1 -0
  247. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +1 -0
  248. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +1 -0
  249. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +1 -0
  250. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +1 -0
  251. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +1 -0
  252. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +1 -0
  253. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +1 -0
  254. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +1 -0
  255. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +1 -0
  256. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +1 -0
  257. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +1 -0
  258. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +1 -0
  259. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +1 -0
  260. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +1 -0
  261. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +1 -0
  262. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +1 -0
  263. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +1 -0
  264. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +1 -0
  265. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +1 -0
  266. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +1 -0
  267. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +1 -0
  268. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +1 -0
  269. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +1 -0
  270. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +1 -0
  271. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +1 -0
  272. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +1 -0
  273. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +1 -0
  274. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +1 -0
  275. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +1 -0
  276. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +1 -0
  277. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +1 -0
  278. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +1 -0
  279. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +1 -0
  280. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +1 -0
  281. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +1 -0
  282. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +1 -0
  283. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +1 -0
  284. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +1 -0
  285. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +1 -0
  286. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +1 -0
  287. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +1 -0
  288. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +1 -0
  289. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +1 -0
  290. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +1 -0
  291. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +1 -0
  292. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +1 -0
  293. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +1 -0
  294. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +1 -0
  295. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +1 -0
  296. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +1 -0
  297. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +1 -0
  298. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +1 -0
  299. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +1 -0
  300. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +1 -0
  301. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +1 -0
  302. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +1 -0
  303. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +1 -0
  304. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +1 -0
  305. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +1 -0
  306. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +1 -0
  307. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +1 -0
  308. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +1 -0
  309. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +1 -0
  310. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +1 -0
  311. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +1 -0
  312. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +1 -0
  313. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +1 -0
  314. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +1 -0
  315. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +1 -0
  316. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +1 -0
  317. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +1 -0
  318. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +1 -0
  319. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +1 -0
  320. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +1 -0
  321. package/dist/node_modules/sonner/dist/index.js +1 -0
  322. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -0
  323. package/dist/node_modules/tslib/tslib.es6.js +1 -0
  324. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +1 -0
  325. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +1 -0
  326. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +1 -0
  327. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +1 -0
  328. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +1 -0
  329. package/dist/node_modules/vaul/dist/index.js +1 -0
  330. package/package.json +173 -11
  331. package/dist/chart.js +0 -3
  332. package/dist/chart.js.map +0 -1
  333. package/dist/index.js.map +0 -1
  334. package/dist/lib/hooks/index.js.map +0 -1
  335. package/dist/lib/utils/index.js.map +0 -1
  336. /package/dist/{chart.d.ts → components/chart/chart.d.ts} +0 -0
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
+ import * as React from 'react';
4
+
5
+ declare function Accordion({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
6
+ declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
7
+ declare function AccordionTrigger({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
8
+ declare function AccordionContent({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
9
+
10
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{Root as n,Item as a,Header as o,Trigger as r,Content as i}from"../../node_modules/@radix-ui/react-accordion/dist/index.js";import{ChevronDownIcon as s}from"lucide-react";import{cn as d}from"../../lib/utils/cn.js";function c({...t}){return e(n,{"data-slot":"accordion",...t})}function l({className:t,...n}){return e(a,{"data-slot":"accordion-item",className:d("border-b last:border-b-0",t),...n})}function m({className:n,children:a,...i}){return e(o,{className:"flex",children:t(r,{"data-slot":"accordion-trigger",className:d("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",n),...i,children:[a,e(s,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function u({className:t,children:n,...a}){return e(i,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...a,children:e("div",{className:d("pt-0 pb-4",t),children:n})})}export{c as Accordion,u as AccordionContent,l as AccordionItem,m as AccordionTrigger};
@@ -0,0 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import * as React from 'react';
5
+
6
+ declare const alertVariants: (props?: ({
7
+ variant?: "default" | "destructive" | "warning" | "success" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ declare function Alert({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
10
+ declare function AlertTitle({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
11
+ declare function AlertDescription({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
12
+
13
+ export { Alert, AlertDescription, AlertTitle, alertVariants };
@@ -0,0 +1 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{cva as a}from"../../node_modules/class-variance-authority/dist/index.js";import{cn as e}from"../../lib/utils/cn.js";const t=a("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-red-200 bg-red-100/50 dark:bg-red-900/50 dark:border-red-400/50",warning:"border-orange-200 bg-orange-100/50 dark:bg-orange-900/20 dark:border-orange-400/20",success:"border-green-200 bg-green-100/50 dark:bg-green-900/50 dark:border-green-400/50"}},defaultVariants:{variant:"default"}});function s({className:a,variant:s,...d}){return r("div",{"data-slot":"alert",role:"alert",className:e(t({variant:s}),a),...d})}function d({className:a,...t}){return r("div",{"data-slot":"alert-title",className:e("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",a),...t})}function n({className:a,...t}){return r("div",{"data-slot":"alert-description",className:e("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",a),...t})}export{s as Alert,n as AlertDescription,d as AlertTitle,t as alertVariants};
@@ -0,0 +1,18 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import * as React from 'react';
5
+
6
+ declare const badgeVariants: (props?: ({
7
+ variant?: "destructive" | "outline" | "secondary" | "success" | "primary" | "primary_outline" | "success_outline" | "purple" | "purple_outline" | "destructive_outline" | null | undefined;
8
+ rounded?: "sm" | "md" | "full" | null | undefined;
9
+ textOverflow?: "default" | "hidden" | null | undefined;
10
+ hover?: boolean | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ type BadgeProps = React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
13
+ asChild?: boolean;
14
+ };
15
+ declare function Badge({ className, variant, textOverflow, hover, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
16
+
17
+ export { Badge, badgeVariants };
18
+ export type { BadgeProps };
@@ -0,0 +1 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{Root as e}from"../../node_modules/@radix-ui/react-slot/dist/index.js";import{cva as t}from"../../node_modules/class-variance-authority/dist/index.js";import{cn as i}from"../../lib/utils/cn.js";const o=t("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{primary:"border-transparent text-primary-foreground bg-blue-500",primary_outline:"border-primary/50 text-primary dark:border-primary bg-blue-100/50 dark:bg-blue-600/70 dark:text-primary-foreground",success:"border-transparent text-primary-foreground bg-green-500",success_outline:"border-green-300 dark:border-green-700 bg-green-100/50 dark:bg-green-700/70 dark:text-primary-foreground",purple:"border-transparent text-primary-foreground bg-purple-500",purple_outline:"border-purple-300 dark:border-transparent bg-purple-100/50 dark:bg-purple-500 text-purple-800 dark:text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent text-white bg-destructive",destructive_outline:"border-destructive/60 dark:border-destructive bg-destructive/20 dark:bg-destructive/20 text-red-500",outline:"text-foreground"},rounded:{sm:"rounded-sm",md:"rounded-md",full:"rounded-full"},textOverflow:{default:"inline-flex",hidden:"overflow-hidden text-ellipsis whitespace-nowrap block"},hover:{true:"hover:opacity-80"}},defaultVariants:{variant:"primary_outline",rounded:"sm",textOverflow:"default"}});function d({className:t,variant:d,textOverflow:a="default",hover:n=!1,asChild:s=!1,...u}){return r(s?e:"span",{"data-slot":"badge",className:i(o({variant:d,textOverflow:a,hover:n}),t),...u})}export{d as Badge,o as badgeVariants};
@@ -0,0 +1,18 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import * as React from 'react';
4
+ import { VariantProps } from 'class-variance-authority';
5
+
6
+ declare const buttonVariants: (props?: ({
7
+ variant?: "default" | "default_invert" | "destructive" | "destructive_invert" | "outline" | "secondary" | "ghost" | "link" | "clear" | null | undefined;
8
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
9
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
11
+ asChild?: boolean;
12
+ isLoading?: boolean;
13
+ replaceSvgWithLoading?: boolean;
14
+ }
15
+ declare function Button({ className, variant, size, isLoading, replaceSvgWithLoading, asChild, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
16
+
17
+ export { Button, buttonVariants };
18
+ export type { ButtonProps };
@@ -0,0 +1 @@
1
+ import{jsxs as e,jsx as r}from"react/jsx-runtime";import{Root as t}from"../../node_modules/@radix-ui/react-slot/dist/index.js";import{cva as i}from"../../node_modules/class-variance-authority/dist/index.js";import{Loader2 as a}from"lucide-react";import{cn as d}from"../../lib/utils/cn.js";const n=i('inline-flex items-center cursor-pointer justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*="size-"])]:size-4 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",default_invert:"text-primary dark:border-primary bg-primary/10 dark:bg-blue-600/25 dark:text-blue-500 hover:bg-primary/15 dark:hover:bg-blue-600/30",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",destructive_invert:"bg-destructive/10 dark:bg-destructive/15 text-destructive dark:text-red-500 hover:bg-destructive/15 dark:hover:bg-destructive/25",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/60",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",clear:"p-0"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3 py-2",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 [&_svg]:size-[18px]"}},defaultVariants:{variant:"default",size:"sm"}});function o({className:i,variant:o,size:s,isLoading:c,replaceSvgWithLoading:u=!0,asChild:l=!1,children:v,...g}){return e(l?t:"button",{"data-slot":"button",disabled:c||g.disabled,className:d(n({variant:o,size:s,className:i}),{"[&>svg:not(:first-child)]:hidden":u}),...g,children:[c&&r(a,{className:"mr-1 h-4 w-4 animate-spin","data-loading":"true"}),v]})}export{o as Button,n as buttonVariants};
@@ -0,0 +1,50 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { DayPickerProps } from 'react-day-picker';
3
+
4
+ type CalendarProps = DayPickerProps & {
5
+ /**
6
+ * In the year view, the number of years to display at once.
7
+ * @default 12
8
+ */
9
+ yearRange?: number;
10
+ /**
11
+ * Wether to show the year switcher in the caption.
12
+ * @default true
13
+ */
14
+ showYearSwitcher?: boolean;
15
+ monthsClassName?: string;
16
+ monthCaptionClassName?: string;
17
+ weekdaysClassName?: string;
18
+ weekdayClassName?: string;
19
+ monthClassName?: string;
20
+ captionClassName?: string;
21
+ captionLabelClassName?: string;
22
+ buttonNextClassName?: string;
23
+ buttonPreviousClassName?: string;
24
+ navClassName?: string;
25
+ monthGridClassName?: string;
26
+ weekClassName?: string;
27
+ dayClassName?: string;
28
+ dayButtonClassName?: string;
29
+ rangeStartClassName?: string;
30
+ rangeEndClassName?: string;
31
+ selectedClassName?: string;
32
+ todayClassName?: string;
33
+ outsideClassName?: string;
34
+ disabledClassName?: string;
35
+ rangeMiddleClassName?: string;
36
+ hiddenClassName?: string;
37
+ };
38
+ /**
39
+ * A custom calendar component built on top of react-day-picker.
40
+ * @param props The props for the calendar.
41
+ * @default yearRange 12
42
+ * @returns
43
+ */
44
+ declare function Calendar({ className, showOutsideDays, showYearSwitcher, yearRange, numberOfMonths, components, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
45
+ declare namespace Calendar {
46
+ var displayName: string;
47
+ }
48
+
49
+ export { Calendar };
50
+ export type { CalendarProps };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{ChevronLeft as a,ChevronRight as o}from"lucide-react";import*as r from"react";import{cn as s}from"../../lib/utils/cn.js";import{buttonVariants as n,Button as i}from"../button/button.js";import{DayPicker as l}from"../../node_modules/react-day-picker/dist/esm/DayPicker.js";import{ru as m}from"../../node_modules/date-fns/locale/ru.js";import{useDayPicker as d}from"../../node_modules/react-day-picker/dist/esm/useDayPicker.js";import{labelPrevious as c}from"../../node_modules/react-day-picker/dist/esm/labels/labelPrevious.js";import{labelNext as u}from"../../node_modules/react-day-picker/dist/esm/labels/labelNext.js";import{differenceInCalendarDays as f}from"../../node_modules/date-fns/differenceInCalendarDays.js";function h({className:t,showOutsideDays:i=!0,showYearSwitcher:d=!0,yearRange:c=12,numberOfMonths:u,components:f,...h}){const[N,g]=r.useState("days"),[v,w]=r.useState(r.useMemo(()=>{const e=(new Date).getFullYear();return{from:e-Math.floor(c/2-1),to:e+Math.ceil(c/2)}},[c])),{onNextClick:x,onPrevClick:C,startMonth:M,endMonth:k}=h,D="years"===N?1:u,Y=s("relative flex",h.monthsClassName),_=s("relative mx-10 flex h-7 items-center justify-center",h.monthCaptionClassName),V=s("flex flex-row",h.weekdaysClassName),j=s("w-8 text-sm font-normal text-muted-foreground",h.weekdayClassName),P=s("w-full",h.monthClassName),S=s("relative flex items-center justify-center pt-1",h.captionClassName),z=s("truncate text-sm font-medium",h.captionLabelClassName),G=n({variant:"outline",className:"absolute h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"}),O=s(G,"right-0",h.buttonNextClassName),I=s(G,"left-0",h.buttonPreviousClassName),F=s("flex items-start",h.navClassName),L=s("mx-auto mt-4",h.monthGridClassName),T=s("mt-2 flex w-max items-start",h.weekClassName),$=s("flex size-8 flex-1 items-center justify-center p-0 text-sm",h.dayClassName),A=s(n({variant:"ghost"}),"size-8 rounded-md p-0 font-normal transition-none aria-selected:opacity-100",h.dayButtonClassName),B="bg-accent [&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground",E=s(B,"day-range-start rounded-s-md",h.rangeStartClassName),R=s(B,"day-range-end rounded-e-md",h.rangeEndClassName),q=s("bg-accent !text-foreground [&>button]:bg-transparent [&>button]:!text-foreground [&>button]:hover:bg-transparent [&>button]:hover:!text-foreground",h.rangeMiddleClassName),H=s("[&>button]:bg-primary [&>button]:ring-ring/20 [&>button]:z-[10] [&>button]:focus:ring-[3px] [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground",h.selectedClassName),J=s("[&>button]:bg-accent [&>button]:text-accent-foreground",h.todayClassName),K=s("day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",h.outsideClassName),Q=s("text-muted-foreground opacity-50",h.disabledClassName),U=s("invisible flex-1",h.hiddenClassName);return e(l,{showOutsideDays:i,className:s("p-3",t),style:{width:248.8*(D??1)+"px"},classNames:{months:Y,month_caption:_,weekdays:V,weekday:j,month:P,caption:S,caption_label:z,button_next:O,button_previous:I,nav:F,month_grid:L,week:T,day:$,day_button:A,range_start:E,range_middle:q,range_end:R,selected:H,today:J,outside:K,disabled:Q,hidden:U},components:{Chevron:({orientation:t})=>e("left"===t?a:o,{className:"h-4 w-4"}),Nav:({className:t})=>e(y,{className:t,displayYears:v,navView:N,setDisplayYears:w,startMonth:M,endMonth:k,onPrevClick:C,onNextClick:x}),CaptionLabel:t=>e(p,{showYearSwitcher:d,navView:N,setNavView:g,displayYears:v,...t}),MonthGrid:({className:t,children:a,...o})=>e(b,{children:a,className:t,displayYears:v,startMonth:M,endMonth:k,navView:N,setNavView:g,...o}),...f},numberOfMonths:D,locale:m,...h})}function y({className:n,navView:l,startMonth:m,endMonth:h,displayYears:y,setDisplayYears:p,onPrevClick:b,onNextClick:N}){const{nextMonth:g,previousMonth:v,goToMonth:w}=d(),x="years"===l?m&&f(new Date(y.from-1,0,1),m)<0||h&&f(new Date(y.from-1,0,1),h)>0:!v,C="years"===l?m&&f(new Date(y.to+1,0,1),m)<0||h&&f(new Date(y.to+1,0,1),h)>0:!g,M=r.useCallback(()=>{if(v){if("years"===l)return p(e=>({from:e.from-(e.to-e.from+1),to:e.to-(e.to-e.from+1)})),void b?.(new Date(y.from-(y.to-y.from),0,1));w(v),b?.(v)}},[v,w]),k=r.useCallback(()=>{if(g){if("years"===l)return p(e=>({from:e.from+(e.to-e.from+1),to:e.to+(e.to-e.from+1)})),void N?.(new Date(y.from+(y.to-y.from),0,1));w(g),N?.(g)}},[w,g]);return t("nav",{className:s("flex items-center",n),children:[e(i,{variant:"outline",className:"absolute left-0 h-7 w-7 bg-transparent p-0 opacity-80 hover:opacity-100",type:"button",tabIndex:x?void 0:-1,disabled:x,"aria-label":"years"===l?`Go to the previous ${y.to-y.from+1} years`:c(),onClick:M,children:e(a,{className:"h-4 w-4"})}),e(i,{variant:"outline",className:"absolute right-0 h-7 w-7 bg-transparent p-0 opacity-80 hover:opacity-100",type:"button",tabIndex:C?void 0:-1,disabled:C,"aria-label":"years"===l?`Go to the next ${y.to-y.from+1} years`:u(),onClick:k,children:e(o,{className:"h-4 w-4"})})]})}function p({children:t,showYearSwitcher:a,navView:o,setNavView:r,displayYears:s,...n}){return a?e(i,{className:"h-7 w-full truncate text-sm font-medium",variant:"ghost",size:"sm",onClick:()=>r(e=>"days"===e?"years":"days"),children:"days"===o?t:s.from+" - "+s.to}):e("span",{...n,children:t})}function b({className:t,children:a,displayYears:o,startMonth:r,endMonth:s,navView:n,setNavView:i,...l}){return"years"===n?e(N,{displayYears:o,startMonth:r,endMonth:s,setNavView:i,navView:n,className:t,...l}):e("table",{className:t,...l,children:a})}function N({className:t,displayYears:a,startMonth:o,endMonth:r,setNavView:n,navView:l,...m}){const{goToMonth:c,selected:u}=d();return e("div",{className:s("grid grid-cols-4 gap-y-2",t),...m,children:Array.from({length:a.to-a.from+1},(t,m)=>{const d=f(new Date(a.from+m,11,31),o)<0,h=f(new Date(a.from+m,0,0),r)>0,y=d||h;return e(i,{className:s("text-foreground h-7 w-full text-sm font-normal",a.from+m===(new Date).getFullYear()&&"bg-accent text-accent-foreground font-medium"),variant:"ghost",onClick:()=>{n("days"),c(new Date(a.from+m,u?.getMonth()??0))},disabled:"years"===l?y:void 0,children:a.from+m},m)})})}h.displayName="Calendar";export{h as Calendar};
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+
4
+ declare function Card({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
5
+ declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
6
+ declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
7
+ declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
8
+ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
9
+ declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
10
+ declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
11
+
12
+ export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
@@ -0,0 +1 @@
1
+ import{jsx as a}from"react/jsx-runtime";import{cn as t}from"../../lib/utils/cn.js";function r({className:r,...s}){return a("div",{"data-slot":"card",className:t("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",r),...s})}function s({className:r,...s}){return a("div",{"data-slot":"card-header",className:t("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",r),...s})}function e({className:r,...s}){return a("div",{"data-slot":"card-title",className:t("leading-none font-semibold",r),...s})}function o({className:r,...s}){return a("div",{"data-slot":"card-description",className:t("text-muted-foreground text-sm",r),...s})}function d({className:r,...s}){return a("div",{"data-slot":"card-action",className:t("col-start-2 row-span-2 row-start-1 self-start justify-self-end",r),...s})}function c({className:r,...s}){return a("div",{"data-slot":"card-content",className:t("px-6",r),...s})}function n({className:r,...s}){return a("div",{"data-slot":"card-footer",className:t("flex items-center px-6 [.border-t]:pt-6",r),...s})}export{r as Card,d as CardAction,c as CardContent,o as CardDescription,n as CardFooter,s as CardHeader,e as CardTitle};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import*as n from"react";import*as a from"recharts";import{cn as o}from"../../lib/utils/cn.js";const l={light:"",dark:".dark"},s=n.createContext(null);function c(){const e=n.useContext(s);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}function i({id:t,className:l,children:c,config:i,...u}){const m=n.useId(),h=`chart-${t||m.replace(/:/g,"")}`;return e(s.Provider,{value:{config:i},children:r("div",{"data-slot":"chart","data-chart":h,className:o("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",l),...u,children:[e(d,{id:h,config:i}),e(a.ResponsiveContainer,{children:c})]})})}const d=({id:r,config:t})=>{const n=Object.entries(t).filter(([,e])=>e.theme||e.color);return n.length?e("style",{dangerouslySetInnerHTML:{__html:Object.entries(l).map(([e,t])=>`\n${t} [data-chart=${r}] {\n${n.map(([r,t])=>{const n=t.theme?.[e]||t.color;return n?` --color-${r}: ${n};`:null}).join("\n")}\n}\n`).join("\n")}}):null},u=a.Tooltip;function m({active:a,payload:l,className:s,indicator:i="dot",hideLabel:d=!1,hideIndicator:u=!1,label:m,labelFormatter:h,labelClassName:f,formatter:p,color:b,nameKey:v,labelKey:y}){const{config:x}=c(),k=n.useMemo(()=>{if(d||!l?.length)return null;const[r]=l,t=g(x,r,`${y||r?.dataKey||r?.name||"value"}`),n=y||"string"!=typeof m?t?.label:x[m]?.label||m;return h?e("div",{className:o("font-medium",f),children:h(n,l)}):n?e("div",{className:o("font-medium",f),children:n}):null},[m,h,l,d,f,x,y]);if(!a||!l?.length)return null;const N=1===l.length&&"dot"!==i;return r("div",{className:o("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",s),children:[N?null:k,e("div",{className:"grid gap-1.5",children:l.map((n,a)=>{const l=`${v||n.name||n.dataKey||"value"}`,s=g(x,n,l),c=b||n.payload.fill||n.color;return e("div",{className:o("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5","dot"===i&&"items-center"),children:p&&void 0!==n?.value&&n.name?p(n.value,n.name,n,a,n.payload):r(t,{children:[s?.icon?e(s.icon,{}):!u&&e("div",{className:o("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",{"h-2.5 w-2.5":"dot"===i,"w-1":"line"===i,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===i,"my-0.5":N&&"dashed"===i}),style:{"--color-bg":c,"--color-border":c}}),r("div",{className:o("flex flex-1 justify-between leading-none",N?"items-end":"items-center"),children:[r("div",{className:"grid gap-1.5",children:[N?k:null,e("span",{className:"text-muted-foreground",children:s?.label||n.name})]}),n.value&&e("span",{className:"text-foreground font-mono font-medium tabular-nums",children:n.value.toLocaleString()})]})]})},n.dataKey)})})]})}const h=a.Legend;function f({className:t,hideIcon:n=!1,payload:a,verticalAlign:l="bottom",nameKey:s}){const{config:i}=c();return a?.length?e("div",{className:o("flex items-center justify-center gap-4","top"===l?"pb-3":"pt-3",t),children:a.map(t=>{const a=`${s||t.dataKey||"value"}`,l=g(i,t,a);return r("div",{className:o("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),children:[l?.icon&&!n?e(l.icon,{}):e("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:t.color}}),l?.label]},t.value)})}):null}function g(e,r,t){if("object"!=typeof r||null===r)return;const n="payload"in r&&"object"==typeof r.payload&&null!==r.payload?r.payload:void 0;let a=t;return t in r&&"string"==typeof r[t]?a=r[t]:n&&t in n&&"string"==typeof n[t]&&(a=n[t]),a in e?e[a]:e[t]}export{i as ChartContainer,h as ChartLegend,f as ChartLegendContent,d as ChartStyle,u as ChartTooltip,m as ChartTooltipContent};
@@ -0,0 +1,9 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+ import * as React from 'react';
4
+
5
+ declare function Checkbox({ className, rounded, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root> & {
6
+ rounded?: 'default' | 'small';
7
+ }): react_jsx_runtime.JSX.Element;
8
+
9
+ export { Checkbox };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e}from"react/jsx-runtime";import{Checkbox as r,CheckboxIndicator as i}from"../../node_modules/@radix-ui/react-checkbox/dist/index.js";import{CheckIcon as a}from"lucide-react";import{cn as t}from"../../lib/utils/cn.js";function d({className:d,rounded:s,...o}){return e(r,{"data-slot":"checkbox",className:t("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","default"===s&&"rounded-sm","small"===s&&"rounded-[4px]",d),...o,children:e(i,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:e(a,{className:"size-3.5"})})})}export{d as Checkbox};
@@ -0,0 +1,11 @@
1
+ import { FC, ComponentProps } from 'react';
2
+
3
+ type Props = Omit<ComponentProps<'div'>, 'onClick' | 'value' | 'label' | 'checked'> & {
4
+ value: string;
5
+ label?: string;
6
+ checked: boolean;
7
+ onClick: (value: string) => void;
8
+ };
9
+ declare const CheckedValue: FC<Props>;
10
+
11
+ export { CheckedValue };
@@ -0,0 +1 @@
1
+ import{jsxs as o,jsx as r}from"react/jsx-runtime";import{Checkbox as e}from"../checkbox/checkbox.js";import{Label as c}from"../label/label.js";import{HStack as t}from"../stack/stack.js";const i=i=>{const{value:l,checked:s,onClick:m,label:n,id:a,...d}=i,h=a||l;return o(t,{className:"hover:text-muted-foreground w-fit cursor-pointer transition-colors",onClick:()=>m(l),...d,children:[r(e,{id:h,className:"rounded-[6px]",checked:s}),r(c,{htmlFor:h,children:n})]})};export{i as CheckedValue};
@@ -0,0 +1,17 @@
1
+ import { FC } from 'react';
2
+
3
+ interface DatesStringRange {
4
+ from?: string;
5
+ to?: string;
6
+ }
7
+ type Props = {
8
+ datesRange: DatesStringRange | undefined;
9
+ withDatesMacroses?: boolean;
10
+ onApply: (datesRange: DatesStringRange | undefined) => void;
11
+ triggerClassName?: string;
12
+ className?: string;
13
+ };
14
+ declare const DateRangePicker: FC<Props>;
15
+
16
+ export { DateRangePicker };
17
+ export type { DatesStringRange };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e,jsxs as o,Fragment as r}from"react/jsx-runtime";import{CalendarIcon as t}from"lucide-react";import{useState as a,useEffect as n}from"react";import{cn as l}from"../../lib/utils/cn.js";import{Button as d}from"../button/button.js";import{Calendar as s}from"../calendar/calendar.js";import{Popover as i,PopoverTrigger as m,PopoverContent as c}from"../popover/popover.js";import{subDays as f}from"../../node_modules/date-fns/subDays.js";import{formatDate as y}from"../../node_modules/date-fns/format.js";const p=p=>{const{className:u,datesRange:h,withDatesMacroses:v,triggerClassName:w,onApply:g}=p,[M,N]=a(!1),[L,j]=a();n(()=>{j({from:h?.from?new Date(h?.from):void 0,to:h?.to?new Date(h?.to):void 0})},[h]);const x=e=>{const o=new Date;let r=new Date(o);"week"===e&&(r=f(o,6)),"month"===e&&(r=f(o,30)),"year"===e&&(r=f(o,365)),g({from:y(r,"yyyy-MM-dd"),to:y(o,"yyyy-MM-dd")}),N(!1)};return e("div",{className:l("grid gap-2",u),children:o(i,{open:M,onOpenChange:N,children:[e(m,{asChild:!0,children:o(d,{id:"date",variant:"outline",className:l("justify-start text-left font-normal",!h&&"text-muted-foreground",w),children:[e(t,{}),L?.from?L.to?o(r,{children:[y(L.from,"LLL dd, y")," -"," ",y(L.to,"LLL dd, y")]}):y(L.from,"LLL dd, y"):e("span",{children:"Укажите даты"})]})}),e(c,{className:"w-fit p-0",align:"start",children:o("div",{className:"flex w-full flex-col",children:[v&&o("div",{className:"flex w-full items-center gap-2 p-3",children:[e(d,{variant:"secondary",onClick:()=>x("week"),children:"7 дней"}),e(d,{variant:"secondary",onClick:()=>x("month"),children:"30 дней"}),e(d,{variant:"secondary",onClick:()=>x("year"),children:"Год"})]}),e(s,{autoFocus:!0,mode:"range",defaultMonth:L?.from,selected:L,onSelect:j,numberOfMonths:2}),o("div",{className:"flex w-full gap-3 p-3",children:[e(d,{className:"w-full",onClick:()=>{g(void 0),N(!1)},variant:"outline",size:"sm",children:"Сбросить период"}),e(d,{disabled:!L?.from||!L.to,className:"w-full",onClick:()=>{g({from:y(L.from,"yyyy-MM-dd"),to:y(L.to,"yyyy-MM-dd")}),N(!1)},size:"sm",children:"Применить"})]})]})})]})})};export{p as DateRangePicker};
@@ -0,0 +1,21 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ import * as React from 'react';
4
+
5
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
6
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
7
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
8
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
9
+ declare function DialogOverlay({ className, blurred, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay> & {
10
+ blurred?: boolean;
11
+ }): react_jsx_runtime.JSX.Element;
12
+ declare function DialogContent({ className, children, blurred, hideCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
13
+ blurred?: boolean;
14
+ hideCloseButton?: boolean;
15
+ }): react_jsx_runtime.JSX.Element;
16
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
17
+ declare function DialogFooter({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
18
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
19
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
20
+
21
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as t,jsxs as a}from"react/jsx-runtime";import{Root as e,Close as o,Content as s,Description as n,Overlay as l,Portal as d,Title as r,Trigger as i}from"../../node_modules/@radix-ui/react-dialog/dist/index.js";import{XIcon as c}from"lucide-react";import{cn as u}from"../../lib/utils/cn.js";import{onPointerDownOutside as f}from"../../lib/utils/events.js";function m({...a}){return t(e,{"data-slot":"dialog",...a})}function g({...a}){return t(i,{"data-slot":"dialog-trigger",...a})}function p({...a}){return t(d,{"data-slot":"dialog-portal",...a})}function x({...a}){return t(o,{"data-slot":"dialog-close",...a})}function b({className:a,blurred:e,...o}){return t(l,{"data-slot":"dialog-overlay",className:u("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",e?"backdrop-blur":"bg-black/50",a),...o})}function N({className:e,children:n,blurred:l=!1,hideCloseButton:d=!1,...r}){return a(p,{"data-slot":"dialog-portal",children:[t(b,{blurred:l}),a(s,{"data-slot":"dialog-content",className:u("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",e),onOpenAutoFocus:t=>t.preventDefault(),onPointerDownOutside:f,...r,children:[n,!d&&a(o,{"data-slot":"dialog-close",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",children:[t(c,{}),t("span",{className:"sr-only",children:"Close"})]})]})]})}function h({className:a,...e}){return t("div",{"data-slot":"dialog-header",className:u("flex flex-col gap-2 text-center sm:text-left",a),...e})}function v({className:a,...e}){return t("div",{"data-slot":"dialog-footer",className:u("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...e})}function y({className:a,...e}){return t(r,{"data-slot":"dialog-title",className:u("text-lg leading-none font-semibold",a),...e})}function w({className:a,...e}){return t(n,{"data-slot":"dialog-description",className:u("text-muted-foreground text-sm",a),...e})}export{m as Dialog,x as DialogClose,N as DialogContent,w as DialogDescription,v as DialogFooter,h as DialogHeader,b as DialogOverlay,p as DialogPortal,y as DialogTitle,g as DialogTrigger};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as t,jsxs as a}from"react/jsx-runtime";import{Drawer as r}from"../../node_modules/vaul/dist/index.js";import{cn as e}from"../../lib/utils/cn.js";function d({...a}){return t(r.Root,{"data-slot":"drawer",...a})}function o({...a}){return t(r.Trigger,{"data-slot":"drawer-trigger",...a})}function i({...a}){return t(r.Portal,{"data-slot":"drawer-portal",...a})}function n({className:a,...d}){return t(r.Overlay,{"data-slot":"drawer-overlay",className:e("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",a),...d})}function l({className:d,children:o,...l}){return a(i,{"data-slot":"drawer-portal",children:[t(n,{}),a(r.Content,{"data-slot":"drawer-content",className:e("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",d),...l,children:[t("div",{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"}),o]})]})}function c({className:a,...r}){return t("div",{"data-slot":"drawer-header",className:e("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",a),...r})}function u({className:a,...r}){return t("div",{"data-slot":"drawer-footer",className:e("mt-auto flex flex-col gap-2 p-4",a),...r})}function s({className:a,...d}){return t(r.Title,{"data-slot":"drawer-title",className:e("text-foreground font-semibold",a),...d})}function m({className:a,...d}){return t(r.Description,{"data-slot":"drawer-description",className:e("text-muted-foreground text-sm",a),...d})}export{d as Drawer,l as DrawerContent,m as DrawerDescription,u as DrawerFooter,c as DrawerHeader,n as DrawerOverlay,i as DrawerPortal,s as DrawerTitle,o as DrawerTrigger};
@@ -0,0 +1,28 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
+ import * as React from 'react';
4
+
5
+ declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
6
+ declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
7
+ declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
8
+ declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
9
+ declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
10
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
11
+ inset?: boolean;
12
+ variant?: 'default' | 'destructive';
13
+ }): react_jsx_runtime.JSX.Element;
14
+ declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
15
+ declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
16
+ declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
17
+ declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
18
+ inset?: boolean;
19
+ }): react_jsx_runtime.JSX.Element;
20
+ declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
21
+ declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
22
+ declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
23
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
24
+ inset?: boolean;
25
+ }): react_jsx_runtime.JSX.Element;
26
+ declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
27
+
28
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{Root as a,Portal as n,Trigger as o,Content as s,Group as d,Label as r,Item as i,CheckboxItem as c,ItemIndicator as u,RadioGroup as l,RadioItem as m,Separator as p,Sub as f,SubTrigger as g,SubContent as v}from"../../node_modules/@radix-ui/react-dropdown-menu/dist/index.js";import{CheckIcon as x,CircleIcon as b,ChevronRightIcon as h}from"lucide-react";import{cn as w}from"../../lib/utils/cn.js";function N({...t}){return e(a,{"data-slot":"dropdown-menu",...t})}function z({...t}){return e(n,{"data-slot":"dropdown-menu-portal",...t})}function y({...t}){return e(o,{"data-slot":"dropdown-menu-trigger",...t})}function _({className:t,sideOffset:a=4,...o}){return e(n,{children:e(s,{"data-slot":"dropdown-menu-content",sideOffset:a,className:w("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-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...o})})}function k({...t}){return e(d,{"data-slot":"dropdown-menu-group",...t})}function j({className:t,inset:a,variant:n="default",...o}){return e(i,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":n,className:w("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",t),...o})}function I({className:a,children:n,checked:o,...s}){return t(c,{"data-slot":"dropdown-menu-checkbox-item",className:w("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",a),checked:o,...s,children:[e("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:e(u,{children:e(x,{className:"size-4"})})}),n]})}function S({...t}){return e(l,{"data-slot":"dropdown-menu-radio-group",...t})}function C({className:a,children:n,...o}){return t(m,{"data-slot":"dropdown-menu-radio-item",className:w("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",a),...o,children:[e("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:e(u,{children:e(b,{className:"size-2 fill-current"})})}),n]})}function R({className:t,inset:a,...n}){return e(r,{"data-slot":"dropdown-menu-label","data-inset":a,className:w("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...n})}function G({className:t,...a}){return e(p,{"data-slot":"dropdown-menu-separator",className:w("bg-border -mx-1 my-1 h-px",t),...a})}function O({className:t,...a}){return e("span",{"data-slot":"dropdown-menu-shortcut",className:w("text-muted-foreground ml-auto text-xs tracking-widest",t),...a})}function L({...t}){return e(f,{"data-slot":"dropdown-menu-sub",...t})}function P({className:a,inset:n,children:o,...s}){return t(g,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:w("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",a),...s,children:[o,e(h,{className:"ml-auto size-4"})]})}function T({className:t,...a}){return e(v,{"data-slot":"dropdown-menu-sub-content",className:w("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-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",t),...a})}export{N as DropdownMenu,I as DropdownMenuCheckboxItem,_ as DropdownMenuContent,k as DropdownMenuGroup,j as DropdownMenuItem,R as DropdownMenuLabel,z as DropdownMenuPortal,S as DropdownMenuRadioGroup,C as DropdownMenuRadioItem,G as DropdownMenuSeparator,O as DropdownMenuShortcut,L as DropdownMenuSub,T as DropdownMenuSubContent,P as DropdownMenuSubTrigger,y as DropdownMenuTrigger};
@@ -0,0 +1,14 @@
1
+ import { FC, ComponentProps, ReactNode } from 'react';
2
+
3
+ type FieldValueProps = ComponentProps<'div'> & {
4
+ field: string;
5
+ value: ReactNode;
6
+ variant?: 'flex' | 'grid';
7
+ truncate?: boolean;
8
+ className?: string;
9
+ };
10
+ declare const FieldValue: FC<FieldValueProps>;
11
+ type CopiedFieldValueProps = FieldValueProps;
12
+ declare const CopiedFieldValue: FC<CopiedFieldValueProps>;
13
+
14
+ export { CopiedFieldValue, FieldValue };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsxs as e,jsx as a}from"react/jsx-runtime";import t from"copy-to-clipboard";import{Check as r,Copy as s}from"lucide-react";import{useState as i}from"react";import{cn as c}from"../../lib/utils/cn.js";import{HStack as m}from"../stack/stack.js";import{Text as l}from"../text/text.js";const n=t=>{const{field:r,value:s,className:i,variant:n="flex",truncate:o=!0,...d}=t;return e(m,{className:c("flex"===n?"justify-between gap-[2px] max-sm:flex-col max-sm:items-start":"grid grid-cols-2 max-sm:grid-cols-1 max-sm:gap-1",i),...d,children:[a(l,{as:"span",variant:"secondary",truncate:o,children:r}),a(l,{truncate:o,as:"div",children:s})]})},o=n=>{const{field:o,value:d,className:p,variant:x="flex",truncate:f=!0,...u}=n,[g,v]=i(!1);return e(m,{className:c("flex"===x?"justify-between gap-[2px] max-sm:flex-col max-sm:items-start":"grid grid-cols-2 max-sm:grid-cols-1 max-sm:gap-1",p),...u,children:[a(l,{as:"span",variant:"secondary",truncate:f,children:o}),e(l,{truncate:f,as:"div",className:"flex items-center gap-2",children:[d,a("span",{className:"inline-block cursor-pointer",children:g?a(r,{size:13}):a(s,{onClick:()=>{t(d)&&(v(!0),setTimeout(()=>v(!1),1e3))},size:13})})]})]})};export{o as CopiedFieldValue,n as FieldValue};
@@ -0,0 +1,9 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
3
+ import * as React from 'react';
4
+
5
+ declare function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
6
+ declare function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
7
+ declare function HoverCardContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
8
+
9
+ export { HoverCard, HoverCardContent, HoverCardTrigger };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as t}from"react/jsx-runtime";import{Root as o,Trigger as e,Portal as a,Content as r}from"../../node_modules/@radix-ui/react-hover-card/dist/index.js";import{cn as d}from"../../lib/utils/cn.js";function i({...e}){return t(o,{"data-slot":"hover-card",...e})}function n({...o}){return t(e,{"data-slot":"hover-card-trigger",...o})}function s({className:o,align:e="center",sideOffset:i=4,...n}){return t(a,{"data-slot":"hover-card-portal",children:t(r,{"data-slot":"hover-card-content",align:e,sideOffset:i,className:d("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 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",o),...n})})}export{i as HoverCard,s as HoverCardContent,n as HoverCardTrigger};
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+
4
+ type Props = React.ComponentProps<'input'> & {
5
+ error?: string;
6
+ wrapClassName?: string;
7
+ };
8
+ declare function FormInput({ className, wrapClassName, type, error, ...props }: Props): react_jsx_runtime.JSX.Element;
9
+
10
+ export { FormInput };
@@ -0,0 +1 @@
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{CircleAlert as r}from"lucide-react";import{cn as s}from"../../lib/utils/cn.js";import{Input as a}from"./input.js";function i({className:i,wrapClassName:m,type:l,error:c,...o}){return e("div",{className:s("relative",m),children:[e("div",{className:s("relative",m),children:[t(a,{type:l,className:s("input",i),error:!!c,...o}),c&&t(r,{size:16,className:"text-destructive absolute top-1/2 right-3 z-[2] -translate-y-1/2"})]}),c&&t("span",{className:"text-destructive mt-1 text-sm",children:c})]})}export{i as FormInput};
@@ -0,0 +1,8 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+
4
+ declare function Input({ className, type, error, ...props }: React.ComponentProps<'input'> & {
5
+ error?: boolean;
6
+ }): react_jsx_runtime.JSX.Element;
7
+
8
+ export { Input };
@@ -0,0 +1 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{cn as i}from"../../lib/utils/cn.js";function r({className:r,type:t,error:n,...o}){return e("input",{type:t,"data-slot":"input","aria-invalid":n,className:i("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",r),...o})}export{r as Input};
@@ -0,0 +1,7 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as LabelPrimitive from '@radix-ui/react-label';
3
+ import * as React from 'react';
4
+
5
+ declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
6
+
7
+ export { Label };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e}from"react/jsx-runtime";import{Root as t}from"../../node_modules/@radix-ui/react-label/dist/index.js";import{cn as a}from"../../lib/utils/cn.js";function o({className:o,...r}){return e(t,{"data-slot":"label",className:a("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",o),...r})}export{o as Label};
@@ -0,0 +1,12 @@
1
+ import React__default, { ComponentProps } from 'react';
2
+
3
+ type Props = ComponentProps<'div'> & {
4
+ size?: number;
5
+ className?: string;
6
+ fullHeight?: boolean;
7
+ flexGrow?: boolean;
8
+ fullWidth?: boolean;
9
+ };
10
+ declare const Loader: React__default.FC<Props>;
11
+
12
+ export { Loader };
@@ -0,0 +1 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{cn as l}from"../../lib/utils/cn.js";const r=({className:r,fullHeight:i,flexGrow:t,size:s=30,fullWidth:o=!0,...f})=>e("div",{className:l("flex items-center justify-center",i&&"h-full",t&&"flex-grow",o&&"w-full"),...f,children:e("div",{style:{width:s,height:s},className:"border-t-primary animate-wobbly-spin h-10 w-10 rounded-full border-4"})});export{r as Loader};
@@ -0,0 +1,11 @@
1
+ import { FC, ComponentProps } from 'react';
2
+
3
+ type HTMLInputProps = Omit<ComponentProps<'input'>, 'value' | 'onChange' | 'max'>;
4
+ interface Props extends HTMLInputProps {
5
+ value?: string | number;
6
+ max?: number;
7
+ onChange?: (value: string) => void;
8
+ }
9
+ declare const NumericInput: FC<Props>;
10
+
11
+ export { NumericInput };
@@ -0,0 +1 @@
1
+ import{jsx as t}from"react/jsx-runtime";import{containsOnlyDigits as e}from"../../lib/utils/digits.js";import{Input as r}from"../input/input.js";const a=a=>{const{className:s,type:i,value:n,max:l,onChange:o,...p}=a,g=(t=>t?isNaN(parseInt(t.replace(/\s+/g,""),10))?"0":parseInt(t.replace(/\s+/g,""),10).toLocaleString("ru-RU"):"")(String(n||""));return t(r,{type:i,value:g||"",onChange:t=>{let r=t.target.value.replace(/\s+/g,"");if(r.length>1&&r.startsWith("0")&&(r=r.slice(1)),e(r))return l&&parseInt(r)>l?o?.(String(l)):void o?.(r)},className:s,...p})};export{a as NumericInput};
@@ -0,0 +1,26 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { Button, ButtonProps } from '../button/button.js';
4
+
5
+ type PaginationProps = {
6
+ limit: number;
7
+ total: number;
8
+ offset: number;
9
+ className?: string;
10
+ onChange: (p: number) => void;
11
+ };
12
+ declare function Pagination(props: PaginationProps): react_jsx_runtime.JSX.Element | null;
13
+ declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
14
+ type PaginationItemProps = {
15
+ isActive?: boolean;
16
+ } & React.ComponentProps<'li'> & Pick<ButtonProps, 'size'>;
17
+ declare function PaginationItem({ className, isActive, size, ...props }: PaginationItemProps): react_jsx_runtime.JSX.Element;
18
+ type PaginationLinkProps = {
19
+ isActive?: boolean;
20
+ } & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
21
+ declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
22
+ declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
23
+ declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
24
+ declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
25
+
26
+ export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
@@ -0,0 +1 @@
1
+ import{jsx as a,Fragment as e,jsxs as i}from"react/jsx-runtime";import{ChevronLeftIcon as t,ChevronRightIcon as n,MoreHorizontalIcon as s}from"lucide-react";import*as l from"react";import{cn as o}from"../../lib/utils/cn.js";import{buttonVariants as r}from"../button/button.js";function c(i){const{limit:t,offset:n,total:s,className:o,onChange:r}=i,c=Math.ceil(s/t),d=0===n?1:c-Math.ceil((s-n)/t)+1,f=l.useCallback(a=>{if(d===a)return;document.body.offsetHeight>window.innerHeight&&window.scrollTo({top:0,left:0,behavior:"smooth"}),r(a)},[d,r]);return s<=t?null:a(m,{className:o,children:a(u,{children:c>1&&a(e,{children:Array.from({length:7},(a,e)=>d-3+e).map(e=>e<1||e>c?null:a(p,{isActive:e===d,onClick:()=>f(e),children:e},e))})})})}function m({className:e,...i}){return a("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:o("mx-auto flex w-full justify-center",e),...i})}function u({className:e,...i}){return a("ul",{"data-slot":"pagination-content",className:o("flex flex-row items-center gap-1",e),...i})}function p({className:e,isActive:i,size:t="icon",...n}){return a("li",{"data-slot":"pagination-item",className:o(r({variant:i?"outline":"ghost",size:t}),e,"cursor-pointer"),...n})}function d({className:e,isActive:i,size:t="icon",...n}){return a("a",{"aria-current":i?"page":void 0,"data-slot":"pagination-link","data-active":i,className:o(r({variant:i?"outline":"ghost",size:t}),e),...n})}function f({className:e,...n}){return i(d,{"aria-label":"Go to previous page",size:"default",className:o("gap-1 px-2.5 sm:pl-2.5",e),...n,children:[a(t,{}),a("span",{className:"hidden sm:block",children:"Previous"})]})}function h({className:e,...t}){return i(d,{"aria-label":"Go to next page",size:"default",className:o("gap-1 px-2.5 sm:pr-2.5",e),...t,children:[a("span",{className:"hidden sm:block",children:"Next"}),a(n,{})]})}function N({className:e,...t}){return i("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:o("flex size-9 items-center justify-center",e),...t,children:[a(s,{className:"size-4"}),a("span",{className:"sr-only",children:"More pages"})]})}export{c as Pagination,u as PaginationContent,N as PaginationEllipsis,p as PaginationItem,d as PaginationLink,h as PaginationNext,f as PaginationPrevious};
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
3
+ import * as React from 'react';
4
+
5
+ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
6
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
7
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
8
+ declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
9
+
10
+ export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as t}from"react/jsx-runtime";import{Root as o,Trigger as e,Portal as a,Content as r,Anchor as n}from"../../node_modules/@radix-ui/react-popover/dist/index.js";import{cn as i}from"../../lib/utils/cn.js";function d({...e}){return t(o,{"data-slot":"popover",...e})}function s({...o}){return t(e,{"data-slot":"popover-trigger",...o})}function p({className:o,align:e="center",sideOffset:n=4,...d}){return t(a,{children:t(r,{"data-slot":"popover-content",align:e,sideOffset:n,className:i("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 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",o),...d})})}function m({...o}){return t(n,{"data-slot":"popover-anchor",...o})}export{d as Popover,m as PopoverAnchor,p as PopoverContent,s as PopoverTrigger};
@@ -0,0 +1,7 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as ProgressPrimitive from '@radix-ui/react-progress';
3
+ import * as React from 'react';
4
+
5
+ declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime.JSX.Element;
6
+
7
+ export { Progress };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as r}from"react/jsx-runtime";import{Root as l,Indicator as e}from"../../node_modules/@radix-ui/react-progress/dist/index.js";import{cn as s}from"../../lib/utils/cn.js";function a({className:a,value:t,...o}){return r(l,{"data-slot":"progress",className:s("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",a),...o,children:r(e,{"data-slot":"progress-indicator",className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})})}export{a as Progress};
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import { ComponentProps, PropsWithChildren } from 'react';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { Dialog, DialogContent, DialogTrigger, DialogFooter, DialogHeader, DialogTitle, DialogDescription } from '../dialog/dialog.js';
5
+
6
+ interface Props extends ComponentProps<typeof Dialog> {
7
+ breakpoint?: 'sm' | 'md' | 'lg' | 'xl' | 'xl2';
8
+ }
9
+ declare function RDialog({ children, breakpoint, ...props }: Props): react_jsx_runtime.JSX.Element;
10
+ declare function RDialogContent(props: ComponentProps<typeof DialogContent>): react_jsx_runtime.JSX.Element;
11
+ declare function RDialogTrigger(props: ComponentProps<typeof DialogTrigger>): react_jsx_runtime.JSX.Element;
12
+ declare function RDialogFooter(props: ComponentProps<typeof DialogFooter>): react_jsx_runtime.JSX.Element;
13
+ declare function RDialogHeader(props: ComponentProps<typeof DialogHeader>): react_jsx_runtime.JSX.Element;
14
+ declare function RDialogTitle(props: ComponentProps<typeof DialogTitle>): react_jsx_runtime.JSX.Element;
15
+ declare function RDialogDescription(props: ComponentProps<typeof DialogDescription>): react_jsx_runtime.JSX.Element;
16
+ declare function RDialogOnly({ only, children, }: PropsWithChildren & {
17
+ only: 'drawer' | 'dialog';
18
+ }): React.ReactNode;
19
+
20
+ export { RDialog, RDialogContent, RDialogDescription, RDialogFooter, RDialogHeader, RDialogOnly, RDialogTitle, RDialogTrigger };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as r,jsxs as n}from"react/jsx-runtime";import{createContext as o,useContext as t}from"react";import{useIsMobile as i}from"../../lib/hooks/useMobile.js";import{Dialog as e,DialogContent as c,DialogTrigger as u,DialogFooter as l,DialogHeader as s,DialogTitle as d,DialogDescription as f}from"../dialog/dialog.js";import{Drawer as m,DrawerContent as a,DrawerTrigger as p,DrawerFooter as h,DrawerHeader as j,DrawerTitle as b,DrawerDescription as g}from"../drawer/drawer.js";const w=o(!1);function k({children:o,breakpoint:t="md",...c}){const u=i(t);return r(w.Provider,{value:u,children:u?n(m,{...c,children:[o," "]}):r(e,{...c,children:o})})}function v(n){const o=t(w);return r(o?a:c,{...n})}function x(n){const o=t(w);return r(o?p:u,{...n})}function y(n){const o=t(w);return r(o?h:l,{...n})}function M(n){const o=t(w);return r(o?j:s,{...n})}function P(n){const o=t(w);return r(o?b:d,{...n})}function q(n){const o=t(w);return r(o?g:f,{...n})}function z({only:r,children:n}){const o=t(w);return"dialog"===r&&o?null:"drawer"!==r||o?n:null}export{k as RDialog,v as RDialogContent,q as RDialogDescription,y as RDialogFooter,M as RDialogHeader,z as RDialogOnly,P as RDialogTitle,x as RDialogTrigger};
@@ -0,0 +1,8 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ import * as React from 'react';
4
+
5
+ declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
6
+ declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
7
+
8
+ export { RadioGroup, RadioGroupItem };
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as r}from"react/jsx-runtime";import{Root as i,Item as a,Indicator as e}from"../../node_modules/@radix-ui/react-radio-group/dist/index.js";import{CircleIcon as t}from"lucide-react";import{cn as o}from"../../lib/utils/cn.js";function s({className:a,...e}){return r(i,{"data-slot":"radio-group",className:o("grid gap-3",a),...e})}function d({className:i,...s}){return r(a,{"data-slot":"radio-group-item",className:o("border-input text-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 dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",i),...s,children:r(e,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:r(t,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})})})}export{s as RadioGroup,d as RadioGroupItem};