@univerjs/sheets-ui 1.0.0-alpha.3 → 1.0.0-alpha.5

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 (101) hide show
  1. package/lib/cjs/index.js +7409 -6966
  2. package/lib/cjs/locale/ar-SA.js +4 -1
  3. package/lib/cjs/locale/ca-ES.js +4 -1
  4. package/lib/cjs/locale/de-DE.js +4 -1
  5. package/lib/cjs/locale/en-US.js +4 -1
  6. package/lib/cjs/locale/es-ES.js +4 -1
  7. package/lib/cjs/locale/fa-IR.js +4 -1
  8. package/lib/cjs/locale/fr-FR.js +4 -1
  9. package/lib/cjs/locale/id-ID.js +4 -1
  10. package/lib/cjs/locale/it-IT.js +4 -1
  11. package/lib/cjs/locale/ja-JP.js +4 -1
  12. package/lib/cjs/locale/ko-KR.js +4 -1
  13. package/lib/cjs/locale/pl-PL.js +4 -1
  14. package/lib/cjs/locale/pt-BR.js +4 -1
  15. package/lib/cjs/locale/ru-RU.js +4 -1
  16. package/lib/cjs/locale/sk-SK.js +4 -1
  17. package/lib/cjs/locale/vi-VN.js +4 -1
  18. package/lib/cjs/locale/zh-CN.js +4 -1
  19. package/lib/cjs/locale/zh-HK.js +4 -1
  20. package/lib/cjs/locale/zh-TW.js +4 -1
  21. package/lib/es/index.js +7416 -6974
  22. package/lib/es/locale/ar-SA.js +4 -1
  23. package/lib/es/locale/ca-ES.js +4 -1
  24. package/lib/es/locale/de-DE.js +4 -1
  25. package/lib/es/locale/en-US.js +4 -1
  26. package/lib/es/locale/es-ES.js +4 -1
  27. package/lib/es/locale/fa-IR.js +4 -1
  28. package/lib/es/locale/fr-FR.js +4 -1
  29. package/lib/es/locale/id-ID.js +4 -1
  30. package/lib/es/locale/it-IT.js +4 -1
  31. package/lib/es/locale/ja-JP.js +4 -1
  32. package/lib/es/locale/ko-KR.js +4 -1
  33. package/lib/es/locale/pl-PL.js +4 -1
  34. package/lib/es/locale/pt-BR.js +4 -1
  35. package/lib/es/locale/ru-RU.js +4 -1
  36. package/lib/es/locale/sk-SK.js +4 -1
  37. package/lib/es/locale/vi-VN.js +4 -1
  38. package/lib/es/locale/zh-CN.js +4 -1
  39. package/lib/es/locale/zh-HK.js +4 -1
  40. package/lib/es/locale/zh-TW.js +4 -1
  41. package/lib/index.css +45 -0
  42. package/lib/index.js +7416 -6974
  43. package/lib/locale/ar-SA.js +4 -1
  44. package/lib/locale/ca-ES.js +4 -1
  45. package/lib/locale/de-DE.js +4 -1
  46. package/lib/locale/en-US.js +4 -1
  47. package/lib/locale/es-ES.js +4 -1
  48. package/lib/locale/fa-IR.js +4 -1
  49. package/lib/locale/fr-FR.js +4 -1
  50. package/lib/locale/id-ID.js +4 -1
  51. package/lib/locale/it-IT.js +4 -1
  52. package/lib/locale/ja-JP.js +4 -1
  53. package/lib/locale/ko-KR.js +4 -1
  54. package/lib/locale/pl-PL.js +4 -1
  55. package/lib/locale/pt-BR.js +4 -1
  56. package/lib/locale/ru-RU.js +4 -1
  57. package/lib/locale/sk-SK.js +4 -1
  58. package/lib/locale/vi-VN.js +4 -1
  59. package/lib/locale/zh-CN.js +4 -1
  60. package/lib/locale/zh-HK.js +4 -1
  61. package/lib/locale/zh-TW.js +4 -1
  62. package/lib/types/{controllers/cell-alert.controller.d.ts → commands/commands/set-zoom-ratio-from-toolbar.command.d.ts} +4 -8
  63. package/lib/types/controllers/permission/sheet-permission-render.controller.d.ts +1 -9
  64. package/lib/types/index.d.ts +1 -0
  65. package/lib/types/locale/en-US.d.ts +4 -1
  66. package/lib/types/menu/frozen.menu.d.ts +2 -0
  67. package/lib/types/menu/fullscreen.menu.d.ts +19 -0
  68. package/lib/types/menu/menu.d.ts +1 -0
  69. package/lib/types/menu/text-to-number.menu.d.ts +0 -2
  70. package/lib/types/menu/zoom.menu.d.ts +20 -0
  71. package/lib/types/services/cell-dropdown-manager.service.d.ts +1 -3
  72. package/lib/types/services/sheet-loading-render.service.d.ts +65 -0
  73. package/lib/types/views/CellPopup.d.ts +2 -2
  74. package/lib/types/views/defined-name/DefinedNameInput.d.ts +1 -1
  75. package/lib/types/views/dropdown/CascaderDropdown.d.ts +2 -2
  76. package/lib/types/views/dropdown/ColorDropdown.d.ts +2 -2
  77. package/lib/types/views/dropdown/DateDropdown.d.ts +2 -2
  78. package/lib/types/views/dropdown/ListDropDown.d.ts +2 -2
  79. package/lib/types/views/hook.d.ts +4 -0
  80. package/lib/types/views/sheet-slider/SheetZoomInput.d.ts +18 -0
  81. package/lib/umd/index.js +11 -11
  82. package/lib/umd/locale/ar-SA.js +1 -1
  83. package/lib/umd/locale/ca-ES.js +1 -1
  84. package/lib/umd/locale/de-DE.js +1 -1
  85. package/lib/umd/locale/en-US.js +1 -1
  86. package/lib/umd/locale/es-ES.js +1 -1
  87. package/lib/umd/locale/fa-IR.js +1 -1
  88. package/lib/umd/locale/fr-FR.js +1 -1
  89. package/lib/umd/locale/id-ID.js +1 -1
  90. package/lib/umd/locale/it-IT.js +1 -1
  91. package/lib/umd/locale/ja-JP.js +1 -1
  92. package/lib/umd/locale/ko-KR.js +1 -1
  93. package/lib/umd/locale/pl-PL.js +1 -1
  94. package/lib/umd/locale/pt-BR.js +1 -1
  95. package/lib/umd/locale/ru-RU.js +1 -1
  96. package/lib/umd/locale/sk-SK.js +1 -1
  97. package/lib/umd/locale/vi-VN.js +1 -1
  98. package/lib/umd/locale/zh-CN.js +1 -1
  99. package/lib/umd/locale/zh-HK.js +1 -1
  100. package/lib/umd/locale/zh-TW.js +1 -1
  101. package/package.json +15 -15
