@univerjs/preset-sheets-advanced 1.0.0-alpha.3 → 1.0.0-alpha.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
@@ -14,6 +14,7 @@ let _univerjs_pro_sheets_shape = require("@univerjs-pro/sheets-shape");
14
14
  let _univerjs_pro_sheets_shape_ui = require("@univerjs-pro/sheets-shape-ui");
15
15
  let _univerjs_pro_sheets_sparkline = require("@univerjs-pro/sheets-sparkline");
16
16
  let _univerjs_pro_sheets_sparkline_ui = require("@univerjs-pro/sheets-sparkline-ui");
17
+ require("@univerjs-pro/engine-shape/facade");
17
18
  require("@univerjs-pro/exchange-client/facade");
18
19
  require("@univerjs-pro/sheets-pivot/facade");
19
20
  require("@univerjs-pro/engine-formula/facade");
package/lib/es/index.js CHANGED
@@ -13,6 +13,7 @@ import { UniverSheetsShapePlugin } from "@univerjs-pro/sheets-shape";
13
13
  import { UniverSheetsShapeUIPlugin } from "@univerjs-pro/sheets-shape-ui";
14
14
  import { UniverSheetSparklinePlugin } from "@univerjs-pro/sheets-sparkline";
15
15
  import { UniverSheetSparklineUIPlugin } from "@univerjs-pro/sheets-sparkline-ui";
16
+ import "@univerjs-pro/engine-shape/facade";
16
17
  import "@univerjs-pro/exchange-client/facade";
17
18
  import "@univerjs-pro/sheets-pivot/facade";
18
19
  import "@univerjs-pro/engine-formula/facade";
package/lib/index.css CHANGED
@@ -254,10 +254,6 @@
254
254
  font-weight: 600;
255
255
  }
256
256
 
257
- .univer-leading-6 {
258
- line-height: 1.5rem;
259
- }
260
-
261
257
  .univer-text-blue-500 {
262
258
  color: var(--univer-blue-500);
263
259
  }
@@ -459,10 +455,6 @@
459
455
  height: 100%;
460
456
  }
461
457
 
462
- .\!univer-h-5 {
463
- height: 1.25rem !important;
464
- }
465
-
466
458
  .\!univer-h-6 {
467
459
  height: 1.5rem !important;
468
460
  }
@@ -511,10 +503,6 @@
511
503
  height: 100px;
512
504
  }
513
505
 
514
- .univer-h-px {
515
- height: 1px;
516
- }
517
-
518
506
  .univer-max-h-\[75vh\] {
519
507
  max-height: 75vh;
520
508
  }
@@ -555,6 +543,10 @@
555
543
  width: 7rem;
556
544
  }
557
545
 
546
+ .univer-w-32 {
547
+ width: 8rem;
548
+ }
549
+
558
550
  .univer-w-4 {
559
551
  width: 1rem;
560
552
  }
@@ -607,10 +599,6 @@
607
599
  width: 100%;
608
600
  }
609
601
 
610
- .univer-w-px {
611
- width: 1px;
612
- }
613
-
614
602
  .\!univer-min-w-0 {
615
603
  min-width: 0 !important;
616
604
  }
@@ -710,6 +698,10 @@
710
698
  grid-template-columns: repeat(10, minmax(0, 1fr));
711
699
  }
712
700
 
701
+ .univer-grid-cols-2 {
702
+ grid-template-columns: repeat(2, minmax(0, 1fr));
703
+ }
704
+
713
705
  .univer-grid-cols-3 {
714
706
  grid-template-columns: repeat(3, minmax(0, 1fr));
715
707
  }
@@ -847,10 +839,6 @@
847
839
  border-bottom-width: 0;
848
840
  }
849
841
 
850
- .univer-border-l {
851
- border-left-width: 1px;
852
- }
853
-
854
842
  .univer-border-l-2 {
855
843
  border-left-width: 2px;
856
844
  }
@@ -1204,14 +1192,6 @@
1204
1192
  border-bottom-right-radius: 0;
1205
1193
  }
1206
1194
 
1207
- .rtl\:univer-border-l-0:where([dir="rtl"], [dir="rtl"] *) {
1208
- border-left-width: 0;
1209
- }
1210
-
1211
- .rtl\:univer-border-r:where([dir="rtl"], [dir="rtl"] *) {
1212
- border-right-width: 1px;
1213
- }
1214
-
1215
1195
  .rtl\:univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
1216
1196
  text-align: right;
1217
1197
  }
@@ -1260,6 +1240,10 @@
1260
1240
  color: var(--univer-gray-300) !important;
1261
1241
  }
1262
1242
 
1243
+ .dark\:\!univer-text-gray-400:where(.univer-dark, .univer-dark *) {
1244
+ color: var(--univer-gray-400) !important;
1245
+ }
1246
+
1263
1247
  .dark\:\!univer-text-gray-500:where(.univer-dark, .univer-dark *) {
1264
1248
  color: var(--univer-gray-500) !important;
1265
1249
  }
