@m5kdev/web-ui 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/animations/card.motion.d.ts +7 -2
- package/dist/src/animations/card.motion.js +25 -6
- package/dist/src/animations/card.motion.js.map +1 -0
- package/dist/src/components/AvatarUpload.d.ts +14 -5
- package/dist/src/components/AvatarUpload.js +105 -63
- package/dist/src/components/AvatarUpload.js.map +1 -0
- package/dist/src/components/Button.d.ts +14 -4
- package/dist/src/components/Button.js +13 -4
- package/dist/src/components/Button.js.map +1 -0
- package/dist/src/components/Calendar.d.ts +33 -31
- package/dist/src/components/Calendar.js +14 -6
- package/dist/src/components/Calendar.js.map +1 -0
- package/dist/src/components/{Calendar.css → Calendar2.css} +757 -684
- package/dist/src/components/CardsSelect.d.ts +25 -21
- package/dist/src/components/CardsSelect.js +75 -42
- package/dist/src/components/CardsSelect.js.map +1 -0
- package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +22 -9
- package/dist/src/components/CollapsibleSidebarMenuItem.js +31 -8
- package/dist/src/components/CollapsibleSidebarMenuItem.js.map +1 -0
- package/dist/src/components/ColorPicker.d.ts +15 -4
- package/dist/src/components/ColorPicker.js +46 -16
- package/dist/src/components/ColorPicker.js.map +1 -0
- package/dist/src/components/CopyButton.d.ts +18 -6
- package/dist/src/components/CopyButton.js +28 -19
- package/dist/src/components/CopyButton.js.map +1 -0
- package/dist/src/components/CropDialog.d.ts +20 -8
- package/dist/src/components/CropDialog.js +108 -62
- package/dist/src/components/CropDialog.js.map +1 -0
- package/dist/src/components/DialogProvider.d.ts +22 -14
- package/dist/src/components/DialogProvider.js +67 -45
- package/dist/src/components/DialogProvider.js.map +1 -0
- package/dist/src/components/ErrorFallback.d.ts +13 -4
- package/dist/src/components/ErrorFallback.js +29 -4
- package/dist/src/components/ErrorFallback.js.map +1 -0
- package/dist/src/components/FileDropzone.d.ts +12 -4
- package/dist/src/components/FileDropzone.js +98 -60
- package/dist/src/components/FileDropzone.js.map +1 -0
- package/dist/src/components/MultiSelectDropdown.d.ts +25 -22
- package/dist/src/components/MultiSelectDropdown.js +99 -49
- package/dist/src/components/MultiSelectDropdown.js.map +1 -0
- package/dist/src/components/Orb.d.ts +17 -6
- package/dist/src/components/Orb.js +263 -255
- package/dist/src/components/Orb.js.map +1 -0
- package/dist/src/components/PageAlert.d.ts +20 -15
- package/dist/src/components/PageAlert.js +67 -39
- package/dist/src/components/PageAlert.js.map +1 -0
- package/dist/src/components/SelectChips.d.ts +21 -10
- package/dist/src/components/SelectChips.js +21 -9
- package/dist/src/components/SelectChips.js.map +1 -0
- package/dist/src/components/SidebarItem.d.ts +18 -7
- package/dist/src/components/SidebarItem.js +16 -4
- package/dist/src/components/SidebarItem.js.map +1 -0
- package/dist/src/components/Steps.d.ts +21 -16
- package/dist/src/components/Steps.js +193 -27
- package/dist/src/components/Steps.js.map +1 -0
- package/dist/src/components/TablerIconPicker.d.ts +13 -2
- package/dist/src/components/TablerIconPicker.js +4254 -4234
- package/dist/src/components/TablerIconPicker.js.map +1 -0
- package/dist/src/components/app-header.d.ts +14 -6
- package/dist/src/components/app-header.js +27 -6
- package/dist/src/components/app-header.js.map +1 -0
- package/dist/src/components/blur-card.d.ts +25 -11
- package/dist/src/components/blur-card.js +134 -31
- package/dist/src/components/blur-card.js.map +1 -0
- package/dist/src/components/features-section-demo-1.d.ts +22 -6
- package/dist/src/components/features-section-demo-1.js +119 -47
- package/dist/src/components/features-section-demo-1.js.map +1 -0
- package/dist/src/components/features-section-demo-2.d.ts +7 -1
- package/dist/src/components/features-section-demo-2.js +80 -49
- package/dist/src/components/features-section-demo-2.js.map +1 -0
- package/dist/src/components/features-section-demo-3.d.ts +16 -8
- package/dist/src/components/features-section-demo-3.js +239 -103
- package/dist/src/components/features-section-demo-3.js.map +1 -0
- package/dist/src/components/mode-toggle.d.ts +7 -1
- package/dist/src/components/mode-toggle.js +42 -7
- package/dist/src/components/mode-toggle.js.map +1 -0
- package/dist/src/components/nav-main.d.ts +20 -12
- package/dist/src/components/nav-main.js +31 -5
- package/dist/src/components/nav-main.js.map +1 -0
- package/dist/src/components/pricing-cards.d.ts +7 -1
- package/dist/src/components/pricing-cards.js +125 -24
- package/dist/src/components/pricing-cards.js.map +1 -0
- package/dist/src/components/shared/ButtonCopy.d.ts +17 -6
- package/dist/src/components/shared/ButtonCopy.js +31 -20
- package/dist/src/components/shared/ButtonCopy.js.map +1 -0
- package/dist/src/components/team-switcher.d.ts +16 -8
- package/dist/src/components/team-switcher.js +70 -8
- package/dist/src/components/team-switcher.js.map +1 -0
- package/dist/src/components/theme-provider.d.ts +18 -8
- package/dist/src/components/theme-provider.js +42 -38
- package/dist/src/components/theme-provider.js.map +1 -0
- package/dist/src/components/typewriter.d.ts +35 -14
- package/dist/src/components/typewriter.js +45 -36
- package/dist/src/components/typewriter.js.map +1 -0
- package/dist/src/components/ui/alert-dialog.d.ts +48 -13
- package/dist/src/components/ui/alert-dialog.js +58 -15
- package/dist/src/components/ui/alert-dialog.js.map +1 -0
- package/dist/src/components/ui/alert.d.ts +24 -8
- package/dist/src/components/ui/alert.js +28 -15
- package/dist/src/components/ui/alert.js.map +1 -0
- package/dist/src/components/ui/avatar.d.ts +9 -5
- package/dist/src/components/ui/avatar.js +23 -7
- package/dist/src/components/ui/avatar.js.map +1 -0
- package/dist/src/components/ui/badge.d.ts +17 -8
- package/dist/src/components/ui/badge.js +17 -14
- package/dist/src/components/ui/badge.js.map +1 -0
- package/dist/src/components/ui/bento-grid.d.ts +26 -11
- package/dist/src/components/ui/bento-grid.js +30 -6
- package/dist/src/components/ui/bento-grid.js.map +1 -0
- package/dist/src/components/ui/bento-grid2.d.ts +30 -14
- package/dist/src/components/ui/bento-grid2.js +45 -9
- package/dist/src/components/ui/bento-grid2.js.map +1 -0
- package/dist/src/components/ui/breadcrumb.d.ts +27 -15
- package/dist/src/components/ui/breadcrumb.js +54 -14
- package/dist/src/components/ui/breadcrumb.js.map +1 -0
- package/dist/src/components/ui/button.d.ts +14 -9
- package/dist/src/components/ui/button.js +37 -26
- package/dist/src/components/ui/button.js.map +1 -0
- package/dist/src/components/ui/card.d.ts +12 -8
- package/dist/src/components/ui/card.js +38 -10
- package/dist/src/components/ui/card.js.map +1 -0
- package/dist/src/components/ui/checkbox.d.ts +6 -2
- package/dist/src/components/ui/checkbox.js +17 -5
- package/dist/src/components/ui/checkbox.js.map +1 -0
- package/dist/src/components/ui/collapsible.d.ts +9 -4
- package/dist/src/components/ui/collapsible.js +5 -1
- package/dist/src/components/ui/collapsible.js.map +1 -0
- package/dist/src/components/ui/dialog.d.ts +44 -12
- package/dist/src/components/ui/dialog.js +64 -14
- package/dist/src/components/ui/dialog.js.map +1 -0
- package/dist/src/components/ui/dropdown-menu.d.ts +32 -24
- package/dist/src/components/ui/dropdown-menu.js +64 -14
- package/dist/src/components/ui/dropdown-menu.js.map +1 -0
- package/dist/src/components/ui/floating-navbar.d.ts +18 -9
- package/dist/src/components/ui/floating-navbar.js +49 -35
- package/dist/src/components/ui/floating-navbar.js.map +1 -0
- package/dist/src/components/ui/form.d.ts +30 -21
- package/dist/src/components/ui/form.js +76 -44
- package/dist/src/components/ui/form.js.map +1 -0
- package/dist/src/components/ui/image.d.ts +6 -2
- package/dist/src/components/ui/image.js +51 -11
- package/dist/src/components/ui/image.js.map +1 -0
- package/dist/src/components/ui/input.d.ts +6 -2
- package/dist/src/components/ui/input.js +14 -5
- package/dist/src/components/ui/input.js.map +1 -0
- package/dist/src/components/ui/label.d.ts +8 -3
- package/dist/src/components/ui/label.js +13 -5
- package/dist/src/components/ui/label.js.map +1 -0
- package/dist/src/components/ui/pagination.d.ts +39 -12
- package/dist/src/components/ui/pagination.js +64 -14
- package/dist/src/components/ui/pagination.js.map +1 -0
- package/dist/src/components/ui/progress.d.ts +6 -2
- package/dist/src/components/ui/progress.js +16 -4
- package/dist/src/components/ui/progress.js.map +1 -0
- package/dist/src/components/ui/resizable-navbar.d.ts +84 -43
- package/dist/src/components/ui/resizable-navbar.js +126 -74
- package/dist/src/components/ui/resizable-navbar.js.map +1 -0
- package/dist/src/components/ui/segment-control.d.ts +10 -7
- package/dist/src/components/ui/segment-control.js +83 -38
- package/dist/src/components/ui/segment-control.js.map +1 -0
- package/dist/src/components/ui/select.d.ts +16 -12
- package/dist/src/components/ui/select.js +63 -14
- package/dist/src/components/ui/select.js.map +1 -0
- package/dist/src/components/ui/separator.d.ts +6 -2
- package/dist/src/components/ui/separator.js +14 -4
- package/dist/src/components/ui/separator.js.map +1 -0
- package/dist/src/components/ui/sheet.d.ts +30 -19
- package/dist/src/components/ui/sheet.js +52 -23
- package/dist/src/components/ui/sheet.js.map +1 -0
- package/dist/src/components/ui/sidebar.d.ts +69 -62
- package/dist/src/components/ui/sidebar.js +326 -171
- package/dist/src/components/ui/sidebar.js.map +1 -0
- package/dist/src/components/ui/skeleton.d.ts +9 -1
- package/dist/src/components/ui/skeleton.js +10 -3
- package/dist/src/components/ui/skeleton.js.map +1 -0
- package/dist/src/components/ui/slider.d.ts +6 -2
- package/dist/src/components/ui/slider.js +16 -4
- package/dist/src/components/ui/slider.js.map +1 -0
- package/dist/src/components/ui/sonner.d.ts +10 -3
- package/dist/src/components/ui/sonner.js +18 -11
- package/dist/src/components/ui/sonner.js.map +1 -0
- package/dist/src/components/ui/spinner.d.ts +21 -10
- package/dist/src/components/ui/spinner.js +24 -24
- package/dist/src/components/ui/spinner.js.map +1 -0
- package/dist/src/components/ui/switch.d.ts +6 -2
- package/dist/src/components/ui/switch.js +13 -4
- package/dist/src/components/ui/switch.js.map +1 -0
- package/dist/src/components/ui/table.d.ts +39 -10
- package/dist/src/components/ui/table.js +51 -11
- package/dist/src/components/ui/table.js.map +1 -0
- package/dist/src/components/ui/tabs.d.ts +23 -6
- package/dist/src/components/ui/tabs.js +27 -7
- package/dist/src/components/ui/tabs.js.map +1 -0
- package/dist/src/components/ui/textarea.d.ts +10 -2
- package/dist/src/components/ui/textarea.js +11 -3
- package/dist/src/components/ui/textarea.js.map +1 -0
- package/dist/src/components/ui/timeline.d.ts +16 -9
- package/dist/src/components/ui/timeline.js +87 -24
- package/dist/src/components/ui/timeline.js.map +1 -0
- package/dist/src/components/ui/toast.d.ts +19 -14
- package/dist/src/components/ui/toast.js +48 -22
- package/dist/src/components/ui/toast.js.map +1 -0
- package/dist/src/components/ui/tooltip.d.ts +23 -6
- package/dist/src/components/ui/tooltip.js +27 -7
- package/dist/src/components/ui/tooltip.js.map +1 -0
- package/dist/src/components/ui/typewriter-effect.d.ts +28 -14
- package/dist/src/components/ui/typewriter-effect.js +102 -72
- package/dist/src/components/ui/typewriter-effect.js.map +1 -0
- package/dist/src/hooks/use-mobile.d.ts +5 -1
- package/dist/src/hooks/use-mobile.js +18 -13
- package/dist/src/hooks/use-mobile.js.map +1 -0
- package/dist/src/hooks/useDialog.d.ts +8 -4
- package/dist/src/hooks/useDialog.js +24 -20
- package/dist/src/hooks/useDialog.js.map +1 -0
- package/dist/src/icons/GoogleIcon.d.ts +9 -5
- package/dist/src/icons/GoogleIcon.js +32 -3
- package/dist/src/icons/GoogleIcon.js.map +1 -0
- package/dist/src/icons/LinkedInIcon.d.ts +9 -5
- package/dist/src/icons/LinkedInIcon.js +27 -3
- package/dist/src/icons/LinkedInIcon.js.map +1 -0
- package/dist/src/icons/MicrosoftIcon.d.ts +9 -5
- package/dist/src/icons/MicrosoftIcon.js +31 -3
- package/dist/src/icons/MicrosoftIcon.js.map +1 -0
- package/dist/src/lib/chatwoot.d.ts +19 -10
- package/dist/src/lib/chatwoot.js +25 -27
- package/dist/src/lib/chatwoot.js.map +1 -0
- package/dist/src/lib/utils.d.ts +7 -2
- package/dist/src/lib/utils.js +7 -2
- package/dist/src/lib/utils.js.map +1 -0
- package/dist/src/modules/app/components/AppLoader.d.ts +8 -2
- package/dist/src/modules/app/components/AppLoader.js +14 -3
- package/dist/src/modules/app/components/AppLoader.js.map +1 -0
- package/dist/src/modules/app/components/AppShell.d.ts +15 -6
- package/dist/src/modules/app/components/AppShell.js +14 -5
- package/dist/src/modules/app/components/AppShell.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebar.d.ts +16 -6
- package/dist/src/modules/app/components/AppSidebar.js +17 -4
- package/dist/src/modules/app/components/AppSidebar.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarContent.d.ts +22 -13
- package/dist/src/modules/app/components/AppSidebarContent.js +34 -5
- package/dist/src/modules/app/components/AppSidebarContent.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarHeader.d.ts +18 -8
- package/dist/src/modules/app/components/AppSidebarHeader.js +37 -6
- package/dist/src/modules/app/components/AppSidebarHeader.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarInvites.d.ts +11 -3
- package/dist/src/modules/app/components/AppSidebarInvites.js +39 -8
- package/dist/src/modules/app/components/AppSidebarInvites.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarUser.d.ts +20 -10
- package/dist/src/modules/app/components/AppSidebarUser.js +121 -12
- package/dist/src/modules/app/components/AppSidebarUser.js.map +1 -0
- package/dist/src/modules/auth/components/AdminUserManagement.d.ts +11 -4
- package/dist/src/modules/auth/components/AdminUserManagement.js +970 -418
- package/dist/src/modules/auth/components/AdminUserManagement.js.map +1 -0
- package/dist/src/modules/auth/components/AdminWaitlist.d.ts +11 -4
- package/dist/src/modules/auth/components/AdminWaitlist.js +284 -115
- package/dist/src/modules/auth/components/AdminWaitlist.js.map +1 -0
- package/dist/src/modules/auth/components/AuthLayout.d.ts +12 -4
- package/dist/src/modules/auth/components/AuthLayout.js +17 -3
- package/dist/src/modules/auth/components/AuthLayout.js.map +1 -0
- package/dist/src/modules/auth/components/AuthProviders.d.ts +17 -6
- package/dist/src/modules/auth/components/AuthProviders.js +80 -41
- package/dist/src/modules/auth/components/AuthProviders.js.map +1 -0
- package/dist/src/modules/auth/components/AuthRouter.d.ts +16 -7
- package/dist/src/modules/auth/components/AuthRouter.js +46 -10
- package/dist/src/modules/auth/components/AuthRouter.js.map +1 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +12 -4
- package/dist/src/modules/auth/components/ClaimAccountRoute.js +202 -139
- package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/ErrorAuthRoute.js +125 -89
- package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +7 -1
- package/dist/src/modules/auth/components/ForgotPasswordForm.js +49 -23
- package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +1 -0
- package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js +34 -6
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +1 -0
- package/dist/src/modules/auth/components/InviteFriends.d.ts +12 -4
- package/dist/src/modules/auth/components/InviteFriends.js +275 -69
- package/dist/src/modules/auth/components/InviteFriends.js.map +1 -0
- package/dist/src/modules/auth/components/LastUsedBadge.d.ts +17 -5
- package/dist/src/modules/auth/components/LastUsedBadge.js +16 -6
- package/dist/src/modules/auth/components/LastUsedBadge.js.map +1 -0
- package/dist/src/modules/auth/components/LoginForm.d.ts +11 -3
- package/dist/src/modules/auth/components/LoginForm.js +107 -40
- package/dist/src/modules/auth/components/LoginForm.js.map +1 -0
- package/dist/src/modules/auth/components/LoginRoute.d.ts +11 -3
- package/dist/src/modules/auth/components/LoginRoute.js +41 -8
- package/dist/src/modules/auth/components/LoginRoute.js.map +1 -0
- package/dist/src/modules/auth/components/LogoutRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/LogoutRoute.js +18 -12
- package/dist/src/modules/auth/components/LogoutRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +21 -8
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +107 -97
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +58 -48
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js +448 -349
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +27 -16
- package/dist/src/modules/auth/components/OrganizationPreferences.js +129 -124
- package/dist/src/modules/auth/components/OrganizationPreferences.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +27 -18
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +184 -144
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +17 -6
- package/dist/src/modules/auth/components/OrganizationSwitcher.js +91 -69
- package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +1 -0
- package/dist/src/modules/auth/components/PreferencesEditor.d.ts +44 -33
- package/dist/src/modules/auth/components/PreferencesEditor.js +82 -58
- package/dist/src/modules/auth/components/PreferencesEditor.js.map +1 -0
- package/dist/src/modules/auth/components/ProfileRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/ProfileRoute.js +79 -36
- package/dist/src/modules/auth/components/ProfileRoute.js.map +1 -0
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +44 -30
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +234 -242
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +1 -0
- package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +7 -1
- package/dist/src/modules/auth/components/ResetPasswordForm.js +97 -35
- package/dist/src/modules/auth/components/ResetPasswordForm.js.map +1 -0
- package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/ResetPasswordRoute.js +34 -6
- package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +1 -0
- package/dist/src/modules/auth/components/SignupFormRoute.d.ts +15 -5
- package/dist/src/modules/auth/components/SignupFormRoute.js +142 -99
- package/dist/src/modules/auth/components/SignupFormRoute.js.map +1 -0
- package/dist/src/modules/auth/components/SignupRoute.d.ts +13 -5
- package/dist/src/modules/auth/components/SignupRoute.js +59 -13
- package/dist/src/modules/auth/components/SignupRoute.js.map +1 -0
- package/dist/src/modules/auth/components/UserPreferences.d.ts +22 -11
- package/dist/src/modules/auth/components/UserPreferences.js +24 -12
- package/dist/src/modules/auth/components/UserPreferences.js.map +1 -0
- package/dist/src/modules/auth/components/WaitlistCard.d.ts +11 -4
- package/dist/src/modules/auth/components/WaitlistCard.js +63 -28
- package/dist/src/modules/auth/components/WaitlistCard.js.map +1 -0
- package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +13 -5
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js +42 -40
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +1 -0
- package/dist/src/modules/billing/components/BillingBetaPage.d.ts +15 -6
- package/dist/src/modules/billing/components/BillingBetaPage.js +155 -8
- package/dist/src/modules/billing/components/BillingBetaPage.js.map +1 -0
- package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +13 -5
- package/dist/src/modules/billing/components/BillingInvoicePage.js +160 -30
- package/dist/src/modules/billing/components/BillingInvoicePage.js.map +1 -0
- package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +11 -4
- package/dist/src/modules/billing/components/BillingPlanSelect.js +10 -7
- package/dist/src/modules/billing/components/BillingPlanSelect.js.map +1 -0
- package/dist/src/modules/billing/components/BillingRouter.d.ts +15 -7
- package/dist/src/modules/billing/components/BillingRouter.js +19 -6
- package/dist/src/modules/billing/components/BillingRouter.js.map +1 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +17 -7
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +163 -42
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +1 -0
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +18 -8
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +81 -38
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +1 -0
- package/dist/src/modules/table/components/NuqsTable.d.ts +33 -21
- package/dist/src/modules/table/components/NuqsTable.js +295 -221
- package/dist/src/modules/table/components/NuqsTable.js.map +1 -0
- package/dist/src/modules/table/components/TableFiltering.d.ts +33 -21
- package/dist/src/modules/table/components/TableFiltering.js +408 -226
- package/dist/src/modules/table/components/TableFiltering.js.map +1 -0
- package/dist/src/modules/table/components/TableGroupBy.d.ts +18 -8
- package/dist/src/modules/table/components/TableGroupBy.js +56 -16
- package/dist/src/modules/table/components/TableGroupBy.js.map +1 -0
- package/dist/src/modules/table/components/TablePagination.d.ts +17 -7
- package/dist/src/modules/table/components/TablePagination.js +64 -32
- package/dist/src/modules/table/components/TablePagination.js.map +1 -0
- package/dist/src/modules/table/components/table.types.d.ts +15 -10
- package/dist/src/modules/table/components/table.types.js +0 -1
- package/dist/src/modules/table/filterTransformers.d.ts +35 -30
- package/dist/src/modules/table/filterTransformers.js +198 -261
- package/dist/src/modules/table/filterTransformers.js.map +1 -0
- package/dist/src/types.d.ts +8 -3
- package/dist/src/types.js +0 -1
- package/package.json +8 -6
- package/dist/translations/en/web-ui.json +0 -209
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -1,76 +1,106 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { motion, stagger, useAnimate, useInView } from "motion/react";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
4
3
|
import { useEffect } from "react";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { motion, stagger, useAnimate, useInView } from "motion/react";
|
|
6
|
+
//#region src/components/ui/typewriter-effect.tsx
|
|
7
|
+
const TypewriterEffect = ({ words, className, cursorClassName }) => {
|
|
8
|
+
const wordsArray = words.map((word) => {
|
|
9
|
+
return {
|
|
10
|
+
...word,
|
|
11
|
+
text: word.text.split("")
|
|
12
|
+
};
|
|
13
|
+
});
|
|
14
|
+
const [scope, animate] = useAnimate();
|
|
15
|
+
const isInView = useInView(scope);
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
if (isInView) animate("span", {
|
|
18
|
+
display: "inline-block",
|
|
19
|
+
opacity: 1,
|
|
20
|
+
width: "fit-content"
|
|
21
|
+
}, {
|
|
22
|
+
duration: .3,
|
|
23
|
+
delay: stagger(.1),
|
|
24
|
+
ease: "easeInOut"
|
|
25
|
+
});
|
|
26
|
+
}, [isInView]);
|
|
27
|
+
const renderWords = () => {
|
|
28
|
+
return /* @__PURE__ */ jsx(motion.div, {
|
|
29
|
+
ref: scope,
|
|
30
|
+
className: "inline",
|
|
31
|
+
children: wordsArray.map((word, idx) => {
|
|
32
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
33
|
+
className: "inline-block",
|
|
34
|
+
children: [word.text.map((char, index) => /* @__PURE__ */ jsx(motion.span, {
|
|
35
|
+
initial: {},
|
|
36
|
+
className: cn("dark:text-white text-black opacity-0 hidden", word.className),
|
|
37
|
+
children: char
|
|
38
|
+
}, `char-${index}`)), "\xA0"]
|
|
39
|
+
}, `word-${idx}`);
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
44
|
+
className: cn("text-base sm:text-xl md:text-3xl lg:text-5xl font-bold text-center", className),
|
|
45
|
+
children: [renderWords(), /* @__PURE__ */ jsx(motion.span, {
|
|
46
|
+
initial: { opacity: 0 },
|
|
47
|
+
animate: { opacity: 1 },
|
|
48
|
+
transition: {
|
|
49
|
+
duration: .8,
|
|
50
|
+
repeat: Number.POSITIVE_INFINITY,
|
|
51
|
+
repeatType: "reverse"
|
|
52
|
+
},
|
|
53
|
+
className: cn("inline-block rounded-sm w-[4px] h-4 md:h-6 lg:h-10 bg-green-500", cursorClassName)
|
|
54
|
+
})]
|
|
55
|
+
});
|
|
43
56
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
57
|
+
const TypewriterEffectSmooth = ({ words, className, cursorClassName }) => {
|
|
58
|
+
const wordsArray = words.map((word) => {
|
|
59
|
+
return {
|
|
60
|
+
...word,
|
|
61
|
+
text: word.text.split("")
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
const renderWords = () => {
|
|
65
|
+
return /* @__PURE__ */ jsx("div", { children: wordsArray.map((word, idx) => {
|
|
66
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
67
|
+
className: "inline-block",
|
|
68
|
+
children: [word.text.map((char, index) => /* @__PURE__ */ jsx("span", {
|
|
69
|
+
className: cn("dark:text-white text-black ", word.className),
|
|
70
|
+
children: char
|
|
71
|
+
}, `char-${index}`)), "\xA0"]
|
|
72
|
+
}, `word-${idx}`);
|
|
73
|
+
}) });
|
|
74
|
+
};
|
|
75
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
76
|
+
className: cn("flex space-x-1 my-6", className),
|
|
77
|
+
children: [/* @__PURE__ */ jsxs(motion.div, {
|
|
78
|
+
className: "overflow-hidden pb-2",
|
|
79
|
+
initial: { width: "0%" },
|
|
80
|
+
whileInView: { width: "fit-content" },
|
|
81
|
+
transition: {
|
|
82
|
+
duration: 2,
|
|
83
|
+
ease: "linear",
|
|
84
|
+
delay: 1
|
|
85
|
+
},
|
|
86
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
87
|
+
className: "text-xs sm:text-base md:text-xl lg:text:3xl xl:text-5xl font-bold",
|
|
88
|
+
style: { whiteSpace: "nowrap" },
|
|
89
|
+
children: [renderWords(), " "]
|
|
90
|
+
}), " "]
|
|
91
|
+
}), /* @__PURE__ */ jsx(motion.span, {
|
|
92
|
+
initial: { opacity: 0 },
|
|
93
|
+
animate: { opacity: 1 },
|
|
94
|
+
transition: {
|
|
95
|
+
duration: .8,
|
|
96
|
+
repeat: Number.POSITIVE_INFINITY,
|
|
97
|
+
repeatType: "reverse"
|
|
98
|
+
},
|
|
99
|
+
className: cn("block rounded-sm w-[4px] h-4 sm:h-6 xl:h-12 bg-green-500", cursorClassName)
|
|
100
|
+
})]
|
|
101
|
+
});
|
|
76
102
|
};
|
|
103
|
+
//#endregion
|
|
104
|
+
export { TypewriterEffect, TypewriterEffectSmooth };
|
|
105
|
+
|
|
106
|
+
//# sourceMappingURL=typewriter-effect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typewriter-effect.js","names":[],"sources":["../../../../src/components/ui/typewriter-effect.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport { motion, stagger, useAnimate, useInView } from \"motion/react\";\r\nimport { useEffect } from \"react\";\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nexport const TypewriterEffect = ({\r\n words,\r\n className,\r\n cursorClassName,\r\n}: {\r\n words: {\r\n text: string;\r\n className?: string;\r\n }[];\r\n className?: string;\r\n cursorClassName?: string;\r\n}) => {\r\n // split text inside of words into array of characters\r\n const wordsArray = words.map((word) => {\r\n return {\r\n ...word,\r\n text: word.text.split(\"\"),\r\n };\r\n });\r\n\r\n const [scope, animate] = useAnimate();\r\n const isInView = useInView(scope);\r\n useEffect(() => {\r\n if (isInView) {\r\n animate(\r\n \"span\",\r\n {\r\n display: \"inline-block\",\r\n opacity: 1,\r\n width: \"fit-content\",\r\n },\r\n {\r\n duration: 0.3,\r\n delay: stagger(0.1),\r\n ease: \"easeInOut\",\r\n }\r\n );\r\n }\r\n }, [isInView]);\r\n\r\n const renderWords = () => {\r\n return (\r\n <motion.div ref={scope} className=\"inline\">\r\n {wordsArray.map((word, idx) => {\r\n return (\r\n <div key={`word-${idx}`} className=\"inline-block\">\r\n {word.text.map((char, index) => (\r\n <motion.span\r\n initial={{}}\r\n key={`char-${index}`}\r\n className={cn(\"dark:text-white text-black opacity-0 hidden\", word.className)}\r\n >\r\n {char}\r\n </motion.span>\r\n ))}\r\n \r\n </div>\r\n );\r\n })}\r\n </motion.div>\r\n );\r\n };\r\n return (\r\n <div\r\n className={cn(\r\n \"text-base sm:text-xl md:text-3xl lg:text-5xl font-bold text-center\",\r\n className\r\n )}\r\n >\r\n {renderWords()}\r\n <motion.span\r\n initial={{\r\n opacity: 0,\r\n }}\r\n animate={{\r\n opacity: 1,\r\n }}\r\n transition={{\r\n duration: 0.8,\r\n repeat: Number.POSITIVE_INFINITY,\r\n repeatType: \"reverse\",\r\n }}\r\n className={cn(\r\n \"inline-block rounded-sm w-[4px] h-4 md:h-6 lg:h-10 bg-green-500\",\r\n cursorClassName\r\n )}\r\n />\r\n </div>\r\n );\r\n};\r\n\r\nexport const TypewriterEffectSmooth = ({\r\n words,\r\n className,\r\n cursorClassName,\r\n}: {\r\n words: {\r\n text: string;\r\n className?: string;\r\n }[];\r\n className?: string;\r\n cursorClassName?: string;\r\n}) => {\r\n // split text inside of words into array of characters\r\n const wordsArray = words.map((word) => {\r\n return {\r\n ...word,\r\n text: word.text.split(\"\"),\r\n };\r\n });\r\n const renderWords = () => {\r\n return (\r\n <div>\r\n {wordsArray.map((word, idx) => {\r\n return (\r\n <div key={`word-${idx}`} className=\"inline-block\">\r\n {word.text.map((char, index) => (\r\n <span\r\n key={`char-${index}`}\r\n className={cn(\"dark:text-white text-black \", word.className)}\r\n >\r\n {char}\r\n </span>\r\n ))}\r\n \r\n </div>\r\n );\r\n })}\r\n </div>\r\n );\r\n };\r\n\r\n return (\r\n <div className={cn(\"flex space-x-1 my-6\", className)}>\r\n <motion.div\r\n className=\"overflow-hidden pb-2\"\r\n initial={{\r\n width: \"0%\",\r\n }}\r\n whileInView={{\r\n width: \"fit-content\",\r\n }}\r\n transition={{\r\n duration: 2,\r\n ease: \"linear\",\r\n delay: 1,\r\n }}\r\n >\r\n <div\r\n className=\"text-xs sm:text-base md:text-xl lg:text:3xl xl:text-5xl font-bold\"\r\n style={{\r\n whiteSpace: \"nowrap\",\r\n }}\r\n >\r\n {renderWords()}{\" \"}\r\n </div>{\" \"}\r\n </motion.div>\r\n <motion.span\r\n initial={{\r\n opacity: 0,\r\n }}\r\n animate={{\r\n opacity: 1,\r\n }}\r\n transition={{\r\n duration: 0.8,\r\n\r\n repeat: Number.POSITIVE_INFINITY,\r\n repeatType: \"reverse\",\r\n }}\r\n className={cn(\"block rounded-sm w-[4px] h-4 sm:h-6 xl:h-12 bg-green-500\", cursorClassName)}\r\n />\r\n </div>\r\n );\r\n};\r\n"],"mappings":";;;;;;AAMA,MAAa,oBAAoB,EAC/B,OACA,WACA,sBAQI;CAEJ,MAAM,aAAa,MAAM,KAAK,SAAS;AACrC,SAAO;GACL,GAAG;GACH,MAAM,KAAK,KAAK,MAAM,GAAG;GAC1B;GACD;CAEF,MAAM,CAAC,OAAO,WAAW,YAAY;CACrC,MAAM,WAAW,UAAU,MAAM;AACjC,iBAAgB;AACd,MAAI,SACF,SACE,QACA;GACE,SAAS;GACT,SAAS;GACT,OAAO;GACR,EACD;GACE,UAAU;GACV,OAAO,QAAQ,GAAI;GACnB,MAAM;GACP,CACF;IAEF,CAAC,SAAS,CAAC;CAEd,MAAM,oBAAoB;AACxB,SACE,oBAAC,OAAO,KAAR;GAAY,KAAK;GAAO,WAAU;aAC/B,WAAW,KAAK,MAAM,QAAQ;AAC7B,WACE,qBAAC,OAAD;KAAyB,WAAU;eAAnC,CACG,KAAK,KAAK,KAAK,MAAM,UACpB,oBAAC,OAAO,MAAR;MACE,SAAS,EAAE;MAEX,WAAW,GAAG,+CAA+C,KAAK,UAAU;gBAE3E;MACW,EAJP,QAAQ,QAID,CACd,EAAC,OAEC;OAXI,QAAQ,MAWZ;KAER;GACS,CAAA;;AAGjB,QACE,qBAAC,OAAD;EACE,WAAW,GACT,sEACA,UACD;YAJH,CAMG,aAAa,EACd,oBAAC,OAAO,MAAR;GACE,SAAS,EACP,SAAS,GACV;GACD,SAAS,EACP,SAAS,GACV;GACD,YAAY;IACV,UAAU;IACV,QAAQ,OAAO;IACf,YAAY;IACb;GACD,WAAW,GACT,mEACA,gBACD;GACD,CAAA,CACE;;;AAIV,MAAa,0BAA0B,EACrC,OACA,WACA,sBAQI;CAEJ,MAAM,aAAa,MAAM,KAAK,SAAS;AACrC,SAAO;GACL,GAAG;GACH,MAAM,KAAK,KAAK,MAAM,GAAG;GAC1B;GACD;CACF,MAAM,oBAAoB;AACxB,SACE,oBAAC,OAAD,EAAA,UACG,WAAW,KAAK,MAAM,QAAQ;AAC7B,UACE,qBAAC,OAAD;IAAyB,WAAU;cAAnC,CACG,KAAK,KAAK,KAAK,MAAM,UACpB,oBAAC,QAAD;KAEE,WAAW,GAAG,+BAA+B,KAAK,UAAU;eAE3D;KACI,EAJA,QAAQ,QAIR,CACP,EAAC,OAEC;MAVI,QAAQ,MAUZ;IAER,EACE,CAAA;;AAIV,QACE,qBAAC,OAAD;EAAK,WAAW,GAAG,uBAAuB,UAAU;YAApD,CACE,qBAAC,OAAO,KAAR;GACE,WAAU;GACV,SAAS,EACP,OAAO,MACR;GACD,aAAa,EACX,OAAO,eACR;GACD,YAAY;IACV,UAAU;IACV,MAAM;IACN,OAAO;IACR;aAZH,CAcE,qBAAC,OAAD;IACE,WAAU;IACV,OAAO,EACL,YAAY,UACb;cAJH,CAMG,aAAa,EAAE,IACZ;OAAC,IACI;MACb,oBAAC,OAAO,MAAR;GACE,SAAS,EACP,SAAS,GACV;GACD,SAAS,EACP,SAAS,GACV;GACD,YAAY;IACV,UAAU;IAEV,QAAQ,OAAO;IACf,YAAY;IACb;GACD,WAAW,GAAG,6DAA6D,gBAAgB;GAC3F,CAAA,CACE"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
//#region src/hooks/use-mobile.ts
|
|
2
3
|
const MOBILE_BREAKPOINT = 768;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
function useIsMobile() {
|
|
5
|
+
const [isMobile, setIsMobile] = React$1.useState(void 0);
|
|
6
|
+
React$1.useEffect(() => {
|
|
7
|
+
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
|
|
8
|
+
const onChange = () => {
|
|
9
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
10
|
+
};
|
|
11
|
+
mql.addEventListener("change", onChange);
|
|
12
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
13
|
+
return () => mql.removeEventListener("change", onChange);
|
|
14
|
+
}, []);
|
|
15
|
+
return !!isMobile;
|
|
15
16
|
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { useIsMobile };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=use-mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-mobile.js","names":["React"],"sources":["../../../src/hooks/use-mobile.ts"],"sourcesContent":["import * as React from \"react\";\r\n\r\nconst MOBILE_BREAKPOINT = 768;\r\n\r\nexport function useIsMobile() {\r\n const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined);\r\n\r\n React.useEffect(() => {\r\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);\r\n const onChange = () => {\r\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\r\n };\r\n mql.addEventListener(\"change\", onChange);\r\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\r\n return () => mql.removeEventListener(\"change\", onChange);\r\n }, []);\r\n\r\n return !!isMobile;\r\n}\r\n"],"mappings":";;AAEA,MAAM,oBAAoB;AAE1B,SAAgB,cAAc;CAC5B,MAAM,CAAC,UAAU,eAAeA,QAAM,SAA8B,KAAA,EAAU;AAE9E,SAAM,gBAAgB;EACpB,MAAM,MAAM,OAAO,WAAW,eAAe,oBAAoB,EAAE,KAAK;EACxE,MAAM,iBAAiB;AACrB,eAAY,OAAO,aAAa,kBAAkB;;AAEpD,MAAI,iBAAiB,UAAU,SAAS;AACxC,cAAY,OAAO,aAAa,kBAAkB;AAClD,eAAa,IAAI,oBAAoB,UAAU,SAAS;IACvD,EAAE,CAAC;AAEN,QAAO,CAAC,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { DialogProps, useDialog } from "../components/DialogProvider.js";
|
|
2
|
+
|
|
3
|
+
//#region src/hooks/useDialog.d.ts
|
|
4
|
+
declare const useConfirmDialog: () => (props: DialogProps) => void;
|
|
5
|
+
declare const useAlertDialog: () => (props: DialogProps) => void;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { useAlertDialog, useConfirmDialog, useDialog };
|
|
8
|
+
//# sourceMappingURL=useDialog.d.ts.map
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import { useDialog } from "../components/DialogProvider";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { useDialog } from "../components/DialogProvider.js";
|
|
2
|
+
//#region src/hooks/useDialog.ts
|
|
3
|
+
const useConfirmDialog = () => {
|
|
4
|
+
const dialog = useDialog();
|
|
5
|
+
return (props) => {
|
|
6
|
+
dialog({
|
|
7
|
+
color: "danger",
|
|
8
|
+
cancelable: true,
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
const useAlertDialog = () => {
|
|
14
|
+
const dialog = useDialog();
|
|
15
|
+
return (props) => {
|
|
16
|
+
dialog({
|
|
17
|
+
color: "warning",
|
|
18
|
+
cancelable: false,
|
|
19
|
+
...props
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
22
|
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { useAlertDialog, useConfirmDialog, useDialog };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=useDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDialog.js","names":[],"sources":["../../../src/hooks/useDialog.ts"],"sourcesContent":["import { type DialogProps, useDialog } from \"../components/DialogProvider\";\r\n\r\nexport { useDialog };\r\n\r\nexport const useConfirmDialog = () => {\r\n const dialog = useDialog();\r\n return (props: DialogProps) => {\r\n dialog({\r\n color: \"danger\",\r\n cancelable: true,\r\n ...props,\r\n });\r\n };\r\n};\r\n\r\nexport const useAlertDialog = () => {\r\n const dialog = useDialog();\r\n return (props: DialogProps) => {\r\n dialog({\r\n color: \"warning\",\r\n cancelable: false,\r\n ...props,\r\n });\r\n };\r\n};\r\n"],"mappings":";;AAIA,MAAa,yBAAyB;CACpC,MAAM,SAAS,WAAW;AAC1B,SAAQ,UAAuB;AAC7B,SAAO;GACL,OAAO;GACP,YAAY;GACZ,GAAG;GACJ,CAAC;;;AAIN,MAAa,uBAAuB;CAClC,MAAM,SAAS,WAAW;AAC1B,SAAQ,UAAuB;AAC7B,SAAO;GACL,OAAO;GACP,YAAY;GACZ,GAAG;GACJ,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/GoogleIcon.d.ts
|
|
5
|
+
interface GoogleIconProps extends ComponentPropsWithoutRef<"svg"> {}
|
|
6
|
+
declare function GoogleIcon(props: GoogleIconProps): _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { GoogleIcon };
|
|
9
|
+
//# sourceMappingURL=GoogleIcon.d.ts.map
|
|
@@ -1,4 +1,33 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/icons/GoogleIcon.tsx
|
|
3
|
+
function GoogleIcon(props) {
|
|
4
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
"aria-hidden": "true",
|
|
6
|
+
viewBox: "10 10 20 20",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
...props,
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ jsx("path", {
|
|
12
|
+
d: "M29.6 20.2273C29.6 19.5182 29.5364 18.8364 29.4182 18.1818H20V22.05H25.3818C25.15 23.3 24.4455 24.3591 23.3864 25.0682V27.5773H26.6182C28.5091 25.8364 29.6 23.2727 29.6 20.2273Z",
|
|
13
|
+
fill: "#4285F4"
|
|
14
|
+
}),
|
|
15
|
+
/* @__PURE__ */ jsx("path", {
|
|
16
|
+
d: "M20 30C22.7 30 24.9636 29.1045 26.6181 27.5773L23.3863 25.0682C22.4909 25.6682 21.3454 26.0227 20 26.0227C17.3954 26.0227 15.1909 24.2636 14.4045 21.9H11.0636V24.4909C12.7091 27.7591 16.0909 30 20 30Z",
|
|
17
|
+
fill: "#34A853"
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ jsx("path", {
|
|
20
|
+
d: "M14.4045 21.9C14.2045 21.3 14.0909 20.6591 14.0909 20C14.0909 19.3409 14.2045 18.7 14.4045 18.1V15.5091H11.0636C10.3864 16.8591 10 18.3864 10 20C10 21.6136 10.3864 23.1409 11.0636 24.4909L14.4045 21.9Z",
|
|
21
|
+
fill: "#FBBC04"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsx("path", {
|
|
24
|
+
d: "M20 13.9773C21.4681 13.9773 22.7863 14.4818 23.8227 15.4727L26.6909 12.6045C24.9591 10.9909 22.6954 10 20 10C16.0909 10 12.7091 12.2409 11.0636 15.5091L14.4045 18.1C15.1909 15.7364 17.3954 13.9773 20 13.9773Z",
|
|
25
|
+
fill: "#E94235"
|
|
26
|
+
})
|
|
27
|
+
]
|
|
28
|
+
});
|
|
4
29
|
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { GoogleIcon };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=GoogleIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleIcon.js","names":[],"sources":["../../../src/icons/GoogleIcon.tsx"],"sourcesContent":["import type { ComponentPropsWithoutRef } from \"react\";\r\n\r\ninterface GoogleIconProps extends ComponentPropsWithoutRef<\"svg\"> {}\r\n\r\nexport function GoogleIcon(props: GoogleIconProps) {\r\n return (\r\n <svg\r\n aria-hidden=\"true\"\r\n viewBox=\"10 10 20 20\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n {...props}\r\n >\r\n <path\r\n d=\"M29.6 20.2273C29.6 19.5182 29.5364 18.8364 29.4182 18.1818H20V22.05H25.3818C25.15 23.3 24.4455 24.3591 23.3864 25.0682V27.5773H26.6182C28.5091 25.8364 29.6 23.2727 29.6 20.2273Z\"\r\n fill=\"#4285F4\"\r\n />\r\n <path\r\n d=\"M20 30C22.7 30 24.9636 29.1045 26.6181 27.5773L23.3863 25.0682C22.4909 25.6682 21.3454 26.0227 20 26.0227C17.3954 26.0227 15.1909 24.2636 14.4045 21.9H11.0636V24.4909C12.7091 27.7591 16.0909 30 20 30Z\"\r\n fill=\"#34A853\"\r\n />\r\n <path\r\n d=\"M14.4045 21.9C14.2045 21.3 14.0909 20.6591 14.0909 20C14.0909 19.3409 14.2045 18.7 14.4045 18.1V15.5091H11.0636C10.3864 16.8591 10 18.3864 10 20C10 21.6136 10.3864 23.1409 11.0636 24.4909L14.4045 21.9Z\"\r\n fill=\"#FBBC04\"\r\n />\r\n <path\r\n d=\"M20 13.9773C21.4681 13.9773 22.7863 14.4818 23.8227 15.4727L26.6909 12.6045C24.9591 10.9909 22.6954 10 20 10C16.0909 10 12.7091 12.2409 11.0636 15.5091L14.4045 18.1C15.1909 15.7364 17.3954 13.9773 20 13.9773Z\"\r\n fill=\"#E94235\"\r\n />\r\n </svg>\r\n );\r\n}\r\n"],"mappings":";;AAIA,SAAgB,WAAW,OAAwB;AACjD,QACE,qBAAC,OAAD;EACE,eAAY;EACZ,SAAQ;EACR,MAAK;EACL,OAAM;EACN,GAAI;YALN;GAOE,oBAAC,QAAD;IACE,GAAE;IACF,MAAK;IACL,CAAA;GACF,oBAAC,QAAD;IACE,GAAE;IACF,MAAK;IACL,CAAA;GACF,oBAAC,QAAD;IACE,GAAE;IACF,MAAK;IACL,CAAA;GACF,oBAAC,QAAD;IACE,GAAE;IACF,MAAK;IACL,CAAA;GACE"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/LinkedInIcon.d.ts
|
|
5
|
+
interface LinkedInIconProps extends ComponentPropsWithoutRef<"svg"> {}
|
|
6
|
+
declare function LinkedInIcon(props: LinkedInIconProps): _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { LinkedInIcon };
|
|
9
|
+
//# sourceMappingURL=LinkedInIcon.d.ts.map
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/icons/LinkedInIcon.tsx
|
|
3
|
+
function LinkedInIcon(props) {
|
|
4
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
5
|
+
"aria-hidden": "true",
|
|
6
|
+
height: "72",
|
|
7
|
+
width: "72",
|
|
8
|
+
viewBox: "0 0 72 72",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...props,
|
|
12
|
+
children: /* @__PURE__ */ jsxs("g", {
|
|
13
|
+
fill: "none",
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
16
|
+
d: "M8 72h56c4.418 0 8-3.582 8-8V8c0-4.418-3.582-8-8-8H8C3.582 0 0 3.582 0 8v56c0 4.418 3.582 8 8 8Z",
|
|
17
|
+
fill: "#007EBB"
|
|
18
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
19
|
+
d: "M62 62H51.316V43.802c0-4.99-1.896-7.778-5.845-7.778-4.296 0-6.541 2.901-6.541 7.777V62H28.633V27.333h10.297v4.67S42.026 26.274 49.383 26.274C56.736 26.274 62 30.764 62 40.051zM16.349 22.794c-3.507 0-6.349-2.864-6.349-6.397C10 12.864 12.842 10 16.349 10c3.507 0 6.348 2.864 6.348 6.397 0 3.533-2.84 6.397-6.348 6.397zM11.033 62h10.737V27.333H11.033z",
|
|
20
|
+
fill: "#FFF"
|
|
21
|
+
})]
|
|
22
|
+
})
|
|
23
|
+
});
|
|
4
24
|
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { LinkedInIcon };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=LinkedInIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkedInIcon.js","names":[],"sources":["../../../src/icons/LinkedInIcon.tsx"],"sourcesContent":["import type { ComponentPropsWithoutRef } from \"react\";\r\n\r\ninterface LinkedInIconProps extends ComponentPropsWithoutRef<\"svg\"> {}\r\n\r\nexport function LinkedInIcon(props: LinkedInIconProps) {\r\n return (\r\n <svg\r\n aria-hidden=\"true\"\r\n height=\"72\"\r\n width=\"72\"\r\n viewBox=\"0 0 72 72\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n {...props}\r\n >\r\n <g fill=\"none\" fillRule=\"evenodd\">\r\n <path\r\n d=\"M8 72h56c4.418 0 8-3.582 8-8V8c0-4.418-3.582-8-8-8H8C3.582 0 0 3.582 0 8v56c0 4.418 3.582 8 8 8Z\"\r\n fill=\"#007EBB\"\r\n />\r\n <path\r\n d=\"M62 62H51.316V43.802c0-4.99-1.896-7.778-5.845-7.778-4.296 0-6.541 2.901-6.541 7.777V62H28.633V27.333h10.297v4.67S42.026 26.274 49.383 26.274C56.736 26.274 62 30.764 62 40.051zM16.349 22.794c-3.507 0-6.349-2.864-6.349-6.397C10 12.864 12.842 10 16.349 10c3.507 0 6.348 2.864 6.348 6.397 0 3.533-2.84 6.397-6.348 6.397zM11.033 62h10.737V27.333H11.033z\"\r\n fill=\"#FFF\"\r\n />\r\n </g>\r\n </svg>\r\n );\r\n}\r\n\r\n\r\n"],"mappings":";;AAIA,SAAgB,aAAa,OAA0B;AACrD,QACE,oBAAC,OAAD;EACE,eAAY;EACZ,QAAO;EACP,OAAM;EACN,SAAQ;EACR,MAAK;EACL,OAAM;EACN,GAAI;YAEJ,qBAAC,KAAD;GAAG,MAAK;GAAO,UAAS;aAAxB,CACE,oBAAC,QAAD;IACE,GAAE;IACF,MAAK;IACL,CAAA,EACF,oBAAC,QAAD;IACE,GAAE;IACF,MAAK;IACL,CAAA,CACA;;EACA,CAAA"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/MicrosoftIcon.d.ts
|
|
5
|
+
interface MicrosoftIconProps extends ComponentPropsWithoutRef<"svg"> {}
|
|
6
|
+
declare function MicrosoftIcon(props: MicrosoftIconProps): _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { MicrosoftIcon };
|
|
9
|
+
//# sourceMappingURL=MicrosoftIcon.d.ts.map
|
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/icons/MicrosoftIcon.tsx
|
|
3
|
+
function MicrosoftIcon(props) {
|
|
4
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
"aria-hidden": "true",
|
|
6
|
+
viewBox: "0 0 21 21",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
...props,
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ jsx("path", {
|
|
11
|
+
fill: "#F35325",
|
|
12
|
+
d: "M0 0h10v10H0z"
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ jsx("path", {
|
|
15
|
+
fill: "#81BC06",
|
|
16
|
+
d: "M11 0h10v10H11z"
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ jsx("path", {
|
|
19
|
+
fill: "#05A6F0",
|
|
20
|
+
d: "M0 11h10v10H0z"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ jsx("path", {
|
|
23
|
+
fill: "#FFBA08",
|
|
24
|
+
d: "M11 11h10v10H11z"
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
});
|
|
4
28
|
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { MicrosoftIcon };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=MicrosoftIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MicrosoftIcon.js","names":[],"sources":["../../../src/icons/MicrosoftIcon.tsx"],"sourcesContent":["import type { ComponentPropsWithoutRef } from \"react\";\r\n\r\ninterface MicrosoftIconProps extends ComponentPropsWithoutRef<\"svg\"> {}\r\n\r\nexport function MicrosoftIcon(props: MicrosoftIconProps) {\r\n return (\r\n <svg\r\n aria-hidden=\"true\"\r\n viewBox=\"0 0 21 21\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n {...props}\r\n >\r\n <path fill=\"#F35325\" d=\"M0 0h10v10H0z\" />\r\n <path fill=\"#81BC06\" d=\"M11 0h10v10H11z\" />\r\n <path fill=\"#05A6F0\" d=\"M0 11h10v10H0z\" />\r\n <path fill=\"#FFBA08\" d=\"M11 11h10v10H11z\" />\r\n </svg>\r\n );\r\n}\r\n\r\n\r\n"],"mappings":";;AAIA,SAAgB,cAAc,OAA2B;AACvD,QACE,qBAAC,OAAD;EACE,eAAY;EACZ,SAAQ;EACR,OAAM;EACN,GAAI;YAJN;GAME,oBAAC,QAAD;IAAM,MAAK;IAAU,GAAE;IAAkB,CAAA;GACzC,oBAAC,QAAD;IAAM,MAAK;IAAU,GAAE;IAAoB,CAAA;GAC3C,oBAAC,QAAD;IAAM,MAAK;IAAU,GAAE;IAAmB,CAAA;GAC1C,oBAAC,QAAD;IAAM,MAAK;IAAU,GAAE;IAAqB,CAAA;GACxC"}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
//#region src/lib/chatwoot.d.ts
|
|
2
|
+
declare function startChatwoot({
|
|
3
|
+
baseUrl,
|
|
4
|
+
websiteToken
|
|
5
|
+
}: {
|
|
6
|
+
baseUrl: string;
|
|
7
|
+
websiteToken: string;
|
|
8
|
+
}, {
|
|
9
|
+
user
|
|
10
|
+
}: {
|
|
11
|
+
user?: {
|
|
12
|
+
id: string;
|
|
13
|
+
email: string;
|
|
14
|
+
name?: string | null;
|
|
15
|
+
image?: string | null;
|
|
16
|
+
};
|
|
11
17
|
}, allowAnonymous?: boolean): void;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { startChatwoot };
|
|
20
|
+
//# sourceMappingURL=chatwoot.d.ts.map
|
package/dist/src/lib/chatwoot.js
CHANGED
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
email: user.email,
|
|
23
|
-
name: user.name,
|
|
24
|
-
avatar_url: user.image,
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
}
|
|
1
|
+
//#region src/lib/chatwoot.ts
|
|
2
|
+
function startChatwoot({ baseUrl, websiteToken }, { user }, allowAnonymous) {
|
|
3
|
+
if (window.chatwootSDK) return;
|
|
4
|
+
if (!allowAnonymous && !user) throw new Error("User is required to start Chatwoot");
|
|
5
|
+
const script = document.createElement("script");
|
|
6
|
+
script.src = `${baseUrl}/packs/js/sdk.js`;
|
|
7
|
+
script.async = true;
|
|
8
|
+
script.onload = () => {
|
|
9
|
+
window.chatwootSDK.run({
|
|
10
|
+
websiteToken,
|
|
11
|
+
baseUrl
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
document.body.appendChild(script);
|
|
15
|
+
if (user) window.addEventListener("chatwoot:ready", () => {
|
|
16
|
+
window.$chatwoot.setUser(user.id, {
|
|
17
|
+
email: user.email,
|
|
18
|
+
name: user.name,
|
|
19
|
+
avatar_url: user.image
|
|
20
|
+
});
|
|
21
|
+
});
|
|
28
22
|
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { startChatwoot };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=chatwoot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatwoot.js","names":[],"sources":["../../../src/lib/chatwoot.ts"],"sourcesContent":["export function startChatwoot(\r\n {\r\n baseUrl,\r\n websiteToken,\r\n }: {\r\n baseUrl: string;\r\n websiteToken: string;\r\n },\r\n {\r\n user,\r\n }: {\r\n user?: {\r\n id: string;\r\n email: string;\r\n name?: string | null;\r\n image?: string | null;\r\n };\r\n },\r\n allowAnonymous?: boolean\r\n) {\r\n // avoid loading twice\r\n if ((window as any).chatwootSDK) return;\r\n\r\n if (!allowAnonymous && !user) {\r\n throw new Error(\"User is required to start Chatwoot\");\r\n }\r\n\r\n const script = document.createElement(\"script\");\r\n script.src = `${baseUrl}/packs/js/sdk.js`;\r\n script.async = true;\r\n\r\n script.onload = () => {\r\n (window as any).chatwootSDK.run({\r\n websiteToken,\r\n baseUrl,\r\n });\r\n };\r\n\r\n document.body.appendChild(script);\r\n\r\n if (user) {\r\n window.addEventListener(\"chatwoot:ready\", () => {\r\n // @ts-expect-error chatwoot is in global window\r\n window.$chatwoot.setUser(user.id, {\r\n email: user.email,\r\n name: user.name,\r\n avatar_url: user.image,\r\n });\r\n });\r\n }\r\n}\r\n"],"mappings":";AAAA,SAAgB,cACd,EACE,SACA,gBAKF,EACE,QASF,gBACA;AAEA,KAAK,OAAe,YAAa;AAEjC,KAAI,CAAC,kBAAkB,CAAC,KACtB,OAAM,IAAI,MAAM,qCAAqC;CAGvD,MAAM,SAAS,SAAS,cAAc,SAAS;AAC/C,QAAO,MAAM,GAAG,QAAQ;AACxB,QAAO,QAAQ;AAEf,QAAO,eAAe;AACnB,SAAe,YAAY,IAAI;GAC9B;GACA;GACD,CAAC;;AAGJ,UAAS,KAAK,YAAY,OAAO;AAEjC,KAAI,KACF,QAAO,iBAAiB,wBAAwB;AAE9C,SAAO,UAAU,QAAQ,KAAK,IAAI;GAChC,OAAO,KAAK;GACZ,MAAM,KAAK;GACX,YAAY,KAAK;GAClB,CAAC;GACF"}
|
package/dist/src/lib/utils.d.ts
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ClassValue } from "clsx";
|
|
2
|
+
|
|
3
|
+
//#region src/lib/utils.d.ts
|
|
4
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { cn };
|
|
7
|
+
//# sourceMappingURL=utils.d.ts.map
|
package/dist/src/lib/utils.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { clsx } from "clsx";
|
|
2
2
|
import { twMerge } from "tailwind-merge";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
//#region src/lib/utils.ts
|
|
4
|
+
function cn(...inputs) {
|
|
5
|
+
return twMerge(clsx(inputs));
|
|
5
6
|
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { cn };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","names":[],"sources":["../../../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from \"clsx\";\r\nimport { twMerge } from \"tailwind-merge\";\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n return twMerge(clsx(inputs));\r\n}\r\n"],"mappings":";;;AAGA,SAAgB,GAAG,GAAG,QAAsB;AAC1C,QAAO,QAAQ,KAAK,OAAO,CAAC"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { SpinnerProps } from "@heroui/react";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/modules/app/components/AppLoader.d.ts
|
|
5
|
+
declare function AppLoader(props: SpinnerProps): _$react_jsx_runtime0.JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AppLoader };
|
|
8
|
+
//# sourceMappingURL=AppLoader.d.ts.map
|