@codefast/ui 0.15.0 → 0.16.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/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/dist/hooks/use-animated-value.js +5 -5
- package/dist/variants/alert.d.ts +2 -2
- package/dist/variants/attachment.d.ts +4 -4
- package/dist/variants/badge.d.ts +2 -2
- package/dist/variants/bubble.d.ts +4 -4
- package/dist/variants/button-group.d.ts +2 -2
- package/dist/variants/button.d.ts +2 -2
- package/dist/variants/empty.d.ts +2 -2
- package/dist/variants/field.d.ts +2 -2
- package/dist/variants/input-group.d.ts +5 -5
- package/dist/variants/item.d.ts +4 -4
- package/dist/variants/marker.d.ts +2 -2
- package/dist/variants/navigation-menu.d.ts +1 -1
- package/dist/variants/progress-circle.d.ts +1 -1
- package/dist/variants/scroll-area.d.ts +2 -2
- package/dist/variants/separator.d.ts +2 -2
- package/dist/variants/sheet.d.ts +2 -2
- package/dist/variants/sidebar.d.ts +2 -2
- package/dist/variants/tabs.d.ts +2 -2
- package/dist/variants/toggle.d.ts +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @codefast/ui
|
|
2
2
|
|
|
3
|
+
## 0.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1188](https://github.com/codefastlabs/codefast/pull/1188) Every `@codefast/*` package now requires Node.js 24.15 or later and drops Node 22. The packages ship as one set, so they
|
|
8
|
+
share one floor instead of each sitting on its own 22.x release. `@codefast/typescript-config` removes the `node22.json`
|
|
9
|
+
and `node22-dom.json` overlays; extend a preset alone. `codefast audit engines` reports a published package whose floor
|
|
10
|
+
differs from the highest one any published package declares.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#1209](https://github.com/codefastlabs/codefast/pull/1209) `useAnimatedValue` keeps its pending animation frame in a local object instead of reassigning a captured variable, which
|
|
15
|
+
React Compiler's immutability rule rejects; its behavior is unchanged. The benchmark viewer's chart does the same for
|
|
16
|
+
its resize frame and now cancels a pending one when it unmounts.
|
|
17
|
+
|
|
18
|
+
- [#1172](https://github.com/codefastlabs/codefast/pull/1172) Depends on `cn` instead of `tailwind-merge`, the merge engine `@codefast/tailwind-variants` now takes as its peer.
|
|
19
|
+
- Updated dependencies:
|
|
20
|
+
- @codefast/tailwind-variants@0.11.0
|
|
21
|
+
- @codefast/theme@0.12.0
|
|
22
|
+
|
|
3
23
|
## 0.15.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ Or the equivalent with your package manager: `npm install @codefast/ui`, `yarn a
|
|
|
33
33
|
|
|
34
34
|
`@codefast/ui` requires:
|
|
35
35
|
|
|
36
|
-
- Node.js
|
|
36
|
+
- Node.js 24.15 or later.
|
|
37
37
|
- TypeScript 7 or later for its types.
|
|
38
38
|
- Chrome and Edge 136, Firefox 136, or Safari 18.4 or later in the browser
|
|
39
39
|
([support policy](../../SUPPORT.md#browsers)).
|
|
@@ -45,8 +45,8 @@ export function useAnimatedValue(targetValue, duration, animated) {
|
|
|
45
45
|
}
|
|
46
46
|
// Start timestamp
|
|
47
47
|
const startTime = performance.now();
|
|
48
|
-
// requestAnimationFrame id
|
|
49
|
-
|
|
48
|
+
// Pending requestAnimationFrame id, held in an object so the RAF loop updates it without reassigning a binding
|
|
49
|
+
const frame = { id: 0 };
|
|
50
50
|
// RAF step
|
|
51
51
|
const animateValue = (currentTime) => {
|
|
52
52
|
// Elapsed milliseconds
|
|
@@ -64,12 +64,12 @@ export function useAnimatedValue(targetValue, duration, animated) {
|
|
|
64
64
|
const nextValue = currentValue + valueRange * easeProgress;
|
|
65
65
|
animatedValueRef.current = nextValue;
|
|
66
66
|
setAnimatedValue(nextValue);
|
|
67
|
-
|
|
67
|
+
frame.id = requestAnimationFrame(animateValue);
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
|
|
70
|
+
frame.id = requestAnimationFrame(animateValue);
|
|
71
71
|
return () => {
|
|
72
|
-
cancelAnimationFrame(
|
|
72
|
+
cancelAnimationFrame(frame.id);
|
|
73
73
|
};
|
|
74
74
|
}, [actualTargetValue, duration, shouldAnimate]);
|
|
75
75
|
return Math.round(animatedValue);
|
package/dist/variants/alert.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const alertVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const alertVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: string;
|
|
8
8
|
destructive: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>;
|
|
11
11
|
/**
|
|
12
12
|
* @since 0.3.16-canary.0
|
|
13
13
|
*/
|
|
@@ -5,7 +5,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
5
5
|
*
|
|
6
6
|
* @since 0.5.0-canary.3
|
|
7
7
|
*/
|
|
8
|
-
declare const attachmentVariants: import("@codefast/tailwind-variants").
|
|
8
|
+
declare const attachmentVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
9
9
|
size: {
|
|
10
10
|
default: string;
|
|
11
11
|
sm: string;
|
|
@@ -15,7 +15,7 @@ declare const attachmentVariants: import("@codefast/tailwind-variants").VariantR
|
|
|
15
15
|
horizontal: string;
|
|
16
16
|
vertical: string;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
18
|
+
}>;
|
|
19
19
|
/**
|
|
20
20
|
* @since 0.5.0-canary.3
|
|
21
21
|
*/
|
|
@@ -26,12 +26,12 @@ type AttachmentVariants = VariantProps<typeof attachmentVariants>;
|
|
|
26
26
|
*
|
|
27
27
|
* @since 0.5.0-canary.3
|
|
28
28
|
*/
|
|
29
|
-
declare const attachmentMediaVariants: import("@codefast/tailwind-variants").
|
|
29
|
+
declare const attachmentMediaVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
30
30
|
variant: {
|
|
31
31
|
icon: string;
|
|
32
32
|
image: string;
|
|
33
33
|
};
|
|
34
|
-
}
|
|
34
|
+
}>;
|
|
35
35
|
/**
|
|
36
36
|
* @since 0.5.0-canary.3
|
|
37
37
|
*/
|
package/dist/variants/badge.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const badgeVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const badgeVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: string;
|
|
8
8
|
destructive: string;
|
|
@@ -11,7 +11,7 @@ declare const badgeVariants: import("@codefast/tailwind-variants").VariantResolv
|
|
|
11
11
|
outline: string;
|
|
12
12
|
secondary: string;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}>;
|
|
15
15
|
/**
|
|
16
16
|
* @since 0.3.16-canary.0
|
|
17
17
|
*/
|
|
@@ -5,7 +5,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
5
5
|
*
|
|
6
6
|
* @since 0.5.0-canary.3
|
|
7
7
|
*/
|
|
8
|
-
declare const bubbleVariants: import("@codefast/tailwind-variants").
|
|
8
|
+
declare const bubbleVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
9
9
|
variant: {
|
|
10
10
|
default: string;
|
|
11
11
|
secondary: string;
|
|
@@ -15,7 +15,7 @@ declare const bubbleVariants: import("@codefast/tailwind-variants").VariantResol
|
|
|
15
15
|
ghost: string;
|
|
16
16
|
destructive: string;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
18
|
+
}>;
|
|
19
19
|
/**
|
|
20
20
|
* @since 0.5.0-canary.3
|
|
21
21
|
*/
|
|
@@ -25,7 +25,7 @@ type BubbleVariants = VariantProps<typeof bubbleVariants>;
|
|
|
25
25
|
*
|
|
26
26
|
* @since 0.5.0-canary.3
|
|
27
27
|
*/
|
|
28
|
-
declare const bubbleReactionsVariants: import("@codefast/tailwind-variants").
|
|
28
|
+
declare const bubbleReactionsVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
29
29
|
side: {
|
|
30
30
|
top: string;
|
|
31
31
|
bottom: string;
|
|
@@ -34,7 +34,7 @@ declare const bubbleReactionsVariants: import("@codefast/tailwind-variants").Var
|
|
|
34
34
|
start: string;
|
|
35
35
|
end: string;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
37
|
+
}>;
|
|
38
38
|
/**
|
|
39
39
|
* @since 0.5.0-canary.3
|
|
40
40
|
*/
|
|
@@ -2,12 +2,12 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const buttonGroupVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const buttonGroupVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
orientation: {
|
|
7
7
|
horizontal: string;
|
|
8
8
|
vertical: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>;
|
|
11
11
|
/**
|
|
12
12
|
* @since 0.3.16-canary.0
|
|
13
13
|
*/
|
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const buttonVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const buttonVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
size: {
|
|
7
7
|
default: string;
|
|
8
8
|
xs: string;
|
|
@@ -21,7 +21,7 @@ declare const buttonVariants: import("@codefast/tailwind-variants").VariantResol
|
|
|
21
21
|
outline: string;
|
|
22
22
|
secondary: string;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
24
|
+
}>;
|
|
25
25
|
/**
|
|
26
26
|
* @since 0.3.16-canary.0
|
|
27
27
|
*/
|
package/dist/variants/empty.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const emptyMediaVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const emptyMediaVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: string;
|
|
8
8
|
icon: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>;
|
|
11
11
|
/**
|
|
12
12
|
* @since 0.3.16-canary.0
|
|
13
13
|
*/
|
package/dist/variants/field.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const fieldVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const fieldVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
orientation: {
|
|
7
7
|
horizontal: string;
|
|
8
8
|
responsive: string;
|
|
9
9
|
vertical: string;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>;
|
|
12
12
|
/**
|
|
13
13
|
* @since 0.3.16-canary.0
|
|
14
14
|
*/
|
|
@@ -2,29 +2,29 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const inputGroupVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const inputGroupVariants: import("@codefast/tailwind-variants").FlatVariantResolver<Record<never, never>>;
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.3.16-canary.0
|
|
8
8
|
*/
|
|
9
|
-
declare const inputGroupAddonVariants: import("@codefast/tailwind-variants").
|
|
9
|
+
declare const inputGroupAddonVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
10
10
|
align: {
|
|
11
11
|
"block-end": string;
|
|
12
12
|
"block-start": string;
|
|
13
13
|
"inline-end": string;
|
|
14
14
|
"inline-start": string;
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
}>;
|
|
17
17
|
/**
|
|
18
18
|
* @since 0.3.16-canary.0
|
|
19
19
|
*/
|
|
20
|
-
declare const inputGroupButtonVariants: import("@codefast/tailwind-variants").
|
|
20
|
+
declare const inputGroupButtonVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
21
21
|
size: {
|
|
22
22
|
"icon-xs": string;
|
|
23
23
|
"icon-sm": string;
|
|
24
24
|
sm: string;
|
|
25
25
|
xs: string;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>;
|
|
28
28
|
/**
|
|
29
29
|
* @since 0.3.16-canary.0
|
|
30
30
|
*/
|
package/dist/variants/item.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const itemVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const itemVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
size: {
|
|
7
7
|
default: string;
|
|
8
8
|
sm: string;
|
|
@@ -13,17 +13,17 @@ declare const itemVariants: import("@codefast/tailwind-variants").VariantResolve
|
|
|
13
13
|
muted: string;
|
|
14
14
|
outline: string;
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
}>;
|
|
17
17
|
/**
|
|
18
18
|
* @since 0.3.16-canary.0
|
|
19
19
|
*/
|
|
20
|
-
declare const itemMediaVariants: import("@codefast/tailwind-variants").
|
|
20
|
+
declare const itemMediaVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
21
21
|
variant: {
|
|
22
22
|
default: string;
|
|
23
23
|
icon: string;
|
|
24
24
|
image: string;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}>;
|
|
27
27
|
/**
|
|
28
28
|
* @since 0.3.16-canary.0
|
|
29
29
|
*/
|
|
@@ -4,13 +4,13 @@ import type { VariantProps } from "#lib/utils";
|
|
|
4
4
|
*
|
|
5
5
|
* @since 0.5.0-canary.3
|
|
6
6
|
*/
|
|
7
|
-
declare const markerVariants: import("@codefast/tailwind-variants").
|
|
7
|
+
declare const markerVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
8
8
|
variant: {
|
|
9
9
|
default: string;
|
|
10
10
|
separator: string;
|
|
11
11
|
border: string;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>;
|
|
14
14
|
/**
|
|
15
15
|
* @since 0.5.0-canary.3
|
|
16
16
|
*/
|
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const navigationMenuTriggerVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const navigationMenuTriggerVariants: import("@codefast/tailwind-variants").FlatVariantResolver<Record<never, never>>;
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.3.16-canary.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const progressCircleVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const progressCircleVariants: import("@codefast/tailwind-variants").SlotVariantResolver<{
|
|
6
6
|
size: {
|
|
7
7
|
sm: {
|
|
8
8
|
label: string;
|
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const scrollAreaScrollbarVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const scrollAreaScrollbarVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
orientation: {
|
|
7
7
|
horizontal: string;
|
|
8
8
|
vertical: string;
|
|
@@ -13,7 +13,7 @@ declare const scrollAreaScrollbarVariants: import("@codefast/tailwind-variants")
|
|
|
13
13
|
md: string;
|
|
14
14
|
lg: string;
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
}>;
|
|
17
17
|
/**
|
|
18
18
|
* @since 0.3.16-canary.0
|
|
19
19
|
*/
|
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const separatorVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const separatorVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
align: {
|
|
7
7
|
center: string;
|
|
8
8
|
end: string;
|
|
@@ -12,7 +12,7 @@ declare const separatorVariants: import("@codefast/tailwind-variants").VariantRe
|
|
|
12
12
|
horizontal: string;
|
|
13
13
|
vertical: string;
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
}>;
|
|
16
16
|
/**
|
|
17
17
|
* @since 0.3.16-canary.0
|
|
18
18
|
*/
|
package/dist/variants/sheet.d.ts
CHANGED
|
@@ -2,14 +2,14 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const sheetContentVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const sheetContentVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
side: {
|
|
7
7
|
bottom: string;
|
|
8
8
|
left: string;
|
|
9
9
|
right: string;
|
|
10
10
|
top: string;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}>;
|
|
13
13
|
/**
|
|
14
14
|
* @since 0.3.16-canary.0
|
|
15
15
|
*/
|
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const sidebarMenuButtonVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const sidebarMenuButtonVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
size: {
|
|
7
7
|
default: string;
|
|
8
8
|
sm: string;
|
|
@@ -12,7 +12,7 @@ declare const sidebarMenuButtonVariants: import("@codefast/tailwind-variants").V
|
|
|
12
12
|
default: string;
|
|
13
13
|
outline: string;
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
}>;
|
|
16
16
|
/**
|
|
17
17
|
* @since 0.3.16-canary.0
|
|
18
18
|
*/
|
package/dist/variants/tabs.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const tabsListVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const tabsListVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: string;
|
|
8
8
|
line: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>;
|
|
11
11
|
/**
|
|
12
12
|
* @since 0.3.16-canary.0
|
|
13
13
|
*/
|
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "#lib/utils";
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 0.3.16-canary.0
|
|
4
4
|
*/
|
|
5
|
-
declare const toggleVariants: import("@codefast/tailwind-variants").
|
|
5
|
+
declare const toggleVariants: import("@codefast/tailwind-variants").FlatVariantResolver<{
|
|
6
6
|
size: {
|
|
7
7
|
default: string;
|
|
8
8
|
sm: string;
|
|
@@ -12,7 +12,7 @@ declare const toggleVariants: import("@codefast/tailwind-variants").VariantResol
|
|
|
12
12
|
default: string;
|
|
13
13
|
outline: string;
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
}>;
|
|
16
16
|
/**
|
|
17
17
|
* @since 0.3.16-canary.0
|
|
18
18
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefast/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Core UI components library built with React and Tailwind CSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -468,23 +468,23 @@
|
|
|
468
468
|
"access": "public"
|
|
469
469
|
},
|
|
470
470
|
"dependencies": {
|
|
471
|
-
"@codefast/tailwind-variants": "0.
|
|
471
|
+
"@codefast/tailwind-variants": "0.11.0",
|
|
472
472
|
"@daypicker/react": "^10.0.2",
|
|
473
473
|
"cmdk": "^1.1.1",
|
|
474
|
+
"cn": "^0.5.2",
|
|
474
475
|
"embla-carousel-react": "^8.6.0",
|
|
475
476
|
"input-otp": "^1.5.0",
|
|
476
|
-
"lucide-react": "^1.
|
|
477
|
+
"lucide-react": "^1.72.0",
|
|
477
478
|
"radix-ui": "^1.8.1",
|
|
478
|
-
"react-hook-form": "^7.
|
|
479
|
-
"react-resizable-panels": "^4.
|
|
479
|
+
"react-hook-form": "^7.92.0",
|
|
480
|
+
"react-resizable-panels": "^4.21.0",
|
|
480
481
|
"recharts": "^3.10.1",
|
|
481
482
|
"sonner": "^2.0.8",
|
|
482
|
-
"tailwind-merge": "^3.7.0",
|
|
483
483
|
"tw-animate-css": "^1.4.0",
|
|
484
484
|
"vaul": "^1.1.2"
|
|
485
485
|
},
|
|
486
486
|
"peerDependencies": {
|
|
487
|
-
"@codefast/theme": ">=0.
|
|
487
|
+
"@codefast/theme": ">=0.12.0",
|
|
488
488
|
"@types/react": ">=19.0.0",
|
|
489
489
|
"@types/react-dom": ">=19.0.0",
|
|
490
490
|
"react": ">=19.0.0",
|
|
@@ -499,6 +499,6 @@
|
|
|
499
499
|
}
|
|
500
500
|
},
|
|
501
501
|
"engines": {
|
|
502
|
-
"node": ">=
|
|
502
|
+
"node": ">=24.15.0"
|
|
503
503
|
}
|
|
504
504
|
}
|