@tailor-platform/app-shell 1.2.0 → 1.4.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.
@@ -20,6 +20,7 @@ import * as React_2 from 'react';
20
20
  import { ReactNode } from 'react';
21
21
  import { Select as Select_2 } from '@base-ui/react/select';
22
22
  import { StandardSchemaV1 } from '@standard-schema/spec';
23
+ import { Tabs as Tabs_2 } from '@base-ui/react/tabs';
23
24
  import { toast } from 'sonner';
24
25
  import { Tooltip as Tooltip_2 } from '@base-ui/react/tooltip';
25
26
  import { useLocation } from 'react-router';
@@ -46,6 +47,8 @@ declare interface ActionItem {
46
47
  disabled?: boolean;
47
48
  /** When true, show loading indicator in the row and make it non-interactive */
48
49
  loading?: boolean;
50
+ /** Visual variant. Use "destructive" for dangerous actions like delete. */
51
+ variant?: "default" | "destructive";
49
52
  }
50
53
 
51
54
  /**
@@ -95,7 +98,7 @@ export declare interface ActionPanelProps {
95
98
  }
96
99
 
97
100
  export declare const ActivityCard: typeof ActivityCardStandalone & {
98
- Root: typeof Root;
101
+ Root: typeof Root_2;
99
102
  Items: typeof Items;
100
103
  Item: typeof Item;
101
104
  };
@@ -185,6 +188,18 @@ export declare interface ActivityCardRootProps<T extends ActivityCardBaseItem> {
185
188
  */
186
189
  declare function ActivityCardStandalone({ items, title, maxVisible, overflowLabel, groupBy, className, }: ActivityCardProps): JSX.Element;
187
190
 
