From 0cfa9e9d0a1008cbd77e3b0fddb8ccfa95a2409e Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 6 Apr 2020 07:25:05 +0300 Subject: [PATCH] Refactor #212 --- src/components/galleria/Galleria.d.ts | 8 +- src/components/galleria/Galleria.vue | 4 +- src/components/galleria/GalleriaContent.vue | 4 +- src/components/galleria/GalleriaItemSlot.vue | 4 +- src/components/galleria/GalleriaPreview.vue | 2 +- .../galleria/GalleriaThumbnails.vue | 2 +- src/views/galleria/GalleriaBasicDemo.vue | 16 ++-- src/views/galleria/GalleriaCaptionDemo.vue | 8 +- src/views/galleria/GalleriaCircularDemo.vue | 16 ++-- src/views/galleria/GalleriaDemo.vue | 4 +- src/views/galleria/GalleriaDoc.vue | 22 ++--- src/views/galleria/GalleriaFullScreenDemo.vue | 36 ++++----- src/views/galleria/GalleriaIndicatorDemo.vue | 80 +++++++++---------- src/views/galleria/GalleriaPreviewDemo.vue | 48 +++++------ src/views/galleria/GalleriaResponsiveDemo.vue | 8 +- src/views/galleria/GalleriaThumbnailDemo.vue | 40 +++++----- 16 files changed, 151 insertions(+), 151 deletions(-) diff --git a/src/components/galleria/Galleria.d.ts b/src/components/galleria/Galleria.d.ts index 97ce765af..59066d5e2 100644 --- a/src/components/galleria/Galleria.d.ts +++ b/src/components/galleria/Galleria.d.ts @@ -23,14 +23,14 @@ export declare class Galleria extends Vue { indicatorsPosition?: string; baseZIndex?: number; maskClass?: string; - galleriaStyle?: string; - galleriaClass?: string; + containerStyle?: string; + containerClass?: string; $slots: { header: VNode[]; footer: VNode[]; - previewItem: VNode[]; + item: VNode[]; previewCaption: VNode[]; indicator: VNode[]; - thumbnailItem: VNode[]; + thumbnail: VNode[]; } } diff --git a/src/components/galleria/Galleria.vue b/src/components/galleria/Galleria.vue index 89e6b78fc..ef699a6f2 100644 --- a/src/components/galleria/Galleria.vue +++ b/src/components/galleria/Galleria.vue @@ -101,11 +101,11 @@ export default { type: String, default: null }, - galleriaStyle: { + containerStyle: { type: String, default: null }, - galleriaClass: { + containerClass: { type: String, default: null } diff --git a/src/components/galleria/GalleriaContent.vue b/src/components/galleria/GalleriaContent.vue index b9e008149..cdadde694 100644 --- a/src/components/galleria/GalleriaContent.vue +++ b/src/components/galleria/GalleriaContent.vue @@ -1,5 +1,5 @@