@flowtomic/ui 0.1.0 → 0.1.1
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/blocks/dashboard-01/page.d.ts +7 -0
- package/dist/blocks/dashboard-01/page.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/page.js +10 -0
- package/dist/blocks/flowtomic-dashboard/index.d.ts +2 -0
- package/dist/blocks/flowtomic-dashboard/index.d.ts.map +1 -0
- package/dist/blocks/flowtomic-dashboard/index.js +1 -0
- package/dist/blocks/flowtomic-dashboard/page.d.ts +7 -0
- package/dist/blocks/flowtomic-dashboard/page.d.ts.map +1 -0
- package/dist/blocks/flowtomic-dashboard/page.js +167 -0
- package/dist/blocks/index.d.ts +6 -0
- package/dist/blocks/index.d.ts.map +1 -0
- package/dist/blocks/index.js +5 -0
- package/dist/blocks/registry-blocks.d.ts +43 -0
- package/dist/blocks/registry-blocks.d.ts.map +1 -0
- package/dist/blocks/registry-blocks.js +59 -0
- package/dist/blocks/registry-categories.d.ts +10 -0
- package/dist/blocks/registry-categories.d.ts.map +1 -0
- package/dist/blocks/registry-categories.js +25 -0
- package/dist/components/atoms/actions/badge/badge.d.ts +12 -0
- package/dist/components/atoms/actions/badge/badge.d.ts.map +1 -0
- package/dist/components/atoms/actions/badge/badge.js +31 -0
- package/dist/components/atoms/actions/badge/index.d.ts +3 -0
- package/dist/components/atoms/actions/badge/index.d.ts.map +1 -0
- package/dist/components/atoms/actions/badge/index.js +1 -0
- package/dist/components/atoms/actions/button/button.d.ts +15 -0
- package/dist/components/atoms/actions/button/button.d.ts.map +1 -0
- package/dist/components/atoms/actions/button/button.js +51 -0
- package/dist/components/atoms/actions/button/index.d.ts +3 -0
- package/dist/components/atoms/actions/button/index.d.ts.map +1 -0
- package/dist/components/atoms/actions/button/index.js +1 -0
- package/dist/components/atoms/actions/context-menu/context-menu.d.ts +86 -0
- package/dist/components/atoms/actions/context-menu/context-menu.d.ts.map +1 -0
- package/dist/components/atoms/actions/context-menu/context-menu.js +65 -0
- package/dist/components/atoms/actions/context-menu/index.d.ts +3 -0
- package/dist/components/atoms/actions/context-menu/index.d.ts.map +1 -0
- package/dist/components/atoms/actions/context-menu/index.js +1 -0
- package/dist/components/atoms/actions/dropdown-menu/dropdown-menu.d.ts +40 -0
- package/dist/components/atoms/actions/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/atoms/actions/dropdown-menu/dropdown-menu.js +49 -0
- package/dist/components/atoms/actions/dropdown-menu/index.d.ts +3 -0
- package/dist/components/atoms/actions/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/atoms/actions/dropdown-menu/index.js +1 -0
- package/dist/components/atoms/actions/index.d.ts +9 -0
- package/dist/components/atoms/actions/index.d.ts.map +1 -0
- package/dist/components/atoms/actions/index.js +4 -0
- package/dist/components/atoms/animation/animated-3d/animated-3d.d.ts +66 -0
- package/dist/components/atoms/animation/animated-3d/animated-3d.d.ts.map +1 -0
- package/dist/components/atoms/animation/animated-3d/animated-3d.js +48 -0
- package/dist/components/atoms/animation/animated-3d/index.d.ts +3 -0
- package/dist/components/atoms/animation/animated-3d/index.d.ts.map +1 -0
- package/dist/components/atoms/animation/animated-3d/index.js +1 -0
- package/dist/components/atoms/animation/backdrop-blur/backdrop-blur.d.ts +47 -0
- package/dist/components/atoms/animation/backdrop-blur/backdrop-blur.d.ts.map +1 -0
- package/dist/components/atoms/animation/backdrop-blur/backdrop-blur.js +82 -0
- package/dist/components/atoms/animation/backdrop-blur/index.d.ts +3 -0
- package/dist/components/atoms/animation/backdrop-blur/index.d.ts.map +1 -0
- package/dist/components/atoms/animation/backdrop-blur/index.js +1 -0
- package/dist/components/atoms/animation/index.d.ts +19 -0
- package/dist/components/atoms/animation/index.d.ts.map +1 -0
- package/dist/components/atoms/animation/index.js +11 -0
- package/dist/components/atoms/animation/loader/index.d.ts +3 -0
- package/dist/components/atoms/animation/loader/index.d.ts.map +1 -0
- package/dist/components/atoms/animation/loader/index.js +1 -0
- package/dist/components/atoms/animation/loader/loader.d.ts +13 -0
- package/dist/components/atoms/animation/loader/loader.d.ts.map +1 -0
- package/dist/components/atoms/animation/loader/loader.js +11 -0
- package/dist/components/atoms/animation/progress/index.d.ts +2 -0
- package/dist/components/atoms/animation/progress/index.d.ts.map +1 -0
- package/dist/components/atoms/animation/progress/index.js +1 -0
- package/dist/components/atoms/animation/progress/progress.d.ts +13 -0
- package/dist/components/atoms/animation/progress/progress.d.ts.map +1 -0
- package/dist/components/atoms/animation/progress/progress.js +14 -0
- package/dist/components/atoms/animation/shimmer/index.d.ts +3 -0
- package/dist/components/atoms/animation/shimmer/index.d.ts.map +1 -0
- package/dist/components/atoms/animation/shimmer/index.js +1 -0
- package/dist/components/atoms/animation/shimmer/shimmer.d.ts +15 -0
- package/dist/components/atoms/animation/shimmer/shimmer.d.ts.map +1 -0
- package/dist/components/atoms/animation/shimmer/shimmer.js +23 -0
- package/dist/components/atoms/animation/sliding-number/index.d.ts +3 -0
- package/dist/components/atoms/animation/sliding-number/index.d.ts.map +1 -0
- package/dist/components/atoms/animation/sliding-number/index.js +1 -0
- package/dist/components/atoms/animation/sliding-number/sliding-number.d.ts +21 -0
- package/dist/components/atoms/animation/sliding-number/sliding-number.d.ts.map +1 -0
- package/dist/components/atoms/animation/sliding-number/sliding-number.js +91 -0
- package/dist/components/atoms/animation/spinner/index.d.ts +3 -0
- package/dist/components/atoms/animation/spinner/index.d.ts.map +1 -0
- package/dist/components/atoms/animation/spinner/index.js +1 -0
- package/dist/components/atoms/animation/spinner/spinner.d.ts +9 -0
- package/dist/components/atoms/animation/spinner/spinner.d.ts.map +1 -0
- package/dist/components/atoms/animation/spinner/spinner.js +8 -0
- package/dist/components/atoms/code/code-block/code-block.d.ts +27 -0
- package/dist/components/atoms/code/code-block/code-block.d.ts.map +1 -0
- package/dist/components/atoms/code/code-block/code-block.js +90 -0
- package/dist/components/atoms/code/code-block/index.d.ts +3 -0
- package/dist/components/atoms/code/code-block/index.d.ts.map +1 -0
- package/dist/components/atoms/code/code-block/index.js +1 -0
- package/dist/components/atoms/code/index.d.ts +5 -0
- package/dist/components/atoms/code/index.d.ts.map +1 -0
- package/dist/components/atoms/code/index.js +2 -0
- package/dist/components/atoms/code/snippet/index.d.ts +3 -0
- package/dist/components/atoms/code/snippet/index.d.ts.map +1 -0
- package/dist/components/atoms/code/snippet/index.js +1 -0
- package/dist/components/atoms/code/snippet/snippet.d.ts +38 -0
- package/dist/components/atoms/code/snippet/snippet.d.ts.map +1 -0
- package/dist/components/atoms/code/snippet/snippet.js +72 -0
- package/dist/components/atoms/data-display/calendar/calendar.d.ts +17 -0
- package/dist/components/atoms/data-display/calendar/calendar.d.ts.map +1 -0
- package/dist/components/atoms/data-display/calendar/calendar.js +77 -0
- package/dist/components/atoms/data-display/calendar/index.d.ts +3 -0
- package/dist/components/atoms/data-display/calendar/index.d.ts.map +1 -0
- package/dist/components/atoms/data-display/calendar/index.js +1 -0
- package/dist/components/atoms/data-display/carousel/carousel.d.ts +52 -0
- package/dist/components/atoms/data-display/carousel/carousel.d.ts.map +1 -0
- package/dist/components/atoms/data-display/carousel/carousel.js +95 -0
- package/dist/components/atoms/data-display/carousel/index.d.ts +3 -0
- package/dist/components/atoms/data-display/carousel/index.d.ts.map +1 -0
- package/dist/components/atoms/data-display/carousel/index.js +1 -0
- package/dist/components/atoms/data-display/chart/chart.d.ts +84 -0
- package/dist/components/atoms/data-display/chart/chart.d.ts.map +1 -0
- package/dist/components/atoms/data-display/chart/chart.js +122 -0
- package/dist/components/atoms/data-display/chart/index.d.ts +3 -0
- package/dist/components/atoms/data-display/chart/index.d.ts.map +1 -0
- package/dist/components/atoms/data-display/chart/index.js +1 -0
- package/dist/components/atoms/data-display/index.d.ts +7 -0
- package/dist/components/atoms/data-display/index.d.ts.map +1 -0
- package/dist/components/atoms/data-display/index.js +3 -0
- package/dist/components/atoms/display/avatar/avatar.d.ts +23 -0
- package/dist/components/atoms/display/avatar/avatar.d.ts.map +1 -0
- package/dist/components/atoms/display/avatar/avatar.js +24 -0
- package/dist/components/atoms/display/avatar/index.d.ts +3 -0
- package/dist/components/atoms/display/avatar/index.d.ts.map +1 -0
- package/dist/components/atoms/display/avatar/index.js +1 -0
- package/dist/components/atoms/display/card/card.d.ts +44 -0
- package/dist/components/atoms/display/card/card.d.ts.map +1 -0
- package/dist/components/atoms/display/card/card.js +59 -0
- package/dist/components/atoms/display/card/index.d.ts +3 -0
- package/dist/components/atoms/display/card/index.d.ts.map +1 -0
- package/dist/components/atoms/display/card/index.js +1 -0
- package/dist/components/atoms/display/empty/empty.d.ts +43 -0
- package/dist/components/atoms/display/empty/empty.d.ts.map +1 -0
- package/dist/components/atoms/display/empty/empty.js +39 -0
- package/dist/components/atoms/display/empty/index.d.ts +3 -0
- package/dist/components/atoms/display/empty/index.d.ts.map +1 -0
- package/dist/components/atoms/display/empty/index.js +1 -0
- package/dist/components/atoms/display/index.d.ts +15 -0
- package/dist/components/atoms/display/index.d.ts.map +1 -0
- package/dist/components/atoms/display/index.js +7 -0
- package/dist/components/atoms/display/kbd/index.d.ts +3 -0
- package/dist/components/atoms/display/kbd/index.d.ts.map +1 -0
- package/dist/components/atoms/display/kbd/index.js +1 -0
- package/dist/components/atoms/display/kbd/kbd.d.ts +15 -0
- package/dist/components/atoms/display/kbd/kbd.d.ts.map +1 -0
- package/dist/components/atoms/display/kbd/kbd.js +11 -0
- package/dist/components/atoms/display/separator/index.d.ts +3 -0
- package/dist/components/atoms/display/separator/index.d.ts.map +1 -0
- package/dist/components/atoms/display/separator/index.js +1 -0
- package/dist/components/atoms/display/separator/separator.d.ts +14 -0
- package/dist/components/atoms/display/separator/separator.d.ts.map +1 -0
- package/dist/components/atoms/display/separator/separator.js +15 -0
- package/dist/components/atoms/display/skeleton/index.d.ts +3 -0
- package/dist/components/atoms/display/skeleton/index.d.ts.map +1 -0
- package/dist/components/atoms/display/skeleton/index.js +1 -0
- package/dist/components/atoms/display/skeleton/skeleton.d.ts +25 -0
- package/dist/components/atoms/display/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/atoms/display/skeleton/skeleton.js +33 -0
- package/dist/components/atoms/display/table/index.d.ts +3 -0
- package/dist/components/atoms/display/table/index.d.ts.map +1 -0
- package/dist/components/atoms/display/table/index.js +1 -0
- package/dist/components/atoms/display/table/table.d.ts +49 -0
- package/dist/components/atoms/display/table/table.d.ts.map +1 -0
- package/dist/components/atoms/display/table/table.js +66 -0
- package/dist/components/atoms/feedback/alert/alert.d.ts +36 -0
- package/dist/components/atoms/feedback/alert/alert.d.ts.map +1 -0
- package/dist/components/atoms/feedback/alert/alert.js +47 -0
- package/dist/components/atoms/feedback/alert/index.d.ts +3 -0
- package/dist/components/atoms/feedback/alert/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/alert/index.js +1 -0
- package/dist/components/atoms/feedback/alert-dialog/alert-dialog.d.ts +106 -0
- package/dist/components/atoms/feedback/alert-dialog/alert-dialog.d.ts.map +1 -0
- package/dist/components/atoms/feedback/alert-dialog/alert-dialog.js +119 -0
- package/dist/components/atoms/feedback/alert-dialog/index.d.ts +3 -0
- package/dist/components/atoms/feedback/alert-dialog/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/alert-dialog/index.js +1 -0
- package/dist/components/atoms/feedback/dialog/dialog.d.ts +63 -0
- package/dist/components/atoms/feedback/dialog/dialog.d.ts.map +1 -0
- package/dist/components/atoms/feedback/dialog/dialog.js +62 -0
- package/dist/components/atoms/feedback/dialog/index.d.ts +3 -0
- package/dist/components/atoms/feedback/dialog/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/dialog/index.js +1 -0
- package/dist/components/atoms/feedback/hover-card/hover-card.d.ts +24 -0
- package/dist/components/atoms/feedback/hover-card/hover-card.d.ts.map +1 -0
- package/dist/components/atoms/feedback/hover-card/hover-card.js +25 -0
- package/dist/components/atoms/feedback/hover-card/index.d.ts +3 -0
- package/dist/components/atoms/feedback/hover-card/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/hover-card/index.js +1 -0
- package/dist/components/atoms/feedback/index.d.ts +23 -0
- package/dist/components/atoms/feedback/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/index.js +13 -0
- package/dist/components/atoms/feedback/inline-citation/index.d.ts +3 -0
- package/dist/components/atoms/feedback/inline-citation/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/inline-citation/index.js +1 -0
- package/dist/components/atoms/feedback/inline-citation/inline-citation.d.ts +32 -0
- package/dist/components/atoms/feedback/inline-citation/inline-citation.d.ts.map +1 -0
- package/dist/components/atoms/feedback/inline-citation/inline-citation.js +24 -0
- package/dist/components/atoms/feedback/popover/index.d.ts +3 -0
- package/dist/components/atoms/feedback/popover/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/popover/index.js +1 -0
- package/dist/components/atoms/feedback/popover/popover.d.ts +30 -0
- package/dist/components/atoms/feedback/popover/popover.d.ts.map +1 -0
- package/dist/components/atoms/feedback/popover/popover.js +20 -0
- package/dist/components/atoms/feedback/sheet/index.d.ts +3 -0
- package/dist/components/atoms/feedback/sheet/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/sheet/index.js +1 -0
- package/dist/components/atoms/feedback/sheet/sheet.d.ts +65 -0
- package/dist/components/atoms/feedback/sheet/sheet.d.ts.map +1 -0
- package/dist/components/atoms/feedback/sheet/sheet.js +49 -0
- package/dist/components/atoms/feedback/sonner/index.d.ts +3 -0
- package/dist/components/atoms/feedback/sonner/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/sonner/index.js +1 -0
- package/dist/components/atoms/feedback/sonner/sonner.d.ts +25 -0
- package/dist/components/atoms/feedback/sonner/sonner.d.ts.map +1 -0
- package/dist/components/atoms/feedback/sonner/sonner.js +45 -0
- package/dist/components/atoms/feedback/tooltip/index.d.ts +3 -0
- package/dist/components/atoms/feedback/tooltip/index.d.ts.map +1 -0
- package/dist/components/atoms/feedback/tooltip/index.js +1 -0
- package/dist/components/atoms/feedback/tooltip/tooltip.d.ts +32 -0
- package/dist/components/atoms/feedback/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/atoms/feedback/tooltip/tooltip.js +35 -0
- package/dist/components/atoms/forms/autocomplete/autocomplete.d.ts +23 -0
- package/dist/components/atoms/forms/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/components/atoms/forms/autocomplete/autocomplete.js +119 -0
- package/dist/components/atoms/forms/autocomplete/index.d.ts +3 -0
- package/dist/components/atoms/forms/autocomplete/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/autocomplete/index.js +1 -0
- package/dist/components/atoms/forms/checkbox/checkbox.d.ts +15 -0
- package/dist/components/atoms/forms/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/atoms/forms/checkbox/checkbox.js +19 -0
- package/dist/components/atoms/forms/checkbox/index.d.ts +3 -0
- package/dist/components/atoms/forms/checkbox/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/checkbox/index.js +1 -0
- package/dist/components/atoms/forms/field/field.d.ts +72 -0
- package/dist/components/atoms/forms/field/field.d.ts.map +1 -0
- package/dist/components/atoms/forms/field/field.js +83 -0
- package/dist/components/atoms/forms/field/index.d.ts +3 -0
- package/dist/components/atoms/forms/field/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/field/index.js +1 -0
- package/dist/components/atoms/forms/form/form.d.ts +54 -0
- package/dist/components/atoms/forms/form/form.d.ts.map +1 -0
- package/dist/components/atoms/forms/form/form.js +62 -0
- package/dist/components/atoms/forms/form/index.d.ts +3 -0
- package/dist/components/atoms/forms/form/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/form/index.js +1 -0
- package/dist/components/atoms/forms/index.d.ts +26 -0
- package/dist/components/atoms/forms/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/index.js +13 -0
- package/dist/components/atoms/forms/input/index.d.ts +3 -0
- package/dist/components/atoms/forms/input/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/input/index.js +1 -0
- package/dist/components/atoms/forms/input/input.d.ts +14 -0
- package/dist/components/atoms/forms/input/input.d.ts.map +1 -0
- package/dist/components/atoms/forms/input/input.js +29 -0
- package/dist/components/atoms/forms/input-otp/index.d.ts +3 -0
- package/dist/components/atoms/forms/input-otp/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/input-otp/index.js +1 -0
- package/dist/components/atoms/forms/input-otp/input-otp.d.ts +30 -0
- package/dist/components/atoms/forms/input-otp/input-otp.d.ts.map +1 -0
- package/dist/components/atoms/forms/input-otp/input-otp.js +24 -0
- package/dist/components/atoms/forms/label/index.d.ts +3 -0
- package/dist/components/atoms/forms/label/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/label/index.js +1 -0
- package/dist/components/atoms/forms/label/label.d.ts +10 -0
- package/dist/components/atoms/forms/label/label.d.ts.map +1 -0
- package/dist/components/atoms/forms/label/label.js +8 -0
- package/dist/components/atoms/forms/radio-group/index.d.ts +3 -0
- package/dist/components/atoms/forms/radio-group/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/radio-group/index.js +1 -0
- package/dist/components/atoms/forms/radio-group/radio-group.d.ts +16 -0
- package/dist/components/atoms/forms/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/atoms/forms/radio-group/radio-group.js +13 -0
- package/dist/components/atoms/forms/select/index.d.ts +7 -0
- package/dist/components/atoms/forms/select/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/select/index.js +6 -0
- package/dist/components/atoms/forms/select/select.d.ts +16 -0
- package/dist/components/atoms/forms/select/select.d.ts.map +1 -0
- package/dist/components/atoms/forms/select/select.js +37 -0
- package/dist/components/atoms/forms/slider/index.d.ts +3 -0
- package/dist/components/atoms/forms/slider/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/slider/index.js +1 -0
- package/dist/components/atoms/forms/slider/slider.d.ts +12 -0
- package/dist/components/atoms/forms/slider/slider.d.ts.map +1 -0
- package/dist/components/atoms/forms/slider/slider.js +10 -0
- package/dist/components/atoms/forms/switch/index.d.ts +3 -0
- package/dist/components/atoms/forms/switch/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/switch/index.js +1 -0
- package/dist/components/atoms/forms/switch/switch.d.ts +10 -0
- package/dist/components/atoms/forms/switch/switch.d.ts.map +1 -0
- package/dist/components/atoms/forms/switch/switch.js +8 -0
- package/dist/components/atoms/forms/textarea/index.d.ts +3 -0
- package/dist/components/atoms/forms/textarea/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/textarea/index.js +1 -0
- package/dist/components/atoms/forms/textarea/textarea.d.ts +9 -0
- package/dist/components/atoms/forms/textarea/textarea.d.ts.map +1 -0
- package/dist/components/atoms/forms/textarea/textarea.js +7 -0
- package/dist/components/atoms/forms/toggle/index.d.ts +3 -0
- package/dist/components/atoms/forms/toggle/index.d.ts.map +1 -0
- package/dist/components/atoms/forms/toggle/index.js +1 -0
- package/dist/components/atoms/forms/toggle/toggle.d.ts +15 -0
- package/dist/components/atoms/forms/toggle/toggle.d.ts.map +1 -0
- package/dist/components/atoms/forms/toggle/toggle.js +26 -0
- package/dist/components/atoms/index.d.ts +14 -0
- package/dist/components/atoms/index.d.ts.map +1 -0
- package/dist/components/atoms/index.js +22 -0
- package/dist/components/atoms/layout/accordion/accordion.d.ts +27 -0
- package/dist/components/atoms/layout/accordion/accordion.d.ts.map +1 -0
- package/dist/components/atoms/layout/accordion/accordion.js +21 -0
- package/dist/components/atoms/layout/accordion/index.d.ts +3 -0
- package/dist/components/atoms/layout/accordion/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/accordion/index.js +1 -0
- package/dist/components/atoms/layout/aspect-ratio/aspect-ratio.d.ts +10 -0
- package/dist/components/atoms/layout/aspect-ratio/aspect-ratio.d.ts.map +1 -0
- package/dist/components/atoms/layout/aspect-ratio/aspect-ratio.js +7 -0
- package/dist/components/atoms/layout/aspect-ratio/index.d.ts +3 -0
- package/dist/components/atoms/layout/aspect-ratio/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/aspect-ratio/index.js +1 -0
- package/dist/components/atoms/layout/collapsible/collapsible.d.ts +24 -0
- package/dist/components/atoms/layout/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/atoms/layout/collapsible/collapsible.js +25 -0
- package/dist/components/atoms/layout/collapsible/index.d.ts +3 -0
- package/dist/components/atoms/layout/collapsible/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/collapsible/index.js +1 -0
- package/dist/components/atoms/layout/drawer/drawer.d.ts +56 -0
- package/dist/components/atoms/layout/drawer/drawer.d.ts.map +1 -0
- package/dist/components/atoms/layout/drawer/drawer.js +44 -0
- package/dist/components/atoms/layout/drawer/index.d.ts +3 -0
- package/dist/components/atoms/layout/drawer/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/drawer/index.js +1 -0
- package/dist/components/atoms/layout/index.d.ts +16 -0
- package/dist/components/atoms/layout/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/index.js +8 -0
- package/dist/components/atoms/layout/resizable/index.d.ts +2 -0
- package/dist/components/atoms/layout/resizable/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/resizable/index.js +1 -0
- package/dist/components/atoms/layout/resizable/resizable.d.ts +9 -0
- package/dist/components/atoms/layout/resizable/resizable.d.ts.map +1 -0
- package/dist/components/atoms/layout/resizable/resizable.js +14 -0
- package/dist/components/atoms/layout/scroll-area/index.d.ts +3 -0
- package/dist/components/atoms/layout/scroll-area/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/scroll-area/index.js +1 -0
- package/dist/components/atoms/layout/scroll-area/scroll-area.d.ts +26 -0
- package/dist/components/atoms/layout/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/atoms/layout/scroll-area/scroll-area.js +73 -0
- package/dist/components/atoms/layout/sidebar/index.d.ts +3 -0
- package/dist/components/atoms/layout/sidebar/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/sidebar/index.js +1 -0
- package/dist/components/atoms/layout/sidebar/sidebar.d.ts +122 -0
- package/dist/components/atoms/layout/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/atoms/layout/sidebar/sidebar.js +176 -0
- package/dist/components/atoms/layout/toggle-group/index.d.ts +3 -0
- package/dist/components/atoms/layout/toggle-group/index.d.ts.map +1 -0
- package/dist/components/atoms/layout/toggle-group/index.js +1 -0
- package/dist/components/atoms/layout/toggle-group/toggle-group.d.ts +21 -0
- package/dist/components/atoms/layout/toggle-group/toggle-group.d.ts.map +1 -0
- package/dist/components/atoms/layout/toggle-group/toggle-group.js +23 -0
- package/dist/components/atoms/navigation/breadcrumb/breadcrumb.d.ts +46 -0
- package/dist/components/atoms/navigation/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/atoms/navigation/breadcrumb/breadcrumb.js +34 -0
- package/dist/components/atoms/navigation/breadcrumb/index.d.ts +3 -0
- package/dist/components/atoms/navigation/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/atoms/navigation/breadcrumb/index.js +1 -0
- package/dist/components/atoms/navigation/command/command.d.ts +125 -0
- package/dist/components/atoms/navigation/command/command.d.ts.map +1 -0
- package/dist/components/atoms/navigation/command/command.js +58 -0
- package/dist/components/atoms/navigation/command/index.d.ts +3 -0
- package/dist/components/atoms/navigation/command/index.d.ts.map +1 -0
- package/dist/components/atoms/navigation/command/index.js +1 -0
- package/dist/components/atoms/navigation/index.d.ts +12 -0
- package/dist/components/atoms/navigation/index.d.ts.map +1 -0
- package/dist/components/atoms/navigation/index.js +6 -0
- package/dist/components/atoms/navigation/menubar/index.d.ts +3 -0
- package/dist/components/atoms/navigation/menubar/index.d.ts.map +1 -0
- package/dist/components/atoms/navigation/menubar/index.js +1 -0
- package/dist/components/atoms/navigation/menubar/menubar.d.ts +95 -0
- package/dist/components/atoms/navigation/menubar/menubar.d.ts.map +1 -0
- package/dist/components/atoms/navigation/menubar/menubar.js +69 -0
- package/dist/components/atoms/navigation/navigation-menu/index.d.ts +3 -0
- package/dist/components/atoms/navigation/navigation-menu/index.d.ts.map +1 -0
- package/dist/components/atoms/navigation/navigation-menu/index.js +1 -0
- package/dist/components/atoms/navigation/navigation-menu/navigation-menu.d.ts +47 -0
- package/dist/components/atoms/navigation/navigation-menu/navigation-menu.d.ts.map +1 -0
- package/dist/components/atoms/navigation/navigation-menu/navigation-menu.js +39 -0
- package/dist/components/atoms/navigation/pagination/index.d.ts +3 -0
- package/dist/components/atoms/navigation/pagination/index.d.ts.map +1 -0
- package/dist/components/atoms/navigation/pagination/index.js +1 -0
- package/dist/components/atoms/navigation/pagination/pagination.d.ts +47 -0
- package/dist/components/atoms/navigation/pagination/pagination.d.ts.map +1 -0
- package/dist/components/atoms/navigation/pagination/pagination.js +36 -0
- package/dist/components/atoms/navigation/tabs/index.d.ts +2 -0
- package/dist/components/atoms/navigation/tabs/index.d.ts.map +1 -0
- package/dist/components/atoms/navigation/tabs/index.js +1 -0
- package/dist/components/atoms/navigation/tabs/tabs.d.ts +13 -0
- package/dist/components/atoms/navigation/tabs/tabs.d.ts.map +1 -0
- package/dist/components/atoms/navigation/tabs/tabs.js +114 -0
- package/dist/components/molecules/animation/animated-modal/animated-modal.d.ts +57 -0
- package/dist/components/molecules/animation/animated-modal/animated-modal.d.ts.map +1 -0
- package/dist/components/molecules/animation/animated-modal/animated-modal.js +136 -0
- package/dist/components/molecules/animation/animated-modal/index.d.ts +3 -0
- package/dist/components/molecules/animation/animated-modal/index.d.ts.map +1 -0
- package/dist/components/molecules/animation/animated-modal/index.js +1 -0
- package/dist/components/molecules/animation/animated-sliding-number/animated-sliding-number.d.ts +41 -0
- package/dist/components/molecules/animation/animated-sliding-number/animated-sliding-number.d.ts.map +1 -0
- package/dist/components/molecules/animation/animated-sliding-number/animated-sliding-number.js +67 -0
- package/dist/components/molecules/animation/animated-sliding-number/index.d.ts +3 -0
- package/dist/components/molecules/animation/animated-sliding-number/index.d.ts.map +1 -0
- package/dist/components/molecules/animation/animated-sliding-number/index.js +1 -0
- package/dist/components/molecules/animation/button-counter/button-counter.d.ts +59 -0
- package/dist/components/molecules/animation/button-counter/button-counter.d.ts.map +1 -0
- package/dist/components/molecules/animation/button-counter/button-counter.js +34 -0
- package/dist/components/molecules/animation/button-counter/index.d.ts +3 -0
- package/dist/components/molecules/animation/button-counter/index.d.ts.map +1 -0
- package/dist/components/molecules/animation/button-counter/index.js +1 -0
- package/dist/components/molecules/auth/auth-form-error-message/auth-form-error-message.d.ts +28 -0
- package/dist/components/molecules/auth/auth-form-error-message/auth-form-error-message.d.ts.map +1 -0
- package/dist/components/molecules/auth/auth-form-error-message/auth-form-error-message.js +26 -0
- package/dist/components/molecules/auth/auth-form-error-message/index.d.ts +3 -0
- package/dist/components/molecules/auth/auth-form-error-message/index.d.ts.map +1 -0
- package/dist/components/molecules/auth/auth-form-error-message/index.js +1 -0
- package/dist/components/molecules/auth/auth-navigation-link/auth-navigation-link.d.ts +53 -0
- package/dist/components/molecules/auth/auth-navigation-link/auth-navigation-link.d.ts.map +1 -0
- package/dist/components/molecules/auth/auth-navigation-link/auth-navigation-link.js +12 -0
- package/dist/components/molecules/auth/auth-navigation-link/index.d.ts +3 -0
- package/dist/components/molecules/auth/auth-navigation-link/index.d.ts.map +1 -0
- package/dist/components/molecules/auth/auth-navigation-link/index.js +1 -0
- package/dist/components/molecules/auth/index.d.ts +11 -0
- package/dist/components/molecules/auth/index.d.ts.map +1 -0
- package/dist/components/molecules/auth/index.js +7 -0
- package/dist/components/molecules/auth/password-input/index.d.ts +3 -0
- package/dist/components/molecules/auth/password-input/index.d.ts.map +1 -0
- package/dist/components/molecules/auth/password-input/index.js +1 -0
- package/dist/components/molecules/auth/password-input/password-input.d.ts +23 -0
- package/dist/components/molecules/auth/password-input/password-input.d.ts.map +1 -0
- package/dist/components/molecules/auth/password-input/password-input.js +83 -0
- package/dist/components/molecules/auth/social-login-buttons/index.d.ts +3 -0
- package/dist/components/molecules/auth/social-login-buttons/index.d.ts.map +1 -0
- package/dist/components/molecules/auth/social-login-buttons/index.js +1 -0
- package/dist/components/molecules/auth/social-login-buttons/social-login-buttons.d.ts +32 -0
- package/dist/components/molecules/auth/social-login-buttons/social-login-buttons.d.ts.map +1 -0
- package/dist/components/molecules/auth/social-login-buttons/social-login-buttons.js +18 -0
- package/dist/components/molecules/data-display/artifact/artifact.d.ts +30 -0
- package/dist/components/molecules/data-display/artifact/artifact.d.ts.map +1 -0
- package/dist/components/molecules/data-display/artifact/artifact.js +32 -0
- package/dist/components/molecules/data-display/artifact/index.d.ts +3 -0
- package/dist/components/molecules/data-display/artifact/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/artifact/index.js +1 -0
- package/dist/components/molecules/data-display/bar-chart/bar-chart.d.ts +58 -0
- package/dist/components/molecules/data-display/bar-chart/bar-chart.d.ts.map +1 -0
- package/dist/components/molecules/data-display/bar-chart/bar-chart.js +23 -0
- package/dist/components/molecules/data-display/bar-chart/index.d.ts +3 -0
- package/dist/components/molecules/data-display/bar-chart/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/bar-chart/index.js +1 -0
- package/dist/components/molecules/data-display/chart-area-interactive/chart-area-interactive.d.ts +48 -0
- package/dist/components/molecules/data-display/chart-area-interactive/chart-area-interactive.d.ts.map +1 -0
- package/dist/components/molecules/data-display/chart-area-interactive/chart-area-interactive.js +151 -0
- package/dist/components/molecules/data-display/chart-area-interactive/index.d.ts +3 -0
- package/dist/components/molecules/data-display/chart-area-interactive/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/chart-area-interactive/index.js +1 -0
- package/dist/components/molecules/data-display/chart-bar-interactive/chart-bar-interactive.d.ts +48 -0
- package/dist/components/molecules/data-display/chart-bar-interactive/chart-bar-interactive.d.ts.map +1 -0
- package/dist/components/molecules/data-display/chart-bar-interactive/chart-bar-interactive.js +144 -0
- package/dist/components/molecules/data-display/chart-bar-interactive/index.d.ts +3 -0
- package/dist/components/molecules/data-display/chart-bar-interactive/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/chart-bar-interactive/index.js +1 -0
- package/dist/components/molecules/data-display/checkpoint/checkpoint.d.ts +18 -0
- package/dist/components/molecules/data-display/checkpoint/checkpoint.d.ts.map +1 -0
- package/dist/components/molecules/data-display/checkpoint/checkpoint.js +16 -0
- package/dist/components/molecules/data-display/checkpoint/index.d.ts +3 -0
- package/dist/components/molecules/data-display/checkpoint/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/checkpoint/index.js +1 -0
- package/dist/components/molecules/data-display/circular-progress-chart/circular-progress-chart.d.ts +68 -0
- package/dist/components/molecules/data-display/circular-progress-chart/circular-progress-chart.d.ts.map +1 -0
- package/dist/components/molecules/data-display/circular-progress-chart/circular-progress-chart.js +24 -0
- package/dist/components/molecules/data-display/circular-progress-chart/index.d.ts +3 -0
- package/dist/components/molecules/data-display/circular-progress-chart/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/circular-progress-chart/index.js +1 -0
- package/dist/components/molecules/data-display/data-table/data-table-pagination.d.ts +48 -0
- package/dist/components/molecules/data-display/data-table/data-table-pagination.d.ts.map +1 -0
- package/dist/components/molecules/data-display/data-table/data-table-pagination.js +100 -0
- package/dist/components/molecules/data-display/data-table/data-table.d.ts +86 -0
- package/dist/components/molecules/data-display/data-table/data-table.d.ts.map +1 -0
- package/dist/components/molecules/data-display/data-table/data-table.js +147 -0
- package/dist/components/molecules/data-display/data-table/index.d.ts +5 -0
- package/dist/components/molecules/data-display/data-table/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/data-table/index.js +2 -0
- package/dist/components/molecules/data-display/message/index.d.ts +3 -0
- package/dist/components/molecules/data-display/message/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/message/index.js +1 -0
- package/dist/components/molecules/data-display/message/message.d.ts +64 -0
- package/dist/components/molecules/data-display/message/message.d.ts.map +1 -0
- package/dist/components/molecules/data-display/message/message.js +122 -0
- package/dist/components/molecules/data-display/project-list/index.d.ts +3 -0
- package/dist/components/molecules/data-display/project-list/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/project-list/index.js +1 -0
- package/dist/components/molecules/data-display/project-list/project-list.d.ts +46 -0
- package/dist/components/molecules/data-display/project-list/project-list.d.ts.map +1 -0
- package/dist/components/molecules/data-display/project-list/project-list.js +30 -0
- package/dist/components/molecules/data-display/reminder-card/index.d.ts +3 -0
- package/dist/components/molecules/data-display/reminder-card/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/reminder-card/index.js +1 -0
- package/dist/components/molecules/data-display/reminder-card/reminder-card.d.ts +43 -0
- package/dist/components/molecules/data-display/reminder-card/reminder-card.d.ts.map +1 -0
- package/dist/components/molecules/data-display/reminder-card/reminder-card.js +19 -0
- package/dist/components/molecules/data-display/sources/index.d.ts +3 -0
- package/dist/components/molecules/data-display/sources/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/sources/index.js +1 -0
- package/dist/components/molecules/data-display/sources/sources.d.ts +19 -0
- package/dist/components/molecules/data-display/sources/sources.d.ts.map +1 -0
- package/dist/components/molecules/data-display/sources/sources.js +18 -0
- package/dist/components/molecules/data-display/stat-card/index.d.ts +3 -0
- package/dist/components/molecules/data-display/stat-card/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/stat-card/index.js +1 -0
- package/dist/components/molecules/data-display/stat-card/stat-card.d.ts +49 -0
- package/dist/components/molecules/data-display/stat-card/stat-card.d.ts.map +1 -0
- package/dist/components/molecules/data-display/stat-card/stat-card.js +134 -0
- package/dist/components/molecules/data-display/suggestion/index.d.ts +3 -0
- package/dist/components/molecules/data-display/suggestion/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/suggestion/index.js +1 -0
- package/dist/components/molecules/data-display/suggestion/suggestion.d.ts +16 -0
- package/dist/components/molecules/data-display/suggestion/suggestion.d.ts.map +1 -0
- package/dist/components/molecules/data-display/suggestion/suggestion.js +13 -0
- package/dist/components/molecules/data-display/task/index.d.ts +3 -0
- package/dist/components/molecules/data-display/task/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/task/index.js +1 -0
- package/dist/components/molecules/data-display/task/task.d.ts +21 -0
- package/dist/components/molecules/data-display/task/task.d.ts.map +1 -0
- package/dist/components/molecules/data-display/task/task.js +20 -0
- package/dist/components/molecules/data-display/team-member-list/index.d.ts +3 -0
- package/dist/components/molecules/data-display/team-member-list/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/team-member-list/index.js +1 -0
- package/dist/components/molecules/data-display/team-member-list/team-member-list.d.ts +45 -0
- package/dist/components/molecules/data-display/team-member-list/team-member-list.d.ts.map +1 -0
- package/dist/components/molecules/data-display/team-member-list/team-member-list.js +60 -0
- package/dist/components/molecules/data-display/time-tracker/index.d.ts +3 -0
- package/dist/components/molecules/data-display/time-tracker/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/time-tracker/index.js +1 -0
- package/dist/components/molecules/data-display/time-tracker/time-tracker.d.ts +50 -0
- package/dist/components/molecules/data-display/time-tracker/time-tracker.d.ts.map +1 -0
- package/dist/components/molecules/data-display/time-tracker/time-tracker.js +24 -0
- package/dist/components/molecules/data-display/tool/index.d.ts +3 -0
- package/dist/components/molecules/data-display/tool/index.d.ts.map +1 -0
- package/dist/components/molecules/data-display/tool/index.js +1 -0
- package/dist/components/molecules/data-display/tool/tool.d.ts +30 -0
- package/dist/components/molecules/data-display/tool/tool.d.ts.map +1 -0
- package/dist/components/molecules/data-display/tool/tool.js +49 -0
- package/dist/components/molecules/feedback/confirmation/confirmation.d.ts +61 -0
- package/dist/components/molecules/feedback/confirmation/confirmation.d.ts.map +1 -0
- package/dist/components/molecules/feedback/confirmation/confirmation.js +62 -0
- package/dist/components/molecules/feedback/confirmation/index.d.ts +3 -0
- package/dist/components/molecules/feedback/confirmation/index.d.ts.map +1 -0
- package/dist/components/molecules/feedback/confirmation/index.js +1 -0
- package/dist/components/molecules/flow/canvas/canvas.d.ts +13 -0
- package/dist/components/molecules/flow/canvas/canvas.d.ts.map +1 -0
- package/dist/components/molecules/flow/canvas/canvas.js +10 -0
- package/dist/components/molecules/flow/canvas/index.d.ts +2 -0
- package/dist/components/molecules/flow/canvas/index.d.ts.map +1 -0
- package/dist/components/molecules/flow/canvas/index.js +1 -0
- package/dist/components/molecules/flow/connection/connection.d.ts +8 -0
- package/dist/components/molecules/flow/connection/connection.d.ts.map +1 -0
- package/dist/components/molecules/flow/connection/connection.js +3 -0
- package/dist/components/molecules/flow/connection/index.d.ts +2 -0
- package/dist/components/molecules/flow/connection/index.d.ts.map +1 -0
- package/dist/components/molecules/flow/connection/index.js +1 -0
- package/dist/components/molecules/forms/button-group/button-group.d.ts +25 -0
- package/dist/components/molecules/forms/button-group/button-group.d.ts.map +1 -0
- package/dist/components/molecules/forms/button-group/button-group.js +23 -0
- package/dist/components/molecules/forms/button-group/index.d.ts +3 -0
- package/dist/components/molecules/forms/button-group/index.d.ts.map +1 -0
- package/dist/components/molecules/forms/button-group/index.js +1 -0
- package/dist/components/molecules/forms/image-dropzone/image-dropzone.d.ts +61 -0
- package/dist/components/molecules/forms/image-dropzone/image-dropzone.d.ts.map +1 -0
- package/dist/components/molecules/forms/image-dropzone/image-dropzone.js +136 -0
- package/dist/components/molecules/forms/image-dropzone/index.d.ts +3 -0
- package/dist/components/molecules/forms/image-dropzone/index.d.ts.map +1 -0
- package/dist/components/molecules/forms/image-dropzone/index.js +1 -0
- package/dist/components/molecules/forms/input-group/index.d.ts +3 -0
- package/dist/components/molecules/forms/input-group/index.d.ts.map +1 -0
- package/dist/components/molecules/forms/input-group/index.js +1 -0
- package/dist/components/molecules/forms/input-group/input-group.d.ts +33 -0
- package/dist/components/molecules/forms/input-group/input-group.d.ts.map +1 -0
- package/dist/components/molecules/forms/input-group/input-group.js +30 -0
- package/dist/components/molecules/forms/item/index.d.ts +3 -0
- package/dist/components/molecules/forms/item/index.d.ts.map +1 -0
- package/dist/components/molecules/forms/item/index.js +1 -0
- package/dist/components/molecules/forms/item/item.d.ts +72 -0
- package/dist/components/molecules/forms/item/item.d.ts.map +1 -0
- package/dist/components/molecules/forms/item/item.js +76 -0
- package/dist/components/molecules/index.d.ts +73 -0
- package/dist/components/molecules/index.d.ts.map +1 -0
- package/dist/components/molecules/index.js +38 -0
- package/dist/components/molecules/layout/dashboard-header/dashboard-header.d.ts +69 -0
- package/dist/components/molecules/layout/dashboard-header/dashboard-header.d.ts.map +1 -0
- package/dist/components/molecules/layout/dashboard-header/dashboard-header.js +29 -0
- package/dist/components/molecules/layout/dashboard-header/index.d.ts +3 -0
- package/dist/components/molecules/layout/dashboard-header/index.d.ts.map +1 -0
- package/dist/components/molecules/layout/dashboard-header/index.js +1 -0
- package/dist/components/molecules/navigation/menu-dock/index.d.ts +3 -0
- package/dist/components/molecules/navigation/menu-dock/index.d.ts.map +1 -0
- package/dist/components/molecules/navigation/menu-dock/index.js +1 -0
- package/dist/components/molecules/navigation/menu-dock/menu-dock.d.ts +30 -0
- package/dist/components/molecules/navigation/menu-dock/menu-dock.d.ts.map +1 -0
- package/dist/components/molecules/navigation/menu-dock/menu-dock.js +97 -0
- package/dist/components/molecules/navigation/sidebar-navigation/index.d.ts +3 -0
- package/dist/components/molecules/navigation/sidebar-navigation/index.d.ts.map +1 -0
- package/dist/components/molecules/navigation/sidebar-navigation/index.js +1 -0
- package/dist/components/molecules/navigation/sidebar-navigation/sidebar-navigation.d.ts +56 -0
- package/dist/components/molecules/navigation/sidebar-navigation/sidebar-navigation.d.ts.map +1 -0
- package/dist/components/molecules/navigation/sidebar-navigation/sidebar-navigation.js +36 -0
- package/dist/components/molecules/theme/theme-toggle-button/index.d.ts +3 -0
- package/dist/components/molecules/theme/theme-toggle-button/index.d.ts.map +1 -0
- package/dist/components/molecules/theme/theme-toggle-button/index.js +1 -0
- package/dist/components/molecules/theme/theme-toggle-button/theme-toggle-button.d.ts +58 -0
- package/dist/components/molecules/theme/theme-toggle-button/theme-toggle-button.d.ts.map +1 -0
- package/dist/components/molecules/theme/theme-toggle-button/theme-toggle-button.js +183 -0
- package/dist/components/molecules/typography/animated-shiny-text/animated-shiny-text.d.ts +25 -0
- package/dist/components/molecules/typography/animated-shiny-text/animated-shiny-text.d.ts.map +1 -0
- package/dist/components/molecules/typography/animated-shiny-text/animated-shiny-text.js +25 -0
- package/dist/components/molecules/typography/animated-shiny-text/index.d.ts +3 -0
- package/dist/components/molecules/typography/animated-shiny-text/index.d.ts.map +1 -0
- package/dist/components/molecules/typography/animated-shiny-text/index.js +1 -0
- package/dist/components/molecules/typography/index.d.ts +7 -0
- package/dist/components/molecules/typography/index.d.ts.map +1 -0
- package/dist/components/molecules/typography/index.js +5 -0
- package/dist/components/organisms/chain-of-thought/chain-of-thought.d.ts +34 -0
- package/dist/components/organisms/chain-of-thought/chain-of-thought.d.ts.map +1 -0
- package/dist/components/organisms/chain-of-thought/chain-of-thought.js +54 -0
- package/dist/components/organisms/chain-of-thought/index.d.ts +2 -0
- package/dist/components/organisms/chain-of-thought/index.d.ts.map +1 -0
- package/dist/components/organisms/chain-of-thought/index.js +1 -0
- package/dist/components/organisms/context/context.d.ts +37 -0
- package/dist/components/organisms/context/context.d.ts.map +1 -0
- package/dist/components/organisms/context/context.js +163 -0
- package/dist/components/organisms/context/index.d.ts +2 -0
- package/dist/components/organisms/context/index.d.ts.map +1 -0
- package/dist/components/organisms/context/index.js +1 -0
- package/dist/components/organisms/controls/controls.d.ts +10 -0
- package/dist/components/organisms/controls/controls.d.ts.map +1 -0
- package/dist/components/organisms/controls/controls.js +9 -0
- package/dist/components/organisms/controls/index.d.ts +2 -0
- package/dist/components/organisms/controls/index.d.ts.map +1 -0
- package/dist/components/organisms/controls/index.js +1 -0
- package/dist/components/organisms/conversation/conversation.d.ts +22 -0
- package/dist/components/organisms/conversation/conversation.d.ts.map +1 -0
- package/dist/components/organisms/conversation/conversation.js +35 -0
- package/dist/components/organisms/conversation/index.d.ts +3 -0
- package/dist/components/organisms/conversation/index.d.ts.map +1 -0
- package/dist/components/organisms/conversation/index.js +1 -0
- package/dist/components/organisms/dashboard-header-actions/dashboard-header-actions.d.ts +62 -0
- package/dist/components/organisms/dashboard-header-actions/dashboard-header-actions.d.ts.map +1 -0
- package/dist/components/organisms/dashboard-header-actions/dashboard-header-actions.js +23 -0
- package/dist/components/organisms/dashboard-header-actions/index.d.ts +3 -0
- package/dist/components/organisms/dashboard-header-actions/index.d.ts.map +1 -0
- package/dist/components/organisms/dashboard-header-actions/index.js +1 -0
- package/dist/components/organisms/dashboard-layout/dashboard-layout.d.ts +24 -0
- package/dist/components/organisms/dashboard-layout/dashboard-layout.d.ts.map +1 -0
- package/dist/components/organisms/dashboard-layout/dashboard-layout.js +29 -0
- package/dist/components/organisms/dashboard-layout/index.d.ts +3 -0
- package/dist/components/organisms/dashboard-layout/index.d.ts.map +1 -0
- package/dist/components/organisms/dashboard-layout/index.js +1 -0
- package/dist/components/organisms/dashboard-movements-section/dashboard-movements-section.d.ts +53 -0
- package/dist/components/organisms/dashboard-movements-section/dashboard-movements-section.d.ts.map +1 -0
- package/dist/components/organisms/dashboard-movements-section/dashboard-movements-section.js +50 -0
- package/dist/components/organisms/dashboard-movements-section/index.d.ts +3 -0
- package/dist/components/organisms/dashboard-movements-section/index.d.ts.map +1 -0
- package/dist/components/organisms/dashboard-movements-section/index.js +1 -0
- package/dist/components/organisms/edge/edge.d.ts +11 -0
- package/dist/components/organisms/edge/edge.d.ts.map +1 -0
- package/dist/components/organisms/edge/edge.js +83 -0
- package/dist/components/organisms/edge/index.d.ts +2 -0
- package/dist/components/organisms/edge/index.d.ts.map +1 -0
- package/dist/components/organisms/edge/index.js +1 -0
- package/dist/components/organisms/genealogy-canvas/genealogy-canvas.d.ts +96 -0
- package/dist/components/organisms/genealogy-canvas/genealogy-canvas.d.ts.map +1 -0
- package/dist/components/organisms/genealogy-canvas/genealogy-canvas.js +122 -0
- package/dist/components/organisms/genealogy-canvas/index.d.ts +3 -0
- package/dist/components/organisms/genealogy-canvas/index.d.ts.map +1 -0
- package/dist/components/organisms/genealogy-canvas/index.js +1 -0
- package/dist/components/organisms/image/image.d.ts +16 -0
- package/dist/components/organisms/image/image.d.ts.map +1 -0
- package/dist/components/organisms/image/image.js +5 -0
- package/dist/components/organisms/image/index.d.ts +3 -0
- package/dist/components/organisms/image/index.d.ts.map +1 -0
- package/dist/components/organisms/image/index.js +1 -0
- package/dist/components/organisms/index.d.ts +50 -0
- package/dist/components/organisms/index.d.ts.map +1 -0
- package/dist/components/organisms/index.js +27 -0
- package/dist/components/organisms/model-selector/index.d.ts +3 -0
- package/dist/components/organisms/model-selector/index.d.ts.map +1 -0
- package/dist/components/organisms/model-selector/index.js +1 -0
- package/dist/components/organisms/model-selector/model-selector.d.ts +75 -0
- package/dist/components/organisms/model-selector/model-selector.d.ts.map +1 -0
- package/dist/components/organisms/model-selector/model-selector.js +32 -0
- package/dist/components/organisms/monthly-summary/index.d.ts +3 -0
- package/dist/components/organisms/monthly-summary/index.d.ts.map +1 -0
- package/dist/components/organisms/monthly-summary/index.js +1 -0
- package/dist/components/organisms/monthly-summary/monthly-summary.d.ts +36 -0
- package/dist/components/organisms/monthly-summary/monthly-summary.d.ts.map +1 -0
- package/dist/components/organisms/monthly-summary/monthly-summary.js +22 -0
- package/dist/components/organisms/node/index.d.ts +2 -0
- package/dist/components/organisms/node/index.d.ts.map +1 -0
- package/dist/components/organisms/node/index.js +1 -0
- package/dist/components/organisms/node/node.d.ts +90 -0
- package/dist/components/organisms/node/node.d.ts.map +1 -0
- package/dist/components/organisms/node/node.js +39 -0
- package/dist/components/organisms/open-in-chat/index.d.ts +3 -0
- package/dist/components/organisms/open-in-chat/index.d.ts.map +1 -0
- package/dist/components/organisms/open-in-chat/index.js +1 -0
- package/dist/components/organisms/open-in-chat/open-in-chat.d.ts +50 -0
- package/dist/components/organisms/open-in-chat/open-in-chat.d.ts.map +1 -0
- package/dist/components/organisms/open-in-chat/open-in-chat.js +75 -0
- package/dist/components/organisms/panel/index.d.ts +2 -0
- package/dist/components/organisms/panel/index.d.ts.map +1 -0
- package/dist/components/organisms/panel/index.js +1 -0
- package/dist/components/organisms/panel/panel.d.ts +10 -0
- package/dist/components/organisms/panel/panel.d.ts.map +1 -0
- package/dist/components/organisms/panel/panel.js +9 -0
- package/dist/components/organisms/plan/index.d.ts +2 -0
- package/dist/components/organisms/plan/index.d.ts.map +1 -0
- package/dist/components/organisms/plan/index.js +1 -0
- package/dist/components/organisms/plan/plan.d.ts +30 -0
- package/dist/components/organisms/plan/plan.d.ts.map +1 -0
- package/dist/components/organisms/plan/plan.js +32 -0
- package/dist/components/organisms/prompt-input/index.d.ts +2 -0
- package/dist/components/organisms/prompt-input/index.d.ts.map +1 -0
- package/dist/components/organisms/prompt-input/index.js +1 -0
- package/dist/components/organisms/prompt-input/prompt-input.d.ts +184 -0
- package/dist/components/organisms/prompt-input/prompt-input.d.ts.map +1 -0
- package/dist/components/organisms/prompt-input/prompt-input.js +526 -0
- package/dist/components/organisms/queue/index.d.ts +2 -0
- package/dist/components/organisms/queue/index.d.ts.map +1 -0
- package/dist/components/organisms/queue/index.js +1 -0
- package/dist/components/organisms/queue/queue.d.ts +65 -0
- package/dist/components/organisms/queue/queue.d.ts.map +1 -0
- package/dist/components/organisms/queue/queue.js +26 -0
- package/dist/components/organisms/reasoning/index.d.ts +2 -0
- package/dist/components/organisms/reasoning/index.d.ts.map +1 -0
- package/dist/components/organisms/reasoning/index.js +1 -0
- package/dist/components/organisms/reasoning/reasoning.d.ts +22 -0
- package/dist/components/organisms/reasoning/reasoning.d.ts.map +1 -0
- package/dist/components/organisms/reasoning/reasoning.js +76 -0
- package/dist/components/organisms/resizable-layout/index.d.ts +3 -0
- package/dist/components/organisms/resizable-layout/index.d.ts.map +1 -0
- package/dist/components/organisms/resizable-layout/index.js +1 -0
- package/dist/components/organisms/resizable-layout/resizable-layout.d.ts +29 -0
- package/dist/components/organisms/resizable-layout/resizable-layout.d.ts.map +1 -0
- package/dist/components/organisms/resizable-layout/resizable-layout.js +64 -0
- package/dist/components/organisms/stats-grid/index.d.ts +3 -0
- package/dist/components/organisms/stats-grid/index.d.ts.map +1 -0
- package/dist/components/organisms/stats-grid/index.js +1 -0
- package/dist/components/organisms/stats-grid/stats-grid.d.ts +71 -0
- package/dist/components/organisms/stats-grid/stats-grid.d.ts.map +1 -0
- package/dist/components/organisms/stats-grid/stats-grid.js +77 -0
- package/dist/components/organisms/toolbar/index.d.ts +2 -0
- package/dist/components/organisms/toolbar/index.d.ts.map +1 -0
- package/dist/components/organisms/toolbar/index.js +1 -0
- package/dist/components/organisms/toolbar/toolbar.d.ts +10 -0
- package/dist/components/organisms/toolbar/toolbar.d.ts.map +1 -0
- package/dist/components/organisms/toolbar/toolbar.js +9 -0
- package/dist/components/organisms/web-preview/index.d.ts +2 -0
- package/dist/components/organisms/web-preview/index.d.ts.map +1 -0
- package/dist/components/organisms/web-preview/index.js +1 -0
- package/dist/components/organisms/web-preview/web-preview.d.ts +39 -0
- package/dist/components/organisms/web-preview/web-preview.d.ts.map +1 -0
- package/dist/components/organisms/web-preview/web-preview.js +62 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +281 -281
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +5 -0
- package/package.json +2 -2
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronLeftIcon, ChevronRightIcon, PaperclipIcon, XIcon } from "lucide-react";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { createContext, memo, useContext, useEffect, useState } from "react";
|
|
5
|
+
import { Streamdown } from "streamdown";
|
|
6
|
+
import { cn } from "@/lib/utils";
|
|
7
|
+
import { Button, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../../../atoms";
|
|
8
|
+
import { ButtonGroup, ButtonGroupText } from "../../forms/button-group";
|
|
9
|
+
export const Message = React.forwardRef(({ className, from, ...props }, ref) => (_jsx("div", { ref: ref, className: cn("group flex w-full max-w-[80%] gap-2", from === "user" ? "is-user ml-auto justify-end" : "is-assistant", className), ...props })));
|
|
10
|
+
Message.displayName = "Message";
|
|
11
|
+
export const MessageContent = React.forwardRef(({ children, className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn("is-user:dark flex w-fit flex-col gap-2 overflow-hidden text-sm", "group-[.is-user]:ml-auto group-[.is-user]:rounded-lg group-[.is-user]:bg-secondary group-[.is-user]:px-4 group-[.is-user]:py-3 group-[.is-user]:text-foreground", "group-[.is-assistant]:text-foreground", className), ...props, children: children })));
|
|
12
|
+
MessageContent.displayName = "MessageContent";
|
|
13
|
+
export const MessageActions = React.forwardRef(({ className, children, ...props }, ref) => (_jsx("div", { ref: ref, className: cn("flex items-center gap-1", className), ...props, children: children })));
|
|
14
|
+
MessageActions.displayName = "MessageActions";
|
|
15
|
+
export const MessageAction = React.forwardRef(({ tooltip, children, label, variant = "ghost", size = "icon-sm", ...props }, ref) => {
|
|
16
|
+
const button = (_jsxs(Button, { ref: ref, size: size, type: "button", variant: variant, ...props, children: [children, _jsx("span", { className: "sr-only", children: label || tooltip })] }));
|
|
17
|
+
if (tooltip) {
|
|
18
|
+
return (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: button }), _jsx(TooltipContent, { children: _jsx("p", { children: tooltip }) })] }) }));
|
|
19
|
+
}
|
|
20
|
+
return button;
|
|
21
|
+
});
|
|
22
|
+
MessageAction.displayName = "MessageAction";
|
|
23
|
+
const MessageBranchContext = createContext(null);
|
|
24
|
+
const useMessageBranch = () => {
|
|
25
|
+
const context = useContext(MessageBranchContext);
|
|
26
|
+
if (!context) {
|
|
27
|
+
throw new Error("MessageBranch components must be used within MessageBranch");
|
|
28
|
+
}
|
|
29
|
+
return context;
|
|
30
|
+
};
|
|
31
|
+
export const MessageBranch = React.forwardRef(({ defaultBranch = 0, onBranchChange, className, ...props }, ref) => {
|
|
32
|
+
const [currentBranch, setCurrentBranch] = useState(defaultBranch);
|
|
33
|
+
const [branches, setBranches] = useState([]);
|
|
34
|
+
const handleBranchChange = (newBranch) => {
|
|
35
|
+
setCurrentBranch(newBranch);
|
|
36
|
+
onBranchChange?.(newBranch);
|
|
37
|
+
};
|
|
38
|
+
const goToPrevious = () => {
|
|
39
|
+
const newBranch = currentBranch > 0 ? currentBranch - 1 : branches.length - 1;
|
|
40
|
+
handleBranchChange(newBranch);
|
|
41
|
+
};
|
|
42
|
+
const goToNext = () => {
|
|
43
|
+
const newBranch = currentBranch < branches.length - 1 ? currentBranch + 1 : 0;
|
|
44
|
+
handleBranchChange(newBranch);
|
|
45
|
+
};
|
|
46
|
+
const contextValue = {
|
|
47
|
+
currentBranch,
|
|
48
|
+
totalBranches: branches.length,
|
|
49
|
+
goToPrevious,
|
|
50
|
+
goToNext,
|
|
51
|
+
branches,
|
|
52
|
+
setBranches,
|
|
53
|
+
};
|
|
54
|
+
return (_jsx(MessageBranchContext.Provider, { value: contextValue, children: _jsx("div", { ref: ref, className: cn("grid w-full gap-2 [&>div]:pb-0", className), ...props }) }));
|
|
55
|
+
});
|
|
56
|
+
MessageBranch.displayName = "MessageBranch";
|
|
57
|
+
export const MessageBranchContent = React.forwardRef(({ children, ...props }, ref) => {
|
|
58
|
+
const { currentBranch, setBranches, branches } = useMessageBranch();
|
|
59
|
+
const childrenArray = Array.isArray(children) ? children : [children];
|
|
60
|
+
// Use useEffect to update branches when they change
|
|
61
|
+
useEffect(() => {
|
|
62
|
+
if (branches.length !== childrenArray.length) {
|
|
63
|
+
setBranches(childrenArray);
|
|
64
|
+
}
|
|
65
|
+
}, [childrenArray, branches, setBranches]);
|
|
66
|
+
return (_jsx(_Fragment, { children: childrenArray.map((branch, index) => (_jsx("div", { ref: ref, className: cn("grid gap-2 overflow-hidden [&>div]:pb-0", index === currentBranch ? "block" : "hidden"), ...props, children: branch }, branch.key || index))) }));
|
|
67
|
+
});
|
|
68
|
+
MessageBranchContent.displayName = "MessageBranchContent";
|
|
69
|
+
export const MessageBranchSelector = React.forwardRef(({ className, from, ...props }, ref) => {
|
|
70
|
+
const { totalBranches } = useMessageBranch();
|
|
71
|
+
// Don't render if there's only one branch
|
|
72
|
+
if (totalBranches <= 1) {
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
return (_jsx(ButtonGroup, { ref: ref, className: cn("[&>*:not(:first-child)]:rounded-l-md [&>*:not(:last-child)]:rounded-r-md", className), orientation: "horizontal", ...props }));
|
|
76
|
+
});
|
|
77
|
+
MessageBranchSelector.displayName = "MessageBranchSelector";
|
|
78
|
+
export const MessageBranchPrevious = React.forwardRef(({ children, ...props }, ref) => {
|
|
79
|
+
const { goToPrevious, totalBranches } = useMessageBranch();
|
|
80
|
+
return (_jsx(Button, { ref: ref, "aria-label": "Previous branch", disabled: totalBranches <= 1, onClick: goToPrevious, size: "icon-sm", type: "button", variant: "ghost", ...props, children: children ?? _jsx(ChevronLeftIcon, { size: 14 }) }));
|
|
81
|
+
});
|
|
82
|
+
MessageBranchPrevious.displayName = "MessageBranchPrevious";
|
|
83
|
+
export const MessageBranchNext = React.forwardRef(({ children, className, ...props }, ref) => {
|
|
84
|
+
const { goToNext, totalBranches } = useMessageBranch();
|
|
85
|
+
return (_jsx(Button, { ref: ref, "aria-label": "Next branch", disabled: totalBranches <= 1, onClick: goToNext, size: "icon-sm", type: "button", variant: "ghost", ...props, children: children ?? _jsx(ChevronRightIcon, { size: 14 }) }));
|
|
86
|
+
});
|
|
87
|
+
MessageBranchNext.displayName = "MessageBranchNext";
|
|
88
|
+
export const MessageBranchPage = React.forwardRef(({ className, ...props }, ref) => {
|
|
89
|
+
const { currentBranch, totalBranches } = useMessageBranch();
|
|
90
|
+
return (_jsxs(ButtonGroupText, { ref: ref, className: cn("border-none bg-transparent text-muted-foreground shadow-none", className), ...props, children: [currentBranch + 1, " of ", totalBranches] }));
|
|
91
|
+
});
|
|
92
|
+
MessageBranchPage.displayName = "MessageBranchPage";
|
|
93
|
+
const MessageResponseComponent = React.forwardRef(({ className, ...props }, ref) => {
|
|
94
|
+
const { ref: _, ...streamdownProps } = props;
|
|
95
|
+
return (_jsx(Streamdown, { className: cn("size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0", className), ...streamdownProps }));
|
|
96
|
+
});
|
|
97
|
+
MessageResponseComponent.displayName = "MessageResponse";
|
|
98
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
99
|
+
export const MessageResponse = memo(MessageResponseComponent, (prevProps, nextProps) => prevProps.children === nextProps.children);
|
|
100
|
+
export const MessageAttachment = React.forwardRef(({ data, className, onRemove, ...props }, ref) => {
|
|
101
|
+
const filename = data.filename || "";
|
|
102
|
+
const mediaType = data.mediaType?.startsWith("image/") && data.url ? "image" : "file";
|
|
103
|
+
const isImage = mediaType === "image";
|
|
104
|
+
const attachmentLabel = filename || (isImage ? "Image" : "Attachment");
|
|
105
|
+
return (_jsx("div", { ref: ref, className: cn("group relative size-24 overflow-hidden rounded-lg", className), ...props, children: isImage ? (_jsxs(_Fragment, { children: [_jsx("img", { alt: filename || "attachment", className: "size-full object-cover", height: 100, src: data.url, width: 100 }), onRemove && (_jsxs(Button, { "aria-label": "Remove attachment", className: "absolute top-2 right-2 size-6 rounded-full bg-background/80 p-0 opacity-0 backdrop-blur-sm transition-opacity hover:bg-background group-hover:opacity-100 [&>svg]:size-3", onClick: (e) => {
|
|
106
|
+
e.stopPropagation();
|
|
107
|
+
onRemove();
|
|
108
|
+
}, type: "button", variant: "ghost", children: [_jsx(XIcon, {}), _jsx("span", { className: "sr-only", children: "Remove" })] }))] })) : (_jsxs(_Fragment, { children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("div", { className: "flex size-full shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground", children: _jsx(PaperclipIcon, { className: "size-4" }) }) }), _jsx(TooltipContent, { children: _jsx("p", { children: attachmentLabel }) })] }), onRemove && (_jsxs(Button, { "aria-label": "Remove attachment", className: "size-6 shrink-0 rounded-full p-0 opacity-0 transition-opacity hover:bg-accent group-hover:opacity-100 [&>svg]:size-3", onClick: (e) => {
|
|
109
|
+
e.stopPropagation();
|
|
110
|
+
onRemove();
|
|
111
|
+
}, type: "button", variant: "ghost", children: [_jsx(XIcon, {}), _jsx("span", { className: "sr-only", children: "Remove" })] }))] })) }));
|
|
112
|
+
});
|
|
113
|
+
MessageAttachment.displayName = "MessageAttachment";
|
|
114
|
+
export const MessageAttachments = React.forwardRef(({ children, className, ...props }, ref) => {
|
|
115
|
+
if (!children) {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
return (_jsx("div", { ref: ref, className: cn("ml-auto flex w-fit flex-wrap items-start gap-2", className), ...props, children: children }));
|
|
119
|
+
});
|
|
120
|
+
MessageAttachments.displayName = "MessageAttachments";
|
|
121
|
+
export const MessageToolbar = React.forwardRef(({ className, children, ...props }, ref) => (_jsx("div", { ref: ref, className: cn("mt-4 flex w-full items-center justify-between gap-4", className), ...props, children: children })));
|
|
122
|
+
MessageToolbar.displayName = "MessageToolbar";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/project-list/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProjectList } from "./project-list";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProjectList - Componente Visual
|
|
3
|
+
*
|
|
4
|
+
* Lista de projetos com ícones, datas e ações
|
|
5
|
+
*/
|
|
6
|
+
import type React from "react";
|
|
7
|
+
export interface Project {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
dueDate: string | Date;
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
iconColor?: string;
|
|
13
|
+
status?: "active" | "pending" | "completed" | "on-hold";
|
|
14
|
+
}
|
|
15
|
+
export interface ProjectListProps {
|
|
16
|
+
/**
|
|
17
|
+
* Lista de projetos
|
|
18
|
+
*/
|
|
19
|
+
projects: Project[];
|
|
20
|
+
/**
|
|
21
|
+
* Título do card
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Callback quando um projeto é clicado
|
|
26
|
+
*/
|
|
27
|
+
onProjectClick?: (project: Project) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Callback quando o botão "New" é clicado
|
|
30
|
+
*/
|
|
31
|
+
onAddNew?: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* Texto do botão de adicionar
|
|
34
|
+
* @default "+ New"
|
|
35
|
+
*/
|
|
36
|
+
addButtonText?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Classe CSS adicional
|
|
39
|
+
*/
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Componente de lista de projetos
|
|
44
|
+
*/
|
|
45
|
+
export declare function ProjectList({ projects, title, onProjectClick, onAddNew, addButtonText, className, }: ProjectListProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
//# sourceMappingURL=project-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-list.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/project-list/project-list.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;CACzD;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,EAAE,OAAO,EAAE,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAiB,EACjB,cAAc,EACd,QAAQ,EACR,aAAuB,EACvB,SAAS,GACV,EAAE,gBAAgB,2CAqElB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* ProjectList - Componente Visual
|
|
4
|
+
*
|
|
5
|
+
* Lista de projetos com ícones, datas e ações
|
|
6
|
+
*/
|
|
7
|
+
import { Calendar, Plus } from "lucide-react";
|
|
8
|
+
import { cn } from "@/lib/utils";
|
|
9
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle } from "../../../atoms";
|
|
10
|
+
/**
|
|
11
|
+
* Formata data para exibição
|
|
12
|
+
*/
|
|
13
|
+
function formatDate(date) {
|
|
14
|
+
const d = typeof date === "string" ? new Date(date) : date;
|
|
15
|
+
return d.toLocaleDateString("en-US", {
|
|
16
|
+
month: "short",
|
|
17
|
+
day: "numeric",
|
|
18
|
+
year: "numeric",
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Componente de lista de projetos
|
|
23
|
+
*/
|
|
24
|
+
export function ProjectList({ projects, title = "Project", onProjectClick, onAddNew, addButtonText = "+ New", className, }) {
|
|
25
|
+
return (_jsxs(Card, { className: className, children: [_jsxs(CardHeader, { className: "flex flex-row items-center justify-between space-y-0 pb-2", children: [_jsx(CardTitle, { children: title }), onAddNew && (_jsxs(Button, { variant: "ghost", size: "sm", onClick: onAddNew, children: [_jsx(Plus, { className: "h-4 w-4 mr-1" }), addButtonText] }))] }), _jsx(CardContent, { children: _jsx("div", { className: "space-y-3", children: projects.length === 0 ? (_jsx("div", { className: "text-center text-muted-foreground py-8", children: "No projects" })) : (projects.map((project) => (_jsxs("div", { onClick: () => onProjectClick?.(project), className: cn("flex items-center gap-3 p-3 rounded-lg border transition-colors", onProjectClick && "cursor-pointer hover:bg-accent"), children: [project.icon && (_jsx("div", { className: cn("flex items-center justify-center w-10 h-10 rounded", project.iconColor || "bg-primary/10"), style: project.iconColor ? { backgroundColor: project.iconColor } : undefined, children: project.icon })), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("div", { className: "font-medium text-sm truncate", children: project.name }), _jsxs("div", { className: "flex items-center gap-1 text-xs text-muted-foreground mt-1", children: [_jsx(Calendar, { className: "h-3 w-3" }), _jsxs("span", { children: ["Due date: ", formatDate(project.dueDate)] })] })] }), project.status && (_jsx(Badge, { variant: project.status === "completed"
|
|
26
|
+
? "default"
|
|
27
|
+
: project.status === "active"
|
|
28
|
+
? "secondary"
|
|
29
|
+
: "outline", children: project.status }))] }, project.id)))) }) })] }));
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/reminder-card/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ReminderCard } from "./reminder-card";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ReminderCard - Componente Visual
|
|
3
|
+
*
|
|
4
|
+
* Card de lembretes com horário e botão de ação
|
|
5
|
+
*/
|
|
6
|
+
export interface Reminder {
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
time: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ReminderCardProps {
|
|
13
|
+
/**
|
|
14
|
+
* Lista de lembretes
|
|
15
|
+
*/
|
|
16
|
+
reminders: Reminder[];
|
|
17
|
+
/**
|
|
18
|
+
* Título do card
|
|
19
|
+
*/
|
|
20
|
+
title?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Texto do botão de ação principal
|
|
23
|
+
* @default "Start Meeting"
|
|
24
|
+
*/
|
|
25
|
+
actionButtonText?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Callback quando o botão de ação é clicado
|
|
28
|
+
*/
|
|
29
|
+
onStartMeeting?: (reminder: Reminder) => void;
|
|
30
|
+
/**
|
|
31
|
+
* Callback quando um lembrete é dispensado
|
|
32
|
+
*/
|
|
33
|
+
onDismiss?: (reminder: Reminder) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Classe CSS adicional
|
|
36
|
+
*/
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Componente de card de lembretes
|
|
41
|
+
*/
|
|
42
|
+
export declare function ReminderCard({ reminders, title, actionButtonText, onStartMeeting, onDismiss, className, }: ReminderCardProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
//# sourceMappingURL=reminder-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reminder-card.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/reminder-card/reminder-card.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,EAAE,QAAQ,EAAE,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAE9C;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAEzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,KAAmB,EACnB,gBAAkC,EAClC,cAAc,EACd,SAAS,EACT,SAAS,GACV,EAAE,iBAAiB,2CAgEnB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* ReminderCard - Componente Visual
|
|
4
|
+
*
|
|
5
|
+
* Card de lembretes com horário e botão de ação
|
|
6
|
+
*/
|
|
7
|
+
import { Clock, X } from "lucide-react";
|
|
8
|
+
import { Button, Card, CardContent, CardHeader, CardTitle } from "../../../atoms";
|
|
9
|
+
/**
|
|
10
|
+
* Componente de card de lembretes
|
|
11
|
+
*/
|
|
12
|
+
export function ReminderCard({ reminders, title = "Reminders", actionButtonText = "Start Meeting", onStartMeeting, onDismiss, className, }) {
|
|
13
|
+
if (!reminders || reminders.length === 0) {
|
|
14
|
+
return (_jsxs(Card, { className: className, children: [_jsx(CardHeader, { children: _jsx(CardTitle, { children: title }) }), _jsx(CardContent, { children: _jsx("div", { className: "text-center text-muted-foreground py-8", children: "No reminders" }) })] }));
|
|
15
|
+
}
|
|
16
|
+
// Mostrar apenas o primeiro lembrete (ou todos se necessário)
|
|
17
|
+
const primaryReminder = reminders[0];
|
|
18
|
+
return (_jsxs(Card, { className: className, children: [_jsx(CardHeader, { children: _jsx(CardTitle, { children: title }) }), _jsx(CardContent, { children: _jsx("div", { className: "space-y-4", children: reminders.map((reminder) => (_jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "flex items-start justify-between", children: [_jsxs("div", { className: "flex-1", children: [_jsx("div", { className: "font-medium text-sm", children: reminder.title }), reminder.description && (_jsx("div", { className: "text-xs text-muted-foreground mt-1", children: reminder.description }))] }), onDismiss && (_jsx(Button, { variant: "ghost", size: "sm", className: "h-6 w-6 p-0", onClick: () => onDismiss(reminder), children: _jsx(X, { className: "h-4 w-4" }) }))] }), _jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [_jsx(Clock, { className: "h-4 w-4" }), _jsx("span", { children: reminder.time })] }), onStartMeeting && (_jsx(Button, { onClick: () => onStartMeeting(reminder), className: "w-full", size: "sm", children: actionButtonText }))] }, reminder.id))) }) })] }));
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/sources/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,WAAW,EACX,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,GACpB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Source, Sources, SourcesContent, SourcesTrigger } from "./sources";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sources Component - Flowtomic UI
|
|
3
|
+
*
|
|
4
|
+
* Componente de sources collapsible
|
|
5
|
+
*/
|
|
6
|
+
import type { ComponentProps } from "react";
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { CollapsibleContent, CollapsibleTrigger } from "../../../atoms";
|
|
9
|
+
export type SourcesProps = ComponentProps<"div">;
|
|
10
|
+
export declare const Sources: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export type SourcesTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
12
|
+
count: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const SourcesTrigger: React.ForwardRefExoticComponent<Omit<SourcesTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
export type SourcesContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
16
|
+
export declare const SourcesContent: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-collapsible").CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export type SourceProps = ComponentProps<"a">;
|
|
18
|
+
export declare const Source: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
19
|
+
//# sourceMappingURL=sources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/sources/sources.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAe,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAErF,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO,mKAQnB,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,GAAG;IAC5E,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,cAAc,4GAW1B,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE5E,eAAO,MAAM,cAAc,4OAY1B,CAAC;AAGF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;AAE9C,eAAO,MAAM,MAAM,kLAkBlB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Sources Component - Flowtomic UI
|
|
4
|
+
*
|
|
5
|
+
* Componente de sources collapsible
|
|
6
|
+
*/
|
|
7
|
+
import { BookIcon, ChevronDownIcon } from "lucide-react";
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
import { cn } from "@/lib/utils";
|
|
10
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "../../../atoms";
|
|
11
|
+
export const Sources = React.forwardRef(({ className, ...props }, ref) => (_jsx(Collapsible, { ref: ref, className: cn("not-prose mb-4 text-primary text-xs", className), ...props })));
|
|
12
|
+
Sources.displayName = "Sources";
|
|
13
|
+
export const SourcesTrigger = React.forwardRef(({ className, count, children, ...props }, ref) => (_jsx(CollapsibleTrigger, { ref: ref, className: cn("flex items-center gap-2", className), ...props, children: children ?? (_jsxs(_Fragment, { children: [_jsxs("p", { className: "font-medium", children: ["Used ", count, " sources"] }), _jsx(ChevronDownIcon, { className: "h-4 w-4" })] })) })));
|
|
14
|
+
SourcesTrigger.displayName = "SourcesTrigger";
|
|
15
|
+
export const SourcesContent = React.forwardRef(({ className, ...props }, ref) => (_jsx(CollapsibleContent, { ref: ref, className: cn("mt-3 flex w-fit flex-col gap-2", "data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 outline-none data-[state=closed]:animate-out data-[state=open]:animate-in", className), ...props })));
|
|
16
|
+
SourcesContent.displayName = "SourcesContent";
|
|
17
|
+
export const Source = React.forwardRef(({ href, title, children, ...props }, ref) => (_jsx("a", { ref: ref, className: "flex items-center gap-2", href: href, rel: "noreferrer", target: "_blank", ...props, children: children ?? (_jsxs(_Fragment, { children: [_jsx(BookIcon, { className: "h-4 w-4" }), _jsx("span", { className: "block font-medium", children: title })] })) })));
|
|
18
|
+
Source.displayName = "Source";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/stat-card/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StatCard } from "./stat-card";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StatCard - Componente Visual
|
|
3
|
+
*
|
|
4
|
+
* Implementação visual usando o Headless UI hook useStatCard
|
|
5
|
+
* Este componente adiciona markup e styles ao hook Headless
|
|
6
|
+
*/
|
|
7
|
+
import { type StatCardData } from "flowtomic/logic";
|
|
8
|
+
import React from "react";
|
|
9
|
+
export interface StatCardProps extends StatCardData {
|
|
10
|
+
/**
|
|
11
|
+
* Título do card
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
/**
|
|
15
|
+
* Subtítulo/descrição do card
|
|
16
|
+
*/
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Cor de destaque do card (tokens semânticos)
|
|
20
|
+
*/
|
|
21
|
+
color?: "primary" | "success" | "warning" | "error" | "info";
|
|
22
|
+
/**
|
|
23
|
+
* Variante do layout do card
|
|
24
|
+
*/
|
|
25
|
+
variant?: "compact" | "default" | "detailed";
|
|
26
|
+
/**
|
|
27
|
+
* Classe CSS adicional
|
|
28
|
+
*/
|
|
29
|
+
className?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Conteúdo adicional (children)
|
|
32
|
+
*/
|
|
33
|
+
children?: React.ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Se deve mostrar o menu de ações (dropdown)
|
|
36
|
+
*/
|
|
37
|
+
showActions?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Callbacks para ações do menu
|
|
40
|
+
*/
|
|
41
|
+
onSettings?: () => void;
|
|
42
|
+
onAddAlert?: () => void;
|
|
43
|
+
onPin?: () => void;
|
|
44
|
+
onShare?: () => void;
|
|
45
|
+
onRemove?: () => void;
|
|
46
|
+
}
|
|
47
|
+
declare const StatCard: React.ForwardRefExoticComponent<StatCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
export { StatCard };
|
|
49
|
+
//# sourceMappingURL=stat-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/stat-card/stat-card.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,iBAAiB,CAAC;AAcjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAE7D;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAE7C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAkBD,QAAA,MAAM,QAAQ,sFAgVb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* StatCard - Componente Visual
|
|
4
|
+
*
|
|
5
|
+
* Implementação visual usando o Headless UI hook useStatCard
|
|
6
|
+
* Este componente adiciona markup e styles ao hook Headless
|
|
7
|
+
*/
|
|
8
|
+
import { useStatCard } from "flowtomic/logic";
|
|
9
|
+
import { ArrowDown, ArrowUp, Minus, MoreHorizontal, Pin, Settings, Share2, Trash, TriangleAlert, } from "lucide-react";
|
|
10
|
+
import { AnimatePresence, motion } from "motion/react";
|
|
11
|
+
import React from "react";
|
|
12
|
+
import { cn } from "@/lib/utils";
|
|
13
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, SlidingNumber, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "../../../atoms";
|
|
14
|
+
const colorClasses = {
|
|
15
|
+
primary: "bg-card border-border hover:bg-surface-hover",
|
|
16
|
+
success: "bg-card border-border hover:bg-surface-hover",
|
|
17
|
+
warning: "bg-card border-border hover:bg-surface-hover",
|
|
18
|
+
error: "bg-card border-border hover:bg-surface-hover",
|
|
19
|
+
info: "bg-card border-border hover:bg-surface-hover",
|
|
20
|
+
};
|
|
21
|
+
const accentColors = {
|
|
22
|
+
primary: "text-primary",
|
|
23
|
+
success: "text-success",
|
|
24
|
+
warning: "text-warning",
|
|
25
|
+
error: "text-error",
|
|
26
|
+
info: "text-muted-foreground",
|
|
27
|
+
};
|
|
28
|
+
const StatCard = React.forwardRef(({ title, value, subtitle, delta, lastMonth, prefix, suffix, locale, currency, currencyDisplay, format, lastFormat, positive, color = "primary", variant = "default", className, children, showActions = false, onSettings, onAddAlert, onPin, onShare, onRemove, ...props }, ref) => {
|
|
29
|
+
const [isHovered, setIsHovered] = React.useState(false);
|
|
30
|
+
const [isDropdownOpen, setIsDropdownOpen] = React.useState(false);
|
|
31
|
+
const prevValueRef = React.useRef(typeof value === "number" ? value : 0);
|
|
32
|
+
// Atualiza valor anterior quando value muda
|
|
33
|
+
React.useEffect(() => {
|
|
34
|
+
if (typeof value === "number") {
|
|
35
|
+
prevValueRef.current = value;
|
|
36
|
+
}
|
|
37
|
+
}, [value]);
|
|
38
|
+
// Variantes de layout
|
|
39
|
+
const isCompact = variant === "compact";
|
|
40
|
+
const isDetailed = variant === "detailed";
|
|
41
|
+
// Determina se o botão de ações deve ser visível
|
|
42
|
+
// Visível quando: hover no card OU dropdown aberto OU variante detailed
|
|
43
|
+
const shouldShowActions = isHovered || isDropdownOpen || isDetailed;
|
|
44
|
+
// Determina se é positivo baseado no delta
|
|
45
|
+
const computedPositive = React.useMemo(() => {
|
|
46
|
+
if (positive !== undefined)
|
|
47
|
+
return positive;
|
|
48
|
+
if (delta !== undefined)
|
|
49
|
+
return delta >= 0;
|
|
50
|
+
return undefined;
|
|
51
|
+
}, [positive, delta]);
|
|
52
|
+
// Headless UI Hook - apenas lógica
|
|
53
|
+
// Se value for number, usa o hook; se for string, usa diretamente
|
|
54
|
+
const isNumericValue = typeof value === "number";
|
|
55
|
+
const statCardData = useStatCard(isNumericValue
|
|
56
|
+
? {
|
|
57
|
+
value,
|
|
58
|
+
delta,
|
|
59
|
+
lastMonth,
|
|
60
|
+
prefix,
|
|
61
|
+
suffix,
|
|
62
|
+
locale,
|
|
63
|
+
currency,
|
|
64
|
+
currencyDisplay,
|
|
65
|
+
format,
|
|
66
|
+
lastFormat,
|
|
67
|
+
positive: computedPositive,
|
|
68
|
+
}
|
|
69
|
+
: {
|
|
70
|
+
value: 0,
|
|
71
|
+
delta,
|
|
72
|
+
lastMonth,
|
|
73
|
+
prefix,
|
|
74
|
+
suffix,
|
|
75
|
+
locale,
|
|
76
|
+
currency,
|
|
77
|
+
currencyDisplay,
|
|
78
|
+
format,
|
|
79
|
+
lastFormat,
|
|
80
|
+
positive: computedPositive,
|
|
81
|
+
});
|
|
82
|
+
// Valor formatado (do hook ou string direto)
|
|
83
|
+
const displayValue = isNumericValue ? statCardData.formattedValue : value;
|
|
84
|
+
// Determina se deve usar animação
|
|
85
|
+
// Só anima se:
|
|
86
|
+
// 1. O valor é numérico
|
|
87
|
+
// 2. Não há função de formatação customizada (SlidingNumber não suporta format customizado)
|
|
88
|
+
// 3. Não há currency definido (currency já formata com símbolo, não compatível com SlidingNumber)
|
|
89
|
+
// O SlidingNumber gerencia internamente as mudanças de valor e anima automaticamente
|
|
90
|
+
const shouldAnimate = React.useMemo(() => {
|
|
91
|
+
return isNumericValue && typeof value === "number" && !format && !currency;
|
|
92
|
+
}, [isNumericValue, value, format, currency]);
|
|
93
|
+
// Determina direção da animação baseada no delta
|
|
94
|
+
const animationDirection = React.useMemo(() => {
|
|
95
|
+
if (delta === undefined || delta === 0)
|
|
96
|
+
return "neutral";
|
|
97
|
+
return delta > 0 ? "up" : "down";
|
|
98
|
+
}, [delta]);
|
|
99
|
+
// Ícone de tendência
|
|
100
|
+
const getTrendIcon = () => {
|
|
101
|
+
// Determina a direção: usa delta diretamente se disponível, senão usa a direção do hook
|
|
102
|
+
let direction = "neutral";
|
|
103
|
+
if (delta !== undefined) {
|
|
104
|
+
// Prioriza o delta explícito
|
|
105
|
+
direction = delta > 0 ? "up" : delta < 0 ? "down" : "neutral";
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
// Caso contrário, usa a direção calculada pelo hook
|
|
109
|
+
direction = statCardData.trend.direction;
|
|
110
|
+
}
|
|
111
|
+
// Retorna o ícone apropriado
|
|
112
|
+
return direction === "up" ? (_jsx(ArrowUp, { className: "h-4 w-4 text-success" })) : direction === "down" ? (_jsx(ArrowDown, { className: "h-4 w-4 text-error" })) : (_jsx(Minus, { className: "h-4 w-4 text-muted-foreground" }));
|
|
113
|
+
};
|
|
114
|
+
return (_jsxs(Card, { ref: ref, onMouseEnter: () => setIsHovered(true), onMouseLeave: () => setIsHovered(false), className: cn("transition-all duration-300 hover:shadow-lg hover:scale-[1.01] border relative", colorClasses[color], isCompact && "p-4", className), ...props, children: [_jsxs(CardHeader, { className: cn("flex flex-row items-start justify-between space-y-0 border-0", isCompact ? "pb-2" : "pb-4 sm:pb-6"), children: [_jsx("div", { className: "space-y-1 flex-1 min-w-0 pr-2", children: _jsx(CardTitle, { className: cn("font-medium text-muted-foreground uppercase tracking-wide truncate", isCompact ? "text-[10px]" : "text-xs"), children: title }) }), _jsx("div", { className: "flex items-center gap-1.5 shrink-0", children: showActions && (_jsx(TooltipProvider, { delayDuration: 200, children: _jsx(AnimatePresence, { children: shouldShowActions && (_jsx(motion.div, { initial: { opacity: 0, scale: 0.8 }, animate: { opacity: 1, scale: 1 }, exit: { opacity: 0, scale: 0.8 }, transition: { duration: 0.15 }, onMouseEnter: () => setIsHovered(true), onMouseLeave: () => {
|
|
115
|
+
// Só remove hover se o dropdown não estiver aberto
|
|
116
|
+
if (!isDropdownOpen) {
|
|
117
|
+
setIsHovered(false);
|
|
118
|
+
}
|
|
119
|
+
}, children: _jsxs(DropdownMenu, { open: isDropdownOpen, onOpenChange: setIsDropdownOpen, children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(DropdownMenuTrigger, { asChild: true, children: _jsx(Button, { variant: "ghost", size: "icon", className: "h-7 w-7 sm:h-8 sm:w-8 text-muted-foreground hover:text-foreground transition-colors", children: _jsx(MoreHorizontal, { className: "h-4 w-4" }) }) }) }), _jsx(TooltipContent, { side: "bottom", className: "text-xs", children: "Mais op\u00E7\u00F5es" })] }), _jsxs(DropdownMenuContent, { align: "end", side: "bottom", className: "w-48", onMouseEnter: () => setIsHovered(true), onMouseLeave: () => {
|
|
120
|
+
// Quando o mouse sai do menu, fecha o dropdown
|
|
121
|
+
setIsDropdownOpen(false);
|
|
122
|
+
setIsHovered(false);
|
|
123
|
+
}, children: [onSettings && (_jsxs(DropdownMenuItem, { onClick: onSettings, className: "cursor-pointer", children: [_jsx(Settings, { className: "mr-2 h-4 w-4 text-muted-foreground" }), "Configura\u00E7\u00F5es"] })), onAddAlert && (_jsxs(DropdownMenuItem, { onClick: onAddAlert, className: "cursor-pointer", children: [_jsx(TriangleAlert, { className: "mr-2 h-4 w-4 text-muted-foreground" }), "Adicionar Alerta"] })), onPin && (_jsxs(DropdownMenuItem, { onClick: onPin, className: "cursor-pointer", children: [_jsx(Pin, { className: "mr-2 h-4 w-4 text-muted-foreground" }), "Fixar no Dashboard"] })), onShare && (_jsxs(DropdownMenuItem, { onClick: onShare, className: "cursor-pointer", children: [_jsx(Share2, { className: "mr-2 h-4 w-4 text-muted-foreground" }), "Compartilhar"] })), onRemove && (_jsxs(_Fragment, { children: [_jsx(DropdownMenuSeparator, {}), _jsxs(DropdownMenuItem, { onClick: onRemove, className: "text-error cursor-pointer focus:text-error", children: [_jsx(Trash, { className: "mr-2 h-4 w-4" }), "Remover"] })] }))] })] }) })) }) })) })] }), _jsxs(CardContent, { className: cn("space-y-2.5", isCompact && "pt-2"), children: [_jsxs("div", { className: "flex flex-col sm:flex-row sm:items-baseline gap-2 sm:gap-3", children: [_jsx(motion.div, { initial: animationDirection === "up"
|
|
124
|
+
? { y: 10, opacity: 0.5 }
|
|
125
|
+
: animationDirection === "down"
|
|
126
|
+
? { y: -10, opacity: 0.5 }
|
|
127
|
+
: { y: 0, opacity: 1 }, animate: { y: 0, opacity: 1 }, transition: { duration: 0.3, ease: "easeOut" }, className: cn("text-xl sm:text-2xl font-semibold tracking-tight wrap-break-word inline-flex items-baseline gap-1", accentColors[color], isCompact && "text-lg sm:text-xl"), children: shouldAnimate ? (_jsxs(_Fragment, { children: [prefix && _jsx("span", { className: "text-base sm:text-lg font-medium", children: prefix }), _jsx(SlidingNumber, { number: value, inView: true, inViewOnce: false, transition: {
|
|
128
|
+
stiffness: 200,
|
|
129
|
+
damping: 20,
|
|
130
|
+
mass: 0.4,
|
|
131
|
+
} }), suffix && _jsx("span", { className: "text-base sm:text-lg font-medium", children: suffix })] })) : (displayValue) }, typeof value === "number" ? value : displayValue), (delta !== undefined || statCardData.trend.delta > 0) && (_jsxs(Badge, { variant: statCardData.trend.variant, className: cn("text-xs font-semibold inline-flex items-center gap-1 w-fit shrink-0", "h-fit py-0.5 px-2"), children: [getTrendIcon(), statCardData.trend.percentage] }))] }), subtitle && !isCompact && (_jsx("p", { className: cn("text-muted-foreground leading-relaxed wrap-break-word", isDetailed ? "text-sm sm:text-base pt-1" : "text-xs sm:text-sm pt-1"), children: subtitle })), statCardData.formattedLastMonth && !isCompact && (_jsx("div", { className: cn("text-xs text-muted-foreground border-t border-border", isDetailed ? "mt-3 pt-3" : "mt-2 pt-2 sm:pt-2.5"), children: _jsxs("span", { className: "wrap-break-word", children: ["Vs \u00FAltimo m\u00EAs:", " ", _jsx("span", { className: "font-medium text-foreground", children: statCardData.formattedLastMonth })] }) })), children && !isCompact && (_jsx("div", { className: cn("border-t border-border", isDetailed ? "mt-4 pt-4" : "mt-3 pt-3"), children: children }))] })] }));
|
|
132
|
+
});
|
|
133
|
+
StatCard.displayName = "StatCard";
|
|
134
|
+
export { StatCard };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/suggestion/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Suggestion, Suggestions } from "./suggestion";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Suggestion Component - Flowtomic UI
|
|
3
|
+
*
|
|
4
|
+
* Componente de suggestions list com scroll
|
|
5
|
+
*/
|
|
6
|
+
import type { ComponentProps } from "react";
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { Button, ScrollArea } from "../../../atoms";
|
|
9
|
+
export type SuggestionsProps = ComponentProps<typeof ScrollArea>;
|
|
10
|
+
export declare const Suggestions: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-scroll-area").ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export type SuggestionProps = Omit<ComponentProps<typeof Button>, "onClick"> & {
|
|
12
|
+
suggestion: string;
|
|
13
|
+
onClick?: (suggestion: string) => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const Suggestion: React.ForwardRefExoticComponent<Omit<SuggestionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
//# sourceMappingURL=suggestion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestion.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/suggestion/suggestion.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAa,MAAM,gBAAgB,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAEjE,eAAO,MAAM,WAAW,oOAOvB,CAAC;AAGF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,SAAS,CAAC,GAAG;IAC7E,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,UAAU,wGAuBtB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "@/lib/utils";
|
|
4
|
+
import { Button, ScrollArea, ScrollBar } from "../../../atoms";
|
|
5
|
+
export const Suggestions = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(ScrollArea, { ref: ref, className: "w-full overflow-x-auto whitespace-nowrap", ...props, children: [_jsx("div", { className: cn("flex w-max flex-nowrap items-center gap-2", className), children: children }), _jsx(ScrollBar, { className: "hidden", orientation: "horizontal" })] })));
|
|
6
|
+
Suggestions.displayName = "Suggestions";
|
|
7
|
+
export const Suggestion = React.forwardRef(({ suggestion, onClick, className, variant = "outline", size = "sm", children, ...props }, ref) => {
|
|
8
|
+
const handleClick = () => {
|
|
9
|
+
onClick?.(suggestion);
|
|
10
|
+
};
|
|
11
|
+
return (_jsx(Button, { ref: ref, className: cn("cursor-pointer rounded-full px-4", className), onClick: handleClick, size: size, type: "button", variant: variant, ...props, children: children || suggestion }));
|
|
12
|
+
});
|
|
13
|
+
Suggestion.displayName = "Suggestion";
|