@livetiles/reach-plugin-types 0.4.0-preview.365 → 0.4.0-preview.366

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 +39 -63
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -6443,6 +6443,7 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
6443
6443
  onCtrlEnter?: () => unknown;
6444
6444
  onChange?: (value: string) => void;
6445
6445
  onFocus?: () => void;
6446
+ additionalInputControl?: ReactNode;
6446
6447
  buttons?: {
6447
6448
  leftSide?: ReactNode;
6448
6449
  rightSide?: ReactNode;
@@ -6467,18 +6468,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
6467
6468
  isLarge: boolean;
6468
6469
  }>;
6469
6470
  }
6470
- declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
6471
- import { FC } from 'react';
6472
- import { Keyword } from "libs/reach/util/common/src/index";
6473
- export const KeywordsPicker: FC<{
6474
- defaultKeywords?: {
6475
- [key: string]: Keyword[];
6476
- };
6477
- availableKeywords?: Keyword[];
6478
- mandatoryKeywords?: Keyword[];
6479
- onChangeKeywords: (keywords: Keyword[]) => void;
6480
- }>;
6481
- }
6482
6471
  declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6483
6472
  import { VideoSource } from "libs/reach/util/common/src/index";
6484
6473
  export interface KalturaProperties {
@@ -6880,7 +6869,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
6880
6869
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6881
6870
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
6882
6871
  import { Attachment } from "libs/reach/util/common/src/index";
6883
- import { Keyword } from "libs/reach/util/common/src/index";
6884
6872
  export interface ClientAttachment extends Attachment {
6885
6873
  file?: File;
6886
6874
  }
@@ -6894,14 +6882,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6894
6882
  onAttachmentsChange: (attachments: Attachments) => void;
6895
6883
  onDeleteAttachment?: (attachment: Attachment) => void;
6896
6884
  placeHolderStringResourceKey?: string;
6897
- allowKeywords?: boolean;
6898
- defaultKeywords?: {
6899
- [key: string]: Keyword[];
6900
- };
6901
- availableKeywords?: Keyword[];
6902
- mandatoryKeywords?: Keyword[];
6903
- showKeywordsPicker?: boolean;
6904
- onKeywordsChange?: (keywords: Keyword[]) => void;
6905
6885
  disableAddGif?: boolean;
6906
6886
  disableAddFiles?: boolean;
6907
6887
  };
@@ -6914,14 +6894,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6914
6894
  onAttachmentsChange: (attachments: Attachments) => void;
6915
6895
  onDeleteAttachment?: (attachment: Attachment) => void;
6916
6896
  placeHolderStringResourceKey?: string;
6917
- allowKeywords?: boolean;
6918
- defaultKeywords?: {
6919
- [key: string]: Keyword[];
6920
- };
6921
- availableKeywords?: Keyword[];
6922
- mandatoryKeywords?: Keyword[];
6923
- showKeywordsPicker?: boolean;
6924
- onKeywordsChange?: (keywords: Keyword[]) => void;
6925
6897
  disableAddGif?: boolean;
6926
6898
  disableAddFiles?: boolean;
6927
6899
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -7860,14 +7832,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7860
7832
  onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
7861
7833
  onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
7862
7834
  placeHolderStringResourceKey?: string;
7863
- allowKeywords?: boolean;
7864
- defaultKeywords?: {
7865
- [key: string]: import("@livetiles/reach/util/common").Keyword[];
7866
- };
7867
- availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
7868
- mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
7869
- showKeywordsPicker?: boolean;
7870
- onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
7871
7835
  disableAddGif?: boolean;
7872
7836
  disableAddFiles?: boolean;
7873
7837
  } & {
@@ -7876,6 +7840,44 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7876
7840
  attachmentPreviewTheme?: CommentInputTheme;
7877
7841
  } & import("react").RefAttributes<HTMLInputElement>>;
7878
7842
  }
7843
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
7844
+ import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
7845
+ import { FC } from 'react';
7846
+ interface Props {
7847
+ group: KeywordGroup;
7848
+ keywords?: Keyword[];
7849
+ expanded?: boolean;
7850
+ selectedKeywords: Keyword[];
7851
+ onChange?: (keywords: Keyword[]) => void;
7852
+ mandatoryKeywordIds?: string[];
7853
+ }
7854
+ export const KeywordPickerGroup: FC<Props>;
7855
+ }
7856
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
7857
+ import { FC } from 'react';
7858
+ import { Keyword } from "libs/reach/util/common/src/index";
7859
+ interface Props {
7860
+ value?: Keyword[] | string[];
7861
+ onChange: (keywords: Keyword[]) => void;
7862
+ showSelectionToggle?: boolean;
7863
+ availableKeywords?: Keyword[];
7864
+ mandatoryKeywordIds?: string[];
7865
+ className?: string;
7866
+ }
7867
+ export const KeywordPicker: FC<Props>;
7868
+ }
7869
+ declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
7870
+ import { Keyword } from "libs/reach/util/common/src/index";
7871
+ import { FC } from 'react';
7872
+ export const AddKeywordsButton: FC<{
7873
+ availableKeywords?: Keyword[];
7874
+ mandatoryKeywords?: Keyword[];
7875
+ preselectedKeywords?: Keyword[];
7876
+ onKeywordsChange?: (keywords: Keyword[]) => void;
7877
+ disabled?: boolean;
7878
+ keywordPickerTitleResourceKey?: string;
7879
+ }>;
7880
+ }
7879
7881
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
7880
7882
  import { FC } from 'react';
7881
7883
  import { Account } from "libs/reach/util/common/src/index";
@@ -9270,32 +9272,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
9270
9272
  export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9271
9273
  export * from "libs/reach/feature/content/src/feedback/utils";
9272
9274
  }
9273
- declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
9274
- import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
9275
- import { FC } from 'react';
9276
- interface Props {
9277
- group: KeywordGroup;
9278
- keywords?: Keyword[];
9279
- expanded?: boolean;
9280
- selectedKeywords: Keyword[];
9281
- onChange?: (keywords: Keyword[]) => void;
9282
- mandatoryKeywordIds?: string[];
9283
- }
9284
- export const KeywordPickerGroup: FC<Props>;
9285
- }
9286
- declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
9287
- import { FC } from 'react';
9288
- import { Keyword } from "libs/reach/util/common/src/index";
9289
- interface Props {
9290
- value?: Keyword[] | string[];
9291
- onChange: (keywords: Keyword[]) => void;
9292
- showSelectionToggle?: boolean;
9293
- availableKeywords?: Keyword[];
9294
- mandatoryKeywordIds?: string[];
9295
- className?: string;
9296
- }
9297
- export const KeywordPicker: FC<Props>;
9298
- }
9299
9275
  declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
9300
9276
  import { FC, ReactNode } from 'react';
9301
9277
  import { Keyword } from "libs/reach/util/common/src/index";
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.365",
7
+ "version": "0.4.0-preview.366",
8
8
  "dependencies": {}
9
9
  }