@@ -1300,6 +1284,14 @@
1300
1284
  box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px #1e284d14;
1301
1285
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
1302
1286
  }
1287
+
1288
+ .\[\&\>label\]\:univer-grid > label {
1289
+ display: grid;
1290
+ }
1291
+
1292
+ .\[\&\>label\]\:univer-gap-1 > label {
1293
+ gap: .25rem;
1294
+ }
1303
1295
  .univer-absolute {
1304
1296
  position: absolute;
1305
1297
  }
@@ -1620,10 +1612,6 @@
1620
1612
  line-height: 1.25rem;
1621
1613
  }
1622
1614
 
1623
- .univer-leading-6 {
1624
- line-height: 1.5rem;
1625
- }
1626
-
1627
1615
  .univer-text-gray-600 {
1628
1616
  color: var(--univer-gray-600);
1629
1617
  }
package/lib/index.js CHANGED
@@ -13,6 +13,7 @@ import { UniverSheetsShapePlugin } from "@univerjs-pro/sheets-shape";
13
13
  import { UniverSheetsShapeUIPlugin } from "@univerjs-pro/sheets-shape-ui";
14
14
  import { UniverSheetSparklinePlugin } from "@univerjs-pro/sheets-sparkline";
15
15
  import { UniverSheetSparklineUIPlugin } from "@univerjs-pro/sheets-sparkline-ui";
16
+ import "@univerjs-pro/engine-shape/facade";
16
17
  import "@univerjs-pro/exchange-client/facade";
17
18
  import "@univerjs-pro/sheets-pivot/facade";
18
19
  import "@univerjs-pro/engine-formula/facade";
@@ -1,13 +1,12 @@
1
1
  export * from './preset';
2
2
  export * from '@univerjs-pro/engine-chart';
3
- export type { ChartAdvancedStylePatch, ChartAggregationSpec, ChartAppearanceSpec, ChartAxesSpec, ChartAxisSpec, ChartKnownTypeName, ChartLegendSpec, ChartMappingSpec, ChartParetoSpec, ChartPieSpec, ChartRadarSpec, ChartSeriesDescription, ChartSeriesPatch, ChartSeriesSelector, ChartTitleSpec, ChartTypeName, ChartWordCloudDescription, ChartWordCloudSpec, DeepPartial, DeepReadonly, } from '@univerjs-pro/engine-chart';
3
+ export type { ChartLegendSpec, ChartSeriesSelector, ChartTitleSpec, ChartTypeString, DeepPartial, IChartAggregationSpec, IChartAppearanceSpec, IChartAxesSpec, IChartAxisSpec, IChartMappingSpec, IChartParetoSpec, IChartPieSpec, IChartRadarSpec, IChartSeriesDescription, IChartSeriesPatch, IChartWordCloudDescription, IChartWordCloudSpec, } from '@univerjs-pro/engine-chart';
4
4
  export * from '@univerjs-pro/engine-formula';
5
5
  export * from '@univerjs-pro/engine-shape';
6
6
  export * from '@univerjs-pro/exchange-client';
7
7
  export * from '@univerjs-pro/license';
8
8
  export * from '@univerjs-pro/sheets-chart';
9
9
  export * from '@univerjs-pro/sheets-chart-ui';
10
- export type { ChartValidationResult } from '@univerjs-pro/sheets-chart/facade';
11
10
  export * from '@univerjs-pro/sheets-exchange-client';
12
11
  export * from '@univerjs-pro/sheets-graphics';
13
12
  export * from '@univerjs-pro/sheets-outline';
@@ -3,6 +3,7 @@ import type { IUniverExchangeClientOptions } from '@univerjs-pro/exchange-client
3
3
  import type { IUniverSheetsPivotConfig } from '@univerjs-pro/sheets-pivot';
4
4
  import type { IUniverSheetsPrintConfig } from '@univerjs-pro/sheets-print';
5
5
  import type { IPreset } from '@univerjs/presets';
6
+ import '@univerjs-pro/engine-shape/facade';
6
7
  import '@univerjs-pro/exchange-client/facade';
7
8
  import '@univerjs-pro/sheets-pivot/facade';
8
9
  import '@univerjs-pro/engine-formula/facade';
@@ -12,6 +13,7 @@ import '@univerjs-pro/sheets-outline/facade';
12
13
  import '@univerjs-pro/sheets-shape/facade';
13
14
  import '@univerjs-pro/sheets-sparkline/facade';
14
15
  export type * from '@univerjs-pro/engine-formula/facade';
16
+ export type * from '@univerjs-pro/engine-shape/facade';
15
17
  export type * from '@univerjs-pro/exchange-client/facade';
16
18
  export type * from '@univerjs-pro/sheets-chart/facade';
