@namba_one/ui-kit-2 1.0.107 → 1.0.109
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 +19 -13
- package/dist/index.es.js +1871 -1858
- package/dist/index.umd.js +7 -7
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -854,9 +854,7 @@ export declare type BadgeProps = {
|
|
|
854
854
|
|
|
855
855
|
export declare const BadgeSkeleton: DefineComponent<BadgeSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeSkeletonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
856
856
|
|
|
857
|
-
export declare type BadgeSkeletonProps =
|
|
858
|
-
isRounded?: boolean;
|
|
859
|
-
};
|
|
857
|
+
export declare type BadgeSkeletonProps = Pick<BadgeProps, 'isRounded' | 'size'>;
|
|
860
858
|
|
|
861
859
|
export declare const BannerOffer: DefineComponent<BannerOfferProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BannerOfferProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
862
860
|
|
|
@@ -1018,6 +1016,7 @@ $: ComponentInternalInstance;
|
|
|
1018
1016
|
$data: {};
|
|
1019
1017
|
$props: {
|
|
1020
1018
|
readonly count?: (number | string) | undefined;
|
|
1019
|
+
readonly view?: views_4[number] | undefined;
|
|
1021
1020
|
readonly onClick?: (() => any) | undefined;
|
|
1022
1021
|
readonly onDelete?: (() => any) | undefined;
|
|
1023
1022
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1032,6 +1031,7 @@ $: ComponentInternalInstance;
|
|
|
1032
1031
|
$data: {};
|
|
1033
1032
|
$props: {
|
|
1034
1033
|
readonly count?: (number | string) | undefined;
|
|
1034
|
+
readonly view?: views_4[number] | undefined;
|
|
1035
1035
|
readonly onClick?: (() => any) | undefined;
|
|
1036
1036
|
readonly onDelete?: (() => any) | undefined;
|
|
1037
1037
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1234,6 +1234,7 @@ export declare type ChipEmits = {
|
|
|
1234
1234
|
|
|
1235
1235
|
export declare type ChipProps = {
|
|
1236
1236
|
count?: number | string;
|
|
1237
|
+
view?: (typeof views_4)[number];
|
|
1237
1238
|
};
|
|
1238
1239
|
|
|
1239
1240
|
declare function close_2(): void;
|
|
@@ -1284,6 +1285,7 @@ $: ComponentInternalInstance;
|
|
|
1284
1285
|
$data: {};
|
|
1285
1286
|
$props: {
|
|
1286
1287
|
readonly count?: (number | string) | undefined;
|
|
1288
|
+
readonly view?: views_4[number] | undefined;
|
|
1287
1289
|
readonly onClick?: (() => any) | undefined;
|
|
1288
1290
|
readonly onDelete?: (() => any) | undefined;
|
|
1289
1291
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1298,6 +1300,7 @@ $: ComponentInternalInstance;
|
|
|
1298
1300
|
$data: {};
|
|
1299
1301
|
$props: {
|
|
1300
1302
|
readonly count?: (number | string) | undefined;
|
|
1303
|
+
readonly view?: views_4[number] | undefined;
|
|
1301
1304
|
readonly onClick?: (() => any) | undefined;
|
|
1302
1305
|
readonly onDelete?: (() => any) | undefined;
|
|
1303
1306
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1602,6 +1605,7 @@ export declare const Divider: DefineComponent<DividerProps, {}, {}, {}, {}, Comp
|
|
|
1602
1605
|
|
|
1603
1606
|
export declare type DividerProps = {
|
|
1604
1607
|
size: 's' | 'm';
|
|
1608
|
+
opacity?: number | string;
|
|
1605
1609
|
};
|
|
1606
1610
|
|
|
1607
1611
|
export declare const Dropdown: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
@@ -1719,7 +1723,7 @@ export declare const IconView: DefineComponent<IconViewProps, {}, {}, {}, {}, Co
|
|
|
1719
1723
|
|
|
1720
1724
|
export declare type IconViewProps = {
|
|
1721
1725
|
icon: IconName;
|
|
1722
|
-
view?: (typeof
|
|
1726
|
+
view?: (typeof views_5)[number];
|
|
1723
1727
|
size: (typeof sizes_4)[number];
|
|
1724
1728
|
isRounded?: boolean;
|
|
1725
1729
|
};
|
|
@@ -1782,7 +1786,7 @@ export declare type LinkEmits = {
|
|
|
1782
1786
|
export declare type LinkProps = {
|
|
1783
1787
|
tag?: (typeof tags_3)[number];
|
|
1784
1788
|
href?: string;
|
|
1785
|
-
view?: (typeof
|
|
1789
|
+
view?: (typeof views_6)[number];
|
|
1786
1790
|
size?: (typeof sizes_5)[number];
|
|
1787
1791
|
weight?: (typeof weights_2)[number];
|
|
1788
1792
|
iconLeft?: IconName;
|
|
@@ -1876,7 +1880,7 @@ export declare type MenuBarItemProps = {
|
|
|
1876
1880
|
onClick: () => void;
|
|
1877
1881
|
text: string;
|
|
1878
1882
|
icon?: Maybe<IconName>;
|
|
1879
|
-
view?: (typeof
|
|
1883
|
+
view?: (typeof views_9)[number];
|
|
1880
1884
|
badgeText?: string;
|
|
1881
1885
|
};
|
|
1882
1886
|
|
|
@@ -1962,7 +1966,7 @@ export declare type ModalConfirmationEmits = {
|
|
|
1962
1966
|
};
|
|
1963
1967
|
|
|
1964
1968
|
export declare type ModalConfirmationProps = {
|
|
1965
|
-
view: (typeof
|
|
1969
|
+
view: (typeof views_7)[number];
|
|
1966
1970
|
title: string;
|
|
1967
1971
|
description: string;
|
|
1968
1972
|
buttonText: string;
|
|
@@ -2149,7 +2153,7 @@ export declare const Tabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {},
|
|
|
2149
2153
|
export declare type TabsProps = {
|
|
2150
2154
|
value?: Maybe<number | string>;
|
|
2151
2155
|
label?: string;
|
|
2152
|
-
view: (typeof
|
|
2156
|
+
view: (typeof views_8)[number];
|
|
2153
2157
|
size: (typeof sizes_7)[number];
|
|
2154
2158
|
isDisabled?: boolean;
|
|
2155
2159
|
data: {
|
|
@@ -2448,15 +2452,17 @@ declare const views_2: readonly ["critical-primary", "critical", "base-primary",
|
|
|
2448
2452
|
|
|
2449
2453
|
declare const views_3: readonly ["secondary", "critical", "primary", "surface", "base", "product-surface", "primary-flat", "base-shadow", "surface-shadow"];
|
|
2450
2454
|
|
|
2451
|
-
declare const views_4: readonly ["base", "
|
|
2455
|
+
declare const views_4: readonly ["base-primary", "base-secondary"];
|
|
2456
|
+
|
|
2457
|
+
declare const views_5: readonly ["base", "critical"];
|
|
2452
2458
|
|
|
2453
|
-
declare const
|
|
2459
|
+
declare const views_6: readonly ["base", "secondary", "brand"];
|
|
2454
2460
|
|
|
2455
|
-
declare const
|
|
2461
|
+
declare const views_7: readonly ["base", "critical"];
|
|
2456
2462
|
|
|
2457
|
-
declare const
|
|
2463
|
+
declare const views_8: readonly ["default", "flat", "flat-secondary"];
|
|
2458
2464
|
|
|
2459
|
-
declare const
|
|
2465
|
+
declare const views_9: readonly ["base", "critical"];
|
|
2460
2466
|
|
|
2461
2467
|
declare const weights: readonly ["regular", "medium", "semibold", "bold"];
|
|
2462
2468
|
|