konsolpro-custom-ui 0.0.327

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 (369) hide show
  1. package/README.md +146 -0
  2. package/dist/chunks/accept-icon-X_bMUe5T.js +17 -0
  3. package/dist/chunks/account-balance-icon-CKxx1j3X.js +17 -0
  4. package/dist/chunks/add-circle-icon-D3XpY2oT.js +17 -0
  5. package/dist/chunks/add-icon-CZXR66VL.js +17 -0
  6. package/dist/chunks/alfa-icon-Cx0WqCux.js +17 -0
  7. package/dist/chunks/android-icon-6SCGu50U.js +17 -0
  8. package/dist/chunks/apple-icon-yya6O1xg.js +17 -0
  9. package/dist/chunks/arrow-back-icon-C_VwBDNK.js +17 -0
  10. package/dist/chunks/arrow-back-ios-icon-CB5K_mmJ.js +17 -0
  11. package/dist/chunks/arrow-down-icon-DFvg75P7.js +17 -0
  12. package/dist/chunks/arrow-forward-icon-BI4dm_L2.js +17 -0
  13. package/dist/chunks/arrow-left-icon-8yWT42A8.js +17 -0
  14. package/dist/chunks/arrow-right-icon-Bnx7GHux.js +17 -0
  15. package/dist/chunks/arrow-up-icon-DU7VVzN8.js +17 -0
  16. package/dist/chunks/attach-file-icon-OrT7tthI.js +17 -0
  17. package/dist/chunks/autorenew-icon-B0bI6Xt-.js +17 -0
  18. package/dist/chunks/baltiyskiy-icon-CXAJY9LH.js +17 -0
  19. package/dist/chunks/bill-error-icon-q8_KROAY.js +17 -0
  20. package/dist/chunks/bill-icon-Cw2GE_VB.js +17 -0
  21. package/dist/chunks/bill-in-progress-icon-BTsO5Mh5.js +17 -0
  22. package/dist/chunks/bill-warning-icon-3Y-dONd_.js +17 -0
  23. package/dist/chunks/bills-error-icon-CcDGUJrx.js +17 -0
  24. package/dist/chunks/bills-icon-BU_adAs0.js +17 -0
  25. package/dist/chunks/bills-in-progress-icon-RVEtPz7l.js +17 -0
  26. package/dist/chunks/bills-warning-icon-CNgWvumi.js +17 -0
  27. package/dist/chunks/block-icon-DGlp9c33.js +17 -0
  28. package/dist/chunks/bolt-fill-icon-DZjyKq8N.js +17 -0
  29. package/dist/chunks/bolt-icon-CJsvLlL-.js +17 -0
  30. package/dist/chunks/book-icon-BdaCKIQB.js +17 -0
  31. package/dist/chunks/business-center-icon-C5X-e-6I.js +17 -0
  32. package/dist/chunks/calendar-icon-B1cogiSd.js +17 -0
  33. package/dist/chunks/call-icon-DslHaQOP.js +17 -0
  34. package/dist/chunks/cancel-fill-DPYenlCk.js +17 -0
  35. package/dist/chunks/check-circle-fill-ne1MhahL.js +17 -0
  36. package/dist/chunks/check-circle-icon-BWhJprgU.js +17 -0
  37. package/dist/chunks/close-icon-CtbXesC0.js +17 -0
  38. package/dist/chunks/clsx-OuTLNxxd.js +16 -0
  39. package/dist/chunks/combobox-primitive-context-B_ldR_VA.js +4030 -0
  40. package/dist/chunks/cookie-DJ-U7h-A.js +17 -0
  41. package/dist/chunks/copy-icon-BWyncDVB.js +17 -0
  42. package/dist/chunks/credit-card-icon-DS1ckDU7.js +17 -0
  43. package/dist/chunks/delete-icon-Bk1ZmhBo.js +17 -0
  44. package/dist/chunks/document-icon-DcmQhRhY.js +17 -0
  45. package/dist/chunks/done-icon-BZEAL7mI.js +17 -0
  46. package/dist/chunks/download-icon-BvWPcT7W.js +17 -0
  47. package/dist/chunks/edit-icon-_3venQRC.js +17 -0
  48. package/dist/chunks/embla-carousel-react.esm-ZaRSnfTq.js +1252 -0
  49. package/dist/chunks/error-fill-icon--8j3Zcfq.js +17 -0
  50. package/dist/chunks/error-icon-BJWk5B-s.js +17 -0
  51. package/dist/chunks/error-icon-CgJ3zr06.js +17 -0
  52. package/dist/chunks/europa-icon-DbElF2Uc.js +17 -0
  53. package/dist/chunks/failed-icon-YP2jq4UN.js +17 -0
  54. package/dist/chunks/file-error-icon-630wBy1K.js +17 -0
  55. package/dist/chunks/file-success-icon-BTk5SYAM.js +17 -0
  56. package/dist/chunks/filter-icon-D_3_SQsN.js +17 -0
  57. package/dist/chunks/flag-icon-DmWEp4ya.js +17 -0
  58. package/dist/chunks/format-DoKcg9cH.js +1223 -0
  59. package/dist/chunks/full-screen-exit-icon-BHwq-9P-.js +17 -0
  60. package/dist/chunks/full-screen-icon-Dpl__xtk.js +17 -0
  61. package/dist/chunks/gazprom-icon-CRfKLTvP.js +17 -0
  62. package/dist/chunks/group-icon-BfSRHuvp.js +17 -0
  63. package/dist/chunks/help-icon-BMdlItds.js +17 -0
  64. package/dist/chunks/home-icon-Dc6LzbVw.js +17 -0
  65. package/dist/chunks/home-icon-Mag5Wxqq.js +17 -0
  66. package/dist/chunks/index-1Er1dKQf.js +13 -0
  67. package/dist/chunks/index-BJD1rYeT.js +57 -0
  68. package/dist/chunks/index-BO6p208a.js +48 -0
  69. package/dist/chunks/index-BZPx6jYI.js +8 -0
  70. package/dist/chunks/index-BxWD79NI.js +517 -0
  71. package/dist/chunks/index-ByaXH_ih.js +10 -0
  72. package/dist/chunks/index-CHDs-SiB.js +27 -0
  73. package/dist/chunks/index-CN5JEZ5H.js +79 -0
  74. package/dist/chunks/index-Ctjv6tIJ.js +1381 -0
  75. package/dist/chunks/index-DLcqcWxM.js +29 -0
  76. package/dist/chunks/index-DLeNytVF.js +9 -0
  77. package/dist/chunks/index-DYfkNB0n.js +54 -0
  78. package/dist/chunks/index-DuekHEmj.js +6 -0
  79. package/dist/chunks/index-DwYXX2sM.js +13 -0
  80. package/dist/chunks/index-E4d_Gd-w.js +91 -0
  81. package/dist/chunks/index-I8P2QgPV.js +258 -0
  82. package/dist/chunks/index-NPrw3_0K.js +14 -0
  83. package/dist/chunks/index-PsqJG3fE.js +75 -0
  84. package/dist/chunks/info-fill-icon-BzE09Xg8.js +17 -0
  85. package/dist/chunks/info-icon-BcUNe5kE.js +17 -0
  86. package/dist/chunks/inventory-icon-CFV8amBs.js +17 -0
  87. package/dist/chunks/link-icon-BUAymb0P.js +17 -0
  88. package/dist/chunks/list-icon-ChePCGxK.js +17 -0
  89. package/dist/chunks/location-icon-Bf9Wbg65.js +17 -0
  90. package/dist/chunks/logout-icon-DN86wp7N.js +17 -0
  91. package/dist/chunks/mail-icon-DCZPsZFE.js +17 -0
  92. package/dist/chunks/manage-accounts-icon-BkyuUTj3.js +17 -0
  93. package/dist/chunks/menu-icon-DWObHD95.js +17 -0
  94. package/dist/chunks/mkb-icon-CEkVt-7P.js +17 -0
  95. package/dist/chunks/more-horiz-icon-CSK7Ackl.js +17 -0
  96. package/dist/chunks/more-vert-icon-NA1tYTse.js +17 -0
  97. package/dist/chunks/mts-icon-Bq4YDYEy.js +17 -0
  98. package/dist/chunks/normal-icon-CYvIFN5j.js +17 -0
  99. package/dist/chunks/north-east-icon-Dh7-1BBW.js +17 -0
  100. package/dist/chunks/open-in-full-icon-DzhRd5Mx.js +17 -0
  101. package/dist/chunks/open-in-new-icon-A7MgnnyP.js +17 -0
  102. package/dist/chunks/otkritie-icon-yGwVocEY.js +17 -0
  103. package/dist/chunks/otp-icon-BQQXMe3b.js +17 -0
  104. package/dist/chunks/outgoing-main-icon-BAH2vddG.js +17 -0
  105. package/dist/chunks/page-info-icon-BiVNFu71.js +17 -0
  106. package/dist/chunks/passport-main-DNL65kJJ.js +17 -0
  107. package/dist/chunks/passport-registration-BGywpRar.js +17 -0
  108. package/dist/chunks/passport-selfie-Dsqd0uOf.js +17 -0
  109. package/dist/chunks/payment-icon-C-B7L4WP.js +17 -0
  110. package/dist/chunks/person-add-C-3pZhgM.js +17 -0
  111. package/dist/chunks/person-icon-Bo5NxPRQ.js +17 -0
  112. package/dist/chunks/person-search-icon-CwVm_XAL.js +17 -0
  113. package/dist/chunks/pincode-icon-BA-e4pBH.js +17 -0
  114. package/dist/chunks/play-icon-Bnj3hsIf.js +17 -0
  115. package/dist/chunks/popover-kFSgc5Lv.js +748 -0
  116. package/dist/chunks/progress-activity-icon-YbJGzvxH.js +17 -0
  117. package/dist/chunks/psb-icon-CxKzLVG5.js +17 -0
  118. package/dist/chunks/qiwi-icon-B795Q_fW.js +17 -0
  119. package/dist/chunks/raiffeisen-icon-CgcBX8eY.js +17 -0
  120. package/dist/chunks/refresh-icon-ac1oOwX8.js +17 -0
  121. package/dist/chunks/remove-icon-CTuoG0Vq.js +17 -0
  122. package/dist/chunks/ru-CUCVR8Pn.js +661 -0
  123. package/dist/chunks/russian-standart-icon-CI8j1Do6.js +17 -0
  124. package/dist/chunks/saint-petersburg-icon-DbffjI2W.js +17 -0
  125. package/dist/chunks/save-icon-DnF5revo.js +17 -0
  126. package/dist/chunks/sber-icon-b7d9_o7J.js +17 -0
  127. package/dist/chunks/sberid-icon-DgQtjRjD.js +17 -0
  128. package/dist/chunks/scenario-icon-BcnFsqUA.js +17 -0
  129. package/dist/chunks/scroll-area-TRRhxrjX.js +629 -0
  130. package/dist/chunks/search-icon-CortrXrC.js +17 -0
  131. package/dist/chunks/segment-icon-Bzm7cziF.js +17 -0
  132. package/dist/chunks/send-icon-BTztERTu.js +17 -0
  133. package/dist/chunks/settings-icon-D_wgjUsM.js +17 -0
  134. package/dist/chunks/shield-icon-BwpxkU5E.js +17 -0
  135. package/dist/chunks/signed-icon-DTQlKmWU.js +17 -0
  136. package/dist/chunks/skb-icon-BgDQolTL.js +17 -0
  137. package/dist/chunks/sms-icon-4p-ON5VX.js +17 -0
  138. package/dist/chunks/support-icon-CBHKGKq8.js +17 -0
  139. package/dist/chunks/tbank-icon-ByKW0pBb.js +17 -0
  140. package/dist/chunks/telegramm-icon-C2ZR2jdg.js +17 -0
  141. package/dist/chunks/thumbs-up-icon-BArjyDfk.js +17 -0
  142. package/dist/chunks/time-icon-DsWMo47L.js +17 -0
  143. package/dist/chunks/tinkoffid-icon-C6lsspZk.js +19 -0
  144. package/dist/chunks/tochka-icon-CoQ_r9Lz.js +17 -0
  145. package/dist/chunks/tooltip-BxRtZLBR.js +836 -0
  146. package/dist/chunks/trending-down-icon-DlHKI37F.js +17 -0
  147. package/dist/chunks/trending-up-icon-IEwGHi9c.js +17 -0
  148. package/dist/chunks/trust-icon-DcfUVGZ_.js +17 -0
  149. package/dist/chunks/tslib.es6-fInlAbov.js +27 -0
  150. package/dist/chunks/unfold-icon-S3J7xXHf.js +17 -0
  151. package/dist/chunks/uni-icon-gK006vr0.js +17 -0
  152. package/dist/chunks/upload-icon-CwzthQEL.js +17 -0
  153. package/dist/chunks/uploader-BN38rjbw.js +28387 -0
  154. package/dist/chunks/uralsib-icon-C-ZbdvlL.js +17 -0
  155. package/dist/chunks/uralskiy-icon-Djqv-ZYN.js +17 -0
  156. package/dist/chunks/utils-TbLXCoKm.js +2752 -0
  157. package/dist/chunks/visibility-off-icon-BA_I97Vw.js +17 -0
  158. package/dist/chunks/visibility-on-icon-C9VmKsvX.js +17 -0
  159. package/dist/chunks/vozrozhdenie-icon-CCMRNn95.js +17 -0
  160. package/dist/chunks/vtb-icon-BtfO1_Gx.js +17 -0
  161. package/dist/chunks/waiting-icon-lpQJA4wB.js +17 -0
  162. package/dist/chunks/wallet-icon-D0r9bDRg.js +17 -0
  163. package/dist/chunks/warning-icon-BmlgMY27.js +17 -0
  164. package/dist/chunks/work-icon-D7I-74Mk.js +17 -0
  165. package/dist/chunks/yandex-icon-CepqpI49.js +17 -0
  166. package/dist/chunks/zoom-in-icon-ZWEJANob.js +17 -0
  167. package/dist/chunks/zoom-out-icon-CeFz3G6V.js +17 -0
  168. package/dist/fonts/CoFoSansMono-Regular.otf +0 -0
  169. package/dist/fonts/Graphik-Bold.otf +0 -0
  170. package/dist/fonts/Graphik-Medium.otf +0 -0
  171. package/dist/fonts/Graphik-Regular.otf +0 -0
  172. package/dist/lib/icon/icon.js +38 -0
  173. package/dist/lib/icon/icons.js +353 -0
  174. package/dist/lib/icon/index.js +4 -0
  175. package/dist/lib/icon-banks/icon-banks.js +21 -0
  176. package/dist/lib/icon-banks/icons-banks.js +106 -0
  177. package/dist/lib/icon-banks/index.js +4 -0
  178. package/dist/lib/icon-documents/icon-document.js +26 -0
  179. package/dist/lib/icon-documents/icons-document.js +57 -0
  180. package/dist/lib/icon-documents/index.js +4 -0
  181. package/dist/lib/index.js +192 -0
  182. package/dist/lib/ui/accordion.js +474 -0
  183. package/dist/lib/ui/alert.js +8 -0
  184. package/dist/lib/ui/autocomplete.js +110 -0
  185. package/dist/lib/ui/avatar.js +333 -0
  186. package/dist/lib/ui/button.js +37 -0
  187. package/dist/lib/ui/calendar.js +121 -0
  188. package/dist/lib/ui/card.js +121 -0
  189. package/dist/lib/ui/carousel.js +55 -0
  190. package/dist/lib/ui/checkbox.js +363 -0
  191. package/dist/lib/ui/combobox-base/combobox-base.js +16 -0
  192. package/dist/lib/ui/combobox-base/index.js +4 -0
  193. package/dist/lib/ui/combobox-primitive/combobox-primitive-context.js +7 -0
  194. package/dist/lib/ui/combobox-primitive/components/Item.js +9 -0
  195. package/dist/lib/ui/combobox-primitive/components/combobox-actions.js +35 -0
  196. package/dist/lib/ui/combobox-primitive/components/combobox-container.js +59 -0
  197. package/dist/lib/ui/combobox-primitive/components/combobox-input.js +52 -0
  198. package/dist/lib/ui/combobox-primitive/components/combobox-item-renderer.js +101 -0
  199. package/dist/lib/ui/combobox-primitive/components/combobox-menu.js +56 -0
  200. package/dist/lib/ui/combobox-primitive/components/index.js +18 -0
  201. package/dist/lib/ui/combobox-primitive/components/item-view.js +53 -0
  202. package/dist/lib/ui/combobox-primitive/components/list.js +9 -0
  203. package/dist/lib/ui/combobox-primitive/constants.js +129 -0
  204. package/dist/lib/ui/combobox-primitive/hooks.js +31 -0
  205. package/dist/lib/ui/combobox-primitive/index.js +21 -0
  206. package/dist/lib/ui/combobox-primitive/types.js +1 -0
  207. package/dist/lib/ui/combobox-primitive/utils.js +60 -0
  208. package/dist/lib/ui/combobox.js +9 -0
  209. package/dist/lib/ui/command.js +1016 -0
  210. package/dist/lib/ui/customizable-carousel.js +431 -0
  211. package/dist/lib/ui/date-picker.js +288 -0
  212. package/dist/lib/ui/date-range-picker/constants.js +25 -0
  213. package/dist/lib/ui/date-range-picker/locales.js +116 -0
  214. package/dist/lib/ui/date-range-picker.js +392 -0
  215. package/dist/lib/ui/dialog/dialog-base/dialog-base.js +9 -0
  216. package/dist/lib/ui/dialog/dialog-base/index.js +6 -0
  217. package/dist/lib/ui/dialog/dialog-base/use-base-dialog.js +57 -0
  218. package/dist/lib/ui/dialog/dialog-primitive/dialog-primitive.js +17 -0
  219. package/dist/lib/ui/dialog/dialog-primitive/index.js +4 -0
  220. package/dist/lib/ui/dialog/index.js +7 -0
  221. package/dist/lib/ui/dialog/utils.js +32 -0
  222. package/dist/lib/ui/divider.js +8 -0
  223. package/dist/lib/ui/dropdown.js +13 -0
  224. package/dist/lib/ui/input-number/index.js +4 -0
  225. package/dist/lib/ui/input-number/input-number.js +6 -0
  226. package/dist/lib/ui/input.js +12 -0
  227. package/dist/lib/ui/link.js +167 -0
  228. package/dist/lib/ui/masked-input.js +6 -0
  229. package/dist/lib/ui/modal.js +41 -0
  230. package/dist/lib/ui/otp-input.js +8 -0
  231. package/dist/lib/ui/phone-input/constants.js +21 -0
  232. package/dist/lib/ui/phone-input/locales/ru.json.js +277 -0
  233. package/dist/lib/ui/phone-input/locales/tg.json.js +263 -0
  234. package/dist/lib/ui/phone-input/locales/uz.json.js +263 -0
  235. package/dist/lib/ui/phone-input/phone-input-utils.js +15 -0
  236. package/dist/lib/ui/phone-input/phone-input.js +20 -0
  237. package/dist/lib/ui/phone-input/phone-mask.js +261 -0
  238. package/dist/lib/ui/popover.js +10 -0
  239. package/dist/lib/ui/progress.js +140 -0
  240. package/dist/lib/ui/radio.js +10 -0
  241. package/dist/lib/ui/schedule-calendar/calendar-day-card.js +37 -0
  242. package/dist/lib/ui/schedule-calendar/constants.js +6 -0
  243. package/dist/lib/ui/schedule-calendar/embla-calendar-card.js +46 -0
  244. package/dist/lib/ui/schedule-calendar/embla-calendar-strip.js +52 -0
  245. package/dist/lib/ui/schedule-calendar/index.js +27 -0
  246. package/dist/lib/ui/schedule-calendar/schedule-calendar-strip.js +163 -0
  247. package/dist/lib/ui/schedule-calendar/schedule-header.js +66 -0
  248. package/dist/lib/ui/schedule-calendar/use-schedule-calendar.js +44 -0
  249. package/dist/lib/ui/schedule-calendar/use-schedule-sync.js +45 -0
  250. package/dist/lib/ui/schedule-calendar/utils.js +49 -0
  251. package/dist/lib/ui/scroll-area.js +7 -0
  252. package/dist/lib/ui/segments.js +376 -0
  253. package/dist/lib/ui/select.js +18 -0
  254. package/dist/lib/ui/spinner.js +57 -0
  255. package/dist/lib/ui/stepper.js +70 -0
  256. package/dist/lib/ui/switch.js +281 -0
  257. package/dist/lib/ui/tabs.js +301 -0
  258. package/dist/lib/ui/tag.js +113 -0
  259. package/dist/lib/ui/textarea.js +8 -0
  260. package/dist/lib/ui/time-picker.js +130 -0
  261. package/dist/lib/ui/time-range-picker.js +198 -0
  262. package/dist/lib/ui/timeline.js +36 -0
  263. package/dist/lib/ui/toaster.js +1002 -0
  264. package/dist/lib/ui/tooltip.js +10 -0
  265. package/dist/lib/ui/typography.js +36 -0
  266. package/dist/lib/ui/uploader.js +10 -0
  267. package/dist/styles/konsolpro-custom-ui.css +1 -0
  268. package/dist/styles/variables.css +279 -0
  269. package/dist/types/components/icon/icon.d.ts +10 -0
  270. package/dist/types/components/icon/icons.d.ts +105 -0
  271. package/dist/types/components/icon/index.d.ts +3 -0
  272. package/dist/types/components/icon-banks/icon-banks.d.ts +7 -0
  273. package/dist/types/components/icon-banks/icons-banks.d.ts +28 -0
  274. package/dist/types/components/icon-banks/index.d.ts +3 -0
  275. package/dist/types/components/icon-documents/icon-document.d.ts +9 -0
  276. package/dist/types/components/icon-documents/icons-document.d.ts +13 -0
  277. package/dist/types/components/icon-documents/index.d.ts +3 -0
  278. package/dist/types/components/index.d.ts +49 -0
  279. package/dist/types/components/ui/accordion.d.ts +13 -0
  280. package/dist/types/components/ui/alert.d.ts +16 -0
  281. package/dist/types/components/ui/autocomplete.d.ts +23 -0
  282. package/dist/types/components/ui/avatar.d.ts +27 -0
  283. package/dist/types/components/ui/button.d.ts +35 -0
  284. package/dist/types/components/ui/calendar.d.ts +4 -0
  285. package/dist/types/components/ui/card.d.ts +38 -0
  286. package/dist/types/components/ui/carousel.d.ts +11 -0
  287. package/dist/types/components/ui/checkbox.d.ts +26 -0
  288. package/dist/types/components/ui/combobox-base/combobox-base.d.ts +10 -0
  289. package/dist/types/components/ui/combobox-base/index.d.ts +1 -0
  290. package/dist/types/components/ui/combobox-primitive/combobox-primitive-context.d.ts +54 -0
  291. package/dist/types/components/ui/combobox-primitive/components/Item.d.ts +3 -0
  292. package/dist/types/components/ui/combobox-primitive/components/combobox-actions.d.ts +5 -0
  293. package/dist/types/components/ui/combobox-primitive/components/combobox-container.d.ts +5 -0
  294. package/dist/types/components/ui/combobox-primitive/components/combobox-input.d.ts +5 -0
  295. package/dist/types/components/ui/combobox-primitive/components/combobox-item-renderer.d.ts +10 -0
  296. package/dist/types/components/ui/combobox-primitive/components/combobox-menu.d.ts +6 -0
  297. package/dist/types/components/ui/combobox-primitive/components/index.d.ts +8 -0
  298. package/dist/types/components/ui/combobox-primitive/components/item-view.d.ts +3 -0
  299. package/dist/types/components/ui/combobox-primitive/components/list.d.ts +3 -0
  300. package/dist/types/components/ui/combobox-primitive/constants.d.ts +47 -0
  301. package/dist/types/components/ui/combobox-primitive/hooks.d.ts +8 -0
  302. package/dist/types/components/ui/combobox-primitive/index.d.ts +3 -0
  303. package/dist/types/components/ui/combobox-primitive/types.d.ts +62 -0
  304. package/dist/types/components/ui/combobox-primitive/utils.d.ts +25 -0
  305. package/dist/types/components/ui/combobox.d.ts +34 -0
  306. package/dist/types/components/ui/command.d.ts +78 -0
  307. package/dist/types/components/ui/customizable-carousel.d.ts +148 -0
  308. package/dist/types/components/ui/date-picker.d.ts +37 -0
  309. package/dist/types/components/ui/date-range-picker/constants.d.ts +22 -0
  310. package/dist/types/components/ui/date-range-picker/locales.d.ts +3 -0
  311. package/dist/types/components/ui/date-range-picker.d.ts +46 -0
  312. package/dist/types/components/ui/dialog/dialog-base/dialog-base.d.ts +41 -0
  313. package/dist/types/components/ui/dialog/dialog-base/index.d.ts +3 -0
  314. package/dist/types/components/ui/dialog/dialog-base/use-base-dialog.d.ts +35 -0
  315. package/dist/types/components/ui/dialog/dialog-primitive/dialog-primitive.d.ts +36 -0
  316. package/dist/types/components/ui/dialog/dialog-primitive/index.d.ts +2 -0
  317. package/dist/types/components/ui/dialog/index.d.ts +2 -0
  318. package/dist/types/components/ui/dialog/utils.d.ts +6 -0
  319. package/dist/types/components/ui/divider.d.ts +6 -0
  320. package/dist/types/components/ui/dropdown.d.ts +53 -0
  321. package/dist/types/components/ui/input-number/index.d.ts +2 -0
  322. package/dist/types/components/ui/input-number/input-number.d.ts +43 -0
  323. package/dist/types/components/ui/input.d.ts +58 -0
  324. package/dist/types/components/ui/link.d.ts +28 -0
  325. package/dist/types/components/ui/masked-input.d.ts +12 -0
  326. package/dist/types/components/ui/modal.d.ts +26 -0
  327. package/dist/types/components/ui/otp-input.d.ts +49 -0
  328. package/dist/types/components/ui/phone-input/constants.d.ts +18 -0
  329. package/dist/types/components/ui/phone-input/locales/ru.json.d.ts +252 -0
  330. package/dist/types/components/ui/phone-input/locales/tg.json.d.ts +261 -0
  331. package/dist/types/components/ui/phone-input/locales/uz.json.d.ts +261 -0
  332. package/dist/types/components/ui/phone-input/phone-input-utils.d.ts +2 -0
  333. package/dist/types/components/ui/phone-input/phone-input.d.ts +24 -0
  334. package/dist/types/components/ui/phone-input/phone-mask.d.ts +233 -0
  335. package/dist/types/components/ui/popover.d.ts +7 -0
  336. package/dist/types/components/ui/progress.d.ts +4 -0
  337. package/dist/types/components/ui/radio.d.ts +37 -0
  338. package/dist/types/components/ui/schedule-calendar/calendar-day-card.d.ts +9 -0
  339. package/dist/types/components/ui/schedule-calendar/constants.d.ts +3 -0
  340. package/dist/types/components/ui/schedule-calendar/embla-calendar-card.d.ts +9 -0
  341. package/dist/types/components/ui/schedule-calendar/embla-calendar-strip.d.ts +14 -0
  342. package/dist/types/components/ui/schedule-calendar/index.d.ts +16 -0
  343. package/dist/types/components/ui/schedule-calendar/schedule-calendar-strip.d.ts +36 -0
  344. package/dist/types/components/ui/schedule-calendar/schedule-header.d.ts +26 -0
  345. package/dist/types/components/ui/schedule-calendar/use-schedule-calendar.d.ts +27 -0
  346. package/dist/types/components/ui/schedule-calendar/use-schedule-sync.d.ts +39 -0
  347. package/dist/types/components/ui/schedule-calendar/utils.d.ts +12 -0
  348. package/dist/types/components/ui/scroll-area.d.ts +9 -0
  349. package/dist/types/components/ui/segments.d.ts +44 -0
  350. package/dist/types/components/ui/select.d.ts +95 -0
  351. package/dist/types/components/ui/spinner.d.ts +12 -0
  352. package/dist/types/components/ui/stepper.d.ts +11 -0
  353. package/dist/types/components/ui/switch.d.ts +24 -0
  354. package/dist/types/components/ui/tabs.d.ts +25 -0
  355. package/dist/types/components/ui/tag.d.ts +28 -0
  356. package/dist/types/components/ui/textarea.d.ts +17 -0
  357. package/dist/types/components/ui/time-picker.d.ts +15 -0
  358. package/dist/types/components/ui/time-range-picker.d.ts +26 -0
  359. package/dist/types/components/ui/timeline.d.ts +17 -0
  360. package/dist/types/components/ui/toaster.d.ts +45 -0
  361. package/dist/types/components/ui/tooltip.d.ts +8 -0
  362. package/dist/types/components/ui/typography.d.ts +25 -0
  363. package/dist/types/components/ui/uploader.d.ts +52 -0
  364. package/dist/types/index.d.ts +1 -0
  365. package/dist/types/lib/utils.d.ts +14 -0
  366. package/dist/types/main.d.ts +0 -0
  367. package/dist/types/utils/use-device-detector.d.ts +1 -0
  368. package/dist/vite.svg +1 -0
  369. package/package.json +171 -0
