@ripple-ui/svelte 0.0.0-stage → 0.8.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/LICENSE +21 -0
- package/NOTICE +94 -0
- package/README.md +316 -2
- package/dist/Ripple.svelte +483 -0
- package/dist/Ripple.svelte.d.ts +71 -0
- package/dist/actions/index.d.ts +7 -0
- package/dist/actions/index.js +7 -0
- package/dist/actions/reorderable.d.ts +27 -0
- package/dist/actions/reorderable.js +240 -0
- package/dist/actions/with-motion.d.ts +21 -0
- package/dist/actions/with-motion.js +522 -0
- package/dist/assets/favicon.svg +1 -0
- package/dist/assets/glass.css +46 -0
- package/dist/build/page-audit.d.ts +29 -0
- package/dist/build/page-audit.entry.d.ts +1 -0
- package/dist/build/page-audit.entry.js +7 -0
- package/dist/build/page-audit.js +178 -0
- package/dist/components/NodeRenderer.svelte +669 -0
- package/dist/components/NodeRenderer.svelte.d.ts +10 -0
- package/dist/components/ui/accordion/accordion-content.svelte +32 -0
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +4 -0
- package/dist/components/ui/accordion/accordion-item.svelte +17 -0
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +4 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte +32 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +8 -0
- package/dist/components/ui/accordion/accordion.svelte +19 -0
- package/dist/components/ui/accordion/accordion.svelte.d.ts +4 -0
- package/dist/components/ui/accordion/index.d.ts +5 -0
- package/dist/components/ui/accordion/index.js +7 -0
- package/dist/components/ui/alert/alert-action.svelte +20 -0
- package/dist/components/ui/alert/alert-action.svelte.d.ts +5 -0
- package/dist/components/ui/alert/alert-description.svelte +23 -0
- package/dist/components/ui/alert/alert-description.svelte.d.ts +5 -0
- package/dist/components/ui/alert/alert-title.svelte +23 -0
- package/dist/components/ui/alert/alert-title.svelte.d.ts +5 -0
- package/dist/components/ui/alert/alert.svelte +49 -0
- package/dist/components/ui/alert/alert.svelte.d.ts +26 -0
- package/dist/components/ui/alert/index.d.ts +6 -0
- package/dist/components/ui/alert/index.js +8 -0
- package/dist/components/ui/avatar/avatar-badge.svelte +26 -0
- package/dist/components/ui/avatar/avatar-badge.svelte.d.ts +5 -0
- package/dist/components/ui/avatar/avatar-fallback.svelte +20 -0
- package/dist/components/ui/avatar/avatar-fallback.svelte.d.ts +4 -0
- package/dist/components/ui/avatar/avatar-group-count.svelte +23 -0
- package/dist/components/ui/avatar/avatar-group-count.svelte.d.ts +5 -0
- package/dist/components/ui/avatar/avatar-group.svelte +23 -0
- package/dist/components/ui/avatar/avatar-group.svelte.d.ts +5 -0
- package/dist/components/ui/avatar/avatar-image.svelte +17 -0
- package/dist/components/ui/avatar/avatar-image.svelte.d.ts +4 -0
- package/dist/components/ui/avatar/avatar.svelte +26 -0
- package/dist/components/ui/avatar/avatar.svelte.d.ts +7 -0
- package/dist/components/ui/avatar/index.d.ts +7 -0
- package/dist/components/ui/avatar/index.js +9 -0
- package/dist/components/ui/badge/badge.svelte +61 -0
- package/dist/components/ui/badge/badge.svelte.d.ts +44 -0
- package/dist/components/ui/badge/index.d.ts +2 -0
- package/dist/components/ui/badge/index.js +2 -0
- package/dist/components/ui/button/button.svelte +92 -0
- package/dist/components/ui/button/button.svelte.d.ts +73 -0
- package/dist/components/ui/button/index.d.ts +2 -0
- package/dist/components/ui/button/index.js +4 -0
- package/dist/components/ui/card/card-action.svelte +23 -0
- package/dist/components/ui/card/card-action.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-content.svelte +20 -0
- package/dist/components/ui/card/card-content.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-description.svelte +20 -0
- package/dist/components/ui/card/card-description.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-footer.svelte +20 -0
- package/dist/components/ui/card/card-footer.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-header.svelte +23 -0
- package/dist/components/ui/card/card-header.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-title.svelte +15 -0
- package/dist/components/ui/card/card-title.svelte.d.ts +5 -0
- package/dist/components/ui/card/card.svelte +22 -0
- package/dist/components/ui/card/card.svelte.d.ts +8 -0
- package/dist/components/ui/card/index.d.ts +8 -0
- package/dist/components/ui/card/index.js +10 -0
- package/dist/components/ui/chart/chart-container.svelte +83 -0
- package/dist/components/ui/chart/chart-container.svelte.d.ts +9 -0
- package/dist/components/ui/chart/chart-style.svelte +37 -0
- package/dist/components/ui/chart/chart-style.svelte.d.ts +8 -0
- package/dist/components/ui/chart/chart-tooltip.svelte +166 -0
- package/dist/components/ui/chart/chart-tooltip.svelte.d.ts +27 -0
- package/dist/components/ui/chart/chart-utils.d.ts +36 -0
- package/dist/components/ui/chart/chart-utils.js +33 -0
- package/dist/components/ui/chart/index.d.ts +4 -0
- package/dist/components/ui/chart/index.js +4 -0
- package/dist/components/ui/checkbox/checkbox.svelte +44 -0
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +4 -0
- package/dist/components/ui/checkbox/index.d.ts +2 -0
- package/dist/components/ui/checkbox/index.js +4 -0
- package/dist/components/ui/chip.d.ts +5 -0
- package/dist/components/ui/chip.js +12 -0
- package/dist/components/ui/command/command-dialog.svelte +45 -0
- package/dist/components/ui/command/command-dialog.svelte.d.ts +12 -0
- package/dist/components/ui/command/command-empty.svelte +17 -0
- package/dist/components/ui/command/command-empty.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-group.svelte +32 -0
- package/dist/components/ui/command/command-group.svelte.d.ts +7 -0
- package/dist/components/ui/command/command-input.svelte +26 -0
- package/dist/components/ui/command/command-input.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-item.svelte +20 -0
- package/dist/components/ui/command/command-item.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-link-item.svelte +20 -0
- package/dist/components/ui/command/command-link-item.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-list.svelte +17 -0
- package/dist/components/ui/command/command-list.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-loading.svelte +7 -0
- package/dist/components/ui/command/command-loading.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-separator.svelte +17 -0
- package/dist/components/ui/command/command-separator.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-shortcut.svelte +20 -0
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +5 -0
- package/dist/components/ui/command/command.svelte +36 -0
- package/dist/components/ui/command/command.svelte.d.ts +8 -0
- package/dist/components/ui/command/index.d.ts +12 -0
- package/dist/components/ui/command/index.js +17 -0
- package/dist/components/ui/confirm-dialog/confirm-dialog.svelte +44 -0
- package/dist/components/ui/confirm-dialog/confirm-dialog.svelte.d.ts +18 -0
- package/dist/components/ui/confirm-dialog/confirm-dialog.svelte.js +75 -0
- package/dist/components/ui/confirm-dialog/index.d.ts +2 -0
- package/dist/components/ui/confirm-dialog/index.js +6 -0
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte +49 -0
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte.d.ts +9 -0
- package/dist/components/ui/context-menu/context-menu-content.svelte +38 -0
- package/dist/components/ui/context-menu/context-menu-content.svelte.d.ts +10 -0
- package/dist/components/ui/context-menu/context-menu-group-heading.svelte +27 -0
- package/dist/components/ui/context-menu/context-menu-group-heading.svelte.d.ts +8 -0
- package/dist/components/ui/context-menu/context-menu-group.svelte +12 -0
- package/dist/components/ui/context-menu/context-menu-group.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-item.svelte +42 -0
- package/dist/components/ui/context-menu/context-menu-item.svelte.d.ts +8 -0
- package/dist/components/ui/context-menu/context-menu-label.svelte +29 -0
- package/dist/components/ui/context-menu/context-menu-label.svelte.d.ts +8 -0
- package/dist/components/ui/context-menu/context-menu-portal.svelte +12 -0
- package/dist/components/ui/context-menu/context-menu-portal.svelte.d.ts +3 -0
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte +21 -0
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte +38 -0
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-separator.svelte +22 -0
- package/dist/components/ui/context-menu/context-menu-separator.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte +25 -0
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte.d.ts +5 -0
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte +28 -0
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte +35 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +7 -0
- package/dist/components/ui/context-menu/context-menu-sub.svelte +12 -0
- package/dist/components/ui/context-menu/context-menu-sub.svelte.d.ts +3 -0
- package/dist/components/ui/context-menu/context-menu-trigger.svelte +12 -0
- package/dist/components/ui/context-menu/context-menu-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu.svelte +13 -0
- package/dist/components/ui/context-menu/context-menu.svelte.d.ts +3 -0
- package/dist/components/ui/context-menu/index.d.ts +17 -0
- package/dist/components/ui/context-menu/index.js +24 -0
- package/dist/components/ui/control.d.ts +4 -0
- package/dist/components/ui/control.js +11 -0
- package/dist/components/ui/dialog/dialog-close.svelte +11 -0
- package/dist/components/ui/dialog/dialog-close.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-content.svelte +68 -0
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +15 -0
- package/dist/components/ui/dialog/dialog-description.svelte +19 -0
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-footer.svelte +32 -0
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +8 -0
- package/dist/components/ui/dialog/dialog-header.svelte +20 -0
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +5 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte +22 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-portal.svelte +7 -0
- package/dist/components/ui/dialog/dialog-portal.svelte.d.ts +3 -0
- package/dist/components/ui/dialog/dialog-title.svelte +17 -0
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-trigger.svelte +11 -0
- package/dist/components/ui/dialog/dialog-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog.svelte +7 -0
- package/dist/components/ui/dialog/dialog.svelte.d.ts +3 -0
- package/dist/components/ui/dialog/index.d.ts +11 -0
- package/dist/components/ui/dialog/index.js +13 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-group.svelte +16 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-group.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +43 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +9 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +37 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +10 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte +22 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +33 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte +24 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-portal.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-portal.svelte.d.ts +3 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte +16 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +33 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +17 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +20 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +5 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +28 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +29 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub.svelte.d.ts +3 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.svelte.d.ts +3 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/index.js +21 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte +43 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +10 -0
- package/dist/components/ui/hover-card/hover-card-portal.svelte +7 -0
- package/dist/components/ui/hover-card/hover-card-portal.svelte.d.ts +3 -0
- package/dist/components/ui/hover-card/hover-card-trigger.svelte +7 -0
- package/dist/components/ui/hover-card/hover-card-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/hover-card/hover-card.svelte +7 -0
- package/dist/components/ui/hover-card/hover-card.svelte.d.ts +3 -0
- package/dist/components/ui/hover-card/index.d.ts +5 -0
- package/dist/components/ui/hover-card/index.js +5 -0
- package/dist/components/ui/input/index.d.ts +2 -0
- package/dist/components/ui/input/index.js +4 -0
- package/dist/components/ui/input/input.svelte +48 -0
- package/dist/components/ui/input/input.svelte.d.ts +13 -0
- package/dist/components/ui/label/index.d.ts +2 -0
- package/dist/components/ui/label/index.js +5 -0
- package/dist/components/ui/label/label.svelte +25 -0
- package/dist/components/ui/label/label.svelte.d.ts +4 -0
- package/dist/components/ui/popover/index.d.ts +9 -0
- package/dist/components/ui/popover/index.js +11 -0
- package/dist/components/ui/popover/popover-close.svelte +7 -0
- package/dist/components/ui/popover/popover-close.svelte.d.ts +4 -0
- package/dist/components/ui/popover/popover-content.svelte +43 -0
- package/dist/components/ui/popover/popover-content.svelte.d.ts +10 -0
- package/dist/components/ui/popover/popover-description.svelte +20 -0
- package/dist/components/ui/popover/popover-description.svelte.d.ts +5 -0
- package/dist/components/ui/popover/popover-header.svelte +20 -0
- package/dist/components/ui/popover/popover-header.svelte.d.ts +5 -0
- package/dist/components/ui/popover/popover-portal.svelte +7 -0
- package/dist/components/ui/popover/popover-portal.svelte.d.ts +3 -0
- package/dist/components/ui/popover/popover-title.svelte +20 -0
- package/dist/components/ui/popover/popover-title.svelte.d.ts +5 -0
- package/dist/components/ui/popover/popover-trigger.svelte +17 -0
- package/dist/components/ui/popover/popover-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/popover/popover.svelte +7 -0
- package/dist/components/ui/popover/popover.svelte.d.ts +3 -0
- package/dist/components/ui/progress/index.d.ts +2 -0
- package/dist/components/ui/progress/index.js +4 -0
- package/dist/components/ui/progress/progress.svelte +34 -0
- package/dist/components/ui/progress/progress.svelte.d.ts +9 -0
- package/dist/components/ui/radio-group/index.d.ts +3 -0
- package/dist/components/ui/radio-group/index.js +5 -0
- package/dist/components/ui/radio-group/radio-group-item.svelte +34 -0
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +4 -0
- package/dist/components/ui/radio-group/radio-group.svelte +19 -0
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +4 -0
- package/dist/components/ui/select/index.d.ts +12 -0
- package/dist/components/ui/select/index.js +14 -0
- package/dist/components/ui/select/select-content.svelte +50 -0
- package/dist/components/ui/select/select-content.svelte.d.ts +11 -0
- package/dist/components/ui/select/select-group-heading.svelte +21 -0
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +10 -0
- package/dist/components/ui/select/select-group.svelte +17 -0
- package/dist/components/ui/select/select-group.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-item.svelte +38 -0
- package/dist/components/ui/select/select-item.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-label.svelte +20 -0
- package/dist/components/ui/select/select-label.svelte.d.ts +6 -0
- package/dist/components/ui/select/select-portal.svelte +7 -0
- package/dist/components/ui/select/select-portal.svelte.d.ts +3 -0
- package/dist/components/ui/select/select-scroll-down-button.svelte +20 -0
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-scroll-up-button.svelte +20 -0
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-separator.svelte +18 -0
- package/dist/components/ui/select/select-separator.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-trigger.svelte +29 -0
- package/dist/components/ui/select/select-trigger.svelte.d.ts +8 -0
- package/dist/components/ui/select/select.svelte +11 -0
- package/dist/components/ui/select/select.svelte.d.ts +3 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/index.js +4 -0
- package/dist/components/ui/separator/separator.svelte +23 -0
- package/dist/components/ui/separator/separator.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/index.d.ts +11 -0
- package/dist/components/ui/sheet/index.js +13 -0
- package/dist/components/ui/sheet/sheet-close.svelte +7 -0
- package/dist/components/ui/sheet/sheet-close.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet-content.svelte +104 -0
- package/dist/components/ui/sheet/sheet-content.svelte.d.ts +18 -0
- package/dist/components/ui/sheet/sheet-description.svelte +17 -0
- package/dist/components/ui/sheet/sheet-description.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet-footer.svelte +20 -0
- package/dist/components/ui/sheet/sheet-footer.svelte.d.ts +5 -0
- package/dist/components/ui/sheet/sheet-header.svelte +20 -0
- package/dist/components/ui/sheet/sheet-header.svelte.d.ts +5 -0
- package/dist/components/ui/sheet/sheet-overlay.svelte +17 -0
- package/dist/components/ui/sheet/sheet-overlay.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet-portal.svelte +7 -0
- package/dist/components/ui/sheet/sheet-portal.svelte.d.ts +3 -0
- package/dist/components/ui/sheet/sheet-title.svelte +17 -0
- package/dist/components/ui/sheet/sheet-title.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet-trigger.svelte +7 -0
- package/dist/components/ui/sheet/sheet-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet.svelte +7 -0
- package/dist/components/ui/sheet/sheet.svelte.d.ts +3 -0
- package/dist/components/ui/slider/index.d.ts +2 -0
- package/dist/components/ui/slider/index.js +4 -0
- package/dist/components/ui/slider/slider.svelte +65 -0
- package/dist/components/ui/slider/slider.svelte.d.ts +9 -0
- package/dist/components/ui/switch/index.d.ts +2 -0
- package/dist/components/ui/switch/index.js +4 -0
- package/dist/components/ui/switch/switch.svelte +36 -0
- package/dist/components/ui/switch/switch.svelte.d.ts +8 -0
- package/dist/components/ui/table/index.d.ts +9 -0
- package/dist/components/ui/table/index.js +11 -0
- package/dist/components/ui/table/table-body.svelte +15 -0
- package/dist/components/ui/table/table-body.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-caption.svelte +20 -0
- package/dist/components/ui/table/table-caption.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-cell.svelte +15 -0
- package/dist/components/ui/table/table-cell.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-footer.svelte +20 -0
- package/dist/components/ui/table/table-footer.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-head.svelte +15 -0
- package/dist/components/ui/table/table-head.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-header.svelte +20 -0
- package/dist/components/ui/table/table-header.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-row.svelte +15 -0
- package/dist/components/ui/table/table-row.svelte.d.ts +5 -0
- package/dist/components/ui/table/table.svelte +17 -0
- package/dist/components/ui/table/table.svelte.d.ts +5 -0
- package/dist/components/ui/tabs/index.d.ts +5 -0
- package/dist/components/ui/tabs/index.js +7 -0
- package/dist/components/ui/tabs/tabs-content.svelte +17 -0
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +4 -0
- package/dist/components/ui/tabs/tabs-list.svelte +51 -0
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +25 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte +32 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/tabs/tabs.svelte +19 -0
- package/dist/components/ui/tabs/tabs.svelte.d.ts +4 -0
- package/dist/components/ui/textarea/index.d.ts +2 -0
- package/dist/components/ui/textarea/index.js +4 -0
- package/dist/components/ui/textarea/textarea.svelte +23 -0
- package/dist/components/ui/textarea/textarea.svelte.d.ts +5 -0
- package/dist/components/ui/tooltip/index.d.ts +6 -0
- package/dist/components/ui/tooltip/index.js +8 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte +57 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +11 -0
- package/dist/components/ui/tooltip/tooltip-portal.svelte +7 -0
- package/dist/components/ui/tooltip/tooltip-portal.svelte.d.ts +4 -0
- package/dist/components/ui/tooltip/tooltip-provider.svelte +7 -0
- package/dist/components/ui/tooltip/tooltip-provider.svelte.d.ts +4 -0
- package/dist/components/ui/tooltip/tooltip-trigger.svelte +7 -0
- package/dist/components/ui/tooltip/tooltip-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/tooltip/tooltip.svelte +10 -0
- package/dist/components/ui/tooltip/tooltip.svelte.d.ts +4 -0
- package/dist/components/ui/trigger.d.ts +2 -0
- package/dist/components/ui/trigger.js +9 -0
- package/dist/core/state-manager.svelte.d.ts +26 -0
- package/dist/core/state-manager.svelte.js +104 -0
- package/dist/core/toast-bus.svelte.d.ts +25 -0
- package/dist/core/toast-bus.svelte.js +29 -0
- package/dist/discover/DetailMedia.svelte +37 -0
- package/dist/discover/DetailMedia.svelte.d.ts +8 -0
- package/dist/discover/DiscoverChips.svelte +38 -0
- package/dist/discover/DiscoverChips.svelte.d.ts +11 -0
- package/dist/discover/DiscoverEmpty.svelte +41 -0
- package/dist/discover/DiscoverEmpty.svelte.d.ts +11 -0
- package/dist/discover/DiscoverFilters.svelte +107 -0
- package/dist/discover/DiscoverFilters.svelte.d.ts +15 -0
- package/dist/discover/DiscoverGrid.svelte +31 -0
- package/dist/discover/DiscoverGrid.svelte.d.ts +12 -0
- package/dist/discover/DiscoverHeader.svelte +40 -0
- package/dist/discover/DiscoverHeader.svelte.d.ts +15 -0
- package/dist/discover/DiscoverPublish.svelte +42 -0
- package/dist/discover/DiscoverPublish.svelte.d.ts +12 -0
- package/dist/discover/DiscoverRow.svelte +70 -0
- package/dist/discover/DiscoverRow.svelte.d.ts +17 -0
- package/dist/discover/DiscoverSearch.svelte +54 -0
- package/dist/discover/DiscoverSearch.svelte.d.ts +14 -0
- package/dist/discover/DiscoverSection.svelte +53 -0
- package/dist/discover/DiscoverSection.svelte.d.ts +18 -0
- package/dist/discover/DiscoverSkeleton.svelte +50 -0
- package/dist/discover/DiscoverSkeleton.svelte.d.ts +10 -0
- package/dist/discover/DiscoverTile.svelte +75 -0
- package/dist/discover/DiscoverTile.svelte.d.ts +17 -0
- package/dist/discover/ItemActions.svelte +59 -0
- package/dist/discover/ItemActions.svelte.d.ts +11 -0
- package/dist/discover/ItemArt.svelte +83 -0
- package/dist/discover/ItemArt.svelte.d.ts +15 -0
- package/dist/discover/art.d.ts +3 -0
- package/dist/discover/art.js +22 -0
- package/dist/discover/href.d.ts +2 -0
- package/dist/discover/href.js +10 -0
- package/dist/discover/index.d.ts +18 -0
- package/dist/discover/index.js +23 -0
- package/dist/discover/item.d.ts +18 -0
- package/dist/discover/item.js +45 -0
- package/dist/discover/layout.d.ts +13 -0
- package/dist/discover/layout.js +9 -0
- package/dist/discover/types.d.ts +23 -0
- package/dist/discover/types.js +6 -0
- package/dist/editor/RippleDragLayer.svelte +267 -0
- package/dist/editor/RippleDragLayer.svelte.d.ts +30 -0
- package/dist/editor/RippleEditorOverlay.svelte +204 -0
- package/dist/editor/RippleEditorOverlay.svelte.d.ts +28 -0
- package/dist/editor/RippleInlineEditor.svelte +201 -0
- package/dist/editor/RippleInlineEditor.svelte.d.ts +21 -0
- package/dist/editor/RippleInspector.svelte +201 -0
- package/dist/editor/RippleInspector.svelte.d.ts +14 -0
- package/dist/editor/core/bounds-index.d.ts +60 -0
- package/dist/editor/core/bounds-index.js +138 -0
- package/dist/editor/core/drag-reorder.d.ts +52 -0
- package/dist/editor/core/drag-reorder.js +89 -0
- package/dist/editor/core/editable.d.ts +88 -0
- package/dist/editor/core/editable.js +167 -0
- package/dist/editor/core/editor-ops.d.ts +58 -0
- package/dist/editor/core/editor-ops.js +60 -0
- package/dist/editor/core/geometry.d.ts +35 -0
- package/dist/editor/core/geometry.js +38 -0
- package/dist/editor/core/index.d.ts +37 -0
- package/dist/editor/core/index.js +37 -0
- package/dist/editor/core/inline-editor-contenteditable.d.ts +3 -0
- package/dist/editor/core/inline-editor-contenteditable.js +94 -0
- package/dist/editor/core/inline-editor-source.d.ts +6 -0
- package/dist/editor/core/inline-editor-source.js +178 -0
- package/dist/editor/core/inline-editor-tiptap.d.ts +3 -0
- package/dist/editor/core/inline-editor-tiptap.js +192 -0
- package/dist/editor/core/inline-editor.d.ts +72 -0
- package/dist/editor/core/inline-editor.js +53 -0
- package/dist/editor/core/inspector-fields.d.ts +49 -0
- package/dist/editor/core/inspector-fields.js +110 -0
- package/dist/editor/core/lane-adapter.d.ts +109 -0
- package/dist/editor/core/lane-adapter.js +1 -0
- package/dist/editor/core/memory-persistence-adapter.d.ts +33 -0
- package/dist/editor/core/memory-persistence-adapter.js +90 -0
- package/dist/editor/core/ports.d.ts +77 -0
- package/dist/editor/core/ports.js +1 -0
- package/dist/editor/core/ripple-lane-adapter.d.ts +80 -0
- package/dist/editor/core/ripple-lane-adapter.js +197 -0
- package/dist/editor/core/selection-model.d.ts +36 -0
- package/dist/editor/core/selection-model.js +79 -0
- package/dist/editor/editor-selection.svelte.d.ts +28 -0
- package/dist/editor/editor-selection.svelte.js +61 -0
- package/dist/editor/index.d.ts +37 -0
- package/dist/editor/index.js +37 -0
- package/dist/figures/bike-gears/figure.d.ts +66 -0
- package/dist/figures/bike-gears/figure.js +712 -0
- package/dist/figures/bike-gears/index.d.ts +4 -0
- package/dist/figures/bike-gears/index.js +17 -0
- package/dist/figures/bike-gears/model.d.ts +46 -0
- package/dist/figures/bike-gears/model.js +67 -0
- package/dist/figures/fission-reactor/figure.d.ts +44 -0
- package/dist/figures/fission-reactor/figure.js +820 -0
- package/dist/figures/fission-reactor/index.d.ts +4 -0
- package/dist/figures/fission-reactor/index.js +16 -0
- package/dist/figures/fission-reactor/model.d.ts +48 -0
- package/dist/figures/fission-reactor/model.js +86 -0
- package/dist/figures/frame.d.ts +16 -0
- package/dist/figures/frame.js +39 -0
- package/dist/figures/heart/figure.d.ts +38 -0
- package/dist/figures/heart/figure.js +580 -0
- package/dist/figures/heart/index.d.ts +4 -0
- package/dist/figures/heart/index.js +18 -0
- package/dist/figures/heart/model.d.ts +76 -0
- package/dist/figures/heart/model.js +167 -0
- package/dist/figures/index.d.ts +7 -0
- package/dist/figures/index.js +9 -0
- package/dist/figures/ion-thruster/figure.d.ts +41 -0
- package/dist/figures/ion-thruster/figure.js +645 -0
- package/dist/figures/ion-thruster/index.d.ts +4 -0
- package/dist/figures/ion-thruster/index.js +16 -0
- package/dist/figures/ion-thruster/model.d.ts +52 -0
- package/dist/figures/ion-thruster/model.js +79 -0
- package/dist/figures/particle-collider/figure.d.ts +28 -0
- package/dist/figures/particle-collider/figure.js +782 -0
- package/dist/figures/particle-collider/index.d.ts +4 -0
- package/dist/figures/particle-collider/index.js +17 -0
- package/dist/figures/particle-collider/model.d.ts +81 -0
- package/dist/figures/particle-collider/model.js +147 -0
- package/dist/figures/rocket-engine/figure.d.ts +37 -0
- package/dist/figures/rocket-engine/figure.js +881 -0
- package/dist/figures/rocket-engine/index.d.ts +4 -0
- package/dist/figures/rocket-engine/index.js +16 -0
- package/dist/figures/rocket-engine/model.d.ts +73 -0
- package/dist/figures/rocket-engine/model.js +104 -0
- package/dist/figures/tokamak/figure.d.ts +40 -0
- package/dist/figures/tokamak/figure.js +770 -0
- package/dist/figures/tokamak/index.d.ts +4 -0
- package/dist/figures/tokamak/index.js +16 -0
- package/dist/figures/tokamak/model.d.ts +65 -0
- package/dist/figures/tokamak/model.js +132 -0
- package/dist/figures/types.d.ts +43 -0
- package/dist/figures/types.js +4 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +53 -0
- package/dist/intent/ChainProgress.svelte +224 -0
- package/dist/intent/ChainProgress.svelte.d.ts +19 -0
- package/dist/intent/DashboardRenderer.svelte +727 -0
- package/dist/intent/DashboardRenderer.svelte.d.ts +9 -0
- package/dist/intent/FlowRunner.svelte +550 -0
- package/dist/intent/FlowRunner.svelte.d.ts +28 -0
- package/dist/intent/IntentRenderer.svelte +325 -0
- package/dist/intent/IntentRenderer.svelte.d.ts +20 -0
- package/dist/intent/chain-executor.svelte.d.ts +266 -0
- package/dist/intent/chain-executor.svelte.js +461 -0
- package/dist/intent/dashboard-manager.svelte.d.ts +54 -0
- package/dist/intent/dashboard-manager.svelte.js +96 -0
- package/dist/intent/defaults-resolver.d.ts +115 -0
- package/dist/intent/defaults-resolver.js +288 -0
- package/dist/intent/fixtures/onboarding-wizard.d.ts +45 -0
- package/dist/intent/fixtures/onboarding-wizard.js +182 -0
- package/dist/intent/flow-options.d.ts +50 -0
- package/dist/intent/flow-options.js +111 -0
- package/dist/intent/index.d.ts +19 -0
- package/dist/intent/index.js +19 -0
- package/dist/intent/layout-adapter.d.ts +77 -0
- package/dist/intent/layout-adapter.js +135 -0
- package/dist/intent/layout-engine.d.ts +66 -0
- package/dist/intent/layout-engine.js +247 -0
- package/dist/intent/layouts/ArticleLayout.svelte +454 -0
- package/dist/intent/layouts/ArticleLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/CardGridLayout.svelte +101 -0
- package/dist/intent/layouts/CardGridLayout.svelte.d.ts +13 -0
- package/dist/intent/layouts/ChecklistIntentLayout.svelte +45 -0
- package/dist/intent/layouts/ChecklistIntentLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/ComparisonIntentLayout.svelte +55 -0
- package/dist/intent/layouts/ComparisonIntentLayout.svelte.d.ts +8 -0
- package/dist/intent/layouts/DetailLayout.svelte +126 -0
- package/dist/intent/layouts/DetailLayout.svelte.d.ts +11 -0
- package/dist/intent/layouts/FormLayout.svelte +140 -0
- package/dist/intent/layouts/FormLayout.svelte.d.ts +9 -0
- package/dist/intent/layouts/InfoHeroLayout.svelte +103 -0
- package/dist/intent/layouts/InfoHeroLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/InvoiceIntentLayout.svelte +76 -0
- package/dist/intent/layouts/InvoiceIntentLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/ListLayout.svelte +24 -0
- package/dist/intent/layouts/ListLayout.svelte.d.ts +9 -0
- package/dist/intent/layouts/ReportIntentLayout.svelte +104 -0
- package/dist/intent/layouts/ReportIntentLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/SearchLayout.svelte +65 -0
- package/dist/intent/layouts/SearchLayout.svelte.d.ts +14 -0
- package/dist/intent/layouts/SelectLayout.svelte +131 -0
- package/dist/intent/layouts/SelectLayout.svelte.d.ts +11 -0
- package/dist/intent/layouts/SlidesLayout.svelte +252 -0
- package/dist/intent/layouts/SlidesLayout.svelte.d.ts +8 -0
- package/dist/intent/layouts/SummaryLayout.svelte +84 -0
- package/dist/intent/layouts/SummaryLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/TableLayout.svelte +100 -0
- package/dist/intent/layouts/TableLayout.svelte.d.ts +9 -0
- package/dist/intent/layouts/TimelineLayout.svelte +81 -0
- package/dist/intent/layouts/TimelineLayout.svelte.d.ts +7 -0
- package/dist/intent/pattern-detector.d.ts +72 -0
- package/dist/intent/pattern-detector.js +102 -0
- package/dist/intent/slides-partition.d.ts +40 -0
- package/dist/intent/slides-partition.js +67 -0
- package/dist/manifest/actions.d.ts +7 -0
- package/dist/manifest/actions.js +7 -0
- package/dist/manifest/entries/accordion.d.ts +2 -0
- package/dist/manifest/entries/accordion.js +20 -0
- package/dist/manifest/entries/agenda.d.ts +2 -0
- package/dist/manifest/entries/agenda.js +30 -0
- package/dist/manifest/entries/alert.d.ts +2 -0
- package/dist/manifest/entries/alert.js +12 -0
- package/dist/manifest/entries/analyst-bar.d.ts +2 -0
- package/dist/manifest/entries/analyst-bar.js +13 -0
- package/dist/manifest/entries/analytics-dashboard.d.ts +2 -0
- package/dist/manifest/entries/analytics-dashboard.js +87 -0
- package/dist/manifest/entries/animated-beam.d.ts +2 -0
- package/dist/manifest/entries/animated-beam.js +16 -0
- package/dist/manifest/entries/api-key.d.ts +2 -0
- package/dist/manifest/entries/api-key.js +14 -0
- package/dist/manifest/entries/app-shell.d.ts +2 -0
- package/dist/manifest/entries/app-shell.js +68 -0
- package/dist/manifest/entries/approval-gate.d.ts +2 -0
- package/dist/manifest/entries/approval-gate.js +32 -0
- package/dist/manifest/entries/article-meta.d.ts +2 -0
- package/dist/manifest/entries/article-meta.js +13 -0
- package/dist/manifest/entries/ask-user-questions.d.ts +2 -0
- package/dist/manifest/entries/ask-user-questions.js +81 -0
- package/dist/manifest/entries/audio.d.ts +2 -0
- package/dist/manifest/entries/audio.js +17 -0
- package/dist/manifest/entries/audit-log.d.ts +2 -0
- package/dist/manifest/entries/audit-log.js +25 -0
- package/dist/manifest/entries/aurora.d.ts +2 -0
- package/dist/manifest/entries/aurora.js +14 -0
- package/dist/manifest/entries/avatar-group.d.ts +2 -0
- package/dist/manifest/entries/avatar-group.js +23 -0
- package/dist/manifest/entries/avatar.d.ts +2 -0
- package/dist/manifest/entries/avatar.js +11 -0
- package/dist/manifest/entries/badge.d.ts +2 -0
- package/dist/manifest/entries/badge.js +13 -0
- package/dist/manifest/entries/bento-grid.d.ts +2 -0
- package/dist/manifest/entries/bento-grid.js +20 -0
- package/dist/manifest/entries/bill-split.d.ts +2 -0
- package/dist/manifest/entries/bill-split.js +37 -0
- package/dist/manifest/entries/board-game.d.ts +2 -0
- package/dist/manifest/entries/board-game.js +43 -0
- package/dist/manifest/entries/booking.d.ts +2 -0
- package/dist/manifest/entries/booking.js +61 -0
- package/dist/manifest/entries/border-beam.d.ts +2 -0
- package/dist/manifest/entries/border-beam.js +16 -0
- package/dist/manifest/entries/breadcrumb.d.ts +2 -0
- package/dist/manifest/entries/breadcrumb.js +20 -0
- package/dist/manifest/entries/bulk-action-bar.d.ts +2 -0
- package/dist/manifest/entries/bulk-action-bar.js +24 -0
- package/dist/manifest/entries/button.d.ts +2 -0
- package/dist/manifest/entries/button.js +47 -0
- package/dist/manifest/entries/c4.d.ts +2 -0
- package/dist/manifest/entries/c4.js +73 -0
- package/dist/manifest/entries/calendar.d.ts +2 -0
- package/dist/manifest/entries/calendar.js +44 -0
- package/dist/manifest/entries/callout.d.ts +2 -0
- package/dist/manifest/entries/callout.js +11 -0
- package/dist/manifest/entries/card.d.ts +2 -0
- package/dist/manifest/entries/card.js +19 -0
- package/dist/manifest/entries/chart.d.ts +2 -0
- package/dist/manifest/entries/chart.js +27 -0
- package/dist/manifest/entries/checkbox-group.d.ts +2 -0
- package/dist/manifest/entries/checkbox-group.js +49 -0
- package/dist/manifest/entries/checkbox.d.ts +2 -0
- package/dist/manifest/entries/checkbox.js +30 -0
- package/dist/manifest/entries/checklist-layout.d.ts +2 -0
- package/dist/manifest/entries/checklist-layout.js +33 -0
- package/dist/manifest/entries/chip.d.ts +2 -0
- package/dist/manifest/entries/chip.js +15 -0
- package/dist/manifest/entries/citation.d.ts +2 -0
- package/dist/manifest/entries/citation.js +13 -0
- package/dist/manifest/entries/coachmark.d.ts +2 -0
- package/dist/manifest/entries/coachmark.js +47 -0
- package/dist/manifest/entries/code-block.d.ts +2 -0
- package/dist/manifest/entries/code-block.js +27 -0
- package/dist/manifest/entries/code-editor.d.ts +2 -0
- package/dist/manifest/entries/code-editor.js +39 -0
- package/dist/manifest/entries/code.d.ts +2 -0
- package/dist/manifest/entries/code.js +9 -0
- package/dist/manifest/entries/collapsible.d.ts +2 -0
- package/dist/manifest/entries/collapsible.js +18 -0
- package/dist/manifest/entries/color-picker.d.ts +2 -0
- package/dist/manifest/entries/color-picker.js +35 -0
- package/dist/manifest/entries/combobox.d.ts +2 -0
- package/dist/manifest/entries/combobox.js +48 -0
- package/dist/manifest/entries/command-palette.d.ts +2 -0
- package/dist/manifest/entries/command-palette.js +55 -0
- package/dist/manifest/entries/comment-thread.d.ts +2 -0
- package/dist/manifest/entries/comment-thread.js +27 -0
- package/dist/manifest/entries/company-header.d.ts +2 -0
- package/dist/manifest/entries/company-header.js +33 -0
- package/dist/manifest/entries/comparison-layout.d.ts +2 -0
- package/dist/manifest/entries/comparison-layout.js +81 -0
- package/dist/manifest/entries/comparison-table.d.ts +2 -0
- package/dist/manifest/entries/comparison-table.js +25 -0
- package/dist/manifest/entries/confirm-dialog.d.ts +2 -0
- package/dist/manifest/entries/confirm-dialog.js +50 -0
- package/dist/manifest/entries/container.d.ts +2 -0
- package/dist/manifest/entries/container.js +13 -0
- package/dist/manifest/entries/context-menu.d.ts +2 -0
- package/dist/manifest/entries/context-menu.js +22 -0
- package/dist/manifest/entries/copy.d.ts +2 -0
- package/dist/manifest/entries/copy.js +11 -0
- package/dist/manifest/entries/cta.d.ts +2 -0
- package/dist/manifest/entries/cta.js +17 -0
- package/dist/manifest/entries/dashboard-slot.d.ts +2 -0
- package/dist/manifest/entries/dashboard-slot.js +17 -0
- package/dist/manifest/entries/dashboard.d.ts +2 -0
- package/dist/manifest/entries/dashboard.js +48 -0
- package/dist/manifest/entries/data-grid.d.ts +2 -0
- package/dist/manifest/entries/data-grid.js +77 -0
- package/dist/manifest/entries/date-picker.d.ts +2 -0
- package/dist/manifest/entries/date-picker.js +31 -0
- package/dist/manifest/entries/definition-list.d.ts +2 -0
- package/dist/manifest/entries/definition-list.js +19 -0
- package/dist/manifest/entries/diff.d.ts +2 -0
- package/dist/manifest/entries/diff.js +16 -0
- package/dist/manifest/entries/discover-card.d.ts +2 -0
- package/dist/manifest/entries/discover-card.js +13 -0
- package/dist/manifest/entries/drawing-canvas.d.ts +2 -0
- package/dist/manifest/entries/drawing-canvas.js +18 -0
- package/dist/manifest/entries/dropdown-menu.d.ts +2 -0
- package/dist/manifest/entries/dropdown-menu.js +25 -0
- package/dist/manifest/entries/each.d.ts +2 -0
- package/dist/manifest/entries/each.js +34 -0
- package/dist/manifest/entries/embed.d.ts +2 -0
- package/dist/manifest/entries/embed.js +52 -0
- package/dist/manifest/entries/empty-state.d.ts +2 -0
- package/dist/manifest/entries/empty-state.js +11 -0
- package/dist/manifest/entries/entity-detail.d.ts +2 -0
- package/dist/manifest/entries/entity-detail.js +55 -0
- package/dist/manifest/entries/error-state.d.ts +2 -0
- package/dist/manifest/entries/error-state.js +24 -0
- package/dist/manifest/entries/exec-dashboard.d.ts +2 -0
- package/dist/manifest/entries/exec-dashboard.js +107 -0
- package/dist/manifest/entries/faq.d.ts +2 -0
- package/dist/manifest/entries/faq.js +21 -0
- package/dist/manifest/entries/feature-grid.d.ts +2 -0
- package/dist/manifest/entries/feature-grid.js +21 -0
- package/dist/manifest/entries/figure.d.ts +2 -0
- package/dist/manifest/entries/figure.js +34 -0
- package/dist/manifest/entries/file-upload.d.ts +2 -0
- package/dist/manifest/entries/file-upload.js +32 -0
- package/dist/manifest/entries/fill-grid.d.ts +2 -0
- package/dist/manifest/entries/fill-grid.js +19 -0
- package/dist/manifest/entries/filter-bar.d.ts +2 -0
- package/dist/manifest/entries/filter-bar.js +48 -0
- package/dist/manifest/entries/flashcard-deck.d.ts +2 -0
- package/dist/manifest/entries/flashcard-deck.js +36 -0
- package/dist/manifest/entries/flashcard.d.ts +2 -0
- package/dist/manifest/entries/flashcard.js +20 -0
- package/dist/manifest/entries/flex.d.ts +2 -0
- package/dist/manifest/entries/flex.js +20 -0
- package/dist/manifest/entries/focus-timer.d.ts +2 -0
- package/dist/manifest/entries/focus-timer.js +34 -0
- package/dist/manifest/entries/follow-up.d.ts +2 -0
- package/dist/manifest/entries/follow-up.js +11 -0
- package/dist/manifest/entries/footer.d.ts +2 -0
- package/dist/manifest/entries/footer.js +20 -0
- package/dist/manifest/entries/form-layout.d.ts +2 -0
- package/dist/manifest/entries/form-layout.js +43 -0
- package/dist/manifest/entries/form.d.ts +2 -0
- package/dist/manifest/entries/form.js +111 -0
- package/dist/manifest/entries/funnel.d.ts +2 -0
- package/dist/manifest/entries/funnel.js +24 -0
- package/dist/manifest/entries/gantt.d.ts +2 -0
- package/dist/manifest/entries/gantt.js +21 -0
- package/dist/manifest/entries/gauge.d.ts +2 -0
- package/dist/manifest/entries/gauge.js +16 -0
- package/dist/manifest/entries/glass-card.d.ts +2 -0
- package/dist/manifest/entries/glass-card.js +20 -0
- package/dist/manifest/entries/glyph-grid.d.ts +2 -0
- package/dist/manifest/entries/glyph-grid.js +19 -0
- package/dist/manifest/entries/grid.d.ts +2 -0
- package/dist/manifest/entries/grid.js +19 -0
- package/dist/manifest/entries/growth-projection.d.ts +2 -0
- package/dist/manifest/entries/growth-projection.js +36 -0
- package/dist/manifest/entries/habit-tracker.d.ts +2 -0
- package/dist/manifest/entries/habit-tracker.js +38 -0
- package/dist/manifest/entries/heading.d.ts +2 -0
- package/dist/manifest/entries/heading.js +10 -0
- package/dist/manifest/entries/heatmap.d.ts +2 -0
- package/dist/manifest/entries/heatmap.js +26 -0
- package/dist/manifest/entries/hero.d.ts +2 -0
- package/dist/manifest/entries/hero.js +15 -0
- package/dist/manifest/entries/highlight.d.ts +2 -0
- package/dist/manifest/entries/highlight.js +13 -0
- package/dist/manifest/entries/hover-card.d.ts +2 -0
- package/dist/manifest/entries/hover-card.js +14 -0
- package/dist/manifest/entries/icon.d.ts +2 -0
- package/dist/manifest/entries/icon.js +12 -0
- package/dist/manifest/entries/if.d.ts +2 -0
- package/dist/manifest/entries/if.js +20 -0
- package/dist/manifest/entries/illustration.d.ts +2 -0
- package/dist/manifest/entries/illustration.js +37 -0
- package/dist/manifest/entries/image.d.ts +2 -0
- package/dist/manifest/entries/image.js +14 -0
- package/dist/manifest/entries/input.d.ts +2 -0
- package/dist/manifest/entries/input.js +42 -0
- package/dist/manifest/entries/interval-workout.d.ts +2 -0
- package/dist/manifest/entries/interval-workout.js +44 -0
- package/dist/manifest/entries/invoice-layout.d.ts +2 -0
- package/dist/manifest/entries/invoice-layout.js +55 -0
- package/dist/manifest/entries/invoice-lines.d.ts +2 -0
- package/dist/manifest/entries/invoice-lines.js +30 -0
- package/dist/manifest/entries/iso-scene.d.ts +2 -0
- package/dist/manifest/entries/iso-scene.js +145 -0
- package/dist/manifest/entries/itinerary.d.ts +2 -0
- package/dist/manifest/entries/itinerary.js +61 -0
- package/dist/manifest/entries/kanban.d.ts +2 -0
- package/dist/manifest/entries/kanban.js +64 -0
- package/dist/manifest/entries/kbd.d.ts +2 -0
- package/dist/manifest/entries/kbd.js +10 -0
- package/dist/manifest/entries/kv-table.d.ts +2 -0
- package/dist/manifest/entries/kv-table.js +25 -0
- package/dist/manifest/entries/led-clock.d.ts +2 -0
- package/dist/manifest/entries/led-clock.js +20 -0
- package/dist/manifest/entries/link-preview.d.ts +2 -0
- package/dist/manifest/entries/link-preview.js +16 -0
- package/dist/manifest/entries/loading.d.ts +2 -0
- package/dist/manifest/entries/loading.js +12 -0
- package/dist/manifest/entries/location-picker.d.ts +2 -0
- package/dist/manifest/entries/location-picker.js +28 -0
- package/dist/manifest/entries/logo-cloud.d.ts +2 -0
- package/dist/manifest/entries/logo-cloud.js +21 -0
- package/dist/manifest/entries/map.d.ts +2 -0
- package/dist/manifest/entries/map.js +63 -0
- package/dist/manifest/entries/markdown.d.ts +2 -0
- package/dist/manifest/entries/markdown.js +11 -0
- package/dist/manifest/entries/marketing-hero.d.ts +2 -0
- package/dist/manifest/entries/marketing-hero.js +30 -0
- package/dist/manifest/entries/marquee.d.ts +2 -0
- package/dist/manifest/entries/marquee.js +20 -0
- package/dist/manifest/entries/master-detail.d.ts +2 -0
- package/dist/manifest/entries/master-detail.js +57 -0
- package/dist/manifest/entries/meal-plan.d.ts +2 -0
- package/dist/manifest/entries/meal-plan.js +44 -0
- package/dist/manifest/entries/media-grid.d.ts +2 -0
- package/dist/manifest/entries/media-grid.js +34 -0
- package/dist/manifest/entries/memory-match.d.ts +2 -0
- package/dist/manifest/entries/memory-match.js +39 -0
- package/dist/manifest/entries/mention.d.ts +2 -0
- package/dist/manifest/entries/mention.js +15 -0
- package/dist/manifest/entries/menu-order.d.ts +2 -0
- package/dist/manifest/entries/menu-order.js +48 -0
- package/dist/manifest/entries/metric.d.ts +2 -0
- package/dist/manifest/entries/metric.js +16 -0
- package/dist/manifest/entries/modal.d.ts +2 -0
- package/dist/manifest/entries/modal.js +56 -0
- package/dist/manifest/entries/model-viewer.d.ts +2 -0
- package/dist/manifest/entries/model-viewer.js +86 -0
- package/dist/manifest/entries/multi-select.d.ts +2 -0
- package/dist/manifest/entries/multi-select.js +57 -0
- package/dist/manifest/entries/music-player.d.ts +2 -0
- package/dist/manifest/entries/music-player.js +33 -0
- package/dist/manifest/entries/navbar.d.ts +2 -0
- package/dist/manifest/entries/navbar.js +17 -0
- package/dist/manifest/entries/news-card.d.ts +2 -0
- package/dist/manifest/entries/news-card.js +14 -0
- package/dist/manifest/entries/newsletter.d.ts +2 -0
- package/dist/manifest/entries/newsletter.js +20 -0
- package/dist/manifest/entries/notes.d.ts +2 -0
- package/dist/manifest/entries/notes.js +28 -0
- package/dist/manifest/entries/notification-center.d.ts +2 -0
- package/dist/manifest/entries/notification-center.js +21 -0
- package/dist/manifest/entries/number-input.d.ts +2 -0
- package/dist/manifest/entries/number-input.js +30 -0
- package/dist/manifest/entries/ops-dashboard.d.ts +2 -0
- package/dist/manifest/entries/ops-dashboard.js +134 -0
- package/dist/manifest/entries/order-status.d.ts +2 -0
- package/dist/manifest/entries/order-status.js +46 -0
- package/dist/manifest/entries/org-chart.d.ts +2 -0
- package/dist/manifest/entries/org-chart.js +31 -0
- package/dist/manifest/entries/otp-input.d.ts +2 -0
- package/dist/manifest/entries/otp-input.js +41 -0
- package/dist/manifest/entries/page-header.d.ts +2 -0
- package/dist/manifest/entries/page-header.js +14 -0
- package/dist/manifest/entries/parallax.d.ts +2 -0
- package/dist/manifest/entries/parallax.js +13 -0
- package/dist/manifest/entries/people-picker.d.ts +2 -0
- package/dist/manifest/entries/people-picker.js +28 -0
- package/dist/manifest/entries/permission-matrix.d.ts +2 -0
- package/dist/manifest/entries/permission-matrix.js +41 -0
- package/dist/manifest/entries/pipeline-dashboard.d.ts +2 -0
- package/dist/manifest/entries/pipeline-dashboard.js +91 -0
- package/dist/manifest/entries/place-results.d.ts +2 -0
- package/dist/manifest/entries/place-results.js +33 -0
- package/dist/manifest/entries/popover.d.ts +2 -0
- package/dist/manifest/entries/popover.js +13 -0
- package/dist/manifest/entries/pricing-table.d.ts +2 -0
- package/dist/manifest/entries/pricing-table.js +27 -0
- package/dist/manifest/entries/product-grid.d.ts +2 -0
- package/dist/manifest/entries/product-grid.js +33 -0
- package/dist/manifest/entries/progress-ring.d.ts +2 -0
- package/dist/manifest/entries/progress-ring.js +16 -0
- package/dist/manifest/entries/progress.d.ts +2 -0
- package/dist/manifest/entries/progress.js +13 -0
- package/dist/manifest/entries/project-dashboard.d.ts +2 -0
- package/dist/manifest/entries/project-dashboard.js +90 -0
- package/dist/manifest/entries/pros-cons.d.ts +2 -0
- package/dist/manifest/entries/pros-cons.js +18 -0
- package/dist/manifest/entries/qr.d.ts +2 -0
- package/dist/manifest/entries/qr.js +15 -0
- package/dist/manifest/entries/quiz.d.ts +2 -0
- package/dist/manifest/entries/quiz.js +38 -0
- package/dist/manifest/entries/quote.d.ts +2 -0
- package/dist/manifest/entries/quote.js +14 -0
- package/dist/manifest/entries/radio-group.d.ts +2 -0
- package/dist/manifest/entries/radio-group.js +31 -0
- package/dist/manifest/entries/range-bar.d.ts +2 -0
- package/dist/manifest/entries/range-bar.js +16 -0
- package/dist/manifest/entries/rating.d.ts +2 -0
- package/dist/manifest/entries/rating.js +37 -0
- package/dist/manifest/entries/reasoning-trace.d.ts +2 -0
- package/dist/manifest/entries/reasoning-trace.js +20 -0
- package/dist/manifest/entries/recipe.d.ts +2 -0
- package/dist/manifest/entries/recipe.js +55 -0
- package/dist/manifest/entries/report-layout.d.ts +2 -0
- package/dist/manifest/entries/report-layout.js +37 -0
- package/dist/manifest/entries/reveal.d.ts +2 -0
- package/dist/manifest/entries/reveal.js +14 -0
- package/dist/manifest/entries/rich-text.d.ts +2 -0
- package/dist/manifest/entries/rich-text.js +29 -0
- package/dist/manifest/entries/richtext.d.ts +2 -0
- package/dist/manifest/entries/richtext.js +14 -0
- package/dist/manifest/entries/ripple-frame.d.ts +2 -0
- package/dist/manifest/entries/ripple-frame.js +22 -0
- package/dist/manifest/entries/sankey.d.ts +2 -0
- package/dist/manifest/entries/sankey.js +25 -0
- package/dist/manifest/entries/saved-views.d.ts +2 -0
- package/dist/manifest/entries/saved-views.js +23 -0
- package/dist/manifest/entries/search.d.ts +2 -0
- package/dist/manifest/entries/search.js +54 -0
- package/dist/manifest/entries/section.d.ts +2 -0
- package/dist/manifest/entries/section.js +25 -0
- package/dist/manifest/entries/segmented.d.ts +2 -0
- package/dist/manifest/entries/segmented.js +50 -0
- package/dist/manifest/entries/seismograph.d.ts +2 -0
- package/dist/manifest/entries/seismograph.js +22 -0
- package/dist/manifest/entries/select.d.ts +2 -0
- package/dist/manifest/entries/select.js +50 -0
- package/dist/manifest/entries/separator.d.ts +2 -0
- package/dist/manifest/entries/separator.js +12 -0
- package/dist/manifest/entries/settings-list.d.ts +2 -0
- package/dist/manifest/entries/settings-list.js +18 -0
- package/dist/manifest/entries/sheet.d.ts +2 -0
- package/dist/manifest/entries/sheet.js +46 -0
- package/dist/manifest/entries/shimmer.d.ts +2 -0
- package/dist/manifest/entries/shimmer.js +20 -0
- package/dist/manifest/entries/sidebar.d.ts +2 -0
- package/dist/manifest/entries/sidebar.js +22 -0
- package/dist/manifest/entries/skeleton.d.ts +2 -0
- package/dist/manifest/entries/skeleton.js +9 -0
- package/dist/manifest/entries/slider.d.ts +2 -0
- package/dist/manifest/entries/slider.js +30 -0
- package/dist/manifest/entries/soul-status.d.ts +2 -0
- package/dist/manifest/entries/soul-status.js +18 -0
- package/dist/manifest/entries/source-card.d.ts +2 -0
- package/dist/manifest/entries/source-card.js +13 -0
- package/dist/manifest/entries/sources-bar.d.ts +2 -0
- package/dist/manifest/entries/sources-bar.js +24 -0
- package/dist/manifest/entries/sparkline.d.ts +2 -0
- package/dist/manifest/entries/sparkline.js +13 -0
- package/dist/manifest/entries/split.d.ts +2 -0
- package/dist/manifest/entries/split.js +19 -0
- package/dist/manifest/entries/spotlight.d.ts +2 -0
- package/dist/manifest/entries/spotlight.js +14 -0
- package/dist/manifest/entries/standup-board.d.ts +2 -0
- package/dist/manifest/entries/standup-board.js +40 -0
- package/dist/manifest/entries/stat.d.ts +2 -0
- package/dist/manifest/entries/stat.js +18 -0
- package/dist/manifest/entries/status-dot.d.ts +2 -0
- package/dist/manifest/entries/status-dot.js +13 -0
- package/dist/manifest/entries/steps.d.ts +2 -0
- package/dist/manifest/entries/steps.js +24 -0
- package/dist/manifest/entries/streak-bars.d.ts +2 -0
- package/dist/manifest/entries/streak-bars.js +18 -0
- package/dist/manifest/entries/stream-text.d.ts +2 -0
- package/dist/manifest/entries/stream-text.js +17 -0
- package/dist/manifest/entries/switch.d.ts +2 -0
- package/dist/manifest/entries/switch.js +30 -0
- package/dist/manifest/entries/table.d.ts +2 -0
- package/dist/manifest/entries/table.js +31 -0
- package/dist/manifest/entries/tabs.d.ts +2 -0
- package/dist/manifest/entries/tabs.js +54 -0
- package/dist/manifest/entries/terminal.d.ts +2 -0
- package/dist/manifest/entries/terminal.js +23 -0
- package/dist/manifest/entries/testimonial.d.ts +2 -0
- package/dist/manifest/entries/testimonial.js +16 -0
- package/dist/manifest/entries/text-effect.d.ts +2 -0
- package/dist/manifest/entries/text-effect.js +16 -0
- package/dist/manifest/entries/text.d.ts +2 -0
- package/dist/manifest/entries/text.js +13 -0
- package/dist/manifest/entries/textarea.d.ts +2 -0
- package/dist/manifest/entries/textarea.js +29 -0
- package/dist/manifest/entries/ticker.d.ts +2 -0
- package/dist/manifest/entries/ticker.js +18 -0
- package/dist/manifest/entries/time-picker.d.ts +2 -0
- package/dist/manifest/entries/time-picker.js +29 -0
- package/dist/manifest/entries/timeline.d.ts +2 -0
- package/dist/manifest/entries/timeline.js +28 -0
- package/dist/manifest/entries/timer.d.ts +2 -0
- package/dist/manifest/entries/timer.js +17 -0
- package/dist/manifest/entries/toast.d.ts +2 -0
- package/dist/manifest/entries/toast.js +10 -0
- package/dist/manifest/entries/todo-list.d.ts +2 -0
- package/dist/manifest/entries/todo-list.js +35 -0
- package/dist/manifest/entries/tool-call.d.ts +2 -0
- package/dist/manifest/entries/tool-call.js +26 -0
- package/dist/manifest/entries/tooltip.d.ts +2 -0
- package/dist/manifest/entries/tooltip.js +13 -0
- package/dist/manifest/entries/tree-table.d.ts +2 -0
- package/dist/manifest/entries/tree-table.js +36 -0
- package/dist/manifest/entries/tree.d.ts +2 -0
- package/dist/manifest/entries/tree.js +60 -0
- package/dist/manifest/entries/treemap.d.ts +2 -0
- package/dist/manifest/entries/treemap.js +23 -0
- package/dist/manifest/entries/trend.d.ts +2 -0
- package/dist/manifest/entries/trend.js +13 -0
- package/dist/manifest/entries/video.d.ts +2 -0
- package/dist/manifest/entries/video.js +18 -0
- package/dist/manifest/entries/virtual-list.d.ts +2 -0
- package/dist/manifest/entries/virtual-list.js +22 -0
- package/dist/manifest/entries/weather-forecast.d.ts +2 -0
- package/dist/manifest/entries/weather-forecast.js +51 -0
- package/dist/manifest/entries/week-schedule.d.ts +2 -0
- package/dist/manifest/entries/week-schedule.js +34 -0
- package/dist/manifest/entries/wizard-layout.d.ts +2 -0
- package/dist/manifest/entries/wizard-layout.js +90 -0
- package/dist/manifest/entries/word-guess.d.ts +2 -0
- package/dist/manifest/entries/word-guess.js +30 -0
- package/dist/manifest/entries/workflow.d.ts +2 -0
- package/dist/manifest/entries/workflow.js +30 -0
- package/dist/manifest/index.d.ts +110 -0
- package/dist/manifest/index.js +486 -0
- package/dist/manifest/motion-doc.d.ts +20 -0
- package/dist/manifest/motion-doc.js +60 -0
- package/dist/manifest.json +19649 -0
- package/dist/manifest.slim.json +329 -0
- package/dist/molecules/ItemCard.svelte +213 -0
- package/dist/molecules/ItemCard.svelte.d.ts +26 -0
- package/dist/molecules/PriceTag.svelte +89 -0
- package/dist/molecules/PriceTag.svelte.d.ts +14 -0
- package/dist/molecules/SelectionIndicator.svelte +58 -0
- package/dist/molecules/SelectionIndicator.svelte.d.ts +10 -0
- package/dist/molecules/index.d.ts +25 -0
- package/dist/molecules/index.js +26 -0
- package/dist/motion/moving-indicator.d.ts +44 -0
- package/dist/motion/moving-indicator.js +221 -0
- package/dist/organisms/FormSection.svelte +176 -0
- package/dist/organisms/FormSection.svelte.d.ts +28 -0
- package/dist/organisms/OptionList.svelte +269 -0
- package/dist/organisms/OptionList.svelte.d.ts +24 -0
- package/dist/organisms/OrganismRenderer.svelte +86 -0
- package/dist/organisms/OrganismRenderer.svelte.d.ts +10 -0
- package/dist/organisms/QuizQuestion.svelte +147 -0
- package/dist/organisms/QuizQuestion.svelte.d.ts +19 -0
- package/dist/organisms/ResultsSummary.svelte +97 -0
- package/dist/organisms/ResultsSummary.svelte.d.ts +22 -0
- package/dist/organisms/SourcesRow.svelte +68 -0
- package/dist/organisms/SourcesRow.svelte.d.ts +16 -0
- package/dist/organisms/index.d.ts +24 -0
- package/dist/organisms/index.js +24 -0
- package/dist/organisms/schema.d.ts +25 -0
- package/dist/organisms/schema.js +28 -0
- package/dist/primitives/index.d.ts +49 -0
- package/dist/primitives/index.js +51 -0
- package/dist/schema/index.d.ts +16 -0
- package/dist/schema/index.js +16 -0
- package/dist/security/illustration-svg.d.ts +29 -0
- package/dist/security/illustration-svg.js +473 -0
- package/dist/sound/index.d.ts +13 -0
- package/dist/sound/index.js +120 -0
- package/dist/sound/zzfx.d.ts +9 -0
- package/dist/sound/zzfx.js +118 -0
- package/dist/streaming/fixtures/chat-widget-stream.json +55 -0
- package/dist/streaming/fixtures/deep-children.json +75 -0
- package/dist/streaming/fixtures/nested-dashboard.json +74 -0
- package/dist/streaming/fixtures/simple-form.json +31 -0
- package/dist/streaming/fixtures/truncated-corpus.json +53 -0
- package/dist/streaming/index.d.ts +3 -0
- package/dist/streaming/index.js +9 -0
- package/dist/streaming/json-parse.d.ts +16 -0
- package/dist/streaming/json-parse.js +96 -0
- package/dist/streaming/stream-spec.svelte.d.ts +2 -0
- package/dist/streaming/stream-spec.svelte.js +162 -0
- package/dist/streaming/types.d.ts +57 -0
- package/dist/streaming/types.js +12 -0
- package/dist/styles.css +156 -0
- package/dist/systems/elevation.css +17 -0
- package/dist/systems/elevation.d.ts +8 -0
- package/dist/systems/elevation.js +29 -0
- package/dist/systems/index.d.ts +3 -0
- package/dist/systems/index.js +5 -0
- package/dist/systems/proximity-hover.d.ts +9 -0
- package/dist/systems/proximity-hover.js +47 -0
- package/dist/systems/variable-font-weight.d.ts +12 -0
- package/dist/systems/variable-font-weight.js +33 -0
- package/dist/theme.css +169 -0
- package/dist/ui/index.d.ts +113 -0
- package/dist/ui/index.js +126 -0
- package/dist/utils/safe-color.d.ts +4 -0
- package/dist/utils/safe-color.js +18 -0
- package/dist/utils/safe-props.d.ts +97 -0
- package/dist/utils/safe-props.js +170 -0
- package/dist/utils/sanitize-html.d.ts +8 -0
- package/dist/utils/sanitize-html.js +47 -0
- package/dist/utils/url-sanitizer.d.ts +2 -0
- package/dist/utils/url-sanitizer.js +9 -0
- package/dist/utils.d.ts +12 -0
- package/dist/utils.js +13 -0
- package/dist/vendor-modules.d.ts +42 -0
- package/dist/version.d.ts +17 -0
- package/dist/version.js +17 -0
- package/dist/widgets/Workflow.svelte +379 -0
- package/dist/widgets/Workflow.svelte.d.ts +14 -0
- package/dist/widgets/ai/AnswerBlock.svelte +417 -0
- package/dist/widgets/ai/AnswerBlock.svelte.d.ts +42 -0
- package/dist/widgets/ai/ApprovalGate.svelte +506 -0
- package/dist/widgets/ai/ApprovalGate.svelte.d.ts +95 -0
- package/dist/widgets/ai/ContextCards.svelte +179 -0
- package/dist/widgets/ai/ContextCards.svelte.d.ts +29 -0
- package/dist/widgets/ai/FineTuneCard.svelte +316 -0
- package/dist/widgets/ai/FineTuneCard.svelte.d.ts +45 -0
- package/dist/widgets/ai/PixelLoader.svelte +199 -0
- package/dist/widgets/ai/PixelLoader.svelte.d.ts +17 -0
- package/dist/widgets/ai/PromptBar.svelte +701 -0
- package/dist/widgets/ai/PromptBar.svelte.d.ts +61 -0
- package/dist/widgets/ai/ReasoningTrace.svelte +286 -0
- package/dist/widgets/ai/ReasoningTrace.svelte.d.ts +22 -0
- package/dist/widgets/ai/RecommendationCard.svelte +330 -0
- package/dist/widgets/ai/RecommendationCard.svelte.d.ts +58 -0
- package/dist/widgets/ai/SelectionActions.svelte +401 -0
- package/dist/widgets/ai/SelectionActions.svelte.d.ts +32 -0
- package/dist/widgets/ai/SourceChip.svelte +139 -0
- package/dist/widgets/ai/SourceChip.svelte.d.ts +18 -0
- package/dist/widgets/ai/StreamText.svelte +257 -0
- package/dist/widgets/ai/StreamText.svelte.d.ts +19 -0
- package/dist/widgets/ai/TaskRows.svelte +437 -0
- package/dist/widgets/ai/TaskRows.svelte.d.ts +37 -0
- package/dist/widgets/ai/ToolCall.svelte +363 -0
- package/dist/widgets/ai/ToolCall.svelte.d.ts +25 -0
- package/dist/widgets/ai/index.d.ts +4 -0
- package/dist/widgets/ai/index.js +11 -0
- package/dist/widgets/c4/C4Diagram.svelte +1511 -0
- package/dist/widgets/c4/C4Diagram.svelte.d.ts +36 -0
- package/dist/widgets/c4/C4Edge.svelte +145 -0
- package/dist/widgets/c4/C4Edge.svelte.d.ts +4 -0
- package/dist/widgets/c4/C4LiveLayer.svelte +194 -0
- package/dist/widgets/c4/C4LiveLayer.svelte.d.ts +23 -0
- package/dist/widgets/c4/C4PortBadge.svelte +85 -0
- package/dist/widgets/c4/C4PortBadge.svelte.d.ts +8 -0
- package/dist/widgets/c4/activate.d.ts +2 -0
- package/dist/widgets/c4/activate.js +26 -0
- package/dist/widgets/c4/elk-layout.d.ts +103 -0
- package/dist/widgets/c4/elk-layout.js +455 -0
- package/dist/widgets/c4/elk-worker.d.ts +1 -0
- package/dist/widgets/c4/elk-worker.js +21 -0
- package/dist/widgets/c4/index.d.ts +5 -0
- package/dist/widgets/c4/index.js +6 -0
- package/dist/widgets/c4/live.d.ts +209 -0
- package/dist/widgets/c4/live.js +454 -0
- package/dist/widgets/c4/nodes/C4CodeNode.svelte +143 -0
- package/dist/widgets/c4/nodes/C4CodeNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4ComponentNode.svelte +78 -0
- package/dist/widgets/c4/nodes/C4ComponentNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4ContainerNode.svelte +70 -0
- package/dist/widgets/c4/nodes/C4ContainerNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4DatabaseNode.svelte +116 -0
- package/dist/widgets/c4/nodes/C4DatabaseNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4GroupNode.svelte +133 -0
- package/dist/widgets/c4/nodes/C4GroupNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4PersonNode.svelte +75 -0
- package/dist/widgets/c4/nodes/C4PersonNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4QueueNode.svelte +79 -0
- package/dist/widgets/c4/nodes/C4QueueNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4SystemNode.svelte +53 -0
- package/dist/widgets/c4/nodes/C4SystemNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4ViewNode.svelte +21 -0
- package/dist/widgets/c4/nodes/C4ViewNode.svelte.d.ts +8 -0
- package/dist/widgets/c4/nodes/index.d.ts +35 -0
- package/dist/widgets/c4/nodes/index.js +22 -0
- package/dist/widgets/c4/semantic-flow.d.ts +19 -0
- package/dist/widgets/c4/semantic-flow.js +116 -0
- package/dist/widgets/c4/semantic.d.ts +92 -0
- package/dist/widgets/c4/semantic.js +241 -0
- package/dist/widgets/c4/types.d.ts +192 -0
- package/dist/widgets/c4/types.js +8 -0
- package/dist/widgets/c4/url-sanitizer.d.ts +1 -0
- package/dist/widgets/c4/url-sanitizer.js +6 -0
- package/dist/widgets/call/BottomSheet.svelte +184 -0
- package/dist/widgets/call/BottomSheet.svelte.d.ts +15 -0
- package/dist/widgets/call/ControlBar.svelte +81 -0
- package/dist/widgets/call/ControlBar.svelte.d.ts +11 -0
- package/dist/widgets/call/ControlButton.svelte +226 -0
- package/dist/widgets/call/ControlButton.svelte.d.ts +20 -0
- package/dist/widgets/call/CountBadge.svelte +57 -0
- package/dist/widgets/call/CountBadge.svelte.d.ts +9 -0
- package/dist/widgets/call/FloatingDock.svelte +176 -0
- package/dist/widgets/call/FloatingDock.svelte.d.ts +20 -0
- package/dist/widgets/call/IncomingCallCard.svelte +125 -0
- package/dist/widgets/call/IncomingCallCard.svelte.d.ts +16 -0
- package/dist/widgets/call/ParticipantTile.svelte +241 -0
- package/dist/widgets/call/ParticipantTile.svelte.d.ts +18 -0
- package/dist/widgets/composite/Agenda.svelte +340 -0
- package/dist/widgets/composite/Agenda.svelte.d.ts +25 -0
- package/dist/widgets/composite/AnalyticsDashboard.svelte +371 -0
- package/dist/widgets/composite/AnalyticsDashboard.svelte.d.ts +58 -0
- package/dist/widgets/composite/AskUserQuestions.svelte +568 -0
- package/dist/widgets/composite/AskUserQuestions.svelte.d.ts +41 -0
- package/dist/widgets/composite/AvatarGroup.svelte +79 -0
- package/dist/widgets/composite/AvatarGroup.svelte.d.ts +17 -0
- package/dist/widgets/composite/BillSplit.svelte +425 -0
- package/dist/widgets/composite/BillSplit.svelte.d.ts +29 -0
- package/dist/widgets/composite/BoardGame.svelte +596 -0
- package/dist/widgets/composite/BoardGame.svelte.d.ts +45 -0
- package/dist/widgets/composite/Booking.svelte +643 -0
- package/dist/widgets/composite/Booking.svelte.d.ts +30 -0
- package/dist/widgets/composite/ChecklistLayout.svelte +595 -0
- package/dist/widgets/composite/ChecklistLayout.svelte.d.ts +49 -0
- package/dist/widgets/composite/ComparisonLayout.svelte +809 -0
- package/dist/widgets/composite/ComparisonLayout.svelte.d.ts +78 -0
- package/dist/widgets/composite/EntityDetail.svelte +529 -0
- package/dist/widgets/composite/EntityDetail.svelte.d.ts +55 -0
- package/dist/widgets/composite/ExecDashboard.svelte +1543 -0
- package/dist/widgets/composite/ExecDashboard.svelte.d.ts +214 -0
- package/dist/widgets/composite/ExecDashboardRows.svelte +456 -0
- package/dist/widgets/composite/ExecDashboardRows.svelte.d.ts +21 -0
- package/dist/widgets/composite/Figure.svelte +230 -0
- package/dist/widgets/composite/Figure.svelte.d.ts +20 -0
- package/dist/widgets/composite/FlashcardDeck.svelte +589 -0
- package/dist/widgets/composite/FlashcardDeck.svelte.d.ts +33 -0
- package/dist/widgets/composite/FocusTimer.svelte +566 -0
- package/dist/widgets/composite/FocusTimer.svelte.d.ts +66 -0
- package/dist/widgets/composite/FormLayout.svelte +430 -0
- package/dist/widgets/composite/FormLayout.svelte.d.ts +35 -0
- package/dist/widgets/composite/GrowthProjection.svelte +628 -0
- package/dist/widgets/composite/GrowthProjection.svelte.d.ts +69 -0
- package/dist/widgets/composite/HabitTracker.svelte +489 -0
- package/dist/widgets/composite/HabitTracker.svelte.d.ts +28 -0
- package/dist/widgets/composite/IntervalWorkout.svelte +621 -0
- package/dist/widgets/composite/IntervalWorkout.svelte.d.ts +59 -0
- package/dist/widgets/composite/InvoiceLayout.svelte +615 -0
- package/dist/widgets/composite/InvoiceLayout.svelte.d.ts +48 -0
- package/dist/widgets/composite/IsoScene.svelte +614 -0
- package/dist/widgets/composite/IsoScene.svelte.d.ts +31 -0
- package/dist/widgets/composite/Itinerary.svelte +758 -0
- package/dist/widgets/composite/Itinerary.svelte.d.ts +70 -0
- package/dist/widgets/composite/MealPlan.svelte +518 -0
- package/dist/widgets/composite/MealPlan.svelte.d.ts +26 -0
- package/dist/widgets/composite/MediaGrid.svelte +277 -0
- package/dist/widgets/composite/MediaGrid.svelte.d.ts +41 -0
- package/dist/widgets/composite/MemoryMatch.svelte +613 -0
- package/dist/widgets/composite/MemoryMatch.svelte.d.ts +53 -0
- package/dist/widgets/composite/MenuOrder.svelte +876 -0
- package/dist/widgets/composite/MenuOrder.svelte.d.ts +30 -0
- package/dist/widgets/composite/MusicPlayer.svelte +581 -0
- package/dist/widgets/composite/MusicPlayer.svelte.d.ts +42 -0
- package/dist/widgets/composite/Notes.svelte +469 -0
- package/dist/widgets/composite/Notes.svelte.d.ts +28 -0
- package/dist/widgets/composite/OpsDashboard.svelte +626 -0
- package/dist/widgets/composite/OpsDashboard.svelte.d.ts +57 -0
- package/dist/widgets/composite/OrderStatus.svelte +1037 -0
- package/dist/widgets/composite/OrderStatus.svelte.d.ts +71 -0
- package/dist/widgets/composite/PipelineDashboard.svelte +258 -0
- package/dist/widgets/composite/PipelineDashboard.svelte.d.ts +50 -0
- package/dist/widgets/composite/PlaceResults.svelte +293 -0
- package/dist/widgets/composite/PlaceResults.svelte.d.ts +45 -0
- package/dist/widgets/composite/ProductGrid.svelte +249 -0
- package/dist/widgets/composite/ProductGrid.svelte.d.ts +44 -0
- package/dist/widgets/composite/ProjectDashboard.svelte +724 -0
- package/dist/widgets/composite/ProjectDashboard.svelte.d.ts +67 -0
- package/dist/widgets/composite/Quiz.svelte +540 -0
- package/dist/widgets/composite/Quiz.svelte.d.ts +25 -0
- package/dist/widgets/composite/Recipe.svelte +381 -0
- package/dist/widgets/composite/Recipe.svelte.d.ts +42 -0
- package/dist/widgets/composite/ReportLayout.svelte +379 -0
- package/dist/widgets/composite/ReportLayout.svelte.d.ts +39 -0
- package/dist/widgets/composite/RippleFrame.svelte +48 -0
- package/dist/widgets/composite/RippleFrame.svelte.d.ts +16 -0
- package/dist/widgets/composite/StandupBoard.svelte +400 -0
- package/dist/widgets/composite/StandupBoard.svelte.d.ts +21 -0
- package/dist/widgets/composite/Terminal.svelte +161 -0
- package/dist/widgets/composite/Terminal.svelte.d.ts +20 -0
- package/dist/widgets/composite/WeatherForecast.svelte +406 -0
- package/dist/widgets/composite/WeatherForecast.svelte.d.ts +35 -0
- package/dist/widgets/composite/WeatherIcon.svelte +226 -0
- package/dist/widgets/composite/WeatherIcon.svelte.d.ts +10 -0
- package/dist/widgets/composite/WeekSchedule.svelte +316 -0
- package/dist/widgets/composite/WeekSchedule.svelte.d.ts +27 -0
- package/dist/widgets/composite/WizardLayout.svelte +526 -0
- package/dist/widgets/composite/WizardLayout.svelte.d.ts +44 -0
- package/dist/widgets/composite/WordGuess.svelte +499 -0
- package/dist/widgets/composite/WordGuess.svelte.d.ts +52 -0
- package/dist/widgets/composite/agenda.d.ts +20 -0
- package/dist/widgets/composite/agenda.js +64 -0
- package/dist/widgets/composite/bill-split.d.ts +56 -0
- package/dist/widgets/composite/bill-split.js +117 -0
- package/dist/widgets/composite/board-game.d.ts +45 -0
- package/dist/widgets/composite/board-game.js +277 -0
- package/dist/widgets/composite/booking.d.ts +107 -0
- package/dist/widgets/composite/booking.js +210 -0
- package/dist/widgets/composite/cover-art.d.ts +17 -0
- package/dist/widgets/composite/cover-art.js +63 -0
- package/dist/widgets/composite/exec-dashboard.d.ts +117 -0
- package/dist/widgets/composite/exec-dashboard.js +314 -0
- package/dist/widgets/composite/exercise-figures.d.ts +19 -0
- package/dist/widgets/composite/exercise-figures.js +467 -0
- package/dist/widgets/composite/habit-tracker.d.ts +53 -0
- package/dist/widgets/composite/habit-tracker.js +149 -0
- package/dist/widgets/composite/index.d.ts +43 -0
- package/dist/widgets/composite/index.js +43 -0
- package/dist/widgets/composite/iso-scenes.d.ts +786 -0
- package/dist/widgets/composite/iso-scenes.js +122 -0
- package/dist/widgets/composite/menu-order.d.ts +146 -0
- package/dist/widgets/composite/menu-order.js +217 -0
- package/dist/widgets/composite/music-engine.d.ts +16 -0
- package/dist/widgets/composite/music-engine.js +376 -0
- package/dist/widgets/composite/notes.d.ts +49 -0
- package/dist/widgets/composite/notes.js +130 -0
- package/dist/widgets/composite/order-status-data.d.ts +74 -0
- package/dist/widgets/composite/order-status-data.js +202 -0
- package/dist/widgets/composite/pipeline-dashboard.d.ts +92 -0
- package/dist/widgets/composite/pipeline-dashboard.js +208 -0
- package/dist/widgets/composite/quiz.d.ts +63 -0
- package/dist/widgets/composite/quiz.js +107 -0
- package/dist/widgets/composite/recipe.d.ts +148 -0
- package/dist/widgets/composite/recipe.js +247 -0
- package/dist/widgets/composite/standup-board.d.ts +48 -0
- package/dist/widgets/composite/standup-board.js +171 -0
- package/dist/widgets/composite/weather-forecast.d.ts +75 -0
- package/dist/widgets/composite/weather-forecast.js +241 -0
- package/dist/widgets/composite/week-schedule.d.ts +28 -0
- package/dist/widgets/composite/week-schedule.js +134 -0
- package/dist/widgets/control/Each.svelte +6 -0
- package/dist/widgets/control/Each.svelte.d.ts +8 -0
- package/dist/widgets/control/If.svelte +6 -0
- package/dist/widgets/control/If.svelte.d.ts +8 -0
- package/dist/widgets/control/index.d.ts +2 -0
- package/dist/widgets/control/index.js +2 -0
- package/dist/widgets/craft/AssetPanel.svelte +300 -0
- package/dist/widgets/craft/AssetPanel.svelte.d.ts +28 -0
- package/dist/widgets/craft/CanvasViewport.svelte +528 -0
- package/dist/widgets/craft/CanvasViewport.svelte.d.ts +59 -0
- package/dist/widgets/craft/ContextToolbar.svelte +162 -0
- package/dist/widgets/craft/ContextToolbar.svelte.d.ts +26 -0
- package/dist/widgets/craft/EditorShell.svelte +196 -0
- package/dist/widgets/craft/EditorShell.svelte.d.ts +35 -0
- package/dist/widgets/craft/InspectorSection.svelte +64 -0
- package/dist/widgets/craft/InspectorSection.svelte.d.ts +14 -0
- package/dist/widgets/craft/PageStrip.svelte +280 -0
- package/dist/widgets/craft/PageStrip.svelte.d.ts +22 -0
- package/dist/widgets/craft/PropertyRow.svelte +59 -0
- package/dist/widgets/craft/PropertyRow.svelte.d.ts +14 -0
- package/dist/widgets/craft/ResizeHandle.svelte +67 -0
- package/dist/widgets/craft/ResizeHandle.svelte.d.ts +10 -0
- package/dist/widgets/craft/ToolRail.svelte +163 -0
- package/dist/widgets/craft/ToolRail.svelte.d.ts +19 -0
- package/dist/widgets/craft/TransformBox.svelte +254 -0
- package/dist/widgets/craft/TransformBox.svelte.d.ts +29 -0
- package/dist/widgets/craft/asset-panel.d.ts +53 -0
- package/dist/widgets/craft/asset-panel.js +53 -0
- package/dist/widgets/craft/page-strip.d.ts +12 -0
- package/dist/widgets/craft/page-strip.js +12 -0
- package/dist/widgets/craft/ruler-math.d.ts +12 -0
- package/dist/widgets/craft/ruler-math.js +43 -0
- package/dist/widgets/craft/toolbar-math.d.ts +19 -0
- package/dist/widgets/craft/toolbar-math.js +17 -0
- package/dist/widgets/craft/transform-math.d.ts +16 -0
- package/dist/widgets/craft/transform-math.js +37 -0
- package/dist/widgets/craft/types.d.ts +84 -0
- package/dist/widgets/craft/types.js +24 -0
- package/dist/widgets/craft/viewport-math.d.ts +14 -0
- package/dist/widgets/craft/viewport-math.js +20 -0
- package/dist/widgets/data/Calendar.svelte +771 -0
- package/dist/widgets/data/Calendar.svelte.d.ts +22 -0
- package/dist/widgets/data/Chart.svelte +571 -0
- package/dist/widgets/data/Chart.svelte.d.ts +33 -0
- package/dist/widgets/data/DataGrid.svelte +266 -0
- package/dist/widgets/data/DataGrid.svelte.d.ts +39 -0
- package/dist/widgets/data/DiffTable.svelte +406 -0
- package/dist/widgets/data/DiffTable.svelte.d.ts +33 -0
- package/dist/widgets/data/Funnel.svelte +425 -0
- package/dist/widgets/data/Funnel.svelte.d.ts +21 -0
- package/dist/widgets/data/GanttChart.svelte +717 -0
- package/dist/widgets/data/GanttChart.svelte.d.ts +25 -0
- package/dist/widgets/data/Gauge.svelte +238 -0
- package/dist/widgets/data/Gauge.svelte.d.ts +20 -0
- package/dist/widgets/data/Heatmap.svelte +600 -0
- package/dist/widgets/data/Heatmap.svelte.d.ts +27 -0
- package/dist/widgets/data/Kanban.svelte +585 -0
- package/dist/widgets/data/Kanban.svelte.d.ts +34 -0
- package/dist/widgets/data/Map.svelte +777 -0
- package/dist/widgets/data/Map.svelte.d.ts +82 -0
- package/dist/widgets/data/Sankey.svelte +519 -0
- package/dist/widgets/data/Sankey.svelte.d.ts +25 -0
- package/dist/widgets/data/Seismograph.svelte +269 -0
- package/dist/widgets/data/Seismograph.svelte.d.ts +28 -0
- package/dist/widgets/data/Sparkline.svelte +62 -0
- package/dist/widgets/data/Sparkline.svelte.d.ts +19 -0
- package/dist/widgets/data/Table.svelte +646 -0
- package/dist/widgets/data/Table.svelte.d.ts +59 -0
- package/dist/widgets/data/Tree.svelte +355 -0
- package/dist/widgets/data/Tree.svelte.d.ts +48 -0
- package/dist/widgets/data/TreeTable.svelte +221 -0
- package/dist/widgets/data/TreeTable.svelte.d.ts +26 -0
- package/dist/widgets/data/Treemap.svelte +650 -0
- package/dist/widgets/data/Treemap.svelte.d.ts +24 -0
- package/dist/widgets/data/VirtualList.svelte +137 -0
- package/dist/widgets/data/VirtualList.svelte.d.ts +20 -0
- package/dist/widgets/data/calendar-layout.d.ts +105 -0
- package/dist/widgets/data/calendar-layout.js +269 -0
- package/dist/widgets/data/chart-layout.d.ts +57 -0
- package/dist/widgets/data/chart-layout.js +130 -0
- package/dist/widgets/data/funnel-math.d.ts +57 -0
- package/dist/widgets/data/funnel-math.js +173 -0
- package/dist/widgets/data/gantt-scale.d.ts +86 -0
- package/dist/widgets/data/gantt-scale.js +344 -0
- package/dist/widgets/data/gauge-value.d.ts +43 -0
- package/dist/widgets/data/gauge-value.js +118 -0
- package/dist/widgets/data/heatmap-scale.d.ts +97 -0
- package/dist/widgets/data/heatmap-scale.js +260 -0
- package/dist/widgets/data/index.d.ts +17 -0
- package/dist/widgets/data/index.js +18 -0
- package/dist/widgets/data/kanban-board.d.ts +39 -0
- package/dist/widgets/data/kanban-board.js +118 -0
- package/dist/widgets/data/map-labels.d.ts +18 -0
- package/dist/widgets/data/map-labels.js +74 -0
- package/dist/widgets/data/sankey-layout.d.ts +120 -0
- package/dist/widgets/data/sankey-layout.js +744 -0
- package/dist/widgets/data/treemap.d.ts +72 -0
- package/dist/widgets/data/treemap.js +178 -0
- package/dist/widgets/data-kit/Delta.svelte +49 -0
- package/dist/widgets/data-kit/Delta.svelte.d.ts +15 -0
- package/dist/widgets/data-kit/PhotoTile.svelte +82 -0
- package/dist/widgets/data-kit/PhotoTile.svelte.d.ts +24 -0
- package/dist/widgets/data-kit/SectionCard.svelte +52 -0
- package/dist/widgets/data-kit/SectionCard.svelte.d.ts +14 -0
- package/dist/widgets/data-kit/SectionGrid.svelte +35 -0
- package/dist/widgets/data-kit/SectionGrid.svelte.d.ts +30 -0
- package/dist/widgets/data-kit/StageRail.svelte +166 -0
- package/dist/widgets/data-kit/StageRail.svelte.d.ts +10 -0
- package/dist/widgets/data-kit/StatChip.svelte +67 -0
- package/dist/widgets/data-kit/StatChip.svelte.d.ts +16 -0
- package/dist/widgets/data-kit/StatusPill.svelte +37 -0
- package/dist/widgets/data-kit/StatusPill.svelte.d.ts +9 -0
- package/dist/widgets/data-kit/VerdictLine.svelte +29 -0
- package/dist/widgets/data-kit/VerdictLine.svelte.d.ts +8 -0
- package/dist/widgets/data-kit/edit.d.ts +14 -0
- package/dist/widgets/data-kit/edit.js +27 -0
- package/dist/widgets/data-kit/format.d.ts +53 -0
- package/dist/widgets/data-kit/format.js +132 -0
- package/dist/widgets/data-kit/icons.d.ts +284 -0
- package/dist/widgets/data-kit/icons.js +511 -0
- package/dist/widgets/data-kit/index.d.ts +13 -0
- package/dist/widgets/data-kit/index.js +17 -0
- package/dist/widgets/data-kit/motion.d.ts +18 -0
- package/dist/widgets/data-kit/motion.js +29 -0
- package/dist/widgets/data-kit/pair.d.ts +3 -0
- package/dist/widgets/data-kit/pair.js +19 -0
- package/dist/widgets/data-kit/status.d.ts +18 -0
- package/dist/widgets/data-kit/status.js +49 -0
- package/dist/widgets/data-kit/tint.d.ts +3 -0
- package/dist/widgets/data-kit/tint.js +19 -0
- package/dist/widgets/data-kit/types.d.ts +23 -0
- package/dist/widgets/data-kit/types.js +5 -0
- package/dist/widgets/design-system/DesignSystemEditor.svelte +157 -0
- package/dist/widgets/design-system/DesignSystemEditor.svelte.d.ts +13 -0
- package/dist/widgets/design-system/brand-defaults.d.ts +20 -0
- package/dist/widgets/design-system/brand-defaults.js +96 -0
- package/dist/widgets/design-system/index.d.ts +10 -0
- package/dist/widgets/design-system/index.js +10 -0
- package/dist/widgets/display/ArticleMeta.svelte +84 -0
- package/dist/widgets/display/ArticleMeta.svelte.d.ts +13 -0
- package/dist/widgets/display/Avatar.svelte +87 -0
- package/dist/widgets/display/Avatar.svelte.d.ts +12 -0
- package/dist/widgets/display/Badge.svelte +72 -0
- package/dist/widgets/display/Badge.svelte.d.ts +10 -0
- package/dist/widgets/display/Chip.svelte +142 -0
- package/dist/widgets/display/Chip.svelte.d.ts +20 -0
- package/dist/widgets/display/Code.svelte +39 -0
- package/dist/widgets/display/Code.svelte.d.ts +12 -0
- package/dist/widgets/display/CodeBlock.svelte +234 -0
- package/dist/widgets/display/CodeBlock.svelte.d.ts +25 -0
- package/dist/widgets/display/ComparisonTable.svelte +74 -0
- package/dist/widgets/display/ComparisonTable.svelte.d.ts +23 -0
- package/dist/widgets/display/Copy.svelte +88 -0
- package/dist/widgets/display/Copy.svelte.d.ts +12 -0
- package/dist/widgets/display/DefinitionList.svelte +59 -0
- package/dist/widgets/display/DefinitionList.svelte.d.ts +15 -0
- package/dist/widgets/display/Diff.svelte +236 -0
- package/dist/widgets/display/Diff.svelte.d.ts +24 -0
- package/dist/widgets/display/EmptyState.svelte +119 -0
- package/dist/widgets/display/EmptyState.svelte.d.ts +23 -0
- package/dist/widgets/display/FillGrid.svelte +82 -0
- package/dist/widgets/display/FillGrid.svelte.d.ts +22 -0
- package/dist/widgets/display/GlyphGrid.svelte +149 -0
- package/dist/widgets/display/GlyphGrid.svelte.d.ts +23 -0
- package/dist/widgets/display/Heading.svelte +35 -0
- package/dist/widgets/display/Heading.svelte.d.ts +9 -0
- package/dist/widgets/display/Highlight.svelte +68 -0
- package/dist/widgets/display/Highlight.svelte.d.ts +18 -0
- package/dist/widgets/display/Icon.svelte +68 -0
- package/dist/widgets/display/Icon.svelte.d.ts +17 -0
- package/dist/widgets/display/Illustration.svelte +457 -0
- package/dist/widgets/display/Illustration.svelte.d.ts +29 -0
- package/dist/widgets/display/Image.svelte +37 -0
- package/dist/widgets/display/Image.svelte.d.ts +14 -0
- package/dist/widgets/display/InlineAlert.svelte +118 -0
- package/dist/widgets/display/InlineAlert.svelte.d.ts +22 -0
- package/dist/widgets/display/Kbd.svelte +33 -0
- package/dist/widgets/display/Kbd.svelte.d.ts +10 -0
- package/dist/widgets/display/LedClock.svelte +236 -0
- package/dist/widgets/display/LedClock.svelte.d.ts +24 -0
- package/dist/widgets/display/LinkPreview.svelte +112 -0
- package/dist/widgets/display/LinkPreview.svelte.d.ts +20 -0
- package/dist/widgets/display/Loading.svelte +45 -0
- package/dist/widgets/display/Loading.svelte.d.ts +12 -0
- package/dist/widgets/display/Markdown.svelte +64 -0
- package/dist/widgets/display/Markdown.svelte.d.ts +14 -0
- package/dist/widgets/display/Mention.svelte +139 -0
- package/dist/widgets/display/Mention.svelte.d.ts +21 -0
- package/dist/widgets/display/Metric.svelte +106 -0
- package/dist/widgets/display/Metric.svelte.d.ts +13 -0
- package/dist/widgets/display/Progress.svelte +72 -0
- package/dist/widgets/display/Progress.svelte.d.ts +17 -0
- package/dist/widgets/display/ProgressRing.svelte +116 -0
- package/dist/widgets/display/ProgressRing.svelte.d.ts +22 -0
- package/dist/widgets/display/ProsCons.svelte +60 -0
- package/dist/widgets/display/ProsCons.svelte.d.ts +12 -0
- package/dist/widgets/display/Qr.svelte +136 -0
- package/dist/widgets/display/Qr.svelte.d.ts +22 -0
- package/dist/widgets/display/Quote.svelte +54 -0
- package/dist/widgets/display/Quote.svelte.d.ts +16 -0
- package/dist/widgets/display/RichTextDisplay.svelte +73 -0
- package/dist/widgets/display/RichTextDisplay.svelte.d.ts +11 -0
- package/dist/widgets/display/Skeleton.svelte +36 -0
- package/dist/widgets/display/Skeleton.svelte.d.ts +7 -0
- package/dist/widgets/display/SoulStatus.svelte +148 -0
- package/dist/widgets/display/SoulStatus.svelte.d.ts +17 -0
- package/dist/widgets/display/Stat.svelte +232 -0
- package/dist/widgets/display/Stat.svelte.d.ts +22 -0
- package/dist/widgets/display/StatusDot.svelte +53 -0
- package/dist/widgets/display/StatusDot.svelte.d.ts +14 -0
- package/dist/widgets/display/Steps.svelte +117 -0
- package/dist/widgets/display/Steps.svelte.d.ts +20 -0
- package/dist/widgets/display/StreakBars.svelte +92 -0
- package/dist/widgets/display/StreakBars.svelte.d.ts +28 -0
- package/dist/widgets/display/Text.svelte +98 -0
- package/dist/widgets/display/Text.svelte.d.ts +13 -0
- package/dist/widgets/display/Trend.svelte +42 -0
- package/dist/widgets/display/Trend.svelte.d.ts +14 -0
- package/dist/widgets/display/diff-rows.d.ts +51 -0
- package/dist/widgets/display/diff-rows.js +107 -0
- package/dist/widgets/display/gutter.d.ts +5 -0
- package/dist/widgets/display/gutter.js +18 -0
- package/dist/widgets/display/illustration-contrast.d.ts +16 -0
- package/dist/widgets/display/illustration-contrast.js +162 -0
- package/dist/widgets/display/index.d.ts +39 -0
- package/dist/widgets/display/index.js +40 -0
- package/dist/widgets/display/linkify.d.ts +16 -0
- package/dist/widgets/display/linkify.js +47 -0
- package/dist/widgets/index.d.ts +30 -0
- package/dist/widgets/index.js +481 -0
- package/dist/widgets/input/Button.svelte +336 -0
- package/dist/widgets/input/Button.svelte.d.ts +27 -0
- package/dist/widgets/input/Checkbox.svelte +70 -0
- package/dist/widgets/input/Checkbox.svelte.d.ts +15 -0
- package/dist/widgets/input/CheckboxGroup.svelte +250 -0
- package/dist/widgets/input/CheckboxGroup.svelte.d.ts +20 -0
- package/dist/widgets/input/ChoiceGrid.svelte +150 -0
- package/dist/widgets/input/ChoiceGrid.svelte.d.ts +16 -0
- package/dist/widgets/input/CodeEditor.svelte +146 -0
- package/dist/widgets/input/CodeEditor.svelte.d.ts +17 -0
- package/dist/widgets/input/ColorPicker.svelte +511 -0
- package/dist/widgets/input/ColorPicker.svelte.d.ts +55 -0
- package/dist/widgets/input/Combobox.svelte +174 -0
- package/dist/widgets/input/Combobox.svelte.d.ts +22 -0
- package/dist/widgets/input/DatePicker.svelte +226 -0
- package/dist/widgets/input/DatePicker.svelte.d.ts +18 -0
- package/dist/widgets/input/FileUpload.svelte +197 -0
- package/dist/widgets/input/FileUpload.svelte.d.ts +32 -0
- package/dist/widgets/input/FilterBar.svelte +161 -0
- package/dist/widgets/input/FilterBar.svelte.d.ts +32 -0
- package/dist/widgets/input/Form.svelte +185 -0
- package/dist/widgets/input/Form.svelte.d.ts +55 -0
- package/dist/widgets/input/Input.svelte +190 -0
- package/dist/widgets/input/Input.svelte.d.ts +27 -0
- package/dist/widgets/input/LocationPicker.svelte +247 -0
- package/dist/widgets/input/LocationPicker.svelte.d.ts +28 -0
- package/dist/widgets/input/MultiSelect.svelte +233 -0
- package/dist/widgets/input/MultiSelect.svelte.d.ts +27 -0
- package/dist/widgets/input/NumberInput.svelte +193 -0
- package/dist/widgets/input/NumberInput.svelte.d.ts +30 -0
- package/dist/widgets/input/OtpInput.svelte +148 -0
- package/dist/widgets/input/OtpInput.svelte.d.ts +21 -0
- package/dist/widgets/input/RadioGroup.svelte +66 -0
- package/dist/widgets/input/RadioGroup.svelte.d.ts +20 -0
- package/dist/widgets/input/Rating.svelte +82 -0
- package/dist/widgets/input/Rating.svelte.d.ts +16 -0
- package/dist/widgets/input/RichText.svelte +179 -0
- package/dist/widgets/input/RichText.svelte.d.ts +17 -0
- package/dist/widgets/input/Search.svelte +255 -0
- package/dist/widgets/input/Search.svelte.d.ts +42 -0
- package/dist/widgets/input/Segmented.svelte +205 -0
- package/dist/widgets/input/Segmented.svelte.d.ts +34 -0
- package/dist/widgets/input/Select.svelte +90 -0
- package/dist/widgets/input/Select.svelte.d.ts +20 -0
- package/dist/widgets/input/Slider.svelte +92 -0
- package/dist/widgets/input/Slider.svelte.d.ts +17 -0
- package/dist/widgets/input/Switch.svelte +138 -0
- package/dist/widgets/input/Switch.svelte.d.ts +15 -0
- package/dist/widgets/input/Textarea.svelte +84 -0
- package/dist/widgets/input/Textarea.svelte.d.ts +20 -0
- package/dist/widgets/input/TimePicker.svelte +224 -0
- package/dist/widgets/input/TimePicker.svelte.d.ts +18 -0
- package/dist/widgets/input/choice-grid.d.ts +12 -0
- package/dist/widgets/input/choice-grid.js +1 -0
- package/dist/widgets/input/color-math.d.ts +25 -0
- package/dist/widgets/input/color-math.js +59 -0
- package/dist/widgets/input/field-name.d.ts +4 -0
- package/dist/widgets/input/field-name.js +14 -0
- package/dist/widgets/input/index.d.ts +25 -0
- package/dist/widgets/input/index.js +25 -0
- package/dist/widgets/interactive/DrawingCanvas.svelte +279 -0
- package/dist/widgets/interactive/DrawingCanvas.svelte.d.ts +14 -0
- package/dist/widgets/interactive/Flashcard.svelte +140 -0
- package/dist/widgets/interactive/Flashcard.svelte.d.ts +21 -0
- package/dist/widgets/interactive/Timer.svelte +157 -0
- package/dist/widgets/interactive/Timer.svelte.d.ts +15 -0
- package/dist/widgets/interactive/TodoList.svelte +181 -0
- package/dist/widgets/interactive/TodoList.svelte.d.ts +25 -0
- package/dist/widgets/interactive/index.d.ts +4 -0
- package/dist/widgets/interactive/index.js +10 -0
- package/dist/widgets/layout/Accordion.svelte +76 -0
- package/dist/widgets/layout/Accordion.svelte.d.ts +20 -0
- package/dist/widgets/layout/AppShell.svelte +56 -0
- package/dist/widgets/layout/AppShell.svelte.d.ts +15 -0
- package/dist/widgets/layout/Breadcrumb.svelte +92 -0
- package/dist/widgets/layout/Breadcrumb.svelte.d.ts +21 -0
- package/dist/widgets/layout/Card.svelte +143 -0
- package/dist/widgets/layout/Card.svelte.d.ts +19 -0
- package/dist/widgets/layout/Collapsible.svelte +76 -0
- package/dist/widgets/layout/Collapsible.svelte.d.ts +18 -0
- package/dist/widgets/layout/Container.svelte +44 -0
- package/dist/widgets/layout/Container.svelte.d.ts +11 -0
- package/dist/widgets/layout/Dashboard.svelte +97 -0
- package/dist/widgets/layout/Dashboard.svelte.d.ts +17 -0
- package/dist/widgets/layout/DashboardSlot.svelte +33 -0
- package/dist/widgets/layout/DashboardSlot.svelte.d.ts +12 -0
- package/dist/widgets/layout/Flex.svelte +101 -0
- package/dist/widgets/layout/Flex.svelte.d.ts +18 -0
- package/dist/widgets/layout/GlassCard.svelte +112 -0
- package/dist/widgets/layout/GlassCard.svelte.d.ts +17 -0
- package/dist/widgets/layout/Grid.svelte +105 -0
- package/dist/widgets/layout/Grid.svelte.d.ts +14 -0
- package/dist/widgets/layout/Hero.svelte +63 -0
- package/dist/widgets/layout/Hero.svelte.d.ts +16 -0
- package/dist/widgets/layout/ListRow.svelte +162 -0
- package/dist/widgets/layout/ListRow.svelte.d.ts +28 -0
- package/dist/widgets/layout/MasterDetail.svelte +136 -0
- package/dist/widgets/layout/MasterDetail.svelte.d.ts +35 -0
- package/dist/widgets/layout/Modal.svelte +104 -0
- package/dist/widgets/layout/Modal.svelte.d.ts +16 -0
- package/dist/widgets/layout/PageHeader.svelte +107 -0
- package/dist/widgets/layout/PageHeader.svelte.d.ts +26 -0
- package/dist/widgets/layout/PanelHeader.svelte +76 -0
- package/dist/widgets/layout/PanelHeader.svelte.d.ts +19 -0
- package/dist/widgets/layout/Section.svelte +41 -0
- package/dist/widgets/layout/Section.svelte.d.ts +13 -0
- package/dist/widgets/layout/SectionHeader.svelte +95 -0
- package/dist/widgets/layout/SectionHeader.svelte.d.ts +18 -0
- package/dist/widgets/layout/Separator.svelte +69 -0
- package/dist/widgets/layout/Separator.svelte.d.ts +10 -0
- package/dist/widgets/layout/Sheet.svelte +64 -0
- package/dist/widgets/layout/Sheet.svelte.d.ts +23 -0
- package/dist/widgets/layout/Sidebar.svelte +146 -0
- package/dist/widgets/layout/Sidebar.svelte.d.ts +31 -0
- package/dist/widgets/layout/Split.svelte +183 -0
- package/dist/widgets/layout/Split.svelte.d.ts +25 -0
- package/dist/widgets/layout/Tabs.svelte +90 -0
- package/dist/widgets/layout/Tabs.svelte.d.ts +23 -0
- package/dist/widgets/layout/index.d.ts +21 -0
- package/dist/widgets/layout/index.js +22 -0
- package/dist/widgets/marketing/Cta.svelte +22 -0
- package/dist/widgets/marketing/Cta.svelte.d.ts +13 -0
- package/dist/widgets/marketing/Faq.svelte +71 -0
- package/dist/widgets/marketing/Faq.svelte.d.ts +16 -0
- package/dist/widgets/marketing/FeatureGrid.svelte +52 -0
- package/dist/widgets/marketing/FeatureGrid.svelte.d.ts +16 -0
- package/dist/widgets/marketing/Footer.svelte +33 -0
- package/dist/widgets/marketing/Footer.svelte.d.ts +18 -0
- package/dist/widgets/marketing/Hero.svelte +206 -0
- package/dist/widgets/marketing/Hero.svelte.d.ts +31 -0
- package/dist/widgets/marketing/LogoCloud.svelte +30 -0
- package/dist/widgets/marketing/LogoCloud.svelte.d.ts +15 -0
- package/dist/widgets/marketing/Navbar.svelte +46 -0
- package/dist/widgets/marketing/Navbar.svelte.d.ts +23 -0
- package/dist/widgets/marketing/Newsletter.svelte +32 -0
- package/dist/widgets/marketing/Newsletter.svelte.d.ts +13 -0
- package/dist/widgets/marketing/Testimonial.svelte +26 -0
- package/dist/widgets/marketing/Testimonial.svelte.d.ts +12 -0
- package/dist/widgets/marketing/index.d.ts +9 -0
- package/dist/widgets/marketing/index.js +14 -0
- package/dist/widgets/media/AudioPlayer.svelte +236 -0
- package/dist/widgets/media/AudioPlayer.svelte.d.ts +19 -0
- package/dist/widgets/media/Embed.svelte +205 -0
- package/dist/widgets/media/Embed.svelte.d.ts +41 -0
- package/dist/widgets/media/ModelViewer.svelte +409 -0
- package/dist/widgets/media/ModelViewer.svelte.d.ts +36 -0
- package/dist/widgets/media/VideoPlayer.svelte +255 -0
- package/dist/widgets/media/VideoPlayer.svelte.d.ts +21 -0
- package/dist/widgets/media/index.d.ts +4 -0
- package/dist/widgets/media/index.js +12 -0
- package/dist/widgets/media/model-asset-types.d.ts +41 -0
- package/dist/widgets/media/model-asset-types.js +23 -0
- package/dist/widgets/media/model-assets.d.ts +2 -0
- package/dist/widgets/media/model-assets.js +501 -0
- package/dist/widgets/motion/Parallax.svelte +39 -0
- package/dist/widgets/motion/Parallax.svelte.d.ts +13 -0
- package/dist/widgets/motion/Reveal.svelte +44 -0
- package/dist/widgets/motion/Reveal.svelte.d.ts +15 -0
- package/dist/widgets/motion/index.d.ts +2 -0
- package/dist/widgets/motion/index.js +4 -0
- package/dist/widgets/overlay/Alert.svelte +77 -0
- package/dist/widgets/overlay/Alert.svelte.d.ts +18 -0
- package/dist/widgets/overlay/Coachmark.svelte +146 -0
- package/dist/widgets/overlay/Coachmark.svelte.d.ts +26 -0
- package/dist/widgets/overlay/CommandPalette.svelte +369 -0
- package/dist/widgets/overlay/CommandPalette.svelte.d.ts +35 -0
- package/dist/widgets/overlay/ConfirmDialog.svelte +77 -0
- package/dist/widgets/overlay/ConfirmDialog.svelte.d.ts +3 -0
- package/dist/widgets/overlay/ContextMenu.svelte +153 -0
- package/dist/widgets/overlay/ContextMenu.svelte.d.ts +24 -0
- package/dist/widgets/overlay/DropdownMenu.svelte +128 -0
- package/dist/widgets/overlay/DropdownMenu.svelte.d.ts +33 -0
- package/dist/widgets/overlay/ErrorState.svelte +121 -0
- package/dist/widgets/overlay/ErrorState.svelte.d.ts +19 -0
- package/dist/widgets/overlay/HoverCard.svelte +71 -0
- package/dist/widgets/overlay/HoverCard.svelte.d.ts +20 -0
- package/dist/widgets/overlay/NotificationCenter.svelte +178 -0
- package/dist/widgets/overlay/NotificationCenter.svelte.d.ts +28 -0
- package/dist/widgets/overlay/Popover.svelte +69 -0
- package/dist/widgets/overlay/Popover.svelte.d.ts +20 -0
- package/dist/widgets/overlay/Toast.svelte +91 -0
- package/dist/widgets/overlay/Toast.svelte.d.ts +11 -0
- package/dist/widgets/overlay/Tooltip.svelte +70 -0
- package/dist/widgets/overlay/Tooltip.svelte.d.ts +23 -0
- package/dist/widgets/overlay/index.d.ts +18 -0
- package/dist/widgets/overlay/index.js +18 -0
- package/dist/widgets/overlay/palette-search.d.ts +33 -0
- package/dist/widgets/overlay/palette-search.js +94 -0
- package/dist/widgets/premium/AnimatedBeam.svelte +63 -0
- package/dist/widgets/premium/AnimatedBeam.svelte.d.ts +16 -0
- package/dist/widgets/premium/Aurora.svelte +66 -0
- package/dist/widgets/premium/Aurora.svelte.d.ts +15 -0
- package/dist/widgets/premium/BentoGrid.svelte +46 -0
- package/dist/widgets/premium/BentoGrid.svelte.d.ts +20 -0
- package/dist/widgets/premium/BorderBeam.svelte +61 -0
- package/dist/widgets/premium/BorderBeam.svelte.d.ts +19 -0
- package/dist/widgets/premium/Marquee.svelte +52 -0
- package/dist/widgets/premium/Marquee.svelte.d.ts +19 -0
- package/dist/widgets/premium/Shimmer.svelte +106 -0
- package/dist/widgets/premium/Shimmer.svelte.d.ts +15 -0
- package/dist/widgets/premium/Spotlight.svelte +82 -0
- package/dist/widgets/premium/Spotlight.svelte.d.ts +15 -0
- package/dist/widgets/premium/TextEffect.svelte +63 -0
- package/dist/widgets/premium/TextEffect.svelte.d.ts +18 -0
- package/dist/widgets/premium/index.d.ts +8 -0
- package/dist/widgets/premium/index.js +11 -0
- package/dist/widgets/research/AnalystBar.svelte +141 -0
- package/dist/widgets/research/AnalystBar.svelte.d.ts +18 -0
- package/dist/widgets/research/Callout.svelte +84 -0
- package/dist/widgets/research/Callout.svelte.d.ts +14 -0
- package/dist/widgets/research/Citation.svelte +114 -0
- package/dist/widgets/research/Citation.svelte.d.ts +19 -0
- package/dist/widgets/research/CompanyHeader.svelte +236 -0
- package/dist/widgets/research/CompanyHeader.svelte.d.ts +30 -0
- package/dist/widgets/research/DiscoverCard.svelte +129 -0
- package/dist/widgets/research/DiscoverCard.svelte.d.ts +19 -0
- package/dist/widgets/research/FollowUp.svelte +123 -0
- package/dist/widgets/research/FollowUp.svelte.d.ts +15 -0
- package/dist/widgets/research/KvTable.svelte +95 -0
- package/dist/widgets/research/KvTable.svelte.d.ts +18 -0
- package/dist/widgets/research/NewsCard.svelte +144 -0
- package/dist/widgets/research/NewsCard.svelte.d.ts +21 -0
- package/dist/widgets/research/RangeBar.svelte +128 -0
- package/dist/widgets/research/RangeBar.svelte.d.ts +24 -0
- package/dist/widgets/research/SourceCard.svelte +129 -0
- package/dist/widgets/research/SourceCard.svelte.d.ts +19 -0
- package/dist/widgets/research/SourcesBar.svelte +477 -0
- package/dist/widgets/research/SourcesBar.svelte.d.ts +25 -0
- package/dist/widgets/research/Ticker.svelte +90 -0
- package/dist/widgets/research/Ticker.svelte.d.ts +16 -0
- package/dist/widgets/research/Timeline.svelte +154 -0
- package/dist/widgets/research/Timeline.svelte.d.ts +25 -0
- package/dist/widgets/research/index.d.ts +13 -0
- package/dist/widgets/research/index.js +13 -0
- package/dist/widgets/research/sources.d.ts +37 -0
- package/dist/widgets/research/sources.js +141 -0
- package/dist/widgets/text-coerce.d.ts +1 -0
- package/dist/widgets/text-coerce.js +7 -0
- package/dist/widgets/validate-catalog-bound.d.ts +26 -0
- package/dist/widgets/validate-catalog-bound.js +36 -0
- package/dist/widgets/vertical/ApiKey.svelte +131 -0
- package/dist/widgets/vertical/ApiKey.svelte.d.ts +21 -0
- package/dist/widgets/vertical/AuditLog.svelte +750 -0
- package/dist/widgets/vertical/AuditLog.svelte.d.ts +30 -0
- package/dist/widgets/vertical/BulkActionBar.svelte +406 -0
- package/dist/widgets/vertical/BulkActionBar.svelte.d.ts +24 -0
- package/dist/widgets/vertical/CommentThread.svelte +109 -0
- package/dist/widgets/vertical/CommentThread.svelte.d.ts +22 -0
- package/dist/widgets/vertical/InvoiceLines.svelte +220 -0
- package/dist/widgets/vertical/InvoiceLines.svelte.d.ts +20 -0
- package/dist/widgets/vertical/OrgChart.svelte +537 -0
- package/dist/widgets/vertical/OrgChart.svelte.d.ts +20 -0
- package/dist/widgets/vertical/PeoplePicker.svelte +233 -0
- package/dist/widgets/vertical/PeoplePicker.svelte.d.ts +26 -0
- package/dist/widgets/vertical/PermissionMatrix.svelte +119 -0
- package/dist/widgets/vertical/PermissionMatrix.svelte.d.ts +29 -0
- package/dist/widgets/vertical/PricingTable.svelte +174 -0
- package/dist/widgets/vertical/PricingTable.svelte.d.ts +32 -0
- package/dist/widgets/vertical/SavedViews.svelte +319 -0
- package/dist/widgets/vertical/SavedViews.svelte.d.ts +25 -0
- package/dist/widgets/vertical/SettingsList.svelte +84 -0
- package/dist/widgets/vertical/SettingsList.svelte.d.ts +20 -0
- package/dist/widgets/vertical/audit-log-data.d.ts +91 -0
- package/dist/widgets/vertical/audit-log-data.js +290 -0
- package/dist/widgets/vertical/bulk-action-bar.d.ts +37 -0
- package/dist/widgets/vertical/bulk-action-bar.js +105 -0
- package/dist/widgets/vertical/index.d.ts +11 -0
- package/dist/widgets/vertical/index.js +11 -0
- package/dist/widgets/vertical/invoice-math.d.ts +39 -0
- package/dist/widgets/vertical/invoice-math.js +67 -0
- package/dist/widgets/vertical/org-chart-layout.d.ts +52 -0
- package/dist/widgets/vertical/org-chart-layout.js +192 -0
- package/dist/widgets/vertical/saved-views.d.ts +22 -0
- package/dist/widgets/vertical/saved-views.js +77 -0
- package/dist/widgets/workflow/WorkflowEdge.svelte +77 -0
- package/dist/widgets/workflow/WorkflowEdge.svelte.d.ts +4 -0
- package/dist/widgets/workflow/WorkflowNode.svelte +173 -0
- package/dist/widgets/workflow/WorkflowNode.svelte.d.ts +9 -0
- package/dist/widgets/workflow/index.d.ts +4 -0
- package/dist/widgets/workflow/index.js +4 -0
- package/dist/widgets/workflow/layout.d.ts +192 -0
- package/dist/widgets/workflow/layout.js +845 -0
- package/dist/widgets/workflow/types.d.ts +40 -0
- package/dist/widgets/workflow/types.js +4 -0
- package/package.json +177 -4
|
@@ -0,0 +1,1543 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@file ExecDashboard.svelte
|
|
3
|
+
@description Executive / KPI dashboard (`exec-dashboard`, aliases
|
|
4
|
+
`kpi-dashboard`, `executive-dashboard`). Two modes:
|
|
5
|
+
|
|
6
|
+
- Rows mode (a spec with `rows`): the model writes raw records plus
|
|
7
|
+
`measures`, `dimensions`, `x`, `split` and optional `compare` rows, and
|
|
8
|
+
ExecDashboardRows computes every KPI, trend, chart series, breakdown and
|
|
9
|
+
table total from the filtered rows (logic in exec-dashboard.ts). `filters`
|
|
10
|
+
is the bound field (contract event `onfilterschange`); a spec's
|
|
11
|
+
`on_filter` gets `{ key, value }`.
|
|
12
|
+
- KPI mode (no `rows`): the original prebuilt archetype. Header (title, date
|
|
13
|
+
range chips, granularity, refresh, actions), KPI strip with sparklines and
|
|
14
|
+
`byKey` overrides, primary chart plus activity rail, secondary charts and a
|
|
15
|
+
table footer, all drawn from props as given.
|
|
16
|
+
|
|
17
|
+
Events: the date-range chip fires both `ondaterangechange` (what a spec's
|
|
18
|
+
`on_date_range_change` becomes) and the camel-cased `ondateRangeChange`, which
|
|
19
|
+
stays separate so a bind writer and a spec handler never replace each other.
|
|
20
|
+
A visitor's chip picks (range, granularity, activity filter) hold across a
|
|
21
|
+
re-sent spec and give way only to a different value from the spec. Layout
|
|
22
|
+
reads the widget's own width through container queries (KPI tiles two a
|
|
23
|
+
row below 480px; four tiles stay two by two until all four fit in a row).
|
|
24
|
+
The title is an h2: a card never takes its page's h1.
|
|
25
|
+
KPI values wrap at spaces (the sparkline narrows to 44px, then drops under
|
|
26
|
+
the value), their notes and activity labels wrap instead of cutting, and
|
|
27
|
+
the KPI-mode table footer stacks into a list below 480px. The refresh icon's
|
|
28
|
+
spin stops under prefers-reduced-motion.
|
|
29
|
+
-->
|
|
30
|
+
<script lang="ts">
|
|
31
|
+
import { safeStyle } from '@ripple-ui/core';
|
|
32
|
+
import { getContext } from 'svelte';
|
|
33
|
+
import { cn } from '../../utils.js';
|
|
34
|
+
import { safeArray } from '../../utils/safe-props.js';
|
|
35
|
+
import Icon from '../display/Icon.svelte';
|
|
36
|
+
import Chart from '../data/Chart.svelte';
|
|
37
|
+
import Sparkline from '../data/Sparkline.svelte';
|
|
38
|
+
import Table from '../data/Table.svelte';
|
|
39
|
+
import type { EventHandler, EventHandlerOrArray } from '@ripple-ui/core';
|
|
40
|
+
import type { EventDispatcher } from '@ripple-ui/core';
|
|
41
|
+
import type { StateManager } from '../../core/state-manager.svelte.js';
|
|
42
|
+
import VerdictLine from '../data-kit/VerdictLine.svelte';
|
|
43
|
+
import type { Verdict } from '../data-kit/types.js';
|
|
44
|
+
import ExecDashboardRows from './ExecDashboardRows.svelte';
|
|
45
|
+
import { readFilters, type Filters } from './exec-dashboard.js';
|
|
46
|
+
|
|
47
|
+
type Trend = 'up' | 'down' | 'flat';
|
|
48
|
+
type ChartType = 'bar' | 'line' | 'area' | 'pie' | 'donut' | 'radar' | 'heatmap';
|
|
49
|
+
type Severity = 'info' | 'success' | 'warning' | 'destructive';
|
|
50
|
+
type Status = 'normal' | 'success' | 'warning' | 'critical';
|
|
51
|
+
type Density = 'comfortable' | 'compact';
|
|
52
|
+
|
|
53
|
+
interface Action {
|
|
54
|
+
id?: string;
|
|
55
|
+
label: string;
|
|
56
|
+
icon?: string;
|
|
57
|
+
variant?: 'default' | 'outline' | 'ghost';
|
|
58
|
+
actions?: EventHandlerOrArray;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Per-key override for KPI fields. Keyed by activeDateRange, activeGranularity,
|
|
63
|
+
* or a combined "range|granularity" string. The component falls back through
|
|
64
|
+
* specificity when a key isn't found.
|
|
65
|
+
*
|
|
66
|
+
* Declared standalone (not as `Pick<Kpi, ...>`) to keep the Props type
|
|
67
|
+
* inlinable during `.d.ts` emit — a Pick-of-Kpi reference forces the
|
|
68
|
+
* compiler to retain `Kpi` as a private named symbol in the public type.
|
|
69
|
+
*/
|
|
70
|
+
interface KpiOverride {
|
|
71
|
+
value?: string | number;
|
|
72
|
+
unit?: string;
|
|
73
|
+
delta?: string;
|
|
74
|
+
trend?: Trend;
|
|
75
|
+
compareLabel?: string;
|
|
76
|
+
sparkline?: number[];
|
|
77
|
+
sublabel?: string;
|
|
78
|
+
status?: Status;
|
|
79
|
+
target?: string | number;
|
|
80
|
+
progress?: number;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
interface Kpi {
|
|
84
|
+
id?: string;
|
|
85
|
+
label: string;
|
|
86
|
+
value: string | number;
|
|
87
|
+
/** Optional unit, e.g. '$', '%', 'ms'. Rendered after the value with a subtle style. */
|
|
88
|
+
unit?: string;
|
|
89
|
+
delta?: string;
|
|
90
|
+
trend?: Trend;
|
|
91
|
+
/** Optional context for the delta (e.g. "vs last month"). */
|
|
92
|
+
compareLabel?: string;
|
|
93
|
+
sparkline?: number[];
|
|
94
|
+
/** Override accent color (e.g. brand color). */
|
|
95
|
+
color?: string;
|
|
96
|
+
/** Optional leading icon next to the label. */
|
|
97
|
+
icon?: string;
|
|
98
|
+
sublabel?: string;
|
|
99
|
+
/** Status band on the left edge — useful for threshold alerting. */
|
|
100
|
+
status?: Status;
|
|
101
|
+
/** Goal/threshold for the KPI; renders alongside `progress`. */
|
|
102
|
+
target?: string | number;
|
|
103
|
+
/** Progress toward target (0–100). Renders a thin progress bar. */
|
|
104
|
+
progress?: number;
|
|
105
|
+
/**
|
|
106
|
+
* Per-key value overrides. The map is keyed by activeDateRange,
|
|
107
|
+
* activeGranularity, or "<range>|<granularity>". When the active state
|
|
108
|
+
* matches a key, those fields override the base values.
|
|
109
|
+
*
|
|
110
|
+
* The value type allows `undefined` so that consumers can write
|
|
111
|
+
* heterogeneous literal maps (some KPIs only cover a subset of keys)
|
|
112
|
+
* without TypeScript widening issues.
|
|
113
|
+
*/
|
|
114
|
+
byKey?: { [key: string]: KpiOverride | undefined };
|
|
115
|
+
actions?: EventHandlerOrArray;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
interface DataPoint {
|
|
119
|
+
label: string;
|
|
120
|
+
value?: number;
|
|
121
|
+
series?: Record<string, number>;
|
|
122
|
+
[key: string]: unknown;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Chart data can be a flat array OR a record keyed by activeDateRange,
|
|
127
|
+
* activeGranularity, or "<range>|<granularity>". The component picks the
|
|
128
|
+
* most specific match. Values may be `undefined` to permit literal maps
|
|
129
|
+
* with gaps without TypeScript widening pain.
|
|
130
|
+
*/
|
|
131
|
+
type ChartData = DataPoint[] | { [key: string]: DataPoint[] | undefined };
|
|
132
|
+
|
|
133
|
+
interface ChartConfig {
|
|
134
|
+
title?: string;
|
|
135
|
+
type?: ChartType;
|
|
136
|
+
data: ChartData;
|
|
137
|
+
height?: number;
|
|
138
|
+
colors?: string[];
|
|
139
|
+
/** Series keys drawn as a reference (target, plan): muted and dashed. */
|
|
140
|
+
reference?: string | string[];
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
interface ActivityItem {
|
|
144
|
+
id?: string;
|
|
145
|
+
time: string;
|
|
146
|
+
label: string;
|
|
147
|
+
actor?: string;
|
|
148
|
+
icon?: string;
|
|
149
|
+
severity?: Severity;
|
|
150
|
+
/** Optional category — surfaces in activity filter auto-derivation. */
|
|
151
|
+
category?: string;
|
|
152
|
+
/** Highlights the item with a stronger weight and an unread dot. */
|
|
153
|
+
unread?: boolean;
|
|
154
|
+
actions?: EventHandlerOrArray;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
type TableRows =
|
|
158
|
+
| Record<string, unknown>[]
|
|
159
|
+
| { [key: string]: Record<string, unknown>[] | undefined };
|
|
160
|
+
|
|
161
|
+
/** KPI mode: `columns` and `rows` render as given. Rows mode: only `title` and `columns` are read. */
|
|
162
|
+
interface TableConfig {
|
|
163
|
+
title?: string;
|
|
164
|
+
columns?: { key: string; label: string; align?: 'left' | 'right' | 'center' }[];
|
|
165
|
+
rows?: TableRows;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
interface EmptyState {
|
|
169
|
+
title?: string;
|
|
170
|
+
message?: string;
|
|
171
|
+
icon?: string;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
interface Props {
|
|
175
|
+
id?: string;
|
|
176
|
+
class?: string;
|
|
177
|
+
style?: Record<string, string>;
|
|
178
|
+
title?: string;
|
|
179
|
+
subtitle?: string;
|
|
180
|
+
/** Single chip — used when no `dateRanges` preset list is provided. */
|
|
181
|
+
dateRange?: string;
|
|
182
|
+
/** Preset chips that switch via segmented control. e.g. ['Today','7d','30d','90d','YTD']. */
|
|
183
|
+
dateRanges?: string[];
|
|
184
|
+
/** Active preset (two-way bindable). */
|
|
185
|
+
activeDateRange?: string;
|
|
186
|
+
/** Optional granularity toggle (e.g. ['Day','Week','Month']). */
|
|
187
|
+
granularities?: string[];
|
|
188
|
+
/** Active granularity (two-way bindable). */
|
|
189
|
+
activeGranularity?: string;
|
|
190
|
+
/** Optional activity-rail filter chips (e.g. ['All','Mine','Alerts']). */
|
|
191
|
+
activityFilters?: string[];
|
|
192
|
+
/** Active activity filter (two-way bindable). */
|
|
193
|
+
activeActivityFilter?: string;
|
|
194
|
+
/** Show built-in refresh button. Default true. */
|
|
195
|
+
showRefresh?: boolean;
|
|
196
|
+
/** Actions dispatched when refresh clicked. */
|
|
197
|
+
refreshActions?: EventHandlerOrArray;
|
|
198
|
+
/** Human-readable "last updated" timestamp shown near the refresh button. */
|
|
199
|
+
lastUpdated?: string;
|
|
200
|
+
/** Render skeleton placeholders across the dashboard. */
|
|
201
|
+
loading?: boolean;
|
|
202
|
+
/** Render an error message in place of dashboard content. */
|
|
203
|
+
error?: string;
|
|
204
|
+
/** Density preset — 'compact' reduces padding & font sizes for dense ops/finance views. */
|
|
205
|
+
density?: Density;
|
|
206
|
+
/** Empty state shown when nothing is present. */
|
|
207
|
+
empty?: EmptyState;
|
|
208
|
+
actions?: Action[];
|
|
209
|
+
kpis?: Kpi[];
|
|
210
|
+
primaryChart?: ChartConfig;
|
|
211
|
+
activity?: ActivityItem[];
|
|
212
|
+
activityTitle?: string;
|
|
213
|
+
charts?: ChartConfig[];
|
|
214
|
+
table?: TableConfig;
|
|
215
|
+
/** The answer up front: one model-written sentence, at most 140 chars. */
|
|
216
|
+
verdict?: Verdict;
|
|
217
|
+
/** ISO 4217 code for money measures in rows mode. Default USD. */
|
|
218
|
+
currency?: string;
|
|
219
|
+
/** Rows mode: raw records, e.g. orders `{ date, region, channel, amount }`. */
|
|
220
|
+
rows?: Record<string, unknown>[];
|
|
221
|
+
/** Rows mode: what to compute, in order; the first is the chart and breakdown measure. */
|
|
222
|
+
measures?: { key?: string; label: string; format?: 'money' | 'number' | 'percent'; agg?: 'sum' | 'avg' | 'count'; good?: 'up' | 'down' }[];
|
|
223
|
+
/** Rows mode: filter chip rows, in order. */
|
|
224
|
+
dimensions?: { key: string; label: string }[];
|
|
225
|
+
/** Rows mode: the time (or label) column the chart runs along. */
|
|
226
|
+
x?: string;
|
|
227
|
+
/** Rows mode: a column that stacks the chart by entity colour. */
|
|
228
|
+
split?: string;
|
|
229
|
+
/** Rows mode: the previous period's rows, for KPI trends. */
|
|
230
|
+
compare?: Record<string, unknown>[];
|
|
231
|
+
/** Rows mode: trend wording, e.g. "vs Q2". */
|
|
232
|
+
compareLabel?: string;
|
|
233
|
+
/** Rows mode: the active filter per dimension (the bound field). */
|
|
234
|
+
filters?: Filters;
|
|
235
|
+
onfilterschange?: (filters: Filters) => void;
|
|
236
|
+
onfilter?: (pick: { key: string; value: string | null }) => void;
|
|
237
|
+
onaction?: (id: string) => void;
|
|
238
|
+
onkpiclick?: (id: string) => void;
|
|
239
|
+
onactivityclick?: (id: string) => void;
|
|
240
|
+
ondateRangeChange?: (range: string) => void;
|
|
241
|
+
ondaterangechange?: (range: string) => void;
|
|
242
|
+
ongranularitychange?: (g: string) => void;
|
|
243
|
+
onactivityfilterchange?: (f: string) => void;
|
|
244
|
+
onrefresh?: () => void;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
let {
|
|
248
|
+
id,
|
|
249
|
+
class: className,
|
|
250
|
+
style,
|
|
251
|
+
title,
|
|
252
|
+
subtitle,
|
|
253
|
+
dateRange,
|
|
254
|
+
dateRanges,
|
|
255
|
+
activeDateRange = $bindable(),
|
|
256
|
+
granularities,
|
|
257
|
+
activeGranularity = $bindable(),
|
|
258
|
+
activityFilters,
|
|
259
|
+
activeActivityFilter = $bindable(),
|
|
260
|
+
showRefresh: showRefreshProp,
|
|
261
|
+
refreshActions,
|
|
262
|
+
lastUpdated,
|
|
263
|
+
loading = false,
|
|
264
|
+
error,
|
|
265
|
+
density = 'comfortable',
|
|
266
|
+
empty,
|
|
267
|
+
actions: rawActions = [],
|
|
268
|
+
kpis: rawKpis = [],
|
|
269
|
+
primaryChart,
|
|
270
|
+
activity: rawActivity = [],
|
|
271
|
+
activityTitle = 'Recent activity',
|
|
272
|
+
charts: rawCharts = [],
|
|
273
|
+
table,
|
|
274
|
+
verdict,
|
|
275
|
+
currency,
|
|
276
|
+
rows,
|
|
277
|
+
measures,
|
|
278
|
+
dimensions,
|
|
279
|
+
x,
|
|
280
|
+
split,
|
|
281
|
+
compare,
|
|
282
|
+
compareLabel,
|
|
283
|
+
filters = $bindable(),
|
|
284
|
+
onfilterschange,
|
|
285
|
+
onfilter,
|
|
286
|
+
onaction,
|
|
287
|
+
onkpiclick,
|
|
288
|
+
onactivityclick,
|
|
289
|
+
ondateRangeChange,
|
|
290
|
+
ondaterangechange,
|
|
291
|
+
ongranularitychange,
|
|
292
|
+
onactivityfilterchange,
|
|
293
|
+
onrefresh
|
|
294
|
+
}: Props = $props();
|
|
295
|
+
|
|
296
|
+
// Rows mode starts at the `rows` key, even while it is still empty mid-stream.
|
|
297
|
+
const rowsMode = $derived(rows !== undefined && rows !== null);
|
|
298
|
+
// A refresh button with nothing to refresh is noise; rows mode leaves it off.
|
|
299
|
+
const showRefresh = $derived(showRefreshProp ?? !rowsMode);
|
|
300
|
+
|
|
301
|
+
const actions = $derived(safeArray<Action>(rawActions, { widget: 'exec-dashboard', key: 'actions' }));
|
|
302
|
+
const kpis = $derived(safeArray<Kpi>(rawKpis, { widget: 'exec-dashboard', key: 'kpis' }));
|
|
303
|
+
const activity = $derived(safeArray<ActivityItem>(rawActivity, { widget: 'exec-dashboard', key: 'activity' }));
|
|
304
|
+
const charts = $derived(safeArray<ChartConfig>(rawCharts, { widget: 'exec-dashboard', key: 'charts' }));
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Auto-derive activity filters from `activity[].category` when the user
|
|
308
|
+
* doesn't supply an explicit `activityFilters` list. Always prepended with "All".
|
|
309
|
+
*/
|
|
310
|
+
const effectiveActivityFilters = $derived.by<string[] | undefined>(() => {
|
|
311
|
+
if (activityFilters && activityFilters.length > 0) return activityFilters;
|
|
312
|
+
const cats = new Set<string>();
|
|
313
|
+
for (const a of activity) if (a.category) cats.add(a.category);
|
|
314
|
+
if (cats.size === 0) return undefined;
|
|
315
|
+
return ['All', ...Array.from(cats)];
|
|
316
|
+
});
|
|
317
|
+
|
|
318
|
+
const hasAnyContent = $derived(
|
|
319
|
+
kpis.length > 0 || !!primaryChart || activity.length > 0 || charts.length > 0 || !!table
|
|
320
|
+
);
|
|
321
|
+
|
|
322
|
+
$effect(() => {
|
|
323
|
+
if (dateRanges && dateRanges.length > 0 && (!activeDateRange || !dateRanges.includes(activeDateRange))) {
|
|
324
|
+
activeDateRange = dateRanges[0];
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
$effect(() => {
|
|
328
|
+
if (granularities && granularities.length > 0 && (!activeGranularity || !granularities.includes(activeGranularity))) {
|
|
329
|
+
activeGranularity = granularities[0];
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
$effect(() => {
|
|
333
|
+
const list = effectiveActivityFilters;
|
|
334
|
+
if (list && list.length > 0 && (!activeActivityFilter || !list.includes(activeActivityFilter))) {
|
|
335
|
+
activeActivityFilter = list[0];
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
const styleString = $derived(
|
|
340
|
+
style ? Object.entries(style).map(([k, v]) => `${k}:${v}`).join(';') : undefined
|
|
341
|
+
);
|
|
342
|
+
|
|
343
|
+
const eventDispatcher = getContext<EventDispatcher | undefined>('ui-events');
|
|
344
|
+
const stateManager = getContext<StateManager | undefined>('ui-state');
|
|
345
|
+
|
|
346
|
+
const SEV_DOT: Record<Severity, string> = {
|
|
347
|
+
info: 'bg-sky-500',
|
|
348
|
+
success: 'bg-emerald-500',
|
|
349
|
+
warning: 'bg-amber-500',
|
|
350
|
+
destructive: 'bg-rose-500'
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
const VARIANT: Record<NonNullable<Action['variant']>, string> = {
|
|
354
|
+
default: 'rdash-btn-primary',
|
|
355
|
+
outline: 'rdash-btn-outline',
|
|
356
|
+
ghost: 'rdash-btn-ghost'
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
const STATUS_CLASS: Record<Status, string> = {
|
|
360
|
+
normal: 'rdash-kpi-status-normal',
|
|
361
|
+
success: 'rdash-kpi-status-success',
|
|
362
|
+
warning: 'rdash-kpi-status-warning',
|
|
363
|
+
critical: 'rdash-kpi-status-critical'
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
function trendArrow(t?: Trend): string {
|
|
367
|
+
return t === 'up' ? '↑' : t === 'down' ? '↓' : '→';
|
|
368
|
+
}
|
|
369
|
+
function trendClass(t?: Trend): string {
|
|
370
|
+
return t === 'up' ? 'text-emerald-600 dark:text-emerald-400'
|
|
371
|
+
: t === 'down' ? 'text-rose-600 dark:text-rose-400'
|
|
372
|
+
: 'text-muted-foreground';
|
|
373
|
+
}
|
|
374
|
+
// Hex, not oklch: the echarts sparkline appends a hex alpha ('…30') to its
|
|
375
|
+
// colour, which turns an oklch() value into an unparsable gradient stop.
|
|
376
|
+
function sparklineColor(t?: Trend): string {
|
|
377
|
+
return t === 'down' ? '#d40924' : '#0072d5';
|
|
378
|
+
}
|
|
379
|
+
function clampProgress(p: number | undefined): number {
|
|
380
|
+
if (typeof p !== 'number' || Number.isNaN(p)) return 0;
|
|
381
|
+
return Math.max(0, Math.min(100, p));
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Build the ordered list of lookup keys for the current active state.
|
|
386
|
+
* Most specific first: "range|granularity" → granularity → range.
|
|
387
|
+
*/
|
|
388
|
+
function buildKeys(): string[] {
|
|
389
|
+
const keys: string[] = [];
|
|
390
|
+
if (range && gran) keys.push(`${range}|${gran}`);
|
|
391
|
+
if (gran) keys.push(gran);
|
|
392
|
+
if (range) keys.push(range);
|
|
393
|
+
return keys;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
function pickKeyed<T>(map: { [key: string]: T | undefined } | undefined, keys: string[]): T | undefined {
|
|
397
|
+
if (!map) return undefined;
|
|
398
|
+
for (const k of keys) {
|
|
399
|
+
const v = map[k];
|
|
400
|
+
if (v !== undefined) return v;
|
|
401
|
+
}
|
|
402
|
+
return undefined;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
function firstDefined<T>(map: { [key: string]: T | undefined }): T | undefined {
|
|
406
|
+
for (const v of Object.values(map)) if (v !== undefined) return v;
|
|
407
|
+
return undefined;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
function resolveChartData(data: ChartData | undefined, keys: string[]): DataPoint[] {
|
|
411
|
+
if (!data) return [];
|
|
412
|
+
if (Array.isArray(data)) return data;
|
|
413
|
+
const match = pickKeyed(data, keys);
|
|
414
|
+
if (match) return match;
|
|
415
|
+
// Last-resort fallback: first declared dataset.
|
|
416
|
+
const first = firstDefined(data);
|
|
417
|
+
return Array.isArray(first) ? first : [];
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
function resolveTableRows(tableRows: TableRows | undefined, keys: string[]): Record<string, unknown>[] {
|
|
421
|
+
if (!tableRows) return [];
|
|
422
|
+
if (Array.isArray(tableRows)) return tableRows;
|
|
423
|
+
const match = pickKeyed(tableRows, keys);
|
|
424
|
+
if (match) return match;
|
|
425
|
+
const first = firstDefined(tableRows);
|
|
426
|
+
return Array.isArray(first) ? first : [];
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
function resolveKpi(k: Kpi, keys: string[]): Kpi {
|
|
430
|
+
if (!k.byKey) return k;
|
|
431
|
+
const override = pickKeyed(k.byKey, keys);
|
|
432
|
+
if (!override) return k;
|
|
433
|
+
return { ...k, ...override };
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
const keys = $derived(buildKeys());
|
|
437
|
+
|
|
438
|
+
const resolvedKpis = $derived(kpis.map((k) => resolveKpi(k, keys)));
|
|
439
|
+
const resolvedPrimaryData = $derived(primaryChart ? resolveChartData(primaryChart.data, keys) : []);
|
|
440
|
+
const resolvedCharts = $derived(charts.map((c) => ({
|
|
441
|
+
...c,
|
|
442
|
+
_data: resolveChartData(c.data, keys),
|
|
443
|
+
})));
|
|
444
|
+
const resolvedTableRows = $derived(table ? resolveTableRows(table.rows, keys) : []);
|
|
445
|
+
|
|
446
|
+
function dispatch(handler: EventHandlerOrArray | undefined, payload?: unknown): boolean {
|
|
447
|
+
if (!handler || !eventDispatcher) return false;
|
|
448
|
+
const handlers = Array.isArray(handler) ? handler : [handler];
|
|
449
|
+
void eventDispatcher.dispatch(handlers as EventHandler[], { state: stateManager?.state ?? {} }, payload);
|
|
450
|
+
return true;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
function fireAction(a: Action) {
|
|
454
|
+
if (dispatch(a.actions, a.id)) return;
|
|
455
|
+
if (a.id) onaction?.(a.id);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
function handleKpiClick(k: Kpi) {
|
|
459
|
+
if (dispatch(k.actions, k)) return;
|
|
460
|
+
if (k.id) onkpiclick?.(k.id);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
function handleActivityClick(a: ActivityItem) {
|
|
464
|
+
if (dispatch(a.actions, a)) return;
|
|
465
|
+
if (a.id) onactivityclick?.(a.id);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
function handleRefresh() {
|
|
469
|
+
if (dispatch(refreshActions)) return;
|
|
470
|
+
onrefresh?.();
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
// A visitor's chip pick wins until the spec sends a value other than the one
|
|
474
|
+
// it overrode. When the bound filter changes, the host re-sends the spec with
|
|
475
|
+
// its original props, and Svelte drops a local write to an unbound prop then,
|
|
476
|
+
// so without this every chip would snap back.
|
|
477
|
+
type Pick = { over: string | undefined; value: string } | null;
|
|
478
|
+
let rangePick = $state<Pick>(null);
|
|
479
|
+
let granPick = $state<Pick>(null);
|
|
480
|
+
let actPick = $state<Pick>(null);
|
|
481
|
+
const held = (p: Pick, incoming: string | undefined) => (p && p.over === incoming ? p.value : incoming);
|
|
482
|
+
const range = $derived(held(rangePick, activeDateRange));
|
|
483
|
+
const gran = $derived(held(granPick, activeGranularity));
|
|
484
|
+
const actFilter = $derived(held(actPick, activeActivityFilter));
|
|
485
|
+
|
|
486
|
+
function pickDateRange(r: string) {
|
|
487
|
+
rangePick = { over: activeDateRange, value: r };
|
|
488
|
+
activeDateRange = r;
|
|
489
|
+
ondateRangeChange?.(r);
|
|
490
|
+
ondaterangechange?.(r);
|
|
491
|
+
}
|
|
492
|
+
function pickFilter(key: string, value: string | undefined) {
|
|
493
|
+
const next = readFilters(filters);
|
|
494
|
+
if (value === undefined) delete next[key];
|
|
495
|
+
else next[key] = value;
|
|
496
|
+
filters = next;
|
|
497
|
+
onfilterschange?.(next);
|
|
498
|
+
onfilter?.({ key, value: value ?? null });
|
|
499
|
+
}
|
|
500
|
+
function pickGranularity(g: string) {
|
|
501
|
+
granPick = { over: activeGranularity, value: g };
|
|
502
|
+
activeGranularity = g;
|
|
503
|
+
ongranularitychange?.(g);
|
|
504
|
+
}
|
|
505
|
+
function pickActivityFilter(f: string) {
|
|
506
|
+
actPick = { over: activeActivityFilter, value: f };
|
|
507
|
+
activeActivityFilter = f;
|
|
508
|
+
onactivityfilterchange?.(f);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
const visibleActivity = $derived.by(() => {
|
|
512
|
+
const list = effectiveActivityFilters;
|
|
513
|
+
if (!list || !actFilter) return activity;
|
|
514
|
+
if (actFilter === list[0]) return activity; // first preset = "All"
|
|
515
|
+
const f = actFilter.toLowerCase();
|
|
516
|
+
if (f === 'alerts') {
|
|
517
|
+
return activity.filter((a) => a.severity === 'warning' || a.severity === 'destructive');
|
|
518
|
+
}
|
|
519
|
+
if (f === 'unread') {
|
|
520
|
+
return activity.filter((a) => a.unread);
|
|
521
|
+
}
|
|
522
|
+
// Otherwise, filter by category match (case-insensitive).
|
|
523
|
+
return activity.filter((a) => (a.category ?? '').toLowerCase() === f);
|
|
524
|
+
});
|
|
525
|
+
|
|
526
|
+
const isClickableKpi = (k: Kpi) => Boolean(k.actions || (k.id && onkpiclick));
|
|
527
|
+
const isClickableActivity = (a: ActivityItem) => Boolean(a.actions || (a.id && onactivityclick));
|
|
528
|
+
</script>
|
|
529
|
+
|
|
530
|
+
<div {id} class={cn('rdash', `rdash-density-${density}`, className)} style={styleString} data-widget="exec-dashboard">
|
|
531
|
+
{#if rowsMode && !error}
|
|
532
|
+
<ExecDashboardRows
|
|
533
|
+
{title}
|
|
534
|
+
{subtitle}
|
|
535
|
+
{verdict}
|
|
536
|
+
{currency}
|
|
537
|
+
{rows}
|
|
538
|
+
{measures}
|
|
539
|
+
{dimensions}
|
|
540
|
+
{x}
|
|
541
|
+
{split}
|
|
542
|
+
{compare}
|
|
543
|
+
{compareLabel}
|
|
544
|
+
tableTitle={table?.title}
|
|
545
|
+
tableColumns={table?.columns}
|
|
546
|
+
{filters}
|
|
547
|
+
onpick={pickFilter}
|
|
548
|
+
/>
|
|
549
|
+
{:else}
|
|
550
|
+
{#if title || subtitle || dateRange || dateRanges || granularities || actions.length > 0 || showRefresh || lastUpdated}
|
|
551
|
+
<header class="rdash-header">
|
|
552
|
+
<div class="rdash-header-main">
|
|
553
|
+
{#if title}<h2 class="rdash-title">{title}</h2>{/if}
|
|
554
|
+
{#if subtitle}<p class="rdash-subtitle">{subtitle}</p>{/if}
|
|
555
|
+
</div>
|
|
556
|
+
<div class="rdash-header-tools">
|
|
557
|
+
{#if dateRanges && dateRanges.length > 0}
|
|
558
|
+
<div class="rdash-segmented rdash-scroll-x" role="tablist" aria-label="Date range">
|
|
559
|
+
{#each dateRanges as r}
|
|
560
|
+
<button
|
|
561
|
+
type="button"
|
|
562
|
+
role="tab"
|
|
563
|
+
aria-selected={range === r}
|
|
564
|
+
class={cn('rdash-seg-btn', range === r && 'rdash-seg-btn-active')}
|
|
565
|
+
onclick={() => pickDateRange(r)}
|
|
566
|
+
>
|
|
567
|
+
{r}
|
|
568
|
+
</button>
|
|
569
|
+
{/each}
|
|
570
|
+
</div>
|
|
571
|
+
{:else if dateRange}
|
|
572
|
+
<span class="rdash-range">
|
|
573
|
+
<Icon name="calendar" size={12} />
|
|
574
|
+
{dateRange}
|
|
575
|
+
</span>
|
|
576
|
+
{/if}
|
|
577
|
+
{#if granularities && granularities.length > 0}
|
|
578
|
+
<div class="rdash-segmented rdash-scroll-x" role="tablist" aria-label="Granularity">
|
|
579
|
+
{#each granularities as g}
|
|
580
|
+
<button
|
|
581
|
+
type="button"
|
|
582
|
+
role="tab"
|
|
583
|
+
aria-selected={gran === g}
|
|
584
|
+
class={cn('rdash-seg-btn', gran === g && 'rdash-seg-btn-active')}
|
|
585
|
+
onclick={() => pickGranularity(g)}
|
|
586
|
+
>
|
|
587
|
+
{g}
|
|
588
|
+
</button>
|
|
589
|
+
{/each}
|
|
590
|
+
</div>
|
|
591
|
+
{/if}
|
|
592
|
+
{#if lastUpdated}
|
|
593
|
+
<span class="rdash-updated" title="Last updated">
|
|
594
|
+
<span class={cn('rdash-updated-dot', loading && 'rdash-updated-dot-pulse')} aria-hidden="true"></span>
|
|
595
|
+
Updated {lastUpdated}
|
|
596
|
+
</span>
|
|
597
|
+
{/if}
|
|
598
|
+
{#if showRefresh}
|
|
599
|
+
<button
|
|
600
|
+
type="button"
|
|
601
|
+
class="rdash-icon-btn"
|
|
602
|
+
aria-label="Refresh"
|
|
603
|
+
title="Refresh"
|
|
604
|
+
disabled={loading}
|
|
605
|
+
onclick={handleRefresh}
|
|
606
|
+
>
|
|
607
|
+
<span class={cn('rdash-icon-spin-wrap', loading && 'rdash-spin')}>
|
|
608
|
+
<Icon name="refresh-cw" size={14} />
|
|
609
|
+
</span>
|
|
610
|
+
</button>
|
|
611
|
+
{/if}
|
|
612
|
+
{#each actions as a}
|
|
613
|
+
<button type="button" class={cn('rdash-btn', VARIANT[a.variant ?? 'outline'])} onclick={() => fireAction(a)}>
|
|
614
|
+
{#if a.icon}<Icon name={a.icon} size={13} />{/if}
|
|
615
|
+
<span>{a.label}</span>
|
|
616
|
+
</button>
|
|
617
|
+
{/each}
|
|
618
|
+
</div>
|
|
619
|
+
</header>
|
|
620
|
+
{/if}
|
|
621
|
+
|
|
622
|
+
<VerdictLine {verdict} />
|
|
623
|
+
|
|
624
|
+
{#if error}
|
|
625
|
+
<div class="rdash-error" role="alert">
|
|
626
|
+
<div class="rdash-error-icon">
|
|
627
|
+
<Icon name="alert-triangle" size={18} />
|
|
628
|
+
</div>
|
|
629
|
+
<div class="rdash-error-body">
|
|
630
|
+
<div class="rdash-error-title">Couldn't load dashboard</div>
|
|
631
|
+
<div class="rdash-error-msg">{error}</div>
|
|
632
|
+
</div>
|
|
633
|
+
{#if showRefresh || refreshActions || onrefresh}
|
|
634
|
+
<button type="button" class="rdash-btn rdash-btn-outline" onclick={handleRefresh}>
|
|
635
|
+
<Icon name="refresh-cw" size={13} />
|
|
636
|
+
<span>Retry</span>
|
|
637
|
+
</button>
|
|
638
|
+
{/if}
|
|
639
|
+
</div>
|
|
640
|
+
{:else if loading && !hasAnyContent}
|
|
641
|
+
<!-- Loading skeleton: only when there is no existing content to overlay -->
|
|
642
|
+
<div class="rdash-kpis" aria-hidden="true">
|
|
643
|
+
{#each Array(4) as _, i (i)}
|
|
644
|
+
<div class="rdash-kpi rdash-skel">
|
|
645
|
+
<div class="rdash-skel-line rdash-skel-line-sm"></div>
|
|
646
|
+
<div class="rdash-skel-line rdash-skel-line-lg"></div>
|
|
647
|
+
<div class="rdash-skel-line rdash-skel-line-md"></div>
|
|
648
|
+
</div>
|
|
649
|
+
{/each}
|
|
650
|
+
</div>
|
|
651
|
+
<div class="rdash-row rdash-row-2">
|
|
652
|
+
<div class="rdash-card rdash-skel rdash-skel-block" style="height: 260px;"></div>
|
|
653
|
+
<div class="rdash-card rdash-skel rdash-skel-block" style="height: 260px;"></div>
|
|
654
|
+
</div>
|
|
655
|
+
{:else if !hasAnyContent && empty}
|
|
656
|
+
<div class="rdash-empty">
|
|
657
|
+
<div class="rdash-empty-icon">
|
|
658
|
+
<Icon name={empty.icon ?? 'inbox'} size={24} />
|
|
659
|
+
</div>
|
|
660
|
+
<div class="rdash-empty-title">{empty.title ?? 'No data to show'}</div>
|
|
661
|
+
{#if empty.message}
|
|
662
|
+
<div class="rdash-empty-msg">{empty.message}</div>
|
|
663
|
+
{/if}
|
|
664
|
+
</div>
|
|
665
|
+
{:else}
|
|
666
|
+
{#if resolvedKpis.length > 0}
|
|
667
|
+
<div class="rdash-kpis">
|
|
668
|
+
{#each resolvedKpis as k}
|
|
669
|
+
{@const clickable = isClickableKpi(k)}
|
|
670
|
+
{@const hasProgress = typeof k.progress === 'number'}
|
|
671
|
+
<button
|
|
672
|
+
type="button"
|
|
673
|
+
class={cn(
|
|
674
|
+
'rdash-kpi',
|
|
675
|
+
clickable && 'rdash-kpi-clickable',
|
|
676
|
+
k.status && STATUS_CLASS[k.status]
|
|
677
|
+
)}
|
|
678
|
+
onclick={clickable ? () => handleKpiClick(k) : undefined}
|
|
679
|
+
tabindex={clickable ? 0 : -1}
|
|
680
|
+
aria-label={clickable ? `${k.label}: ${k.value}` : undefined}
|
|
681
|
+
disabled={!clickable}
|
|
682
|
+
>
|
|
683
|
+
<div class="rdash-kpi-label">
|
|
684
|
+
{#if k.icon}<Icon name={k.icon} size={12} />{/if}
|
|
685
|
+
<span class="rdash-truncate">{k.label}</span>
|
|
686
|
+
</div>
|
|
687
|
+
<div class="rdash-kpi-row">
|
|
688
|
+
<div class="rdash-kpi-value-wrap">
|
|
689
|
+
<span class="rdash-kpi-value" style={safeStyle(k.color ? `color:${k.color};` : undefined)}>
|
|
690
|
+
{k.value}
|
|
691
|
+
</span>
|
|
692
|
+
{#if k.unit}
|
|
693
|
+
<span class="rdash-kpi-unit">{k.unit}</span>
|
|
694
|
+
{/if}
|
|
695
|
+
</div>
|
|
696
|
+
{#if k.sparkline && k.sparkline.length > 1}
|
|
697
|
+
<div class="rdash-kpi-spark">
|
|
698
|
+
<Sparkline values={k.sparkline} color={k.color ?? sparklineColor(k.trend)} height={28} noTooltip />
|
|
699
|
+
</div>
|
|
700
|
+
{/if}
|
|
701
|
+
</div>
|
|
702
|
+
{#if k.delta || k.compareLabel || k.sublabel}
|
|
703
|
+
<div class="rdash-kpi-meta">
|
|
704
|
+
{#if k.delta}
|
|
705
|
+
<span class={cn('rdash-kpi-delta', trendClass(k.trend))}>
|
|
706
|
+
{trendArrow(k.trend)} {k.delta}
|
|
707
|
+
</span>
|
|
708
|
+
{/if}
|
|
709
|
+
{#if k.compareLabel}
|
|
710
|
+
<span class="rdash-kpi-sub">{k.compareLabel}</span>
|
|
711
|
+
{:else if k.sublabel}
|
|
712
|
+
<span class="rdash-kpi-sub">{k.sublabel}</span>
|
|
713
|
+
{/if}
|
|
714
|
+
</div>
|
|
715
|
+
{/if}
|
|
716
|
+
{#if hasProgress}
|
|
717
|
+
{@const p = clampProgress(k.progress)}
|
|
718
|
+
<div class="rdash-kpi-progress" aria-hidden="true">
|
|
719
|
+
<div class="rdash-kpi-progress-track">
|
|
720
|
+
<div class="rdash-kpi-progress-fill" style={safeStyle(`width: ${p}%;`)}></div>
|
|
721
|
+
</div>
|
|
722
|
+
<div class="rdash-kpi-progress-meta">
|
|
723
|
+
<span>{p.toFixed(0)}%</span>
|
|
724
|
+
{#if k.target !== undefined && k.target !== null && k.target !== ''}
|
|
725
|
+
<span class="rdash-kpi-target">of {k.target}</span>
|
|
726
|
+
{/if}
|
|
727
|
+
</div>
|
|
728
|
+
</div>
|
|
729
|
+
{/if}
|
|
730
|
+
{#if clickable}
|
|
731
|
+
<span class="rdash-kpi-arrow" aria-hidden="true">
|
|
732
|
+
<Icon name="arrow-up-right" size={12} />
|
|
733
|
+
</span>
|
|
734
|
+
{/if}
|
|
735
|
+
</button>
|
|
736
|
+
{/each}
|
|
737
|
+
</div>
|
|
738
|
+
{/if}
|
|
739
|
+
|
|
740
|
+
{#if primaryChart || activity.length > 0}
|
|
741
|
+
<div class={cn('rdash-row', primaryChart && activity.length > 0 ? 'rdash-row-2' : 'rdash-row-1')}>
|
|
742
|
+
{#if primaryChart}
|
|
743
|
+
<div class="rdash-card">
|
|
744
|
+
{#if primaryChart.title}
|
|
745
|
+
<div class="rdash-card-title">{primaryChart.title}</div>
|
|
746
|
+
{/if}
|
|
747
|
+
{#if resolvedPrimaryData.length > 0}
|
|
748
|
+
<Chart
|
|
749
|
+
data={resolvedPrimaryData}
|
|
750
|
+
type={primaryChart.type ?? 'line'}
|
|
751
|
+
height={primaryChart.height ?? 260}
|
|
752
|
+
colors={primaryChart.colors}
|
|
753
|
+
reference={primaryChart.reference}
|
|
754
|
+
/>
|
|
755
|
+
{:else}
|
|
756
|
+
<div class="rdash-section-empty" style={safeStyle(`height: ${primaryChart.height ?? 260}px;`)}>
|
|
757
|
+
<Icon name="bar-chart-3" size={20} />
|
|
758
|
+
<span>No chart data</span>
|
|
759
|
+
</div>
|
|
760
|
+
{/if}
|
|
761
|
+
</div>
|
|
762
|
+
{/if}
|
|
763
|
+
{#if activity.length > 0}
|
|
764
|
+
<aside class="rdash-card rdash-activity">
|
|
765
|
+
<div class="rdash-card-head">
|
|
766
|
+
<div class="rdash-card-title">{activityTitle}</div>
|
|
767
|
+
{#if effectiveActivityFilters && effectiveActivityFilters.length > 0}
|
|
768
|
+
<div class="rdash-pills rdash-scroll-x" role="tablist" aria-label="Activity filter">
|
|
769
|
+
{#each effectiveActivityFilters as f}
|
|
770
|
+
<button
|
|
771
|
+
type="button"
|
|
772
|
+
role="tab"
|
|
773
|
+
aria-selected={actFilter === f}
|
|
774
|
+
class={cn('rdash-pill', actFilter === f && 'rdash-pill-active')}
|
|
775
|
+
onclick={() => pickActivityFilter(f)}
|
|
776
|
+
>
|
|
777
|
+
{f}
|
|
778
|
+
</button>
|
|
779
|
+
{/each}
|
|
780
|
+
</div>
|
|
781
|
+
{/if}
|
|
782
|
+
</div>
|
|
783
|
+
{#if visibleActivity.length === 0}
|
|
784
|
+
<div class="rdash-section-empty rdash-section-empty-flat">
|
|
785
|
+
<Icon name="check-circle" size={18} />
|
|
786
|
+
<span>No matching activity.</span>
|
|
787
|
+
</div>
|
|
788
|
+
{:else}
|
|
789
|
+
<ol class="rdash-activity-list">
|
|
790
|
+
<!-- Keyed by id AND position: a streamed item can lack its id, or carry a half-written one equal to a finished id, and a duplicate key throws. -->
|
|
791
|
+
{#each visibleActivity as a, i (`${a.id}:${i}`)}
|
|
792
|
+
{@const clickable = isClickableActivity(a)}
|
|
793
|
+
<li class={cn('rdash-activity-item', clickable && 'rdash-activity-item-clickable')}>
|
|
794
|
+
<button
|
|
795
|
+
type="button"
|
|
796
|
+
class={cn('rdash-activity-btn', a.unread && 'rdash-activity-btn-unread')}
|
|
797
|
+
onclick={clickable ? () => handleActivityClick(a) : undefined}
|
|
798
|
+
disabled={!clickable}
|
|
799
|
+
tabindex={clickable ? 0 : -1}
|
|
800
|
+
>
|
|
801
|
+
<span class={cn('rdash-activity-dot', a.severity ? SEV_DOT[a.severity] : 'bg-sky-500', a.unread && 'rdash-activity-dot-unread')}></span>
|
|
802
|
+
<div class="rdash-activity-body">
|
|
803
|
+
<div class="rdash-activity-row">
|
|
804
|
+
<span class="rdash-activity-label">
|
|
805
|
+
{#if a.icon}<Icon name={a.icon} size={11} />{/if}
|
|
806
|
+
{a.label}
|
|
807
|
+
</span>
|
|
808
|
+
<span class="rdash-activity-time">{a.time}</span>
|
|
809
|
+
</div>
|
|
810
|
+
{#if a.actor || a.category}
|
|
811
|
+
<div class="rdash-activity-meta">
|
|
812
|
+
{#if a.actor}
|
|
813
|
+
<span class="rdash-activity-actor">{a.actor}</span>
|
|
814
|
+
{/if}
|
|
815
|
+
{#if a.actor && a.category}<span class="rdash-activity-sep" aria-hidden="true">·</span>{/if}
|
|
816
|
+
{#if a.category}
|
|
817
|
+
<span class="rdash-activity-category">{a.category}</span>
|
|
818
|
+
{/if}
|
|
819
|
+
</div>
|
|
820
|
+
{/if}
|
|
821
|
+
</div>
|
|
822
|
+
</button>
|
|
823
|
+
</li>
|
|
824
|
+
{/each}
|
|
825
|
+
</ol>
|
|
826
|
+
{/if}
|
|
827
|
+
</aside>
|
|
828
|
+
{/if}
|
|
829
|
+
</div>
|
|
830
|
+
{/if}
|
|
831
|
+
|
|
832
|
+
{#if resolvedCharts.length > 0}
|
|
833
|
+
<div class="rdash-charts">
|
|
834
|
+
{#each resolvedCharts as c}
|
|
835
|
+
<div class="rdash-card">
|
|
836
|
+
{#if c.title}<div class="rdash-card-title">{c.title}</div>{/if}
|
|
837
|
+
{#if c._data.length > 0}
|
|
838
|
+
<Chart data={c._data} type={c.type ?? 'bar'} height={c.height ?? 180} colors={c.colors} reference={c.reference} />
|
|
839
|
+
{:else}
|
|
840
|
+
<div class="rdash-section-empty" style={safeStyle(`height: ${c.height ?? 180}px;`)}>
|
|
841
|
+
<Icon name="bar-chart-3" size={18} />
|
|
842
|
+
<span>No data</span>
|
|
843
|
+
</div>
|
|
844
|
+
{/if}
|
|
845
|
+
</div>
|
|
846
|
+
{/each}
|
|
847
|
+
</div>
|
|
848
|
+
{/if}
|
|
849
|
+
|
|
850
|
+
{#if table}
|
|
851
|
+
<div class="rdash-card">
|
|
852
|
+
{#if table.title}<div class="rdash-card-title">{table.title}</div>{/if}
|
|
853
|
+
{#if resolvedTableRows.length > 0}
|
|
854
|
+
<div class="rdash-scroll-x rdash-table-wrap">
|
|
855
|
+
<Table columns={table.columns ?? []} rows={resolvedTableRows} layout="stack" />
|
|
856
|
+
</div>
|
|
857
|
+
{:else}
|
|
858
|
+
<div class="rdash-section-empty rdash-section-empty-flat">
|
|
859
|
+
<Icon name="inbox" size={18} />
|
|
860
|
+
<span>No rows to display</span>
|
|
861
|
+
</div>
|
|
862
|
+
{/if}
|
|
863
|
+
</div>
|
|
864
|
+
{/if}
|
|
865
|
+
{/if}
|
|
866
|
+
{/if}
|
|
867
|
+
</div>
|
|
868
|
+
|
|
869
|
+
<style>
|
|
870
|
+
.rdash {
|
|
871
|
+
--rdash-accent: oklch(0.55 0.18 250);
|
|
872
|
+
--rdash-success: oklch(0.62 0.18 150);
|
|
873
|
+
--rdash-warning: oklch(0.72 0.17 75);
|
|
874
|
+
--rdash-critical: oklch(0.6 0.22 25);
|
|
875
|
+
--rdash-gap: 16px;
|
|
876
|
+
--rdash-card-pad: 16px;
|
|
877
|
+
--rdash-kpi-pad-y: 14px;
|
|
878
|
+
--rdash-kpi-pad-x: 16px;
|
|
879
|
+
--rdash-kpi-value-size: 26px;
|
|
880
|
+
--rdash-kpi-min: 180px;
|
|
881
|
+
display: flex;
|
|
882
|
+
flex-direction: column;
|
|
883
|
+
gap: var(--rdash-gap);
|
|
884
|
+
width: 100%;
|
|
885
|
+
/* Breakpoints below read the widget's own width, not the viewport. */
|
|
886
|
+
container-type: inline-size;
|
|
887
|
+
}
|
|
888
|
+
.rdash-density-compact {
|
|
889
|
+
--rdash-gap: 12px;
|
|
890
|
+
--rdash-card-pad: 12px;
|
|
891
|
+
--rdash-kpi-pad-y: 10px;
|
|
892
|
+
--rdash-kpi-pad-x: 12px;
|
|
893
|
+
--rdash-kpi-value-size: 22px;
|
|
894
|
+
--rdash-kpi-min: 150px;
|
|
895
|
+
}
|
|
896
|
+
/* A container query cannot style the container itself, so the narrow
|
|
897
|
+
sizes land on its children, which inherit them. */
|
|
898
|
+
@container (max-width: 640px) {
|
|
899
|
+
.rdash > :global(*) {
|
|
900
|
+
--rdash-kpi-min: 150px;
|
|
901
|
+
--rdash-kpi-value-size: 22px;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.rdash-truncate {
|
|
906
|
+
min-width: 0;
|
|
907
|
+
overflow: hidden;
|
|
908
|
+
text-overflow: ellipsis;
|
|
909
|
+
white-space: nowrap;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.rdash-scroll-x {
|
|
913
|
+
overflow-x: auto;
|
|
914
|
+
-webkit-overflow-scrolling: touch;
|
|
915
|
+
scrollbar-width: thin;
|
|
916
|
+
scrollbar-color: color-mix(in oklab, var(--muted-foreground) 25%, transparent) transparent;
|
|
917
|
+
}
|
|
918
|
+
.rdash-scroll-x::-webkit-scrollbar { height: 6px; }
|
|
919
|
+
.rdash-scroll-x::-webkit-scrollbar-thumb {
|
|
920
|
+
background: color-mix(in oklab, var(--muted-foreground) 25%, transparent);
|
|
921
|
+
border-radius: 3px;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/* Header */
|
|
925
|
+
.rdash-header {
|
|
926
|
+
display: flex;
|
|
927
|
+
align-items: flex-start;
|
|
928
|
+
justify-content: space-between;
|
|
929
|
+
gap: 12px;
|
|
930
|
+
flex-wrap: wrap;
|
|
931
|
+
border-bottom: 1px solid var(--border);
|
|
932
|
+
padding-bottom: 12px;
|
|
933
|
+
}
|
|
934
|
+
.rdash-header-main { flex: 1 1 220px; min-width: 0; }
|
|
935
|
+
.rdash-title {
|
|
936
|
+
font-size: 22px;
|
|
937
|
+
font-weight: 600;
|
|
938
|
+
margin: 0;
|
|
939
|
+
letter-spacing: -0.01em;
|
|
940
|
+
line-height: 1.2;
|
|
941
|
+
}
|
|
942
|
+
.rdash-density-compact .rdash-title { font-size: 18px; }
|
|
943
|
+
.rdash-subtitle {
|
|
944
|
+
font-size: 13px;
|
|
945
|
+
color: var(--muted-foreground);
|
|
946
|
+
margin: 4px 0 0;
|
|
947
|
+
line-height: 1.4;
|
|
948
|
+
}
|
|
949
|
+
.rdash-header-tools {
|
|
950
|
+
display: flex;
|
|
951
|
+
gap: 8px;
|
|
952
|
+
align-items: center;
|
|
953
|
+
flex-wrap: wrap;
|
|
954
|
+
max-width: 100%;
|
|
955
|
+
}
|
|
956
|
+
@container (max-width: 640px) {
|
|
957
|
+
.rdash-header-tools {
|
|
958
|
+
width: 100%;
|
|
959
|
+
flex-wrap: nowrap;
|
|
960
|
+
overflow-x: auto;
|
|
961
|
+
-webkit-overflow-scrolling: touch;
|
|
962
|
+
scrollbar-width: none;
|
|
963
|
+
}
|
|
964
|
+
.rdash-header-tools::-webkit-scrollbar { display: none; }
|
|
965
|
+
}
|
|
966
|
+
.rdash-range {
|
|
967
|
+
display: inline-flex;
|
|
968
|
+
align-items: center;
|
|
969
|
+
gap: 4px;
|
|
970
|
+
height: 32px;
|
|
971
|
+
padding: 0 12px;
|
|
972
|
+
border-radius: 8px;
|
|
973
|
+
border: 1px solid var(--border);
|
|
974
|
+
background: var(--card);
|
|
975
|
+
font-size: 12.5px;
|
|
976
|
+
color: var(--foreground);
|
|
977
|
+
white-space: nowrap;
|
|
978
|
+
}
|
|
979
|
+
.rdash-updated {
|
|
980
|
+
display: inline-flex;
|
|
981
|
+
align-items: center;
|
|
982
|
+
gap: 6px;
|
|
983
|
+
font-size: 11.5px;
|
|
984
|
+
color: var(--muted-foreground);
|
|
985
|
+
white-space: nowrap;
|
|
986
|
+
padding: 0 4px;
|
|
987
|
+
font-variant-numeric: tabular-nums;
|
|
988
|
+
}
|
|
989
|
+
.rdash-updated-dot {
|
|
990
|
+
width: 6px;
|
|
991
|
+
height: 6px;
|
|
992
|
+
border-radius: 50%;
|
|
993
|
+
background: var(--rdash-success);
|
|
994
|
+
display: inline-block;
|
|
995
|
+
}
|
|
996
|
+
.rdash-updated-dot-pulse {
|
|
997
|
+
background: var(--rdash-accent);
|
|
998
|
+
animation: rdash-pulse 1.4s ease-in-out infinite;
|
|
999
|
+
}
|
|
1000
|
+
@keyframes rdash-pulse {
|
|
1001
|
+
0%, 100% { opacity: 0.35; }
|
|
1002
|
+
50% { opacity: 1; }
|
|
1003
|
+
}
|
|
1004
|
+
.rdash-icon-spin-wrap { display: inline-flex; }
|
|
1005
|
+
.rdash-spin { animation: rdash-spin 0.9s linear infinite; }
|
|
1006
|
+
@keyframes rdash-spin { to { transform: rotate(360deg); } }
|
|
1007
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1008
|
+
.rdash-spin { animation: none; }
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/* Buttons */
|
|
1012
|
+
.rdash-btn {
|
|
1013
|
+
display: inline-flex;
|
|
1014
|
+
align-items: center;
|
|
1015
|
+
gap: 6px;
|
|
1016
|
+
height: 32px;
|
|
1017
|
+
padding: 0 12px;
|
|
1018
|
+
border-radius: 8px;
|
|
1019
|
+
font-size: 12.5px;
|
|
1020
|
+
font-weight: 500;
|
|
1021
|
+
cursor: pointer;
|
|
1022
|
+
border: 0;
|
|
1023
|
+
transition: background 0.15s, border-color 0.15s, color 0.15s;
|
|
1024
|
+
white-space: nowrap;
|
|
1025
|
+
}
|
|
1026
|
+
.rdash-btn:focus-visible {
|
|
1027
|
+
outline: 2px solid var(--rdash-accent);
|
|
1028
|
+
outline-offset: 1px;
|
|
1029
|
+
}
|
|
1030
|
+
.rdash-btn-primary { background: var(--rdash-accent); color: white; }
|
|
1031
|
+
.rdash-btn-primary:hover { background: color-mix(in oklab, var(--rdash-accent) 88%, black); }
|
|
1032
|
+
.rdash-btn-outline { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
|
|
1033
|
+
.rdash-btn-outline:hover { background: var(--muted); border-color: color-mix(in oklab, var(--border) 60%, var(--foreground)); }
|
|
1034
|
+
.rdash-btn-ghost { background: transparent; color: var(--foreground); }
|
|
1035
|
+
.rdash-btn-ghost:hover { background: var(--muted); }
|
|
1036
|
+
.rdash-icon-btn {
|
|
1037
|
+
width: 32px;
|
|
1038
|
+
height: 32px;
|
|
1039
|
+
border-radius: 8px;
|
|
1040
|
+
border: 1px solid var(--border);
|
|
1041
|
+
background: var(--card);
|
|
1042
|
+
color: var(--muted-foreground);
|
|
1043
|
+
display: inline-flex;
|
|
1044
|
+
align-items: center;
|
|
1045
|
+
justify-content: center;
|
|
1046
|
+
cursor: pointer;
|
|
1047
|
+
transition: background 0.15s, color 0.15s, border-color 0.15s;
|
|
1048
|
+
flex-shrink: 0;
|
|
1049
|
+
}
|
|
1050
|
+
.rdash-icon-btn:hover:not(:disabled) {
|
|
1051
|
+
background: var(--muted);
|
|
1052
|
+
color: var(--foreground);
|
|
1053
|
+
}
|
|
1054
|
+
.rdash-icon-btn:disabled { opacity: 0.6; cursor: not-allowed; }
|
|
1055
|
+
.rdash-icon-btn:focus-visible {
|
|
1056
|
+
outline: 2px solid var(--rdash-accent);
|
|
1057
|
+
outline-offset: 1px;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
/* Segmented controls */
|
|
1061
|
+
.rdash-segmented {
|
|
1062
|
+
display: inline-flex;
|
|
1063
|
+
background: var(--muted);
|
|
1064
|
+
border-radius: 8px;
|
|
1065
|
+
padding: 2px;
|
|
1066
|
+
gap: 0;
|
|
1067
|
+
flex-shrink: 0;
|
|
1068
|
+
}
|
|
1069
|
+
.rdash-seg-btn {
|
|
1070
|
+
height: 28px;
|
|
1071
|
+
padding: 0 12px;
|
|
1072
|
+
border: 0;
|
|
1073
|
+
background: transparent;
|
|
1074
|
+
color: var(--muted-foreground);
|
|
1075
|
+
font-size: 12.5px;
|
|
1076
|
+
font-weight: 500;
|
|
1077
|
+
border-radius: 6px;
|
|
1078
|
+
cursor: pointer;
|
|
1079
|
+
transition: background 0.15s, color 0.15s;
|
|
1080
|
+
white-space: nowrap;
|
|
1081
|
+
}
|
|
1082
|
+
.rdash-seg-btn:hover { color: var(--foreground); }
|
|
1083
|
+
.rdash-seg-btn-active {
|
|
1084
|
+
background: var(--card);
|
|
1085
|
+
color: var(--foreground);
|
|
1086
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/* KPI grid */
|
|
1090
|
+
.rdash-kpis {
|
|
1091
|
+
display: grid;
|
|
1092
|
+
grid-template-columns: repeat(auto-fit, minmax(var(--rdash-kpi-min), 1fr));
|
|
1093
|
+
gap: 12px;
|
|
1094
|
+
}
|
|
1095
|
+
.rdash-kpi {
|
|
1096
|
+
position: relative;
|
|
1097
|
+
padding: var(--rdash-kpi-pad-y) var(--rdash-kpi-pad-x);
|
|
1098
|
+
border-radius: 12px;
|
|
1099
|
+
border: 1px solid var(--border);
|
|
1100
|
+
background: var(--card);
|
|
1101
|
+
display: flex;
|
|
1102
|
+
flex-direction: column;
|
|
1103
|
+
gap: 4px;
|
|
1104
|
+
text-align: left;
|
|
1105
|
+
color: inherit;
|
|
1106
|
+
font: inherit;
|
|
1107
|
+
cursor: default;
|
|
1108
|
+
transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
|
|
1109
|
+
overflow: hidden;
|
|
1110
|
+
}
|
|
1111
|
+
.rdash-kpi:disabled { cursor: default; }
|
|
1112
|
+
.rdash-kpi-clickable { cursor: pointer; }
|
|
1113
|
+
.rdash-kpi-clickable:hover {
|
|
1114
|
+
border-color: color-mix(in oklab, var(--rdash-accent) 35%, var(--border));
|
|
1115
|
+
transform: translateY(-1px);
|
|
1116
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
|
|
1117
|
+
}
|
|
1118
|
+
.rdash-kpi-clickable:focus-visible {
|
|
1119
|
+
outline: 2px solid var(--rdash-accent);
|
|
1120
|
+
outline-offset: 1px;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
/* Status band — 3px left edge */
|
|
1124
|
+
.rdash-kpi::before {
|
|
1125
|
+
content: '';
|
|
1126
|
+
position: absolute;
|
|
1127
|
+
inset: 0 auto 0 0;
|
|
1128
|
+
width: 3px;
|
|
1129
|
+
background: transparent;
|
|
1130
|
+
transition: background 0.15s;
|
|
1131
|
+
}
|
|
1132
|
+
.rdash-kpi-status-success::before { background: var(--rdash-success); }
|
|
1133
|
+
.rdash-kpi-status-warning::before { background: var(--rdash-warning); }
|
|
1134
|
+
.rdash-kpi-status-critical::before { background: var(--rdash-critical); }
|
|
1135
|
+
.rdash-kpi-status-critical {
|
|
1136
|
+
background: color-mix(in oklab, var(--rdash-critical) 4%, var(--card));
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.rdash-kpi-arrow {
|
|
1140
|
+
position: absolute;
|
|
1141
|
+
top: 10px;
|
|
1142
|
+
right: 10px;
|
|
1143
|
+
color: var(--muted-foreground);
|
|
1144
|
+
opacity: 0;
|
|
1145
|
+
transition: opacity 0.15s, color 0.15s, transform 0.15s;
|
|
1146
|
+
display: inline-flex;
|
|
1147
|
+
}
|
|
1148
|
+
.rdash-kpi-clickable:hover .rdash-kpi-arrow,
|
|
1149
|
+
.rdash-kpi-clickable:focus-visible .rdash-kpi-arrow {
|
|
1150
|
+
opacity: 1;
|
|
1151
|
+
color: var(--rdash-accent);
|
|
1152
|
+
transform: translate(1px, -1px);
|
|
1153
|
+
}
|
|
1154
|
+
.rdash-kpi-label {
|
|
1155
|
+
font-size: 12px;
|
|
1156
|
+
color: var(--muted-foreground);
|
|
1157
|
+
font-weight: 500;
|
|
1158
|
+
display: inline-flex;
|
|
1159
|
+
align-items: center;
|
|
1160
|
+
gap: 5px;
|
|
1161
|
+
min-width: 0;
|
|
1162
|
+
/* Keep room for the hover arrow */
|
|
1163
|
+
padding-right: 20px;
|
|
1164
|
+
}
|
|
1165
|
+
/* The sparkline drops under the value when both do not fit side by side. */
|
|
1166
|
+
.rdash-kpi-row {
|
|
1167
|
+
display: flex;
|
|
1168
|
+
flex-wrap: wrap;
|
|
1169
|
+
align-items: center;
|
|
1170
|
+
justify-content: space-between;
|
|
1171
|
+
gap: 6px 12px;
|
|
1172
|
+
min-width: 0;
|
|
1173
|
+
}
|
|
1174
|
+
.rdash-kpi-value-wrap {
|
|
1175
|
+
display: inline-flex;
|
|
1176
|
+
align-items: baseline;
|
|
1177
|
+
gap: 3px;
|
|
1178
|
+
min-width: 0;
|
|
1179
|
+
}
|
|
1180
|
+
.rdash-kpi-value {
|
|
1181
|
+
font-size: var(--rdash-kpi-value-size);
|
|
1182
|
+
font-weight: 600;
|
|
1183
|
+
line-height: 1.05;
|
|
1184
|
+
color: var(--foreground);
|
|
1185
|
+
font-variant-numeric: tabular-nums;
|
|
1186
|
+
letter-spacing: -0.02em;
|
|
1187
|
+
}
|
|
1188
|
+
.rdash-kpi-unit {
|
|
1189
|
+
font-size: 13px;
|
|
1190
|
+
font-weight: 500;
|
|
1191
|
+
color: var(--muted-foreground);
|
|
1192
|
+
}
|
|
1193
|
+
.rdash-kpi-spark {
|
|
1194
|
+
flex: 1 1 44px;
|
|
1195
|
+
max-width: 72px;
|
|
1196
|
+
}
|
|
1197
|
+
/* Four tiles never leave one orphan: two a row until four fit in one. */
|
|
1198
|
+
@container (min-width: 481px) and (max-width: 759px) {
|
|
1199
|
+
.rdash-kpis:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1200
|
+
}
|
|
1201
|
+
@container (min-width: 760px) {
|
|
1202
|
+
.rdash-kpis:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
|
1203
|
+
}
|
|
1204
|
+
/* A phone-width card: two tiles a row (auto-fit at 150px gives one), an odd
|
|
1205
|
+
last tile spans both, and the sparkline drops under the value. */
|
|
1206
|
+
@container (max-width: 480px) {
|
|
1207
|
+
.rdash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
1208
|
+
.rdash-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
|
|
1209
|
+
.rdash-kpi-row { flex-wrap: wrap; gap: 6px; }
|
|
1210
|
+
.rdash-kpi-spark { width: 60px; }
|
|
1211
|
+
}
|
|
1212
|
+
.rdash-kpi-meta {
|
|
1213
|
+
display: flex;
|
|
1214
|
+
flex-wrap: wrap;
|
|
1215
|
+
align-items: center;
|
|
1216
|
+
gap: 2px 8px;
|
|
1217
|
+
font-size: 11.5px;
|
|
1218
|
+
min-width: 0;
|
|
1219
|
+
}
|
|
1220
|
+
.rdash-kpi-delta { font-weight: 500; flex-shrink: 0; }
|
|
1221
|
+
.rdash-kpi-sub { color: var(--muted-foreground); min-width: 0; }
|
|
1222
|
+
|
|
1223
|
+
.rdash-kpi-progress {
|
|
1224
|
+
margin-top: 6px;
|
|
1225
|
+
display: flex;
|
|
1226
|
+
flex-direction: column;
|
|
1227
|
+
gap: 4px;
|
|
1228
|
+
}
|
|
1229
|
+
.rdash-kpi-progress-track {
|
|
1230
|
+
height: 4px;
|
|
1231
|
+
border-radius: 999px;
|
|
1232
|
+
background: color-mix(in oklab, var(--muted-foreground) 12%, transparent);
|
|
1233
|
+
overflow: hidden;
|
|
1234
|
+
}
|
|
1235
|
+
.rdash-kpi-progress-fill {
|
|
1236
|
+
height: 100%;
|
|
1237
|
+
background: var(--rdash-accent);
|
|
1238
|
+
border-radius: inherit;
|
|
1239
|
+
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1240
|
+
}
|
|
1241
|
+
.rdash-kpi-status-success .rdash-kpi-progress-fill { background: var(--rdash-success); }
|
|
1242
|
+
.rdash-kpi-status-warning .rdash-kpi-progress-fill { background: var(--rdash-warning); }
|
|
1243
|
+
.rdash-kpi-status-critical .rdash-kpi-progress-fill { background: var(--rdash-critical); }
|
|
1244
|
+
.rdash-kpi-progress-meta {
|
|
1245
|
+
display: flex;
|
|
1246
|
+
justify-content: space-between;
|
|
1247
|
+
font-size: 10.5px;
|
|
1248
|
+
color: var(--muted-foreground);
|
|
1249
|
+
font-variant-numeric: tabular-nums;
|
|
1250
|
+
}
|
|
1251
|
+
.rdash-kpi-target { color: var(--muted-foreground); }
|
|
1252
|
+
|
|
1253
|
+
/* Row layouts */
|
|
1254
|
+
.rdash-row {
|
|
1255
|
+
display: grid;
|
|
1256
|
+
gap: var(--rdash-gap);
|
|
1257
|
+
}
|
|
1258
|
+
.rdash-row-1 { grid-template-columns: 1fr; }
|
|
1259
|
+
.rdash-row-2 { grid-template-columns: 1fr; }
|
|
1260
|
+
@container (min-width: 920px) {
|
|
1261
|
+
.rdash-row-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.rdash-charts {
|
|
1265
|
+
display: grid;
|
|
1266
|
+
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
1267
|
+
gap: var(--rdash-gap);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
/* Cards */
|
|
1271
|
+
.rdash-card {
|
|
1272
|
+
padding: var(--rdash-card-pad);
|
|
1273
|
+
border-radius: 12px;
|
|
1274
|
+
border: 1px solid var(--border);
|
|
1275
|
+
background: var(--card);
|
|
1276
|
+
display: flex;
|
|
1277
|
+
flex-direction: column;
|
|
1278
|
+
gap: 10px;
|
|
1279
|
+
min-width: 0;
|
|
1280
|
+
}
|
|
1281
|
+
.rdash-card-title {
|
|
1282
|
+
font-size: 12px;
|
|
1283
|
+
font-weight: 600;
|
|
1284
|
+
color: var(--muted-foreground);
|
|
1285
|
+
text-transform: uppercase;
|
|
1286
|
+
letter-spacing: 0.05em;
|
|
1287
|
+
}
|
|
1288
|
+
.rdash-card-head {
|
|
1289
|
+
display: flex;
|
|
1290
|
+
align-items: center;
|
|
1291
|
+
justify-content: space-between;
|
|
1292
|
+
gap: 10px;
|
|
1293
|
+
flex-wrap: wrap;
|
|
1294
|
+
min-width: 0;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.rdash-pills {
|
|
1298
|
+
display: inline-flex;
|
|
1299
|
+
gap: 4px;
|
|
1300
|
+
min-width: 0;
|
|
1301
|
+
max-width: 100%;
|
|
1302
|
+
}
|
|
1303
|
+
.rdash-pill {
|
|
1304
|
+
padding: 3px 8px;
|
|
1305
|
+
border-radius: 999px;
|
|
1306
|
+
border: 1px solid var(--border);
|
|
1307
|
+
background: transparent;
|
|
1308
|
+
font-size: 11px;
|
|
1309
|
+
font-weight: 500;
|
|
1310
|
+
color: var(--muted-foreground);
|
|
1311
|
+
cursor: pointer;
|
|
1312
|
+
transition: background 0.15s, color 0.15s, border-color 0.15s;
|
|
1313
|
+
white-space: nowrap;
|
|
1314
|
+
flex-shrink: 0;
|
|
1315
|
+
}
|
|
1316
|
+
.rdash-pill:hover { color: var(--foreground); background: var(--muted); }
|
|
1317
|
+
.rdash-pill-active {
|
|
1318
|
+
background: color-mix(in oklab, var(--rdash-accent) 14%, transparent);
|
|
1319
|
+
color: var(--rdash-accent);
|
|
1320
|
+
border-color: color-mix(in oklab, var(--rdash-accent) 30%, transparent);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
/* Activity: a rail beside the chart scrolls inside its 380px; stacked
|
|
1324
|
+
under the chart (narrower than 920px) it shows up to 8 items in full,
|
|
1325
|
+
and a longer feed scrolls inside 640px. */
|
|
1326
|
+
@container (min-width: 920px) {
|
|
1327
|
+
.rdash-activity { max-height: 380px; }
|
|
1328
|
+
}
|
|
1329
|
+
@container (max-width: 919px) {
|
|
1330
|
+
.rdash-activity:has(.rdash-activity-item:nth-child(9)) { max-height: 640px; }
|
|
1331
|
+
}
|
|
1332
|
+
.rdash-activity {
|
|
1333
|
+
overflow-y: auto;
|
|
1334
|
+
scrollbar-width: thin;
|
|
1335
|
+
scrollbar-color: color-mix(in oklab, var(--muted-foreground) 25%, transparent) transparent;
|
|
1336
|
+
}
|
|
1337
|
+
.rdash-activity::-webkit-scrollbar { width: 6px; }
|
|
1338
|
+
.rdash-activity::-webkit-scrollbar-thumb {
|
|
1339
|
+
background: color-mix(in oklab, var(--muted-foreground) 25%, transparent);
|
|
1340
|
+
border-radius: 3px;
|
|
1341
|
+
}
|
|
1342
|
+
.rdash-activity-btn {
|
|
1343
|
+
display: flex;
|
|
1344
|
+
align-items: flex-start;
|
|
1345
|
+
gap: 10px;
|
|
1346
|
+
width: 100%;
|
|
1347
|
+
background: transparent;
|
|
1348
|
+
border: 0;
|
|
1349
|
+
padding: 6px 8px;
|
|
1350
|
+
border-radius: 8px;
|
|
1351
|
+
text-align: left;
|
|
1352
|
+
color: inherit;
|
|
1353
|
+
font: inherit;
|
|
1354
|
+
cursor: default;
|
|
1355
|
+
transition: background 0.15s;
|
|
1356
|
+
}
|
|
1357
|
+
.rdash-activity-item-clickable .rdash-activity-btn {
|
|
1358
|
+
cursor: pointer;
|
|
1359
|
+
}
|
|
1360
|
+
.rdash-activity-item-clickable .rdash-activity-btn:hover {
|
|
1361
|
+
background: var(--muted);
|
|
1362
|
+
}
|
|
1363
|
+
.rdash-activity-item-clickable .rdash-activity-btn:focus-visible {
|
|
1364
|
+
outline: 2px solid var(--rdash-accent);
|
|
1365
|
+
outline-offset: 1px;
|
|
1366
|
+
}
|
|
1367
|
+
.rdash-activity-btn-unread .rdash-activity-label {
|
|
1368
|
+
font-weight: 600;
|
|
1369
|
+
}
|
|
1370
|
+
.rdash-activity-list {
|
|
1371
|
+
list-style: none;
|
|
1372
|
+
margin: 0;
|
|
1373
|
+
padding: 0;
|
|
1374
|
+
display: flex;
|
|
1375
|
+
flex-direction: column;
|
|
1376
|
+
gap: 2px;
|
|
1377
|
+
}
|
|
1378
|
+
.rdash-activity-item {
|
|
1379
|
+
display: block;
|
|
1380
|
+
margin: 0 -8px;
|
|
1381
|
+
}
|
|
1382
|
+
.rdash-activity-dot {
|
|
1383
|
+
width: 8px;
|
|
1384
|
+
height: 8px;
|
|
1385
|
+
border-radius: 50%;
|
|
1386
|
+
flex-shrink: 0;
|
|
1387
|
+
margin-top: 6px;
|
|
1388
|
+
box-shadow: 0 0 0 0 transparent;
|
|
1389
|
+
transition: box-shadow 0.15s;
|
|
1390
|
+
}
|
|
1391
|
+
.rdash-activity-dot-unread {
|
|
1392
|
+
box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 18%, transparent);
|
|
1393
|
+
}
|
|
1394
|
+
.rdash-activity-body {
|
|
1395
|
+
flex: 1;
|
|
1396
|
+
min-width: 0;
|
|
1397
|
+
display: flex;
|
|
1398
|
+
flex-direction: column;
|
|
1399
|
+
gap: 2px;
|
|
1400
|
+
}
|
|
1401
|
+
.rdash-activity-row {
|
|
1402
|
+
display: flex;
|
|
1403
|
+
align-items: flex-start;
|
|
1404
|
+
justify-content: space-between;
|
|
1405
|
+
gap: 10px;
|
|
1406
|
+
min-width: 0;
|
|
1407
|
+
}
|
|
1408
|
+
.rdash-activity-label {
|
|
1409
|
+
font-size: 13px;
|
|
1410
|
+
color: var(--foreground);
|
|
1411
|
+
display: inline-flex;
|
|
1412
|
+
align-items: center;
|
|
1413
|
+
gap: 4px;
|
|
1414
|
+
min-width: 0;
|
|
1415
|
+
overflow-wrap: break-word;
|
|
1416
|
+
}
|
|
1417
|
+
.rdash-activity-time {
|
|
1418
|
+
font-size: 11px;
|
|
1419
|
+
color: var(--muted-foreground);
|
|
1420
|
+
font-variant-numeric: tabular-nums;
|
|
1421
|
+
flex-shrink: 0;
|
|
1422
|
+
}
|
|
1423
|
+
.rdash-activity-meta {
|
|
1424
|
+
display: inline-flex;
|
|
1425
|
+
align-items: center;
|
|
1426
|
+
gap: 4px;
|
|
1427
|
+
font-size: 11.5px;
|
|
1428
|
+
color: var(--muted-foreground);
|
|
1429
|
+
min-width: 0;
|
|
1430
|
+
}
|
|
1431
|
+
.rdash-activity-actor { white-space: nowrap; }
|
|
1432
|
+
.rdash-activity-category {
|
|
1433
|
+
padding: 1px 6px;
|
|
1434
|
+
border-radius: 999px;
|
|
1435
|
+
background: var(--muted);
|
|
1436
|
+
color: var(--foreground);
|
|
1437
|
+
font-size: 10.5px;
|
|
1438
|
+
font-weight: 500;
|
|
1439
|
+
white-space: nowrap;
|
|
1440
|
+
}
|
|
1441
|
+
.rdash-activity-sep { color: var(--muted-foreground); }
|
|
1442
|
+
|
|
1443
|
+
/* Error state */
|
|
1444
|
+
.rdash-error {
|
|
1445
|
+
display: flex;
|
|
1446
|
+
align-items: flex-start;
|
|
1447
|
+
gap: 12px;
|
|
1448
|
+
padding: 16px;
|
|
1449
|
+
border-radius: 12px;
|
|
1450
|
+
border: 1px solid color-mix(in oklab, var(--rdash-critical) 30%, var(--border));
|
|
1451
|
+
background: color-mix(in oklab, var(--rdash-critical) 6%, var(--card));
|
|
1452
|
+
flex-wrap: wrap;
|
|
1453
|
+
}
|
|
1454
|
+
.rdash-error-icon {
|
|
1455
|
+
flex-shrink: 0;
|
|
1456
|
+
width: 32px;
|
|
1457
|
+
height: 32px;
|
|
1458
|
+
border-radius: 8px;
|
|
1459
|
+
background: color-mix(in oklab, var(--rdash-critical) 14%, transparent);
|
|
1460
|
+
color: var(--rdash-critical);
|
|
1461
|
+
display: inline-flex;
|
|
1462
|
+
align-items: center;
|
|
1463
|
+
justify-content: center;
|
|
1464
|
+
}
|
|
1465
|
+
.rdash-error-body { flex: 1; min-width: 200px; }
|
|
1466
|
+
.rdash-error-title { font-weight: 600; font-size: 14px; color: var(--foreground); }
|
|
1467
|
+
.rdash-error-msg { font-size: 12.5px; color: var(--muted-foreground); margin-top: 2px; }
|
|
1468
|
+
|
|
1469
|
+
/* Empty states */
|
|
1470
|
+
.rdash-empty {
|
|
1471
|
+
display: flex;
|
|
1472
|
+
flex-direction: column;
|
|
1473
|
+
align-items: center;
|
|
1474
|
+
justify-content: center;
|
|
1475
|
+
gap: 8px;
|
|
1476
|
+
padding: 48px 16px;
|
|
1477
|
+
border-radius: 12px;
|
|
1478
|
+
border: 1px dashed var(--border);
|
|
1479
|
+
background: color-mix(in oklab, var(--muted) 40%, transparent);
|
|
1480
|
+
color: var(--muted-foreground);
|
|
1481
|
+
text-align: center;
|
|
1482
|
+
}
|
|
1483
|
+
.rdash-empty-icon {
|
|
1484
|
+
width: 44px;
|
|
1485
|
+
height: 44px;
|
|
1486
|
+
border-radius: 999px;
|
|
1487
|
+
background: var(--muted);
|
|
1488
|
+
color: var(--muted-foreground);
|
|
1489
|
+
display: inline-flex;
|
|
1490
|
+
align-items: center;
|
|
1491
|
+
justify-content: center;
|
|
1492
|
+
}
|
|
1493
|
+
.rdash-empty-title { font-size: 14px; font-weight: 600; color: var(--foreground); }
|
|
1494
|
+
.rdash-empty-msg { font-size: 12.5px; }
|
|
1495
|
+
|
|
1496
|
+
.rdash-section-empty {
|
|
1497
|
+
display: flex;
|
|
1498
|
+
flex-direction: column;
|
|
1499
|
+
align-items: center;
|
|
1500
|
+
justify-content: center;
|
|
1501
|
+
gap: 6px;
|
|
1502
|
+
color: var(--muted-foreground);
|
|
1503
|
+
font-size: 12px;
|
|
1504
|
+
}
|
|
1505
|
+
.rdash-section-empty-flat { padding: 18px 0; }
|
|
1506
|
+
|
|
1507
|
+
/* Skeleton */
|
|
1508
|
+
.rdash-skel {
|
|
1509
|
+
pointer-events: none;
|
|
1510
|
+
}
|
|
1511
|
+
.rdash-skel-block {
|
|
1512
|
+
background: linear-gradient(90deg,
|
|
1513
|
+
color-mix(in oklab, var(--muted-foreground) 8%, var(--card)) 0%,
|
|
1514
|
+
color-mix(in oklab, var(--muted-foreground) 14%, var(--card)) 50%,
|
|
1515
|
+
color-mix(in oklab, var(--muted-foreground) 8%, var(--card)) 100%
|
|
1516
|
+
);
|
|
1517
|
+
background-size: 200% 100%;
|
|
1518
|
+
animation: rdash-shimmer 1.4s ease-in-out infinite;
|
|
1519
|
+
}
|
|
1520
|
+
.rdash-skel-line {
|
|
1521
|
+
height: 10px;
|
|
1522
|
+
border-radius: 4px;
|
|
1523
|
+
background: linear-gradient(90deg,
|
|
1524
|
+
color-mix(in oklab, var(--muted-foreground) 10%, transparent) 0%,
|
|
1525
|
+
color-mix(in oklab, var(--muted-foreground) 22%, transparent) 50%,
|
|
1526
|
+
color-mix(in oklab, var(--muted-foreground) 10%, transparent) 100%
|
|
1527
|
+
);
|
|
1528
|
+
background-size: 200% 100%;
|
|
1529
|
+
animation: rdash-shimmer 1.4s ease-in-out infinite;
|
|
1530
|
+
}
|
|
1531
|
+
.rdash-skel-line-sm { width: 40%; height: 9px; }
|
|
1532
|
+
.rdash-skel-line-md { width: 60%; }
|
|
1533
|
+
.rdash-skel-line-lg { width: 75%; height: 22px; }
|
|
1534
|
+
@keyframes rdash-shimmer {
|
|
1535
|
+
0% { background-position: 100% 0; }
|
|
1536
|
+
100% { background-position: -100% 0; }
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
.rdash-table-wrap {
|
|
1540
|
+
/* Allow long tables to scroll horizontally rather than overflow card */
|
|
1541
|
+
width: 100%;
|
|
1542
|
+
}
|
|
1543
|
+
</style>
|