@customafk/lunas-ui 0.0.2-v → 0.0.2-x

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.
@@ -448,7 +448,7 @@ var UserAvatar = memo(({ fullname, email, src: source, size, isButton = true })
448
448
  "img",
449
449
  {
450
450
  style: { width: size, height: size },
451
- className: cn("rounded-full object-fill"),
451
+ className: cn("rounded-full object-contain"),
452
452
  src: source,
453
453
  alt: fullname
454
454
  }
@@ -7,23 +7,23 @@ declare const SignUpSchema: z.ZodEffects<z.ZodObject<{
7
7
  password: z.ZodEffects<z.ZodString, string, string>;
8
8
  confirmPassword: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
- fullname: string;
11
10
  email: string;
11
+ fullname: string;
12
12
  password: string;
13
13
  confirmPassword: string;
14
14
  }, {
15
- fullname: string;
16
15
  email: string;
16
+ fullname: string;
17
17
  password: string;
18
18
  confirmPassword: string;
19
19
  }>, {
20
- fullname: string;
21
20
  email: string;
21
+ fullname: string;
22
22
  password: string;
23
23
  confirmPassword: string;
24
24
  }, {
25
- fullname: string;
26
25
  email: string;
26
+ fullname: string;
27
27
  password: string;
28
28
  confirmPassword: string;
29
29
  }>;
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { I as IIconProps } from '../types-BgHhiNa-.js';
2
+ import { I as IIconProps } from '../types-BlE003QY.js';
3
3
  import { FC } from 'react';
4
4
 
5
5
  declare const AvatarIcon: {
@@ -611,7 +611,7 @@ var UserAvatar = memo2(({ fullname, email, src: source, size, isButton = true })
611
611
  "img",
612
612
  {
613
613
  style: { width: size, height: size },
614
- className: cn("rounded-full object-fill"),
614
+ className: cn("rounded-full object-contain"),
615
615
  src: source,
616
616
  alt: fullname
617
617
  }
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, FC } from 'react';
2
- import { T as TUser, a as TUserSettingSelect } from '../../types-BgHhiNa-.js';
2
+ import { T as TUser, a as TUserSettingSelect } from '../../types-BlE003QY.js';
3
3
 
4
4
  interface ICategory {
5
5
  uuid: string;
@@ -2065,7 +2065,7 @@ var UserAvatar = memo7(({ fullname, email, src: source, size, isButton = true })
2065
2065
  "img",
2066
2066
  {
2067
2067
  style: { width: size, height: size },
2068
- className: cn("rounded-full object-fill"),
2068
+ className: cn("rounded-full object-contain"),
2069
2069
  src: source,
2070
2070
  alt: fullname
2071
2071
  }
@@ -2444,7 +2444,7 @@ var Header = memo9((props) => {
2444
2444
  initialActiveItem: activeUserNav,
2445
2445
  fullname: user.fullname,
2446
2446
  email: user.email,
2447
- avatar: user.avatar,
2447
+ avatar: user.avatar ?? "",
2448
2448
  onSelectItem: onSettingSelected
2449
2449
  }
2450
2450
  ) : /* @__PURE__ */ jsxs17(Fragment3, { children: [
@@ -11,7 +11,7 @@ type TUser = {
11
11
  fullname: string;
12
12
  username: string;
13
13
  email: string;
14
- avatar: string;
14
+ avatar: string | null;
15
15
  };
16
16
  type TUserSettingSelect = 'PROFILE' | 'SECURITY' | 'NOTIFICATION' | 'RESERVATION' | 'ADDRESS' | 'LOGOUT';
17
17
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@customafk/lunas-ui",
4
4
  "private": false,
5
- "version": "0.0.2-v",
5
+ "version": "0.0.2-x",
6
6
  "type": "module",
7
7
  "homepage": "https://docs.customafk.com",
8
8
  "repository": {