@namba_one/ui-kit-2 1.0.0
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/README.md +62 -0
- package/dist/fonts/SFMono-Bold.ttf +0 -0
- package/dist/fonts/SFMono-Bold.woff +0 -0
- package/dist/fonts/SFMono-Bold.woff2 +0 -0
- package/dist/fonts/SFMono-Heavy.ttf +0 -0
- package/dist/fonts/SFMono-Heavy.woff +0 -0
- package/dist/fonts/SFMono-Heavy.woff2 +0 -0
- package/dist/fonts/SFMono-Light.ttf +0 -0
- package/dist/fonts/SFMono-Light.woff +0 -0
- package/dist/fonts/SFMono-Light.woff2 +0 -0
- package/dist/fonts/SFMono-Medium.ttf +0 -0
- package/dist/fonts/SFMono-Medium.woff +0 -0
- package/dist/fonts/SFMono-Medium.woff2 +0 -0
- package/dist/fonts/SFMono-Regular.ttf +0 -0
- package/dist/fonts/SFMono-Regular.woff +0 -0
- package/dist/fonts/SFMono-Regular.woff2 +0 -0
- package/dist/fonts/SFMono-Semibold.ttf +0 -0
- package/dist/fonts/SFMono-Semibold.woff +0 -0
- package/dist/fonts/SFMono-Semibold.woff2 +0 -0
- package/dist/fonts/SFPro.ttf +0 -0
- package/dist/fonts/SFPro.woff +0 -0
- package/dist/fonts/SFPro.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Black.ttf +0 -0
- package/dist/fonts/SFProDisplay-Black.woff +0 -0
- package/dist/fonts/SFProDisplay-Black.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Bold.ttf +0 -0
- package/dist/fonts/SFProDisplay-Bold.woff +0 -0
- package/dist/fonts/SFProDisplay-Bold.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Heavy.ttf +0 -0
- package/dist/fonts/SFProDisplay-Heavy.woff +0 -0
- package/dist/fonts/SFProDisplay-Heavy.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Light.ttf +0 -0
- package/dist/fonts/SFProDisplay-Light.woff +0 -0
- package/dist/fonts/SFProDisplay-Light.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Medium.ttf +0 -0
- package/dist/fonts/SFProDisplay-Medium.woff +0 -0
- package/dist/fonts/SFProDisplay-Medium.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Regular.ttf +0 -0
- package/dist/fonts/SFProDisplay-Regular.woff +0 -0
- package/dist/fonts/SFProDisplay-Regular.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Semibold.ttf +0 -0
- package/dist/fonts/SFProDisplay-Semibold.woff +0 -0
- package/dist/fonts/SFProDisplay-Semibold.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Thin.ttf +0 -0
- package/dist/fonts/SFProDisplay-Thin.woff +0 -0
- package/dist/fonts/SFProDisplay-Thin.woff2 +0 -0
- package/dist/fonts/SFProDisplay-Ultralight.ttf +0 -0
- package/dist/fonts/SFProDisplay-Ultralight.woff +0 -0
- package/dist/fonts/SFProDisplay-Ultralight.woff2 +0 -0
- package/dist/fonts/iconfont.ttf +0 -0
- package/dist/fonts/iconfont.woff +0 -0
- package/dist/fonts/iconfont.woff2 +0 -0
- package/dist/index.d.ts +304 -0
- package/dist/index.es.js +1252 -0
- package/dist/index.umd.js +1 -0
- package/dist/namba-one-uikit.css +1 -0
- package/dist/scss/functions.scss +86 -0
- package/dist/scss/mixins.scss +178 -0
- package/dist/scss/spaces.scss +47 -0
- package/dist/scss/typography.scss +162 -0
- package/package.json +129 -0
package/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# namba-one-uikit
|
|
2
|
+
|
|
3
|
+
UI Kit на Vue 3 + TypeScript + Vite для проектов Namba One.
|
|
4
|
+
|
|
5
|
+
## Стек
|
|
6
|
+
|
|
7
|
+
- Vue 3
|
|
8
|
+
- TypeScript
|
|
9
|
+
- Vite
|
|
10
|
+
- Pinia
|
|
11
|
+
- SCSS/LESS
|
|
12
|
+
- ESLint, Stylelint, Prettier
|
|
13
|
+
|
|
14
|
+
## Структура проекта (FSD)
|
|
15
|
+
|
|
16
|
+
- `src/shared` — общие компоненты, утилиты, типы
|
|
17
|
+
- `src/entities` — бизнес-сущности
|
|
18
|
+
- `src/features` — фичи (функциональные блоки)
|
|
19
|
+
- `src/widgets` — виджеты (сложные UI-блоки)
|
|
20
|
+
- `src/pages` — страницы
|
|
21
|
+
- `src/app` — инициализация приложения, роутинг
|
|
22
|
+
|
|
23
|
+
## Быстрый старт
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install
|
|
27
|
+
npm run dev
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Сборка
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm run build
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Линтинг и форматирование
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm run lint
|
|
40
|
+
npm run lint:style
|
|
41
|
+
npm run format
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Процесс релиза
|
|
45
|
+
|
|
46
|
+
1. Сделать `npm run build`
|
|
47
|
+
2. Убедиться, что нет различий между ветками фичи, main, production
|
|
48
|
+
3. Сделать merge request из фичи в main ветку в gitlab
|
|
49
|
+
4. Сделать merge request из main в production ветку
|
|
50
|
+
5. Прогнать следующие команды:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
git switch production
|
|
54
|
+
npm run pre-release -- -m "fix: [text]"
|
|
55
|
+
npm run semantic-release
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Pull/Merge Request
|
|
59
|
+
|
|
60
|
+
- Описывать изменения в MR
|
|
61
|
+
- Проверять прохождение линтеров и сборки
|
|
62
|
+
- Следовать FSD-структуре при добавлении новых файлов
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
3
|
+
import { ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { DefineComponent } from 'vue';
|
|
5
|
+
import { ExtractPropTypes } from 'vue';
|
|
6
|
+
import { InjectionKey } from 'vue';
|
|
7
|
+
import { Plugin as Plugin_2 } from 'vue';
|
|
8
|
+
import { PropType } from 'vue';
|
|
9
|
+
import { PublicProps } from 'vue';
|
|
10
|
+
import { Ref } from 'vue';
|
|
11
|
+
import { RendererElement } from 'vue';
|
|
12
|
+
import { RendererNode } from 'vue';
|
|
13
|
+
import { SvgName } from '~virtual/svg-component';
|
|
14
|
+
import { VNode } from 'vue';
|
|
15
|
+
|
|
16
|
+
declare const __VLS_component: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
|
+
click: (e: Event) => any;
|
|
18
|
+
}, string, PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
19
|
+
onClick?: ((e: Event) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
|
|
22
|
+
declare const __VLS_component_2: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
|
|
24
|
+
declare function __VLS_template(): {
|
|
25
|
+
attrs: Partial<{}>;
|
|
26
|
+
slots: {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
};
|
|
29
|
+
refs: {};
|
|
30
|
+
rootEl: any;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
declare function __VLS_template_2(): {
|
|
34
|
+
attrs: Partial<{}>;
|
|
35
|
+
slots: {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
};
|
|
38
|
+
refs: {};
|
|
39
|
+
rootEl: any;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
43
|
+
|
|
44
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
45
|
+
|
|
46
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
declare const aligns: readonly ["left", "center", "right"];
|
|
59
|
+
|
|
60
|
+
export declare const Button: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
61
|
+
|
|
62
|
+
export declare const ButtonBase: DefineComponent<ButtonBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
63
|
+
click: (e: Event) => any;
|
|
64
|
+
}, string, PublicProps, Readonly<ButtonBaseProps> & Readonly<{
|
|
65
|
+
onClick?: ((e: Event) => any) | undefined;
|
|
66
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
67
|
+
|
|
68
|
+
export declare type ButtonBaseEmits = {
|
|
69
|
+
(event: 'click', e: Event): void;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export declare type ButtonBaseProps = {
|
|
73
|
+
tag?: (typeof tags)[number];
|
|
74
|
+
href?: string;
|
|
75
|
+
type?: (typeof types)[number];
|
|
76
|
+
isLoading?: boolean;
|
|
77
|
+
isDisabled?: boolean;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export declare type ButtonProps = ButtonBaseProps & {
|
|
81
|
+
view: (typeof views)[number];
|
|
82
|
+
size: (typeof sizes)[number];
|
|
83
|
+
interactionType?: InteractionType;
|
|
84
|
+
radius?: (typeof radiusSize)[number];
|
|
85
|
+
iconLeft?: IconName;
|
|
86
|
+
iconRight?: IconName;
|
|
87
|
+
isWide?: boolean;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export declare const ButtonSkeleton: DefineComponent<ButtonSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonSkeletonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
|
|
92
|
+
export declare type ButtonSkeletonProps = {
|
|
93
|
+
size: (typeof sizes)[number];
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
declare const colors: readonly ["inherit", "base", "secondary", "brand-accent", "brand-market", "error", "success", "inverse", "inverse-secondary", "disable"];
|
|
97
|
+
|
|
98
|
+
declare const colors_2: readonly ["brand-accent", "secondary", "base", "error", "success", "inverse", "green", "blue", "red", "disable"];
|
|
99
|
+
|
|
100
|
+
export declare const Currency: {
|
|
101
|
+
readonly KGS: "KGS";
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export declare type Currency = (typeof Currency)[keyof typeof Currency];
|
|
105
|
+
|
|
106
|
+
declare type FontName = (typeof fonts)[number];
|
|
107
|
+
|
|
108
|
+
declare const fonts: readonly ["titleHuge", "titleExtraLarge", "titleLarge", "titleLargeBold", "titleLargeHeavy", "titleLargeRegular", "titleMedium", "titleSmall", "titleSmallRegular", "titleExtraSmallBold", "titleExtraSmall", "headlineMedium", "headlineSmall", "subheadLarge", "subheadMedium", "subheadSmall", "body", "bodyMedium", "textLarge", "textMedium", "textSmall", "captionLarge", "captionMedium", "captionSmall"];
|
|
109
|
+
|
|
110
|
+
declare type GlobalConfig = {
|
|
111
|
+
interactionType: InteractionType;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export declare const Icon: DefineComponent<IconBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
115
|
+
|
|
116
|
+
export declare type IconBaseProps = {
|
|
117
|
+
name: SvgName;
|
|
118
|
+
color: (typeof colors_2)[number];
|
|
119
|
+
size?: number | string;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export declare type IconName = SvgName;
|
|
123
|
+
|
|
124
|
+
export declare const Loader: DefineComponent<LoaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
125
|
+
|
|
126
|
+
export declare type LoaderProps = {
|
|
127
|
+
view?: (typeof views_2)[number];
|
|
128
|
+
size?: (typeof sizes_2)[number];
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
declare const NambaOneUIKit: Plugin_2;
|
|
132
|
+
export default NambaOneUIKit;
|
|
133
|
+
|
|
134
|
+
declare const objectFitOptions: readonly ["cover", "contain"];
|
|
135
|
+
|
|
136
|
+
declare const radiusSize: readonly ["m", "s"];
|
|
137
|
+
|
|
138
|
+
declare const sizes: readonly ["xl", "l", "m", "s"];
|
|
139
|
+
|
|
140
|
+
declare const sizes_2: readonly ["xs", "s", "m", "l", "xl"];
|
|
141
|
+
|
|
142
|
+
declare const skeletonSizes: readonly ["title_huge", "title_large", "title_medium", "title_small", "title_extraSmall", "headline_small", "subhead_large", "text_small", "caption_small"];
|
|
143
|
+
|
|
144
|
+
export declare const SkeletonWrapper: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
145
|
+
|
|
146
|
+
declare const tags: readonly ["button", "a", "span", "router-link"];
|
|
147
|
+
|
|
148
|
+
declare const tags_2: readonly ["span", "p", "div", "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
149
|
+
|
|
150
|
+
export declare const TheImage: DefineComponent<TheImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheImageProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
151
|
+
|
|
152
|
+
export declare type TheImageProps = {
|
|
153
|
+
src: string;
|
|
154
|
+
alt: string;
|
|
155
|
+
width: string | number;
|
|
156
|
+
height: string | number;
|
|
157
|
+
objectFit: (typeof objectFitOptions)[number];
|
|
158
|
+
hasPlaceholder?: boolean;
|
|
159
|
+
hasPriority?: boolean;
|
|
160
|
+
isLayoutFill?: boolean;
|
|
161
|
+
hasMixBlendMode?: boolean;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
export declare const ThePicture: DefineComponent<ThePictureProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ThePictureProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
165
|
+
|
|
166
|
+
export declare type ThePictureProps = {
|
|
167
|
+
src: string;
|
|
168
|
+
alt: string;
|
|
169
|
+
width: string | number;
|
|
170
|
+
height: string | number;
|
|
171
|
+
objectFit: 'cover' | 'contain';
|
|
172
|
+
hasPriority?: boolean;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
export declare const TheText: DefineComponent<TheTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
176
|
+
|
|
177
|
+
export declare type TheTextProps = {
|
|
178
|
+
testId?: string;
|
|
179
|
+
tag?: (typeof tags_2)[number];
|
|
180
|
+
name?: FontName;
|
|
181
|
+
align?: (typeof aligns)[number];
|
|
182
|
+
color?: (typeof colors)[number];
|
|
183
|
+
isEllipsis?: boolean;
|
|
184
|
+
numberOfLines?: number | string;
|
|
185
|
+
fontFamily?: 'SfProDisplay' | 'SFMono';
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export declare const TheTextSkeleton: DefineComponent<TheTextSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextSkeletonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
189
|
+
|
|
190
|
+
export declare type TheTextSkeletonProps = {
|
|
191
|
+
color: (typeof colors)[number];
|
|
192
|
+
size: (typeof skeletonSizes)[number];
|
|
193
|
+
widthRange?: [number, number];
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export declare type Toast = {
|
|
197
|
+
icon?: Maybe<IconName>;
|
|
198
|
+
title: string;
|
|
199
|
+
timer?: number;
|
|
200
|
+
buttonText?: string;
|
|
201
|
+
onButtonClick?: () => void;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
export declare const Toaster: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
205
|
+
rootRef: HTMLDivElement;
|
|
206
|
+
toastersRef: HTMLDivElement[];
|
|
207
|
+
}, HTMLDivElement>;
|
|
208
|
+
|
|
209
|
+
export declare type ToastListItem = Toast & {
|
|
210
|
+
id: number;
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
export declare interface ToastService {
|
|
214
|
+
list: Ref<ToastListItem[]>;
|
|
215
|
+
pauseTimeouts(): void;
|
|
216
|
+
restartTimeouts(): void;
|
|
217
|
+
remove(id: number): void;
|
|
218
|
+
show(params: Toast | string): void;
|
|
219
|
+
showError(text?: string, icon?: IconName): void;
|
|
220
|
+
install(app: App): void;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export declare const toastService: ToastServiceImpl;
|
|
224
|
+
|
|
225
|
+
declare class ToastServiceImpl implements ToastService {
|
|
226
|
+
list: Ref<{
|
|
227
|
+
icon?: Maybe<IconName> | undefined;
|
|
228
|
+
title: string;
|
|
229
|
+
timer?: number | undefined;
|
|
230
|
+
buttonText?: string | undefined;
|
|
231
|
+
onButtonClick?: (() => void) | undefined;
|
|
232
|
+
id: number;
|
|
233
|
+
}[], ToastListItem[] | {
|
|
234
|
+
icon?: Maybe<IconName> | undefined;
|
|
235
|
+
title: string;
|
|
236
|
+
timer?: number | undefined;
|
|
237
|
+
buttonText?: string | undefined;
|
|
238
|
+
onButtonClick?: (() => void) | undefined;
|
|
239
|
+
id: number;
|
|
240
|
+
}[]>;
|
|
241
|
+
private timeouts;
|
|
242
|
+
restartTimeouts(): void;
|
|
243
|
+
pauseTimeouts(): void;
|
|
244
|
+
remove(id: number): void;
|
|
245
|
+
show(params: Toast | string): void;
|
|
246
|
+
showError(text?: string, icon?: IconName): void;
|
|
247
|
+
install(app: App): void;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export declare const ToastServiceKey: InjectionKey<ToastService>;
|
|
251
|
+
|
|
252
|
+
export declare const TransitionFade: DefineComponent<ExtractPropTypes< {
|
|
253
|
+
appear: {
|
|
254
|
+
type: PropType<TransitionFadeProps["appear"]>;
|
|
255
|
+
default: boolean;
|
|
256
|
+
};
|
|
257
|
+
mode: {
|
|
258
|
+
type: PropType<TransitionFadeProps["mode"]>;
|
|
259
|
+
default: string;
|
|
260
|
+
};
|
|
261
|
+
duration: {
|
|
262
|
+
type: PropType<TransitionFadeProps["duration"]>;
|
|
263
|
+
default: number;
|
|
264
|
+
};
|
|
265
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
266
|
+
[key: string]: any;
|
|
267
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
268
|
+
appear: {
|
|
269
|
+
type: PropType<TransitionFadeProps["appear"]>;
|
|
270
|
+
default: boolean;
|
|
271
|
+
};
|
|
272
|
+
mode: {
|
|
273
|
+
type: PropType<TransitionFadeProps["mode"]>;
|
|
274
|
+
default: string;
|
|
275
|
+
};
|
|
276
|
+
duration: {
|
|
277
|
+
type: PropType<TransitionFadeProps["duration"]>;
|
|
278
|
+
default: number;
|
|
279
|
+
};
|
|
280
|
+
}>> & Readonly<{}>, {
|
|
281
|
+
duration: number | undefined;
|
|
282
|
+
mode: "default" | "in-out" | "out-in" | undefined;
|
|
283
|
+
appear: boolean | undefined;
|
|
284
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
285
|
+
|
|
286
|
+
declare type TransitionFadeProps = {
|
|
287
|
+
appear?: boolean;
|
|
288
|
+
mode?: 'out-in' | 'in-out' | 'default';
|
|
289
|
+
duration?: number;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export declare const TransitionVisibilityToggle: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
293
|
+
|
|
294
|
+
declare const types: readonly ["button", "submit"];
|
|
295
|
+
|
|
296
|
+
export declare const useGlobalConfig: () => GlobalConfig;
|
|
297
|
+
|
|
298
|
+
export declare const useGlobalConfigProvide: (config: Partial<GlobalConfig>) => void;
|
|
299
|
+
|
|
300
|
+
declare const views: readonly ["primary", "tertiary", "outlineBase", "system", "brandOpacity", "secondary", "criticalOnSurface", "criticalOpacity", "onDarkPrimary", "base"];
|
|
301
|
+
|
|
302
|
+
declare const views_2: readonly ["orange", "white", "black", "gray", "red"];
|
|
303
|
+
|
|
304
|
+
export { }
|