Releases: unepwcmc/wcmc-components
Releases · unepwcmc/wcmc-components
2.2.9
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
2.2.5
- Fix: add .node-version and .tool-version files
v2.2.4
- 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.
- 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
v2.2.3
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.
- Page buttons in the pagination component, implemented via a key in the existing
v2.2.0
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
2.0.1
- Fix: Use getters in TableHeading and TableFilter components to properly read the state of the store
v2.0.1
v2.0.0
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
- 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
andcreateNamespacedHelpers
instead ofthis.$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
- Use
v1.1.0
v1.1.0
- new legend components
- small style fixes
- default config update