@aws-amplify/ui-react-native 2.7.1 → 2.7.3

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.
@@ -1,2 +1,2 @@
1
1
  export * from './useFieldValues';
2
- export * from './types';
2
+ export type * from './types';
@@ -1,2 +1 @@
1
1
  export * from './useFieldValues';
2
- export * from './types';
@@ -1,3 +1,5 @@
1
+ // disable `@typescript-eslint/no-var-requires` for this file
2
+ // .png icons will be removed in favor of .svg icons
1
3
  const icons = {
2
4
  amazonLogo: require('./amazonLogo.png'),
3
5
  appleLogo: require('./appleLogo.png'),
@@ -1,6 +1,7 @@
1
1
  // disable `@typescript-eslint/no-var-requires` for this file
2
2
  // .png icons will be removed in favor of .svg icons
3
- /* eslint-disable @typescript-eslint/no-var-requires */
3
+
4
+ /* eslint-disable @typescript-eslint/no-require-imports */
4
5
  import type { ImageSourcePropType } from 'react-native';
5
6
 
6
7
  const icons = {
@@ -1,5 +1,5 @@
1
1
  export { createTheme } from './createTheme';
2
- export * from './types';
2
+ export type * from './types';
3
3
  export { useTheme } from './useTheme';
4
4
  export { ThemeProvider } from './ThemeProvider';
5
5
  export * from './defaultTheme';
@@ -1,5 +1,4 @@
1
1
  export { createTheme } from './createTheme';
2
- export * from './types';
3
2
  export { useTheme } from './useTheme';
4
3
  export { ThemeProvider } from './ThemeProvider';
5
4
  export * from './defaultTheme';
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "2.7.1";
1
+ export declare const VERSION = "2.7.3";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '2.7.1';
1
+ export const VERSION = '2.7.3';
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./useFieldValues"), exports);
5
- tslib_1.__exportStar(require("./types"), exports);
@@ -1,4 +1,6 @@
1
1
  "use strict";
2
+ // disable `@typescript-eslint/no-var-requires` for this file
3
+ // .png icons will be removed in favor of .svg icons
2
4
  Object.defineProperty(exports, "__esModule", { value: true });
3
5
  const icons = {
4
6
  amazonLogo: require('./amazonLogo.png'),
@@ -1,6 +1,7 @@
1
1
  // disable `@typescript-eslint/no-var-requires` for this file
2
2
  // .png icons will be removed in favor of .svg icons
3
- /* eslint-disable @typescript-eslint/no-var-requires */
3
+
4
+ /* eslint-disable @typescript-eslint/no-require-imports */
4
5
  import type { ImageSourcePropType } from 'react-native';
5
6
 
6
7
  const icons = {
@@ -4,7 +4,6 @@ exports.ThemeProvider = exports.useTheme = exports.createTheme = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  var createTheme_1 = require("./createTheme");
6
6
  Object.defineProperty(exports, "createTheme", { enumerable: true, get: function () { return createTheme_1.createTheme; } });
7
- tslib_1.__exportStar(require("./types"), exports);
8
7
  var useTheme_1 = require("./useTheme");
9
8
  Object.defineProperty(exports, "useTheme", { enumerable: true, get: function () { return useTheme_1.useTheme; } });
10
9
  var ThemeProvider_1 = require("./ThemeProvider");
package/lib/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '2.7.1';
4
+ exports.VERSION = '2.7.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-native",
3
- "version": "2.7.1",
3
+ "version": "2.7.3",
4
4
  "main": "lib/index.js",
5
5
  "module": "dist/index.js",
6
6
  "react-native": "src/index.ts",
@@ -30,9 +30,9 @@
30
30
  "react-native-safe-area-context": "^5.2.0"
31
31
  },
32
32
  "dependencies": {
33
- "@aws-amplify/ui": "6.15.1",
34
- "@aws-amplify/ui-react-core": "3.6.1",
35
- "@aws-amplify/ui-react-core-notifications": "2.3.1"
33
+ "@aws-amplify/ui": "6.15.3",
34
+ "@aws-amplify/ui-react-core": "3.6.3",
35
+ "@aws-amplify/ui-react-core-notifications": "2.3.3"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "aws-amplify": "^6.14.3",
@@ -1,2 +1,2 @@
1
1
  export * from './useFieldValues';
2
- export * from './types';
2
+ export type * from './types';
@@ -1,6 +1,7 @@
1
1
  // disable `@typescript-eslint/no-var-requires` for this file
2
2
  // .png icons will be removed in favor of .svg icons
3
- /* eslint-disable @typescript-eslint/no-var-requires */
3
+
4
+ /* eslint-disable @typescript-eslint/no-require-imports */
4
5
  import type { ImageSourcePropType } from 'react-native';
5
6
 
6
7
  const icons = {
@@ -1,5 +1,5 @@
1
1
  export { createTheme } from './createTheme';
2
- export * from './types';
2
+ export type * from './types';
3
3
  export { useTheme } from './useTheme';
4
4
  export { ThemeProvider } from './ThemeProvider';
5
5
  export * from './defaultTheme';
@@ -3,7 +3,12 @@ declare module 'style-dictionary/lib/utils/deepExtend' {
3
3
  // https://github.com/amzn/style-dictionary/blob/main/lib/utils/deepExtend.js#L18-L22
4
4
  export default function deepExtend(
5
5
  objects: (object | undefined)[],
6
- collision?: Function,
6
+ collision?: (opts: {
7
+ target: object;
8
+ copy: object;
9
+ path: string[];
10
+ key: string;
11
+ }) => void,
7
12
  path?: string[]
8
13
  ): object;
9
14
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '2.7.1';
1
+ export const VERSION = '2.7.3';