@codefast/ui 0.5.0-canary.2 → 0.5.0-canary.4

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/components/attachment.d.mts +136 -0
  3. package/dist/components/attachment.mjs +112 -0
  4. package/dist/components/avatar.mjs +1 -1
  5. package/dist/components/breadcrumb.d.mts +2 -4
  6. package/dist/components/bubble.d.mts +67 -0
  7. package/dist/components/bubble.mjs +58 -0
  8. package/dist/components/card.mjs +2 -2
  9. package/dist/components/carousel.mjs +12 -3
  10. package/dist/components/empty.mjs +1 -1
  11. package/dist/components/marker.d.mts +49 -0
  12. package/dist/components/marker.mjs +42 -0
  13. package/dist/components/message-scroller.d.mts +89 -0
  14. package/dist/components/message-scroller.mjs +77 -0
  15. package/dist/components/message.d.mts +86 -0
  16. package/dist/components/message.mjs +66 -0
  17. package/dist/components/progress-circle.d.mts +4 -4
  18. package/dist/components/progress-circle.mjs +7 -7
  19. package/dist/components/sidebar.mjs +6 -3
  20. package/dist/hooks/use-animated-value.d.mts +2 -2
  21. package/dist/hooks/use-animated-value.mjs +4 -4
  22. package/dist/hooks/use-message-scroller-commands.d.mts +39 -0
  23. package/dist/hooks/use-message-scroller-commands.mjs +165 -0
  24. package/dist/hooks/use-message-scroller-controller.d.mts +19 -0
  25. package/dist/hooks/use-message-scroller-controller.mjs +382 -0
  26. package/dist/hooks/use-message-scroller-refs.d.mts +60 -0
  27. package/dist/hooks/use-message-scroller-refs.mjs +77 -0
  28. package/dist/hooks/use-pagination.d.mts +4 -4
  29. package/dist/hooks/use-pagination.mjs +1 -1
  30. package/dist/index.d.mts +12 -2
  31. package/dist/index.mjs +11 -2
  32. package/dist/lib/message-scroller/geometry.d.mts +136 -0
  33. package/dist/lib/message-scroller/geometry.mjs +199 -0
  34. package/dist/lib/message-scroller/stores.d.mts +21 -0
  35. package/dist/lib/message-scroller/stores.mjs +52 -0
  36. package/dist/lib/message-scroller/types.d.mts +171 -0
  37. package/dist/lib/message-scroller/types.mjs +53 -0
  38. package/dist/lib/message-scroller/utils.d.mts +7 -0
  39. package/dist/lib/message-scroller/utils.mjs +12 -0
  40. package/dist/lib/use-render.d.mts +43 -0
  41. package/dist/lib/use-render.mjs +84 -0
  42. package/dist/primitives/message-scroller.d.mts +88 -0
  43. package/dist/primitives/message-scroller.mjs +240 -0
  44. package/dist/variants/attachment.d.mts +42 -0
  45. package/dist/variants/attachment.mjs +42 -0
  46. package/dist/variants/bubble.d.mts +45 -0
  47. package/dist/variants/bubble.mjs +45 -0
  48. package/dist/variants/marker.d.mts +21 -0
  49. package/dist/variants/marker.mjs +18 -0
  50. package/package.json +93 -7
  51. package/src/components/attachment.tsx +284 -0
  52. package/src/components/avatar.tsx +1 -1
  53. package/src/components/breadcrumb.tsx +2 -4
  54. package/src/components/bubble.tsx +116 -0
  55. package/src/components/card.tsx +2 -2
  56. package/src/components/carousel.tsx +12 -3
  57. package/src/components/empty.tsx +1 -1
  58. package/src/components/marker.tsx +94 -0
  59. package/src/components/message-scroller.tsx +213 -0
  60. package/src/components/message.tsx +173 -0
  61. package/src/components/progress-circle.tsx +11 -11
  62. package/src/components/sidebar.tsx +11 -4
  63. package/src/css/foundation/tokens.css +6 -18
  64. package/src/css/foundation/utilities.css +451 -0
  65. package/src/css/preset.css +2 -1
  66. package/src/hooks/use-animated-value.ts +4 -4
  67. package/src/hooks/use-message-scroller-commands.ts +311 -0
  68. package/src/hooks/use-message-scroller-controller.ts +650 -0
  69. package/src/hooks/use-message-scroller-refs.ts +167 -0
  70. package/src/hooks/use-pagination.ts +3 -3
  71. package/src/index.ts +73 -1
  72. package/src/lib/message-scroller/geometry.ts +397 -0
  73. package/src/lib/message-scroller/stores.ts +88 -0
  74. package/src/lib/message-scroller/types.ts +309 -0
  75. package/src/lib/message-scroller/utils.ts +14 -0
  76. package/src/lib/use-render.ts +201 -0
  77. package/src/primitives/message-scroller.tsx +403 -0
  78. package/src/variants/attachment.ts +73 -0
  79. package/src/variants/bubble.ts +81 -0
  80. package/src/variants/marker.ts +38 -0
