@aws-amplify/ui-react-native 1.2.9 → 1.2.10

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,3 +1,3 @@
1
1
  $ rimraf dist
2
- $ yarn dist && cp -a src/assets dist
2
+ $ yarn build:dist && cp -a src/assets dist
3
3
  $ tsc --project tsconfig.dist.json
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @aws-amplify/ui-react-native
2
2
 
3
+ ## 1.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3497](https://github.com/aws-amplify/amplify-ui/pull/3497) [`5249a450d`](https://github.com/aws-amplify/amplify-ui/commit/5249a450dcd07487188fc57d5b6b04dbf52e1970) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(tsconfig): add configs directory and ts configuration
8
+
9
+ - Updated dependencies [[`a55aa4584`](https://github.com/aws-amplify/amplify-ui/commit/a55aa4584dd9aba4e97d4e36acc289238710d30e), [`6501852a7`](https://github.com/aws-amplify/amplify-ui/commit/6501852a7916cc2afb90bfb52461877c1e637b99), [`50fbe91de`](https://github.com/aws-amplify/amplify-ui/commit/50fbe91defab6172c09eb03c71671a5cc5f4d265), [`5249a450d`](https://github.com/aws-amplify/amplify-ui/commit/5249a450dcd07487188fc57d5b6b04dbf52e1970)]:
10
+ - @aws-amplify/ui@5.5.7
11
+ - @aws-amplify/ui-react-core@2.1.15
12
+
3
13
  ## 1.2.9
4
14
 
5
15
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import { ViewStyle } from 'react-native';
2
- import { StrictTheme } from 'src/theme';
2
+ import { StrictTheme } from '../../../theme';
3
3
  import { ContainerStyles, InnerContainerStyles } from './types';
4
4
  export declare const getThemedStyles: ({ tokens: { colors } }: StrictTheme, insetPadding: Pick<ViewStyle, 'paddingBottom' | 'paddingLeft' | 'paddingRight' | 'paddingTop'>) => Required<ContainerStyles>;
5
5
  export declare const getInnerContainerStyles: ({ tokens: { space }, }: StrictTheme) => InnerContainerStyles;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldProps } from './types';
2
3
  declare const Field: {
3
4
  ({ type, ...rest }: FieldProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FieldErrorsProps } from './types';
2
3
  export declare const FieldErrors: ({ errors, errorStyle, style, }: FieldErrorsProps) => JSX.Element | null;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "1.2.9";
1
+ export declare const VERSION = "1.2.10";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.2.9';
1
+ export const VERSION = '1.2.10';
package/package.json CHANGED
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-native",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
8
8
  "scripts": {
9
- "build": "yarn dist && cp -a src/assets dist",
9
+ "build": "yarn build:dist && cp -a src/assets dist",
10
+ "build:dist": "tsc --project tsconfig.dist.json",
10
11
  "clean": "rimraf dist",
11
- "dev": "yarn dist --watch",
12
- "dist": "tsc --project tsconfig.dist.json",
13
- "lint": "tsc --noEmit && eslint src",
12
+ "dev": "yarn build:dist --watch",
13
+ "lint": "yarn typecheck && eslint src",
14
14
  "prebuild": "rimraf dist",
15
- "test": "jest --coverage --verbose",
16
- "test:watch": "yarn test --watch"
15
+ "test": "yarn test:unit",
16
+ "test:unit": "jest",
17
+ "test:unit:watch": "yarn test:unit --watch",
18
+ "typecheck": "tsc --noEmit"
17
19
  },
18
20
  "devDependencies": {
19
21
  "@babel/cli": "^7.17.10",
@@ -42,8 +44,8 @@
42
44
  "rimraf": "^3.0.2"
43
45
  },
44
46
  "dependencies": {
45
- "@aws-amplify/ui": "5.5.6",
46
- "@aws-amplify/ui-react-core": "2.1.14"
47
+ "@aws-amplify/ui": "5.5.7",
48
+ "@aws-amplify/ui-react-core": "2.1.15"
47
49
  },
48
50
  "peerDependencies": {
49
51
  "aws-amplify": ">= 5.0.1",
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet, ViewStyle } from 'react-native';
2
- import { StrictTheme } from 'src/theme';
2
+ import { StrictTheme } from '../../../theme';
3
3
 
4
4
  import { ContainerStyles, InnerContainerStyles } from './types';
5
5
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.2.9';
1
+ export const VERSION = '1.2.10';
package/tsconfig.json CHANGED
@@ -1,20 +1,8 @@
1
1
  {
2
+ "extends": "../configs/ts/tsconfig.react-native.json",
2
3
  "compilerOptions": {
3
- "allowSyntheticDefaultImports": true,
4
- "baseUrl": ".",
5
- "declaration": true,
6
- "downlevelIteration": true,
7
- "esModuleInterop": true,
8
- "jsx": "react-native",
9
- "noImplicitAny": true,
10
- "module": "es2015",
11
- "moduleResolution": "node",
12
- "noEmitOnError": true,
13
4
  "outDir": "./dist",
14
- "rootDir": "src",
15
- "skipLibCheck": true,
16
- "strict": true,
17
- "target": "esnext"
5
+ "rootDir": "src"
18
6
  },
19
7
  "include": ["src/**/*.ts", "src/**/*.tsx"],
20
8
  "exclude": ["node_modules"]