@livetiles/reach-plugin-types 0.4.0-preview.688 → 0.4.0-preview.690
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 +12 -3
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3095,6 +3095,7 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3095
3095
|
export const cardWidthXL = 423;
|
|
3096
3096
|
export const managePagesRowWidth = 300;
|
|
3097
3097
|
export const managePagesRowHeight = 40;
|
|
3098
|
+
export const mobilePreviewWidth = 414;
|
|
3098
3099
|
}
|
|
3099
3100
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3100
3101
|
import { FC, ReactNode } from 'react';
|
|
@@ -7759,6 +7760,7 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7759
7760
|
} | false;
|
|
7760
7761
|
}
|
|
7761
7762
|
declare module "libs/reach/feature/content/src/common/detail/DetailViewContext" {
|
|
7763
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
7762
7764
|
import { ItemResourceTypes, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7763
7765
|
export const DetailViewContext: import("react").Context<DetailViewContextType<PublishableItem>>;
|
|
7764
7766
|
export interface DetailViewContextType<TItem> {
|
|
@@ -7775,6 +7777,8 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7775
7777
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7776
7778
|
handleLanguageChange: (language: string) => unknown;
|
|
7777
7779
|
isEditorPreview?: boolean;
|
|
7780
|
+
isMobilePreview?: boolean;
|
|
7781
|
+
setIsMobilePreview?: Dispatch<SetStateAction<boolean>>;
|
|
7778
7782
|
}
|
|
7779
7783
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7780
7784
|
}
|
|
@@ -8994,6 +8998,7 @@ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
|
8994
8998
|
className?: string;
|
|
8995
8999
|
children?: ReactNode;
|
|
8996
9000
|
}>;
|
|
9001
|
+
export const ItemBodySmallScreenStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
8997
9002
|
}
|
|
8998
9003
|
declare module "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles" {
|
|
8999
9004
|
export const InlineActionButton: import("styled-components").StyledComponent<import("react").FC<import("@livetiles/reach/ui/common").TextLinkProps>, import("styled-components").DefaultTheme, {
|
|
@@ -9112,7 +9117,7 @@ declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider"
|
|
|
9112
9117
|
}>;
|
|
9113
9118
|
}
|
|
9114
9119
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewSectionPadding" {
|
|
9115
|
-
export const DetailViewSectionPadding: import("styled-components").FlattenSimpleInterpolation;
|
|
9120
|
+
export const DetailViewSectionPadding: (isMobilePreview?: boolean) => import("styled-components").FlattenSimpleInterpolation;
|
|
9116
9121
|
}
|
|
9117
9122
|
declare module "libs/reach/feature/content/src/feedback/PollResultFeedbackCount" {
|
|
9118
9123
|
import { FC } from 'react';
|
|
@@ -9123,7 +9128,9 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9123
9128
|
export const DetailViewPoll: FC;
|
|
9124
9129
|
export const StyledPollDisplay: import("styled-components").StyledComponent<FC<{
|
|
9125
9130
|
className?: string;
|
|
9126
|
-
}>, import("styled-components").DefaultTheme, {
|
|
9131
|
+
}>, import("styled-components").DefaultTheme, {
|
|
9132
|
+
isMobilePreview?: boolean;
|
|
9133
|
+
}, never>;
|
|
9127
9134
|
}
|
|
9128
9135
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
|
|
9129
9136
|
import { FC } from 'react';
|
|
@@ -9578,7 +9585,9 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9578
9585
|
}
|
|
9579
9586
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9580
9587
|
import { FC } from 'react';
|
|
9581
|
-
export const DetailMainSection: FC
|
|
9588
|
+
export const DetailMainSection: FC<{
|
|
9589
|
+
isMobilePreview?: boolean;
|
|
9590
|
+
}>;
|
|
9582
9591
|
}
|
|
9583
9592
|
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9584
9593
|
import { FC, ReactNode } from 'react';
|