@huntflow/ui 0.1.7 → 0.1.8

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.
Files changed (52) hide show
  1. package/dist/components/index.d.ts +19 -0
  2. package/dist/components/ui-avatar/avatar.vue.d.ts +22 -0
  3. package/dist/components/ui-avatar/index.d.ts +3 -0
  4. package/dist/components/ui-avatar/types.d.ts +6 -0
  5. package/dist/components/ui-button/button.vue.d.ts +33 -0
  6. package/dist/components/ui-button/index.d.ts +3 -0
  7. package/dist/components/ui-button/types.d.ts +16 -0
  8. package/dist/components/ui-button-icon/button-icon.vue.d.ts +15 -0
  9. package/dist/components/ui-button-icon/index.d.ts +2 -0
  10. package/dist/components/ui-button-icon/types.d.ts +14 -0
  11. package/dist/components/ui-button-link/button-link.vue.d.ts +21 -0
  12. package/dist/components/ui-button-link/index.d.ts +2 -0
  13. package/dist/components/ui-error/error.vue.d.ts +18 -0
  14. package/dist/components/ui-error/index.d.ts +3 -0
  15. package/dist/components/ui-error/types.d.ts +3 -0
  16. package/dist/components/ui-icon/icon-list.d.ts +1 -0
  17. package/dist/components/ui-icon/icon.vue.d.ts +3 -0
  18. package/dist/components/ui-icon/index.d.ts +4 -0
  19. package/dist/components/ui-icon/types.d.ts +7 -0
  20. package/dist/components/ui-input/index.d.ts +3 -0
  21. package/dist/components/ui-input/input.vue.d.ts +27 -0
  22. package/dist/components/ui-input/types.d.ts +20 -0
  23. package/dist/components/ui-label/index.d.ts +3 -0
  24. package/dist/components/ui-label/label.vue.d.ts +18 -0
  25. package/dist/components/ui-label/types.d.ts +3 -0
  26. package/dist/components/ui-label-content/index.d.ts +2 -0
  27. package/dist/components/ui-label-content/label-content.vue.d.ts +24 -0
  28. package/dist/components/ui-loader/index.d.ts +3 -0
  29. package/dist/components/ui-loader/loader.vue.d.ts +6 -0
  30. package/dist/components/ui-loader/types.d.ts +6 -0
  31. package/dist/components/ui-plank/index.d.ts +3 -0
  32. package/dist/components/ui-plank/plank.vue.d.ts +24 -0
  33. package/dist/components/ui-plank/types.d.ts +7 -0
  34. package/dist/components/ui-radio-button/index.d.ts +3 -0
  35. package/dist/components/ui-radio-button/radio-button.vue.d.ts +13 -0
  36. package/dist/components/ui-radio-button/types.d.ts +19 -0
  37. package/dist/components/ui-text/index.d.ts +3 -0
  38. package/dist/components/ui-text/text.vue.d.ts +21 -0
  39. package/dist/components/ui-text/types.d.ts +6 -0
  40. package/dist/components/ui-textarea/index.d.ts +3 -0
  41. package/dist/components/ui-textarea/textarea.vue.d.ts +25 -0
  42. package/dist/components/ui-textarea/types.d.ts +16 -0
  43. package/dist/components/ui-title/index.d.ts +3 -0
  44. package/dist/components/ui-title/title.vue.d.ts +18 -0
  45. package/dist/components/ui-title/types.d.ts +6 -0
  46. package/dist/global.css +1 -0
  47. package/dist/global.css.d.ts +1 -0
  48. package/dist/index.d.ts +1 -0
  49. package/dist/shared/utils.d.ts +3 -0
  50. package/dist/sprite-CzhZOw1N.js +4 -0
  51. package/dist/ui.es.js +692 -0
  52. package/package.json +2 -1
