@livetiles/reach-plugin-types 0.5.0-preview.580 → 0.5.0-preview.583
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 +326 -167
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -979,86 +979,6 @@ declare module "libs/reach/util/common/src/resources/locales/zh-tw.async" {
|
|
|
979
979
|
declare module "libs/reach/util/common/src/resources/LazyLocaleResourcesImporter" {
|
|
980
980
|
export function importLocaleResourcesAsync(locale: string): Promise<void> | Promise<typeof import("libs/reach/util/common/src/resources/locales/ar-dz.async")>;
|
|
981
981
|
}
|
|
982
|
-
declare module "libs/reach/util/common/src/resources/BaseResourceContextProvider" {
|
|
983
|
-
import { FC } from 'react';
|
|
984
|
-
export const BaseResourceContextProvider: FC<{
|
|
985
|
-
language?: string;
|
|
986
|
-
locale?: string;
|
|
987
|
-
importLanguageResourcesAsync: (language: string) => Promise<{
|
|
988
|
-
default: unknown;
|
|
989
|
-
}>;
|
|
990
|
-
}>;
|
|
991
|
-
}
|
|
992
|
-
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
993
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
994
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
995
|
-
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
996
|
-
export default da;
|
|
997
|
-
}
|
|
998
|
-
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
999
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
1000
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
1001
|
-
import de from "libs/reach/util/common/src/resources/languages/string-resources/de";
|
|
1002
|
-
export default de;
|
|
1003
|
-
}
|
|
1004
|
-
declare module "libs/reach/util/common/src/resources/languages/fr.async" {
|
|
1005
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
1006
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
1007
|
-
import fr from "libs/reach/util/common/src/resources/languages/string-resources/fr";
|
|
1008
|
-
export default fr;
|
|
1009
|
-
}
|
|
1010
|
-
declare module "libs/reach/util/common/src/resources/languages/es.async" {
|
|
1011
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
1012
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
1013
|
-
import es from "libs/reach/util/common/src/resources/languages/string-resources/es";
|
|
1014
|
-
export default es;
|
|
1015
|
-
}
|
|
1016
|
-
declare module "libs/reach/util/common/src/resources/languages/zh-TW.async" {
|
|
1017
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1018
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1019
|
-
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-TW";
|
|
1020
|
-
export default zh;
|
|
1021
|
-
}
|
|
1022
|
-
declare module "libs/reach/util/common/src/resources/languages/zh-CN.async" {
|
|
1023
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1024
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1025
|
-
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-CN";
|
|
1026
|
-
export default zh;
|
|
1027
|
-
}
|
|
1028
|
-
declare module "libs/reach/util/common/src/resources/languages/ja.async" {
|
|
1029
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
1030
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
1031
|
-
import ja from "libs/reach/util/common/src/resources/languages/string-resources/ja";
|
|
1032
|
-
export default ja;
|
|
1033
|
-
}
|
|
1034
|
-
declare module "libs/reach/util/common/src/resources/languages/tr.async" {
|
|
1035
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
1036
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
1037
|
-
import tr from "libs/reach/util/common/src/resources/languages/string-resources/tr";
|
|
1038
|
-
export default tr;
|
|
1039
|
-
}
|
|
1040
|
-
declare module "libs/reach/util/common/src/resources/languages/it.async" {
|
|
1041
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
1042
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
1043
|
-
import it from "libs/reach/util/common/src/resources/languages/string-resources/it";
|
|
1044
|
-
export default it;
|
|
1045
|
-
}
|
|
1046
|
-
declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
1047
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
1048
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
1049
|
-
import en from "libs/reach/util/common/src/resources/languages/string-resources/en";
|
|
1050
|
-
export default en;
|
|
1051
|
-
}
|
|
1052
|
-
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
1053
|
-
export function importReachLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
1054
|
-
}
|
|
1055
|
-
declare module "libs/reach/util/common/src/resources/LegacyResourceContextProvider" {
|
|
1056
|
-
import { FC } from 'react';
|
|
1057
|
-
export const LegacyResourceContextProvider: FC<{
|
|
1058
|
-
language?: string;
|
|
1059
|
-
locale?: string;
|
|
1060
|
-
}>;
|
|
1061
|
-
}
|
|
1062
982
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1063
983
|
import locale from 'date-fns/locale/ar-DZ';
|
|
1064
984
|
export default locale;
|
|
@@ -1286,6 +1206,95 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us
|
|
|
1286
1206
|
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1287
1207
|
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1288
1208
|
}
|
|
1209
|
+
declare module "libs/reach/util/common/src/resources/BaseResourceContextProvider" {
|
|
1210
|
+
import { FC } from 'react';
|
|
1211
|
+
import { Locale } from 'date-fns';
|
|
1212
|
+
export const BaseResourceContextProvider: FC<{
|
|
1213
|
+
language?: string;
|
|
1214
|
+
locale?: string;
|
|
1215
|
+
importLanguageResourcesAsync: (language: string) => Promise<{
|
|
1216
|
+
default: unknown;
|
|
1217
|
+
}>;
|
|
1218
|
+
}>;
|
|
1219
|
+
export function getDateFnsLocale(): Locale | undefined;
|
|
1220
|
+
}
|
|
1221
|
+
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
1222
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
1223
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
1224
|
+
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
1225
|
+
export default da;
|
|
1226
|
+
}
|
|
1227
|
+
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
1228
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
1229
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
1230
|
+
import de from "libs/reach/util/common/src/resources/languages/string-resources/de";
|
|
1231
|
+
export default de;
|
|
1232
|
+
}
|
|
1233
|
+
declare module "libs/reach/util/common/src/resources/languages/fr.async" {
|
|
1234
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
1235
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
1236
|
+
import fr from "libs/reach/util/common/src/resources/languages/string-resources/fr";
|
|
1237
|
+
export default fr;
|
|
1238
|
+
}
|
|
1239
|
+
declare module "libs/reach/util/common/src/resources/languages/es.async" {
|
|
1240
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
1241
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
1242
|
+
import es from "libs/reach/util/common/src/resources/languages/string-resources/es";
|
|
1243
|
+
export default es;
|
|
1244
|
+
}
|
|
1245
|
+
declare module "libs/reach/util/common/src/resources/languages/zh-TW.async" {
|
|
1246
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1247
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1248
|
+
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-TW";
|
|
1249
|
+
export default zh;
|
|
1250
|
+
}
|
|
1251
|
+
declare module "libs/reach/util/common/src/resources/languages/zh-CN.async" {
|
|
1252
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1253
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1254
|
+
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-CN";
|
|
1255
|
+
export default zh;
|
|
1256
|
+
}
|
|
1257
|
+
declare module "libs/reach/util/common/src/resources/languages/ja.async" {
|
|
1258
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
1259
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
1260
|
+
import ja from "libs/reach/util/common/src/resources/languages/string-resources/ja";
|
|
1261
|
+
export default ja;
|
|
1262
|
+
}
|
|
1263
|
+
declare module "libs/reach/util/common/src/resources/languages/tr.async" {
|
|
1264
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
1265
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
1266
|
+
import tr from "libs/reach/util/common/src/resources/languages/string-resources/tr";
|
|
1267
|
+
export default tr;
|
|
1268
|
+
}
|
|
1269
|
+
declare module "libs/reach/util/common/src/resources/languages/it.async" {
|
|
1270
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
1271
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
1272
|
+
import it from "libs/reach/util/common/src/resources/languages/string-resources/it";
|
|
1273
|
+
export default it;
|
|
1274
|
+
}
|
|
1275
|
+
declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
1276
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
1277
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
1278
|
+
import en from "libs/reach/util/common/src/resources/languages/string-resources/en";
|
|
1279
|
+
export default en;
|
|
1280
|
+
}
|
|
1281
|
+
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
1282
|
+
export function importReachLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
1283
|
+
}
|
|
1284
|
+
declare module "libs/reach/util/common/src/resources/LegacyResourceContextProvider" {
|
|
1285
|
+
import { FC } from 'react';
|
|
1286
|
+
export const LegacyResourceContextProvider: FC<{
|
|
1287
|
+
language?: string;
|
|
1288
|
+
locale?: string;
|
|
1289
|
+
}>;
|
|
1290
|
+
}
|
|
1291
|
+
declare module "libs/reach/util/common/src/resources/locals-util" {
|
|
1292
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
1293
|
+
export const defaultFallbackLocale = "en";
|
|
1294
|
+
export const supportedLocales: string[];
|
|
1295
|
+
export function getPreferredLocale(user?: CurrentUser, locale?: string): string;
|
|
1296
|
+
export function getValidLocale(locale: string): string;
|
|
1297
|
+
}
|
|
1289
1298
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1290
1299
|
export const orderedFeatureSet: string[];
|
|
1291
1300
|
export class FeatureSet {
|
|
@@ -3855,6 +3864,7 @@ declare module "libs/reach/util/common/src/reach-2/NewUserExperienceContext" {
|
|
|
3855
3864
|
declare module "libs/reach/util/common/src/reach-2/GlobalStyles" {
|
|
3856
3865
|
import { FC } from 'react';
|
|
3857
3866
|
export const GlobalApp2Styles: FC;
|
|
3867
|
+
export const BorderStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3858
3868
|
}
|
|
3859
3869
|
declare module "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogglingControls" {
|
|
3860
3870
|
export function usePageScrollDirectionForTogglingControls(disableOnLargeScreen?: boolean, maximumAllowedScreenWidth?: number, upThreshold?: number, downThreshold?: number): boolean;
|
|
@@ -3965,6 +3975,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3965
3975
|
export * from "libs/reach/util/common/src/resources/BaseResourceContextProvider";
|
|
3966
3976
|
export * from "libs/reach/util/common/src/resources/LegacyResourceContextProvider";
|
|
3967
3977
|
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3978
|
+
export * from "libs/reach/util/common/src/resources/locals-util";
|
|
3968
3979
|
export * from "libs/reach/util/common/src/user/index";
|
|
3969
3980
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3970
3981
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -4070,16 +4081,14 @@ declare module "libs/reach/ui/common/src/HighlightBubble" {
|
|
|
4070
4081
|
declare module "libs/reach/ui/common/src/EditorHighlight" {
|
|
4071
4082
|
import { FC } from 'react';
|
|
4072
4083
|
interface Props {
|
|
4073
|
-
isActive: boolean;
|
|
4074
4084
|
readOnly: boolean;
|
|
4075
4085
|
onClick: () => void;
|
|
4086
|
+
tooltipResourceKey?: string;
|
|
4076
4087
|
className?: string;
|
|
4077
4088
|
}
|
|
4078
|
-
export const EditorHighlight: FC<Props
|
|
4079
|
-
tooltipResourceKey?: string;
|
|
4080
|
-
}>;
|
|
4089
|
+
export const EditorHighlight: FC<Props>;
|
|
4081
4090
|
export const ChannelsEditorBubble: FC<Props & {
|
|
4082
|
-
|
|
4091
|
+
isActive: boolean;
|
|
4083
4092
|
}>;
|
|
4084
4093
|
}
|
|
4085
4094
|
declare module "libs/reach/ui/common/src/IconButton" {
|
|
@@ -4760,6 +4769,17 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4760
4769
|
}
|
|
4761
4770
|
export const OpacityAnimation: FC<AnimationProps>;
|
|
4762
4771
|
}
|
|
4772
|
+
declare module "libs/reach/ui/common/src/common/animations/HeightEaseAnimation" {
|
|
4773
|
+
import { CSSProperties, FC } from 'react';
|
|
4774
|
+
interface AnimationProps {
|
|
4775
|
+
finalHeight: string | number;
|
|
4776
|
+
enterDuration?: number;
|
|
4777
|
+
leaveDuration?: number;
|
|
4778
|
+
style?: CSSProperties;
|
|
4779
|
+
className?: string;
|
|
4780
|
+
}
|
|
4781
|
+
export const HeightEaseAnimation: FC<AnimationProps>;
|
|
4782
|
+
}
|
|
4763
4783
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4764
4784
|
import { FC } from 'react';
|
|
4765
4785
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -5115,12 +5135,6 @@ declare module "libs/reach/ui/common/src/common/list-view/ListViewNavigation" {
|
|
|
5115
5135
|
className?: string;
|
|
5116
5136
|
}>;
|
|
5117
5137
|
}
|
|
5118
|
-
declare module "libs/reach/ui/common/src/common/locals-util" {
|
|
5119
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
5120
|
-
export const defaultFallbackLocale = "en";
|
|
5121
|
-
export const supportedLocales: string[];
|
|
5122
|
-
export function getPreferredLocale(user?: CurrentUser, locale?: string): string;
|
|
5123
|
-
}
|
|
5124
5138
|
declare module "libs/reach/ui/common/src/common/paging/HorizontalPager" {
|
|
5125
5139
|
import { FC } from 'react';
|
|
5126
5140
|
interface Props {
|
|
@@ -5509,6 +5523,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5509
5523
|
export * from "libs/reach/ui/common/src/common/Utils";
|
|
5510
5524
|
export * from "libs/reach/ui/common/src/common/VerificationStatusIcon";
|
|
5511
5525
|
export * from "libs/reach/ui/common/src/common/animations/OpacityAnimation";
|
|
5526
|
+
export * from "libs/reach/ui/common/src/common/animations/HeightEaseAnimation";
|
|
5512
5527
|
export * from "libs/reach/ui/common/src/common/buttons/ActionButton";
|
|
5513
5528
|
export * from "libs/reach/ui/common/src/common/buttons/AutoTranslateButton";
|
|
5514
5529
|
export * from "libs/reach/ui/common/src/common/buttons/ChoiceGroup";
|
|
@@ -5545,7 +5560,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5545
5560
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
5546
5561
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
5547
5562
|
export * from "libs/reach/ui/common/src/common/list-view/ListViewNavigation";
|
|
5548
|
-
export * from "libs/reach/ui/common/src/common/locals-util";
|
|
5549
5563
|
export * from "libs/reach/ui/common/src/common/paging/index";
|
|
5550
5564
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
5551
5565
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
@@ -5669,10 +5683,18 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
5669
5683
|
export { ReactComponent as NotificationIcon } from './assets/bell.svg';
|
|
5670
5684
|
export { ReactComponent as NotificationActiveIcon } from './assets/bell-active.svg';
|
|
5671
5685
|
export { ReactComponent as AddIcon } from './assets/add.svg';
|
|
5686
|
+
export { ReactComponent as AddFilledIcon } from './assets/add-filled.svg';
|
|
5672
5687
|
export { ReactComponent as MenuIcon } from './assets/menu.svg';
|
|
5673
5688
|
export { ReactComponent as MessagingIcon } from './assets/messaging.svg';
|
|
5674
5689
|
export { ReactComponent as BackIcon } from './assets/back.svg';
|
|
5675
5690
|
export { ReactComponent as ConversationsIcon } from './assets/conversations.svg';
|
|
5691
|
+
export { ReactComponent as TextFormat } from './assets/textFormat.svg';
|
|
5692
|
+
export { ReactComponent as TextFormatBold } from './assets/textFormatBold.svg';
|
|
5693
|
+
export { ReactComponent as TextFormatItalic } from './assets/textFormatItalic.svg';
|
|
5694
|
+
export { ReactComponent as TextFormatBulletedList } from './assets/textFormatBulletedList.svg';
|
|
5695
|
+
export { ReactComponent as TextFormatOrderedList } from './assets/textFormatOrderedList.svg';
|
|
5696
|
+
export { ReactComponent as CancelIcon } from './assets/cancel.svg';
|
|
5697
|
+
export { ReactComponent as EditIcon } from './assets/edit.svg';
|
|
5676
5698
|
}
|
|
5677
5699
|
declare module "libs/reach/ui/common/src/reach-2/icons/index" {
|
|
5678
5700
|
export * from "libs/reach/ui/common/src/reach-2/icons/Icons";
|
|
@@ -5693,19 +5715,18 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseButton" {
|
|
|
5693
5715
|
icon?: JSX.Element;
|
|
5694
5716
|
disabled?: boolean;
|
|
5695
5717
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
5718
|
+
domIdentifier?: string;
|
|
5696
5719
|
className?: string;
|
|
5697
5720
|
}
|
|
5698
5721
|
export const BaseButton: import("react").ForwardRefExoticComponent<BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5699
5722
|
export const BaseButtonStyle: import("styled-components").FlattenSimpleInterpolation;
|
|
5700
5723
|
}
|
|
5701
5724
|
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButtons" {
|
|
5702
|
-
import
|
|
5703
|
-
|
|
5704
|
-
export const
|
|
5705
|
-
export const
|
|
5706
|
-
export const
|
|
5707
|
-
export const TertiaryButton: FC<BaseButtonProps>;
|
|
5708
|
-
export const TextButton: FC<BaseButtonProps>;
|
|
5725
|
+
export const OutlinedButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5726
|
+
export const PrimaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5727
|
+
export const SecondaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5728
|
+
export const TertiaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5729
|
+
export const TextButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5709
5730
|
}
|
|
5710
5731
|
declare module "libs/reach/ui/common/src/reach-2/buttons/IconActionButton" {
|
|
5711
5732
|
import { MouseEvent, SVGProps } from 'react';
|
|
@@ -5746,6 +5767,29 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BackButton" {
|
|
|
5746
5767
|
className?: string;
|
|
5747
5768
|
}>;
|
|
5748
5769
|
}
|
|
5770
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconicButton" {
|
|
5771
|
+
import { MouseEventHandler, SVGProps } from 'react';
|
|
5772
|
+
export type BaseIconicButtonSizeType = 'Default' | 'Small' | 'Large';
|
|
5773
|
+
export interface BaseIconicButtonProps {
|
|
5774
|
+
defaultSVG: SVGProps<SVGElement>;
|
|
5775
|
+
hoveredSVG?: SVGProps<SVGElement>;
|
|
5776
|
+
buttonSize?: BaseIconicButtonSizeType;
|
|
5777
|
+
disabled?: boolean;
|
|
5778
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
5779
|
+
className?: string;
|
|
5780
|
+
}
|
|
5781
|
+
export const BaseIconicButton: import("react").ForwardRefExoticComponent<BaseIconicButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5782
|
+
}
|
|
5783
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/IconicButtons" {
|
|
5784
|
+
import { FC } from 'react';
|
|
5785
|
+
import { BaseIconicButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/BaseIconicButton";
|
|
5786
|
+
export const PrimaryIconicButton: FC<BaseIconicButtonProps & {
|
|
5787
|
+
isSelected?: boolean;
|
|
5788
|
+
}>;
|
|
5789
|
+
export const SecondaryIconicButton: FC<BaseIconicButtonProps & {
|
|
5790
|
+
isSelected?: boolean;
|
|
5791
|
+
}>;
|
|
5792
|
+
}
|
|
5749
5793
|
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
5750
5794
|
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
|
|
5751
5795
|
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
@@ -5753,6 +5797,7 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
|
5753
5797
|
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|
|
5754
5798
|
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
5755
5799
|
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
5800
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/IconicButtons";
|
|
5756
5801
|
}
|
|
5757
5802
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
|
|
5758
5803
|
import { FC, MouseEvent } from 'react';
|
|
@@ -5761,7 +5806,7 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
|
|
|
5761
5806
|
close = 1
|
|
5762
5807
|
}
|
|
5763
5808
|
export interface BaseDialogProps {
|
|
5764
|
-
triggerButton
|
|
5809
|
+
triggerButton?: HTMLButtonElement | JSX.Element;
|
|
5765
5810
|
isOpen?: boolean;
|
|
5766
5811
|
title?: string;
|
|
5767
5812
|
type?: DialogType;
|
|
@@ -5792,6 +5837,7 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal" {
|
|
|
5792
5837
|
export type MobileInlineModalProps = BaseDialogProps & {
|
|
5793
5838
|
enterAnimation?: AnimationBuilder;
|
|
5794
5839
|
leaveAnimation?: AnimationBuilder;
|
|
5840
|
+
hideHeader?: boolean;
|
|
5795
5841
|
};
|
|
5796
5842
|
export const MobileInlineModal: FC<MobileInlineModalProps>;
|
|
5797
5843
|
}
|
|
@@ -5800,18 +5846,6 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/Panel" {
|
|
|
5800
5846
|
import { BaseDialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog";
|
|
5801
5847
|
export const Panel: FC<BaseDialogProps>;
|
|
5802
5848
|
}
|
|
5803
|
-
declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheetWithStackedChildren" {
|
|
5804
|
-
import { FC, ReactNode } from 'react';
|
|
5805
|
-
export interface ModalBottomSheetWithStackedChildrenProps {
|
|
5806
|
-
addNewLayer: (children: (closeCurrentLayer: () => void) => ReactNode, onDismiss: (() => void) | undefined, initialBreakpoint: number) => void;
|
|
5807
|
-
closeCurrentLayer: () => void;
|
|
5808
|
-
closeAllLayers: () => void;
|
|
5809
|
-
}
|
|
5810
|
-
export const StackedChildrenContext: import("react").Context<ModalBottomSheetWithStackedChildrenProps>;
|
|
5811
|
-
export const ModalBottomSheetWithStackedChildren: FC<{
|
|
5812
|
-
className?: string;
|
|
5813
|
-
}>;
|
|
5814
|
-
}
|
|
5815
5849
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet" {
|
|
5816
5850
|
import { ReactNode } from 'react';
|
|
5817
5851
|
export interface ModalBottomSheetProps {
|
|
@@ -5825,6 +5859,18 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet" {
|
|
|
5825
5859
|
}
|
|
5826
5860
|
export const ModalBottomSheet: import("react").ForwardRefExoticComponent<ModalBottomSheetProps & import("react").RefAttributes<HTMLIonModalElement>>;
|
|
5827
5861
|
}
|
|
5862
|
+
declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheetWithStackedChildren" {
|
|
5863
|
+
import { FC, ReactNode } from 'react';
|
|
5864
|
+
export interface ModalBottomSheetWithStackedChildrenProps {
|
|
5865
|
+
addNewLayer: (children: (closeCurrentLayer: () => void) => ReactNode, onDismiss: (() => void) | undefined, initialBreakpoint: number) => void;
|
|
5866
|
+
closeCurrentLayer: () => void;
|
|
5867
|
+
closeAllLayers: () => void;
|
|
5868
|
+
}
|
|
5869
|
+
export const StackedChildrenContext: import("react").Context<ModalBottomSheetWithStackedChildrenProps>;
|
|
5870
|
+
export const ModalBottomSheetWithStackedChildren: FC<{
|
|
5871
|
+
className?: string;
|
|
5872
|
+
}>;
|
|
5873
|
+
}
|
|
5828
5874
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/Modal" {
|
|
5829
5875
|
import { FC } from 'react';
|
|
5830
5876
|
import { ModalBottomSheetProps } from "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet";
|
|
@@ -5832,16 +5878,38 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/Modal" {
|
|
|
5832
5878
|
interface ModalProps extends DialogProps, Omit<ModalBottomSheetProps, 'children'> {
|
|
5833
5879
|
onDismiss: () => void;
|
|
5834
5880
|
ref?: any;
|
|
5835
|
-
triggerButton: HTMLButtonElement | JSX.Element;
|
|
5836
5881
|
}
|
|
5837
5882
|
export const Modal: FC<ModalProps>;
|
|
5838
5883
|
}
|
|
5884
|
+
declare module "libs/reach/ui/common/src/reach-2/surfaces/ConfirmationDialog" {
|
|
5885
|
+
import { FC } from 'react';
|
|
5886
|
+
import { DialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/Dialog";
|
|
5887
|
+
export const ConfirmationDialog: FC<Omit<DialogProps, 'onSave' | 'disableSave' | 'saveButtonLabel'> & {
|
|
5888
|
+
onConfirm?: () => void;
|
|
5889
|
+
confirmButtonLabel?: string;
|
|
5890
|
+
isDestructive?: boolean;
|
|
5891
|
+
description?: string;
|
|
5892
|
+
}>;
|
|
5893
|
+
}
|
|
5839
5894
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/index" {
|
|
5840
5895
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/Dialog";
|
|
5841
5896
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/Panel";
|
|
5842
5897
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheetWithStackedChildren";
|
|
5843
5898
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet";
|
|
5844
5899
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/Modal";
|
|
5900
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal";
|
|
5901
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/ConfirmationDialog";
|
|
5902
|
+
}
|
|
5903
|
+
declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
|
|
5904
|
+
import { FC } from 'react';
|
|
5905
|
+
interface Props {
|
|
5906
|
+
value: string;
|
|
5907
|
+
showWeekDay?: boolean;
|
|
5908
|
+
showAsRelative?: boolean;
|
|
5909
|
+
showAsAbsolute?: boolean;
|
|
5910
|
+
className?: string;
|
|
5911
|
+
}
|
|
5912
|
+
export const DateTimeDisplay: FC<Props>;
|
|
5845
5913
|
}
|
|
5846
5914
|
declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
5847
5915
|
export * from "libs/reach/ui/common/src/reach-2/Icon";
|
|
@@ -5849,6 +5917,7 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
|
5849
5917
|
export * from "libs/reach/ui/common/src/reach-2/utils";
|
|
5850
5918
|
export * from "libs/reach/ui/common/src/reach-2/buttons/index";
|
|
5851
5919
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/index";
|
|
5920
|
+
export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
|
|
5852
5921
|
}
|
|
5853
5922
|
declare module "libs/reach/ui/common/src/index" {
|
|
5854
5923
|
export * from "libs/reach/ui/common/src/LegacyDialog";
|
|
@@ -5868,16 +5937,33 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
5868
5937
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
5869
5938
|
export * from "libs/reach/ui/common/src/reach-2/index";
|
|
5870
5939
|
}
|
|
5940
|
+
declare module "libs/reach/feature/content/src/comments/CommentContentUtils" {
|
|
5941
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5942
|
+
type Link = {
|
|
5943
|
+
url: string;
|
|
5944
|
+
label?: string;
|
|
5945
|
+
};
|
|
5946
|
+
export interface Match {
|
|
5947
|
+
fullMatch: string;
|
|
5948
|
+
isLineBreak: boolean;
|
|
5949
|
+
link: Link;
|
|
5950
|
+
mention: {
|
|
5951
|
+
name: string;
|
|
5952
|
+
id: string;
|
|
5953
|
+
};
|
|
5954
|
+
hashtag: string;
|
|
5955
|
+
}
|
|
5956
|
+
export function transformContent(content: string): (Match | string)[];
|
|
5957
|
+
export function constructUserMention(user: Account): string;
|
|
5958
|
+
}
|
|
5871
5959
|
declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
5872
5960
|
import { FC } from 'react';
|
|
5873
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
5874
5961
|
export enum ContentDisplayHandler {
|
|
5875
5962
|
Link = 0,
|
|
5876
5963
|
Mention = 1,
|
|
5877
5964
|
Hashtag = 2,
|
|
5878
5965
|
LineBreak = 3
|
|
5879
5966
|
}
|
|
5880
|
-
export function constructUserMention(user: Account): string;
|
|
5881
5967
|
export const ContentDisplay: FC<{
|
|
5882
5968
|
content: string;
|
|
5883
5969
|
handlers: ContentDisplayHandler[];
|
|
@@ -7953,13 +8039,16 @@ declare module "libs/reach/feature/content/src/comments/ThreadContext" {
|
|
|
7953
8039
|
}
|
|
7954
8040
|
declare module "libs/reach/feature/content/src/comments/useCommentsPageLoader" {
|
|
7955
8041
|
import { Comment, ConversationScope, ItemResourceTypes, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8042
|
+
type commentType = Comment & {
|
|
8043
|
+
isNewComment?: boolean;
|
|
8044
|
+
};
|
|
7956
8045
|
type isLoadingType = boolean;
|
|
7957
8046
|
type hasNextPageType = boolean;
|
|
7958
8047
|
type loadNextPageType = () => unknown;
|
|
7959
|
-
type setCommentsType = (updateComments: (prevComments:
|
|
8048
|
+
type setCommentsType = (updateComments: (prevComments: commentType[]) => commentType[]) => unknown;
|
|
7960
8049
|
type hasMoreUnreadCommentsType = boolean;
|
|
7961
|
-
export function useCommentsPageLoader(type: ItemResourceTypes, scope: ConversationScope, itemId: string, pageSize: number, initialPageSize: number, initialComments?: PaginatedList<
|
|
7962
|
-
|
|
8050
|
+
export function useCommentsPageLoader(type: ItemResourceTypes, scope: ConversationScope, itemId: string, pageSize: number, initialPageSize: number, initialComments?: PaginatedList<commentType>, preventLoading?: boolean, threadId?: string, shouldNotRefreshUserDetails?: boolean, shouldNotReverseOrder?: boolean): [
|
|
8051
|
+
commentType[],
|
|
7963
8052
|
isLoadingType,
|
|
7964
8053
|
hasNextPageType,
|
|
7965
8054
|
loadNextPageType,
|
|
@@ -7983,6 +8072,7 @@ declare module "libs/reach/feature/content/src/comments/index" {
|
|
|
7983
8072
|
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
7984
8073
|
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
7985
8074
|
export * from "libs/reach/feature/content/src/comments/useCommentsPageLoader";
|
|
8075
|
+
export * from "libs/reach/feature/content/src/comments/CommentContentUtils";
|
|
7986
8076
|
}
|
|
7987
8077
|
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
7988
8078
|
import { FC } from 'react';
|
|
@@ -10682,8 +10772,10 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/Bookmark
|
|
|
10682
10772
|
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ContextMenuButton" {
|
|
10683
10773
|
import { FC } from 'react';
|
|
10684
10774
|
export const ContextMenuButton: FC<{
|
|
10775
|
+
buttons: (dismiss: () => void) => JSX.Element;
|
|
10685
10776
|
onDismiss?: () => void;
|
|
10686
10777
|
size?: number;
|
|
10778
|
+
disabled?: boolean;
|
|
10687
10779
|
className?: string;
|
|
10688
10780
|
}>;
|
|
10689
10781
|
}
|
|
@@ -10694,6 +10786,9 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentHeader" {
|
|
|
10694
10786
|
sender: Account;
|
|
10695
10787
|
receivedDateTime: string;
|
|
10696
10788
|
modifiedTime?: string;
|
|
10789
|
+
onEdit?: () => void;
|
|
10790
|
+
onDelete?: () => void;
|
|
10791
|
+
readonly?: boolean;
|
|
10697
10792
|
}>;
|
|
10698
10793
|
}
|
|
10699
10794
|
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/BaseLikeButton" {
|
|
@@ -10725,10 +10820,35 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentMetadata"
|
|
|
10725
10820
|
comment: Comment;
|
|
10726
10821
|
}>;
|
|
10727
10822
|
}
|
|
10823
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/EnhancedRichTextEditor" {
|
|
10824
|
+
import { FC } from 'react';
|
|
10825
|
+
import { Editor } from '@tiptap/react';
|
|
10826
|
+
import { Editor as IEditor, FocusPosition } from '@tiptap/core';
|
|
10827
|
+
export const editorCharacterLimit = 1000;
|
|
10828
|
+
export const EnhancedRichTextEditor: FC<{
|
|
10829
|
+
initialContent: string;
|
|
10830
|
+
isReadOnly?: boolean;
|
|
10831
|
+
header?: JSX.Element;
|
|
10832
|
+
main: (editor: Editor) => JSX.Element;
|
|
10833
|
+
footer?: (content: string | null, clearContent: () => void) => JSX.Element;
|
|
10834
|
+
placeholder?: string;
|
|
10835
|
+
onCreate?: (editor: IEditor) => void;
|
|
10836
|
+
autofocus?: FocusPosition;
|
|
10837
|
+
className?: string;
|
|
10838
|
+
}>;
|
|
10839
|
+
}
|
|
10840
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/RichTextEditor" {
|
|
10841
|
+
import { FC } from 'react';
|
|
10842
|
+
import { Editor } from '@tiptap/react';
|
|
10843
|
+
export const RichTextEditor: FC<{
|
|
10844
|
+
editor: Editor;
|
|
10845
|
+
hideCount?: boolean;
|
|
10846
|
+
className?: string;
|
|
10847
|
+
}>;
|
|
10848
|
+
}
|
|
10728
10849
|
declare module "libs/reach/feature/content/src/reach-2/comments/CommentContent" {
|
|
10729
10850
|
import { FC } from 'react';
|
|
10730
10851
|
export const CommentContent: FC<{
|
|
10731
|
-
domIdentifier: string;
|
|
10732
10852
|
content: string;
|
|
10733
10853
|
className?: string;
|
|
10734
10854
|
}>;
|
|
@@ -10738,71 +10858,56 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentDisplay"
|
|
|
10738
10858
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
10739
10859
|
export const CommentDisplay: FC<{
|
|
10740
10860
|
comment: Comment;
|
|
10861
|
+
onEdit?: () => void;
|
|
10862
|
+
onDelete?: () => void;
|
|
10863
|
+
readonly?: boolean;
|
|
10864
|
+
className?: string;
|
|
10741
10865
|
}>;
|
|
10742
10866
|
}
|
|
10743
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/
|
|
10744
|
-
|
|
10745
|
-
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10746
|
-
export const CommentsList: FC<{
|
|
10747
|
-
itemResourceType: ItemResourceTypes;
|
|
10748
|
-
scope: ConversationScope;
|
|
10749
|
-
itemId: string;
|
|
10750
|
-
}>;
|
|
10867
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/useTransformedCommentContent" {
|
|
10868
|
+
export function useTransformedCommentContent(commentContent?: string): string;
|
|
10751
10869
|
}
|
|
10752
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10870
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar" {
|
|
10753
10871
|
import { FC } from 'react';
|
|
10754
|
-
import {
|
|
10755
|
-
export const
|
|
10756
|
-
|
|
10757
|
-
scope: ConversationScope;
|
|
10758
|
-
itemId: string;
|
|
10759
|
-
commentCount?: number;
|
|
10760
|
-
isVertical?: boolean;
|
|
10761
|
-
className?: string;
|
|
10872
|
+
import { Editor } from '@tiptap/react';
|
|
10873
|
+
export const CommentFormattingToolbar: FC<{
|
|
10874
|
+
editor: Editor;
|
|
10762
10875
|
}>;
|
|
10763
10876
|
}
|
|
10764
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10877
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditor" {
|
|
10765
10878
|
import { FC } from 'react';
|
|
10766
|
-
import {
|
|
10767
|
-
export const
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButton" {
|
|
10775
|
-
import { FC, SVGProps } from 'react';
|
|
10776
|
-
export const ShareButton: FC<{
|
|
10777
|
-
onClick: () => void;
|
|
10778
|
-
secondarySVG?: SVGProps<SVGElement>;
|
|
10879
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10880
|
+
export const CommentEditor: FC<{
|
|
10881
|
+
comment?: Comment;
|
|
10882
|
+
isReadOnly?: boolean;
|
|
10883
|
+
onSave: (newContent: string, clearContent: () => void) => void;
|
|
10884
|
+
onCancel: () => void;
|
|
10885
|
+
title?: string;
|
|
10886
|
+
autofocus?: boolean;
|
|
10779
10887
|
className?: string;
|
|
10780
10888
|
}>;
|
|
10781
10889
|
}
|
|
10782
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10890
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CreateCommentButton" {
|
|
10783
10891
|
import { FC } from 'react';
|
|
10784
|
-
|
|
10785
|
-
|
|
10892
|
+
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
10893
|
+
export const CreateCommentButton: FC<{
|
|
10894
|
+
parentItemId: string;
|
|
10895
|
+
scope: ConversationScope;
|
|
10896
|
+
onCommentAdded?: (newComment: Comment, clearContent: () => void) => Promise<void>;
|
|
10897
|
+
onToggleEditor?: (showEditor: boolean) => void;
|
|
10898
|
+
isMobile?: boolean;
|
|
10786
10899
|
className?: string;
|
|
10787
10900
|
}>;
|
|
10788
10901
|
}
|
|
10789
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10902
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CommentsList" {
|
|
10790
10903
|
import { FC } from 'react';
|
|
10791
|
-
|
|
10792
|
-
|
|
10904
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10905
|
+
export const CommentsList: FC<{
|
|
10906
|
+
itemResourceType: ItemResourceTypes;
|
|
10907
|
+
scope: ConversationScope;
|
|
10908
|
+
itemId: string;
|
|
10793
10909
|
}>;
|
|
10794
10910
|
}
|
|
10795
|
-
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/index" {
|
|
10796
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/BookmarkButton";
|
|
10797
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/CommentButton";
|
|
10798
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ItemLikeButton";
|
|
10799
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButton";
|
|
10800
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButtonWithCallout";
|
|
10801
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ContextMenuButton";
|
|
10802
|
-
}
|
|
10803
|
-
declare module "libs/reach/feature/content/src/reach-2/buttons/index" {
|
|
10804
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/index";
|
|
10805
|
-
}
|
|
10806
10911
|
declare module "libs/reach/feature/content/src/reach-2/common/detail/header/HeaderMetadata" {
|
|
10807
10912
|
import { FC } from 'react';
|
|
10808
10913
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
@@ -10828,6 +10933,21 @@ declare module "libs/reach/feature/content/src/reach-2/common/detail/ItemAuthorA
|
|
|
10828
10933
|
hasMargin?: boolean;
|
|
10829
10934
|
}, never>;
|
|
10830
10935
|
}
|
|
10936
|
+
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareLinkButton" {
|
|
10937
|
+
import { FC } from 'react';
|
|
10938
|
+
export const ShareLinkButton: FC<{
|
|
10939
|
+
permalink: string;
|
|
10940
|
+
className?: string;
|
|
10941
|
+
}>;
|
|
10942
|
+
}
|
|
10943
|
+
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButton" {
|
|
10944
|
+
import { FC, SVGProps } from 'react';
|
|
10945
|
+
export const ShareButton: FC<{
|
|
10946
|
+
onClick: () => void;
|
|
10947
|
+
secondarySVG?: SVGProps<SVGElement>;
|
|
10948
|
+
className?: string;
|
|
10949
|
+
}>;
|
|
10950
|
+
}
|
|
10831
10951
|
declare module "libs/reach/feature/content/src/reach-2/common/detail/DetailViewContextMenu" {
|
|
10832
10952
|
import { FC } from 'react';
|
|
10833
10953
|
export const DetailViewContextMenu: FC<{
|
|
@@ -10843,6 +10963,22 @@ declare module "libs/reach/feature/content/src/reach-2/common/detail/DetailViewF
|
|
|
10843
10963
|
import { FC } from 'react';
|
|
10844
10964
|
export const DetailViewFooter: FC;
|
|
10845
10965
|
}
|
|
10966
|
+
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ItemLikeButton" {
|
|
10967
|
+
import { FC } from 'react';
|
|
10968
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
10969
|
+
export const ItemLikeButton: FC<{
|
|
10970
|
+
item: PublishableItem;
|
|
10971
|
+
itemType: ItemResourceTypes;
|
|
10972
|
+
isVertical?: boolean;
|
|
10973
|
+
className?: string;
|
|
10974
|
+
}>;
|
|
10975
|
+
}
|
|
10976
|
+
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButtonWithCallout" {
|
|
10977
|
+
import { FC } from 'react';
|
|
10978
|
+
export const ShareButtonWithCallout: FC<{
|
|
10979
|
+
permalink: string;
|
|
10980
|
+
}>;
|
|
10981
|
+
}
|
|
10846
10982
|
declare module "libs/reach/feature/content/src/reach-2/common/detail/DetailViewFeedbackButtons" {
|
|
10847
10983
|
import { FC } from 'react';
|
|
10848
10984
|
export const DetailViewFeedbackButtons: FC<{
|
|
@@ -10967,6 +11103,29 @@ declare module "libs/reach/feature/content/src/reach-2/common/index" {
|
|
|
10967
11103
|
export * from "libs/reach/feature/content/src/reach-2/common/feedback/index";
|
|
10968
11104
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/index";
|
|
10969
11105
|
}
|
|
11106
|
+
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/CommentButton" {
|
|
11107
|
+
import { FC } from 'react';
|
|
11108
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11109
|
+
export const CommentButton: FC<{
|
|
11110
|
+
itemResourceType: ItemResourceTypes;
|
|
11111
|
+
scope: ConversationScope;
|
|
11112
|
+
itemId: string;
|
|
11113
|
+
commentCount?: number;
|
|
11114
|
+
isVertical?: boolean;
|
|
11115
|
+
className?: string;
|
|
11116
|
+
}>;
|
|
11117
|
+
}
|
|
11118
|
+
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/index" {
|
|
11119
|
+
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/BookmarkButton";
|
|
11120
|
+
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/CommentButton";
|
|
11121
|
+
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ItemLikeButton";
|
|
11122
|
+
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButton";
|
|
11123
|
+
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButtonWithCallout";
|
|
11124
|
+
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ContextMenuButton";
|
|
11125
|
+
}
|
|
11126
|
+
declare module "libs/reach/feature/content/src/reach-2/buttons/index" {
|
|
11127
|
+
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/index";
|
|
11128
|
+
}
|
|
10970
11129
|
declare module "libs/reach/feature/content/src/reach-2/index" {
|
|
10971
11130
|
export * from "libs/reach/feature/content/src/reach-2/buttons/index";
|
|
10972
11131
|
export * from "libs/reach/feature/content/src/reach-2/common/index";
|