@flowtomic/ui 0.1.0 → 0.1.2
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/developer-panel/page.d.ts +86 -0
- package/dist/blocks/developer-panel/page.d.ts.map +1 -0
- package/dist/blocks/developer-panel/page.js +35 -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 +50 -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 +83 -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 +96 -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 +97 -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 +124 -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 +85 -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 +26 -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 +11 -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 +36 -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 +28 -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 +29 -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 +43 -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 +73 -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 +52 -0
- package/dist/components/organisms/index.d.ts.map +1 -0
- package/dist/components/organisms/index.js +28 -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/script-editor/index.d.ts +3 -0
- package/dist/components/organisms/script-editor/index.d.ts.map +1 -0
- package/dist/components/organisms/script-editor/index.js +1 -0
- package/dist/components/organisms/script-editor/script-editor.d.ts +52 -0
- package/dist/components/organisms/script-editor/script-editor.d.ts.map +1 -0
- package/dist/components/organisms/script-editor/script-editor.js +86 -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 +409 -392
- 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,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;AAajE,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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/task/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger } from "./task";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task Component - Flowtomic UI
|
|
3
|
+
*
|
|
4
|
+
* Componente de task item com collapsible
|
|
5
|
+
*/
|
|
6
|
+
import type { ComponentProps } from "react";
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "../../../atoms";
|
|
9
|
+
export type TaskItemFileProps = ComponentProps<"div">;
|
|
10
|
+
export declare const TaskItemFile: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export type TaskItemProps = ComponentProps<"div">;
|
|
12
|
+
export declare const TaskItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export type TaskProps = ComponentProps<typeof Collapsible>;
|
|
14
|
+
export declare const Task: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-collapsible").CollapsibleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export type TaskTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
16
|
+
title: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const TaskTrigger: React.ForwardRefExoticComponent<Omit<TaskTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
export type TaskContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
20
|
+
export declare const TaskContent: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-collapsible").CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
//# sourceMappingURL=task.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/task/task.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,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAErF,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,mKAaxB,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ,mKAMpB,CAAC;AAGF,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAE3D,eAAO,MAAM,IAAI,kLAIhB,CAAC;AAGF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,GAAG;IACzE,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,WAAW,yGAYvB,CAAC;AAGF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEzE,eAAO,MAAM,WAAW,4OAavB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Task Component - Flowtomic UI
|
|
4
|
+
*
|
|
5
|
+
* Componente de task item com collapsible
|
|
6
|
+
*/
|
|
7
|
+
import { ChevronDownIcon, SearchIcon } 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 TaskItemFile = React.forwardRef(({ children, className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn("inline-flex items-center gap-1 rounded-md border bg-secondary px-1.5 py-0.5 text-foreground text-xs", className), ...props, children: children })));
|
|
12
|
+
TaskItemFile.displayName = "TaskItemFile";
|
|
13
|
+
export const TaskItem = React.forwardRef(({ children, className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn("text-muted-foreground text-sm", className), ...props, children: children })));
|
|
14
|
+
TaskItem.displayName = "TaskItem";
|
|
15
|
+
export const Task = React.forwardRef(({ defaultOpen = true, className, ...props }, ref) => (_jsx(Collapsible, { ref: ref, className: cn(className), defaultOpen: defaultOpen, ...props })));
|
|
16
|
+
Task.displayName = "Task";
|
|
17
|
+
export const TaskTrigger = React.forwardRef(({ children, className, title, ...props }, ref) => (_jsx(CollapsibleTrigger, { ref: ref, asChild: true, className: cn("group", className), ...props, children: children ?? (_jsxs("div", { className: "flex w-full cursor-pointer items-center gap-2 text-muted-foreground text-sm transition-colors hover:text-foreground", children: [_jsx(SearchIcon, { className: "size-4" }), _jsx("p", { className: "text-sm", children: title }), _jsx(ChevronDownIcon, { className: "size-4 transition-transform group-data-[state=open]:rotate-180" })] })) })));
|
|
18
|
+
TaskTrigger.displayName = "TaskTrigger";
|
|
19
|
+
export const TaskContent = React.forwardRef(({ children, className, ...props }, ref) => (_jsx(CollapsibleContent, { ref: ref, className: cn("data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 text-popover-foreground outline-none data-[state=closed]:animate-out data-[state=open]:animate-in", className), ...props, children: _jsx("div", { className: "mt-4 space-y-2 border-muted border-l-2 pl-4", children: children }) })));
|
|
20
|
+
TaskContent.displayName = "TaskContent";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/team-member-list/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TeamMemberList } from "./team-member-list";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TeamMemberList - Componente Visual
|
|
3
|
+
*
|
|
4
|
+
* Lista de membros da equipe com avatares, nomes, tarefas e status
|
|
5
|
+
*/
|
|
6
|
+
export type TeamMemberStatus = "completed" | "in-progress" | "pending";
|
|
7
|
+
export interface TeamMember {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
avatar?: string;
|
|
11
|
+
task: string;
|
|
12
|
+
status: TeamMemberStatus;
|
|
13
|
+
}
|
|
14
|
+
export interface TeamMemberListProps {
|
|
15
|
+
/**
|
|
16
|
+
* Lista de membros da equipe
|
|
17
|
+
*/
|
|
18
|
+
members: TeamMember[];
|
|
19
|
+
/**
|
|
20
|
+
* Título do card
|
|
21
|
+
*/
|
|
22
|
+
title?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Callback quando um membro é clicado
|
|
25
|
+
*/
|
|
26
|
+
onMemberClick?: (member: TeamMember) => void;
|
|
27
|
+
/**
|
|
28
|
+
* Callback quando o botão "Add Member" é clicado
|
|
29
|
+
*/
|
|
30
|
+
onAddMember?: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* Texto do botão de adicionar
|
|
33
|
+
* @default "+ Add Member"
|
|
34
|
+
*/
|
|
35
|
+
addButtonText?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Classe CSS adicional
|
|
38
|
+
*/
|
|
39
|
+
className?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Componente de lista de membros da equipe
|
|
43
|
+
*/
|
|
44
|
+
export declare function TeamMemberList({ members, title, onMemberClick, onAddMember, addButtonText, className, }: TeamMemberListProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
//# sourceMappingURL=team-member-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-member-list.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/team-member-list/team-member-list.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAgBH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC;AAEvE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,UAAU,EAAE,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAE7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IAEzB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA8CD;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,KAA4B,EAC5B,aAAa,EACb,WAAW,EACX,aAA8B,EAC9B,SAAS,GACV,EAAE,mBAAmB,2CA2ErB"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* TeamMemberList - Componente Visual
|
|
4
|
+
*
|
|
5
|
+
* Lista de membros da equipe com avatares, nomes, tarefas e status
|
|
6
|
+
*/
|
|
7
|
+
import { Plus, User } from "lucide-react";
|
|
8
|
+
import { cn } from "@/lib/utils";
|
|
9
|
+
import { Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardContent, CardHeader, CardTitle, } from "../../../atoms";
|
|
10
|
+
/**
|
|
11
|
+
* Obtém cor do status
|
|
12
|
+
*/
|
|
13
|
+
function getStatusColor(status) {
|
|
14
|
+
switch (status) {
|
|
15
|
+
case "completed":
|
|
16
|
+
return "text-green-600";
|
|
17
|
+
case "in-progress":
|
|
18
|
+
return "text-orange-600";
|
|
19
|
+
case "pending":
|
|
20
|
+
return "text-red-600";
|
|
21
|
+
default:
|
|
22
|
+
return "text-muted-foreground";
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Obtém texto do status
|
|
27
|
+
*/
|
|
28
|
+
function getStatusText(status) {
|
|
29
|
+
switch (status) {
|
|
30
|
+
case "completed":
|
|
31
|
+
return "Completed";
|
|
32
|
+
case "in-progress":
|
|
33
|
+
return "In Progress";
|
|
34
|
+
case "pending":
|
|
35
|
+
return "Pending";
|
|
36
|
+
default:
|
|
37
|
+
return status;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Obtém iniciais do nome
|
|
42
|
+
*/
|
|
43
|
+
function getInitials(name) {
|
|
44
|
+
return name
|
|
45
|
+
.split(" ")
|
|
46
|
+
.map((n) => n[0])
|
|
47
|
+
.join("")
|
|
48
|
+
.toUpperCase()
|
|
49
|
+
.slice(0, 2);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Componente de lista de membros da equipe
|
|
53
|
+
*/
|
|
54
|
+
export function TeamMemberList({ members, title = "Team Collaboration", onMemberClick, onAddMember, addButtonText = "+ Add Member", className, }) {
|
|
55
|
+
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 }), onAddMember && (_jsxs(Button, { variant: "ghost", size: "sm", onClick: onAddMember, children: [_jsx(Plus, { className: "h-4 w-4 mr-1" }), addButtonText] }))] }), _jsx(CardContent, { children: _jsx("div", { className: "space-y-4", children: members.length === 0 ? (_jsx("div", { className: "text-center text-muted-foreground py-8", children: "No team members" })) : (members.map((member) => (_jsxs("div", { ...(onMemberClick
|
|
56
|
+
? {
|
|
57
|
+
role: "button",
|
|
58
|
+
tabIndex: 0,
|
|
59
|
+
onClick: () => onMemberClick(member),
|
|
60
|
+
onKeyDown: (e) => {
|
|
61
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
62
|
+
e.preventDefault();
|
|
63
|
+
onMemberClick(member);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
: {}), className: cn("flex items-start gap-3 p-3 rounded-lg border transition-colors", onMemberClick &&
|
|
68
|
+
"cursor-pointer hover:bg-accent focus:outline-none focus:ring-2 focus:ring-ring"), children: [_jsxs(Avatar, { className: "h-10 w-10", children: [_jsx(AvatarImage, { src: member.avatar, alt: member.name }), _jsx(AvatarFallback, { children: member.avatar ? _jsx(User, { className: "h-5 w-5" }) : getInitials(member.name) })] }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("div", { className: "font-medium text-sm", children: member.name }), _jsxs("div", { className: "text-xs text-muted-foreground mt-1", children: ["Working on ", member.task] }), _jsxs("div", { className: cn("text-xs font-medium mt-1", getStatusColor(member.status)), children: ["Status: ", getStatusText(member.status)] })] }), _jsx(Badge, { variant: member.status === "completed"
|
|
69
|
+
? "default"
|
|
70
|
+
: member.status === "in-progress"
|
|
71
|
+
? "secondary"
|
|
72
|
+
: "destructive", children: getStatusText(member.status) })] }, member.id)))) }) })] }));
|
|
73
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/time-tracker/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TimeTracker } from "./time-tracker";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TimeTracker - Componente Visual
|
|
3
|
+
*
|
|
4
|
+
* Timer com controles usando o hook headless useTimeTracker
|
|
5
|
+
*/
|
|
6
|
+
export interface TimeTrackerProps {
|
|
7
|
+
/**
|
|
8
|
+
* Tempo inicial em segundos
|
|
9
|
+
* @default 0
|
|
10
|
+
*/
|
|
11
|
+
initialTime?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Título do card
|
|
14
|
+
*/
|
|
15
|
+
title?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Formato de tempo
|
|
18
|
+
* @default "HH:mm:ss"
|
|
19
|
+
*/
|
|
20
|
+
format?: "HH:mm:ss" | "mm:ss" | "ss";
|
|
21
|
+
/**
|
|
22
|
+
* Callback quando o timer é pausado
|
|
23
|
+
*/
|
|
24
|
+
onPause?: (time: number) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Callback quando o timer é parado
|
|
27
|
+
*/
|
|
28
|
+
onStop?: (time: number) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Callback quando o timer é iniciado
|
|
31
|
+
*/
|
|
32
|
+
onStart?: (time: number) => void;
|
|
33
|
+
/**
|
|
34
|
+
* Callback quando o timer é retomado
|
|
35
|
+
*/
|
|
36
|
+
onResume?: (time: number) => void;
|
|
37
|
+
/**
|
|
38
|
+
* Classe CSS adicional
|
|
39
|
+
*/
|
|
40
|
+
className?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Cor de fundo do card
|
|
43
|
+
*/
|
|
44
|
+
backgroundColor?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Componente de timer com controles
|
|
48
|
+
*/
|
|
49
|
+
export declare function TimeTracker({ initialTime, title, format, onPause, onStop, onStart, onResume, className, backgroundColor, }: TimeTrackerProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
//# sourceMappingURL=time-tracker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-tracker.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/time-tracker/time-tracker.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,IAAI,CAAC;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEjC;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEhC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEjC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,WAAe,EACf,KAAsB,EACtB,MAAmB,EACnB,OAAO,EACP,MAAM,EACN,OAAO,EACP,QAAQ,EACR,SAAS,EACT,eAAe,GAChB,EAAE,gBAAgB,2CA4DlB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* TimeTracker - Componente Visual
|
|
4
|
+
*
|
|
5
|
+
* Timer com controles usando o hook headless useTimeTracker
|
|
6
|
+
*/
|
|
7
|
+
import { useTimeTracker } from "@flowtomic/logic";
|
|
8
|
+
import { Pause, Play, Square } from "lucide-react";
|
|
9
|
+
import { cn } from "@/lib/utils";
|
|
10
|
+
import { Button, Card, CardContent, CardHeader, CardTitle } from "../../../atoms";
|
|
11
|
+
/**
|
|
12
|
+
* Componente de timer com controles
|
|
13
|
+
*/
|
|
14
|
+
export function TimeTracker({ initialTime = 0, title = "Time Tracker", format = "HH:mm:ss", onPause, onStop, onStart, onResume, className, backgroundColor, }) {
|
|
15
|
+
const { formattedTime, isRunning, isPaused, isStopped, start, pause, stop, resume } = useTimeTracker({
|
|
16
|
+
initialTime,
|
|
17
|
+
format,
|
|
18
|
+
onPause,
|
|
19
|
+
onStop,
|
|
20
|
+
onStart,
|
|
21
|
+
onResume,
|
|
22
|
+
});
|
|
23
|
+
return (_jsxs(Card, { className: cn(className), style: backgroundColor ? { backgroundColor } : undefined, children: [_jsx(CardHeader, { children: _jsx(CardTitle, { children: title }) }), _jsx(CardContent, { children: _jsxs("div", { className: "flex flex-col items-center justify-center gap-4", children: [_jsx("div", { className: "text-4xl font-mono font-bold text-foreground", children: formattedTime }), _jsxs("div", { className: "flex gap-2", children: [isStopped && (_jsxs(Button, { onClick: start, size: "sm", variant: "default", children: [_jsx(Play, { className: "h-4 w-4 mr-2" }), "Start"] })), isRunning && (_jsxs(_Fragment, { children: [_jsxs(Button, { onClick: pause, size: "sm", variant: "outline", children: [_jsx(Pause, { className: "h-4 w-4 mr-2" }), "Pause"] }), _jsxs(Button, { onClick: stop, size: "sm", variant: "destructive", children: [_jsx(Square, { className: "h-4 w-4 mr-2" }), "Stop"] })] })), isPaused && (_jsxs(_Fragment, { children: [_jsxs(Button, { onClick: resume, size: "sm", variant: "default", children: [_jsx(Play, { className: "h-4 w-4 mr-2" }), "Resume"] }), _jsxs(Button, { onClick: stop, size: "sm", variant: "destructive", children: [_jsx(Square, { className: "h-4 w-4 mr-2" }), "Stop"] })] }))] })] }) })] }));
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/tool/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,eAAe,EACf,SAAS,GACV,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tool, ToolContent, ToolHeader, ToolInput, ToolOutput } from "./tool";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool Component - Flowtomic UI
|
|
3
|
+
*
|
|
4
|
+
* Componente de tool display com collapsible
|
|
5
|
+
*/
|
|
6
|
+
import type { ToolUIPart } from "ai";
|
|
7
|
+
import type { ComponentProps } from "react";
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
import { Collapsible, CollapsibleContent } from "../../../atoms";
|
|
10
|
+
export type ToolProps = ComponentProps<typeof Collapsible>;
|
|
11
|
+
export declare const Tool: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-collapsible").CollapsibleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export type ToolHeaderProps = {
|
|
13
|
+
title?: string;
|
|
14
|
+
type: ToolUIPart["type"];
|
|
15
|
+
state: ToolUIPart["state"];
|
|
16
|
+
className?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const ToolHeader: React.ForwardRefExoticComponent<ToolHeaderProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
export type ToolContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
20
|
+
export declare const ToolContent: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-collapsible").CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export type ToolInputProps = ComponentProps<"div"> & {
|
|
22
|
+
input: ToolUIPart["input"];
|
|
23
|
+
};
|
|
24
|
+
export declare const ToolInput: React.ForwardRefExoticComponent<Omit<ToolInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export type ToolOutputProps = ComponentProps<"div"> & {
|
|
26
|
+
output: ToolUIPart["output"];
|
|
27
|
+
errorText: ToolUIPart["errorText"];
|
|
28
|
+
};
|
|
29
|
+
export declare const ToolOutput: React.ForwardRefExoticComponent<Omit<ToolOutputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
//# sourceMappingURL=tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/data-display/tool/tool.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AASrC,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAGL,WAAW,EACX,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAE3D,eAAO,MAAM,IAAI,kLAQhB,CAAC;AAGF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAoCF,eAAO,MAAM,UAAU,2FAetB,CAAC;AAGF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEzE,eAAO,MAAM,WAAW,4OAWvB,CAAC;AAGF,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,SAAS,oGAWrB,CAAC;AAGF,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACpD,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;IAC7B,SAAS,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,UAAU,qGA+BtB,CAAC"}
|