@namba_one/ui-kit-2 1.0.149 → 1.0.150
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 +18 -13
- package/dist/index.es.js +2014 -2005
- 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
|
@@ -1438,7 +1438,7 @@ export declare const Avatar: DefineComponent<AvatarProps, {}, {}, {}, {}, Compon
|
|
|
1438
1438
|
export declare type AvatarProps = {
|
|
1439
1439
|
image?: string;
|
|
1440
1440
|
initials?: string;
|
|
1441
|
-
size?: (typeof
|
|
1441
|
+
size?: (typeof sizes_11)[number];
|
|
1442
1442
|
mode?: 'default' | 'initials';
|
|
1443
1443
|
};
|
|
1444
1444
|
|
|
@@ -1625,7 +1625,7 @@ export declare type CheckboxGroupFilterValue = FilterValueBase<string[]>;
|
|
|
1625
1625
|
|
|
1626
1626
|
export declare type CheckboxProps = {
|
|
1627
1627
|
value: boolean;
|
|
1628
|
-
size: (typeof
|
|
1628
|
+
size: (typeof sizes_10)[number];
|
|
1629
1629
|
isIndeterminate?: boolean;
|
|
1630
1630
|
isDisabled?: boolean;
|
|
1631
1631
|
};
|
|
@@ -1861,6 +1861,7 @@ readonly inputmode?: InputHTMLAttributes["inputmode"];
|
|
|
1861
1861
|
readonly autocomplete?: InputHTMLAttributes["autocomplete"];
|
|
1862
1862
|
readonly maxLength?: (number | string) | undefined;
|
|
1863
1863
|
readonly autofocus?: boolean | undefined;
|
|
1864
|
+
readonly size?: sizes_5[number] | undefined;
|
|
1864
1865
|
readonly iconLeft?: IconName | undefined;
|
|
1865
1866
|
readonly iconRight?: IconName | undefined;
|
|
1866
1867
|
readonly onBlur?: (() => any) | undefined;
|
|
@@ -1942,6 +1943,7 @@ readonly inputmode?: InputHTMLAttributes["inputmode"];
|
|
|
1942
1943
|
readonly autocomplete?: InputHTMLAttributes["autocomplete"];
|
|
1943
1944
|
readonly maxLength?: (number | string) | undefined;
|
|
1944
1945
|
readonly autofocus?: boolean | undefined;
|
|
1946
|
+
readonly size?: sizes_5[number] | undefined;
|
|
1945
1947
|
readonly iconLeft?: IconName | undefined;
|
|
1946
1948
|
readonly iconRight?: IconName | undefined;
|
|
1947
1949
|
readonly onBlur?: (() => any) | undefined;
|
|
@@ -2113,7 +2115,7 @@ declare type EmptyResponseProps = ResponseBaseProps & {
|
|
|
2113
2115
|
buttonIconRight?: IconName;
|
|
2114
2116
|
buttonText?: string;
|
|
2115
2117
|
route?: string;
|
|
2116
|
-
size?: (typeof
|
|
2118
|
+
size?: (typeof sizes_7)[number];
|
|
2117
2119
|
};
|
|
2118
2120
|
|
|
2119
2121
|
declare type FieldBaseProps = {
|
|
@@ -2243,6 +2245,7 @@ export declare type InputProps = {
|
|
|
2243
2245
|
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
2244
2246
|
maxLength?: number | string;
|
|
2245
2247
|
autofocus?: boolean;
|
|
2248
|
+
size?: (typeof sizes_5)[number];
|
|
2246
2249
|
iconLeft?: IconName;
|
|
2247
2250
|
iconRight?: IconName;
|
|
2248
2251
|
};
|
|
@@ -2279,7 +2282,7 @@ export declare type LinkProps = {
|
|
|
2279
2282
|
tag?: (typeof tags_3)[number];
|
|
2280
2283
|
href?: string;
|
|
2281
2284
|
view?: (typeof views_6)[number];
|
|
2282
|
-
size?: (typeof
|
|
2285
|
+
size?: (typeof sizes_6)[number];
|
|
2283
2286
|
weight?: (typeof weights_2)[number];
|
|
2284
2287
|
iconLeft?: IconName;
|
|
2285
2288
|
iconRight?: IconName;
|
|
@@ -2811,7 +2814,7 @@ export declare const ResponseBase: __VLS_WithTemplateSlots_11<typeof __VLS_compo
|
|
|
2811
2814
|
declare type ResponseBaseProps = {
|
|
2812
2815
|
img?: string;
|
|
2813
2816
|
title?: string;
|
|
2814
|
-
size?: (typeof
|
|
2817
|
+
size?: (typeof sizes_7)[number];
|
|
2815
2818
|
description?: string;
|
|
2816
2819
|
};
|
|
2817
2820
|
|
|
@@ -2994,7 +2997,9 @@ export declare type SelectProps = Pick<SelectBaseProps, 'label' | 'description'
|
|
|
2994
2997
|
|
|
2995
2998
|
declare const sizes: readonly ["title120", "title1", "title2", "title3", "headline", "body", "subhead", "caption"];
|
|
2996
2999
|
|
|
2997
|
-
declare const sizes_10: readonly ["
|
|
3000
|
+
declare const sizes_10: readonly ["16", "20"];
|
|
3001
|
+
|
|
3002
|
+
declare const sizes_11: readonly ["28", "36", "40", "56", "120", 28, 36, 40, 56, 120];
|
|
2998
3003
|
|
|
2999
3004
|
declare const sizes_2: readonly ["58", "50", "44", "40", "34", "28"];
|
|
3000
3005
|
|
|
@@ -3002,15 +3007,15 @@ declare const sizes_3: readonly ["58", "50", "44", "44_s", "34", "28"];
|
|
|
3002
3007
|
|
|
3003
3008
|
declare const sizes_4: readonly [120, 58, 56, 50, 44, 40, 34, 28, "120", "58", "56", "50", "44", "40", "34", "28"];
|
|
3004
3009
|
|
|
3005
|
-
declare const sizes_5: readonly ["
|
|
3010
|
+
declare const sizes_5: readonly ["34", "44", 34, 44];
|
|
3006
3011
|
|
|
3007
|
-
declare const sizes_6: readonly ["
|
|
3012
|
+
declare const sizes_6: readonly ["subhead", "caption"];
|
|
3008
3013
|
|
|
3009
|
-
declare const sizes_7: readonly ["
|
|
3014
|
+
declare const sizes_7: readonly ["large", "base", "small"];
|
|
3010
3015
|
|
|
3011
|
-
declare const sizes_8: readonly ["
|
|
3016
|
+
declare const sizes_8: readonly ["default", "28_caption", "36_subhead", "subhead", "body"];
|
|
3012
3017
|
|
|
3013
|
-
declare const sizes_9: readonly ["
|
|
3018
|
+
declare const sizes_9: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
|
|
3014
3019
|
|
|
3015
3020
|
export declare const SkeletonWrapper: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
3016
3021
|
|
|
@@ -3107,7 +3112,7 @@ export declare type TabsProps = {
|
|
|
3107
3112
|
value?: Maybe<number | string>;
|
|
3108
3113
|
label?: string;
|
|
3109
3114
|
view: (typeof views_8)[number];
|
|
3110
|
-
size: (typeof
|
|
3115
|
+
size: (typeof sizes_8)[number];
|
|
3111
3116
|
isDisabled?: boolean;
|
|
3112
3117
|
data: {
|
|
3113
3118
|
id: number | string;
|
|
@@ -3170,7 +3175,7 @@ skeleton: HTMLDivElement;
|
|
|
3170
3175
|
}, HTMLDivElement>;
|
|
3171
3176
|
|
|
3172
3177
|
export declare type TheTextSkeletonProps = {
|
|
3173
|
-
size?: (typeof
|
|
3178
|
+
size?: (typeof sizes_9)[number];
|
|
3174
3179
|
widthRange?: [number, number];
|
|
3175
3180
|
color: Color;
|
|
3176
3181
|
};
|