@nethserver/ns8-ui-lib 1.12.0 → 1.12.2
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/ns8-ui-lib.ssr.js
CHANGED
|
@@ -1086,7 +1086,10 @@ var script$x = {
|
|
|
1086
1086
|
return ["error", "info", "warning", "success"].includes(val);
|
|
1087
1087
|
}
|
|
1088
1088
|
},
|
|
1089
|
-
lowContrast:
|
|
1089
|
+
lowContrast: {
|
|
1090
|
+
type: Boolean,
|
|
1091
|
+
default: true
|
|
1092
|
+
},
|
|
1090
1093
|
loading: {
|
|
1091
1094
|
type: Boolean,
|
|
1092
1095
|
default: false
|
|
@@ -1115,19 +1118,19 @@ var __vue_render__$I = function __vue_render__() {
|
|
|
1115
1118
|
"role": _vm.isAlert ? 'alert' : false,
|
|
1116
1119
|
"aria-live": !_vm.isAlert ? 'polite' : false
|
|
1117
1120
|
}
|
|
1118
|
-
}, _vm.$listeners), [_vm._ssrNode("<div" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__details details") + " data-v-
|
|
1121
|
+
}, _vm.$listeners), [_vm._ssrNode("<div" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__details details") + " data-v-37209503>", "</div>", [_c(_vm.icon, {
|
|
1119
1122
|
tag: "component",
|
|
1120
1123
|
class: _vm.carbonPrefix + "--inline-notification__icon"
|
|
1121
|
-
}), _vm._ssrNode(" "), _vm._ssrNode("<div" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__text-wrapper") + " data-v-
|
|
1124
|
+
}), _vm._ssrNode(" "), _vm._ssrNode("<div" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__text-wrapper") + " data-v-37209503>", "</div>", [_vm.$slots.title || _vm.title ? _vm._ssrNode("<p" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__title title") + " data-v-37209503>", "</p>", [_vm.$slots.title ? _vm._t("title") : _c('span', [_vm._v(_vm._s(_vm.title))])], 2) : _vm._e(), _vm._ssrNode(" "), _vm.$slots.description || _vm.description ? _vm._ssrNode("<p" + _vm._ssrClass(null, [_vm.carbonPrefix + "--inline-notification__subtitle", {
|
|
1122
1125
|
'mg-right': _vm.loading || _vm.timer
|
|
1123
|
-
}]) + " data-v-
|
|
1126
|
+
}]) + " data-v-37209503>", "</p>", [_vm.$slots.description ? _vm._t("description") : _c('span', [_vm._v(_vm._s(_vm.description))])], 2) : _vm._e(), _vm._ssrNode(" " + (_vm.loading ? "<p class=\"loader\" data-v-37209503></p>" : "<!---->") + " "), _vm.timer ? _vm._ssrNode("<p data-v-37209503>", "</p>", [_c('NsCircleTimer', {
|
|
1124
1127
|
attrs: {
|
|
1125
1128
|
"timeLimit": _vm.timer,
|
|
1126
1129
|
"size": 16,
|
|
1127
1130
|
"strokeWidth": 20,
|
|
1128
|
-
"color":
|
|
1131
|
+
"color": _vm.lowContrast ? undefined : 'white'
|
|
1129
1132
|
}
|
|
1130
|
-
})], 1) : _vm._e()], 2)], 2), _vm._ssrNode(" " + (_vm.actionLabel ? "<button type=\"button\"" + _vm._ssrClass(null, [_vm.carbonPrefix + "--inline-notification__action-button", _vm.carbonPrefix + "--btn", _vm.carbonPrefix + "--btn--sm", _vm.carbonPrefix + "--btn--ghost", 'action-button']) + " data-v-
|
|
1133
|
+
})], 1) : _vm._e()], 2)], 2), _vm._ssrNode(" " + (_vm.actionLabel ? "<button type=\"button\"" + _vm._ssrClass(null, [_vm.carbonPrefix + "--inline-notification__action-button", _vm.carbonPrefix + "--btn", _vm.carbonPrefix + "--btn--sm", _vm.carbonPrefix + "--btn--ghost", 'action-button']) + " data-v-37209503>" + _vm._ssrEscape("\n " + _vm._s(_vm.actionLabel) + "\n ") + "</button>" : "<!---->") + " "), _vm.showCloseButton ? _vm._ssrNode("<button type=\"button\"" + _vm._ssrAttr("aria-label", _vm.closeAriaLabel) + " data-notification-btn" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__close-button") + " data-v-37209503>", "</button>", [_c('Close20', {
|
|
1131
1134
|
class: _vm.carbonPrefix + "--inline-notification__close-icon"
|
|
1132
1135
|
})], 1) : _vm._e()], 2);
|
|
1133
1136
|
};
|
|
@@ -1137,8 +1140,8 @@ var __vue_staticRenderFns__$I = [];
|
|
|
1137
1140
|
|
|
1138
1141
|
var __vue_inject_styles__$L = function __vue_inject_styles__(inject) {
|
|
1139
1142
|
if (!inject) return;
|
|
1140
|
-
inject("data-v-
|
|
1141
|
-
source: ".title[data-v-
|
|
1143
|
+
inject("data-v-37209503_0", {
|
|
1144
|
+
source: ".title[data-v-37209503]{margin-right:.75rem;margin-bottom:.2rem;font-size:.875rem!important;font-weight:600!important}.mg-right[data-v-37209503]{margin-right:.75rem}.action-button[data-v-37209503]{margin-right:.5rem}.bx--inline-notification__text-wrapper p[data-v-37209503]{padding-right:0!important}",
|
|
1142
1145
|
map: undefined,
|
|
1143
1146
|
media: undefined
|
|
1144
1147
|
});
|
|
@@ -1146,10 +1149,10 @@ var __vue_inject_styles__$L = function __vue_inject_styles__(inject) {
|
|
|
1146
1149
|
/* scoped */
|
|
1147
1150
|
|
|
1148
1151
|
|
|
1149
|
-
var __vue_scope_id__$L = "data-v-
|
|
1152
|
+
var __vue_scope_id__$L = "data-v-37209503";
|
|
1150
1153
|
/* module identifier */
|
|
1151
1154
|
|
|
1152
|
-
var __vue_module_identifier__$L = "data-v-
|
|
1155
|
+
var __vue_module_identifier__$L = "data-v-37209503";
|
|
1153
1156
|
/* functional template */
|
|
1154
1157
|
|
|
1155
1158
|
var __vue_is_functional_template__$L = false;
|
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
:timeLimit="timer"
|
|
47
47
|
:size="16"
|
|
48
48
|
:strokeWidth="20"
|
|
49
|
-
color="white"
|
|
49
|
+
:color="lowContrast ? undefined : 'white'"
|
|
50
50
|
/>
|
|
51
51
|
</p>
|
|
52
52
|
</div>
|
|
@@ -99,7 +99,10 @@ export default {
|
|
|
99
99
|
default: "info",
|
|
100
100
|
validator: (val) => ["error", "info", "warning", "success"].includes(val)
|
|
101
101
|
},
|
|
102
|
-
lowContrast:
|
|
102
|
+
lowContrast: {
|
|
103
|
+
type: Boolean,
|
|
104
|
+
default: true
|
|
105
|
+
},
|
|
103
106
|
loading: {
|
|
104
107
|
type: Boolean,
|
|
105
108
|
default: false
|