@vezham/react 26.0.0-beta.2 → 26.0.0-beta.3

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 (100) hide show
  1. package/dist/lib/components/app-icon/index.d.ts +1 -1
  2. package/dist/lib/components/menu/index.d.ts +1 -1
  3. package/dist/lib/components/menu/sheet.d.ts +1 -1
  4. package/dist/lib/components/menu/types.d.ts +1 -1
  5. package/dist/lib/components/mobile-controls/index.d.ts +1 -1
  6. package/dist/lib/components/pagination/index.d.ts +1 -1
  7. package/dist/lib/components/panel/footer/ai/chat-header.d.ts +1 -1
  8. package/dist/lib/components/panel/footer/ai/composer.d.ts +1 -1
  9. package/dist/lib/components/panel/footer/ai/content.d.ts +1 -1
  10. package/dist/lib/components/panel/footer/ai/conversation.d.ts +4 -4
  11. package/dist/lib/components/panel/footer/ai/index.d.ts +1 -1
  12. package/dist/lib/components/panel/footer/ai/message-actions.d.ts +1 -1
  13. package/dist/lib/components/panel/footer/ai/model-picker.d.ts +1 -1
  14. package/dist/lib/components/panel/footer/ai/permission-picker.d.ts +1 -1
  15. package/dist/lib/components/panel/footer/ai/use-chat-scroll.d.ts +3 -3
  16. package/dist/lib/components/panel/footer/control-center/appearance.d.ts +2 -2
  17. package/dist/lib/components/panel/footer/control-center/configured.d.ts +2 -2
  18. package/dist/lib/components/panel/footer/control-center/control-center.d.ts +1 -1
  19. package/dist/lib/components/panel/footer/control-center/default.d.ts +1 -1
  20. package/dist/lib/components/panel/footer/control-center/footer-context.d.ts +1 -1
  21. package/dist/lib/components/panel/footer/control-center/language.d.ts +1 -1
  22. package/dist/lib/components/panel/footer/control-center/options.d.ts +1 -1
  23. package/dist/lib/components/panel/footer/control-center/preview.d.ts +1 -1
  24. package/dist/lib/components/panel/footer/control-center/tile.d.ts +1 -1
  25. package/dist/lib/components/panel/footer/control-center/variant.d.ts +6 -6
  26. package/dist/lib/components/panel/footer/data.d.ts +1 -1
  27. package/dist/lib/components/panel/footer/drawer-frame.d.ts +1 -1
  28. package/dist/lib/components/panel/footer/index.d.ts +1 -1
  29. package/dist/lib/components/panel/footer/notification-center/index.d.ts +1 -1
  30. package/dist/lib/components/panel/footer/notification-center/types.d.ts +201 -201
  31. package/dist/lib/components/panel/footer/notification-center/variant.d.ts +2 -2
  32. package/dist/lib/components/panel/footer/notification-center/widget-tiles.d.ts +3 -3
  33. package/dist/lib/components/panel/footer/tabs.d.ts +1 -1
  34. package/dist/lib/components/panel/footer/user-menu.d.ts +1 -1
  35. package/dist/lib/components/panel/header/application-menu-sheet.d.ts +1 -1
  36. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.d.ts +2 -2
  37. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/types.d.ts +1 -1
  38. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.d.ts +1 -1
  39. package/dist/lib/components/panel/header/bookmarks/context-menu/index.d.ts +1 -1
  40. package/dist/lib/components/panel/header/bookmarks/context-menu/types.d.ts +1 -1
  41. package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.d.ts +1 -1
  42. package/dist/lib/components/panel/header/bookmarks/favorites/index.d.ts +1 -1
  43. package/dist/lib/components/panel/header/bookmarks/favorites/types.d.ts +3 -3
  44. package/dist/lib/components/panel/header/bookmarks/favorites/variant.d.ts +3 -3
  45. package/dist/lib/components/panel/header/bookmarks/folder-modal/index.d.ts +2 -2
  46. package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.d.ts +1 -1
  47. package/dist/lib/components/panel/header/bookmarks/membership.d.ts +1 -1
  48. package/dist/lib/components/panel/header/bookmarks/quick-access/index.d.ts +1 -1
  49. package/dist/lib/components/panel/header/bookmarks/quick-access/types.d.ts +2 -2
  50. package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.d.ts +2 -2
  51. package/dist/lib/components/panel/header/bookmarks/tree-data.d.ts +1 -1
  52. package/dist/lib/components/panel/header/bookmarks/types.d.ts +105 -105
  53. package/dist/lib/components/panel/header/bookmarks/variant.d.ts +2 -2
  54. package/dist/lib/components/panel/header/storage/archive/types.d.ts +1 -1
  55. package/dist/lib/components/panel/header/storage/history-actions.d.ts +1 -1
  56. package/dist/lib/components/panel/header/storage/history-date-group.d.ts +2 -2
  57. package/dist/lib/components/panel/header/storage/history-item-content.d.ts +1 -1
  58. package/dist/lib/components/panel/header/storage/history-shell.d.ts +1 -1
  59. package/dist/lib/components/panel/header/storage/trash/types.d.ts +1 -1
  60. package/dist/lib/components/panel/header/storage/types.d.ts +82 -82
  61. package/dist/lib/components/panel/header/storage/variant.d.ts +2 -2
  62. package/dist/lib/components/panel/info-panel/container.d.ts +2 -2
  63. package/dist/lib/components/panel/info-panel/sheet.d.ts +1 -1
  64. package/dist/lib/components/panel/menu/index.d.ts +1 -1
  65. package/dist/lib/components/panel/menu/types.d.ts +194 -194
  66. package/dist/lib/components/panel/menu/variant.d.ts +3 -3
  67. package/dist/lib/components/responsive-toolbar-action/index.d.ts +1 -1
  68. package/dist/lib/components/shortcut-key/index.d.ts +1 -1
  69. package/dist/lib/components/toolbar-actions/index.d.ts +2 -2
  70. package/dist/lib/components/workspace-navigation/index.d.ts +1 -1
  71. package/dist/lib/layouts/app/frame.d.ts +1 -1
  72. package/dist/lib/layouts/app/index.d.ts +6 -6
  73. package/dist/lib/layouts/menu-layout/home-navigation-bubble.d.ts +1 -1
  74. package/dist/lib/layouts/menu-layout/index-md.d.ts +1 -1
  75. package/dist/lib/layouts/menu-layout/index-sm.d.ts +2 -2
  76. package/dist/lib/layouts/menu-layout/index.d.ts +2 -2
  77. package/dist/lib/layouts/section/index.d.ts +4 -4
  78. package/dist/lib/layouts/section/preferences.d.ts +2 -2
  79. package/dist/lib/layouts/section/sidebar-state.d.ts +2 -2
  80. package/dist/lib/layouts/section/sidebar.d.ts +2 -2
  81. package/dist/lib/layouts/section/tab-navigation.d.ts +1 -1
  82. package/dist/lib/layouts/section/tab-navigation.d.ts.map +1 -1
  83. package/dist/lib/layouts/section/tab-navigation.js +1 -1
  84. package/dist/lib/layouts/section/toolbar-content.d.ts +1 -1
  85. package/dist/lib/layouts/section/toolbar-more-sheet.d.ts +3 -3
  86. package/dist/lib/layouts/section/toolbar.d.ts +3 -3
  87. package/dist/lib/layouts/section/toolbar.js +1 -1
  88. package/dist/lib/layouts/settings/index.d.ts +1 -1
  89. package/dist/lib/navigation-toolbar.d.ts +1 -1
  90. package/dist/lib/pages/settings/index.d.ts +2 -2
  91. package/dist/lib/pages/settings/navigation.d.ts +1 -1
  92. package/dist/lib/pages/settings/settings-content.d.ts +1 -1
  93. package/dist/lib/pages/settings/tile-gallery.d.ts +2 -2
  94. package/dist/lib/store/useBookmarks/action.d.ts +1 -1
  95. package/dist/lib/store/useBookmarks/data.d.ts +1 -1
  96. package/dist/lib/store/useBookmarks/index.d.ts +2 -2
  97. package/dist/lib/store/useStorage/action.d.ts +1 -1
  98. package/dist/lib/store/useStorage/data.d.ts +1 -1
  99. package/dist/lib/store/useStorage/index.d.ts +2 -2
  100. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { IconComponent, IconProps } from '@vezham/icons-react';
