@aws-amplify/ui 6.10.3 → 6.12.0

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.
Files changed (28) hide show
  1. package/dist/esm/i18n/dictionaries/authenticator/de.mjs +1 -0
  2. package/dist/esm/i18n/dictionaries/authenticator/es.mjs +5 -4
  3. package/dist/esm/i18n/dictionaries/authenticator/fr.mjs +6 -5
  4. package/dist/esm/i18n/dictionaries/authenticator/hu.mjs +143 -0
  5. package/dist/esm/i18n/dictionaries/authenticator/it.mjs +1 -0
  6. package/dist/esm/i18n/dictionaries/authenticator/ja.mjs +1 -0
  7. package/dist/esm/i18n/dictionaries/authenticator/nb.mjs +1 -0
  8. package/dist/esm/i18n/dictionaries/authenticator/sv.mjs +1 -0
  9. package/dist/esm/i18n/dictionaries/authenticator/th.mjs +1 -0
  10. package/dist/esm/i18n/dictionaries/authenticator/tr.mjs +1 -0
  11. package/dist/esm/i18n/dictionaries/authenticator/zh.mjs +1 -0
  12. package/dist/esm/i18n/dictionaries/index.mjs +3 -1
  13. package/dist/esm/i18n/translations.mjs +2 -1
  14. package/dist/index.js +163 -9
  15. package/dist/styles/StorageBrowser.css +248 -0
  16. package/dist/styles/StorageBrowser.layer.css +248 -0
  17. package/dist/styles/liveness.css +17 -2
  18. package/dist/styles/liveness.layer.css +17 -2
  19. package/dist/styles/table.css +3 -0
  20. package/dist/styles/table.layer.css +3 -0
  21. package/dist/styles.css +267 -2
  22. package/dist/styles.layer.css +267 -2
  23. package/dist/types/i18n/dictionaries/authenticator/hu.d.ts +2 -0
  24. package/dist/types/i18n/dictionaries/authenticator/index.d.ts +1 -0
  25. package/dist/types/i18n/dictionaries/index.d.ts +52 -0
  26. package/dist/types/theme/components/storageBrowser.d.ts +14 -0
  27. package/dist/types/utils/setUserAgent/setUserAgent.d.ts +1 -1
  28. package/package.json +2 -2
package/dist/styles.css CHANGED
@@ -4250,11 +4250,26 @@ html[dir=rtl] .amplify-field-group__inner-start {
4250
4250
  z-index: 1;
4251
4251
  }
4252
4252
 
