@aws-amplify/ui-react-liveness 3.5.1 → 3.6.1

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
- const VERSION = '3.5.1';
1
+ const VERSION = '3.6.1';
2
2
 
3
3
  export { VERSION };
package/dist/index.js CHANGED
@@ -1078,7 +1078,7 @@ function createRequestStreamGenerator(stream) {
1078
1078
  };
1079
1079
  }
1080
1080
 
1081
- const VERSION = '3.5.1';
1081
+ const VERSION = '3.6.1';
1082
1082
 
1083
1083
  const BASE_USER_AGENT = `ui-react-liveness/${VERSION}`;
1084
1084
  const getLivenessUserAgent = () => {
package/dist/styles.css CHANGED
@@ -4816,6 +4816,88 @@ html[dir=rtl] .amplify-field-group__inner-start {
4816
4816
  gap: var(--amplify-components-message-dismiss-gap);
4817
4817
  }
4818
4818
 
4819
+ /* Modal component with highest specificity to override global resets */
4820
+ .amplify-modal__overlay.amplify-modal__overlay {
4821
+ position: fixed;
4822
+ top: 0;
4823
+ left: 0;
4824
+ right: 0;
4825
+ bottom: 0;
4826
+ background-color: rgba(0, 0, 0, 0.5);
4827
+ z-index: 1000;
4828
+ display: flex;
4829
+ align-items: center;
4830
+ justify-content: center;
4831
+ box-sizing: border-box;
4832
+ }
4833
+
4834
+ .amplify-modal__content.amplify-modal__content {
4835
+ background-color: var(--amplify-colors-background-primary);
4836
+ padding: var(--amplify-space-large);
4837
+ border-radius: var(--amplify-radii-medium);
4838
+ box-shadow: var(--amplify-shadows-large);
4839
+ max-width: 500px;
4840
+ width: 90%;
4841
+ box-sizing: border-box;
4842
+ }
4843
+
4844
+ .amplify-modal__header.amplify-modal__header {
4845
+ margin-bottom: var(--amplify-space-medium);
4846
+ display: flex;
4847
+ justify-content: space-between;
4848
+ align-items: center;
4849
+ }
4850
+
4851
+ .amplify-modal__title.amplify-modal__title {
4852
+ font-weight: var(--amplify-font-weights-bold);
4853
+ font-size: var(--amplify-font-sizes-large);
4854
+ margin: 0;
4855
+ }
4856
+
4857
+ .amplify-modal__close-button.amplify-modal__close-button {
4858
+ background: none;
4859
+ border: none;
4860
+ font-size: var(--amplify-font-sizes-large);
4861
+ cursor: pointer;
4862
+ padding: var(--amplify-space-xs);
4863
+ color: var(--amplify-colors-font-secondary);
4864
+ }
4865
+
4866
+ .amplify-modal__close-button.amplify-modal__close-button:hover {
4867
+ color: var(--amplify-colors-font-primary);
4868
+ }
4869
+
4870
+ .amplify-modal__body.amplify-modal__body {
4871
+ margin-bottom: var(--amplify-space-medium);
4872
+ color: var(--amplify-colors-font-primary);
4873
+ }
4874
+
4875
+ .amplify-modal__footer.amplify-modal__footer {
4876
+ display: flex;
4877
+ gap: var(--amplify-space-xs);
4878
+ justify-content: flex-end;
4879
+ }
4880
+
4881
+ .amplify-modal__list-title.amplify-modal__list-title {
4882
+ margin-bottom: var(--amplify-space-xs);
4883
+ font-weight: var(--amplify-font-weights-bold);
4884
+ box-sizing: border-box;
4885
+ }
4886
+
4887
+ .amplify-modal__list.amplify-modal__list {
4888
+ margin: var(--amplify-space-xs) 0;
4889
+ padding-left: var(--amplify-space-medium);
4890
+ max-height: 250px;
4891
+ overflow-y: auto;
4892
+ box-sizing: border-box;
4893
+ list-style: disc;
4894
+ }
4895
+
4896
+ .amplify-modal__list-item.amplify-modal__list-item {
4897
+ margin-bottom: var(--amplify-space-xxs);
4898
+ box-sizing: border-box;
4899
+ }
4900
+
4819
4901
  .amplify-pagination {
4820
4902
  list-style-type: none;
4821
4903
  }
@@ -7024,7 +7106,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
7024
7106
  animation-timing-function: linear;
7025
7107
  animation-name: spin;
7026
7108
  }
7027
-
7028
7109
  @keyframes spin {
7029
7110
  0% {
7030
7111
  transform: rotate(0deg);
@@ -7036,6 +7117,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
7036
7117
  transform: rotate(360deg);
7037
7118
  }
7038
7119
  }
7120
+
7039
7121
  .amplify-ai-conversation {
7040
7122
  display: flex;
7041
7123
  flex-direction: column;
@@ -1 +1 @@
1
- export declare const VERSION = "3.5.1";
1
+ export declare const VERSION = "3.6.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-liveness",
3
- "version": "3.5.1",
3
+ "version": "3.6.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.mjs",
6
6
  "exports": {
@@ -49,8 +49,8 @@
49
49
  "react-dom": "^16.14 || ^17 || ^18 || ^19"
50
50
  },
51
51
  "dependencies": {
52
- "@aws-amplify/ui": "6.14.0",
53
- "@aws-amplify/ui-react": "6.14.0",
52
+ "@aws-amplify/ui": "6.15.1",
53
+ "@aws-amplify/ui-react": "6.15.1",
54
54
  "@aws-sdk/client-rekognitionstreaming": "3.967.0",
55
55
  "@aws-sdk/util-format-url": "3.965.0",
56
56
  "@smithy/eventstream-serde-browser": "^4.0.4",