@univerjs/preset-sheets-conditional-formatting 1.4.0 → 1.5.0

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/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  ## Package Overview
10
10
 
11
- | Package | CSS | Locales | Facade entry |
12
- | ------------------------------------------------ | :-: | :-----: | :----------: |
13
- | `@univerjs/preset-sheets-conditional-formatting` | Yes | Yes | Yes |
11
+ | Package | UMD global | CSS | Locales | Facade entry | Worker entry |
12
+ | --- | --- | :---: | :---: | :---: | :---: |
13
+ | `@univerjs/preset-sheets-conditional-formatting` | — | Yes | Yes | No | No |
14
14
 
15
15
  ## Installation
16
16
 
@@ -20,8 +20,6 @@ pnpm add @univerjs/preset-sheets-conditional-formatting
20
20
  npm install @univerjs/preset-sheets-conditional-formatting
21
21
  ```
22
22
 
23
- Keep all `@univerjs/*` packages on the same version.
24
-
25
23
  ## Usage
26
24
 
27
25
  ```ts
package/lib/index.css CHANGED
@@ -43,10 +43,6 @@
43
43
  margin-left: .75rem;
44
44
  }
45
45
 
46
- .univer-mt-0 {
47
- margin-top: 0;
48
- }
49
-
50
46
  .univer-mt-1 {
51
47
  margin-top: .25rem;
52
48
  }
@@ -174,10 +170,6 @@
174
170
  grid-template-columns: repeat(2, minmax(0, 1fr));
175
171
  }
176
172
 
177
- .univer-flex-row-reverse {
178
- flex-direction: row-reverse;
179
- }
180
-
181
173
  .univer-flex-col {
182
174
  flex-direction: column;
183
175
  }
@@ -226,6 +218,10 @@
226
218
  gap: 1rem;
227
219
  }
228
220
 
221
+ .univer-self-center {
222
+ align-self: center;
223
+ }
224
+
229
225
  .univer-overflow-hidden {
230
226
  overflow: hidden;
231
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-conditional-formatting",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "description": "Preset for conditional formatting in Univer Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -56,17 +56,17 @@
56
56
  "rxjs": ">=7.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@univerjs/sheets-conditional-formatting": "1.4.0",
60
- "@univerjs/sheets-conditional-formatting-ui": "1.4.0"
59
+ "@univerjs/sheets-conditional-formatting": "1.5.0",
60
+ "@univerjs/sheets-conditional-formatting-ui": "1.5.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@univerjs-infra/shared": "1.4.0",
64
- "@univerjs/core": "1.4.0",
65
- "@univerjs/presets": "1.4.0",
63
+ "@univerjs-infra/shared": "1.5.0",
64
+ "@univerjs/core": "1.5.0",
65
+ "@univerjs/presets": "1.5.0",
66
66
  "react": "18.3.1",
67
67
  "react-dom": "18.3.1",
68
68
  "rxjs": "7.8.2",
69
- "tsrs": "0.20.1-ts7.1.0-beta"
69
+ "tsrs": "0.23.0-ts7.1.0-beta"
70
70
  },
71
71
  "scripts": {
72
72
  "build:bundle": "univer-cli preset build --cleanup",