@rolder/kit 3.0.0-alpha.82 → 3.0.0-alpha.83
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.
|
@@ -2,8 +2,8 @@ import { handleRequest, route } from "@better-upload/server";
|
|
|
2
2
|
import { createServerOnlyFn } from "@tanstack/react-start";
|
|
3
3
|
import { getS3Client } from "./getS3Client.js";
|
|
4
4
|
const getRouter = createServerOnlyFn(()=>{
|
|
5
|
-
const bucket = process.env.
|
|
6
|
-
if (!bucket) throw new Error('
|
|
5
|
+
const bucket = process.env.S3_BUCKET_NAME;
|
|
6
|
+
if (!bucket) throw new Error('S3_BUCKET_NAME environment variable is not set');
|
|
7
7
|
const s3 = getS3Client();
|
|
8
8
|
const router = {
|
|
9
9
|
client: s3,
|
|
@@ -2,7 +2,6 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { IconChevronDown } from "@tabler/icons-react";
|
|
3
3
|
const AnimatedChevron = ({ expanded, style, ...props })=>/*#__PURE__*/ jsx(IconChevronDown, {
|
|
4
4
|
strokeWidth: 1.5,
|
|
5
|
-
"data-expanded": expanded,
|
|
6
5
|
style: {
|
|
7
6
|
transition: 'transform 0.2s ease-in-out',
|
|
8
7
|
transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)',
|
package/dist/ui/editor/Root.js
CHANGED
|
@@ -8,10 +8,10 @@ import extension_task_list from "@tiptap/extension-task-list";
|
|
|
8
8
|
import extension_text_align from "@tiptap/extension-text-align";
|
|
9
9
|
import { useEditor } from "@tiptap/react";
|
|
10
10
|
import starter_kit from "@tiptap/starter-kit";
|
|
11
|
-
import {
|
|
11
|
+
import { useState } from "react";
|
|
12
12
|
import { setDisabledToolbar } from "./store.js";
|
|
13
13
|
const Root = ({ children, classNames, content, editable = true, disabledToolbar, onUpdate, editor: customEditor, ...props })=>{
|
|
14
|
-
|
|
14
|
+
useState(()=>setDisabledToolbar(disabledToolbar || false));
|
|
15
15
|
const editor = useEditor({
|
|
16
16
|
shouldRerenderOnTransaction: false,
|
|
17
17
|
immediatelyRender: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolder/kit",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.83",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@rsbuild/plugin-react": "^1.4.3",
|
|
24
|
-
"@rslib/core": "^0.19.
|
|
24
|
+
"@rslib/core": "^0.19.3",
|
|
25
25
|
"@types/bun": "^1.3.6",
|
|
26
26
|
"@types/js-cookie": "^3.0.6",
|
|
27
27
|
"@types/omgopass": "^3.2.3",
|
|
28
|
-
"@types/react": "^19.2.
|
|
29
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
30
|
-
"typescript": "
|
|
28
|
+
"@types/react": "^19.2.9",
|
|
29
|
+
"@typescript/native-preview": "^7.0.0-dev.20260122.3",
|
|
30
|
+
"typescript": "6.0.0-dev.20260122"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@ai-sdk/react": "^3.0.
|
|
33
|
+
"@ai-sdk/react": "^3.0.47",
|
|
34
34
|
"@better-upload/client": "^3.0.12",
|
|
35
35
|
"@better-upload/server": "^3.0.12",
|
|
36
36
|
"@codemirror/lang-json": "^6.0.2",
|
|
37
37
|
"@codemirror/lint": "^6.9.2",
|
|
38
|
-
"@mantine/core": "^8.3.
|
|
39
|
-
"@mantine/hooks": "^8.3.
|
|
40
|
-
"@mantine/notifications": "^8.3.
|
|
41
|
-
"@mantine/tiptap": "^8.3.
|
|
38
|
+
"@mantine/core": "^8.3.13",
|
|
39
|
+
"@mantine/hooks": "^8.3.13",
|
|
40
|
+
"@mantine/notifications": "^8.3.13",
|
|
41
|
+
"@mantine/tiptap": "^8.3.13",
|
|
42
42
|
"@nanostores/react": "^1.0.0",
|
|
43
43
|
"@tanstack/react-form": "^1.27.7",
|
|
44
44
|
"@tanstack/react-query": "^5.90.19",
|
|
45
|
-
"@tanstack/react-router": "^1.
|
|
46
|
-
"@tanstack/react-router-ssr-query": "^1.
|
|
47
|
-
"@tanstack/react-start": "^1.
|
|
48
|
-
"@tiptap/extension-highlight": "^3.
|
|
49
|
-
"@tiptap/extension-placeholder": "^3.
|
|
50
|
-
"@tiptap/extension-table": "^3.
|
|
51
|
-
"@tiptap/extension-task-item": "^3.
|
|
52
|
-
"@tiptap/extension-task-list": "^3.
|
|
53
|
-
"@tiptap/extension-text-align": "^3.
|
|
54
|
-
"@tiptap/react": "^3.
|
|
55
|
-
"@tiptap/starter-kit": "^3.
|
|
45
|
+
"@tanstack/react-router": "^1.154.7",
|
|
46
|
+
"@tanstack/react-router-ssr-query": "^1.154.7",
|
|
47
|
+
"@tanstack/react-start": "^1.154.7",
|
|
48
|
+
"@tiptap/extension-highlight": "^3.16.0",
|
|
49
|
+
"@tiptap/extension-placeholder": "^3.16.0",
|
|
50
|
+
"@tiptap/extension-table": "^3.16.0",
|
|
51
|
+
"@tiptap/extension-task-item": "^3.16.0",
|
|
52
|
+
"@tiptap/extension-task-list": "^3.16.0",
|
|
53
|
+
"@tiptap/extension-text-align": "^3.16.0",
|
|
54
|
+
"@tiptap/react": "^3.16.0",
|
|
55
|
+
"@tiptap/starter-kit": "^3.16.0",
|
|
56
56
|
"@uiw/codemirror-theme-vscode": "^4.25.4",
|
|
57
57
|
"@uiw/react-codemirror": "^4.25.4",
|
|
58
|
-
"ai": "^6.0.
|
|
58
|
+
"ai": "^6.0.45",
|
|
59
59
|
"clsx": "^2.1.1",
|
|
60
60
|
"js-cookie": "^3.0.5",
|
|
61
61
|
"mammoth": "^1.11.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"omgopass": "^3.2.1",
|
|
65
65
|
"react": "^19.2.3",
|
|
66
66
|
"react-dom": "^19.2.3",
|
|
67
|
-
"streamdown": "^2.0
|
|
67
|
+
"streamdown": "^2.1.0",
|
|
68
68
|
"surrealdb": "2.0.0-alpha.16",
|
|
69
69
|
"xlsx": "^0.18.5",
|
|
70
70
|
"zod": "^4.3.5"
|