fancy-ui-svelte 0.13.0 → 0.15.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 +109 -34
- package/dist/fancy-ui/_internals/anchor-position.d.ts +12 -2
- package/dist/fancy-ui/_internals/anchor-position.js +35 -10
- package/dist/fancy-ui/_internals/autoscroll.d.ts +6 -1
- package/dist/fancy-ui/_internals/diff.js +2 -0
- package/dist/fancy-ui/_internals/dismissable.d.ts +8 -2
- package/dist/fancy-ui/_internals/dismissable.js +8 -2
- package/dist/fancy-ui/_internals/float.d.ts +6 -2
- package/dist/fancy-ui/_internals/focus-trap.d.ts +12 -2
- package/dist/fancy-ui/_internals/focus-trap.js +28 -4
- package/dist/fancy-ui/_internals/host.js +2 -1
- package/dist/fancy-ui/_internals/listbox.svelte.js +18 -2
- package/dist/fancy-ui/_internals/markdown.d.ts +5 -0
- package/dist/fancy-ui/_internals/markdown.js +5 -0
- package/dist/fancy-ui/_internals/motion/anchored.d.ts +9 -1
- package/dist/fancy-ui/_internals/motion/in-view.d.ts +8 -2
- package/dist/fancy-ui/_internals/motion/presets.d.ts +6 -6
- package/dist/fancy-ui/_internals/motion/presets.js +6 -6
- package/dist/fancy-ui/_internals/motion/stagger.d.ts +3 -4
- package/dist/fancy-ui/_internals/motion/stagger.js +3 -4
- package/dist/fancy-ui/_internals/motion/transitions.d.ts +48 -34
- package/dist/fancy-ui/_internals/motion/transitions.js +25 -29
- package/dist/fancy-ui/_internals/motion/types.d.ts +7 -8
- package/dist/fancy-ui/_internals/motion/types.js +7 -8
- package/dist/fancy-ui/_internals/relative-time.d.ts +4 -1
- package/dist/fancy-ui/_internals/relative-time.js +12 -1
- package/dist/fancy-ui/_internals/scroll-lock.d.ts +3 -2
- package/dist/fancy-ui/_internals/scroll-lock.js +8 -3
- package/dist/fancy-ui/animated-beam/AnimatedBeam.svelte +416 -124
- package/dist/fancy-ui/animated-beam/AnimatedBeam.svelte.d.ts +30 -0
- package/dist/fancy-ui/animated-beam/types.d.ts +17 -0
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.svelte +392 -45
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.svelte.d.ts +9 -0
- package/dist/fancy-ui/bento-grid/BentoFrame.svelte +243 -0
- package/dist/fancy-ui/bento-grid/BentoFrame.svelte.d.ts +18 -0
- package/dist/fancy-ui/bento-grid/BentoGrid.svelte +98 -4
- package/dist/fancy-ui/bento-grid/BentoGrid.svelte.d.ts +6 -1
- package/dist/fancy-ui/bento-grid/BentoGridCard.svelte +26 -35
- package/dist/fancy-ui/bento-grid/BentoGridCard.svelte.d.ts +3 -2
- package/dist/fancy-ui/bento-grid/BentoGridItem.svelte +26 -19
- package/dist/fancy-ui/bento-grid/BentoGridItem.svelte.d.ts +5 -4
- package/dist/fancy-ui/bg-falling-stars/FallingStarsBg.svelte +11 -134
- package/dist/fancy-ui/bg-falling-stars/bg-falling-stars-core.d.ts +24 -0
- package/dist/fancy-ui/bg-falling-stars/bg-falling-stars-core.js +142 -0
- package/dist/fancy-ui/bg-stars/StarsBackground.svelte +25 -53
- package/dist/fancy-ui/bg-stars/bg-stars-core.d.ts +40 -0
- package/dist/fancy-ui/bg-stars/bg-stars-core.js +95 -0
- package/dist/fancy-ui/book/Book.svelte +1 -1
- package/dist/fancy-ui/book/BookDescription.svelte +1 -1
- package/dist/fancy-ui/book/BookHeader.svelte +1 -1
- package/dist/fancy-ui/book/BookTitle.svelte +1 -1
- package/dist/fancy-ui/border-beam/BorderBeam.svelte +388 -33
- package/dist/fancy-ui/border-beam/BorderBeam.svelte.d.ts +54 -9
- package/dist/fancy-ui/button/Button.svelte +24 -2
- package/dist/fancy-ui/card-3d/CardBody.svelte +1 -1
- package/dist/fancy-ui/card-3d/CardContainer.svelte +1 -1
- package/dist/fancy-ui/card-3d/CardItem.svelte +1 -1
- package/dist/fancy-ui/card-spotlight/CardSpotlight.svelte +1 -1
- package/dist/fancy-ui/compare/Compare.svelte +405 -48
- package/dist/fancy-ui/compare/Compare.svelte.d.ts +26 -0
- package/dist/fancy-ui/compare/StarField.svelte +1 -1
- package/dist/fancy-ui/confetti/Confetti.svelte +11 -16
- package/dist/fancy-ui/confetti/confetti-core.d.ts +26 -0
- package/dist/fancy-ui/confetti/confetti-core.js +53 -0
- package/dist/fancy-ui/container-scroll/ContainerScroll.svelte +312 -48
- package/dist/fancy-ui/container-scroll/ContainerScroll.svelte.d.ts +27 -2
- package/dist/fancy-ui/container-text-flip/ContainerTextFlip.svelte +1 -1
- package/dist/fancy-ui/datamosh-transition/DatamoshTransition.svelte +479 -0
- package/dist/fancy-ui/datamosh-transition/DatamoshTransition.svelte.d.ts +69 -0
- package/dist/fancy-ui/datamosh-transition/datamosh-transition-core.d.ts +180 -0
- package/dist/fancy-ui/datamosh-transition/datamosh-transition-core.js +462 -0
- package/dist/fancy-ui/datamosh-transition/index.d.ts +3 -0
- package/dist/fancy-ui/datamosh-transition/index.js +3 -0
- package/dist/fancy-ui/direction-aware-hover/DirectionAwareHover.svelte +1 -1
- package/dist/fancy-ui/displacement-text/DisplacementText.svelte +14 -179
- package/dist/fancy-ui/displacement-text/displacement-text-core.d.ts +37 -0
- package/dist/fancy-ui/displacement-text/displacement-text-core.js +228 -0
- package/dist/fancy-ui/dock/Dock.svelte +249 -11
- package/dist/fancy-ui/dock/Dock.svelte.d.ts +10 -0
- package/dist/fancy-ui/dock/DockIcon.svelte +122 -28
- package/dist/fancy-ui/dock/DockIcon.svelte.d.ts +10 -0
- package/dist/fancy-ui/dock/DockSeparator.svelte +10 -3
- package/dist/fancy-ui/dock/types.d.ts +11 -3
- package/dist/fancy-ui/dropdown-menu/menu-shared.d.ts +11 -1
- package/dist/fancy-ui/dropdown-menu/menu-shared.js +11 -4
- package/dist/fancy-ui/fireworks-hdr/FireworksHdr.svelte +58 -542
- package/dist/fancy-ui/fireworks-hdr/FireworksHdr.svelte.d.ts +1 -2
- package/dist/fancy-ui/fireworks-hdr/fireworks-hdr-core.d.ts +103 -0
- package/dist/fancy-ui/fireworks-hdr/fireworks-hdr-core.js +564 -0
- package/dist/fancy-ui/fireworks-hdr/fireworks-shared.js +13 -12
- package/dist/fancy-ui/fireworks-hdr/webgl2-renderer.js +0 -18
- package/dist/fancy-ui/fireworks-hdr/webgpu-renderer.js +3 -17
- package/dist/fancy-ui/flickering-grid/FlickeringGrid.svelte +17 -86
- package/dist/fancy-ui/flickering-grid/flickering-grid-core.d.ts +42 -0
- package/dist/fancy-ui/flickering-grid/flickering-grid-core.js +117 -0
- package/dist/fancy-ui/flip-card/FlipCard.svelte +373 -32
- package/dist/fancy-ui/flip-card/FlipCard.svelte.d.ts +39 -2
- package/dist/fancy-ui/flip-card/index.d.ts +1 -1
- package/dist/fancy-ui/fluid-cursor/FluidCursor.svelte +67 -1811
- package/dist/fancy-ui/fluid-cursor/FluidCursor.svelte.d.ts +11 -49
- package/dist/fancy-ui/fluid-cursor/fluid-cursor-core.d.ts +146 -0
- package/dist/fancy-ui/fluid-cursor/fluid-cursor-core.js +1527 -0
- package/dist/fancy-ui/fluid-cursor/fluid-shared.js +2 -0
- package/dist/fancy-ui/fluid-cursor/webgpu-engine.js +27 -33
- package/dist/fancy-ui/focus/Focus.svelte +1 -1
- package/dist/fancy-ui/frosted-glass/FrostedGlass.svelte +1 -1
- package/dist/fancy-ui/glare-card/GlareCard.svelte +1 -1
- package/dist/fancy-ui/glow-border/GlowBorder.svelte +256 -33
- package/dist/fancy-ui/glow-border/GlowBorder.svelte.d.ts +41 -2
- package/dist/fancy-ui/glow-border/index.d.ts +1 -1
- package/dist/fancy-ui/glow-border/index.js +1 -1
- package/dist/fancy-ui/glowing-effect/GlowingEffect.svelte +17 -92
- package/dist/fancy-ui/glowing-effect/glowing-effect-core.d.ts +54 -0
- package/dist/fancy-ui/glowing-effect/glowing-effect-core.js +133 -0
- package/dist/fancy-ui/gradient-button/GradientButton.svelte +123 -42
- package/dist/fancy-ui/gradient-button/GradientButton.svelte.d.ts +10 -5
- package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.svelte +2 -0
- package/dist/fancy-ui/image-trail-cursor/trail-variants.d.ts +38 -2
- package/dist/fancy-ui/image-trail-cursor/trail-variants.js +431 -2
- package/dist/fancy-ui/index.d.ts +1 -0
- package/dist/fancy-ui/index.js +1 -0
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.svelte +166 -23
- package/dist/fancy-ui/liquid-glass/LiquidGlass.svelte +1 -1
- package/dist/fancy-ui/liquid-text/LiquidText.svelte +101 -1031
- package/dist/fancy-ui/liquid-text/liquid-text-core.d.ts +120 -0
- package/dist/fancy-ui/liquid-text/liquid-text-core.js +906 -0
- package/dist/fancy-ui/marquee/Marquee.svelte +232 -4
- package/dist/fancy-ui/marquee/Marquee.svelte.d.ts +8 -0
- package/dist/fancy-ui/marquee/ReviewCard.svelte +109 -11
- package/dist/fancy-ui/matrix-rain/MatrixRain.svelte +24 -91
- package/dist/fancy-ui/matrix-rain/matrix-rain-core.d.ts +27 -0
- package/dist/fancy-ui/matrix-rain/matrix-rain-core.js +133 -0
- package/dist/fancy-ui/meteors/Meteors.svelte +179 -18
- package/dist/fancy-ui/meteors/Meteors.svelte.d.ts +32 -2
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.svelte +66 -353
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.svelte.d.ts +5 -1
- package/dist/fancy-ui/mosaic-glow/mosaic-glow-core.d.ts +99 -4
- package/dist/fancy-ui/mosaic-glow/mosaic-glow-core.js +435 -5
- package/dist/fancy-ui/neon-border/NeonBorder.svelte +187 -58
- package/dist/fancy-ui/neon-border/NeonBorder.svelte.d.ts +24 -5
- package/dist/fancy-ui/noise-reveal/NoiseReveal.svelte +21 -245
- package/dist/fancy-ui/noise-reveal/noise-reveal-core.d.ts +57 -0
- package/dist/fancy-ui/noise-reveal/noise-reveal-core.js +311 -0
- package/dist/fancy-ui/pagination/Pagination.svelte +144 -31
- package/dist/fancy-ui/rainbow-button/RainbowButton.svelte +108 -0
- package/dist/fancy-ui/registry.d.ts +6 -1
- package/dist/fancy-ui/registry.js +673 -84
- package/dist/fancy-ui/ripple/Ripple.svelte +1 -1
- package/dist/fancy-ui/ripple-button/RippleButton.svelte +172 -19
- package/dist/fancy-ui/ripple-button/RippleButton.svelte.d.ts +20 -1
- package/dist/fancy-ui/shimmer-button/ShimmerButton.svelte +137 -54
- package/dist/fancy-ui/shimmer-button/ShimmerButton.svelte.d.ts +3 -3
- package/dist/fancy-ui/smooth-cursor/SmoothCursor.svelte +226 -181
- package/dist/fancy-ui/smooth-cursor/SmoothCursor.svelte.d.ts +12 -8
- package/dist/fancy-ui/smooth-cursor/smooth-cursor-core.d.ts +85 -0
- package/dist/fancy-ui/smooth-cursor/smooth-cursor-core.js +402 -0
- package/dist/fancy-ui/sound/engine.js +6 -1
- package/dist/fancy-ui/sound/sound-feedback.d.ts +4 -2
- package/dist/fancy-ui/sparkles/Sparkles.svelte +15 -84
- package/dist/fancy-ui/sparkles/sparkles-core.d.ts +26 -0
- package/dist/fancy-ui/sparkles/sparkles-core.js +94 -0
- package/dist/fancy-ui/stepper/Step.svelte +341 -42
- package/dist/fancy-ui/stepper/Stepper.svelte +41 -1
- package/dist/fancy-ui/stepper/types.d.ts +13 -0
- package/dist/fancy-ui/text-reveal-card/TextRevealCard.svelte +1 -1
- package/dist/fancy-ui/text-reveal-card/TextRevealStars.svelte +1 -1
- package/dist/fancy-ui/timeline/Timeline.svelte +401 -63
- package/dist/fancy-ui/timeline/Timeline.svelte.d.ts +7 -0
- package/dist/fancy-ui/tracing-beam/TracingBeam.svelte +1 -1
- package/package.json +13 -6
- package/dist/cameleon/skins/retro-os/kit/kit-windows.test.d.ts +0 -1
- package/dist/cameleon/skins/retro-os/kit/kit-windows.test.js +0 -159
- package/dist/cameleon/skins/retro-os/kit/kit.test.d.ts +0 -1
- package/dist/cameleon/skins/retro-os/kit/kit.test.js +0 -123
- package/dist/fancy-ui/_internals/FieldConsumer.test.svelte +0 -25
- package/dist/fancy-ui/_internals/FieldConsumer.test.svelte.d.ts +0 -18
- package/dist/fancy-ui/_internals/FieldHarness.test.svelte +0 -37
- package/dist/fancy-ui/_internals/FieldHarness.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/_internals/ScrollLockHarness.test.svelte +0 -29
- package/dist/fancy-ui/_internals/ScrollLockHarness.test.svelte.d.ts +0 -3
- package/dist/fancy-ui/_internals/ScrollLockPanel.test.svelte +0 -43
- package/dist/fancy-ui/_internals/ScrollLockPanel.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/_internals/StreamText.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/StreamText.test.js +0 -77
- package/dist/fancy-ui/_internals/anchor-position.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/anchor-position.test.js +0 -252
- package/dist/fancy-ui/_internals/autoscroll.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/autoscroll.test.js +0 -233
- package/dist/fancy-ui/_internals/calendar-core.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/calendar-core.test.js +0 -132
- package/dist/fancy-ui/_internals/clipboard.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/clipboard.test.js +0 -97
- package/dist/fancy-ui/_internals/diff.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/diff.test.js +0 -261
- package/dist/fancy-ui/_internals/dismissable.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/dismissable.test.js +0 -237
- package/dist/fancy-ui/_internals/elapsed.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/elapsed.test.js +0 -124
- package/dist/fancy-ui/_internals/field.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/field.test.js +0 -223
- package/dist/fancy-ui/_internals/float.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/float.test.js +0 -242
- package/dist/fancy-ui/_internals/focus-trap.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/focus-trap.test.js +0 -584
- package/dist/fancy-ui/_internals/host.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/host.test.js +0 -57
- package/dist/fancy-ui/_internals/id.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/id.test.js +0 -31
- package/dist/fancy-ui/_internals/listbox.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/listbox.test.js +0 -399
- package/dist/fancy-ui/_internals/markdown-security.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/markdown-security.test.js +0 -258
- package/dist/fancy-ui/_internals/markdown.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/markdown.test.js +0 -473
- package/dist/fancy-ui/_internals/menu.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/menu.test.js +0 -393
- package/dist/fancy-ui/_internals/motion/AnchoredHarness.test.svelte +0 -42
- package/dist/fancy-ui/_internals/motion/AnchoredHarness.test.svelte.d.ts +0 -11
- package/dist/fancy-ui/_internals/motion/TransitionsHarness.test.svelte +0 -32
- package/dist/fancy-ui/_internals/motion/TransitionsHarness.test.svelte.d.ts +0 -10
- package/dist/fancy-ui/_internals/motion/anchored.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/anchored.test.js +0 -250
- package/dist/fancy-ui/_internals/motion/haptics.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/haptics.test.js +0 -70
- package/dist/fancy-ui/_internals/motion/in-view.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/in-view.test.js +0 -149
- package/dist/fancy-ui/_internals/motion/media-query.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/media-query.test.js +0 -175
- package/dist/fancy-ui/_internals/motion/presets.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/presets.test.js +0 -48
- package/dist/fancy-ui/_internals/motion/raf.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/raf.test.js +0 -104
- package/dist/fancy-ui/_internals/motion/stagger.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/stagger.test.js +0 -58
- package/dist/fancy-ui/_internals/motion/tokens.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/tokens.test.js +0 -28
- package/dist/fancy-ui/_internals/motion/transitions.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/transitions.test.js +0 -143
- package/dist/fancy-ui/_internals/motion/types.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/motion/types.test.js +0 -19
- package/dist/fancy-ui/_internals/portal.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/portal.test.js +0 -57
- package/dist/fancy-ui/_internals/relative-time.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/relative-time.test.js +0 -56
- package/dist/fancy-ui/_internals/scroll-lock.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/scroll-lock.test.js +0 -179
- package/dist/fancy-ui/_internals/stream-text.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/stream-text.test.js +0 -117
- package/dist/fancy-ui/_internals/waveform-core.test.d.ts +0 -1
- package/dist/fancy-ui/_internals/waveform-core.test.js +0 -124
- package/dist/fancy-ui/_template/Component.svelte +0 -110
- package/dist/fancy-ui/_template/Component.svelte.d.ts +0 -16
- package/dist/fancy-ui/_template/README.md +0 -279
- package/dist/fancy-ui/_template/index.d.ts +0 -13
- package/dist/fancy-ui/_template/index.js +0 -27
- package/dist/fancy-ui/_template/types.d.ts +0 -53
- package/dist/fancy-ui/_template/types.js +0 -12
- package/dist/fancy-ui/agent-plan/AgentPlan.test.d.ts +0 -1
- package/dist/fancy-ui/agent-plan/AgentPlan.test.js +0 -359
- package/dist/fancy-ui/agent-plan/README.md +0 -147
- package/dist/fancy-ui/ai-data-table/AiDataTable.test.d.ts +0 -1
- package/dist/fancy-ui/ai-data-table/AiDataTable.test.js +0 -223
- package/dist/fancy-ui/ai-data-table/README.md +0 -147
- package/dist/fancy-ui/alert-dialog/AlertDialog.test.d.ts +0 -1
- package/dist/fancy-ui/alert-dialog/AlertDialog.test.js +0 -397
- package/dist/fancy-ui/alert-dialog/README.md +0 -106
- package/dist/fancy-ui/animated-beam/AnimatedBeam.test.d.ts +0 -1
- package/dist/fancy-ui/animated-beam/AnimatedBeam.test.js +0 -65
- package/dist/fancy-ui/animated-beam/README.md +0 -18
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.test.d.ts +0 -1
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.test.js +0 -162
- package/dist/fancy-ui/animated-testimonials/README.md +0 -55
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.test.d.ts +0 -1
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.test.js +0 -91
- package/dist/fancy-ui/animated-tooltip/README.md +0 -41
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.test.d.ts +0 -1
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.test.js +0 -195
- package/dist/fancy-ui/apple-card-carousel/README.md +0 -57
- package/dist/fancy-ui/approval-card/ApprovalCard.test.d.ts +0 -1
- package/dist/fancy-ui/approval-card/ApprovalCard.test.js +0 -225
- package/dist/fancy-ui/approval-card/ApprovalCardHarness.test.svelte +0 -35
- package/dist/fancy-ui/approval-card/ApprovalCardHarness.test.svelte.d.ts +0 -13
- package/dist/fancy-ui/approval-card/README.md +0 -132
- package/dist/fancy-ui/artifact-card/ArtifactCard.test.d.ts +0 -1
- package/dist/fancy-ui/artifact-card/ArtifactCard.test.js +0 -293
- package/dist/fancy-ui/artifact-card/README.md +0 -135
- package/dist/fancy-ui/autocomplete/Autocomplete.test.d.ts +0 -1
- package/dist/fancy-ui/autocomplete/Autocomplete.test.js +0 -644
- package/dist/fancy-ui/autocomplete/AutocompleteFieldHarness.test.svelte +0 -68
- package/dist/fancy-ui/autocomplete/AutocompleteFieldHarness.test.svelte.d.ts +0 -20
- package/dist/fancy-ui/autocomplete/AutocompleteHarness.test.svelte +0 -30
- package/dist/fancy-ui/autocomplete/AutocompleteHarness.test.svelte.d.ts +0 -9
- package/dist/fancy-ui/autocomplete/README.md +0 -217
- package/dist/fancy-ui/bento-grid/BentoGrid.test.d.ts +0 -1
- package/dist/fancy-ui/bento-grid/BentoGrid.test.js +0 -109
- package/dist/fancy-ui/bento-grid/README.md +0 -51
- package/dist/fancy-ui/bg-falling-stars/FallingStarsBg.test.d.ts +0 -1
- package/dist/fancy-ui/bg-falling-stars/FallingStarsBg.test.js +0 -50
- package/dist/fancy-ui/bg-falling-stars/README.md +0 -22
- package/dist/fancy-ui/bg-stars/README.md +0 -41
- package/dist/fancy-ui/bg-stars/StarsBackground.test.d.ts +0 -1
- package/dist/fancy-ui/bg-stars/StarsBackground.test.js +0 -46
- package/dist/fancy-ui/blur-reveal/BlurReveal.test.d.ts +0 -1
- package/dist/fancy-ui/blur-reveal/BlurReveal.test.js +0 -62
- package/dist/fancy-ui/blur-reveal/README.md +0 -52
- package/dist/fancy-ui/book/Book.test.d.ts +0 -1
- package/dist/fancy-ui/book/Book.test.js +0 -47
- package/dist/fancy-ui/book/README.md +0 -34
- package/dist/fancy-ui/border-beam/BorderBeam.test.d.ts +0 -1
- package/dist/fancy-ui/border-beam/BorderBeam.test.js +0 -64
- package/dist/fancy-ui/border-beam/README.md +0 -37
- package/dist/fancy-ui/box-reveal/BoxReveal.test.d.ts +0 -1
- package/dist/fancy-ui/box-reveal/BoxReveal.test.js +0 -66
- package/dist/fancy-ui/box-reveal/README.md +0 -24
- package/dist/fancy-ui/breadcrumb/Breadcrumb.test.d.ts +0 -1
- package/dist/fancy-ui/breadcrumb/Breadcrumb.test.js +0 -309
- package/dist/fancy-ui/breadcrumb/README.md +0 -130
- package/dist/fancy-ui/button/Button.test.d.ts +0 -1
- package/dist/fancy-ui/button/Button.test.js +0 -405
- package/dist/fancy-ui/button/ButtonLeadHarness.test.svelte +0 -32
- package/dist/fancy-ui/button/ButtonLeadHarness.test.svelte.d.ts +0 -3
- package/dist/fancy-ui/button/README.md +0 -113
- package/dist/fancy-ui/button-group/ButtonGroup.test.d.ts +0 -1
- package/dist/fancy-ui/button-group/ButtonGroup.test.js +0 -133
- package/dist/fancy-ui/button-group/ButtonGroupContextProbe.test.svelte +0 -15
- package/dist/fancy-ui/button-group/ButtonGroupContextProbe.test.svelte.d.ts +0 -18
- package/dist/fancy-ui/button-group/ButtonGroupHarness.test.svelte +0 -21
- package/dist/fancy-ui/button-group/ButtonGroupHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/button-group/README.md +0 -91
- package/dist/fancy-ui/card-3d/CardContainer.test.d.ts +0 -1
- package/dist/fancy-ui/card-3d/CardContainer.test.js +0 -118
- package/dist/fancy-ui/card-3d/README.md +0 -52
- package/dist/fancy-ui/card-spotlight/CardSpotlight.test.d.ts +0 -1
- package/dist/fancy-ui/card-spotlight/CardSpotlight.test.js +0 -58
- package/dist/fancy-ui/card-spotlight/README.md +0 -24
- package/dist/fancy-ui/chat-error/ChatError.test.d.ts +0 -1
- package/dist/fancy-ui/chat-error/ChatError.test.js +0 -134
- package/dist/fancy-ui/chat-error/README.md +0 -89
- package/dist/fancy-ui/chat-message/ChatMessage.test.d.ts +0 -1
- package/dist/fancy-ui/chat-message/ChatMessage.test.js +0 -179
- package/dist/fancy-ui/chat-message/ChatMessageHarness.test.svelte +0 -49
- package/dist/fancy-ui/chat-message/ChatMessageHarness.test.svelte.d.ts +0 -13
- package/dist/fancy-ui/chat-message/ChatMessageParts.test.d.ts +0 -1
- package/dist/fancy-ui/chat-message/ChatMessageParts.test.js +0 -241
- package/dist/fancy-ui/chat-message/README.md +0 -209
- package/dist/fancy-ui/chat-panel/ChatPanel.test.d.ts +0 -1
- package/dist/fancy-ui/chat-panel/ChatPanel.test.js +0 -349
- package/dist/fancy-ui/chat-panel/README.md +0 -224
- package/dist/fancy-ui/checkbox/Checkbox.test.d.ts +0 -1
- package/dist/fancy-ui/checkbox/Checkbox.test.js +0 -438
- package/dist/fancy-ui/checkbox/CheckboxFieldHarness.test.svelte +0 -26
- package/dist/fancy-ui/checkbox/CheckboxFieldHarness.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/checkbox/CheckboxHarness.test.svelte +0 -34
- package/dist/fancy-ui/checkbox/CheckboxHarness.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/checkbox/README.md +0 -219
- package/dist/fancy-ui/code-diff/CodeDiff.test.d.ts +0 -1
- package/dist/fancy-ui/code-diff/CodeDiff.test.js +0 -358
- package/dist/fancy-ui/code-diff/README.md +0 -93
- package/dist/fancy-ui/colourful-text/ColourfulText.test.d.ts +0 -1
- package/dist/fancy-ui/colourful-text/ColourfulText.test.js +0 -53
- package/dist/fancy-ui/colourful-text/README.md +0 -21
- package/dist/fancy-ui/combobox/Combobox.test.d.ts +0 -1
- package/dist/fancy-ui/combobox/Combobox.test.js +0 -655
- package/dist/fancy-ui/combobox/ComboboxFieldHarness.test.svelte +0 -69
- package/dist/fancy-ui/combobox/ComboboxFieldHarness.test.svelte.d.ts +0 -21
- package/dist/fancy-ui/combobox/ComboboxHarness.test.svelte +0 -30
- package/dist/fancy-ui/combobox/ComboboxHarness.test.svelte.d.ts +0 -9
- package/dist/fancy-ui/combobox/README.md +0 -220
- package/dist/fancy-ui/command-menu/CommandMenu.test.d.ts +0 -1
- package/dist/fancy-ui/command-menu/CommandMenu.test.js +0 -807
- package/dist/fancy-ui/command-menu/README.md +0 -217
- package/dist/fancy-ui/compare/Compare.test.d.ts +0 -1
- package/dist/fancy-ui/compare/Compare.test.js +0 -57
- package/dist/fancy-ui/compare/README.md +0 -97
- package/dist/fancy-ui/composer/Composer.test.d.ts +0 -1
- package/dist/fancy-ui/composer/Composer.test.js +0 -505
- package/dist/fancy-ui/composer/ComposerAttachments.test.d.ts +0 -1
- package/dist/fancy-ui/composer/ComposerAttachments.test.js +0 -408
- package/dist/fancy-ui/composer/ComposerCommandMenu.test.d.ts +0 -1
- package/dist/fancy-ui/composer/ComposerCommandMenu.test.js +0 -366
- package/dist/fancy-ui/composer/ComposerHarness.test.svelte +0 -102
- package/dist/fancy-ui/composer/ComposerHarness.test.svelte.d.ts +0 -25
- package/dist/fancy-ui/composer/ComposerIntegration.test.d.ts +0 -14
- package/dist/fancy-ui/composer/ComposerIntegration.test.js +0 -283
- package/dist/fancy-ui/composer/ComposerToolbar.test.d.ts +0 -1
- package/dist/fancy-ui/composer/ComposerToolbar.test.js +0 -347
- package/dist/fancy-ui/composer/IntegrationHarness.test.svelte +0 -142
- package/dist/fancy-ui/composer/IntegrationHarness.test.svelte.d.ts +0 -28
- package/dist/fancy-ui/composer/README.md +0 -447
- package/dist/fancy-ui/composer/caret.test.d.ts +0 -1
- package/dist/fancy-ui/composer/caret.test.js +0 -87
- package/dist/fancy-ui/confetti/Confetti.test.d.ts +0 -1
- package/dist/fancy-ui/confetti/Confetti.test.js +0 -83
- package/dist/fancy-ui/confetti/README.md +0 -35
- package/dist/fancy-ui/container-scroll/ContainerScroll.test.d.ts +0 -1
- package/dist/fancy-ui/container-scroll/ContainerScroll.test.js +0 -34
- package/dist/fancy-ui/container-scroll/README.md +0 -28
- package/dist/fancy-ui/container-text-flip/ContainerTextFlip.test.d.ts +0 -1
- package/dist/fancy-ui/container-text-flip/ContainerTextFlip.test.js +0 -46
- package/dist/fancy-ui/container-text-flip/README.md +0 -22
- package/dist/fancy-ui/context-menu/ContextMenu.test.d.ts +0 -1
- package/dist/fancy-ui/context-menu/ContextMenu.test.js +0 -633
- package/dist/fancy-ui/context-menu/ContextMenuHarness.test.svelte +0 -74
- package/dist/fancy-ui/context-menu/ContextMenuHarness.test.svelte.d.ts +0 -17
- package/dist/fancy-ui/context-menu/README.md +0 -310
- package/dist/fancy-ui/context-ring/ContextRing.test.d.ts +0 -1
- package/dist/fancy-ui/context-ring/ContextRing.test.js +0 -324
- package/dist/fancy-ui/context-ring/README.md +0 -149
- package/dist/fancy-ui/copy-button/CopyButton.test.d.ts +0 -1
- package/dist/fancy-ui/copy-button/CopyButton.test.js +0 -482
- package/dist/fancy-ui/copy-button/README.md +0 -191
- package/dist/fancy-ui/date-picker/DatePicker.test.d.ts +0 -1
- package/dist/fancy-ui/date-picker/DatePicker.test.js +0 -632
- package/dist/fancy-ui/date-picker/DatePickerFieldHarness.test.svelte +0 -25
- package/dist/fancy-ui/date-picker/DatePickerFieldHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/date-picker/DatePickerHarness.test.svelte +0 -29
- package/dist/fancy-ui/date-picker/DatePickerHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/date-picker/README.md +0 -243
- package/dist/fancy-ui/date-picker/date-utils.test.d.ts +0 -1
- package/dist/fancy-ui/date-picker/date-utils.test.js +0 -175
- package/dist/fancy-ui/dialog/Dialog.test.d.ts +0 -1
- package/dist/fancy-ui/dialog/Dialog.test.js +0 -535
- package/dist/fancy-ui/dialog/README.md +0 -122
- package/dist/fancy-ui/dim-siblings/DimSiblings.test.d.ts +0 -1
- package/dist/fancy-ui/dim-siblings/DimSiblings.test.js +0 -127
- package/dist/fancy-ui/dim-siblings/DimSiblingsHarness.test.svelte +0 -18
- package/dist/fancy-ui/dim-siblings/DimSiblingsHarness.test.svelte.d.ts +0 -18
- package/dist/fancy-ui/dim-siblings/README.md +0 -77
- package/dist/fancy-ui/direction-aware-hover/DirectionAwareHover.test.d.ts +0 -1
- package/dist/fancy-ui/direction-aware-hover/DirectionAwareHover.test.js +0 -78
- package/dist/fancy-ui/direction-aware-hover/README.md +0 -47
- package/dist/fancy-ui/displacement-text/DisplacementText.test.d.ts +0 -1
- package/dist/fancy-ui/displacement-text/DisplacementText.test.js +0 -148
- package/dist/fancy-ui/displacement-text/README.md +0 -40
- package/dist/fancy-ui/dock/Dock.test.d.ts +0 -1
- package/dist/fancy-ui/dock/Dock.test.js +0 -182
- package/dist/fancy-ui/dock/DockHarness.test.svelte +0 -36
- package/dist/fancy-ui/dock/DockHarness.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/dock/README.md +0 -84
- package/dist/fancy-ui/drawer/Drawer.test.d.ts +0 -1
- package/dist/fancy-ui/drawer/Drawer.test.js +0 -501
- package/dist/fancy-ui/drawer/DrawerHarness.test.svelte +0 -35
- package/dist/fancy-ui/drawer/DrawerHarness.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/drawer/README.md +0 -179
- package/dist/fancy-ui/dropdown-menu/DropdownMenu.test.d.ts +0 -1
- package/dist/fancy-ui/dropdown-menu/DropdownMenu.test.js +0 -973
- package/dist/fancy-ui/dropdown-menu/DropdownMenuHarness.test.svelte +0 -97
- package/dist/fancy-ui/dropdown-menu/DropdownMenuHarness.test.svelte.d.ts +0 -25
- package/dist/fancy-ui/dropdown-menu/README.md +0 -495
- package/dist/fancy-ui/editorial-engine/EditorialEngine.test.d.ts +0 -1
- package/dist/fancy-ui/editorial-engine/EditorialEngine.test.js +0 -86
- package/dist/fancy-ui/editorial-engine/README.md +0 -65
- package/dist/fancy-ui/file-upload/FileUpload.test.d.ts +0 -1
- package/dist/fancy-ui/file-upload/FileUpload.test.js +0 -587
- package/dist/fancy-ui/file-upload/FileUploadFieldHarness.test.svelte +0 -47
- package/dist/fancy-ui/file-upload/FileUploadFieldHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/file-upload/FileUploadHarness.test.svelte +0 -28
- package/dist/fancy-ui/file-upload/FileUploadHarness.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/file-upload/README.md +0 -281
- package/dist/fancy-ui/fireworks-hdr/FireworksHdr.test.d.ts +0 -1
- package/dist/fancy-ui/fireworks-hdr/FireworksHdr.test.js +0 -144
- package/dist/fancy-ui/fireworks-hdr/README.md +0 -494
- package/dist/fancy-ui/fireworks-hdr/fireworks-shared.test.d.ts +0 -1
- package/dist/fancy-ui/fireworks-hdr/fireworks-shared.test.js +0 -1054
- package/dist/fancy-ui/fireworks-hdr/webgl2-renderer.test.d.ts +0 -1
- package/dist/fancy-ui/fireworks-hdr/webgl2-renderer.test.js +0 -33
- package/dist/fancy-ui/flickering-grid/FlickeringGrid.test.d.ts +0 -1
- package/dist/fancy-ui/flickering-grid/FlickeringGrid.test.js +0 -34
- package/dist/fancy-ui/flickering-grid/README.md +0 -24
- package/dist/fancy-ui/flip-card/FlipCard.test.d.ts +0 -1
- package/dist/fancy-ui/flip-card/FlipCard.test.js +0 -36
- package/dist/fancy-ui/flip-card/README.md +0 -26
- package/dist/fancy-ui/flip-words/FlipWords.test.d.ts +0 -1
- package/dist/fancy-ui/flip-words/FlipWords.test.js +0 -50
- package/dist/fancy-ui/flip-words/README.md +0 -17
- package/dist/fancy-ui/fluid-cursor/FluidCursor.test.d.ts +0 -1
- package/dist/fancy-ui/fluid-cursor/FluidCursor.test.js +0 -177
- package/dist/fancy-ui/fluid-cursor/README.md +0 -139
- package/dist/fancy-ui/fluid-cursor/fluid-shared.test.d.ts +0 -1
- package/dist/fancy-ui/fluid-cursor/fluid-shared.test.js +0 -55
- package/dist/fancy-ui/focus/Focus.test.d.ts +0 -1
- package/dist/fancy-ui/focus/Focus.test.js +0 -48
- package/dist/fancy-ui/focus/README.md +0 -21
- package/dist/fancy-ui/form-field/FormField.test.d.ts +0 -1
- package/dist/fancy-ui/form-field/FormField.test.js +0 -323
- package/dist/fancy-ui/form-field/FormFieldControl.test.svelte +0 -37
- package/dist/fancy-ui/form-field/FormFieldControl.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/form-field/FormFieldHarness.test.svelte +0 -30
- package/dist/fancy-ui/form-field/FormFieldHarness.test.svelte.d.ts +0 -4
- package/dist/fancy-ui/form-field/FormFieldPairHarness.test.svelte +0 -20
- package/dist/fancy-ui/form-field/FormFieldPairHarness.test.svelte.d.ts +0 -18
- package/dist/fancy-ui/form-field/README.md +0 -241
- package/dist/fancy-ui/frosted-glass/FrostedGlass.test.d.ts +0 -1
- package/dist/fancy-ui/frosted-glass/FrostedGlass.test.js +0 -48
- package/dist/fancy-ui/frosted-glass/README.md +0 -61
- package/dist/fancy-ui/glare-card/GlareCard.test.d.ts +0 -1
- package/dist/fancy-ui/glare-card/GlareCard.test.js +0 -40
- package/dist/fancy-ui/glare-card/README.md +0 -24
- package/dist/fancy-ui/glow-border/GlowBorder.test.d.ts +0 -1
- package/dist/fancy-ui/glow-border/GlowBorder.test.js +0 -57
- package/dist/fancy-ui/glow-border/README.md +0 -54
- package/dist/fancy-ui/glowing-effect/GlowingEffect.test.d.ts +0 -1
- package/dist/fancy-ui/glowing-effect/GlowingEffect.test.js +0 -68
- package/dist/fancy-ui/glowing-effect/README.md +0 -29
- package/dist/fancy-ui/gradient-button/GradientButton.test.d.ts +0 -1
- package/dist/fancy-ui/gradient-button/GradientButton.test.js +0 -103
- package/dist/fancy-ui/gradient-button/README.md +0 -20
- package/dist/fancy-ui/hover-card/HoverCard.test.d.ts +0 -1
- package/dist/fancy-ui/hover-card/HoverCard.test.js +0 -462
- package/dist/fancy-ui/hover-card/HoverCardAriaHarness.test.svelte +0 -26
- package/dist/fancy-ui/hover-card/HoverCardAriaHarness.test.svelte.d.ts +0 -18
- package/dist/fancy-ui/hover-card/HoverCardHarness.test.svelte +0 -24
- package/dist/fancy-ui/hover-card/HoverCardHarness.test.svelte.d.ts +0 -6
- package/dist/fancy-ui/hover-card/README.md +0 -111
- package/dist/fancy-ui/hyper-text/HyperText.test.d.ts +0 -1
- package/dist/fancy-ui/hyper-text/HyperText.test.js +0 -39
- package/dist/fancy-ui/hyper-text/README.md +0 -19
- package/dist/fancy-ui/icon-button/IconButton.test.d.ts +0 -1
- package/dist/fancy-ui/icon-button/IconButton.test.js +0 -159
- package/dist/fancy-ui/icon-button/README.md +0 -197
- package/dist/fancy-ui/image-generation/ImageGeneration.test.d.ts +0 -1
- package/dist/fancy-ui/image-generation/ImageGeneration.test.js +0 -294
- package/dist/fancy-ui/image-generation/README.md +0 -107
- package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.test.d.ts +0 -1
- package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.test.js +0 -77
- package/dist/fancy-ui/image-trail-cursor/README.md +0 -38
- package/dist/fancy-ui/image-trail-cursor/trail-variants.test.d.ts +0 -1
- package/dist/fancy-ui/image-trail-cursor/trail-variants.test.js +0 -14
- package/dist/fancy-ui/inline-citation/InlineCitation.test.d.ts +0 -1
- package/dist/fancy-ui/inline-citation/InlineCitation.test.js +0 -272
- package/dist/fancy-ui/inline-citation/InlineCitationHarness.test.svelte +0 -21
- package/dist/fancy-ui/inline-citation/InlineCitationHarness.test.svelte.d.ts +0 -9
- package/dist/fancy-ui/inline-citation/README.md +0 -107
- package/dist/fancy-ui/input/Input.test.d.ts +0 -1
- package/dist/fancy-ui/input/Input.test.js +0 -133
- package/dist/fancy-ui/input/InputFieldHarness.test.svelte +0 -49
- package/dist/fancy-ui/input/InputFieldHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/input/InputHarness.test.svelte +0 -28
- package/dist/fancy-ui/input/InputHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/input/README.md +0 -126
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.test.d.ts +0 -1
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.test.js +0 -83
- package/dist/fancy-ui/interactive-grid-pattern/README.md +0 -41
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.test.d.ts +0 -1
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.test.js +0 -131
- package/dist/fancy-ui/interactive-hover-button/README.md +0 -53
- package/dist/fancy-ui/label/Label.test.d.ts +0 -1
- package/dist/fancy-ui/label/Label.test.js +0 -105
- package/dist/fancy-ui/label/LabelHarness.test.svelte +0 -37
- package/dist/fancy-ui/label/LabelHarness.test.svelte.d.ts +0 -11
- package/dist/fancy-ui/label/README.md +0 -87
- package/dist/fancy-ui/letter-pullup/LetterPullup.test.d.ts +0 -1
- package/dist/fancy-ui/letter-pullup/LetterPullup.test.js +0 -49
- package/dist/fancy-ui/letter-pullup/README.md +0 -18
- package/dist/fancy-ui/line-hover-link/LineHoverLink.test.d.ts +0 -1
- package/dist/fancy-ui/line-hover-link/LineHoverLink.test.js +0 -134
- package/dist/fancy-ui/line-hover-link/README.md +0 -72
- package/dist/fancy-ui/line-reveal/LineReveal.test.d.ts +0 -1
- package/dist/fancy-ui/line-reveal/LineReveal.test.js +0 -81
- package/dist/fancy-ui/line-reveal/README.md +0 -42
- package/dist/fancy-ui/line-shadow-text/LineShadowText.test.d.ts +0 -1
- package/dist/fancy-ui/line-shadow-text/LineShadowText.test.js +0 -59
- package/dist/fancy-ui/line-shadow-text/README.md +0 -12
- package/dist/fancy-ui/link/Link.test.d.ts +0 -1
- package/dist/fancy-ui/link/Link.test.js +0 -236
- package/dist/fancy-ui/link/README.md +0 -112
- package/dist/fancy-ui/liquid-glass/LiquidGlass.test.d.ts +0 -1
- package/dist/fancy-ui/liquid-glass/LiquidGlass.test.js +0 -62
- package/dist/fancy-ui/liquid-glass/README.md +0 -44
- package/dist/fancy-ui/liquid-text/LiquidText.test.d.ts +0 -1
- package/dist/fancy-ui/liquid-text/LiquidText.test.js +0 -217
- package/dist/fancy-ui/liquid-text/README.md +0 -139
- package/dist/fancy-ui/logo-cloud/AnimatedLogoCloud.test.d.ts +0 -1
- package/dist/fancy-ui/logo-cloud/AnimatedLogoCloud.test.js +0 -59
- package/dist/fancy-ui/logo-cloud/README.md +0 -74
- package/dist/fancy-ui/logo-cloud/StaticLogoCloud.test.d.ts +0 -1
- package/dist/fancy-ui/logo-cloud/StaticLogoCloud.test.js +0 -57
- package/dist/fancy-ui/magnetic/Magnetic.test.d.ts +0 -1
- package/dist/fancy-ui/magnetic/Magnetic.test.js +0 -354
- package/dist/fancy-ui/magnetic/README.md +0 -175
- package/dist/fancy-ui/marquee/Marquee.test.d.ts +0 -1
- package/dist/fancy-ui/marquee/Marquee.test.js +0 -46
- package/dist/fancy-ui/marquee/README.md +0 -57
- package/dist/fancy-ui/matrix-rain/MatrixRain.test.d.ts +0 -1
- package/dist/fancy-ui/matrix-rain/MatrixRain.test.js +0 -30
- package/dist/fancy-ui/matrix-rain/README.md +0 -42
- package/dist/fancy-ui/meteors/Meteors.test.d.ts +0 -1
- package/dist/fancy-ui/meteors/Meteors.test.js +0 -48
- package/dist/fancy-ui/meteors/README.md +0 -18
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.ssr.test.d.ts +0 -1
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.ssr.test.js +0 -22
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.test.d.ts +0 -1
- package/dist/fancy-ui/mosaic-glow/MosaicGlow.test.js +0 -319
- package/dist/fancy-ui/mosaic-glow/README.md +0 -60
- package/dist/fancy-ui/mosaic-glow/mosaic-glow-core.test.d.ts +0 -1
- package/dist/fancy-ui/mosaic-glow/mosaic-glow-core.test.js +0 -201
- package/dist/fancy-ui/navbar/Navbar.test.d.ts +0 -1
- package/dist/fancy-ui/navbar/Navbar.test.js +0 -232
- package/dist/fancy-ui/navbar/README.md +0 -173
- package/dist/fancy-ui/navigation-menu/NavigationMenu.test.d.ts +0 -1
- package/dist/fancy-ui/navigation-menu/NavigationMenu.test.js +0 -626
- package/dist/fancy-ui/navigation-menu/NavigationMenuHarness.test.svelte +0 -78
- package/dist/fancy-ui/navigation-menu/NavigationMenuHarness.test.svelte.d.ts +0 -24
- package/dist/fancy-ui/navigation-menu/README.md +0 -367
- package/dist/fancy-ui/neon-border/NeonBorder.test.d.ts +0 -1
- package/dist/fancy-ui/neon-border/NeonBorder.test.js +0 -80
- package/dist/fancy-ui/neon-border/README.md +0 -27
- package/dist/fancy-ui/noise-reveal/NoiseReveal.test.d.ts +0 -1
- package/dist/fancy-ui/noise-reveal/NoiseReveal.test.js +0 -123
- package/dist/fancy-ui/noise-reveal/README.md +0 -52
- package/dist/fancy-ui/number-input/NumberInput.test.d.ts +0 -1
- package/dist/fancy-ui/number-input/NumberInput.test.js +0 -588
- package/dist/fancy-ui/number-input/NumberInputFieldHarness.test.svelte +0 -25
- package/dist/fancy-ui/number-input/NumberInputFieldHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/number-input/NumberInputHarness.test.svelte +0 -31
- package/dist/fancy-ui/number-input/NumberInputHarness.test.svelte.d.ts +0 -10
- package/dist/fancy-ui/number-input/README.md +0 -206
- package/dist/fancy-ui/number-ticker/NumberTicker.test.d.ts +0 -1
- package/dist/fancy-ui/number-ticker/NumberTicker.test.js +0 -158
- package/dist/fancy-ui/number-ticker/README.md +0 -22
- package/dist/fancy-ui/pagination/Pagination.test.d.ts +0 -1
- package/dist/fancy-ui/pagination/Pagination.test.js +0 -282
- package/dist/fancy-ui/pagination/PaginationHarness.test.svelte +0 -56
- package/dist/fancy-ui/pagination/PaginationHarness.test.svelte.d.ts +0 -14
- package/dist/fancy-ui/pagination/README.md +0 -155
- package/dist/fancy-ui/pagination/pagination-range.test.d.ts +0 -1
- package/dist/fancy-ui/pagination/pagination-range.test.js +0 -118
- package/dist/fancy-ui/password-input/PasswordInput.test.d.ts +0 -1
- package/dist/fancy-ui/password-input/PasswordInput.test.js +0 -477
- package/dist/fancy-ui/password-input/PasswordInputFieldHarness.test.svelte +0 -66
- package/dist/fancy-ui/password-input/PasswordInputFieldHarness.test.svelte.d.ts +0 -19
- package/dist/fancy-ui/password-input/PasswordInputHarness.test.svelte +0 -28
- package/dist/fancy-ui/password-input/PasswordInputHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/password-input/README.md +0 -187
- package/dist/fancy-ui/pixel-loader/PixelLoader.test.d.ts +0 -1
- package/dist/fancy-ui/pixel-loader/PixelLoader.test.js +0 -77
- package/dist/fancy-ui/pixel-loader/README.md +0 -47
- package/dist/fancy-ui/popover/Popover.test.d.ts +0 -1
- package/dist/fancy-ui/popover/Popover.test.js +0 -605
- package/dist/fancy-ui/popover/README.md +0 -204
- package/dist/fancy-ui/presence/Presence.test.d.ts +0 -1
- package/dist/fancy-ui/presence/Presence.test.js +0 -274
- package/dist/fancy-ui/presence/PresenceHarness.test.svelte +0 -23
- package/dist/fancy-ui/presence/PresenceHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/presence/README.md +0 -121
- package/dist/fancy-ui/pressable/Pressable.test.d.ts +0 -1
- package/dist/fancy-ui/pressable/Pressable.test.js +0 -285
- package/dist/fancy-ui/pressable/README.md +0 -80
- package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.test.d.ts +0 -1
- package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.test.js +0 -169
- package/dist/fancy-ui/prompt-suggestions/README.md +0 -88
- package/dist/fancy-ui/pulse-beam/PulseBeam.ssr.test.d.ts +0 -1
- package/dist/fancy-ui/pulse-beam/PulseBeam.ssr.test.js +0 -15
- package/dist/fancy-ui/pulse-beam/PulseBeam.test.d.ts +0 -1
- package/dist/fancy-ui/pulse-beam/PulseBeam.test.js +0 -254
- package/dist/fancy-ui/pulse-beam/README.md +0 -72
- package/dist/fancy-ui/pulse-beam/pulse-beam-data.test.d.ts +0 -1
- package/dist/fancy-ui/pulse-beam/pulse-beam-data.test.js +0 -155
- package/dist/fancy-ui/radio-group/README.md +0 -254
- package/dist/fancy-ui/radio-group/RadioGroup.test.d.ts +0 -1
- package/dist/fancy-ui/radio-group/RadioGroup.test.js +0 -458
- package/dist/fancy-ui/radio-group/RadioGroupHarness.test.svelte +0 -79
- package/dist/fancy-ui/radio-group/RadioGroupHarness.test.svelte.d.ts +0 -23
- package/dist/fancy-ui/rainbow-button/README.md +0 -50
- package/dist/fancy-ui/rainbow-button/RainbowButton.test.d.ts +0 -1
- package/dist/fancy-ui/rainbow-button/RainbowButton.test.js +0 -98
- package/dist/fancy-ui/reasoning-panel/README.md +0 -81
- package/dist/fancy-ui/reasoning-panel/ReasoningPanel.test.d.ts +0 -1
- package/dist/fancy-ui/reasoning-panel/ReasoningPanel.test.js +0 -209
- package/dist/fancy-ui/recommendation-card/README.md +0 -117
- package/dist/fancy-ui/recommendation-card/RecommendationCard.test.d.ts +0 -1
- package/dist/fancy-ui/recommendation-card/RecommendationCard.test.js +0 -293
- package/dist/fancy-ui/recommendation-card/RecommendationCardHarness.test.svelte +0 -33
- package/dist/fancy-ui/recommendation-card/RecommendationCardHarness.test.svelte.d.ts +0 -12
- package/dist/fancy-ui/registry.test.d.ts +0 -1
- package/dist/fancy-ui/registry.test.js +0 -32
- package/dist/fancy-ui/reveal/README.md +0 -186
- package/dist/fancy-ui/reveal/Reveal.test.d.ts +0 -1
- package/dist/fancy-ui/reveal/Reveal.test.js +0 -421
- package/dist/fancy-ui/reveal/RevealHarness.test.svelte +0 -49
- package/dist/fancy-ui/reveal/RevealHarness.test.svelte.d.ts +0 -9
- package/dist/fancy-ui/ripple/README.md +0 -16
- package/dist/fancy-ui/ripple/Ripple.test.d.ts +0 -1
- package/dist/fancy-ui/ripple/Ripple.test.js +0 -81
- package/dist/fancy-ui/ripple-button/README.md +0 -47
- package/dist/fancy-ui/ripple-button/RippleButton.test.d.ts +0 -1
- package/dist/fancy-ui/ripple-button/RippleButton.test.js +0 -123
- package/dist/fancy-ui/scroll-anchor/README.md +0 -104
- package/dist/fancy-ui/scroll-anchor/ScrollAnchor.test.d.ts +0 -1
- package/dist/fancy-ui/scroll-anchor/ScrollAnchor.test.js +0 -245
- package/dist/fancy-ui/scroll-progress/README.md +0 -73
- package/dist/fancy-ui/scroll-progress/ScrollProgress.test.d.ts +0 -1
- package/dist/fancy-ui/scroll-progress/ScrollProgress.test.js +0 -275
- package/dist/fancy-ui/search-input/README.md +0 -162
- package/dist/fancy-ui/search-input/SearchInput.test.d.ts +0 -1
- package/dist/fancy-ui/search-input/SearchInput.test.js +0 -410
- package/dist/fancy-ui/search-input/SearchInputFieldHarness.test.svelte +0 -66
- package/dist/fancy-ui/search-input/SearchInputFieldHarness.test.svelte.d.ts +0 -19
- package/dist/fancy-ui/search-input/SearchInputHarness.test.svelte +0 -28
- package/dist/fancy-ui/search-input/SearchInputHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/select/README.md +0 -259
- package/dist/fancy-ui/select/Select.test.d.ts +0 -1
- package/dist/fancy-ui/select/Select.test.js +0 -733
- package/dist/fancy-ui/select/SelectHarness.test.svelte +0 -63
- package/dist/fancy-ui/select/SelectHarness.test.svelte.d.ts +0 -19
- package/dist/fancy-ui/sheet/README.md +0 -164
- package/dist/fancy-ui/sheet/Sheet.test.d.ts +0 -1
- package/dist/fancy-ui/sheet/Sheet.test.js +0 -420
- package/dist/fancy-ui/sheet/SheetHarness.test.svelte +0 -32
- package/dist/fancy-ui/sheet/SheetHarness.test.svelte.d.ts +0 -8
- package/dist/fancy-ui/shimmer-button/README.md +0 -20
- package/dist/fancy-ui/shimmer-button/ShimmerButton.test.d.ts +0 -1
- package/dist/fancy-ui/shimmer-button/ShimmerButton.test.js +0 -106
- package/dist/fancy-ui/sidebar/README.md +0 -261
- package/dist/fancy-ui/sidebar/Sidebar.test.d.ts +0 -1
- package/dist/fancy-ui/sidebar/Sidebar.test.js +0 -400
- package/dist/fancy-ui/sidebar/SidebarHarness.test.svelte +0 -41
- package/dist/fancy-ui/sidebar/SidebarHarness.test.svelte.d.ts +0 -6
- package/dist/fancy-ui/skeleton/README.md +0 -166
- package/dist/fancy-ui/skeleton/Skeleton.test.d.ts +0 -1
- package/dist/fancy-ui/skeleton/Skeleton.test.js +0 -347
- package/dist/fancy-ui/skeleton/SkeletonRevealHarness.test.svelte +0 -48
- package/dist/fancy-ui/skeleton/SkeletonRevealHarness.test.svelte.d.ts +0 -11
- package/dist/fancy-ui/slider/README.md +0 -145
- package/dist/fancy-ui/slider/Slider.test.d.ts +0 -1
- package/dist/fancy-ui/slider/Slider.test.js +0 -212
- package/dist/fancy-ui/slider/SliderFieldHarness.test.svelte +0 -25
- package/dist/fancy-ui/slider/SliderFieldHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/slider/SliderHarness.test.svelte +0 -28
- package/dist/fancy-ui/slider/SliderHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/smooth-cursor/README.md +0 -23
- package/dist/fancy-ui/smooth-cursor/SmoothCursor.test.d.ts +0 -1
- package/dist/fancy-ui/smooth-cursor/SmoothCursor.test.js +0 -51
- package/dist/fancy-ui/sound/README.md +0 -347
- package/dist/fancy-ui/sound/SoundToggle.test.d.ts +0 -1
- package/dist/fancy-ui/sound/SoundToggle.test.js +0 -251
- package/dist/fancy-ui/sound/SoundToggleHarness.test.svelte +0 -18
- package/dist/fancy-ui/sound/SoundToggleHarness.test.svelte.d.ts +0 -3
- package/dist/fancy-ui/sound/engine.test.d.ts +0 -1
- package/dist/fancy-ui/sound/engine.test.js +0 -638
- package/dist/fancy-ui/sound/sound-feedback.test.d.ts +0 -1
- package/dist/fancy-ui/sound/sound-feedback.test.js +0 -272
- package/dist/fancy-ui/sound/sound.barrel.test.d.ts +0 -1
- package/dist/fancy-ui/sound/sound.barrel.test.js +0 -161
- package/dist/fancy-ui/sound/sound.integration.test.d.ts +0 -1
- package/dist/fancy-ui/sound/sound.integration.test.js +0 -541
- package/dist/fancy-ui/sound/sound.ssr.test.d.ts +0 -1
- package/dist/fancy-ui/sound/sound.ssr.test.js +0 -128
- package/dist/fancy-ui/sound/sound.test.d.ts +0 -1
- package/dist/fancy-ui/sound/sound.test.js +0 -318
- package/dist/fancy-ui/sound/themes.test.d.ts +0 -1
- package/dist/fancy-ui/sound/themes.test.js +0 -188
- package/dist/fancy-ui/sound/web-audio-mock.d.ts +0 -144
- package/dist/fancy-ui/sound/web-audio-mock.js +0 -274
- package/dist/fancy-ui/sources/README.md +0 -200
- package/dist/fancy-ui/sources/Sources.test.d.ts +0 -1
- package/dist/fancy-ui/sources/Sources.test.js +0 -174
- package/dist/fancy-ui/sources/SourcesHarness.test.svelte +0 -44
- package/dist/fancy-ui/sources/SourcesHarness.test.svelte.d.ts +0 -13
- package/dist/fancy-ui/sources/SourcesParts.test.d.ts +0 -1
- package/dist/fancy-ui/sources/SourcesParts.test.js +0 -245
- package/dist/fancy-ui/sparkles/README.md +0 -15
- package/dist/fancy-ui/sparkles/Sparkles.test.d.ts +0 -1
- package/dist/fancy-ui/sparkles/Sparkles.test.js +0 -117
- package/dist/fancy-ui/sparkles-text/README.md +0 -19
- package/dist/fancy-ui/sparkles-text/SparklesText.test.d.ts +0 -1
- package/dist/fancy-ui/sparkles-text/SparklesText.test.js +0 -54
- package/dist/fancy-ui/status-morph/README.md +0 -175
- package/dist/fancy-ui/status-morph/StatusMorph.test.d.ts +0 -1
- package/dist/fancy-ui/status-morph/StatusMorph.test.js +0 -243
- package/dist/fancy-ui/status-morph/StatusMorphHarness.test.svelte +0 -33
- package/dist/fancy-ui/status-morph/StatusMorphHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/stepper/README.md +0 -213
- package/dist/fancy-ui/stepper/Stepper.test.d.ts +0 -1
- package/dist/fancy-ui/stepper/Stepper.test.js +0 -294
- package/dist/fancy-ui/stepper/StepperHarness.test.svelte +0 -59
- package/dist/fancy-ui/stepper/StepperHarness.test.svelte.d.ts +0 -16
- package/dist/fancy-ui/sticky-scroll/README.md +0 -91
- package/dist/fancy-ui/sticky-scroll/StickyScroll.test.d.ts +0 -1
- package/dist/fancy-ui/sticky-scroll/StickyScroll.test.js +0 -267
- package/dist/fancy-ui/sticky-scroll/StickyScrollHarness.test.svelte +0 -73
- package/dist/fancy-ui/sticky-scroll/StickyScrollHarness.test.svelte.d.ts +0 -12
- package/dist/fancy-ui/streaming-text/README.md +0 -80
- package/dist/fancy-ui/streaming-text/StreamingText.test.d.ts +0 -1
- package/dist/fancy-ui/streaming-text/StreamingText.test.js +0 -98
- package/dist/fancy-ui/subagent-list/README.md +0 -164
- package/dist/fancy-ui/subagent-list/SubagentList.test.d.ts +0 -1
- package/dist/fancy-ui/subagent-list/SubagentList.test.js +0 -352
- package/dist/fancy-ui/switch/README.md +0 -173
- package/dist/fancy-ui/switch/Switch.test.d.ts +0 -1
- package/dist/fancy-ui/switch/Switch.test.js +0 -321
- package/dist/fancy-ui/switch/SwitchFieldHarness.test.svelte +0 -25
- package/dist/fancy-ui/switch/SwitchFieldHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/switch/SwitchHarness.test.svelte +0 -28
- package/dist/fancy-ui/switch/SwitchHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/tabs/README.md +0 -401
- package/dist/fancy-ui/tabs/Tabs.test.d.ts +0 -1
- package/dist/fancy-ui/tabs/Tabs.test.js +0 -797
- package/dist/fancy-ui/tabs/TabsHarness.test.svelte +0 -55
- package/dist/fancy-ui/tabs/TabsHarness.test.svelte.d.ts +0 -18
- package/dist/fancy-ui/terminal-block/README.md +0 -109
- package/dist/fancy-ui/terminal-block/TerminalBlock.test.d.ts +0 -1
- package/dist/fancy-ui/terminal-block/TerminalBlock.test.js +0 -197
- package/dist/fancy-ui/terminal-block/ansi.test.d.ts +0 -1
- package/dist/fancy-ui/terminal-block/ansi.test.js +0 -123
- package/dist/fancy-ui/terminal-text/README.md +0 -48
- package/dist/fancy-ui/terminal-text/TerminalText.test.d.ts +0 -1
- package/dist/fancy-ui/terminal-text/TerminalText.test.js +0 -158
- package/dist/fancy-ui/terminal-text/TerminalTextHarness.test.svelte +0 -36
- package/dist/fancy-ui/terminal-text/TerminalTextHarness.test.svelte.d.ts +0 -6
- package/dist/fancy-ui/text-generate-effect/README.md +0 -14
- package/dist/fancy-ui/text-generate-effect/TextGenerateEffect.test.d.ts +0 -1
- package/dist/fancy-ui/text-generate-effect/TextGenerateEffect.test.js +0 -73
- package/dist/fancy-ui/text-reveal-card/README.md +0 -36
- package/dist/fancy-ui/text-reveal-card/TextRevealCard.test.d.ts +0 -1
- package/dist/fancy-ui/text-reveal-card/TextRevealCard.test.js +0 -34
- package/dist/fancy-ui/text-roll/README.md +0 -152
- package/dist/fancy-ui/text-roll/TextRoll.test.d.ts +0 -1
- package/dist/fancy-ui/text-roll/TextRoll.test.js +0 -574
- package/dist/fancy-ui/text-roll/TextRollHarness.test.svelte +0 -49
- package/dist/fancy-ui/text-roll/TextRollHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/textarea/README.md +0 -134
- package/dist/fancy-ui/textarea/Textarea.test.d.ts +0 -1
- package/dist/fancy-ui/textarea/Textarea.test.js +0 -179
- package/dist/fancy-ui/textarea/TextareaFieldHarness.test.svelte +0 -49
- package/dist/fancy-ui/textarea/TextareaFieldHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/textarea/TextareaHarness.test.svelte +0 -28
- package/dist/fancy-ui/textarea/TextareaHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/thinking-indicator/README.md +0 -64
- package/dist/fancy-ui/thinking-indicator/ThinkingIndicator.test.d.ts +0 -1
- package/dist/fancy-ui/thinking-indicator/ThinkingIndicator.test.js +0 -148
- package/dist/fancy-ui/thread-list/README.md +0 -152
- package/dist/fancy-ui/thread-list/ThreadList.test.d.ts +0 -1
- package/dist/fancy-ui/thread-list/ThreadList.test.js +0 -310
- package/dist/fancy-ui/thread-list/ThreadListHarness.test.svelte +0 -64
- package/dist/fancy-ui/thread-list/ThreadListHarness.test.svelte.d.ts +0 -16
- package/dist/fancy-ui/time-picker/README.md +0 -205
- package/dist/fancy-ui/time-picker/TimePicker.test.d.ts +0 -1
- package/dist/fancy-ui/time-picker/TimePicker.test.js +0 -618
- package/dist/fancy-ui/time-picker/TimePickerFieldHarness.test.svelte +0 -35
- package/dist/fancy-ui/time-picker/TimePickerFieldHarness.test.svelte.d.ts +0 -11
- package/dist/fancy-ui/time-picker/TimePickerHarness.test.svelte +0 -28
- package/dist/fancy-ui/time-picker/TimePickerHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/time-picker/time-utils.test.d.ts +0 -1
- package/dist/fancy-ui/time-picker/time-utils.test.js +0 -123
- package/dist/fancy-ui/timeline/README.md +0 -56
- package/dist/fancy-ui/timeline/Timeline.test.d.ts +0 -1
- package/dist/fancy-ui/timeline/Timeline.test.js +0 -63
- package/dist/fancy-ui/toast/README.md +0 -236
- package/dist/fancy-ui/toast/Toast.test.d.ts +0 -1
- package/dist/fancy-ui/toast/Toast.test.js +0 -513
- package/dist/fancy-ui/toggle/README.md +0 -126
- package/dist/fancy-ui/toggle/Toggle.test.d.ts +0 -1
- package/dist/fancy-ui/toggle/Toggle.test.js +0 -174
- package/dist/fancy-ui/toggle/ToggleHarness.test.svelte +0 -30
- package/dist/fancy-ui/toggle/ToggleHarness.test.svelte.d.ts +0 -7
- package/dist/fancy-ui/toggle-group/README.md +0 -244
- package/dist/fancy-ui/toggle-group/ToggleGroup.test.d.ts +0 -1
- package/dist/fancy-ui/toggle-group/ToggleGroup.test.js +0 -478
- package/dist/fancy-ui/toggle-group/ToggleGroupHarness.test.svelte +0 -52
- package/dist/fancy-ui/toggle-group/ToggleGroupHarness.test.svelte.d.ts +0 -19
- package/dist/fancy-ui/tool-call/README.md +0 -148
- package/dist/fancy-ui/tool-call/ToolCall.test.d.ts +0 -1
- package/dist/fancy-ui/tool-call/ToolCall.test.js +0 -290
- package/dist/fancy-ui/tool-timeline/README.md +0 -117
- package/dist/fancy-ui/tool-timeline/ToolTimeline.test.d.ts +0 -1
- package/dist/fancy-ui/tool-timeline/ToolTimeline.test.js +0 -214
- package/dist/fancy-ui/tooltip/README.md +0 -159
- package/dist/fancy-ui/tooltip/Tooltip.test.d.ts +0 -1
- package/dist/fancy-ui/tooltip/Tooltip.test.js +0 -417
- package/dist/fancy-ui/tracing-beam/README.md +0 -24
- package/dist/fancy-ui/tracing-beam/TracingBeam.test.d.ts +0 -1
- package/dist/fancy-ui/tracing-beam/TracingBeam.test.js +0 -61
- package/dist/fancy-ui/typing-indicator/README.md +0 -49
- package/dist/fancy-ui/typing-indicator/TypingIndicator.test.d.ts +0 -1
- package/dist/fancy-ui/typing-indicator/TypingIndicator.test.js +0 -60
- package/dist/fancy-ui/voice-input/README.md +0 -161
- package/dist/fancy-ui/voice-input/VoiceInput.test.d.ts +0 -1
- package/dist/fancy-ui/voice-input/VoiceInput.test.js +0 -362
- package/dist/fancy-ui/voice-input/VoiceInputHarness.test.svelte +0 -36
- package/dist/fancy-ui/voice-input/VoiceInputHarness.test.svelte.d.ts +0 -12
- package/dist/fancy-ui/web-search/README.md +0 -116
- package/dist/fancy-ui/web-search/WebSearch.test.d.ts +0 -1
- package/dist/fancy-ui/web-search/WebSearch.test.js +0 -324
package/README.md
CHANGED
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
# fancy-ui
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Animated UI components for **Svelte 5**, **React** and **Vue 3**, styled with Tailwind CSS v4.
|
|
8
8
|
|
|
9
|
-
](https://www.npmjs.com/package/fancy-ui-svelte)
|
|
10
|
+
[](https://www.npmjs.com/package/fancy-ui-react)
|
|
11
|
+
[](https://www.npmjs.com/package/fancy-ui-vue)
|
|
10
12
|

|
|
11
13
|

|
|
12
|
-

|
|
13
15
|

|
|
14
16
|
|
|
15
17
|
<p align="center">
|
|
@@ -23,23 +25,31 @@ Beautiful animation and UI components for **Svelte 5**.
|
|
|
23
25
|
|
|
24
26
|
<p align="center">
|
|
25
27
|
<a href="https://fancy-ui.rama.app">
|
|
26
|
-
<img src=".github/fancyui-
|
|
28
|
+
<img src=".github/fancyui-reel.webp" alt="fancy-ui in motion: an HDR fluid cursor painting over the title, fireworks launched from a gradient button, a datamosh page transition, a before/after slider split by a blade of light and a rainbow-beam button" width="800" />
|
|
27
29
|
</a>
|
|
28
30
|
</p>
|
|
29
31
|
|
|
30
32
|
<p align="center">
|
|
31
|
-
<a href="https://fancy-ui.rama.app"><strong>Live Demo</strong></a>
|
|
33
|
+
<a href="https://fancy-ui.rama.app"><strong>Live Demo & Docs</strong></a>
|
|
34
|
+
·
|
|
35
|
+
<a href="https://fancy-ui.rama.app/docs/components">Browse components</a>
|
|
36
|
+
·
|
|
37
|
+
<a href="./react/README.md">React package</a>
|
|
38
|
+
·
|
|
39
|
+
<a href="./vue/README.md">Vue package</a>
|
|
32
40
|
</p>
|
|
33
41
|
|
|
34
42
|
## Features
|
|
35
43
|
|
|
36
|
-
- **
|
|
37
|
-
- **
|
|
38
|
-
- **
|
|
39
|
-
- **
|
|
40
|
-
- **
|
|
41
|
-
- **
|
|
42
|
-
- **
|
|
44
|
+
- **146 components** — core primitives (forms, navigation, overlays) alongside buttons, text animations, backgrounds, cursors, AI/chat building blocks and a micro-interactions collection
|
|
45
|
+
- **Motion that feels physical** — beams of light, liquid-metal and neon borders, a physical flip card, a before/after slider with a motion trail, a datamosh page transition; springs and WebGL where they earn their keep
|
|
46
|
+
- **Svelte 5 runes** — built with `$state`, `$derived`, `$effect` and `$props`; snippets, no legacy syntax
|
|
47
|
+
- **React and Vue editions** — [`fancy-ui-react`](./react/README.md) (React 18 and 19) and [`fancy-ui-vue`](./vue/README.md) (Vue 3.5+) ship the same components under the same names, ported from the Svelte source and kept at parity by CI
|
|
48
|
+
- **Tailwind CSS v4** — one CSS import, theme tokens, light and dark themes
|
|
49
|
+
- **Accessible and SSR-safe** — keyboard support where it applies, `prefers-reduced-motion` respected, canvas and WebGL work deferred to mount
|
|
50
|
+
- **Opt-in sound** — eleven synthesised interface cues, a `SoundToggle` switch and a `soundFeedback` action; silent until the user turns it on
|
|
51
|
+
- **AI-ready docs** — `llms.txt`, a Markdown page per component and a JSON registry, so coding agents use the library correctly
|
|
52
|
+
- **Tested** — 4,500+ unit tests with Vitest and Testing Library
|
|
43
53
|
|
|
44
54
|
## Quick Start
|
|
45
55
|
|
|
@@ -49,12 +59,6 @@ Beautiful animation and UI components for **Svelte 5**.
|
|
|
49
59
|
npm install fancy-ui-svelte
|
|
50
60
|
```
|
|
51
61
|
|
|
52
|
-
Then import any component:
|
|
53
|
-
|
|
54
|
-
```ts
|
|
55
|
-
import { Marquee, BorderBeam, Confetti } from "fancy-ui-svelte";
|
|
56
|
-
```
|
|
57
|
-
|
|
58
62
|
Add the Tailwind integration to your app's CSS (e.g. `src/app.css`):
|
|
59
63
|
|
|
60
64
|
```css
|
|
@@ -64,6 +68,19 @@ Add the Tailwind integration to your app's CSS (e.g. `src/app.css`):
|
|
|
64
68
|
|
|
65
69
|
This single import tells Tailwind v4 to scan the library's components so all utility classes are generated automatically. No manual `@source` path needed.
|
|
66
70
|
|
|
71
|
+
Then import any component:
|
|
72
|
+
|
|
73
|
+
```svelte
|
|
74
|
+
<script lang="ts">
|
|
75
|
+
import { RainbowButton, BorderBeam } from "fancy-ui-svelte";
|
|
76
|
+
</script>
|
|
77
|
+
|
|
78
|
+
<div class="relative overflow-hidden rounded-xl border p-8">
|
|
79
|
+
<RainbowButton>Get started</RainbowButton>
|
|
80
|
+
<BorderBeam />
|
|
81
|
+
</div>
|
|
82
|
+
```
|
|
83
|
+
|
|
67
84
|
<details>
|
|
68
85
|
<summary>Alternative: manual @source (without the CSS import)</summary>
|
|
69
86
|
|
|
@@ -91,12 +108,62 @@ pnpm install
|
|
|
91
108
|
pnpm dev
|
|
92
109
|
```
|
|
93
110
|
|
|
111
|
+
### React
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
npm install fancy-ui-react
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
```css
|
|
118
|
+
/* app.css */
|
|
119
|
+
@import "tailwindcss";
|
|
120
|
+
@import "fancy-ui-react/tailwind.css";
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
```tsx
|
|
124
|
+
import "fancy-ui-react/styles.css";
|
|
125
|
+
import { RainbowButton } from "fancy-ui-react";
|
|
126
|
+
|
|
127
|
+
export function Hero() {
|
|
128
|
+
return <RainbowButton>Get started</RainbowButton>;
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Props keep their Svelte names; `class` becomes `className` and snippets become `ReactNode`. Setup details and the few deliberate differences are in the [React package README](./react/README.md).
|
|
133
|
+
|
|
134
|
+
### Vue
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
npm install fancy-ui-vue
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
```css
|
|
141
|
+
/* app.css */
|
|
142
|
+
@import "tailwindcss";
|
|
143
|
+
@import "fancy-ui-vue/tailwind.css";
|
|
144
|
+
@import "fancy-ui-vue/styles.css";
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
```vue
|
|
148
|
+
<script setup lang="ts">
|
|
149
|
+
import { RainbowButton } from "fancy-ui-vue";
|
|
150
|
+
</script>
|
|
151
|
+
|
|
152
|
+
<template>
|
|
153
|
+
<RainbowButton>Get started</RainbowButton>
|
|
154
|
+
</template>
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Props keep their Svelte names; snippets become named slots and every bindable prop is a `v-model:<name>`. Details and the deliberate differences are in the [Vue package README](./vue/README.md).
|
|
158
|
+
|
|
94
159
|
## Using with AI agents (Claude Code, Cursor, Copilot)
|
|
95
160
|
|
|
96
|
-
The docs site serves
|
|
161
|
+
The docs site serves documentation built for coding agents, following the [llms.txt](https://llmstxt.org) convention:
|
|
97
162
|
|
|
98
|
-
- [fancy-ui.rama.app/llms.txt](https://fancy-ui.rama.app/llms.txt) — setup guide, usage rules, and
|
|
99
|
-
- [fancy-ui.rama.app/llms-full.txt](https://fancy-ui.rama.app/llms-full.txt) — full reference
|
|
163
|
+
- [fancy-ui.rama.app/llms.txt](https://fancy-ui.rama.app/llms.txt) — setup guide, usage rules, and an index of every component
|
|
164
|
+
- [fancy-ui.rama.app/llms-full.txt](https://fancy-ui.rama.app/llms-full.txt) — full reference: import, props and a working example per component
|
|
165
|
+
- `https://fancy-ui.rama.app/docs/components/<slug>.md` — one component as Markdown, with every docs example (e.g. [compare.md](https://fancy-ui.rama.app/docs/components/compare.md)); each docs page also has a **Copy as Markdown** button
|
|
166
|
+
- [fancy-ui.rama.app/registry.json](https://fancy-ui.rama.app/registry.json) — every component as JSON: import names (Svelte and React), props, snippets, links
|
|
100
167
|
|
|
101
168
|
To make your coding agent use fancy-ui correctly, add this to your project's `CLAUDE.md`, `AGENTS.md`, or `.cursorrules`:
|
|
102
169
|
|
|
@@ -104,7 +171,8 @@ To make your coding agent use fancy-ui correctly, add this to your project's `CL
|
|
|
104
171
|
## UI components
|
|
105
172
|
|
|
106
173
|
Use fancy-ui-svelte (Svelte 5 + Tailwind CSS v4) for animated UI components.
|
|
107
|
-
|
|
174
|
+
Setup and rules: https://fancy-ui.rama.app/llms.txt
|
|
175
|
+
One component (props + examples): https://fancy-ui.rama.app/docs/components/<slug>.md
|
|
108
176
|
Key rules: overlay/effect components (BorderBeam, GlowBorder, backgrounds, ...)
|
|
109
177
|
need a parent with `relative overflow-hidden`; cursor effects (FluidCursor,
|
|
110
178
|
SmoothCursor) mount once in the root +layout.svelte; Svelte 5 syntax only.
|
|
@@ -115,8 +183,10 @@ SmoothCursor) mount once in the root +layout.svelte; Svelte 5 syntax only.
|
|
|
115
183
|
```bash
|
|
116
184
|
pnpm dev # Start dev server
|
|
117
185
|
pnpm check # Run Svelte type checker
|
|
118
|
-
pnpm check:registry #
|
|
119
|
-
pnpm check:i18n #
|
|
186
|
+
pnpm check:registry # Component folders = registry entries = barrel exports (CI gate)
|
|
187
|
+
pnpm check:i18n # i18n message catalog parity (CI gate)
|
|
188
|
+
pnpm check:props # Every Svelte prop has a React and a Vue counterpart (CI gate)
|
|
189
|
+
pnpm check:cores # Shared framework-free engines are byte-identical in the three packages (CI gate)
|
|
120
190
|
pnpm test # Run tests
|
|
121
191
|
pnpm test:watch # Run tests in watch mode
|
|
122
192
|
pnpm build # Production build
|
|
@@ -138,29 +208,35 @@ src/
|
|
|
138
208
|
│ │ │ └── README.md
|
|
139
209
|
│ │ ├── registry.ts # Component registry & metadata
|
|
140
210
|
│ │ └── index.ts # Barrel exports
|
|
141
|
-
│ └── components/
|
|
211
|
+
│ └── components/docs/examples/<slug>/ # Docs examples, listed in examples/registry.ts
|
|
142
212
|
└── routes/
|
|
143
213
|
├── +page.svelte # Home page
|
|
144
214
|
└── docs/ # Docs site (registry-driven component pages)
|
|
145
215
|
└── components/[slug]/+page.svelte
|
|
146
216
|
|
|
147
|
-
|
|
148
|
-
|
|
217
|
+
react/ # fancy-ui-react: the React edition (own package, same components)
|
|
218
|
+
vue/ # fancy-ui-vue: the Vue edition (own package, same components)
|
|
219
|
+
shared-cores.json # Manifest of the framework-free engines the three packages share byte for byte
|
|
220
|
+
scripts/ # Repo gates (registry, i18n, prop parity, shared cores)
|
|
221
|
+
examples/ # Consumer apps built in CI: next-app, react-demo, nuxt-app
|
|
222
|
+
tests/e2e/ # Playwright end-to-end tests for the docs site
|
|
149
223
|
```
|
|
150
224
|
|
|
151
225
|
Component tests are colocated with their component (see `RainbowButton.test.ts` above); there is no separate top-level unit-test directory.
|
|
152
226
|
|
|
153
227
|
## Contributing
|
|
154
228
|
|
|
155
|
-
Contributions are welcome!
|
|
229
|
+
Contributions are welcome! 146 components and counting — PRs for new components, bug fixes, and improvements are appreciated.
|
|
156
230
|
|
|
157
231
|
### Adding a new component
|
|
158
232
|
|
|
159
|
-
1.
|
|
160
|
-
2.
|
|
161
|
-
3. Add
|
|
162
|
-
4.
|
|
163
|
-
5.
|
|
233
|
+
1. Copy `src/lib/fancy-ui/_template/` to `src/lib/fancy-ui/<slug>/` and implement the component in idiomatic Svelte 5, with its colocated `<Name>.test.ts`
|
|
234
|
+
2. Register it in `src/lib/fancy-ui/registry.ts` and export it from `src/lib/fancy-ui/index.ts`
|
|
235
|
+
3. Add docs examples under `src/lib/components/docs/examples/<slug>/` and list them in `src/lib/components/docs/examples/registry.ts`
|
|
236
|
+
4. Port it to React (`react/src/components/<slug>/`) and Vue (`vue/src/components/<slug>/`) following `react/PORTING.md` and `vue/PORTING.md` — CI fails on a missing port or a missing prop
|
|
237
|
+
5. Add a changeset (`pnpm changeset`)
|
|
238
|
+
|
|
239
|
+
The full walkthrough is in [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
164
240
|
|
|
165
241
|
## Tech Stack
|
|
166
242
|
|
|
@@ -171,7 +247,6 @@ Contributions are welcome! 145 components and counting — PRs for new component
|
|
|
171
247
|
| [Tailwind CSS](https://tailwindcss.com) | 4 | Styling |
|
|
172
248
|
| [TypeScript](https://www.typescriptlang.org) | 5 | Type safety |
|
|
173
249
|
| [Vitest](https://vitest.dev) | 4 | Testing |
|
|
174
|
-
| [bits-ui](https://bits-ui.com) | 2 | Headless primitives |
|
|
175
250
|
| [GSAP](https://gsap.com) | 3 | Advanced animations |
|
|
176
251
|
|
|
177
252
|
## Credits
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Action } from "svelte/action";
|
|
2
1
|
export type Side = "top" | "bottom" | "left" | "right";
|
|
3
2
|
export type Align = "start" | "center" | "end";
|
|
4
3
|
export interface ComputePositionOptions {
|
|
@@ -69,4 +68,15 @@ export interface AnchorPositionOptions {
|
|
|
69
68
|
*
|
|
70
69
|
* SSR-safe: does nothing when `window` is unavailable.
|
|
71
70
|
*/
|
|
72
|
-
|
|
71
|
+
/**
|
|
72
|
+
* Structural stand-in for the framework's action type. This module is a shared
|
|
73
|
+
* core (identical bytes in every framework package, gated by shared-cores.json at
|
|
74
|
+
* the repo root), so it must not import framework types; the shape below is what
|
|
75
|
+
* every framework's action/attach contract expects.
|
|
76
|
+
*/
|
|
77
|
+
type AnchorPositionAction = (node: HTMLElement, opts: AnchorPositionOptions) => {
|
|
78
|
+
update?: (opts: AnchorPositionOptions) => void;
|
|
79
|
+
destroy?: () => void;
|
|
80
|
+
} | void;
|
|
81
|
+
export declare const anchorPosition: AnchorPositionAction;
|
|
82
|
+
export {};
|
|
@@ -125,14 +125,6 @@ export function computePosition(anchor, floating, opts = {}) {
|
|
|
125
125
|
align: resolveAlign(resolvedSide, anchor, floating, clampedX, clampedY, align),
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
/**
|
|
129
|
-
* Svelte action that positions `node` with `position: fixed` against a live
|
|
130
|
-
* anchor element, using `computePosition`. Recomputes on scroll and resize
|
|
131
|
-
* (passive, capturing listeners so nested scroll containers are caught too)
|
|
132
|
-
* and cleans up its listeners on destroy.
|
|
133
|
-
*
|
|
134
|
-
* SSR-safe: does nothing when `window` is unavailable.
|
|
135
|
-
*/
|
|
136
128
|
export const anchorPosition = (node, opts) => {
|
|
137
129
|
if (typeof window === "undefined") {
|
|
138
130
|
return {};
|
|
@@ -144,13 +136,36 @@ export const anchorPosition = (node, opts) => {
|
|
|
144
136
|
// placement always fire.
|
|
145
137
|
let reportedSide = null;
|
|
146
138
|
let reportedAlign = null;
|
|
139
|
+
/**
|
|
140
|
+
* The floating element's size as LAID OUT, never as PAINTED.
|
|
141
|
+
*
|
|
142
|
+
* `getBoundingClientRect()` reports the box AFTER transforms, and every
|
|
143
|
+
* anchored surface in this package is mid-entrance the first time this
|
|
144
|
+
* runs: the presence transition pins `transform: scale(0.92)` on the
|
|
145
|
+
* panel before this action's `update()` first fires. Measuring the
|
|
146
|
+
* painted box would size the panel 8% small, place it that much off its
|
|
147
|
+
* anchor, and leave it there — the entrance settles and nothing
|
|
148
|
+
* recomputes.
|
|
149
|
+
*
|
|
150
|
+
* `offsetWidth`/`offsetHeight` are layout metrics: a transform does not
|
|
151
|
+
* touch them. Zero means there is no layout box to read — a detached
|
|
152
|
+
* node, a `display: none` ancestor, or jsdom, where every element
|
|
153
|
+
* measures zero — so the rect answers for that case, and the two agree
|
|
154
|
+
* everywhere else.
|
|
155
|
+
*/
|
|
156
|
+
function measureFloating() {
|
|
157
|
+
const rect = node.getBoundingClientRect();
|
|
158
|
+
return {
|
|
159
|
+
width: node.offsetWidth || rect.width,
|
|
160
|
+
height: node.offsetHeight || rect.height,
|
|
161
|
+
};
|
|
162
|
+
}
|
|
147
163
|
function update() {
|
|
148
164
|
const anchorEl = options.anchor();
|
|
149
165
|
if (!anchorEl)
|
|
150
166
|
return;
|
|
151
167
|
const anchorRect = anchorEl.getBoundingClientRect();
|
|
152
|
-
const
|
|
153
|
-
const { x, y, side, align } = computePosition(anchorRect, { width: floatingRect.width, height: floatingRect.height }, {
|
|
168
|
+
const { x, y, side, align } = computePosition(anchorRect, measureFloating(), {
|
|
154
169
|
side: options.side,
|
|
155
170
|
align: options.align,
|
|
156
171
|
offset: options.offset,
|
|
@@ -188,6 +203,16 @@ export const anchorPosition = (node, opts) => {
|
|
|
188
203
|
destroy() {
|
|
189
204
|
window.removeEventListener("scroll", update, { capture: true });
|
|
190
205
|
window.removeEventListener("resize", update);
|
|
206
|
+
// Strips the inline position this action wrote. Unobservable in
|
|
207
|
+
// the common case, where destroy runs only as the node itself is
|
|
208
|
+
// removed, but this action is public and a caller that reuses the
|
|
209
|
+
// node past `destroy()` (or a future non-destroying disable path)
|
|
210
|
+
// should not find it frozen at stale fixed coordinates. Matches
|
|
211
|
+
// `attachAnchorPosition`'s `reset()` and the sibling `float`
|
|
212
|
+
// action, which already promises to strip the node's own styles.
|
|
213
|
+
node.style.position = "";
|
|
214
|
+
node.style.left = "";
|
|
215
|
+
node.style.top = "";
|
|
191
216
|
},
|
|
192
217
|
};
|
|
193
218
|
};
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* every scroll event. There is no programmatic-scroll flag to get out of sync:
|
|
9
9
|
* whatever the scrollbar says is the truth.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
/** Structural stand-in for Svelte's `ActionReturn`, framework-free. */
|
|
12
|
+
interface ActionReturn<Params> {
|
|
13
|
+
update?: (params: Params) => void;
|
|
14
|
+
destroy?: () => void;
|
|
15
|
+
}
|
|
12
16
|
export interface AutoscrollOptions {
|
|
13
17
|
/** Set to false to release the container and disconnect every listener. */
|
|
14
18
|
enabled?: boolean;
|
|
@@ -28,3 +32,4 @@ export interface AutoscrollOptions {
|
|
|
28
32
|
/** Jump a container to its bottom. Smooth by default. */
|
|
29
33
|
export declare function scrollToBottom(node: HTMLElement, behavior?: ScrollBehavior): void;
|
|
30
34
|
export declare function autoscroll(node: HTMLElement, opts?: AutoscrollOptions): ActionReturn<AutoscrollOptions>;
|
|
35
|
+
export {};
|
|
@@ -30,11 +30,13 @@ function gitHeaderPaths(line) {
|
|
|
30
30
|
const rest = line.slice(GIT_HEADER.length);
|
|
31
31
|
// Greedy on purpose: a path may itself contain " b/".
|
|
32
32
|
const paired = /^a\/(.*) b\/(.*)$/.exec(rest);
|
|
33
|
+
// Both groups exist whenever the pattern matched at all.
|
|
33
34
|
if (paired)
|
|
34
35
|
return [cleanPath(paired[1], false), cleanPath(paired[2], false)];
|
|
35
36
|
const parts = rest.split(" ");
|
|
36
37
|
if (parts.length < 2)
|
|
37
38
|
return [null, null];
|
|
39
|
+
// `parts[0]` exists: the length check on the line above passed.
|
|
38
40
|
return [cleanPath(parts[0], true), cleanPath(parts.slice(1).join(" "), true)];
|
|
39
41
|
}
|
|
40
42
|
function openFile(state) {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
type DismissableAction<P> = (node: HTMLElement, params: P) => {
|
|
2
|
+
update?(params: P): void;
|
|
3
|
+
destroy?(): void;
|
|
4
|
+
} | void;
|
|
2
5
|
export interface DismissableOptions {
|
|
3
6
|
/** Called when the node should be dismissed. */
|
|
4
7
|
onDismiss: () => void;
|
|
@@ -25,4 +28,7 @@ export interface DismissableOptions {
|
|
|
25
28
|
*/
|
|
26
29
|
active?: () => boolean;
|
|
27
30
|
}
|
|
28
|
-
export declare const dismissable:
|
|
31
|
+
export declare const dismissable: DismissableAction<DismissableOptions>;
|
|
32
|
+
/** Test-only. Not exported from index.ts. */
|
|
33
|
+
export declare function __dismissableLayerCount(): number;
|
|
34
|
+
export {};
|
|
@@ -20,8 +20,10 @@ export const dismissable = (node, opts) => {
|
|
|
20
20
|
// the top is the one that owns the interaction.
|
|
21
21
|
function isTopLayer() {
|
|
22
22
|
for (let i = layers.length - 1; i >= 0; i -= 1) {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
// In range by the loop bounds; spelled out for index-access strictness.
|
|
24
|
+
const candidate = layers[i];
|
|
25
|
+
if (candidate.isActive())
|
|
26
|
+
return candidate.node === node;
|
|
25
27
|
}
|
|
26
28
|
return false;
|
|
27
29
|
}
|
|
@@ -78,3 +80,7 @@ export const dismissable = (node, opts) => {
|
|
|
78
80
|
},
|
|
79
81
|
};
|
|
80
82
|
};
|
|
83
|
+
/** Test-only. Not exported from index.ts. */
|
|
84
|
+
export function __dismissableLayerCount() {
|
|
85
|
+
return layers.length;
|
|
86
|
+
}
|
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
* (menu, popover, completion list) to an anchor. The anchor can be a real
|
|
6
6
|
* element or a virtual rect, which is how a caret-following menu is placed.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
interface FloatActionReturn {
|
|
9
|
+
update?(options: FloatOptions): void;
|
|
10
|
+
destroy?(): void;
|
|
11
|
+
}
|
|
9
12
|
export type FloatPlacement = "top" | "bottom" | "top-start" | "bottom-start" | "top-end" | "bottom-end";
|
|
10
13
|
export interface FloatRect {
|
|
11
14
|
x: number;
|
|
@@ -43,4 +46,5 @@ export declare function computeFloatPosition(anchor: FloatRect, float: FloatSize
|
|
|
43
46
|
left: number;
|
|
44
47
|
placement: FloatPlacement;
|
|
45
48
|
};
|
|
46
|
-
export declare function float(node: HTMLElement, opts: FloatOptions):
|
|
49
|
+
export declare function float(node: HTMLElement, opts: FloatOptions): FloatActionReturn;
|
|
50
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Action } from "svelte/action";
|
|
2
1
|
export interface FocusTrapOptions {
|
|
3
2
|
/** Element to focus when the trap activates. Defaults to the first focusable descendant of node. */
|
|
4
3
|
initialFocus?: HTMLElement | null;
|
|
@@ -51,4 +50,15 @@ export interface FocusTrapOptions {
|
|
|
51
50
|
*/
|
|
52
51
|
onActivate?: (returnFocusNow: () => void, rearm: () => void) => void;
|
|
53
52
|
}
|
|
54
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Structural stand-in for the framework's action type. This module is a shared
|
|
55
|
+
* core (identical bytes in every framework package, gated by shared-cores.json at
|
|
56
|
+
* the repo root), so it must not import framework types; the shape below is what
|
|
57
|
+
* every framework's action/attach contract expects.
|
|
58
|
+
*/
|
|
59
|
+
type FocusTrapAction = (node: HTMLElement, opts?: FocusTrapOptions) => {
|
|
60
|
+
update?: (opts: FocusTrapOptions) => void;
|
|
61
|
+
destroy?: () => void;
|
|
62
|
+
} | void;
|
|
63
|
+
export declare const focusTrap: FocusTrapAction;
|
|
64
|
+
export {};
|
|
@@ -27,21 +27,42 @@
|
|
|
27
27
|
// regardless of how the framework schedules effects across a parent/child
|
|
28
28
|
// pair, which is what actually avoids this. `dialog/DialogSurface.svelte`
|
|
29
29
|
// is the reference example.
|
|
30
|
+
// Every branch carries the `tabindex="-1"` exclusion, not just the generic
|
|
31
|
+
// `[tabindex]` one: a native control removed from the tab order is skipped by
|
|
32
|
+
// the browser's own Tab, so counting it as the first/last tabbable item lets
|
|
33
|
+
// Tab from its neighbour go uncaught and walk straight out of the trap.
|
|
30
34
|
const FOCUSABLE_SELECTOR = [
|
|
31
35
|
"button:not([disabled])",
|
|
32
36
|
"[href]:not([disabled])",
|
|
33
37
|
"input:not([disabled])",
|
|
34
38
|
"select:not([disabled])",
|
|
35
39
|
"textarea:not([disabled])",
|
|
36
|
-
|
|
37
|
-
]
|
|
40
|
+
"[tabindex]:not([disabled])",
|
|
41
|
+
]
|
|
42
|
+
.map((selector) => `${selector}:not([tabindex="-1"])`)
|
|
43
|
+
.join(", ");
|
|
38
44
|
function isVisible(el) {
|
|
39
45
|
// offsetParent/getClientRects are unusable under jsdom, so rely on the
|
|
40
46
|
// hidden attribute and computed styles, which jsdom does implement.
|
|
41
47
|
if (el.hidden || el.closest("[hidden]") !== null)
|
|
42
48
|
return false;
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
// `visibility` INHERITS, so the element's own computed value already
|
|
50
|
+
// accounts for a hidden ancestor — and, just as importantly, for a
|
|
51
|
+
// descendant that opts back in with `visibility: visible`, which really is
|
|
52
|
+
// focusable and must not be filtered out.
|
|
53
|
+
if (getComputedStyle(el).visibility === "hidden")
|
|
54
|
+
return false;
|
|
55
|
+
// `display` does NOT inherit: a control inside a `display: none` ancestor
|
|
56
|
+
// still computes its own `display` as `block`/`inline` and looks perfectly
|
|
57
|
+
// visible in isolation, while the whole subtree is absent from the layout
|
|
58
|
+
// tree and `.focus()` on it is a silent no-op. Treating it as focusable
|
|
59
|
+
// let the trap "focus" a control that never took focus — leaving focus
|
|
60
|
+
// outside the modal, which is the one thing this action exists to prevent.
|
|
61
|
+
for (let node = el; node; node = node.parentElement) {
|
|
62
|
+
if (getComputedStyle(node).display === "none")
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return true;
|
|
45
66
|
}
|
|
46
67
|
function getFocusableElements(node) {
|
|
47
68
|
return Array.from(node.querySelectorAll(FOCUSABLE_SELECTOR)).filter(isVisible);
|
|
@@ -165,6 +186,9 @@ export const focusTrap = (node, opts = {}) => {
|
|
|
165
186
|
}
|
|
166
187
|
const first = focusable[0];
|
|
167
188
|
const last = focusable[focusable.length - 1];
|
|
189
|
+
// The length check above guarantees both; spelled out for index-access strictness.
|
|
190
|
+
if (!first || !last)
|
|
191
|
+
return;
|
|
168
192
|
const active = document.activeElement;
|
|
169
193
|
if (event.shiftKey) {
|
|
170
194
|
if (active === first || !node.contains(active)) {
|
|
@@ -36,7 +36,8 @@ export function hostOf(url) {
|
|
|
36
36
|
if (!match)
|
|
37
37
|
return "";
|
|
38
38
|
// Whatever is left has to look like a host, or we are just echoing the
|
|
39
|
-
// path of a relative link back at the reader.
|
|
39
|
+
// path of a relative link back at the reader. Group 1 exists: `match`
|
|
40
|
+
// was checked truthy on the line above and the pattern has one group.
|
|
40
41
|
const host = match[1].split("@").pop();
|
|
41
42
|
return host.includes(".") ? stripWww(host) : "";
|
|
42
43
|
}
|
|
@@ -77,8 +77,24 @@ export function createListbox(options) {
|
|
|
77
77
|
// `setActive(index)` call carries no implied direction to hunt a
|
|
78
78
|
// substitute in, so the safe answer is to do nothing rather than
|
|
79
79
|
// guess one.
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
//
|
|
81
|
+
// Bounds come first, before `enabled` is consulted at all: an index
|
|
82
|
+
// outside `0..count()-1` names no option, so there is nothing for a
|
|
83
|
+
// caller-supplied `enabled(index)` to answer about — it would be asked
|
|
84
|
+
// about a row that does not exist, and a permissive predicate (the
|
|
85
|
+
// default `?? true`) would wave it straight through to
|
|
86
|
+
// `commitActive`. Publishing it puts an option id with no matching
|
|
87
|
+
// row in `aria-activedescendant`, which a screen reader reads as a
|
|
88
|
+
// dangling reference. `move`, `moveToEdge` and `typeahead` are all
|
|
89
|
+
// bounded by `count()` already; `setActive` is the one way in that
|
|
90
|
+
// takes an index from outside the module.
|
|
91
|
+
if (index !== -1) {
|
|
92
|
+
const count = options.count();
|
|
93
|
+
if (index < 0 || index >= count)
|
|
94
|
+
return;
|
|
95
|
+
if (!isEnabled(index))
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
82
98
|
commitActive(index);
|
|
83
99
|
}
|
|
84
100
|
function move(delta) {
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
*
|
|
13
13
|
* Every entry point is total: it returns a value for any input, including
|
|
14
14
|
* half-written markdown from a stream.
|
|
15
|
+
*
|
|
16
|
+
* The non-null assertions below are all of one kind: an index read inside a
|
|
17
|
+
* loop already bounded by `i < lines.length` / `i < src.length`, or a capture
|
|
18
|
+
* group of a regex whose match was checked truthy on the line above. Every
|
|
19
|
+
* invariant is visible next to the assertion that relies on it.
|
|
15
20
|
*/
|
|
16
21
|
export type InlineToken = {
|
|
17
22
|
type: "text";
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
*
|
|
13
13
|
* Every entry point is total: it returns a value for any input, including
|
|
14
14
|
* half-written markdown from a stream.
|
|
15
|
+
*
|
|
16
|
+
* The non-null assertions below are all of one kind: an index read inside a
|
|
17
|
+
* loop already bounded by `i < lines.length` / `i < src.length`, or a capture
|
|
18
|
+
* group of a regex whose match was checked truthy on the line above. Every
|
|
19
|
+
* invariant is visible next to the assertion that relies on it.
|
|
15
20
|
*/
|
|
16
21
|
const ALLOWED_SCHEMES = new Set(["http", "https", "mailto"]);
|
|
17
22
|
const ESCAPABLE = "\\`*_{}[]()#+-.!>~|";
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
* SSR: nothing here touches `window` at module scope. `prefersReducedMotion()`
|
|
32
32
|
* does, but a transition function's body only ever runs in the browser.
|
|
33
33
|
*/
|
|
34
|
-
import type { TransitionConfig } from "svelte/transition";
|
|
35
34
|
import type { Side, Align } from "../anchor-position.js";
|
|
36
35
|
/** Params for `anchored`. Every field is optional; the defaults ARE the
|
|
37
36
|
* anchored rung, so `in:anchored={{ side: resolvedSide }}` is the whole
|
|
@@ -75,6 +74,15 @@ export interface AnchoredParams {
|
|
|
75
74
|
*/
|
|
76
75
|
export declare function prefersReducedMotion(): boolean;
|
|
77
76
|
export declare function originFor(side: Side, align?: Align): string;
|
|
77
|
+
/** Structural stand-in for `svelte/transition`'s `TransitionConfig`, so this
|
|
78
|
+
* file has no framework import. Shape-compatible with the real type. */
|
|
79
|
+
export interface TransitionConfig {
|
|
80
|
+
delay?: number;
|
|
81
|
+
duration?: number;
|
|
82
|
+
easing?: (t: number) => number;
|
|
83
|
+
css?: (t: number, u: number) => string;
|
|
84
|
+
tick?: (t: number, u: number) => void;
|
|
85
|
+
}
|
|
78
86
|
/**
|
|
79
87
|
* A css-only, direction-aware Svelte transition for an anchored floating
|
|
80
88
|
* surface. Entrance: `JS_EASINGS.out` over `DURATIONS.fast`, growing from
|
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
* this is the single, parameterized version those four independently
|
|
9
9
|
* reinvented, written once for the ten components that need it here.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
/** Structural stand-in for `svelte/action`'s `Action` type, kept
|
|
12
|
+
* framework-free so this core has no runtime or type import from svelte. */
|
|
13
|
+
type ActionLike<Node extends Element, Params> = (node: Node, params: Params) => {
|
|
14
|
+
update?(params: Params): void;
|
|
15
|
+
destroy?(): void;
|
|
16
|
+
} | void;
|
|
12
17
|
export interface InViewOptions {
|
|
13
18
|
/** Disconnect after the first time the node becomes visible. Default true. */
|
|
14
19
|
once?: boolean;
|
|
@@ -21,4 +26,5 @@ export interface InViewOptions {
|
|
|
21
26
|
/** Called with the current intersecting state on every observer callback. */
|
|
22
27
|
onChange: (inView: boolean, entry?: IntersectionObserverEntry) => void;
|
|
23
28
|
}
|
|
24
|
-
export declare const inView:
|
|
29
|
+
export declare const inView: ActionLike<Element, InViewOptions>;
|
|
30
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The single source of preset GEOMETRY for the motion family — what moves,
|
|
3
3
|
* and how far, for each named look. Two consumers read this table for two
|
|
4
|
-
* different purposes: Reveal's CSS (hand-written
|
|
4
|
+
* different purposes: Reveal's CSS (hand-written rules keyed on
|
|
5
5
|
* `data-preset`, built to match this table by hand) and `transitions.ts`'s
|
|
6
|
-
* `preset()` (which reads this table directly at runtime to build a
|
|
7
|
-
* `
|
|
6
|
+
* `preset()` (which reads this table directly at runtime to build a
|
|
7
|
+
* `TransitionSpec`). Keeping the numbers in exactly one place is the
|
|
8
8
|
* whole point of this file existing separately from `transitions.ts` — a
|
|
9
9
|
* geometry change here is the one edit that keeps both in sync in theory,
|
|
10
|
-
* even though Reveal's CSS side still has to be updated by hand (this
|
|
11
|
-
* ships no shared runtime stylesheet; see `tokens.ts`'s
|
|
12
|
-
* the same caveat applied to durations/easings).
|
|
10
|
+
* even though Reveal's CSS side still has to be updated by hand (this
|
|
11
|
+
* package ships no shared runtime stylesheet for motion; see `tokens.ts`'s
|
|
12
|
+
* header comment for the same caveat applied to durations/easings).
|
|
13
13
|
*/
|
|
14
14
|
export type PresetName = "fade" | "fade-up" | "fade-down" | "fade-left" | "fade-right" | "scale" | "blur" | "zoom";
|
|
15
15
|
/** Reveal never offers `blur`/`zoom` — a per-child `filter` is expensive
|