@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.
Files changed (106) hide show
  1. package/dist/index.css +54 -0
  2. package/dist/lib/components/app-icon/index.d.ts +1 -1
  3. package/dist/lib/components/app-menu/index.d.ts +1 -1
  4. package/dist/lib/components/command/command-dialog.d.ts +1 -1
  5. package/dist/lib/components/command/command-provider.d.ts +1 -1
  6. package/dist/lib/components/menu/index.d.ts +1 -1
  7. package/dist/lib/components/menu/sheet.d.ts +1 -1
  8. package/dist/lib/components/menu/types.d.ts +1 -1
  9. package/dist/lib/components/mobile-controls/index.d.ts +1 -1
  10. package/dist/lib/components/pagination/index.d.ts +1 -1
  11. package/dist/lib/components/panel/footer/ai/chat-header.d.ts +1 -1
  12. package/dist/lib/components/panel/footer/ai/composer.d.ts +1 -1
  13. package/dist/lib/components/panel/footer/ai/content.d.ts +1 -1
  14. package/dist/lib/components/panel/footer/ai/conversation.d.ts +4 -4
  15. package/dist/lib/components/panel/footer/ai/index.d.ts +1 -1
  16. package/dist/lib/components/panel/footer/ai/message-actions.d.ts +1 -1
  17. package/dist/lib/components/panel/footer/ai/model-picker.d.ts +1 -1
  18. package/dist/lib/components/panel/footer/ai/permission-picker.d.ts +1 -1
  19. package/dist/lib/components/panel/footer/ai/use-chat-scroll.d.ts +3 -3
  20. package/dist/lib/components/panel/footer/control-center/appearance.d.ts +2 -2
  21. package/dist/lib/components/panel/footer/control-center/configured.d.ts +2 -2
  22. package/dist/lib/components/panel/footer/control-center/control-center.d.ts +1 -1
  23. package/dist/lib/components/panel/footer/control-center/default.d.ts +1 -1
  24. package/dist/lib/components/panel/footer/control-center/footer-context.d.ts +1 -1
  25. package/dist/lib/components/panel/footer/control-center/language.d.ts +1 -1
  26. package/dist/lib/components/panel/footer/control-center/options.d.ts +1 -1
  27. package/dist/lib/components/panel/footer/control-center/preview.d.ts +1 -1
  28. package/dist/lib/components/panel/footer/control-center/tile.d.ts +1 -1
  29. package/dist/lib/components/panel/footer/control-center/types.d.ts +2 -2
  30. package/dist/lib/components/panel/footer/control-center/variant.d.ts +6 -6
  31. package/dist/lib/components/panel/footer/data.d.ts +1 -1
  32. package/dist/lib/components/panel/footer/drawer-frame.d.ts +1 -1
  33. package/dist/lib/components/panel/footer/index.d.ts +1 -1
  34. package/dist/lib/components/panel/footer/notification-center/index.d.ts +1 -1
  35. package/dist/lib/components/panel/footer/notification-center/types.d.ts +201 -201
  36. package/dist/lib/components/panel/footer/notification-center/variant.d.ts +2 -2
  37. package/dist/lib/components/panel/footer/notification-center/widget-tiles.d.ts +1 -1
  38. package/dist/lib/components/panel/footer/tabs.d.ts +1 -1
  39. package/dist/lib/components/panel/footer/types.d.ts +1 -1
  40. package/dist/lib/components/panel/footer/user-menu.d.ts +1 -1
  41. package/dist/lib/components/panel/header/application-menu-sheet.d.ts +1 -1
  42. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.d.ts +2 -2
  43. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/types.d.ts +1 -1
  44. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.d.ts +1 -1
  45. package/dist/lib/components/panel/header/bookmarks/context-menu/index.d.ts +1 -1
  46. package/dist/lib/components/panel/header/bookmarks/context-menu/types.d.ts +1 -1
  47. package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.d.ts +1 -1
  48. package/dist/lib/components/panel/header/bookmarks/favorites/index.d.ts +1 -1
  49. package/dist/lib/components/panel/header/bookmarks/favorites/types.d.ts +3 -3
  50. package/dist/lib/components/panel/header/bookmarks/favorites/variant.d.ts +3 -3
  51. package/dist/lib/components/panel/header/bookmarks/folder-modal/index.d.ts +2 -2
  52. package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.d.ts +1 -1
  53. package/dist/lib/components/panel/header/bookmarks/membership.d.ts +1 -1
  54. package/dist/lib/components/panel/header/bookmarks/quick-access/index.d.ts +1 -1
  55. package/dist/lib/components/panel/header/bookmarks/quick-access/types.d.ts +2 -2
  56. package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.d.ts +2 -2
  57. package/dist/lib/components/panel/header/bookmarks/tree-data.d.ts +1 -1
  58. package/dist/lib/components/panel/header/bookmarks/types.d.ts +105 -105
  59. package/dist/lib/components/panel/header/bookmarks/variant.d.ts +2 -2
  60. package/dist/lib/components/panel/header/storage/archive/types.d.ts +1 -1
  61. package/dist/lib/components/panel/header/storage/history-actions.d.ts +1 -1
  62. package/dist/lib/components/panel/header/storage/history-date-group.d.ts +2 -2
  63. package/dist/lib/components/panel/header/storage/history-item-content.d.ts +1 -1
  64. package/dist/lib/components/panel/header/storage/history-shell.d.ts +1 -1
  65. package/dist/lib/components/panel/header/storage/trash/types.d.ts +1 -1
  66. package/dist/lib/components/panel/header/storage/types.d.ts +82 -82
  67. package/dist/lib/components/panel/header/storage/variant.d.ts +2 -2
  68. package/dist/lib/components/panel/info-panel/container.d.ts +2 -2
  69. package/dist/lib/components/panel/info-panel/container.module.css +5 -1
  70. package/dist/lib/components/panel/info-panel/container.module.js +4 -4
  71. package/dist/lib/components/panel/info-panel/sheet.d.ts +2 -2
  72. package/dist/lib/components/panel/menu/index.d.ts +1 -1
  73. package/dist/lib/components/panel/menu/types.d.ts +194 -194
  74. package/dist/lib/components/panel/menu/variant.d.ts +3 -3
  75. package/dist/lib/components/responsive-toolbar-action/index.d.ts +1 -1
  76. package/dist/lib/components/shortcut-key/index.d.ts +1 -1
  77. package/dist/lib/components/toolbar-actions/index.d.ts +2 -2
  78. package/dist/lib/components/workspace-navigation/index.d.ts +1 -1
  79. package/dist/lib/layouts/app/frame.d.ts +1 -1
  80. package/dist/lib/layouts/app/index.d.ts +6 -6
  81. package/dist/lib/layouts/menu-layout/home-navigation-bubble.d.ts +1 -1
  82. package/dist/lib/layouts/menu-layout/index-md.d.ts +1 -1
  83. package/dist/lib/layouts/menu-layout/index-sm.d.ts +2 -2
  84. package/dist/lib/layouts/menu-layout/index.d.ts +2 -2
  85. package/dist/lib/layouts/section/index.d.ts +4 -4
  86. package/dist/lib/layouts/section/preferences.d.ts +2 -2
  87. package/dist/lib/layouts/section/sidebar-state.d.ts +2 -2
  88. package/dist/lib/layouts/section/sidebar.d.ts +2 -2
  89. package/dist/lib/layouts/section/toolbar-content.d.ts +1 -1
  90. package/dist/lib/layouts/section/toolbar-more-sheet.d.ts +3 -3
  91. package/dist/lib/layouts/section/toolbar.d.ts +3 -3
  92. package/dist/lib/layouts/settings/index.d.ts +1 -1
  93. package/dist/lib/navigation-toolbar.d.ts +1 -1
  94. package/dist/lib/navigation.d.ts +2 -2
  95. package/dist/lib/pages/settings/index.d.ts +2 -2
  96. package/dist/lib/pages/settings/navigation.d.ts +1 -1
  97. package/dist/lib/pages/settings/settings-content.d.ts +1 -1
  98. package/dist/lib/pages/settings/tile-gallery.d.ts +2 -2
  99. package/dist/lib/store/useBookmarks/action.d.ts +1 -1
  100. package/dist/lib/store/useBookmarks/data.d.ts +1 -1
  101. package/dist/lib/store/useBookmarks/index.d.ts +2 -2
  102. package/dist/lib/store/useStorage/action.d.ts +1 -1
  103. package/dist/lib/store/useStorage/data.d.ts +1 -1
  104. package/dist/lib/store/useStorage/index.d.ts +2 -2
  105. package/package.json +2 -2
  106. package/dist/react.css +0 -49
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from '@vezham/react-v3';
2
- declare const tva: import("tailwind-variants").TVReturnType<{
2
+ declare const tva: import('tailwind-variants').TVReturnType<{
3
3
  variant: {
4
4
  default: {
5
5
  drawer_content: string;
@@ -209,7 +209,7 @@ declare const tva: import("tailwind-variants").TVReturnType<{
209
209
  empty_state_icon: string;
210
210
  drawer_footer: string;
211
211
  chip: string;
212
- }, import("tailwind-variants").TVReturnTypeLike<{
212
+ }, import('tailwind-variants').TVReturnTypeLike<{
213
213
  variant: {
214
214
  default: {
215
215
  drawer_content: string;
@@ -10,7 +10,7 @@ export declare const WidgetPreview: ({ tile, className }: {
10
10
  className?: string;
11
11
  }) => import("react").JSX.Element;
12
12
  export declare const useWidgetTiles: () => {
13
- editor: import("../control-center/editor").EditorState;
13
+ editor: import('../control-center/editor').EditorState;
14
14
  orderedTiles: ({
15
15
  id: string;
16
16
  label: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface TabItem {
3
3
  id: string;
4
4
  label: string;
@@ -1,4 +1,4 @@
1
- import type { ReactElement, ReactNode } from 'react';
1
+ import { ReactElement, ReactNode } from 'react';
2
2
  export interface UserInfo {
3
3
  id: string;
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import type { UserInfo } from './types';
1
+ import { UserInfo } from './types';
2
2
  type Props = {
3
3
  user: UserInfo;
4
4
  onLogout: () => void;
@@ -1,4 +1,4 @@
1
- import { type ReactElement } from 'react';
1
+ import { ReactElement } from 'react';
2
2
  export type ApplicationMenuProps = {
3
3
  onClose: () => void;
4
4
  onSearch: () => void;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { type BookmarkFileTreeProps } from './types';
1
+ import { default as React } from 'react';
2
+ import { BookmarkFileTreeProps } from './types';
3
3
  declare const BookmarkFileTree: ({ items, defaultExpandedKeys, getFileTreeProps, getBookmarkTreeEmptyStateProps, onBookmarkClick, onBookmarkRemove, onFolderEdit, onFolderDelete, onNewFolder, onBookmarkMove, onTreeChange }: BookmarkFileTreeProps) => React.JSX.Element;
4
4
  export { BookmarkFileTree };
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { type BookmarkItem, type BookmarkTreeItem, type useProps } from '../types';
1
+ import { BookmarkItem, BookmarkTreeItem, useProps } from '../types';
2
2
  export interface BookmarkFileTreeProps extends Pick<ReturnType<typeof useProps>, 'getFileTreeProps' | 'getBookmarkTreeEmptyStateProps'> {
3
3
  items: BookmarkTreeItem[];
4
4
  defaultExpandedKeys: string[];
@@ -1,4 +1,4 @@
1
- import { type BookmarkTreeItem } from '../types';
1
+ import { BookmarkTreeItem } from '../types';
2
2
  declare const getUniqueTreeId: (baseId: string, counts: Map<string, number>) => string;
3
3
  declare const getExpandableBookmarkKeys: (items: BookmarkTreeItem[]) => string[];
4
4
  declare const removeTreeItem: (items: BookmarkTreeItem[], itemId: string) => BookmarkTreeItem[];
@@ -1,4 +1,4 @@
1
- import { type BookmarkContextMenuItemsProps } from './types';
1
+ import { BookmarkContextMenuItemsProps } from './types';
2
2
  declare const BookmarkContextMenuItems: ({ contextTarget, folderTargets, onBookmarkRemove, onFolderEdit, onFolderDelete, onNewFolder, onBookmarkMove }: BookmarkContextMenuItemsProps) => import("react").JSX.Element;
3
3
  declare const BrowserContextMenuItems: () => import("react").JSX.Element;
4
4
  export { BookmarkContextMenuItems, BrowserContextMenuItems };
@@ -1,4 +1,4 @@
1
- import { type BookmarkTreeItem } from '../types';
1
+ import { BookmarkTreeItem } from '../types';
2
2
  export type BookmarkContextTarget = {
3
3
  type: 'folder';
4
4
  item: BookmarkTreeItem;
@@ -1,4 +1,4 @@
1
- import { type FavoriteGridListProps } from './types';
1
+ import { FavoriteGridListProps } from './types';
2
2
  declare const FavoriteGridList: ({ items, onAction, onRemove, onReorder, dragAndDropHooks, classNames, ...variantProps }: FavoriteGridListProps) => import("react").JSX.Element;
3
3
  export { FavoriteGridList };
4
4
  //# sourceMappingURL=grid-list.d.ts.map
@@ -1,4 +1,4 @@
1
- import { type FavoriteGridListProps } from './types';
1
+ import { FavoriteGridListProps } from './types';
2
2
  type Props = Omit<FavoriteGridListProps, 'dragAndDropHooks'>;
3
3
  declare const ReorderableGridList: (props: Props) => import("react").JSX.Element;
4
4
  export { ReorderableGridList };
@@ -1,6 +1,6 @@
1
- import { type DragAndDropHooks } from 'react-aria-components';
2
- import type { FavoriteItem } from '../../../../../store/useBookmarks/types';
3
- import { type tvProps, type tvSlots } from './variant';
1
+ import { DragAndDropHooks } from 'react-aria-components';
2
+ import { FavoriteItem } from '../../../../../store/useBookmarks/types';
3
+ import { tvProps, tvSlots } from './variant';
4
4
  export interface FavoriteGridListProps extends tvProps {
5
5
  items?: FavoriteItem[];
6
6
  onAction?: (item: FavoriteItem) => void;
@@ -1,5 +1,5 @@
1
- import { type VariantProps } from '@vezham/react-v3';
2
- declare const tva: import("tailwind-variants").TVReturnType<{
1
+ import { VariantProps } from '@vezham/react-v3';
2
+ declare const tva: import('tailwind-variants').TVReturnType<{
3
3
  variant: {
4
4
  default: {
5
5
  item: string;
@@ -135,7 +135,7 @@ declare const tva: import("tailwind-variants").TVReturnType<{
135
135
  content: string;
136
136
  name: string;
137
137
  emptyState: string;
138
- }, import("tailwind-variants").TVReturnTypeLike<{
138
+ }, import('tailwind-variants').TVReturnTypeLike<{
139
139
  variant: {
140
140
  default: {
141
141
  item: string;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { type FolderModalProps, type FolderVisualPreviewProps } from './types';
1
+ import { default as React } from 'react';
2
+ import { FolderModalProps, FolderVisualPreviewProps } from './types';
3
3
  declare const FolderVisualPreview: ({ color, visualType, emoji, icon, className }: FolderVisualPreviewProps) => React.JSX.Element;
4
4
  declare const FolderModal: ({ open, mode, form, onFormChange, onOpenChange, onSave }: FolderModalProps) => React.JSX.Element;
5
5
  export { FolderVisualPreview };
@@ -1,4 +1,4 @@
1
- import { type FolderFormState } from './types';
1
+ import { FolderFormState } from './types';
2
2
  declare const DEFAULT_FOLDER_COLOR = "#007aff";
3
3
  declare const DEFAULT_FOLDER_ICON = "vx:list-filled";
4
4
  declare const DEFAULT_FOLDER_EMOJI = "\uD83D\uDE00";
@@ -1,4 +1,4 @@
1
- import type { FavoriteItem } from './types';
1
+ import { FavoriteItem } from './types';
2
2
  export declare const getBookmarkShortcuts: ({ favorites, pins, onFavoritesChange, onPinsChange }: {
3
3
  favorites: FavoriteItem[];
4
4
  pins: FavoriteItem[];
@@ -1,4 +1,4 @@
1
- import { type QuickAccessProps } from './types';
1
+ import { QuickAccessProps } from './types';
2
2
  declare const QuickAccess: ({ mode, favorites, onUnpin, onFavoriteRemove, onFavoritesReorder, pins, visiblePins, hasMorePins, isScrollFavoritesOpen, renderFavoriteItem, getSectionProps, getSectionHeaderProps, getSectionTitleProps, getSectionIconProps, getFavorite2ItemsProps, getFavoriteBackgroundImageProps, getFavoriteBackgroundGradientProps, getFavoriteOverlayProps, getFavoriteAvatarContainerProps, getFavoriteAvatarProps, getFavoriteAvatarIconProps, getFavoriteAvatarFallbackProps, getFavoriteContentProps, getFavoriteNameProps, onFavoriteClick, onViewAllPins, onBackToNormalView, onToggleScrollFavorites }: QuickAccessProps) => import("react").JSX.Element;
3
3
  export { QuickAccess };
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- import { type ComponentProps, type HTMLAttributes, type ImgHTMLAttributes, type ReactNode } from 'react';
1
+ import { ComponentProps, HTMLAttributes, ImgHTMLAttributes, ReactNode } from 'react';
2
2
  import { Star as StarIcon } from '@vezham/icons-react';
3
3
  import { Avatar, Typography } from '@vezham/react-v3';
4
- import { type FavoriteItem } from '../types';
4
+ import { FavoriteItem } from '../types';
5
5
  export interface QuickAccessProps {
6
6
  mode: 'sections' | 'all';
7
7
  favorites: FavoriteItem[];
@@ -1,5 +1,5 @@
1
- import { type ReactNode } from 'react';
2
- import type { FavoriteItem } from './types';
1
+ import { ReactNode } from 'react';
2
+ import { FavoriteItem } from './types';
3
3
  type Props = {
4
4
  children: ReactNode;
5
5
  items: readonly FavoriteItem[];
@@ -1,4 +1,4 @@
1
- import type { BookmarkItem, BookmarkTreeItem } from './types';
1
+ import { BookmarkItem, BookmarkTreeItem } from './types';
2
2
  export declare const bookmarksToTreeItems: (bookmarks: BookmarkItem[]) => BookmarkTreeItem[];
3
3
  export declare const treeItemsToBookmarks: (items: BookmarkTreeItem[]) => BookmarkItem[];
4
4
  //# sourceMappingURL=tree-data.d.ts.map