@livetiles/reach-components-react 0.4.0-preview.227 → 0.4.0-preview.228

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,6 @@
1
+ import { FC } from 'react';
2
+ export declare const FilterLogicalOperators: FC<{
3
+ onChange: (key: string) => void;
4
+ selectedKey?: string;
5
+ ariaLabelResourceKey?: string;
6
+ }>;
@@ -1921,6 +1921,7 @@ var en = {
1921
1921
  "AriaLabel.section.subscriptionAlreadyExistsInfo": "Subscription already exists ",
1922
1922
  "Lib.newsList.noItems": "No News to show",
1923
1923
  "Lib.paging.goToFirstPage": "Go to first page",
1924
+ "Lib.channelFilter.choiceGroupLabel": "Select the logical operator for channels filter",
1924
1925
  "UserFeed.emptyList": "There are no feed items yet.",
1925
1926
  "UserFeed.allLoaded": "All feed items loaded.",
1926
1927
  "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;