@quidgest/ui 0.16.0 → 0.16.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.
Files changed (35) hide show
  1. package/dist/ui.css +2 -6
  2. package/dist/ui.esm.js +374 -370
  3. package/dist/ui.js +7 -7
  4. package/dist/ui.min.css +1 -1
  5. package/dist/ui.min.js +107 -107
  6. package/dist/ui.scss +24 -25
  7. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  8. package/esm/components/QButtonGroup/QButtonGroup.vue.js +5 -4
  9. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  10. package/esm/components/QCombobox/QCombobox.vue.js +59 -57
  11. package/esm/components/QCombobox/index.d.ts +3 -0
  12. package/esm/components/QCombobox/index.d.ts.map +1 -1
  13. package/esm/components/QCombobox/types.d.ts +4 -0
  14. package/esm/components/QCombobox/types.d.ts.map +1 -1
  15. package/esm/components/QOverlay/QOverlay.vue.js +15 -16
  16. package/esm/components/QOverlay/index.d.ts +0 -3
  17. package/esm/components/QOverlay/index.d.ts.map +1 -1
  18. package/esm/components/QOverlay/types.d.ts +0 -4
  19. package/esm/components/QOverlay/types.d.ts.map +1 -1
  20. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -13
  21. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  22. package/esm/components/QPopover/QPopover.vue.js +31 -34
  23. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  24. package/esm/components/QSelect/QSelect.vue.js +58 -56
  25. package/esm/components/QSelect/index.d.ts +3 -0
  26. package/esm/components/QSelect/index.d.ts.map +1 -1
  27. package/esm/components/QSelect/types.d.ts +4 -0
  28. package/esm/components/QSelect/types.d.ts.map +1 -1
  29. package/esm/components/QToggle/QToggle.d.ts.map +1 -1
  30. package/esm/components/QToggle/QToggle.vue.js +10 -7
  31. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
  32. package/esm/components/QToggleGroup/QToggleGroup.vue.js +8 -9
  33. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  34. package/esm/components/QTooltip/QTooltip.vue.js +42 -40
  35. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { defineComponent as g, mergeModels as V, useModel as v, onMounted as B, onUnmounted as k, watch as M, createElementBlock as l, openBlock as a, Fragment as m, renderSlot as u, createVNode as w, unref as r, normalizeClass as x, withCtx as C, createBlock as T, createCommentVNode as A, normalizeProps as D, mergeProps as N, createTextVNode as Q, toDisplayString as _ } from "vue";
1
+ import { defineComponent as g, mergeModels as V, useModel as v, onMounted as B, onUnmounted as _, watch as k, createElementBlock as l, openBlock as a, Fragment as m, renderSlot as p, createVNode as M, unref as n, normalizeClass as w, withCtx as x, createElementVNode as C, createBlock as N, createCommentVNode as T, normalizeProps as A, mergeProps as D, createTextVNode as Q, toDisplayString as q } from "vue";
2
2
  import { QIcon as z } from "../QIcon/index.js";
3
3
  import { QOverlay as H } from "../QOverlay/index.js";
4
4
  import { useId as I } from "../../composables/uid.js";