191
+ export declare const Alert: {
192
+ Root: typeof Root;
193
+ Title: typeof Title;
194
+ Description: typeof Description;
195
+ };
196
+
197
+ export declare type AlertProps = RootProps;
198
+
199
+ export declare const alertVariants: (props?: ({
200
+ variant?: "error" | "neutral" | "success" | "warning" | "info" | null | undefined;
201
+ } & ClassProp) | undefined) => string;
202
+
188
203
  export declare const AppShell: {
189
204
  (props: AppShellProps): JSX.Element | null;
190
205
  WithPages(pages: PageEntry[]): FC<AppShellProps>;
@@ -709,7 +724,7 @@ declare namespace AutocompleteValue {
709
724
  }
710
725
 
711
726
  export declare const Avatar: {
712
- Root: typeof Root_2;
727
+ Root: typeof Root_3;
713
728
  Image: typeof Image_2;
714
729
  Fallback: typeof Fallback;
715
730
  };
@@ -723,36 +738,42 @@ export declare const avatarVariants: (props?: ({
723
738
  export declare function Badge({ className, variant, children, ...props }: BadgeProps): JSX.Element;
724
739
 
725
740
  /** Options for `type: "badge"` cells. */
726
- declare interface BadgeCellOptions {
741
+ declare interface BadgeCellOptions extends BadgeOptions {
742
+ /** Maximum number of badges to display before showing a "+N" overflow indicator */
743
+ maxVisible?: number;
744
+ }
745
+
746
+ /**
747
+ * Common options for badge rendering.
748
+ */
749
+ export declare interface BadgeOptions {
727
750
  /**
728
- * Maps each cell value (stringified) to a Badge variant. Values not in the
751
+ * Maps each value (stringified) to a Badge variant. Values not in the
729
752
  * map fall back to `defaultBadgeVariant`.
730
753
  */
731
754
  badgeVariantMap?: Record<string, BadgeVariant>;
732
755
  /**
733
- * Maps each cell value (stringified) to a display label. Values not in the
734
- * map render the raw cell value.
756
+ * Maps each value (stringified) to a display label. Values not in the
757
+ * map render the raw value (or sentence-cased value if enabled).
735
758
  */
736
759
  badgeLabelMap?: Record<string, string>;
737
- /** Variant used when the value is not in `badgeVariantMap`. Default: `"neutral"`. */
760
+ /** Variant used when the value is not in `badgeVariantMap`. Default: `"outline-neutral"`. */
738
761
  defaultBadgeVariant?: BadgeVariant;
739
762
  }
740
763
 
741
764
  export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
742
765
  }
743
766
 
744
- /** Variant union accepted by the app-shell `<Badge>` component. */
745
- declare type BadgeVariant = NonNullable<BadgeProps["variant"]>;
767
+ /**
768
+ * Variant union accepted by the app-shell `<Badge>` component.
769
+ * Shared across DataTable, DescriptionCard, and any other badge consumers.
770
+ */
771
+ export declare type BadgeVariant = NonNullable<BadgeProps["variant"]>;
746
772
 
747
773
  export declare const badgeVariants: (props?: ({
748
- variant?: "default" | "error" | "success" | "warning" | "neutral" | "subtle-success" | "subtle-warning" | "subtle-error" | "outline-success" | "outline-warning" | "outline-error" | "outline-info" | "outline-neutral" | null | undefined;
774
+ variant?: "default" | "error" | "neutral" | "success" | "warning" | "info" | "subtle-success" | "subtle-warning" | "subtle-error" | "subtle-info" | "outline-success" | "outline-warning" | "outline-error" | "outline-info" | "outline-neutral" | null | undefined;
749
775
  } & ClassProp) | undefined) => string;
750
776
 
751
- /**
752
- * Badge variant mapping for automatic status coloring
753
- */
754
- declare type BadgeVariantType = "default" | "success" | "warning" | "error" | "neutral" | "subtle-success" | "subtle-warning" | "subtle-error" | "outline-success" | "outline-warning" | "outline-error" | "outline-info" | "outline-neutral";
755
-
756
777
  /** The table body section (`<tbody>`). */
757
778
  declare function Body_2({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
758
779
 
@@ -808,7 +829,7 @@ declare namespace Caption {
808
829
  }
809
830
 
810
831
  export declare const Card: {
811
- Root: typeof Root_4;
832
+ Root: typeof Root_5;
812
833
  Header: typeof Header_3;
813
834
  Content: typeof Content;
814
835
  };
@@ -1146,7 +1167,7 @@ declare type ColumnTypeBranch<TRow extends Record<string, unknown>> = {
1146
1167
  } | {
1147
1168
  type: "badge";
1148
1169
  typeOptions?: BadgeCellOptions;
1149
- accessor?: (row: TRow) => string | number | boolean | null | undefined;
1170
+ accessor?: (row: TRow) => string | string[] | number | boolean | null | undefined;
1150
1171
  } | {
1151
1172
  type: "link";
1152
1173
  typeOptions: LinkCellOptions<TRow>;
@@ -1494,7 +1515,7 @@ declare namespace Content_3 {
1494
1515
  }
1495
1516
 
1496
1517
  /** The main sheet panel. The `side` is inherited from `Sheet.Root` via context. */
1497
- declare function Content_4({ className, children, ...props }: React_2.ComponentProps<typeof Drawer.Popup>): JSX.Element;
1518
+ declare function Content_4({ className, children, size, ...props }: SheetContentProps): JSX.Element;
1498
1519
 
1499
1520
  declare namespace Content_4 {
1500
1521
  var displayName: string;
@@ -2224,29 +2245,35 @@ declare type DefineResourceProps = CommonProps & ErrorBoundaryProps & {
2224
2245
  subResources?: Array<Resource>;
2225
2246
  };
2226
2247
 
2227
- /** A description that provides additional context for the dialog. */
2228
- declare function Description({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Description>): JSX.Element;
2248
+ declare function Description({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
2229
2249
 
2230
2250
  declare namespace Description {
2231
2251
  var displayName: string;
2232
2252
  }
2233
2253
 
2254
+ /** A description that provides additional context for the dialog. */
2255
+ declare function Description_2({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Description>): JSX.Element;
2256
+
2257
+ declare namespace Description_2 {
2258
+ var displayName: string;
2259
+ }
2260
+
2234
2261
  /**
2235
2262
  * A paragraph with additional information about the field.
2236
2263
  *
2237
2264
  * Its ID is registered with the Field context so that the control
2238
2265
  * automatically receives a matching `aria-describedby` attribute.
2239
2266
  */
2240
- declare function Description_2({ className, ...props }: React_2.ComponentProps<typeof Field_2.Description>): JSX.Element;
2267
+ declare function Description_3({ className, ...props }: React_2.ComponentProps<typeof Field_2.Description>): JSX.Element;
2241
2268
 
2242
- declare namespace Description_2 {
2269
+ declare namespace Description_3 {
2243
2270
  var displayName: string;
2244
2271
  }
2245
2272
 
2246
2273
  /** A description that provides additional context for the sheet. */
2247
- declare function Description_3({ className, ...props }: React_2.ComponentProps<typeof Drawer.Description>): JSX.Element;
2274
+ declare function Description_4({ className, ...props }: React_2.ComponentProps<typeof Drawer.Description>): JSX.Element;
2248
2275
 
2249
- declare namespace Description_3 {
2276
+ declare namespace Description_4 {
2250
2277
  var displayName: string;
2251
2278
  }
2252
2279
 
@@ -2293,13 +2320,13 @@ export declare interface DescriptionCardProps {
2293
2320
  }
2294
2321
 
2295
2322
  export declare const Dialog: {
2296
- Root: typeof Root_5;
2323
+ Root: typeof Root_6;
2297
2324
  Close: typeof Close;
2298
2325
  Content: typeof Content_2;
2299
- Description: typeof Description;
2326
+ Description: typeof Description_2;
2300
2327
  Footer: typeof Footer_2;
2301
2328
  Header: typeof Header_4;
2302
- Title: typeof Title;
2329
+ Title: typeof Title_2;
2303
2330
  Trigger: typeof Trigger;
2304
2331
  };
2305
2332
 
@@ -2462,10 +2489,10 @@ declare namespace Fallback {
2462
2489
  }
2463
2490
 
2464
2491
  export declare const Field: {
2465
- Root: typeof Root_6;
2492
+ Root: typeof Root_7;
2466
2493
  Label: typeof Label;
2467
2494
  Control: typeof Control;
2468
- Description: typeof Description_2;
2495
+ Description: typeof Description_3;
2469
2496
  Error: typeof Error_2;
2470
2497
  Validity: typeof Validity;
2471
2498
  };
@@ -2505,9 +2532,18 @@ declare interface FieldMeta {
2505
2532
  /** Show copy button for this field */
2506
2533
  copyable?: boolean;
2507
2534
  /** Map field values to badge variants */
2508
- badgeVariantMap?: Record<string, BadgeVariantType>;
2535
+ badgeVariantMap?: Record<string, BadgeVariant>;
2536
+ /**
2537
+ * Maps each value (stringified) to a display label. Values not in the
2538
+ * map render the raw value (or sentence-cased value if enabled).
2539
+ */
2540
+ badgeLabelMap?: Record<string, string>;
2541
+ /** Variant used when the value is not in `badgeVariantMap`. Default: `"outline-neutral"` (from shared `resolveBadgeVariant`). */
2542
+ defaultBadgeVariant?: BadgeVariant;
2509
2543
  /** Render badge labels in sentence case by default; set false to keep the original value */
2510
2544
  sentenceCaseBadges?: boolean;
2545
+ /** Maximum number of badges to display before showing a "+N" overflow indicator */
2546
+ maxVisible?: number;
2511
2547
  /** Key path to currency code in data object (for money fields) */
2512
2548
  currencyKey?: string;
2513
2549
  /** Key path to href in data object (for link fields) */
@@ -2560,7 +2596,7 @@ declare type FieldRootProps = Pick<React_2.ComponentProps<typeof Field_2.Root>,
2560
2596
  };
2561
2597
 
2562
2598
  export declare const Fieldset: {
2563
- Root: typeof Root_7;
2599
+ Root: typeof Root_8;
2564
2600
  Legend: typeof Legend;
2565
2601
  };
2566
2602
 
@@ -2918,8 +2954,8 @@ declare namespace Header_4 {
2918
2954
  var displayName: string;
2919
2955
  }
2920
2956
 
2921
- /** A layout wrapper for the sheet title and description. */
2922
- declare function Header_5({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
2957
+ /** A layout wrapper for the sheet title, close button, and optional action buttons. */
2958
+ declare function Header_5({ className, action, children, ...props }: SheetHeaderProps): JSX.Element;
2923
2959
 
2924
2960
  declare namespace Header_5 {
2925
2961
  var displayName: string;
@@ -3176,6 +3212,13 @@ declare namespace LinkItem {
3176
3212
  var displayName: string;
3177
3213
  }
3178
3214
 
3215
+ /** Groups the individual tab buttons. */
3216
+ declare function List({ className, children, ...props }: React_2.ComponentProps<typeof Tabs_2.List>): JSX.Element;
3217
+
3218
+ declare namespace List {
3219
+ var displayName: string;
3220
+ }
3221
+
3179
3222
  declare type LoaderHandler = (args: LoaderFunctionArgs) => Promise<unknown> | unknown;
3180
3223
 
3181
3224
  declare type LocalizedString = string | ((locale: string) => string);
@@ -3191,7 +3234,7 @@ export declare interface MappedItem {
3191
3234
  }
3192
3235
 
3193
3236
  export declare const Menu: {
3194
- Root: typeof Root_8;
3237
+ Root: typeof Root_9;
3195
3238
  Trigger: typeof Trigger_2;
3196
3239
  Content: typeof Content_3;
3197
3240
  Item: typeof Item_2;
@@ -3434,6 +3477,13 @@ export declare interface PaginationVariables {
3434
3477
  before?: string | null;
3435
3478
  }
3436
3479
 
3480
+ /** A panel displayed when the corresponding tab is active. */
3481
+ declare function Panel({ className, children, ...props }: React_2.ComponentProps<typeof Tabs_2.Panel>): JSX.Element;
3482
+
3483
+ declare namespace Panel {
3484
+ var displayName: string;
3485
+ }
3486
+
3437
3487
  /** The row data passed to `onValidate`, after transforms have been applied. */
3438
3488
  export declare type ParsedRow = {
3439
3489
  /** 0-based row index, stable across edits. */
@@ -3546,12 +3596,61 @@ declare type ResourceMeta = {
3546
3596
  breadcrumbTitle?: string | ((segment: string) => string);
3547
3597
  };
3548
3598
 
3549
- declare function Root<T extends ActivityCardBaseItem>({ items, title, maxVisible, overflowLabel, groupBy, className, children, }: ActivityCardRootProps<T>): JSX.Element;
3599
+ declare function Root({ className, variant, action, dismissible, onDismiss, children, ...props }: RootProps): JSX.Element | null;
3550
3600
 
3551
3601
  declare namespace Root {
3552
3602
  var displayName: string;
3553
3603
  }
3554
3604
 
3605
+ /**
3606
+ * The root component that manages sheet open/close state.
3607
+ * The `side` prop controls which edge of the screen the sheet slides in from.
3608
+ *
3609
+ * @example
3610
+ * ```tsx
3611
+ * <Sheet.Root side="right">
3612
+ * <Sheet.Trigger render={<Button />}>Open</Sheet.Trigger>
3613
+ * <Sheet.Content>
3614
+ * <Sheet.Header>
3615
+ * <Sheet.Title>Settings</Sheet.Title>
3616
+ * <Sheet.Description>Manage your preferences.</Sheet.Description>
3617
+ * </Sheet.Header>
3618
+ * <Sheet.Footer>
3619
+ * <Button>Save</Button>
3620
+ * </Sheet.Footer>
3621
+ * </Sheet.Content>
3622
+ * </Sheet.Root>
3623
+ * ```
3624
+ */
3625
+ declare function Root_10({ side, ...props }: SheetRootProps): JSX.Element;
3626
+
3627
+ declare namespace Root_10 {
3628
+ var displayName: string;
3629
+ }
3630
+
3631
+ /**
3632
+ * The root component that manages tab selection state.
3633
+ *
3634
+ * @example
3635
+ * ```tsx
3636
+ * <Tabs.Root defaultValue="overview">
3637
+ * <Tabs.List>
3638
+ * <Tabs.Tab value="overview">Overview</Tabs.Tab>
3639
+ * <Tabs.Tab value="projects">Projects</Tabs.Tab>
3640
+ * <Tabs.Tab value="account">Account</Tabs.Tab>
3641
+ * </Tabs.List>
3642
+ * <Tabs.Panel value="overview">Overview content</Tabs.Panel>
3643
+ * <Tabs.Panel value="projects">Projects content</Tabs.Panel>
3644
+ * <Tabs.Panel value="account">Account content</Tabs.Panel>
3645
+ * </Tabs.Root>
3646
+ * ```
3647
+ */
3648
+ declare function Root_11({ className, children, variant, ...props }: RootProps_3): JSX.Element;
3649
+
3650
+ declare namespace Root_11 {
3651
+ var displayName: string;
3652
+ }
3653
+
3555
3654
  /**
3556
3655
  * The root component that manages tooltip open/close state.
3557
3656
  *
@@ -3565,9 +3664,15 @@ declare namespace Root {
3565
3664
  * </Tooltip.Root>
3566
3665
  * ```
3567
3666
  */
3568
- declare function Root_10({ children, ...props }: TooltipRootProps): JSX.Element;
3667
+ declare function Root_12({ children, ...props }: TooltipRootProps): JSX.Element;
3569
3668
 
3570
- declare namespace Root_10 {
3669
+ declare namespace Root_12 {
3670
+ var displayName: string;
3671
+ }
3672
+
3673
+ declare function Root_2<T extends ActivityCardBaseItem>({ items, title, maxVisible, overflowLabel, groupBy, className, children, }: ActivityCardRootProps<T>): JSX.Element;
3674
+
3675
+ declare namespace Root_2 {
3571
3676
  var displayName: string;
3572
3677
  }
3573
3678
 
@@ -3584,9 +3689,9 @@ declare namespace Root_10 {
3584
3689
  * </Avatar.Root>
3585
3690
  * ```
3586
3691
  */
3587
- declare function Root_2({ className, size, ...props }: AvatarProps): JSX.Element;
3692
+ declare function Root_3({ className, size, ...props }: AvatarProps): JSX.Element;
3588
3693
 
3589
- declare namespace Root_2 {
3694
+ declare namespace Root_3 {
3590
3695
  var displayName: string;
3591
3696
  }
3592
3697
 
@@ -3613,15 +3718,15 @@ declare namespace Root_2 {
3613
3718
  * </Table.Root>
3614
3719
  * ```
3615
3720
  */
3616
- declare function Root_3({ className, containerClassName, ...props }: RootProps): JSX.Element;
3721
+ declare function Root_4({ className, containerClassName, ...props }: RootProps_2): JSX.Element;
3617
3722
 
3618
- declare namespace Root_3 {
3723
+ declare namespace Root_4 {
3619
3724
  var displayName: string;
3620
3725
  }
3621
3726
 
3622
- declare function Root_4({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
3727
+ declare function Root_5({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
3623
3728
 
3624
- declare namespace Root_4 {
3729
+ declare namespace Root_5 {
3625
3730
  var displayName: string;
3626
3731
  }
3627
3732
 
@@ -3645,9 +3750,9 @@ declare namespace Root_4 {
3645
3750
  * </Dialog.Root>
3646
3751
  * ```
3647
3752
  */
3648
- declare function Root_5({ ...props }: DialogRootProps): JSX.Element;
3753
+ declare function Root_6({ ...props }: DialogRootProps): JSX.Element;
3649
3754
 
3650
- declare namespace Root_5 {
3755
+ declare namespace Root_6 {
3651
3756
  var displayName: string;
3652
3757
  }
3653
3758
 
@@ -3698,17 +3803,17 @@ declare namespace Root_5 {
3698
3803
  * > error routing, add `name={field.name}` to `Field.Root` so errors can be
3699
3804
  * > matched by field name.
3700
3805
  */
3701
- declare function Root_6({ className, children, isTouched, isDirty, invalid, error, isValidating: _isValidating, ...props }: FieldRootProps & {
3806
+ declare function Root_7({ className, children, isTouched, isDirty, invalid, error, isValidating: _isValidating, ...props }: FieldRootProps & {
3702
3807
  isValidating?: unknown;
3703
3808
  }): JSX.Element;
3704
3809
 
3705
- declare namespace Root_6 {
3810
+ declare namespace Root_7 {
3706
3811
  var displayName: string;
3707
3812
  }
3708
3813
 
3709
- declare function Root_7({ className, ...props }: FieldsetRootProps): JSX.Element;
3814
+ declare function Root_8({ className, ...props }: FieldsetRootProps): JSX.Element;
3710
3815
 
3711
- declare namespace Root_7 {
3816
+ declare namespace Root_8 {
3712
3817
  var displayName: string;
3713
3818
  }
3714
3819
 
@@ -3728,33 +3833,7 @@ declare namespace Root_7 {
3728
3833
  * </Menu.Root>
3729
3834
  * ```
3730
3835
  */
3731
- declare function Root_8({ children, ...props }: MenuRootProps): JSX.Element;
3732
-
3733
- declare namespace Root_8 {
3734
- var displayName: string;
3735
- }
3736
-
3737
- /**
3738
- * The root component that manages sheet open/close state.
3739
- * The `side` prop controls which edge of the screen the sheet slides in from.
3740
- *
3741
- * @example
3742
- * ```tsx
3743
- * <Sheet.Root side="right">
3744
- * <Sheet.Trigger render={<Button />}>Open</Sheet.Trigger>
3745
- * <Sheet.Content>
3746
- * <Sheet.Header>
3747
- * <Sheet.Title>Settings</Sheet.Title>
3748
- * <Sheet.Description>Manage your preferences.</Sheet.Description>
3749
- * </Sheet.Header>
3750
- * <Sheet.Footer>
3751
- * <Button>Save</Button>
3752
- * </Sheet.Footer>
3753
- * </Sheet.Content>
3754
- * </Sheet.Root>
3755
- * ```
3756
- */
3757
- declare function Root_9({ side, ...props }: SheetRootProps): JSX.Element;
3836
+ declare function Root_9({ children, ...props }: MenuRootProps): JSX.Element;
3758
3837
 
3759
3838
  declare namespace Root_9 {
3760
3839
  var displayName: string;
@@ -3768,11 +3847,23 @@ declare type RootConfiguration = {
3768
3847
  locale: string;
3769
3848
  };
3770
3849
 
3771
- declare type RootProps = React_2.ComponentProps<"table"> & {
3850
+ declare type RootProps = React_2.ComponentProps<"div"> & VariantProps<typeof alertVariants> & {
3851
+ action?: React_2.ReactNode;
3852
+ dismissible?: boolean;
3853
+ onDismiss?: () => void;
3854
+ };
3855
+
3856
+ declare type RootProps_2 = React_2.ComponentProps<"table"> & {
3772
3857
  /** Additional CSS classes for the outer scrollable `<div>` container. Use this to control height, overflow, or container-level layout. */
3773
3858
  containerClassName?: string;
3774
3859
  };
3775
3860
 
3861
+ declare type RootProps_3 = Pick<React_2.ComponentProps<typeof Tabs_2.Root>, "defaultValue" | "value" | "onValueChange"> & {
3862
+ children: React_2.ReactNode;
3863
+ className?: string;
3864
+ variant?: TabsVariant;
3865
+ };
3866
+
3776
3867
  /**
3777
3868
  * Route parameters type inferred from AppShellRegister.
3778
3869
  * Falls back to Record<string, Record<string, string>> if not augmented.
@@ -4157,14 +4248,25 @@ declare type SharedAppShellProps = React.PropsWithChildren<{
4157
4248
  }>;
4158
4249
 
4159
4250
  export declare const Sheet: {
4160
- Root: typeof Root_9;
4251
+ Root: typeof Root_10;
4161
4252
  Trigger: typeof Trigger_3;
4162
4253
  Close: typeof Close_2;
4163
4254
  Content: typeof Content_4;
4164
4255
  Header: typeof Header_5;
4165
4256
  Footer: typeof Footer_3;
4166
- Title: typeof Title_2;
4167
- Description: typeof Description_3;
4257
+ Title: typeof Title_3;
4258
+ Description: typeof Description_4;
4259
+ };
4260
+
4261
+ declare type SheetContentProps = React_2.ComponentProps<typeof Drawer.Popup> & {
4262
+ /** Controls the max-width of the sheet panel (`sm` | `md` | `lg` | `xl` | `full`). Applies to left/right sides. @default "sm" */
4263
+ size?: Size;
4264
+ };
4265
+
4266
+ declare type SheetHeaderProps = Omit<React_2.ComponentProps<"div">, "children"> & {
4267
+ /** Action buttons displayed to the right of the title. */
4268
+ action?: React_2.ReactNode;
4269
+ children?: React_2.ReactNode;
4168
4270
  };
4169
4271
 
4170
4272
  declare type SheetRootProps = Pick<React_2.ComponentProps<typeof Drawer.Root>, "open" | "defaultOpen" | "onOpenChange" | "modal"> & {
@@ -4368,6 +4470,8 @@ export declare type SidebarLayoutProps = {
4368
4470
  */
4369
4471
  export declare const SidebarSeparator: () => JSX.Element;
4370
4472
 
4473
+ declare type Size = "sm" | "md" | "lg" | "xl" | "full";
4474
+
4371
4475
  /**
4372
4476
  * Sort configuration for a column.
4373
4477
  * The `type` determines how values are compared when sorting.
@@ -4413,8 +4517,15 @@ declare namespace SubmenuTrigger {
4413
4517
  var displayName: string;
4414
4518
  }
4415
4519
 
4520
+ /** An individual interactive tab button that toggles the corresponding panel. */
4521
+ declare function Tab({ className, children, ...props }: React_2.ComponentProps<typeof Tabs_2.Tab>): JSX.Element;
4522
+
4523
+ declare namespace Tab {
4524
+ var displayName: string;
4525
+ }
4526
+
4416
4527
  export declare const Table: {
4417
- Root: typeof Root_3;
4528
+ Root: typeof Root_4;
4418
4529
  Header: typeof Header_2;
4419
4530
  Body: typeof Body_2;
4420
4531
  Footer: typeof Footer;
@@ -4476,6 +4587,15 @@ export declare type TableOrderableFieldName<TTable extends TableMetadata> = Extr
4476
4587
  readonly name: infer N;
4477
4588
  } ? N extends string ? N : never : never;
4478
4589
 
4590
+ export declare const Tabs: {
4591
+ Root: typeof Root_11;
4592
+ List: typeof List;
4593
+ Tab: typeof Tab;
4594
+ Panel: typeof Panel;
4595
+ };
4596
+
4597
+ declare type TabsVariant = "default" | "line" | "capsule";
4598
+
4479
4599
  declare type Theme = "dark" | "light" | "system";
4480
4600
 
4481
4601
  declare type ThemeProviderState = {
@@ -4484,22 +4604,28 @@ declare type ThemeProviderState = {
4484
4604
  setTheme: (theme: Theme) => void;
4485
4605
  };
4486
4606
 
4487
- /** The title of the dialog, announced by screen readers. */
4488
- declare function Title({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Title>): JSX.Element;
4607
+ declare function Title({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
4489
4608
 
4490
4609
  declare namespace Title {
4491
4610
  var displayName: string;
4492
4611
  }
4493
4612
 
4494
- /** The title of the sheet, announced by screen readers. */
4495
- declare function Title_2({ className, ...props }: React_2.ComponentProps<typeof Drawer.Title>): JSX.Element;
4613
+ /** The title of the dialog, announced by screen readers. */
4614
+ declare function Title_2({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Title>): JSX.Element;
4496
4615
 
4497
4616
  declare namespace Title_2 {
4498
4617
  var displayName: string;
4499
4618
  }
4500
4619
 
4620
+ /** The title of the sheet, announced by screen readers. */
4621
+ declare function Title_3({ className, ...props }: React_2.ComponentProps<typeof Drawer.Title>): JSX.Element;
4622
+
4623
+ declare namespace Title_3 {
4624
+ var displayName: string;
4625
+ }
4626
+
4501
4627
  export declare const Tooltip: {
4502
- Root: typeof Root_10;
4628
+ Root: typeof Root_12;
4503
4629
  Trigger: typeof Trigger_4;
4504
4630
  Content: typeof Content_5;
4505
4631
  Provider: typeof Provider;