@lvce-editor/status-bar-worker 1.9.0 → 1.10.0

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.
@@ -1008,8 +1008,9 @@ const WebWorkerRpcClient = {
1008
1008
  create: create$4
1009
1009
  };
1010
1010
 
1011
- const Button = 'button';
1011
+ const Button$1 = 'button';
1012
1012
 
1013
+ const Button = 1;
1013
1014
  const Div = 4;
1014
1015
  const Text = 12;
1015
1016
 
@@ -1365,7 +1366,7 @@ const toUiStatusBarItem = extensionHostStatusBarItem => {
1365
1366
  return {
1366
1367
  command: extensionHostStatusBarItem.command || '',
1367
1368
  icon: extensionHostStatusBarItem.icon || '',
1368
- name: extensionHostStatusBarItem.id || '',
1369
+ name: extensionHostStatusBarItem.id || extensionHostStatusBarItem.name || '',
1369
1370
  text: extensionHostStatusBarItem.text || '',
1370
1371
  tooltip: extensionHostStatusBarItem.tooltip || ''
1371
1372
  };
@@ -1441,10 +1442,10 @@ const getStatusBarItemVirtualDom = statusBarItem => {
1441
1442
  childCount: 1,
1442
1443
  className: StatusBarItem,
1443
1444
  name,
1444
- role: Button,
1445
+ role: Button$1,
1445
1446
  tabIndex: -1,
1446
1447
  title: tooltip,
1447
- type: Div
1448
+ type: Button
1448
1449
  }, text(statusBarItem.text)];
1449
1450
  };
1450
1451
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/status-bar-worker",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "Status Bar Worker",
5
5
  "repository": {
6
6
  "type": "git",