spine-framework 0.1.33 → 0.1.36
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/.framework/functions/_shared/db.ts +4 -4
- package/.framework/src/components/ui/accordion.tsx +1 -1
- package/.framework/src/components/ui/alert-dialog.tsx +1 -1
- package/.framework/src/components/ui/aspect-ratio.tsx +1 -1
- package/.framework/src/components/ui/avatar.tsx +1 -1
- package/.framework/src/components/ui/badge.tsx +1 -1
- package/.framework/src/components/ui/breadcrumb.tsx +1 -1
- package/.framework/src/components/ui/button-group.tsx +1 -1
- package/.framework/src/components/ui/button.tsx +1 -1
- package/.framework/src/components/ui/checkbox.tsx +1 -1
- package/.framework/src/components/ui/collapsible.tsx +1 -1
- package/.framework/src/components/ui/context-menu.tsx +1 -1
- package/.framework/src/components/ui/dialog.tsx +1 -1
- package/.framework/src/components/ui/direction.tsx +1 -17
- package/.framework/src/components/ui/dropdown-menu.tsx +1 -1
- package/.framework/src/components/ui/hover-card.tsx +1 -1
- package/.framework/src/components/ui/item.tsx +1 -1
- package/.framework/src/components/ui/label.tsx +1 -1
- package/.framework/src/components/ui/menubar.tsx +1 -1
- package/.framework/src/components/ui/navigation-menu.tsx +1 -1
- package/.framework/src/components/ui/popover.tsx +1 -1
- package/.framework/src/components/ui/progress.tsx +1 -1
- package/.framework/src/components/ui/radio-group.tsx +1 -1
- package/.framework/src/components/ui/scroll-area.tsx +1 -1
- package/.framework/src/components/ui/select.tsx +1 -1
- package/.framework/src/components/ui/separator.tsx +1 -1
- package/.framework/src/components/ui/sheet.tsx +1 -1
- package/.framework/src/components/ui/sidebar.tsx +1 -1
- package/.framework/src/components/ui/slider.tsx +1 -1
- package/.framework/src/components/ui/switch.tsx +1 -1
- package/.framework/src/components/ui/tabs.tsx +1 -1
- package/.framework/src/components/ui/toggle-group.tsx +1 -1
- package/.framework/src/components/ui/toggle.tsx +1 -1
- package/.framework/src/components/ui/tooltip.tsx +1 -1
- package/dist/functions/_shared/db.d.ts.map +1 -1
- package/package-project.json +18 -1
- package/package.json +1 -1
|
@@ -73,7 +73,8 @@ const dbSchema: string = _env.DB_SCHEMA || 'public'
|
|
|
73
73
|
* ```
|
|
74
74
|
*/
|
|
75
75
|
export const adminDb = createClient(supabaseUrl, supabaseServiceKey, {
|
|
76
|
-
db: { schema: dbSchema }
|
|
76
|
+
db: { schema: dbSchema },
|
|
77
|
+
auth: { autoRefreshToken: false, persistSession: false }
|
|
77
78
|
})
|
|
78
79
|
|
|
79
80
|
// ─── CHUNK_START: SHARED_DB_GET_USER_DB ──────────────────────────────────────────────
|
|
@@ -92,9 +93,8 @@ export const adminDb = createClient(supabaseUrl, supabaseServiceKey, {
|
|
|
92
93
|
*/
|
|
93
94
|
export function getUserDb(jwt: string) {
|
|
94
95
|
return createClient(supabaseUrl, supabaseAnonKey, {
|
|
95
|
-
db: {
|
|
96
|
-
|
|
97
|
-
},
|
|
96
|
+
db: { schema: dbSchema },
|
|
97
|
+
auth: { autoRefreshToken: false, persistSession: false },
|
|
98
98
|
global: {
|
|
99
99
|
headers: {
|
|
100
100
|
Authorization: `Bearer ${jwt}`
|
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
3
|
import * as React from "react"
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
function DirectionProvider({
|
|
7
|
-
dir,
|
|
8
|
-
direction,
|
|
9
|
-
children,
|
|
10
|
-
}: React.ComponentProps<typeof Direction.DirectionProvider> & {
|
|
11
|
-
direction?: React.ComponentProps<typeof Direction.DirectionProvider>["dir"]
|
|
12
|
-
}) {
|
|
13
|
-
return (
|
|
14
|
-
<Direction.DirectionProvider dir={direction ?? dir}>
|
|
15
|
-
{children}
|
|
16
|
-
</Direction.DirectionProvider>
|
|
17
|
-
)
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const useDirection = Direction.useDirection
|
|
4
|
+
import { DirectionProvider, useDirection } from "@radix-ui/react-direction"
|
|
21
5
|
|
|
22
6
|
export { DirectionProvider, useDirection }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
3
|
import * as React from "react"
|
|
4
|
-
import
|
|
4
|
+
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"
|
|
5
5
|
|
|
6
6
|
import { cn } from "@/lib/utils"
|
|
7
7
|
import { CheckIcon, ChevronRightIcon } from "lucide-react"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { cva, type VariantProps } from "class-variance-authority"
|
|
3
|
-
import { Slot } from "radix-ui"
|
|
3
|
+
import { Slot } from "@radix-ui/react-slot"
|
|
4
4
|
|
|
5
5
|
import { cn } from "@/lib/utils"
|
|
6
6
|
import { Separator } from "@/components/ui/separator"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { cva } from "class-variance-authority"
|
|
3
|
-
import
|
|
3
|
+
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"
|
|
4
4
|
|
|
5
5
|
import { cn } from "@/lib/utils"
|
|
6
6
|
import { ChevronDownIcon } from "lucide-react"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
3
|
import * as React from "react"
|
|
4
|
-
import
|
|
4
|
+
import * as SelectPrimitive from "@radix-ui/react-select"
|
|
5
5
|
|
|
6
6
|
import { cn } from "@/lib/utils"
|
|
7
7
|
import { ChevronDownIcon, CheckIcon, ChevronUpIcon } from "lucide-react"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from "react"
|
|
4
4
|
import { type VariantProps } from "class-variance-authority"
|
|
5
|
-
import
|
|
5
|
+
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group"
|
|
6
6
|
|
|
7
7
|
import { cn } from "@/lib/utils"
|
|
8
8
|
import { toggleVariants } from "@/components/ui/toggle"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../../.framework/functions/_shared/db.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0BH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../../.framework/functions/_shared/db.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0BH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,OAAO,iFAGlB,CAAA;AAGF;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,mFAUpC;AAKD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;IACxB,IAAI,EAAE,CAAC,GAAG,IAAI,CAAA;IACd,KAAK,EAAE,GAAG,CAAA;CACX,CAAA;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,KAAK;;;;;;;;CAQjB,CAAA"}
|
package/package-project.json
CHANGED
|
@@ -27,7 +27,24 @@
|
|
|
27
27
|
"@radix-ui/react-switch": "^1.0.0",
|
|
28
28
|
"@radix-ui/react-tabs": "^1.0.0",
|
|
29
29
|
"@radix-ui/react-toast": "^1.0.0",
|
|
30
|
-
"@radix-ui/react-radio-group": "^1.0.0"
|
|
30
|
+
"@radix-ui/react-radio-group": "^1.0.0",
|
|
31
|
+
"@radix-ui/react-context-menu": "^1.0.0",
|
|
32
|
+
"@radix-ui/react-menubar": "^1.0.0",
|
|
33
|
+
"@radix-ui/react-toggle": "^1.0.0",
|
|
34
|
+
"@radix-ui/react-toggle-group": "^1.0.0",
|
|
35
|
+
"@radix-ui/react-accordion": "^1.0.0",
|
|
36
|
+
"@radix-ui/react-navigation-menu": "^1.0.0",
|
|
37
|
+
"@radix-ui/react-scroll-area": "^1.0.0",
|
|
38
|
+
"@radix-ui/react-hover-card": "^1.0.0",
|
|
39
|
+
"@radix-ui/react-progress": "^1.0.0",
|
|
40
|
+
"@radix-ui/react-alert-dialog": "^1.0.0",
|
|
41
|
+
"@radix-ui/react-aspect-ratio": "^1.0.0",
|
|
42
|
+
"@radix-ui/react-direction": "^1.0.0",
|
|
43
|
+
"@radix-ui/react-checkbox": "^1.0.0",
|
|
44
|
+
"@radix-ui/react-slider": "^1.0.0",
|
|
45
|
+
"@radix-ui/react-label": "^1.0.0",
|
|
46
|
+
"@radix-ui/react-popover": "^1.0.0",
|
|
47
|
+
"tailwindcss-animate": "^1.0.0"
|
|
31
48
|
},
|
|
32
49
|
"devDependencies": {
|
|
33
50
|
"vite": "^5.0.0",
|