@psnext/design-system 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +5 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index10.d.cts +7 -7
- package/dist/index10.d.cts.map +1 -1
- package/dist/index10.d.ts +7 -7
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.ts +3 -3
- package/dist/index12.d.cts +11 -11
- package/dist/index12.d.ts +12 -12
- 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.cts.map +1 -1
- package/dist/index16.d.ts +2 -2
- package/dist/index17.d.cts +4 -4
- package/dist/index17.d.cts.map +1 -1
- package/dist/index17.d.ts +4 -4
- package/dist/index18.d.cts +11 -11
- package/dist/index18.d.ts +11 -11
- package/dist/index18.d.ts.map +1 -1
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.ts +10 -10
- package/dist/index19.d.ts.map +1 -1
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.cts.map +1 -1
- package/dist/index2.d.ts +8 -8
- package/dist/index2.d.ts.map +1 -1
- package/dist/index20.d.cts +16 -16
- package/dist/index20.d.cts.map +1 -1
- package/dist/index20.d.ts +16 -16
- package/dist/index20.d.ts.map +1 -1
- package/dist/index21.d.cts +4 -4
- 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/index22.d.ts.map +1 -1
- 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.cts.map +1 -1
- package/dist/index25.d.ts +2 -2
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +14 -14
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +14 -14
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +7 -7
- package/dist/index27.d.cts.map +1 -1
- package/dist/index27.d.ts +7 -7
- package/dist/index28.d.cts +5 -5
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +5 -5
- package/dist/index28.d.ts.map +1 -1
- package/dist/index29.d.cts +4 -4
- package/dist/index29.d.ts +4 -4
- package/dist/index29.d.ts.map +1 -1
- 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 +3 -3
- 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.ts +4 -4
- package/dist/index31.d.ts.map +1 -1
- package/dist/index32.d.cts +4 -4
- package/dist/index32.d.cts.map +1 -1
- 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.ts +11 -11
- package/dist/index34.d.cts +5 -5
- package/dist/index34.d.cts.map +1 -1
- package/dist/index34.d.ts +5 -5
- package/dist/index35.d.cts +16 -16
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +15 -15
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +3 -3
- package/dist/index36.d.cts.map +1 -1
- 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.cts.map +1 -1
- 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.ts +2 -2
- package/dist/index39.d.cts +17 -17
- package/dist/index39.d.ts +17 -17
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.cts.map +1 -1
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +4 -4
- 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 +11 -11
- package/dist/index41.d.cts.map +1 -1
- 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/index44.d.cts +8 -8
- package/dist/index44.d.cts.map +1 -1
- package/dist/index44.d.ts +8 -8
- package/dist/index45.d.cts +2 -2
- 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.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 +26 -26
- package/dist/index52.d.ts +27 -27
- 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/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +2 -2
- package/dist/index56.d.ts +2 -2
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +4 -4
- package/dist/index57.d.ts +4 -4
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +9 -9
- package/dist/index58.d.ts +9 -9
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +11 -11
- package/dist/index59.d.cts.map +1 -1
- package/dist/index59.d.ts +13 -13
- 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.cts.map +1 -1
- package/dist/index60.d.ts +7 -7
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +4 -4
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +4 -4
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +2 -2
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +2 -2
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +5 -5
- package/dist/index63.d.ts +6 -6
- package/dist/index63.d.ts.map +1 -1
- 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 +5 -5
- package/dist/index67.d.ts +8 -8
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +6 -6
- package/dist/index68.d.ts +7 -7
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- 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 +4 -4
- package/dist/index8.d.ts.map +1 -1
- 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/Footer/index.d.ts.map +1 -1
- 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/styles/index.css +3 -0
- package/dist/styles/theme.css +11 -3
- package/dist/styles/typography.css +136 -0
- package/package.json +1 -1
package/dist/index20.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ContextMenu } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime163 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/ContextMenu/ContextMenu.d.ts
|
|
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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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_runtime163.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.ts.map
|
package/dist/index20.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index20.d.ts","names":[],"sources":["../src/primitives/ContextMenu/ContextMenu.tsx"],"mappings":";;;;;;iBAOS,aAAA;;GAA0B,KAAA,CAAM,sBAAsB,WAAA,CAAqB,QAAK,
|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;EAAA;OAEC,CAAA,EAAA,OAAqB;IAwJnD,oBAAA,CAAA,GAAA,CAAA,OAxJQ;;AAAsD,iBAoKtD,oBAAA,CApKsD;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuK5D,KAAA,CAAM,cAvKsD,CAAA,OAuKhC,WAAA,CAAqB,SAvKW,CAAA,CAAA,EAuKD,oBAAA,CAAA,GAAA,CAAA,OAvKC;AAAA;iBAkLtD,mBAAA,CA7KqB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6KwB,KAAA,CAAM,cA7K9B,CAAA,MAAA,CAAA,CAAA,EA6KoD,oBAAA,CAAA,GAAA,CAAA,OA7KpD"}
|
package/dist/index21.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime161 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types15 from "class-variance-authority/types";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/Credits/Credits.d.ts
|
|
6
6
|
type CreditsVariant = "default" | "warning" | "critical";
|
|
7
7
|
declare const creditsVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "warning" | "critical" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types15.ClassProp) | undefined) => string;
|
|
10
10
|
type CreditsProps = Omit<React.ComponentProps<"span">, "children"> & {
|
|
11
11
|
/** The numeric balance to display. */
|
|
12
12
|
value: number;
|
|
@@ -28,7 +28,7 @@ declare function Credits({
|
|
|
28
28
|
icon,
|
|
29
29
|
format,
|
|
30
30
|
...props
|
|
31
|
-
}: CreditsProps):
|
|
31
|
+
}: CreditsProps): react_jsx_runtime161.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { creditsVariants as i, CreditsProps as n, CreditsVariant as r, Credits as t };
|
|
34
34
|
//# sourceMappingURL=index21.d.cts.map
|
package/dist/index21.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime162 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types16 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/Credits/Credits.d.ts
|
|
6
6
|
type CreditsVariant = "default" | "warning" | "critical";
|
|
7
7
|
declare const creditsVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "warning" | "critical" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types16.ClassProp) | undefined) => string;
|
|
10
10
|
type CreditsProps = Omit<React.ComponentProps<"span">, "children"> & {
|
|
11
11
|
/** The numeric balance to display. */
|
|
12
12
|
value: number;
|
|
@@ -28,7 +28,7 @@ declare function Credits({
|
|
|
28
28
|
icon,
|
|
29
29
|
format,
|
|
30
30
|
...props
|
|
31
|
-
}: CreditsProps):
|
|
31
|
+
}: CreditsProps): react_jsx_runtime162.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { creditsVariants as i, CreditsProps as n, CreditsVariant as r, Credits as t };
|
|
34
34
|
//# sourceMappingURL=index21.d.ts.map
|
package/dist/index22.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { Drawer } from "vaul";
|
|
4
4
|
|
|
@@ -6,25 +6,25 @@ import { Drawer } from "vaul";
|
|
|
6
6
|
/** Root provider for a vaul-backed sliding drawer; controls open state and slide `direction`. */
|
|
7
7
|
declare function Drawer$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Drawer.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Drawer.Root>): react_jsx_runtime59.JSX.Element;
|
|
10
10
|
/** Element that toggles the drawer open when interacted with. */
|
|
11
11
|
declare function DrawerTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Drawer.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime59.JSX.Element;
|
|
14
14
|
/** Portals the overlay and content out to the document body. */
|
|
15
15
|
declare function DrawerPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Drawer.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime59.JSX.Element;
|
|
18
18
|
/** Element that closes the drawer when interacted with. */
|
|
19
19
|
declare function DrawerClose({
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Drawer.Close>):
|
|
21
|
+
}: React.ComponentProps<typeof Drawer.Close>): react_jsx_runtime59.JSX.Element;
|
|
22
22
|
/** Dimmed backdrop rendered behind the drawer content. */
|
|
23
23
|
declare function DrawerOverlay({
|
|
24
24
|
/** Extra classes merged onto the overlay surface. */
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Drawer.Overlay>):
|
|
27
|
+
}: React.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime59.JSX.Element;
|
|
28
28
|
/** Sliding panel that holds the drawer's content; auto-portals and renders the overlay. */
|
|
29
29
|
declare function DrawerContent({
|
|
30
30
|
/** Extra classes merged onto the content panel. */
|
|
@@ -32,31 +32,31 @@ declare function DrawerContent({
|
|
|
32
32
|
/** Body of the drawer, typically header/footer plus content. */
|
|
33
33
|
children,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Drawer.Content>):
|
|
35
|
+
}: React.ComponentProps<typeof Drawer.Content>): react_jsx_runtime59.JSX.Element;
|
|
36
36
|
/** Top region of the drawer; groups the title and description. */
|
|
37
37
|
declare function DrawerHeader({
|
|
38
38
|
/** Extra classes merged onto the header wrapper. */
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"div">):
|
|
41
|
+
}: React.ComponentProps<"div">): react_jsx_runtime59.JSX.Element;
|
|
42
42
|
/** Bottom region of the drawer; typically holds actions, pinned to the panel base. */
|
|
43
43
|
declare function DrawerFooter({
|
|
44
44
|
/** Extra classes merged onto the footer wrapper. */
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<"div">):
|
|
47
|
+
}: React.ComponentProps<"div">): react_jsx_runtime59.JSX.Element;
|
|
48
48
|
/** Accessible title for the drawer, announced to assistive tech. */
|
|
49
49
|
declare function DrawerTitle({
|
|
50
50
|
/** Extra classes merged onto the title. */
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<typeof Drawer.Title>):
|
|
53
|
+
}: React.ComponentProps<typeof Drawer.Title>): react_jsx_runtime59.JSX.Element;
|
|
54
54
|
/** Supporting description text shown beneath the drawer title. */
|
|
55
55
|
declare function DrawerDescription({
|
|
56
56
|
/** Extra classes merged onto the description. */
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof Drawer.Description>):
|
|
59
|
+
}: React.ComponentProps<typeof Drawer.Description>): react_jsx_runtime59.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { DrawerFooter as a, DrawerPortal as c, DrawerDescription as i, DrawerTitle as l, DrawerClose as n, DrawerHeader as o, DrawerContent as r, DrawerOverlay as s, Drawer$1 as t, DrawerTrigger as u };
|
|
62
62
|
//# sourceMappingURL=index22.d.cts.map
|
package/dist/index22.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index22.d.cts","names":[],"sources":["../src/primitives/Drawer/Drawer.tsx"],"mappings":";;;;;;iBAMS,QAAA;;GAAqB,KAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,
|
|
1
|
+
{"version":3,"file":"index22.d.cts","names":[],"sources":["../src/primitives/Drawer/Drawer.tsx"],"mappings":";;;;;;iBAMS,QAAA;;GAAqB,KA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AA,iBAsF5E,WAAA,CAjFa;;WAEpB;EAAA,GAAA;AAAA,CAAA,EAmFC,KAAA,CAAM,cAnFP,CAAA,OAmF6B,MAAA,CAAgB,KAnF7C,CAAA,CAAA,EAmFmD,mBAAA,CAAA,GAAA,CAAA,OAnFnD;;iBA8FO,iBAAA,CA5FA;;EAA8C,SAAA;EAAA,GAAA;AAAA,CAAA,EAgGpD,KAAA,CAAM,cAhG8C,CAAA,OAgGxB,MAAA,CAAgB,WAhGQ,CAAA,CAAA,EAgGI,mBAAA,CAAA,GAAA,CAAA,OAhGJ"}
|
package/dist/index22.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime142 from "react/jsx-runtime";
|
|
3
3
|
import { Drawer } from "vaul";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/Drawer/Drawer.d.ts
|
|
6
6
|
/** Root provider for a vaul-backed sliding drawer; controls open state and slide `direction`. */
|
|
7
7
|
declare function Drawer$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Drawer.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Drawer.Root>): react_jsx_runtime142.JSX.Element;
|
|
10
10
|
/** Element that toggles the drawer open when interacted with. */
|
|
11
11
|
declare function DrawerTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Drawer.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime142.JSX.Element;
|
|
14
14
|
/** Portals the overlay and content out to the document body. */
|
|
15
15
|
declare function DrawerPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Drawer.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime142.JSX.Element;
|
|
18
18
|
/** Element that closes the drawer when interacted with. */
|
|
19
19
|
declare function DrawerClose({
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Drawer.Close>):
|
|
21
|
+
}: React.ComponentProps<typeof Drawer.Close>): react_jsx_runtime142.JSX.Element;
|
|
22
22
|
/** Dimmed backdrop rendered behind the drawer content. */
|
|
23
23
|
declare function DrawerOverlay({
|
|
24
24
|
/** Extra classes merged onto the overlay surface. */
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Drawer.Overlay>):
|
|
27
|
+
}: React.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime142.JSX.Element;
|
|
28
28
|
/** Sliding panel that holds the drawer's content; auto-portals and renders the overlay. */
|
|
29
29
|
declare function DrawerContent({
|
|
30
30
|
/** Extra classes merged onto the content panel. */
|
|
@@ -32,31 +32,31 @@ declare function DrawerContent({
|
|
|
32
32
|
/** Body of the drawer, typically header/footer plus content. */
|
|
33
33
|
children,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Drawer.Content>):
|
|
35
|
+
}: React.ComponentProps<typeof Drawer.Content>): react_jsx_runtime142.JSX.Element;
|
|
36
36
|
/** Top region of the drawer; groups the title and description. */
|
|
37
37
|
declare function DrawerHeader({
|
|
38
38
|
/** Extra classes merged onto the header wrapper. */
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"div">):
|
|
41
|
+
}: React.ComponentProps<"div">): react_jsx_runtime142.JSX.Element;
|
|
42
42
|
/** Bottom region of the drawer; typically holds actions, pinned to the panel base. */
|
|
43
43
|
declare function DrawerFooter({
|
|
44
44
|
/** Extra classes merged onto the footer wrapper. */
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<"div">):
|
|
47
|
+
}: React.ComponentProps<"div">): react_jsx_runtime142.JSX.Element;
|
|
48
48
|
/** Accessible title for the drawer, announced to assistive tech. */
|
|
49
49
|
declare function DrawerTitle({
|
|
50
50
|
/** Extra classes merged onto the title. */
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<typeof Drawer.Title>):
|
|
53
|
+
}: React.ComponentProps<typeof Drawer.Title>): react_jsx_runtime142.JSX.Element;
|
|
54
54
|
/** Supporting description text shown beneath the drawer title. */
|
|
55
55
|
declare function DrawerDescription({
|
|
56
56
|
/** Extra classes merged onto the description. */
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof Drawer.Description>):
|
|
59
|
+
}: React.ComponentProps<typeof Drawer.Description>): react_jsx_runtime142.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { DrawerFooter as a, DrawerPortal as c, DrawerDescription as i, DrawerTitle as l, DrawerClose as n, DrawerHeader as o, DrawerContent as r, DrawerOverlay as s, Drawer$1 as t, DrawerTrigger as u };
|
|
62
62
|
//# sourceMappingURL=index22.d.ts.map
|
package/dist/index22.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index22.d.ts","names":[],"sources":["../src/primitives/Drawer/Drawer.tsx"],"mappings":";;;;;;iBAMS,QAAA;;GAAqB,KAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,
|
|
1
|
+
{"version":3,"file":"index22.d.ts","names":[],"sources":["../src/primitives/Drawer/Drawer.tsx"],"mappings":";;;;;;iBAMS,QAAA;;GAAqB,KAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,oBAAA,CAAA,GAAA,CAAA;;AAL9B,iBAUxC,aAAA,CALM;EAAA,GAAA;AAAA,CAAA,EAKsB,KAAA,CAAM,cAL5B,CAAA,OAKkD,MAAA,CAAgB,OALlE,CAAA,CAAA,EAK0E,oBAAA,CAAA,GAAA,CAAA,OAL1E;;iBAUN,YAAA,CAViE;EAAA,GAAA;AAAA,CAAA,EAUtC,KAAA,CAAM,cAVgC,CAAA,OAUV,MAAA,CAAgB,MAVN,CAAA,CAAA,EAUa,oBAAA,CAAA,GAAA,CAAA,OAVb;;iBAejE,WAAA,CAfsE;EAAA,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
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime206 from "react/jsx-runtime";
|
|
2
2
|
import { DropdownMenu } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -6,26 +6,26 @@ import * as React from "react";
|
|
|
6
6
|
/** Root provider for a dropdown menu; holds open state and wires the trigger to its content. */
|
|
7
7
|
declare function DropdownMenu$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof DropdownMenu.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof DropdownMenu.Root>): react_jsx_runtime206.JSX.Element;
|
|
10
10
|
/** Renders the menu into a portal so it escapes overflow/stacking contexts. */
|
|
11
11
|
declare function DropdownMenuPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof DropdownMenu.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof DropdownMenu.Portal>): react_jsx_runtime206.JSX.Element;
|
|
14
14
|
/** The control (usually a button) that toggles the menu open and closed. */
|
|
15
15
|
declare function DropdownMenuTrigger({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof DropdownMenu.Trigger>):
|
|
17
|
+
}: React.ComponentProps<typeof DropdownMenu.Trigger>): react_jsx_runtime206.JSX.Element;
|
|
18
18
|
/** The floating surface that holds the menu items; portalled and animated on open/close. */
|
|
19
19
|
declare function DropdownMenuContent({
|
|
20
20
|
className,
|
|
21
21
|
/** Gap in pixels between the trigger and the content edge. */
|
|
22
22
|
sideOffset,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof DropdownMenu.Content>):
|
|
24
|
+
}: React.ComponentProps<typeof DropdownMenu.Content>): react_jsx_runtime206.JSX.Element;
|
|
25
25
|
/** Groups related menu items together for labelling and keyboard navigation. */
|
|
26
26
|
declare function DropdownMenuGroup({
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof DropdownMenu.Group>):
|
|
28
|
+
}: React.ComponentProps<typeof DropdownMenu.Group>): react_jsx_runtime206.JSX.Element;
|
|
29
29
|
/** A selectable menu row that fires on click/Enter. */
|
|
30
30
|
declare function DropdownMenuItem({
|
|
31
31
|
className,
|
|
@@ -37,7 +37,7 @@ declare function DropdownMenuItem({
|
|
|
37
37
|
}: React.ComponentProps<typeof DropdownMenu.Item> & {
|
|
38
38
|
inset?: boolean;
|
|
39
39
|
variant?: "default" | "destructive";
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime206.JSX.Element;
|
|
41
41
|
/** A menu row with a toggleable checkmark indicator for boolean options. */
|
|
42
42
|
declare function DropdownMenuCheckboxItem({
|
|
43
43
|
className,
|
|
@@ -45,17 +45,17 @@ declare function DropdownMenuCheckboxItem({
|
|
|
45
45
|
/** Whether the checkbox indicator is shown as checked. */
|
|
46
46
|
checked,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof DropdownMenu.CheckboxItem>):
|
|
48
|
+
}: React.ComponentProps<typeof DropdownMenu.CheckboxItem>): react_jsx_runtime206.JSX.Element;
|
|
49
49
|
/** Wraps radio items so only one option in the group can be selected at a time. */
|
|
50
50
|
declare function DropdownMenuRadioGroup({
|
|
51
51
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof DropdownMenu.RadioGroup>):
|
|
52
|
+
}: React.ComponentProps<typeof DropdownMenu.RadioGroup>): react_jsx_runtime206.JSX.Element;
|
|
53
53
|
/** A single mutually-exclusive option within a `DropdownMenuRadioGroup`. */
|
|
54
54
|
declare function DropdownMenuRadioItem({
|
|
55
55
|
className,
|
|
56
56
|
children,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof DropdownMenu.RadioItem>):
|
|
58
|
+
}: React.ComponentProps<typeof DropdownMenu.RadioItem>): react_jsx_runtime206.JSX.Element;
|
|
59
59
|
/** A non-interactive heading used to title a group of menu items. */
|
|
60
60
|
declare function DropdownMenuLabel({
|
|
61
61
|
className,
|
|
@@ -64,21 +64,21 @@ declare function DropdownMenuLabel({
|
|
|
64
64
|
...props
|
|
65
65
|
}: React.ComponentProps<typeof DropdownMenu.Label> & {
|
|
66
66
|
inset?: boolean;
|
|
67
|
-
}):
|
|
67
|
+
}): react_jsx_runtime206.JSX.Element;
|
|
68
68
|
/** A thin divider line used to visually separate groups of menu items. */
|
|
69
69
|
declare function DropdownMenuSeparator({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: React.ComponentProps<typeof DropdownMenu.Separator>):
|
|
72
|
+
}: React.ComponentProps<typeof DropdownMenu.Separator>): react_jsx_runtime206.JSX.Element;
|
|
73
73
|
/** Right-aligned hint for an item's keyboard shortcut (e.g. ⇧⌘P). */
|
|
74
74
|
declare function DropdownMenuShortcut({
|
|
75
75
|
className,
|
|
76
76
|
...props
|
|
77
|
-
}: React.ComponentProps<"span">):
|
|
77
|
+
}: React.ComponentProps<"span">): react_jsx_runtime206.JSX.Element;
|
|
78
78
|
/** Root for a nested submenu; holds the sub-trigger and its sub-content. */
|
|
79
79
|
declare function DropdownMenuSub({
|
|
80
80
|
...props
|
|
81
|
-
}: React.ComponentProps<typeof DropdownMenu.Sub>):
|
|
81
|
+
}: React.ComponentProps<typeof DropdownMenu.Sub>): react_jsx_runtime206.JSX.Element;
|
|
82
82
|
/** The item that opens a nested submenu, shown with a trailing chevron. */
|
|
83
83
|
declare function DropdownMenuSubTrigger({
|
|
84
84
|
className,
|
|
@@ -88,12 +88,12 @@ declare function DropdownMenuSubTrigger({
|
|
|
88
88
|
...props
|
|
89
89
|
}: React.ComponentProps<typeof DropdownMenu.SubTrigger> & {
|
|
90
90
|
inset?: boolean;
|
|
91
|
-
}):
|
|
91
|
+
}): react_jsx_runtime206.JSX.Element;
|
|
92
92
|
/** The floating surface for a nested submenu's items. */
|
|
93
93
|
declare function DropdownMenuSubContent({
|
|
94
94
|
className,
|
|
95
95
|
...props
|
|
96
|
-
}: React.ComponentProps<typeof DropdownMenu.SubContent>):
|
|
96
|
+
}: React.ComponentProps<typeof DropdownMenu.SubContent>): react_jsx_runtime206.JSX.Element;
|
|
97
97
|
//#endregion
|
|
98
98
|
export { DropdownMenuItem as a, DropdownMenuRadioGroup as c, DropdownMenuShortcut as d, DropdownMenuSub as f, DropdownMenuTrigger as h, DropdownMenuGroup as i, DropdownMenuRadioItem as l, DropdownMenuSubTrigger as m, DropdownMenuCheckboxItem as n, DropdownMenuLabel as o, DropdownMenuSubContent as p, DropdownMenuContent as r, DropdownMenuPortal as s, DropdownMenu$1 as t, DropdownMenuSeparator as u };
|
|
99
99
|
//# sourceMappingURL=index23.d.cts.map
|
package/dist/index23.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { DropdownMenu } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime255 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/DropdownMenu/DropdownMenu.d.ts
|
|
6
6
|
/** Root provider for a dropdown menu; holds open state and wires the trigger to its content. */
|
|
7
7
|
declare function DropdownMenu$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof DropdownMenu.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof DropdownMenu.Root>): react_jsx_runtime255.JSX.Element;
|
|
10
10
|
/** Renders the menu into a portal so it escapes overflow/stacking contexts. */
|
|
11
11
|
declare function DropdownMenuPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof DropdownMenu.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof DropdownMenu.Portal>): react_jsx_runtime255.JSX.Element;
|
|
14
14
|
/** The control (usually a button) that toggles the menu open and closed. */
|
|
15
15
|
declare function DropdownMenuTrigger({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof DropdownMenu.Trigger>):
|
|
17
|
+
}: React.ComponentProps<typeof DropdownMenu.Trigger>): react_jsx_runtime255.JSX.Element;
|
|
18
18
|
/** The floating surface that holds the menu items; portalled and animated on open/close. */
|
|
19
19
|
declare function DropdownMenuContent({
|
|
20
20
|
className,
|
|
21
21
|
/** Gap in pixels between the trigger and the content edge. */
|
|
22
22
|
sideOffset,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof DropdownMenu.Content>):
|
|
24
|
+
}: React.ComponentProps<typeof DropdownMenu.Content>): react_jsx_runtime255.JSX.Element;
|
|
25
25
|
/** Groups related menu items together for labelling and keyboard navigation. */
|
|
26
26
|
declare function DropdownMenuGroup({
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof DropdownMenu.Group>):
|
|
28
|
+
}: React.ComponentProps<typeof DropdownMenu.Group>): react_jsx_runtime255.JSX.Element;
|
|
29
29
|
/** A selectable menu row that fires on click/Enter. */
|
|
30
30
|
declare function DropdownMenuItem({
|
|
31
31
|
className,
|
|
@@ -37,7 +37,7 @@ declare function DropdownMenuItem({
|
|
|
37
37
|
}: React.ComponentProps<typeof DropdownMenu.Item> & {
|
|
38
38
|
inset?: boolean;
|
|
39
39
|
variant?: "default" | "destructive";
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime255.JSX.Element;
|
|
41
41
|
/** A menu row with a toggleable checkmark indicator for boolean options. */
|
|
42
42
|
declare function DropdownMenuCheckboxItem({
|
|
43
43
|
className,
|
|
@@ -45,17 +45,17 @@ declare function DropdownMenuCheckboxItem({
|
|
|
45
45
|
/** Whether the checkbox indicator is shown as checked. */
|
|
46
46
|
checked,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof DropdownMenu.CheckboxItem>):
|
|
48
|
+
}: React.ComponentProps<typeof DropdownMenu.CheckboxItem>): react_jsx_runtime255.JSX.Element;
|
|
49
49
|
/** Wraps radio items so only one option in the group can be selected at a time. */
|
|
50
50
|
declare function DropdownMenuRadioGroup({
|
|
51
51
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof DropdownMenu.RadioGroup>):
|
|
52
|
+
}: React.ComponentProps<typeof DropdownMenu.RadioGroup>): react_jsx_runtime255.JSX.Element;
|
|
53
53
|
/** A single mutually-exclusive option within a `DropdownMenuRadioGroup`. */
|
|
54
54
|
declare function DropdownMenuRadioItem({
|
|
55
55
|
className,
|
|
56
56
|
children,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof DropdownMenu.RadioItem>):
|
|
58
|
+
}: React.ComponentProps<typeof DropdownMenu.RadioItem>): react_jsx_runtime255.JSX.Element;
|
|
59
59
|
/** A non-interactive heading used to title a group of menu items. */
|
|
60
60
|
declare function DropdownMenuLabel({
|
|
61
61
|
className,
|
|
@@ -64,21 +64,21 @@ declare function DropdownMenuLabel({
|
|
|
64
64
|
...props
|
|
65
65
|
}: React.ComponentProps<typeof DropdownMenu.Label> & {
|
|
66
66
|
inset?: boolean;
|
|
67
|
-
}):
|
|
67
|
+
}): react_jsx_runtime255.JSX.Element;
|
|
68
68
|
/** A thin divider line used to visually separate groups of menu items. */
|
|
69
69
|
declare function DropdownMenuSeparator({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: React.ComponentProps<typeof DropdownMenu.Separator>):
|
|
72
|
+
}: React.ComponentProps<typeof DropdownMenu.Separator>): react_jsx_runtime255.JSX.Element;
|
|
73
73
|
/** Right-aligned hint for an item's keyboard shortcut (e.g. ⇧⌘P). */
|
|
74
74
|
declare function DropdownMenuShortcut({
|
|
75
75
|
className,
|
|
76
76
|
...props
|
|
77
|
-
}: React.ComponentProps<"span">):
|
|
77
|
+
}: React.ComponentProps<"span">): react_jsx_runtime255.JSX.Element;
|
|
78
78
|
/** Root for a nested submenu; holds the sub-trigger and its sub-content. */
|
|
79
79
|
declare function DropdownMenuSub({
|
|
80
80
|
...props
|
|
81
|
-
}: React.ComponentProps<typeof DropdownMenu.Sub>):
|
|
81
|
+
}: React.ComponentProps<typeof DropdownMenu.Sub>): react_jsx_runtime255.JSX.Element;
|
|
82
82
|
/** The item that opens a nested submenu, shown with a trailing chevron. */
|
|
83
83
|
declare function DropdownMenuSubTrigger({
|
|
84
84
|
className,
|
|
@@ -88,12 +88,12 @@ declare function DropdownMenuSubTrigger({
|
|
|
88
88
|
...props
|
|
89
89
|
}: React.ComponentProps<typeof DropdownMenu.SubTrigger> & {
|
|
90
90
|
inset?: boolean;
|
|
91
|
-
}):
|
|
91
|
+
}): react_jsx_runtime255.JSX.Element;
|
|
92
92
|
/** The floating surface for a nested submenu's items. */
|
|
93
93
|
declare function DropdownMenuSubContent({
|
|
94
94
|
className,
|
|
95
95
|
...props
|
|
96
|
-
}: React.ComponentProps<typeof DropdownMenu.SubContent>):
|
|
96
|
+
}: React.ComponentProps<typeof DropdownMenu.SubContent>): react_jsx_runtime255.JSX.Element;
|
|
97
97
|
//#endregion
|
|
98
98
|
export { DropdownMenuItem as a, DropdownMenuRadioGroup as c, DropdownMenuShortcut as d, DropdownMenuSub as f, DropdownMenuTrigger as h, DropdownMenuGroup as i, DropdownMenuRadioItem as l, DropdownMenuSubTrigger as m, DropdownMenuCheckboxItem as n, DropdownMenuLabel as o, DropdownMenuSubContent as p, DropdownMenuContent as r, DropdownMenuPortal as s, DropdownMenu$1 as t, DropdownMenuSeparator as u };
|
|
99
99
|
//# sourceMappingURL=index23.d.ts.map
|
package/dist/index24.d.cts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types5 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/Empty/Empty.d.ts
|
|
7
7
|
declare const emptyVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | "background" | "outline-dashed" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
10
10
|
/** Centered empty-state container; compose Header/Media/Title/Description/Content inside it. */
|
|
11
11
|
declare function Empty({
|
|
12
12
|
className,
|
|
13
13
|
/** Container chrome: plain, bordered, muted background, or dashed border. */
|
|
14
14
|
variant,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof emptyVariants>):
|
|
16
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof emptyVariants>): react_jsx_runtime116.JSX.Element;
|
|
17
17
|
/** Groups the media, title, and description with centered alignment. */
|
|
18
18
|
declare function EmptyHeader({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<"div">):
|
|
21
|
+
}: React.ComponentProps<"div">): react_jsx_runtime116.JSX.Element;
|
|
22
22
|
declare const emptyMediaVariants: (props?: ({
|
|
23
23
|
variant?: "default" | "icon" | null | undefined;
|
|
24
|
-
} &
|
|
24
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
25
25
|
/** Holds the leading illustration or icon above the title. */
|
|
26
26
|
declare function EmptyMedia({
|
|
27
27
|
className,
|
|
28
28
|
/** Visual treatment: bare media or a rounded muted icon badge. */
|
|
29
29
|
variant,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>):
|
|
31
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime116.JSX.Element;
|
|
32
32
|
/** The primary heading line of the empty state. */
|
|
33
33
|
declare function EmptyTitle({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div">):
|
|
36
|
+
}: React.ComponentProps<"div">): react_jsx_runtime116.JSX.Element;
|
|
37
37
|
/** Muted supporting copy explaining the empty state. */
|
|
38
38
|
declare function EmptyDescription({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"p">):
|
|
41
|
+
}: React.ComponentProps<"p">): react_jsx_runtime116.JSX.Element;
|
|
42
42
|
/** Slot for actions or follow-up content below the header. */
|
|
43
43
|
declare function EmptyContent({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<"div">):
|
|
46
|
+
}: React.ComponentProps<"div">): react_jsx_runtime116.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { EmptyMedia as a, EmptyHeader as i, EmptyContent as n, EmptyTitle as o, EmptyDescription as r, emptyVariants as s, Empty as t };
|
|
49
49
|
//# sourceMappingURL=index24.d.cts.map
|
package/dist/index24.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index24.d.cts","names":[],"sources":["../src/primitives/Empty/Empty.tsx"],"mappings":";;;;;;cAKM;;IAgBL,+BAAA,CAAA;;AApBmC,iBAuB3B,KAAA,CAHR;EAAA,SAAA;;SAGa;EAAA,GAAA;AAAA,CAAA,EAKX,KAAA,CAAM,cALK,CAAA,KAAA,CAAA,GAKmB,YALnB,CAAA,OAKuC,aALvC,CAAA,CAAA,EAKqD,
|
|
1
|
+
{"version":3,"file":"index24.d.cts","names":[],"sources":["../src/primitives/Empty/Empty.tsx"],"mappings":";;;;;;cAKM;;IAgBL,+BAAA,CAAA;;AApBmC,iBAuB3B,KAAA,CAHR;EAAA,SAAA;;SAGa;EAAA,GAAA;AAAA,CAAA,EAKX,KAAA,CAAM,cALK,CAAA,KAAA,CAAA,GAKmB,YALnB,CAAA,OAKuC,aALvC,CAAA,CAAA,EAKqD,oBAAA,CAAA,GAAA,CAAA,OALrD;;iBAiBL,WAAA,CAdP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAc4C,KAAA,CAAM,cAdlD,CAAA,KAAA,CAAA,CAAA,EAcuE,oBAAA,CAAA,GAAA,CAAA,OAdvE;cAwBI,kBAtBG,EAAA,CAAA,KAAwB,CAAxB,EAAA,CAAA;SAA4C,CAAA,EAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAmCpD,+BAAA,CAAA,SAnCgC,CAAA,GAAA,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