@namuna-nur/ui-kit 1.9.17 → 1.9.18

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,2 +1,3 @@
1
1
  import { AvatarProps } from '..';
2
- export declare const Avatar: ({ imageSrc, alt, hasBadge, iconSize, isActive, isHasCamera, classNames, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
2
+ import * as React from 'react';
3
+ export declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLInputElement>>;
@@ -6,4 +6,5 @@ export declare const WithPhotoOnly: AvatarStory;
6
6
  export declare const WithBadgeOnly: AvatarStory;
7
7
  export declare const WithPhotoAndBadge: AvatarStory;
8
8
  export declare const ActivePhotoAndBadge: AvatarStory;
9
+ export declare const AvatarImageUpload: AvatarStory;
9
10
  export default meta;
@@ -21,4 +21,5 @@ export type AvatarProps = {
21
21
  classNames?: AvatarClassNames;
22
22
  isActive?: boolean;
23
23
  isHasCamera?: boolean;
24
+ onAvatarChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
24
25
  };
@@ -3,6 +3,7 @@ import { PhoneInput } from './PhoneInput';
3
3
  import { PhoneInputStory } from '..';
4
4
  declare const meta: Meta<typeof PhoneInput>;
5
5
  export declare const Default: PhoneInputStory;
6
+ export declare const PhoneNumberUz: PhoneInputStory;
6
7
  export declare const Focus: PhoneInputStory;
7
8
  export declare const Filled: PhoneInputStory;
8
9
  export declare const Disabled: PhoneInputStory;
@@ -8,6 +8,7 @@ export type PhoneInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onCha
8
8
  status?: PhoneInputStatusType;
9
9
  message?: string;
10
10
  label?: string;
11
+ countryCode?: 'UZ' | 'DEFAULT';
11
12
  onChange: (rawValue: string) => void;
12
13
  classNames?: {
13
14
  parent?: string;
@@ -19,6 +20,7 @@ export type PhoneInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onCha
19
20
  export type PhoneInputTokens = {
20
21
  parent: string;
21
22
  base: string;
23
+ title: string;
22
24
  hover: string;
23
25
  focus: string;
24
26
  disabled: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@namuna-nur/ui-kit",
3
- "version": "1.9.17",
3
+ "version": "1.9.18",
4
4
  "description": "UI Kit for Namuna NUR",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",