@namba_one/ui-kit-2 1.0.149 → 1.0.151
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 +37 -13
- package/dist/index.es.js +2150 -2123
- package/dist/index.umd.js +24 -24
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { GlobalComponents } from 'vue';
|
|
|
14
14
|
import { GlobalDirectives } from 'vue';
|
|
15
15
|
import { InjectionKey } from 'vue';
|
|
16
16
|
import { InputHTMLAttributes } from 'vue';
|
|
17
|
+
import { MaskedRange } from 'imask/esm/index';
|
|
17
18
|
import { nextTick } from 'vue';
|
|
18
19
|
import { OnCleanup } from '@vue/reactivity';
|
|
19
20
|
import { PropType } from 'vue';
|
|
@@ -1438,7 +1439,7 @@ export declare const Avatar: DefineComponent<AvatarProps, {}, {}, {}, {}, Compon
|
|
|
1438
1439
|
export declare type AvatarProps = {
|
|
1439
1440
|
image?: string;
|
|
1440
1441
|
initials?: string;
|
|
1441
|
-
size?: (typeof
|
|
1442
|
+
size?: (typeof sizes_11)[number];
|
|
1442
1443
|
mode?: 'default' | 'initials';
|
|
1443
1444
|
};
|
|
1444
1445
|
|
|
@@ -1625,7 +1626,7 @@ export declare type CheckboxGroupFilterValue = FilterValueBase<string[]>;
|
|
|
1625
1626
|
|
|
1626
1627
|
export declare type CheckboxProps = {
|
|
1627
1628
|
value: boolean;
|
|
1628
|
-
size: (typeof
|
|
1629
|
+
size: (typeof sizes_10)[number];
|
|
1629
1630
|
isIndeterminate?: boolean;
|
|
1630
1631
|
isDisabled?: boolean;
|
|
1631
1632
|
};
|
|
@@ -1861,6 +1862,7 @@ readonly inputmode?: InputHTMLAttributes["inputmode"];
|
|
|
1861
1862
|
readonly autocomplete?: InputHTMLAttributes["autocomplete"];
|
|
1862
1863
|
readonly maxLength?: (number | string) | undefined;
|
|
1863
1864
|
readonly autofocus?: boolean | undefined;
|
|
1865
|
+
readonly size?: sizes_5[number] | undefined;
|
|
1864
1866
|
readonly iconLeft?: IconName | undefined;
|
|
1865
1867
|
readonly iconRight?: IconName | undefined;
|
|
1866
1868
|
readonly onBlur?: (() => any) | undefined;
|
|
@@ -1942,6 +1944,7 @@ readonly inputmode?: InputHTMLAttributes["inputmode"];
|
|
|
1942
1944
|
readonly autocomplete?: InputHTMLAttributes["autocomplete"];
|
|
1943
1945
|
readonly maxLength?: (number | string) | undefined;
|
|
1944
1946
|
readonly autofocus?: boolean | undefined;
|
|
1947
|
+
readonly size?: sizes_5[number] | undefined;
|
|
1945
1948
|
readonly iconLeft?: IconName | undefined;
|
|
1946
1949
|
readonly iconRight?: IconName | undefined;
|
|
1947
1950
|
readonly onBlur?: (() => any) | undefined;
|
|
@@ -2113,7 +2116,7 @@ declare type EmptyResponseProps = ResponseBaseProps & {
|
|
|
2113
2116
|
buttonIconRight?: IconName;
|
|
2114
2117
|
buttonText?: string;
|
|
2115
2118
|
route?: string;
|
|
2116
|
-
size?: (typeof
|
|
2119
|
+
size?: (typeof sizes_7)[number];
|
|
2117
2120
|
};
|
|
2118
2121
|
|
|
2119
2122
|
declare type FieldBaseProps = {
|
|
@@ -2243,6 +2246,7 @@ export declare type InputProps = {
|
|
|
2243
2246
|
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
2244
2247
|
maxLength?: number | string;
|
|
2245
2248
|
autofocus?: boolean;
|
|
2249
|
+
size?: (typeof sizes_5)[number];
|
|
2246
2250
|
iconLeft?: IconName;
|
|
2247
2251
|
iconRight?: IconName;
|
|
2248
2252
|
};
|
|
@@ -2279,7 +2283,7 @@ export declare type LinkProps = {
|
|
|
2279
2283
|
tag?: (typeof tags_3)[number];
|
|
2280
2284
|
href?: string;
|
|
2281
2285
|
view?: (typeof views_6)[number];
|
|
2282
|
-
size?: (typeof
|
|
2286
|
+
size?: (typeof sizes_6)[number];
|
|
2283
2287
|
weight?: (typeof weights_2)[number];
|
|
2284
2288
|
iconLeft?: IconName;
|
|
2285
2289
|
iconRight?: IconName;
|
|
@@ -2416,6 +2420,24 @@ declare const masks_2: {
|
|
|
2416
2420
|
mask: DateConstructor;
|
|
2417
2421
|
lazy: boolean;
|
|
2418
2422
|
};
|
|
2423
|
+
time: {
|
|
2424
|
+
mask: string;
|
|
2425
|
+
blocks: {
|
|
2426
|
+
HH: {
|
|
2427
|
+
mask: MaskedRange;
|
|
2428
|
+
from: number;
|
|
2429
|
+
to: number;
|
|
2430
|
+
maxLength: number;
|
|
2431
|
+
};
|
|
2432
|
+
MM: {
|
|
2433
|
+
mask: MaskedRange;
|
|
2434
|
+
from: number;
|
|
2435
|
+
to: number;
|
|
2436
|
+
maxLength: number;
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
lazy: boolean;
|
|
2440
|
+
};
|
|
2419
2441
|
};
|
|
2420
2442
|
|
|
2421
2443
|
export declare const MenuBar: DefineComponent<MenuBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<MenuBarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
@@ -2811,7 +2833,7 @@ export declare const ResponseBase: __VLS_WithTemplateSlots_11<typeof __VLS_compo
|
|
|
2811
2833
|
declare type ResponseBaseProps = {
|
|
2812
2834
|
img?: string;
|
|
2813
2835
|
title?: string;
|
|
2814
|
-
size?: (typeof
|
|
2836
|
+
size?: (typeof sizes_7)[number];
|
|
2815
2837
|
description?: string;
|
|
2816
2838
|
};
|
|
2817
2839
|
|
|
@@ -2994,7 +3016,9 @@ export declare type SelectProps = Pick<SelectBaseProps, 'label' | 'description'
|
|
|
2994
3016
|
|
|
2995
3017
|
declare const sizes: readonly ["title120", "title1", "title2", "title3", "headline", "body", "subhead", "caption"];
|
|
2996
3018
|
|
|
2997
|
-
declare const sizes_10: readonly ["
|
|
3019
|
+
declare const sizes_10: readonly ["16", "20"];
|
|
3020
|
+
|
|
3021
|
+
declare const sizes_11: readonly ["28", "36", "40", "56", "120", 28, 36, 40, 56, 120];
|
|
2998
3022
|
|
|
2999
3023
|
declare const sizes_2: readonly ["58", "50", "44", "40", "34", "28"];
|
|
3000
3024
|
|
|
@@ -3002,15 +3026,15 @@ declare const sizes_3: readonly ["58", "50", "44", "44_s", "34", "28"];
|
|
|
3002
3026
|
|
|
3003
3027
|
declare const sizes_4: readonly [120, 58, 56, 50, 44, 40, 34, 28, "120", "58", "56", "50", "44", "40", "34", "28"];
|
|
3004
3028
|
|
|
3005
|
-
declare const sizes_5: readonly ["
|
|
3029
|
+
declare const sizes_5: readonly ["34", "44", 34, 44];
|
|
3006
3030
|
|
|
3007
|
-
declare const sizes_6: readonly ["
|
|
3031
|
+
declare const sizes_6: readonly ["subhead", "caption"];
|
|
3008
3032
|
|
|
3009
|
-
declare const sizes_7: readonly ["
|
|
3033
|
+
declare const sizes_7: readonly ["large", "base", "small"];
|
|
3010
3034
|
|
|
3011
|
-
declare const sizes_8: readonly ["
|
|
3035
|
+
declare const sizes_8: readonly ["default", "28_caption", "36_subhead", "subhead", "body"];
|
|
3012
3036
|
|
|
3013
|
-
declare const sizes_9: readonly ["
|
|
3037
|
+
declare const sizes_9: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
|
|
3014
3038
|
|
|
3015
3039
|
export declare const SkeletonWrapper: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
3016
3040
|
|
|
@@ -3107,7 +3131,7 @@ export declare type TabsProps = {
|
|
|
3107
3131
|
value?: Maybe<number | string>;
|
|
3108
3132
|
label?: string;
|
|
3109
3133
|
view: (typeof views_8)[number];
|
|
3110
|
-
size: (typeof
|
|
3134
|
+
size: (typeof sizes_8)[number];
|
|
3111
3135
|
isDisabled?: boolean;
|
|
3112
3136
|
data: {
|
|
3113
3137
|
id: number | string;
|
|
@@ -3170,7 +3194,7 @@ skeleton: HTMLDivElement;
|
|
|
3170
3194
|
}, HTMLDivElement>;
|
|
3171
3195
|
|
|
3172
3196
|
export declare type TheTextSkeletonProps = {
|
|
3173
|
-
size?: (typeof
|
|
3197
|
+
size?: (typeof sizes_9)[number];
|
|
3174
3198
|
widthRange?: [number, number];
|
|
3175
3199
|
color: Color;
|
|
3176
3200
|
};
|