@rolder/kit 3.0.0-alpha.1 → 3.0.0-alpha.11

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 (50) hide show
  1. package/dist/ai/ui/conversation/FileIcon.js +18 -18
  2. package/dist/ai/ui/conversation/Root.js +1 -1
  3. package/dist/ai/ui/conversation/index.d.ts +2 -2
  4. package/dist/ai/ui/conversation/index.js +2 -3
  5. package/dist/ai/ui/conversation/useChatMessage.js +1 -1
  6. package/dist/ai/ui/promptInput/File.js +6 -6
  7. package/dist/ai/ui/promptInput/FileIcon.js +18 -18
  8. package/dist/ai/ui/promptInput/Submit.js +3 -3
  9. package/dist/ai/ui/promptInput/index.d.ts +1 -1
  10. package/dist/ai/ui/promptInput/index.js +0 -1
  11. package/dist/app/AppDefaults.js +1 -1
  12. package/dist/app/DefaultApp.js +1 -1
  13. package/dist/app/cookieColorSchemeManager.js +1 -1
  14. package/dist/index.d.ts +26 -6
  15. package/dist/index.js +26 -6
  16. package/dist/ui/JsonInput.js +1 -1
  17. package/dist/ui/error/index.d.ts +4 -4
  18. package/dist/ui/error/index.js +5 -4
  19. package/dist/ui/form/fields/TextPassowrdField.js +3 -3
  20. package/dist/ui/form/index.d.ts +2 -2
  21. package/dist/ui/form/index.js +3 -3
  22. package/dist/ui/hoverPaper/index.d.ts +2 -2
  23. package/dist/ui/hoverPaper/index.js +3 -2
  24. package/package.json +39 -33
  25. package/dist/ai/index.d.ts +0 -2
  26. package/dist/ai/index.js +0 -2
  27. package/dist/ai/ui/index.d.ts +0 -2
  28. package/dist/ai/ui/index.js +0 -2
  29. package/dist/ai/utils/index.d.ts +0 -2
  30. package/dist/ai/utils/index.js +0 -2
  31. package/dist/app/index.d.ts +0 -3
  32. package/dist/app/index.js +0 -3
  33. package/dist/functions/cookies/index.d.ts +0 -3
  34. package/dist/functions/cookies/index.js +0 -3
  35. package/dist/functions/index.d.ts +0 -1
  36. package/dist/functions/index.js +0 -1
  37. package/dist/hooks/index.d.ts +0 -2
  38. package/dist/hooks/index.js +0 -2
  39. package/dist/surreal/index.d.ts +0 -4
  40. package/dist/surreal/index.js +0 -5
  41. package/dist/ui/editor/styles.module.js +0 -7
  42. package/dist/ui/editor/styles_module.css +0 -16
  43. package/dist/ui/index.d.ts +0 -9
  44. package/dist/ui/index.js +0 -9
  45. /package/dist/functions/{cookies/getCookie.d.ts → getCookie.d.ts} +0 -0
  46. /package/dist/functions/{cookies/getCookie.js → getCookie.js} +0 -0
  47. /package/dist/functions/{cookies/setCookie.d.ts → setCookie.d.ts} +0 -0
  48. /package/dist/functions/{cookies/setCookie.js → setCookie.js} +0 -0
  49. /package/dist/functions/{cookies/setCookies.d.ts → setCookies.d.ts} +0 -0
  50. /package/dist/functions/{cookies/setCookies.js → setCookies.js} +0 -0
