@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/index57.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime216 from "react/jsx-runtime";
|
|
2
2
|
import { Switch } from "radix-ui";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ declare function Switch$1({
|
|
|
11
11
|
}: React.ComponentProps<typeof Switch.Root> & {
|
|
12
12
|
/** Visual size of the track and thumb. */
|
|
13
13
|
size?: "sm" | "default";
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime216.JSX.Element;
|
|
15
15
|
/** A `Switch` paired with a clickable text label. */
|
|
16
16
|
declare function SwitchGroup({
|
|
17
17
|
className,
|
|
@@ -26,7 +26,7 @@ declare function SwitchGroup({
|
|
|
26
26
|
label?: React.ReactNode;
|
|
27
27
|
/** Renders the label before the switch instead of after it. */
|
|
28
28
|
flipped?: boolean;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime216.JSX.Element;
|
|
30
30
|
/** A `Switch` inside a bordered card with a title and description. */
|
|
31
31
|
declare function RichSwitchGroup({
|
|
32
32
|
className,
|
|
@@ -44,7 +44,7 @@ declare function RichSwitchGroup({
|
|
|
44
44
|
description?: React.ReactNode;
|
|
45
45
|
/** Renders the switch before the text content instead of after it. */
|
|
46
46
|
flipped?: boolean;
|
|
47
|
-
}):
|
|
47
|
+
}): react_jsx_runtime216.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Switch$1 as n, SwitchGroup as r, RichSwitchGroup as t };
|
|
50
50
|
//# sourceMappingURL=index57.d.cts.map
|
package/dist/index57.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Switch } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/Switch/Switch.d.ts
|
|
6
6
|
/** A toggle control for switching a single setting on or off. */
|
|
@@ -11,7 +11,7 @@ declare function Switch$1({
|
|
|
11
11
|
}: React.ComponentProps<typeof Switch.Root> & {
|
|
12
12
|
/** Visual size of the track and thumb. */
|
|
13
13
|
size?: "sm" | "default";
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime13.JSX.Element;
|
|
15
15
|
/** A `Switch` paired with a clickable text label. */
|
|
16
16
|
declare function SwitchGroup({
|
|
17
17
|
className,
|
|
@@ -26,7 +26,7 @@ declare function SwitchGroup({
|
|
|
26
26
|
label?: React.ReactNode;
|
|
27
27
|
/** Renders the label before the switch instead of after it. */
|
|
28
28
|
flipped?: boolean;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime13.JSX.Element;
|
|
30
30
|
/** A `Switch` inside a bordered card with a title and description. */
|
|
31
31
|
declare function RichSwitchGroup({
|
|
32
32
|
className,
|
|
@@ -44,7 +44,7 @@ declare function RichSwitchGroup({
|
|
|
44
44
|
description?: React.ReactNode;
|
|
45
45
|
/** Renders the switch before the text content instead of after it. */
|
|
46
46
|
flipped?: boolean;
|
|
47
|
-
}):
|
|
47
|
+
}): react_jsx_runtime13.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Switch$1 as n, SwitchGroup as r, RichSwitchGroup as t };
|
|
50
50
|
//# sourceMappingURL=index57.d.ts.map
|
package/dist/index58.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime208 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Table/Table.d.ts
|
|
@@ -10,42 +10,42 @@ declare function Table({
|
|
|
10
10
|
}: React.ComponentProps<"table"> & {
|
|
11
11
|
/** Shades even body rows for a zebra-striped layout (Figma odd/even rows). */
|
|
12
12
|
striped?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime208.JSX.Element;
|
|
14
14
|
/** The `<thead>` section; holds the header row(s). */
|
|
15
15
|
declare function TableHeader({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<"thead">):
|
|
18
|
+
}: React.ComponentProps<"thead">): react_jsx_runtime208.JSX.Element;
|
|
19
19
|
/** The `<tbody>` section; holds the data rows. */
|
|
20
20
|
declare function TableBody({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<"tbody">):
|
|
23
|
+
}: React.ComponentProps<"tbody">): react_jsx_runtime208.JSX.Element;
|
|
24
24
|
/** The `<tfoot>` section; a muted, emphasised summary row band. */
|
|
25
25
|
declare function TableFooter({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"tfoot">):
|
|
28
|
+
}: React.ComponentProps<"tfoot">): react_jsx_runtime208.JSX.Element;
|
|
29
29
|
/** A table row (`<tr>`); supports hover and `data-state="selected"` styling. */
|
|
30
30
|
declare function TableRow({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"tr">):
|
|
33
|
+
}: React.ComponentProps<"tr">): react_jsx_runtime208.JSX.Element;
|
|
34
34
|
/** A header cell (`<th>`); left-aligned, medium-weight column label. */
|
|
35
35
|
declare function TableHead({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<"th">):
|
|
38
|
+
}: React.ComponentProps<"th">): react_jsx_runtime208.JSX.Element;
|
|
39
39
|
/** A data cell (`<td>`). */
|
|
40
40
|
declare function TableCell({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<"td">):
|
|
43
|
+
}: React.ComponentProps<"td">): react_jsx_runtime208.JSX.Element;
|
|
44
44
|
/** A `<caption>` rendered beneath the table as muted descriptive text. */
|
|
45
45
|
declare function TableCaption({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<"caption">):
|
|
48
|
+
}: React.ComponentProps<"caption">): react_jsx_runtime208.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { TableFooter as a, TableRow as c, TableCell as i, TableBody as n, TableHead as o, TableCaption as r, TableHeader as s, Table as t };
|
|
51
51
|
//# sourceMappingURL=index58.d.cts.map
|
package/dist/index58.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/Table/Table.d.ts
|
|
5
5
|
/** The table root: wraps a `<table>` in a horizontally scrollable container. */
|
|
@@ -10,42 +10,42 @@ declare function Table({
|
|
|
10
10
|
}: React.ComponentProps<"table"> & {
|
|
11
11
|
/** Shades even body rows for a zebra-striped layout (Figma odd/even rows). */
|
|
12
12
|
striped?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime16.JSX.Element;
|
|
14
14
|
/** The `<thead>` section; holds the header row(s). */
|
|
15
15
|
declare function TableHeader({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<"thead">):
|
|
18
|
+
}: React.ComponentProps<"thead">): react_jsx_runtime16.JSX.Element;
|
|
19
19
|
/** The `<tbody>` section; holds the data rows. */
|
|
20
20
|
declare function TableBody({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<"tbody">):
|
|
23
|
+
}: React.ComponentProps<"tbody">): react_jsx_runtime16.JSX.Element;
|
|
24
24
|
/** The `<tfoot>` section; a muted, emphasised summary row band. */
|
|
25
25
|
declare function TableFooter({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"tfoot">):
|
|
28
|
+
}: React.ComponentProps<"tfoot">): react_jsx_runtime16.JSX.Element;
|
|
29
29
|
/** A table row (`<tr>`); supports hover and `data-state="selected"` styling. */
|
|
30
30
|
declare function TableRow({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"tr">):
|
|
33
|
+
}: React.ComponentProps<"tr">): react_jsx_runtime16.JSX.Element;
|
|
34
34
|
/** A header cell (`<th>`); left-aligned, medium-weight column label. */
|
|
35
35
|
declare function TableHead({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<"th">):
|
|
38
|
+
}: React.ComponentProps<"th">): react_jsx_runtime16.JSX.Element;
|
|
39
39
|
/** A data cell (`<td>`). */
|
|
40
40
|
declare function TableCell({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<"td">):
|
|
43
|
+
}: React.ComponentProps<"td">): react_jsx_runtime16.JSX.Element;
|
|
44
44
|
/** A `<caption>` rendered beneath the table as muted descriptive text. */
|
|
45
45
|
declare function TableCaption({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<"caption">):
|
|
48
|
+
}: React.ComponentProps<"caption">): react_jsx_runtime16.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { TableFooter as a, TableRow as c, TableCell as i, TableBody as n, TableHead as o, TableCaption as r, TableHeader as s, Table as t };
|
|
51
51
|
//# sourceMappingURL=index58.d.ts.map
|
package/dist/index59.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime226 from "react/jsx-runtime";
|
|
2
2
|
import { Tabs } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types16 from "class-variance-authority/types";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Tabs/Tabs.d.ts
|
|
@@ -21,38 +21,43 @@ declare function Tabs$1({
|
|
|
21
21
|
variant?: TabsVariant;
|
|
22
22
|
/** Control density — drives padding and text size of the triggers. */
|
|
23
23
|
size?: TabsSize;
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime226.JSX.Element;
|
|
25
25
|
declare const tabsListVariants: (props?: ({
|
|
26
26
|
variant?: "line" | "pill" | "segmented" | "fancy" | null | undefined;
|
|
27
27
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
28
28
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types16.ClassProp) | undefined) => string;
|
|
30
30
|
/** Row (or column) of tab triggers; renders the sliding indicator for the `segmented` variant. */
|
|
31
31
|
declare function TabsList({
|
|
32
32
|
className,
|
|
33
33
|
children,
|
|
34
|
+
tabPrefix,
|
|
35
|
+
tabSuffix,
|
|
34
36
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Tabs.List>
|
|
37
|
+
}: React.ComponentProps<typeof Tabs.List> & {
|
|
38
|
+
tabPrefix?: React.ReactNode;
|
|
39
|
+
tabSuffix?: React.ReactNode;
|
|
40
|
+
}): react_jsx_runtime226.JSX.Element;
|
|
36
41
|
declare const tabsTriggerVariants: (props?: ({
|
|
37
42
|
variant?: "line" | "pill" | "segmented" | "fancy" | null | undefined;
|
|
38
43
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
39
44
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
40
|
-
} &
|
|
45
|
+
} & class_variance_authority_types16.ClassProp) | undefined) => string;
|
|
41
46
|
/** Clickable tab button; its `value` selects the matching `TabsContent` panel. */
|
|
42
47
|
declare function TabsTrigger({
|
|
43
48
|
className,
|
|
44
49
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof Tabs.Trigger>):
|
|
50
|
+
}: React.ComponentProps<typeof Tabs.Trigger>): react_jsx_runtime226.JSX.Element;
|
|
46
51
|
/** Panel shown when its `value` matches the active tab; styled as a glass panel for the `fancy` variant. */
|
|
47
52
|
declare function TabsContent({
|
|
48
53
|
className,
|
|
49
54
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Tabs.Content>):
|
|
55
|
+
}: React.ComponentProps<typeof Tabs.Content>): react_jsx_runtime226.JSX.Element;
|
|
51
56
|
/** Trailing count badge for a tab trigger; goes dark on the `fancy` variant to match its cards. */
|
|
52
57
|
declare function TabsCounter({
|
|
53
58
|
className,
|
|
54
59
|
...props
|
|
55
|
-
}: React.ComponentProps<"span">):
|
|
60
|
+
}: React.ComponentProps<"span">): react_jsx_runtime226.JSX.Element;
|
|
56
61
|
//#endregion
|
|
57
62
|
export { TabsTrigger as a, TabsList as i, TabsContent as n, tabsListVariants as o, TabsCounter as r, tabsTriggerVariants as s, Tabs$1 as t };
|
|
58
63
|
//# sourceMappingURL=index59.d.cts.map
|
package/dist/index59.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index59.d.cts","names":[],"sources":["../src/primitives/Tabs/Tabs.tsx"],"mappings":";;;;;;KAmBK,WAAA;KACA,QAAA;;;AAhB0B;AA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AA,EA8BsD,oBAAA,CAAA,GAAA,CAAA,OA9BtD"}
|
package/dist/index59.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Tabs } from "radix-ui";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime296 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types25 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Tabs/Tabs.d.ts
|
|
7
7
|
type TabsVariant = "line" | "pill" | "segmented" | "fancy";
|
|
@@ -21,38 +21,43 @@ declare function Tabs$1({
|
|
|
21
21
|
variant?: TabsVariant;
|
|
22
22
|
/** Control density — drives padding and text size of the triggers. */
|
|
23
23
|
size?: TabsSize;
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime296.JSX.Element;
|
|
25
25
|
declare const tabsListVariants: (props?: ({
|
|
26
26
|
variant?: "line" | "pill" | "segmented" | "fancy" | null | undefined;
|
|
27
27
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
28
|
-
size?: "sm" | "
|
|
29
|
-
} &
|
|
28
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
29
|
+
} & class_variance_authority_types25.ClassProp) | undefined) => string;
|
|
30
30
|
/** Row (or column) of tab triggers; renders the sliding indicator for the `segmented` variant. */
|
|
31
31
|
declare function TabsList({
|
|
32
32
|
className,
|
|
33
33
|
children,
|
|
34
|
+
tabPrefix,
|
|
35
|
+
tabSuffix,
|
|
34
36
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Tabs.List>
|
|
37
|
+
}: React.ComponentProps<typeof Tabs.List> & {
|
|
38
|
+
tabPrefix?: React.ReactNode;
|
|
39
|
+
tabSuffix?: React.ReactNode;
|
|
40
|
+
}): react_jsx_runtime296.JSX.Element;
|
|
36
41
|
declare const tabsTriggerVariants: (props?: ({
|
|
37
42
|
variant?: "line" | "pill" | "segmented" | "fancy" | null | undefined;
|
|
38
43
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
39
|
-
size?: "sm" | "
|
|
40
|
-
} &
|
|
44
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
45
|
+
} & class_variance_authority_types25.ClassProp) | undefined) => string;
|
|
41
46
|
/** Clickable tab button; its `value` selects the matching `TabsContent` panel. */
|
|
42
47
|
declare function TabsTrigger({
|
|
43
48
|
className,
|
|
44
49
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof Tabs.Trigger>):
|
|
50
|
+
}: React.ComponentProps<typeof Tabs.Trigger>): react_jsx_runtime296.JSX.Element;
|
|
46
51
|
/** Panel shown when its `value` matches the active tab; styled as a glass panel for the `fancy` variant. */
|
|
47
52
|
declare function TabsContent({
|
|
48
53
|
className,
|
|
49
54
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Tabs.Content>):
|
|
55
|
+
}: React.ComponentProps<typeof Tabs.Content>): react_jsx_runtime296.JSX.Element;
|
|
51
56
|
/** Trailing count badge for a tab trigger; goes dark on the `fancy` variant to match its cards. */
|
|
52
57
|
declare function TabsCounter({
|
|
53
58
|
className,
|
|
54
59
|
...props
|
|
55
|
-
}: React.ComponentProps<"span">):
|
|
60
|
+
}: React.ComponentProps<"span">): react_jsx_runtime296.JSX.Element;
|
|
56
61
|
//#endregion
|
|
57
62
|
export { TabsTrigger as a, TabsList as i, TabsContent as n, tabsListVariants as o, TabsCounter as r, tabsTriggerVariants as s, Tabs$1 as t };
|
|
58
63
|
//# sourceMappingURL=index59.d.ts.map
|
package/dist/index59.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index59.d.ts","names":[],"sources":["../src/primitives/Tabs/Tabs.tsx"],"mappings":";;;;;;KAmBK,WAAA;KACA,QAAA;;;AAhB0B;AAef;AACH,iBAaJ,MAAA,CAAI;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;CAAA,EAM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AAA,IAAA,GAAA,SAAA;aACA,CAAA,EAAA,UAAA,GAAA,YAAA,GAAA,IAAA,GAAA,SAAA;MAE6B,CAAA,EAAA,IAAc,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,SAAA;IA8G5C,gCAAA,CAAA,SA9GQ,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAiHA,WAAA,CA/GW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+G0B,KAAA,CAAM,cA/GhC,CAAA,OA+GsD,IAAA,CAAc,OA/GpE,CAAA,CAAA,EA+G4E,oBAAA,CAAA,GAAA,CAAA,OA/G5E;;AACnB,iBA0HQ,WAAA,CA1HR;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0H6C,KAAA,CAAM,cA1HnD,CAAA,OA0HyE,IAAA,CAAc,OA1HvF,CAAA,CAAA,EA0H+F,oBAAA,CAAA,GAAA,CAAA,OA1H/F;AAAA;iBA4IQ,WAAA,CA9BW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8B0B,KAAA,CAAM,cA9BhC,CAAA,MAAA,CAAA,CAAA,EA8BsD,oBAAA,CAAA,GAAA,CAAA,OA9BtD"}
|
package/dist/index6.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime166 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types13 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/Badge/Badge.d.ts
|
|
7
7
|
declare const badgeVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "
|
|
8
|
+
variant?: "default" | "outline" | "info" | "success" | "warning" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
9
9
|
shape?: "default" | "round" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types13.ClassProp) | undefined) => string;
|
|
11
11
|
/** A compact label for status, counts, or metadata. Renders a `span` by default. */
|
|
12
12
|
declare function Badge({
|
|
13
13
|
className,
|
|
@@ -20,7 +20,7 @@ declare function Badge({
|
|
|
20
20
|
...props
|
|
21
21
|
}: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
22
22
|
asChild?: boolean;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime166.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { badgeVariants as n, Badge as t };
|
|
26
26
|
//# sourceMappingURL=index6.d.cts.map
|
package/dist/index6.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime86 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Badge/Badge.d.ts
|
|
7
7
|
declare const badgeVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "outline" | "
|
|
8
|
+
variant?: "default" | "outline" | "destructive" | "success" | "secondary" | "ghost" | "warning" | "info" | null | undefined;
|
|
9
9
|
shape?: "default" | "round" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
11
11
|
/** A compact label for status, counts, or metadata. Renders a `span` by default. */
|
|
12
12
|
declare function Badge({
|
|
13
13
|
className,
|
|
@@ -20,7 +20,7 @@ declare function Badge({
|
|
|
20
20
|
...props
|
|
21
21
|
}: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
22
22
|
asChild?: boolean;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime86.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { badgeVariants as n, Badge as t };
|
|
26
26
|
//# sourceMappingURL=index6.d.ts.map
|
package/dist/index6.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index6.d.ts","names":[],"sources":["../src/primitives/Badge/Badge.tsx"],"mappings":";;;;;;cAMM;;;IAiCL,gCAAA,CAAA;AArCmC;iBAwC3B,KAAA,CAAK;EAAA,SAAA;;SACZ;;;;SAQC;EAAA,GAAA;CAAM,EAAN,KAAA,CAAM,cAAA,CAAA,MAAA,CAAA,GAAyB,YAAzB,CAAA,OAA6C,aAA7C,CAAA,GAAA;SAA6C,CAAA,EAAA,OAAA;IAAsC,
|
|
1
|
+
{"version":3,"file":"index6.d.ts","names":[],"sources":["../src/primitives/Badge/Badge.tsx"],"mappings":";;;;;;cAMM;;;IAiCL,gCAAA,CAAA;AArCmC;iBAwC3B,KAAA,CAAK;EAAA,SAAA;;SACZ;;;;SAQC;EAAA,GAAA;CAAM,EAAN,KAAA,CAAM,cAAA,CAAA,MAAA,CAAA,GAAyB,YAAzB,CAAA,OAA6C,aAA7C,CAAA,GAAA;SAA6C,CAAA,EAAA,OAAA;IAAsC,mBAAA,CAAA,GAAA,CAAA,OAA1D"}
|
package/dist/index60.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime223 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types14 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
@@ -7,11 +7,11 @@ import * as React from "react";
|
|
|
7
7
|
declare const textVariants: (props?: ({
|
|
8
8
|
size?: "caption" | "small" | "large" | "regular" | "mini" | null | undefined;
|
|
9
9
|
weight?: "normal" | "medium" | "semibold" | null | undefined;
|
|
10
|
-
variant?: "default" | "muted" | "
|
|
10
|
+
variant?: "default" | "muted" | "success" | "destructive" | "primary" | null | undefined;
|
|
11
11
|
font?: "body" | "heading" | "mono" | null | undefined;
|
|
12
12
|
align?: "center" | "left" | "right" | null | undefined;
|
|
13
13
|
truncate?: boolean | null | undefined;
|
|
14
|
-
} &
|
|
14
|
+
} & class_variance_authority_types14.ClassProp) | undefined) => string;
|
|
15
15
|
type TextProps = Omit<React.ComponentProps<"p">, "color"> & VariantProps<typeof textVariants> & {
|
|
16
16
|
/** Element/component to render. Defaults to `p`. */
|
|
17
17
|
as?: React.ElementType;
|
|
@@ -39,7 +39,7 @@ declare function Text({
|
|
|
39
39
|
align,
|
|
40
40
|
truncate,
|
|
41
41
|
...props
|
|
42
|
-
}: TextProps):
|
|
42
|
+
}: TextProps): react_jsx_runtime223.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { TextProps as n, textVariants as r, Text as t };
|
|
45
45
|
//# sourceMappingURL=index60.d.cts.map
|
package/dist/index60.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Text/Text.d.ts
|
|
7
7
|
declare const textVariants: (props?: ({
|
|
8
8
|
size?: "large" | "regular" | "small" | "mini" | "caption" | null | undefined;
|
|
9
9
|
weight?: "normal" | "medium" | "semibold" | null | undefined;
|
|
10
|
-
variant?: "default" | "muted" | "primary" | "
|
|
10
|
+
variant?: "default" | "muted" | "primary" | "destructive" | "success" | null | undefined;
|
|
11
11
|
font?: "body" | "heading" | "mono" | null | undefined;
|
|
12
12
|
align?: "center" | "left" | "right" | null | undefined;
|
|
13
13
|
truncate?: boolean | null | undefined;
|
|
14
|
-
} &
|
|
14
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
15
15
|
type TextProps = Omit<React.ComponentProps<"p">, "color"> & VariantProps<typeof textVariants> & {
|
|
16
16
|
/** Element/component to render. Defaults to `p`. */
|
|
17
17
|
as?: React.ElementType;
|
|
@@ -39,7 +39,7 @@ declare function Text({
|
|
|
39
39
|
align,
|
|
40
40
|
truncate,
|
|
41
41
|
...props
|
|
42
|
-
}: TextProps):
|
|
42
|
+
}: TextProps): react_jsx_runtime50.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { TextProps as n, textVariants as r, Text as t };
|
|
45
45
|
//# sourceMappingURL=index60.d.ts.map
|
package/dist/index61.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime224 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types15 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/Textarea/Textarea.d.ts
|
|
7
7
|
declare const textareaVariants: (props?: ({
|
|
8
8
|
shape?: "default" | "round" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types15.ClassProp) | undefined) => string;
|
|
10
10
|
/** Multi-line text input that auto-grows with its content and supports validation + disabled states. */
|
|
11
11
|
declare function Textarea({
|
|
12
12
|
className,
|
|
@@ -15,7 +15,7 @@ declare function Textarea({
|
|
|
15
15
|
}: React.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants> & {
|
|
16
16
|
/** Corner radius: `default` (rounded-md) or `round` (rounded-2xl). */
|
|
17
17
|
shape?: VariantProps<typeof textareaVariants>["shape"];
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime224.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { textareaVariants as n, Textarea as t };
|
|
21
21
|
//# sourceMappingURL=index61.d.cts.map
|
package/dist/index61.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index61.d.cts","names":[],"sources":["../src/primitives/Textarea/Textarea.tsx"],"mappings":";;;;;;cAKM;;IAaL
|
|
1
|
+
{"version":3,"file":"index61.d.cts","names":[],"sources":["../src/primitives/Textarea/Textarea.tsx"],"mappings":";;;;;;cAKM;;IAaL,gCAAA,CAAA;;AAjBmC,iBAoB3B,QAAA,CAHR;EAAA,SAAA;EAAA,KAAA;EAAA,GAAA;CAAA,EAOE,KAAA,CAAM,cAPR,CAAA,UAAA,CAAA,GAQC,YARD,CAAA,OAQqB,gBARrB,CAAA,GAAA;EAGQ;EAAQ,KAAA,CAAA,EAOL,YAPK,CAAA,OAOe,gBAPf,CAAA,CAAA,OAAA,CAAA;IAQd,oBAAA,CAAA,GAAA,CAAA,OAPD"}
|
package/dist/index61.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Textarea/Textarea.d.ts
|
|
7
7
|
declare const textareaVariants: (props?: ({
|
|
8
8
|
shape?: "default" | "round" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
10
10
|
/** Multi-line text input that auto-grows with its content and supports validation + disabled states. */
|
|
11
11
|
declare function Textarea({
|
|
12
12
|
className,
|
|
@@ -15,7 +15,7 @@ declare function Textarea({
|
|
|
15
15
|
}: React.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants> & {
|
|
16
16
|
/** Corner radius: `default` (rounded-md) or `round` (rounded-2xl). */
|
|
17
17
|
shape?: VariantProps<typeof textareaVariants>["shape"];
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime42.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { textareaVariants as n, Textarea as t };
|
|
21
21
|
//# sourceMappingURL=index61.d.ts.map
|
package/dist/index62.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime225 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/ThemeProvider/ThemeProvider.d.ts
|
|
@@ -37,7 +37,7 @@ declare function ThemeProvider({
|
|
|
37
37
|
defaultProduct?: ThemeProduct;
|
|
38
38
|
/** localStorage key for the persisted `{ theme, product }`. */
|
|
39
39
|
storageKey?: string;
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime225.JSX.Element;
|
|
41
41
|
/** Read the current theme/product and the setters. Must be used inside a `<ThemeProvider>`. */
|
|
42
42
|
declare function useTheme(): ThemeContextValue;
|
|
43
43
|
//#endregion
|
package/dist/index62.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index62.d.cts","names":[],"sources":["../src/primitives/ThemeProvider/ThemeProvider.tsx"],"mappings":";;;;;KAaY,SAAA;;AAAA,KAEA,YAAA,GAFS,WAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA;AAErB,KAIK,gBAAA,GAJmB;EAInB,KAAA,EAA4B,SAA5B;EAAgB,OAAA,EAAgC,YAAhC;;KAEhB,iBAAA,GAAoB,gBAF4B,GAAA;EAAY;EAE5D,QAAA,EAAA,CAAA,KAAA,EAEe,SAFE,EAAA,GAAA,IAAA;EAAA;aAAG,EAAA,GAAA,GAAA,IAAA;;YAMD,EAAA,CAAA,OAAA,EAAA,YAAA,EAAA,GAAA,IAAA;AAAY,CAAA;AAAA,cAG9B,YAAkE,EAAtD,KAAA,CAAA,OAAsD,CAAtD,iBAAsD,GAAA,IAAA,CAAA;;;;AAAtD;AAAA,iBAoCT,aAAA,CAAa;EAAA,QAAA;EAAA,YAAA;EAAA,cAAA;EAAA;CAAA,EAAA;EAAA;UACpB,EAMU,KAAA,CAAM,SANhB;;cAEA,CAAA,EAMe,SANf;;gBAIgB,CAAA,EAIC,YAJD;;YAIC,CAAA,EAAA,MAAA;IAGlB,
|
|
1
|
+
{"version":3,"file":"index62.d.cts","names":[],"sources":["../src/primitives/ThemeProvider/ThemeProvider.tsx"],"mappings":";;;;;KAaY,SAAA;;AAAA,KAEA,YAAA,GAFS,WAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA;AAErB,KAIK,gBAAA,GAJmB;EAInB,KAAA,EAA4B,SAA5B;EAAgB,OAAA,EAAgC,YAAhC;;KAEhB,iBAAA,GAAoB,gBAF4B,GAAA;EAAY;EAE5D,QAAA,EAAA,CAAA,KAAA,EAEe,SAFE,EAAA,GAAA,IAAA;EAAA;aAAG,EAAA,GAAA,GAAA,IAAA;;YAMD,EAAA,CAAA,OAAA,EAAA,YAAA,EAAA,GAAA,IAAA;AAAY,CAAA;AAAA,cAG9B,YAAkE,EAAtD,KAAA,CAAA,OAAsD,CAAtD,iBAAsD,GAAA,IAAA,CAAA;;;;AAAtD;AAAA,iBAoCT,aAAA,CAAa;EAAA,QAAA;EAAA,YAAA;EAAA,cAAA;EAAA;CAAA,EAAA;EAAA;UACpB,EAMU,KAAA,CAAM,SANhB;;cAEA,CAAA,EAMe,SANf;;gBAIgB,CAAA,EAIC,YAJD;;YAIC,CAAA,EAAA,MAAA;IAGlB,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAmCQ,QAAA,CAAA,CAAY,EAAA,iBAAiB"}
|
package/dist/index62.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/primitives/ThemeProvider/ThemeProvider.d.ts
|
|
5
5
|
/** Colour mode: light or dark (toggles the `.dark` class on `<html>`). */
|
|
@@ -37,7 +37,7 @@ declare function ThemeProvider({
|
|
|
37
37
|
defaultProduct?: ThemeProduct;
|
|
38
38
|
/** localStorage key for the persisted `{ theme, product }`. */
|
|
39
39
|
storageKey?: string;
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime39.JSX.Element;
|
|
41
41
|
/** Read the current theme/product and the setters. Must be used inside a `<ThemeProvider>`. */
|
|
42
42
|
declare function useTheme(): ThemeContextValue;
|
|
43
43
|
//#endregion
|
package/dist/index63.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime244 from "react/jsx-runtime";
|
|
2
2
|
import { Toggle } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types18 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/primitives/Toggle/Toggle.d.ts
|
|
8
8
|
declare const toggleVariants: (props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
11
11
|
shape?: "default" | "round" | "left" | "right" | "middle" | null | undefined;
|
|
12
|
-
} &
|
|
12
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string;
|
|
13
13
|
/** A two-state button that can be toggled on or off, built on Radix Toggle. */
|
|
14
14
|
declare function Toggle$1({
|
|
15
15
|
className,
|
|
@@ -17,7 +17,7 @@ declare function Toggle$1({
|
|
|
17
17
|
size,
|
|
18
18
|
shape,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>):
|
|
20
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime244.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { toggleVariants as n, Toggle$1 as t };
|
|
23
23
|
//# sourceMappingURL=index63.d.cts.map
|
package/dist/index63.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Toggle } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime40 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region src/primitives/Toggle/Toggle.d.ts
|
|
8
8
|
declare const toggleVariants: (props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "
|
|
11
|
-
shape?: "default" | "round" | "left" | "
|
|
12
|
-
} &
|
|
10
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
11
|
+
shape?: "default" | "round" | "left" | "right" | "middle" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
13
13
|
/** A two-state button that can be toggled on or off, built on Radix Toggle. */
|
|
14
14
|
declare function Toggle$1({
|
|
15
15
|
className,
|
|
@@ -17,7 +17,7 @@ declare function Toggle$1({
|
|
|
17
17
|
size,
|
|
18
18
|
shape,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>):
|
|
20
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime40.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { toggleVariants as n, Toggle$1 as t };
|
|
23
23
|
//# sourceMappingURL=index63.d.ts.map
|