@rolder/kit 3.0.0-alpha.17 → 3.0.0-alpha.18

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 (167) hide show
  1. package/dist/ai/index.d.ts +2 -0
  2. package/dist/ai/index.js +2 -0
  3. package/dist/ai/ui/conversation/ConversationContext.d.ts +7 -0
  4. package/dist/ai/ui/conversation/ConversationContext.js +8 -0
  5. package/dist/ai/ui/conversation/ConversationProvider.d.ts +2 -0
  6. package/dist/ai/ui/conversation/ConversationProvider.js +14 -0
  7. package/dist/ai/ui/conversation/Empty.d.ts +1 -0
  8. package/dist/ai/ui/conversation/Empty.js +21 -0
  9. package/dist/ai/ui/conversation/File.d.ts +4 -0
  10. package/dist/ai/ui/conversation/File.js +42 -0
  11. package/dist/ai/ui/conversation/FileIcon.d.ts +3 -0
  12. package/dist/ai/ui/conversation/FileIcon.js +43 -0
  13. package/dist/ai/ui/conversation/Loader.d.ts +2 -0
  14. package/dist/ai/ui/conversation/Loader.js +12 -0
  15. package/dist/ai/ui/conversation/Message.d.ts +4 -0
  16. package/dist/ai/ui/conversation/Message.js +25 -0
  17. package/dist/ai/ui/conversation/Root.d.ts +2 -0
  18. package/dist/ai/ui/conversation/Root.js +26 -0
  19. package/dist/ai/ui/conversation/index.d.ts +13 -0
  20. package/dist/ai/ui/conversation/index.js +15 -0
  21. package/dist/ai/ui/conversation/types.d.ts +7 -0
  22. package/dist/ai/ui/conversation/types.js +0 -0
  23. package/dist/ai/ui/conversation/useChatMessage.d.ts +2 -0
  24. package/dist/ai/ui/conversation/useChatMessage.js +12 -0
  25. package/dist/ai/ui/index.d.ts +2 -0
  26. package/dist/ai/ui/index.js +2 -0
  27. package/dist/ai/ui/promptInput/File.d.ts +2 -0
  28. package/dist/ai/ui/promptInput/File.js +68 -0
  29. package/dist/ai/ui/promptInput/FileIcon.d.ts +3 -0
  30. package/dist/ai/ui/promptInput/FileIcon.js +43 -0
  31. package/dist/ai/ui/promptInput/Footer.d.ts +2 -0
  32. package/dist/ai/ui/promptInput/Footer.js +8 -0
  33. package/dist/ai/ui/promptInput/PromptInputContext.d.ts +12 -0
  34. package/dist/ai/ui/promptInput/PromptInputContext.js +8 -0
  35. package/dist/ai/ui/promptInput/PromptInputProvider.d.ts +2 -0
  36. package/dist/ai/ui/promptInput/PromptInputProvider.js +50 -0
  37. package/dist/ai/ui/promptInput/Root.d.ts +3 -0
  38. package/dist/ai/ui/promptInput/Root.js +17 -0
  39. package/dist/ai/ui/promptInput/Submit.d.ts +2 -0
  40. package/dist/ai/ui/promptInput/Submit.js +21 -0
  41. package/dist/ai/ui/promptInput/Textarea.d.ts +2 -0
  42. package/dist/ai/ui/promptInput/Textarea.js +33 -0
  43. package/dist/ai/ui/promptInput/index.d.ts +8 -0
  44. package/dist/ai/ui/promptInput/index.js +14 -0
  45. package/dist/ai/ui/promptInput/types.d.ts +11 -0
  46. package/dist/ai/ui/promptInput/types.js +0 -0
  47. package/dist/ai/utils/convertFileUIPartBlobToDataURL.d.ts +5 -0
  48. package/dist/ai/utils/convertFileUIPartBlobToDataURL.js +21 -0
  49. package/dist/ai/utils/index.d.ts +2 -0
  50. package/dist/ai/utils/index.js +2 -0
  51. package/dist/ai/utils/parseAiMessagePart.d.ts +2 -0
  52. package/dist/ai/utils/parseAiMessagePart.js +12 -0
  53. package/dist/app/defaultTheme.d.ts +1 -1
  54. package/dist/hooks/index.d.ts +2 -0
  55. package/dist/hooks/index.js +2 -0
  56. package/dist/hooks/useMutation.d.ts +4 -0
  57. package/dist/hooks/useMutation.js +8 -0
  58. package/dist/hooks/useMutationWithInvalidate.d.ts +4 -0
  59. package/dist/hooks/useMutationWithInvalidate.js +16 -0
  60. package/dist/index.d.ts +3 -0
  61. package/dist/index.js +3 -0
  62. package/dist/styles.css +74 -0
  63. package/dist/ui/AnimatedChevron.d.ts +6 -0
  64. package/dist/ui/AnimatedChevron.js +13 -0
  65. package/dist/ui/JsonInput.d.ts +2 -0
  66. package/dist/ui/JsonInput.js +45 -0
  67. package/dist/ui/RouterLink.d.ts +16 -0
  68. package/dist/ui/RouterLink.js +36 -0
  69. package/dist/ui/editor/Content.d.ts +3 -0
  70. package/dist/ui/editor/Content.js +13 -0
  71. package/dist/ui/editor/Provider.d.ts +17 -0
  72. package/dist/ui/editor/Provider.js +80 -0
  73. package/dist/ui/editor/Root.d.ts +2 -0
  74. package/dist/ui/editor/Root.js +18 -0
  75. package/dist/ui/editor/Toolbar.d.ts +5 -0
  76. package/dist/ui/editor/Toolbar.js +138 -0
  77. package/dist/ui/editor/index.d.ts +12 -0
  78. package/dist/ui/editor/index.js +11 -0
  79. package/dist/ui/editor/types.d.ts +7 -0
  80. package/dist/ui/editor/types.js +0 -0
  81. package/dist/ui/error/DefaultError.d.ts +2 -0
  82. package/dist/ui/error/DefaultError.js +62 -0
  83. package/dist/ui/error/DefaultNotFound.d.ts +1 -0
  84. package/dist/ui/error/DefaultNotFound.js +37 -0
  85. package/dist/ui/error/Forbidden.d.ts +1 -0
  86. package/dist/ui/error/Forbidden.js +32 -0
  87. package/dist/ui/error/defaultErrorNotification.d.ts +1 -0
  88. package/dist/ui/error/defaultErrorNotification.js +8 -0
  89. package/dist/ui/error/index.d.ts +4 -0
  90. package/dist/ui/error/index.js +5 -0
  91. package/dist/ui/form/blurOnError.d.ts +4 -0
  92. package/dist/ui/form/blurOnError.js +11 -0
  93. package/dist/ui/form/buttons/CancelButton.d.ts +5 -0
  94. package/dist/ui/form/buttons/CancelButton.js +22 -0
  95. package/dist/ui/form/buttons/SubmitButton.d.ts +5 -0
  96. package/dist/ui/form/buttons/SubmitButton.js +22 -0
  97. package/dist/ui/form/buttons/SubscribeActionIcon.d.ts +4 -0
  98. package/dist/ui/form/buttons/SubscribeActionIcon.js +15 -0
  99. package/dist/ui/form/buttons/SubscribeButton.d.ts +5 -0
  100. package/dist/ui/form/buttons/SubscribeButton.js +16 -0
  101. package/dist/ui/form/buttons/index.d.ts +4 -0
  102. package/dist/ui/form/buttons/index.js +4 -0
  103. package/dist/ui/form/context.d.ts +83 -0
  104. package/dist/ui/form/context.js +26 -0
  105. package/dist/ui/form/fields/JsonField.d.ts +2 -0
  106. package/dist/ui/form/fields/JsonField.js +13 -0
  107. package/dist/ui/form/fields/MultiSelectField.d.ts +2 -0
  108. package/dist/ui/form/fields/MultiSelectField.js +15 -0
  109. package/dist/ui/form/fields/NumberField.d.ts +2 -0
  110. package/dist/ui/form/fields/NumberField.js +15 -0
  111. package/dist/ui/form/fields/PassowrdField.d.ts +2 -0
  112. package/dist/ui/form/fields/PassowrdField.js +18 -0
  113. package/dist/ui/form/fields/SelectField.d.ts +2 -0
  114. package/dist/ui/form/fields/SelectField.js +15 -0
  115. package/dist/ui/form/fields/SwitchField.d.ts +2 -0
  116. package/dist/ui/form/fields/SwitchField.js +15 -0
  117. package/dist/ui/form/fields/TextField.d.ts +2 -0
  118. package/dist/ui/form/fields/TextField.js +15 -0
  119. package/dist/ui/form/fields/TextPassowrdField.d.ts +2 -0
  120. package/dist/ui/form/fields/TextPassowrdField.js +29 -0
  121. package/dist/ui/form/fields/TextareaField.d.ts +2 -0
  122. package/dist/ui/form/fields/TextareaField.js +15 -0
  123. package/dist/ui/form/fields/index.d.ts +9 -0
  124. package/dist/ui/form/fields/index.js +9 -0
  125. package/dist/ui/form/fieldsSchema.d.ts +12 -0
  126. package/dist/ui/form/fieldsSchema.js +13 -0
  127. package/dist/ui/form/index.d.ts +3 -0
  128. package/dist/ui/form/index.js +4 -0
  129. package/dist/ui/hoverPaper/HoverPaper.d.ts +6 -0
  130. package/dist/ui/hoverPaper/HoverPaper.js +15 -0
  131. package/dist/ui/hoverPaper/index.d.ts +2 -0
  132. package/dist/ui/hoverPaper/index.js +3 -0
  133. package/dist/ui/hoverPaper/usePaperHover.d.ts +4 -0
  134. package/dist/ui/hoverPaper/usePaperHover.js +9 -0
  135. package/dist/ui/index.d.ts +9 -0
  136. package/dist/ui/index.js +9 -0
  137. package/dist/ui/saveInput/JsonInput.d.ts +6 -0
  138. package/dist/ui/saveInput/JsonInput.js +34 -0
  139. package/dist/ui/saveInput/NumberInput.d.ts +6 -0
  140. package/dist/ui/saveInput/NumberInput.js +27 -0
  141. package/dist/ui/saveInput/SaveInput.d.ts +36 -0
  142. package/dist/ui/saveInput/SaveInput.js +15 -0
  143. package/dist/ui/saveInput/Select.d.ts +6 -0
  144. package/dist/ui/saveInput/Select.js +27 -0
  145. package/dist/ui/saveInput/Switch.d.ts +6 -0
  146. package/dist/ui/saveInput/Switch.js +30 -0
  147. package/dist/ui/saveInput/TextInput.d.ts +6 -0
  148. package/dist/ui/saveInput/TextInput.js +26 -0
  149. package/dist/ui/saveInput/Textarea.d.ts +6 -0
  150. package/dist/ui/saveInput/Textarea.js +26 -0
  151. package/dist/ui/saveInput/index.d.ts +1 -0
  152. package/dist/ui/saveInput/index.js +2 -0
  153. package/dist/ui/scrollArea/ScrollArea.d.ts +62 -0
  154. package/dist/ui/scrollArea/ScrollArea.js +30 -0
  155. package/dist/ui/scrollArea/ScrollAreaButton.d.ts +5 -0
  156. package/dist/ui/scrollArea/ScrollAreaButton.js +30 -0
  157. package/dist/ui/scrollArea/ScrollAreaContent.d.ts +6 -0
  158. package/dist/ui/scrollArea/ScrollAreaContent.js +29 -0
  159. package/dist/ui/scrollArea/context.d.ts +28 -0
  160. package/dist/ui/scrollArea/context.js +10 -0
  161. package/dist/ui/scrollArea/index.d.ts +3 -0
  162. package/dist/ui/scrollArea/index.js +3 -0
  163. package/dist/ui/scrollArea/types.d.ts +65 -0
  164. package/dist/ui/scrollArea/types.js +0 -0
  165. package/dist/ui/scrollArea/useScrollArea.d.ts +9 -0
  166. package/dist/ui/scrollArea/useScrollArea.js +146 -0
  167. package/package.json +1 -1
