@caipira/tamandua 0.0.95 → 0.0.97
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/Avatar.js +2 -2
- package/dist/{Avatar.vue_vue_type_script_setup_true_lang-CnvI4bGL.js → Avatar.vue_vue_type_script_setup_true_lang-ruTtveHD.js} +1 -1
- package/dist/Button.js +2 -2
- package/dist/{Button.vue_vue_type_script_setup_true_lang-CmbPvjSg.js → Button.vue_vue_type_script_setup_true_lang-zvMC7Ucn.js} +2 -2
- package/dist/Dropdown.js +2 -2
- package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-DtTBnNsn.js → Dropdown.vue_vue_type_script_setup_true_lang-jLXkMqpc.js} +1 -1
- package/dist/Form.js +2 -2
- package/dist/{Form.vue_vue_type_script_setup_true_lang-Byl6pLpA.js → Form.vue_vue_type_script_setup_true_lang-CeWEv9hg.js} +1 -1
- package/dist/FormItem.js +2 -2
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-BeoFRWPr.js → FormItem.vue_vue_type_script_setup_true_lang-BFlt0VS0.js} +1 -1
- package/dist/GraphyPrice.js +2 -2
- package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-Cr4zjIiS.js → GraphyPrice.vue_vue_type_script_setup_true_lang-CxZPQgww.js} +1 -1
- package/dist/Icon.js +2 -2
- package/dist/Icon.vue_vue_type_script_setup_true_lang-BrByMh2e.js +45 -0
- package/dist/InputMultiplier.js +2 -2
- package/dist/{InputMultiplier.vue_vue_type_script_setup_true_lang-Cho_7MEo.js → InputMultiplier.vue_vue_type_script_setup_true_lang-DxO6Vq3F.js} +23 -22
- package/dist/InputPassword.js +2 -2
- package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-Qeq0BBp3.js → InputPassword.vue_vue_type_script_setup_true_lang-BKKnQy7v.js} +1 -1
- package/dist/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-uUjFwWIE.js → InputSelect.vue_vue_type_script_setup_true_lang-CkW6maZO.js} +17 -16
- package/dist/InputText.js +2 -2
- package/dist/{InputText.vue_vue_type_script_setup_true_lang-twigJ_WD.js → InputText.vue_vue_type_script_setup_true_lang-yxUtfIl9.js} +1 -1
- package/dist/Link.js +2 -2
- package/dist/{Link.vue_vue_type_script_setup_true_lang-0z-EeE3p.js → Link.vue_vue_type_script_setup_true_lang-BFFw1dPV.js} +1 -1
- package/dist/ModalForm.js +2 -2
- package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-CBZyDz1y.js → ModalForm.vue_vue_type_script_setup_true_lang-C1Xl4TmQ.js} +13 -13
- package/dist/Popconfirm.js +2 -2
- package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-BDEqMoax.js → Popconfirm.vue_vue_type_script_setup_true_lang-DCM2q4r_.js} +1 -1
- package/dist/Popover-Cy9pkLML.js +94 -0
- package/dist/Popover.css +1 -1
- package/dist/Popover.js +2 -2
- package/dist/Tag.js +2 -2
- package/dist/{Tag.vue_vue_type_script_setup_true_lang-G3i5m3sB.js → Tag.vue_vue_type_script_setup_true_lang-BjEz0tFc.js} +1 -1
- package/dist/Toast.js +2 -2
- package/dist/{Toast.vue_vue_type_script_setup_true_lang-BlfCFBHV.js → Toast.vue_vue_type_script_setup_true_lang-D0sISaM4.js} +1 -1
- package/dist/api-CR8Sh93S.js +5 -0
- package/dist/components.js +17 -17
- package/dist/enums.js +1 -1
- package/dist/index.css +54 -54
- package/dist/{plugin-BviXQKyF.js → plugin-64nFhMok.js} +1 -1
- package/dist/{plugin-ZJybqwxT.js → plugin-BFtH9rXg.js} +1 -1
- package/dist/{plugin-Dja0bljQ.js → plugin-C8hu3J0w.js} +1 -1
- package/dist/{plugin-CoKL2vk5.js → plugin-CLEf3cxJ.js} +1 -1
- package/dist/{plugin-CdZkyAp1.js → plugin-CQyHQgvJ.js} +1 -1
- package/dist/{plugin-CQXEZDaa.js → plugin-CRmM6_Ee.js} +1 -1
- package/dist/{plugin-DArlmex8.js → plugin-DDs2fkQY.js} +1 -1
- package/dist/{plugin-C4VfJ8J9.js → plugin-DPmbkjJ9.js} +1 -1
- package/dist/{plugin-CnSU08rb.js → plugin-DfvNQ9ml.js} +1 -1
- package/dist/{plugin-DKMiwQmN.js → plugin-DrmCCRQ9.js} +1 -1
- package/dist/{plugin-DX5ICUyA.js → plugin-DyFj9P33.js} +1 -1
- package/dist/{plugin-DhHWk6sK.js → plugin-TMApjjiI.js} +1 -1
- package/dist/{plugin-bFXjlxOh.js → plugin-axB5ton8.js} +1 -1
- package/dist/{plugin-B2DiDUlP.js → plugin-bSqyo8FU.js} +1 -1
- package/dist/{plugin-Bij2CJr7.js → plugin-kF7YISaJ.js} +1 -1
- package/dist/{plugin-i0cgy8R3.js → plugin-sv4IwCLZ.js} +1 -1
- package/dist/{plugin-B9rQVmFX.js → plugin-uxc8N8iO.js} +1 -1
- package/dist/{plugins-BxUJueX-.js → plugins-DQqs_lDX.js} +30 -30
- package/dist/plugins.js +30 -30
- package/dist/replay-BYiTmUTJ.js +5 -0
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +3 -3
- package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +3 -0
- package/dist/types/components/InputMultiplier/types.d.ts +1 -0
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +17 -11
- package/dist/types/components/InputSelect/types.d.ts +8 -3
- package/dist/types/components/ModalForm/ModalForm.vue.d.ts +1 -0
- package/dist/types/components/Popover/Popover.story.d.ts +3 -0
- package/dist/types/components/Popover/Popover.vue.d.ts +6 -6
- package/dist/types/enums/ui.d.ts +6 -2
- package/dist/ui-5PiaVzMN.js +14 -0
- package/package.json +8 -13
- package/dist/Icon.vue_vue_type_script_setup_true_lang-BuMQjBAy.js +0 -45
- package/dist/Popover-C3ovolxY.js +0 -73
- package/dist/ui-D5oXHNg_.js +0 -14
package/dist/Popover-C3ovolxY.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import './Popover.css';
|
|
2
|
-
import { defineComponent as w, mergeModels as B, useModel as P, ref as r, computed as f, onBeforeMount as E, onBeforeUnmount as M, openBlock as u, 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, a as $ } from "./ui-D5oXHNg_.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(a, { expose: y }) {
|
|
23
|
-
const o = P(a, "open"), n = a, s = `popover_${++D}`, l = r(), C = f(() => n.placement), t = r(), { wasClickOutsideOfContainer: _ } = T(), k = f(
|
|
24
|
-
() => t.value?.firstChild?.nextElementSibling
|
|
25
|
-
), b = r([
|
|
26
|
-
L(5),
|
|
27
|
-
W({
|
|
28
|
-
apply({ elements: e }) {
|
|
29
|
-
if (n.width === "static")
|
|
30
|
-
return;
|
|
31
|
-
const c = e.reference.getBoundingClientRect();
|
|
32
|
-
Object.assign(e.floating.style, {
|
|
33
|
-
minWidth: `${c.width}px`
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
}),
|
|
37
|
-
I({ crossAxis: !0 })
|
|
38
|
-
]), { floatingStyles: h } = U(k, l, {
|
|
39
|
-
open: o,
|
|
40
|
-
placement: C,
|
|
41
|
-
middleware: b,
|
|
42
|
-
whileElementsMounted: j
|
|
43
|
-
}), i = (e) => {
|
|
44
|
-
o.value = typeof e == "boolean" ? e : !o.value;
|
|
45
|
-
}, p = (e) => o.value && t.value && _(e, t.value) ? (o.value = !1, !1) : !0;
|
|
46
|
-
return E(() => {
|
|
47
|
-
document.addEventListener("click", p);
|
|
48
|
-
}), M(() => {
|
|
49
|
-
document.removeEventListener("click", p);
|
|
50
|
-
}), y({ name: s }), (e, c) => (u(), d("div", {
|
|
51
|
-
ref_key: "wrapperRef",
|
|
52
|
-
ref: t
|
|
53
|
-
}, [
|
|
54
|
-
m(e.$slots, "default", v(g({ onTogglePopover: i })), void 0, !0),
|
|
55
|
-
o.value ? (u(), d("div", {
|
|
56
|
-
key: 0,
|
|
57
|
-
ref_key: "floating",
|
|
58
|
-
ref: l,
|
|
59
|
-
role: "tooltip",
|
|
60
|
-
id: s,
|
|
61
|
-
style: x(z(h)),
|
|
62
|
-
class: O(["popover-floatable bg-caipira-primary z-10", {
|
|
63
|
-
[n.slotWrapperClasses]: !0
|
|
64
|
-
}])
|
|
65
|
-
}, [
|
|
66
|
-
m(e.$slots, "content", v(g({ onTogglePopover: i })), void 0, !0)
|
|
67
|
-
], 6)) : R("", !0)
|
|
68
|
-
], 512));
|
|
69
|
-
}
|
|
70
|
-
}), J = /* @__PURE__ */ A(F, [["__scopeId", "data-v-28c8fbcf"]]);
|
|
71
|
-
export {
|
|
72
|
-
J as P
|
|
73
|
-
};
|
package/dist/ui-D5oXHNg_.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
var l = /* @__PURE__ */ ((e) => (e.Unset = "", e.ExtraSmall = "xs", e.Small = "sm", e.Default = "default", e.Large = "lg", e.ExtraLarge = "xl", e))(l || {}), t = /* @__PURE__ */ ((e) => (e.Unset = "", e.Square = "square", e.Rounded = "rounded", e.Circle = "circle", e))(t || {}), u = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.HOVER = "hover", e))(u || {}), i = /* @__PURE__ */ ((e) => (e.TOP_START = "top-start", e.TOP = "top", e.TOP_END = "top-end", e.RIGHT_START = "right-start", e.RIGHT = "right", e.RIGHT_END = "right-end", e.BOTTOM_END = "bottom-end", e.BOTTOM = "bottom", e.BOTTOM_START = "bottom-start", e.LEFT_END = "left-end", e.LEFT = "left", e.LEFT_START = "left-start", e))(i || {}), r = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Default = "default", e))(r || {}), a = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e))(a || {}), s = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e.LINK = "link", e.TRANSPARENT = "transparent", e))(s || {}), p = /* @__PURE__ */ ((e) => (e.BUTTON = "button", e.SUBMIT = "submit", e.FILE = "file", e))(p || {}), o = /* @__PURE__ */ ((e) => (e.Default = "default", e.Router = "router", e))(o || {}), d = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.INCREASE = "increase", e.DECREASE = "decrease", e.AUTO = "auto", e))(d || {}), O = /* @__PURE__ */ ((e) => (e.Account = "account", e.AccountBox = "account-box", e.AccountBoxOutline = "account-box-outline", e.AccountCircle = "account-circle", e.AccountCircleOutline = "account-circle-outline", e.AccountGroup = "account-group", e.AccountGroupOutline = "account-group-outline", e.AccountMultiple = "account-multiple", e.AccountMultipleOutline = "account-multiple-outline", e.AccountOutline = "account-outline", e.AlertOctagon = "alert-octagon", e.AlertOctagonOutline = "alert-octagon-outline", e.Archive = "archive", e.ArchiveOutline = "archive-outline", e.ArrowLeft = "arrow-left", e.ArrowRight = "arrow-right", e.Bank = "bank", e.BankOutline = "bank-outline", e.BookAlphabet = "book-alphabet", e.BookMultiple = "book-multiple", e.BookMultipleOutline = "book-multiple-outline", e.Bookshelf = "bookshelf", e.Camera = "camera", e.CardsOutline = "cards-outline", e.CardsVariant = "cards-variant", e.CartOutline = "cart-outline", e.ChartBox = "chart-box", e.ChartBoxOutline = "chart-box-outline", e.Check = "check", e.CheckCircle = "check-circle", e.CheckCircleOutline = "check-circle-outline", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.Circle = "circle", e.Clock = "clock", e.ClockFast = "clock-fast", e.ClockOutline = "clock-outline", e.Close = "close", e.CloseCircle = "close-circle", e.CloseCircleOutline = "close-circle-outline", e.Cog = "cog", e.Contacts = "contacts", e.ContactsOutline = "contacts-outline", e.Copy = "copy", e.CreditCard = "credit-card", e.CreditCardPlus = "credit-card-plus", e.Currency = "currency", e.Database = "database", e.DotsGrid = "dots-grid", e.DotsHorizontal = "dots-horizontal", e.DotsVertical = "dots-vertical", e.EmailOpenOutline = "email-open-outline", e.EmailOutline = "email-outline", e.Eye = "eye", e.EyeOff = "eye-off", e.FIleDocumentPlusOutline = "file-document-plus-outline", e.Filmstrip = "filmstrip", e.Filter = "filter", e.Fullscreen = "fullscreen", e.FullscreenExit = "fullscreen-exit", e.Group = "group", e.Home = "home", e.HomeOutline = "home-outline", e.Image = "image", e.ImageAlbum = "image-album", e.ImageAlbumOutline = "image-album-outline", e.ImageOutline = "image-outline", e.InfoOutline = "info-outline", e.Key = "key", e.KeyChain = "key-chain", e.KeyVariant = "key-variant", e.ListboxOutline = "listbox-outline", e.Loading = "loading", e.Lock = "lock", e.LockOutline = "lock-outline", e.Logout = "logout", e.Menu = "menu", e.MenuDown = "menu-down", e.MenuLeft = "menu-left", e.MenuRight = "menu-right", e.Minus = "minus", e.MinusCircle = "minus-circle", e.MinusCircleOutline = "minus-circle-outline", e.Moon = "moon", e.MovieOpen = "movie-open", e.MovieOpenOutline = "movie-open-outline", e.OpenInNew = "open-in-new", e.Pause = "pause", e.PauseCircle = "pause-circle", e.Pencil = "pencil", e.PiggyBankOutline = "piggy-bank-outline", e.Play = "play", e.PlayBox = "play-box", e.PlayBoxEditOutline = "play-box-edit-outline", e.PlayBoxOutline = "play-box-outline", e.PlayCircle = "play-circle", e.PlaylistPlay = "playlist-play", e.Plus = "plus", e.PlusCircle = "plus-circle", e.PlusCircleOutline = "plus-circle-outline", e.ProgressClock = "progress-clock", e.QrcodeScan = "qrcode-scan", e.Refresh = "refresh", e.Save = "save", e.Search = "search", e.Shuffle = "shuffle", e.ShuffleDisabled = "shuffle-disabled", e.ShuffleVariant = "shuffle-variant", e.SkipBackward = "skip-backward", e.SkipForward = "skip-forward", e.SkipNext = "skip-next", e.SkipPrevious = "skip-previous", e.Spotlight = "spotlight", e.Stop = "stop", e.Store = "store", e.StoreOutline = "store-outline", e.Sun = "sun", e.Swap = "swap", e.SwapHorizontal = "swap-horizontal", e.SwapLeft = "swap-left", e.SwapRight = "swap-right", e.SystemTheme = "system-theme", e.TagOutline = "tag-outline", e.Text = "text", e.TextBox = "text-box", e.TextBoxMultiple = "text-box-multiple", e.TextBoxMultipleOutline = "text-box-multiple-outline", e.TextBoxOutline = "text-box-outline", e.TextLong = "text-long", e.TimerOutline = "timer-outline", e.TimerRefreshOutline = "timer-refresh-outline", e.TrashCan = "trash-can", e.TrashCanOutline = "trash-can-outline", e.Ungroup = "ungroup", e.Upload = "upload", e.UploadBoxOutline = "upload-box-outline", e.UploadMultipleOutline = "upload-multiple-outline", e.UploadOutline = "upload-outline", e.Video = "video", e.VideoOutline = "video-outline", e.Web = "web", e.ZipBox = "zip-box", e))(O || {});
|
|
2
|
-
export {
|
|
3
|
-
s as B,
|
|
4
|
-
l as E,
|
|
5
|
-
r as F,
|
|
6
|
-
d as G,
|
|
7
|
-
O as I,
|
|
8
|
-
o as L,
|
|
9
|
-
a as T,
|
|
10
|
-
i as a,
|
|
11
|
-
t as b,
|
|
12
|
-
p as c,
|
|
13
|
-
u as d
|
|
14
|
-
};
|