@inappstory/react-sdk 1.15.1 → 1.15.2
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/dist/index.esm.mjs +5 -5
- package/dist/index.esm.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/appearance-manager/appearanceCommon.d.ts +1 -1
- package/dist/types/appearance-manager/gameReader.d.ts +3 -6
- package/dist/types/appearance-manager/goodsWidget.d.ts +1 -1
- package/dist/types/appearance-manager/storiesList.d.ts +1 -1
- package/dist/types/appearance-manager/storyReader.d.ts +3 -3
- package/dist/types/ias-container/IasContainer.d.ts +4 -3
- package/dist/types/ias-container/appearanceOptionsProps.d.ts +1 -1
- package/dist/types/ias-container/storyManagerEventsProps.d.ts +1 -1
- package/dist/types/in-app-messaging/inAppMessaging.d.ts +1 -1
- package/dist/types/story-list/FavoriteStoryList.d.ts +3 -3
- package/dist/types/story-list/StoryList.d.ts +7 -7
- package/dist/types/story-list/UGCStoryList.d.ts +6 -6
- package/dist/types/story-list/favoriteCardCompositeViewModel.ts +1 -1
- package/dist/types/story-list/favoriteStoryCardViewModel.d.ts +1 -1
- package/dist/types/story-list/storyCardViewModel.d.ts +1 -1
- package/dist/types/storyManager.d.ts +3 -4
- package/package.json +1 -1
- package/plugins/banners/index.umd.js +1 -0
- package/plugins/banners/package.json +9 -1
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { CloseButtonPosition } from "./appearanceCommon";
|
|
2
|
-
import { RecursivePartial } from "../global";
|
|
3
|
-
import { SharePanel } from "./sharePanel";
|
|
4
|
-
import { CloseButtonPosition } from "./appearanceCommon";
|
|
5
|
-
import { RecursivePartial } from "../global";
|
|
6
|
-
import { SharePanel } from "./sharePanel";
|
|
1
|
+
import type { CloseButtonPosition } from "./appearanceCommon";
|
|
2
|
+
import type { RecursivePartial } from "../global";
|
|
3
|
+
import type { SharePanel } from "./sharePanel";
|
|
7
4
|
|
|
8
5
|
/**
|
|
9
6
|
* Appearance options for Game Reader.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CloseButtonPosition } from "./appearanceCommon";
|
|
2
|
-
import { SharePanel } from "./sharePanel";
|
|
3
|
-
import { Nullable, RecursivePartial } from "../global";
|
|
1
|
+
import type { CloseButtonPosition } from "./appearanceCommon";
|
|
2
|
+
import type { SharePanel } from "./sharePanel";
|
|
3
|
+
import type { Nullable, RecursivePartial } from "../global";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Defines the swipe animation style used when navigating between stories.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { StoryManagerConfig } from "..";
|
|
3
|
+
import type { StoryManagerEventsProps } from "./storyManagerEventsProps";
|
|
4
|
+
import type { AppearanceOptionsProps } from "./appearanceOptionsProps";
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Props interface for IASContainer component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StoriesListOptions, NavigationViewModel } from "..";
|
|
2
|
-
import { StoryCardViewModel } from "./storyCardViewModel";
|
|
3
|
-
import { OverrideByMediaQuery } from "../appearance-manager/overrideByMediaQuery";
|
|
1
|
+
import type { StoriesListOptions, NavigationViewModel } from "..";
|
|
2
|
+
import type { StoryCardViewModel } from "./storyCardViewModel";
|
|
3
|
+
import type { OverrideByMediaQuery } from "../appearance-manager/overrideByMediaQuery";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props for the FavoriteStoryList component that displays a user's favorite stories
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { NavigationViewModel } from "./navigationViewModel";
|
|
3
|
-
import { StoryCardViewModel } from "./storyCardViewModel";
|
|
4
|
-
import { StoryListLoadStatus } from "./storyListLoadStatus";
|
|
5
|
-
import { FavoriteCardCompositeViewModel } from "./favoriteCardCompositeViewModel";
|
|
6
|
-
import { StoryListApi } from "./storyListApi";
|
|
7
|
-
import { StoriesListOptions } from "../appearance-manager";
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { NavigationViewModel } from "./navigationViewModel";
|
|
3
|
+
import type { StoryCardViewModel } from "./storyCardViewModel";
|
|
4
|
+
import type { StoryListLoadStatus } from "./storyListLoadStatus";
|
|
5
|
+
import type { FavoriteCardCompositeViewModel } from "./favoriteCardCompositeViewModel";
|
|
6
|
+
import type { StoryListApi } from "./storyListApi";
|
|
7
|
+
import type { StoriesListOptions } from "../appearance-manager";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Props for the StoryList component that displays a list of stories previews
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StoriesListOptions } from "../appearance-manager";
|
|
3
|
-
import { NavigationViewModel } from "./navigationViewModel";
|
|
4
|
-
import { StoryCardViewModel } from "./storyCardViewModel";
|
|
5
|
-
import { StoryListApi } from "./storyListApi";
|
|
6
|
-
import { StoryListLoadStatus } from "./storyListLoadStatus";
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { StoriesListOptions } from "../appearance-manager";
|
|
3
|
+
import type { NavigationViewModel } from "./navigationViewModel";
|
|
4
|
+
import type { StoryCardViewModel } from "./storyCardViewModel";
|
|
5
|
+
import type { StoryListApi } from "./storyListApi";
|
|
6
|
+
import type { StoryListLoadStatus } from "./storyListLoadStatus";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props for the UGCStoryList component that displays user-generated content stories
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FavoriteStoryCardViewModel, StoryCardViewModel } from ".";
|
|
1
|
+
import type { FavoriteStoryCardViewModel, StoryCardViewModel } from ".";
|
|
2
2
|
|
|
3
3
|
export interface FavoriteCardCompositeViewModel extends StoryCardViewModel {
|
|
4
4
|
favoriteStories: FavoriteStoryCardViewModel[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoriesListCardOptions, StoriesListCardCoverQuality, StoriesListCardViewVariant } from "../appearance-manager";
|
|
1
|
+
import type { StoriesListCardOptions, StoriesListCardCoverQuality, StoriesListCardViewVariant } from "../appearance-manager";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Represents the view model for a story preview card in the stories list
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { StoryManagerEvents } from "./events";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Products } from "./products";
|
|
1
|
+
import type { StoryManagerEvents } from "./events";
|
|
2
|
+
import type { InAppMessaging } from "./in-app-messaging/inAppMessaging";
|
|
3
|
+
import type { Products } from "./products";
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Source of the link click within stories.
|