@aws-amplify/ui-react-native 1.2.16 → 1.2.18
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/CHANGELOG.md +19 -0
- package/dist/InAppMessaging/components/BannerMessage/types.d.ts +1 -1
- package/dist/InAppMessaging/components/CarouselMessage/types.d.ts +1 -1
- package/dist/InAppMessaging/components/FullScreenMessage/types.d.ts +1 -1
- package/dist/InAppMessaging/components/InAppMessageDisplay/InAppMessageDisplay.js +1 -1
- package/dist/InAppMessaging/components/InAppMessageDisplay/handleMessageLinkAction.d.ts +1 -1
- package/dist/InAppMessaging/components/InAppMessageDisplay/types.d.ts +1 -1
- package/dist/InAppMessaging/components/MessageLayout/types.d.ts +1 -1
- package/dist/InAppMessaging/components/ModalMessage/types.d.ts +1 -1
- package/dist/InAppMessaging/components/withInAppMessaging/withInAppMessaging.js +1 -1
- package/dist/InAppMessaging/hooks/useMessageImage/useMessageImage.d.ts +1 -1
- package/dist/InAppMessaging/hooks/useMessageImage/utils.d.ts +1 -1
- package/dist/InAppMessaging/hooks/useMessageProps/types.d.ts +1 -1
- package/dist/InAppMessaging/hooks/useMessageProps/useMessageProps.d.ts +1 -1
- package/dist/InAppMessaging/hooks/useMessageProps/utils.d.ts +1 -1
- package/dist/InAppMessaging/index.d.ts +1 -1
- package/dist/InAppMessaging/index.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
- package/src/InAppMessaging/components/BannerMessage/types.ts +1 -1
- package/src/InAppMessaging/components/CarouselMessage/CarouselMessage.tsx +1 -1
- package/src/InAppMessaging/components/CarouselMessage/types.ts +1 -1
- package/src/InAppMessaging/components/FullScreenMessage/types.ts +1 -1
- package/src/InAppMessaging/components/InAppMessageDisplay/InAppMessageDisplay.tsx +1 -1
- package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/InAppMessageDisplay.spec.tsx +5 -2
- package/src/InAppMessaging/components/InAppMessageDisplay/handleMessageLinkAction.ts +1 -1
- package/src/InAppMessaging/components/InAppMessageDisplay/types.ts +1 -1
- package/src/InAppMessaging/components/MessageLayout/types.ts +1 -1
- package/src/InAppMessaging/components/ModalMessage/types.ts +1 -1
- package/src/InAppMessaging/components/withInAppMessaging/withInAppMessaging.tsx +1 -1
- package/src/InAppMessaging/hooks/useMessageImage/__tests__/useMessageImage.spec.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageImage/useMessageImage.ts +4 -1
- package/src/InAppMessaging/hooks/useMessageImage/utils.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageProps/__tests__/useMessageProps.spec.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageProps/__tests__/utils.spec.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageProps/types.ts +4 -1
- package/src/InAppMessaging/hooks/useMessageProps/useMessageProps.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageProps/utils.ts +1 -1
- package/src/InAppMessaging/index.ts +1 -1
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @aws-amplify/ui-react-native
|
|
2
2
|
|
|
3
|
+
## 1.2.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3901](https://github.com/aws-amplify/amplify-ui/pull/3901) [`7f59b3c4d`](https://github.com/aws-amplify/amplify-ui/commit/7f59b3c4dd27205a35c1b07ddc0f06a0db9de776) Thanks [@sreeramsama](https://github.com/sreeramsama)! - - Adds new `ui-react-core-notifications` package for utilities related to the Notifications category, and new `ui-react-notifications` package for components like InAppMessaging. Also sets deprecation messages for `InAppMessagingDisplay`, `InAppMessagingProvider` and `useInAppMessaging` in `ui-react` package as they will be moved out in a future breaking change release.
|
|
8
|
+
- Adds new `ui-react-geo` package for Geo related components like `MapView` and `LocationSearch`. They will be moved out from `ui-react` in a future breaking change release.
|
|
9
|
+
- Updated dependencies [[`7f59b3c4d`](https://github.com/aws-amplify/amplify-ui/commit/7f59b3c4dd27205a35c1b07ddc0f06a0db9de776), [`ca591a2fc`](https://github.com/aws-amplify/amplify-ui/commit/ca591a2fc319556f705be74bacd141d48f3531bd)]:
|
|
10
|
+
- @aws-amplify/ui-react-core-notifications@1.0.0
|
|
11
|
+
- @aws-amplify/ui-react-core@2.1.23
|
|
12
|
+
- @aws-amplify/ui@5.6.4
|
|
13
|
+
|
|
14
|
+
## 1.2.17
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`62425139f`](https://github.com/aws-amplify/amplify-ui/commit/62425139fb5e41a3b36b46aac1d31b965a2739fc)]:
|
|
19
|
+
- @aws-amplify/ui@5.6.3
|
|
20
|
+
- @aws-amplify/ui-react-core@2.1.22
|
|
21
|
+
|
|
3
22
|
## 1.2.16
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewStyle } from 'react-native';
|
|
2
|
-
import { BannerMessageCommonProps } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { BannerMessageCommonProps } from '@aws-amplify/ui-react-core-notifications';
|
|
3
3
|
import { MessageDefaultStyle, MessageOverrideStyle } from '../../hooks';
|
|
4
4
|
export interface BannerMessageProps extends BannerMessageCommonProps<MessageOverrideStyle | undefined> {
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
import { CarouselMessageCommonProps, MessageComponentBaseProps } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { CarouselMessageCommonProps, MessageComponentBaseProps } from '@aws-amplify/ui-react-core-notifications';
|
|
3
3
|
import { MessageDefaultStyle, MessageOverrideStyle } from '../../hooks';
|
|
4
4
|
interface CarouselMessageOverrideStyle extends MessageOverrideStyle {
|
|
5
5
|
pageIndicatorActive?: StyleProp<ViewStyle>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FullScreenMessageCommonProps } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { FullScreenMessageCommonProps } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { MessageDefaultStyle, MessageOverrideStyle } from '../../hooks';
|
|
3
3
|
export interface FullScreenMessageProps extends FullScreenMessageCommonProps<MessageOverrideStyle | undefined> {
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { handleMessageAction, useMessage, } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { handleMessageAction, useMessage, } from '@aws-amplify/ui-react-core-notifications';
|
|
3
3
|
import { BannerMessage } from '../BannerMessage';
|
|
4
4
|
import { FullScreenMessage } from '../FullScreenMessage';
|
|
5
5
|
import { CarouselMessage } from '../CarouselMessage';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BannerMessageComponent, CarouselMessageComponent, FullScreenMessageComponent, ModalMessageComponent } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { BannerMessageComponent, CarouselMessageComponent, FullScreenMessageComponent, ModalMessageComponent } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { BannerMessageProps } from '../BannerMessage';
|
|
3
3
|
import { CarouselMessageProps } from '../CarouselMessage';
|
|
4
4
|
import { FullScreenMessageProps } from '../FullScreenMessage';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MessageComponentBaseProps } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { MessageComponentBaseProps } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { DeviceOrientation } from '../../../hooks';
|
|
3
3
|
import { MessageComponentStyles, MessageOverrideStyle, UseMessageProps } from '../../hooks';
|
|
4
4
|
export interface LayoutProps extends Omit<MessageComponentBaseProps<MessageOverrideStyle>, 'style'>, Omit<UseMessageProps, 'shouldRenderMessage' | 'styles'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModalMessageCommonProps } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { ModalMessageCommonProps } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { MessageDefaultStyle, MessageOverrideStyle } from '../../hooks';
|
|
3
3
|
export interface ModalMessageProps extends ModalMessageCommonProps<MessageOverrideStyle | undefined> {
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { InAppMessagingProvider } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { InAppMessagingProvider } from '@aws-amplify/ui-react-core-notifications';
|
|
3
3
|
import { InAppMessageDisplay } from '../InAppMessageDisplay';
|
|
4
4
|
export default function withInAppMessaging(Component, options) {
|
|
5
5
|
return function WrappedWithInAppMessaging(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MessageImage, MessageLayout } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { MessageImage, MessageLayout } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { UseMessageImage } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Handles prefetching and dimension setting for message images
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MessageLayout } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { MessageLayout } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { ImageDimensions, ImageLoadingState } from './types';
|
|
3
3
|
export declare const prefetchNetworkImage: (url: string) => Promise<ImageLoadingState>;
|
|
4
4
|
export declare const getLayoutImageDimensions: (imageHeight: number, imageWidth: number, layout: MessageLayout) => ImageDimensions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColorValue, ImageStyle, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
2
|
-
import { MessageLayout, MessagePayloadStyle } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { MessageLayout, MessagePayloadStyle } from '@aws-amplify/ui-react-core-notifications';
|
|
3
3
|
import { ButtonProps } from '../../../primitives';
|
|
4
4
|
import { ImageDimensions } from '../useMessageImage';
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MessageComponentBaseProps } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { MessageComponentBaseProps } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { GetDefaultStyle, MessageOverrideStyle, UseMessageProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Handle common message UI component prop logic including setting of image dimensions,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MessageComponentBaseProps, MessageLayout, MessagePayloadStyle } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { MessageComponentBaseProps, MessageLayout, MessagePayloadStyle } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { MessageButtonStyleParams, MessageButtonStyleProps, MessageComponentStyles, MessageContainerAndWrapperStyle, MessageStyleParams } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Parse and assign appropriate button container and text style from style objects params
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InAppMessagingProvider, useInAppMessaging, } from '@aws-amplify/ui-react-core';
|
|
1
|
+
export { InAppMessagingProvider, useInAppMessaging, } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
export { BannerMessageProps, CarouselMessageProps, FullScreenMessageProps, ModalMessageProps, InAppMessageDisplay, MessageComponents, withInAppMessaging, } from './components';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InAppMessagingProvider, useInAppMessaging, } from '@aws-amplify/ui-react-core';
|
|
1
|
+
export { InAppMessagingProvider, useInAppMessaging, } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
export { InAppMessageDisplay, withInAppMessaging, } from './components';
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.2.
|
|
1
|
+
export declare const VERSION = "1.2.18";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.2.
|
|
1
|
+
export const VERSION = '1.2.18';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-native",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.18",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,8 +37,9 @@
|
|
|
37
37
|
"rimraf": "^3.0.2"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@aws-amplify/ui": "5.6.
|
|
41
|
-
"@aws-amplify/ui-react-core": "2.1.
|
|
40
|
+
"@aws-amplify/ui": "5.6.4",
|
|
41
|
+
"@aws-amplify/ui-react-core": "2.1.23",
|
|
42
|
+
"@aws-amplify/ui-react-core-notifications": "1.0.0"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"aws-amplify": ">= 5.0.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewStyle } from 'react-native';
|
|
2
|
-
import { BannerMessageCommonProps } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { BannerMessageCommonProps } from '@aws-amplify/ui-react-core-notifications';
|
|
3
3
|
|
|
4
4
|
import { MessageDefaultStyle, MessageOverrideStyle } from '../../hooks';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
|
-
import { MessageContentProps } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { MessageContentProps } from '@aws-amplify/ui-react-core-notifications';
|
|
3
3
|
|
|
4
4
|
import { Carousel } from '../../../primitives';
|
|
5
5
|
import { IN_APP_MESSAGING_TEST_ID } from '../../constants';
|
|
@@ -3,7 +3,7 @@ import { StyleProp, ViewStyle } from 'react-native';
|
|
|
3
3
|
import {
|
|
4
4
|
CarouselMessageCommonProps,
|
|
5
5
|
MessageComponentBaseProps,
|
|
6
|
-
} from '@aws-amplify/ui-react-core';
|
|
6
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
7
7
|
|
|
8
8
|
import { MessageDefaultStyle, MessageOverrideStyle } from '../../hooks';
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FullScreenMessageCommonProps } from '@aws-amplify/ui-react-core';
|
|
1
|
+
import { FullScreenMessageCommonProps } from '@aws-amplify/ui-react-core-notifications';
|
|
2
2
|
import { MessageDefaultStyle, MessageOverrideStyle } from '../../hooks';
|
|
3
3
|
|
|
4
4
|
export interface FullScreenMessageProps
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
handleMessageAction,
|
|
5
5
|
OnMessageAction,
|
|
6
6
|
useMessage,
|
|
7
|
-
} from '@aws-amplify/ui-react-core';
|
|
7
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
8
8
|
|
|
9
9
|
import { BannerMessage } from '../BannerMessage';
|
|
10
10
|
import { FullScreenMessage } from '../FullScreenMessage';
|
package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/InAppMessageDisplay.spec.tsx
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Text, View } from 'react-native';
|
|
3
3
|
import { render } from '@testing-library/react-native';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
MessageLayout,
|
|
6
|
+
useMessage,
|
|
7
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
5
8
|
|
|
6
9
|
import InAppMessageDisplay from '../InAppMessageDisplay';
|
|
7
10
|
|
|
8
|
-
jest.mock('@aws-amplify/ui-react-core');
|
|
11
|
+
jest.mock('@aws-amplify/ui-react-core-notifications');
|
|
9
12
|
|
|
10
13
|
const mockUseMessage = useMessage as jest.Mock;
|
|
11
14
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Linking } from 'react-native';
|
|
2
2
|
import { ConsoleLogger as Logger } from '@aws-amplify/core';
|
|
3
|
-
import { HandleMessageLinkAction } from '@aws-amplify/ui-react-core';
|
|
3
|
+
import { HandleMessageLinkAction } from '@aws-amplify/ui-react-core-notifications';
|
|
4
4
|
|
|
5
5
|
const logger = new Logger('Notifications.InAppMessaging');
|
|
6
6
|
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CarouselMessageComponent,
|
|
4
4
|
FullScreenMessageComponent,
|
|
5
5
|
ModalMessageComponent,
|
|
6
|
-
} from '@aws-amplify/ui-react-core';
|
|
6
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
7
7
|
|
|
8
8
|
import { BannerMessageProps } from '../BannerMessage';
|
|
9
9
|
import { CarouselMessageProps } from '../CarouselMessage';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Image } from 'react-native';
|
|
2
2
|
import { renderHook } from '@testing-library/react-hooks';
|
|
3
3
|
import { ConsoleLogger as Logger } from '@aws-amplify/core';
|
|
4
|
-
import { MessageImage } from '@aws-amplify/ui-react-core';
|
|
4
|
+
import { MessageImage } from '@aws-amplify/ui-react-core-notifications';
|
|
5
5
|
|
|
6
6
|
import { getLayoutImageDimensions, prefetchNetworkImage } from '../utils';
|
|
7
7
|
import useMessageImage from '../useMessageImage';
|
|
@@ -2,7 +2,10 @@ import { useEffect, useRef, useState } from 'react';
|
|
|
2
2
|
import { Image } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { ConsoleLogger as Logger } from '@aws-amplify/core';
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
MessageImage,
|
|
7
|
+
MessageLayout,
|
|
8
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
6
9
|
|
|
7
10
|
import { ImageDimensions, ImagePrefetchStatus, UseMessageImage } from './types';
|
|
8
11
|
import { getLayoutImageDimensions, prefetchNetworkImage } from './utils';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Image } from 'react-native';
|
|
2
2
|
import { ConsoleLogger as Logger } from '@aws-amplify/core';
|
|
3
|
-
import { MessageLayout } from '@aws-amplify/ui-react-core';
|
|
3
|
+
import { MessageLayout } from '@aws-amplify/ui-react-core-notifications';
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
BANNER_IMAGE_SCREEN_SIZE,
|
|
@@ -2,7 +2,7 @@ import { renderHook } from '@testing-library/react-hooks';
|
|
|
2
2
|
import {
|
|
3
3
|
MessageButtonProps,
|
|
4
4
|
MessageComponentBaseProps,
|
|
5
|
-
} from '@aws-amplify/ui-react-core';
|
|
5
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
6
6
|
|
|
7
7
|
import { useMessageImage } from '../../useMessageImage';
|
|
8
8
|
import { MessageOverrideStyle } from '../types';
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MessageComponentBaseProps,
|
|
5
5
|
MessageLayout,
|
|
6
6
|
MessageTextAlign,
|
|
7
|
-
} from '@aws-amplify/ui-react-core';
|
|
7
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
8
8
|
import { BUTTON_PRESSED_OPACITY } from '../../../constants';
|
|
9
9
|
import { MessageDefaultStyle } from '../types';
|
|
10
10
|
import { StyleParams } from '../types';
|
|
@@ -5,7 +5,10 @@ import {
|
|
|
5
5
|
TextStyle,
|
|
6
6
|
ViewStyle,
|
|
7
7
|
} from 'react-native';
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
MessageLayout,
|
|
10
|
+
MessagePayloadStyle,
|
|
11
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
9
12
|
|
|
10
13
|
import { ButtonProps } from '../../../primitives';
|
|
11
14
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEffect, useMemo, useRef } from 'react';
|
|
2
2
|
import { isEmpty } from '@aws-amplify/ui';
|
|
3
|
-
import { MessageComponentBaseProps } from '@aws-amplify/ui-react-core';
|
|
3
|
+
import { MessageComponentBaseProps } from '@aws-amplify/ui-react-core-notifications';
|
|
4
4
|
|
|
5
5
|
import { useMessageImage } from '../useMessageImage';
|
|
6
6
|
import {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MessageComponentBaseProps,
|
|
5
5
|
MessageLayout,
|
|
6
6
|
MessagePayloadStyle,
|
|
7
|
-
} from '@aws-amplify/ui-react-core';
|
|
7
|
+
} from '@aws-amplify/ui-react-core-notifications';
|
|
8
8
|
|
|
9
9
|
import { DEFAULT_CAROUSEL_INDICATOR_SIZE } from '../../../primitives';
|
|
10
10
|
import { BUTTON_PRESSED_OPACITY, SPACING_EXTRA_LARGE } from '../../constants';
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.2.
|
|
1
|
+
export const VERSION = '1.2.18';
|