Releases: hypothesis/frontend-shared
v6.4.0
This release adds a new Callout component and significantly restructures pattern-library documentation for components (for clarity and consistency).
What's Changed
- Update pattern-library documentation structure for "Input" components. by @lyzadanger in #1086
- Update pattern-library documentation for "layout" components by @lyzadanger in #1087
- Update PointerButton and its documentation by @lyzadanger in #1090
- Update
TabandTabList: documentation, don't useButtonBaseby @lyzadanger in #1092 - Update
Sliderdocumentation by @lyzadanger in #1091 - Update shared-annotations sketches per PRD decisions by @lyzadanger in #1093
- Yarn v3 by @acelaya in #1113
- Consolidate shared-annotations sketches for UX discussion by @lyzadanger in #1115
- Add
Calloutpresentational component by @lyzadanger in #1116
Full Changelog: v6.3.0...v6.4.0
v6.3.0
This release adds a new OptionButton component and updates LinkButton to support the styling API. The generate-icons script has been updated to take input and output directory arguments.
Added
- Add new
OptionButtoncomponent by @lyzadanger in #1065
Changed
- Update
LinkButtonto use styling API; align withLinkby @lyzadanger in #1055 - Add optional input and output directory arguments to
scripts/generate-icons.jsby @robertknight in #1064
Full Changelog: v6.2.0...v6.3.0
v6.2.0
This release extends Button and Link with styling API props and deprecates associated ButtonBase and LinkBase components. The pattern library receives a light design refresh. Small updates to other components.
Added
- UI Sketch "Tennis" with some possible options for buttons in the LMS content-picking interface by @lyzadanger in #1003
- Add
objectFitprop toThumbnailand update documentation by @lyzadanger in #1032
Changed
- Simplify dev server by @acelaya in #1026
- Pattern library: Adjust margins, add
Info,InfoItemcomponents by @lyzadanger in #1029 - Update
AspectRatiodocumentation structure by @lyzadanger in #1031 - Extend
Linkwith Styling API, update documentation by @lyzadanger in #1028 - Remove redundant headings on single-component documentation pages by @lyzadanger in #1033
- Update the structure of component documentation for data, feedback components by @lyzadanger in #1047
- Make Button components implement Styling API, deprecate
ButtonBaseby @lyzadanger in #1048
Fixed
- Make sure Dialogs do not render close button when onClose callback is not provided by @acelaya in #1045
Full Changelog: v6.1.1...v6.2.0
v6.1.1
v6.1.0
Added
- Add prototype section and page for re-use annotations features by @lyzadanger in #977
- Add
TransitionComponents support by @acelaya in #996, #992 and #1002 - Create Slider
TransitionComponent(brough fromclient) by @acelaya in #975 - Add
secondaryvariant toCardTitleandCardHeaderby @lyzadanger in #1001
Fixed
- Fix some deficiencies in pattern-library layout by @lyzadanger in #976
Changed
- Use "getting started" page as home page for pattern library by @lyzadanger in #978
- Use
wouterfor pattern library routing by @lyzadanger in #969
Removed
- Remove the
lib/nextentry point by @lyzadanger in #994
Full Changelog: v6.0.0...v6.1.0
v6.0.0
This major release removes all legacy components, supporting assets, and documentation.
Use the package entry point instead of lib/next for all imports: the next entry point will be removed in an upcoming minor release.
Breaking
- Version 6: Remove legacy assets, eliminate
Nextnaming by @lyzadanger in #968
Full Changelog: v5.14.0...v6.0.0
v5.14.0
This release adds a new ModalDialog component, and expands Dialog to accept a TransitionComponent as one of its props. Modal is deprecated in favor of ModalDialog.
Added
- Enhance Dialog so that it allows providing a TransitionComponent by @acelaya in #957
- Make
ModalDialogavailable in package API by @lyzadanger in #960
Deprecated
Modalis deprecated (useModalDialoginstead)
Full Changelog: v5.13.0...v5.14.0
v5.13.0
This release adds a Dialog component and several new event-related hooks to the package. The useElementShouldClose hook is now available in the next entrypoint, but is deprecated in favor of the new, more granular event hooks. Types for all component props are now exported. Pattern library documentation updated.
Added
- Export props types for all components by @lyzadanger in #899
- Ensure
useElementShouldClosehook is available innextentrypoint by @lyzadanger in #902 - Add granular event hooks... by @lyzadanger in #911
- Establish new
Dialogcomponent and assets by @lyzadanger in #906 - Consolidate
*Dialogprops and documentation; exportDialogby @lyzadanger in #941
Changed
- Remove "Status" sections, migration guides from component pattern-library pages by @lyzadanger in #890
Deprecated
- Deprecate
useElementShouldClose, export granular event hooks by @lyzadanger in #914
Fixed
- Allow override of
data*-componentattributes by @lyzadanger in #870 - Update
CardandInputGrouppattern library documentation by @lyzadanger in #873
Full Changelog: v5.11.1...v5.13.0
v5.12.0
This is primarily a housekeeping release that also fixes some small bugs and inconsistencies. Types for props accepted by all non-legacy components are now exported from the next entrypoint.
Added
- Export props types for all components by @lyzadanger in #899
Fixed
- Allow override of
data*-componentattributes by @lyzadanger in #870
Changed
Tailwind since v3.2 provides aria- variants: this package's custom support is removed but the feature remains. All known components have been migrated to the non-legacy variants, so migration instructions have been removed from the pattern library.
- Remove custom
aria-Tailwind variants by @lyzadanger in #871 - Update
CardandInputGrouppattern library documentation by @lyzadanger in #873 - Remove "Status" sections, migration guides from component pattern-library pages by @lyzadanger in #890
- Ensure
useElementShouldClosehook is available innextentrypoint by @lyzadanger in #902
Full Changelog: v5.11.1...v5.12.0
v5.11.1
This release fixes an issue in which there was too much padding at the bottom of Panel components that did not contain buttons.
Fixed
- Panel: Do not render container for buttons if there are no buttons by @lyzadanger in #866
Full Changelog: v5.11.0...v5.11.1