@namba_one/ui-kit-2 1.0.4 → 1.0.5
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/fonts/Onest-Bold.ttf +0 -0
- package/dist/fonts/Onest-Bold.woff +0 -0
- package/dist/fonts/Onest-Bold.woff2 +0 -0
- package/dist/fonts/Onest-Medium.ttf +0 -0
- package/dist/fonts/Onest-Medium.woff +0 -0
- package/dist/fonts/Onest-Medium.woff2 +0 -0
- package/dist/fonts/Onest-Regular.ttf +0 -0
- package/dist/fonts/Onest-Regular.woff +0 -0
- package/dist/fonts/Onest-Regular.woff2 +0 -0
- package/dist/fonts/Onest-SemiBold.ttf +0 -0
- package/dist/fonts/Onest-SemiBold.woff +0 -0
- package/dist/fonts/Onest-SemiBold.woff2 +0 -0
- package/dist/fonts/SFPro-Regular.woff +0 -0
- package/dist/fonts/SFPro-Regular.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-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/SFProText-Bold.woff +0 -0
- package/dist/fonts/SFProText-Bold.woff2 +0 -0
- package/dist/fonts/SFProText-Medium.woff +0 -0
- package/dist/fonts/SFProText-Medium.woff2 +0 -0
- package/dist/fonts/SFProText-Regular.woff +0 -0
- package/dist/fonts/SFProText-Regular.woff2 +0 -0
- package/dist/fonts/SFProText-Semibold.woff +0 -0
- package/dist/fonts/SFProText-Semibold.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 +39 -114
- package/dist/index.es.js +448 -1068
- package/dist/index.umd.js +1 -1
- package/dist/namba-one-uikit.css +1 -1
- package/dist/scss/mixins.scss +55 -5
- package/dist/scss/spaces.scss +28 -13
- package/dist/scss/typography.scss +31 -142
- package/dist/sprite/sprite.svg +373 -0
- package/package.json +10 -2
- 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-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-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/src/shims/svg-component-global.d.ts +0 -26
- package/src/shims/svg-component.d.ts +0 -26
|
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/fonts/iconfont.ttf
CHANGED
|
Binary file
|
package/dist/fonts/iconfont.woff
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -10,16 +10,11 @@ import { PublicProps } from 'vue';
|
|
|
10
10
|
import { Ref } from 'vue';
|
|
11
11
|
import { RendererElement } from 'vue';
|
|
12
12
|
import { RendererNode } from 'vue';
|
|
13
|
-
import { SvgName } from '~virtual/svg-component';
|
|
14
13
|
import { VNode } from 'vue';
|
|
15
14
|
|
|
16
|
-
declare const __VLS_component: DefineComponent<
|
|
17
|
-
click: (e: Event) => any;
|
|
18
|
-
}, string, PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
19
|
-
onClick?: ((e: Event) => any) | undefined;
|
|
20
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
21
16
|
|
|
22
|
-
declare const __VLS_component_2: DefineComponent<
|
|
17
|
+
declare const __VLS_component_2: DefineComponent<TheTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
23
18
|
|
|
24
19
|
declare function __VLS_template(): {
|
|
25
20
|
attrs: Partial<{}>;
|
|
@@ -27,7 +22,7 @@ declare function __VLS_template(): {
|
|
|
27
22
|
default?(_: {}): any;
|
|
28
23
|
};
|
|
29
24
|
refs: {};
|
|
30
|
-
rootEl:
|
|
25
|
+
rootEl: HTMLDivElement;
|
|
31
26
|
};
|
|
32
27
|
|
|
33
28
|
declare function __VLS_template_2(): {
|
|
@@ -57,45 +52,9 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
57
52
|
|
|
58
53
|
declare const aligns: readonly ["left", "center", "right"];
|
|
59
54
|
|
|
60
|
-
|
|
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
|
-
};
|
|
55
|
+
declare type Color = typeof colors[number];
|
|
95
56
|
|
|
96
|
-
declare const colors: readonly ["
|
|
97
|
-
|
|
98
|
-
declare const colors_2: readonly ["brand-accent", "secondary", "base", "error", "success", "inverse", "green", "blue", "red", "disable"];
|
|
57
|
+
declare const colors: readonly ["text-common-base-primary-default", "text-common-base-secondary-default", "bg-common-base-primary-default", "bg-common-brand-primary-default", "bg-common-brand-secondary-default", "bg-common-base-secondary-default", "text-common-base-inverse-default", "bg-common-critical-primary-default", "bg-common-critical-secondary-default", "bg-common-success-primary-default", "bg-common-success-secondary-default", "text-common-primary-default", "text-common-critical-primary-default", "text-common-success-primary-default", "icon-common-base-primary-default", "icon-common-base-secondary-default", "icon-common-base-tertiary-default", "icon-common-brand-primary-default", "icon-common-critical-primary-default", "icon-common-success-primary-default", "border-common-base-primary", "border-common-brand-primary", "border-common-critical-primary", "border-common-success-primary", "bg-disable-default", "text-disable-default", "icon-disable-primary", "text-button-base-primary", "text-button-base-inverse", "text-button-brand-primary", "text-button-critical-primary", "text-button-success-primary", "bg-button-base-secondary-default", "bg-button-base-primary-default", "bg-button-brand-default", "bg-button-success-default", "bg-button-critical-default", "icon-button-base-primary", "icon-button-base-inverse", "icon-button-brand-primary", "icon-button-critical-primary", "icon-button-success-primary", "bg-input-base-primary-default", "text-input-base-primary", "icon-input-base-primary", "border-input-base-primary", "bg-common-base-tertiary-default", "text-input-base-secondary", "bg-button-base-inverse-default", "bg-common-base-inverse-default", "border-input-accent-critical", "bg-common-opacity-base-300", "bg-common-opacity-base-500", "background-layout-layout-2", "background-layout-layout-1", "text-common-base-base", "icon-common-base-base-500", "background-state-action-base-t-active", "text-common-base-base-500", "icon-common-base-base", "icon-common-base-base-600", "text-common-base-base-600", "border-common-base-base-1000-5", "background-surface-account-account-2", "background-surface-account-account-3", "background-surface-account-account-4", "background-surface-account-account-1", "background-surface-account-account-5", "background-surface-account-account-6", "background-surface-account-account-7", "background-surface-account-account-8", "background-surface-account-account-9", "foreground-surface-account-account-1-primary", "foreground-surface-account-account-2-primary", "foreground-surface-account-account-3-primary", "foreground-surface-account-account-4-primary", "foreground-surface-account-account-5-primary", "foreground-surface-account-account-6-primary", "foreground-surface-account-account-7-primary", "foreground-surface-account-account-8-primary", "foreground-surface-account-account-9-primary", "foreground-surface-account-account-8-secondary", "foreground-surface-account-account-7-secondary", "foreground-surface-account-account-3-secondary", "foreground-surface-account-account-5-secondary", "foreground-surface-account-account-4-secondary", "foreground-surface-account-account-6-secondary", "foreground-surface-account-account-2-secondary", "foreground-surface-account-product-9-secondary", "foreground-surface-account-account-1-secondary", "background-surface-layout-1-surface", "background-surface-popover-base", "foreground-layout-layout-1-primary", "foreground-layout-layout-2-primary", "foreground-layout-layout-2-secondary", "foreground-layout-layout-1-secondary", "background-surface-layout-1-surface-2", "foreground-surface-layout-1-surface-2-primary", "foreground-surface-layout-1-surface-2-critical", "foreground-layout-layout-1-success", "border-layout-layout-1-base", "interactive-base-surface-2", "interactive-text-base-surface-2", "interactive-text-base", "background-interactive-button-product-surface", "foreground-interactive-button-product-surface", "foreground-surface-layout-1-surface-primary", "foreground-surface-popover-base", "border-surface-popover-base", "foreground-surface-popover-base-secondary", "foreground-surface-popover-base-critical", "foreground-surface-layout-1-surface-2-secondary", "background-surface-account-account-1-t-0", "background-surface-account-account-8-t-0", "background-surface-account-account-5-t-0", "background-surface-account-account-7-t-0", "background-surface-account-account-6-t-0", "background-surface-account-account-9-t-0", "background-surface-account-account-3-t-0", "background-surface-account-account-4-t-0", "background-surface-account-account-2-t-0", "background-surface-layout-1-surface-3", "border-layout-layout-1-primary", "background-interactive-input-input-base", "foreground-interactive-input-base-primary", "foreground-interactive-input-base-placeholder", "foreground-interactive-input-base-secondary", "background-element-avatar-base-t", "foreground-layout-layout-1-critical", "border-input-base-primary-2", "border-input-base-primary-3", "border-interactive-input-base", "border-interactive-input-base-critical", "background-surface-account-account-4-contrast", "background-surface-account-account-2-contrast", "background-surface-account-account-1-contrast", "background-surface-account-account-8-contrast", "background-surface-account-account-3-contrast", "background-surface-account-account-7-contrast", "background-surface-account-account-5-contrast", "background-surface-account-account-6-contrast", "background-surface-account-account-9-contrast", "background-interactive-button-base", "foreground-interactive-button-base", "background-interactive-button-surface", "foreground-interactive-button-surface-filled", "background-layout-overlay", "background-surface-modal-base", "background-interactive-button-primary", "foreground-interactive-button-primary", "background-surface-popover-base-0", "background-interactive-scroll-primary-t", "background-surface-layout-1-surface-2-t-0", "illustration-illustration-bg-critical", "background-surface-tooltip-primary", "foreground-element-tooltip-primary", "border-interactive-input-base-focus", "bg-input-base-primary-default-2", "foreground-element-avatar-base-t", "border-element-avatar-base-t", "foreground-interactive-button-primary-flat", "bg-common-brand-primary-default-2", "foreground-interactive-input-focus-cursor-brand", "background-interactive-input-input-base-focus", "foreground-interactive-button-brand-flat", "illustration-illustration-bg-base-contrast", "illustration-illustration-border-base", "illustration-illustration-border-primary", "illustration-illustration-background", "illustration-illustration-border-base-contrast-primary", "background-on-primary-overlay", "background-element-badge-base-t", "foreground-element-badge-base-t", "background-surface-layout-1-surface-t-0", "foreground-layout-layout-1-brand", "background-surface-layout-1-succes", "background-surface-layout-1-critical", "background-surface-layout-1-succes-contrast", "background-surface-layout-1-critical-contrast", "foreground-surface-layout-1-critical-contrast-primary", "foreground-surface-layout-1-surface-success-contrast", "border-layout-layout-1-surface", "background-interactive-select-base-2", "foreground-interactive-select-base-2-placeholder", "foreground-interactive-select-base-2-primary", "border-interactive-select-select-base-critical", "border-interactive-select-base-focus", "border-interactive-select-base", "foreground-interactive-select-base-2-critical", "background-element-badge-success", "foreground-element-badge-succes", "background-element-badge-critical", "foreground-element-badge-critical", "background-element-badge-brand", "foreground-element-badge-brand", "border-layout-layout-1", "text-button-base-secondary", "icon-button-base-secondary", "background-interactive-button-critical-contrast", "foreground-interactive-button-critical-contrast", "bg-button-critical-default-2", "background-interactive-button-critical", "foreground-interactive-button-critical", "background-surface-layout-1-surface-4", "background-surface-layout-1-warning", "foreground-surface-layout-1-surface-2-warning"];
|
|
99
58
|
|
|
100
59
|
export declare const Currency: {
|
|
101
60
|
readonly KGS: "KGS";
|
|
@@ -103,49 +62,49 @@ export declare const Currency: {
|
|
|
103
62
|
|
|
104
63
|
export declare type Currency = (typeof Currency)[keyof typeof Currency];
|
|
105
64
|
|
|
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
65
|
declare type GlobalConfig = {
|
|
111
66
|
interactionType: InteractionType;
|
|
112
67
|
};
|
|
113
68
|
|
|
114
|
-
export declare const Icon: DefineComponent<IconBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
69
|
+
export declare const Icon: DefineComponent<IconBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
115
70
|
|
|
116
71
|
export declare type IconBaseProps = {
|
|
117
|
-
name:
|
|
118
|
-
color:
|
|
72
|
+
name: IconName;
|
|
73
|
+
color: Color;
|
|
119
74
|
size?: number | string;
|
|
120
75
|
};
|
|
121
76
|
|
|
122
|
-
export declare type IconName =
|
|
77
|
+
export declare type IconName = (typeof iconNames)[number];
|
|
78
|
+
|
|
79
|
+
declare const iconNames: readonly ["box", "call", "carousel", "check", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "copy", "cross", "currency_bold", "currency_medium", "currency_regular", "currency_semibold", "download", "edit", "euro", "eyeClose", "eyeOpen", "image", "image_outline", "logout", "move", "placeholder", "plus", "promo", "shop", "sort-by-down", "sort-by-up", "success", "success_filled", "trash", "upload", "user", "warning", "warning_filled"];
|
|
123
80
|
|
|
124
|
-
export declare const Loader: DefineComponent<LoaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
81
|
+
export declare const Loader: DefineComponent<LoaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
125
82
|
|
|
126
83
|
export declare type LoaderProps = {
|
|
127
|
-
view
|
|
128
|
-
size
|
|
84
|
+
view: (typeof views)[number];
|
|
85
|
+
size: number | string;
|
|
129
86
|
};
|
|
130
87
|
|
|
131
88
|
declare const NambaOneUIKit: Plugin_2;
|
|
132
89
|
export default NambaOneUIKit;
|
|
133
90
|
|
|
134
|
-
declare const
|
|
91
|
+
declare const objectFits: readonly ["cover", "contain"];
|
|
135
92
|
|
|
136
|
-
declare const
|
|
93
|
+
declare const sizes: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
|
|
137
94
|
|
|
138
|
-
declare const
|
|
95
|
+
export declare const SkeletonWrapper: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
139
96
|
|
|
140
|
-
declare
|
|
141
|
-
|
|
142
|
-
|
|
97
|
+
declare interface SpriteService {
|
|
98
|
+
install(app: App): void;
|
|
99
|
+
}
|
|
143
100
|
|
|
144
|
-
export declare const
|
|
101
|
+
export declare const spriteService: SpriteServiceImp;
|
|
145
102
|
|
|
146
|
-
declare
|
|
103
|
+
declare class SpriteServiceImp implements SpriteService {
|
|
104
|
+
install(): Promise<void>;
|
|
105
|
+
}
|
|
147
106
|
|
|
148
|
-
declare const
|
|
107
|
+
declare const tags: readonly ["span", "p", "div", "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
149
108
|
|
|
150
109
|
export declare const TheImage: DefineComponent<TheImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheImageProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
151
110
|
|
|
@@ -154,51 +113,27 @@ export declare type TheImageProps = {
|
|
|
154
113
|
alt: string;
|
|
155
114
|
width: string | number;
|
|
156
115
|
height: string | number;
|
|
157
|
-
objectFit: (typeof
|
|
116
|
+
objectFit: (typeof objectFits)[number];
|
|
158
117
|
hasPlaceholder?: boolean;
|
|
159
118
|
hasPriority?: boolean;
|
|
160
119
|
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
120
|
};
|
|
174
121
|
|
|
175
|
-
export declare const TheText:
|
|
122
|
+
export declare const TheText: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
176
123
|
|
|
177
124
|
export declare type TheTextProps = {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
name?: FontName;
|
|
125
|
+
tag?: (typeof tags)[number];
|
|
126
|
+
size?: (typeof sizes)[number];
|
|
181
127
|
align?: (typeof aligns)[number];
|
|
182
|
-
|
|
183
|
-
|
|
128
|
+
weight?: (typeof weights)[number];
|
|
129
|
+
color?: Color | 'inherit';
|
|
184
130
|
numberOfLines?: number | string;
|
|
185
|
-
|
|
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];
|
|
131
|
+
isMono?: boolean;
|
|
194
132
|
};
|
|
195
133
|
|
|
196
134
|
export declare type Toast = {
|
|
197
|
-
icon?: Maybe<IconName>;
|
|
198
135
|
title: string;
|
|
199
|
-
|
|
200
|
-
buttonText?: string;
|
|
201
|
-
onButtonClick?: () => void;
|
|
136
|
+
view: 'danger' | 'success';
|
|
202
137
|
};
|
|
203
138
|
|
|
204
139
|
export declare const Toaster: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
@@ -224,18 +159,12 @@ export declare const toastService: ToastServiceImpl;
|
|
|
224
159
|
|
|
225
160
|
declare class ToastServiceImpl implements ToastService {
|
|
226
161
|
list: Ref<{
|
|
227
|
-
icon?: Maybe<IconName> | undefined;
|
|
228
162
|
title: string;
|
|
229
|
-
|
|
230
|
-
buttonText?: string | undefined;
|
|
231
|
-
onButtonClick?: (() => void) | undefined;
|
|
163
|
+
view: "danger" | "success";
|
|
232
164
|
id: number;
|
|
233
165
|
}[], ToastListItem[] | {
|
|
234
|
-
icon?: Maybe<IconName> | undefined;
|
|
235
166
|
title: string;
|
|
236
|
-
|
|
237
|
-
buttonText?: string | undefined;
|
|
238
|
-
onButtonClick?: (() => void) | undefined;
|
|
167
|
+
view: "danger" | "success";
|
|
239
168
|
id: number;
|
|
240
169
|
}[]>;
|
|
241
170
|
private timeouts;
|
|
@@ -243,7 +172,7 @@ declare class ToastServiceImpl implements ToastService {
|
|
|
243
172
|
pauseTimeouts(): void;
|
|
244
173
|
remove(id: number): void;
|
|
245
174
|
show(params: Toast | string): void;
|
|
246
|
-
showError(text?: string
|
|
175
|
+
showError(text?: string): void;
|
|
247
176
|
install(app: App): void;
|
|
248
177
|
}
|
|
249
178
|
|
|
@@ -278,9 +207,9 @@ type: PropType<TransitionFadeProps["duration"]>;
|
|
|
278
207
|
default: number;
|
|
279
208
|
};
|
|
280
209
|
}>> & Readonly<{}>, {
|
|
281
|
-
duration: number | undefined;
|
|
282
210
|
mode: "default" | "in-out" | "out-in" | undefined;
|
|
283
211
|
appear: boolean | undefined;
|
|
212
|
+
duration: number | undefined;
|
|
284
213
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
285
214
|
|
|
286
215
|
declare type TransitionFadeProps = {
|
|
@@ -289,16 +218,12 @@ declare type TransitionFadeProps = {
|
|
|
289
218
|
duration?: number;
|
|
290
219
|
};
|
|
291
220
|
|
|
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
221
|
export declare const useGlobalConfig: () => GlobalConfig;
|
|
297
222
|
|
|
298
223
|
export declare const useGlobalConfigProvide: (config: Partial<GlobalConfig>) => void;
|
|
299
224
|
|
|
300
|
-
declare const views: readonly ["
|
|
225
|
+
declare const views: readonly ["default", "critical", "surface", ""];
|
|
301
226
|
|
|
302
|
-
declare const
|
|
227
|
+
declare const weights: readonly ["regular", "medium", "semibold", "bold"];
|
|
303
228
|
|
|
304
229
|
export { }
|