@caipira/tamandua 0.0.64 → 0.0.65

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/FileDrop.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./FileDrop.vue_vue_type_script_setup_true_lang-DLEH_LLX.js";
2
- import { p as i } from "./plugin-BscWXR9h.js";
1
+ import { _ as p } from "./FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.js";
2
+ import { p as i } from "./plugin-CJ6sqqaI.js";
3
3
  export {
4
4
  p as FileDrop,
5
5
  i as FileDropPlugin
@@ -5,10 +5,10 @@ const I = { class: "flex items-center justify-center w-full" }, M = {
5
5
  }, N = { class: "text-xs" }, j = {
6
6
  key: 1,
7
7
  class: "flex items-center justify-evenly my-4 w-full"
8
- }, B = { class: "text-center" }, A = /* @__PURE__ */ n("p", { class: "mb-2 text-sm text-gray-500 dark:text-gray-400" }, [
8
+ }, B = { class: "text-center" }, A = /* @__PURE__ */ n("p", { class: "mb-2 text-sm" }, [
9
9
  /* @__PURE__ */ n("span", { class: "font-semibold" }, "Click to upload"),
10
10
  /* @__PURE__ */ G(" or drag and drop ")
11
- ], -1), E = { class: "text-xs text-gray-500 dark:text-gray-400" }, K = ["multiple"], J = /* @__PURE__ */ k({
11
+ ], -1), E = { class: "text-xs" }, K = ["multiple"], J = /* @__PURE__ */ k({
12
12
  name: "TFileDrop",
13
13
  __name: "FileDrop",
14
14
  props: /* @__PURE__ */ F({
@@ -20,39 +20,39 @@ const I = { class: "flex items-center justify-center w-full" }, M = {
20
20
  }),
21
21
  emits: ["update:modelValue"],
22
22
  setup(c, { emit: S }) {
23
- const _ = c, l = C(c, "modelValue"), u = V(null), y = p(() => l.value.length > 0), g = p(() => {
23
+ const _ = c, o = C(c, "modelValue"), u = V(null), v = p(() => o.value.length > 0), h = p(() => {
24
24
  switch (_.types) {
25
25
  default:
26
26
  return "SVG, PNG, JPG or GIF";
27
27
  }
28
- }), h = (e, r) => {
29
- e.stopPropagation(), e.preventDefault(), l.value = l.value.filter((o) => o.name !== r);
30
- }, x = (e) => {
28
+ }), x = (e, i) => {
29
+ e.stopPropagation(), e.preventDefault(), o.value = o.value.filter((l) => l.name !== i);
30
+ }, y = (e) => {
31
31
  e.stopPropagation();
32
- const o = e.target.files;
33
- if (!o || !o.length)
32
+ const l = e.target.files;
33
+ if (!l || !l.length)
34
34
  return;
35
- const i = l.value.flatMap((t) => t.name);
36
- l.value = [
37
- ...l.value,
38
- ...Array.from(o).filter(
39
- (t) => !i.includes(t.name)
35
+ const r = o.value.flatMap((t) => t.name);
36
+ o.value = [
37
+ ...o.value,
38
+ ...Array.from(l).filter(
39
+ (t) => !r.includes(t.name)
40
40
  )
41
41
  ];
42
- }, v = (e) => {
42
+ }, g = (e) => {
43
43
  e.stopPropagation(), u.value?.click();
44
44
  };
45
- return (e, r) => {
46
- const o = d("t-button"), i = d("t-icon");
45
+ return (e, i) => {
46
+ const l = d("t-button"), r = d("t-icon");
47
47
  return s(), a("div", I, [
48
48
  n("label", {
49
49
  for: "dropzone-file",
50
50
  tabindex: "0",
51
- class: "flex flex-col items-center justify-center w-full h-full cursor-pointer border input-border border-dashed input-roundness input-text-color input-bg-color hover:bg-caipira-secondary input-outline",
52
- onKeyup: w(v, ["space", "enter"])
51
+ class: "flex flex-col items-center justify-center w-full h-full cursor-pointer border input-border input-roundness input-text-color input-bg-color input-outline",
52
+ onKeyup: w(g, ["space", "enter"])
53
53
  }, [
54
- y.value ? (s(), a("div", M, [
55
- (s(!0), a(z, null, D(l.value, (t) => (s(), a("div", {
54
+ v.value ? (s(), a("div", M, [
55
+ (s(!0), a(z, null, D(o.value, (t) => (s(), a("div", {
56
56
  key: t.name,
57
57
  class: "flex items-center"
58
58
  }, [
@@ -60,26 +60,26 @@ const I = { class: "flex items-center justify-center w-full" }, M = {
60
60
  class: P(["fs mr-1", [t.name.split(".").pop()]])
61
61
  }, null, 2),
62
62
  n("span", N, m(t.name), 1),
63
- f(o, {
63
+ f(l, {
64
64
  variant: "transparent",
65
65
  size: "sm",
66
66
  hover: !1,
67
67
  icon: "trash-can-outline",
68
68
  class: "text-red-400",
69
69
  role: "button",
70
- onClick: (b) => h(b, t.name)
70
+ onClick: (b) => x(b, t.name)
71
71
  }, null, 8, ["onClick"])
72
72
  ]))), 128))
73
73
  ])) : (s(), a("div", j, [
74
- f(i, {
75
- class: "fill-gray-500 dark:fill-gray-400",
74
+ f(r, {
75
+ class: "text-[var(--unfocused-color)]",
76
76
  icon: "upload",
77
77
  role: "button",
78
78
  size: "lg"
79
79
  }),
80
80
  n("div", B, [
81
81
  A,
82
- n("p", E, m(g.value), 1)
82
+ n("p", E, m(h.value), 1)
83
83
  ])
84
84
  ])),
85
85
  n("input", {
@@ -90,7 +90,7 @@ const I = { class: "flex items-center justify-center w-full" }, M = {
90
90
  type: "file",
91
91
  class: "hidden",
92
92
  multiple: e.multiple,
93
- onChange: x
93
+ onChange: y
94
94
  }, null, 40, K)
95
95
  ], 32)
96
96
  ]);
@@ -1,5 +1,5 @@
1
- import { _ as e } from "./InputCheckbox.vue_vue_type_style_index_0_lang-BOY41cD-.js";
2
- import { p as t } from "./plugin-BQqeQUxM.js";
1
+ import { _ as e } from "./InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js";
2
+ import { p as t } from "./plugin-BVJKxqmv.js";
3
3
  export {
4
4
  e as InputCheckbox,
5
5
  t as InputCheckboxPlugin
@@ -1,5 +1,5 @@
1
1
  import './InputCheckbox.css';
2
- import { defineComponent as u, ref as m, watch as f, resolveComponent as b, openBlock as i, createElementBlock as h, withDirectives as v, createElementVNode as y, mergeProps as _, vModelCheckbox as k, createBlock as x, withCtx as B, createTextVNode as C, toDisplayString as V, createCommentVNode as g } from "vue";
2
+ import { defineComponent as u, ref as m, watch as f, resolveComponent as b, openBlock as i, createElementBlock as h, withDirectives as v, createElementVNode as _, mergeProps as k, vModelCheckbox as y, createBlock as x, withCtx as B, createTextVNode as C, toDisplayString as V, createCommentVNode as g } from "vue";
3
3
  const I = { class: "h-9 inline-flex items-center" }, w = ["indeterminate", "disabled"];
4
4
  let N = 0;
5
5
  const D = /* @__PURE__ */ u({
@@ -14,35 +14,35 @@ const D = /* @__PURE__ */ u({
14
14
  },
15
15
  emits: ["update:model-value", "input"],
16
16
  setup(r, { emit: d }) {
17
- const t = r, o = d, l = `checkbox_${++N}`, a = m(!1), s = () => {
17
+ const t = r, l = d, o = `checkbox_${++N}`, a = m(!1), s = () => {
18
18
  const e = !a.value;
19
- o("update:model-value", e), o("input", e);
19
+ l("update:model-value", e), l("input", e);
20
20
  };
21
21
  return f(
22
22
  () => t.modelValue,
23
23
  (e) => {
24
- t.initializeValue && typeof e > "u" && o("update:model-value", !1), a.value = e;
24
+ t.initializeValue && typeof e > "u" && l("update:model-value", !1), a.value = e;
25
25
  },
26
26
  { immediate: !0 }
27
27
  ), (e, n) => {
28
28
  const p = b("t-graphy-label");
29
29
  return i(), h("div", I, [
30
- v(y("input", _({
30
+ v(_("input", k({
31
31
  "onUpdate:modelValue": n[0] || (n[0] = (c) => a.value = c)
32
32
  }, e.$attrs, {
33
33
  type: "checkbox",
34
- class: "form-checkbox w-5 h-5 border input-border input-roundness color-caipira-primary-inverted bg-caipira-primary checked:bg-caipira-primary-inverted input-outline",
34
+ class: "form-checkbox w-5 h-5 border input-border input-roundness bg-caipira-primary checked:bg-caipira-primary-inverted input-outline",
35
35
  indeterminate: t.isIndeterminate,
36
- id: l,
36
+ id: o,
37
37
  disabled: e.disabled,
38
38
  onInput: s
39
39
  }), null, 16, w), [
40
- [k, a.value]
40
+ [y, a.value]
41
41
  ]),
42
42
  t.label ? (i(), x(p, {
43
43
  key: 0,
44
44
  class: "cursor-pointer pl-2 mr-3",
45
- for: l
45
+ for: o
46
46
  }, {
47
47
  default: B(() => [
48
48
  C(V(t.label), 1)
@@ -1,5 +1,5 @@
1
- import { _ as a } from "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
2
- import { p as t } from "./plugin-Y4yYnlO3.js";
1
+ import { _ as a } from "./InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js";
2
+ import { p as t } from "./plugin-Do2-cqMT.js";
3
3
  export {
4
4
  a as InputRadio,
5
5
  t as InputRadioPlugin
@@ -0,0 +1,35 @@
1
+ import './InputRadio.css';
2
+ import { defineComponent as p, inject as r, openBlock as u, createElementBlock as m, createElementVNode as o, unref as a, toDisplayString as b } from "vue";
3
+ const h = { class: "h-9 inline-flex items-center" }, v = ["value", "name", "disabled", "checked"];
4
+ let f = 0;
5
+ const g = /* @__PURE__ */ p({
6
+ name: "TInputRadio",
7
+ __name: "InputRadio",
8
+ props: {
9
+ value: {},
10
+ label: {}
11
+ },
12
+ setup(t) {
13
+ const n = `radio_${++f}`, c = r("name", ""), e = t, l = r("model", ""), d = r("change", () => {
14
+ }), s = r("disabled", !1);
15
+ return (_, i) => (u(), m("div", h, [
16
+ o("input", {
17
+ value: e.value,
18
+ name: a(c),
19
+ id: n,
20
+ disabled: a(s),
21
+ checked: e.value === a(l),
22
+ type: "radio",
23
+ class: "form-radio w-5 h-5 border input-border checked:hover:border-caipira-primary-inverted checked:focus:border-caipira-primary-inverted checked:border-caipira-primary-inverted input-outline focus:input-outline bg-caipira-primary color-caipira-primary",
24
+ onChange: i[0] || (i[0] = (k) => a(d)(e.value))
25
+ }, null, 40, v),
26
+ o("label", {
27
+ class: "cursor-pointer pl-2 mr-3 input-label",
28
+ for: n
29
+ }, b(e.label), 1)
30
+ ]));
31
+ }
32
+ });
33
+ export {
34
+ g as _
35
+ };
@@ -1,5 +1,5 @@
1
- import { _ as o } from "./InputSwitch.vue_vue_type_script_setup_true_lang-Q3wQlqfk.js";
2
- import { p as i } from "./plugin-BZOU6h10.js";
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";
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 i, createElementBlock as n, createElementVNode as t, normalizeClass as o, withDirectives as h, vModelCheckbox as y, toDisplayString as k, createCommentVNode as w } from "vue";
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";
2
2
  const g = ["disabled"];
3
3
  let V = 0;
4
4
  const B = /* @__PURE__ */ b({
@@ -10,8 +10,8 @@ const B = /* @__PURE__ */ b({
10
10
  modelValue: { type: Boolean }
11
11
  },
12
12
  emits: ["update:model-value"],
13
- setup(d, { emit: u }) {
14
- const s = d, c = u, a = `switch_${++V}`, e = v(!1), p = () => {
13
+ setup(u, { emit: d }) {
14
+ const s = u, c = d, a = `switch_${++V}`, e = v(!1), p = () => {
15
15
  const l = !e.value;
16
16
  c("update:model-value", l);
17
17
  };
@@ -21,25 +21,24 @@ const B = /* @__PURE__ */ b({
21
21
  e.value = !!l;
22
22
  },
23
23
  { immediate: !0 }
24
- ), (l, r) => (i(), n("div", null, [
24
+ ), (l, n) => (r(), i("div", null, [
25
25
  t("div", {
26
26
  class: o(["relative inline-block w-12 mr-2 align-middle select-none", {
27
27
  "rounded-full": !e.value
28
28
  }])
29
29
  }, [
30
30
  h(t("input", {
31
- "onUpdate:modelValue": r[0] || (r[0] = (m) => e.value = m),
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 border input-outline", {
34
- "right-0 border-caipira-primary-inverted": e.value,
35
- "border-caipira-tertiary": !e.value
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
36
35
  }]),
37
36
  name: a,
38
37
  id: a,
39
38
  disabled: l.disabled,
40
39
  onInput: p
41
40
  }, null, 42, g), [
42
- [y, e.value]
41
+ [k, e.value]
43
42
  ]),
44
43
  t("label", {
45
44
  for: a,
@@ -49,11 +48,11 @@ const B = /* @__PURE__ */ b({
49
48
  }, "block overflow-hidden h-6 rounded-full cursor-pointer"])
50
49
  }, null, 2)
51
50
  ], 2),
52
- l.label ? (i(), n("label", {
51
+ l.label ? (r(), i("label", {
53
52
  key: 0,
54
53
  class: "text-base cursor-pointer select-none",
55
54
  for: a
56
- }, k(l.label), 1)) : w("", !0)
55
+ }, w(l.label), 1)) : y("", !0)
57
56
  ]));
58
57
  }
59
58
  });
@@ -5,7 +5,7 @@ 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
6
  import { D as u } from "./Drawer-Cl9_4uHA.js";
7
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-DLEH_LLX.js";
8
+ import { _ as c } from "./FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.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,7 +15,7 @@ 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 B } from "./Icon.vue_vue_type_script_setup_true_lang-CDJweTzy.js";
17
17
  import { _ as A } from "./InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js";
18
- import { _ as R } from "./InputCheckbox.vue_vue_type_style_index_0_lang-BOY41cD-.js";
18
+ import { _ as R } from "./InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.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
21
  import { _ as K } from "./InputDate.vue_vue_type_script_setup_true_lang-BdELykj8.js";
@@ -23,10 +23,10 @@ import { _ as O } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-Bg
23
23
  import { _ as U } from "./InputPassword.vue_vue_type_script_setup_true_lang-BMChy2_E.js";
24
24
  import { _ as W } from "./InputPhone.vue_vue_type_script_setup_true_lang-B4TULqLW.js";
25
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-DusKEybQ.js";
26
+ import { _ as $ } from "./InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js";
27
27
  import "vue";
28
28
  import { _ as or } from "./InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js";
29
- import { _ as er } from "./InputSwitch.vue_vue_type_script_setup_true_lang-Q3wQlqfk.js";
29
+ import { _ as er } from "./InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.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-DIzaFPvW.js";
package/dist/index.css CHANGED
@@ -7,33 +7,30 @@
7
7
  /*
8
8
  Theme configuration:
9
9
 
10
- --caipira-primary: [Accent color] Background color of content (pages, cards, etc)
11
- --caipira-secondary: [Contrast color] Hover color
12
- --caipira-tertiary: [Background color] Border color, unfocused text color, app background color
13
- --caipira-quaternary: [Unused]
14
- --caipira-quinary: [Unused]
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
15
14
  */
16
15
 
17
16
  /* Light theme */
18
17
  --caipira-light-primary: #fff;
19
- --caipira-light-secondary: #f1f3f4;
18
+ --caipira-light-secondary: #f5f5f5;
20
19
  --caipira-light-tertiary: #d3d3d3;
21
- --caipira-light-quaternary: #d1d1d1;
22
- --caipira-light-quinary: #efefef;
20
+ --caipira-light-quaternary: #efefef;
23
21
  --caipira-light-red: #e64553;
24
22
  --caipira-light-green: #16a34ae6;
25
23
  --caipira-light-yellow: #df8e1d;
26
24
  --caipira-light-blue: #1e66f5;
27
25
 
28
26
  /* Dark theme */
29
- --caipira-dark-primary: #121212;
30
- --caipira-dark-secondary: #282828;
31
- --caipira-dark-tertiary: #262626;
32
- --caipira-dark-quaternary: #525252;
33
- --caipira-dark-quinary: #202020;
34
- --caipira-dark-red: #f38ba8;
35
- --caipira-dark-green: #a6e3a1;
36
- --caipira-dark-yellow: #f9e2af;
27
+ --caipira-dark-primary: #0f0f0f;
28
+ --caipira-dark-secondary: #1e1e1e;
29
+ --caipira-dark-tertiary: #333333;
30
+ --caipira-dark-quaternary: #555555;
31
+ --caipira-dark-red: #e64553;
32
+ --caipira-dark-green: #16a34ae6;
33
+ --caipira-dark-yellow: #df8e1d;
37
34
  --caipira-dark-blue: #4089ff;
38
35
 
39
36
  &:not(.dark) {
@@ -43,7 +40,6 @@
43
40
  --caipira-secondary-inverted: var(--caipira-dark-secondary);
44
41
  --caipira-tertiary: var(--caipira-light-tertiary);
45
42
  --caipira-quaternary: var(--caipira-light-quaternary);
46
- --caipira-quinary: var(--caipira-light-quinary);
47
43
  --caipira-red: var(--caipira-light-red);
48
44
  --caipira-green: var(--caipira-light-green);
49
45
  --caipira-yellow: var(--caipira-light-yellow);
@@ -57,7 +53,6 @@
57
53
  --caipira-secondary-inverted: var(--caipira-light-secondary);
58
54
  --caipira-tertiary: var(--caipira-dark-tertiary);
59
55
  --caipira-quaternary: var(--caipira-dark-quaternary);
60
- --caipira-quinary: var(--caipira-dark-quinary);
61
56
  --caipira-red: var(--caipira-dark-red);
62
57
  --caipira-green: var(--caipira-dark-green);
63
58
  --caipira-yellow: var(--caipira-dark-yellow);
@@ -68,7 +63,7 @@
68
63
  --border-color: var(--caipira-tertiary);
69
64
  --bg-color: var(--caipira-primary);
70
65
  --unfocused-color: var(--caipira-tertiary);
71
- --hover-color: var(--caipira-quinary);
66
+ --hover-color: var(--caipira-quaternary);
72
67
  --color-text: var(--caipira-secondary-inverted);
73
68
  }
74
69
  }
@@ -80,9 +75,6 @@
80
75
  .bg-caipira-primary-inverted {
81
76
  background-color: var(--caipira-primary-inverted);
82
77
  }
83
- .bg-caipira-secondary {
84
- background-color: var(--caipira-secondary);
85
- }
86
78
  .bg-caipira-tertiary {
87
79
  background-color: var(--caipira-tertiary);
88
80
  }
@@ -106,9 +98,6 @@
106
98
  .border-caipira-primary-inverted {
107
99
  border-color: var(--caipira-primary-inverted);
108
100
  }
109
- .border-caipira-tertiary {
110
- border-color: var(--caipira-tertiary);
111
- }
112
101
  .border-caipira-blue {
113
102
  border-color: var(--caipira-blue);
114
103
  }
@@ -231,6 +220,10 @@
231
220
  }
232
221
 
233
222
  /* Checkbox & Radio */
223
+ .form-checkbox:checked,
224
+ .form-radio:checked {
225
+ background-color: currentColor;
226
+ }
234
227
  .form-checkbox,
235
228
  .form-radio {
236
229
  appearance: none;
@@ -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-Q3wQlqfk.js";
2
+ import { _ as s } from "./InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.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-BOY41cD-.js";
2
+ import { _ as s } from "./InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.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-DLEH_LLX.js";
2
+ import { _ as s } from "./FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.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-DusKEybQ.js";
2
+ import { _ as d } from "./InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.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",
@@ -11,7 +11,7 @@ import { p as n } from "./plugin-CyDnzy2n.js";
11
11
  import "./Drawer-Cl9_4uHA.js";
12
12
  import { p as m } from "./plugin-CNwzCYlr.js";
13
13
  import { p as u } from "./plugin-DrKx8l8j.js";
14
- import { p as l } from "./plugin-BscWXR9h.js";
14
+ import { p as l } from "./plugin-CJ6sqqaI.js";
15
15
  import "./Form.vue_vue_type_script_setup_true_lang-CNGNCak7.js";
16
16
  import { p as t } from "./plugin-BuU0zOfE.js";
17
17
  import { p as g } from "./plugin-CvohbpUQ.js";
@@ -24,8 +24,8 @@ import { p as e } from "./plugin-DOeDaXWj.js";
24
24
  import "./Icon.vue_vue_type_script_setup_true_lang-CDJweTzy.js";
25
25
  import { p as $ } from "./plugin-6ziw5jJj.js";
26
26
  import { p as I } from "./plugin--F5QK2vy.js";
27
- import "./InputCheckbox.vue_vue_type_style_index_0_lang-BOY41cD-.js";
28
- import { p as c } from "./plugin-BQqeQUxM.js";
27
+ import "./InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js";
28
+ import { p as c } from "./plugin-BVJKxqmv.js";
29
29
  import { p as h } from "./plugin-Bq4nQPd4.js";
30
30
  import { p as y } from "./plugin-D9KHvOM3.js";
31
31
  import { p as b } from "./plugin-Ch67LOIy.js";
@@ -33,11 +33,11 @@ import { p as d } from "./plugin-Br-QOjhk.js";
33
33
  import { p as T } from "./plugin-BJyDH94F.js";
34
34
  import { p as C } from "./plugin-CrHDShgh.js";
35
35
  import { p as S } from "./plugin-RM2wZuwL.js";
36
- import "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
37
- import { p as v } from "./plugin-Y4yYnlO3.js";
36
+ import "./InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js";
37
+ import { p as v } from "./plugin-Do2-cqMT.js";
38
38
  import "./InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js";
39
39
  import { p as G } from "./plugin-CZiSoM73.js";
40
- import { p as k } from "./plugin-BZOU6h10.js";
40
+ import { p as k } from "./plugin-B63n9_uc.js";
41
41
  import { p as w } from "./plugin-lYDlOt8p.js";
42
42
  import { p as x } from "./plugin-C8Z-XgLn.js";
43
43
  import "./Link.vue_vue_type_script_setup_true_lang-DIzaFPvW.js";
package/dist/plugins.js CHANGED
@@ -11,7 +11,7 @@ import { p as D } from "./plugin-CyDnzy2n.js";
11
11
  import "./Drawer-Cl9_4uHA.js";
12
12
  import { p as L } from "./plugin-CNwzCYlr.js";
13
13
  import { p as A } from "./plugin-DrKx8l8j.js";
14
- import { p as E } from "./plugin-BscWXR9h.js";
14
+ import { p as E } from "./plugin-CJ6sqqaI.js";
15
15
  import "./Form.vue_vue_type_script_setup_true_lang-CNGNCak7.js";
16
16
  import { p as j } from "./plugin-BuU0zOfE.js";
17
17
  import { p as z } from "./plugin-CvohbpUQ.js";
@@ -24,8 +24,8 @@ import { p as X } from "./plugin-DOeDaXWj.js";
24
24
  import "./Icon.vue_vue_type_script_setup_true_lang-CDJweTzy.js";
25
25
  import { p as Z } from "./plugin-6ziw5jJj.js";
26
26
  import { p as $ } from "./plugin--F5QK2vy.js";
27
- import "./InputCheckbox.vue_vue_type_style_index_0_lang-BOY41cD-.js";
28
- import { p as or } from "./plugin-BQqeQUxM.js";
27
+ import "./InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js";
28
+ import { p as or } from "./plugin-BVJKxqmv.js";
29
29
  import { p as tr } from "./plugin-Bq4nQPd4.js";
30
30
  import { p as er } from "./plugin-D9KHvOM3.js";
31
31
  import { p as nr } from "./plugin-Ch67LOIy.js";
@@ -33,11 +33,11 @@ import { p as ur } from "./plugin-Br-QOjhk.js";
33
33
  import { p as Pr } from "./plugin-BJyDH94F.js";
34
34
  import { p as gr } from "./plugin-CrHDShgh.js";
35
35
  import { p as fr } from "./plugin-RM2wZuwL.js";
36
- import "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
37
- import { p as cr } from "./plugin-Y4yYnlO3.js";
36
+ import "./InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js";
37
+ import { p as cr } from "./plugin-Do2-cqMT.js";
38
38
  import "./InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js";
39
39
  import { p as yr } from "./plugin-CZiSoM73.js";
40
- import { p as Cr } from "./plugin-BZOU6h10.js";
40
+ import { p as Cr } from "./plugin-B63n9_uc.js";
41
41
  import { p as br } from "./plugin-lYDlOt8p.js";
42
42
  import { p as Sr } from "./plugin-C8Z-XgLn.js";
43
43
  import "./Link.vue_vue_type_script_setup_true_lang-DIzaFPvW.js";
package/dist/tamandua.js CHANGED
@@ -1,4 +1,4 @@
1
- import { p as n } from "./plugins-CXIwZwnV.js";
1
+ import { p as n } from "./plugins-cn0dSxZb.js";
2
2
  const o = {
3
3
  install(s) {
4
4
  for (const i in n)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caipira/tamandua",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "private": false,
5
5
  "description": "UI library for the Caipira ecosystem",
6
6
  "license": "GPL-3.0-only",
@@ -1,35 +0,0 @@
1
- import './InputRadio.css';
2
- import { defineComponent as p, inject as r, openBlock as m, createElementBlock as u, createElementVNode as o, unref as a, toDisplayString as b } from "vue";
3
- const v = { class: "h-9 inline-flex items-center" }, h = ["value", "name", "disabled", "checked"];
4
- let f = 0;
5
- const g = /* @__PURE__ */ p({
6
- name: "TInputRadio",
7
- __name: "InputRadio",
8
- props: {
9
- value: {},
10
- label: {}
11
- },
12
- setup(t) {
13
- const i = `radio_${++f}`, c = r("name", ""), e = t, l = r("model", ""), d = r("change", () => {
14
- }), s = r("disabled", !1);
15
- return (_, n) => (m(), u("div", v, [
16
- o("input", {
17
- value: e.value,
18
- name: a(c),
19
- id: i,
20
- disabled: a(s),
21
- checked: e.value === a(l),
22
- type: "radio",
23
- class: "form-radio w-5 h-5 border border-caipira-primary-inverted checked:hover:border-caipira-primary-inverted checked:focus:border-caipira-primary-inverted checked:border-caipira-primary-inverted input-outline focus:input-outline bg-caipira-primary color-caipira-primary",
24
- onChange: n[0] || (n[0] = (y) => a(d)(e.value))
25
- }, null, 40, h),
26
- o("label", {
27
- class: "cursor-pointer pl-2 mr-3 input-label",
28
- for: i
29
- }, b(e.label), 1)
30
- ]));
31
- }
32
- });
33
- export {
34
- g as _
35
- };