Merge branch 'v4' of https://github.com/primefaces/primevue into v4
commit
4219709a1c
|
@ -37,8 +37,8 @@ const theme = ({ dt }) => `
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 1rem;
|
padding: ${dt('carousel.indicator.list.padding')};
|
||||||
gap: 0.5rem;
|
gap: ${dt('carousel.indicator.list.gap')};
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
@ -48,21 +48,22 @@ const theme = ({ dt }) => `
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background: ${dt('carousel.indicator.background')};
|
background: ${dt('carousel.indicator.background')};
|
||||||
width: 2rem;
|
width: ${dt('carousel.indicator.width')};
|
||||||
height: 0.5rem;
|
height: ${dt('carousel.indicator.height')};
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
|
transition: background ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')}, box-shadow ${dt('transition.duration')};
|
||||||
outline-color: transparent;
|
outline-color: transparent;
|
||||||
border-radius: ${dt('border.radius.md')};
|
border-radius: ${dt('carousel.indicator.border.radius')};
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: none;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-carousel-indicator-button:focus-visible {
|
.p-carousel-indicator-button:focus-visible {
|
||||||
outline: ${dt('focus.ring.width')} ${dt('focus.ring.style')} ${dt('focus.ring.color')};
|
box-shadow: ${dt('carousel.indicator.focus.ring.shadow')};
|
||||||
outline-offset: ${dt('focus.ring.offset')};
|
outline: ${dt('carousel.indicator.focus.ring.width')} ${dt('carousel.indicator.focus.ring.style')} ${dt('carousel.indicator.focus.ring.color')};
|
||||||
|
outline-offset: ${dt('carousel.indicator.focus.ring.offset')};
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-carousel-indicator-button:hover {
|
.p-carousel-indicator-button:hover {
|
||||||
|
|
|
@ -1,4 +1,22 @@
|
||||||
export default {
|
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}'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
colorScheme: {
|
colorScheme: {
|
||||||
light: {
|
light: {
|
||||||
indicator: {
|
indicator: {
|
||||||
|
|
|
@ -19,7 +19,7 @@ export default {
|
||||||
background: 'rgba(255,255,255,0.1)',
|
background: 'rgba(255,255,255,0.1)',
|
||||||
borderColor: 'rgba(255,255,255,0.2)',
|
borderColor: 'rgba(255,255,255,0.2)',
|
||||||
borderWidth: '1px',
|
borderWidth: '1px',
|
||||||
borderRadius: '{30px}',
|
borderRadius: '30px',
|
||||||
padding: '.5rem',
|
padding: '.5rem',
|
||||||
gap: '0.5rem'
|
gap: '0.5rem'
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,4 +1,22 @@
|
||||||
export default {
|
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}'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
colorScheme: {
|
colorScheme: {
|
||||||
light: {
|
light: {
|
||||||
indicator: {
|
indicator: {
|
||||||
|
|
Loading…
Reference in New Issue