@atom63/ui-react 0.2.0-beta.1 → 0.2.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -50
- package/dist/{button-sktq-nvV.d.ts → button-CfLIHg-R.d.ts} +1 -1
- package/dist/{chunk-MXNO63TC.js → chunk-DSHR3IVC.js} +4 -3
- package/dist/chunk-DSHR3IVC.js.map +1 -0
- package/dist/{chunk-STCXERLM.js → chunk-FGM3BFIX.js} +6 -132
- package/dist/chunk-FGM3BFIX.js.map +1 -0
- package/dist/chunk-JREAUE3E.js +2667 -0
- package/dist/chunk-JREAUE3E.js.map +1 -0
- package/dist/chunk-NFEMEDV3.js +135 -0
- package/dist/chunk-NFEMEDV3.js.map +1 -0
- package/dist/{chunk-7VSPECOH.js → chunk-R67OZVA2.js} +4 -14
- package/dist/chunk-R67OZVA2.js.map +1 -0
- package/dist/chunk-UPPHQLZ2.js +18 -0
- package/dist/chunk-UPPHQLZ2.js.map +1 -0
- package/dist/{destination-link-C9NKeKLe.d.ts → destination-link-DMLeR-oF.d.ts} +1 -1
- package/dist/index-Be9vd-R4.d.ts +436 -0
- package/dist/index.d.ts +31 -442
- package/dist/index.js +426 -3053
- package/dist/index.js.map +1 -1
- package/dist/media/index.js +4 -3
- package/dist/media/index.js.map +1 -1
- package/dist/media/media-lightbox/parts/index.d.ts +1 -1
- package/dist/media/media-lightbox/parts/index.js +3 -2
- package/dist/preview/index.d.ts +16 -0
- package/dist/preview/index.js +6 -0
- package/dist/preview/index.js.map +1 -0
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +2 -1
- package/dist/theme/index.js.map +1 -1
- package/package.json +9 -3
- package/dist/chunk-7VSPECOH.js.map +0 -1
- package/dist/chunk-MXNO63TC.js.map +0 -1
- package/dist/chunk-STCXERLM.js.map +0 -1
|
@@ -3,7 +3,7 @@ import { destinationLinkContract } from '@atom63/ui-foundation';
|
|
|
3
3
|
import { mergeProps } from '@base-ui/react/merge-props';
|
|
4
4
|
import { useRender } from '@base-ui/react/use-render';
|
|
5
5
|
import { ExternalLink, Eye } from 'lucide-react';
|
|
6
|
-
import
|
|
6
|
+
import 'react';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
function DestinationLink({
|
|
@@ -57,17 +57,7 @@ function DestinationIndicator({
|
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
}
|
|
60
|
-
var PortalContainerContext = React2.createContext(void 0);
|
|
61
|
-
function PortalContainerProvider({
|
|
62
|
-
children,
|
|
63
|
-
container
|
|
64
|
-
}) {
|
|
65
|
-
return /* @__PURE__ */ jsx(PortalContainerContext.Provider, { value: container, children });
|
|
66
|
-
}
|
|
67
|
-
function usePortalContainer() {
|
|
68
|
-
return React2.useContext(PortalContainerContext);
|
|
69
|
-
}
|
|
70
60
|
|
|
71
|
-
export { DestinationIndicator, DestinationLink
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
73
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
export { DestinationIndicator, DestinationLink };
|
|
62
|
+
//# sourceMappingURL=chunk-R67OZVA2.js.map
|
|
63
|
+
//# sourceMappingURL=chunk-R67OZVA2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/destination-link/destination-link.tsx"],"names":[],"mappings":";;;;;;;;AAmBO,SAAS,eAAA,CAAgB;AAAA,EAC9B,YAAA,EAAc,SAAA;AAAA,EACd,QAAA;AAAA,EACA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,GAAG;AACL,CAAA,EAA6C;AAC3C,EAAA,MAAM,WAAW,IAAA,KAAS,UAAA;AAC1B,EAAA,MAAM,iBAAA,GAAoB,QAAA,IAAY,SAAA,GAAY,CAAA,EAAG,SAAS,CAAA,mBAAA,CAAA,GAAwB,SAAA;AACtF,EAAA,MAAM,gBAAA,GACJ,QAAA,IAAY,CAAC,SAAA,mBACX,IAAA,CAAA,QAAA,EAAA,EACG,QAAA,EAAA;AAAA,IAAA,QAAA;AAAA,IAAS,GAAA;AAAA,oBAAC,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,SAAA,EAAU,QAAA,EAAA,oBAAA,EAAkB;AAAA,GAAA,EACzD,CAAA,GAEA,QAAA;AAGJ,EAAA,OAAO,SAAA,CAAU;AAAA,IACf,cAAA,EAAgB,GAAA;AAAA,IAChB,KAAA,EAAO,UAAA;AAAA,MACL;AAAA,QACE,YAAA,EAAc,iBAAA;AAAA,QACd,QAAA,EAAU,gBAAA;AAAA,QACV,GAAA,EAAK,WAAW,qBAAA,GAAwB,MAAA;AAAA,QACxC,MAAA,EAAQ,WAAW,QAAA,GAAW;AAAA,OAChC;AAAA,MACA,KAAA;AAAA,MACA;AAAA,QACE,uBAAA,EAAyB,IAAA;AAAA,QACzB,WAAA,EAAa,uBAAA,CAAwB,KAAA,CAAM,CAAC;AAAA;AAC9C,KACF;AAAA,IACA,MAAA,EAAQ,WAAW,MAAA,GAAY,MAAA;AAAA,IAC/B,KAAA,EAAO;AAAA,MACL,IAAA,EAAM;AAAA;AACR,GACD,CAAA;AACH;AAkBO,SAAS,oBAAA,CAAqB;AAAA,EACnC,SAAA;AAAA,EACA;AACF,CAAA,EAGuB;AACrB,EAAA,MAAM,IAAA,GAAO,IAAA,KAAS,UAAA,GAAa,YAAA,GAAe,GAAA;AAClD,EAAA,uBACE,GAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,aAAA,EAAW,IAAA;AAAA,MACX,SAAA,EAAW,EAAA,CAAG,sBAAA,EAAwB,SAAS,CAAA;AAAA,MAC/C,uBAAA,EAAuB,IAAA;AAAA,MACvB,WAAA,EAAW,uBAAA,CAAwB,KAAA,CAAM,CAAC,CAAA;AAAA,MAE1C,QAAA,kBAAA,GAAA,CAAC,IAAA,EAAA,EAAK,aAAA,EAAW,IAAA,EAAC,WAAU,WAAA,EAAY;AAAA;AAAA,GAC1C;AAEJ","file":"chunk-R67OZVA2.js","sourcesContent":["'use client'\n\nimport { type DestinationKind, destinationLinkContract } from '@atom63/ui-foundation'\nimport { mergeProps } from '@base-ui/react/merge-props'\nimport { useRender } from '@base-ui/react/use-render'\nimport { ExternalLink, Eye } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../../lib/cn'\n\nexport type { DestinationKind }\n\nexport type DestinationLinkProps = Omit<useRender.ComponentProps<'a'>, 'rel' | 'target'> & {\n kind: DestinationKind\n}\n\n/**\n * Router-neutral link semantics. Internal destinations may supply a router link\n * through `render`; external destinations always use a native new-tab anchor.\n */\nexport function DestinationLink({\n 'aria-label': ariaLabel,\n children,\n kind,\n render,\n ...props\n}: DestinationLinkProps): React.ReactElement {\n const external = kind === 'external'\n const resolvedAriaLabel = external && ariaLabel ? `${ariaLabel} (opens in new tab)` : ariaLabel\n const resolvedChildren =\n external && !ariaLabel ? (\n <>\n {children} <span className=\"sr-only\">(opens in new tab)</span>\n </>\n ) : (\n children\n )\n\n return useRender({\n defaultTagName: 'a',\n props: mergeProps<'a'>(\n {\n 'aria-label': resolvedAriaLabel,\n children: resolvedChildren,\n rel: external ? 'noopener noreferrer' : undefined,\n target: external ? '_blank' : undefined,\n },\n props,\n {\n 'data-destination-kind': kind,\n 'data-slot': destinationLinkContract.slots[0],\n } as React.ComponentProps<'a'>\n ),\n render: external ? undefined : render,\n state: {\n slot: 'destination-link',\n },\n })\n}\n\n/**\n * The glyph that names a destination: it opens a new tab, or it stays in the app.\n *\n * External is `open-in-new`, not a bare diagonal arrow. Measured by rasterising\n * each candidate and taking the alpha-weighted centroid, every bare arrow in the\n * set is ~12% ink with nearly all of it in the head, so its mass sits 1.3+ units\n * off the viewBox centre and it reads as crooked in a centred box unless each\n * call site carries a magic nudge (`north-east` needs 1.24px at 16px;\n * `arrow-outward-rounded`, 1.42px). `open-in-new` needs 0.14px — under a\n * rasterised pixel — so it is self-centring wherever it is used.\n *\n * It also pairs with `eye`: 25% ink in an 18×18 square against the eye's 35%,\n * rather than a wispy 15×15 diagonal beside a solid one. And it states what the\n * link actually does, matching the \"(opens in new tab)\" that `DestinationLink`\n * appends to the accessible name.\n */\nexport function DestinationIndicator({\n className,\n kind,\n}: {\n className?: string\n kind: DestinationKind\n}): React.ReactElement {\n const Icon = kind === 'external' ? ExternalLink : Eye\n return (\n <span\n aria-hidden\n className={cn('inline-flex shrink-0', className)}\n data-destination-kind={kind}\n data-slot={destinationLinkContract.slots[1]}\n >\n <Icon aria-hidden className=\"size-full\" />\n </span>\n )\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
// src/components/portal-container/portal-container.tsx
|
|
5
|
+
var PortalContainerContext = React.createContext(void 0);
|
|
6
|
+
function PortalContainerProvider({
|
|
7
|
+
children,
|
|
8
|
+
container
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ jsx(PortalContainerContext.Provider, { value: container, children });
|
|
11
|
+
}
|
|
12
|
+
function usePortalContainer() {
|
|
13
|
+
return React.useContext(PortalContainerContext);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { PortalContainerProvider, usePortalContainer };
|
|
17
|
+
//# sourceMappingURL=chunk-UPPHQLZ2.js.map
|
|
18
|
+
//# sourceMappingURL=chunk-UPPHQLZ2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/portal-container/portal-container.tsx"],"names":[],"mappings":";;;;AAeA,IAAM,sBAAA,GAA+B,oBAA+B,MAAS,CAAA;AAO7E,SAAS,uBAAA,CAAwB;AAAA,EAC/B,QAAA;AAAA,EACA;AACF,CAAA,EAAqD;AACnD,EAAA,2BACG,sBAAA,CAAuB,QAAA,EAAvB,EAAgC,KAAA,EAAO,WAAY,QAAA,EAAS,CAAA;AAEjE;AAEA,SAAS,kBAAA,GAAsC;AAC7C,EAAA,OAAa,iBAAW,sBAAsB,CAAA;AAChD","file":"chunk-UPPHQLZ2.js","sourcesContent":["'use client'\n\nimport * as React from 'react'\n\n/*\n * PortalContainer — a tiny context that carries the DOM node (or ShadowRoot)\n * that portalled overlays (popovers, tooltips, dialogs) should render into.\n * Faithful port of prod @atom63/ui portal-container.tsx: same API\n * (PortalContainerProvider + usePortalContainer) and the same\n * HTMLElement | ShadowRoot | null | undefined value type. Purely behavioral —\n * no chrome, so there is no recipe CSS.\n */\n\nexport type PortalContainer = HTMLElement | ShadowRoot | null | undefined\n\nconst PortalContainerContext = React.createContext<PortalContainer>(undefined)\n\nexport interface PortalContainerProviderProps {\n children: React.ReactNode\n container: PortalContainer\n}\n\nfunction PortalContainerProvider({\n children,\n container,\n}: PortalContainerProviderProps): React.ReactElement {\n return (\n <PortalContainerContext.Provider value={container}>{children}</PortalContainerContext.Provider>\n )\n}\n\nfunction usePortalContainer(): PortalContainer {\n return React.useContext(PortalContainerContext)\n}\n\nexport { PortalContainerProvider, usePortalContainer }\n"]}
|
|
@@ -31,4 +31,4 @@ declare function DestinationIndicator({ className, kind, }: {
|
|
|
31
31
|
kind: DestinationKind;
|
|
32
32
|
}): React.ReactElement;
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { DestinationLink as D, DestinationIndicator as a, type DestinationLinkProps as b };
|
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { a as ButtonProps } from './button-CfLIHg-R.js';
|
|
5
|
+
import { Autocomplete } from '@base-ui/react/autocomplete';
|
|
6
|
+
import '@base-ui/react/avatar';
|
|
7
|
+
import '@base-ui/react/separator';
|
|
8
|
+
import { CardVariant, CardPadding, CardContentPadding, CardLineClamp, DialogMobilePlacement, DialogSize, DialogFooterVariant, CrossRendererContractId, SelectSize } from '@atom63/ui-foundation';
|
|
9
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
10
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
11
|
+
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
12
|
+
import '@base-ui/react/input';
|
|
13
|
+
import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
|
|
14
|
+
import '@base-ui/react/progress';
|
|
15
|
+
import { Select as Select$1 } from '@base-ui/react/select';
|
|
16
|
+
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
17
|
+
|
|
18
|
+
declare const AlertDialogCreateHandle: typeof AlertDialog$1.createHandle;
|
|
19
|
+
declare const AlertDialog: typeof AlertDialog$1.Root;
|
|
20
|
+
declare function AlertDialogPortal(props: AlertDialog$1.Portal.Props): React$1.ReactElement;
|
|
21
|
+
declare function AlertDialogTrigger({ className, ...props }: AlertDialog$1.Trigger.Props): React$1.ReactElement;
|
|
22
|
+
declare function AlertDialogBackdrop({ className, ...props }: AlertDialog$1.Backdrop.Props): React$1.ReactElement;
|
|
23
|
+
declare function AlertDialogViewport({ className, ...props }: AlertDialog$1.Viewport.Props): React$1.ReactElement;
|
|
24
|
+
declare function AlertDialogPopup({ className, bottomStickOnMobile, portalProps, size, variant, ...props }: AlertDialog$1.Popup.Props & {
|
|
25
|
+
bottomStickOnMobile?: boolean;
|
|
26
|
+
portalProps?: AlertDialog$1.Portal.Props;
|
|
27
|
+
/** @deprecated Use `className` (e.g. `max-w-sm`) instead. Kept for existing call sites. */
|
|
28
|
+
size?: 'default' | 'sm';
|
|
29
|
+
variant?: 'default' | 'destructive' | 'info' | 'success' | 'warning';
|
|
30
|
+
}): React$1.ReactElement;
|
|
31
|
+
declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
32
|
+
declare function AlertDialogFooter({ className, variant, ...props }: React$1.ComponentProps<'div'> & {
|
|
33
|
+
variant?: 'default' | 'bare';
|
|
34
|
+
}): React$1.ReactElement;
|
|
35
|
+
declare function AlertDialogMedia({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
36
|
+
declare function AlertDialogTitle({ className, ...props }: AlertDialog$1.Title.Props): React$1.ReactElement;
|
|
37
|
+
declare function AlertDialogDescription({ className, ...props }: AlertDialog$1.Description.Props): React$1.ReactElement;
|
|
38
|
+
declare function AlertDialogClose(props: AlertDialog$1.Close.Props): React$1.ReactElement;
|
|
39
|
+
declare function AlertDialogAction({ className, variant, size, ...props }: AlertDialog$1.Close.Props & Pick<ButtonProps, 'variant' | 'size'>): React$1.ReactElement;
|
|
40
|
+
declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialog$1.Close.Props & Pick<ButtonProps, 'variant' | 'size'>): React$1.ReactElement;
|
|
41
|
+
|
|
42
|
+
declare function ButtonGroupProvider({ children, }: {
|
|
43
|
+
children: React$1.ReactNode;
|
|
44
|
+
}): React$1.ReactElement;
|
|
45
|
+
declare function useButtonGroupContext(): boolean;
|
|
46
|
+
|
|
47
|
+
/** A content/footer padding: a single preset, or `{ base, sm }` where `sm`
|
|
48
|
+
* applies once the Card's own width crosses the container-query threshold
|
|
49
|
+
* (see the `@container` block in card.css) — responds to the card, not the viewport. */
|
|
50
|
+
type CardResponsivePadding = CardContentPadding | {
|
|
51
|
+
base?: CardContentPadding;
|
|
52
|
+
sm?: CardContentPadding;
|
|
53
|
+
};
|
|
54
|
+
type CardProps = useRender.ComponentProps<'div'> & {
|
|
55
|
+
variant?: CardVariant;
|
|
56
|
+
padding?: CardPadding;
|
|
57
|
+
};
|
|
58
|
+
declare function Card({ className, render, variant, padding, ...props }: CardProps): React$1.ReactElement;
|
|
59
|
+
type CardHeaderProps = useRender.ComponentProps<'div'> & {
|
|
60
|
+
padding?: CardPadding;
|
|
61
|
+
};
|
|
62
|
+
declare function CardHeader({ className, render, padding, ...props }: CardHeaderProps): React$1.ReactElement;
|
|
63
|
+
declare function CardLabel({ className, render, ...props }: useRender.ComponentProps<'span'>): React$1.ReactElement;
|
|
64
|
+
type CardMediaProps = useRender.ComponentProps<'div'> & {
|
|
65
|
+
aspectRatio?: string;
|
|
66
|
+
/** Subtle zoom of the media on card hover (default true). */
|
|
67
|
+
hoverScale?: boolean;
|
|
68
|
+
};
|
|
69
|
+
declare function CardMedia({ className, render, aspectRatio, hoverScale, style, ...props }: CardMediaProps): React$1.ReactElement;
|
|
70
|
+
type CardMediaOverlayProps = useRender.ComponentProps<'div'> & {
|
|
71
|
+
aspectRatio?: string;
|
|
72
|
+
};
|
|
73
|
+
declare function CardMediaOverlay({ className, render, aspectRatio, style, ...props }: CardMediaOverlayProps): React$1.ReactElement;
|
|
74
|
+
declare function CardMediaOverlayImage({ className, render, ...props }: useRender.ComponentProps<'div'>): React$1.ReactElement;
|
|
75
|
+
declare function CardMediaOverlayScrim({ className, render, ...props }: useRender.ComponentProps<'div'>): React$1.ReactElement;
|
|
76
|
+
declare function CardMediaOverlayTopRight({ className, render, ...props }: useRender.ComponentProps<'div'>): React$1.ReactElement;
|
|
77
|
+
declare function CardMediaOverlayBottom({ className, render, ...props }: useRender.ComponentProps<'div'>): React$1.ReactElement;
|
|
78
|
+
declare function CardMediaOverlayIconButton({ className, render, ...props }: useRender.ComponentProps<'span'>): React$1.ReactElement;
|
|
79
|
+
type CardContentProps = useRender.ComponentProps<'div'> & {
|
|
80
|
+
padding?: CardResponsivePadding;
|
|
81
|
+
};
|
|
82
|
+
declare function CardContent({ className, render, padding, ...props }: CardContentProps): React$1.ReactElement;
|
|
83
|
+
type CardTitleProps = useRender.ComponentProps<'span'> & {
|
|
84
|
+
lineClamp?: CardLineClamp;
|
|
85
|
+
};
|
|
86
|
+
declare function CardTitle({ className, render, lineClamp, ...props }: CardTitleProps): React$1.ReactElement;
|
|
87
|
+
type CardDescriptionProps = useRender.ComponentProps<'span'> & {
|
|
88
|
+
lineClamp?: CardLineClamp;
|
|
89
|
+
};
|
|
90
|
+
declare function CardDescription({ className, render, lineClamp, ...props }: CardDescriptionProps): React$1.ReactElement;
|
|
91
|
+
declare function CardTags({ className, render, ...props }: useRender.ComponentProps<'div'>): React$1.ReactElement;
|
|
92
|
+
type CardFooterProps = useRender.ComponentProps<'div'> & {
|
|
93
|
+
padding?: CardResponsivePadding;
|
|
94
|
+
};
|
|
95
|
+
declare function CardFooter({ className, render, padding, ...props }: CardFooterProps): React$1.ReactElement;
|
|
96
|
+
declare function CardAction({ className, render, ...props }: useRender.ComponentProps<'div'>): React$1.ReactElement;
|
|
97
|
+
/**
|
|
98
|
+
* The pointer-following "cursor label" pill (e.g. "Open link ↗" on link-style
|
|
99
|
+
* cards). Positioned by the `--a63-card-cursor-x/y` custom props the card sets;
|
|
100
|
+
* shown only while the card carries `[data-cursor-active]`. Drive it with the
|
|
101
|
+
* `useCardCursor` hook (motion-free by default; pass `onMove` to wire your own
|
|
102
|
+
* motion lib for spring smoothing — see the hook).
|
|
103
|
+
*/
|
|
104
|
+
declare function CardCursorLabel({ className, render, ...props }: useRender.ComponentProps<'div'>): React$1.ReactElement;
|
|
105
|
+
/** Unclipped `<a>` wrapper class — interactive lift/shadow aren't cut off; focus ring included. */
|
|
106
|
+
declare const cardLinkClassName = "a63-CardLink";
|
|
107
|
+
|
|
108
|
+
declare const CommandDialog: typeof Dialog$1.Root;
|
|
109
|
+
declare const CommandDialogPortal: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.AlertDialogPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
110
|
+
declare const CommandCreateHandle: typeof Dialog$1.createHandle;
|
|
111
|
+
declare function CommandDialogTrigger(props: Dialog$1.Trigger.Props): React$1.ReactElement;
|
|
112
|
+
declare function CommandDialogBackdrop({ className, ...props }: Dialog$1.Backdrop.Props): React$1.ReactElement;
|
|
113
|
+
declare function CommandDialogViewport({ className, ...props }: Dialog$1.Viewport.Props): React$1.ReactElement;
|
|
114
|
+
declare function CommandDialogPopup({ className, children, ...props }: Dialog$1.Popup.Props): React$1.ReactElement;
|
|
115
|
+
declare function Command({ autoHighlight, keepHighlight, ...props }: React$1.ComponentProps<typeof Autocomplete.Root>): React$1.ReactElement;
|
|
116
|
+
declare function CommandInput({ className, placeholder, ...props }: React$1.ComponentProps<typeof Autocomplete.Input>): React$1.ReactElement;
|
|
117
|
+
declare function CommandPanel({ className, children, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
118
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Autocomplete.List>): React$1.ReactElement;
|
|
119
|
+
declare function CommandEmpty({ className, ...props }: React$1.ComponentProps<typeof Autocomplete.Empty>): React$1.ReactElement;
|
|
120
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Autocomplete.Group>): React$1.ReactElement;
|
|
121
|
+
declare function CommandGroupLabel({ className, ...props }: React$1.ComponentProps<typeof Autocomplete.GroupLabel>): React$1.ReactElement;
|
|
122
|
+
declare function CommandCollection({ ...props }: React$1.ComponentProps<typeof Autocomplete.Collection>): React$1.ReactElement;
|
|
123
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Autocomplete.Item>): React$1.ReactElement;
|
|
124
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Autocomplete.Separator>): React$1.ReactElement;
|
|
125
|
+
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<'kbd'>): React$1.ReactElement;
|
|
126
|
+
declare function CommandFooter({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
127
|
+
|
|
128
|
+
declare const DialogCreateHandle: typeof Dialog$1.createHandle;
|
|
129
|
+
declare const Dialog: typeof Dialog$1.Root;
|
|
130
|
+
declare function DialogPortal(props: Dialog$1.Portal.Props): React$1.ReactElement;
|
|
131
|
+
declare function DialogTrigger({ className, ...props }: Dialog$1.Trigger.Props): React$1.ReactElement;
|
|
132
|
+
declare function DialogClose(props: Dialog$1.Close.Props): React$1.ReactElement;
|
|
133
|
+
declare function DialogBackdrop({ className, ...props }: Dialog$1.Backdrop.Props): React$1.ReactElement;
|
|
134
|
+
declare function DialogViewport({ className, ...props }: Dialog$1.Viewport.Props): React$1.ReactElement;
|
|
135
|
+
declare function DialogPopup({ className, children, showCloseButton, bottomStickOnMobile, mobilePlacement, size, closeProps, portalProps, ...props }: Dialog$1.Popup.Props & {
|
|
136
|
+
showCloseButton?: boolean;
|
|
137
|
+
mobilePlacement?: DialogMobilePlacement;
|
|
138
|
+
size?: DialogSize;
|
|
139
|
+
/** @deprecated Use `mobilePlacement="bottom"` or `"center"` instead. */
|
|
140
|
+
bottomStickOnMobile?: boolean;
|
|
141
|
+
closeProps?: Dialog$1.Close.Props;
|
|
142
|
+
portalProps?: Dialog$1.Portal.Props;
|
|
143
|
+
}): React$1.ReactElement;
|
|
144
|
+
declare function DialogHeader({ className, render, ...props }: useRender.ComponentProps<'div'>): React$1.ReactElement;
|
|
145
|
+
declare function DialogFooter({ className, variant, render, ...props }: useRender.ComponentProps<'div'> & {
|
|
146
|
+
variant?: DialogFooterVariant;
|
|
147
|
+
}): React$1.ReactElement;
|
|
148
|
+
declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): React$1.ReactElement;
|
|
149
|
+
declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): React$1.ReactElement;
|
|
150
|
+
declare function DialogPanel({ className, scrollFade, render, ...props }: useRender.ComponentProps<'div'> & {
|
|
151
|
+
scrollFade?: boolean;
|
|
152
|
+
}): React$1.ReactElement;
|
|
153
|
+
|
|
154
|
+
interface ReactRendererConformanceEvidence {
|
|
155
|
+
contractId: CrossRendererContractId;
|
|
156
|
+
implementedStates: readonly string[];
|
|
157
|
+
verifiedSharedOutcomes: readonly string[];
|
|
158
|
+
verifiedAccessibilityOutcomes: readonly string[];
|
|
159
|
+
verifiesMotionRecipe: boolean;
|
|
160
|
+
}
|
|
161
|
+
declare const reactRendererConformance: readonly [{
|
|
162
|
+
readonly contractId: "button";
|
|
163
|
+
readonly implementedStates: readonly ["rest", "pressed", "disabled", "loading"];
|
|
164
|
+
readonly verifiedSharedOutcomes: readonly ["action-fires-once", "loading-blocks-repeat-activation", "disabled-prevents-activation"];
|
|
165
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-label", "announces-loading", "disabled-while-loading"];
|
|
166
|
+
readonly verifiesMotionRecipe: true;
|
|
167
|
+
}, {
|
|
168
|
+
readonly contractId: "alert";
|
|
169
|
+
readonly implementedStates: readonly ["info", "success", "warning", "error"];
|
|
170
|
+
readonly verifiedSharedOutcomes: readonly ["tone-is-not-conveyed-by-color-alone", "message-remains-readable", "action-does-not-obscure-status"];
|
|
171
|
+
readonly verifiedAccessibilityOutcomes: readonly ["announces-semantic-tone", "text-does-not-rely-on-color"];
|
|
172
|
+
readonly verifiesMotionRecipe: false;
|
|
173
|
+
}, {
|
|
174
|
+
readonly contractId: "dialog";
|
|
175
|
+
readonly implementedStates: readonly ["closed", "open", "focus-visible"];
|
|
176
|
+
readonly verifiedSharedOutcomes: readonly ["opening-presents-a-modal-context", "background-interaction-is-blocked-while-open", "dismissal-returns-to-the-originating-context"];
|
|
177
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-modal-title", "keeps-assistive-focus-in-the-modal-context", "restores-access-to-the-originating-control"];
|
|
178
|
+
readonly verifiesMotionRecipe: false;
|
|
179
|
+
}, {
|
|
180
|
+
readonly contractId: "alert-dialog";
|
|
181
|
+
readonly implementedStates: readonly ["closed", "open"];
|
|
182
|
+
readonly verifiedSharedOutcomes: readonly ["consequential-action-requires-explicit-confirmation", "cancel-dismisses-without-performing-the-action", "confirmation-performs-the-action-once-and-dismisses"];
|
|
183
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-alert-dialog-title", "exposes-consequence-description", "identifies-cancel-and-confirm-actions"];
|
|
184
|
+
readonly verifiesMotionRecipe: false;
|
|
185
|
+
}, {
|
|
186
|
+
readonly contractId: "field";
|
|
187
|
+
readonly implementedStates: readonly ["default", "invalid", "disabled"];
|
|
188
|
+
readonly verifiedSharedOutcomes: readonly ["label-identifies-control", "description-explains-input", "invalid-state-exposes-error"];
|
|
189
|
+
readonly verifiedAccessibilityOutcomes: readonly ["associates-label", "associates-description", "announces-error"];
|
|
190
|
+
readonly verifiesMotionRecipe: false;
|
|
191
|
+
}, {
|
|
192
|
+
readonly contractId: "destination-link";
|
|
193
|
+
readonly implementedStates: readonly ["rest", "focus-visible"];
|
|
194
|
+
readonly verifiedSharedOutcomes: readonly ["internal-destination-preserves-application-navigation", "external-destination-uses-platform-external-navigation", "destination-kind-remains-distinguishable"];
|
|
195
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-link-label", "announces-external-destination-behavior", "preserves-native-link-semantics"];
|
|
196
|
+
readonly verifiesMotionRecipe: false;
|
|
197
|
+
}, {
|
|
198
|
+
readonly contractId: "input";
|
|
199
|
+
readonly implementedStates: readonly ["rest", "focus", "disabled", "invalid"];
|
|
200
|
+
readonly verifiedSharedOutcomes: readonly ["value-remains-editable-when-enabled", "focus-is-visible", "invalid-state-is-announced"];
|
|
201
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-label", "exposes-value", "announces-invalid"];
|
|
202
|
+
readonly verifiesMotionRecipe: false;
|
|
203
|
+
}, {
|
|
204
|
+
readonly contractId: "textarea";
|
|
205
|
+
readonly implementedStates: readonly ["rest", "focus", "disabled", "invalid"];
|
|
206
|
+
readonly verifiedSharedOutcomes: readonly ["multi-line-value-remains-editable", "focus-is-visible", "invalid-state-is-announced"];
|
|
207
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-label", "exposes-value", "announces-invalid"];
|
|
208
|
+
readonly verifiesMotionRecipe: false;
|
|
209
|
+
}, {
|
|
210
|
+
readonly contractId: "switch";
|
|
211
|
+
readonly implementedStates: readonly ["off", "on", "disabled"];
|
|
212
|
+
readonly verifiedSharedOutcomes: readonly ["value-is-boolean", "activation-toggles-value", "disabled-prevents-change"];
|
|
213
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-label", "exposes-boolean-value", "preserves-native-control-role"];
|
|
214
|
+
readonly verifiesMotionRecipe: false;
|
|
215
|
+
}, {
|
|
216
|
+
readonly contractId: "select";
|
|
217
|
+
readonly implementedStates: readonly ["closed", "open", "disabled", "selected-item", "disabled-item"];
|
|
218
|
+
readonly verifiedSharedOutcomes: readonly ["current-selection-remains-visible", "activation-reveals-available-options", "choosing-an-option-updates-the-value-once", "disabled-controls-and-options-prevent-selection"];
|
|
219
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-label", "exposes-selected-value", "preserves-single-selection-semantics"];
|
|
220
|
+
readonly verifiesMotionRecipe: false;
|
|
221
|
+
}, {
|
|
222
|
+
readonly contractId: "segmented-control";
|
|
223
|
+
readonly implementedStates: readonly ["rest", "selected", "disabled"];
|
|
224
|
+
readonly verifiedSharedOutcomes: readonly ["one-segment-is-selected-at-a-time", "activation-updates-the-selection-once", "disabled-segment-prevents-selection"];
|
|
225
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-each-segment-label", "exposes-selected-state", "preserves-single-selection-semantics"];
|
|
226
|
+
readonly verifiesMotionRecipe: false;
|
|
227
|
+
}, {
|
|
228
|
+
readonly contractId: "radio";
|
|
229
|
+
readonly implementedStates: readonly ["unchecked", "checked", "disabled"];
|
|
230
|
+
readonly verifiedSharedOutcomes: readonly ["exactly-one-option-may-be-selected", "activation-moves-selection-to-the-chosen-option", "disabled-option-prevents-selection"];
|
|
231
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-group-label", "exposes-option-labels-and-selected-state", "preserves-single-selection-semantics"];
|
|
232
|
+
readonly verifiesMotionRecipe: false;
|
|
233
|
+
}, {
|
|
234
|
+
readonly contractId: "slider";
|
|
235
|
+
readonly implementedStates: readonly ["rest", "dragging", "disabled"];
|
|
236
|
+
readonly verifiedSharedOutcomes: readonly ["value-remains-within-the-declared-range", "interaction-updates-value-using-the-declared-step", "disabled-control-prevents-value-change"];
|
|
237
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-label", "exposes-current-value-and-range", "supports-adjustable-actions"];
|
|
238
|
+
readonly verifiesMotionRecipe: false;
|
|
239
|
+
}, {
|
|
240
|
+
readonly contractId: "dropdown-menu";
|
|
241
|
+
readonly implementedStates: readonly ["closed", "open", "disabled", "checked", "destructive"];
|
|
242
|
+
readonly verifiedSharedOutcomes: readonly ["enabled-action-executes-once-and-dismisses-the-menu", "disabled-action-does-not-execute", "checked-choice-exposes-its-current-state", "destructive-action-retains-destructive-intent"];
|
|
243
|
+
readonly verifiedAccessibilityOutcomes: readonly ["trigger-exposes-menu-availability", "items-expose-label-role-and-disabled-state", "checked-items-expose-selected-or-checked-state"];
|
|
244
|
+
readonly verifiesMotionRecipe: false;
|
|
245
|
+
}, {
|
|
246
|
+
readonly contractId: "accordion";
|
|
247
|
+
readonly implementedStates: readonly ["closed", "open", "disabled"];
|
|
248
|
+
readonly verifiedSharedOutcomes: readonly ["activation-toggles-associated-content-visibility", "expanded-state-matches-content-visibility", "disabled-trigger-prevents-disclosure-change"];
|
|
249
|
+
readonly verifiedAccessibilityOutcomes: readonly ["trigger-exposes-expanded-state", "trigger-is-associated-with-disclosed-content", "disabled-trigger-exposes-disabled-state"];
|
|
250
|
+
readonly verifiesMotionRecipe: false;
|
|
251
|
+
}, {
|
|
252
|
+
readonly contractId: "calendar";
|
|
253
|
+
readonly implementedStates: readonly ["rest", "selected", "disabled"];
|
|
254
|
+
readonly verifiedSharedOutcomes: readonly ["selection-updates-to-an-allowed-date", "disabled-date-prevents-selection", "selected-date-remains-visible"];
|
|
255
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-control-label", "dates-expose-complete-date-names", "selected-date-exposes-selected-state"];
|
|
256
|
+
readonly verifiesMotionRecipe: false;
|
|
257
|
+
}, {
|
|
258
|
+
readonly contractId: "search-field";
|
|
259
|
+
readonly implementedStates: readonly ["empty", "query", "focus", "disabled"];
|
|
260
|
+
readonly verifiedSharedOutcomes: readonly ["editing-updates-the-query", "clear-empties-the-query-and-preserves-input-context", "submit-commits-the-current-query-once", "disabled-search-prevents-editing-and-clear"];
|
|
261
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-search-input-role-and-label", "clear-action-has-an-accessible-label", "disabled-state-is-exposed"];
|
|
262
|
+
readonly verifiesMotionRecipe: false;
|
|
263
|
+
}, {
|
|
264
|
+
readonly contractId: "tabs";
|
|
265
|
+
readonly implementedStates: readonly ["rest", "selected"];
|
|
266
|
+
readonly verifiedSharedOutcomes: readonly ["one-tab-is-selected-at-a-time", "selection-reveals-the-associated-content", "selected-tab-remains-visually-distinguishable"];
|
|
267
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-tab-labels", "exposes-selected-state", "associates-selection-with-visible-content"];
|
|
268
|
+
readonly verifiesMotionRecipe: false;
|
|
269
|
+
}, {
|
|
270
|
+
readonly contractId: "load-more-trigger";
|
|
271
|
+
readonly implementedStates: readonly ["idle", "loading", "failed", "exhausted"];
|
|
272
|
+
readonly verifiedSharedOutcomes: readonly ["loading-is-announced", "failure-provides-retry", "exhaustion-is-announced", "existing-items-remain-stable-while-appending"];
|
|
273
|
+
readonly verifiedAccessibilityOutcomes: readonly ["announces-loading", "exposes-retry-action", "announces-exhausted"];
|
|
274
|
+
readonly verifiesMotionRecipe: false;
|
|
275
|
+
}, {
|
|
276
|
+
readonly contractId: "skeleton";
|
|
277
|
+
readonly implementedStates: readonly ["loading", "reduced-motion"];
|
|
278
|
+
readonly verifiedSharedOutcomes: readonly ["placeholder-is-hidden-from-assistive-technology", "interaction-is-blocked-while-loading", "reduced-motion-result-is-static"];
|
|
279
|
+
readonly verifiedAccessibilityOutcomes: readonly ["hidden-from-accessibility-tree", "blocks-interaction-while-active"];
|
|
280
|
+
readonly verifiesMotionRecipe: true;
|
|
281
|
+
}, {
|
|
282
|
+
readonly contractId: "toggle";
|
|
283
|
+
readonly implementedStates: readonly ["off", "on", "disabled"];
|
|
284
|
+
readonly verifiedSharedOutcomes: readonly ["selected-state-is-visible", "activation-toggles-selection", "disabled-prevents-change"];
|
|
285
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-label", "announces-selected-state", "preserves-button-role"];
|
|
286
|
+
readonly verifiesMotionRecipe: false;
|
|
287
|
+
}, {
|
|
288
|
+
readonly contractId: "card";
|
|
289
|
+
readonly implementedStates: readonly ["rest", "interactive", "focus-visible"];
|
|
290
|
+
readonly verifiedSharedOutcomes: readonly ["content-order-is-preserved", "static-card-does-not-imply-action", "interactive-card-has-one-primary-action"];
|
|
291
|
+
readonly verifiedAccessibilityOutcomes: readonly ["preserves-content-order", "does-not-imply-action-when-static"];
|
|
292
|
+
readonly verifiesMotionRecipe: false;
|
|
293
|
+
}, {
|
|
294
|
+
readonly contractId: "badge";
|
|
295
|
+
readonly implementedStates: readonly ["neutral", "accent", "success", "warning", "error"];
|
|
296
|
+
readonly verifiedSharedOutcomes: readonly ["label-remains-readable-without-color", "semantic-tone-retains-meaning"];
|
|
297
|
+
readonly verifiedAccessibilityOutcomes: readonly ["text-does-not-rely-on-color"];
|
|
298
|
+
readonly verifiesMotionRecipe: false;
|
|
299
|
+
}, {
|
|
300
|
+
readonly contractId: "avatar";
|
|
301
|
+
readonly implementedStates: readonly ["loading", "loaded", "fallback"];
|
|
302
|
+
readonly verifiedSharedOutcomes: readonly ["accessible-name-is-preserved", "fallback-preserves-identity", "loading-does-not-expose-empty-image"];
|
|
303
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-accessible-name", "fallback-preserves-identity"];
|
|
304
|
+
readonly verifiesMotionRecipe: false;
|
|
305
|
+
}, {
|
|
306
|
+
readonly contractId: "empty";
|
|
307
|
+
readonly implementedStates: readonly ["empty", "error"];
|
|
308
|
+
readonly verifiedSharedOutcomes: readonly ["heading-explains-state", "supporting-copy-provides-context", "recovery-action-remains-available"];
|
|
309
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-heading", "exposes-recovery-action", "preserves-reading-order"];
|
|
310
|
+
readonly verifiesMotionRecipe: false;
|
|
311
|
+
}, {
|
|
312
|
+
readonly contractId: "progress";
|
|
313
|
+
readonly implementedStates: readonly ["indeterminate", "progressing", "complete"];
|
|
314
|
+
readonly verifiedSharedOutcomes: readonly ["label-identifies-operation", "determinate-value-is-exposed", "completion-is-distinguishable"];
|
|
315
|
+
readonly verifiedAccessibilityOutcomes: readonly ["exposes-label", "announces-progress-value"];
|
|
316
|
+
readonly verifiesMotionRecipe: false;
|
|
317
|
+
}, {
|
|
318
|
+
readonly contractId: "toaster";
|
|
319
|
+
readonly implementedStates: readonly ["visible", "dismissing", "reduced-motion"];
|
|
320
|
+
readonly verifiedSharedOutcomes: readonly ["message-is-announced", "focus-is-not-trapped", "dismissal-respects-motion-preference"];
|
|
321
|
+
readonly verifiedAccessibilityOutcomes: readonly ["announces-message", "does-not-trap-focus"];
|
|
322
|
+
readonly verifiesMotionRecipe: true;
|
|
323
|
+
}];
|
|
324
|
+
type ReactVerifiedContractId = (typeof reactRendererConformance)[number]['contractId'];
|
|
325
|
+
declare function getReactRendererConformance(contractId: CrossRendererContractId): ReactRendererConformanceEvidence | undefined;
|
|
326
|
+
|
|
327
|
+
type NavigationMenuProps = NavigationMenu$1.Root.Props & Pick<NavigationMenu$1.Positioner.Props, 'align'> & {
|
|
328
|
+
portalContainer?: NavigationMenu$1.Portal.Props['container'];
|
|
329
|
+
};
|
|
330
|
+
declare function NavigationMenu({ align, children, className, portalContainer, ...props }: NavigationMenuProps): React$1.ReactElement;
|
|
331
|
+
declare function NavigationMenuList({ className, ...props }: NavigationMenu$1.List.Props): React$1.ReactElement;
|
|
332
|
+
declare function NavigationMenuItem({ className, ...props }: NavigationMenu$1.Item.Props): React$1.ReactElement;
|
|
333
|
+
declare function navigationMenuTriggerStyle(): string;
|
|
334
|
+
declare function NavigationMenuTrigger({ children, className, ...props }: NavigationMenu$1.Trigger.Props): React$1.ReactElement;
|
|
335
|
+
declare function NavigationMenuContent({ className, ...props }: NavigationMenu$1.Content.Props): React$1.ReactElement;
|
|
336
|
+
type NavigationMenuPositionerProps = NavigationMenu$1.Positioner.Props & {
|
|
337
|
+
portalContainer?: NavigationMenu$1.Portal.Props['container'];
|
|
338
|
+
};
|
|
339
|
+
declare function NavigationMenuPositioner({ align, alignOffset, className, portalContainer, side, sideOffset, ...props }: NavigationMenuPositionerProps): React$1.ReactElement;
|
|
340
|
+
declare function NavigationMenuLink({ className, ...props }: NavigationMenu$1.Link.Props): React$1.ReactElement;
|
|
341
|
+
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
342
|
+
declare function NavigationMenuViewport({ className, ...props }: NavigationMenu$1.Viewport.Props): React$1.ReactElement;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Scrollable List Component
|
|
346
|
+
* Generic horizontal scrolling container with chevron navigation
|
|
347
|
+
* Can be used for tabs, buttons, or any scrollable content
|
|
348
|
+
*/
|
|
349
|
+
declare const scrollableListControlClassNames: {
|
|
350
|
+
readonly button: "a63-ScrollableList-controlButton";
|
|
351
|
+
readonly icon: "a63-ScrollableList-controlIcon";
|
|
352
|
+
};
|
|
353
|
+
interface ScrollableListProps {
|
|
354
|
+
children: React.ReactNode;
|
|
355
|
+
className?: string;
|
|
356
|
+
/**
|
|
357
|
+
* Inline pad on the flex track (CSS length). Use for full-bleed lists whose
|
|
358
|
+
* first/last items should line up with a narrower reading column — the scroll
|
|
359
|
+
* viewport stays full-width; only the content is inset.
|
|
360
|
+
* @example "max(1.5rem, calc((100% - 36rem) / 2 + 1.5rem))"
|
|
361
|
+
*/
|
|
362
|
+
contentPad?: string;
|
|
363
|
+
/**
|
|
364
|
+
* Offset chevrons from the frame edges (CSS length). Pair with `contentPad`
|
|
365
|
+
* on full-bleed tracks so controls stay on the column rails.
|
|
366
|
+
* @example "max(0px, calc((100% - 36rem) / 2))"
|
|
367
|
+
*/
|
|
368
|
+
controlInset?: string;
|
|
369
|
+
disabled?: boolean;
|
|
370
|
+
/** Drag the list horizontally with a pointer (grab-to-scroll). Off by default. */
|
|
371
|
+
draggable?: boolean;
|
|
372
|
+
/** Fade the edges as content overflows (the scroll mask). On by default. */
|
|
373
|
+
mask?: boolean;
|
|
374
|
+
showChevrons?: boolean;
|
|
375
|
+
wrapLayoutBreakpoint?: number;
|
|
376
|
+
}
|
|
377
|
+
declare function ScrollableList({ children, className, contentPad, controlInset, showChevrons, disabled, draggable, mask, wrapLayoutBreakpoint, }: ScrollableListProps): React$1.JSX.Element;
|
|
378
|
+
|
|
379
|
+
declare const Select: typeof Select$1.Root;
|
|
380
|
+
/**
|
|
381
|
+
* Visual shell for `SelectTrigger`. Reuse for popovers or other controls that
|
|
382
|
+
* should match select triggers (e.g. filter bars). Mirrors prod's
|
|
383
|
+
* `selectTriggerDefaultClassName` export, expressed as the DS recipe class.
|
|
384
|
+
*/
|
|
385
|
+
declare const selectTriggerDefaultClassName = "a63-Select-trigger";
|
|
386
|
+
type SelectTriggerProps = Select$1.Trigger.Props & {
|
|
387
|
+
size?: SelectSize;
|
|
388
|
+
};
|
|
389
|
+
declare function SelectTrigger({ children, className, size, ...props }: SelectTriggerProps): React$1.ReactElement;
|
|
390
|
+
declare function SelectValue({ className, ...props }: Select$1.Value.Props): React$1.ReactElement;
|
|
391
|
+
interface SelectPopupProps extends Select$1.Popup.Props {
|
|
392
|
+
listClassName?: string;
|
|
393
|
+
portalContainer?: Select$1.Portal.Props['container'];
|
|
394
|
+
sideOffset?: Select$1.Positioner.Props['sideOffset'];
|
|
395
|
+
alignItemWithTrigger?: Select$1.Positioner.Props['alignItemWithTrigger'];
|
|
396
|
+
}
|
|
397
|
+
declare function SelectPopup({ children, className, listClassName, portalContainer, sideOffset, alignItemWithTrigger, ...props }: SelectPopupProps): React$1.ReactElement;
|
|
398
|
+
declare function SelectItem({ children, className, ...props }: Select$1.Item.Props): React$1.ReactElement;
|
|
399
|
+
declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): React$1.ReactElement;
|
|
400
|
+
declare function SelectGroup(props: Select$1.Group.Props): React$1.ReactElement;
|
|
401
|
+
declare function SelectGroupLabel({ className, ...props }: Select$1.GroupLabel.Props): React$1.ReactElement;
|
|
402
|
+
/** Alias matching prod's `SelectContent` import name. */
|
|
403
|
+
declare const SelectContent: typeof SelectPopup;
|
|
404
|
+
|
|
405
|
+
declare const TooltipCreateHandle: typeof Tooltip$1.createHandle;
|
|
406
|
+
declare const TooltipProvider: typeof Tooltip$1.Provider;
|
|
407
|
+
declare const Tooltip: typeof Tooltip$1.Root;
|
|
408
|
+
declare function TooltipTrigger<Payload = unknown>(props: Tooltip$1.Trigger.Props<Payload>): React__default.ReactElement;
|
|
409
|
+
interface TooltipPopupProps extends Tooltip$1.Popup.Props {
|
|
410
|
+
align?: Tooltip$1.Positioner.Props['align'];
|
|
411
|
+
anchor?: Tooltip$1.Positioner.Props['anchor'];
|
|
412
|
+
portalProps?: Tooltip$1.Portal.Props;
|
|
413
|
+
side?: Tooltip$1.Positioner.Props['side'];
|
|
414
|
+
sideOffset?: Tooltip$1.Positioner.Props['sideOffset'];
|
|
415
|
+
}
|
|
416
|
+
declare function TooltipPopup({ align, anchor, children, className, portalProps, side, sideOffset, ...props }: TooltipPopupProps): React__default.ReactElement;
|
|
417
|
+
|
|
418
|
+
type TooltipContentProps = TooltipPopupProps;
|
|
419
|
+
|
|
420
|
+
declare const ATOM63_MOTION_EASE: readonly [0.16, 1, 0.3, 1];
|
|
421
|
+
declare const ATOM63_MOTION_EASE_CSS = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
422
|
+
declare const ATOM63_OVERLAY_MOTION_EASE: readonly [0.22, 1, 0.36, 1];
|
|
423
|
+
declare const ATOM63_OVERLAY_MOTION_DURATION_MS = 450;
|
|
424
|
+
declare const ATOM63_OVERLAY_MOTION_DURATION_CSS = "var(--a63-motion-duration-overlay)";
|
|
425
|
+
declare const ATOM63_OVERLAY_MOTION_EASE_CSS = "var(--a63-motion-ease-overlay)";
|
|
426
|
+
declare const ATOM63_FLYOUT_TRANSITION: {
|
|
427
|
+
readonly duration: number;
|
|
428
|
+
readonly ease: readonly [0.22, 1, 0.36, 1];
|
|
429
|
+
};
|
|
430
|
+
declare const ATOM63_FLYOUT_TRANSITION_CSS: {
|
|
431
|
+
readonly duration: "var(--a63-motion-duration-overlay)";
|
|
432
|
+
readonly durationMs: 450;
|
|
433
|
+
readonly easing: "var(--a63-motion-ease-overlay)";
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
export { CommandCreateHandle as $, ATOM63_FLYOUT_TRANSITION as A, ButtonGroupProvider as B, Card as C, CardDescription as D, type CardDescriptionProps as E, CardFooter as F, type CardFooterProps as G, CardHeader as H, type CardHeaderProps as I, CardLabel as J, CardMedia as K, CardMediaOverlay as L, CardMediaOverlayBottom as M, CardMediaOverlayIconButton as N, CardMediaOverlayImage as O, type CardMediaOverlayProps as P, CardMediaOverlayScrim as Q, CardMediaOverlayTopRight as R, type CardMediaProps as S, TooltipPopup as T, type CardProps as U, type CardResponsivePadding as V, CardTags as W, CardTitle as X, type CardTitleProps as Y, Command as Z, CommandCollection as _, ATOM63_FLYOUT_TRANSITION_CSS as a, navigationMenuTriggerStyle as a$, CommandDialog as a0, CommandDialogBackdrop as a1, CommandDialogPopup as a2, CommandDialogPortal as a3, CommandDialogTrigger as a4, CommandDialogViewport as a5, CommandEmpty as a6, CommandFooter as a7, CommandGroup as a8, CommandGroupLabel as a9, type NavigationMenuPositionerProps as aA, type NavigationMenuProps as aB, NavigationMenuTrigger as aC, NavigationMenuViewport as aD, type ReactRendererConformanceEvidence as aE, type ReactVerifiedContractId as aF, ScrollableList as aG, type ScrollableListProps as aH, Select as aI, SelectContent as aJ, SelectGroup as aK, SelectGroupLabel as aL, SelectItem as aM, SelectPopup as aN, type SelectPopupProps as aO, SelectSeparator as aP, SelectTrigger as aQ, type SelectTriggerProps as aR, SelectValue as aS, Tooltip as aT, type TooltipContentProps as aU, TooltipCreateHandle as aV, type TooltipPopupProps as aW, TooltipProvider as aX, TooltipTrigger as aY, cardLinkClassName as aZ, getReactRendererConformance as a_, CommandInput as aa, CommandItem as ab, CommandList as ac, CommandPanel as ad, CommandSeparator as ae, CommandShortcut as af, Dialog as ag, DialogBackdrop as ah, DialogClose as ai, DialogPopup as aj, DialogCreateHandle as ak, DialogDescription as al, DialogFooter as am, DialogHeader as an, DialogPanel as ao, DialogPortal as ap, DialogTitle as aq, DialogTrigger as ar, DialogViewport as as, NavigationMenu as at, NavigationMenuContent as au, NavigationMenuIndicator as av, NavigationMenuItem as aw, NavigationMenuLink as ax, NavigationMenuList as ay, NavigationMenuPositioner as az, ATOM63_MOTION_EASE as b, reactRendererConformance as b0, scrollableListControlClassNames as b1, selectTriggerDefaultClassName as b2, useButtonGroupContext as b3, ATOM63_MOTION_EASE_CSS as c, ATOM63_OVERLAY_MOTION_DURATION_CSS as d, ATOM63_OVERLAY_MOTION_DURATION_MS as e, ATOM63_OVERLAY_MOTION_EASE as f, ATOM63_OVERLAY_MOTION_EASE_CSS as g, AlertDialog as h, AlertDialogAction as i, AlertDialogBackdrop as j, AlertDialogCancel as k, AlertDialogClose as l, AlertDialogPopup as m, AlertDialogCreateHandle as n, AlertDialogDescription as o, AlertDialogFooter as p, AlertDialogHeader as q, AlertDialogMedia as r, AlertDialogPortal as s, AlertDialogTitle as t, AlertDialogTrigger as u, AlertDialogViewport as v, CardAction as w, CardContent as x, type CardContentProps as y, CardCursorLabel as z };
|