Skip to content

Commit

Permalink
chore: sync css.json
Browse files Browse the repository at this point in the history
  • Loading branch information
im-robot committed Jan 9, 2025
1 parent 810a983 commit 827c14a
Showing 1 changed file with 57 additions and 13 deletions.
70 changes: 57 additions & 13 deletions packages/uni-nvue-styler/lib/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"name": "width",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "auto | <length> | <percentage>",
Expand Down Expand Up @@ -172,7 +173,8 @@
{
"name": "min-width",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length>",
"values": [
Expand Down Expand Up @@ -374,7 +376,8 @@
{
"name": "max-width",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length>",
"values": [
Expand Down Expand Up @@ -574,6 +577,7 @@
"name": "height",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "auto | <length> | <percentage>",
Expand Down Expand Up @@ -741,7 +745,8 @@
{
"name": "min-height",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length>",
"values": [
Expand Down Expand Up @@ -943,7 +948,8 @@
{
"name": "max-height",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length>",
"values": [
Expand Down Expand Up @@ -1387,6 +1393,7 @@
"name": "top",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage> | auto",
Expand Down Expand Up @@ -1459,6 +1466,7 @@
"name": "bottom",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage> | auto",
Expand Down Expand Up @@ -1531,6 +1539,7 @@
"name": "left",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage> | auto",
Expand Down Expand Up @@ -1603,6 +1612,7 @@
"name": "right",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage> | auto",
Expand Down Expand Up @@ -2900,6 +2910,7 @@
"restrictions": [
"number",
"length",
"length-function",
"enum"
],
"syntax": "none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",
Expand Down Expand Up @@ -3117,6 +3128,7 @@
"restrictions": [
"number",
"length",
"length-function",
"percentage"
],
"syntax": "auto | <length> | <percentage>",
Expand Down Expand Up @@ -4491,6 +4503,7 @@
"shorthand": true,
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "[ <length> | <percentage> ]{1,4}",
Expand Down Expand Up @@ -4528,6 +4541,7 @@
"name": "padding-left",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage>",
Expand Down Expand Up @@ -4566,6 +4580,7 @@
"name": "padding-top",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage>",
Expand Down Expand Up @@ -4604,6 +4619,7 @@
"name": "padding-right",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage>",
Expand Down Expand Up @@ -4642,6 +4658,7 @@
"name": "padding-bottom",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage>",
Expand Down Expand Up @@ -4681,6 +4698,7 @@
"shorthand": true,
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "[ <length> | <percentage> | auto ]{1,4}",
Expand Down Expand Up @@ -4753,6 +4771,7 @@
"name": "margin-left",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage> | auto",
Expand Down Expand Up @@ -4825,6 +4844,7 @@
"name": "margin-top",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage> | auto",
Expand Down Expand Up @@ -4897,6 +4917,7 @@
"name": "margin-right",
"restrictions": [
"length",
"length-function",
"percentage"
],
"syntax": "<length> | <percentage> | auto",
Expand Down Expand Up @@ -4969,6 +4990,7 @@
"name": "margin-bottom",
"restrictions": [
"length",
"length-function",
"percentage"
],
"description": "margin-bottom 属性设置与元素相关联的盒子模型的下外边距。可以为负值",
Expand Down Expand Up @@ -5042,6 +5064,7 @@
"name": "border",
"restrictions": [
"length",
"length-function",
"line-width",
"line-style",
"color"
Expand Down Expand Up @@ -5915,6 +5938,7 @@
"name": "border-width",
"restrictions": [
"length",
"length-function",
"enum"
],
"syntax": "<line-width>{1,4}",
Expand Down Expand Up @@ -6051,6 +6075,7 @@
"name": "border-left-width",
"restrictions": [
"length",
"length-function",
"enum"
],
"syntax": "<length> | thin | medium | thick",
Expand Down Expand Up @@ -6187,6 +6212,7 @@
"name": "border-top-width",
"restrictions": [
"length",
"length-function",
"enum"
],
"syntax": "<length> | thin | medium | thick",
Expand Down Expand Up @@ -6323,6 +6349,7 @@
"name": "border-right-width",
"restrictions": [
"length",
"length-function",
"enum"
],
"syntax": "<length> | thin | medium | thick",
Expand Down Expand Up @@ -6459,6 +6486,7 @@
"name": "border-bottom-width",
"restrictions": [
"length",
"length-function",
"enum"
],
"syntax": "<length> | thin | medium | thick",
Expand Down Expand Up @@ -6774,7 +6802,8 @@
{
"name": "border-radius",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",
"uniPlatform": {
Expand Down Expand Up @@ -6810,7 +6839,8 @@
{
"name": "border-top-left-radius",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length-percentage>{1,2}",
"uniPlatform": {
Expand Down Expand Up @@ -6846,7 +6876,8 @@
{
"name": "border-top-right-radius",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length-percentage>{1,2}",
"uniPlatform": {
Expand Down Expand Up @@ -6882,7 +6913,8 @@
{
"name": "border-bottom-left-radius",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length-percentage>{1,2}",
"uniPlatform": {
Expand Down Expand Up @@ -6918,7 +6950,8 @@
{
"name": "border-bottom-right-radius",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<length-percentage>{1,2}",
"uniPlatform": {
Expand Down Expand Up @@ -6955,6 +6988,7 @@
"name": "border-top",
"restrictions": [
"length",
"length-function",
"line-width",
"line-style",
"color"
Expand Down Expand Up @@ -6995,6 +7029,7 @@
"name": "border-bottom",
"restrictions": [
"length",
"length-function",
"line-width",
"line-style",
"color"
Expand Down Expand Up @@ -7035,6 +7070,7 @@
"name": "border-left",
"restrictions": [
"length",
"length-function",
"line-width",
"line-style",
"color"
Expand Down Expand Up @@ -7075,6 +7111,7 @@
"name": "border-right",
"restrictions": [
"length",
"length-function",
"line-width",
"line-style",
"color"
Expand Down Expand Up @@ -7162,7 +7199,8 @@
"name": "font-size",
"description": "font-size CSS 属性设置字体大小。更改字体大小还会更新字体大小相关的 `<length>` 单位,例如 line-height 属性的 em 单位值。",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "<absolute-size> | <relative-size> | <length-percentage>",
"uniPlatform": {
Expand Down Expand Up @@ -7492,7 +7530,8 @@
"restrictions": [
"enum",
"color",
"length"
"length",
"length-function"
],
"syntax": "<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",
"uniPlatform": {
Expand Down Expand Up @@ -7881,7 +7920,8 @@
{
"name": "text-decoration-thickness",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "auto | from-font | <length> | <percentage> ",
"uniPlatform": {
Expand Down Expand Up @@ -8405,6 +8445,7 @@
"name": "line-height",
"restrictions": [
"length",
"length-function",
"number"
],
"syntax": "normal | <number> | <length> | <percentage>",
Expand Down Expand Up @@ -8488,7 +8529,8 @@
{
"name": "letter-spacing",
"restrictions": [
"length"
"length",
"length-function"
],
"syntax": "normal | <length>",
"uniPlatform": {
Expand Down Expand Up @@ -8641,6 +8683,7 @@
"restrictions": [
"enum",
"length",
"length-function",
"color"
],
"syntax": "none | <shadow>#",
Expand Down Expand Up @@ -10386,6 +10429,7 @@
"shorthand": true,
"restrictions": [
"length",
"length-function",
"percentage",
"enum"
],
Expand Down

0 comments on commit 827c14a

Please sign in to comment.