@huntflow/ui 0.0.58 → 0.0.60

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,12 +1,13 @@
1
1
  import { BaseButtonProps } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  before?(_: {}): any;
5
6
  default?(_: {}): any;
6
7
  after?(_: {}): any;
7
8
  };
8
9
  refs: {};
9
- attrs: Partial<{}>;
10
+ rootEl: HTMLButtonElement;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: import('vue').DefineComponent<BaseButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -22,7 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseButtonProps, {}
22
23
  dropdown: boolean;
23
24
  active: boolean;
24
25
  bordered: boolean;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
26
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
28
  export default _default;
28
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -6,23 +6,24 @@ type Props = {
6
6
  error?: string | null | void;
7
7
  className?: string;
8
8
  };
9
- declare let __VLS_typeProps: Props;
9
+ type __VLS_Props = Props;
10
10
  type __VLS_PublicProps = {
11
11
  'checked'?: boolean;
12
- } & typeof __VLS_typeProps;
12
+ } & __VLS_Props;
13
13
  declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
14
15
  slots: {
15
16
  default?(_: {}): any;
16
17
  };
17
18
  refs: {};
18
- attrs: Partial<{}>;
19
+ rootEl: HTMLDivElement;
19
20
  };
20
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
22
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
- "update:checked": (checked: boolean) => any;
23
+ "update:checked": (value: boolean) => any;
23
24
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
- "onUpdate:checked"?: ((checked: boolean) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ "onUpdate:checked"?: ((value: boolean) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
28
  export default _default;
28
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,3 @@
1
1
  import { BaseIconProps } from './types.ts';
2
- declare const _default: import('vue').DefineComponent<BaseIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
+ declare const _default: import('vue').DefineComponent<BaseIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { default as BaseIcon } from './icon.vue';
2
- export type { BaseIconProps } from './types';
2
+ export type { BaseIconProps, IconType } from './types';
3
3
  declare const injectSvgSprite: () => Promise<void>;
4
4
  export { BaseIcon, injectSvgSprite };
@@ -1,19 +1,23 @@
1
1
  import { BaseInputProps } from './types';
2
- declare let __VLS_typeProps: BaseInputProps;
2
+ type __VLS_Props = BaseInputProps;
3
3
  type __VLS_PublicProps = {
4
4
  'value'?: string;
5
- } & typeof __VLS_typeProps;
5
+ } & __VLS_Props;
6
6
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "update:value": (value: string) => any;
8
8
  } & {
9
9
  "update:value": (value: string) => any;
10
10
  enter: () => any;
11
11
  "click-link": () => any;
12
+ focus: () => any;
13
+ blur: () => any;
12
14
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
15
  "onUpdate:value"?: ((value: string) => any) | undefined;
14
16
  onEnter?: (() => any) | undefined;
15
17
  "onClick-link"?: (() => any) | undefined;
18
+ onFocus?: (() => any) | undefined;
19
+ onBlur?: (() => any) | undefined;
16
20
  }>, {
17
21
  type: import('./types').BaseInputType;
18
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
23
  export default _default;
@@ -1,4 +1,5 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  header?(_: {}): any;
4
5
  default?(_: {}): any;
@@ -6,14 +7,14 @@ declare function __VLS_template(): {
6
7
  link?(_: {}): any;
7
8
  };
8
9
  refs: {};
9
- attrs: Partial<{}>;
10
+ rootEl: HTMLLabelElement;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
14
  click: () => any;
14
15
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
15
16
  onClick?: (() => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLabelElement>;
17
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
19
  export default _default;
19
20
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,5 +2,5 @@ import { BaseLoaderProps } from './types.ts';
2
2
  declare const _default: import('vue').DefineComponent<BaseLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseLoaderProps> & Readonly<{}>, {
3
3
  size: import('./types.ts').BaseLoaderSize;
4
4
  color: "white" | "black";
5
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
6
6
  export default _default;
@@ -0,0 +1,24 @@
1
+ import { BasePlankProps } 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<BasePlankProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ click: () => any;
13
+ }, string, import('vue').PublicProps, Readonly<BasePlankProps> & Readonly<{
14
+ onClick?: (() => any) | undefined;
15
+ }>, {
16
+ type: import('./types.ts').BasePlankType;
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,3 @@
1
+ import { default as BasePlank } from './base-plank.vue';
2
+ export type { BasePlankProps } from './types.ts';
3
+ export { BasePlank };
@@ -0,0 +1,7 @@
1
+ import { IconType } from '../index';
2
+ export type BasePlankProps = {
3
+ type?: BasePlankType;
4
+ icon?: IconType;
5
+ label?: string;
6
+ };
7
+ export type BasePlankType = 'default' | 'accent' | 'danger';
@@ -1,5 +1,6 @@
1
1
  import { BaseSelectProps } from './types.ts';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  icon?(_: {
5
6
  icon: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
@@ -13,9 +14,9 @@ declare function __VLS_template(): {
13
14
  }): any;
14
15
  };
15
16
  refs: {
16
- "base-select": HTMLDivElement;
17
+ 'base-select': HTMLDivElement;
17
18
  };
18
- attrs: Partial<{}>;
19
+ rootEl: HTMLDivElement;
19
20
  };
20
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
22
  declare const __VLS_component: import('vue').DefineComponent<BaseSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -26,8 +27,8 @@ declare const __VLS_component: import('vue').DefineComponent<BaseSelectProps, {}
26
27
  size: import('./types.ts').BaseSelectSize;
27
28
  placeholder: string;
28
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
29
- "base-select": HTMLDivElement;
30
- }, any>;
30
+ 'base-select': HTMLDivElement;
31
+ }, HTMLDivElement>;
31
32
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
33
  export default _default;
