iov-design 2.15.20 → 2.15.21
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/lib/alert.js +5 -5
- package/lib/index.js +1 -1
- package/lib/iov-design.common.js +6 -6
- package/lib/theme-chalk/alert.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/link.css +1 -1
- package/package.json +3 -1
- package/packages/alert/src/main.vue +5 -5
- package/packages/theme-chalk/src/alert.scss +35 -31
- package/packages/theme-chalk/src/common/var.scss +5 -12
- package/packages/theme-chalk/src/link.scss +0 -5
- package/src/index.js +1 -1
package/lib/iov-design.common.js
CHANGED
|
@@ -27124,7 +27124,7 @@ var mainvue_type_template_id_6e53341b_render = function() {
|
|
|
27124
27124
|
staticClass: "el-alert__closebtn",
|
|
27125
27125
|
class: {
|
|
27126
27126
|
"is-customed": _vm.closeText !== "",
|
|
27127
|
-
"
|
|
27127
|
+
"iov-icon-close": _vm.closeText === ""
|
|
27128
27128
|
},
|
|
27129
27129
|
on: {
|
|
27130
27130
|
click: function($event) {
|
|
@@ -27169,9 +27169,9 @@ mainvue_type_template_id_6e53341b_render._withStripped = true
|
|
|
27169
27169
|
//
|
|
27170
27170
|
|
|
27171
27171
|
var TYPE_CLASSES_MAP = {
|
|
27172
|
-
'success': '
|
|
27173
|
-
'warning': '
|
|
27174
|
-
'error': '
|
|
27172
|
+
'success': 'iov-icon-fill-success',
|
|
27173
|
+
'warning': 'iov-icon-fill-warning',
|
|
27174
|
+
'error': 'iov-icon-fill-fail'
|
|
27175
27175
|
};
|
|
27176
27176
|
/* harmony default export */ var alert_src_mainvue_type_script_lang_js_ = ({
|
|
27177
27177
|
name: 'ElAlert',
|
|
@@ -27227,7 +27227,7 @@ var TYPE_CLASSES_MAP = {
|
|
|
27227
27227
|
return 'el-alert--' + this.type;
|
|
27228
27228
|
},
|
|
27229
27229
|
iconClass: function iconClass() {
|
|
27230
|
-
return TYPE_CLASSES_MAP[this.type] || '
|
|
27230
|
+
return TYPE_CLASSES_MAP[this.type] || 'iov-icon-fill-explain';
|
|
27231
27231
|
},
|
|
27232
27232
|
isBigIcon: function isBigIcon() {
|
|
27233
27233
|
return this.description || this.$slots.default ? 'is-big' : '';
|
|
@@ -44047,7 +44047,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
44047
44047
|
}
|
|
44048
44048
|
|
|
44049
44049
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
44050
|
-
version: '2.15.
|
|
44050
|
+
version: '2.15.21',
|
|
44051
44051
|
locale: lib_locale_default.a.use,
|
|
44052
44052
|
i18n: lib_locale_default.a.i18n,
|
|
44053
44053
|
install: src_install,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.el-alert{width:100%;padding:
|
|
1
|
+
.el-alert{width:100%;padding:11px 12px;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;position:relative;background-color:#FFF;overflow:hidden;opacity:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:opacity .2s;transition:opacity .2s}.el-alert.is-light .el-alert__closebtn{color:#ABAFB5}.el-alert.is-light .el-alert__closebtn:hover{color:#494B53}.el-alert.is-dark .el-alert__closebtn,.el-alert.is-dark .el-alert__description{color:#FFF}.el-alert.is-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.el-alert--success.is-light{background-color:#EFF9F3;border:1px solid #B8F0C7;color:#212026}.el-alert--success.is-light .el-alert__icon{color:#23B25D}.el-alert--success.is-dark{background-color:#23B25D;color:#FFF}.el-alert--info.is-light{background-color:#F0F4FD;border:1px solid #E6ECFE;color:#212026}.el-alert--info.is-light .el-alert__icon{color:#3F57FF}.el-alert--info.is-dark{background-color:#3F57FF;color:#FFF}.el-alert--warning.is-light{background-color:#FFF7E8;border:1px solid #FFE4BA;color:#212026}.el-alert--warning.is-light .el-alert__icon{color:#FF7D00}.el-alert--warning.is-dark{background-color:#FF7D00;color:#FFF}.el-alert--error.is-light{background-color:#FFF1F1;border:1px solid #FDCDC5;color:#212026}.el-alert--error.is-light .el-alert__icon{color:#F53F3F}.el-alert--error.is-dark{background-color:#F53F3F;color:#FFF}.el-alert__content{display:table-cell}.el-alert__icon{margin-right:8px;font-size:16px;width:16px}.el-alert__icon.is-big{font-size:28px;width:28px}.el-alert__title{font-size:12px}.el-alert__title.is-bold{font-weight:500}.el-alert .el-alert__description{font-size:12px;margin:5px 0 0;color:#212026;font-weight:400}.el-alert__closebtn{font-size:14px;opacity:1;position:absolute;top:12px;right:12px;cursor:pointer}.el-alert__closebtn.is-customed{font-style:normal;font-size:12px;top:11px}.el-alert-fade-enter,.el-alert-fade-leave-active{opacity:0}
|