@sth87/shadcn-design-system 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/lib/utils.d.ts +1 -1
- package/dist/types/packages/ui/src/card.d.ts +14 -0
- package/dist/types/packages/ui/src/card.d.ts.map +1 -0
- package/dist/types/packages/ui/src/code.d.ts +12 -0
- package/dist/types/packages/ui/src/code.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/accordion.d.ts +14 -0
- package/dist/types/packages/ui/src/components/accordion.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/alert-dialog.d.ts +28 -0
- package/dist/types/packages/ui/src/components/alert-dialog.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/avatar.d.ts +16 -0
- package/dist/types/packages/ui/src/components/avatar.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/badge.d.ts +20 -0
- package/dist/types/packages/ui/src/components/badge.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/breadcrumb.d.ts +18 -0
- package/dist/types/packages/ui/src/components/breadcrumb.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/button-group.d.ts +18 -0
- package/dist/types/packages/ui/src/components/button-group.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/button.d.ts +19 -0
- package/dist/types/packages/ui/src/components/button.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/calendar.d.ts +23 -0
- package/dist/types/packages/ui/src/components/calendar.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/checkbox.d.ts +19 -0
- package/dist/types/packages/ui/src/components/checkbox.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/collapsible.d.ts +12 -0
- package/dist/types/packages/ui/src/components/collapsible.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/combobox.d.ts +40 -0
- package/dist/types/packages/ui/src/components/combobox.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/command.d.ts +25 -0
- package/dist/types/packages/ui/src/components/command.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/context-menu.d.ts +32 -0
- package/dist/types/packages/ui/src/components/context-menu.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/dialog.d.ts +28 -0
- package/dist/types/packages/ui/src/components/dialog.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/drawer.d.ts +20 -0
- package/dist/types/packages/ui/src/components/drawer.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/dropdown-menu.d.ts +32 -0
- package/dist/types/packages/ui/src/components/dropdown-menu.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/input-otp.d.ts +26 -0
- package/dist/types/packages/ui/src/components/input-otp.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/input.d.ts +19 -0
- package/dist/types/packages/ui/src/components/input.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/label.d.ts +11 -0
- package/dist/types/packages/ui/src/components/label.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/pagination.d.ts +26 -0
- package/dist/types/packages/ui/src/components/pagination.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/popover.d.ts +21 -0
- package/dist/types/packages/ui/src/components/popover.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/radio-group.d.ts +23 -0
- package/dist/types/packages/ui/src/components/radio-group.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/resizable.d.ts +20 -0
- package/dist/types/packages/ui/src/components/resizable.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/scroll-area.d.ts +12 -0
- package/dist/types/packages/ui/src/components/scroll-area.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/select.d.ts +49 -0
- package/dist/types/packages/ui/src/components/select.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/separator.d.ts +26 -0
- package/dist/types/packages/ui/src/components/separator.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/sheet.d.ts +21 -0
- package/dist/types/packages/ui/src/components/sheet.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/sidebar.d.ts +76 -0
- package/dist/types/packages/ui/src/components/sidebar.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/skeleton.d.ts +9 -0
- package/dist/types/packages/ui/src/components/skeleton.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/slider.d.ts +11 -0
- package/dist/types/packages/ui/src/components/slider.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/switch.d.ts +20 -0
- package/dist/types/packages/ui/src/components/switch.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/table.d.ts +17 -0
- package/dist/types/packages/ui/src/components/table.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/tabs.d.ts +14 -0
- package/dist/types/packages/ui/src/components/tabs.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/textarea.d.ts +19 -0
- package/dist/types/packages/ui/src/components/textarea.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/toggle.d.ts +17 -0
- package/dist/types/packages/ui/src/components/toggle.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/tooltip.d.ts +24 -0
- package/dist/types/packages/ui/src/components/tooltip.d.ts.map +1 -0
- package/dist/types/packages/ui/src/components/tree-view.d.ts +36 -0
- package/dist/types/packages/ui/src/components/tree-view.d.ts.map +1 -0
- package/dist/types/packages/ui/src/constants/color.d.ts +25 -0
- package/dist/types/packages/ui/src/constants/color.d.ts.map +1 -0
- package/dist/types/packages/ui/src/hooks/use-mobile.d.ts +8 -0
- package/dist/types/packages/ui/src/hooks/use-mobile.d.ts.map +1 -0
- package/dist/types/packages/ui/src/lib/compose-refs.d.ts +23 -0
- package/dist/types/packages/ui/src/lib/compose-refs.d.ts.map +1 -0
- package/dist/types/packages/ui/src/lib/utils.d.ts +9 -0
- package/dist/types/packages/ui/src/lib/utils.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
9
|
+
declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { Label };
|
|
11
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AAIxD,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAWlD;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { Button } from "../components/button";
|
|
9
|
+
declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function PaginationItem({ ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
type PaginationLinkProps = {
|
|
13
|
+
isActive?: boolean;
|
|
14
|
+
} & Pick<React.ComponentProps<typeof Button>, "size" | "color"> & React.ComponentProps<"a">;
|
|
15
|
+
declare function PaginationLink({ className, isActive, size, color, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function PaginationPrevious({ className, children, size, hideIcon, ...props }: React.ComponentProps<typeof PaginationLink> & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
hideIcon?: boolean;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function PaginationNext({ className, children, size, hideIcon, ...props }: React.ComponentProps<typeof PaginationLink> & {
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
hideIcon?: boolean;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function PaginationEllipsis({ ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
|
|
26
|
+
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,MAAM,EAAkB,MAAM,4BAA4B,CAAC;AAEpE,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAUvE;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAQ5B;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAQ/D;AAED,KAAK,mBAAmB,GAAG;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,GAC7D,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AAE5B,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,IAAa,EACb,KAAK,EACL,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAiBrB;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,QAAQ,EACR,IAAe,EACf,QAAgB,EAChB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG;IAC/C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CAgBA;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,IAAe,EACf,QAAgB,EAChB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG;IAC/C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CAgBA;AAED,iBAAS,kBAAkB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAO5D;AAED,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
9
|
+
type PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;
|
|
10
|
+
declare function Popover({ modal, ...props }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
type PopoverTriggerProps = React.ComponentProps<typeof PopoverPrimitive.Trigger>;
|
|
12
|
+
declare function PopoverTrigger({ ...props }: PopoverTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
type PopoverContentProps = React.ComponentProps<typeof PopoverPrimitive.Content> & {
|
|
14
|
+
/** Increase z-index for use in modals/dialogs */
|
|
15
|
+
modal?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare function PopoverContent({ className, align, sideOffset, modal, ...props }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
type PopoverAnchorProps = React.ComponentProps<typeof PopoverPrimitive.Anchor>;
|
|
19
|
+
declare const PopoverAnchor: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, type PopoverProps, type PopoverTriggerProps, type PopoverAnchorProps, type PopoverContentProps, };
|
|
21
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAI5D,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC;AACvE,iBAAS,OAAO,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAEjD;AAED,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAC7C,OAAO,gBAAgB,CAAC,OAAO,CAChC,CAAC;AACF,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAExD;AAED,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAC7C,OAAO,gBAAgB,CAAC,OAAO,CAChC,GAAG;IACF,iDAAiD;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AACF,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,KAAa,EACb,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAgBrB;AAED,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC/E,QAAA,MAAM,aAAa,+JAUlB,CAAC;AAIF,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,GACzB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
9
|
+
import { type VariantProps } from "class-variance-authority";
|
|
10
|
+
declare const radioGroupItemVariants: (props?: ({
|
|
11
|
+
variant?: "option" | "button-group" | null | undefined;
|
|
12
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
13
|
+
color?: "primary" | "secondary" | "accent" | "destructive" | "muted" | "success" | "error" | "warning" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
declare const radioGroupVariants: (props?: ({
|
|
16
|
+
variant?: "option" | "button-group" | null | undefined;
|
|
17
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
|
+
type RadioGroupProps = React.ComponentProps<typeof RadioGroupPrimitive.Root> & VariantProps<typeof radioGroupVariants>;
|
|
19
|
+
declare function RadioGroup({ className, variant, ...props }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
type RadioGroupItemProps = React.ComponentProps<typeof RadioGroupPrimitive.Item> & VariantProps<typeof radioGroupItemVariants>;
|
|
21
|
+
declare function RadioGroupItem({ className, variant, size, color, ...props }: RadioGroupItemProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export { RadioGroup, RadioGroupItem, type RadioGroupProps, type RadioGroupItemProps, };
|
|
23
|
+
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/radio-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiFlE,QAAA,MAAM,sBAAsB;;;;8EAgC3B,CAAC;AAEF,QAAA,MAAM,kBAAkB;;8EAUtB,CAAC;AAEH,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAC1E,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE1C,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAQpE;AAED,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAC7C,OAAO,mBAAmB,CAAC,IAAI,CAChC,GACC,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE9C,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,KAAK,EACL,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAqBrB;AAED,OAAO,EACL,UAAU,EACV,cAAc,EACd,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as ResizablePrimitive from "react-resizable-panels";
|
|
9
|
+
import { type VariantProps } from "class-variance-authority";
|
|
10
|
+
declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const resizableHandleVariants: (props?: ({
|
|
13
|
+
variant?: "line" | "default" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
declare function ResizableHandle({ withHandle, icon, variant, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & VariantProps<typeof resizableHandleVariants> & {
|
|
16
|
+
withHandle?: boolean;
|
|
17
|
+
icon?: React.ReactNode;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export { ResizablePanelGroup, ResizablePanel, ResizableHandle, resizableHandleVariants, };
|
|
20
|
+
//# sourceMappingURL=resizable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/resizable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,UAAU,CAAC,2CAW5D;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,2CAEvD;AAED,QAAA,MAAM,uBAAuB;;8EAa5B,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,UAAU,EACV,IAAI,EACJ,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,iBAAiB,CAAC,GAClE,YAAY,CAAC,OAAO,uBAAuB,CAAC,GAAG;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,2CAgBF;AAED,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,uBAAuB,GACxB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
9
|
+
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { ScrollArea, ScrollBar };
|
|
12
|
+
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/scroll-area.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAInE,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,2CAiBvD;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,mBAAmB,CAAC,2CAqBtE;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import { type VariantProps } from "class-variance-authority";
|
|
8
|
+
import { Button } from "./button";
|
|
9
|
+
import { Command, CommandGroup, CommandItem, CommandSeparator } from "./command";
|
|
10
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
11
|
+
declare const multiSelectTriggerVariants: (props?: ({
|
|
12
|
+
size?: "xs" | "sm" | "lg" | "xl" | "normal" | null | undefined;
|
|
13
|
+
state?: "success" | "error" | "warning" | "default" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
export declare function MultiSelect({ children, values, defaultValues, onValuesChange, }: {
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
values?: string[];
|
|
18
|
+
defaultValues?: string[];
|
|
19
|
+
onValuesChange?: (values: string[]) => void;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function MultiSelectTrigger({ className, dropdownClassName, children, size, state, ...props }: {
|
|
22
|
+
className?: string;
|
|
23
|
+
dropdownClassName?: string;
|
|
24
|
+
children?: ReactNode;
|
|
25
|
+
size?: "normal" | "sm" | "xs" | "lg" | "xl";
|
|
26
|
+
state?: "default" | "success" | "error" | "warning";
|
|
27
|
+
} & Omit<ComponentPropsWithoutRef<typeof Button>, "size"> & VariantProps<typeof multiSelectTriggerVariants>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function MultiSelectValue({ placeholder, clickToRemove, className, overflowBehavior, ...props }: {
|
|
29
|
+
placeholder?: string;
|
|
30
|
+
clickToRemove?: boolean;
|
|
31
|
+
overflowBehavior?: "wrap" | "wrap-when-open" | "cutoff";
|
|
32
|
+
} & Omit<ComponentPropsWithoutRef<"div">, "children">): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare function MultiSelectContent({ search, children, ...props }: {
|
|
34
|
+
search?: boolean | {
|
|
35
|
+
placeholder?: string;
|
|
36
|
+
emptyMessage?: string;
|
|
37
|
+
};
|
|
38
|
+
children: ReactNode;
|
|
39
|
+
} & Omit<ComponentPropsWithoutRef<typeof Command>, "children">): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare function MultiSelectItem({ value, children, badgeLabel, onSelect, icon, tagRender, ...props }: {
|
|
41
|
+
badgeLabel?: ReactNode;
|
|
42
|
+
value: string;
|
|
43
|
+
icon?: ReactNode;
|
|
44
|
+
tagRender?: boolean;
|
|
45
|
+
} & Omit<ComponentPropsWithoutRef<typeof CommandItem>, "value">): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export declare function MultiSelectGroup(props: ComponentPropsWithoutRef<typeof CommandGroup>): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
export declare function MultiSelectSeparator(props: ComponentPropsWithoutRef<typeof CommandSeparator>): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","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AmC,EACnC,GAAG,KAAK,EACT,EAAE;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,GAAG,gBAAgB,GAAG,QAAQ,CAAC;CACzD,GAAG,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,2CA4IpD;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACT,EAAE;IACD,MAAM,CAAC,EAAE,OAAO,GAAG;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,OAAO,CAAC,EAAE,UAAU,CAAC,2CAiC7D;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE;IACD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,WAAW,CAAC,EAAE,OAAO,CAAC,2CAoC9D;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,wBAAwB,CAAC,OAAO,YAAY,CAAC,2CAGrD;AAED,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,2CAGzD"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
9
|
+
declare const colorVariants: {
|
|
10
|
+
primary: string;
|
|
11
|
+
secondary: string;
|
|
12
|
+
accent: string;
|
|
13
|
+
destructive: string;
|
|
14
|
+
muted: string;
|
|
15
|
+
success: string;
|
|
16
|
+
error: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
};
|
|
19
|
+
interface SeparatorProps extends React.ComponentProps<typeof SeparatorPrimitive.Root> {
|
|
20
|
+
textPosition?: "start" | "center" | "end";
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
color?: keyof typeof colorVariants;
|
|
23
|
+
}
|
|
24
|
+
declare function Separator({ className, orientation, decorative, textPosition, children, color, ...props }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export { Separator, type SeparatorProps };
|
|
26
|
+
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/separator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAIhE,QAAA,MAAM,aAAa;;;;;;;;;CASlB,CAAC;AAEF,UAAU,cACR,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC;IAC5D,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;CACpC;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAA0B,EAC1B,UAAiB,EACjB,YAAuB,EACvB,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,cAAc,2CAwHhB;AAED,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
9
|
+
declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function SheetContent({ className, overlayClassName, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
13
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
14
|
+
overlayClassName?: string;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
|
|
21
|
+
//# sourceMappingURL=sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.d.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OAAO,cAAc,CAAC,WAAW,CAAC,2CAQzD;AAED,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { type VariantProps } from "class-variance-authority";
|
|
9
|
+
import { Button } from "../components/button";
|
|
10
|
+
import { Input } from "../components/input";
|
|
11
|
+
import { Separator } from "../components/separator";
|
|
12
|
+
import { TooltipContent } from "../components/tooltip";
|
|
13
|
+
type SidebarContextProps = {
|
|
14
|
+
state: "expanded" | "collapsed";
|
|
15
|
+
open: boolean;
|
|
16
|
+
setOpen: (open: boolean) => void;
|
|
17
|
+
openMobile: boolean;
|
|
18
|
+
setOpenMobile: (open: boolean) => void;
|
|
19
|
+
isMobile: boolean;
|
|
20
|
+
toggleSidebar: () => void;
|
|
21
|
+
};
|
|
22
|
+
declare function useSidebar(): SidebarContextProps;
|
|
23
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
24
|
+
defaultOpen?: boolean;
|
|
25
|
+
open?: boolean;
|
|
26
|
+
onOpenChange?: (open: boolean) => void;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
|
|
29
|
+
side?: "left" | "right";
|
|
30
|
+
variant?: "sidebar" | "floating" | "inset" | "tilt" | "depth";
|
|
31
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
32
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
43
|
+
asChild?: boolean;
|
|
44
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
|
|
46
|
+
asChild?: boolean;
|
|
47
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
52
|
+
variant?: "outline" | "default" | null | undefined;
|
|
53
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
54
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
55
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
|
|
56
|
+
asChild?: boolean;
|
|
57
|
+
isActive?: boolean;
|
|
58
|
+
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
59
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
|
|
61
|
+
asChild?: boolean;
|
|
62
|
+
showOnHover?: boolean;
|
|
63
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
|
|
66
|
+
showIcon?: boolean;
|
|
67
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
|
|
71
|
+
asChild?: boolean;
|
|
72
|
+
size?: "sm" | "md";
|
|
73
|
+
isActive?: boolean;
|
|
74
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
|
|
76
|
+
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAS1D,OAAO,EAEL,cAAc,EAGf,MAAM,6BAA6B,CAAC;AASrC,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,UAAU,GAAG,WAAW,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAIF,iBAAS,UAAU,wBAOlB;AAED,iBAAS,eAAe,CAAC,EACvB,WAAkB,EAClB,IAAI,EAAE,QAAQ,EACd,YAAY,EAAE,WAAW,EACzB,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,2CAsF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Ae,EACf,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { Skeleton };
|
|
9
|
+
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/skeleton.tsx"],"names":[],"mappings":"AAEA,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQrE;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
9
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { Slider };
|
|
11
|
+
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/slider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,YAAY,EACZ,KAAK,EACL,GAAO,EACP,GAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CA8CnD;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
9
|
+
import { type VariantProps } from "class-variance-authority";
|
|
10
|
+
declare const switchVariants: (props?: ({
|
|
11
|
+
variant?: "default" | "square1" | "square2" | "mini" | null | undefined;
|
|
12
|
+
size?: "xs" | "sm" | "lg" | "xl" | "normal" | null | undefined;
|
|
13
|
+
color?: "primary" | "secondary" | "accent" | "destructive" | "muted" | "success" | "error" | "warning" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
type SwitchVariant = VariantProps<typeof switchVariants>;
|
|
16
|
+
declare function Switch(props: React.ComponentProps<typeof SwitchPrimitive.Root> & VariantProps<typeof switchVariants> & {
|
|
17
|
+
thumbClassName?: string;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export { Switch, switchVariants, type SwitchVariant };
|
|
20
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA+ClE,QAAA,MAAM,cAAc;;;;8EAwCnB,CAAC;AA2DF,KAAK,aAAa,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAEzD,iBAAS,MAAM,CACb,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GACtD,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,2CAgBJ;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
declare function Table({ className, ...props }: React.ComponentProps<"table">): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
|
|
17
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAapE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQ1E;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQxE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAW1E;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWpE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,2CAQjC;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
9
|
+
declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
14
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAItD,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAQjD;AAED,QAAA,MAAM,QAAQ,uJAeZ,CAAC;AAGH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAWpD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAQpD;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { type VariantProps } from "class-variance-authority";
|
|
9
|
+
declare const textareaVariants: (props?: ({
|
|
10
|
+
size?: "xs" | "sm" | "lg" | "xl" | "normal" | null | undefined;
|
|
11
|
+
state?: "success" | "error" | "warning" | "default" | null | undefined;
|
|
12
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
+
type TextareaProps = Omit<React.ComponentProps<"textarea">, "size"> & {
|
|
14
|
+
size?: "normal" | "sm" | "xs" | "lg" | "xl";
|
|
15
|
+
state?: "default" | "success" | "error" | "warning";
|
|
16
|
+
} & VariantProps<typeof textareaVariants>;
|
|
17
|
+
declare function Textarea({ size, state, className, ...props }: TextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export { Textarea, type TextareaProps };
|
|
19
|
+
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,QAAA,MAAM,gBAAgB;;;8EA0BrB,CAAC;AAEF,KAAK,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,GAAG;IACpE,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;CACrD,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1C,iBAAS,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAQpE;AAED,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
9
|
+
import { type VariantProps } from "class-variance-authority";
|
|
10
|
+
declare const toggleVariants: (props?: ({
|
|
11
|
+
variant?: "outline" | "default" | null | undefined;
|
|
12
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
13
|
+
color?: "primary" | "secondary" | "accent" | "destructive" | "muted" | "success" | "error" | "warning" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
declare function Toggle({ className, variant, size, color, ...props }: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export { Toggle, toggleVariants };
|
|
17
|
+
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA2ElE,QAAA,MAAM,cAAc;;;;8EAgCnB,CAAC;AAEF,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,KAAK,EACL,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAClD,YAAY,CAAC,OAAO,cAAc,CAAC,2CAQpC;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
9
|
+
type TooltipProviderProps = React.ComponentProps<typeof TooltipPrimitive.Provider> & {
|
|
10
|
+
delayDuration?: number;
|
|
11
|
+
};
|
|
12
|
+
declare function TooltipProvider({ delayDuration, ...props }: TooltipProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
type TooltipProps = React.ComponentProps<typeof TooltipPrimitive.Root>;
|
|
14
|
+
declare function Tooltip({ ...props }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
type TooltipTriggerProps = React.ComponentProps<typeof TooltipPrimitive.Trigger>;
|
|
16
|
+
declare function TooltipTrigger({ ...props }: TooltipTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
type TooltipContentProps = Omit<React.ComponentProps<typeof TooltipPrimitive.Content>, "content"> & {
|
|
18
|
+
sideOffset?: number;
|
|
19
|
+
content?: React.ReactNode;
|
|
20
|
+
};
|
|
21
|
+
declare function TooltipContent({ className, sideOffset, children, content, ...props }: TooltipContentProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
23
|
+
export type { TooltipProps, TooltipTriggerProps, TooltipContentProps, TooltipProviderProps, };
|
|
24
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAI5D,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAC9C,OAAO,gBAAgB,CAAC,QAAQ,CACjC,GAAG;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,aAAiB,EACjB,GAAG,KAAK,EACT,EAAE,oBAAoB,2CAQtB;AAED,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAEvE,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAM1C;AAED,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAC7C,OAAO,gBAAgB,CAAC,OAAO,CAChC,CAAC;AAEF,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAExD;AAED,KAAK,mBAAmB,GAAG,IAAI,CAC7B,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,EACrD,SAAS,CACV,GAAG;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAiBrB;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC;AACpE,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,GACrB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
import React from "react";
|
|
8
|
+
interface TreeDataItem {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
icon?: any;
|
|
12
|
+
selectedIcon?: any;
|
|
13
|
+
openIcon?: any;
|
|
14
|
+
children?: TreeDataItem[];
|
|
15
|
+
actions?: React.ReactNode;
|
|
16
|
+
onClick?: () => void;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
checked?: boolean;
|
|
19
|
+
indeterminate?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const TreeView: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
22
|
+
data: TreeDataItem[] | TreeDataItem;
|
|
23
|
+
initialSelectedItemId?: string;
|
|
24
|
+
onSelectChange?: (item: TreeDataItem | undefined) => void;
|
|
25
|
+
expandAll?: boolean;
|
|
26
|
+
defaultNodeIcon?: any;
|
|
27
|
+
defaultLeafIcon?: any;
|
|
28
|
+
multiSelect?: boolean;
|
|
29
|
+
selectedIds?: string[];
|
|
30
|
+
onMultiSelectChange?: (selectedIds: string[]) => void;
|
|
31
|
+
showIcon?: boolean;
|
|
32
|
+
showLeafIcon?: boolean;
|
|
33
|
+
treeLine?: boolean;
|
|
34
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
export { TreeView, type TreeDataItem };
|
|
36
|
+
//# sourceMappingURL=tree-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-view.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/tree-view.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAiBD,QAAA,MAAM,QAAQ;UAdN,YAAY,EAAE,GAAG,YAAY;4BACX,MAAM;qBACb,CAAC,IAAI,EAAE,YAAY,GAAG,SAAS,KAAK,IAAI;gBAC7C,OAAO;sBACD,GAAG;sBACH,GAAG;kBACP,OAAO;kBACP,MAAM,EAAE;0BACA,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI;eAC1C,OAAO;mBACH,OAAO;eACX,OAAO;wCAuHnB,CAAC;AA0YF,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* This module is for internal type resolution only.
|
|
4
|
+
* Do not import directly from this path.
|
|
5
|
+
* Use "@sth87/shadcn-design-system" instead.
|
|
6
|
+
*/
|
|
7
|
+
export declare const colorMap: {
|
|
8
|
+
readonly primary: {
|
|
9
|
+
readonly bg: "#3b82f6";
|
|
10
|
+
readonly fg: "#ffffff";
|
|
11
|
+
};
|
|
12
|
+
readonly secondary: {
|
|
13
|
+
readonly bg: "#64748b";
|
|
14
|
+
readonly fg: "#ffffff";
|
|
15
|
+
};
|
|
16
|
+
readonly accent: {
|
|
17
|
+
readonly bg: "#8b5cf6";
|
|
18
|
+
readonly fg: "#ffffff";
|
|
19
|
+
};
|
|
20
|
+
readonly destructive: {
|
|
21
|
+
readonly bg: "#ef4444";
|
|
22
|
+
readonly fg: "#ffffff";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=color.d.ts.map
|