@tarojs/parse-css-to-stylesheet 0.0.40 → 0.0.41

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +3 -0
  3. package/package.json +14 -14
package/README.md CHANGED
@@ -181,7 +181,7 @@ const code = parse(jsxCode, [cssCode1, cssCode2, ...], {
181
181
  | \[attribute=value] | \[target=blank] | 选择所有使用 target="blank"的元素 | ❌ |
182
182
  | ... | | 其他 | ❌ |
183
183
 
184
- ### 伪类
184
+ ### 伪元素
185
185
 
186
186
  - 支持**before、after**,
187
187
 
package/index.d.ts CHANGED
@@ -7,4 +7,7 @@ export interface ParseOptions {
7
7
  platformString: string
8
8
  isEnableNesting?: boolean
9
9
  }
10
+ export interface ParseResult {
11
+ code: string
12
+ }
10
13
  export function parse(component: string, styles: Array<string>, options: ParseOptions): string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/parse-css-to-stylesheet",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "napi": {
@@ -55,18 +55,18 @@
55
55
  "packageManager": "yarn@3.6.4",
56
56
  "repository": "https://github.com/NervJS/parse-css-to-stylesheet",
57
57
  "optionalDependencies": {
58
- "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "0.0.40",
59
- "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.40",
60
- "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.40",
61
- "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.40",
62
- "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.40",
63
- "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.40",
64
- "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.40",
65
- "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc": "0.0.40",
66
- "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.40",
67
- "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.40",
68
- "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc": "0.0.40",
69
- "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.40",
70
- "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.40"
58
+ "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "0.0.41",
59
+ "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.41",
60
+ "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.41",
61
+ "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.41",
62
+ "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.41",
63
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.41",
64
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.41",
65
+ "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc": "0.0.41",
66
+ "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.41",
67
+ "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.41",
68
+ "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc": "0.0.41",
69
+ "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.41",
70
+ "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.41"
71
71
  }
72
72
  }