1
+ import { type IconComponent, type IconProps } from '@vezham/icons-react';
2
2
  declare const icons: {
3
3
  'vx:sort-descending': {
4
4
  component: IconComponent;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from 'react';
2
2
  import { BottomNavbarProps } from './types';
3
3
  declare const BottomNavbar: React.FC<BottomNavbarProps>;
4
4
  export { BottomNavbar };
@@ -1,4 +1,4 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import type { ReactElement, ReactNode } from 'react';
2
2
  type Props = {
3
3
  title: string;
4
4
  hideTitle?: boolean;
@@ -1,4 +1,4 @@
1
- import { AppNavigationItem } from '../../navigation';
1
+ import type { AppNavigationItem } from '../../navigation';
2
2
  export declare enum SidebarItemType {
3
3
  Nest = "nest"
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  type MobileControlsContextValue = {
3
3
  isFooterHidden: boolean;
4
4
  setIsFooterHidden: (isHidden: boolean) => void;
@@ -1,4 +1,4 @@
1
- import { Dispatch, SetStateAction } from 'react';
1
+ import type { Dispatch, SetStateAction } from 'react';
2
2
  type Props = {
3
3
  className?: string;
4
4
  currentPage: number;
@@ -1,4 +1,4 @@
1
- import { Conversation } from './conversation';
1
+ import type { Conversation } from './conversation';
2
2
  type Props = {
3
3
  conversation: Conversation;
4
4
  expanded?: boolean;
@@ -1,4 +1,4 @@
1
- import { Conversation } from './conversation';
1
+ import type { Conversation } from './conversation';
2
2
  type Props = {
3
3
  conversation: Conversation;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { Conversation } from './conversation';
1
+ import type { Conversation } from './conversation';
2
2
  type Props = {
3
3
  conversation: Conversation;
4
4
  compact?: boolean;
@@ -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('react').Dispatch<import('react').SetStateAction<string>>;
20
+ setModel: import("react").Dispatch<import("react").SetStateAction<string>>;
21
21
  fastMode: boolean;
22
- setFastMode: import('react').Dispatch<import('react').SetStateAction<boolean>>;
22
+ setFastMode: import("react").Dispatch<import("react").SetStateAction<boolean>>;
23
23
  permissions: string;
24
- setPermissions: import('react').Dispatch<import('react').SetStateAction<string>>;
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('react').Dispatch<import('react').SetStateAction<string>>;
30
+ setValue: import("react").Dispatch<import("react").SetStateAction<string>>;
31
31
  phase: Phase;
32
32
  submit: (prompt?: string) => void;
33
33
  listen: () => void;
@@ -1,3 +1,3 @@
1
- import { InfoPanelDefinition } from '../../info-panel';
1
+ import type { InfoPanelDefinition } from '../../info-panel';
2
2
  export declare const aiPanel: InfoPanelDefinition;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Conversation } from './conversation';
1
+ import type { Conversation } from './conversation';
2
2
  type Props = {
3
3
  message: Conversation['messages'][number];
4
4
  conversation: Conversation;
@@ -1,4 +1,4 @@
1
- import { Conversation } from './conversation';
1
+ import type { Conversation } from './conversation';
2
2
  export declare const ModelPicker: ({ conversation: c }: {
3
3
  conversation: Conversation;
4
4
  }) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { Conversation } from './conversation';
1
+ import type { Conversation } from './conversation';
2
2
  export declare const PermissionPicker: ({ conversation: c }: {
3
3
  conversation: Conversation;
4
4
  }) => import("react").JSX.Element;
@@ -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('react').RefObject<HTMLDivElement | null>;
4
- contentRef: import('react').RefObject<HTMLDivElement | null>;
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,4 +1,4 @@
1
- export declare const FooterControlCenterContext: import('react').Context<{
1
+ export declare const FooterControlCenterContext: import("react").Context<{
2
2
  compact: boolean;
3
3
  isOpen: boolean;
4
4
  onOpenChange: (open: boolean) => void;
@@ -1,4 +1,4 @@
1
- import { ControlCenterI18n, LanguageAdapter } from './types';
1
+ import type { ControlCenterI18n, LanguageAdapter } from './types';
2
2
  type LanguageContext = {
3
3
  language: LanguageAdapter;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { Option } from './types';
1
+ import type { Option } from './types';
2
2
  export declare const Options: ({ value, options, onChange }: {
3
3
  value: string;
4
4
  options: readonly Option[];
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  export declare const PreviewProvider: ({ enabled, children }: {
3
3
  enabled: boolean;
4
4
  children: ReactNode;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  export declare const ActionTile: ({ label, description, icon, compact, isSelected, onPress }: {
3
3
  label: string;
4
4
  description?: string;
@@ -1,4 +1,4 @@
1
- export declare const controlCenterVariants: import('tailwind-variants').TVReturnType<{
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('tailwind-variants').TVReturnTypeLike<{
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('tailwind-variants').TVReturnType<{
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('tailwind-variants').TVReturnTypeLike<{
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('tailwind-variants').TVReturnType<{
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('tailwind-variants').TVReturnTypeLike<{
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 { StatusTimingOption, SuggestedStatusOption, UserStatus } from './types';
1
+ import type { StatusTimingOption, SuggestedStatusOption, UserStatus } from './types';
2
2
  declare const STATUS_OPTIONS: readonly [{
3
3
  readonly id: "active";
4
4
  readonly label: "Available";
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  export declare const FooterDrawerFrame: ({ isOpen, onClose, backdrop, placement, wrapperClassName, contentClassName, dialogClassName, children }: {
3
3
  isOpen: boolean;
4
4
  onClose: () => void;
@@ -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('react').ForwardRefExoticComponent<Omit<Props, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
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