From 29453412fc5c6ac87e19be2977455505ae3e3d17 Mon Sep 17 00:00:00 2001 From: mostafaznv Date: Fri, 20 Dec 2024 02:19:16 +0330 Subject: [PATCH] feat: support nova 5 #151 --- composer.json | 4 ++-- package.json | 1 + resources/js/components/FileInput.vue | 6 ++++-- .../media-browser/MediaBrowserDelete.vue | 13 +++++++------ .../MediaBrowserDisplayOptions.vue | 7 ++++++- .../media-browser/MediaBrowserItem.vue | 9 +++++---- .../media-browser/MediaBrowserNavbar.vue | 8 ++++---- .../media-browser/MediaBrowserPagination.vue | 9 +++++---- .../media-browser/MediaBrowserRenameModal.vue | 15 ++++++++------- .../media-browser/MediaBrowserSearchModal.vue | 7 ++++--- .../media-browser/MediaBrowserTypeList.vue | 9 +++++---- .../media-browser/MediaBrowserUpload.vue | 19 +++++++++++-------- .../snippet-browser/SnippetBrowserFooter.vue | 10 ++++++---- 13 files changed, 68 insertions(+), 49 deletions(-) diff --git a/composer.json b/composer.json index a4ad560..54856fa 100755 --- a/composer.json +++ b/composer.json @@ -19,9 +19,9 @@ "php": "^8.1", "intervention/image": "^3.1.0", "laravel/framework": "^10.0|^11.0", - "laravel/nova": "^4.13", + "laravel/nova": "^4.13|^5.0", "mostafaznv/nova-video": "^6.1.0", - "nova-kit/nova-packages-tool": "^1.2", + "nova-kit/nova-packages-tool": "^1.2|^v2.0.0", "spatie/laravel-image-optimizer": "^1.6" }, "autoload": { diff --git a/package.json b/package.json index 80b9da1..26bfe4e 100755 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "@phudak/ckeditor5-emoji": "^1.1.1", "@vueuse/components": "^10.7.0", "@vueuse/core": "^10.7.0", + "laravel-nova-ui": "^0.4.12", "lodash": "^4.17.21", "postcss-scss": "^4.0.9", "regex-parser": "^2.2.11", diff --git a/resources/js/components/FileInput.vue b/resources/js/components/FileInput.vue index 00f4656..2527d0b 100644 --- a/resources/js/components/FileInput.vue +++ b/resources/js/components/FileInput.vue @@ -14,9 +14,9 @@