Skip to content

v5.0.0

Compare
Choose a tag to compare
@lucafoscili lucafoscili released this 28 Mar 09:42
· 3955 commits to master since this release
de019ad

New components

  • kup-echart (restored from previous releases)

New managers

  • KupData

New features

  • FCell: handled new event kup-cell-iconclick for autocomplete, combobox, textfield.
  • kup-autocomplete: added new prop inputDelay to set a timer to the emission of the input event.
  • kup-autocomplete: new prop allowInconsitentValues lets the change event fire even if the input content isn't included in the autocomplete list.
  • kup-card: added 3rd built-in layout, column drop menu.
  • kup-card: added 4th built-in layout, a color picker.
  • kup-chip: now it can be displayed as a tree.
  • kup-data-table: upgraded drop menu formulas by adding chips.
  • kup-data-table: new events emitted kup-datatable-columnmove and kup-datatable-columnremove.
  • kup-magic-box: added Chip, Button List and Tree.
  • kup-magic-box: basic editability for JSON view.
  • kup-tree: new event emitted kup-tree-columnremove event.
  • KupColumnMenu: displayed field to input formulas for number columns.
  • KupDates: new add method to handle additions.
  • KupTheme: managed alternate color format R000G000B000;

Minor changes

  • FTextField: removed tabindexes from icons.
  • FTextField: new CSS variable --kup-textfield-font-weight.
  • kup-accordion: removed overflow hidden from content.
  • kup-autocomplete: added inputValue in all events; added opened flag in iconClick event incating the visibility state of the list.
  • kup-card: softened box shadow for layouts 12/14.
  • kup-chip: default margin "4px" instead of "0 4px".
  • kup-combobox: added inputValue in all events; added opened flag in iconClick event incating the visibility state of the list.
  • kup-grid: removed responsiveness when columns is different than 12.

Refactoring

  • Interfaces: heavily revisited dataset-related interfaces' names with the birth of KupData.
  • FComponents: restored SASS, which is now precompiled separately.
  • kup-calendar: now the columns' categories must be included in the Column interface, instead of specifying a prop for each.
  • kup-chip: heaviliy revisited to allow displaying it as a tree.
  • kup-color-picker: removed Vanilla Picker from the component, added card built-in 4 as dropdown which manages it.
  • kup-list: removed method resetFilter().

Bug fixes

  • FCell: bar cells had width 0.
  • FCell: added missing class kup-full-width on color picker.
  • FCell: font related CSS classes have the desired effect even on text fields.
  • FCell: color picker has full width even when non-editable.
  • FTextField: disabled colors in Safari were wrong.
  • kup-calendar: missing data caused JS error.
  • kup-calendar: changing the data prop didn't correctly update the calendar's data.
  • kup-calendar: event custom style was applied only to the event itself and not on icons and images wrappers.
  • kup-combobox: displayed all the items withour filtering the list, even when a value is selected.
  • kup-combobox: value wasn't set when not matched in the list (behavior that should belong to autocomplete).
  • kup-data-table: rating shape on update was setting the cell value to a number, should have been a string.
  • kup-list: removed padding when the list is empty.
  • KupColumnMenu: now closes after removing a column.
  • KupDebug: widget events used "this", but it was out of scope.
  • KupManager: click callback on pointer events didn't work in presence of nested dynamically positioned elements using absolute positioning.