Releases: hypothesis/frontend-shared
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
Next
naming 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
ModalDialog
available in package API by @lyzadanger in #960
Deprecated
Modal
is deprecated (useModalDialog
instead)
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
useElementShouldClose
hook is available innext
entrypoint by @lyzadanger in #902 - Add granular event hooks... by @lyzadanger in #911
- Establish new
Dialog
component and assets by @lyzadanger in #906 - Consolidate
*Dialog
props and documentation; exportDialog
by @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*-component
attributes by @lyzadanger in #870 - Update
Card
andInputGroup
pattern 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*-component
attributes 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
Card
andInputGroup
pattern library documentation by @lyzadanger in #873 - Remove "Status" sections, migration guides from component pattern-library pages by @lyzadanger in #890
- Ensure
useElementShouldClose
hook is available innext
entrypoint 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
v5.11.0
This release adds support for better scrolling control in Panel
and Modal
,
and ensures that DataTable
s with sparse row data lay out correctly. It also
adds a new TableFoot
presentational component, part of the family of Table*
components.
Added
- Add new
TableFoot
component b53a578 - Add flexibility for scrolling partial content in
Panel
andModal
by @lyzadanger in #855
Fixed
- Handle layout of tables with sparse row data by @lyzadanger in #859
Full Changelog: v5.10.0...v5.11.0
v5.10.0
This release adds several layout affordances for Modal
, Panel
and CardHeader
. As a result, all Modal
headers will span the full width of their Panel
(border will reach to the edge of the Panel
now). Additional props are documented in the pattern library.
What's Changed
- Provide more flexibility with headers and padding of Panels by @lyzadanger in #852
Full Changelog: v5.9.1...v5.10.0
v5.9.1
This release adds a default type="button"
attribute to all button components (it can be overridden) and removes height styling from the recently-added Select
component.
Changed
- Remove explicit height from
Select
component by @lyzadanger in #841 - Add default
type="button"
to all button components by @lyzadanger in #843
Full Changelog: v5.9.0...v5.9.1
v5.9.0
This release adds a new Select
component.
Added
- Add new
Select
component by @lyzadanger in #828
Full Changelog: v5.8.0...v5.9.0
v5.8.0
This release adds several new components: Modal
, Tab
and TabList
. It adds a focus-visible ring to Checkbox
and simplifies some typing in the pattern-library's entry point.
Added
- Add updated
Modal
component and documentation by @lyzadanger in #826 - Add
Tab
andTabList
components by @lyzadanger in #813
Fixed
- Ensure Checkbox has a visible ring on
focus-visible
by @lyzadanger in #818
Changed
- Deprecate FullScreenSpinner by @lyzadanger in #807
- Improve
PlaygroundRoute
, add flexibility for custom routes by @lyzadanger in #808 - Make Panel content scroll if Panel height exceeds that set on parent element by @lyzadanger in #822
New Contributors
Full Changelog: v5.7.0...v5.8.0