Releases: hypothesis/frontend-shared
v6.9.0
v6.8.2
v6.8.1
Fixed
- Export
ToastMessages
component and relevant types from main entry point by @acelaya in #1287 - Improve
SelectNext
props API by @acelaya in #1288 - Improve
SelectNext
arrow key navigation by @acelaya in #1290 - Fix
SelectNext
focus inconsistencies when mixing mouse and keyboard interaction by @acelaya in #1292
Full Changelog: v6.8.0...v6.8.1
v6.8.0
Added
- Create
SelectNext
component replacing Select by @acelaya in #1247 - Allow
[type=number]
and[type=password]
onInput
component by @acelaya in #1248 - Add arrow key navigation
loop
option by @acelaya in #1268 - Make Dialog API more strict depending on
variant
by @acelaya in #1256 - Add reusable
ToastMessages
component by @acelaya in #1272
Full Changelog: v6.7.0...v6.8.0
v6.7.0
v6.6.0
This release adds a new Textarea
component, and the feedback
prop to Input
, Select
and also Textarea
, deprecating hasError
prop.
Added
- Add feedback prop to input to support dynamic styling by @acelaya in #1196
- Add feedback prop to Select to get it up to speed with Input by @acelaya in #1205
- Add Textarea component by @acelaya in #1204
Deprecated
- Deprecate
hasError
inSelect
andInput
. Get the same behavior by providingfeedback="error"
. By @acelaya
Full Changelog: v6.5.0...v6.6.0
v6.5.0
This release adds a new CloseButton
component and extends Dialog
to be able to accommodate custom layouts. It also changes uses of tailwind utility class rounded-sm
to rounded
for elements that should have a default border-radius. It adds a pattern-library prototype page for UI for the import/export project.
Changed
- (Potentially breaking) This package’s
tailwind.preset
now definestheme.extend.borderRadius.DEFAULT
value that is equivalent to Tailwind’s defaultrounded-sm
and uses this when the styling intention is for a “default” border-radius size. Local presets have already been updated inclient
,via
andlms
, so no action should be necessary in those projects. by @lyzadanger in #1143 - Update
Dialog
and allies for import/export UI needs by @lyzadanger in #1162
Added
- Add
tab
variant toTab
and support styling API by @lyzadanger in #1155 - Establish import/export UI working area and prototype by @lyzadanger in #1156; Refine tabbed-dialog prototype and define component composition by @lyzadanger in #1160
Fixed
- Fix slider transition event by @acelaya in #1157
- Ensure
CloseButton
always rendered 16px square in panel/dialog headers by @lyzadanger in #1169
Full Changelog: v6.4.0...v6.5.0
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
Tab
andTabList
: documentation, don't useButtonBase
by @lyzadanger in #1092 - Update
Slider
documentation 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
Callout
presentational 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
OptionButton
component by @lyzadanger in #1065
Changed
- Update
LinkButton
to use styling API; align withLink
by @lyzadanger in #1055 - Add optional input and output directory arguments to
scripts/generate-icons.js
by @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
objectFit
prop toThumbnail
and update documentation by @lyzadanger in #1032
Changed
- Simplify dev server by @acelaya in #1026
- Pattern library: Adjust margins, add
Info
,InfoItem
components by @lyzadanger in #1029 - Update
AspectRatio
documentation structure by @lyzadanger in #1031 - Extend
Link
with 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
ButtonBase
by @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