From 2c45303235623a9dd6aec66935e15664174ff11e Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 30 Apr 2024 12:39:18 +0300 Subject: [PATCH] Refactor #5592 - For Media section components --- components/lib/carousel/Carousel.d.ts | 24 ++++++++--------- components/lib/carousel/Carousel.vue | 17 ++++++------ .../lib/carousel/style/CarouselStyle.js | 12 ++++----- components/lib/galleria/Galleria.d.ts | 26 +++++++++---------- components/lib/galleria/GalleriaItem.vue | 6 ++--- .../lib/galleria/GalleriaThumbnails.vue | 8 +++--- .../lib/galleria/style/GalleriaStyle.js | 12 ++++----- components/lib/image/Image.d.ts | 16 ++++++------ components/lib/image/Image.vue | 12 ++++----- components/lib/image/style/ImageStyle.js | 7 +++-- .../themes/primeone/base/carousel/index.js | 6 ++--- .../themes/primeone/base/galleria/index.js | 20 +++++++------- 12 files changed, 82 insertions(+), 84 deletions(-) diff --git a/components/lib/carousel/Carousel.d.ts b/components/lib/carousel/Carousel.d.ts index 88535818e..6cd50cc25 100755 --- a/components/lib/carousel/Carousel.d.ts +++ b/components/lib/carousel/Carousel.d.ts @@ -76,31 +76,31 @@ export interface CarouselPassThroughOptions { * Used to pass attributes to the header's DOM element. */ header?: CarouselPassThroughOptionType; + /** + * Used to pass attributes to the content container's DOM element. + */ + contentContainer?: CarouselPassThroughOptionType; /** * Used to pass attributes to the content's DOM element. */ content?: CarouselPassThroughOptionType; - /** - * Used to pass attributes to the container's DOM element. - */ - container?: CarouselPassThroughOptionType; /** * Used to pass attributes to the previous button's DOM element. * @see {@link ButtonPassThroughOptions} */ previousButton?: ButtonPassThroughOptions; /** - * Used to pass attributes to the items content's DOM element. + * Used to pass attributes to the viewport's DOM element. */ - itemsContent?: CarouselPassThroughOptionType; + viewport?: CarouselPassThroughOptionType; /** - * Used to pass attributes to the items container's DOM element. + * Used to pass attributes to the items list's DOM element. */ - itemsContainer?: CarouselPassThroughOptionType; + itemList?: CarouselPassThroughOptionType; /** - * Used to pass attributes to the item cloned's DOM element. + * Used to pass attributes to the item clone's DOM element. */ - itemCloned?: CarouselPassThroughOptionType; + itemClone?: CarouselPassThroughOptionType; /** * Used to pass attributes to the item's DOM element. */ @@ -111,9 +111,9 @@ export interface CarouselPassThroughOptions { */ nextButton?: ButtonPassThroughOptions; /** - * Used to pass attributes to the indicators's DOM element. + * Used to pass attributes to the indicator list's DOM element. */ - indicators?: CarouselPassThroughOptionType; + indicatorList?: CarouselPassThroughOptionType; /** * Used to pass attributes to the indicator's DOM element. */ diff --git a/components/lib/carousel/Carousel.vue b/components/lib/carousel/Carousel.vue index d40302f4c..6714459dc 100755 --- a/components/lib/carousel/Carousel.vue +++ b/components/lib/carousel/Carousel.vue @@ -3,8 +3,8 @@
-
-
+
+
- -
-
+
+
-
    +