@psnext/design-system 2.2.0 → 2.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/DESIGN.md +2 -2
- package/dist/Header.cjs +63 -88
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +64 -89
- package/dist/Header.js.map +1 -1
- 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.ts +7 -7
- 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 +12 -12
- package/dist/index12.d.cts.map +1 -1
- 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.cts.map +1 -1
- 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.cts.map +1 -1
- package/dist/index18.d.ts +11 -11
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.ts +10 -10
- package/dist/index2.d.cts +8 -8
- 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.ts +16 -16
- 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.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.cts.map +1 -1
- package/dist/index25.d.ts +2 -2
- package/dist/index26.d.cts +13 -13
- 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/index28.d.cts +6 -6
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +5 -5
- 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/index30.d.cts +6 -6
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +6 -6
- package/dist/index31.d.cts +4 -4
- package/dist/index31.d.ts +5 -5
- package/dist/index32.d.cts +6 -6
- 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.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 +15 -15
- 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/index37.d.cts +4 -4
- package/dist/index37.d.ts +5 -5
- 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/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.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/index43.d.ts.map +1 -1
- package/dist/index45.d.cts +8 -8
- package/dist/index45.d.ts +8 -8
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +2 -2
- package/dist/index46.d.ts +2 -2
- package/dist/index47.d.ts +4 -4
- package/dist/index48.d.cts +4 -4
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +4 -4
- package/dist/index49.d.cts +3 -3
- package/dist/index49.d.ts +3 -3
- 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 +11 -11
- package/dist/index50.d.cts.map +1 -1
- package/dist/index50.d.ts +11 -11
- package/dist/index51.d.cts +9 -9
- package/dist/index51.d.ts +9 -9
- package/dist/index52.d.cts +5 -5
- package/dist/index52.d.ts +5 -5
- package/dist/index53.d.cts +27 -27
- package/dist/index53.d.cts.map +1 -1
- package/dist/index53.d.ts +27 -27
- package/dist/index53.d.ts.map +1 -1
- package/dist/index54.d.cts +5 -5
- package/dist/index54.d.ts +5 -5
- package/dist/index55.d.cts +2 -2
- 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/index57.d.cts +2 -2
- package/dist/index57.d.cts.map +1 -1
- package/dist/index57.d.ts +2 -2
- package/dist/index58.d.cts +4 -4
- package/dist/index58.d.cts.map +1 -1
- package/dist/index58.d.ts +4 -4
- package/dist/index59.d.cts +9 -9
- package/dist/index59.d.ts +9 -9
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +6 -6
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +9 -9
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +13 -13
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +8 -8
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +7 -7
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +5 -5
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +4 -4
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +2 -2
- package/dist/index63.d.cts.map +1 -1
- package/dist/index63.d.ts +2 -2
- package/dist/index63.d.ts.map +1 -1
- package/dist/index64.d.cts +6 -6
- package/dist/index64.d.cts.map +1 -1
- package/dist/index64.d.ts +6 -6
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +3 -3
- package/dist/index65.d.ts +3 -3
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +4 -4
- package/dist/index66.d.cts.map +1 -1
- package/dist/index66.d.ts +5 -5
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +2 -2
- package/dist/index67.d.ts +2 -2
- 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 +8 -8
- package/dist/index68.d.ts.map +1 -1
- package/dist/index69.d.cts +7 -7
- package/dist/index69.d.ts +7 -7
- package/dist/index69.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.ts +8 -8
- package/dist/index7.d.ts.map +1 -1
- package/dist/index71.d.cts +19 -17
- package/dist/index71.d.cts.map +1 -1
- package/dist/index71.d.ts +19 -17
- package/dist/index71.d.ts.map +1 -1
- package/dist/index8.d.cts +5 -5
- package/dist/index8.d.cts.map +1 -1
- 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.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.cts.map +1 -1
- package/dist/patterns/DataTable/index.d.ts +3 -3
- package/dist/patterns/DataTable/index.d.ts.map +1 -1
- 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/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/package.json +1 -1
package/dist/index58.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_runtime36 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_runtime36.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_runtime36.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_runtime36.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Switch$1 as n, SwitchGroup as r, RichSwitchGroup as t };
|
|
50
50
|
//# sourceMappingURL=index58.d.ts.map
|
package/dist/index59.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime143 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
|
/** Zebra-stripes the body, tinting alternate rows starting with the first (Figma odd/even parity). */
|
|
12
12
|
striped?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime143.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_runtime143.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_runtime143.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_runtime143.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_runtime143.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_runtime143.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_runtime143.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_runtime143.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=index59.d.cts.map
|
package/dist/index59.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime47 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
|
/** Zebra-stripes the body, tinting alternate rows starting with the first (Figma odd/even parity). */
|
|
12
12
|
striped?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime47.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_runtime47.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_runtime47.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_runtime47.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_runtime47.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_runtime47.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_runtime47.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_runtime47.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=index59.d.ts.map
|
package/dist/index59.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index59.d.ts","names":[],"sources":["../src/primitives/Table/Table.tsx"],"mappings":";;;;;iBAKS,KAAA;;;;GAIN,KAAA,CAAM;;EAJA,OAAA,CAAK,EAAA,OAAA;CAAA,CAAA,EAOb,
|
|
1
|
+
{"version":3,"file":"index59.d.ts","names":[],"sources":["../src/primitives/Table/Table.tsx"],"mappings":";;;;;iBAKS,KAAA;;;;GAIN,KAAA,CAAM;;EAJA,OAAA,CAAK,EAAA,OAAA;CAAA,CAAA,EAOb,mBAAA,CAAA,GAAA,CAAA,OAPa;;iBA2BL,WAAA,CAzBP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyB4C,KAAA,CAAM,cAzBlD,CAAA,OAAA,CAAA,CAAA,EAyByE,mBAAA,CAAA,GAAA,CAAA,OAzBzE;;iBAoCO,SAAA,CA/BR;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+B2C,KAAA,CAAM,cA/BjD,CAAA,OAAA,CAAA,CAAA,EA+BwE,mBAAA,CAAA,GAAA,CAAA,OA/BxE;AAAA;AAAA,iBA0CQ,WAAA,CAtBW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsB0B,KAAA,CAAM,cAtBhC,CAAA,OAAA,CAAA,CAAA,EAsBuD,mBAAA,CAAA,GAAA,CAAA,OAtBvD;;iBAiCX,QAAA,CAjCc;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiCoB,KAAA,CAAM,cAjC1B,CAAA,IAAA,CAAA,CAAA,EAiC8C,mBAAA,CAAA,GAAA,CAAA,OAjC9C;;iBA+Cd,SAAA,CA/CkE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+C/B,KAAA,CAAM,cA/CyB,CAAA,IAAA,CAAA,CAAA,EA+CL,mBAAA,CAAA,GAAA,CAAA,OA/CK;AAAA;AAAA,iBA6DlE,SAAA,CAlDS;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAkD0B,KAAA,CAAM,cAlDhC,CAAA,IAAA,CAAA,CAAA,EAkDoD,mBAAA,CAAA,GAAA,CAAA,OAlDpD;;iBAgET,YAAA,CAhEY;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgE0B,KAAA,CAAM,cAhEhC,CAAA,SAAA,CAAA,CAAA,EAgEyD,mBAAA,CAAA,GAAA,CAAA,OAhEzD"}
|
package/dist/index6.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime177 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types23 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" | "
|
|
9
|
-
shape?: "
|
|
10
|
-
} &
|
|
8
|
+
variant?: "default" | "ai" | "destructive" | "success" | "outline" | "info" | "warning" | "secondary" | "ghost" | null | undefined;
|
|
9
|
+
shape?: "default" | "round" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types23.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_runtime177.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_runtime242 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types22 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" | "
|
|
8
|
+
variant?: "default" | "outline" | "destructive" | "success" | "ai" | "info" | "warning" | "secondary" | "ghost" | null | undefined;
|
|
9
9
|
shape?: "default" | "round" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types22.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_runtime242.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":";;;;;;cAQM;;;IA+BL
|
|
1
|
+
{"version":3,"file":"index6.d.ts","names":[],"sources":["../src/primitives/Badge/Badge.tsx"],"mappings":";;;;;;cAQM;;;IA+BL,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,oBAAA,CAAA,GAAA,CAAA,OAA1D"}
|
package/dist/index60.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
2
2
|
import { Tabs } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/primitives/Tabs/Tabs.d.ts
|
|
@@ -21,12 +21,12 @@ 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_runtime36.JSX.Element;
|
|
25
25
|
declare const tabsListVariants: (props?: ({
|
|
26
26
|
variant?: "line" | "pill" | "segmented" | "fancy" | null | undefined;
|
|
27
27
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
28
28
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types4.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,
|
|
@@ -37,27 +37,27 @@ declare function TabsList({
|
|
|
37
37
|
}: React.ComponentProps<typeof Tabs.List> & {
|
|
38
38
|
tabPrefix?: React.ReactNode;
|
|
39
39
|
tabSuffix?: React.ReactNode;
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime36.JSX.Element;
|
|
41
41
|
declare const tabsTriggerVariants: (props?: ({
|
|
42
42
|
variant?: "line" | "pill" | "segmented" | "fancy" | null | undefined;
|
|
43
43
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
44
44
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
45
|
-
} &
|
|
45
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
46
46
|
/** Clickable tab button; its `value` selects the matching `TabsContent` panel. */
|
|
47
47
|
declare function TabsTrigger({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Tabs.Trigger>):
|
|
50
|
+
}: React.ComponentProps<typeof Tabs.Trigger>): react_jsx_runtime36.JSX.Element;
|
|
51
51
|
/** Panel shown when its `value` matches the active tab; styled as a glass panel for the `fancy` variant. */
|
|
52
52
|
declare function TabsContent({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<typeof Tabs.Content>):
|
|
55
|
+
}: React.ComponentProps<typeof Tabs.Content>): react_jsx_runtime36.JSX.Element;
|
|
56
56
|
/** Trailing count badge for a tab trigger; goes dark on the `fancy` variant to match its cards. */
|
|
57
57
|
declare function TabsCounter({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<"span">):
|
|
60
|
+
}: React.ComponentProps<"span">): react_jsx_runtime36.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { TabsTrigger as a, TabsList as i, TabsContent as n, tabsListVariants as o, TabsCounter as r, tabsTriggerVariants as s, Tabs$1 as t };
|
|
63
63
|
//# sourceMappingURL=index60.d.cts.map
|
package/dist/index60.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index60.d.cts","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,EAMV,KAAA,CAAM,cANI,CAAA,OAMkB,IAAA,CAAc,IANhC,CAAA,GAAA;EAAA;SACX,CAAA,EAOU,WAPV;;MAEA,CAAA,EAOO,QAPP;IAQD,
|
|
1
|
+
{"version":3,"file":"index60.d.cts","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,EAMV,KAAA,CAAM,cANI,CAAA,OAMkB,IAAA,CAAc,IANhC,CAAA,GAAA;EAAA;SACX,CAAA,EAOU,WAPV;;MAEA,CAAA,EAOO,QAPP;IAQD,mBAAA,CAAA,GAAA,CAAA,OAPC;cAgCI,gBA9BuC,EAAA,CAAA,KAK5C,CAL4C,EAAA,CAAA;SAA1C,CAAA,EAAM,MAAA,GAAA,MAAA,GAAA,WAAA,GAAA,OAAA,GAAA,IAAA,GAAA,SAAA;aAEG,CAAA,EAAA,YAAA,GAAA,UAAA,GAAA,IAAA,GAAA,SAAA;MAEH,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,SAAA;IA+CP,+BAAA,CAAA,SA9CD,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;AAAA;AAAA,iBAiDQ,QAAA,CAHP;EAAA,SAAA;EAAA,QAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EASC,KAAA,CAAM,cATP,CAAA,OAS6B,IAAA,CAAc,IAT3C,CAAA,GAAA;EAGO,SAAA,CAAA,EAOK,KAAA,CAAM,SAPH;EAAA,SAAA,CAAA,EAQH,KAAA,CAAM,SARH;IAShB,mBAAA,CAAA,GAAA,CAAA,OARC;cA2EI,mBA1EJ,EAAA,CAAA,KAIO,CAJP,EAAA,CAAA;SACA,CAAA,EAAA,MAAA,GAAA,MAAA,GAAA,WAAA,GAAA,OAAA,GAAA,IAAA,GAAA,SAAA;aACA,CAAA,EAAA,YAAA,GAAA,UAAA,GAAA,IAAA,GAAA,SAAA;MAE6B,CAAA,EAAA,IAAc,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,SAAA;IAkI5C,+BAAA,CAAA,SAlIQ,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAqIA,WAAA,CAnIW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmI0B,KAAA,CAAM,cAnIhC,CAAA,OAmIsD,IAAA,CAAc,OAnIpE,CAAA,CAAA,EAmI4E,mBAAA,CAAA,GAAA,CAAA,OAnI5E;;AACnB,iBA8IQ,WAAA,CA9IR;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8I6C,KAAA,CAAM,cA9InD,CAAA,OA8IyE,IAAA,CAAc,OA9IvF,CAAA,CAAA,EA8I+F,mBAAA,CAAA,GAAA,CAAA,OA9I/F;AAAA;iBAgKQ,WAAA,CA9BW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8B0B,KAAA,CAAM,cA9BhC,CAAA,MAAA,CAAA,CAAA,EA8BsD,mBAAA,CAAA,GAAA,CAAA,OA9BtD"}
|
package/dist/index60.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_runtime39 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types4 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,12 +21,12 @@ 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_runtime39.JSX.Element;
|
|
25
25
|
declare const tabsListVariants: (props?: ({
|
|
26
26
|
variant?: "line" | "pill" | "segmented" | "fancy" | null | undefined;
|
|
27
|
-
orientation?: "
|
|
28
|
-
size?: "sm" | "
|
|
29
|
-
} &
|
|
27
|
+
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
28
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
29
|
+
} & class_variance_authority_types4.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,
|
|
@@ -37,27 +37,27 @@ declare function TabsList({
|
|
|
37
37
|
}: React.ComponentProps<typeof Tabs.List> & {
|
|
38
38
|
tabPrefix?: React.ReactNode;
|
|
39
39
|
tabSuffix?: React.ReactNode;
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime39.JSX.Element;
|
|
41
41
|
declare const tabsTriggerVariants: (props?: ({
|
|
42
42
|
variant?: "line" | "pill" | "segmented" | "fancy" | null | undefined;
|
|
43
|
-
orientation?: "
|
|
44
|
-
size?: "sm" | "
|
|
45
|
-
} &
|
|
43
|
+
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
44
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
45
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
46
46
|
/** Clickable tab button; its `value` selects the matching `TabsContent` panel. */
|
|
47
47
|
declare function TabsTrigger({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Tabs.Trigger>):
|
|
50
|
+
}: React.ComponentProps<typeof Tabs.Trigger>): react_jsx_runtime39.JSX.Element;
|
|
51
51
|
/** Panel shown when its `value` matches the active tab; styled as a glass panel for the `fancy` variant. */
|
|
52
52
|
declare function TabsContent({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<typeof Tabs.Content>):
|
|
55
|
+
}: React.ComponentProps<typeof Tabs.Content>): react_jsx_runtime39.JSX.Element;
|
|
56
56
|
/** Trailing count badge for a tab trigger; goes dark on the `fancy` variant to match its cards. */
|
|
57
57
|
declare function TabsCounter({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<"span">):
|
|
60
|
+
}: React.ComponentProps<"span">): react_jsx_runtime39.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { TabsTrigger as a, TabsList as i, TabsContent as n, tabsListVariants as o, TabsCounter as r, tabsTriggerVariants as s, Tabs$1 as t };
|
|
63
63
|
//# sourceMappingURL=index60.d.ts.map
|
package/dist/index60.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index60.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,EAMV,KAAA,CAAM,cANI,CAAA,OAMkB,IAAA,CAAc,IANhC,CAAA,GAAA;EAAA;SACX,CAAA,EAOU,WAPV;;MAEA,CAAA,EAOO,QAPP;IAQD,
|
|
1
|
+
{"version":3,"file":"index60.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,EAMV,KAAA,CAAM,cANI,CAAA,OAMkB,IAAA,CAAc,IANhC,CAAA,GAAA;EAAA;SACX,CAAA,EAOU,WAPV;;MAEA,CAAA,EAOO,QAPP;IAQD,mBAAA,CAAA,GAAA,CAAA,OAPC;cAgCI,gBA9BuC,EAAA,CAAA,KAK5C,CAL4C,EAAA,CAAA;SAA1C,CAAA,EAAM,MAAA,GAAA,MAAA,GAAA,WAAA,GAAA,OAAA,GAAA,IAAA,GAAA,SAAA;aAEG,CAAA,EAAA,UAAA,GAAA,YAAA,GAAA,IAAA,GAAA,SAAA;MAEH,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,SAAA;IA+CP,+BAAA,CAAA,SA9CD,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;AAAA;AAAA,iBAiDQ,QAAA,CAHP;EAAA,SAAA;EAAA,QAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EASC,KAAA,CAAM,cATP,CAAA,OAS6B,IAAA,CAAc,IAT3C,CAAA,GAAA;EAGO,SAAA,CAAA,EAOK,KAAA,CAAM,SAPH;EAAA,SAAA,CAAA,EAQH,KAAA,CAAM,SARH;IAShB,mBAAA,CAAA,GAAA,CAAA,OARC;cA2EI,mBA1EJ,EAAA,CAAA,KAIO,CAJP,EAAA,CAAA;SACA,CAAA,EAAA,MAAA,GAAA,MAAA,GAAA,WAAA,GAAA,OAAA,GAAA,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;IAkI5C,+BAAA,CAAA,SAlIQ,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAqIA,WAAA,CAnIW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmI0B,KAAA,CAAM,cAnIhC,CAAA,OAmIsD,IAAA,CAAc,OAnIpE,CAAA,CAAA,EAmI4E,mBAAA,CAAA,GAAA,CAAA,OAnI5E;;AACnB,iBA8IQ,WAAA,CA9IR;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8I6C,KAAA,CAAM,cA9InD,CAAA,OA8IyE,IAAA,CAAc,OA9IvF,CAAA,CAAA,EA8I+F,mBAAA,CAAA,GAAA,CAAA,OA9I/F;AAAA;iBAgKQ,WAAA,CA9BW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8B0B,KAAA,CAAM,cA9BhC,CAAA,MAAA,CAAA,CAAA,EA8BsD,mBAAA,CAAA,GAAA,CAAA,OA9BtD"}
|
package/dist/index61.d.cts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types2 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/Text/Text.d.ts
|
|
7
7
|
declare const textVariants: (props?: ({
|
|
8
|
-
size?: "caption" | "
|
|
9
|
-
weight?: "
|
|
10
|
-
variant?: "default" | "muted" | "primary" | "
|
|
8
|
+
size?: "caption" | "large" | "regular" | "small" | "mini" | null | undefined;
|
|
9
|
+
weight?: "normal" | "medium" | "semibold" | null | undefined;
|
|
10
|
+
variant?: "default" | "muted" | "primary" | "destructive" | "success" | null | undefined;
|
|
11
11
|
font?: "body" | "heading" | "mono" | null | undefined;
|
|
12
|
-
align?: "
|
|
12
|
+
align?: "left" | "right" | "center" | null | undefined;
|
|
13
13
|
truncate?: boolean | null | undefined;
|
|
14
|
-
} &
|
|
14
|
+
} & class_variance_authority_types2.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_runtime34.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { TextProps as n, textVariants as r, Text as t };
|
|
45
45
|
//# 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/Text/Text.tsx"],"mappings":";;;;;;cASM,oBAgDsB;;;;EAhDtB,IAAA,CAAA,EAAA,MAAA,GA8CJ,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEG,KAAA,CAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"index61.d.cts","names":[],"sources":["../src/primitives/Text/Text.tsx"],"mappings":";;;;;;cASM,oBAgDsB;;;;EAhDtB,IAAA,CAAA,EAAA,MAAA,GA8CJ,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEG,KAAA,CAAA,EAAA,MAAS,GAAA,OAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;EAAA,QAAA,CAAA,EAAA,OAAA,GAAA,IAAA,GAAA,SAAA;IAFZ,+BAAA,CAAA,SAE0B,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAAvB,SAAA,GAAY,IAAA,CAAK,KAAA,CAAM,cAAX,CAAA,GAAA,CAAA,EAAA,OAAA,CAAA,GACf,YADe,CAAA,OACK,YADL,CAAA,GAAA;;KACf,EAEO,KAAA,CAAM,WAFb;;MAI6B,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,MAAA,CAAA;;QAEE,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,QAAA,CAAA;;SAEC,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,SAAA,CAAA;;MAEH,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,MAAA,CAAA;;OAEC,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,OAAA,CAAA;;UAEG,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,UAAA,CAAA;;AAAR;AAAA,iBAIlB,IAAA,CAAI;EAAA,EAAA;EAAA,SAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,IAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAUV,SAVU,CAAA,EAUD,mBAAA,CAAA,GAAA,CAAA,OAVC"}
|
package/dist/index61.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime46 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/Text/Text.d.ts
|
|
7
7
|
declare const textVariants: (props?: ({
|
|
8
|
-
size?: "caption" | "
|
|
9
|
-
weight?: "
|
|
10
|
-
variant?: "default" | "
|
|
8
|
+
size?: "caption" | "large" | "regular" | "small" | "mini" | null | undefined;
|
|
9
|
+
weight?: "normal" | "medium" | "semibold" | null | undefined;
|
|
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_types6.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_runtime46.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { TextProps as n, textVariants as r, Text as t };
|
|
45
45
|
//# sourceMappingURL=index61.d.ts.map
|
package/dist/index61.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index61.d.ts","names":[],"sources":["../src/primitives/Text/Text.tsx"],"mappings":";;;;;;cASM,oBAgDsB;;;;EAhDtB,IAAA,CAAA,EAAA,MAAA,GA8CJ,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEG,KAAA,CAAA,EAAA,QAAS,GAAA,MAAA,GAAA,OAAA,GAAA,IAAA,GAAA,SAAA;EAAA,QAAA,CAAA,EAAA,OAAA,GAAA,IAAA,GAAA,SAAA;IAFZ,
|
|
1
|
+
{"version":3,"file":"index61.d.ts","names":[],"sources":["../src/primitives/Text/Text.tsx"],"mappings":";;;;;;cASM,oBAgDsB;;;;EAhDtB,IAAA,CAAA,EAAA,MAAA,GA8CJ,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEG,KAAA,CAAA,EAAA,QAAS,GAAA,MAAA,GAAA,OAAA,GAAA,IAAA,GAAA,SAAA;EAAA,QAAA,CAAA,EAAA,OAAA,GAAA,IAAA,GAAA,SAAA;IAFZ,+BAAA,CAAA,SAE0B,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAAvB,SAAA,GAAY,IAAA,CAAK,KAAA,CAAM,cAAX,CAAA,GAAA,CAAA,EAAA,OAAA,CAAA,GACf,YADe,CAAA,OACK,YADL,CAAA,GAAA;;KACf,EAEO,KAAA,CAAM,WAFb;;MAI6B,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,MAAA,CAAA;;QAEE,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,QAAA,CAAA;;SAEC,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,SAAA,CAAA;;MAEH,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,MAAA,CAAA;;OAEC,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,OAAA,CAAA;;UAEG,CAAA,EAApB,YAAoB,CAAA,OAAA,YAAA,CAAA,CAAA,UAAA,CAAA;;AAAR;AAAA,iBAIlB,IAAA,CAAI;EAAA,EAAA;EAAA,SAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,IAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAUV,SAVU,CAAA,EAUD,mBAAA,CAAA,GAAA,CAAA,OAVC"}
|
package/dist/index62.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types1 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
|
variant?: "default" | "ai" | null | undefined;
|
|
9
|
-
shape?: "
|
|
10
|
-
} &
|
|
9
|
+
shape?: "default" | "round" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
11
11
|
/** Multi-line text input that auto-grows with its content and supports validation + disabled states. */
|
|
12
12
|
declare function Textarea({
|
|
13
13
|
className,
|
|
@@ -18,7 +18,7 @@ declare function Textarea({
|
|
|
18
18
|
}: React.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants> & {
|
|
19
19
|
/** Corner radius: `default` (12px) or `round` (16px). */
|
|
20
20
|
shape?: VariantProps<typeof textareaVariants>["shape"];
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime25.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { textareaVariants as n, Textarea as t };
|
|
24
24
|
//# sourceMappingURL=index62.d.cts.map
|
package/dist/index62.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index62.d.cts","names":[],"sources":["../src/primitives/Textarea/Textarea.tsx"],"mappings":";;;;;;cAMM;;;IAsBL,
|
|
1
|
+
{"version":3,"file":"index62.d.cts","names":[],"sources":["../src/primitives/Textarea/Textarea.tsx"],"mappings":";;;;;;cAMM;;;IAsBL,+BAAA,CAAA;AA3BmC;iBA8B3B,QAAA,CAAQ;EAAA,SAAA;;SACf;EAAA,KAAA;EAAA,GAAA;CAAA,EAKC,KAAA,CAAM,cALP,CAAA,UAAA,CAAA,GAMA,YANA,CAAA,OAMoB,gBANpB,CAAA,GAAA;;OAGA,CAAA,EAKU,YALV,CAAA,OAK8B,gBAL9B,CAAA,CAAA,OAAA,CAAA;IAMC,mBAAA,CAAA,GAAA,CAAA,OAJM"}
|
package/dist/index62.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime69 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/Textarea/Textarea.d.ts
|
|
7
7
|
declare const textareaVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "ai" | null | undefined;
|
|
9
9
|
shape?: "default" | "round" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
11
11
|
/** Multi-line text input that auto-grows with its content and supports validation + disabled states. */
|
|
12
12
|
declare function Textarea({
|
|
13
13
|
className,
|
|
@@ -18,7 +18,7 @@ declare function Textarea({
|
|
|
18
18
|
}: React.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants> & {
|
|
19
19
|
/** Corner radius: `default` (12px) or `round` (16px). */
|
|
20
20
|
shape?: VariantProps<typeof textareaVariants>["shape"];
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime69.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { textareaVariants as n, Textarea as t };
|
|
24
24
|
//# sourceMappingURL=index62.d.ts.map
|
package/dist/index62.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index62.d.ts","names":[],"sources":["../src/primitives/Textarea/Textarea.tsx"],"mappings":";;;;;;cAMM;;;IAsBL,+BAAA,CAAA;AA3BmC;iBA8B3B,QAAA,CAAQ;EAAA,SAAA;;SACf;EAAA,KAAA;EAAA,GAAA;CAAA,EAKC,KAAA,CAAM,cALP,CAAA,UAAA,CAAA,GAMA,YANA,CAAA,OAMoB,gBANpB,CAAA,GAAA;;OAGA,CAAA,EAKU,YALV,CAAA,OAK8B,gBAL9B,CAAA,CAAA,OAAA,CAAA;IAMC,
|
|
1
|
+
{"version":3,"file":"index62.d.ts","names":[],"sources":["../src/primitives/Textarea/Textarea.tsx"],"mappings":";;;;;;cAMM;;;IAsBL,+BAAA,CAAA;AA3BmC;iBA8B3B,QAAA,CAAQ;EAAA,SAAA;;SACf;EAAA,KAAA;EAAA,GAAA;CAAA,EAKC,KAAA,CAAM,cALP,CAAA,UAAA,CAAA,GAMA,YANA,CAAA,OAMoB,gBANpB,CAAA,GAAA;;OAGA,CAAA,EAKU,YALV,CAAA,OAK8B,gBAL9B,CAAA,CAAA,OAAA,CAAA;IAMC,mBAAA,CAAA,GAAA,CAAA,OAJM"}
|
package/dist/index63.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime65 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_runtime65.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.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index63.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":"index63.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,mBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAmCQ,QAAA,CAAA,CAAY,EAAA,iBAAiB"}
|
package/dist/index63.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime35 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_runtime35.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.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index63.d.ts","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":"index63.d.ts","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,mBAAA,CAAA,GAAA,CAAA,OAAA;AAAA;AAAA,iBAmCQ,QAAA,CAAA,CAAY,EAAA,iBAAiB"}
|
package/dist/index64.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
2
2
|
import { Toggle } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types3 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?: "
|
|
11
|
-
shape?: "
|
|
12
|
-
} &
|
|
10
|
+
size?: "xs" | "sm" | "default" | "lg" | null | undefined;
|
|
11
|
+
shape?: "default" | "left" | "right" | "round" | "middle" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types3.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_runtime35.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { toggleVariants as n, Toggle$1 as t };
|
|
23
23
|
//# sourceMappingURL=index64.d.cts.map
|
package/dist/index64.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index64.d.cts","names":[],"sources":["../src/primitives/Toggle/Toggle.tsx"],"mappings":";;;;;;;cASM,sBAsCL;;;;AA7CmC,CAAA,GA6CnC,
|
|
1
|
+
{"version":3,"file":"index64.d.cts","names":[],"sources":["../src/primitives/Toggle/Toggle.tsx"],"mappings":";;;;;;;cASM,sBAsCL;;;;AA7CmC,CAAA,GA6CnC,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAGQ,QAAA,CAAM;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAMZ,KAAA,CAAM,cANM,CAAA,OAMgB,MAAA,CAAgB,IANhC,CAAA,GAMwC,YANxC,CAAA,OAM4D,cAN5D,CAAA,CAAA,EAM2E,mBAAA,CAAA,GAAA,CAAA,OAN3E"}
|