@rolder/kit 3.0.0-alpha.4 → 3.0.0-alpha.5
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/dist/ai/ui/conversation/Root.js +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +10 -2
- package/dist/ui/error/index.d.ts +4 -4
- package/dist/ui/error/index.js +5 -4
- package/dist/ui/form/index.d.ts +2 -2
- package/dist/ui/form/index.js +3 -3
- package/dist/ui/hoverPaper/index.d.ts +2 -2
- package/dist/ui/hoverPaper/index.js +3 -2
- package/package.json +1 -1
- package/dist/ui/editor/styles.module.js +0 -7
- package/dist/ui/editor/styles_module.css +0 -16
- package/dist/ui/index.d.ts +0 -9
- package/dist/ui/index.js +0 -9
|
@@ -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,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** biome-ignore-all assist/source/organizeImports: <> */
|
|
1
2
|
export { Conversation, type ConversationProps, useChatMessage, } from './ai/ui/conversation';
|
|
2
3
|
export { type Accept, PromptInput, type PromptInputProps, } from './ai/ui/promptInput';
|
|
3
4
|
export { convertFileUIPartBlobToDataURL } from './ai/utils/convertFileUIPartBlobToDataURL';
|
|
@@ -14,4 +15,12 @@ export { getDB } from './surreal/connection';
|
|
|
14
15
|
export { surrealDeleteFn, surrealUnsubscribeFn } from './surreal/deafaultCrud';
|
|
15
16
|
export { deserialize } from './surreal/deserialize';
|
|
16
17
|
export { encryptionFn } from './surreal/encryption';
|
|
17
|
-
export
|
|
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
|
@@ -14,5 +14,13 @@ import { getDB } from "./surreal/connection.js";
|
|
|
14
14
|
import { surrealDeleteFn, surrealUnsubscribeFn } from "./surreal/deafaultCrud.js";
|
|
15
15
|
import { deserialize } from "./surreal/deserialize.js";
|
|
16
16
|
import { encryptionFn } from "./surreal/encryption.js";
|
|
17
|
-
|
|
18
|
-
|
|
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 };
|
package/dist/ui/error/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export { DefaultError } from './DefaultError';
|
|
2
|
+
export { DefaultNotFound } from './DefaultNotFound';
|
|
3
|
+
export { defaultErrorNotification } from './defaultErrorNotification';
|
|
4
|
+
export { Forbidden } from './Forbidden';
|
package/dist/ui/error/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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 };
|
package/dist/ui/form/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { blurOnError } from './blurOnError';
|
|
2
2
|
export { useAppForm, useFieldContext, withForm } from './context';
|
|
3
|
-
export
|
|
3
|
+
export { fieldsSchema } from './fieldsSchema';
|
package/dist/ui/form/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { blurOnError } from "./blurOnError.js";
|
|
1
2
|
import { useAppForm, useFieldContext, withForm } from "./context.js";
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export { useAppForm, useFieldContext, withForm };
|
|
3
|
+
import { fieldsSchema } from "./fieldsSchema.js";
|
|
4
|
+
export { blurOnError, fieldsSchema, useAppForm, useFieldContext, withForm };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { HoverPaper } from './HoverPaper';
|
|
2
|
+
export { usePaperHover } from './usePaperHover';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { HoverPaper } from "./HoverPaper.js";
|
|
2
|
+
import { usePaperHover } from "./usePaperHover.js";
|
|
3
|
+
export { HoverPaper, usePaperHover };
|
package/package.json
CHANGED
|
@@ -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
|
-
|
package/dist/ui/index.d.ts
DELETED
|
@@ -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";
|