adobe / react-spectrum

A collection of libraries and tools that help you build adaptive, accessible, and robust user experiences.
https://react-spectrum.adobe.com
Apache License 2.0
13.08k stars 1.14k forks source link

fix: Accordion release fixes #7391

Closed reidbarber closed 1 week ago

reidbarber commented 1 week ago

โœ… Pull Request Checklist:

๐Ÿ“ Test Instructions:

๐Ÿงข Your Project:

rspbot commented 1 week ago

Build successful! ๐ŸŽ‰

rspbot commented 1 week ago

Build successful! ๐ŸŽ‰

rspbot commented 1 week ago
## API Changes ### @react-spectrum/accordion #### /@react-spectrum/accordion:DisclosureHeader ```diff -DisclosureHeader { - UNSAFE_className?: string - UNSAFE_style?: CSSProperties - alignSelf?: Responsive<'auto' | 'normal' | 'start' | 'end' | 'center' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'stretch'> - aria-describedby?: string - aria-details?: string - aria-label?: string - aria-labelledby?: string - bottom?: Responsive - children: React.ReactNode - end?: Responsive - flex?: Responsive - flexBasis?: Responsive - flexGrow?: Responsive - flexShrink?: Responsive - gridArea?: Responsive - gridColumn?: Responsive - gridColumnEnd?: Responsive - gridColumnStart?: Responsive - gridRow?: Responsive - gridRowEnd?: Responsive - gridRowStart?: Responsive - height?: Responsive - id?: string - isHidden?: Responsive - justifySelf?: Responsive<'auto' | 'normal' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'center' | 'left' | 'right' | 'stretch'> - left?: Responsive - level?: number = 3 - margin?: Responsive - marginBottom?: Responsive - marginEnd?: Responsive - marginStart?: Responsive - marginTop?: Responsive - marginX?: Responsive - marginY?: Responsive - maxHeight?: Responsive - maxWidth?: Responsive - minHeight?: Responsive - minWidth?: Responsive - order?: Responsive - position?: Responsive<'static' | 'relative' | 'absolute' | 'fixed' | 'sticky'> - right?: Responsive - start?: Responsive - top?: Responsive - width?: Responsive - zIndex?: Responsive -} ``` #### /@react-spectrum/accordion:SpectrumDisclosureHeaderProps ```diff -SpectrumDisclosureHeaderProps { - UNSAFE_className?: string - UNSAFE_style?: CSSProperties - alignSelf?: Responsive<'auto' | 'normal' | 'start' | 'end' | 'center' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'stretch'> - aria-describedby?: string - aria-details?: string - aria-label?: string - aria-labelledby?: string - bottom?: Responsive - children: React.ReactNode - end?: Responsive - flex?: Responsive - flexBasis?: Responsive - flexGrow?: Responsive - flexShrink?: Responsive - gridArea?: Responsive - gridColumn?: Responsive - gridColumnEnd?: Responsive - gridColumnStart?: Responsive - gridRow?: Responsive - gridRowEnd?: Responsive - gridRowStart?: Responsive - height?: Responsive - id?: string - isHidden?: Responsive - justifySelf?: Responsive<'auto' | 'normal' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'center' | 'left' | 'right' | 'stretch'> - left?: Responsive - level?: number = 3 - margin?: Responsive - marginBottom?: Responsive - marginEnd?: Responsive - marginStart?: Responsive - marginTop?: Responsive - marginX?: Responsive - marginY?: Responsive - maxHeight?: Responsive - maxWidth?: Responsive - minHeight?: Responsive - minWidth?: Responsive - order?: Responsive - position?: Responsive<'static' | 'relative' | 'absolute' | 'fixed' | 'sticky'> - right?: Responsive - start?: Responsive - top?: Responsive - width?: Responsive - zIndex?: Responsive -} ``` #### /@react-spectrum/accordion:DisclosureTitle ```diff +DisclosureTitle { + UNSAFE_className?: string + UNSAFE_style?: CSSProperties + alignSelf?: Responsive<'auto' | 'normal' | 'start' | 'end' | 'center' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'stretch'> + aria-describedby?: string + aria-details?: string + aria-label?: string + aria-labelledby?: string + bottom?: Responsive + children: React.ReactNode + end?: Responsive + flex?: Responsive + flexBasis?: Responsive + flexGrow?: Responsive + flexShrink?: Responsive + gridArea?: Responsive + gridColumn?: Responsive + gridColumnEnd?: Responsive + gridColumnStart?: Responsive + gridRow?: Responsive + gridRowEnd?: Responsive + gridRowStart?: Responsive + height?: Responsive + id?: string + isHidden?: Responsive + justifySelf?: Responsive<'auto' | 'normal' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'center' | 'left' | 'right' | 'stretch'> + left?: Responsive + level?: number = 3 + margin?: Responsive + marginBottom?: Responsive + marginEnd?: Responsive + marginStart?: Responsive + marginTop?: Responsive + marginX?: Responsive + marginY?: Responsive + maxHeight?: Responsive + maxWidth?: Responsive + minHeight?: Responsive + minWidth?: Responsive + order?: Responsive + position?: Responsive<'static' | 'relative' | 'absolute' | 'fixed' | 'sticky'> + right?: Responsive + start?: Responsive + top?: Responsive + width?: Responsive + zIndex?: Responsive +} ``` #### /@react-spectrum/accordion:SpectrumDisclosureTitleProps ```diff +SpectrumDisclosureTitleProps { + UNSAFE_className?: string + UNSAFE_style?: CSSProperties + alignSelf?: Responsive<'auto' | 'normal' | 'start' | 'end' | 'center' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'stretch'> + aria-describedby?: string + aria-details?: string + aria-label?: string + aria-labelledby?: string + bottom?: Responsive + children: React.ReactNode + end?: Responsive + flex?: Responsive + flexBasis?: Responsive + flexGrow?: Responsive + flexShrink?: Responsive + gridArea?: Responsive + gridColumn?: Responsive + gridColumnEnd?: Responsive + gridColumnStart?: Responsive + gridRow?: Responsive + gridRowEnd?: Responsive + gridRowStart?: Responsive + height?: Responsive + id?: string + isHidden?: Responsive + justifySelf?: Responsive<'auto' | 'normal' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'center' | 'left' | 'right' | 'stretch'> + left?: Responsive + level?: number = 3 + margin?: Responsive + marginBottom?: Responsive + marginEnd?: Responsive + marginStart?: Responsive + marginTop?: Responsive + marginX?: Responsive + marginY?: Responsive + maxHeight?: Responsive + maxWidth?: Responsive + minHeight?: Responsive + minWidth?: Responsive + order?: Responsive + position?: Responsive<'static' | 'relative' | 'absolute' | 'fixed' | 'sticky'> + right?: Responsive + start?: Responsive + top?: Responsive + width?: Responsive + zIndex?: Responsive +} ``` -----------------------------------