diff --git a/package.json b/package.json index 2d76a0cd7..beeea54ba 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@formkit/themes": "1.0.0-beta.10", "@formkit/vue": "1.0.0-beta.10", "@halo-dev/admin-shared": "workspace:*", - "@halo-dev/api-client": "^0.0.12", + "@halo-dev/api-client": "^0.0.13", "@halo-dev/components": "workspace:*", "@halo-dev/richtext-editor": "^0.0.0-alpha.5", "@tiptap/extension-character-count": "2.0.0-beta.31", @@ -44,12 +44,14 @@ "colorjs.io": "^0.4.0", "dayjs": "^1.11.5", "filepond": "^4.30.4", - "filepond-plugin-image-preview": "^4.6.11", "floating-vue": "2.0.0-beta.19", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0", + "path-browserify": "^1.0.1", "pinia": "^2.0.20", + "pretty-bytes": "^6.0.0", "qs": "^6.11.0", + "unsplash-js": "^7.0.15", "uuid": "^8.3.2", "vue": "^3.2.37", "vue-filepond": "^7.0.3", @@ -60,6 +62,7 @@ }, "devDependencies": { "@changesets/cli": "^2.24.3", + "@iconify-json/vscode-icons": "^1.1.11", "@rushstack/eslint-patch": "^1.1.4", "@tailwindcss/aspect-ratio": "^0.4.0", "@types/jsdom": "^20.0.0", @@ -93,6 +96,7 @@ "tailwindcss-safe-area": "^0.2.2", "tailwindcss-themer": "^2.0.1", "typescript": "~4.7.4", + "unplugin-icons": "^0.14.8", "vite": "^3.0.9", "vite-compression-plugin": "^0.0.4", "vite-plugin-externals": "^0.5.1", diff --git a/packages/components/src/components/modal/Modal.vue b/packages/components/src/components/modal/Modal.vue index fa4d44d59..1340e9d3c 100644 --- a/packages/components/src/components/modal/Modal.vue +++ b/packages/components/src/components/modal/Modal.vue @@ -7,15 +7,19 @@ const props = withDefaults( visible?: boolean; title?: string; width?: number; + height?: string; fullscreen?: boolean; bodyClass?: string[]; + mountToBody?: boolean; }>(), { visible: false, title: undefined, width: 500, + height: undefined, fullscreen: false, bodyClass: undefined, + mountToBody: false, } ); @@ -36,6 +40,7 @@ const wrapperClasses = computed(() => { const contentStyles = computed(() => { return { maxWidth: props.width + "px", + height: props.height, }; }); @@ -56,7 +61,7 @@ watch( );