@@ -0,0 +1,42 @@
1
+ import { VariantProps } from "../lib/utils.mjs";
2
+
3
+ //#region src/variants/attachment.d.ts
4
+ /**
5
+ * File/media attachment card. Size drives padding for the media and content
6
+ * slots; orientation switches between a horizontal row and a vertical tile.
7
+ *
8
+ * @since 0.5.0-canary.3
9
+ */
10
+ declare const attachmentVariants: import("@codefast/tailwind-variants").VariantResolver<{
11
+ size: {
12
+ default: string;
13
+ sm: string;
14
+ xs: string;
15
+ };
16
+ orientation: {
17
+ horizontal: string;
18
+ vertical: string;
19
+ };
20
+ }, Record<string, never>>;
21
+ /**
22
+ * @since 0.5.0-canary.3
23
+ */
24
+ type AttachmentVariants = VariantProps<typeof attachmentVariants>;
25
+ /**
26
+ * Media thumbnail — an icon tile or a cover image that reacts to attachment
27
+ * size, orientation, and upload state via the parent `group/attachment`.
28
+ *
29
+ * @since 0.5.0-canary.3
30
+ */
31
+ declare const attachmentMediaVariants: import("@codefast/tailwind-variants").VariantResolver<{
32
+ variant: {
33
+ icon: string;
34
+ image: string;
35
+ };
36
+ }, Record<string, never>>;
37
+ /**
38
+ * @since 0.5.0-canary.3
39
+ */
40
+ type AttachmentMediaVariants = VariantProps<typeof attachmentMediaVariants>;
41
+ //#endregion
42
+ export { type AttachmentMediaVariants, type AttachmentVariants, attachmentMediaVariants, attachmentVariants };
@@ -0,0 +1,42 @@
1
+ import { tv } from "../lib/utils.mjs";
2
+ //#region src/variants/attachment.ts
3
+ /**
4
+ * File/media attachment card. Size drives padding for the media and content
5
+ * slots; orientation switches between a horizontal row and a vertical tile.
6
+ *
7
+ * @since 0.5.0-canary.3
8
+ */
9
+ const attachmentVariants = tv({
10
+ base: "group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-xl border bg-card text-card-foreground transition-colors focus-within:ring-1 focus-within:ring-ring/50 has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive/30 data-[state=idle]:border-dashed",
11
+ defaultVariants: {
12
+ orientation: "horizontal",
13
+ size: "default"
14
+ },
15
+ variants: {
16
+ size: {
17
+ default: "gap-2 text-sm has-data-[slot=attachment-content]:px-2.5 has-data-[slot=attachment-content]:py-2 has-data-[slot=attachment-media]:p-2",
18
+ sm: "gap-2.5 text-xs has-data-[slot=attachment-content]:px-2 has-data-[slot=attachment-content]:py-1.5 has-data-[slot=attachment-media]:p-1.5",
19
+ xs: "gap-1.5 rounded-lg text-xs has-data-[slot=attachment-content]:px-1.5 has-data-[slot=attachment-content]:py-1 has-data-[slot=attachment-media]:p-1"
20
+ },
21
+ orientation: {
22
+ horizontal: "min-w-40 items-center",
23
+ vertical: "w-24 flex-col has-data-[slot=attachment-content]:w-30"
24
+ }
25
+ }
26
+ });
27
+ /**
28
+ * Media thumbnail — an icon tile or a cover image that reacts to attachment
29
+ * size, orientation, and upload state via the parent `group/attachment`.
30
+ *
31
+ * @since 0.5.0-canary.3
32
+ */
33
+ const attachmentMediaVariants = tv({
34
+ base: "relative flex aspect-square w-10 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted text-foreground group-data-[orientation=vertical]/attachment:w-full group-data-[size=sm]/attachment:w-8 group-data-[size=xs]/attachment:w-7 group-data-[size=xs]/attachment:rounded-md group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive group-data-[orientation=vertical]/attachment:*:data-[slot=spinner]:size-6! [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 group-data-[orientation=vertical]/attachment:[&_svg:not([class*='size-'])]:size-6 group-data-[size=xs]/attachment:[&_svg:not([class*='size-'])]:size-3.5",
35
+ defaultVariants: { variant: "icon" },
36
+ variants: { variant: {
37
+ icon: "",
38
+ image: "opacity-60 group-data-[state=done]/attachment:opacity-100 group-data-[state=idle]/attachment:opacity-100 *:[img]:aspect-square *:[img]:w-full *:[img]:object-cover"
39
+ } }
40
+ });
41
+ //#endregion
42
+ export { attachmentMediaVariants, attachmentVariants };
@@ -0,0 +1,45 @@
1
+ import { VariantProps } from "../lib/utils.mjs";
2
+
3
+ //#region src/variants/bubble.d.ts
4
+ /**
5
+ * Chat bubble surface. Variants paint the nested `bubble-content`, so the color
6
+ * follows the message author regardless of alignment.
7
+ *
8
+ * @since 0.5.0-canary.3
9
+ */
10
+ declare const bubbleVariants: import("@codefast/tailwind-variants").VariantResolver<{
11
+ variant: {
12
+ default: string;
13
+ secondary: string;
14
+ muted: string;
15
+ tinted: string;
16
+ outline: string;
17
+ ghost: string;
18
+ destructive: string;
19
+ };
20
+ }, Record<string, never>>;
21
+ /**
22
+ * @since 0.5.0-canary.3
23
+ */
24
+ type BubbleVariants = VariantProps<typeof bubbleVariants>;
25
+ /**
26
+ * Reaction pill anchored to a bubble corner.
27
+ *
28
+ * @since 0.5.0-canary.3
29
+ */
30
+ declare const bubbleReactionsVariants: import("@codefast/tailwind-variants").VariantResolver<{
31
+ side: {
32
+ top: string;
33
+ bottom: string;
34
+ };
35
+ align: {
36
+ start: string;
37
+ end: string;
38
+ };
39
+ }, Record<string, never>>;
40
+ /**
41
+ * @since 0.5.0-canary.3
42
+ */
43
+ type BubbleReactionsVariants = VariantProps<typeof bubbleReactionsVariants>;
44
+ //#endregion
45
+ export { type BubbleReactionsVariants, type BubbleVariants, bubbleReactionsVariants, bubbleVariants };
@@ -0,0 +1,45 @@
1
+ import { tv } from "../lib/utils.mjs";
2
+ //#region src/variants/bubble.ts
3
+ /**
4
+ * Chat bubble surface. Variants paint the nested `bubble-content`, so the color
5
+ * follows the message author regardless of alignment.
6
+ *
7
+ * @since 0.5.0-canary.3
8
+ */
9
+ const bubbleVariants = tv({
10
+ base: "group/bubble relative flex w-fit max-w-[80%] min-w-0 flex-col gap-1 group-data-[align=end]/message:self-end data-[align=end]:self-end data-[variant=ghost]:max-w-full",
11
+ defaultVariants: { variant: "default" },
12
+ variants: { variant: {
13
+ default: "*:data-[slot=bubble-content]:bg-primary *:data-[slot=bubble-content]:text-primary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-primary/80",
14
+ secondary: "*:data-[slot=bubble-content]:bg-secondary *:data-[slot=bubble-content]:text-secondary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]",
15
+ muted: "*:data-[slot=bubble-content]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--muted),var(--foreground)_5%)]",
16
+ tinted: "*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.93_calc(c*0.4)_h)] *:data-[slot=bubble-content]:text-foreground dark:*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.3_calc(c*0.4)_h)] [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.88_calc(c*0.5)_h)] dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.35_calc(c*0.5)_h)]",
17
+ outline: "*:data-[slot=bubble-content]:border-border *:data-[slot=bubble-content]:bg-background [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-input/30",
18
+ ghost: "border-none *:data-[slot=bubble-content]:rounded-none *:data-[slot=bubble-content]:bg-transparent *:data-[slot=bubble-content]:p-0 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted/50",
19
+ destructive: "*:data-[slot=bubble-content]:bg-destructive/10 *:data-[slot=bubble-content]:text-destructive dark:*:data-[slot=bubble-content]:bg-destructive/20 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/20 dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/30"
20
+ } }
21
+ });
22
+ /**
23
+ * Reaction pill anchored to a bubble corner.
24
+ *
25
+ * @since 0.5.0-canary.3
26
+ */
27
+ const bubbleReactionsVariants = tv({
28
+ base: "absolute z-10 flex w-fit shrink-0 items-center justify-center gap-1 rounded-full bg-muted px-1.5 py-0.5 text-sm ring-3 ring-card has-[button]:p-0",
29
+ defaultVariants: {
30
+ align: "end",
31
+ side: "bottom"
32
+ },
33
+ variants: {
34
+ side: {
35
+ top: "top-0 -translate-y-3/4",
36
+ bottom: "bottom-0 translate-y-3/4"
37
+ },
38
+ align: {
39
+ start: "start-3",
40
+ end: "end-3"
41
+ }
42
+ }
43
+ });
44
+ //#endregion
45
+ export { bubbleReactionsVariants, bubbleVariants };
@@ -0,0 +1,21 @@
1
+ import { VariantProps } from "../lib/utils.mjs";
2
+
3
+ //#region src/variants/marker.d.ts
4
+ /**
5
+ * Inline chat divider — plain label, centered separator rule, or bottom border.
6
+ *
7
+ * @since 0.5.0-canary.3
8
+ */
9
+ declare const markerVariants: import("@codefast/tailwind-variants").VariantResolver<{
10
+ variant: {
11
+ default: string;
12
+ separator: string;
13
+ border: string;
14
+ };
15
+ }, Record<string, never>>;
16
+ /**
17
+ * @since 0.5.0-canary.3
18
+ */
19
+ type MarkerVariants = VariantProps<typeof markerVariants>;
20
+ //#endregion
21
+ export { type MarkerVariants, markerVariants };
@@ -0,0 +1,18 @@
1
+ import { tv } from "../lib/utils.mjs";
2
+ //#region src/variants/marker.ts
3
+ /**
4
+ * Inline chat divider — plain label, centered separator rule, or bottom border.
5
+ *
6
+ * @since 0.5.0-canary.3
7
+ */
8
+ const markerVariants = tv({
9
+ base: "group/marker relative flex min-h-4 w-full items-center gap-2 text-start text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground",
10
+ defaultVariants: { variant: "default" },
11
+ variants: { variant: {
12
+ default: "",
13
+ separator: "before:me-1 before:h-px before:min-w-0 before:flex-1 before:bg-border after:ms-1 after:h-px after:min-w-0 after:flex-1 after:bg-border",
14
+ border: "border-b border-border pb-2"
15
+ } }
16
+ });
17
+ //#endregion
18
+ export { markerVariants };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/ui",
3
- "version": "0.5.0-canary.2",
3
+ "version": "0.5.0-canary.4",
4
4
  "description": "Core UI components library built with React and Tailwind CSS",
