@difizen/libro-core 0.1.22 → 0.1.24

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.
@@ -103,22 +103,19 @@ export var LibroToolbarContribution = (_dec = singleton({
103
103
  group: ['group2'],
104
104
  order: 'c-all'
105
105
  });
106
- registry.registerItem({
107
- id: DocumentCommands['FormatCell'].id,
108
- command: DocumentCommands['FormatCell'].id,
109
- tooltip: /*#__PURE__*/_jsxs("div", {
110
- className: "libro-side-tooltip",
111
- children: [/*#__PURE__*/_jsx("span", {
112
- className: "libro-tooltip-text",
113
- children: l10n.t('格式化代码')
114
- }), /*#__PURE__*/_jsx("span", {
115
- className: "libro-tooltip-keybind",
116
- children: "Shift+Option+F"
117
- })]
118
- }),
119
- group: ['sidetoolbar1'],
120
- order: 'd'
121
- });
106
+ // registry.registerItem({
107
+ // id: DocumentCommands['FormatCell'].id,
108
+ // command: DocumentCommands['FormatCell'].id,
109
+ // tooltip: (
110
+ // <div className="libro-side-tooltip">
111
+ // <span className="libro-tooltip-text">{l10n.t('格式化代码')}</span>
112
+ // <span className="libro-tooltip-keybind">Shift+Option+F</span>
113
+ // </div>
114
+ // ),
115
+
116
+ // group: ['sidetoolbar1'],
117
+ // order: 'd',
118
+ // });
122
119
  registry.registerItem({
123
120
  id: NotebookCommands['MoveCellUp'].id,
124
121
  command: NotebookCommands['MoveCellUp'].id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-core",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -34,10 +34,10 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^5.1.0",
37
- "@difizen/libro-code-editor": "^0.1.22",
38
- "@difizen/libro-common": "^0.1.22",
39
- "@difizen/libro-shared-model": "^0.1.22",
40
- "@difizen/libro-virtualized": "^0.1.22",
37
+ "@difizen/libro-code-editor": "^0.1.24",
38
+ "@difizen/libro-common": "^0.1.24",
39
+ "@difizen/libro-shared-model": "^0.1.23",
40
+ "@difizen/libro-virtualized": "^0.1.24",
41
41
  "@difizen/mana-app": "latest",
42
42
  "@difizen/mana-l10n": "latest",
43
43
  "@difizen/mana-react": "latest",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "peerDependencies": {
57
57
  "antd": "^5.8.6",
58
- "react": "^18.2.0"
58
+ "react": ">=16"
59
59
  },
60
60
  "scripts": {
61
61
  "setup": "father build",
@@ -94,19 +94,19 @@ export class LibroToolbarContribution implements ToolbarContribution {
94
94
  group: ['group2'],
95
95
  order: 'c-all',
96
96
  });
97
- registry.registerItem({
98
- id: DocumentCommands['FormatCell'].id,
99
- command: DocumentCommands['FormatCell'].id,
100
- tooltip: (
101
- <div className="libro-side-tooltip">
102
- <span className="libro-tooltip-text">{l10n.t('格式化代码')}</span>
103
- <span className="libro-tooltip-keybind">Shift+Option+F</span>
104
- </div>
105
- ),
106
-
107
- group: ['sidetoolbar1'],
108
- order: 'd',
109
- });
97
+ // registry.registerItem({
98
+ // id: DocumentCommands['FormatCell'].id,
99
+ // command: DocumentCommands['FormatCell'].id,
100
+ // tooltip: (
101
+ // <div className="libro-side-tooltip">
102
+ // <span className="libro-tooltip-text">{l10n.t('格式化代码')}</span>
103
+ // <span className="libro-tooltip-keybind">Shift+Option+F</span>
104
+ // </div>
105
+ // ),
106
+
107
+ // group: ['sidetoolbar1'],
108
+ // order: 'd',
109
+ // });
110
110
  registry.registerItem({
111
111
  id: NotebookCommands['MoveCellUp'].id,
112
112
  command: NotebookCommands['MoveCellUp'].id,