33
34
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,10 +1,11 @@
1
1
  import { BaseTextProps } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<BaseTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseTextProps> & Readonly<{}>, {
@@ -1,6 +1,5 @@
1
1
  export type BaseTextProps = {
2
2
  tagName?: string;
3
- text?: string;
4
3
  kind?: 'primary' | 'secondary' | 'accent' | 'subtitle';
5
4
  weight?: 'medium';
6
5
  };
@@ -1,10 +1,11 @@
1
1
  import { BaseTitleProps } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<BaseTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,5 +1,5 @@
1
1
  export type BaseTitleProps = {
2
2
  level: 1 | 2 | 3 | 4;
3
- text: string;
4
3
  className?: string;
4
+ weight?: 'medium';
5
5
  };
@@ -11,5 +11,5 @@ declare const _default: import('vue').DefineComponent<ButtonIconProps, {}, {}, {
11
11
  loading: boolean;
12
12
  active: boolean;
13
13
  bordered: boolean;
14
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
15
15
  export default _default;
@@ -1,16 +1,17 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  default?(_: {}): any;
4
5
  };
5
6
  refs: {};
6
- attrs: Partial<{}>;
7
+ rootEl: HTMLButtonElement;
7
8
  };
8
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
10
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
11
  click: () => any;
11
12
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
12
13
  onClick?: (() => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
14
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
16
  export default _default;
16
17
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -5,7 +5,7 @@ export type { BaseInputProps } from './base-input';
5
5
  export { BaseCheckbox } from './base-checkbox';
6
6
  export type { BaseCheckboxProps } from './base-checkbox';
7
7
  export { BaseIcon, injectSvgSprite } from './base-icon';
8
- export type { BaseIconProps } from './base-icon';
8
+ export type { BaseIconProps, IconType } from './base-icon';
9
9
  export { BaseLoader } from './base-loader';
10
10
  export type { BaseLoaderSize } from './base-loader';
11
11
  export { BaseLabel } from './base-label';
@@ -15,3 +15,5 @@ export { BaseText } from './base-text';
15
15
  export type { BaseTextProps } from './base-text';
16
16
  export { ButtonIcon } from './button-icon';
17
17
  export { ButtonLink } from './button-link';
18
+ export { BasePlank } from './base-plank';
19
+ export type { BasePlankProps } from './base-plank';