@caipira/tamandua 0.0.66 → 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 (78) 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/Button.js +2 -2
  4. package/dist/{Button.vue_vue_type_script_setup_true_lang-CUPz7wT9.js → Button.vue_vue_type_script_setup_true_lang-DW0Q2Ut2.js} +29 -29
  5. package/dist/ChartLine.css +1 -1
  6. package/dist/{Drawer-Cl9_4uHA.js → Drawer-y5xBARd2.js} +1 -1
  7. package/dist/Drawer.js +2 -2
  8. package/dist/Dropdown.js +2 -2
  9. package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-DeY4vid5.js → Dropdown.vue_vue_type_script_setup_true_lang-MuajPvzR.js} +24 -24
  10. package/dist/FileDrop.js +2 -2
  11. package/dist/{FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.js → FileDrop.vue_vue_type_script_setup_true_lang-Bq0lAgZ7.js} +1 -1
  12. package/dist/InputCheckbox.js +2 -2
  13. 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
  14. package/dist/InputDate.js +2 -2
  15. package/dist/{InputDate.vue_vue_type_script_setup_true_lang-BdELykj8.js → InputDate.vue_vue_type_script_setup_true_lang-BUEAELkk.js} +2 -2
  16. package/dist/InputPassword.js +2 -2
  17. 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
  18. package/dist/InputPrice.js +2 -2
  19. package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js → InputPrice.vue_vue_type_script_setup_true_lang-9UZ7YqAf.js} +12 -12
  20. package/dist/InputRadio.js +2 -2
  21. package/dist/InputRadio.vue_vue_type_style_index_0_lang-DlTO78_z.js +35 -0
  22. package/dist/InputSelect.js +2 -2
  23. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-Dy5fjzHK.js +232 -0
  24. package/dist/InputSwitch.js +2 -2
  25. 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
  26. package/dist/Modal.js +2 -2
  27. package/dist/{Modal.vue_vue_type_script_setup_true_lang-DiUI27HX.js → Modal.vue_vue_type_script_setup_true_lang-BvUk8ebI.js} +1 -1
  28. package/dist/Pagination.js +2 -2
  29. package/dist/Pagination.vue_vue_type_script_setup_true_lang-BCQUrEVO.js +110 -0
  30. package/dist/Popover-Bq_SpOWb.js +73 -0
  31. package/dist/Popover.css +1 -0
  32. package/dist/Popover.js +2 -2
  33. package/dist/{ProgressCircle-Cpmi2CpO.js → ProgressCircle-C5CnEEoe.js} +14 -14
  34. package/dist/ProgressCircle.css +1 -1
  35. package/dist/ProgressCircle.js +2 -2
  36. package/dist/{ProgressLine-CTS0VOAI.js → ProgressLine-BqINh5jh.js} +13 -13
  37. package/dist/ProgressLine.css +1 -1
  38. package/dist/ProgressLine.js +2 -2
  39. package/dist/Skeleton.js +2 -2
  40. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-Dsy_4Ftz.js +18 -0
  41. package/dist/Tab.js +2 -2
  42. package/dist/{Tab.vue_vue_type_script_setup_true_lang-6bgS8FOw.js → Tab.vue_vue_type_script_setup_true_lang-OuqLqd04.js} +16 -16
  43. package/dist/components.js +19 -19
  44. package/dist/index.css +62 -41
  45. package/dist/{plugin-BJyDH94F.js → plugin-3Ql4s0Jh.js} +1 -1
  46. package/dist/{plugin-CJ6sqqaI.js → plugin-43q0Kzto.js} +1 -1
  47. package/dist/{plugin-C-iGigb_.js → plugin-AU2qI2I9.js} +1 -1
  48. package/dist/{plugin-MAzqwXys.js → plugin-CV6IjnsL.js} +1 -1
  49. package/dist/{plugin-Cr3oXX-8.js → plugin-CV_fI920.js} +1 -1
  50. package/dist/{plugin-RM2wZuwL.js → plugin-Co9LymNO.js} +1 -1
  51. package/dist/{plugin-DrKx8l8j.js → plugin-CzRCyET3.js} +1 -1
  52. package/dist/{plugin-wVt0wQNv.js → plugin-DBDBJ5_6.js} +1 -1
  53. package/dist/{plugin-BVJKxqmv.js → plugin-DIj5ypE6.js} +1 -1
  54. package/dist/{plugin-CZ2rAHjJ.js → plugin-DMGSStZm.js} +1 -1
  55. package/dist/{plugin-DPAnsB4s.js → plugin-DNJyBcDk.js} +1 -1
  56. package/dist/{plugin-Ch67LOIy.js → plugin-DSHWwE9A.js} +1 -1
  57. package/dist/{plugin-Do2-cqMT.js → plugin-DXPEO1fb.js} +1 -1
  58. package/dist/{plugin-C1kAmMfE.js → plugin-DYHfPgzY.js} +1 -1
  59. package/dist/{plugin-CNwzCYlr.js → plugin-JMSzJgz5.js} +1 -1
  60. package/dist/plugin-RTst32IC.js +10 -0
  61. package/dist/{plugin-B63n9_uc.js → plugin-hQ-aWPlo.js} +1 -1
  62. package/dist/{plugin-DxG6Hhao.js → plugin-jyvJNavM.js} +1 -1
  63. package/dist/{plugin-dX-bbpm5.js → plugin-n_PnyR3n.js} +1 -1
  64. package/dist/{plugins-BFVTdy-_.js → plugins-CEGTMSZE.js} +27 -27
  65. package/dist/plugins.js +27 -27
  66. package/dist/tamandua.js +1 -1
  67. package/dist/types/components/Pagination/Pagination.vue.d.ts +9 -0
  68. package/dist/types/components/Pagination/types.d.ts +1 -0
  69. package/dist/types/components/Skeleton/Skeleton.vue.d.ts +29 -7
  70. package/dist/types/components/Skeleton/types.d.ts +4 -1
  71. package/package.json +1 -1
  72. package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +0 -22
  73. package/dist/InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js +0 -35
  74. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-BuO105oW.js +0 -227
  75. package/dist/Pagination.vue_vue_type_script_setup_true_lang-BB6dLKpi.js +0 -106
  76. package/dist/Popover.vue_vue_type_script_setup_true_lang-DoSN5ymu.js +0 -71
  77. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-WahY1vGW.js +0 -11
  78. package/dist/plugin-ColpxTKB.js +0 -10
