diff --git a/package.json b/package.json index 0b73a5c0c6..e5aa635fb9 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "repository": "https://github.com/epicmaxco/vuestic-ui", "devDependencies": { "lerna": "^3.20.2", + "syncpack": "^9.8.6", "yorkie": "^2.0.0" }, "private": true, @@ -39,14 +40,5 @@ }, "gitHooks": { "pre-commit": "lerna run --concurrency 1 --stream precommit --since HEAD" - }, - "resolutions": { - "nuxt": "3.1.1", - "vue": "3.2.37", - "vite": "^4", - "vue-router": "4.1.6", - "@nuxt/schema": "3.0.0", - "vue-tsc": "1.2.0", - "typescript": "4.7.4" } } diff --git a/packages/ag-grid-theme/package.json b/packages/ag-grid-theme/package.json index 67b1cadb67..e5ce92b10c 100644 --- a/packages/ag-grid-theme/package.json +++ b/packages/ag-grid-theme/package.json @@ -17,7 +17,7 @@ "@ag-grid-community/vue3": "^29.0.0" }, "peerDependencies": { - "vuestic-ui": "^1.3.0" + "vuestic-ui": "1.6.4" }, "devDependencies": { "sass": "^1.57.1", diff --git a/packages/deploy/package.json b/packages/deploy/package.json index 21eb5cd3d4..9ea34e43c9 100644 --- a/packages/deploy/package.json +++ b/packages/deploy/package.json @@ -6,10 +6,10 @@ "release": "tsx release-script/release-script.ts" }, "devDependencies": { - "tsx": "^3.5.0", + "tsx": "^3.12.1", "inquirer": "^9.0.0", - "typescript": "^4.3.2", - "chalk": "^5.0.1" + "typescript": "4.7.4", + "chalk": "^5.2.0" }, "exports": { "./execute": "./execute/index.ts" diff --git a/packages/docs/package.json b/packages/docs/package.json index 91a9332007..cdce750657 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -27,7 +27,7 @@ "escodegen": "^2.0.0", "eslint": "7", "nuxt": "^3.1.1", - "postcss": "^7", + "postcss": "^8.2.1", "postcss-custom-properties": "^13.1.1", "serve": "^14.2.0", "stylelint": "^13.13.1", @@ -36,7 +36,7 @@ "vue-component-meta": "^1.2.0", "vue-i18n": "^9.2.2", "vue-router": "^4.1.6", - "vue-tsc": "^1.0.24" + "vue-tsc": "^1.2.0" }, "dependencies": { "@docsearch/js": "^3.2.1", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index fc50f036ed..a345199616 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -29,9 +29,9 @@ "dependencies": { "@nuxt/kit": "^3.0.0", "chokidar": "*", - "nuxt": "^3.0.0", + "nuxt": "^3.1.1", "pathe": "^0.3.5", - "vuestic-ui": "^1.4.10" + "vuestic-ui": "1.6.4" }, "devDependencies": { "@nuxt/module-builder": "latest", diff --git a/packages/sandbox/package.json b/packages/sandbox/package.json index 13e9f0e355..41d9c9d0cf 100644 --- a/packages/sandbox/package.json +++ b/packages/sandbox/package.json @@ -31,21 +31,21 @@ "vue": "*" }, "devDependencies": { - "@vitejs/plugin-vue": "^1.3.0", + "@vitejs/plugin-vue": "^4.1.0", "@vue/test-utils": "^2.0.2", "lodash": "^4.17.21", - "nuxt": "3.0.0", + "nuxt": "^3.1.1", "rollup-plugin-analyzer": "^4.0.0", - "sass": "^1.54.4", - "serve": "^12.0.0", + "sass": "^1.57.1", + "serve": "^14.2.0", "ts-loader": "^9.3.0", "ts-node": "^10.8.1", - "typescript": "^4.3.2", + "typescript": "4.7.4", "vite": "^4.2.1", "vitest": "*", "vue-bundle-renderer": "0.4.1", "vue-tsc": "^1.2.0", - "webpack": "5", + "webpack": "^5.4.1", "webpack-cli": "^4.9.2", "when-dependencies-installed": "^1.0.1" }, diff --git a/packages/ui/package.json b/packages/ui/package.json index 3177aaa568..90f7ba44c9 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -96,19 +96,19 @@ "postcss": "^8.2.1", "postcss-import": "^14.0.2", "postcss-loader": "^4.1.0", - "rollup": "^2.53.1", + "rollup": "^3.15.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-postcss": "^4.0.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.30.0", "rollup-plugin-vue": "^6.0.0", - "sass": "^1.26.5", + "sass": "^1.57.1", "sass-loader": "^10.1.0", "semver": "^7.3.5", "style-loader": "^2.0.0", "stylelint": "^13.13.1", "stylelint-config-standard": "^22.0.0", - "ts-loader": "^8.0.14", + "ts-loader": "^9.3.0", "typescript": "4.7.4", "vite": "^4.2.1", "vite-plugin-chunk-split": "^0.4.7", @@ -120,7 +120,7 @@ "vuelidate": "^0.7.5", "webpack": "^5.4.1", "webpack-bundle-analyzer": "^4.1.0", - "webpack-cli": "^4.4.0", + "webpack-cli": "^4.9.2", "webpack-merge": "^5.5.0", "yargs": "^17.5.1" }, @@ -170,4 +170,4 @@ ] } } -} \ No newline at end of file +} diff --git a/packages/ui/src/components/va-accordion/VaAccordion.vue b/packages/ui/src/components/va-accordion/VaAccordion.vue index 2010199655..12c4732d7c 100644 --- a/packages/ui/src/components/va-accordion/VaAccordion.vue +++ b/packages/ui/src/components/va-accordion/VaAccordion.vue @@ -12,7 +12,7 @@ import { useAccordion } from './hooks/useAccordion' export default defineComponent({ name: 'VaAccordion', - emits: useStatefulEmits, + emits: [...useStatefulEmits], props: { ...useStatefulProps, ...useComponentPresetProp, diff --git a/packages/ui/src/components/va-alert/VaAlert.vue b/packages/ui/src/components/va-alert/VaAlert.vue index af9b75e08c..4ca3605451 100644 --- a/packages/ui/src/components/va-alert/VaAlert.vue +++ b/packages/ui/src/components/va-alert/VaAlert.vue @@ -95,7 +95,7 @@ import { VaIcon } from '../va-icon' export default defineComponent({ name: 'VaAlert', components: { VaIcon }, - emits: useStatefulEmits, + emits: [...useStatefulEmits], // useStatefulEmits, props: { ...useStatefulProps, ...useComponentPresetProp, diff --git a/packages/ui/src/components/va-avatar-group/VaAvatarGroup.vue b/packages/ui/src/components/va-avatar-group/VaAvatarGroup.vue index 27636671df..6fe917234e 100644 --- a/packages/ui/src/components/va-avatar-group/VaAvatarGroup.vue +++ b/packages/ui/src/components/va-avatar-group/VaAvatarGroup.vue @@ -13,7 +13,6 @@ /> diff --git a/packages/ui/src/components/va-carousel/VaCarousel.vue b/packages/ui/src/components/va-carousel/VaCarousel.vue index ed78edc0bd..9bca66bf6c 100644 --- a/packages/ui/src/components/va-carousel/VaCarousel.vue +++ b/packages/ui/src/components/va-carousel/VaCarousel.vue @@ -162,7 +162,7 @@ export default defineComponent({ ariaSlideOfLabel: { type: String, default: '$t:slideOf' }, }, - emits: useStatefulEmits, + emits: [...useStatefulEmits], setup (props, { emit }) { const { valueComputed: currentSlide } = useStateful(props, emit, 'modelValue', { defaultValue: 0 }) diff --git a/packages/ui/src/components/va-color-indicator/VaColorIndicator.vue b/packages/ui/src/components/va-color-indicator/VaColorIndicator.vue index fcc7b0064f..c2240a83d5 100644 --- a/packages/ui/src/components/va-color-indicator/VaColorIndicator.vue +++ b/packages/ui/src/components/va-color-indicator/VaColorIndicator.vue @@ -29,7 +29,7 @@ import { export default defineComponent({ name: 'VaColorIndicator', - emits: useStatefulEmits, + emits: [...useStatefulEmits], props: { ...useStatefulProps, ...useComponentPresetProp, diff --git a/packages/ui/src/components/va-color-input/VaColorInput.vue b/packages/ui/src/components/va-color-input/VaColorInput.vue index 55f4b64ba8..2e09088b5e 100644 --- a/packages/ui/src/components/va-color-input/VaColorInput.vue +++ b/packages/ui/src/components/va-color-input/VaColorInput.vue @@ -46,7 +46,7 @@ export default defineComponent({ VaInput, VaColorIndicator, }, - emits: useStatefulEmits, + emits: [...useStatefulEmits], props: { ...useStatefulProps, ...useComponentPresetProp, diff --git a/packages/ui/src/components/va-color-palette/VaColorPalette.vue b/packages/ui/src/components/va-color-palette/VaColorPalette.vue index 541afbeb71..f7b75cb793 100644 --- a/packages/ui/src/components/va-color-palette/VaColorPalette.vue +++ b/packages/ui/src/components/va-color-palette/VaColorPalette.vue @@ -29,7 +29,7 @@ import { VaColorIndicator } from '../va-color-indicator' export default defineComponent({ name: 'VaColorPalette', components: { VaColorIndicator }, - emits: useStatefulEmits, + emits: [...useStatefulEmits], props: { ...useStatefulProps, ...useComponentPresetProp, diff --git a/packages/ui/src/components/va-date-picker/VaDatePicker.vue b/packages/ui/src/components/va-date-picker/VaDatePicker.vue index 5f78a1bf90..b9c9e3bc07 100644 --- a/packages/ui/src/components/va-date-picker/VaDatePicker.vue +++ b/packages/ui/src/components/va-date-picker/VaDatePicker.vue @@ -123,7 +123,7 @@ export default defineComponent({ const { syncView } = useView(props, emit, { type: props.type }) const classComputed = computed(() => ({ - 'va-date-picker_without-week-days': props.hideWeekDays, + // 'va-date-picker_without-week-days': props.hideWeekDays, 'va-date-picker_disabled': props.disabled, })) diff --git a/packages/ui/src/components/va-dropdown/VaDropdown.vue b/packages/ui/src/components/va-dropdown/VaDropdown.vue index 64fc0c1df2..ac16759e84 100644 --- a/packages/ui/src/components/va-dropdown/VaDropdown.vue +++ b/packages/ui/src/components/va-dropdown/VaDropdown.vue @@ -78,7 +78,7 @@ export default defineComponent({ ariaLabel: { type: String, default: '$t:toggleDropdown' }, }, - emits: [...useStatefulEmits, 'anchor-click', 'anchor-right-click', 'content-click', 'click-outside', 'close', 'open'], + emits: [...useStatefulEmits, 'anchor-click', 'anchor-right-click', 'content-click', 'click-outside', 'close', 'open', 'anchor-dblclick'], setup (props, { emit, slots, attrs }) { const contentRef = shallowRef() @@ -119,7 +119,7 @@ export default defineComponent({ cancelHoverDebounce() } - const emitAndClose = (eventName: string, close?: boolean, e?: Event) => { + const emitAndClose = (eventName: Parameters[0], close?: boolean, e?: Event) => { emit(eventName, e) if (close && props.trigger !== 'none') { valueComputed.value = false } } diff --git a/packages/ui/src/components/va-hover/VaHover.vue b/packages/ui/src/components/va-hover/VaHover.vue index 566396a4e6..ed3cb5b740 100644 --- a/packages/ui/src/components/va-hover/VaHover.vue +++ b/packages/ui/src/components/va-hover/VaHover.vue @@ -23,7 +23,7 @@ export default defineComponent({ modelValue: { type: Boolean, default: false }, }, - emits: useStatefulEmits, + emits: [...useStatefulEmits], setup (props, { emit }) { const { valueComputed } = useStateful(props, emit) diff --git a/packages/ui/src/components/va-infinite-scroll/VaInfiniteScroll.vue b/packages/ui/src/components/va-infinite-scroll/VaInfiniteScroll.vue index f0c24cb1c5..22a2f60c1d 100644 --- a/packages/ui/src/components/va-infinite-scroll/VaInfiniteScroll.vue +++ b/packages/ui/src/components/va-infinite-scroll/VaInfiniteScroll.vue @@ -1,6 +1,6 @@