@ggml-org/llama-ui 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +66 -2
- package/dist/assets/fonts/LlamaMono.woff2 +0 -0
- package/dist/assets/fonts/LlamaSans.woff2 +0 -0
- package/dist/assets/fonts/OFL.txt +93 -0
- package/dist/assets/hf-logo.svg +8 -0
- package/dist/assets/logo.svg +4 -0
- package/dist/assets/model-logos/gemma.svg +8 -0
- package/dist/assets/model-logos/gpt.svg +3 -0
- package/dist/assets/model-logos/liquid.svg +5 -0
- package/dist/assets/model-logos/meta.svg +3 -0
- package/dist/assets/model-logos/qwen.svg +3 -0
- package/dist/assets/qr-network.svg +1 -0
- package/dist/components/app/actions/ActionIcon.svelte +91 -0
- package/dist/components/app/actions/ActionIcon.svelte.d.ts +21 -0
- package/dist/components/app/actions/index.d.ts +2 -0
- package/dist/components/app/actions/index.js +2 -0
- package/dist/components/app/content/SyntaxHighlightedCode.svelte +164 -0
- package/dist/components/app/content/SyntaxHighlightedCode.svelte.d.ts +13 -0
- package/dist/components/app/content/index.d.ts +1 -0
- package/dist/components/app/content/index.js +1 -0
- package/dist/components/app/forms/SearchInput.svelte +84 -0
- package/dist/components/app/forms/SearchInput.svelte.d.ts +17 -0
- package/dist/components/app/forms/index.d.ts +1 -0
- package/dist/components/app/forms/index.js +1 -0
- package/dist/components/app/misc/Logo.svelte +15 -0
- package/dist/components/app/misc/Logo.svelte.d.ts +13 -0
- package/dist/components/app/misc/index.d.ts +2 -0
- package/dist/components/app/misc/index.js +2 -0
- package/dist/components/mockups/MacMenu.svelte +477 -0
- package/dist/components/mockups/MacMenu.svelte.d.ts +27 -0
- package/dist/components/mockups/WindowsTray.svelte +650 -0
- package/dist/components/mockups/WindowsTray.svelte.d.ts +13 -0
- package/dist/components/mockups/index.d.ts +2 -0
- package/dist/components/mockups/index.js +4 -0
- package/dist/components/models/ModelCapabilityIcons.svelte +117 -0
- package/dist/components/models/ModelCapabilityIcons.svelte.d.ts +15 -0
- package/dist/components/models/ModelCard.svelte +104 -0
- package/dist/components/models/ModelCard.svelte.d.ts +31 -0
- package/dist/components/models/ModelDownloadProgressBar.svelte +32 -0
- package/dist/components/models/ModelDownloadProgressBar.svelte.d.ts +8 -0
- package/dist/components/models/ModelFamilyCard.svelte +130 -0
- package/dist/components/models/ModelFamilyCard.svelte.d.ts +35 -0
- package/dist/components/models/ModelId.svelte +167 -0
- package/dist/components/models/ModelId.svelte.d.ts +38 -0
- package/dist/components/models/ModelMetadataItem.svelte +19 -0
- package/dist/components/models/ModelMetadataItem.svelte.d.ts +7 -0
- package/dist/components/models/ModelOrgAvatar.svelte +125 -0
- package/dist/components/models/ModelOrgAvatar.svelte.d.ts +13 -0
- package/dist/components/models/ModelQuantChip.svelte +301 -0
- package/dist/components/models/ModelQuantChip.svelte.d.ts +26 -0
- package/dist/components/models/ModelQuantOptions.svelte +34 -0
- package/dist/components/models/ModelQuantOptions.svelte.d.ts +11 -0
- package/dist/components/models/ModelQuantRow.svelte +89 -0
- package/dist/components/models/ModelQuantRow.svelte.d.ts +14 -0
- package/dist/components/models/index.d.ts +14 -0
- package/dist/components/models/index.js +14 -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 +20 -0
- package/dist/components/ui/alert/alert-title.svelte.d.ts +5 -0
- package/dist/components/ui/alert/alert.svelte +51 -0
- package/dist/components/ui/alert/alert.svelte.d.ts +35 -0
- package/dist/components/ui/alert/index.d.ts +5 -0
- package/dist/components/ui/alert/index.js +7 -0
- package/dist/components/ui/alert-dialog/alert-dialog-action.svelte +19 -0
- package/dist/components/ui/alert-dialog/alert-dialog-action.svelte.d.ts +8 -0
- package/dist/components/ui/alert-dialog/alert-dialog-cancel.svelte +18 -0
- package/dist/components/ui/alert-dialog/alert-dialog-cancel.svelte.d.ts +4 -0
- package/dist/components/ui/alert-dialog/alert-dialog-content.svelte +34 -0
- package/dist/components/ui/alert-dialog/alert-dialog-content.svelte.d.ts +8 -0
- package/dist/components/ui/alert-dialog/alert-dialog-description.svelte +17 -0
- package/dist/components/ui/alert-dialog/alert-dialog-description.svelte.d.ts +4 -0
- package/dist/components/ui/alert-dialog/alert-dialog-footer.svelte +20 -0
- package/dist/components/ui/alert-dialog/alert-dialog-footer.svelte.d.ts +5 -0
- package/dist/components/ui/alert-dialog/alert-dialog-header.svelte +20 -0
- package/dist/components/ui/alert-dialog/alert-dialog-header.svelte.d.ts +5 -0
- package/dist/components/ui/alert-dialog/alert-dialog-overlay.svelte +20 -0
- package/dist/components/ui/alert-dialog/alert-dialog-overlay.svelte.d.ts +4 -0
- package/dist/components/ui/alert-dialog/alert-dialog-title.svelte +17 -0
- package/dist/components/ui/alert-dialog/alert-dialog-title.svelte.d.ts +4 -0
- package/dist/components/ui/alert-dialog/alert-dialog-trigger.svelte +7 -0
- package/dist/components/ui/alert-dialog/alert-dialog-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/alert-dialog/index.d.ts +12 -0
- package/dist/components/ui/alert-dialog/index.js +15 -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 +96 -0
- package/dist/components/ui/button/button.svelte.d.ts +64 -0
- package/dist/components/ui/button/index.d.ts +2 -0
- package/dist/components/ui/button/index.js +4 -0
- package/dist/components/ui/button-group/button-group-root.svelte +30 -0
- package/dist/components/ui/button-group/button-group-root.svelte.d.ts +8 -0
- package/dist/components/ui/button-group/button-group-separator.svelte +12 -0
- package/dist/components/ui/button-group/button-group-separator.svelte.d.ts +4 -0
- package/dist/components/ui/button-group/index.d.ts +2 -0
- package/dist/components/ui/button-group/index.js +2 -0
- package/dist/components/ui/card/card-action.svelte +20 -0
- package/dist/components/ui/card/card-action.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-content.svelte +15 -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 +20 -0
- package/dist/components/ui/card/card-title.svelte.d.ts +5 -0
- package/dist/components/ui/card/card.svelte +20 -0
- package/dist/components/ui/card/card.svelte.d.ts +5 -0
- package/dist/components/ui/card/index.d.ts +8 -0
- package/dist/components/ui/card/index.js +10 -0
- package/dist/components/ui/checkbox/checkbox.svelte +36 -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/collapsible/collapsible-content.svelte +7 -0
- package/dist/components/ui/collapsible/collapsible-content.svelte.d.ts +4 -0
- package/dist/components/ui/collapsible/collapsible-trigger.svelte +7 -0
- package/dist/components/ui/collapsible/collapsible-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/collapsible/collapsible.svelte +11 -0
- package/dist/components/ui/collapsible/collapsible.svelte.d.ts +4 -0
- package/dist/components/ui/collapsible/index.d.ts +4 -0
- package/dist/components/ui/collapsible/index.js +6 -0
- package/dist/components/ui/context-menu/context-menu-content.svelte +25 -0
- package/dist/components/ui/context-menu/context-menu-content.svelte.d.ts +7 -0
- package/dist/components/ui/context-menu/context-menu-group.svelte +7 -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 +27 -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 +24 -0
- package/dist/components/ui/context-menu/context-menu-label.svelte.d.ts +8 -0
- package/dist/components/ui/context-menu/context-menu-separator.svelte +17 -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 +20 -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 +39 -0
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte.d.ts +7 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte +30 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +7 -0
- package/dist/components/ui/context-menu/context-menu-trigger.svelte +7 -0
- package/dist/components/ui/context-menu/context-menu-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/index.d.ts +12 -0
- package/dist/components/ui/context-menu/index.js +13 -0
- package/dist/components/ui/dialog/dialog-close.svelte +13 -0
- package/dist/components/ui/dialog/dialog-close.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-content.svelte +53 -0
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +12 -0
- package/dist/components/ui/dialog/dialog-description.svelte +17 -0
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-footer.svelte +20 -0
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +5 -0
- package/dist/components/ui/dialog/dialog-header.svelte +44 -0
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +8 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte +20 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +4 -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 +7 -0
- package/dist/components/ui/dialog/dialog-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/index.d.ts +11 -0
- package/dist/components/ui/dialog/index.js +14 -0
- package/dist/components/ui/drawer/drawer-close.svelte +7 -0
- package/dist/components/ui/drawer/drawer-close.svelte.d.ts +4 -0
- package/dist/components/ui/drawer/drawer-content.svelte +40 -0
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +11 -0
- package/dist/components/ui/drawer/drawer-description.svelte +17 -0
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +4 -0
- package/dist/components/ui/drawer/drawer-footer.svelte +20 -0
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +5 -0
- package/dist/components/ui/drawer/drawer-header.svelte +23 -0
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +5 -0
- package/dist/components/ui/drawer/drawer-nested.svelte +12 -0
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +3 -0
- package/dist/components/ui/drawer/drawer-overlay.svelte +20 -0
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +4 -0
- package/dist/components/ui/drawer/drawer-portal.svelte +7 -0
- package/dist/components/ui/drawer/drawer-portal.svelte.d.ts +3 -0
- package/dist/components/ui/drawer/drawer-title.svelte +17 -0
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +4 -0
- package/dist/components/ui/drawer/drawer-trigger.svelte +7 -0
- package/dist/components/ui/drawer/drawer-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/drawer/drawer.svelte +12 -0
- package/dist/components/ui/drawer/drawer.svelte.d.ts +3 -0
- package/dist/components/ui/drawer/index.d.ts +12 -0
- package/dist/components/ui/drawer/index.js +14 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +42 -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 +27 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +7 -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 +27 -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-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 +32 -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 +39 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +30 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +7 -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/index.d.ts +17 -0
- package/dist/components/ui/dropdown-menu/index.js +18 -0
- package/dist/components/ui/empty/empty-content.svelte +23 -0
- package/dist/components/ui/empty/empty-content.svelte.d.ts +5 -0
- package/dist/components/ui/empty/empty-description.svelte +23 -0
- package/dist/components/ui/empty/empty-description.svelte.d.ts +5 -0
- package/dist/components/ui/empty/empty-header.svelte +20 -0
- package/dist/components/ui/empty/empty-header.svelte.d.ts +5 -0
- package/dist/components/ui/empty/empty-media.svelte +42 -0
- package/dist/components/ui/empty/empty-media.svelte.d.ts +26 -0
- package/dist/components/ui/empty/empty-title.svelte +20 -0
- package/dist/components/ui/empty/empty-title.svelte.d.ts +5 -0
- package/dist/components/ui/empty/empty.svelte +23 -0
- package/dist/components/ui/empty/empty.svelte.d.ts +5 -0
- package/dist/components/ui/empty/index.d.ts +7 -0
- package/dist/components/ui/empty/index.js +9 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte +31 -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 +52 -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 +4 -0
- package/dist/components/ui/label/label.svelte +20 -0
- package/dist/components/ui/label/label.svelte.d.ts +4 -0
- package/dist/components/ui/popover/index.d.ts +6 -0
- package/dist/components/ui/popover/index.js +8 -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 +37 -0
- package/dist/components/ui/popover/popover-content.svelte.d.ts +10 -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-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/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 +31 -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/scroll-area/index.d.ts +3 -0
- package/dist/components/ui/scroll-area/index.js +5 -0
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte +32 -0
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +4 -0
- package/dist/components/ui/scroll-area/scroll-area.svelte +43 -0
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +10 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/select/index.js +14 -0
- package/dist/components/ui/select/select-content.svelte +110 -0
- package/dist/components/ui/select/select-content.svelte.d.ts +8 -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 +7 -0
- package/dist/components/ui/select/select-group.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-item.svelte +39 -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-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 +47 -0
- package/dist/components/ui/select/select-trigger.svelte.d.ts +9 -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 +20 -0
- package/dist/components/ui/separator/separator.svelte.d.ts +4 -0
- package/dist/components/ui/skeleton/index.d.ts +2 -0
- package/dist/components/ui/skeleton/index.js +4 -0
- package/dist/components/ui/skeleton/skeleton.svelte +17 -0
- package/dist/components/ui/skeleton/skeleton.svelte.d.ts +5 -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 +29 -0
- package/dist/components/ui/switch/switch.svelte.d.ts +4 -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 +20 -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 +23 -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 +23 -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 +23 -0
- package/dist/components/ui/table/table-row.svelte.d.ts +5 -0
- package/dist/components/ui/table/table.svelte +22 -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 +170 -0
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +25 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte +22 -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 +22 -0
- package/dist/components/ui/textarea/textarea.svelte.d.ts +5 -0
- package/dist/components/ui/toggle/index.d.ts +3 -0
- package/dist/components/ui/toggle/index.js +5 -0
- package/dist/components/ui/toggle/toggle.svelte +57 -0
- package/dist/components/ui/toggle/toggle.svelte.d.ts +52 -0
- package/dist/components/ui/toggle-group/index.d.ts +3 -0
- package/dist/components/ui/toggle-group/index.js +5 -0
- package/dist/components/ui/toggle-group/toggle-group-item.svelte +36 -0
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +8 -0
- package/dist/components/ui/toggle-group/toggle-group.svelte +72 -0
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +15 -0
- package/dist/components/ui/tooltip/index.d.ts +7 -0
- package/dist/components/ui/tooltip/index.js +10 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte +62 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +8 -0
- package/dist/components/ui/tooltip/tooltip-trigger.svelte +12 -0
- package/dist/components/ui/tooltip/tooltip-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/utils.d.ts +14 -0
- package/dist/components/ui/utils.js +23 -0
- package/dist/constants/code-block.constants.d.ts +37 -0
- package/dist/constants/code-block.constants.js +51 -0
- package/dist/constants/css-classes.constants.d.ts +11 -0
- package/dist/constants/css-classes.constants.js +28 -0
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/index.js +3 -0
- package/dist/constants/ui.constants.d.ts +6 -0
- package/dist/constants/ui.constants.js +7 -0
- package/dist/enums/boolean-string.enums.d.ts +5 -0
- package/dist/enums/boolean-string.enums.js +6 -0
- package/dist/enums/index.d.ts +2 -0
- package/dist/enums/index.js +3 -0
- package/dist/enums/ui.enums.d.ts +11 -0
- package/dist/enums/ui.enums.js +14 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +42 -0
- package/dist/models/constants.d.ts +51 -0
- package/dist/models/constants.js +66 -0
- package/dist/models/enums.d.ts +24 -0
- package/dist/models/enums.js +28 -0
- package/dist/models/format.d.ts +22 -0
- package/dist/models/format.js +82 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +3 -0
- package/dist/models/types.d.ts +23 -0
- package/dist/models/types.js +3 -0
- package/dist/styles/fonts.css +22 -0
- package/dist/styles/surfaces.css +256 -0
- package/dist/styles/theme.css +122 -0
- package/dist/styles/tokens/components.css +211 -0
- package/dist/styles/tokens/primitives.css +141 -0
- package/dist/styles/tokens/semantic.css +325 -0
- package/dist/styles/tokens.css +7 -0
- package/dist/utils/code.d.ts +7 -0
- package/dist/utils/code.js +65 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/package.json +111 -5
|
@@ -0,0 +1,650 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Llama for Windows' tray flyout, measured off a screenshot of the app (Morgan's build, November 2026; Windows 11
|
|
3
|
+
dark at 200%, so every size here is half the screenshot's pixels): the icon with settings and quit; the Models card,
|
|
4
|
+
a fixed height that clips its list, with the installed models (a chip, the name, tags for size, quant, vision and
|
|
5
|
+
file size, and folder, delete and run) and, under "Browse more", llama.app's catalog with each maker's logo (the
|
|
6
|
+
macOS app's ModelLogos); the Hugging Face search; and the server's status with its build. The catalog's lines come
|
|
7
|
+
without the app's stray Markdown asterisks. `card` draws the Models card alone, for a close-up. `view="details"`
|
|
8
|
+
shows a model's page in the card instead (after the 0.13 release notes' screenshot): its sizes, and its versions with
|
|
9
|
+
the fit verdict for this PC, fits or might fit. Always in Windows 11's dark theme, as measured. `annotate` pins a
|
|
10
|
+
page's own marks (numbered callouts) to the flyout's edge, level with the part they point at: the installed models
|
|
11
|
+
(on the right, by their run buttons), Browse more, the Hugging Face search and the server's status.
|
|
12
|
+
|
|
13
|
+
From the Communications' Microsoft Store screenshots in ui/apps/chat (tests/stories/brand/communications/store).
|
|
14
|
+
-->
|
|
15
|
+
<script lang="ts" module>
|
|
16
|
+
export type WindowsTrayPart = 'browse' | 'installed' | 'search' | 'status';
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<script lang="ts">
|
|
20
|
+
import hfLogo from '../../assets/hf-logo.svg?url';
|
|
21
|
+
import gemma from '../../assets/model-logos/gemma.svg?raw';
|
|
22
|
+
import gpt from '../../assets/model-logos/gpt.svg?raw';
|
|
23
|
+
import liquid from '../../assets/model-logos/liquid.svg?raw';
|
|
24
|
+
import meta from '../../assets/model-logos/meta.svg?raw';
|
|
25
|
+
import qwen from '../../assets/model-logos/qwen.svg?raw';
|
|
26
|
+
import { Logo } from '../app/misc';
|
|
27
|
+
import {
|
|
28
|
+
ArrowLeft,
|
|
29
|
+
Check,
|
|
30
|
+
ChevronRight,
|
|
31
|
+
Cpu,
|
|
32
|
+
Download,
|
|
33
|
+
Eye,
|
|
34
|
+
Folder,
|
|
35
|
+
Monitor,
|
|
36
|
+
Play,
|
|
37
|
+
Power,
|
|
38
|
+
Search,
|
|
39
|
+
Settings,
|
|
40
|
+
SquareArrowOutUpRight,
|
|
41
|
+
Trash2
|
|
42
|
+
} from '@lucide/svelte';
|
|
43
|
+
import type { Snippet } from 'svelte';
|
|
44
|
+
|
|
45
|
+
interface Props {
|
|
46
|
+
/** a page's mark (a numbered callout) for a part of the flyout, centred on the flyout's edge level with it */
|
|
47
|
+
annotate?: Snippet<[WindowsTrayPart]>;
|
|
48
|
+
/** the Models card alone */
|
|
49
|
+
card?: boolean;
|
|
50
|
+
/** the model list, or a model's page with its versions and their fit verdicts */
|
|
51
|
+
view?: 'details' | 'list';
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
let { annotate, card = false, view = 'list' }: Props = $props();
|
|
55
|
+
|
|
56
|
+
// LFM 2.5's page as the app shows it: one size, two versions, each with whether it fits this PC
|
|
57
|
+
const versions = [
|
|
58
|
+
{ fit: 'maybe', label: 'Higher quality', quant: 'Q8_0', size: '25.5 GB' },
|
|
59
|
+
{ fit: 'yes', label: 'Balanced', quant: 'Q4_K_M', size: '14.5 GB' }
|
|
60
|
+
] as const;
|
|
61
|
+
|
|
62
|
+
// small and medium models from llama.app's catalog
|
|
63
|
+
const installed = [
|
|
64
|
+
{ name: 'Gemma 4', size: '4.59 GB', tags: ['E4B', 'Q4_K_M'] },
|
|
65
|
+
{ name: 'LFM 3 Omni', size: '1.8 GB', tags: ['2B', 'Q8_0'] }
|
|
66
|
+
];
|
|
67
|
+
// the logos as the app shows them: most in white on the tile, Meta's and Liquid's on a white plate of their own
|
|
68
|
+
const catalog = [
|
|
69
|
+
{
|
|
70
|
+
about: 'OpenAI’s open-weight family for local reasoning and agents.',
|
|
71
|
+
logo: gpt,
|
|
72
|
+
name: 'GPT-OSS',
|
|
73
|
+
sizes: '20B · 120B'
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
about: 'Google’s most capable open agentic models for your laptops.',
|
|
77
|
+
logo: gemma,
|
|
78
|
+
name: 'Gemma 4',
|
|
79
|
+
sizes: 'E2B · E4B · 12B · 26B-A4B · 31B'
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
about: 'Alibaba’s multimodal mid-sized models for coding and research.',
|
|
83
|
+
logo: qwen,
|
|
84
|
+
name: 'Qwen 3.8',
|
|
85
|
+
sizes: '27B'
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
about: 'Meta’s local model to run on your laptop powering always-on agents.',
|
|
89
|
+
logo: meta,
|
|
90
|
+
name: 'Muse Glimmer',
|
|
91
|
+
plate: 'square',
|
|
92
|
+
sizes: '30B'
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
about: 'Liquid AI’s fast local model for reasoning and tool use.',
|
|
96
|
+
logo: liquid,
|
|
97
|
+
name: 'LFM 2.5',
|
|
98
|
+
plate: 'round',
|
|
99
|
+
sizes: '24B-A2B'
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
about: 'Liquid AI’s tiny omni model for text, images, and audio.',
|
|
103
|
+
logo: liquid,
|
|
104
|
+
name: 'LFM 3 Omni',
|
|
105
|
+
plate: 'round',
|
|
106
|
+
sizes: '2B'
|
|
107
|
+
}
|
|
108
|
+
];
|
|
109
|
+
</script>
|
|
110
|
+
|
|
111
|
+
<!-- a page's mark, on the flyout's edge on the side given -->
|
|
112
|
+
{#snippet mark(part: WindowsTrayPart, side: 'left' | 'right')}
|
|
113
|
+
{#if annotate && !card}<span class={['mark', side]}>{@render annotate(part)}</span>{/if}
|
|
114
|
+
{/snippet}
|
|
115
|
+
|
|
116
|
+
{#snippet models()}
|
|
117
|
+
<div class="card">
|
|
118
|
+
<p class="card-title">
|
|
119
|
+
Models <span class="open"><SquareArrowOutUpRight size={13} strokeWidth={1.5} /></span>
|
|
120
|
+
</p>
|
|
121
|
+
|
|
122
|
+
{#each installed as m (m.name)}
|
|
123
|
+
<div class="row installed">
|
|
124
|
+
<span class="tile"><Cpu size={18} strokeWidth={1.75} /></span>
|
|
125
|
+
|
|
126
|
+
<span class="info">
|
|
127
|
+
<b>{m.name}</b>
|
|
128
|
+
|
|
129
|
+
<span class="tags">
|
|
130
|
+
{#each m.tags as tag (tag)}<i>{tag}</i>{/each}
|
|
131
|
+
|
|
132
|
+
<i aria-label="vision"><Eye size={11} strokeWidth={1.5} /></i>
|
|
133
|
+
|
|
134
|
+
<span>{m.size}</span>
|
|
135
|
+
</span>
|
|
136
|
+
</span>
|
|
137
|
+
|
|
138
|
+
<span class="actions">
|
|
139
|
+
<Folder size={17} strokeWidth={1.2} />
|
|
140
|
+
|
|
141
|
+
<Trash2 size={17} strokeWidth={1.2} />
|
|
142
|
+
|
|
143
|
+
<Play size={17} strokeWidth={1.2} />
|
|
144
|
+
</span>
|
|
145
|
+
</div>
|
|
146
|
+
{/each}
|
|
147
|
+
|
|
148
|
+
<p class="browse">Browse more</p>
|
|
149
|
+
|
|
150
|
+
{#each catalog as m (m.name)}
|
|
151
|
+
<div class="row">
|
|
152
|
+
<span class="tile">
|
|
153
|
+
<span class={['logo', m.plate]}>{@html m.logo}</span>
|
|
154
|
+
</span>
|
|
155
|
+
|
|
156
|
+
<span class="info">
|
|
157
|
+
<b>{m.name}<span class="bar">|</span><span class="sizes">{m.sizes}</span></b>
|
|
158
|
+
|
|
159
|
+
<small>{m.about}</small>
|
|
160
|
+
</span>
|
|
161
|
+
|
|
162
|
+
<ChevronRight size={13} strokeWidth={1.5} />
|
|
163
|
+
</div>
|
|
164
|
+
{/each}
|
|
165
|
+
</div>
|
|
166
|
+
{/snippet}
|
|
167
|
+
|
|
168
|
+
{#snippet details()}
|
|
169
|
+
<div class="card details">
|
|
170
|
+
<p class="back"><ArrowLeft size={15} strokeWidth={1.5} />Models</p>
|
|
171
|
+
|
|
172
|
+
<div class="model">
|
|
173
|
+
<span class="tile big"><span class="logo round">{@html liquid}</span></span>
|
|
174
|
+
|
|
175
|
+
<span class="info">
|
|
176
|
+
<b>LFM 2.5</b>
|
|
177
|
+
|
|
178
|
+
<small class="clamp"
|
|
179
|
+
>Liquid AI’s reasoning mixture-of-experts model with 24B parameters and 2B active, built
|
|
180
|
+
for fast on-device agents.</small
|
|
181
|
+
>
|
|
182
|
+
</span>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<p class="label">Choose a model size</p>
|
|
186
|
+
|
|
187
|
+
<span class="size">24B-A2B</span>
|
|
188
|
+
|
|
189
|
+
<p class="label">Choose a version</p>
|
|
190
|
+
|
|
191
|
+
{#each versions as v (v.quant)}
|
|
192
|
+
<div class="version">
|
|
193
|
+
<Download size={16} strokeWidth={1.25} />
|
|
194
|
+
|
|
195
|
+
<span class="name">{v.label}</span>
|
|
196
|
+
|
|
197
|
+
<span class="weight">{v.quant} · {v.size}</span>
|
|
198
|
+
|
|
199
|
+
<span
|
|
200
|
+
aria-label={v.fit === 'yes' ? 'Fits this PC' : 'Might fit this PC'}
|
|
201
|
+
class={['fit', v.fit]}
|
|
202
|
+
role="img"
|
|
203
|
+
>
|
|
204
|
+
{#if v.fit === 'yes'}<Check size={9} strokeWidth={3} />{:else}?{/if}
|
|
205
|
+
</span>
|
|
206
|
+
</div>
|
|
207
|
+
{/each}
|
|
208
|
+
</div>
|
|
209
|
+
{/snippet}
|
|
210
|
+
|
|
211
|
+
{#snippet body()}
|
|
212
|
+
{#if view === 'details'}{@render details()}{:else}{@render models()}{/if}
|
|
213
|
+
{/snippet}
|
|
214
|
+
|
|
215
|
+
{#if card}
|
|
216
|
+
<div class="flyout only-card">{@render body()}</div>
|
|
217
|
+
{:else}
|
|
218
|
+
<div class="flyout">
|
|
219
|
+
<!-- the card clips its list, so its parts' marks hang off the flyout, at their rows' fixed heights -->
|
|
220
|
+
{#if view === 'list'}
|
|
221
|
+
<span class="card-mark installed-mark">{@render mark('installed', 'right')}</span>
|
|
222
|
+
<span class="card-mark browse-mark">{@render mark('browse', 'left')}</span>
|
|
223
|
+
{/if}
|
|
224
|
+
|
|
225
|
+
<div class="head">
|
|
226
|
+
<Logo class="icon" style="--size: 20px" />
|
|
227
|
+
|
|
228
|
+
<span class="buttons"
|
|
229
|
+
><Settings size={15} strokeWidth={1.5} /><Power size={15} strokeWidth={1.5} /></span
|
|
230
|
+
>
|
|
231
|
+
</div>
|
|
232
|
+
|
|
233
|
+
{@render body()}
|
|
234
|
+
|
|
235
|
+
<div class="search">
|
|
236
|
+
{@render mark('search', 'left')}
|
|
237
|
+
<span class="hf"><img alt="Hugging Face" src={hfLogo} /></span>
|
|
238
|
+
|
|
239
|
+
<span class="field">Search models …<Search size={12} strokeWidth={1.75} /></span>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
<p class="status">
|
|
243
|
+
{@render mark('status', 'left')}
|
|
244
|
+
<i class="dot"></i>0.14.1.0 - version: 0.8.0-dev (build 12019, commit 1052f7e1d)<Monitor
|
|
245
|
+
size={13}
|
|
246
|
+
strokeWidth={1.75}
|
|
247
|
+
/>
|
|
248
|
+
</p>
|
|
249
|
+
</div>
|
|
250
|
+
{/if}
|
|
251
|
+
|
|
252
|
+
<style>
|
|
253
|
+
/* a model's page in the card: measured off the 0.13 release notes' screenshot, at half its pixels */
|
|
254
|
+
.details {
|
|
255
|
+
padding: 10px 16px 16px 24px;
|
|
256
|
+
}
|
|
257
|
+
.back {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
gap: 8px;
|
|
261
|
+
height: 31.5px;
|
|
262
|
+
margin: 0;
|
|
263
|
+
color: rgb(255 255 255 / 0.82);
|
|
264
|
+
font-size: 13.5px;
|
|
265
|
+
}
|
|
266
|
+
.model {
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: flex-start;
|
|
269
|
+
gap: 10px;
|
|
270
|
+
margin: 10px 0 0 -1.5px;
|
|
271
|
+
}
|
|
272
|
+
.tile.big {
|
|
273
|
+
width: 40px;
|
|
274
|
+
height: 40px;
|
|
275
|
+
}
|
|
276
|
+
.tile.big .logo.round {
|
|
277
|
+
width: 28px;
|
|
278
|
+
height: 28px;
|
|
279
|
+
padding: 5px;
|
|
280
|
+
}
|
|
281
|
+
.clamp {
|
|
282
|
+
display: -webkit-box;
|
|
283
|
+
-webkit-box-orient: vertical;
|
|
284
|
+
-webkit-line-clamp: 2;
|
|
285
|
+
line-clamp: 2;
|
|
286
|
+
white-space: normal !important;
|
|
287
|
+
}
|
|
288
|
+
.label {
|
|
289
|
+
margin: 16px 0 8px;
|
|
290
|
+
color: rgb(255 255 255 / 0.85);
|
|
291
|
+
font-size: 13px;
|
|
292
|
+
font-weight: 600;
|
|
293
|
+
}
|
|
294
|
+
.size {
|
|
295
|
+
display: inline-grid;
|
|
296
|
+
place-items: center;
|
|
297
|
+
align-self: flex-start;
|
|
298
|
+
height: 29px;
|
|
299
|
+
padding: 0 8px;
|
|
300
|
+
box-sizing: border-box;
|
|
301
|
+
border: 1.5px solid #4cc2ff;
|
|
302
|
+
border-radius: 4px;
|
|
303
|
+
background: #3c3d3f;
|
|
304
|
+
font-size: 13px;
|
|
305
|
+
font-weight: 600;
|
|
306
|
+
}
|
|
307
|
+
.version {
|
|
308
|
+
display: flex;
|
|
309
|
+
align-items: center;
|
|
310
|
+
gap: 12px;
|
|
311
|
+
height: 30px;
|
|
312
|
+
padding: 0 4px;
|
|
313
|
+
color: rgb(255 255 255 / 0.85);
|
|
314
|
+
}
|
|
315
|
+
.version .name {
|
|
316
|
+
flex: 1;
|
|
317
|
+
color: #fff;
|
|
318
|
+
font-size: 14px;
|
|
319
|
+
}
|
|
320
|
+
.weight {
|
|
321
|
+
font-size: 13px;
|
|
322
|
+
}
|
|
323
|
+
.fit {
|
|
324
|
+
display: grid;
|
|
325
|
+
place-items: center;
|
|
326
|
+
width: 12.5px;
|
|
327
|
+
height: 12.5px;
|
|
328
|
+
border-radius: 2.5px;
|
|
329
|
+
font:
|
|
330
|
+
700 10px / 1 'Segoe UI Variable Text',
|
|
331
|
+
'Segoe UI',
|
|
332
|
+
system-ui,
|
|
333
|
+
sans-serif;
|
|
334
|
+
}
|
|
335
|
+
.fit.maybe {
|
|
336
|
+
background: #fe9a00;
|
|
337
|
+
color: #1a1a1a;
|
|
338
|
+
}
|
|
339
|
+
.fit.yes {
|
|
340
|
+
background: #009966;
|
|
341
|
+
color: #fff;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/* Windows 11's dark acrylic flyout, its card a step lighter, in Segoe UI where there is one */
|
|
345
|
+
.flyout {
|
|
346
|
+
position: relative;
|
|
347
|
+
display: flex;
|
|
348
|
+
flex-direction: column;
|
|
349
|
+
width: 417px;
|
|
350
|
+
height: 560px;
|
|
351
|
+
box-sizing: border-box;
|
|
352
|
+
border: 1px solid rgb(255 255 255 / 0.16);
|
|
353
|
+
border-radius: 8px;
|
|
354
|
+
background: #242422;
|
|
355
|
+
color: #fff;
|
|
356
|
+
font:
|
|
357
|
+
400 12.5px / 1.3 'Segoe UI Variable Text',
|
|
358
|
+
'Segoe UI',
|
|
359
|
+
system-ui,
|
|
360
|
+
sans-serif;
|
|
361
|
+
box-shadow: 0 16px 40px rgb(0 0 0 / 0.4);
|
|
362
|
+
}
|
|
363
|
+
.only-card {
|
|
364
|
+
width: auto;
|
|
365
|
+
height: auto;
|
|
366
|
+
border: 0;
|
|
367
|
+
background: none;
|
|
368
|
+
box-shadow: none;
|
|
369
|
+
}
|
|
370
|
+
.head {
|
|
371
|
+
display: flex;
|
|
372
|
+
flex: none;
|
|
373
|
+
align-items: center;
|
|
374
|
+
justify-content: space-between;
|
|
375
|
+
height: 44px;
|
|
376
|
+
margin: 0 15px;
|
|
377
|
+
border-bottom: 1px solid rgb(255 255 255 / 0.12);
|
|
378
|
+
}
|
|
379
|
+
.head :global(.icon) {
|
|
380
|
+
display: grid;
|
|
381
|
+
color: #fff;
|
|
382
|
+
}
|
|
383
|
+
/* a page's mark: a box of no size on the flyout's edge, its content centred on it. The card and its rows start 17
|
|
384
|
+
pixels in (its margin and the flyout's border), the search and the status 16 */
|
|
385
|
+
.mark {
|
|
386
|
+
position: absolute;
|
|
387
|
+
top: 50%;
|
|
388
|
+
z-index: 1;
|
|
389
|
+
display: flex;
|
|
390
|
+
align-items: center;
|
|
391
|
+
justify-content: center;
|
|
392
|
+
width: 0;
|
|
393
|
+
height: 0;
|
|
394
|
+
}
|
|
395
|
+
.mark.left {
|
|
396
|
+
left: -17px;
|
|
397
|
+
}
|
|
398
|
+
.mark.right {
|
|
399
|
+
right: -16px;
|
|
400
|
+
}
|
|
401
|
+
/* the card's top is 58 pixels down (the border, the 44 head and the 13 above it), its title 31.5 high, the
|
|
402
|
+
installed rows 48 each and Browse more 28 */
|
|
403
|
+
.card-mark {
|
|
404
|
+
position: absolute;
|
|
405
|
+
right: 0;
|
|
406
|
+
left: 0;
|
|
407
|
+
height: 0;
|
|
408
|
+
}
|
|
409
|
+
.installed-mark {
|
|
410
|
+
top: 113.5px;
|
|
411
|
+
}
|
|
412
|
+
.browse-mark {
|
|
413
|
+
top: 199.5px;
|
|
414
|
+
}
|
|
415
|
+
.card-mark .mark.left {
|
|
416
|
+
left: 0;
|
|
417
|
+
}
|
|
418
|
+
.card-mark .mark.right {
|
|
419
|
+
right: 0;
|
|
420
|
+
}
|
|
421
|
+
.search .mark.left,
|
|
422
|
+
.status .mark.left {
|
|
423
|
+
left: -16px;
|
|
424
|
+
}
|
|
425
|
+
.buttons {
|
|
426
|
+
display: flex;
|
|
427
|
+
gap: 13px;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.card {
|
|
431
|
+
display: flex;
|
|
432
|
+
flex: none;
|
|
433
|
+
flex-direction: column;
|
|
434
|
+
width: 386px;
|
|
435
|
+
height: 410px;
|
|
436
|
+
box-sizing: border-box;
|
|
437
|
+
margin: 13px 15px 0 16px;
|
|
438
|
+
overflow: hidden;
|
|
439
|
+
border-radius: 8px;
|
|
440
|
+
background: #31302d;
|
|
441
|
+
box-shadow:
|
|
442
|
+
0 0 0 1px rgb(0 0 0 / 0.18),
|
|
443
|
+
0 1px 2px rgb(0 0 0 / 0.3);
|
|
444
|
+
}
|
|
445
|
+
.card-title {
|
|
446
|
+
display: flex;
|
|
447
|
+
flex: none;
|
|
448
|
+
align-items: center;
|
|
449
|
+
gap: 10px;
|
|
450
|
+
height: 31.5px;
|
|
451
|
+
margin: 0;
|
|
452
|
+
padding: 7px 0 0 9px;
|
|
453
|
+
box-sizing: border-box;
|
|
454
|
+
color: rgb(255 255 255 / 0.82);
|
|
455
|
+
font-size: 13.5px;
|
|
456
|
+
}
|
|
457
|
+
.open {
|
|
458
|
+
display: grid;
|
|
459
|
+
color: rgb(255 255 255 / 0.75);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.row {
|
|
463
|
+
position: relative;
|
|
464
|
+
display: flex;
|
|
465
|
+
flex: none;
|
|
466
|
+
align-items: center;
|
|
467
|
+
gap: 10.5px;
|
|
468
|
+
height: 45.5px;
|
|
469
|
+
padding: 0 19px 0 16px;
|
|
470
|
+
color: #fff;
|
|
471
|
+
}
|
|
472
|
+
.installed {
|
|
473
|
+
height: 48px;
|
|
474
|
+
padding-right: 22px;
|
|
475
|
+
}
|
|
476
|
+
/* the separators run from the tile's edge to 16px short of the card's */
|
|
477
|
+
.row + .row::before {
|
|
478
|
+
position: absolute;
|
|
479
|
+
top: 0;
|
|
480
|
+
right: 16px;
|
|
481
|
+
left: 16px;
|
|
482
|
+
height: 1px;
|
|
483
|
+
background: rgb(255 255 255 / 0.1);
|
|
484
|
+
content: '';
|
|
485
|
+
}
|
|
486
|
+
.tile {
|
|
487
|
+
display: grid;
|
|
488
|
+
flex: none;
|
|
489
|
+
place-items: center;
|
|
490
|
+
width: 32px;
|
|
491
|
+
height: 32px;
|
|
492
|
+
border-radius: 4px;
|
|
493
|
+
background: #474541;
|
|
494
|
+
}
|
|
495
|
+
.logo {
|
|
496
|
+
display: grid;
|
|
497
|
+
place-items: center;
|
|
498
|
+
width: 22.5px;
|
|
499
|
+
height: 22.5px;
|
|
500
|
+
color: #fff;
|
|
501
|
+
}
|
|
502
|
+
.logo :global(svg) {
|
|
503
|
+
width: 100%;
|
|
504
|
+
height: 100%;
|
|
505
|
+
}
|
|
506
|
+
/* Meta's mark in its blue on a white square, Liquid's in black on a white disc */
|
|
507
|
+
.logo.square {
|
|
508
|
+
width: 24px;
|
|
509
|
+
height: 24px;
|
|
510
|
+
padding: 3px;
|
|
511
|
+
box-sizing: border-box;
|
|
512
|
+
border-radius: 1px;
|
|
513
|
+
background: #fff;
|
|
514
|
+
color: #0668e1;
|
|
515
|
+
}
|
|
516
|
+
.logo.round {
|
|
517
|
+
width: 23px;
|
|
518
|
+
height: 23px;
|
|
519
|
+
padding: 4px;
|
|
520
|
+
box-sizing: border-box;
|
|
521
|
+
border-radius: 50%;
|
|
522
|
+
background: #fff;
|
|
523
|
+
color: #000;
|
|
524
|
+
}
|
|
525
|
+
.info {
|
|
526
|
+
display: grid;
|
|
527
|
+
flex: 1;
|
|
528
|
+
gap: 2px;
|
|
529
|
+
min-width: 0;
|
|
530
|
+
}
|
|
531
|
+
.info b {
|
|
532
|
+
overflow: hidden;
|
|
533
|
+
font-weight: 600;
|
|
534
|
+
white-space: nowrap;
|
|
535
|
+
text-overflow: ellipsis;
|
|
536
|
+
}
|
|
537
|
+
.bar {
|
|
538
|
+
margin: 0 7px;
|
|
539
|
+
color: rgb(255 255 255 / 0.7);
|
|
540
|
+
font-weight: 400;
|
|
541
|
+
}
|
|
542
|
+
.sizes {
|
|
543
|
+
color: rgb(255 255 255 / 0.85);
|
|
544
|
+
font-weight: 400;
|
|
545
|
+
}
|
|
546
|
+
.info small {
|
|
547
|
+
overflow: hidden;
|
|
548
|
+
color: rgb(255 255 255 / 0.85);
|
|
549
|
+
font-size: 10.75px;
|
|
550
|
+
white-space: nowrap;
|
|
551
|
+
text-overflow: ellipsis;
|
|
552
|
+
}
|
|
553
|
+
.tags {
|
|
554
|
+
display: flex;
|
|
555
|
+
align-items: center;
|
|
556
|
+
gap: 7px;
|
|
557
|
+
color: rgb(255 255 255 / 0.85);
|
|
558
|
+
font-size: 11px;
|
|
559
|
+
}
|
|
560
|
+
.tags i {
|
|
561
|
+
display: inline-grid;
|
|
562
|
+
place-items: center;
|
|
563
|
+
height: 15px;
|
|
564
|
+
padding: 0 4px;
|
|
565
|
+
border-radius: 3px;
|
|
566
|
+
background: #474541;
|
|
567
|
+
font-style: normal;
|
|
568
|
+
}
|
|
569
|
+
.actions {
|
|
570
|
+
display: flex;
|
|
571
|
+
gap: 11.5px;
|
|
572
|
+
color: rgb(255 255 255 / 0.8);
|
|
573
|
+
}
|
|
574
|
+
.row :global(.lucide-chevron-right) {
|
|
575
|
+
flex: none;
|
|
576
|
+
color: rgb(255 255 255 / 0.75);
|
|
577
|
+
}
|
|
578
|
+
.browse {
|
|
579
|
+
display: flex;
|
|
580
|
+
flex: none;
|
|
581
|
+
align-items: center;
|
|
582
|
+
gap: 8px;
|
|
583
|
+
height: 28px;
|
|
584
|
+
margin: 0;
|
|
585
|
+
padding: 0 7.5px 0 8.5px;
|
|
586
|
+
color: rgb(255 255 255 / 0.62);
|
|
587
|
+
font-size: 11.5px;
|
|
588
|
+
}
|
|
589
|
+
.browse::before,
|
|
590
|
+
.browse::after {
|
|
591
|
+
flex: 1;
|
|
592
|
+
height: 1px;
|
|
593
|
+
background: rgb(255 255 255 / 0.1);
|
|
594
|
+
content: '';
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.search {
|
|
598
|
+
position: relative;
|
|
599
|
+
display: flex;
|
|
600
|
+
flex: none;
|
|
601
|
+
gap: 4px;
|
|
602
|
+
height: 32px;
|
|
603
|
+
margin: 13.5px 14px 0 15px;
|
|
604
|
+
}
|
|
605
|
+
.hf {
|
|
606
|
+
display: grid;
|
|
607
|
+
flex: none;
|
|
608
|
+
place-items: center;
|
|
609
|
+
width: 32px;
|
|
610
|
+
border-radius: 4px;
|
|
611
|
+
background: #393937;
|
|
612
|
+
}
|
|
613
|
+
.hf img {
|
|
614
|
+
width: 19px;
|
|
615
|
+
height: 19px;
|
|
616
|
+
}
|
|
617
|
+
.field {
|
|
618
|
+
display: flex;
|
|
619
|
+
flex: 1;
|
|
620
|
+
align-items: center;
|
|
621
|
+
justify-content: space-between;
|
|
622
|
+
padding: 0 14px 0 11.5px;
|
|
623
|
+
border-radius: 4px;
|
|
624
|
+
background: #343431;
|
|
625
|
+
box-shadow: inset 0 -1px 0 #a4a4a2;
|
|
626
|
+
color: rgb(255 255 255 / 0.78);
|
|
627
|
+
font-size: 12.5px;
|
|
628
|
+
}
|
|
629
|
+
.status {
|
|
630
|
+
position: relative;
|
|
631
|
+
display: flex;
|
|
632
|
+
flex: 1;
|
|
633
|
+
align-items: center;
|
|
634
|
+
justify-content: center;
|
|
635
|
+
gap: 7px;
|
|
636
|
+
margin: 13px 15px 0;
|
|
637
|
+
border-top: 1px solid rgb(255 255 255 / 0.1);
|
|
638
|
+
font-size: 11px;
|
|
639
|
+
font-weight: 600;
|
|
640
|
+
}
|
|
641
|
+
.status :global(svg) {
|
|
642
|
+
color: #4d9be6;
|
|
643
|
+
}
|
|
644
|
+
.dot {
|
|
645
|
+
width: 7px;
|
|
646
|
+
height: 7px;
|
|
647
|
+
border-radius: 50%;
|
|
648
|
+
background: #6dbe61;
|
|
649
|
+
}
|
|
650
|
+
</style>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type WindowsTrayPart = 'browse' | 'installed' | 'search' | 'status';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
interface Props {
|
|
4
|
+
/** a page's mark (a numbered callout) for a part of the flyout, centred on the flyout's edge level with it */
|
|
5
|
+
annotate?: Snippet<[WindowsTrayPart]>;
|
|
6
|
+
/** the Models card alone */
|
|
7
|
+
card?: boolean;
|
|
8
|
+
/** the model list, or a model's page with its versions and their fit verdicts */
|
|
9
|
+
view?: 'details' | 'list';
|
|
10
|
+
}
|
|
11
|
+
declare const WindowsTray: import("svelte").Component<Props, {}, "">;
|
|
12
|
+
type WindowsTray = ReturnType<typeof WindowsTray>;
|
|
13
|
+
export default WindowsTray;
|