5
5
  "keywords": [
6
6
  "components",
@@ -80,6 +80,11 @@
80
80
  "types": "./dist/components/aspect-ratio.d.mts",
81
81
  "import": "./dist/components/aspect-ratio.mjs"
82
82
  },
83
+ "./attachment": {
84
+ "source": "./src/components/attachment.tsx",
85
+ "types": "./dist/components/attachment.d.mts",
86
+ "import": "./dist/components/attachment.mjs"
87
+ },
83
88
  "./avatar": {
84
89
  "source": "./src/components/avatar.tsx",
85
90
  "types": "./dist/components/avatar.d.mts",
@@ -95,6 +100,11 @@
95
100
  "types": "./dist/components/breadcrumb.d.mts",
96
101
  "import": "./dist/components/breadcrumb.mjs"
97
102
  },
103
+ "./bubble": {
104
+ "source": "./src/components/bubble.tsx",
105
+ "types": "./dist/components/bubble.d.mts",
106
+ "import": "./dist/components/bubble.mjs"
107
+ },
98
108
  "./button": {
99
109
  "source": "./src/components/button.tsx",
100
110
  "types": "./dist/components/button.d.mts",
@@ -240,11 +250,26 @@
240
250
  "types": "./dist/components/label.d.mts",
241
251
  "import": "./dist/components/label.mjs"
242
252
  },
