Skip to content

Releases: nulogy/design-system

v0.15.1

11 Nov 16:59
Compare
Choose a tag to compare

Added

  • Added full-table width heading support in the in the Table
  • Added an option to customize cells per row to acheive custom styles for headings in Table
  • Added onBlur to Select
  • Added an example of sorting to Table along with a SortingHeader component which can be used when is sorted by column

Changed

  • Removed all paddings including horizontal padding on TableCell when using a cellRenderer in Table Table

  • Added ability to add preffix and suffix to the Input component

  • Height on select changed to min-height to support multiple rows of selections (#441)

v0.15.0

06 Nov 16:46
Compare
Choose a tag to compare

Added

  • Added an option to add a footer to the Table Table component
  • Added an example of implementing filters with the Table Table component

Changed

  • Changed spacing in Modal Modal component
  • Table
    • [Breaking Change] cellFormatter and cellRenderer APIs have been updated so arguments are within an object
      • Before: cellFormatter: (cellData, column, row) => {}
      • Now: cellFormatter: ({cellData, column, row}) => {}
    • cellFormatter can now return a react component or a string instead of being limited to strings

Fixed

  • Storybook actions addon should be in devDependencies (#432)
  • Multiselect encountered a undefined .map error when clearing all options because the check before mapping was checking strictly for the value undefined and not null (#433)

v0.14.1

21 Oct 19:38
Compare
Choose a tag to compare

Changed

Library now only includes dist files, instead of the entire design system source

v0.14.0

21 Oct 15:42
Compare
Choose a tag to compare

Added

Changed

  • HelpText can now accept a React node to be able to pass in links
  • Table
    • [Breaking Change] cellFormatter's API has been updated
      • Before: cellFormatter({rowData, dataKey})
      • Now: cellFormatter(cellData)
        • [Breaking Change] cellRenderer's API has been updated
      • Before: cellRenderer({rowData, dataKey})
      • Now: cellRenderer(cellData, columnOptions, rowData)
    • [Behaviour Change] Table headers are no longer fixed
    • [Behaviour Change] Table columns are no longer equal widths by default
      • They now behave exactly the same as HTML columns. Auto-determined by the content of the cells.

v0.13.2

27 Sep 19:16
Compare
Choose a tag to compare

Security

  • Fixes #388
  • Also updates a bunch of dependencies to address yarn audit issues

v0.13.1

25 Sep 19:10
Compare
Choose a tag to compare

Added

  • Added 12px font size to theme
  • Added a Table
    • Currently in-development
      • Read-only so far

Fixed

  • Select's onChange now returns an array of the values of the selected options.
    • Before, it used to return undefined. :(
    • Now, if the options are [{label: "A", value: "a"}, {label: "B", value: "b"}], and you select both, onChange will return ["a", "b"]

v0.13.0

19 Sep 13:45
Compare
Choose a tag to compare

Added

Changed

  • Changed label styles from 16px Regular to 14px Bold

  • [Breaking Change] Changed API for using Button as a link

    • old:
    <Button as="a">Click</Button>
    • new:
    <Button asLink>Click</Button>

v0.12.0

26 Aug 16:09
Compare
Choose a tag to compare

Added

Changed

  • Select updates
    • Now uses React-Select instead of Downshift
    • [Breaking Change] When submitting a form, Select's value is submitted instead of label
    • Default maxHeight changed to 246px to provide better scrolling affordance and ScrollIndicators removed
    • Added autocomplete by default
    • Added optional multiselect support

v0.11.0

06 Aug 19:25
Compare
Choose a tag to compare

Added

  • Added Modal component
  • Added new icons to the Icon component: accessTime, block, checkCircleOutline, errorFilled, getApp, publish, removeCircleOutline
  • Added Accessibility tab to storybook

Changed

  • [Breaking Change] Changed NavBar component behavior so that nested menus will open on hover
  • Reduced NavBar submenu font-size to 14px
  • Changed how focused DropDownMenu items look
  • Update focus styles on Links to use the browser's default outline

Fixed

  • Button now uses the proper border colour (blue)
  • IconicButton now uses the aria-label attribute instead of the label attribute
  • NavBar bug fixes
    • Changes focus styling on Navbar submenu trigger to indicate when the submenu is open

v0.10.2

15 Jul 17:39
Compare
Choose a tag to compare

Added