@foundrykit/primitives 1.0.13 → 1.0.14
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/CHANGELOG.md
CHANGED
|
@@ -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
|
+
Switch
|
|
3
|
+
} from "./chunk-U2EIVYWP.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";
|
|
@@ -48,8 +49,10 @@ import {
|
|
|
48
49
|
Skeleton
|
|
49
50
|
} from "./chunk-SKR3J46C.js";
|
|
50
51
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
Avatar,
|
|
53
|
+
AvatarFallback,
|
|
54
|
+
AvatarImage
|
|
55
|
+
} from "./chunk-VVNIYCKH.js";
|
|
53
56
|
import {
|
|
54
57
|
Badge,
|
|
55
58
|
badgeVariants
|
|
@@ -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.14",
|
|
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.0.9",
|
|
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",
|