@nextlyhq/ui 0.0.2-alpha.74 → 0.0.2-alpha.76
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/index.cjs +403 -77
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +217 -20
- package/dist/index.d.ts +217 -20
- package/dist/index.mjs +400 -79
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.scoped.css +1 -1
- package/dist/tailwind-preset.cjs +20 -0
- package/dist/tailwind-preset.cjs.map +1 -1
- package/dist/tailwind-preset.d.cts +20 -0
- package/dist/tailwind-preset.d.ts +20 -0
- package/dist/tailwind-preset.mjs +20 -0
- package/dist/tailwind-preset.mjs.map +1 -1
- package/dist/theme.css +123 -3
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { VariantProps, cva } from "class-variance-authority";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import { ButtonHTMLAttributes, ComponentProps, ComponentPropsWithoutRef, ElementRef, ForwardRefExoticComponent, HTMLAttributes, JSX, PropsWithoutRef, ReactNode, RefAttributes, TextareaHTMLAttributes } from "react";
|
|
4
|
+
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ComponentProps, ComponentPropsWithoutRef, ElementRef, ForwardRefExoticComponent, HTMLAttributes, JSX, PropsWithoutRef, ReactNode, RefAttributes, TextareaHTMLAttributes } from "react";
|
|
5
5
|
import { Root } from "@radix-ui/react-label";
|
|
6
6
|
import { LucideProps } from "lucide-react";
|
|
7
7
|
import { Content, Provider, Root as Root$1, Trigger } from "@radix-ui/react-tooltip";
|
|
@@ -144,7 +144,6 @@ interface FormLabelWithTooltipProps extends React$1.ComponentPropsWithoutRef<typ
|
|
|
144
144
|
}
|
|
145
145
|
/** @public */
|
|
146
146
|
export declare const FormLabelWithTooltip: React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<FormLabelWithTooltipProps> & React$1.RefAttributes<React$1.ElementRef<typeof Label>>>;
|
|
147
|
-
/** The arms `badgeVariants` is built from. Its type is read from them: {@link VariantsFn}. */
|
|
148
147
|
declare const BADGE_VARIANT_MAP: {
|
|
149
148
|
variant: {
|
|
150
149
|
default: string;
|
|
@@ -152,6 +151,7 @@ declare const BADGE_VARIANT_MAP: {
|
|
|
152
151
|
success: string;
|
|
153
152
|
warning: string;
|
|
154
153
|
destructive: string;
|
|
154
|
+
info: string;
|
|
155
155
|
outline: string;
|
|
156
156
|
};
|
|
157
157
|
};
|
|
@@ -173,22 +173,21 @@ declare const BADGE_VARIANT_MAP: {
|
|
|
173
173
|
* - Padding: 2px 10px (vertical × horizontal)
|
|
174
174
|
* - Border radius: Full (pill shape)
|
|
175
175
|
* - Font: 12px (text-xs), medium weight (500)
|
|
176
|
-
* -
|
|
176
|
+
* - Status variants (success, warning, destructive, info): a neutral chip with
|
|
177
|
+
* a 6px dot in the status's solid colour before the label
|
|
177
178
|
*
|
|
178
|
-
* Variants
|
|
179
|
-
* - default:
|
|
180
|
-
* - primary:
|
|
181
|
-
* - success:
|
|
182
|
-
* -
|
|
183
|
-
* - destructive: Light red background
|
|
184
|
-
* - outline: Transparent background with border border-border
|
|
179
|
+
* Variants:
|
|
180
|
+
* - default: muted background
|
|
181
|
+
* - primary: primary tint
|
|
182
|
+
* - success, warning, destructive, info: quiet chip with a status dot
|
|
183
|
+
* - outline: transparent background with a border
|
|
185
184
|
* @experimental
|
|
186
185
|
*/
|
|
187
186
|
declare const badgeVariants: VariantsFn<typeof BADGE_VARIANT_MAP>;
|
|
188
187
|
/** @public */
|
|
189
188
|
interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
|
|
190
189
|
/** @public */
|
|
191
|
-
declare function Badge({ className, variant, ...props }: BadgeProps): JSX.Element;
|
|
190
|
+
declare function Badge({ className, variant, children, ...props }: BadgeProps): JSX.Element;
|
|
192
191
|
/** The arms `cardVariants` is built from. Its type is read from them: {@link VariantsFn}. */
|
|
193
192
|
declare const CARD_VARIANT_MAP: {
|
|
194
193
|
variant: {
|
|
@@ -312,12 +311,26 @@ interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
312
311
|
* @experimental
|
|
313
312
|
*/
|
|
314
313
|
export declare const Grid: ForwardRefExoticComponent<PropsWithoutRef<GridProps> & RefAttributes<HTMLDivElement>>;
|
|
314
|
+
/** A stat's tone: the status a dot before its value marks, as a badge's does. */
|
|
315
|
+
type StatTone = "success" | "warning" | "destructive" | "info";
|
|
315
316
|
/** @experimental */
|
|
316
317
|
interface StatProps extends HTMLAttributes<HTMLDivElement> {
|
|
317
318
|
/** Muted label above the value. */
|
|
318
319
|
label: string;
|
|
319
320
|
/** The emphasized value (string or node). */
|
|
320
321
|
value: ReactNode;
|
|
322
|
+
/**
|
|
323
|
+
* A dot before the value in a status's colour, such as `warning` beside
|
|
324
|
+
* "Should improve". It only marks the value: the value's own words say
|
|
325
|
+
* what it means, so colour is never the only sign. No dot when unset.
|
|
326
|
+
*/
|
|
327
|
+
tone?: StatTone;
|
|
328
|
+
/**
|
|
329
|
+
* `compact` draws the value smaller (20px rather than 24px), for a figure
|
|
330
|
+
* that leads a small card, with its label as the card's semibold title.
|
|
331
|
+
* Default `default`.
|
|
332
|
+
*/
|
|
333
|
+
size?: "default" | "compact";
|
|
321
334
|
}
|
|
322
335
|
/** Labelled metric block for dashboard-style plugin widgets.
|
|
323
336
|
* @experimental
|
|
@@ -342,11 +355,12 @@ declare const ALERT_VARIANT_MAP: {
|
|
|
342
355
|
* - Padding: 16px (p-4)
|
|
343
356
|
* - Border radius: `rounded-md`, one step tighter than Card's `rounded-lg`
|
|
344
357
|
* for inline/flow content vs. larger container components
|
|
345
|
-
* - Border: 1px
|
|
358
|
+
* - Border: 1px; the card border for info and success, the status border for
|
|
359
|
+
* warning and destructive
|
|
346
360
|
* - Shadow: sm (subtle elevation)
|
|
347
361
|
* - Font: 14px (text-sm)
|
|
348
362
|
* - Layout: Flex with gap-3 for icon/content spacing
|
|
349
|
-
* - Colors:
|
|
363
|
+
* - Colors: the page's foreground text; the icon in the status's text colour
|
|
350
364
|
*
|
|
351
365
|
* Variants (4 total):
|
|
352
366
|
* - info (default): Blue - informational messages, neutral announcements
|
|
@@ -524,7 +538,14 @@ declare function Separator({ className, orientation, decorative, ...props }: Rea
|
|
|
524
538
|
*/
|
|
525
539
|
declare const Skeleton: React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<SkeletonProps> & React$1.RefAttributes<HTMLDivElement>>;
|
|
526
540
|
/** @experimental */
|
|
527
|
-
type SkeletonProps = React$1.ComponentProps<"div"
|
|
541
|
+
type SkeletonProps = React$1.ComponentProps<"div"> & {
|
|
542
|
+
/**
|
|
543
|
+
* Draw a still outline: no pulse, on the `secondary` surface. For a page's
|
|
544
|
+
* outline shown while its data is on its way, where motion would read as
|
|
545
|
+
* the page itself moving.
|
|
546
|
+
*/
|
|
547
|
+
still?: boolean;
|
|
548
|
+
};
|
|
528
549
|
/** The arms `progressVariants` is built from. Its type is read from them: {@link VariantsFn}. */
|
|
529
550
|
declare const PROGRESS_VARIANT_MAP: {
|
|
530
551
|
variant: {
|
|
@@ -568,7 +589,7 @@ type ProgressProps = {
|
|
|
568
589
|
* Visual variant for different states
|
|
569
590
|
*
|
|
570
591
|
* - `default`: Primary blue (bg-primary-500)
|
|
571
|
-
* - `success`: Green (bg-success-
|
|
592
|
+
* - `success`: Green (bg-success-solid)
|
|
572
593
|
* - `error`: Red (bg-destructive)
|
|
573
594
|
*
|
|
574
595
|
* @default "default"
|
|
@@ -1855,7 +1876,17 @@ declare const SHEET_VARIANT_MAP: {
|
|
|
1855
1876
|
*/
|
|
1856
1877
|
declare const sheetVariants: VariantsFn<typeof SHEET_VARIANT_MAP>;
|
|
1857
1878
|
/** @public */
|
|
1858
|
-
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
1879
|
+
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
1880
|
+
/**
|
|
1881
|
+
* For a bottom sheet: a grab strip at its top that drags the sheet down
|
|
1882
|
+
* and closes it past a quarter of its height or on a quick flick. Escape
|
|
1883
|
+
* and the sheet's own close control still close it, so the strip is a
|
|
1884
|
+
* pointer affordance only and is hidden from assistive technology.
|
|
1885
|
+
*/
|
|
1886
|
+
dragHandle?: boolean;
|
|
1887
|
+
}
|
|
1888
|
+
/** Whether a drag released at `distance` after `elapsed` ms closes the sheet. */
|
|
1889
|
+
declare function dragCloses(distance: number, elapsed: number, height: number): boolean;
|
|
1859
1890
|
/**
|
|
1860
1891
|
* SheetContent
|
|
1861
1892
|
*
|
|
@@ -3321,6 +3352,11 @@ export declare function detectApplePlatform(): boolean;
|
|
|
3321
3352
|
* @experimental
|
|
3322
3353
|
*/
|
|
3323
3354
|
type FieldWidth = "half" | "full" | "fill";
|
|
3355
|
+
/**
|
|
3356
|
+
* Where a field's label and help stand relative to its control.
|
|
3357
|
+
* @experimental
|
|
3358
|
+
*/
|
|
3359
|
+
type FieldLayout = "stacked" | "row";
|
|
3324
3360
|
/**
|
|
3325
3361
|
* The wiring `FieldShell` computes for its control: the id to attach, the
|
|
3326
3362
|
* composed `aria-describedby` (`undefined` when nothing is rendered to point
|
|
@@ -3346,8 +3382,19 @@ interface FieldShellProps {
|
|
|
3346
3382
|
description?: React.ReactNode;
|
|
3347
3383
|
/** Validation message under the control. Rendered only when present. */
|
|
3348
3384
|
error?: React.ReactNode;
|
|
3349
|
-
/**
|
|
3385
|
+
/**
|
|
3386
|
+
* Defaults to "half" in the stacked layout, where most admin inputs are
|
|
3387
|
+
* short values, and to "fill" in the row layout, whose right column is
|
|
3388
|
+
* already the control's measure.
|
|
3389
|
+
*/
|
|
3350
3390
|
width?: FieldWidth;
|
|
3391
|
+
/**
|
|
3392
|
+
* `stacked` (the default): the label above the control, the help under it.
|
|
3393
|
+
* `row`: the settings row, with the label and its help in a left column and
|
|
3394
|
+
* the control in a right one, stacking on a narrow screen. Both lay out the
|
|
3395
|
+
* same wiring; only where each part stands differs.
|
|
3396
|
+
*/
|
|
3397
|
+
layout?: FieldLayout;
|
|
3351
3398
|
htmlFor?: string;
|
|
3352
3399
|
className?: string;
|
|
3353
3400
|
/**
|
|
@@ -3383,11 +3430,44 @@ interface FormActionsProps {
|
|
|
3383
3430
|
* state that already tracks it; never computed here.
|
|
3384
3431
|
*/
|
|
3385
3432
|
dirty?: boolean;
|
|
3433
|
+
/**
|
|
3434
|
+
* What the bar says while `dirty` is true, in place of "You have unsaved
|
|
3435
|
+
* changes": a bar committing several records at once says what changed,
|
|
3436
|
+
* such as "1 page changed". Like `dirty`, the page states it from the state
|
|
3437
|
+
* that already knows; the bar never counts anything.
|
|
3438
|
+
*/
|
|
3439
|
+
message?: React.ReactNode;
|
|
3386
3440
|
className?: string;
|
|
3387
3441
|
children: React.ReactNode;
|
|
3388
3442
|
}
|
|
3389
3443
|
/** @experimental */
|
|
3390
|
-
export declare function FieldShell({ label, description, error, width, htmlFor, className, children }: FieldShellProps): JSX.Element;
|
|
3444
|
+
export declare function FieldShell({ label, description, error, width, layout, htmlFor, className, children }: FieldShellProps): JSX.Element;
|
|
3445
|
+
/** @experimental */
|
|
3446
|
+
interface FieldRowProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3447
|
+
/**
|
|
3448
|
+
* The left column: the row's label and any help under it, already rendered.
|
|
3449
|
+
* A node rather than a string because who names the control differs by
|
|
3450
|
+
* caller — a `<label for>` for one control, a `<span>` a group points
|
|
3451
|
+
* `aria-labelledby` at for several — and that choice is the caller's.
|
|
3452
|
+
*/
|
|
3453
|
+
aside: ReactNode;
|
|
3454
|
+
/** The right column: the control, or the group of controls. */
|
|
3455
|
+
children: ReactNode;
|
|
3456
|
+
}
|
|
3457
|
+
/**
|
|
3458
|
+
* The two-column settings row: label and help on the left, the control on the
|
|
3459
|
+
* right, stacking into one column on a narrow screen.
|
|
3460
|
+
*
|
|
3461
|
+
* Geometry only. It owns the grid and nothing about naming, so the rows that
|
|
3462
|
+
* differ in how they label their control — `FieldShell`'s row layout, and the
|
|
3463
|
+
* admin's form-bound and grouped settings rows — all draw this one grid rather
|
|
3464
|
+
* than three copies of it that could drift apart.
|
|
3465
|
+
*
|
|
3466
|
+
* It applies no vertical padding: `FormSection` sets the rhythm between its
|
|
3467
|
+
* rows, and a row that padded itself as well would double it.
|
|
3468
|
+
* @experimental
|
|
3469
|
+
*/
|
|
3470
|
+
export declare function FieldRow({ aside, children, className, ...props }: FieldRowProps): JSX.Element;
|
|
3391
3471
|
/** @experimental */
|
|
3392
3472
|
interface FormSectionProps {
|
|
3393
3473
|
/** Short label above the card, rendered uppercase. */
|
|
@@ -3417,7 +3497,7 @@ export declare function FormSection({ label, description, className, children }:
|
|
|
3417
3497
|
* first as soon as either changed.
|
|
3418
3498
|
* @experimental
|
|
3419
3499
|
*/
|
|
3420
|
-
export declare function FormActions({ dirty, className, children }: FormActionsProps): JSX.Element;
|
|
3500
|
+
export declare function FormActions({ dirty, message, className, children }: FormActionsProps): JSX.Element;
|
|
3421
3501
|
/** @experimental */
|
|
3422
3502
|
interface PageShellProps extends HTMLAttributes<HTMLDivElement> {
|
|
3423
3503
|
/**
|
|
@@ -3426,6 +3506,14 @@ interface PageShellProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
3426
3506
|
* full-width page is still inset from the panel's edge.
|
|
3427
3507
|
*/
|
|
3428
3508
|
width?: "form" | "wide" | "full";
|
|
3509
|
+
/**
|
|
3510
|
+
* Where a bounded column sits on a wide screen. `start` (the default) keeps
|
|
3511
|
+
* it under the page's left edge, where the header, the panel and every list
|
|
3512
|
+
* begin, so moving between a list and its form shifts nothing sideways.
|
|
3513
|
+
* `center` balances it between equal gutters. A `full` column fills the row
|
|
3514
|
+
* either way.
|
|
3515
|
+
*/
|
|
3516
|
+
align?: "start" | "center";
|
|
3429
3517
|
}
|
|
3430
3518
|
/**
|
|
3431
3519
|
* What each named width resolves to, owned here because this is what applies it.
|
|
@@ -3510,6 +3598,21 @@ interface PageHeaderProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
|
3510
3598
|
breadcrumbs?: ReactNode;
|
|
3511
3599
|
/** Page-level actions, trailing the title on one line where there is room. */
|
|
3512
3600
|
actions?: ReactNode;
|
|
3601
|
+
/**
|
|
3602
|
+
* A row of tabs under the title, for a page whose sections each have their
|
|
3603
|
+
* own address (`PageTabs` with a `PageTab` per section). Rendered across the
|
|
3604
|
+
* header's full width, below the title and actions.
|
|
3605
|
+
*/
|
|
3606
|
+
tabs?: ReactNode;
|
|
3607
|
+
/**
|
|
3608
|
+
* The `id` of the title's `h1`, for a region that names itself by the page's
|
|
3609
|
+
* title (`aria-labelledby` on the page's form).
|
|
3610
|
+
*/
|
|
3611
|
+
titleId?: string;
|
|
3612
|
+
/** A leading visual, such as a plugin's icon tile, before the title. */
|
|
3613
|
+
media?: ReactNode;
|
|
3614
|
+
/** Small chips beside the title: a version, a status, a category. */
|
|
3615
|
+
meta?: ReactNode;
|
|
3513
3616
|
}
|
|
3514
3617
|
/**
|
|
3515
3618
|
* A page's own identity — its trail, its name, its one-line summary and its
|
|
@@ -3536,5 +3639,99 @@ interface PageHeaderProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
|
3536
3639
|
* @experimental
|
|
3537
3640
|
*/
|
|
3538
3641
|
export declare const PageHeader: ForwardRefExoticComponent<PropsWithoutRef<PageHeaderProps> & RefAttributes<HTMLElement>>;
|
|
3539
|
-
|
|
3642
|
+
/** @experimental */
|
|
3643
|
+
interface PageTabsProps extends HTMLAttributes<HTMLElement> {
|
|
3644
|
+
/** What the sections are, for assistive technology (`"Form sections"`). */
|
|
3645
|
+
label: string;
|
|
3646
|
+
}
|
|
3647
|
+
/**
|
|
3648
|
+
* The tab row of a page whose sections each have their own address. A labelled
|
|
3649
|
+
* `nav` of links rather than an ARIA tablist: every tab changes the URL, and a
|
|
3650
|
+
* link inside `role="tab"` breaks the tabs pattern's keyboard and announcement
|
|
3651
|
+
* contract. The current section is marked with `aria-current="page"` by
|
|
3652
|
+
* `PageTab`.
|
|
3653
|
+
* @experimental
|
|
3654
|
+
*/
|
|
3655
|
+
export declare const PageTabs: ForwardRefExoticComponent<PropsWithoutRef<PageTabsProps> & RefAttributes<HTMLElement>>;
|
|
3656
|
+
/**
|
|
3657
|
+
* The anchor attributes a tab passes through. `aria-current` is not among
|
|
3658
|
+
* them: it is derived from `current`, so the tab is announced as current
|
|
3659
|
+
* exactly when it is drawn as current.
|
|
3660
|
+
*/
|
|
3661
|
+
type PageTabAnchorProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "aria-current" | "href">;
|
|
3662
|
+
/**
|
|
3663
|
+
* A tab changes the address, so it always has a destination: its own `href`,
|
|
3664
|
+
* or, with `asChild`, the router link it wraps.
|
|
3665
|
+
* @experimental
|
|
3666
|
+
*/
|
|
3667
|
+
type PageTabProps = PageTabAnchorProps & {
|
|
3668
|
+
/** Whether this tab is the section being shown. */
|
|
3669
|
+
current?: boolean;
|
|
3670
|
+
} & ({
|
|
3671
|
+
/** Where the tab leads. */
|
|
3672
|
+
href: string;
|
|
3673
|
+
asChild?: false;
|
|
3674
|
+
} | {
|
|
3675
|
+
/**
|
|
3676
|
+
* Render the caller's own link element (a router link) in place of
|
|
3677
|
+
* an `<a>`; that element carries the destination. The tab keeps its
|
|
3678
|
+
* look and its `aria-current`.
|
|
3679
|
+
*/
|
|
3680
|
+
asChild: true;
|
|
3681
|
+
href?: undefined;
|
|
3682
|
+
});
|
|
3683
|
+
/**
|
|
3684
|
+
* One section of a `PageTabs` row: a link, underlined when current.
|
|
3685
|
+
* @experimental
|
|
3686
|
+
*/
|
|
3687
|
+
export declare const PageTab: ForwardRefExoticComponent<PropsWithoutRef<PageTabProps> & RefAttributes<HTMLAnchorElement>>;
|
|
3688
|
+
/**
|
|
3689
|
+
* The four kinds of page the admin draws, each with one width.
|
|
3690
|
+
*
|
|
3691
|
+
* - `list`: full width within the gutter (entries, users, keys, webhooks),
|
|
3692
|
+
* drawn as a padded block rather than a grid, so a page that hands its own
|
|
3693
|
+
* height down through `height: 100%` (a split pane, a media grid) keeps it.
|
|
3694
|
+
* - `form`: a 56rem column under the page's left edge (settings, create and
|
|
3695
|
+
* edit pages).
|
|
3696
|
+
* - `editor`: full width with no gutter and no padding: the editor draws its
|
|
3697
|
+
* own field column (inset by the gutter, and measured) and a side panel that
|
|
3698
|
+
* meets the window's edge.
|
|
3699
|
+
* - `workspace`: no gutter and no padding, for a page that lays out its own
|
|
3700
|
+
* surface (the dashboard, a builder canvas).
|
|
3701
|
+
* @experimental
|
|
3702
|
+
*/
|
|
3703
|
+
type PageType = "list" | "form" | "editor" | "workspace";
|
|
3704
|
+
/** @experimental */
|
|
3705
|
+
interface PageFrameListenerProps {
|
|
3706
|
+
/**
|
|
3707
|
+
* Called with the type of the outermost `PageFrame` drawn inside, as it
|
|
3708
|
+
* mounts or changes, and with `null` once none is left.
|
|
3709
|
+
*/
|
|
3710
|
+
onFrame: (type: PageType | null) => void;
|
|
3711
|
+
children?: ReactNode;
|
|
3712
|
+
}
|
|
3713
|
+
/**
|
|
3714
|
+
* Hears whether the content inside it draws a `PageFrame`, for a host that
|
|
3715
|
+
* gives unframed content a frame of its own and must not frame content twice.
|
|
3716
|
+
* Read from the frames themselves rather than from what the content is called,
|
|
3717
|
+
* so a page that draws a frame through any component is heard the same way.
|
|
3718
|
+
*
|
|
3719
|
+
* The frame claims in a layout effect, so a host that changes its own markup
|
|
3720
|
+
* in answer does so before the first paint.
|
|
3721
|
+
* @experimental
|
|
3722
|
+
*/
|
|
3723
|
+
export declare function PageFrameListener({ onFrame, children }: PageFrameListenerProps): JSX.Element;
|
|
3724
|
+
/** @experimental */
|
|
3725
|
+
interface PageFrameProps extends HTMLAttributes<HTMLDivElement> {
|
|
3726
|
+
/** Which kind of page this is; it decides the width. */
|
|
3727
|
+
type: PageType;
|
|
3728
|
+
}
|
|
3729
|
+
/**
|
|
3730
|
+
* A page's frame: the width and gutter its type gives it. A page says what it
|
|
3731
|
+
* is, and the frame decides how wide that is, so two pages of one type can
|
|
3732
|
+
* never drift apart.
|
|
3733
|
+
* @experimental
|
|
3734
|
+
*/
|
|
3735
|
+
export declare const PageFrame: ForwardRefExoticComponent<PropsWithoutRef<PageFrameProps> & RefAttributes<HTMLDivElement>>;
|
|
3736
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActionCallbacks, type ActiveShortcut, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type BleedProps, Button, type ButtonProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorPickerProps, type ColorSwatch, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type DataFetcher, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, type DialogOverlayProps, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type FieldLayout, type FieldRowProps, type FieldShellProps, type FieldShellRenderProps, type FieldWidth, type FilterInfo, type FormActionsProps, type FormLabelWithTooltipProps, type FormSectionProps, type GridProps, type IconFieldProps, type IconGlyphProps, type IconPickerProps, type IconSource, type IconSourceIcon, Input, type InputProps, type KeyChord, type KeySequence, Label, type ListResponse, type ModifierState, type PageFrameListenerProps, type PageFrameProps, type PageHeaderProps, type PageShellProps, type PageTabProps, type PageTabsProps, type PageType, type PaginationConfig, type PaginationMeta, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalProvider, Progress, type ProgressProps, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentRef, SheetDescription, type SheetDescriptionProps, type SheetDescriptionRef, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, SheetOverlay, type SheetOverlayProps, type SheetOverlayRef, SheetPortal, type SheetProps, SheetTitle, type SheetTitleProps, type SheetTitleRef, SheetTrigger, type SheetTriggerProps, type ShortcutBinding, type ShortcutLayerOptions, type ShortcutManager, type ShortcutManagerOptions, type ShortcutProviderProps, type ShortcutRegistration, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderThumbProps, type SortInfo, Spinner, type SpinnerProps, type StackProps, type StatProps, Switch, Table, TableBody, TableCaption, TableCell, type TableEmptyProps, type TableErrorProps, TableFooter, TableHead, TableHeader, type TableParams, TableRow, type TableSearchProps, type TableSkeletonProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type ToasterProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TreeNode, TreeView, type TreeViewProps, type UseShortcutsOptions, alertVariants, badgeVariants, buttonVariants, cardVariants, dialogContentVariants, inputVariants, selectTriggerVariants, sheetVariants, spinnerVariants, toast, usePortalContainer };
|
|
3540
3737
|
//# sourceMappingURL=index.d.ts.map
|