@psnext/design-system 1.3.0 → 1.5.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/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index10.d.cts +6 -6
- package/dist/index10.d.cts.map +1 -1
- package/dist/index10.d.ts +6 -6
- package/dist/index10.d.ts.map +1 -1
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.ts +3 -3
- package/dist/index11.d.ts.map +1 -1
- package/dist/index12.d.cts +9 -9
- package/dist/index12.d.ts +12 -12
- package/dist/index12.d.ts.map +1 -1
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.ts +6 -6
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.ts +5 -5
- package/dist/index15.d.cts +3 -3
- package/dist/index15.d.cts.map +1 -1
- package/dist/index15.d.ts +3 -3
- package/dist/index16.d.cts +2 -2
- package/dist/index16.d.ts +2 -2
- package/dist/index17.d.cts +4 -4
- package/dist/index17.d.ts +4 -4
- package/dist/index17.d.ts.map +1 -1
- package/dist/index18.d.cts +11 -11
- package/dist/index18.d.ts +11 -11
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.cts.map +1 -1
- package/dist/index19.d.ts +10 -10
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.cts.map +1 -1
- package/dist/index2.d.ts +8 -8
- package/dist/index20.d.cts +16 -16
- package/dist/index20.d.cts.map +1 -1
- package/dist/index20.d.ts +16 -16
- package/dist/index21.d.cts +4 -4
- package/dist/index21.d.cts.map +1 -1
- package/dist/index21.d.ts +4 -4
- package/dist/index22.d.cts +11 -11
- package/dist/index22.d.cts.map +1 -1
- package/dist/index22.d.ts +11 -11
- package/dist/index23.d.cts +16 -16
- package/dist/index23.d.ts +16 -16
- package/dist/index24.d.cts +10 -10
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +10 -10
- package/dist/index25.d.cts +2 -2
- package/dist/index25.d.ts +2 -2
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +13 -13
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +13 -13
- package/dist/index27.d.cts +7 -7
- package/dist/index27.d.ts +7 -7
- package/dist/index28.d.cts +4 -4
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +4 -4
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +4 -4
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +4 -4
- package/dist/index3.d.cts +13 -13
- package/dist/index3.d.cts.map +1 -1
- package/dist/index3.d.ts +13 -13
- package/dist/index3.d.ts.map +1 -1
- package/dist/index30.d.cts +5 -5
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +6 -6
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +5 -5
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +4 -4
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +5 -5
- package/dist/index32.d.ts +5 -5
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +10 -10
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +11 -11
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +5 -5
- package/dist/index34.d.ts +5 -5
- package/dist/index35.d.cts +17 -17
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +16 -16
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +3 -3
- package/dist/index36.d.ts +3 -3
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +4 -4
- package/dist/index37.d.ts +4 -4
- package/dist/index37.d.ts.map +1 -1
- package/dist/index38.d.cts +2 -2
- package/dist/index38.d.cts.map +1 -1
- package/dist/index38.d.ts +2 -2
- package/dist/index39.d.cts +17 -17
- package/dist/index39.d.cts.map +1 -1
- package/dist/index39.d.ts +17 -17
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +5 -5
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +5 -5
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +9 -9
- package/dist/index41.d.ts +11 -11
- package/dist/index42.d.cts +8 -8
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +8 -8
- package/dist/index43.d.cts +9 -9
- package/dist/index43.d.ts +9 -9
- package/dist/index43.d.ts.map +1 -1
- package/dist/index44.d.cts +8 -8
- package/dist/index44.d.cts.map +1 -1
- package/dist/index44.d.ts +8 -8
- package/dist/index44.d.ts.map +1 -1
- package/dist/index45.d.cts +2 -2
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +2 -2
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +4 -4
- package/dist/index46.d.cts.map +1 -1
- package/dist/index46.d.ts +4 -4
- package/dist/index47.d.cts +4 -4
- package/dist/index47.d.cts.map +1 -1
- package/dist/index47.d.ts +4 -4
- package/dist/index48.d.cts +3 -3
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +3 -3
- package/dist/index48.d.ts.map +1 -1
- package/dist/index49.d.cts +11 -11
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +11 -11
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.ts +7 -7
- package/dist/index5.d.ts.map +1 -1
- package/dist/index50.d.cts +9 -9
- package/dist/index50.d.ts +9 -9
- package/dist/index51.d.cts +5 -5
- package/dist/index51.d.ts +5 -5
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +27 -27
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +25 -25
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +5 -5
- package/dist/index53.d.ts +5 -5
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +2 -2
- package/dist/index54.d.ts +2 -2
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +2 -2
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +2 -2
- package/dist/index56.d.cts +2 -2
- package/dist/index56.d.ts +2 -2
- package/dist/index57.d.cts +4 -4
- package/dist/index57.d.ts +4 -4
- package/dist/index58.d.cts +9 -9
- package/dist/index58.d.ts +9 -9
- package/dist/index59.d.cts +14 -9
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +16 -11
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +5 -5
- package/dist/index60.d.ts +5 -5
- package/dist/index61.d.cts +4 -4
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +4 -4
- package/dist/index62.d.cts +2 -2
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +2 -2
- package/dist/index63.d.cts +5 -5
- package/dist/index63.d.ts +6 -6
- package/dist/index64.d.cts +3 -3
- package/dist/index64.d.ts +3 -3
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +4 -4
- package/dist/index65.d.ts +4 -4
- package/dist/index66.d.cts +2 -2
- package/dist/index66.d.ts +2 -2
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +4 -4
- package/dist/index67.d.ts +5 -5
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +6 -6
- package/dist/index68.d.ts +7 -7
- package/dist/index68.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- package/dist/index7.d.ts.map +1 -1
- package/dist/index70.d.cts +8 -8
- package/dist/index70.d.ts +8 -8
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.ts +3 -3
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.cts.map +1 -1
- package/dist/index9.d.ts +2 -2
- package/dist/index9.d.ts.map +1 -1
- package/dist/patterns/DataTable/index.d.cts +3 -3
- package/dist/patterns/DataTable/index.d.ts +3 -3
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.ts +7 -7
- package/dist/patterns/MediaObject/index.d.cts +11 -11
- package/dist/patterns/MediaObject/index.d.ts +13 -13
- package/dist/patterns/MediaObject/index.d.ts.map +1 -1
- package/dist/patterns/SectionCard/index.d.cts +2 -2
- package/dist/patterns/SectionCard/index.d.ts +2 -2
- package/dist/patterns/SectionCard/index.d.ts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.cts +2 -2
- package/dist/patterns/SectionHeading/index.d.ts +2 -2
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/primitives/Tabs/index.cjs +22 -17
- package/dist/primitives/Tabs/index.cjs.map +1 -1
- package/dist/primitives/Tabs/index.js +22 -17
- package/dist/primitives/Tabs/index.js.map +1 -1
- package/dist/styles/base.css +49 -44
- package/dist/styles/typography.css +118 -112
- package/package.json +1 -1
package/dist/index16.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime292 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/CheckboxTree/CheckboxTree.d.ts
|
|
5
5
|
/** A single node in the tree: a stable id, a label, and optional children. */
|
|
@@ -32,7 +32,7 @@ declare function CheckboxTree({
|
|
|
32
32
|
defaultExpandedIds,
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: CheckboxTreeProps):
|
|
35
|
+
}: CheckboxTreeProps): react_jsx_runtime292.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { CheckboxTreeNode as n, CheckboxTree as t };
|
|
38
38
|
//# sourceMappingURL=index16.d.ts.map
|
package/dist/index17.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
2
2
|
import { Collapsible } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Collapsible/Collapsible.d.ts
|
|
5
5
|
/** Root of an interactive panel that shows or hides its content when the trigger is toggled. */
|
|
6
6
|
declare function Collapsible$1({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Collapsible.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime138.JSX.Element;
|
|
9
9
|
/** Clickable element that toggles the open/closed state of the Collapsible. */
|
|
10
10
|
declare function CollapsibleTrigger({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Collapsible.CollapsibleTrigger>):
|
|
12
|
+
}: React.ComponentProps<typeof Collapsible.CollapsibleTrigger>): react_jsx_runtime138.JSX.Element;
|
|
13
13
|
/** Region whose visibility is controlled by the Collapsible's open state. */
|
|
14
14
|
declare function CollapsibleContent({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Collapsible.CollapsibleContent>):
|
|
16
|
+
}: React.ComponentProps<typeof Collapsible.CollapsibleContent>): react_jsx_runtime138.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CollapsibleContent as n, CollapsibleTrigger as r, Collapsible$1 as t };
|
|
19
19
|
//# sourceMappingURL=index17.d.cts.map
|
package/dist/index17.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Collapsible } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Collapsible/Collapsible.d.ts
|
|
5
5
|
/** Root of an interactive panel that shows or hides its content when the trigger is toggled. */
|
|
6
6
|
declare function Collapsible$1({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Collapsible.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime35.JSX.Element;
|
|
9
9
|
/** Clickable element that toggles the open/closed state of the Collapsible. */
|
|
10
10
|
declare function CollapsibleTrigger({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Collapsible.CollapsibleTrigger>):
|
|
12
|
+
}: React.ComponentProps<typeof Collapsible.CollapsibleTrigger>): react_jsx_runtime35.JSX.Element;
|
|
13
13
|
/** Region whose visibility is controlled by the Collapsible's open state. */
|
|
14
14
|
declare function CollapsibleContent({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Collapsible.CollapsibleContent>):
|
|
16
|
+
}: React.ComponentProps<typeof Collapsible.CollapsibleContent>): react_jsx_runtime35.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CollapsibleContent as n, CollapsibleTrigger as r, Collapsible$1 as t };
|
|
19
19
|
//# sourceMappingURL=index17.d.ts.map
|
package/dist/index17.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index17.d.ts","names":[],"sources":["../src/primitives/Collapsible/Collapsible.tsx"],"mappings":";;;;;iBAGS,aAAA;;GAA0B,KAAA,CAAM,sBAAsB,WAAA,CAAqB,QAAK,
|
|
1
|
+
{"version":3,"file":"index17.d.ts","names":[],"sources":["../src/primitives/Collapsible/Collapsible.tsx"],"mappings":";;;;;iBAGS,aAAA;;GAA0B,KAAA,CAAM,sBAAsB,WAAA,CAAqB,QAAK,mBAAA,CAAA,GAAA,CAAA;;AAH1B,iBAQtD,kBAAA,CALW;EAAA,GAAA;AAAA,CAAA,EAOjB,KAAA,CAAM,cAPW,CAAA,OAOW,WAAA,CAAqB,kBAPhC,CAAA,CAAA,EAOmD,mBAAA,CAAA,GAAA,CAAA,OAPnD;;iBAYX,kBAAA,CAZ2E;EAAA,GAAA;AAAA,CAAA,EAcjF,KAAA,CAAM,cAd2E,CAAA,OAcrD,WAAA,CAAqB,kBAdgC,CAAA,CAAA,EAcb,mBAAA,CAAA,GAAA,CAAA,OAda"}
|
package/dist/index18.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -6,24 +6,24 @@ import * as React from "react";
|
|
|
6
6
|
/** Modal dialog root — owns open/closed state and renders its content in a portal. */
|
|
7
7
|
declare function Dialog$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime105.JSX.Element;
|
|
10
10
|
/** Element that toggles the dialog open when activated. */
|
|
11
11
|
declare function DialogTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime105.JSX.Element;
|
|
14
14
|
/** Portals the dialog overlay and content to the document body. */
|
|
15
15
|
declare function DialogPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Dialog.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime105.JSX.Element;
|
|
18
18
|
/** Element that closes the dialog when activated. */
|
|
19
19
|
declare function DialogClose({
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
21
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime105.JSX.Element;
|
|
22
22
|
/** Dimmed backdrop rendered behind the dialog content. */
|
|
23
23
|
declare function DialogOverlay({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Dialog.Overlay>):
|
|
26
|
+
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime105.JSX.Element;
|
|
27
27
|
declare const dialogSizes: {
|
|
28
28
|
readonly sm: "sm:max-w-sm";
|
|
29
29
|
readonly default: "sm:max-w-lg";
|
|
@@ -42,12 +42,12 @@ declare function DialogContent({
|
|
|
42
42
|
size?: keyof typeof dialogSizes;
|
|
43
43
|
/** Whether to render the top-right "X" close button. */
|
|
44
44
|
showCloseButton?: boolean;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
46
46
|
/** Top section of the dialog, holds the title and description. */
|
|
47
47
|
declare function DialogHeader({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<"div">):
|
|
50
|
+
}: React.ComponentProps<"div">): react_jsx_runtime105.JSX.Element;
|
|
51
51
|
/** Bottom action row of the dialog, with an optional built-in Close button. */
|
|
52
52
|
declare function DialogFooter({
|
|
53
53
|
className,
|
|
@@ -57,17 +57,17 @@ declare function DialogFooter({
|
|
|
57
57
|
}: React.ComponentProps<"div"> & {
|
|
58
58
|
/** Whether to append a built-in outline "Close" button after the children. */
|
|
59
59
|
showCloseButton?: boolean;
|
|
60
|
-
}):
|
|
60
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
61
61
|
/** Accessible heading for the dialog (announced to screen readers). */
|
|
62
62
|
declare function DialogTitle({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
65
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime105.JSX.Element;
|
|
66
66
|
/** Supporting text beneath the dialog title (linked for assistive tech). */
|
|
67
67
|
declare function DialogDescription({
|
|
68
68
|
className,
|
|
69
69
|
...props
|
|
70
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
70
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime105.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { DialogFooter as a, DialogPortal as c, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog$1 as t, DialogTrigger as u };
|
|
73
73
|
//# sourceMappingURL=index18.d.cts.map
|
package/dist/index18.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime241 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/Dialog/Dialog.d.ts
|
|
6
6
|
/** Modal dialog root — owns open/closed state and renders its content in a portal. */
|
|
7
7
|
declare function Dialog$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime241.JSX.Element;
|
|
10
10
|
/** Element that toggles the dialog open when activated. */
|
|
11
11
|
declare function DialogTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime241.JSX.Element;
|
|
14
14
|
/** Portals the dialog overlay and content to the document body. */
|
|
15
15
|
declare function DialogPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Dialog.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime241.JSX.Element;
|
|
18
18
|
/** Element that closes the dialog when activated. */
|
|
19
19
|
declare function DialogClose({
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
21
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime241.JSX.Element;
|
|
22
22
|
/** Dimmed backdrop rendered behind the dialog content. */
|
|
23
23
|
declare function DialogOverlay({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Dialog.Overlay>):
|
|
26
|
+
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime241.JSX.Element;
|
|
27
27
|
declare const dialogSizes: {
|
|
28
28
|
readonly sm: "sm:max-w-sm";
|
|
29
29
|
readonly default: "sm:max-w-lg";
|
|
@@ -42,12 +42,12 @@ declare function DialogContent({
|
|
|
42
42
|
size?: keyof typeof dialogSizes;
|
|
43
43
|
/** Whether to render the top-right "X" close button. */
|
|
44
44
|
showCloseButton?: boolean;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime241.JSX.Element;
|
|
46
46
|
/** Top section of the dialog, holds the title and description. */
|
|
47
47
|
declare function DialogHeader({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<"div">):
|
|
50
|
+
}: React.ComponentProps<"div">): react_jsx_runtime241.JSX.Element;
|
|
51
51
|
/** Bottom action row of the dialog, with an optional built-in Close button. */
|
|
52
52
|
declare function DialogFooter({
|
|
53
53
|
className,
|
|
@@ -57,17 +57,17 @@ declare function DialogFooter({
|
|
|
57
57
|
}: React.ComponentProps<"div"> & {
|
|
58
58
|
/** Whether to append a built-in outline "Close" button after the children. */
|
|
59
59
|
showCloseButton?: boolean;
|
|
60
|
-
}):
|
|
60
|
+
}): react_jsx_runtime241.JSX.Element;
|
|
61
61
|
/** Accessible heading for the dialog (announced to screen readers). */
|
|
62
62
|
declare function DialogTitle({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
65
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime241.JSX.Element;
|
|
66
66
|
/** Supporting text beneath the dialog title (linked for assistive tech). */
|
|
67
67
|
declare function DialogDescription({
|
|
68
68
|
className,
|
|
69
69
|
...props
|
|
70
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
70
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime241.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { DialogFooter as a, DialogPortal as c, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog$1 as t, DialogTrigger as u };
|
|
73
73
|
//# sourceMappingURL=index18.d.ts.map
|
package/dist/index19.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Dialog } from "./index18.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
@@ -8,7 +8,7 @@ import { Command } from "cmdk";
|
|
|
8
8
|
declare function Command$1({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Command>):
|
|
11
|
+
}: React.ComponentProps<typeof Command>): react_jsx_runtime92.JSX.Element;
|
|
12
12
|
/** A `Command` rendered inside a centered, modal `Dialog` — the classic ⌘K palette. */
|
|
13
13
|
declare function CommandDialog({
|
|
14
14
|
title,
|
|
@@ -26,41 +26,41 @@ declare function CommandDialog({
|
|
|
26
26
|
className?: string;
|
|
27
27
|
/** Whether to render the dialog's top-right close button. */
|
|
28
28
|
showCloseButton?: boolean;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime92.JSX.Element;
|
|
30
30
|
/** The search field that filters the command list, with a leading search icon. */
|
|
31
31
|
declare function CommandInput({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof Command.Input>):
|
|
34
|
+
}: React.ComponentProps<typeof Command.Input>): react_jsx_runtime92.JSX.Element;
|
|
35
35
|
/** Scrollable container for command groups, items, and the empty state. */
|
|
36
36
|
declare function CommandList({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof Command.List>):
|
|
39
|
+
}: React.ComponentProps<typeof Command.List>): react_jsx_runtime92.JSX.Element;
|
|
40
40
|
/** Placeholder shown when the search query matches no items. */
|
|
41
41
|
declare function CommandEmpty({
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof Command.Empty>):
|
|
43
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime92.JSX.Element;
|
|
44
44
|
/** A labelled group of related command items, with an optional `heading`. */
|
|
45
45
|
declare function CommandGroup({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof Command.Group>):
|
|
48
|
+
}: React.ComponentProps<typeof Command.Group>): react_jsx_runtime92.JSX.Element;
|
|
49
49
|
/** A thin divider line between command groups. */
|
|
50
50
|
declare function CommandSeparator({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<typeof Command.Separator>):
|
|
53
|
+
}: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime92.JSX.Element;
|
|
54
54
|
/** A selectable command row supporting keyboard navigation and a disabled state. */
|
|
55
55
|
declare function CommandItem({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof Command.Item>):
|
|
58
|
+
}: React.ComponentProps<typeof Command.Item>): react_jsx_runtime92.JSX.Element;
|
|
59
59
|
/** Right-aligned keyboard-shortcut hint shown inside a `CommandItem`. */
|
|
60
60
|
declare function CommandShortcut({
|
|
61
61
|
className,
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<"span">):
|
|
63
|
+
}: React.ComponentProps<"span">): react_jsx_runtime92.JSX.Element;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { CommandInput as a, CommandSeparator as c, CommandGroup as i, CommandShortcut as l, CommandDialog as n, CommandItem as o, CommandEmpty as r, CommandList as s, Command$1 as t };
|
|
66
66
|
//# sourceMappingURL=index19.d.cts.map
|
package/dist/index19.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index19.d.cts","names":[],"sources":["../src/primitives/Command/Command.tsx"],"mappings":";;;;;;;iBAgBS,SAAA;;;GAAiC,KAAA,CAAM,sBAAsB,WAAiB,
|
|
1
|
+
{"version":3,"file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8DlB,KAAA,CAAM,cA9DY,CAAA,OA8DU,OAAA,CAAiB,SA9D3B,CAAA,CAAA,EA8DqC,mBAAA,CAAA,GAAA,CAAA,OA9DrC;;iBAyEZ,WAAA,CAtEuC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsEF,KAAA,CAAM,cAtEJ,CAAA,OAsE0B,OAAA,CAAiB,IAtE3C,CAAA,CAAA,EAsEgD,mBAAA,CAAA,GAAA,CAAA,OAtEhD;;iBAoFvC,eAAA,CApF6C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoFJ,KAAA,CAAM,cApFF,CAAA,MAAA,CAAA,CAAA,EAoFwB,mBAAA,CAAA,GAAA,CAAA,OApFxB"}
|
package/dist/index19.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Dialog } from "./index18.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime283 from "react/jsx-runtime";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Command/Command.d.ts
|
|
@@ -8,7 +8,7 @@ import { Command } from "cmdk";
|
|
|
8
8
|
declare function Command$1({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Command>):
|
|
11
|
+
}: React.ComponentProps<typeof Command>): react_jsx_runtime283.JSX.Element;
|
|
12
12
|
/** A `Command` rendered inside a centered, modal `Dialog` — the classic ⌘K palette. */
|
|
13
13
|
declare function CommandDialog({
|
|
14
14
|
title,
|
|
@@ -26,41 +26,41 @@ declare function CommandDialog({
|
|
|
26
26
|
className?: string;
|
|
27
27
|
/** Whether to render the dialog's top-right close button. */
|
|
28
28
|
showCloseButton?: boolean;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime283.JSX.Element;
|
|
30
30
|
/** The search field that filters the command list, with a leading search icon. */
|
|
31
31
|
declare function CommandInput({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof Command.Input>):
|
|
34
|
+
}: React.ComponentProps<typeof Command.Input>): react_jsx_runtime283.JSX.Element;
|
|
35
35
|
/** Scrollable container for command groups, items, and the empty state. */
|
|
36
36
|
declare function CommandList({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof Command.List>):
|
|
39
|
+
}: React.ComponentProps<typeof Command.List>): react_jsx_runtime283.JSX.Element;
|
|
40
40
|
/** Placeholder shown when the search query matches no items. */
|
|
41
41
|
declare function CommandEmpty({
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof Command.Empty>):
|
|
43
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime283.JSX.Element;
|
|
44
44
|
/** A labelled group of related command items, with an optional `heading`. */
|
|
45
45
|
declare function CommandGroup({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof Command.Group>):
|
|
48
|
+
}: React.ComponentProps<typeof Command.Group>): react_jsx_runtime283.JSX.Element;
|
|
49
49
|
/** A thin divider line between command groups. */
|
|
50
50
|
declare function CommandSeparator({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<typeof Command.Separator>):
|
|
53
|
+
}: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime283.JSX.Element;
|
|
54
54
|
/** A selectable command row supporting keyboard navigation and a disabled state. */
|
|
55
55
|
declare function CommandItem({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof Command.Item>):
|
|
58
|
+
}: React.ComponentProps<typeof Command.Item>): react_jsx_runtime283.JSX.Element;
|
|
59
59
|
/** Right-aligned keyboard-shortcut hint shown inside a `CommandItem`. */
|
|
60
60
|
declare function CommandShortcut({
|
|
61
61
|
className,
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<"span">):
|
|
63
|
+
}: React.ComponentProps<"span">): react_jsx_runtime283.JSX.Element;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { CommandInput as a, CommandSeparator as c, CommandGroup as i, CommandShortcut as l, CommandDialog as n, CommandItem as o, CommandEmpty as r, CommandList as s, Command$1 as t };
|
|
66
66
|
//# sourceMappingURL=index19.d.ts.map
|
package/dist/index2.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Alert/Alert.d.ts
|
|
7
7
|
declare const alertVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "destructive" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
10
10
|
/** Callout banner for surfacing contextual messages, statuses, and errors. */
|
|
11
11
|
declare function Alert({
|
|
12
12
|
className,
|
|
@@ -18,27 +18,27 @@ declare function Alert({
|
|
|
18
18
|
variant?: VariantProps<typeof alertVariants>["variant"];
|
|
19
19
|
/** Moves the leading icon to the trailing edge (Figma "Flip Icon"). */
|
|
20
20
|
flipIcon?: boolean;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime58.JSX.Element;
|
|
22
22
|
/** Wraps the title + description so the icon and action can sit beside them. */
|
|
23
23
|
declare function AlertContent({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime58.JSX.Element;
|
|
27
27
|
/** Primary heading line of the alert. */
|
|
28
28
|
declare function AlertTitle({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<"h5">):
|
|
31
|
+
}: React.ComponentProps<"h5">): react_jsx_runtime58.JSX.Element;
|
|
32
32
|
/** Secondary supporting text shown beneath the title. */
|
|
33
33
|
declare function AlertDescription({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div">):
|
|
36
|
+
}: React.ComponentProps<"div">): react_jsx_runtime58.JSX.Element;
|
|
37
37
|
/** Trailing action slot (Figma "Show Button"); always sits at the trailing edge. */
|
|
38
38
|
declare function AlertAction({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"div">):
|
|
41
|
+
}: React.ComponentProps<"div">): react_jsx_runtime58.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { AlertTitle as a, AlertDescription as i, AlertAction as n, AlertContent as r, Alert as t };
|
|
44
44
|
//# sourceMappingURL=index2.d.cts.map
|
package/dist/index2.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.d.cts","names":[],"sources":["../src/primitives/Alert/Alert.tsx"],"mappings":";;;;;;cAKM;;IAmBL,
|
|
1
|
+
{"version":3,"file":"index2.d.cts","names":[],"sources":["../src/primitives/Alert/Alert.tsx"],"mappings":";;;;;;cAKM;;IAmBL,+BAAA,CAAA;;AAvBmC,iBA0B3B,KAAA,CAHR;EAAA,SAAA;EAAA,OAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EAQE,KAAA,CAAM,cARR,CAAA,KAAA,CAAA,GASC,YATD,CAAA,OASqB,aATrB,CAAA,GAAA;EAGQ;EAAK,OAAA,CAAA,EAQA,YARA,CAAA,OAQoB,aARpB,CAAA,CAAA,SAAA,CAAA;;UAEZ,CAAA,EAAA,OAAA;IASC,mBAAA,CAAA,GAAA,CAAA,OARD;;iBAqBO,YAAA,CAlBa;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAkByB,KAAA,CAAM,cAlB/B,CAAA,KAAA,CAAA,CAAA,EAkBoD,mBAAA,CAAA,GAAA,CAAA,OAlBpD;;iBA6Bb,UAAA,CA3ByB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2BW,KAAA,CAAM,cA3BjB,CAAA,IAAA,CAAA,CAAA,EA2BqC,mBAAA,CAAA,GAAA,CAAA,OA3BrC;;iBAsCzB,gBAAA,CAnCN;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmCgD,KAAA,CAAM,cAnCtD,CAAA,KAAA,CAAA,CAAA,EAmC2E,mBAAA,CAAA,GAAA,CAAA,OAnC3E;AAAA;AAAA,iBA8CM,WAAA,CAjCY;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiCyB,KAAA,CAAM,cAjC/B,CAAA,KAAA,CAAA,CAAA,EAiCoD,mBAAA,CAAA,GAAA,CAAA,OAjCpD"}
|
package/dist/index2.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime301 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types27 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Alert/Alert.d.ts
|
|
7
7
|
declare const alertVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "destructive" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types27.ClassProp) | undefined) => string;
|
|
10
10
|
/** Callout banner for surfacing contextual messages, statuses, and errors. */
|
|
11
11
|
declare function Alert({
|
|
12
12
|
className,
|
|
@@ -18,27 +18,27 @@ declare function Alert({
|
|
|
18
18
|
variant?: VariantProps<typeof alertVariants>["variant"];
|
|
19
19
|
/** Moves the leading icon to the trailing edge (Figma "Flip Icon"). */
|
|
20
20
|
flipIcon?: boolean;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime301.JSX.Element;
|
|
22
22
|
/** Wraps the title + description so the icon and action can sit beside them. */
|
|
23
23
|
declare function AlertContent({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime301.JSX.Element;
|
|
27
27
|
/** Primary heading line of the alert. */
|
|
28
28
|
declare function AlertTitle({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<"h5">):
|
|
31
|
+
}: React.ComponentProps<"h5">): react_jsx_runtime301.JSX.Element;
|
|
32
32
|
/** Secondary supporting text shown beneath the title. */
|
|
33
33
|
declare function AlertDescription({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div">):
|
|
36
|
+
}: React.ComponentProps<"div">): react_jsx_runtime301.JSX.Element;
|
|
37
37
|
/** Trailing action slot (Figma "Show Button"); always sits at the trailing edge. */
|
|
38
38
|
declare function AlertAction({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"div">):
|
|
41
|
+
}: React.ComponentProps<"div">): react_jsx_runtime301.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { AlertTitle as a, AlertDescription as i, AlertAction as n, AlertContent as r, Alert as t };
|
|
44
44
|
//# sourceMappingURL=index2.d.ts.map
|
package/dist/index20.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
2
2
|
import { ContextMenu } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -6,27 +6,27 @@ import * as React from "react";
|
|
|
6
6
|
/** Root provider for a right-click context menu; wires the trigger to its portalled content. */
|
|
7
7
|
declare function ContextMenu$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof ContextMenu.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof ContextMenu.Root>): react_jsx_runtime63.JSX.Element;
|
|
10
10
|
/** The target region that opens the menu on right-click (context menu). */
|
|
11
11
|
declare function ContextMenuTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof ContextMenu.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof ContextMenu.Trigger>): react_jsx_runtime63.JSX.Element;
|
|
14
14
|
/** Groups related items together for labelling and accessibility. */
|
|
15
15
|
declare function ContextMenuGroup({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof ContextMenu.Group>):
|
|
17
|
+
}: React.ComponentProps<typeof ContextMenu.Group>): react_jsx_runtime63.JSX.Element;
|
|
18
18
|
/** Portals the menu content into the document body. */
|
|
19
19
|
declare function ContextMenuPortal({
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof ContextMenu.Portal>):
|
|
21
|
+
}: React.ComponentProps<typeof ContextMenu.Portal>): react_jsx_runtime63.JSX.Element;
|
|
22
22
|
/** Wraps a nested submenu (pair with `ContextMenuSubTrigger` and `ContextMenuSubContent`). */
|
|
23
23
|
declare function ContextMenuSub({
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<typeof ContextMenu.Sub>):
|
|
25
|
+
}: React.ComponentProps<typeof ContextMenu.Sub>): react_jsx_runtime63.JSX.Element;
|
|
26
26
|
/** Groups `ContextMenuRadioItem`s into a single-select set. */
|
|
27
27
|
declare function ContextMenuRadioGroup({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof ContextMenu.RadioGroup>):
|
|
29
|
+
}: React.ComponentProps<typeof ContextMenu.RadioGroup>): react_jsx_runtime63.JSX.Element;
|
|
30
30
|
/** Item that opens a nested submenu; renders a trailing chevron. */
|
|
31
31
|
declare function ContextMenuSubTrigger({
|
|
32
32
|
className,
|
|
@@ -36,17 +36,17 @@ declare function ContextMenuSubTrigger({
|
|
|
36
36
|
}: React.ComponentProps<typeof ContextMenu.SubTrigger> & {
|
|
37
37
|
/** Adds left padding so the label aligns with items that have a leading icon. */
|
|
38
38
|
inset?: boolean;
|
|
39
|
-
}):
|
|
39
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
40
40
|
/** The popover surface for a nested submenu. */
|
|
41
41
|
declare function ContextMenuSubContent({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof ContextMenu.SubContent>):
|
|
44
|
+
}: React.ComponentProps<typeof ContextMenu.SubContent>): react_jsx_runtime63.JSX.Element;
|
|
45
45
|
/** The portalled popover surface that holds the menu items. */
|
|
46
46
|
declare function ContextMenuContent({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<typeof ContextMenu.Content>):
|
|
49
|
+
}: React.ComponentProps<typeof ContextMenu.Content>): react_jsx_runtime63.JSX.Element;
|
|
50
50
|
/** A selectable menu item; supports a `destructive` variant and `inset` alignment. */
|
|
51
51
|
declare function ContextMenuItem({
|
|
52
52
|
className,
|
|
@@ -58,20 +58,20 @@ declare function ContextMenuItem({
|
|
|
58
58
|
inset?: boolean;
|
|
59
59
|
/** Visual intent; `destructive` colours the item with the danger palette. */
|
|
60
60
|
variant?: "default" | "destructive";
|
|
61
|
-
}):
|
|
61
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
62
62
|
/** A menu item with a toggleable checkmark indicator. */
|
|
63
63
|
declare function ContextMenuCheckboxItem({
|
|
64
64
|
className,
|
|
65
65
|
children,
|
|
66
66
|
checked,
|
|
67
67
|
...props
|
|
68
|
-
}: React.ComponentProps<typeof ContextMenu.CheckboxItem>):
|
|
68
|
+
}: React.ComponentProps<typeof ContextMenu.CheckboxItem>): react_jsx_runtime63.JSX.Element;
|
|
69
69
|
/** A menu item with a radio indicator; use inside `ContextMenuRadioGroup`. */
|
|
70
70
|
declare function ContextMenuRadioItem({
|
|
71
71
|
className,
|
|
72
72
|
children,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof ContextMenu.RadioItem>):
|
|
74
|
+
}: React.ComponentProps<typeof ContextMenu.RadioItem>): react_jsx_runtime63.JSX.Element;
|
|
75
75
|
/** A non-interactive heading that labels a group of items. */
|
|
76
76
|
declare function ContextMenuLabel({
|
|
77
77
|
className,
|
|
@@ -80,17 +80,17 @@ declare function ContextMenuLabel({
|
|
|
80
80
|
}: React.ComponentProps<typeof ContextMenu.Label> & {
|
|
81
81
|
/** Adds left padding so the label aligns with items that have a leading icon. */
|
|
82
82
|
inset?: boolean;
|
|
83
|
-
}):
|
|
83
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
84
84
|
/** A horizontal divider between groups of items. */
|
|
85
85
|
declare function ContextMenuSeparator({
|
|
86
86
|
className,
|
|
87
87
|
...props
|
|
88
|
-
}: React.ComponentProps<typeof ContextMenu.Separator>):
|
|
88
|
+
}: React.ComponentProps<typeof ContextMenu.Separator>): react_jsx_runtime63.JSX.Element;
|
|
89
89
|
/** Right-aligned text for a keyboard shortcut hint inside an item. */
|
|
90
90
|
declare function ContextMenuShortcut({
|
|
91
91
|
className,
|
|
92
92
|
...props
|
|
93
|
-
}: React.ComponentProps<"span">):
|
|
93
|
+
}: React.ComponentProps<"span">): react_jsx_runtime63.JSX.Element;
|
|
94
94
|
//#endregion
|
|
95
95
|
export { ContextMenuItem as a, ContextMenuRadioGroup as c, ContextMenuShortcut as d, ContextMenuSub as f, ContextMenuTrigger as h, ContextMenuGroup as i, ContextMenuRadioItem as l, ContextMenuSubTrigger as m, ContextMenuCheckboxItem as n, ContextMenuLabel as o, ContextMenuSubContent as p, ContextMenuContent as r, ContextMenuPortal as s, ContextMenu$1 as t, ContextMenuSeparator as u };
|
|
96
96
|
//# sourceMappingURL=index20.d.cts.map
|
package/dist/index20.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index20.d.cts","names":[],"sources":["../src/primitives/ContextMenu/ContextMenu.tsx"],"mappings":";;;;;;iBAOS,aAAA;;GAA0B,KAAA,CAAM,sBAAsB,WAAA,CAAqB,QAAK,
|
|
1
|
+
{"version":3,"file":"index20.d.cts","names":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