@namba_one/ui-kit-2 1.0.105 → 1.0.107
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 +2 -0
- package/dist/index.es.js +6 -3
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -847,6 +847,8 @@ export declare const Badge: __VLS_WithTemplateSlots_3<typeof __VLS_component_3,
|
|
|
847
847
|
|
|
848
848
|
export declare type BadgeProps = {
|
|
849
849
|
view?: (typeof views)[number];
|
|
850
|
+
size?: 'subhead' | 'caption';
|
|
851
|
+
weight?: 'regular' | 'semibold';
|
|
850
852
|
isRounded?: boolean;
|
|
851
853
|
};
|
|
852
854
|
|
package/dist/index.es.js
CHANGED
|
@@ -70,6 +70,8 @@ const ic = /* @__PURE__ */ de({
|
|
|
70
70
|
__name: "Badge",
|
|
71
71
|
props: {
|
|
72
72
|
view: { default: "base" },
|
|
73
|
+
size: { default: "subhead" },
|
|
74
|
+
weight: { default: "regular" },
|
|
73
75
|
isRounded: { type: Boolean }
|
|
74
76
|
},
|
|
75
77
|
setup(t) {
|
|
@@ -82,13 +84,14 @@ const ic = /* @__PURE__ */ de({
|
|
|
82
84
|
}, [
|
|
83
85
|
K(f(Fe), {
|
|
84
86
|
color: "inherit",
|
|
85
|
-
size:
|
|
87
|
+
size: e.size,
|
|
88
|
+
weight: e.weight
|
|
86
89
|
}, {
|
|
87
90
|
default: H(() => [
|
|
88
91
|
ue(e.$slots, "default")
|
|
89
92
|
]),
|
|
90
93
|
_: 3
|
|
91
|
-
})
|
|
94
|
+
}, 8, ["size", "weight"])
|
|
92
95
|
], 2));
|
|
93
96
|
}
|
|
94
97
|
}), Mc = "Badge__root_1f7e1", Dc = "Badge__view_base_06dcc", xc = "Badge__view_brand_2f366", Ec = "Badge__view_secondary_f2d5c", Ac = "Badge__view_success_8d08c", Fc = "Badge__view_critical_1d99a", sl = {
|
|
@@ -20867,7 +20870,7 @@ const cC = /* @__PURE__ */ de({
|
|
|
20867
20870
|
return (e, a) => (v(), S("div", {
|
|
20868
20871
|
class: b(e.$style.row),
|
|
20869
20872
|
style: Ye({
|
|
20870
|
-
"grid-gap": `${f(Ri)(Number(e.gap))}
|
|
20873
|
+
"grid-gap": `${f(Ri)(Number(e.gap))}rem`,
|
|
20871
20874
|
"align-items": e.align
|
|
20872
20875
|
})
|
|
20873
20876
|
}, [
|