@ebubekirylmaz/link-test 1.0.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/.babelrc +3 -0
- package/.browserslistrc +1 -0
- package/.env +2 -0
- package/.eslintignore +3 -0
- package/.eslintrc.json +58 -0
- package/.gitattributes +1 -0
- package/.github/workflows/publish.yml +66 -0
- package/.prettierignore +1 -0
- package/.prettierrc +10 -0
- package/.storybook/main.js +15 -0
- package/.storybook/preview.js +17 -0
- package/.storybook/vitest.setup.js +6 -0
- package/README.md +1 -0
- package/cypress.config.js +11 -0
- package/index.js +1 -0
- package/package.json +111 -0
- package/project/.eslintrc.cjs +22 -0
- package/project/config.js +18 -0
- package/project/config.menu.js +39 -0
- package/project/config.template.js +31 -0
- package/project/cypress/e2e/layouts.cy.js +170 -0
- package/project/cypress/e2e/login.cy.js +35 -0
- package/project/cypress/e2e/selectbar.cy.js +80 -0
- package/project/cypress/fixtures/CONFIG/MENU_CONFIG.js +39 -0
- package/project/cypress/fixtures/EMPEROR/EMPERORS_GET.json +51 -0
- package/project/cypress/fixtures/EMPEROR/EMPERORS_POST.json +9 -0
- package/project/cypress/fixtures/OAUTH/GITHUB/user.json +46 -0
- package/project/cypress/fixtures/example.json +5 -0
- package/project/cypress/support/commands.js +104 -0
- package/project/cypress/support/e2e.js +1 -0
- package/project/cypress.config.js +10 -0
- package/project/index.html +12 -0
- package/project/media/ProjectIcons/3d.png +0 -0
- package/project/media/ProjectIcons/box.png +0 -0
- package/project/media/ProjectIcons/cafe.png +0 -0
- package/project/media/ProjectIcons/cargo.png +0 -0
- package/project/media/ProjectIcons/cloud.png +0 -0
- package/project/media/ProjectIcons/code.png +0 -0
- package/project/media/ProjectIcons/company.png +0 -0
- package/project/media/ProjectIcons/conversation.png +0 -0
- package/project/media/ProjectIcons/distributed.png +0 -0
- package/project/media/ProjectIcons/fingerprint.png +0 -0
- package/project/media/ProjectIcons/forest.png +0 -0
- package/project/media/ProjectIcons/headphones.png +0 -0
- package/project/media/ProjectIcons/office.png +0 -0
- package/project/media/ProjectIcons/path.png +0 -0
- package/project/media/ProjectIcons/printer.png +0 -0
- package/project/media/ProjectIcons/project.png +0 -0
- package/project/media/ProjectIcons/resume.png +0 -0
- package/project/media/ProjectIcons/rocket.png +0 -0
- package/project/media/ProjectIcons/rtruck.png +0 -0
- package/project/media/ProjectIcons/sign.png +0 -0
- package/project/media/ProjectIcons/site.png +0 -0
- package/project/media/ProjectIcons/truck.png +0 -0
- package/project/media/logo.png +0 -0
- package/project/package-lock.json +22434 -0
- package/project/package.json +42 -0
- package/project/public/assets/background/overlay_2.jpg +0 -0
- package/project/public/assets/illustrations/illustration_dashboard.png +0 -0
- package/project/public/media/largeLogo.png +0 -0
- package/project/public/media/logo.png +0 -0
- package/project/public/vite.svg +1 -0
- package/project/routes.jsx +47 -0
- package/project/server/mock.json +110 -0
- package/project/server/oauthMock.js +27 -0
- package/project/server/package-lock.json +1505 -0
- package/project/server/package.json +20 -0
- package/project/server/server.js +127 -0
- package/project/src/Container.jsx +7 -0
- package/project/src/components/ActionButton.jsx +18 -0
- package/project/src/hooks/useEmperor.jsx +21 -0
- package/project/src/http/index.js +39 -0
- package/project/src/main.jsx +10 -0
- package/project/src/pages/Battles.jsx +16 -0
- package/project/src/pages/Emperor.jsx +50 -0
- package/project/src/pages/index.jsx +33 -0
- package/project/src/theme.js +151 -0
- package/project/src/widgets/ActionButton.jsx +68 -0
- package/project/src/widgets/AddNewEmperor.jsx +120 -0
- package/project/src/widgets/ProjectContainer.jsx +27 -0
- package/project/vite.config.js +6 -0
- package/project/vite.config.js.timestamp-1709564450418-45fdd27900806.mjs +341 -0
- package/public/assets/background/overlay_2.jpg +0 -0
- package/public/assets/illustrations/illustration_dashboard.png +0 -0
- package/public/vite.svg +1 -0
- package/src/ContextProvider/ContextProvider.jsx +19 -0
- package/src/GlobalSnackMessage/GlobalSnackMessage.jsx +45 -0
- package/src/GlobalSnackMessage/index.js +1 -0
- package/src/GlobalSnackMessage/styles.js +3 -0
- package/src/Platform.jsx +76 -0
- package/src/RouteManager/RouteManager.jsx +56 -0
- package/src/RouteManager/index.js +1 -0
- package/src/assets/illustrations/avatar-shape.jsx +31 -0
- package/src/assets/illustrations/background-shape.jsx +37 -0
- package/src/assets/illustrations/booking-illustration.jsx +335 -0
- package/src/assets/illustrations/check-in-illustration.jsx +96 -0
- package/src/assets/illustrations/check-out-illustration.jsx +69 -0
- package/src/assets/illustrations/coming-soon-illustration.jsx +125 -0
- package/src/assets/illustrations/forbidden-illustration.jsx +95 -0
- package/src/assets/illustrations/index.js +2 -0
- package/src/assets/illustrations/maintenance-illustration.jsx +228 -0
- package/src/assets/illustrations/motivation-illustration.jsx +74 -0
- package/src/assets/illustrations/order-complete-illustration.jsx +126 -0
- package/src/assets/illustrations/page-not-found-illustration.jsx +81 -0
- package/src/assets/illustrations/seo-illustration.jsx +244 -0
- package/src/assets/illustrations/sever-error-illustration.jsx +152 -0
- package/src/assets/illustrations/upgrade-storage-illustration.jsx +161 -0
- package/src/assets/illustrations/upload-illustration.jsx +622 -0
- package/src/components/Iconify/Iconify.jsx +18 -0
- package/src/components/Iconify/index.js +1 -0
- package/src/components/MiniTopBar/MiniTopBar.jsx +25 -0
- package/src/components/MiniTopBar/index.js +1 -0
- package/src/components/MiniTopBar/styles.js +6 -0
- package/src/components/NucleoidLoginForm/NucleoidLoginForm.jsx +69 -0
- package/src/components/NucleoidLoginForm/index.js +1 -0
- package/src/components/NucleoidLoginForm/styles.js +3 -0
- package/src/components/Sidebar/Sidebar.jsx +76 -0
- package/src/components/Sidebar/index.js +1 -0
- package/src/components/Sidebar/styles.js +25 -0
- package/src/components/SocialLoginButtons/SocialLoginButtons.jsx +55 -0
- package/src/components/SocialLoginButtons/index.js +1 -0
- package/src/components/SocialLoginButtons/styles.js +3 -0
- package/src/components/TopNavBar/TopNavBar.jsx +186 -0
- package/src/components/TopNavBar/index.js +1 -0
- package/src/components/TopNavBar/styles.js +7 -0
- package/src/components/animate/index.js +4 -0
- package/src/components/animate/motion-container.jsx +38 -0
- package/src/components/animate/motion-lazy.jsx +11 -0
- package/src/components/animate/motion-viewport.jsx +30 -0
- package/src/components/animate/variants/actions.js +4 -0
- package/src/components/animate/variants/background.js +97 -0
- package/src/components/animate/variants/bounce.js +107 -0
- package/src/components/animate/variants/container.js +20 -0
- package/src/components/animate/variants/fade.js +127 -0
- package/src/components/animate/variants/flip.js +54 -0
- package/src/components/animate/variants/index.js +12 -0
- package/src/components/animate/variants/path.js +12 -0
- package/src/components/animate/variants/rotate.js +33 -0
- package/src/components/animate/variants/scale.js +54 -0
- package/src/components/animate/variants/slide.js +65 -0
- package/src/components/animate/variants/transition.js +20 -0
- package/src/components/animate/variants/zoom.js +130 -0
- package/src/components/chart/chart.js +69 -0
- package/src/components/chart/index.js +5 -0
- package/src/components/chart/use-chart.js +215 -0
- package/src/components/custom-popover/custom-popover.jsx +46 -0
- package/src/components/custom-popover/index.js +3 -0
- package/src/components/custom-popover/styles.js +84 -0
- package/src/components/custom-popover/use-popover.js +22 -0
- package/src/components/custom-popover/utils.js +100 -0
- package/src/components/file-thumbnail/download-button.jsx +39 -0
- package/src/components/file-thumbnail/file-thumbnail.jsx +72 -0
- package/src/components/file-thumbnail/index.js +5 -0
- package/src/components/file-thumbnail/utils.js +148 -0
- package/src/components/image/image.jsx +119 -0
- package/src/components/image/index.js +1 -0
- package/src/components/image/utils.js +15 -0
- package/src/components/label/index.js +1 -0
- package/src/components/label/label.jsx +51 -0
- package/src/components/label/styles.js +78 -0
- package/src/components/loading-screen/index.js +2 -0
- package/src/components/loading-screen/loading-screen.jsx +23 -0
- package/src/components/loading-screen/splash-screen.jsx +95 -0
- package/src/components/logo/index.js +1 -0
- package/src/components/logo/logo.jsx +61 -0
- package/src/components/logo/styles.js +17 -0
- package/src/components/nav-section/horizontal/index.js +1 -0
- package/src/components/nav-section/horizontal/nav-item.jsx +224 -0
- package/src/components/nav-section/horizontal/nav-list.jsx +113 -0
- package/src/components/nav-section/horizontal/nav-section-horizontal.jsx +41 -0
- package/src/components/nav-section/index.js +3 -0
- package/src/components/nav-section/mini/index.js +1 -0
- package/src/components/nav-section/mini/nav-item.jsx +242 -0
- package/src/components/nav-section/mini/nav-list.jsx +107 -0
- package/src/components/nav-section/mini/nav-section-mini.jsx +35 -0
- package/src/components/nav-section/vertical/index.js +1 -0
- package/src/components/nav-section/vertical/nav-item.jsx +294 -0
- package/src/components/nav-section/vertical/nav-list.jsx +66 -0
- package/src/components/nav-section/vertical/nav-section-vertical.jsx +74 -0
- package/src/components/scrollbar/index.js +1 -0
- package/src/components/scrollbar/scrollbar.jsx +39 -0
- package/src/components/scrollbar/styles.js +27 -0
- package/src/components/search-not-found/index.js +1 -0
- package/src/components/search-not-found/search-not-found.jsx +29 -0
- package/src/components/settings/context/index.js +2 -0
- package/src/components/settings/context/settings-context.js +14 -0
- package/src/components/settings/context/settings-provider.jsx +46 -0
- package/src/components/settings/drawer/base-option.jsx +52 -0
- package/src/components/settings/drawer/fullscreen-option.jsx +58 -0
- package/src/components/settings/drawer/index.js +1 -0
- package/src/components/settings/drawer/layout-options.jsx +144 -0
- package/src/components/settings/drawer/presets-options.jsx +53 -0
- package/src/components/settings/drawer/settings-drawer.jsx +189 -0
- package/src/components/settings/drawer/stretch-options.jsx +67 -0
- package/src/components/settings/index.js +3 -0
- package/src/components/svg-color/index.js +1 -0
- package/src/components/svg-color/svg-color.jsx +23 -0
- package/src/config/config.js +48 -0
- package/src/config/schemas.js +148 -0
- package/src/context/reducer.js +52 -0
- package/src/global.css +2 -0
- package/src/hooks/index.js +2 -0
- package/src/hooks/use-boolean.js +27 -0
- package/src/hooks/use-event-listener.js +34 -0
- package/src/hooks/use-local-storage.js +89 -0
- package/src/hooks/use-off-set-top.js +37 -0
- package/src/hooks/use-responsive.js +47 -0
- package/src/hooks/use-scroll-to-top.js +14 -0
- package/src/hooks/use-user.js +58 -0
- package/src/hooks/useApi.js +25 -0
- package/src/hooks/useItemsState.js +23 -0
- package/src/hooks/useProjects.js +24 -0
- package/src/hooks/useSettings.jsx +51 -0
- package/src/http/index.js +155 -0
- package/src/http/oauth.js +27 -0
- package/src/http/user.js +110 -0
- package/src/layouts/AppLayout.jsx +113 -0
- package/src/layouts/CompactLayout/CompactLayout.jsx +32 -0
- package/src/layouts/CompactLayout/index.js +1 -0
- package/src/layouts/DashboardLayout/DashboardLayout.jsx +87 -0
- package/src/layouts/DashboardLayout/config-navigation.jsx +0 -0
- package/src/layouts/DashboardLayout/header.jsx +104 -0
- package/src/layouts/DashboardLayout/index.js +2 -0
- package/src/layouts/DashboardLayout/main.jsx +64 -0
- package/src/layouts/DashboardLayout/nav-horizontal.jsx +62 -0
- package/src/layouts/DashboardLayout/nav-mini.jsx +99 -0
- package/src/layouts/DashboardLayout/nav-vertical.jsx +201 -0
- package/src/layouts/FullScreenLayout/FullScreenLayout.jsx +101 -0
- package/src/layouts/FullScreenLayout/index.js +1 -0
- package/src/layouts/FullScreenLayout/nav-horizontal.jsx +50 -0
- package/src/layouts/FullScreenLayout/nav-vertical.jsx +136 -0
- package/src/layouts/MainLayout/MainLayout.jsx +21 -0
- package/src/layouts/MainLayout/footer.jsx +153 -0
- package/src/layouts/MainLayout/header.jsx +81 -0
- package/src/layouts/MainLayout/index.js +1 -0
- package/src/layouts/MainLayout/nav/desktop/index.jsx +20 -0
- package/src/layouts/MainLayout/nav/desktop/nav-item.jsx +186 -0
- package/src/layouts/MainLayout/nav/desktop/nav-list.jsx +145 -0
- package/src/layouts/MainLayout/nav/mobile/index.jsx +60 -0
- package/src/layouts/MainLayout/nav/mobile/nav-item.jsx +90 -0
- package/src/layouts/MainLayout/nav/mobile/nav-list.jsx +72 -0
- package/src/layouts/Page.jsx +16 -0
- package/src/layouts/SimpleLayout/SimpleLayout.jsx +8 -0
- package/src/layouts/SimpleLayout/index.js +1 -0
- package/src/layouts/TwoSideLayout/TwoSideLayout.jsx +31 -0
- package/src/layouts/TwoSideLayout/index.js +1 -0
- package/src/layouts/auth/classic.jsx +95 -0
- package/src/layouts/auth/modern-compact.jsx +51 -0
- package/src/layouts/auth/modern.jsx +94 -0
- package/src/layouts/common/ProjectBar/index.jsx +325 -0
- package/src/layouts/common/ProjectBar/result-item.jsx +90 -0
- package/src/layouts/common/ProjectBar/utils.js +86 -0
- package/src/layouts/common/account-popover.jsx +116 -0
- package/src/layouts/common/header-shadow.jsx +26 -0
- package/src/layouts/common/header-sim.jsx +52 -0
- package/src/layouts/common/header-simple.jsx +76 -0
- package/src/layouts/common/nav-toggle-button.jsx +57 -0
- package/src/layouts/common/notifications-popover/index.jsx +177 -0
- package/src/layouts/common/notifications-popover/notification-item.jsx +252 -0
- package/src/layouts/common/settings-button.jsx +48 -0
- package/src/layouts/config-layout.js +12 -0
- package/src/layouts/index.js +7 -0
- package/src/lib/AddItemWizard/AddItemWizard.jsx +211 -0
- package/src/lib/AddItemWizard/index.js +1 -0
- package/src/lib/CustomBreadcrumbs/CustomBreadcrumbs.jsx +88 -0
- package/src/lib/CustomBreadcrumbs/index.js +1 -0
- package/src/lib/CustomBreadcrumbs/link-item.jsx +58 -0
- package/src/lib/CustomPopover/CustomPopover.jsx +46 -0
- package/src/lib/CustomPopover/index.js +3 -0
- package/src/lib/CustomPopover/styles.js +82 -0
- package/src/lib/CustomPopover/usePopover.js +20 -0
- package/src/lib/CustomPopover/utils.js +100 -0
- package/src/lib/Flow/connectors/DynamicConnector.jsx +247 -0
- package/src/lib/Flow/core/Flow.jsx +79 -0
- package/src/lib/Flow/core/FlowNode.jsx +68 -0
- package/src/lib/Flow/core/FlowViewport.jsx +259 -0
- package/src/lib/Flow/graph/FloatingGraph.jsx +44 -0
- package/src/lib/Flow/hooks/useGraphOperations.js +362 -0
- package/src/lib/Flow/hooks/useNodeStyle.js +56 -0
- package/src/lib/Flow/index.js +1 -0
- package/src/lib/Flow/layouts/ActionNode.jsx +78 -0
- package/src/lib/Flow/layouts/AnimatedNode.jsx +22 -0
- package/src/lib/Flow/layouts/CardLayout.jsx +397 -0
- package/src/lib/Flow/layouts/InfoNode.jsx +255 -0
- package/src/lib/Flow/layouts/LoadingNode.jsx +37 -0
- package/src/lib/Flow/nodes/DefaultCard.jsx +107 -0
- package/src/lib/Flow/nodes/DraggableNode.jsx +162 -0
- package/src/lib/Flow/nodes/FlowNodeView.jsx +214 -0
- package/src/lib/Flow/selection/SelectionContext.jsx +259 -0
- package/src/lib/Flow/selection/SelectionOverlay.jsx +31 -0
- package/src/lib/Flow/styles.js +154 -0
- package/src/lib/Flow/utils/flowUtils.js +268 -0
- package/src/lib/FormProvider/FormProvider.jsx +16 -0
- package/src/lib/FormProvider/index.js +1 -0
- package/src/lib/IconSelector/IconSelector.jsx +89 -0
- package/src/lib/Iconify/Iconify.jsx +17 -0
- package/src/lib/Iconify/index.js +1 -0
- package/src/lib/Image/Image.jsx +116 -0
- package/src/lib/Image/index.js +1 -0
- package/src/lib/Image/utils.js +15 -0
- package/src/lib/ItemSummary/ItemSummary.jsx +77 -0
- package/src/lib/ItemSummary/ItemsSummary.jsx +163 -0
- package/src/lib/Label/Label.jsx +51 -0
- package/src/lib/Label/index.js +1 -0
- package/src/lib/Label/styles.js +76 -0
- package/src/lib/ProjectWizard.jsx +137 -0
- package/src/lib/RHFTextfield/RHFTextfield.jsx +39 -0
- package/src/lib/RHFTextfield/index.js +1 -0
- package/src/lib/Scrollbar/Scrollbar.jsx +39 -0
- package/src/lib/Scrollbar/index.js +1 -0
- package/src/lib/Scrollbar/styles.js +27 -0
- package/src/lib/SearchNotFound/SearchNotFound.jsx +29 -0
- package/src/lib/SearchNotFound/index.js +1 -0
- package/src/lib/SparkleInput/SparkleInput.jsx +51 -0
- package/src/lib/StepComponent/StepComponent.jsx +98 -0
- package/src/lib/SvgColor/SvgColor.jsx +28 -0
- package/src/lib/SvgColor/index.js +1 -0
- package/src/lib/TableHeadCustom/TableHeadCustom.jsx +87 -0
- package/src/lib/TableHeadCustom/index.js +1 -0
- package/src/lib/TableSelectedAction/TableSelectedAction.jsx +72 -0
- package/src/lib/TableSelectedAction/index.js +1 -0
- package/src/lib/index.js +36 -0
- package/src/lib/lib/Icons.js +40 -0
- package/src/lib/lib/context.json +272 -0
- package/src/lib/useChart/useChart.js +179 -0
- package/src/lib/useTable/useTable.js +121 -0
- package/src/pages/404.jsx +17 -0
- package/src/pages/Callback.jsx +126 -0
- package/src/pages/ConfigError.jsx +49 -0
- package/src/pages/LoginPage.jsx +43 -0
- package/src/routes/components/index.js +1 -0
- package/src/routes/components/router-link.jsx +11 -0
- package/src/routes/hooks/index.js +4 -0
- package/src/routes/hooks/use-active-link.js +15 -0
- package/src/routes/hooks/use-pathname.js +10 -0
- package/src/routes/hooks/use-router.js +21 -0
- package/src/stories/FlowChart.stories.jsx +333 -0
- package/src/stories/Iconify.stories.jsx +183 -0
- package/src/stories/Label.stories.jsx +447 -0
- package/src/stories/Navbar.stories.jsx +588 -0
- package/src/theme/css.js +152 -0
- package/src/theme/custom-shadows.js +47 -0
- package/src/theme/index.jsx +100 -0
- package/src/theme/options/contrast.js +34 -0
- package/src/theme/options/presets.js +89 -0
- package/src/theme/options/right-to-left.jsx +26 -0
- package/src/theme/overrides/components/accordion.js +43 -0
- package/src/theme/overrides/components/alert.js +69 -0
- package/src/theme/overrides/components/appbar.js +13 -0
- package/src/theme/overrides/components/autocomplete.js +44 -0
- package/src/theme/overrides/components/avatar.js +111 -0
- package/src/theme/overrides/components/backdrop.js +18 -0
- package/src/theme/overrides/components/badge.js +90 -0
- package/src/theme/overrides/components/breadcrumbs.js +21 -0
- package/src/theme/overrides/components/button-group.js +90 -0
- package/src/theme/overrides/components/button.js +145 -0
- package/src/theme/overrides/components/card.js +30 -0
- package/src/theme/overrides/components/checkbox.js +13 -0
- package/src/theme/overrides/components/chip.js +129 -0
- package/src/theme/overrides/components/css-baseline.js +48 -0
- package/src/theme/overrides/components/data-grid.js +94 -0
- package/src/theme/overrides/components/date-picker.jsx +94 -0
- package/src/theme/overrides/components/dialog.js +49 -0
- package/src/theme/overrides/components/drawer.js +39 -0
- package/src/theme/overrides/components/fab.js +165 -0
- package/src/theme/overrides/components/list.js +33 -0
- package/src/theme/overrides/components/loading-button.js +30 -0
- package/src/theme/overrides/components/menu.js +15 -0
- package/src/theme/overrides/components/pagination.js +81 -0
- package/src/theme/overrides/components/paper.js +18 -0
- package/src/theme/overrides/components/popover.js +20 -0
- package/src/theme/overrides/components/progress.js +40 -0
- package/src/theme/overrides/components/radio.js +22 -0
- package/src/theme/overrides/components/rating.js +40 -0
- package/src/theme/overrides/components/select.js +26 -0
- package/src/theme/overrides/components/skeleton.js +16 -0
- package/src/theme/overrides/components/slider.js +30 -0
- package/src/theme/overrides/components/stepper.js +13 -0
- package/src/theme/overrides/components/svg-icon.js +15 -0
- package/src/theme/overrides/components/switch.js +66 -0
- package/src/theme/overrides/components/table.js +79 -0
- package/src/theme/overrides/components/tabs.js +39 -0
- package/src/theme/overrides/components/textfield.js +146 -0
- package/src/theme/overrides/components/timeline.js +20 -0
- package/src/theme/overrides/components/toggle-button.js +70 -0
- package/src/theme/overrides/components/tooltip.js +18 -0
- package/src/theme/overrides/components/tree-view.js +16 -0
- package/src/theme/overrides/components/typography.js +16 -0
- package/src/theme/overrides/default-props.jsx +238 -0
- package/src/theme/overrides/index.js +100 -0
- package/src/theme/palette.js +144 -0
- package/src/theme/shadows.js +41 -0
- package/src/theme/typography.js +107 -0
- package/src/utils/flatten-array.js +16 -0
- package/src/utils/format-number.js +37 -0
- package/src/utils/format-time.js +27 -0
- package/src/utils/storage-available.js +24 -0
- package/src/widgets/Login/CognitoLogin.jsx +43 -0
- package/src/widgets/Login/Login.jsx +58 -0
- package/src/widgets/Login/cognitoAuth.jsx +26 -0
- package/src/widgets/LoginForm/LoginForm.jsx +87 -0
- package/src/widgets/LoginForm/LoginFormStyles.js +43 -0
- package/src/widgets/LoginForm/index.js +1 -0
- package/src/widgets/SettingsDialog.jsx +308 -0
- package/src/widgets/error/index.js +1 -0
- package/src/widgets/error/not-found-view.jsx +42 -0
- package/vite/vite.js +77 -0
- package/vite.config.js +7 -0
- package/vitest.config.js +32 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import Iconify from "../components/Iconify";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: "Components/Iconify",
|
|
6
|
+
component: Iconify,
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: "centered",
|
|
9
|
+
},
|
|
10
|
+
tags: ["autodocs"],
|
|
11
|
+
argTypes: {
|
|
12
|
+
icon: {
|
|
13
|
+
control: "text",
|
|
14
|
+
description: "The icon name from Iconify",
|
|
15
|
+
},
|
|
16
|
+
width: {
|
|
17
|
+
control: { type: "number", min: 8, max: 100, step: 2 },
|
|
18
|
+
description: "Width and height of the icon in pixels",
|
|
19
|
+
},
|
|
20
|
+
sx: {
|
|
21
|
+
control: "object",
|
|
22
|
+
description: "MUI sx prop for styling",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
args: { onClick: () => {} },
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const Default = {
|
|
29
|
+
args: {
|
|
30
|
+
icon: "material-symbols:home",
|
|
31
|
+
width: 24,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export const Small = {
|
|
36
|
+
args: {
|
|
37
|
+
icon: "material-symbols:star",
|
|
38
|
+
width: 16,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export const Large = {
|
|
43
|
+
args: {
|
|
44
|
+
icon: "material-symbols:favorite",
|
|
45
|
+
width: 48,
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export const WithCustomStyles = {
|
|
50
|
+
args: {
|
|
51
|
+
icon: "material-symbols:settings",
|
|
52
|
+
width: 32,
|
|
53
|
+
sx: {
|
|
54
|
+
color: "primary.main",
|
|
55
|
+
"&:hover": {
|
|
56
|
+
color: "primary.dark",
|
|
57
|
+
transform: "rotate(90deg)",
|
|
58
|
+
transition: "all 0.3s ease",
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export const ColoredIcons = {
|
|
65
|
+
render: () => (
|
|
66
|
+
<div style={{ display: "flex", gap: "16px", alignItems: "center" }}>
|
|
67
|
+
<Iconify
|
|
68
|
+
icon="material-symbols:circle"
|
|
69
|
+
width={24}
|
|
70
|
+
sx={{ color: "red" }}
|
|
71
|
+
/>
|
|
72
|
+
<Iconify
|
|
73
|
+
icon="material-symbols:circle"
|
|
74
|
+
width={24}
|
|
75
|
+
sx={{ color: "green" }}
|
|
76
|
+
/>
|
|
77
|
+
<Iconify
|
|
78
|
+
icon="material-symbols:circle"
|
|
79
|
+
width={24}
|
|
80
|
+
sx={{ color: "blue" }}
|
|
81
|
+
/>
|
|
82
|
+
<Iconify
|
|
83
|
+
icon="material-symbols:circle"
|
|
84
|
+
width={24}
|
|
85
|
+
sx={{ color: "orange" }}
|
|
86
|
+
/>
|
|
87
|
+
</div>
|
|
88
|
+
),
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export const DifferentSizes = {
|
|
92
|
+
render: () => (
|
|
93
|
+
<div style={{ display: "flex", gap: "16px", alignItems: "center" }}>
|
|
94
|
+
<Iconify icon="material-symbols:star" width={12} />
|
|
95
|
+
<Iconify icon="material-symbols:star" width={16} />
|
|
96
|
+
<Iconify icon="material-symbols:star" width={20} />
|
|
97
|
+
<Iconify icon="material-symbols:star" width={24} />
|
|
98
|
+
<Iconify icon="material-symbols:star" width={32} />
|
|
99
|
+
<Iconify icon="material-symbols:star" width={40} />
|
|
100
|
+
</div>
|
|
101
|
+
),
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export const PopularIcons = {
|
|
105
|
+
render: () => (
|
|
106
|
+
<div
|
|
107
|
+
style={{
|
|
108
|
+
display: "grid",
|
|
109
|
+
gridTemplateColumns: "repeat(6, 1fr)",
|
|
110
|
+
gap: "16px",
|
|
111
|
+
alignItems: "center",
|
|
112
|
+
justifyItems: "center",
|
|
113
|
+
padding: "16px",
|
|
114
|
+
}}
|
|
115
|
+
>
|
|
116
|
+
<Iconify icon="material-symbols:home" width={24} />
|
|
117
|
+
<Iconify icon="material-symbols:search" width={24} />
|
|
118
|
+
<Iconify icon="material-symbols:favorite" width={24} />
|
|
119
|
+
<Iconify icon="material-symbols:settings" width={24} />
|
|
120
|
+
<Iconify icon="material-symbols:person" width={24} />
|
|
121
|
+
<Iconify icon="material-symbols:notifications" width={24} />
|
|
122
|
+
<Iconify icon="material-symbols:mail" width={24} />
|
|
123
|
+
<Iconify icon="material-symbols:phone" width={24} />
|
|
124
|
+
<Iconify icon="material-symbols:location-on" width={24} />
|
|
125
|
+
<Iconify icon="material-symbols:calendar-today" width={24} />
|
|
126
|
+
<Iconify icon="material-symbols:shopping-cart" width={24} />
|
|
127
|
+
<Iconify icon="material-symbols:menu" width={24} />
|
|
128
|
+
</div>
|
|
129
|
+
),
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
export const WithAnimation = {
|
|
133
|
+
args: {
|
|
134
|
+
icon: "material-symbols:refresh",
|
|
135
|
+
width: 32,
|
|
136
|
+
sx: {
|
|
137
|
+
color: "primary.main",
|
|
138
|
+
animation: "spin 2s linear infinite",
|
|
139
|
+
"@keyframes spin": {
|
|
140
|
+
"0%": {
|
|
141
|
+
transform: "rotate(0deg)",
|
|
142
|
+
},
|
|
143
|
+
"100%": {
|
|
144
|
+
transform: "rotate(360deg)",
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export const InteractiveIcon = {
|
|
152
|
+
args: {
|
|
153
|
+
icon: "material-symbols:thumb-up",
|
|
154
|
+
width: 28,
|
|
155
|
+
sx: {
|
|
156
|
+
color: "text.secondary",
|
|
157
|
+
cursor: "pointer",
|
|
158
|
+
transition: "all 0.2s ease",
|
|
159
|
+
"&:hover": {
|
|
160
|
+
color: "primary.main",
|
|
161
|
+
transform: "scale(1.1)",
|
|
162
|
+
},
|
|
163
|
+
"&:active": {
|
|
164
|
+
transform: "scale(0.95)",
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
export const IconWithBackground = {
|
|
171
|
+
args: {
|
|
172
|
+
icon: "material-symbols:check",
|
|
173
|
+
width: 24,
|
|
174
|
+
sx: {
|
|
175
|
+
color: "white",
|
|
176
|
+
backgroundColor: "success.main",
|
|
177
|
+
borderRadius: "50%",
|
|
178
|
+
padding: "8px",
|
|
179
|
+
width: 40,
|
|
180
|
+
height: 40,
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
};
|
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
import Iconify from "../components/Iconify";
|
|
2
|
+
import Label from "../components/label";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Components/Label",
|
|
7
|
+
component: Label,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: "centered",
|
|
10
|
+
},
|
|
11
|
+
tags: ["autodocs"],
|
|
12
|
+
argTypes: {
|
|
13
|
+
children: {
|
|
14
|
+
control: "text",
|
|
15
|
+
description: "The content of the label",
|
|
16
|
+
},
|
|
17
|
+
color: {
|
|
18
|
+
control: "select",
|
|
19
|
+
options: [
|
|
20
|
+
"default",
|
|
21
|
+
"primary",
|
|
22
|
+
"secondary",
|
|
23
|
+
"info",
|
|
24
|
+
"success",
|
|
25
|
+
"warning",
|
|
26
|
+
"error",
|
|
27
|
+
],
|
|
28
|
+
description: "The color of the label",
|
|
29
|
+
},
|
|
30
|
+
variant: {
|
|
31
|
+
control: "select",
|
|
32
|
+
options: ["soft", "filled", "outlined"],
|
|
33
|
+
description: "The variant of the label",
|
|
34
|
+
},
|
|
35
|
+
startIcon: {
|
|
36
|
+
control: false,
|
|
37
|
+
description: "Icon to display at the start of the label",
|
|
38
|
+
},
|
|
39
|
+
endIcon: {
|
|
40
|
+
control: false,
|
|
41
|
+
description: "Icon to display at the end of the label",
|
|
42
|
+
},
|
|
43
|
+
sx: {
|
|
44
|
+
control: "object",
|
|
45
|
+
description: "MUI sx prop for custom styling",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
args: { onClick: () => {} },
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export const Default = {
|
|
52
|
+
args: {
|
|
53
|
+
children: "Default",
|
|
54
|
+
color: "default",
|
|
55
|
+
variant: "soft",
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export const Filled = {
|
|
60
|
+
args: {
|
|
61
|
+
children: "Filled",
|
|
62
|
+
color: "primary",
|
|
63
|
+
variant: "filled",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export const Outlined = {
|
|
68
|
+
args: {
|
|
69
|
+
children: "Outlined",
|
|
70
|
+
color: "primary",
|
|
71
|
+
variant: "outlined",
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export const Soft = {
|
|
76
|
+
args: {
|
|
77
|
+
children: "Soft",
|
|
78
|
+
color: "primary",
|
|
79
|
+
variant: "soft",
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export const AllColors = {
|
|
84
|
+
render: () => (
|
|
85
|
+
<div style={{ display: "flex", gap: "8px", flexWrap: "wrap" }}>
|
|
86
|
+
<Label color="default">Default</Label>
|
|
87
|
+
<Label color="primary">Primary</Label>
|
|
88
|
+
<Label color="secondary">Secondary</Label>
|
|
89
|
+
<Label color="info">Info</Label>
|
|
90
|
+
<Label color="success">Success</Label>
|
|
91
|
+
<Label color="warning">Warning</Label>
|
|
92
|
+
<Label color="error">Error</Label>
|
|
93
|
+
</div>
|
|
94
|
+
),
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export const AllVariants = {
|
|
98
|
+
render: () => (
|
|
99
|
+
<div style={{ display: "flex", flexDirection: "column", gap: "16px" }}>
|
|
100
|
+
<div style={{ display: "flex", gap: "8px", alignItems: "center" }}>
|
|
101
|
+
<strong style={{ minWidth: "80px" }}>Soft:</strong>
|
|
102
|
+
<Label color="primary" variant="soft">
|
|
103
|
+
Primary
|
|
104
|
+
</Label>
|
|
105
|
+
<Label color="success" variant="soft">
|
|
106
|
+
Success
|
|
107
|
+
</Label>
|
|
108
|
+
<Label color="warning" variant="soft">
|
|
109
|
+
Warning
|
|
110
|
+
</Label>
|
|
111
|
+
<Label color="error" variant="soft">
|
|
112
|
+
Error
|
|
113
|
+
</Label>
|
|
114
|
+
</div>
|
|
115
|
+
<div style={{ display: "flex", gap: "8px", alignItems: "center" }}>
|
|
116
|
+
<strong style={{ minWidth: "80px" }}>Filled:</strong>
|
|
117
|
+
<Label color="primary" variant="filled">
|
|
118
|
+
Primary
|
|
119
|
+
</Label>
|
|
120
|
+
<Label color="success" variant="filled">
|
|
121
|
+
Success
|
|
122
|
+
</Label>
|
|
123
|
+
<Label color="warning" variant="filled">
|
|
124
|
+
Warning
|
|
125
|
+
</Label>
|
|
126
|
+
<Label color="error" variant="filled">
|
|
127
|
+
Error
|
|
128
|
+
</Label>
|
|
129
|
+
</div>
|
|
130
|
+
<div style={{ display: "flex", gap: "8px", alignItems: "center" }}>
|
|
131
|
+
<strong style={{ minWidth: "80px" }}>Outlined:</strong>
|
|
132
|
+
<Label color="primary" variant="outlined">
|
|
133
|
+
Primary
|
|
134
|
+
</Label>
|
|
135
|
+
<Label color="success" variant="outlined">
|
|
136
|
+
Success
|
|
137
|
+
</Label>
|
|
138
|
+
<Label color="warning" variant="outlined">
|
|
139
|
+
Warning
|
|
140
|
+
</Label>
|
|
141
|
+
<Label color="error" variant="outlined">
|
|
142
|
+
Error
|
|
143
|
+
</Label>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
),
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export const WithStartIcon = {
|
|
150
|
+
args: {
|
|
151
|
+
children: "With Icon",
|
|
152
|
+
color: "primary",
|
|
153
|
+
variant: "soft",
|
|
154
|
+
startIcon: <Iconify icon="material-symbols:star" width={16} />,
|
|
155
|
+
},
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export const WithEndIcon = {
|
|
159
|
+
args: {
|
|
160
|
+
children: "With Icon",
|
|
161
|
+
color: "success",
|
|
162
|
+
variant: "filled",
|
|
163
|
+
endIcon: <Iconify icon="material-symbols:check" width={16} />,
|
|
164
|
+
},
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
export const WithBothIcons = {
|
|
168
|
+
args: {
|
|
169
|
+
children: "Both Icons",
|
|
170
|
+
color: "info",
|
|
171
|
+
variant: "outlined",
|
|
172
|
+
startIcon: <Iconify icon="material-symbols:info" width={16} />,
|
|
173
|
+
endIcon: <Iconify icon="material-symbols:arrow-forward" width={16} />,
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
export const StatusLabels = {
|
|
178
|
+
render: () => (
|
|
179
|
+
<div style={{ display: "flex", gap: "8px", flexWrap: "wrap" }}>
|
|
180
|
+
<Label
|
|
181
|
+
color="success"
|
|
182
|
+
variant="soft"
|
|
183
|
+
startIcon={<Iconify icon="material-symbols:check-circle" width={16} />}
|
|
184
|
+
>
|
|
185
|
+
Active
|
|
186
|
+
</Label>
|
|
187
|
+
<Label
|
|
188
|
+
color="warning"
|
|
189
|
+
variant="soft"
|
|
190
|
+
startIcon={<Iconify icon="material-symbols:schedule" width={16} />}
|
|
191
|
+
>
|
|
192
|
+
Pending
|
|
193
|
+
</Label>
|
|
194
|
+
<Label
|
|
195
|
+
color="error"
|
|
196
|
+
variant="soft"
|
|
197
|
+
startIcon={<Iconify icon="material-symbols:cancel" width={16} />}
|
|
198
|
+
>
|
|
199
|
+
Inactive
|
|
200
|
+
</Label>
|
|
201
|
+
<Label
|
|
202
|
+
color="info"
|
|
203
|
+
variant="soft"
|
|
204
|
+
startIcon={<Iconify icon="material-symbols:info" width={16} />}
|
|
205
|
+
>
|
|
206
|
+
Draft
|
|
207
|
+
</Label>
|
|
208
|
+
</div>
|
|
209
|
+
),
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
export const PriorityLabels = {
|
|
213
|
+
render: () => (
|
|
214
|
+
<div style={{ display: "flex", gap: "8px", flexWrap: "wrap" }}>
|
|
215
|
+
<Label
|
|
216
|
+
color="error"
|
|
217
|
+
variant="filled"
|
|
218
|
+
startIcon={<Iconify icon="material-symbols:priority-high" width={16} />}
|
|
219
|
+
>
|
|
220
|
+
High
|
|
221
|
+
</Label>
|
|
222
|
+
<Label
|
|
223
|
+
color="warning"
|
|
224
|
+
variant="filled"
|
|
225
|
+
startIcon={<Iconify icon="material-symbols:remove" width={16} />}
|
|
226
|
+
>
|
|
227
|
+
Medium
|
|
228
|
+
</Label>
|
|
229
|
+
<Label
|
|
230
|
+
color="success"
|
|
231
|
+
variant="filled"
|
|
232
|
+
startIcon={
|
|
233
|
+
<Iconify icon="material-symbols:keyboard-arrow-down" width={16} />
|
|
234
|
+
}
|
|
235
|
+
>
|
|
236
|
+
Low
|
|
237
|
+
</Label>
|
|
238
|
+
</div>
|
|
239
|
+
),
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
export const DifferentContent = {
|
|
243
|
+
render: () => (
|
|
244
|
+
<div
|
|
245
|
+
style={{
|
|
246
|
+
display: "flex",
|
|
247
|
+
gap: "8px",
|
|
248
|
+
flexWrap: "wrap",
|
|
249
|
+
alignItems: "center",
|
|
250
|
+
}}
|
|
251
|
+
>
|
|
252
|
+
<Label color="primary">Text</Label>
|
|
253
|
+
<Label color="secondary">123</Label>
|
|
254
|
+
<Label color="info">v2.1.0</Label>
|
|
255
|
+
<Label color="success">NEW</Label>
|
|
256
|
+
<Label color="warning">BETA</Label>
|
|
257
|
+
<Label color="error">DEPRECATED</Label>
|
|
258
|
+
</div>
|
|
259
|
+
),
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
export const WithCustomStyling = {
|
|
263
|
+
args: {
|
|
264
|
+
children: "Custom Style",
|
|
265
|
+
color: "secondary",
|
|
266
|
+
variant: "soft",
|
|
267
|
+
sx: {
|
|
268
|
+
fontSize: 14,
|
|
269
|
+
fontWeight: 600,
|
|
270
|
+
borderRadius: 2,
|
|
271
|
+
textTransform: "uppercase",
|
|
272
|
+
letterSpacing: 0.5,
|
|
273
|
+
minWidth: 100,
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
export const InteractiveLabels = {
|
|
279
|
+
render: () => (
|
|
280
|
+
<div style={{ display: "flex", gap: "8px", flexWrap: "wrap" }}>
|
|
281
|
+
<Label
|
|
282
|
+
color="primary"
|
|
283
|
+
variant="soft"
|
|
284
|
+
sx={{
|
|
285
|
+
cursor: "pointer",
|
|
286
|
+
transition: "all 0.2s ease",
|
|
287
|
+
"&:hover": {
|
|
288
|
+
transform: "scale(1.05)",
|
|
289
|
+
boxShadow: "0 2px 8px rgba(0,0,0,0.15)",
|
|
290
|
+
},
|
|
291
|
+
}}
|
|
292
|
+
>
|
|
293
|
+
Clickable
|
|
294
|
+
</Label>
|
|
295
|
+
<Label
|
|
296
|
+
color="success"
|
|
297
|
+
variant="outlined"
|
|
298
|
+
sx={{
|
|
299
|
+
cursor: "pointer",
|
|
300
|
+
transition: "all 0.2s ease",
|
|
301
|
+
"&:hover": {
|
|
302
|
+
backgroundColor: "success.main",
|
|
303
|
+
color: "success.contrastText",
|
|
304
|
+
},
|
|
305
|
+
}}
|
|
306
|
+
>
|
|
307
|
+
Hover Me
|
|
308
|
+
</Label>
|
|
309
|
+
</div>
|
|
310
|
+
),
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
export const DifferentSizes = {
|
|
314
|
+
render: () => (
|
|
315
|
+
<div
|
|
316
|
+
style={{
|
|
317
|
+
display: "flex",
|
|
318
|
+
gap: "12px",
|
|
319
|
+
alignItems: "center",
|
|
320
|
+
flexWrap: "wrap",
|
|
321
|
+
}}
|
|
322
|
+
>
|
|
323
|
+
<Label
|
|
324
|
+
color="primary"
|
|
325
|
+
variant="soft"
|
|
326
|
+
sx={{
|
|
327
|
+
height: 20,
|
|
328
|
+
fontSize: 10,
|
|
329
|
+
px: 0.5,
|
|
330
|
+
minWidth: 20,
|
|
331
|
+
}}
|
|
332
|
+
>
|
|
333
|
+
XS
|
|
334
|
+
</Label>
|
|
335
|
+
<Label
|
|
336
|
+
color="primary"
|
|
337
|
+
variant="soft"
|
|
338
|
+
sx={{
|
|
339
|
+
height: 22,
|
|
340
|
+
fontSize: 11,
|
|
341
|
+
px: 0.6,
|
|
342
|
+
minWidth: 22,
|
|
343
|
+
}}
|
|
344
|
+
>
|
|
345
|
+
SM
|
|
346
|
+
</Label>
|
|
347
|
+
<Label color="primary" variant="soft">
|
|
348
|
+
MD (Default)
|
|
349
|
+
</Label>
|
|
350
|
+
<Label
|
|
351
|
+
color="primary"
|
|
352
|
+
variant="soft"
|
|
353
|
+
sx={{
|
|
354
|
+
height: 28,
|
|
355
|
+
fontSize: 13,
|
|
356
|
+
px: 1,
|
|
357
|
+
minWidth: 28,
|
|
358
|
+
}}
|
|
359
|
+
>
|
|
360
|
+
LG
|
|
361
|
+
</Label>
|
|
362
|
+
<Label
|
|
363
|
+
color="primary"
|
|
364
|
+
variant="soft"
|
|
365
|
+
sx={{
|
|
366
|
+
height: 32,
|
|
367
|
+
fontSize: 14,
|
|
368
|
+
px: 1.2,
|
|
369
|
+
minWidth: 32,
|
|
370
|
+
}}
|
|
371
|
+
>
|
|
372
|
+
XL
|
|
373
|
+
</Label>
|
|
374
|
+
</div>
|
|
375
|
+
),
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
export const CategoryLabels = {
|
|
379
|
+
render: () => (
|
|
380
|
+
<div style={{ display: "flex", gap: "8px", flexWrap: "wrap" }}>
|
|
381
|
+
<Label
|
|
382
|
+
color="primary"
|
|
383
|
+
variant="soft"
|
|
384
|
+
startIcon={<Iconify icon="material-symbols:code" width={16} />}
|
|
385
|
+
>
|
|
386
|
+
Development
|
|
387
|
+
</Label>
|
|
388
|
+
<Label
|
|
389
|
+
color="secondary"
|
|
390
|
+
variant="soft"
|
|
391
|
+
startIcon={
|
|
392
|
+
<Iconify icon="material-symbols:design-services" width={16} />
|
|
393
|
+
}
|
|
394
|
+
>
|
|
395
|
+
Design
|
|
396
|
+
</Label>
|
|
397
|
+
<Label
|
|
398
|
+
color="info"
|
|
399
|
+
variant="soft"
|
|
400
|
+
startIcon={<Iconify icon="material-symbols:campaign" width={16} />}
|
|
401
|
+
>
|
|
402
|
+
Marketing
|
|
403
|
+
</Label>
|
|
404
|
+
<Label
|
|
405
|
+
color="success"
|
|
406
|
+
variant="soft"
|
|
407
|
+
startIcon={
|
|
408
|
+
<Iconify icon="material-symbols:account-balance" width={16} />
|
|
409
|
+
}
|
|
410
|
+
>
|
|
411
|
+
Finance
|
|
412
|
+
</Label>
|
|
413
|
+
<Label
|
|
414
|
+
color="warning"
|
|
415
|
+
variant="soft"
|
|
416
|
+
startIcon={<Iconify icon="material-symbols:support-agent" width={16} />}
|
|
417
|
+
>
|
|
418
|
+
Support
|
|
419
|
+
</Label>
|
|
420
|
+
</div>
|
|
421
|
+
),
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
export const BadgeUsage = {
|
|
425
|
+
render: () => (
|
|
426
|
+
<div style={{ display: "flex", flexDirection: "column", gap: "16px" }}>
|
|
427
|
+
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
|
|
428
|
+
<span>Notifications</span>
|
|
429
|
+
<Label color="error" variant="filled" sx={{ borderRadius: "50%" }}>
|
|
430
|
+
3
|
|
431
|
+
</Label>
|
|
432
|
+
</div>
|
|
433
|
+
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
|
|
434
|
+
<span>Messages</span>
|
|
435
|
+
<Label color="primary" variant="filled" sx={{ borderRadius: "50%" }}>
|
|
436
|
+
12
|
|
437
|
+
</Label>
|
|
438
|
+
</div>
|
|
439
|
+
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
|
|
440
|
+
<span>Tasks</span>
|
|
441
|
+
<Label color="warning" variant="filled" sx={{ borderRadius: "50%" }}>
|
|
442
|
+
5
|
|
443
|
+
</Label>
|
|
444
|
+
</div>
|
|
445
|
+
</div>
|
|
446
|
+
),
|
|
447
|
+
};
|