@@ -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";
3
- import { _ as s } from "./Button.vue_vue_type_script_setup_true_lang-CUPz7wT9.js";
2
+ import { _ as a } from "./Backdrop.vue_vue_type_script_setup_true_lang-Dyo6_-EM.js";
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-DeY4vid5.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-BuO105oW.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
- import { _ as lr } from "./Pagination.vue_vue_type_script_setup_true_lang-BB6dLKpi.js";
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";
package/dist/index.css CHANGED
@@ -4,42 +4,32 @@
4
4
 
5
5
  @layer utilities {
6
6
  :root {
7
- /*
8
- Theme configuration:
9
-
10
- --caipira-primary Background color of content (pages, cards, inputs, etc)
11
- --caipira-secondary Text color
12
- --caipira-tertiary Border color, unfocused text and containers color, app background color
13
- --caipira-quaternary Hover color
14
- */
15
-
16
7
  /* Light theme */
17
8
  --caipira-light-primary: #fff;
18
9
  --caipira-light-secondary: #f5f5f5;
19
- --caipira-light-tertiary: #d3d3d3;
20
- --caipira-light-quaternary: #efefef;
21
10
  --caipira-light-red: #e64553;
22
11
  --caipira-light-green: #16a34ae6;
23
12
  --caipira-light-yellow: #df8e1d;
24
13
  --caipira-light-blue: #1e66f5;
25
14
 
26
15
  /* Dark theme */
27
- --caipira-dark-primary: #0f0f0f;
16
+ --caipira-dark-primary: #000;
28
17
  --caipira-dark-secondary: #1e1e1e;
29
- --caipira-dark-tertiary: #333333;
30
- --caipira-dark-quaternary: #555555;
31
- --caipira-dark-red: #e64553;
32
- --caipira-dark-green: #16a34ae6;
18
+ --caipira-dark-red: #f85149;
19
+ --caipira-dark-green: #3fb950;
33
20
  --caipira-dark-yellow: #df8e1d;
34
21
  --caipira-dark-blue: #4089ff;
35
22
 
36
23
  &:not(.dark) {
37
24
  --caipira-primary: var(--caipira-light-primary);
38
25
  --caipira-primary-inverted: var(--caipira-dark-primary);
39
- --caipira-secondary: var(--caipira-light-secondary);
40
- --caipira-secondary-inverted: var(--caipira-dark-secondary);
41
- --caipira-tertiary: var(--caipira-light-tertiary);
42
- --caipira-quaternary: var(--caipira-light-quaternary);
26
+
27
+ --caipira-tertiary: color-mix(
28
+ in srgb,
29
+ var(--caipira-primary),
30
+ var(--caipira-primary-inverted) 5%
31
+ );
32
+
43
33
  --caipira-red: var(--caipira-light-red);
44
34
  --caipira-green: var(--caipira-light-green);
45
35
  --caipira-yellow: var(--caipira-light-yellow);
@@ -49,10 +39,13 @@
49
39
  &.dark {
50
40
  --caipira-primary: var(--caipira-dark-primary);
51
41
  --caipira-primary-inverted: var(--caipira-light-primary);
52
- --caipira-secondary: var(--caipira-dark-secondary);
53
- --caipira-secondary-inverted: var(--caipira-light-secondary);
54
- --caipira-tertiary: var(--caipira-dark-tertiary);
55
- --caipira-quaternary: var(--caipira-dark-quaternary);
42
+
43
+ --caipira-tertiary: color-mix(
44
+ in srgb,
45
+ var(--caipira-primary),
46
+ var(--caipira-primary-inverted) 10%
47
+ );
48
+
56
49
  --caipira-red: var(--caipira-dark-red);
57
50
  --caipira-green: var(--caipira-dark-green);
58
51
  --caipira-yellow: var(--caipira-dark-yellow);
@@ -60,11 +53,32 @@
60
53
  }
61
54
 
62
55
  /* Functional color pointers */
63
- --border-color: var(--caipira-tertiary);
56
+
64
57
  --bg-color: var(--caipira-primary);
65
- --unfocused-color: var(--caipira-tertiary);
66
- --hover-color: var(--caipira-quaternary);
67
- --color-text: var(--caipira-secondary-inverted);
58
+
59
+ --border-color: color-mix(
60
+ in srgb,
61
+ var(--caipira-primary),
62
+ var(--caipira-primary-inverted) 15%
63
+ );
64
+
65
+ --unfocused-bg-color: color-mix(
66
+ in srgb,
67
+ var(--caipira-primary),
68
+ var(--caipira-primary-inverted) 10%
69
+ );
70
+
71
+ --unfocused-text-color: color-mix(
72
+ in srgb,
73
+ var(--caipira-primary),
74
+ var(--caipira-primary-inverted) 40%
75
+ );
76
+
77
+ --hover-color: var(--caipira-tertiary);
78
+
79
+ --text-color: var(--caipira-primary-inverted);
80
+
81
+ --input-radius: var(--radius-sm);
68
82
  }
69
83
  }
70
84
 
@@ -75,9 +89,6 @@
75
89
  .bg-caipira-primary-inverted {
76
90
  background-color: var(--caipira-primary-inverted);
77
91
  }
78
- .bg-caipira-tertiary {
79
- background-color: var(--caipira-tertiary);
80
- }
81
92
  .bg-caipira-blue {
82
93
  background-color: var(--caipira-blue);
83
94
  }
@@ -119,10 +130,7 @@
119
130
  color: var(--caipira-primary-inverted);
120
131
  }
