@yewdiel21/motion-kit 0.9.0 → 0.10.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/NOTICE +3 -35
- package/README.md +93 -81
- package/dist/auto/index.d.ts +22 -3
- package/dist/auto/index.js +43 -5
- package/dist/auto/index.js.map +1 -1
- package/dist/{chunk-KLY5BRRI.js → chunk-34EZ7DF4.js} +1 -1
- package/dist/chunk-34EZ7DF4.js.map +1 -0
- package/dist/{chunk-RFDIZYFX.js → chunk-DOOMULVV.js} +20 -20
- package/dist/chunk-DOOMULVV.js.map +1 -0
- package/dist/{chunk-ABNRDDO7.js → chunk-I3DXF2KQ.js} +2 -2
- package/dist/{chunk-Q4LVFNLN.js → chunk-IKQ5FODN.js} +4 -4
- package/dist/chunk-IKQ5FODN.js.map +1 -0
- package/dist/{chunk-2BQGFOA7.js → chunk-J6OCFNGU.js} +2 -2
- package/dist/chunk-J6OCFNGU.js.map +1 -0
- package/dist/{chunk-6OJAP6ZL.js → chunk-QFBOHPWZ.js} +3 -3
- package/dist/chunk-QFBOHPWZ.js.map +1 -0
- package/dist/{chunk-J27KH2A2.js → chunk-RVSKEBIC.js} +1 -1
- package/dist/chunk-RVSKEBIC.js.map +1 -0
- package/dist/{chunk-34XYOXHG.js → chunk-TFNRIZHU.js} +1615 -12
- package/dist/chunk-TFNRIZHU.js.map +1 -0
- package/dist/{chunk-FS2HJVVY.js → chunk-XAKC2QY7.js} +1204 -5
- package/dist/chunk-XAKC2QY7.js.map +1 -0
- package/dist/css/components/calendar.css +159 -0
- package/dist/css/components/chat-background.css +2 -2
- package/dist/css/components/chat.css +1 -1
- package/dist/css/components/cursor.css +3 -3
- package/dist/css/components/dialog.css +3 -3
- package/dist/css/components/hover-card.css +14 -0
- package/dist/css/components/input-otp.css +10 -0
- package/dist/css/components/island.css +1 -1
- package/dist/css/components/menu.css +1 -1
- package/dist/css/components/nav.css +1 -5
- package/dist/css/components/pagination.css +11 -0
- package/dist/css/components/quantity.css +16 -0
- package/dist/css/components/slot-picker.css +126 -0
- package/dist/css/components/steps.css +2 -2
- package/dist/css/components/studio-dock.css +35 -0
- package/dist/css/components/theme-picker.css +1 -1
- package/dist/css/components/toast.css +1 -1
- package/dist/css/components/trailer.css +37 -0
- package/dist/css/controls.css +78 -13
- package/dist/css/effects.css +8 -8
- package/dist/css/fonts.css +1 -1
- package/dist/css/themes/black-green.css +1 -1
- package/dist/css/themes/black.css +1 -1
- package/dist/css/themes/blue.css +1 -1
- package/dist/css/themes/brown.css +1 -1
- package/dist/css/themes/cold-blue.css +1 -1
- package/dist/css/themes/funny.css +1 -1
- package/dist/css/themes/gray.css +1 -1
- package/dist/css/themes/green.css +1 -1
- package/dist/css/themes/modern-1.css +1 -1
- package/dist/css/themes/neogreen.css +1 -1
- package/dist/css/themes/new.css +1 -1
- package/dist/css/themes/new2.css +1 -1
- package/dist/css/themes/oled.css +1 -1
- package/dist/css/themes/orange.css +1 -1
- package/dist/css/themes/pastel-pink.css +1 -1
- package/dist/css/themes/pink.css +1 -1
- package/dist/css/themes/purple.css +1 -1
- package/dist/css/themes/red.css +1 -1
- package/dist/css/themes/super-blue.css +1 -1
- package/dist/css/themes.css +19 -19
- package/dist/css/tokens.css +9 -9
- package/dist/elements/index.d.ts +75 -7
- package/dist/elements/index.js +172 -6
- package/dist/elements/index.js.map +1 -1
- package/dist/{engine-CUr9QijM.d.ts → engine-GDGwQnJE.d.ts} +2 -2
- package/dist/gl/index.js +3 -3
- package/dist/index.css +1076 -63
- package/dist/index.d.ts +17 -17
- package/dist/index.js +49 -7
- package/dist/index.js.map +1 -1
- package/dist/react/index.d.ts +139 -40
- package/dist/react/index.js +355 -8
- package/dist/react/index.js.map +1 -1
- package/dist/{reduced-BM4Ls0g5.d.ts → reduced-BmBzKH94.d.ts} +215 -18
- package/dist/{reveal-WFUWDrei.d.ts → reveal-jsX-uwUz.d.ts} +233 -24
- package/dist/{store-Bqy_obnD.d.ts → store-DYb3tTsZ.d.ts} +5 -5
- package/dist/theme/generate.d.ts +1 -1
- package/dist/theme/generate.js +2 -2
- package/dist/theme/generate.js.map +1 -1
- package/dist/theme/index.d.ts +2 -2
- package/dist/theme/index.js +2 -2
- package/dist/{theme-BFMoCzi6.d.ts → theme-Bjf9qIIy.d.ts} +1 -1
- package/package.json +2 -2
- package/registry.json +230 -156
- package/skills/motion-kit/SKILL.md +209 -189
- package/skills/motion-kit/reference/components.md +5 -5
- package/skills/motion-kit/reference/design.md +14 -14
- package/skills/motion-kit/reference/recipes.md +48 -49
- package/src/auto/auto-init.ts +38 -0
- package/src/components/calendar/README.md +82 -0
- package/src/components/calendar/calendar.css +158 -0
- package/src/components/calendar/element.ts +27 -0
- package/src/components/calendar/engine.ts +412 -0
- package/src/components/calendar/react.tsx +69 -0
- package/src/components/chat/README.md +1 -3
- package/src/components/chat/chat.css +1 -1
- package/src/components/chat/engine.ts +1 -1
- package/src/components/chat/react.tsx +1 -1
- package/src/components/chat-background/README.md +1 -3
- package/src/components/chat-background/audio.ts +1 -1
- package/src/components/chat-background/chat-background.css +2 -2
- package/src/components/chat-background/engine.ts +1 -1
- package/src/components/chat-background/react.tsx +1 -1
- package/src/components/cursor/README.md +3 -5
- package/src/components/cursor/cursor.css +3 -3
- package/src/components/cursor/element.ts +2 -2
- package/src/components/cursor/engine.ts +5 -5
- package/src/components/cursor/react.tsx +1 -1
- package/src/components/dialog/README.md +4 -8
- package/src/components/dialog/dialog.css +3 -3
- package/src/components/dialog/engine.ts +2 -2
- package/src/components/dialog/react.tsx +1 -1
- package/src/components/hover-card/README.md +16 -0
- package/src/components/hover-card/element.ts +8 -0
- package/src/components/hover-card/engine.ts +69 -0
- package/src/components/hover-card/hover-card.css +13 -0
- package/src/components/hover-card/react.tsx +19 -0
- package/src/components/input-otp/README.md +18 -0
- package/src/components/input-otp/element.ts +14 -0
- package/src/components/input-otp/engine.ts +106 -0
- package/src/components/input-otp/input-otp.css +9 -0
- package/src/components/input-otp/react.tsx +21 -0
- package/src/components/island/README.md +7 -7
- package/src/components/island/engine.ts +3 -3
- package/src/components/island/island.css +1 -1
- package/src/components/island/react.tsx +3 -3
- package/src/components/menu/README.md +2 -4
- package/src/components/menu/engine.ts +1 -1
- package/src/components/menu/menu.css +1 -1
- package/src/components/menu/react.tsx +1 -1
- package/src/components/nav/README.md +12 -14
- package/src/components/nav/engine.ts +5 -5
- package/src/components/nav/nav.css +1 -5
- package/src/components/nav/react.tsx +3 -3
- package/src/components/pagination/README.md +17 -0
- package/src/components/pagination/element.ts +14 -0
- package/src/components/pagination/engine.ts +102 -0
- package/src/components/pagination/pagination.css +10 -0
- package/src/components/pagination/react.tsx +22 -0
- package/src/components/quantity/README.md +20 -0
- package/src/components/quantity/element.ts +14 -0
- package/src/components/quantity/engine.ts +85 -0
- package/src/components/quantity/quantity.css +15 -0
- package/src/components/quantity/react.tsx +21 -0
- package/src/components/slot-picker/README.md +68 -0
- package/src/components/slot-picker/element.ts +27 -0
- package/src/components/slot-picker/engine.ts +412 -0
- package/src/components/slot-picker/react.tsx +76 -0
- package/src/components/slot-picker/slot-picker.css +125 -0
- package/src/components/steps/README.md +1 -3
- package/src/components/steps/engine.ts +3 -3
- package/src/components/steps/react.tsx +2 -2
- package/src/components/steps/steps.css +2 -2
- package/src/components/studio-dock/README.md +44 -0
- package/src/components/studio-dock/element.ts +11 -0
- package/src/components/studio-dock/engine.ts +212 -0
- package/src/components/studio-dock/react.tsx +23 -0
- package/src/components/studio-dock/studio-dock.css +34 -0
- package/src/components/theme-picker/README.md +3 -5
- package/src/components/theme-picker/engine.ts +2 -2
- package/src/components/theme-picker/react.tsx +1 -1
- package/src/components/theme-picker/theme-picker.css +1 -1
- package/src/components/toast/README.md +1 -3
- package/src/components/toast/engine.ts +2 -2
- package/src/components/toast/react.tsx +1 -1
- package/src/components/toast/store.ts +1 -2
- package/src/components/toast/toast.css +1 -1
- package/src/components/trailer/README.md +28 -0
- package/src/components/trailer/element.ts +13 -0
- package/src/components/trailer/engine.ts +189 -0
- package/src/components/trailer/react.tsx +16 -0
- package/src/components/trailer/trailer.css +36 -0
- package/src/core/channels.ts +3 -3
- package/src/core/curves.ts +3 -3
- package/src/core/dates.ts +98 -0
- package/src/core/gsap.ts +2 -2
- package/src/core/loop.ts +1 -1
- package/src/core/math.ts +1 -1
- package/src/core/physics-spring.ts +2 -2
- package/src/core/scroll-track.ts +2 -4
- package/src/core/spring.ts +1 -1
- package/src/core/timing.ts +21 -22
- package/src/css/controls/README.md +24 -20
- package/src/css/controls/burger.css +1 -1
- package/src/css/controls/button.css +4 -4
- package/src/css/controls/checkbox.css +1 -1
- package/src/css/controls/chip.css +1 -1
- package/src/css/controls/field.css +2 -2
- package/src/css/controls/glass.css +4 -4
- package/src/css/controls/status.css +63 -0
- package/src/css/default-theme.css +1 -1
- package/src/css/effects/README.md +19 -21
- package/src/css/effects/anim.css +1 -1
- package/src/css/effects/fade.css +1 -1
- package/src/css/effects/float.css +1 -1
- package/src/css/effects/frost.css +1 -1
- package/src/css/effects/grain.css +1 -1
- package/src/css/effects/loading.css +1 -1
- package/src/css/effects/success.css +1 -1
- package/src/css/effects/text.css +1 -1
- package/src/css/fonts.css +1 -1
- package/src/css/states.css +1 -1
- package/src/css/themes/black-green.css +1 -1
- package/src/css/themes/black.css +1 -1
- package/src/css/themes/blue.css +1 -1
- package/src/css/themes/brown.css +1 -1
- package/src/css/themes/cold-blue.css +1 -1
- package/src/css/themes/funny.css +1 -1
- package/src/css/themes/gray.css +1 -1
- package/src/css/themes/green.css +1 -1
- package/src/css/themes/modern-1.css +1 -1
- package/src/css/themes/neogreen.css +1 -1
- package/src/css/themes/new.css +1 -1
- package/src/css/themes/new2.css +1 -1
- package/src/css/themes/oled.css +1 -1
- package/src/css/themes/orange.css +1 -1
- package/src/css/themes/pastel-pink.css +1 -1
- package/src/css/themes/pink.css +1 -1
- package/src/css/themes/purple.css +1 -1
- package/src/css/themes/red.css +1 -1
- package/src/css/themes/super-blue.css +1 -1
- package/src/css/tokens.css +8 -8
- package/src/elements/index.ts +24 -0
- package/src/gl/liquid-blend/README.md +3 -3
- package/src/gl/matcap/README.md +3 -3
- package/src/gl/particle-hero/README.md +1 -1
- package/src/gl/particle-hero/create-particle-hero.ts +3 -5
- package/src/gl/particle-hero/shaders.ts +1 -1
- package/src/gl/shader-blur/README.md +3 -3
- package/src/gl/shader-grain/README.md +3 -3
- package/src/index.ts +25 -0
- package/src/motion/chat.ts +2 -2
- package/src/motion/confetti.ts +1 -1
- package/src/motion/count.ts +1 -1
- package/src/motion/details.ts +1 -1
- package/src/motion/drag-dismiss.ts +1 -1
- package/src/motion/effects.ts +1 -1
- package/src/motion/entrances.ts +1 -1
- package/src/motion/floating.ts +1 -1
- package/src/motion/flow.ts +2 -2
- package/src/motion/indicator.ts +1 -1
- package/src/motion/layout.ts +1 -1
- package/src/motion/liquid.ts +1 -1
- package/src/motion/morph.ts +2 -2
- package/src/motion/reveal.ts +1 -1
- package/src/motion/sheet.ts +1 -1
- package/src/motion/surface.ts +1 -1
- package/src/react/animated-number.tsx +2 -2
- package/src/react/flip-group.tsx +1 -1
- package/src/react/frost.tsx +1 -1
- package/src/react/index.ts +21 -0
- package/src/react/slot-text.tsx +1 -1
- package/src/react/use-action-button.ts +6 -0
- package/src/react/use-card-dock.ts +1 -1
- package/src/react/use-cascade.ts +1 -1
- package/src/react/use-contrast.ts +1 -1
- package/src/react/use-depth-grid.ts +1 -1
- package/src/react/use-editorial-reveal.ts +7 -0
- package/src/react/use-fill-text.ts +1 -1
- package/src/react/use-film-hero.ts +6 -0
- package/src/react/use-font-cycle.ts +7 -0
- package/src/react/use-frame-zoom.ts +1 -1
- package/src/react/use-image-zoom.ts +5 -0
- package/src/react/use-joined-cta.ts +5 -0
- package/src/react/use-letters.ts +1 -1
- package/src/react/use-local-clock.ts +5 -0
- package/src/react/use-marquee.ts +1 -1
- package/src/react/use-mask-text.ts +1 -1
- package/src/react/use-parallax.ts +1 -1
- package/src/react/use-particle-hero.ts +1 -1
- package/src/react/use-scroll-dock.ts +5 -0
- package/src/react/use-snap-strip.ts +1 -1
- package/src/react/use-sticker.ts +5 -0
- package/src/react/use-studio-dock.ts +8 -0
- package/src/react/use-text-roll.ts +1 -1
- package/src/react/use-thumbnail-nav.ts +7 -0
- package/src/react/use-trailer.ts +6 -0
- package/src/react/use-weight-hover.ts +5 -0
- package/src/recipes/action-button/README.md +31 -0
- package/src/recipes/action-button/action-button.css +113 -0
- package/src/recipes/action-button/create-action-button.ts +56 -0
- package/src/recipes/card-dock/README.md +1 -1
- package/src/recipes/card-dock/card-dock.css +1 -1
- package/src/recipes/card-dock/create-card-dock.ts +2 -2
- package/src/recipes/cascade/README.md +1 -3
- package/src/recipes/cascade/create-cascade.ts +3 -3
- package/src/recipes/contrast/README.md +0 -2
- package/src/recipes/contrast/create-contrast.ts +1 -1
- package/src/recipes/counter/README.md +0 -2
- package/src/recipes/counter/create-counter.ts +1 -1
- package/src/recipes/curved-carousel/README.md +0 -2
- package/src/recipes/curved-carousel/create-curved-carousel.ts +2 -2
- package/src/recipes/curved-carousel/curved-carousel.css +1 -1
- package/src/recipes/depth-grid/README.md +0 -2
- package/src/recipes/depth-grid/create-depth-grid.ts +3 -4
- package/src/recipes/details/README.md +0 -2
- package/src/recipes/details/create-details.ts +1 -1
- package/src/recipes/dock-pill/README.md +3 -3
- package/src/recipes/drag-ruler/README.md +3 -3
- package/src/recipes/editorial-reveal/README.md +35 -0
- package/src/recipes/editorial-reveal/create-editorial-reveal.ts +91 -0
- package/src/recipes/editorial-reveal/editorial-reveal.css +17 -0
- package/src/recipes/fill-text/README.md +1 -1
- package/src/recipes/fill-text/create-fill-text.ts +1 -1
- package/src/recipes/film-hero/README.md +23 -0
- package/src/recipes/film-hero/create-film-hero.ts +65 -0
- package/src/recipes/film-hero/film-hero.css +29 -0
- package/src/recipes/fit-text/README.md +0 -2
- package/src/recipes/flow/README.md +0 -2
- package/src/recipes/flow/create-flow.ts +1 -1
- package/src/recipes/font-cycle/README.md +11 -0
- package/src/recipes/font-cycle/create-font-cycle.ts +126 -0
- package/src/recipes/font-cycle/font-cycle.css +36 -0
- package/src/recipes/frame-zoom/README.md +1 -3
- package/src/recipes/frame-zoom/create-frame-zoom.ts +2 -2
- package/src/recipes/image-zoom/README.md +16 -0
- package/src/recipes/image-zoom/create-image-zoom.ts +27 -0
- package/src/recipes/image-zoom/image-zoom.css +7 -0
- package/src/recipes/infinite-reel/README.md +3 -3
- package/src/recipes/joined-cta/README.md +13 -0
- package/src/recipes/joined-cta/create-joined-cta.ts +22 -0
- package/src/recipes/joined-cta/joined-cta.css +17 -0
- package/src/recipes/letters/README.md +2 -4
- package/src/recipes/letters/create-letters.ts +3 -3
- package/src/recipes/local-clock/README.md +31 -0
- package/src/recipes/local-clock/create-local-clock.ts +61 -0
- package/src/recipes/marquee/README.md +0 -2
- package/src/recipes/marquee/create-marquee.ts +3 -3
- package/src/recipes/marquee/marquee.css +1 -1
- package/src/recipes/mask-text/README.md +3 -5
- package/src/recipes/mask-text/create-mask-text.ts +4 -4
- package/src/recipes/parallax/README.md +1 -3
- package/src/recipes/parallax/create-parallax.ts +1 -1
- package/src/recipes/pile/README.md +0 -2
- package/src/recipes/pile/create-pile.ts +1 -1
- package/src/recipes/pile/pile-math.ts +1 -1
- package/src/recipes/pile/pile.css +1 -1
- package/src/recipes/pill/README.md +0 -2
- package/src/recipes/pill/pill.css +2 -2
- package/src/recipes/pop/README.md +0 -2
- package/src/recipes/pop/create-pop.ts +1 -1
- package/src/recipes/radial-menu/README.md +0 -2
- package/src/recipes/radial-menu/create-radial-menu.ts +1 -1
- package/src/recipes/radial-menu/radial-menu.css +1 -1
- package/src/recipes/reflow/README.md +3 -5
- package/src/recipes/reflow/create-reflow.ts +1 -1
- package/src/recipes/repel-bento/README.md +3 -3
- package/src/recipes/reveal/README.md +0 -2
- package/src/recipes/reveal/create-reveal.ts +1 -1
- package/src/recipes/rotator/README.md +3 -3
- package/src/recipes/scroll-dock/README.md +46 -0
- package/src/recipes/scroll-dock/create-scroll-dock.ts +72 -0
- package/src/recipes/scroll-dock/scroll-dock.css +70 -0
- package/src/recipes/slot-text/README.md +0 -2
- package/src/recipes/slot-text/create-slot-text.ts +1 -1
- package/src/recipes/snap-strip/README.md +1 -1
- package/src/recipes/snap-strip/create-snap-strip.ts +5 -6
- package/src/recipes/snap-strip/snap-strip.css +1 -1
- package/src/recipes/sortable/README.md +3 -5
- package/src/recipes/sortable/create-sortable.ts +4 -4
- package/src/recipes/sortable/sortable.css +1 -1
- package/src/recipes/spring-cards/README.md +0 -2
- package/src/recipes/spring-cards/create-spring-cards.ts +1 -1
- package/src/recipes/spring-cards/spring-cards.css +1 -1
- package/src/recipes/sticker/README.md +59 -0
- package/src/recipes/sticker/create-sticker.ts +490 -0
- package/src/recipes/sticker/sticker.css +112 -0
- package/src/recipes/stretch-footer/README.md +0 -2
- package/src/recipes/stretch-footer/create-stretch-footer.ts +1 -1
- package/src/recipes/stretch-footer/stretch-footer.css +1 -1
- package/src/recipes/tabs/README.md +0 -2
- package/src/recipes/tabs/create-tabs.ts +1 -1
- package/src/recipes/text-roll/README.md +1 -3
- package/src/recipes/text-roll/create-text-roll.ts +3 -3
- package/src/recipes/text-roll/text-roll.css +1 -1
- package/src/recipes/thumbnail-nav/README.md +16 -0
- package/src/recipes/thumbnail-nav/create-thumbnail-nav.ts +165 -0
- package/src/recipes/thumbnail-nav/thumbnail-nav.css +108 -0
- package/src/recipes/ticket-menu/README.md +3 -3
- package/src/recipes/weight-hover/README.md +37 -0
- package/src/recipes/weight-hover/create-weight-hover.ts +136 -0
- package/src/recipes/weight-hover/weight-hover.css +7 -0
- package/src/recipes/words/README.md +0 -2
- package/src/recipes/words/create-words.ts +1 -1
- package/src/theme/generate.ts +1 -1
- package/src/theme/presets.ts +2 -2
- package/src/theme/theme.ts +1 -2
- package/dist/chunk-2BQGFOA7.js.map +0 -1
- package/dist/chunk-34XYOXHG.js.map +0 -1
- package/dist/chunk-6OJAP6ZL.js.map +0 -1
- package/dist/chunk-FS2HJVVY.js.map +0 -1
- package/dist/chunk-J27KH2A2.js.map +0 -1
- package/dist/chunk-KLY5BRRI.js.map +0 -1
- package/dist/chunk-Q4LVFNLN.js.map +0 -1
- package/dist/chunk-RFDIZYFX.js.map +0 -1
- /package/dist/{chunk-ABNRDDO7.js.map → chunk-I3DXF2KQ.js.map} +0 -0
package/dist/react/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { useLayoutEffect, RefObject, DependencyList, ReactNode, CSSProperties, Component, ButtonHTMLAttributes, DialogHTMLAttributes, HTMLAttributes, MutableRefObject, ContextType, TextareaHTMLAttributes, MouseEvent } from 'react';
|
|
3
3
|
import { I as Instance } from '../types-BkS_raL8.js';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
6
|
-
import { M as MenuInstance,
|
|
4
|
+
import { b5 as SpringCardsOptions, a3 as CurvedCarouselOptions, C as CurvedCarouselInstance, aJ as PileOptions, bk as WordsOptions, bj as WordsInstance, ak as FlowOptions, aj as FlowInstance, aL as PopOptions, aK as PopInstance, ah as FitTextOptions, ag as FitTextInstance, ba as StretchFooterOptions, aN as RadialMenuOptions, aM as RadialMenuInstance, bc as TabsOptions, bb as TabsInstance, a2 as CounterOptions, a1 as CounterInstance, aU as RevealRecipeOptions, aT as RevealInstance, aP as ReflowOptions, aO as ReflowInstance, a_ as SlotTextOptions, aZ as SlotTextInstance, b3 as SortableOptions, b1 as SortableInstance, aE as MaskTextOptions, aD as MaskTextInstance, _ as CascadeOptions, Z as CascadeInstance, be as TextRollOptions, bd as TextRollInstance, ay as LettersOptions, ax as LettersInstance, aG as ParallaxOptions, aF as ParallaxInstance, a5 as DepthGridOptions, a4 as DepthGridInstance, aq as FrameZoomOptions, ap as FrameZoomInstance, a0 as ContrastOptions, $ as ContrastInstance, aC as MarqueeOptions, aB as MarqueeInstance, Y as CardDockOptions, X as CardDockInstance, b0 as SnapStripOptions, a$ as SnapStripInstance, ad as FillTextOptions, ac as FillTextInstance, T as TicketMenuOptions, au as InfiniteReelOptions, at as InfiniteReelInstance, aS as RepelBentoOptions, aR as RepelBentoInstance, aW as RotatorOptions, aV as RotatorInstance, a9 as DragRulerOptions, a8 as DragRulerInstance, a7 as DockPillOptions, a6 as DockPillInstance, aw as JoinedCtaOptions, av as JoinedCtaInstance, as as ImageZoomOptions, ar as ImageZoomInstance, ao as FontCycleOptions, an as FontCycleInstance, bg as ThumbnailNavOptions, bf as ThumbnailNavInstance, V as ActionButtonOptions, U as ActionButtonInstance, af as FilmHeroOptions, ae as FilmHeroInstance, ab as EditorialRevealOptions, aa as EditorialRevealInstance, bi as WeightHoverOptions, bh as WeightHoverInstance, b7 as StickerOptions, b6 as StickerInstance, aY as ScrollDockOptions, aX as ScrollDockInstance, aA as LocalClockOptions, az as LocalClockInstance } from '../reduced-BmBzKH94.js';
|
|
5
|
+
export { S as MK_HEAD_SCRIPT, aI as PileLayer, aQ as ReorderDetail, bq as moveItem, br as pileLayers, bs as pileStyle } from '../reduced-BmBzKH94.js';
|
|
6
|
+
import { M as MenuInstance, s as DialogOptions, D as DialogInstance, z as QuantityOptions, y as PaginationOptions, v as HoverCardOptions, w as InputOtpOptions, K as StudioDockOptions, S as StudioDockInstance, O as TrailerOptions, T as TrailerInstance, n as CalendarOptions, F as SlotPickerOptions } from '../reveal-jsX-uwUz.js';
|
|
7
7
|
import { LiquidBlendOptions, ShaderEffectInstance, MatcapOptions, ShaderGrainOptions, ShaderBlurOptions, ParticleHeroOptions, ParticleHeroInstance } from '../gl/index.js';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
|
-
import { T as ThemeState, s as setTheme, a as setMode, I as InitThemeOptions, b as ThemeMode } from '../theme-
|
|
10
|
-
export { M as MK_THEME_HEAD_SCRIPT, t as themeHeadScript } from '../theme-
|
|
11
|
-
import { n as ThemePickerOptions, s as ToasterLabels, e as ChatLabels, C as ChatInstance, v as capturePending, b as ChatRole, c as NavStyle, h as CursorVariant, g as CursorOptions, i as IslandOptions, I as IslandInstance } from '../store-
|
|
12
|
-
export { j as NAV_STYLES, o as ToastAction, q as ToastOptions, r as ToastTone, x as clearToasts, F as dismissToast, t as toast } from '../store-
|
|
9
|
+
import { T as ThemeState, s as setTheme, a as setMode, I as InitThemeOptions, b as ThemeMode } from '../theme-Bjf9qIIy.js';
|
|
10
|
+
export { M as MK_THEME_HEAD_SCRIPT, t as themeHeadScript } from '../theme-Bjf9qIIy.js';
|
|
11
|
+
import { n as ThemePickerOptions, s as ToasterLabels, e as ChatLabels, C as ChatInstance, v as capturePending, b as ChatRole, c as NavStyle, h as CursorVariant, g as CursorOptions, i as IslandOptions, I as IslandInstance } from '../store-DYb3tTsZ.js';
|
|
12
|
+
export { j as NAV_STYLES, o as ToastAction, q as ToastOptions, r as ToastTone, x as clearToasts, F as dismissToast, t as toast } from '../store-DYb3tTsZ.js';
|
|
13
13
|
import { C as CapturedLayout } from '../confetti-BSX1CLLV.js';
|
|
14
14
|
export { A as ANIMATIONS, b as AnimationName, d as ConfettiOptions, e as animate, g as confetti, l as leave } from '../confetti-BSX1CLLV.js';
|
|
15
15
|
import 'gsap/SplitText';
|
|
@@ -70,40 +70,40 @@ declare function useSlotText(ref: RefObject<HTMLElement | null>, text: string, o
|
|
|
70
70
|
*/
|
|
71
71
|
declare function useSortable(ref: RefObject<HTMLElement | null>, options?: SortableOptions, deps?: DependencyList): RefObject<SortableInstance | null>;
|
|
72
72
|
|
|
73
|
-
/** Masked lines / words / letters rising into view
|
|
73
|
+
/** Masked lines / words / letters rising into view. */
|
|
74
74
|
declare const useMaskText: (ref: RefObject<HTMLElement | null>, options?: MaskTextOptions, deps?: DependencyList) => RefObject<MaskTextInstance | null>;
|
|
75
75
|
|
|
76
|
-
/**
|
|
76
|
+
/** reveal group: rules, fades and rises one after another. */
|
|
77
77
|
declare const useCascade: (ref: RefObject<HTMLElement | null>, options?: CascadeOptions, deps?: DependencyList) => RefObject<CascadeInstance | null>;
|
|
78
78
|
|
|
79
|
-
/**
|
|
79
|
+
/** slot title. `.current.play()` spins it. */
|
|
80
80
|
declare const useTextRoll: (ref: RefObject<HTMLElement | null>, options?: TextRollOptions, deps?: DependencyList) => RefObject<TextRollInstance | null>;
|
|
81
81
|
|
|
82
|
-
/**
|
|
82
|
+
/** hero letters (scale on hover or pastel blink). */
|
|
83
83
|
declare const useLetters: (ref: RefObject<HTMLElement | null>, options?: LettersOptions, deps?: DependencyList) => RefObject<LettersInstance | null>;
|
|
84
84
|
|
|
85
|
-
/**
|
|
85
|
+
/** photo parallax inside its frame. */
|
|
86
86
|
declare const useParallax: (ref: RefObject<HTMLElement | null>, options?: ParallaxOptions, deps?: DependencyList) => RefObject<ParallaxInstance | null>;
|
|
87
87
|
|
|
88
|
-
/**
|
|
88
|
+
/** grid gathering from depth as it scrolls. */
|
|
89
89
|
declare const useDepthGrid: (ref: RefObject<HTMLElement | null>, options?: DepthGridOptions, deps?: DependencyList) => RefObject<DepthGridInstance | null>;
|
|
90
90
|
|
|
91
|
-
/**
|
|
91
|
+
/** video mask: frame and picture scale in opposite directions. */
|
|
92
92
|
declare const useFrameZoom: (ref: RefObject<HTMLElement | null>, options?: FrameZoomOptions, deps?: DependencyList) => RefObject<FrameZoomInstance | null>;
|
|
93
93
|
|
|
94
|
-
/**
|
|
94
|
+
/** header contrast from the section under it. */
|
|
95
95
|
declare const useContrast: (ref: RefObject<HTMLElement | null>, options?: ContrastOptions, deps?: DependencyList) => RefObject<ContrastInstance | null>;
|
|
96
96
|
|
|
97
|
-
/**
|
|
97
|
+
/** seamless marquee. */
|
|
98
98
|
declare const useMarquee: (ref: RefObject<HTMLElement | null>, options?: MarqueeOptions, deps?: DependencyList) => RefObject<MarqueeInstance | null>;
|
|
99
99
|
|
|
100
|
-
/**
|
|
100
|
+
/** product dock (stacked glass cards that spread on hover). */
|
|
101
101
|
declare const useCardDock: (ref: RefObject<HTMLElement | null>, options?: CardDockOptions, deps?: DependencyList) => RefObject<CardDockInstance | null>;
|
|
102
102
|
|
|
103
|
-
/**
|
|
103
|
+
/** phone cards: an autoplaying scroll-snap strip. */
|
|
104
104
|
declare const useSnapStrip: (ref: RefObject<HTMLElement | null>, options?: SnapStripOptions, deps?: DependencyList) => RefObject<SnapStripInstance | null>;
|
|
105
105
|
|
|
106
|
-
/**
|
|
106
|
+
/** fill-text: letters fill in as the text scrolls up. */
|
|
107
107
|
declare const useFillText: (ref: RefObject<HTMLElement | null>, options?: FillTextOptions, deps?: DependencyList) => RefObject<FillTextInstance | null>;
|
|
108
108
|
|
|
109
109
|
declare function useTicketMenu(ref: RefObject<HTMLElement | null>, options?: TicketMenuOptions, deps?: DependencyList): RefObject<MenuInstance | null>;
|
|
@@ -126,7 +126,7 @@ declare const useShaderGrain: (ref: RefObject<HTMLElement | null>, options?: Sha
|
|
|
126
126
|
|
|
127
127
|
declare const useShaderBlur: (ref: RefObject<HTMLElement | null>, options?: ShaderBlurOptions, deps?: DependencyList) => RefObject<ShaderEffectInstance | null>;
|
|
128
128
|
|
|
129
|
-
/**
|
|
129
|
+
/** particle hero (WebGL2, Canvas2D fallback). The canvas joins the ref's element. */
|
|
130
130
|
declare const useParticleHero: (ref: RefObject<HTMLElement | null>, options?: ParticleHeroOptions, deps?: DependencyList) => RefObject<ParticleHeroInstance | null>;
|
|
131
131
|
|
|
132
132
|
interface ThemeContextValue extends ThemeState {
|
|
@@ -152,7 +152,7 @@ interface ThemePickerProps extends ThemePickerOptions {
|
|
|
152
152
|
/** Skip the base class (style it yourself). */
|
|
153
153
|
unstyled?: boolean;
|
|
154
154
|
}
|
|
155
|
-
/**
|
|
155
|
+
/** theme picker. Wrap the app in <ThemeProvider> to read the choice. */
|
|
156
156
|
declare function ThemePicker({ className, style, unstyled, themes, showHidden, labels, onChange }: ThemePickerProps): react_jsx_runtime.JSX.Element;
|
|
157
157
|
|
|
158
158
|
interface SlotTextProps extends Omit<SlotTextOptions, 'text' | 'accessibleCopy'> {
|
|
@@ -160,7 +160,7 @@ interface SlotTextProps extends Omit<SlotTextOptions, 'text' | 'accessibleCopy'>
|
|
|
160
160
|
className?: string;
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* Text whose letters roll when it changes
|
|
163
|
+
* Text whose letters roll when it changes. The server
|
|
164
164
|
* renders the text itself; React never reconciles the letters (they belong to
|
|
165
165
|
* the recipe), and screen readers read the plain copy.
|
|
166
166
|
*/
|
|
@@ -170,10 +170,10 @@ interface AnimatedNumberProps {
|
|
|
170
170
|
value: number;
|
|
171
171
|
/** How the shown value is written. Default: whole numbers. */
|
|
172
172
|
format?: (shown: number) => string;
|
|
173
|
-
/** Seconds. Default 0.6
|
|
173
|
+
/** Seconds. Default 0.6; prices use 0.7. */
|
|
174
174
|
duration?: number;
|
|
175
175
|
}
|
|
176
|
-
/** A number that counts to each new value from the one shown
|
|
176
|
+
/** A number that counts to each new value from the one shown. */
|
|
177
177
|
declare function AnimatedNumber({ value, format, duration }: AnimatedNumberProps): react_jsx_runtime.JSX.Element;
|
|
178
178
|
|
|
179
179
|
interface FlipGroupProps {
|
|
@@ -186,7 +186,7 @@ interface FlipGroupProps {
|
|
|
186
186
|
children?: ReactNode;
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
|
-
* Plays
|
|
189
|
+
* Plays layout reflow when `signature` changes: the layout is
|
|
190
190
|
* measured just before React commits and the items travel from there. A class
|
|
191
191
|
* component, because only `getSnapshotBeforeUpdate` reads the DOM before the commit.
|
|
192
192
|
*/
|
|
@@ -239,7 +239,7 @@ declare function Close({ children, label, ...props }: ButtonHTMLAttributes<HTMLB
|
|
|
239
239
|
}): react_jsx_runtime.JSX.Element;
|
|
240
240
|
declare function Handle({ children, ...props }: ButtonHTMLAttributes<HTMLButtonElement>): react_jsx_runtime.JSX.Element;
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
242
|
+
* dialog for React:
|
|
243
243
|
* <Dialog.Root><Dialog.Trigger>Crear</Dialog.Trigger><Dialog.Content>
|
|
244
244
|
* <Dialog.Header><Dialog.Title>…</Dialog.Title><Dialog.Close /></Dialog.Header>
|
|
245
245
|
* <Dialog.Body>…</Dialog.Body><Dialog.Footer>…</Dialog.Footer>
|
|
@@ -278,7 +278,7 @@ declare function Item({ value, children, ...props }: ButtonHTMLAttributes<HTMLBu
|
|
|
278
278
|
value?: string;
|
|
279
279
|
}): react_jsx_runtime.JSX.Element;
|
|
280
280
|
declare function Separator(): react_jsx_runtime.JSX.Element;
|
|
281
|
-
/**
|
|
281
|
+
/** options menu: <Menu.Root onSelect><Menu.Trigger/><Menu.Content><Menu.Item value/>…</Menu.Content></Menu.Root>. */
|
|
282
282
|
declare const Menu: {
|
|
283
283
|
Root: typeof Root$2;
|
|
284
284
|
Trigger: typeof Trigger;
|
|
@@ -290,7 +290,7 @@ declare const Menu: {
|
|
|
290
290
|
interface ToasterProps {
|
|
291
291
|
labels?: ToasterLabels;
|
|
292
292
|
}
|
|
293
|
-
/**
|
|
293
|
+
/** toast deck. Mount once near the root; show toasts with `toast()`. */
|
|
294
294
|
declare function Toaster({ labels }: ToasterProps): react_jsx_runtime.JSX.Element;
|
|
295
295
|
|
|
296
296
|
interface ChatBackgroundProps {
|
|
@@ -300,7 +300,7 @@ interface ChatBackgroundProps {
|
|
|
300
300
|
className?: string;
|
|
301
301
|
style?: CSSProperties;
|
|
302
302
|
}
|
|
303
|
-
/**
|
|
303
|
+
/** chat background. Put it first inside a positioned container. */
|
|
304
304
|
declare function ChatBackground({ energy, scale, className, style }: ChatBackgroundProps): react_jsx_runtime.JSX.Element;
|
|
305
305
|
|
|
306
306
|
interface ChatContextValue {
|
|
@@ -354,7 +354,7 @@ interface ChatComposerProps extends TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
|
354
354
|
declare function Composer({ actions, sendLabel, placeholder, ...props }: ChatComposerProps): react_jsx_runtime.JSX.Element;
|
|
355
355
|
declare function Confirm({ children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
356
356
|
/**
|
|
357
|
-
*
|
|
357
|
+
* chat: <Chat.Root onSend><ChatBackground /><Chat.Messages pending>{messages.map(m =>
|
|
358
358
|
* <Chat.Message role>)}</Chat.Messages><Chat.Composer /></Chat.Root>.
|
|
359
359
|
*/
|
|
360
360
|
declare const Chat: {
|
|
@@ -373,7 +373,7 @@ interface NavItem {
|
|
|
373
373
|
icon?: ReactNode;
|
|
374
374
|
/** Render a link instead of a button. */
|
|
375
375
|
href?: string;
|
|
376
|
-
/** Hidden in the phone bar
|
|
376
|
+
/** Hidden in the phone bar. */
|
|
377
377
|
hideOnMobile?: boolean;
|
|
378
378
|
}
|
|
379
379
|
interface NavProps extends Omit<HTMLAttributes<HTMLElement>, 'onSelect'> {
|
|
@@ -390,14 +390,14 @@ interface NavProps extends Omit<HTMLAttributes<HTMLElement>, 'onSelect'> {
|
|
|
390
390
|
/** Buttons at the end (className "mk-nav__button mk-nav__button--action"). */
|
|
391
391
|
actions?: ReactNode;
|
|
392
392
|
}
|
|
393
|
-
/**
|
|
393
|
+
/** navigation. Put it inside a <div className="mk-shell"> next to <main className="mk-shell__view">. */
|
|
394
394
|
declare function Nav({ items, active, onSelect, navStyle, accent, reveal, first, actions, className, ...props }: NavProps): react_jsx_runtime.JSX.Element;
|
|
395
395
|
|
|
396
396
|
interface StepsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
397
397
|
/** Current step (0-based). Changing it flows to that step. */
|
|
398
398
|
index?: number;
|
|
399
399
|
onChange?: (index: number, previous: number) => void;
|
|
400
|
-
/** A step is working: the chat background inside speeds up
|
|
400
|
+
/** A step is working: the chat background inside speeds up. */
|
|
401
401
|
busy?: boolean;
|
|
402
402
|
duration?: number;
|
|
403
403
|
children?: ReactNode;
|
|
@@ -407,7 +407,7 @@ declare function Step({ children, ...props }: HTMLAttributes<HTMLElement>): reac
|
|
|
407
407
|
/** The step number; the engine rolls it (React only writes the first value). */
|
|
408
408
|
declare function Counter(props: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
409
409
|
/**
|
|
410
|
-
*
|
|
410
|
+
* onboarding: <Steps index={i} busy={working}><ChatBackground /><Steps.Counter />
|
|
411
411
|
* <Steps.Step><h2 data-mk-flow-item>…</h2></Steps.Step>…</Steps>. Steps must be direct children.
|
|
412
412
|
*/
|
|
413
413
|
declare const Steps: typeof Root & {
|
|
@@ -416,7 +416,7 @@ declare const Steps: typeof Root & {
|
|
|
416
416
|
};
|
|
417
417
|
|
|
418
418
|
interface CursorProps {
|
|
419
|
-
/** 'chip' (
|
|
419
|
+
/** 'chip' (default) or 'dot'. */
|
|
420
420
|
variant?: CursorVariant;
|
|
421
421
|
/** dot: the word when nothing under the pointer gives one. */
|
|
422
422
|
text?: string;
|
|
@@ -439,7 +439,7 @@ interface FrostProps {
|
|
|
439
439
|
className?: string;
|
|
440
440
|
style?: CSSProperties;
|
|
441
441
|
}
|
|
442
|
-
/**
|
|
442
|
+
/** progressive frost: five blur layers. Put it inside a positioned container (or use `fixed`). */
|
|
443
443
|
declare function Frost({ position, fixed, height, strength, className, style }: FrostProps): react_jsx_runtime.JSX.Element;
|
|
444
444
|
|
|
445
445
|
interface IslandPanel {
|
|
@@ -448,7 +448,7 @@ interface IslandPanel {
|
|
|
448
448
|
label: string;
|
|
449
449
|
/** Button content; the menu's nine dots by default. */
|
|
450
450
|
icon?: ReactNode;
|
|
451
|
-
/** Light button
|
|
451
|
+
/** Light button. */
|
|
452
452
|
light?: boolean;
|
|
453
453
|
content: ReactNode;
|
|
454
454
|
}
|
|
@@ -468,9 +468,108 @@ interface IslandProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>, Omi
|
|
|
468
468
|
current: IslandInstance | null;
|
|
469
469
|
};
|
|
470
470
|
}
|
|
471
|
-
/** The nine static dots of
|
|
471
|
+
/** The nine static dots of the island menu button. */
|
|
472
472
|
declare function IslandDots(): react_jsx_runtime.JSX.Element;
|
|
473
|
-
/**
|
|
473
|
+
/** floating navbar. */
|
|
474
474
|
declare function Island({ brand, cta, panels, contained, entrance, closeOnScroll, closeOnNavigate, focusOnOpen, onChange, instanceRef, className, ...props }: IslandProps): react_jsx_runtime.JSX.Element;
|
|
475
475
|
|
|
476
|
-
|
|
476
|
+
interface QuantityProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'>, QuantityOptions {
|
|
477
|
+
label?: string;
|
|
478
|
+
decreaseLabel?: string;
|
|
479
|
+
increaseLabel?: string;
|
|
480
|
+
name?: string;
|
|
481
|
+
}
|
|
482
|
+
declare function Quantity({ min, max, step, value, disabled, onChange, label, decreaseLabel, increaseLabel, name, className, ...props }: QuantityProps): react_jsx_runtime.JSX.Element;
|
|
483
|
+
|
|
484
|
+
interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>, PaginationOptions {
|
|
485
|
+
previousLabel?: string;
|
|
486
|
+
nextLabel?: string;
|
|
487
|
+
}
|
|
488
|
+
declare function Pagination({ totalPages, page, siblings, pageLabel, onChange, previousLabel, nextLabel, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
489
|
+
|
|
490
|
+
interface HoverCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, HoverCardOptions {
|
|
491
|
+
trigger: ReactNode;
|
|
492
|
+
children: ReactNode;
|
|
493
|
+
triggerLabel?: string;
|
|
494
|
+
panelLabel?: string;
|
|
495
|
+
}
|
|
496
|
+
declare function HoverCard({ trigger, children, triggerLabel, panelLabel, openDelay, closeDelay, placement, onOpenChange, className, ...props }: HoverCardProps): react_jsx_runtime.JSX.Element;
|
|
497
|
+
|
|
498
|
+
interface InputOtpProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onComplete' | 'defaultValue'>, InputOtpOptions {
|
|
499
|
+
label?: string;
|
|
500
|
+
name?: string;
|
|
501
|
+
disabled?: boolean;
|
|
502
|
+
required?: boolean;
|
|
503
|
+
invalid?: boolean;
|
|
504
|
+
defaultValue?: string;
|
|
505
|
+
}
|
|
506
|
+
declare function InputOtp({ length, value, defaultValue, mask, onChange, onComplete, label, name, disabled, required, invalid, className, ...props }: InputOtpProps): react_jsx_runtime.JSX.Element;
|
|
507
|
+
|
|
508
|
+
declare const useJoinedCta: (ref: RefObject<HTMLElement | null>, options?: JoinedCtaOptions, deps?: DependencyList) => RefObject<JoinedCtaInstance | null>;
|
|
509
|
+
|
|
510
|
+
declare const useImageZoom: (ref: RefObject<HTMLElement | null>, options?: ImageZoomOptions, deps?: DependencyList) => RefObject<ImageZoomInstance | null>;
|
|
511
|
+
|
|
512
|
+
declare const useFontCycle: (ref: RefObject<HTMLElement | null>, options?: FontCycleOptions, deps?: DependencyList) => RefObject<FontCycleInstance | null>;
|
|
513
|
+
|
|
514
|
+
declare const useThumbnailNav: (ref: RefObject<HTMLElement | null>, options?: ThumbnailNavOptions, deps?: DependencyList) => RefObject<ThumbnailNavInstance | null>;
|
|
515
|
+
|
|
516
|
+
declare const useActionButton: (ref: RefObject<HTMLElement | null>, options?: ActionButtonOptions, deps?: DependencyList) => RefObject<ActionButtonInstance | null>;
|
|
517
|
+
|
|
518
|
+
declare const useFilmHero: (ref: RefObject<HTMLElement | null>, options?: FilmHeroOptions, deps?: DependencyList) => RefObject<FilmHeroInstance | null>;
|
|
519
|
+
|
|
520
|
+
declare function useEditorialReveal(ref: RefObject<HTMLElement | null>, options?: EditorialRevealOptions, deps?: DependencyList): RefObject<EditorialRevealInstance | null>;
|
|
521
|
+
|
|
522
|
+
declare function useStudioDock(ref: RefObject<HTMLElement | null>, options?: StudioDockOptions, deps?: DependencyList): RefObject<StudioDockInstance | null>;
|
|
523
|
+
|
|
524
|
+
declare const useTrailer: (ref: RefObject<HTMLElement | null>, options?: TrailerOptions, deps?: DependencyList) => RefObject<TrailerInstance | null>;
|
|
525
|
+
|
|
526
|
+
interface StudioDockProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, StudioDockOptions {
|
|
527
|
+
/** Default stays inside its positioned demo/app panel. */
|
|
528
|
+
fixed?: boolean;
|
|
529
|
+
instanceRef?: {
|
|
530
|
+
current: StudioDockInstance | null;
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
/** Composable light-DOM shell; use the data-mk-studio-* slots shown in the README. */
|
|
534
|
+
declare function StudioDock({ duration, ease, focusOnOpen, trapFocus, onChange, fixed, instanceRef, className, children, ...props }: StudioDockProps): react_jsx_runtime.JSX.Element;
|
|
535
|
+
|
|
536
|
+
interface TrailerProps extends Omit<DialogHTMLAttributes<HTMLDialogElement>, 'open' | 'onClose'> {
|
|
537
|
+
options?: TrailerOptions;
|
|
538
|
+
}
|
|
539
|
+
/** Consumer supplies <video>, optional controls and tracks; no remote media is injected. */
|
|
540
|
+
declare function Trailer({ options, className, children, ...props }: TrailerProps): react_jsx_runtime.JSX.Element;
|
|
541
|
+
|
|
542
|
+
interface CalendarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'>, CalendarOptions {
|
|
543
|
+
/** Hide the month/week switch. */
|
|
544
|
+
hideViews?: boolean;
|
|
545
|
+
labels?: CalendarOptions['labels'] & {
|
|
546
|
+
previous?: string;
|
|
547
|
+
next?: string;
|
|
548
|
+
today?: string;
|
|
549
|
+
month?: string;
|
|
550
|
+
week?: string;
|
|
551
|
+
};
|
|
552
|
+
}
|
|
553
|
+
declare function Calendar({ date, view, firstDay, locale, events, maxEvents, selected, today, labels, onSelect, onEventClick, onNavigate, hideViews, className, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
554
|
+
|
|
555
|
+
interface SlotPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, SlotPickerOptions {
|
|
556
|
+
/** Form field name: a hidden input carries "YYYY-MM-DDTHH:mm". */
|
|
557
|
+
name?: string;
|
|
558
|
+
labels?: SlotPickerOptions['labels'] & {
|
|
559
|
+
previous?: string;
|
|
560
|
+
next?: string;
|
|
561
|
+
};
|
|
562
|
+
/** Rendered under the times (e.g. a submit button). */
|
|
563
|
+
actions?: ReactNode;
|
|
564
|
+
}
|
|
565
|
+
declare function SlotPicker({ date, value, slots, min, max, closedDays, isDisabled, firstDay, locale, labels, onChange, onDateChange, name, actions, className, ...props }: SlotPickerProps): react_jsx_runtime.JSX.Element;
|
|
566
|
+
|
|
567
|
+
declare const useWeightHover: (ref: RefObject<HTMLElement | null>, options?: WeightHoverOptions, deps?: DependencyList) => RefObject<WeightHoverInstance | null>;
|
|
568
|
+
|
|
569
|
+
declare const useSticker: (ref: RefObject<HTMLElement | null>, options?: StickerOptions, deps?: DependencyList) => RefObject<StickerInstance | null>;
|
|
570
|
+
|
|
571
|
+
declare const useScrollDock: (ref: RefObject<HTMLElement | null>, options?: ScrollDockOptions, deps?: DependencyList) => RefObject<ScrollDockInstance | null>;
|
|
572
|
+
|
|
573
|
+
declare const useLocalClock: (ref: RefObject<HTMLElement | null>, options?: LocalClockOptions, deps?: DependencyList) => RefObject<LocalClockInstance | null>;
|
|
574
|
+
|
|
575
|
+
export { AnimatedNumber, type AnimatedNumberProps, Calendar, type CalendarProps, Chat, ChatBackground, type ChatBackgroundProps, type ChatComposerProps, type ChatMessageProps, type ChatMessagesProps, type ChatRootProps, Cursor, type CursorProps, Dialog, type DialogContentProps, FlipGroup, type FlipGroupProps, Frost, type FrostProps, HoverCard, type HoverCardProps, InputOtp, type InputOtpProps, Island, IslandDots, type IslandPanel, type IslandProps, Menu, type MenuRootProps, MkIcon, Nav, type NavItem, type NavProps, NavStyle, Pagination, type PaginationProps, Quantity, type QuantityProps, SlotPicker, type SlotPickerProps, SlotText, type SlotTextProps, Steps, type StepsProps, StudioDock, type StudioDockProps, type SurfaceRootProps, type ThemeContextValue, ThemePicker, type ThemePickerProps, ThemeProvider, type ThemeProviderProps, Toaster, type ToasterProps, Trailer, type TrailerProps, type UseStretchFooterOptions, useActionButton, useCardDock, useCascade, useChat, useContrast, useCounter, useCurvedCarousel, useDepthGrid, useDetails, useDialog, useDockPill, useDragRuler, useEditorialReveal, useFillText, useFilmHero, useFitText, useFlow, useFontCycle, useFrameZoom, useImageZoom, useInfiniteReel, useIsomorphicLayoutEffect, useJoinedCta, useLatest, useLetters, useLiquidBlend, useLocalClock, useMarquee, useMaskText, useMatcap, useParallax, useParticleHero, usePile, usePop, useRadialMenu, useRecipe, useReflow, useRepelBento, useReveal, useRotator, useScrollDock, useShaderBlur, useShaderGrain, useSlotText, useSnapStrip, useSortable, useSpringCards, useSticker, useStretchFooter, useStudioDock, useTabs, useTextRoll, useTheme, useThumbnailNav, useTicketMenu, useTrailer, useWeightHover, useWords };
|