Skip to content

Releases: unepwcmc/wcmc-components

2.2.9

10 Feb 22:14
Compare
Choose a tag to compare

2.2.9

  • Added:
    • New record button at the top of the table
    • Yalc instructions to README as an alternative to yarn link(buggy) for development
  • Fix:
    • Archive functionality
    • Archive icon style

Includes previous releases

2.2.7 / 2.2.8

  • No change - We weren't sure if yarn link was broken or the library was broken

2.2.6

  • Added:
    • Edit and archive buttons to table rows
    • Archived styling for rows that are archived
    • Configure whether edit and archive columns are shown via keys in the options prop of the FilterableTable. See README.md for more details about table props.

v2.2.5

09 Aug 10:12
Compare
Choose a tag to compare

2.2.5

  • Fix: add .node-version and .tool-version files

v2.2.4

20 Jul 09:43
Compare
Choose a tag to compare
  • Feature:
    • Allow the current page button to have a different background color from the other page buttons in the pagination component, implemented via a key in the existing options prop: pagination.pageSelectedBgColor. If this key doesn't exist, the current page button will be blue.

v2.2.3

07 Jul 16:52
Compare
Choose a tag to compare

2.2.3

  • Added:
    • Page buttons in the pagination component, implemented via a key in the existing options prop: pagination.numberOfPageButtonsToShow, which can be set to any odd number. If this key doesn't exist, the pagination will only display the arrows buttons.

v2.2.0

24 Jun 08:05
Compare
Choose a tag to compare

2.2.0

  • Feature:
    • Allow the "more content" column (the rightmost column where users can either open a modal or be redirected to a URL) to be disabled
    • Implemented via a key in the existing options prop: hideMoreContentColumn, which can be set to true to remove the column entirely
    • Provide example usage comment in Serve.vue

v2.0.2

10 Jun 08:29
Compare
Choose a tag to compare

2.0.1

  • Fix: Use getters in TableHeading and TableFilter components to properly read the state of the store

v2.0.1

31 May 09:23
Compare
Choose a tag to compare

2.0.1

  • Fix: Switch the order of merged options to ensure options entered via prop take precedence

v2.0.0

19 Apr 12:58
Compare
Choose a tag to compare

2.0.0

  • Fix: fix item.value not displayed due to legend_on not having v-else.
  • Breaking change:
    • $root.$on.openModal no longer emits tableId
    • $root.$on.openModal emits an object with { row, rowIndex, tableId, tableColumns }
    • Extract { tableId } in listeners of openModel to fix.
    • Fix vertical alignment issue when columns are changed in options.

v1.2.0

06 Apr 14:44
Compare
Choose a tag to compare
  • Feature:
    • Modify FilterableTable component so that it stores and allows control over which of the table's columns are sorted, and in which direction
    • Add the column sort to the data sent by the component to the back-end
  • Bugfix:
    • Use Vue.set in store when creating a new table to ensure reactivity
  • Formatting:
    • Enforce newline between computed properties, methods and props
    • Enforce newline between sibling elements in markdown
    • Enforce whitespace between if and ()
  • Refactoring:
    • Use mapGetters, mapState & mapActions and createNamespacedHelpers instead of this.$store.getters[]
    • Use const for mutable object assignments
    • Use v-text instead of {{}} wherever possible
    • Remove unnecessary parentheses in @ event handlers
    • Prefer === to ==
    • Further general optimisations

v1.1.0

14 Oct 14:50
251b89a
Compare
Choose a tag to compare

v1.1.0

  • new legend components
  • small style fixes
  • default config update