121
132
  .color-text {
122
- color: var(--color-text);
123
- }
124
- .color-unfocused-text {
125
- color: var(--caipira-tertiary);
133
+ color: var(--text-color);
126
134
  }
127
135
  .color-caipira-blue {
128
136
  color: var(--caipira-blue);
@@ -159,7 +167,7 @@
159
167
  border-color: var(--border-color);
160
168
  }
161
169
  .input-roundness {
162
- border-radius: var(--radius-xs);
170
+ border-radius: var(--input-radius);
163
171
  }
164
172
  .input-outline:focus {
165
173
  outline-style: var(--tw-outline-style);
@@ -170,7 +178,7 @@
170
178
  background-color: var(--bg-color);
171
179
  }
172
180
  .input-text-color {
173
- color: var(--color-text);
181
+ color: var(--text-color);
174
182
  }
175
183
  .input-padding {
176
184
  @apply pl-2 pr-1;
@@ -206,16 +214,17 @@
206
214
  &::-webkit-scrollbar {
207
215
  width: 7px;
208
216
  height: 10px;
209
- border-radius: 5px;
217
+ border-radius: var(--input-radius);
210
218
  }
211
219
 
212
220
  &::-webkit-scrollbar-track {
213
- background: var(--caipira-secondary);
221
+ background: var(--caipira-primary);
222
+ border-radius: var(--input-radius);
214
223
  }
215
224
 
216
225
  &::-webkit-scrollbar-thumb {
217
- background-color: var(--caipira-quaternary);
218
- border-radius: 5px;
226
+ background-color: var(--unfocused-bg-color);
227
+ border-radius: var(--input-radius);
219
228
  }
220
229
  }
