@vezham/react 26.0.0-beta.2 → 26.0.0
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/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 +3 -3
- 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/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/tab-navigation.d.ts +1 -1
- package/dist/lib/layouts/section/tab-navigation.d.ts.map +1 -1
- package/dist/lib/layouts/section/tab-navigation.js +1 -1
- 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/section/toolbar.js +1 -1
- 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
|
@@ -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 { Conversation } from './conversation';
|
|
1
|
+
import type { 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 { ReactNode } from 'react';
|
|
2
|
-
import { AppearanceAdapter } from './types';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { 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 { ToolbarActionEvent } from '../../../toolbar-actions';
|
|
2
|
-
import { ControlCenterConfig, ControlCenterContext, ControlCenterProps, TileDefinition, TileRegistration } from './types';
|
|
1
|
+
import { type ToolbarActionEvent } from '../../../toolbar-actions';
|
|
2
|
+
import type { 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 { ControlCenterProps, TileDefinition } from './types';
|
|
1
|
+
import type { 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 { ControlCenterProps } from './types';
|
|
1
|
+
import type { 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 { ComponentProps, ComponentType, ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { Popover } from '@vezham/react-v3';
|
|
1
|
+
import type { ComponentProps, ComponentType, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { 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;
|
|
@@ -130,7 +130,7 @@ export declare const controlCenterVariants: import('tailwind-variants').TVReturn
|
|
|
130
130
|
connectionIcon: string;
|
|
131
131
|
galleryPreview: string;
|
|
132
132
|
gallerySuggestion: string;
|
|
133
|
-
}, import(
|
|
133
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
134
134
|
active: {
|
|
135
135
|
true: {
|
|
136
136
|
connectionIcon: string;
|
|
@@ -197,7 +197,7 @@ export declare const controlCenterVariants: import('tailwind-variants').TVReturn
|
|
|
197
197
|
galleryPreview: string;
|
|
198
198
|
gallerySuggestion: string;
|
|
199
199
|
}>>;
|
|
200
|
-
export declare const controlCenterTileVariants: import(
|
|
200
|
+
export declare const controlCenterTileVariants: import("tailwind-variants").TVReturnType<{
|
|
201
201
|
selected: {
|
|
202
202
|
true: {
|
|
203
203
|
button: string;
|
|
@@ -249,7 +249,7 @@ export declare const controlCenterTileVariants: import('tailwind-variants').TVRe
|
|
|
249
249
|
text: string;
|
|
250
250
|
title: string;
|
|
251
251
|
description: string;
|
|
252
|
-
}, import(
|
|
252
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
253
253
|
selected: {
|
|
254
254
|
true: {
|
|
255
255
|
button: string;
|
|
@@ -276,7 +276,7 @@ export declare const controlCenterTileVariants: import('tailwind-variants').TVRe
|
|
|
276
276
|
title: string;
|
|
277
277
|
description: string;
|
|
278
278
|
}>>;
|
|
279
|
-
export declare const optionTileVariants: import(
|
|
279
|
+
export declare const optionTileVariants: import("tailwind-variants").TVReturnType<{
|
|
280
280
|
selected: {
|
|
281
281
|
true: "bg-primary/10 text-primary";
|
|
282
282
|
false: "hover:bg-surface text-muted hover:text-foreground";
|
|
@@ -286,7 +286,7 @@ export declare const optionTileVariants: import('tailwind-variants').TVReturnTyp
|
|
|
286
286
|
true: "bg-primary/10 text-primary";
|
|
287
287
|
false: "hover:bg-surface text-muted hover:text-foreground";
|
|
288
288
|
};
|
|
289
|
-
}, undefined, import(
|
|
289
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
290
290
|
selected: {
|
|
291
291
|
true: "bg-primary/10 text-primary";
|
|
292
292
|
false: "hover:bg-surface text-muted hover:text-foreground";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FooterActionsProps } from './types';
|
|
1
|
+
import type { 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
|