@livetiles/reach-components-react 0.4.0-preview.226 → 0.4.0-preview.229

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.
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const AuthorFilter: FC;
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const EmptyFilterSearchResult: FC;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ export declare const FilterLogicalOperators: FC<{
3
+ onChange: (key: string) => void;
4
+ selectedKey?: string;
5
+ ariaLabelResourceKey?: string;
6
+ }>;
@@ -1200,9 +1200,13 @@ var en = {
1200
1200
  "Customization.applicationNameInfo1": "Enter the name of your subscription.",
1201
1201
  "Customization.applicationNameInfo2": "The name will be displayed in the header bar and in E-Mails.",
1202
1202
  "Customization.applicationNameError": "Failed to set the subscription name",
1203
- "Customization.applicationLogo": "Application Logo",
1204
- "Customization.applicationLogoInfo1": "Upload a custom logo to be displayed in the header bar.",
1205
- "Customization.applicationLogoInfo2": "The logo should be square.",
1203
+ "Customization.applicationLogo.title": "Logo",
1204
+ "Customization.applicationLogo.subtitle": "Logo for app and emails",
1205
+ "Customization.applicationLogo.upload": "Upload new logo",
1206
+ "Customization.applicationLogoInfo1": "Upload a custom logo to be displayed in the app and in notification emails sent to users.",
1207
+ "Customization.applicationLogoInfo2": "Recommended file type: .png, optionally with transparent background.",
1208
+ "Customization.applicationLogoInfo3": "Recommended size: {dimensions}. Width or height can be reduced as required by your logo. If both dimensions are less than the recommended values the logo might look blurry on high resolution devices.",
1209
+ "Customization.applicationLogoInfo3.dimensions": "855px width by 150px height",
1206
1210
  "Customization.applicationLogoError": "Failed to save the application logo",
1207
1211
  "Customization.applicationLogoResetError": "Failed to reset the application logo",
1208
1212
  "Customization.favicon": "Favicon",
@@ -1921,6 +1925,7 @@ var en = {
1921
1925
  "AriaLabel.section.subscriptionAlreadyExistsInfo": "Subscription already exists ",
1922
1926
  "Lib.newsList.noItems": "No News to show",
1923
1927
  "Lib.paging.goToFirstPage": "Go to first page",
1928
+ "Lib.channelFilter.choiceGroupLabel": "Select the logical operator for channels filter",
1924
1929
  "UserFeed.emptyList": "There are no feed items yet.",
1925
1930
  "UserFeed.allLoaded": "All feed items loaded.",
1926
1931
  "UserFeed.itemType.news": "News",
package/index.d.ts CHANGED
@@ -645,20 +645,27 @@ interface BaseFilterDefinition {
645
645
  }
646
646
  interface IndexableFilterDefinition {
647
647
  [key: string]: any;
648
+ }
649
+ declare enum LogicalOperator {
650
+ Or = "or",
651
+ And = "and"
648
652
  }
649
653
 
650
654
  interface AuthorFilterDefinition extends IndexableFilterDefinition {
651
655
  author?: string;
652
656
  }
653
657
 
654
- interface ChannelsFilterDefinition extends IndexableFilterDefinition {
655
- channels?: string[];
656
- }
657
-
658
658
  interface StateFilterDefinition extends IndexableFilterDefinition {
659
659
  state?: WorkflowStatus;
660
660
  }
661
661
 
662
+ interface ChannelsFilterDefinition extends IndexableFilterDefinition {
663
+ channels?: {
664
+ items?: string[];
665
+ operator?: LogicalOperator;
666
+ };
667
+ }
668
+
662
669
  interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
663
670
  groupId?: string;
664
671
  bookmarksOnly?: boolean;
@@ -765,4 +772,6 @@ declare const ClearAllFiltersButton: FC<ClearAllFiltersButtonProps>;
765
772
 
766
773
  declare const KeywordsFilter: FC;
767
774
 
768
- export { Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ClearAllFiltersButton, ClearAllFiltersButtonProps, EventDetail, EventDetailProps, FilterProps, ItemLayoutMode, KeywordsFilter, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PublishableItem, PublishingDateFilter, ReachContextProps, ReachContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarFilterPanel, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllItemsAsReadButtonProps, ToolbarMarkAllNewsAsReadButton, ToolbarNewsLanguageSelector, ToolbarProps, ToolbarSearchProps, UserDetails, UserDetailsProps, useCurrentUser };
775
+ declare const AuthorFilter: FC;
776
+
777
+ export { AuthorFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ClearAllFiltersButton, ClearAllFiltersButtonProps, EventDetail, EventDetailProps, FilterProps, ItemLayoutMode, KeywordsFilter, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PublishableItem, PublishingDateFilter, ReachContextProps, ReachContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarFilterPanel, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllItemsAsReadButtonProps, ToolbarMarkAllNewsAsReadButton, ToolbarNewsLanguageSelector, ToolbarProps, ToolbarSearchProps, UserDetails, UserDetailsProps, useCurrentUser };
package/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- export { A as Avatar, C as ChannelFilter, D as ClearAllFiltersButton, E as EventDetail, I as ItemLayoutMode, K as KeywordsFilter, M as ManageChannels, N as NewsDetail, x as NewsDetailPreview, l as NewsEditorDashboard, i as NewsGrid, k as NewsHero, t as NewsItemContextProvider, y as NewsItemPreviewContextProvider, h as NewsList, g as PageDetail, B as PublishingDateFilter, R as ReachContextProvider, n as Toolbar, p as ToolbarChannelSelector, s as ToolbarCloseButton, z as ToolbarFilterPanel, o as ToolbarIconButton, w as ToolbarManageNewsItemButton, q as ToolbarMarkAllEventsAsReadButton, r as ToolbarMarkAllNewsAsReadButton, v as ToolbarNewsLanguageSelector, U as UserDetails, j as useCurrentUser } from './index.esm2.js';
1
+ export { F as AuthorFilter, A as Avatar, C as ChannelFilter, D as ClearAllFiltersButton, E as EventDetail, I as ItemLayoutMode, K as KeywordsFilter, M as ManageChannels, N as NewsDetail, x as NewsDetailPreview, l as NewsEditorDashboard, i as NewsGrid, k as NewsHero, t as NewsItemContextProvider, y as NewsItemPreviewContextProvider, h as NewsList, g as PageDetail, B as PublishingDateFilter, R as ReachContextProvider, n as Toolbar, p as ToolbarChannelSelector, s as ToolbarCloseButton, z as ToolbarFilterPanel, o as ToolbarIconButton, w as ToolbarManageNewsItemButton, q as ToolbarMarkAllEventsAsReadButton, r as ToolbarMarkAllNewsAsReadButton, v as ToolbarNewsLanguageSelector, U as UserDetails, j as useCurrentUser } from './index.esm2.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'events';
4
4
  import 'react';