spine-framework 0.1.40 → 0.1.41

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
@@ -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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spine-framework",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "private": false,
5
5
  "description": "Spine — enterprise application framework built on Supabase + Netlify + React",
6
6
  "type": "module",