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.
- package/README.md +146 -0
- package/dist/chunks/accept-icon-X_bMUe5T.js +17 -0
- package/dist/chunks/account-balance-icon-CKxx1j3X.js +17 -0
- package/dist/chunks/add-circle-icon-D3XpY2oT.js +17 -0
- package/dist/chunks/add-icon-CZXR66VL.js +17 -0
- package/dist/chunks/alfa-icon-Cx0WqCux.js +17 -0
- package/dist/chunks/android-icon-6SCGu50U.js +17 -0
- package/dist/chunks/apple-icon-yya6O1xg.js +17 -0
- package/dist/chunks/arrow-back-icon-C_VwBDNK.js +17 -0
- package/dist/chunks/arrow-back-ios-icon-CB5K_mmJ.js +17 -0
- package/dist/chunks/arrow-down-icon-DFvg75P7.js +17 -0
- package/dist/chunks/arrow-forward-icon-BI4dm_L2.js +17 -0
- package/dist/chunks/arrow-left-icon-8yWT42A8.js +17 -0
- package/dist/chunks/arrow-right-icon-Bnx7GHux.js +17 -0
- package/dist/chunks/arrow-up-icon-DU7VVzN8.js +17 -0
- package/dist/chunks/attach-file-icon-OrT7tthI.js +17 -0
- package/dist/chunks/autorenew-icon-B0bI6Xt-.js +17 -0
- package/dist/chunks/baltiyskiy-icon-CXAJY9LH.js +17 -0
- package/dist/chunks/bill-error-icon-q8_KROAY.js +17 -0
- package/dist/chunks/bill-icon-Cw2GE_VB.js +17 -0
- package/dist/chunks/bill-in-progress-icon-BTsO5Mh5.js +17 -0
- package/dist/chunks/bill-warning-icon-3Y-dONd_.js +17 -0
- package/dist/chunks/bills-error-icon-CcDGUJrx.js +17 -0
- package/dist/chunks/bills-icon-BU_adAs0.js +17 -0
- package/dist/chunks/bills-in-progress-icon-RVEtPz7l.js +17 -0
- package/dist/chunks/bills-warning-icon-CNgWvumi.js +17 -0
- package/dist/chunks/block-icon-DGlp9c33.js +17 -0
- package/dist/chunks/bolt-fill-icon-DZjyKq8N.js +17 -0
- package/dist/chunks/bolt-icon-CJsvLlL-.js +17 -0
- package/dist/chunks/book-icon-BdaCKIQB.js +17 -0
- package/dist/chunks/business-center-icon-C5X-e-6I.js +17 -0
- package/dist/chunks/calendar-icon-B1cogiSd.js +17 -0
- package/dist/chunks/call-icon-DslHaQOP.js +17 -0
- package/dist/chunks/cancel-fill-DPYenlCk.js +17 -0
- package/dist/chunks/check-circle-fill-ne1MhahL.js +17 -0
- package/dist/chunks/check-circle-icon-BWhJprgU.js +17 -0
- package/dist/chunks/close-icon-CtbXesC0.js +17 -0
- package/dist/chunks/clsx-OuTLNxxd.js +16 -0
- package/dist/chunks/combobox-primitive-context-B_ldR_VA.js +4030 -0
- package/dist/chunks/cookie-DJ-U7h-A.js +17 -0
- package/dist/chunks/copy-icon-BWyncDVB.js +17 -0
- package/dist/chunks/credit-card-icon-DS1ckDU7.js +17 -0
- package/dist/chunks/delete-icon-Bk1ZmhBo.js +17 -0
- package/dist/chunks/document-icon-DcmQhRhY.js +17 -0
- package/dist/chunks/done-icon-BZEAL7mI.js +17 -0
- package/dist/chunks/download-icon-BvWPcT7W.js +17 -0
- package/dist/chunks/edit-icon-_3venQRC.js +17 -0
- package/dist/chunks/embla-carousel-react.esm-ZaRSnfTq.js +1252 -0
- package/dist/chunks/error-fill-icon--8j3Zcfq.js +17 -0
- package/dist/chunks/error-icon-BJWk5B-s.js +17 -0
- package/dist/chunks/error-icon-CgJ3zr06.js +17 -0
- package/dist/chunks/europa-icon-DbElF2Uc.js +17 -0
- package/dist/chunks/failed-icon-YP2jq4UN.js +17 -0
- package/dist/chunks/file-error-icon-630wBy1K.js +17 -0
- package/dist/chunks/file-success-icon-BTk5SYAM.js +17 -0
- package/dist/chunks/filter-icon-D_3_SQsN.js +17 -0
- package/dist/chunks/flag-icon-DmWEp4ya.js +17 -0
- package/dist/chunks/format-DoKcg9cH.js +1223 -0
- package/dist/chunks/full-screen-exit-icon-BHwq-9P-.js +17 -0
- package/dist/chunks/full-screen-icon-Dpl__xtk.js +17 -0
- package/dist/chunks/gazprom-icon-CRfKLTvP.js +17 -0
- package/dist/chunks/group-icon-BfSRHuvp.js +17 -0
- package/dist/chunks/help-icon-BMdlItds.js +17 -0
- package/dist/chunks/home-icon-Dc6LzbVw.js +17 -0
- package/dist/chunks/home-icon-Mag5Wxqq.js +17 -0
- package/dist/chunks/index-1Er1dKQf.js +13 -0
- package/dist/chunks/index-BJD1rYeT.js +57 -0
- package/dist/chunks/index-BO6p208a.js +48 -0
- package/dist/chunks/index-BZPx6jYI.js +8 -0
- package/dist/chunks/index-BxWD79NI.js +517 -0
- package/dist/chunks/index-ByaXH_ih.js +10 -0
- package/dist/chunks/index-CHDs-SiB.js +27 -0
- package/dist/chunks/index-CN5JEZ5H.js +79 -0
- package/dist/chunks/index-Ctjv6tIJ.js +1381 -0
- package/dist/chunks/index-DLcqcWxM.js +29 -0
- package/dist/chunks/index-DLeNytVF.js +9 -0
- package/dist/chunks/index-DYfkNB0n.js +54 -0
- package/dist/chunks/index-DuekHEmj.js +6 -0
- package/dist/chunks/index-DwYXX2sM.js +13 -0
- package/dist/chunks/index-E4d_Gd-w.js +91 -0
- package/dist/chunks/index-I8P2QgPV.js +258 -0
- package/dist/chunks/index-NPrw3_0K.js +14 -0
- package/dist/chunks/index-PsqJG3fE.js +75 -0
- package/dist/chunks/info-fill-icon-BzE09Xg8.js +17 -0
- package/dist/chunks/info-icon-BcUNe5kE.js +17 -0
- package/dist/chunks/inventory-icon-CFV8amBs.js +17 -0
- package/dist/chunks/link-icon-BUAymb0P.js +17 -0
- package/dist/chunks/list-icon-ChePCGxK.js +17 -0
- package/dist/chunks/location-icon-Bf9Wbg65.js +17 -0
- package/dist/chunks/logout-icon-DN86wp7N.js +17 -0
- package/dist/chunks/mail-icon-DCZPsZFE.js +17 -0
- package/dist/chunks/manage-accounts-icon-BkyuUTj3.js +17 -0
- package/dist/chunks/menu-icon-DWObHD95.js +17 -0
- package/dist/chunks/mkb-icon-CEkVt-7P.js +17 -0
- package/dist/chunks/more-horiz-icon-CSK7Ackl.js +17 -0
- package/dist/chunks/more-vert-icon-NA1tYTse.js +17 -0
- package/dist/chunks/mts-icon-Bq4YDYEy.js +17 -0
- package/dist/chunks/normal-icon-CYvIFN5j.js +17 -0
- package/dist/chunks/north-east-icon-Dh7-1BBW.js +17 -0
- package/dist/chunks/open-in-full-icon-DzhRd5Mx.js +17 -0
- package/dist/chunks/open-in-new-icon-A7MgnnyP.js +17 -0
- package/dist/chunks/otkritie-icon-yGwVocEY.js +17 -0
- package/dist/chunks/otp-icon-BQQXMe3b.js +17 -0
- package/dist/chunks/outgoing-main-icon-BAH2vddG.js +17 -0
- package/dist/chunks/page-info-icon-BiVNFu71.js +17 -0
- package/dist/chunks/passport-main-DNL65kJJ.js +17 -0
- package/dist/chunks/passport-registration-BGywpRar.js +17 -0
- package/dist/chunks/passport-selfie-Dsqd0uOf.js +17 -0
- package/dist/chunks/payment-icon-C-B7L4WP.js +17 -0
- package/dist/chunks/person-add-C-3pZhgM.js +17 -0
- package/dist/chunks/person-icon-Bo5NxPRQ.js +17 -0
- package/dist/chunks/person-search-icon-CwVm_XAL.js +17 -0
- package/dist/chunks/pincode-icon-BA-e4pBH.js +17 -0
- package/dist/chunks/play-icon-Bnj3hsIf.js +17 -0
- package/dist/chunks/popover-kFSgc5Lv.js +748 -0
- package/dist/chunks/progress-activity-icon-YbJGzvxH.js +17 -0
- package/dist/chunks/psb-icon-CxKzLVG5.js +17 -0
- package/dist/chunks/qiwi-icon-B795Q_fW.js +17 -0
- package/dist/chunks/raiffeisen-icon-CgcBX8eY.js +17 -0
- package/dist/chunks/refresh-icon-ac1oOwX8.js +17 -0
- package/dist/chunks/remove-icon-CTuoG0Vq.js +17 -0
- package/dist/chunks/ru-CUCVR8Pn.js +661 -0
- package/dist/chunks/russian-standart-icon-CI8j1Do6.js +17 -0
- package/dist/chunks/saint-petersburg-icon-DbffjI2W.js +17 -0
- package/dist/chunks/save-icon-DnF5revo.js +17 -0
- package/dist/chunks/sber-icon-b7d9_o7J.js +17 -0
- package/dist/chunks/sberid-icon-DgQtjRjD.js +17 -0
- package/dist/chunks/scenario-icon-BcnFsqUA.js +17 -0
- package/dist/chunks/scroll-area-TRRhxrjX.js +629 -0
- package/dist/chunks/search-icon-CortrXrC.js +17 -0
- package/dist/chunks/segment-icon-Bzm7cziF.js +17 -0
- package/dist/chunks/send-icon-BTztERTu.js +17 -0
- package/dist/chunks/settings-icon-D_wgjUsM.js +17 -0
- package/dist/chunks/shield-icon-BwpxkU5E.js +17 -0
- package/dist/chunks/signed-icon-DTQlKmWU.js +17 -0
- package/dist/chunks/skb-icon-BgDQolTL.js +17 -0
- package/dist/chunks/sms-icon-4p-ON5VX.js +17 -0
- package/dist/chunks/support-icon-CBHKGKq8.js +17 -0
- package/dist/chunks/tbank-icon-ByKW0pBb.js +17 -0
- package/dist/chunks/telegramm-icon-C2ZR2jdg.js +17 -0
- package/dist/chunks/thumbs-up-icon-BArjyDfk.js +17 -0
- package/dist/chunks/time-icon-DsWMo47L.js +17 -0
- package/dist/chunks/tinkoffid-icon-C6lsspZk.js +19 -0
- package/dist/chunks/tochka-icon-CoQ_r9Lz.js +17 -0
- package/dist/chunks/tooltip-BxRtZLBR.js +836 -0
- package/dist/chunks/trending-down-icon-DlHKI37F.js +17 -0
- package/dist/chunks/trending-up-icon-IEwGHi9c.js +17 -0
- package/dist/chunks/trust-icon-DcfUVGZ_.js +17 -0
- package/dist/chunks/tslib.es6-fInlAbov.js +27 -0
- package/dist/chunks/unfold-icon-S3J7xXHf.js +17 -0
- package/dist/chunks/uni-icon-gK006vr0.js +17 -0
- package/dist/chunks/upload-icon-CwzthQEL.js +17 -0
- package/dist/chunks/uploader-BN38rjbw.js +28387 -0
- package/dist/chunks/uralsib-icon-C-ZbdvlL.js +17 -0
- package/dist/chunks/uralskiy-icon-Djqv-ZYN.js +17 -0
- package/dist/chunks/utils-TbLXCoKm.js +2752 -0
- package/dist/chunks/visibility-off-icon-BA_I97Vw.js +17 -0
- package/dist/chunks/visibility-on-icon-C9VmKsvX.js +17 -0
- package/dist/chunks/vozrozhdenie-icon-CCMRNn95.js +17 -0
- package/dist/chunks/vtb-icon-BtfO1_Gx.js +17 -0
- package/dist/chunks/waiting-icon-lpQJA4wB.js +17 -0
- package/dist/chunks/wallet-icon-D0r9bDRg.js +17 -0
- package/dist/chunks/warning-icon-BmlgMY27.js +17 -0
- package/dist/chunks/work-icon-D7I-74Mk.js +17 -0
- package/dist/chunks/yandex-icon-CepqpI49.js +17 -0
- package/dist/chunks/zoom-in-icon-ZWEJANob.js +17 -0
- package/dist/chunks/zoom-out-icon-CeFz3G6V.js +17 -0
- package/dist/fonts/CoFoSansMono-Regular.otf +0 -0
- package/dist/fonts/Graphik-Bold.otf +0 -0
- package/dist/fonts/Graphik-Medium.otf +0 -0
- package/dist/fonts/Graphik-Regular.otf +0 -0
- package/dist/lib/icon/icon.js +38 -0
- package/dist/lib/icon/icons.js +353 -0
- package/dist/lib/icon/index.js +4 -0
- package/dist/lib/icon-banks/icon-banks.js +21 -0
- package/dist/lib/icon-banks/icons-banks.js +106 -0
- package/dist/lib/icon-banks/index.js +4 -0
- package/dist/lib/icon-documents/icon-document.js +26 -0
- package/dist/lib/icon-documents/icons-document.js +57 -0
- package/dist/lib/icon-documents/index.js +4 -0
- package/dist/lib/index.js +192 -0
- package/dist/lib/ui/accordion.js +474 -0
- package/dist/lib/ui/alert.js +8 -0
- package/dist/lib/ui/autocomplete.js +110 -0
- package/dist/lib/ui/avatar.js +333 -0
- package/dist/lib/ui/button.js +37 -0
- package/dist/lib/ui/calendar.js +121 -0
- package/dist/lib/ui/card.js +121 -0
- package/dist/lib/ui/carousel.js +55 -0
- package/dist/lib/ui/checkbox.js +363 -0
- package/dist/lib/ui/combobox-base/combobox-base.js +16 -0
- package/dist/lib/ui/combobox-base/index.js +4 -0
- package/dist/lib/ui/combobox-primitive/combobox-primitive-context.js +7 -0
- package/dist/lib/ui/combobox-primitive/components/Item.js +9 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-actions.js +35 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-container.js +59 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-input.js +52 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-item-renderer.js +101 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-menu.js +56 -0
- package/dist/lib/ui/combobox-primitive/components/index.js +18 -0
- package/dist/lib/ui/combobox-primitive/components/item-view.js +53 -0
- package/dist/lib/ui/combobox-primitive/components/list.js +9 -0
- package/dist/lib/ui/combobox-primitive/constants.js +129 -0
- package/dist/lib/ui/combobox-primitive/hooks.js +31 -0
- package/dist/lib/ui/combobox-primitive/index.js +21 -0
- package/dist/lib/ui/combobox-primitive/types.js +1 -0
- package/dist/lib/ui/combobox-primitive/utils.js +60 -0
- package/dist/lib/ui/combobox.js +9 -0
- package/dist/lib/ui/command.js +1016 -0
- package/dist/lib/ui/customizable-carousel.js +431 -0
- package/dist/lib/ui/date-picker.js +288 -0
- package/dist/lib/ui/date-range-picker/constants.js +25 -0
- package/dist/lib/ui/date-range-picker/locales.js +116 -0
- package/dist/lib/ui/date-range-picker.js +392 -0
- package/dist/lib/ui/dialog/dialog-base/dialog-base.js +9 -0
- package/dist/lib/ui/dialog/dialog-base/index.js +6 -0
- package/dist/lib/ui/dialog/dialog-base/use-base-dialog.js +57 -0
- package/dist/lib/ui/dialog/dialog-primitive/dialog-primitive.js +17 -0
- package/dist/lib/ui/dialog/dialog-primitive/index.js +4 -0
- package/dist/lib/ui/dialog/index.js +7 -0
- package/dist/lib/ui/dialog/utils.js +32 -0
- package/dist/lib/ui/divider.js +8 -0
- package/dist/lib/ui/dropdown.js +13 -0
- package/dist/lib/ui/input-number/index.js +4 -0
- package/dist/lib/ui/input-number/input-number.js +6 -0
- package/dist/lib/ui/input.js +12 -0
- package/dist/lib/ui/link.js +167 -0
- package/dist/lib/ui/masked-input.js +6 -0
- package/dist/lib/ui/modal.js +41 -0
- package/dist/lib/ui/otp-input.js +8 -0
- package/dist/lib/ui/phone-input/constants.js +21 -0
- package/dist/lib/ui/phone-input/locales/ru.json.js +277 -0
- package/dist/lib/ui/phone-input/locales/tg.json.js +263 -0
- package/dist/lib/ui/phone-input/locales/uz.json.js +263 -0
- package/dist/lib/ui/phone-input/phone-input-utils.js +15 -0
- package/dist/lib/ui/phone-input/phone-input.js +20 -0
- package/dist/lib/ui/phone-input/phone-mask.js +261 -0
- package/dist/lib/ui/popover.js +10 -0
- package/dist/lib/ui/progress.js +140 -0
- package/dist/lib/ui/radio.js +10 -0
- package/dist/lib/ui/schedule-calendar/calendar-day-card.js +37 -0
- package/dist/lib/ui/schedule-calendar/constants.js +6 -0
- package/dist/lib/ui/schedule-calendar/embla-calendar-card.js +46 -0
- package/dist/lib/ui/schedule-calendar/embla-calendar-strip.js +52 -0
- package/dist/lib/ui/schedule-calendar/index.js +27 -0
- package/dist/lib/ui/schedule-calendar/schedule-calendar-strip.js +163 -0
- package/dist/lib/ui/schedule-calendar/schedule-header.js +66 -0
- package/dist/lib/ui/schedule-calendar/use-schedule-calendar.js +44 -0
- package/dist/lib/ui/schedule-calendar/use-schedule-sync.js +45 -0
- package/dist/lib/ui/schedule-calendar/utils.js +49 -0
- package/dist/lib/ui/scroll-area.js +7 -0
- package/dist/lib/ui/segments.js +376 -0
- package/dist/lib/ui/select.js +18 -0
- package/dist/lib/ui/spinner.js +57 -0
- package/dist/lib/ui/stepper.js +70 -0
- package/dist/lib/ui/switch.js +281 -0
- package/dist/lib/ui/tabs.js +301 -0
- package/dist/lib/ui/tag.js +113 -0
- package/dist/lib/ui/textarea.js +8 -0
- package/dist/lib/ui/time-picker.js +130 -0
- package/dist/lib/ui/time-range-picker.js +198 -0
- package/dist/lib/ui/timeline.js +36 -0
- package/dist/lib/ui/toaster.js +1002 -0
- package/dist/lib/ui/tooltip.js +10 -0
- package/dist/lib/ui/typography.js +36 -0
- package/dist/lib/ui/uploader.js +10 -0
- package/dist/styles/konsolpro-custom-ui.css +1 -0
- package/dist/styles/variables.css +279 -0
- package/dist/types/components/icon/icon.d.ts +10 -0
- package/dist/types/components/icon/icons.d.ts +105 -0
- package/dist/types/components/icon/index.d.ts +3 -0
- package/dist/types/components/icon-banks/icon-banks.d.ts +7 -0
- package/dist/types/components/icon-banks/icons-banks.d.ts +28 -0
- package/dist/types/components/icon-banks/index.d.ts +3 -0
- package/dist/types/components/icon-documents/icon-document.d.ts +9 -0
- package/dist/types/components/icon-documents/icons-document.d.ts +13 -0
- package/dist/types/components/icon-documents/index.d.ts +3 -0
- package/dist/types/components/index.d.ts +49 -0
- package/dist/types/components/ui/accordion.d.ts +13 -0
- package/dist/types/components/ui/alert.d.ts +16 -0
- package/dist/types/components/ui/autocomplete.d.ts +23 -0
- package/dist/types/components/ui/avatar.d.ts +27 -0
- package/dist/types/components/ui/button.d.ts +35 -0
- package/dist/types/components/ui/calendar.d.ts +4 -0
- package/dist/types/components/ui/card.d.ts +38 -0
- package/dist/types/components/ui/carousel.d.ts +11 -0
- package/dist/types/components/ui/checkbox.d.ts +26 -0
- package/dist/types/components/ui/combobox-base/combobox-base.d.ts +10 -0
- package/dist/types/components/ui/combobox-base/index.d.ts +1 -0
- package/dist/types/components/ui/combobox-primitive/combobox-primitive-context.d.ts +54 -0
- package/dist/types/components/ui/combobox-primitive/components/Item.d.ts +3 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-actions.d.ts +5 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-container.d.ts +5 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-input.d.ts +5 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-item-renderer.d.ts +10 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-menu.d.ts +6 -0
- package/dist/types/components/ui/combobox-primitive/components/index.d.ts +8 -0
- package/dist/types/components/ui/combobox-primitive/components/item-view.d.ts +3 -0
- package/dist/types/components/ui/combobox-primitive/components/list.d.ts +3 -0
- package/dist/types/components/ui/combobox-primitive/constants.d.ts +47 -0
- package/dist/types/components/ui/combobox-primitive/hooks.d.ts +8 -0
- package/dist/types/components/ui/combobox-primitive/index.d.ts +3 -0
- package/dist/types/components/ui/combobox-primitive/types.d.ts +62 -0
- package/dist/types/components/ui/combobox-primitive/utils.d.ts +25 -0
- package/dist/types/components/ui/combobox.d.ts +34 -0
- package/dist/types/components/ui/command.d.ts +78 -0
- package/dist/types/components/ui/customizable-carousel.d.ts +148 -0
- package/dist/types/components/ui/date-picker.d.ts +37 -0
- package/dist/types/components/ui/date-range-picker/constants.d.ts +22 -0
- package/dist/types/components/ui/date-range-picker/locales.d.ts +3 -0
- package/dist/types/components/ui/date-range-picker.d.ts +46 -0
- package/dist/types/components/ui/dialog/dialog-base/dialog-base.d.ts +41 -0
- package/dist/types/components/ui/dialog/dialog-base/index.d.ts +3 -0
- package/dist/types/components/ui/dialog/dialog-base/use-base-dialog.d.ts +35 -0
- package/dist/types/components/ui/dialog/dialog-primitive/dialog-primitive.d.ts +36 -0
- package/dist/types/components/ui/dialog/dialog-primitive/index.d.ts +2 -0
- package/dist/types/components/ui/dialog/index.d.ts +2 -0
- package/dist/types/components/ui/dialog/utils.d.ts +6 -0
- package/dist/types/components/ui/divider.d.ts +6 -0
- package/dist/types/components/ui/dropdown.d.ts +53 -0
- package/dist/types/components/ui/input-number/index.d.ts +2 -0
- package/dist/types/components/ui/input-number/input-number.d.ts +43 -0
- package/dist/types/components/ui/input.d.ts +58 -0
- package/dist/types/components/ui/link.d.ts +28 -0
- package/dist/types/components/ui/masked-input.d.ts +12 -0
- package/dist/types/components/ui/modal.d.ts +26 -0
- package/dist/types/components/ui/otp-input.d.ts +49 -0
- package/dist/types/components/ui/phone-input/constants.d.ts +18 -0
- package/dist/types/components/ui/phone-input/locales/ru.json.d.ts +252 -0
- package/dist/types/components/ui/phone-input/locales/tg.json.d.ts +261 -0
- package/dist/types/components/ui/phone-input/locales/uz.json.d.ts +261 -0
- package/dist/types/components/ui/phone-input/phone-input-utils.d.ts +2 -0
- package/dist/types/components/ui/phone-input/phone-input.d.ts +24 -0
- package/dist/types/components/ui/phone-input/phone-mask.d.ts +233 -0
- package/dist/types/components/ui/popover.d.ts +7 -0
- package/dist/types/components/ui/progress.d.ts +4 -0
- package/dist/types/components/ui/radio.d.ts +37 -0
- package/dist/types/components/ui/schedule-calendar/calendar-day-card.d.ts +9 -0
- package/dist/types/components/ui/schedule-calendar/constants.d.ts +3 -0
- package/dist/types/components/ui/schedule-calendar/embla-calendar-card.d.ts +9 -0
- package/dist/types/components/ui/schedule-calendar/embla-calendar-strip.d.ts +14 -0
- package/dist/types/components/ui/schedule-calendar/index.d.ts +16 -0
- package/dist/types/components/ui/schedule-calendar/schedule-calendar-strip.d.ts +36 -0
- package/dist/types/components/ui/schedule-calendar/schedule-header.d.ts +26 -0
- package/dist/types/components/ui/schedule-calendar/use-schedule-calendar.d.ts +27 -0
- package/dist/types/components/ui/schedule-calendar/use-schedule-sync.d.ts +39 -0
- package/dist/types/components/ui/schedule-calendar/utils.d.ts +12 -0
- package/dist/types/components/ui/scroll-area.d.ts +9 -0
- package/dist/types/components/ui/segments.d.ts +44 -0
- package/dist/types/components/ui/select.d.ts +95 -0
- package/dist/types/components/ui/spinner.d.ts +12 -0
- package/dist/types/components/ui/stepper.d.ts +11 -0
- package/dist/types/components/ui/switch.d.ts +24 -0
- package/dist/types/components/ui/tabs.d.ts +25 -0
- package/dist/types/components/ui/tag.d.ts +28 -0
- package/dist/types/components/ui/textarea.d.ts +17 -0
- package/dist/types/components/ui/time-picker.d.ts +15 -0
- package/dist/types/components/ui/time-range-picker.d.ts +26 -0
- package/dist/types/components/ui/timeline.d.ts +17 -0
- package/dist/types/components/ui/toaster.d.ts +45 -0
- package/dist/types/components/ui/tooltip.d.ts +8 -0
- package/dist/types/components/ui/typography.d.ts +25 -0
- package/dist/types/components/ui/uploader.d.ts +52 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/utils.d.ts +14 -0
- package/dist/types/main.d.ts +0 -0
- package/dist/types/utils/use-device-detector.d.ts +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +171 -0
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
var Y = Object.defineProperty, Z = Object.defineProperties;
|
|
2
|
+
var ee = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var y = Object.getOwnPropertySymbols;
|
|
4
|
+
var R = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var N = (e, r, o) => r in e ? Y(e, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[r] = o, c = (e, r) => {
|
|
6
|
+
for (var o in r || (r = {}))
|
|
7
|
+
R.call(r, o) && N(e, o, r[o]);
|
|
8
|
+
if (y)
|
|
9
|
+
for (var o of y(r))
|
|
10
|
+
C.call(r, o) && N(e, o, r[o]);
|
|
11
|
+
return e;
|
|
12
|
+
}, p = (e, r) => Z(e, ee(r));
|
|
13
|
+
var h = (e, r) => {
|
|
14
|
+
var o = {};
|
|
15
|
+
for (var t in e)
|
|
16
|
+
R.call(e, t) && r.indexOf(t) < 0 && (o[t] = e[t]);
|
|
17
|
+
if (e != null && y)
|
|
18
|
+
for (var t of y(e))
|
|
19
|
+
r.indexOf(t) < 0 && C.call(e, t) && (o[t] = e[t]);
|
|
20
|
+
return o;
|
|
21
|
+
};
|
|
22
|
+
import { jsx as i, jsxs as A, Fragment as M } from "react/jsx-runtime";
|
|
23
|
+
import * as te from "react";
|
|
24
|
+
import d from "react";
|
|
25
|
+
import { c as re } from "../../chunks/index-E4d_Gd-w.js";
|
|
26
|
+
import { P as I } from "../../chunks/index-BJD1rYeT.js";
|
|
27
|
+
import { c as V, I as oe, R as ae } from "../../chunks/index-I8P2QgPV.js";
|
|
28
|
+
import { c as se } from "../../chunks/index-DLeNytVF.js";
|
|
29
|
+
import { u as P } from "../../chunks/index-DYfkNB0n.js";
|
|
30
|
+
import { u as ne } from "../../chunks/index-ByaXH_ih.js";
|
|
31
|
+
import { c as F } from "../../chunks/index-BO6p208a.js";
|
|
32
|
+
import { Icon as j } from "../icon/icon.js";
|
|
33
|
+
import { c as _ } from "../../chunks/utils-TbLXCoKm.js";
|
|
34
|
+
var D = "Toggle", k = te.forwardRef((e, r) => {
|
|
35
|
+
const u = e, { pressed: o, defaultPressed: t, onPressedChange: s } = u, a = h(u, ["pressed", "defaultPressed", "onPressedChange"]), [l, n] = P({
|
|
36
|
+
prop: o,
|
|
37
|
+
onChange: s,
|
|
38
|
+
defaultProp: t != null ? t : !1,
|
|
39
|
+
caller: D
|
|
40
|
+
});
|
|
41
|
+
return /* @__PURE__ */ i(
|
|
42
|
+
I.button,
|
|
43
|
+
p(c({
|
|
44
|
+
type: "button",
|
|
45
|
+
"aria-pressed": l,
|
|
46
|
+
"data-state": l ? "on" : "off",
|
|
47
|
+
"data-disabled": e.disabled ? "" : void 0
|
|
48
|
+
}, a), {
|
|
49
|
+
ref: r,
|
|
50
|
+
onClick: se(e.onClick, () => {
|
|
51
|
+
e.disabled || n(!l);
|
|
52
|
+
})
|
|
53
|
+
})
|
|
54
|
+
);
|
|
55
|
+
});
|
|
56
|
+
k.displayName = D;
|
|
57
|
+
var G = "ToggleGroup", [z, we] = re(G, [
|
|
58
|
+
V
|
|
59
|
+
]), B = V(), w = d.forwardRef((e, r) => {
|
|
60
|
+
const s = e, { type: o } = s, t = h(s, ["type"]);
|
|
61
|
+
if (o === "single")
|
|
62
|
+
return /* @__PURE__ */ i(le, p(c({}, t), { ref: r }));
|
|
63
|
+
if (o === "multiple")
|
|
64
|
+
return /* @__PURE__ */ i(de, p(c({}, t), { ref: r }));
|
|
65
|
+
throw new Error(`Missing prop \`type\` expected on \`${G}\``);
|
|
66
|
+
});
|
|
67
|
+
w.displayName = G;
|
|
68
|
+
var [O, H] = z(G), le = d.forwardRef((e, r) => {
|
|
69
|
+
const u = e, {
|
|
70
|
+
value: o,
|
|
71
|
+
defaultValue: t,
|
|
72
|
+
onValueChange: s = () => {
|
|
73
|
+
}
|
|
74
|
+
} = u, a = h(u, [
|
|
75
|
+
"value",
|
|
76
|
+
"defaultValue",
|
|
77
|
+
"onValueChange"
|
|
78
|
+
]), [l, n] = P({
|
|
79
|
+
prop: o,
|
|
80
|
+
defaultProp: t != null ? t : "",
|
|
81
|
+
onChange: s,
|
|
82
|
+
caller: G
|
|
83
|
+
});
|
|
84
|
+
return /* @__PURE__ */ i(
|
|
85
|
+
O,
|
|
86
|
+
{
|
|
87
|
+
scope: e.__scopeToggleGroup,
|
|
88
|
+
type: "single",
|
|
89
|
+
value: d.useMemo(() => l ? [l] : [], [l]),
|
|
90
|
+
onItemActivate: n,
|
|
91
|
+
onItemDeactivate: d.useCallback(() => n(""), [n]),
|
|
92
|
+
children: /* @__PURE__ */ i(L, p(c({}, a), { ref: r }))
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
}), de = d.forwardRef((e, r) => {
|
|
96
|
+
const g = e, {
|
|
97
|
+
value: o,
|
|
98
|
+
defaultValue: t,
|
|
99
|
+
onValueChange: s = () => {
|
|
100
|
+
}
|
|
101
|
+
} = g, a = h(g, [
|
|
102
|
+
"value",
|
|
103
|
+
"defaultValue",
|
|
104
|
+
"onValueChange"
|
|
105
|
+
]), [l, n] = P({
|
|
106
|
+
prop: o,
|
|
107
|
+
defaultProp: t != null ? t : [],
|
|
108
|
+
onChange: s,
|
|
109
|
+
caller: G
|
|
110
|
+
}), u = d.useCallback(
|
|
111
|
+
(f) => n((m = []) => [...m, f]),
|
|
112
|
+
[n]
|
|
113
|
+
), v = d.useCallback(
|
|
114
|
+
(f) => n((m = []) => m.filter((x) => x !== f)),
|
|
115
|
+
[n]
|
|
116
|
+
);
|
|
117
|
+
return /* @__PURE__ */ i(
|
|
118
|
+
O,
|
|
119
|
+
{
|
|
120
|
+
scope: e.__scopeToggleGroup,
|
|
121
|
+
type: "multiple",
|
|
122
|
+
value: l,
|
|
123
|
+
onItemActivate: u,
|
|
124
|
+
onItemDeactivate: v,
|
|
125
|
+
children: /* @__PURE__ */ i(L, p(c({}, a), { ref: r }))
|
|
126
|
+
}
|
|
127
|
+
);
|
|
128
|
+
});
|
|
129
|
+
w.displayName = G;
|
|
130
|
+
var [ie, ue] = z(G), L = d.forwardRef(
|
|
131
|
+
(e, r) => {
|
|
132
|
+
const m = e, {
|
|
133
|
+
__scopeToggleGroup: o,
|
|
134
|
+
disabled: t = !1,
|
|
135
|
+
rovingFocus: s = !0,
|
|
136
|
+
orientation: a,
|
|
137
|
+
dir: l,
|
|
138
|
+
loop: n = !0
|
|
139
|
+
} = m, u = h(m, [
|
|
140
|
+
"__scopeToggleGroup",
|
|
141
|
+
"disabled",
|
|
142
|
+
"rovingFocus",
|
|
143
|
+
"orientation",
|
|
144
|
+
"dir",
|
|
145
|
+
"loop"
|
|
146
|
+
]), v = B(o), g = ne(l), f = c({ role: "group", dir: g }, u);
|
|
147
|
+
return /* @__PURE__ */ i(ie, { scope: o, rovingFocus: s, disabled: t, children: s ? /* @__PURE__ */ i(
|
|
148
|
+
ae,
|
|
149
|
+
p(c({
|
|
150
|
+
asChild: !0
|
|
151
|
+
}, v), {
|
|
152
|
+
orientation: a,
|
|
153
|
+
dir: g,
|
|
154
|
+
loop: n,
|
|
155
|
+
children: /* @__PURE__ */ i(I.div, p(c({}, f), { ref: r }))
|
|
156
|
+
})
|
|
157
|
+
) : /* @__PURE__ */ i(I.div, p(c({}, f), { ref: r })) });
|
|
158
|
+
}
|
|
159
|
+
), T = "ToggleGroupItem", U = d.forwardRef(
|
|
160
|
+
(e, r) => {
|
|
161
|
+
const o = H(T, e.__scopeToggleGroup), t = ue(T, e.__scopeToggleGroup), s = B(e.__scopeToggleGroup), a = o.value.includes(e.value), l = t.disabled || e.disabled, n = p(c({}, e), { pressed: a, disabled: l }), u = d.useRef(null);
|
|
162
|
+
return t.rovingFocus ? /* @__PURE__ */ i(
|
|
163
|
+
oe,
|
|
164
|
+
p(c({
|
|
165
|
+
asChild: !0
|
|
166
|
+
}, s), {
|
|
167
|
+
focusable: !l,
|
|
168
|
+
active: a,
|
|
169
|
+
ref: u,
|
|
170
|
+
children: /* @__PURE__ */ i(E, p(c({}, n), { ref: r }))
|
|
171
|
+
})
|
|
172
|
+
) : /* @__PURE__ */ i(E, p(c({}, n), { ref: r }));
|
|
173
|
+
}
|
|
174
|
+
);
|
|
175
|
+
U.displayName = T;
|
|
176
|
+
var E = d.forwardRef(
|
|
177
|
+
(e, r) => {
|
|
178
|
+
const u = e, { __scopeToggleGroup: o, value: t } = u, s = h(u, ["__scopeToggleGroup", "value"]), a = H(T, o), l = { role: "radio", "aria-checked": e.pressed, "aria-pressed": void 0 }, n = a.type === "single" ? l : void 0;
|
|
179
|
+
return /* @__PURE__ */ i(
|
|
180
|
+
k,
|
|
181
|
+
p(c(c({}, n), s), {
|
|
182
|
+
ref: r,
|
|
183
|
+
onPressedChange: (v) => {
|
|
184
|
+
v ? a.onItemActivate(t) : a.onItemDeactivate(t);
|
|
185
|
+
}
|
|
186
|
+
})
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
), $ = w, q = U;
|
|
190
|
+
const ce = F(
|
|
191
|
+
"inline-flex items-center justify-center rounded-xl text-secondary-foreground bg-default-background p-0.5 gap-0 font-cofo",
|
|
192
|
+
{
|
|
193
|
+
variants: {
|
|
194
|
+
size: {
|
|
195
|
+
default: "h-8",
|
|
196
|
+
lg: "h-10"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
defaultVariants: {
|
|
200
|
+
size: "default"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
), J = F(
|
|
204
|
+
"cursor-pointer gap-0 font-cofo inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-all focus-visible:outline-none border-0 disabled:pointer-events-none relative",
|
|
205
|
+
{
|
|
206
|
+
variants: {
|
|
207
|
+
variant: {
|
|
208
|
+
default: [
|
|
209
|
+
/* --- status: false (по умолч.) --- */
|
|
210
|
+
"bg-transparent",
|
|
211
|
+
/* hover, пока status = false */
|
|
212
|
+
"hover:bg-default-background hover:text-secondary",
|
|
213
|
+
/* --- status: true (data-state="on") --- */
|
|
214
|
+
"data-[state=on]:bg-white",
|
|
215
|
+
"data-[state=on]:shadow-[0_1px_2px_0_rgba(0,0,0,0.1)]",
|
|
216
|
+
/* hover при активном состоянии (фон не меняем) */
|
|
217
|
+
"data-[state=on]:hover:bg-white",
|
|
218
|
+
"data-[state=on]:hover:text-secondary",
|
|
219
|
+
/* --- disabled --- */
|
|
220
|
+
"disabled:bg-default-background disabled:text-gray-400 disabled:shadow-none"
|
|
221
|
+
].join(" "),
|
|
222
|
+
single: "bg-white shadow-[0_1px_2px_0_rgba(0,0,0,0.1)] border-0 hover:bg-default-background hover:text-secondary disabled:bg-white disabled:text-secondary disabled:shadow-none disabled:bg-transparent",
|
|
223
|
+
singleActive: "bg-transparent border-0 hover:bg-default-background hover:text-secondary disabled:bg-none disabled:text-secondary shadow-none disabled:bg-transparent"
|
|
224
|
+
},
|
|
225
|
+
size: {
|
|
226
|
+
default: "h-7 px-3 text-sm",
|
|
227
|
+
lg: "h-9 px-3 text-base"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
defaultVariants: {
|
|
231
|
+
variant: "default",
|
|
232
|
+
size: "default"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
), K = d.forwardRef(
|
|
236
|
+
(u, n) => {
|
|
237
|
+
var v = u, {
|
|
238
|
+
className: e,
|
|
239
|
+
icon: r,
|
|
240
|
+
iconPosition: o = "start",
|
|
241
|
+
size: t = "default",
|
|
242
|
+
children: s,
|
|
243
|
+
"data-testid": a
|
|
244
|
+
} = v, l = h(v, [
|
|
245
|
+
"className",
|
|
246
|
+
"icon",
|
|
247
|
+
"iconPosition",
|
|
248
|
+
"size",
|
|
249
|
+
"children",
|
|
250
|
+
"data-testid"
|
|
251
|
+
]);
|
|
252
|
+
const g = () => r ? d.isValidElement(r) ? r : /* @__PURE__ */ i(j, { icon: r }) : null, f = /* @__PURE__ */ A(M, { children: [
|
|
253
|
+
o === "start" && g(),
|
|
254
|
+
s,
|
|
255
|
+
o === "end" && g()
|
|
256
|
+
] });
|
|
257
|
+
return /* @__PURE__ */ i(
|
|
258
|
+
q,
|
|
259
|
+
p(c({
|
|
260
|
+
ref: n,
|
|
261
|
+
className: _(J({ size: t }), e),
|
|
262
|
+
"data-testid": a
|
|
263
|
+
}, l), {
|
|
264
|
+
children: f
|
|
265
|
+
})
|
|
266
|
+
);
|
|
267
|
+
}
|
|
268
|
+
);
|
|
269
|
+
K.displayName = q.displayName;
|
|
270
|
+
const pe = d.forwardRef(
|
|
271
|
+
(v, u) => {
|
|
272
|
+
var g = v, {
|
|
273
|
+
className: e,
|
|
274
|
+
size: r = "default",
|
|
275
|
+
children: o,
|
|
276
|
+
onValueChange: t,
|
|
277
|
+
value: s,
|
|
278
|
+
defaultValue: a,
|
|
279
|
+
"data-testid": l
|
|
280
|
+
} = g, n = h(g, [
|
|
281
|
+
"className",
|
|
282
|
+
"size",
|
|
283
|
+
"children",
|
|
284
|
+
"onValueChange",
|
|
285
|
+
"value",
|
|
286
|
+
"defaultValue",
|
|
287
|
+
"data-testid"
|
|
288
|
+
]);
|
|
289
|
+
const [f, m] = d.useState(
|
|
290
|
+
s || a || ""
|
|
291
|
+
), x = (b) => {
|
|
292
|
+
b && b !== f && (m(b), t == null || t(b));
|
|
293
|
+
};
|
|
294
|
+
return d.useEffect(() => {
|
|
295
|
+
s !== void 0 && m(s);
|
|
296
|
+
}, [s]), /* @__PURE__ */ i(
|
|
297
|
+
$,
|
|
298
|
+
p(c({
|
|
299
|
+
ref: u,
|
|
300
|
+
type: "single",
|
|
301
|
+
className: _(ce({ size: r }), e),
|
|
302
|
+
value: f,
|
|
303
|
+
onValueChange: x,
|
|
304
|
+
"data-testid": l
|
|
305
|
+
}, n), {
|
|
306
|
+
children: d.Children.map(o, (b) => d.isValidElement(b) && b.type === K ? d.cloneElement(b, { size: r }) : b)
|
|
307
|
+
})
|
|
308
|
+
);
|
|
309
|
+
}
|
|
310
|
+
);
|
|
311
|
+
pe.displayName = $.displayName;
|
|
312
|
+
const ge = d.forwardRef(
|
|
313
|
+
(f, g) => {
|
|
314
|
+
var m = f, {
|
|
315
|
+
className: e,
|
|
316
|
+
size: r = "default",
|
|
317
|
+
icon: o,
|
|
318
|
+
iconPosition: t = "start",
|
|
319
|
+
children: s,
|
|
320
|
+
onClick: a,
|
|
321
|
+
disabled: l,
|
|
322
|
+
active: n,
|
|
323
|
+
"data-testid": u
|
|
324
|
+
} = m, v = h(m, [
|
|
325
|
+
"className",
|
|
326
|
+
"size",
|
|
327
|
+
"icon",
|
|
328
|
+
"iconPosition",
|
|
329
|
+
"children",
|
|
330
|
+
"onClick",
|
|
331
|
+
"disabled",
|
|
332
|
+
"active",
|
|
333
|
+
"data-testid"
|
|
334
|
+
]);
|
|
335
|
+
const [x, b] = d.useState(!1), Q = n !== void 0 ? n : x, W = () => {
|
|
336
|
+
n !== void 0 || b(!x), a == null || a();
|
|
337
|
+
}, S = () => o ? d.isValidElement(o) ? o : /* @__PURE__ */ i(j, { icon: o }) : null, X = /* @__PURE__ */ A(M, { children: [
|
|
338
|
+
t === "start" && S(),
|
|
339
|
+
s && /* @__PURE__ */ i(
|
|
340
|
+
"span",
|
|
341
|
+
{
|
|
342
|
+
className: _(
|
|
343
|
+
o && t === "start" && "ml-2",
|
|
344
|
+
o && t === "end" && "mr-2"
|
|
345
|
+
),
|
|
346
|
+
children: s
|
|
347
|
+
}
|
|
348
|
+
),
|
|
349
|
+
t === "end" && S()
|
|
350
|
+
] });
|
|
351
|
+
return /* @__PURE__ */ i(
|
|
352
|
+
"button",
|
|
353
|
+
p(c({
|
|
354
|
+
ref: g,
|
|
355
|
+
className: _(
|
|
356
|
+
J({
|
|
357
|
+
size: r,
|
|
358
|
+
variant: Q ? "singleActive" : "single"
|
|
359
|
+
}),
|
|
360
|
+
e
|
|
361
|
+
),
|
|
362
|
+
onClick: W,
|
|
363
|
+
disabled: l,
|
|
364
|
+
"data-testid": u
|
|
365
|
+
}, v), {
|
|
366
|
+
children: X
|
|
367
|
+
})
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
);
|
|
371
|
+
ge.displayName = "SingleSegment";
|
|
372
|
+
export {
|
|
373
|
+
K as SegmentItem,
|
|
374
|
+
pe as Segments,
|
|
375
|
+
ge as SingleSegment
|
|
376
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { G as c, S as r, H as s, J as p, K as i, L as m, N as n, Q as u, T as g, U as B, V as G } from "../../chunks/uploader-BN38rjbw.js";
|
|
4
|
+
import "../../chunks/utils-TbLXCoKm.js";
|
|
5
|
+
import "../icon/icon.js";
|
|
6
|
+
export {
|
|
7
|
+
c as MultiSelect,
|
|
8
|
+
r as Select,
|
|
9
|
+
s as SelectContent,
|
|
10
|
+
p as SelectGroup,
|
|
11
|
+
i as SelectItem,
|
|
12
|
+
m as SelectLabel,
|
|
13
|
+
n as SelectScrollDownButton,
|
|
14
|
+
u as SelectScrollUpButton,
|
|
15
|
+
g as SelectSeparator,
|
|
16
|
+
B as SelectTrigger,
|
|
17
|
+
G as SelectValue
|
|
18
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
var u = Object.defineProperty, x = Object.defineProperties;
|
|
2
|
+
var h = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var a = Object.getOwnPropertySymbols;
|
|
4
|
+
var o = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var i = (r, e, t) => e in r ? u(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, m = (r, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
o.call(e, t) && i(r, t, e[t]);
|
|
8
|
+
if (a)
|
|
9
|
+
for (var t of a(e))
|
|
10
|
+
c.call(e, t) && i(r, t, e[t]);
|
|
11
|
+
return r;
|
|
12
|
+
}, f = (r, e) => x(r, h(e));
|
|
13
|
+
var p = (r, e) => {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var s in r)
|
|
16
|
+
o.call(r, s) && e.indexOf(s) < 0 && (t[s] = r[s]);
|
|
17
|
+
if (r != null && a)
|
|
18
|
+
for (var s of a(r))
|
|
19
|
+
e.indexOf(s) < 0 && c.call(r, s) && (t[s] = r[s]);
|
|
20
|
+
return t;
|
|
21
|
+
};
|
|
22
|
+
import { jsxs as y, jsx as j } from "react/jsx-runtime";
|
|
23
|
+
import v from "react";
|
|
24
|
+
import { c as w } from "../../chunks/index-BO6p208a.js";
|
|
25
|
+
import { Icon as N } from "../icon/icon.js";
|
|
26
|
+
import { c as I } from "../../chunks/utils-TbLXCoKm.js";
|
|
27
|
+
const R = w("flex-col items-center justify-center", {
|
|
28
|
+
variants: {
|
|
29
|
+
show: {
|
|
30
|
+
true: "flex",
|
|
31
|
+
false: "hidden"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
defaultVariants: {
|
|
35
|
+
show: !0
|
|
36
|
+
}
|
|
37
|
+
}), S = v.forwardRef(
|
|
38
|
+
(V, d) => {
|
|
39
|
+
var n = V, { size: r = 16, show: e, children: t, className: s } = n, l = p(n, ["size", "show", "children", "className"]);
|
|
40
|
+
return /* @__PURE__ */ y("span", f(m({ ref: d, className: R({ show: e }) }, l), { children: [
|
|
41
|
+
/* @__PURE__ */ j(
|
|
42
|
+
N,
|
|
43
|
+
{
|
|
44
|
+
icon: "ProgressActivityIcon",
|
|
45
|
+
size: r,
|
|
46
|
+
className: I("text-primary animate-spin", s)
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
t
|
|
50
|
+
] }));
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
S.displayName = "Spinner";
|
|
54
|
+
export {
|
|
55
|
+
S as Spinner,
|
|
56
|
+
R as spinnerVariants
|
|
57
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../chunks/utils-TbLXCoKm.js";
|
|
3
|
+
import { Icon as f } from "../icon/icon.js";
|
|
4
|
+
import { X as o } from "../../chunks/uploader-BN38rjbw.js";
|
|
5
|
+
function p({ steps: a, currentStep: n, className: d }) {
|
|
6
|
+
return /* @__PURE__ */ e("div", { className: r("relative flex w-full", d), children: /* @__PURE__ */ e(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: "flex w-full items-center",
|
|
10
|
+
role: "progressbar",
|
|
11
|
+
"aria-valuemin": 1,
|
|
12
|
+
"aria-valuemax": a.length,
|
|
13
|
+
"aria-valuenow": n,
|
|
14
|
+
children: a.map((c, t) => {
|
|
15
|
+
const i = t < n, l = t === n, m = t === a.length - 1;
|
|
16
|
+
return /* @__PURE__ */ s(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: r(
|
|
20
|
+
"flex items-center",
|
|
21
|
+
m ? "flex-none" : "flex-1"
|
|
22
|
+
),
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ s("div", { className: "flex items-center", children: [
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: r(
|
|
29
|
+
"flex items-center justify-center",
|
|
30
|
+
i && "text-white",
|
|
31
|
+
l && !i && "text-white"
|
|
32
|
+
),
|
|
33
|
+
"aria-current": l ? "step" : void 0,
|
|
34
|
+
children: /* @__PURE__ */ e(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
className: r(
|
|
38
|
+
"font-cofo flex items-center justify-center rounded-full",
|
|
39
|
+
i && "bg-positive",
|
|
40
|
+
l && !i && "bg-primary",
|
|
41
|
+
!i && !l && "bg-default-background",
|
|
42
|
+
"h-6 w-6 md:h-7 md:w-7"
|
|
43
|
+
),
|
|
44
|
+
children: i ? /* @__PURE__ */ e(f, { icon: "DoneIcon" }) : /* @__PURE__ */ e(
|
|
45
|
+
o,
|
|
46
|
+
{
|
|
47
|
+
variant: "p1",
|
|
48
|
+
className: "font-medium",
|
|
49
|
+
textColor: l ? "white" : "muted",
|
|
50
|
+
children: t + 1
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
l && /* @__PURE__ */ e("div", { className: "font-graphik ml-2.5 hidden md:block", children: /* @__PURE__ */ e(o, { variant: "p1", weight: "medium", children: c.title }) })
|
|
58
|
+
] }),
|
|
59
|
+
!m && /* @__PURE__ */ e("div", { className: "flex flex-1 items-center", children: /* @__PURE__ */ e("div", { className: r("mx-2.5 h-0.25 w-full", "bg-border") }) })
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
c.title
|
|
63
|
+
);
|
|
64
|
+
})
|
|
65
|
+
}
|
|
66
|
+
) });
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
p as Stepper
|
|
70
|
+
};
|