@tryghost/shade 0.0.0-stage → 0.1.0-alpha.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/LICENSE +22 -0
- package/README.md +142 -2
- package/es/app.js +4 -0
- package/es/assets/images/index.js +2 -0
- package/es/components/layout/error-page.js +40 -0
- package/es/components/layout/error-page.js.map +1 -0
- package/es/components/layout/heading.js +80 -0
- package/es/components/layout/heading.js.map +1 -0
- package/es/components/page-templates/detail-page.js +73 -0
- package/es/components/page-templates/detail-page.js.map +1 -0
- package/es/components/page-templates/large-page-title.js +89 -0
- package/es/components/page-templates/large-page-title.js.map +1 -0
- package/es/components/page-templates/list-page.js +174 -0
- package/es/components/page-templates/list-page.js.map +1 -0
- package/es/components/page-templates/modal-page.js +32 -0
- package/es/components/page-templates/modal-page.js.map +1 -0
- package/es/components/patterns/color-picker.js +328 -0
- package/es/components/patterns/color-picker.js.map +1 -0
- package/es/components/patterns/dirty-confirm-dialog.js +44 -0
- package/es/components/patterns/dirty-confirm-dialog.js.map +1 -0
- package/es/components/patterns/filter-bar-context.js +8 -0
- package/es/components/patterns/filter-bar-context.js.map +1 -0
- package/es/components/patterns/filter-bar.js +67 -0
- package/es/components/patterns/filter-bar.js.map +1 -0
- package/es/components/patterns/filters-helpers.js +415 -0
- package/es/components/patterns/filters-helpers.js.map +1 -0
- package/es/components/patterns/filters.js +1816 -0
- package/es/components/patterns/filters.js.map +1 -0
- package/es/components/patterns/gh-chart.js +152 -0
- package/es/components/patterns/gh-chart.js.map +1 -0
- package/es/components/patterns/image-upload-variants.js +13 -0
- package/es/components/patterns/image-upload-variants.js.map +1 -0
- package/es/components/patterns/image-upload.js +63 -0
- package/es/components/patterns/image-upload.js.map +1 -0
- package/es/components/patterns/kpi-card.js +46 -0
- package/es/components/patterns/kpi-card.js.map +1 -0
- package/es/components/patterns/kpi-tabs.js +61 -0
- package/es/components/patterns/kpi-tabs.js.map +1 -0
- package/es/components/patterns/page-header-large-title.js +13 -0
- package/es/components/patterns/page-header-large-title.js.map +1 -0
- package/es/components/patterns/page-header.js +375 -0
- package/es/components/patterns/page-header.js.map +1 -0
- package/es/components/patterns/setting-group-variants.js +22 -0
- package/es/components/patterns/setting-group-variants.js.map +1 -0
- package/es/components/patterns/setting-group.js +103 -0
- package/es/components/patterns/setting-group.js.map +1 -0
- package/es/components/patterns/settings-modal-variants.js +37 -0
- package/es/components/patterns/settings-modal-variants.js.map +1 -0
- package/es/components/patterns/settings-modal.js +192 -0
- package/es/components/patterns/settings-modal.js.map +1 -0
- package/es/components/patterns/share-modal.js +264 -0
- package/es/components/patterns/share-modal.js.map +1 -0
- package/es/components/patterns/use-dirty-confirmation.js +35 -0
- package/es/components/patterns/use-dirty-confirmation.js.map +1 -0
- package/es/components/patterns/view-bar.js +40 -0
- package/es/components/patterns/view-bar.js.map +1 -0
- package/es/components/primitives/box.js +25 -0
- package/es/components/primitives/box.js.map +1 -0
- package/es/components/primitives/container.js +35 -0
- package/es/components/primitives/container.js.map +1 -0
- package/es/components/primitives/grid.js +26 -0
- package/es/components/primitives/grid.js.map +1 -0
- package/es/components/primitives/index.js +7 -0
- package/es/components/primitives/inline.js +17 -0
- package/es/components/primitives/inline.js.map +1 -0
- package/es/components/primitives/stack.js +17 -0
- package/es/components/primitives/stack.js.map +1 -0
- package/es/components/primitives/text.js +48 -0
- package/es/components/primitives/text.js.map +1 -0
- package/es/components/primitives/types.js +56 -0
- package/es/components/primitives/types.js.map +1 -0
- package/es/components/ui/accordion.js +37 -0
- package/es/components/ui/accordion.js.map +1 -0
- package/es/components/ui/action-list.js +56 -0
- package/es/components/ui/action-list.js.map +1 -0
- package/es/components/ui/alert-dialog.js +80 -0
- package/es/components/ui/alert-dialog.js.map +1 -0
- package/es/components/ui/animated-number.js +14 -0
- package/es/components/ui/animated-number.js.map +1 -0
- package/es/components/ui/avatar.js +52 -0
- package/es/components/ui/avatar.js.map +1 -0
- package/es/components/ui/badge-variants.js +32 -0
- package/es/components/ui/badge-variants.js.map +1 -0
- package/es/components/ui/badge.js +22 -0
- package/es/components/ui/badge.js.map +1 -0
- package/es/components/ui/banner-variants.js +34 -0
- package/es/components/ui/banner-variants.js.map +1 -0
- package/es/components/ui/banner.js +37 -0
- package/es/components/ui/banner.js.map +1 -0
- package/es/components/ui/breadcrumb.js +64 -0
- package/es/components/ui/breadcrumb.js.map +1 -0
- package/es/components/ui/button-variants.js +137 -0
- package/es/components/ui/button-variants.js.map +1 -0
- package/es/components/ui/button.js +35 -0
- package/es/components/ui/button.js.map +1 -0
- package/es/components/ui/calendar.js +119 -0
- package/es/components/ui/calendar.js.map +1 -0
- package/es/components/ui/card-variants.js +13 -0
- package/es/components/ui/card-variants.js.map +1 -0
- package/es/components/ui/card.js +98 -0
- package/es/components/ui/card.js.map +1 -0
- package/es/components/ui/chart.js +188 -0
- package/es/components/ui/chart.js.map +1 -0
- package/es/components/ui/checkbox.js +21 -0
- package/es/components/ui/checkbox.js.map +1 -0
- package/es/components/ui/code-editor-view.js +150 -0
- package/es/components/ui/code-editor-view.js.map +1 -0
- package/es/components/ui/code-editor.js +18 -0
- package/es/components/ui/code-editor.js.map +1 -0
- package/es/components/ui/combobox.js +37 -0
- package/es/components/ui/combobox.js.map +1 -0
- package/es/components/ui/command.js +91 -0
- package/es/components/ui/command.js.map +1 -0
- package/es/components/ui/context-menu.js +82 -0
- package/es/components/ui/context-menu.js.map +1 -0
- package/es/components/ui/copy-field.js +142 -0
- package/es/components/ui/copy-field.js.map +1 -0
- package/es/components/ui/data-list.js +103 -0
- package/es/components/ui/data-list.js.map +1 -0
- package/es/components/ui/dialog.js +49 -0
- package/es/components/ui/dialog.js.map +1 -0
- package/es/components/ui/dropdown-menu.js +86 -0
- package/es/components/ui/dropdown-menu.js.map +1 -0
- package/es/components/ui/dropzone-variants.js +30 -0
- package/es/components/ui/dropzone-variants.js.map +1 -0
- package/es/components/ui/dropzone.js +55 -0
- package/es/components/ui/dropzone.js.map +1 -0
- package/es/components/ui/empty-indicator.js +42 -0
- package/es/components/ui/empty-indicator.js.map +1 -0
- package/es/components/ui/field.js +118 -0
- package/es/components/ui/field.js.map +1 -0
- package/es/components/ui/flag.js +30 -0
- package/es/components/ui/flag.js.map +1 -0
- package/es/components/ui/floating-sidebar-metrics.js +56 -0
- package/es/components/ui/floating-sidebar-metrics.js.map +1 -0
- package/es/components/ui/floating-sidebar.js +522 -0
- package/es/components/ui/floating-sidebar.js.map +1 -0
- package/es/components/ui/form-context.js +25 -0
- package/es/components/ui/form-context.js.map +1 -0
- package/es/components/ui/form.js +75 -0
- package/es/components/ui/form.js.map +1 -0
- package/es/components/ui/hover-card.js +20 -0
- package/es/components/ui/hover-card.js.map +1 -0
- package/es/components/ui/icon.js +2 -0
- package/es/components/ui/image-overlay-button.js +14 -0
- package/es/components/ui/image-overlay-button.js.map +1 -0
- package/es/components/ui/indicator-variants.js +63 -0
- package/es/components/ui/indicator-variants.js.map +1 -0
- package/es/components/ui/indicator.js +26 -0
- package/es/components/ui/indicator.js.map +1 -0
- package/es/components/ui/input-group-variants.js +25 -0
- package/es/components/ui/input-group-variants.js.map +1 -0
- package/es/components/ui/input-group.js +90 -0
- package/es/components/ui/input-group.js.map +1 -0
- package/es/components/ui/input-surface.js +51 -0
- package/es/components/ui/input-surface.js.map +1 -0
- package/es/components/ui/input.js +18 -0
- package/es/components/ui/input.js.map +1 -0
- package/es/components/ui/kbd.js +29 -0
- package/es/components/ui/kbd.js.map +1 -0
- package/es/components/ui/label.js +17 -0
- package/es/components/ui/label.js.map +1 -0
- package/es/components/ui/link.js +30 -0
- package/es/components/ui/link.js.map +1 -0
- package/es/components/ui/loading-indicator.js +50 -0
- package/es/components/ui/loading-indicator.js.map +1 -0
- package/es/components/ui/metric-value.js +39 -0
- package/es/components/ui/metric-value.js.map +1 -0
- package/es/components/ui/multi-select-combobox.js +205 -0
- package/es/components/ui/multi-select-combobox.js.map +1 -0
- package/es/components/ui/navbar.js +41 -0
- package/es/components/ui/navbar.js.map +1 -0
- package/es/components/ui/no-value-label.js +19 -0
- package/es/components/ui/no-value-label.js.map +1 -0
- package/es/components/ui/pagemenu.js +138 -0
- package/es/components/ui/pagemenu.js.map +1 -0
- package/es/components/ui/popover.js +24 -0
- package/es/components/ui/popover.js.map +1 -0
- package/es/components/ui/preview-chrome-variants.js +13 -0
- package/es/components/ui/preview-chrome-variants.js.map +1 -0
- package/es/components/ui/preview-chrome.js +27 -0
- package/es/components/ui/preview-chrome.js.map +1 -0
- package/es/components/ui/radio-group-variants.js +14 -0
- package/es/components/ui/radio-group-variants.js.map +1 -0
- package/es/components/ui/radio-group.js +33 -0
- package/es/components/ui/radio-group.js.map +1 -0
- package/es/components/ui/select-variants.js +45 -0
- package/es/components/ui/select-variants.js.map +1 -0
- package/es/components/ui/select.js +90 -0
- package/es/components/ui/select.js.map +1 -0
- package/es/components/ui/separator.js +17 -0
- package/es/components/ui/separator.js.map +1 -0
- package/es/components/ui/sheet.js +67 -0
- package/es/components/ui/sheet.js.map +1 -0
- package/es/components/ui/sidebar-context.js +12 -0
- package/es/components/ui/sidebar-context.js.map +1 -0
- package/es/components/ui/sidebar.js +384 -0
- package/es/components/ui/sidebar.js.map +1 -0
- package/es/components/ui/simple-pagination.js +68 -0
- package/es/components/ui/simple-pagination.js.map +1 -0
- package/es/components/ui/skeleton.js +77 -0
- package/es/components/ui/skeleton.js.map +1 -0
- package/es/components/ui/sonner.js +29 -0
- package/es/components/ui/sonner.js.map +1 -0
- package/es/components/ui/sortable-list.js +107 -0
- package/es/components/ui/sortable-list.js.map +1 -0
- package/es/components/ui/sticky-footer.js +29 -0
- package/es/components/ui/sticky-footer.js.map +1 -0
- package/es/components/ui/switch.js +34 -0
- package/es/components/ui/switch.js.map +1 -0
- package/es/components/ui/table.js +81 -0
- package/es/components/ui/table.js.map +1 -0
- package/es/components/ui/tabs-variants.js +19 -0
- package/es/components/ui/tabs-variants.js.map +1 -0
- package/es/components/ui/tabs.js +157 -0
- package/es/components/ui/tabs.js.map +1 -0
- package/es/components/ui/textarea.js +17 -0
- package/es/components/ui/textarea.js.map +1 -0
- package/es/components/ui/time-picker.js +33 -0
- package/es/components/ui/time-picker.js.map +1 -0
- package/es/components/ui/toggle-group.js +52 -0
- package/es/components/ui/toggle-group.js.map +1 -0
- package/es/components/ui/toggle-variants.js +34 -0
- package/es/components/ui/toggle-variants.js.map +1 -0
- package/es/components/ui/toggle.js +29 -0
- package/es/components/ui/toggle.js.map +1 -0
- package/es/components/ui/token-field.js +14 -0
- package/es/components/ui/token-field.js.map +1 -0
- package/es/components/ui/tooltip.js +116 -0
- package/es/components/ui/tooltip.js.map +1 -0
- package/es/components/ui/trend-badge.js +77 -0
- package/es/components/ui/trend-badge.js.map +1 -0
- package/es/components.js +79 -0
- package/es/hooks/use-global-dirty-state.js +21 -0
- package/es/hooks/use-global-dirty-state.js.map +1 -0
- package/es/hooks/use-mobile.js +23 -0
- package/es/hooks/use-mobile.js.map +1 -0
- package/es/hooks/use-simple-pagination.js +45 -0
- package/es/hooks/use-simple-pagination.js.map +1 -0
- package/es/icon-BJcGsQ4b.js +185 -0
- package/es/icon-BJcGsQ4b.js.map +1 -0
- package/es/images-CUcakpOD.js +124 -0
- package/es/images-CUcakpOD.js.map +1 -0
- package/es/index.js +113 -0
- package/es/lib/ds-utils.js +214 -0
- package/es/lib/ds-utils.js.map +1 -0
- package/es/lib/overlay-escape.js +13 -0
- package/es/lib/overlay-escape.js.map +1 -0
- package/es/lib/utils.js +2 -0
- package/es/page-templates.js +5 -0
- package/es/patterns.js +19 -0
- package/es/primitives.js +9 -0
- package/es/providers/global-dirty-state-provider.js +25 -0
- package/es/providers/global-dirty-state-provider.js.map +1 -0
- package/es/providers/header-tooltip-provider.js +24 -0
- package/es/providers/header-tooltip-provider.js.map +1 -0
- package/es/providers/shade-context.js +19 -0
- package/es/providers/shade-context.js.map +1 -0
- package/es/providers/shade-provider.js +64 -0
- package/es/providers/shade-provider.js.map +1 -0
- package/es/shade-app.js +28 -0
- package/es/shade-app.js.map +1 -0
- package/es/shade-scope.js +20 -0
- package/es/shade-scope.js.map +1 -0
- package/es/tokens.js +370 -0
- package/es/tokens.js.map +1 -0
- package/es/utils.js +7 -0
- package/package.json +150 -3
- package/preflight.css +422 -0
- package/styles-published.css +2 -0
- package/styles.css +299 -0
- package/tailwind.theme.css +472 -0
- package/theme-variables.css +287 -0
- package/tokens.css +3 -0
- package/types/app.d.ts +6 -0
- package/types/app.d.ts.map +1 -0
- package/types/assets/images/index.d.ts +10 -0
- package/types/assets/images/index.d.ts.map +1 -0
- package/types/components/layout/error-page.d.ts +10 -0
- package/types/components/layout/error-page.d.ts.map +1 -0
- package/types/components/layout/heading.d.ts +29 -0
- package/types/components/layout/heading.d.ts.map +1 -0
- package/types/components/page-templates/detail-page.d.ts +32 -0
- package/types/components/page-templates/detail-page.d.ts.map +1 -0
- package/types/components/page-templates/large-page-title.d.ts +43 -0
- package/types/components/page-templates/large-page-title.d.ts.map +1 -0
- package/types/components/page-templates/list-page.d.ts +44 -0
- package/types/components/page-templates/list-page.d.ts.map +1 -0
- package/types/components/page-templates/modal-page.d.ts +13 -0
- package/types/components/page-templates/modal-page.d.ts.map +1 -0
- package/types/components/patterns/color-picker.d.ts +48 -0
- package/types/components/patterns/color-picker.d.ts.map +1 -0
- package/types/components/patterns/dirty-confirm-dialog.d.ts +16 -0
- package/types/components/patterns/dirty-confirm-dialog.d.ts.map +1 -0
- package/types/components/patterns/filter-bar-context.d.ts +4 -0
- package/types/components/patterns/filter-bar-context.d.ts.map +1 -0
- package/types/components/patterns/filter-bar.d.ts +27 -0
- package/types/components/patterns/filter-bar.d.ts.map +1 -0
- package/types/components/patterns/filters-helpers.d.ts +7 -0
- package/types/components/patterns/filters-helpers.d.ts.map +1 -0
- package/types/components/patterns/filters.d.ts +262 -0
- package/types/components/patterns/filters.d.ts.map +1 -0
- package/types/components/patterns/gh-chart.d.ts +44 -0
- package/types/components/patterns/gh-chart.d.ts.map +1 -0
- package/types/components/patterns/image-upload-variants.d.ts +5 -0
- package/types/components/patterns/image-upload-variants.d.ts.map +1 -0
- package/types/components/patterns/image-upload.d.ts +15 -0
- package/types/components/patterns/image-upload.d.ts.map +1 -0
- package/types/components/patterns/kpi-card.d.ts +12 -0
- package/types/components/patterns/kpi-card.d.ts.map +1 -0
- package/types/components/patterns/kpi-tabs.d.ts +26 -0
- package/types/components/patterns/kpi-tabs.d.ts.map +1 -0
- package/types/components/patterns/page-header-large-title.d.ts +14 -0
- package/types/components/patterns/page-header-large-title.d.ts.map +1 -0
- package/types/components/patterns/page-header.d.ts +99 -0
- package/types/components/patterns/page-header.d.ts.map +1 -0
- package/types/components/patterns/setting-group-variants.d.ts +6 -0
- package/types/components/patterns/setting-group-variants.d.ts.map +1 -0
- package/types/components/patterns/setting-group.d.ts +22 -0
- package/types/components/patterns/setting-group.d.ts.map +1 -0
- package/types/components/patterns/settings-modal-variants.d.ts +8 -0
- package/types/components/patterns/settings-modal-variants.d.ts.map +1 -0
- package/types/components/patterns/settings-modal.d.ts +50 -0
- package/types/components/patterns/settings-modal.d.ts.map +1 -0
- package/types/components/patterns/share-modal.d.ts +56 -0
- package/types/components/patterns/share-modal.d.ts.map +1 -0
- package/types/components/patterns/use-dirty-confirmation.d.ts +3 -0
- package/types/components/patterns/use-dirty-confirmation.d.ts.map +1 -0
- package/types/components/patterns/view-bar.d.ts +13 -0
- package/types/components/patterns/view-bar.d.ts.map +1 -0
- package/types/components/primitives/box.d.ts +12 -0
- package/types/components/primitives/box.d.ts.map +1 -0
- package/types/components/primitives/container.d.ts +11 -0
- package/types/components/primitives/container.d.ts.map +1 -0
- package/types/components/primitives/grid.d.ts +12 -0
- package/types/components/primitives/grid.d.ts.map +1 -0
- package/types/components/primitives/index.d.ts +10 -0
- package/types/components/primitives/index.d.ts.map +1 -0
- package/types/components/primitives/inline.d.ts +13 -0
- package/types/components/primitives/inline.d.ts.map +1 -0
- package/types/components/primitives/stack.d.ts +10 -0
- package/types/components/primitives/stack.d.ts.map +1 -0
- package/types/components/primitives/text.d.ts +18 -0
- package/types/components/primitives/text.d.ts.map +1 -0
- package/types/components/primitives/types.d.ts +10 -0
- package/types/components/primitives/types.d.ts.map +1 -0
- package/types/components/ui/accordion.d.ts +8 -0
- package/types/components/ui/accordion.d.ts.map +1 -0
- package/types/components/ui/action-list.d.ts +21 -0
- package/types/components/ui/action-list.d.ts.map +1 -0
- package/types/components/ui/alert-dialog.d.ts +24 -0
- package/types/components/ui/alert-dialog.d.ts.map +1 -0
- package/types/components/ui/animated-number.d.ts +6 -0
- package/types/components/ui/animated-number.d.ts.map +1 -0
- package/types/components/ui/avatar.d.ts +17 -0
- package/types/components/ui/avatar.d.ts.map +1 -0
- package/types/components/ui/badge-variants.d.ts +7 -0
- package/types/components/ui/badge-variants.d.ts.map +1 -0
- package/types/components/ui/badge.d.ts +9 -0
- package/types/components/ui/badge.d.ts.map +1 -0
- package/types/components/ui/banner-variants.d.ts +6 -0
- package/types/components/ui/banner-variants.d.ts.map +1 -0
- package/types/components/ui/banner.d.ts +24 -0
- package/types/components/ui/banner.d.ts.map +1 -0
- package/types/components/ui/breadcrumb.d.ts +20 -0
- package/types/components/ui/breadcrumb.d.ts.map +1 -0
- package/types/components/ui/button-variants.d.ts +8 -0
- package/types/components/ui/button-variants.d.ts.map +1 -0
- package/types/components/ui/button.d.ts +9 -0
- package/types/components/ui/button.d.ts.map +1 -0
- package/types/components/ui/calendar.d.ts +15 -0
- package/types/components/ui/calendar.d.ts.map +1 -0
- package/types/components/ui/card-variants.d.ts +5 -0
- package/types/components/ui/card-variants.d.ts.map +1 -0
- package/types/components/ui/card.d.ts +16 -0
- package/types/components/ui/card.d.ts.map +1 -0
- package/types/components/ui/chart.d.ts +90 -0
- package/types/components/ui/chart.d.ts.map +1 -0
- package/types/components/ui/checkbox.d.ts +5 -0
- package/types/components/ui/checkbox.d.ts.map +1 -0
- package/types/components/ui/code-editor-view.d.ts +17 -0
- package/types/components/ui/code-editor-view.d.ts.map +1 -0
- package/types/components/ui/code-editor.d.ts +7 -0
- package/types/components/ui/code-editor.d.ts.map +1 -0
- package/types/components/ui/combobox.d.ts +10 -0
- package/types/components/ui/combobox.d.ts.map +1 -0
- package/types/components/ui/command.d.ts +22 -0
- package/types/components/ui/command.d.ts.map +1 -0
- package/types/components/ui/context-menu.d.ts +29 -0
- package/types/components/ui/context-menu.d.ts.map +1 -0
- package/types/components/ui/copy-field.d.ts +19 -0
- package/types/components/ui/copy-field.d.ts.map +1 -0
- package/types/components/ui/data-list.d.ts +53 -0
- package/types/components/ui/data-list.d.ts.map +1 -0
- package/types/components/ui/dialog.d.ts +20 -0
- package/types/components/ui/dialog.d.ts.map +1 -0
- package/types/components/ui/dropdown-menu.d.ts +28 -0
- package/types/components/ui/dropdown-menu.d.ts.map +1 -0
- package/types/components/ui/dropzone-variants.d.ts +7 -0
- package/types/components/ui/dropzone-variants.d.ts.map +1 -0
- package/types/components/ui/dropzone.d.ts +28 -0
- package/types/components/ui/dropzone.d.ts.map +1 -0
- package/types/components/ui/empty-indicator.d.ts +16 -0
- package/types/components/ui/empty-indicator.d.ts.map +1 -0
- package/types/components/ui/field.d.ts +25 -0
- package/types/components/ui/field.d.ts.map +1 -0
- package/types/components/ui/flag.d.ts +11 -0
- package/types/components/ui/flag.d.ts.map +1 -0
- package/types/components/ui/floating-sidebar-metrics.d.ts +54 -0
- package/types/components/ui/floating-sidebar-metrics.d.ts.map +1 -0
- package/types/components/ui/floating-sidebar.d.ts +72 -0
- package/types/components/ui/floating-sidebar.d.ts.map +1 -0
- package/types/components/ui/form-context.d.ts +24 -0
- package/types/components/ui/form-context.d.ts.map +1 -0
- package/types/components/ui/form.d.ts +14 -0
- package/types/components/ui/form.d.ts.map +1 -0
- package/types/components/ui/hover-card.d.ts +7 -0
- package/types/components/ui/hover-card.d.ts.map +1 -0
- package/types/components/ui/icon.d.ts +13 -0
- package/types/components/ui/icon.d.ts.map +1 -0
- package/types/components/ui/image-overlay-button.d.ts +7 -0
- package/types/components/ui/image-overlay-button.d.ts.map +1 -0
- package/types/components/ui/indicator-variants.d.ts +11 -0
- package/types/components/ui/indicator-variants.d.ts.map +1 -0
- package/types/components/ui/indicator.d.ts +9 -0
- package/types/components/ui/indicator.d.ts.map +1 -0
- package/types/components/ui/input-group-variants.d.ts +6 -0
- package/types/components/ui/input-group-variants.d.ts.map +1 -0
- package/types/components/ui/input-group.d.ts +18 -0
- package/types/components/ui/input-group.d.ts.map +1 -0
- package/types/components/ui/input-surface.d.ts +43 -0
- package/types/components/ui/input-surface.d.ts.map +1 -0
- package/types/components/ui/input.d.ts +4 -0
- package/types/components/ui/input.d.ts.map +1 -0
- package/types/components/ui/kbd.d.ts +10 -0
- package/types/components/ui/kbd.d.ts.map +1 -0
- package/types/components/ui/label.d.ts +6 -0
- package/types/components/ui/label.d.ts.map +1 -0
- package/types/components/ui/link.d.ts +15 -0
- package/types/components/ui/link.d.ts.map +1 -0
- package/types/components/ui/loading-indicator.d.ts +12 -0
- package/types/components/ui/loading-indicator.d.ts.map +1 -0
- package/types/components/ui/metric-value.d.ts +16 -0
- package/types/components/ui/metric-value.d.ts.map +1 -0
- package/types/components/ui/multi-select-combobox.d.ts +80 -0
- package/types/components/ui/multi-select-combobox.d.ts.map +1 -0
- package/types/components/ui/navbar.d.ts +18 -0
- package/types/components/ui/navbar.d.ts.map +1 -0
- package/types/components/ui/no-value-label.d.ts +14 -0
- package/types/components/ui/no-value-label.d.ts.map +1 -0
- package/types/components/ui/pagemenu.d.ts +18 -0
- package/types/components/ui/pagemenu.d.ts.map +1 -0
- package/types/components/ui/popover.d.ts +9 -0
- package/types/components/ui/popover.d.ts.map +1 -0
- package/types/components/ui/preview-chrome-variants.d.ts +5 -0
- package/types/components/ui/preview-chrome-variants.d.ts.map +1 -0
- package/types/components/ui/preview-chrome.d.ts +8 -0
- package/types/components/ui/preview-chrome.d.ts.map +1 -0
- package/types/components/ui/radio-group-variants.d.ts +5 -0
- package/types/components/ui/radio-group-variants.d.ts.map +1 -0
- package/types/components/ui/radio-group.d.ts +9 -0
- package/types/components/ui/radio-group.d.ts.map +1 -0
- package/types/components/ui/select-variants.d.ts +7 -0
- package/types/components/ui/select-variants.d.ts.map +1 -0
- package/types/components/ui/select.d.ts +20 -0
- package/types/components/ui/select.d.ts.map +1 -0
- package/types/components/ui/separator.d.ts +5 -0
- package/types/components/ui/separator.d.ts.map +1 -0
- package/types/components/ui/sheet.d.ts +26 -0
- package/types/components/ui/sheet.d.ts.map +1 -0
- package/types/components/ui/sidebar-context.d.ts +15 -0
- package/types/components/ui/sidebar-context.d.ts.map +1 -0
- package/types/components/ui/sidebar.d.ts +56 -0
- package/types/components/ui/sidebar.d.ts.map +1 -0
- package/types/components/ui/simple-pagination.d.ts +16 -0
- package/types/components/ui/simple-pagination.d.ts.map +1 -0
- package/types/components/ui/skeleton.d.ts +15 -0
- package/types/components/ui/skeleton.d.ts.map +1 -0
- package/types/components/ui/sonner.d.ts +5 -0
- package/types/components/ui/sonner.d.ts.map +1 -0
- package/types/components/ui/sortable-list.d.ts +39 -0
- package/types/components/ui/sortable-list.d.ts.map +1 -0
- package/types/components/ui/sticky-footer.d.ts +10 -0
- package/types/components/ui/sticky-footer.d.ts.map +1 -0
- package/types/components/ui/switch.d.ts +11 -0
- package/types/components/ui/switch.d.ts.map +1 -0
- package/types/components/ui/table.d.ts +21 -0
- package/types/components/ui/table.d.ts.map +1 -0
- package/types/components/ui/tabs-variants.d.ts +5 -0
- package/types/components/ui/tabs-variants.d.ts.map +1 -0
- package/types/components/ui/tabs.d.ts +21 -0
- package/types/components/ui/tabs.d.ts.map +1 -0
- package/types/components/ui/textarea.d.ts +4 -0
- package/types/components/ui/textarea.d.ts.map +1 -0
- package/types/components/ui/time-picker.d.ts +8 -0
- package/types/components/ui/time-picker.d.ts.map +1 -0
- package/types/components/ui/toggle-group.d.ts +17 -0
- package/types/components/ui/toggle-group.d.ts.map +1 -0
- package/types/components/ui/toggle-variants.d.ts +8 -0
- package/types/components/ui/toggle-variants.d.ts.map +1 -0
- package/types/components/ui/toggle.d.ts +11 -0
- package/types/components/ui/toggle.d.ts.map +1 -0
- package/types/components/ui/token-field.d.ts +8 -0
- package/types/components/ui/token-field.d.ts.map +1 -0
- package/types/components/ui/tooltip.d.ts +19 -0
- package/types/components/ui/tooltip.d.ts.map +1 -0
- package/types/components/ui/trend-badge.d.ts +13 -0
- package/types/components/ui/trend-badge.d.ts.map +1 -0
- package/types/components.d.ts +81 -0
- package/types/components.d.ts.map +1 -0
- package/types/hooks/use-global-dirty-state.d.ts +12 -0
- package/types/hooks/use-global-dirty-state.d.ts.map +1 -0
- package/types/hooks/use-mobile.d.ts +2 -0
- package/types/hooks/use-mobile.d.ts.map +1 -0
- package/types/hooks/use-simple-pagination.d.ts +45 -0
- package/types/hooks/use-simple-pagination.d.ts.map +1 -0
- package/types/index.d.ts +6 -0
- package/types/index.d.ts.map +1 -0
- package/types/lib/ds-utils.d.ts +36 -0
- package/types/lib/ds-utils.d.ts.map +1 -0
- package/types/lib/overlay-escape.d.ts +8 -0
- package/types/lib/overlay-escape.d.ts.map +1 -0
- package/types/lib/utils.d.ts +2 -0
- package/types/lib/utils.d.ts.map +1 -0
- package/types/page-templates.d.ts +6 -0
- package/types/page-templates.d.ts.map +1 -0
- package/types/patterns.d.ts +23 -0
- package/types/patterns.d.ts.map +1 -0
- package/types/primitives.d.ts +4 -0
- package/types/primitives.d.ts.map +1 -0
- package/types/providers/global-dirty-state-provider.d.ts +5 -0
- package/types/providers/global-dirty-state-provider.d.ts.map +1 -0
- package/types/providers/header-tooltip-provider.d.ts +4 -0
- package/types/providers/header-tooltip-provider.d.ts.map +1 -0
- package/types/providers/shade-context.d.ts +13 -0
- package/types/providers/shade-context.d.ts.map +1 -0
- package/types/providers/shade-provider.d.ts +11 -0
- package/types/providers/shade-provider.d.ts.map +1 -0
- package/types/shade-app.d.ts +17 -0
- package/types/shade-app.d.ts.map +1 -0
- package/types/shade-scope.d.ts +4 -0
- package/types/shade-scope.d.ts.map +1 -0
- package/types/tokens.d.ts +4 -0
- package/types/tokens.d.ts.map +1 -0
- package/types/utils.d.ts +7 -0
- package/types/utils.d.ts.map +1 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { cn, kebabToPascalCase } from "./lib/ds-utils.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
//#region \0rolldown/runtime.js
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __exportAll = (all, no_symbols) => {
|
|
8
|
+
let target = {};
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
14
|
+
return target;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/assets/icons/error-fill.svg?react
|
|
18
|
+
var error_fill_exports = /* @__PURE__ */ __exportAll({ default: () => SvgErrorFill });
|
|
19
|
+
var SvgErrorFill = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
+
viewBox: "0 0 24 24",
|
|
22
|
+
height: 24,
|
|
23
|
+
width: 24,
|
|
24
|
+
id: "Alert-Triangle--Streamline-Ultimate",
|
|
25
|
+
...props,
|
|
26
|
+
children: [/* @__PURE__ */ jsx("desc", { children: "Alert Triangle Streamline Icon: https://streamlinehq.com" }), /* @__PURE__ */ jsx("path", {
|
|
27
|
+
d: "m23.77 20.57 -10 -19A2 2 0 0 0 12 0.5a2 2 0 0 0 -1.77 1.07l-10 19a2 2 0 0 0 0.06 2A2 2 0 0 0 2 23.5h20a2 2 0 0 0 1.77 -2.93ZM11 8.5a1 1 0 0 1 2 0v6a1 1 0 0 1 -2 0ZM12.05 20a1.53 1.53 0 0 1 -1.52 -1.47A1.48 1.48 0 0 1 12 17a1.53 1.53 0 0 1 1.52 1.47A1.48 1.48 0 0 1 12.05 20Z",
|
|
28
|
+
fill: "currentColor",
|
|
29
|
+
strokeWidth: 1
|
|
30
|
+
})]
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/assets/icons/info-fill.svg?react
|
|
34
|
+
var info_fill_exports = /* @__PURE__ */ __exportAll({ default: () => SvgInfoFill });
|
|
35
|
+
var SvgInfoFill = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
height: 24,
|
|
39
|
+
width: 24,
|
|
40
|
+
id: "Information-Circle--Streamline-Ultimate",
|
|
41
|
+
...props,
|
|
42
|
+
children: [/* @__PURE__ */ jsx("desc", { children: "Information Circle Streamline Icon: https://streamlinehq.com" }), /* @__PURE__ */ jsx("path", {
|
|
43
|
+
d: "M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm0.25 5a1.5 1.5 0 1 1 -1.5 1.5 1.5 1.5 0 0 1 1.5 -1.5Zm2.25 13.5h-4a1 1 0 0 1 0 -2h0.75a0.25 0.25 0 0 0 0.25 -0.25v-4.5a0.25 0.25 0 0 0 -0.25 -0.25h-0.75a1 1 0 0 1 0 -2h1a2 2 0 0 1 2 2v4.75a0.25 0.25 0 0 0 0.25 0.25h0.75a1 1 0 0 1 0 2Z",
|
|
44
|
+
fill: "currentcolor",
|
|
45
|
+
strokeWidth: 1
|
|
46
|
+
})]
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/assets/icons/skull-and-bones.svg?react
|
|
50
|
+
var skull_and_bones_exports = /* @__PURE__ */ __exportAll({ default: () => SvgSkullAndBones });
|
|
51
|
+
var SvgSkullAndBones = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
52
|
+
height: 16,
|
|
53
|
+
id: "Skull-2--Streamline-Ultimate",
|
|
54
|
+
viewBox: "0 0 16 16",
|
|
55
|
+
width: 16,
|
|
56
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
57
|
+
...props,
|
|
58
|
+
children: [/* @__PURE__ */ jsx("desc", { children: "\n Skull 2 Streamline Icon: https://streamlinehq.com\n " }), /* @__PURE__ */ jsxs("g", { children: [
|
|
59
|
+
/* @__PURE__ */ jsx("path", {
|
|
60
|
+
d: "M12.333333333333332 7.333333333333333a4.333333333333333 4.333333333333333 0 1 0 -7.333333333333333 3.126666666666667v1.88a1 1 0 0 0 2 0 1 1 0 0 0 2 0 1 1 0 1 0 2 0v-1.88a4.326666666666666 4.326666666666666 0 0 0 1.3333333333333333 -3.126666666666667Zm-6.253333333333334 1a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Zm4 0a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Z",
|
|
61
|
+
fill: "currentColor",
|
|
62
|
+
strokeWidth: .6667
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ jsx("path", {
|
|
65
|
+
d: "m1.8666666666666665 3.28 1.22 1.22a0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 0.09333333333333334 0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 -0.14666666666666667 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 -0.9733333333333333 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 -0.2333333333333333 0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 -0.24666666666666665L3.28 1.8666666666666665A1.1666666666666665 1.1666666666666665 0 0 0 1.8399999999999999 0.11333333333333334a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 0.48l-0.09999999999999999 0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 0.26666666666666666l-0.52 0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 -0.48 0.3666666666666667A1.1666666666666665 1.1666666666666665 0 0 0 1.8666666666666665 3.28Z",
|
|
66
|
+
fill: "currentColor",
|
|
67
|
+
strokeWidth: .6667
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsx("path", {
|
|
70
|
+
d: "M12.4 4.446666666666666a0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 0.14666666666666667 0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 -0.09333333333333334l1.22 -1.22a1.1666666666666665 1.1666666666666665 0 0 0 1.7533333333333332 -1.44 0.6666666666666666 0.6666666666666666 0 0 0 -0.48 -0.3666666666666667l-0.52 -0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 -0.26666666666666666l-0.09999999999999999 -0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 -0.48 1.1666666666666665 1.1666666666666665 0 0 0 -1.44 1.7533333333333332l-1.1333333333333333 1.1266666666666665a0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 0.24666666666666665 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 0.2333333333333333 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 0.9733333333333333Z",
|
|
71
|
+
fill: "currentColor",
|
|
72
|
+
strokeWidth: .6667
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ jsx("path", {
|
|
75
|
+
d: "M3.6 11.559999999999999a0.33999999999999997 0.33999999999999997 0 0 0 -0.26666666666666666 -0.15333333333333332 0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 0.09333333333333334l-1.2 1.22a1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 1.44 0.6666666666666666 0.6666666666666666 0 0 0 0.48 0.3666666666666667l0.52 0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 0.26 0.26666666666666666l0.09999999999999999 0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 0.48 1.1666666666666665 1.1666666666666665 0 0 0 1.44 -1.7533333333333332l1.1333333333333333 -1.1266666666666665a0.36 0.36 0 0 0 0.09333333333333334 -0.24 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 -0.24 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 -0.9666666666666666Z",
|
|
76
|
+
fill: "currentColor",
|
|
77
|
+
strokeWidth: .6667
|
|
78
|
+
}),
|
|
79
|
+
/* @__PURE__ */ jsx("path", {
|
|
80
|
+
d: "m14.133333333333333 12.719999999999999 -1.22 -1.22a0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 -0.09333333333333334 0.33999999999999997 0.33999999999999997 0 0 0 -0.24666666666666665 0.15333333333333332 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 0.9666666666666666 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 0.24 0.36 0.36 0 0 0 0.09333333333333334 0.24l1.1333333333333333 1.1266666666666665a1.1666666666666665 1.1666666666666665 0 0 0 1.44 1.7533333333333332 0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 -0.48l0.09999999999999999 -0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 0.26 -0.26666666666666666l0.52 -0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 0.48 -0.3666666666666667 1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 -1.44Z",
|
|
81
|
+
fill: "currentColor",
|
|
82
|
+
strokeWidth: .6667
|
|
83
|
+
})
|
|
84
|
+
] })]
|
|
85
|
+
});
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/assets/icons/success-fill.svg?react
|
|
88
|
+
var success_fill_exports = /* @__PURE__ */ __exportAll({ default: () => SvgSuccessFill });
|
|
89
|
+
var SvgSuccessFill = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
90
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
91
|
+
viewBox: "0 0 24 24",
|
|
92
|
+
height: 24,
|
|
93
|
+
width: 24,
|
|
94
|
+
id: "Check-Circle-1--Streamline-Ultimate",
|
|
95
|
+
...props,
|
|
96
|
+
children: [/* @__PURE__ */ jsx("desc", { children: "Check Circle 1 Streamline Icon: https://streamlinehq.com" }), /* @__PURE__ */ jsx("path", {
|
|
97
|
+
d: "M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm6.93 8.2 -6.85 9.29a1 1 0 0 1 -1.43 0.19l-4.89 -3.91a1 1 0 0 1 -0.15 -1.41A1 1 0 0 1 7 12.21l4.08 3.26L17.32 7a1 1 0 0 1 1.39 -0.21 1 1 0 0 1 0.22 1.41Z",
|
|
98
|
+
fill: "currentcolor",
|
|
99
|
+
strokeWidth: 1
|
|
100
|
+
})]
|
|
101
|
+
});
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/assets/icons/typography.svg?react
|
|
104
|
+
var typography_exports = /* @__PURE__ */ __exportAll({ default: () => SvgTypography });
|
|
105
|
+
var SvgTypography = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
106
|
+
viewBox: "-0.75 -0.75 20 20",
|
|
107
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
108
|
+
height: 24,
|
|
109
|
+
width: 24,
|
|
110
|
+
...props,
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ jsx("desc", { children: "Typography" }),
|
|
113
|
+
/* @__PURE__ */ jsx("path", {
|
|
114
|
+
d: "m0.578125 9.827354166666668 8.09375 0",
|
|
115
|
+
fill: "none",
|
|
116
|
+
stroke: "currentColor",
|
|
117
|
+
strokeLinecap: "round",
|
|
118
|
+
strokeLinejoin: "round",
|
|
119
|
+
strokeWidth: 1.5
|
|
120
|
+
}),
|
|
121
|
+
/* @__PURE__ */ jsx("path", {
|
|
122
|
+
d: "m12.140625 13.296104166666666 5.78125 0",
|
|
123
|
+
fill: "none",
|
|
124
|
+
stroke: "currentColor",
|
|
125
|
+
strokeLinecap: "round",
|
|
126
|
+
strokeLinejoin: "round",
|
|
127
|
+
strokeWidth: 1.5
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ jsx("path", {
|
|
130
|
+
d: "M12.140625 16.764854166666666V10.40625a2.890625 2.890625 0 0 1 5.78125 0v6.359375",
|
|
131
|
+
fill: "none",
|
|
132
|
+
stroke: "currentColor",
|
|
133
|
+
strokeLinecap: "round",
|
|
134
|
+
strokeLinejoin: "round",
|
|
135
|
+
strokeWidth: 1.5
|
|
136
|
+
}),
|
|
137
|
+
/* @__PURE__ */ jsx("path", {
|
|
138
|
+
d: "M0.578125 16.764854166666666V5.78125a4.046875 4.046875 0 0 1 8.09375 0v10.984375",
|
|
139
|
+
fill: "none",
|
|
140
|
+
stroke: "currentColor",
|
|
141
|
+
strokeLinecap: "round",
|
|
142
|
+
strokeLinejoin: "round",
|
|
143
|
+
strokeWidth: 1.5
|
|
144
|
+
})
|
|
145
|
+
]
|
|
146
|
+
});
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/components/ui/icon.ts
|
|
149
|
+
var iconVariants = cva("", {
|
|
150
|
+
variants: { size: {
|
|
151
|
+
sm: "size-3",
|
|
152
|
+
md: "size-4",
|
|
153
|
+
lg: "size-6",
|
|
154
|
+
xl: "size-8"
|
|
155
|
+
} },
|
|
156
|
+
defaultVariants: { size: "md" }
|
|
157
|
+
});
|
|
158
|
+
var Icon = Object.entries(/* @__PURE__ */ Object.assign({
|
|
159
|
+
"../../assets/icons/error-fill.svg": error_fill_exports,
|
|
160
|
+
"../../assets/icons/info-fill.svg": info_fill_exports,
|
|
161
|
+
"../../assets/icons/skull-and-bones.svg": skull_and_bones_exports,
|
|
162
|
+
"../../assets/icons/success-fill.svg": success_fill_exports,
|
|
163
|
+
"../../assets/icons/typography.svg": typography_exports
|
|
164
|
+
})).reduce((acc, [path, module]) => {
|
|
165
|
+
const iconName = kebabToPascalCase(path.match(/[^/]+(?=\.svg$)/)?.[0] ?? "");
|
|
166
|
+
const IconComponent = (props) => {
|
|
167
|
+
const { size, className, ...rest } = props;
|
|
168
|
+
const iconClassName = cn(iconVariants({
|
|
169
|
+
size,
|
|
170
|
+
className
|
|
171
|
+
}));
|
|
172
|
+
return React.createElement(module.default, {
|
|
173
|
+
...rest,
|
|
174
|
+
className: iconClassName
|
|
175
|
+
});
|
|
176
|
+
};
|
|
177
|
+
IconComponent.displayName = `Icon.${iconName}`;
|
|
178
|
+
acc[iconName] = IconComponent;
|
|
179
|
+
return acc;
|
|
180
|
+
}, {});
|
|
181
|
+
var IconComponents = Icon;
|
|
182
|
+
//#endregion
|
|
183
|
+
export { IconComponents as n, Icon as t };
|
|
184
|
+
|
|
185
|
+
//# sourceMappingURL=icon-BJcGsQ4b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-BJcGsQ4b.js","names":[],"sources":["../src/assets/icons/error-fill.svg?react","../src/assets/icons/info-fill.svg?react","../src/assets/icons/skull-and-bones.svg?react","../src/assets/icons/success-fill.svg?react","../src/assets/icons/typography.svg?react","../src/components/ui/icon.ts"],"sourcesContent":["import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgErrorFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Alert-Triangle--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Alert Triangle Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"m23.77 20.57 -10 -19A2 2 0 0 0 12 0.5a2 2 0 0 0 -1.77 1.07l-10 19a2 2 0 0 0 0.06 2A2 2 0 0 0 2 23.5h20a2 2 0 0 0 1.77 -2.93ZM11 8.5a1 1 0 0 1 2 0v6a1 1 0 0 1 -2 0ZM12.05 20a1.53 1.53 0 0 1 -1.52 -1.47A1.48 1.48 0 0 1 12 17a1.53 1.53 0 0 1 1.52 1.47A1.48 1.48 0 0 1 12.05 20Z\",\n\t\tfill: \"currentColor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgErrorFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgInfoFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Information-Circle--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Information Circle Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm0.25 5a1.5 1.5 0 1 1 -1.5 1.5 1.5 1.5 0 0 1 1.5 -1.5Zm2.25 13.5h-4a1 1 0 0 1 0 -2h0.75a0.25 0.25 0 0 0 0.25 -0.25v-4.5a0.25 0.25 0 0 0 -0.25 -0.25h-0.75a1 1 0 0 1 0 -2h1a2 2 0 0 1 2 2v4.75a0.25 0.25 0 0 0 0.25 0.25h0.75a1 1 0 0 1 0 2Z\",\n\t\tfill: \"currentcolor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgInfoFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgSkullAndBones = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\theight: 16,\n\tid: \"Skull-2--Streamline-Ultimate\",\n\tviewBox: \"0 0 16 16\",\n\twidth: 16,\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"\\n Skull 2 Streamline Icon: https://streamlinehq.com\\n \" }), /* @__PURE__ */ _jsxs(\"g\", { children: [\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.333333333333332 7.333333333333333a4.333333333333333 4.333333333333333 0 1 0 -7.333333333333333 3.126666666666667v1.88a1 1 0 0 0 2 0 1 1 0 0 0 2 0 1 1 0 1 0 2 0v-1.88a4.326666666666666 4.326666666666666 0 0 0 1.3333333333333333 -3.126666666666667Zm-6.253333333333334 1a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Zm4 0a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m1.8666666666666665 3.28 1.22 1.22a0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 0.09333333333333334 0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 -0.14666666666666667 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 -0.9733333333333333 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 -0.2333333333333333 0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 -0.24666666666666665L3.28 1.8666666666666665A1.1666666666666665 1.1666666666666665 0 0 0 1.8399999999999999 0.11333333333333334a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 0.48l-0.09999999999999999 0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 0.26666666666666666l-0.52 0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 -0.48 0.3666666666666667A1.1666666666666665 1.1666666666666665 0 0 0 1.8666666666666665 3.28Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.4 4.446666666666666a0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 0.14666666666666667 0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 -0.09333333333333334l1.22 -1.22a1.1666666666666665 1.1666666666666665 0 0 0 1.7533333333333332 -1.44 0.6666666666666666 0.6666666666666666 0 0 0 -0.48 -0.3666666666666667l-0.52 -0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 -0.26666666666666666l-0.09999999999999999 -0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 -0.48 1.1666666666666665 1.1666666666666665 0 0 0 -1.44 1.7533333333333332l-1.1333333333333333 1.1266666666666665a0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 0.24666666666666665 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 0.2333333333333333 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 0.9733333333333333Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M3.6 11.559999999999999a0.33999999999999997 0.33999999999999997 0 0 0 -0.26666666666666666 -0.15333333333333332 0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 0.09333333333333334l-1.2 1.22a1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 1.44 0.6666666666666666 0.6666666666666666 0 0 0 0.48 0.3666666666666667l0.52 0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 0.26 0.26666666666666666l0.09999999999999999 0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 0.48 1.1666666666666665 1.1666666666666665 0 0 0 1.44 -1.7533333333333332l1.1333333333333333 -1.1266666666666665a0.36 0.36 0 0 0 0.09333333333333334 -0.24 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 -0.24 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 -0.9666666666666666Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m14.133333333333333 12.719999999999999 -1.22 -1.22a0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 -0.09333333333333334 0.33999999999999997 0.33999999999999997 0 0 0 -0.24666666666666665 0.15333333333333332 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 0.9666666666666666 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 0.24 0.36 0.36 0 0 0 0.09333333333333334 0.24l1.1333333333333333 1.1266666666666665a1.1666666666666665 1.1666666666666665 0 0 0 1.44 1.7533333333333332 0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 -0.48l0.09999999999999999 -0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 0.26 -0.26666666666666666l0.52 -0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 0.48 -0.3666666666666667 1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 -1.44Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t})\n\t] })]\n});\nexport default SvgSkullAndBones;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgSuccessFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Check-Circle-1--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Check Circle 1 Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm6.93 8.2 -6.85 9.29a1 1 0 0 1 -1.43 0.19l-4.89 -3.91a1 1 0 0 1 -0.15 -1.41A1 1 0 0 1 7 12.21l4.08 3.26L17.32 7a1 1 0 0 1 1.39 -0.21 1 1 0 0 1 0.22 1.41Z\",\n\t\tfill: \"currentcolor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgSuccessFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgTypography = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tviewBox: \"-0.75 -0.75 20 20\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\theight: 24,\n\twidth: 24,\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"desc\", { children: \"Typography\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m0.578125 9.827354166666668 8.09375 0\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m12.140625 13.296104166666666 5.78125 0\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.140625 16.764854166666666V10.40625a2.890625 2.890625 0 0 1 5.78125 0v6.359375\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M0.578125 16.764854166666666V5.78125a4.046875 4.046875 0 0 1 8.09375 0v10.984375\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t})\n\t]\n});\nexport default SvgTypography;\n","import React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn, kebabToPascalCase } from '@/lib/utils';\n\nconst iconVariants = cva('', {\n variants: {\n size: {\n sm: 'size-3',\n md: 'size-4',\n lg: 'size-6',\n xl: 'size-8',\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\ninterface IconProps extends React.SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {\n className?: string;\n}\n\nconst iconModules = import.meta.glob<{ default: React.FC<IconProps> }>('../../assets/icons/*.svg', {\n eager: true,\n query: '?react',\n});\n\nconst Icon = Object.entries(iconModules).reduce(\n (acc, [path, module]) => {\n const kebabName = path.match(/[^/]+(?=\\.svg$)/)?.[0] ?? '';\n const iconName = kebabToPascalCase(kebabName);\n\n const IconComponent = (props: IconProps) => {\n const { size, className, ...rest } = props;\n const iconClassName = cn(iconVariants({ size, className }));\n return React.createElement(module.default, {\n ...rest,\n className: iconClassName,\n });\n };\n\n IconComponent.displayName = `Icon.${iconName}`;\n\n acc[iconName] = IconComponent;\n return acc;\n },\n {} as Record<string, React.FC<IconProps>>,\n);\n\nexport type IconName = keyof typeof Icon;\n\nexport const IconComponents = Icon;\nexport default Icon;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAEA,IAAM,gBAAgB,UAA0B,qBAAM,OAAO;CAC5D,OAAO;CACP,SAAS;CACT,QAAQ;CACR,OAAO;CACP,IAAI;CACJ,GAAG;CACH,UAAU,CAAiB,oBAAK,QAAQ,EAAE,UAAU,2DAA2D,CAAC,GAAmB,oBAAK,QAAQ;EAC/I,GAAG;EACH,MAAM;EACN,aAAa;CACd,CAAC,CAAC;AACH,CAAC;;;;ACZD,IAAM,eAAe,UAA0B,qBAAM,OAAO;CAC3D,OAAO;CACP,SAAS;CACT,QAAQ;CACR,OAAO;CACP,IAAI;CACJ,GAAG;CACH,UAAU,CAAiB,oBAAK,QAAQ,EAAE,UAAU,+DAA+D,CAAC,GAAmB,oBAAK,QAAQ;EACnJ,GAAG;EACH,MAAM;EACN,aAAa;CACd,CAAC,CAAC;AACH,CAAC;;;;ACZD,IAAM,oBAAoB,UAA0B,qBAAM,OAAO;CAChE,QAAQ;CACR,IAAI;CACJ,SAAS;CACT,OAAO;CACP,OAAO;CACP,GAAG;CACH,UAAU,CAAiB,oBAAK,QAAQ,EAAE,UAAU,gEAAgE,CAAC,GAAmB,qBAAM,KAAK,EAAE,UAAU;EAC9I,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;CACF,EAAE,CAAC,CAAC;AACL,CAAC;;;;AClCD,IAAM,kBAAkB,UAA0B,qBAAM,OAAO;CAC9D,OAAO;CACP,SAAS;CACT,QAAQ;CACR,OAAO;CACP,IAAI;CACJ,GAAG;CACH,UAAU,CAAiB,oBAAK,QAAQ,EAAE,UAAU,2DAA2D,CAAC,GAAmB,oBAAK,QAAQ;EAC/I,GAAG;EACH,MAAM;EACN,aAAa;CACd,CAAC,CAAC;AACH,CAAC;;;;ACZD,IAAM,iBAAiB,UAA0B,qBAAM,OAAO;CAC7D,SAAS;CACT,OAAO;CACP,QAAQ;CACR,OAAO;CACP,GAAG;CACH,UAAU;EACO,oBAAK,QAAQ,EAAE,UAAU,aAAa,CAAC;EACvC,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,QAAQ;GACR,eAAe;GACf,gBAAgB;GAChB,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,QAAQ;GACR,eAAe;GACf,gBAAgB;GAChB,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,QAAQ;GACR,eAAe;GACf,gBAAgB;GAChB,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,QAAQ;GACR,eAAe;GACf,gBAAgB;GAChB,aAAa;EACd,CAAC;CACF;AACD,CAAC;;;ACvCD,IAAM,eAAe,IAAI,IAAI;CAC3B,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;CACN,EACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CAAC;AAWD,IAAM,OAAO,OAAO,QALA,uBAAA,OAAA;CAAA,qCAAA;CAAA,oCAAA;CAAA,0CAAA;CAAA,uCAAA;CAAA,qCAAA;CAKQ,CAAW,CAAC,CAAC,QACtC,KAAK,CAAC,MAAM,YAAY;CAEvB,MAAM,WAAW,kBADC,KAAK,MAAM,iBAAiB,CAAC,GAAG,MAAM,EACZ;CAE5C,MAAM,iBAAiB,UAAqB;EAC1C,MAAM,EAAE,MAAM,WAAW,GAAG,SAAS;EACrC,MAAM,gBAAgB,GAAG,aAAa;GAAE;GAAM;EAAU,CAAC,CAAC;EAC1D,OAAO,MAAM,cAAc,OAAO,SAAS;GACzC,GAAG;GACH,WAAW;EACb,CAAC;CACH;CAEA,cAAc,cAAc,QAAQ;CAEpC,IAAI,YAAY;CAChB,OAAO;AACT,GACA,CAAC,CACH;AAIA,IAAa,iBAAiB"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/assets/images/facebook-logo.svg?react
|
|
4
|
+
var SvgFacebookLogo = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
fill: "none",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
...props,
|
|
8
|
+
children: [
|
|
9
|
+
/* @__PURE__ */ jsx("title", { children: "social-facebook" }),
|
|
10
|
+
/* @__PURE__ */ jsx("path", {
|
|
11
|
+
d: "M20 40.004c11.046 0 20-8.955 20-20 0-11.046-8.954-20-20-20s-20 8.954-20 20c0 11.045 8.954 20 20 20z",
|
|
12
|
+
fill: "#1977F3"
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ jsx("path", {
|
|
15
|
+
d: "m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z",
|
|
16
|
+
fill: "#fff"
|
|
17
|
+
})
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/assets/images/ghost-logo.svg?react
|
|
22
|
+
var SvgGhostLogo = (props) => /* @__PURE__ */ jsx("svg", {
|
|
23
|
+
viewBox: "0 0 770 294",
|
|
24
|
+
style: {
|
|
25
|
+
backgroundSize: "100% 100%",
|
|
26
|
+
backgroundRepeat: "no-repeat",
|
|
27
|
+
backgroundImage: "url(https://assets.ghost.io/admin/1597/assets/img/logos/ghost-logo-black-1-fb561a374422b405ec90fa586b05ebdf.png)"
|
|
28
|
+
},
|
|
29
|
+
alt: "Ghost",
|
|
30
|
+
...props
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/assets/images/ghost-orb.svg?react
|
|
34
|
+
var SvgGhostOrb = (props) => /* @__PURE__ */ jsx("svg", {
|
|
35
|
+
fill: "none",
|
|
36
|
+
height: 24,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
width: 24,
|
|
39
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
40
|
+
...props,
|
|
41
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
42
|
+
clipRule: "evenodd",
|
|
43
|
+
d: "M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z",
|
|
44
|
+
fill: "currentColor",
|
|
45
|
+
fillRule: "evenodd"
|
|
46
|
+
})
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/assets/images/google-logo.svg?react
|
|
50
|
+
var SvgGoogleLogo = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
51
|
+
fill: "none",
|
|
52
|
+
viewBox: "0 0 92 31",
|
|
53
|
+
...props,
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ jsx("title", { children: "google" }),
|
|
56
|
+
/* @__PURE__ */ jsx("path", {
|
|
57
|
+
d: "M39.15 15.898c0 4.303-3.378 7.473-7.525 7.473s-7.526-3.17-7.526-7.473c0-4.334 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.958-4.529-4.231-4.529-2.273 0-4.231 1.84-4.231 4.529 0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.231-1.87 4.231-4.528z",
|
|
58
|
+
fill: "#EA4335"
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ jsx("path", {
|
|
61
|
+
d: "M55.386 15.898c0 4.303-3.379 7.473-7.526 7.473-4.146 0-7.526-3.17-7.526-7.473 0-4.33 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.959-4.529-4.232-4.529s-4.231 1.84-4.231 4.529c0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.232-1.87 4.232-4.528z",
|
|
62
|
+
fill: "#FBBC05"
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ jsx("path", {
|
|
65
|
+
d: "M70.945 8.875v13.418c0 5.52-3.267 7.774-7.13 7.774-3.636 0-5.825-2.423-6.65-4.404l2.868-1.19c.511 1.217 1.763 2.652 3.779 2.652 2.472 0 4.004-1.52 4.004-4.38V21.67h-.115c-.737.906-2.158 1.698-3.95 1.698-3.751 0-7.188-3.255-7.188-7.443 0-4.22 3.437-7.501 7.188-7.501 1.789 0 3.21.792 3.95 1.671h.115V8.88h3.129v-.004zm-2.895 7.05c0-2.632-1.763-4.556-4.005-4.556-2.273 0-4.177 1.924-4.177 4.556 0 2.604 1.904 4.501 4.177 4.501 2.242 0 4.005-1.897 4.005-4.501z",
|
|
66
|
+
fill: "#4285F4"
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ jsx("path", {
|
|
69
|
+
d: "M76.103 1.01v21.903H72.89V1.011h3.213z",
|
|
70
|
+
fill: "#34A853"
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ jsx("path", {
|
|
73
|
+
d: "M88.624 18.357l2.558 1.699c-.826 1.216-2.815 3.312-6.251 3.312-4.262 0-7.445-3.282-7.445-7.474 0-4.444 3.21-7.473 7.076-7.473 3.893 0 5.798 3.086 6.42 4.754l.341.85-10.028 4.137c.768 1.5 1.962 2.264 3.636 2.264 1.678 0 2.841-.822 3.693-2.069zm-7.87-2.688l6.703-2.774c-.368-.933-1.478-1.583-2.783-1.583-1.674 0-4.005 1.472-3.92 4.357z",
|
|
74
|
+
fill: "#EA4335"
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ jsx("path", {
|
|
77
|
+
d: "M11.936 13.953v-3.17h10.726c.105.552.159 1.206.159 1.914 0 2.378-.653 5.32-2.757 7.416-2.046 2.123-4.66 3.255-8.124 3.255-6.42 0-11.818-5.21-11.818-11.605C.122 5.368 5.52.158 11.94.158c3.551 0 6.081 1.389 7.982 3.198l-2.246 2.237c-1.363-1.273-3.21-2.264-5.74-2.264-4.688 0-8.354 3.764-8.354 8.434s3.666 8.434 8.354 8.434c3.041 0 4.773-1.216 5.882-2.322.9-.896 1.492-2.176 1.725-3.925l-7.607.003z",
|
|
78
|
+
fill: "#4285F4"
|
|
79
|
+
})
|
|
80
|
+
]
|
|
81
|
+
});
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/assets/images/twitter-logo.svg?react
|
|
84
|
+
var SvgTwitterLogo = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
85
|
+
fill: "none",
|
|
86
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
87
|
+
...props,
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ jsx("title", { children: "social-twitter" }),
|
|
90
|
+
/* @__PURE__ */ jsx("circle", {
|
|
91
|
+
cx: 20,
|
|
92
|
+
cy: 20,
|
|
93
|
+
r: 20,
|
|
94
|
+
fill: "#51B1EF"
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ jsx("path", {
|
|
97
|
+
d: "M30.905 14.268a8.63 8.63 0 0 1-2.49.686 4.36 4.36 0 0 0 1.902-2.403 8.602 8.602 0 0 1-2.753 1.054c-3.512-3.488-8.463.13-7.396 3.969a12.284 12.284 0 0 1-8.942-4.543c-1.228 2.093-.428 4.667 1.343 5.798a4.31 4.31 0 0 1-1.965-.544v.055a4.35 4.35 0 0 0 3.48 4.263 4.569 4.569 0 0 1-1.964.074 4.367 4.367 0 0 0 4.053 3.023c-1.918 1.46-4.146 2.062-6.42 1.798 9.793 5.767 19.029-1.783 18.998-10.417 0-.187-.004-.374-.012-.561a9 9 0 0 0 2.166-2.248",
|
|
98
|
+
fill: "#fff"
|
|
99
|
+
})
|
|
100
|
+
]
|
|
101
|
+
});
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/assets/images/x-logo.svg?react
|
|
104
|
+
var SvgXLogo = (props) => /* @__PURE__ */ jsx("svg", {
|
|
105
|
+
viewBox: "0 0 24 24",
|
|
106
|
+
"aria-hidden": "true",
|
|
107
|
+
...props,
|
|
108
|
+
children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("path", {
|
|
109
|
+
d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",
|
|
110
|
+
fill: "currentColor"
|
|
111
|
+
}) })
|
|
112
|
+
});
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/assets/images/index.ts
|
|
115
|
+
var FacebookLogo = SvgFacebookLogo;
|
|
116
|
+
var GhostLogo = SvgGhostLogo;
|
|
117
|
+
var GhostOrb = SvgGhostOrb;
|
|
118
|
+
var GoogleLogo = SvgGoogleLogo;
|
|
119
|
+
var TwitterLogo = SvgTwitterLogo;
|
|
120
|
+
var XLogo = SvgXLogo;
|
|
121
|
+
//#endregion
|
|
122
|
+
export { TwitterLogo as a, GoogleLogo as i, GhostLogo as n, XLogo as o, GhostOrb as r, FacebookLogo as t };
|
|
123
|
+
|
|
124
|
+
//# sourceMappingURL=images-CUcakpOD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"images-CUcakpOD.js","names":[],"sources":["../src/assets/images/facebook-logo.svg?react","../src/assets/images/ghost-logo.svg?react","../src/assets/images/ghost-orb.svg?react","../src/assets/images/google-logo.svg?react","../src/assets/images/twitter-logo.svg?react","../src/assets/images/x-logo.svg?react","../src/assets/images/index.ts"],"sourcesContent":["import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgFacebookLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"title\", { children: \"social-facebook\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M20 40.004c11.046 0 20-8.955 20-20 0-11.046-8.954-20-20-20s-20 8.954-20 20c0 11.045 8.954 20 20 20z\",\n\t\t\tfill: \"#1977F3\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z\",\n\t\t\tfill: \"#fff\"\n\t\t})\n\t]\n});\nexport default SvgFacebookLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgGhostLogo = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tviewBox: \"0 0 770 294\",\n\tstyle: {\n\t\tbackgroundSize: \"100% 100%\",\n\t\tbackgroundRepeat: \"no-repeat\",\n\t\tbackgroundImage: \"url(https://assets.ghost.io/admin/1597/assets/img/logos/ghost-logo-black-1-fb561a374422b405ec90fa586b05ebdf.png)\"\n\t},\n\talt: \"Ghost\",\n\t...props\n});\nexport default SvgGhostLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgGhostOrb = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tfill: \"none\",\n\theight: 24,\n\tviewBox: \"0 0 24 24\",\n\twidth: 24,\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\tclipRule: \"evenodd\",\n\t\td: \"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z\",\n\t\tfill: \"currentColor\",\n\t\tfillRule: \"evenodd\"\n\t})\n});\nexport default SvgGhostOrb;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgGoogleLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\tviewBox: \"0 0 92 31\",\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"title\", { children: \"google\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M39.15 15.898c0 4.303-3.378 7.473-7.525 7.473s-7.526-3.17-7.526-7.473c0-4.334 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.958-4.529-4.231-4.529-2.273 0-4.231 1.84-4.231 4.529 0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.231-1.87 4.231-4.528z\",\n\t\t\tfill: \"#EA4335\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M55.386 15.898c0 4.303-3.379 7.473-7.526 7.473-4.146 0-7.526-3.17-7.526-7.473 0-4.33 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.959-4.529-4.232-4.529s-4.231 1.84-4.231 4.529c0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.232-1.87 4.232-4.528z\",\n\t\t\tfill: \"#FBBC05\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M70.945 8.875v13.418c0 5.52-3.267 7.774-7.13 7.774-3.636 0-5.825-2.423-6.65-4.404l2.868-1.19c.511 1.217 1.763 2.652 3.779 2.652 2.472 0 4.004-1.52 4.004-4.38V21.67h-.115c-.737.906-2.158 1.698-3.95 1.698-3.751 0-7.188-3.255-7.188-7.443 0-4.22 3.437-7.501 7.188-7.501 1.789 0 3.21.792 3.95 1.671h.115V8.88h3.129v-.004zm-2.895 7.05c0-2.632-1.763-4.556-4.005-4.556-2.273 0-4.177 1.924-4.177 4.556 0 2.604 1.904 4.501 4.177 4.501 2.242 0 4.005-1.897 4.005-4.501z\",\n\t\t\tfill: \"#4285F4\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M76.103 1.01v21.903H72.89V1.011h3.213z\",\n\t\t\tfill: \"#34A853\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M88.624 18.357l2.558 1.699c-.826 1.216-2.815 3.312-6.251 3.312-4.262 0-7.445-3.282-7.445-7.474 0-4.444 3.21-7.473 7.076-7.473 3.893 0 5.798 3.086 6.42 4.754l.341.85-10.028 4.137c.768 1.5 1.962 2.264 3.636 2.264 1.678 0 2.841-.822 3.693-2.069zm-7.87-2.688l6.703-2.774c-.368-.933-1.478-1.583-2.783-1.583-1.674 0-4.005 1.472-3.92 4.357z\",\n\t\t\tfill: \"#EA4335\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M11.936 13.953v-3.17h10.726c.105.552.159 1.206.159 1.914 0 2.378-.653 5.32-2.757 7.416-2.046 2.123-4.66 3.255-8.124 3.255-6.42 0-11.818-5.21-11.818-11.605C.122 5.368 5.52.158 11.94.158c3.551 0 6.081 1.389 7.982 3.198l-2.246 2.237c-1.363-1.273-3.21-2.264-5.74-2.264-4.688 0-8.354 3.764-8.354 8.434s3.666 8.434 8.354 8.434c3.041 0 4.773-1.216 5.882-2.322.9-.896 1.492-2.176 1.725-3.925l-7.607.003z\",\n\t\t\tfill: \"#4285F4\"\n\t\t})\n\t]\n});\nexport default SvgGoogleLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgTwitterLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"title\", { children: \"social-twitter\" }),\n\t\t/* @__PURE__ */ _jsx(\"circle\", {\n\t\t\tcx: 20,\n\t\t\tcy: 20,\n\t\t\tr: 20,\n\t\t\tfill: \"#51B1EF\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M30.905 14.268a8.63 8.63 0 0 1-2.49.686 4.36 4.36 0 0 0 1.902-2.403 8.602 8.602 0 0 1-2.753 1.054c-3.512-3.488-8.463.13-7.396 3.969a12.284 12.284 0 0 1-8.942-4.543c-1.228 2.093-.428 4.667 1.343 5.798a4.31 4.31 0 0 1-1.965-.544v.055a4.35 4.35 0 0 0 3.48 4.263 4.569 4.569 0 0 1-1.964.074 4.367 4.367 0 0 0 4.053 3.023c-1.918 1.46-4.146 2.062-6.42 1.798 9.793 5.767 19.029-1.783 18.998-10.417 0-.187-.004-.374-.012-.561a9 9 0 0 0 2.166-2.248\",\n\t\t\tfill: \"#fff\"\n\t\t})\n\t]\n});\nexport default SvgTwitterLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgXLogo = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tviewBox: \"0 0 24 24\",\n\t\"aria-hidden\": \"true\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"g\", { children: /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\",\n\t\tfill: \"currentColor\"\n\t}) })\n});\nexport default SvgXLogo;\n","import type { FunctionComponent, SVGProps } from 'react';\nimport FacebookLogoSvg from './facebook-logo.svg?react';\nimport GhostLogoSvg from './ghost-logo.svg?react';\nimport GhostOrbSvg from './ghost-orb.svg?react';\nimport GoogleLogoSvg from './google-logo.svg?react';\nimport TwitterLogoSvg from './twitter-logo.svg?react';\nimport XLogoSvg from './x-logo.svg?react';\n\n// Explicit types keep the `?react` asset imports out of the published\n// declarations, where consumers can't resolve them.\ntype Logo = FunctionComponent<SVGProps<SVGSVGElement>>;\n\nexport const FacebookLogo: Logo = FacebookLogoSvg;\nexport const GhostLogo: Logo = GhostLogoSvg;\nexport const GhostOrb: Logo = GhostOrbSvg;\nexport const GoogleLogo: Logo = GoogleLogoSvg;\nexport const TwitterLogo: Logo = TwitterLogoSvg;\nexport const XLogo: Logo = XLogoSvg;\n"],"mappings":";;;AAEA,IAAM,mBAAmB,UAA0B,qBAAM,OAAO;CAC/D,MAAM;CACN,OAAO;CACP,GAAG;CACH,UAAU;EACO,oBAAK,SAAS,EAAE,UAAU,kBAAkB,CAAC;EAC7C,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;CACF;AACD,CAAC;;;ACfD,IAAM,gBAAgB,UAA0B,oBAAK,OAAO;CAC3D,SAAS;CACT,OAAO;EACN,gBAAgB;EAChB,kBAAkB;EAClB,iBAAiB;CAClB;CACA,KAAK;CACL,GAAG;AACJ,CAAC;;;ACTD,IAAM,eAAe,UAA0B,oBAAK,OAAO;CAC1D,MAAM;CACN,QAAQ;CACR,SAAS;CACT,OAAO;CACP,OAAO;CACP,GAAG;CACH,UAA0B,oBAAK,QAAQ;EACtC,UAAU;EACV,GAAG;EACH,MAAM;EACN,UAAU;CACX,CAAC;AACF,CAAC;;;ACbD,IAAM,iBAAiB,UAA0B,qBAAM,OAAO;CAC7D,MAAM;CACN,SAAS;CACT,GAAG;CACH,UAAU;EACO,oBAAK,SAAS,EAAE,UAAU,SAAS,CAAC;EACpC,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;CACF;AACD,CAAC;;;AC/BD,IAAM,kBAAkB,UAA0B,qBAAM,OAAO;CAC9D,MAAM;CACN,OAAO;CACP,GAAG;CACH,UAAU;EACO,oBAAK,SAAS,EAAE,UAAU,iBAAiB,CAAC;EAC5C,oBAAK,UAAU;GAC9B,IAAI;GACJ,IAAI;GACJ,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;CACF;AACD,CAAC;;;ACjBD,IAAM,YAAY,UAA0B,oBAAK,OAAO;CACvD,SAAS;CACT,eAAe;CACf,GAAG;CACH,UAA0B,oBAAK,KAAK,EAAE,UAA0B,oBAAK,QAAQ;EAC5E,GAAG;EACH,MAAM;CACP,CAAC,EAAE,CAAC;AACL,CAAC;;;ACED,IAAa,eAAqB;AAClC,IAAa,YAAkB;AAC/B,IAAa,WAAiB;AAC9B,IAAa,aAAmB;AAChC,IAAa,cAAoB;AACjC,IAAa,QAAc"}
|
package/es/index.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { n as IconComponents } from "./icon-BJcGsQ4b.js";
|
|
2
|
+
import { SHADE_TOKEN_NAMES, shadeToken } from "./tokens.js";
|
|
3
|
+
import { Toaster } from "./components/ui/sonner.js";
|
|
4
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/ui/tooltip.js";
|
|
5
|
+
import { Box } from "./components/primitives/box.js";
|
|
6
|
+
import { Container } from "./components/primitives/container.js";
|
|
7
|
+
import { Grid } from "./components/primitives/grid.js";
|
|
8
|
+
import { Inline } from "./components/primitives/inline.js";
|
|
9
|
+
import { Stack } from "./components/primitives/stack.js";
|
|
10
|
+
import { Text } from "./components/primitives/text.js";
|
|
11
|
+
import { ErrorPage } from "./components/layout/error-page.js";
|
|
12
|
+
import { H1, H2, H3, H4, HTable } from "./components/layout/heading.js";
|
|
13
|
+
import "./primitives.js";
|
|
14
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
|
|
15
|
+
import { buttonVariants } from "./components/ui/button-variants.js";
|
|
16
|
+
import { Button } from "./components/ui/button.js";
|
|
17
|
+
import { selectTriggerVariants } from "./components/ui/select-variants.js";
|
|
18
|
+
import { inputSurface, inputSurfaceClasses } from "./components/ui/input-surface.js";
|
|
19
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select.js";
|
|
20
|
+
import { Kbd, KbdGroup } from "./components/ui/kbd.js";
|
|
21
|
+
import { PageHeader, PageHeaderActionGroup, PageHeaderActionGroupMobileMenu, PageHeaderActionGroupMobileMenuContent, PageHeaderActionGroupMobileMenuTrigger, PageHeaderActionGroupPrimary, PageHeaderActions, PageHeaderBreadcrumb, PageHeaderCount, PageHeaderDescription, PageHeaderLeft, PageHeaderMeta, PageHeaderTitle } from "./components/patterns/page-header.js";
|
|
22
|
+
import { ViewBar, ViewBarActions, ViewBarNav } from "./components/patterns/view-bar.js";
|
|
23
|
+
import { FilterBar } from "./components/patterns/filter-bar.js";
|
|
24
|
+
import { AlignedAxisTick, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, DateTooltipContent } from "./components/ui/chart.js";
|
|
25
|
+
import { GhAreaChart, GhCustomTooltipContent } from "./components/patterns/gh-chart.js";
|
|
26
|
+
import { KpiCardHeader, KpiCardHeaderLabel, KpiCardHeaderValue } from "./components/patterns/kpi-card.js";
|
|
27
|
+
import { Tabs, TabsContent, TabsDropdownTrigger, TabsList, TabsTrigger, TabsTriggerCount } from "./components/ui/tabs.js";
|
|
28
|
+
import { KpiDropdownButton, KpiTabTrigger, KpiTabValue } from "./components/patterns/kpi-tabs.js";
|
|
29
|
+
import { Calendar, CalendarDayButton } from "./components/ui/calendar.js";
|
|
30
|
+
import { DEFAULT_I18N, DEFAULT_OPERATORS, createFilter, createFilterGroup } from "./components/patterns/filters-helpers.js";
|
|
31
|
+
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/ui/dialog.js";
|
|
32
|
+
import { Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./components/ui/command.js";
|
|
33
|
+
import { MultiSelectCombobox } from "./components/ui/multi-select-combobox.js";
|
|
34
|
+
import { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger } from "./components/ui/popover.js";
|
|
35
|
+
import { Switch } from "./components/ui/switch.js";
|
|
36
|
+
import { FilterDatePicker, FilterSegmentInput, FilterSegmentMultiSelect, FilterSegmentSelect, Filters, FiltersContent } from "./components/patterns/filters.js";
|
|
37
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./components/ui/alert-dialog.js";
|
|
38
|
+
import { DirtyConfirmDialog } from "./components/patterns/dirty-confirm-dialog.js";
|
|
39
|
+
import { useDirtyConfirmation } from "./components/patterns/use-dirty-confirmation.js";
|
|
40
|
+
import { imageUploadPreviewVariants } from "./components/patterns/image-upload-variants.js";
|
|
41
|
+
import { dropzoneVariants } from "./components/ui/dropzone-variants.js";
|
|
42
|
+
import { Dropzone } from "./components/ui/dropzone.js";
|
|
43
|
+
import { imageOverlayButton, imageOverlayButtonClasses } from "./components/ui/image-overlay-button.js";
|
|
44
|
+
import { ImageUpload, ImageUploadAction, ImageUploadActions, ImageUploadDropzone, ImageUploadImage, ImageUploadPreview } from "./components/patterns/image-upload.js";
|
|
45
|
+
import { settingGroupVariants } from "./components/patterns/setting-group-variants.js";
|
|
46
|
+
import { SettingGroup, SettingGroupActions, SettingGroupContent, SettingGroupDescription, SettingGroupDetails, SettingGroupHeader, SettingGroupTitle, SettingGroupValue, SettingGroupValueContent, SettingGroupValueTitle } from "./components/patterns/setting-group.js";
|
|
47
|
+
import { Input } from "./components/ui/input.js";
|
|
48
|
+
import ColorPicker, { ColorPickerTrigger, ColorSwatch, ColorSwatchRow } from "./components/patterns/color-picker.js";
|
|
49
|
+
import ShareModal from "./components/patterns/share-modal.js";
|
|
50
|
+
import { settingsModalVariants } from "./components/patterns/settings-modal-variants.js";
|
|
51
|
+
import { Skeleton, SkeletonTable } from "./components/ui/skeleton.js";
|
|
52
|
+
import { BarChartLoadingIndicator, LoadingIndicator } from "./components/ui/loading-indicator.js";
|
|
53
|
+
import { StickyFooter } from "./components/ui/sticky-footer.js";
|
|
54
|
+
import { SettingsModal } from "./components/patterns/settings-modal.js";
|
|
55
|
+
import "./patterns.js";
|
|
56
|
+
import { DetailPage } from "./components/page-templates/detail-page.js";
|
|
57
|
+
import { PageChromeProvider, usePageChrome } from "./components/page-templates/large-page-title.js";
|
|
58
|
+
import { ListPage, ListPageBody, ListPageHeader } from "./components/page-templates/list-page.js";
|
|
59
|
+
import { ModalPage, ModalPageTitle } from "./components/page-templates/modal-page.js";
|
|
60
|
+
import "./page-templates.js";
|
|
61
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/ui/accordion.js";
|
|
62
|
+
import { ActionList, ActionListItem, ActionListItemActions, ActionListItemContent } from "./components/ui/action-list.js";
|
|
63
|
+
import { AnimatedNumber } from "./components/ui/animated-number.js";
|
|
64
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./components/ui/avatar.js";
|
|
65
|
+
import { badgeVariants } from "./components/ui/badge-variants.js";
|
|
66
|
+
import { Badge } from "./components/ui/badge.js";
|
|
67
|
+
import { bannerVariants } from "./components/ui/banner-variants.js";
|
|
68
|
+
import { Banner } from "./components/ui/banner.js";
|
|
69
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/ui/breadcrumb.js";
|
|
70
|
+
import { cardVariants } from "./components/ui/card-variants.js";
|
|
71
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, EmptyCard } from "./components/ui/card.js";
|
|
72
|
+
import { Checkbox } from "./components/ui/checkbox.js";
|
|
73
|
+
import { CodeEditor } from "./components/ui/code-editor.js";
|
|
74
|
+
import { Combobox, ComboboxContent, ComboboxTrigger, ComboboxValue } from "./components/ui/combobox.js";
|
|
75
|
+
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/ui/context-menu.js";
|
|
76
|
+
import { CopyField, CopyFieldActions, CopyFieldContent, CopyFieldCopyButton, CopyFieldLabel, CopyFieldValue } from "./components/ui/copy-field.js";
|
|
77
|
+
import { DataList, DataListBar, DataListBody, DataListHead, DataListHeader, DataListItemContent, DataListItemValue, DataListItemValueAbs, DataListItemValuePerc, DataListRow } from "./components/ui/data-list.js";
|
|
78
|
+
import { EmptyBadge, EmptyIndicator } from "./components/ui/empty-indicator.js";
|
|
79
|
+
import { Label } from "./components/ui/label.js";
|
|
80
|
+
import { Separator } from "./components/ui/separator.js";
|
|
81
|
+
import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from "./components/ui/field.js";
|
|
82
|
+
import { Flag } from "./components/ui/flag.js";
|
|
83
|
+
import { FLOATING_SIDEBAR_BUMP, FLOATING_SIDEBAR_CLOSED_FOOTPRINT, FLOATING_SIDEBAR_CLOSED_SIZE, FLOATING_SIDEBAR_DURATION, FLOATING_SIDEBAR_EASE, FLOATING_SIDEBAR_EASE_DURATION, FLOATING_SIDEBAR_INSET, FLOATING_SIDEBAR_OPEN_WIDTH, FLOATING_SIDEBAR_SPRING, getFloatingSidebarGapWidth, getFloatingSidebarTiming } from "./components/ui/floating-sidebar-metrics.js";
|
|
84
|
+
import { FloatingSidebar } from "./components/ui/floating-sidebar.js";
|
|
85
|
+
import { useFormField } from "./components/ui/form-context.js";
|
|
86
|
+
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from "./components/ui/form.js";
|
|
87
|
+
import { HoverCard, HoverCardContent, HoverCardTrigger } from "./components/ui/hover-card.js";
|
|
88
|
+
import { indicatorVariants } from "./components/ui/indicator-variants.js";
|
|
89
|
+
import { Indicator } from "./components/ui/indicator.js";
|
|
90
|
+
import { inputGroupVariants } from "./components/ui/input-group-variants.js";
|
|
91
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./components/ui/input-group.js";
|
|
92
|
+
import { Link } from "./components/ui/link.js";
|
|
93
|
+
import { Navbar, NavbarActions, NavbarNavigation } from "./components/ui/navbar.js";
|
|
94
|
+
import { NoValueLabel, NoValueLabelIcon } from "./components/ui/no-value-label.js";
|
|
95
|
+
import { PageMenu, PageMenuItem } from "./components/ui/pagemenu.js";
|
|
96
|
+
import { previewChromeVariants } from "./components/ui/preview-chrome-variants.js";
|
|
97
|
+
import { PreviewChrome } from "./components/ui/preview-chrome.js";
|
|
98
|
+
import { radioGroupItemVariants } from "./components/ui/radio-group-variants.js";
|
|
99
|
+
import { RadioGroup, RadioGroupItem } from "./components/ui/radio-group.js";
|
|
100
|
+
import { SimplePagination, SimplePaginationNavigation, SimplePaginationNextButton, SimplePaginationPages, SimplePaginationPreviousButton } from "./components/ui/simple-pagination.js";
|
|
101
|
+
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from "./components/ui/sheet.js";
|
|
102
|
+
import { useSidebar } from "./components/ui/sidebar-context.js";
|
|
103
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger } from "./components/ui/sidebar.js";
|
|
104
|
+
import { DragIndicator, SortableList } from "./components/ui/sortable-list.js";
|
|
105
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadButton, TableHeader, TableRow } from "./components/ui/table.js";
|
|
106
|
+
import { tabsVariants } from "./components/ui/tabs-variants.js";
|
|
107
|
+
import { Textarea } from "./components/ui/textarea.js";
|
|
108
|
+
import { ToggleGroup, ToggleGroupItem } from "./components/ui/toggle-group.js";
|
|
109
|
+
import { a as TwitterLogo, i as GoogleLogo, n as GhostLogo, o as XLogo, r as GhostOrb, t as FacebookLogo } from "./images-CUcakpOD.js";
|
|
110
|
+
import { TimePicker } from "./components/ui/time-picker.js";
|
|
111
|
+
import { tokenFieldClasses } from "./components/ui/token-field.js";
|
|
112
|
+
import { commandDefaultFilter } from "./components.js";
|
|
113
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionList, ActionListItem, ActionListItemActions, ActionListItemContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlignedAxisTick, AnimatedNumber, Avatar, AvatarFallback, AvatarImage, Badge, Banner, BarChartLoadingIndicator, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CodeEditor, ColorPicker, ColorPickerTrigger, ColorSwatch, ColorSwatchRow, Combobox, ComboboxContent, ComboboxTrigger, ComboboxValue, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyField, CopyFieldActions, CopyFieldContent, CopyFieldCopyButton, CopyFieldLabel, CopyFieldValue, DEFAULT_I18N, DEFAULT_OPERATORS, DataList, DataListBar, DataListBody, DataListHead, DataListHeader, DataListItemContent, DataListItemValue, DataListItemValueAbs, DataListItemValuePerc, DataListRow, DateTooltipContent, DetailPage, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirtyConfirmDialog, DragIndicator, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, EmptyBadge, EmptyCard, EmptyIndicator, ErrorPage, FLOATING_SIDEBAR_BUMP, FLOATING_SIDEBAR_CLOSED_FOOTPRINT, FLOATING_SIDEBAR_CLOSED_SIZE, FLOATING_SIDEBAR_DURATION, FLOATING_SIDEBAR_EASE, FLOATING_SIDEBAR_EASE_DURATION, FLOATING_SIDEBAR_INSET, FLOATING_SIDEBAR_OPEN_WIDTH, FLOATING_SIDEBAR_SPRING, FacebookLogo, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterBar, FilterDatePicker, FilterSegmentInput, FilterSegmentMultiSelect, FilterSegmentSelect, Filters, FiltersContent, Flag, FloatingSidebar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GhAreaChart, GhCustomTooltipContent, GhostLogo, GhostOrb, GoogleLogo, Grid, H1, H2, H3, H4, HTable, HoverCard, HoverCardContent, HoverCardTrigger, IconComponents as Icon, ImageUpload, ImageUploadAction, ImageUploadActions, ImageUploadDropzone, ImageUploadImage, ImageUploadPreview, Indicator, Inline, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Kbd, KbdGroup, KpiCardHeader, KpiCardHeaderLabel, KpiCardHeaderValue, KpiDropdownButton, KpiTabTrigger, KpiTabValue, Label, Link, ListPage, ListPageBody, ListPageHeader, LoadingIndicator, ModalPage, ModalPageTitle, MultiSelectCombobox, Navbar, NavbarActions, NavbarNavigation, NoValueLabel, NoValueLabelIcon, PageChromeProvider, PageHeader, PageHeaderActionGroup, PageHeaderActionGroupMobileMenu, PageHeaderActionGroupMobileMenuContent, PageHeaderActionGroupMobileMenuTrigger, PageHeaderActionGroupPrimary, PageHeaderActions, PageHeaderBreadcrumb, PageHeaderCount, PageHeaderDescription, PageHeaderLeft, PageHeaderMeta, PageHeaderTitle, PageMenu, PageMenuItem, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PreviewChrome, RadioGroup, RadioGroupItem, SHADE_TOKEN_NAMES, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingGroup, SettingGroupActions, SettingGroupContent, SettingGroupDescription, SettingGroupDetails, SettingGroupHeader, SettingGroupTitle, SettingGroupValue, SettingGroupValueContent, SettingGroupValueTitle, SettingsModal, ShareModal, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimplePagination, SimplePaginationNavigation, SimplePaginationNextButton, SimplePaginationPages, SimplePaginationPreviousButton, Skeleton, SkeletonTable, SortableList, Stack, StickyFooter, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadButton, TableHeader, TableRow, Tabs, TabsContent, TabsDropdownTrigger, TabsList, TabsTrigger, TabsTriggerCount, Text, Textarea, TimePicker, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwitterLogo, ViewBar, ViewBarActions, ViewBarNav, XLogo, badgeVariants, bannerVariants, buttonVariants, cardVariants, commandDefaultFilter, createFilter, createFilterGroup, dropzoneVariants, getFloatingSidebarGapWidth, getFloatingSidebarTiming, imageOverlayButton, imageOverlayButtonClasses, imageUploadPreviewVariants, indicatorVariants, inputGroupVariants, inputSurface, inputSurfaceClasses, previewChromeVariants, radioGroupItemVariants, selectTriggerVariants, settingGroupVariants, settingsModalVariants, shadeToken, tabsVariants, tokenFieldClasses, useDirtyConfirmation, useFormField, usePageChrome, useSidebar };
|