@caipira/tamandua 0.0.67 → 0.0.68

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 (68) hide show
  1. package/dist/Backdrop.js +2 -2
  2. package/dist/Backdrop.vue_vue_type_script_setup_true_lang-Dyo6_-EM.js +22 -0
  3. package/dist/ChartLine.css +1 -1
  4. package/dist/{Drawer-Cl9_4uHA.js → Drawer-y5xBARd2.js} +1 -1
  5. package/dist/Drawer.js +2 -2
  6. package/dist/Dropdown.js +2 -2
  7. package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-CUPNdEz7.js → Dropdown.vue_vue_type_script_setup_true_lang-MuajPvzR.js} +23 -23
  8. package/dist/FileDrop.js +2 -2
  9. package/dist/{FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.js → FileDrop.vue_vue_type_script_setup_true_lang-Bq0lAgZ7.js} +1 -1
  10. package/dist/InputCheckbox.js +2 -2
  11. package/dist/{InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js → InputCheckbox.vue_vue_type_style_index_0_lang-DqRzwkVN.js} +4 -4
  12. package/dist/InputDate.js +2 -2
  13. package/dist/{InputDate.vue_vue_type_script_setup_true_lang-BdELykj8.js → InputDate.vue_vue_type_script_setup_true_lang-BUEAELkk.js} +2 -2
  14. package/dist/InputPassword.js +2 -2
  15. package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-BMChy2_E.js → InputPassword.vue_vue_type_script_setup_true_lang-ChHDOnS8.js} +35 -35
  16. package/dist/InputPrice.js +2 -2
  17. package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js → InputPrice.vue_vue_type_script_setup_true_lang-9UZ7YqAf.js} +12 -12
  18. package/dist/InputRadio.js +2 -2
  19. package/dist/InputRadio.vue_vue_type_style_index_0_lang-DlTO78_z.js +35 -0
  20. package/dist/InputSelect.js +2 -2
  21. package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-CGlaDHiJ.js → InputSelect.vue_vue_type_script_setup_true_lang-Dy5fjzHK.js} +19 -16
  22. package/dist/InputSwitch.js +2 -2
  23. package/dist/{InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.js → InputSwitch.vue_vue_type_script_setup_true_lang-BVGfQFZh.js} +10 -9
  24. package/dist/Modal.js +2 -2
  25. package/dist/{Modal.vue_vue_type_script_setup_true_lang-DiUI27HX.js → Modal.vue_vue_type_script_setup_true_lang-BvUk8ebI.js} +1 -1
  26. package/dist/Popover-Bq_SpOWb.js +73 -0
  27. package/dist/Popover.css +1 -0
  28. package/dist/Popover.js +2 -2
  29. package/dist/{ProgressCircle-Cpmi2CpO.js → ProgressCircle-C5CnEEoe.js} +14 -14
  30. package/dist/ProgressCircle.css +1 -1
  31. package/dist/ProgressCircle.js +2 -2
  32. package/dist/{ProgressLine-CTS0VOAI.js → ProgressLine-BqINh5jh.js} +13 -13
  33. package/dist/ProgressLine.css +1 -1
  34. package/dist/ProgressLine.js +2 -2
  35. package/dist/Skeleton.js +2 -2
  36. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-Dsy_4Ftz.js +18 -0
  37. package/dist/Tab.js +2 -2
  38. package/dist/{Tab.vue_vue_type_script_setup_true_lang-6bgS8FOw.js → Tab.vue_vue_type_script_setup_true_lang-OuqLqd04.js} +16 -16
  39. package/dist/components.js +17 -17
  40. package/dist/index.css +62 -41
  41. package/dist/{plugin-BJyDH94F.js → plugin-3Ql4s0Jh.js} +1 -1
  42. package/dist/{plugin-CJ6sqqaI.js → plugin-43q0Kzto.js} +1 -1
  43. package/dist/{plugin-C-iGigb_.js → plugin-AU2qI2I9.js} +1 -1
  44. package/dist/{plugin-MAzqwXys.js → plugin-CV6IjnsL.js} +1 -1
  45. package/dist/{plugin-RM2wZuwL.js → plugin-Co9LymNO.js} +1 -1
  46. package/dist/{plugin-x-Y35fqX.js → plugin-CzRCyET3.js} +1 -1
  47. package/dist/{plugin-wVt0wQNv.js → plugin-DBDBJ5_6.js} +1 -1
  48. package/dist/{plugin-BVJKxqmv.js → plugin-DIj5ypE6.js} +1 -1
  49. package/dist/{plugin-CZ2rAHjJ.js → plugin-DMGSStZm.js} +1 -1
  50. package/dist/{plugin-DxUJiAk-.js → plugin-DNJyBcDk.js} +1 -1
  51. package/dist/{plugin-Ch67LOIy.js → plugin-DSHWwE9A.js} +1 -1
  52. package/dist/{plugin-Do2-cqMT.js → plugin-DXPEO1fb.js} +1 -1
  53. package/dist/{plugin-C1kAmMfE.js → plugin-DYHfPgzY.js} +1 -1
  54. package/dist/{plugin-CNwzCYlr.js → plugin-JMSzJgz5.js} +1 -1
  55. package/dist/plugin-RTst32IC.js +10 -0
  56. package/dist/{plugin-B63n9_uc.js → plugin-hQ-aWPlo.js} +1 -1
  57. package/dist/{plugin-dX-bbpm5.js → plugin-n_PnyR3n.js} +1 -1
  58. package/dist/{plugins-3Yf4y3PS.js → plugins-CEGTMSZE.js} +24 -24
  59. package/dist/plugins.js +24 -24
  60. package/dist/tamandua.js +1 -1
  61. package/dist/types/components/Skeleton/Skeleton.vue.d.ts +29 -7
  62. package/dist/types/components/Skeleton/types.d.ts +4 -1
  63. package/package.json +1 -1
  64. package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +0 -22
  65. package/dist/InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js +0 -35
  66. package/dist/Popover.vue_vue_type_script_setup_true_lang-DoSN5ymu.js +0 -71
  67. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-WahY1vGW.js +0 -11
  68. package/dist/plugin-ColpxTKB.js +0 -10
