Releases: fedspendingtransparency/data-transparency-ui
Releases · fedspendingtransparency/data-transparency-ui
Accessibility Update
Bug-fix Release | v1.1.8
Upgrade Steps
- npm install new version
Bug Fixes
- Arial Label for Tooltip, Picker, and Expandable Row Buttons.
Tooltip Updates | Hovering on Tooltip doesn't close it!
Bug-fix Release | v1.1.7
Upgrade Steps
- npm install new version
Breaking Changes
- Tooltip styles may need to be updated. Specifically w/ the
.tooltip pointer
class. USAspending simply updated the top/left/right values by about 5-10px. Small LOE to fix that! Also, we are now showing the tooltip on mobile by default so if you don't want that, you'll need to hide the tooltip yourself.
New Features
- Tooltip shows on mobile and goes to
bottom
position while hiding the arrow - Hovering over the tooltip doesn't close it
Bug Fixes
- Hovering on the tooltip doesn't close it. This is kind of a feature, but more of a bug because all tooltips have this behavior.
Improvements
- See above
Other Changes
v1.1.6
Bug-fix Release | v1.1.6
Upgrade Steps
npm i fedspendingtransparency/data-transparency-ui#v1.1.6
Bug Fixes
- Picker component: Replaces
createRef
withuseRef
. This fixes a bug related to the inaccurate width value of a ref inside a functional component.useRef
should be used when a functional component is being used.
v1.1.5
## Bug-fix Release | v1.1.5
# Upgrade Steps
- `npm i fedspendingtransparency/data-transparency-ui#v1.1.5`
# Bug Fixes
- Cancels default event for the onClick event in the QuarterPicker component, which was causing unintentional page reloads
# Improvements
- Updates the limit picker label in the Pagination component to match UI mockups
v1.1.4
Major/Minor/Bug-fix Release | v_..
Upgrade Steps
npm i fedspendingtransparency/data-transparency-ui#v1.1.4
Breaking Changes
QuarterPicker changes
disabledQuarters
changed from array of booleans to array of strings.pickedQuarter
renamed to handleSelection
Bug Fixes
Table Component Bug
- Prevents an error on the COVID-19 profile when switching between tabs with tables of a different number of columns
Improvements
Table
- Updates display of long label text for expandable row so that it doesn't wrap under caret
- Ensures unique keys for mapped elements
- Allows table headings to be JSX elements
- Right-align table headings of columns designated with prop
right: true
QuarterPicker
isCumulative
prop allows for cumulative selectionsshowPeriods
allows for display and selection of periods within quarter
Pagination:
- Updates the Pagination limit selector component to add a "Rows Per Page:" label
Release 1.1.3
## Minor Release | v1.1.3
# Improvements
- Makes sorting in `Table` component column headers an optional feature
- Also makes the subheading / divider row above expandable child rows optional
Release 1.1.2
Upgrade Steps
npm i fedspendingtransparency/data-transparency-ui#v1.1.2
Table Component added to DT-UI
Breaking Changes
- We are now distributing compiled JS for the consumer. If you had special webpack rules that compiled ES6 to consume this library, this is now unnecessary (Broker, USAS)
New Features
- Added a
Table
component, with a variation that allows expandable "child" rows
Bug Fixes
- Accessibility improvements to the
Pagination
component
Improvements
- Added support for type definitions
Integration Status
PR Removing Webpack Config to Compile JS
PR Integrating USAS w/ this new feature
Release 1.1.1
Upgrade Steps
npm i fedspendingtransparency/data-transparency-ui#v1.1.1
Breaking Changes
- N/A
New Features
- N/A
Bug Fixes
- A bug when referencing the tooltip container reference.
Improvements
- N/A
Other Changes
- N/A
Release 1.1.0
Minor Release | v1.1.0
Upgrade Steps
npm i fedspendingtransparency/data-transparency-ui#v1.1.0
Breaking Changes
- TooltipWrapper component prop changes:
Propleft
, which was a boolean, now changed to an enum under the keyspacetooltipPosition
; defaulting to"right"
, also accepting"left"
and"bottom"
.
New Features
- Tooltip Component: allows for arrow position of bottom
- Tooltip Component: now has new event handlers,
onMouseMoveTooltip
andonMouseLeaveTooltip
which allows for greater versatility
Bug Fixes
- Pagination and Picker Components: removes warning/error logs from the console relating to unique keys for components.
- Tooltip Component: Adds throttling to onScroll event handlers resolving bugs related to more complex invocations where the tooltip is used in contexts with absolutely positioned elements.
Improvements
- Tooltip Component: allows for greater versatility to override
offsetAdjustment
prop when using the transform property in thestyle
prop.
Other Changes
- None
Updates to Picker Component; Adds value property to options array items
Release v1.0.1
Below are all the changes included in the next version of the library:
Upgrade Steps
npm i fedspendingtransparency/data-transparency-ui#v1.0.1
Breaking Changes
None.
New Features
- Upgrades Picker component; prop options now accepts items with the property
value
Bug Fixes
- N/A
Improvements
- Allows for Picker component to be more easily invoked such that it will display one thing in the UI:
options.name
but invokeoptions.value
in theonClick
handler.