@object-ui/components 3.1.4 → 3.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/.turbo/turbo-build.log +44 -24
- package/CHANGELOG.md +26 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +34092 -33838
- package/dist/index.umd.cjs +40 -40
- package/dist/{src → packages/components/src}/custom/mobile-dialog-content.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/accordion.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/alert-dialog.d.ts +1 -1
- package/dist/packages/components/src/ui/aspect-ratio.d.ts +10 -0
- package/dist/{src → packages/components/src}/ui/avatar.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/button.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/chart.d.ts +7 -0
- package/dist/{src → packages/components/src}/ui/checkbox.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/collapsible.d.ts +8 -1
- package/dist/{src → packages/components/src}/ui/command.d.ts +2 -2
- package/dist/{src → packages/components/src}/ui/context-menu.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/dialog.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/drawer.d.ts +6 -10
- package/dist/{src → packages/components/src}/ui/dropdown-menu.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/form.d.ts +2 -2
- package/dist/{src → packages/components/src}/ui/hover-card.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/label.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/menubar.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/navigation-menu.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/popover.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/progress.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/radio-group.d.ts +1 -1
- package/dist/packages/components/src/ui/resizable.d.ts +7 -0
- package/dist/{src → packages/components/src}/ui/scroll-area.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/select.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/separator.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/sheet.d.ts +1 -2
- package/dist/{src → packages/components/src}/ui/sidebar.d.ts +1 -8
- package/dist/{src → packages/components/src}/ui/slider.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/switch.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/tabs.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/toast.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/toggle-group.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/toggle.d.ts +1 -1
- package/dist/{src → packages/components/src}/ui/tooltip.d.ts +1 -1
- package/package.json +40 -13
- package/src/__tests__/__snapshots__/snapshot-critical.test.tsx.snap +3 -3
- package/src/custom/button-group.tsx +2 -2
- package/src/custom/field.tsx +3 -3
- package/src/custom/filter-builder.tsx +1 -1
- package/src/custom/item.tsx +2 -2
- package/src/custom/mobile-dialog-content.tsx +1 -1
- package/src/custom/sort-builder.tsx +1 -1
- package/src/index.css +114 -0
- package/src/renderers/complex/data-table.tsx +9 -9
- package/src/renderers/data-display/table.tsx +1 -1
- package/src/renderers/form/form.tsx +9 -2
- package/src/stories-json/chatbot.stories.tsx +101 -0
- package/src/ui/accordion.tsx +1 -1
- package/src/ui/alert-dialog.tsx +1 -1
- package/src/ui/aspect-ratio.tsx +1 -1
- package/src/ui/avatar.tsx +1 -1
- package/src/ui/breadcrumb.tsx +2 -2
- package/src/ui/button.tsx +2 -4
- package/src/ui/chart.tsx +10 -0
- package/src/ui/checkbox.tsx +1 -1
- package/src/ui/collapsible.tsx +1 -1
- package/src/ui/command.tsx +2 -2
- package/src/ui/context-menu.tsx +3 -3
- package/src/ui/dialog.tsx +4 -21
- package/src/ui/drawer.tsx +13 -13
- package/src/ui/dropdown-menu.tsx +3 -3
- package/src/ui/form.tsx +5 -5
- package/src/ui/hover-card.tsx +2 -2
- package/src/ui/label.tsx +1 -1
- package/src/ui/menubar.tsx +3 -3
- package/src/ui/navigation-menu.tsx +1 -1
- package/src/ui/popover.tsx +2 -2
- package/src/ui/progress.tsx +1 -1
- package/src/ui/radio-group.tsx +1 -1
- package/src/ui/resizable.tsx +7 -7
- package/src/ui/scroll-area.tsx +1 -1
- package/src/ui/select.tsx +2 -2
- package/src/ui/separator.tsx +1 -1
- package/src/ui/sheet.tsx +2 -3
- package/src/ui/sidebar.tsx +28 -113
- package/src/ui/slider.tsx +3 -4
- package/src/ui/switch.tsx +1 -1
- package/src/ui/tabs.tsx +1 -1
- package/src/ui/toast.tsx +1 -1
- package/src/ui/toggle-group.tsx +1 -1
- package/src/ui/toggle.tsx +1 -1
- package/src/ui/tooltip.tsx +2 -2
- package/vite.config.ts +1 -0
- package/dist/src/ui/aspect-ratio.d.ts +0 -3
- package/dist/src/ui/resizable.d.ts +0 -14
- /package/dist/{src → packages/components/src}/SchemaRenderer.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/action-param-dialog.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/button-group.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/combobox.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/config-field-renderer.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/config-panel-renderer.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/config-row.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/date-picker.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/empty.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/field.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/filter-builder.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/input-group.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/item.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/kbd.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/native-select.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/navigation-overlay.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/section-header.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/sort-builder.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/spinner.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/view-skeleton.d.ts +0 -0
- /package/dist/{src → packages/components/src}/custom/view-states.d.ts +0 -0
- /package/dist/{src → packages/components/src}/debug/DebugPanel.d.ts +0 -0
- /package/dist/{src → packages/components/src}/debug/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/hooks/use-config-draft.d.ts +0 -0
- /package/dist/{src → packages/components/src}/hooks/use-mobile.d.ts +0 -0
- /package/dist/{src → packages/components/src}/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/lib/use-sync-external-store-shim.d.ts +0 -0
- /package/dist/{src → packages/components/src}/lib/use-sync-external-store-with-selector-shim.d.ts +0 -0
- /package/dist/{src → packages/components/src}/lib/utils.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/action/action-bar.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/action/action-button.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/action/action-group.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/action/action-icon.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/action/action-menu.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/action/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/action/resolve-icon.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/button-group.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/div.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/html.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/icon.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/image.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/navigation-menu.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/pagination.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/separator.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/span.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/basic/text.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/complex/carousel.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/complex/data-table.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/complex/filter-builder.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/complex/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/complex/resizable.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/complex/scroll-area.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/complex/table.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/alert.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/avatar.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/badge.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/breadcrumb.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/kbd.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/list.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/statistic.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/table.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/data-display/tree-view.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/disclosure/accordion.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/disclosure/collapsible.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/disclosure/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/disclosure/toggle-group.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/empty.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/loading.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/progress.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/skeleton.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/sonner.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/spinner.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/toast.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/feedback/toaster.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/button.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/calendar.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/checkbox.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/combobox.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/command.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/date-picker.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/file-upload.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/form.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/input-otp.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/input.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/label.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/radio-group.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/select.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/slider.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/switch.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/textarea.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/form/toggle.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/aspect-ratio.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/card.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/container.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/flex.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/grid.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/page.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/semantic.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/stack.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/layout/tabs.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/navigation/header-bar.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/navigation/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/navigation/sidebar.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/alert-dialog.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/context-menu.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/dialog.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/drawer.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/dropdown-menu.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/hover-card.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/menubar.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/popover.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/sheet.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/overlay/tooltip.d.ts +0 -0
- /package/dist/{src → packages/components/src}/renderers/placeholders.d.ts +0 -0
- /package/dist/{src → packages/components/src}/types/config-panel.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/alert.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/badge.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/breadcrumb.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/calendar.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/card.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/carousel.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/index.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/input-otp.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/input.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/pagination.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/skeleton.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/sonner.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/table.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/textarea.d.ts +0 -0
- /package/dist/{src → packages/components/src}/ui/typography.d.ts +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Dialog as DialogPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -17,4 +16,5 @@ import { Dialog as DialogPrimitive } from 'radix-ui';
|
|
|
17
16
|
* This lives in `custom/` to avoid modifying the Shadcn-synced `ui/dialog.tsx`.
|
|
18
17
|
*/
|
|
19
18
|
import * as React from 'react';
|
|
19
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
20
20
|
export declare const MobileDialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Accordion as AccordionPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { Accordion as AccordionPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
10
10
|
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
10
10
|
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
11
11
|
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ObjectUI
|
|
3
|
+
* Copyright (c) 2024-present ObjectStack Inc.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
9
|
+
declare const AspectRatio: import('react').ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { AspectRatio };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Avatar as AvatarPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { Avatar as AvatarPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
10
10
|
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
11
|
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
12
12
|
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -9,7 +9,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
declare const buttonVariants: (props?: ({
|
|
11
11
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
12
|
-
size?: "default" | "sm" | "lg" | "icon" |
|
|
12
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
13
13
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
14
14
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
15
15
|
asChild?: boolean;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ObjectUI
|
|
3
|
+
* Copyright (c) 2024-present ObjectStack Inc.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
1
8
|
import * as React from "react";
|
|
2
9
|
import * as RechartsPrimitive from "recharts";
|
|
3
10
|
declare const THEMES: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Checkbox as CheckboxPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,5 +6,6 @@ import { Checkbox as CheckboxPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
10
10
|
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export { Checkbox };
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* ObjectUI
|
|
3
|
+
* Copyright (c) 2024-present ObjectStack Inc.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
2
9
|
declare const Collapsible: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
10
|
declare const CollapsibleTrigger: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
4
11
|
declare const CollapsibleContent: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
2
|
/**
|
|
3
3
|
* ObjectUI
|
|
4
4
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -24,7 +24,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
24
24
|
disablePointerSelection?: boolean;
|
|
25
25
|
vimBindings?: boolean;
|
|
26
26
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
declare const CommandDialog: ({ children, ...props }:
|
|
27
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
29
29
|
ref?: React.Ref<HTMLInputElement>;
|
|
30
30
|
} & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ContextMenu as ContextMenuPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { ContextMenu as ContextMenuPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
10
10
|
declare const ContextMenu: React.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
11
11
|
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
12
12
|
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Dialog as DialogPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { Dialog as DialogPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
10
10
|
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
11
11
|
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
@@ -11,15 +11,11 @@ declare const Drawer: {
|
|
|
11
11
|
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
|
-
declare const DrawerTrigger: React.
|
|
15
|
-
asChild?: boolean;
|
|
16
|
-
}>;
|
|
14
|
+
declare const DrawerTrigger: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
17
15
|
declare const DrawerPortal: typeof import('vaul').Portal;
|
|
18
|
-
declare const DrawerClose: React.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
-
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
declare const DrawerClose: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
17
|
+
declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
19
|
declare const DrawerHeader: {
|
|
24
20
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
25
21
|
displayName: string;
|
|
@@ -28,6 +24,6 @@ declare const DrawerFooter: {
|
|
|
28
24
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
29
25
|
displayName: string;
|
|
30
26
|
};
|
|
31
|
-
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<
|
|
32
|
-
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<
|
|
27
|
+
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
28
|
+
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
33
29
|
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
10
10
|
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
11
11
|
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Label as LabelPrimitive, Slot as SlotPrimitive } from 'radix-ui';
|
|
2
1
|
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
3
2
|
/**
|
|
4
3
|
* ObjectUI
|
|
@@ -8,6 +7,7 @@ import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
|
8
7
|
* LICENSE file in the root directory of this source tree.
|
|
9
8
|
*/
|
|
10
9
|
import * as React from "react";
|
|
10
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
11
11
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
12
12
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare const useFormField: () => {
|
|
@@ -24,7 +24,7 @@ declare const useFormField: () => {
|
|
|
24
24
|
};
|
|
25
25
|
declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
26
26
|
declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
27
|
-
declare const FormControl: React.ForwardRefExoticComponent<Omit<
|
|
27
|
+
declare const FormControl: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-slot').SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
28
28
|
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
29
29
|
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
30
30
|
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HoverCard as HoverCardPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { HoverCard as HoverCardPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
10
10
|
declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
|
|
11
11
|
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
12
12
|
declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Label as LabelPrimitive } from 'radix-ui';
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
/**
|
|
4
3
|
* ObjectUI
|
|
@@ -8,5 +7,6 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
8
7
|
* LICENSE file in the root directory of this source tree.
|
|
9
8
|
*/
|
|
10
9
|
import * as React from "react";
|
|
10
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
11
11
|
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import('class-variance-authority/types').ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
12
12
|
export { Label };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Menubar as MenubarPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { Menubar as MenubarPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
10
10
|
declare function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare function MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
declare function MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { NavigationMenu as NavigationMenuPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { NavigationMenu as NavigationMenuPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
10
10
|
declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
11
11
|
declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
12
12
|
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
10
10
|
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
11
11
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,5 +6,6 @@ import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
10
10
|
declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export { Progress };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
10
10
|
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { RadioGroup, RadioGroupItem };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Group, Panel, Separator } from 'react-resizable-panels';
|
|
2
|
+
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof Group>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const ResizablePanel: typeof Panel;
|
|
4
|
+
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof Separator> & {
|
|
5
|
+
withHandle?: boolean;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
10
10
|
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export { ScrollArea, ScrollBar };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Select as SelectPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { Select as SelectPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
10
10
|
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
11
11
|
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Separator as SeparatorPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,5 +6,6 @@ import { Separator as SeparatorPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
10
10
|
declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export { Separator };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Dialog as SheetPrimitive } from 'radix-ui';
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
/**
|
|
4
3
|
* ObjectUI
|
|
@@ -8,6 +7,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
8
7
|
* LICENSE file in the root directory of this source tree.
|
|
9
8
|
*/
|
|
10
9
|
import * as React from "react";
|
|
10
|
+
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
11
11
|
declare const Sheet: React.FC<SheetPrimitive.DialogProps>;
|
|
12
12
|
declare const SheetTrigger: React.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
13
|
declare const SheetClose: React.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -17,7 +17,6 @@ declare const sheetVariants: (props?: ({
|
|
|
17
17
|
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
18
18
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
19
19
|
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
20
|
-
/** When true, the backdrop overlay is not rendered (useful for non-modal drawers) */
|
|
21
20
|
hideOverlay?: boolean;
|
|
22
21
|
}
|
|
23
22
|
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -16,10 +16,6 @@ type SidebarContextProps = {
|
|
|
16
16
|
setOpenMobile: (open: boolean) => void;
|
|
17
17
|
isMobile: boolean;
|
|
18
18
|
toggleSidebar: () => void;
|
|
19
|
-
/** Current sidebar width in pixels (only used when resizable) */
|
|
20
|
-
sidebarWidth: number | null;
|
|
21
|
-
/** Update sidebar width (only used when resizable) */
|
|
22
|
-
setSidebarWidth: (width: number | null) => void;
|
|
23
19
|
};
|
|
24
20
|
declare function useSidebar(): SidebarContextProps;
|
|
25
21
|
declare const SidebarProvider: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -38,10 +34,7 @@ declare const SidebarInset: React.ForwardRefExoticComponent<Omit<React.DetailedH
|
|
|
38
34
|
declare const SidebarInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
39
35
|
declare const SidebarHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
40
36
|
declare const SidebarFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
-
declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<
|
|
42
|
-
orientation?: "horizontal" | "vertical";
|
|
43
|
-
decorative?: boolean;
|
|
44
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-separator').SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
38
|
declare const SidebarContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
46
39
|
declare const SidebarGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
47
40
|
declare const SidebarGroupLabel: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Slider as SliderPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,5 +6,6 @@ import { Slider as SliderPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
10
10
|
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
11
|
export { Slider };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Switch as SwitchPrimitives } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,5 +6,6 @@ import { Switch as SwitchPrimitives } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
10
10
|
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export { Switch };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Tabs as TabsPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { Tabs as TabsPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
10
10
|
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Toast as ToastPrimitives } from 'radix-ui';
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
/**
|
|
4
3
|
* ObjectUI
|
|
@@ -8,6 +7,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
8
7
|
* LICENSE file in the root directory of this source tree.
|
|
9
8
|
*/
|
|
10
9
|
import * as React from "react";
|
|
10
|
+
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
11
11
|
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
12
12
|
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
13
13
|
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ToggleGroup as ToggleGroupPrimitive } from 'radix-ui';
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
/**
|
|
4
3
|
* ObjectUI
|
|
@@ -8,6 +7,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
8
7
|
* LICENSE file in the root directory of this source tree.
|
|
9
8
|
*/
|
|
10
9
|
import * as React from "react";
|
|
10
|
+
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
11
11
|
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
12
12
|
variant?: "default" | "outline" | null | undefined;
|
|
13
13
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Toggle as TogglePrimitive } from 'radix-ui';
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
/**
|
|
4
3
|
* ObjectUI
|
|
@@ -8,6 +7,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
8
7
|
* LICENSE file in the root directory of this source tree.
|
|
9
8
|
*/
|
|
10
9
|
import * as React from "react";
|
|
10
|
+
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
11
11
|
declare const toggleVariants: (props?: ({
|
|
12
12
|
variant?: "default" | "outline" | null | undefined;
|
|
13
13
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Tooltip as TooltipPrimitive } from 'radix-ui';
|
|
2
1
|
/**
|
|
3
2
|
* ObjectUI
|
|
4
3
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -7,6 +6,7 @@ import { Tooltip as TooltipPrimitive } from 'radix-ui';
|
|
|
7
6
|
* LICENSE file in the root directory of this source tree.
|
|
8
7
|
*/
|
|
9
8
|
import * as React from "react";
|
|
9
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
10
10
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
11
11
|
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
12
12
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@object-ui/components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Standard UI component library for Object UI, built with Shadcn UI + Tailwind CSS",
|
|
@@ -26,26 +26,53 @@
|
|
|
26
26
|
"./style.css": "./dist/index.css"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
+
"@radix-ui/react-accordion": "^1.2.2",
|
|
30
|
+
"@radix-ui/react-alert-dialog": "^1.1.4",
|
|
31
|
+
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
32
|
+
"@radix-ui/react-avatar": "^1.1.2",
|
|
33
|
+
"@radix-ui/react-checkbox": "^1.1.4",
|
|
34
|
+
"@radix-ui/react-collapsible": "^1.1.2",
|
|
35
|
+
"@radix-ui/react-context-menu": "^2.2.7",
|
|
36
|
+
"@radix-ui/react-dialog": "^1.1.4",
|
|
37
|
+
"@radix-ui/react-dropdown-menu": "^2.1.5",
|
|
38
|
+
"@radix-ui/react-hover-card": "^1.1.4",
|
|
39
|
+
"@radix-ui/react-label": "^2.1.2",
|
|
40
|
+
"@radix-ui/react-menubar": "^1.1.3",
|
|
41
|
+
"@radix-ui/react-navigation-menu": "^1.2.4",
|
|
42
|
+
"@radix-ui/react-popover": "^1.1.4",
|
|
43
|
+
"@radix-ui/react-progress": "^1.1.1",
|
|
44
|
+
"@radix-ui/react-radio-group": "^1.2.3",
|
|
45
|
+
"@radix-ui/react-scroll-area": "^1.2.3",
|
|
46
|
+
"@radix-ui/react-select": "^2.1.8",
|
|
47
|
+
"@radix-ui/react-separator": "^1.1.1",
|
|
48
|
+
"@radix-ui/react-slider": "^1.2.3",
|
|
49
|
+
"@radix-ui/react-slot": "^1.1.2",
|
|
50
|
+
"@radix-ui/react-switch": "^1.1.4",
|
|
51
|
+
"@radix-ui/react-tabs": "^1.1.3",
|
|
52
|
+
"@radix-ui/react-toast": "^1.2.6",
|
|
53
|
+
"@radix-ui/react-toggle": "^1.1.1",
|
|
54
|
+
"@radix-ui/react-toggle-group": "^1.1.1",
|
|
55
|
+
"@radix-ui/react-tooltip": "^1.1.8",
|
|
29
56
|
"class-variance-authority": "^0.7.1",
|
|
30
57
|
"clsx": "^2.1.1",
|
|
31
58
|
"cmdk": "^1.1.1",
|
|
32
59
|
"date-fns": "^4.1.0",
|
|
33
60
|
"embla-carousel-react": "^8.6.0",
|
|
34
61
|
"input-otp": "^1.4.2",
|
|
35
|
-
"lucide-react": "^
|
|
62
|
+
"lucide-react": "^1.8.0",
|
|
36
63
|
"next-themes": "^0.4.6",
|
|
37
|
-
"radix-ui": "^1.4.3",
|
|
38
64
|
"react-day-picker": "^9.14.0",
|
|
39
|
-
"react-hook-form": "^7.72.
|
|
40
|
-
"react-resizable-panels": "^4.
|
|
41
|
-
"recharts": "3.8.
|
|
65
|
+
"react-hook-form": "^7.72.1",
|
|
66
|
+
"react-resizable-panels": "^4.10.0",
|
|
67
|
+
"recharts": "3.8.1",
|
|
42
68
|
"sonner": "^2.0.7",
|
|
43
69
|
"tailwind-merge": "^3.5.0",
|
|
44
70
|
"tailwindcss-animate": "^1.0.7",
|
|
45
71
|
"vaul": "^1.1.2",
|
|
46
|
-
"@object-ui/core": "3.
|
|
47
|
-
"@object-ui/
|
|
48
|
-
"@object-ui/
|
|
72
|
+
"@object-ui/core": "3.3.0",
|
|
73
|
+
"@object-ui/i18n": "3.3.0",
|
|
74
|
+
"@object-ui/react": "3.3.0",
|
|
75
|
+
"@object-ui/types": "3.3.0"
|
|
49
76
|
},
|
|
50
77
|
"peerDependencies": {
|
|
51
78
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -64,12 +91,12 @@
|
|
|
64
91
|
"@types/react-dom": "19.2.3",
|
|
65
92
|
"@vitejs/plugin-react": "^6.0.1",
|
|
66
93
|
"autoprefixer": "^10.4.27",
|
|
67
|
-
"postcss": "^8.5.
|
|
68
|
-
"shadcn": "^4.
|
|
94
|
+
"postcss": "^8.5.9",
|
|
95
|
+
"shadcn": "^4.2.0",
|
|
69
96
|
"storybook": "^8.6.18",
|
|
70
97
|
"tailwindcss": "^4.2.2",
|
|
71
|
-
"typescript": "^
|
|
72
|
-
"vite": "^8.0.
|
|
98
|
+
"typescript": "^6.0.2",
|
|
99
|
+
"vite": "^8.0.8",
|
|
73
100
|
"vite-plugin-dts": "^4.5.4"
|
|
74
101
|
},
|
|
75
102
|
"scripts": {
|