@livetiles/reach-components-react 0.3.109 → 0.3.113

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.
@@ -9,10 +9,10 @@ interface LibraryProps<TItem extends PublishableItem = PublishableItem> {
9
9
  initialGroupId?: string;
10
10
  hidePagination?: boolean;
11
11
  emptyMessageResources: string[];
12
- emptyListIcon: string;
12
+ emptyListSvg: ReactNode;
13
13
  additionalFilterComponents?: ReactNode;
14
14
  additionalFilters?: PublishableItemFilterDefinition;
15
15
  className?: string;
16
16
  }
17
- export declare const PublishableItemEditorDashboard: <TItem extends PublishableItem>({ initialGroupId, itemResourceType, onItemClick, onRenderContent, pageSize, hidePagination, emptyMessageResources, emptyListIcon, additionalFilterComponents, additionalFilters: incomingFilters, className, }: LibraryProps<TItem>) => JSX.Element;
17
+ export declare const PublishableItemEditorDashboard: <TItem extends PublishableItem>({ initialGroupId, itemResourceType, onItemClick, onRenderContent, pageSize, hidePagination, emptyMessageResources, emptyListSvg, additionalFilterComponents, additionalFilters: incomingFilters, className, }: LibraryProps<TItem>) => JSX.Element;
18
18
  export {};
@@ -1,15 +1,16 @@
1
1
  import { PublishableItem } from '@livetiles/reach/util/common';
2
2
  import { ItemLoader } from '@livetiles/reach/ui/common';
3
+ import { ReactNode } from 'react';
3
4
  interface LibraryProps<TItem extends PublishableItem = PublishableItem, TTokenType = unknown> {
4
5
  onRenderCard: (item: TItem) => unknown;
5
6
  dataLoader: ItemLoader<TItem, TTokenType>;
6
7
  minColumnWidth: number;
7
8
  emptyMessageResources: string[];
8
- emptyListIcon: string;
9
+ emptyListSvg: ReactNode;
9
10
  hidePagination?: boolean;
10
11
  maxColumnCount?: number;
11
12
  rowCount?: number;
12
13
  className?: string;
13
14
  }
