@tarojs/parse-css-to-stylesheet 0.0.49 → 0.0.51

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 (2) hide show
  1. package/README.md +9 -10
  2. package/package.json +14 -14
package/README.md CHANGED
@@ -71,7 +71,7 @@ export function parse(
71
71
 
72
72
  | 属性 | 可选值 / 单位 | 支持情况 |
73
73
  | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | :------: |
74
- | flex | `flexGrow flexShrink flexBasis` | ✔️ |
74
+ | flex | 'flexGrow', 'flexShrink', 'flexBasis' | ✔️ |
75
75
  | flex-grow | Number | ✔️ |
76
76
  | flex-shrink | Number | ✔️ |
77
77
  | flex-basis | Length | ✔️ |
@@ -80,9 +80,8 @@ export function parse(
80
80
  | align-content | 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly' | ✔️ |
81
81
  | align-items | 'flex-start', 'flex-end', 'center', 'baseline', 'stretch' | ✔️ |
82
82
  | align-self | 'flex-start', 'flex-end', 'center', 'baseline', 'stretch' , 'auto' | ✔️ |
83
- | flex-wrap | 'nowrap', 'wrap', 'wrap-reverse' | |
84
- | position | 'relative', 'absolute' | ✔️ |
85
- | position | 'flex' | ❌ |
83
+ | flex-wrap | 'nowrap', 'wrap', 'wrap-reverse' | ✔️ |
84
+ | position | 'relative', 'absolute', 'fixed' | ✔️ |
86
85
  | left | Length | ✔️ |
87
86
  | top | Length | ✔️ |
88
87
  | bottom | Length | ❌ |
@@ -121,11 +120,11 @@ export function parse(
121
120
  | border-right-color | Color | ✔️ |
122
121
  | border-bottom-color | Color | ✔️ |
123
122
  | border-left-color | Color | ✔️ |
124
- | border-radius | Length(可设置 4 个值,控制 4 个方向) | ✔️ |
125
- | border-top-left-radius | Length | ✔️ |
126
- | border-top-right-radius | Length | ✔️ |
127
- | border-bottom-left-radius | Length | ✔️ |
128
- | border-bottom-right-radius | Length | ✔️ |
123
+ | border-radius | Length(可设置 4 个值,控制 4 个方向), 不支持百分比 | ✔️ |
124
+ | border-top-left-radius | Length, 不支持百分比 | ✔️ |
125
+ | border-top-right-radius | Length, 不支持百分比 | ✔️ |
126
+ | border-bottom-left-radius | Length, 不支持百分比 | ✔️ |
127
+ | border-bottom-right-radius | Length, 不支持百分比 | ✔️ |
129
128
  | border-style | 'dotted', 'dashed', 'solid' (4 个值,控制 4 个方向) | ✔️ |
130
129
  | border-top-style | 'dotted', 'dashed', 'solid' | ✔️ |
131
130
  | border-right-style | 'dotted', 'dashed', 'solid' | ✔️ |
@@ -134,7 +133,7 @@ export function parse(
134
133
  | opacity | Number | ✔️ |
135
134
  | display | 'flex', 'none', 'block' | ✔️ |
136
135
  | display | 'inline-block', 'inline-flex', 'inline' | ❌ |
137
- | overflow | 'hidden', 'visible' | ✔️ |
136
+ | overflow | 'hidden', 'visible', 'scroll', 'auto' | ✔️ |
138
137
  | transform | translate、translateX、translateY、translateZ、translate2d、translate3d、scale、scaleX、scaleY、scale3d、rotate、rotateX、rotateY、rotate3d | ✔️ |
139
138
  | transform-origin | Length(top/center/bottom) Length(left/center/right) | ✔️ |
140
139
  | animation | | 后续支持 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/parse-css-to-stylesheet",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
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.49",
59
- "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.49",
60
- "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.49",
61
- "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.49",
62
- "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.49",
63
- "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.49",
64
- "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.49",
65
- "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc": "0.0.49",
66
- "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.49",
67
- "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.49",
68
- "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc": "0.0.49",
69
- "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.49",
70
- "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.49"
58
+ "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "0.0.51",
59
+ "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.51",
60
+ "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.51",
61
+ "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.51",
62
+ "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.51",
63
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.51",
64
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.51",
65
+ "@tarojs/parse-css-to-stylesheet-win32-arm64-msvc": "0.0.51",
66
+ "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.51",
67
+ "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.51",
68
+ "@tarojs/parse-css-to-stylesheet-win32-ia32-msvc": "0.0.51",
69
+ "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.51",
70
+ "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.51"
71
71
  }
72
72
  }