@work-rjkashyap/unified-ui 0.2.3 → 0.3.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/CHANGELOG.md +57 -2
- package/bin/cli.mjs +1635 -4
- package/dist/{chunk-BB5WRUPU.mjs → chunk-AQJ7H5SF.mjs} +1138 -281
- package/dist/{chunk-3K2CXZ6H.cjs → chunk-EUHL6H76.cjs} +1155 -277
- package/dist/components.cjs +373 -289
- package/dist/components.d.cts +780 -37
- package/dist/components.d.ts +780 -37
- package/dist/components.mjs +1 -1
- package/dist/index.cjs +373 -289
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/theme.d.cts +1 -1
- package/dist/theme.d.ts +1 -1
- package/package.json +4 -3
package/dist/components.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ComponentPropsWithoutRef, ReactNode, ElementType, HTMLAttributes, InputHTMLAttributes } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, HoverCard as HoverCard$1, Label as Label$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, VisuallyHidden as VisuallyHidden$1 } from 'radix-ui';
|
|
4
|
+
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, HoverCard as HoverCard$1, Label as Label$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, VisuallyHidden as VisuallyHidden$1 } from 'radix-ui';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
7
|
import { ColumnDef, SortingState, OnChangeFn, ColumnFiltersState, PaginationState, RowSelectionState, Row, VisibilityState, ColumnPinningState, Table as Table$1 } from '@tanstack/react-table';
|
|
8
8
|
export { ColumnDef, ColumnFiltersState, PaginationState, Row, RowSelectionState, SortingState, VisibilityState, createColumnHelper } from '@tanstack/react-table';
|
|
9
9
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
10
|
-
import { SeparatorProps, Panel, GroupProps, PanelProps } from 'react-resizable-panels';
|
|
10
|
+
import { SeparatorProps as SeparatorProps$1, Panel, GroupProps, PanelProps } from 'react-resizable-panels';
|
|
11
11
|
export { ExternalToast as SonnerToastOptions, toast } from 'sonner';
|
|
12
12
|
|
|
13
13
|
declare const accordionRootVariants: (props?: ({
|
|
@@ -4536,7 +4536,7 @@ declare namespace ResizablePanelGroup {
|
|
|
4536
4536
|
}
|
|
4537
4537
|
type ResizablePanelProps = PanelProps;
|
|
4538
4538
|
declare const ResizablePanel: typeof Panel;
|
|
4539
|
-
interface ResizableHandleProps extends SeparatorProps {
|
|
4539
|
+
interface ResizableHandleProps extends SeparatorProps$1 {
|
|
4540
4540
|
/** Show a visible grip handle in the center of the separator. */
|
|
4541
4541
|
withHandle?: boolean;
|
|
4542
4542
|
}
|
|
@@ -4730,6 +4730,91 @@ declare const SelectGroup: react.ForwardRefExoticComponent<SelectGroupProps & re
|
|
|
4730
4730
|
declare const SelectLabel: react.ForwardRefExoticComponent<SelectLabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
4731
4731
|
declare const SelectSeparator: react.ForwardRefExoticComponent<SelectSeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
4732
4732
|
|
|
4733
|
+
declare const separatorVariants: (props?: ({
|
|
4734
|
+
variant?: "default" | "dashed" | "muted" | "gradient" | null | undefined;
|
|
4735
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
4736
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4737
|
+
type SeparatorVariant = NonNullable<VariantProps<typeof separatorVariants>["variant"]>;
|
|
4738
|
+
type SeparatorOrientation = "horizontal" | "vertical";
|
|
4739
|
+
type SeparatorSpacing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12;
|
|
4740
|
+
interface SeparatorProps extends ComponentPropsWithoutRef<typeof Separator$1.Root> {
|
|
4741
|
+
/**
|
|
4742
|
+
* Visual variant of the separator.
|
|
4743
|
+
* @default "default"
|
|
4744
|
+
*/
|
|
4745
|
+
variant?: SeparatorVariant;
|
|
4746
|
+
/**
|
|
4747
|
+
* Orientation of the separator.
|
|
4748
|
+
* @default "horizontal"
|
|
4749
|
+
*/
|
|
4750
|
+
orientation?: SeparatorOrientation;
|
|
4751
|
+
/**
|
|
4752
|
+
* Whether the separator is purely decorative. When `true`, it is hidden
|
|
4753
|
+
* from the accessibility tree. When `false`, it renders as a semantic
|
|
4754
|
+
* separator with `role="separator"`.
|
|
4755
|
+
* @default true
|
|
4756
|
+
*/
|
|
4757
|
+
decorative?: boolean;
|
|
4758
|
+
/**
|
|
4759
|
+
* Vertical margin (horizontal orientation) or horizontal margin
|
|
4760
|
+
* (vertical orientation), using Tailwind spacing scale.
|
|
4761
|
+
* @default 4
|
|
4762
|
+
*/
|
|
4763
|
+
spacing?: SeparatorSpacing;
|
|
4764
|
+
/**
|
|
4765
|
+
* Optional label to render centered on the separator.
|
|
4766
|
+
* Creates a "divider with text" pattern (e.g., "OR", "Continue", etc.).
|
|
4767
|
+
* Only supported for horizontal orientation.
|
|
4768
|
+
*/
|
|
4769
|
+
label?: ReactNode;
|
|
4770
|
+
/**
|
|
4771
|
+
* Additional CSS classes applied to the separator line (or wrapper
|
|
4772
|
+
* when a label is present).
|
|
4773
|
+
*/
|
|
4774
|
+
className?: string;
|
|
4775
|
+
}
|
|
4776
|
+
/**
|
|
4777
|
+
* Separator — a visual divider between content sections.
|
|
4778
|
+
*
|
|
4779
|
+
* Built on Radix UI's Separator primitive with design system tokens for
|
|
4780
|
+
* consistent styling. Supports horizontal and vertical orientations,
|
|
4781
|
+
* optional labels, and multiple visual variants.
|
|
4782
|
+
*
|
|
4783
|
+
* Accessibility:
|
|
4784
|
+
* - `decorative={true}` (default) → `role="none"`, hidden from AT
|
|
4785
|
+
* - `decorative={false}` → `role="separator"` + `aria-orientation`
|
|
4786
|
+
* - Label text is visible but does not affect semantics when decorative
|
|
4787
|
+
*
|
|
4788
|
+
* @example
|
|
4789
|
+
* ```tsx
|
|
4790
|
+
* // Basic horizontal separator
|
|
4791
|
+
* <Separator />
|
|
4792
|
+
*
|
|
4793
|
+
* // With custom spacing
|
|
4794
|
+
* <Separator spacing={6} />
|
|
4795
|
+
*
|
|
4796
|
+
* // Vertical separator (e.g., in a toolbar)
|
|
4797
|
+
* <Separator orientation="vertical" />
|
|
4798
|
+
*
|
|
4799
|
+
* // With a label
|
|
4800
|
+
* <Separator label="OR" />
|
|
4801
|
+
* <Separator label={<span className="text-muted-foreground">Section</span>} />
|
|
4802
|
+
*
|
|
4803
|
+
* // Muted variant
|
|
4804
|
+
* <Separator variant="muted" />
|
|
4805
|
+
*
|
|
4806
|
+
* // Dashed variant
|
|
4807
|
+
* <Separator variant="dashed" />
|
|
4808
|
+
*
|
|
4809
|
+
* // Gradient variant
|
|
4810
|
+
* <Separator variant="gradient" />
|
|
4811
|
+
*
|
|
4812
|
+
* // Semantic (non-decorative) separator
|
|
4813
|
+
* <Separator decorative={false} />
|
|
4814
|
+
* ```
|
|
4815
|
+
*/
|
|
4816
|
+
declare const Separator: react.ForwardRefExoticComponent<SeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
4817
|
+
|
|
4733
4818
|
declare const sheetContentVariants: (props?: ({
|
|
4734
4819
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
4735
4820
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
@@ -5047,73 +5132,731 @@ declare const DrawerTitle: react.ForwardRefExoticComponent<DrawerTitleProps & re
|
|
|
5047
5132
|
declare const DrawerDescription: react.ForwardRefExoticComponent<DrawerDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
5048
5133
|
declare const DrawerClose: react.ForwardRefExoticComponent<DrawerCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
5049
5134
|
|
|
5135
|
+
type SidebarVariant = "default" | "floating" | "inset";
|
|
5136
|
+
type SidebarCollapsible = "offcanvas" | "icon" | "none";
|
|
5137
|
+
type SidebarSide = "left" | "right";
|
|
5050
5138
|
interface SidebarContextValue {
|
|
5051
|
-
|
|
5052
|
-
|
|
5139
|
+
state: "expanded" | "collapsed";
|
|
5140
|
+
open: boolean;
|
|
5141
|
+
setOpen: (open: boolean) => void;
|
|
5142
|
+
openMobile: boolean;
|
|
5143
|
+
setOpenMobile: (open: boolean) => void;
|
|
5053
5144
|
isMobile: boolean;
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5145
|
+
toggleSidebar: () => void;
|
|
5146
|
+
variant: SidebarVariant;
|
|
5147
|
+
collapsible: SidebarCollapsible;
|
|
5148
|
+
side: SidebarSide;
|
|
5149
|
+
}
|
|
5150
|
+
/**
|
|
5151
|
+
* Hook to access the sidebar context.
|
|
5152
|
+
*
|
|
5153
|
+
* Must be used within a `<SidebarProvider>`.
|
|
5154
|
+
*
|
|
5155
|
+
* @returns The sidebar context value containing state, open/close handlers,
|
|
5156
|
+
* mobile state, toggle function, variant, collapsible mode, and side.
|
|
5157
|
+
*
|
|
5158
|
+
* @example
|
|
5159
|
+
* ```tsx
|
|
5160
|
+
* const { open, toggleSidebar, isMobile, state } = useSidebar();
|
|
5161
|
+
*
|
|
5162
|
+
* // state is "expanded" or "collapsed"
|
|
5163
|
+
* // open is the boolean open state
|
|
5164
|
+
* ```
|
|
5165
|
+
*/
|
|
5166
|
+
declare function useSidebar(): SidebarContextValue;
|
|
5167
|
+
declare const useSidebarContext: typeof useSidebar;
|
|
5168
|
+
interface SidebarProviderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5169
|
+
/**
|
|
5170
|
+
* Whether the sidebar is open (controlled).
|
|
5171
|
+
* When provided, the component is controlled.
|
|
5172
|
+
*/
|
|
5173
|
+
open?: boolean;
|
|
5174
|
+
/**
|
|
5175
|
+
* Callback fired when the open state changes.
|
|
5176
|
+
*/
|
|
5177
|
+
onOpenChange?: (open: boolean) => void;
|
|
5178
|
+
/**
|
|
5179
|
+
* Default open state for uncontrolled mode.
|
|
5180
|
+
* @default true
|
|
5181
|
+
*/
|
|
5182
|
+
defaultOpen?: boolean;
|
|
5183
|
+
/**
|
|
5184
|
+
* Visual variant of the sidebar.
|
|
5185
|
+
* - `"default"` — Standard bordered sidebar
|
|
5186
|
+
* - `"floating"` — Rounded sidebar with gap and shadow
|
|
5187
|
+
* - `"inset"` — Sidebar inset within a parent container
|
|
5188
|
+
* @default "default"
|
|
5189
|
+
*/
|
|
5190
|
+
variant?: SidebarVariant;
|
|
5191
|
+
/**
|
|
5192
|
+
* How the sidebar collapses.
|
|
5193
|
+
* - `"offcanvas"` — Slides off-screen
|
|
5194
|
+
* - `"icon"` — Collapses to icon-only width
|
|
5195
|
+
* - `"none"` — Not collapsible
|
|
5196
|
+
* @default "offcanvas"
|
|
5197
|
+
*/
|
|
5198
|
+
collapsible?: SidebarCollapsible;
|
|
5199
|
+
/**
|
|
5200
|
+
* Which side to place the sidebar.
|
|
5201
|
+
* @default "left"
|
|
5202
|
+
*/
|
|
5203
|
+
side?: SidebarSide;
|
|
5204
|
+
/** Children to render inside the provider. */
|
|
5062
5205
|
children?: ReactNode;
|
|
5206
|
+
/** Additional CSS classes on the wrapper div. */
|
|
5207
|
+
className?: string;
|
|
5063
5208
|
}
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5209
|
+
/**
|
|
5210
|
+
* SidebarProvider — manages sidebar state and provides context.
|
|
5211
|
+
*
|
|
5212
|
+
* Wraps the sidebar and its sibling content. Handles controlled/uncontrolled
|
|
5213
|
+
* state, mobile detection, keyboard shortcut, and CSS custom properties.
|
|
5214
|
+
*
|
|
5215
|
+
* @example
|
|
5216
|
+
* ```tsx
|
|
5217
|
+
* <SidebarProvider defaultOpen>
|
|
5218
|
+
* <Sidebar>
|
|
5219
|
+
* <SidebarHeader />
|
|
5220
|
+
* <SidebarContent>
|
|
5221
|
+
* <SidebarGroup>...</SidebarGroup>
|
|
5222
|
+
* </SidebarContent>
|
|
5223
|
+
* <SidebarFooter />
|
|
5224
|
+
* </Sidebar>
|
|
5225
|
+
* <SidebarInset>
|
|
5226
|
+
* <main>Page content</main>
|
|
5227
|
+
* </SidebarInset>
|
|
5228
|
+
* </SidebarProvider>
|
|
5229
|
+
* ```
|
|
5230
|
+
*/
|
|
5231
|
+
declare const SidebarProvider: react.ForwardRefExoticComponent<SidebarProviderProps & react.RefAttributes<HTMLDivElement>>;
|
|
5232
|
+
interface SidebarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5233
|
+
/**
|
|
5234
|
+
* Which side to place the sidebar. Overrides the provider's side.
|
|
5235
|
+
* @default "left"
|
|
5236
|
+
*/
|
|
5237
|
+
side?: SidebarSide;
|
|
5238
|
+
/**
|
|
5239
|
+
* Visual variant. Overrides the provider's variant.
|
|
5240
|
+
* @default "default"
|
|
5241
|
+
*/
|
|
5242
|
+
variant?: SidebarVariant;
|
|
5243
|
+
/**
|
|
5244
|
+
* How the sidebar collapses. Overrides the provider's collapsible.
|
|
5245
|
+
* @default "offcanvas"
|
|
5246
|
+
*/
|
|
5247
|
+
collapsible?: SidebarCollapsible;
|
|
5248
|
+
/** Additional CSS classes. */
|
|
5068
5249
|
className?: string;
|
|
5250
|
+
/** Sidebar content. */
|
|
5069
5251
|
children?: ReactNode;
|
|
5070
5252
|
}
|
|
5071
|
-
|
|
5072
|
-
|
|
5253
|
+
/**
|
|
5254
|
+
* Sidebar — the main sidebar container.
|
|
5255
|
+
*
|
|
5256
|
+
* Renders as a `<div>` wrapping an inner `<div>` that holds the sidebar
|
|
5257
|
+
* content. Handles desktop width animation and mobile sheet overlay.
|
|
5258
|
+
*
|
|
5259
|
+
* @example
|
|
5260
|
+
* ```tsx
|
|
5261
|
+
* <Sidebar side="left" variant="default" collapsible="icon">
|
|
5262
|
+
* <SidebarHeader>
|
|
5263
|
+
* <TeamSwitcher />
|
|
5264
|
+
* </SidebarHeader>
|
|
5265
|
+
* <SidebarContent>
|
|
5266
|
+
* <SidebarGroup>
|
|
5267
|
+
* <SidebarGroupLabel>Platform</SidebarGroupLabel>
|
|
5268
|
+
* <SidebarGroupContent>
|
|
5269
|
+
* <SidebarMenu>
|
|
5270
|
+
* <SidebarMenuItem>
|
|
5271
|
+
* <SidebarMenuButton>Dashboard</SidebarMenuButton>
|
|
5272
|
+
* </SidebarMenuItem>
|
|
5273
|
+
* </SidebarMenu>
|
|
5274
|
+
* </SidebarGroupContent>
|
|
5275
|
+
* </SidebarGroup>
|
|
5276
|
+
* </SidebarContent>
|
|
5277
|
+
* <SidebarFooter>
|
|
5278
|
+
* <UserNav />
|
|
5279
|
+
* </SidebarFooter>
|
|
5280
|
+
* </Sidebar>
|
|
5281
|
+
* ```
|
|
5282
|
+
*/
|
|
5283
|
+
declare const Sidebar: react.ForwardRefExoticComponent<SidebarProps & react.RefAttributes<HTMLDivElement>>;
|
|
5284
|
+
interface SidebarTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5285
|
+
/** Additional CSS classes. */
|
|
5073
5286
|
className?: string;
|
|
5287
|
+
/** Custom trigger content. Defaults to a PanelLeft icon. */
|
|
5074
5288
|
children?: ReactNode;
|
|
5075
5289
|
}
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5290
|
+
/**
|
|
5291
|
+
* SidebarTrigger — a button that toggles the sidebar open/closed.
|
|
5292
|
+
*
|
|
5293
|
+
* @example
|
|
5294
|
+
* ```tsx
|
|
5295
|
+
* <SidebarTrigger className="ml-2" />
|
|
5296
|
+
* ```
|
|
5297
|
+
*/
|
|
5298
|
+
declare const SidebarTrigger: react.ForwardRefExoticComponent<SidebarTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
5299
|
+
declare const SidebarToggle: react.ForwardRefExoticComponent<SidebarTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
5300
|
+
type SidebarToggleProps = SidebarTriggerProps;
|
|
5301
|
+
interface SidebarRailProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5302
|
+
/** Additional CSS classes. */
|
|
5083
5303
|
className?: string;
|
|
5084
|
-
children?: ReactNode;
|
|
5085
5304
|
}
|
|
5086
|
-
|
|
5305
|
+
/**
|
|
5306
|
+
* SidebarRail — a thin vertical bar at the sidebar edge that toggles
|
|
5307
|
+
* the sidebar on click. Provides an affordance for quick collapse/expand.
|
|
5308
|
+
*
|
|
5309
|
+
* @example
|
|
5310
|
+
* ```tsx
|
|
5311
|
+
* <Sidebar>
|
|
5312
|
+
* {/* ... sidebar content ... *\/}
|
|
5313
|
+
* <SidebarRail />
|
|
5314
|
+
* </Sidebar>
|
|
5315
|
+
* ```
|
|
5316
|
+
*/
|
|
5317
|
+
declare const SidebarRail: react.ForwardRefExoticComponent<SidebarRailProps & react.RefAttributes<HTMLButtonElement>>;
|
|
5318
|
+
interface SidebarInsetProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5319
|
+
/** Additional CSS classes. */
|
|
5087
5320
|
className?: string;
|
|
5321
|
+
/** Content. */
|
|
5088
5322
|
children?: ReactNode;
|
|
5089
5323
|
}
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5324
|
+
/**
|
|
5325
|
+
* SidebarInset — the main content area that sits beside the sidebar.
|
|
5326
|
+
*
|
|
5327
|
+
* Use as a sibling of `<Sidebar>` inside `<SidebarProvider>`.
|
|
5328
|
+
*
|
|
5329
|
+
* @example
|
|
5330
|
+
* ```tsx
|
|
5331
|
+
* <SidebarProvider>
|
|
5332
|
+
* <Sidebar>...</Sidebar>
|
|
5333
|
+
* <SidebarInset>
|
|
5334
|
+
* <header>...</header>
|
|
5335
|
+
* <main>Page content</main>
|
|
5336
|
+
* </SidebarInset>
|
|
5337
|
+
* </SidebarProvider>
|
|
5338
|
+
* ```
|
|
5339
|
+
*/
|
|
5340
|
+
declare const SidebarInset: react.ForwardRefExoticComponent<SidebarInsetProps & react.RefAttributes<HTMLDivElement>>;
|
|
5096
5341
|
interface SidebarHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5342
|
+
/** Additional CSS classes. */
|
|
5097
5343
|
className?: string;
|
|
5344
|
+
/** Header content (logo, team switcher, etc.). */
|
|
5098
5345
|
children?: ReactNode;
|
|
5099
5346
|
}
|
|
5347
|
+
/**
|
|
5348
|
+
* SidebarHeader — sticky top area of the sidebar.
|
|
5349
|
+
*
|
|
5350
|
+
* Typically contains a logo, team/workspace switcher, or branding.
|
|
5351
|
+
*
|
|
5352
|
+
* @example
|
|
5353
|
+
* ```tsx
|
|
5354
|
+
* <SidebarHeader>
|
|
5355
|
+
* <SidebarMenu>
|
|
5356
|
+
* <SidebarMenuItem>
|
|
5357
|
+
* <DropdownMenu>
|
|
5358
|
+
* <DropdownMenuTrigger asChild>
|
|
5359
|
+
* <SidebarMenuButton>
|
|
5360
|
+
* <Logo />
|
|
5361
|
+
* <span>Acme Inc</span>
|
|
5362
|
+
* </SidebarMenuButton>
|
|
5363
|
+
* </DropdownMenuTrigger>
|
|
5364
|
+
* <DropdownMenuContent>...</DropdownMenuContent>
|
|
5365
|
+
* </DropdownMenu>
|
|
5366
|
+
* </SidebarMenuItem>
|
|
5367
|
+
* </SidebarMenu>
|
|
5368
|
+
* </SidebarHeader>
|
|
5369
|
+
* ```
|
|
5370
|
+
*/
|
|
5100
5371
|
declare const SidebarHeader: react.ForwardRefExoticComponent<SidebarHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
5101
5372
|
interface SidebarContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5373
|
+
/** Additional CSS classes. */
|
|
5102
5374
|
className?: string;
|
|
5375
|
+
/** Content (SidebarGroups). */
|
|
5103
5376
|
children?: ReactNode;
|
|
5104
5377
|
}
|
|
5378
|
+
/**
|
|
5379
|
+
* SidebarContent — the scrollable middle area of the sidebar.
|
|
5380
|
+
*
|
|
5381
|
+
* Contains one or more `<SidebarGroup>` components. Automatically
|
|
5382
|
+
* scrollable when content overflows.
|
|
5383
|
+
*
|
|
5384
|
+
* @example
|
|
5385
|
+
* ```tsx
|
|
5386
|
+
* <SidebarContent>
|
|
5387
|
+
* <SidebarGroup>...</SidebarGroup>
|
|
5388
|
+
* <SidebarGroup>...</SidebarGroup>
|
|
5389
|
+
* </SidebarContent>
|
|
5390
|
+
* ```
|
|
5391
|
+
*/
|
|
5105
5392
|
declare const SidebarContent: react.ForwardRefExoticComponent<SidebarContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
5106
5393
|
interface SidebarFooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5394
|
+
/** Additional CSS classes. */
|
|
5107
5395
|
className?: string;
|
|
5396
|
+
/** Footer content (user nav, actions, etc.). */
|
|
5108
5397
|
children?: ReactNode;
|
|
5109
5398
|
}
|
|
5399
|
+
/**
|
|
5400
|
+
* SidebarFooter — sticky bottom area of the sidebar.
|
|
5401
|
+
*
|
|
5402
|
+
* Typically contains user navigation, account switcher, or actions.
|
|
5403
|
+
*
|
|
5404
|
+
* @example
|
|
5405
|
+
* ```tsx
|
|
5406
|
+
* <SidebarFooter>
|
|
5407
|
+
* <SidebarMenu>
|
|
5408
|
+
* <SidebarMenuItem>
|
|
5409
|
+
* <DropdownMenu>
|
|
5410
|
+
* <DropdownMenuTrigger asChild>
|
|
5411
|
+
* <SidebarMenuButton>
|
|
5412
|
+
* <Avatar src="/avatar.jpg" />
|
|
5413
|
+
* <span>shadcn</span>
|
|
5414
|
+
* </SidebarMenuButton>
|
|
5415
|
+
* </DropdownMenuTrigger>
|
|
5416
|
+
* <DropdownMenuContent>...</DropdownMenuContent>
|
|
5417
|
+
* </DropdownMenu>
|
|
5418
|
+
* </SidebarMenuItem>
|
|
5419
|
+
* </SidebarMenu>
|
|
5420
|
+
* </SidebarFooter>
|
|
5421
|
+
* ```
|
|
5422
|
+
*/
|
|
5110
5423
|
declare const SidebarFooter: react.ForwardRefExoticComponent<SidebarFooterProps & react.RefAttributes<HTMLDivElement>>;
|
|
5111
|
-
|
|
5424
|
+
interface SidebarSeparatorProps extends React.HTMLAttributes<HTMLHRElement> {
|
|
5425
|
+
/** Additional CSS classes. */
|
|
5426
|
+
className?: string;
|
|
5427
|
+
}
|
|
5428
|
+
/**
|
|
5429
|
+
* SidebarSeparator — a horizontal divider within the sidebar.
|
|
5430
|
+
*
|
|
5431
|
+
* @example
|
|
5432
|
+
* ```tsx
|
|
5433
|
+
* <SidebarContent>
|
|
5434
|
+
* <SidebarGroup>...</SidebarGroup>
|
|
5435
|
+
* <SidebarSeparator />
|
|
5436
|
+
* <SidebarGroup>...</SidebarGroup>
|
|
5437
|
+
* </SidebarContent>
|
|
5438
|
+
* ```
|
|
5439
|
+
*/
|
|
5440
|
+
declare const SidebarSeparator: react.ForwardRefExoticComponent<SidebarSeparatorProps & react.RefAttributes<HTMLHRElement>>;
|
|
5441
|
+
interface SidebarInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
5442
|
+
/** Additional CSS classes. */
|
|
5443
|
+
className?: string;
|
|
5444
|
+
}
|
|
5445
|
+
/**
|
|
5446
|
+
* SidebarInput — a search/filter input styled for the sidebar.
|
|
5447
|
+
*
|
|
5448
|
+
* @example
|
|
5449
|
+
* ```tsx
|
|
5450
|
+
* <SidebarHeader>
|
|
5451
|
+
* <SidebarInput placeholder="Search the docs..." />
|
|
5452
|
+
* </SidebarHeader>
|
|
5453
|
+
* ```
|
|
5454
|
+
*/
|
|
5455
|
+
declare const SidebarInput: react.ForwardRefExoticComponent<SidebarInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
5456
|
+
interface SidebarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5457
|
+
/** Additional CSS classes. */
|
|
5458
|
+
className?: string;
|
|
5459
|
+
/** Group content. */
|
|
5460
|
+
children?: ReactNode;
|
|
5461
|
+
}
|
|
5462
|
+
/**
|
|
5463
|
+
* SidebarGroup — a logical section within the sidebar content.
|
|
5464
|
+
*
|
|
5465
|
+
* Groups contain a label, optional action, and content (menu items).
|
|
5466
|
+
*
|
|
5467
|
+
* @example
|
|
5468
|
+
* ```tsx
|
|
5469
|
+
* <SidebarGroup>
|
|
5470
|
+
* <SidebarGroupLabel>Platform</SidebarGroupLabel>
|
|
5471
|
+
* <SidebarGroupContent>
|
|
5472
|
+
* <SidebarMenu>
|
|
5473
|
+
* <SidebarMenuItem>
|
|
5474
|
+
* <SidebarMenuButton>Dashboard</SidebarMenuButton>
|
|
5475
|
+
* </SidebarMenuItem>
|
|
5476
|
+
* </SidebarMenu>
|
|
5477
|
+
* </SidebarGroupContent>
|
|
5478
|
+
* </SidebarGroup>
|
|
5479
|
+
* ```
|
|
5480
|
+
*/
|
|
5481
|
+
declare const SidebarGroup: react.ForwardRefExoticComponent<SidebarGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
5482
|
+
interface SidebarGroupLabelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5483
|
+
/**
|
|
5484
|
+
* Render as a different element via `asChild` pattern.
|
|
5485
|
+
* When true, merges props onto the single child element.
|
|
5486
|
+
* @default false
|
|
5487
|
+
*/
|
|
5488
|
+
asChild?: boolean;
|
|
5489
|
+
/** Additional CSS classes. */
|
|
5490
|
+
className?: string;
|
|
5491
|
+
/** Label content. */
|
|
5492
|
+
children?: ReactNode;
|
|
5493
|
+
}
|
|
5494
|
+
/**
|
|
5495
|
+
* SidebarGroupLabel — the heading for a sidebar group.
|
|
5496
|
+
*
|
|
5497
|
+
* Automatically hides when the sidebar is in icon-only collapsed state.
|
|
5498
|
+
*
|
|
5499
|
+
* @example
|
|
5500
|
+
* ```tsx
|
|
5501
|
+
* <SidebarGroupLabel>Platform</SidebarGroupLabel>
|
|
5502
|
+
*
|
|
5503
|
+
* // With collapsible group (renders as a button):
|
|
5504
|
+
* <Collapsible>
|
|
5505
|
+
* <SidebarGroupLabel asChild>
|
|
5506
|
+
* <CollapsibleTrigger>
|
|
5507
|
+
* Build Your Application
|
|
5508
|
+
* <ChevronDown />
|
|
5509
|
+
* </CollapsibleTrigger>
|
|
5510
|
+
* </SidebarGroupLabel>
|
|
5511
|
+
* <CollapsibleContent>
|
|
5512
|
+
* <SidebarGroupContent>...</SidebarGroupContent>
|
|
5513
|
+
* </CollapsibleContent>
|
|
5514
|
+
* </Collapsible>
|
|
5515
|
+
* ```
|
|
5516
|
+
*/
|
|
5517
|
+
declare const SidebarGroupLabel: react.ForwardRefExoticComponent<SidebarGroupLabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
5518
|
+
interface SidebarGroupActionProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5519
|
+
/** Additional CSS classes. */
|
|
5520
|
+
className?: string;
|
|
5521
|
+
/** Action content (typically an icon). */
|
|
5522
|
+
children?: ReactNode;
|
|
5523
|
+
}
|
|
5524
|
+
/**
|
|
5525
|
+
* SidebarGroupAction — an action button in the group header row.
|
|
5526
|
+
*
|
|
5527
|
+
* Positioned absolutely to the right of the group label. Useful for
|
|
5528
|
+
* "add" buttons, expand/collapse toggles, etc.
|
|
5529
|
+
*
|
|
5530
|
+
* @example
|
|
5531
|
+
* ```tsx
|
|
5532
|
+
* <SidebarGroup>
|
|
5533
|
+
* <SidebarGroupLabel>Projects</SidebarGroupLabel>
|
|
5534
|
+
* <SidebarGroupAction title="Add Project">
|
|
5535
|
+
* <PlusIcon className="size-4" />
|
|
5536
|
+
* </SidebarGroupAction>
|
|
5537
|
+
* <SidebarGroupContent>...</SidebarGroupContent>
|
|
5538
|
+
* </SidebarGroup>
|
|
5539
|
+
* ```
|
|
5540
|
+
*/
|
|
5541
|
+
declare const SidebarGroupAction: react.ForwardRefExoticComponent<SidebarGroupActionProps & react.RefAttributes<HTMLButtonElement>>;
|
|
5542
|
+
interface SidebarGroupContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5543
|
+
/** Additional CSS classes. */
|
|
5544
|
+
className?: string;
|
|
5545
|
+
/** Content. */
|
|
5546
|
+
children?: ReactNode;
|
|
5547
|
+
}
|
|
5548
|
+
/**
|
|
5549
|
+
* SidebarGroupContent — wrapper for the items inside a group.
|
|
5550
|
+
*
|
|
5551
|
+
* @example
|
|
5552
|
+
* ```tsx
|
|
5553
|
+
* <SidebarGroupContent>
|
|
5554
|
+
* <SidebarMenu>...</SidebarMenu>
|
|
5555
|
+
* </SidebarGroupContent>
|
|
5556
|
+
* ```
|
|
5557
|
+
*/
|
|
5558
|
+
declare const SidebarGroupContent: react.ForwardRefExoticComponent<SidebarGroupContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
5559
|
+
interface SidebarMenuProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
5560
|
+
/** Additional CSS classes. */
|
|
5561
|
+
className?: string;
|
|
5562
|
+
/** Menu items. */
|
|
5563
|
+
children?: ReactNode;
|
|
5564
|
+
}
|
|
5565
|
+
/**
|
|
5566
|
+
* SidebarMenu — a navigation list container (`<ul>`).
|
|
5567
|
+
*
|
|
5568
|
+
* @example
|
|
5569
|
+
* ```tsx
|
|
5570
|
+
* <SidebarMenu>
|
|
5571
|
+
* <SidebarMenuItem>...</SidebarMenuItem>
|
|
5572
|
+
* <SidebarMenuItem>...</SidebarMenuItem>
|
|
5573
|
+
* </SidebarMenu>
|
|
5574
|
+
* ```
|
|
5575
|
+
*/
|
|
5576
|
+
declare const SidebarMenu: react.ForwardRefExoticComponent<SidebarMenuProps & react.RefAttributes<HTMLUListElement>>;
|
|
5577
|
+
interface SidebarMenuItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
5578
|
+
/** Additional CSS classes. */
|
|
5579
|
+
className?: string;
|
|
5580
|
+
/** Item content. */
|
|
5581
|
+
children?: ReactNode;
|
|
5582
|
+
}
|
|
5583
|
+
/**
|
|
5584
|
+
* SidebarMenuItem — a single item wrapper (`<li>`) inside a SidebarMenu.
|
|
5585
|
+
*
|
|
5586
|
+
* @example
|
|
5587
|
+
* ```tsx
|
|
5588
|
+
* <SidebarMenuItem>
|
|
5589
|
+
* <SidebarMenuButton>
|
|
5590
|
+
* <HomeIcon />
|
|
5591
|
+
* <span>Dashboard</span>
|
|
5592
|
+
* </SidebarMenuButton>
|
|
5593
|
+
* </SidebarMenuItem>
|
|
5594
|
+
* ```
|
|
5595
|
+
*/
|
|
5596
|
+
declare const SidebarMenuItem: react.ForwardRefExoticComponent<SidebarMenuItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
5597
|
+
type SidebarMenuButtonSize = "sm" | "default" | "lg";
|
|
5598
|
+
type SidebarMenuButtonVariant = "default" | "outline";
|
|
5599
|
+
interface SidebarMenuButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5600
|
+
/**
|
|
5601
|
+
* Whether this item is the currently active page.
|
|
5602
|
+
* @default false
|
|
5603
|
+
*/
|
|
5604
|
+
isActive?: boolean;
|
|
5605
|
+
/**
|
|
5606
|
+
* Size of the menu button.
|
|
5607
|
+
* @default "default"
|
|
5608
|
+
*/
|
|
5609
|
+
size?: SidebarMenuButtonSize;
|
|
5610
|
+
/**
|
|
5611
|
+
* Visual variant.
|
|
5612
|
+
* @default "default"
|
|
5613
|
+
*/
|
|
5614
|
+
variant?: SidebarMenuButtonVariant;
|
|
5615
|
+
/**
|
|
5616
|
+
* Tooltip content shown when sidebar is collapsed to icon-only mode.
|
|
5617
|
+
* Can be a string or ReactNode. If not provided, no tooltip is shown.
|
|
5618
|
+
*/
|
|
5619
|
+
tooltip?: string | ReactNode;
|
|
5620
|
+
/**
|
|
5621
|
+
* Render as a child element (e.g., <a> or framework Link).
|
|
5622
|
+
* When true, the component does NOT render its own <button>.
|
|
5623
|
+
* Instead it renders a <span> wrapper. Use this with DropdownMenuTrigger
|
|
5624
|
+
* or similar Radix "asChild" patterns.
|
|
5625
|
+
* @default false
|
|
5626
|
+
*/
|
|
5627
|
+
asChild?: boolean;
|
|
5628
|
+
/** Additional CSS classes. */
|
|
5629
|
+
className?: string;
|
|
5630
|
+
/** Button content. */
|
|
5631
|
+
children?: ReactNode;
|
|
5632
|
+
}
|
|
5633
|
+
/**
|
|
5634
|
+
* SidebarMenuButton — the clickable navigation element inside a menu item.
|
|
5635
|
+
*
|
|
5636
|
+
* Supports icons, labels, active state, tooltip on icon-collapse, and
|
|
5637
|
+
* multiple sizes and variants.
|
|
5638
|
+
*
|
|
5639
|
+
* @example
|
|
5640
|
+
* ```tsx
|
|
5641
|
+
* // Basic
|
|
5642
|
+
* <SidebarMenuButton tooltip="Dashboard">
|
|
5643
|
+
* <HomeIcon />
|
|
5644
|
+
* <span>Dashboard</span>
|
|
5645
|
+
* </SidebarMenuButton>
|
|
5646
|
+
*
|
|
5647
|
+
* // Active
|
|
5648
|
+
* <SidebarMenuButton isActive tooltip="Settings">
|
|
5649
|
+
* <SettingsIcon />
|
|
5650
|
+
* <span>Settings</span>
|
|
5651
|
+
* </SidebarMenuButton>
|
|
5652
|
+
*
|
|
5653
|
+
* // As link
|
|
5654
|
+
* <SidebarMenuButton asChild tooltip="Docs">
|
|
5655
|
+
* <a href="/docs">
|
|
5656
|
+
* <BookIcon />
|
|
5657
|
+
* <span>Documentation</span>
|
|
5658
|
+
* </a>
|
|
5659
|
+
* </SidebarMenuButton>
|
|
5660
|
+
*
|
|
5661
|
+
* // Large size (for header/footer team/user switcher)
|
|
5662
|
+
* <SidebarMenuButton size="lg" tooltip="Acme Inc">
|
|
5663
|
+
* <Logo />
|
|
5664
|
+
* <div className="flex flex-col">
|
|
5665
|
+
* <span className="font-semibold">Acme Inc</span>
|
|
5666
|
+
* <span className="text-xs">Enterprise</span>
|
|
5667
|
+
* </div>
|
|
5668
|
+
* <ChevronsUpDown className="ml-auto" />
|
|
5669
|
+
* </SidebarMenuButton>
|
|
5670
|
+
* ```
|
|
5671
|
+
*/
|
|
5672
|
+
declare const SidebarMenuButton: react.ForwardRefExoticComponent<SidebarMenuButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
5673
|
+
interface SidebarMenuActionProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5674
|
+
/**
|
|
5675
|
+
* Whether to always show the action, or only on hover.
|
|
5676
|
+
* @default false
|
|
5677
|
+
*/
|
|
5678
|
+
showOnHover?: boolean;
|
|
5679
|
+
/** Additional CSS classes. */
|
|
5680
|
+
className?: string;
|
|
5681
|
+
/** Action content (typically an icon). */
|
|
5682
|
+
children?: ReactNode;
|
|
5683
|
+
}
|
|
5684
|
+
/**
|
|
5685
|
+
* SidebarMenuAction — a trailing action button within a menu item.
|
|
5686
|
+
*
|
|
5687
|
+
* Useful for "more options" menus, expand chevrons, or quick actions.
|
|
5688
|
+
*
|
|
5689
|
+
* @example
|
|
5690
|
+
* ```tsx
|
|
5691
|
+
* <SidebarMenuItem>
|
|
5692
|
+
* <SidebarMenuButton>
|
|
5693
|
+
* <FolderIcon />
|
|
5694
|
+
* <span>Projects</span>
|
|
5695
|
+
* </SidebarMenuButton>
|
|
5696
|
+
* <SidebarMenuAction showOnHover>
|
|
5697
|
+
* <MoreHorizontalIcon className="size-4" />
|
|
5698
|
+
* </SidebarMenuAction>
|
|
5699
|
+
* </SidebarMenuItem>
|
|
5700
|
+
* ```
|
|
5701
|
+
*/
|
|
5702
|
+
declare const SidebarMenuAction: react.ForwardRefExoticComponent<SidebarMenuActionProps & react.RefAttributes<HTMLButtonElement>>;
|
|
5703
|
+
interface SidebarMenuBadgeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5704
|
+
/** Additional CSS classes. */
|
|
5705
|
+
className?: string;
|
|
5706
|
+
/** Badge content (text, count, icon). */
|
|
5707
|
+
children?: ReactNode;
|
|
5708
|
+
}
|
|
5709
|
+
/**
|
|
5710
|
+
* SidebarMenuBadge — a badge/count indicator within a menu item.
|
|
5711
|
+
*
|
|
5712
|
+
* Positioned to the right of the menu button label. Automatically
|
|
5713
|
+
* hidden when the sidebar is collapsed to icon-only mode.
|
|
5714
|
+
*
|
|
5715
|
+
* @example
|
|
5716
|
+
* ```tsx
|
|
5717
|
+
* <SidebarMenuItem>
|
|
5718
|
+
* <SidebarMenuButton>
|
|
5719
|
+
* <InboxIcon />
|
|
5720
|
+
* <span>Inbox</span>
|
|
5721
|
+
* </SidebarMenuButton>
|
|
5722
|
+
* <SidebarMenuBadge>24</SidebarMenuBadge>
|
|
5723
|
+
* </SidebarMenuItem>
|
|
5724
|
+
* ```
|
|
5725
|
+
*/
|
|
5726
|
+
declare const SidebarMenuBadge: react.ForwardRefExoticComponent<SidebarMenuBadgeProps & react.RefAttributes<HTMLDivElement>>;
|
|
5727
|
+
interface SidebarMenuSkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5728
|
+
/**
|
|
5729
|
+
* Whether to show the icon placeholder.
|
|
5730
|
+
* @default false
|
|
5731
|
+
*/
|
|
5732
|
+
showIcon?: boolean;
|
|
5733
|
+
/** Additional CSS classes. */
|
|
5734
|
+
className?: string;
|
|
5735
|
+
}
|
|
5736
|
+
/**
|
|
5737
|
+
* SidebarMenuSkeleton — a loading placeholder for a menu item.
|
|
5738
|
+
*
|
|
5739
|
+
* @example
|
|
5740
|
+
* ```tsx
|
|
5741
|
+
* <SidebarMenu>
|
|
5742
|
+
* {Array.from({ length: 5 }).map((_, i) => (
|
|
5743
|
+
* <SidebarMenuItem key={i}>
|
|
5744
|
+
* <SidebarMenuSkeleton showIcon />
|
|
5745
|
+
* </SidebarMenuItem>
|
|
5746
|
+
* ))}
|
|
5747
|
+
* </SidebarMenu>
|
|
5748
|
+
* ```
|
|
5749
|
+
*/
|
|
5750
|
+
declare const SidebarMenuSkeleton: react.ForwardRefExoticComponent<SidebarMenuSkeletonProps & react.RefAttributes<HTMLDivElement>>;
|
|
5751
|
+
interface SidebarMenuSubProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
5752
|
+
/** Additional CSS classes. */
|
|
5753
|
+
className?: string;
|
|
5754
|
+
/** Sub-menu items. */
|
|
5755
|
+
children?: ReactNode;
|
|
5756
|
+
}
|
|
5757
|
+
/**
|
|
5758
|
+
* SidebarMenuSub — a nested sub-menu list within a menu item.
|
|
5759
|
+
*
|
|
5760
|
+
* Renders as an indented `<ul>` with a left border to show hierarchy.
|
|
5761
|
+
*
|
|
5762
|
+
* @example
|
|
5763
|
+
* ```tsx
|
|
5764
|
+
* <SidebarMenuItem>
|
|
5765
|
+
* <SidebarMenuButton>
|
|
5766
|
+
* <PlaygroundIcon />
|
|
5767
|
+
* <span>Playground</span>
|
|
5768
|
+
* </SidebarMenuButton>
|
|
5769
|
+
* <SidebarMenuSub>
|
|
5770
|
+
* <SidebarMenuSubItem>
|
|
5771
|
+
* <SidebarMenuSubButton>History</SidebarMenuSubButton>
|
|
5772
|
+
* </SidebarMenuSubItem>
|
|
5773
|
+
* <SidebarMenuSubItem>
|
|
5774
|
+
* <SidebarMenuSubButton>Starred</SidebarMenuSubButton>
|
|
5775
|
+
* </SidebarMenuSubItem>
|
|
5776
|
+
* </SidebarMenuSub>
|
|
5777
|
+
* </SidebarMenuItem>
|
|
5778
|
+
* ```
|
|
5779
|
+
*/
|
|
5780
|
+
declare const SidebarMenuSub: react.ForwardRefExoticComponent<SidebarMenuSubProps & react.RefAttributes<HTMLUListElement>>;
|
|
5781
|
+
interface SidebarMenuSubItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
5782
|
+
/** Additional CSS classes. */
|
|
5783
|
+
className?: string;
|
|
5784
|
+
/** Sub-item content. */
|
|
5785
|
+
children?: ReactNode;
|
|
5786
|
+
}
|
|
5787
|
+
/**
|
|
5788
|
+
* SidebarMenuSubItem — wrapper for a single sub-menu item (`<li>`).
|
|
5789
|
+
*
|
|
5790
|
+
* @example
|
|
5791
|
+
* ```tsx
|
|
5792
|
+
* <SidebarMenuSubItem>
|
|
5793
|
+
* <SidebarMenuSubButton href="/history">History</SidebarMenuSubButton>
|
|
5794
|
+
* </SidebarMenuSubItem>
|
|
5795
|
+
* ```
|
|
5796
|
+
*/
|
|
5797
|
+
declare const SidebarMenuSubItem: react.ForwardRefExoticComponent<SidebarMenuSubItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
5798
|
+
interface SidebarMenuSubButtonProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
5799
|
+
/**
|
|
5800
|
+
* Whether this sub-item is the currently active page.
|
|
5801
|
+
* @default false
|
|
5802
|
+
*/
|
|
5803
|
+
isActive?: boolean;
|
|
5804
|
+
/**
|
|
5805
|
+
* Size of the sub-button.
|
|
5806
|
+
* @default "md"
|
|
5807
|
+
*/
|
|
5808
|
+
size?: "sm" | "md";
|
|
5809
|
+
/** Additional CSS classes. */
|
|
5810
|
+
className?: string;
|
|
5811
|
+
/** Content. */
|
|
5812
|
+
children?: ReactNode;
|
|
5813
|
+
}
|
|
5814
|
+
/**
|
|
5815
|
+
* SidebarMenuSubButton — a clickable sub-navigation item.
|
|
5816
|
+
*
|
|
5817
|
+
* Renders as an `<a>` element. For framework links (Next.js Link, etc.),
|
|
5818
|
+
* wrap or compose via `asChild`-like patterns.
|
|
5819
|
+
*
|
|
5820
|
+
* @example
|
|
5821
|
+
* ```tsx
|
|
5822
|
+
* <SidebarMenuSubButton href="/history" isActive>
|
|
5823
|
+
* History
|
|
5824
|
+
* </SidebarMenuSubButton>
|
|
5825
|
+
* ```
|
|
5826
|
+
*/
|
|
5827
|
+
declare const SidebarMenuSubButton: react.ForwardRefExoticComponent<SidebarMenuSubButtonProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
5828
|
+
/**
|
|
5829
|
+
* @deprecated Use `SidebarGroup` instead.
|
|
5830
|
+
*/
|
|
5831
|
+
declare const SidebarSection: react.ForwardRefExoticComponent<SidebarGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
5832
|
+
type SidebarSectionProps = SidebarGroupProps;
|
|
5833
|
+
/**
|
|
5834
|
+
* @deprecated Use `SidebarMenuButton` instead.
|
|
5835
|
+
*/
|
|
5836
|
+
interface SidebarItemProps {
|
|
5837
|
+
icon?: ReactNode;
|
|
5838
|
+
label?: ReactNode;
|
|
5839
|
+
active?: boolean;
|
|
5840
|
+
disabled?: boolean;
|
|
5841
|
+
badge?: ReactNode;
|
|
5842
|
+
href?: string;
|
|
5843
|
+
className?: string;
|
|
5844
|
+
children?: ReactNode;
|
|
5845
|
+
}
|
|
5846
|
+
/**
|
|
5847
|
+
* @deprecated Use `<SidebarMenuItem>` + `<SidebarMenuButton>` instead.
|
|
5848
|
+
*
|
|
5849
|
+
* Legacy SidebarItem that wraps the new API for backward compatibility.
|
|
5850
|
+
*/
|
|
5112
5851
|
declare const SidebarItem: react.ForwardRefExoticComponent<SidebarItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
5113
5852
|
interface SidebarMobileOverlayProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5114
5853
|
className?: string;
|
|
5115
5854
|
}
|
|
5116
|
-
|
|
5855
|
+
/**
|
|
5856
|
+
* @deprecated The new `<Sidebar>` handles mobile overlay internally.
|
|
5857
|
+
* This component is kept for backward compatibility but is now a no-op.
|
|
5858
|
+
*/
|
|
5859
|
+
declare function SidebarMobileOverlay(_props: SidebarMobileOverlayProps): null;
|
|
5117
5860
|
declare namespace SidebarMobileOverlay {
|
|
5118
5861
|
var displayName: string;
|
|
5119
5862
|
}
|
|
@@ -7135,4 +7878,4 @@ interface VisuallyHiddenProps extends ComponentPropsWithoutRef<typeof VisuallyHi
|
|
|
7135
7878
|
}
|
|
7136
7879
|
declare const VisuallyHidden: react.ForwardRefExoticComponent<VisuallyHiddenProps & react.RefAttributes<HTMLSpanElement>>;
|
|
7137
7880
|
|
|
7138
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionMultipleProps, type AccordionProps, type AccordionSingleProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, Alert, 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, type AlertVariant, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerPosition, type BannerProps, type BannerVariant, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbNav, type BreadcrumbNavItem, type BreadcrumbNavProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarMode, type CalendarProps, Callout, type CalloutProps, type CalloutVariant, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, type CardVariant, Carousel, type CarouselProps, ChartContainer, type ChartContainerProps, ChartTooltipContent, type ChartTooltipContentProps, Checkbox, CheckboxGroup, type CheckboxGroupOrientation, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, CodeBlock, type CodeBlockProps, InlineCode as CodeInline, type InlineCodeProps as CodeInlineProps, type CodeVariant, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, ColorPicker, type ColorPickerProps, type ColumnVisibility, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, type ComboboxSize, type ComboboxVariant, Command, type CommandGroup, type CommandItem, type CommandProps, CommandTrigger, type CommandTriggerProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ContextMenu, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, type ContextMenuGroupProps, ContextMenuItem, type ContextMenuItemProps, type ContextMenuItemVariant, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuShortcut, type ContextMenuShortcutProps, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, CopyButton, type CopyButtonProps, type CopyButtonSize, type CopyButtonVariant, DataList, DataListDetail, type DataListDetailProps, type DataListItem, type DataListOrientation, type DataListProps, type DataListSize, DataListTerm, type DataListTermProps, DataTable, type DataTableColumnMeta, type DataTableFacetedFilter, type DataTableFilter, type DataTableProps, DataTableToolbar, type DataTableToolbarProps, DatePicker, type DatePickerMode, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHandle, type DrawerHandleProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, type DrawerSize, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemVariant, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, type EmptyStateProps, FileUpload, type FileUploadItem, type FileUploadProps, type FileUploadSize, FormField, type FormFieldControlProps, type FormFieldOrientation, type FormFieldProps, type FormFieldSize, type GalleryImage, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, ImageGallery, type ImageGalleryProps, InfiniteScroll, type InfiniteScrollProps, Input, InputGroup, type InputGroupProps, type InputGroupSize, type InputGroupVariant, type InputProps, type InputSize, type InputVariant, Kbd, type KbdProps, type KbdSize, Label, type LabelProps, type LabelSize, Markdown, type MarkdownProps, Menubar, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, type MenubarItemVariant, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, NavigationMenu, NavigationMenuCardLink, type NavigationMenuCardLinkProps, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, NumberInput, type NumberInputProps, type NumberInputSize, type NumberInputVariant, Pagination, type PaginationProps, type PaginationSize, type PaginationVariant, PinInput, type PinInputProps, type PinInputSize, type PinInputType, type PinInputVariant, Popover, PopoverArrow, type PopoverArrowProps, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, type ProgressSize, type ProgressVariant, RadioCard, type RadioCardProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioOrientation, type RadioSize, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaProps, type ScrollAreaType, ScrollBar, type ScrollBarOrientation, type ScrollBarProps, type ScrollBarSize, SearchInput, type SearchInputProps, type SearchInputSize, type SearchInputVariant, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectVariant, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, type SheetSide, type SheetSize, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, SidebarMobileOverlay, type SidebarMobileOverlayProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarSection, type SidebarSectionProps, SidebarToggle, type SidebarToggleProps, Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonRect, type SkeletonRectProps, type SkeletonSize, SkeletonText, type SkeletonTextProps, type SkeletonTextSize, Slider, type SliderMark, type SliderOrientation, type SliderProps, type SliderSize, type SliderVariant, type SonnerPosition, SonnerToaster, type SonnerToasterProps, Spinner, type SpinnerProps, type SpinnerSize, type SpinnerVariant, Stat, type StatProps, type StatTrend, Step, type StepProps, type StepStatus, Steps, type StepsOrientation, type StepsProps, type StepsVariant, Switch, type SwitchLabelPosition, type SwitchProps, type SwitchSize, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, type TableDensity, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, type TableSortDirection, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, type TagSize, type TagVariant, Textarea, type TextareaProps, type TextareaSize, type TextareaVariant, ThemeToggle, type ThemeToggleMode, type ThemeToggleProps, type ThemeToggleSize, type ThemeToggleVariant, type ThemeValue, Timeline, type TimelineAlign, TimelineItem, type TimelineItemData, type TimelineItemProps, type TimelineItemStatus, type TimelineProps, type TimelineSize, type TimelineVariant, type ToastAPI, type ToastAction, type ToastData, ToastItem, type ToastItemProps, type ToastOptions, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupOrientation, type ToggleGroupProps, type ToggleGroupSingleProps, type ToggleGroupSize, type ToggleGroupVariant, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipAlign, type TooltipProps, TooltipProvider, type TooltipProviderProps, type TooltipSide, type TreeCheckedState, type TreeNode, TreeView, type TreeViewProps, type UseDataTableOptions, type UseDataTableReturn, VideoPlayer, type VideoPlayerProps, type ViewMode, VirtualList, type VirtualListProps, VisuallyHidden, type VisuallyHiddenProps, accordionRootVariants, accordionTriggerVariants, alertVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calendarDayVariants, calloutVariants, cardVariants, chartColors, checkboxVariants, codeBlockVariants, comboboxTriggerVariants, copyButtonVariants, dataListVariants, dialogContentVariants, drawerContentVariants, fileUploadZoneVariants, inlineCodeVariants, inputVariants, kbdVariants, labelVariants, numberInputVariants, paginationButtonVariants, pinCellVariants, progressIndicatorVariants, progressTrackVariants, radioCardVariants, radioGroupVariants, radioIndicatorVariants, scrollbarThumbVariants, scrollbarVariants, searchInputVariants, selectTriggerVariants, sheetContentVariants, skeletonVariants, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants, spinnerVariants, statVariants, switchThumbVariants, switchTrackVariants, tableRootVariants, tabsListVariants, tabsTriggerVariants, tagVariants, textareaVariants, toastVariants, toggleGroupItemVariants, toggleGroupVariants, toggleVariants, useCarouselContext, useCheckboxGroupContext, useCollapsibleContext, useDataTable, useSidebarContext, useToast, useToggleGroupContext };
|
|
7881
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionMultipleProps, type AccordionProps, type AccordionSingleProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, Alert, 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, type AlertVariant, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerPosition, type BannerProps, type BannerVariant, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbNav, type BreadcrumbNavItem, type BreadcrumbNavProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarMode, type CalendarProps, Callout, type CalloutProps, type CalloutVariant, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, type CardVariant, Carousel, type CarouselProps, ChartContainer, type ChartContainerProps, ChartTooltipContent, type ChartTooltipContentProps, Checkbox, CheckboxGroup, type CheckboxGroupOrientation, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, CodeBlock, type CodeBlockProps, InlineCode as CodeInline, type InlineCodeProps as CodeInlineProps, type CodeVariant, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, ColorPicker, type ColorPickerProps, type ColumnVisibility, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, type ComboboxSize, type ComboboxVariant, Command, type CommandGroup, type CommandItem, type CommandProps, CommandTrigger, type CommandTriggerProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ContextMenu, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, type ContextMenuGroupProps, ContextMenuItem, type ContextMenuItemProps, type ContextMenuItemVariant, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuShortcut, type ContextMenuShortcutProps, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, CopyButton, type CopyButtonProps, type CopyButtonSize, type CopyButtonVariant, DataList, DataListDetail, type DataListDetailProps, type DataListItem, type DataListOrientation, type DataListProps, type DataListSize, DataListTerm, type DataListTermProps, DataTable, type DataTableColumnMeta, type DataTableFacetedFilter, type DataTableFilter, type DataTableProps, DataTableToolbar, type DataTableToolbarProps, DatePicker, type DatePickerMode, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHandle, type DrawerHandleProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, type DrawerSize, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemVariant, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, type EmptyStateProps, FileUpload, type FileUploadItem, type FileUploadProps, type FileUploadSize, FormField, type FormFieldControlProps, type FormFieldOrientation, type FormFieldProps, type FormFieldSize, type GalleryImage, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, ImageGallery, type ImageGalleryProps, InfiniteScroll, type InfiniteScrollProps, Input, InputGroup, type InputGroupProps, type InputGroupSize, type InputGroupVariant, type InputProps, type InputSize, type InputVariant, Kbd, type KbdProps, type KbdSize, Label, type LabelProps, type LabelSize, Markdown, type MarkdownProps, Menubar, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, type MenubarItemVariant, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, NavigationMenu, NavigationMenuCardLink, type NavigationMenuCardLinkProps, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, NumberInput, type NumberInputProps, type NumberInputSize, type NumberInputVariant, Pagination, type PaginationProps, type PaginationSize, type PaginationVariant, PinInput, type PinInputProps, type PinInputSize, type PinInputType, type PinInputVariant, Popover, PopoverArrow, type PopoverArrowProps, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, type ProgressSize, type ProgressVariant, RadioCard, type RadioCardProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioOrientation, type RadioSize, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaProps, type ScrollAreaType, ScrollBar, type ScrollBarOrientation, type ScrollBarProps, type ScrollBarSize, SearchInput, type SearchInputProps, type SearchInputSize, type SearchInputVariant, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectVariant, Separator, type SeparatorOrientation, type SeparatorProps, type SeparatorSpacing, type SeparatorVariant, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, type SheetSide, type SheetSize, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, Sidebar, type SidebarCollapsible, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupContentProps, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInput, type SidebarInputProps, SidebarInset, type SidebarInsetProps, SidebarItem, type SidebarItemProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, type SidebarMenuBadgeProps, SidebarMenuButton, type SidebarMenuButtonProps, type SidebarMenuButtonSize, type SidebarMenuButtonVariant, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, SidebarMobileOverlay, type SidebarMobileOverlayProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarRailProps, SidebarSection, type SidebarSectionProps, SidebarSeparator, type SidebarSeparatorProps, type SidebarSide, SidebarToggle, type SidebarToggleProps, SidebarTrigger, type SidebarTriggerProps, type SidebarVariant, Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonRect, type SkeletonRectProps, type SkeletonSize, SkeletonText, type SkeletonTextProps, type SkeletonTextSize, Slider, type SliderMark, type SliderOrientation, type SliderProps, type SliderSize, type SliderVariant, type SonnerPosition, SonnerToaster, type SonnerToasterProps, Spinner, type SpinnerProps, type SpinnerSize, type SpinnerVariant, Stat, type StatProps, type StatTrend, Step, type StepProps, type StepStatus, Steps, type StepsOrientation, type StepsProps, type StepsVariant, Switch, type SwitchLabelPosition, type SwitchProps, type SwitchSize, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, type TableDensity, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, type TableSortDirection, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, type TagSize, type TagVariant, Textarea, type TextareaProps, type TextareaSize, type TextareaVariant, ThemeToggle, type ThemeToggleMode, type ThemeToggleProps, type ThemeToggleSize, type ThemeToggleVariant, type ThemeValue, Timeline, type TimelineAlign, TimelineItem, type TimelineItemData, type TimelineItemProps, type TimelineItemStatus, type TimelineProps, type TimelineSize, type TimelineVariant, type ToastAPI, type ToastAction, type ToastData, ToastItem, type ToastItemProps, type ToastOptions, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupOrientation, type ToggleGroupProps, type ToggleGroupSingleProps, type ToggleGroupSize, type ToggleGroupVariant, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipAlign, type TooltipProps, TooltipProvider, type TooltipProviderProps, type TooltipSide, type TreeCheckedState, type TreeNode, TreeView, type TreeViewProps, type UseDataTableOptions, type UseDataTableReturn, VideoPlayer, type VideoPlayerProps, type ViewMode, VirtualList, type VirtualListProps, VisuallyHidden, type VisuallyHiddenProps, accordionRootVariants, accordionTriggerVariants, alertVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calendarDayVariants, calloutVariants, cardVariants, chartColors, checkboxVariants, codeBlockVariants, comboboxTriggerVariants, copyButtonVariants, dataListVariants, dialogContentVariants, drawerContentVariants, fileUploadZoneVariants, inlineCodeVariants, inputVariants, kbdVariants, labelVariants, numberInputVariants, paginationButtonVariants, pinCellVariants, progressIndicatorVariants, progressTrackVariants, radioCardVariants, radioGroupVariants, radioIndicatorVariants, scrollbarThumbVariants, scrollbarVariants, searchInputVariants, selectTriggerVariants, separatorVariants, sheetContentVariants, skeletonVariants, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants, spinnerVariants, statVariants, switchThumbVariants, switchTrackVariants, tableRootVariants, tabsListVariants, tabsTriggerVariants, tagVariants, textareaVariants, toastVariants, toggleGroupItemVariants, toggleGroupVariants, toggleVariants, useCarouselContext, useCheckboxGroupContext, useCollapsibleContext, useDataTable, useSidebar, useSidebarContext, useToast, useToggleGroupContext };
|