@@ -0,0 +1,19 @@
1
+ export { UiButton } from './ui-button';
2
+ export type { UiButtonProps } from './ui-button';
3
+ export { UiButtonIcon } from './ui-button-icon';
4
+ export { UiButtonLink } from './ui-button-link';
5
+ export { UiIcon, injectSvgSprite } from './ui-icon';
6
+ export type { UiIconProps, IconType } from './ui-icon';
7
+ export { UiInput } from './ui-input';
8
+ export type { UiInputProps } from './ui-input';
9
+ export { UiLabel } from './ui-label';
10
+ export { UiLoader } from './ui-loader';
11
+ export type { UiLoaderSize } from './ui-loader';
12
+ export { UiPlank } from './ui-plank';
13
+ export type { UiPlankProps } from './ui-plank';
14
+ export { UiText } from './ui-text';
15
+ export type { UiTextProps } from './ui-text';
16
+ export { UiTitle } from './ui-title';
17
+ export type { UiTitleProps } from './ui-title';
18
+ export { UiError } from './ui-error';
19
+ export type { UiErrorProps } from './ui-error';
@@ -0,0 +1,22 @@
1
+ import { UiAvatarProps } from './types.ts';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLDivElement;
9
+ };
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>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,3 @@
1
+ import { default as UiAvatar } from './avatar.vue';
2
+ export type { UiAvatarProps } from './types.ts';
3
+ export { UiAvatar };
@@ -0,0 +1,6 @@
1
+ export type UiAvatarProps = {
2
+ src?: string;
3
+ size?: UiAvatarSize;
4
+ square?: boolean;
5
+ };
6
+ export type UiAvatarSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | '3xl';
@@ -0,0 +1,33 @@
1
+ import { UiButtonProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ before?(_: {}): any;
6
+ default?(_: {}): any;
7
+ after?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: HTMLButtonElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<UiButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ click: () => any;
15
+ }, string, import('vue').PublicProps, Readonly<UiButtonProps> & Readonly<{
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
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,3 @@
1
+ import { default as UiButton } from './button.vue';
2
+ export type { UiButtonProps } from './types';
3
+ export { UiButton };
@@ -0,0 +1,16 @@
1
+ export type UiButtonProps = {
2
+ size?: UiButtonSize;
3
+ className?: string;
4
+ type?: UiButtonType;
5
+ disabled?: boolean;
6
+ loading?: boolean;
7
+ dropdown?: boolean;
8
+ active?: boolean;
9
+ name?: string;
10
+ circle?: boolean;
11
+ bordered?: boolean;
12
+ htmlType?: UiButtonHTMLType;
13
+ };
14
+ export type UiButtonSize = 's' | 'xs' | 'm' | 'l';
15
+ export type UiButtonType = 'primary' | 'secondary' | 'accent' | 'jobsites' | 'ghost' | 'ghost-danger' | 'danger';
16
+ export type UiButtonHTMLType = 'button' | 'submit' | 'reset';
@@ -0,0 +1,15 @@
1
+ import { UiButtonIconProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<UiButtonIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ click: () => any;
4
+ }, string, import('vue').PublicProps, Readonly<UiButtonIconProps> & Readonly<{
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>;
15
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { default as UiButtonIcon } from './button-icon.vue';
2
+ export { UiButtonIcon };
@@ -0,0 +1,14 @@
1
+ export type UiButtonIconProps = {
2
+ icon: string;
3
+ size?: UiButtonIconSize;
4
+ className?: string;
5
+ type?: UiButtonIconType;
6
+ disabled?: boolean;
7
+ loading?: boolean;
8
+ active?: boolean;
9
+ name?: string;
10
+ circle?: boolean;
11
+ bordered?: boolean;
12
+ };
13
+ export type UiButtonIconSize = 's' | 'xs' | 'm' | 'l';
14
+ export type UiButtonIconType = 'primary' | 'secondary' | 'accent' | 'danger';
@@ -0,0 +1,21 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLButtonElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ click: () => any;
12
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
13
+ onClick?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,2 @@
1
+ import { default as UiButtonLink } from './button-link.vue';
2
+ export { UiButtonLink };
@@ -0,0 +1,18 @@
1
+ import { UiErrorProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLSpanElement;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<UiErrorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiErrorProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,3 @@
1
+ import { default as UiError } from './error.vue';
2
+ export type { UiErrorProps } from './types';
3
+ export { UiError };
@@ -0,0 +1,3 @@
1
+ export type UiErrorProps = {
2
+ className?: string;
3
+ };
@@ -0,0 +1 @@
1
+ export declare const icons: readonly ["ai-20", "alert-20", "alert-24", "alert-fill-20", "alert-fill-24", "archive-16", "archive-18", "archive-20", "archive-24", "archive-28", "arrow-down-20", "arrow-left-18", "arrow-left-20", "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", "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", "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", "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", "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", "x-circle-20", "zoom-16", "zoom-18", "zoom-20", "zoom-24", "zoom-28"];
@@ -0,0 +1,3 @@
1
+ import { UiIconProps } from './types.ts';
2
+ declare const _default: import('vue').DefineComponent<UiIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as UiIcon } from './icon.vue';
2
+ export type { UiIconProps, IconType } from './types';
3
+ declare const injectSvgSprite: () => Promise<void>;
4
+ export { UiIcon, injectSvgSprite };
@@ -0,0 +1,7 @@
1
+ import { icons } from './icon-list.ts';
2
+ export type IconType = typeof icons[number];
3
+ export type UiIconProps = {
4
+ name: IconType;
5
+ color?: string;
6
+ block?: boolean;
7
+ };
@@ -0,0 +1,3 @@
1
+ import { default as UiInput } from './input.vue';
2
+ export type { UiInputProps } from './types';
3
+ export { UiInput };
@@ -0,0 +1,27 @@
1
+ import { UiInputProps } from './types';
2
+ type __VLS_Props = UiInputProps;
3
+ type __VLS_PublicProps = {
4
+ 'value'?: string;
5
+ } & __VLS_Props;
6
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:value": (value: string) => any;
8
+ } & {
9
+ click: () => any;
10
+ "update:value": (value: string) => any;
11
+ enter: () => any;
12
+ clickLink: () => any;
13
+ clickIcon: () => any;
14
+ focus: () => any;
15
+ blur: () => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ onClick?: (() => any) | undefined;
18
+ "onUpdate:value"?: ((value: string) => any) | undefined;
19
+ onEnter?: (() => any) | undefined;
20
+ onClickLink?: (() => any) | undefined;
21
+ onClickIcon?: (() => any) | undefined;
22
+ onFocus?: (() => any) | undefined;
23
+ onBlur?: (() => any) | undefined;
24
+ }>, {
25
+ type: import('./types').UiInputType;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { IconType } from '../index';
2
+ export type UiInputProps = {
3
+ value: string;
4
+ type?: UiInputType;
5
+ id?: string;
6
+ name?: string;
7
+ disabled?: boolean;
8
+ title?: string;
9
+ header?: string;
10
+ subTitle?: string;
11
+ link?: string;
12
+ placeholder?: string;
13
+ loading?: boolean;
14
+ error?: string | null | void;
15
+ description?: string | null | void;
16
+ className?: string;
17
+ leftIcon?: IconType;
18
+ rightIcon?: IconType;
19
+ };
20
+ export type UiInputType = 'text' | 'password' | 'email' | 'tel' | 'search';
@@ -0,0 +1,3 @@
1
+ import { default as UiLabel } from './label.vue';
2
+ export type { UiLabelProps } from './types';
3
+ export { UiLabel };
@@ -0,0 +1,18 @@
1
+ import { UiLabelProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<UiLabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,3 @@
1
+ export type UiLabelProps = {
2
+ className?: string;
3
+ };
@@ -0,0 +1,2 @@
1
+ import { default as UiLabelContent } from './label-content.vue';
2
+ export { UiLabelContent };
@@ -0,0 +1,24 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ header?(_: {}): any;
5
+ default?(_: {}): any;
6
+ subTitle?(_: {}): any;
7
+ link?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: HTMLDivElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ click: () => any;
15
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
16
+ onClick?: (() => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,3 @@
1
+ import { default as UiLoader } from './loader.vue';
2
+ export type { UiLoaderSize } from './types';
3
+ export { UiLoader };
@@ -0,0 +1,6 @@
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>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export type UiLoaderProps = {
2
+ className?: string;
3
+ size: UiLoaderSize;
4
+ color?: 'white' | 'black';
5
+ };
6
+ export type UiLoaderSize = 's' | 'm' | 'l';
@@ -0,0 +1,3 @@
1
+ import { default as UiPlank } from './plank.vue';
2
+ export type { UiPlankProps } from './types.ts';
3
+ export { UiPlank };
@@ -0,0 +1,24 @@
1
+ import { UiPlankProps } from './types.ts';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLDivElement;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<UiPlankProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ click: () => any;
13
+ }, string, import('vue').PublicProps, Readonly<UiPlankProps> & Readonly<{
14
+ onClick?: (() => any) | undefined;
15
+ }>, {
16
+ type: import('./types.ts').UiPlankType;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,7 @@
1
+ import { IconType } from '../index';
2
+ export type UiPlankProps = {
3
+ type?: UiPlankType;
4
+ icon?: IconType;
5
+ label?: string;
6
+ };
7
+ export type UiPlankType = 'default' | 'accent' | 'danger';
@@ -0,0 +1,3 @@
1
+ import { default as UiRadioButton } from './radio-button.vue';
2
+ export type { UiRadioButtonProps } from './types';
3
+ export { UiRadioButton };
@@ -0,0 +1,13 @@
1
+ import { UiRadioButtonProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<UiRadioButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ input: (event: Event) => any;
4
+ focus: (event: FocusEvent) => any;
5
+ blur: (event: FocusEvent) => any;
6
+ "update:modelValue": (value: string) => any;
7
+ }, string, import('vue').PublicProps, Readonly<UiRadioButtonProps> & Readonly<{
8
+ onInput?: ((event: Event) => any) | undefined;
9
+ onFocus?: ((event: FocusEvent) => any) | undefined;
10
+ onBlur?: ((event: FocusEvent) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,19 @@
1
+ export type UiRadioButtonProps = {
2
+ modelValue: string;
3
+ name: string;
4
+ value: string;
5
+ id?: string;
6
+ disabled?: boolean;
7
+ title: string;
8
+ subtitle?: string;
9
+ partial?: boolean;
10
+ error?: string;
11
+ required?: boolean;
12
+ checked?: boolean;
13
+ };
14
+ export type UiRadioButtonEmits = {
15
+ 'update:modelValue': [value: string];
16
+ blur: [event: FocusEvent];
17
+ focus: [event: FocusEvent];
18
+ input: [event: Event];
19
+ };
@@ -0,0 +1,3 @@
1
+ import { default as UiText } from './text.vue';
2
+ export type { UiTextProps } from './types';
3
+ export { UiText };
@@ -0,0 +1,21 @@
1
+ import { UiTextProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
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>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,6 @@
1
+ export type UiTextProps = {
2
+ tagName?: string;
3
+ kind?: 'primary' | 'secondary' | 'accent' | 'subtitle';
4
+ weight?: 'medium';
5
+ color?: 'main' | 'secondary' | 'semilight' | 'light' | 'invert' | 'danger' | 'success';
6
+ };
@@ -0,0 +1,3 @@
1
+ import { default as UiTextarea } from './textarea.vue';
2
+ export type { UiTextareaProps } from './types';
3
+ export { UiTextarea };
@@ -0,0 +1,25 @@
1
+ import { UiTextareaProps } from './types';
2
+ type __VLS_Props = UiTextareaProps;
3
+ type __VLS_PublicProps = {
4
+ 'value'?: string;
5
+ } & __VLS_Props;
6
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:value": (value: string) => any;
8
+ } & {
9
+ click: () => any;
10
+ "update:value": (value: string) => any;
11
+ enter: () => any;
12
+ clickLink: () => any;
13
+ focus: () => any;
14
+ blur: () => any;
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ onClick?: (() => any) | undefined;
17
+ "onUpdate:value"?: ((value: string) => any) | undefined;
18
+ onEnter?: (() => any) | undefined;
19
+ onClickLink?: (() => any) | undefined;
20
+ onFocus?: (() => any) | undefined;
21
+ onBlur?: (() => any) | undefined;
22
+ }>, {
23
+ rows: number;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,16 @@
1
+ export type UiTextareaProps = {
2
+ value: string;
3
+ id?: string;
4
+ name?: string;
5
+ disabled?: boolean;
6
+ title?: string;
7
+ header?: string;
8
+ subTitle?: string;
9
+ link?: string;
10
+ placeholder?: string;
11
+ error?: string;
12
+ className?: string;
13
+ rows?: number;
14
+ maxLength?: number;
15
+ minHeight?: string;
16
+ };
@@ -0,0 +1,3 @@
1
+ import { default as UiTitle } from './title.vue';
2
+ export type { UiTitleProps } from './types';
3
+ export { UiTitle };
@@ -0,0 +1,18 @@
1
+ import { UiTitleProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<UiTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,6 @@
1
+ export type UiTitleProps = {
2
+ level: 1 | 2 | 3 | 4;
3
+ className?: string;
4
+ weight?: 'medium';
5
+ color?: 'main' | 'secondary' | 'semilight' | 'light' | 'invert' | 'danger' | 'success';
6
+ };