@livetiles/reach-plugin-types 0.5.0-preview.1240 → 0.5.0-preview.1242
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.
- package/lib/index.d.ts +13 -13
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -9032,39 +9032,39 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
9032
9032
|
export const AttachmentList: FC<Props>;
|
|
9033
9033
|
}
|
|
9034
9034
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
9035
|
-
import { ReactNode } from 'react';
|
|
9036
9035
|
import { Account } from "libs/reach/util/common/src/index";
|
|
9036
|
+
import { ReactNode } from 'react';
|
|
9037
9037
|
export interface UserSuggestion {
|
|
9038
|
+
display: string;
|
|
9039
|
+
displayName: string;
|
|
9038
9040
|
id: string;
|
|
9039
9041
|
upn: string;
|
|
9040
|
-
displayName: string;
|
|
9041
|
-
display: string;
|
|
9042
9042
|
}
|
|
9043
9043
|
export interface SuggestionArgs {
|
|
9044
9044
|
searchText: string;
|
|
9045
9045
|
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
9046
9046
|
}
|
|
9047
9047
|
export interface CommentInputProps {
|
|
9048
|
-
className?: string;
|
|
9049
|
-
content: string;
|
|
9050
|
-
disabled?: boolean;
|
|
9051
|
-
autoFocus?: boolean;
|
|
9052
|
-
onEnter?: () => void;
|
|
9053
|
-
onCtrlEnter?: () => unknown;
|
|
9054
|
-
onChange?: (value: string) => void;
|
|
9055
|
-
onFocus?: () => void;
|
|
9056
9048
|
additionalInputControl?: ReactNode;
|
|
9049
|
+
ariaLabel?: string;
|
|
9050
|
+
autoFocus?: boolean;
|
|
9057
9051
|
buttons?: {
|
|
9058
9052
|
leftSide?: ReactNode;
|
|
9059
9053
|
rightSide?: ReactNode;
|
|
9060
9054
|
};
|
|
9055
|
+
className?: string;
|
|
9056
|
+
content: string;
|
|
9057
|
+
disableBoxShadow?: boolean;
|
|
9058
|
+
disabled?: boolean;
|
|
9061
9059
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9060
|
+
onChange?: (value: string) => void;
|
|
9061
|
+
onCtrlEnter?: () => unknown;
|
|
9062
|
+
onEnter?: () => void;
|
|
9063
|
+
onFocus?: () => void;
|
|
9062
9064
|
placeHolderStringResourceKey?: string;
|
|
9063
9065
|
placeHolderStringResourceValues?: {
|
|
9064
9066
|
[key: string]: string | number | boolean | Date;
|
|
9065
9067
|
};
|
|
9066
|
-
disableBoxShadow?: boolean;
|
|
9067
|
-
ariaLabel?: string;
|
|
9068
9068
|
}
|
|
9069
9069
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
9070
9070
|
}
|