@@ -9,9 +9,9 @@ const FileIcon = ({ mimeType })=>{
9
9
  viewBox: "0 0 36 36",
10
10
  fill: "none",
11
11
  stroke: "var(--mantine-color-text)",
12
- "stroke-width": "1.5",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
12
+ strokeWidth: "1.5",
13
+ strokeLinecap: "round",
14
+ strokeLinejoin: "round",
15
15
  role: "img",
16
16
  "aria-label": "Image",
17
17
  children: [
@@ -42,9 +42,9 @@ const FileIcon = ({ mimeType })=>{
42
42
  viewBox: "0 0 36 36",
43
43
  fill: "none",
44
44
  stroke: "var(--mantine-color-text)",
45
- "stroke-width": "1.5",
46
- "stroke-linecap": "round",
47
- "stroke-linejoin": "round",
45
+ strokeWidth: "1.5",
46
+ strokeLinecap: "round",
47
+ strokeLinejoin: "round",
48
48
  role: "img",
49
49
  "aria-label": "FilePdf",
50
50
  children: [
@@ -81,9 +81,9 @@ const FileIcon = ({ mimeType })=>{
81
81
  viewBox: "0 0 36 36",
82
82
  fill: "none",
83
83
  stroke: "var(--mantine-color-text)",
84
- "stroke-width": "1.5",
85
- "stroke-linecap": "round",
86
- "stroke-linejoin": "round",
84
+ strokeWidth: "1.5",
85
+ strokeLinecap: "round",
86
+ strokeLinejoin: "round",
87
87
  role: "img",
88
88
  "aria-label": "FileDoc",
89
89
  children: [
@@ -117,9 +117,9 @@ const FileIcon = ({ mimeType })=>{
117
117
  viewBox: "0 0 36 36",
118
118
  fill: "none",
119
119
  stroke: "var(--mantine-color-text)",
120
- "stroke-width": "1.5",
121
- "stroke-linecap": "round",
122
- "stroke-linejoin": "round",
120
+ strokeWidth: "1.5",
121
+ strokeLinecap: "round",
122
+ strokeLinejoin: "round",
123
123
  role: "img",
124
124
  "aria-label": "FileXls",
125
125
  children: [
@@ -156,9 +156,9 @@ const FileIcon = ({ mimeType })=>{
156
156
  viewBox: "0 0 36 36",
157
157
  fill: "none",
158
158
  stroke: "var(--mantine-color-text)",
159
- "stroke-width": "1.5",
160
- "stroke-linecap": "round",
161
- "stroke-linejoin": "round",
159
+ strokeWidth: "1.5",
160
+ strokeLinecap: "round",
161
+ strokeLinejoin: "round",
162
162
  role: "img",
163
163
  "aria-label": "FilePpt",
164
164
  children: [
@@ -198,9 +198,9 @@ const FileIcon = ({ mimeType })=>{
198
198
  viewBox: "0 0 36 36",
199
199
  fill: "none",
200
200
  stroke: "var(--mantine-color-text)",
201
- "stroke-width": "1.5",
202
- "stroke-linecap": "round",
203
- "stroke-linejoin": "round",
201
+ strokeWidth: "1.5",
202
+ strokeLinecap: "round",
203
+ strokeLinejoin: "round",
204
204
  role: "img",
205
205
  "aria-label": "File",
206
206
  children: [
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Paper, Stack } from "@mantine/core";
3
- import { ScrollArea } from "../../../ui/index.js";
3
+ import { ScrollArea } from "../../../ui/scrollArea/index.js";
4
4
  import { Provider } from "./ConversationProvider.js";
5
5
  const Root = ({ children, loading, streaming, empty, ...props })=>/*#__PURE__*/ jsx(Provider, {
6
6
  loading: loading,
@@ -1,5 +1,5 @@
1
- export * from './types';
2
- export * from './useChatMessage';
1
+ export type { ConversationProps } from './types';
2
+ export { useChatMessage } from './useChatMessage';
3
3
  export declare const Conversation: {
4
4
  Root: ({ children, loading, streaming, empty, ...props }: import("./types").ConversationProps) => import("react/jsx-runtime").JSX.Element;
5
5
  Message: <T extends import("ai").UIMessage>({ message }: {
@@ -3,8 +3,7 @@ import { File } from "./File.js";
3
3
  import { Loader } from "./Loader.js";
4
4
  import { Message } from "./Message.js";
5
5
  import { Root } from "./Root.js";
6
- export * from "./types.js";
7
- export * from "./useChatMessage.js";
6
+ import { useChatMessage } from "./useChatMessage.js";
8
7
  const Conversation = {
9
8
  Root: Root,
10
9
  Message: Message,
@@ -12,4 +11,4 @@ const Conversation = {
12
11
  Loader: Loader,
13
12
  Empty: Empty
14
13
  };
15
- export { Conversation };
14
+ export { Conversation, useChatMessage };
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useState } from "react";
2
- import { parseAiMessagePart } from "../../utils/index.js";
2
+ import { parseAiMessagePart } from "../../utils/parseAiMessagePart.js";
3
3
  const useChatMessage = (part)=>{
4
4
  const [parsedText, setParsedText] = useState('');
5
5
  useEffect(()=>{
@@ -32,9 +32,9 @@ const File = (props)=>{
32
32
  viewBox: "0 0 24 24",
33
33
  fill: "none",
34
34
  stroke: "currentColor",
35
- "stroke-width": "1.5",
36
- "stroke-linecap": "round",
37
- "stroke-linejoin": "round",
35
+ strokeWidth: "1.5",
36
+ strokeLinecap: "round",
37
+ strokeLinejoin: "round",
38
38
  role: "img",
39
39
  "aria-label": "Paperclip",
40
40
  children: [
@@ -79,9 +79,9 @@ const File = (props)=>{
79
79
  viewBox: "0 0 24 24",
80
80
  fill: "none",
81
81
  stroke: "currentColor",
82
- "stroke-width": "1.5",
83
- "stroke-linecap": "round",
84
- "stroke-linejoin": "round",
82
+ strokeWidth: "1.5",
83
+ strokeLinecap: "round",
84
+ strokeLinejoin: "round",
85
85
  role: "img",
86
86
  "aria-label": "Trash",
87
87
  children: [
@@ -9,9 +9,9 @@ const FileIcon = ({ mimeType })=>{
9
9
  viewBox: "0 0 24 24",
10
10
  fill: "none",
11
11
  stroke: "var(--mantine-color-dimmed)",
12
- "stroke-width": "1.5",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
12
+ strokeWidth: "1.5",
13
+ strokeLinecap: "round",
14
+ strokeLinejoin: "round",
15
15
  role: "img",
16
16
  "aria-label": "Image",
17
17
  children: [
@@ -42,9 +42,9 @@ const FileIcon = ({ mimeType })=>{
42
42
  viewBox: "0 0 24 24",
43
43
  fill: "none",
44
44
  stroke: "var(--mantine-color-dimmed)",
45
- "stroke-width": "1.5",
46
- "stroke-linecap": "round",
47
- "stroke-linejoin": "round",
45
+ strokeWidth: "1.5",
46
+ strokeLinecap: "round",
47
+ strokeLinejoin: "round",
48
48
  role: "img",
49
49
  "aria-label": "FilePdf",
50
50
  children: [
@@ -81,9 +81,9 @@ const FileIcon = ({ mimeType })=>{
81
81
  viewBox: "0 0 24 24",
82
82
  fill: "none",
83
83
  stroke: "var(--mantine-color-dimmed)",
84
- "stroke-width": "1.5",
85
- "stroke-linecap": "round",
86
- "stroke-linejoin": "round",
84
+ strokeWidth: "1.5",
85
+ strokeLinecap: "round",
86
+ strokeLinejoin: "round",
87
87
  role: "img",
88
88
  "aria-label": "FileDoc",
89
89
  children: [
@@ -117,9 +117,9 @@ const FileIcon = ({ mimeType })=>{
117
117
  viewBox: "0 0 24 24",
118
118
  fill: "none",
119
119
  stroke: "var(--mantine-color-dimmed)",
120
- "stroke-width": "1.5",
121
- "stroke-linecap": "round",
122
- "stroke-linejoin": "round",
120
+ strokeWidth: "1.5",
121
+ strokeLinecap: "round",
122
+ strokeLinejoin: "round",
123
123
  role: "img",
124
124
  "aria-label": "FileXls",
125
125
  children: [
@@ -156,9 +156,9 @@ const FileIcon = ({ mimeType })=>{
156
156
  viewBox: "0 0 24 24",
157
157
  fill: "none",
158
158
  stroke: "var(--mantine-color-dimmed)",
159
- "stroke-width": "1.5",
160
- "stroke-linecap": "round",
161
- "stroke-linejoin": "round",
159
+ strokeWidth: "1.5",
160
+ strokeLinecap: "round",
161
+ strokeLinejoin: "round",
162
162
  role: "img",
163
163
  "aria-label": "FilePpt",
164
164
  children: [
@@ -198,9 +198,9 @@ const FileIcon = ({ mimeType })=>{
198
198
  viewBox: "0 0 24 24",
199
199
  fill: "none",
200
200
  stroke: "var(--mantine-color-dimmed)",
201
- "stroke-width": "1.5",
202
- "stroke-linecap": "round",
203
- "stroke-linejoin": "round",
201
+ strokeWidth: "1.5",
202
+ strokeLinecap: "round",
203
+ strokeLinejoin: "round",
204
204
  role: "img",
205
205
  "aria-label": "File",
206
206
  children: [
@@ -9,9 +9,9 @@ const Submit = ({ children, ...props })=>{
9
9
  viewBox: "0 0 24 24",
10
10
  fill: "none",
11
11
  stroke: "currentColor",
12
- "stroke-width": "1.5",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
12
+ strokeWidth: "1.5",
13
+ strokeLinecap: "round",
14
+ strokeLinejoin: "round",
15
15
  role: "img",
16
16
  "aria-label": "Submit",
17
17
  children: [
@@ -1,4 +1,4 @@
1
- export * from './types';
1
+ export type { Accept, PromptInputProps } from './types';
2
2
  export declare const PromptInput: {
3
3
  Root: ({ className, onSubmit, submiting, uploading, accept, ...props }: import("@mantine/core").PaperProps & import("./types").PromptInputProps) => import("react/jsx-runtime").JSX.Element;
4
4
  Textarea: (props: import("@mantine/core").TextareaProps) => import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,6 @@ import { Footer } from "./Footer.js";
3
3
  import { Root } from "./Root.js";
4
4
  import { Submit } from "./Submit.js";
5
5
  import { Textarea } from "./Textarea.js";
6
- export * from "./types.js";
7
6
  const PromptInput = {
8
7
  Root: Root,
9
8
  Textarea: Textarea,
@@ -1,6 +1,6 @@
1
1
  import { useComputedColorScheme } from "@mantine/core";
2
2
  import { useEffect } from "react";
3
- import { setCookies } from "../functions/index.js";
3
+ import { setCookies } from "../functions/setCookies.js";
4
4
  const AppDefaults = ({ saveColorScheme })=>{
5
5
  const colorScheme = useComputedColorScheme();
6
6
  useEffect(()=>{
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { ColorSchemeScript, MantineProvider } from "@mantine/core";
3
3
  import { HeadContent, Scripts } from "@tanstack/react-router";
4
- import { getCookie } from "../functions/index.js";
4
+ import { getCookie } from "../functions/getCookie.js";
5
5
  import { AppDefaults } from "./AppDefaults.js";
6
6
  import { cookieColorSchemeManager } from "./cookieColorSchemeManager.js";
7
7
  import { defaultTheme } from "./defaultTheme.js";
@@ -1,6 +1,6 @@
1
1
  import { isMantineColorScheme } from "@mantine/core";
2
2
  import { atom } from "nanostores";
3
- import { setCookie } from "../functions/index.js";
3
+ import { setCookie } from "../functions/setCookie.js";
4
4
  const $colorScheme = atom();
5
5
  let unsubscribeSystemTheme;
6
6
  const cookieColorSchemeManager = ({ key = 'colorScheme' } = {})=>({
package/dist/index.d.ts CHANGED
@@ -1,6 +1,26 @@
1
- export * from './ai';
2
- export * from './app';
3
- export * from './functions';
4
- export * from './hooks';
5
- export * from './surreal';
6
- export * from './ui';
1
+ /** biome-ignore-all assist/source/organizeImports: <> */
2
+ export { Conversation, type ConversationProps, useChatMessage, } from './ai/ui/conversation';
3
+ export { type Accept, PromptInput, type PromptInputProps, } from './ai/ui/promptInput';
4
+ export { convertFileUIPartBlobToDataURL } from './ai/utils/convertFileUIPartBlobToDataURL';
5
+ export { parseAiMessagePart } from './ai/utils/parseAiMessagePart';
6
+ export { DefaultApp } from './app/DefaultApp';
7
+ export { defaultRequestMiddlewares } from './app/defaultRequestMiddlewares';
8
+ export { defaultTheme } from './app/defaultTheme';
9
+ export { getCookie } from './functions/getCookie';
10
+ export { setCookie } from './functions/setCookie';
11
+ export { setCookies } from './functions/setCookies';
12
+ export { useMutation } from './hooks/useMutation';
13
+ export { useMutationWithInvalidate } from './hooks/useMutationWithInvalidate';
14
+ export { getDB } from './surreal/connection';
15
+ export { surrealDeleteFn, surrealUnsubscribeFn } from './surreal/deafaultCrud';
16
+ export { deserialize } from './surreal/deserialize';
17
+ export { encryptionFn } from './surreal/encryption';
18
+ export { Editor, useEditor } from './ui/editor';
19
+ export { DefaultError, DefaultNotFound, defaultErrorNotification, Forbidden, } from './ui/error';
20
+ export { AnimatedChevron } from './ui/AnimatedChevron';
21
+ export { useAppForm, useFieldContext, withForm, blurOnError, fieldsSchema, } from './ui/form';
22
+ export { HoverPaper, usePaperHover } from './ui/hoverPaper';
23
+ export { JsonInput } from './ui/JsonInput';
24
+ export { RouterLink } from './ui/RouterLink';
25
+ export { SaveInput } from './ui/saveInput';
26
+ export { ScrollArea, useScrollArea, type ScrollAreaContextValue, type ScrollAreaHook, type ScrollAreaProps, type ScrollAreaState, type ScrollButtonProps, type ScrollPosition, } from './ui/scrollArea';
package/dist/index.js CHANGED
@@ -1,6 +1,26 @@
1
- export * from "./ai/index.js";
2
- export * from "./app/index.js";
3
- export * from "./functions/index.js";
4
- export * from "./hooks/index.js";
5
- export * from "./surreal/index.js";
6
- export * from "./ui/index.js";
1
+ import { Conversation, useChatMessage } from "./ai/ui/conversation/index.js";
2
+ import { PromptInput } from "./ai/ui/promptInput/index.js";
3
+ import { convertFileUIPartBlobToDataURL } from "./ai/utils/convertFileUIPartBlobToDataURL.js";
4
+ import { parseAiMessagePart } from "./ai/utils/parseAiMessagePart.js";
5
+ import { DefaultApp } from "./app/DefaultApp.js";
6
+ import { defaultRequestMiddlewares } from "./app/defaultRequestMiddlewares.js";
7
+ import { defaultTheme } from "./app/defaultTheme.js";
8
+ import { getCookie } from "./functions/getCookie.js";
9
+ import { setCookie } from "./functions/setCookie.js";
10
+ import { setCookies } from "./functions/setCookies.js";
11
+ import { useMutation } from "./hooks/useMutation.js";
12
+ import { useMutationWithInvalidate } from "./hooks/useMutationWithInvalidate.js";
13
+ import { getDB } from "./surreal/connection.js";
14
+ import { surrealDeleteFn, surrealUnsubscribeFn } from "./surreal/deafaultCrud.js";
15
+ import { deserialize } from "./surreal/deserialize.js";
16
+ import { encryptionFn } from "./surreal/encryption.js";
17
+ import { Editor, useEditor } from "./ui/editor/index.js";
18
+ import { DefaultError, DefaultNotFound, Forbidden, defaultErrorNotification } from "./ui/error/index.js";
19
+ import { AnimatedChevron } from "./ui/AnimatedChevron.js";
20
+ import { blurOnError, fieldsSchema, useAppForm, useFieldContext, withForm } from "./ui/form/index.js";
21
+ import { HoverPaper, usePaperHover } from "./ui/hoverPaper/index.js";
22
+ import { JsonInput } from "./ui/JsonInput.js";
23
+ import { RouterLink } from "./ui/RouterLink.js";
24
+ import { SaveInput } from "./ui/saveInput/index.js";
25
+ import { ScrollArea, useScrollArea } from "./ui/scrollArea/index.js";
26
+ export { AnimatedChevron, Conversation, DefaultApp, DefaultError, DefaultNotFound, Editor, Forbidden, HoverPaper, JsonInput, PromptInput, RouterLink, SaveInput, ScrollArea, blurOnError, convertFileUIPartBlobToDataURL, defaultErrorNotification, defaultRequestMiddlewares, defaultTheme, deserialize, encryptionFn, fieldsSchema, getCookie, getDB, parseAiMessagePart, setCookie, setCookies, surrealDeleteFn, surrealUnsubscribeFn, useAppForm, useChatMessage, useEditor, useFieldContext, useMutation, useMutationWithInvalidate, usePaperHover, useScrollArea, withForm };
@@ -5,7 +5,7 @@ import { linter } from "@codemirror/lint";
5
5
  import { keymap } from "@codemirror/view";
6
6
  import { vscodeDark, vscodeLight } from "@uiw/codemirror-theme-vscode";
7
7
  import react_codemirror from "@uiw/react-codemirror";
8
- import { getCookie } from "../functions/index.js";
8
+ import { getCookie } from "../functions/getCookie.js";
9
9
  const formatJson = (view)=>{
10
10
  try {
11
11
  const text = view.state.doc.toString();
@@ -1,4 +1,4 @@
1
- export * from './DefaultError';
2
- export * from './DefaultNotFound';
3
- export * from './defaultErrorNotification';
4
- export * from './Forbidden';
1
+ export { DefaultError } from './DefaultError';
2
+ export { DefaultNotFound } from './DefaultNotFound';
3
+ export { defaultErrorNotification } from './defaultErrorNotification';
4
+ export { Forbidden } from './Forbidden';
@@ -1,4 +1,5 @@
1
- export * from "./DefaultError.js";
2
- export * from "./DefaultNotFound.js";
3
- export * from "./defaultErrorNotification.js";
4
- export * from "./Forbidden.js";
1
+ import { DefaultError } from "./DefaultError.js";
2
+ import { DefaultNotFound } from "./DefaultNotFound.js";
3
+ import { defaultErrorNotification } from "./defaultErrorNotification.js";
4
+ import { Forbidden } from "./Forbidden.js";
5
+ export { DefaultError, DefaultNotFound, Forbidden, defaultErrorNotification };
@@ -20,9 +20,9 @@ const TextPassowrdField = (props)=>{
20
20
  viewBox: "0 0 16 16",
21
21
  fill: "none",
22
22
  stroke: "currentColor",
23
- "stroke-width": "2",
24
- "stroke-linecap": "round",
25
- "stroke-linejoin": "round",
23
+ strokeWidth: "2",
24
+ strokeLinecap: "round",
25
+ strokeLinejoin: "round",
26
26
  role: "img",
27
27
  "aria-label": "Refresh",
28
28
  children: [
@@ -1,3 +1,3 @@
1
- export * from './blurOnError';
1
+ export { blurOnError } from './blurOnError';
2
2
  export { useAppForm, useFieldContext, withForm } from './context';
3
- export * from './fieldsSchema';
3
+ export { fieldsSchema } from './fieldsSchema';
@@ -1,4 +1,4 @@
1
+ import { blurOnError } from "./blurOnError.js";
1
2
  import { useAppForm, useFieldContext, withForm } from "./context.js";
2
- export * from "./blurOnError.js";
3
- export * from "./fieldsSchema.js";
4
- export { useAppForm, useFieldContext, withForm };
3
+ import { fieldsSchema } from "./fieldsSchema.js";
4
+ export { blurOnError, fieldsSchema, useAppForm, useFieldContext, withForm };
@@ -1,2 +1,2 @@
1
- export * from './HoverPaper';
2
- export * from './usePaperHover';
1
+ export { HoverPaper } from './HoverPaper';
2
+ export { usePaperHover } from './usePaperHover';
@@ -1,2 +1,3 @@
1
- export * from "./HoverPaper.js";
2
- export * from "./usePaperHover.js";
1
+ import { HoverPaper } from "./HoverPaper.js";
2
+ import { usePaperHover } from "./usePaperHover.js";
3
+ export { HoverPaper, usePaperHover };
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "@rolder/kit",
3
- "version": "3.0.0-alpha.1",
3
+ "version": "3.0.0-alpha.11",
4
4
  "type": "module",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
5
8
  "exports": {
6
9
  ".": {
7
10
  "types": "./dist/index.d.ts",
8
11
  "import": "./dist/index.js"
9
- }
12
+ },
13
+ "./styles.css": "./dist/styles.css"
10
14
  },
15
+ "sideEffects": [
16
+ "*.css"
17
+ ],
11
18
  "files": [
12
19
  "dist"
13
20
  ],
@@ -25,40 +32,39 @@
25
32
  "@types/omgopass": "^3.2.3",
26
33
  "@types/react": "^19.2.8",
27
34
  "react": "^19.2.3",
28
- "typescript": "^5.9.3",
29
- "@tabler/icons": "^3.36.1"
35
+ "typescript": "^5.9.3"
30
36
  },
31
37
  "peerDependencies": {
32
- "react": ">=16.9.0",
33
- "react-dom": ">=16.9.0",
34
- "clsx": "^2.1.1",
35
- "@tiptap/extension-highlight": "^3.15.3",
36
- "@tiptap/extension-placeholder": "^3.15.3",
37
- "@tiptap/extension-table": "^3.15.3",
38
- "@tiptap/extension-task-item": "^3.15.3",
39
- "@tiptap/extension-task-list": "^3.15.3",
40
- "@tiptap/extension-text-align": "^3.15.3",
41
- "@tiptap/starter-kit": "^3.15.3",
42
- "@codemirror/lang-json": "^6.0.2",
43
- "@codemirror/lint": "^6.9.2",
44
- "@uiw/codemirror-theme-vscode": "^4.25.4",
45
- "@uiw/react-codemirror": "^4.25.4",
46
- "@mantine/core": "^8.3.11",
47
- "@mantine/hooks": "^8.3.11",
48
- "@mantine/tiptap": "^8.3.11",
49
- "@mantine/notifications": "^8.3.11",
50
- "@tanstack/react-router": "1.147.3",
51
- "@tanstack/react-form": "1.27.7",
52
- "@tanstack/react-start": "^1.149.1",
53
- "@tanstack/react-query": "^5.90.16",
54
- "@tanstack/react-router-ssr-query": "^1.147.3",
55
- "zod": "^4.3.5",
56
- "js-cookie": "^3.0.5",
57
- "nanostores": "^1.1.0",
38
+ "react": "^19.x",
39
+ "react-dom": "^19.x",
40
+ "clsx": "^2.x",
41
+ "@tiptap/extension-highlight": "^3.x",
42
+ "@tiptap/extension-placeholder": "^3.x",
43
+ "@tiptap/extension-table": "^3.x",
44
+ "@tiptap/extension-task-item": "^3.x",
45
+ "@tiptap/extension-task-list": "^3.x",
46
+ "@tiptap/extension-text-align": "^3.x",
47
+ "@tiptap/starter-kit": "^3.x",
48
+ "@codemirror/lang-json": "^6.x",
49
+ "@codemirror/lint": "^6.x",
50
+ "@uiw/codemirror-theme-vscode": "^4.x",
51
+ "@uiw/react-codemirror": "^4.x",
52
+ "@mantine/core": "^8.x",
53
+ "@mantine/hooks": "^8.x",
54
+ "@mantine/tiptap": "^8.x",
55
+ "@mantine/notifications": "^8.x",
56
+ "@tanstack/react-router": "^1.x",
57
+ "@tanstack/react-form": "^1.x",
58
+ "@tanstack/react-start": "^1.x",
59
+ "@tanstack/react-query": "^5.x",
60
+ "@tanstack/react-router-ssr-query": "^1.x",
61
+ "zod": "^4.x",
62
+ "js-cookie": "^3.x",
63
+ "nanostores": "^1.x",
58
64
  "surrealdb": "^2.0.0-alpha.16",
59
- "omgopass": "^3.2.1",
60
- "ai": "^6.0.31",
61
- "streamdown": "^2.0.1"
65
+ "omgopass": "^3.x",
66
+ "ai": "^6.x",
67
+ "streamdown": "^2.x"
62
68
  },
63
69
  "trustedDependencies": [
64
70
  "core-js",
@@ -1,2 +0,0 @@
1
- export * from './ui';
2
- export * from './utils';
package/dist/ai/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from "./ui/index.js";
2
- export * from "./utils/index.js";
@@ -1,2 +0,0 @@
1
- export * from './conversation';
2
- export * from './promptInput';
@@ -1,2 +0,0 @@
1
- export * from "./conversation/index.js";
2
- export * from "./promptInput/index.js";
@@ -1,2 +0,0 @@
1
- export * from './convertFileUIPartBlobToDataURL';
2
- export * from './parseAiMessagePart';
@@ -1,2 +0,0 @@
1
- export * from "./convertFileUIPartBlobToDataURL.js";
2
- export * from "./parseAiMessagePart.js";
@@ -1,3 +0,0 @@
1
- export * from './DefaultApp';
2
- export * from './defaultRequestMiddlewares';
3
- export * from './defaultTheme';
package/dist/app/index.js DELETED
@@ -1,3 +0,0 @@
1
- export * from "./DefaultApp.js";
2
- export * from "./defaultRequestMiddlewares.js";
3
- export * from "./defaultTheme.js";
@@ -1,3 +0,0 @@
1
- export * from './getCookie';
2
- export * from './setCookie';
3
- export * from './setCookies';
@@ -1,3 +0,0 @@
1
- export * from "./getCookie.js";
2
- export * from "./setCookie.js";
3
- export * from "./setCookies.js";
@@ -1 +0,0 @@
1
- export * from './cookies';
@@ -1 +0,0 @@
1
- export * from "./cookies/index.js";
@@ -1,2 +0,0 @@
1
- export * from './useMutation';
2
- export * from './useMutationWithInvalidate';
@@ -1,2 +0,0 @@
1
- export * from "./useMutation.js";
2
- export * from "./useMutationWithInvalidate.js";
@@ -1,4 +0,0 @@
1
- export { getDB } from './connection';
2
- export * from './deafaultCrud';
3
- export { deserialize } from './deserialize';
4
- export { encryptionFn } from './encryption';
@@ -1,5 +0,0 @@
1
- import { getDB } from "./connection.js";
2
- import { deserialize } from "./deserialize.js";
3
- import { encryptionFn } from "./encryption.js";
4
- export * from "./deafaultCrud.js";
5
- export { deserialize, encryptionFn, getDB };
@@ -1,7 +0,0 @@
1
- import "./styles_module.css";
2
- const styles_module = {
3
- root: "root-OYYJgs",
4
- content: "content-b5nnhz",
5
- toolbar: "toolbar-RksEGD"
6
- };
7
- export { styles_module as default };
@@ -1,16 +0,0 @@
1
- .root-OYYJgs {
2
- --editor-border-color: light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
3
- border: rem(1px) solid var(--editor-border-color);
4
- border-radius: var(--mantine-radius-md);
5
- }
6
-
7
- .content-b5nnhz {
8
- border-radius: var(--mantine-radius-md);
9
- }
10
-
11
- .toolbar-RksEGD {
12
- border-color: var(--editor-border-color);
13
- border-top-left-radius: var(--mantine-radius-md);
14
- border-top-right-radius: var(--mantine-radius-md);
15
- }
16
-
@@ -1,9 +0,0 @@
1
- export * from './AnimatedChevron';
2
- export * from './editor';
3
- export * from './error';
4
- export * from './form';
5
- export * from './hoverPaper';
6
- export * from './JsonInput';
7
- export * from './RouterLink';
8
- export * from './saveInput';
9
- export * from './scrollArea';
package/dist/ui/index.js DELETED
@@ -1,9 +0,0 @@
1
- export * from "./AnimatedChevron.js";
2
- export * from "./editor/index.js";
3
- export * from "./error/index.js";
4
- export * from "./form/index.js";
5
- export * from "./hoverPaper/index.js";
6
- export * from "./JsonInput.js";
7
- export * from "./RouterLink.js";
8
- export * from "./saveInput/index.js";
9
- export * from "./scrollArea/index.js";