@automa8e/ui 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +2 -0
- package/dist/_virtual/index.js +6 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/automa8e-ui.css +226 -0
- package/dist/components/automation/metric-card.d.ts +19 -0
- package/dist/components/automation/metric-card.d.ts.map +1 -0
- package/dist/components/automation/metric-card.js +59 -0
- package/dist/components/automation/metric-card.js.map +1 -0
- package/dist/components/automation/status-badge.d.ts +27 -0
- package/dist/components/automation/status-badge.d.ts.map +1 -0
- package/dist/components/automation/status-badge.js +112 -0
- package/dist/components/automation/status-badge.js.map +1 -0
- package/dist/components/automation/task-card.d.ts +14 -0
- package/dist/components/automation/task-card.d.ts.map +1 -0
- package/dist/components/automation/task-card.js +114 -0
- package/dist/components/automation/task-card.js.map +1 -0
- package/dist/components/automation/workflow-node.d.ts +20 -0
- package/dist/components/automation/workflow-node.d.ts.map +1 -0
- package/dist/components/automation/workflow-node.js +132 -0
- package/dist/components/automation/workflow-node.js.map +1 -0
- package/dist/components/layout/app-shell.d.ts +21 -0
- package/dist/components/layout/app-shell.d.ts.map +1 -0
- package/dist/components/layout/app-shell.js +35 -0
- package/dist/components/layout/app-shell.js.map +1 -0
- package/dist/components/layout/header.d.ts +16 -0
- package/dist/components/layout/header.d.ts.map +1 -0
- package/dist/components/layout/header.js +30 -0
- package/dist/components/layout/header.js.map +1 -0
- package/dist/components/layout/page-header.d.ts +16 -0
- package/dist/components/layout/page-header.d.ts.map +1 -0
- package/dist/components/layout/page-header.js +29 -0
- package/dist/components/layout/page-header.js.map +1 -0
- package/dist/components/layout/sidebar.d.ts +35 -0
- package/dist/components/layout/sidebar.d.ts.map +1 -0
- package/dist/components/layout/sidebar.js +103 -0
- package/dist/components/layout/sidebar.js.map +1 -0
- package/dist/components/ui/accordion.d.ts +8 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +51 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert.d.ts +18 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +89 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +20 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +72 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +13 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +54 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/button.d.ts +15 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +96 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/card.d.ts +16 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +96 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +9 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +29 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +28 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +105 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +29 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +160 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/input.d.ts +14 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +60 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.d.ts +13 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +26 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +29 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.d.ts +17 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +80 -0
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +39 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.d.ts +16 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +131 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +9 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +50 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +10 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +30 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/spinner.d.ts +14 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +44 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +43 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.d.ts +11 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +95 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +20 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +92 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +12 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +41 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/toast.d.ts +16 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toast.js +113 -0
- package/dist/components/ui/toast.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +28 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/hooks/use-debounce.d.ts +15 -0
- package/dist/hooks/use-debounce.d.ts.map +1 -0
- package/dist/hooks/use-debounce.js +15 -0
- package/dist/hooks/use-debounce.js.map +1 -0
- package/dist/hooks/use-local-storage.d.ts +9 -0
- package/dist/hooks/use-local-storage.d.ts.map +1 -0
- package/dist/hooks/use-local-storage.js +49 -0
- package/dist/hooks/use-local-storage.js.map +1 -0
- package/dist/hooks/use-media-query.d.ts +9 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-media-query.js +20 -0
- package/dist/hooks/use-media-query.js.map +1 -0
- package/dist/index.d.ts +66 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +153 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/colors.d.ts +73 -0
- package/dist/lib/colors.d.ts.map +1 -0
- package/dist/lib/colors.js +64 -0
- package/dist/lib/colors.js.map +1 -0
- package/dist/lib/utils.d.ts +7 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +729 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +630 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +325 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +177 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +152 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js +7 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +319 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +124 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.js +66 -0
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +280 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +152 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +71 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js +90 -0
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +82 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +342 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js +90 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +217 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +299 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +30 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +209 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +27 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +881 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +90 -0
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +314 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +90 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +294 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +19 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +44 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js +90 -0
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +97 -0
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context/dist/index.js +66 -0
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +228 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +728 -0
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +1200 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js +90 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +31 -0
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +107 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +156 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +195 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-toast/dist/index.js +645 -0
- package/dist/node_modules/@radix-ui/react-toast/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +501 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +72 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +18 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +37 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +123 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/class-variance-authority/dist/index.js +46 -0
- package/dist/node_modules/class-variance-authority/dist/index.js.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +10 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +43 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +25 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +21 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ban.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ban.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +16 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-minus.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-minus.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +16 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/clock.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/clock.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/flag.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/flag.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-branch.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/git-branch.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +16 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/minus.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/minus.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/pause.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/pause.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/play.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/play.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/send.js +21 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/send.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +21 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/tag.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/timer.js +16 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/timer.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-down.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-down.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-up.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-up.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +22 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +12 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +181 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +20 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +103 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +48 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +11 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +38 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +14 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +17 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +49 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2467 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +40 -0
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +12 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +36 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +30 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +22 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +89 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +78 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +63 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +18 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/types/automation.d.ts +59 -0
- package/dist/types/automation.d.ts.map +1 -0
- package/dist/types/common.d.ts +38 -0
- package/dist/types/common.d.ts.map +1 -0
- package/package.json +119 -0
- package/registry/registry.json +218 -0
- package/src/components/automation/metric-card.tsx +113 -0
- package/src/components/automation/status-badge.tsx +136 -0
- package/src/components/automation/task-card.tsx +164 -0
- package/src/components/automation/workflow-node.tsx +186 -0
- package/src/components/layout/app-shell.tsx +58 -0
- package/src/components/layout/header.tsx +39 -0
- package/src/components/layout/page-header.tsx +42 -0
- package/src/components/layout/sidebar.tsx +190 -0
- package/src/components/ui/accordion.tsx +57 -0
- package/src/components/ui/alert.tsx +93 -0
- package/src/components/ui/avatar.tsx +94 -0
- package/src/components/ui/badge.tsx +69 -0
- package/src/components/ui/button.tsx +106 -0
- package/src/components/ui/card.tsx +96 -0
- package/src/components/ui/checkbox.tsx +40 -0
- package/src/components/ui/dialog.tsx +129 -0
- package/src/components/ui/dropdown-menu.tsx +194 -0
- package/src/components/ui/input.tsx +80 -0
- package/src/components/ui/label.tsx +37 -0
- package/src/components/ui/popover.tsx +29 -0
- package/src/components/ui/progress.tsx +92 -0
- package/src/components/ui/scroll-area.tsx +43 -0
- package/src/components/ui/select.tsx +157 -0
- package/src/components/ui/separator.tsx +56 -0
- package/src/components/ui/skeleton.tsx +41 -0
- package/src/components/ui/spinner.tsx +50 -0
- package/src/components/ui/switch.tsx +46 -0
- package/src/components/ui/table.tsx +117 -0
- package/src/components/ui/tabs.tsx +107 -0
- package/src/components/ui/textarea.tsx +50 -0
- package/src/components/ui/toast.tsx +139 -0
- package/src/components/ui/tooltip.tsx +28 -0
- package/src/hooks/use-debounce.ts +28 -0
- package/src/hooks/use-local-storage.ts +63 -0
- package/src/hooks/use-media-query.ts +29 -0
- package/src/index.ts +197 -0
- package/src/lib/colors.ts +102 -0
- package/src/lib/utils.ts +10 -0
- package/src/styles/globals.css +230 -0
- package/src/types/automation.ts +74 -0
- package/src/types/common.ts +48 -0
- package/tailwind/preset.cjs +98 -0
- package/tailwind/preset.css +5 -0
- package/tailwind/preset.ts +159 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.js","sources":["../../../src/components/ui/toast.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as ToastPrimitive from '@radix-ui/react-toast'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { X } from 'lucide-react'\nimport { cn } from '@/lib/utils'\n\nconst ToastProvider = ToastPrimitive.Provider\n\nconst ToastViewport = React.forwardRef<\n React.ElementRef<typeof ToastPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitive.Viewport>\n>(({ className, ...props }, ref) => (\n <ToastPrimitive.Viewport\n ref={ref}\n className={cn(\n 'fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4',\n 'sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]',\n className\n )}\n {...props}\n />\n))\nToastViewport.displayName = ToastPrimitive.Viewport.displayName\n\nconst toastVariants = cva(\n [\n 'group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg',\n 'transition-all duration-200',\n 'data-[swipe=cancel]:translate-x-0',\n 'data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)]',\n 'data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]',\n 'data-[swipe=move]:transition-none',\n 'data-[state=open]:animate-slide-in-right',\n 'data-[state=closed]:opacity-0',\n ],\n {\n variants: {\n variant: {\n default: 'border-border bg-background text-foreground',\n success: 'border-success/30 bg-success/10 text-foreground',\n destructive: 'border-destructive/30 bg-destructive/10 text-foreground',\n warning: 'border-warning/30 bg-warning/10 text-foreground',\n info: 'border-info/30 bg-info/10 text-foreground',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n)\n\nconst Toast = React.forwardRef<\n React.ElementRef<typeof ToastPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitive.Root> &\n VariantProps<typeof toastVariants>\n>(({ className, variant, ...props }, ref) => (\n <ToastPrimitive.Root\n ref={ref}\n className={cn(toastVariants({ variant }), className)}\n {...props}\n />\n))\nToast.displayName = ToastPrimitive.Root.displayName\n\nconst ToastAction = React.forwardRef<\n React.ElementRef<typeof ToastPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <ToastPrimitive.Action\n ref={ref}\n className={cn(\n 'inline-flex h-8 shrink-0 items-center justify-center rounded-md border border-border bg-transparent px-3 text-sm font-medium',\n 'transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring',\n 'disabled:pointer-events-none disabled:opacity-50',\n className\n )}\n {...props}\n />\n))\nToastAction.displayName = ToastPrimitive.Action.displayName\n\nconst ToastClose = React.forwardRef<\n React.ElementRef<typeof ToastPrimitive.Close>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitive.Close>\n>(({ className, ...props }, ref) => (\n <ToastPrimitive.Close\n ref={ref}\n className={cn(\n 'absolute right-1 top-1 rounded-md p-1 text-muted-foreground opacity-0 transition-opacity',\n 'hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 focus:ring-ring',\n 'group-hover:opacity-100',\n className\n )}\n toast-close=\"\"\n {...props}\n >\n <X className=\"h-4 w-4\" />\n </ToastPrimitive.Close>\n))\nToastClose.displayName = ToastPrimitive.Close.displayName\n\nconst ToastTitle = React.forwardRef<\n React.ElementRef<typeof ToastPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <ToastPrimitive.Title\n ref={ref}\n className={cn('text-sm font-semibold [&+div]:text-xs', className)}\n {...props}\n />\n))\nToastTitle.displayName = ToastPrimitive.Title.displayName\n\nconst ToastDescription = React.forwardRef<\n React.ElementRef<typeof ToastPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <ToastPrimitive.Description\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nToastDescription.displayName = ToastPrimitive.Description.displayName\n\ntype ToastProps = React.ComponentPropsWithoutRef<typeof Toast>\ntype ToastActionElement = React.ReactElement<typeof ToastAction>\n\nexport {\n type ToastProps,\n type ToastActionElement,\n ToastProvider,\n ToastViewport,\n Toast,\n ToastTitle,\n ToastDescription,\n ToastClose,\n ToastAction,\n}\n"],"names":["ToastPrimitive.Provider","ToastPrimitive.Viewport","ToastPrimitive.Root","ToastPrimitive.Action","ToastPrimitive.Close","ToastPrimitive.Title","ToastPrimitive.Description"],"mappings":";;;;;;AAMA,MAAM,gBAAgBA;AAEtB,MAAM,gBAAgB,MAAM,WAG1B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN,CACD;AACD,cAAc,cAAcA,SAAwB;AAEpD,MAAM,gBAAgB;AAAA,EACpB;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SAAS;AAAA,QACT,aAAa;AAAA,QACb,SAAS;AAAA,QACT,MAAM;AAAA,MAAA;AAAA,IACR;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;AAEA,MAAM,QAAQ,MAAM,WAIlB,CAAC,EAAE,WAAW,SAAS,GAAG,SAAS,QACnC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,cAAc,EAAE,QAAA,CAAS,GAAG,SAAS;AAAA,IAClD,GAAG;AAAA,EAAA;AACN,CACD;AACD,MAAM,cAAcA,MAAoB;AAExC,MAAM,cAAc,MAAM,WAGxB,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN,CACD;AACD,YAAY,cAAcA,OAAsB;AAEhD,MAAM,aAAa,MAAM,WAGvB,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,IAEF,eAAY;AAAA,IACX,GAAG;AAAA,IAEJ,UAAA,oBAAC,GAAA,EAAE,WAAU,UAAA,CAAU;AAAA,EAAA;AACzB,CACD;AACD,WAAW,cAAcA,MAAqB;AAE9C,MAAM,aAAa,MAAM,WAGvB,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,yCAAyC,SAAS;AAAA,IAC/D,GAAG;AAAA,EAAA;AACN,CACD;AACD,WAAW,cAAcA,MAAqB;AAE9C,MAAM,mBAAmB,MAAM,WAG7B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,IACvD,GAAG;AAAA,EAAA;AACN,CACD;AACD,iBAAiB,cAAcA,YAA2B;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
+
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
8
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAG3D,QAAA,MAAM,eAAe,iDAA4B,CAAA;AACjD,QAAA,MAAM,OAAO,yCAAwB,CAAA;AACrC,QAAA,MAAM,cAAc,gHAA2B,CAAA;AAE/C,QAAA,MAAM,cAAc,gKAgBlB,CAAA;AAGF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Root as Root3, Provider, Trigger, Portal, Content as Content2 } from "../../node_modules/@radix-ui/react-tooltip/dist/index.js";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
|
+
const TooltipProvider = Provider;
|
|
6
|
+
const Tooltip = Root3;
|
|
7
|
+
const TooltipTrigger = Trigger;
|
|
8
|
+
const TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(
|
|
9
|
+
Content2,
|
|
10
|
+
{
|
|
11
|
+
ref,
|
|
12
|
+
sideOffset,
|
|
13
|
+
className: cn(
|
|
14
|
+
"z-50 overflow-hidden rounded-md border border-border bg-popover px-3 py-1.5 text-xs text-popover-foreground shadow-md",
|
|
15
|
+
"animate-fade-in",
|
|
16
|
+
className
|
|
17
|
+
),
|
|
18
|
+
...props
|
|
19
|
+
}
|
|
20
|
+
) }));
|
|
21
|
+
TooltipContent.displayName = Content2.displayName;
|
|
22
|
+
export {
|
|
23
|
+
Tooltip,
|
|
24
|
+
TooltipContent,
|
|
25
|
+
TooltipProvider,
|
|
26
|
+
TooltipTrigger
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.js","sources":["../../../src/components/ui/tooltip.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport { cn } from '@/lib/utils'\n\nconst TooltipProvider = TooltipPrimitive.Provider\nconst Tooltip = TooltipPrimitive.Root\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 overflow-hidden rounded-md border border-border bg-popover px-3 py-1.5 text-xs text-popover-foreground shadow-md',\n 'animate-fade-in',\n className\n )}\n {...props}\n />\n </TooltipPrimitive.Portal>\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n"],"names":["TooltipPrimitive.Provider","TooltipPrimitive.Root","TooltipPrimitive.Trigger","TooltipPrimitive.Portal","TooltipPrimitive.Content"],"mappings":";;;;AAIA,MAAM,kBAAkBA;AACxB,MAAM,UAAUC;AAChB,MAAM,iBAAiBC;AAEvB,MAAM,iBAAiB,MAAM,WAG3B,CAAC,EAAE,WAAW,aAAa,GAAG,GAAG,SAAS,QAC1C,oBAACC,QAAA,EACC,UAAA;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN,GACF,CACD;AACD,eAAe,cAAcA,SAAyB;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a debounced version of the given value.
|
|
3
|
+
* Useful for search inputs and API calls.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* const [search, setSearch] = useState('')
|
|
7
|
+
* const debouncedSearch = useDebounce(search, 300)
|
|
8
|
+
*
|
|
9
|
+
* useEffect(() => {
|
|
10
|
+
* // Only fires 300ms after the user stops typing
|
|
11
|
+
* fetchResults(debouncedSearch)
|
|
12
|
+
* }, [debouncedSearch])
|
|
13
|
+
*/
|
|
14
|
+
export declare function useDebounce<T>(value: T, delay?: number): T;
|
|
15
|
+
//# sourceMappingURL=use-debounce.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-debounce.d.ts","sourceRoot":"","sources":["../../src/hooks/use-debounce.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,SAAM,GAAG,CAAC,CAYvD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useState, useEffect } from "react";
|
|
2
|
+
function useDebounce(value, delay = 300) {
|
|
3
|
+
const [debouncedValue, setDebouncedValue] = useState(value);
|
|
4
|
+
useEffect(() => {
|
|
5
|
+
const timer = setTimeout(() => {
|
|
6
|
+
setDebouncedValue(value);
|
|
7
|
+
}, delay);
|
|
8
|
+
return () => clearTimeout(timer);
|
|
9
|
+
}, [value, delay]);
|
|
10
|
+
return debouncedValue;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
useDebounce
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=use-debounce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-debounce.js","sources":["../../src/hooks/use-debounce.ts"],"sourcesContent":["import { useState, useEffect } from 'react'\n\n/**\n * Returns a debounced version of the given value.\n * Useful for search inputs and API calls.\n *\n * @example\n * const [search, setSearch] = useState('')\n * const debouncedSearch = useDebounce(search, 300)\n *\n * useEffect(() => {\n * // Only fires 300ms after the user stops typing\n * fetchResults(debouncedSearch)\n * }, [debouncedSearch])\n */\nexport function useDebounce<T>(value: T, delay = 300): T {\n const [debouncedValue, setDebouncedValue] = useState<T>(value)\n\n useEffect(() => {\n const timer = setTimeout(() => {\n setDebouncedValue(value)\n }, delay)\n\n return () => clearTimeout(timer)\n }, [value, delay])\n\n return debouncedValue\n}\n"],"names":[],"mappings":";AAeO,SAAS,YAAe,OAAU,QAAQ,KAAQ;AACvD,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAY,KAAK;AAE7D,YAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM;AAC7B,wBAAkB,KAAK;AAAA,IACzB,GAAG,KAAK;AAER,WAAO,MAAM,aAAa,KAAK;AAAA,EACjC,GAAG,CAAC,OAAO,KAAK,CAAC;AAEjB,SAAO;AACT;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Persists state in localStorage with JSON serialization.
|
|
3
|
+
* SSR-safe — reads from storage only on the client.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* const [theme, setTheme] = useLocalStorage('theme', 'dark')
|
|
7
|
+
*/
|
|
8
|
+
export declare function useLocalStorage<T>(key: string, initialValue: T): [T, (value: T | ((prev: T) => T)) => void, () => void];
|
|
9
|
+
//# sourceMappingURL=use-local-storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-local-storage.d.ts","sourceRoot":"","sources":["../../src/hooks/use-local-storage.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC/B,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,CAAC,GACd,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,IAAI,EAAE,MAAM,IAAI,CAAC,CAkDxD"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { useState, useEffect, useCallback } from "react";
|
|
2
|
+
function useLocalStorage(key, initialValue) {
|
|
3
|
+
const [storedValue, setStoredValue] = useState(() => {
|
|
4
|
+
if (typeof window === "undefined") return initialValue;
|
|
5
|
+
try {
|
|
6
|
+
const item = window.localStorage.getItem(key);
|
|
7
|
+
return item !== null ? JSON.parse(item) : initialValue;
|
|
8
|
+
} catch {
|
|
9
|
+
return initialValue;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
if (typeof window === "undefined") return;
|
|
14
|
+
try {
|
|
15
|
+
const item = window.localStorage.getItem(key);
|
|
16
|
+
if (item !== null) {
|
|
17
|
+
setStoredValue(JSON.parse(item));
|
|
18
|
+
}
|
|
19
|
+
} catch {
|
|
20
|
+
}
|
|
21
|
+
}, [key]);
|
|
22
|
+
const setValue = useCallback(
|
|
23
|
+
(value) => {
|
|
24
|
+
try {
|
|
25
|
+
const valueToStore = value instanceof Function ? value(storedValue) : value;
|
|
26
|
+
setStoredValue(valueToStore);
|
|
27
|
+
if (typeof window !== "undefined") {
|
|
28
|
+
window.localStorage.setItem(key, JSON.stringify(valueToStore));
|
|
29
|
+
}
|
|
30
|
+
} catch {
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
[key, storedValue]
|
|
34
|
+
);
|
|
35
|
+
const removeValue = useCallback(() => {
|
|
36
|
+
try {
|
|
37
|
+
setStoredValue(initialValue);
|
|
38
|
+
if (typeof window !== "undefined") {
|
|
39
|
+
window.localStorage.removeItem(key);
|
|
40
|
+
}
|
|
41
|
+
} catch {
|
|
42
|
+
}
|
|
43
|
+
}, [key, initialValue]);
|
|
44
|
+
return [storedValue, setValue, removeValue];
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
useLocalStorage
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=use-local-storage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-local-storage.js","sources":["../../src/hooks/use-local-storage.ts"],"sourcesContent":["import { useState, useEffect, useCallback } from 'react'\n\n/**\n * Persists state in localStorage with JSON serialization.\n * SSR-safe — reads from storage only on the client.\n *\n * @example\n * const [theme, setTheme] = useLocalStorage('theme', 'dark')\n */\nexport function useLocalStorage<T>(\n key: string,\n initialValue: T\n): [T, (value: T | ((prev: T) => T)) => void, () => void] {\n const [storedValue, setStoredValue] = useState<T>(() => {\n if (typeof window === 'undefined') return initialValue\n try {\n const item = window.localStorage.getItem(key)\n return item !== null ? (JSON.parse(item) as T) : initialValue\n } catch {\n return initialValue\n }\n })\n\n useEffect(() => {\n if (typeof window === 'undefined') return\n try {\n const item = window.localStorage.getItem(key)\n if (item !== null) {\n setStoredValue(JSON.parse(item) as T)\n }\n } catch {\n // ignore\n }\n }, [key])\n\n const setValue = useCallback(\n (value: T | ((prev: T) => T)) => {\n try {\n const valueToStore = value instanceof Function ? value(storedValue) : value\n setStoredValue(valueToStore)\n if (typeof window !== 'undefined') {\n window.localStorage.setItem(key, JSON.stringify(valueToStore))\n }\n } catch {\n // ignore\n }\n },\n [key, storedValue]\n )\n\n const removeValue = useCallback(() => {\n try {\n setStoredValue(initialValue)\n if (typeof window !== 'undefined') {\n window.localStorage.removeItem(key)\n }\n } catch {\n // ignore\n }\n }, [key, initialValue])\n\n return [storedValue, setValue, removeValue]\n}\n"],"names":[],"mappings":";AASO,SAAS,gBACd,KACA,cACwD;AACxD,QAAM,CAAC,aAAa,cAAc,IAAI,SAAY,MAAM;AACtD,QAAI,OAAO,WAAW,YAAa,QAAO;AAC1C,QAAI;AACF,YAAM,OAAO,OAAO,aAAa,QAAQ,GAAG;AAC5C,aAAO,SAAS,OAAQ,KAAK,MAAM,IAAI,IAAU;AAAA,IACnD,QAAQ;AACN,aAAO;AAAA,IACT;AAAA,EACF,CAAC;AAED,YAAU,MAAM;AACd,QAAI,OAAO,WAAW,YAAa;AACnC,QAAI;AACF,YAAM,OAAO,OAAO,aAAa,QAAQ,GAAG;AAC5C,UAAI,SAAS,MAAM;AACjB,uBAAe,KAAK,MAAM,IAAI,CAAM;AAAA,MACtC;AAAA,IACF,QAAQ;AAAA,IAER;AAAA,EACF,GAAG,CAAC,GAAG,CAAC;AAER,QAAM,WAAW;AAAA,IACf,CAAC,UAAgC;AAC/B,UAAI;AACF,cAAM,eAAe,iBAAiB,WAAW,MAAM,WAAW,IAAI;AACtE,uBAAe,YAAY;AAC3B,YAAI,OAAO,WAAW,aAAa;AACjC,iBAAO,aAAa,QAAQ,KAAK,KAAK,UAAU,YAAY,CAAC;AAAA,QAC/D;AAAA,MACF,QAAQ;AAAA,MAER;AAAA,IACF;AAAA,IACA,CAAC,KAAK,WAAW;AAAA,EAAA;AAGnB,QAAM,cAAc,YAAY,MAAM;AACpC,QAAI;AACF,qBAAe,YAAY;AAC3B,UAAI,OAAO,WAAW,aAAa;AACjC,eAAO,aAAa,WAAW,GAAG;AAAA,MACpC;AAAA,IACF,QAAQ;AAAA,IAER;AAAA,EACF,GAAG,CAAC,KAAK,YAAY,CAAC;AAEtB,SAAO,CAAC,aAAa,UAAU,WAAW;AAC5C;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns whether the given media query currently matches.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* const isMobile = useMediaQuery('(max-width: 768px)')
|
|
6
|
+
* const isDesktop = useMediaQuery('(min-width: 1024px)')
|
|
7
|
+
*/
|
|
8
|
+
export declare function useMediaQuery(query: string): boolean;
|
|
9
|
+
//# sourceMappingURL=use-media-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-media-query.d.ts","sourceRoot":"","sources":["../../src/hooks/use-media-query.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAmBpD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useState, useEffect } from "react";
|
|
2
|
+
function useMediaQuery(query) {
|
|
3
|
+
const [matches, setMatches] = useState(() => {
|
|
4
|
+
if (typeof window === "undefined") return false;
|
|
5
|
+
return window.matchMedia(query).matches;
|
|
6
|
+
});
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
if (typeof window === "undefined") return;
|
|
9
|
+
const mediaQuery = window.matchMedia(query);
|
|
10
|
+
const handler = (event) => setMatches(event.matches);
|
|
11
|
+
setMatches(mediaQuery.matches);
|
|
12
|
+
mediaQuery.addEventListener("change", handler);
|
|
13
|
+
return () => mediaQuery.removeEventListener("change", handler);
|
|
14
|
+
}, [query]);
|
|
15
|
+
return matches;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
useMediaQuery
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=use-media-query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-media-query.js","sources":["../../src/hooks/use-media-query.ts"],"sourcesContent":["import { useState, useEffect } from 'react'\n\n/**\n * Returns whether the given media query currently matches.\n *\n * @example\n * const isMobile = useMediaQuery('(max-width: 768px)')\n * const isDesktop = useMediaQuery('(min-width: 1024px)')\n */\nexport function useMediaQuery(query: string): boolean {\n const [matches, setMatches] = useState<boolean>(() => {\n if (typeof window === 'undefined') return false\n return window.matchMedia(query).matches\n })\n\n useEffect(() => {\n if (typeof window === 'undefined') return\n\n const mediaQuery = window.matchMedia(query)\n const handler = (event: MediaQueryListEvent) => setMatches(event.matches)\n\n setMatches(mediaQuery.matches)\n mediaQuery.addEventListener('change', handler)\n\n return () => mediaQuery.removeEventListener('change', handler)\n }, [query])\n\n return matches\n}\n"],"names":[],"mappings":";AASO,SAAS,cAAc,OAAwB;AACpD,QAAM,CAAC,SAAS,UAAU,IAAI,SAAkB,MAAM;AACpD,QAAI,OAAO,WAAW,YAAa,QAAO;AAC1C,WAAO,OAAO,WAAW,KAAK,EAAE;AAAA,EAClC,CAAC;AAED,YAAU,MAAM;AACd,QAAI,OAAO,WAAW,YAAa;AAEnC,UAAM,aAAa,OAAO,WAAW,KAAK;AAC1C,UAAM,UAAU,CAAC,UAA+B,WAAW,MAAM,OAAO;AAExE,eAAW,WAAW,OAAO;AAC7B,eAAW,iBAAiB,UAAU,OAAO;AAE7C,WAAO,MAAM,WAAW,oBAAoB,UAAU,OAAO;AAAA,EAC/D,GAAG,CAAC,KAAK,CAAC;AAEV,SAAO;AACT;"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export { cn } from './lib/utils';
|
|
2
|
+
export { Colors } from './lib/colors';
|
|
3
|
+
export type { ColorKey, ColorValue } from './lib/colors';
|
|
4
|
+
export type { Size, Intent, Orientation, BaseLayoutProps } from './types/common';
|
|
5
|
+
export type { WorkflowStatus, TaskPriority, TaskStatus, TrendDirection, Metric, WorkflowNodeData, Task, LogEntry, } from './types/automation';
|
|
6
|
+
export { Button, buttonVariants } from './components/ui/button';
|
|
7
|
+
export type { ButtonProps } from './components/ui/button';
|
|
8
|
+
export { Input } from './components/ui/input';
|
|
9
|
+
export type { InputProps } from './components/ui/input';
|
|
10
|
+
export { Textarea } from './components/ui/textarea';
|
|
11
|
+
export type { TextareaProps } from './components/ui/textarea';
|
|
12
|
+
export { Label } from './components/ui/label';
|
|
13
|
+
export type { LabelProps } from './components/ui/label';
|
|
14
|
+
export { Badge, badgeVariants } from './components/ui/badge';
|
|
15
|
+
export type { BadgeProps } from './components/ui/badge';
|
|
16
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, } from './components/ui/card';
|
|
17
|
+
export type { CardProps } from './components/ui/card';
|
|
18
|
+
export { Avatar, AvatarImage, AvatarFallback, AvatarGroup } from './components/ui/avatar';
|
|
19
|
+
export type { AvatarProps } from './components/ui/avatar';
|
|
20
|
+
export { Separator } from './components/ui/separator';
|
|
21
|
+
export type { SeparatorProps } from './components/ui/separator';
|
|
22
|
+
export { Skeleton } from './components/ui/skeleton';
|
|
23
|
+
export type { SkeletonProps } from './components/ui/skeleton';
|
|
24
|
+
export { Progress } from './components/ui/progress';
|
|
25
|
+
export type { ProgressProps } from './components/ui/progress';
|
|
26
|
+
export { Spinner, spinnerVariants } from './components/ui/spinner';
|
|
27
|
+
export type { SpinnerProps } from './components/ui/spinner';
|
|
28
|
+
export { Checkbox } from './components/ui/checkbox';
|
|
29
|
+
export type { CheckboxProps } from './components/ui/checkbox';
|
|
30
|
+
export { Switch } from './components/ui/switch';
|
|
31
|
+
export type { SwitchProps } from './components/ui/switch';
|
|
32
|
+
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, } from './components/ui/select';
|
|
33
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent } from './components/ui/tabs';
|
|
34
|
+
export type { TabsListProps, TabsTriggerProps } from './components/ui/tabs';
|
|
35
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './components/ui/accordion';
|
|
36
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, } from './components/ui/dialog';
|
|
37
|
+
export type { DialogContentProps } from './components/ui/dialog';
|
|
38
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, } from './components/ui/dropdown-menu';
|
|
39
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from './components/ui/tooltip';
|
|
40
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from './components/ui/popover';
|
|
41
|
+
export { Alert, AlertTitle, AlertDescription } from './components/ui/alert';
|
|
42
|
+
export type { AlertProps } from './components/ui/alert';
|
|
43
|
+
export { ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, } from './components/ui/toast';
|
|
44
|
+
export type { ToastProps, ToastActionElement } from './components/ui/toast';
|
|
45
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, } from './components/ui/table';
|
|
46
|
+
export { ScrollArea, ScrollBar } from './components/ui/scroll-area';
|
|
47
|
+
export { StatusBadge, STATUS_CONFIG } from './components/automation/status-badge';
|
|
48
|
+
export type { StatusBadgeProps } from './components/automation/status-badge';
|
|
49
|
+
export { MetricCard, MetricGrid } from './components/automation/metric-card';
|
|
50
|
+
export type { MetricCardProps, MetricGridProps } from './components/automation/metric-card';
|
|
51
|
+
export { WorkflowNode, WorkflowPipeline } from './components/automation/workflow-node';
|
|
52
|
+
export type { WorkflowNodeProps, WorkflowPipelineProps } from './components/automation/workflow-node';
|
|
53
|
+
export { TaskCard } from './components/automation/task-card';
|
|
54
|
+
export type { TaskCardProps } from './components/automation/task-card';
|
|
55
|
+
export { AppShell, PageContent } from './components/layout/app-shell';
|
|
56
|
+
export type { AppShellProps } from './components/layout/app-shell';
|
|
57
|
+
export { Sidebar } from './components/layout/sidebar';
|
|
58
|
+
export type { SidebarProps, SidebarNavItem, SidebarSection } from './components/layout/sidebar';
|
|
59
|
+
export { Header } from './components/layout/header';
|
|
60
|
+
export type { HeaderProps } from './components/layout/header';
|
|
61
|
+
export { PageHeader } from './components/layout/page-header';
|
|
62
|
+
export type { PageHeaderProps } from './components/layout/page-header';
|
|
63
|
+
export { useMediaQuery } from './hooks/use-media-query';
|
|
64
|
+
export { useLocalStorage } from './hooks/use-local-storage';
|
|
65
|
+
export { useDebounce } from './hooks/use-debounce';
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { cn } from "./lib/utils.js";
|
|
3
|
+
import { Colors } from "./lib/colors.js";
|
|
4
|
+
import { Button, buttonVariants } from "./components/ui/button.js";
|
|
5
|
+
import { Input } from "./components/ui/input.js";
|
|
6
|
+
import { Textarea } from "./components/ui/textarea.js";
|
|
7
|
+
import { Label } from "./components/ui/label.js";
|
|
8
|
+
import { Badge, badgeVariants } from "./components/ui/badge.js";
|
|
9
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/ui/card.js";
|
|
10
|
+
import { Avatar, AvatarFallback, AvatarGroup, AvatarImage } from "./components/ui/avatar.js";
|
|
11
|
+
import { Separator } from "./components/ui/separator.js";
|
|
12
|
+
import { Skeleton } from "./components/ui/skeleton.js";
|
|
13
|
+
import { Progress } from "./components/ui/progress.js";
|
|
14
|
+
import { Spinner, spinnerVariants } from "./components/ui/spinner.js";
|
|
15
|
+
import { Checkbox } from "./components/ui/checkbox.js";
|
|
16
|
+
import { Switch } from "./components/ui/switch.js";
|
|
17
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select.js";
|
|
18
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs.js";
|
|
19
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/ui/accordion.js";
|
|
20
|
+
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/ui/dialog.js";
|
|
21
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
|
|
22
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/ui/tooltip.js";
|
|
23
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./components/ui/popover.js";
|
|
24
|
+
import { Alert, AlertDescription, AlertTitle } from "./components/ui/alert.js";
|
|
25
|
+
import { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport } from "./components/ui/toast.js";
|
|
26
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/ui/table.js";
|
|
27
|
+
import { ScrollArea, ScrollBar } from "./components/ui/scroll-area.js";
|
|
28
|
+
import { STATUS_CONFIG, StatusBadge } from "./components/automation/status-badge.js";
|
|
29
|
+
import { MetricCard, MetricGrid } from "./components/automation/metric-card.js";
|
|
30
|
+
import { WorkflowNode, WorkflowPipeline } from "./components/automation/workflow-node.js";
|
|
31
|
+
import { TaskCard } from "./components/automation/task-card.js";
|
|
32
|
+
import { AppShell, PageContent } from "./components/layout/app-shell.js";
|
|
33
|
+
import { Sidebar } from "./components/layout/sidebar.js";
|
|
34
|
+
import { Header } from "./components/layout/header.js";
|
|
35
|
+
import { PageHeader } from "./components/layout/page-header.js";
|
|
36
|
+
import { useMediaQuery } from "./hooks/use-media-query.js";
|
|
37
|
+
import { useLocalStorage } from "./hooks/use-local-storage.js";
|
|
38
|
+
import { useDebounce } from "./hooks/use-debounce.js";
|
|
39
|
+
export {
|
|
40
|
+
Accordion,
|
|
41
|
+
AccordionContent,
|
|
42
|
+
AccordionItem,
|
|
43
|
+
AccordionTrigger,
|
|
44
|
+
Alert,
|
|
45
|
+
AlertDescription,
|
|
46
|
+
AlertTitle,
|
|
47
|
+
AppShell,
|
|
48
|
+
Avatar,
|
|
49
|
+
AvatarFallback,
|
|
50
|
+
AvatarGroup,
|
|
51
|
+
AvatarImage,
|
|
52
|
+
Badge,
|
|
53
|
+
Button,
|
|
54
|
+
Card,
|
|
55
|
+
CardContent,
|
|
56
|
+
CardDescription,
|
|
57
|
+
CardFooter,
|
|
58
|
+
CardHeader,
|
|
59
|
+
CardTitle,
|
|
60
|
+
Checkbox,
|
|
61
|
+
Colors,
|
|
62
|
+
Dialog,
|
|
63
|
+
DialogClose,
|
|
64
|
+
DialogContent,
|
|
65
|
+
DialogDescription,
|
|
66
|
+
DialogFooter,
|
|
67
|
+
DialogHeader,
|
|
68
|
+
DialogOverlay,
|
|
69
|
+
DialogPortal,
|
|
70
|
+
DialogTitle,
|
|
71
|
+
DialogTrigger,
|
|
72
|
+
DropdownMenu,
|
|
73
|
+
DropdownMenuCheckboxItem,
|
|
74
|
+
DropdownMenuContent,
|
|
75
|
+
DropdownMenuGroup,
|
|
76
|
+
DropdownMenuItem,
|
|
77
|
+
DropdownMenuLabel,
|
|
78
|
+
DropdownMenuPortal,
|
|
79
|
+
DropdownMenuRadioGroup,
|
|
80
|
+
DropdownMenuRadioItem,
|
|
81
|
+
DropdownMenuSeparator,
|
|
82
|
+
DropdownMenuShortcut,
|
|
83
|
+
DropdownMenuSub,
|
|
84
|
+
DropdownMenuSubContent,
|
|
85
|
+
DropdownMenuSubTrigger,
|
|
86
|
+
DropdownMenuTrigger,
|
|
87
|
+
Header,
|
|
88
|
+
Input,
|
|
89
|
+
Label,
|
|
90
|
+
MetricCard,
|
|
91
|
+
MetricGrid,
|
|
92
|
+
PageContent,
|
|
93
|
+
PageHeader,
|
|
94
|
+
Popover,
|
|
95
|
+
PopoverAnchor,
|
|
96
|
+
PopoverContent,
|
|
97
|
+
PopoverTrigger,
|
|
98
|
+
Progress,
|
|
99
|
+
STATUS_CONFIG,
|
|
100
|
+
ScrollArea,
|
|
101
|
+
ScrollBar,
|
|
102
|
+
Select,
|
|
103
|
+
SelectContent,
|
|
104
|
+
SelectGroup,
|
|
105
|
+
SelectItem,
|
|
106
|
+
SelectLabel,
|
|
107
|
+
SelectScrollDownButton,
|
|
108
|
+
SelectScrollUpButton,
|
|
109
|
+
SelectSeparator,
|
|
110
|
+
SelectTrigger,
|
|
111
|
+
SelectValue,
|
|
112
|
+
Separator,
|
|
113
|
+
Sidebar,
|
|
114
|
+
Skeleton,
|
|
115
|
+
Spinner,
|
|
116
|
+
StatusBadge,
|
|
117
|
+
Switch,
|
|
118
|
+
Table,
|
|
119
|
+
TableBody,
|
|
120
|
+
TableCaption,
|
|
121
|
+
TableCell,
|
|
122
|
+
TableFooter,
|
|
123
|
+
TableHead,
|
|
124
|
+
TableHeader,
|
|
125
|
+
TableRow,
|
|
126
|
+
Tabs,
|
|
127
|
+
TabsContent,
|
|
128
|
+
TabsList,
|
|
129
|
+
TabsTrigger,
|
|
130
|
+
TaskCard,
|
|
131
|
+
Textarea,
|
|
132
|
+
Toast,
|
|
133
|
+
ToastAction,
|
|
134
|
+
ToastClose,
|
|
135
|
+
ToastDescription,
|
|
136
|
+
ToastProvider,
|
|
137
|
+
ToastTitle,
|
|
138
|
+
ToastViewport,
|
|
139
|
+
Tooltip,
|
|
140
|
+
TooltipContent,
|
|
141
|
+
TooltipProvider,
|
|
142
|
+
TooltipTrigger,
|
|
143
|
+
WorkflowNode,
|
|
144
|
+
WorkflowPipeline,
|
|
145
|
+
badgeVariants,
|
|
146
|
+
buttonVariants,
|
|
147
|
+
cn,
|
|
148
|
+
spinnerVariants,
|
|
149
|
+
useDebounce,
|
|
150
|
+
useLocalStorage,
|
|
151
|
+
useMediaQuery
|
|
152
|
+
};
|
|
153
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Automa8e brand color palette.
|
|
3
|
+
* Import and use directly in inline styles, or register in your Tailwind config.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* import { Colors } from '@automa8e/ui'
|
|
7
|
+
* <div style={{ backgroundColor: Colors.primaryBlue }}>...</div>
|
|
8
|
+
*/
|
|
9
|
+
export declare const Colors: {
|
|
10
|
+
/** Soft powder blue — page backgrounds, empty states */
|
|
11
|
+
readonly powderBlue: "#ECF2FA";
|
|
12
|
+
/** Active tab top bar, primary action buttons */
|
|
13
|
+
readonly primaryBlue: "#3278A0";
|
|
14
|
+
/** Ultra-light gray surface */
|
|
15
|
+
readonly grays: "#FBFBFC";
|
|
16
|
+
/** Soft border and divider gray */
|
|
17
|
+
readonly softGrays: "#DDDDDD";
|
|
18
|
+
/** Inactive tab text and border color */
|
|
19
|
+
readonly primaryGray: "#939598";
|
|
20
|
+
/** Alias for primaryBlue — used in header/nav backgrounds */
|
|
21
|
+
readonly backgroundBlue: "#3278A0";
|
|
22
|
+
/** Header background blue (slightly lighter) */
|
|
23
|
+
readonly headerBlue: "#44799E";
|
|
24
|
+
/** Input placeholder and mark highlight */
|
|
25
|
+
readonly markGray: "#E0E6EE";
|
|
26
|
+
/** Table header background, primary body text */
|
|
27
|
+
readonly deepBlue: "#4B506D";
|
|
28
|
+
/** Card and panel medium-light background */
|
|
29
|
+
readonly mediumGray: "#F6F6F6";
|
|
30
|
+
/** Body text on dark backgrounds */
|
|
31
|
+
readonly blueText: "#4B506D";
|
|
32
|
+
/** Inactive tab separator/shadow */
|
|
33
|
+
readonly lineGray: "#C7C8CA";
|
|
34
|
+
/** Semi-transparent blue-gray for hover states */
|
|
35
|
+
readonly grayBlueBackground: "#DFE0EB33";
|
|
36
|
+
/** Solid powder-blue background variant */
|
|
37
|
+
readonly grayBlueBackground2: "#ECF2FA";
|
|
38
|
+
/** Primary orange — CTAs, highlights, warnings */
|
|
39
|
+
readonly primaryOrange: "#FC6501";
|
|
40
|
+
/** Success green */
|
|
41
|
+
readonly success: "#1E791C";
|
|
42
|
+
/** Success state background */
|
|
43
|
+
readonly successGray: "#EEEFEF";
|
|
44
|
+
/** Deep orange / error red */
|
|
45
|
+
readonly deepOrange: "#D84132";
|
|
46
|
+
/** Neutral light background */
|
|
47
|
+
readonly f3Gray: "#F3F3F3";
|
|
48
|
+
/** Soft blue card background */
|
|
49
|
+
readonly softBlue: "#E7F5FD";
|
|
50
|
+
/** Light page background */
|
|
51
|
+
readonly lightGrey: "#F0F0F0";
|
|
52
|
+
/** Item and card border separators */
|
|
53
|
+
readonly itemBorder: "#DFE0EB";
|
|
54
|
+
/** Pure red — danger/error indicators */
|
|
55
|
+
readonly redDanger: "#ff0000";
|
|
56
|
+
/** Blue line border with opacity */
|
|
57
|
+
readonly blueLineBorder: "rgba(68, 121, 158, 0.5)";
|
|
58
|
+
/** Near-black text */
|
|
59
|
+
readonly darkGray: "#222222";
|
|
60
|
+
/** Bright light gray */
|
|
61
|
+
readonly brightGray: "#EAEAEA";
|
|
62
|
+
/** Light page background (alt) */
|
|
63
|
+
readonly lightGray: "#F7F7F7";
|
|
64
|
+
/** Form input and card borders */
|
|
65
|
+
readonly lightBorder: "#DDDDDD";
|
|
66
|
+
/** Bright accent blue */
|
|
67
|
+
readonly babyBlue: "#0F67B1";
|
|
68
|
+
};
|
|
69
|
+
/** TypeScript type for any Colors key */
|
|
70
|
+
export type ColorKey = keyof typeof Colors;
|
|
71
|
+
/** TypeScript type for any Colors value */
|
|
72
|
+
export type ColorValue = typeof Colors[ColorKey];
|
|
73
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/lib/colors.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM;IACjB,wDAAwD;;IAGxD,iDAAiD;;IAGjD,+BAA+B;;IAG/B,mCAAmC;;IAGnC,yCAAyC;;IAGzC,6DAA6D;;IAG7D,gDAAgD;;IAGhD,2CAA2C;;IAG3C,iDAAiD;;IAGjD,6CAA6C;;IAG7C,oCAAoC;;IAGpC,oCAAoC;;IAGpC,kDAAkD;;IAGlD,2CAA2C;;IAG3C,kDAAkD;;IAGlD,oBAAoB;;IAGpB,+BAA+B;;IAG/B,8BAA8B;;IAG9B,+BAA+B;;IAG/B,gCAAgC;;IAGhC,4BAA4B;;IAG5B,sCAAsC;;IAGtC,yCAAyC;;IAGzC,oCAAoC;;IAGpC,sBAAsB;;IAGtB,wBAAwB;;IAGxB,kCAAkC;;IAGlC,kCAAkC;;IAGlC,yBAAyB;;CAEjB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,MAAM,CAAA;AAE1C,2CAA2C;AAC3C,MAAM,MAAM,UAAU,GAAG,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const Colors = {
|
|
2
|
+
/** Soft powder blue — page backgrounds, empty states */
|
|
3
|
+
powderBlue: "#ECF2FA",
|
|
4
|
+
/** Active tab top bar, primary action buttons */
|
|
5
|
+
primaryBlue: "#3278A0",
|
|
6
|
+
/** Ultra-light gray surface */
|
|
7
|
+
grays: "#FBFBFC",
|
|
8
|
+
/** Soft border and divider gray */
|
|
9
|
+
softGrays: "#DDDDDD",
|
|
10
|
+
/** Inactive tab text and border color */
|
|
11
|
+
primaryGray: "#939598",
|
|
12
|
+
/** Alias for primaryBlue — used in header/nav backgrounds */
|
|
13
|
+
backgroundBlue: "#3278A0",
|
|
14
|
+
/** Header background blue (slightly lighter) */
|
|
15
|
+
headerBlue: "#44799E",
|
|
16
|
+
/** Input placeholder and mark highlight */
|
|
17
|
+
markGray: "#E0E6EE",
|
|
18
|
+
/** Table header background, primary body text */
|
|
19
|
+
deepBlue: "#4B506D",
|
|
20
|
+
/** Card and panel medium-light background */
|
|
21
|
+
mediumGray: "#F6F6F6",
|
|
22
|
+
/** Body text on dark backgrounds */
|
|
23
|
+
blueText: "#4B506D",
|
|
24
|
+
/** Inactive tab separator/shadow */
|
|
25
|
+
lineGray: "#C7C8CA",
|
|
26
|
+
/** Semi-transparent blue-gray for hover states */
|
|
27
|
+
grayBlueBackground: "#DFE0EB33",
|
|
28
|
+
/** Solid powder-blue background variant */
|
|
29
|
+
grayBlueBackground2: "#ECF2FA",
|
|
30
|
+
/** Primary orange — CTAs, highlights, warnings */
|
|
31
|
+
primaryOrange: "#FC6501",
|
|
32
|
+
/** Success green */
|
|
33
|
+
success: "#1E791C",
|
|
34
|
+
/** Success state background */
|
|
35
|
+
successGray: "#EEEFEF",
|
|
36
|
+
/** Deep orange / error red */
|
|
37
|
+
deepOrange: "#D84132",
|
|
38
|
+
/** Neutral light background */
|
|
39
|
+
f3Gray: "#F3F3F3",
|
|
40
|
+
/** Soft blue card background */
|
|
41
|
+
softBlue: "#E7F5FD",
|
|
42
|
+
/** Light page background */
|
|
43
|
+
lightGrey: "#F0F0F0",
|
|
44
|
+
/** Item and card border separators */
|
|
45
|
+
itemBorder: "#DFE0EB",
|
|
46
|
+
/** Pure red — danger/error indicators */
|
|
47
|
+
redDanger: "#ff0000",
|
|
48
|
+
/** Blue line border with opacity */
|
|
49
|
+
blueLineBorder: "rgba(68, 121, 158, 0.5)",
|
|
50
|
+
/** Near-black text */
|
|
51
|
+
darkGray: "#222222",
|
|
52
|
+
/** Bright light gray */
|
|
53
|
+
brightGray: "#EAEAEA",
|
|
54
|
+
/** Light page background (alt) */
|
|
55
|
+
lightGray: "#F7F7F7",
|
|
56
|
+
/** Form input and card borders */
|
|
57
|
+
lightBorder: "#DDDDDD",
|
|
58
|
+
/** Bright accent blue */
|
|
59
|
+
babyBlue: "#0F67B1"
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
Colors
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sources":["../../src/lib/colors.ts"],"sourcesContent":["/**\n * Automa8e brand color palette.\n * Import and use directly in inline styles, or register in your Tailwind config.\n *\n * @example\n * import { Colors } from '@automa8e/ui'\n * <div style={{ backgroundColor: Colors.primaryBlue }}>...</div>\n */\nexport const Colors = {\n /** Soft powder blue — page backgrounds, empty states */\n powderBlue: '#ECF2FA',\n\n /** Active tab top bar, primary action buttons */\n primaryBlue: '#3278A0',\n\n /** Ultra-light gray surface */\n grays: '#FBFBFC',\n\n /** Soft border and divider gray */\n softGrays: '#DDDDDD',\n\n /** Inactive tab text and border color */\n primaryGray: '#939598',\n\n /** Alias for primaryBlue — used in header/nav backgrounds */\n backgroundBlue: '#3278A0',\n\n /** Header background blue (slightly lighter) */\n headerBlue: '#44799E',\n\n /** Input placeholder and mark highlight */\n markGray: '#E0E6EE',\n\n /** Table header background, primary body text */\n deepBlue: '#4B506D',\n\n /** Card and panel medium-light background */\n mediumGray: '#F6F6F6',\n\n /** Body text on dark backgrounds */\n blueText: '#4B506D',\n\n /** Inactive tab separator/shadow */\n lineGray: '#C7C8CA',\n\n /** Semi-transparent blue-gray for hover states */\n grayBlueBackground: '#DFE0EB33',\n\n /** Solid powder-blue background variant */\n grayBlueBackground2: '#ECF2FA',\n\n /** Primary orange — CTAs, highlights, warnings */\n primaryOrange: '#FC6501',\n\n /** Success green */\n success: '#1E791C',\n\n /** Success state background */\n successGray: '#EEEFEF',\n\n /** Deep orange / error red */\n deepOrange: '#D84132',\n\n /** Neutral light background */\n f3Gray: '#F3F3F3',\n\n /** Soft blue card background */\n softBlue: '#E7F5FD',\n\n /** Light page background */\n lightGrey: '#F0F0F0',\n\n /** Item and card border separators */\n itemBorder: '#DFE0EB',\n\n /** Pure red — danger/error indicators */\n redDanger: '#ff0000',\n\n /** Blue line border with opacity */\n blueLineBorder: 'rgba(68, 121, 158, 0.5)',\n\n /** Near-black text */\n darkGray: '#222222',\n\n /** Bright light gray */\n brightGray: '#EAEAEA',\n\n /** Light page background (alt) */\n lightGray: '#F7F7F7',\n\n /** Form input and card borders */\n lightBorder: '#DDDDDD',\n\n /** Bright accent blue */\n babyBlue: '#0F67B1',\n} as const\n\n/** TypeScript type for any Colors key */\nexport type ColorKey = keyof typeof Colors\n\n/** TypeScript type for any Colors value */\nexport type ColorValue = typeof Colors[ColorKey]\n"],"names":[],"mappings":"AAQO,MAAM,SAAS;AAAA;AAAA,EAEpB,YAAY;AAAA;AAAA,EAGZ,aAAa;AAAA;AAAA,EAGb,OAAO;AAAA;AAAA,EAGP,WAAW;AAAA;AAAA,EAGX,aAAa;AAAA;AAAA,EAGb,gBAAgB;AAAA;AAAA,EAGhB,YAAY;AAAA;AAAA,EAGZ,UAAU;AAAA;AAAA,EAGV,UAAU;AAAA;AAAA,EAGV,YAAY;AAAA;AAAA,EAGZ,UAAU;AAAA;AAAA,EAGV,UAAU;AAAA;AAAA,EAGV,oBAAoB;AAAA;AAAA,EAGpB,qBAAqB;AAAA;AAAA,EAGrB,eAAe;AAAA;AAAA,EAGf,SAAS;AAAA;AAAA,EAGT,aAAa;AAAA;AAAA,EAGb,YAAY;AAAA;AAAA,EAGZ,QAAQ;AAAA;AAAA,EAGR,UAAU;AAAA;AAAA,EAGV,WAAW;AAAA;AAAA,EAGX,YAAY;AAAA;AAAA,EAGZ,WAAW;AAAA;AAAA,EAGX,gBAAgB;AAAA;AAAA,EAGhB,UAAU;AAAA;AAAA,EAGV,YAAY;AAAA;AAAA,EAGZ,WAAW;AAAA;AAAA,EAGX,aAAa;AAAA;AAAA,EAGb,UAAU;AACZ;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
/**
|
|
3
|
+
* Merges Tailwind CSS class names with conflict resolution.
|
|
4
|
+
* Combines clsx (conditional classes) with tailwind-merge (deduplication).
|
|
5
|
+
*/
|
|
6
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
7
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAA;AAG5C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\n/**\n * Merges Tailwind CSS class names with conflict resolution.\n * Combines clsx (conditional classes) with tailwind-merge (deduplication).\n */\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"names":[],"mappings":";;AAOO,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;"}
|