@tarojs/parse-css-to-stylesheet 0.0.43 → 0.0.45

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 CHANGED
@@ -259,9 +259,7 @@ export function combineCssVariables(variables: Array<string>): string | null;
259
259
 
260
260
  ## CSS 变量
261
261
 
262
- 若使用 CSS 变量,挂载的属性应当挂载`:root`选择器上
263
-
264
- ⚠️:暂不支持`var传递3个及以上参数`, 如`height: var(--h, --he, 30px);`、`margin: var(--m, 30px 30px);`
262
+ ⚠️:暂不支持 **动态修改 Css 变量的值**
265
263
 
266
264
  ```css
267
265
  :root {
package/index.d.ts CHANGED
@@ -9,7 +9,5 @@ export interface ParseOptions {
9
9
  }
10
10
  export interface ParseResult {
11
11
  code: string
12
- cssVariables?: string
13
12
  }
14
13
  export function parse(component: string, styles: Array<string>, options: ParseOptions): ParseResult
15
- export function combineCssVariables(variables: Array<string>): string | null
package/index.js CHANGED
@@ -252,7 +252,6 @@ if (!nativeBinding) {
252
252
  throw new Error(`Failed to load native binding`)
253
253
  }
254
254
 
255
- const { parse, combineCssVariables } = nativeBinding
255
+ const { parse } = nativeBinding
256
256
 
257
257
  module.exports.parse = parse
258
- module.exports.combineCssVariables = combineCssVariables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/parse-css-to-stylesheet",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
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.43",
59
- "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.43",
60
- "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.43",
61
- "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.43",
62
- "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.43",
63
- "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.43",
64
- "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.43",
65
- "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc": "0.0.43",
66
- "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.43",
67
- "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.43",
68
- "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc": "0.0.43",
69
- "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.43",
70
- "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.43"
58
+ "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "0.0.45",
59
+ "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.45",
60
+ "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.45",
61
+ "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.45",
62
+ "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.45",
63
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.45",
64
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.45",
65
+ "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc": "0.0.45",
66
+ "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.45",
67
+ "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.45",
68
+ "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc": "0.0.45",
69
+ "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.45",
70
+ "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.45"
71
71
  }
72
72
  }