@atom63/ui-react 0.2.0-beta.14 → 0.2.0-beta.16
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/dist/chart/index.d.ts +48 -0
- package/dist/chart/index.js +309 -0
- package/dist/chart/index.js.map +1 -0
- package/dist/chunk-3LGXD3HE.js +450 -0
- package/dist/chunk-3LGXD3HE.js.map +1 -0
- package/dist/{chunk-ASV4A4YB.js → chunk-4HE5IB6K.js} +4 -12
- package/dist/chunk-4HE5IB6K.js.map +1 -0
- package/dist/chunk-6HKGC3HE.js +3 -0
- package/dist/chunk-6HKGC3HE.js.map +1 -0
- package/dist/chunk-6VV4EBOO.js +25 -0
- package/dist/chunk-6VV4EBOO.js.map +1 -0
- package/dist/{chunk-GRRWPMZI.js → chunk-77CBRRVT.js} +47 -7
- package/dist/chunk-77CBRRVT.js.map +1 -0
- package/dist/{chunk-IXWOWQBP.js → chunk-ALARPBUL.js} +5 -22
- package/dist/chunk-ALARPBUL.js.map +1 -0
- package/dist/{chunk-L5KFLZUC.js → chunk-BQONJKNA.js} +4 -4
- package/dist/{chunk-L5KFLZUC.js.map → chunk-BQONJKNA.js.map} +1 -1
- package/dist/{chunk-CFFGYLY3.js → chunk-CO6KHYO5.js} +26 -4
- package/dist/chunk-CO6KHYO5.js.map +1 -0
- package/dist/chunk-FHL2NLXP.js +101 -0
- package/dist/chunk-FHL2NLXP.js.map +1 -0
- package/dist/chunk-HPUHI2YJ.js +69 -0
- package/dist/chunk-HPUHI2YJ.js.map +1 -0
- package/dist/{chunk-BSDSLG3L.js → chunk-IEHYTNLS.js} +7 -4
- package/dist/chunk-IEHYTNLS.js.map +1 -0
- package/dist/{chunk-TAXYD4I4.js → chunk-IPUBANIB.js} +3 -2
- package/dist/chunk-IPUBANIB.js.map +1 -0
- package/dist/chunk-QU33S646.js +118 -0
- package/dist/chunk-QU33S646.js.map +1 -0
- package/dist/{chunk-WLLPGOQ7.js → chunk-SL6J2Y6I.js} +18 -6
- package/dist/chunk-SL6J2Y6I.js.map +1 -0
- package/dist/{chunk-3R74FOXV.js → chunk-VUUSD5AG.js} +3 -3
- package/dist/{chunk-3R74FOXV.js.map → chunk-VUUSD5AG.js.map} +1 -1
- package/dist/{chunk-CJAWGKA5.js → chunk-Y52BV635.js} +16 -4
- package/dist/chunk-Y52BV635.js.map +1 -0
- package/dist/components/art-plate/index.js +7 -0
- package/dist/components/art-plate/index.js.map +1 -0
- package/dist/components/command/index.js +1 -1
- package/dist/components/drawer/index.js +1 -1
- package/dist/components/feedback-state/index.js +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/layered-scene/index.js +7 -0
- package/dist/components/layered-scene/index.js.map +1 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/segmented-control/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +3 -3
- package/dist/components/sidebar-nav-tree/index.js +4 -4
- package/dist/components/table/index.js +2 -1
- package/dist/{index-DlcaeyJS.d.ts → index-B0PHovoW.d.ts} +10 -3
- package/dist/index.d.ts +123 -11
- package/dist/index.js +35 -30
- package/dist/media/index.d.ts +24 -3
- package/dist/media/index.js +9 -361
- package/dist/media/index.js.map +1 -1
- package/dist/media/media-lightbox/parts/index.js +2 -1
- package/dist/preview/index.d.ts +1 -1
- package/dist/preview/index.js +7 -7
- package/dist/theme/index.d.ts +6 -2
- package/dist/theme/index.js +10 -1
- package/dist/theme/index.js.map +1 -1
- package/package.json +11 -3
- package/src/components/alert-dialog/alert-dialog.css +1 -1
- package/src/components/art-plate/art-plate.css +172 -0
- package/src/components/autocomplete/autocomplete.css +21 -11
- package/src/components/chart/chart.css +316 -0
- package/src/components/checkbox/checkbox.css +1 -1
- package/src/components/command/command.css +13 -0
- package/src/components/feedback-state/feedback-state.css +2 -1
- package/src/components/field/field.css +1 -1
- package/src/components/form/form.css +1 -1
- package/src/components/input/input.css +3 -3
- package/src/components/input-otp/input-otp.css +3 -3
- package/src/components/layered-scene/layered-scene.css +117 -0
- package/src/components/load-more-trigger/load-more-trigger.css +4 -2
- package/src/components/radio/radio.css +1 -1
- package/src/components/rating/rating.css +18 -17
- package/src/components/segmented-control/segmented-control.css +11 -11
- package/src/components/select/select.css +3 -3
- package/src/components/table/table.css +5 -0
- package/src/components/textarea/textarea.css +3 -3
- package/src/styles/recipes.css +3 -0
- package/dist/chunk-ASV4A4YB.js.map +0 -1
- package/dist/chunk-BSDSLG3L.js.map +0 -1
- package/dist/chunk-CFFGYLY3.js.map +0 -1
- package/dist/chunk-CJAWGKA5.js.map +0 -1
- package/dist/chunk-GRRWPMZI.js.map +0 -1
- package/dist/chunk-IXWOWQBP.js.map +0 -1
- package/dist/chunk-T7FUZUZO.js +0 -70
- package/dist/chunk-T7FUZUZO.js.map +0 -1
- package/dist/chunk-TAXYD4I4.js.map +0 -1
- package/dist/chunk-WLLPGOQ7.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { RefObject, ReactElement, ReactNode, ComponentPropsWithoutRef, ComponentProps } from 'react';
|
|
4
|
-
import { AlertVariant, AmountSize, AmountFraction, AnimatedCheckVariant, AutocompleteSize, AutocompleteSizeAlias, AvatarRing, AvatarShape, AvatarSize, AvatarSizeAlias, BadgeVariant, BadgeSize, BadgeDotColor, SeparatorVariant, ButtonGroupOrientation, ButtonGroupSize, ButtonGroupSizeAlias, CarouselDotShape, CarouselDotTone, TextareaSize, InputSize, InputVariant, InputGroupAlign, ChatComposerLayout, ChatComposerStatus, ChatMessageRole, ChatMessageAppearance, ChatStepStatus, CheckboxIndicator, CheckboxSize, ConnectedPanelAlign, CopyButtonSize, CopyButtonVariant, DrawerDirection, DrawerFooterVariant, EmptyMediaVariant, FeedbackStateSize, FeedbackStateKind, FieldOrientation, FieldLegendVariant, FrameVariant, FrameTray, FramePanelSurface, FrameBorder, ItemVariant, ItemSize, ItemSizeAlias, ItemTone, ItemGroupVariant, ItemGroupSurface, ItemMediaVariant, KbdSize, LoadMoreTriggerState, LoadMoreTriggerVariant, MessageDirection, MessagePosition, MessageDeliveryState, ProgressTone, ProgressiveBlurPosition, RadioIndicator, RadioSize, RatingSize, ResizableVariant, SegmentedControlSize, SegmentedControlTone, SegmentedControlVariant, SheetSide as SheetSide$1, SheetVariant as SheetVariant$1, SheetFooterVariant, SidebarSide, SidebarVariant, SidebarCollapsible, SidebarState, SidebarMenuButtonVariant, SidebarMenuButtonSize, SidebarMenuButtonTone, SidebarMenuSubButtonSize, SidebarNavTreeTone, SliderTone, SwitchSize, TableSize, TableSizeAlias, TableTone, TableVariant, TableStickyEdge, TabsSize, TabsSizeAlias, TabsVariant, TextTickerVariant, ToasterVariant, ToggleSize, ToggleTone, ToggleGroupVariant, UIEnvironment, Mode, Theme } from '@atom63/ui-foundation';
|
|
4
|
+
import { AlertVariant, AmountSize, AmountFraction, AnimatedCheckVariant, ArtPlateSafeArea, ArtPlateSize, ArtPlateTone, ArtPlateVeil, AutocompleteSize, AutocompleteSizeAlias, AvatarRing, AvatarShape, AvatarSize, AvatarSizeAlias, BadgeVariant, BadgeSize, BadgeDotColor, SeparatorVariant, ButtonGroupOrientation, ButtonGroupSize, ButtonGroupSizeAlias, CarouselDotShape, CarouselDotTone, TextareaSize, InputSize, InputVariant, InputGroupAlign, ChatComposerLayout, ChatComposerStatus, ChatMessageRole, ChatMessageAppearance, ChatStepStatus, CheckboxIndicator, CheckboxSize, ConnectedPanelAlign, CopyButtonSize, CopyButtonVariant, DrawerDirection, DrawerFooterVariant, EmptyMediaVariant, FeedbackStateSize, FeedbackStateKind, FieldOrientation, FieldLegendVariant, FrameVariant, FrameTray, FramePanelSurface, FrameBorder, ItemVariant, ItemSize, ItemSizeAlias, ItemTone, ItemGroupVariant, ItemGroupSurface, ItemMediaVariant, KbdSize, LayeredScenePlacement, LayeredSceneWidth, LoadMoreTriggerState, LoadMoreTriggerVariant, MessageDirection, MessagePosition, MessageDeliveryState, ProgressTone, ProgressiveBlurPosition, RadioIndicator, RadioSize, RatingSize, ResizableVariant, SegmentedControlSize, SegmentedControlTone, SegmentedControlVariant, SheetSide as SheetSide$1, SheetVariant as SheetVariant$1, SheetFooterVariant, SidebarSide, SidebarVariant, SidebarCollapsible, SidebarState, SidebarMenuButtonVariant, SidebarMenuButtonSize, SidebarMenuButtonTone, SidebarMenuSubButtonSize, SidebarNavTreeTone, SliderTone, SwitchSize, TableSize, TableSizeAlias, TableTone, TableVariant, TableStickyEdge, TabsSize, TabsSizeAlias, TabsVariant, TextTickerVariant, ToasterVariant, ToggleSize, ToggleTone, ToggleGroupVariant, UIEnvironment, Mode, Theme } from '@atom63/ui-foundation';
|
|
5
5
|
export { AvatarSize, Density, DesignLanguage, DestinationKind, DialogFooterVariant, DialogMobilePlacement, DialogSize, EmptyMediaVariant, FeedbackStateKind, FeedbackStateSize, FieldOrientation, InputGroupAlign, LoadMoreTriggerState, LoadMoreTriggerVariant, Mode, PointerInput, ProgressiveBlurPosition, Theme, UIEnvironment } from '@atom63/ui-foundation';
|
|
6
|
-
import { T as TooltipPopup } from './index-
|
|
7
|
-
export { A as ATOM63_FLYOUT_TRANSITION, a as ATOM63_FLYOUT_TRANSITION_CSS, b as ATOM63_MOTION_EASE, c as ATOM63_MOTION_EASE_CSS, d as ATOM63_OVERLAY_MOTION_DURATION_CSS, e as ATOM63_OVERLAY_MOTION_DURATION_MS, f as ATOM63_OVERLAY_MOTION_EASE, g as ATOM63_OVERLAY_MOTION_EASE_CSS, h as AlertDialog, i as AlertDialogAction, j as AlertDialogBackdrop, k as AlertDialogCancel, l as AlertDialogClose, m as AlertDialogContent, n as AlertDialogCreateHandle, o as AlertDialogDescription, p as AlertDialogFooter, q as AlertDialogHeader, r as AlertDialogMedia, j as AlertDialogOverlay, m as AlertDialogPopup, s as AlertDialogPortal, t as AlertDialogTitle, u as AlertDialogTrigger, v as AlertDialogViewport, B as ButtonGroupProvider, C as Card, w as CardAction, x as CardContent, y as CardContentProps, z as CardCursorLabel, D as CardDescription, E as CardDescriptionProps, F as CardFooter, G as CardFooterProps, H as CardHeader, I as CardHeaderProps, J as CardLabel, K as CardMedia, L as CardMediaOverlay, M as CardMediaOverlayBottom, N as CardMediaOverlayIconButton, O as CardMediaOverlayImage, P as CardMediaOverlayProps, Q as CardMediaOverlayScrim, R as CardMediaOverlayTopRight, S as CardMediaProps, U as CardProps, V as CardResponsivePadding, W as CardTags, X as CardTitle, Y as CardTitleProps, Z as Command, _ as CommandCollection, $ as CommandCreateHandle, a0 as CommandDialog, a1 as CommandDialogBackdrop, a2 as CommandDialogPopup, a3 as
|
|
6
|
+
import { T as TooltipPopup } from './index-B0PHovoW.js';
|
|
7
|
+
export { A as ATOM63_FLYOUT_TRANSITION, a as ATOM63_FLYOUT_TRANSITION_CSS, b as ATOM63_MOTION_EASE, c as ATOM63_MOTION_EASE_CSS, d as ATOM63_OVERLAY_MOTION_DURATION_CSS, e as ATOM63_OVERLAY_MOTION_DURATION_MS, f as ATOM63_OVERLAY_MOTION_EASE, g as ATOM63_OVERLAY_MOTION_EASE_CSS, h as AlertDialog, i as AlertDialogAction, j as AlertDialogBackdrop, k as AlertDialogCancel, l as AlertDialogClose, m as AlertDialogContent, n as AlertDialogCreateHandle, o as AlertDialogDescription, p as AlertDialogFooter, q as AlertDialogHeader, r as AlertDialogMedia, j as AlertDialogOverlay, m as AlertDialogPopup, s as AlertDialogPortal, t as AlertDialogTitle, u as AlertDialogTrigger, v as AlertDialogViewport, B as ButtonGroupProvider, C as Card, w as CardAction, x as CardContent, y as CardContentProps, z as CardCursorLabel, D as CardDescription, E as CardDescriptionProps, F as CardFooter, G as CardFooterProps, H as CardHeader, I as CardHeaderProps, J as CardLabel, K as CardMedia, L as CardMediaOverlay, M as CardMediaOverlayBottom, N as CardMediaOverlayIconButton, O as CardMediaOverlayImage, P as CardMediaOverlayProps, Q as CardMediaOverlayScrim, R as CardMediaOverlayTopRight, S as CardMediaProps, U as CardProps, V as CardResponsivePadding, W as CardTags, X as CardTitle, Y as CardTitleProps, Z as Command, _ as CommandCollection, $ as CommandCreateHandle, a0 as CommandDialog, a1 as CommandDialogBackdrop, a2 as CommandDialogPopup, a3 as CommandDialogPopupProps, a4 as CommandDialogPortal, a5 as CommandDialogTrigger, a6 as CommandDialogViewport, a7 as CommandEmpty, a8 as CommandFooter, a9 as CommandGroup, aa as CommandGroupLabel, ab as CommandInput, ac as CommandInputProps, ad as CommandItem, ae as CommandList, af as CommandPanel, ag as CommandSeparator, ah as CommandShortcut, ai as Dialog, aj as DialogBackdrop, ak as DialogClose, al as DialogContent, am as DialogCreateHandle, an as DialogDescription, ao as DialogFooter, ap as DialogHeader, aj as DialogOverlay, aq as DialogPanel, al as DialogPopup, ar as DialogPortal, as as DialogTitle, at as DialogTrigger, au as DialogViewport, av as NavigationMenu, aw as NavigationMenuContent, ax as NavigationMenuIndicator, ay as NavigationMenuItem, az as NavigationMenuLink, aA as NavigationMenuList, aB as NavigationMenuPositioner, aC as NavigationMenuPositionerProps, aD as NavigationMenuProps, aE as NavigationMenuTrigger, aF as NavigationMenuViewport, aG as ReactRendererConformanceEvidence, aH as ReactVerifiedContractId, aI as ScrollableList, aJ as ScrollableListProps, aK as Select, aL as SelectContent, aM as SelectGroup, aN as SelectGroupLabel, aO as SelectItem, aP as SelectPopup, aQ as SelectPopupProps, aR as SelectSeparator, aS as SelectTrigger, aT as SelectTriggerProps, aU as SelectValue, aV as Tooltip, aW as TooltipContentProps, aX as TooltipCreateHandle, aY as TooltipPopupProps, aZ as TooltipProvider, a_ as TooltipTrigger, a$ as cardLinkClassName, b0 as getReactRendererConformance, b1 as navigationMenuTriggerStyle, b2 as reactRendererConformance, b3 as scrollableListControlClassNames, b4 as selectTriggerDefaultClassName, b5 as useButtonGroupContext } from './index-B0PHovoW.js';
|
|
8
8
|
import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
|
|
9
9
|
export { Autocomplete as AutocompletePrimitive } from '@base-ui/react/autocomplete';
|
|
10
10
|
import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
|
|
@@ -36,11 +36,11 @@ import { Radio as Radio$1 } from '@base-ui/react/radio';
|
|
|
36
36
|
import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
|
|
37
37
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
38
38
|
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
39
|
-
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
40
39
|
import { Dialog } from '@base-ui/react/dialog';
|
|
41
40
|
export { Dialog as DialogPrimitive, Dialog as SheetPrimitive } from '@base-ui/react/dialog';
|
|
42
41
|
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
43
42
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
43
|
+
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
44
44
|
import { ToasterProps as ToasterProps$1 } from 'sonner';
|
|
45
45
|
export { toast } from 'sonner';
|
|
46
46
|
import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
@@ -113,6 +113,44 @@ interface AnimatedCheckProps extends Omit<React$1.ComponentProps<'svg'>, 'animat
|
|
|
113
113
|
}
|
|
114
114
|
declare function AnimatedCheck({ variant, animate, className, ...props }: AnimatedCheckProps): React$1.ReactElement;
|
|
115
115
|
|
|
116
|
+
/** A focal point in the picture, 0–1 from the start (x) and the top (y) edge. */
|
|
117
|
+
interface ArtPlateFocus {
|
|
118
|
+
x: number;
|
|
119
|
+
y: number;
|
|
120
|
+
}
|
|
121
|
+
type ArtPlateProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
|
|
122
|
+
/** Describes the picture; pass `''` when it is purely decorative. */
|
|
123
|
+
alt: string;
|
|
124
|
+
children?: React$1.ReactNode;
|
|
125
|
+
/** Point of the picture kept in frame on wide screens. Defaults to the centre. */
|
|
126
|
+
focus?: ArtPlateFocus;
|
|
127
|
+
/** Point kept in frame below the medium breakpoint. Defaults to `focus`. */
|
|
128
|
+
focusMobile?: ArtPlateFocus;
|
|
129
|
+
/** Slow scroll-driven drift of the picture (transform only, off under reduced motion). */
|
|
130
|
+
parallax?: boolean;
|
|
131
|
+
/** Above the fold: load eagerly with high fetch priority, so the plate can be the LCP element. */
|
|
132
|
+
priority?: boolean;
|
|
133
|
+
safeArea?: ArtPlateSafeArea;
|
|
134
|
+
size?: ArtPlateSize;
|
|
135
|
+
/** Layout width hint for `srcSet`. Defaults to `100vw`. */
|
|
136
|
+
sizes?: string;
|
|
137
|
+
/** The wide picture. */
|
|
138
|
+
src: string;
|
|
139
|
+
/** Width candidates of the wide picture, such as `plate-960.webp 960w, plate-1920.webp 1920w`. */
|
|
140
|
+
srcSet?: string;
|
|
141
|
+
/** An art-directed picture for phones (a URL or a `srcSet`), used below the medium breakpoint. */
|
|
142
|
+
srcMobile?: string;
|
|
143
|
+
tone?: ArtPlateTone;
|
|
144
|
+
veil?: ArtPlateVeil;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* ArtPlate is a full-bleed picture that owns its crop, with a content region in the picture's
|
|
148
|
+
* calm area: a landing hero, a section band or a portfolio cover. It is not an inline figure
|
|
149
|
+
* (use `Image`) or a card thumbnail (use `CardMedia`). Pair it with `LayeredScene` to float
|
|
150
|
+
* product UI and a foreground cut-out over the picture.
|
|
151
|
+
*/
|
|
152
|
+
declare function ArtPlate({ alt, children, className, focus, focusMobile, parallax, priority, safeArea, size, sizes, src, srcMobile, srcSet, style, tone, veil, ...props }: ArtPlateProps): React$1.ReactElement;
|
|
153
|
+
|
|
116
154
|
declare const Autocomplete: typeof Autocomplete$1.Root;
|
|
117
155
|
interface AutocompleteInputProps extends Omit<Autocomplete$1.Input.Props, 'size'> {
|
|
118
156
|
showTrigger?: boolean;
|
|
@@ -754,6 +792,7 @@ declare const useFormField: () => {
|
|
|
754
792
|
isValidating: boolean;
|
|
755
793
|
error?: react_hook_form.FieldError | undefined;
|
|
756
794
|
id: string;
|
|
795
|
+
hasDescription: boolean;
|
|
757
796
|
name: string;
|
|
758
797
|
formItemId: string;
|
|
759
798
|
formDescriptionId: string;
|
|
@@ -850,6 +889,49 @@ type KbdProps = React$1.ComponentProps<'kbd'> & {
|
|
|
850
889
|
declare function Kbd({ className, size, ...props }: KbdProps): React$1.ReactElement;
|
|
851
890
|
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
852
891
|
|
|
892
|
+
type LayeredSceneProps = React$1.ComponentProps<'div'> & {
|
|
893
|
+
/** Where the stage sits, and how the copy aligns: centred, or docked to the inline end or start. */
|
|
894
|
+
placement?: LayeredScenePlacement;
|
|
895
|
+
/** Stage width from the medium breakpoint up. */
|
|
896
|
+
width?: LayeredSceneWidth;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* LayeredScene stacks three layers in one box: a plate at the back
|
|
900
|
+
* (`LayeredScenePlate`, an ArtPlate), the copy (`LayeredSceneContent`) and live
|
|
901
|
+
* product UI (`LayeredSceneStage`) in the middle, and an optional inert
|
|
902
|
+
* cut-out of the plate in front (`LayeredSceneForeground`). It is for a landing
|
|
903
|
+
* or portfolio hero where the interface sits inside the picture, not for a
|
|
904
|
+
* plain image with text on it (use ArtPlate alone).
|
|
905
|
+
*/
|
|
906
|
+
declare function LayeredScene({ className, placement, width, ...props }: LayeredSceneProps): React$1.ReactElement;
|
|
907
|
+
type LayeredScenePlateProps = Omit<ArtPlateProps, 'children'>;
|
|
908
|
+
/** The plate: an ArtPlate that spans the whole scene. Give the copy to LayeredSceneContent. */
|
|
909
|
+
declare function LayeredScenePlate({ className, ...props }: LayeredScenePlateProps): React$1.ReactElement;
|
|
910
|
+
/** The copy above the stage: badge, headline, subhead and actions. */
|
|
911
|
+
declare function LayeredSceneContent({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
912
|
+
/** The stage: live product UI, such as a Frame, docked at the bottom of the scene. */
|
|
913
|
+
declare function LayeredSceneStage({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
914
|
+
type LayeredSceneForegroundProps = Omit<React$1.ComponentProps<'div'>, 'aria-hidden' | 'children'> & {
|
|
915
|
+
/** Same focal point as the plate, so the cut-out lines up with it. */
|
|
916
|
+
focus?: ArtPlateFocus;
|
|
917
|
+
/** Same phone focal point as the plate. */
|
|
918
|
+
focusMobile?: ArtPlateFocus;
|
|
919
|
+
/** Load eagerly, as for the hero plate. */
|
|
920
|
+
priority?: boolean;
|
|
921
|
+
/** Keep the cut-out below the medium breakpoint too. By default phones drop it. */
|
|
922
|
+
showOnPhone?: boolean;
|
|
923
|
+
sizes?: string;
|
|
924
|
+
/** A transparent cut-out of the plate, at the plate's size. */
|
|
925
|
+
src: string;
|
|
926
|
+
srcSet?: string;
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* The foreground: a transparent cut-out of the plate in front of the stage.
|
|
930
|
+
* Decorative and inert (aria-hidden, no pointer events). Only padding, axes or
|
|
931
|
+
* window edges may sit under it, never text or controls.
|
|
932
|
+
*/
|
|
933
|
+
declare function LayeredSceneForeground({ className, focus, focusMobile, priority, showOnPhone, sizes, src, srcSet, style, ...props }: LayeredSceneForegroundProps): React$1.ReactElement;
|
|
934
|
+
|
|
853
935
|
interface LoadMoreTriggerProps {
|
|
854
936
|
children?: ReactNode;
|
|
855
937
|
className?: string;
|
|
@@ -950,8 +1032,15 @@ type PaginationItemProps = React$1.ComponentProps<'li'>;
|
|
|
950
1032
|
declare function PaginationItem(props: PaginationItemProps): React$1.ReactElement;
|
|
951
1033
|
type PaginationLinkProps = {
|
|
952
1034
|
isActive?: boolean;
|
|
1035
|
+
/** Marks the control as unavailable (Previous on the first page, Next on the last): the
|
|
1036
|
+
* link loses its href and click handler, leaves the tab order and is announced as disabled. */
|
|
1037
|
+
disabled?: boolean;
|
|
1038
|
+
/** Replaces the rendered `<a>`, such as with a router link (`render={<Link to="/page/2" />}`)
|
|
1039
|
+
* or a function of the merged props. The element must spread the props it receives and
|
|
1040
|
+
* forward its ref. Ignored while `disabled`, which always renders an `<a>` without an href. */
|
|
1041
|
+
render?: useRender.RenderProp;
|
|
953
1042
|
} & Pick<ButtonProps, 'size'> & React$1.ComponentProps<'a'>;
|
|
954
|
-
declare function PaginationLink({ children, className, isActive, size, ...props }: PaginationLinkProps): React$1.ReactElement;
|
|
1043
|
+
declare function PaginationLink({ children, className, disabled, isActive, render, size, ...props }: PaginationLinkProps): React$1.ReactElement;
|
|
955
1044
|
type PaginationPreviousProps = React$1.ComponentProps<typeof PaginationLink>;
|
|
956
1045
|
declare function PaginationPrevious({ className, ...props }: PaginationPreviousProps): React$1.ReactElement;
|
|
957
1046
|
type PaginationNextProps = React$1.ComponentProps<typeof PaginationLink>;
|
|
@@ -1122,9 +1211,11 @@ interface SegmentedControlItem {
|
|
|
1122
1211
|
label: string;
|
|
1123
1212
|
value: string;
|
|
1124
1213
|
}
|
|
1125
|
-
interface SegmentedControlProps extends Omit<
|
|
1214
|
+
interface SegmentedControlProps extends Omit<RadioGroup$1.Props<string>, 'children' | 'className' | 'defaultValue' | 'onValueChange' | 'value'> {
|
|
1126
1215
|
/** Animate the sliding indicator between segments (default true). */
|
|
1127
1216
|
animateBackplate?: boolean;
|
|
1217
|
+
/** The group's accessible name, when no visible label names it through `aria-labelledby`. */
|
|
1218
|
+
'aria-label'?: string;
|
|
1128
1219
|
className?: string;
|
|
1129
1220
|
/** The initially selected segment when the control is uncontrolled. */
|
|
1130
1221
|
defaultValue?: string;
|
|
@@ -1134,7 +1225,7 @@ interface SegmentedControlProps extends Omit<Tabs$1.Root.Props, 'children' | 'cl
|
|
|
1134
1225
|
onValueChange?: (value: string) => void;
|
|
1135
1226
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1136
1227
|
size?: SegmentedControlSize;
|
|
1137
|
-
/** Per-segment class escape hatch merged onto every
|
|
1228
|
+
/** Per-segment class escape hatch merged onto every segment. */
|
|
1138
1229
|
tabClassName?: string;
|
|
1139
1230
|
tone?: SegmentedControlTone;
|
|
1140
1231
|
/** The selected segment. Leave it out, with `defaultValue`, for an
|
|
@@ -1372,6 +1463,13 @@ type SwitchProps = Omit<Switch$1.Root.Props, 'className'> & {
|
|
|
1372
1463
|
};
|
|
1373
1464
|
declare function Switch({ children, className, size, ...props }: SwitchProps): React$1.ReactElement;
|
|
1374
1465
|
|
|
1466
|
+
/** The direction a sorted column is in, named as `aria-sort` names it. */
|
|
1467
|
+
type TableSortDirection = 'ascending' | 'descending';
|
|
1468
|
+
/** The column the table is sorted by. The caller sorts the rows; the table only shows it. */
|
|
1469
|
+
interface TableSort {
|
|
1470
|
+
column: string;
|
|
1471
|
+
direction: TableSortDirection;
|
|
1472
|
+
}
|
|
1375
1473
|
type TableProps = React$1.ComponentProps<'table'> & {
|
|
1376
1474
|
/** `'default'` is a deprecated alias of `'md'`. */
|
|
1377
1475
|
size?: TableSize | TableSizeAlias;
|
|
@@ -1382,8 +1480,14 @@ type TableProps = React$1.ComponentProps<'table'> & {
|
|
|
1382
1480
|
*/
|
|
1383
1481
|
tone?: TableTone;
|
|
1384
1482
|
variant?: TableVariant;
|
|
1483
|
+
/** The column the rows are sorted by (controlled), shown by the `TableHead` whose `sortKey`
|
|
1484
|
+
* matches. `null` or omitted: no column is sorted. */
|
|
1485
|
+
sort?: TableSort | null;
|
|
1486
|
+
/** Called when a sortable `TableHead` is pressed, with the sort to apply. Sort the rows and
|
|
1487
|
+
* pass the new value back as `sort`. */
|
|
1488
|
+
onSortChange?: (sort: TableSort) => void;
|
|
1385
1489
|
};
|
|
1386
|
-
declare function Table({ className, size, tone, variant, ...props }: TableProps): React$1.ReactElement;
|
|
1490
|
+
declare function Table({ className, onSortChange, size, sort, tone, variant, ...props }: TableProps): React$1.ReactElement;
|
|
1387
1491
|
type TableHeaderProps = React$1.ComponentProps<'thead'>;
|
|
1388
1492
|
declare function TableHeader({ className, ...props }: TableHeaderProps): React$1.ReactElement;
|
|
1389
1493
|
type TableBodyProps = React$1.ComponentProps<'tbody'>;
|
|
@@ -1394,8 +1498,16 @@ type TableRowProps = React$1.ComponentProps<'tr'>;
|
|
|
1394
1498
|
declare function TableRow({ className, ...props }: TableRowProps): React$1.ReactElement;
|
|
1395
1499
|
type TableHeadProps = React$1.ComponentProps<'th'> & {
|
|
1396
1500
|
sticky?: TableStickyEdge;
|
|
1501
|
+
/** Makes the column sortable: the header becomes a button that calls the Table's
|
|
1502
|
+
* `onSortChange` with this key, and the cell carries `aria-sort` while the Table's
|
|
1503
|
+
* `sort.column` is this key. */
|
|
1504
|
+
sortKey?: string;
|
|
1505
|
+
/** The direction a first press sorts in. Later presses flip it. */
|
|
1506
|
+
firstSortDirection?: TableSortDirection;
|
|
1507
|
+
/** Replaces the sort icon. Receives the column's direction, or `none` while it is not sorted. */
|
|
1508
|
+
sortIcon?: (direction: TableSortDirection | 'none') => React$1.ReactNode;
|
|
1397
1509
|
};
|
|
1398
|
-
declare function TableHead({ className, sticky, ...props }: TableHeadProps): React$1.ReactElement;
|
|
1510
|
+
declare function TableHead({ children, className, firstSortDirection, sortIcon, sortKey, sticky, ...props }: TableHeadProps): React$1.ReactElement;
|
|
1399
1511
|
type TableCellProps = React$1.ComponentProps<'td'> & {
|
|
1400
1512
|
sticky?: TableStickyEdge;
|
|
1401
1513
|
};
|
|
@@ -1589,5 +1701,5 @@ interface Atom63ThemeProps extends useRender.ComponentProps<'div'> {
|
|
|
1589
1701
|
}
|
|
1590
1702
|
declare function Atom63Theme({ className, mode, render, theme, ...props }: Atom63ThemeProps): React$1.ReactElement;
|
|
1591
1703
|
|
|
1592
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertIcon, AlertTitle, Amount, AnimatedCheck, Atom63Theme, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, ButtonProps, Carousel, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, ChatComposer, ChatMessage, ChatMessageList, ChatStep, ChatSteps, ChatTypingIndicator, Checkbox, Collapsible, CollapsibleContent, CollapsibleIndicator, CollapsibleTrigger, ConnectedPanel, ConnectedPanelBody, ConnectedPanelContent, ConnectedPanelDescription, ConnectedPanelFooter, ConnectedPanelHeader, ConnectedPanelTitle, ConnectedPanelTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, CopyButtonFeedback, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHandle, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyErrorDetail, EmptyHeader, EmptyMedia, EmptyTitle, FeedbackState, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, LoadMoreTrigger, Marquee, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageEvent, MessageList, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelSettingButton, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPortal, PopoverTitle, PopoverTrigger, PortalContainerProvider, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, ProgressiveBlur, Radio, RadioGroup, Radio as RadioGroupItem, Rating, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchField, SegmentedControl, Separator, Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavCollapsibleItem, SidebarNavGroup, SidebarNavLinkItem, SidebarNavSubLinkItem, SidebarNavSubList, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderValue, Spinner, Switch, TINT_MAX_LUMINANCE, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger, TextTicker, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupSeparator, TooltipPopup as TooltipContent, TooltipPopup, UIProvider, capColorForContrast, colorCacheKey, extractColorFromImage, extractColorFromLoadedImage, getCachedColor, loadAndExtractColor, useAutocompleteFilter, useCardCursor, useCarousel, useExtractColor, useFormField, usePortalContainer, useSidebar, useUIEnvironment };
|
|
1593
|
-
export type { AccordionProps, AccordionTriggerProps, AlertProps, AmountProps, AnimatedCheckProps, Atom63ThemeMode, Atom63ThemeProps, AutocompleteInputProps, AutocompletePopupProps, AvatarProps, BadgeProps, BreadcrumbLinkProps, ButtonGroupProps, ButtonGroupSeparatorProps, CardCursorBinding, CarouselApi, CarouselContextProps, CarouselDotsProps, CarouselOptions, CarouselPlugin, CarouselProps, ChatComposerProps, ChatMessageListProps, ChatMessageProps, ChatStepProps, ChatStepsProps, ChatTypingIndicatorProps, CheckboxProps, CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps, ColorSampleRegion, ConnectedPanelContentProps, ConnectedPanelProps, ConnectedPanelTriggerProps, ConnectedPanelVariant, ContextMenuContentProps, ContextMenuItemProps, ContextMenuLabelProps, ContextMenuSubContentProps, ContextMenuSubTriggerProps, CopyButtonFeedbackProps, CopyButtonProps, DrawerAsChildProps, DrawerCloseProps, DrawerContentProps, DrawerRootProps, DrawerTriggerProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuSubContentProps, DropdownMenuSubTriggerProps, ExtractColorOptions, ExtractedColor, FeedbackStateAction, FeedbackStateIcon, FeedbackStateIconName, FeedbackStateProps, FieldContentProps, FieldDescriptionProps, FieldErrorProps, FieldGroupProps, FieldLabelProps, FieldLegendProps, FieldProps, FieldSeparatorProps, FieldSetProps, FieldTitleProps, FramePanelProps, FrameProps, HoverCardContentProps, InputGroupAddonAlign, InputGroupAddonProps, InputGroupButtonProps, InputGroupInputProps, InputGroupProps, InputGroupTextProps, InputGroupTextareaProps, InputProps, ItemGroupProps, ItemMediaProps, ItemProps, ItemSeparatorProps, KbdProps, LabelProps, LoadMoreTriggerProps, MarqueeProps, MenubarCheckboxItemProps, MenubarRadioItemProps, MessageEventProps, MessageListProps, MessageProps, PaginationContentProps, PaginationEllipsisProps, PaginationItemProps, PaginationLinkProps, PaginationNextProps, PaginationPreviousProps, PaginationProps, PanelSettingButtonProps, PopoverContentProps, PortalContainer, PortalContainerProviderProps, PreviewCardPopupProps, ProgressProps, ProgressiveBlurProps, RadioGroupProps, RadioProps, RatingProps, ResizableHandleProps, ResizableOrientation, ResizablePanelGroupProps, ResizablePanelProps, ScrollAreaViewportProps, SearchFieldProps, SegmentedControlItem, SegmentedControlProps, SeparatorProps, SheetFooterProps, SheetPanelProps, SheetPopupProps, SheetSide, SheetVariant, SheetViewportProps, SidebarContextProps, SidebarMenuButtonProps, SidebarMenuSubButtonProps, SidebarNavCollapsibleItemProps, SidebarNavGroupProps, SidebarNavLinkItemProps, SidebarNavSubLinkItemProps, SidebarNavSubListProps, SidebarProps, SidebarProviderProps, SliderProps, SliderRootProps, SwitchProps, TableBodyProps, TableCaptionProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableProps, TableRowProps, TabsListProps, TabsPanelProps, TabsTabProps, TextTickerProps, TextareaProps, ToasterProps, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupSeparatorProps, ToggleProps, UIProviderProps, UseCardCursorOptions, UseExtractColorOptions, UseExtractColorReturn };
|
|
1704
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertIcon, AlertTitle, Amount, AnimatedCheck, ArtPlate, Atom63Theme, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, ButtonProps, Carousel, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, ChatComposer, ChatMessage, ChatMessageList, ChatStep, ChatSteps, ChatTypingIndicator, Checkbox, Collapsible, CollapsibleContent, CollapsibleIndicator, CollapsibleTrigger, ConnectedPanel, ConnectedPanelBody, ConnectedPanelContent, ConnectedPanelDescription, ConnectedPanelFooter, ConnectedPanelHeader, ConnectedPanelTitle, ConnectedPanelTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, CopyButtonFeedback, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHandle, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyErrorDetail, EmptyHeader, EmptyMedia, EmptyTitle, FeedbackState, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, LayeredScene, LayeredSceneContent, LayeredSceneForeground, LayeredScenePlate, LayeredSceneStage, LoadMoreTrigger, Marquee, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageEvent, MessageList, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelSettingButton, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPortal, PopoverTitle, PopoverTrigger, PortalContainerProvider, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, ProgressiveBlur, Radio, RadioGroup, Radio as RadioGroupItem, Rating, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchField, SegmentedControl, Separator, Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavCollapsibleItem, SidebarNavGroup, SidebarNavLinkItem, SidebarNavSubLinkItem, SidebarNavSubList, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderValue, Spinner, Switch, TINT_MAX_LUMINANCE, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger, TextTicker, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupSeparator, TooltipPopup as TooltipContent, TooltipPopup, UIProvider, capColorForContrast, colorCacheKey, extractColorFromImage, extractColorFromLoadedImage, getCachedColor, loadAndExtractColor, useAutocompleteFilter, useCardCursor, useCarousel, useExtractColor, useFormField, usePortalContainer, useSidebar, useUIEnvironment };
|
|
1705
|
+
export type { AccordionProps, AccordionTriggerProps, AlertProps, AmountProps, AnimatedCheckProps, ArtPlateFocus, ArtPlateProps, Atom63ThemeMode, Atom63ThemeProps, AutocompleteInputProps, AutocompletePopupProps, AvatarProps, BadgeProps, BreadcrumbLinkProps, ButtonGroupProps, ButtonGroupSeparatorProps, CardCursorBinding, CarouselApi, CarouselContextProps, CarouselDotsProps, CarouselOptions, CarouselPlugin, CarouselProps, ChatComposerProps, ChatMessageListProps, ChatMessageProps, ChatStepProps, ChatStepsProps, ChatTypingIndicatorProps, CheckboxProps, CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps, ColorSampleRegion, ConnectedPanelContentProps, ConnectedPanelProps, ConnectedPanelTriggerProps, ConnectedPanelVariant, ContextMenuContentProps, ContextMenuItemProps, ContextMenuLabelProps, ContextMenuSubContentProps, ContextMenuSubTriggerProps, CopyButtonFeedbackProps, CopyButtonProps, DrawerAsChildProps, DrawerCloseProps, DrawerContentProps, DrawerRootProps, DrawerTriggerProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuSubContentProps, DropdownMenuSubTriggerProps, ExtractColorOptions, ExtractedColor, FeedbackStateAction, FeedbackStateIcon, FeedbackStateIconName, FeedbackStateProps, FieldContentProps, FieldDescriptionProps, FieldErrorProps, FieldGroupProps, FieldLabelProps, FieldLegendProps, FieldProps, FieldSeparatorProps, FieldSetProps, FieldTitleProps, FramePanelProps, FrameProps, HoverCardContentProps, InputGroupAddonAlign, InputGroupAddonProps, InputGroupButtonProps, InputGroupInputProps, InputGroupProps, InputGroupTextProps, InputGroupTextareaProps, InputProps, ItemGroupProps, ItemMediaProps, ItemProps, ItemSeparatorProps, KbdProps, LabelProps, LayeredSceneForegroundProps, LayeredScenePlateProps, LayeredSceneProps, LoadMoreTriggerProps, MarqueeProps, MenubarCheckboxItemProps, MenubarRadioItemProps, MessageEventProps, MessageListProps, MessageProps, PaginationContentProps, PaginationEllipsisProps, PaginationItemProps, PaginationLinkProps, PaginationNextProps, PaginationPreviousProps, PaginationProps, PanelSettingButtonProps, PopoverContentProps, PortalContainer, PortalContainerProviderProps, PreviewCardPopupProps, ProgressProps, ProgressiveBlurProps, RadioGroupProps, RadioProps, RatingProps, ResizableHandleProps, ResizableOrientation, ResizablePanelGroupProps, ResizablePanelProps, ScrollAreaViewportProps, SearchFieldProps, SegmentedControlItem, SegmentedControlProps, SeparatorProps, SheetFooterProps, SheetPanelProps, SheetPopupProps, SheetSide, SheetVariant, SheetViewportProps, SidebarContextProps, SidebarMenuButtonProps, SidebarMenuSubButtonProps, SidebarNavCollapsibleItemProps, SidebarNavGroupProps, SidebarNavLinkItemProps, SidebarNavSubLinkItemProps, SidebarNavSubListProps, SidebarProps, SidebarProviderProps, SliderProps, SliderRootProps, SwitchProps, TableBodyProps, TableCaptionProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableProps, TableRowProps, TableSort, TableSortDirection, TabsListProps, TabsPanelProps, TabsTabProps, TextTickerProps, TextareaProps, ToasterProps, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupSeparatorProps, ToggleProps, UIProviderProps, UseCardCursorOptions, UseExtractColorOptions, UseExtractColorReturn };
|
package/dist/index.js
CHANGED
|
@@ -1,73 +1,78 @@
|
|
|
1
|
+
export { Switch } from './chunk-7QY24D5A.js';
|
|
2
|
+
export { Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger } from './chunk-HSOEBAWM.js';
|
|
1
3
|
export { Toaster, toast } from './chunk-CIWJP6G7.js';
|
|
2
4
|
export { ToggleGroup, ToggleGroupItem, ToggleGroupSeparator } from './chunk-6YFKZ5CD.js';
|
|
3
5
|
export { Toggle } from './chunk-FZ6JHXQI.js';
|
|
4
|
-
export { SidebarNavCollapsibleItem, SidebarNavGroup, SidebarNavLinkItem, SidebarNavSubLinkItem, SidebarNavSubList } from './chunk-
|
|
6
|
+
export { SidebarNavCollapsibleItem, SidebarNavGroup, SidebarNavLinkItem, SidebarNavSubLinkItem, SidebarNavSubList } from './chunk-VUUSD5AG.js';
|
|
5
7
|
export { TextTicker } from './chunk-6XJCNBGH.js';
|
|
6
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './chunk-
|
|
8
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './chunk-BQONJKNA.js';
|
|
7
9
|
export { Skeleton } from './chunk-34JIIXPP.js';
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
10
|
+
export { ProgressiveBlur } from './chunk-TBB22HVY.js';
|
|
11
|
+
export { Rating } from './chunk-FPIUWNK6.js';
|
|
12
|
+
export { Radio, RadioGroup, Radio as RadioGroupItem } from './chunk-WHUL6ADM.js';
|
|
11
13
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './chunk-R2CNNKB3.js';
|
|
12
14
|
export { SearchField } from './chunk-KX5E5UUZ.js';
|
|
15
|
+
export { Message, MessageEvent, MessageList } from './chunk-2Z2DZLD7.js';
|
|
16
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './chunk-CO6KHYO5.js';
|
|
13
17
|
export { PanelSettingButton } from './chunk-63D5JSVT.js';
|
|
14
18
|
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPortal, PopoverTitle, PopoverTrigger } from './chunk-ADZSCK32.js';
|
|
15
19
|
export { PreviewCard, PreviewCardPopup, PreviewCardTrigger } from './chunk-FBMTWUHX.js';
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export { Radio, RadioGroup, Radio as RadioGroupItem } from './chunk-WHUL6ADM.js';
|
|
20
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './chunk-6RAWJDPH.js';
|
|
21
|
+
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle } from './chunk-XHSP2SJ2.js';
|
|
19
22
|
export { Kbd, KbdGroup } from './chunk-RDIGEW6P.js';
|
|
23
|
+
export { LayeredScene, LayeredSceneContent, LayeredSceneForeground, LayeredScenePlate, LayeredSceneStage } from './chunk-FHL2NLXP.js';
|
|
20
24
|
export { LoadMoreTrigger } from './chunk-QIDU2WXD.js';
|
|
21
25
|
export { Marquee } from './chunk-GAGAOFX3.js';
|
|
22
26
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from './chunk-XEXDR2WZ.js';
|
|
23
|
-
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
27
|
+
import './chunk-CAS7T4PQ.js';
|
|
28
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-QCNBLY6M.js';
|
|
29
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyErrorDetail, EmptyHeader, EmptyMedia, EmptyTitle } from './chunk-H7JEKEVY.js';
|
|
30
|
+
export { FeedbackState } from './chunk-4HE5IB6K.js';
|
|
26
31
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from './chunk-MRDIIUUY.js';
|
|
27
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './chunk-
|
|
32
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './chunk-SL6J2Y6I.js';
|
|
28
33
|
export { Label } from './chunk-ATSXKARJ.js';
|
|
29
34
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from './chunk-5GU3MTAL.js';
|
|
30
|
-
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './chunk-6RAWJDPH.js';
|
|
31
|
-
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle } from './chunk-XHSP2SJ2.js';
|
|
32
35
|
export { ConnectedPanel, ConnectedPanelBody, ConnectedPanelContent, ConnectedPanelDescription, ConnectedPanelFooter, ConnectedPanelHeader, ConnectedPanelTitle, ConnectedPanelTrigger } from './chunk-F52PXIER.js';
|
|
33
36
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './chunk-XLSK66GO.js';
|
|
34
|
-
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHandle, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './chunk-TAXYD4I4.js';
|
|
35
|
-
import './chunk-CAS7T4PQ.js';
|
|
36
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-QCNBLY6M.js';
|
|
37
|
-
export { Empty, EmptyContent, EmptyDescription, EmptyErrorDetail, EmptyHeader, EmptyMedia, EmptyTitle } from './chunk-H7JEKEVY.js';
|
|
38
37
|
export { CopyButton, CopyButtonFeedback } from './chunk-FAOZ6X2C.js';
|
|
38
|
+
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHandle, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './chunk-IPUBANIB.js';
|
|
39
39
|
export { Carousel, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, useCarousel } from './chunk-AOX2S6EH.js';
|
|
40
40
|
export { ChatComposer } from './chunk-XUOJLQ75.js';
|
|
41
41
|
export { ChatMessage, ChatMessageList } from './chunk-EAWOBJ24.js';
|
|
42
42
|
export { ChatStep, ChatSteps } from './chunk-XZN2LZUC.js';
|
|
43
43
|
export { Spinner } from './chunk-Y6WVSEIC.js';
|
|
44
|
+
export { Collapsible, CollapsibleContent, CollapsibleIndicator, CollapsibleTrigger } from './chunk-2GKXGY2X.js';
|
|
44
45
|
import './chunk-3J2LUXAG.js';
|
|
45
46
|
export { ChatTypingIndicator } from './chunk-ICVKZEAA.js';
|
|
46
47
|
export { Checkbox } from './chunk-XUMQEMB3.js';
|
|
47
|
-
export {
|
|
48
|
+
export { Amount } from './chunk-YCG7YMV7.js';
|
|
48
49
|
export { AnimatedCheck } from './chunk-WVMYVQE2.js';
|
|
50
|
+
import './chunk-6HKGC3HE.js';
|
|
51
|
+
export { ArtPlate } from './chunk-HPUHI2YJ.js';
|
|
49
52
|
export { Badge } from './chunk-YB2OXQAI.js';
|
|
50
53
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './chunk-FREL2MPS.js';
|
|
51
54
|
export { DestinationIndicator, DestinationLink } from './chunk-IPU75YIQ.js';
|
|
55
|
+
import './chunk-3LGXD3HE.js';
|
|
56
|
+
import './chunk-6VV4EBOO.js';
|
|
57
|
+
export { Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, selectTriggerDefaultClassName } from './chunk-MOWXMXSH.js';
|
|
52
58
|
export { Tooltip, TooltipPopup as TooltipContent, TooltipCreateHandle, TooltipPopup, TooltipPrimitive, TooltipProvider, TooltipTrigger } from './chunk-KJMIFN46.js';
|
|
59
|
+
export { Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetPrimitive, SheetTitle, SheetTrigger, SheetViewport } from './chunk-IEHYTNLS.js';
|
|
53
60
|
export { ScrollableList, scrollableListControlClassNames } from './chunk-ZSP4XLPE.js';
|
|
54
|
-
export { Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, selectTriggerDefaultClassName } from './chunk-MOWXMXSH.js';
|
|
55
|
-
export { Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetPrimitive, SheetTitle, SheetTrigger, SheetViewport } from './chunk-BSDSLG3L.js';
|
|
56
|
-
export { Progress, ProgressIndicator, ProgressLabel, ProgressPrimitive, ProgressTrack, ProgressValue } from './chunk-JRMKDIGF.js';
|
|
57
61
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from './chunk-IHEBXCAF.js';
|
|
62
|
+
export { Progress, ProgressIndicator, ProgressLabel, ProgressPrimitive, ProgressTrack, ProgressValue } from './chunk-JRMKDIGF.js';
|
|
58
63
|
import './chunk-GZPV4T4I.js';
|
|
59
64
|
import './chunk-2QUN4K6Z.js';
|
|
65
|
+
export { Command, CommandCollection, CommandCreateHandle, CommandDialog, CommandDialogBackdrop, CommandDialogPopup, CommandDialogPortal, CommandDialogTrigger, CommandDialogViewport, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut } from './chunk-Y52BV635.js';
|
|
60
66
|
export { Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogCreateHandle, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPanel, DialogPopup, DialogPortal, DialogPrimitive, DialogTitle, DialogTrigger, DialogViewport } from './chunk-LKERWO2G.js';
|
|
67
|
+
export { ButtonGroup, ButtonGroupProvider, ButtonGroupSeparator, ButtonGroupText, useButtonGroupContext } from './chunk-RI5ZROIJ.js';
|
|
68
|
+
export { Separator, SeparatorPrimitive } from './chunk-R35FHBSP.js';
|
|
69
|
+
export { Card, CardAction, CardContent, CardCursorLabel, CardDescription, CardFooter, CardHeader, CardLabel, CardMedia, CardMediaOverlay, CardMediaOverlayBottom, CardMediaOverlayIconButton, CardMediaOverlayImage, CardMediaOverlayScrim, CardMediaOverlayTopRight, CardTags, CardTitle, cardLinkClassName, useCardCursor } from './chunk-KC6GYHDU.js';
|
|
61
70
|
export { Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputPrimitive } from './chunk-PAWFTQV6.js';
|
|
62
71
|
export { Textarea } from './chunk-NBBMTH3K.js';
|
|
63
|
-
export { Command, CommandCollection, CommandCreateHandle, CommandDialog, CommandDialogBackdrop, CommandDialogPopup, CommandDialogPortal, CommandDialogTrigger, CommandDialogViewport, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut } from './chunk-CJAWGKA5.js';
|
|
64
72
|
export { Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompletePrimitive, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, useAutocompleteFilter } from './chunk-C3MWASGU.js';
|
|
65
73
|
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, AvatarPrimitive } from './chunk-ITVGYZ7X.js';
|
|
66
|
-
export { ButtonGroup, ButtonGroupProvider, ButtonGroupSeparator, ButtonGroupText, useButtonGroupContext } from './chunk-RI5ZROIJ.js';
|
|
67
|
-
export { Separator, SeparatorPrimitive } from './chunk-R35FHBSP.js';
|
|
68
|
-
export { Card, CardAction, CardContent, CardCursorLabel, CardDescription, CardFooter, CardHeader, CardLabel, CardMedia, CardMediaOverlay, CardMediaOverlayBottom, CardMediaOverlayIconButton, CardMediaOverlayImage, CardMediaOverlayScrim, CardMediaOverlayTopRight, CardTags, CardTitle, cardLinkClassName, useCardCursor } from './chunk-KC6GYHDU.js';
|
|
69
74
|
export { Slider, SliderValue } from './chunk-6EFUKXXN.js';
|
|
70
|
-
export { SegmentedControl } from './chunk-
|
|
75
|
+
export { SegmentedControl } from './chunk-QU33S646.js';
|
|
71
76
|
export { Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle } from './chunk-VNBJK2HH.js';
|
|
72
77
|
import './chunk-KQ7W3CBS.js';
|
|
73
78
|
export { ScrollArea, ScrollBar } from './chunk-Q2BXME6U.js';
|
|
@@ -76,13 +81,13 @@ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './
|
|
|
76
81
|
export { Alert, AlertAction, AlertDescription, AlertIcon, AlertTitle } from './chunk-H5QTJ3FJ.js';
|
|
77
82
|
export { AlertDialog, AlertDialogAction, AlertDialogBackdrop, AlertDialogCancel, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogPrimitive, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport } from './chunk-5CH3VMGZ.js';
|
|
78
83
|
export { PortalContainerProvider, usePortalContainer } from './chunk-WKORZULQ.js';
|
|
79
|
-
export { Button } from './chunk-CYWNKIIJ.js';
|
|
80
|
-
export { Amount } from './chunk-YCG7YMV7.js';
|
|
81
84
|
export { Atom63Theme } from './chunk-V4MKJPJ3.js';
|
|
82
85
|
export { UIProvider, useUIEnvironment } from './chunk-B5L4F5O3.js';
|
|
86
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-77CBRRVT.js';
|
|
87
|
+
export { Button } from './chunk-CYWNKIIJ.js';
|
|
83
88
|
export { getReactRendererConformance, reactRendererConformance } from './chunk-OZPC5YOP.js';
|
|
84
89
|
export { useExtractColor } from './chunk-7JOL7SOV.js';
|
|
85
|
-
import './chunk-AJLHJRK6.js';
|
|
86
90
|
export { TINT_MAX_LUMINANCE, capColorForContrast, colorCacheKey, extractColorFromImage, extractColorFromLoadedImage, getCachedColor, loadAndExtractColor } from './chunk-MVWCM6A5.js';
|
|
91
|
+
import './chunk-AJLHJRK6.js';
|
|
87
92
|
//# sourceMappingURL=index.js.map
|
|
88
93
|
//# sourceMappingURL=index.js.map
|
package/dist/media/index.d.ts
CHANGED
|
@@ -4,7 +4,16 @@ import { M as MediaLightboxLabels, a as MediaLightboxProps, b as MediaLightboxTr
|
|
|
4
4
|
export { c as MediaLightboxAppearance, d as MediaLightboxItem, e as MediaLightboxItemKind, f as MediaLightboxVideoSource, g as MediaLightboxVideoTrack } from '../types-KQLxlHQZ.js';
|
|
5
5
|
|
|
6
6
|
declare const clearImageAnimationCache: () => void;
|
|
7
|
-
type AspectRatio = 'auto' | '1/1' | '4/3' | '3/4' | '16/9' | '9/16' | '2/3' | '3/2' | '5/4' | '21/9' | '9/21';
|
|
7
|
+
type AspectRatio = 'auto' | 'fill' | '1/1' | '4/3' | '3/4' | '16/9' | '9/16' | '2/3' | '3/2' | '5/4' | '21/9' | '9/21';
|
|
8
|
+
/** One art-directed `<source>` of a responsive image. */
|
|
9
|
+
interface ImageSource {
|
|
10
|
+
/** Media query that selects this source, such as `(max-width: 767px)`. */
|
|
11
|
+
media?: string;
|
|
12
|
+
sizes?: string;
|
|
13
|
+
srcSet: string;
|
|
14
|
+
/** MIME type, such as `image/avif`. */
|
|
15
|
+
type?: string;
|
|
16
|
+
}
|
|
8
17
|
interface ImageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
18
|
alt?: string;
|
|
10
19
|
aspectRatio?: AspectRatio;
|
|
@@ -23,9 +32,21 @@ interface ImageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
23
32
|
rootMargin?: string;
|
|
24
33
|
showSkeleton?: boolean;
|
|
25
34
|
skeletonClassName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Layout width of the image for the browser to pick a `srcSet` candidate,
|
|
37
|
+
* such as `100vw`. Used with `srcSet` or `sources`.
|
|
38
|
+
*/
|
|
39
|
+
sizes?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Art-directed sources, tried in order before `src`. Passing `sources` or
|
|
42
|
+
* `srcSet` renders a native `<picture>`/`<img>` with native lazy loading.
|
|
43
|
+
*/
|
|
44
|
+
sources?: ImageSource[];
|
|
26
45
|
src?: string;
|
|
46
|
+
/** Width candidates for `src`, such as `plate-960.webp 960w, plate-1920.webp 1920w`. */
|
|
47
|
+
srcSet?: string;
|
|
27
48
|
}
|
|
28
|
-
declare const Image: ({
|
|
49
|
+
declare const Image: ({ sizes, sources, srcSet, ...props }: ImageProps) => React$1.JSX.Element;
|
|
29
50
|
|
|
30
51
|
/**
|
|
31
52
|
* English defaults so the common case needs no wiring. A localized surface
|
|
@@ -217,4 +238,4 @@ interface VideoThumbnailProps {
|
|
|
217
238
|
declare function VideoThumbnail({ src, className }: VideoThumbnailProps): React$1.JSX.Element;
|
|
218
239
|
|
|
219
240
|
export { DEFAULT_MEDIA_LIGHTBOX_LABELS, Image, MediaLightbox, MediaLightboxLabels, MediaLightboxProps, MediaLightboxTransition, MediaLightboxZoomCursor, Video, VideoDialog, VideoManagerContext, VideoManagerProvider, VideoModal, VideoThumbnail, clearImageAnimationCache, isVideoSrc, useMediaLightbox, useMediaLightboxZoomCursor, useVideoManager };
|
|
220
|
-
export type { AspectRatio, ImageProps, UseMediaLightboxOptions, UseMediaLightboxResult, VideoDialogProps, VideoManagerContextType, VideoManagerProviderProps, VideoModalInteractionMode, VideoModalProps, VideoProps, VideoSource, VideoThumbnailProps };
|
|
241
|
+
export type { AspectRatio, ImageProps, ImageSource, UseMediaLightboxOptions, UseMediaLightboxResult, VideoDialogProps, VideoManagerContextType, VideoManagerProviderProps, VideoModalInteractionMode, VideoModalProps, VideoProps, VideoSource, VideoThumbnailProps };
|