4253
- .amplify-liveness-loader {
4253
+ .amplify-liveness-loader .amplify-liveness-centered-loader {
4254
+ transform: translate(-50%, -50%);
4255
+ }
4256
+
4257
+ .amplify-liveness-centered-loader {
4254
4258
  position: absolute;
4255
4259
  left: 50%;
4256
4260
  top: 50%;
4257
- transform: translate(-50%, -50%);
4261
+ }
4262
+
4263
+ .amplify-liveness-connecting-loader {
4264
+ display: flex;
4265
+ position: absolute;
4266
+ flex-direction: column;
4267
+ justify-content: center;
4268
+ align-items: center;
4269
+ z-index: 3;
4270
+ width: 100%;
4271
+ height: 100%;
4272
+ background-color: var(--amplify-colors-background-primary);
4258
4273
  }
4259
4274
 
4260
4275
  .amplify-liveness-oval-canvas {
@@ -5653,6 +5668,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
5653
5668
  .amplify-table--striped .amplify-table__row:not(.amplify-table__head *):nth-child(odd) {
5654
5669
  background-color: var(--amplify-components-table-row-striped-background-color);
5655
5670
  }
5671
+ .amplify-table--striped .amplify-table__row.amplify-storage-browser__table-row_active:nth-child(odd) {
5672
+ background-color: var(--amplify-colors-background-info);
5673
+ }
5656
5674
  .amplify-table__caption {
5657
5675
  caption-side: var(--amplify-components-table-caption-caption-side);
5658
5676
  color: var(--amplify-components-table-caption-color);
@@ -6671,6 +6689,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
6671
6689
  box-shadow: var(--amplify-shadows-small);
6672
6690
  z-index: 2;
6673
6691
  }
6692
+ .amplify-storage-browser__table-row_active {
6693
+ background-color: var(--amplify-colors-background-info);
6694
+ }
6674
6695
  .amplify-storage-browser__table-header {
6675
6696
  border: none;
6676
6697
  padding: var(--amplify-space-xxxs);
@@ -6753,7 +6774,251 @@ html[dir=rtl] .amplify-field-group__inner-start {
6753
6774
  top: 0;
6754
6775
  z-index: 3;
6755
6776
  }
6777
+ .amplify-storage-browser__content-with-preview {
6778
+ display: flex;
6779
+ height: 100%;
6780
+ }
6781
+ .amplify-storage-browser__file-preview {
6782
+ overflow: auto;
6783
+ flex: 1;
6784
+ width: 50%;
6785
+ position: sticky;
6786
+ top: 10px;
6787
+ bottom: 10px;
6788
+ height: -moz-fit-content;
6789
+ height: fit-content;
6790
+ max-height: calc(100svh - 20px);
6791
+ padding: var(--amplify-space-medium);
6792
+ border: var(--amplify-border-widths-small) solid var(--amplify-colors-border-primary);
6793
+ border-radius: var(--amplify-radii-small);
6794
+ margin-inline-start: var(--amplify-space-large);
6795
+ padding-block-end: var(--amplify-space-large);
6796
+ }
6797
+ .amplify-storage-browser__file-preview-header {
6798
+ margin-block-end: var(--amplify-space-medium);
6799
+ display: flex;
6800
+ justify-content: flex-end;
6801
+ }
6802
+ .amplify-storage-browser__file-preview-container {
6803
+ display: flex;
6804
+ flex-direction: column;
6805
+ gap: var(--amplify-space-large);
6806
+ }
6807
+ .amplify-storage-browser__file-preview-content {
6808
+ display: flex;
6809
+ flex-direction: column;
6810
+ gap: var(--amplify-space-large);
6811
+ align-items: center;
6812
+ }
6813
+ .amplify-storage-browser__file-preview-section {
6814
+ display: flex;
6815
+ flex-direction: column;
6816
+ min-height: 400px;
6817
+ flex: 1;
6818
+ }
6819
+ .amplify-storage-browser__file-preview-title {
6820
+ margin-block-end: var(--amplify-space-medium);
6821
+ color: var(--amplify-colors-font-primary);
6822
+ font-size: var(--amplify-font-sizes-large);
6823
+ font-weight: var(--amplify-font-weights-semibold);
6824
+ flex-shrink: 0;
6825
+ }
6826
+ .amplify-storage-browser__file-metadata {
6827
+ display: grid;
6828
+ gap: var(--amplify-space-small);
6829
+ background-color: var(--amplify-colors-background-secondary);
6830
+ padding: var(--amplify-space-medium);
6831
+ border-radius: var(--amplify-radii-small);
6832
+ border: var(--amplify-border-widths-small) solid var(--amplify-colors-border-secondary);
6833
+ }
6834
+ .amplify-storage-browser__file-metadata-item {
6835
+ display: flex;
6836
+ justify-content: space-between;
6837
+ align-items: center;
6838
+ padding-block: var(--amplify-space-xs);
6839
+ border-block-end: var(--amplify-border-widths-small) solid var(--amplify-colors-border-secondary);
6840
+ }
6841
+ .amplify-storage-browser__file-metadata-item:last-child {
6842
+ border-block-end: none;
6843
+ }
6844
+ .amplify-storage-browser__file-metadata-label {
6845
+ font-weight: var(--amplify-font-weights-medium);
6846
+ color: var(--amplify-colors-font-primary);
6847
+ margin: 0;
6848
+ }
6849
+ .amplify-storage-browser__file-metadata-value {
6850
+ color: var(--amplify-colors-font-secondary);
6851
+ margin: 0;
6852
+ word-break: break-all;
6853
+ text-align: end;
6854
+ max-width: 60%;
6855
+ }
6856
+ .amplify-storage-browser__preview-fallback {
6857
+ width: 100%;
6858
+ height: 400px;
6859
+ display: flex;
6860
+ flex-direction: column;
6861
+ align-items: center;
6862
+ justify-content: center;
6863
+ gap: var(--amplify-space-medium);
6864
+ background-color: var(--amplify-colors-background-secondary);
6865
+ border: var(--amplify-border-widths-small) dashed var(--amplify-colors-border-secondary);
6866
+ border-radius: var(--amplify-radii-small);
6867
+ padding: var(--amplify-space-large);
6868
+ text-align: center;
6869
+ }
6870
+ .amplify-storage-browser__preview-fallback--error {
6871
+ color: var(--amplify-colors-font-error);
6872
+ background-color: var(--amplify-colors-background-error);
6873
+ border-color: var(--amplify-colors-border-error);
6874
+ }
6875
+ .amplify-storage-browser__preview-fallback--default {
6876
+ color: var(--amplify-colors-font-secondary);
6877
+ background-color: var(--amplify-colors-background-secondary);
6878
+ border-color: var(--amplify-colors-border-secondary);
6879
+ }
6880
+ .amplify-storage-browser__preview-fallback-icon {
6881
+ font-size: var(--amplify-font-sizes-xxxxl);
6882
+ margin-block-end: var(--amplify-space-xs);
6883
+ }
6884
+ .amplify-storage-browser__preview-fallback-title {
6885
+ font-weight: var(--amplify-font-weights-bold);
6886
+ font-size: var(--amplify-font-sizes-large);
6887
+ margin-block-end: var(--amplify-space-xs);
6888
+ }
6889
+ .amplify-storage-browser__preview-fallback-description {
6890
+ font-size: var(--amplify-font-sizes-small);
6891
+ margin-block-end: var(--amplify-space-xs);
6892
+ }
6893
+ .amplify-storage-browser__preview-fallback-filename {
6894
+ font-size: var(--amplify-font-sizes-xs);
6895
+ font-family: var(--amplify-fonts-monospace), monospace;
6896
+ }
6897
+ .amplify-storage-browser__preview-fallback-actions {
6898
+ display: flex;
6899
+ gap: var(--amplify-space-small);
6900
+ flex-wrap: wrap;
6901
+ justify-content: center;
6902
+ }
6903
+ .amplify-storage-browser__preview-placeholder {
6904
+ display: flex;
6905
+ flex-direction: column;
6906
+ align-items: center;
6907
+ justify-content: center;
6908
+ gap: var(--amplify-space-medium);
6909
+ height: 400px;
6910
+ width: 100%;
6911
+ }
6912
+ .amplify-storage-browser__preview-placeholder-content {
6913
+ display: flex;
6914
+ flex-direction: column;
6915
+ align-items: center;
6916
+ gap: var(--amplify-space-small);
6917
+ width: 100%;
6918
+ }
6919
+ .amplify-storage-browser__preview-placeholder-info {
6920
+ color: var(--amplify-colors-font-secondary);
6921
+ font-size: var(--amplify-font-sizes-small);
6922
+ text-align: center;
6923
+ }
6924
+ .amplify-storage-browser__text-container {
6925
+ display: flex;
6926
+ flex-flow: column nowrap;
6927
+ gap: 8px;
6928
+ align-items: center;
6929
+ }
6930
+ .amplify-storage-browser__text-preview {
6931
+ height: 400px;
6932
+ width: 100%;
6933
+ display: block;
6934
+ background-color: var(--amplify-colors-background-secondary);
6935
+ border: var(--amplify-border-widths-small) solid var(--amplify-colors-border-secondary);
6936
+ border-radius: var(--amplify-radii-small);
6937
+ padding: var(--amplify-space-medium);
6938
+ font-family: var(--amplify-fonts-monospace), monospace;
6939
+ font-size: var(--amplify-font-sizes-small);
6940
+ line-height: 1.5;
6941
+ overflow-y: auto;
6942
+ word-wrap: break-word;
6943
+ white-space: pre-wrap;
6944
+ word-break: break-word;
6945
+ }
6946
+ .amplify-storage-browser__video-container {
6947
+ display: flex;
6948
+ flex-flow: column nowrap;
6949
+ gap: 8px;
6950
+ align-items: center;
6951
+ }
6952
+ .amplify-storage-browser__video-preview {
6953
+ display: flex;
6954
+ align-items: center;
6955
+ justify-content: center;
6956
+ width: 100%;
6957
+ height: 400px;
6958
+ border-radius: var(--amplify-radii-small);
6959
+ background-color: var(--amplify-colors-background-secondary);
6960
+ flex-shrink: 0;
6961
+ }
6962
+ .amplify-storage-browser__video-preview video {
6963
+ max-width: 100%;
6964
+ max-height: 100%;
6965
+ width: auto;
6966
+ height: auto;
6967
+ -o-object-fit: contain;
6968
+ object-fit: contain;
6969
+ }
6970
+ .amplify-storage-browser__image-container {
6971
+ display: flex;
6972
+ flex-flow: column nowrap;
6973
+ gap: 8px;
6974
+ align-items: center;
6975
+ }
6976
+ .amplify-storage-browser__image-preview {
6977
+ display: flex;
6978
+ align-items: center;
6979
+ justify-content: center;
6980
+ height: 400px;
6981
+ width: 100%;
6982
+ background-color: var(--amplify-colors-background-secondary);
6983
+ border-radius: var(--amplify-radii-small);
6984
+ flex-shrink: 0;
6985
+ flex-flow: column nowrap;
6986
+ gap: 8px;
6987
+ }
6988
+ .amplify-storage-browser__image-preview img {
6989
+ max-width: 100%;
6990
+ max-height: 100%;
6991
+ width: auto;
6992
+ height: auto;
6993
+ -o-object-fit: contain;
6994
+ object-fit: contain;
6995
+ border-radius: var(--amplify-radii-small);
6996
+ }
6997
+ .amplify-storage-browser__download-button {
6998
+ display: flex;
6999
+ flex-flow: row nowrap;
7000
+ gap: 8px;
7001
+ }
7002
+ .amplify-storage-browser__download-button_icon {
7003
+ animation-delay: 0s;
7004
+ animation-direction: normal;
7005
+ animation-duration: 1s;
7006
+ animation-iteration-count: infinite;
7007
+ animation-timing-function: linear;
7008
+ animation-name: spin;
7009
+ }
6756
7010
 
7011
+ @keyframes spin {
7012
+ 0% {
7013
+ transform: rotate(0deg);
7014
+ }
7015
+ 50% {
7016
+ transform: rotate(180deg);
7017
+ }
7018
+ 100% {
7019
+ transform: rotate(360deg);
7020
+ }
7021
+ }
6757
7022
  .amplify-ai-conversation {
6758
7023
  display: flex;
6759
7024
  flex-direction: column;
@@ -4251,11 +4251,26 @@ html[dir=rtl] .amplify-field-group__inner-start {
4251
4251
  z-index: 1;
4252
4252
  }
4253
4253
 
4254
- .amplify-liveness-loader {
4254
+ .amplify-liveness-loader .amplify-liveness-centered-loader {
4255
+ transform: translate(-50%, -50%);
4256
+ }
4257
+
4258
+ .amplify-liveness-centered-loader {
4255
4259
  position: absolute;
4256
4260
  left: 50%;
4257
4261
  top: 50%;
4258
- transform: translate(-50%, -50%);
4262
+ }
4263
+
4264
+ .amplify-liveness-connecting-loader {
4265
+ display: flex;
4266
+ position: absolute;
4267
+ flex-direction: column;
4268
+ justify-content: center;
4269
+ align-items: center;
4270
+ z-index: 3;
4271
+ width: 100%;
4272
+ height: 100%;
4273
+ background-color: var(--amplify-colors-background-primary);
4259
4274
  }
4260
4275
 
4261
4276
  .amplify-liveness-oval-canvas {
@@ -5654,6 +5669,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
5654
5669
  .amplify-table--striped .amplify-table__row:not(.amplify-table__head *):nth-child(odd) {
5655
5670
  background-color: var(--amplify-components-table-row-striped-background-color);
5656
5671
  }
5672
+ .amplify-table--striped .amplify-table__row.amplify-storage-browser__table-row_active:nth-child(odd) {
5673
+ background-color: var(--amplify-colors-background-info);
5674
+ }
5657
5675
  .amplify-table__caption {
5658
5676
  caption-side: var(--amplify-components-table-caption-caption-side);
5659
5677
  color: var(--amplify-components-table-caption-color);
@@ -6672,6 +6690,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
6672
6690
  box-shadow: var(--amplify-shadows-small);
6673
6691
  z-index: 2;
6674
6692
  }
6693
+ .amplify-storage-browser__table-row_active {
6694
+ background-color: var(--amplify-colors-background-info);
6695
+ }
6675
6696
  .amplify-storage-browser__table-header {
6676
6697
  border: none;
6677
6698
  padding: var(--amplify-space-xxxs);
@@ -6754,7 +6775,251 @@ html[dir=rtl] .amplify-field-group__inner-start {
6754
6775
  top: 0;
6755
6776
  z-index: 3;
6756
6777
  }
6778
+ .amplify-storage-browser__content-with-preview {
6779
+ display: flex;
6780
+ height: 100%;
6781
+ }
6782
+ .amplify-storage-browser__file-preview {
6783
+ overflow: auto;
6784
+ flex: 1;
6785
+ width: 50%;
6786
+ position: sticky;
6787
+ top: 10px;
6788
+ bottom: 10px;
6789
+ height: -moz-fit-content;
6790
+ height: fit-content;
6791
+ max-height: calc(100svh - 20px);
6792
+ padding: var(--amplify-space-medium);
6793
+ border: var(--amplify-border-widths-small) solid var(--amplify-colors-border-primary);
6794
+ border-radius: var(--amplify-radii-small);
6795
+ margin-inline-start: var(--amplify-space-large);
6796
+ padding-block-end: var(--amplify-space-large);
6797
+ }
6798
+ .amplify-storage-browser__file-preview-header {
6799
+ margin-block-end: var(--amplify-space-medium);
6800
+ display: flex;
6801
+ justify-content: flex-end;
6802
+ }
6803
+ .amplify-storage-browser__file-preview-container {
6804
+ display: flex;
6805
+ flex-direction: column;
6806
+ gap: var(--amplify-space-large);
6807
+ }
6808
+ .amplify-storage-browser__file-preview-content {
6809
+ display: flex;
6810
+ flex-direction: column;
6811
+ gap: var(--amplify-space-large);
6812
+ align-items: center;
6813
+ }
6814
+ .amplify-storage-browser__file-preview-section {
6815
+ display: flex;
6816
+ flex-direction: column;
6817
+ min-height: 400px;
6818
+ flex: 1;
6819
+ }
6820
+ .amplify-storage-browser__file-preview-title {
6821
+ margin-block-end: var(--amplify-space-medium);
6822
+ color: var(--amplify-colors-font-primary);
6823
+ font-size: var(--amplify-font-sizes-large);
6824
+ font-weight: var(--amplify-font-weights-semibold);
6825
+ flex-shrink: 0;
6826
+ }
6827
+ .amplify-storage-browser__file-metadata {
6828
+ display: grid;
6829
+ gap: var(--amplify-space-small);
6830
+ background-color: var(--amplify-colors-background-secondary);
6831
+ padding: var(--amplify-space-medium);
6832
+ border-radius: var(--amplify-radii-small);
6833
+ border: var(--amplify-border-widths-small) solid var(--amplify-colors-border-secondary);
6834
+ }
6835
+ .amplify-storage-browser__file-metadata-item {
6836
+ display: flex;
6837
+ justify-content: space-between;
6838
+ align-items: center;
6839
+ padding-block: var(--amplify-space-xs);
6840
+ border-block-end: var(--amplify-border-widths-small) solid var(--amplify-colors-border-secondary);
6841
+ }
6842
+ .amplify-storage-browser__file-metadata-item:last-child {
6843
+ border-block-end: none;
6844
+ }
6845
+ .amplify-storage-browser__file-metadata-label {
6846
+ font-weight: var(--amplify-font-weights-medium);
6847
+ color: var(--amplify-colors-font-primary);
6848
+ margin: 0;
6849
+ }
6850
+ .amplify-storage-browser__file-metadata-value {
6851
+ color: var(--amplify-colors-font-secondary);
6852
+ margin: 0;
6853
+ word-break: break-all;
6854
+ text-align: end;
6855
+ max-width: 60%;
6856
+ }
6857
+ .amplify-storage-browser__preview-fallback {
6858
+ width: 100%;
6859
+ height: 400px;
6860
+ display: flex;
6861
+ flex-direction: column;
6862
+ align-items: center;
6863
+ justify-content: center;
6864
+ gap: var(--amplify-space-medium);
6865
+ background-color: var(--amplify-colors-background-secondary);
6866
+ border: var(--amplify-border-widths-small) dashed var(--amplify-colors-border-secondary);
6867
+ border-radius: var(--amplify-radii-small);
6868
+ padding: var(--amplify-space-large);
6869
+ text-align: center;
6870
+ }
6871
+ .amplify-storage-browser__preview-fallback--error {
6872
+ color: var(--amplify-colors-font-error);
6873
+ background-color: var(--amplify-colors-background-error);
6874
+ border-color: var(--amplify-colors-border-error);
6875
+ }
6876
+ .amplify-storage-browser__preview-fallback--default {
6877
+ color: var(--amplify-colors-font-secondary);
6878
+ background-color: var(--amplify-colors-background-secondary);
6879
+ border-color: var(--amplify-colors-border-secondary);
6880
+ }
6881
+ .amplify-storage-browser__preview-fallback-icon {
6882
+ font-size: var(--amplify-font-sizes-xxxxl);
6883
+ margin-block-end: var(--amplify-space-xs);
6884
+ }
6885
+ .amplify-storage-browser__preview-fallback-title {
6886
+ font-weight: var(--amplify-font-weights-bold);
6887
+ font-size: var(--amplify-font-sizes-large);
6888
+ margin-block-end: var(--amplify-space-xs);
6889
+ }
6890
+ .amplify-storage-browser__preview-fallback-description {
6891
+ font-size: var(--amplify-font-sizes-small);
6892
+ margin-block-end: var(--amplify-space-xs);
6893
+ }
6894
+ .amplify-storage-browser__preview-fallback-filename {
6895
+ font-size: var(--amplify-font-sizes-xs);
6896
+ font-family: var(--amplify-fonts-monospace), monospace;
6897
+ }
6898
+ .amplify-storage-browser__preview-fallback-actions {
6899
+ display: flex;
6900
+ gap: var(--amplify-space-small);
6901
+ flex-wrap: wrap;
6902
+ justify-content: center;
6903
+ }
6904
+ .amplify-storage-browser__preview-placeholder {
6905
+ display: flex;
6906
+ flex-direction: column;
6907
+ align-items: center;
6908
+ justify-content: center;
6909
+ gap: var(--amplify-space-medium);
6910
+ height: 400px;
6911
+ width: 100%;
6912
+ }
6913
+ .amplify-storage-browser__preview-placeholder-content {
6914
+ display: flex;
6915
+ flex-direction: column;
6916
+ align-items: center;
6917
+ gap: var(--amplify-space-small);
6918
+ width: 100%;
6919
+ }
6920
+ .amplify-storage-browser__preview-placeholder-info {
6921
+ color: var(--amplify-colors-font-secondary);
6922
+ font-size: var(--amplify-font-sizes-small);
6923
+ text-align: center;
6924
+ }
6925
+ .amplify-storage-browser__text-container {
6926
+ display: flex;
6927
+ flex-flow: column nowrap;
6928
+ gap: 8px;
6929
+ align-items: center;
6930
+ }
6931
+ .amplify-storage-browser__text-preview {
6932
+ height: 400px;
6933
+ width: 100%;
6934
+ display: block;
6935
+ background-color: var(--amplify-colors-background-secondary);
6936
+ border: var(--amplify-border-widths-small) solid var(--amplify-colors-border-secondary);
6937
+ border-radius: var(--amplify-radii-small);
6938
+ padding: var(--amplify-space-medium);
6939
+ font-family: var(--amplify-fonts-monospace), monospace;
6940
+ font-size: var(--amplify-font-sizes-small);
6941
+ line-height: 1.5;
6942
+ overflow-y: auto;
6943
+ word-wrap: break-word;
6944
+ white-space: pre-wrap;
6945
+ word-break: break-word;
6946
+ }
6947
+ .amplify-storage-browser__video-container {
6948
+ display: flex;
6949
+ flex-flow: column nowrap;
6950
+ gap: 8px;
6951
+ align-items: center;
6952
+ }
6953
+ .amplify-storage-browser__video-preview {
6954
+ display: flex;
6955
+ align-items: center;
6956
+ justify-content: center;
6957
+ width: 100%;
6958
+ height: 400px;
6959
+ border-radius: var(--amplify-radii-small);
6960
+ background-color: var(--amplify-colors-background-secondary);
6961
+ flex-shrink: 0;
6962
+ }
6963
+ .amplify-storage-browser__video-preview video {
6964
+ max-width: 100%;
6965
+ max-height: 100%;
6966
+ width: auto;
6967
+ height: auto;
6968
+ -o-object-fit: contain;
6969
+ object-fit: contain;
6970
+ }
6971
+ .amplify-storage-browser__image-container {
6972
+ display: flex;
6973
+ flex-flow: column nowrap;
6974
+ gap: 8px;
6975
+ align-items: center;
6976
+ }
6977
+ .amplify-storage-browser__image-preview {
6978
+ display: flex;
6979
+ align-items: center;
6980
+ justify-content: center;
6981
+ height: 400px;
6982
+ width: 100%;
6983
+ background-color: var(--amplify-colors-background-secondary);
6984
+ border-radius: var(--amplify-radii-small);
6985
+ flex-shrink: 0;
6986
+ flex-flow: column nowrap;
6987
+ gap: 8px;
6988
+ }
6989
+ .amplify-storage-browser__image-preview img {
6990
+ max-width: 100%;
6991
+ max-height: 100%;
6992
+ width: auto;
6993
+ height: auto;
6994
+ -o-object-fit: contain;
6995
+ object-fit: contain;
6996
+ border-radius: var(--amplify-radii-small);
6997
+ }
6998
+ .amplify-storage-browser__download-button {
6999
+ display: flex;
7000
+ flex-flow: row nowrap;
7001
+ gap: 8px;
7002
+ }
7003
+ .amplify-storage-browser__download-button_icon {
7004
+ animation-delay: 0s;
7005
+ animation-direction: normal;
7006
+ animation-duration: 1s;
7007
+ animation-iteration-count: infinite;
7008
+ animation-timing-function: linear;
7009
+ animation-name: spin;
7010
+ }
6757
7011
 
7012
+ @keyframes spin {
7013
+ 0% {
7014
+ transform: rotate(0deg);
7015
+ }
7016
+ 50% {
7017
+ transform: rotate(180deg);
7018
+ }
7019
+ 100% {
7020
+ transform: rotate(360deg);
7021
+ }
7022
+ }
6758
7023
  .amplify-ai-conversation {
6759
7024
  display: flex;
6760
7025
  flex-direction: column;
@@ -0,0 +1,2 @@
1
+ import type { AuthenticatorDictionary } from './types';
2
+ export declare const huDict: AuthenticatorDictionary;
@@ -2,6 +2,7 @@ export { deDict } from './de';
2
2
  export { enDict } from './en';
3
3
  export { esDict } from './es';
4
4
  export { frDict } from './fr';
5
+ export { huDict } from './hu';
5
6
  export { itDict } from './it';
6
7
  export { jaDict } from './ja';
7
8
  export { krDict } from './kr';
@@ -206,6 +206,58 @@ export declare const frDict: {
206
206
  "Verify Contact": string;
207
207
  Verify: string;
208
208
  };
209
+ export declare const huDict: {
210
+ [x: string]: string;
211
+ Email: string;
212
+ "Phone Number": string;
213
+ "Account recovery requires verified contact information": string;
214
+ "Back to Sign In": string;
215
+ "Change Password": string;
216
+ Changing: string;
217
+ Code: string;
218
+ "Confirm Password": string;
219
+ "Confirm Sign Up": string;
220
+ "Confirm SMS Code": string;
221
+ "Confirm TOTP Code": string;
222
+ Confirm: string;
223
+ "Confirmation Code": string;
224
+ Confirming: string;
225
+ "Create a new account": string;
226
+ "Create Account": string;
227
+ "Creating Account": string;
228
+ "Dismiss alert": string;
229
+ "Enter your code": string;
230
+ "Enter your Email": string;
231
+ "Enter your phone number": string;
232
+ "Enter your username": string;
233
+ "Forgot your password?": string;
234
+ "Hide password": string;
235
+ Loading: string;
236
+ "New password": string;
237
+ Password: string;
238
+ "Resend Code": string;
239
+ "Reset your password": string;
240
+ "Reset your Password": string;
241
+ "Send code": string;
242
+ "Send Code": string;
243
+ Sending: string;
244
+ "Setup TOTP": string;
245
+ "Show password": string;
246
+ "Sign in to your account": string;
247
+ "Sign In with Amazon": string;
248
+ "Sign In with Apple": string;
249
+ "Sign In with Facebook": string;
250
+ "Sign In with Google": string;
251
+ "Sign in": string;
252
+ "Sign In": string;
253
+ "Signing in": string;
254
+ Skip: string;
255
+ Submit: string;
256
+ Submitting: string;
257
+ Username: string;
258
+ "Verify Contact": string;
259
+ Verify: string;
260
+ };
209
261
  export declare const itDict: {
210
262
  [x: string]: string;
211
263
  Email: string;
@@ -22,5 +22,19 @@ export type StorageBrowserTheme<Required extends boolean = false> = ComponentSty
22
22
  'table-body'?: ComponentStyles;
23
23
  'table-row'?: ComponentStyles;
24
24
  'table-data-cell'?: Modifiers<TableCellVariations, Required> & ComponentStyles;
25
+ 'content-with-preview'?: ComponentStyles;
26
+ 'file-preview'?: ComponentStyles;
27
+ 'file-preview-header'?: ComponentStyles;
28
+ 'file-preview-content'?: ComponentStyles;
29
+ 'file-preview-section'?: ComponentStyles;
30
+ 'file-preview-title'?: ComponentStyles;
31
+ 'file-metadata'?: ComponentStyles;
32
+ 'file-metadata-item'?: ComponentStyles;
33
+ 'file-metadata-label'?: ComponentStyles;
34
+ 'file-metadata-value'?: ComponentStyles;
35
+ 'preview-fallback'?: ComponentStyles;
36
+ 'preview-placeholder'?: ComponentStyles;
37
+ 'text-preview'?: ComponentStyles;
38
+ 'video-preview'?: ComponentStyles;
25
39
  }, Required>;
26
40
  export {};
@@ -1,4 +1,4 @@
1
- export type PackageName = 'angular' | 'react' | 'react-ai' | 'react-auth' | 'react-geo' | 'react-liveness' | 'react-native' | 'react-native-auth' | 'react-notifications' | 'react-storage' | 'vue';
1
+ export type PackageName = 'angular' | 'react' | 'react-ai' | 'react-geo' | 'react-liveness' | 'react-native' | 'react-notifications' | 'react-storage' | 'vue';
2
2
  export type ComponentName = 'AIConversation' | 'Authenticator' | 'ChangePassword' | 'DeleteUser' | 'FaceLivenessDetector' | 'FileUploader' | 'InAppMessaging' | 'LocationSearch' | 'MapView' | 'StorageBrowser' | 'StorageManager' | 'StorageImage';
3
3
  export type Version = `${string}.${string}.${string}`;
4
4
  export interface SetUserAgentOptions {