@namba_one/ui-kit-2 1.0.14 → 1.0.15
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/index.d.ts +38 -75
- package/dist/index.es.js +1381 -1414
- package/dist/index.umd.js +8 -8
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -31,17 +31,9 @@ import { WatchStopHandle } from 'vue';
|
|
|
31
31
|
|
|
32
32
|
declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
33
33
|
|
|
34
|
-
declare const __VLS_component_10: DefineComponent<
|
|
35
|
-
click: () => any;
|
|
36
|
-
}, string, PublicProps, Readonly<LinkProps> & Readonly<{
|
|
37
|
-
onClick?: (() => any) | undefined;
|
|
38
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const __VLS_component_10: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
|
|
39
35
|
|
|
40
|
-
declare const __VLS_component_11: DefineComponent<
|
|
41
|
-
|
|
42
|
-
declare const __VLS_component_12: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
|
|
43
|
-
|
|
44
|
-
declare const __VLS_component_13: DefineComponent<SelectBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
36
|
+
declare const __VLS_component_11: DefineComponent<SelectBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
45
37
|
close: () => any;
|
|
46
38
|
clickField: () => any;
|
|
47
39
|
clickOutside: () => any;
|
|
@@ -57,7 +49,7 @@ wrapperRef: HTMLDivElement;
|
|
|
57
49
|
dropdownRef: HTMLDivElement;
|
|
58
50
|
}, HTMLDivElement>;
|
|
59
51
|
|
|
60
|
-
declare const
|
|
52
|
+
declare const __VLS_component_12: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
61
53
|
|
|
62
54
|
declare const __VLS_component_2: DefineComponent<TheTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
63
55
|
|
|
@@ -93,9 +85,13 @@ close: () => any;
|
|
|
93
85
|
onClose?: (() => any) | undefined;
|
|
94
86
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
95
87
|
|
|
96
|
-
declare const __VLS_component_8: DefineComponent<
|
|
88
|
+
declare const __VLS_component_8: DefineComponent<LinkProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
89
|
+
click: () => any;
|
|
90
|
+
}, string, PublicProps, Readonly<LinkProps> & Readonly<{
|
|
91
|
+
onClick?: (() => any) | undefined;
|
|
92
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
97
93
|
|
|
98
|
-
declare const __VLS_component_9: DefineComponent<
|
|
94
|
+
declare const __VLS_component_9: DefineComponent<ResponseBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ResponseBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
99
95
|
|
|
100
96
|
declare type __VLS_Props = CardContentProps;
|
|
101
97
|
|
|
@@ -160,24 +156,6 @@ declare function __VLS_template(): {
|
|
|
160
156
|
};
|
|
161
157
|
|
|
162
158
|
declare function __VLS_template_10(): {
|
|
163
|
-
attrs: Partial<{}>;
|
|
164
|
-
slots: {
|
|
165
|
-
default?(_: {}): any;
|
|
166
|
-
};
|
|
167
|
-
refs: {};
|
|
168
|
-
rootEl: any;
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
declare function __VLS_template_11(): {
|
|
172
|
-
attrs: Partial<{}>;
|
|
173
|
-
slots: {
|
|
174
|
-
default?(_: {}): any;
|
|
175
|
-
};
|
|
176
|
-
refs: {};
|
|
177
|
-
rootEl: HTMLDivElement;
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
declare function __VLS_template_12(): {
|
|
181
159
|
attrs: Partial<{}>;
|
|
182
160
|
slots: {
|
|
183
161
|
default?(_: {}): any;
|
|
@@ -186,7 +164,7 @@ declare function __VLS_template_12(): {
|
|
|
186
164
|
rootEl: HTMLElement;
|
|
187
165
|
};
|
|
188
166
|
|
|
189
|
-
declare function
|
|
167
|
+
declare function __VLS_template_11(): {
|
|
190
168
|
attrs: Partial<{}>;
|
|
191
169
|
slots: {
|
|
192
170
|
field?(_: {}): any;
|
|
@@ -200,7 +178,7 @@ declare function __VLS_template_13(): {
|
|
|
200
178
|
rootEl: HTMLDivElement;
|
|
201
179
|
};
|
|
202
180
|
|
|
203
|
-
declare function
|
|
181
|
+
declare function __VLS_template_12(): {
|
|
204
182
|
attrs: Partial<{}>;
|
|
205
183
|
slots: {
|
|
206
184
|
default?(_: {}): any;
|
|
@@ -278,7 +256,7 @@ declare function __VLS_template_9(): {
|
|
|
278
256
|
default?(_: {}): any;
|
|
279
257
|
};
|
|
280
258
|
refs: {};
|
|
281
|
-
rootEl:
|
|
259
|
+
rootEl: HTMLDivElement;
|
|
282
260
|
};
|
|
283
261
|
|
|
284
262
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -289,10 +267,6 @@ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
|
289
267
|
|
|
290
268
|
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
291
269
|
|
|
292
|
-
declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
|
|
293
|
-
|
|
294
|
-
declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
|
|
295
|
-
|
|
296
270
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
297
271
|
|
|
298
272
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -333,18 +307,6 @@ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
|
333
307
|
};
|
|
334
308
|
};
|
|
335
309
|
|
|
336
|
-
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
337
|
-
new (): {
|
|
338
|
-
$slots: S;
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
343
|
-
new (): {
|
|
344
|
-
$slots: S;
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
|
|
348
310
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
349
311
|
new (): {
|
|
350
312
|
$slots: S;
|
|
@@ -400,7 +362,7 @@ declare const allAcceptTypes: readonly string[];
|
|
|
400
362
|
export declare const Badge: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
401
363
|
|
|
402
364
|
export declare type BadgeProps = {
|
|
403
|
-
view: (typeof
|
|
365
|
+
view: (typeof views)[number];
|
|
404
366
|
};
|
|
405
367
|
|
|
406
368
|
export declare const BannerOffer: DefineComponent<BannerOfferProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BannerOfferProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -421,7 +383,7 @@ export declare type ButtonBaseEmits = {
|
|
|
421
383
|
export declare type ButtonBaseProps = {
|
|
422
384
|
tag?: (typeof tags_2)[number];
|
|
423
385
|
href?: string;
|
|
424
|
-
view: (typeof
|
|
386
|
+
view: (typeof views_2)[number];
|
|
425
387
|
size: (typeof sizes_2)[number];
|
|
426
388
|
isLoading?: boolean;
|
|
427
389
|
isDisabled?: boolean;
|
|
@@ -635,7 +597,9 @@ export declare const Input: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {},
|
|
|
635
597
|
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
636
598
|
"onUpdate:value"?: ((value: string | null | undefined) => any) | undefined;
|
|
637
599
|
"onUpdate:error"?: ((value: boolean) => any) | undefined;
|
|
638
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
600
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
601
|
+
inputRef: any;
|
|
602
|
+
}, HTMLDivElement>;
|
|
639
603
|
|
|
640
604
|
declare type InputProps = {
|
|
641
605
|
type?: 'text' | 'password';
|
|
@@ -649,11 +613,12 @@ declare type InputProps = {
|
|
|
649
613
|
inputmode?: InputHTMLAttributes['inputmode'];
|
|
650
614
|
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
651
615
|
maxLength?: number | string;
|
|
616
|
+
autofocus?: boolean;
|
|
652
617
|
iconLeft?: IconName;
|
|
653
618
|
iconRight?: IconName;
|
|
654
619
|
};
|
|
655
620
|
|
|
656
|
-
export declare const Link:
|
|
621
|
+
export declare const Link: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
657
622
|
|
|
658
623
|
export declare type LinkEmits = {
|
|
659
624
|
(e: 'click'): void;
|
|
@@ -662,7 +627,7 @@ export declare type LinkEmits = {
|
|
|
662
627
|
export declare type LinkProps = {
|
|
663
628
|
tag?: (typeof tags_3)[number];
|
|
664
629
|
href?: string;
|
|
665
|
-
view?: (typeof
|
|
630
|
+
view?: (typeof views_3)[number];
|
|
666
631
|
iconLeft?: IconName;
|
|
667
632
|
iconRight?: IconName;
|
|
668
633
|
};
|
|
@@ -688,7 +653,7 @@ export declare type ListHeaderProps = {
|
|
|
688
653
|
export declare const Loader: DefineComponent<LoaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
689
654
|
|
|
690
655
|
export declare type LoaderProps = {
|
|
691
|
-
|
|
656
|
+
color: Color;
|
|
692
657
|
size: number | string;
|
|
693
658
|
};
|
|
694
659
|
|
|
@@ -740,6 +705,10 @@ declare const masks: {
|
|
|
740
705
|
any: {
|
|
741
706
|
mask: StringConstructor;
|
|
742
707
|
};
|
|
708
|
+
date: {
|
|
709
|
+
mask: DateConstructor;
|
|
710
|
+
lazy: boolean;
|
|
711
|
+
};
|
|
743
712
|
};
|
|
744
713
|
|
|
745
714
|
export declare const ModalConfirmation: DefineComponent<ModalConfirmationProps, {
|
|
@@ -820,7 +789,7 @@ export declare type ModalConfirmationEmits = {
|
|
|
820
789
|
};
|
|
821
790
|
|
|
822
791
|
export declare type ModalConfirmationProps = {
|
|
823
|
-
view: (typeof
|
|
792
|
+
view: (typeof views_4)[number];
|
|
824
793
|
title: string;
|
|
825
794
|
description: string;
|
|
826
795
|
buttonText: string;
|
|
@@ -842,7 +811,7 @@ export declare type PriceProps = {
|
|
|
842
811
|
weight: TheTextProps['weight'];
|
|
843
812
|
};
|
|
844
813
|
|
|
845
|
-
export declare const ResponseBase:
|
|
814
|
+
export declare const ResponseBase: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
846
815
|
|
|
847
816
|
declare type ResponseBaseProps = {
|
|
848
817
|
img?: string;
|
|
@@ -850,7 +819,7 @@ declare type ResponseBaseProps = {
|
|
|
850
819
|
description?: string;
|
|
851
820
|
};
|
|
852
821
|
|
|
853
|
-
export declare const Section:
|
|
822
|
+
export declare const Section: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
854
823
|
|
|
855
824
|
export declare const Select: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
856
825
|
"update:value": (value: Maybe<string | number>) => any;
|
|
@@ -858,7 +827,7 @@ export declare const Select: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}
|
|
|
858
827
|
"onUpdate:value"?: ((value: Maybe<string | number>) => any) | undefined;
|
|
859
828
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
860
829
|
|
|
861
|
-
export declare const SelectBase:
|
|
830
|
+
export declare const SelectBase: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
862
831
|
|
|
863
832
|
export declare type SelectBaseEmits = {
|
|
864
833
|
(event: 'clickField'): void;
|
|
@@ -920,7 +889,7 @@ export declare const Tabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {},
|
|
|
920
889
|
export declare type TabsProps = {
|
|
921
890
|
value?: Maybe<number | string>;
|
|
922
891
|
label?: string;
|
|
923
|
-
view: (typeof
|
|
892
|
+
view: (typeof views_5)[number];
|
|
924
893
|
size: (typeof sizes_4)[number];
|
|
925
894
|
isDisabled?: boolean;
|
|
926
895
|
data: {
|
|
@@ -968,7 +937,7 @@ skeleton: HTMLDivElement;
|
|
|
968
937
|
|
|
969
938
|
export declare type TheTextSkeletonProps = {
|
|
970
939
|
size?: (typeof sizes_5)[number];
|
|
971
|
-
view?: (typeof
|
|
940
|
+
view?: (typeof views_6)[number];
|
|
972
941
|
widthRange?: [number, number];
|
|
973
942
|
};
|
|
974
943
|
|
|
@@ -1107,11 +1076,7 @@ declare type TransitionFadeProps_2 = {
|
|
|
1107
1076
|
duration?: number;
|
|
1108
1077
|
};
|
|
1109
1078
|
|
|
1110
|
-
export declare const TransitionHeight:
|
|
1111
|
-
|
|
1112
|
-
export declare const TransitionSlideDown: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1113
|
-
|
|
1114
|
-
export declare const TransitionSlideRight: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1079
|
+
export declare const TransitionHeight: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1115
1080
|
|
|
1116
1081
|
export declare const useDropdownAnimation: () => {
|
|
1117
1082
|
beforeEnter: (el: HTMLElement) => void;
|
|
@@ -1150,19 +1115,17 @@ export declare const UserRowSkeleton: DefineComponent< {}, {}, {}, {}, {}, Co
|
|
|
1150
1115
|
|
|
1151
1116
|
declare type Value = ColorInput | undefined;
|
|
1152
1117
|
|
|
1153
|
-
declare const views: readonly ["
|
|
1154
|
-
|
|
1155
|
-
declare const views_2: readonly ["brand", "secondary", "success", "critical"];
|
|
1118
|
+
declare const views: readonly ["brand", "secondary", "success", "critical"];
|
|
1156
1119
|
|
|
1157
|
-
declare const
|
|
1120
|
+
declare const views_2: readonly ["secondary", "critical", "primary", "surface", "surface-shadow", "account-surface", "primary-flat", "base", "base-primary", "brand-flat"];
|
|
1158
1121
|
|
|
1159
|
-
declare const
|
|
1122
|
+
declare const views_3: readonly ["base", "secondary"];
|
|
1160
1123
|
|
|
1161
|
-
declare const
|
|
1124
|
+
declare const views_4: readonly ["base", "critical"];
|
|
1162
1125
|
|
|
1163
|
-
declare const
|
|
1126
|
+
declare const views_5: readonly ["default", "flat", "flat-secondary"];
|
|
1164
1127
|
|
|
1165
|
-
declare const
|
|
1128
|
+
declare const views_6: readonly ["secondary", "base"];
|
|
1166
1129
|
|
|
1167
1130
|
declare const weights: readonly ["regular", "medium", "semibold", "bold"];
|
|
1168
1131
|
|