@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.
- package/dist/lib/components/app-icon/index.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/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/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 +1 -1
- 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/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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { type 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(
|
|
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,9 +1,9 @@
|
|
|
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';
|
|
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';
|
|
7
7
|
export type AppLayoutProps = Omit<AppFrameProps, 'navigation' | 'children'> & {
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
navigationItems: AppNavigationItem[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { MenuLayoutProps } from './index';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { 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 { FooterActionsProps } from '../../components/panel/footer/types';
|
|
2
|
-
import { AppNavigationItem } from '../../navigation';
|
|
1
|
+
import type { FooterActionsProps } from '../../components/panel/footer/types';
|
|
2
|
+
import type { AppNavigationItem } from '../../navigation';
|
|
3
3
|
export type MenuLayoutProps = Pick<FooterActionsProps, 'controlCenter'> & {
|
|
4
4
|
items: AppNavigationItem[];
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { AppNavigationItem } from '../../navigation';
|
|
3
|
-
import { SectionSort } from './sort-menu';
|
|
4
|
-
import { SectionAction, SectionSearch, SectionViewAction } from './toolbar';
|
|
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';
|
|
5
5
|
export type SectionLayoutProps = {
|
|
6
6
|
title: string;
|
|
7
7
|
sectionKey?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SectionSort } from './sort-menu';
|
|
2
|
-
import { SectionFilterKey } from './toolbar';
|
|
1
|
+
import { type SectionSort } from './sort-menu';
|
|
2
|
+
import type { 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 { SetStateAction } from 'react';
|
|
2
|
-
import { AppNavigationItem } from '../../navigation';
|
|
1
|
+
import { type SetStateAction } from 'react';
|
|
2
|
+
import { type 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 { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { AppNavigationItem } from '../../navigation';
|
|
1
|
+
import { type Dispatch, type SetStateAction } from 'react';
|
|
2
|
+
import { type 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-navigation.d.ts","sourceRoot":"","sources":["../../../../src/lib/layouts/section/tab-navigation.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,iBAAiB,EAAE,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,0EAOlC,KAAK,
|
|
1
|
+
{"version":3,"file":"tab-navigation.d.ts","sourceRoot":"","sources":["../../../../src/lib/layouts/section/tab-navigation.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,iBAAiB,EAAE,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,0EAOlC,KAAK,uCAuCP,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SectionSort } from './sort-menu';
|
|
3
|
-
import { SectionAction, SectionFilterKey, SectionViewAction, SectionViewMode } from './toolbar';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type SectionSort } from './sort-menu';
|
|
3
|
+
import type { SectionAction, SectionFilterKey, SectionViewAction, SectionViewMode } from './toolbar';
|
|
4
4
|
type Props = {
|
|
5
5
|
filterAction?: SectionAction;
|
|
6
6
|
filterGroups: readonly {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { AppNavigationItem } from '../../navigation';
|
|
3
|
-
import { SectionSort } from './sort-menu';
|
|
1
|
+
import { type ReactNode, type RefObject } from 'react';
|
|
2
|
+
import type { AppNavigationItem } from '../../navigation';
|
|
3
|
+
import { type SectionSort } from './sort-menu';
|
|
4
4
|
export type SectionAction = {
|
|
5
5
|
key: string;
|
|
6
6
|
label: string;
|
|
@@ -469,7 +469,7 @@ var SectionToolbar = (props) => {
|
|
|
469
469
|
onMenuOpenChange(false);
|
|
470
470
|
}, [isMobile, onMenuOpenChange]);
|
|
471
471
|
return /* @__PURE__ */ jsxs("header", {
|
|
472
|
-
className: `bg-background sticky top-0 z-30 shrink-0 px-
|
|
472
|
+
className: `bg-background sticky top-0 z-30 shrink-0 px-2 py-0 md:py-2 ${isNavigationCollapsed ? "md:pl-30" : ""}`,
|
|
473
473
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
474
474
|
className: "grid min-h-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-x-3 md:flex md:min-h-12 md:justify-between",
|
|
475
475
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ControlCenterConfig } from '../../components/panel/footer/control-center/types';
|
|
2
|
-
import { SettingsSection } from './navigation';
|
|
1
|
+
import type { ControlCenterConfig } from '../../components/panel/footer/control-center/types';
|
|
2
|
+
import type { 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' | 'Widget Center' | 'Control Center';
|
|
2
|
-
export declare const SettingsNavigationContext: import(
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { EditorState } from '../../components/panel/footer/control-center/editor';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { EditorState } from '../../components/panel/footer/control-center/editor';
|
|
3
3
|
type GalleryShape = 'small' | 'medium' | 'large' | 'compact' | 'standard' | 'wide' | 'full';
|
|
4
4
|
type GalleryTile = {
|
|
5
5
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BookmarksResponse, FavoriteItem } from './types';
|
|
1
|
+
import type { 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 { BookmarkItem, BookmarksResponse, FavoriteItem, RQBookmarks } from './types';
|
|
1
|
+
import { type BookmarkItem, type BookmarksResponse, type FavoriteItem, type RQBookmarks } from './types';
|
|
2
2
|
export * from './data';
|
|
3
3
|
export * from './types';
|
|
4
4
|
export declare const useBookmarks: {
|
|
5
|
-
list: (rq?: RQBookmarks) => import(
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { RQStorage } from './types';
|
|
1
|
+
import type { RQStorage } from './types';
|
|
2
2
|
export * from './data';
|
|
3
3
|
export * from './types';
|
|
4
4
|
export declare const useStorage: {
|
|
5
|
-
list: (rq?: RQStorage) => import(
|
|
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-beta.
|
|
3
|
+
"version": "26.0.0-beta.3",
|
|
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-beta.
|
|
112
|
+
"@vezham/hooks": "26.0.0-beta.3",
|
|
113
113
|
"react-aria-components": "1.21.1"
|
|
114
114
|
}
|
|
115
115
|
}
|