@aws-amplify/ui-react-notifications 2.2.10 → 2.2.12
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/esm/version.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +250 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -5
package/dist/esm/version.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -332,7 +332,7 @@ const handleMessageLinkAction = (input) => {
|
|
|
332
332
|
window.open(input);
|
|
333
333
|
};
|
|
334
334
|
|
|
335
|
-
const VERSION = '2.2.
|
|
335
|
+
const VERSION = '2.2.12';
|
|
336
336
|
|
|
337
337
|
// TODO: replace below components incrementally as they become available
|
|
338
338
|
function CarouselMessage(_) {
|
package/dist/styles.css
CHANGED
|
@@ -5668,6 +5668,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
5668
5668
|
.amplify-table--striped .amplify-table__row:not(.amplify-table__head *):nth-child(odd) {
|
|
5669
5669
|
background-color: var(--amplify-components-table-row-striped-background-color);
|
|
5670
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
|
+
}
|
|
5671
5674
|
.amplify-table__caption {
|
|
5672
5675
|
caption-side: var(--amplify-components-table-caption-caption-side);
|
|
5673
5676
|
color: var(--amplify-components-table-caption-color);
|
|
@@ -6686,6 +6689,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
6686
6689
|
box-shadow: var(--amplify-shadows-small);
|
|
6687
6690
|
z-index: 2;
|
|
6688
6691
|
}
|
|
6692
|
+
.amplify-storage-browser__table-row_active {
|
|
6693
|
+
background-color: var(--amplify-colors-background-info);
|
|
6694
|
+
}
|
|
6689
6695
|
.amplify-storage-browser__table-header {
|
|
6690
6696
|
border: none;
|
|
6691
6697
|
padding: var(--amplify-space-xxxs);
|
|
@@ -6768,7 +6774,251 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
6768
6774
|
top: 0;
|
|
6769
6775
|
z-index: 3;
|
|
6770
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
|
+
}
|
|
6771
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
|
+
}
|
|
6772
7022
|
.amplify-ai-conversation {
|
|
6773
7023
|
display: flex;
|
|
6774
7024
|
flex-direction: column;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.2.
|
|
1
|
+
export declare const VERSION = "2.2.12";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-notifications",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.12",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"typecheck": "tsc --noEmit"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@aws-amplify/ui": "6.
|
|
43
|
-
"@aws-amplify/ui-react": "6.
|
|
44
|
-
"@aws-amplify/ui-react-core": "3.4.
|
|
45
|
-
"@aws-amplify/ui-react-core-notifications": "2.2.
|
|
42
|
+
"@aws-amplify/ui": "6.12.0",
|
|
43
|
+
"@aws-amplify/ui-react": "6.13.0",
|
|
44
|
+
"@aws-amplify/ui-react-core": "3.4.5",
|
|
45
|
+
"@aws-amplify/ui-react-core-notifications": "2.2.11",
|
|
46
46
|
"tinycolor2": "1.4.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|