fancy-ui-svelte 0.10.0 → 0.12.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/README.md +5 -4
- package/dist/cameleon/FancyProvider.svelte +63 -0
- package/dist/cameleon/FancyProvider.svelte.d.ts +14 -0
- package/dist/cameleon/cameleon.css +27 -0
- package/dist/cameleon/context.d.ts +14 -0
- package/dist/cameleon/context.js +15 -0
- package/dist/cameleon/index.d.ts +23 -0
- package/dist/cameleon/index.js +22 -0
- package/dist/cameleon/primitives/Badge.svelte +23 -0
- package/dist/cameleon/primitives/Badge.svelte.d.ts +12 -0
- package/dist/cameleon/primitives/Button.svelte +60 -0
- package/dist/cameleon/primitives/Button.svelte.d.ts +15 -0
- package/dist/cameleon/primitives/Checkbox.svelte +56 -0
- package/dist/cameleon/primitives/Checkbox.svelte.d.ts +14 -0
- package/dist/cameleon/primitives/Input.svelte +37 -0
- package/dist/cameleon/primitives/Input.svelte.d.ts +13 -0
- package/dist/cameleon/primitives/Radio.svelte +53 -0
- package/dist/cameleon/primitives/Radio.svelte.d.ts +15 -0
- package/dist/cameleon/primitives/Select.svelte +49 -0
- package/dist/cameleon/primitives/Select.svelte.d.ts +14 -0
- package/dist/cameleon/primitives/Slider.svelte +34 -0
- package/dist/cameleon/primitives/Slider.svelte.d.ts +10 -0
- package/dist/cameleon/primitives/Switch.svelte +43 -0
- package/dist/cameleon/primitives/Switch.svelte.d.ts +12 -0
- package/dist/cameleon/primitives/Textarea.svelte +36 -0
- package/dist/cameleon/primitives/Textarea.svelte.d.ts +12 -0
- package/dist/cameleon/primitives/Tooltip.svelte +32 -0
- package/dist/cameleon/primitives/Tooltip.svelte.d.ts +16 -0
- package/dist/cameleon/primitives/index.d.ts +10 -0
- package/dist/cameleon/primitives/index.js +10 -0
- package/dist/cameleon/skins/aurora/aurora.css +41 -0
- package/dist/cameleon/skins/aurora/index.d.ts +3 -0
- package/dist/cameleon/skins/aurora/index.js +12 -0
- package/dist/cameleon/skins/aurora/meta.d.ts +3 -0
- package/dist/cameleon/skins/aurora/meta.js +58 -0
- package/dist/cameleon/skins/aurora/recipes.d.ts +24 -0
- package/dist/cameleon/skins/aurora/recipes.js +163 -0
- package/dist/cameleon/skins/aurora/tokens.d.ts +6 -0
- package/dist/cameleon/skins/aurora/tokens.js +19 -0
- package/dist/cameleon/skins/brutal/brutal.css +35 -0
- package/dist/cameleon/skins/brutal/index.d.ts +3 -0
- package/dist/cameleon/skins/brutal/index.js +31 -0
- package/dist/cameleon/skins/brutal/meta.d.ts +3 -0
- package/dist/cameleon/skins/brutal/meta.js +70 -0
- package/dist/cameleon/skins/brutal/ornaments.d.ts +2 -0
- package/dist/cameleon/skins/brutal/ornaments.js +13 -0
- package/dist/cameleon/skins/brutal/recipes.d.ts +23 -0
- package/dist/cameleon/skins/brutal/recipes.js +147 -0
- package/dist/cameleon/skins/brutal/tokens.d.ts +8 -0
- package/dist/cameleon/skins/brutal/tokens.js +26 -0
- package/dist/cameleon/skins/default.d.ts +2 -0
- package/dist/cameleon/skins/default.js +95 -0
- package/dist/cameleon/skins/glass/glass.css +55 -0
- package/dist/cameleon/skins/glass/index.d.ts +3 -0
- package/dist/cameleon/skins/glass/index.js +12 -0
- package/dist/cameleon/skins/glass/meta.d.ts +3 -0
- package/dist/cameleon/skins/glass/meta.js +60 -0
- package/dist/cameleon/skins/glass/recipes.d.ts +24 -0
- package/dist/cameleon/skins/glass/recipes.js +155 -0
- package/dist/cameleon/skins/glass/tokens.d.ts +5 -0
- package/dist/cameleon/skins/glass/tokens.js +18 -0
- package/dist/cameleon/skins/retro-os/index.d.ts +3 -0
- package/dist/cameleon/skins/retro-os/index.js +20 -0
- package/dist/cameleon/skins/retro-os/kit/AppWindow.svelte +88 -0
- package/dist/cameleon/skins/retro-os/kit/AppWindow.svelte.d.ts +10 -0
- package/dist/cameleon/skins/retro-os/kit/Chip.svelte +43 -0
- package/dist/cameleon/skins/retro-os/kit/Chip.svelte.d.ts +17 -0
- package/dist/cameleon/skins/retro-os/kit/EmptyMediaFrame.svelte +56 -0
- package/dist/cameleon/skins/retro-os/kit/EmptyMediaFrame.svelte.d.ts +10 -0
- package/dist/cameleon/skins/retro-os/kit/HeaderBar.svelte +62 -0
- package/dist/cameleon/skins/retro-os/kit/HeaderBar.svelte.d.ts +15 -0
- package/dist/cameleon/skins/retro-os/kit/IconTile.svelte +44 -0
- package/dist/cameleon/skins/retro-os/kit/IconTile.svelte.d.ts +13 -0
- package/dist/cameleon/skins/retro-os/kit/InlineIndexLabel.svelte +27 -0
- package/dist/cameleon/skins/retro-os/kit/InlineIndexLabel.svelte.d.ts +11 -0
- package/dist/cameleon/skins/retro-os/kit/Led.svelte +29 -0
- package/dist/cameleon/skins/retro-os/kit/Led.svelte.d.ts +9 -0
- package/dist/cameleon/skins/retro-os/kit/NotchedFrame.svelte +83 -0
- package/dist/cameleon/skins/retro-os/kit/NotchedFrame.svelte.d.ts +11 -0
- package/dist/cameleon/skins/retro-os/kit/NumChip.svelte +25 -0
- package/dist/cameleon/skins/retro-os/kit/NumChip.svelte.d.ts +9 -0
- package/dist/cameleon/skins/retro-os/kit/PixelGlyph.svelte +38 -0
- package/dist/cameleon/skins/retro-os/kit/PixelGlyph.svelte.d.ts +13 -0
- package/dist/cameleon/skins/retro-os/kit/PlayBadge.svelte +46 -0
- package/dist/cameleon/skins/retro-os/kit/PlayBadge.svelte.d.ts +7 -0
- package/dist/cameleon/skins/retro-os/kit/RetroButton.svelte +76 -0
- package/dist/cameleon/skins/retro-os/kit/RetroButton.svelte.d.ts +21 -0
- package/dist/cameleon/skins/retro-os/kit/RetroCard.svelte +92 -0
- package/dist/cameleon/skins/retro-os/kit/RetroCard.svelte.d.ts +16 -0
- package/dist/cameleon/skins/retro-os/kit/RetroTag.svelte +35 -0
- package/dist/cameleon/skins/retro-os/kit/RetroTag.svelte.d.ts +13 -0
- package/dist/cameleon/skins/retro-os/kit/SectionWindow.svelte +125 -0
- package/dist/cameleon/skins/retro-os/kit/SectionWindow.svelte.d.ts +23 -0
- package/dist/cameleon/skins/retro-os/kit/StatusPill.svelte +32 -0
- package/dist/cameleon/skins/retro-os/kit/StatusPill.svelte.d.ts +13 -0
- package/dist/cameleon/skins/retro-os/kit/Swatches.svelte +33 -0
- package/dist/cameleon/skins/retro-os/kit/Swatches.svelte.d.ts +9 -0
- package/dist/cameleon/skins/retro-os/kit/VideoFrame.svelte +177 -0
- package/dist/cameleon/skins/retro-os/kit/VideoFrame.svelte.d.ts +20 -0
- package/dist/cameleon/skins/retro-os/kit/accents.d.ts +25 -0
- package/dist/cameleon/skins/retro-os/kit/accents.js +28 -0
- package/dist/cameleon/skins/retro-os/kit/index.d.ts +41 -0
- package/dist/cameleon/skins/retro-os/kit/index.js +41 -0
- package/dist/cameleon/skins/retro-os/kit/kit-windows.test.d.ts +1 -0
- package/dist/cameleon/skins/retro-os/kit/kit-windows.test.js +159 -0
- package/dist/cameleon/skins/retro-os/kit/kit.css +247 -0
- package/dist/cameleon/skins/retro-os/kit/kit.test.d.ts +1 -0
- package/dist/cameleon/skins/retro-os/kit/kit.test.js +123 -0
- package/dist/cameleon/skins/retro-os/meta.d.ts +3 -0
- package/dist/cameleon/skins/retro-os/meta.js +58 -0
- package/dist/cameleon/skins/retro-os/ornaments.d.ts +2 -0
- package/dist/cameleon/skins/retro-os/ornaments.js +17 -0
- package/dist/cameleon/skins/retro-os/recipes.d.ts +35 -0
- package/dist/cameleon/skins/retro-os/recipes.js +160 -0
- package/dist/cameleon/skins/retro-os/retro-os.css +107 -0
- package/dist/cameleon/skins/retro-os/tokens.d.ts +16 -0
- package/dist/cameleon/skins/retro-os/tokens.js +34 -0
- package/dist/cameleon/skins/terminal/index.d.ts +3 -0
- package/dist/cameleon/skins/terminal/index.js +20 -0
- package/dist/cameleon/skins/terminal/meta.d.ts +3 -0
- package/dist/cameleon/skins/terminal/meta.js +67 -0
- package/dist/cameleon/skins/terminal/ornaments.d.ts +2 -0
- package/dist/cameleon/skins/terminal/ornaments.js +11 -0
- package/dist/cameleon/skins/terminal/recipes.d.ts +25 -0
- package/dist/cameleon/skins/terminal/recipes.js +154 -0
- package/dist/cameleon/skins/terminal/terminal.css +52 -0
- package/dist/cameleon/skins/terminal/tokens.d.ts +5 -0
- package/dist/cameleon/skins/terminal/tokens.js +18 -0
- package/dist/cameleon/types.d.ts +132 -0
- package/dist/cameleon/types.js +1 -0
- package/dist/fancy-ui/_internals/ScrollLockHarness.test.svelte +29 -0
- package/dist/fancy-ui/_internals/ScrollLockHarness.test.svelte.d.ts +3 -0
- package/dist/fancy-ui/_internals/ScrollLockPanel.test.svelte +43 -0
- package/dist/fancy-ui/_internals/ScrollLockPanel.test.svelte.d.ts +8 -0
- package/dist/fancy-ui/_internals/anchor-position.d.ts +18 -7
- package/dist/fancy-ui/_internals/anchor-position.js +45 -10
- package/dist/fancy-ui/_internals/anchor-position.test.js +48 -1
- package/dist/fancy-ui/_internals/dismissable.d.ts +16 -0
- package/dist/fancy-ui/_internals/dismissable.js +23 -6
- package/dist/fancy-ui/_internals/dismissable.test.js +115 -6
- package/dist/fancy-ui/_internals/focus-trap.d.ts +36 -0
- package/dist/fancy-ui/_internals/focus-trap.js +106 -39
- package/dist/fancy-ui/_internals/focus-trap.test.js +356 -1
- package/dist/fancy-ui/_internals/motion/AnchoredHarness.test.svelte +42 -0
- package/dist/fancy-ui/_internals/motion/AnchoredHarness.test.svelte.d.ts +11 -0
- package/dist/fancy-ui/_internals/motion/TransitionsHarness.test.svelte +32 -0
- package/dist/fancy-ui/_internals/motion/TransitionsHarness.test.svelte.d.ts +10 -0
- package/dist/fancy-ui/_internals/motion/anchored.d.ts +104 -0
- package/dist/fancy-ui/_internals/motion/anchored.js +141 -0
- package/dist/fancy-ui/_internals/motion/anchored.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/anchored.test.js +250 -0
- package/dist/fancy-ui/_internals/motion/haptics.d.ts +38 -0
- package/dist/fancy-ui/_internals/motion/haptics.js +59 -0
- package/dist/fancy-ui/_internals/motion/haptics.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/haptics.test.js +70 -0
- package/dist/fancy-ui/_internals/motion/in-view.d.ts +24 -0
- package/dist/fancy-ui/_internals/motion/in-view.js +99 -0
- package/dist/fancy-ui/_internals/motion/in-view.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/in-view.test.js +149 -0
- package/dist/fancy-ui/_internals/motion/media-query.svelte.d.ts +26 -0
- package/dist/fancy-ui/_internals/motion/media-query.svelte.js +69 -0
- package/dist/fancy-ui/_internals/motion/media-query.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/media-query.test.js +175 -0
- package/dist/fancy-ui/_internals/motion/presets.d.ts +34 -0
- package/dist/fancy-ui/_internals/motion/presets.js +33 -0
- package/dist/fancy-ui/_internals/motion/presets.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/presets.test.js +48 -0
- package/dist/fancy-ui/_internals/motion/raf.d.ts +35 -0
- package/dist/fancy-ui/_internals/motion/raf.js +54 -0
- package/dist/fancy-ui/_internals/motion/raf.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/raf.test.js +104 -0
- package/dist/fancy-ui/_internals/motion/stagger.d.ts +32 -0
- package/dist/fancy-ui/_internals/motion/stagger.js +51 -0
- package/dist/fancy-ui/_internals/motion/stagger.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/stagger.test.js +58 -0
- package/dist/fancy-ui/_internals/motion/tokens.d.ts +97 -0
- package/dist/fancy-ui/_internals/motion/tokens.js +83 -0
- package/dist/fancy-ui/_internals/motion/tokens.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/tokens.test.js +28 -0
- package/dist/fancy-ui/_internals/motion/transitions.d.ts +52 -0
- package/dist/fancy-ui/_internals/motion/transitions.js +91 -0
- package/dist/fancy-ui/_internals/motion/transitions.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/transitions.test.js +143 -0
- package/dist/fancy-ui/_internals/motion/types.d.ts +17 -0
- package/dist/fancy-ui/_internals/motion/types.js +15 -0
- package/dist/fancy-ui/_internals/motion/types.test.d.ts +1 -0
- package/dist/fancy-ui/_internals/motion/types.test.js +19 -0
- package/dist/fancy-ui/_internals/scroll-lock.d.ts +21 -0
- package/dist/fancy-ui/_internals/scroll-lock.js +20 -0
- package/dist/fancy-ui/_internals/scroll-lock.test.js +82 -1
- package/dist/fancy-ui/agent-plan/AgentPlan.svelte +16 -1
- package/dist/fancy-ui/agent-plan/AgentPlan.svelte.d.ts +5 -0
- package/dist/fancy-ui/agent-plan/AgentPlan.test.js +55 -1
- package/dist/fancy-ui/agent-plan/README.md +11 -0
- package/dist/fancy-ui/alert-dialog/AlertDialog.svelte +20 -0
- package/dist/fancy-ui/alert-dialog/AlertDialog.svelte.d.ts +5 -0
- package/dist/fancy-ui/alert-dialog/AlertDialog.test.js +145 -2
- package/dist/fancy-ui/alert-dialog/README.md +45 -14
- package/dist/fancy-ui/animated-beam/AnimatedBeam.svelte +4 -0
- package/dist/fancy-ui/animated-beam/AnimatedBeam.test.js +16 -0
- package/dist/fancy-ui/animated-beam/README.md +1 -0
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.svelte +13 -3
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.svelte.d.ts +5 -0
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.test.js +70 -0
- package/dist/fancy-ui/animated-testimonials/README.md +17 -6
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.svelte +21 -1
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.test.js +25 -1
- package/dist/fancy-ui/animated-tooltip/README.md +1 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCard.svelte +20 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCard.svelte.d.ts +5 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.svelte +7 -1
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.svelte.d.ts +5 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.test.js +111 -1
- package/dist/fancy-ui/apple-card-carousel/README.md +16 -5
- package/dist/fancy-ui/approval-card/ApprovalCard.svelte +10 -0
- package/dist/fancy-ui/approval-card/ApprovalCard.svelte.d.ts +5 -0
- package/dist/fancy-ui/approval-card/ApprovalCard.test.js +51 -1
- package/dist/fancy-ui/approval-card/README.md +30 -14
- package/dist/fancy-ui/artifact-card/ArtifactCard.svelte +19 -1
- package/dist/fancy-ui/artifact-card/ArtifactCard.svelte.d.ts +5 -0
- package/dist/fancy-ui/artifact-card/ArtifactCard.test.js +80 -1
- package/dist/fancy-ui/artifact-card/README.md +24 -13
- package/dist/fancy-ui/autocomplete/Autocomplete.svelte +16 -0
- package/dist/fancy-ui/autocomplete/Autocomplete.svelte.d.ts +5 -0
- package/dist/fancy-ui/autocomplete/Autocomplete.test.js +245 -1
- package/dist/fancy-ui/autocomplete/AutocompletePanel.svelte +60 -3
- package/dist/fancy-ui/autocomplete/AutocompletePanel.svelte.d.ts +2 -17
- package/dist/fancy-ui/autocomplete/README.md +74 -17
- package/dist/fancy-ui/autocomplete/types.d.ts +8 -0
- package/dist/fancy-ui/blur-reveal/BlurReveal.svelte +16 -1
- package/dist/fancy-ui/blur-reveal/BlurReveal.svelte.d.ts +2 -0
- package/dist/fancy-ui/blur-reveal/BlurReveal.test.js +15 -0
- package/dist/fancy-ui/blur-reveal/README.md +22 -11
- package/dist/fancy-ui/breadcrumb/Breadcrumb.svelte +16 -0
- package/dist/fancy-ui/breadcrumb/Breadcrumb.svelte.d.ts +6 -0
- package/dist/fancy-ui/breadcrumb/Breadcrumb.test.js +43 -2
- package/dist/fancy-ui/breadcrumb/README.md +11 -0
- package/dist/fancy-ui/button/Button.svelte +8 -0
- package/dist/fancy-ui/button/Button.svelte.d.ts +5 -0
- package/dist/fancy-ui/button/Button.test.js +61 -1
- package/dist/fancy-ui/button/README.md +11 -0
- package/dist/fancy-ui/chat-error/ChatError.svelte +19 -1
- package/dist/fancy-ui/chat-error/ChatError.svelte.d.ts +6 -0
- package/dist/fancy-ui/chat-error/ChatError.test.js +40 -0
- package/dist/fancy-ui/chat-error/README.md +11 -0
- package/dist/fancy-ui/chat-message/ChatMessage.svelte +13 -0
- package/dist/fancy-ui/chat-message/ChatMessage.svelte.d.ts +9 -0
- package/dist/fancy-ui/chat-message/ChatMessageAction.svelte +10 -0
- package/dist/fancy-ui/chat-message/ChatMessageBranches.svelte +14 -3
- package/dist/fancy-ui/chat-message/ChatMessageHarness.test.svelte +3 -1
- package/dist/fancy-ui/chat-message/ChatMessageHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/chat-message/ChatMessageParts.test.js +68 -0
- package/dist/fancy-ui/chat-message/README.md +25 -0
- package/dist/fancy-ui/chat-message/types.d.ts +7 -0
- package/dist/fancy-ui/chat-panel/ChatPanel.svelte +9 -0
- package/dist/fancy-ui/chat-panel/ChatPanel.svelte.d.ts +6 -0
- package/dist/fancy-ui/chat-panel/ChatPanel.test.js +46 -0
- package/dist/fancy-ui/chat-panel/README.md +15 -0
- package/dist/fancy-ui/checkbox/Checkbox.svelte +147 -42
- package/dist/fancy-ui/checkbox/Checkbox.svelte.d.ts +5 -0
- package/dist/fancy-ui/checkbox/Checkbox.test.js +201 -0
- package/dist/fancy-ui/checkbox/CheckboxFieldHarness.test.svelte +3 -2
- package/dist/fancy-ui/checkbox/CheckboxFieldHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/checkbox/README.md +80 -11
- package/dist/fancy-ui/code-diff/CodeDiff.svelte +23 -2
- package/dist/fancy-ui/code-diff/CodeDiff.svelte.d.ts +5 -0
- package/dist/fancy-ui/code-diff/CodeDiff.test.js +61 -1
- package/dist/fancy-ui/code-diff/README.md +21 -10
- package/dist/fancy-ui/combobox/Combobox.svelte +16 -0
- package/dist/fancy-ui/combobox/Combobox.svelte.d.ts +5 -0
- package/dist/fancy-ui/combobox/Combobox.test.js +210 -0
- package/dist/fancy-ui/combobox/ComboboxPanel.svelte +57 -3
- package/dist/fancy-ui/combobox/ComboboxPanel.svelte.d.ts +2 -17
- package/dist/fancy-ui/combobox/README.md +52 -0
- package/dist/fancy-ui/combobox/types.d.ts +8 -0
- package/dist/fancy-ui/command-menu/CommandMenu.svelte +122 -47
- package/dist/fancy-ui/command-menu/CommandMenu.svelte.d.ts +5 -0
- package/dist/fancy-ui/command-menu/CommandMenu.test.js +242 -4
- package/dist/fancy-ui/command-menu/README.md +43 -2
- package/dist/fancy-ui/composer/Composer.svelte +14 -0
- package/dist/fancy-ui/composer/Composer.svelte.d.ts +5 -0
- package/dist/fancy-ui/composer/Composer.test.js +107 -1
- package/dist/fancy-ui/composer/ComposerAttachment.svelte +7 -0
- package/dist/fancy-ui/composer/ComposerAttachments.test.js +49 -1
- package/dist/fancy-ui/composer/ComposerCommandMenu.svelte +5 -0
- package/dist/fancy-ui/composer/ComposerCommandMenu.test.js +57 -2
- package/dist/fancy-ui/composer/ComposerHarness.test.svelte +3 -0
- package/dist/fancy-ui/composer/ComposerHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/composer/ComposerModelPicker.svelte +14 -2
- package/dist/fancy-ui/composer/ComposerToolbar.test.js +64 -2
- package/dist/fancy-ui/composer/README.md +31 -0
- package/dist/fancy-ui/composer/types.d.ts +6 -0
- package/dist/fancy-ui/confetti/Confetti.test.js +55 -11
- package/dist/fancy-ui/confetti/ConfettiButton.svelte +8 -1
- package/dist/fancy-ui/confetti/ConfettiButton.svelte.d.ts +5 -0
- package/dist/fancy-ui/confetti/README.md +22 -9
- package/dist/fancy-ui/context-menu/ContextMenu.svelte +27 -3
- package/dist/fancy-ui/context-menu/ContextMenu.svelte.d.ts +5 -0
- package/dist/fancy-ui/context-menu/ContextMenu.test.js +324 -0
- package/dist/fancy-ui/context-menu/ContextMenuContent.svelte +77 -22
- package/dist/fancy-ui/context-menu/ContextMenuHarness.test.svelte +3 -1
- package/dist/fancy-ui/context-menu/ContextMenuHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/context-menu/README.md +86 -2
- package/dist/fancy-ui/context-menu/types.d.ts +5 -3
- package/dist/fancy-ui/context-ring/ContextRing.svelte +24 -3
- package/dist/fancy-ui/context-ring/ContextRing.svelte.d.ts +5 -0
- package/dist/fancy-ui/context-ring/ContextRing.test.js +75 -1
- package/dist/fancy-ui/context-ring/README.md +11 -0
- package/dist/fancy-ui/copy-button/CopyButton.svelte +183 -51
- package/dist/fancy-ui/copy-button/CopyButton.svelte.d.ts +11 -4
- package/dist/fancy-ui/copy-button/CopyButton.test.js +315 -16
- package/dist/fancy-ui/copy-button/README.md +121 -43
- package/dist/fancy-ui/date-picker/DatePicker.svelte +74 -22
- package/dist/fancy-ui/date-picker/DatePicker.svelte.d.ts +5 -0
- package/dist/fancy-ui/date-picker/DatePicker.test.js +230 -0
- package/dist/fancy-ui/date-picker/README.md +50 -0
- package/dist/fancy-ui/dialog/Dialog.svelte +16 -0
- package/dist/fancy-ui/dialog/Dialog.svelte.d.ts +5 -0
- package/dist/fancy-ui/dialog/Dialog.test.js +234 -3
- package/dist/fancy-ui/dialog/DialogSurface.svelte +101 -48
- package/dist/fancy-ui/dialog/README.md +43 -16
- package/dist/fancy-ui/dim-siblings/DimSiblings.svelte +184 -0
- package/dist/fancy-ui/dim-siblings/DimSiblings.svelte.d.ts +35 -0
- package/dist/fancy-ui/dim-siblings/DimSiblings.test.d.ts +1 -0
- package/dist/fancy-ui/dim-siblings/DimSiblings.test.js +127 -0
- package/dist/fancy-ui/dim-siblings/DimSiblingsHarness.test.svelte +18 -0
- package/dist/fancy-ui/dim-siblings/DimSiblingsHarness.test.svelte.d.ts +18 -0
- package/dist/fancy-ui/dim-siblings/README.md +77 -0
- package/dist/fancy-ui/dim-siblings/index.d.ts +3 -0
- package/dist/fancy-ui/dim-siblings/index.js +2 -0
- package/dist/fancy-ui/displacement-text/DisplacementText.svelte +6 -1
- package/dist/fancy-ui/displacement-text/DisplacementText.test.js +5 -1
- package/dist/fancy-ui/displacement-text/README.md +1 -0
- package/dist/fancy-ui/dock/Dock.svelte +44 -4
- package/dist/fancy-ui/dock/Dock.test.js +133 -2
- package/dist/fancy-ui/dock/DockHarness.test.svelte +36 -0
- package/dist/fancy-ui/dock/DockHarness.test.svelte.d.ts +8 -0
- package/dist/fancy-ui/dock/DockIcon.svelte +6 -0
- package/dist/fancy-ui/dock/README.md +49 -22
- package/dist/fancy-ui/dock/types.d.ts +8 -0
- package/dist/fancy-ui/drawer/Drawer.svelte +176 -50
- package/dist/fancy-ui/drawer/Drawer.svelte.d.ts +12 -0
- package/dist/fancy-ui/drawer/Drawer.test.js +228 -10
- package/dist/fancy-ui/drawer/DrawerHarness.test.svelte +6 -2
- package/dist/fancy-ui/drawer/DrawerHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/drawer/README.md +70 -26
- package/dist/fancy-ui/dropdown-menu/DropdownMenu.svelte +18 -3
- package/dist/fancy-ui/dropdown-menu/DropdownMenu.svelte.d.ts +5 -0
- package/dist/fancy-ui/dropdown-menu/DropdownMenu.test.js +477 -8
- package/dist/fancy-ui/dropdown-menu/DropdownMenuContent.svelte +70 -21
- package/dist/fancy-ui/dropdown-menu/DropdownMenuHarness.test.svelte +3 -1
- package/dist/fancy-ui/dropdown-menu/DropdownMenuHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/dropdown-menu/DropdownMenuItem.svelte +6 -1
- package/dist/fancy-ui/dropdown-menu/DropdownMenuSub.svelte +24 -5
- package/dist/fancy-ui/dropdown-menu/DropdownMenuSubContent.svelte +74 -20
- package/dist/fancy-ui/dropdown-menu/DropdownMenuSubTrigger.svelte +1 -0
- package/dist/fancy-ui/dropdown-menu/README.md +106 -5
- package/dist/fancy-ui/dropdown-menu/index.d.ts +1 -1
- package/dist/fancy-ui/dropdown-menu/types.d.ts +52 -8
- package/dist/fancy-ui/editorial-engine/EditorialEngine.svelte +37 -15
- package/dist/fancy-ui/editorial-engine/EditorialEngine.test.js +34 -2
- package/dist/fancy-ui/editorial-engine/README.md +9 -0
- package/dist/fancy-ui/file-upload/FileUpload.svelte +137 -15
- package/dist/fancy-ui/file-upload/FileUpload.svelte.d.ts +5 -0
- package/dist/fancy-ui/file-upload/FileUpload.test.js +302 -1
- package/dist/fancy-ui/file-upload/README.md +69 -5
- package/dist/fancy-ui/fireworks-hdr/FireworksHdr.svelte +12 -2
- package/dist/fancy-ui/fireworks-hdr/FireworksHdr.test.js +70 -0
- package/dist/fancy-ui/fireworks-hdr/README.md +4 -2
- package/dist/fancy-ui/form-field/FormField.svelte +38 -2
- package/dist/fancy-ui/form-field/FormField.test.js +118 -1
- package/dist/fancy-ui/form-field/README.md +26 -0
- package/dist/fancy-ui/gradient-button/GradientButton.svelte +14 -0
- package/dist/fancy-ui/gradient-button/GradientButton.svelte.d.ts +5 -0
- package/dist/fancy-ui/gradient-button/GradientButton.test.js +40 -2
- package/dist/fancy-ui/gradient-button/README.md +10 -0
- package/dist/fancy-ui/hover-card/HoverCard.svelte +76 -29
- package/dist/fancy-ui/hover-card/HoverCard.test.js +227 -8
- package/dist/fancy-ui/hover-card/README.md +47 -1
- package/dist/fancy-ui/icon-button/IconButton.svelte +7 -0
- package/dist/fancy-ui/icon-button/IconButton.svelte.d.ts +5 -0
- package/dist/fancy-ui/icon-button/IconButton.test.js +40 -1
- package/dist/fancy-ui/icon-button/README.md +13 -0
- package/dist/fancy-ui/image-generation/ImageGeneration.svelte +18 -1
- package/dist/fancy-ui/image-generation/ImageGeneration.svelte.d.ts +6 -0
- package/dist/fancy-ui/image-generation/ImageGeneration.test.js +46 -0
- package/dist/fancy-ui/image-generation/README.md +11 -0
- package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.test.js +17 -0
- package/dist/fancy-ui/image-trail-cursor/README.md +20 -18
- package/dist/fancy-ui/image-trail-cursor/trail-variants.d.ts +6 -1
- package/dist/fancy-ui/image-trail-cursor/trail-variants.js +33 -0
- package/dist/fancy-ui/image-trail-cursor/trail-variants.test.d.ts +1 -0
- package/dist/fancy-ui/image-trail-cursor/trail-variants.test.js +14 -0
- package/dist/fancy-ui/index.d.ts +14 -0
- package/dist/fancy-ui/index.js +16 -0
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.svelte +10 -3
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.svelte.d.ts +4 -0
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.test.js +37 -1
- package/dist/fancy-ui/interactive-grid-pattern/README.md +20 -9
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.svelte +26 -3
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.svelte.d.ts +5 -0
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.test.js +69 -2
- package/dist/fancy-ui/interactive-hover-button/README.md +30 -5
- package/dist/fancy-ui/line-hover-link/LineHoverLink.svelte +198 -51
- package/dist/fancy-ui/line-hover-link/LineHoverLink.svelte.d.ts +7 -1
- package/dist/fancy-ui/line-hover-link/LineHoverLink.test.js +81 -2
- package/dist/fancy-ui/line-hover-link/README.md +45 -10
- package/dist/fancy-ui/line-reveal/LineReveal.svelte +10 -6
- package/dist/fancy-ui/line-reveal/LineReveal.test.js +20 -16
- package/dist/fancy-ui/link/Link.svelte +54 -1
- package/dist/fancy-ui/link/Link.svelte.d.ts +5 -0
- package/dist/fancy-ui/link/Link.test.js +67 -1
- package/dist/fancy-ui/link/README.md +35 -0
- package/dist/fancy-ui/liquid-glass/README.md +4 -0
- package/dist/fancy-ui/logo-cloud/README.md +47 -14
- package/dist/fancy-ui/logo-cloud/StaticLogoCloud.svelte +43 -6
- package/dist/fancy-ui/logo-cloud/StaticLogoCloud.svelte.d.ts +18 -0
- package/dist/fancy-ui/logo-cloud/StaticLogoCloud.test.d.ts +1 -0
- package/dist/fancy-ui/logo-cloud/StaticLogoCloud.test.js +57 -0
- package/dist/fancy-ui/logo-cloud/index.d.ts +2 -2
- package/dist/fancy-ui/magnetic/Magnetic.svelte +337 -0
- package/dist/fancy-ui/magnetic/Magnetic.svelte.d.ts +40 -0
- package/dist/fancy-ui/magnetic/Magnetic.test.d.ts +1 -0
- package/dist/fancy-ui/magnetic/Magnetic.test.js +354 -0
- package/dist/fancy-ui/magnetic/README.md +175 -0
- package/dist/fancy-ui/magnetic/index.d.ts +2 -0
- package/dist/fancy-ui/magnetic/index.js +2 -0
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.ssr.test.d.ts +1 -0
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.ssr.test.js +22 -0
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.svelte +528 -0
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.svelte.d.ts +53 -0
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.test.d.ts +1 -0
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.test.js +319 -0
- package/dist/fancy-ui/mosaic-glow/README.md +60 -0
- package/dist/fancy-ui/mosaic-glow/index.d.ts +2 -0
- package/dist/fancy-ui/mosaic-glow/index.js +2 -0
- package/dist/fancy-ui/mosaic-glow/mosaic-glow-core.d.ts +87 -0
- package/dist/fancy-ui/mosaic-glow/mosaic-glow-core.js +221 -0
- package/dist/fancy-ui/mosaic-glow/mosaic-glow-core.test.d.ts +1 -0
- package/dist/fancy-ui/mosaic-glow/mosaic-glow-core.test.js +201 -0
- package/dist/fancy-ui/navbar/Navbar.test.js +76 -1
- package/dist/fancy-ui/navbar/NavbarLink.svelte +55 -1
- package/dist/fancy-ui/navbar/NavbarLink.svelte.d.ts +5 -0
- package/dist/fancy-ui/navbar/README.md +36 -0
- package/dist/fancy-ui/navigation-menu/NavigationMenu.test.js +151 -12
- package/dist/fancy-ui/navigation-menu/NavigationMenuContent.svelte +74 -26
- package/dist/fancy-ui/navigation-menu/README.md +58 -0
- package/dist/fancy-ui/number-input/NumberInput.svelte +110 -3
- package/dist/fancy-ui/number-input/NumberInput.svelte.d.ts +5 -0
- package/dist/fancy-ui/number-input/NumberInput.test.js +234 -0
- package/dist/fancy-ui/number-input/README.md +65 -0
- package/dist/fancy-ui/number-ticker/NumberTicker.svelte +18 -3
- package/dist/fancy-ui/number-ticker/NumberTicker.test.js +94 -0
- package/dist/fancy-ui/pagination/Pagination.svelte +63 -1
- package/dist/fancy-ui/pagination/Pagination.svelte.d.ts +5 -0
- package/dist/fancy-ui/pagination/Pagination.test.js +90 -2
- package/dist/fancy-ui/pagination/PaginationHarness.test.svelte +3 -0
- package/dist/fancy-ui/pagination/PaginationHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/pagination/README.md +38 -0
- package/dist/fancy-ui/password-input/PasswordInput.svelte +109 -9
- package/dist/fancy-ui/password-input/PasswordInput.svelte.d.ts +5 -0
- package/dist/fancy-ui/password-input/PasswordInput.test.js +187 -0
- package/dist/fancy-ui/password-input/README.md +52 -0
- package/dist/fancy-ui/popover/Popover.svelte +17 -0
- package/dist/fancy-ui/popover/Popover.svelte.d.ts +5 -0
- package/dist/fancy-ui/popover/Popover.test.js +361 -2
- package/dist/fancy-ui/popover/PopoverContent.svelte +86 -22
- package/dist/fancy-ui/popover/README.md +70 -12
- package/dist/fancy-ui/popover/types.d.ts +11 -0
- package/dist/fancy-ui/presence/Presence.svelte +162 -0
- package/dist/fancy-ui/presence/Presence.svelte.d.ts +29 -0
- package/dist/fancy-ui/presence/Presence.test.d.ts +1 -0
- package/dist/fancy-ui/presence/Presence.test.js +274 -0
- package/dist/fancy-ui/presence/PresenceHarness.test.svelte +23 -0
- package/dist/fancy-ui/presence/PresenceHarness.test.svelte.d.ts +7 -0
- package/dist/fancy-ui/presence/README.md +121 -0
- package/dist/fancy-ui/presence/index.d.ts +2 -0
- package/dist/fancy-ui/presence/index.js +1 -0
- package/dist/fancy-ui/pressable/Pressable.svelte +217 -0
- package/dist/fancy-ui/pressable/Pressable.svelte.d.ts +32 -0
- package/dist/fancy-ui/pressable/Pressable.test.d.ts +1 -0
- package/dist/fancy-ui/pressable/Pressable.test.js +285 -0
- package/dist/fancy-ui/pressable/README.md +80 -0
- package/dist/fancy-ui/pressable/index.d.ts +3 -0
- package/dist/fancy-ui/pressable/index.js +2 -0
- package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.svelte +14 -1
- package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.svelte.d.ts +5 -0
- package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.test.js +41 -1
- package/dist/fancy-ui/prompt-suggestions/README.md +11 -0
- package/dist/fancy-ui/pulse-beam/PulseBeam.ssr.test.d.ts +1 -0
- package/dist/fancy-ui/pulse-beam/PulseBeam.ssr.test.js +15 -0
- package/dist/fancy-ui/pulse-beam/PulseBeam.svelte +373 -0
- package/dist/fancy-ui/pulse-beam/PulseBeam.svelte.d.ts +50 -0
- package/dist/fancy-ui/pulse-beam/PulseBeam.test.d.ts +1 -0
- package/dist/fancy-ui/pulse-beam/PulseBeam.test.js +254 -0
- package/dist/fancy-ui/pulse-beam/README.md +72 -0
- package/dist/fancy-ui/pulse-beam/index.d.ts +2 -0
- package/dist/fancy-ui/pulse-beam/index.js +2 -0
- package/dist/fancy-ui/pulse-beam/pulse-beam-data.d.ts +81 -0
- package/dist/fancy-ui/pulse-beam/pulse-beam-data.js +331 -0
- package/dist/fancy-ui/pulse-beam/pulse-beam-data.test.d.ts +1 -0
- package/dist/fancy-ui/pulse-beam/pulse-beam-data.test.js +155 -0
- package/dist/fancy-ui/pulse-beam/pulse-beam-loop.d.ts +26 -0
- package/dist/fancy-ui/pulse-beam/pulse-beam-loop.js +84 -0
- package/dist/fancy-ui/radio-group/README.md +36 -1
- package/dist/fancy-ui/radio-group/RadioGroup.svelte +9 -0
- package/dist/fancy-ui/radio-group/RadioGroup.svelte.d.ts +5 -0
- package/dist/fancy-ui/radio-group/RadioGroup.test.js +111 -0
- package/dist/fancy-ui/radio-group/RadioGroupHarness.test.svelte +13 -1
- package/dist/fancy-ui/radio-group/RadioGroupHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/radio-group/RadioGroupItem.svelte +31 -2
- package/dist/fancy-ui/rainbow-button/README.md +23 -9
- package/dist/fancy-ui/rainbow-button/RainbowButton.svelte +25 -1
- package/dist/fancy-ui/rainbow-button/RainbowButton.svelte.d.ts +5 -0
- package/dist/fancy-ui/rainbow-button/RainbowButton.test.js +49 -2
- package/dist/fancy-ui/reasoning-panel/README.md +11 -0
- package/dist/fancy-ui/reasoning-panel/ReasoningPanel.svelte +13 -1
- package/dist/fancy-ui/reasoning-panel/ReasoningPanel.svelte.d.ts +5 -0
- package/dist/fancy-ui/reasoning-panel/ReasoningPanel.test.js +47 -1
- package/dist/fancy-ui/recommendation-card/README.md +25 -14
- package/dist/fancy-ui/recommendation-card/RecommendationCard.svelte +10 -0
- package/dist/fancy-ui/recommendation-card/RecommendationCard.svelte.d.ts +5 -0
- package/dist/fancy-ui/recommendation-card/RecommendationCard.test.js +39 -1
- package/dist/fancy-ui/registry.d.ts +7 -0
- package/dist/fancy-ui/registry.js +1459 -108
- package/dist/fancy-ui/registry.test.d.ts +1 -0
- package/dist/fancy-ui/registry.test.js +32 -0
- package/dist/fancy-ui/reveal/README.md +186 -0
- package/dist/fancy-ui/reveal/Reveal.svelte +353 -0
- package/dist/fancy-ui/reveal/Reveal.svelte.d.ts +41 -0
- package/dist/fancy-ui/reveal/Reveal.test.d.ts +1 -0
- package/dist/fancy-ui/reveal/Reveal.test.js +421 -0
- package/dist/fancy-ui/reveal/RevealHarness.test.svelte +49 -0
- package/dist/fancy-ui/reveal/RevealHarness.test.svelte.d.ts +9 -0
- package/dist/fancy-ui/reveal/index.d.ts +2 -0
- package/dist/fancy-ui/reveal/index.js +1 -0
- package/dist/fancy-ui/ripple-button/README.md +17 -6
- package/dist/fancy-ui/ripple-button/RippleButton.svelte +10 -1
- package/dist/fancy-ui/ripple-button/RippleButton.svelte.d.ts +5 -0
- package/dist/fancy-ui/ripple-button/RippleButton.test.js +81 -2
- package/dist/fancy-ui/scroll-anchor/README.md +11 -0
- package/dist/fancy-ui/scroll-anchor/ScrollAnchor.svelte +9 -0
- package/dist/fancy-ui/scroll-anchor/ScrollAnchor.svelte.d.ts +6 -0
- package/dist/fancy-ui/scroll-anchor/ScrollAnchor.test.js +39 -0
- package/dist/fancy-ui/scroll-progress/README.md +73 -0
- package/dist/fancy-ui/scroll-progress/ScrollProgress.svelte +291 -0
- package/dist/fancy-ui/scroll-progress/ScrollProgress.svelte.d.ts +38 -0
- package/dist/fancy-ui/scroll-progress/ScrollProgress.test.d.ts +1 -0
- package/dist/fancy-ui/scroll-progress/ScrollProgress.test.js +275 -0
- package/dist/fancy-ui/scroll-progress/index.d.ts +3 -0
- package/dist/fancy-ui/scroll-progress/index.js +2 -0
- package/dist/fancy-ui/search-input/README.md +44 -0
- package/dist/fancy-ui/search-input/SearchInput.svelte +31 -0
- package/dist/fancy-ui/search-input/SearchInput.svelte.d.ts +5 -0
- package/dist/fancy-ui/search-input/SearchInput.test.js +131 -0
- package/dist/fancy-ui/select/README.md +51 -0
- package/dist/fancy-ui/select/Select.svelte +39 -11
- package/dist/fancy-ui/select/Select.svelte.d.ts +5 -0
- package/dist/fancy-ui/select/Select.test.js +276 -4
- package/dist/fancy-ui/select/SelectPanel.svelte +56 -18
- package/dist/fancy-ui/select/types.d.ts +14 -0
- package/dist/fancy-ui/sheet/README.md +63 -27
- package/dist/fancy-ui/sheet/Sheet.svelte +150 -85
- package/dist/fancy-ui/sheet/Sheet.svelte.d.ts +12 -0
- package/dist/fancy-ui/sheet/Sheet.test.js +192 -8
- package/dist/fancy-ui/sheet/SheetHarness.test.svelte +3 -2
- package/dist/fancy-ui/sheet/SheetHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/shimmer-button/README.md +10 -0
- package/dist/fancy-ui/shimmer-button/ShimmerButton.svelte +14 -0
- package/dist/fancy-ui/shimmer-button/ShimmerButton.svelte.d.ts +5 -0
- package/dist/fancy-ui/shimmer-button/ShimmerButton.test.js +39 -2
- package/dist/fancy-ui/sidebar/README.md +42 -0
- package/dist/fancy-ui/sidebar/Sidebar.svelte +14 -1
- package/dist/fancy-ui/sidebar/Sidebar.test.js +94 -1
- package/dist/fancy-ui/sidebar/SidebarItem.svelte +51 -1
- package/dist/fancy-ui/sidebar/SidebarItem.svelte.d.ts +5 -0
- package/dist/fancy-ui/skeleton/README.md +166 -0
- package/dist/fancy-ui/skeleton/Skeleton.svelte +390 -0
- package/dist/fancy-ui/skeleton/Skeleton.svelte.d.ts +38 -0
- package/dist/fancy-ui/skeleton/Skeleton.test.d.ts +1 -0
- package/dist/fancy-ui/skeleton/Skeleton.test.js +347 -0
- package/dist/fancy-ui/skeleton/SkeletonRevealHarness.test.svelte +48 -0
- package/dist/fancy-ui/skeleton/SkeletonRevealHarness.test.svelte.d.ts +11 -0
- package/dist/fancy-ui/skeleton/index.d.ts +3 -0
- package/dist/fancy-ui/skeleton/index.js +2 -0
- package/dist/fancy-ui/slider/README.md +19 -0
- package/dist/fancy-ui/slider/Slider.svelte +19 -0
- package/dist/fancy-ui/slider/Slider.svelte.d.ts +5 -0
- package/dist/fancy-ui/slider/Slider.test.js +37 -0
- package/dist/fancy-ui/smooth-cursor/SmoothCursor.svelte +2 -1
- package/dist/fancy-ui/smooth-cursor/SmoothCursor.test.js +6 -0
- package/dist/fancy-ui/sound/README.md +347 -0
- package/dist/fancy-ui/sound/SoundToggle.svelte +185 -0
- package/dist/fancy-ui/sound/SoundToggle.svelte.d.ts +27 -0
- package/dist/fancy-ui/sound/SoundToggle.test.d.ts +1 -0
- package/dist/fancy-ui/sound/SoundToggle.test.js +251 -0
- package/dist/fancy-ui/sound/SoundToggleHarness.test.svelte +18 -0
- package/dist/fancy-ui/sound/SoundToggleHarness.test.svelte.d.ts +3 -0
- package/dist/fancy-ui/sound/engine.d.ts +67 -0
- package/dist/fancy-ui/sound/engine.js +440 -0
- package/dist/fancy-ui/sound/engine.test.d.ts +1 -0
- package/dist/fancy-ui/sound/engine.test.js +638 -0
- package/dist/fancy-ui/sound/index.d.ts +7 -0
- package/dist/fancy-ui/sound/index.js +7 -0
- package/dist/fancy-ui/sound/sound-feedback.d.ts +50 -0
- package/dist/fancy-ui/sound/sound-feedback.js +144 -0
- package/dist/fancy-ui/sound/sound-feedback.test.d.ts +1 -0
- package/dist/fancy-ui/sound/sound-feedback.test.js +272 -0
- package/dist/fancy-ui/sound/sound.barrel.test.d.ts +1 -0
- package/dist/fancy-ui/sound/sound.barrel.test.js +161 -0
- package/dist/fancy-ui/sound/sound.integration.test.d.ts +1 -0
- package/dist/fancy-ui/sound/sound.integration.test.js +541 -0
- package/dist/fancy-ui/sound/sound.ssr.test.d.ts +1 -0
- package/dist/fancy-ui/sound/sound.ssr.test.js +128 -0
- package/dist/fancy-ui/sound/sound.svelte.d.ts +54 -0
- package/dist/fancy-ui/sound/sound.svelte.js +349 -0
- package/dist/fancy-ui/sound/sound.test.d.ts +1 -0
- package/dist/fancy-ui/sound/sound.test.js +318 -0
- package/dist/fancy-ui/sound/themes.d.ts +19 -0
- package/dist/fancy-ui/sound/themes.js +367 -0
- package/dist/fancy-ui/sound/themes.test.d.ts +1 -0
- package/dist/fancy-ui/sound/themes.test.js +188 -0
- package/dist/fancy-ui/sound/types.d.ts +125 -0
- package/dist/fancy-ui/sound/types.js +59 -0
- package/dist/fancy-ui/sound/web-audio-mock.d.ts +144 -0
- package/dist/fancy-ui/sound/web-audio-mock.js +274 -0
- package/dist/fancy-ui/sources/README.md +12 -1
- package/dist/fancy-ui/sources/Sources.svelte +9 -0
- package/dist/fancy-ui/sources/Sources.svelte.d.ts +6 -0
- package/dist/fancy-ui/sources/Sources.test.js +34 -0
- package/dist/fancy-ui/sources/SourcesHarness.test.svelte +10 -2
- package/dist/fancy-ui/sources/SourcesHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/sparkles/Sparkles.svelte +6 -3
- package/dist/fancy-ui/sparkles/Sparkles.test.js +51 -0
- package/dist/fancy-ui/status-morph/README.md +175 -0
- package/dist/fancy-ui/status-morph/StatusMorph.svelte +449 -0
- package/dist/fancy-ui/status-morph/StatusMorph.svelte.d.ts +45 -0
- package/dist/fancy-ui/status-morph/StatusMorph.test.d.ts +1 -0
- package/dist/fancy-ui/status-morph/StatusMorph.test.js +243 -0
- package/dist/fancy-ui/status-morph/StatusMorphHarness.test.svelte +33 -0
- package/dist/fancy-ui/status-morph/StatusMorphHarness.test.svelte.d.ts +7 -0
- package/dist/fancy-ui/status-morph/index.d.ts +3 -0
- package/dist/fancy-ui/status-morph/index.js +2 -0
- package/dist/fancy-ui/stepper/README.md +40 -0
- package/dist/fancy-ui/stepper/Step.svelte +26 -0
- package/dist/fancy-ui/stepper/Stepper.svelte +9 -0
- package/dist/fancy-ui/stepper/Stepper.svelte.d.ts +5 -0
- package/dist/fancy-ui/stepper/Stepper.test.js +98 -1
- package/dist/fancy-ui/stepper/StepperHarness.test.svelte +11 -1
- package/dist/fancy-ui/stepper/StepperHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/sticky-scroll/README.md +91 -0
- package/dist/fancy-ui/sticky-scroll/StickyScroll.svelte +255 -0
- package/dist/fancy-ui/sticky-scroll/StickyScroll.svelte.d.ts +62 -0
- package/dist/fancy-ui/sticky-scroll/StickyScroll.test.d.ts +1 -0
- package/dist/fancy-ui/sticky-scroll/StickyScroll.test.js +267 -0
- package/dist/fancy-ui/sticky-scroll/StickyScrollHarness.test.svelte +73 -0
- package/dist/fancy-ui/sticky-scroll/StickyScrollHarness.test.svelte.d.ts +12 -0
- package/dist/fancy-ui/sticky-scroll/index.d.ts +3 -0
- package/dist/fancy-ui/sticky-scroll/index.js +2 -0
- package/dist/fancy-ui/subagent-list/README.md +11 -0
- package/dist/fancy-ui/subagent-list/SubagentList.svelte +15 -1
- package/dist/fancy-ui/subagent-list/SubagentList.svelte.d.ts +5 -0
- package/dist/fancy-ui/subagent-list/SubagentList.test.js +50 -1
- package/dist/fancy-ui/switch/README.md +36 -6
- package/dist/fancy-ui/switch/Switch.svelte +26 -4
- package/dist/fancy-ui/switch/Switch.svelte.d.ts +5 -0
- package/dist/fancy-ui/switch/Switch.test.js +122 -0
- package/dist/fancy-ui/tabs/README.md +141 -11
- package/dist/fancy-ui/tabs/Tabs.svelte +9 -0
- package/dist/fancy-ui/tabs/Tabs.svelte.d.ts +5 -0
- package/dist/fancy-ui/tabs/Tabs.test.js +407 -2
- package/dist/fancy-ui/tabs/TabsContent.svelte +34 -0
- package/dist/fancy-ui/tabs/TabsHarness.test.svelte +3 -1
- package/dist/fancy-ui/tabs/TabsHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/tabs/TabsList.svelte +330 -0
- package/dist/fancy-ui/tabs/TabsTrigger.svelte +46 -23
- package/dist/fancy-ui/terminal-text/README.md +1 -1
- package/dist/fancy-ui/terminal-text/TerminalText.svelte +31 -2
- package/dist/fancy-ui/terminal-text/TerminalText.test.js +70 -0
- package/dist/fancy-ui/terminal-text/TerminalTextHarness.test.svelte +36 -0
- package/dist/fancy-ui/terminal-text/TerminalTextHarness.test.svelte.d.ts +6 -0
- package/dist/fancy-ui/text-roll/README.md +152 -0
- package/dist/fancy-ui/text-roll/TextRoll.svelte +455 -0
- package/dist/fancy-ui/text-roll/TextRoll.svelte.d.ts +53 -0
- package/dist/fancy-ui/text-roll/TextRoll.test.d.ts +1 -0
- package/dist/fancy-ui/text-roll/TextRoll.test.js +574 -0
- package/dist/fancy-ui/text-roll/TextRollHarness.test.svelte +49 -0
- package/dist/fancy-ui/text-roll/TextRollHarness.test.svelte.d.ts +7 -0
- package/dist/fancy-ui/text-roll/index.d.ts +2 -0
- package/dist/fancy-ui/text-roll/index.js +2 -0
- package/dist/fancy-ui/text-roll/roll-transitions.d.ts +74 -0
- package/dist/fancy-ui/text-roll/roll-transitions.js +66 -0
- package/dist/fancy-ui/thread-list/README.md +11 -0
- package/dist/fancy-ui/thread-list/ThreadList.svelte +15 -1
- package/dist/fancy-ui/thread-list/ThreadList.svelte.d.ts +6 -0
- package/dist/fancy-ui/thread-list/ThreadList.test.js +43 -0
- package/dist/fancy-ui/thread-list/ThreadListHarness.test.svelte +3 -0
- package/dist/fancy-ui/thread-list/ThreadListHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/time-picker/README.md +51 -1
- package/dist/fancy-ui/time-picker/TimePicker.svelte +47 -10
- package/dist/fancy-ui/time-picker/TimePicker.svelte.d.ts +5 -0
- package/dist/fancy-ui/time-picker/TimePicker.test.js +254 -1
- package/dist/fancy-ui/time-picker/TimePickerPanel.svelte +55 -20
- package/dist/fancy-ui/time-picker/types.d.ts +8 -0
- package/dist/fancy-ui/toast/README.md +62 -6
- package/dist/fancy-ui/toast/Toast.svelte +32 -15
- package/dist/fancy-ui/toast/Toast.test.js +243 -4
- package/dist/fancy-ui/toast/Toaster.svelte +48 -0
- package/dist/fancy-ui/toast/Toaster.svelte.d.ts +6 -0
- package/dist/fancy-ui/toggle/README.md +48 -11
- package/dist/fancy-ui/toggle/Toggle.svelte +89 -10
- package/dist/fancy-ui/toggle/Toggle.svelte.d.ts +5 -0
- package/dist/fancy-ui/toggle/Toggle.test.js +78 -1
- package/dist/fancy-ui/toggle-group/README.md +50 -12
- package/dist/fancy-ui/toggle-group/ToggleGroup.svelte +8 -0
- package/dist/fancy-ui/toggle-group/ToggleGroup.svelte.d.ts +5 -0
- package/dist/fancy-ui/toggle-group/ToggleGroup.test.js +97 -1
- package/dist/fancy-ui/toggle-group/ToggleGroupHarness.test.svelte +3 -1
- package/dist/fancy-ui/toggle-group/ToggleGroupHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/toggle-group/ToggleGroupItem.svelte +53 -1
- package/dist/fancy-ui/tool-call/README.md +21 -10
- package/dist/fancy-ui/tool-call/ToolCall.svelte +13 -1
- package/dist/fancy-ui/tool-call/ToolCall.svelte.d.ts +5 -0
- package/dist/fancy-ui/tool-call/ToolCall.test.js +50 -1
- package/dist/fancy-ui/tool-timeline/README.md +11 -0
- package/dist/fancy-ui/tool-timeline/ToolTimeline.svelte +15 -1
- package/dist/fancy-ui/tool-timeline/ToolTimeline.svelte.d.ts +5 -0
- package/dist/fancy-ui/tool-timeline/ToolTimeline.test.js +56 -2
- package/dist/fancy-ui/tooltip/README.md +26 -0
- package/dist/fancy-ui/tooltip/Tooltip.svelte +48 -20
- package/dist/fancy-ui/tooltip/Tooltip.test.js +118 -0
- package/dist/fancy-ui/voice-input/README.md +25 -13
- package/dist/fancy-ui/voice-input/VoiceInput.svelte +42 -1
- package/dist/fancy-ui/voice-input/VoiceInput.svelte.d.ts +5 -0
- package/dist/fancy-ui/voice-input/VoiceInput.test.js +99 -1
- package/dist/fancy-ui/voice-input/VoiceInputHarness.test.svelte +3 -1
- package/dist/fancy-ui/voice-input/VoiceInputHarness.test.svelte.d.ts +1 -0
- package/dist/fancy-ui/web-search/README.md +11 -0
- package/dist/fancy-ui/web-search/WebSearch.svelte +22 -2
- package/dist/fancy-ui/web-search/WebSearch.svelte.d.ts +5 -0
- package/dist/fancy-ui/web-search/WebSearch.test.js +60 -1
- package/package.json +14 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
3
|
+
import type { PartState } from "../types.js";
|
|
4
|
+
export interface SwitchProps extends Omit<HTMLButtonAttributes, "class" | "onclick"> {
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
error?: boolean;
|
|
7
|
+
demoState?: PartState;
|
|
8
|
+
class?: string;
|
|
9
|
+
ref?: HTMLButtonElement | null;
|
|
10
|
+
}
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<script lang="ts">
|
|
14
|
+
import { cn } from "../../utils.js";
|
|
15
|
+
import { useSkin } from "../context.js";
|
|
16
|
+
|
|
17
|
+
let {
|
|
18
|
+
checked = $bindable(false),
|
|
19
|
+
error = false,
|
|
20
|
+
disabled = false,
|
|
21
|
+
demoState,
|
|
22
|
+
class: className,
|
|
23
|
+
ref = $bindable(null),
|
|
24
|
+
...rest
|
|
25
|
+
}: SwitchProps = $props();
|
|
26
|
+
|
|
27
|
+
const ctx = useSkin();
|
|
28
|
+
const parts = $derived(ctx.skin.recipes.switch({ state: demoState }));
|
|
29
|
+
</script>
|
|
30
|
+
|
|
31
|
+
<button
|
|
32
|
+
bind:this={ref}
|
|
33
|
+
type="button"
|
|
34
|
+
role="switch"
|
|
35
|
+
aria-checked={checked}
|
|
36
|
+
aria-invalid={error}
|
|
37
|
+
{disabled}
|
|
38
|
+
onclick={() => (checked = !checked)}
|
|
39
|
+
class={cn(parts.root, className)}
|
|
40
|
+
{...rest}
|
|
41
|
+
>
|
|
42
|
+
<span class={parts.thumb}></span>
|
|
43
|
+
</button>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
2
|
+
import type { PartState } from "../types.js";
|
|
3
|
+
export interface SwitchProps extends Omit<HTMLButtonAttributes, "class" | "onclick"> {
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
demoState?: PartState;
|
|
7
|
+
class?: string;
|
|
8
|
+
ref?: HTMLButtonElement | null;
|
|
9
|
+
}
|
|
10
|
+
declare const Switch: import("svelte").Component<SwitchProps, {}, "ref" | "checked">;
|
|
11
|
+
type Switch = ReturnType<typeof Switch>;
|
|
12
|
+
export default Switch;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { HTMLTextareaAttributes } from "svelte/elements";
|
|
3
|
+
import type { PartState } from "../types.js";
|
|
4
|
+
export interface TextareaProps extends Omit<HTMLTextareaAttributes, "class"> {
|
|
5
|
+
error?: boolean;
|
|
6
|
+
demoState?: PartState;
|
|
7
|
+
class?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
ref?: HTMLTextAreaElement | null;
|
|
10
|
+
}
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<script lang="ts">
|
|
14
|
+
import { cn } from "../../utils.js";
|
|
15
|
+
import { useSkin } from "../context.js";
|
|
16
|
+
|
|
17
|
+
let {
|
|
18
|
+
error = false,
|
|
19
|
+
demoState,
|
|
20
|
+
class: className,
|
|
21
|
+
value = $bindable(""),
|
|
22
|
+
ref = $bindable(null),
|
|
23
|
+
...rest
|
|
24
|
+
}: TextareaProps = $props();
|
|
25
|
+
|
|
26
|
+
const ctx = useSkin();
|
|
27
|
+
const parts = $derived(ctx.skin.recipes.textarea({ state: demoState }));
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<textarea
|
|
31
|
+
bind:this={ref}
|
|
32
|
+
bind:value
|
|
33
|
+
class={cn(parts.root, className)}
|
|
34
|
+
aria-invalid={error}
|
|
35
|
+
{...rest}
|
|
36
|
+
></textarea>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HTMLTextareaAttributes } from "svelte/elements";
|
|
2
|
+
import type { PartState } from "../types.js";
|
|
3
|
+
export interface TextareaProps extends Omit<HTMLTextareaAttributes, "class"> {
|
|
4
|
+
error?: boolean;
|
|
5
|
+
demoState?: PartState;
|
|
6
|
+
class?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
ref?: HTMLTextAreaElement | null;
|
|
9
|
+
}
|
|
10
|
+
declare const Textarea: import("svelte").Component<TextareaProps, {}, "ref" | "value">;
|
|
11
|
+
type Textarea = ReturnType<typeof Textarea>;
|
|
12
|
+
export default Textarea;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
import type { PartState } from "../types.js";
|
|
4
|
+
export interface TooltipProps {
|
|
5
|
+
/** Text shown in the bubble on hover / keyboard focus. */
|
|
6
|
+
content: string;
|
|
7
|
+
/** Force a visual state (focus / error) for the /skins state matrix. */
|
|
8
|
+
demoState?: PartState;
|
|
9
|
+
/** Force the bubble visible (state matrix). */
|
|
10
|
+
demoOpen?: boolean;
|
|
11
|
+
class?: string;
|
|
12
|
+
/** Trigger contents; defaults to a "?" glyph. */
|
|
13
|
+
children?: Snippet;
|
|
14
|
+
}
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<script lang="ts">
|
|
18
|
+
import { cn } from "../../utils.js";
|
|
19
|
+
import { useSkin } from "../context.js";
|
|
20
|
+
|
|
21
|
+
let { content, demoState, demoOpen = false, class: className, children }: TooltipProps = $props();
|
|
22
|
+
|
|
23
|
+
const ctx = useSkin();
|
|
24
|
+
const parts = $derived(ctx.skin.recipes.tooltip({ state: demoState }));
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<span class={cn(parts.root, className)}>
|
|
28
|
+
<button type="button" class={parts.trigger} aria-label={content}>
|
|
29
|
+
{#if children}{@render children()}{:else}?{/if}
|
|
30
|
+
</button>
|
|
31
|
+
<span role="tooltip" class={cn(parts.bubble, demoOpen && "opacity-100")}>{content}</span>
|
|
32
|
+
</span>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
import type { PartState } from "../types.js";
|
|
3
|
+
export interface TooltipProps {
|
|
4
|
+
/** Text shown in the bubble on hover / keyboard focus. */
|
|
5
|
+
content: string;
|
|
6
|
+
/** Force a visual state (focus / error) for the /skins state matrix. */
|
|
7
|
+
demoState?: PartState;
|
|
8
|
+
/** Force the bubble visible (state matrix). */
|
|
9
|
+
demoOpen?: boolean;
|
|
10
|
+
class?: string;
|
|
11
|
+
/** Trigger contents; defaults to a "?" glyph. */
|
|
12
|
+
children?: Snippet;
|
|
13
|
+
}
|
|
14
|
+
declare const Tooltip: import("svelte").Component<TooltipProps, {}, "">;
|
|
15
|
+
type Tooltip = ReturnType<typeof Tooltip>;
|
|
16
|
+
export default Tooltip;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as Button, type ButtonProps } from "./Button.svelte";
|
|
2
|
+
export { default as Input, type InputProps } from "./Input.svelte";
|
|
3
|
+
export { default as Textarea, type TextareaProps } from "./Textarea.svelte";
|
|
4
|
+
export { default as Select, type SelectProps } from "./Select.svelte";
|
|
5
|
+
export { default as Checkbox, type CheckboxProps } from "./Checkbox.svelte";
|
|
6
|
+
export { default as Radio, type RadioProps } from "./Radio.svelte";
|
|
7
|
+
export { default as Switch, type SwitchProps } from "./Switch.svelte";
|
|
8
|
+
export { default as Slider, type SliderProps } from "./Slider.svelte";
|
|
9
|
+
export { default as Badge, type BadgeProps } from "./Badge.svelte";
|
|
10
|
+
export { default as Tooltip, type TooltipProps } from "./Tooltip.svelte";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as Button } from "./Button.svelte";
|
|
2
|
+
export { default as Input } from "./Input.svelte";
|
|
3
|
+
export { default as Textarea } from "./Textarea.svelte";
|
|
4
|
+
export { default as Select } from "./Select.svelte";
|
|
5
|
+
export { default as Checkbox } from "./Checkbox.svelte";
|
|
6
|
+
export { default as Radio } from "./Radio.svelte";
|
|
7
|
+
export { default as Switch } from "./Switch.svelte";
|
|
8
|
+
export { default as Slider } from "./Slider.svelte";
|
|
9
|
+
export { default as Badge } from "./Badge.svelte";
|
|
10
|
+
export { default as Tooltip } from "./Tooltip.svelte";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* Aurora skin — native range slider: hairline track, violet-swept thumb. The
|
|
2
|
+
recipes cover everything a class can express; only the pseudo-elements the
|
|
3
|
+
browser owns need to live here. Scoped by data-skin. */
|
|
4
|
+
[data-skin="aurora"] .cam-range {
|
|
5
|
+
height: 20px;
|
|
6
|
+
}
|
|
7
|
+
[data-skin="aurora"] .cam-range::-webkit-slider-runnable-track {
|
|
8
|
+
height: 4px;
|
|
9
|
+
background: rgba(255, 255, 255, 0.1);
|
|
10
|
+
border-radius: 999px;
|
|
11
|
+
}
|
|
12
|
+
[data-skin="aurora"] .cam-range::-webkit-slider-thumb {
|
|
13
|
+
-webkit-appearance: none;
|
|
14
|
+
appearance: none;
|
|
15
|
+
height: 16px;
|
|
16
|
+
width: 16px;
|
|
17
|
+
margin-top: -6px;
|
|
18
|
+
background: linear-gradient(100deg, #7c3aed, #3b82f6);
|
|
19
|
+
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
box-shadow: 0 2px 10px rgba(124, 58, 237, 0.5);
|
|
22
|
+
}
|
|
23
|
+
[data-skin="aurora"] .cam-range:focus-visible::-webkit-slider-thumb {
|
|
24
|
+
box-shadow: 0 0 0 4px rgba(139, 123, 255, 0.4);
|
|
25
|
+
}
|
|
26
|
+
[data-skin="aurora"] .cam-range::-moz-range-track {
|
|
27
|
+
height: 4px;
|
|
28
|
+
background: rgba(255, 255, 255, 0.1);
|
|
29
|
+
border-radius: 999px;
|
|
30
|
+
}
|
|
31
|
+
[data-skin="aurora"] .cam-range::-moz-range-thumb {
|
|
32
|
+
height: 16px;
|
|
33
|
+
width: 16px;
|
|
34
|
+
background: linear-gradient(100deg, #7c3aed, #3b82f6);
|
|
35
|
+
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
36
|
+
border-radius: 50%;
|
|
37
|
+
box-shadow: 0 2px 10px rgba(124, 58, 237, 0.5);
|
|
38
|
+
}
|
|
39
|
+
[data-skin="aurora"] .cam-range:focus-visible::-moz-range-thumb {
|
|
40
|
+
box-shadow: 0 0 0 4px rgba(139, 123, 255, 0.4);
|
|
41
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { auroraTokens } from "./tokens.js";
|
|
2
|
+
import { auroraMeta } from "./meta.js";
|
|
3
|
+
import { auroraRecipes } from "./recipes.js";
|
|
4
|
+
import "./aurora.css";
|
|
5
|
+
export const auroraSkin = {
|
|
6
|
+
name: "aurora",
|
|
7
|
+
label: "Aurora",
|
|
8
|
+
colorScheme: "dark",
|
|
9
|
+
tokens: auroraTokens,
|
|
10
|
+
meta: auroraMeta,
|
|
11
|
+
recipes: auroraRecipes,
|
|
12
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/** Aurora design metadata — near-black canvas, violet→blue sweep, hairline edges. */
|
|
2
|
+
export const auroraMeta = {
|
|
3
|
+
palette: [
|
|
4
|
+
{ name: "Canvas", value: "#050508", note: "page" },
|
|
5
|
+
{ name: "Card", value: "#0d0d14", note: "section card" },
|
|
6
|
+
{ name: "Surface", value: "#12121c", note: "inner surface" },
|
|
7
|
+
{ name: "Line 10%", value: "rgba(255,255,255,0.10)", note: "hairline edge" },
|
|
8
|
+
{ name: "Purple", value: "#8b7bff", note: "accent · brand" },
|
|
9
|
+
{ name: "Blue", value: "#5b8cff", note: "accent · info" },
|
|
10
|
+
{ name: "Red", value: "#fb7185", note: "accent · error" },
|
|
11
|
+
{ name: "Yellow", value: "#fbbf24", note: "accent · warn" },
|
|
12
|
+
{ name: "Green", value: "#34d399", note: "accent · ok" },
|
|
13
|
+
],
|
|
14
|
+
type: [
|
|
15
|
+
{
|
|
16
|
+
sample: "Display",
|
|
17
|
+
spec: "SYSTEM SANS 700 · -0.03EM · CLAMP(44, 7VW, 92)",
|
|
18
|
+
style: "font-size:60px;font-weight:700;letter-spacing:-0.03em;line-height:1.05;",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
sample: "Heading — section title",
|
|
22
|
+
spec: "SYSTEM SANS 600 · 24–34",
|
|
23
|
+
style: "font-size:30px;font-weight:600;letter-spacing:-0.02em;",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
sample: "Subheading — panel label",
|
|
27
|
+
spec: "SYSTEM SANS 500 · 15–18",
|
|
28
|
+
style: "font-size:17px;font-weight:500;letter-spacing:-0.01em;",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
sample: "Body — A near-black field, one violet accent, and nothing else competing for attention.",
|
|
32
|
+
spec: "SYSTEM SANS 400 · 14–16 · 1.6 LINE",
|
|
33
|
+
style: "font-size:15px;font-weight:400;line-height:1.6;max-width:52ch;",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
sample: "mono-label — #8b7bff",
|
|
37
|
+
spec: "SF MONO 500 · 10–12 + 0.08EM",
|
|
38
|
+
style: "font-family:var(--skin-font-mono);font-size:11px;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
specs: {
|
|
42
|
+
radius: [
|
|
43
|
+
{ size: "10px", label: "button · input" },
|
|
44
|
+
{ size: "14px", label: "card" },
|
|
45
|
+
{ size: "20px", label: "panel" },
|
|
46
|
+
{ size: "999px", label: "pill · badge" },
|
|
47
|
+
],
|
|
48
|
+
border: "1px hairline white at 8–12% opacity; brightens to 25% on hover.",
|
|
49
|
+
shadowRest: "0 2px 16px rgba(124,58,237,.35) — violet bloom, not a drop shadow",
|
|
50
|
+
shadowHover: "0 10px 34px rgba(91,140,255,.45)",
|
|
51
|
+
spacing: "4 / 8 / 14 / 18 / 24",
|
|
52
|
+
},
|
|
53
|
+
responsive: [
|
|
54
|
+
{ label: "Desktop ≥1024", note: "1440 max width · 3-col panels · full bloom and glow" },
|
|
55
|
+
{ label: "Tablet 720–1023", note: "2-col panels · bloom radius halved · nav collapses" },
|
|
56
|
+
{ label: "Mobile <720", note: "single column · glow dropped for contrast · 44px targets" },
|
|
57
|
+
],
|
|
58
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Aurora recipes — the full "Core components" set in the library's own voice.
|
|
3
|
+
* Near-black surfaces, hairline `border-white/10` edges, a violet→blue sweep on
|
|
4
|
+
* anything primary, and a soft violet bloom instead of a hard shadow.
|
|
5
|
+
*
|
|
6
|
+
* Static class literals only (Tailwind JIT-safe). States are attribute-driven:
|
|
7
|
+
* primitives set `disabled`, `aria-invalid`, `aria-checked` and Tailwind's state
|
|
8
|
+
* variants (hover, focus, peer-, group-, disabled, aria) do the rest.
|
|
9
|
+
*
|
|
10
|
+
* Focus = `ring-2 ring-[#8b7bff]/60`. Error = rose border + ring, text left
|
|
11
|
+
* readable. The bloom on `.cam-btn` is added by aurora.css.
|
|
12
|
+
*/
|
|
13
|
+
import type { RecipeArgs, RecipeResult, SkinRecipes } from "../../types.js";
|
|
14
|
+
export declare function auroraButton(args: RecipeArgs): RecipeResult;
|
|
15
|
+
export declare const auroraInput: (args: RecipeArgs) => RecipeResult;
|
|
16
|
+
export declare const auroraTextarea: (args: RecipeArgs) => RecipeResult;
|
|
17
|
+
export declare const auroraSelect: (args: RecipeArgs) => RecipeResult;
|
|
18
|
+
export declare const auroraCheckbox: (args: RecipeArgs) => RecipeResult;
|
|
19
|
+
export declare const auroraRadio: (args: RecipeArgs) => RecipeResult;
|
|
20
|
+
export declare const auroraSwitch: (args: RecipeArgs) => RecipeResult;
|
|
21
|
+
export declare const auroraSlider: () => RecipeResult;
|
|
22
|
+
export declare function auroraBadge(args: RecipeArgs): RecipeResult;
|
|
23
|
+
export declare const auroraTooltip: (args: RecipeArgs) => RecipeResult;
|
|
24
|
+
export declare const auroraRecipes: SkinRecipes;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
const forced = (map, state) => (state && map[state]) || "";
|
|
2
|
+
// The signature violet→blue sweep is `bg-[linear-gradient(100deg,#7c3aed,#3b82f6)]`.
|
|
3
|
+
// It is written out in full at every use site on purpose: Tailwind v4 scans raw
|
|
4
|
+
// source text, so hoisting it into a const and interpolating would leave the JIT
|
|
5
|
+
// staring at `${SWEEP}` and the class would never be generated.
|
|
6
|
+
/* ---- Button ------------------------------------------------------------- */
|
|
7
|
+
const BTN_BASE = "relative inline-flex items-center justify-center gap-2 rounded-[10px] border font-semibold " +
|
|
8
|
+
"whitespace-nowrap cursor-pointer select-none " +
|
|
9
|
+
"transition duration-200 ease-out " +
|
|
10
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#8b7bff]/60 " +
|
|
11
|
+
"disabled:pointer-events-none disabled:opacity-40";
|
|
12
|
+
const BTN_SIZE = {
|
|
13
|
+
sm: "px-3.5 py-1.5 text-xs",
|
|
14
|
+
md: "px-[18px] py-2.5 text-sm",
|
|
15
|
+
lg: "px-6 py-3 text-base",
|
|
16
|
+
};
|
|
17
|
+
const BTN_VARIANT = {
|
|
18
|
+
primary: "border-transparent bg-[linear-gradient(100deg,#7c3aed,#3b82f6)] text-white " +
|
|
19
|
+
"shadow-[0_2px_16px_rgba(124,58,237,0.35)] " +
|
|
20
|
+
"hover:shadow-[0_10px_34px_rgba(91,140,255,0.45)] hover:brightness-110",
|
|
21
|
+
secondary: "border-white/12 bg-white/[0.04] text-[#e6e9ef] hover:border-white/25 hover:bg-white/[0.08]",
|
|
22
|
+
destructive: "border-rose-400/40 bg-rose-500/20 text-rose-100 hover:bg-rose-500/35 " +
|
|
23
|
+
"focus-visible:ring-rose-400/60",
|
|
24
|
+
};
|
|
25
|
+
const BTN_FORCE = {
|
|
26
|
+
hover: "shadow-[0_10px_34px_rgba(91,140,255,0.45)] brightness-110",
|
|
27
|
+
active: "brightness-95 shadow-[0_2px_16px_rgba(124,58,237,0.35)]",
|
|
28
|
+
focus: "ring-2 ring-[#8b7bff]/60",
|
|
29
|
+
};
|
|
30
|
+
export function auroraButton(args) {
|
|
31
|
+
const size = BTN_SIZE[args.size ?? "md"] ?? BTN_SIZE.md;
|
|
32
|
+
const variant = BTN_VARIANT[args.variant ?? "primary"] ?? BTN_VARIANT.primary;
|
|
33
|
+
return { root: `${BTN_BASE} ${size} ${variant} ${forced(BTN_FORCE, args.state)}`, label: "" };
|
|
34
|
+
}
|
|
35
|
+
/* ---- Text fields (input / textarea / select) ---------------------------- */
|
|
36
|
+
const FIELD_BASE = "w-full rounded-[10px] border border-white/10 bg-white/[0.03] px-3.5 py-2 " +
|
|
37
|
+
"text-sm text-[#e6e9ef] outline-none " +
|
|
38
|
+
"transition duration-200 ease-out " +
|
|
39
|
+
"placeholder:text-[#6b7280] " +
|
|
40
|
+
"hover:border-white/20 hover:bg-white/[0.05] " +
|
|
41
|
+
"focus:border-[#8b7bff]/70 focus:ring-2 focus:ring-[#8b7bff]/40 " +
|
|
42
|
+
"disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-white/[0.03] " +
|
|
43
|
+
"aria-[invalid=true]:border-rose-400/60 aria-[invalid=true]:ring-2 aria-[invalid=true]:ring-rose-400/30";
|
|
44
|
+
const FIELD_FORCE = {
|
|
45
|
+
hover: "border-white/20 bg-white/[0.05]",
|
|
46
|
+
active: "bg-white/[0.05]",
|
|
47
|
+
focus: "border-[#8b7bff]/70 ring-2 ring-[#8b7bff]/40",
|
|
48
|
+
};
|
|
49
|
+
export const auroraInput = (args) => ({
|
|
50
|
+
root: `${FIELD_BASE} ${forced(FIELD_FORCE, args.state)}`,
|
|
51
|
+
});
|
|
52
|
+
export const auroraTextarea = (args) => ({
|
|
53
|
+
root: `${FIELD_BASE} min-h-[80px] leading-relaxed resize-y ${forced(FIELD_FORCE, args.state)}`,
|
|
54
|
+
});
|
|
55
|
+
export const auroraSelect = (args) => ({
|
|
56
|
+
root: "relative inline-block w-full",
|
|
57
|
+
field: `${FIELD_BASE} appearance-none pr-9 cursor-pointer ${forced(FIELD_FORCE, args.state)}`,
|
|
58
|
+
chevron: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-[#9aa3b2]",
|
|
59
|
+
});
|
|
60
|
+
/* ---- Checkbox / Radio (native input + custom box) ----------------------- */
|
|
61
|
+
const CHOICE_ROOT = "inline-flex items-center gap-2 cursor-pointer select-none text-sm text-[#e6e9ef] " +
|
|
62
|
+
"has-[:disabled]:cursor-not-allowed has-[:disabled]:opacity-50";
|
|
63
|
+
const CHOICE_BOX_BASE = "grid place-items-center h-[18px] w-[18px] shrink-0 border border-white/20 bg-white/[0.03] " +
|
|
64
|
+
"transition text-transparent " +
|
|
65
|
+
"peer-focus-visible:ring-2 peer-focus-visible:ring-[#8b7bff]/50 " +
|
|
66
|
+
"peer-disabled:opacity-40 " +
|
|
67
|
+
"peer-aria-[invalid=true]:border-rose-400/60 peer-aria-[invalid=true]:ring-2 peer-aria-[invalid=true]:ring-rose-400/30 " +
|
|
68
|
+
"peer-data-[invalid=true]:border-rose-400/60 peer-data-[invalid=true]:ring-2 peer-data-[invalid=true]:ring-rose-400/30";
|
|
69
|
+
const CHOICE_FORCE = {
|
|
70
|
+
hover: "border-white/35 bg-white/[0.07]",
|
|
71
|
+
focus: "border-[#8b7bff]/70 ring-2 ring-[#8b7bff]/40",
|
|
72
|
+
};
|
|
73
|
+
export const auroraCheckbox = (args) => ({
|
|
74
|
+
root: CHOICE_ROOT,
|
|
75
|
+
box: `${CHOICE_BOX_BASE} rounded-[5px] peer-checked:border-transparent ` +
|
|
76
|
+
"peer-checked:bg-[linear-gradient(100deg,#7c3aed,#3b82f6)] peer-checked:text-white " +
|
|
77
|
+
forced(CHOICE_FORCE, args.state),
|
|
78
|
+
});
|
|
79
|
+
export const auroraRadio = (args) => ({
|
|
80
|
+
root: CHOICE_ROOT,
|
|
81
|
+
box: `${CHOICE_BOX_BASE} rounded-full peer-checked:border-transparent ` +
|
|
82
|
+
"peer-checked:bg-[linear-gradient(100deg,#7c3aed,#3b82f6)] " +
|
|
83
|
+
forced(CHOICE_FORCE, args.state),
|
|
84
|
+
});
|
|
85
|
+
/* ---- Switch (button role=switch) ---------------------------------------- */
|
|
86
|
+
const SWITCH_FORCE = {
|
|
87
|
+
hover: "border-white/35",
|
|
88
|
+
focus: "border-[#8b7bff]/70 ring-2 ring-[#8b7bff]/40",
|
|
89
|
+
};
|
|
90
|
+
export const auroraSwitch = (args) => ({
|
|
91
|
+
root: "group inline-flex h-[22px] w-[40px] shrink-0 items-center rounded-full border border-white/15 " +
|
|
92
|
+
"bg-white/[0.06] p-[2px] cursor-pointer transition-colors " +
|
|
93
|
+
"aria-[checked=true]:border-transparent " +
|
|
94
|
+
"aria-[checked=true]:bg-[linear-gradient(100deg,#7c3aed,#3b82f6)] " +
|
|
95
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#8b7bff]/50 " +
|
|
96
|
+
"disabled:opacity-40 disabled:cursor-not-allowed " +
|
|
97
|
+
"aria-[invalid=true]:border-rose-400/60 aria-[invalid=true]:ring-2 aria-[invalid=true]:ring-rose-400/30 " +
|
|
98
|
+
forced(SWITCH_FORCE, args.state),
|
|
99
|
+
thumb: "h-[14px] w-[14px] rounded-full bg-white shadow-[0_1px_3px_rgba(0,0,0,0.5)] " +
|
|
100
|
+
"transition-transform group-aria-[checked=true]:translate-x-[18px]",
|
|
101
|
+
});
|
|
102
|
+
/* ---- Slider (native range; thumb/track in aurora.css via .cam-range) ----- */
|
|
103
|
+
export const auroraSlider = () => ({
|
|
104
|
+
root: "cam-range w-[160px] cursor-pointer appearance-none bg-transparent disabled:cursor-not-allowed disabled:opacity-50",
|
|
105
|
+
});
|
|
106
|
+
/* ---- Badge -------------------------------------------------------------- */
|
|
107
|
+
const BADGE_BASE = "inline-flex items-center rounded-full border px-2.5 py-1 text-[11px] font-medium " +
|
|
108
|
+
"before:content-[''] before:mr-1.5 before:h-[7px] before:w-[7px] before:rounded-full before:shrink-0";
|
|
109
|
+
const BADGE_VARIANT = {
|
|
110
|
+
default: "border-white/12 bg-white/[0.05] text-[#c3cadf] before:bg-[#8b7bff]",
|
|
111
|
+
solid: "border-transparent bg-[#f8fafc] text-[#0a0a0e] before:bg-[#0a0a0e]",
|
|
112
|
+
blue: "border-[#5b8cff]/30 bg-[#5b8cff]/15 text-[#bfd4ff] before:bg-[#5b8cff]",
|
|
113
|
+
red: "border-rose-400/30 bg-rose-400/15 text-rose-200 before:bg-rose-400",
|
|
114
|
+
yellow: "border-amber-400/30 bg-amber-400/15 text-amber-200 before:bg-amber-400",
|
|
115
|
+
green: "border-emerald-400/30 bg-emerald-400/15 text-emerald-200 before:bg-emerald-400",
|
|
116
|
+
purple: "border-[#8b7bff]/30 bg-[#8b7bff]/15 text-[#d3ccff] before:bg-[#8b7bff]",
|
|
117
|
+
};
|
|
118
|
+
const BADGE_FORCE = {
|
|
119
|
+
hover: "border-white/25 bg-white/[0.09]",
|
|
120
|
+
active: "border-transparent bg-[#f8fafc] text-[#0a0a0e] before:bg-[#0a0a0e]",
|
|
121
|
+
focus: "border-[#8b7bff]/70 ring-2 ring-[#8b7bff]/40",
|
|
122
|
+
disabled: "border-white/8 bg-white/[0.02] text-[#6b7280] before:bg-[#6b7280]",
|
|
123
|
+
error: "border-rose-400/40 bg-rose-400/15 text-rose-200 before:bg-rose-400",
|
|
124
|
+
};
|
|
125
|
+
export function auroraBadge(args) {
|
|
126
|
+
const variant = BADGE_VARIANT[args.variant ?? "default"] ??
|
|
127
|
+
BADGE_VARIANT.default;
|
|
128
|
+
return { root: `${BADGE_BASE} ${variant} ${forced(BADGE_FORCE, args.state)}` };
|
|
129
|
+
}
|
|
130
|
+
/* ---- Tooltip ------------------------------------------------------------ */
|
|
131
|
+
const TT_TRIGGER = {
|
|
132
|
+
focus: "border-[#8b7bff]/70 ring-2 ring-[#8b7bff]/40",
|
|
133
|
+
error: "border-rose-400/60 bg-rose-400/15 text-rose-200",
|
|
134
|
+
};
|
|
135
|
+
const TT_BUBBLE = {
|
|
136
|
+
focus: "border-[#8b7bff]/50 opacity-100",
|
|
137
|
+
error: "border-rose-400/50 bg-rose-950/90 opacity-100",
|
|
138
|
+
};
|
|
139
|
+
export const auroraTooltip = (args) => ({
|
|
140
|
+
root: "relative inline-flex group",
|
|
141
|
+
trigger: "grid place-items-center h-[26px] w-[26px] rounded-full border border-white/15 " +
|
|
142
|
+
"bg-white/[0.05] text-[#e6e9ef] text-[12px] font-semibold cursor-help " +
|
|
143
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#8b7bff]/50 " +
|
|
144
|
+
forced(TT_TRIGGER, args.state),
|
|
145
|
+
bubble: "pointer-events-none absolute bottom-full left-1/2 mb-2 -translate-x-1/2 whitespace-nowrap " +
|
|
146
|
+
"rounded-[10px] border border-white/10 bg-[#12121c] px-3 py-1.5 text-[12px] font-medium text-[#e6e9ef] " +
|
|
147
|
+
"opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus-within:opacity-100 " +
|
|
148
|
+
"shadow-[0_10px_30px_rgba(0,0,0,0.6)] " +
|
|
149
|
+
forced(TT_BUBBLE, args.state),
|
|
150
|
+
});
|
|
151
|
+
/* ---- Skin registry ------------------------------------------------------ */
|
|
152
|
+
export const auroraRecipes = {
|
|
153
|
+
button: auroraButton,
|
|
154
|
+
input: auroraInput,
|
|
155
|
+
textarea: auroraTextarea,
|
|
156
|
+
select: auroraSelect,
|
|
157
|
+
checkbox: auroraCheckbox,
|
|
158
|
+
radio: auroraRadio,
|
|
159
|
+
switch: auroraSwitch,
|
|
160
|
+
slider: auroraSlider,
|
|
161
|
+
badge: auroraBadge,
|
|
162
|
+
tooltip: auroraTooltip,
|
|
163
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Aurora skin tokens — the library's own art direction, the one the landing
|
|
3
|
+
* page wore before it became skinnable. Near-black canvas, violet→blue accent
|
|
4
|
+
* sweep, hairline borders, soft bloom on anything interactive.
|
|
5
|
+
*/
|
|
6
|
+
export declare const auroraTokens: Record<string, string>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Aurora skin tokens — the library's own art direction, the one the landing
|
|
3
|
+
* page wore before it became skinnable. Near-black canvas, violet→blue accent
|
|
4
|
+
* sweep, hairline borders, soft bloom on anything interactive.
|
|
5
|
+
*/
|
|
6
|
+
export const auroraTokens = {
|
|
7
|
+
"--skin-page-bg": "#050508",
|
|
8
|
+
"--skin-page-fg": "#f8fafc",
|
|
9
|
+
"--skin-font-sans": "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
|
|
10
|
+
"--skin-font-mono": "ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace",
|
|
11
|
+
"--skin-card": "#0d0d14",
|
|
12
|
+
"--skin-surface": "#12121c",
|
|
13
|
+
"--skin-line": "rgba(255,255,255,0.10)",
|
|
14
|
+
"--skin-blue": "#5b8cff",
|
|
15
|
+
"--skin-red": "#fb7185",
|
|
16
|
+
"--skin-yellow": "#fbbf24",
|
|
17
|
+
"--skin-green": "#34d399",
|
|
18
|
+
"--skin-purple": "#8b7bff",
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* Brutal skin — native range slider: ink track + ink thumb, blue focus ring. */
|
|
2
|
+
[data-skin="brutal"] .cam-range {
|
|
3
|
+
height: 20px;
|
|
4
|
+
}
|
|
5
|
+
[data-skin="brutal"] .cam-range::-webkit-slider-runnable-track {
|
|
6
|
+
height: 4px;
|
|
7
|
+
background: #141414;
|
|
8
|
+
border-radius: 999px;
|
|
9
|
+
}
|
|
10
|
+
[data-skin="brutal"] .cam-range::-webkit-slider-thumb {
|
|
11
|
+
-webkit-appearance: none;
|
|
12
|
+
appearance: none;
|
|
13
|
+
height: 16px;
|
|
14
|
+
width: 16px;
|
|
15
|
+
margin-top: -6px;
|
|
16
|
+
background: #141414;
|
|
17
|
+
border: 1.5px solid #141414;
|
|
18
|
+
border-radius: 50%;
|
|
19
|
+
}
|
|
20
|
+
[data-skin="brutal"] .cam-range:focus-visible::-webkit-slider-thumb {
|
|
21
|
+
border-color: #1b6ef3;
|
|
22
|
+
box-shadow: 0 0 0 3px rgba(27, 110, 243, 0.35);
|
|
23
|
+
}
|
|
24
|
+
[data-skin="brutal"] .cam-range::-moz-range-track {
|
|
25
|
+
height: 4px;
|
|
26
|
+
background: #141414;
|
|
27
|
+
border-radius: 999px;
|
|
28
|
+
}
|
|
29
|
+
[data-skin="brutal"] .cam-range::-moz-range-thumb {
|
|
30
|
+
height: 16px;
|
|
31
|
+
width: 16px;
|
|
32
|
+
background: #141414;
|
|
33
|
+
border: 1.5px solid #141414;
|
|
34
|
+
border-radius: 50%;
|
|
35
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { brutalTokens } from "./tokens.js";
|
|
2
|
+
import { brutalMeta } from "./meta.js";
|
|
3
|
+
import { brutalButton, brutalInput, brutalTextarea, brutalSelect, brutalCheckbox, brutalRadio, brutalSwitch, brutalSlider, brutalBadge, brutalTooltip, } from "./recipes.js";
|
|
4
|
+
import { buttonTrailing } from "./ornaments.js";
|
|
5
|
+
import "./brutal.css";
|
|
6
|
+
export const brutalSkin = {
|
|
7
|
+
name: "brutal",
|
|
8
|
+
label: "Brutal",
|
|
9
|
+
colorScheme: "light",
|
|
10
|
+
tokens: brutalTokens,
|
|
11
|
+
meta: brutalMeta,
|
|
12
|
+
fonts: [
|
|
13
|
+
{
|
|
14
|
+
id: "cam-font-brutal",
|
|
15
|
+
href: "https://fonts.googleapis.com/css2?family=Archivo:wght@400..900&family=Space+Mono:wght@400;700&display=swap",
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
recipes: {
|
|
19
|
+
button: brutalButton,
|
|
20
|
+
input: brutalInput,
|
|
21
|
+
textarea: brutalTextarea,
|
|
22
|
+
select: brutalSelect,
|
|
23
|
+
checkbox: brutalCheckbox,
|
|
24
|
+
radio: brutalRadio,
|
|
25
|
+
switch: brutalSwitch,
|
|
26
|
+
slider: brutalSlider,
|
|
27
|
+
badge: brutalBadge,
|
|
28
|
+
tooltip: brutalTooltip,
|
|
29
|
+
},
|
|
30
|
+
ornaments: { buttonTrailing },
|
|
31
|
+
};
|