@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.
- package/lib/atoms/index.js +375 -356
- package/lib/molecules/index.js +804 -791
- package/lib/src/atoms/Avatar/Avatar.d.ts +2 -1
- package/lib/src/atoms/Avatar/Avatar.stories.d.ts +1 -0
- package/lib/src/atoms/Avatar/Avatar.types.d.ts +1 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.stories.d.ts +1 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { AvatarProps } from '..';
|
|
2
|
-
|
|
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;
|
|
@@ -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;
|