@vezham/react 26.0.0-alpha.6 → 26.0.0-alpha.8
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/index.css +54 -0
- package/dist/lib/components/app-icon/index.d.ts +1 -1
- package/dist/lib/components/app-menu/index.d.ts +1 -1
- package/dist/lib/components/command/command-dialog.d.ts +1 -1
- package/dist/lib/components/command/command-provider.d.ts +1 -1
- package/dist/lib/components/menu/index.d.ts +1 -1
- package/dist/lib/components/menu/sheet.d.ts +1 -1
- package/dist/lib/components/menu/types.d.ts +1 -1
- package/dist/lib/components/mobile-controls/index.d.ts +1 -1
- package/dist/lib/components/pagination/index.d.ts +1 -1
- package/dist/lib/components/panel/footer/ai/chat-header.d.ts +1 -1
- package/dist/lib/components/panel/footer/ai/composer.d.ts +1 -1
- package/dist/lib/components/panel/footer/ai/content.d.ts +1 -1
- package/dist/lib/components/panel/footer/ai/conversation.d.ts +4 -4
- package/dist/lib/components/panel/footer/ai/index.d.ts +1 -1
- package/dist/lib/components/panel/footer/ai/message-actions.d.ts +1 -1
- package/dist/lib/components/panel/footer/ai/model-picker.d.ts +1 -1
- package/dist/lib/components/panel/footer/ai/permission-picker.d.ts +1 -1
- package/dist/lib/components/panel/footer/ai/use-chat-scroll.d.ts +3 -3
- package/dist/lib/components/panel/footer/control-center/appearance.d.ts +2 -2
- package/dist/lib/components/panel/footer/control-center/configured.d.ts +2 -2
- package/dist/lib/components/panel/footer/control-center/control-center.d.ts +1 -1
- package/dist/lib/components/panel/footer/control-center/default.d.ts +1 -1
- package/dist/lib/components/panel/footer/control-center/footer-context.d.ts +1 -1
- package/dist/lib/components/panel/footer/control-center/language.d.ts +1 -1
- package/dist/lib/components/panel/footer/control-center/options.d.ts +1 -1
- package/dist/lib/components/panel/footer/control-center/preview.d.ts +1 -1
- package/dist/lib/components/panel/footer/control-center/tile.d.ts +1 -1
- package/dist/lib/components/panel/footer/control-center/types.d.ts +2 -2
- package/dist/lib/components/panel/footer/control-center/variant.d.ts +6 -6
- package/dist/lib/components/panel/footer/data.d.ts +1 -1
- package/dist/lib/components/panel/footer/drawer-frame.d.ts +1 -1
- package/dist/lib/components/panel/footer/index.d.ts +1 -1
- package/dist/lib/components/panel/footer/notification-center/index.d.ts +1 -1
- package/dist/lib/components/panel/footer/notification-center/types.d.ts +201 -201
- package/dist/lib/components/panel/footer/notification-center/variant.d.ts +2 -2
- package/dist/lib/components/panel/footer/notification-center/widget-tiles.d.ts +1 -1
- package/dist/lib/components/panel/footer/tabs.d.ts +1 -1
- package/dist/lib/components/panel/footer/types.d.ts +1 -1
- package/dist/lib/components/panel/footer/user-menu.d.ts +1 -1
- package/dist/lib/components/panel/header/application-menu-sheet.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.d.ts +2 -2
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/types.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/context-menu/index.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/context-menu/types.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/favorites/index.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/favorites/types.d.ts +3 -3
- package/dist/lib/components/panel/header/bookmarks/favorites/variant.d.ts +3 -3
- package/dist/lib/components/panel/header/bookmarks/folder-modal/index.d.ts +2 -2
- package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/membership.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/quick-access/index.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/quick-access/types.d.ts +2 -2
- package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.d.ts +2 -2
- package/dist/lib/components/panel/header/bookmarks/tree-data.d.ts +1 -1
- package/dist/lib/components/panel/header/bookmarks/types.d.ts +105 -105
- package/dist/lib/components/panel/header/bookmarks/variant.d.ts +2 -2
- package/dist/lib/components/panel/header/storage/archive/types.d.ts +1 -1
- package/dist/lib/components/panel/header/storage/history-actions.d.ts +1 -1
- package/dist/lib/components/panel/header/storage/history-date-group.d.ts +2 -2
- package/dist/lib/components/panel/header/storage/history-item-content.d.ts +1 -1
- package/dist/lib/components/panel/header/storage/history-shell.d.ts +1 -1
- package/dist/lib/components/panel/header/storage/trash/types.d.ts +1 -1
- package/dist/lib/components/panel/header/storage/types.d.ts +82 -82
- package/dist/lib/components/panel/header/storage/variant.d.ts +2 -2
- package/dist/lib/components/panel/info-panel/container.d.ts +2 -2
- package/dist/lib/components/panel/info-panel/container.module.css +5 -1
- package/dist/lib/components/panel/info-panel/container.module.js +4 -4
- package/dist/lib/components/panel/info-panel/sheet.d.ts +2 -2
- package/dist/lib/components/panel/menu/index.d.ts +1 -1
- package/dist/lib/components/panel/menu/types.d.ts +194 -194
- package/dist/lib/components/panel/menu/variant.d.ts +3 -3
- package/dist/lib/components/responsive-toolbar-action/index.d.ts +1 -1
- package/dist/lib/components/shortcut-key/index.d.ts +1 -1
- package/dist/lib/components/toolbar-actions/index.d.ts +2 -2
- package/dist/lib/components/workspace-navigation/index.d.ts +1 -1
- package/dist/lib/layouts/app/frame.d.ts +1 -1
- package/dist/lib/layouts/app/index.d.ts +6 -6
- package/dist/lib/layouts/menu-layout/home-navigation-bubble.d.ts +1 -1
- package/dist/lib/layouts/menu-layout/index-md.d.ts +1 -1
- package/dist/lib/layouts/menu-layout/index-sm.d.ts +2 -2
- package/dist/lib/layouts/menu-layout/index.d.ts +2 -2
- package/dist/lib/layouts/section/index.d.ts +4 -4
- package/dist/lib/layouts/section/preferences.d.ts +2 -2
- package/dist/lib/layouts/section/sidebar-state.d.ts +2 -2
- package/dist/lib/layouts/section/sidebar.d.ts +2 -2
- package/dist/lib/layouts/section/toolbar-content.d.ts +1 -1
- package/dist/lib/layouts/section/toolbar-more-sheet.d.ts +3 -3
- package/dist/lib/layouts/section/toolbar.d.ts +3 -3
- package/dist/lib/layouts/settings/index.d.ts +1 -1
- package/dist/lib/navigation-toolbar.d.ts +1 -1
- package/dist/lib/navigation.d.ts +2 -2
- package/dist/lib/pages/settings/index.d.ts +2 -2
- package/dist/lib/pages/settings/navigation.d.ts +1 -1
- package/dist/lib/pages/settings/settings-content.d.ts +1 -1
- package/dist/lib/pages/settings/tile-gallery.d.ts +2 -2
- package/dist/lib/store/useBookmarks/action.d.ts +1 -1
- package/dist/lib/store/useBookmarks/data.d.ts +1 -1
- package/dist/lib/store/useBookmarks/index.d.ts +2 -2
- package/dist/lib/store/useStorage/action.d.ts +1 -1
- package/dist/lib/store/useStorage/data.d.ts +1 -1
- package/dist/lib/store/useStorage/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/react.css +0 -49
package/dist/index.css
CHANGED
|
@@ -1 +1,55 @@
|
|
|
1
1
|
@source './**/*.js';
|
|
2
|
+
|
|
3
|
+
._panel_inr1p_1 {
|
|
4
|
+
height: 100%;
|
|
5
|
+
animation: _panel-enter_inr1p_1 180ms ease-out both;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
._panel_inr1p_1[data-state='closed'] {
|
|
9
|
+
animation: _panel-exit_inr1p_1 140ms ease-in both;
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes _panel-enter_inr1p_1 {
|
|
14
|
+
from {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
transform: translate3d(-1rem, 0, 0);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
to {
|
|
20
|
+
opacity: 1;
|
|
21
|
+
transform: translate3d(0, 0, 0);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@keyframes _panel-exit_inr1p_1 {
|
|
26
|
+
from {
|
|
27
|
+
opacity: 1;
|
|
28
|
+
transform: translate3d(0, 0, 0);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
to {
|
|
32
|
+
opacity: 0;
|
|
33
|
+
transform: translate3d(-1rem, 0, 0);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@keyframes _panel-reduced_inr1p_1 {
|
|
38
|
+
from,
|
|
39
|
+
to {
|
|
40
|
+
opacity: 1;
|
|
41
|
+
transform: none;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (prefers-reduced-motion: reduce) {
|
|
46
|
+
._panel_inr1p_1 {
|
|
47
|
+
animation: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* vx-bot/NOTE: A new closing animation must fire the event that collapses the panel. */
|
|
51
|
+
._panel_inr1p_1[data-state='closed'] {
|
|
52
|
+
animation: _panel-reduced_inr1p_1 1ms linear both;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
/*$vite$:1*/
|
|
@@ -17,17 +17,17 @@ export declare const useMockConversation: () => {
|
|
|
17
17
|
addFiles: (files: File[]) => void;
|
|
18
18
|
removeAttachment: (id: number) => void;
|
|
19
19
|
model: string;
|
|
20
|
-
setModel: import(
|
|
20
|
+
setModel: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
21
21
|
fastMode: boolean;
|
|
22
|
-
setFastMode: import(
|
|
22
|
+
setFastMode: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
23
23
|
permissions: string;
|
|
24
|
-
setPermissions: import(
|
|
24
|
+
setPermissions: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
25
25
|
regenerate: (id: number) => void;
|
|
26
26
|
branchChat: (id: number) => void;
|
|
27
27
|
rate: (id: number, rating: "up" | "down") => void;
|
|
28
28
|
messages: Message[];
|
|
29
29
|
value: string;
|
|
30
|
-
setValue: import(
|
|
30
|
+
setValue: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
31
31
|
phase: Phase;
|
|
32
32
|
submit: (prompt?: string) => void;
|
|
33
33
|
listen: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Conversation } from './conversation';
|
|
2
2
|
export declare const useChatScroll: (conversation: Conversation) => {
|
|
3
|
-
viewportRef: import(
|
|
4
|
-
contentRef: import(
|
|
3
|
+
viewportRef: import('react').RefObject<HTMLDivElement | null>;
|
|
4
|
+
contentRef: import('react').RefObject<HTMLDivElement | null>;
|
|
5
5
|
showJump: boolean;
|
|
6
6
|
onScroll: () => void;
|
|
7
7
|
scrollToBottom: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { AppearanceAdapter } from './types';
|
|
3
3
|
export declare const AppearanceProvider: ({ appearance, children }: {
|
|
4
4
|
appearance?: AppearanceAdapter;
|
|
5
5
|
children: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ToolbarActionEvent } from '../../../toolbar-actions';
|
|
2
|
+
import { ControlCenterConfig, ControlCenterContext, ControlCenterProps, TileDefinition, TileRegistration } from './types';
|
|
3
3
|
export type ControlCenterActionEvent = ToolbarActionEvent & {
|
|
4
4
|
tileId: string;
|
|
5
5
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ControlCenterProps, TileDefinition } from './types';
|
|
2
2
|
export declare const ControlCenter: <Context extends object>({ context, tiles, trigger, placement, onOpenChange, appearance, preview, editControls }: ControlCenterProps<Context>) => import("react").JSX.Element;
|
|
3
3
|
export declare const TileContent: <Context extends object>({ entry, context, onOpen }: {
|
|
4
4
|
entry: TileDefinition<Context>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ControlCenterProps } from './types';
|
|
2
2
|
export declare const DefaultControlCenter: (props: Pick<ControlCenterProps<object>, "placement" | "appearance" | "onOpenChange">) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, ComponentType, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { Popover } from '@vezham/react-v3';
|
|
3
3
|
export type TileDefinition<Context extends object = object> = {
|
|
4
4
|
id: string;
|
|
5
5
|
span: 'compact' | 'standard' | 'wide' | 'full';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const controlCenterVariants: import(
|
|
1
|
+
export declare const controlCenterVariants: import('tailwind-variants').TVReturnType<{
|
|
2
2
|
active: {
|
|
3
3
|
true: {
|
|
4
4
|
connectionIcon: string;
|
|
@@ -118,7 +118,7 @@ export declare const controlCenterVariants: import("tailwind-variants").TVReturn
|
|
|
118
118
|
previewTitle: string;
|
|
119
119
|
mediaControls: string;
|
|
120
120
|
connectionIcon: string;
|
|
121
|
-
}, import(
|
|
121
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
122
122
|
active: {
|
|
123
123
|
true: {
|
|
124
124
|
connectionIcon: string;
|
|
@@ -179,7 +179,7 @@ export declare const controlCenterVariants: import("tailwind-variants").TVReturn
|
|
|
179
179
|
mediaControls: string;
|
|
180
180
|
connectionIcon: string;
|
|
181
181
|
}>>;
|
|
182
|
-
export declare const controlCenterTileVariants: import(
|
|
182
|
+
export declare const controlCenterTileVariants: import('tailwind-variants').TVReturnType<{
|
|
183
183
|
selected: {
|
|
184
184
|
true: {
|
|
185
185
|
button: string;
|
|
@@ -225,7 +225,7 @@ export declare const controlCenterTileVariants: import("tailwind-variants").TVRe
|
|
|
225
225
|
text: string;
|
|
226
226
|
title: string;
|
|
227
227
|
description: string;
|
|
228
|
-
}, import(
|
|
228
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
229
229
|
selected: {
|
|
230
230
|
true: {
|
|
231
231
|
button: string;
|
|
@@ -249,7 +249,7 @@ export declare const controlCenterTileVariants: import("tailwind-variants").TVRe
|
|
|
249
249
|
title: string;
|
|
250
250
|
description: string;
|
|
251
251
|
}>>;
|
|
252
|
-
export declare const optionTileVariants: import(
|
|
252
|
+
export declare const optionTileVariants: import('tailwind-variants').TVReturnType<{
|
|
253
253
|
selected: {
|
|
254
254
|
true: "bg-primary/10 text-primary";
|
|
255
255
|
false: "hover:bg-surface text-muted hover:text-foreground";
|
|
@@ -259,7 +259,7 @@ export declare const optionTileVariants: import("tailwind-variants").TVReturnTyp
|
|
|
259
259
|
true: "bg-primary/10 text-primary";
|
|
260
260
|
false: "hover:bg-surface text-muted hover:text-foreground";
|
|
261
261
|
};
|
|
262
|
-
}, undefined, import(
|
|
262
|
+
}, undefined, import('tailwind-variants').TVReturnTypeLike<{
|
|
263
263
|
selected: {
|
|
264
264
|
true: "bg-primary/10 text-primary";
|
|
265
265
|
false: "hover:bg-surface text-muted hover:text-foreground";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FooterActionsProps } from './types';
|
|
2
2
|
declare const Footer: ({ user, showAI, showControlCenter, controlCenter, showNotifications, showUserInfo, notificationCount, onAI, onNotificationsClick, onUserClick, toolbarAction, className }: FooterActionsProps) => import("react").JSX.Element;
|
|
3
3
|
export { Footer };
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Props } from './types';
|
|
2
|
-
declare const NotificationDrawer: import(
|
|
2
|
+
declare const NotificationDrawer: import('react').ForwardRefExoticComponent<Omit<Props, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
3
|
export { NotificationDrawer };
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|