@zero-library/common 2.3.12 → 2.4.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 +43 -0
- package/dist/index.cjs.js +192 -255
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +0 -92
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +61 -56
- package/dist/index.d.ts +61 -56
- package/dist/index.esm.js +164 -225
- package/dist/index.esm.js.map +1 -1
- package/package.json +14 -2
package/dist/index.css
CHANGED
|
@@ -168,96 +168,6 @@
|
|
|
168
168
|
width: 100% !important;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
/* src/components/RenderMarkdown/markdown.less */
|
|
172
|
-
.ns-markdown {
|
|
173
|
-
max-width: 100%;
|
|
174
|
-
}
|
|
175
|
-
.ns-markdown .cube-hl {
|
|
176
|
-
background-color: var(--ant-yellow);
|
|
177
|
-
}
|
|
178
|
-
.ns-markdown ul,
|
|
179
|
-
.ns-markdown ol {
|
|
180
|
-
padding-left: 2em;
|
|
181
|
-
list-style-position: outside;
|
|
182
|
-
}
|
|
183
|
-
.ns-markdown img {
|
|
184
|
-
max-width: 80%;
|
|
185
|
-
}
|
|
186
|
-
.ns-markdown h1 {
|
|
187
|
-
font-size: 20px;
|
|
188
|
-
margin: 10px 0;
|
|
189
|
-
}
|
|
190
|
-
.ns-markdown h2 {
|
|
191
|
-
font-size: 18px;
|
|
192
|
-
margin: 8px 0;
|
|
193
|
-
}
|
|
194
|
-
.ns-markdown h3 {
|
|
195
|
-
font-size: 16px;
|
|
196
|
-
margin: 6px 0;
|
|
197
|
-
}
|
|
198
|
-
.ns-markdown h4,
|
|
199
|
-
.ns-markdown h5,
|
|
200
|
-
.ns-markdown h6 {
|
|
201
|
-
font-size: 14px;
|
|
202
|
-
margin: 4px 0;
|
|
203
|
-
}
|
|
204
|
-
.ns-markdown p {
|
|
205
|
-
font-size: 14px;
|
|
206
|
-
}
|
|
207
|
-
.ns-markdown table {
|
|
208
|
-
border-collapse: collapse;
|
|
209
|
-
border-spacing: 0;
|
|
210
|
-
empty-cells: show;
|
|
211
|
-
margin: 1em 0;
|
|
212
|
-
max-width: 100%;
|
|
213
|
-
table-layout: fixed;
|
|
214
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
215
|
-
border-radius: 4px;
|
|
216
|
-
display: inline-block;
|
|
217
|
-
overflow: auto;
|
|
218
|
-
scrollbar-width: thin;
|
|
219
|
-
scrollbar-color: transparent transparent;
|
|
220
|
-
}
|
|
221
|
-
.ns-markdown table::-webkit-scrollbar {
|
|
222
|
-
width: 8px;
|
|
223
|
-
height: 8px;
|
|
224
|
-
}
|
|
225
|
-
.ns-markdown table::-webkit-scrollbar-thumb {
|
|
226
|
-
background-color: rgba(0, 0, 0, 0);
|
|
227
|
-
border-radius: 4px;
|
|
228
|
-
transition: background-color 0.3s ease 0.3s;
|
|
229
|
-
}
|
|
230
|
-
.ns-markdown table::-webkit-scrollbar-track {
|
|
231
|
-
background: transparent;
|
|
232
|
-
}
|
|
233
|
-
.ns-markdown table:hover {
|
|
234
|
-
scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
|
|
235
|
-
}
|
|
236
|
-
.ns-markdown table:hover::-webkit-scrollbar-thumb {
|
|
237
|
-
background-color: rgba(0, 0, 0, 0.3);
|
|
238
|
-
transition-delay: 0s;
|
|
239
|
-
}
|
|
240
|
-
.ns-markdown table th,
|
|
241
|
-
.ns-markdown table td {
|
|
242
|
-
border: 1px solid #dfe2e5;
|
|
243
|
-
padding: 6px 13px;
|
|
244
|
-
vertical-align: top;
|
|
245
|
-
min-width: 120px;
|
|
246
|
-
word-break: break-word;
|
|
247
|
-
}
|
|
248
|
-
.ns-markdown table th {
|
|
249
|
-
background-color: #f6f8fa;
|
|
250
|
-
font-weight: 600;
|
|
251
|
-
text-align: left;
|
|
252
|
-
text-transform: uppercase;
|
|
253
|
-
font-size: 13px;
|
|
254
|
-
color: #555;
|
|
255
|
-
}
|
|
256
|
-
.ns-markdown table td {
|
|
257
|
-
font-size: 14px;
|
|
258
|
-
color: #333;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
171
|
/* src/components/Iframe/styles.module.less */
|
|
262
172
|
.styles_module_iframe {
|
|
263
173
|
width: 100%;
|
|
@@ -953,8 +863,6 @@
|
|
|
953
863
|
caret-color: var(--tt-cursor-color);
|
|
954
864
|
}
|
|
955
865
|
.tiptap.ProseMirror p:not(:first-child):not(td p):not(th p) {
|
|
956
|
-
font-size: 1rem;
|
|
957
|
-
line-height: 1.6;
|
|
958
866
|
font-weight: normal;
|
|
959
867
|
margin-top: 20px;
|
|
960
868
|
}
|