@univerjs-pro/sheets-shape-ui 1.0.0-alpha.2 → 1.0.0-alpha.3

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.
Files changed (103) hide show
  1. package/README.md +5 -3
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/index.js +1 -1
  23. package/lib/es/locale/ar-SA.js +1 -1
  24. package/lib/es/locale/ca-ES.js +1 -1
  25. package/lib/es/locale/de-DE.js +1 -1
  26. package/lib/es/locale/en-US.js +1 -1
  27. package/lib/es/locale/es-ES.js +1 -1
  28. package/lib/es/locale/fa-IR.js +1 -1
  29. package/lib/es/locale/fr-FR.js +1 -1
  30. package/lib/es/locale/id-ID.js +1 -1
  31. package/lib/es/locale/it-IT.js +1 -1
  32. package/lib/es/locale/ja-JP.js +1 -1
  33. package/lib/es/locale/ko-KR.js +1 -1
  34. package/lib/es/locale/pl-PL.js +1 -1
  35. package/lib/es/locale/pt-BR.js +1 -1
  36. package/lib/es/locale/ru-RU.js +1 -1
  37. package/lib/es/locale/sk-SK.js +1 -1
  38. package/lib/es/locale/vi-VN.js +1 -1
  39. package/lib/es/locale/zh-CN.js +1 -1
  40. package/lib/es/locale/zh-HK.js +1 -1
  41. package/lib/es/locale/zh-TW.js +1 -1
  42. package/lib/index.css +21 -0
  43. package/lib/index.js +1 -1
  44. package/lib/locale/ar-SA.js +1 -1
  45. package/lib/locale/ca-ES.js +1 -1
  46. package/lib/locale/de-DE.js +1 -1
  47. package/lib/locale/en-US.js +1 -1
  48. package/lib/locale/es-ES.js +1 -1
  49. package/lib/locale/fa-IR.js +1 -1
  50. package/lib/locale/fr-FR.js +1 -1
  51. package/lib/locale/id-ID.js +1 -1
  52. package/lib/locale/it-IT.js +1 -1
  53. package/lib/locale/ja-JP.js +1 -1
  54. package/lib/locale/ko-KR.js +1 -1
  55. package/lib/locale/pl-PL.js +1 -1
  56. package/lib/locale/pt-BR.js +1 -1
  57. package/lib/locale/ru-RU.js +1 -1
  58. package/lib/locale/sk-SK.js +1 -1
  59. package/lib/locale/vi-VN.js +1 -1
  60. package/lib/locale/zh-CN.js +1 -1
  61. package/lib/locale/zh-HK.js +1 -1
  62. package/lib/locale/zh-TW.js +1 -1
  63. package/lib/types/command-util.d.ts +9 -3
  64. package/lib/types/commands/menu/menu-dependencies.d.ts +2 -0
  65. package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
  66. package/lib/types/commands/operations/open-object-list-panel.operation.d.ts +5 -0
  67. package/lib/types/const.d.ts +2 -1
  68. package/lib/types/controllers/components.controller.d.ts +4 -2
  69. package/lib/types/controllers/shape-update.controller.d.ts +1 -0
  70. package/lib/types/controllers/sheet-shape-adjust.controller.d.ts +3 -6
  71. package/lib/types/controllers/sheet-shape-printing.controller.d.ts +12 -0
  72. package/lib/types/controllers/sheet-shape-render.controller.d.ts +8 -3
  73. package/lib/types/index.d.ts +1 -7
  74. package/lib/types/locale/en-US.d.ts +18 -0
  75. package/lib/types/services/shape-text-editing.service.d.ts +8 -0
  76. package/lib/types/utils/shape-text-document.d.ts +1 -11
  77. package/lib/types/view-model/drawing-shape.d.ts +6 -2
  78. package/lib/types/view-model/shape-data-model.d.ts +7 -5
  79. package/lib/types/views/ShapePicker.d.ts +4 -0
  80. package/lib/types/views/object-list-panel/SheetDrawingObjectListPanel.d.ts +1 -0
  81. package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -2
  82. package/lib/umd/index.js +1 -1
  83. package/lib/umd/locale/ar-SA.js +1 -1
  84. package/lib/umd/locale/ca-ES.js +1 -1
  85. package/lib/umd/locale/de-DE.js +1 -1
  86. package/lib/umd/locale/en-US.js +1 -1
  87. package/lib/umd/locale/es-ES.js +1 -1
  88. package/lib/umd/locale/fa-IR.js +1 -1
  89. package/lib/umd/locale/fr-FR.js +1 -1
  90. package/lib/umd/locale/id-ID.js +1 -1
  91. package/lib/umd/locale/it-IT.js +1 -1
  92. package/lib/umd/locale/ja-JP.js +1 -1
  93. package/lib/umd/locale/ko-KR.js +1 -1
  94. package/lib/umd/locale/pl-PL.js +1 -1
  95. package/lib/umd/locale/pt-BR.js +1 -1
  96. package/lib/umd/locale/ru-RU.js +1 -1
  97. package/lib/umd/locale/sk-SK.js +1 -1
  98. package/lib/umd/locale/vi-VN.js +1 -1
  99. package/lib/umd/locale/zh-CN.js +1 -1
  100. package/lib/umd/locale/zh-HK.js +1 -1
  101. package/lib/umd/locale/zh-TW.js +1 -1
  102. package/package.json +20 -19
  103. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -1
package/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # @univerjs-pro/sheets-shape-ui
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@univerjs-pro/sheets-shape-ui?style=flat-square)](https://npmjs.com/package/@univerjs-pro/sheets-shape-ui)
4
+ [![license](https://img.shields.io/npm/l/@univerjs-pro/sheets-shape-ui?style=flat-square)](https://npmjs.com/package/@univerjs-pro/sheets-shape-ui)
4
5
  [![downloads](https://img.shields.io/npm/dm/@univerjs-pro/sheets-shape-ui?style=flat-square)](https://npmjs.com/package/@univerjs-pro/sheets-shape-ui)
5
6
 
6
- `@univerjs-pro/sheets-shape-ui` provides shape and drawing UI integration for Univer Sheets.
7
+ `@univerjs-pro/sheets-shape-ui` is part of Univer Pro. Shape and drawing UI integration for Univer Sheets.
7
8
 
8
9
  ## Package Overview
9
10
 
@@ -35,10 +36,11 @@ univer.registerPlugin(UniverSheetsShapeUIPlugin);
35
36
 
36
37
  ## Integration Notes
37
38
 
38
- Use this package with `@univerjs-pro/sheets-shape` when users need shape editing UI.
39
+ - Keep this package on the same version as the other `@univerjs/*` and `@univerjs-pro/*` packages in your application.
40
+ - Import the package stylesheet once in the application entry before rendering Univer UI.
41
+ - Import locale files only for the languages your application enables.
39
42
 
40
43
  ## Resources
41
44
 
42
45
  - [Documentation](https://docs.univer.ai/guides/pro)
43
46
  - [NPM package](https://npmjs.com/package/@univerjs-pro/sheets-shape-ui)
44
-