@lglab/compose-ui 0.20.0 → 0.22.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/dist/accordion.d.ts +40 -0
- package/dist/accordion.js +46 -0
- package/dist/alert-dialog.d.ts +87 -0
- package/dist/alert-dialog.js +112 -0
- package/dist/arrow-svg-C6zQTvgS.js +40 -0
- package/dist/avatar.d.ts +47 -0
- package/dist/avatar.js +81 -0
- package/dist/button-variants-CbFMPwc8.js +33 -0
- package/dist/button.d.ts +21 -0
- package/dist/button.js +25 -0
- package/dist/card.d.ts +99 -0
- package/dist/card.js +67 -0
- package/dist/collapsible.d.ts +26 -0
- package/dist/collapsible.js +33 -0
- package/dist/context-menu.d.ts +138 -0
- package/dist/context-menu.js +174 -0
- package/dist/control-variants-Bwep4n0y.js +37 -0
- package/dist/dialog.d.ts +92 -0
- package/dist/dialog.js +106 -0
- package/dist/drawer.d.ts +99 -0
- package/dist/drawer.js +112 -0
- package/dist/index.d.ts +1334 -47
- package/dist/index.js +194 -0
- package/dist/menu.d.ts +138 -0
- package/dist/menu.js +147 -0
- package/dist/menubar.d.ts +155 -0
- package/dist/menubar.js +170 -0
- package/dist/meter.d.ts +43 -0
- package/dist/meter.js +66 -0
- package/dist/popover.d.ts +82 -0
- package/dist/popover.js +95 -0
- package/dist/preview-card.d.ts +54 -0
- package/dist/preview-card.js +82 -0
- package/dist/progress.d.ts +40 -0
- package/dist/progress.js +51 -0
- package/dist/scroll-area.d.ts +47 -0
- package/dist/scroll-area.js +57 -0
- package/dist/separator.d.ts +12 -0
- package/dist/separator.js +24 -0
- package/dist/slider.d.ts +47 -0
- package/dist/slider.js +63 -0
- package/dist/switch.d.ts +19 -0
- package/dist/switch.js +40 -0
- package/dist/tabs.d.ts +49 -0
- package/dist/tabs.js +85 -0
- package/dist/toggle-group.d.ts +29 -0
- package/dist/toggle-group.js +35 -0
- package/dist/toggle.d.ts +21 -0
- package/dist/toggle.js +16 -0
- package/dist/tooltip.d.ts +62 -0
- package/dist/tooltip.js +93 -0
- package/dist/utils-B6yFEsav.js +8 -0
- package/package.json +96 -4
- package/dist/components/accordion.d.ts +0 -30
- package/dist/components/accordion.d.ts.map +0 -1
- package/dist/components/alert-dialog.d.ts +0 -64
- package/dist/components/alert-dialog.d.ts.map +0 -1
- package/dist/components/avatar.d.ts +0 -38
- package/dist/components/avatar.d.ts.map +0 -1
- package/dist/components/button.d.ts +0 -16
- package/dist/components/button.d.ts.map +0 -1
- package/dist/components/card.d.ts +0 -79
- package/dist/components/card.d.ts.map +0 -1
- package/dist/components/collapsible.d.ts +0 -20
- package/dist/components/collapsible.d.ts.map +0 -1
- package/dist/components/context-menu.d.ts +0 -100
- package/dist/components/context-menu.d.ts.map +0 -1
- package/dist/components/dialog.d.ts +0 -69
- package/dist/components/dialog.d.ts.map +0 -1
- package/dist/components/drawer.d.ts +0 -74
- package/dist/components/drawer.d.ts.map +0 -1
- package/dist/components/menu.d.ts +0 -100
- package/dist/components/menu.d.ts.map +0 -1
- package/dist/components/menubar.d.ts +0 -112
- package/dist/components/menubar.d.ts.map +0 -1
- package/dist/components/meter.d.ts +0 -33
- package/dist/components/meter.d.ts.map +0 -1
- package/dist/components/popover.d.ts +0 -60
- package/dist/components/popover.d.ts.map +0 -1
- package/dist/components/progress.d.ts +0 -30
- package/dist/components/progress.d.ts.map +0 -1
- package/dist/components/scroll-area.d.ts +0 -35
- package/dist/components/scroll-area.d.ts.map +0 -1
- package/dist/components/separator.d.ts +0 -10
- package/dist/components/separator.d.ts.map +0 -1
- package/dist/components/slider.d.ts +0 -35
- package/dist/components/slider.d.ts.map +0 -1
- package/dist/components/switch.d.ts +0 -15
- package/dist/components/switch.d.ts.map +0 -1
- package/dist/components/tabs.d.ts +0 -39
- package/dist/components/tabs.d.ts.map +0 -1
- package/dist/components/toggle-group.d.ts +0 -22
- package/dist/components/toggle-group.d.ts.map +0 -1
- package/dist/components/toggle.d.ts +0 -16
- package/dist/components/toggle.d.ts.map +0 -1
- package/dist/components/tooltip.d.ts +0 -47
- package/dist/components/tooltip.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.es.js +0 -1666
- package/dist/lib/arrow-svg.d.ts +0 -9
- package/dist/lib/arrow-svg.d.ts.map +0 -1
- package/dist/lib/button-variants.d.ts +0 -7
- package/dist/lib/button-variants.d.ts.map +0 -1
- package/dist/lib/control-variants.d.ts +0 -7
- package/dist/lib/control-variants.d.ts.map +0 -1
- package/dist/lib/tooltip-variants.d.ts +0 -9
- package/dist/lib/tooltip-variants.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
package/dist/tooltip.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { Tooltip as a } from "@base-ui/react/tooltip";
|
|
4
|
+
import * as l from "react";
|
|
5
|
+
import { A as c } from "./arrow-svg-C6zQTvgS.js";
|
|
6
|
+
import { cva as f } from "class-variance-authority";
|
|
7
|
+
import { c as e } from "./utils-B6yFEsav.js";
|
|
8
|
+
const u = f(
|
|
9
|
+
[
|
|
10
|
+
"rounded-md px-2 py-1 text-sm",
|
|
11
|
+
"origin-(--transform-origin)",
|
|
12
|
+
"transition-[transform,scale,opacity]",
|
|
13
|
+
"data-starting-style:scale-90 data-starting-style:opacity-0",
|
|
14
|
+
"data-ending-style:scale-90 data-ending-style:opacity-0",
|
|
15
|
+
"data-instant:duration-0"
|
|
16
|
+
],
|
|
17
|
+
{
|
|
18
|
+
variants: {
|
|
19
|
+
variant: {
|
|
20
|
+
default: "bg-foreground text-background",
|
|
21
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
22
|
+
outline: "bg-background text-foreground border border-border shadow-xs"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
variant: "default"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
), m = {
|
|
30
|
+
default: {
|
|
31
|
+
fill: "fill-foreground",
|
|
32
|
+
stroke: "fill-foreground"
|
|
33
|
+
},
|
|
34
|
+
secondary: {
|
|
35
|
+
fill: "fill-secondary",
|
|
36
|
+
stroke: "fill-secondary"
|
|
37
|
+
},
|
|
38
|
+
outline: {
|
|
39
|
+
fill: "fill-background",
|
|
40
|
+
stroke: "fill-border"
|
|
41
|
+
}
|
|
42
|
+
}, n = l.createContext("default"), g = (t) => /* @__PURE__ */ r(a.Provider, { ...t });
|
|
43
|
+
g.displayName = "TooltipProvider";
|
|
44
|
+
const y = ({ variant: t = "default", ...o }) => /* @__PURE__ */ r(n.Provider, { value: t, children: /* @__PURE__ */ r(a.Root, { ...o }) });
|
|
45
|
+
y.displayName = "TooltipRoot";
|
|
46
|
+
const x = ({ className: t, ...o }) => /* @__PURE__ */ r(a.Trigger, { className: e(t), delay: 200, ...o });
|
|
47
|
+
x.displayName = "TooltipTrigger";
|
|
48
|
+
const T = (t) => /* @__PURE__ */ r(a.Portal, { ...t });
|
|
49
|
+
T.displayName = "TooltipPortal";
|
|
50
|
+
const v = ({ className: t, ...o }) => /* @__PURE__ */ r(
|
|
51
|
+
a.Positioner,
|
|
52
|
+
{
|
|
53
|
+
className: e("z-50 outline-none", t),
|
|
54
|
+
sideOffset: 8,
|
|
55
|
+
...o
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
v.displayName = "TooltipPositioner";
|
|
59
|
+
const P = ({ className: t, variant: o, ...i }) => {
|
|
60
|
+
const s = l.useContext(n), d = o ?? s;
|
|
61
|
+
return /* @__PURE__ */ r(
|
|
62
|
+
a.Popup,
|
|
63
|
+
{
|
|
64
|
+
className: e(u({ variant: d }), t),
|
|
65
|
+
...i
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
};
|
|
69
|
+
P.displayName = "TooltipPopup";
|
|
70
|
+
const N = ({ className: t, variant: o, ...i }) => {
|
|
71
|
+
const s = l.useContext(n), p = m[o ?? s];
|
|
72
|
+
return /* @__PURE__ */ r(
|
|
73
|
+
a.Arrow,
|
|
74
|
+
{
|
|
75
|
+
className: e(
|
|
76
|
+
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
77
|
+
t
|
|
78
|
+
),
|
|
79
|
+
...i,
|
|
80
|
+
children: /* @__PURE__ */ r(c, { fillClassName: p.fill, strokeClassName: p.stroke })
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
};
|
|
84
|
+
N.displayName = "TooltipArrow";
|
|
85
|
+
export {
|
|
86
|
+
N as TooltipArrow,
|
|
87
|
+
P as TooltipPopup,
|
|
88
|
+
T as TooltipPortal,
|
|
89
|
+
v as TooltipPositioner,
|
|
90
|
+
g as TooltipProvider,
|
|
91
|
+
y as TooltipRoot,
|
|
92
|
+
x as TooltipTrigger
|
|
93
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lglab/compose-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "A collection of components built with Base UI & Tailwind CSS",
|
|
5
5
|
"author": "LGLab",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,13 +19,105 @@
|
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
21
|
"types": "./dist/index.d.ts",
|
|
22
|
-
"main": "./dist/index.
|
|
23
|
-
"module": "./dist/index.
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.js",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
-
"import": "./dist/index.
|
|
26
|
+
"import": "./dist/index.js",
|
|
27
27
|
"types": "./dist/index.d.ts"
|
|
28
28
|
},
|
|
29
|
+
"./accordion": {
|
|
30
|
+
"import": "./dist/accordion.js",
|
|
31
|
+
"types": "./dist/accordion.d.ts"
|
|
32
|
+
},
|
|
33
|
+
"./alert-dialog": {
|
|
34
|
+
"import": "./dist/alert-dialog.js",
|
|
35
|
+
"types": "./dist/alert-dialog.d.ts"
|
|
36
|
+
},
|
|
37
|
+
"./avatar": {
|
|
38
|
+
"import": "./dist/avatar.js",
|
|
39
|
+
"types": "./dist/avatar.d.ts"
|
|
40
|
+
},
|
|
41
|
+
"./button": {
|
|
42
|
+
"import": "./dist/button.js",
|
|
43
|
+
"types": "./dist/button.d.ts"
|
|
44
|
+
},
|
|
45
|
+
"./card": {
|
|
46
|
+
"import": "./dist/card.js",
|
|
47
|
+
"types": "./dist/card.d.ts"
|
|
48
|
+
},
|
|
49
|
+
"./collapsible": {
|
|
50
|
+
"import": "./dist/collapsible.js",
|
|
51
|
+
"types": "./dist/collapsible.d.ts"
|
|
52
|
+
},
|
|
53
|
+
"./context-menu": {
|
|
54
|
+
"import": "./dist/context-menu.js",
|
|
55
|
+
"types": "./dist/context-menu.d.ts"
|
|
56
|
+
},
|
|
57
|
+
"./dialog": {
|
|
58
|
+
"import": "./dist/dialog.js",
|
|
59
|
+
"types": "./dist/dialog.d.ts"
|
|
60
|
+
},
|
|
61
|
+
"./drawer": {
|
|
62
|
+
"import": "./dist/drawer.js",
|
|
63
|
+
"types": "./dist/drawer.d.ts"
|
|
64
|
+
},
|
|
65
|
+
"./menu": {
|
|
66
|
+
"import": "./dist/menu.js",
|
|
67
|
+
"types": "./dist/menu.d.ts"
|
|
68
|
+
},
|
|
69
|
+
"./menubar": {
|
|
70
|
+
"import": "./dist/menubar.js",
|
|
71
|
+
"types": "./dist/menubar.d.ts"
|
|
72
|
+
},
|
|
73
|
+
"./meter": {
|
|
74
|
+
"import": "./dist/meter.js",
|
|
75
|
+
"types": "./dist/meter.d.ts"
|
|
76
|
+
},
|
|
77
|
+
"./popover": {
|
|
78
|
+
"import": "./dist/popover.js",
|
|
79
|
+
"types": "./dist/popover.d.ts"
|
|
80
|
+
},
|
|
81
|
+
"./preview-card": {
|
|
82
|
+
"import": "./dist/preview-card.js",
|
|
83
|
+
"types": "./dist/preview-card.d.ts"
|
|
84
|
+
},
|
|
85
|
+
"./progress": {
|
|
86
|
+
"import": "./dist/progress.js",
|
|
87
|
+
"types": "./dist/progress.d.ts"
|
|
88
|
+
},
|
|
89
|
+
"./scroll-area": {
|
|
90
|
+
"import": "./dist/scroll-area.js",
|
|
91
|
+
"types": "./dist/scroll-area.d.ts"
|
|
92
|
+
},
|
|
93
|
+
"./separator": {
|
|
94
|
+
"import": "./dist/separator.js",
|
|
95
|
+
"types": "./dist/separator.d.ts"
|
|
96
|
+
},
|
|
97
|
+
"./slider": {
|
|
98
|
+
"import": "./dist/slider.js",
|
|
99
|
+
"types": "./dist/slider.d.ts"
|
|
100
|
+
},
|
|
101
|
+
"./switch": {
|
|
102
|
+
"import": "./dist/switch.js",
|
|
103
|
+
"types": "./dist/switch.d.ts"
|
|
104
|
+
},
|
|
105
|
+
"./tabs": {
|
|
106
|
+
"import": "./dist/tabs.js",
|
|
107
|
+
"types": "./dist/tabs.d.ts"
|
|
108
|
+
},
|
|
109
|
+
"./toggle": {
|
|
110
|
+
"import": "./dist/toggle.js",
|
|
111
|
+
"types": "./dist/toggle.d.ts"
|
|
112
|
+
},
|
|
113
|
+
"./toggle-group": {
|
|
114
|
+
"import": "./dist/toggle-group.js",
|
|
115
|
+
"types": "./dist/toggle-group.d.ts"
|
|
116
|
+
},
|
|
117
|
+
"./tooltip": {
|
|
118
|
+
"import": "./dist/tooltip.js",
|
|
119
|
+
"types": "./dist/tooltip.d.ts"
|
|
120
|
+
},
|
|
29
121
|
"./styles/*": "./dist/styles/*"
|
|
30
122
|
},
|
|
31
123
|
"files": [
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Accordion as BaseAccordion } from '@base-ui/react/accordion';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
type AccordionRootProps = React.ComponentProps<typeof BaseAccordion.Root>;
|
|
4
|
-
declare const AccordionRoot: {
|
|
5
|
-
({ className, ...props }: AccordionRootProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
type AccordionItemProps = React.ComponentProps<typeof BaseAccordion.Item>;
|
|
9
|
-
declare const AccordionItem: {
|
|
10
|
-
({ className, ...props }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
type AccordionHeaderProps = React.ComponentProps<typeof BaseAccordion.Header>;
|
|
14
|
-
declare const AccordionHeader: {
|
|
15
|
-
({ className, ...props }: AccordionHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
type AccordionTriggerProps = React.ComponentProps<typeof BaseAccordion.Trigger>;
|
|
19
|
-
declare const AccordionTrigger: {
|
|
20
|
-
({ className, children, ...props }: AccordionTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
type AccordionPanelProps = React.ComponentProps<typeof BaseAccordion.Panel>;
|
|
24
|
-
declare const AccordionPanel: {
|
|
25
|
-
({ className, ...props }: AccordionPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
displayName: string;
|
|
27
|
-
};
|
|
28
|
-
export { AccordionRoot, AccordionItem, AccordionHeader, AccordionTrigger, AccordionPanel };
|
|
29
|
-
export type { AccordionRootProps, AccordionItemProps, AccordionHeaderProps, AccordionTriggerProps, AccordionPanelProps, };
|
|
30
|
-
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/components/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACrE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,CAAA;AAEzE,QAAA,MAAM,aAAa;8BAA6B,kBAAkB;;CAEjE,CAAA;AAQD,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,CAAA;AAEzE,QAAA,MAAM,aAAa;8BAA6B,kBAAkB;;CAOjE,CAAA;AAQD,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,MAAM,CAAC,CAAA;AAE7E,QAAA,MAAM,eAAe;8BAA6B,oBAAoB;;CAErE,CAAA;AAQD,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,CAAA;AAE/E,QAAA,MAAM,gBAAgB;wCAAuC,qBAAqB;;CAYjF,CAAA;AAQD,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,KAAK,CAAC,CAAA;AAE3E,QAAA,MAAM,cAAc;8BAA6B,mBAAmB;;CAUnE,CAAA;AAQD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAA;AAE1F,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,CAAA"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ButtonSize, ButtonVariant } from '../lib/button-variants';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
type AlertDialogRootProps = React.ComponentProps<typeof BaseAlertDialog.Root>;
|
|
5
|
-
declare const AlertDialogRoot: {
|
|
6
|
-
(props: AlertDialogRootProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
type AlertDialogTriggerProps = React.ComponentProps<typeof BaseAlertDialog.Trigger> & {
|
|
10
|
-
/** Visual style variant */
|
|
11
|
-
variant?: ButtonVariant;
|
|
12
|
-
/** Size of the trigger button */
|
|
13
|
-
size?: ButtonSize;
|
|
14
|
-
};
|
|
15
|
-
declare const AlertDialogTrigger: {
|
|
16
|
-
({ className, variant, size, ...props }: AlertDialogTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
type AlertDialogPortalProps = React.ComponentProps<typeof BaseAlertDialog.Portal>;
|
|
20
|
-
declare const AlertDialogPortal: {
|
|
21
|
-
(props: AlertDialogPortalProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
|
-
type AlertDialogBackdropProps = React.ComponentProps<typeof BaseAlertDialog.Backdrop>;
|
|
25
|
-
declare const AlertDialogBackdrop: {
|
|
26
|
-
({ className, ...props }: AlertDialogBackdropProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
displayName: string;
|
|
28
|
-
};
|
|
29
|
-
type AlertDialogViewportProps = React.ComponentProps<typeof BaseAlertDialog.Viewport>;
|
|
30
|
-
declare const AlertDialogViewport: {
|
|
31
|
-
({ className, ...props }: AlertDialogViewportProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
displayName: string;
|
|
33
|
-
};
|
|
34
|
-
type AlertDialogPopupProps = React.ComponentProps<typeof BaseAlertDialog.Popup> & {
|
|
35
|
-
/** Size of the alert dialog popup */
|
|
36
|
-
size?: 'sm' | 'default' | 'lg' | 'xl' | 'full';
|
|
37
|
-
};
|
|
38
|
-
declare const AlertDialogPopup: {
|
|
39
|
-
({ className, size, ...props }: AlertDialogPopupProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
displayName: string;
|
|
41
|
-
};
|
|
42
|
-
type AlertDialogTitleProps = React.ComponentProps<typeof BaseAlertDialog.Title>;
|
|
43
|
-
declare const AlertDialogTitle: {
|
|
44
|
-
({ className, ...props }: AlertDialogTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
displayName: string;
|
|
46
|
-
};
|
|
47
|
-
type AlertDialogDescriptionProps = React.ComponentProps<typeof BaseAlertDialog.Description>;
|
|
48
|
-
declare const AlertDialogDescription: {
|
|
49
|
-
({ className, ...props }: AlertDialogDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
displayName: string;
|
|
51
|
-
};
|
|
52
|
-
type AlertDialogCloseProps = React.ComponentProps<typeof BaseAlertDialog.Close> & {
|
|
53
|
-
/** Visual style variant */
|
|
54
|
-
variant?: ButtonVariant;
|
|
55
|
-
/** Size of the close button */
|
|
56
|
-
size?: ButtonSize;
|
|
57
|
-
};
|
|
58
|
-
declare const AlertDialogClose: {
|
|
59
|
-
({ className, variant, size, ...props }: AlertDialogCloseProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
-
displayName: string;
|
|
61
|
-
};
|
|
62
|
-
export { AlertDialogRoot, AlertDialogTrigger, AlertDialogPortal, AlertDialogBackdrop, AlertDialogViewport, AlertDialogPopup, AlertDialogTitle, AlertDialogDescription, AlertDialogClose, };
|
|
63
|
-
export type { AlertDialogRootProps, AlertDialogTriggerProps, AlertDialogPortalProps, AlertDialogBackdropProps, AlertDialogViewportProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps, };
|
|
64
|
-
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../src/components/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EACL,KAAK,UAAU,EACf,KAAK,aAAa,EAEnB,MAA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AAqB;;CAOvE,CAAA;AAQD,KAAK,2BAA2B,GAAG,KAAK,CAAC,cAAc,CACrD,OAAO,eAAe,CAAC,WAAW,CACnC,CAAA;AAED,QAAA,MAAM,sBAAsB;8BAA6B,2BAA2B;;CAEnF,CAAA;AAQD,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,GAAG;IAChF,2BAA2B;IAC3B,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,+BAA+B;IAC/B,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,gBAAgB;6CAKnB,qBAAqB;;CAOvB,CAAA;AAQD,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,GACjB,CAAA;AAED,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,GACtB,CAAA"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Avatar as BaseAvatar } from '@base-ui/react/avatar';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
type AvatarSize = 'sm' | 'default' | 'lg';
|
|
4
|
-
type AvatarRootProps = React.ComponentProps<typeof BaseAvatar.Root> & {
|
|
5
|
-
/** Size of the avatar */
|
|
6
|
-
size?: AvatarSize;
|
|
7
|
-
};
|
|
8
|
-
declare const AvatarRoot: {
|
|
9
|
-
({ className, size, ...props }: AvatarRootProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
type AvatarImageProps = React.ComponentProps<typeof BaseAvatar.Image>;
|
|
13
|
-
declare const AvatarImage: {
|
|
14
|
-
({ className, ...props }: AvatarImageProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
type AvatarFallbackProps = React.ComponentProps<typeof BaseAvatar.Fallback>;
|
|
18
|
-
declare const AvatarFallback: {
|
|
19
|
-
({ className, ...props }: AvatarFallbackProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
|
-
type AvatarStackProps = {
|
|
23
|
-
/** ARIA label for the avatar stack list */
|
|
24
|
-
'aria-label': string;
|
|
25
|
-
/** Maximum number of avatars to display before showing overflow indicator */
|
|
26
|
-
maxVisible?: number;
|
|
27
|
-
/** Additional CSS classes */
|
|
28
|
-
className?: string;
|
|
29
|
-
/** Avatar components to display */
|
|
30
|
-
children: React.ReactNode;
|
|
31
|
-
};
|
|
32
|
-
declare const AvatarStack: {
|
|
33
|
-
({ "aria-label": ariaLabel, maxVisible, className, children, }: AvatarStackProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
displayName: string;
|
|
35
|
-
};
|
|
36
|
-
export { AvatarRoot, AvatarImage, AvatarFallback, AvatarStack };
|
|
37
|
-
export type { AvatarRootProps, AvatarImageProps, AvatarFallbackProps, AvatarStackProps };
|
|
38
|
-
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA4B9B,KAAK,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;AAMzC,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG;IACpE,yBAAyB;IACzB,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,UAAU;oCAAmC,eAAe;;CAIjE,CAAA;AAQD,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAA;AAErE,QAAA,MAAM,WAAW;8BAA6B,gBAAgB;;CAO7D,CAAA;AAQD,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAA;AAE3E,QAAA,MAAM,cAAc;8BAA6B,mBAAmB;;CAUnE,CAAA;AAQD,KAAK,gBAAgB,GAAG;IACtB,2CAA2C;IAC3C,YAAY,EAAE,MAAM,CAAA;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mCAAmC;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,WAAW;oEAKd,gBAAgB;;CAyClB,CAAA;AAQD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,CAAA;AAE/D,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Button as BaseButton } from '@base-ui/react/button';
|
|
2
|
-
import { ButtonSize, ButtonVariant } from '../lib/button-variants';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
type ButtonProps = React.ComponentProps<typeof BaseButton> & {
|
|
5
|
-
/** Visual style variant */
|
|
6
|
-
variant?: ButtonVariant;
|
|
7
|
-
/** Size of the button */
|
|
8
|
-
size?: ButtonSize;
|
|
9
|
-
};
|
|
10
|
-
declare const Button: {
|
|
11
|
-
({ className, variant, size, disabled, children, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
export { Button };
|
|
15
|
-
export type { ButtonProps };
|
|
16
|
-
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EACL,KAAK,UAAU,EACf,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAA;AAG/B,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG;IAC3D,2BAA2B;IAC3B,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,yBAAyB;IACzB,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,MAAM;iEAOT,WAAW;;CAUb,CAAA;AAID,OAAO,EAAE,MAAM,EAAE,CAAA;AAEjB,YAAY,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const cardVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "outline" | "elevated" | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
export type CardVariant = VariantProps<typeof cardVariants>['variant'];
|
|
7
|
-
type CardRootProps = React.ComponentProps<'article'> & VariantProps<typeof cardVariants>;
|
|
8
|
-
/**
|
|
9
|
-
* The root container for a card component.
|
|
10
|
-
* Renders as an `<article>` for semantic HTML.
|
|
11
|
-
*/
|
|
12
|
-
declare const CardRoot: React.ForwardRefExoticComponent<Omit<CardRootProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
13
|
-
type CardMediaProps = React.ComponentProps<'div'>;
|
|
14
|
-
/**
|
|
15
|
-
* Container for media content (images, videos) within a card.
|
|
16
|
-
* Use Tailwind aspect-* classes for aspect ratios (e.g., className="aspect-video").
|
|
17
|
-
*/
|
|
18
|
-
declare const CardMedia: {
|
|
19
|
-
({ className, ...props }: CardMediaProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
|
-
type CardHeaderProps = React.ComponentProps<'header'>;
|
|
23
|
-
/**
|
|
24
|
-
* Container for the card's header content (title, description).
|
|
25
|
-
*/
|
|
26
|
-
declare const CardHeader: {
|
|
27
|
-
({ className, ...props }: CardHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
30
|
-
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
31
|
-
type CardTitleProps = React.ComponentProps<'h3'> & {
|
|
32
|
-
/** The heading level to render */
|
|
33
|
-
as?: HeadingLevel;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* The card's title. Renders as an `<h3>` by default.
|
|
37
|
-
* Use the `as` prop to change the heading level.
|
|
38
|
-
*/
|
|
39
|
-
declare const CardTitle: {
|
|
40
|
-
({ as: Component, className, ...props }: CardTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
displayName: string;
|
|
42
|
-
};
|
|
43
|
-
type CardDescriptionProps = React.ComponentProps<'p'>;
|
|
44
|
-
/**
|
|
45
|
-
* Secondary text content for the card.
|
|
46
|
-
*/
|
|
47
|
-
declare const CardDescription: {
|
|
48
|
-
({ className, ...props }: CardDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
displayName: string;
|
|
50
|
-
};
|
|
51
|
-
type CardContentProps = React.ComponentProps<'div'>;
|
|
52
|
-
/**
|
|
53
|
-
* Container for the main content of the card.
|
|
54
|
-
*/
|
|
55
|
-
declare const CardContent: {
|
|
56
|
-
({ className, ...props }: CardContentProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
displayName: string;
|
|
58
|
-
};
|
|
59
|
-
type CardSectionProps = React.ComponentProps<'section'>;
|
|
60
|
-
/**
|
|
61
|
-
* A distinct section within a card, useful for multi-section layouts.
|
|
62
|
-
* Use Separator component between sections if visual dividers are needed.
|
|
63
|
-
*/
|
|
64
|
-
declare const CardSection: {
|
|
65
|
-
({ className, ...props }: CardSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
-
displayName: string;
|
|
67
|
-
};
|
|
68
|
-
type CardFooterProps = React.ComponentProps<'footer'>;
|
|
69
|
-
/**
|
|
70
|
-
* Container for card actions and footer content.
|
|
71
|
-
* Use Separator component above footer if a visual divider is needed.
|
|
72
|
-
*/
|
|
73
|
-
declare const CardFooter: {
|
|
74
|
-
({ className, ...props }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
75
|
-
displayName: string;
|
|
76
|
-
};
|
|
77
|
-
export { CardRoot, CardMedia, CardHeader, CardTitle, CardDescription, CardContent, CardSection, CardFooter, };
|
|
78
|
-
export type { CardRootProps, CardMediaProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardContentProps, CardSectionProps, CardFooterProps, };
|
|
79
|
-
//# sourceMappingURL=card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,QAAA,MAAM,YAAY;;8EAWhB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAAA;AAMtE,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAA;AAExF;;;GAGG;AACH,QAAA,MAAM,QAAQ,gGAUb,CAAA;AAQD,KAAK,cAAc,GAAG,KAAK,CAAC,cA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oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,CAAA"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Collapsible as BaseCollapsible } from '@base-ui/react/collapsible';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
type CollapsibleRootProps = React.ComponentProps<typeof BaseCollapsible.Root>;
|
|
4
|
-
declare const CollapsibleRoot: {
|
|
5
|
-
({ className, ...props }: CollapsibleRootProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
type CollapsibleTriggerProps = React.ComponentProps<typeof BaseCollapsible.Trigger>;
|
|
9
|
-
declare const CollapsibleTrigger: {
|
|
10
|
-
({ className, ...props }: CollapsibleTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
type CollapsiblePanelProps = React.ComponentProps<typeof BaseCollapsible.Panel>;
|
|
14
|
-
declare const CollapsiblePanel: {
|
|
15
|
-
({ className, ...props }: CollapsiblePanelProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
export { CollapsibleRoot, CollapsibleTrigger, CollapsiblePanel };
|
|
19
|
-
export type { CollapsibleRootProps, CollapsibleTriggerProps, CollapsiblePanelProps };
|
|
20
|
-
//# sourceMappingURL=collapsible.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../src/components/collapsible.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAA;AAE7E,QAAA,MAAM,eAAe;8BAA6B,oBAAoB;;CAErE,CAAA;AAQD,KAAK,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAA;AAEnF,QAAA,MAAM,kBAAkB;8BAA6B,uBAAuB;;CAO3E,CAAA;AAQD,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAA;AAE/E,QAAA,MAAM,gBAAgB;8BAA6B,qBAAqB;;CAavE,CAAA;AAQD,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,CAAA;AAEhE,YAAY,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,CAAA"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { ContextMenu as BaseContextMenu } from '@base-ui/react/context-menu';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
type ContextMenuRootProps = React.ComponentProps<typeof BaseContextMenu.Root>;
|
|
4
|
-
declare const ContextMenuRoot: {
|
|
5
|
-
(props: ContextMenuRootProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
type ContextMenuTriggerProps = React.ComponentProps<typeof BaseContextMenu.Trigger>;
|
|
9
|
-
declare const ContextMenuTrigger: {
|
|
10
|
-
({ className, ...props }: ContextMenuTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
type ContextMenuPortalProps = React.ComponentProps<typeof BaseContextMenu.Portal>;
|
|
14
|
-
declare const ContextMenuPortal: {
|
|
15
|
-
(props: ContextMenuPortalProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
type ContextMenuPositionerProps = React.ComponentProps<typeof BaseContextMenu.Positioner>;
|
|
19
|
-
declare const ContextMenuPositioner: {
|
|
20
|
-
({ className, ...props }: ContextMenuPositionerProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
type ContextMenuPopupProps = React.ComponentProps<typeof BaseContextMenu.Popup>;
|
|
24
|
-
declare const ContextMenuPopup: {
|
|
25
|
-
({ className, ...props }: ContextMenuPopupProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
displayName: string;
|
|
27
|
-
};
|
|
28
|
-
type ContextMenuArrowProps = React.ComponentProps<typeof BaseContextMenu.Arrow>;
|
|
29
|
-
declare const ContextMenuArrow: {
|
|
30
|
-
({ className, ...props }: ContextMenuArrowProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
displayName: string;
|
|
32
|
-
};
|
|
33
|
-
type ContextMenuItemProps = React.ComponentProps<typeof BaseContextMenu.Item>;
|
|
34
|
-
declare const ContextMenuItem: {
|
|
35
|
-
({ className, ...props }: ContextMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
displayName: string;
|
|
37
|
-
};
|
|
38
|
-
type ContextMenuSeparatorProps = React.ComponentProps<typeof BaseContextMenu.Separator>;
|
|
39
|
-
declare const ContextMenuSeparator: {
|
|
40
|
-
({ className, ...props }: ContextMenuSeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
displayName: string;
|
|
42
|
-
};
|
|
43
|
-
type ContextMenuGroupProps = React.ComponentProps<typeof BaseContextMenu.Group>;
|
|
44
|
-
declare const ContextMenuGroup: {
|
|
45
|
-
({ className, ...props }: ContextMenuGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
displayName: string;
|
|
47
|
-
};
|
|
48
|
-
type ContextMenuGroupLabelProps = React.ComponentProps<typeof BaseContextMenu.GroupLabel>;
|
|
49
|
-
declare const ContextMenuGroupLabel: {
|
|
50
|
-
({ className, ...props }: ContextMenuGroupLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
displayName: string;
|
|
52
|
-
};
|
|
53
|
-
type ContextMenuRadioGroupProps = React.ComponentProps<typeof BaseContextMenu.RadioGroup>;
|
|
54
|
-
declare const ContextMenuRadioGroup: {
|
|
55
|
-
({ className, ...props }: ContextMenuRadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
displayName: string;
|
|
57
|
-
};
|
|
58
|
-
type ContextMenuRadioItemProps = React.ComponentProps<typeof BaseContextMenu.RadioItem>;
|
|
59
|
-
declare const ContextMenuRadioItem: {
|
|
60
|
-
({ className, ...props }: ContextMenuRadioItemProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
-
displayName: string;
|
|
62
|
-
};
|
|
63
|
-
type ContextMenuCheckboxItemProps = React.ComponentProps<typeof BaseContextMenu.CheckboxItem>;
|
|
64
|
-
declare const ContextMenuCheckboxItem: {
|
|
65
|
-
({ className, ...props }: ContextMenuCheckboxItemProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
-
displayName: string;
|
|
67
|
-
};
|
|
68
|
-
type ContextMenuRadioItemIndicatorProps = React.ComponentProps<typeof BaseContextMenu.RadioItemIndicator>;
|
|
69
|
-
declare const ContextMenuRadioItemIndicator: {
|
|
70
|
-
({ className, ...props }: ContextMenuRadioItemIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
-
displayName: string;
|
|
72
|
-
};
|
|
73
|
-
type ContextMenuCheckboxItemIndicatorProps = React.ComponentProps<typeof BaseContextMenu.CheckboxItemIndicator>;
|
|
74
|
-
declare const ContextMenuCheckboxItemIndicator: {
|
|
75
|
-
({ className, ...props }: ContextMenuCheckboxItemIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
76
|
-
displayName: string;
|
|
77
|
-
};
|
|
78
|
-
type ContextMenuCheckboxItemLabelProps = React.ComponentProps<'span'>;
|
|
79
|
-
declare const ContextMenuCheckboxItemLabel: {
|
|
80
|
-
({ className, ...props }: ContextMenuCheckboxItemLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
81
|
-
displayName: string;
|
|
82
|
-
};
|
|
83
|
-
type ContextMenuRadioItemLabelProps = React.ComponentProps<'span'>;
|
|
84
|
-
declare const ContextMenuRadioItemLabel: {
|
|
85
|
-
({ className, ...props }: ContextMenuRadioItemLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
-
displayName: string;
|
|
87
|
-
};
|
|
88
|
-
type ContextMenuSubmenuTriggerProps = React.ComponentProps<typeof BaseContextMenu.SubmenuTrigger>;
|
|
89
|
-
declare const ContextMenuSubmenuTrigger: {
|
|
90
|
-
({ className, ...props }: ContextMenuSubmenuTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
91
|
-
displayName: string;
|
|
92
|
-
};
|
|
93
|
-
type ContextMenuSubmenuRootProps = React.ComponentProps<typeof BaseContextMenu.SubmenuRoot>;
|
|
94
|
-
declare const ContextMenuSubmenuRoot: {
|
|
95
|
-
(props: ContextMenuSubmenuRootProps): import("react/jsx-runtime").JSX.Element;
|
|
96
|
-
displayName: string;
|
|
97
|
-
};
|
|
98
|
-
export { ContextMenuRoot, ContextMenuTrigger, ContextMenuPortal, ContextMenuPositioner, ContextMenuPopup, ContextMenuArrow, ContextMenuItem, ContextMenuSeparator, ContextMenuGroup, ContextMenuGroupLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuRadioItemIndicator, ContextMenuRadioItemLabel, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, ContextMenuCheckboxItemLabel, ContextMenuSubmenuTrigger, ContextMenuSubmenuRoot, };
|
|
99
|
-
export type { ContextMenuRootProps, ContextMenuTriggerProps, ContextMenuPortalProps, ContextMenuPositionerProps, ContextMenuPopupProps, ContextMenuArrowProps, ContextMenuItemProps, ContextMenuSeparatorProps, ContextMenuGroupProps, ContextMenuGroupLabelProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuRadioItemIndicatorProps, ContextMenuRadioItemLabelProps, ContextMenuCheckboxItemProps, ContextMenuCheckboxItemIndicatorProps, ContextMenuCheckboxItemLabelProps, ContextMenuSubmenuTriggerProps, ContextMenuSubmenuRootProps, };
|
|
100
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