@neovici/cosmoz-omnitable 13.14.1 → 13.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,6 +60,7 @@ export const useOmnitable = (host) => {
60
60
  filters,
61
61
  setFilterState,
62
62
  selectedItems,
63
+ isMini,
63
64
  ...sortAndGroupOptions,
64
65
  });
65
66
 
@@ -87,20 +87,21 @@ export const usePublicInterface = ({ host, visibleData, filters, ...api }) => {
87
87
  useNotifyProperty('visibleData', visibleData);
88
88
  useNotifyProperty(
89
89
  'sortedFilteredGroupedItems',
90
- api.sortedFilteredGroupedItems
90
+ api.sortedFilteredGroupedItems,
91
91
  );
92
92
  useNotifyProperty('selectedItems', api.selectedItems);
93
93
  useNotifyProperty('sortOn', api.sortOn);
94
94
  useNotifyProperty('descending', api.descending);
95
+ useNotifyProperty('isMini', api.isMini);
95
96
 
96
97
  const filterValues = useMemo(
97
98
  () =>
98
99
  Object.fromEntries(
99
100
  Object.entries(filters)
100
101
  .filter(([, { filter }]) => filter !== undefined)
101
- .map(([key, { filter }]) => [key, filter])
102
+ .map(([key, { filter }]) => [key, filter]),
102
103
  ),
103
- [filters]
104
+ [filters],
104
105
  );
105
106
 
106
107
  useNotifyProperty('filters', filterValues, Object.values(filterValues));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-omnitable",
3
- "version": "13.14.1",
3
+ "version": "13.14.2",
4
4
  "description": "[![Build Status](https://travis-ci.org/Neovici/cosmoz-omnitable.svg?branch=master)](https://travis-ci.org/Neovici/cosmoz-omnitable)",
5
5
  "keywords": [
6
6
  "web-components"