@psnext/design-system 1.4.0 → 1.5.1
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.cts.map +1 -1
- package/dist/index11.d.ts +3 -3
- package/dist/index11.d.ts.map +1 -1
- package/dist/index12.d.cts +11 -11
- package/dist/index12.d.cts.map +1 -1
- package/dist/index12.d.ts +11 -11
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.cts.map +1 -1
- package/dist/index13.d.ts +6 -6
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.cts.map +1 -1
- package/dist/index14.d.ts +5 -5
- package/dist/index14.d.ts.map +1 -1
- 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/index17.d.ts.map +1 -1
- package/dist/index18.d.cts +11 -11
- package/dist/index18.d.cts.map +1 -1
- 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/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +16 -16
- package/dist/index23.d.cts.map +1 -1
- 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/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.ts +7 -7
- package/dist/index27.d.ts.map +1 -1
- package/dist/index28.d.cts +6 -6
- 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.cts.map +1 -1
- 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 +6 -6
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +4 -4
- package/dist/index31.d.cts +5 -5
- package/dist/index31.d.cts.map +1 -1
- package/dist/index31.d.ts +4 -4
- package/dist/index32.d.cts +5 -5
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +5 -5
- package/dist/index33.d.cts +11 -11
- package/dist/index33.d.cts.map +1 -1
- 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 +14 -14
- package/dist/index35.d.ts +14 -14
- 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 +5 -5
- 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/index39.d.ts.map +1 -1
- 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 +3 -3
- package/dist/index40.d.ts +3 -3
- 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/index41.d.ts.map +1 -1
- package/dist/index42.d.cts +8 -8
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +8 -8
- package/dist/index42.d.ts.map +1 -1
- 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/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/index46.d.cts +4 -4
- package/dist/index46.d.ts +4 -4
- package/dist/index46.d.ts.map +1 -1
- 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.ts +11 -11
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.cts.map +1 -1
- 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/index50.d.ts.map +1 -1
- 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 +26 -26
- package/dist/index53.d.cts +5 -5
- package/dist/index53.d.cts.map +1 -1
- 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.cts.map +1 -1
- 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 +11 -11
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.cts.map +1 -1
- package/dist/index6.d.ts +5 -5
- package/dist/index60.d.cts +7 -7
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +6 -6
- 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.ts +2 -2
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +4 -4
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +5 -5
- package/dist/index64.d.cts +3 -3
- package/dist/index64.d.cts.map +1 -1
- 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 +5 -5
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +2 -2
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +2 -2
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +8 -8
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +8 -8
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +7 -7
- package/dist/index68.d.cts.map +1 -1
- 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/index70.d.cts +8 -8
- package/dist/index70.d.ts +8 -8
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.cts.map +1 -1
- package/dist/index8.d.ts +4 -4
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.cts.map +1 -1
- package/dist/index9.d.ts +2 -2
- package/dist/patterns/DataTable/index.d.cts +3 -3
- package/dist/patterns/DataTable/index.d.cts.map +1 -1
- package/dist/patterns/DataTable/index.d.ts +3 -3
- package/dist/patterns/Footer/index.d.cts +7 -7
- package/dist/patterns/Footer/index.d.cts.map +1 -1
- 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 +11 -11
- 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/base.css +52 -46
- package/dist/styles/typography.css +118 -113
- package/package.json +1 -1
package/dist/index34.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime310 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { OTPInput } from "input-otp";
|
|
4
4
|
|
|
@@ -19,12 +19,12 @@ declare function InputOTP({
|
|
|
19
19
|
size?: InputOTPSize;
|
|
20
20
|
/** Single character shown in empty slots as a hint until the user types. */
|
|
21
21
|
placeholder?: string;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime310.JSX.Element;
|
|
23
23
|
/** Visual cluster of adjacent slots; use multiple groups around an `InputOTPSeparator`. */
|
|
24
24
|
declare function InputOTPGroup({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<"div">):
|
|
27
|
+
}: React.ComponentProps<"div">): react_jsx_runtime310.JSX.Element;
|
|
28
28
|
/** A single character cell rendering its char, active ring, fake caret, and placeholder. */
|
|
29
29
|
declare function InputOTPSlot({
|
|
30
30
|
index,
|
|
@@ -33,11 +33,11 @@ declare function InputOTPSlot({
|
|
|
33
33
|
}: React.ComponentProps<"div"> & {
|
|
34
34
|
/** Zero-based position of this slot within the input's character buffer. */
|
|
35
35
|
index: number;
|
|
36
|
-
}):
|
|
36
|
+
}): react_jsx_runtime310.JSX.Element;
|
|
37
37
|
/** Decorative divider (a minus icon) placed between two `InputOTPGroup`s. */
|
|
38
38
|
declare function InputOTPSeparator({
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<"div">):
|
|
40
|
+
}: React.ComponentProps<"div">): react_jsx_runtime310.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { InputOTPSlot as i, InputOTPGroup as n, InputOTPSeparator as r, InputOTP as t };
|
|
43
43
|
//# sourceMappingURL=index34.d.cts.map
|
package/dist/index34.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index34.d.cts","names":[],"sources":["../src/primitives/InputOtp/InputOtp.tsx"],"mappings":";;;;;KAQK,8BAA8B,eAAe,oBAAoB,KAAK,GAAG;KAEzE,YAAA;;AAN0B,iBA0BtB,QAAA,CAtBY;EAAA,SAAA;EAAA,kBAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;AAAqD,CAArD,EA4BlB,gBA5BkB,CA4BD,KAAA,CAAM,cA5BL,CAAA,OA4B2B,QA5B3B,CAAA,EAAA,MAAA,GAAA,aAAA,CAAA,GAAA;EAAA;oBAAc,CAAA,EAAA,MAAA;;MAAwC,CAAA,EAgClE,YAhCkE;;aAAL,CAAA,EAAA,MAAA;AAAI,CAAA,CAAA,EAmCzE,
|
|
1
|
+
{"version":3,"file":"index34.d.cts","names":[],"sources":["../src/primitives/InputOtp/InputOtp.tsx"],"mappings":";;;;;KAQK,8BAA8B,eAAe,oBAAoB,KAAK,GAAG;KAEzE,YAAA;;AAN0B,iBA0BtB,QAAA,CAtBY;EAAA,SAAA;EAAA,kBAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;AAAqD,CAArD,EA4BlB,gBA5BkB,CA4BD,KAAA,CAAM,cA5BL,CAAA,OA4B2B,QA5B3B,CAAA,EAAA,MAAA,GAAA,aAAA,CAAA,GAAA;EAAA;oBAAc,CAAA,EAAA,MAAA;;MAAwC,CAAA,EAgClE,YAhCkE;;aAAL,CAAA,EAAA,MAAA;AAAI,CAAA,CAAA,EAmCzE,oBAAA,CAAA,GAAA,CAAA,OAnCyE;AAAA;AAEzD,iBAuDR,aAAA,CAnCQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmC+B,KAAA,CAAM,cAnCrC,CAAA,KAAA,CAAA,CAAA,EAmC0D,oBAAA,CAAA,GAAA,CAAA,OAnC1D;;iBA8CR,YAAA,CA7CP;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EAiDC,KAAA,CAAM,cAjDP,CAAA,KAAA,CAAA,GAAA;;OAEA,EAAA,MAAA;IAkDD,oBAAA,CAAA,GAAA,CAAA,OAjDC;;iBAgFO,iBAAA,CA9EiB;EAAA,GAAA;AAAA,CAAA,EA8Ee,KAAA,CAAM,cA9ErB,CAAA,KAAA,CAAA,CAAA,EA8E0C,oBAAA,CAAA,GAAA,CAAA,OA9E1C"}
|
package/dist/index34.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime123 from "react/jsx-runtime";
|
|
3
3
|
import { OTPInput } from "input-otp";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/InputOtp/InputOtp.d.ts
|
|
@@ -19,12 +19,12 @@ declare function InputOTP({
|
|
|
19
19
|
size?: InputOTPSize;
|
|
20
20
|
/** Single character shown in empty slots as a hint until the user types. */
|
|
21
21
|
placeholder?: string;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime123.JSX.Element;
|
|
23
23
|
/** Visual cluster of adjacent slots; use multiple groups around an `InputOTPSeparator`. */
|
|
24
24
|
declare function InputOTPGroup({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<"div">):
|
|
27
|
+
}: React.ComponentProps<"div">): react_jsx_runtime123.JSX.Element;
|
|
28
28
|
/** A single character cell rendering its char, active ring, fake caret, and placeholder. */
|
|
29
29
|
declare function InputOTPSlot({
|
|
30
30
|
index,
|
|
@@ -33,11 +33,11 @@ declare function InputOTPSlot({
|
|
|
33
33
|
}: React.ComponentProps<"div"> & {
|
|
34
34
|
/** Zero-based position of this slot within the input's character buffer. */
|
|
35
35
|
index: number;
|
|
36
|
-
}):
|
|
36
|
+
}): react_jsx_runtime123.JSX.Element;
|
|
37
37
|
/** Decorative divider (a minus icon) placed between two `InputOTPGroup`s. */
|
|
38
38
|
declare function InputOTPSeparator({
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<"div">):
|
|
40
|
+
}: React.ComponentProps<"div">): react_jsx_runtime123.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { InputOTPSlot as i, InputOTPGroup as n, InputOTPSeparator as r, InputOTP as t };
|
|
43
43
|
//# sourceMappingURL=index34.d.ts.map
|
package/dist/index35.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Separator } from "./index9.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime300 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types19 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
|
|
@@ -9,16 +9,16 @@ import * as React from "react";
|
|
|
9
9
|
declare function ItemGroup({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<"div">):
|
|
12
|
+
}: React.ComponentProps<"div">): react_jsx_runtime300.JSX.Element;
|
|
13
13
|
/** Horizontal divider rendered between `Item`s inside an `ItemGroup`. */
|
|
14
14
|
declare function ItemSeparator({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Separator>):
|
|
17
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime300.JSX.Element;
|
|
18
18
|
declare const itemVariants: (props?: ({
|
|
19
19
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
20
20
|
size?: "default" | "sm" | null | undefined;
|
|
21
|
-
} &
|
|
21
|
+
} & class_variance_authority_types19.ClassProp) | undefined) => string;
|
|
22
22
|
/** A flexible list/row primitive composing media, content, and actions into a single line. */
|
|
23
23
|
declare function Item({
|
|
24
24
|
className,
|
|
@@ -31,47 +31,47 @@ declare function Item({
|
|
|
31
31
|
...props
|
|
32
32
|
}: React.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
33
33
|
asChild?: boolean;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime300.JSX.Element;
|
|
35
35
|
declare const itemMediaVariants: (props?: ({
|
|
36
36
|
variant?: "default" | "icon" | "image" | null | undefined;
|
|
37
|
-
} &
|
|
37
|
+
} & class_variance_authority_types19.ClassProp) | undefined) => string;
|
|
38
38
|
/** Leading media slot for an `Item` — holds an icon, image, or avatar. */
|
|
39
39
|
declare function ItemMedia({
|
|
40
40
|
className,
|
|
41
41
|
/** Media framing: bare, a bordered icon tile, or a clipped image box. */
|
|
42
42
|
variant,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>):
|
|
44
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime300.JSX.Element;
|
|
45
45
|
/** Primary content column of an `Item`, stacking title and description. */
|
|
46
46
|
declare function ItemContent({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<"div">):
|
|
49
|
+
}: React.ComponentProps<"div">): react_jsx_runtime300.JSX.Element;
|
|
50
50
|
/** Emphasised title line within `ItemContent`. */
|
|
51
51
|
declare function ItemTitle({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<"div">):
|
|
54
|
+
}: React.ComponentProps<"div">): react_jsx_runtime300.JSX.Element;
|
|
55
55
|
/** Muted, line-clamped supporting text within `ItemContent`. */
|
|
56
56
|
declare function ItemDescription({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<"p">):
|
|
59
|
+
}: React.ComponentProps<"p">): react_jsx_runtime300.JSX.Element;
|
|
60
60
|
/** Trailing actions slot of an `Item` — holds buttons or controls. */
|
|
61
61
|
declare function ItemActions({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<"div">):
|
|
64
|
+
}: React.ComponentProps<"div">): react_jsx_runtime300.JSX.Element;
|
|
65
65
|
/** Full-width header row spanning the top of an `Item`. */
|
|
66
66
|
declare function ItemHeader({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<"div">):
|
|
69
|
+
}: React.ComponentProps<"div">): react_jsx_runtime300.JSX.Element;
|
|
70
70
|
/** Full-width footer row spanning the bottom of an `Item`. */
|
|
71
71
|
declare function ItemFooter({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<"div">):
|
|
74
|
+
}: React.ComponentProps<"div">): react_jsx_runtime300.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { ItemFooter as a, ItemMedia as c, ItemDescription as i, ItemSeparator as l, ItemActions as n, ItemGroup as o, ItemContent as r, ItemHeader as s, Item as t, ItemTitle as u };
|
|
77
77
|
//# sourceMappingURL=index35.d.cts.map
|
package/dist/index35.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as Separator } from "./index9.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime293 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types23 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region src/primitives/Item/Item.d.ts
|
|
8
8
|
/** Vertical list container that groups related `Item`s (role="list"). */
|
|
9
9
|
declare function ItemGroup({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<"div">):
|
|
12
|
+
}: React.ComponentProps<"div">): react_jsx_runtime293.JSX.Element;
|
|
13
13
|
/** Horizontal divider rendered between `Item`s inside an `ItemGroup`. */
|
|
14
14
|
declare function ItemSeparator({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Separator>):
|
|
17
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime293.JSX.Element;
|
|
18
18
|
declare const itemVariants: (props?: ({
|
|
19
19
|
variant?: "default" | "muted" | "outline" | null | undefined;
|
|
20
20
|
size?: "sm" | "default" | null | undefined;
|
|
21
|
-
} &
|
|
21
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string;
|
|
22
22
|
/** A flexible list/row primitive composing media, content, and actions into a single line. */
|
|
23
23
|
declare function Item({
|
|
24
24
|
className,
|
|
@@ -31,47 +31,47 @@ declare function Item({
|
|
|
31
31
|
...props
|
|
32
32
|
}: React.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
33
33
|
asChild?: boolean;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime293.JSX.Element;
|
|
35
35
|
declare const itemMediaVariants: (props?: ({
|
|
36
36
|
variant?: "default" | "image" | "icon" | null | undefined;
|
|
37
|
-
} &
|
|
37
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string;
|
|
38
38
|
/** Leading media slot for an `Item` — holds an icon, image, or avatar. */
|
|
39
39
|
declare function ItemMedia({
|
|
40
40
|
className,
|
|
41
41
|
/** Media framing: bare, a bordered icon tile, or a clipped image box. */
|
|
42
42
|
variant,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>):
|
|
44
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime293.JSX.Element;
|
|
45
45
|
/** Primary content column of an `Item`, stacking title and description. */
|
|
46
46
|
declare function ItemContent({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<"div">):
|
|
49
|
+
}: React.ComponentProps<"div">): react_jsx_runtime293.JSX.Element;
|
|
50
50
|
/** Emphasised title line within `ItemContent`. */
|
|
51
51
|
declare function ItemTitle({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<"div">):
|
|
54
|
+
}: React.ComponentProps<"div">): react_jsx_runtime293.JSX.Element;
|
|
55
55
|
/** Muted, line-clamped supporting text within `ItemContent`. */
|
|
56
56
|
declare function ItemDescription({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<"p">):
|
|
59
|
+
}: React.ComponentProps<"p">): react_jsx_runtime293.JSX.Element;
|
|
60
60
|
/** Trailing actions slot of an `Item` — holds buttons or controls. */
|
|
61
61
|
declare function ItemActions({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<"div">):
|
|
64
|
+
}: React.ComponentProps<"div">): react_jsx_runtime293.JSX.Element;
|
|
65
65
|
/** Full-width header row spanning the top of an `Item`. */
|
|
66
66
|
declare function ItemHeader({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<"div">):
|
|
69
|
+
}: React.ComponentProps<"div">): react_jsx_runtime293.JSX.Element;
|
|
70
70
|
/** Full-width footer row spanning the bottom of an `Item`. */
|
|
71
71
|
declare function ItemFooter({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<"div">):
|
|
74
|
+
}: React.ComponentProps<"div">): react_jsx_runtime293.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { ItemFooter as a, ItemMedia as c, ItemDescription as i, ItemSeparator as l, ItemActions as n, ItemGroup as o, ItemContent as r, ItemHeader as s, Item as t, ItemTitle as u };
|
|
77
77
|
//# sourceMappingURL=index35.d.ts.map
|
package/dist/index36.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Kbd/Kbd.d.ts
|
|
@@ -7,13 +7,13 @@ declare function Kbd({
|
|
|
7
7
|
/** Extra classes merged onto the key cap. */
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<"kbd">):
|
|
10
|
+
}: React.ComponentProps<"kbd">): react_jsx_runtime81.JSX.Element;
|
|
11
11
|
/** Lays out multiple `Kbd` keys (and separators) inline as a single shortcut combo. */
|
|
12
12
|
declare function KbdGroup({
|
|
13
13
|
/** Extra classes merged onto the group wrapper. */
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<"div">):
|
|
16
|
+
}: React.ComponentProps<"div">): react_jsx_runtime81.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { KbdGroup as n, Kbd as t };
|
|
19
19
|
//# sourceMappingURL=index36.d.cts.map
|
package/dist/index36.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index36.d.cts","names":[],"sources":["../src/primitives/Kbd/Kbd.tsx"],"mappings":";;;;;iBAKS,GAAA;;EAL2B,SAK3B;EAAG,GAAA;AAAA,CAAA,EAIT,KAAA,CAAM,cAJG,CAAA,KAAA,CAAA,CAAA,EAIkB,
|
|
1
|
+
{"version":3,"file":"index36.d.cts","names":[],"sources":["../src/primitives/Kbd/Kbd.tsx"],"mappings":";;;;;iBAKS,GAAA;;EAL2B,SAK3B;EAAG,GAAA;AAAA,CAAA,EAIT,KAAA,CAAM,cAJG,CAAA,KAAA,CAAA,CAAA,EAIkB,mBAAA,CAAA,GAAA,CAAA,OAJlB;;iBAoBH,QAAA,CAlBP;;WAE4B;EAAA,GAAA;AAAA,CAAA,EAoB3B,KAAA,CAAM,cApBqB,CAAA,KAAA,CAAA,CAAA,EAoBA,mBAAA,CAAA,GAAA,CAAA,OApBA"}
|
package/dist/index36.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Kbd/Kbd.d.ts
|
|
5
5
|
/** A small key cap that renders a single keyboard key or symbol (e.g. ⌘, Ctrl, ↩). */
|
|
@@ -7,13 +7,13 @@ declare function Kbd({
|
|
|
7
7
|
/** Extra classes merged onto the key cap. */
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<"kbd">):
|
|
10
|
+
}: React.ComponentProps<"kbd">): react_jsx_runtime4.JSX.Element;
|
|
11
11
|
/** Lays out multiple `Kbd` keys (and separators) inline as a single shortcut combo. */
|
|
12
12
|
declare function KbdGroup({
|
|
13
13
|
/** Extra classes merged onto the group wrapper. */
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<"div">):
|
|
16
|
+
}: React.ComponentProps<"div">): react_jsx_runtime4.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { KbdGroup as n, Kbd as t };
|
|
19
19
|
//# sourceMappingURL=index36.d.ts.map
|
package/dist/index36.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index36.d.ts","names":[],"sources":["../src/primitives/Kbd/Kbd.tsx"],"mappings":";;;;;iBAKS,GAAA;;EAL2B,SAK3B;EAAG,GAAA;AAAA,CAAA,EAIT,KAAA,CAAM,cAJG,CAAA,KAAA,CAAA,CAAA,EAIkB,
|
|
1
|
+
{"version":3,"file":"index36.d.ts","names":[],"sources":["../src/primitives/Kbd/Kbd.tsx"],"mappings":";;;;;iBAKS,GAAA;;EAL2B,SAK3B;EAAG,GAAA;AAAA,CAAA,EAIT,KAAA,CAAM,cAJG,CAAA,KAAA,CAAA,CAAA,EAIkB,kBAAA,CAAA,GAAA,CAAA,OAJlB;;iBAoBH,QAAA,CAlBP;;WAE4B;EAAA,GAAA;AAAA,CAAA,EAoB3B,KAAA,CAAM,cApBqB,CAAA,KAAA,CAAA,CAAA,EAoBA,kBAAA,CAAA,GAAA,CAAA,OApBA"}
|
package/dist/index37.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime298 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types18 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/Link/Link.d.ts
|
|
7
7
|
declare const linkVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "
|
|
8
|
+
variant?: "default" | "subtle" | "muted" | null | undefined;
|
|
9
9
|
underline?: "always" | "hover" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string;
|
|
11
11
|
type LinkProps = React.ComponentProps<"a"> & VariantProps<typeof linkVariants> & {
|
|
12
12
|
/** Render the child element instead of an <a> (for router links). */
|
|
13
13
|
asChild?: boolean;
|
|
@@ -23,7 +23,7 @@ declare function Link({
|
|
|
23
23
|
variant,
|
|
24
24
|
underline,
|
|
25
25
|
...props
|
|
26
|
-
}: LinkProps):
|
|
26
|
+
}: LinkProps): react_jsx_runtime298.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { LinkProps as n, linkVariants as r, Link as t };
|
|
29
29
|
//# sourceMappingURL=index37.d.cts.map
|
package/dist/index37.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Link/Link.d.ts
|
|
7
7
|
declare const linkVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "muted" | "subtle" | null | undefined;
|
|
9
9
|
underline?: "always" | "hover" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
11
11
|
type LinkProps = React.ComponentProps<"a"> & VariantProps<typeof linkVariants> & {
|
|
12
12
|
/** Render the child element instead of an <a> (for router links). */
|
|
13
13
|
asChild?: boolean;
|
|
@@ -23,7 +23,7 @@ declare function Link({
|
|
|
23
23
|
variant,
|
|
24
24
|
underline,
|
|
25
25
|
...props
|
|
26
|
-
}: LinkProps):
|
|
26
|
+
}: LinkProps): react_jsx_runtime6.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { LinkProps as n, linkVariants as r, Link as t };
|
|
29
29
|
//# sourceMappingURL=index37.d.ts.map
|
package/dist/index37.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.d.ts","names":[],"sources":["../src/primitives/Link/Link.tsx"],"mappings":";;;;;;cAQM;;;IAmBL,
|
|
1
|
+
{"version":3,"file":"index37.d.ts","names":[],"sources":["../src/primitives/Link/Link.tsx"],"mappings":";;;;;;cAQM;;;IAmBL,+BAAA,CAAA;AAzBmC,KA2B/B,SAAA,GAAY,KAAA,CAAM,cAFtB,CAAA,GAAA,CAAA,GAGC,YAHD,CAAA,OAGqB,YAHrB,CAAA,GAAA;EAEI;EAAS,OAAA,CAAA,EAAA,OAAA;;SACQ,CAAA,EAIR,YAJQ,CAAA,OAIY,YAJZ,CAAA,CAAA,SAAA,CAAA;;WAIY,CAAA,EAElB,YAFkB,CAAA,OAEE,YAFF,CAAA,CAAA,WAAA,CAAA;;;iBAMzB,IAAA,CAJO;EAAA,OAAA;EAAA,SAAA;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAI4D,SAJ5D,CAAA,EAIqE,kBAAA,CAAA,GAAA,CAAA,OAJrE"}
|
package/dist/index38.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime171 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Logo/Logo.d.ts
|
|
@@ -14,7 +14,7 @@ declare function Logo({
|
|
|
14
14
|
brand: LogoBrand;
|
|
15
15
|
/** `logo` is the full wordmark; `icon` is the compact symbol. */
|
|
16
16
|
variant?: LogoVariant;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime171.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { LogoBrand as n, LogoVariant as r, Logo as t };
|
|
20
20
|
//# sourceMappingURL=index38.d.cts.map
|
package/dist/index38.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime161 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Logo/Logo.d.ts
|
|
5
5
|
type LogoBrand = "bodhi" | "slingshot" | "sustain" | "psai";
|
|
@@ -14,7 +14,7 @@ declare function Logo({
|
|
|
14
14
|
brand: LogoBrand;
|
|
15
15
|
/** `logo` is the full wordmark; `icon` is the compact symbol. */
|
|
16
16
|
variant?: LogoVariant;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime161.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { LogoBrand as n, LogoVariant as r, Logo as t };
|
|
20
20
|
//# sourceMappingURL=index38.d.ts.map
|
package/dist/index39.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime172 from "react/jsx-runtime";
|
|
2
2
|
import { Menubar } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -7,28 +7,28 @@ import * as React from "react";
|
|
|
7
7
|
declare function Menubar$1({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Menubar.Root>):
|
|
10
|
+
}: React.ComponentProps<typeof Menubar.Root>): react_jsx_runtime172.JSX.Element;
|
|
11
11
|
/** A single menu within the bar — wraps a trigger and its content. */
|
|
12
12
|
declare function MenubarMenu({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Menubar.Menu>):
|
|
14
|
+
}: React.ComponentProps<typeof Menubar.Menu>): react_jsx_runtime172.JSX.Element;
|
|
15
15
|
/** Groups related menu items together for semantic structure. */
|
|
16
16
|
declare function MenubarGroup({
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof Menubar.Group>):
|
|
18
|
+
}: React.ComponentProps<typeof Menubar.Group>): react_jsx_runtime172.JSX.Element;
|
|
19
19
|
/** Portals menu content into the document body so it escapes overflow/stacking contexts. */
|
|
20
20
|
declare function MenubarPortal({
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof Menubar.Portal>):
|
|
22
|
+
}: React.ComponentProps<typeof Menubar.Portal>): react_jsx_runtime172.JSX.Element;
|
|
23
23
|
/** Groups `MenubarRadioItem`s so only one can be selected at a time. */
|
|
24
24
|
declare function MenubarRadioGroup({
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Menubar.RadioGroup>):
|
|
26
|
+
}: React.ComponentProps<typeof Menubar.RadioGroup>): react_jsx_runtime172.JSX.Element;
|
|
27
27
|
/** The clickable label in the bar that opens its menu's content. */
|
|
28
28
|
declare function MenubarTrigger({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar.Trigger>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar.Trigger>): react_jsx_runtime172.JSX.Element;
|
|
32
32
|
/** The dropdown surface that holds a menu's items; portalled and animated. */
|
|
33
33
|
declare function MenubarContent({
|
|
34
34
|
className,
|
|
@@ -36,7 +36,7 @@ declare function MenubarContent({
|
|
|
36
36
|
alignOffset,
|
|
37
37
|
sideOffset,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof Menubar.Content>):
|
|
39
|
+
}: React.ComponentProps<typeof Menubar.Content>): react_jsx_runtime172.JSX.Element;
|
|
40
40
|
/** A selectable action inside a menu's content. */
|
|
41
41
|
declare function MenubarItem({
|
|
42
42
|
className,
|
|
@@ -48,20 +48,20 @@ declare function MenubarItem({
|
|
|
48
48
|
inset?: boolean;
|
|
49
49
|
/** Visual intent — `destructive` styles the item in the danger colour. */
|
|
50
50
|
variant?: "default" | "destructive";
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime172.JSX.Element;
|
|
52
52
|
/** A menu item with a toggleable checkmark indicator. */
|
|
53
53
|
declare function MenubarCheckboxItem({
|
|
54
54
|
className,
|
|
55
55
|
children,
|
|
56
56
|
checked,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof Menubar.CheckboxItem>):
|
|
58
|
+
}: React.ComponentProps<typeof Menubar.CheckboxItem>): react_jsx_runtime172.JSX.Element;
|
|
59
59
|
/** A menu item with a radio dot indicator; use inside a `MenubarRadioGroup`. */
|
|
60
60
|
declare function MenubarRadioItem({
|
|
61
61
|
className,
|
|
62
62
|
children,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<typeof Menubar.RadioItem>):
|
|
64
|
+
}: React.ComponentProps<typeof Menubar.RadioItem>): react_jsx_runtime172.JSX.Element;
|
|
65
65
|
/** A non-interactive heading that titles a group of menu items. */
|
|
66
66
|
declare function MenubarLabel({
|
|
67
67
|
className,
|
|
@@ -70,21 +70,21 @@ declare function MenubarLabel({
|
|
|
70
70
|
}: React.ComponentProps<typeof Menubar.Label> & {
|
|
71
71
|
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
72
72
|
inset?: boolean;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime172.JSX.Element;
|
|
74
74
|
/** A thin divider line between groups of menu items. */
|
|
75
75
|
declare function MenubarSeparator({
|
|
76
76
|
className,
|
|
77
77
|
...props
|
|
78
|
-
}: React.ComponentProps<typeof Menubar.Separator>):
|
|
78
|
+
}: React.ComponentProps<typeof Menubar.Separator>): react_jsx_runtime172.JSX.Element;
|
|
79
79
|
/** Right-aligned hint text for an item's keyboard shortcut (e.g. ⌘T). */
|
|
80
80
|
declare function MenubarShortcut({
|
|
81
81
|
className,
|
|
82
82
|
...props
|
|
83
|
-
}: React.ComponentProps<"span">):
|
|
83
|
+
}: React.ComponentProps<"span">): react_jsx_runtime172.JSX.Element;
|
|
84
84
|
/** Wraps a nested submenu (its trigger and content). */
|
|
85
85
|
declare function MenubarSub({
|
|
86
86
|
...props
|
|
87
|
-
}: React.ComponentProps<typeof Menubar.Sub>):
|
|
87
|
+
}: React.ComponentProps<typeof Menubar.Sub>): react_jsx_runtime172.JSX.Element;
|
|
88
88
|
/** An item that opens a nested submenu; shows a trailing chevron. */
|
|
89
89
|
declare function MenubarSubTrigger({
|
|
90
90
|
className,
|
|
@@ -94,12 +94,12 @@ declare function MenubarSubTrigger({
|
|
|
94
94
|
}: React.ComponentProps<typeof Menubar.SubTrigger> & {
|
|
95
95
|
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
96
96
|
inset?: boolean;
|
|
97
|
-
}):
|
|
97
|
+
}): react_jsx_runtime172.JSX.Element;
|
|
98
98
|
/** The dropdown surface for a nested submenu's items. */
|
|
99
99
|
declare function MenubarSubContent({
|
|
100
100
|
className,
|
|
101
101
|
...props
|
|
102
|
-
}: React.ComponentProps<typeof Menubar.SubContent>):
|
|
102
|
+
}: React.ComponentProps<typeof Menubar.SubContent>): react_jsx_runtime172.JSX.Element;
|
|
103
103
|
//#endregion
|
|
104
104
|
export { MenubarItem as a, MenubarPortal as c, MenubarSeparator as d, MenubarShortcut as f, MenubarTrigger as g, MenubarSubTrigger as h, MenubarGroup as i, MenubarRadioGroup as l, MenubarSubContent as m, MenubarCheckboxItem as n, MenubarLabel as o, MenubarSub as p, MenubarContent as r, MenubarMenu as s, Menubar$1 as t, MenubarRadioItem as u };
|
|
105
105
|
//# sourceMappingURL=index39.d.cts.map
|
package/dist/index39.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Menubar } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/Menubar/Menubar.d.ts
|
|
6
6
|
/** Horizontal application menu bar that hosts a row of dropdown menus (File, Edit, …). */
|
|
7
7
|
declare function Menubar$1({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Menubar.Root>):
|
|
10
|
+
}: React.ComponentProps<typeof Menubar.Root>): react_jsx_runtime31.JSX.Element;
|
|
11
11
|
/** A single menu within the bar — wraps a trigger and its content. */
|
|
12
12
|
declare function MenubarMenu({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Menubar.Menu>):
|
|
14
|
+
}: React.ComponentProps<typeof Menubar.Menu>): react_jsx_runtime31.JSX.Element;
|
|
15
15
|
/** Groups related menu items together for semantic structure. */
|
|
16
16
|
declare function MenubarGroup({
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof Menubar.Group>):
|
|
18
|
+
}: React.ComponentProps<typeof Menubar.Group>): react_jsx_runtime31.JSX.Element;
|
|
19
19
|
/** Portals menu content into the document body so it escapes overflow/stacking contexts. */
|
|
20
20
|
declare function MenubarPortal({
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof Menubar.Portal>):
|
|
22
|
+
}: React.ComponentProps<typeof Menubar.Portal>): react_jsx_runtime31.JSX.Element;
|
|
23
23
|
/** Groups `MenubarRadioItem`s so only one can be selected at a time. */
|
|
24
24
|
declare function MenubarRadioGroup({
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Menubar.RadioGroup>):
|
|
26
|
+
}: React.ComponentProps<typeof Menubar.RadioGroup>): react_jsx_runtime31.JSX.Element;
|
|
27
27
|
/** The clickable label in the bar that opens its menu's content. */
|
|
28
28
|
declare function MenubarTrigger({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar.Trigger>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar.Trigger>): react_jsx_runtime31.JSX.Element;
|
|
32
32
|
/** The dropdown surface that holds a menu's items; portalled and animated. */
|
|
33
33
|
declare function MenubarContent({
|
|
34
34
|
className,
|
|
@@ -36,7 +36,7 @@ declare function MenubarContent({
|
|
|
36
36
|
alignOffset,
|
|
37
37
|
sideOffset,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof Menubar.Content>):
|
|
39
|
+
}: React.ComponentProps<typeof Menubar.Content>): react_jsx_runtime31.JSX.Element;
|
|
40
40
|
/** A selectable action inside a menu's content. */
|
|
41
41
|
declare function MenubarItem({
|
|
42
42
|
className,
|
|
@@ -48,20 +48,20 @@ declare function MenubarItem({
|
|
|
48
48
|
inset?: boolean;
|
|
49
49
|
/** Visual intent — `destructive` styles the item in the danger colour. */
|
|
50
50
|
variant?: "default" | "destructive";
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime31.JSX.Element;
|
|
52
52
|
/** A menu item with a toggleable checkmark indicator. */
|
|
53
53
|
declare function MenubarCheckboxItem({
|
|
54
54
|
className,
|
|
55
55
|
children,
|
|
56
56
|
checked,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof Menubar.CheckboxItem>):
|
|
58
|
+
}: React.ComponentProps<typeof Menubar.CheckboxItem>): react_jsx_runtime31.JSX.Element;
|
|
59
59
|
/** A menu item with a radio dot indicator; use inside a `MenubarRadioGroup`. */
|
|
60
60
|
declare function MenubarRadioItem({
|
|
61
61
|
className,
|
|
62
62
|
children,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<typeof Menubar.RadioItem>):
|
|
64
|
+
}: React.ComponentProps<typeof Menubar.RadioItem>): react_jsx_runtime31.JSX.Element;
|
|
65
65
|
/** A non-interactive heading that titles a group of menu items. */
|
|
66
66
|
declare function MenubarLabel({
|
|
67
67
|
className,
|
|
@@ -70,21 +70,21 @@ declare function MenubarLabel({
|
|
|
70
70
|
}: React.ComponentProps<typeof Menubar.Label> & {
|
|
71
71
|
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
72
72
|
inset?: boolean;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime31.JSX.Element;
|
|
74
74
|
/** A thin divider line between groups of menu items. */
|
|
75
75
|
declare function MenubarSeparator({
|
|
76
76
|
className,
|
|
77
77
|
...props
|
|
78
|
-
}: React.ComponentProps<typeof Menubar.Separator>):
|
|
78
|
+
}: React.ComponentProps<typeof Menubar.Separator>): react_jsx_runtime31.JSX.Element;
|
|
79
79
|
/** Right-aligned hint text for an item's keyboard shortcut (e.g. ⌘T). */
|
|
80
80
|
declare function MenubarShortcut({
|
|
81
81
|
className,
|
|
82
82
|
...props
|
|
83
|
-
}: React.ComponentProps<"span">):
|
|
83
|
+
}: React.ComponentProps<"span">): react_jsx_runtime31.JSX.Element;
|
|
84
84
|
/** Wraps a nested submenu (its trigger and content). */
|
|
85
85
|
declare function MenubarSub({
|
|
86
86
|
...props
|
|
87
|
-
}: React.ComponentProps<typeof Menubar.Sub>):
|
|
87
|
+
}: React.ComponentProps<typeof Menubar.Sub>): react_jsx_runtime31.JSX.Element;
|
|
88
88
|
/** An item that opens a nested submenu; shows a trailing chevron. */
|
|
89
89
|
declare function MenubarSubTrigger({
|
|
90
90
|
className,
|
|
@@ -94,12 +94,12 @@ declare function MenubarSubTrigger({
|
|
|
94
94
|
}: React.ComponentProps<typeof Menubar.SubTrigger> & {
|
|
95
95
|
/** Adds left padding to align the label with items that have leading icons/indicators. */
|
|
96
96
|
inset?: boolean;
|
|
97
|
-
}):
|
|
97
|
+
}): react_jsx_runtime31.JSX.Element;
|
|
98
98
|
/** The dropdown surface for a nested submenu's items. */
|
|
99
99
|
declare function MenubarSubContent({
|
|
100
100
|
className,
|
|
101
101
|
...props
|
|
102
|
-
}: React.ComponentProps<typeof Menubar.SubContent>):
|
|
102
|
+
}: React.ComponentProps<typeof Menubar.SubContent>): react_jsx_runtime31.JSX.Element;
|
|
103
103
|
//#endregion
|
|
104
104
|
export { MenubarItem as a, MenubarPortal as c, MenubarSeparator as d, MenubarShortcut as f, MenubarTrigger as g, MenubarSubTrigger as h, MenubarGroup as i, MenubarRadioGroup as l, MenubarSubContent as m, MenubarCheckboxItem as n, MenubarLabel as o, MenubarSub as p, MenubarContent as r, MenubarMenu as s, Menubar$1 as t, MenubarRadioItem as u };
|
|
105
105
|
//# sourceMappingURL=index39.d.ts.map
|