@univerjs/preset-sheets-hyper-link 1.5.1 → 1.6.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.
Files changed (2) hide show
  1. package/lib/index.css +0 -138
  2. package/package.json +7 -7
package/lib/index.css CHANGED
@@ -1,7 +1,3 @@
1
- .univer-col-span-2 {
2
- grid-column: span 2 / span 2;
3
- }
4
-
5
1
  .univer-mb-1 {
6
2
  margin-bottom: .25rem;
7
3
  }
@@ -14,32 +10,10 @@
14
10
  box-sizing: border-box;
15
11
  }
16
12
 
17
- .\!univer-flex {
18
- display: flex !important;
19
- }
20
-
21
13
  .univer-flex {
22
14
  display: flex;
23
15
  }
24
16
 
25
- .univer-grid {
26
- display: grid;
27
- }
28
-
29
- .univer-size-5 {
30
- width: 1.25rem;
31
- height: 1.25rem;
32
- }
33
-
34
- .univer-size-6 {
35
- width: 1.5rem;
36
- height: 1.5rem;
37
- }
38
-
39
- .univer-h-6 {
40
- height: 1.5rem;
41
- }
42
-
43
17
  .univer-max-h-32 {
44
18
  max-height: 8rem;
45
19
  }
@@ -52,26 +26,6 @@
52
26
  width: 100%;
53
27
  }
54
28
 
55
- .univer-max-w-80 {
56
- max-width: 20rem;
57
- }
58
-
59
- .univer-flex-1 {
60
- flex: 1;
61
- }
62
-
63
- .univer-flex-none {
64
- flex: none;
65
- }
66
-
67
- .univer-cursor-pointer {
68
- cursor: pointer;
69
- }
70
-
71
- .univer-grid-cols-\[minmax\(0\,1fr\)_auto\] {
72
- grid-template-columns: minmax(0, 1fr) auto;
73
- }
74
-
75
29
  .univer-flex-row {
76
30
  flex-direction: row;
77
31
  }
@@ -80,40 +34,18 @@
80
34
  flex-direction: column;
81
35
  }
82
36
 
83
- .univer-items-center {
84
- align-items: center;
85
- }
86
-
87
37
  .univer-justify-end {
88
38
  justify-content: flex-end;
89
39
  }
90
40
 
91
- .univer-justify-center {
92
- justify-content: center;
93
- }
94
-
95
- .univer-gap-1 {
96
- gap: .25rem;
97
- }
98
-
99
41
  .univer-gap-2 {
100
42
  gap: .5rem;
101
43
  }
102
44
 
103
- .univer-overflow-hidden {
104
- overflow: hidden;
105
- }
106
-
107
45
  .univer-overflow-y-auto {
108
46
  overflow-y: auto;
109
47
  }
110
48
 
111
- .univer-truncate {
112
- text-overflow: ellipsis;
113
- white-space: nowrap;
114
- overflow: hidden;
115
- }
116
-
117
49
  .univer-whitespace-pre-wrap {
118
50
  white-space: pre-wrap;
119
51
  }
@@ -122,34 +54,14 @@
122
54
  word-wrap: break-word;
123
55
  }
124
56
 
125
- .\!univer-rounded {
126
- border-radius: .25rem !important;
127
- }
128
-
129
- .univer-rounded {
130
- border-radius: .25rem;
131
- }
132
-
133
- .univer-rounded-lg {
134
- border-radius: .5rem;
135
- }
136
-
137
57
  .univer-rounded-xl {
138
58
  border-radius: .75rem;
139
59
  }
140
60
 
141
- .\!univer-border-0 {
142
- border-width: 0 !important;
143
- }
144
-
145
61
  .univer-bg-gray-0 {
146
62
  background-color: var(--univer-gray-0);
147
63
  }
148
64
 
149
- .\!univer-p-0 {
150
- padding: 0 !important;
151
- }
152
-
153
65
  .univer-p-0 {
154
66
  padding: 0;
155
67
  }
@@ -162,49 +74,19 @@
162
74
  padding: 1rem;
163
75
  }
164
76
 
165
- .\!univer-text-base {
166
- font-size: 1rem !important;
167
- line-height: 1.5rem !important;
168
- }
169
-
170
- .univer-text-base {
171
- font-size: 1rem;
172
- line-height: 1.5rem;
173
- }
174
-
175
77
  .univer-text-sm {
176
78
  font-size: .875rem;
177
79
  line-height: 1.25rem;
178
80
  }
179
81
 
180
- .\!univer-font-normal {
181
- font-weight: 400 !important;
182
- }
183
-
184
- .univer-leading-5 {
185
- line-height: 1.25rem;
186
- }
187
-
188
82
  .univer-text-gray-500 {
189
83
  color: var(--univer-gray-500);
190
84
  }
191
85
 
192
- .univer-text-gray-900 {
193
- color: var(--univer-gray-900);
194
- }
195
-
196
86
  .univer-text-green-500 {
197
87
  color: var(--univer-green-500);
198
88
  }
199
89
 
200
- .univer-text-primary-600 {
201
- color: var(--univer-primary-600);
202
- }
203
-
204
- .univer-text-red-500 {
205
- color: var(--univer-red-500);
206
- }
207
-
208
90
  .univer-shadow-md {
209
91
  --univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
210
92
  --univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
@@ -212,26 +94,6 @@
212
94
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
213
95
  }
214
96
 
215
- @media (hover: hover) and (pointer: fine) {
216
- .hover\:univer-bg-gray-100:hover {
217
- background-color: var(--univer-gray-100);
218
- }
219
- }
220
-
221
- .disabled\:\!univer-pointer-events-auto:disabled {
222
- pointer-events: auto !important;
223
- }
224
-
225
97
  .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
226
98
  background-color: var(--univer-gray-900) !important;
227
99
  }
228
-
229
- .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
230
- color: var(--univer-gray-0) !important;
231
- }
232
-
233
- @media (hover: hover) and (pointer: fine) {
234
- .dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
235
- background-color: var(--univer-gray-700) !important;
236
- }
237
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-hyper-link",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "private": false,
5
5
  "description": "Preset for hyperlink support 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-hyper-link": "1.5.1",
60
- "@univerjs/sheets-hyper-link-ui": "1.5.1"
59
+ "@univerjs/sheets-hyper-link": "1.6.0",
60
+ "@univerjs/sheets-hyper-link-ui": "1.6.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@univerjs-infra/shared": "1.5.1",
64
- "@univerjs/core": "1.5.1",
65
- "@univerjs/presets": "1.5.1",
63
+ "@univerjs-infra/shared": "1.6.0",
64
+ "@univerjs/core": "1.6.0",
65
+ "@univerjs/presets": "1.6.0",
66
66
  "react": "18.3.1",
67
67
  "react-dom": "18.3.1",
68
68
  "rxjs": "7.8.2",
69
- "tsrs": "0.23.0-ts7.1.0-beta"
69
+ "tsrs": "7.1.0-beta.tsrs2"
70
70
  },
71
71
  "scripts": {
72
72
  "build:bundle": "univer-cli preset build --cleanup",