@caipira/tamandua 0.0.44 → 0.0.46
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/{Button-DxCwFAWy.js → Button-DusGbcIs.js} +10 -10
- package/dist/Button.css +1 -1
- package/dist/Button.js +2 -2
- package/dist/Drawer-CKfQZ6rv.js +74 -0
- package/dist/Drawer.css +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/Form.js +2 -2
- package/dist/{Form.vue_vue_type_script_setup_true_lang-CaCu47jH.js → Form.vue_vue_type_script_setup_true_lang-35_V6mw8.js} +83 -86
- package/dist/FormItem.js +2 -2
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-D7a8YCgS.js +64 -0
- package/dist/GraphySubtitle.js +2 -2
- package/dist/GraphySubtitle.vue_vue_type_script_setup_true_lang-DsBHn2gS.js +18 -0
- package/dist/InputCheckbox.js +2 -2
- package/dist/InputCheckbox.vue_vue_type_style_index_0_lang-D5J-rPuH.js +49 -0
- package/dist/InputMultiplier.js +2 -2
- package/dist/{InputMultiplier.vue_vue_type_script_setup_true_lang-BFDBZk2M.js → InputMultiplier.vue_vue_type_script_setup_true_lang-BguqKGGe.js} +5 -6
- package/dist/InputPassword.js +2 -2
- package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-DtP-Tv-2.js → InputPassword.vue_vue_type_script_setup_true_lang-BghMiF8B.js} +1 -1
- package/dist/InputRadio.js +2 -2
- package/dist/InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js +35 -0
- package/dist/InputSwitch.js +2 -2
- package/dist/{InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js → InputSwitch.vue_vue_type_script_setup_true_lang-Q3wQlqfk.js} +1 -1
- package/dist/InputText.js +2 -2
- package/dist/InputText.vue_vue_type_script_setup_true_lang-JLAlUE_2.js +38 -0
- package/dist/Link.js +2 -2
- package/dist/{Link.vue_vue_type_script_setup_true_lang-DBYJfl5l.js → Link.vue_vue_type_script_setup_true_lang-gTf77Jvd.js} +10 -10
- package/dist/Modal.js +2 -2
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-aQ-G7tuI.js → Modal.vue_vue_type_script_setup_true_lang-CEaX1svl.js} +10 -10
- package/dist/components.js +13 -13
- package/dist/{plugin-BN2jubTY.js → plugin-BT2ef1QG.js} +1 -1
- package/dist/{plugin-CrUFQdOK.js → plugin-BV0OSVIw.js} +1 -1
- package/dist/{plugin-DT7LVAli.js → plugin-BZOU6h10.js} +1 -1
- package/dist/{plugin-WcNmSb_y.js → plugin-Br-QOjhk.js} +1 -1
- package/dist/{plugin-BjXXC0b-.js → plugin-CvohbpUQ.js} +1 -1
- package/dist/{plugin-DQ6digu2.js → plugin-DH3hMjgo.js} +1 -1
- package/dist/{plugin-BDFttGl1.js → plugin-DHstqRmE.js} +1 -1
- package/dist/{plugin-GUvrG7aO.js → plugin-DKjcKBPg.js} +1 -1
- package/dist/{plugin-Dz7BPW4D.js → plugin-DPCk5fFS.js} +1 -1
- package/dist/{plugin-uMlQixCx.js → plugin-DcQ8tvKe.js} +1 -1
- package/dist/{plugin-DN54VuID.js → plugin-F3dxY_wr.js} +1 -1
- package/dist/{plugin-D6dx276z.js → plugin-Y4yYnlO3.js} +1 -1
- package/dist/{plugin-DDUNw6fL.js → plugin-lYDlOt8p.js} +1 -1
- package/dist/{plugins-Dwz7OLJO.js → plugins-8zKsGUYL.js} +19 -19
- package/dist/plugins.js +19 -19
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Drawer/Drawer.story.d.ts +31 -0
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +97 -0
- package/dist/types/components/Dropdown/types.d.ts +2 -3
- package/dist/types/components/Form/{form.story.d.ts → Form.story.d.ts} +7 -1
- package/dist/types/components/Form/Form.vue.d.ts +6 -19
- package/dist/types/components/Form/types.d.ts +3 -5
- package/dist/types/components/FormItem/FormItem.vue.d.ts +2 -16
- package/dist/types/components/FormItem/types.d.ts +3 -1
- package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +1 -1
- package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +3 -0
- package/dist/types/components/InputCheckbox/types.d.ts +1 -0
- package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +0 -3
- package/dist/types/components/InputMultiplier/types.d.ts +0 -1
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +1 -1
- package/dist/types/components/Popover/Popover.vue.d.ts +9 -9
- package/package.json +1 -1
- package/dist/Drawer-KwhQs5WA.js +0 -74
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV7IVjE4.js +0 -84
- package/dist/GraphySubtitle.vue_vue_type_script_setup_true_lang-DtAmgZWp.js +0 -18
- package/dist/InputCheckbox.vue_vue_type_style_index_0_lang-BONJ9l1D.js +0 -40
- package/dist/InputRadio.vue_vue_type_style_index_0_lang-IqPZ9Qzl.js +0 -35
- package/dist/InputText.vue_vue_type_script_setup_true_lang-D4nIMRiz.js +0 -39
- /package/dist/types/components/InputCheckbox/{input-checkbox.story.d.ts → Input-checkbox.story.d.ts} +0 -0
- /package/dist/types/components/InputPassword/{input-password.story.d.ts → Input-password.story.d.ts} +0 -0
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import './InputRadio.css';
|
|
2
|
-
import { defineComponent as m, inject as e, openBlock as u, createElementBlock as b, createElementVNode as o, unref as r, toDisplayString as v } from "vue";
|
|
3
|
-
const h = { class: "h-9 inline-flex items-center" }, f = ["value", "name", "disabled", "checked"];
|
|
4
|
-
let _ = 0;
|
|
5
|
-
const g = /* @__PURE__ */ m({
|
|
6
|
-
name: "TInputRadio",
|
|
7
|
-
__name: "InputRadio",
|
|
8
|
-
props: {
|
|
9
|
-
value: {},
|
|
10
|
-
label: {}
|
|
11
|
-
},
|
|
12
|
-
setup(t) {
|
|
13
|
-
const i = `radio_${++_}`, c = e("name", ""), a = t, l = e("model", ""), d = e("change", () => {
|
|
14
|
-
}), s = e("disabled", !1);
|
|
15
|
-
return (p, n) => (u(), b("div", h, [
|
|
16
|
-
o("input", {
|
|
17
|
-
value: a.value,
|
|
18
|
-
name: r(c),
|
|
19
|
-
id: i,
|
|
20
|
-
disabled: r(s),
|
|
21
|
-
checked: a.value === r(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) => r(d)(a.value))
|
|
25
|
-
}, null, 40, f),
|
|
26
|
-
o("label", {
|
|
27
|
-
class: "cursor-pointer pl-2 mr-3 input-label",
|
|
28
|
-
for: i
|
|
29
|
-
}, v(p.label), 1)
|
|
30
|
-
]));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
g as _
|
|
35
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, mergeModels as u, useModel as c, inject as l, withDirectives as m, openBlock as f, createElementBlock as b, normalizeClass as v, unref as t, vModelDynamic as y } from "vue";
|
|
2
|
-
const _ = ["type", "id", "placeholder", "autocomplete", "disabled"], M = /* @__PURE__ */ r({
|
|
3
|
-
name: "TInputText",
|
|
4
|
-
__name: "InputText",
|
|
5
|
-
props: /* @__PURE__ */ u({
|
|
6
|
-
type: { default: "text" },
|
|
7
|
-
placeholder: { default: void 0 },
|
|
8
|
-
autocomplete: { default: void 0 },
|
|
9
|
-
disabled: { type: Boolean, default: !1 },
|
|
10
|
-
disableStyle: { type: Boolean, default: !1 }
|
|
11
|
-
}, {
|
|
12
|
-
modelValue: {
|
|
13
|
-
default: ""
|
|
14
|
-
},
|
|
15
|
-
modelModifiers: {}
|
|
16
|
-
}),
|
|
17
|
-
emits: /* @__PURE__ */ u(["keyup.enter"], ["update:modelValue"]),
|
|
18
|
-
setup(o, { emit: h }) {
|
|
19
|
-
const d = c(o, "modelValue"), e = o, p = l("id", ""), a = l("invalid", !1), i = l("validated", !1);
|
|
20
|
-
return (x, n) => m((f(), b("input", {
|
|
21
|
-
"onUpdate:modelValue": n[0] || (n[0] = (s) => d.value = s),
|
|
22
|
-
type: e.type,
|
|
23
|
-
class: v({
|
|
24
|
-
"h-9 input-bg-color input-text-color input-outline border input-border input-roundness input-padding w-full": !e.disableStyle,
|
|
25
|
-
"border-red-500": !t(i) && t(a),
|
|
26
|
-
"border-emerald-500": t(i) && !t(a)
|
|
27
|
-
}),
|
|
28
|
-
id: t(p),
|
|
29
|
-
placeholder: e.placeholder,
|
|
30
|
-
autocomplete: e.autocomplete,
|
|
31
|
-
disabled: e.disabled
|
|
32
|
-
}, null, 10, _)), [
|
|
33
|
-
[y, d.value]
|
|
34
|
-
]);
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
export {
|
|
38
|
-
M as _
|
|
39
|
-
};
|
/package/dist/types/components/InputCheckbox/{input-checkbox.story.d.ts → Input-checkbox.story.d.ts}
RENAMED
|
File without changes
|
/package/dist/types/components/InputPassword/{input-password.story.d.ts → Input-password.story.d.ts}
RENAMED
|
File without changes
|