14
- export declare const PublishableItemGrid: <TItem extends PublishableItem, TTokenType = unknown>({ onRenderCard, dataLoader, minColumnWidth, emptyMessageResources, emptyListIcon, hidePagination, maxColumnCount, rowCount, className, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
15
+ export declare const PublishableItemGrid: <TItem extends PublishableItem, TTokenType = unknown>({ onRenderCard, dataLoader, minColumnWidth, emptyMessageResources, emptyListSvg, hidePagination, maxColumnCount, rowCount, className, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
15
16
  export {};
@@ -1,12 +1,13 @@
1
1
  import { PublishableItem } from '@livetiles/reach/util/common';
2
2
  import { ItemLoader } from '@livetiles/reach/ui/common';
3
+ import { ReactNode } from 'react';
3
4
  interface LibraryProps<TItem extends PublishableItem = PublishableItem, TTokenType = unknown> {
4
5
  onRenderList: (items: TItem[]) => unknown;
5
6
  dataLoader: ItemLoader<TItem, TTokenType>;
6
7
  emptyMessageResources: string[];
7
- emptyListIcon: string;
8
+ emptyListSvg: ReactNode;
8
9
  hidePagination?: boolean;
9
10
  pageSize?: number;
10
11
  }
11
- export declare const PublishableItemList: <TItem extends PublishableItem, TTokenType = unknown>({ onRenderList, dataLoader, emptyMessageResources, emptyListIcon, hidePagination, pageSize, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
12
+ export declare const PublishableItemList: <TItem extends PublishableItem, TTokenType = unknown>({ onRenderList, dataLoader, emptyMessageResources, emptyListSvg, hidePagination, pageSize, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
12
13
  export {};
@@ -2043,6 +2043,7 @@ var de = {
2043
2043
  "AriaLabel.customization.applicationNameInput": "Name des Abonnements",
2044
2044
  "AriaLabel.customization.applicationHandleInput": "Abonnements Id",
2045
2045
  "Lib.newsList.noItems": "Keine News zu zeigen",
2046
+ "Lib.eventsList.noItems": "No Events to show",
2046
2047
  "Lib.paging.goToFirstPage": "Zur ersten Seite gehen",
2047
2048
  "Lib.channelFilter.choiceGroupLabel": "Wählen Sie den logischen Operator für den Kanalfilter",
2048
2049
  "Lib.keywordsFilter.choiceGroupLabel": "Wählen Sie den logischen Operator für Schlagwörter Filter",
@@ -291,6 +291,7 @@ var en = {
291
291
  "Generic.showMore": "show more",
292
292
  "Generic.showManageView": "Show manage view",
293
293
  "Generic.apply": "Apply",
294
+ "Generic.noUnreadInfo": "You have read everything",
294
295
  "PageTitle.news": "News",
295
296
  "PageTitle.manageProfile": "Manage Profile",
296
297
  "PageTitle.events": "Events",
@@ -344,7 +345,7 @@ var en = {
344
345
  "MetaInfo.writtenBy": "Written by {author}",
345
346
  "NewsList.noBookmarksInfo": "You haven't bookmarked anything yet",
346
347
  "NewsList.emptyInfo": "No news items have been published yet",
347
- "NewsList.noUnreadNewsInfo": "There are no unread articles",
348
+ "NewsList.showAll": "Show all news",
348
349
  "NewsList.error": "Error, no news from backend",
349
350
  "NewsList.PageLoading": "Loading more news articles...",
350
351
  "NewsList.AllItemsLoaded": "There are no more news articles",
@@ -1627,6 +1628,7 @@ var en = {
1627
1628
  "Events.noUpcoming": "There are no events planned at the moment",
1628
1629
  "Events.noBooked": "You aren't registered for any upcoming events",
1629
1630
  "Events.browse": "Browse events",
1631
+ "Events.showAll": "Show all events",
1630
1632
  "Events.noPast": "You'll see past events here once there are some",
1631
1633
  "Events.upcoming": "Upcoming Events",
1632
1634
  "Events.myEvents": "My Booked Events",
@@ -2041,6 +2043,7 @@ var en = {
2041
2043
  "AriaLabel.customization.applicationNameInput": "Subscription name",
2042
2044
  "AriaLabel.customization.applicationHandleInput": "Subscription handle",
2043
2045
  "Lib.newsList.noItems": "No News to show",
2046
+ "Lib.eventsList.noItems": "No Events to show",
2044
2047
  "Lib.paging.goToFirstPage": "Go to first page",
2045
2048
  "Lib.channelFilter.choiceGroupLabel": "Select the logical operator for channels filter",
2046
2049
  "Lib.keywordsFilter.choiceGroupLabel": "Select the logical operator for keywords filter",
@@ -2083,6 +2086,7 @@ var en = {
2083
2086
  "SkipLinks.toFilter": "Skip to filter",
2084
2087
  "Stream.allLoaded": "You have reached the end of your stream",
2085
2088
  "Stream.emptyList": "Your stream is empty at the moment",
2089
+ "Stream.showAll": "Show full stream",
2086
2090
  "Stream.toast.markAllAsReadSuccessMessage": "{count, plural, =0 {No unread items found. All items were already read.} one {One item has been marked as read.} other {{count} items have been marked as read.}}",
2087
2091
  "Page.header.unread.only": "View only unread",
2088
2092
  "Page.header.unread.showAll": "View all",
@@ -2043,6 +2043,7 @@ var es = {
2043
2043
  "AriaLabel.customization.applicationNameInput": "Subscription name",
2044
2044
  "AriaLabel.customization.applicationHandleInput": "Subscription handle",
2045
2045
  "Lib.newsList.noItems": "No hay noticias para mostrar",
2046
+ "Lib.eventsList.noItems": "No Events to show",
2046
2047
  "Lib.paging.goToFirstPage": "Ir a la primera pagina",
2047
2048
  "Lib.channelFilter.choiceGroupLabel": "Select the logical operator for channels filter",
2048
2049
  "Lib.keywordsFilter.choiceGroupLabel": "Select the logical operator for keywords filter",
@@ -2043,6 +2043,7 @@ var fr = {
2043
2043
  "AriaLabel.customization.applicationNameInput": "Subscription name",
2044
2044
  "AriaLabel.customization.applicationHandleInput": "Subscription handle",
2045
2045
  "Lib.newsList.noItems": "Aucune actualité à afficher",
2046
+ "Lib.eventsList.noItems": "No Events to show",
2046
2047
  "Lib.paging.goToFirstPage": "Aller à la première page",
2047
2048
  "Lib.channelFilter.choiceGroupLabel": "Select the logical operator for channels filter",
2048
2049
  "Lib.keywordsFilter.choiceGroupLabel": "Select the logical operator for keywords filter",