@licklist/design 0.78.5-dev.91 → 0.78.5-dev.93
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/.storybook/preview.jsx +1 -0
- package/bitbucket-pipelines.yml +4 -0
- package/components.json +20 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -9
- package/dist/v2/components/AccountManagerCard/AccountManagerCard.d.ts +11 -0
- package/dist/v2/components/AccountManagerCard/AccountManagerCard.d.ts.map +1 -0
- package/dist/v2/components/AccountManagerCard/AccountManagerCard.js +62 -0
- package/dist/v2/components/AccountManagerCard/AccountManagerCard.scss.js +6 -0
- package/dist/v2/components/AccountManagerCard/index.d.ts +3 -0
- package/dist/v2/components/AccountManagerCard/index.d.ts.map +1 -0
- package/dist/v2/components/ActionMenu/ActionMenu.scss.js +1 -1
- package/dist/v2/components/Alert/Alert.scss.js +1 -1
- package/dist/v2/components/AvatarUpload/AvatarUpload.d.ts.map +1 -1
- package/dist/v2/components/AvatarUpload/AvatarUpload.js +23 -13
- package/dist/v2/components/AvatarUpload/AvatarUpload.scss.js +1 -1
- package/dist/v2/components/Button/Button.d.ts.map +1 -1
- package/dist/v2/components/Button/Button.js +2 -1
- package/dist/v2/components/Button/Button.scss.js +1 -1
- package/dist/v2/components/Button/GhostButton.scss.js +1 -1
- package/dist/v2/components/Checkbox/Checkbox.scss.js +1 -1
- package/dist/v2/components/DataTable/DataTable.d.ts +3 -1
- package/dist/v2/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/v2/components/DataTable/DataTable.js +40 -39
- package/dist/v2/components/DataTable/DataTable.scss.js +1 -1
- package/dist/v2/components/EmptyState/EmptyState.scss.js +1 -1
- package/dist/v2/components/FeatureToggle/FeatureToggle.d.ts +14 -0
- package/dist/v2/components/FeatureToggle/FeatureToggle.d.ts.map +1 -0
- package/dist/v2/components/FeatureToggle/FeatureToggle.js +47 -0
- package/dist/v2/components/FeatureToggle/FeatureToggle.scss.js +6 -0
- package/dist/v2/components/FeatureToggle/index.d.ts +3 -0
- package/dist/v2/components/FeatureToggle/index.d.ts.map +1 -0
- package/dist/v2/components/FormField/FormField.scss.js +1 -1
- package/dist/v2/components/InfoGrid/InfoGrid.scss.js +1 -1
- package/dist/v2/components/InputCheckbox/InputCheckbox.scss.js +1 -1
- package/dist/v2/components/Modal/DeleteModal.d.ts.map +1 -1
- package/dist/v2/components/Modal/DeleteModal.js +74 -76
- package/dist/v2/components/Modal/DeleteModal.scss.js +1 -1
- package/dist/v2/components/NewTable/NewTable.scss.js +1 -1
- package/dist/v2/components/NewTabs/NewTabs.scss.js +1 -1
- package/dist/v2/components/NotificationBanner/NotificationBanner.d.ts +16 -0
- package/dist/v2/components/NotificationBanner/NotificationBanner.d.ts.map +1 -0
- package/dist/v2/components/NotificationBanner/NotificationBanner.js +50 -0
- package/dist/v2/components/NotificationBanner/NotificationBanner.scss.js +6 -0
- package/dist/v2/components/NotificationBanner/index.d.ts +3 -0
- package/dist/v2/components/NotificationBanner/index.d.ts.map +1 -0
- package/dist/v2/components/RadioCard/{RadioCard.d.ts → RadioCardGroup.d.ts} +5 -4
- package/dist/v2/components/RadioCard/RadioCardGroup.d.ts.map +1 -0
- package/dist/v2/components/RadioCard/RadioCardGroup.js +69 -0
- package/dist/v2/components/RadioCard/RadioCardGroup.scss.js +6 -0
- package/dist/v2/components/RadioCard/index.d.ts +1 -1
- package/dist/v2/components/RadioCard/index.d.ts.map +1 -1
- package/dist/v2/components/Select/Select.d.ts +7 -1
- package/dist/v2/components/Select/Select.d.ts.map +1 -1
- package/dist/v2/components/Select/Select.js +9 -2
- package/dist/v2/components/Select/index.d.ts +1 -1
- package/dist/v2/components/Select/index.d.ts.map +1 -1
- package/dist/v2/components/StatusBadge/StatusBadge.d.ts +2 -1
- package/dist/v2/components/StatusBadge/StatusBadge.d.ts.map +1 -1
- package/dist/v2/components/StatusBadge/StatusBadge.js +7 -3
- package/dist/v2/components/StatusBadge/StatusBadge.scss.js +1 -1
- package/dist/v2/components/TableControls/TableControls.scss.js +1 -1
- package/dist/v2/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/v2/components/Tabs/Tabs.js +40 -0
- package/dist/v2/components/Tabs/Tabs.scss.js +1 -1
- package/dist/v2/components/Toggle/Toggle.d.ts +10 -0
- package/dist/v2/components/Toggle/Toggle.d.ts.map +1 -0
- package/dist/v2/components/Toggle/Toggle.js +17 -0
- package/dist/v2/components/Toggle/Toggle.scss.js +6 -0
- package/dist/v2/components/Toggle/index.d.ts +3 -0
- package/dist/v2/components/Toggle/index.d.ts.map +1 -0
- package/dist/v2/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/v2/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/v2/components/WYSIWYGEditor/WYSIWYGEditor.scss.js +1 -1
- package/dist/v2/components/index.d.ts +13 -2
- package/dist/v2/components/index.d.ts.map +1 -1
- package/dist/v2/dashboard-analytics/blog-posts/index.d.ts +1 -1
- package/dist/v2/dashboard-analytics/blog-posts/index.d.ts.map +1 -1
- package/dist/v2/dashboard-analytics/chart/Chart.d.ts.map +1 -1
- package/dist/v2/dashboard-analytics/chart/Chart.js +6 -5
- package/dist/v2/dashboard-analytics/venue-card/VenueCard.d.ts +2 -2
- package/dist/v2/dashboard-analytics/venue-card/VenueCard.d.ts.map +1 -1
- package/dist/v2/icons/index.d.ts +98 -4
- package/dist/v2/icons/index.d.ts.map +1 -1
- package/dist/v2/icons/index.js +497 -2
- package/dist/v2/index.d.ts +15 -4
- package/dist/v2/index.d.ts.map +1 -1
- package/dist/v2/navigation/DashboardLayout/AdminSidebar.d.ts +3 -0
- package/dist/v2/navigation/DashboardLayout/AdminSidebar.d.ts.map +1 -1
- package/dist/v2/navigation/DashboardLayout/AdminSidebar.js +34 -60
- package/dist/v2/navigation/DashboardLayout/AdminSidebar.scss.js +1 -1
- package/dist/v2/navigation/DashboardLayout/DashboardLayout.d.ts +3 -0
- package/dist/v2/navigation/DashboardLayout/DashboardLayout.d.ts.map +1 -1
- package/dist/v2/navigation/DashboardLayout/DashboardLayout.js +16 -6
- package/dist/v2/navigation/DashboardLayout/DashboardLayout.scss.js +1 -1
- package/dist/v2/navigation/DashboardLayout/ProviderSidebar.d.ts.map +1 -1
- package/dist/v2/navigation/DashboardLayout/ProviderSidebar.js +7 -26
- package/dist/v2/navigation/DashboardLayout/TopNavigation.d.ts +1 -0
- package/dist/v2/navigation/DashboardLayout/TopNavigation.d.ts.map +1 -1
- package/dist/v2/navigation/DashboardLayout/TopNavigation.js +27 -8
- package/dist/v2/navigation/DashboardLayout/TopNavigation.scss.js +1 -1
- package/dist/v2/navigation/FigmasSideBar/FigmasSideBar.d.ts.map +1 -1
- package/dist/v2/navigation/config.d.ts.map +1 -1
- package/dist/v2/pages/Settings/SettingsPage.scss.js +1 -1
- package/dist/v2/pages/Settings/SettingsTabs.scss.js +1 -1
- package/dist/v2/pages/Settings/components/SidebarCustomisation.js +9 -1
- package/dist/v2/pages/Settings/components/SidebarCustomisation.scss.js +1 -1
- package/dist/v2/pages/Settings/components/SidebarNavItem.js +9 -1
- package/dist/v2/pages/Settings/components/SidebarNavItem.scss.js +1 -1
- package/dist/v2/pages/auth/AuthLayout/AuthLayout.js +138 -0
- package/dist/v2/pages/auth/AuthLayout/AuthLayout.scss.js +6 -0
- package/dist/v2/pages/auth/CreatePassword/CreatePasswordPage.js +377 -0
- package/dist/v2/pages/auth/CreatePassword/CreatePasswordPage.scss.js +6 -0
- package/dist/{auth → v2/pages/auth}/Login/LoginPage.js +97 -46
- package/dist/v2/pages/auth/Login/LoginPage.scss.js +6 -0
- package/dist/v2/pages/auth/ResetPassword/ResetPasswordPage.js +274 -0
- package/dist/v2/pages/auth/ResetPassword/ResetPasswordPage.scss.js +6 -0
- package/dist/v2/pages/auth/VerifyEmail/VerifyEmailPage.js +313 -0
- package/dist/v2/pages/auth/VerifyEmail/VerifyEmailPage.scss.js +6 -0
- package/dist/v2/shadcn/_reference/AccountManagerCard.d.ts +10 -0
- package/dist/v2/shadcn/_reference/AccountManagerCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/AffiliatesTable.d.ts +18 -0
- package/dist/v2/shadcn/_reference/AffiliatesTable.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/AuditArchive.d.ts +7 -0
- package/dist/v2/shadcn/_reference/AuditArchive.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/AuditContent.d.ts +4 -0
- package/dist/v2/shadcn/_reference/AuditContent.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/AutomationsGeneralSettings.d.ts +4 -0
- package/dist/v2/shadcn/_reference/AutomationsGeneralSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/AvatarUpload.d.ts +9 -0
- package/dist/v2/shadcn/_reference/AvatarUpload.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/BookingsSummaryCard.d.ts +7 -0
- package/dist/v2/shadcn/_reference/BookingsSummaryCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/CodeCleanUpAudit.d.ts +4 -0
- package/dist/v2/shadcn/_reference/CodeCleanUpAudit.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/CompaniesTable.d.ts +4 -0
- package/dist/v2/shadcn/_reference/CompaniesTable.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ComponentAudit.d.ts +4 -0
- package/dist/v2/shadcn/_reference/ComponentAudit.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ConfigureSettingsCard.d.ts +28 -0
- package/dist/v2/shadcn/_reference/ConfigureSettingsCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/CustomerCard.d.ts +16 -0
- package/dist/v2/shadcn/_reference/CustomerCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/DashboardCards.d.ts +4 -0
- package/dist/v2/shadcn/_reference/DashboardCards.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/DashboardFooter.d.ts +3 -0
- package/dist/v2/shadcn/_reference/DashboardFooter.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/DiarySettings.d.ts +4 -0
- package/dist/v2/shadcn/_reference/DiarySettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/DiaryView.d.ts +15 -0
- package/dist/v2/shadcn/_reference/DiaryView.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/EmptyState.d.ts +10 -0
- package/dist/v2/shadcn/_reference/EmptyState.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/EntityInfoCard.d.ts +14 -0
- package/dist/v2/shadcn/_reference/EntityInfoCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ExistingUserAssignments.d.ts +7 -0
- package/dist/v2/shadcn/_reference/ExistingUserAssignments.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/FeatureToggle.d.ts +20 -0
- package/dist/v2/shadcn/_reference/FeatureToggle.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/FlowCard.d.ts +21 -0
- package/dist/v2/shadcn/_reference/FlowCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/FlowsContent.d.ts +12 -0
- package/dist/v2/shadcn/_reference/FlowsContent.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/FlowsGeneralSettings.d.ts +8 -0
- package/dist/v2/shadcn/_reference/FlowsGeneralSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/GeneralSettings.d.ts +8 -0
- package/dist/v2/shadcn/_reference/GeneralSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/InventoryGeneralSettings.d.ts +17 -0
- package/dist/v2/shadcn/_reference/InventoryGeneralSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/LanguageSelector.d.ts +12 -0
- package/dist/v2/shadcn/_reference/LanguageSelector.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/LoadingScreen.d.ts +8 -0
- package/dist/v2/shadcn/_reference/LoadingScreen.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/LoadingSpinner.d.ts +8 -0
- package/dist/v2/shadcn/_reference/LoadingSpinner.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ManagedClientsList.d.ts +7 -0
- package/dist/v2/shadcn/_reference/ManagedClientsList.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/NPSScore.d.ts +8 -0
- package/dist/v2/shadcn/_reference/NPSScore.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/NPSSummaryCard.d.ts +8 -0
- package/dist/v2/shadcn/_reference/NPSSummaryCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/NotificationBanner.d.ts +20 -0
- package/dist/v2/shadcn/_reference/NotificationBanner.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/NotificationPanel.d.ts +11 -0
- package/dist/v2/shadcn/_reference/NotificationPanel.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/OnlineUsersCard.d.ts +7 -0
- package/dist/v2/shadcn/_reference/OnlineUsersCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ProtectedRoute.d.ts +6 -0
- package/dist/v2/shadcn/_reference/ProtectedRoute.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ProvidersTable.d.ts +7 -0
- package/dist/v2/shadcn/_reference/ProvidersTable.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/QuickAddPanel.d.ts +18 -0
- package/dist/v2/shadcn/_reference/QuickAddPanel.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/QuickFilters.d.ts +28 -0
- package/dist/v2/shadcn/_reference/QuickFilters.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ScheduleView.d.ts +29 -0
- package/dist/v2/shadcn/_reference/ScheduleView.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ScrollToTop.d.ts +3 -0
- package/dist/v2/shadcn/_reference/ScrollToTop.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/SecondaryNav.d.ts +12 -0
- package/dist/v2/shadcn/_reference/SecondaryNav.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/SecuritySettings.d.ts +8 -0
- package/dist/v2/shadcn/_reference/SecuritySettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/SessionDetailView.d.ts +33 -0
- package/dist/v2/shadcn/_reference/SessionDetailView.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/Sidebar.d.ts +4 -0
- package/dist/v2/shadcn/_reference/Sidebar.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/SidebarAwareLayout.d.ts +9 -0
- package/dist/v2/shadcn/_reference/SidebarAwareLayout.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/SidebarLabelCustomization.d.ts +9 -0
- package/dist/v2/shadcn/_reference/SidebarLabelCustomization.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/SimulationBanner.d.ts +3 -0
- package/dist/v2/shadcn/_reference/SimulationBanner.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/SortControls.d.ts +10 -0
- package/dist/v2/shadcn/_reference/SortControls.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/StatusBadge.d.ts +7 -0
- package/dist/v2/shadcn/_reference/StatusBadge.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/StyleGuideContent.d.ts +85 -0
- package/dist/v2/shadcn/_reference/StyleGuideContent.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/TableActionMenu.d.ts +21 -0
- package/dist/v2/shadcn/_reference/TableActionMenu.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ThemeProvider.d.ts +14 -0
- package/dist/v2/shadcn/_reference/ThemeProvider.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ThemeSettings.d.ts +4 -0
- package/dist/v2/shadcn/_reference/ThemeSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/TopNavigation.d.ts +4 -0
- package/dist/v2/shadcn/_reference/TopNavigation.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/UserActivityHistory.d.ts +8 -0
- package/dist/v2/shadcn/_reference/UserActivityHistory.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/UserLanguageSettings.d.ts +4 -0
- package/dist/v2/shadcn/_reference/UserLanguageSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/UserPanel.d.ts +9 -0
- package/dist/v2/shadcn/_reference/UserPanel.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/UsersTable.d.ts +23 -0
- package/dist/v2/shadcn/_reference/UsersTable.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/WaiverForm.d.ts +8 -0
- package/dist/v2/shadcn/_reference/WaiverForm.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/WaiversGeneralSettings.d.ts +4 -0
- package/dist/v2/shadcn/_reference/WaiversGeneralSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/WaiversTable.d.ts +27 -0
- package/dist/v2/shadcn/_reference/WaiversTable.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/WaiversTemplatesSettings.d.ts +4 -0
- package/dist/v2/shadcn/_reference/WaiversTemplatesSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ai/AIChatPanel.d.ts +8 -0
- package/dist/v2/shadcn/_reference/ai/AIChatPanel.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ai/AIChatSearchBar.d.ts +4 -0
- package/dist/v2/shadcn/_reference/ai/AIChatSearchBar.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ai/ChatInteractiveBlock.d.ts +12 -0
- package/dist/v2/shadcn/_reference/ai/ChatInteractiveBlock.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ai/ChatMessageContent.d.ts +11 -0
- package/dist/v2/shadcn/_reference/ai/ChatMessageContent.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/ai/parseInteractiveBlocks.d.ts +68 -0
- package/dist/v2/shadcn/_reference/ai/parseInteractiveBlocks.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/AuthLayout.d.ts +11 -0
- package/dist/v2/shadcn/_reference/auth/AuthLayout.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/CreatePasswordForm.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/CreatePasswordForm.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/CreatePasswordPanel.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/CreatePasswordPanel.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/LoginFooter.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/LoginFooter.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/LoginForm.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/LoginForm.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/LoginPanel.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/LoginPanel.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/ResetPasswordForm.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/ResetPasswordForm.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/ResetPasswordPanel.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/ResetPasswordPanel.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/VerifyEmailForm.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/VerifyEmailForm.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/auth/VerifyEmailPanel.d.ts +3 -0
- package/dist/v2/shadcn/_reference/auth/VerifyEmailPanel.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/email/EmailAttachment.d.ts +14 -0
- package/dist/v2/shadcn/_reference/email/EmailAttachment.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/email/EmailAutomation.d.ts +12 -0
- package/dist/v2/shadcn/_reference/email/EmailAutomation.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/email/EmailPlaceholders.d.ts +11 -0
- package/dist/v2/shadcn/_reference/email/EmailPlaceholders.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/email/UnlayerEmailEditor.d.ts +9 -0
- package/dist/v2/shadcn/_reference/email/UnlayerEmailEditor.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/email/emailTemplateData.d.ts +14 -0
- package/dist/v2/shadcn/_reference/email/emailTemplateData.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/emptyStateIcons.d.ts +18 -0
- package/dist/v2/shadcn/_reference/emptyStateIcons.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/games/MazeGame.d.ts +4 -0
- package/dist/v2/shadcn/_reference/games/MazeGame.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/games/RunnerGame.d.ts +4 -0
- package/dist/v2/shadcn/_reference/games/RunnerGame.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/logos/BookedLogoFull.d.ts +6 -0
- package/dist/v2/shadcn/_reference/logos/BookedLogoFull.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/logos/BookedLogoMark.d.ts +7 -0
- package/dist/v2/shadcn/_reference/logos/BookedLogoMark.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/logos/BookedLogoNew.d.ts +6 -0
- package/dist/v2/shadcn/_reference/logos/BookedLogoNew.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/pricing/DynamicPricingRulesEditor.d.ts +31 -0
- package/dist/v2/shadcn/_reference/pricing/DynamicPricingRulesEditor.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/pricing/DynamicPricingTierCard.d.ts +24 -0
- package/dist/v2/shadcn/_reference/pricing/DynamicPricingTierCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/pricing/DynamicPricingTiersList.d.ts +4 -0
- package/dist/v2/shadcn/_reference/pricing/DynamicPricingTiersList.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/pricing/PricingCalendar.d.ts +4 -0
- package/dist/v2/shadcn/_reference/pricing/PricingCalendar.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/pricing/PricingPeriodCard.d.ts +35 -0
- package/dist/v2/shadcn/_reference/pricing/PricingPeriodCard.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/pricing/PricingPeriodForm.d.ts +19 -0
- package/dist/v2/shadcn/_reference/pricing/PricingPeriodForm.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/pricing/PricingPeriodsList.d.ts +4 -0
- package/dist/v2/shadcn/_reference/pricing/PricingPeriodsList.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/pricing/getRuleSummary.d.ts +4 -0
- package/dist/v2/shadcn/_reference/pricing/getRuleSummary.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/AvailabilityRulesSection.d.ts +24 -0
- package/dist/v2/shadcn/_reference/products/AvailabilityRulesSection.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/AvailabilitySection.d.ts +20 -0
- package/dist/v2/shadcn/_reference/products/AvailabilitySection.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/BookingTypeConfigOptions.d.ts +17 -0
- package/dist/v2/shadcn/_reference/products/BookingTypeConfigOptions.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/CapacityPeriodsSection.d.ts +18 -0
- package/dist/v2/shadcn/_reference/products/CapacityPeriodsSection.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/DynamicPricingTiersSection.d.ts +17 -0
- package/dist/v2/shadcn/_reference/products/DynamicPricingTiersSection.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/GiftCardOrdersTab.d.ts +7 -0
- package/dist/v2/shadcn/_reference/products/GiftCardOrdersTab.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/GiftCardSettings.d.ts +28 -0
- package/dist/v2/shadcn/_reference/products/GiftCardSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/PackageProductsSection.d.ts +18 -0
- package/dist/v2/shadcn/_reference/products/PackageProductsSection.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/PricingSection.d.ts +13 -0
- package/dist/v2/shadcn/_reference/products/PricingSection.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/ProductTypeFields.d.ts +13 -0
- package/dist/v2/shadcn/_reference/products/ProductTypeFields.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/ProductTypeIcon.d.ts +9 -0
- package/dist/v2/shadcn/_reference/products/ProductTypeIcon.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/VariablePricingSection.d.ts +26 -0
- package/dist/v2/shadcn/_reference/products/VariablePricingSection.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/products/productTypeConfig.d.ts +28 -0
- package/dist/v2/shadcn/_reference/products/productTypeConfig.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/shared/BackButton.d.ts +13 -0
- package/dist/v2/shadcn/_reference/shared/BackButton.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/shared/CancelConfirmationDialog.d.ts +12 -0
- package/dist/v2/shadcn/_reference/shared/CancelConfirmationDialog.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/shared/ConfirmationDialog.d.ts +16 -0
- package/dist/v2/shadcn/_reference/shared/ConfirmationDialog.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/shared/DeleteConfirmationDialog.d.ts +12 -0
- package/dist/v2/shadcn/_reference/shared/DeleteConfirmationDialog.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/shared/DeleteEntityPage.d.ts +39 -0
- package/dist/v2/shadcn/_reference/shared/DeleteEntityPage.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/shared/SidebarIcons.d.ts +18 -0
- package/dist/v2/shadcn/_reference/shared/SidebarIcons.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/shared/UnifiedSidebar.d.ts +29 -0
- package/dist/v2/shadcn/_reference/shared/UnifiedSidebar.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/tables/BulkActionsBar.d.ts +17 -0
- package/dist/v2/shadcn/_reference/tables/BulkActionsBar.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/tables/DataTable.d.ts +7 -0
- package/dist/v2/shadcn/_reference/tables/DataTable.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/tables/TableControls.d.ts +8 -0
- package/dist/v2/shadcn/_reference/tables/TableControls.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/tables/index.d.ts +4 -0
- package/dist/v2/shadcn/_reference/tables/index.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/tables/types.d.ts +64 -0
- package/dist/v2/shadcn/_reference/tables/types.d.ts.map +1 -0
- package/dist/v2/shadcn/_reference/zones/LegacyZoneSettings.d.ts +24 -0
- package/dist/v2/shadcn/_reference/zones/LegacyZoneSettings.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/accordion.d.ts +8 -0
- package/dist/v2/shadcn/components/ui/accordion.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/alert-dialog.d.ts +21 -0
- package/dist/v2/shadcn/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/alert.d.ts +9 -0
- package/dist/v2/shadcn/components/ui/alert.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/aspect-ratio.d.ts +4 -0
- package/dist/v2/shadcn/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/avatar.d.ts +7 -0
- package/dist/v2/shadcn/components/ui/avatar.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/badge.d.ts +10 -0
- package/dist/v2/shadcn/components/ui/badge.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/breadcrumb.d.ts +20 -0
- package/dist/v2/shadcn/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/button.d.ts +14 -0
- package/dist/v2/shadcn/components/ui/button.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/calendar.d.ts +9 -0
- package/dist/v2/shadcn/components/ui/calendar.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/card.d.ts +9 -0
- package/dist/v2/shadcn/components/ui/card.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/carousel.d.ts +19 -0
- package/dist/v2/shadcn/components/ui/carousel.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/checkbox.d.ts +6 -0
- package/dist/v2/shadcn/components/ui/checkbox.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/checkbox.js +115 -0
- package/dist/v2/shadcn/components/ui/checkbox.scss.js +6 -0
- package/dist/v2/shadcn/components/ui/collapsible.d.ts +6 -0
- package/dist/v2/shadcn/components/ui/collapsible.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/command.d.ts +83 -0
- package/dist/v2/shadcn/components/ui/command.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/context-menu.d.ts +28 -0
- package/dist/v2/shadcn/components/ui/context-menu.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/dialog.d.ts +20 -0
- package/dist/v2/shadcn/components/ui/dialog.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/dialog.js +169 -0
- package/dist/v2/shadcn/components/ui/drawer.d.ts +23 -0
- package/dist/v2/shadcn/components/ui/drawer.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/v2/shadcn/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/form.d.ts +24 -0
- package/dist/v2/shadcn/components/ui/form.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/hover-card.d.ts +7 -0
- package/dist/v2/shadcn/components/ui/hover-card.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/input-otp.d.ts +35 -0
- package/dist/v2/shadcn/components/ui/input-otp.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/input.d.ts +6 -0
- package/dist/v2/shadcn/components/ui/input.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/label.d.ts +6 -0
- package/dist/v2/shadcn/components/ui/label.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/menubar.d.ts +34 -0
- package/dist/v2/shadcn/components/ui/menubar.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/navigation-menu.d.ts +13 -0
- package/dist/v2/shadcn/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/pagination.d.ts +29 -0
- package/dist/v2/shadcn/components/ui/pagination.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/popover.d.ts +7 -0
- package/dist/v2/shadcn/components/ui/popover.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/progress.d.ts +5 -0
- package/dist/v2/shadcn/components/ui/progress.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/radio-card.d.ts +12 -0
- package/dist/v2/shadcn/components/ui/radio-card.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/radio-group.d.ts +6 -0
- package/dist/v2/shadcn/components/ui/radio-group.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/scroll-area.d.ts +6 -0
- package/dist/v2/shadcn/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/select.d.ts +14 -0
- package/dist/v2/shadcn/components/ui/select.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/separator.d.ts +5 -0
- package/dist/v2/shadcn/components/ui/separator.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/sheet.d.ts +26 -0
- package/dist/v2/shadcn/components/ui/sheet.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/sidebar.d.ts +67 -0
- package/dist/v2/shadcn/components/ui/sidebar.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/skeleton.d.ts +3 -0
- package/dist/v2/shadcn/components/ui/skeleton.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/slider.d.ts +5 -0
- package/dist/v2/shadcn/components/ui/slider.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/switch.d.ts +6 -0
- package/dist/v2/shadcn/components/ui/switch.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/switch.js +115 -0
- package/dist/v2/shadcn/components/ui/switch.scss.js +6 -0
- package/dist/v2/shadcn/components/ui/table-pagination.d.ts +11 -0
- package/dist/v2/shadcn/components/ui/table-pagination.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/table.d.ts +11 -0
- package/dist/v2/shadcn/components/ui/table.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/tabs.d.ts +8 -0
- package/dist/v2/shadcn/components/ui/tabs.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/textarea.d.ts +6 -0
- package/dist/v2/shadcn/components/ui/textarea.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/toast.d.ts +16 -0
- package/dist/v2/shadcn/components/ui/toast.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/toaster.d.ts +2 -0
- package/dist/v2/shadcn/components/ui/toaster.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/toggle-group.d.ts +13 -0
- package/dist/v2/shadcn/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/toggle.d.ts +13 -0
- package/dist/v2/shadcn/components/ui/toggle.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/tooltip.d.ts +8 -0
- package/dist/v2/shadcn/components/ui/tooltip.d.ts.map +1 -0
- package/dist/v2/shadcn/components/ui/use-toast.d.ts +3 -0
- package/dist/v2/shadcn/components/ui/use-toast.d.ts.map +1 -0
- package/dist/v2/shadcn/hooks/use-mobile.d.ts +2 -0
- package/dist/v2/shadcn/hooks/use-mobile.d.ts.map +1 -0
- package/dist/v2/shadcn/hooks/use-toast.d.ts +45 -0
- package/dist/v2/shadcn/hooks/use-toast.d.ts.map +1 -0
- package/dist/v2/shadcn/index.d.ts +20 -0
- package/dist/v2/shadcn/index.d.ts.map +1 -0
- package/dist/v2/shadcn/lib/utils.d.ts +3 -0
- package/dist/v2/shadcn/lib/utils.d.ts.map +1 -0
- package/dist/v2/shadcn/lib/utils.js +11 -0
- package/dist/v2/shadcn/styles/globals.css +112 -0
- package/dist/v2/styles/components/Button.scss +21 -23
- package/dist/v2/styles/form/NewInput.scss +1 -1
- package/dist/v2/styles/form/NewInput.scss.js +1 -1
- package/dist/v2/styles/tokens/_colors.scss +20 -0
- package/dist/v2/styles/tokens/_sizes.scss +4 -4
- package/dist/v2/types/navigation.d.ts +1 -0
- package/dist/v2/types/navigation.d.ts.map +1 -1
- package/package.json +38 -3
- package/rollup.config.js +1 -0
- package/src/index.ts +4 -2
- package/src/v2/components/AccountManagerCard/AccountManagerCard.scss +75 -0
- package/src/v2/components/AccountManagerCard/AccountManagerCard.stories.tsx +35 -0
- package/src/v2/components/AccountManagerCard/AccountManagerCard.tsx +37 -0
- package/src/v2/components/AccountManagerCard/index.ts +2 -0
- package/src/v2/components/AvatarUpload/AvatarUpload.scss +31 -9
- package/src/v2/components/AvatarUpload/AvatarUpload.tsx +13 -7
- package/src/v2/components/Button/Button.tsx +1 -0
- package/src/v2/components/Button/GhostButton.scss +2 -2
- package/src/v2/components/Customer/CustomersList.scss +48 -28
- package/src/v2/components/DataTable/DataTable.scss +14 -20
- package/src/v2/components/DataTable/DataTable.tsx +35 -34
- package/src/v2/components/FeatureToggle/FeatureToggle.scss +64 -0
- package/src/v2/components/FeatureToggle/FeatureToggle.stories.tsx +56 -0
- package/src/v2/components/FeatureToggle/FeatureToggle.tsx +41 -0
- package/src/v2/components/FeatureToggle/index.ts +2 -0
- package/src/v2/components/InputCheckbox/InputCheckbox.scss +6 -6
- package/src/v2/components/Modal/DeleteModal.scss +46 -85
- package/src/v2/components/Modal/DeleteModal.tsx +39 -35
- package/src/v2/components/NPSScore/NPSScore.tsx +2 -2
- package/src/v2/components/NewTable/NewTable.scss +1 -1
- package/src/v2/components/NewTabs/NewTabs.scss +4 -4
- package/src/v2/components/NotificationBanner/NotificationBanner.scss +123 -0
- package/src/v2/components/NotificationBanner/NotificationBanner.stories.tsx +54 -0
- package/src/v2/components/NotificationBanner/NotificationBanner.tsx +45 -0
- package/src/v2/components/NotificationBanner/index.ts +2 -0
- package/src/v2/components/RadioCard/RadioCard.stories.tsx +8 -8
- package/src/v2/components/RadioCard/{RadioCard.scss → RadioCardGroup.scss} +31 -6
- package/src/v2/components/RadioCard/{RadioCard.tsx → RadioCardGroup.tsx} +12 -4
- package/src/v2/components/RadioCard/index.ts +1 -1
- package/src/v2/components/Select/Select.tsx +15 -1
- package/src/v2/components/Select/index.ts +1 -1
- package/src/v2/components/StatusBadge/StatusBadge.tsx +11 -2
- package/src/v2/components/Tabs/Tabs.scss +41 -14
- package/src/v2/components/Tabs/Tabs.tsx +2 -1
- package/src/v2/components/Toggle/Toggle.scss +2 -0
- package/src/v2/components/Toggle/Toggle.tsx +20 -0
- package/src/v2/components/Toggle/index.ts +2 -0
- package/src/v2/components/Tooltip/Tooltip.tsx +0 -1
- package/src/v2/components/index.ts +26 -1
- package/src/v2/dashboard-analytics/blog-posts/index.ts +1 -1
- package/src/v2/dashboard-analytics/chart/Chart.tsx +20 -17
- package/src/v2/dashboard-analytics/venue-card/VenueCard.tsx +2 -2
- package/src/v2/icons/index.tsx +175 -9
- package/src/v2/index.ts +88 -7
- package/src/v2/navigation/DashboardLayout/AdminSidebar.scss +46 -8
- package/src/v2/navigation/DashboardLayout/AdminSidebar.tsx +35 -21
- package/src/v2/navigation/DashboardLayout/DashboardLayout.scss +3 -2
- package/src/v2/navigation/DashboardLayout/DashboardLayout.tsx +23 -5
- package/src/v2/navigation/DashboardLayout/ProviderSidebar.tsx +6 -7
- package/src/v2/navigation/DashboardLayout/TopNavigation.scss +16 -1
- package/src/v2/navigation/DashboardLayout/TopNavigation.tsx +20 -41
- package/src/v2/navigation/FigmasAdminSideBar/FigmasAdminSideBar.tsx +1 -1
- package/src/v2/navigation/FigmasSideBar/FigmasSideBar.tsx +1 -2
- package/src/v2/navigation/FigmasTopHat/FigmasTopHat.tsx +6 -6
- package/src/v2/navigation/Navigation/Navigation.scss +1 -1
- package/src/v2/navigation/Navigation/Navigation.tsx +0 -1
- package/src/v2/navigation/Navigation/index.ts +0 -1
- package/src/v2/navigation/SideBarToggleLarge/SideBarToggleLarge.tsx +1 -1
- package/src/v2/navigation/TopHatControlDisc/TopHatControlDisc.tsx +1 -1
- package/src/v2/navigation/config.tsx +0 -1
- package/src/v2/shadcn/_reference/AccountManagerCard.tsx +45 -0
- package/src/v2/shadcn/_reference/AffiliatesTable.tsx +178 -0
- package/src/v2/shadcn/_reference/AuditArchive.tsx +165 -0
- package/src/v2/shadcn/_reference/AuditContent.tsx +270 -0
- package/src/v2/shadcn/_reference/AutomationsGeneralSettings.tsx +251 -0
- package/src/v2/shadcn/_reference/AvatarUpload.tsx +150 -0
- package/src/v2/shadcn/_reference/BookingsSummaryCard.tsx +268 -0
- package/src/v2/shadcn/_reference/CodeCleanUpAudit.tsx +274 -0
- package/src/v2/shadcn/_reference/CompaniesTable.tsx +387 -0
- package/src/v2/shadcn/_reference/ComponentAudit.tsx +239 -0
- package/src/v2/shadcn/_reference/ConfigureSettingsCard.tsx +95 -0
- package/src/v2/shadcn/_reference/CustomerCard.tsx +155 -0
- package/src/v2/shadcn/_reference/DashboardCards.tsx +50 -0
- package/src/v2/shadcn/_reference/DashboardFooter.tsx +18 -0
- package/src/v2/shadcn/_reference/DiarySettings.tsx +187 -0
- package/src/v2/shadcn/_reference/DiaryView.tsx +998 -0
- package/src/v2/shadcn/_reference/EmptyState.tsx +76 -0
- package/src/v2/shadcn/_reference/EntityInfoCard.tsx +48 -0
- package/src/v2/shadcn/_reference/ExistingUserAssignments.tsx +131 -0
- package/src/v2/shadcn/_reference/FeatureToggle.tsx +72 -0
- package/src/v2/shadcn/_reference/FlowCard.tsx +170 -0
- package/src/v2/shadcn/_reference/FlowsContent.tsx +688 -0
- package/src/v2/shadcn/_reference/FlowsGeneralSettings.tsx +27 -0
- package/src/v2/shadcn/_reference/GeneralSettings.tsx +33 -0
- package/src/v2/shadcn/_reference/InventoryGeneralSettings.tsx +82 -0
- package/src/v2/shadcn/_reference/LanguageSelector.tsx +97 -0
- package/src/v2/shadcn/_reference/LoadingScreen.tsx +25 -0
- package/src/v2/shadcn/_reference/LoadingSpinner.tsx +41 -0
- package/src/v2/shadcn/_reference/ManagedClientsList.tsx +121 -0
- package/src/v2/shadcn/_reference/NPSScore.tsx +379 -0
- package/src/v2/shadcn/_reference/NPSSummaryCard.tsx +181 -0
- package/src/v2/shadcn/_reference/NotificationBanner.tsx +129 -0
- package/src/v2/shadcn/_reference/NotificationPanel.tsx +208 -0
- package/src/v2/shadcn/_reference/OnlineUsersCard.tsx +73 -0
- package/src/v2/shadcn/_reference/ProtectedRoute.tsx +39 -0
- package/src/v2/shadcn/_reference/ProvidersTable.tsx +353 -0
- package/src/v2/shadcn/_reference/QuickAddPanel.tsx +1057 -0
- package/src/v2/shadcn/_reference/QuickFilters.tsx +112 -0
- package/src/v2/shadcn/_reference/ScheduleView.tsx +410 -0
- package/src/v2/shadcn/_reference/ScrollToTop.tsx +14 -0
- package/src/v2/shadcn/_reference/SecondaryNav.tsx +50 -0
- package/src/v2/shadcn/_reference/SecuritySettings.tsx +258 -0
- package/src/v2/shadcn/_reference/SessionDetailView.tsx +294 -0
- package/src/v2/shadcn/_reference/Sidebar.tsx +14 -0
- package/src/v2/shadcn/_reference/SidebarAwareLayout.tsx +30 -0
- package/src/v2/shadcn/_reference/SidebarLabelCustomization.tsx +285 -0
- package/src/v2/shadcn/_reference/SimulationBanner.tsx +57 -0
- package/src/v2/shadcn/_reference/SortControls.tsx +65 -0
- package/src/v2/shadcn/_reference/StatusBadge.tsx +49 -0
- package/src/v2/shadcn/_reference/StyleGuideContent.tsx +331 -0
- package/src/v2/shadcn/_reference/TableActionMenu.tsx +126 -0
- package/src/v2/shadcn/_reference/ThemeProvider.tsx +119 -0
- package/src/v2/shadcn/_reference/ThemeSettings.tsx +73 -0
- package/src/v2/shadcn/_reference/TopNavigation.tsx +332 -0
- package/src/v2/shadcn/_reference/UserActivityHistory.tsx +209 -0
- package/src/v2/shadcn/_reference/UserLanguageSettings.tsx +94 -0
- package/src/v2/shadcn/_reference/UserPanel.tsx +472 -0
- package/src/v2/shadcn/_reference/UsersTable.tsx +1023 -0
- package/src/v2/shadcn/_reference/WaiverForm.tsx +301 -0
- package/src/v2/shadcn/_reference/WaiversGeneralSettings.tsx +46 -0
- package/src/v2/shadcn/_reference/WaiversTable.tsx +290 -0
- package/src/v2/shadcn/_reference/WaiversTemplatesSettings.tsx +416 -0
- package/src/v2/shadcn/_reference/ai/AIChatPanel.tsx +313 -0
- package/src/v2/shadcn/_reference/ai/AIChatSearchBar.tsx +36 -0
- package/src/v2/shadcn/_reference/ai/ChatInteractiveBlock.tsx +298 -0
- package/src/v2/shadcn/_reference/ai/ChatMessageContent.tsx +40 -0
- package/src/v2/shadcn/_reference/ai/parseInteractiveBlocks.ts +142 -0
- package/src/v2/shadcn/_reference/auth/AuthLayout.tsx +55 -0
- package/src/v2/shadcn/_reference/auth/CreatePasswordForm.tsx +285 -0
- package/src/v2/shadcn/_reference/auth/CreatePasswordPanel.tsx +18 -0
- package/src/v2/shadcn/_reference/auth/LoginFooter.tsx +14 -0
- package/src/v2/shadcn/_reference/auth/LoginForm.tsx +201 -0
- package/src/v2/shadcn/_reference/auth/LoginPanel.tsx +39 -0
- package/src/v2/shadcn/_reference/auth/ResetPasswordForm.tsx +100 -0
- package/src/v2/shadcn/_reference/auth/ResetPasswordPanel.tsx +18 -0
- package/src/v2/shadcn/_reference/auth/VerifyEmailForm.tsx +93 -0
- package/src/v2/shadcn/_reference/auth/VerifyEmailPanel.tsx +18 -0
- package/src/v2/shadcn/_reference/email/EmailAttachment.tsx +117 -0
- package/src/v2/shadcn/_reference/email/EmailAutomation.tsx +92 -0
- package/src/v2/shadcn/_reference/email/EmailPlaceholders.tsx +64 -0
- package/src/v2/shadcn/_reference/email/UnlayerEmailEditor.tsx +41 -0
- package/src/v2/shadcn/_reference/email/emailTemplateData.ts +53 -0
- package/src/v2/shadcn/_reference/emptyStateIcons.tsx +103 -0
- package/src/v2/shadcn/_reference/games/MazeGame.tsx +394 -0
- package/src/v2/shadcn/_reference/games/RunnerGame.tsx +497 -0
- package/src/v2/shadcn/_reference/logos/BookedLogoFull.tsx +36 -0
- package/src/v2/shadcn/_reference/logos/BookedLogoMark.tsx +31 -0
- package/src/v2/shadcn/_reference/logos/BookedLogoNew.tsx +36 -0
- package/src/v2/shadcn/_reference/pricing/DynamicPricingRulesEditor.tsx +401 -0
- package/src/v2/shadcn/_reference/pricing/DynamicPricingTierCard.tsx +77 -0
- package/src/v2/shadcn/_reference/pricing/DynamicPricingTiersList.tsx +218 -0
- package/src/v2/shadcn/_reference/pricing/PricingCalendar.tsx +810 -0
- package/src/v2/shadcn/_reference/pricing/PricingPeriodCard.tsx +152 -0
- package/src/v2/shadcn/_reference/pricing/PricingPeriodForm.tsx +377 -0
- package/src/v2/shadcn/_reference/pricing/PricingPeriodsList.tsx +213 -0
- package/src/v2/shadcn/_reference/pricing/getRuleSummary.ts +39 -0
- package/src/v2/shadcn/_reference/products/AvailabilityRulesSection.tsx +184 -0
- package/src/v2/shadcn/_reference/products/AvailabilitySection.tsx +677 -0
- package/src/v2/shadcn/_reference/products/BookingTypeConfigOptions.tsx +40 -0
- package/src/v2/shadcn/_reference/products/CapacityPeriodsSection.tsx +238 -0
- package/src/v2/shadcn/_reference/products/DynamicPricingTiersSection.tsx +131 -0
- package/src/v2/shadcn/_reference/products/GiftCardOrdersTab.tsx +192 -0
- package/src/v2/shadcn/_reference/products/GiftCardSettings.tsx +342 -0
- package/src/v2/shadcn/_reference/products/PackageProductsSection.tsx +322 -0
- package/src/v2/shadcn/_reference/products/PricingSection.tsx +173 -0
- package/src/v2/shadcn/_reference/products/ProductTypeFields.tsx +353 -0
- package/src/v2/shadcn/_reference/products/ProductTypeIcon.tsx +95 -0
- package/src/v2/shadcn/_reference/products/VariablePricingSection.tsx +140 -0
- package/src/v2/shadcn/_reference/products/productTypeConfig.ts +182 -0
- package/src/v2/shadcn/_reference/shared/BackButton.tsx +50 -0
- package/src/v2/shadcn/_reference/shared/CancelConfirmationDialog.tsx +18 -0
- package/src/v2/shadcn/_reference/shared/ConfirmationDialog.tsx +134 -0
- package/src/v2/shadcn/_reference/shared/DeleteConfirmationDialog.tsx +18 -0
- package/src/v2/shadcn/_reference/shared/DeleteEntityPage.tsx +221 -0
- package/src/v2/shadcn/_reference/shared/SidebarIcons.tsx +108 -0
- package/src/v2/shadcn/_reference/shared/UnifiedSidebar.tsx +722 -0
- package/src/v2/shadcn/_reference/tables/BulkActionsBar.tsx +68 -0
- package/src/v2/shadcn/_reference/tables/DataTable.tsx +221 -0
- package/src/v2/shadcn/_reference/tables/TableControls.tsx +94 -0
- package/src/v2/shadcn/_reference/tables/index.ts +3 -0
- package/src/v2/shadcn/_reference/tables/types.ts +79 -0
- package/src/v2/shadcn/_reference/zones/LegacyZoneSettings.tsx +299 -0
- package/src/v2/shadcn/components/ui/accordion.stories.tsx +63 -0
- package/src/v2/shadcn/components/ui/accordion.tsx +52 -0
- package/src/v2/shadcn/components/ui/alert-dialog.stories.tsx +44 -0
- package/src/v2/shadcn/components/ui/alert-dialog.tsx +104 -0
- package/src/v2/shadcn/components/ui/alert.stories.tsx +44 -0
- package/src/v2/shadcn/components/ui/alert.tsx +43 -0
- package/src/v2/shadcn/components/ui/aspect-ratio.stories.tsx +46 -0
- package/src/v2/shadcn/components/ui/aspect-ratio.tsx +5 -0
- package/src/v2/shadcn/components/ui/avatar.stories.tsx +39 -0
- package/src/v2/shadcn/components/ui/avatar.tsx +38 -0
- package/src/v2/shadcn/components/ui/badge.stories.tsx +17 -0
- package/src/v2/shadcn/components/ui/badge.tsx +30 -0
- package/src/v2/shadcn/components/ui/breadcrumb.stories.tsx +91 -0
- package/src/v2/shadcn/components/ui/breadcrumb.tsx +90 -0
- package/src/v2/shadcn/components/ui/button.stories.tsx +20 -0
- package/src/v2/shadcn/components/ui/button.tsx +60 -0
- package/src/v2/shadcn/components/ui/calendar.stories.tsx +61 -0
- package/src/v2/shadcn/components/ui/calendar.tsx +54 -0
- package/src/v2/shadcn/components/ui/card.stories.tsx +37 -0
- package/src/v2/shadcn/components/ui/card.tsx +43 -0
- package/src/v2/shadcn/components/ui/carousel.stories.tsx +92 -0
- package/src/v2/shadcn/components/ui/carousel.tsx +224 -0
- package/src/v2/shadcn/components/ui/checkbox.scss +38 -0
- package/src/v2/shadcn/components/ui/checkbox.stories.tsx +23 -0
- package/src/v2/shadcn/components/ui/checkbox.tsx +24 -0
- package/src/v2/shadcn/components/ui/collapsible.stories.tsx +59 -0
- package/src/v2/shadcn/components/ui/collapsible.tsx +9 -0
- package/src/v2/shadcn/components/ui/command.stories.tsx +70 -0
- package/src/v2/shadcn/components/ui/command.tsx +132 -0
- package/src/v2/shadcn/components/ui/context-menu.stories.tsx +72 -0
- package/src/v2/shadcn/components/ui/context-menu.tsx +178 -0
- package/src/v2/shadcn/components/ui/dialog.stories.tsx +67 -0
- package/src/v2/shadcn/components/ui/dialog.tsx +95 -0
- package/src/v2/shadcn/components/ui/drawer.stories.tsx +50 -0
- package/src/v2/shadcn/components/ui/drawer.tsx +87 -0
- package/src/v2/shadcn/components/ui/dropdown-menu.stories.tsx +73 -0
- package/src/v2/shadcn/components/ui/dropdown-menu.tsx +179 -0
- package/src/v2/shadcn/components/ui/form.stories.tsx +105 -0
- package/src/v2/shadcn/components/ui/form.tsx +129 -0
- package/src/v2/shadcn/components/ui/hover-card.stories.tsx +35 -0
- package/src/v2/shadcn/components/ui/hover-card.tsx +27 -0
- package/src/v2/shadcn/components/ui/input-otp.stories.tsx +72 -0
- package/src/v2/shadcn/components/ui/input-otp.tsx +61 -0
- package/src/v2/shadcn/components/ui/input.stories.tsx +16 -0
- package/src/v2/shadcn/components/ui/input.tsx +25 -0
- package/src/v2/shadcn/components/ui/label.stories.tsx +13 -0
- package/src/v2/shadcn/components/ui/label.tsx +17 -0
- package/src/v2/shadcn/components/ui/menubar.stories.tsx +86 -0
- package/src/v2/shadcn/components/ui/menubar.tsx +207 -0
- package/src/v2/shadcn/components/ui/navigation-menu.stories.tsx +68 -0
- package/src/v2/shadcn/components/ui/navigation-menu.tsx +120 -0
- package/src/v2/shadcn/components/ui/pagination.stories.tsx +78 -0
- package/src/v2/shadcn/components/ui/pagination.tsx +81 -0
- package/src/v2/shadcn/components/ui/popover.stories.tsx +44 -0
- package/src/v2/shadcn/components/ui/popover.tsx +29 -0
- package/src/v2/shadcn/components/ui/progress.stories.tsx +17 -0
- package/src/v2/shadcn/components/ui/progress.tsx +23 -0
- package/src/v2/shadcn/components/ui/radio-card.stories.tsx +68 -0
- package/src/v2/shadcn/components/ui/radio-card.tsx +52 -0
- package/src/v2/shadcn/components/ui/radio-group.stories.tsx +77 -0
- package/src/v2/shadcn/components/ui/radio-group.tsx +35 -0
- package/src/v2/shadcn/components/ui/scroll-area.stories.tsx +56 -0
- package/src/v2/shadcn/components/ui/scroll-area.tsx +38 -0
- package/src/v2/shadcn/components/ui/select.stories.tsx +60 -0
- package/src/v2/shadcn/components/ui/select.tsx +148 -0
- package/src/v2/shadcn/components/ui/separator.stories.tsx +30 -0
- package/src/v2/shadcn/components/ui/separator.tsx +20 -0
- package/src/v2/shadcn/components/ui/sheet.stories.tsx +115 -0
- package/src/v2/shadcn/components/ui/sheet.tsx +107 -0
- package/src/v2/shadcn/components/ui/sidebar.stories.tsx +167 -0
- package/src/v2/shadcn/components/ui/sidebar.tsx +637 -0
- package/src/v2/shadcn/components/ui/skeleton.stories.tsx +36 -0
- package/src/v2/shadcn/components/ui/skeleton.tsx +7 -0
- package/src/v2/shadcn/components/ui/slider.stories.tsx +16 -0
- package/src/v2/shadcn/components/ui/slider.tsx +23 -0
- package/src/v2/shadcn/components/ui/switch.scss +63 -0
- package/src/v2/shadcn/components/ui/switch.stories.tsx +23 -0
- package/src/v2/shadcn/components/ui/switch.tsx +24 -0
- package/src/v2/shadcn/components/ui/table-pagination.stories.tsx +81 -0
- package/src/v2/shadcn/components/ui/table-pagination.tsx +61 -0
- package/src/v2/shadcn/components/ui/table.stories.tsx +40 -0
- package/src/v2/shadcn/components/ui/table.tsx +72 -0
- package/src/v2/shadcn/components/ui/tabs.stories.tsx +85 -0
- package/src/v2/shadcn/components/ui/tabs.tsx +53 -0
- package/src/v2/shadcn/components/ui/textarea.stories.tsx +15 -0
- package/src/v2/shadcn/components/ui/textarea.tsx +21 -0
- package/src/v2/shadcn/components/ui/toast.stories.tsx +77 -0
- package/src/v2/shadcn/components/ui/toast.tsx +111 -0
- package/src/v2/shadcn/components/ui/toaster.stories.tsx +46 -0
- package/src/v2/shadcn/components/ui/toaster.tsx +24 -0
- package/src/v2/shadcn/components/ui/toggle-group.stories.tsx +95 -0
- package/src/v2/shadcn/components/ui/toggle-group.tsx +49 -0
- package/src/v2/shadcn/components/ui/toggle.stories.tsx +18 -0
- package/src/v2/shadcn/components/ui/toggle.tsx +37 -0
- package/src/v2/shadcn/components/ui/tooltip.stories.tsx +57 -0
- package/src/v2/shadcn/components/ui/tooltip.tsx +28 -0
- package/src/v2/shadcn/components/ui/use-toast.ts +3 -0
- package/src/v2/shadcn/hooks/use-mobile.tsx +19 -0
- package/src/v2/shadcn/hooks/use-toast.ts +184 -0
- package/src/v2/shadcn/index.ts +76 -0
- package/src/v2/shadcn/lib/utils.ts +6 -0
- package/src/v2/shadcn/styles/globals.css +112 -0
- package/src/v2/styles/components/Button.scss +21 -23
- package/src/v2/styles/form/NewInput.scss +1 -1
- package/src/v2/styles/tokens/_colors.scss +20 -0
- package/src/v2/styles/tokens/_sizes.scss +4 -4
- package/src/v2/types/navigation.ts +1 -0
- package/tailwind.config.js +46 -4
- package/dist/v2/components/RadioCard/RadioCard.d.ts.map +0 -1
- package/src/v2/navigation/Navigation/Navigation.stories.tsx +0 -137
|
@@ -27,7 +27,7 @@ export { NewTabs } from './NewTabs'
|
|
|
27
27
|
export type { NewTabsProps, NewTabItem } from './NewTabs'
|
|
28
28
|
|
|
29
29
|
export { StepIndicator } from './StepIndicator'
|
|
30
|
-
export type { StepIndicatorProps
|
|
30
|
+
export type { StepIndicatorProps } from './StepIndicator'
|
|
31
31
|
|
|
32
32
|
export { AvatarUpload } from './AvatarUpload'
|
|
33
33
|
export type { AvatarUploadProps } from './AvatarUpload'
|
|
@@ -75,6 +75,7 @@ export { Button, ButtonText, GhostButton } from './Button'
|
|
|
75
75
|
export type { ButtonProps, ButtonTextProps, GhostButtonProps } from './Button'
|
|
76
76
|
|
|
77
77
|
export { Select } from './Select'
|
|
78
|
+
export type { SelectProps, SelectOption } from './Select'
|
|
78
79
|
|
|
79
80
|
export { Tooltip } from './Tooltip'
|
|
80
81
|
|
|
@@ -87,11 +88,26 @@ export { EntityHeader } from './EntityHeader'
|
|
|
87
88
|
|
|
88
89
|
export { Alert } from './Alert'
|
|
89
90
|
|
|
91
|
+
export { Toggle } from './Toggle'
|
|
92
|
+
export type { ToggleProps } from './Toggle'
|
|
93
|
+
|
|
94
|
+
export { FeatureToggle } from './FeatureToggle'
|
|
95
|
+
export type { FeatureToggleProps } from './FeatureToggle'
|
|
96
|
+
|
|
97
|
+
export { AccountManagerCard } from './AccountManagerCard'
|
|
98
|
+
export type { AccountManagerCardProps } from './AccountManagerCard'
|
|
99
|
+
|
|
100
|
+
export { NotificationBanner } from './NotificationBanner'
|
|
101
|
+
export type { NotificationBannerProps, NotificationBannerVariant } from './NotificationBanner'
|
|
102
|
+
|
|
90
103
|
export { NPSScore } from './NPSScore'
|
|
91
104
|
|
|
92
105
|
export { Pagination } from './Pagination'
|
|
93
106
|
export type { PaginationProps } from './Pagination'
|
|
94
107
|
|
|
108
|
+
export { RadioCardGroup } from './RadioCard'
|
|
109
|
+
export type { RadioCardGroupProps, RadioCardOption } from './RadioCard'
|
|
110
|
+
|
|
95
111
|
export { ZoneCard, ZoneContainer, ZoneHeader, ResourceRow, AddResourceButton } from './ZoneCard'
|
|
96
112
|
export type { ZoneCardProps, ZoneResource, ZoneContainerProps, DragHandleProps, ZoneHeaderProps, ResourceRowProps, AddResourceButtonProps } from './ZoneCard'
|
|
97
113
|
|
|
@@ -143,6 +159,15 @@ export {
|
|
|
143
159
|
BookingTypesIcon,
|
|
144
160
|
SecurityIcon,
|
|
145
161
|
UploadIcon,
|
|
162
|
+
WarningTriangleIcon,
|
|
163
|
+
CheckCircleIcon,
|
|
164
|
+
XCircleIcon,
|
|
165
|
+
UserGroupIcon,
|
|
166
|
+
CurrencyPoundIcon,
|
|
167
|
+
CurrencyDollarIcon,
|
|
168
|
+
CurrencyEuroIcon,
|
|
169
|
+
PercentIcon,
|
|
170
|
+
LayersIcon,
|
|
146
171
|
SettingsPageWaiversIcon,
|
|
147
172
|
} from '../icons'
|
|
148
173
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Blog } from './Blog';
|
|
2
|
-
export type { BlogProps } from './Blog';
|
|
2
|
+
export type { BlogProps, BlogPost } from './Blog';
|
|
@@ -23,7 +23,7 @@ export const Chart: React.FC<ChartProps> = ({
|
|
|
23
23
|
isRevenue = false,
|
|
24
24
|
className = '',
|
|
25
25
|
period = 'today',
|
|
26
|
-
bookingType = 'bookings_for',
|
|
26
|
+
bookingType: _bookingType = 'bookings_for',
|
|
27
27
|
isFullWidth: propIsFullWidth = false,
|
|
28
28
|
isLoading = false,
|
|
29
29
|
isRefreshing = false
|
|
@@ -55,11 +55,12 @@ export const Chart: React.FC<ChartProps> = ({
|
|
|
55
55
|
|
|
56
56
|
return () => clearTimeout(timer);
|
|
57
57
|
}
|
|
58
|
+
return undefined;
|
|
58
59
|
}, [data, period]);
|
|
59
60
|
const [isMobile, setIsMobile] = React.useState(false);
|
|
60
61
|
const [isTablet, setIsTablet] = React.useState(false);
|
|
61
62
|
const [detectedFullWidth, setDetectedFullWidth] = React.useState(false);
|
|
62
|
-
const [
|
|
63
|
+
const [_dimensions, _setDimensions] = React.useState({ width: 0, height: 0 });
|
|
63
64
|
const chartRef = React.useRef<HTMLDivElement>(null);
|
|
64
65
|
|
|
65
66
|
const isFullWidth = propIsFullWidth || detectedFullWidth;
|
|
@@ -71,7 +72,7 @@ export const Chart: React.FC<ChartProps> = ({
|
|
|
71
72
|
|
|
72
73
|
if (chartRef.current) {
|
|
73
74
|
const rect = chartRef.current.getBoundingClientRect();
|
|
74
|
-
|
|
75
|
+
_setDimensions({ width: rect.width, height: rect.height });
|
|
75
76
|
}
|
|
76
77
|
};
|
|
77
78
|
|
|
@@ -108,7 +109,7 @@ export const Chart: React.FC<ChartProps> = ({
|
|
|
108
109
|
}, [period, forceRecalculation]);
|
|
109
110
|
|
|
110
111
|
React.useEffect(() => {
|
|
111
|
-
if (propIsFullWidth !== undefined) return;
|
|
112
|
+
if (propIsFullWidth !== undefined) return undefined;
|
|
112
113
|
|
|
113
114
|
const checkChartWidth = () => {
|
|
114
115
|
if (chartRef.current) {
|
|
@@ -153,7 +154,7 @@ export const Chart: React.FC<ChartProps> = ({
|
|
|
153
154
|
|
|
154
155
|
setTimeout(() => {
|
|
155
156
|
const rect = currentRef.getBoundingClientRect();
|
|
156
|
-
|
|
157
|
+
_setDimensions({ width: rect.width, height: rect.height });
|
|
157
158
|
}, 10);
|
|
158
159
|
}
|
|
159
160
|
}, [period, forceResize, animationKey]);
|
|
@@ -548,26 +549,28 @@ export const Chart: React.FC<ChartProps> = ({
|
|
|
548
549
|
</linearGradient>
|
|
549
550
|
</defs>
|
|
550
551
|
<CartesianGrid strokeDasharray="3 3" stroke="#E8E9EF" />
|
|
551
|
-
|
|
552
|
-
|
|
552
|
+
{/* @ts-ignore recharts tickMargin typing issue */}
|
|
553
|
+
<XAxis
|
|
554
|
+
dataKey="time"
|
|
553
555
|
type="category"
|
|
554
556
|
axisLine={false}
|
|
555
557
|
tickLine={false}
|
|
556
|
-
tick={{
|
|
557
|
-
fontSize: isMobile ? 9 : (isTablet ? 10 : 11),
|
|
558
|
-
fill: '#626A90'
|
|
558
|
+
tick={{
|
|
559
|
+
fontSize: isMobile ? 9 : (isTablet ? 10 : 11),
|
|
560
|
+
fill: '#626A90'
|
|
559
561
|
}}
|
|
560
|
-
tickMargin
|
|
562
|
+
{...{ tickMargin: isMobile ? 5 : 10 } as any}
|
|
561
563
|
interval={xAxisInterval}
|
|
562
564
|
/>
|
|
563
|
-
|
|
565
|
+
{/* @ts-ignore recharts tickMargin typing issue */}
|
|
566
|
+
<YAxis
|
|
564
567
|
domain={[yAxisMin, yAxisMax]}
|
|
565
568
|
ticks={ticks}
|
|
566
569
|
axisLine={false}
|
|
567
570
|
tickLine={false}
|
|
568
|
-
tick={{
|
|
569
|
-
fontSize: isMobile ? 9 : (isTablet ? 10 : 11),
|
|
570
|
-
fill: '#626A90'
|
|
571
|
+
tick={{
|
|
572
|
+
fontSize: isMobile ? 9 : (isTablet ? 10 : 11),
|
|
573
|
+
fill: '#626A90'
|
|
571
574
|
}}
|
|
572
575
|
tickFormatter={(value) => {
|
|
573
576
|
if (isRevenue) {
|
|
@@ -575,8 +578,8 @@ export const Chart: React.FC<ChartProps> = ({
|
|
|
575
578
|
}
|
|
576
579
|
return value.toString();
|
|
577
580
|
}}
|
|
578
|
-
tickMargin
|
|
579
|
-
width={isMobile ? 30 : (isTablet ? 35 : 40)}
|
|
581
|
+
{...{ tickMargin: isMobile ? 3 : 5 } as any}
|
|
582
|
+
width={isMobile ? 30 : (isTablet ? 35 : 40)}
|
|
580
583
|
/>
|
|
581
584
|
<Tooltip content={CustomTooltip} />
|
|
582
585
|
{currentTimeRef && (
|
package/src/v2/icons/index.tsx
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
1
3
|
export const DashboardIcon = ({ width = 24, height = 24, className = '' }: { width?: number; height?: number; className?: string } = {}) => (
|
|
2
4
|
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 24 24" fill="none" className={className}>
|
|
3
5
|
<path
|
|
@@ -112,8 +114,8 @@ export const CalendarSmallIcon = () => (
|
|
|
112
114
|
</svg>
|
|
113
115
|
)
|
|
114
116
|
|
|
115
|
-
export const SearchIcon = () => (
|
|
116
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 22 22" fill="none">
|
|
117
|
+
export const SearchIcon = ({ className }: { className?: string } = {}) => (
|
|
118
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 22 22" fill="none" className={className}>
|
|
117
119
|
<path d="M14.6593 13.7979L17.2683 16.4068L16.4068 17.2684L13.7978 14.6594C12.8597 15.4099 11.67 15.8589 10.3761 15.8589C7.34958 15.8589 4.89331 13.4026 4.89331 10.3761C4.89331 7.34965 7.34958 4.89337 10.3761 4.89337C13.4025 4.89337 15.8588 7.34965 15.8588 10.3761C15.8588 11.6701 15.4098 12.8598 14.6593 13.7979ZM13.4371 13.3458C14.182 12.5781 14.6404 11.5309 14.6404 10.3761C14.6404 8.02006 12.7321 6.11176 10.3761 6.11176C8.02 6.11176 6.1117 8.02006 6.1117 10.3761C6.1117 12.7322 8.02 14.6405 10.3761 14.6405C11.5309 14.6405 12.5781 14.1821 13.3458 13.4371L13.4371 13.3458Z" fill="currentColor"/>
|
|
118
120
|
</svg>
|
|
119
121
|
)
|
|
@@ -149,22 +151,22 @@ export const ClearIcon = () => (
|
|
|
149
151
|
</svg>
|
|
150
152
|
)
|
|
151
153
|
|
|
152
|
-
export const ChevronLeftIcon = () => (
|
|
153
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
154
|
+
export const ChevronLeftIcon = ({ className }: { className?: string } = {}) => (
|
|
155
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
154
156
|
<path d="M19 12H5" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
155
157
|
<path d="M12 19L5 12L12 5" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
156
158
|
</svg>
|
|
157
159
|
)
|
|
158
160
|
|
|
159
|
-
export const ChevronRightIcon = () => (
|
|
160
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
161
|
+
export const ChevronRightIcon = ({ className }: { className?: string } = {}) => (
|
|
162
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
161
163
|
<path d="M5 12H19" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
162
164
|
<path d="M12 5L19 12L12 19" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
163
165
|
</svg>
|
|
164
166
|
)
|
|
165
167
|
|
|
166
|
-
export const ArrowRightIcon = ({ width = 24, height = 24 }: { width?: number; height?: number } = {}) => (
|
|
167
|
-
<svg width={width} height={height} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
168
|
+
export const ArrowRightIcon = ({ width = 24, height = 24, className }: { width?: number; height?: number; className?: string } = {}) => (
|
|
169
|
+
<svg width={width} height={height} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
168
170
|
<path d="M20.1716 14.9999L14.8076 9.63589L16.2218 8.22168L24 15.9999L16.2218 23.778L14.8076 22.3638L20.1716 16.9999H8V14.9999H20.1716Z" fill="currentColor"/>
|
|
169
171
|
</svg>
|
|
170
172
|
)
|
|
@@ -570,6 +572,42 @@ export const ReportsEmptyIcon = () => (
|
|
|
570
572
|
</svg>
|
|
571
573
|
)
|
|
572
574
|
|
|
575
|
+
export const CurrencyPoundIcon = ({ size = 28 }: { size?: number } = {}) => (
|
|
576
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
577
|
+
<path d="M16.0049 26.0028C10.482 26.0028 6.00488 21.5257 6.00488 16.0028C6.00488 10.48 10.482 6.00281 16.0049 6.00281C21.5277 6.00281 26.0049 10.48 26.0049 16.0028C26.0049 21.5257 21.5277 26.0028 16.0049 26.0028ZM16.0049 24.0028C20.4232 24.0028 24.0049 20.4211 24.0049 16.0028C24.0049 11.5845 20.4232 8.00281 16.0049 8.00281C11.5866 8.00281 8.00488 11.5845 8.00488 16.0028C8.00488 20.4211 11.5866 24.0028 16.0049 24.0028ZM13.0049 17.0028H12.0049V15.0028H13.0049V14.0028C13.0049 12.0698 14.5719 10.5028 16.5049 10.5028C17.9741 10.5028 19.2319 11.4081 19.7509 12.6913L17.7644 13.1879C17.4971 12.7756 17.0329 12.5028 16.5049 12.5028C15.6765 12.5028 15.0049 13.1744 15.0049 14.0028V15.0028H18.0049V17.0028H15.0049V19.0028H20.0049V21.0028H12.0049V19.0028H13.0049V17.0028Z" fill="currentColor"/>
|
|
578
|
+
</svg>
|
|
579
|
+
)
|
|
580
|
+
|
|
581
|
+
export const CurrencyDollarIcon = ({ size = 28 }: { size?: number } = {}) => (
|
|
582
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
583
|
+
<path d="M16.0049 6.00293C21.5277 6.00293 26.0049 10.4801 26.0049 16.0029C26.0048 21.5258 21.5276 26.0029 16.0049 26.0029C10.4821 26.0029 6.00498 21.5257 6.00488 16.0029C6.00488 10.4801 10.482 6.00294 16.0049 6.00293ZM16.0049 8.00293C11.5866 8.00294 8.00488 11.5847 8.00488 16.0029C8.00498 20.4211 11.5866 24.0029 16.0049 24.0029C20.4231 24.0029 24.0048 20.4212 24.0049 16.0029C24.0049 11.5847 20.4232 8.00293 16.0049 8.00293Z" fill="currentColor"/>
|
|
584
|
+
<path d="M16.6406 11.0566C17.1463 11.1166 17.592 11.2403 17.9766 11.4316C18.5455 11.7013 18.9858 12.0792 19.2979 12.5645C19.6099 13.0498 19.798 13.6118 19.8623 14.25L17.5352 14.3447C17.5076 14.0391 17.4257 13.7735 17.2881 13.5488C17.1504 13.3241 16.9613 13.153 16.7227 13.0361C16.6964 13.0217 16.6682 13.0108 16.6406 12.998V15.0479C17.423 15.2098 18.0521 15.4116 18.5273 15.6523C19.0596 15.922 19.436 16.2456 19.6562 16.623C19.8857 16.9916 20 17.4189 20 17.9043C19.9999 18.4973 19.8441 19.0138 19.5322 19.4541C19.2293 19.8856 18.7928 20.2231 18.2236 20.4658C17.7669 20.6533 17.2392 20.7638 16.6406 20.8008V21.8945H15.4844V20.7812C14.9232 20.7263 14.4228 20.6047 13.9834 20.4121C13.3775 20.1335 12.9041 19.7463 12.5645 19.252C12.2342 18.7487 12.0459 18.1602 12 17.4863L14.3408 17.3643C14.3959 17.7058 14.4967 17.9985 14.6436 18.2412C14.7904 18.4749 14.993 18.6544 15.25 18.7803C15.3229 18.8134 15.4012 18.8405 15.4844 18.8643V16.7012C14.7468 16.5271 14.14 16.3413 13.666 16.1377C13.1521 15.904 12.7757 15.6075 12.5371 15.248C12.2984 14.8885 12.1797 14.4341 12.1797 13.8857C12.1797 13.3106 12.3264 12.8074 12.6201 12.376C12.9139 11.9446 13.3405 11.6116 13.9004 11.3779C14.3555 11.1807 14.8837 11.0652 15.4844 11.0283V9.89551H16.6406V11.0566ZM16.6406 18.9297C16.7662 18.914 16.8809 18.8921 16.9844 18.8613C17.1954 18.7894 17.3566 18.6818 17.4668 18.5381C17.5861 18.3943 17.6455 18.2185 17.6455 18.0117C17.6455 17.8142 17.595 17.6437 17.4941 17.5C17.4023 17.3472 17.2187 17.2116 16.9434 17.0947C16.8559 17.0576 16.7549 17.0215 16.6406 16.9854V18.9297ZM15.4844 12.8799C15.2469 12.9202 15.0491 12.9986 14.8916 13.1172C14.6622 13.2969 14.548 13.5262 14.5479 13.8047C14.5479 14.0204 14.5982 14.2009 14.6992 14.3447C14.8094 14.4884 14.9976 14.6102 15.2637 14.709C15.331 14.734 15.4047 14.7578 15.4844 14.7822V12.8799Z" fill="currentColor"/>
|
|
585
|
+
</svg>
|
|
586
|
+
)
|
|
587
|
+
|
|
588
|
+
export const CurrencyEuroIcon = ({ size = 28 }: { size?: number } = {}) => (
|
|
589
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
590
|
+
<path d="M16.0049 6.00293C21.5277 6.00293 26.0049 10.4801 26.0049 16.0029C26.0048 21.5258 21.5276 26.0029 16.0049 26.0029C10.4821 26.0029 6.00498 21.5257 6.00488 16.0029C6.00488 10.4801 10.482 6.00294 16.0049 6.00293ZM16.0049 8.00293C11.5866 8.00294 8.00488 11.5847 8.00488 16.0029C8.00498 20.4211 11.5866 24.0029 16.0049 24.0029C20.4231 24.0029 24.0048 20.4212 24.0049 16.0029C24.0049 11.5847 20.4232 8.00293 16.0049 8.00293Z" fill="currentColor"/>
|
|
591
|
+
<path d="M16.5049 11.0811C17.2005 11.0811 17.8432 11.2205 18.4326 11.499C19.0219 11.7686 19.52 12.1588 19.9258 12.6709C20.3412 13.1829 20.6207 13.7943 20.7656 14.5039L18.1719 14.6123C18.0656 14.1182 17.8579 13.727 17.5488 13.4395C17.2397 13.143 16.8723 12.9952 16.4473 12.9951C15.9932 12.9951 15.6069 13.1299 15.2881 13.3994C14.9692 13.66 14.7277 14.024 14.5635 14.4912C14.554 14.5175 14.546 14.5445 14.5371 14.5713H17.1572L16.9688 15.6904H14.3301C14.3216 15.8212 14.3164 15.9561 14.3164 16.0947C14.3164 16.2617 14.3233 16.4235 14.3359 16.5801H16.8389L16.6787 17.6982H14.5635L14.6279 17.8652C14.7886 18.2447 15.009 18.5483 15.2881 18.7764C15.6069 19.0368 15.9933 19.167 16.4473 19.167C16.8916 19.167 17.268 19.0097 17.5771 18.6953C17.8863 18.3719 18.0849 17.9451 18.1719 17.415L20.7949 17.5361C20.65 18.2639 20.3745 18.8937 19.9688 19.4238C19.5631 19.9536 19.0606 20.362 18.4619 20.6494C17.8725 20.9369 17.2199 21.0811 16.5049 21.0811C15.8286 21.081 15.2008 20.9594 14.6211 20.7168C14.0511 20.4652 13.548 20.1152 13.1133 19.666C12.6786 19.2168 12.3411 18.6907 12.0996 18.0889C12.0491 17.9611 12.0048 17.8307 11.9648 17.6982H10.7949V16.5801H11.7568C11.7442 16.4211 11.7373 16.2594 11.7373 16.0947C11.7373 15.9581 11.7422 15.8232 11.751 15.6904H10.7949V14.5713H11.9395C11.9849 14.4107 12.0388 14.2534 12.0996 14.0996C12.3411 13.489 12.6787 12.9588 13.1133 12.5098C13.5481 12.0605 14.051 11.7096 14.6211 11.458C15.2007 11.2065 15.8287 11.0811 16.5049 11.0811Z" fill="currentColor"/>
|
|
592
|
+
</svg>
|
|
593
|
+
)
|
|
594
|
+
|
|
595
|
+
export const PercentIcon = ({ size = 24 }: { size?: number } = {}) => (
|
|
596
|
+
<svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
|
|
597
|
+
<line x1="19" y1="5" x2="5" y2="19" />
|
|
598
|
+
<circle cx="6.5" cy="6.5" r="2.5" />
|
|
599
|
+
<circle cx="17.5" cy="17.5" r="2.5" />
|
|
600
|
+
</svg>
|
|
601
|
+
)
|
|
602
|
+
|
|
603
|
+
export const LayersIcon = ({ size = 24 }: { size?: number } = {}) => (
|
|
604
|
+
<svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
|
|
605
|
+
<polygon points="12 2 2 7 12 12 22 7 12 2" />
|
|
606
|
+
<polyline points="2 17 12 22 22 17" />
|
|
607
|
+
<polyline points="2 12 12 17 22 12" />
|
|
608
|
+
</svg>
|
|
609
|
+
)
|
|
610
|
+
|
|
573
611
|
export const SelectCheckIcon = () => (
|
|
574
612
|
<svg width="12" height="12" viewBox="0 0 12 12" fill="none">
|
|
575
613
|
<path
|
|
@@ -582,6 +620,135 @@ export const SelectCheckIcon = () => (
|
|
|
582
620
|
</svg>
|
|
583
621
|
)
|
|
584
622
|
|
|
623
|
+
/* ─── Icons used by shadcn/ui components ───────────────────────────────────── */
|
|
624
|
+
|
|
625
|
+
interface ShadcnIconProps {
|
|
626
|
+
className?: string
|
|
627
|
+
size?: number
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export const IconTick: React.FC<ShadcnIconProps> = ({ className = '', size = 24 }) => (
|
|
631
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" className={`flex-shrink-0 ${className}`}>
|
|
632
|
+
<path d="M25.5029 11.5693L14.4727 24.1348L7.62012 17.6074L10.3799 14.7109L14.2148 18.3643L22.4971 8.93066L25.5029 11.5693Z" fill="currentColor" />
|
|
633
|
+
</svg>
|
|
634
|
+
)
|
|
635
|
+
|
|
636
|
+
export const IconCross: React.FC<ShadcnIconProps> = ({ className = '', size = 24 }) => (
|
|
637
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" className={`flex-shrink-0 ${className}`}>
|
|
638
|
+
<path d="M24.1895 11.4658L18.7676 16.5L24.1895 21.5342L21.4668 24.4658L15.8281 19.2295L10.1895 24.4658L7.4668 21.5342L12.8877 16.5L7.4668 11.4658L10.1895 8.53418L15.8281 13.7695L21.4668 8.53418L24.1895 11.4658Z" fill="currentColor" />
|
|
639
|
+
</svg>
|
|
640
|
+
)
|
|
641
|
+
|
|
642
|
+
export const IconRing: React.FC<ShadcnIconProps> = ({ className = '', size = 24 }) => (
|
|
643
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" className={`flex-shrink-0 ${className}`}>
|
|
644
|
+
<circle cx="16" cy="16" r="15" stroke="currentColor" strokeWidth="2" fill="none"/>
|
|
645
|
+
</svg>
|
|
646
|
+
)
|
|
647
|
+
|
|
648
|
+
export const MailIcon = ({ size = 16, className = '' }: { size?: number; className?: string } = {}) => (
|
|
649
|
+
<svg width={size} height={size} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
650
|
+
<path d="M2.667 2.667h10.666A1.333 1.333 0 0 1 14.667 4v8a1.333 1.333 0 0 1-1.334 1.333H2.667A1.333 1.333 0 0 1 1.333 12V4a1.333 1.333 0 0 1 1.334-1.333z" stroke="currentColor" strokeWidth="1.2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
651
|
+
<path d="M14.667 4L8 8.667 1.333 4" stroke="currentColor" strokeWidth="1.2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
652
|
+
</svg>
|
|
653
|
+
)
|
|
654
|
+
|
|
655
|
+
export const PhoneIcon = ({ size = 16, className = '' }: { size?: number; className?: string } = {}) => (
|
|
656
|
+
<svg width={size} height={size} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
657
|
+
<path d="M14.667 11.28v2a1.333 1.333 0 0 1-1.454 1.333 13.193 13.193 0 0 1-5.753-2.046 13 13 0 0 1-4-4 13.193 13.193 0 0 1-2.047-5.78A1.333 1.333 0 0 1 2.747 1.333h2a1.333 1.333 0 0 1 1.333 1.147c.085.64.241 1.268.467 1.873a1.333 1.333 0 0 1-.3 1.407L5.22 6.787a10.667 10.667 0 0 0 4 4l1.027-1.027a1.333 1.333 0 0 1 1.407-.3c.605.226 1.233.382 1.873.467a1.333 1.333 0 0 1 1.14 1.353z" stroke="currentColor" strokeWidth="1.2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
658
|
+
</svg>
|
|
659
|
+
)
|
|
660
|
+
|
|
661
|
+
export const LockIcon = ({ size = 24, className = '' }: { size?: number; className?: string } = {}) => (
|
|
662
|
+
<svg width={size} height={size} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
663
|
+
<rect x="3" y="11" width="18" height="11" rx="2" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
664
|
+
<path d="M7 11V7a5 5 0 0 1 10 0v4" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
665
|
+
</svg>
|
|
666
|
+
)
|
|
667
|
+
|
|
668
|
+
export const NotificationSuccessIcon = ({ size = 16, className = '' }: { size?: number; className?: string } = {}) => (
|
|
669
|
+
<svg width={size} height={size} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
670
|
+
<path d="M13.333 4L6 11.333 2.667 8" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
671
|
+
</svg>
|
|
672
|
+
)
|
|
673
|
+
|
|
674
|
+
export const NotificationErrorIcon = ({ size = 16, className = '' }: { size?: number; className?: string } = {}) => (
|
|
675
|
+
<svg width={size} height={size} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
676
|
+
<path d="M12 4L4 12M4 4l8 8" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
677
|
+
</svg>
|
|
678
|
+
)
|
|
679
|
+
|
|
680
|
+
export const NotificationInfoIcon = ({ size = 16, className = '' }: { size?: number; className?: string } = {}) => (
|
|
681
|
+
<svg width={size} height={size} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
682
|
+
<circle cx="8" cy="8" r="6.667" stroke="currentColor" strokeWidth="1.2"/>
|
|
683
|
+
<path d="M8 7.333V10.667M8 5.333h.007" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round"/>
|
|
684
|
+
</svg>
|
|
685
|
+
)
|
|
686
|
+
|
|
687
|
+
export const NotificationCloseIcon = ({ size = 16, className = '' }: { size?: number; className?: string } = {}) => (
|
|
688
|
+
<svg width={size} height={size} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
689
|
+
<path d="M12 4L4 12M4 4l8 8" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
690
|
+
</svg>
|
|
691
|
+
)
|
|
692
|
+
|
|
693
|
+
export const AuthBackgroundGraphic = ({ className = '' }: { className?: string } = {}) => (
|
|
694
|
+
<svg width="489" height="588" viewBox="0 0 489 588" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
695
|
+
<g clipPath="url(#auth-bg-clip)">
|
|
696
|
+
<path d="M-17.7607 -1.80137C3.60513 -22.7649 13.5775 -28.1841 25.5659 -31.7493C37.5544 -35.3145 49.8146 -35.3145 61.803 -31.7493C73.7915 -28.1841 83.7639 -22.7649 105.13 -1.80136L140.062 32.4732C161.428 53.4367 166.951 63.2214 170.585 74.9841C174.218 86.7467 174.218 98.7762 170.585 110.539C166.951 122.302 161.428 132.086 140.062 153.05L105.13 187.324C83.7639 208.288 73.7915 213.707 61.8031 217.272C49.8146 220.837 37.5543 220.837 25.5659 217.272C13.5775 213.707 3.60513 208.288 -17.7607 187.324L-52.6929 153.05C-74.0588 132.086 -79.5819 122.302 -83.2156 110.539C-86.8492 98.7762 -86.8492 86.7468 -83.2156 74.9841C-79.5819 63.2214 -74.0588 53.4367 -52.6929 32.4732L-17.7607 -1.80137Z" fill="var(--surface-tertiary)"/>
|
|
697
|
+
<path d="M174.305 176.142C195.671 155.178 205.643 149.759 217.632 146.194C229.62 142.629 241.88 142.629 253.869 146.194C265.857 149.759 275.83 155.178 297.195 176.142L332.128 210.416C353.494 231.38 359.017 241.164 362.65 252.927C366.284 264.69 366.284 276.719 362.65 288.482C359.017 300.245 353.494 310.029 332.128 330.993L297.195 365.267C275.83 386.231 265.857 391.65 253.869 395.215C241.88 398.781 229.62 398.781 217.632 395.215C205.643 391.65 195.671 386.231 174.305 365.267L139.373 330.993C118.007 310.029 112.484 300.245 108.85 288.482C105.217 276.719 105.217 264.69 108.85 252.927C112.484 241.164 118.007 231.38 139.373 210.416L174.305 176.142Z" fill="var(--surface-tertiary)"/>
|
|
698
|
+
<path d="M-60.1281 280.648C-38.7623 259.685 -28.7899 254.265 -16.8015 250.7C-4.81308 247.135 7.4472 247.135 19.4356 250.7C31.424 254.265 41.3964 259.685 62.7623 280.648L97.6945 314.923C119.06 335.886 124.583 345.671 128.217 357.434C131.851 369.196 131.851 381.226 128.217 392.988C124.583 404.751 119.06 414.536 97.6945 435.499L62.7623 469.774C41.3964 490.737 31.424 496.156 19.4356 499.722C7.44721 503.287 -4.81308 503.287 -16.8015 499.722C-28.7899 496.156 -38.7623 490.737 -60.1281 469.774L-95.0604 435.499C-116.426 414.536 -121.949 404.751 -125.583 392.988C-129.217 381.226 -129.217 369.196 -125.583 357.434C-121.949 345.671 -116.426 335.886 -95.0604 314.923L-60.1281 280.648Z" fill="var(--surface-tertiary)"/>
|
|
699
|
+
<path d="M256.215 -83.7118C277.581 -104.675 287.554 -110.094 299.542 -113.66C311.53 -117.225 323.791 -117.225 335.779 -113.66C347.768 -110.094 357.74 -104.675 379.106 -83.7118L414.038 -49.4372C435.404 -28.4737 440.927 -18.689 444.561 -6.92635C448.194 4.83635 448.194 16.8658 444.561 28.6285C440.927 40.3912 435.404 50.1758 414.038 71.1394L379.106 105.414C357.74 126.377 347.768 131.797 335.779 135.362C323.791 138.927 311.53 138.927 299.542 135.362C287.554 131.797 277.581 126.377 256.215 105.414L221.283 71.1394C199.917 50.1758 194.394 40.3912 190.761 28.6285C187.127 16.8658 187.127 4.83635 190.761 -6.92635C194.394 -18.689 199.917 -28.4737 221.283 -49.4372L256.215 -83.7118Z" fill="var(--surface-tertiary)"/>
|
|
700
|
+
</g>
|
|
701
|
+
<defs>
|
|
702
|
+
<clipPath id="auth-bg-clip">
|
|
703
|
+
<rect width="489" height="588" fill="white"/>
|
|
704
|
+
</clipPath>
|
|
705
|
+
</defs>
|
|
706
|
+
</svg>
|
|
707
|
+
)
|
|
708
|
+
|
|
709
|
+
export const IconDot: React.FC<ShadcnIconProps> = ({ className = '', size = 24 }) => (
|
|
710
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" className={`flex-shrink-0 ${className}`}>
|
|
711
|
+
<circle cx="16" cy="16" r="4" fill="currentColor" />
|
|
712
|
+
</svg>
|
|
713
|
+
)
|
|
714
|
+
|
|
715
|
+
export const IconThreeDots: React.FC<ShadcnIconProps> = ({ className = '', size = 24 }) => (
|
|
716
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" className={`flex-shrink-0 ${className}`}>
|
|
717
|
+
<path d="M9 14C10.1046 14 11 14.8954 11 16C11 17.1046 10.1046 18 9 18C7.89543 18 7 17.1046 7 16C7 14.8954 7.89543 14 9 14ZM16 14C17.1046 14 18 14.8954 18 16C18 17.1046 17.1046 18 16 18C14.8954 18 14 17.1046 14 16C14 14.8954 14.8954 14 16 14ZM23 14C24.1046 14 25 14.8954 25 16C25 17.1046 24.1046 18 23 18C21.8954 18 21 17.1046 21 16C21 14.8954 21.8954 14 23 14Z" fill="currentColor" />
|
|
718
|
+
</svg>
|
|
719
|
+
)
|
|
720
|
+
|
|
721
|
+
export const IconGripVertical: React.FC<ShadcnIconProps> = ({ className = '', size = 24 }) => (
|
|
722
|
+
<svg width={size} height={size} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" className={`flex-shrink-0 ${className}`}>
|
|
723
|
+
<path d="M13 20C14.1046 20 15 20.8954 15 22C15 23.1046 14.1046 24 13 24C11.8954 24 11 23.1046 11 22C11 20.8954 11.8954 20 13 20ZM19 20C20.1046 20 21 20.8954 21 22C21 23.1046 20.1046 24 19 24C17.8954 24 17 23.1046 17 22C17 20.8954 17.8954 20 19 20ZM13 14C14.1046 14 15 14.8954 15 16C15 17.1046 14.1046 18 13 18C11.8954 18 11 17.1046 11 16C11 14.8954 11.8954 14 13 14ZM19 14C20.1046 14 21 14.8954 21 16C21 17.1046 20.1046 18 19 18C17.8954 18 17 17.1046 17 16C17 14.8954 17.8954 14 19 14ZM13 8C14.1046 8 15 8.89543 15 10C15 11.1046 14.1046 12 13 12C11.8954 12 11 11.1046 11 10C11 8.89543 11.8954 8 13 8ZM19 8C20.1046 8 21 8.89543 21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8Z" fill="currentColor" />
|
|
724
|
+
</svg>
|
|
725
|
+
)
|
|
726
|
+
|
|
727
|
+
// ── Sandbox icon aliases (used by shadcn ui components) ─────────────────────
|
|
728
|
+
export const IconArrowLeft = ArrowLeftIcon
|
|
729
|
+
export const IconArrowRight = ArrowRightIcon
|
|
730
|
+
export const IconChevronLeft = ChevronLeftIcon
|
|
731
|
+
export const IconChevronRight = ChevronRightIcon
|
|
732
|
+
export const IconSearch = SearchIcon
|
|
733
|
+
|
|
734
|
+
export const IconChevronDown: React.FC<{ className?: string }> = ({ className }) => (
|
|
735
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
736
|
+
<path d="M6 9L12 15L18 9" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
737
|
+
</svg>
|
|
738
|
+
)
|
|
739
|
+
|
|
740
|
+
export const IconLeft: React.FC<{ className?: string }> = ({ className }) => (
|
|
741
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
742
|
+
<path d="M15 18L9 12L15 6" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
743
|
+
</svg>
|
|
744
|
+
)
|
|
745
|
+
|
|
746
|
+
export const IconRight: React.FC<{ className?: string }> = ({ className }) => (
|
|
747
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
748
|
+
<path d="M9 18L15 12L9 6" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
749
|
+
</svg>
|
|
750
|
+
)
|
|
751
|
+
|
|
585
752
|
export const LocationIcon = ({ width = 48, height = 48, className = '' }: { width?: number; height?: number; className?: string } = {}) => (
|
|
586
753
|
<svg width={width} height={height} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
587
754
|
<path d="M16 22.4853L20.2426 18.2426C22.5858 15.8995 22.5858 12.1005 20.2426 9.75736C17.8995 7.41421 14.1005 7.41421 11.7574 9.75736C9.41421 12.1005 9.41421 15.8995 11.7574 18.2426L16 22.4853ZM21.6569 19.6569L16 25.3137L10.3432 19.6569C7.21895 16.5327 7.21895 11.4673 10.3432 8.34315C13.4673 5.21895 18.5327 5.21895 21.6569 8.34315C24.781 11.4673 24.781 16.5327 21.6569 19.6569ZM9 26H23V28H9V26Z" fill="currentColor"/>
|
|
@@ -608,4 +775,3 @@ export const SettingsPageWaiversIcon = ({ size = 24, className = '', ...props }:
|
|
|
608
775
|
<path d="M29.3657 27.8354C31.4117 26.4405 34.0772 25.7503 37.729 26.1685L38.4731 26.2661L38.6235 26.2974C39.3599 26.4857 39.8491 27.2053 39.7339 27.9731C39.6184 28.741 38.9395 29.2849 38.1802 29.2485L38.0278 29.2339L37.395 29.1489C34.308 28.7933 32.394 29.4019 31.0562 30.314C29.5595 31.3345 28.5809 32.8586 27.5396 34.6099C26.5775 36.2279 25.4604 38.2594 23.6812 39.4409C21.8382 40.6643 19.5533 40.8605 16.5776 39.8687L15.9731 39.6548L15.8325 39.5933C15.1516 39.2557 14.8228 38.4502 15.0952 37.7231C15.3681 36.996 16.1461 36.6045 16.8813 36.7983L17.0278 36.8452L17.5229 37.021C19.9234 37.8245 21.1853 37.498 22.0229 36.9419C23.1024 36.2249 23.8614 34.9277 24.9614 33.0776C25.9824 31.3606 27.2536 29.2757 29.3657 27.8354ZM22.0132 6.82178C22.3878 6.08288 23.2909 5.78703 24.0298 6.16162L30.855 9.62256L30.9878 9.69775C31.6279 10.1082 31.8654 10.9454 31.5142 11.6382L21.6284 31.1382C21.5083 31.375 21.327 31.5762 21.104 31.7202L14.7261 35.8394C14.2781 36.1287 13.7106 36.1585 13.2349 35.9175C12.759 35.6762 12.4459 35.2001 12.4146 34.6675L11.9673 27.0884C11.9517 26.8234 12.0075 26.5586 12.1274 26.3218L22.0132 6.82178ZM14.9878 27.3149L15.2583 31.9224L19.1372 29.4185L28.1606 11.6196L24.0112 9.51611L14.9878 27.3149Z" fill="currentColor"/>
|
|
609
776
|
</svg>
|
|
610
777
|
)
|
|
611
|
-
|
package/src/v2/index.ts
CHANGED
|
@@ -81,9 +81,9 @@ export type { EmptyStateProps } from './components/EmptyState'
|
|
|
81
81
|
export { StepIndicator } from './components/StepIndicator'
|
|
82
82
|
export type { StepIndicatorProps } from './components/StepIndicator'
|
|
83
83
|
|
|
84
|
-
//
|
|
85
|
-
export {
|
|
86
|
-
export type {
|
|
84
|
+
// RadioCardGroup Component
|
|
85
|
+
export { RadioCardGroup } from './components/RadioCard'
|
|
86
|
+
export type { RadioCardGroupProps, RadioCardOption } from './components/RadioCard'
|
|
87
87
|
|
|
88
88
|
// AvatarUpload Component
|
|
89
89
|
export { AvatarUpload } from './components/AvatarUpload'
|
|
@@ -102,10 +102,6 @@ export type { QuickFilterProps, QuickFilterOption } from './components/QuickFilt
|
|
|
102
102
|
// Navigation Components
|
|
103
103
|
// ============================================================================
|
|
104
104
|
|
|
105
|
-
// Core Navigation
|
|
106
|
-
export { Navigation } from './navigation/Navigation'
|
|
107
|
-
export type { NavigationProps } from './navigation/Navigation'
|
|
108
|
-
|
|
109
105
|
// Navigation Building Blocks
|
|
110
106
|
export { NavigationItem } from './navigation/NavigationItem'
|
|
111
107
|
export type { NavigationItemProps } from './navigation/NavigationItem'
|
|
@@ -172,6 +168,16 @@ export { NAVIGATION_ITEMS } from './navigation/config'
|
|
|
172
168
|
// Icons
|
|
173
169
|
export * from './icons'
|
|
174
170
|
|
|
171
|
+
// New v2 components
|
|
172
|
+
export { Toggle } from './components/Toggle'
|
|
173
|
+
export type { ToggleProps } from './components/Toggle'
|
|
174
|
+
export { FeatureToggle } from './components/FeatureToggle'
|
|
175
|
+
export type { FeatureToggleProps } from './components/FeatureToggle'
|
|
176
|
+
export { AccountManagerCard } from './components/AccountManagerCard'
|
|
177
|
+
export type { AccountManagerCardProps } from './components/AccountManagerCard'
|
|
178
|
+
export { NotificationBanner } from './components/NotificationBanner'
|
|
179
|
+
export type { NotificationBannerProps } from './components/NotificationBanner'
|
|
180
|
+
|
|
175
181
|
// ============================================================================
|
|
176
182
|
// Hooks
|
|
177
183
|
// ============================================================================
|
|
@@ -212,4 +218,79 @@ export type { AuthLayoutProps, LoginPageProps, ResetPasswordPageProps, CreatePas
|
|
|
212
218
|
* - @/v2/styles/components/Button.scss
|
|
213
219
|
* - @/v2/styles/form/NewInput.scss
|
|
214
220
|
* - @/v2/styles/navigation/*.scss
|
|
221
|
+
*
|
|
222
|
+
* shadcn/ui components are available from:
|
|
223
|
+
* - @/v2/shadcn/components/ui/
|
|
215
224
|
*/
|
|
225
|
+
|
|
226
|
+
// shadcn/ui components
|
|
227
|
+
// Note: shadcn components with name collisions (Button, Checkbox) should be imported
|
|
228
|
+
// directly from '@licklist/design/v2/shadcn' to avoid ambiguity with native v2 components.
|
|
229
|
+
export {
|
|
230
|
+
cn,
|
|
231
|
+
buttonVariants,
|
|
232
|
+
Input,
|
|
233
|
+
Label,
|
|
234
|
+
Badge,
|
|
235
|
+
badgeVariants,
|
|
236
|
+
Card,
|
|
237
|
+
CardHeader,
|
|
238
|
+
CardFooter,
|
|
239
|
+
CardTitle,
|
|
240
|
+
CardDescription,
|
|
241
|
+
CardContent,
|
|
242
|
+
Separator,
|
|
243
|
+
Avatar,
|
|
244
|
+
AvatarImage,
|
|
245
|
+
AvatarFallback,
|
|
246
|
+
Select,
|
|
247
|
+
SelectGroup,
|
|
248
|
+
SelectValue,
|
|
249
|
+
SelectTrigger,
|
|
250
|
+
SelectContent,
|
|
251
|
+
SelectLabel,
|
|
252
|
+
SelectItem,
|
|
253
|
+
SelectSeparator,
|
|
254
|
+
SelectScrollUpButton,
|
|
255
|
+
SelectScrollDownButton,
|
|
256
|
+
Dialog,
|
|
257
|
+
DialogPortal,
|
|
258
|
+
DialogOverlay,
|
|
259
|
+
DialogTrigger,
|
|
260
|
+
DialogClose,
|
|
261
|
+
DialogContent,
|
|
262
|
+
DialogHeader,
|
|
263
|
+
DialogFooter,
|
|
264
|
+
DialogTitle,
|
|
265
|
+
DialogDescription,
|
|
266
|
+
DropdownMenu,
|
|
267
|
+
DropdownMenuTrigger,
|
|
268
|
+
DropdownMenuContent,
|
|
269
|
+
DropdownMenuItem,
|
|
270
|
+
DropdownMenuCheckboxItem,
|
|
271
|
+
DropdownMenuRadioItem,
|
|
272
|
+
DropdownMenuLabel,
|
|
273
|
+
DropdownMenuSeparator,
|
|
274
|
+
DropdownMenuShortcut,
|
|
275
|
+
DropdownMenuGroup,
|
|
276
|
+
DropdownMenuPortal,
|
|
277
|
+
DropdownMenuSub,
|
|
278
|
+
DropdownMenuSubContent,
|
|
279
|
+
DropdownMenuSubTrigger,
|
|
280
|
+
DropdownMenuRadioGroup,
|
|
281
|
+
Skeleton,
|
|
282
|
+
Switch,
|
|
283
|
+
Table,
|
|
284
|
+
TableHeader,
|
|
285
|
+
TableBody,
|
|
286
|
+
TableFooter,
|
|
287
|
+
TableHead,
|
|
288
|
+
TableRow,
|
|
289
|
+
TableCell,
|
|
290
|
+
TableCaption,
|
|
291
|
+
TooltipProvider as ShadcnTooltipProvider,
|
|
292
|
+
TooltipTrigger as ShadcnTooltipTrigger,
|
|
293
|
+
TooltipContent as ShadcnTooltipContent,
|
|
294
|
+
} from './shadcn'
|
|
295
|
+
// shadcn Button and Checkbox exported with Shadcn prefix to avoid collision with native v2 components
|
|
296
|
+
export { Button as ShadcnButton, Checkbox as ShadcnCheckbox, Tooltip as ShadcnTooltip } from './shadcn'
|
|
@@ -41,18 +41,48 @@
|
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
width: 100%;
|
|
43
43
|
box-sizing: border-box;
|
|
44
|
+
border: none;
|
|
45
|
+
font: inherit;
|
|
46
|
+
text-align: left;
|
|
44
47
|
|
|
45
|
-
&:hover {
|
|
48
|
+
&:hover:not(.admin-sidebar__header--active) {
|
|
46
49
|
background: var(--surfaces-main-background-secondary-hover, #F0F0F4);
|
|
47
50
|
}
|
|
48
51
|
|
|
49
|
-
&:active {
|
|
52
|
+
&:active:not(.admin-sidebar__header--active) {
|
|
50
53
|
background: var(--surfaces-main-background-secondary-pressed, #E8E8EC);
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
&--collapsed {
|
|
54
57
|
justify-content: center;
|
|
55
58
|
}
|
|
59
|
+
|
|
60
|
+
&--active {
|
|
61
|
+
background: linear-gradient(
|
|
62
|
+
to top right,
|
|
63
|
+
var(--gradient-stop3, #0E8CE2) 0%,
|
|
64
|
+
var(--gradient-stop2, #5D5BF4) 50%,
|
|
65
|
+
var(--gradient-stop1, #6200EE) 100%
|
|
66
|
+
);
|
|
67
|
+
border-radius: 8px;
|
|
68
|
+
|
|
69
|
+
.admin-sidebar__title {
|
|
70
|
+
color: white;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.admin-sidebar__badge {
|
|
74
|
+
background: rgba(255, 255, 255, 0.2);
|
|
75
|
+
|
|
76
|
+
span {
|
|
77
|
+
color: white;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.admin-sidebar__avatar {
|
|
82
|
+
border: 2px solid rgba(255, 255, 255, 0.8);
|
|
83
|
+
background: white;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
56
86
|
}
|
|
57
87
|
|
|
58
88
|
&__avatar {
|
|
@@ -65,12 +95,16 @@
|
|
|
65
95
|
justify-content: center;
|
|
66
96
|
overflow: hidden;
|
|
67
97
|
position: relative;
|
|
68
|
-
border: 2px solid var(--borders-main-border-
|
|
69
|
-
background:
|
|
98
|
+
border: 2px solid var(--borders-main-border-secondary, #C8CAD8);
|
|
99
|
+
background: white;
|
|
70
100
|
|
|
71
101
|
img {
|
|
72
102
|
width: 100%;
|
|
73
103
|
height: 100%;
|
|
104
|
+
object-fit: contain;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&--photo img {
|
|
74
108
|
object-fit: cover;
|
|
75
109
|
}
|
|
76
110
|
}
|
|
@@ -105,7 +139,7 @@
|
|
|
105
139
|
width: fit-content;
|
|
106
140
|
transition: background 0.2s ease;
|
|
107
141
|
|
|
108
|
-
.admin-sidebar__header:hover & {
|
|
142
|
+
.admin-sidebar__header:hover:not(.admin-sidebar__header--active) & {
|
|
109
143
|
background: var(--surfaces-main-surface-primary, #FFFFFF);
|
|
110
144
|
}
|
|
111
145
|
|
|
@@ -140,12 +174,16 @@
|
|
|
140
174
|
outline: none;
|
|
141
175
|
width: 100%;
|
|
142
176
|
color: var(--fills-main-fill-primary, #14215A);
|
|
177
|
+
background: none;
|
|
178
|
+
border: none;
|
|
179
|
+
font: inherit;
|
|
180
|
+
text-align: left;
|
|
143
181
|
|
|
144
|
-
&:hover:not(
|
|
182
|
+
&:hover:not(.admin-sidebar__link--active) {
|
|
145
183
|
background: var(--surfaces-main-background-secondary-hover, #F0F0F4);
|
|
146
184
|
}
|
|
147
185
|
|
|
148
|
-
&:active:not(
|
|
186
|
+
&:active:not(.admin-sidebar__link--active) {
|
|
149
187
|
background: var(--surfaces-main-background-secondary-pressed, #E8E8EC);
|
|
150
188
|
}
|
|
151
189
|
|
|
@@ -197,7 +235,7 @@
|
|
|
197
235
|
|
|
198
236
|
&__link-text {
|
|
199
237
|
font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
200
|
-
font-weight:
|
|
238
|
+
font-weight: 600;
|
|
201
239
|
font-size: 13px;
|
|
202
240
|
line-height: 16px;
|
|
203
241
|
color: var(--labels-main-label-primary, #121E52);
|