@foundrykit/primitives 1.0.12 → 1.0.13
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 +6 -0
- package/dist/{chunk-UQQKWW5Q.js → chunk-4GPFVBO2.js} +1 -1
- 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/components/scroll-area/index.cjs +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +10 -10
- package/package.json +1 -1
- package/src/components/scroll-area/index.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -18,7 +18,7 @@ function ScrollArea({
|
|
|
18
18
|
ScrollAreaPrimitive.Viewport,
|
|
19
19
|
{
|
|
20
20
|
"data-slot": "scroll-area-viewport",
|
|
21
|
-
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px]",
|
|
21
|
+
className: "focus-visible:ring-ring/50 size-full h-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px]",
|
|
22
22
|
children
|
|
23
23
|
}
|
|
24
24
|
),
|
|
@@ -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" | "secondary" | "destructive" | "outline" | 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" | "secondary" | "destructive" | "outline" | 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" | "secondary" | "destructive" | "outline" | "link" | "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" | "secondary" | "destructive" | "outline" | "link" | "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> {
|
|
@@ -54,7 +54,7 @@ function ScrollArea({
|
|
|
54
54
|
ScrollAreaPrimitive.Viewport,
|
|
55
55
|
{
|
|
56
56
|
"data-slot": "scroll-area-viewport",
|
|
57
|
-
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px]",
|
|
57
|
+
className: "focus-visible:ring-ring/50 size-full h-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px]",
|
|
58
58
|
children
|
|
59
59
|
}
|
|
60
60
|
),
|
package/dist/index.cjs
CHANGED
|
@@ -1443,7 +1443,7 @@ function ScrollArea({
|
|
|
1443
1443
|
ScrollAreaPrimitive.Viewport,
|
|
1444
1444
|
{
|
|
1445
1445
|
"data-slot": "scroll-area-viewport",
|
|
1446
|
-
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px]",
|
|
1446
|
+
className: "focus-visible:ring-ring/50 size-full h-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px]",
|
|
1447
1447
|
children
|
|
1448
1448
|
}
|
|
1449
1449
|
),
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Switch
|
|
3
|
-
} from "./chunk-U2EIVYWP.js";
|
|
4
1
|
import {
|
|
5
2
|
Tabs,
|
|
6
3
|
TabsContent,
|
|
@@ -11,8 +8,10 @@ import {
|
|
|
11
8
|
Textarea
|
|
12
9
|
} from "./chunk-I44GXEPN.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
Avatar,
|
|
12
|
+
AvatarFallback,
|
|
13
|
+
AvatarImage
|
|
14
|
+
} from "./chunk-VVNIYCKH.js";
|
|
16
15
|
import {
|
|
17
16
|
Label
|
|
18
17
|
} from "./chunk-QL4XJD7Y.js";
|
|
@@ -29,7 +28,7 @@ import {
|
|
|
29
28
|
import {
|
|
30
29
|
ScrollArea,
|
|
31
30
|
ScrollBar
|
|
32
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4GPFVBO2.js";
|
|
33
32
|
import {
|
|
34
33
|
Select,
|
|
35
34
|
SelectContent,
|
|
@@ -49,10 +48,8 @@ import {
|
|
|
49
48
|
Skeleton
|
|
50
49
|
} from "./chunk-SKR3J46C.js";
|
|
51
50
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
AvatarImage
|
|
55
|
-
} from "./chunk-VVNIYCKH.js";
|
|
51
|
+
Switch
|
|
52
|
+
} from "./chunk-U2EIVYWP.js";
|
|
56
53
|
import {
|
|
57
54
|
Badge,
|
|
58
55
|
badgeVariants
|
|
@@ -98,6 +95,9 @@ import {
|
|
|
98
95
|
DropdownMenuSubTrigger,
|
|
99
96
|
DropdownMenuTrigger
|
|
100
97
|
} 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
|
@@ -18,7 +18,7 @@ function ScrollArea({
|
|
|
18
18
|
>
|
|
19
19
|
<ScrollAreaPrimitive.Viewport
|
|
20
20
|
data-slot='scroll-area-viewport'
|
|
21
|
-
className='focus-visible:ring-ring/50 size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px]'
|
|
21
|
+
className='focus-visible:ring-ring/50 size-full h-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px]'
|
|
22
22
|
>
|
|
23
23
|
{children}
|
|
24
24
|
</ScrollAreaPrimitive.Viewport>
|