17
19
  export type * from '@univerjs-pro/sheets-outline/facade';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-advanced",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.4",
4
4
  "private": false,
5
5
  "description": "Preset for advanced Univer Sheets with charts, pivot tables, and print capabilities.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,37 +61,37 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/collaboration": "1.0.0-alpha.3",
65
- "@univerjs-pro/engine-chart": "1.0.0-alpha.3",
66
- "@univerjs-pro/engine-pivot": "1.0.0-alpha.3",
67
- "@univerjs-pro/engine-shape": "1.0.0-alpha.3",
68
- "@univerjs-pro/exchange-client": "1.0.0-alpha.3",
69
- "@univerjs-pro/license": "1.0.0-alpha.3",
70
- "@univerjs-pro/print": "1.0.0-alpha.3",
71
- "@univerjs-pro/sheets-exchange-client": "1.0.0-alpha.3",
72
- "@univerjs-pro/sheets-chart-ui": "1.0.0-alpha.3",
73
- "@univerjs-pro/shape-editor-ui": "1.0.0-alpha.3",
74
- "@univerjs-pro/engine-formula": "1.0.0-alpha.3",
75
- "@univerjs-pro/sheets-chart": "1.0.0-alpha.3",
76
- "@univerjs-pro/sheets-graphics": "1.0.0-alpha.3",
77
- "@univerjs-pro/sheets-outline": "1.0.0-alpha.3",
78
- "@univerjs-pro/sheets-outline-ui": "1.0.0-alpha.3",
79
- "@univerjs-pro/sheets-pivot-ui": "1.0.0-alpha.3",
80
- "@univerjs-pro/sheets-pivot": "1.0.0-alpha.3",
81
- "@univerjs-pro/sheets-print": "1.0.0-alpha.3",
82
- "@univerjs-pro/sheets-shape": "1.0.0-alpha.3",
83
- "@univerjs-pro/sheets-sparkline": "1.0.0-alpha.3",
84
- "@univerjs-pro/sheets-shape-ui": "1.0.0-alpha.3",
85
- "@univerjs-pro/sheets-sparkline-ui": "1.0.0-alpha.3"
64
+ "@univerjs-pro/collaboration": "1.0.0-alpha.4",
65
+ "@univerjs-pro/engine-formula": "1.0.0-alpha.4",
66
+ "@univerjs-pro/engine-chart": "1.0.0-alpha.4",
67
+ "@univerjs-pro/engine-shape": "1.0.0-alpha.4",
68
+ "@univerjs-pro/exchange-client": "1.0.0-alpha.4",
69
+ "@univerjs-pro/license": "1.0.0-alpha.4",
70
+ "@univerjs-pro/print": "1.0.0-alpha.4",
71
+ "@univerjs-pro/shape-editor-ui": "1.0.0-alpha.4",
72
+ "@univerjs-pro/sheets-chart": "1.0.0-alpha.4",
73
+ "@univerjs-pro/engine-pivot": "1.0.0-alpha.4",
74
+ "@univerjs-pro/sheets-chart-ui": "1.0.0-alpha.4",
75
+ "@univerjs-pro/sheets-graphics": "1.0.0-alpha.4",
76
+ "@univerjs-pro/sheets-outline": "1.0.0-alpha.4",
77
+ "@univerjs-pro/sheets-outline-ui": "1.0.0-alpha.4",
78
+ "@univerjs-pro/sheets-exchange-client": "1.0.0-alpha.4",
79
+ "@univerjs-pro/sheets-pivot-ui": "1.0.0-alpha.4",
80
+ "@univerjs-pro/sheets-print": "1.0.0-alpha.4",
81
+ "@univerjs-pro/sheets-shape-ui": "1.0.0-alpha.4",
82
+ "@univerjs-pro/sheets-sparkline": "1.0.0-alpha.4",
83
+ "@univerjs-pro/sheets-pivot": "1.0.0-alpha.4",
84
+ "@univerjs-pro/sheets-sparkline-ui": "1.0.0-alpha.4",
85
+ "@univerjs-pro/sheets-shape": "1.0.0-alpha.4"
86
86
  },
87
87
  "devDependencies": {
88
88
  "react": "18.3.1",
89
89
  "react-dom": "18.3.1",
90
90
  "rxjs": "^7.8.2",
91
91
  "typescript": "^6.0.3",
92
- "@univerjs-infra/shared": "1.0.0-alpha.3",
93
- "@univerjs/core": "1.0.0-alpha.3",
94
- "@univerjs/presets": "1.0.0-alpha.3"
92
+ "@univerjs-infra/shared": "1.0.0-alpha.4",
93
+ "@univerjs/core": "1.0.0-alpha.4",
94
+ "@univerjs/presets": "1.0.0-alpha.4"
95
95
  },
96
96
  "scripts": {
97
97
  "build:bundle": "univer-cli preset build --cleanup",