@@ -1,4 +1,4 @@
1
- import { defineComponent as ue, mergeModels as O, useModel as se, ref as p, computed as E, onBeforeMount as ie, watch as I, resolveComponent as g, openBlock as i, createBlock as D, normalizeClass as x, withCtx as R, createElementVNode as K, withDirectives as N, createElementBlock as d, vModelText as re, createCommentVNode as z, createVNode as U, renderSlot as k, normalizeProps as _, mergeProps as M, Fragment as V, renderList as q, guardReactiveProps as G, toDisplayString as H, vShow as ce, createSlots as pe, createTextVNode as de, nextTick as fe } from "vue";
1
+ import { defineComponent as ue, mergeModels as O, useModel as se, ref as c, computed as E, onBeforeMount as ie, watch as I, resolveComponent as g, openBlock as i, createBlock as D, normalizeClass as x, withCtx as R, createElementVNode as N, withDirectives as K, createElementBlock as d, vModelText as re, createCommentVNode as z, createVNode as U, renderSlot as k, normalizeProps as _, mergeProps as M, Fragment as V, renderList as q, guardReactiveProps as G, toDisplayString as H, vShow as pe, createSlots as ce, createTextVNode as de, nextTick as fe } from "vue";
2
2
  import { a as ve, E as me } from "./ui-J-lhC9qd.js";
3
3
  const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
4
4
  key: 0,
