@univerjs/preset-sheets-core 1.0.2 → 1.0.4

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.
package/lib/cjs/index.js CHANGED
@@ -59,6 +59,7 @@ function UniverSheetsCorePreset(config = {}) {
59
59
  [_univerjs_sheets_ui.UniverSheetsUIPlugin, {
60
60
  formulaBar,
61
61
  footer,
62
+ allowArrowKeyWrapOnSheetBoundary: sheets === null || sheets === void 0 ? void 0 : sheets.allowArrowKeyWrapOnSheetBoundary,
62
63
  maxAutoHeightCount: sheets === null || sheets === void 0 ? void 0 : sheets.maxAutoHeightCount,
63
64
  clipboardConfig: sheets === null || sheets === void 0 ? void 0 : sheets.clipboardConfig,
64
65
  scrollConfig: sheets === null || sheets === void 0 ? void 0 : sheets.scrollConfig,
package/lib/es/index.js CHANGED
@@ -86,6 +86,7 @@ function UniverSheetsCorePreset(config = {}) {
86
86
  [UniverSheetsUIPlugin, {
87
87
  formulaBar,
88
88
  footer,
89
+ allowArrowKeyWrapOnSheetBoundary: sheets === null || sheets === void 0 ? void 0 : sheets.allowArrowKeyWrapOnSheetBoundary,
89
90
  maxAutoHeightCount: sheets === null || sheets === void 0 ? void 0 : sheets.maxAutoHeightCount,
90
91
  clipboardConfig: sheets === null || sheets === void 0 ? void 0 : sheets.clipboardConfig,
91
92
  scrollConfig: sheets === null || sheets === void 0 ? void 0 : sheets.scrollConfig,
package/lib/index.css CHANGED
@@ -3778,6 +3778,10 @@
3778
3778
  width: 20rem;
3779
3779
  }
3780
3780
 
3781
+ .univer-w-\[--radix-popper-anchor-width\] {
3782
+ width: var(--radix-popper-anchor-width);
3783
+ }
3784
+
3781
3785
  .univer-w-\[0px\] {
3782
3786
  width: 0;
3783
3787
  }
@@ -3878,10 +3882,18 @@
3878
3882
  grid-template-columns: repeat(8, minmax(0, 1fr));
3879
3883
  }
3880
3884
 
3885
+ .univer-grid-cols-\[1fr_5rem\] {
3886
+ grid-template-columns: 1fr 5rem;
3887
+ }
3888
+
3881
3889
  .univer-grid-cols-\[56px_minmax\(0\,1fr\)_56px\] {
3882
3890
  grid-template-columns: 56px minmax(0, 1fr) 56px;
3883
3891
  }
3884
3892
 
3893
+ .univer-grid-cols-\[auto_auto\] {
3894
+ grid-template-columns: auto auto;
3895
+ }
3896
+
3885
3897
  .univer-grid-rows-4 {
3886
3898
  grid-template-rows: repeat(4, minmax(0, 1fr));
3887
3899
  }
@@ -3951,6 +3963,15 @@
3951
3963
  column-gap: .125rem;
3952
3964
  }
3953
3965
 
3966
+ .univer-gap-x-2 {
3967
+ -moz-column-gap: .5rem;
3968
+ column-gap: .5rem;
3969
+ }
3970
+
3971
+ .univer-gap-y-1 {
3972
+ row-gap: .25rem;
3973
+ }
3974
+
3954
3975
  .univer-gap-y-px {
3955
3976
  row-gap: 1px;
3956
3977
  }
@@ -5606,6 +5627,10 @@
5606
5627
  border-radius: .5rem;
5607
5628
  }
5608
5629
 
5630
+ .univer-bg-gray-200 {
5631
+ background-color: var(--univer-gray-200);
5632
+ }
5633
+
5609
5634
  .univer-p-1\.5 {
5610
5635
  padding: .375rem;
5611
5636
  }
@@ -5751,10 +5776,6 @@
5751
5776
  left: .25rem;
5752
5777
  }
5753
5778
 
5754
- .univer-left-3 {
5755
- left: .75rem;
5756
- }
5757
-
5758
5779
  .univer-right-0 {
5759
5780
  right: 0;
5760
5781
  }
@@ -5867,10 +5888,6 @@
5867
5888
  margin-left: .75rem;
5868
5889
  }
5869
5890
 
5870
- .univer-ml-6 {
5871
- margin-left: 1.5rem;
5872
- }
5873
-
5874
5891
  .univer-ml-px {
5875
5892
  margin-left: 1px;
5876
5893
  }
@@ -8589,6 +8606,11 @@
8589
8606
  padding-right: 1.5rem;
8590
8607
  }
8591
8608
 
