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.
@@ -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
- content.className = "".concat((0,shared_namespaceObject.resolveClassName)('popper'), " ").concat(isLight ? 'light' : 'dark', " ").concat(extCls);
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
- arrow.className = (0,shared_namespaceObject.resolveClassName)('popper-arrow');
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
@@ -4,5 +4,5 @@ export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
6
  export * as plugins from './plugins';
7
- export const version = "2.0.1-beta.47";
7
+ export const version = "2.0.1-beta.49";
8
8
  window.__bkui_vue_version__ = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.47",
3
+ "version": "2.0.1-beta.49",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",