253
+ "./marker": {
254
+ "source": "./src/components/marker.tsx",
255
+ "types": "./dist/components/marker.d.mts",
256
+ "import": "./dist/components/marker.mjs"
257
+ },
243
258
  "./menubar": {
244
259
  "source": "./src/components/menubar.tsx",
245
260
  "types": "./dist/components/menubar.d.mts",
246
261
  "import": "./dist/components/menubar.mjs"
247
262
  },
263
+ "./message": {
264
+ "source": "./src/components/message.tsx",
265
+ "types": "./dist/components/message.d.mts",
266
+ "import": "./dist/components/message.mjs"
267
+ },
268
+ "./message-scroller": {
269
+ "source": "./src/components/message-scroller.tsx",
270
+ "types": "./dist/components/message-scroller.d.mts",
271
+ "import": "./dist/components/message-scroller.mjs"
272
+ },
248
273
  "./native-select": {
249
274
  "source": "./src/components/native-select.tsx",
250
275
  "types": "./dist/components/native-select.d.mts",
@@ -395,6 +420,21 @@
395
420
  "types": "./dist/hooks/use-media-query.d.mts",
396
421
  "import": "./dist/hooks/use-media-query.mjs"
397
422
  },
423
+ "./hooks/use-message-scroller-commands": {
424
+ "source": "./src/hooks/use-message-scroller-commands.ts",
425
+ "types": "./dist/hooks/use-message-scroller-commands.d.mts",
426
+ "import": "./dist/hooks/use-message-scroller-commands.mjs"
427
+ },
428
+ "./hooks/use-message-scroller-controller": {
429
+ "source": "./src/hooks/use-message-scroller-controller.ts",
430
+ "types": "./dist/hooks/use-message-scroller-controller.d.mts",
431
+ "import": "./dist/hooks/use-message-scroller-controller.mjs"
432
+ },
433
+ "./hooks/use-message-scroller-refs": {
434
+ "source": "./src/hooks/use-message-scroller-refs.ts",
435
+ "types": "./dist/hooks/use-message-scroller-refs.d.mts",
436
+ "import": "./dist/hooks/use-message-scroller-refs.mjs"
437
+ },
398
438
  "./hooks/use-mutation-observer": {
399
439
  "source": "./src/hooks/use-mutation-observer.ts",
400
440
  "types": "./dist/hooks/use-mutation-observer.d.mts",
@@ -405,6 +445,31 @@
405
445
  "types": "./dist/hooks/use-pagination.d.mts",
406
446
  "import": "./dist/hooks/use-pagination.mjs"
407
447
  },
