@yewdiel21/motion-kit 0.18.0 → 0.19.1

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.
Files changed (75) hide show
  1. package/README.md +245 -222
  2. package/bin/motion-kit.mjs +0 -0
  3. package/dist/auto/index.d.ts +4 -3
  4. package/dist/auto/index.js +5 -3
  5. package/dist/auto/index.js.map +1 -1
  6. package/dist/{chunk-QFBOHPWZ.js → chunk-CQP66AZK.js} +2 -2
  7. package/dist/{chunk-QP4QJOEN.js → chunk-H4STLMCM.js} +2 -2
  8. package/dist/{chunk-AWDEKDEJ.js → chunk-LIXSOGS2.js} +8 -22
  9. package/dist/chunk-LIXSOGS2.js.map +1 -0
  10. package/dist/{chunk-Q7IW4FV3.js → chunk-NCGNIPJE.js} +1430 -968
  11. package/dist/chunk-NCGNIPJE.js.map +1 -0
  12. package/dist/{chunk-DOOMULVV.js → chunk-OLT3CWDJ.js} +4 -2
  13. package/dist/chunk-OLT3CWDJ.js.map +1 -0
  14. package/dist/{chunk-EDMXWUW3.js → chunk-PVN7YVKV.js} +3 -3
  15. package/dist/css/components/code-block.css +267 -0
  16. package/dist/css/components/command-search.css +274 -2
  17. package/dist/css/components/dialog.css +264 -0
  18. package/dist/css/components/heatmap-chart.css +267 -1
  19. package/dist/css/components/pill-button.css +7 -5
  20. package/dist/css/components/scroll-area.css +261 -0
  21. package/dist/css/components/scroll-island.css +6 -0
  22. package/dist/css/components/select.css +284 -4
  23. package/dist/elements/index.d.ts +15 -4
  24. package/dist/elements/index.js +36 -6
  25. package/dist/elements/index.js.map +1 -1
  26. package/dist/{engine-t8d7brjn.d.ts → engine-D6XV-WNt.d.ts} +50 -1
  27. package/dist/gl/index.js +2 -2
  28. package/dist/index.css +321 -12
  29. package/dist/index.d.ts +3 -3
  30. package/dist/index.js +7 -5
  31. package/dist/index.js.map +1 -1
  32. package/dist/react/index.d.ts +20 -7
  33. package/dist/react/index.js +56 -7
  34. package/dist/react/index.js.map +1 -1
  35. package/dist/{reduced-dPsZYqtI.d.ts → reduced-4croIXl-.d.ts} +1 -1
  36. package/dist/{store-6hZNKiee.d.ts → store-CAHWkurn.d.ts} +1 -1
  37. package/package.json +117 -110
  38. package/registry.json +1357 -1340
  39. package/src/auto/auto-init.ts +341 -339
  40. package/src/components/code-block/README.md +1 -1
  41. package/src/components/code-block/code-block.css +5 -0
  42. package/src/components/code-block/engine.ts +5 -0
  43. package/src/components/command-search/README.md +1 -1
  44. package/src/components/command-search/command-search.css +12 -2
  45. package/src/components/command-search/engine.ts +6 -0
  46. package/src/components/dialog/README.md +104 -103
  47. package/src/components/dialog/dialog.css +2 -0
  48. package/src/components/dialog/engine.ts +465 -449
  49. package/src/components/heatmap-chart/README.md +48 -48
  50. package/src/components/heatmap-chart/engine.ts +6 -1
  51. package/src/components/heatmap-chart/heatmap-chart.css +5 -1
  52. package/src/components/icons.ts +1 -0
  53. package/src/components/pill-button/engine.ts +1 -1
  54. package/src/components/pill-button/pill-button.css +7 -5
  55. package/src/components/scroll-area/README.md +89 -0
  56. package/src/components/scroll-area/element.ts +35 -0
  57. package/src/components/scroll-area/engine.ts +528 -0
  58. package/src/components/scroll-area/react.tsx +67 -0
  59. package/src/components/scroll-area/scroll-area.css +260 -0
  60. package/src/components/scroll-island/engine.ts +10 -1
  61. package/src/components/scroll-island/scroll-island.css +6 -0
  62. package/src/components/select/README.md +1 -1
  63. package/src/components/select/engine.ts +16 -4
  64. package/src/components/select/select.css +22 -4
  65. package/src/core/timing.ts +2 -0
  66. package/src/elements/index.ts +321 -318
  67. package/src/index.ts +1 -0
  68. package/src/motion/morph.ts +5 -2
  69. package/src/react/index.ts +2 -1
  70. package/dist/chunk-AWDEKDEJ.js.map +0 -1
  71. package/dist/chunk-DOOMULVV.js.map +0 -1
  72. package/dist/chunk-Q7IW4FV3.js.map +0 -1
  73. /package/dist/{chunk-QFBOHPWZ.js.map → chunk-CQP66AZK.js.map} +0 -0
  74. /package/dist/{chunk-QP4QJOEN.js.map → chunk-H4STLMCM.js.map} +0 -0
  75. /package/dist/{chunk-EDMXWUW3.js.map → chunk-PVN7YVKV.js.map} +0 -0
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  ANIMATIONS,
3
3
  animate,
4
4
  leave
