@huntflow/ui 0.2.7 → 0.2.11
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/dist/components/ui-avatar/avatar.vue.d.ts +1 -5
- package/dist/components/ui-button/button.vue.d.ts +1 -11
- package/dist/components/ui-button-icon/button-icon.vue.d.ts +1 -9
- package/dist/components/ui-icon/icon-list.d.ts +1 -1
- package/dist/components/ui-icon/types.d.ts +0 -2
- package/dist/components/ui-input/input.vue.d.ts +11 -2
- package/dist/components/ui-input/types.d.ts +0 -1
- package/dist/components/ui-loader/loader.vue.d.ts +1 -4
- package/dist/components/ui-plank/plank.vue.d.ts +1 -3
- package/dist/components/ui-text/text.vue.d.ts +1 -4
- package/dist/components/ui-textarea/textarea.vue.d.ts +8 -7
- package/dist/components/ui-textarea/types.d.ts +2 -1
- package/dist/sprite-BwE1iG1D.js +4 -0
- package/dist/ui.es.js +443 -437
- package/package.json +9 -9
- package/dist/shared/utils.d.ts +0 -3
- package/dist/sprite-korLkbry.js +0 -4
|
@@ -8,11 +8,7 @@ declare function __VLS_template(): {
|
|
|
8
8
|
rootEl: HTMLDivElement;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<UiAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiAvatarProps> & Readonly<{}>, {
|
|
12
|
-
size: import('./types.ts').UiAvatarSize;
|
|
13
|
-
square: boolean;
|
|
14
|
-
src: string;
|
|
15
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
13
|
export default _default;
|
|
18
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -14,17 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<UiButtonProps, {},
|
|
|
14
14
|
click: () => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<UiButtonProps> & Readonly<{
|
|
16
16
|
onClick?: (() => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
size: import('./types').UiButtonSize;
|
|
19
|
-
circle: boolean;
|
|
20
|
-
type: import('./types').UiButtonType;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
loading: boolean;
|
|
23
|
-
dropdown: boolean;
|
|
24
|
-
active: boolean;
|
|
25
|
-
bordered: boolean;
|
|
26
|
-
htmlType: import('./types').UiButtonHTMLType;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
28
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
19
|
export default _default;
|
|
30
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,13 +3,5 @@ declare const _default: import('vue').DefineComponent<UiButtonIconProps, {}, {},
|
|
|
3
3
|
click: () => any;
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<UiButtonIconProps> & Readonly<{
|
|
5
5
|
onClick?: (() => any) | undefined;
|
|
6
|
-
}>, {
|
|
7
|
-
size: import('./types').UiButtonIconSize;
|
|
8
|
-
circle: boolean;
|
|
9
|
-
type: import('./types').UiButtonIconType;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
loading: boolean;
|
|
12
|
-
active: boolean;
|
|
13
|
-
bordered: boolean;
|
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
15
7
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const icons: readonly ["2-users-20", "ai-20", "alert-20", "alert-24", "alert-fill-20", "alert-fill-24", "alert-fill-28", "archive-16", "archive-18", "archive-20", "archive-24", "archive-28", "arrow-down-20", "arrow-left-18", "arrow-left-20", "arrow-narrow-right-24", "arrow-narrow-right-bold-24", "arrow-right-18", "arrow-right-20", "arrow-up-20", "attention-16", "attention-18", "attention-20", "attention-24", "attention-28", "calendar-16", "calendar-18", "calendar-20", "calendar-24", "calendar-28", "check-16", "check-18", "check-20", "check-24", "check-28", "check-color-16", "check-color-18", "check-color-20", "check-color-24", "check-color-28", "chevron-down-16", "chevron-down-18", "chevron-down-20", "chevron-down-24", "chevron-down-28", "chevron-left-16", "chevron-left-18", "chevron-left-20", "chevron-left-24", "chevron-left-28", "chevron-right-16", "chevron-right-18", "chevron-right-20", "chevron-right-24", "chevron-right-28", "chevron-up-16", "chevron-up-18", "chevron-up-20", "chevron-up-24", "chevron-up-28", "circle-download-20", "clip-16", "clip-18", "clip-20", "clip-24", "clip-28", "clipboard-16", "clipboard-18", "clipboard-20", "clipboard-24", "clipboard-28", "clock-16", "clock-18", "clock-20", "clock-24", "clock-28", "clock-fill-16", "clock-fill-18", "clock-fill-20", "clock-fill-24", "clock-fill-28", "close-16", "close-20", "close-28", "copy-20", "crown-16", "crown-18", "crown-20", "crown-24", "crown-28", "dots-horizontal-20", "dots-vertical-20", "download-16", "download-18", "download-20", "download-24", "download-28", "download-circle-18", "drag-16", "drag-20", "drag-24", "drop-down", "edit-16", "edit-18", "edit-20", "edit-24", "edit-28", "feedback-16", "feedback-18", "feedback-20", "feedback-24", "feedback-28", "folder-16", "folder-18", "folder-20", "folder-24", "folder-28", "graph-16", "graph-18", "graph-20", "graph-24", "graph-28", "home-16", "home-18", "home-20", "home-24", "home-28", "info-16", "info-18", "info-20", "info-24", "info-28", "link-16", "link-18", "link-20", "link-24", "link-28", "lock-16", "lock-18", "lock-20", "lock-24", "lock-28", "lock-color-16", "lock-color-18", "lock-color-20", "lock-color-24", "lock-color-28", "message-16", "message-18", "message-20", "message-24", "message-28", "mute-20", "mute-fill-20", "notches-16", "options-16", "options-18", "options-20", "options-24", "options-28", "options-lock-20", "phone-16", "phone-18", "phone-20", "phone-24", "phone-28", "phone-error-16", "phone-error-18", "phone-error-20", "phone-error-24", "phone-error-28", "phone-fill-16", "phone-fill-18", "phone-fill-20", "phone-fill-24", "phone-fill-28", "plus-16", "plus-18", "plus-20", "plus-circle-16", "plus-circle-18", "plus-circle-20", "plus-circle-24", "plus-circle-28", "print-16", "print-18", "print-20", "print-24", "print-28", "priority-20", "question-16", "question-18", "question-20", "question-24", "question-28", "refresh-20", "rocket-16", "rocket-18", "rocket-20", "rocket-24", "rocket-28", "search-16", "search-18", "search-20", "search-24", "search-28", "semiselected-16", "semiselected-18", "semiselected-20", "semiselected-24", "semiselected-28", "settings-16", "settings-18", "settings-20", "settings-24", "settings-28", "share-16", "share-18", "share-20", "share-24", "share-28", "shield-attention-20", "shield-attention-lock-20", "shield-fill-20", "shield-tick-20", "shuffle-20", "sms-16", "sms-18", "sms-20", "sms-24", "sms-28", "star-16", "star-18", "star-20", "star-24", "star-28", "stop-color-16", "stop-color-18", "stop-color-20", "stop-color-24", "stop-color-28", "team-24", "telegram-16", "telegram-18", "telegram-20", "telegram-24", "telegram-28", "telegram-contour-20", "telegram-contour-24", "text-16", "text-18", "text-20", "text-24", "text-28", "thumbs-28", "thumbsup-16", "thumbsup-18", "thumbsup-20", "thumbsup-24", "trash-16", "trash-18", "trash-20", "trash-24", "trash-28", "unmute-20", "upload-16", "upload-18", "upload-20", "url-16", "url-18", "url-20", "url-24", "url-28", "verification-fill-20", "viber-16", "viber-18", "viber-20", "viber-24", "viber-28", "viber-contour-16", "viber-contour-20", "viber-contour-24", "viber-contour-28", "whatsapp-16", "whatsapp-18", "whatsapp-20", "whatsapp-24", "whatsapp-28", "whatsapp-contour-20", "whatsapp-contour-24", "x-circle-20", "zoom-16", "zoom-18", "zoom-20", "zoom-24", "zoom-28"];
|
|
1
|
+
export declare const icons: readonly ["2-users-20", "ai-20", "alert-20", "alert-24", "alert-fill-20", "alert-fill-24", "alert-fill-28", "archive-16", "archive-18", "archive-20", "archive-24", "archive-28", "arrow-down-20", "arrow-left-18", "arrow-left-20", "arrow-narrow-left-24", "arrow-narrow-right-24", "arrow-narrow-right-bold-24", "arrow-right-18", "arrow-right-20", "arrow-up-20", "attention-16", "attention-18", "attention-20", "attention-24", "attention-28", "calendar-16", "calendar-18", "calendar-20", "calendar-24", "calendar-28", "check-16", "check-18", "check-20", "check-24", "check-28", "check-color-16", "check-color-18", "check-color-20", "check-color-24", "check-color-28", "chevron-down-16", "chevron-down-18", "chevron-down-20", "chevron-down-24", "chevron-down-28", "chevron-left-16", "chevron-left-18", "chevron-left-20", "chevron-left-24", "chevron-left-28", "chevron-right-16", "chevron-right-18", "chevron-right-20", "chevron-right-24", "chevron-right-28", "chevron-up-16", "chevron-up-18", "chevron-up-20", "chevron-up-24", "chevron-up-28", "circle-download-20", "clip-16", "clip-18", "clip-20", "clip-24", "clip-28", "clipboard-16", "clipboard-18", "clipboard-20", "clipboard-24", "clipboard-28", "clock-16", "clock-18", "clock-20", "clock-24", "clock-28", "clock-fill-16", "clock-fill-18", "clock-fill-20", "clock-fill-24", "clock-fill-28", "close-16", "close-20", "close-28", "copy-20", "crown-16", "crown-18", "crown-20", "crown-24", "crown-28", "dots-horizontal-20", "dots-vertical-20", "download-16", "download-18", "download-20", "download-24", "download-28", "download-circle-18", "drag-16", "drag-20", "drag-24", "drop-down", "edit-16", "edit-18", "edit-20", "edit-24", "edit-28", "feedback-16", "feedback-18", "feedback-20", "feedback-24", "feedback-28", "folder-16", "folder-18", "folder-20", "folder-24", "folder-28", "graph-16", "graph-18", "graph-20", "graph-24", "graph-28", "home-16", "home-18", "home-20", "home-24", "home-28", "info-16", "info-18", "info-20", "info-24", "info-28", "link-16", "link-18", "link-20", "link-24", "link-28", "lock-16", "lock-18", "lock-20", "lock-24", "lock-28", "lock-color-16", "lock-color-18", "lock-color-20", "lock-color-24", "lock-color-28", "message-16", "message-18", "message-20", "message-24", "message-28", "mute-20", "mute-fill-20", "notches-16", "options-16", "options-18", "options-20", "options-24", "options-28", "options-lock-20", "phone-16", "phone-18", "phone-20", "phone-24", "phone-28", "phone-error-16", "phone-error-18", "phone-error-20", "phone-error-24", "phone-error-28", "phone-fill-16", "phone-fill-18", "phone-fill-20", "phone-fill-24", "phone-fill-28", "plus-16", "plus-18", "plus-20", "plus-circle-16", "plus-circle-18", "plus-circle-20", "plus-circle-24", "plus-circle-28", "print-16", "print-18", "print-20", "print-24", "print-28", "priority-20", "question-16", "question-18", "question-20", "question-24", "question-28", "refresh-20", "rocket-16", "rocket-18", "rocket-20", "rocket-24", "rocket-28", "search-16", "search-18", "search-20", "search-24", "search-28", "semiselected-16", "semiselected-18", "semiselected-20", "semiselected-24", "semiselected-28", "settings-16", "settings-18", "settings-20", "settings-24", "settings-28", "share-16", "share-18", "share-20", "share-24", "share-28", "shield-attention-20", "shield-attention-lock-20", "shield-fill-16", "shield-fill-20", "shield-tick-20", "shuffle-20", "sms-16", "sms-18", "sms-20", "sms-24", "sms-28", "star-16", "star-18", "star-20", "star-24", "star-28", "stop-color-16", "stop-color-18", "stop-color-20", "stop-color-24", "stop-color-28", "team-24", "telegram-16", "telegram-18", "telegram-20", "telegram-24", "telegram-28", "telegram-contour-20", "telegram-contour-24", "text-16", "text-18", "text-20", "text-24", "text-28", "thumbs-28", "thumbsup-16", "thumbsup-18", "thumbsup-20", "thumbsup-24", "trash-16", "trash-18", "trash-20", "trash-24", "trash-28", "unmute-20", "upload-16", "upload-18", "upload-20", "url-16", "url-18", "url-20", "url-24", "url-28", "verification-fill-20", "viber-16", "viber-18", "viber-20", "viber-24", "viber-28", "viber-contour-16", "viber-contour-20", "viber-contour-24", "viber-contour-28", "whatsapp-16", "whatsapp-18", "whatsapp-20", "whatsapp-24", "whatsapp-28", "whatsapp-contour-20", "whatsapp-contour-24", "x-circle-20", "zoom-16", "zoom-18", "zoom-20", "zoom-24", "zoom-28"];
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import { UiInputProps } from './types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = UiInputProps;
|
|
3
|
+
declare const model: import('vue').ModelRef<string | undefined, string, string | undefined, string | undefined>;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: typeof model['value'];
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
9
|
+
} & {
|
|
3
10
|
click: () => any;
|
|
4
11
|
"update:modelValue": (value: string) => any;
|
|
12
|
+
inputValue: (value: string) => any;
|
|
5
13
|
enter: () => any;
|
|
6
14
|
clickLink: () => any;
|
|
7
15
|
clickIcon: () => any;
|
|
8
16
|
focus: () => any;
|
|
9
17
|
blur: () => any;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
19
|
onClick?: (() => any) | undefined;
|
|
12
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
onInputValue?: ((value: string) => any) | undefined;
|
|
13
22
|
onEnter?: (() => any) | undefined;
|
|
14
23
|
onClickLink?: (() => any) | undefined;
|
|
15
24
|
onClickIcon?: (() => any) | undefined;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import { UiLoaderProps } from './types.ts';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<UiLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiLoaderProps> & Readonly<{}>, {
|
|
3
|
-
size: import('./types.ts').UiLoaderSize;
|
|
4
|
-
color: "white" | "black";
|
|
5
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<UiLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiLoaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
6
3
|
export default _default;
|
|
@@ -12,9 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<UiPlankProps, {}, {
|
|
|
12
12
|
click: () => any;
|
|
13
13
|
}, string, import('vue').PublicProps, Readonly<UiPlankProps> & Readonly<{
|
|
14
14
|
onClick?: (() => any) | undefined;
|
|
15
|
-
}>, {
|
|
16
|
-
type: import('./types.ts').UiPlankType;
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
17
|
export default _default;
|
|
20
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,10 +8,7 @@ declare function __VLS_template(): {
|
|
|
8
8
|
rootEl: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<UiTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiTextProps> & Readonly<{}>, {
|
|
12
|
-
tagName: string;
|
|
13
|
-
kind: "primary" | "secondary" | "accent" | "subtitle";
|
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
13
|
export default _default;
|
|
17
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { UiTextareaProps } from './types';
|
|
2
2
|
type __VLS_Props = UiTextareaProps;
|
|
3
|
+
declare const model: import('vue').ModelRef<string | undefined, string, string | undefined, string | undefined>;
|
|
3
4
|
type __VLS_PublicProps = {
|
|
4
|
-
'value'
|
|
5
|
+
modelValue?: typeof model['value'];
|
|
5
6
|
} & __VLS_Props;
|
|
6
7
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:
|
|
8
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
8
9
|
} & {
|
|
9
10
|
click: () => any;
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
10
12
|
enter: () => any;
|
|
11
13
|
clickLink: () => any;
|
|
12
14
|
focus: () => any;
|
|
13
15
|
blur: () => any;
|
|
14
|
-
"update:value": (value: string) => any;
|
|
15
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
17
|
onClick?: (() => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
19
|
onEnter?: (() => any) | undefined;
|
|
18
20
|
onClickLink?: (() => any) | undefined;
|
|
19
21
|
onFocus?: (() => any) | undefined;
|
|
20
22
|
onBlur?: (() => any) | undefined;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
textareaRef: HTMLTextAreaElement;
|
|
25
|
+
}, any>;
|
|
25
26
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type UiTextareaProps = {
|
|
2
|
-
|
|
2
|
+
modelValue?: string;
|
|
3
3
|
id?: string;
|
|
4
4
|
name?: string;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -13,4 +13,5 @@ export type UiTextareaProps = {
|
|
|
13
13
|
rows?: number;
|
|
14
14
|
maxLength?: number;
|
|
15
15
|
minHeight?: string;
|
|
16
|
+
autoResize?: boolean;
|
|
16
17
|
};
|