@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,4 +1,4 @@
1
- import { type ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  type ResponsiveToolbarActionContextValue = {
3
3
  action: ReactNode;
4
4
  setAction: (action: ReactNode) => void;
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import { ComponentProps } from 'react';
2
2
  import { Button } from '@vezham/react-v3';
3
3
  type ShortcutKeyProps = {
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export type ToolbarActionEvent = {
3
3
  actionKey: string;
4
4
  pageKey: string;
@@ -13,7 +13,7 @@ export declare const createToolbarActions: () => {
13
13
  subscribe: (actionKey: string, handler: ToolbarActionHandler, scope?: Scope) => () => void;
14
14
  emit: (event: ToolbarActionEvent) => boolean;
15
15
  };
16
- export declare const ToolbarActionsContext: import("react").Context<{
16
+ export declare const ToolbarActionsContext: import('react').Context<{
17
17
  subscribe: (actionKey: string, handler: ToolbarActionHandler, scope?: Scope) => () => void;
18
18
  emit: (event: ToolbarActionEvent) => boolean;
19
19
  } | null>;
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  type MobileSidebarControl = {
3
3
  isOpen: boolean;
4
4
  onToggle: () => void;
@@ -1,4 +1,4 @@
1
- import type { ComponentPropsWithoutRef, ReactNode } from 'react';
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  export type AppFrameProps = {
3
3
  children: ReactNode;
4
4
  contentClassName?: string;
@@ -1,9 +1,9 @@
1
- import { type ReactElement, type ReactNode } from 'react';
2
- import { type AppMenuItem } from '../../components/app-menu';
3
- import type { ControlCenterConfig, ControlCenterI18n } from '../../components/panel/footer/control-center/types';
4
- import type { AppNavigationItem } from '../../navigation';
5
- import { type User } from '../../store/users/useUserStore';
6
- import { type AppFrameProps } from './frame';
1
+ import { ReactElement, ReactNode } from 'react';
2
+ import { AppMenuItem } from '../../components/app-menu';
3
+ import { ControlCenterConfig, ControlCenterI18n } from '../../components/panel/footer/control-center/types';
4
+ import { AppNavigationItem } from '../../navigation';
5
+ import { User } from '../../store/users/useUserStore';
6
+ import { AppFrameProps } from './frame';
7
7
  export type AppLayoutProps = Omit<AppFrameProps, 'navigation' | 'children'> & {
8
8
  children?: ReactNode;
9
9
  navigationItems: AppNavigationItem[];
@@ -1,4 +1,4 @@
1
- import { type User } from '../../components/panel/header/types';
1
+ import { User } from '../../components/panel/header/types';
2
2
  declare const HomeNavigationBubble: ({ onToggleDock, users }: {
3
3
  onToggleDock: () => void;
4
4
  users: User;
@@ -1,4 +1,4 @@
1
- import type { MenuLayoutProps } from './index';
1
+ import { MenuLayoutProps } from './index';
2
2
  declare const MenuMD: ({ items, controlCenter }: MenuLayoutProps) => import("react").JSX.Element;
3
3
  export { MenuMD };
4
4
  //# sourceMappingURL=index-md.d.ts.map
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import type { MenuLayoutProps } from './index';
1
+ import { default as React } from 'react';
2
+ import { MenuLayoutProps } from './index';
3
3
  declare const MenuSM: ({ items, controlCenter }: MenuLayoutProps) => React.JSX.Element;
4
4
  export { MenuSM };
5
5
  //# sourceMappingURL=index-sm.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { FooterActionsProps } from '../../components/panel/footer/types';
2
- import type { AppNavigationItem } from '../../navigation';
1
+ import { FooterActionsProps } from '../../components/panel/footer/types';
2
+ import { AppNavigationItem } from '../../navigation';
3
3
  export type MenuLayoutProps = Pick<FooterActionsProps, 'controlCenter'> & {
4
4
  items: AppNavigationItem[];
5
5
  };
@@ -1,7 +1,7 @@
1
- import { type ReactNode } from 'react';
2
- import { type AppNavigationItem } from '../../navigation';
3
- import type { SectionSort } from './sort-menu';
4
- import { type SectionAction, type SectionSearch, type SectionViewAction } from './toolbar';
1
+ import { ReactNode } from 'react';
2
+ import { AppNavigationItem } from '../../navigation';
3
+ import { SectionSort } from './sort-menu';
4
+ import { SectionAction, SectionSearch, SectionViewAction } from './toolbar';
5
5
  export type SectionLayoutProps = {
6
6
  title: string;
7
7
  sectionKey?: string;
@@ -1,5 +1,5 @@
1
- import { type SectionSort } from './sort-menu';
2
- import type { SectionFilterKey } from './toolbar';
1
+ import { SectionSort } from './sort-menu';
2
+ import { SectionFilterKey } from './toolbar';
3
3
  export declare const useSectionPreferences: (scope: string, onSortChange?: (value: SectionSort) => void) => {
4
4
  setSelectedFilters: (selectedFilters: SectionFilterKey[]) => void;
5
5
  handleSortChange: (sortValue: SectionSort) => void;
@@ -1,5 +1,5 @@
1
- import { type SetStateAction } from 'react';
2
- import { type AppNavigationItem } from '../../navigation';
1
+ import { SetStateAction } from 'react';
2
+ import { AppNavigationItem } from '../../navigation';
3
3
  export declare const useSectionSidebarState: (items: AppNavigationItem[], pathname: string) => {
4
4
  expandedKeys: Set<string>;
5
5
  setExpandedKeys: (update: SetStateAction<Set<string>>) => void;
@@ -1,5 +1,5 @@
1
- import { type Dispatch, type SetStateAction } from 'react';
2
- import { type AppNavigationItem } from '../../navigation';
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { AppNavigationItem } from '../../navigation';
3
3
  export declare const SectionSidebar: ({ items, pathname, label, onNavigate, expandedKeys: controlledExpandedKeys, onExpandedChange }: {
4
4
  items: AppNavigationItem[];
5
5
  pathname: string;
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export type SectionToolbarContent = {
3
3
  desktop: ReactNode;
4
4
  mobile?: ReactNode;
@@ -1,6 +1,6 @@
1
- import { type ReactNode } from 'react';
2
- import { type SectionSort } from './sort-menu';
3
- import type { SectionAction, SectionFilterKey, SectionViewAction, SectionViewMode } from './toolbar';
1
+ import { ReactNode } from 'react';
2
+ import { SectionSort } from './sort-menu';
3
+ import { SectionAction, SectionFilterKey, SectionViewAction, SectionViewMode } from './toolbar';
4
4
  type Props = {
5
5
  filterAction?: SectionAction;
6
6
  filterGroups: readonly {
@@ -1,6 +1,6 @@
1
- import { type ReactNode, type RefObject } from 'react';
2
- import type { AppNavigationItem } from '../../navigation';
3
- import { type SectionSort } from './sort-menu';
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { AppNavigationItem } from '../../navigation';
3
+ import { SectionSort } from './sort-menu';
4
4
  export type SectionAction = {
5
5
  key: string;
6
6
  label: string;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export declare const SettingsLayout: ({ children }: {
3
3
  children: ReactNode;
4
4
  }) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { AppNavigationItem } from './navigation';
1
+ import { AppNavigationItem } from './navigation';
2
2
  export type NavigationAction = {
3
3
  key: string;
4
4
  label: string;
@@ -1,5 +1,5 @@
1
- import type { ReactNode } from 'react';
2
- import type { NavigationToolbar } from './navigation-toolbar';
1
+ import { ReactNode } from 'react';
2
+ import { NavigationToolbar } from './navigation-toolbar';
3
3
  export type AppNavigationItem = {
4
4
  key: string;
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import type { ControlCenterConfig } from '../../components/panel/footer/control-center/types';
2
- import type { SettingsSection } from './navigation';
1
+ import { ControlCenterConfig } from '../../components/panel/footer/control-center/types';
2
+ import { SettingsSection } from './navigation';
3
3
  export declare const validateSearch: (search: Record<string, unknown>) => {
4
4
  section: SettingsSection;
5
5
  };
@@ -1,4 +1,4 @@
1
1
  export type SettingsSection = 'General' | 'Appearance' | 'Notifications' | 'Account' | 'Edit Widgets' | 'Edit Controls';
2
- export declare const SettingsNavigationContext: import("react").Context<((section: SettingsSection) => void) | null>;
2
+ export declare const SettingsNavigationContext: import('react').Context<((section: SettingsSection) => void) | null>;
3
3
  export declare const useSettingsNavigation: () => ((section: SettingsSection) => void) | null;
4
4
  //# sourceMappingURL=navigation.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { SettingsSection } from './navigation';
1
+ import { SettingsSection } from './navigation';
2
2
  export declare const SettingsContent: ({ active }: {
3
3
  active: SettingsSection;
4
4
  }) => import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { type ReactNode } from 'react';
2
- import type { EditorState } from '../../components/panel/footer/control-center/editor';
1
+ import { ReactNode } from 'react';
2
+ import { EditorState } from '../../components/panel/footer/control-center/editor';
3
3
  type GalleryTile = {
4
4
  id: string;
5
5
  label: string;
@@ -1,4 +1,4 @@
1
- import type { BookmarksResponse, RQBookmarks } from './types';
1
+ import { BookmarksResponse, RQBookmarks } from './types';
2
2
  declare const Bookmarks: {
3
3
  list: (rq: RQBookmarks) => Promise<BookmarksResponse>;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { BookmarksResponse, FavoriteItem } from './types';
1
+ import { BookmarksResponse, FavoriteItem } from './types';
2
2
  export declare const sampleFavorites: FavoriteItem[];
3
3
  export declare const bookmarksData: BookmarksResponse;
4
4
  //# sourceMappingURL=data.d.ts.map
@@ -1,8 +1,8 @@
1
- import { type BookmarkItem, type BookmarksResponse, type FavoriteItem, type RQBookmarks } from './types';
1
+ import { BookmarkItem, BookmarksResponse, FavoriteItem, RQBookmarks } from './types';
2
2
  export * from './data';
3
3
  export * from './types';
4
4
  export declare const useBookmarks: {
5
- list: (rq?: RQBookmarks) => import("@tanstack/react-query").DefinedUseQueryResult<BookmarksResponse, Error>;
5
+ list: (rq?: RQBookmarks) => import('@tanstack/react-query').DefinedUseQueryResult<BookmarksResponse, Error>;
6
6
  actions: (rq?: RQBookmarks) => {
7
7
  setFavorites: (items: FavoriteItem[]) => NoInfer<BookmarksResponse> | undefined;
8
8
  setPins: (items: FavoriteItem[]) => NoInfer<BookmarksResponse> | undefined;
@@ -1,4 +1,4 @@
1
- import type { RQStorage, StorageResponse } from './types';
1
+ import { RQStorage, StorageResponse } from './types';
2
2
  declare const Storage: {
3
3
  list: (rq: RQStorage) => Promise<StorageResponse>;
4
4
  };
@@ -1,3 +1,3 @@
1
- import type { StorageResponse } from './types';
1
+ import { StorageResponse } from './types';
2
2
  export declare const storageData: StorageResponse;
3
3
  //# sourceMappingURL=data.d.ts.map
@@ -1,7 +1,7 @@
1
- import type { RQStorage } from './types';
1
+ import { RQStorage } from './types';
2
2
  export * from './data';
3
3
  export * from './types';
4
4
  export declare const useStorage: {
5
- list: (rq?: RQStorage) => import("@tanstack/react-query").DefinedUseQueryResult<import("./types").StorageResponse, Error>;
5
+ list: (rq?: RQStorage) => import('@tanstack/react-query').DefinedUseQueryResult<import('./types').StorageResponse, Error>;
6
6
  };
7
7
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vezham/react",
3
- "version": "26.0.0-alpha.6",
3
+ "version": "26.0.0-alpha.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/vezham/vx-fe-pkgs.git",
@@ -109,7 +109,7 @@
109
109
  ],
110
110
  "dependencies": {
111
111
  "@tanstack/react-hotkeys": "^0.10.0",
112
- "@vezham/hooks": "26.0.0-alpha.6",
112
+ "@vezham/hooks": "26.0.0-alpha.8",
113
113
  "react-aria-components": "1.21.1"
114
114
  }
115
115
  }
package/dist/react.css DELETED
@@ -1,49 +0,0 @@
1
- ._panel_1bkin_1 {
2
- height: 100%;
3
- animation: _panel-enter_1bkin_1 180ms ease-out both;
4
- }
5
-
6
- ._panel_1bkin_1[data-state='closed'] {
7
- animation: _panel-exit_1bkin_1 140ms ease-in both;
8
- pointer-events: none;
9
- }
10
-
11
- @keyframes _panel-enter_1bkin_1 {
12
- from {
13
- opacity: 0;
14
- transform: translate3d(-1rem, 0, 0);
15
- }
16
-
17
- to {
18
- opacity: 1;
19
- transform: translate3d(0, 0, 0);
20
- }
21
- }
22
-
23
- @keyframes _panel-exit_1bkin_1 {
24
- from {
25
- opacity: 1;
26
- transform: translate3d(0, 0, 0);
27
- }
28
-
29
- to {
30
- opacity: 0;
31
- transform: translate3d(-1rem, 0, 0);
32
- }
33
- }
34
-
35
- @keyframes _panel-reduced_1bkin_1 {
36
- from,
37
- to {
38
- opacity: 1;
39
- transform: none;
40
- }
41
- }
42
-
43
- @media (prefers-reduced-motion: reduce) {
44
- ._panel_1bkin_1,
45
- ._panel_1bkin_1[data-state='closed'] {
46
- animation: _panel-reduced_1bkin_1 1ms linear both;
47
- }
48
- }
49
- /*$vite$:1*/