@bcc-code/component-library-vue 0.9.9 → 0.9.12

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.
@@ -1575,7 +1575,7 @@ const Nk = yf(jk, {
1575
1575
  "5xl": "40px",
1576
1576
  "6xl": "56px",
1577
1577
  "7xl": "64px",
1578
- none: "normal"
1578
+ none: "1"
1579
1579
  },
1580
1580
  "line-height": {
1581
1581
  xs: "12px",
@@ -1589,7 +1589,7 @@ const Nk = yf(jk, {
1589
1589
  "5xl": "40px",
1590
1590
  "6xl": "56px",
1591
1591
  "7xl": "64px",
1592
- none: "normal"
1592
+ none: "1"
1593
1593
  },
1594
1594
  fontSize: {
1595
1595
  xs: "0.75rem",
@@ -3256,7 +3256,7 @@ const Nk = yf(jk, {
3256
3256
  padding: "var(--space-75) var(--space-150)",
3257
3257
  gap: "var(--space-100)",
3258
3258
  sm: {
3259
- padding: "var(--space-25) var(--space-100)"
3259
+ padding: "var(--space-50) var(--space-100)"
3260
3260
  },
3261
3261
  lg: {
3262
3262
  padding: "var(--space-100) var(--space-200)"
@@ -3264,7 +3264,7 @@ const Nk = yf(jk, {
3264
3264
  },
3265
3265
  text: {
3266
3266
  fontSize: "var(--font-size-sm)",
3267
- fontWeight: "var(--font-weight-medium)",
3267
+ fontWeight: "var(--font-weight-semibold)",
3268
3268
  sm: {
3269
3269
  fontSize: "var(--font-size-sm)"
3270
3270
  },
@@ -4688,7 +4688,7 @@ const Nk = yf(jk, {
4688
4688
  background: "transparent",
4689
4689
  hoverBackground: "transparent",
4690
4690
  activeBackground: "transparent",
4691
- borderWidth: "var(--border-width-2)",
4691
+ borderWidth: "0 0 var(--border-width-2) 0",
4692
4692
  borderColor: "var(--color-border-default)",
4693
4693
  hoverBorderColor: "var(--color-border-default)",
4694
4694
  activeBorderColor: "var(--color-border-selected)",
@@ -9461,7 +9461,7 @@ const SC = {
9461
9461
  }, MC = { class: "bcc-react-dropdown" }, DC = ["onClick"], Ci = 7, Si = 36, PN = /* @__PURE__ */ Te({
9462
9462
  __name: "BccReact",
9463
9463
  props: {
9464
- emojis: {},
9464
+ emojis: { default: () => [] },
9465
9465
  top: { type: Boolean, default: !1 },
9466
9466
  placeholder: { default: "Be the first to react 😉" }
9467
9467
  },
@@ -9498,7 +9498,7 @@ const SC = {
9498
9498
  }), ($, M) => (d(), p("div", PC, [
9499
9499
  B(au, { name: "bcc-fade" }, {
9500
9500
  default: w(() => [
9501
- i.value || t.emojis.some((z) => !z.selected) ? (d(), p("button", {
9501
+ i.value || n.emojis.some((z) => !z.selected) ? (d(), p("button", {
9502
9502
  key: "toggle",
9503
9503
  ref_key: "toggleButton",
9504
9504
  ref: l,
@@ -9640,12 +9640,13 @@ const SC = {
9640
9640
  iconRight: { type: [String, Function, Object, Boolean] },
9641
9641
  rounded: { type: Boolean },
9642
9642
  clickable: { type: Boolean },
9643
- text: {}
9643
+ text: {},
9644
+ truncate: { type: Boolean }
9644
9645
  },
9645
9646
  setup(t) {
9646
9647
  const e = t, n = ye(() => {
9647
- const { text: r, icon: i, iconRight: o, rounded: a, ...s } = e;
9648
- return s;
9648
+ const { text: r, icon: i, iconRight: o, rounded: a, truncate: s, ...l } = e;
9649
+ return l;
9649
9650
  });
9650
9651
  return (r, i) => (d(), y(Qa, c({
9651
9652
  class: ["bcc-tag", { clickable: t.clickable }]
@@ -9657,9 +9658,13 @@ const SC = {
9657
9658
  key: 0,
9658
9659
  class: S(["bcc-badge-icon", { "order-1": t.iconRight === !0 }])
9659
9660
  }, null, 8, ["class"])) : g("", !0),
9660
- b(r.$slots, "default", {}, () => [
9661
- le(D(t.text), 1)
9662
- ]),
9661
+ k("span", {
9662
+ class: S({ truncate: t.truncate })
9663
+ }, [
9664
+ b(r.$slots, "default", {}, () => [
9665
+ le(D(t.text), 1)
9666
+ ])
9667
+ ], 2),
9663
9668
  t.iconRight && typeof t.iconRight != "boolean" ? (d(), y(C(t.iconRight), {
9664
9669
  key: 1,
9665
9670
  class: "bcc-badge-icon"