@namba_one/ui-kit-2 1.3.0 → 1.3.2
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 +28 -19
- package/dist/index.es.js +5009 -4996
- package/dist/index.umd.js +18 -18
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -208,6 +208,7 @@ $data: {};
|
|
|
208
208
|
$props: {
|
|
209
209
|
readonly count?: (number | string) | undefined;
|
|
210
210
|
readonly view?: views_5[number] | undefined;
|
|
211
|
+
readonly size?: sizes_4[number] | undefined;
|
|
211
212
|
readonly onClick?: (() => any) | undefined;
|
|
212
213
|
readonly onDelete?: (() => any) | undefined;
|
|
213
214
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -223,6 +224,7 @@ $data: {};
|
|
|
223
224
|
$props: {
|
|
224
225
|
readonly count?: (number | string) | undefined;
|
|
225
226
|
readonly view?: views_5[number] | undefined;
|
|
227
|
+
readonly size?: sizes_4[number] | undefined;
|
|
226
228
|
readonly onClick?: (() => any) | undefined;
|
|
227
229
|
readonly onDelete?: (() => any) | undefined;
|
|
228
230
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1490,6 +1492,7 @@ declare function __VLS_template_32(): {
|
|
|
1490
1492
|
$props: {
|
|
1491
1493
|
readonly count?: (number | string) | undefined;
|
|
1492
1494
|
readonly view?: views_5[number] | undefined;
|
|
1495
|
+
readonly size?: sizes_4[number] | undefined;
|
|
1493
1496
|
readonly onClick?: (() => any) | undefined;
|
|
1494
1497
|
readonly onDelete?: (() => any) | undefined;
|
|
1495
1498
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1505,6 +1508,7 @@ declare function __VLS_template_32(): {
|
|
|
1505
1508
|
$props: {
|
|
1506
1509
|
readonly count?: (number | string) | undefined;
|
|
1507
1510
|
readonly view?: views_5[number] | undefined;
|
|
1511
|
+
readonly size?: sizes_4[number] | undefined;
|
|
1508
1512
|
readonly onClick?: (() => any) | undefined;
|
|
1509
1513
|
readonly onDelete?: (() => any) | undefined;
|
|
1510
1514
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -2748,7 +2752,7 @@ export declare const Avatar: DefineComponent<AvatarProps, {}, {}, {}, {}, Compon
|
|
|
2748
2752
|
export declare type AvatarProps = {
|
|
2749
2753
|
image?: string;
|
|
2750
2754
|
initials?: string;
|
|
2751
|
-
size?: (typeof
|
|
2755
|
+
size?: (typeof sizes_11)[number];
|
|
2752
2756
|
mode?: 'default' | 'initials';
|
|
2753
2757
|
};
|
|
2754
2758
|
|
|
@@ -2950,7 +2954,7 @@ export declare type CheckboxGroupFilterValue = FilterValueBase<string[]>;
|
|
|
2950
2954
|
|
|
2951
2955
|
export declare type CheckboxProps = {
|
|
2952
2956
|
value: Maybe<boolean>;
|
|
2953
|
-
size: (typeof
|
|
2957
|
+
size: (typeof sizes_10)[number];
|
|
2954
2958
|
isIndeterminate?: boolean;
|
|
2955
2959
|
isDisabled?: boolean;
|
|
2956
2960
|
};
|
|
@@ -2965,6 +2969,7 @@ export declare type ChipEmits = {
|
|
|
2965
2969
|
export declare type ChipProps = {
|
|
2966
2970
|
count?: number | string;
|
|
2967
2971
|
view?: (typeof views_5)[number];
|
|
2972
|
+
size?: (typeof sizes_4)[number];
|
|
2968
2973
|
};
|
|
2969
2974
|
|
|
2970
2975
|
declare function close_2(): void;
|
|
@@ -3030,6 +3035,7 @@ $data: {};
|
|
|
3030
3035
|
$props: {
|
|
3031
3036
|
readonly count?: (number | string) | undefined;
|
|
3032
3037
|
readonly view?: views_5[number] | undefined;
|
|
3038
|
+
readonly size?: sizes_4[number] | undefined;
|
|
3033
3039
|
readonly onClick?: (() => any) | undefined;
|
|
3034
3040
|
readonly onDelete?: (() => any) | undefined;
|
|
3035
3041
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -3045,6 +3051,7 @@ $data: {};
|
|
|
3045
3051
|
$props: {
|
|
3046
3052
|
readonly count?: (number | string) | undefined;
|
|
3047
3053
|
readonly view?: views_5[number] | undefined;
|
|
3054
|
+
readonly size?: sizes_4[number] | undefined;
|
|
3048
3055
|
readonly onClick?: (() => any) | undefined;
|
|
3049
3056
|
readonly onDelete?: (() => any) | undefined;
|
|
3050
3057
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -3202,7 +3209,7 @@ readonly inputmode?: InputHTMLAttributes["inputmode"];
|
|
|
3202
3209
|
readonly autocomplete?: InputHTMLAttributes["autocomplete"];
|
|
3203
3210
|
readonly maxLength?: (number | string) | undefined;
|
|
3204
3211
|
readonly autofocus?: boolean | undefined;
|
|
3205
|
-
readonly size?:
|
|
3212
|
+
readonly size?: sizes_6[number] | undefined;
|
|
3206
3213
|
readonly iconLeft?: IconName | undefined;
|
|
3207
3214
|
readonly iconRight?: IconName | undefined;
|
|
3208
3215
|
readonly onBlur?: (() => any) | undefined;
|
|
@@ -3293,7 +3300,7 @@ readonly inputmode?: InputHTMLAttributes["inputmode"];
|
|
|
3293
3300
|
readonly autocomplete?: InputHTMLAttributes["autocomplete"];
|
|
3294
3301
|
readonly maxLength?: (number | string) | undefined;
|
|
3295
3302
|
readonly autofocus?: boolean | undefined;
|
|
3296
|
-
readonly size?:
|
|
3303
|
+
readonly size?: sizes_6[number] | undefined;
|
|
3297
3304
|
readonly iconLeft?: IconName | undefined;
|
|
3298
3305
|
readonly iconRight?: IconName | undefined;
|
|
3299
3306
|
readonly onBlur?: (() => any) | undefined;
|
|
@@ -3473,7 +3480,7 @@ declare type EmptyResponseProps = ResponseBaseProps & {
|
|
|
3473
3480
|
buttonIconRight?: IconName;
|
|
3474
3481
|
buttonText?: string;
|
|
3475
3482
|
route?: string;
|
|
3476
|
-
size?: (typeof
|
|
3483
|
+
size?: (typeof sizes_8)[number];
|
|
3477
3484
|
};
|
|
3478
3485
|
|
|
3479
3486
|
declare type FieldBaseProps = {
|
|
@@ -3806,7 +3813,7 @@ export declare const IconView: DefineComponent<IconViewProps, {}, {}, {}, {}, Co
|
|
|
3806
3813
|
export declare type IconViewProps = {
|
|
3807
3814
|
icon: IconName;
|
|
3808
3815
|
view?: (typeof views_6)[number];
|
|
3809
|
-
size: (typeof
|
|
3816
|
+
size: (typeof sizes_5)[number];
|
|
3810
3817
|
isRounded?: boolean;
|
|
3811
3818
|
};
|
|
3812
3819
|
|
|
@@ -3879,7 +3886,7 @@ export declare type InputProps = {
|
|
|
3879
3886
|
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
3880
3887
|
maxLength?: number | string;
|
|
3881
3888
|
autofocus?: boolean;
|
|
3882
|
-
size?: (typeof
|
|
3889
|
+
size?: (typeof sizes_6)[number];
|
|
3883
3890
|
iconLeft?: IconName;
|
|
3884
3891
|
iconRight?: IconName;
|
|
3885
3892
|
};
|
|
@@ -3922,7 +3929,7 @@ export declare type LinkProps = {
|
|
|
3922
3929
|
tag?: (typeof tags_4)[number];
|
|
3923
3930
|
href?: string;
|
|
3924
3931
|
view?: (typeof views_7)[number];
|
|
3925
|
-
size?: (typeof
|
|
3932
|
+
size?: (typeof sizes_7)[number];
|
|
3926
3933
|
weight?: (typeof weights_2)[number];
|
|
3927
3934
|
iconLeft?: IconName;
|
|
3928
3935
|
iconRight?: IconName;
|
|
@@ -4757,7 +4764,7 @@ export declare const ResponseBase: __VLS_WithTemplateSlots_11<typeof __VLS_compo
|
|
|
4757
4764
|
declare type ResponseBaseProps = {
|
|
4758
4765
|
img?: string;
|
|
4759
4766
|
title?: string;
|
|
4760
|
-
size?: (typeof
|
|
4767
|
+
size?: (typeof sizes_8)[number];
|
|
4761
4768
|
isThemedImage?: boolean;
|
|
4762
4769
|
description?: string;
|
|
4763
4770
|
textWidth?: number | string;
|
|
@@ -4973,25 +4980,27 @@ export declare type SidebarStepListProps = {
|
|
|
4973
4980
|
|
|
4974
4981
|
declare const sizes: readonly ["title120", "title1", "title2", "title3", "headline", "body", "subhead", "caption"];
|
|
4975
4982
|
|
|
4976
|
-
declare const sizes_10: readonly ["
|
|
4983
|
+
declare const sizes_10: readonly ["16", "20", 16, 20];
|
|
4977
4984
|
|
|
4978
|
-
declare const sizes_11: readonly ["
|
|
4985
|
+
declare const sizes_11: readonly ["28", "36", "40", "56", "120", 28, 36, 40, 56, 120];
|
|
4986
|
+
|
|
4987
|
+
declare const sizes_12: readonly ["default", "28_caption", "36_subhead", "subhead", "body"];
|
|
4979
4988
|
|
|
4980
4989
|
declare const sizes_2: readonly ["58", "50", "44", "40", "34", "28"];
|
|
4981
4990
|
|
|
4982
4991
|
declare const sizes_3: readonly ["58", "50", "44", "44_s", "34", "28"];
|
|
4983
4992
|
|
|
4984
|
-
declare const sizes_4: readonly [
|
|
4993
|
+
declare const sizes_4: readonly ["28", "34"];
|
|
4985
4994
|
|
|
4986
|
-
declare const sizes_5: readonly [
|
|
4995
|
+
declare const sizes_5: readonly [120, 58, 56, 50, 44, 40, 34, 28, "120", "58", "56", "50", "44", "40", "34", "28"];
|
|
4987
4996
|
|
|
4988
|
-
declare const sizes_6: readonly ["
|
|
4997
|
+
declare const sizes_6: readonly ["34", "44", 34, 44];
|
|
4989
4998
|
|
|
4990
|
-
declare const sizes_7: readonly ["
|
|
4999
|
+
declare const sizes_7: readonly ["subhead", "caption"];
|
|
4991
5000
|
|
|
4992
|
-
declare const sizes_8: readonly ["
|
|
5001
|
+
declare const sizes_8: readonly ["large", "base", "small"];
|
|
4993
5002
|
|
|
4994
|
-
declare const sizes_9: readonly ["
|
|
5003
|
+
declare const sizes_9: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
|
|
4995
5004
|
|
|
4996
5005
|
export declare const SkeletonWrapper: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
4997
5006
|
|
|
@@ -5240,7 +5249,7 @@ export declare type TabsProps = {
|
|
|
5240
5249
|
value?: Maybe<number | string>;
|
|
5241
5250
|
label?: string;
|
|
5242
5251
|
view: (typeof views_10)[number];
|
|
5243
|
-
size: (typeof
|
|
5252
|
+
size: (typeof sizes_12)[number];
|
|
5244
5253
|
isDisabled?: boolean;
|
|
5245
5254
|
data: {
|
|
5246
5255
|
id: number | string;
|
|
@@ -5371,7 +5380,7 @@ skeleton: HTMLDivElement;
|
|
|
5371
5380
|
}, HTMLDivElement>;
|
|
5372
5381
|
|
|
5373
5382
|
export declare type TheTextSkeletonProps = {
|
|
5374
|
-
size?: (typeof
|
|
5383
|
+
size?: (typeof sizes_9)[number];
|
|
5375
5384
|
widthRange?: [number, number];
|
|
5376
5385
|
color: Color;
|
|
5377
5386
|
};
|