Skip to content

v1.0.12

Compare
Choose a tag to compare
@delbono-smeup delbono-smeup released this 24 Jun 08:32
· 5379 commits to master since this release
d4b1154

New components

  • kup-fab: floating action button component (still a working in progress, experimental).

New features

  • kup-card: dialog layout 5, standard layout 14.
  • kup-card: text elements can be set as links by using KupCardCSSClasses.CLICKABLE_LINK class.
  • kup-data-table: groups can be created by dragging columns' headers.
  • kup-data-table: when a column is key, an icon will be displayed.
  • kup-data-table, kup-tree: kupDataTableColumnMenu event to listen to menu opening/closing.
  • kup-data-table, kup-tree: openColumnMenu(column: string) and closeColumnMenu() public methods to programmatically interact with colum menu.
  • KupColumnMenu: revamped column menu with a new layout.
  • KupObjects: module to handle objects or declare functions (still a working in progress, experimental).
  • KupThemes: key icon.
  • smeup_italian: language in KupLanguage.

Refactoring

  • kup-btn: code cleaned with improved features.
  • kup-card: used constants for recurring and programmatically used CSS classes/IDs.
  • kup-card: stopPropagation() for listened sub component events.
  • kup-card, kup-chip: removed "Empty data" warning log.
  • kup-data-table: removed column's tooltip (SHIFT + CLICK on a column's header).
  • KupDynamicPositon: now it can be executed only once (the element is not anchored to its anchor point, it just spawns there).
  • KupDynamicPositon: element can be positioned to specific coordinates.
  • KupDynamicPositon: position placement can be chosen between automatic, top left, top, top right, right, bottom right, bottom, bottom left, left.
  • KupManager: modules initialized through their respective contructor().

Bug fixes

  • kup-data-table: row detail's card now appended to the component instead of document's body.
  • kup-data-table: group totals didn't account for multi-selection checkboxes and row actions cells.
  • kup-data-table: globalFilter applied only when a match is inside a visible column.
  • kup-data-table, kup-tree: total item selected now displayed correctly.
  • kup-data-table, kup-tree: tooltip now correctly hidden on blur().
  • kup-gauge: minValue and maxValue were overwritten even when 0 (should happen only when null/undefined)..
  • kup-tab-bar: prevented JS error when data length was 0.
  • kup-tab-bar: click event return value of the clicked tab.
  • kup-tooltip: fixes to 4th layout.
  • kup-tree: missing internationalization for "Empty data" message.
  • kup-tree: filtersColumnMenuInstance caused JS error because it was used before its definition.
  • kup-tree: filtersTreeItemsInstance caused JS error because it was sporadically undefined.
  • KupColumnMenu: fixed checkbox selection using localCompareAsInJava().
  • KupColumnMenu: fixed textual filter saving.