spine-framework 0.1.40 → 0.1.42

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.
@@ -45,7 +45,7 @@ function BreadcrumbLink({
45
45
  }: React.ComponentProps<"a"> & {
46
46
  asChild?: boolean
47
47
  }) {
48
- const Comp = asChild ? Slot.Root : "a"
48
+ const Comp = asChild ? Slot : "a"
49
49
 
50
50
  return (
51
51
  <Comp
@@ -44,7 +44,7 @@ function ButtonGroupText({
44
44
  }: React.ComponentProps<"div"> & {
45
45
  asChild?: boolean
46
46
  }) {
47
- const Comp = asChild ? Slot.Root : "div"
47
+ const Comp = asChild ? Slot : "div"
48
48
 
49
49
  return (
50
50
  <Comp
@@ -49,7 +49,7 @@ function Button({
49
49
  VariantProps<typeof buttonVariants> & {
50
50
  asChild?: boolean
51
51
  }) {
52
- const Comp = asChild ? Slot.Root : "button"
52
+ const Comp = asChild ? Slot : "button"
53
53
 
54
54
  return (
55
55
  <Comp
@@ -2,7 +2,6 @@
2
2
 
3
3
  import * as React from "react"
4
4
  import * as RechartsPrimitive from "recharts"
5
- import type { TooltipValueType } from "recharts"
6
5
 
7
6
  import { cn } from "@/lib/utils"
8
7
 
@@ -10,7 +9,6 @@ import { cn } from "@/lib/utils"
10
9
  const THEMES = { light: "", dark: ".dark" } as const
11
10
 
12
11
  const INITIAL_DIMENSION = { width: 320, height: 200 } as const
13
- type TooltipNameType = number | string
14
12
 
15
13
  export type ChartConfig = Record<
16
14
  string,
@@ -138,10 +136,7 @@ function ChartTooltipContent({
138
136
  nameKey?: string
139
137
  labelKey?: string
140
138
  } & Omit<
141
- RechartsPrimitive.DefaultTooltipContentProps<
142
- TooltipValueType,
143
- TooltipNameType
144
- >,
139
+ RechartsPrimitive.TooltipContentProps,
145
140
  "accessibilityLayer"
146
141
  >) {
147
142
  const { config } = useChart()
@@ -63,7 +63,7 @@ function Item({
63
63
  ...props
64
64
  }: React.ComponentProps<"div"> &
65
65
  VariantProps<typeof itemVariants> & { asChild?: boolean }) {
66
- const Comp = asChild ? Slot.Root : "div"
66
+ const Comp = asChild ? Slot : "div"
67
67
  return (
68
68
  <Comp
69
69
  data-slot="item"
@@ -15,7 +15,7 @@
15
15
  "clsx": "^2.0.0",
16
16
  "tailwind-merge": "^2.0.0",
17
17
  "class-variance-authority": "^0.7.0",
18
- "recharts": "^2.0.0",
18
+ "recharts": "^3.0.0",
19
19
  "@radix-ui/react-dialog": "^1.0.0",
20
20
  "@radix-ui/react-slot": "^1.0.0",
21
21
  "@radix-ui/react-tooltip": "^1.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spine-framework",
3
- "version": "0.1.40",
3
+ "version": "0.1.42",
4
4
  "private": false,
5
5
  "description": "Spine — enterprise application framework built on Supabase + Netlify + React",
6
6
  "type": "module",
@@ -179,9 +179,9 @@
179
179
  "lowlight": "^3.3.0",
180
180
  "lucide-react": "^1.14.0",
181
181
  "marked": "^17.0.3",
182
- "mermaid": "^11.12.3",
182
+ "mermaid": "^11.15.0",
183
183
  "next-themes": "^0.4.6",
184
- "postcss": "^8.5.1",
184
+ "postcss": "^8.5.15",
185
185
  "radix-ui": "^1.4.3",
186
186
  "react": "^18.3.1",
187
187
  "react-day-picker": "^10.0.0",
@@ -192,7 +192,7 @@
192
192
  "react-refresh": "^0.14.0",
193
193
  "react-resizable-panels": "^4.11.0",
194
194
  "react-router-dom": "^6.28.1",
195
- "recharts": "3.8.0",
195
+ "recharts": "^3.8.1",
196
196
  "rehype-autolink-headings": "^7.1.0",
197
197
  "rehype-raw": "^7.0.0",
198
198
  "rehype-sanitize": "^6.0.0",
@@ -208,8 +208,8 @@
208
208
  "typedoc": "^0.27.0",
209
209
  "typescript": "~5.6.2",
210
210
  "vaul": "^1.1.2",
211
- "vite": "^6.0.11",
212
- "vitest": "^2.1.9"
211
+ "vite": "^6.4.3",
212
+ "vitest": "^4.1.8"
213
213
  },
214
214
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
215
215
  }