448
+ "./lib/message-scroller/geometry": {
449
+ "source": "./src/lib/message-scroller/geometry.ts",
450
+ "types": "./dist/lib/message-scroller/geometry.d.mts",
451
+ "import": "./dist/lib/message-scroller/geometry.mjs"
452
+ },
453
+ "./lib/message-scroller/stores": {
454
+ "source": "./src/lib/message-scroller/stores.ts",
455
+ "types": "./dist/lib/message-scroller/stores.d.mts",
456
+ "import": "./dist/lib/message-scroller/stores.mjs"
457
+ },
458
+ "./lib/message-scroller/types": {
459
+ "source": "./src/lib/message-scroller/types.ts",
460
+ "types": "./dist/lib/message-scroller/types.d.mts",
461
+ "import": "./dist/lib/message-scroller/types.mjs"
462
+ },
463
+ "./lib/message-scroller/utils": {
464
+ "source": "./src/lib/message-scroller/utils.ts",
465
+ "types": "./dist/lib/message-scroller/utils.d.mts",
466
+ "import": "./dist/lib/message-scroller/utils.mjs"
467
+ },
468
+ "./lib/use-render": {
469
+ "source": "./src/lib/use-render.ts",
470
+ "types": "./dist/lib/use-render.d.mts",
471
+ "import": "./dist/lib/use-render.mjs"
472
+ },
408
473
  "./lib/utils": {
409
474
  "source": "./src/lib/utils.ts",
410
475
  "types": "./dist/lib/utils.d.mts",
@@ -425,6 +490,11 @@
425
490
  "types": "./dist/primitives/input-number.d.mts",
426
491
  "import": "./dist/primitives/input-number.mjs"
427
492
  },
