@aws-amplify/ui-react-native 1.2.6 → 1.2.8
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 +18 -0
- package/dist/Authenticator/common/FederatedProviderButtons/FederatedProviderButtons.js +1 -1
- package/dist/primitives/Button/Button.js +1 -1
- package/dist/primitives/Radio/getRadioDimensions.js +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/src/Authenticator/common/FederatedProviderButtons/FederatedProviderButtons.tsx +1 -1
- package/src/primitives/Button/Button.tsx +2 -2
- package/src/primitives/Radio/__tests__/Radio.spec.tsx +2 -1
- package/src/primitives/Radio/getRadioDimensions.ts +1 -1
- package/src/utils/index.ts +0 -1
- package/src/version.ts +1 -1
- package/dist/utils/utils.d.ts +0 -1
- package/dist/utils/utils.js +0 -3
- package/src/utils/utils.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @aws-amplify/ui-react-native
|
|
2
2
|
|
|
3
|
+
## 1.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3417](https://github.com/aws-amplify/amplify-ui/pull/3417) [`0c8fa2ac2`](https://github.com/aws-amplify/amplify-ui/commit/0c8fa2ac2b89e7617bbc601f29cc9cbf902d08ae) Thanks [@calebpollman](https://github.com/calebpollman)! - Migrate `capitalize` util to UI package
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`0c8fa2ac2`](https://github.com/aws-amplify/amplify-ui/commit/0c8fa2ac2b89e7617bbc601f29cc9cbf902d08ae), [`d214551f0`](https://github.com/aws-amplify/amplify-ui/commit/d214551f0edb001878f7a04b4206c57a677ecfa8)]:
|
|
10
|
+
- @aws-amplify/ui@5.5.5
|
|
11
|
+
- @aws-amplify/ui-react-core@2.1.13
|
|
12
|
+
|
|
13
|
+
## 1.2.7
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`bebe7b1cb`](https://github.com/aws-amplify/amplify-ui/commit/bebe7b1cb6a5efe1111eae237fedfabdd07ca7fc), [`7435b53fd`](https://github.com/aws-amplify/amplify-ui/commit/7435b53fd1a3303e2db0b74bf69b67fe41687563)]:
|
|
18
|
+
- @aws-amplify/ui@5.5.4
|
|
19
|
+
- @aws-amplify/ui-react-core@2.1.12
|
|
20
|
+
|
|
3
21
|
## 1.2.6
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
+
import { capitalize } from '@aws-amplify/ui';
|
|
3
4
|
import { icons } from '../../../assets';
|
|
4
|
-
import { capitalize } from '../../../utils';
|
|
5
5
|
import { FederatedProviderButton } from '../FederatedProviderButton';
|
|
6
6
|
import { Divider } from '../../../primitives';
|
|
7
7
|
import { styles } from './styles';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { Pressable, Text } from 'react-native';
|
|
3
|
+
import { capitalize } from '@aws-amplify/ui';
|
|
3
4
|
import { usePressableContainerStyles } from '../../hooks';
|
|
4
5
|
import { useTheme } from '../../theme';
|
|
5
|
-
import { capitalize } from '../../utils';
|
|
6
6
|
import { getThemedStyles } from './styles';
|
|
7
7
|
export default function Button({ accessibilityRole = 'button', children, disabled, style, textStyle, variant = 'default', ...rest }) {
|
|
8
8
|
const theme = useTheme();
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.2.
|
|
1
|
+
export declare const VERSION = "1.2.8";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.2.
|
|
1
|
+
export const VERSION = '1.2.8';
|
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.8",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"type-fest": "^2.3.4"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-amplify/ui": "5.5.
|
|
47
|
-
"@aws-amplify/ui-react-core": "2.1.
|
|
46
|
+
"@aws-amplify/ui": "5.5.5",
|
|
47
|
+
"@aws-amplify/ui-react-core": "2.1.13"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"aws-amplify": ">= 5.0.1",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
+
import { capitalize } from '@aws-amplify/ui';
|
|
3
4
|
|
|
4
5
|
import { icons } from '../../../assets';
|
|
5
|
-
import { capitalize } from '../../../utils';
|
|
6
6
|
import { FederatedProviderButton } from '../FederatedProviderButton';
|
|
7
7
|
import { Divider } from '../../../primitives';
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { Pressable, Text, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { capitalize } from '@aws-amplify/ui';
|
|
4
4
|
|
|
5
|
+
import { usePressableContainerStyles } from '../../hooks';
|
|
5
6
|
import { useTheme } from '../../theme';
|
|
6
|
-
import { capitalize } from '../../utils';
|
|
7
7
|
import { getThemedStyles } from './styles';
|
|
8
8
|
import { ButtonProps } from './types';
|
|
9
9
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { fireEvent, render, renderHook } from '@testing-library/react-native';
|
|
3
|
+
import { capitalize } from '@aws-amplify/ui';
|
|
4
|
+
|
|
3
5
|
import { useTheme } from '../../../theme';
|
|
4
|
-
import { capitalize } from '../../../utils';
|
|
5
6
|
import { RADIO_DOT_PROPORTION } from '../getRadioDimensions';
|
|
6
7
|
import Radio, { CONTAINER_TEST_ID, DOT_TEST_ID } from '../Radio';
|
|
7
8
|
import { getThemedStyles } from '../styles';
|
package/src/utils/index.ts
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.2.
|
|
1
|
+
export const VERSION = '1.2.8';
|
package/dist/utils/utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function capitalize<T extends string>(value: T): Capitalize<T>;
|
package/dist/utils/utils.js
DELETED
package/src/utils/utils.ts
DELETED