8609
+ .univer-py-0 {
8610
+ padding-top: 0;
8611
+ padding-bottom: 0;
8612
+ }
8613
+
8592
8614
  .univer-py-0\.5 {
8593
8615
  padding-top: .125rem;
8594
8616
  padding-bottom: .125rem;
package/lib/index.js CHANGED
@@ -86,6 +86,7 @@ function UniverSheetsCorePreset(config = {}) {
86
86
  [UniverSheetsUIPlugin, {
87
87
  formulaBar,
88
88
  footer,
89
+ allowArrowKeyWrapOnSheetBoundary: sheets === null || sheets === void 0 ? void 0 : sheets.allowArrowKeyWrapOnSheetBoundary,
89
90
  maxAutoHeightCount: sheets === null || sheets === void 0 ? void 0 : sheets.maxAutoHeightCount,
90
91
  clipboardConfig: sheets === null || sheets === void 0 ? void 0 : sheets.clipboardConfig,
91
92
  scrollConfig: sheets === null || sheets === void 0 ? void 0 : sheets.scrollConfig,
@@ -25,5 +25,5 @@ export interface IUniverFormulaWorkerConfig extends Pick<IUniverEngineFormulaCon
25
25
  }
26
26
  export interface IUniverDocsPresetConfig extends IUniverDocsConfig {
27
27
  }
28
- export interface IUniverSheetsPresetConfig extends Pick<IUniverSheetsConfig, 'isRowStylePrecedeColumnStyle' | 'autoHeightForMergedCells' | 'freezeSync'>, Pick<IUniverSheetsUIConfig, 'maxAutoHeightCount' | 'clipboardConfig' | 'scrollConfig' | 'protectedRangeShadow' | 'protectedRangeUserSelector' | 'disableForceStringAlert' | 'disableForceStringMark'> {
28
+ export interface IUniverSheetsPresetConfig extends Pick<IUniverSheetsConfig, 'isRowStylePrecedeColumnStyle' | 'autoHeightForMergedCells' | 'freezeSync'>, Pick<IUniverSheetsUIConfig, 'maxAutoHeightCount' | 'clipboardConfig' | 'scrollConfig' | 'protectedRangeShadow' | 'protectedRangeUserSelector' | 'disableForceStringAlert' | 'disableForceStringMark' | 'allowArrowKeyWrapOnSheetBoundary'> {
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-core",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "private": false,
5
5
  "description": "Preset for core Univer Sheets spreadsheet features.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,25 +61,25 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs/design": "1.0.2",
65
- "@univerjs/docs": "1.0.2",
66
- "@univerjs/docs-ui": "1.0.2",
67
- "@univerjs/engine-formula": "1.0.2",
68
- "@univerjs/engine-render": "1.0.2",
69
- "@univerjs/network": "1.0.2",
70
- "@univerjs/rpc": "1.0.2",
71
- "@univerjs/sheets": "1.0.2",
72
- "@univerjs/sheets-formula": "1.0.2",
73
- "@univerjs/sheets-formula-ui": "1.0.2",
74
- "@univerjs/sheets-numfmt": "1.0.2",
75
- "@univerjs/sheets-numfmt-ui": "1.0.2",
76
- "@univerjs/sheets-ui": "1.0.2",
77
- "@univerjs/ui": "1.0.2"
64
+ "@univerjs/design": "1.0.4",
65
+ "@univerjs/docs": "1.0.4",
66
+ "@univerjs/docs-ui": "1.0.4",
67
+ "@univerjs/engine-formula": "1.0.4",
68
+ "@univerjs/engine-render": "1.0.4",
69
+ "@univerjs/network": "1.0.4",
70
+ "@univerjs/rpc": "1.0.4",
71
+ "@univerjs/sheets": "1.0.4",
72
+ "@univerjs/sheets-formula": "1.0.4",
73
+ "@univerjs/sheets-formula-ui": "1.0.4",
74
+ "@univerjs/sheets-numfmt": "1.0.4",
75
+ "@univerjs/sheets-numfmt-ui": "1.0.4",
76
+ "@univerjs/sheets-ui": "1.0.4",
77
+ "@univerjs/ui": "1.0.4"
78
78
  },
79
79
  "devDependencies": {
80
- "@univerjs-infra/shared": "1.0.2",
81
- "@univerjs/core": "1.0.2",
82
- "@univerjs/presets": "1.0.2",
80
+ "@univerjs-infra/shared": "1.0.4",
81
+ "@univerjs/core": "1.0.4",
82
+ "@univerjs/presets": "1.0.4",
83
83
  "react": "18.3.1",
84
84
  "react-dom": "18.3.1",
85
85
  "rxjs": "^7.8.2",