5
- import { getElement as p } from "../../utils/getElement.js";
6
- const L = ["innerHTML"], F = /* @__PURE__ */ g({
5
+ import { getElement as u } from "../../utils/getElement.js";
6
+ const L = { class: "q-tooltip__content" }, P = ["innerHTML"], O = /* @__PURE__ */ g({
7
7
  __name: "QTooltip",
8
8
  props: /* @__PURE__ */ V({
9
9
  id: {},
@@ -26,35 +26,35 @@ const L = ["innerHTML"], F = /* @__PURE__ */ g({
26
26
  }),
27
27
  emits: ["update:modelValue"],
28
28
  setup(i) {
29
- const e = i, d = v(i, "modelValue"), n = I(e.id);
29
+ const e = i, d = v(i, "modelValue"), r = I(e.id);
30
30
  function c(o) {
31
- const t = p(o);
32
- t == null || t.setAttribute("aria-describedby", n);
31
+ const t = u(o);
32
+ t == null || t.setAttribute("aria-describedby", r);
33
33
  }
34
34
  function f() {
35
35
  e.anchor && c(e.anchor);
36
36
  }
37
37
  B(f);
38
38
  function s(o) {
39
- const t = p(o);
39
+ const t = u(o);
40
40
  t == null || t.removeAttribute("aria-describedby");
41
41
  }
42
42
  function y() {
43
43
  e.anchor && s(e.anchor);
44
44
  }
45
- k(y);
45
+ _(y);
46
46
  function h(o, t) {
47
47
  t && s(t), o && c(o);
48
48
  }
49
- return M(() => e.anchor, h), (o, t) => (a(), l(
49
+ return k(() => e.anchor, h), (o, t) => (a(), l(
50
50
  m,
51
51
  null,
52
52
  [
53
- u(o.$slots, "anchor", {
54
- props: { "aria-describedby": r(n) }
53
+ p(o.$slots, "anchor", {
54
+ props: { "aria-describedby": n(r) }
55
55
  }),
56
- w(r(H), {
57
- id: r(n),
56
+ M(n(H), {
57
+ id: n(r),
58
58
  modelValue: d.value,
59
59
  "onUpdate:modelValue": t[0] || (t[0] = (b) => d.value = b),
60
60
  anchor: e.anchor,
@@ -64,37 +64,39 @@ const L = ["innerHTML"], F = /* @__PURE__ */ g({
64
64
  arrow: e.arrow,
65
65
  attach: e.attach,
66
66
  inline: e.inline,
67
- class: x(["q-tooltip", e.class]),
67
+ class: w(["q-tooltip", e.class]),
68
68
  delay: e.delay,
69
69
  disabled: e.disabled,
70
70
  placement: e.placement,
71
71
  trigger: e.trigger
72
72
  }, {
73
- default: C(() => [
74
- u(o.$slots, "default", {}, () => [
75
- e.icon ? (a(), T(
76
- r(z),
77
- D(N({ key: 0 }, e.icon)),
78
- null,
79
- 16
80
- /* FULL_PROPS */
81
- )) : A("v-if", !0),
82
- e.html ? (a(), l("span", {
83
- key: 1,
84
- innerHTML: e.text
85
- }, null, 8, L)) : (a(), l(
86
- m,
87
- { key: 2 },
88
- [
89
- Q(
90
- _(e.text),
91
- 1
92
- /* TEXT */
93
- )
94
- ],
95
- 64
96
- /* STABLE_FRAGMENT */
97
- ))
73
+ default: x(() => [
74
+ C("div", L, [
75
+ p(o.$slots, "default", {}, () => [
76
+ e.icon ? (a(), N(
77
+ n(z),
78
+ A(D({ key: 0 }, e.icon)),
79
+ null,
80
+ 16
81
+ /* FULL_PROPS */
82
+ )) : T("v-if", !0),
83
+ e.html ? (a(), l("span", {
84
+ key: 1,
85
+ innerHTML: e.text
86
+ }, null, 8, P)) : (a(), l(
87
+ m,
88
+ { key: 2 },
89
+ [
90
+ Q(
91
+ q(e.text),
92
+ 1
93
+ /* TEXT */
94
+ )
95
+ ],
96
+ 64
97
+ /* STABLE_FRAGMENT */
98
+ ))
99
+ ])
98
100
  ])
99
101
  ]),
100
102
  _: 3
@@ -107,5 +109,5 @@ const L = ["innerHTML"], F = /* @__PURE__ */ g({
107
109
  }
108
110
  });
109
111
  export {
110
- F as default
112
+ O as default
111
113
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quidgest/ui",
3
3
  "description": "Quidgest's UI framework",
4
- "version": "0.16.0",
4
+ "version": "0.16.2",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "author": "Quidgest",