@sqrzro/ui 4.0.0-alpha.43 → 4.0.0-alpha.45
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.
|
@@ -32,6 +32,7 @@ async function CollectionComponent({ data, defaultFilters, emptyMessageProps, fi
|
|
|
32
32
|
const componentEmptyMessageProps = checkHasFilters(awaitedSearchParams)
|
|
33
33
|
? {
|
|
34
34
|
children: messages.EMPTY_FILTER_DESCRIPTION,
|
|
35
|
+
icon: emptyMessageProps?.icon ?? null,
|
|
35
36
|
title: messages.EMPTY_FILTER_TITLE,
|
|
36
37
|
}
|
|
37
38
|
: emptyMessageProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export const messages = {
|
|
2
|
-
EMPTY_FILTER_DESCRIPTION: 'Try adjusting the filters above.
|
|
2
|
+
EMPTY_FILTER_DESCRIPTION: 'Try adjusting the filters above.',
|
|
3
3
|
EMPTY_FILTER_TITLE: 'No results match the current filters',
|
|
4
4
|
};
|
|
@@ -7,6 +7,8 @@ export type { ButtonProps } from './buttons/Button';
|
|
|
7
7
|
export { default as Button } from './buttons/Button';
|
|
8
8
|
export type { DataTableProps } from './collections/DataTable';
|
|
9
9
|
export { default as DataTable } from './collections/DataTable';
|
|
10
|
+
export type { EmptyMessageProps } from './collections/EmptyMessage';
|
|
11
|
+
export { default as EmptyMessage } from './collections/EmptyMessage';
|
|
10
12
|
export type { ListProps } from './collections/List';
|
|
11
13
|
export { default as List } from './collections/List';
|
|
12
14
|
export type { TableProps } from './collections/Table';
|
package/dist/components/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export { default as ActionButton } from './buttons/ActionButton';
|
|
|
3
3
|
export { default as AppBody } from './utility/AppBody';
|
|
4
4
|
export { default as Button } from './buttons/Button';
|
|
5
5
|
export { default as DataTable } from './collections/DataTable';
|
|
6
|
+
export { default as EmptyMessage } from './collections/EmptyMessage';
|
|
6
7
|
export { default as List } from './collections/List';
|
|
7
8
|
export { default as Table } from './collections/Table';
|
|
8
9
|
export { default as Badge } from './elements/Badge';
|