@aiquants/menu-bar 0.5.0 → 0.6.0

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/README.md CHANGED
@@ -31,7 +31,7 @@ export { SessionInfo, DefaultLink } from '@aiquants/menu-bar';
31
31
  export type { IMenu, ISubmenu } from '@aiquants/menu-bar';
32
32
  export type { Theme } from '@aiquants/menu-bar';
33
33
  export type { SessionInfoProps, LinkProps } from '@aiquants/menu-bar';
34
- export type { GoogleUserProfile, UserPhoto } from '@aiquants/menu-bar';
34
+ export type { UserProfile, UserPhoto } from '@aiquants/menu-bar';
35
35
 
36
36
  // CSS (import separately)
37
37
  import '@aiquants/menu-bar/css';
@@ -123,10 +123,10 @@ interface ISubmenu {
123
123
  }
124
124
  ```
125
125
 
126
- ### GoogleUserProfile Type
126
+ ### UserProfile Type
127
127
 
128
128
  ```tsx
129
- interface GoogleUserProfile {
129
+ interface UserProfile {
130
130
  displayName: string;
131
131
  photos: UserPhoto[];
132
132
  id?: string;
@@ -141,7 +141,7 @@ interface UserPhoto {
141
141
 
142
142
  ```tsx
143
143
  interface SessionInfoProps {
144
- user: GoogleUserProfile | null;
144
+ user: UserProfile | null;
145
145
  onLogout?: () => void;
146
146
  LinkComponent: React.ComponentType<LinkProps>;
147
147
  }
@@ -1,4 +1,4 @@
1
- import { GoogleUserProfile } from '../types/user';
1
+ import { UserProfile } from '../types/user';
2
2
 
3
3
  /**
4
4
  * Link component props interface.
@@ -23,7 +23,7 @@ export declare const DefaultLink: ({ to, className, children }: LinkProps) => Re
23
23
  */
24
24
  export interface SessionInfoProps {
25
25
  /** User profile information from Google OAuth */
26
- user: GoogleUserProfile | null;
26
+ user: UserProfile | null;
27
27
  /** Custom Link component (optional, defaults to DefaultLink) */
28
28
  LinkComponent?: React.ComponentType<LinkProps>;
29
29
  }
package/dist/index.d.ts CHANGED
@@ -3,4 +3,4 @@ export { DefaultLink, SessionInfo } from './components/SessionInfo';
3
3
  export type { IMenu, ISubmenu } from './contents/MenuList';
4
4
  export { MenuBar } from './MenuBar';
5
5
  export type { Theme } from './types';
6
- export type { GoogleUserProfile } from './types/user';
6
+ export type { UserProfile } from './types/user';
@@ -2,7 +2,7 @@
2
2
  * Google user profile information.
3
3
  * Googleユーザープロフィール情報。
4
4
  */
5
- export interface GoogleUserProfile {
5
+ export interface UserProfile {
6
6
  /** User display name */
7
7
  displayName: string;
8
8
  /** user photo url */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/menu-bar",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "description": "A React menu bar component with authentication support and theming",
6
6
  "keywords": [