@foundrykit/primitives 1.0.12 → 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 +15 -0
- package/dist/{chunk-UQQKWW5Q.js → chunk-4GPFVBO2.js} +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 +1 -1
- package/package.json +5 -5
- package/src/components/scroll-area/index.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @foundrykit/primitives
|
|
2
2
|
|
|
3
|
+
## 1.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Just a quick demo for Anvar
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @foundrykit/types@1.0.9
|
|
10
|
+
- @foundrykit/utils@1.0.6
|
|
11
|
+
|
|
12
|
+
## 1.0.13
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Update to show query result in input after selection
|
|
17
|
+
|
|
3
18
|
## 1.0.12
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -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 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> {
|
|
@@ -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
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",
|
|
@@ -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>
|