@aws-amplify/ui-react 2.15.4 → 2.15.7

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.
@@ -7483,6 +7483,10 @@
7483
7483
  "variation": {
7484
7484
  "type": "string"
7485
7485
  },
7486
+ "level": {
7487
+ "type": "number",
7488
+ "priority": true
7489
+ },
7486
7490
  "isTruncated": {
7487
7491
  "type": "boolean"
7488
7492
  }
package/dist/styles.css CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Wed, 20 Apr 2022 01:36:14 GMT
7
+ * Generated on Thu, 28 Apr 2022 21:06:32 GMT
8
8
  */
9
9
 
10
10
  :root, [data-amplify-theme] {
@@ -1623,8 +1623,12 @@ h6.amplify-heading {
1623
1623
 
1624
1624
  /* Center by default */
1625
1625
 
1626
- [data-amplify-authenticator][data-variation=modal] {
1626
+ [data-amplify-authenticator] {
1627
1627
  display: grid;
1628
+ }
1629
+
1630
+ [data-amplify-authenticator][data-variation=modal] {
1631
+ overflow-y: auto;
1628
1632
  width: var(--amplify-components-authenticator-modal-width);
1629
1633
  height: var(--amplify-components-authenticator-modal-height);
1630
1634
  background-color: var(--amplify-components-authenticator-modal-background-color);
@@ -1672,6 +1676,23 @@ h6.amplify-heading {
1672
1676
  }
1673
1677
  }
1674
1678
 
1679
+ .amplify-authenticator__column {
1680
+ display: flex;
1681
+ flex-direction: column;
1682
+ }
1683
+
1684
+ .amplify-authenticator__subtitle {
1685
+ margin-bottom: var(--amplify-space-medium);
1686
+ }
1687
+
1688
+ .amplify-authenticator__heading {
1689
+ font-size: var(--amplify-font-sizes-xl);
1690
+ }
1691
+
1692
+ .amplify-authenticator__federated-text {
1693
+ align-self: center;
1694
+ }
1695
+
1675
1696
  .amplify-card {
1676
1697
  background-color: var(--amplify-components-card-background-color);
1677
1698
  border-radius: var(--amplify-components-card-border-radius);
@@ -2564,6 +2585,10 @@ html[dir=rtl] .amplify-field-group__inner-start {
2564
2585
  }
2565
2586
  }
2566
2587
 
2588
+ .amplify-select option {
2589
+ color: initial;
2590
+ }
2591
+
2567
2592
  .amplify-select[data-size=small] {
2568
2593
  min-width: var(--amplify-components-select-small-min-width);
2569
2594
  }
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ export declare const getTotpCode: (issuer: string, username: string, secret: string) => string;
2
3
  export declare const SetupTOTP: {
3
4
  (): JSX.Element;
4
5
  Header(): JSX.Element;
@@ -18,7 +18,7 @@
18
18
  * return <Geocoder />;
19
19
  * }
20
20
  */
21
- export declare const Geocoder: ({ position, ...props }: GeocoderProps) => JSX.Element;
21
+ export declare const Geocoder: (props: GeocoderProps) => JSX.Element;
22
22
  export declare type GeocoderProps = {
23
23
  /**
24
24
  * A bounding box given as an array in the format `[minX, minY, maxX, maxY]`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react",
3
- "version": "2.15.4",
3
+ "version": "2.15.7",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {
@@ -57,7 +57,7 @@
57
57
  "test:unit:watch": "jest --watch"
58
58
  },
59
59
  "dependencies": {
60
- "@aws-amplify/ui": "3.6.4",
60
+ "@aws-amplify/ui": "3.6.7",
61
61
  "@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react@1.2.9",
62
62
  "@radix-ui/react-accordion": "0.1.6",
63
63
  "@radix-ui/react-dropdown-menu": "0.1.6",