@shipfox/react-ui 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button-group/button-group.stories.js +4 -4
- package/dist/components/dashboard/components/charts/bar-chart.d.ts +39 -0
- package/dist/components/dashboard/components/charts/bar-chart.js +104 -0
- package/dist/components/dashboard/components/charts/chart-tooltip.d.ts +14 -0
- package/dist/components/dashboard/components/charts/chart-tooltip.js +45 -0
- package/dist/components/dashboard/components/charts/colors.d.ts +11 -0
- package/dist/components/dashboard/components/charts/colors.js +17 -0
- package/dist/components/dashboard/components/charts/index.d.ts +5 -0
- package/dist/components/dashboard/components/charts/index.js +6 -0
- package/dist/components/dashboard/components/charts/line-chart.d.ts +37 -0
- package/dist/components/dashboard/components/charts/line-chart.js +128 -0
- package/dist/components/dashboard/components/dashboard-alert.d.ts +8 -0
- package/dist/components/dashboard/components/dashboard-alert.js +24 -0
- package/dist/components/dashboard/components/kpi-card.d.ts +15 -0
- package/dist/components/dashboard/components/kpi-card.js +77 -0
- package/dist/components/dashboard/components/mobile-sidebar.d.ts +19 -0
- package/dist/components/dashboard/components/mobile-sidebar.js +50 -0
- package/dist/components/dashboard/components/organization-selector.d.ts +24 -1
- package/dist/components/dashboard/components/organization-selector.js +93 -70
- package/dist/components/dashboard/components/sidebar.d.ts +24 -0
- package/dist/components/dashboard/components/sidebar.js +218 -0
- package/dist/components/dashboard/context/dashboard-context.d.ts +70 -0
- package/dist/components/dashboard/context/dashboard-context.js +175 -0
- package/dist/components/dashboard/context/index.d.ts +8 -0
- package/dist/components/dashboard/context/index.js +6 -0
- package/dist/components/dashboard/context/types.d.ts +50 -0
- package/dist/components/dashboard/context/types.js +7 -0
- package/dist/components/dashboard/context/utils.d.ts +28 -0
- package/dist/components/dashboard/context/utils.js +53 -0
- package/dist/components/dashboard/dashboard.d.ts +27 -1
- package/dist/components/dashboard/dashboard.js +76 -36
- package/dist/components/dashboard/filters/expression-filter-bar.d.ts +42 -0
- package/dist/components/dashboard/filters/expression-filter-bar.js +80 -0
- package/dist/components/dashboard/filters/index.d.ts +6 -0
- package/dist/components/dashboard/filters/index.js +5 -0
- package/dist/components/dashboard/index.d.ts +25 -1
- package/dist/components/dashboard/index.js +22 -1
- package/dist/components/dashboard/pages/analytics-page.d.ts +20 -0
- package/dist/components/dashboard/pages/analytics-page.js +258 -0
- package/dist/components/dashboard/pages/index.d.ts +6 -0
- package/dist/components/dashboard/pages/index.js +6 -0
- package/dist/components/dashboard/pages/jobs-page.d.ts +20 -0
- package/dist/components/dashboard/pages/jobs-page.js +56 -0
- package/dist/components/dashboard/table/index.d.ts +6 -0
- package/dist/components/dashboard/table/index.js +5 -0
- package/dist/components/dashboard/table/table-wrapper.d.ts +104 -0
- package/dist/components/dashboard/table/table-wrapper.js +93 -0
- package/dist/components/dashboard/toolbar/filter-button.d.ts +12 -0
- package/dist/components/dashboard/toolbar/filter-button.js +124 -0
- package/dist/components/dashboard/toolbar/index.d.ts +13 -0
- package/dist/components/dashboard/toolbar/index.js +10 -0
- package/dist/components/dashboard/toolbar/page-toolbar.d.ts +75 -0
- package/dist/components/dashboard/toolbar/page-toolbar.js +208 -0
- package/dist/components/dashboard/toolbar/toolbar-actions.d.ts +52 -0
- package/dist/components/dashboard/toolbar/toolbar-actions.js +51 -0
- package/dist/components/dashboard/toolbar/toolbar-search.d.ts +21 -0
- package/dist/components/dashboard/toolbar/toolbar-search.js +123 -0
- package/dist/components/dashboard/toolbar/view-dropdown.d.ts +11 -0
- package/dist/components/dashboard/toolbar/view-dropdown.js +113 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/modal/modal.js +3 -3
- package/dist/components/search/search-inline.js +1 -1
- package/dist/components/search/search-modal.js +13 -7
- package/dist/components/select/select.d.ts +3 -1
- package/dist/components/select/select.js +2 -1
- package/dist/components/sheet/index.d.ts +2 -0
- package/dist/components/sheet/index.js +3 -0
- package/dist/components/sheet/sheet.d.ts +33 -0
- package/dist/components/sheet/sheet.js +163 -0
- package/dist/components/sheet/sheet.stories.js +368 -0
- package/dist/components/table/data-table.d.ts +15 -2
- package/dist/components/table/data-table.js +7 -2
- package/dist/styles.css +1 -1
- package/package.json +12 -4
- package/.storybook/main.ts +0 -35
- package/.storybook/preview.tsx +0 -66
- package/.storybook/vitest.setup.ts +0 -4
- package/.turbo/turbo-build.log +0 -19
- package/.turbo/turbo-check.log +0 -6
- package/.turbo/turbo-type.log +0 -5
- package/CHANGELOG.md +0 -114
- package/argos.config.ts +0 -33
- package/dist/build-css-entry.js.map +0 -1
- package/dist/colors.stories.conts.d.ts.map +0 -1
- package/dist/colors.stories.conts.js.map +0 -1
- package/dist/colors.stories.js.map +0 -1
- package/dist/components/alert/alert.d.ts.map +0 -1
- package/dist/components/alert/alert.js.map +0 -1
- package/dist/components/alert/alert.stories.js.map +0 -1
- package/dist/components/alert/index.d.ts.map +0 -1
- package/dist/components/alert/index.js.map +0 -1
- package/dist/components/avatar/avatar-group.d.ts.map +0 -1
- package/dist/components/avatar/avatar-group.js.map +0 -1
- package/dist/components/avatar/avatar.d.ts.map +0 -1
- package/dist/components/avatar/avatar.js.map +0 -1
- package/dist/components/avatar/avatar.stories.js.map +0 -1
- package/dist/components/avatar/index.d.ts.map +0 -1
- package/dist/components/avatar/index.js.map +0 -1
- package/dist/components/badge/badge.d.ts.map +0 -1
- package/dist/components/badge/badge.js.map +0 -1
- package/dist/components/badge/badge.stories.js.map +0 -1
- package/dist/components/badge/icon-badge.d.ts.map +0 -1
- package/dist/components/badge/icon-badge.js.map +0 -1
- package/dist/components/badge/index.d.ts.map +0 -1
- package/dist/components/badge/index.js.map +0 -1
- package/dist/components/badge/status-badge.d.ts.map +0 -1
- package/dist/components/badge/status-badge.js.map +0 -1
- package/dist/components/badge/user-badge.d.ts.map +0 -1
- package/dist/components/badge/user-badge.js.map +0 -1
- package/dist/components/button/button-link.d.ts.map +0 -1
- package/dist/components/button/button-link.js.map +0 -1
- package/dist/components/button/button-link.stories.js.map +0 -1
- package/dist/components/button/button.d.ts.map +0 -1
- package/dist/components/button/button.js.map +0 -1
- package/dist/components/button/button.stories.js.map +0 -1
- package/dist/components/button/icon-button.d.ts.map +0 -1
- package/dist/components/button/icon-button.js.map +0 -1
- package/dist/components/button/icon-button.stories.js.map +0 -1
- package/dist/components/button/index.d.ts.map +0 -1
- package/dist/components/button/index.js.map +0 -1
- package/dist/components/button-group/button-group.d.ts.map +0 -1
- package/dist/components/button-group/button-group.js.map +0 -1
- package/dist/components/button-group/button-group.stories.js.map +0 -1
- package/dist/components/button-group/index.d.ts.map +0 -1
- package/dist/components/button-group/index.js.map +0 -1
- package/dist/components/calendar/calendar.d.ts.map +0 -1
- package/dist/components/calendar/calendar.js.map +0 -1
- package/dist/components/calendar/index.d.ts.map +0 -1
- package/dist/components/calendar/index.js.map +0 -1
- package/dist/components/checkbox/checkbox-label.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox-label.js.map +0 -1
- package/dist/components/checkbox/checkbox-links.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox-links.js.map +0 -1
- package/dist/components/checkbox/checkbox.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox.js.map +0 -1
- package/dist/components/checkbox/checkbox.stories.js.map +0 -1
- package/dist/components/checkbox/index.d.ts.map +0 -1
- package/dist/components/checkbox/index.js.map +0 -1
- package/dist/components/code-block/code-block-footer.d.ts.map +0 -1
- package/dist/components/code-block/code-block-footer.js.map +0 -1
- package/dist/components/code-block/code-block.d.ts.map +0 -1
- package/dist/components/code-block/code-block.js.map +0 -1
- package/dist/components/code-block/code-block.stories.js.map +0 -1
- package/dist/components/code-block/code-content.d.ts.map +0 -1
- package/dist/components/code-block/code-content.js.map +0 -1
- package/dist/components/code-block/code-copy-button.d.ts.map +0 -1
- package/dist/components/code-block/code-copy-button.js.map +0 -1
- package/dist/components/code-block/code-tabs.d.ts.map +0 -1
- package/dist/components/code-block/code-tabs.js.map +0 -1
- package/dist/components/code-block/index.d.ts.map +0 -1
- package/dist/components/code-block/index.js.map +0 -1
- package/dist/components/command/command.d.ts.map +0 -1
- package/dist/components/command/command.js.map +0 -1
- package/dist/components/command/command.stories.js.map +0 -1
- package/dist/components/command/index.d.ts.map +0 -1
- package/dist/components/command/index.js.map +0 -1
- package/dist/components/confetti/confetti.d.ts.map +0 -1
- package/dist/components/confetti/confetti.js.map +0 -1
- package/dist/components/confetti/confetti.stories.js.map +0 -1
- package/dist/components/confetti/index.d.ts.map +0 -1
- package/dist/components/confetti/index.js.map +0 -1
- package/dist/components/dashboard/components/analytics-content.d.ts +0 -2
- package/dist/components/dashboard/components/analytics-content.d.ts.map +0 -1
- package/dist/components/dashboard/components/analytics-content.js +0 -180
- package/dist/components/dashboard/components/analytics-content.js.map +0 -1
- package/dist/components/dashboard/components/animated-logo.d.ts.map +0 -1
- package/dist/components/dashboard/components/animated-logo.js.map +0 -1
- package/dist/components/dashboard/components/complete-setup-button.d.ts.map +0 -1
- package/dist/components/dashboard/components/complete-setup-button.js.map +0 -1
- package/dist/components/dashboard/components/jobs-content.d.ts +0 -2
- package/dist/components/dashboard/components/jobs-content.d.ts.map +0 -1
- package/dist/components/dashboard/components/jobs-content.js +0 -69
- package/dist/components/dashboard/components/jobs-content.js.map +0 -1
- package/dist/components/dashboard/components/mobile-menu.d.ts.map +0 -1
- package/dist/components/dashboard/components/mobile-menu.js.map +0 -1
- package/dist/components/dashboard/components/organization-selector.d.ts.map +0 -1
- package/dist/components/dashboard/components/organization-selector.js.map +0 -1
- package/dist/components/dashboard/components/top-menu.d.ts.map +0 -1
- package/dist/components/dashboard/components/top-menu.js.map +0 -1
- package/dist/components/dashboard/components/topbar-button.d.ts.map +0 -1
- package/dist/components/dashboard/components/topbar-button.js.map +0 -1
- package/dist/components/dashboard/components/topbar.d.ts.map +0 -1
- package/dist/components/dashboard/components/topbar.js.map +0 -1
- package/dist/components/dashboard/components/user-profile.d.ts.map +0 -1
- package/dist/components/dashboard/components/user-profile.js.map +0 -1
- package/dist/components/dashboard/dashboard.d.ts.map +0 -1
- package/dist/components/dashboard/dashboard.js.map +0 -1
- package/dist/components/dashboard/dashboard.stories.js.map +0 -1
- package/dist/components/dashboard/index.d.ts.map +0 -1
- package/dist/components/dashboard/index.js.map +0 -1
- package/dist/components/date-picker/date-picker.d.ts.map +0 -1
- package/dist/components/date-picker/date-picker.js.map +0 -1
- package/dist/components/date-picker/date-picker.stories.js.map +0 -1
- package/dist/components/date-picker/index.d.ts.map +0 -1
- package/dist/components/date-picker/index.js.map +0 -1
- package/dist/components/date-time-range-picker/date-time-range-picker.d.ts.map +0 -1
- package/dist/components/date-time-range-picker/date-time-range-picker.js.map +0 -1
- package/dist/components/date-time-range-picker/index.d.ts.map +0 -1
- package/dist/components/date-time-range-picker/index.js.map +0 -1
- package/dist/components/dot-grid/dot-grid.d.ts.map +0 -1
- package/dist/components/dot-grid/dot-grid.js.map +0 -1
- package/dist/components/dot-grid/index.d.ts.map +0 -1
- package/dist/components/dot-grid/index.js.map +0 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +0 -1
- package/dist/components/dropdown-menu/dropdown-menu.js.map +0 -1
- package/dist/components/dropdown-menu/dropdown-menu.stories.js.map +0 -1
- package/dist/components/dropdown-menu/index.d.ts.map +0 -1
- package/dist/components/dropdown-menu/index.js.map +0 -1
- package/dist/components/dynamic-item/dynamic-item.d.ts.map +0 -1
- package/dist/components/dynamic-item/dynamic-item.js.map +0 -1
- package/dist/components/dynamic-item/dynamic-item.stories.js.map +0 -1
- package/dist/components/dynamic-item/index.d.ts.map +0 -1
- package/dist/components/dynamic-item/index.js.map +0 -1
- package/dist/components/form/form.d.ts.map +0 -1
- package/dist/components/form/form.js.map +0 -1
- package/dist/components/form/form.stories.js.map +0 -1
- package/dist/components/form/index.d.ts.map +0 -1
- package/dist/components/form/index.js.map +0 -1
- package/dist/components/icon/custom/badge.d.ts.map +0 -1
- package/dist/components/icon/custom/badge.js.map +0 -1
- package/dist/components/icon/custom/check-circle-solid.d.ts.map +0 -1
- package/dist/components/icon/custom/check-circle-solid.js.map +0 -1
- package/dist/components/icon/custom/circle-dotted-line.d.ts.map +0 -1
- package/dist/components/icon/custom/circle-dotted-line.js.map +0 -1
- package/dist/components/icon/custom/component-fill.d.ts.map +0 -1
- package/dist/components/icon/custom/component-fill.js.map +0 -1
- package/dist/components/icon/custom/component-line.d.ts.map +0 -1
- package/dist/components/icon/custom/component-line.js.map +0 -1
- package/dist/components/icon/custom/ellipse-mini-solid.d.ts.map +0 -1
- package/dist/components/icon/custom/ellipse-mini-solid.js.map +0 -1
- package/dist/components/icon/custom/index.d.ts.map +0 -1
- package/dist/components/icon/custom/index.js.map +0 -1
- package/dist/components/icon/custom/info-tooltip-fill.d.ts.map +0 -1
- package/dist/components/icon/custom/info-tooltip-fill.js.map +0 -1
- package/dist/components/icon/custom/resize.d.ts.map +0 -1
- package/dist/components/icon/custom/resize.js.map +0 -1
- package/dist/components/icon/custom/shipfox-logo.d.ts.map +0 -1
- package/dist/components/icon/custom/shipfox-logo.js.map +0 -1
- package/dist/components/icon/custom/slack-logo.d.ts.map +0 -1
- package/dist/components/icon/custom/slack-logo.js.map +0 -1
- package/dist/components/icon/custom/spinner.d.ts.map +0 -1
- package/dist/components/icon/custom/spinner.js.map +0 -1
- package/dist/components/icon/custom/stripe-logo.d.ts.map +0 -1
- package/dist/components/icon/custom/stripe-logo.js.map +0 -1
- package/dist/components/icon/custom/thunder.d.ts.map +0 -1
- package/dist/components/icon/custom/thunder.js.map +0 -1
- package/dist/components/icon/custom/x-circle-solid.d.ts.map +0 -1
- package/dist/components/icon/custom/x-circle-solid.js.map +0 -1
- package/dist/components/icon/icon.d.ts.map +0 -1
- package/dist/components/icon/icon.js.map +0 -1
- package/dist/components/icon/icon.stories.js.map +0 -1
- package/dist/components/icon/index.d.ts.map +0 -1
- package/dist/components/icon/index.js.map +0 -1
- package/dist/components/icon/remixicon-registry.d.ts.map +0 -1
- package/dist/components/icon/remixicon-registry.js.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/inline-tips/index.d.ts.map +0 -1
- package/dist/components/inline-tips/index.js.map +0 -1
- package/dist/components/inline-tips/inline-tips.d.ts.map +0 -1
- package/dist/components/inline-tips/inline-tips.js.map +0 -1
- package/dist/components/inline-tips/inline-tips.stories.js.map +0 -1
- package/dist/components/input/index.d.ts.map +0 -1
- package/dist/components/input/index.js.map +0 -1
- package/dist/components/input/input.d.ts.map +0 -1
- package/dist/components/input/input.js.map +0 -1
- package/dist/components/input/input.stories.js.map +0 -1
- package/dist/components/item/index.d.ts.map +0 -1
- package/dist/components/item/index.js.map +0 -1
- package/dist/components/item/item.d.ts.map +0 -1
- package/dist/components/item/item.js.map +0 -1
- package/dist/components/item/item.stories.js.map +0 -1
- package/dist/components/kbd/index.d.ts.map +0 -1
- package/dist/components/kbd/index.js.map +0 -1
- package/dist/components/kbd/kbd.d.ts.map +0 -1
- package/dist/components/kbd/kbd.js.map +0 -1
- package/dist/components/kbd/kbd.stories.js.map +0 -1
- package/dist/components/label/index.d.ts.map +0 -1
- package/dist/components/label/index.js.map +0 -1
- package/dist/components/label/label.d.ts.map +0 -1
- package/dist/components/label/label.js.map +0 -1
- package/dist/components/label/label.stories.js.map +0 -1
- package/dist/components/modal/index.d.ts.map +0 -1
- package/dist/components/modal/index.js.map +0 -1
- package/dist/components/modal/modal.d.ts.map +0 -1
- package/dist/components/modal/modal.js.map +0 -1
- package/dist/components/modal/modal.stories.js.map +0 -1
- package/dist/components/moving-border/index.d.ts.map +0 -1
- package/dist/components/moving-border/index.js.map +0 -1
- package/dist/components/moving-border/moving-border.d.ts.map +0 -1
- package/dist/components/moving-border/moving-border.js.map +0 -1
- package/dist/components/popover/index.d.ts.map +0 -1
- package/dist/components/popover/index.js.map +0 -1
- package/dist/components/popover/popover.d.ts.map +0 -1
- package/dist/components/popover/popover.js.map +0 -1
- package/dist/components/search/index.d.ts.map +0 -1
- package/dist/components/search/index.js.map +0 -1
- package/dist/components/search/search-context.d.ts.map +0 -1
- package/dist/components/search/search-context.js.map +0 -1
- package/dist/components/search/search-inline.d.ts.map +0 -1
- package/dist/components/search/search-inline.js.map +0 -1
- package/dist/components/search/search-modal.d.ts.map +0 -1
- package/dist/components/search/search-modal.js.map +0 -1
- package/dist/components/search/search-trigger.d.ts.map +0 -1
- package/dist/components/search/search-trigger.js.map +0 -1
- package/dist/components/search/search-variants.d.ts.map +0 -1
- package/dist/components/search/search-variants.js.map +0 -1
- package/dist/components/search/search.d.ts.map +0 -1
- package/dist/components/search/search.js.map +0 -1
- package/dist/components/search/search.stories.js.map +0 -1
- package/dist/components/select/index.d.ts.map +0 -1
- package/dist/components/select/index.js.map +0 -1
- package/dist/components/select/select.d.ts.map +0 -1
- package/dist/components/select/select.js.map +0 -1
- package/dist/components/select/select.stories.js.map +0 -1
- package/dist/components/shiny-text/index.d.ts.map +0 -1
- package/dist/components/shiny-text/index.js.map +0 -1
- package/dist/components/shiny-text/shiny-text.d.ts.map +0 -1
- package/dist/components/shiny-text/shiny-text.js.map +0 -1
- package/dist/components/skeleton/index.d.ts.map +0 -1
- package/dist/components/skeleton/index.js.map +0 -1
- package/dist/components/skeleton/skeleton.d.ts.map +0 -1
- package/dist/components/skeleton/skeleton.js.map +0 -1
- package/dist/components/skeleton/skeleton.stories.js.map +0 -1
- package/dist/components/table/data-table.d.ts.map +0 -1
- package/dist/components/table/data-table.js.map +0 -1
- package/dist/components/table/index.d.ts.map +0 -1
- package/dist/components/table/index.js.map +0 -1
- package/dist/components/table/table-column-header.d.ts.map +0 -1
- package/dist/components/table/table-column-header.js.map +0 -1
- package/dist/components/table/table-pagination.d.ts.map +0 -1
- package/dist/components/table/table-pagination.js.map +0 -1
- package/dist/components/table/table.d.ts.map +0 -1
- package/dist/components/table/table.js.map +0 -1
- package/dist/components/table/table.stories.columns.d.ts.map +0 -1
- package/dist/components/table/table.stories.columns.js.map +0 -1
- package/dist/components/table/table.stories.components.d.ts.map +0 -1
- package/dist/components/table/table.stories.components.js.map +0 -1
- package/dist/components/table/table.stories.data.d.ts.map +0 -1
- package/dist/components/table/table.stories.data.js.map +0 -1
- package/dist/components/table/table.stories.js.map +0 -1
- package/dist/components/tabs/index.d.ts.map +0 -1
- package/dist/components/tabs/index.js.map +0 -1
- package/dist/components/tabs/tabs.d.ts.map +0 -1
- package/dist/components/tabs/tabs.js.map +0 -1
- package/dist/components/tabs/tabs.stories.js.map +0 -1
- package/dist/components/textarea/index.d.ts.map +0 -1
- package/dist/components/textarea/index.js.map +0 -1
- package/dist/components/textarea/textarea.d.ts.map +0 -1
- package/dist/components/textarea/textarea.js.map +0 -1
- package/dist/components/textarea/textarea.stories.js.map +0 -1
- package/dist/components/theme/index.d.ts.map +0 -1
- package/dist/components/theme/index.js.map +0 -1
- package/dist/components/theme/theme-provider.d.ts.map +0 -1
- package/dist/components/theme/theme-provider.js.map +0 -1
- package/dist/components/toast/index.d.ts.map +0 -1
- package/dist/components/toast/index.js.map +0 -1
- package/dist/components/toast/toast-custom.d.ts.map +0 -1
- package/dist/components/toast/toast-custom.js.map +0 -1
- package/dist/components/toast/toast.d.ts.map +0 -1
- package/dist/components/toast/toast.js.map +0 -1
- package/dist/components/toast/toast.stories.js.map +0 -1
- package/dist/components/tooltip/index.d.ts.map +0 -1
- package/dist/components/tooltip/index.js.map +0 -1
- package/dist/components/tooltip/tooltip.d.ts.map +0 -1
- package/dist/components/tooltip/tooltip.js.map +0 -1
- package/dist/components/tooltip/tooltip.stories.js.map +0 -1
- package/dist/components/typography/code.d.ts.map +0 -1
- package/dist/components/typography/code.js.map +0 -1
- package/dist/components/typography/code.stories.js.map +0 -1
- package/dist/components/typography/header.d.ts.map +0 -1
- package/dist/components/typography/header.js.map +0 -1
- package/dist/components/typography/header.stories.js.map +0 -1
- package/dist/components/typography/index.d.ts.map +0 -1
- package/dist/components/typography/index.js.map +0 -1
- package/dist/components/typography/text.d.ts.map +0 -1
- package/dist/components/typography/text.js.map +0 -1
- package/dist/components/typography/text.stories.js.map +0 -1
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/useCopy.d.ts.map +0 -1
- package/dist/hooks/useCopy.js.map +0 -1
- package/dist/hooks/useCopyToClipboard.d.ts.map +0 -1
- package/dist/hooks/useCopyToClipboard.js.map +0 -1
- package/dist/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/hooks/useMediaQuery.js.map +0 -1
- package/dist/hooks/useResolvedTheme.d.ts.map +0 -1
- package/dist/hooks/useResolvedTheme.js.map +0 -1
- package/dist/hooks/useShikiHighlight.d.ts.map +0 -1
- package/dist/hooks/useShikiHighlight.js.map +0 -1
- package/dist/hooks/useShikiStyleInjection.d.ts.map +0 -1
- package/dist/hooks/useShikiStyleInjection.js.map +0 -1
- package/dist/hooks/useTheme.d.ts.map +0 -1
- package/dist/hooks/useTheme.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/onboarding/sign-in.stories.js.map +0 -1
- package/dist/state/theme.d.ts.map +0 -1
- package/dist/state/theme.js.map +0 -1
- package/dist/utils/avatar.d.ts.map +0 -1
- package/dist/utils/avatar.js.map +0 -1
- package/dist/utils/clipboard.d.ts.map +0 -1
- package/dist/utils/clipboard.js.map +0 -1
- package/dist/utils/cn.d.ts.map +0 -1
- package/dist/utils/cn.js.map +0 -1
- package/dist/utils/date.d.ts.map +0 -1
- package/dist/utils/date.js.map +0 -1
- package/dist/utils/debounce.d.ts.map +0 -1
- package/dist/utils/debounce.js.map +0 -1
- package/dist/utils/format/chart.d.ts.map +0 -1
- package/dist/utils/format/chart.js.map +0 -1
- package/dist/utils/format/date.d.ts.map +0 -1
- package/dist/utils/format/date.js.map +0 -1
- package/dist/utils/format/duration.d.ts.map +0 -1
- package/dist/utils/format/duration.js.map +0 -1
- package/dist/utils/format/index.d.ts.map +0 -1
- package/dist/utils/format/index.js.map +0 -1
- package/dist/utils/format/number.d.ts.map +0 -1
- package/dist/utils/format/number.js.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js.map +0 -1
- package/index.css +0 -1018
- package/src/assets/illustration-1.svg +0 -92
- package/src/assets/illustration-2.svg +0 -14
- package/src/assets/illustration-gradient.svg +0 -7049
- package/src/build-css-entry.ts +0 -3
- package/src/colors.stories.conts.ts +0 -164
- package/src/colors.stories.tsx +0 -66
- package/src/components/alert/alert.stories.tsx +0 -178
- package/src/components/alert/alert.tsx +0 -291
- package/src/components/alert/index.ts +0 -1
- package/src/components/avatar/avatar-group.tsx +0 -186
- package/src/components/avatar/avatar.stories.tsx +0 -179
- package/src/components/avatar/avatar.tsx +0 -219
- package/src/components/avatar/index.ts +0 -2
- package/src/components/badge/badge.stories.tsx +0 -468
- package/src/components/badge/badge.tsx +0 -147
- package/src/components/badge/icon-badge.tsx +0 -43
- package/src/components/badge/index.ts +0 -4
- package/src/components/badge/status-badge.tsx +0 -43
- package/src/components/badge/user-badge.tsx +0 -34
- package/src/components/button/button-link.stories.tsx +0 -86
- package/src/components/button/button-link.tsx +0 -76
- package/src/components/button/button.stories.tsx +0 -138
- package/src/components/button/button.tsx +0 -91
- package/src/components/button/icon-button.stories.tsx +0 -228
- package/src/components/button/icon-button.tsx +0 -95
- package/src/components/button/index.ts +0 -3
- package/src/components/button-group/button-group.stories.tsx +0 -361
- package/src/components/button-group/button-group.tsx +0 -111
- package/src/components/button-group/index.ts +0 -1
- package/src/components/calendar/calendar.tsx +0 -90
- package/src/components/calendar/index.ts +0 -1
- package/src/components/checkbox/checkbox-label.tsx +0 -125
- package/src/components/checkbox/checkbox-links.tsx +0 -92
- package/src/components/checkbox/checkbox.stories.tsx +0 -391
- package/src/components/checkbox/checkbox.tsx +0 -71
- package/src/components/checkbox/index.ts +0 -3
- package/src/components/code-block/code-block-footer.tsx +0 -197
- package/src/components/code-block/code-block.stories.tsx +0 -323
- package/src/components/code-block/code-block.tsx +0 -283
- package/src/components/code-block/code-content.tsx +0 -63
- package/src/components/code-block/code-copy-button.tsx +0 -73
- package/src/components/code-block/code-tabs.tsx +0 -170
- package/src/components/code-block/index.ts +0 -3
- package/src/components/command/command.stories.tsx +0 -133
- package/src/components/command/command.tsx +0 -265
- package/src/components/command/index.ts +0 -1
- package/src/components/confetti/confetti.stories.tsx +0 -38
- package/src/components/confetti/confetti.tsx +0 -140
- package/src/components/confetti/index.ts +0 -1
- package/src/components/dashboard/components/analytics-content.tsx +0 -102
- package/src/components/dashboard/components/animated-logo.tsx +0 -25
- package/src/components/dashboard/components/complete-setup-button.tsx +0 -30
- package/src/components/dashboard/components/jobs-content.tsx +0 -51
- package/src/components/dashboard/components/mobile-menu.tsx +0 -50
- package/src/components/dashboard/components/organization-selector.tsx +0 -51
- package/src/components/dashboard/components/top-menu.tsx +0 -26
- package/src/components/dashboard/components/topbar-button.tsx +0 -27
- package/src/components/dashboard/components/topbar.tsx +0 -40
- package/src/components/dashboard/components/user-profile.tsx +0 -90
- package/src/components/dashboard/dashboard.stories.tsx +0 -25
- package/src/components/dashboard/dashboard.tsx +0 -61
- package/src/components/dashboard/index.ts +0 -1
- package/src/components/date-picker/date-picker.stories.tsx +0 -230
- package/src/components/date-picker/date-picker.tsx +0 -179
- package/src/components/date-picker/index.ts +0 -1
- package/src/components/date-time-range-picker/date-time-range-picker.tsx +0 -211
- package/src/components/date-time-range-picker/index.ts +0 -1
- package/src/components/dot-grid/dot-grid.tsx +0 -325
- package/src/components/dot-grid/index.ts +0 -1
- package/src/components/dropdown-menu/dropdown-menu.stories.tsx +0 -384
- package/src/components/dropdown-menu/dropdown-menu.tsx +0 -416
- package/src/components/dropdown-menu/index.ts +0 -1
- package/src/components/dynamic-item/dynamic-item.stories.tsx +0 -266
- package/src/components/dynamic-item/dynamic-item.tsx +0 -74
- package/src/components/dynamic-item/index.ts +0 -1
- package/src/components/form/form.stories.tsx +0 -505
- package/src/components/form/form.tsx +0 -154
- package/src/components/form/index.ts +0 -1
- package/src/components/icon/custom/badge.tsx +0 -17
- package/src/components/icon/custom/check-circle-solid.tsx +0 -24
- package/src/components/icon/custom/circle-dotted-line.tsx +0 -17
- package/src/components/icon/custom/component-fill.tsx +0 -17
- package/src/components/icon/custom/component-line.tsx +0 -17
- package/src/components/icon/custom/ellipse-mini-solid.tsx +0 -17
- package/src/components/icon/custom/index.ts +0 -14
- package/src/components/icon/custom/info-tooltip-fill.tsx +0 -21
- package/src/components/icon/custom/resize.tsx +0 -17
- package/src/components/icon/custom/shipfox-logo.tsx +0 -20
- package/src/components/icon/custom/slack-logo.tsx +0 -35
- package/src/components/icon/custom/spinner.tsx +0 -144
- package/src/components/icon/custom/stripe-logo.tsx +0 -27
- package/src/components/icon/custom/thunder.tsx +0 -17
- package/src/components/icon/custom/x-circle-solid.tsx +0 -24
- package/src/components/icon/icon.stories.tsx +0 -31
- package/src/components/icon/icon.tsx +0 -90
- package/src/components/icon/index.ts +0 -1
- package/src/components/icon/remixicon-registry.ts +0 -24
- package/src/components/index.ts +0 -36
- package/src/components/inline-tips/index.ts +0 -1
- package/src/components/inline-tips/inline-tips.stories.tsx +0 -131
- package/src/components/inline-tips/inline-tips.tsx +0 -132
- package/src/components/input/index.ts +0 -1
- package/src/components/input/input.stories.tsx +0 -138
- package/src/components/input/input.tsx +0 -43
- package/src/components/item/index.ts +0 -1
- package/src/components/item/item.stories.tsx +0 -159
- package/src/components/item/item.tsx +0 -182
- package/src/components/kbd/index.ts +0 -1
- package/src/components/kbd/kbd.stories.tsx +0 -64
- package/src/components/kbd/kbd.tsx +0 -32
- package/src/components/label/index.ts +0 -1
- package/src/components/label/label.stories.tsx +0 -67
- package/src/components/label/label.tsx +0 -15
- package/src/components/modal/index.ts +0 -1
- package/src/components/modal/modal.stories.tsx +0 -448
- package/src/components/modal/modal.tsx +0 -311
- package/src/components/moving-border/index.ts +0 -1
- package/src/components/moving-border/moving-border.tsx +0 -67
- package/src/components/popover/index.ts +0 -1
- package/src/components/popover/popover.tsx +0 -60
- package/src/components/renovate.json +0 -23
- package/src/components/search/index.ts +0 -28
- package/src/components/search/search-context.tsx +0 -78
- package/src/components/search/search-inline.tsx +0 -107
- package/src/components/search/search-modal.tsx +0 -198
- package/src/components/search/search-trigger.tsx +0 -47
- package/src/components/search/search-variants.ts +0 -88
- package/src/components/search/search.stories.tsx +0 -392
- package/src/components/search/search.tsx +0 -47
- package/src/components/select/index.ts +0 -1
- package/src/components/select/select.stories.tsx +0 -207
- package/src/components/select/select.tsx +0 -220
- package/src/components/shiny-text/index.ts +0 -1
- package/src/components/shiny-text/shiny-text.tsx +0 -21
- package/src/components/skeleton/index.ts +0 -1
- package/src/components/skeleton/skeleton.stories.tsx +0 -178
- package/src/components/skeleton/skeleton.tsx +0 -14
- package/src/components/table/data-table.tsx +0 -254
- package/src/components/table/index.ts +0 -5
- package/src/components/table/table-column-header.tsx +0 -141
- package/src/components/table/table-pagination.tsx +0 -161
- package/src/components/table/table.stories.columns.tsx +0 -198
- package/src/components/table/table.stories.components.tsx +0 -104
- package/src/components/table/table.stories.data.ts +0 -117
- package/src/components/table/table.stories.tsx +0 -256
- package/src/components/table/table.tsx +0 -95
- package/src/components/tabs/index.ts +0 -1
- package/src/components/tabs/tabs.stories.tsx +0 -100
- package/src/components/tabs/tabs.tsx +0 -380
- package/src/components/textarea/index.ts +0 -1
- package/src/components/textarea/textarea.stories.tsx +0 -196
- package/src/components/textarea/textarea.tsx +0 -42
- package/src/components/theme/index.ts +0 -1
- package/src/components/theme/theme-provider.tsx +0 -50
- package/src/components/toast/index.ts +0 -2
- package/src/components/toast/toast-custom.tsx +0 -154
- package/src/components/toast/toast.stories.tsx +0 -369
- package/src/components/toast/toast.tsx +0 -41
- package/src/components/tooltip/index.ts +0 -1
- package/src/components/tooltip/tooltip.stories.tsx +0 -284
- package/src/components/tooltip/tooltip.tsx +0 -121
- package/src/components/typography/code.stories.tsx +0 -36
- package/src/components/typography/code.tsx +0 -38
- package/src/components/typography/header.stories.tsx +0 -27
- package/src/components/typography/header.tsx +0 -41
- package/src/components/typography/index.ts +0 -3
- package/src/components/typography/text.stories.tsx +0 -67
- package/src/components/typography/text.tsx +0 -50
- package/src/hooks/index.ts +0 -6
- package/src/hooks/useCopy.ts +0 -0
- package/src/hooks/useCopyToClipboard.ts +0 -20
- package/src/hooks/useMediaQuery.ts +0 -87
- package/src/hooks/useResolvedTheme.ts +0 -34
- package/src/hooks/useShikiHighlight.ts +0 -140
- package/src/hooks/useShikiStyleInjection.ts +0 -34
- package/src/hooks/useTheme.ts +0 -10
- package/src/index.ts +0 -4
- package/src/onboarding/sign-in.stories.tsx +0 -85
- package/src/state/theme.ts +0 -15
- package/src/utils/avatar.ts +0 -27
- package/src/utils/clipboard.ts +0 -4
- package/src/utils/cn.ts +0 -6
- package/src/utils/date.test.ts +0 -119
- package/src/utils/date.ts +0 -99
- package/src/utils/debounce.ts +0 -15
- package/src/utils/format/chart.ts +0 -16
- package/src/utils/format/date.test.ts +0 -65
- package/src/utils/format/date.ts +0 -75
- package/src/utils/format/duration.test.ts +0 -58
- package/src/utils/format/duration.ts +0 -82
- package/src/utils/format/index.ts +0 -4
- package/src/utils/format/number.test.ts +0 -38
- package/src/utils/format/number.ts +0 -33
- package/src/utils/index.ts +0 -6
- package/test/global.ts +0 -3
- package/test/setup.ts +0 -9
- package/tsconfig.build.json +0 -19
- package/tsconfig.json +0 -11
- package/tsconfig.test.json +0 -12
- package/vercel.json +0 -8
- package/vite.css.config.ts +0 -30
- package/vitest.config.ts +0 -44
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import {Slot} from '@radix-ui/react-slot';
|
|
2
|
-
import {Label} from 'components/label';
|
|
3
|
-
import type {ComponentProps} from 'react';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import type {ControllerProps, FieldPath, FieldValues} from 'react-hook-form';
|
|
6
|
-
import {Controller, FormProvider, useFormContext} from 'react-hook-form';
|
|
7
|
-
import {cn} from 'utils/cn';
|
|
8
|
-
|
|
9
|
-
const Form = FormProvider;
|
|
10
|
-
|
|
11
|
-
type FormFieldContextValue<
|
|
12
|
-
TFieldValues extends FieldValues = FieldValues,
|
|
13
|
-
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
14
|
-
> = {
|
|
15
|
-
name: TName;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
type FormItemContextValue = {
|
|
19
|
-
id: string;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
const FormFieldContext = React.createContext<FormFieldContextValue | null>(null);
|
|
23
|
-
|
|
24
|
-
const FormItemContext = React.createContext<FormItemContextValue | null>(null);
|
|
25
|
-
|
|
26
|
-
const FormField = <
|
|
27
|
-
TFieldValues extends FieldValues = FieldValues,
|
|
28
|
-
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
29
|
-
>({
|
|
30
|
-
...props
|
|
31
|
-
}: ControllerProps<TFieldValues, TName>) => {
|
|
32
|
-
return (
|
|
33
|
-
<FormFieldContext.Provider value={{name: props.name}}>
|
|
34
|
-
<Controller {...props} />
|
|
35
|
-
</FormFieldContext.Provider>
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const useFormField = () => {
|
|
40
|
-
const fieldContext = React.useContext(FormFieldContext);
|
|
41
|
-
const itemContext = React.useContext(FormItemContext);
|
|
42
|
-
const {getFieldState, formState} = useFormContext();
|
|
43
|
-
|
|
44
|
-
if (!fieldContext) {
|
|
45
|
-
throw new Error('useFormField should be used within <FormField>');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (!itemContext) {
|
|
49
|
-
throw new Error('useFormField should be used within <FormItem>');
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const fieldState = getFieldState(fieldContext.name, formState);
|
|
53
|
-
const {id} = itemContext;
|
|
54
|
-
|
|
55
|
-
return {
|
|
56
|
-
id,
|
|
57
|
-
name: fieldContext.name,
|
|
58
|
-
formItemId: `${id}-form-item`,
|
|
59
|
-
formDescriptionId: `${id}-form-item-description`,
|
|
60
|
-
formMessageId: `${id}-form-item-message`,
|
|
61
|
-
...fieldState,
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
const FormItem = React.forwardRef<HTMLDivElement, ComponentProps<'div'>>(
|
|
66
|
-
({className, ...props}, ref) => {
|
|
67
|
-
const id = React.useId();
|
|
68
|
-
|
|
69
|
-
return (
|
|
70
|
-
<FormItemContext.Provider value={{id}}>
|
|
71
|
-
<div ref={ref} className={className} {...props} />
|
|
72
|
-
</FormItemContext.Provider>
|
|
73
|
-
);
|
|
74
|
-
},
|
|
75
|
-
);
|
|
76
|
-
FormItem.displayName = 'FormItem';
|
|
77
|
-
|
|
78
|
-
const FormLabel = React.forwardRef<React.ElementRef<typeof Label>, ComponentProps<typeof Label>>(
|
|
79
|
-
({className, ...props}, ref) => {
|
|
80
|
-
const {error, formItemId} = useFormField();
|
|
81
|
-
|
|
82
|
-
return (
|
|
83
|
-
<Label
|
|
84
|
-
ref={ref}
|
|
85
|
-
className={cn(error && 'text-foreground-error', className)}
|
|
86
|
-
htmlFor={formItemId}
|
|
87
|
-
{...props}
|
|
88
|
-
/>
|
|
89
|
-
);
|
|
90
|
-
},
|
|
91
|
-
);
|
|
92
|
-
FormLabel.displayName = 'FormLabel';
|
|
93
|
-
|
|
94
|
-
const FormControl = React.forwardRef<React.ElementRef<typeof Slot>, ComponentProps<typeof Slot>>(
|
|
95
|
-
({...props}, ref) => {
|
|
96
|
-
const {error, formItemId, formDescriptionId, formMessageId} = useFormField();
|
|
97
|
-
|
|
98
|
-
return (
|
|
99
|
-
<Slot
|
|
100
|
-
ref={ref}
|
|
101
|
-
id={formItemId}
|
|
102
|
-
aria-describedby={error ? formMessageId : formDescriptionId}
|
|
103
|
-
aria-invalid={!!error}
|
|
104
|
-
{...props}
|
|
105
|
-
/>
|
|
106
|
-
);
|
|
107
|
-
},
|
|
108
|
-
);
|
|
109
|
-
FormControl.displayName = 'FormControl';
|
|
110
|
-
|
|
111
|
-
const FormDescription = React.forwardRef<HTMLParagraphElement, ComponentProps<'p'>>(
|
|
112
|
-
({className, ...props}, ref) => {
|
|
113
|
-
const {error, formDescriptionId} = useFormField();
|
|
114
|
-
|
|
115
|
-
if (error) {
|
|
116
|
-
return null;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return (
|
|
120
|
-
<p
|
|
121
|
-
ref={ref}
|
|
122
|
-
id={formDescriptionId}
|
|
123
|
-
className={cn('text-sm text-foreground-neutral-muted', className)}
|
|
124
|
-
{...props}
|
|
125
|
-
/>
|
|
126
|
-
);
|
|
127
|
-
},
|
|
128
|
-
);
|
|
129
|
-
FormDescription.displayName = 'FormDescription';
|
|
130
|
-
|
|
131
|
-
const FormMessage = React.forwardRef<HTMLParagraphElement, ComponentProps<'p'>>(
|
|
132
|
-
({className, children, ...props}, ref) => {
|
|
133
|
-
const {error, formMessageId} = useFormField();
|
|
134
|
-
const body = error ? String(error?.message ?? '') : children;
|
|
135
|
-
|
|
136
|
-
if (!body) {
|
|
137
|
-
return null;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
return (
|
|
141
|
-
<p
|
|
142
|
-
ref={ref}
|
|
143
|
-
id={formMessageId}
|
|
144
|
-
className={cn('text-sm font-medium text-foreground-highlight-error', className)}
|
|
145
|
-
{...props}
|
|
146
|
-
>
|
|
147
|
-
{body}
|
|
148
|
-
</p>
|
|
149
|
-
);
|
|
150
|
-
},
|
|
151
|
-
);
|
|
152
|
-
FormMessage.displayName = 'FormMessage';
|
|
153
|
-
|
|
154
|
-
export {Form, FormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './form';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function BadgeIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="18"
|
|
8
|
-
height="18"
|
|
9
|
-
viewBox="0 0 18 18"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Badge</title>
|
|
14
|
-
<path d="M17.533 9.00013C17.533 7.83 16.9271 6.7452 15.9703 6.11266C16.1996 4.9884 15.8604 3.79266 15.0338 2.966C14.2071 2.13933 13.0103 1.80013 11.8871 2.02946C11.2535 1.07266 10.1698 0.466797 8.99964 0.466797C7.82951 0.466797 6.74471 1.07266 6.11218 2.02946C4.98471 1.79693 3.79218 2.13933 2.96551 2.966C2.13778 3.79373 1.79964 4.9884 2.02898 6.11266C1.07218 6.7452 0.466309 7.82893 0.466309 9.00013C0.466309 10.1713 1.07218 11.254 2.02898 11.8876C1.79964 13.0119 2.13778 14.2065 2.96551 15.0343C3.79218 15.862 4.98684 16.1991 6.11218 15.9708C6.74471 16.9276 7.82844 17.5335 8.99964 17.5335C10.1708 17.5335 11.2535 16.9276 11.8871 15.9708C13.0082 16.2001 14.206 15.8609 15.0338 15.0343C15.8615 14.2076 16.1996 13.0119 15.9703 11.8876C16.9271 11.2551 17.533 10.1703 17.533 9.00013ZM13.0988 6.55533L8.56551 12.422C8.42044 12.6097 8.19964 12.7239 7.96284 12.7324C7.95218 12.7324 7.94258 12.7324 7.93298 12.7324C7.70684 12.7324 7.49031 12.6364 7.33778 12.4679L4.93778 9.8012C4.64231 9.47266 4.66898 8.96706 4.99751 8.67053C5.32711 8.37613 5.83164 8.40173 6.12818 8.73026L7.88604 10.6844L11.8338 5.57613C12.1036 5.22626 12.6071 5.16226 12.9559 5.43213C13.3058 5.702 13.3698 6.2044 13.0999 6.55426L13.0988 6.55533Z" />
|
|
15
|
-
</svg>
|
|
16
|
-
);
|
|
17
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function CheckCircleSolidIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="19"
|
|
8
|
-
height="19"
|
|
9
|
-
viewBox="0 0 19 19"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Check Circle Solid</title>
|
|
14
|
-
<g clipPath="url(#clip0_6552_160761)">
|
|
15
|
-
<path d="M9.19984 0.664062C4.49477 0.664062 0.666504 4.49233 0.666504 9.1974C0.666504 13.9025 4.49477 17.7307 9.19984 17.7307C13.9049 17.7307 17.7332 13.9025 17.7332 9.1974C17.7332 4.49233 13.9049 0.664062 9.19984 0.664062ZM13.299 6.7526L8.7657 12.6193C8.62064 12.807 8.39984 12.9211 8.16304 12.9297C8.15237 12.9297 8.14277 12.9297 8.13317 12.9297C7.90704 12.9297 7.6905 12.8337 7.53797 12.6651L5.13797 9.99846C4.8425 9.66993 4.86917 9.16433 5.1977 8.86779C5.5273 8.5734 6.03077 8.599 6.32837 8.92753L8.08624 10.8817L12.034 5.7734C12.3038 5.42353 12.8073 5.35953 13.1561 5.6294C13.506 5.89926 13.57 6.40166 13.3001 6.75153L13.299 6.7526Z" />
|
|
16
|
-
</g>
|
|
17
|
-
<defs>
|
|
18
|
-
<clipPath id="clip0_6552_160761">
|
|
19
|
-
<rect width="18" height="18" fill="white" transform="translate(0.200195 0.199219)" />
|
|
20
|
-
</clipPath>
|
|
21
|
-
</defs>
|
|
22
|
-
</svg>
|
|
23
|
-
);
|
|
24
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function CircleDottedLineIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="25"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 25 24"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Circle Dotted Line</title>
|
|
14
|
-
<path d="M7.17235 18.3086C7.46415 17.8702 8.05551 17.7513 8.49369 18.043C9.2707 18.5608 10.1526 18.9325 11.0991 19.117C11.616 19.2177 11.9539 19.7187 11.8533 20.236C11.7526 20.7531 11.2519 21.0906 10.7352 20.9901C9.53488 20.7561 8.41811 20.2857 7.43693 19.6318C6.99881 19.3397 6.88057 18.7472 7.17235 18.3086ZM16.5055 18.043C16.9438 17.7509 17.5358 17.87 17.8277 18.3086C18.1195 18.7472 18.0006 19.3398 17.5623 19.6318C16.5812 20.2856 15.465 20.7561 14.2648 20.9901C13.7481 21.0907 13.2474 20.7531 13.1467 20.236C13.0461 19.7187 13.384 19.2177 13.9009 19.117C14.8473 18.9325 15.7286 18.5607 16.5055 18.043ZM4.27439 12.6194C4.79159 12.5204 5.29128 12.8604 5.39013 13.3781C5.57468 14.3443 5.95069 15.2417 6.4787 16.0309C6.77163 16.4687 6.65463 17.0617 6.21723 17.3549C5.7797 17.6482 5.18731 17.5304 4.89433 17.0924C4.22698 16.0949 3.75068 14.9592 3.51712 13.7361C3.41829 13.2185 3.75732 12.7184 4.27439 12.6194ZM19.6099 13.3781C19.7087 12.8604 20.2084 12.5204 20.7256 12.6194C21.2426 12.7184 21.5817 13.2185 21.4829 13.7361C21.2493 14.9591 20.773 16.0949 20.1057 17.0924C19.8127 17.5304 19.2203 17.6482 18.7828 17.3549C18.3453 17.0617 18.2283 16.4688 18.5213 16.0309C19.0493 15.2417 19.4253 14.3443 19.6099 13.3781ZM4.89433 6.92474C5.18738 6.4871 5.77981 6.36987 6.21723 6.66304C6.65462 6.95631 6.77164 7.54924 6.4787 7.9871C5.95069 8.77632 5.57467 9.67363 5.39013 10.6399C5.29128 11.1575 4.79159 11.4975 4.27439 11.3986C3.75731 11.2996 3.41829 10.7995 3.51712 10.2819C3.75069 9.05872 4.2269 7.92235 4.89433 6.92474ZM18.7828 6.66304C19.2202 6.36987 19.8126 6.48706 20.1057 6.92474C20.7731 7.92235 21.2493 9.05871 21.4829 10.2819C21.5817 10.7994 21.2426 11.2995 20.7256 11.3986C20.2084 11.4975 19.7087 11.1575 19.6099 10.6399C19.4253 9.67364 19.0493 8.77632 18.5213 7.9871C18.2284 7.54922 18.3453 6.95629 18.7828 6.66304ZM10.7352 3.02556C11.252 2.92503 11.7527 3.26243 11.8533 3.77961C11.9539 4.29692 11.616 4.79792 11.0991 4.89866C10.1526 5.08317 9.27069 5.4541 8.49369 5.97188C8.05553 6.26382 7.46424 6.14542 7.17235 5.70707C6.88059 5.26849 6.99888 4.67594 7.43693 4.38379C8.41811 3.72993 9.53488 3.25952 10.7352 3.02556ZM13.1467 3.77961C13.2474 3.2624 13.748 2.92494 14.2648 3.02556C15.4651 3.25951 16.5811 3.72997 17.5623 4.38379C18.0006 4.67587 18.1195 5.26839 17.8277 5.70707C17.5358 6.14551 16.9437 6.2639 16.5055 5.97188C15.7287 5.45425 14.8472 5.08315 13.9009 4.89866C13.384 4.79792 13.0461 4.29692 13.1467 3.77961Z" />
|
|
15
|
-
</svg>
|
|
16
|
-
);
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function ComponentFillIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="25"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 25 24"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Component Fill</title>
|
|
14
|
-
<path d="M16.6277 17.1584L13.0159 20.7702C12.8791 20.9071 12.6989 20.9894 12.5151 20.999C12.3313 21.0087 12.1588 20.945 12.0357 20.8218L8.32124 17.1074L12.4489 12.9797L16.6277 17.1584ZM11.5203 12.0511L7.39263 16.1788L3.67817 12.4643C3.55503 12.3412 3.49129 12.1687 3.50096 11.9849C3.51064 11.8011 3.59294 11.6209 3.72976 11.4841L7.34155 7.87231L11.5203 12.0511ZM16.6788 6.89263L12.5521 11.0193L8.37334 6.84052L11.9841 3.22976C12.1209 3.09294 12.3011 3.01064 12.4849 3.00096C12.6687 2.99129 12.8412 3.05503 12.9643 3.17817L16.6788 6.89263ZM21.3218 11.5357C21.445 11.6588 21.5087 11.8313 21.499 12.0151C21.4894 12.1989 21.4071 12.3791 21.2702 12.5159L17.6595 16.1267L13.4807 11.9479L17.6074 7.82124L21.3218 11.5357Z" />
|
|
15
|
-
</svg>
|
|
16
|
-
);
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function ComponentLineIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="25"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 25 24"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Component Line</title>
|
|
14
|
-
<path d="M20.7217 12.1353C20.8449 12.2584 20.9086 12.4309 20.8989 12.6147C20.8893 12.7985 20.807 12.9787 20.6701 13.1155L12.4158 21.3698C12.279 21.5067 12.0988 21.589 11.915 21.5986C11.7312 21.6083 11.5587 21.5446 11.4356 21.4214L3.07807 13.0639C2.95493 12.9408 2.89119 12.7683 2.90086 12.5845C2.91054 12.4007 2.99284 12.2205 3.12966 12.0837L11.384 3.82937C11.5208 3.69255 11.701 3.61024 11.8848 3.60057C12.0686 3.59089 12.2411 3.65464 12.3642 3.77778L20.7217 12.1353ZM10.9197 12.6512L7.66955 9.40105L4.57417 12.4964L7.82432 15.7466L10.9197 12.6512ZM15.0985 16.83L11.8483 13.5798L8.75293 16.6752L12.0031 19.9253L15.0985 16.83ZM15.0469 8.52403L11.7967 5.27388L8.70134 8.36926L11.9515 11.6194L15.0469 8.52403ZM19.2256 12.7028L15.9755 9.45264L12.8801 12.548L16.1303 15.7982L19.2256 12.7028Z" />
|
|
15
|
-
</svg>
|
|
16
|
-
);
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function EllipseMiniSolidIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="25"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 25 24"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Ellipse Mini Solid</title>
|
|
14
|
-
<circle cx="12.2" cy="12.2" r="3.2" />
|
|
15
|
-
</svg>
|
|
16
|
-
);
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './badge';
|
|
2
|
-
export * from './check-circle-solid';
|
|
3
|
-
export * from './circle-dotted-line';
|
|
4
|
-
export * from './component-fill';
|
|
5
|
-
export * from './component-line';
|
|
6
|
-
export * from './ellipse-mini-solid';
|
|
7
|
-
export * from './info-tooltip-fill';
|
|
8
|
-
export * from './resize';
|
|
9
|
-
export * from './shipfox-logo';
|
|
10
|
-
export * from './slack-logo';
|
|
11
|
-
export * from './spinner';
|
|
12
|
-
export * from './stripe-logo';
|
|
13
|
-
export * from './thunder';
|
|
14
|
-
export * from './x-circle-solid';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function InfoTooltipFillIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="25"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 25 24"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Info Tooltip Fill</title>
|
|
14
|
-
<path
|
|
15
|
-
fillRule="evenodd"
|
|
16
|
-
clipRule="evenodd"
|
|
17
|
-
d="M12.5 21C17.4706 21 21.5 16.9706 21.5 12C21.5 7.02944 17.4706 3 12.5 3C7.52944 3 3.5 7.02944 3.5 12C3.5 16.9706 7.52944 21 12.5 21ZM14.1068 16.6204L14.2505 16.0329C14.1761 16.0678 14.0562 16.1077 13.8917 16.1532C13.7268 16.1986 13.5784 16.2217 13.448 16.2217C13.1701 16.2217 12.9745 16.1762 12.8609 16.0847C12.7482 15.9931 12.692 15.8209 12.692 15.5687C12.692 15.4688 12.7089 15.3198 12.7444 15.1248C12.7788 14.9286 12.8183 14.7542 12.8623 14.6016L13.3988 12.7021C13.4514 12.5278 13.4874 12.3362 13.5068 12.127C13.5266 11.9183 13.5358 11.7723 13.5358 11.6894C13.5358 11.2888 13.3954 10.9638 13.1145 10.7131C12.8337 10.4625 12.4337 10.3372 11.9153 10.3372C11.6269 10.3372 11.3219 10.3885 10.9992 10.4909C10.6764 10.593 10.339 10.7161 9.98606 10.8598L9.84198 11.4478C9.94716 11.4089 10.0724 11.367 10.219 11.3237C10.3649 11.2805 10.5081 11.2582 10.6474 11.2582C10.9318 11.2582 11.1233 11.3067 11.2237 11.4022C11.3241 11.498 11.3745 11.6684 11.3745 11.9119C11.3745 12.0466 11.3586 12.1962 11.3255 12.3588C11.2929 12.5225 11.2521 12.6955 11.2042 12.8781L10.6654 14.7852C10.6174 14.9856 10.5824 15.1649 10.5604 15.3241C10.5385 15.4832 10.528 15.6392 10.528 15.791C10.528 16.1829 10.6728 16.506 10.9624 16.761C11.2519 17.015 11.6579 17.1429 12.1799 17.1429C12.5198 17.1429 12.8181 17.0984 13.0748 17.0091C13.3313 16.92 13.6757 16.7905 14.1068 16.6204ZM14.0112 8.90429C14.2619 8.67189 14.3866 8.38926 14.3866 8.05831C14.3866 7.72811 14.2621 7.44491 14.0112 7.20957C13.7612 6.97486 13.4599 6.85714 13.1075 6.85714C12.7541 6.85714 12.4515 6.97459 12.1991 7.20957C11.9467 7.44491 11.8203 7.72801 11.8203 8.05831C11.8203 8.38926 11.9467 8.6718 12.1991 8.90429C12.452 9.13752 12.754 9.25423 13.1075 9.25423C13.46 9.25423 13.7612 9.13752 14.0112 8.90429Z"
|
|
18
|
-
/>
|
|
19
|
-
</svg>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function ResizeIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="25"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 25 24"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Resize</title>
|
|
14
|
-
<path d="M20.7425 13.4539C21.2111 12.9854 21.9711 12.9855 22.4398 13.4539C22.9084 13.9226 22.9084 14.6826 22.4398 15.1512L15.6517 21.9393C15.1831 22.4079 14.4231 22.4079 13.9544 21.9393C13.486 21.4706 13.4859 20.7106 13.9544 20.242L20.7425 13.4539ZM19.3363 5.25961C19.8048 4.79102 20.5649 4.79112 21.0335 5.25961C21.5022 5.72823 21.5022 6.48824 21.0335 6.95687L7.45736 20.533C6.98873 21.0017 6.22872 21.0017 5.76009 20.533C5.2916 20.0644 5.29151 19.3044 5.76009 18.8358L19.3363 5.25961Z" />
|
|
15
|
-
</svg>
|
|
16
|
-
);
|
|
17
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
type ShipfoxLogoProps = ComponentProps<RemixiconComponentType> & {
|
|
5
|
-
color?: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export function ShipfoxLogo({color = '#FF4B00', ...props}: ShipfoxLogoProps) {
|
|
9
|
-
return (
|
|
10
|
-
<svg viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
11
|
-
<title>Shipfox Logo</title>
|
|
12
|
-
<path
|
|
13
|
-
fillRule="evenodd"
|
|
14
|
-
clipRule="evenodd"
|
|
15
|
-
d="M17.9759 32.3751L39.0987 74.1549C41.1536 78.2196 46.847 78.2196 48.902 74.1549L70.0247 32.3751L81.2835 38.122C84.6511 39.8409 85.3794 44.4228 82.7171 47.1406L47.9008 82.684C45.7466 84.8831 42.254 84.8831 40.0999 82.684L5.28351 47.1406C2.62124 44.4227 3.34957 39.8409 6.7171 38.122L17.9759 32.3751ZM44.0003 19.0912L73.0051 4.28593C77.7786 1.84936 82.8214 7.06388 80.3737 11.9054L70.0247 32.3751L44.0003 19.0912ZM44.0003 19.0912L14.9955 4.28593C10.2221 1.84936 5.17926 7.06388 7.62699 11.9054L17.9759 32.3751L44.0003 19.0912Z"
|
|
16
|
-
fill={color}
|
|
17
|
-
/>
|
|
18
|
-
</svg>
|
|
19
|
-
);
|
|
20
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
type SlackLogoProps = ComponentProps<RemixiconComponentType>;
|
|
5
|
-
|
|
6
|
-
export function SlackLogo(props: SlackLogoProps) {
|
|
7
|
-
return (
|
|
8
|
-
<svg
|
|
9
|
-
viewBox="0 0 28 28"
|
|
10
|
-
fill="none"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
aria-hidden="true"
|
|
13
|
-
focusable="false"
|
|
14
|
-
{...props}
|
|
15
|
-
>
|
|
16
|
-
<title>Slack Logo</title>
|
|
17
|
-
<path
|
|
18
|
-
d="M6.66988 17.376C6.66988 18.8336 5.4918 20.0117 4.03416 20.0117C2.57653 20.0117 1.39844 18.8336 1.39844 17.376C1.39844 15.9183 2.57653 14.7402 4.03416 14.7402H6.66988V17.376ZM7.98775 17.376C7.98775 15.9183 9.16583 14.7402 10.6235 14.7402C12.0811 14.7402 13.2592 15.9183 13.2592 17.376V23.9653C13.2592 25.4229 12.0811 26.601 10.6235 26.601C9.16583 26.601 7.98775 25.4229 7.98775 23.9653V17.376Z"
|
|
19
|
-
fill="#E01E5A"
|
|
20
|
-
/>
|
|
21
|
-
<path
|
|
22
|
-
d="M10.6279 6.66102C9.17271 6.66102 7.99661 5.48492 7.99661 4.02973C7.99661 2.57455 9.17271 1.39844 10.6279 1.39844C12.0831 1.39844 13.2592 2.57455 13.2592 4.02973V6.66102H10.6279ZM10.6279 7.99661C12.0831 7.99661 13.2592 9.17271 13.2592 10.6279C13.2592 12.0831 12.0831 13.2592 10.6279 13.2592H4.02973C2.57455 13.2592 1.39844 12.0831 1.39844 10.6279C1.39844 9.17271 2.57455 7.99661 4.02973 7.99661H10.6279Z"
|
|
23
|
-
fill="#36C5F0"
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d="M21.3295 10.6279C21.3295 9.17271 22.5076 7.99661 23.9653 7.99661C25.4229 7.99661 26.601 9.17271 26.601 10.6279C26.601 12.0831 25.4229 13.2592 23.9653 13.2592H21.3295V10.6279ZM20.0117 10.6279C20.0117 12.0831 18.8336 13.2592 17.376 13.2592C15.9183 13.2592 14.7402 12.0831 14.7402 10.6279V4.02973C14.7402 2.57455 15.9183 1.39844 17.376 1.39844C18.8336 1.39844 20.0117 2.57455 20.0117 4.02973V10.6279Z"
|
|
27
|
-
fill="#2EB67D"
|
|
28
|
-
/>
|
|
29
|
-
<path
|
|
30
|
-
d="M17.3715 21.3295C18.8267 21.3295 20.0028 22.5076 20.0028 23.9653C20.0028 25.4229 18.8267 26.601 17.3715 26.601C15.9163 26.601 14.7402 25.4229 14.7402 23.9653V21.3295H17.3715ZM17.3715 20.0117C15.9163 20.0117 14.7402 18.8336 14.7402 17.376C14.7402 15.9183 15.9163 14.7402 17.3715 14.7402H23.9697C25.4249 14.7402 26.601 15.9183 26.601 17.376C26.601 18.8336 25.4249 20.0117 23.9697 20.0117H17.3715Z"
|
|
31
|
-
fill="#ECB22E"
|
|
32
|
-
/>
|
|
33
|
-
</svg>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import {motion, type SVGMotionProps, type Variants} from 'framer-motion';
|
|
3
|
-
import type {ComponentProps} from 'react';
|
|
4
|
-
import {cn} from 'utils/cn';
|
|
5
|
-
|
|
6
|
-
const SEGMENT_COUNT = 8;
|
|
7
|
-
const DURATION = 1.2;
|
|
8
|
-
const BASE_OPACITY = 0;
|
|
9
|
-
|
|
10
|
-
const CLOCKWISE_ORDER = [1, 8, 4, 6, 2, 7, 3, 5];
|
|
11
|
-
|
|
12
|
-
const segmentVariants: Record<string, Variants> = {};
|
|
13
|
-
|
|
14
|
-
for (let i = 0; i < SEGMENT_COUNT; i++) {
|
|
15
|
-
const segmentIndex = CLOCKWISE_ORDER[i];
|
|
16
|
-
const delay = (i * DURATION) / SEGMENT_COUNT;
|
|
17
|
-
|
|
18
|
-
segmentVariants[`segment${segmentIndex}`] = {
|
|
19
|
-
initial: {opacity: BASE_OPACITY},
|
|
20
|
-
animate: {
|
|
21
|
-
opacity: [BASE_OPACITY, 1, BASE_OPACITY],
|
|
22
|
-
transition: {
|
|
23
|
-
duration: DURATION,
|
|
24
|
-
ease: 'easeInOut',
|
|
25
|
-
repeat: Infinity,
|
|
26
|
-
repeatType: 'loop',
|
|
27
|
-
delay,
|
|
28
|
-
times: [0, 0.5, 1],
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export function SpinnerIcon(props: ComponentProps<RemixiconComponentType>) {
|
|
35
|
-
const {className, size, ...restProps} = props;
|
|
36
|
-
|
|
37
|
-
const iconSize = size ?? 24;
|
|
38
|
-
|
|
39
|
-
const svgProps: SVGMotionProps<SVGSVGElement> = {
|
|
40
|
-
width: typeof iconSize === 'number' ? String(iconSize) : iconSize,
|
|
41
|
-
height: typeof iconSize === 'number' ? String(iconSize) : iconSize,
|
|
42
|
-
viewBox: '0 0 24 24',
|
|
43
|
-
fill: 'none',
|
|
44
|
-
xmlns: 'http://www.w3.org/2000/svg',
|
|
45
|
-
className: cn(className),
|
|
46
|
-
initial: 'initial',
|
|
47
|
-
animate: 'animate',
|
|
48
|
-
...(restProps as SVGMotionProps<SVGSVGElement>),
|
|
49
|
-
};
|
|
50
|
-
return (
|
|
51
|
-
<motion.svg {...svgProps}>
|
|
52
|
-
<title>Spinner</title>
|
|
53
|
-
<motion.path
|
|
54
|
-
d="M10.583 1.91667C10.583 1.41041 10.9934 1 11.4997 1C12.0059 1 12.4163 1.41041 12.4163 1.91667V5.58333C12.4163 6.08959 12.0059 6.5 11.4997 6.5C10.9934 6.5 10.583 6.08959 10.583 5.58333V1.91667Z"
|
|
55
|
-
fill="currentColor"
|
|
56
|
-
stroke="currentColor"
|
|
57
|
-
style={{fill: 'currentColor', fillOpacity: 1, stroke: 'currentColor', strokeOpacity: 1}}
|
|
58
|
-
strokeWidth="0.916667"
|
|
59
|
-
strokeLinecap="round"
|
|
60
|
-
strokeLinejoin="round"
|
|
61
|
-
variants={segmentVariants.segment1}
|
|
62
|
-
/>
|
|
63
|
-
<motion.rect
|
|
64
|
-
x="10.583"
|
|
65
|
-
y="17.5"
|
|
66
|
-
width="1.83333"
|
|
67
|
-
height="5.5"
|
|
68
|
-
rx="0.916667"
|
|
69
|
-
fill="currentColor"
|
|
70
|
-
stroke="currentColor"
|
|
71
|
-
style={{fill: 'currentColor', fillOpacity: 1, stroke: 'currentColor', strokeOpacity: 1}}
|
|
72
|
-
strokeWidth="0.916667"
|
|
73
|
-
strokeLinecap="round"
|
|
74
|
-
strokeLinejoin="round"
|
|
75
|
-
variants={segmentVariants.segment2}
|
|
76
|
-
/>
|
|
77
|
-
<motion.path
|
|
78
|
-
d="M1.41667 12.918C0.910406 12.918 0.5 12.5076 0.5 12.0013C0.5 11.495 0.910405 11.0846 1.41667 11.0846L5.08333 11.0846C5.58959 11.0846 6 11.495 6 12.0013C6 12.5076 5.58959 12.918 5.08333 12.918L1.41667 12.918Z"
|
|
79
|
-
fill="currentColor"
|
|
80
|
-
stroke="currentColor"
|
|
81
|
-
style={{fill: 'currentColor', fillOpacity: 1, stroke: 'currentColor', strokeOpacity: 1}}
|
|
82
|
-
strokeWidth="0.916667"
|
|
83
|
-
strokeLinecap="round"
|
|
84
|
-
strokeLinejoin="round"
|
|
85
|
-
variants={segmentVariants.segment3}
|
|
86
|
-
/>
|
|
87
|
-
<motion.path
|
|
88
|
-
d="M17.9167 12.918C17.4104 12.918 17 12.5076 17 12.0013C17 11.495 17.4104 11.0846 17.9167 11.0846L21.5833 11.0846C22.0896 11.0846 22.5 11.495 22.5 12.0013C22.5 12.5076 22.0896 12.918 21.5833 12.918L17.9167 12.918Z"
|
|
89
|
-
fill="currentColor"
|
|
90
|
-
stroke="currentColor"
|
|
91
|
-
style={{fill: 'currentColor', fillOpacity: 1, stroke: 'currentColor', strokeOpacity: 1}}
|
|
92
|
-
strokeWidth="0.916667"
|
|
93
|
-
strokeLinecap="round"
|
|
94
|
-
strokeLinejoin="round"
|
|
95
|
-
variants={segmentVariants.segment4}
|
|
96
|
-
/>
|
|
97
|
-
<motion.path
|
|
98
|
-
d="M3.7224 5.52123C3.36442 5.16325 3.36442 4.58285 3.7224 4.22487C4.08038 3.86689 4.66078 3.86688 5.01876 4.22487L7.61149 6.81759C7.96947 7.17557 7.96947 7.75597 7.61149 8.11395C7.25351 8.47193 6.67311 8.47193 6.31512 8.11395L3.7224 5.52123Z"
|
|
99
|
-
fill="currentColor"
|
|
100
|
-
stroke="currentColor"
|
|
101
|
-
style={{fill: 'currentColor', fillOpacity: 1, stroke: 'currentColor', strokeOpacity: 1}}
|
|
102
|
-
strokeWidth="0.916667"
|
|
103
|
-
strokeLinecap="round"
|
|
104
|
-
strokeLinejoin="round"
|
|
105
|
-
variants={segmentVariants.segment5}
|
|
106
|
-
/>
|
|
107
|
-
<motion.rect
|
|
108
|
-
x="14.7412"
|
|
109
|
-
y="16.5391"
|
|
110
|
-
width="1.83333"
|
|
111
|
-
height="5.5"
|
|
112
|
-
rx="0.916667"
|
|
113
|
-
transform="rotate(-45 14.7412 16.5391)"
|
|
114
|
-
fill="currentColor"
|
|
115
|
-
stroke="currentColor"
|
|
116
|
-
style={{fill: 'currentColor', fillOpacity: 1, stroke: 'currentColor', strokeOpacity: 1}}
|
|
117
|
-
strokeWidth="0.916667"
|
|
118
|
-
strokeLinecap="round"
|
|
119
|
-
strokeLinejoin="round"
|
|
120
|
-
variants={segmentVariants.segment6}
|
|
121
|
-
/>
|
|
122
|
-
<motion.path
|
|
123
|
-
d="M5.0183 19.7796C4.66032 20.1375 4.07992 20.1375 3.72194 19.7796C3.36396 19.4216 3.36396 18.8412 3.72194 18.4832L6.31466 15.8905C6.67264 15.5325 7.25304 15.5325 7.61102 15.8905C7.969 16.2484 7.969 16.8288 7.61102 17.1868L5.0183 19.7796Z"
|
|
124
|
-
fill="currentColor"
|
|
125
|
-
stroke="currentColor"
|
|
126
|
-
style={{fill: 'currentColor', fillOpacity: 1, stroke: 'currentColor', strokeOpacity: 1}}
|
|
127
|
-
strokeWidth="0.916667"
|
|
128
|
-
strokeLinecap="round"
|
|
129
|
-
strokeLinejoin="round"
|
|
130
|
-
variants={segmentVariants.segment7}
|
|
131
|
-
/>
|
|
132
|
-
<motion.path
|
|
133
|
-
d="M16.6853 8.11354C16.3273 8.47152 15.7469 8.47152 15.3889 8.11354C15.0309 7.75556 15.0309 7.17516 15.3889 6.81718L17.9817 4.22445C18.3396 3.86647 18.92 3.86647 19.278 4.22445C19.636 4.58243 19.636 5.16283 19.278 5.52081L16.6853 8.11354Z"
|
|
134
|
-
fill="currentColor"
|
|
135
|
-
stroke="currentColor"
|
|
136
|
-
style={{fill: 'currentColor', fillOpacity: 1, stroke: 'currentColor', strokeOpacity: 1}}
|
|
137
|
-
strokeWidth="0.916667"
|
|
138
|
-
strokeLinecap="round"
|
|
139
|
-
strokeLinejoin="round"
|
|
140
|
-
variants={segmentVariants.segment8}
|
|
141
|
-
/>
|
|
142
|
-
</motion.svg>
|
|
143
|
-
);
|
|
144
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
type StripeLogoProps = ComponentProps<RemixiconComponentType> & {
|
|
5
|
-
color?: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export function StripeLogo({color = '#6772E5', ...props}: StripeLogoProps) {
|
|
9
|
-
return (
|
|
10
|
-
<svg
|
|
11
|
-
viewBox="0 0 28 28"
|
|
12
|
-
fill="none"
|
|
13
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
-
aria-hidden="true"
|
|
15
|
-
focusable="false"
|
|
16
|
-
{...props}
|
|
17
|
-
>
|
|
18
|
-
<title>Stripe Logo</title>
|
|
19
|
-
<path
|
|
20
|
-
fillRule="evenodd"
|
|
21
|
-
clipRule="evenodd"
|
|
22
|
-
d="M12.3115 9.17663C12.3115 8.15771 13.1593 7.76352 14.5293 7.76352C16.7967 7.81251 19.0215 8.38821 21.0281 9.44512V3.29438C18.959 2.48126 16.7523 2.07592 14.5293 2.10068C9.24873 2.10068 5.70703 4.86665 5.70703 9.48529C5.70703 16.7115 15.63 15.5379 15.63 18.6526C15.63 19.8709 14.5888 20.2487 13.1236 20.2487C10.9631 20.2487 8.17253 19.3547 5.9837 18.1647V24.3958C8.23725 25.3764 10.6668 25.888 13.1244 25.8997C18.5514 25.8997 22.2925 23.2185 22.2925 18.5195C22.2925 10.7206 12.3115 12.1137 12.3115 9.17812V9.17663Z"
|
|
23
|
-
fill={color}
|
|
24
|
-
/>
|
|
25
|
-
</svg>
|
|
26
|
-
);
|
|
27
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function ThunderIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="25"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 25 24"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>Thunder</title>
|
|
14
|
-
<path d="M14.2707 10.1872H19.5832L10.729 22V13.8219H5.4165L14.2707 2V10.1872Z" />
|
|
15
|
-
</svg>
|
|
16
|
-
);
|
|
17
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type {RemixiconComponentType} from '@remixicon/react';
|
|
2
|
-
import type {ComponentProps} from 'react';
|
|
3
|
-
|
|
4
|
-
export function XCircleSolidIcon(_props: ComponentProps<RemixiconComponentType>) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="19"
|
|
8
|
-
height="18"
|
|
9
|
-
viewBox="0 0 19 18"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<title>X Circle Solid</title>
|
|
14
|
-
<g clipPath="url(#clip0_6552_160759)">
|
|
15
|
-
<path d="M9.49964 0.464844C4.79458 0.464844 0.966309 4.29311 0.966309 8.99818C0.966309 13.7032 4.79458 17.5315 9.49964 17.5315C14.2047 17.5315 18.033 13.7032 18.033 8.99818C18.033 4.29311 14.2047 0.464844 9.49964 0.464844ZM12.9983 11.3662C13.3108 11.6787 13.3108 12.1854 12.9983 12.4979C12.8426 12.6536 12.6378 12.7326 12.433 12.7326C12.2282 12.7326 12.0234 12.6547 11.8676 12.4979L9.49964 10.1299L7.13164 12.4979C6.97591 12.6536 6.77111 12.7326 6.56631 12.7326C6.36151 12.7326 6.15671 12.6547 6.00097 12.4979C5.68844 12.1854 5.68844 11.6787 6.00097 11.3662L8.36897 8.99818L6.00097 6.63018C5.68844 6.31764 5.68844 5.81098 6.00097 5.49844C6.31351 5.18591 6.82018 5.18591 7.13271 5.49844L9.50071 7.86644L11.8687 5.49844C12.1812 5.18591 12.6879 5.18591 13.0004 5.49844C13.313 5.81098 13.313 6.31764 13.0004 6.63018L10.6324 8.99818L13.0004 11.3662H12.9983Z" />
|
|
16
|
-
</g>
|
|
17
|
-
<defs>
|
|
18
|
-
<clipPath id="clip0_6552_160759">
|
|
19
|
-
<rect width="18" height="18" fill="white" transform="translate(0.5)" />
|
|
20
|
-
</clipPath>
|
|
21
|
-
</defs>
|
|
22
|
-
</svg>
|
|
23
|
-
);
|
|
24
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type {Meta, StoryObj} from '@storybook/react';
|
|
2
|
-
import {Code} from 'components/typography';
|
|
3
|
-
import {Icon, iconNames} from './icon';
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
title: 'Components/Icon',
|
|
7
|
-
component: Icon,
|
|
8
|
-
} satisfies Meta<typeof Icon>;
|
|
9
|
-
|
|
10
|
-
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof meta>;
|
|
12
|
-
|
|
13
|
-
export const Gallery: Story = {
|
|
14
|
-
args: {name: 'google'},
|
|
15
|
-
render: (args) => (
|
|
16
|
-
<div className="flex flex-col gap-16">
|
|
17
|
-
<div className="grid grid-cols-8 gap-16">
|
|
18
|
-
{iconNames.toSorted().map((name) => (
|
|
19
|
-
<div key={name} className="flex flex-col items-center gap-4">
|
|
20
|
-
<div className="flex items-center justify-center w-20 h-20">
|
|
21
|
-
<Icon {...args} name={name} />
|
|
22
|
-
</div>
|
|
23
|
-
<Code variant="label" className="text-foreground-neutral-subtle">
|
|
24
|
-
{name}
|
|
25
|
-
</Code>
|
|
26
|
-
</div>
|
|
27
|
-
))}
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
),
|
|
31
|
-
};
|