@huntflow/ui 0.3.4 → 0.3.7
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/index.d.ts +4 -0
- package/dist/components/ui-avatar/avatar.vue.d.ts +7 -1
- package/dist/components/ui-avatar/types.d.ts +2 -2
- package/dist/components/ui-badge/badge-code-snippet.d.ts +1 -0
- package/dist/components/ui-badge/badge.vue.d.ts +18 -0
- package/dist/components/ui-badge/index.d.ts +3 -0
- package/dist/components/ui-badge/types.d.ts +14 -0
- package/dist/components/ui-modal/index.d.ts +4 -0
- package/dist/components/ui-modal/layout.vue.d.ts +25 -0
- package/dist/components/ui-modal/modal-code-snippet.d.ts +1 -0
- package/dist/components/ui-modal/modal.vue.d.ts +61 -0
- package/dist/components/ui-modal/native-close-confirmation.vue.d.ts +9 -0
- package/dist/components/ui-modal/types.d.ts +16 -0
- package/dist/components/ui-tabs/index.d.ts +1 -1
- package/dist/components/ui-tabs/scroll.d.ts +4 -0
- package/dist/components/ui-tabs/tabs-code-snippet.d.ts +1 -1
- package/dist/components/ui-tabs/tabs.vue.d.ts +6 -4
- package/dist/components/ui-tabs/types.d.ts +17 -2
- package/dist/global.css +1 -1
- package/dist/sprite-DPj-LBxJ.js +4 -0
- package/dist/ui.es.js +3131 -2429
- package/package.json +6 -13
- package/dist/sprite-72QFlqRU.js +0 -4
|
@@ -35,7 +35,11 @@ export { UiDropzone } from './ui-dropzone';
|
|
|
35
35
|
export type { UiDropzoneProps } from './ui-dropzone';
|
|
36
36
|
export { UiDropdown } from './ui-dropdown';
|
|
37
37
|
export type { UiDropdownProps, UiDropdownSide, UiDropdownAlign } from './ui-dropdown';
|
|
38
|
+
export { UiModal } from './ui-modal';
|
|
39
|
+
export type { UiModalProps } from './ui-modal';
|
|
38
40
|
export { UiTabs } from './ui-tabs';
|
|
39
41
|
export type { UiTabsProps, UiTabsValue, UiTabsItem } from './ui-tabs';
|
|
40
42
|
export { UiPaginationDots } from './ui-pagination-dots';
|
|
41
43
|
export type { UiPaginationDotsProps } from './ui-pagination-dots';
|
|
44
|
+
export { UiBadge } from './ui-badge';
|
|
45
|
+
export type { UiBadgeProps } from './ui-badge';
|
|
@@ -8,7 +8,13 @@ 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, {}
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
error: () => any;
|
|
13
|
+
load: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<UiAvatarProps> & Readonly<{
|
|
15
|
+
onError?: (() => any) | undefined;
|
|
16
|
+
onLoad?: (() => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
19
|
export default _default;
|
|
14
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,6 +4,6 @@ export type UiAvatarProps = {
|
|
|
4
4
|
/** Размер аватара. */
|
|
5
5
|
size?: UiAvatarSize;
|
|
6
6
|
/** Квадратная форма аватара. */
|
|
7
|
-
|
|
7
|
+
squared?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export type UiAvatarSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | '3xl';
|
|
9
|
+
export type UiAvatarSize = '4xs' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | '3xl';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const badgeCodeSnippet = "<script setup lang=\"ts\">\nimport { UiBadge } from '@huntflow/ui';\n</script>\n\n<template>\n <ui-badge\n color=\"grey\"\n size=\"xs\"\n >\n BadgeText\n </ui-badge>\n</template>";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UiBadgeProps } 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<UiBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiBadgeProps> & 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,14 @@
|
|
|
1
|
+
export type UiBadgeProps = {
|
|
2
|
+
/** Тег, которым будет отрендерен бейдж. */
|
|
3
|
+
tagName?: string;
|
|
4
|
+
/** Текст бейджа */
|
|
5
|
+
label?: string | number;
|
|
6
|
+
/** Цвет бейджа. */
|
|
7
|
+
color?: UiBadgeColor;
|
|
8
|
+
/** Включает заливку. */
|
|
9
|
+
fill?: boolean;
|
|
10
|
+
/** Размер бейджа. */
|
|
11
|
+
size?: UiBadgeSize;
|
|
12
|
+
};
|
|
13
|
+
export type UiBadgeColor = 'grey' | 'cyan' | 'green' | 'red' | 'orange' | 'marketing' | 'light';
|
|
14
|
+
export type UiBadgeSize = 'xs' | 's';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
title?(_: {}): any;
|
|
9
|
+
description?(_: {}): any;
|
|
10
|
+
main?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const modalCodeSnippet = "<script setup lang=\"ts\">\nimport { ref } from 'vue';\nimport { UiButton, UiModal } from '@huntflow/ui';\n\nconst isOpen = ref(false);\n</script>\n\n<template>\n <ui-button\n type=\"primary\"\n size=\"s\"\n @click=\"isOpen = true\"\n >\n \u041E\u0442\u043A\u0440\u044B\u0442\u044C\n </ui-button>\n\n <ui-modal\n v-model:open=\"isOpen\"\n title=\"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n description=\"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043E\u043A\u043D\u0430\"\n >\n <template #body=\"{ setDirty }\">\n \u0421\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 modal\n </template>\n\n <template #footer=\"{ dismiss }\">\n <ui-button\n type=\"secondary\"\n size=\"s\"\n @click=\"dismiss\"\n >\n \u041E\u0442\u043C\u0435\u043D\u0430\n </ui-button>\n <ui-button\n type=\"primary\"\n size=\"s\"\n @click=\"dismiss\"\n >\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n </ui-button>\n </template>\n </ui-modal>\n</template>";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { UiModalProps } from './types';
|
|
2
|
+
type __VLS_Props = UiModalProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
'open'?: boolean;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
title?(_: {}): any;
|
|
10
|
+
description?(_: {}): any;
|
|
11
|
+
body?(_: {
|
|
12
|
+
open: boolean;
|
|
13
|
+
setDirty: (value: boolean) => void;
|
|
14
|
+
isDismissing: boolean;
|
|
15
|
+
resolveDismissing: (value: boolean) => void;
|
|
16
|
+
dismiss: () => Promise<void>;
|
|
17
|
+
}): any;
|
|
18
|
+
default?(_: {
|
|
19
|
+
open: boolean;
|
|
20
|
+
setDirty: (value: boolean) => void;
|
|
21
|
+
isDismissing: boolean;
|
|
22
|
+
resolveDismissing: (value: boolean) => void;
|
|
23
|
+
dismiss: () => Promise<void>;
|
|
24
|
+
}): any;
|
|
25
|
+
default?(_: {
|
|
26
|
+
open: boolean;
|
|
27
|
+
setDirty: (value: boolean) => void;
|
|
28
|
+
isDismissing: boolean;
|
|
29
|
+
resolveDismissing: (value: boolean) => void;
|
|
30
|
+
dismiss: () => Promise<void>;
|
|
31
|
+
}): any;
|
|
32
|
+
footer?(_: {
|
|
33
|
+
dismiss: () => Promise<void>;
|
|
34
|
+
}): any;
|
|
35
|
+
confirm?(_: {
|
|
36
|
+
open: boolean;
|
|
37
|
+
setDirty: (value: boolean) => void;
|
|
38
|
+
isDismissing: boolean;
|
|
39
|
+
resolveDismissing: (value: boolean) => void;
|
|
40
|
+
dismiss: () => Promise<void>;
|
|
41
|
+
}): any;
|
|
42
|
+
'floating-root'?(_: {
|
|
43
|
+
setFloatingRoot: (value: HTMLElement | undefined) => void;
|
|
44
|
+
}): any;
|
|
45
|
+
};
|
|
46
|
+
refs: {};
|
|
47
|
+
rootEl: any;
|
|
48
|
+
};
|
|
49
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
50
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
+
"update:open": (value: boolean) => any;
|
|
52
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
53
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
54
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
55
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
confirmationText: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
resolve: (value: boolean) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
onResolve?: ((value: boolean) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type UiModalSize = 'm' | 'l';
|
|
2
|
+
export type UiModalBeforeClose = () => boolean | Promise<boolean>;
|
|
3
|
+
export type UiModalProps = {
|
|
4
|
+
/** Состояние открытия modal. Используется с v-model:open. */
|
|
5
|
+
open?: boolean;
|
|
6
|
+
/** Размер modal. */
|
|
7
|
+
size?: UiModalSize;
|
|
8
|
+
/** Заголовок modal. */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** Описание modal. */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Хук перед закрытием модального окна. Возврат false отменяет закрытие. */
|
|
13
|
+
beforeClose?: UiModalBeforeClose;
|
|
14
|
+
/** Текст нативного подтверждения при закрытии modal с несохраненными изменениями. */
|
|
15
|
+
confirmationText?: string;
|
|
16
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as UiTabs } from './tabs.vue';
|
|
2
|
-
export type { UiTabsProps, UiTabsEmits, UiTabsValue, UiTabsItem, UiTabsGap } from './types';
|
|
2
|
+
export type { UiTabsProps, UiTabsEmits, UiTabsValue, UiTabsItem, UiTabsGap, UiTabsContentGap } from './types';
|
|
3
3
|
export { UiTabs };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const hasHorizontalScroll: (container: HTMLElement) => boolean;
|
|
2
|
+
export declare const animateScrollLeft: (container: HTMLElement, leftTo: number, onEnd?: () => void) => (() => void) | undefined;
|
|
3
|
+
export declare const ensureElementVisible: (container: HTMLElement, element: HTMLElement, scrollTo: (left: number) => void) => void;
|
|
4
|
+
export declare const getNextScrollLeft: (container: HTMLElement, direction: 1 | -1) => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tabsCodeSnippet = "\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\nimport { UiTabs } from '@huntflow/ui';\n\nconst model = ref('interview');\n\nconst items = [\n {\n label: '\u0418\u043D\u0442\u0435\u0440\u0432\u044C\u044E',\n value: 'interview'\n },\n {\n label: '\u0414\u0440\u0443\u0433\u043E\u0435',\n value: 'other'\n }\n];\n</script>\n\n<template>\n <ui-tabs\n v-model=\"model\"\n :items=\"items\"\n :indicator=\"true\"\n list-aria-label=\"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u0440\u043E\u0444\u0438\u043B\u044F\"\n >\n <template #interview>\n \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0444\u0438\u043B\u044F \u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430.\n </template>\n\n <template #other>\n \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u044C \u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438.\n </template>\n </ui-tabs>\n</template>\n";
|
|
1
|
+
export declare const tabsCodeSnippet = "\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\nimport { UiTabs } from '@huntflow/ui';\n\nconst model = ref('interview');\n\nconst items = [\n {\n label: '\u0418\u043D\u0442\u0435\u0440\u0432\u044C\u044E',\n value: 'interview'\n },\n {\n label: '\u0414\u0440\u0443\u0433\u043E\u0435',\n value: 'other'\n }\n];\n</script>\n\n<template>\n <ui-tabs\n v-model=\"model\"\n :items=\"items\"\n :indicator=\"true\"\n list-aria-label=\"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u0440\u043E\u0444\u0438\u043B\u044F\"\n >\n <template #content-interview>\n \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0444\u0438\u043B\u044F \u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430.\n </template>\n\n <template #content-other>\n \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u044C \u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438.\n </template>\n </ui-tabs>\n</template>\n";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UiTabsItem, UiTabsProps } from './types';
|
|
2
2
|
declare const _default: <Item extends UiTabsItem = UiTabsItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
-
readonly "onUpdate:modelValue"?: ((
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: Item["value"]) => any) | undefined;
|
|
5
5
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
|
|
6
6
|
modelValue?: Item["value"];
|
|
7
7
|
} & UiTabsProps<Item>) & Partial<{}>> & import('vue').PublicProps;
|
|
@@ -11,16 +11,18 @@ declare const _default: <Item extends UiTabsItem = UiTabsItem>(__VLS_props: NonN
|
|
|
11
11
|
item?: (props: {
|
|
12
12
|
item: Item;
|
|
13
13
|
}) => any;
|
|
14
|
-
|
|
14
|
+
after?: () => any;
|
|
15
|
+
} & { [K in Item["value"] as `content-${K}`]?: (() => any) | undefined; } & {
|
|
15
16
|
[key: string]: unknown;
|
|
16
17
|
}> & {
|
|
17
18
|
item?: (props: {
|
|
18
19
|
item: Item;
|
|
19
20
|
}) => any;
|
|
20
|
-
|
|
21
|
+
after?: () => any;
|
|
22
|
+
} & { [K in Item["value"] as `content-${K}`]?: (() => any) | undefined; } & {
|
|
21
23
|
[key: string]: unknown;
|
|
22
24
|
};
|
|
23
|
-
emit: (
|
|
25
|
+
emit: (evt: "update:modelValue", value: Item["value"]) => void;
|
|
24
26
|
}>) => import('vue').VNode & {
|
|
25
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
28
|
};
|
|
@@ -4,6 +4,13 @@ export type UiTabsItem = {
|
|
|
4
4
|
value: UiTabsValue;
|
|
5
5
|
};
|
|
6
6
|
export type UiTabsGap = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | '3xl' | '4xl' | '5xl';
|
|
7
|
+
export type UiTabsContentGap = UiTabsGap | false;
|
|
8
|
+
export type UiTabsSticky = boolean | {
|
|
9
|
+
top?: number;
|
|
10
|
+
right?: number;
|
|
11
|
+
bottom?: number;
|
|
12
|
+
left?: number;
|
|
13
|
+
};
|
|
7
14
|
export type UiTabsProps<Item extends UiTabsItem = UiTabsItem> = {
|
|
8
15
|
/** Значение активной вкладки. Используется с v-model. */
|
|
9
16
|
modelValue?: Item['value'];
|
|
@@ -13,10 +20,18 @@ export type UiTabsProps<Item extends UiTabsItem = UiTabsItem> = {
|
|
|
13
20
|
size?: 'fit' | 'full';
|
|
14
21
|
/** Горизонтальный отступ у списка табов. */
|
|
15
22
|
headerGap?: UiTabsGap;
|
|
16
|
-
/** Отступ между списком табов и контентом. */
|
|
17
|
-
contentGap?:
|
|
23
|
+
/** Отступ между списком табов и контентом. Передайте `false`, чтобы убрать отступ. */
|
|
24
|
+
contentGap?: UiTabsContentGap;
|
|
18
25
|
/** Показывает анимированный индикатор активной вкладки. */
|
|
19
26
|
indicator?: boolean;
|
|
27
|
+
/** Скрывает список вкладок, если вкладка только одна. */
|
|
28
|
+
hideSingleTab?: boolean;
|
|
29
|
+
/** Скрывает линию под списком вкладок. */
|
|
30
|
+
hideLine?: boolean;
|
|
31
|
+
/** Прилипающий режим списка вкладок: `true/false` или объект оффсетов, например `{ top: 0 }`. */
|
|
32
|
+
sticky?: UiTabsSticky;
|
|
33
|
+
/** Удаляет содержимое неактивных вкладок из DOM. */
|
|
34
|
+
unmountOnHide?: boolean;
|
|
20
35
|
/** Список вкладок. */
|
|
21
36
|
items: Item[];
|
|
22
37
|
};
|