@pactor-app/ui 1.1.0 → 1.2.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/README.md +25 -31
- package/dist/{chunk-GV5R6TUT.js → chunk-22TEN3ER.js} +169 -38
- package/dist/{chunk-GL7IO22L.js → chunk-2LYMCWEJ.js} +65 -1
- package/dist/chunk-HJPHJKVA.js +671 -0
- package/dist/{chunk-BZSRLTQQ.js → chunk-L45CSL6I.js} +5 -5
- package/dist/{chunk-6B5ZX7L3.js → chunk-LMEJ242M.js} +170 -570
- package/dist/{chunk-BVHAP22U.js → chunk-Q5NUGUJG.js} +131 -195
- package/dist/components/index.cjs +44 -37
- package/dist/components/index.d.cts +8 -8
- package/dist/components/index.d.ts +8 -8
- package/dist/components/index.js +16 -16
- package/dist/index.cjs +273 -148
- package/dist/index.d.cts +3 -36
- package/dist/index.d.ts +3 -36
- package/dist/index.js +36 -45
- package/dist/interaction/index.cjs +7 -7
- package/dist/interaction/index.d.cts +13 -16
- package/dist/interaction/index.d.ts +13 -16
- package/dist/interaction/index.js +5 -5
- package/dist/layout/index.cjs +642 -51
- package/dist/layout/index.d.cts +97 -19
- package/dist/layout/index.d.ts +97 -19
- package/dist/layout/index.js +17 -15
- package/dist/ui/index.js +7 -7
- package/package.json +5 -5
- package/dist/chunk-6JNCDPGS.js +0 -257
|
@@ -101,10 +101,10 @@ __export(components_exports, {
|
|
|
101
101
|
ToggleGroup: () => ToggleGroup2,
|
|
102
102
|
Tooltip: () => Tooltip3,
|
|
103
103
|
Typography: () => Typography2,
|
|
104
|
-
|
|
104
|
+
builtinComponents: () => builtinComponents,
|
|
105
|
+
createComponentRegistry: () => createComponentRegistry,
|
|
105
106
|
normalizeIconName: () => normalizeIconName,
|
|
106
|
-
|
|
107
|
-
shadcnComponents: () => shadcnComponents,
|
|
107
|
+
registerBuiltinComponents: () => registerBuiltinComponents,
|
|
108
108
|
useFormContext: () => useFormContext,
|
|
109
109
|
useSidebarDrawer: () => useSidebarDrawer
|
|
110
110
|
});
|
|
@@ -4217,31 +4217,38 @@ function Sidebar({
|
|
|
4217
4217
|
]
|
|
4218
4218
|
}
|
|
4219
4219
|
),
|
|
4220
|
-
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4220
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
4221
|
+
"main",
|
|
4222
|
+
{
|
|
4223
|
+
"data-slot": "sidebar-content",
|
|
4224
|
+
className: "flex min-w-0 flex-1 flex-col",
|
|
4225
|
+
children: [
|
|
4226
|
+
drawer ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
4227
|
+
"div",
|
|
4228
|
+
{
|
|
4229
|
+
"data-slot": "sidebar-topbar",
|
|
4230
|
+
className: "flex h-14 items-center gap-2 border-b border-sidebar-border bg-sidebar px-3 md:hidden",
|
|
4231
|
+
children: [
|
|
4232
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4233
|
+
"button",
|
|
4234
|
+
{
|
|
4235
|
+
type: "button",
|
|
4236
|
+
"data-slot": "sidebar-menu-trigger",
|
|
4237
|
+
"aria-label": t("pactor.layout.openNavigation"),
|
|
4238
|
+
"aria-expanded": drawerOpen,
|
|
4239
|
+
className: "flex size-8 items-center justify-center rounded-md text-sidebar-foreground/60 transition-colors hover:bg-sidebar-accent hover:text-sidebar-foreground",
|
|
4240
|
+
onClick: () => setDrawerOpen(true),
|
|
4241
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Icon, { name: "menu", size: 18 })
|
|
4242
|
+
}
|
|
4243
|
+
),
|
|
4244
|
+
brandNode
|
|
4245
|
+
]
|
|
4246
|
+
}
|
|
4247
|
+
) : null,
|
|
4248
|
+
children
|
|
4249
|
+
]
|
|
4250
|
+
}
|
|
4251
|
+
)
|
|
4245
4252
|
]
|
|
4246
4253
|
}
|
|
4247
4254
|
)
|
|
@@ -4366,7 +4373,7 @@ function MenuEntry({
|
|
|
4366
4373
|
"flex w-full items-center gap-2 rounded-md text-sm transition-colors",
|
|
4367
4374
|
mode === "horizontal" ? "px-3 py-2" : "px-3 py-2 text-left",
|
|
4368
4375
|
collapsed && "justify-center px-0",
|
|
4369
|
-
selected ? "bg-accent font-medium text-accent-foreground" : "text-muted-foreground hover:bg-accent/50 hover:text-foreground",
|
|
4376
|
+
selected ? "bg-accent font-medium text-accent-foreground" : "cursor-pointer text-muted-foreground hover:bg-accent/50 hover:text-foreground",
|
|
4370
4377
|
item.disabled && "cursor-not-allowed opacity-50 hover:bg-transparent hover:text-muted-foreground"
|
|
4371
4378
|
),
|
|
4372
4379
|
style: mode === "inline" && depth > 0 && !collapsed ? { paddingLeft: 12 + depth * 16 } : void 0,
|
|
@@ -6602,7 +6609,7 @@ function Typography2({
|
|
|
6602
6609
|
}
|
|
6603
6610
|
|
|
6604
6611
|
// src/components/register.ts
|
|
6605
|
-
var
|
|
6612
|
+
var builtinComponents = {
|
|
6606
6613
|
Page,
|
|
6607
6614
|
Grid,
|
|
6608
6615
|
Flex,
|
|
@@ -6682,14 +6689,14 @@ var shadcnComponents = {
|
|
|
6682
6689
|
// 图标(lucide 白名单)
|
|
6683
6690
|
Icon
|
|
6684
6691
|
};
|
|
6685
|
-
function
|
|
6686
|
-
for (const [type, component] of Object.entries(
|
|
6692
|
+
function registerBuiltinComponents(registry) {
|
|
6693
|
+
for (const [type, component] of Object.entries(builtinComponents)) {
|
|
6687
6694
|
registry.register(type, component);
|
|
6688
6695
|
}
|
|
6689
6696
|
}
|
|
6690
|
-
function
|
|
6697
|
+
function createComponentRegistry() {
|
|
6691
6698
|
const registry = new import_core2.Registry("ComponentRegistry");
|
|
6692
|
-
|
|
6699
|
+
registerBuiltinComponents(registry);
|
|
6693
6700
|
return registry;
|
|
6694
6701
|
}
|
|
6695
6702
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -6765,10 +6772,10 @@ function createShadcnComponentRegistry() {
|
|
|
6765
6772
|
ToggleGroup,
|
|
6766
6773
|
Tooltip,
|
|
6767
6774
|
Typography,
|
|
6768
|
-
|
|
6775
|
+
builtinComponents,
|
|
6776
|
+
createComponentRegistry,
|
|
6769
6777
|
normalizeIconName,
|
|
6770
|
-
|
|
6771
|
-
shadcnComponents,
|
|
6778
|
+
registerBuiltinComponents,
|
|
6772
6779
|
useFormContext,
|
|
6773
6780
|
useSidebarDrawer
|
|
6774
6781
|
});
|
|
@@ -1711,11 +1711,11 @@ interface TypographyProps {
|
|
|
1711
1711
|
declare function Typography({ variant, text, className, style, }: TypographyProps): React.JSX.Element;
|
|
1712
1712
|
|
|
1713
1713
|
/**
|
|
1714
|
-
*
|
|
1715
|
-
*
|
|
1714
|
+
* 内置组件表:DSL 类型名 → 组件适配器。
|
|
1715
|
+
* 类型名集合即 spec: builtin-components 的内置组件清单;
|
|
1716
1716
|
* 容器组件(Tabs / Table)经 `useRenderer().renderChildren` 渲染 DSL 子树。
|
|
1717
1717
|
*/
|
|
1718
|
-
declare const
|
|
1718
|
+
declare const builtinComponents: {
|
|
1719
1719
|
readonly Page: typeof Page;
|
|
1720
1720
|
readonly Grid: typeof Grid;
|
|
1721
1721
|
readonly Flex: typeof Flex;
|
|
@@ -1790,10 +1790,10 @@ declare const shadcnComponents: {
|
|
|
1790
1790
|
readonly Chart: typeof Chart;
|
|
1791
1791
|
readonly Icon: typeof Icon;
|
|
1792
1792
|
};
|
|
1793
|
-
/** 把全部 V1
|
|
1794
|
-
declare function
|
|
1795
|
-
/** 创建并返回注册了全部 V1
|
|
1796
|
-
declare function
|
|
1793
|
+
/** 把全部 V1 内置组件按 DSL 类型名注册到给定 ComponentRegistry */
|
|
1794
|
+
declare function registerBuiltinComponents(registry: ComponentRegistry): void;
|
|
1795
|
+
/** 创建并返回注册了全部 V1 内置组件的新 ComponentRegistry */
|
|
1796
|
+
declare function createComponentRegistry(): ComponentRegistry;
|
|
1797
1797
|
|
|
1798
1798
|
/**
|
|
1799
1799
|
* icon rail 提示(Sidebar 折叠态:Sidebar items 与 Menu 共用):
|
|
@@ -1835,4 +1835,4 @@ interface FormContextValue {
|
|
|
1835
1835
|
/** 在字段组件内探测 Form 上下文;不在 Form 内时返回 null */
|
|
1836
1836
|
declare function useFormContext(): FormContextValue | null;
|
|
1837
1837
|
|
|
1838
|
-
export { Accordion, type AccordionItemData, type AccordionProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Chart, type ChartProps, type ChartType, Checkbox, type CheckboxProps, Collapsible, type CollapsibleProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, Dialog, type DialogProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, Flex, type FlexProps, Footer, type FooterProps, Form, type FormContextValue, type FormProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderUser, type HeaderUserItem, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, Link, type LinkProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Page, type PageProps, Pagination, type PaginationProps, Popover, type PopoverProps, Progress, type ProgressProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Resizable, type ResizablePanelData, type ResizableProps, ScrollArea, type ScrollAreaProps, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, Tooltip, type TooltipProps, Typography, type TypographyProps, type TypographyVariant,
|
|
1838
|
+
export { Accordion, type AccordionItemData, type AccordionProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Chart, type ChartProps, type ChartType, Checkbox, type CheckboxProps, Collapsible, type CollapsibleProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, Dialog, type DialogProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, Flex, type FlexProps, Footer, type FooterProps, Form, type FormContextValue, type FormProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderUser, type HeaderUserItem, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, Link, type LinkProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Page, type PageProps, Pagination, type PaginationProps, Popover, type PopoverProps, Progress, type ProgressProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Resizable, type ResizablePanelData, type ResizableProps, ScrollArea, type ScrollAreaProps, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, Tooltip, type TooltipProps, Typography, type TypographyProps, type TypographyVariant, builtinComponents, createComponentRegistry, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer };
|
|
@@ -1711,11 +1711,11 @@ interface TypographyProps {
|
|
|
1711
1711
|
declare function Typography({ variant, text, className, style, }: TypographyProps): React.JSX.Element;
|
|
1712
1712
|
|
|
1713
1713
|
/**
|
|
1714
|
-
*
|
|
1715
|
-
*
|
|
1714
|
+
* 内置组件表:DSL 类型名 → 组件适配器。
|
|
1715
|
+
* 类型名集合即 spec: builtin-components 的内置组件清单;
|
|
1716
1716
|
* 容器组件(Tabs / Table)经 `useRenderer().renderChildren` 渲染 DSL 子树。
|
|
1717
1717
|
*/
|
|
1718
|
-
declare const
|
|
1718
|
+
declare const builtinComponents: {
|
|
1719
1719
|
readonly Page: typeof Page;
|
|
1720
1720
|
readonly Grid: typeof Grid;
|
|
1721
1721
|
readonly Flex: typeof Flex;
|
|
@@ -1790,10 +1790,10 @@ declare const shadcnComponents: {
|
|
|
1790
1790
|
readonly Chart: typeof Chart;
|
|
1791
1791
|
readonly Icon: typeof Icon;
|
|
1792
1792
|
};
|
|
1793
|
-
/** 把全部 V1
|
|
1794
|
-
declare function
|
|
1795
|
-
/** 创建并返回注册了全部 V1
|
|
1796
|
-
declare function
|
|
1793
|
+
/** 把全部 V1 内置组件按 DSL 类型名注册到给定 ComponentRegistry */
|
|
1794
|
+
declare function registerBuiltinComponents(registry: ComponentRegistry): void;
|
|
1795
|
+
/** 创建并返回注册了全部 V1 内置组件的新 ComponentRegistry */
|
|
1796
|
+
declare function createComponentRegistry(): ComponentRegistry;
|
|
1797
1797
|
|
|
1798
1798
|
/**
|
|
1799
1799
|
* icon rail 提示(Sidebar 折叠态:Sidebar items 与 Menu 共用):
|
|
@@ -1835,4 +1835,4 @@ interface FormContextValue {
|
|
|
1835
1835
|
/** 在字段组件内探测 Form 上下文;不在 Form 内时返回 null */
|
|
1836
1836
|
declare function useFormContext(): FormContextValue | null;
|
|
1837
1837
|
|
|
1838
|
-
export { Accordion, type AccordionItemData, type AccordionProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Chart, type ChartProps, type ChartType, Checkbox, type CheckboxProps, Collapsible, type CollapsibleProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, Dialog, type DialogProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, Flex, type FlexProps, Footer, type FooterProps, Form, type FormContextValue, type FormProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderUser, type HeaderUserItem, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, Link, type LinkProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Page, type PageProps, Pagination, type PaginationProps, Popover, type PopoverProps, Progress, type ProgressProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Resizable, type ResizablePanelData, type ResizableProps, ScrollArea, type ScrollAreaProps, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, Tooltip, type TooltipProps, Typography, type TypographyProps, type TypographyVariant,
|
|
1838
|
+
export { Accordion, type AccordionItemData, type AccordionProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Chart, type ChartProps, type ChartType, Checkbox, type CheckboxProps, Collapsible, type CollapsibleProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, Dialog, type DialogProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, Flex, type FlexProps, Footer, type FooterProps, Form, type FormContextValue, type FormProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderUser, type HeaderUserItem, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, Link, type LinkProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Page, type PageProps, Pagination, type PaginationProps, Popover, type PopoverProps, Progress, type ProgressProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Resizable, type ResizablePanelData, type ResizableProps, ScrollArea, type ScrollAreaProps, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, Tooltip, type TooltipProps, Typography, type TypographyProps, type TypographyVariant, builtinComponents, createComponentRegistry, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer };
|
package/dist/components/index.js
CHANGED
|
@@ -38,7 +38,6 @@ import {
|
|
|
38
38
|
Label,
|
|
39
39
|
Layout,
|
|
40
40
|
Link,
|
|
41
|
-
Menu,
|
|
42
41
|
Menubar,
|
|
43
42
|
NavigationMenu,
|
|
44
43
|
Page,
|
|
@@ -46,13 +45,11 @@ import {
|
|
|
46
45
|
Popover,
|
|
47
46
|
Progress,
|
|
48
47
|
RadioGroup,
|
|
49
|
-
RailTooltip,
|
|
50
48
|
Resizable,
|
|
51
49
|
ScrollArea,
|
|
52
50
|
Select,
|
|
53
51
|
Separator,
|
|
54
52
|
Sheet,
|
|
55
|
-
Sidebar,
|
|
56
53
|
Sider,
|
|
57
54
|
Skeleton,
|
|
58
55
|
Slider,
|
|
@@ -68,20 +65,23 @@ import {
|
|
|
68
65
|
ToggleGroup,
|
|
69
66
|
Tooltip,
|
|
70
67
|
Typography,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
useFormContext
|
|
75
|
-
|
|
76
|
-
} from "../chunk-6B5ZX7L3.js";
|
|
68
|
+
builtinComponents,
|
|
69
|
+
createComponentRegistry,
|
|
70
|
+
registerBuiltinComponents,
|
|
71
|
+
useFormContext
|
|
72
|
+
} from "../chunk-LMEJ242M.js";
|
|
77
73
|
import {
|
|
78
74
|
ICONS,
|
|
79
75
|
Icon,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
76
|
+
Menu,
|
|
77
|
+
RailTooltip,
|
|
78
|
+
Sidebar,
|
|
79
|
+
normalizeIconName,
|
|
80
|
+
useSidebarDrawer
|
|
81
|
+
} from "../chunk-HJPHJKVA.js";
|
|
82
|
+
import "../chunk-Q5NUGUJG.js";
|
|
83
83
|
import "../chunk-F3H23KYG.js";
|
|
84
|
-
import "../chunk-
|
|
84
|
+
import "../chunk-2LYMCWEJ.js";
|
|
85
85
|
import "../chunk-RQHJBTEU.js";
|
|
86
86
|
export {
|
|
87
87
|
Accordion,
|
|
@@ -155,10 +155,10 @@ export {
|
|
|
155
155
|
ToggleGroup,
|
|
156
156
|
Tooltip,
|
|
157
157
|
Typography,
|
|
158
|
-
|
|
158
|
+
builtinComponents,
|
|
159
|
+
createComponentRegistry,
|
|
159
160
|
normalizeIconName,
|
|
160
|
-
|
|
161
|
-
shadcnComponents,
|
|
161
|
+
registerBuiltinComponents,
|
|
162
162
|
useFormContext,
|
|
163
163
|
useSidebarDrawer
|
|
164
164
|
};
|