221
230
 
@@ -247,3 +256,15 @@
247
256
  .form-radio {
248
257
  border-radius: 100%;
249
258
  }
259
+ .form-radio:checked,
260
+ .form-checkbox:checked,
261
+ .form-checkbox:indeterminate {
262
+ background-position: center;
263
+ }
264
+ .form-radio:checked {
265
+ background-size: 2em;
266
+ }
267
+ .form-checkbox:checked,
268
+ .form-checkbox:indeterminate {
269
+ background-size: 1.3em;
270
+ }
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./InputPassword.vue_vue_type_script_setup_true_lang-BMChy2_E.js";
2
+ import { _ as s } from "./InputPassword.vue_vue_type_script_setup_true_lang-ChHDOnS8.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.js";
2
+ import { _ as s } from "./FileDrop.vue_vue_type_script_setup_true_lang-Bq0lAgZ7.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
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 m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r as o } from "./register-component-B-fdqewb.js";
2
- import { P as s } from "./ProgressCircle-Cpmi2CpO.js";
2
+ import { P as s } from "./ProgressCircle-C5CnEEoe.js";
3
3
  const i = {
4
4
  install(r) {
5
5
  o(r, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./Button.vue_vue_type_script_setup_true_lang-CUPz7wT9.js";
2
+ import { _ as s } from "./Button.vue_vue_type_script_setup_true_lang-DW0Q2Ut2.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js";
2
+ import { _ as s } from "./InputPrice.vue_vue_type_script_setup_true_lang-9UZ7YqAf.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./Dropdown.vue_vue_type_script_setup_true_lang-DeY4vid5.js";
2
+ import { _ as s } from "./Dropdown.vue_vue_type_script_setup_true_lang-MuajPvzR.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./Tab.vue_vue_type_script_setup_true_lang-6bgS8FOw.js";
2
+ import { _ as s } from "./Tab.vue_vue_type_script_setup_true_lang-OuqLqd04.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js";
2
+ import { _ as s } from "./InputCheckbox.vue_vue_type_style_index_0_lang-DqRzwkVN.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r as o } from "./register-component-B-fdqewb.js";
2
- import { P as s } from "./ProgressLine-CTS0VOAI.js";
2
+ import { P as s } from "./ProgressLine-BqINh5jh.js";
3
3
  const i = {
4
4
  install(r) {
5
5
  o(r, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./InputSelect.vue_vue_type_script_setup_true_lang-BuO105oW.js";
2
+ import { _ as s } from "./InputSelect.vue_vue_type_script_setup_true_lang-Dy5fjzHK.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./InputDate.vue_vue_type_script_setup_true_lang-BdELykj8.js";
2
+ import { _ as s } from "./InputDate.vue_vue_type_script_setup_true_lang-BUEAELkk.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r as l } from "./register-component-B-fdqewb.js";
2
- import { _ as d } from "./InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js";
2
+ import { _ as d } from "./InputRadio.vue_vue_type_style_index_0_lang-DlTO78_z.js";
3
3
  import { defineComponent as s, onBeforeMount as u, provide as a, computed as p, renderSlot as c } from "vue";
4
4
  const f = /* @__PURE__ */ s({
5
5
  name: "TInputRadioGroup",
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./Skeleton.vue_vue_type_script_setup_true_lang-WahY1vGW.js";
2
+ import { _ as s } from "./Skeleton.vue_vue_type_script_setup_true_lang-Dsy_4Ftz.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -1,5 +1,5 @@
1
1
  import { r as o } from "./register-component-B-fdqewb.js";
2
- import { D as t } from "./Drawer-Cl9_4uHA.js";
2
+ import { D as t } from "./Drawer-y5xBARd2.js";
3
3
  const a = {
4
4
  install(r) {
5
5
  o(r, t);
@@ -0,0 +1,10 @@
1
+ import { r } from "./register-component-B-fdqewb.js";
2
+ import { P as p } from "./Popover-Bq_SpOWb.js";
3
+ const e = {
4
+ install(o) {
5
+ r(o, p);
6
+ }
7
+ };
8
+ export {
9
+ e as p
10
+ };
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.js";
2
+ import { _ as s } from "./InputSwitch.vue_vue_type_script_setup_true_lang-BVGfQFZh.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);