@yewdiel21/motion-kit 0.17.0 → 0.19.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 +240 -199
- package/dist/auto/index.d.ts +19 -3
- package/dist/auto/index.js +35 -3
- package/dist/auto/index.js.map +1 -1
- package/dist/{chunk-QFBOHPWZ.js → chunk-CQP66AZK.js} +2 -2
- package/dist/{chunk-QP4QJOEN.js → chunk-H4STLMCM.js} +2 -2
- package/dist/{chunk-BZLMCHUD.js → chunk-KDIJX6G4.js} +3 -3
- package/dist/{chunk-DOOMULVV.js → chunk-OLT3CWDJ.js} +4 -2
- package/dist/chunk-OLT3CWDJ.js.map +1 -0
- package/dist/{chunk-VJFPTLAK.js → chunk-PEDYJ2TV.js} +8 -22
- package/dist/chunk-PEDYJ2TV.js.map +1 -0
- package/dist/{chunk-7IQTMF7Y.js → chunk-Y4GIBTRG.js} +5130 -2153
- package/dist/chunk-Y4GIBTRG.js.map +1 -0
- package/dist/css/components/badge-button.css +16 -0
- package/dist/css/components/bento-grid.css +13 -0
- package/dist/css/components/code-block.css +267 -0
- package/dist/css/components/command-search.css +274 -2
- package/dist/css/components/dialog.css +264 -0
- package/dist/css/components/drilldown-menu.css +11 -7
- package/dist/css/components/equalizer-slider.css +26 -0
- package/dist/css/components/handwriting-text.css +15 -0
- package/dist/css/components/heatmap-chart.css +267 -1
- package/dist/css/components/magnetize-button.css +18 -0
- package/dist/css/components/morphing-page-dots.css +13 -0
- package/dist/css/components/not-found.css +22 -0
- package/dist/css/components/notification-stack.css +42 -0
- package/dist/css/components/particle-button.css +14 -0
- package/dist/css/components/radio-group.css +29 -0
- package/dist/css/components/rating-scale.css +23 -0
- package/dist/css/components/scroll-area.css +261 -0
- package/dist/css/components/scroll-preview-dock.css +18 -0
- package/dist/css/components/select.css +300 -4
- package/dist/css/components/signature-pad.css +130 -103
- package/dist/css/components/stepper.css +36 -0
- package/dist/css/components/sticky-header.css +10 -0
- package/dist/css/components/temperature-slider.css +29 -0
- package/dist/css/components/voice-message-bubble.css +62 -45
- package/dist/css/components/waveform-player.css +49 -34
- package/dist/css/components/wheel-picker.css +16 -15
- package/dist/css/tokens.css +4 -0
- package/dist/elements/index.d.ts +217 -4
- package/dist/elements/index.js +614 -9
- package/dist/elements/index.js.map +1 -1
- package/dist/{engine-Bn6hC87X.d.ts → engine-D6XV-WNt.d.ts} +390 -1
- package/dist/gl/index.js +2 -2
- package/dist/index.css +886 -177
- package/dist/index.d.ts +23 -23
- package/dist/index.js +37 -5
- package/dist/index.js.map +1 -1
- package/dist/react/index.d.ts +126 -7
- package/dist/react/index.js +722 -7
- package/dist/react/index.js.map +1 -1
- package/dist/{reduced-YS6TZjpa.d.ts → reduced-4croIXl-.d.ts} +1 -1
- package/dist/{store-CZ6vdtIE.d.ts → store-CAHWkurn.d.ts} +1 -1
- package/package.json +110 -110
- package/registry.json +1357 -1160
- package/src/auto/auto-init.ts +341 -308
- package/src/components/badge-button/README.md +28 -0
- package/src/components/badge-button/badge-button.css +15 -0
- package/src/components/badge-button/element.ts +16 -0
- package/src/components/badge-button/engine.ts +85 -0
- package/src/components/badge-button/react.tsx +31 -0
- package/src/components/bento-grid/README.md +26 -0
- package/src/components/bento-grid/bento-grid.css +12 -0
- package/src/components/bento-grid/element.ts +22 -0
- package/src/components/bento-grid/engine.ts +153 -0
- package/src/components/bento-grid/react.tsx +25 -0
- package/src/components/code-block/README.md +1 -1
- package/src/components/code-block/code-block.css +5 -0
- package/src/components/code-block/engine.ts +5 -0
- package/src/components/command-search/README.md +1 -1
- package/src/components/command-search/command-search.css +12 -2
- package/src/components/command-search/engine.ts +6 -0
- package/src/components/dialog/README.md +104 -103
- package/src/components/dialog/dialog.css +2 -0
- package/src/components/dialog/engine.ts +465 -449
- package/src/components/drilldown-menu/drilldown-menu.css +11 -7
- package/src/components/drilldown-menu/engine.ts +44 -4
- package/src/components/equalizer-slider/README.md +43 -0
- package/src/components/equalizer-slider/element.ts +41 -0
- package/src/components/equalizer-slider/engine.ts +32 -0
- package/src/components/equalizer-slider/equalizer-slider.css +26 -0
- package/src/components/equalizer-slider/react.tsx +60 -0
- package/src/components/equalizer-slider/shared.ts +161 -0
- package/src/components/handwriting-text/README.md +29 -0
- package/src/components/handwriting-text/element.ts +14 -0
- package/src/components/handwriting-text/engine.ts +108 -0
- package/src/components/handwriting-text/glyphs.ts +71 -0
- package/src/components/handwriting-text/handwriting-text.css +14 -0
- package/src/components/handwriting-text/react.tsx +23 -0
- package/src/components/heatmap-chart/README.md +48 -48
- package/src/components/heatmap-chart/engine.ts +6 -1
- package/src/components/heatmap-chart/heatmap-chart.css +5 -1
- package/src/components/icons.ts +1 -0
- package/src/components/magnetize-button/README.md +26 -0
- package/src/components/magnetize-button/element.ts +13 -0
- package/src/components/magnetize-button/engine.ts +84 -0
- package/src/components/magnetize-button/magnetize-button.css +17 -0
- package/src/components/magnetize-button/react.tsx +22 -0
- package/src/components/morphing-page-dots/README.md +28 -0
- package/src/components/morphing-page-dots/element.ts +16 -0
- package/src/components/morphing-page-dots/engine.ts +89 -0
- package/src/components/morphing-page-dots/morphing-page-dots.css +12 -0
- package/src/components/morphing-page-dots/react.tsx +32 -0
- package/src/components/not-found/README.md +26 -0
- package/src/components/not-found/element.ts +15 -0
- package/src/components/not-found/engine.ts +57 -0
- package/src/components/not-found/not-found.css +21 -0
- package/src/components/not-found/react.tsx +23 -0
- package/src/components/notification-stack/README.md +24 -0
- package/src/components/notification-stack/element.ts +26 -0
- package/src/components/notification-stack/engine.ts +329 -0
- package/src/components/notification-stack/notification-stack.css +41 -0
- package/src/components/notification-stack/react.tsx +28 -0
- package/src/components/particle-button/README.md +26 -0
- package/src/components/particle-button/element.ts +13 -0
- package/src/components/particle-button/engine.ts +52 -0
- package/src/components/particle-button/particle-button.css +13 -0
- package/src/components/particle-button/react.tsx +22 -0
- package/src/components/radio-group/README.md +43 -0
- package/src/components/radio-group/element.ts +41 -0
- package/src/components/radio-group/engine.ts +11 -0
- package/src/components/radio-group/radio-group.css +28 -0
- package/src/components/radio-group/react.tsx +60 -0
- package/src/components/radio-group/shared.ts +118 -0
- package/src/components/rating-scale/README.md +43 -0
- package/src/components/rating-scale/element.ts +41 -0
- package/src/components/rating-scale/engine.ts +63 -0
- package/src/components/rating-scale/rating-scale.css +22 -0
- package/src/components/rating-scale/react.tsx +60 -0
- package/src/components/scroll-area/README.md +89 -0
- package/src/components/scroll-area/element.ts +35 -0
- package/src/components/scroll-area/engine.ts +528 -0
- package/src/components/scroll-area/react.tsx +67 -0
- package/src/components/scroll-area/scroll-area.css +260 -0
- package/src/components/scroll-preview-dock/README.md +24 -0
- package/src/components/scroll-preview-dock/element.ts +20 -0
- package/src/components/scroll-preview-dock/engine.ts +228 -0
- package/src/components/scroll-preview-dock/react.tsx +26 -0
- package/src/components/scroll-preview-dock/scroll-preview-dock.css +17 -0
- package/src/components/select/README.md +23 -9
- package/src/components/select/engine.ts +16 -4
- package/src/components/select/select.css +38 -4
- package/src/components/signature-pad/engine.ts +550 -437
- package/src/components/signature-pad/signature-pad.css +130 -103
- package/src/components/stepper/README.md +46 -0
- package/src/components/stepper/element.ts +42 -0
- package/src/components/stepper/engine.ts +103 -0
- package/src/components/stepper/react.tsx +60 -0
- package/src/components/stepper/stepper.css +35 -0
- package/src/components/sticky-header/README.md +30 -0
- package/src/components/sticky-header/element.ts +19 -0
- package/src/components/sticky-header/engine.ts +95 -0
- package/src/components/sticky-header/react.tsx +25 -0
- package/src/components/sticky-header/sticky-header.css +9 -0
- package/src/components/temperature-slider/README.md +42 -0
- package/src/components/temperature-slider/element.ts +53 -0
- package/src/components/temperature-slider/engine.ts +44 -0
- package/src/components/temperature-slider/react.tsx +66 -0
- package/src/components/temperature-slider/temperature-slider.css +29 -0
- package/src/components/voice-message-bubble/engine.ts +11 -0
- package/src/components/voice-message-bubble/voice-message-bubble.css +14 -12
- package/src/components/waveform-player/README.md +1 -1
- package/src/components/waveform-player/engine.ts +344 -261
- package/src/components/waveform-player/waveform-player.css +50 -35
- package/src/components/wheel-picker/README.md +3 -1
- package/src/components/wheel-picker/element.ts +12 -5
- package/src/components/wheel-picker/engine.ts +37 -8
- package/src/components/wheel-picker/wheel-picker.css +17 -16
- package/src/core/timing.ts +2 -0
- package/src/css/tokens.css +4 -0
- package/src/elements/index.ts +321 -273
- package/src/index.ts +312 -295
- package/src/motion/morph.ts +5 -2
- package/src/react/index.ts +17 -0
- package/dist/chunk-7IQTMF7Y.js.map +0 -1
- package/dist/chunk-DOOMULVV.js.map +0 -1
- package/dist/chunk-VJFPTLAK.js.map +0 -1
- /package/dist/{chunk-QFBOHPWZ.js.map → chunk-CQP66AZK.js.map} +0 -0
- /package/dist/{chunk-QP4QJOEN.js.map → chunk-H4STLMCM.js.map} +0 -0
- /package/dist/{chunk-BZLMCHUD.js.map → chunk-KDIJX6G4.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { V as ActionButtonInstance, W as ActionButtonOptions, X as ActionButtonVariant, Y as CardDockInstance, Z as CardDockOptions, _ as CascadeInstance, $ as CascadeOptions, a0 as ContrastInstance, a1 as ContrastOptions, a2 as CounterInstance, a3 as CounterOptions, C as CurvedCarouselInstance, a4 as CurvedCarouselOptions, a5 as DepthGridInstance, a6 as DepthGridOptions, a7 as DockPillInstance, a8 as DockPillOptions, a9 as DragRulerInstance, aa as DragRulerOptions, ab as DrawerInstance, ac as DrawerOptions, ad as DrawerSide, ae as EditorialRevealInstance, af as EditorialRevealOptions, ag as FillTextInstance, ah as FillTextOptions, ai as FilmHeroInstance, aj as FilmHeroOptions, ak as FitTextInstance, al as FitTextOptions, am as FlowInOptions, an as FlowInstance, ao as FlowOptions, ap as FlowOutOptions, aq as FontCycleFace, ar as FontCycleInstance, as as FontCycleOptions, at as FrameZoomInstance, au as FrameZoomOptions, av as ImageZoomInstance, aw as ImageZoomOptions, ax as InfiniteReelInstance, ay as InfiniteReelOptions, az as JoinedCtaInstance, aA as JoinedCtaOptions, aB as LettersInstance, aC as LettersOptions, aD as LocalClockInstance, aE as LocalClockOptions, U as MK_HEAD_SCRIPT, aF as MarqueeInstance, aG as MarqueeOptions, aH as MaskTextInstance, aI as MaskTextOptions, aJ as ParallaxInstance, aK as ParallaxOptions, aL as PileInstance, aM as PileLayer, aN as PileOptions, aO as PopInstance, aP as PopOptions, aQ as RadialMenuInstance, aR as RadialMenuOptions, aS as ReflowInstance, aT as ReflowOptions, aU as ReorderDetail, aV as RepelBentoInstance, aW as RepelBentoOptions, aX as RevealInstance, aY as RevealRecipeOptions, aZ as RotatorInstance, a_ as RotatorOptions, a$ as ScrollDockInstance, b0 as ScrollDockOptions, b1 as SlotTextInstance, b2 as SlotTextOptions, b3 as SnapStripInstance, b4 as SnapStripOptions, b5 as SortableInstance, b6 as SortableLabels, b7 as SortableOptions, b8 as SpringCardsInstance, b9 as SpringCardsOptions, ba as StickerInstance, bb as StickerOptions, bc as StickerState, bd as StretchFooterInstance, be as StretchFooterOptions, bf as TabsInstance, bg as TabsOptions, bh as TextRollInstance, bi as TextRollOptions, bj as ThumbnailNavInstance, bk as ThumbnailNavOptions, N as TicketMenuInstance, T as TicketMenuOptions, bl as WeightHoverInstance, bm as WeightHoverOptions, bn as WordsInstance, bo as WordsOptions, e as createActionButton, K as createCardDock, B as createCascade, I as createContrast, v as createCounter, bp as createCurvedCarousel, G as createDepthGrid, S as createDockPill, R as createDragRuler, h as createDrawer, g as createEditorialReveal, M as createFillText, f as createFilmHero, r as createFitText, p as createFlow, b as createFontCycle, H as createFrameZoom, a as createImageZoom, O as createInfiniteReel, c as createJoinedCta, E as createLetters, l as createLocalClock, J as createMarquee, A as createMaskText, F as createParallax, n as createPile, q as createPop, t as createRadialMenu, x as createReflow, P as createRepelBento, w as createReveal, Q as createRotator, k as createScrollDock, y as createSlotText, L as createSnapStrip, z as createSortable, m as createSpringCards, j as createSticker, s as createStretchFooter, u as createTabs, D as createTextRoll, d as createThumbnailNav, bq as createTicketMenu, i as createWeightHover, o as createWords, br as entrances, bs as flowIn, bt as flowOut, bu as moveItem, bv as pileLayers, bw as pileStyle, bx as reduced, by as stepChange } from './reduced-
|
|
1
|
+
export { aq as ActivityActor, ar as ActivityFeedInstance, as as ActivityFeedOptions, at as ActivityItem, au as ActivityKind, av as AddToCartInstance, aw as AddToCartOptions, ax as AttachmentFile, ay as AttachmentInstance, az as AttachmentLabels, aA as AttachmentOptions, aB as AttachmentRejectCode, aC as AttachmentRejection, aD as AttachmentStatus, aE as BRAND_LABELS, aF as BadgeButtonInstance, aG as BadgeButtonOptions, aH as BentoGridInstance, aI as BentoGridOptions, aJ as BreadcrumbInstance, aK as BreadcrumbItem, aL as BreadcrumbOptions, aM as CHANNEL_LABELS, aN as CalendarEvent, aO as CalendarEventStatus, aP as CalendarInstance, aQ as CalendarLabels, aR as CalendarOptions, aS as CalendarRange, aT as CalendarView, aU as CardBrand, aV as ChartInstance, aW as ChartOptions, aX as ChartPoint, aY as ChartSeries, aZ as ChartTooltipInstance, a_ as ChartTooltipOptions, a$ as ChartTooltipSeries, b0 as ChartType, b1 as CheckState, b2 as CodeBlockInstance, b3 as CodeBlockOptions, b4 as ColorAreaInstance, b5 as ColorAreaOptions, b6 as ColorChannel, b7 as ColorFieldInstance, b8 as ColorFieldOptions, b9 as ColorFormat, ba as ColorPickerInstance, bb as ColorPickerOptions, bc as ColorSliderInstance, bd as ColorSliderOptions, be as CommandItem, bf as CommandSearchInstance, bg as CommandSearchOptions, bh as ContextMenuInstance, bi as ContextMenuOptions, bj as CreditCardField, bk as CreditCardInstance, bl as CreditCardLabels, bm as CreditCardOptions, bn as CreditCardValues, bo as DataAction, bp as DataColumn, bq as DataColumnType, br as DataRow, bs as DataSort, bt as DataTableInstance, bu as DataTableOptions, ap as DateInput, bv as DateRange, bw as DateRangePickerInstance, bx as DateRangePickerOptions, by as DateTimePickerInstance, bz as DateTimePickerOptions, bA as DialogInstance, bB as DialogLabels, bC as DialogOptions, bD as DialogPlacement, bE as DialogVariant, bF as DrilldownMenuInstance, bG as DrilldownMenuItem, bH as DrilldownMenuOptions, bI as EditableColumn, bJ as EditableTableInstance, bK as EditableTableOptions, bL as EditorKind, bM as EmptyAction, bN as EmptyIllustration, bO as EmptyStateInstance, bP as EmptyStateOptions, bQ as EqualizerSliderInstance, bR as EqualizerSliderOptions, bS as Expiry, bT as FileChange, bU as FileEntry, bV as FileExplorerInstance, bW as FileExplorerOptions, bX as FileFamily, bY as FileSort, bZ as FileView, b_ as FilterBuilderInstance, b$ as FilterBuilderOptions, c0 as FilterField, c1 as FilterFieldType, c2 as FilterGroup, c3 as FilterNode, c4 as FilterRule, c5 as FilterValue, c6 as HandwritingTextInstance, c7 as HandwritingTextOptions, c8 as HoldConfirmInstance, c9 as HoldConfirmOptions, ca as HoverCardInstance, cb as HoverCardOptions, cc as Hsla, cd as Hsva, ce as ImagePreviewInstance, cf as ImagePreviewOptions, cg as InputOtpInstance, ch as InputOtpOptions, ci as JsonType, cj as JsonViewerInstance, ck as JsonViewerOptions, cl as LinkPreviewInstance, cm as LinkPreviewOptions, cn as LinkPreviewVariant, co as LoadingButtonInstance, cp as LoadingButtonOptions, cq as LoadingState, cr as MagnetizeButtonInstance, cs as MagnetizeButtonOptions, ct as MenuInstance, cu as MenuOptions, cv as MorphingPageDotsInstance, cw as MorphingPageDotsOptions, cx as MultiSelectInstance, cy as MultiSelectOption, cz as MultiSelectOptions, cA as NotFoundInstance, cB as NotFoundOptions, cC as NotificationBellInstance, cD as NotificationBellOptions, cE as NotificationStackDirection, cF as NotificationStackInstance, cG as NotificationStackItem, cH as NotificationStackOptions, cI as OPERATORS, cJ as PaginationInstance, cK as PaginationOptions, cL as PanelOrientation, cM as ParticleButtonInstance, cN as ParticleButtonOptions, cO as PasswordChecks, cP as PasswordScore, cQ as PasswordStrengthInstance, cR as PasswordStrengthOptions, cS as Placed, cT as Placement, cU as PopoverInstance, cV as PopoverOptions, cW as ProgressInstance, cX as ProgressOptions, cY as ProgressVariant, cZ as QuantityInstance, c_ as QuantityOptions, c$ as QuestionnaireAnswers, d0 as QuestionnaireInstance, d1 as QuestionnaireLabels, d2 as QuestionnaireOptions, d3 as RadioGroupInstance, d4 as RadioGroupItem, d5 as RadioGroupOptions, d6 as RangeCalendarInstance, d7 as RangeCalendarOptions, d8 as RangeSliderInstance, d9 as RangeSliderOptions, da as RangeValue, db as RatingScaleInstance, dc as RatingScaleOptions, dd as ResizablePanelInstance, de as ResizablePanelOptions, ao as RevealHandle, df as RevealOptions, dg as RevealSpeed, dh as Rgba, di as RichCommand, dj as RichTextEditorInstance, dk as RichTextEditorOptions, dl as RowChange, dm as RowId, dn as STRENGTH_LABELS, dp as ScratchCardInstance, dq as ScratchCardOptions, dr as ScrollAreaAxis, ds as ScrollAreaInstance, dt as ScrollAreaOptions, du as ScrollAreaVisibility, dv as ScrollIslandInstance, dw as ScrollIslandOptions, dx as ScrollPreviewDockInstance, dy as ScrollPreviewDockItem, dz as ScrollPreviewDockOptions, dA as SelectInstance, dB as SelectOption, dC as SelectOptions, dD as Side, dE as SignatureData, dF as SignatureExportOptions, dG as SignaturePNGOptions, dH as SignaturePadChangeDetail, dI as SignaturePadChangeReason, dJ as SignaturePadInstance, dK as SignaturePadOptions, dL as SignaturePoint, dM as SignatureStroke, dN as SkeletonAnimation, dO as SkeletonInstance, dP as SkeletonOptions, dQ as SkeletonShape, dR as SlotPickerInstance, dS as SlotPickerLabels, dT as SlotPickerOptions, dU as SlotSource, dV as SlotValue, dW as SortDirection, dX as SplitSide, dY as SplitViewInstance, dZ as SplitViewOptions, d_ as StarRatingInstance, d$ as StarRatingOptions, e0 as StatCardInstance, e1 as StatCardOptions, e2 as StepperInstance, e3 as StepperItem, e4 as StepperOptions, e5 as StickyHeaderInstance, e6 as StickyHeaderOptions, e7 as StudioDockInstance, e8 as StudioDockOptions, e9 as StudioDockState, ea as StudioDockView, eb as TIMING, ec as TagInputInstance, ed as TagInputOptions, ee as TemperatureSliderInstance, ef as TemperatureSliderOptions, eg as TemperatureUnit, eh as TimeFieldInstance, ei as TimeFieldOptions, ej as TimeInput, ek as TimelineEvent, el as TimelineInstance, em as TimelineOptions, en as TimelineStatus, eo as TooltipInstance, ep as TooltipOptions, eq as TrailerInstance, er as TrailerOptions, es as TreeNode, et as TreeViewInstance, eu as TreeViewOptions, ev as VirtualKey, ew as VirtualListInstance, ex as VirtualListOptions, ey as VirtualRange, ez as VirtualScrollOptions, eA as VirtualSizes, eB as VoiceMessageBubbleInstance, eC as VoiceMessageBubbleOptions, eD as VoiceMessageStatus, eE as WaveformPlayerInstance, eF as WaveformPlayerOptions, eG as WaveformPlayerState, eH as WaveformPlayerStatus, eI as WheelPickerEntry, eJ as WheelPickerInstance, eK as WheelPickerItem, eL as WheelPickerOptions, eM as acceptsFile, eN as bandDuration, eO as cardLength, eP as channelText, eQ as checkStates, eR as codeLines, aa as createActivityFeed, al as createAddToCart, K as createAttachment, m as createBadgeButton, g as createBentoGrid, a1 as createBreadcrumb, A as createCalendar, S as createChart, a4 as createChartTooltip, N as createCodeBlock, U as createColorArea, V as createColorField, W as createColorPicker, T as createColorSlider, D as createCommandSearch, O as createContextMenu, C as createCreditCard, ah as createDataTable, Z as createDateRangePicker, a7 as createDateTimePicker, eS as createDialog, q as createDrilldownMenu, ai as createEditableTable, a2 as createEmptyState, b as createEqualizerSlider, ac as createFileExplorer, a8 as createFilterBuilder, j as createHandwritingText, E as createHoldConfirm, y as createHoverCard, F as createImagePreview, z as createInputOtp, ad as createJsonViewer, P as createLinkPreview, a0 as createLoadingButton, l as createMagnetizeButton, eT as createMenu, n as createMorphingPageDots, a5 as createMultiSelect, o as createNotFound, G as createNotificationBell, f as createNotificationStack, x as createPagination, k as createParticleButton, H as createPasswordStrength, $ as createPopover, Q as createProgress, w as createQuantity, M as createQuestionnaire, a as createRadioGroup, Y as createRangeCalendar, R as createRangeSlider, e as createRatingScale, af as createResizablePanel, aj as createRichTextEditor, I as createScratchCard, an as createScrollArea, am as createScrollIsland, h as createScrollPreviewDock, ak as createSelect, t as createSignaturePad, eU as createSizes, L as createSkeleton, B as createSlotPicker, ag as createSplitView, J as createStarRating, a3 as createStatCard, c as createStepper, i as createStickyHeader, u as createStudioDock, a6 as createTagInput, d as createTemperatureSlider, X as createTimeField, a9 as createTimeline, _ as createTooltip, v as createTrailer, ab as createTreeView, ae as createVirtualList, r as createVoiceMessageBubble, s as createWaveformPlayer, p as createWheelPicker, eV as cvcLength, eW as dateTimeKey, eX as dayKey, eY as dayLabel, eZ as describeAccept, e_ as describeFilter, e$ as detectBrand, f0 as emptyFilter, f1 as fileFamily, f2 as findNode, f3 as formatBytes, f4 as formatColor, f5 as formatNumber, f6 as formatSize, f7 as getChannel, f8 as hasConditions, f9 as hsvToRgb, fa as jsonPath, fb as linkDomain, fc as luhn, fd as luminance, fe as matchesFilter, ff as normaliseSizes, fg as parseColor, fh as parseExpiry, fi as place, fj as rangeKeys, fk as rangeLength, fl as readAnswers, fm as relativeTime, fn as revealFrom, fo as rgbToHsv, fp as safeHref, fq as safeImage, fr as sanitizeHtml, fs as scorePassword, ft as searchTree, fu as setChannel, fv as skeletonBones, fw as sortEntries, fx as toDate, fy as toDateTimeValue, fz as toHex, fA as toHsva, fB as toRange, fC as toggleCheck } from './engine-D6XV-WNt.js';
|
|
2
|
+
export { V as ActionButtonInstance, W as ActionButtonOptions, X as ActionButtonVariant, Y as CardDockInstance, Z as CardDockOptions, _ as CascadeInstance, $ as CascadeOptions, a0 as ContrastInstance, a1 as ContrastOptions, a2 as CounterInstance, a3 as CounterOptions, C as CurvedCarouselInstance, a4 as CurvedCarouselOptions, a5 as DepthGridInstance, a6 as DepthGridOptions, a7 as DockPillInstance, a8 as DockPillOptions, a9 as DragRulerInstance, aa as DragRulerOptions, ab as DrawerInstance, ac as DrawerOptions, ad as DrawerSide, ae as EditorialRevealInstance, af as EditorialRevealOptions, ag as FillTextInstance, ah as FillTextOptions, ai as FilmHeroInstance, aj as FilmHeroOptions, ak as FitTextInstance, al as FitTextOptions, am as FlowInOptions, an as FlowInstance, ao as FlowOptions, ap as FlowOutOptions, aq as FontCycleFace, ar as FontCycleInstance, as as FontCycleOptions, at as FrameZoomInstance, au as FrameZoomOptions, av as ImageZoomInstance, aw as ImageZoomOptions, ax as InfiniteReelInstance, ay as InfiniteReelOptions, az as JoinedCtaInstance, aA as JoinedCtaOptions, aB as LettersInstance, aC as LettersOptions, aD as LocalClockInstance, aE as LocalClockOptions, U as MK_HEAD_SCRIPT, aF as MarqueeInstance, aG as MarqueeOptions, aH as MaskTextInstance, aI as MaskTextOptions, aJ as ParallaxInstance, aK as ParallaxOptions, aL as PileInstance, aM as PileLayer, aN as PileOptions, aO as PopInstance, aP as PopOptions, aQ as RadialMenuInstance, aR as RadialMenuOptions, aS as ReflowInstance, aT as ReflowOptions, aU as ReorderDetail, aV as RepelBentoInstance, aW as RepelBentoOptions, aX as RevealInstance, aY as RevealRecipeOptions, aZ as RotatorInstance, a_ as RotatorOptions, a$ as ScrollDockInstance, b0 as ScrollDockOptions, b1 as SlotTextInstance, b2 as SlotTextOptions, b3 as SnapStripInstance, b4 as SnapStripOptions, b5 as SortableInstance, b6 as SortableLabels, b7 as SortableOptions, b8 as SpringCardsInstance, b9 as SpringCardsOptions, ba as StickerInstance, bb as StickerOptions, bc as StickerState, bd as StretchFooterInstance, be as StretchFooterOptions, bf as TabsInstance, bg as TabsOptions, bh as TextRollInstance, bi as TextRollOptions, bj as ThumbnailNavInstance, bk as ThumbnailNavOptions, N as TicketMenuInstance, T as TicketMenuOptions, bl as WeightHoverInstance, bm as WeightHoverOptions, bn as WordsInstance, bo as WordsOptions, e as createActionButton, K as createCardDock, B as createCascade, I as createContrast, v as createCounter, bp as createCurvedCarousel, G as createDepthGrid, S as createDockPill, R as createDragRuler, h as createDrawer, g as createEditorialReveal, M as createFillText, f as createFilmHero, r as createFitText, p as createFlow, b as createFontCycle, H as createFrameZoom, a as createImageZoom, O as createInfiniteReel, c as createJoinedCta, E as createLetters, l as createLocalClock, J as createMarquee, A as createMaskText, F as createParallax, n as createPile, q as createPop, t as createRadialMenu, x as createReflow, P as createRepelBento, w as createReveal, Q as createRotator, k as createScrollDock, y as createSlotText, L as createSnapStrip, z as createSortable, m as createSpringCards, j as createSticker, s as createStretchFooter, u as createTabs, D as createTextRoll, d as createThumbnailNav, bq as createTicketMenu, i as createWeightHover, o as createWords, br as entrances, bs as flowIn, bt as flowOut, bu as moveItem, bv as pileLayers, bw as pileStyle, bx as reduced, by as stepChange } from './reduced-4croIXl-.js';
|
|
3
3
|
export { A as ANIMATIONS, a as AnimateOptions, b as AnimationName, C as CapturedLayout, c as ConfettiHandle, d as ConfettiOptions, E as ExitName, L as LeaveOptions, e as animate, f as captureLayout, g as confetti, l as leave, r as reflowLayout } from './confetti-BSX1CLLV.js';
|
|
4
4
|
import { C as Cleanup, I as Instance } from './types-BkS_raL8.js';
|
|
5
|
-
export { B as BidirectionalSliderInstance, a as BidirectionalSliderOptions, C as ChatInstance, b as ChatLabels, c as ChatOptions, d as ChatRole, e as CursorInstance, f as CursorOptions, g as CursorVariant, H as HeatmapChartInstance, h as HeatmapChartOptions, i as HeatmapDatum, I as IslandInstance, j as IslandOptions, N as NAV_STYLES, k as NAV_STYLE_ALIASES, l as NavInstance, m as NavOptions, n as NavStyle, o as NavStyleAlias, p as NavigateDetail, O as OrbitMenuInstance, q as OrbitMenuOptions, P as PENDING_ID, r as PieChartInstance, s as PieChartOptions, t as PieSlice, R as RadarChartInstance, u as RadarChartOptions, v as RadarSeries, w as RadialChartInstance, x as RadialChartOptions, y as RadialDatum, S as SankeyChartInstance, z as SankeyChartOptions, A as SankeyLink, D as SankeyNode, T as TOAST_LIMIT, E as ThemePickerInstance, F as ThemePickerOptions, G as ToastAction, J as ToastItem, K as ToastOptions, L as ToastTone, M as ToasterInstance, Q as ToasterLabels, U as ToasterOptions, V as ToolbarInstance, W as ToolbarOptions, X as VoiceDotsInstance, Y as VoiceDotsOptions, Z as VoiceState, _ as capturePending, $ as chatMessage, a0 as clearToasts, a1 as createBidirectionalSlider, a2 as createChat, a3 as createCursor, a4 as createHeatmapChart, a5 as createIsland, a6 as createNav, a7 as createOrbitMenu, a8 as createPieChart, a9 as createRadarChart, aa as createRadialChart, ab as createSankeyChart, ac as createThemePicker, ad as createToaster, ae as createToolbar, af as createVoiceDots, ag as dismissToast, ah as getToasts, ai as morphPendingToReply, aj as removeToast, ak as revealShell, al as subscribeToasts, am as toNavStyle, an as toast, ao as toastTimers } from './store-
|
|
5
|
+
export { B as BidirectionalSliderInstance, a as BidirectionalSliderOptions, C as ChatInstance, b as ChatLabels, c as ChatOptions, d as ChatRole, e as CursorInstance, f as CursorOptions, g as CursorVariant, H as HeatmapChartInstance, h as HeatmapChartOptions, i as HeatmapDatum, I as IslandInstance, j as IslandOptions, N as NAV_STYLES, k as NAV_STYLE_ALIASES, l as NavInstance, m as NavOptions, n as NavStyle, o as NavStyleAlias, p as NavigateDetail, O as OrbitMenuInstance, q as OrbitMenuOptions, P as PENDING_ID, r as PieChartInstance, s as PieChartOptions, t as PieSlice, R as RadarChartInstance, u as RadarChartOptions, v as RadarSeries, w as RadialChartInstance, x as RadialChartOptions, y as RadialDatum, S as SankeyChartInstance, z as SankeyChartOptions, A as SankeyLink, D as SankeyNode, T as TOAST_LIMIT, E as ThemePickerInstance, F as ThemePickerOptions, G as ToastAction, J as ToastItem, K as ToastOptions, L as ToastTone, M as ToasterInstance, Q as ToasterLabels, U as ToasterOptions, V as ToolbarInstance, W as ToolbarOptions, X as VoiceDotsInstance, Y as VoiceDotsOptions, Z as VoiceState, _ as capturePending, $ as chatMessage, a0 as clearToasts, a1 as createBidirectionalSlider, a2 as createChat, a3 as createCursor, a4 as createHeatmapChart, a5 as createIsland, a6 as createNav, a7 as createOrbitMenu, a8 as createPieChart, a9 as createRadarChart, aa as createRadialChart, ab as createSankeyChart, ac as createThemePicker, ad as createToaster, ae as createToolbar, af as createVoiceDots, ag as dismissToast, ah as getToasts, ai as morphPendingToReply, aj as removeToast, ak as revealShell, al as subscribeToasts, am as toNavStyle, an as toast, ao as toastTimers } from './store-CAHWkurn.js';
|
|
6
6
|
export { C as ChatBackgroundInstance, a as ChatBackgroundOptions, P as PillButtonInstance, b as PillButtonOptions, S as StepDetail, c as StepsInstance, d as StepsOptions, e as chatBackgroundOf, f as createChatBackground, g as createPillButton, h as createSteps } from './engine-5zRIssTO.js';
|
|
7
7
|
export { L as LikeButtonInstance, b as LikeButtonOptions, S as SwipeActionsInstance, d as SwipeActionsOptions, e as SwipeSide, c as createLikeButton, a as createSwipeActions } from './engine-QECQnGz1.js';
|
|
8
8
|
export { CustomEase } from 'gsap/CustomEase';
|
|
@@ -11,6 +11,26 @@ export { ScrollTrigger } from 'gsap/ScrollTrigger';
|
|
|
11
11
|
export { SplitText } from 'gsap/SplitText';
|
|
12
12
|
export { gsap } from 'gsap';
|
|
13
13
|
|
|
14
|
+
interface Scope {
|
|
15
|
+
/** Register any cleanup; returns it for convenience. */
|
|
16
|
+
add(fn: Cleanup): Cleanup;
|
|
17
|
+
/** addEventListener that is removed on dispose. */
|
|
18
|
+
on<K extends keyof HTMLElementEventMap>(target: EventTarget, type: K | (string & {}), listener: (event: HTMLElementEventMap[K]) => void, options?: AddEventListenerOptions | boolean): void;
|
|
19
|
+
/** Disconnects the observer on dispose and returns it. */
|
|
20
|
+
observe<O extends {
|
|
21
|
+
disconnect(): void;
|
|
22
|
+
}>(observer: O): O;
|
|
23
|
+
/** setTimeout that is cleared on dispose. */
|
|
24
|
+
timeout(fn: () => void, ms: number): void;
|
|
25
|
+
/** Set (or remove, with null) an attribute; dispose puts the original value back. */
|
|
26
|
+
attr(el: Element, name: string, value: string | null): void;
|
|
27
|
+
/** Run every cleanup once, newest first. */
|
|
28
|
+
dispose(): void;
|
|
29
|
+
readonly disposed: boolean;
|
|
30
|
+
}
|
|
31
|
+
/** Collects the side effects of one recipe instance so `destroy()` can undo all of them. */
|
|
32
|
+
declare function createScope(): Scope;
|
|
33
|
+
|
|
14
34
|
/** elastic overshoot; close to the `--mk-ease-elastic` CSS curve. */
|
|
15
35
|
declare const ELASTIC = "elastic.out(1, 0.45)";
|
|
16
36
|
/** Custom eases registered by `registerMotion()`. Use the names as GSAP `ease` values. */
|
|
@@ -287,26 +307,6 @@ declare function takeMovement(): {
|
|
|
287
307
|
my: number;
|
|
288
308
|
};
|
|
289
309
|
|
|
290
|
-
interface Scope {
|
|
291
|
-
/** Register any cleanup; returns it for convenience. */
|
|
292
|
-
add(fn: Cleanup): Cleanup;
|
|
293
|
-
/** addEventListener that is removed on dispose. */
|
|
294
|
-
on<K extends keyof HTMLElementEventMap>(target: EventTarget, type: K | (string & {}), listener: (event: HTMLElementEventMap[K]) => void, options?: AddEventListenerOptions | boolean): void;
|
|
295
|
-
/** Disconnects the observer on dispose and returns it. */
|
|
296
|
-
observe<O extends {
|
|
297
|
-
disconnect(): void;
|
|
298
|
-
}>(observer: O): O;
|
|
299
|
-
/** setTimeout that is cleared on dispose. */
|
|
300
|
-
timeout(fn: () => void, ms: number): void;
|
|
301
|
-
/** Set (or remove, with null) an attribute; dispose puts the original value back. */
|
|
302
|
-
attr(el: Element, name: string, value: string | null): void;
|
|
303
|
-
/** Run every cleanup once, newest first. */
|
|
304
|
-
dispose(): void;
|
|
305
|
-
readonly disposed: boolean;
|
|
306
|
-
}
|
|
307
|
-
/** Collects the side effects of one recipe instance so `destroy()` can undo all of them. */
|
|
308
|
-
declare function createScope(): Scope;
|
|
309
|
-
|
|
310
310
|
type DetailsInstance = Instance;
|
|
311
311
|
declare function createDetails(root: HTMLElement | null): DetailsInstance;
|
|
312
312
|
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ANIMATIONS,
|
|
3
3
|
animate,
|
|
4
4
|
leave
|
|
5
|
-
} from "./chunk-
|
|
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-
|
|
61
|
+
} from "./chunk-KDIJX6G4.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-
|
|
98
|
+
} from "./chunk-PEDYJ2TV.js";
|
|
99
99
|
import {
|
|
100
100
|
BRAND_LABELS,
|
|
101
101
|
CHANNEL_LABELS,
|
|
@@ -137,6 +137,8 @@ import {
|
|
|
137
137
|
createActivityFeed,
|
|
138
138
|
createAddToCart,
|
|
139
139
|
createAttachment,
|
|
140
|
+
createBadgeButton,
|
|
141
|
+
createBentoGrid,
|
|
140
142
|
createBreadcrumb,
|
|
141
143
|
createCalendar,
|
|
142
144
|
createChannelState,
|
|
@@ -159,8 +161,10 @@ import {
|
|
|
159
161
|
createDrilldownMenu,
|
|
160
162
|
createEditableTable,
|
|
161
163
|
createEmptyState,
|
|
164
|
+
createEqualizerSlider,
|
|
162
165
|
createFileExplorer,
|
|
163
166
|
createFilterBuilder,
|
|
167
|
+
createHandwritingText,
|
|
164
168
|
createHoldConfirm,
|
|
165
169
|
createHoverCard,
|
|
166
170
|
createImagePreview,
|
|
@@ -169,21 +173,30 @@ import {
|
|
|
169
173
|
createLikeButton,
|
|
170
174
|
createLinkPreview,
|
|
171
175
|
createLoadingButton,
|
|
176
|
+
createMagnetizeButton,
|
|
172
177
|
createMenu,
|
|
178
|
+
createMorphingPageDots,
|
|
173
179
|
createMultiSelect,
|
|
180
|
+
createNotFound,
|
|
174
181
|
createNotificationBell,
|
|
182
|
+
createNotificationStack,
|
|
175
183
|
createPagination,
|
|
184
|
+
createParticleButton,
|
|
176
185
|
createPasswordStrength,
|
|
177
186
|
createPopover,
|
|
178
187
|
createProgress,
|
|
179
188
|
createQuantity,
|
|
180
189
|
createQuestionnaire,
|
|
190
|
+
createRadioGroup,
|
|
181
191
|
createRangeCalendar,
|
|
182
192
|
createRangeSlider,
|
|
193
|
+
createRatingScale,
|
|
183
194
|
createResizablePanel,
|
|
184
195
|
createRichTextEditor,
|
|
185
196
|
createScratchCard,
|
|
197
|
+
createScrollArea,
|
|
186
198
|
createScrollIsland,
|
|
199
|
+
createScrollPreviewDock,
|
|
187
200
|
createSelect,
|
|
188
201
|
createSignaturePad,
|
|
189
202
|
createSizes,
|
|
@@ -192,10 +205,13 @@ import {
|
|
|
192
205
|
createSplitView,
|
|
193
206
|
createStarRating,
|
|
194
207
|
createStatCard,
|
|
208
|
+
createStepper,
|
|
195
209
|
createSteps,
|
|
210
|
+
createStickyHeader,
|
|
196
211
|
createStudioDock,
|
|
197
212
|
createSwipeActions,
|
|
198
213
|
createTagInput,
|
|
214
|
+
createTemperatureSlider,
|
|
199
215
|
createTimeField,
|
|
200
216
|
createTimeline,
|
|
201
217
|
createTooltip,
|
|
@@ -315,7 +331,7 @@ import {
|
|
|
315
331
|
tokenize,
|
|
316
332
|
transparentColor,
|
|
317
333
|
tweenNumber
|
|
318
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-Y4GIBTRG.js";
|
|
319
335
|
import "./chunk-RVSKEBIC.js";
|
|
320
336
|
import {
|
|
321
337
|
clamp,
|
|
@@ -332,7 +348,7 @@ import {
|
|
|
332
348
|
reduced,
|
|
333
349
|
subscribe,
|
|
334
350
|
whileVisible
|
|
335
|
-
} from "./chunk-
|
|
351
|
+
} from "./chunk-OLT3CWDJ.js";
|
|
336
352
|
import "./chunk-TGV27ZWM.js";
|
|
337
353
|
|
|
338
354
|
// src/components/chat-background/audio.ts
|
|
@@ -434,6 +450,8 @@ export {
|
|
|
434
450
|
createActivityFeed,
|
|
435
451
|
createAddToCart,
|
|
436
452
|
createAttachment,
|
|
453
|
+
createBadgeButton,
|
|
454
|
+
createBentoGrid,
|
|
437
455
|
createBidirectionalSlider,
|
|
438
456
|
createBreadcrumb,
|
|
439
457
|
createCalendar,
|
|
@@ -469,6 +487,7 @@ export {
|
|
|
469
487
|
createEditableTable,
|
|
470
488
|
createEditorialReveal,
|
|
471
489
|
createEmptyState,
|
|
490
|
+
createEqualizerSlider,
|
|
472
491
|
createFileExplorer,
|
|
473
492
|
createFillText,
|
|
474
493
|
createFilmHero,
|
|
@@ -477,6 +496,7 @@ export {
|
|
|
477
496
|
createFlow,
|
|
478
497
|
createFontCycle,
|
|
479
498
|
createFrameZoom,
|
|
499
|
+
createHandwritingText,
|
|
480
500
|
createHeatmapChart,
|
|
481
501
|
createHoldConfirm,
|
|
482
502
|
createHoverCard,
|
|
@@ -492,15 +512,20 @@ export {
|
|
|
492
512
|
createLinkPreview,
|
|
493
513
|
createLoadingButton,
|
|
494
514
|
createLocalClock,
|
|
515
|
+
createMagnetizeButton,
|
|
495
516
|
createMarquee,
|
|
496
517
|
createMaskText,
|
|
497
518
|
createMenu,
|
|
519
|
+
createMorphingPageDots,
|
|
498
520
|
createMultiSelect,
|
|
499
521
|
createNav,
|
|
522
|
+
createNotFound,
|
|
500
523
|
createNotificationBell,
|
|
524
|
+
createNotificationStack,
|
|
501
525
|
createOrbitMenu,
|
|
502
526
|
createPagination,
|
|
503
527
|
createParallax,
|
|
528
|
+
createParticleButton,
|
|
504
529
|
createPasswordStrength,
|
|
505
530
|
createPieChart,
|
|
506
531
|
createPile,
|
|
@@ -513,8 +538,10 @@ export {
|
|
|
513
538
|
createRadarChart,
|
|
514
539
|
createRadialChart,
|
|
515
540
|
createRadialMenu,
|
|
541
|
+
createRadioGroup,
|
|
516
542
|
createRangeCalendar,
|
|
517
543
|
createRangeSlider,
|
|
544
|
+
createRatingScale,
|
|
518
545
|
createReflow,
|
|
519
546
|
createRepelBento,
|
|
520
547
|
createResizablePanel,
|
|
@@ -524,8 +551,10 @@ export {
|
|
|
524
551
|
createSankeyChart,
|
|
525
552
|
createScope,
|
|
526
553
|
createScratchCard,
|
|
554
|
+
createScrollArea,
|
|
527
555
|
createScrollDock,
|
|
528
556
|
createScrollIsland,
|
|
557
|
+
createScrollPreviewDock,
|
|
529
558
|
createSelect,
|
|
530
559
|
createSignaturePad,
|
|
531
560
|
createSizes,
|
|
@@ -539,13 +568,16 @@ export {
|
|
|
539
568
|
createSpringCards,
|
|
540
569
|
createStarRating,
|
|
541
570
|
createStatCard,
|
|
571
|
+
createStepper,
|
|
542
572
|
createSteps,
|
|
543
573
|
createSticker,
|
|
574
|
+
createStickyHeader,
|
|
544
575
|
createStretchFooter,
|
|
545
576
|
createStudioDock,
|
|
546
577
|
createSwipeActions,
|
|
547
578
|
createTabs,
|
|
548
579
|
createTagInput,
|
|
580
|
+
createTemperatureSlider,
|
|
549
581
|
createTextRoll,
|
|
550
582
|
createThemePicker,
|
|
551
583
|
createThumbnailNav,
|
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":"
|
|
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":[]}
|
package/dist/react/index.d.ts
CHANGED
|
@@ -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-
|
|
5
|
-
export { U as MK_HEAD_SCRIPT, aM as PileLayer, aU as ReorderDetail, bu as moveItem, bv as pileLayers, bw as pileStyle } from '../reduced-
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
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-
|
|
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-
|
|
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
|
|
|
@@ -1272,4 +1273,122 @@ interface WheelPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChang
|
|
|
1272
1273
|
}
|
|
1273
1274
|
declare function WheelPicker({ items, value, defaultValue, name, label, disabled, visibleItems, itemHeight, onInput, onChange, instanceRef, className, ...props }: WheelPickerProps): react_jsx_runtime.JSX.Element;
|
|
1274
1275
|
|
|
1275
|
-
|
|
1276
|
+
interface StepperProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onInput' | 'defaultValue' | 'children' | 'dangerouslySetInnerHTML'>, Omit<StepperOptions, 'value' | 'defaultValue'> {
|
|
1277
|
+
value?: number;
|
|
1278
|
+
defaultValue?: number;
|
|
1279
|
+
instanceRef?: MutableRefObject<StepperInstance | null>;
|
|
1280
|
+
/** The engine owns this component's DOM. */
|
|
1281
|
+
children?: never;
|
|
1282
|
+
dangerouslySetInnerHTML?: never;
|
|
1283
|
+
}
|
|
1284
|
+
declare function Stepper({ value, defaultValue, items, label, name, variant, linear, disabled, onChange, instanceRef, className, children: _children, dangerouslySetInnerHTML: _html, ...props }: StepperProps): react_jsx_runtime.JSX.Element;
|
|
1285
|
+
|
|
1286
|
+
interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onInput' | 'defaultValue' | 'children' | 'dangerouslySetInnerHTML'>, Omit<RadioGroupOptions, 'value' | 'defaultValue'> {
|
|
1287
|
+
value?: string | null;
|
|
1288
|
+
defaultValue?: string | null;
|
|
1289
|
+
instanceRef?: MutableRefObject<RadioGroupInstance | null>;
|
|
1290
|
+
/** The engine owns this component's DOM. */
|
|
1291
|
+
children?: never;
|
|
1292
|
+
dangerouslySetInnerHTML?: never;
|
|
1293
|
+
}
|
|
1294
|
+
declare function RadioGroup({ value, defaultValue, items, name, label, disabled, required, error, variant, onChange, instanceRef, className, children: _children, dangerouslySetInnerHTML: _html, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
1295
|
+
|
|
1296
|
+
interface EqualizerSliderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onInput' | 'defaultValue' | 'children' | 'dangerouslySetInnerHTML'>, Omit<EqualizerSliderOptions, 'value' | 'defaultValue'> {
|
|
1297
|
+
value?: number;
|
|
1298
|
+
defaultValue?: number;
|
|
1299
|
+
instanceRef?: MutableRefObject<EqualizerSliderInstance | null>;
|
|
1300
|
+
/** The engine owns this component's DOM. */
|
|
1301
|
+
children?: never;
|
|
1302
|
+
dangerouslySetInnerHTML?: never;
|
|
1303
|
+
}
|
|
1304
|
+
declare function EqualizerSlider({ value, defaultValue, min, max, step, label, name, disabled, error, formatValue, waveform, bars, onChange, onInput, instanceRef, className, children: _children, dangerouslySetInnerHTML: _html, ...props }: EqualizerSliderProps): react_jsx_runtime.JSX.Element;
|
|
1305
|
+
|
|
1306
|
+
interface TemperatureSliderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onInput' | 'defaultValue' | 'children' | 'dangerouslySetInnerHTML'>, Omit<TemperatureSliderOptions, 'value' | 'defaultValue'> {
|
|
1307
|
+
value?: number;
|
|
1308
|
+
defaultValue?: number;
|
|
1309
|
+
instanceRef?: MutableRefObject<TemperatureSliderInstance | null>;
|
|
1310
|
+
/** The engine owns this component's DOM. */
|
|
1311
|
+
children?: never;
|
|
1312
|
+
dangerouslySetInnerHTML?: never;
|
|
1313
|
+
}
|
|
1314
|
+
declare function TemperatureSlider({ value, defaultValue, min, max, step, label, name, disabled, error, formatValue, unit, onChange, onInput, instanceRef, className, children: _children, dangerouslySetInnerHTML: _html, ...props }: TemperatureSliderProps): react_jsx_runtime.JSX.Element;
|
|
1315
|
+
|
|
1316
|
+
interface RatingScaleProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onInput' | 'defaultValue' | 'children' | 'dangerouslySetInnerHTML'>, Omit<RatingScaleOptions, 'value' | 'defaultValue'> {
|
|
1317
|
+
value?: number | null;
|
|
1318
|
+
defaultValue?: number | null;
|
|
1319
|
+
instanceRef?: MutableRefObject<RatingScaleInstance | null>;
|
|
1320
|
+
/** The engine owns this component's DOM. */
|
|
1321
|
+
children?: never;
|
|
1322
|
+
dangerouslySetInnerHTML?: never;
|
|
1323
|
+
}
|
|
1324
|
+
declare function RatingScale({ value, defaultValue, min, max, variant, labels, label, name, disabled, required, error, onChange, instanceRef, className, children: _children, dangerouslySetInnerHTML: _html, ...props }: RatingScaleProps): react_jsx_runtime.JSX.Element;
|
|
1325
|
+
|
|
1326
|
+
interface NotificationStackProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children' | 'dangerouslySetInnerHTML'>, NotificationStackOptions {
|
|
1327
|
+
instanceRef?: MutableRefObject<NotificationStackInstance | null>;
|
|
1328
|
+
children?: never;
|
|
1329
|
+
dangerouslySetInnerHTML?: never;
|
|
1330
|
+
}
|
|
1331
|
+
declare function NotificationStack({ items, expanded, direction, duration, disabled, label, labels, onDismiss, onAction, onExpandedChange, instanceRef, className, children, dangerouslySetInnerHTML: _html, ...props }: NotificationStackProps): react_jsx_runtime.JSX.Element;
|
|
1332
|
+
|
|
1333
|
+
interface BentoGridProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, BentoGridOptions {
|
|
1334
|
+
instanceRef?: MutableRefObject<BentoGridInstance | null>;
|
|
1335
|
+
}
|
|
1336
|
+
declare function BentoGrid({ columns, gap, filter, duration, onChange, instanceRef, className, children, ...props }: BentoGridProps): react_jsx_runtime.JSX.Element;
|
|
1337
|
+
|
|
1338
|
+
interface ScrollPreviewDockProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children' | 'dangerouslySetInnerHTML'>, ScrollPreviewDockOptions {
|
|
1339
|
+
instanceRef?: MutableRefObject<ScrollPreviewDockInstance | null>;
|
|
1340
|
+
children?: never;
|
|
1341
|
+
dangerouslySetInnerHTML?: never;
|
|
1342
|
+
}
|
|
1343
|
+
declare function ScrollPreviewDock({ items, scroller, offset, label, disabled, onChange, instanceRef, className, children, dangerouslySetInnerHTML: _html, ...props }: ScrollPreviewDockProps): react_jsx_runtime.JSX.Element;
|
|
1344
|
+
|
|
1345
|
+
interface StickyHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, StickyHeaderOptions {
|
|
1346
|
+
instanceRef?: MutableRefObject<StickyHeaderInstance | null>;
|
|
1347
|
+
}
|
|
1348
|
+
declare function StickyHeader({ scroller, expandedHeight, compactHeight, threshold, range, top, disabled, onChange, instanceRef, className, children, ...props }: StickyHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1349
|
+
|
|
1350
|
+
interface HandwritingTextProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children' | 'dangerouslySetInnerHTML' | 'onComplete'>, HandwritingTextOptions {
|
|
1351
|
+
instanceRef?: Ref<HandwritingTextInstance>;
|
|
1352
|
+
}
|
|
1353
|
+
declare function HandwritingText({ text, duration, autoplay, onComplete, instanceRef, className, ...props }: HandwritingTextProps): react_jsx_runtime.JSX.Element;
|
|
1354
|
+
|
|
1355
|
+
interface ParticleButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'dangerouslySetInnerHTML'>, ParticleButtonOptions {
|
|
1356
|
+
instanceRef?: Ref<ParticleButtonInstance>;
|
|
1357
|
+
}
|
|
1358
|
+
declare function ParticleButton({ label, count, distance, onAction, instanceRef, type, className, ...props }: ParticleButtonProps): react_jsx_runtime.JSX.Element;
|
|
1359
|
+
|
|
1360
|
+
interface MagnetizeButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'dangerouslySetInnerHTML'>, MagnetizeButtonOptions {
|
|
1361
|
+
instanceRef?: Ref<MagnetizeButtonInstance>;
|
|
1362
|
+
}
|
|
1363
|
+
declare function MagnetizeButton({ label, count, reach, onAction, instanceRef, type, className, ...props }: MagnetizeButtonProps): react_jsx_runtime.JSX.Element;
|
|
1364
|
+
|
|
1365
|
+
interface BadgeButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'dangerouslySetInnerHTML' | 'onChange'>, BadgeButtonOptions {
|
|
1366
|
+
defaultCount?: number;
|
|
1367
|
+
instanceRef?: Ref<BadgeButtonInstance>;
|
|
1368
|
+
}
|
|
1369
|
+
declare function BadgeButton({ label, count, defaultCount, step, hideZero, max, onChange, instanceRef, type, className, ...props }: BadgeButtonProps): react_jsx_runtime.JSX.Element;
|
|
1370
|
+
|
|
1371
|
+
interface MorphingPageDotsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'dangerouslySetInnerHTML' | 'onChange'>, MorphingPageDotsOptions {
|
|
1372
|
+
defaultValue?: number;
|
|
1373
|
+
instanceRef?: Ref<MorphingPageDotsInstance>;
|
|
1374
|
+
}
|
|
1375
|
+
declare function MorphingPageDots({ count, value, defaultValue, label, labels, pageIds, disabled, onChange, instanceRef, className, ...props }: MorphingPageDotsProps): react_jsx_runtime.JSX.Element;
|
|
1376
|
+
|
|
1377
|
+
interface NotFoundProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'dangerouslySetInnerHTML' | 'title'>, NotFoundOptions {
|
|
1378
|
+
instanceRef?: Ref<NotFoundInstance>;
|
|
1379
|
+
}
|
|
1380
|
+
declare function NotFound({ brand, title, description, homeHref, homeLabel, backLabel, showBack, onBack, instanceRef, className, ...props }: NotFoundProps): react_jsx_runtime.JSX.Element;
|
|
1381
|
+
|
|
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 };
|