flavorly / vanilla-components

A lightweight, flexible & customizable UI library for Vue 3, styled with Tailwind CSS.
https://vanilla-components.com
MIT License
267 stars 17 forks source link

Type Errors #119

Closed realashleybailey closed 1 year ago

realashleybailey commented 1 year ago

Type errors absolutely everywhere, I would suggest either disabling typing for the entire project or fixing the typing issues, I would do this myself but I have other commitments and deadlines to keep to on another project.

Found 204 errors in 46 files.

Errors  Files
     5  node_modules/@flavorly/vanilla-components/dist/components/alert/alert.vue:9
     1  node_modules/@flavorly/vanilla-components/dist/components/button/button.vue:8
    13  node_modules/@flavorly/vanilla-components/dist/components/checkbox/checkbox-group.vue:13
     4  node_modules/@flavorly/vanilla-components/dist/components/checkbox/checkbox.vue:81
     5  node_modules/@flavorly/vanilla-components/dist/components/country-input/country-input-option.vue:5
     4  node_modules/@flavorly/vanilla-components/dist/components/country-input/country-input.vue:151
    20  node_modules/@flavorly/vanilla-components/dist/components/datatable/datatable.vue:41
     2  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/actions.vue:10
     8  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/dialog-confirm-action.vue:10
    11  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/dialog-filters.vue:15
     1  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/dialog-settings.vue:14
     4  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/empty-state.vue:7
     1  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/filter-badge.vue:31
     4  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/head.vue:8
     4  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/pagination.vue:8
     3  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/search-bar.vue:6
     5  node_modules/@flavorly/vanilla-components/dist/components/datatable/partials/selection-bar.vue:52
     3  node_modules/@flavorly/vanilla-components/dist/components/datetime-input/datetime-input.vue:3
     1  node_modules/@flavorly/vanilla-components/dist/components/dialog/dialog.vue:11
     2  node_modules/@flavorly/vanilla-components/dist/components/dropdown/dropdown-menu.vue:16
     3  node_modules/@flavorly/vanilla-components/dist/components/dropdown/dropdown.vue:133
     1  node_modules/@flavorly/vanilla-components/dist/components/forms/form-label.vue:51
     3  node_modules/@flavorly/vanilla-components/dist/components/input-group/input-group.vue:132
     9  node_modules/@flavorly/vanilla-components/dist/components/input/input.vue:11
     1  node_modules/@flavorly/vanilla-components/dist/components/misc/transitionable.vue:34
     6  node_modules/@flavorly/vanilla-components/dist/components/phone-input/phone-input.vue:4
     1  node_modules/@flavorly/vanilla-components/dist/components/rich-radio-option/rich-radio-option.vue:71
     5  node_modules/@flavorly/vanilla-components/dist/components/rich-radio/rich-radio.vue:13
     1  node_modules/@flavorly/vanilla-components/dist/components/rich-select-option-image/rich-select-option-image.vue:6
     1  node_modules/@flavorly/vanilla-components/dist/components/rich-select-option-indicator/rich-select-option-indicator.vue:7
     1  node_modules/@flavorly/vanilla-components/dist/components/rich-select/partials/clear-button.vue:3
     1  node_modules/@flavorly/vanilla-components/dist/components/rich-select/partials/option-list.vue:9
     2  node_modules/@flavorly/vanilla-components/dist/components/rich-select/partials/option.vue:8
     2  node_modules/@flavorly/vanilla-components/dist/components/rich-select/partials/search.vue:44
     1  node_modules/@flavorly/vanilla-components/dist/components/rich-select/partials/state.vue:7
     2  node_modules/@flavorly/vanilla-components/dist/components/rich-select/partials/trigger-tags-tag.vue:7
     2  node_modules/@flavorly/vanilla-components/dist/components/rich-select/partials/trigger.vue:10
     7  node_modules/@flavorly/vanilla-components/dist/components/rich-select/rich-select.vue:7
     1  node_modules/@flavorly/vanilla-components/dist/components/select/select.vue:104
     1  node_modules/@flavorly/vanilla-components/dist/components/skeleton/skeleton.vue:43
    13  node_modules/@flavorly/vanilla-components/dist/components/slideover/slideover.vue:15
    12  node_modules/@flavorly/vanilla-components/dist/components/tags-input/tags-input.vue:9
     9  node_modules/@flavorly/vanilla-components/dist/components/textarea/textarea.vue:11
     8  node_modules/@flavorly/vanilla-components/dist/components/toggle/toggle-group.vue:13
     9  node_modules/@flavorly/vanilla-components/dist/components/toggle/toggle.vue:9
     1  node_modules/@flavorly/vanilla-components/dist/core/config/popper-options.ts:16
ERROR: "type-check" exited with 2.
nikuscs commented 1 year ago

Hello, thanks for your concern, most of the type errors come from 1 definition that is pending to be fixed, we will do a major refactor to the library core soon so ill close this for now, as types are only intended for local dev for the moment.