@@ -36,7 +36,7 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
36
36
  setup(f, { emit: T }) {
37
37
  const l = f;
38
38
  let B = !1, S, P = "";
39
- const J = T, u = se(f, "modelValue"), o = p([]), c = p(""), j = p(null), F = p(), s = p(!1), L = p(null), a = p([]), $ = p(!1), v = p(null), h = E(() => a.value.length > 0), m = E(() => l.isSearchable && s.value), w = E(() => typeof l.resource == "function"), Q = (e) => !l.multiple || !u.value || !Array.isArray(u.value) ? !1 : u.value.includes(e.value), W = (e = u.value) => !(e === void 0 || e === "" || Array.isArray(e) && e.length === 0), X = (e) => {
39
+ const J = T, u = se(f, "modelValue"), o = c([]), p = c(""), j = c(null), F = c(), s = c(!1), L = c(null), a = c([]), $ = c(!1), v = c(null), h = E(() => a.value.length > 0), m = E(() => l.isSearchable && s.value), w = E(() => typeof l.resource == "function"), Q = (e) => !l.multiple || !u.value || !Array.isArray(u.value) ? !1 : u.value.includes(e.value), W = (e = u.value) => !(e === void 0 || e === "" || Array.isArray(e) && e.length === 0), X = (e) => {
40
40
  J("update:model-value", e);
41
41
  }, y = (e = u.value) => {
42
42
  if (W(e))
@@ -49,7 +49,7 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
49
49
  ~t && (a.value = [t]);
50
50
  }
51
51
  }, Y = async (e) => {
52
- e.stopPropagation(), s.value = !s.value, s.value && m.value && fe(() => {
52
+ e.target.nodeName === "svg" && e.stopPropagation(), s.value = !s.value, s.value && m.value && fe(() => {
53
53
  j.value?.focus();
54
54
  });
55
55
  }, A = (e) => o.value.findIndex(
@@ -59,16 +59,16 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
59
59
  return;
60
60
  $.value = !0;
61
61
  const t = {
62
- t: c.value,
62
+ t: p.value,
63
63
  r: "option"
64
64
  };
65
- e && v.value && v.value.pages > v.value.page ? t.page = v.value.page + 1 : e = !1, !c.value && u.value && (t.i = u.value);
65
+ e && v.value && v.value.pages > v.value.page ? t.page = v.value.page + 1 : e = !1, !p.value && u.value && (t.i = u.value);
66
66
  const r = await l.resource(t);
67
- e ? o.value.push(...r.items.map(l.mapper)) : o.value = r.items.map(l.mapper), v.value = r.pagination, !w.value && c.value && y(c.value), $.value = !1;
67
+ e ? o.value.push(...r.items.map(l.mapper)) : o.value = r.items.map(l.mapper), v.value = r.pagination, !w.value && p.value && y(p.value), $.value = !1;
68
68
  }, Z = () => {
69
- !c.value || P === c.value || (S && (clearTimeout(S), S = null), S = setTimeout(() => {
70
- P = c.value, w.value ? (s.value || (s.value = !0), C()) : l.isSearchable && (o.value = l.options.filter(
71
- (e) => l.filter(c.value, e)
69
+ !p.value || P === p.value || (S && (clearTimeout(S), S = null), S = setTimeout(() => {
70
+ P = p.value, w.value ? (s.value || (s.value = !0), C()) : l.isSearchable && (o.value = l.options.filter(
71
+ (e) => l.filter(p.value, e)
72
72
  ));
73
73
  }, 500));
74
74
  }, ee = ({
@@ -127,7 +127,7 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
127
127
  ref: F
128
128
  }, {
129
129
  default: R(() => [
130
- K("div", {
130
+ N("div", {
131
131
  class: x([{
132
132
  "h-9": !l.multiple,
133
133
  "h-full *:min-h-9": l.multiple,
@@ -135,9 +135,9 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
135
135
  [l.roundnessClass]: !0
136
136
  }, "flex justify-between items-center w-full max-w-96 input-text-color select-none input-bg-color"])
137
137
  }, [
138
- m.value ? N((i(), d("input", {
138
+ m.value ? K((i(), d("input", {
139
139
  key: 0,
140
- "onUpdate:modelValue": t[0] || (t[0] = (n) => c.value = n),
140
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => p.value = n),
141
141
  type: "text",
142
142
  ref_key: "inputRef",
143
143
  ref: j,
@@ -148,7 +148,7 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
148
148
  onInput: Z,
149
149
  onKeydown: te
150
150
  }, null, 40, ye)), [
151
- [re, c.value]
151
+ [re, p.value]
152
152
  ]) : z("", !0),
153
153
  U(b, {
154
154
  variant: "transparent",
@@ -161,10 +161,11 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
161
161
  "aria-describedby": F.value?.name,
162
162
  icon: s.value === !0 ? "chevron-up" : "chevron-down",
163
163
  "icon-position": m.value ? "left" : "right",
164
+ hover: !1,
164
165
  onClick: Y
165
166
  }, {
166
167
  default: R(() => [
167
- N(K("div", {
168
+ K(N("div", {
168
169
  class: x(["inline-flex items-center ml-2 max-w-[calc(100%-2.5rem)]", {
169
170
  "overflow-hidden whitespace-nowrap": !l.multiple,
170
171
  "flex-wrap gap-2 py-1": l.multiple
@@ -180,7 +181,7 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
180
181
  }, null, 8, ["text"]))), 128)) : (i(), d("span", he, H(o.value[a.value[0]]?.label), 1))
181
182
  ], 64)) : z("", !0)
182
183
  ], 2), [
183
- [ce, !m.value]
184
+ [pe, !m.value]
184
185
  ])
185
186
  ]),
186
187
  _: 3
@@ -195,9 +196,11 @@ const ye = ["placeholder", "disabled", "readonly"], he = { key: 1 }, we = {
195
196
  "is-visible": s.value,
196
197
  multiple: l.multiple,
197
198
  loading: $.value,
199
+ "option-margin-class": "m-1",
200
+ "option-padding-class": "py-2 px-3",
198
201
  onChange: ee,
199
202
  onEndReached: le
200
- }, pe({ _: 2 }, [
203
+ }, ce({ _: 2 }, [
201
204
  e.$slots.default || l.multiple ? {
202
205
  name: "default",
203
206
  fn: R((n) => [
@@ -1,5 +1,5 @@
1
- import { _ as o } from "./InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.js";
2
- import { p as i } from "./plugin-B63n9_uc.js";
1
+ import { _ as o } from "./InputSwitch.vue_vue_type_script_setup_true_lang-BVGfQFZh.js";
2
+ import { p as i } from "./plugin-hQ-aWPlo.js";
3
3
  export {
4
4
  o as InputSwitch,
5
5
  i as InputSwitchPlugin
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, ref as v, watch as f, openBlock as r, createElementBlock as i, createElementVNode as t, normalizeClass as o, withDirectives as h, vModelCheckbox as k, toDisplayString as w, createCommentVNode as y } from "vue";
1
+ import { defineComponent as b, ref as v, watch as f, openBlock as r, createElementBlock as i, createElementVNode as o, normalizeClass as t, withDirectives as h, vModelCheckbox as k, toDisplayString as w, createCommentVNode as y } from "vue";
2
2
  const g = ["disabled"];
3
3
  let V = 0;
4
4
  const B = /* @__PURE__ */ b({
@@ -22,16 +22,17 @@ const B = /* @__PURE__ */ b({
22
22
  },
23
23
  { immediate: !0 }
24
24
  ), (l, n) => (r(), i("div", null, [
25
- t("div", {
26
- class: o(["relative inline-block w-12 mr-2 align-middle select-none", {
25
+ o("div", {
26
+ class: t(["relative inline-block w-12 mr-2 align-middle select-none", {
27
27
  "rounded-full": !e.value
28
28
  }])
29
29
  }, [
30
- h(t("input", {
30
+ h(o("input", {
31
31
  "onUpdate:modelValue": n[0] || (n[0] = (m) => e.value = m),
32
32
  type: "checkbox",
33
- class: o(["absolute block w-6 h-6 rounded-full appearance-none cursor-pointer bg-caipira-primary input-outline border input-border", {
34
- "right-0": e.value
33
+ class: t(["absolute block w-6 h-6 rounded-full appearance-none cursor-pointer bg-caipira-primary input-outline border-2", {
34
+ "right-0 border-[var(--caipira-primary-inverted)]": e.value,
35
+ "input-border": !e.value
35
36
  }]),
36
37
  name: a,
37
38
  id: a,
@@ -40,11 +41,11 @@ const B = /* @__PURE__ */ b({
40
41
  }, null, 42, g), [
41
42
  [k, e.value]
42
43
  ]),
43
- t("label", {
44
+ o("label", {
44
45
  for: a,
45
- class: o([{
46
+ class: t([{
46
47
  "bg-caipira-primary-inverted": e.value,
47
- "bg-caipira-tertiary": !e.value
48
+ "bg-[var(--unfocused-bg-color)]": !e.value
48
49
  }, "block overflow-hidden h-6 rounded-full cursor-pointer"])
49
50
  }, null, 2)
50
51
  ], 2),
package/dist/Modal.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as r } from "./Modal.vue_vue_type_script_setup_true_lang-DiUI27HX.js";
2
- import { p } from "./plugin-dX-bbpm5.js";
1
+ import { _ as r } from "./Modal.vue_vue_type_script_setup_true_lang-BvUk8ebI.js";
2
+ import { p } from "./plugin-n_PnyR3n.js";
3
3
  export {
4
4
  r as Modal,
5
5
  p as ModalPlugin
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, ref as y, onMounted as b, resolveComponent as h, openBlock as o, createElementBlock as l, normalizeClass as a, withKeys as _, createBlock as k, createCommentVNode as s, createElementVNode as c, createVNode as v, toDisplayString as w, renderSlot as n } from "vue";
2
- import { _ as S } from "./Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js";
2
+ import { _ as S } from "./Backdrop.vue_vue_type_script_setup_true_lang-Dyo6_-EM.js";
3
3
  const x = {
4
4
  key: 0,
5
5
  class: "p-4 border-b border-color"
@@ -0,0 +1,73 @@
1
+ import './Popover.css';
2
+ import { defineComponent as w, mergeModels as B, useModel as E, ref as n, computed as u, onBeforeMount as P, onBeforeUnmount as M, openBlock as c, createElementBlock as d, renderSlot as m, normalizeProps as v, guardReactiveProps as g, normalizeStyle as x, unref as z, normalizeClass as O, createCommentVNode as R } from "vue";
3
+ import { u as T } from "./useDomHelpers-CGVrQd35.js";
4
+ import { d as S, E as $ } from "./ui-J-lhC9qd.js";
5
+ import { o as L, s as W, a as I, u as U, b as j } from "./floating-ui.vue-B5QcGNjh.js";
6
+ import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ let D = 0;
8
+ const F = /* @__PURE__ */ w({
9
+ name: "TPopover",
10
+ __name: "Popover",
11
+ props: /* @__PURE__ */ B({
12
+ trigger: { default: S.CLICK },
13
+ disabled: { type: Boolean, default: !1 },
14
+ placement: { default: $.BOTTOM },
15
+ slotWrapperClasses: { default: "input-roundness" },
16
+ width: { default: "auto" }
17
+ }, {
18
+ open: { type: Boolean, default: !1 },
19
+ openModifiers: {}
20
+ }),
21
+ emits: ["update:open"],
22
+ setup(s, { expose: C }) {
23
+ const t = E(s, "open"), r = s, a = `popover_${++D}`, l = n(), y = u(() => r.placement), o = n(), { wasClickOutsideOfContainer: _ } = T(), b = u(
24
+ () => o.value?.firstChild?.nextElementSibling
25
+ ), k = n([
26
+ L(5),
27
+ W({
28
+ apply({ elements: e }) {
29
+ if (r.width === "static")
30
+ return;
31
+ const f = e.reference.getBoundingClientRect();
32
+ Object.assign(e.floating.style, {
33
+ minWidth: `${f.width}px`
34
+ });
35
+ }
36
+ }),
37
+ I({ crossAxis: !0 })
38
+ ]), { floatingStyles: h } = U(b, l, {
39
+ open: t,
40
+ placement: y,
41
+ middleware: k,
42
+ whileElementsMounted: j
43
+ }), i = (e = !t.value) => {
44
+ t.value = e;
45
+ }, p = (e) => t.value && o.value && _(e, o.value) ? (t.value = !1, !1) : !0;
46
+ return P(() => {
47
+ document.addEventListener("click", p);
48
+ }), M(() => {
49
+ document.removeEventListener("click", p);
50
+ }), C({ name: a }), (e, f) => (c(), d("div", {
51
+ ref_key: "wrapperRef",
52
+ ref: o
53
+ }, [
54
+ m(e.$slots, "default", v(g({ onTogglePopover: i })), void 0, !0),
55
+ t.value ? (c(), d("div", {
56
+ key: 0,
57
+ ref_key: "floating",
58
+ ref: l,
59
+ role: "tooltip",
60
+ id: a,
61
+ style: x(z(h)),
62
+ class: O(["popover-floatable bg-caipira-primary z-10", {
63
+ [r.slotWrapperClasses]: !0
64
+ }])
65
+ }, [
66
+ m(e.$slots, "content", v(g({ onTogglePopover: i })), void 0, !0)
67
+ ], 6)) : R("", !0)
68
+ ], 512));
69
+ }
70
+ }), q = /* @__PURE__ */ A(F, [["__scopeId", "data-v-4fbb6f53"]]);
71
+ export {
72
+ q as P
73
+ };
@@ -0,0 +1 @@
1
+ .popover-floatable[data-v-4fbb6f53]{scrollbar-gutter:stable}
package/dist/Popover.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./Popover.vue_vue_type_script_setup_true_lang-DoSN5ymu.js";
2
- import { p as P } from "./plugin-ColpxTKB.js";
1
+ import { P as p } from "./Popover-Bq_SpOWb.js";
2
+ import { p as P } from "./plugin-RTst32IC.js";
3
3
  export {
4
4
  p as Popover,
5
5
  P as PopoverPlugin
@@ -1,10 +1,10 @@
1
1
  import './ProgressCircle.css';
2
- import { defineComponent as c, computed as n, openBlock as o, createElementBlock as s, createElementVNode as l, renderSlot as h, createCommentVNode as f } from "vue";
2
+ import { defineComponent as i, computed as n, openBlock as r, createElementBlock as s, createElementVNode as l, renderSlot as f, createCommentVNode as h } from "vue";
3
3
  import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const k = { class: "relative w-min" }, _ = ["width", "heigh"], p = ["stroke-width", "stroke"], m = ["stroke-width", "stroke", "stroke-dashoffset"], v = {
5
5
  key: 0,
6
6
  class: "absolute transform -translate-x-1/2 -translate-y-1/2 top-2/4 left-2/4"
7
- }, a = 90, w = /* @__PURE__ */ c({
7
+ }, a = 90, w = /* @__PURE__ */ i({
8
8
  name: "TProgressCircle",
9
9
  __name: "ProgressCircle",
10
10
  props: {
@@ -12,16 +12,16 @@ const k = { class: "relative w-min" }, _ = ["width", "heigh"], p = ["stroke-widt
12
12
  width: { default: 90 },
13
13
  strokeWidth: { default: 1 },
14
14
  strokeColor: { default: "var(--caipira-blue)" },
15
- backgroundColor: { default: "var(--caipira-tertiary)" }
15
+ backgroundColor: { default: "var(--unfocused-bg-color)" }
16
16
  },
17
17
  setup(d) {
18
- const e = d, i = n(() => {
18
+ const e = d, c = n(() => {
19
19
  const t = Math.PI * (a * 2);
20
- let r = e.value;
21
- return e.value < 0 && (r = 0), e.value > 100 && (r = 100), (100 - r) / 100 * t;
20
+ let o = e.value;
21
+ return e.value < 0 && (o = 0), e.value > 100 && (o = 100), (100 - o) / 100 * t;
22
22
  });
23
- return (t, r) => (o(), s("div", k, [
24
- (o(), s("svg", {
23
+ return (t, o) => (r(), s("div", k, [
24
+ (r(), s("svg", {
25
25
  viewBox: "0 0 200 200",
26
26
  width: e.width,
27
27
  heigh: e.width
@@ -44,15 +44,15 @@ const k = { class: "relative w-min" }, _ = ["width", "heigh"], p = ["stroke-widt
44
44
  r: a,
45
45
  "stroke-width": e.strokeWidth,
46
46
  stroke: e.strokeColor,
47
- "stroke-dashoffset": i.value
47
+ "stroke-dashoffset": c.value
48
48
  }, null, 8, m)
49
49
  ], 8, _)),
50
- t.$slots.default ? (o(), s("div", v, [
51
- h(t.$slots, "default", {}, void 0, !0)
52
- ])) : f("", !0)
50
+ t.$slots.default ? (r(), s("div", v, [
51
+ f(t.$slots, "default", {}, void 0, !0)
52
+ ])) : h("", !0)
53
53
  ]));
54
54
  }
55
- }), y = /* @__PURE__ */ u(w, [["__scopeId", "data-v-b9d5ffed"]]);
55
+ }), b = /* @__PURE__ */ u(w, [["__scopeId", "data-v-fbcf1aaa"]]);
56
56
  export {
57
- y as P
57
+ b as P
58
58
  };
@@ -1 +1 @@
1
- svg circle[data-v-b9d5ffed]{transition:stroke-dashoffset 1s linear}
1
+ svg circle[data-v-fbcf1aaa]{transition:stroke-dashoffset 1s linear}
@@ -1,5 +1,5 @@
1
- import { P as o } from "./ProgressCircle-Cpmi2CpO.js";
2
- import { p as P } from "./plugin-MAzqwXys.js";
1
+ import { P as o } from "./ProgressCircle-C5CnEEoe.js";
2
+ import { p as P } from "./plugin-CV6IjnsL.js";
3
3
  export {
4
4
  o as ProgressCircle,
5
5
  P as ProgressCirclePlugin
@@ -1,6 +1,6 @@
1
1
  import './ProgressLine.css';
2
- import { defineComponent as d, ref as u, watch as c, computed as f, openBlock as o, createElementBlock as l, normalizeClass as t, createElementVNode as s, renderSlot as h, toDisplayString as v, createCommentVNode as p } from "vue";
3
- import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
2
+ import { defineComponent as d, ref as u, watch as c, computed as f, openBlock as l, createElementBlock as a, normalizeClass as t, createElementVNode as s, renderSlot as h, toDisplayString as v, createCommentVNode as g } from "vue";
3
+ import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const m = ["aria-valuenow"], _ = ["height"], C = ["rx", "fill"], b = ["width", "rx", "fill"], w = {
5
5
  key: 1,
6
6
  class: "text-sm select-none"
@@ -17,26 +17,26 @@ const m = ["aria-valuenow"], _ = ["height"], C = ["rx", "fill"], b = ["width", "
17
17
  overColor: { default: "var(--caipira-red)" },
18
18
  progressColor: { default: "var(--caipira-blue)" },
19
19
  finishedColor: { default: "var(--caipira-green)" },
20
- backgroundColor: { default: "var(--caipira-tertiary)" }
20
+ backgroundColor: { default: "var(--unfocused-bg-color)" }
21
21
  },
22
22
  setup(i) {
23
- const e = i, a = u(0);
23
+ const e = i, o = u(0);
24
24
  c(
25
25
  () => e.value,
26
26
  (r) => {
27
- r && (a.value = Math.round(r));
27
+ r && (o.value = Math.round(r));
28
28
  },
29
29
  { immediate: !0 }
30
30
  );
31
- const n = f(() => a.value === 100 ? e.finishedColor : a.value > 100 ? e.overColor : e.progressColor);
32
- return (r, x) => (o(), l("div", {
31
+ const n = f(() => o.value === 100 ? e.finishedColor : o.value > 100 ? e.overColor : e.progressColor);
32
+ return (r, x) => (l(), a("div", {
33
33
  class: "flex items-center",
34
34
  role: "progressbar",
35
35
  "aria-valuemax": "100",
36
36
  "aria-valuemin": "0",
37
- "aria-valuenow": a.value
37
+ "aria-valuenow": o.value
38
38
  }, [
39
- (o(), l("svg", {
39
+ (l(), a("svg", {
40
40
  width: "100%",
41
41
  height: e.height,
42
42
  class: t(["inline-block grow", e.svgClass])
@@ -54,15 +54,15 @@ const m = ["aria-valuenow"], _ = ["height"], C = ["rx", "fill"], b = ["width", "
54
54
  fill: n.value
55
55
  }, null, 8, b)
56
56
  ], 10, _)),
57
- e.showPercentage ? (o(), l("div", {
57
+ e.showPercentage ? (l(), a("div", {
58
58
  key: 0,
59
59
  class: t(["flex-none ml-2", r.labelClass])
60
60
  }, [
61
- r.$slots.label ? h(r.$slots, "label", { key: 0 }, void 0, !0) : (o(), l("span", w, v(a.value) + "% ", 1))
62
- ], 2)) : p("", !0)
61
+ r.$slots.label ? h(r.$slots, "label", { key: 0 }, void 0, !0) : (l(), a("span", w, v(o.value) + "% ", 1))
62
+ ], 2)) : g("", !0)
63
63
  ], 8, m));
64
64
  }
65
- }), B = /* @__PURE__ */ g(k, [["__scopeId", "data-v-08cf9019"]]);
65
+ }), B = /* @__PURE__ */ p(k, [["__scopeId", "data-v-6d5869e8"]]);
66
66
  export {
67
67
  B as P
68
68
  };
@@ -1 +1 @@
1
- svg rect[data-v-08cf9019]{transition:width .3s linear}
1
+ svg rect[data-v-6d5869e8]{transition:width .3s linear}
@@ -1,5 +1,5 @@
1
- import { P as o } from "./ProgressLine-CTS0VOAI.js";
2
- import { p as P } from "./plugin-CZ2rAHjJ.js";
1
+ import { P as o } from "./ProgressLine-BqINh5jh.js";
2
+ import { p as P } from "./plugin-DMGSStZm.js";
3
3
  export {
4
4
  o as ProgressLine,
5
5
  P as ProgressLinePlugin
package/dist/Skeleton.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as r } from "./Skeleton.vue_vue_type_script_setup_true_lang-WahY1vGW.js";
2
- import { p as l } from "./plugin-C1kAmMfE.js";
1
+ import { _ as r } from "./Skeleton.vue_vue_type_script_setup_true_lang-Dsy_4Ftz.js";
2
+ import { p as l } from "./plugin-DYHfPgzY.js";
3
3
  export {
4
4
  r as Skeleton,
5
5
  l as SkeletonPlugin
@@ -0,0 +1,18 @@
1
+ import { defineComponent as n, openBlock as a, createElementBlock as l, normalizeClass as o } from "vue";
2
+ const m = /* @__PURE__ */ n({
3
+ name: "TSkeleton",
4
+ __name: "Skeleton",
5
+ props: {
6
+ marginClass: { default: "" },
7
+ sizeClass: { default: "w-full h-4" }
8
+ },
9
+ setup(s) {
10
+ const e = s;
11
+ return (r, t) => (a(), l("div", {
12
+ class: o(["animate-pulse bg-[var(--unfocused-bg-color)] rounded-sm", [e.marginClass, e.sizeClass]])
13
+ }, null, 2));
14
+ }
15
+ });
16
+ export {
17
+ m as _
18
+ };
package/dist/Tab.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as r } from "./Tab.vue_vue_type_script_setup_true_lang-6bgS8FOw.js";
2
- import { p as b } from "./plugin-wVt0wQNv.js";
1
+ import { _ as r } from "./Tab.vue_vue_type_script_setup_true_lang-OuqLqd04.js";
2
+ import { p as b } from "./plugin-DBDBJ5_6.js";
3
3
  export {
4
4
  r as Tab,
5
5
  b as TabPlugin
@@ -1,47 +1,47 @@
1
- import { defineComponent as d, ref as b, openBlock as t, createElementBlock as a, Fragment as o, createElementVNode as n, renderList as c, normalizeClass as i, toDisplayString as m, renderSlot as _, createCommentVNode as f } from "vue";
1
+ import { defineComponent as d, ref as b, openBlock as t, createElementBlock as l, Fragment as a, createElementVNode as n, renderList as c, normalizeClass as i, toDisplayString as m, renderSlot as _, createCommentVNode as f } from "vue";
2
2
  const k = {
3
- class: "flex flex-col md:flex-row flex-wrap rounded-xs list-none mb-6 pt-1 bg-caipira-tertiary",
3
+ class: "flex flex-col md:flex-row flex-wrap rounded-xs list-none mb-6 pt-1 bg-[var(--unfocused-bg-color)]",
4
4
  role: "tablist"
5
- }, v = ["onClick"], y = {
5
+ }, v = ["onClick"], h = {
6
6
  class: "tab-content",
7
7
  id: "tabs-tabContent"
8
- }, g = /* @__PURE__ */ d({
8
+ }, x = /* @__PURE__ */ d({
9
9
  name: "TTab",
10
10
  __name: "Tab",
11
11
  props: {
12
12
  tabs: { default: () => [] }
13
13
  },
14
- setup(p) {
15
- const s = p, l = b(0);
16
- return (u, h) => (t(), a(o, null, [
14
+ setup(u) {
15
+ const s = u, r = b(0);
16
+ return (p, y) => (t(), l(a, null, [
17
17
  n("ul", k, [
18
- (t(!0), a(o, null, c(s.tabs, (r, e) => (t(), a("li", {
18
+ (t(!0), l(a, null, c(s.tabs, (o, e) => (t(), l("li", {
19
19
  role: "presentation",
20
20
  key: e
21
21
  }, [
22
22
  n("a", {
23
23
  class: i(["block uppercase py-2 px-4", {
24
- "bg-caipira-primary": e === l.value
24
+ "bg-caipira-primary": e === r.value
25
25
  }]),
26
26
  href: "#",
27
27
  role: "tab",
28
28
  "aria-selected": "true",
29
- onClick: (C) => l.value = e
30
- }, m(r?.title), 11, v)
29
+ onClick: (C) => r.value = e
30
+ }, m(o?.title), 11, v)
31
31
  ]))), 128))
32
32
  ]),
33
- n("div", y, [
34
- (t(!0), a(o, null, c(s.tabs, (r, e) => (t(), a("div", {
33
+ n("div", h, [
34
+ (t(!0), l(a, null, c(s.tabs, (o, e) => (t(), l("div", {
35
35
  key: e,
36
- class: i(["", { hidden: e !== l.value }]),
36
+ class: i(["", { hidden: e !== r.value }]),
37
37
  role: "tabpanel"
38
38
  }, [
39
- r?.slot ? _(u.$slots, r.slot, { key: 0 }) : f("", !0)
39
+ o?.slot ? _(p.$slots, o.slot, { key: 0 }) : f("", !0)
40
40
  ], 2))), 128))
41
41
  ])
42
42
  ], 64));
43
43
  }
44
44
  });
45
45
  export {
46
- g as _
46
+ x as _
47
47
  };
@@ -1,11 +1,11 @@
1
1
  import { _ as e } from "./Avatar.vue_vue_type_script_setup_true_lang-D7NdR9hu.js";
2
- import { _ as a } from "./Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js";
2
+ import { _ as a } from "./Backdrop.vue_vue_type_script_setup_true_lang-Dyo6_-EM.js";
3
3
  import { _ as s } from "./Button.vue_vue_type_script_setup_true_lang-DW0Q2Ut2.js";
4
4
  import { _ as f } from "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
5
5
  import { _ as n } from "./ChartTreemap.vue_vue_type_script_setup_true_lang-CLi_IXfP.js";
6
- import { D as u } from "./Drawer-Cl9_4uHA.js";
7
- import { _ as l } from "./Dropdown.vue_vue_type_script_setup_true_lang-CUPNdEz7.js";
8
- import { _ as c } from "./FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.js";
6
+ import { D as u } from "./Drawer-y5xBARd2.js";
7
+ import { _ as l } from "./Dropdown.vue_vue_type_script_setup_true_lang-MuajPvzR.js";
8
+ import { _ as c } from "./FileDrop.vue_vue_type_script_setup_true_lang-Bq0lAgZ7.js";
9
9
  import { _ as T } from "./Form.vue_vue_type_script_setup_true_lang-CNGNCak7.js";
10
10
  import { _ as C } from "./FormItem.vue_vue_type_script_setup_true_lang-D7a8YCgS.js";
11
11
  import { _ as b } from "./GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js";
@@ -15,31 +15,31 @@ import { _ as v } from "./GraphySubtitle.vue_vue_type_script_setup_true_lang-DsB
15
15
  import { _ as F } from "./GraphyTitle.vue_vue_type_script_setup_true_lang-DXnrZHV2.js";
16
16
  import { _ as M } from "./Icon.vue_vue_type_script_setup_true_lang-C2QvF2xM.js";
17
17
  import { _ as B } from "./InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js";
18
- import { _ as R } from "./InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js";
18
+ import { _ as R } from "./InputCheckbox.vue_vue_type_style_index_0_lang-DqRzwkVN.js";
19
19
  import { _ as q } from "./InputCryptoCurrency.vue_vue_type_script_setup_true_lang-BIUT5eCh.js";
20
20
  import { _ as H } from "./InputColor.vue_vue_type_script_setup_true_lang-DT-MAgI2.js";
21
- import { _ as K } from "./InputDate.vue_vue_type_script_setup_true_lang-BdELykj8.js";
21
+ import { _ as K } from "./InputDate.vue_vue_type_script_setup_true_lang-BUEAELkk.js";
22
22
  import { _ as O } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-BguqKGGe.js";
23
- import { _ as U } from "./InputPassword.vue_vue_type_script_setup_true_lang-BMChy2_E.js";
23
+ import { _ as U } from "./InputPassword.vue_vue_type_script_setup_true_lang-ChHDOnS8.js";
24
24
  import { _ as W } from "./InputPhone.vue_vue_type_script_setup_true_lang-B4TULqLW.js";
25
- import { _ as Y } from "./InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js";
26
- import { _ as $ } from "./InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js";
25
+ import { _ as Y } from "./InputPrice.vue_vue_type_script_setup_true_lang-9UZ7YqAf.js";
26
+ import { _ as $ } from "./InputRadio.vue_vue_type_style_index_0_lang-DlTO78_z.js";
27
27
  import "vue";
28
- import { _ as or } from "./InputSelect.vue_vue_type_script_setup_true_lang-CGlaDHiJ.js";
29
- import { _ as er } from "./InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.js";
28
+ import { _ as or } from "./InputSelect.vue_vue_type_script_setup_true_lang-Dy5fjzHK.js";
29
+ import { _ as er } from "./InputSwitch.vue_vue_type_script_setup_true_lang-BVGfQFZh.js";
30
30
  import { _ as ar } from "./InputText.vue_vue_type_script_setup_true_lang-JLAlUE_2.js";
31
31
  import { _ as sr } from "./InputTextarea.vue_vue_type_script_setup_true_lang-q9T4fINI.js";
32
32
  import { _ as fr } from "./Link.vue_vue_type_script_setup_true_lang-BE-Gh_jJ.js";
33
- import { _ as nr } from "./Modal.vue_vue_type_script_setup_true_lang-DiUI27HX.js";
33
+ import { _ as nr } from "./Modal.vue_vue_type_script_setup_true_lang-BvUk8ebI.js";
34
34
  import { _ as ur } from "./ModalForm.vue_vue_type_script_setup_true_lang-RfK0Mn81.js";
35
35
  import { _ as lr } from "./Pagination.vue_vue_type_script_setup_true_lang-BCQUrEVO.js";
36
36
  import { _ as cr } from "./Popconfirm.vue_vue_type_script_setup_true_lang-C37pLEUq.js";
37
- import { _ as Tr } from "./Popover.vue_vue_type_script_setup_true_lang-DoSN5ymu.js";
38
- import { P as Cr } from "./ProgressCircle-Cpmi2CpO.js";
39
- import { P as br } from "./ProgressLine-CTS0VOAI.js";
37
+ import { P as Tr } from "./Popover-Bq_SpOWb.js";
38
+ import { P as Cr } from "./ProgressCircle-C5CnEEoe.js";
39
+ import { P as br } from "./ProgressLine-BqINh5jh.js";
40
40
  import { _ as Gr } from "./SensitiveInfo.vue_vue_type_script_setup_true_lang-D288W5VF.js";
41
- import { _ as gr } from "./Skeleton.vue_vue_type_script_setup_true_lang-WahY1vGW.js";
42
- import { _ as vr } from "./Tab.vue_vue_type_script_setup_true_lang-6bgS8FOw.js";
41
+ import { _ as gr } from "./Skeleton.vue_vue_type_script_setup_true_lang-Dsy_4Ftz.js";
42
+ import { _ as vr } from "./Tab.vue_vue_type_script_setup_true_lang-OuqLqd04.js";
43
43
  import { T as Fr } from "./Table-vjjmPzlZ.js";
44
44
  import { _ as Mr } from "./Tag.vue_vue_type_script_setup_true_lang-CKzb-As0.js";
45
45
  import { _ as Br } from "./Toast.vue_vue_type_script_setup_true_lang-DcVS4Iyg.js";