bkui-vue 2.0.1-beta.47 → 2.0.1-beta.49
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.cjs.js +24 -24
- package/dist/index.esm.js +7 -7
- package/dist/index.umd.js +24 -24
- package/lib/directives/index.js +4 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/directives/index.js
CHANGED
@@ -1217,7 +1217,8 @@ function renderContent(opts) {
|
|
1217
1217
|
var isLight = theme === 'light';
|
1218
1218
|
var zIndex = shared_namespaceObject.bkZIndexManager.getPopperIndex();
|
1219
1219
|
var content = document.createElement('div');
|
1220
|
-
|
1220
|
+
var prefix = document.documentElement.style.getPropertyValue('--bk-prefix') || 'bk';
|
1221
|
+
content.className = "".concat((0,shared_namespaceObject.resolveClassName)('popper', prefix), " ").concat(isLight ? 'light' : 'dark', " ").concat(extCls);
|
1221
1222
|
content.innerText = value;
|
1222
1223
|
content.style.zIndex = String(zIndex);
|
1223
1224
|
renderContext(value, content);
|
@@ -1233,7 +1234,8 @@ function renderContent(opts) {
|
|
1233
1234
|
*/
|
1234
1235
|
function renderArrow() {
|
1235
1236
|
var arrow = document.createElement('div');
|
1236
|
-
|
1237
|
+
var prefix = document.documentElement.style.getPropertyValue('--bk-prefix') || 'bk';
|
1238
|
+
arrow.className = (0,shared_namespaceObject.resolveClassName)('popper-arrow', prefix);
|
1237
1239
|
arrow.setAttribute('data-popper-arrow', '');
|
1238
1240
|
return arrow;
|
1239
1241
|
}
|
package/lib/index.js
CHANGED