@xaypay/tui 0.0.38 → 0.0.39
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/index.es.js
CHANGED
|
@@ -930,7 +930,7 @@ Select.defaultProps = {
|
|
|
930
930
|
size: 'medium'
|
|
931
931
|
};
|
|
932
932
|
|
|
933
|
-
var css_248z$2 = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:space-between;padding:4px 0;position:relative;width:100%}.file-module_file-form-wrap__qY--B:before{background:rgba(60,57,62,.4);border-radius:6px;content:\"\";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover:before{opacity:1;pointer-events:unset}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover .file-module_delete-upload-icon__PWN66{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;cursor:pointer;display:flex;height:26px;justify-content:center;opacity:0;position:absolute;right:10px;top:10px;transition:opacity .24s;width:26px;z-index:11}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.file-module_upload-file-content__QHMjn>img{display:block;max-width:400px}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}.file-module_file-form-wrap__qY--B{position:relative;transform:translateZ(0)}";
|
|
933
|
+
var css_248z$2 = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:space-between;padding:4px 0;position:relative;width:100%}.file-module_file-form-wrap__qY--B:before{background:rgba(60,57,62,.4);border-radius:6px;content:\"\";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover:before{opacity:1;pointer-events:unset}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover .file-module_delete-upload-icon__PWN66{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;cursor:pointer;display:flex;height:26px;justify-content:center;opacity:0;position:absolute;right:10px;top:10px;transition:opacity .24s;width:26px;z-index:11}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.file-module_upload-file-content__QHMjn>img{display:block;height:190px;max-width:400px}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}.file-module_file-form-wrap__qY--B{position:relative;transform:translateZ(0)}";
|
|
934
934
|
var styles$2 = {"file-form-wrap":"file-module_file-form-wrap__qY--B","file-form":"file-module_file-form__l13d5","active":"file-module_active__L1gPt","delete-upload-icon":"file-module_delete-upload-icon__PWN66","file-form-inner-upload":"file-module_file-form-inner-upload__tq3Dn","upload-info":"file-module_upload-info__a8GFs","upload-info-txt":"file-module_upload-info-txt__l11uN","default":"file-module_default__t7KU0","error":"file-module_error__H-M4Z","accept":"file-module_accept__WTW6V","upload-file-content":"file-module_upload-file-content__QHMjn","file-form-title":"file-module_file-form-title__zWTSB"};
|
|
935
935
|
styleInject(css_248z$2);
|
|
936
936
|
|
|
@@ -1007,7 +1007,6 @@ const File = ({
|
|
|
1007
1007
|
className: styles$2['upload-file-content']
|
|
1008
1008
|
}, /*#__PURE__*/React.createElement("img", {
|
|
1009
1009
|
src: image,
|
|
1010
|
-
height: 190,
|
|
1011
1010
|
alt: fileName
|
|
1012
1011
|
})) : /*#__PURE__*/React.createElement("div", {
|
|
1013
1012
|
className: styles$2['file-form-inner-upload']
|
|
@@ -1016,7 +1015,7 @@ const File = ({
|
|
|
1016
1015
|
alt: ""
|
|
1017
1016
|
}), /*#__PURE__*/React.createElement("span", {
|
|
1018
1017
|
className: styles$2['upload-info']
|
|
1019
|
-
},
|
|
1018
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1020
1019
|
className: styles$2['upload-info-txt']
|
|
1021
1020
|
}, "\u0532\u0565\u057C\u0576\u0565\u056C")), /*#__PURE__*/React.createElement("span", {
|
|
1022
1021
|
className: styles$2['upload-info-size']
|
|
@@ -1025,7 +1024,7 @@ const File = ({
|
|
|
1025
1024
|
onClick: e => {
|
|
1026
1025
|
setFileName('no selected file');
|
|
1027
1026
|
setImage(null);
|
|
1028
|
-
e.target.parentElement.children[0].getElementsByTagName('input')[0].value = "";
|
|
1027
|
+
e.target.parentElement.parentElement.children[0].getElementsByTagName('input')[0].value = "";
|
|
1029
1028
|
}
|
|
1030
1029
|
}, /*#__PURE__*/React.createElement("i", {
|
|
1031
1030
|
className: "icon-delete"
|
package/dist/index.js
CHANGED
|
@@ -941,7 +941,7 @@ Select.defaultProps = {
|
|
|
941
941
|
size: 'medium'
|
|
942
942
|
};
|
|
943
943
|
|
|
944
|
-
var css_248z$2 = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:space-between;padding:4px 0;position:relative;width:100%}.file-module_file-form-wrap__qY--B:before{background:rgba(60,57,62,.4);border-radius:6px;content:\"\";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover:before{opacity:1;pointer-events:unset}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover .file-module_delete-upload-icon__PWN66{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;cursor:pointer;display:flex;height:26px;justify-content:center;opacity:0;position:absolute;right:10px;top:10px;transition:opacity .24s;width:26px;z-index:11}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.file-module_upload-file-content__QHMjn>img{display:block;max-width:400px}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}.file-module_file-form-wrap__qY--B{position:relative;transform:translateZ(0)}";
|
|
944
|
+
var css_248z$2 = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:space-between;padding:4px 0;position:relative;width:100%}.file-module_file-form-wrap__qY--B:before{background:rgba(60,57,62,.4);border-radius:6px;content:\"\";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover:before{opacity:1;pointer-events:unset}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover .file-module_delete-upload-icon__PWN66{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;cursor:pointer;display:flex;height:26px;justify-content:center;opacity:0;position:absolute;right:10px;top:10px;transition:opacity .24s;width:26px;z-index:11}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.file-module_upload-file-content__QHMjn>img{display:block;height:190px;max-width:400px}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}.file-module_file-form-wrap__qY--B{position:relative;transform:translateZ(0)}";
|
|
945
945
|
var styles$2 = {"file-form-wrap":"file-module_file-form-wrap__qY--B","file-form":"file-module_file-form__l13d5","active":"file-module_active__L1gPt","delete-upload-icon":"file-module_delete-upload-icon__PWN66","file-form-inner-upload":"file-module_file-form-inner-upload__tq3Dn","upload-info":"file-module_upload-info__a8GFs","upload-info-txt":"file-module_upload-info-txt__l11uN","default":"file-module_default__t7KU0","error":"file-module_error__H-M4Z","accept":"file-module_accept__WTW6V","upload-file-content":"file-module_upload-file-content__QHMjn","file-form-title":"file-module_file-form-title__zWTSB"};
|
|
946
946
|
styleInject(css_248z$2);
|
|
947
947
|
|
|
@@ -1018,7 +1018,6 @@ const File = ({
|
|
|
1018
1018
|
className: styles$2['upload-file-content']
|
|
1019
1019
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
1020
1020
|
src: image,
|
|
1021
|
-
height: 190,
|
|
1022
1021
|
alt: fileName
|
|
1023
1022
|
})) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1024
1023
|
className: styles$2['file-form-inner-upload']
|
|
@@ -1027,7 +1026,7 @@ const File = ({
|
|
|
1027
1026
|
alt: ""
|
|
1028
1027
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1029
1028
|
className: styles$2['upload-info']
|
|
1030
|
-
},
|
|
1029
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1031
1030
|
className: styles$2['upload-info-txt']
|
|
1032
1031
|
}, "\u0532\u0565\u057C\u0576\u0565\u056C")), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1033
1032
|
className: styles$2['upload-info-size']
|
|
@@ -1036,7 +1035,7 @@ const File = ({
|
|
|
1036
1035
|
onClick: e => {
|
|
1037
1036
|
setFileName('no selected file');
|
|
1038
1037
|
setImage(null);
|
|
1039
|
-
e.target.parentElement.children[0].getElementsByTagName('input')[0].value = "";
|
|
1038
|
+
e.target.parentElement.parentElement.children[0].getElementsByTagName('input')[0].value = "";
|
|
1040
1039
|
}
|
|
1041
1040
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1042
1041
|
className: "icon-delete"
|
package/package.json
CHANGED
|
@@ -72,13 +72,12 @@ export const File = ({
|
|
|
72
72
|
<div className={styles['upload-file-content']}>
|
|
73
73
|
<img
|
|
74
74
|
src={image}
|
|
75
|
-
height={190}
|
|
76
75
|
alt={fileName}
|
|
77
76
|
/>
|
|
78
77
|
</div> :
|
|
79
78
|
<div className={styles['file-form-inner-upload']}>
|
|
80
79
|
<img src="../../assets/upload.svg" alt=""/>
|
|
81
|
-
<span className={styles['upload-info']}
|
|
80
|
+
<span className={styles['upload-info']}><span className={styles['upload-info-txt']}>Բեռնել</span></span>
|
|
82
81
|
<span className={styles['upload-info-size']}>Առավելագույնը 5ՄԲ ( jpg, jpeg, png, pdf)</span>
|
|
83
82
|
</div>
|
|
84
83
|
}
|
|
@@ -87,7 +86,7 @@ export const File = ({
|
|
|
87
86
|
onClick={(e) => {
|
|
88
87
|
setFileName('no selected file');
|
|
89
88
|
setImage(null);
|
|
90
|
-
e.target.parentElement.children[0].getElementsByTagName('input')[0].value = "";
|
|
89
|
+
e.target.parentElement.parentElement.children[0].getElementsByTagName('input')[0].value = "";
|
|
91
90
|
}}>
|
|
92
91
|
<i className="icon-delete"/>
|
|
93
92
|
</div>
|