github SAP/fundamental-ngx v0.42.0

latest releases: v0.52.2-rc.40, v0.52.2-rc.39, v0.52.2-rc.38...
15 months ago

Bug Fixes

  • cdk: if row is not focusable, focus first cell (#10032) (58c9687)
  • core,cdk: better fix for 9682 (#9888) (a56ba6f)
  • core: add label for multi input (#9972) (199c5dd)
  • core: added blocking of the document scroll when dialog is open (#9948) (4f8093f)
  • core: bug where token would not be removed from mobile mode (#10056) (871d69b)
  • core: escape key when using focusable grid closes dialog (#9962) (3508177)
  • core: fixed popover arrow placement (#9946) (b7d5cb6)
  • core: hardcode table css prop (#9918) (dd31f21)
  • core: inline help hidden element for screenreaders (#9822) (dad5d7f)
  • core: list accessibility updates (#9883) (8c57d08)
  • core: localize combobox addon button (#10033) (53846da)
  • core: multi input, various fixes and doc updates (#9961) (6faa0bc)
  • core: new checkbox hidden element for a11y (#10038) (779c92b)
  • core: select focus on page load bug (#9969) (38da804)
  • core: select should have listbox role (#9986) (3bb5ab0)
  • core: selecting only date and not time and pressing OK does not set date (#10053) (0256e9d)
  • core: template based inline help was not setting screenreader element (#9985) (e041216)
  • core: tokenizer bug when removing tokens (#10054) (23e6c5f)
  • core: update 72 Bold font name (#9971) (26fb2f6)
  • docs: remove display none spans from inline help docs (#10005) (f307937)
  • docs: sidebar container css bug (#10006) (8a635a6)
  • platform: add rowheader role input option (#9956) (e1cddff)
  • platform: add Tooltip header update (#9947) (c989f73)
  • platform: bug where combobox selection event fires twice (#9895) (01875af)
  • platform: do not use fdkClicked (#9987) (a5621ad)
  • platform: do not set aria-expanded for table cells that do not expand (#10007) (030954c)
  • platform: remove live announcer from platform table (#9885) (63f4777)

Features

BREAKING CHANGES

  • platform: Components that rely on HasElementRef interface:
  • HasElementRef interface has been changed. Now instead of elementRef() method, components should have elementRef: ElementRef property. This can include getters too;

Core table:

  • TableCellDirective now directly extends from FocusableItemDirective. Previously it had FocusableItemDirective as a host directive applied to itself;

Platform table:

  • All directives, services, models, data source classes are moved from @fundamental-ngx/platform/table into a separate package @fundamental-ngx/platform/table-helpers. To keep backwards compatibility, @fundamental-ngx/platform/table re-exports @fundamental-ngx/platform/table-helpers so that the import paths are the same as before;
  • Platform table directives are standalone now;
  • Platform table data-source related functionality has been moved to TableDataSourceDirective standalone directive. Input properties are preserved;
  • Platform table drag&drop related functionality has been moved to TableDraggableDirective standalone directive. Input properties are preserved;
  • Platform table initial state related functionality has been moved to TableInitialStateDirective standalone directive. Input properties are preserved;
  • Platform table virtual scroll related functionality has been moved to TableVirtualScrollDirective standalone directive. Input properties are preserved;
  • Platform table data source has been refactored to utilize @fundamental-ngx/cdk/data-source implementation. Backwards compatibility is preserved for classes that extend from data-source/data-provider. More complex classes may need to be refactored according to new class signature;
  • Platform table now uses TableRowImpl class as implementation of TableRow interface instead of simple object;
  • Helper methods from TableComponent has been moved to a standalone functions;
  • SearchInput type is now not re-exported from @fundamental-ngx/platform/table. Instead use @fundamental-ngx/platform/search-field;
  • Table component html is now split between logical parts: table, table header rows, table content rows. Resulting markup is not changed, but the business logic parts are being moved to appropriate components;
  • Platform table rows now try to reuse the html element they bounded to. This means that if developers use reference to elementRef of the row, and rows array changes, they need to manually recalculate the reference to the element;
  • Platform table group row: text pattern changed from {{ column.name }} : {{ column.value }} to {{ column.name }}: {{ column.value }}. Space before colon has been removed;
  • Platform table input properties recalculation now more efficient. Previously we checked property value on every mousemove, now, only when something inside the table itself is changed. This may require additional detectChanges calls from developers who are using Platform Table.
  • Such input properties has been removed from platform table class:
    • dataSource - setter available via fdp-table[dataSource] but class property now accessible from _dataSourceDirective property of Table component;
    • state, initialVisibleColumns, initialSortBy, initialFilterBy, initialGroupBy, initialPage setters available via fdp-table[property] but the class property now accessible from initialState property of Table component;
    • isTreeTable, enableRowReordering, dropMode setters available via fdp-table[property] but the class property now accessible via _dndTableDirective property of Table component;
    • virtualScroll, renderAhead setter available via fdp-table[virtualScroll], but the class property now accessible via _virtualScrollDirective property of Table component;
  • Such events has been removed from Platform Table class:
    • rowsRearrange - listener still available via fdp-table(rowsRearrange), but actual eventEmitter is now located in _dndTableDirective property of Table component;
    • onDataRequested, onDataReceived - listeners still available via fdp-table(event), but actual eventEmitters are now located in _dataSourceDirective property of Table component;
  • Private API changed. For more information refer to this PR
  • cdk,platform: Moved async-strategy from @fundamental-ngx/platform/shared to @fundamental-ngx/cdk/utils;

Don't miss a new fundamental-ngx release

NewReleases is sending notifications on new releases.