493
+ "./primitives/message-scroller": {
494
+ "source": "./src/primitives/message-scroller.tsx",
495
+ "types": "./dist/primitives/message-scroller.d.mts",
496
+ "import": "./dist/primitives/message-scroller.mjs"
497
+ },
428
498
  "./primitives/progress-circle": {
429
499
  "source": "./src/primitives/progress-circle.tsx",
430
500
  "types": "./dist/primitives/progress-circle.d.mts",
@@ -435,11 +505,21 @@
435
505
  "types": "./dist/variants/alert.d.mts",
436
506
  "import": "./dist/variants/alert.mjs"
437
507
  },
508
+ "./variants/attachment": {
509
+ "source": "./src/variants/attachment.ts",
510
+ "types": "./dist/variants/attachment.d.mts",
511
+ "import": "./dist/variants/attachment.mjs"
512
+ },
438
513
  "./variants/badge": {
439
514
  "source": "./src/variants/badge.ts",
440
515
  "types": "./dist/variants/badge.d.mts",
441
516
  "import": "./dist/variants/badge.mjs"
442
517
  },
518
+ "./variants/bubble": {
519
+ "source": "./src/variants/bubble.ts",
520
+ "types": "./dist/variants/bubble.d.mts",
521
+ "import": "./dist/variants/bubble.mjs"
522
+ },
443
523
  "./variants/button": {
444
524
  "source": "./src/variants/button.ts",
445
525
  "types": "./dist/variants/button.d.mts",
@@ -475,6 +555,11 @@
475
555
  "types": "./dist/variants/item.d.mts",
476
556
  "import": "./dist/variants/item.mjs"
477
557
  },
558
+ "./variants/marker": {
559
+ "source": "./src/variants/marker.ts",
560
+ "types": "./dist/variants/marker.d.mts",
561
+ "import": "./dist/variants/marker.mjs"
562
+ },
478
563
  "./variants/navigation-menu": {
479
564
  "source": "./src/variants/navigation-menu.ts",
480
565
  "types": "./dist/variants/navigation-menu.d.mts",
@@ -529,13 +614,13 @@
529
614
  "lucide-react": "^1.23.0",
530
615
  "next-themes": "^0.4.6",
531
616
  "radix-ui": "^1.6.1",
532
- "react-hook-form": "^7.80.0",
533
- "react-resizable-panels": "^4.12.0",
534
- "recharts": "^3.9.1",
617
+ "react-hook-form": "^7.81.0",
618
+ "react-resizable-panels": "^4.12.1",
619
+ "recharts": "^3.9.2",
535
620
  "sonner": "^2.0.7",
536
621
  "tw-animate-css": "^1.4.0",
537
622
  "vaul": "^1.1.2",
538
- "@codefast/tailwind-variants": "0.5.0-canary.2"
623
+ "@codefast/tailwind-variants": "0.5.0-canary.4"
539
624
  },
540
625
  "devDependencies": {
541
626
  "@storybook/addon-a11y": "^10.4.6",
@@ -549,7 +634,7 @@
549
634
  "@testing-library/user-event": "^14.6.1",
550
635
  "@types/jest-axe": "^3.5.9",
551
636
  "@types/node": "^26.1.0",
552
- "@typescript/native-preview": "7.0.0-dev.20260702.3",
637
+ "@typescript/native-preview": "7.0.0-dev.20260704.1",
553
638
  "@vitejs/plugin-react": "^6.0.3",
554
639
  "@vitest/browser": "^4.1.9",
555
640
  "@vitest/browser-playwright": "^4.1.9",
@@ -563,7 +648,7 @@
563
648
  "tsdown": "^0.22.3",
564
649
  "typescript": "^6.0.3",
565
650
  "vitest": "^4.1.9",
566
- "@codefast/typescript-config": "0.5.0-canary.2"
651
+ "@codefast/typescript-config": "0.5.0-canary.4"
567
652
  },
568
653
  "peerDependencies": {
569
654
  "@types/react": ">=19.0.0",
@@ -583,6 +668,7 @@
583
668
  "node": ">=24.0.0"
584
669
  },
585
670
  "scripts": {
671
+ "audit:rtl": "node scripts/audit-rtl.mjs",
586
672
  "build": "tsdown",
587
673
  "build-storybook": "storybook build",
588
674
  "check-types": "tsgo --noEmit",