@constructive-io/ui 0.14.1 → 0.14.2

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.
@@ -3,12 +3,12 @@ import { VariantProps } from "class-variance-authority";
3
3
  //#region src/components/badge.d.ts
4
4
  declare const badgeVariants: (props?: ({
5
5
  size?: "default" | "lg" | "sm" | null | undefined;
6
- variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
6
+ variant?: "default" | "destructive" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  type BadgeProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
9
9
  declare const Badge: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
10
10
  size?: "default" | "lg" | "sm" | null | undefined;
11
- variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
11
+ variant?: "default" | "destructive" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
13
13
  //#endregion
14
14
  export { Badge, type BadgeProps, badgeVariants };
@@ -3,12 +3,12 @@ import { VariantProps } from "class-variance-authority";
3
3
  //#region src/components/badge.d.ts
4
4
  declare const badgeVariants: (props?: ({
5
5
  size?: "default" | "lg" | "sm" | null | undefined;
6
- variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
6
+ variant?: "default" | "destructive" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  type BadgeProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
9
9
  declare const Badge: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
10
10
  size?: "default" | "lg" | "sm" | null | undefined;
11
- variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
11
+ variant?: "default" | "destructive" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
13
13
  //#endregion
14
14
  export { Badge, type BadgeProps, badgeVariants };
@@ -3,8 +3,8 @@ import { VariantProps } from "class-variance-authority";
3
3
  //#region src/components/button.d.ts
4
4
  declare const buttonVariants: (props?: ({
5
5
  static?: boolean | null | undefined;
6
- size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
7
- variant?: "link" | "default" | "destructive" | "destructive-outline" | "ghost" | "outline" | "secondary" | null | undefined;
6
+ size?: "default" | "lg" | "sm" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
7
+ variant?: "default" | "destructive" | "outline" | "secondary" | "destructive-outline" | "ghost" | "link" | null | undefined;
8
8
  wrap?: boolean | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -3,8 +3,8 @@ import { VariantProps } from "class-variance-authority";
3
3
  //#region src/components/button.d.ts
4
4
  declare const buttonVariants: (props?: ({
5
5
  static?: boolean | null | undefined;
6
- size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
7
- variant?: "link" | "default" | "destructive" | "destructive-outline" | "ghost" | "outline" | "secondary" | null | undefined;
6
+ size?: "default" | "lg" | "sm" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
7
+ variant?: "default" | "destructive" | "outline" | "secondary" | "destructive-outline" | "ghost" | "link" | null | undefined;
8
8
  wrap?: boolean | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -16,7 +16,7 @@ interface ItemProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps
16
16
  }
17
17
  declare const Item: React$1.ForwardRefExoticComponent<ItemProps & React$1.RefAttributes<HTMLDivElement>>;
18
18
  declare const itemMediaVariants: (props?: ({
19
- variant?: "image" | "default" | "icon" | null | undefined;
19
+ variant?: "default" | "icon" | "image" | null | undefined;
20
20
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
21
  interface ItemMediaProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof itemMediaVariants> {}
22
22
  declare function ItemMedia({ className, variant, ...props }: ItemMediaProps): React$1.JSX.Element;
@@ -16,7 +16,7 @@ interface ItemProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps
16
16
  }
17
17
  declare const Item: React$1.ForwardRefExoticComponent<ItemProps & React$1.RefAttributes<HTMLDivElement>>;
18
18
  declare const itemMediaVariants: (props?: ({
19
- variant?: "image" | "default" | "icon" | null | undefined;
19
+ variant?: "default" | "icon" | "image" | null | undefined;
20
20
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
21
  interface ItemMediaProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof itemMediaVariants> {}
22
22
  declare function ItemMedia({ className, variant, ...props }: ItemMediaProps): React$1.JSX.Element;
@@ -1,2 +1,2 @@
1
- import { $ as useStackLayoutMode, A as useIsMobile, B as StackHeaderSlot, C as isCardVisible, D as UsePeekGesturesResult, E as UsePeekGesturesOptions, F as StackCardProps, G as CardStackProvider, H as StackBackdrop, I as UseStackGesturesResult, J as useCardReady, K as useCardIndex, L as useStackGestures, M as DeferredCardContent, N as DeferredCardContentProps, O as usePeekGestures, P as StackCard, Q as useStackContext, R as StackHeader, S as getVisibleCardIndices, T as parseWidthToPixels, U as StackBackdropProps, V as StackHeaderSlotProps, W as CardStackViewport, X as useIsTopCard, Y as useCardStack, Z as useStackCards, _ as getCardOffset, _t as PushOptions, a as createExitTransition, at as CardPushOptions, b as getResponsiveCardOffset, bt as StackState, c as peekDragSpring, ct as CardSpec, d as reducedMotionBackdropVariants, dt as CardStackViewportProps, et as AnimationConfig, f as snapBackSpring, ft as DismissOptions, g as calculateResponsiveOffset, gt as PeekGestureConfig, h as ResponsiveOffsetResult, ht as MobileConfig, i as createEnterTransition, it as CardInjectedProps, j as useStackResponsive, k as UseStackResponsiveResult, l as peekHoverSpring, lt as CardStackApi, m as ResponsiveOffsetConfig, mt as LayoutMode, n as backdropVariants, nt as CardComponent, o as createOffsetTransition, ot as CardRouteDefinition, p as swipeDismissTransition, pt as GestureConfig, q as useCardInjectedProps, r as createCardVariants, rt as CardId, s as createReducedMotionVariants, st as CardRouteMap, t as DEFAULT_ANIMATION_CONFIG, tt as BackdropConfig, u as peekSlideSpring, ut as CardStackProviderProps, v as getCardZIndex, vt as StackAction, w as normalizeWidth, x as getSideBySideOffset, y as getCascadeOffset, yt as StackContextValue, z as StackHeaderProps } from "../../index-B7cT7gZU.cjs";
1
+ import { $ as useStackLayoutMode, A as useIsMobile, B as StackHeaderSlot, C as isCardVisible, D as UsePeekGesturesResult, E as UsePeekGesturesOptions, F as StackCardProps, G as CardStackProvider, H as StackBackdrop, I as UseStackGesturesResult, J as useCardReady, K as useCardIndex, L as useStackGestures, M as DeferredCardContent, N as DeferredCardContentProps, O as usePeekGestures, P as StackCard, Q as useStackContext, R as StackHeader, S as getVisibleCardIndices, T as parseWidthToPixels, U as StackBackdropProps, V as StackHeaderSlotProps, W as CardStackViewport, X as useIsTopCard, Y as useCardStack, Z as useStackCards, _ as getCardOffset, _t as PushOptions, a as createExitTransition, at as CardPushOptions, b as getResponsiveCardOffset, bt as StackState, c as peekDragSpring, ct as CardSpec, d as reducedMotionBackdropVariants, dt as CardStackViewportProps, et as AnimationConfig, f as snapBackSpring, ft as DismissOptions, g as calculateResponsiveOffset, gt as PeekGestureConfig, h as ResponsiveOffsetResult, ht as MobileConfig, i as createEnterTransition, it as CardInjectedProps, j as useStackResponsive, k as UseStackResponsiveResult, l as peekHoverSpring, lt as CardStackApi, m as ResponsiveOffsetConfig, mt as LayoutMode, n as backdropVariants, nt as CardComponent, o as createOffsetTransition, ot as CardRouteDefinition, p as swipeDismissTransition, pt as GestureConfig, q as useCardInjectedProps, r as createCardVariants, rt as CardId, s as createReducedMotionVariants, st as CardRouteMap, t as DEFAULT_ANIMATION_CONFIG, tt as BackdropConfig, u as peekSlideSpring, ut as CardStackProviderProps, v as getCardZIndex, vt as StackAction, w as normalizeWidth, x as getSideBySideOffset, y as getCascadeOffset, yt as StackContextValue, z as StackHeaderProps } from "../../index-BzLmDsId.cjs";
2
2
  export { type AnimationConfig, type BackdropConfig, type CardComponent, type CardId, type CardInjectedProps, type CardPushOptions, type CardRouteDefinition, type CardRouteMap, type CardSpec, type CardStackApi, CardStackProvider, type CardStackProviderProps, CardStackViewport, type CardStackViewportProps, DEFAULT_ANIMATION_CONFIG, DeferredCardContent, type DeferredCardContentProps, type DismissOptions, type GestureConfig, type LayoutMode, type MobileConfig, type PeekGestureConfig, type PushOptions, type ResponsiveOffsetConfig, type ResponsiveOffsetResult, type StackAction, StackBackdrop, type StackBackdropProps, StackCard, type StackCardProps, type StackContextValue, StackHeader, type StackHeaderProps, StackHeaderSlot, type StackHeaderSlotProps, type StackState, type UsePeekGesturesOptions, type UsePeekGesturesResult, type UseStackGesturesResult, type UseStackResponsiveResult, backdropVariants, calculateResponsiveOffset, createCardVariants, createEnterTransition, createExitTransition, createOffsetTransition, createReducedMotionVariants, getCardOffset, getCardZIndex, getCascadeOffset, getResponsiveCardOffset, getSideBySideOffset, getVisibleCardIndices, isCardVisible, normalizeWidth, parseWidthToPixels, peekDragSpring, peekHoverSpring, peekSlideSpring, reducedMotionBackdropVariants, snapBackSpring, swipeDismissTransition, useCardIndex, useCardInjectedProps, useCardReady, useCardStack, useIsMobile, useIsTopCard, usePeekGestures, useStackCards, useStackContext, useStackGestures, useStackLayoutMode, useStackResponsive };
@@ -1,2 +1,2 @@
1
- import { $ as useStackLayoutMode, A as useIsMobile, B as StackHeaderSlot, C as isCardVisible, D as UsePeekGesturesResult, E as UsePeekGesturesOptions, F as StackCardProps, G as CardStackProvider, H as StackBackdrop, I as UseStackGesturesResult, J as useCardReady, K as useCardIndex, L as useStackGestures, M as DeferredCardContent, N as DeferredCardContentProps, O as usePeekGestures, P as StackCard, Q as useStackContext, R as StackHeader, S as getVisibleCardIndices, T as parseWidthToPixels, U as StackBackdropProps, V as StackHeaderSlotProps, W as CardStackViewport, X as useIsTopCard, Y as useCardStack, Z as useStackCards, _ as getCardOffset, _t as PushOptions, a as createExitTransition, at as CardPushOptions, b as getResponsiveCardOffset, bt as StackState, c as peekDragSpring, ct as CardSpec, d as reducedMotionBackdropVariants, dt as CardStackViewportProps, et as AnimationConfig, f as snapBackSpring, ft as DismissOptions, g as calculateResponsiveOffset, gt as PeekGestureConfig, h as ResponsiveOffsetResult, ht as MobileConfig, i as createEnterTransition, it as CardInjectedProps, j as useStackResponsive, k as UseStackResponsiveResult, l as peekHoverSpring, lt as CardStackApi, m as ResponsiveOffsetConfig, mt as LayoutMode, n as backdropVariants, nt as CardComponent, o as createOffsetTransition, ot as CardRouteDefinition, p as swipeDismissTransition, pt as GestureConfig, q as useCardInjectedProps, r as createCardVariants, rt as CardId, s as createReducedMotionVariants, st as CardRouteMap, t as DEFAULT_ANIMATION_CONFIG, tt as BackdropConfig, u as peekSlideSpring, ut as CardStackProviderProps, v as getCardZIndex, vt as StackAction, w as normalizeWidth, x as getSideBySideOffset, y as getCascadeOffset, yt as StackContextValue, z as StackHeaderProps } from "../../index-B7cT7gZU.js";
1
+ import { $ as useStackLayoutMode, A as useIsMobile, B as StackHeaderSlot, C as isCardVisible, D as UsePeekGesturesResult, E as UsePeekGesturesOptions, F as StackCardProps, G as CardStackProvider, H as StackBackdrop, I as UseStackGesturesResult, J as useCardReady, K as useCardIndex, L as useStackGestures, M as DeferredCardContent, N as DeferredCardContentProps, O as usePeekGestures, P as StackCard, Q as useStackContext, R as StackHeader, S as getVisibleCardIndices, T as parseWidthToPixels, U as StackBackdropProps, V as StackHeaderSlotProps, W as CardStackViewport, X as useIsTopCard, Y as useCardStack, Z as useStackCards, _ as getCardOffset, _t as PushOptions, a as createExitTransition, at as CardPushOptions, b as getResponsiveCardOffset, bt as StackState, c as peekDragSpring, ct as CardSpec, d as reducedMotionBackdropVariants, dt as CardStackViewportProps, et as AnimationConfig, f as snapBackSpring, ft as DismissOptions, g as calculateResponsiveOffset, gt as PeekGestureConfig, h as ResponsiveOffsetResult, ht as MobileConfig, i as createEnterTransition, it as CardInjectedProps, j as useStackResponsive, k as UseStackResponsiveResult, l as peekHoverSpring, lt as CardStackApi, m as ResponsiveOffsetConfig, mt as LayoutMode, n as backdropVariants, nt as CardComponent, o as createOffsetTransition, ot as CardRouteDefinition, p as swipeDismissTransition, pt as GestureConfig, q as useCardInjectedProps, r as createCardVariants, rt as CardId, s as createReducedMotionVariants, st as CardRouteMap, t as DEFAULT_ANIMATION_CONFIG, tt as BackdropConfig, u as peekSlideSpring, ut as CardStackProviderProps, v as getCardZIndex, vt as StackAction, w as normalizeWidth, x as getSideBySideOffset, y as getCascadeOffset, yt as StackContextValue, z as StackHeaderProps } from "../../index-BzLmDsId.js";
2
2
  export { type AnimationConfig, type BackdropConfig, type CardComponent, type CardId, type CardInjectedProps, type CardPushOptions, type CardRouteDefinition, type CardRouteMap, type CardSpec, type CardStackApi, CardStackProvider, type CardStackProviderProps, CardStackViewport, type CardStackViewportProps, DEFAULT_ANIMATION_CONFIG, DeferredCardContent, type DeferredCardContentProps, type DismissOptions, type GestureConfig, type LayoutMode, type MobileConfig, type PeekGestureConfig, type PushOptions, type ResponsiveOffsetConfig, type ResponsiveOffsetResult, type StackAction, StackBackdrop, type StackBackdropProps, StackCard, type StackCardProps, type StackContextValue, StackHeader, type StackHeaderProps, StackHeaderSlot, type StackHeaderSlotProps, type StackState, type UsePeekGesturesOptions, type UsePeekGesturesResult, type UseStackGesturesResult, type UseStackResponsiveResult, backdropVariants, calculateResponsiveOffset, createCardVariants, createEnterTransition, createExitTransition, createOffsetTransition, createReducedMotionVariants, getCardOffset, getCardZIndex, getCascadeOffset, getResponsiveCardOffset, getSideBySideOffset, getVisibleCardIndices, isCardVisible, normalizeWidth, parseWidthToPixels, peekDragSpring, peekHoverSpring, peekSlideSpring, reducedMotionBackdropVariants, snapBackSpring, swipeDismissTransition, useCardIndex, useCardInjectedProps, useCardReady, useCardStack, useIsMobile, useIsTopCard, usePeekGestures, useStackCards, useStackContext, useStackGestures, useStackLayoutMode, useStackResponsive };
@@ -361,7 +361,7 @@ declare function useCardReady(): {
361
361
  };
362
362
  //#endregion
363
363
  //#region src/components/stack/stack-viewport.d.ts
364
- declare function CardStackViewport({ backdrop, renderBackdrop, renderHeader, renderEmpty, peekDepth, animation, mobile, peekGestures, className }: CardStackViewportProps): string | number | bigint | boolean | React$2.JSX.Element | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | null | undefined;
364
+ declare function CardStackViewport({ backdrop, renderBackdrop, renderHeader, renderEmpty, peekDepth, animation, mobile, peekGestures, className }: CardStackViewportProps): string | number | bigint | boolean | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | React$2.JSX.Element | null | undefined;
365
365
  //#endregion
366
366
  //#region src/components/stack/stack-backdrop.d.ts
367
367
  type StackBackdropProps = {
@@ -510,7 +510,7 @@ interface DeferredCardContentProps {
510
510
  * </DeferredCardContent>
511
511
  * ```
512
512
  */
513
- declare function DeferredCardContent({ children, placeholder, delay, immediate, priority, onReady }: DeferredCardContentProps): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
513
+ declare function DeferredCardContent({ children, placeholder, delay, immediate, priority, onReady }: DeferredCardContentProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element;
514
514
  //#endregion
515
515
  //#region src/components/stack/use-stack-responsive.d.ts
516
516
  type UseStackResponsiveOptions = MobileConfig;
@@ -690,4 +690,4 @@ declare function createReducedMotionVariants(): Variants;
690
690
  declare const reducedMotionBackdropVariants: Variants;
691
691
  //#endregion
692
692
  export { useStackLayoutMode as $, useIsMobile as A, StackHeaderSlot as B, isCardVisible as C, UsePeekGesturesResult as D, UsePeekGesturesOptions as E, StackCardProps as F, CardStackProvider as G, StackBackdrop as H, UseStackGesturesResult as I, useCardReady as J, useCardIndex as K, useStackGestures as L, DeferredCardContent as M, DeferredCardContentProps as N, usePeekGestures as O, StackCard as P, useStackContext as Q, StackHeader as R, getVisibleCardIndices as S, parseWidthToPixels as T, StackBackdropProps as U, StackHeaderSlotProps as V, CardStackViewport as W, useIsTopCard as X, useCardStack as Y, useStackCards as Z, getCardOffset as _, PushOptions as _t, createExitTransition as a, CardPushOptions as at, getResponsiveCardOffset as b, StackState as bt, peekDragSpring as c, CardSpec as ct, reducedMotionBackdropVariants as d, CardStackViewportProps as dt, AnimationConfig as et, snapBackSpring as f, DismissOptions as ft, calculateResponsiveOffset as g, PeekGestureConfig as gt, ResponsiveOffsetResult as h, MobileConfig as ht, createEnterTransition as i, CardInjectedProps as it, useStackResponsive as j, UseStackResponsiveResult as k, peekHoverSpring as l, CardStackApi as lt, ResponsiveOffsetConfig as m, LayoutMode as mt, backdropVariants as n, CardComponent as nt, createOffsetTransition as o, CardRouteDefinition as ot, swipeDismissTransition as p, GestureConfig as pt, useCardInjectedProps as q, createCardVariants as r, CardId as rt, createReducedMotionVariants as s, CardRouteMap as st, DEFAULT_ANIMATION_CONFIG as t, BackdropConfig as tt, peekSlideSpring as u, CardStackProviderProps as ut, getCardZIndex as v, StackAction as vt, normalizeWidth as w, getSideBySideOffset as x, getCascadeOffset as y, StackContextValue as yt, StackHeaderProps as z };
693
- //# sourceMappingURL=index-B7cT7gZU.d.cts.map
693
+ //# sourceMappingURL=index-BzLmDsId.d.cts.map
@@ -361,7 +361,7 @@ declare function useCardReady(): {
361
361
  };
362
362
  //#endregion
363
363
  //#region src/components/stack/stack-viewport.d.ts
364
- declare function CardStackViewport({ backdrop, renderBackdrop, renderHeader, renderEmpty, peekDepth, animation, mobile, peekGestures, className }: CardStackViewportProps): string | number | bigint | boolean | React$2.JSX.Element | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | null | undefined;
364
+ declare function CardStackViewport({ backdrop, renderBackdrop, renderHeader, renderEmpty, peekDepth, animation, mobile, peekGestures, className }: CardStackViewportProps): string | number | bigint | boolean | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | React$2.JSX.Element | null | undefined;
365
365
  //#endregion
366
366
  //#region src/components/stack/stack-backdrop.d.ts
367
367
  type StackBackdropProps = {
@@ -510,7 +510,7 @@ interface DeferredCardContentProps {
510
510
  * </DeferredCardContent>
511
511
  * ```
512
512
  */
513
- declare function DeferredCardContent({ children, placeholder, delay, immediate, priority, onReady }: DeferredCardContentProps): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
513
+ declare function DeferredCardContent({ children, placeholder, delay, immediate, priority, onReady }: DeferredCardContentProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element;
514
514
  //#endregion
515
515
  //#region src/components/stack/use-stack-responsive.d.ts
516
516
  type UseStackResponsiveOptions = MobileConfig;
@@ -690,4 +690,4 @@ declare function createReducedMotionVariants(): Variants;
690
690
  declare const reducedMotionBackdropVariants: Variants;
691
691
  //#endregion
692
692
  export { useStackLayoutMode as $, useIsMobile as A, StackHeaderSlot as B, isCardVisible as C, UsePeekGesturesResult as D, UsePeekGesturesOptions as E, StackCardProps as F, CardStackProvider as G, StackBackdrop as H, UseStackGesturesResult as I, useCardReady as J, useCardIndex as K, useStackGestures as L, DeferredCardContent as M, DeferredCardContentProps as N, usePeekGestures as O, StackCard as P, useStackContext as Q, StackHeader as R, getVisibleCardIndices as S, parseWidthToPixels as T, StackBackdropProps as U, StackHeaderSlotProps as V, CardStackViewport as W, useIsTopCard as X, useCardStack as Y, useStackCards as Z, getCardOffset as _, PushOptions as _t, createExitTransition as a, CardPushOptions as at, getResponsiveCardOffset as b, StackState as bt, peekDragSpring as c, CardSpec as ct, reducedMotionBackdropVariants as d, CardStackViewportProps as dt, AnimationConfig as et, snapBackSpring as f, DismissOptions as ft, calculateResponsiveOffset as g, PeekGestureConfig as gt, ResponsiveOffsetResult as h, MobileConfig as ht, createEnterTransition as i, CardInjectedProps as it, useStackResponsive as j, UseStackResponsiveResult as k, peekHoverSpring as l, CardStackApi as lt, ResponsiveOffsetConfig as m, LayoutMode as mt, backdropVariants as n, CardComponent as nt, createOffsetTransition as o, CardRouteDefinition as ot, swipeDismissTransition as p, GestureConfig as pt, useCardInjectedProps as q, createCardVariants as r, CardId as rt, createReducedMotionVariants as s, CardRouteMap as st, DEFAULT_ANIMATION_CONFIG as t, BackdropConfig as tt, peekSlideSpring as u, CardStackProviderProps as ut, getCardZIndex as v, StackAction as vt, normalizeWidth as w, getSideBySideOffset as x, getCascadeOffset as y, StackContextValue as yt, StackHeaderProps as z };
693
- //# sourceMappingURL=index-B7cT7gZU.d.ts.map
693
+ //# sourceMappingURL=index-BzLmDsId.d.ts.map
package/dist/index.d.cts CHANGED
@@ -55,7 +55,7 @@ import { Skeleton, SkeletonProps } from "./components/skeleton.cjs";
55
55
  import { Slider, SliderProps } from "./components/slider.cjs";
56
56
  import { Toaster } from "./components/sonner.cjs";
57
57
  import { Spinner, SpinnerProps } from "./components/spinner.cjs";
58
- import { $ as useStackLayoutMode, A as useIsMobile, B as StackHeaderSlot, C as isCardVisible, D as UsePeekGesturesResult, E as UsePeekGesturesOptions, F as StackCardProps, G as CardStackProvider, H as StackBackdrop, I as UseStackGesturesResult, J as useCardReady, K as useCardIndex, L as useStackGestures, M as DeferredCardContent, N as DeferredCardContentProps, O as usePeekGestures, P as StackCard, Q as useStackContext, R as StackHeader, S as getVisibleCardIndices, T as parseWidthToPixels, U as StackBackdropProps, V as StackHeaderSlotProps, W as CardStackViewport, X as useIsTopCard, Y as useCardStack, Z as useStackCards, _ as getCardOffset, _t as PushOptions, a as createExitTransition, at as CardPushOptions, b as getResponsiveCardOffset, bt as StackState, c as peekDragSpring, ct as CardSpec, d as reducedMotionBackdropVariants, dt as CardStackViewportProps, et as AnimationConfig, f as snapBackSpring, ft as DismissOptions, g as calculateResponsiveOffset, gt as PeekGestureConfig, h as ResponsiveOffsetResult, ht as MobileConfig, i as createEnterTransition, it as CardInjectedProps, j as useStackResponsive, k as UseStackResponsiveResult, l as peekHoverSpring, lt as CardStackApi, m as ResponsiveOffsetConfig, mt as LayoutMode, n as backdropVariants, nt as CardComponent, o as createOffsetTransition, ot as CardRouteDefinition, p as swipeDismissTransition, pt as GestureConfig, q as useCardInjectedProps, r as createCardVariants, rt as CardId, s as createReducedMotionVariants, st as CardRouteMap, t as DEFAULT_ANIMATION_CONFIG, tt as BackdropConfig, u as peekSlideSpring, ut as CardStackProviderProps, v as getCardZIndex, vt as StackAction, w as normalizeWidth, x as getSideBySideOffset, y as getCascadeOffset, yt as StackContextValue, z as StackHeaderProps } from "./index-B7cT7gZU.cjs";
58
+ import { $ as useStackLayoutMode, A as useIsMobile, B as StackHeaderSlot, C as isCardVisible, D as UsePeekGesturesResult, E as UsePeekGesturesOptions, F as StackCardProps, G as CardStackProvider, H as StackBackdrop, I as UseStackGesturesResult, J as useCardReady, K as useCardIndex, L as useStackGestures, M as DeferredCardContent, N as DeferredCardContentProps, O as usePeekGestures, P as StackCard, Q as useStackContext, R as StackHeader, S as getVisibleCardIndices, T as parseWidthToPixels, U as StackBackdropProps, V as StackHeaderSlotProps, W as CardStackViewport, X as useIsTopCard, Y as useCardStack, Z as useStackCards, _ as getCardOffset, _t as PushOptions, a as createExitTransition, at as CardPushOptions, b as getResponsiveCardOffset, bt as StackState, c as peekDragSpring, ct as CardSpec, d as reducedMotionBackdropVariants, dt as CardStackViewportProps, et as AnimationConfig, f as snapBackSpring, ft as DismissOptions, g as calculateResponsiveOffset, gt as PeekGestureConfig, h as ResponsiveOffsetResult, ht as MobileConfig, i as createEnterTransition, it as CardInjectedProps, j as useStackResponsive, k as UseStackResponsiveResult, l as peekHoverSpring, lt as CardStackApi, m as ResponsiveOffsetConfig, mt as LayoutMode, n as backdropVariants, nt as CardComponent, o as createOffsetTransition, ot as CardRouteDefinition, p as swipeDismissTransition, pt as GestureConfig, q as useCardInjectedProps, r as createCardVariants, rt as CardId, s as createReducedMotionVariants, st as CardRouteMap, t as DEFAULT_ANIMATION_CONFIG, tt as BackdropConfig, u as peekSlideSpring, ut as CardStackProviderProps, v as getCardZIndex, vt as StackAction, w as normalizeWidth, x as getSideBySideOffset, y as getCascadeOffset, yt as StackContextValue, z as StackHeaderProps } from "./index-BzLmDsId.cjs";
59
59
  import { Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger } from "./components/stepper.cjs";
60
60
  import { Switch, SwitchProps } from "./components/switch.cjs";
61
61
  import { Table, TableBody, TableCaption, TableCell, TableCellProps, TableFooter, TableGroupRow, TableGroupRowProps, TableHead, TableHeader, TableRow } from "./components/table.cjs";
package/dist/index.d.ts CHANGED
@@ -55,7 +55,7 @@ import { Skeleton, SkeletonProps } from "./components/skeleton.js";
55
55
  import { Slider, SliderProps } from "./components/slider.js";
56
56
  import { Toaster } from "./components/sonner.js";
57
57
  import { Spinner, SpinnerProps } from "./components/spinner.js";
58
- import { $ as useStackLayoutMode, A as useIsMobile, B as StackHeaderSlot, C as isCardVisible, D as UsePeekGesturesResult, E as UsePeekGesturesOptions, F as StackCardProps, G as CardStackProvider, H as StackBackdrop, I as UseStackGesturesResult, J as useCardReady, K as useCardIndex, L as useStackGestures, M as DeferredCardContent, N as DeferredCardContentProps, O as usePeekGestures, P as StackCard, Q as useStackContext, R as StackHeader, S as getVisibleCardIndices, T as parseWidthToPixels, U as StackBackdropProps, V as StackHeaderSlotProps, W as CardStackViewport, X as useIsTopCard, Y as useCardStack, Z as useStackCards, _ as getCardOffset, _t as PushOptions, a as createExitTransition, at as CardPushOptions, b as getResponsiveCardOffset, bt as StackState, c as peekDragSpring, ct as CardSpec, d as reducedMotionBackdropVariants, dt as CardStackViewportProps, et as AnimationConfig, f as snapBackSpring, ft as DismissOptions, g as calculateResponsiveOffset, gt as PeekGestureConfig, h as ResponsiveOffsetResult, ht as MobileConfig, i as createEnterTransition, it as CardInjectedProps, j as useStackResponsive, k as UseStackResponsiveResult, l as peekHoverSpring, lt as CardStackApi, m as ResponsiveOffsetConfig, mt as LayoutMode, n as backdropVariants, nt as CardComponent, o as createOffsetTransition, ot as CardRouteDefinition, p as swipeDismissTransition, pt as GestureConfig, q as useCardInjectedProps, r as createCardVariants, rt as CardId, s as createReducedMotionVariants, st as CardRouteMap, t as DEFAULT_ANIMATION_CONFIG, tt as BackdropConfig, u as peekSlideSpring, ut as CardStackProviderProps, v as getCardZIndex, vt as StackAction, w as normalizeWidth, x as getSideBySideOffset, y as getCascadeOffset, yt as StackContextValue, z as StackHeaderProps } from "./index-B7cT7gZU.js";
58
+ import { $ as useStackLayoutMode, A as useIsMobile, B as StackHeaderSlot, C as isCardVisible, D as UsePeekGesturesResult, E as UsePeekGesturesOptions, F as StackCardProps, G as CardStackProvider, H as StackBackdrop, I as UseStackGesturesResult, J as useCardReady, K as useCardIndex, L as useStackGestures, M as DeferredCardContent, N as DeferredCardContentProps, O as usePeekGestures, P as StackCard, Q as useStackContext, R as StackHeader, S as getVisibleCardIndices, T as parseWidthToPixels, U as StackBackdropProps, V as StackHeaderSlotProps, W as CardStackViewport, X as useIsTopCard, Y as useCardStack, Z as useStackCards, _ as getCardOffset, _t as PushOptions, a as createExitTransition, at as CardPushOptions, b as getResponsiveCardOffset, bt as StackState, c as peekDragSpring, ct as CardSpec, d as reducedMotionBackdropVariants, dt as CardStackViewportProps, et as AnimationConfig, f as snapBackSpring, ft as DismissOptions, g as calculateResponsiveOffset, gt as PeekGestureConfig, h as ResponsiveOffsetResult, ht as MobileConfig, i as createEnterTransition, it as CardInjectedProps, j as useStackResponsive, k as UseStackResponsiveResult, l as peekHoverSpring, lt as CardStackApi, m as ResponsiveOffsetConfig, mt as LayoutMode, n as backdropVariants, nt as CardComponent, o as createOffsetTransition, ot as CardRouteDefinition, p as swipeDismissTransition, pt as GestureConfig, q as useCardInjectedProps, r as createCardVariants, rt as CardId, s as createReducedMotionVariants, st as CardRouteMap, t as DEFAULT_ANIMATION_CONFIG, tt as BackdropConfig, u as peekSlideSpring, ut as CardStackProviderProps, v as getCardZIndex, vt as StackAction, w as normalizeWidth, x as getSideBySideOffset, y as getCascadeOffset, yt as StackContextValue, z as StackHeaderProps } from "./index-BzLmDsId.js";
59
59
  import { Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger } from "./components/stepper.js";
60
60
  import { Switch, SwitchProps } from "./components/switch.js";
61
61
  import { Table, TableBody, TableCaption, TableCell, TableCellProps, TableFooter, TableGroupRow, TableGroupRowProps, TableHead, TableHeader, TableRow } from "./components/table.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/ui",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "Shared UI component library built on Base UI and Tailwind CSS v4",
5
5
  "keywords": [
6
6
  "react",
@@ -885,5 +885,5 @@
885
885
  "engines": {
886
886
  "node": ">=18.0.0"
887
887
  },
888
- "gitHead": "47f7c369334a26bf7b944443892b5083acdffb2b"
888
+ "gitHead": "a6e97f153e3f76dc3975e1ce890a70189fc5498a"
889
889
  }