@univerjs/preset-docs-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 -192
  2. package/package.json +7 -7
package/lib/index.css CHANGED
@@ -1,218 +1,26 @@
1
- .univer-ml-2 {
2
- margin-left: .5rem;
3
- }
4
-
5
- .univer-mr-2 {
6
- margin-right: .5rem;
7
- }
8
-
9
- .univer-mt-5 {
10
- margin-top: 1.25rem;
11
- }
12
-
13
- .univer-box-border {
14
- box-sizing: border-box;
15
- }
16
-
17
- .\!univer-flex {
18
- display: flex !important;
19
- }
20
-
21
1
  .univer-flex {
22
2
  display: flex;
23
3
  }
24
4
 
25
- .univer-size-5 {
26
- width: 1.25rem;
27
- height: 1.25rem;
28
- }
29
-
30
- .univer-size-6 {
31
- width: 1.5rem;
32
- height: 1.5rem;
33
- }
34
-
35
- .univer-h-6 {
36
- height: 1.5rem;
37
- }
38
-
39
- .univer-w-\[328px\] {
40
- width: 328px;
41
- }
42
-
43
- .univer-w-full {
44
- width: 100%;
45
- }
46
-
47
- .univer-max-w-80 {
48
- max-width: 20rem;
49
- }
50
-
51
- .univer-flex-1 {
52
- flex: 1;
53
- }
54
-
55
- .univer-flex-\[0_0_auto\] {
56
- flex: none;
57
- }
58
-
59
- .univer-cursor-pointer {
60
- cursor: pointer;
61
- }
62
-
63
5
  .univer-flex-col {
64
6
  flex-direction: column;
65
7
  }
66
8
 
67
- .univer-items-center {
68
- align-items: center;
69
- }
70
-
71
- .univer-justify-end {
72
- justify-content: flex-end;
73
- }
74
-
75
- .univer-justify-center {
76
- justify-content: center;
77
- }
78
-
79
- .univer-justify-between {
80
- justify-content: space-between;
81
- }
82
-
83
9
  .univer-gap-2 {
84
10
  gap: .5rem;
85
11
  }
86
12
 
87
- .univer-gap-3 {
88
- gap: .75rem;
89
- }
90
-
91
- .univer-overflow-hidden {
92
- overflow: hidden;
93
- }
94
-
95
13
  .univer-truncate {
96
14
  text-overflow: ellipsis;
97
15
  white-space: nowrap;
98
16
  overflow: hidden;
99
17
  }
100
18
 
101
- .\!univer-rounded {
102
- border-radius: .25rem !important;
103
- }
104
-
105
- .univer-rounded {
106
- border-radius: .25rem;
107
- }
108
-
109
- .univer-rounded-lg {
110
- border-radius: .5rem;
111
- }
112
-
113
- .univer-rounded-xl {
114
- border-radius: .75rem;
115
- }
116
-
117
- .\!univer-border-0 {
118
- border-width: 0 !important;
119
- }
120
-
121
- .\!univer-bg-transparent {
122
- background-color: #0000 !important;
123
- }
124
-
125
- .univer-bg-gray-0 {
126
- background-color: var(--univer-gray-0);
127
- }
128
-
129
- .\!univer-p-0 {
130
- padding: 0 !important;
131
- }
132
-
133
- .univer-p-3 {
134
- padding: .75rem;
135
- }
136
-
137
- .univer-px-6 {
138
- padding-left: 1.5rem;
139
- padding-right: 1.5rem;
140
- }
141
-
142
19
  .univer-py-2 {
143
20
  padding-top: .5rem;
144
21
  padding-bottom: .5rem;
145
22
  }
146
23
 
147
- .univer-py-5 {
148
- padding-top: 1.25rem;
149
- padding-bottom: 1.25rem;
150
- }
151
-
152
- .\!univer-text-base {
153
- font-size: 1rem !important;
154
- line-height: 1.5rem !important;
155
- }
156
-
157
- .univer-text-base {
158
- font-size: 1rem;
159
- line-height: 1.5rem;
160
- }
161
-
162
- .univer-text-sm {
163
- font-size: .875rem;
164
- line-height: 1.25rem;
165
- }
166
-
167
- .\!univer-font-normal {
168
- font-weight: 400 !important;
169
- }
170
-
171
- .univer-leading-5 {
172
- line-height: 1.25rem;
173
- }
174
-
175
- .univer-text-gray-900 {
176
- color: var(--univer-gray-900);
177
- }
178
-
179
- .univer-text-primary-500 {
180
- color: var(--univer-primary-500);
181
- }
182
-
183
24
  .univer-text-primary-600 {
184
25
  color: var(--univer-primary-600);
185
26
  }
186
-
187
- .univer-shadow {
188
- --univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
189
- --univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);
190
- box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a;
191
- box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
192
- }
193
-
194
- @media (hover: hover) and (pointer: fine) {
195
- .hover\:\!univer-bg-transparent:hover {
196
- background-color: #0000 !important;
197
- }
198
- }
199
-
200
- .active\:\!univer-bg-transparent:active {
201
- background-color: #0000 !important;
202
- }
203
-
204
- .disabled\:\!univer-pointer-events-auto:disabled {
205
- pointer-events: auto !important;
206
- }
207
-
208
- .disabled\:\!univer-opacity-40:disabled {
209
- opacity: .4 !important;
210
- }
211
-
212
- .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
213
- background-color: var(--univer-gray-900) !important;
214
- }
215
-
216
- .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
217
- color: var(--univer-gray-0) !important;
218
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-docs-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 Docs.",
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/docs-hyper-link": "1.5.1",
60
- "@univerjs/docs-hyper-link-ui": "1.5.1"
59
+ "@univerjs/docs-hyper-link": "1.6.0",
60
+ "@univerjs/docs-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",