package/lib/index.css CHANGED
@@ -33,6 +33,10 @@
33
33
  top: -.125rem;
34
34
  }
35
35
 
36
+ .univer-bottom-0 {
37
+ bottom: 0;
38
+ }
39
+
36
40
  .univer-left-0 {
37
41
  left: 0;
38
42
  }
@@ -41,6 +45,10 @@
41
45
  left: .25rem;
42
46
  }
43
47
 
48
+ .univer-left-1\/2 {
49
+ left: 50%;
50
+ }
51
+
44
52
  .univer-left-3 {
45
53
  left: .75rem;
46
54
  }
@@ -422,6 +430,12 @@
422
430
  flex-basis: 0;
423
431
  }
424
432
 
433
+ .-univer-translate-x-1\/2 {
434
+ --univer-tw-translate-x: -50%;
435
+ transform: translate(-50%, var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
436
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
437
+ }
438
+
425
439
  .-univer-translate-y-1\/2 {
426
440
  --univer-tw-translate-y: -50%;
427
441
  transform: translate(var(--univer-tw-translate-x), -50%) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
@@ -434,6 +448,16 @@
434
448
  transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
435
449
  }
436
450
 
451
+ @keyframes univer-pulse {
452
+ 50% {
453
+ opacity: .5;
454
+ }
455
+ }
456
+
457
+ .univer-animate-pulse {
458
+ animation: 2s cubic-bezier(.4, 0, .6, 1) infinite univer-pulse;
459
+ }
460
+
437
461
  @keyframes univer-spin {
438
462
  to {
439
463
  transform: rotate(360deg);
@@ -634,6 +658,10 @@
634
658
  border-bottom-width: 1px;
635
659
  }
636
660
 
661
+ .univer-border-r {
662
+ border-right-width: 1px;
663
+ }
664
+
637
665
  .univer-border-solid {
638
666
  border-style: solid;
639
667
  }
@@ -678,6 +706,10 @@
678
706
  background-color: var(--univer-gray-900) !important;
679
707
  }
680
708
 
709
+ .\!univer-bg-transparent {
710
+ background-color: #0000 !important;
711
+ }
712
+
681
713
  .univer-bg-blue-500 {
682
714
  background-color: var(--univer-blue-500);
683
715
  }
@@ -694,6 +726,10 @@
694
726
  background-color: var(--univer-gray-200);
695
727
  }
696
728
 
729
+ .univer-bg-gray-50 {
730
+ background-color: var(--univer-gray-50);
731
+ }
732
+
697
733
  .univer-bg-transparent {
698
734
  background-color: #0000;
699
735
  }
@@ -951,6 +987,11 @@
951
987
  color: rgba(225, 29, 72, var(--univer-tw-text-opacity, 1));
952
988
  }
953
989
 
990
+ .univer-text-violet-500 {
991
+ --univer-tw-text-opacity: 1;
992
+ color: rgba(139, 92, 246, var(--univer-tw-text-opacity, 1));
993
+ }
994
+
954
995
  .univer-text-white {
955
996
  color: var(--univer-white);
956
997
  }
@@ -1190,6 +1231,10 @@
1190
1231
  background-color: var(--univer-gray-900) !important;
1191
1232
  }
1192
1233
 
1234
+ .dark\:\!univer-bg-transparent:where(.univer-dark, .univer-dark *) {
1235
+ background-color: #0000 !important;
1236
+ }
1237
+
1193
1238
  .dark\:\!univer-from-gray-800:where(.univer-dark, .univer-dark *) {
1194
1239
  --univer-tw-gradient-from: var(--univer-gray-800) var(--univer-tw-gradient-from-position) !important;
1195
1240
  --univer-tw-gradient-to: #fff0 var(--univer-tw-gradient-to-position) !important;