@aws-amplify/ui-react 2.16.1 → 2.16.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/styles.css CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Thu, 05 May 2022 22:04:53 GMT
7
+ * Generated on Mon, 09 May 2022 17:14:39 GMT
8
8
  */
9
9
 
10
10
  :root, [data-amplify-theme] {
@@ -916,7 +916,7 @@ select {
916
916
 
917
917
  .amplify-scrollview {
918
918
  display: block;
919
- overflow: scroll;
919
+ overflow: auto;
920
920
  }
921
921
 
922
922
  .amplify-scrollview[data-orientation=horizontal] {
@@ -3,7 +3,7 @@ import { CognitoUserAmplify } from '@aws-amplify/ui';
3
3
  import { RouteProps } from '../RouteContainer';
4
4
  import { UseAuthenticator } from '../hooks/useAuthenticator';
5
5
  export declare type RouterProps = {
6
- children: React.ReactNode | ((props?: {
6
+ children: React.ReactNode | ((props: {
7
7
  signOut?: UseAuthenticator['signOut'];
8
8
  user?: CognitoUserAmplify;
9
9
  }) => React.ReactNode);
@@ -1,6 +1,10 @@
1
1
  import { ViewProps } from './view';
2
2
  declare type ScrollViewOrientation = 'horizontal' | 'vertical';
3
3
  export interface ScrollViewProps extends ViewProps {
4
+ /**
5
+ * @deprecated This prop has been deprecated. To get horizontal or vertical scrollbars,
6
+ * make the width or height of the ScrollView component smaller than the content.
7
+ */
4
8
  orientation?: ScrollViewOrientation;
5
9
  }
6
10
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react",
3
- "version": "2.16.1",
3
+ "version": "2.16.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {
@@ -58,7 +58,7 @@
58
58
  "size": "yarn run size-limit"
59
59
  },
60
60
  "dependencies": {
61
- "@aws-amplify/ui": "3.8.0",
61
+ "@aws-amplify/ui": "3.8.1",
62
62
  "@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react@1.2.9",
63
63
  "@radix-ui/react-accordion": "0.1.6",
64
64
  "@radix-ui/react-dropdown-menu": "0.1.6",
@@ -124,9 +124,16 @@
124
124
  ],
125
125
  "size-limit": [
126
126
  {
127
+ "name": "Authenticator",
127
128
  "path": "dist/esm/index.js",
128
129
  "import": "{ Authenticator }",
129
130
  "limit": "100 kB"
131
+ },
132
+ {
133
+ "name": "Geo",
134
+ "path": "dist/esm/index.js",
135
+ "import": "{ MapView, Geocoder }",
136
+ "limit": "300 kB"
130
137
  }
131
138
  ]
132
139
  }