@emailmaker/filemanager 0.10.47 → 0.10.48
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/file-manager.css +30 -2
- package/file-manager.esm.js +9 -9
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/hooks/core/files/useFilesAPI.d.ts +1 -1
- package/notification.d.ts +11 -0
- package/package.json +1 -1
- package/types.d.ts +2 -0
- package/utils/errorMessages.d.ts +17 -0
- package/utils/fileValidation.d.ts +1 -0
- package/utils/svgParseUtils.d.ts +47 -0
package/file-manager.css
CHANGED
|
@@ -58,7 +58,9 @@
|
|
|
58
58
|
isolation: isolate;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.em-filemanager .
|
|
61
|
+
.em-filemanager .emptyStateWrapper {
|
|
62
|
+
flex: 1;
|
|
63
|
+
display: flex;
|
|
62
64
|
justify-content: center;
|
|
63
65
|
align-items: center;
|
|
64
66
|
}
|
|
@@ -990,6 +992,29 @@
|
|
|
990
992
|
flex-shrink: 0;
|
|
991
993
|
}
|
|
992
994
|
|
|
995
|
+
.em-filemanager .uploadProgress__common-error {
|
|
996
|
+
display: flex;
|
|
997
|
+
flex-direction: column;
|
|
998
|
+
gap: 4px;
|
|
999
|
+
padding: 10px 12px;
|
|
1000
|
+
margin-top: 12px;
|
|
1001
|
+
background: var(--colorErrorBg, #fff2f0);
|
|
1002
|
+
border-radius: 6px;
|
|
1003
|
+
border: 1px solid var(--colorErrorBorder, #ffccc7);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.em-filemanager .uploadProgress__common-error-row {
|
|
1007
|
+
display: flex;
|
|
1008
|
+
align-items: flex-start;
|
|
1009
|
+
gap: 8px;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.em-filemanager .uploadProgress__common-error-hint {
|
|
1013
|
+
font-size: 12px !important;
|
|
1014
|
+
margin-top: 4px;
|
|
1015
|
+
margin-left: 28px; /* icon width + gap */
|
|
1016
|
+
}
|
|
1017
|
+
|
|
993
1018
|
.em-filemanager .uploadProgress__list-wrapper {
|
|
994
1019
|
max-height: 300px;
|
|
995
1020
|
overflow-y: auto;
|
|
@@ -2010,7 +2035,7 @@
|
|
|
2010
2035
|
|
|
2011
2036
|
.em-filemanager .iconsGridGrid {
|
|
2012
2037
|
display: grid;
|
|
2013
|
-
grid-template-columns: repeat(auto-fill, minmax(
|
|
2038
|
+
grid-template-columns: repeat(auto-fill, minmax(var(--icons-grid-min-col, 148px), 1fr));
|
|
2014
2039
|
gap: 16px;
|
|
2015
2040
|
}
|
|
2016
2041
|
|
|
@@ -2837,6 +2862,9 @@
|
|
|
2837
2862
|
font-weight: 500;
|
|
2838
2863
|
color: var(--colorText);
|
|
2839
2864
|
padding: 5px 0;
|
|
2865
|
+
white-space: nowrap;
|
|
2866
|
+
overflow: hidden;
|
|
2867
|
+
text-overflow: ellipsis;
|
|
2840
2868
|
}
|
|
2841
2869
|
.em-filemanager .ant-modal-root .ant-form-item .ant-form-item-label > label.ant-form-item-required::before {
|
|
2842
2870
|
display: none;
|