Skip to content

Releases: fedspendingtransparency/data-transparency-ui

Accessibility Update

02 Oct 18:35
2adff4c
Compare
Choose a tag to compare

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!

22 Sep 17:39
efe3801
Compare
Choose a tag to compare

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

31 Jul 17:43
4d7ab56
Compare
Choose a tag to compare

Bug-fix Release | v1.1.6

Upgrade Steps

  • npm i fedspendingtransparency/data-transparency-ui#v1.1.6

Bug Fixes

  • Picker component: Replaces createRef with useRef. 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

29 Jul 16:05
ff2af92
Compare
Choose a tag to compare
## 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

09 Jul 15:40
df5f442
Compare
Choose a tag to compare

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 selections
  • showPeriods 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

15 Jun 19:52
9c98086
Compare
Choose a tag to compare
## 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

02 Jun 13:27
8783e99
Compare
Choose a tag to compare

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

04 May 14:21
5155e68
Compare
Choose a tag to compare

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

01 May 17:02
2977799
Compare
Choose a tag to compare

Minor Release | v1.1.0

Upgrade Steps

  • npm i fedspendingtransparency/data-transparency-ui#v1.1.0

Breaking Changes

  • TooltipWrapper component prop changes:
    Prop left, which was a boolean, now changed to an enum under the keyspace tooltipPosition; 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 and onMouseLeaveTooltip 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 the style prop.

Other Changes

  • None

Updates to Picker Component; Adds value property to options array items

15 Apr 16:24
342ec6a
Compare
Choose a tag to compare

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 invoke options.value in the onClick handler.