@vezham/react 26.0.0-beta.3 → 26.0.1

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.
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  export type AppMenuAction = {
3
3
  key: string;
4
4
  label: string;
@@ -1,4 +1,4 @@
1
- import { AppNavigationItem } from '../../navigation';
1
+ import type { AppNavigationItem } from '../../navigation';
2
2
  interface Props {
3
3
  isOpen: boolean;
4
4
  items: AppNavigationItem[];
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { AppNavigationItem } from '../../navigation';
2
+ import type { AppNavigationItem } from '../../navigation';
3
3
  declare const CommandProvider: ({ children, items }: {
4
4
  children: ReactNode;
5
5
  items: AppNavigationItem[];
@@ -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
- import { ReactElement, ReactNode } from 'react';
1
+ import type { ReactElement, ReactNode } from 'react';
2
2
  export interface UserInfo {
3
3
  id: string;
4
4
  name: string;
@@ -1,9 +1,9 @@
1
- import { ReactNode } from 'react';
2
- import { InfoPanelDefinition } from './types';
1
+ import { type ReactNode } from 'react';
2
+ import type { InfoPanelDefinition } from './types';
3
3
  export declare const InfoPanelSheet: ({ panel, heading, isOpen, onClose }: {
4
4
  panel: InfoPanelDefinition;
5
5
  heading?: ReactNode;
6
6
  isOpen?: boolean;
7
7
  onClose: () => void;
8
8
  }) => import("react").JSX.Element;
9
- //# sourceMappingURL=sheet.d.ts.mapt.d.ts.map
9
+ //# sourceMappingURL=sheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/layouts/menu-layout/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAIzD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,eAAe,CAAC,GAAG;IACxE,KAAK,EAAE,iBAAiB,EAAE,CAAA;CAC3B,CAAA;AAED,QAAA,MAAM,UAAU,GAAI,0BAA0B,eAAe,gCAQ5D,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/layouts/menu-layout/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAIzD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,eAAe,CAAC,GAAG;IACxE,KAAK,EAAE,iBAAiB,EAAE,CAAA;CAC3B,CAAA;AAED,QAAA,MAAM,UAAU,GAAI,0BAA0B,eAAe,gCAU5D,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -4,7 +4,7 @@ import { useMediaQuery } from "@vezham/react-v3";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/lib/layouts/menu-layout/index.tsx
6
6
  var MenuLayout = ({ items, controlCenter }) => {
7
- if (useMediaQuery("(max-width: 767px)")) return /* @__PURE__ */ jsx(MenuSM, {
7
+ if (useMediaQuery("(max-width: 767px)", { initializeWithValue: false })) return /* @__PURE__ */ jsx(MenuSM, {
8
8
  items,
9
9
  controlCenter
10
10
  });
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { NavigationToolbar } from './navigation-toolbar';
1
+ import type { ReactNode } from 'react';
2
+ import type { NavigationToolbar } from './navigation-toolbar';
3
3
  export type AppNavigationItem = {
4
4
  key: string;
5
5
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vezham/react",
3
- "version": "26.0.0-beta.3",
3
+ "version": "26.0.1",
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.3",
112
+ "@vezham/hooks": "26.0.1",
113
113
  "react-aria-components": "1.21.1"
114
114
  }
115
115
  }