Skip to content

Commit

Permalink
chore: sync css.json
Browse files Browse the repository at this point in the history
  • Loading branch information
yurj26 committed Dec 26, 2023
1 parent 32f98a1 commit 6959cc6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/uni-nvue-styler/__tests__/uvueNormalize.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ flexBasis: fill;
expect(messages[0]).toEqual(
expect.objectContaining({
type: 'warning',
text: 'ERROR: property value `max-content` is not supported for `height` (supported values are: `number`|`pixel`|`percent`)',
text: 'ERROR: property value `max-content` is not supported for `height` (supported values are: `number`|`pixel`|`percent`|`auto`)',
})
)
expect(messages[1]).toEqual(
Expand Down
32 changes: 32 additions & 0 deletions packages/uni-nvue-styler/lib/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@
],
"syntax": "auto | <length> | <percentage>",
"values": [
{
"name": "auto",
"uniPlatform": {
"app": {
"android": {
"osVer": "5.0",
"uniVer": "",
"unixVer": "3.9+"
},
"ios": {
"osVer": "9.0",
"uniVer": ""
}
}
}
},
{
"name": "fit-content",
"uniPlatform": {
Expand Down Expand Up @@ -309,6 +325,22 @@
],
"syntax": "auto | <length> | <percentage>",
"values": [
{
"name": "auto",
"uniPlatform": {
"app": {
"android": {
"osVer": "5.0",
"uniVer": "",
"unixVer": "3.9+"
},
"ios": {
"osVer": "9.0",
"uniVer": ""
}
}
}
},
{
"name": "fit-content",
"uniPlatform": {
Expand Down

0 comments on commit 6959cc6

Please sign in to comment.