@choosemycompany/ui 0.20.0 → 0.20.2

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;
@@ -135,6 +136,7 @@ declare type __VLS_Props_6 = {
135
136
  description?: string;
136
137
  min?: number;
137
138
  max?: number;
139
+ step?: number;
138
140
  };
139
141
 
140
142
  declare type __VLS_Props_7 = {
package/dist/index.js CHANGED
@@ -1373,7 +1373,7 @@ const sn = {
1373
1373
  }, Mn = ["for"], Rn = {
1374
1374
  key: 1,
1375
1375
  class: "input__description"
1376
- }, bn = { class: "input__wrapper" }, $n = ["id", "type", "placeholder", "required", "disabled", "aria-invalid", "min", "max"], In = {
1376
+ }, bn = { class: "input__wrapper" }, $n = ["id", "type", "placeholder", "required", "disabled", "aria-invalid", "min", "max", "step"], In = {
1377
1377
  key: 2,
1378
1378
  class: "input__error-message"
1379
1379
  }, Fn = /* @__PURE__ */ I({
@@ -1391,7 +1391,8 @@ const sn = {
1391
1391
  size: { default: Dt.medium },
1392
1392
  description: {},
1393
1393
  min: {},
1394
- max: {}
1394
+ max: {},
1395
+ step: {}
1395
1396
  }, {
1396
1397
  modelValue: { default: "" },
1397
1398
  modelModifiers: {}
@@ -1431,6 +1432,7 @@ const sn = {
1431
1432
  "aria-invalid": i.value,
1432
1433
  min: t.type === O(ze).number ? t.min : void 0,
1433
1434
  max: t.type === O(ze).number ? t.max : void 0,
1435
+ step: t.step,
1434
1436
  onBlur: d[1] || (d[1] = (c) => o("update:modelValue", r.value))
1435
1437
  }, null, 40, $n), [
1436
1438
  [e0, r.value]
@@ -1440,7 +1442,7 @@ const sn = {
1440
1442
  l.value ? (L(), h("div", In, V(t.errorMessage), 1)) : z("", !0)
1441
1443
  ], 2));
1442
1444
  }
1443
- }), Ot = /* @__PURE__ */ $(Fn, [["__scopeId", "data-v-ea022780"]]), Pn = { key: 1 }, zn = /* @__PURE__ */ I({
1445
+ }), Ot = /* @__PURE__ */ $(Fn, [["__scopeId", "data-v-61b50067"]]), Pn = { key: 1 }, zn = /* @__PURE__ */ I({
1444
1446
  __name: "HighlightText",
1445
1447
  props: {
1446
1448
  text: {},
@@ -1492,6 +1494,7 @@ const sn = {
1492
1494
  label: { default: "" },
1493
1495
  loading: { type: Boolean, default: !1 },
1494
1496
  placeholder: {},
1497
+ description: {},
1495
1498
  emptyValue: {},
1496
1499
  minChars: { default: 0 },
1497
1500
  debounce: { default: 0 }
@@ -1569,6 +1572,7 @@ const sn = {
1569
1572
  "onUpdate:modelValue": b[0] || (b[0] = (S) => l.value = S),
1570
1573
  label: i.value,
1571
1574
  placeholder: t.placeholder,
1575
+ description: t.description,
1572
1576
  class: "autocomplete__input",
1573
1577
  type: "search",
1574
1578
  variant: "outlined",
@@ -1584,7 +1588,7 @@ const sn = {
1584
1588
  }, null, 8, ["class"])
1585
1589
  ]),
1586
1590
  _: 1
1587
- }, 8, ["id", "modelValue", "label", "placeholder"]),
1591
+ }, 8, ["id", "modelValue", "label", "placeholder", "description"]),
1588
1592
  s.value ? (L(), h("div", kn, [
1589
1593
  t.loading ? (L(), W(X, {
1590
1594
  key: 0,
@@ -1603,11 +1607,11 @@ const sn = {
1603
1607
  text: S.label
1604
1608
  }, null, 8, ["search-term", "text"])
1605
1609
  ], 8, Zn))), 128))
1606
- ])) : s.value && !g.value.length && !t.loading ? (L(), h("div", An, V(t.emptyValue), 1)) : z("", !0)
1610
+ ])) : s.value && !g.value.length && !t.loading && l.value.length >= t.minChars ? (L(), h("div", An, V(t.emptyValue), 1)) : z("", !0)
1607
1611
  ])) : z("", !0)
1608
1612
  ], 34));
1609
1613
  }
1610
- }), Lr = /* @__PURE__ */ $(Dn, [["__scopeId", "data-v-7e8b2aad"]]), On = { class: "badge-text" }, Tn = /* @__PURE__ */ I({
1614
+ }), Lr = /* @__PURE__ */ $(Dn, [["__scopeId", "data-v-89f397a9"]]), On = { class: "badge-text" }, Tn = /* @__PURE__ */ I({
1611
1615
  name: "CmcBadgePill",
1612
1616
  __name: "CmcBadgePill",
1613
1617
  props: {