@livetiles/reach-plugin-types 0.4.0-preview.664 → 0.4.0-preview.668
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 +24 -13
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4307,13 +4307,6 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4307
4307
|
className?: string;
|
|
4308
4308
|
}>;
|
|
4309
4309
|
}
|
|
4310
|
-
declare module "libs/reach/ui/common/src/common/hooks/usePageViewTracker" {
|
|
4311
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4312
|
-
export enum PageViewType {
|
|
4313
|
-
PostsGroupView = "PostsGroupView"
|
|
4314
|
-
}
|
|
4315
|
-
export function usePageViewTracker(basePath: ItemResourceTypes | string, itemId: string, viewType?: PageViewType): void;
|
|
4316
|
-
}
|
|
4317
4310
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4318
4311
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4319
4312
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4746,7 +4739,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4746
4739
|
export * from "libs/reach/ui/common/src/common/gif/GifList";
|
|
4747
4740
|
export * from "libs/reach/ui/common/src/common/gif/GifView";
|
|
4748
4741
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4749
|
-
export * from "libs/reach/ui/common/src/common/hooks/usePageViewTracker";
|
|
4750
4742
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4751
4743
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
4752
4744
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
@@ -7052,7 +7044,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
7052
7044
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
7053
7045
|
};
|
|
7054
7046
|
}
|
|
7055
|
-
declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator" {
|
|
7047
|
+
declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectValidator" {
|
|
7056
7048
|
import { EmbeddedObject } from "libs/reach/util/common/src/index";
|
|
7057
7049
|
export function useEmbeddedObjectValidator(): (embeddedObject: EmbeddedObject) => Promise<boolean>;
|
|
7058
7050
|
}
|
|
@@ -7779,7 +7771,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineFileList" {
|
|
|
7779
7771
|
}
|
|
7780
7772
|
export const InlineFileMapper: HtmlComponentMapper;
|
|
7781
7773
|
}
|
|
7782
|
-
declare module "libs/reach/feature/content/src/common/useExternalContentHandler" {
|
|
7774
|
+
declare module "libs/reach/feature/content/src/common/hooks/useExternalContentHandler" {
|
|
7783
7775
|
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7784
7776
|
export function useExternalContentHandler(): (item: PublishableItem, itemType: ItemResourceTypes, openInNewTab?: boolean) => Promise<boolean>;
|
|
7785
7777
|
export function useExternalContentClickHandler(): (e: React.MouseEvent<any>, item: PublishableItem, itemType: ItemResourceTypes) => Promise<void>;
|
|
@@ -9297,6 +9289,13 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9297
9289
|
className?: string;
|
|
9298
9290
|
}>;
|
|
9299
9291
|
}
|
|
9292
|
+
declare module "libs/reach/feature/content/src/common/hooks/usePageViewTracker" {
|
|
9293
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9294
|
+
export enum PageViewType {
|
|
9295
|
+
PostsGroupView = "PostsGroupView"
|
|
9296
|
+
}
|
|
9297
|
+
export function usePageViewTracker(basePath: ItemResourceTypes | string, itemId: string, viewType?: PageViewType): void;
|
|
9298
|
+
}
|
|
9300
9299
|
declare module "libs/reach/feature/content/src/comments/ThreadView" {
|
|
9301
9300
|
import { FC } from 'react';
|
|
9302
9301
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -9636,6 +9635,16 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9636
9635
|
import { FC } from 'react';
|
|
9637
9636
|
export const DetailViewHeadline: FC;
|
|
9638
9637
|
}
|
|
9638
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext" {
|
|
9639
|
+
import { FC } from 'react';
|
|
9640
|
+
export interface PageViewTrackerSettings {
|
|
9641
|
+
disabled?: boolean;
|
|
9642
|
+
}
|
|
9643
|
+
export const PageViewTrackerSettingsContext: import("react").Context<PageViewTrackerSettings>;
|
|
9644
|
+
export const PageViewTrackerSettingsContextProvider: FC<{
|
|
9645
|
+
disabled?: boolean;
|
|
9646
|
+
}>;
|
|
9647
|
+
}
|
|
9639
9648
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
9640
9649
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9641
9650
|
export const StateIcon: React.FC<{
|
|
@@ -9645,7 +9654,7 @@ declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
|
9645
9654
|
activeColor?: string;
|
|
9646
9655
|
}>;
|
|
9647
9656
|
}
|
|
9648
|
-
declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
9657
|
+
declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi" {
|
|
9649
9658
|
import { ItemResourceTypes, PaginatedList, TaskSummary } from "libs/reach/util/common/src/index";
|
|
9650
9659
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9651
9660
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
@@ -9719,7 +9728,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9719
9728
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9720
9729
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9721
9730
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9722
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9723
9731
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9724
9732
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9725
9733
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
@@ -9735,14 +9743,17 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9735
9743
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9736
9744
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9737
9745
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9746
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
9738
9747
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9739
9748
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9740
9749
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9741
9750
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9742
9751
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
9743
9752
|
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
9744
|
-
export * from "libs/reach/feature/content/src/common/useCommonEditorApi";
|
|
9745
9753
|
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
9754
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9755
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9756
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
9746
9757
|
}
|
|
9747
9758
|
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
9748
9759
|
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|