5
- } from "./chunk-QP4QJOEN.js";
5
+ } from "./chunk-H4STLMCM.js";
6
6
  import {
7
7
  captureLayout,
8
8
  createActionButton,
@@ -58,7 +58,7 @@ import {
58
58
  reflowLayout,
59
59
  toggleDetails,
60
60
  trackScroll
61
- } from "./chunk-EDMXWUW3.js";
61
+ } from "./chunk-PVN7YVKV.js";
62
62
  import {
63
63
  NAV_STYLES,
64
64
  NAV_STYLE_ALIASES,
@@ -95,7 +95,7 @@ import {
95
95
  toNavStyle,
96
96
  toast,
97
97
  toastTimers
98
- } from "./chunk-AWDEKDEJ.js";
98
+ } from "./chunk-LIXSOGS2.js";
99
99
  import {
100
100
  BRAND_LABELS,
101
101
  CHANNEL_LABELS,
@@ -194,6 +194,7 @@ import {
194
194
  createResizablePanel,
195
195
  createRichTextEditor,
196
196
  createScratchCard,
197
+ createScrollArea,
197
198
  createScrollIsland,
198
199
  createScrollPreviewDock,
199
200
  createSelect,
@@ -330,7 +331,7 @@ import {
330
331
  tokenize,
331
332
  transparentColor,
332
333
  tweenNumber
333
- } from "./chunk-Q7IW4FV3.js";
334
+ } from "./chunk-NCGNIPJE.js";
334
335
  import "./chunk-RVSKEBIC.js";
335
336
  import {
336
337
  clamp,
@@ -347,7 +348,7 @@ import {
347
348
  reduced,
348
349
  subscribe,
349
350
  whileVisible
350
- } from "./chunk-DOOMULVV.js";
351
+ } from "./chunk-OLT3CWDJ.js";
351
352
  import "./chunk-TGV27ZWM.js";
352
353
 
353
354
  // src/components/chat-background/audio.ts
@@ -550,6 +551,7 @@ export {
550
551
  createSankeyChart,
551
552
  createScope,
552
553
  createScratchCard,
554
+ createScrollArea,
553
555
  createScrollDock,
554
556
  createScrollIsland,
555
557
  createScrollPreviewDock,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/chat-background/audio.ts"],"sourcesContent":["/*\n * Microphone energy for the chat background: FFT 256,\n * smoothing .3, −90…−10 dB; the lowest 40 % of the bins, ×3, clamped to 1, with\n * attack .8 and release .15. The caller passes a MediaStream it already has\n * permission for: this never asks for the microphone.\n */\n\nexport interface AudioEnergy {\n stop(): void;\n}\n\nexport function audioEnergy(\n stream: MediaStream,\n onEnergy: (energy: number) => void,\n { fftSize = 256, smoothing = 0.3 }: { fftSize?: number; smoothing?: number } = {},\n): AudioEnergy {\n const AudioCtor = (globalThis as { AudioContext?: typeof AudioContext }).AudioContext;\n if (!AudioCtor) {\n onEnergy(0);\n return { stop() {} };\n }\n const context = new AudioCtor();\n const analyser = context.createAnalyser();\n analyser.fftSize = fftSize;\n analyser.smoothingTimeConstant = smoothing;\n analyser.minDecibels = -90;\n analyser.maxDecibels = -10;\n const input = context.createMediaStreamSource(stream);\n input.connect(analyser);\n const bins = new Uint8Array(analyser.frequencyBinCount);\n let energy = 0;\n let frame = 0;\n let stopped = false;\n const tick = () => {\n if (stopped) return;\n analyser.getByteFrequencyData(bins);\n const count = Math.ceil(bins.length * 0.4);\n let sum = 0;\n for (let i = 0; i < count; i++) sum += bins[i] ?? 0;\n const target = Math.min(((sum / (count * 255)) * 3), 1);\n energy += (target - energy) * (target > energy ? 0.8 : 0.15);\n onEnergy(energy);\n frame = requestAnimationFrame(tick);\n };\n tick();\n return {\n stop() {\n if (stopped) return;\n stopped = true;\n cancelAnimationFrame(frame);\n input.disconnect();\n void context.close();\n onEnergy(0);\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWO,SAAS,YACd,QACA,UACA,EAAE,UAAU,KAAK,YAAY,IAAI,IAA8C,CAAC,GACnE;AACb,QAAM,YAAa,WAAsD;AACzE,MAAI,CAAC,WAAW;AACd,aAAS,CAAC;AACV,WAAO,EAAE,OAAO;AAAA,IAAC,EAAE;AAAA,EACrB;AACA,QAAM,UAAU,IAAI,UAAU;AAC9B,QAAM,WAAW,QAAQ,eAAe;AACxC,WAAS,UAAU;AACnB,WAAS,wBAAwB;AACjC,WAAS,cAAc;AACvB,WAAS,cAAc;AACvB,QAAM,QAAQ,QAAQ,wBAAwB,MAAM;AACpD,QAAM,QAAQ,QAAQ;AACtB,QAAM,OAAO,IAAI,WAAW,SAAS,iBAAiB;AACtD,MAAI,SAAS;AACb,MAAI,QAAQ;AACZ,MAAI,UAAU;AACd,QAAM,OAAO,MAAM;AACjB,QAAI,QAAS;AACb,aAAS,qBAAqB,IAAI;AAClC,UAAM,QAAQ,KAAK,KAAK,KAAK,SAAS,GAAG;AACzC,QAAI,MAAM;AACV,aAAS,IAAI,GAAG,IAAI,OAAO,IAAK,QAAO,KAAK,CAAC,KAAK;AAClD,UAAM,SAAS,KAAK,IAAM,OAAO,QAAQ,OAAQ,GAAI,CAAC;AACtD,eAAW,SAAS,WAAW,SAAS,SAAS,MAAM;AACvD,aAAS,MAAM;AACf,YAAQ,sBAAsB,IAAI;AAAA,EACpC;AACA,OAAK;AACL,SAAO;AAAA,IACL,OAAO;AACL,UAAI,QAAS;AACb,gBAAU;AACV,2BAAqB,KAAK;AAC1B,YAAM,WAAW;AACjB,WAAK,QAAQ,MAAM;AACnB,eAAS,CAAC;AAAA,IACZ;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/components/chat-background/audio.ts"],"sourcesContent":["/*\n * Microphone energy for the chat background: FFT 256,\n * smoothing .3, −90…−10 dB; the lowest 40 % of the bins, ×3, clamped to 1, with\n * attack .8 and release .15. The caller passes a MediaStream it already has\n * permission for: this never asks for the microphone.\n */\n\nexport interface AudioEnergy {\n stop(): void;\n}\n\nexport function audioEnergy(\n stream: MediaStream,\n onEnergy: (energy: number) => void,\n { fftSize = 256, smoothing = 0.3 }: { fftSize?: number; smoothing?: number } = {},\n): AudioEnergy {\n const AudioCtor = (globalThis as { AudioContext?: typeof AudioContext }).AudioContext;\n if (!AudioCtor) {\n onEnergy(0);\n return { stop() {} };\n }\n const context = new AudioCtor();\n const analyser = context.createAnalyser();\n analyser.fftSize = fftSize;\n analyser.smoothingTimeConstant = smoothing;\n analyser.minDecibels = -90;\n analyser.maxDecibels = -10;\n const input = context.createMediaStreamSource(stream);\n input.connect(analyser);\n const bins = new Uint8Array(analyser.frequencyBinCount);\n let energy = 0;\n let frame = 0;\n let stopped = false;\n const tick = () => {\n if (stopped) return;\n analyser.getByteFrequencyData(bins);\n const count = Math.ceil(bins.length * 0.4);\n let sum = 0;\n for (let i = 0; i < count; i++) sum += bins[i] ?? 0;\n const target = Math.min(((sum / (count * 255)) * 3), 1);\n energy += (target - energy) * (target > energy ? 0.8 : 0.15);\n onEnergy(energy);\n frame = requestAnimationFrame(tick);\n };\n tick();\n return {\n stop() {\n if (stopped) return;\n stopped = true;\n cancelAnimationFrame(frame);\n input.disconnect();\n void context.close();\n onEnergy(0);\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWO,SAAS,YACd,QACA,UACA,EAAE,UAAU,KAAK,YAAY,IAAI,IAA8C,CAAC,GACnE;AACb,QAAM,YAAa,WAAsD;AACzE,MAAI,CAAC,WAAW;AACd,aAAS,CAAC;AACV,WAAO,EAAE,OAAO;AAAA,IAAC,EAAE;AAAA,EACrB;AACA,QAAM,UAAU,IAAI,UAAU;AAC9B,QAAM,WAAW,QAAQ,eAAe;AACxC,WAAS,UAAU;AACnB,WAAS,wBAAwB;AACjC,WAAS,cAAc;AACvB,WAAS,cAAc;AACvB,QAAM,QAAQ,QAAQ,wBAAwB,MAAM;AACpD,QAAM,QAAQ,QAAQ;AACtB,QAAM,OAAO,IAAI,WAAW,SAAS,iBAAiB;AACtD,MAAI,SAAS;AACb,MAAI,QAAQ;AACZ,MAAI,UAAU;AACd,QAAM,OAAO,MAAM;AACjB,QAAI,QAAS;AACb,aAAS,qBAAqB,IAAI;AAClC,UAAM,QAAQ,KAAK,KAAK,KAAK,SAAS,GAAG;AACzC,QAAI,MAAM;AACV,aAAS,IAAI,GAAG,IAAI,OAAO,IAAK,QAAO,KAAK,CAAC,KAAK;AAClD,UAAM,SAAS,KAAK,IAAM,OAAO,QAAQ,OAAQ,GAAI,CAAC;AACtD,eAAW,SAAS,WAAW,SAAS,SAAS,MAAM;AACvD,aAAS,MAAM;AACf,YAAQ,sBAAsB,IAAI;AAAA,EACpC;AACA,OAAK;AACL,SAAO;AAAA,IACL,OAAO;AACL,UAAI,QAAS;AACb,gBAAU;AACV,2BAAqB,KAAK;AAC1B,YAAM,WAAW;AACjB,WAAK,QAAQ,MAAM;AACnB,eAAS,CAAC;AAAA,IACZ;AAAA,EACF;AACF;","names":[]}
@@ -1,16 +1,16 @@
1
1
  import * as react from 'react';
2
2
  import { useLayoutEffect, RefObject, DependencyList, ReactNode, CSSProperties, Component, ButtonHTMLAttributes, DialogHTMLAttributes, HTMLAttributes, MutableRefObject, ContextType, TextareaHTMLAttributes, MouseEvent, FormHTMLAttributes, InputHTMLAttributes, Ref, ReactElement } from 'react';
3
3
  import { I as Instance } from '../types-BkS_raL8.js';
4
- import { b9 as SpringCardsOptions, a4 as CurvedCarouselOptions, C as CurvedCarouselInstance, aN as PileOptions, bo as WordsOptions, bn as WordsInstance, ao as FlowOptions, an as FlowInstance, aP as PopOptions, aO as PopInstance, al as FitTextOptions, ak as FitTextInstance, be as StretchFooterOptions, aR as RadialMenuOptions, aQ as RadialMenuInstance, bg as TabsOptions, bf as TabsInstance, a3 as CounterOptions, a2 as CounterInstance, aY as RevealRecipeOptions, aX as RevealInstance, aT as ReflowOptions, aS as ReflowInstance, b2 as SlotTextOptions, b1 as SlotTextInstance, b7 as SortableOptions, b5 as SortableInstance, aI as MaskTextOptions, aH as MaskTextInstance, $ as CascadeOptions, _ as CascadeInstance, bi as TextRollOptions, bh as TextRollInstance, aC as LettersOptions, aB as LettersInstance, aK as ParallaxOptions, aJ as ParallaxInstance, a6 as DepthGridOptions, a5 as DepthGridInstance, au as FrameZoomOptions, at as FrameZoomInstance, a1 as ContrastOptions, a0 as ContrastInstance, aG as MarqueeOptions, aF as MarqueeInstance, Z as CardDockOptions, Y as CardDockInstance, b4 as SnapStripOptions, b3 as SnapStripInstance, ah as FillTextOptions, ag as FillTextInstance, T as TicketMenuOptions, ay as InfiniteReelOptions, ax as InfiniteReelInstance, aW as RepelBentoOptions, aV as RepelBentoInstance, a_ as RotatorOptions, aZ as RotatorInstance, aa as DragRulerOptions, a9 as DragRulerInstance, a8 as DockPillOptions, a7 as DockPillInstance, aA as JoinedCtaOptions, az as JoinedCtaInstance, aw as ImageZoomOptions, av as ImageZoomInstance, as as FontCycleOptions, ar as FontCycleInstance, bk as ThumbnailNavOptions, bj as ThumbnailNavInstance, W as ActionButtonOptions, V as ActionButtonInstance, aj as FilmHeroOptions, ai as FilmHeroInstance, af as EditorialRevealOptions, ae as EditorialRevealInstance, bm as WeightHoverOptions, bl as WeightHoverInstance, bb as StickerOptions, ba as StickerInstance, b0 as ScrollDockOptions, a$ as ScrollDockInstance, aE as LocalClockOptions, aD as LocalClockInstance, ad as DrawerSide } from '../reduced-dPsZYqtI.js';
5
- export { U as MK_HEAD_SCRIPT, aM as PileLayer, aU as ReorderDetail, bu as moveItem, bv as pileLayers, bw as pileStyle } from '../reduced-dPsZYqtI.js';
6
- import { cs as MenuInstance, bB as DialogOptions, bz as DialogInstance, cZ as QuantityOptions, cJ as PaginationOptions, ca as HoverCardOptions, cg as InputOtpOptions, e3 as StudioDockOptions, e2 as StudioDockInstance, em as TrailerOptions, el as TrailerInstance, aQ as CalendarOptions, dO as SlotPickerOptions, az as AttachmentOptions, aC as AttachmentStatus, ax as AttachmentInstance, dK as SkeletonOptions, c_ as QuestionnaireAnswers, d0 as QuestionnaireLabels, c$ as QuestionnaireInstance, b2 as CodeBlockOptions, bD as DialogVariant, bg as ContextMenuInstance, cl as LinkPreviewOptions, cW as ProgressOptions, d8 as RangeSliderOptions, d9 as RangeValue$2, aV as ChartOptions, aU as ChartInstance, bl as CreditCardOptions, bj as CreditCardInstance, bd as CommandItem, be as CommandSearchInstance, c8 as HoldConfirmOptions, ce as ImagePreviewOptions, cd as ImagePreviewInstance, cB as NotificationBellInstance, cQ as PasswordStrengthOptions, dp as ScratchCardOptions, dn as ScratchCardInstance, dW as StarRatingOptions, bc as ColorSliderOptions, b4 as ColorAreaOptions, b7 as ColorFieldOptions, ba as ColorPickerOptions, ed as TimeFieldOptions, d6 as RangeCalendarOptions, ao as DateInput, bw as DateRangePickerOptions, ek as TooltipOptions, cU as PopoverOptions, co as LoadingButtonOptions, cp as LoadingState, aK as BreadcrumbOptions, aJ as BreadcrumbItem, bO as EmptyStateOptions, dY as StatCardOptions, aZ as ChartTooltipOptions, cy as MultiSelectOptions, e8 as TagInputOptions, by as DateTimePickerOptions, b_ as FilterBuilderOptions, c1 as FilterGroup, eh as TimelineOptions, ef as TimelineEvent, ar as ActivityFeedOptions, as as ActivityItem, ep as TreeViewOptions, en as TreeNode, eo as TreeViewInstance, bV as FileExplorerOptions, bT as FileEntry, bU as FileExplorerInstance, cj as JsonViewerOptions, ci as JsonViewerInstance, es as VirtualListOptions, eu as VirtualScrollOptions, dd as ResizablePanelOptions, dc as ResizablePanelInstance, dU as SplitViewOptions, dT as SplitViewInstance, bq as DataRow, bt as DataTableOptions, bs as DataTableInstance, bJ as EditableTableOptions, bI as EditableTableInstance, dj as RichTextEditorOptions, di as RichTextEditorInstance, dx as SelectOptions, av as AddToCartOptions, au as AddToCartInstance, dr as ScrollIslandOptions, dF as SignaturePadOptions, dz as SignatureData, dE as SignaturePadInstance, eA as WaveformPlayerOptions, ez as WaveformPlayerInstance, ex as VoiceMessageBubbleOptions, ew as VoiceMessageBubbleInstance, bG as DrilldownMenuOptions, bF as DrilldownMenuItem, bE as DrilldownMenuInstance, eG as WheelPickerOptions, eE as WheelPickerInstance, d$ as StepperOptions, dZ as StepperInstance, d4 as RadioGroupOptions, d2 as RadioGroupInstance, bQ as EqualizerSliderOptions, bP as EqualizerSliderInstance, ea as TemperatureSliderOptions, e9 as TemperatureSliderInstance, db as RatingScaleOptions, da as RatingScaleInstance, cG as NotificationStackOptions, cE as NotificationStackInstance, aH as BentoGridOptions, aG as BentoGridInstance, du as ScrollPreviewDockOptions, ds as ScrollPreviewDockInstance, e1 as StickyHeaderOptions, e0 as StickyHeaderInstance, c6 as HandwritingTextOptions, c5 as HandwritingTextInstance, cM as ParticleButtonOptions, cL as ParticleButtonInstance, cr as MagnetizeButtonOptions, cq as MagnetizeButtonInstance, aF as BadgeButtonOptions, aE as BadgeButtonInstance, cv as MorphingPageDotsOptions, cu as MorphingPageDotsInstance, cA as NotFoundOptions, cz as NotFoundInstance } from '../engine-t8d7brjn.js';
7
- export { ap as ActivityActor, at as ActivityKind, bn as DataAction, bo as DataColumn, br as DataSort, bH as EditableColumn, bK as EditorKind, bS as FileChange, bY as FileView, dh as RichCommand, dk as RowChange, dl as RowId, ei as TimelineStatus } from '../engine-t8d7brjn.js';
4
+ import { b9 as SpringCardsOptions, a4 as CurvedCarouselOptions, C as CurvedCarouselInstance, aN as PileOptions, bo as WordsOptions, bn as WordsInstance, ao as FlowOptions, an as FlowInstance, aP as PopOptions, aO as PopInstance, al as FitTextOptions, ak as FitTextInstance, be as StretchFooterOptions, aR as RadialMenuOptions, aQ as RadialMenuInstance, bg as TabsOptions, bf as TabsInstance, a3 as CounterOptions, a2 as CounterInstance, aY as RevealRecipeOptions, aX as RevealInstance, aT as ReflowOptions, aS as ReflowInstance, b2 as SlotTextOptions, b1 as SlotTextInstance, b7 as SortableOptions, b5 as SortableInstance, aI as MaskTextOptions, aH as MaskTextInstance, $ as CascadeOptions, _ as CascadeInstance, bi as TextRollOptions, bh as TextRollInstance, aC as LettersOptions, aB as LettersInstance, aK as ParallaxOptions, aJ as ParallaxInstance, a6 as DepthGridOptions, a5 as DepthGridInstance, au as FrameZoomOptions, at as FrameZoomInstance, a1 as ContrastOptions, a0 as ContrastInstance, aG as MarqueeOptions, aF as MarqueeInstance, Z as CardDockOptions, Y as CardDockInstance, b4 as SnapStripOptions, b3 as SnapStripInstance, ah as FillTextOptions, ag as FillTextInstance, T as TicketMenuOptions, ay as InfiniteReelOptions, ax as InfiniteReelInstance, aW as RepelBentoOptions, aV as RepelBentoInstance, a_ as RotatorOptions, aZ as RotatorInstance, aa as DragRulerOptions, a9 as DragRulerInstance, a8 as DockPillOptions, a7 as DockPillInstance, aA as JoinedCtaOptions, az as JoinedCtaInstance, aw as ImageZoomOptions, av as ImageZoomInstance, as as FontCycleOptions, ar as FontCycleInstance, bk as ThumbnailNavOptions, bj as ThumbnailNavInstance, W as ActionButtonOptions, V as ActionButtonInstance, aj as FilmHeroOptions, ai as FilmHeroInstance, af as EditorialRevealOptions, ae as EditorialRevealInstance, bm as WeightHoverOptions, bl as WeightHoverInstance, bb as StickerOptions, ba as StickerInstance, b0 as ScrollDockOptions, a$ as ScrollDockInstance, aE as LocalClockOptions, aD as LocalClockInstance, ad as DrawerSide } from '../reduced-4croIXl-.js';
5
+ export { U as MK_HEAD_SCRIPT, aM as PileLayer, aU as ReorderDetail, bu as moveItem, bv as pileLayers, bw as pileStyle } from '../reduced-4croIXl-.js';
6
+ import { ct as MenuInstance, bC as DialogOptions, bA as DialogInstance, c_ as QuantityOptions, cK as PaginationOptions, cb as HoverCardOptions, ch as InputOtpOptions, e8 as StudioDockOptions, e7 as StudioDockInstance, er as TrailerOptions, eq as TrailerInstance, aR as CalendarOptions, dT as SlotPickerOptions, aA as AttachmentOptions, aD as AttachmentStatus, ay as AttachmentInstance, dP as SkeletonOptions, c$ as QuestionnaireAnswers, d1 as QuestionnaireLabels, d0 as QuestionnaireInstance, b3 as CodeBlockOptions, bE as DialogVariant, bh as ContextMenuInstance, cm as LinkPreviewOptions, cX as ProgressOptions, d9 as RangeSliderOptions, da as RangeValue$2, aW as ChartOptions, aV as ChartInstance, bm as CreditCardOptions, bk as CreditCardInstance, be as CommandItem, bf as CommandSearchInstance, c9 as HoldConfirmOptions, cf as ImagePreviewOptions, ce as ImagePreviewInstance, cC as NotificationBellInstance, cR as PasswordStrengthOptions, dq as ScratchCardOptions, dp as ScratchCardInstance, d$ as StarRatingOptions, bd as ColorSliderOptions, b5 as ColorAreaOptions, b8 as ColorFieldOptions, bb as ColorPickerOptions, ei as TimeFieldOptions, d7 as RangeCalendarOptions, ap as DateInput, bx as DateRangePickerOptions, ep as TooltipOptions, cV as PopoverOptions, cp as LoadingButtonOptions, cq as LoadingState, aL as BreadcrumbOptions, aK as BreadcrumbItem, bP as EmptyStateOptions, e1 as StatCardOptions, a_ as ChartTooltipOptions, cz as MultiSelectOptions, ed as TagInputOptions, bz as DateTimePickerOptions, b$ as FilterBuilderOptions, c2 as FilterGroup, em as TimelineOptions, ek as TimelineEvent, as as ActivityFeedOptions, at as ActivityItem, eu as TreeViewOptions, es as TreeNode, et as TreeViewInstance, bW as FileExplorerOptions, bU as FileEntry, bV as FileExplorerInstance, ck as JsonViewerOptions, cj as JsonViewerInstance, ex as VirtualListOptions, ez as VirtualScrollOptions, de as ResizablePanelOptions, dd as ResizablePanelInstance, dZ as SplitViewOptions, dY as SplitViewInstance, br as DataRow, bu as DataTableOptions, bt as DataTableInstance, bK as EditableTableOptions, bJ as EditableTableInstance, dk as RichTextEditorOptions, dj as RichTextEditorInstance, dC as SelectOptions, aw as AddToCartOptions, av as AddToCartInstance, dw as ScrollIslandOptions, dK as SignaturePadOptions, dE as SignatureData, dJ as SignaturePadInstance, eF as WaveformPlayerOptions, eE as WaveformPlayerInstance, eC as VoiceMessageBubbleOptions, eB as VoiceMessageBubbleInstance, bH as DrilldownMenuOptions, bG as DrilldownMenuItem, bF as DrilldownMenuInstance, eL as WheelPickerOptions, eJ as WheelPickerInstance, e4 as StepperOptions, e2 as StepperInstance, d5 as RadioGroupOptions, d3 as RadioGroupInstance, bR as EqualizerSliderOptions, bQ as EqualizerSliderInstance, ef as TemperatureSliderOptions, ee as TemperatureSliderInstance, dc as RatingScaleOptions, db as RatingScaleInstance, cH as NotificationStackOptions, cF as NotificationStackInstance, aI as BentoGridOptions, aH as BentoGridInstance, dz as ScrollPreviewDockOptions, dx as ScrollPreviewDockInstance, e6 as StickyHeaderOptions, e5 as StickyHeaderInstance, c7 as HandwritingTextOptions, c6 as HandwritingTextInstance, cN as ParticleButtonOptions, cM as ParticleButtonInstance, cs as MagnetizeButtonOptions, cr as MagnetizeButtonInstance, aG as BadgeButtonOptions, aF as BadgeButtonInstance, cw as MorphingPageDotsOptions, cv as MorphingPageDotsInstance, cB as NotFoundOptions, cA as NotFoundInstance, dt as ScrollAreaOptions, ds as ScrollAreaInstance } from '../engine-D6XV-WNt.js';
7
+ export { aq as ActivityActor, au as ActivityKind, bo as DataAction, bp as DataColumn, bs as DataSort, bI as EditableColumn, bL as EditorKind, bT as FileChange, bZ as FileView, di as RichCommand, dl as RowChange, dm as RowId, en as TimelineStatus } from '../engine-D6XV-WNt.js';
8
8
  import { LiquidBlendOptions, ShaderEffectInstance, MatcapOptions, ShaderGrainOptions, ShaderBlurOptions, ParticleHeroOptions, ParticleHeroInstance } from '../gl/index.js';
9
9
  import * as react_jsx_runtime from 'react/jsx-runtime';
10
10
  import { T as ThemeState, s as setTheme, a as setMode, I as InitThemeOptions, b as ThemeMode } from '../theme-Bjf9qIIy.js';
11
11
  export { M as MK_THEME_HEAD_SCRIPT, t as themeHeadScript } from '../theme-Bjf9qIIy.js';
12
- import { F as ThemePickerOptions, Q as ToasterLabels, b as ChatLabels, C as ChatInstance, _ as capturePending, d as ChatRole, n as NavStyle, o as NavStyleAlias, g as CursorVariant, f as CursorOptions, j as IslandOptions, I as IslandInstance, W as ToolbarOptions, V as ToolbarInstance, a as BidirectionalSliderOptions, B as BidirectionalSliderInstance, Y as VoiceDotsOptions, X as VoiceDotsInstance, s as PieChartOptions, r as PieChartInstance, u as RadarChartOptions, R as RadarChartInstance, x as RadialChartOptions, w as RadialChartInstance, z as SankeyChartOptions, S as SankeyChartInstance, h as HeatmapChartOptions, H as HeatmapChartInstance, q as OrbitMenuOptions, O as OrbitMenuInstance } from '../store-6hZNKiee.js';
13
- export { N as NAV_STYLES, k as NAV_STYLE_ALIASES, G as ToastAction, K as ToastOptions, L as ToastTone, a0 as clearToasts, ag as dismissToast, am as toNavStyle, an as toast } from '../store-6hZNKiee.js';
12
+ import { F as ThemePickerOptions, Q as ToasterLabels, b as ChatLabels, C as ChatInstance, _ as capturePending, d as ChatRole, n as NavStyle, o as NavStyleAlias, g as CursorVariant, f as CursorOptions, j as IslandOptions, I as IslandInstance, W as ToolbarOptions, V as ToolbarInstance, a as BidirectionalSliderOptions, B as BidirectionalSliderInstance, Y as VoiceDotsOptions, X as VoiceDotsInstance, s as PieChartOptions, r as PieChartInstance, u as RadarChartOptions, R as RadarChartInstance, x as RadialChartOptions, w as RadialChartInstance, z as SankeyChartOptions, S as SankeyChartInstance, h as HeatmapChartOptions, H as HeatmapChartInstance, q as OrbitMenuOptions, O as OrbitMenuInstance } from '../store-CAHWkurn.js';
13
+ export { N as NAV_STYLES, k as NAV_STYLE_ALIASES, G as ToastAction, K as ToastOptions, L as ToastTone, a0 as clearToasts, ag as dismissToast, am as toNavStyle, an as toast } from '../store-CAHWkurn.js';
14
14
  import { C as CapturedLayout } from '../confetti-BSX1CLLV.js';
15
15
  export { A as ANIMATIONS, b as AnimationName, d as ConfettiOptions, e as animate, g as confetti, l as leave } from '../confetti-BSX1CLLV.js';
16
16
  import 'gsap/SplitText';
@@ -210,6 +210,7 @@ declare const ICON_PATHS: {
210
210
  readonly mic: "M12 3a3 3 0 00-3 3v6a3 3 0 006 0V6a3 3 0 00-3-3zM5.5 11a6.5 6.5 0 0013 0M12 17.5V21";
211
211
  readonly sparkle: "M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z";
212
212
  readonly grip: "M9 6h.01M15 6h.01M9 12h.01M15 12h.01M9 18h.01M15 18h.01";
213
+ readonly toTop: "M12 20V9M6.5 14.5L12 9l5.5 5.5M6 4.5h12";
213
214
  };
214
215
  type IconName = keyof typeof ICON_PATHS;
215
216
 
@@ -1378,4 +1379,16 @@ interface NotFoundProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'
1378
1379
  }
1379
1380
  declare function NotFound({ brand, title, description, homeHref, homeLabel, backLabel, showBack, onBack, instanceRef, className, ...props }: NotFoundProps): react_jsx_runtime.JSX.Element;
1380
1381
 
1381
- export { ActivityFeed, type ActivityFeedHandle, type ActivityFeedProps, ActivityItem, AddToCart, type AddToCartProps, AnimatedNumber, type AnimatedNumberProps, Attachment, type AttachmentProps, type AttachmentUpload, BadgeButton, type BadgeButtonProps, BentoGrid, type BentoGridProps, BidirectionalSlider, type BidirectionalSliderProps, Breadcrumb, type BreadcrumbProps, Calendar, type CalendarProps, Chart, type ChartProps, ChartTooltip, type ChartTooltipProps, Chat, ChatBackground, type ChatBackgroundProps, type ChatComposerProps, type ChatMessageProps, type ChatMessagesProps, type ChatRootProps, CodeBlock, type CodeBlockProps, ColorArea, type ColorAreaProps, ColorField, type ColorFieldProps, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderProps, CommandItem, CommandSearch, type CommandSearchProps, ContextMenu, type ContextMenuProps, CreditCard, type CreditCardProps, Cursor, type CursorProps, DataRow, DataTable, type DataTableHandle, type DataTableProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, type DialogContentProps, Drawer, type DrawerRootProps, DrilldownMenu, type DrilldownMenuHandle, type DrilldownMenuProps, EditableTable, type EditableTableHandle, type EditableTableProps, EmptyState, type EmptyStateProps, EqualizerSlider, type EqualizerSliderProps, FileEntry, FileExplorer, type FileExplorerHandle, type FileExplorerProps, FilterBuilder, type FilterBuilderProps, FlipGroup, type FlipGroupProps, Frost, type FrostProps, HandwritingText, type HandwritingTextProps, HeatmapChart, type HeatmapChartProps, HoldConfirm, type HoldConfirmProps, HoverCard, type HoverCardProps, ImagePreview, type ImagePreviewProps, InputOtp, type InputOtpProps, Island, IslandDots, type IslandPanel, type IslandProps, JsonViewer, type JsonViewerHandle, type JsonViewerProps, LikeButton, type LikeButtonProps, LinkPreview, type LinkPreviewProps, LoadingButton, type LoadingButtonProps, MagnetizeButton, type MagnetizeButtonProps, Menu, type MenuRootProps, MkIcon, MorphingPageDots, type MorphingPageDotsProps, MultiSelect, type MultiSelectProps, Nav, type NavItem, type NavProps, NavStyle, NavStyleAlias, NotFound, type NotFoundProps, NotificationBell, type NotificationBellProps, NotificationStack, type NotificationStackProps, OrbitMenu, type OrbitMenuProps, Pagination, type PaginationProps, ParticleButton, type ParticleButtonProps, PasswordStrength, type PasswordStrengthProps, PieChart, type PieChartProps, PillButton, type PillButtonProps, Popover, type PopoverProps, type PreviewImage, Progress, type ProgressProps, Quantity, type QuantityProps, type Question, type QuestionOption, type QuestionType, Questionnaire, type QuestionnaireProps, RadarChart, type RadarChartProps, RadialChart, type RadialChartProps, RadioGroup, type RadioGroupProps, RangeCalendar, type RangeCalendarProps, RangeSlider, type RangeSliderProps, RatingScale, type RatingScaleProps, ResizablePanel, type ResizablePanelHandle, type ResizablePanelProps, RichTextEditor, type RichTextEditorHandle, type RichTextEditorProps, SankeyChart, type SankeyChartProps, ScratchCard, type ScratchCardProps, ScrollIsland, type ScrollIslandProps, ScrollPreviewDock, type ScrollPreviewDockProps, Select, type SelectProps, SignaturePad, type SignaturePadProps, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerProps, SlotText, type SlotTextProps, SplitView, type SplitViewHandle, type SplitViewProps, StarRating, type StarRatingProps, StatCard, type StatCardProps, Stepper, type StepperProps, Steps, type StepsProps, StickyHeader, type StickyHeaderProps, StudioDock, type StudioDockProps, type SurfaceRootProps, type SwipeAction, SwipeActions, type SwipeActionsProps, type SwipeRowProps, TagInput, type TagInputProps, TemperatureSlider, type TemperatureSliderProps, type ThemeContextValue, ThemePicker, type ThemePickerProps, ThemeProvider, type ThemeProviderProps, TimeField, type TimeFieldProps, Timeline, TimelineEvent, type TimelineProps, Toaster, type ToasterProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, Trailer, type TrailerProps, TreeNode, TreeView, type TreeViewHandle, type TreeViewProps, type UseStretchFooterOptions, VirtualList, type VirtualListHandle, type VirtualListProps, VoiceDots, type VoiceDotsProps, VoiceMessageBubble, type VoiceMessageBubbleProps, WaveformPlayer, type WaveformPlayerProps, WheelPicker, type WheelPickerProps, useActionButton, useCardDock, useCascade, useChat, useContrast, useCounter, useCurvedCarousel, useDepthGrid, useDetails, useDialog, useDockPill, useDragRuler, useDrawer, 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 };
1382
+ interface ScrollAreaProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onScroll'>, Omit<ScrollAreaOptions, 'viewport'> {
1383
+ /** Class and style of the element that scrolls (padding, gap, layout of the content). */
1384
+ viewportClassName?: string;
1385
+ viewportStyle?: CSSProperties;
1386
+ unstyled?: boolean;
1387
+ instanceRef?: MutableRefObject<ScrollAreaInstance | null>;
1388
+ }
1389
+ /**
1390
+ * <ScrollArea style={{ height: 320 }} backToTop>…</ScrollArea>: the children scroll in a viewport with the kit's bars.
1391
+ */
1392
+ declare function ScrollArea({ visibility, axis, idle, fade, backToTop, label, focusable, decorative, onScroll, viewportClassName, viewportStyle, unstyled, instanceRef, className, children, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
1393
+
1394
+ export { ActivityFeed, type ActivityFeedHandle, type ActivityFeedProps, ActivityItem, AddToCart, type AddToCartProps, AnimatedNumber, type AnimatedNumberProps, Attachment, type AttachmentProps, type AttachmentUpload, BadgeButton, type BadgeButtonProps, BentoGrid, type BentoGridProps, BidirectionalSlider, type BidirectionalSliderProps, Breadcrumb, type BreadcrumbProps, Calendar, type CalendarProps, Chart, type ChartProps, ChartTooltip, type ChartTooltipProps, Chat, ChatBackground, type ChatBackgroundProps, type ChatComposerProps, type ChatMessageProps, type ChatMessagesProps, type ChatRootProps, CodeBlock, type CodeBlockProps, ColorArea, type ColorAreaProps, ColorField, type ColorFieldProps, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderProps, CommandItem, CommandSearch, type CommandSearchProps, ContextMenu, type ContextMenuProps, CreditCard, type CreditCardProps, Cursor, type CursorProps, DataRow, DataTable, type DataTableHandle, type DataTableProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, type DialogContentProps, Drawer, type DrawerRootProps, DrilldownMenu, type DrilldownMenuHandle, type DrilldownMenuProps, EditableTable, type EditableTableHandle, type EditableTableProps, EmptyState, type EmptyStateProps, EqualizerSlider, type EqualizerSliderProps, FileEntry, FileExplorer, type FileExplorerHandle, type FileExplorerProps, FilterBuilder, type FilterBuilderProps, FlipGroup, type FlipGroupProps, Frost, type FrostProps, HandwritingText, type HandwritingTextProps, HeatmapChart, type HeatmapChartProps, HoldConfirm, type HoldConfirmProps, HoverCard, type HoverCardProps, ImagePreview, type ImagePreviewProps, InputOtp, type InputOtpProps, Island, IslandDots, type IslandPanel, type IslandProps, JsonViewer, type JsonViewerHandle, type JsonViewerProps, LikeButton, type LikeButtonProps, LinkPreview, type LinkPreviewProps, LoadingButton, type LoadingButtonProps, MagnetizeButton, type MagnetizeButtonProps, Menu, type MenuRootProps, MkIcon, MorphingPageDots, type MorphingPageDotsProps, MultiSelect, type MultiSelectProps, Nav, type NavItem, type NavProps, NavStyle, NavStyleAlias, NotFound, type NotFoundProps, NotificationBell, type NotificationBellProps, NotificationStack, type NotificationStackProps, OrbitMenu, type OrbitMenuProps, Pagination, type PaginationProps, ParticleButton, type ParticleButtonProps, PasswordStrength, type PasswordStrengthProps, PieChart, type PieChartProps, PillButton, type PillButtonProps, Popover, type PopoverProps, type PreviewImage, Progress, type ProgressProps, Quantity, type QuantityProps, type Question, type QuestionOption, type QuestionType, Questionnaire, type QuestionnaireProps, RadarChart, type RadarChartProps, RadialChart, type RadialChartProps, RadioGroup, type RadioGroupProps, RangeCalendar, type RangeCalendarProps, RangeSlider, type RangeSliderProps, RatingScale, type RatingScaleProps, ResizablePanel, type ResizablePanelHandle, type ResizablePanelProps, RichTextEditor, type RichTextEditorHandle, type RichTextEditorProps, SankeyChart, type SankeyChartProps, ScratchCard, type ScratchCardProps, ScrollArea, type ScrollAreaProps, ScrollIsland, type ScrollIslandProps, ScrollPreviewDock, type ScrollPreviewDockProps, Select, type SelectProps, SignaturePad, type SignaturePadProps, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerProps, SlotText, type SlotTextProps, SplitView, type SplitViewHandle, type SplitViewProps, StarRating, type StarRatingProps, StatCard, type StatCardProps, Stepper, type StepperProps, Steps, type StepsProps, StickyHeader, type StickyHeaderProps, StudioDock, type StudioDockProps, type SurfaceRootProps, type SwipeAction, SwipeActions, type SwipeActionsProps, type SwipeRowProps, TagInput, type TagInputProps, TemperatureSlider, type TemperatureSliderProps, type ThemeContextValue, ThemePicker, type ThemePickerProps, ThemeProvider, type ThemeProviderProps, TimeField, type TimeFieldProps, Timeline, TimelineEvent, type TimelineProps, Toaster, type ToasterProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, Trailer, type TrailerProps, TreeNode, TreeView, type TreeViewHandle, type TreeViewProps, type UseStretchFooterOptions, VirtualList, type VirtualListHandle, type VirtualListProps, VoiceDots, type VoiceDotsProps, VoiceMessageBubble, type VoiceMessageBubbleProps, WaveformPlayer, type WaveformPlayerProps, WheelPicker, type WheelPickerProps, useActionButton, useCardDock, useCascade, useChat, useContrast, useCounter, useCurvedCarousel, useDepthGrid, useDetails, useDialog, useDockPill, useDragRuler, useDrawer, 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 };
@@ -3,7 +3,7 @@ import {
3
3
  ANIMATIONS,
4
4
  animate,
5
5
  leave
6
- } from "../chunk-QP4QJOEN.js";
6
+ } from "../chunk-H4STLMCM.js";
7
7
  import {
8
8
  captureLayout,
9
9
  createActionButton,
@@ -55,9 +55,8 @@ import {
55
55
  pileLayers,
56
56
  pileStyle,
57
57
  reflowLayout
58
- } from "../chunk-EDMXWUW3.js";
58
+ } from "../chunk-PVN7YVKV.js";
59
59
  import {
60
- ICON_PATHS,
61
60
  NAV_STYLES,
62
61
  NAV_STYLE_ALIASES,
63
62
  PENDING_ID,
@@ -84,8 +83,9 @@ import {
84
83
  revealShell,
85
84
  toNavStyle,
86
85
  toast
87
- } from "../chunk-AWDEKDEJ.js";
86
+ } from "../chunk-LIXSOGS2.js";
88
87
  import {
88
+ ICON_PATHS,
89
89
  confetti,
90
90
  createActivityFeed,
91
91
  createAddToCart,
@@ -145,6 +145,7 @@ import {
145
145
  createResizablePanel,
146
146
  createRichTextEditor,
147
147
  createScratchCard,
148
+ createScrollArea,
148
149
  createScrollIsland,
149
150
  createScrollPreviewDock,
150
151
  createSelect,
@@ -185,7 +186,7 @@ import {
185
186
  tokenLines,
186
187
  tokenize,
187
188
  tweenNumber
188
- } from "../chunk-Q7IW4FV3.js";
189
+ } from "../chunk-NCGNIPJE.js";
189
190
  import {
190
191
  DEFAULT_THEME,
191
192
  MK_THEME_HEAD_SCRIPT,
@@ -201,12 +202,12 @@ import {
201
202
  createParticleHero,
202
203
  createShaderBlur,
203
204
  createShaderGrain
204
- } from "../chunk-QFBOHPWZ.js";
205
+ } from "../chunk-CQP66AZK.js";
205
206
  import "../chunk-34EZ7DF4.js";
206
207
  import {
207
208
  MK_HEAD_SCRIPT,
208
209
  TIMING
209
- } from "../chunk-DOOMULVV.js";
210
+ } from "../chunk-OLT3CWDJ.js";
210
211
  import "../chunk-TGV27ZWM.js";
211
212
 
212
213
  // src/react/use-recipe.ts
@@ -4361,6 +4362,53 @@ function NotFound({ brand, title, description, homeHref, homeLabel, backLabel, s
4361
4362
  }, [instanceRef, brand, title, description, homeHref, homeLabel, backLabel, showBack, hasBack]);
4362
4363
  return /* @__PURE__ */ jsx104("div", { ...safe, ref: root, className: ["mk-not-found", className].filter(Boolean).join(" ") });
4363
4364
  }
4365
+
4366
+ // src/components/scroll-area/react.tsx
4367
+ import { useRef as useRef99 } from "react";
4368
+ import { jsx as jsx105 } from "react/jsx-runtime";
4369
+ function ScrollArea({
4370
+ visibility,
4371
+ axis,
4372
+ idle,
4373
+ fade,
4374
+ backToTop,
4375
+ label,
4376
+ focusable,
4377
+ decorative,
4378
+ onScroll,
4379
+ viewportClassName,
4380
+ viewportStyle,
4381
+ unstyled,
4382
+ instanceRef,
4383
+ className,
4384
+ children,
4385
+ ...props
4386
+ }) {
4387
+ const ref = useRef99(null);
4388
+ const viewport = useRef99(null);
4389
+ const scrolled = useLatest(onScroll);
4390
+ useIsomorphicLayoutEffect(() => {
4391
+ const instance = createScrollArea(ref.current, {
4392
+ visibility,
4393
+ axis,
4394
+ idle,
4395
+ fade,
4396
+ backToTop,
4397
+ label,
4398
+ focusable,
4399
+ decorative,
4400
+ viewport: viewport.current,
4401
+ onScroll: (progress) => scrolled.current?.(progress)
4402
+ });
4403
+ if (instanceRef) instanceRef.current = instance;
4404
+ return () => {
4405
+ instance.destroy();
4406
+ if (instanceRef) instanceRef.current = null;
4407
+ };
4408
+ }, [visibility, axis, idle, fade, backToTop, label, focusable, decorative]);
4409
+ const classes = [unstyled ? null : "mk-scroll-area", className].filter(Boolean).join(" ");
4410
+ return /* @__PURE__ */ jsx105("div", { ...props, ref, className: classes || void 0, children: /* @__PURE__ */ jsx105("div", { ref: viewport, "data-mk-scroll-viewport": "", className: viewportClassName, style: viewportStyle, children }) });
4411
+ }
4364
4412
  export {
4365
4413
  ANIMATIONS,
4366
4414
  ActivityFeed,
@@ -4443,6 +4491,7 @@ export {
4443
4491
  RichTextEditor,
4444
4492
  SankeyChart,
4445
4493
  ScratchCard,
4494
+ ScrollArea,
4446
4495
  ScrollIsland,
4447
4496
  ScrollPreviewDock,
4448
4497
  Select,