@@ -0,0 +1,28 @@
1
+ import type { ScrollAreaContextValue, ScrollAreaHook } from './types';
2
+ /** Внутренний контекст для передачи состояния ScrollArea */
3
+ export declare const ScrollAreaContext: import("react").Context<ScrollAreaContextValue | null>;
4
+ export declare const ScrollAreaProvider: import("react").Provider<ScrollAreaContextValue | null>;
5
+ /**
6
+ * Хук для доступа к состоянию и методам ScrollArea
7
+ *
8
+ * @returns Объект с индикаторами позиции, методами управления и ref на viewport
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * function MyComponent() {
13
+ * const { isAtBottom, scrollToTop, viewportRef } = useScrollArea();
14
+ *
15
+ * const scrollToElement = () => {
16
+ * const target = viewportRef.current?.querySelector('[data-target]');
17
+ * target?.scrollIntoView();
18
+ * };
19
+ *
20
+ * return (
21
+ * <button onClick={scrollToTop} disabled={isAtTop}>
22
+ * В начало
23
+ * </button>
24
+ * );
25
+ * }
26
+ * ```
27
+ */
28
+ export declare const useScrollArea: () => ScrollAreaHook;
@@ -0,0 +1,10 @@
1
+ import { createContext, useContext } from "react";
2
+ const ScrollAreaContext = /*#__PURE__*/ createContext(null);
3
+ const ScrollAreaProvider = ScrollAreaContext.Provider;
4
+ const useScrollArea = ()=>{
5
+ const context = useContext(ScrollAreaContext);
6
+ if (!context) throw new Error('useScrollArea must be used within ScrollArea');
7
+ const { _callbackRef, mantineProps: _, radius: __, ...publicAPI } = context;
8
+ return publicAPI;
9
+ };
10
+ export { ScrollAreaContext, ScrollAreaProvider, useScrollArea };
@@ -0,0 +1,3 @@
1
+ export { useScrollArea } from './context';
2
+ export { ScrollArea } from './ScrollArea';
3
+ export type { ScrollAreaContextValue, ScrollAreaHook, ScrollAreaProps, ScrollAreaState, ScrollButtonProps, ScrollPosition, } from './types';
@@ -0,0 +1,3 @@
1
+ import { useScrollArea } from "./context.js";
2
+ import { ScrollArea } from "./ScrollArea.js";
3
+ export { ScrollArea, useScrollArea };
@@ -0,0 +1,65 @@
1
+ import type { MantineRadius, ScrollAreaProps as MantineScrollAreaProps } from '@mantine/core';
2
+ import type { ReactNode } from 'react';
3
+ export interface ScrollAreaProps extends Omit<MantineScrollAreaProps, 'children'> {
4
+ /** Включение автоскролла при добавлении контента (по умолчанию false) */
5
+ autoScroll?: boolean;
6
+ /** Прокрутить к концу при инициализации компонента (по умолчанию false) */
7
+ scrollToBottomOnInit?: boolean;
8
+ /** Анимированная прокрутка (по умолчанию true) */
9
+ animated?: boolean;
10
+ /** Отступ для near-зон в пикселях (по умолчанию 100) */
11
+ nearThreshold?: number;
12
+ /** Радиус для viewport и scrollbar на тот случай, когда они "торчат" углами*/
13
+ radius?: MantineRadius;
14
+ /** Дочерние элементы - автоматически оборачиваются в ScrollArea.Content */
15
+ children: ReactNode;
16
+ }
17
+ export interface ScrollAreaHook {
18
+ /** Точно в начале (scrollTop === 0) */
19
+ isAtTop: boolean;
20
+ /** В пределах nearThreshold от начала */
21
+ isNearTop: boolean;
22
+ /** Точно в конце (scrollTop + clientHeight >= scrollHeight) */
23
+ isAtBottom: boolean;
24
+ /** В пределах nearThreshold от конца */
25
+ isNearBottom: boolean;
26
+ /** Выше центральной точки области прокрутки */
27
+ isAboveCenter: boolean;
28
+ /** Есть контент требующий прокрутки */
29
+ hasScrollableContent: boolean;
30
+ /** Прокрутить к началу области */
31
+ scrollToTop: (animated?: boolean) => void;
32
+ /** Прокрутить к концу области */
33
+ scrollToBottom: (animated?: boolean) => void;
34
+ /** React ref на viewport элемент для прямого доступа к DOM */
35
+ viewportRef: React.RefObject<HTMLDivElement | null>;
36
+ }
37
+ export interface ScrollAreaState extends ScrollAreaHook {
38
+ /** Внутренний callback ref для подключения к Mantine ScrollArea */
39
+ _callbackRef: (node: HTMLDivElement | null) => void;
40
+ /** Внутренний ref для наблюдения за изменениями контента */
41
+ _contentResizeRef: (node: HTMLDivElement | null) => void;
42
+ }
43
+ export interface ScrollAreaContextValue extends ScrollAreaState {
44
+ /** Радиус для viewport и scrollbar на тот случай, когда они "торчат" углами*/
45
+ radius?: MantineRadius;
46
+ /** Пропсы Mantine ScrollArea, переданные в корневой компонент */
47
+ mantineProps: Omit<MantineScrollAreaProps, 'children'>;
48
+ }
49
+ export interface ScrollButtonProps {
50
+ /** CSS классы для стилизации кнопки */
51
+ className?: string;
52
+ /** Иконка для прокрутки вверх (по умолчанию IconChevronUp) */
53
+ upIcon?: ReactNode;
54
+ /** Иконка для прокрутки вниз (по умолчанию IconChevronDown) */
55
+ downIcon?: ReactNode;
56
+ }
57
+ /** Внутренний тип для отслеживания позиции скролла */
58
+ export interface ScrollPosition {
59
+ /** Текущая позиция скролла сверху */
60
+ scrollTop: number;
61
+ /** Высота видимой области */
62
+ clientHeight: number;
63
+ /** Общая высота прокручиваемого контента */
64
+ scrollHeight: number;
65
+ }
File without changes
@@ -0,0 +1,9 @@
1
+ import type { ScrollAreaState } from './types';
2
+ interface UseScrollAreaOptions {
3
+ autoScroll?: boolean;
4
+ scrollToBottomOnInit?: boolean;
5
+ animated?: boolean;
6
+ nearThreshold?: number;
7
+ }
8
+ export declare const useScrollAreaState: (options?: UseScrollAreaOptions) => ScrollAreaState;
9
+ export {};
@@ -0,0 +1,146 @@
1
+ import { useDebouncedCallback, useMergedRef, useResizeObserver } from "@mantine/hooks";
2
+ import { useCallback, useEffect, useRef, useState } from "react";
3
+ const useScrollAreaState = (options = {})=>{
4
+ const { autoScroll = false, scrollToBottomOnInit = false, animated = true, nearThreshold = 32 } = options;
5
+ const scrollAreaRef = useRef(null);
6
+ const isUserInteractingRef = useRef(false);
7
+ const userInteractionTimeoutRef = useRef(void 0);
8
+ const isInitializedRef = useRef(false);
9
+ const [contentResizeRef, contentRect] = useResizeObserver();
10
+ const [scrollPosition, setScrollPosition] = useState({
11
+ scrollTop: 0,
12
+ clientHeight: 0,
13
+ scrollHeight: 0
14
+ });
15
+ const isAtTop = 0 === scrollPosition.scrollTop;
16
+ const isAtBottom = scrollPosition.scrollTop + scrollPosition.clientHeight >= scrollPosition.scrollHeight;
17
+ const isNearTop = scrollPosition.scrollTop <= nearThreshold;
18
+ const isNearBottom = scrollPosition.scrollTop + scrollPosition.clientHeight >= scrollPosition.scrollHeight - nearThreshold;
19
+ const isAboveCenter = scrollPosition.scrollTop < (scrollPosition.scrollHeight - scrollPosition.clientHeight) / 2;
20
+ const hasScrollableContent = scrollPosition.scrollHeight > scrollPosition.clientHeight;
21
+ const debouncedUpdatePosition = useDebouncedCallback((element)=>{
22
+ const newPosition = {
23
+ scrollTop: element.scrollTop,
24
+ clientHeight: element.clientHeight,
25
+ scrollHeight: element.scrollHeight
26
+ };
27
+ setScrollPosition(newPosition);
28
+ }, {
29
+ delay: 16
30
+ });
31
+ const scrollToTop = useCallback((isAnimated)=>{
32
+ const element = scrollAreaRef.current;
33
+ if (!element) return;
34
+ const shouldAnimate = isAnimated ?? animated;
35
+ if (shouldAnimate) element.scrollTo({
36
+ top: 0,
37
+ behavior: 'smooth'
38
+ });
39
+ else element.scrollTop = 0;
40
+ }, [
41
+ animated
42
+ ]);
43
+ const scrollToBottom = useCallback((isAnimated)=>{
44
+ const element = scrollAreaRef.current;
45
+ if (!element) return;
46
+ const shouldAnimate = isAnimated ?? animated;
47
+ if (shouldAnimate) element.scrollTo({
48
+ top: element.scrollHeight,
49
+ behavior: 'smooth'
50
+ });
51
+ else element.scrollTop = element.scrollHeight;
52
+ const scrollHeightBefore = element.scrollHeight;
53
+ setTimeout(()=>{
54
+ const scrollHeightAfter = element.scrollHeight;
55
+ const diff = element.scrollHeight - (element.scrollTop + element.clientHeight);
56
+ if (diff > 1 && scrollHeightAfter !== scrollHeightBefore) element.scrollTop = element.scrollHeight;
57
+ }, 50);
58
+ }, [
59
+ animated
60
+ ]);
61
+ const performAutoScroll = useCallback(()=>{
62
+ if (!autoScroll || isUserInteractingRef.current || !scrollAreaRef.current) return;
63
+ if (isAtBottom) scrollToBottom(false);
64
+ }, [
65
+ autoScroll,
66
+ isAtBottom,
67
+ scrollToBottom
68
+ ]);
69
+ const handleUserInteraction = useCallback(()=>{
70
+ isUserInteractingRef.current = true;
71
+ if (userInteractionTimeoutRef.current) clearTimeout(userInteractionTimeoutRef.current);
72
+ userInteractionTimeoutRef.current = setTimeout(()=>{
73
+ isUserInteractingRef.current = false;
74
+ }, 150);
75
+ }, []);
76
+ const handleScroll = useCallback((event)=>{
77
+ const element = event.target;
78
+ debouncedUpdatePosition(element);
79
+ }, [
80
+ debouncedUpdatePosition
81
+ ]);
82
+ useEffect(()=>{
83
+ if (!scrollToBottomOnInit || isInitializedRef.current) return;
84
+ if (hasScrollableContent) {
85
+ scrollToBottom(animated);
86
+ isInitializedRef.current = true;
87
+ }
88
+ }, [
89
+ scrollToBottomOnInit,
90
+ hasScrollableContent,
91
+ scrollToBottom,
92
+ animated
93
+ ]);
94
+ useEffect(()=>{
95
+ const element = scrollAreaRef.current;
96
+ if (!element || 0 === contentRect.height) return;
97
+ debouncedUpdatePosition(element);
98
+ const timeoutId = setTimeout(performAutoScroll, 10);
99
+ return ()=>clearTimeout(timeoutId);
100
+ }, [
101
+ contentRect.height,
102
+ debouncedUpdatePosition,
103
+ performAutoScroll
104
+ ]);
105
+ useEffect(()=>{
106
+ const element = scrollAreaRef.current;
107
+ if (!element) return;
108
+ const events = [
109
+ 'wheel',
110
+ 'touchstart',
111
+ 'touchmove',
112
+ 'mousedown'
113
+ ];
114
+ element.addEventListener('scroll', handleScroll);
115
+ events.forEach((event)=>{
116
+ element.addEventListener(event, handleUserInteraction);
117
+ });
118
+ debouncedUpdatePosition(element);
119
+ return ()=>{
120
+ element.removeEventListener('scroll', handleScroll);
121
+ events.forEach((event)=>{
122
+ element.removeEventListener(event, handleUserInteraction);
123
+ });
124
+ if (userInteractionTimeoutRef.current) clearTimeout(userInteractionTimeoutRef.current);
125
+ };
126
+ }, [
127
+ handleScroll,
128
+ handleUserInteraction,
129
+ debouncedUpdatePosition
130
+ ]);
131
+ const callbackRef = useMergedRef(scrollAreaRef);
132
+ return {
133
+ isAtTop,
134
+ isNearTop,
135
+ isAtBottom,
136
+ isNearBottom,
137
+ isAboveCenter,
138
+ hasScrollableContent,
139
+ scrollToTop,
140
+ scrollToBottom,
141
+ viewportRef: scrollAreaRef,
142
+ _callbackRef: callbackRef,
143
+ _contentResizeRef: contentResizeRef
144
+ };
145
+ };
146
+ export { useScrollAreaState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolder/kit",
3
- "version": "3.0.0-alpha.17",
3
+ "version": "3.0.0-alpha.18",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",