@lessly/ui 4.1.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-LTHOLX7I.js → chunk-OTYVKDP2.js} +37 -6
- package/dist/index.d.ts +125 -8
- package/dist/index.js +348 -197
- package/dist/router.d.ts +27 -6
- package/dist/router.js +128 -44
- package/dist/styles-federated.css +61 -17
- package/dist/styles.css +62 -54
- package/dist/tailwind-preset.js +30 -4
- package/package.json +2 -2
|
@@ -81,8 +81,9 @@ var buttonVariants = cva(
|
|
|
81
81
|
* of framed ✕ buttons would shout. */
|
|
82
82
|
"destructive-ghost": "text-text-tertiary focus-visible:ring-border-focus hover:bg-bg-danger-subtle hover:text-text-danger",
|
|
83
83
|
/** @deprecated A resting red fill. It belongs on a confirm inside a window that has already
|
|
84
|
-
* stated the stakes, and
|
|
85
|
-
* `StepUpChallenge destructive` one. Use `destructive` for any
|
|
84
|
+
* stated the stakes, and nowhere else; `ConfirmDialog`'s confirm and a
|
|
85
|
+
* `StepUpChallenge destructive` one are where the kit draws it. Use `destructive` for any
|
|
86
|
+
* trigger that sits on a page. */
|
|
86
87
|
"destructive-solid": "bg-bg-danger text-text-on-danger focus-visible:ring-border-focus hover:bg-bg-danger-a90",
|
|
87
88
|
outline: "border border-border-default bg-transparent text-text-primary focus-visible:ring-border-focus hover:bg-bg-secondary",
|
|
88
89
|
secondary: "border border-border-default bg-bg-secondary text-text-primary focus-visible:ring-border-focus hover:bg-bg-secondary-a80",
|
|
@@ -232,7 +233,7 @@ var TooltipContent = React2.forwardRef(({ className, sideOffset = 4, dir, ...pro
|
|
|
232
233
|
dir: dir ?? directionOf(trigger),
|
|
233
234
|
sideOffset,
|
|
234
235
|
className: cn(
|
|
235
|
-
"z-50 max-w-[min(var(--layout-80),var(--radix-popper-available-width))] overflow-hidden break-words rounded-md border border-border-subtle bg-bg-
|
|
236
|
+
"z-50 max-w-[min(var(--layout-80),var(--radix-popper-available-width))] overflow-hidden break-words rounded-md border border-border-subtle bg-bg-overlay px-3 py-1.5 text-xs text-text-primary shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
236
237
|
className
|
|
237
238
|
),
|
|
238
239
|
...props
|
|
@@ -256,7 +257,11 @@ var SheetOverlay = React3.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
256
257
|
{
|
|
257
258
|
ref,
|
|
258
259
|
className: cn(
|
|
259
|
-
|
|
260
|
+
// The scrim's state-scoped pair is the panel's below, so the two arrive as one — and an
|
|
261
|
+
// unprefixed 500 would slow the close as well as the open. Naming a duration at all is what
|
|
262
|
+
// makes `prefers-reduced-motion` reach the fade: an unset `--tw-duration` falls to
|
|
263
|
+
// tw-animate-css's own literal 0.15s, which no media query can collapse.
|
|
264
|
+
"fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
260
265
|
className
|
|
261
266
|
),
|
|
262
267
|
...props
|
|
@@ -613,13 +618,16 @@ function RailMark({ collapsed, className }) {
|
|
|
613
618
|
}
|
|
614
619
|
);
|
|
615
620
|
}
|
|
621
|
+
function railToggleLabel(collapsed) {
|
|
622
|
+
return collapsed ? "Expand sidebar" : "Collapse sidebar";
|
|
623
|
+
}
|
|
616
624
|
var RailToggle = React7.forwardRef(function RailToggle2({ collapsed, className, "aria-label": ariaLabel, ...rest }, ref) {
|
|
617
625
|
return /* @__PURE__ */ jsx7(
|
|
618
626
|
"button",
|
|
619
627
|
{
|
|
620
628
|
ref,
|
|
621
629
|
type: "button",
|
|
622
|
-
"aria-label": ariaLabel ?? (collapsed
|
|
630
|
+
"aria-label": ariaLabel ?? railToggleLabel(collapsed),
|
|
623
631
|
"aria-expanded": !collapsed,
|
|
624
632
|
className: cn(
|
|
625
633
|
RAIL_COLUMN_BOX,
|
|
@@ -632,6 +640,25 @@ var RailToggle = React7.forwardRef(function RailToggle2({ collapsed, className,
|
|
|
632
640
|
);
|
|
633
641
|
});
|
|
634
642
|
|
|
643
|
+
// src/hooks/use-sidebar-drawer.ts
|
|
644
|
+
import { createContext as createContext2, useContext as useContext2 } from "react";
|
|
645
|
+
var SidebarDrawerContext = createContext2(false);
|
|
646
|
+
function useSidebarDrawer() {
|
|
647
|
+
return useContext2(SidebarDrawerContext);
|
|
648
|
+
}
|
|
649
|
+
var NOT_IN_A_DRAWER = () => {
|
|
650
|
+
};
|
|
651
|
+
var SidebarDrawerDismissContext = createContext2(null);
|
|
652
|
+
function useSidebarDismiss() {
|
|
653
|
+
return useContext2(SidebarDrawerDismissContext) ?? NOT_IN_A_DRAWER;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
// src/components/sidebar-drawer.tsx
|
|
657
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
658
|
+
function SidebarDrawer({ children, onDismiss }) {
|
|
659
|
+
return /* @__PURE__ */ jsx8(SidebarDrawerContext.Provider, { value: true, children: /* @__PURE__ */ jsx8(SidebarDrawerDismissContext.Provider, { value: onDismiss ?? null, children }) });
|
|
660
|
+
}
|
|
661
|
+
|
|
635
662
|
export {
|
|
636
663
|
cn,
|
|
637
664
|
buttonVariants,
|
|
@@ -657,5 +684,9 @@ export {
|
|
|
657
684
|
useSidebar,
|
|
658
685
|
NavRow,
|
|
659
686
|
RAIL_COLUMN_BOX,
|
|
660
|
-
|
|
687
|
+
railToggleLabel,
|
|
688
|
+
RailToggle,
|
|
689
|
+
useSidebarDrawer,
|
|
690
|
+
useSidebarDismiss,
|
|
691
|
+
SidebarDrawer
|
|
661
692
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -993,7 +993,12 @@ interface CommandDialogProps extends DialogProps {
|
|
|
993
993
|
* empty line and key hints; supply `children` instead and it draws whatever you put in it.
|
|
994
994
|
*/
|
|
995
995
|
groups?: CommandDialogGroup[];
|
|
996
|
-
/**
|
|
996
|
+
/**
|
|
997
|
+
* The palette's accessible name, on both paths: cmdk computes the field's name from the root, so
|
|
998
|
+
* this is written there whatever the dialog draws inside it. Alongside `groups` it is also the
|
|
999
|
+
* placeholder of the input the dialog draws, because what a field says is what it is called;
|
|
1000
|
+
* alongside `children` it names whatever field you put in.
|
|
1001
|
+
*/
|
|
997
1002
|
placeholder?: string;
|
|
998
1003
|
/** What the list says when nothing matches. Read only alongside `groups`. */
|
|
999
1004
|
empty?: React$1.ReactNode;
|
|
@@ -1481,8 +1486,31 @@ interface ConfirmDialogProps {
|
|
|
1481
1486
|
title: React$1.ReactNode;
|
|
1482
1487
|
description?: React$1.ReactNode;
|
|
1483
1488
|
confirmLabel?: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* The word on the press that steps forward to a `stepUp` challenge, where the word on the press
|
|
1491
|
+
* that acts would be wrong there: `Continue`, then `Regenerate codes`. Defaults to `confirmLabel`,
|
|
1492
|
+
* so a caller that names one word writes it in both places as it always did.
|
|
1493
|
+
*
|
|
1494
|
+
* Read only where a panel is held before the challenge — a `confirmPhrase` or `confirmFirst`.
|
|
1495
|
+
* With a `stepUp` and neither, the challenge is the whole window, no press steps forward, and
|
|
1496
|
+
* this is ignored.
|
|
1497
|
+
*/
|
|
1498
|
+
continueLabel?: string;
|
|
1484
1499
|
cancelLabel?: string;
|
|
1500
|
+
/**
|
|
1501
|
+
* The act this dialog performs takes something away. The resting red goes on the one press that
|
|
1502
|
+
* performs it (Guidelines/Destructive actions) — the challenge's confirm where a `stepUp` follows,
|
|
1503
|
+
* the footer's where nothing does. A press that only steps forward never wears it.
|
|
1504
|
+
*/
|
|
1485
1505
|
destructive?: boolean;
|
|
1506
|
+
/**
|
|
1507
|
+
* Hold a panel before the challenge with nothing to type on it, for a consequence the person has
|
|
1508
|
+
* to accept before being asked who they are. Without it a `stepUp` and no `confirmPhrase` makes
|
|
1509
|
+
* the challenge the whole window, and a warning has nowhere to go but the challenge's own words.
|
|
1510
|
+
*
|
|
1511
|
+
* There is no challenge to hold a panel before without a `stepUp`, so on its own it does nothing.
|
|
1512
|
+
*/
|
|
1513
|
+
confirmFirst?: boolean;
|
|
1486
1514
|
/**
|
|
1487
1515
|
* The words the user has to type before the confirm will fire — a product's name, `DELETE`. For an
|
|
1488
1516
|
* action whose cost is that it cannot be taken back by the person taking it.
|
|
@@ -1503,7 +1531,7 @@ interface ConfirmDialogProps {
|
|
|
1503
1531
|
*/
|
|
1504
1532
|
onError?: (error: unknown) => string;
|
|
1505
1533
|
}
|
|
1506
|
-
declare function ConfirmDialog({ open, onOpenChange, trigger, title, description, confirmLabel, cancelLabel, destructive, confirmPhrase, stepUp, onConfirm, onError, }: ConfirmDialogProps): React$1.JSX.Element;
|
|
1534
|
+
declare function ConfirmDialog({ open, onOpenChange, trigger, title, description, confirmLabel, continueLabel, cancelLabel, destructive, confirmFirst, confirmPhrase, stepUp, onConfirm, onError, }: ConfirmDialogProps): React$1.JSX.Element;
|
|
1507
1535
|
|
|
1508
1536
|
interface UserMenuUser {
|
|
1509
1537
|
name: string;
|
|
@@ -2551,6 +2579,11 @@ type NavRowProps = NavRowOwnProps & Omit<React$1.ComponentPropsWithoutRef<'butto
|
|
|
2551
2579
|
* not an entity opening as a page, so the hover fill is the whole affordance. */
|
|
2552
2580
|
declare const NavRow: React$1.ForwardRefExoticComponent<NavRowProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2553
2581
|
|
|
2582
|
+
/** What the control answers to, from the state it is in: the name says what the press will do, so a
|
|
2583
|
+
* closed rail's control is `Expand sidebar`. It is a function rather than two strings at the call
|
|
2584
|
+
* site because the tooltip a call site composes has to say what the control is called — and two
|
|
2585
|
+
* hand-written copies of a pair like this are two copies to keep in step. */
|
|
2586
|
+
declare function railToggleLabel(collapsed: boolean): string;
|
|
2554
2587
|
interface RailToggleProps extends React$1.ComponentPropsWithoutRef<'button'> {
|
|
2555
2588
|
/** Which state the rail is in now, not what the press will do. The mark and the accessible name
|
|
2556
2589
|
* are both read off it, so a rail cannot say one thing and draw another. */
|
|
@@ -2574,7 +2607,9 @@ interface RailToggleProps extends React$1.ComponentPropsWithoutRef<'button'> {
|
|
|
2574
2607
|
* console gives the control the words its command palette already uses for it.
|
|
2575
2608
|
*
|
|
2576
2609
|
* No tooltip of its own. On a closed rail every neighbour has one, so the call site composes it —
|
|
2577
|
-
* and the label it shows is
|
|
2610
|
+
* and the label it shows is `railToggleLabel(collapsed)`, the same resolver the accessible name
|
|
2611
|
+
* above falls back to, so the two cannot say different things. `AppSidebar` composes exactly that
|
|
2612
|
+
* at its foot.
|
|
2578
2613
|
*/
|
|
2579
2614
|
declare const RailToggle: React$1.ForwardRefExoticComponent<RailToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2580
2615
|
|
|
@@ -2586,6 +2621,14 @@ interface QuickSearchRowProps {
|
|
|
2586
2621
|
/**
|
|
2587
2622
|
* The second way in, stated rather than implied — this is the one fact a person needs before they
|
|
2588
2623
|
* stop reaching for the sidebar at all. `false` for a rail with no shortcut bound.
|
|
2624
|
+
*
|
|
2625
|
+
* Only an unset prop takes the default. `false` and `null` both mean this rail has no shortcut,
|
|
2626
|
+
* on either surface — `shortcut={binding ?? null}` is the shape a caller reaches for and it has
|
|
2627
|
+
* to mean what it says.
|
|
2628
|
+
*
|
|
2629
|
+
* Unset, it is `⌘K` on a rail and nothing at all inside a `<SidebarDrawer>`: a drawer is the
|
|
2630
|
+
* shape a phone gets, and a phone has no key to press. Set, it is what the row states on either
|
|
2631
|
+
* surface — a drawer opened on a tablet with a keyboard really does have one.
|
|
2589
2632
|
*/
|
|
2590
2633
|
shortcut?: React$1.ReactNode;
|
|
2591
2634
|
/**
|
|
@@ -2613,6 +2656,26 @@ declare namespace QuickSearchRow {
|
|
|
2613
2656
|
var displayName: string;
|
|
2614
2657
|
}
|
|
2615
2658
|
|
|
2659
|
+
/** Marks everything below as drawn inside a drawer — a rail, and every part it holds — and hands it
|
|
2660
|
+
* the way out. `AppShell` wraps its sheet's contents in it and passes its own close as `onDismiss`,
|
|
2661
|
+
* which is what lets a rail that navigates by state close the sheet it navigated in. A product that
|
|
2662
|
+
* builds its own rail inside its own sheet writes this itself; without it every such rail keeps
|
|
2663
|
+
* printing ⌘K on a phone.
|
|
2664
|
+
*
|
|
2665
|
+
* Its own module, and not beside `AppSidebar`. This ships from `@lessly/ui` while the rail ships
|
|
2666
|
+
* from `@lessly/ui/router`, and a module both entries reach lands in the chunk they share — so
|
|
2667
|
+
* written in `app-sidebar.tsx` this dragged `react-router` into `import { Button } from
|
|
2668
|
+
* '@lessly/ui'` and broke resolution for a consumer who skipped the optional peer (#878). Nothing
|
|
2669
|
+
* here imports anything but React and the contexts. */
|
|
2670
|
+
declare function SidebarDrawer({ children, onDismiss }: {
|
|
2671
|
+
children: React$1.ReactNode;
|
|
2672
|
+
onDismiss?: () => void;
|
|
2673
|
+
}): React$1.JSX.Element;
|
|
2674
|
+
|
|
2675
|
+
/** How a part inside a drawer closes it. Outside one it is a no-op, so a rail row can call it
|
|
2676
|
+
* unconditionally rather than asking which surface it is on first. */
|
|
2677
|
+
declare function useSidebarDismiss(): () => void;
|
|
2678
|
+
|
|
2616
2679
|
type NavSectionLabelProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
2617
2680
|
/** Section header for nav rails and menu popups. Insets match the 0.3.0 prototype
|
|
2618
2681
|
* (4px 4px 2px 8px), so it hangs slightly left of the rows it labels. */
|
|
@@ -2754,6 +2817,15 @@ interface OrgProductSwitcherProps {
|
|
|
2754
2817
|
* console offers it.
|
|
2755
2818
|
*/
|
|
2756
2819
|
trigger?: 'stacked' | 'inline';
|
|
2820
|
+
/**
|
|
2821
|
+
* Whether the `stacked` trigger draws its own leading mark, or holds the place open and draws
|
|
2822
|
+
* nothing in it. `hold` is for a surface that draws that mark itself and can only carry one: a
|
|
2823
|
+
* rail stands the organization's mark on its glyph column at both widths, and a trigger drawing
|
|
2824
|
+
* a second puts two marks 2px apart in one band. The place is held rather than closed so the name
|
|
2825
|
+
* starts on the column it starts on either way, and the trigger's own box is untouched, so the
|
|
2826
|
+
* menu anchors where it did. The `inline` trigger has never drawn a mark and reads neither value.
|
|
2827
|
+
*/
|
|
2828
|
+
mark?: 'draw' | 'hold';
|
|
2757
2829
|
/** Accessible name for the trigger. Defaults to `"<org> / <product>"`, and to whatever the
|
|
2758
2830
|
* trigger reads before an org resolves. */
|
|
2759
2831
|
'aria-label'?: string;
|
|
@@ -2776,7 +2848,7 @@ interface OrgProductSwitcherProps {
|
|
|
2776
2848
|
* `activeProductId` for the newly-selected org. Wiring org/product switches to routing is the
|
|
2777
2849
|
* consumer's job.
|
|
2778
2850
|
*/
|
|
2779
|
-
declare function OrgProductSwitcher({ organizations, activeOrgId, onOrgSelect, products, activeProductId, onProductSelect, actions, trigger, className, ...props }: OrgProductSwitcherProps): React$1.JSX.Element;
|
|
2851
|
+
declare function OrgProductSwitcher({ organizations, activeOrgId, onOrgSelect, products, activeProductId, onProductSelect, actions, trigger, mark, className, ...props }: OrgProductSwitcherProps): React$1.JSX.Element;
|
|
2780
2852
|
declare namespace OrgProductSwitcher {
|
|
2781
2853
|
var displayName: string;
|
|
2782
2854
|
}
|
|
@@ -3331,6 +3403,7 @@ interface NotificationCenterProps {
|
|
|
3331
3403
|
}
|
|
3332
3404
|
declare const NotificationCenter: React$1.ForwardRefExoticComponent<NotificationCenterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3333
3405
|
|
|
3406
|
+
type Density = 'compact' | 'comfortable';
|
|
3334
3407
|
interface NotificationRowProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3335
3408
|
item: NotificationItem;
|
|
3336
3409
|
onItemClick?(item: NotificationItem): void;
|
|
@@ -3343,9 +3416,21 @@ interface NotificationRowProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
3343
3416
|
/** Override the default relative-age label. */
|
|
3344
3417
|
formatAge?(createdAt: Date): string;
|
|
3345
3418
|
/**
|
|
3346
|
-
*
|
|
3347
|
-
*
|
|
3348
|
-
*
|
|
3419
|
+
* How roomy the row is drawn. Default `compact`, which is the row the bell's panel
|
|
3420
|
+
* needs: a body clamped to two lines, small type on the deep link, and the receipt
|
|
3421
|
+
* as a clause on the source eyebrow.
|
|
3422
|
+
*
|
|
3423
|
+
* `comfortable` is the drawing the Notification Center uses for its own rows, for a
|
|
3424
|
+
* row given the width of a page: `px-4 py-3`, the body a step up and unclamped, the
|
|
3425
|
+
* receipt on a line of its own under a check, and the whole bottom row a step up with
|
|
3426
|
+
* it, so the deep link and the one-time actions stay the same size as each other.
|
|
3427
|
+
* Nothing else moves, and neither density paints a severity badge.
|
|
3428
|
+
*/
|
|
3429
|
+
density?: Density;
|
|
3430
|
+
/**
|
|
3431
|
+
* The card rests on `bg-bg-overlay` behind a hairline. `bg-bg-overlay` is the one
|
|
3432
|
+
* fill above every ground in both themes, and the panel that holds the row is
|
|
3433
|
+
* already on it, so there the edge is the whole step — pass nothing anywhere.
|
|
3349
3434
|
*/
|
|
3350
3435
|
className?: string;
|
|
3351
3436
|
}
|
|
@@ -3431,6 +3516,38 @@ interface NotificationToasterProps {
|
|
|
3431
3516
|
}
|
|
3432
3517
|
declare const NotificationToaster: React$1.ForwardRefExoticComponent<NotificationToasterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3433
3518
|
|
|
3519
|
+
/**
|
|
3520
|
+
* The window an account is opened in: a full-viewport glow ground with a single centered card
|
|
3521
|
+
* holding everything — logo, header copy and the screen's form — so a beta gate, a sign-up, an
|
|
3522
|
+
* organization and a first product all read as one screen a person is moving through rather than
|
|
3523
|
+
* four products. The only thing outside the card is the theme toggle, parked top-right.
|
|
3524
|
+
*
|
|
3525
|
+
* It is the frame `OrganizationOnboardingForm` was drawn inside. The ground and the card's edge
|
|
3526
|
+
* read `--auth-*` variables that ship in the stylesheet but are not exported as names, so a
|
|
3527
|
+
* consumer who adopted the form alone had to rebuild this window out of constants they could not
|
|
3528
|
+
* import.
|
|
3529
|
+
*
|
|
3530
|
+
* Unlike a sign-in gate the card carries no signature line unless a `footer` is passed.
|
|
3531
|
+
*/
|
|
3532
|
+
interface OnboardingScreenShellProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
3533
|
+
/** Brand mark above the headline. Consumers pass their own wordmark. */
|
|
3534
|
+
logo?: React$1.ReactNode;
|
|
3535
|
+
/** Rendered in the top-right corner. Defaults to the kit's own `ThemeToggle`, so a screen
|
|
3536
|
+
* gets the control without wiring; pass your own node to replace it, or `null` to drop
|
|
3537
|
+
* it. */
|
|
3538
|
+
themeToggle?: React$1.ReactNode;
|
|
3539
|
+
/** `null` renders no `h1` at all — for a screen whose body carries its own headings. */
|
|
3540
|
+
title: React$1.ReactNode;
|
|
3541
|
+
description?: React$1.ReactNode;
|
|
3542
|
+
/** Muted footer signature. Absent by default — the onboarding window carries no
|
|
3543
|
+
* signature; pass a node to render one. */
|
|
3544
|
+
footer?: React$1.ReactNode;
|
|
3545
|
+
/** Card width. Org creation needs a wider card than product creation. */
|
|
3546
|
+
width?: 'md' | 'lg';
|
|
3547
|
+
children: React$1.ReactNode;
|
|
3548
|
+
}
|
|
3549
|
+
declare const OnboardingScreenShell: React$1.ForwardRefExoticComponent<OnboardingScreenShellProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3550
|
+
|
|
3434
3551
|
/**
|
|
3435
3552
|
* ISO 3166-1 alpha-2 countries, English names, sorted by name. Platform APIs that take a country
|
|
3436
3553
|
* on an organization validate it as an alpha-2 code and upper-case it, so this list is the
|
|
@@ -3780,4 +3897,4 @@ interface RatingScaleProps extends Omit<React$1.ComponentPropsWithoutRef<typeof
|
|
|
3780
3897
|
}
|
|
3781
3898
|
declare const RatingScale: React$1.ForwardRefExoticComponent<RatingScaleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3782
3899
|
|
|
3783
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddPicker, type AddPickerItem, type AddPickerProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, AttachmentChip, type AttachmentChipProps, type AttachmentState, AutoHeight, type AutoHeightProps, Avatar, AvatarFallback, AvatarImage, BackLink, type BackLinkProps, Badge, type BadgeProps, type BeneficialOwnerPayload, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, COUNTRY_OPTIONS, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardNote, type CardNoteProps, type CardProps, CardTitle, type CardTitleProps, Carousel, type CarouselApi, CarouselContent, type CarouselContextProps, CarouselItem, CarouselNext, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselProps, Checkbox, Code, CodeBlock, type CodeBlockProps, type CodeLang, type CodeProps, type CodeVariant, Col, type ColProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, type CommandDialogGroup, type CommandDialogItem, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogStepUp, ConnectorCard, type ConnectorCardProps, type ConnectorOrigin, type ConnectorStatus, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, DatePicker, type DatePickerProps, DecorativeIcon, type DecorativeIconProps, type DeltaDirection, type DeltaTone, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DocsLink, type DocsLinkProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, EntityRow, type EntityRowOpens, type EntityRowOpensProps, type EntityRowProps, EntityTile, type EntityTileProps, ExtensionIcon, type ExtensionIconProps, FeedbackButton, type FeedbackButtonLabels, type FeedbackButtonProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlyphAvatar, type GlyphAvatarProps, type GrantRole, type GrantRoleNotes, GrantRolePicker, type GrantRolePickerProps, GrantRow, type GrantRowProps, Grid, GridOverlay, type GridOverlayProps, type GridProps, HoverCard, HoverCardContent, HoverCardTrigger, IconHint, type IconHintProps, ImageCropDialog, type ImageCropDialogProps, type ImageCropShape, type ImageCropType, ImageCropper, type ImageCropperProps, ImageUpload, type ImageUploadProps, type ImageUploadSize, InlineError, type InlineErrorProps, Input, InputAddon, type InputAddonProps, InputGroup, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, ListCells, type ListCellsProps, type ListColumn, type ListColumnWidth, ListHeader, type ListHeaderProps, MISSING_TONE, Medallion, type MedallionProps, MenuDivider, MenuPopup, type MenuPopupProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavRow, type NavRowMark, type NavRowProps, type NavRowVariant, NavSectionLabel, type NavSectionLabelProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NotifClass, type NotificationAction, NotificationBell, type NotificationBellProps, NotificationCenter, type NotificationCenterProps, type NotificationClass, type NotificationDeepLink, type NotificationItem, type NotificationMute, type NotificationPreferences, type NotificationProduct, NotificationRow, type NotificationRowProps, NotificationSettings, type NotificationSettingsProps, type NotificationSeverity, type NotificationSubscription, type NotificationThreshold, NotificationToast, type NotificationToastDwell, type NotificationToastProps, NotificationToaster, type NotificationToasterPosition, type NotificationToasterProps, OptionCard, type OptionCardProps, OrgProductSwitcher, type OrgProductSwitcherAction, type OrgProductSwitcherItem, type OrgProductSwitcherProduct, type OrgProductSwitcherProps, type OrganizationOnboardingDefaults, OrganizationOnboardingForm, type OrganizationOnboardingFormProps, type OrganizationOnboardingPayload, PageColumn, type PageColumnProps, PageHeader, type PageHeaderProps, type PageHeaderSize, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, PersonAvatar, type PersonAvatarProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type ProductStatus, Progress, QuickSearchRow, type QuickSearchRowProps, RadioGroup, RadioGroupItem, RailToggle, type RailToggleProps, RatingScale, type RatingScaleProps, type RatingScaleSize, RemovableChip, type RemovableChipProps, RemoveButton, type RemoveButtonProps, RequestRow, type RequestRowProps, type RequestState, type RequestSurface, type ResolvedTheme, type Responsive, ScrollArea, ScrollBar, SecretReveal, type SecretRevealProps, SectionIntro, type SectionIntroProps, Select, type SelectOption, type SelectProps, Separator, SettingRow, type SettingRowProps, type Severity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarBackHeader, type SidebarBackHeaderProps, SidebarProductHeader, type SidebarProductHeaderProps, Skeleton, Slider, StarRating, type StarRatingProps, type StarRatingSize, StatCard, type StatCardProps, StatusDot, type StatusDotProps, StepUpChallenge, type StepUpChallengeProps, type StepUpMethod, type StepUpProof, Switch, type SwitchProps, TOAST_DWELL, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemePicker, type ThemePickerProps, ThemeToggle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopBar, type TopBarProps, TopBarUtilities, type TopBarUtilitiesProps, type TopBarUtility, type UseFreshHighlightResult, type UseSidebarOptions, type UseSidebarResult, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, WEIGHT_TONE, alertVariants, attachmentChipVariants, badgeVariants, buttonVariants, cn, formatRelativeAge, grantRemoveLabel, isKnownExtensionIcon, isNotificationSettled, navigationMenuTriggerStyle, productStatusBadge, severityBadgeVariant, severityLabels, statusDotVariants, toggleVariants, useCarousel, useFormField, useFreshHighlight, useIsMobile, useSidebar, useTheme };
|
|
3900
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddPicker, type AddPickerItem, type AddPickerProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, AttachmentChip, type AttachmentChipProps, type AttachmentState, AutoHeight, type AutoHeightProps, Avatar, AvatarFallback, AvatarImage, BackLink, type BackLinkProps, Badge, type BadgeProps, type BeneficialOwnerPayload, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, COUNTRY_OPTIONS, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardNote, type CardNoteProps, type CardProps, CardTitle, type CardTitleProps, Carousel, type CarouselApi, CarouselContent, type CarouselContextProps, CarouselItem, CarouselNext, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselProps, Checkbox, Code, CodeBlock, type CodeBlockProps, type CodeLang, type CodeProps, type CodeVariant, Col, type ColProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, type CommandDialogGroup, type CommandDialogItem, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogStepUp, ConnectorCard, type ConnectorCardProps, type ConnectorOrigin, type ConnectorStatus, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, DatePicker, type DatePickerProps, DecorativeIcon, type DecorativeIconProps, type DeltaDirection, type DeltaTone, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DocsLink, type DocsLinkProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, EntityRow, type EntityRowOpens, type EntityRowOpensProps, type EntityRowProps, EntityTile, type EntityTileProps, ExtensionIcon, type ExtensionIconProps, FeedbackButton, type FeedbackButtonLabels, type FeedbackButtonProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlyphAvatar, type GlyphAvatarProps, type GrantRole, type GrantRoleNotes, GrantRolePicker, type GrantRolePickerProps, GrantRow, type GrantRowProps, Grid, GridOverlay, type GridOverlayProps, type GridProps, HoverCard, HoverCardContent, HoverCardTrigger, IconHint, type IconHintProps, ImageCropDialog, type ImageCropDialogProps, type ImageCropShape, type ImageCropType, ImageCropper, type ImageCropperProps, ImageUpload, type ImageUploadProps, type ImageUploadSize, InlineError, type InlineErrorProps, Input, InputAddon, type InputAddonProps, InputGroup, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, ListCells, type ListCellsProps, type ListColumn, type ListColumnWidth, ListHeader, type ListHeaderProps, MISSING_TONE, Medallion, type MedallionProps, MenuDivider, MenuPopup, type MenuPopupProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavRow, type NavRowMark, type NavRowProps, type NavRowVariant, NavSectionLabel, type NavSectionLabelProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NotifClass, type NotificationAction, NotificationBell, type NotificationBellProps, NotificationCenter, type NotificationCenterProps, type NotificationClass, type NotificationDeepLink, type NotificationItem, type NotificationMute, type NotificationPreferences, type NotificationProduct, NotificationRow, type NotificationRowProps, NotificationSettings, type NotificationSettingsProps, type NotificationSeverity, type NotificationSubscription, type NotificationThreshold, NotificationToast, type NotificationToastDwell, type NotificationToastProps, NotificationToaster, type NotificationToasterPosition, type NotificationToasterProps, OnboardingScreenShell, type OnboardingScreenShellProps, OptionCard, type OptionCardProps, OrgProductSwitcher, type OrgProductSwitcherAction, type OrgProductSwitcherItem, type OrgProductSwitcherProduct, type OrgProductSwitcherProps, type OrganizationOnboardingDefaults, OrganizationOnboardingForm, type OrganizationOnboardingFormProps, type OrganizationOnboardingPayload, PageColumn, type PageColumnProps, PageHeader, type PageHeaderProps, type PageHeaderSize, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, PersonAvatar, type PersonAvatarProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type ProductStatus, Progress, QuickSearchRow, type QuickSearchRowProps, RadioGroup, RadioGroupItem, RailToggle, type RailToggleProps, RatingScale, type RatingScaleProps, type RatingScaleSize, RemovableChip, type RemovableChipProps, RemoveButton, type RemoveButtonProps, RequestRow, type RequestRowProps, type RequestState, type RequestSurface, type ResolvedTheme, type Responsive, ScrollArea, ScrollBar, SecretReveal, type SecretRevealProps, SectionIntro, type SectionIntroProps, Select, type SelectOption, type SelectProps, Separator, SettingRow, type SettingRowProps, type Severity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarBackHeader, type SidebarBackHeaderProps, SidebarDrawer, SidebarProductHeader, type SidebarProductHeaderProps, Skeleton, Slider, StarRating, type StarRatingProps, type StarRatingSize, StatCard, type StatCardProps, StatusDot, type StatusDotProps, StepUpChallenge, type StepUpChallengeProps, type StepUpMethod, type StepUpProof, Switch, type SwitchProps, TOAST_DWELL, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemePicker, type ThemePickerProps, ThemeToggle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopBar, type TopBarProps, TopBarUtilities, type TopBarUtilitiesProps, type TopBarUtility, type UseFreshHighlightResult, type UseSidebarOptions, type UseSidebarResult, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, WEIGHT_TONE, alertVariants, attachmentChipVariants, badgeVariants, buttonVariants, cn, formatRelativeAge, grantRemoveLabel, isKnownExtensionIcon, isNotificationSettled, navigationMenuTriggerStyle, productStatusBadge, railToggleLabel, severityBadgeVariant, severityLabels, statusDotVariants, toggleVariants, useCarousel, useFormField, useFreshHighlight, useIsMobile, useSidebar, useSidebarDismiss, useTheme };
|