@aws-amplify/ui-react-liveness 3.1.15 → 3.1.17

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.1.15';
1
+ const VERSION = '3.1.17';
2
2
 
3
3
  export { VERSION };
package/dist/index.js CHANGED
@@ -830,7 +830,7 @@ function getFaceMatchStateInLivenessOval({ face, ovalDetails, initialFaceInterse
830
830
  return { faceMatchState, faceMatchPercentage };
831
831
  }
832
832
 
833
- const VERSION = '3.1.15';
833
+ const VERSION = '3.1.17';
834
834
 
835
835
  const BASE_USER_AGENT = `ui-react-liveness/${VERSION}`;
836
836
  const getLivenessUserAgent = () => {
package/dist/styles.css CHANGED
@@ -40,6 +40,7 @@
40
40
  --amplify-components-ai-conversation-message-sender-timestamp-font-size: inherit;
41
41
  --amplify-components-ai-conversation-message-sender-timestamp-font-weight: inherit;
42
42
  --amplify-components-ai-conversation-message-body-gap: var(--amplify-space-xs);
43
+ --amplify-components-ai-conversation-message-actions-gap: var(--amplify-space-xs);
43
44
  --amplify-components-ai-conversation-form-gap: var(--amplify-space-small);
44
45
  --amplify-components-ai-conversation-form-padding: var(--amplify-space-small);
45
46
  --amplify-components-ai-conversation-attachment-border-color: var(--amplify-colors-border-secondary);
@@ -6599,6 +6600,157 @@ html[dir=rtl] .amplify-field-group__inner-start {
6599
6600
  gap: var(--amplify-space-small);
6600
6601
  }
6601
6602
 
6603
+ .amplify-storage-browser {
6604
+ display: flex;
6605
+ flex-direction: column;
6606
+ align-items: stretch;
6607
+ height: 100%;
6608
+ position: relative;
6609
+ padding: var(--amplify-space-small);
6610
+ gap: var(--amplify-space-small);
6611
+ /* Error boundary */
6612
+ }
6613
+ .amplify-storage-browser__error {
6614
+ background-color: var(--amplify-colors-background-error);
6615
+ color: var(--amplify-colors-font-error);
6616
+ padding: var(--amplify-space-medium);
6617
+ }
6618
+ .amplify-storage-browser__navigation, .amplify-storage-browser__exit {
6619
+ align-self: flex-start;
6620
+ }
6621
+ .amplify-storage-browser__title {
6622
+ font-weight: var(--amplify-font-weights-bold);
6623
+ font-size: var(--amplify-font-sizes-large);
6624
+ }
6625
+ .amplify-storage-browser__controls, .amplify-storage-browser__summary, .amplify-storage-browser__footer {
6626
+ display: flex;
6627
+ flex-direction: row;
6628
+ align-items: center;
6629
+ justify-content: space-between;
6630
+ width: 100%;
6631
+ gap: var(--amplify-space-medium);
6632
+ }
6633
+ .amplify-storage-browser__footer {
6634
+ justify-content: flex-end;
6635
+ }
6636
+ .amplify-storage-browser__search {
6637
+ display: flex;
6638
+ flex-direction: row;
6639
+ flex: 1;
6640
+ gap: var(--amplify-space-small);
6641
+ }
6642
+ .amplify-storage-browser__drop-zone {
6643
+ flex: 1;
6644
+ overflow: hidden;
6645
+ position: relative;
6646
+ width: 100%;
6647
+ display: block;
6648
+ }
6649
+ .amplify-storage-browser__data-table {
6650
+ overflow: auto;
6651
+ position: relative;
6652
+ border-width: var(--amplify-border-widths-small);
6653
+ border-style: solid;
6654
+ border-color: var(--amplify-colors-border-primary);
6655
+ border-radius: var(--amplify-radii-small);
6656
+ width: 100%;
6657
+ height: 100%;
6658
+ display: block;
6659
+ }
6660
+ .amplify-storage-browser__table {
6661
+ width: 100%;
6662
+ position: relative;
6663
+ }
6664
+ .amplify-storage-browser__table-head {
6665
+ position: sticky;
6666
+ top: 0;
6667
+ background: var(--amplify-colors-background-primary);
6668
+ box-shadow: var(--amplify-shadows-small);
6669
+ z-index: 2;
6670
+ }
6671
+ .amplify-storage-browser__table-header {
6672
+ border: none;
6673
+ padding: var(--amplify-space-xxxs);
6674
+ }
6675
+ .amplify-storage-browser__table-data-cell {
6676
+ padding: var(--amplify-space-xxxs);
6677
+ }
6678
+ .amplify-storage-browser__table-data-cell:first-child, .amplify-storage-browser__table-data-cell:last-child {
6679
+ border-inline-start-width: 0;
6680
+ border-inline-end-width: 0;
6681
+ }
6682
+ .amplify-storage-browser__table-data-cell-icon {
6683
+ vertical-align: middle;
6684
+ margin-inline-end: var(--amplify-space-xs);
6685
+ }
6686
+ .amplify-storage-browser__table-header--select, .amplify-storage-browser__table-data--select, .amplify-storage-browser__table-header--download, .amplify-storage-browser__table-data--download, .amplify-storage-browser__table-data--cancel {
6687
+ text-align: center;
6688
+ }
6689
+ .amplify-storage-browser__table-data--size, .amplify-storage-browser__table-header--size {
6690
+ text-align: end;
6691
+ }
6692
+ .amplify-storage-browser__table-button-data-cell, .amplify-storage-browser__table-date-data-cell, .amplify-storage-browser__table-number-data-cell, .amplify-storage-browser__table-text-data-cell, .amplify-storage-browser__table-sort-header {
6693
+ display: flex;
6694
+ width: 100%;
6695
+ gap: var(--amplify-space-xxs);
6696
+ padding: var(--amplify-space-xxs);
6697
+ text-overflow: ellipsis;
6698
+ overflow: hidden;
6699
+ white-space: nowrap;
6700
+ align-items: center;
6701
+ justify-content: flex-start;
6702
+ }
6703
+ .amplify-storage-browser__table-button-data-cell-icon--action-progress, .amplify-storage-browser__table-date-data-cell-icon--action-progress, .amplify-storage-browser__table-number-data-cell-icon--action-progress, .amplify-storage-browser__table-text-data-cell-icon--action-progress, .amplify-storage-browser__table-sort-header-icon--action-progress {
6704
+ animation-name: amplify-loader-circular;
6705
+ animation-timing-function: linear;
6706
+ animation-iteration-count: infinite;
6707
+ animation-duration: var(--amplify-components-loader-animation-duration);
6708
+ }
6709
+ .amplify-storage-browser__status {
6710
+ display: flex;
6711
+ flex-direction: row;
6712
+ gap: var(--amplify-space-xs);
6713
+ align-items: center;
6714
+ }
6715
+ .amplify-storage-browser__status-display {
6716
+ display: flex;
6717
+ flex-direction: row;
6718
+ justify-content: flex-end;
6719
+ align-items: center;
6720
+ gap: var(--amplify-space-small);
6721
+ flex: 1;
6722
+ }
6723
+ .amplify-storage-browser__status-label {
6724
+ font-weight: var(--amplify-font-weights-bold);
6725
+ }
6726
+ .amplify-storage-browser__status-value {
6727
+ color: var(--amplify-colors-font-secondary);
6728
+ }
6729
+ .amplify-storage-browser__destination {
6730
+ display: flex;
6731
+ flex-direction: row;
6732
+ gap: var(--amplify-space-xs);
6733
+ align-items: center;
6734
+ }
6735
+ .amplify-storage-browser__destination-label {
6736
+ font-weight: var(--amplify-font-weights-bold);
6737
+ }
6738
+ .amplify-storage-browser__message {
6739
+ flex: 1;
6740
+ }
6741
+ .amplify-storage-browser__buttons {
6742
+ justify-content: flex-end;
6743
+ display: flex;
6744
+ gap: var(--amplify-space-small);
6745
+ }
6746
+ .amplify-storage-browser__loader {
6747
+ position: absolute;
6748
+ stroke-width: var(--amplify-border-widths-large);
6749
+ height: var(--amplify-border-widths-large);
6750
+ top: 0;
6751
+ z-index: 3;
6752
+ }
6753
+
6602
6754
  .amplify-ai-conversation {
6603
6755
  display: flex;
6604
6756
  flex-direction: column;
@@ -6642,6 +6794,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
6642
6794
  }
6643
6795
  .amplify-ai-conversation__message__body {
6644
6796
  display: flex;
6797
+ flex: 1;
6645
6798
  flex-direction: column;
6646
6799
  align-items: var(--internal-body-align-items);
6647
6800
  gap: var(--amplify-components-ai-conversation-message-body-gap);
@@ -6650,10 +6803,20 @@ html[dir=rtl] .amplify-field-group__inner-start {
6650
6803
  background-color: var(--internal-content-bg);
6651
6804
  border-radius: var(--amplify-radii-medium);
6652
6805
  padding: var(--internal-content-padding);
6806
+ display: flex;
6807
+ flex-direction: column;
6808
+ gap: var(--amplify-space-small);
6809
+ }
6810
+ .amplify-ai-conversation__message__text {
6811
+ display: block;
6812
+ }
6813
+ .amplify-ai-conversation__message__image {
6814
+ max-width: 25%;
6653
6815
  }
6654
6816
  .amplify-ai-conversation__message__actions {
6655
6817
  display: flex;
6656
6818
  flex-direction: row;
6819
+ gap: var(--amplify-components-ai-conversation-message-actions-gap);
6657
6820
  }
6658
6821
  .amplify-ai-conversation__message--bubble {
6659
6822
  --internal-content-bg: var(--internal-bg-color);
@@ -1 +1 @@
1
- export declare const VERSION = "3.1.15";
1
+ export declare const VERSION = "3.1.17";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-liveness",
3
- "version": "3.1.15",
3
+ "version": "3.1.17",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.mjs",
6
6
  "exports": {
@@ -43,13 +43,13 @@
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@aws-amplify/core": "*",
46
- "aws-amplify": "^6.6.5",
46
+ "aws-amplify": "^6.9.0",
47
47
  "react": "^16.14.0 || ^17.0 || ^18.0",
48
48
  "react-dom": "^16.14.0 || ^17.0 || ^18.0"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-amplify/ui": "6.6.5",
52
- "@aws-amplify/ui-react": "6.5.5",
51
+ "@aws-amplify/ui": "6.7.0",
52
+ "@aws-amplify/ui-react": "6.7.0",
53
53
  "@aws-sdk/client-rekognitionstreaming": "3.621.0",
54
54
  "@aws-sdk/util-format-url": "3.609.0",
55
55
  "@smithy/eventstream-serde-browser": "^2.0.4",