@caipira/tamandua 0.0.13 → 0.0.14
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/README.md +3 -1
- package/dist/Avatar.js +1 -0
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js +1 -0
- package/dist/Backdrop.js +1 -0
- package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +1 -0
- package/dist/Button-CBe3UDFT.js +7 -0
- package/dist/Button.css +1 -1
- package/dist/Button.js +3 -2
- package/dist/{Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js → Button.vue_vue_type_style_index_0_scoped_83f5665a_lang-BAjkC8CW.js} +3 -2
- package/dist/ButtonCopy.js +3 -2
- package/dist/{ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js → ButtonCopy.vue_vue_type_script_setup_true_lang-DKiQiVwp.js} +2 -1
- package/dist/ChartLine.js +1 -0
- package/dist/ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js +1 -0
- package/dist/ChartTreemap.js +3 -2
- package/dist/{ChartTreemap.vue_vue_type_script_setup_true_lang-BSKB-UTM.js → ChartTreemap.vue_vue_type_script_setup_true_lang-BQsyn6Wt.js} +2 -1
- package/dist/Drawer-omdZnBPG.js +1 -0
- package/dist/Drawer.js +1 -0
- package/dist/Dropdown.js +3 -2
- package/dist/Dropdown.vue_vue_type_script_setup_true_lang-DRsd_7yO.js +154 -0
- package/dist/FileDrop.js +1 -0
- package/dist/FileDrop.vue_vue_type_script_setup_true_lang-DJ05bRaU.js +1 -0
- package/dist/Form.js +1 -0
- package/dist/Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js +1 -0
- package/dist/FormItem.js +1 -0
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV5hpJ8B.js +1 -0
- package/dist/GraphyEmpty.js +1 -0
- package/dist/GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js +1 -0
- package/dist/GraphyLabel.js +1 -0
- package/dist/GraphyLabel.vue_vue_type_script_setup_true_lang-dEuzASQp.js +1 -0
- package/dist/GraphyPrice.js +1 -0
- package/dist/GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js +1 -0
- package/dist/GraphySubtitle.js +1 -0
- package/dist/GraphySubtitle.vue_vue_type_script_setup_true_lang-DtAmgZWp.js +1 -0
- package/dist/GraphyTitle.js +1 -0
- package/dist/GraphyTitle.vue_vue_type_script_setup_true_lang-DXnrZHV2.js +1 -0
- package/dist/Icon.js +3 -2
- package/dist/{Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js → Icon.vue_vue_type_script_setup_true_lang-CSo7rrah.js} +27 -23
- package/dist/IconButton.js +3 -2
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-Ca3OdiGJ.js +92 -0
- package/dist/InputAvatar.js +1 -0
- package/dist/InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js +1 -0
- package/dist/InputCheckbox.js +1 -0
- package/dist/InputCheckbox.vue_vue_type_script_setup_true_lang-B5zoxg5A.js +1 -0
- package/dist/InputColor.js +1 -0
- package/dist/InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js +1 -0
- package/dist/InputDate.js +1 -0
- package/dist/InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js +1 -0
- package/dist/InputMultiplier.js +1 -0
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js +1 -0
- package/dist/InputPassword.js +3 -2
- package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js → InputPassword.vue_vue_type_script_setup_true_lang-DHc92ISX.js} +2 -1
- package/dist/InputPhone.js +1 -0
- package/dist/InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js +1 -0
- package/dist/InputPrice.js +1 -0
- package/dist/InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js +1 -0
- package/dist/InputRadio.js +1 -0
- package/dist/InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js +1 -0
- package/dist/InputSelect.js +3 -2
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-BmupIAdQ.js +228 -0
- package/dist/InputSwitch.js +1 -0
- package/dist/InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js +1 -0
- package/dist/InputText.js +1 -0
- package/dist/InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js +1 -0
- package/dist/InputTextarea.js +1 -0
- package/dist/InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js +1 -0
- package/dist/Modal.js +1 -0
- package/dist/Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js +1 -0
- package/dist/ModalForm.js +3 -2
- package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js → ModalForm.vue_vue_type_script_setup_true_lang-CZBGpJCs.js} +3 -2
- package/dist/Pagination.js +1 -0
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js +1 -0
- package/dist/Popconfirm.js +3 -2
- package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-BMaHpkCO.js +64 -0
- package/dist/Popover.js +3 -2
- package/dist/{Popover.vue_vue_type_script_setup_true_lang-Dhcy-iL3.js → Popover.vue_vue_type_script_setup_true_lang-C69m5Nld.js} +320 -321
- package/dist/ProgressCircle-BY2eeyGY.js +1 -0
- package/dist/ProgressCircle.js +1 -0
- package/dist/{ProgressLine-CfZKbUcx.js → ProgressLine-1ZHGvPsm.js} +17 -16
- package/dist/ProgressLine.css +1 -1
- package/dist/ProgressLine.js +3 -2
- package/dist/SensitiveInfo.js +1 -0
- package/dist/SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js +1 -0
- package/dist/Tab.js +1 -0
- package/dist/Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js +1 -0
- package/dist/Table-grkQ9tby.js +1 -0
- package/dist/Table.js +1 -0
- package/dist/Tag.js +3 -2
- package/dist/Tag.vue_vue_type_script_setup_true_lang-DTfAH_Sb.js +71 -0
- package/dist/Toast.js +1 -0
- package/dist/Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +1 -0
- package/dist/account-BJGxzbeL.js +1 -0
- package/dist/alert-octagon-D8wznooU.js +1 -0
- package/dist/alert-octagon-outline-fM2QVbyq.js +1 -0
- package/dist/archive-DDuuzVUo.js +1 -0
- package/dist/archive-outline-BT6uCRX5.js +1 -0
- package/dist/arrow-left-CVipcGWo.js +1 -0
- package/dist/arrow-right-DHFo5L72.js +1 -0
- package/dist/bank-lwoR1P6d.js +1 -0
- package/dist/bank-outline-wy0O9ni0.js +1 -0
- package/dist/camera-BXoPauop.js +1 -0
- package/dist/cards-outline-B0no8Z63.js +1 -0
- package/dist/cards-variant-CU6V8mdM.js +1 -0
- package/dist/cart-outline-C99s8OpS.js +1 -0
- package/dist/chart-box-outline-C9ymwfIH.js +1 -0
- package/dist/chart-box-tyepg_QH.js +1 -0
- package/dist/check-circle-C3Kf7DnE.js +1 -0
- package/dist/check-circle-outline-B4zmPfuc.js +1 -0
- package/dist/check-iUT-FuWa.js +1 -0
- package/dist/checkbox-TojXdFTq.js +1 -0
- package/dist/checkbox-dark-D_btgwCX.js +1 -0
- package/dist/checkbox-indeterminate-CtbmyFkw.js +1 -0
- package/dist/checkbox-indeterminate-dark-CSrkJBRG.js +1 -0
- package/dist/chevron-down-CJLshITY.js +1 -0
- package/dist/chevron-left-n_sGCmlG.js +1 -0
- package/dist/chevron-right-C8uLqjmq.js +1 -0
- package/dist/chevron-up-b6VdQM8S.js +1 -0
- package/dist/circle-DhoEDuC5.js +1 -0
- package/dist/clock-BqMI2OIG.js +1 -0
- package/dist/close-DemH4JAO.js +1 -0
- package/dist/close-circle-Bvyw4JKW.js +6 -0
- package/dist/close-circle-outline-CUXfYV4M.js +1 -0
- package/dist/cog-Dd9I6z5D.js +1 -0
- package/dist/color-fill-DWx77G0p.js +1 -0
- package/dist/components.js +14 -13
- package/dist/composables.js +1 -0
- package/dist/copy-D-Dqxp8h.js +1 -0
- package/dist/credit-card-B3VjoUad.js +1 -0
- package/dist/credit-card-plus-TUZq5Zi0.js +1 -0
- package/dist/crud-lKm5HfM4.js +1 -0
- package/dist/currency-BuSji4qA.js +1 -0
- package/dist/database-CNG_l2Or.js +1 -0
- package/dist/date.js +1 -0
- package/dist/dots-grid-BhRGZg1t.js +1 -0
- package/dist/dots-vertical-nYIDxlT1.js +1 -0
- package/dist/email-open-outline-NlRAK8vu.js +1 -0
- package/dist/email-outline-v-beMKo_.js +1 -0
- package/dist/enums.js +1 -0
- package/dist/eye-C7_UM0rn.js +1 -0
- package/dist/eye-off-Dq2WOPSG.js +1 -0
- package/dist/file-document-plus-outline-C_GeG8ak.js +1 -0
- package/dist/filmstrip-Dg66xHap.js +1 -0
- package/dist/filter-07gM0IrM.js +1 -0
- package/dist/form-BkXpIJ0e.js +1 -0
- package/dist/form2.js +1 -0
- package/dist/fullscreen-daZRwm-1.js +1 -0
- package/dist/fullscreen-exit-DvHy2f8E.js +1 -0
- package/dist/group-B1HQcmCl.js +1 -0
- package/dist/image-C-DY_SfK.js +1 -0
- package/dist/image-album-DVl72ioK.js +1 -0
- package/dist/image-album-outline-oiPipPnp.js +1 -0
- package/dist/image-outline-CLpFyr7w.js +1 -0
- package/dist/index-CVD_wAsU.js +1 -0
- package/dist/index-CjvqeRf7.js +1 -0
- package/dist/index-CuyePt3m.js +1 -0
- package/dist/info-outline-Mn6Hjz_K.js +1 -0
- package/dist/key-B8iEXxGx.js +1 -0
- package/dist/key-chain-D-8-GrU2.js +1 -0
- package/dist/key-variant-DViBRFAJ.js +1 -0
- package/dist/listbox-outline-BBriTS-r.js +1 -0
- package/dist/loading-E4eFmVsP.js +1 -0
- package/dist/lock-Nv-e-b24.js +1 -0
- package/dist/lock-outline-K2LxC2b6.js +1 -0
- package/dist/logout-BHwFpuou.js +1 -0
- package/dist/menu-down-B4Fy5IG1.js +1 -0
- package/dist/menu-left-D8G3frKt.js +1 -0
- package/dist/menu-pq7WWaJu.js +1 -0
- package/dist/menu-right-CMt4thJ2.js +1 -0
- package/dist/minus-CSCkQnOm.js +1 -0
- package/dist/minus-circle-D_N5NZW-.js +1 -0
- package/dist/minus-circle-outline-B-x6EXPD.js +1 -0
- package/dist/moon-Bhm_ZTV6.js +1 -0
- package/dist/open-in-new-C2Btl_1k.js +1 -0
- package/dist/pencil-BETebgXX.js +1 -0
- package/dist/people-BUW1DRzH.js +1 -0
- package/dist/piggy-bank-outline-5cDQNrSU.js +1 -0
- package/dist/plugin--F5QK2vy.js +1 -0
- package/dist/plugin-2nTovNcx.js +1 -0
- package/dist/plugin-3VDgn3kO.js +1 -0
- package/dist/plugin-5vn4G57V.js +1 -0
- package/dist/plugin-AFgt8nH4.js +1 -0
- package/dist/plugin-BCt5Fd1Y.js +1 -0
- package/dist/plugin-BLdCHEGS.js +1 -0
- package/dist/{plugin-DYnmuOWz.js → plugin-BRY5cGCc.js} +2 -1
- package/dist/{plugin-CNoSZVuJ.js → plugin-BUzMTCDs.js} +2 -1
- package/dist/plugin-BYkYqIjb.js +1 -0
- package/dist/plugin-BZC231Oj.js +1 -0
- package/dist/plugin-BrwUi1gG.js +1 -0
- package/dist/plugin-Buc7eEox.js +1 -0
- package/dist/plugin-C-iGigb_.js +1 -0
- package/dist/plugin-C3tFXHbZ.js +1 -0
- package/dist/{plugin-Cp-YlP7M.js → plugin-C4ZKihe9.js} +2 -1
- package/dist/{plugin-CIK2QwfI.js → plugin-CCH1Q2cN.js} +2 -1
- package/dist/plugin-CGg5IOSy.js +1 -0
- package/dist/plugin-CHyrn6sC.js +1 -0
- package/dist/{plugin-c1rFpmlH.js → plugin-CVGZQLLW.js} +2 -1
- package/dist/{plugin-DmkLbCIU.js → plugin-CZBGKZIj.js} +2 -1
- package/dist/plugin-Ce0OhiOa.js +1 -0
- package/dist/{plugin-7M6YmkX3.js → plugin-CeTGH-uy.js} +2 -1
- package/dist/plugin-CqcxTgW6.js +1 -0
- package/dist/plugin-CwJMh4ht.js +1 -0
- package/dist/{plugin-DAoreRkB.js → plugin-Cy8SNl7v.js} +2 -1
- package/dist/{plugin-A7Ru6-Ae.js → plugin-D3RtcfcX.js} +2 -1
- package/dist/plugin-DDXOF4cU.js +1 -0
- package/dist/plugin-DLUdf4JV.js +1 -0
- package/dist/plugin-DN54VuID.js +1 -0
- package/dist/plugin-DOeDaXWj.js +1 -0
- package/dist/plugin-DRcJuXpS.js +1 -0
- package/dist/plugin-DT7LVAli.js +1 -0
- package/dist/plugin-DXSsGfRI.js +1 -0
- package/dist/plugin-DaibhM02.js +1 -0
- package/dist/plugin-DkDbha5K.js +1 -0
- package/dist/{plugin-DGx9kLvd.js → plugin-DnCIfRQD.js} +2 -1
- package/dist/{plugin-BURDNZOq.js → plugin-Do8SPdPO.js} +2 -1
- package/dist/plugin-DppW8rQi.js +1 -0
- package/dist/{plugin-Bj5VaUuH.js → plugin-XtlznKJr.js} +2 -1
- package/dist/plugin-YUomn9tF.js +1 -0
- package/dist/{plugin-D9vhvf_z.js → plugin-_WXCZJnd.js} +2 -1
- package/dist/plugin-cvHKUGjm.js +1 -0
- package/dist/{plugins-DNNQp3qM.js → plugins-DnctsCLh.js} +22 -21
- package/dist/plugins.js +22 -21
- package/dist/plus-circle-Cl0YprEp.js +1 -0
- package/dist/plus-circle-outline-C-kkX0ke.js +1 -0
- package/dist/plus-sbcOm60H.js +1 -0
- package/dist/qrcode-scan-CpLrVFw_.js +1 -0
- package/dist/radio-DkjVAhsO.js +1 -0
- package/dist/radio-dark-Cr5v17AF.js +1 -0
- package/dist/refresh-DPlMWd1M.js +1 -0
- package/dist/register-component-B-fdqewb.js +1 -0
- package/dist/save-BmMH4S8b.js +1 -0
- package/dist/search-Co2MwWOK.js +1 -0
- package/dist/spotlight-TNyCQzOY.js +1 -0
- package/dist/store-outline-B-fuVZzv.js +1 -0
- package/dist/sun-BWKjCEHH.js +1 -0
- package/dist/swap-CNbqKTl0.js +1 -0
- package/dist/swap-horizontal-DociZUG2.js +1 -0
- package/dist/swap-left-Bd2DOgf3.js +1 -0
- package/dist/swap-right-D0VYxBDb.js +1 -0
- package/dist/system-theme-Cez6mSv_.js +1 -0
- package/dist/tag-outline-Ce_qOxif.js +1 -0
- package/dist/tamandua.js +2 -1
- package/dist/transform-DSaNEFMr.js +1 -0
- package/dist/trash-can-CKPtMqSf.js +1 -0
- package/dist/trash-can-outline-DjtqZHOC.js +1 -0
- package/dist/types/components/Avatar/Avatar.story.d.ts +18 -5
- package/dist/types/components/Button/Button.story.d.ts +8 -42
- package/dist/types/components/ChartLine/ChartLine.story.d.ts +18 -12
- package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +16 -2
- package/dist/types/components/ChartTreemap/types.d.ts +8 -2
- package/dist/types/components/Dropdown/types.d.ts +1 -1
- package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +24 -2
- package/dist/types/components/Icon/Icon.story.d.ts +26 -0
- package/dist/types/components/Icon/types.d.ts +1 -1
- package/dist/types/components/IconButton/IconButton.vue.d.ts +4 -44
- package/dist/types/components/IconButton/types.d.ts +1 -7
- package/dist/types/components/InputDate/InputDate.story.d.ts +9 -2
- package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +8 -3
- package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +6 -2
- package/dist/types/components/InputSelect/InputSelect.story.d.ts +37 -4
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +1 -1
- package/dist/types/components/InputSelect/types.d.ts +0 -1
- package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +10 -18
- package/dist/types/components/Pagination/Pagination.story.d.ts +6 -1
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +1 -3
- package/dist/types/components/Popconfirm/types.d.ts +1 -1
- package/dist/types/components/Popover/Popover.vue.d.ts +0 -3
- package/dist/types/components/Popover/types.d.ts +0 -1
- package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +13 -3
- package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +12 -3
- package/dist/types/components/Table/Table.story.d.ts +16 -3
- package/dist/types/components/Tag/Tag.story.d.ts +29 -0
- package/dist/types/i18n.d.ts +6 -0
- package/dist/types/types/form.d.ts +1 -1
- package/dist/ui-DtSy-y9T.js +1 -0
- package/dist/upload-CKfrBexU.js +1 -0
- package/dist/useClipboard-BHFD0Jvv.js +1 -0
- package/dist/useDomHelpers-5CFMo6bx.js +1 -0
- package/dist/useRender-D8PeooXE.js +1 -0
- package/dist/user-circle-D102n1FB.js +1 -0
- package/dist/zip-box-C10560VY.js +1 -0
- package/package.json +1 -2
- package/dist/Button-BVshp51o.js +0 -6
- package/dist/Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js +0 -135
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js +0 -106
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js +0 -216
- package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js +0 -65
- package/dist/Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js +0 -63
- package/dist/close-circle-Bsf9_pUR.js +0 -4
|
@@ -1,39 +1,17 @@
|
|
|
1
|
-
import { ButtonType, ElementSize, ElementShape
|
|
1
|
+
import { ButtonType, ElementSize, ElementShape } from '../../enums/ui.js';
|
|
2
2
|
import { IconButtonProps } from './types.js';
|
|
3
3
|
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
|
|
5
5
|
href: string;
|
|
6
6
|
type: ButtonType;
|
|
7
7
|
size: ElementSize;
|
|
8
8
|
label: string;
|
|
9
9
|
shape: ElementShape;
|
|
10
10
|
target: undefined;
|
|
11
|
-
variant: ElementVariant;
|
|
12
11
|
multiple: boolean;
|
|
13
12
|
isOutline: boolean;
|
|
14
13
|
isDisabled: boolean;
|
|
15
|
-
|
|
16
|
-
icon: string;
|
|
17
|
-
};
|
|
18
|
-
disableStyle: boolean;
|
|
19
|
-
}>, {
|
|
20
|
-
iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<any>, {
|
|
21
|
-
reference: import("vue").Ref<HTMLElement | null>;
|
|
22
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<any>, {} | {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
}, true, {}, {}, {
|
|
25
|
-
P: {};
|
|
26
|
-
B: {};
|
|
27
|
-
D: {};
|
|
28
|
-
C: {};
|
|
29
|
-
M: {};
|
|
30
|
-
Defaults: {};
|
|
31
|
-
}, Readonly<any>, {
|
|
32
|
-
reference: import("vue").Ref<HTMLElement | null>;
|
|
33
|
-
}, {}, {}, {}, {} | {
|
|
34
|
-
[x: string]: any;
|
|
35
|
-
}> | null>;
|
|
36
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
15
|
upload: (val: FileList) => void;
|
|
38
16
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
|
|
39
17
|
href: string;
|
|
@@ -42,34 +20,21 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
42
20
|
label: string;
|
|
43
21
|
shape: ElementShape;
|
|
44
22
|
target: undefined;
|
|
45
|
-
variant: ElementVariant;
|
|
46
23
|
multiple: boolean;
|
|
47
24
|
isOutline: boolean;
|
|
48
25
|
isDisabled: boolean;
|
|
49
|
-
injectStyle: () => {
|
|
50
|
-
icon: string;
|
|
51
|
-
};
|
|
52
|
-
disableStyle: boolean;
|
|
53
26
|
}>>> & {
|
|
54
27
|
onUpload?: ((val: FileList) => any) | undefined;
|
|
55
28
|
}, {
|
|
56
29
|
size: "" | "xs" | "sm" | "lg" | "xl";
|
|
57
30
|
shape: "square" | "rounded" | "circle";
|
|
58
|
-
disableStyle: boolean;
|
|
59
31
|
type: "button" | "submit" | "link" | "router-link" | "file";
|
|
60
32
|
label: string;
|
|
61
33
|
href: string;
|
|
62
34
|
target: string;
|
|
63
|
-
variant: "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "transparent";
|
|
64
35
|
multiple: boolean;
|
|
65
|
-
isOutline: boolean;
|
|
66
36
|
isDisabled: boolean;
|
|
67
|
-
|
|
68
|
-
icon: string;
|
|
69
|
-
};
|
|
70
|
-
}, {}>, {
|
|
71
|
-
default?(_: {}): any;
|
|
72
|
-
}>;
|
|
37
|
+
}, {}>;
|
|
73
38
|
export default _default;
|
|
74
39
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
75
40
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -88,8 +53,3 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
88
53
|
type __VLS_Prettify<T> = {
|
|
89
54
|
[K in keyof T]: T[K];
|
|
90
55
|
} & {};
|
|
91
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
92
|
-
new (): {
|
|
93
|
-
$slots: S;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Icon, ButtonType, ElementSize, ElementShape
|
|
1
|
+
import { Icon, ButtonType, ElementSize, ElementShape } from '../../enums/ui.js';
|
|
2
2
|
|
|
3
3
|
export type IconButtonProps = {
|
|
4
4
|
to?: any;
|
|
@@ -9,14 +9,8 @@ export type IconButtonProps = {
|
|
|
9
9
|
label?: string;
|
|
10
10
|
shape?: `${ElementShape}`;
|
|
11
11
|
target?: string;
|
|
12
|
-
variant?: `${ElementVariant}`;
|
|
13
12
|
multiple?: boolean;
|
|
14
|
-
isOutline?: boolean;
|
|
15
13
|
isDisabled?: boolean;
|
|
16
|
-
injectStyle?: {
|
|
17
|
-
icon: string;
|
|
18
|
-
};
|
|
19
|
-
disableStyle?: boolean;
|
|
20
14
|
};
|
|
21
15
|
export type IconButtonEvents = {
|
|
22
16
|
(e: "upload", val: FileList): void;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
+
args: {
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
3
6
|
};
|
|
4
7
|
export default _default;
|
|
5
|
-
declare const
|
|
6
|
-
|
|
8
|
+
export declare const Date: (args: any) => {
|
|
9
|
+
setup(): {
|
|
10
|
+
args: any;
|
|
11
|
+
};
|
|
12
|
+
template: string;
|
|
13
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
3
|
args: {
|
|
4
4
|
label: string;
|
|
@@ -15,5 +15,10 @@ declare const story: {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
export
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const Multiplier: (args: any) => {
|
|
20
|
+
setup(): {
|
|
21
|
+
args: any;
|
|
22
|
+
};
|
|
23
|
+
template: string;
|
|
24
|
+
};
|
|
@@ -1,6 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
import { APISearchFilters } from '../../types/api.js';
|
|
2
|
+
import { SelectOption } from '../../types/form.js';
|
|
3
|
+
import { Pagination } from '../../types/ui.js';
|
|
4
|
+
|
|
5
|
+
declare const _default: {
|
|
2
6
|
title: string;
|
|
7
|
+
args: {
|
|
8
|
+
placeholder: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const Select: (args: any) => {
|
|
13
|
+
setup(): {
|
|
14
|
+
args: any;
|
|
15
|
+
items1: {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
}[];
|
|
19
|
+
items2: {
|
|
20
|
+
label: {
|
|
21
|
+
id: number;
|
|
22
|
+
name: string;
|
|
23
|
+
thumbnail: string;
|
|
24
|
+
};
|
|
25
|
+
value: number;
|
|
26
|
+
}[];
|
|
27
|
+
items3: {
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}[];
|
|
31
|
+
value3: import('vue').Ref<never[]>;
|
|
32
|
+
search(filters?: APISearchFilters): Promise<{
|
|
33
|
+
items: SelectOption[];
|
|
34
|
+
pagination: Pagination;
|
|
35
|
+
}>;
|
|
36
|
+
mapper(book: any): SelectOption;
|
|
37
|
+
};
|
|
38
|
+
template: string;
|
|
3
39
|
};
|
|
4
|
-
declare const Default: any;
|
|
5
|
-
declare const With_Images: any;
|
|
6
|
-
export { story as default, Default, With_Images };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
}, {}>, {
|
|
4
|
-
selection?(_:
|
|
4
|
+
selection?(_: {}): any;
|
|
5
5
|
default?(_: any): any;
|
|
6
6
|
}>;
|
|
7
7
|
export default _default;
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
args: {
|
|
3
|
+
args: {
|
|
4
|
+
label: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
};
|
|
4
7
|
argTypes: {
|
|
5
8
|
disabled: {
|
|
6
9
|
options: boolean[];
|
|
7
10
|
control: string;
|
|
8
11
|
description: string;
|
|
9
|
-
table: {
|
|
10
|
-
type: {
|
|
11
|
-
summary: string;
|
|
12
|
-
};
|
|
13
|
-
defaultValue: {
|
|
14
|
-
summary: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
label: {
|
|
19
|
-
table: {
|
|
20
|
-
type: {
|
|
21
|
-
summary: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
12
|
};
|
|
25
13
|
};
|
|
26
14
|
};
|
|
27
15
|
export default _default;
|
|
28
|
-
declare const
|
|
29
|
-
|
|
16
|
+
export declare const Switch: (args: any) => {
|
|
17
|
+
setup(): {
|
|
18
|
+
args: any;
|
|
19
|
+
};
|
|
20
|
+
template: string;
|
|
21
|
+
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
}, {}>, {
|
|
4
|
-
default?(_: {
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
}): any;
|
|
4
|
+
default?(_: {}): any;
|
|
7
5
|
}>;
|
|
8
6
|
export default _default;
|
|
9
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,7 +6,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
isVisible: null;
|
|
8
8
|
placement: ElementPosition;
|
|
9
|
-
disableStyle: boolean;
|
|
10
9
|
slotWrapperClasses: string;
|
|
11
10
|
}>, {
|
|
12
11
|
visible: import("vue").Ref<boolean>;
|
|
@@ -15,10 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
15
14
|
disabled: boolean;
|
|
16
15
|
isVisible: null;
|
|
17
16
|
placement: ElementPosition;
|
|
18
|
-
disableStyle: boolean;
|
|
19
17
|
slotWrapperClasses: string;
|
|
20
18
|
}>>>, {
|
|
21
|
-
disableStyle: boolean;
|
|
22
19
|
disabled: boolean;
|
|
23
20
|
isVisible: boolean | null;
|
|
24
21
|
placement: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start";
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
+
args: {
|
|
4
|
+
value: number;
|
|
5
|
+
width: number;
|
|
6
|
+
strokeWidth: number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const Circle: (args: any) => {
|
|
11
|
+
setup(): {
|
|
12
|
+
args: any;
|
|
13
|
+
};
|
|
14
|
+
template: string;
|
|
3
15
|
};
|
|
4
|
-
declare const Default: any;
|
|
5
|
-
export { story as default, Default };
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
+
args: {
|
|
4
|
+
value: number;
|
|
5
|
+
height: number;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Line: (args: any) => {
|
|
10
|
+
setup(): {
|
|
11
|
+
args: any;
|
|
12
|
+
};
|
|
13
|
+
template: string;
|
|
3
14
|
};
|
|
4
|
-
declare const Default: any;
|
|
5
|
-
export { story as default, Default };
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
+
args: {
|
|
4
|
+
loading: boolean;
|
|
5
|
+
data: any;
|
|
6
|
+
columns: {
|
|
7
|
+
title: string;
|
|
8
|
+
property: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const Table: (args: any) => {
|
|
14
|
+
setup(): {
|
|
15
|
+
args: any;
|
|
16
|
+
};
|
|
17
|
+
template: string;
|
|
3
18
|
};
|
|
4
|
-
declare const Default: any;
|
|
5
|
-
export { story as default, Default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ElementSize } from '../../enums/ui.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
args: {
|
|
6
|
+
text: string;
|
|
7
|
+
color: string;
|
|
8
|
+
hasCloseButton: boolean;
|
|
9
|
+
confirmClose: boolean;
|
|
10
|
+
size: ElementSize;
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
size: {
|
|
14
|
+
control: string;
|
|
15
|
+
options: ElementSize[];
|
|
16
|
+
};
|
|
17
|
+
hasCloseButton: {
|
|
18
|
+
control: string;
|
|
19
|
+
options: boolean[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
export declare const Tag: (args: any) => {
|
|
25
|
+
setup(): {
|
|
26
|
+
args: any;
|
|
27
|
+
};
|
|
28
|
+
template: string;
|
|
29
|
+
};
|
package/dist/types/i18n.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type SelectOption = {
|
|
|
11
11
|
/** Optional icon, to be appended to the label */
|
|
12
12
|
icon?: `${Icon}`;
|
|
13
13
|
/** Option label, either a string or an object containing the props necessary to render the option */
|
|
14
|
-
label:
|
|
14
|
+
label: string | object;
|
|
15
15
|
/** Optional type, used to diferentiate options from one another */
|
|
16
16
|
type?: string;
|
|
17
17
|
/** Optional renderer, containing the fully resolved path to the component that will be used
|
package/dist/ui-DtSy-y9T.js
CHANGED
package/dist/upload-CKfrBexU.js
CHANGED
package/dist/zip-box-C10560VY.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caipira/tamandua",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UI library for the Caipira ecosystem",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -82,7 +82,6 @@
|
|
|
82
82
|
"vue-i18n": "9"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@chromatic-com/storybook": "^1.3.3",
|
|
86
85
|
"@faker-js/faker": "^8.4.1",
|
|
87
86
|
"@storybook/addon-actions": "^8.0.8",
|
|
88
87
|
"@storybook/addon-essentials": "^8.0.8",
|
package/dist/Button-BVshp51o.js
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { defineComponent as T, ref as h, resolveComponent as z, openBlock as r, createElementBlock as a, normalizeClass as w, Fragment as R, renderList as A, toDisplayString as P, withKeys as L, renderSlot as N, normalizeProps as V, mergeProps as E, createBlock as G, createCommentVNode as $, createTextVNode as I } from "vue";
|
|
2
|
-
const O = ["aria-selected", "onKeydown", "onClick"], F = {
|
|
3
|
-
key: 1,
|
|
4
|
-
class: "inline-flex items-center input-label"
|
|
5
|
-
}, j = /* @__PURE__ */ T({
|
|
6
|
-
name: "TDropdown",
|
|
7
|
-
__name: "Dropdown",
|
|
8
|
-
props: {
|
|
9
|
-
items: { default: () => [] },
|
|
10
|
-
owner: {},
|
|
11
|
-
multiple: { type: Boolean, default: !1 },
|
|
12
|
-
isVisible: { type: Boolean, default: !1 },
|
|
13
|
-
optionMarginClass: { default: "" },
|
|
14
|
-
optionPaddingClass: { default: "py-2 px-2" },
|
|
15
|
-
wrapperPaddingClass: { default: "" },
|
|
16
|
-
optionRoundnessClass: { default: "" },
|
|
17
|
-
wrapperRoundnessClass: { default: "rounded-md" }
|
|
18
|
-
},
|
|
19
|
-
emits: ["change", "end-reached", "created"],
|
|
20
|
-
setup(H, { expose: D, emit: S }) {
|
|
21
|
-
const s = H, C = S, i = h(-1), b = h(null), u = h([]), d = h("keyboard"), y = (o = i.value, t = s.items[o], n = void 0) => {
|
|
22
|
-
n?.stopPropagation(), C("change", {
|
|
23
|
-
index: o,
|
|
24
|
-
option: t,
|
|
25
|
-
hold: n?.ctrlKey ?? !1
|
|
26
|
-
}), t.action && t.action();
|
|
27
|
-
}, B = (o) => {
|
|
28
|
-
if (!s.isVisible)
|
|
29
|
-
return !1;
|
|
30
|
-
switch (o.preventDefault(), d.value = "keyboard", o.key) {
|
|
31
|
-
case "ArrowUp":
|
|
32
|
-
case "ArrowDown":
|
|
33
|
-
return x(o);
|
|
34
|
-
case "Enter":
|
|
35
|
-
return y();
|
|
36
|
-
}
|
|
37
|
-
}, x = (o) => {
|
|
38
|
-
const t = o.key === "ArrowDown", n = s.items.length;
|
|
39
|
-
let e = i.value;
|
|
40
|
-
const l = () => s.items[e] ? "isGroupLabel" in s.items[e] && s.items[e].isGroupLabel : !1, f = () => {
|
|
41
|
-
e === n - 1 ? e = 0 : e++;
|
|
42
|
-
}, M = () => {
|
|
43
|
-
e === 0 ? e = n - 1 : e--;
|
|
44
|
-
};
|
|
45
|
-
if (t)
|
|
46
|
-
do
|
|
47
|
-
f();
|
|
48
|
-
while (l());
|
|
49
|
-
else
|
|
50
|
-
do
|
|
51
|
-
M();
|
|
52
|
-
while (l());
|
|
53
|
-
e > -1 && e < n && (i.value = e);
|
|
54
|
-
const v = b.value, k = u.value[i.value], p = k.offsetTop, m = k.offsetHeight, _ = v.offsetHeight, c = v.scrollTop;
|
|
55
|
-
let g = 0;
|
|
56
|
-
if (k.focus(), p === 0 || c === 0)
|
|
57
|
-
g = p - _ + m;
|
|
58
|
-
else if (t && p + m > _ + c)
|
|
59
|
-
g = c + m;
|
|
60
|
-
else if (!t && p < c)
|
|
61
|
-
g = c - m;
|
|
62
|
-
else
|
|
63
|
-
return !0;
|
|
64
|
-
return v.scroll({ top: g }), !0;
|
|
65
|
-
}, K = (o) => {
|
|
66
|
-
const t = o.target, n = u.value[0];
|
|
67
|
-
!t || !n || t.scrollTop + t.clientHeight + n.offsetHeight >= t.scrollHeight && C("end-reached");
|
|
68
|
-
};
|
|
69
|
-
return D({ move: x }), (o, t) => {
|
|
70
|
-
const n = z("t-icon");
|
|
71
|
-
return r(), a("ul", {
|
|
72
|
-
ref_key: "listRef",
|
|
73
|
-
ref: b,
|
|
74
|
-
role: "listbox",
|
|
75
|
-
class: w(["text-left max-h-60 min-w-[12rem] z-10 overflow-y-auto scrollbar select-none floatable", [s.wrapperRoundnessClass, s.wrapperPaddingClass]]),
|
|
76
|
-
onScrollend: K,
|
|
77
|
-
onMousemove: t[0] || (t[0] = () => d.value = "mouse"),
|
|
78
|
-
onKeydown: B
|
|
79
|
-
}, [
|
|
80
|
-
o.items.length === 0 ? (r(), a("li", {
|
|
81
|
-
key: 0,
|
|
82
|
-
role: "option",
|
|
83
|
-
"aria-disabled": "true",
|
|
84
|
-
class: w(["whitespace-nowrap text-gray-400", [
|
|
85
|
-
s.optionPaddingClass,
|
|
86
|
-
s.optionMarginClass,
|
|
87
|
-
s.optionRoundnessClass
|
|
88
|
-
]])
|
|
89
|
-
}, " Nothing here ", 2)) : (r(!0), a(R, { key: 1 }, A(o.items, (e, l) => (r(), a(R, { key: l }, [
|
|
90
|
-
e.isGroupLabel ? (r(), a("li", {
|
|
91
|
-
key: 0,
|
|
92
|
-
class: w(["text-xs font-bold tracking-wider text-neutral-600", [
|
|
93
|
-
s.optionPaddingClass,
|
|
94
|
-
s.optionMarginClass,
|
|
95
|
-
s.optionRoundnessClass
|
|
96
|
-
]]),
|
|
97
|
-
ref_for: !0,
|
|
98
|
-
ref_key: "itemRefs",
|
|
99
|
-
ref: u
|
|
100
|
-
}, P(e.label), 3)) : (r(), a("li", {
|
|
101
|
-
key: 1,
|
|
102
|
-
class: w([{
|
|
103
|
-
"bg-hover": l === i.value && d.value === "keyboard",
|
|
104
|
-
"hover:bg-hover": d.value === "mouse",
|
|
105
|
-
[s.optionMarginClass]: !0,
|
|
106
|
-
[s.optionPaddingClass]: !0,
|
|
107
|
-
[s.optionRoundnessClass]: !0
|
|
108
|
-
}, "flex text-base cursor-pointer whitespace-nowrap items-center focus-visible:outline-none"]),
|
|
109
|
-
role: "option",
|
|
110
|
-
ref_for: !0,
|
|
111
|
-
ref_key: "itemRefs",
|
|
112
|
-
ref: u,
|
|
113
|
-
tabindex: 0,
|
|
114
|
-
"aria-selected": l === i.value,
|
|
115
|
-
onKeydown: L((f) => y(l, e), ["enter"]),
|
|
116
|
-
onClick: (f) => y(l, e, f)
|
|
117
|
-
}, [
|
|
118
|
-
o.$slots.default ? N(o.$slots, "default", V(E({ key: 0 }, e))) : (r(), a("div", F, [
|
|
119
|
-
e.icon ? (r(), G(n, {
|
|
120
|
-
key: 0,
|
|
121
|
-
icon: e.icon,
|
|
122
|
-
class: "mr-2",
|
|
123
|
-
size: "xs"
|
|
124
|
-
}, null, 8, ["icon"])) : $("", !0),
|
|
125
|
-
I(" " + P(e.label), 1)
|
|
126
|
-
]))
|
|
127
|
-
], 42, O))
|
|
128
|
-
], 64))), 128))
|
|
129
|
-
], 34);
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
export {
|
|
134
|
-
j as _
|
|
135
|
-
};
|