@choosemycompany/ui 0.20.0 → 0.20.1

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 CHANGED
@@ -102,6 +102,7 @@ declare type __VLS_Props_2 = {
102
102
  label?: string;
103
103
  loading?: boolean;
104
104
  placeholder: string;
105
+ description?: string;
105
106
  emptyValue: string;
106
107
  minChars?: number;
107
108
  debounce?: number;
package/dist/index.js CHANGED
@@ -1492,6 +1492,7 @@ const sn = {
1492
1492
  label: { default: "" },
1493
1493
  loading: { type: Boolean, default: !1 },
1494
1494
  placeholder: {},
1495
+ description: {},
1495
1496
  emptyValue: {},
1496
1497
  minChars: { default: 0 },
1497
1498
  debounce: { default: 0 }
@@ -1569,6 +1570,7 @@ const sn = {
1569
1570
  "onUpdate:modelValue": b[0] || (b[0] = (S) => l.value = S),
1570
1571
  label: i.value,
1571
1572
  placeholder: t.placeholder,
1573
+ description: t.description,
1572
1574
  class: "autocomplete__input",
1573
1575
  type: "search",
1574
1576
  variant: "outlined",
@@ -1584,7 +1586,7 @@ const sn = {
1584
1586
  }, null, 8, ["class"])
1585
1587
  ]),
1586
1588
  _: 1
1587
- }, 8, ["id", "modelValue", "label", "placeholder"]),
1589
+ }, 8, ["id", "modelValue", "label", "placeholder", "description"]),
1588
1590
  s.value ? (L(), h("div", kn, [
1589
1591
  t.loading ? (L(), W(X, {
1590
1592
  key: 0,
@@ -1603,11 +1605,11 @@ const sn = {
1603
1605
  text: S.label
1604
1606
  }, null, 8, ["search-term", "text"])
1605
1607
  ], 8, Zn))), 128))
1606
- ])) : s.value && !g.value.length && !t.loading ? (L(), h("div", An, V(t.emptyValue), 1)) : z("", !0)
1608
+ ])) : s.value && !g.value.length && !t.loading && l.value.length >= t.minChars ? (L(), h("div", An, V(t.emptyValue), 1)) : z("", !0)
1607
1609
  ])) : z("", !0)
1608
1610
  ], 34));
1609
1611
  }
1610
- }), Lr = /* @__PURE__ */ $(Dn, [["__scopeId", "data-v-7e8b2aad"]]), On = { class: "badge-text" }, Tn = /* @__PURE__ */ I({
1612
+ }), Lr = /* @__PURE__ */ $(Dn, [["__scopeId", "data-v-89f397a9"]]), On = { class: "badge-text" }, Tn = /* @__PURE__ */ I({
1611
1613
  name: "CmcBadgePill",
1612
1614
  __name: "CmcBadgePill",
1613
1615
  props: {