@tarojs/parse-css-to-stylesheet 0.0.30 → 0.0.32

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 +4 -1
  2. package/index.d.ts +1 -1
  3. package/package.json +14 -14
package/README.md CHANGED
@@ -9,6 +9,9 @@
9
9
  ```typescript
10
10
  import { parse } from '@tarojs/parse-css-to-stylesheet'
11
11
 
12
- const code = parse(jsxCode, [cssCode1, cssCode2, ...])
12
+ // Harmony
13
+ const code = parse(jsxCode, [cssCode1, cssCode2, ...], "Harmony")
14
+ // ReactNative
15
+ // const code = parse(jsxCode, [cssCode1, cssCode2, ...], "ReactNative")
13
16
 
14
17
  ```
package/index.d.ts CHANGED
@@ -3,4 +3,4 @@
3
3
 
4
4
  /* auto-generated by NAPI-RS */
5
5
 
6
- export function parse(component: string, styles: Array<string>): string
6
+ export function parse(component: string, styles: Array<string>, platformString: string): string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/parse-css-to-stylesheet",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
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.30",
59
- "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.30",
60
- "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.30",
61
- "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.30",
62
- "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.30",
63
- "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.30",
64
- "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.30",
65
- "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc": "0.0.30",
66
- "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.30",
67
- "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.30",
68
- "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc": "0.0.30",
69
- "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.30",
70
- "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.30"
58
+ "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "0.0.32",
59
+ "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.32",
60
+ "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.32",
61
+ "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.32",
62
+ "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.32",
63
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.32",
64
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.32",
65
+ "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc": "0.0.32",
66
+ "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.32",
67
+ "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.32",
68
+ "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc": "0.0.32",
69
+ "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.32",
70
+ "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.32"
71
71
  }
72
72
  }