Skip to content

Commit 9f58840

Browse files
committed
0.0.9
1 parent ccbe771 commit 9f58840

File tree

18 files changed

+94
-80
lines changed

18 files changed

+94
-80
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [0.0.9](https://github.com/NervJS/parse-css-to-stylesheet/compare/v0.0.8...v0.0.9) (2023-10-17)
2+
3+
4+
### Bug Fixes
5+
6+
* 避免将 rgab 色值转为 hexalpha ([ccbe771](https://github.com/NervJS/parse-css-to-stylesheet/commit/ccbe771da730911712df300cddf4479437e5eb80))
7+
* 将样式名转为 camelCase ([cc39775](https://github.com/NervJS/parse-css-to-stylesheet/commit/cc3977548b3a0fb898cc499b6a2d493d19d1a491))
8+
9+
10+
111
## [0.0.8](https://github.com/NervJS/parse-css-to-stylesheet/compare/v0.0.7...v0.0.8) (2023-10-17)
212

313

__test__/index.spec.mjs.md

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,14 @@ Generated by [AVA](https://avajs.dev).
173173
return <div className='cc'>␊
174174
175175
<span className='line1 txt' style={{␊
176+
color: "#999",␊
176177
display: "inline-flex",␊
177-
textOverflow: "ellipsis",␊
178-
whiteSpace: "nowrap",␊
179-
fontSize: "12px",␊
180178
flexShrink: "0px",␊
179+
fontSize: "12px",␊
180+
lineHeight: "1",␊
181181
overflow: "hidden",␊
182-
color: "#999",␊
183-
lineHeight: "1"␊
182+
textOverflow: "ellipsis",␊
183+
whiteSpace: "nowrap"␊
184184
}}>成员123: 4000+</span>␊
185185
186186
<div className='cnt_row4'>␊
@@ -200,14 +200,14 @@ Generated by [AVA](https://avajs.dev).
200200
return <div className='cc'>␊
201201
202202
<span className='line1 txt' style={{␊
203-
whiteSpace: "nowrap",␊
204-
display: "inline-flex",␊
205-
lineHeight: "1",␊
206-
overflow: "hidden",␊
207203
color: "#999",␊
204+
display: "inline-flex",␊
208205
flexShrink: "0px",␊
209206
fontSize: "12px",␊
210-
textOverflow: "ellipsis"␊
207+
lineHeight: "1",␊
208+
overflow: "hidden",␊
209+
textOverflow: "ellipsis",␊
210+
whiteSpace: "nowrap"␊
211211
}}>成员123: 4000+</span>␊
212212
213213
<div className='cnt_row4'>␊
@@ -254,14 +254,14 @@ Generated by [AVA](https://avajs.dev).
254254
<>␊
255255
256256
<span className='line1 instruction' style={{␊
257-
fontSize: "12px",␊
258-
textOverflow: "ellipsis",␊
259-
whiteSpace: "nowrap",␊
260257
color: "#fff",␊
261-
overflow: "hidden",␊
262258
display: "inline-flex",␊
263259
flexShrink: "0px",␊
264-
lineHeight: "1"␊
260+
fontSize: "12px",␊
261+
lineHeight: "1",␊
262+
overflow: "hidden",␊
263+
textOverflow: "ellipsis",␊
264+
whiteSpace: "nowrap"␊
265265
}}>超能芭比 5分钟前查看团购</span>␊
266266
267267
</>␊
@@ -271,99 +271,99 @@ Generated by [AVA](https://avajs.dev).
271271
</div>␊
272272
273273
<div className='cnt_row1' style={{␊
274+
alignItems: "center",␊
275+
display: "flex",␊
274276
gap: "10px",␊
275-
width: "311px",␊
276277
height: "50px",␊
277-
display: "flex",␊
278-
alignItems: "center",␊
278+
justifyContent: "flex-start",␊
279279
position: "relative",␊
280-
justifyContent: "flex-start"␊
280+
width: "311px"␊
281281
}}>␊
282282
283283
<img className='img' src='//img12.360buyimg.com/img/jfs/t1/100881/15/44805/18567/64f58062F1b45e0cb/caf065a7410087ce.png' style={{␊
284-
width: "50px",␊
285-
height: "50px"␊
284+
height: "50px",␊
285+
width: "50px"␊
286286
}}></img>␊
287287
288288
<div className='cnt_col' style={{␊
289-
flexDirection: "column",␊
289+
alignItems: "flex-start",␊
290290
display: "flex",␊
291-
width: "145px",␊
291+
flexDirection: "column",␊
292+
gap: "8px",␊
292293
height: "50px",␊
293-
alignItems: "flex-start",␊
294294
justifyContent: "center",␊
295-
gap: "8px"␊
295+
width: "145px"␊
296296
}}>␊
297297
298298
<span className='line1 instruction1' style={{␊
299-
width: "116px",␊
300-
overflow: "hidden",␊
301-
whiteSpace: "nowrap",␊
302-
lineHeight: "1",␊
303-
display: "inline-flex",␊
304299
color: "#000",␊
305-
textOverflow: "ellipsis",␊
300+
display: "inline-flex",␊
301+
flexShrink: "0px",␊
306302
fontSize: "16px",␊
307-
flexShrink: "0px"␊
303+
lineHeight: "1",␊
304+
overflow: "hidden",␊
305+
textOverflow: "ellipsis",␊
306+
whiteSpace: "nowrap",␊
307+
width: "116px"␊
308308
}}>巴拉巴拉小魔仙</span>␊
309309
310310
<span className='line1 txt' style={{␊
311311
color: "#999",␊
312+
display: "inline-flex",␊
313+
flexShrink: "0px",␊
312314
fontSize: "12px",␊
313-
whiteSpace: "nowrap",␊
314-
overflow: "hidden",␊
315315
lineHeight: "1",␊
316-
flexShrink: "0px",␊
316+
overflow: "hidden",␊
317317
textOverflow: "ellipsis",␊
318-
display: "inline-flex"␊
318+
whiteSpace: "nowrap"␊
319319
}}>成员: 4000+</span>␊
320320
321321
</div>␊
322322
323323
<div className='cnt_row2' style={{␊
324-
paddingLeft: "8px",␊
325-
flexShrink: "0px",␊
326-
zIndex: "12",␊
324+
alignItems: "flex-start",␊
325+
borderColor: "#999",␊
327326
borderRadius: "12px",␊
328-
gap: "-94px",␊
329327
borderStyle: "solid",␊
328+
borderWidth: "1px",␊
329+
display: "flex",␊
330+
flexShrink: "0px",␊
331+
gap: "-94px",␊
330332
height: "23px",␊
333+
justifyContent: "space-between",␊
331334
left: "201px",␊
335+
paddingBottom: "4px",␊
336+
paddingLeft: "8px",␊
332337
paddingRight: "8px",␊
333-
width: "110px",␊
338+
paddingTop: "4px",␊
334339
position: "absolute",␊
335-
justifyContent: "space-between",␊
336340
top: "3px",␊
337-
alignItems: "flex-start",␊
338-
borderColor: "#999",␊
339-
display: "flex",␊
340-
paddingTop: "4px",␊
341-
borderWidth: "1px",␊
342-
paddingBottom: "4px"␊
341+
width: "110px",␊
342+
zIndex: "12"␊
343343
}}>␊
344344
345345
{this.getDom()}␊
346346
347347
<img className='icon1' src='//img11.360buyimg.com/img/jfs/t1/175578/35/40256/1981/64f58062Fddaf1a21/f1111d9988a65ccc.png' style={{␊
348-
width: "15px",␊
349-
height: "15px"␊
348+
height: "15px",␊
349+
width: "15px"␊
350350
}}></img>␊
351351
352352
<span className='instruction2' style={{␊
353+
color: "#999",␊
353354
flexShrink: "0px",␊
355+
fontSize: "11px",␊
354356
lineHeight: "1.36",␊
355-
color: "#999",␊
356357
overflow: "hidden",␊
357-
fontSize: "11px",␊
358358
textAlign: "center"␊
359359
}}>slslsl-jsj</span>␊
360360
361361
<span className='txt1' style={{␊
362-
lineHeight: "1.36",␊
363-
textAlign: "center",␊
364-
flexShrink: "0px",␊
365362
color: "#222",␊
366-
fontSize: "11px"␊
363+
flexShrink: "0px",␊
364+
fontSize: "11px",␊
365+
lineHeight: "1.36",␊
366+
textAlign: "center"␊
367367
}}>复制</span>␊
368368
369369
</div>␊
@@ -373,19 +373,19 @@ Generated by [AVA](https://avajs.dev).
373373
<div className='cnt_row3' style={{␊
374374
alignItems: "center",␊
375375
display: "flex",␊
376-
justifyContent: "space-between",␊
377-
height: "44px",␊
378376
gap: "-311px",␊
377+
height: "44px",␊
378+
justifyContent: "space-between",␊
379379
width: "311px"␊
380380
}}>␊
381381
382382
<span className='line2 txt2' style={{␊
383-
width: "290px",␊
384-
fontSize: "12px",␊
385-
lineHeight: "1.83",␊
386383
color: "#999",␊
384+
display: "inline-flex",␊
387385
flexShrink: "0px",␊
388-
display: "inline-flex"␊
386+
fontSize: "12px",␊
387+
lineHeight: "1.83",␊
388+
width: "290px"␊
389389
}}>␊
390390
391391
团长介绍:售前售后进群售前售后进群售前售后进群售前售后进群VXklsidohh...␊

__test__/index.spec.mjs.snap

-78 Bytes
Binary file not shown.

npm/android-arm-eabi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-android-arm-eabi",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"android"
66
],

npm/android-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-android-arm64",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"android"
66
],

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-arm64",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"darwin"
66
],

npm/darwin-universal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-universal",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"darwin"
66
],

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-x64",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"darwin"
66
],

npm/linux-arm-gnueabihf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"linux"
66
],

npm/linux-arm64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"linux"
66
],

npm/linux-arm64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-arm64-musl",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"linux"
66
],

npm/linux-x64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-x64-gnu",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"linux"
66
],

npm/linux-x64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-x64-musl",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"linux"
66
],

npm/win32-arm64-msvc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"win32"
66
],

npm/win32-ia32-msvc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"win32"
66
],

npm/win32-x64-msvc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-win32-x64-msvc",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"os": [
55
"win32"
66
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"napi": {

0 commit comments

Comments
 (0)