@@ -0,0 +1,333 @@
1
+ var Y = Object.defineProperty, J = Object.defineProperties;
2
+ var Q = Object.getOwnPropertyDescriptors;
3
+ var L = Object.getOwnPropertySymbols;
4
+ var k = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
5
+ var N = (e, r, t) => r in e ? Y(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, h = (e, r) => {
6
+ for (var t in r || (r = {}))
7
+ k.call(r, t) && N(e, t, r[t]);
8
+ if (L)
9
+ for (var t of L(r))
10
+ V.call(r, t) && N(e, t, r[t]);
11
+ return e;
12
+ }, y = (e, r) => J(e, Q(r));
13
+ var x = (e, r) => {
14
+ var t = {};
15
+ for (var a in e)
16
+ k.call(e, a) && r.indexOf(a) < 0 && (t[a] = e[a]);
17
+ if (e != null && L)
18
+ for (var a of L(e))
19
+ r.indexOf(a) < 0 && V.call(e, a) && (t[a] = e[a]);
20
+ return t;
21
+ };
22
+ import { jsx as E, jsxs as X } from "react/jsx-runtime";
23
+ import * as m from "react";
24
+ import B from "react";
25
+ import { c as Z } from "../../chunks/index-E4d_Gd-w.js";
26
+ import { u as ee } from "../../chunks/index-DwYXX2sM.js";
27
+ import { u as R } from "../../chunks/index-DuekHEmj.js";
28
+ import { P as T } from "../../chunks/index-BJD1rYeT.js";
29
+ import { Icon as te } from "../icon/icon.js";
30
+ import { c as A, g as re } from "../../chunks/utils-TbLXCoKm.js";
31
+ var b = { exports: {} }, w = {};
32
+ /**
33
+ * @license React
34
+ * use-sync-external-store-shim.production.js
35
+ *
36
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
37
+ *
38
+ * This source code is licensed under the MIT license found in the
39
+ * LICENSE file in the root directory of this source tree.
40
+ */
41
+ var D;
42
+ function ae() {
43
+ if (D) return w;
44
+ D = 1;
45
+ var e = B;
46
+ function r(s, i) {
47
+ return s === i && (s !== 0 || 1 / s === 1 / i) || s !== s && i !== i;
48
+ }
49
+ var t = typeof Object.is == "function" ? Object.is : r, a = e.useState, n = e.useEffect, o = e.useLayoutEffect, v = e.useDebugValue;
50
+ function c(s, i) {
51
+ var u = i(), l = a({ inst: { value: u, getSnapshot: i } }), f = l[0].inst, g = l[1];
52
+ return o(
53
+ function() {
54
+ f.value = u, f.getSnapshot = i, p(f) && g({ inst: f });
55
+ },
56
+ [s, u, i]
57
+ ), n(
58
+ function() {
59
+ return p(f) && g({ inst: f }), s(function() {
60
+ p(f) && g({ inst: f });
61
+ });
62
+ },
63
+ [s]
64
+ ), v(u), u;
65
+ }
66
+ function p(s) {
67
+ var i = s.getSnapshot;
68
+ s = s.value;
69
+ try {
70
+ var u = i();
71
+ return !t(s, u);
72
+ } catch (l) {
73
+ return !0;
74
+ }
75
+ }
76
+ function d(s, i) {
77
+ return i();
78
+ }
79
+ var S = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? d : c;
80
+ return w.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : S, w;
81
+ }
82
+ var C = {};
83
+ /**
84
+ * @license React
85
+ * use-sync-external-store-shim.development.js
86
+ *
87
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
88
+ *
89
+ * This source code is licensed under the MIT license found in the
90
+ * LICENSE file in the root directory of this source tree.
91
+ */
92
+ var G;
93
+ function ne() {
94
+ return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
95
+ function e(u, l) {
96
+ return u === l && (u !== 0 || 1 / u === 1 / l) || u !== u && l !== l;
97
+ }
98
+ function r(u, l) {
99
+ S || n.startTransition === void 0 || (S = !0, console.error(
100
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
101
+ ));
102
+ var f = l();
103
+ if (!s) {
104
+ var g = l();
105
+ o(f, g) || (console.error(
106
+ "The result of getSnapshot should be cached to avoid an infinite loop"
107
+ ), s = !0);
108
+ }
109
+ g = v({
110
+ inst: { value: f, getSnapshot: l }
111
+ });
112
+ var _ = g[0].inst, O = g[1];
113
+ return p(
114
+ function() {
115
+ _.value = f, _.getSnapshot = l, t(_) && O({ inst: _ });
116
+ },
117
+ [u, f, l]
118
+ ), c(
119
+ function() {
120
+ return t(_) && O({ inst: _ }), u(function() {
121
+ t(_) && O({ inst: _ });
122
+ });
123
+ },
124
+ [u]
125
+ ), d(f), f;
126
+ }
127
+ function t(u) {
128
+ var l = u.getSnapshot;
129
+ u = u.value;
130
+ try {
131
+ var f = l();
132
+ return !o(u, f);
133
+ } catch (g) {
134
+ return !0;
135
+ }
136
+ }
137
+ function a(u, l) {
138
+ return l();
139
+ }
140
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ != "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
141
+ var n = B, o = typeof Object.is == "function" ? Object.is : e, v = n.useState, c = n.useEffect, p = n.useLayoutEffect, d = n.useDebugValue, S = !1, s = !1, i = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? a : r;
142
+ C.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : i, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ != "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
143
+ }()), C;
144
+ }
145
+ var M;
146
+ function oe() {
147
+ return M || (M = 1, process.env.NODE_ENV === "production" ? b.exports = ae() : b.exports = ne()), b.exports;
148
+ }
149
+ var se = oe();
150
+ function ue() {
151
+ return se.useSyncExternalStore(
152
+ ie,
153
+ () => !0,
154
+ () => !1
155
+ );
156
+ }
157
+ function ie() {
158
+ return () => {
159
+ };
160
+ }
161
+ var I = "Avatar", [le, Re] = Z(I), [ce, H] = le(I), U = m.forwardRef(
162
+ (e, r) => {
163
+ const v = e, { __scopeAvatar: t } = v, a = x(v, ["__scopeAvatar"]), [n, o] = m.useState("idle");
164
+ return /* @__PURE__ */ E(
165
+ ce,
166
+ {
167
+ scope: t,
168
+ imageLoadingStatus: n,
169
+ onImageLoadingStatusChange: o,
170
+ children: /* @__PURE__ */ E(T.span, y(h({}, a), { ref: r }))
171
+ }
172
+ );
173
+ }
174
+ );
175
+ U.displayName = I;
176
+ var q = "AvatarImage", K = m.forwardRef(
177
+ (e, r) => {
178
+ const d = e, { __scopeAvatar: t, src: a, onLoadingStatusChange: n = () => {
179
+ } } = d, o = x(d, ["__scopeAvatar", "src", "onLoadingStatusChange"]), v = H(q, t), c = de(a, o), p = ee((S) => {
180
+ n(S), v.onImageLoadingStatusChange(S);
181
+ });
182
+ return R(() => {
183
+ c !== "idle" && p(c);
184
+ }, [c, p]), c === "loaded" ? /* @__PURE__ */ E(T.img, y(h({}, o), { ref: r, src: a })) : null;
185
+ }
186
+ );
187
+ K.displayName = q;
188
+ var $ = "AvatarFallback", F = m.forwardRef(
189
+ (e, r) => {
190
+ const p = e, { __scopeAvatar: t, delayMs: a } = p, n = x(p, ["__scopeAvatar", "delayMs"]), o = H($, t), [v, c] = m.useState(a === void 0);
191
+ return m.useEffect(() => {
192
+ if (a !== void 0) {
193
+ const d = window.setTimeout(() => c(!0), a);
194
+ return () => window.clearTimeout(d);
195
+ }
196
+ }, [a]), v && o.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ E(T.span, y(h({}, n), { ref: r })) : null;
197
+ }
198
+ );
199
+ F.displayName = $;
200
+ function j(e, r) {
201
+ return e ? r ? (e.src !== r && (e.src = r), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
202
+ }
203
+ function de(e, { referrerPolicy: r, crossOrigin: t }) {
204
+ const a = ue(), n = m.useRef(null), o = a ? (n.current || (n.current = new window.Image()), n.current) : null, [v, c] = m.useState(
205
+ () => j(o, e)
206
+ );
207
+ return R(() => {
208
+ c(j(o, e));
209
+ }, [o, e]), R(() => {
210
+ const p = (s) => () => {
211
+ c(s);
212
+ };
213
+ if (!o) return;
214
+ const d = p("loaded"), S = p("error");
215
+ return o.addEventListener("load", d), o.addEventListener("error", S), r && (o.referrerPolicy = r), typeof t == "string" && (o.crossOrigin = t), () => {
216
+ o.removeEventListener("load", d), o.removeEventListener("error", S);
217
+ };
218
+ }, [o, t, r]), v;
219
+ }
220
+ var P = U, z = K, W = F;
221
+ const fe = {
222
+ small: "h-6 w-6",
223
+ default: "h-8 w-8",
224
+ large: "h-10 w-10",
225
+ extra: "h-12 w-12"
226
+ }, ve = {
227
+ small: "rounded-[6px]",
228
+ default: "rounded-[8px]",
229
+ large: "rounded-[10px]",
230
+ extra: "rounded-[12px]"
231
+ }, pe = {
232
+ small: "text-[12px]",
233
+ default: "text-[12px]",
234
+ large: "text-[16px]",
235
+ extra: "text-[16px]"
236
+ }, Se = {
237
+ purple: "bg-[var(--color-avatar-purple-bg)]",
238
+ cyan: "bg-[var(--color-avatar-cyan-bg)]",
239
+ blue: "bg-[var(--color-avatar-blue-bg)]",
240
+ volcano: "bg-[var(--color-avatar-volcano-bg)]",
241
+ magenta: "bg-[var(--color-avatar-magenta-bg)]"
242
+ }, me = {
243
+ purple: "text-[var(--color-avatar-purple-fg)]",
244
+ cyan: "text-[var(--color-avatar-cyan-fg)]",
245
+ blue: "text-[var(--color-avatar-blue-fg)]",
246
+ volcano: "text-[var(--color-avatar-volcano-fg)]",
247
+ magenta: "text-[var(--color-avatar-magenta-fg)]"
248
+ }, ge = m.forwardRef((p, c) => {
249
+ var d = p, { className: e, "data-testid": r, size: t = "default", shape: a = "circle", badge: n = !1, children: o } = d, v = x(d, ["className", "data-testid", "size", "shape", "badge", "children"]);
250
+ const S = a === "circle" ? "rounded-full" : ve[t], s = {
251
+ small: 8,
252
+ default: 10,
253
+ large: 12,
254
+ extra: 16
255
+ }[t], i = {
256
+ small: "-top-2 -right-0.5",
257
+ default: "-top-1.5 -right-0.5",
258
+ large: "-top-1.5 -right-0.5",
259
+ extra: "-top-1 -right-1"
260
+ }[t];
261
+ return /* @__PURE__ */ X(
262
+ P,
263
+ y(h({
264
+ ref: c,
265
+ className: A(
266
+ "relative flex shrink-0",
267
+ fe[t],
268
+ S,
269
+ e
270
+ ),
271
+ "data-testid": r
272
+ }, v), {
273
+ children: [
274
+ o,
275
+ n && /* @__PURE__ */ E(
276
+ "span",
277
+ {
278
+ "aria-hidden": "true",
279
+ className: A("pointer-events-none select-none absolute", i),
280
+ children: /* @__PURE__ */ E(te, { icon: "ErrorFillIcon", className: "text-destructive", size: s })
281
+ }
282
+ )
283
+ ]
284
+ })
285
+ );
286
+ });
287
+ ge.displayName = P.displayName;
288
+ const _e = m.forwardRef((a, t) => {
289
+ var n = a, { className: e } = n, r = x(n, ["className"]);
290
+ return /* @__PURE__ */ E(
291
+ z,
292
+ h({
293
+ ref: t,
294
+ className: A(
295
+ "aspect-square h-full w-full rounded-[inherit] border-1 border-default-background",
296
+ e
297
+ )
298
+ }, r)
299
+ );
300
+ });
301
+ _e.displayName = z.displayName;
302
+ const Ee = m.forwardRef((p, c) => {
303
+ var d = p, { className: e, size: r = "default", colorVariant: t, userId: a, autoColor: n = !0, children: o } = d, v = x(d, ["className", "size", "colorVariant", "userId", "autoColor", "children"]);
304
+ const S = pe[r], s = m.useMemo(() => {
305
+ if (t)
306
+ return t;
307
+ if (n)
308
+ return re(a);
309
+ }, [n, t, a]), i = s ? Se[s] : "bg-muted", u = s ? me[s] : "text-foreground";
310
+ return /* @__PURE__ */ E(
311
+ W,
312
+ y(h({
313
+ ref: c,
314
+ className: A(
315
+ "flex h-full w-full items-center justify-center rounded-[inherit]",
316
+ i,
317
+ // Text: шрифт Моно (CoFo), цвет в тон фону/контраст
318
+ "font-cofo font-normal",
319
+ u,
320
+ S,
321
+ e
322
+ )
323
+ }, v), {
324
+ children: o
325
+ })
326
+ );
327
+ });
328
+ Ee.displayName = W.displayName;
329
+ export {
330
+ ge as Avatar,
331
+ Ee as AvatarFallback,
332
+ _e as AvatarImage
333
+ };
@@ -0,0 +1,37 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "../../chunks/index-CN5JEZ5H.js";
4
+ import "../../chunks/index-BO6p208a.js";
5
+ import "../icon/icon.js";
6
+ import { B as H, b as I } from "../../chunks/uploader-BN38rjbw.js";
7
+ import "../icon-banks/icons-banks.js";
8
+ import "../icon-documents/icons-document.js";
9
+ import "../../chunks/utils-TbLXCoKm.js";
10
+ import "./command.js";
11
+ import "../../chunks/popover-kFSgc5Lv.js";
12
+ import "./avatar.js";
13
+ import "./card.js";
14
+ import "./checkbox.js";
15
+ import "../../chunks/combobox-primitive-context-B_ldR_VA.js";
16
+ import "./combobox-primitive/components/combobox-container.js";
17
+ import "./combobox-primitive/components/combobox-input.js";
18
+ import "./combobox-primitive/components/combobox-item-renderer.js";
19
+ import "./combobox-primitive/components/combobox-menu.js";
20
+ import "./combobox-primitive/components/Item.js";
21
+ import "./combobox-primitive/components/item-view.js";
22
+ import "./combobox-primitive/components/list.js";
23
+ import "./customizable-carousel.js";
24
+ import "./date-range-picker/locales.js";
25
+ import "./dialog/dialog-base/use-base-dialog.js";
26
+ import "./link.js";
27
+ import "./segments.js";
28
+ import "./spinner.js";
29
+ import "./switch.js";
30
+ import "./tabs.js";
31
+ import "./tag.js";
32
+ import "./toaster.js";
33
+ import "../../chunks/tooltip-BxRtZLBR.js";
34
+ export {
35
+ H as Button,
36
+ I as buttonVariants
37
+ };
@@ -0,0 +1,121 @@
1
+ var h = Object.defineProperty;
2
+ var i = Object.getOwnPropertySymbols;
3
+ var y = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
+ var g = (e, r, t) => r in e ? h(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, s = (e, r) => {
5
+ for (var t in r || (r = {}))
6
+ y.call(r, t) && g(e, t, r[t]);
7
+ if (i)
8
+ for (var t of i(r))
9
+ c.call(r, t) && g(e, t, r[t]);
10
+ return e;
11
+ };
12
+ var f = (e, r) => {
13
+ var t = {};
14
+ for (var a in e)
15
+ y.call(e, a) && r.indexOf(a) < 0 && (t[a] = e[a]);
16
+ if (e != null && i)
17
+ for (var a of i(e))
18
+ r.indexOf(a) < 0 && c.call(e, a) && (t[a] = e[a]);
19
+ return t;
20
+ };
21
+ import { jsx as u, jsxs as _ } from "react/jsx-runtime";
22
+ import { $ as w, X as v, b as k } from "../../chunks/uploader-BN38rjbw.js";
23
+ import { c as o } from "../../chunks/utils-TbLXCoKm.js";
24
+ import { Icon as b } from "../icon/icon.js";
25
+ import { f as x } from "../../chunks/format-DoKcg9cH.js";
26
+ function A(E) {
27
+ var l = E, {
28
+ className: e,
29
+ classNames: r,
30
+ showOutsideDays: t = !0,
31
+ locale: a
32
+ } = l, m = f(l, [
33
+ "className",
34
+ "classNames",
35
+ "showOutsideDays",
36
+ "locale"
37
+ ]);
38
+ return /* @__PURE__ */ u(
39
+ w,
40
+ s({
41
+ showOutsideDays: t,
42
+ className: o("p-0 md:p-[10px] md:pb-0", e),
43
+ classNames: s({
44
+ months: "flex flex-col md:flex-row gap-2",
45
+ month: "flex flex-col gap-3 items-center md:items-start font-medium",
46
+ caption: "flex justify-center pt-1 relative items-center w-full",
47
+ caption_label: "text-[14px] font-graphik",
48
+ nav: "flex items-center gap-1",
49
+ nav_button: o(
50
+ k({ variant: "default", iconOnly: !0 }),
51
+ "size-8 md:size-6"
52
+ ),
53
+ nav_button_previous: "absolute left-1",
54
+ nav_button_next: "absolute right-1",
55
+ table: "w-full border-collapse md:w-auto",
56
+ head_row: "flex items-center p-0",
57
+ head_cell: "text-muted-foreground font-graphik text-[12px] w-full p-0 py-1 pb-3 font-normal",
58
+ row: "flex w-full mb-1",
59
+ cell: o(
60
+ "relative w-full text-center text-[14px] focus-within:relative focus-within:z-20 px-[2px] py-0",
61
+ m.mode === "range" ? [
62
+ "[&:has(>.day-range-end)]:rounded-r-md",
63
+ "[&:has(>.day-range-start)]:rounded-l-md",
64
+ "[&:has(.day-hover-range)]:bg-primary/10",
65
+ "[&:has(.day-outside)]:bg-transparent"
66
+ ].join(" ") : "[&:has([aria-selected])]:rounded-md"
67
+ ),
68
+ day: o(
69
+ "w-full h-8 md:h-auto md:w-auto md:size-8 bg-transparent border-0 p-0 font-graphik aria-selected:opacity-100 cursor-pointer rounded-l-md rounded-r-md hover:bg-muted"
70
+ ),
71
+ day_range_start: o(
72
+ "day-range-start",
73
+ "[&:not(.day-outside)]:bg-primary",
74
+ "[&:not(.day-outside)]:text-primary-foreground",
75
+ "aria-selected:[&:not(.day-outside)]:bg-primary",
76
+ "aria-selected:[&:not(.day-outside)]:text-primary-foreground"
77
+ ),
78
+ day_range_middle: o(
79
+ "day-range-middle",
80
+ "[&:not(.day-outside)]:bg-primary-10",
81
+ "[&:not(.day-outside)]:text-black"
82
+ ),
83
+ day_range_end: o(
84
+ "day-range-end",
85
+ "[&:not(.day-outside)]:bg-primary",
86
+ "[&:not(.day-outside)]:text-primary-foreground",
87
+ "aria-selected:[&:not(.day-outside)]:bg-primary",
88
+ "aria-selected:[&:not(.day-outside)]:text-primary-foreground"
89
+ ),
90
+ day_selected: "aria-selected:bg-primary text-primary-foreground hover:bg-primary hover:text-white focus:bg-primary focus:text-primary-foreground",
91
+ day_today: "border-1 border-solid border-border-primary bg-background text-foreground rounded-md",
92
+ day_outside: "day-outside text-muted-foreground aria-selected:text-muted-foreground aria-selected:bg-transparent !bg-transparent [&.day-range-start]:!bg-transparent [&.day-range-end]:!bg-transparent",
93
+ day_disabled: "day-outside text-muted-foreground aria-selected:text-muted-foreground aria-selected:bg-transparent !bg-transparent [&.day-range-start]:!bg-transparent [&.day-range-end]:!bg-transparent",
94
+ day_hidden: "invisible"
95
+ }, r),
96
+ fixedWeeks: !0,
97
+ formatters: {
98
+ formatWeekdayName: (d, p) => {
99
+ const n = a ? x(d, "EEEEEE", { locale: a }) : d.toLocaleDateString("ru-RU", { weekday: "short" });
100
+ return n.charAt(0).toUpperCase() + n.slice(1);
101
+ }
102
+ },
103
+ weekStartsOn: 1,
104
+ components: {
105
+ IconLeft: () => /* @__PURE__ */ u(b, { icon: "ArrowLeftIcon" }),
106
+ IconRight: () => /* @__PURE__ */ u(b, { icon: "ArrowRightIcon" }),
107
+ CaptionLabel: ({ displayMonth: d }) => {
108
+ const p = a ? x(d, "MMM", { locale: a }) : d.toLocaleString("ru-RU", { month: "long" }).slice(0, 3), n = d.getFullYear();
109
+ return /* @__PURE__ */ _(v, { variant: "p2", weight: "medium", className: "font-graphik", children: [
110
+ p,
111
+ " ",
112
+ n
113
+ ] });
114
+ }
115
+ }
116
+ }, m)
117
+ );
118
+ }
119
+ export {
120
+ A as Calendar
121
+ };
@@ -0,0 +1,121 @@
1
+ var v = Object.defineProperty, C = Object.defineProperties;
2
+ var N = Object.getOwnPropertyDescriptors;
3
+ var m = Object.getOwnPropertySymbols;
4
+ var c = Object.prototype.hasOwnProperty, u = Object.prototype.propertyIsEnumerable;
5
+ var f = (t, r, e) => r in t ? v(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e, b = (t, r) => {
6
+ for (var e in r || (r = {}))
7
+ c.call(r, e) && f(t, e, r[e]);
8
+ if (m)
9
+ for (var e of m(r))
10
+ u.call(r, e) && f(t, e, r[e]);
11
+ return t;
12
+ }, a = (t, r) => C(t, N(r));
13
+ var w = (t, r) => {
14
+ var e = {};
15
+ for (var o in t)
16
+ c.call(t, o) && r.indexOf(o) < 0 && (e[o] = t[o]);
17
+ if (t != null && m)
18
+ for (var o of m(t))
19
+ r.indexOf(o) < 0 && u.call(t, o) && (e[o] = t[o]);
20
+ return e;
21
+ };
22
+ import { jsx as R } from "react/jsx-runtime";
23
+ import _ from "react";
24
+ import { c as i } from "../../chunks/utils-TbLXCoKm.js";
25
+ const k = _.forwardRef(
26
+ (q, j) => {
27
+ var x = q, {
28
+ className: t,
29
+ bordered: r = !1,
30
+ radius: e = "md",
31
+ variant: o = "default",
32
+ padding: d = "md",
33
+ overflow: p = !1,
34
+ direction: n = "col",
35
+ justify: l = "start",
36
+ align: s = "start",
37
+ children: y
38
+ } = x, h = w(x, [
39
+ "className",
40
+ "bordered",
41
+ "radius",
42
+ "variant",
43
+ "padding",
44
+ "overflow",
45
+ "direction",
46
+ "justify",
47
+ "align",
48
+ "children"
49
+ ]);
50
+ return /* @__PURE__ */ R(
51
+ "div",
52
+ a(b({
53
+ ref: j,
54
+ className: i(
55
+ // Base styles
56
+ "flex transition-colors",
57
+ { "border-border border-1 border-solid": r },
58
+ // Direction variants
59
+ {
60
+ "flex-row": n === "row",
61
+ "flex-col": n === "col"
62
+ },
63
+ // Justify variants
64
+ {
65
+ "justify-start": l === "start",
66
+ "justify-end": l === "end",
67
+ "justify-center": l === "center",
68
+ "justify-between": l === "between",
69
+ "justify-around": l === "around",
70
+ "justify-evenly": l === "evenly"
71
+ },
72
+ // Align variants
73
+ {
74
+ "items-start": s === "start",
75
+ "items-end": s === "end",
76
+ "items-center": s === "center",
77
+ "items-baseline": s === "baseline",
78
+ "items-stretch": s === "stretch"
79
+ },
80
+ // Border radius variants
81
+ {
82
+ "rounded-none": e === "none",
83
+ "rounded-xs": e === "xs",
84
+ "rounded-sm": e === "sm",
85
+ "rounded-md": e === "md",
86
+ "rounded-lg": e === "lg",
87
+ "rounded-xl": e === "xl",
88
+ "rounded-2xl": e === "2xl",
89
+ "rounded-3xl": e === "3xl",
90
+ "rounded-4xl": e === "4xl"
91
+ },
92
+ // Background variants
93
+ {
94
+ "bg-white": o === "default",
95
+ // TODO: Узнать у дизайнера, какой цвет у gray
96
+ "bg-card-fill-tertiary": o === "gray",
97
+ "bg-muted text-muted-foreground font-medium": o === "muted"
98
+ },
99
+ // Padding variants
100
+ {
101
+ "p-1": d === "2xxs",
102
+ "p-2": d === "xxs",
103
+ "p-3": d === "xs",
104
+ "p-4": d === "sm",
105
+ "p-5": d === "md",
106
+ "p-6": d === "lg"
107
+ },
108
+ // Overflow
109
+ { "overflow-hidden": p },
110
+ t
111
+ )
112
+ }, h), {
113
+ children: y
114
+ })
115
+ );
116
+ }
117
+ );
118
+ k.displayName = "Card";
119
+ export {
120
+ k as Card
121
+ };
@@ -0,0 +1,55 @@
1
+ var C = Object.defineProperty, g = Object.defineProperties;
2
+ var j = Object.getOwnPropertyDescriptors;
3
+ var r = Object.getOwnPropertySymbols;
4
+ var m = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
5
+ var c = (e, l, o) => l in e ? C(e, l, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[l] = o, p = (e, l) => {
6
+ for (var o in l || (l = {}))
7
+ m.call(l, o) && c(e, o, l[o]);
8
+ if (r)
9
+ for (var o of r(l))
10
+ t.call(l, o) && c(e, o, l[o]);
11
+ return e;
12
+ }, f = (e, l) => g(e, j(l));
13
+ var u = (e, l) => {
14
+ var o = {};
15
+ for (var s in e)
16
+ m.call(e, s) && l.indexOf(s) < 0 && (o[s] = e[s]);
17
+ if (e != null && r)
18
+ for (var s of r(e))
19
+ l.indexOf(s) < 0 && t.call(e, s) && (o[s] = e[s]);
20
+ return o;
21
+ };
22
+ import { jsx as a } from "react/jsx-runtime";
23
+ import { u as k } from "../../chunks/embla-carousel-react.esm-ZaRSnfTq.js";
24
+ import { c as v } from "../../chunks/utils-TbLXCoKm.js";
25
+ function q(w) {
26
+ var i = w, {
27
+ items: e,
28
+ renderSlide: l,
29
+ options: o,
30
+ className: s,
31
+ slideClassName: x
32
+ } = i, d = u(i, [
33
+ "items",
34
+ "renderSlide",
35
+ "options",
36
+ "className",
37
+ "slideClassName"
38
+ ]);
39
+ const h = {
40
+ align: "center",
41
+ loop: !1
42
+ }, [b] = k(h);
43
+ return /* @__PURE__ */ a(
44
+ "div",
45
+ f(p({
46
+ ref: b,
47
+ className: v("relative overflow-visible px-4", s)
48
+ }, d), {
49
+ children: /* @__PURE__ */ a("div", { className: "flex touch-pan-x select-none", children: e.map((N, n) => /* @__PURE__ */ a("div", { className: v("flex-shrink-0 px-2", x), children: l(N, n) }, n)) })
50
+ })
51
+ );
52
+ }
53
+ export {
54
+ q as SimpleCarousel
55
+ };