@livetiles/reach-plugin-types 0.5.0-preview.1239 → 0.5.0-preview.1240

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +32 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -12624,6 +12624,38 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/common/AddG
12624
12624
  }>;
12625
12625
  export default AddGifPopover;
12626
12626
  }
12627
+ declare module "libs/reach/feature/content/src/reach-2/common/SelectableList" {
12628
+ export interface SelectableListRef {
12629
+ clearAllItems: () => void;
12630
+ }
12631
+ export interface ISelectableListItemProps {
12632
+ id: string;
12633
+ name: string;
12634
+ }
12635
+ interface ISelectableListProps<T> {
12636
+ className?: string;
12637
+ headerLabelId?: string;
12638
+ initialSelectedItemIds?: string[];
12639
+ innerRef?: React.RefObject<SelectableListRef>;
12640
+ isOpen: boolean;
12641
+ items: T[];
12642
+ onItemsChange: (items: ISelectableListItemProps[]) => void;
12643
+ }
12644
+ const SelectableList: <T extends ISelectableListItemProps>({ className, headerLabelId, initialSelectedItemIds: preprocessedInitialSelectedItemIds, innerRef, isOpen, items, onItemsChange, }: ISelectableListProps<T>) => JSX.Element;
12645
+ export default SelectableList;
12646
+ }
12647
+ declare module "libs/reach/feature/content/src/reach-2/common/editor/common/ChooseChannelsModal" {
12648
+ import { FC } from 'react';
12649
+ export const PAGE_SIZE = 20;
12650
+ interface IChooseChannelModalProps {
12651
+ isOpen?: boolean;
12652
+ onDismiss: () => void;
12653
+ onSave: (channelIds: string[]) => void;
12654
+ selectedChannelIds?: string[];
12655
+ }
12656
+ const ChooseChannelsModal: FC<IChooseChannelModalProps>;
12657
+ export default ChooseChannelsModal;
12658
+ }
12627
12659
  declare module "libs/reach/feature/content/src/reach-2/common/editor/common/ChooseChannels" {
12628
12660
  import { FC } from 'react';
12629
12661
  interface IChooseChannelProps {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.1239",
7
+ "version": "0.5.0-preview.1240",
8
8
  "dependencies": {}
9
9
  }