@foundrykit/primitives 1.0.13 → 1.0.15
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/.turbo/turbo-build.log +111 -0
- package/.turbo/turbo-type-check.log +4 -0
- package/CHANGELOG.md +16 -0
- package/dist/components/badge/index.d.cts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/button/index.d.cts +1 -1
- package/dist/components/button/index.d.ts +1 -1
- package/dist/index.js +18 -18
- package/package.json +5 -5
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @foundrykit/primitives@1.0.14 build /Users/isj/Desktop/work/projects/foundry/packages/primitives
|
|
4
|
+
> tsup --dts --format esm,cjs --clean
|
|
5
|
+
|
|
6
|
+
[34mCLI[39m Building entry: src/index.ts, src/components/avatar/index.tsx, src/components/badge/index.tsx, src/components/breadcrumb/index.tsx, src/components/button/index.tsx, src/components/card/index.tsx, src/components/checkbox/index.tsx, src/components/dropdown/index.tsx, src/components/input/index.tsx, src/components/label/index.tsx, src/components/popover/index.tsx, src/components/radio-group/index.tsx, src/components/scroll-area/index.tsx, src/components/select/index.tsx, src/components/separator/index.tsx, src/components/skeleton/index.tsx, src/components/switch/index.tsx, src/components/tabs/index.tsx, src/components/textarea/index.tsx
|
|
7
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
|
+
[34mCLI[39m tsup v8.5.0
|
|
9
|
+
[34mCLI[39m Using tsup config: /Users/isj/Desktop/work/projects/foundry/packages/primitives/tsup.config.ts
|
|
10
|
+
[34mCLI[39m Target: es2022
|
|
11
|
+
[34mCLI[39m Cleaning output folder
|
|
12
|
+
[34mESM[39m Build start
|
|
13
|
+
[34mCJS[39m Build start
|
|
14
|
+
[32mCJS[39m [1mdist/components/badge/index.cjs [22m[32m2.69 KB[39m
|
|
15
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m55.41 KB[39m
|
|
16
|
+
[32mCJS[39m [1mdist/components/input/index.cjs [22m[32m2.42 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/components/label/index.cjs [22m[32m2.26 KB[39m
|
|
18
|
+
[32mCJS[39m [1mdist/components/avatar/index.cjs [22m[32m2.84 KB[39m
|
|
19
|
+
[32mCJS[39m [1mdist/components/checkbox/index.cjs [22m[32m2.99 KB[39m
|
|
20
|
+
[32mCJS[39m [1mdist/components/breadcrumb/index.cjs [22m[32m4.12 KB[39m
|
|
21
|
+
[32mCJS[39m [1mdist/components/radio-group/index.cjs [22m[32m3.28 KB[39m
|
|
22
|
+
[32mCJS[39m [1mdist/components/card/index.cjs [22m[32m3.61 KB[39m
|
|
23
|
+
[32mCJS[39m [1mdist/components/popover/index.cjs [22m[32m3.35 KB[39m
|
|
24
|
+
[32mCJS[39m [1mdist/components/textarea/index.cjs [22m[32m1.84 KB[39m
|
|
25
|
+
[32mCJS[39m [1mdist/components/dropdown/index.cjs [22m[32m10.58 KB[39m
|
|
26
|
+
[32mCJS[39m [1mdist/components/skeleton/index.cjs [22m[32m1.41 KB[39m
|
|
27
|
+
[32mCJS[39m [1mdist/components/button/index.cjs [22m[32m3.16 KB[39m
|
|
28
|
+
[32mCJS[39m [1mdist/components/scroll-area/index.cjs [22m[32m3.50 KB[39m
|
|
29
|
+
[32mCJS[39m [1mdist/components/tabs/index.cjs [22m[32m3.73 KB[39m
|
|
30
|
+
[32mCJS[39m [1mdist/components/separator/index.cjs [22m[32m2.34 KB[39m
|
|
31
|
+
[32mCJS[39m [1mdist/components/switch/index.cjs [22m[32m2.90 KB[39m
|
|
32
|
+
[32mCJS[39m [1mdist/components/select/index.cjs [22m[32m8.56 KB[39m
|
|
33
|
+
[32mCJS[39m ⚡️ Build success in 44ms
|
|
34
|
+
[32mESM[39m [1mdist/components/switch/index.js [22m[32m87.00 B[39m
|
|
35
|
+
[32mESM[39m [1mdist/components/label/index.js [22m[32m85.00 B[39m
|
|
36
|
+
[32mESM[39m [1mdist/components/input/index.js [22m[32m71.00 B[39m
|
|
37
|
+
[32mESM[39m [1mdist/components/popover/index.js [22m[32m195.00 B[39m
|
|
38
|
+
[32mESM[39m [1mdist/components/radio-group/index.js [22m[32m131.00 B[39m
|
|
39
|
+
[32mESM[39m [1mdist/components/textarea/index.js [22m[32m77.00 B[39m
|
|
40
|
+
[32mESM[39m [1mdist/components/select/index.js [22m[32m411.00 B[39m
|
|
41
|
+
[32mESM[39m [1mdist/components/scroll-area/index.js [22m[32m121.00 B[39m
|
|
42
|
+
[32mESM[39m [1mdist/components/skeleton/index.js [22m[32m77.00 B[39m
|
|
43
|
+
[32mESM[39m [1mdist/chunk-U2EIVYWP.js [22m[32m1.21 KB[39m
|
|
44
|
+
[32mESM[39m [1mdist/chunk-FYCANIVJ.js [22m[32m1.87 KB[39m
|
|
45
|
+
[32mESM[39m [1mdist/index.js [22m[32m13.82 KB[39m
|
|
46
|
+
[32mESM[39m [1mdist/chunk-I44GXEPN.js [22m[32m809.00 B[39m
|
|
47
|
+
[32mESM[39m [1mdist/chunk-KZMSLRLW.js [22m[32m806.00 B[39m
|
|
48
|
+
[32mESM[39m [1mdist/components/separator/index.js [22m[32m93.00 B[39m
|
|
49
|
+
[32mESM[39m [1mdist/components/tabs/index.js [22m[32m167.00 B[39m
|
|
50
|
+
[32mESM[39m [1mdist/chunk-J4CRGO2P.js [22m[32m1.49 KB[39m
|
|
51
|
+
[32mESM[39m [1mdist/chunk-QL4XJD7Y.js [22m[32m627.00 B[39m
|
|
52
|
+
[32mESM[39m [1mdist/chunk-4GPFVBO2.js [22m[32m1.66 KB[39m
|
|
53
|
+
[32mESM[39m [1mdist/chunk-J57CV3VT.js [22m[32m690.00 B[39m
|
|
54
|
+
[32mESM[39m [1mdist/chunk-AADRFFPH.js [22m[32m5.89 KB[39m
|
|
55
|
+
[32mESM[39m [1mdist/chunk-VVNIYCKH.js [22m[32m1.04 KB[39m
|
|
56
|
+
[32mESM[39m [1mdist/components/badge/index.js [22m[32m105.00 B[39m
|
|
57
|
+
[32mESM[39m [1mdist/components/avatar/index.js [22m[32m153.00 B[39m
|
|
58
|
+
[32mESM[39m [1mdist/chunk-SKR3J46C.js [22m[32m363.00 B[39m
|
|
59
|
+
[32mESM[39m [1mdist/components/breadcrumb/index.js [22m[32m315.00 B[39m
|
|
60
|
+
[32mESM[39m [1mdist/chunk-VSXKLSEP.js [22m[32m2.45 KB[39m
|
|
61
|
+
[32mESM[39m [1mdist/chunk-UZIMC7AQ.js [22m[32m1.61 KB[39m
|
|
62
|
+
[32mESM[39m [1mdist/chunk-YTUI6MCB.js [22m[32m1.98 KB[39m
|
|
63
|
+
[32mESM[39m [1mdist/chunk-A3U73FA7.js [22m[32m1.25 KB[39m
|
|
64
|
+
[32mESM[39m [1mdist/components/card/index.js [22m[32m219.00 B[39m
|
|
65
|
+
[32mESM[39m [1mdist/components/button/index.js [22m[32m109.00 B[39m
|
|
66
|
+
[32mESM[39m [1mdist/components/dropdown/index.js [22m[32m757.00 B[39m
|
|
67
|
+
[32mESM[39m [1mdist/chunk-PHMEWMFS.js [22m[32m7.52 KB[39m
|
|
68
|
+
[32mESM[39m [1mdist/chunk-FUWID6MC.js [22m[32m1.52 KB[39m
|
|
69
|
+
[32mESM[39m [1mdist/chunk-XQAJQKO7.js [22m[32m1.46 KB[39m
|
|
70
|
+
[32mESM[39m [1mdist/components/checkbox/index.js [22m[32m91.00 B[39m
|
|
71
|
+
[32mESM[39m ⚡️ Build success in 45ms
|
|
72
|
+
DTS Build start
|
|
73
|
+
DTS ⚡️ Build success in 4591ms
|
|
74
|
+
DTS dist/index.d.ts 6.00 KB
|
|
75
|
+
DTS dist/components/avatar/index.d.ts 611.00 B
|
|
76
|
+
DTS dist/components/badge/index.d.ts 653.00 B
|
|
77
|
+
DTS dist/components/breadcrumb/index.d.ts 1.06 KB
|
|
78
|
+
DTS dist/components/button/index.d.ts 806.00 B
|
|
79
|
+
DTS dist/components/card/index.d.ts 947.00 B
|
|
80
|
+
DTS dist/components/checkbox/index.d.ts 310.00 B
|
|
81
|
+
DTS dist/components/dropdown/index.d.ts 2.84 KB
|
|
82
|
+
DTS dist/components/input/index.d.ts 252.00 B
|
|
83
|
+
DTS dist/components/label/index.d.ts 295.00 B
|
|
84
|
+
DTS dist/components/popover/index.d.ts 768.00 B
|
|
85
|
+
DTS dist/components/radio-group/index.d.ts 481.00 B
|
|
86
|
+
DTS dist/components/scroll-area/index.d.ts 509.00 B
|
|
87
|
+
DTS dist/components/select/index.d.ts 1.75 KB
|
|
88
|
+
DTS dist/components/separator/index.d.ts 340.00 B
|
|
89
|
+
DTS dist/components/skeleton/index.d.ts 191.00 B
|
|
90
|
+
DTS dist/components/switch/index.d.ts 300.00 B
|
|
91
|
+
DTS dist/components/tabs/index.d.ts 734.00 B
|
|
92
|
+
DTS dist/components/textarea/index.d.ts 228.00 B
|
|
93
|
+
DTS dist/index.d.cts 6.02 KB
|
|
94
|
+
DTS dist/components/avatar/index.d.cts 611.00 B
|
|
95
|
+
DTS dist/components/badge/index.d.cts 653.00 B
|
|
96
|
+
DTS dist/components/breadcrumb/index.d.cts 1.06 KB
|
|
97
|
+
DTS dist/components/button/index.d.cts 806.00 B
|
|
98
|
+
DTS dist/components/card/index.d.cts 947.00 B
|
|
99
|
+
DTS dist/components/checkbox/index.d.cts 310.00 B
|
|
100
|
+
DTS dist/components/dropdown/index.d.cts 2.84 KB
|
|
101
|
+
DTS dist/components/input/index.d.cts 252.00 B
|
|
102
|
+
DTS dist/components/label/index.d.cts 295.00 B
|
|
103
|
+
DTS dist/components/popover/index.d.cts 768.00 B
|
|
104
|
+
DTS dist/components/radio-group/index.d.cts 481.00 B
|
|
105
|
+
DTS dist/components/scroll-area/index.d.cts 509.00 B
|
|
106
|
+
DTS dist/components/select/index.d.cts 1.75 KB
|
|
107
|
+
DTS dist/components/separator/index.d.cts 340.00 B
|
|
108
|
+
DTS dist/components/skeleton/index.d.cts 191.00 B
|
|
109
|
+
DTS dist/components/switch/index.d.cts 300.00 B
|
|
110
|
+
DTS dist/components/tabs/index.d.cts 734.00 B
|
|
111
|
+
DTS dist/components/textarea/index.d.cts 228.00 B
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @foundrykit/primitives
|
|
2
2
|
|
|
3
|
+
## 1.0.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @foundrykit/types@1.1.0
|
|
9
|
+
|
|
10
|
+
## 1.0.14
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Just a quick demo for Anvar
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @foundrykit/types@1.0.9
|
|
17
|
+
- @foundrykit/utils@1.0.6
|
|
18
|
+
|
|
3
19
|
## 1.0.13
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "
|
|
7
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
10
10
|
asChild?: boolean;
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "
|
|
7
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
10
10
|
asChild?: boolean;
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "
|
|
7
|
+
variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
8
8
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "
|
|
7
|
+
variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
8
8
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Skeleton
|
|
3
|
+
} from "./chunk-SKR3J46C.js";
|
|
1
4
|
import {
|
|
2
5
|
Tabs,
|
|
3
6
|
TabsContent,
|
|
@@ -8,10 +11,8 @@ import {
|
|
|
8
11
|
Textarea
|
|
9
12
|
} from "./chunk-I44GXEPN.js";
|
|
10
13
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
AvatarImage
|
|
14
|
-
} from "./chunk-VVNIYCKH.js";
|
|
14
|
+
Input
|
|
15
|
+
} from "./chunk-KZMSLRLW.js";
|
|
15
16
|
import {
|
|
16
17
|
Label
|
|
17
18
|
} from "./chunk-QL4XJD7Y.js";
|
|
@@ -25,10 +26,6 @@ import {
|
|
|
25
26
|
RadioGroup,
|
|
26
27
|
RadioGroupItem
|
|
27
28
|
} from "./chunk-XQAJQKO7.js";
|
|
28
|
-
import {
|
|
29
|
-
ScrollArea,
|
|
30
|
-
ScrollBar
|
|
31
|
-
} from "./chunk-4GPFVBO2.js";
|
|
32
29
|
import {
|
|
33
30
|
Select,
|
|
34
31
|
SelectContent,
|
|
@@ -41,19 +38,29 @@ import {
|
|
|
41
38
|
SelectTrigger,
|
|
42
39
|
SelectValue
|
|
43
40
|
} from "./chunk-AADRFFPH.js";
|
|
41
|
+
import {
|
|
42
|
+
ScrollArea,
|
|
43
|
+
ScrollBar
|
|
44
|
+
} from "./chunk-4GPFVBO2.js";
|
|
44
45
|
import {
|
|
45
46
|
Separator
|
|
46
47
|
} from "./chunk-J57CV3VT.js";
|
|
47
|
-
import {
|
|
48
|
-
Skeleton
|
|
49
|
-
} from "./chunk-SKR3J46C.js";
|
|
50
48
|
import {
|
|
51
49
|
Switch
|
|
52
50
|
} from "./chunk-U2EIVYWP.js";
|
|
51
|
+
import {
|
|
52
|
+
Avatar,
|
|
53
|
+
AvatarFallback,
|
|
54
|
+
AvatarImage
|
|
55
|
+
} from "./chunk-VVNIYCKH.js";
|
|
53
56
|
import {
|
|
54
57
|
Badge,
|
|
55
58
|
badgeVariants
|
|
56
59
|
} from "./chunk-FUWID6MC.js";
|
|
60
|
+
import {
|
|
61
|
+
Button,
|
|
62
|
+
buttonVariants
|
|
63
|
+
} from "./chunk-YTUI6MCB.js";
|
|
57
64
|
import {
|
|
58
65
|
Breadcrumb,
|
|
59
66
|
BreadcrumbEllipsis,
|
|
@@ -63,10 +70,6 @@ import {
|
|
|
63
70
|
BreadcrumbPage,
|
|
64
71
|
BreadcrumbSeparator
|
|
65
72
|
} from "./chunk-VSXKLSEP.js";
|
|
66
|
-
import {
|
|
67
|
-
Button,
|
|
68
|
-
buttonVariants
|
|
69
|
-
} from "./chunk-YTUI6MCB.js";
|
|
70
73
|
import {
|
|
71
74
|
Card,
|
|
72
75
|
CardContent,
|
|
@@ -95,9 +98,6 @@ import {
|
|
|
95
98
|
DropdownMenuSubTrigger,
|
|
96
99
|
DropdownMenuTrigger
|
|
97
100
|
} from "./chunk-PHMEWMFS.js";
|
|
98
|
-
import {
|
|
99
|
-
Input
|
|
100
|
-
} from "./chunk-KZMSLRLW.js";
|
|
101
101
|
|
|
102
102
|
// src/components/toggle/index.tsx
|
|
103
103
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foundrykit/primitives",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"react-dom": "^19.1.1",
|
|
44
44
|
"tailwind-merge": "^3.3.1",
|
|
45
45
|
"zod": "^3.25.76",
|
|
46
|
-
"@foundrykit/types": "1.0
|
|
47
|
-
"@foundrykit/utils": "1.0.
|
|
46
|
+
"@foundrykit/types": "1.1.0",
|
|
47
|
+
"@foundrykit/utils": "1.0.6"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^20.19.9",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"fs-extra": "^11.2.0",
|
|
55
55
|
"tsup": "^8.0.0",
|
|
56
56
|
"typescript": "^5.9.2",
|
|
57
|
-
"@foundrykit/eslint-config": "1.0.
|
|
58
|
-
"@foundrykit/typescript-config": "1.0.
|
|
57
|
+
"@foundrykit/eslint-config": "1.0.5",
|
|
58
|
+
"@foundrykit/typescript-config": "1.0.5"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"react": "^19.1.1",
|