diff --git a/apps/showcase/doc/confirmdialog/TemplateDoc.vue b/apps/showcase/doc/confirmdialog/TemplateDoc.vue index effd29915..12956bbfe 100644 --- a/apps/showcase/doc/confirmdialog/TemplateDoc.vue +++ b/apps/showcase/doc/confirmdialog/TemplateDoc.vue @@ -5,7 +5,7 @@ @@ -25,7 +25,7 @@ export default { @@ -37,7 +37,7 @@ export default { @@ -85,7 +85,7 @@ export default { diff --git a/apps/showcase/layouts/AppConfigurator.vue b/apps/showcase/layouts/AppConfigurator.vue index c7125d5e5..dc1f8f438 100755 --- a/apps/showcase/layouts/AppConfigurator.vue +++ b/apps/showcase/layouts/AppConfigurator.vue @@ -31,7 +31,7 @@
Presets - +
Ripple diff --git a/packages/primevue/src/carousel/style/CarouselStyle.js b/packages/primevue/src/carousel/style/CarouselStyle.js index fd6f6ed33..8849481a2 100644 --- a/packages/primevue/src/carousel/style/CarouselStyle.js +++ b/packages/primevue/src/carousel/style/CarouselStyle.js @@ -15,6 +15,7 @@ const theme = ({ dt }) => ` .p-carousel-content { display: flex; flex-direction: row; + gap: ${dt('carousel.content.gap')}; } .p-carousel-viewport { diff --git a/packages/themes/src/presets/aura/carousel/index.js b/packages/themes/src/presets/aura/carousel/index.js index 62f8046c6..ea401b531 100644 --- a/packages/themes/src/presets/aura/carousel/index.js +++ b/packages/themes/src/presets/aura/carousel/index.js @@ -1,23 +1,26 @@ export default { root: { - indicatorList: { - padding: '1rem', - gap: '0.5rem' - }, - indicator: { - width: '2rem', - height: '0.5rem', - borderRadius: '{content.border.radius}', - focusRing: { - width: '{focus.ring.width}', - style: '{focus.ring.style}', - color: '{focus.ring.color}', - offset: '{focus.ring.offset}', - shadow: '{focus.ring.shadow}' - } - }, transitionDuration: '{transition.duration}' }, + content: { + gap: '0.25rem' + }, + indicatorList: { + padding: '1rem', + gap: '0.5rem' + }, + indicator: { + width: '2rem', + height: '0.5rem', + borderRadius: '{content.border.radius}', + focusRing: { + width: '{focus.ring.width}', + style: '{focus.ring.style}', + color: '{focus.ring.color}', + offset: '{focus.ring.offset}', + shadow: '{focus.ring.shadow}' + } + }, colorScheme: { light: { indicator: { diff --git a/packages/themes/src/presets/lara/carousel/index.js b/packages/themes/src/presets/lara/carousel/index.js index a724a8ae5..55896eaa6 100644 --- a/packages/themes/src/presets/lara/carousel/index.js +++ b/packages/themes/src/presets/lara/carousel/index.js @@ -1,23 +1,26 @@ export default { root: { - indicatorList: { - padding: '1rem', - gap: '0.5rem' - }, - indicator: { - width: '1rem', - height: '1rem', - borderRadius: '50', - focusRing: { - width: '{focus.ring.width}', - style: '{focus.ring.style}', - color: '{focus.ring.color}', - offset: '{focus.ring.offset}', - shadow: '{focus.ring.shadow}' - } - }, transitionDuration: '{transition.duration}' }, + content: { + gap: '0.25rem' + }, + indicatorList: { + padding: '1rem', + gap: '0.5rem' + }, + indicator: { + width: '1rem', + height: '1rem', + borderRadius: '50', + focusRing: { + width: '{focus.ring.width}', + style: '{focus.ring.style}', + color: '{focus.ring.color}', + offset: '{focus.ring.offset}', + shadow: '{focus.ring.shadow}' + } + }, colorScheme: { light: { indicator: { diff --git a/packages/themes/src/presets/nora/carousel/index.js b/packages/themes/src/presets/nora/carousel/index.js index 5424ddd1e..6eb762ac0 100644 --- a/packages/themes/src/presets/nora/carousel/index.js +++ b/packages/themes/src/presets/nora/carousel/index.js @@ -1,23 +1,26 @@ export default { root: { - indicatorList: { - padding: '1rem', - gap: '0.5rem' - }, - indicator: { - width: '2rem', - height: '0.5rem', - borderRadius: '{content.border.radius}', - focusRing: { - width: '{focus.ring.width}', - style: '{focus.ring.style}', - color: '{focus.ring.color}', - offset: '{focus.ring.offset}', - shadow: '{focus.ring.shadow}' - } - }, transitionDuration: '{transition.duration}' }, + content: { + gap: '0.25rem' + }, + indicatorList: { + padding: '1rem', + gap: '0.5rem' + }, + indicator: { + width: '2rem', + height: '0.5rem', + borderRadius: '{content.border.radius}', + focusRing: { + width: '{focus.ring.width}', + style: '{focus.ring.style}', + color: '{focus.ring.color}', + offset: '{focus.ring.offset}', + shadow: '{focus.ring.shadow}' + } + }, colorScheme: { light: { indicator: { diff --git a/packages/themes/types/carousel/index.d.ts b/packages/themes/types/carousel/index.d.ts index fa0e16ae3..8b78dda28 100644 --- a/packages/themes/types/carousel/index.d.ts +++ b/packages/themes/types/carousel/index.d.ts @@ -15,81 +15,6 @@ export interface CarouselDesignTokens extends ColorSchemeDesignToken