@point-hub/papp 0.0.43 → 0.0.44
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/components/base-badge.vue.d.ts +1 -1
- package/dist/index.js +5 -4
- package/dist/index.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type BaseBadgeColorType = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
2
|
-
export type BaseBadgeVariantType = '
|
|
2
|
+
export type BaseBadgeVariantType = 'filled' | 'light' | 'outlined';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
color?: BaseBadgeColorType;
|
|
5
5
|
variant?: BaseBadgeVariantType;
|
package/dist/index.js
CHANGED
|
@@ -236,20 +236,20 @@ const gs = /* @__PURE__ */ se(vs, [["render", hs], ["__scopeId", "data-v-85c79e7
|
|
|
236
236
|
__name: "base-badge",
|
|
237
237
|
props: {
|
|
238
238
|
color: { default: "primary" },
|
|
239
|
-
variant: { default: "
|
|
239
|
+
variant: { default: "filled" },
|
|
240
240
|
withDot: { type: Boolean, default: !1 }
|
|
241
241
|
},
|
|
242
242
|
setup(e) {
|
|
243
243
|
const t = e, n = [];
|
|
244
244
|
let r = "";
|
|
245
|
-
return t.variant === "
|
|
245
|
+
return t.variant === "filled" && (r = `badge-${t.color}`), t.variant === "light" && (r = `badge-light-${t.color}`), t.variant === "outlined" && (r = `badge-outline-${t.color}`), n.push(`${r}`), (a, i) => (O(), I("span", {
|
|
246
246
|
class: q(["badge", n])
|
|
247
247
|
}, [
|
|
248
248
|
a.withDot ? (O(), I("div", bs)) : X("", !0),
|
|
249
249
|
Z(a.$slots, "default", {}, void 0, !0)
|
|
250
250
|
]));
|
|
251
251
|
}
|
|
252
|
-
}), ys = /* @__PURE__ */ se(As, [["__scopeId", "data-v-
|
|
252
|
+
}), ys = /* @__PURE__ */ se(As, [["__scopeId", "data-v-7c8ade6a"]]), ws = { class: "breadcrumb-ul" }, xs = /* @__PURE__ */ R({
|
|
253
253
|
__name: "base-breadcrumb",
|
|
254
254
|
props: {
|
|
255
255
|
items: {},
|
|
@@ -10573,7 +10573,8 @@ const jh = ["placeholder", "autofocus", "required", "disabled"], Wh = /* @__PURE
|
|
|
10573
10573
|
componentSingleton: "base-tooltip-singleton",
|
|
10574
10574
|
// => <base-tooltip-singleton/>,
|
|
10575
10575
|
defaultProps: {
|
|
10576
|
-
interactive: !0
|
|
10576
|
+
interactive: !0,
|
|
10577
|
+
hideOnClick: !1
|
|
10577
10578
|
}
|
|
10578
10579
|
});
|
|
10579
10580
|
}
|