Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

experimental: Paste from webflow 7 (#3549)

Oleg Isonen3827146b4f74
diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/__generated__/style-presets.ts b/apps/builder/app/shared/copy-paste/plugin-webflow/__generated__/style-presets.ts
index 80c02bb46f..a3948cc9b6 100644
--- a/apps/builder/app/shared/copy-paste/plugin-webflow/__generated__/style-presets.ts
+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/__generated__/style-presets.ts
@@ -81,7 +81,31 @@ export default {
},
},
{
- property: "margin",
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginLeft",
value: {
type: "unit",
unit: "number",
@@ -172,10 +196,35 @@ export default {
},
},
{
- property: "margin",
+ property: "marginTop",
value: {
- type: "unparsed",
- value: "0 0 10px",
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
],
@@ -336,7 +385,7 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
@@ -345,7 +394,7 @@ export default {
state: ":active",
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
@@ -353,13 +402,60 @@ export default {
},
state: ":hover",
},
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":active",
+ },
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":hover",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":active",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":hover",
+ },
],
abbr: [
{
- property: "borderBottom",
+ property: "borderBottomWidth",
value: {
- type: "unparsed",
- value: "1px dotted",
+ type: "unit",
+ unit: "px",
+ value: 1,
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "dotted",
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "keyword",
+ value: "initial",
},
},
],
@@ -392,21 +488,19 @@ export default {
],
h1: [
{
- property: "margin",
+ property: "marginRight",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "em",
- value: 0.67,
- },
- {
- type: "unit",
- unit: "number",
- value: 0,
- },
- ],
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
@@ -570,13 +664,93 @@ export default {
],
img: [
{
- property: "border",
+ property: "borderTopWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderRightWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderLeftWidth",
value: {
type: "unit",
unit: "number",
value: 0,
},
},
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
{
property: "verticalAlign",
value: {
@@ -708,82 +882,64 @@ export default {
},
},
{
- property: "font",
+ property: "fontStyle",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "margin",
+ property: "fontVariant",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "overflow",
+ property: "fontWeight",
value: {
type: "keyword",
- value: "visible",
+ value: "initial",
},
},
{
- property: "textTransform",
+ property: "fontWidth",
value: {
- type: "keyword",
- value: "none",
+ type: "invalid",
+ value: "initial",
},
},
{
- property: "padding",
+ property: "fontSize",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "inherit",
},
},
{
- property: "cursor",
+ property: "lineHeight",
value: {
type: "keyword",
- value: "pointer",
+ value: "initial",
},
},
{
- property: "webkitAppearance",
+ property: "fontFamily",
value: {
type: "invalid",
value: "",
},
},
{
- property: "border",
+ property: "marginTop",
value: {
type: "unit",
unit: "number",
value: 0,
},
},
- ],
- input: [
- {
- property: "color",
- value: {
- type: "keyword",
- value: "inherit",
- },
- },
- {
- property: "font",
- value: {
- type: "invalid",
- value: "",
- },
- },
{
- property: "margin",
+ property: "marginRight",
value: {
type: "unit",
unit: "number",
@@ -791,14 +947,15 @@ export default {
},
},
{
- property: "cursor",
+ property: "marginBottom",
value: {
- type: "keyword",
- value: "pointer",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "border",
+ property: "marginLeft",
value: {
type: "unit",
unit: "number",
@@ -806,21 +963,21 @@ export default {
},
},
{
- property: "lineHeight",
+ property: "overflow",
value: {
type: "keyword",
- value: "normal",
+ value: "visible",
},
},
{
- property: "boxSizing",
+ property: "textTransform",
value: {
type: "keyword",
- value: "border-box",
+ value: "none",
},
},
{
- property: "padding",
+ property: "paddingTop",
value: {
type: "unit",
unit: "number",
@@ -828,37 +985,7 @@ export default {
},
},
{
- property: "height",
- value: {
- type: "keyword",
- value: "auto",
- },
- },
- {
- property: "webkitAppearance",
- value: {
- type: "invalid",
- value: "",
- },
- },
- ],
- optgroup: [
- {
- property: "color",
- value: {
- type: "keyword",
- value: "inherit",
- },
- },
- {
- property: "font",
- value: {
- type: "invalid",
- value: "",
- },
- },
- {
- property: "margin",
+ property: "paddingRight",
value: {
type: "unit",
unit: "number",
@@ -866,30 +993,7 @@ export default {
},
},
{
- property: "fontWeight",
- value: {
- type: "keyword",
- value: "bold",
- },
- },
- ],
- select: [
- {
- property: "color",
- value: {
- type: "keyword",
- value: "inherit",
- },
- },
- {
- property: "font",
- value: {
- type: "invalid",
- value: "",
- },
- },
- {
- property: "margin",
+ property: "paddingBottom",
value: {
type: "unit",
unit: "number",
@@ -897,30 +1001,29 @@ export default {
},
},
{
- property: "textTransform",
+ property: "paddingLeft",
value: {
- type: "keyword",
- value: "none",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
- ],
- textarea: [
{
- property: "color",
+ property: "cursor",
value: {
type: "keyword",
- value: "inherit",
+ value: "pointer",
},
},
{
- property: "font",
+ property: "webkitAppearance",
value: {
type: "invalid",
value: "",
},
},
{
- property: "margin",
+ property: "borderTopWidth",
value: {
type: "unit",
unit: "number",
@@ -928,23 +1031,15 @@ export default {
},
},
{
- property: "overflow",
- value: {
- type: "keyword",
- value: "auto",
- },
- },
- {
- property: "height",
+ property: "borderRightWidth",
value: {
- type: "keyword",
- value: "auto",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
- ],
- legend: [
{
- property: "border",
+ property: "borderBottomWidth",
value: {
type: "unit",
unit: "number",
@@ -952,143 +1047,122 @@ export default {
},
},
{
- property: "padding",
+ property: "borderLeftWidth",
value: {
type: "unit",
unit: "number",
value: 0,
},
},
- ],
- table: [
{
- property: "borderCollapse",
+ property: "borderTopStyle",
value: {
type: "keyword",
- value: "collapse",
- },
- },
- {
- property: "borderSpacing",
- value: {
- type: "unit",
- unit: "number",
- value: 0,
+ value: "initial",
},
},
- ],
- td: [
{
- property: "padding",
+ property: "borderRightStyle",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "fontFamily",
+ property: "borderBottomStyle",
value: {
- type: "unparsed",
- value: "webflow-icons",
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "src",
+ property: "borderLeftStyle",
value: {
- type: "unparsed",
- value:
- 'url(data:application/x-font-ttf;charset=utf-8;base64,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)format("truetype")',
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "fontWeight",
+ property: "borderTopColor",
value: {
type: "keyword",
- value: "normal",
+ value: "initial",
},
},
{
- property: "fontStyle",
+ property: "borderRightColor",
value: {
type: "keyword",
- value: "normal",
+ value: "initial",
},
},
- ],
- th: [
{
- property: "padding",
+ property: "borderBottomColor",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "fontFamily",
+ property: "borderLeftColor",
value: {
- type: "unparsed",
- value: "webflow-icons",
+ type: "keyword",
+ value: "initial",
},
},
+ ],
+ input: [
{
- property: "src",
+ property: "color",
value: {
- type: "unparsed",
- value:
- 'url(data:application/x-font-ttf;charset=utf-8;base64,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)format("truetype")',
+ type: "keyword",
+ value: "inherit",
},
},
{
- property: "fontWeight",
+ property: "fontStyle",
value: {
type: "keyword",
- value: "normal",
+ value: "initial",
},
},
{
- property: "fontStyle",
+ property: "fontVariant",
value: {
type: "keyword",
- value: "normal",
+ value: "initial",
},
},
- ],
- "w-icon-slider-right": [
{
- property: "content",
+ property: "fontWeight",
value: {
- type: "unparsed",
- value: '""',
+ type: "keyword",
+ value: "initial",
},
- state: ":before",
},
{
- property: "width",
+ property: "fontWidth",
value: {
- type: "unit",
- unit: "em",
- value: 1,
+ type: "invalid",
+ value: "initial",
},
},
{
- property: "height",
+ property: "fontSize",
value: {
- type: "unit",
- unit: "em",
- value: 1,
+ type: "keyword",
+ value: "inherit",
},
},
{
- property: "margin",
+ property: "fontFamily",
value: {
type: "invalid",
value: "",
},
},
{
- property: "top",
+ property: "marginTop",
value: {
type: "unit",
unit: "number",
@@ -1096,7 +1170,7 @@ export default {
},
},
{
- property: "bottom",
+ property: "marginRight",
value: {
type: "unit",
unit: "number",
@@ -1104,7 +1178,7 @@ export default {
},
},
{
- property: "left",
+ property: "marginBottom",
value: {
type: "unit",
unit: "number",
@@ -1112,48 +1186,30 @@ export default {
},
},
{
- property: "right",
+ property: "marginLeft",
value: {
type: "unit",
unit: "number",
value: 0,
},
},
- ],
- "w-icon-slider-left": [
- {
- property: "content",
- value: {
- type: "unparsed",
- value: '""',
- },
- state: ":before",
- },
{
- property: "width",
+ property: "cursor",
value: {
- type: "unit",
- unit: "em",
- value: 1,
+ type: "keyword",
+ value: "pointer",
},
},
{
- property: "height",
+ property: "borderTopWidth",
value: {
type: "unit",
- unit: "em",
- value: 1,
- },
- },
- {
- property: "margin",
- value: {
- type: "invalid",
- value: "",
+ unit: "number",
+ value: 0,
},
},
{
- property: "top",
+ property: "borderRightWidth",
value: {
type: "unit",
unit: "number",
@@ -1161,7 +1217,7 @@ export default {
},
},
{
- property: "bottom",
+ property: "borderBottomWidth",
value: {
type: "unit",
unit: "number",
@@ -1169,7 +1225,7 @@ export default {
},
},
{
- property: "left",
+ property: "borderLeftWidth",
value: {
type: "unit",
unit: "number",
@@ -1177,74 +1233,77 @@ export default {
},
},
{
- property: "right",
+ property: "borderTopStyle",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "initial",
},
},
- ],
- "w-icon-nav-menu": [
{
- property: "content",
+ property: "borderRightStyle",
value: {
- type: "unparsed",
- value: '""',
+ type: "keyword",
+ value: "initial",
},
- state: ":before",
},
- ],
- "w-icon-arrow-down": [
{
- property: "content",
+ property: "borderBottomStyle",
value: {
- type: "unparsed",
- value: '""',
+ type: "keyword",
+ value: "initial",
},
- state: ":before",
},
- ],
- "w-icon-dropdown-toggle": [
{
- property: "content",
+ property: "borderLeftStyle",
value: {
- type: "unparsed",
- value: '""',
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "width",
+ property: "borderTopColor",
value: {
- type: "unit",
- unit: "em",
- value: 1,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "height",
+ property: "borderRightColor",
value: {
- type: "unit",
- unit: "em",
- value: 1,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "margin",
+ property: "borderBottomColor",
value: {
- type: "unparsed",
- value: "auto 20px auto auto",
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "position",
+ property: "borderLeftColor",
value: {
type: "keyword",
- value: "absolute",
+ value: "initial",
},
},
{
- property: "top",
+ property: "lineHeight",
+ value: {
+ type: "keyword",
+ value: "normal",
+ },
+ },
+ {
+ property: "boxSizing",
+ value: {
+ type: "keyword",
+ value: "border-box",
+ },
+ },
+ {
+ property: "paddingTop",
value: {
type: "unit",
unit: "number",
@@ -1252,7 +1311,7 @@ export default {
},
},
{
- property: "bottom",
+ property: "paddingRight",
value: {
type: "unit",
unit: "number",
@@ -1260,211 +1319,185 @@ export default {
},
},
{
- property: "right",
+ property: "paddingBottom",
value: {
type: "unit",
unit: "number",
value: 0,
},
},
- ],
- "w-icon-file-upload-remove": [
{
- property: "content",
+ property: "paddingLeft",
value: {
- type: "unparsed",
- value: '""',
+ type: "unit",
+ unit: "number",
+ value: 0,
},
- state: ":before",
},
{
- property: "margin",
+ property: "height",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "auto",
},
},
{
- property: "fontSize",
+ property: "webkitAppearance",
value: {
- type: "unit",
- unit: "px",
- value: 10,
+ type: "invalid",
+ value: "",
},
},
],
- "w-icon-file-upload-icon": [
+ optgroup: [
{
- property: "content",
+ property: "color",
value: {
- type: "unparsed",
- value: '""',
+ type: "keyword",
+ value: "inherit",
},
- state: ":before",
},
{
- property: "width",
+ property: "fontStyle",
value: {
- type: "unit",
- unit: "px",
- value: 20,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "marginRight",
+ property: "fontVariant",
value: {
- type: "unit",
- unit: "px",
- value: 8,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "display",
+ property: "fontWidth",
value: {
- type: "keyword",
- value: "inline-block",
+ type: "invalid",
+ value: "initial",
},
},
- ],
- "*": [
{
- property: "boxSizing",
+ property: "fontSize",
value: {
type: "keyword",
- value: "border-box",
+ value: "inherit",
},
},
- ],
- "w-block": [
{
- property: "display",
+ property: "lineHeight",
value: {
type: "keyword",
- value: "block",
+ value: "initial",
},
},
- ],
- "w-inline-block": [
{
- property: "maxWidth",
+ property: "fontFamily",
value: {
- type: "unit",
- unit: "%",
- value: 100,
+ type: "invalid",
+ value: "",
},
},
{
- property: "display",
+ property: "marginTop",
value: {
- type: "keyword",
- value: "inline-block",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
- ],
- "w-clearfix": [
{
- property: "content",
+ property: "marginRight",
value: {
- type: "unparsed",
- value: '" "',
+ type: "unit",
+ unit: "number",
+ value: 0,
},
- state: ":before",
},
{
- property: "content",
+ property: "marginBottom",
value: {
- type: "unparsed",
- value: '" "',
+ type: "unit",
+ unit: "number",
+ value: 0,
},
- state: ":after",
},
{
- property: "gridArea",
+ property: "marginLeft",
value: {
- type: "unparsed",
- value: "1/1/2/2",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
- state: ":before",
},
{
- property: "gridArea",
+ property: "fontWeight",
value: {
- type: "unparsed",
- value: "1/1/2/2",
+ type: "keyword",
+ value: "bold",
},
- state: ":after",
},
+ ],
+ select: [
{
- property: "display",
+ property: "color",
value: {
type: "keyword",
- value: "table",
+ value: "inherit",
},
- state: ":before",
},
{
- property: "display",
+ property: "fontStyle",
value: {
type: "keyword",
- value: "table",
+ value: "initial",
},
- state: ":after",
},
{
- property: "clear",
+ property: "fontVariant",
value: {
type: "keyword",
- value: "both",
+ value: "initial",
},
- state: ":after",
},
- ],
- "w-hidden": [
{
- property: "display",
+ property: "fontWeight",
value: {
type: "keyword",
- value: "none",
+ value: "initial",
},
},
- ],
- "w-button": [
{
- property: "color",
+ property: "fontWidth",
value: {
- type: "rgb",
- alpha: 1,
- r: 255,
- g: 255,
- b: 255,
+ type: "invalid",
+ value: "initial",
},
},
{
- property: "lineHeight",
+ property: "fontSize",
value: {
type: "keyword",
value: "inherit",
},
},
{
- property: "cursor",
+ property: "lineHeight",
value: {
type: "keyword",
- value: "pointer",
+ value: "initial",
},
},
{
- property: "backgroundColor",
+ property: "fontFamily",
value: {
- type: "rgb",
- alpha: 1,
- r: 56,
- g: 152,
- b: 236,
+ type: "invalid",
+ value: "",
},
},
{
- property: "border",
+ property: "marginTop",
value: {
type: "unit",
unit: "number",
@@ -1472,7 +1505,7 @@ export default {
},
},
{
- property: "borderRadius",
+ property: "marginRight",
value: {
type: "unit",
unit: "number",
@@ -1480,134 +1513,112 @@ export default {
},
},
{
- property: "padding",
+ property: "marginBottom",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 9,
- },
- {
- type: "unit",
- unit: "px",
- value: 15,
- },
- ],
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "textDecoration",
+ property: "marginLeft",
value: {
- type: "invalid",
- value: "",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "display",
+ property: "textTransform",
value: {
type: "keyword",
- value: "inline-block",
- },
- },
- {
- property: "webkitAppearance",
- value: {
- type: "invalid",
- value: "",
- },
- },
- ],
- "w-code-block": [
- {
- property: "margin",
- value: {
- type: "invalid",
- value: "",
+ value: "none",
},
},
],
- "w-webflow-badge": [
+ textarea: [
{
- property: "boxSizing",
+ property: "color",
value: {
type: "keyword",
- value: "border-box",
+ value: "inherit",
},
},
{
- property: "float",
+ property: "fontStyle",
value: {
type: "keyword",
- value: "none",
+ value: "initial",
},
},
{
- property: "clear",
+ property: "fontVariant",
value: {
type: "keyword",
- value: "none",
+ value: "initial",
},
},
{
- property: "direction",
+ property: "fontWeight",
value: {
type: "keyword",
- value: "ltr",
+ value: "initial",
},
},
{
- property: "fontFamily",
+ property: "fontWidth",
value: {
- type: "keyword",
- value: "inherit",
+ type: "invalid",
+ value: "initial",
},
},
{
- property: "fontWeight",
+ property: "fontSize",
value: {
type: "keyword",
value: "inherit",
},
},
{
- property: "fontStyle",
+ property: "lineHeight",
value: {
type: "keyword",
- value: "inherit",
+ value: "initial",
},
},
{
- property: "fontVariant",
+ property: "fontFamily",
value: {
- type: "keyword",
- value: "inherit",
+ type: "invalid",
+ value: "",
},
},
{
- property: "textAlign",
+ property: "marginTop",
value: {
- type: "keyword",
- value: "inherit",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "letterSpacing",
+ property: "marginRight",
value: {
- type: "keyword",
- value: "inherit",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "webkitTextDecoration",
+ property: "marginBottom",
value: {
- type: "invalid",
- value: "",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "textIndent",
+ property: "marginLeft",
value: {
type: "unit",
unit: "number",
@@ -1615,210 +1626,225 @@ export default {
},
},
{
- property: "textTransform",
+ property: "overflow",
value: {
type: "keyword",
- value: "inherit",
+ value: "auto",
},
},
{
- property: "textShadow",
+ property: "height",
value: {
type: "keyword",
- value: "none",
+ value: "auto",
},
},
+ ],
+ legend: [
{
- property: "fontSmoothing",
+ property: "borderTopWidth",
value: {
- type: "invalid",
- value: "auto",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "verticalAlign",
+ property: "borderRightWidth",
value: {
- type: "keyword",
- value: "baseline",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "wordBreak",
+ property: "borderBottomWidth",
value: {
- type: "keyword",
- value: "normal",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "wordSpacing",
+ property: "borderLeftWidth",
value: {
- type: "keyword",
- value: "normal",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "wordWrap",
+ property: "borderTopStyle",
value: {
type: "keyword",
- value: "normal",
+ value: "initial",
},
},
{
- property: "backgroundImage",
+ property: "borderRightStyle",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "border",
+ property: "borderBottomStyle",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "number",
- value: 0,
- },
- {
- type: "unparsed",
- value: "rgba(0,0,0,0)",
- },
- ],
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "minWidth",
+ property: "borderLeftStyle",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "maxWidth",
+ property: "borderTopColor",
value: {
type: "keyword",
- value: "none",
+ value: "initial",
},
},
{
- property: "minHeight",
+ property: "borderRightColor",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "maxHeight",
+ property: "borderBottomColor",
value: {
type: "keyword",
- value: "none",
+ value: "initial",
},
},
{
- property: "listStyleType",
+ property: "borderLeftColor",
value: {
type: "keyword",
- value: "disc",
+ value: "initial",
},
},
{
- property: "transition",
+ property: "paddingTop",
value: {
- type: "invalid",
- value: "none",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "whiteSpace",
+ property: "paddingRight",
value: {
- type: "keyword",
- value: "nowrap",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "cursor",
+ property: "paddingBottom",
value: {
- type: "keyword",
- value: "pointer",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "boxShadow",
+ property: "paddingLeft",
value: {
- type: "unparsed",
- value: "0 0 0 1px rgba(0,0,0,0.1),0 1px 3px rgba(0,0,0,0.1)",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
+ ],
+ table: [
{
- property: "visibility",
+ property: "borderCollapse",
value: {
type: "keyword",
- value: "visible",
+ value: "collapse",
},
},
{
- property: "zIndex",
+ property: "borderSpacing",
value: {
type: "unit",
unit: "number",
- value: 2147483647,
+ value: 0,
},
},
+ ],
+ td: [
{
- property: "color",
+ property: "paddingTop",
value: {
- type: "rgb",
- alpha: 1,
- r: 170,
- g: 173,
- b: 176,
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "opacity",
+ property: "paddingRight",
value: {
type: "unit",
unit: "number",
- value: 1,
+ value: 0,
},
},
{
- property: "backgroundColor",
+ property: "paddingBottom",
value: {
- type: "rgb",
- alpha: 1,
- r: 255,
- g: 255,
- b: 255,
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "borderRadius",
+ property: "paddingLeft",
value: {
type: "unit",
- unit: "px",
- value: 3,
+ unit: "number",
+ value: 0,
},
},
{
- property: "width",
+ property: "fontFamily",
+ value: {
+ type: "unparsed",
+ value: "webflow-icons",
+ },
+ },
+ {
+ property: "src",
+ value: {
+ type: "unparsed",
+ value:
+ 'url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBiUAAAC8AAAAYGNtYXDpP+a4AAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5ZmhS2XEAAAGAAAADHGhlYWQTFw3HAAAEnAAAADZoaGVhCXYFgQAABNQAAAAkaG10eCe4A1oAAAT4AAAAMGxvY2EDtALGAAAFKAAAABptYXhwABAAPgAABUQAAAAgbmFtZSoCsMsAAAVkAAABznBvc3QAAwAAAAAHNAAAACAAAwP4AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAwPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAQAAAAAwACAACAAQAAQAg5gPpA//9//8AAAAAACDmAOkA//3//wAB/+MaBBcIAAMAAQAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEBIAAAAyADgAAFAAAJAQcJARcDIP5AQAGA/oBAAcABwED+gP6AQAABAOAAAALgA4AABQAAEwEXCQEH4AHAQP6AAYBAAcABwED+gP6AQAAAAwDAAOADQALAAA8AHwAvAAABISIGHQEUFjMhMjY9ATQmByEiBh0BFBYzITI2PQE0JgchIgYdARQWMyEyNj0BNCYDIP3ADRMTDQJADRMTDf3ADRMTDQJADRMTDf3ADRMTDQJADRMTAsATDSANExMNIA0TwBMNIA0TEw0gDRPAEw0gDRMTDSANEwAAAAABAJ0AtAOBApUABQAACQIHCQEDJP7r/upcAXEBcgKU/usBFVz+fAGEAAAAAAL//f+9BAMDwwAEAAkAABcBJwEXAwE3AQdpA5ps/GZsbAOabPxmbEMDmmz8ZmwDmvxmbAOabAAAAgAA/8AEAAPAAB0AOwAABSInLgEnJjU0Nz4BNzYzMTIXHgEXFhUUBw4BBwYjNTI3PgE3NjU0Jy4BJyYjMSIHDgEHBhUUFx4BFxYzAgBqXV6LKCgoKIteXWpqXV6LKCgoKIteXWpVSktvICEhIG9LSlVVSktvICEhIG9LSlVAKCiLXl1qal1eiygoKCiLXl1qal1eiygoZiEgb0tKVVVKS28gISEgb0tKVVVKS28gIQABAAABwAIAA8AAEgAAEzQ3PgE3NjMxFSIHDgEHBhUxIwAoKIteXWpVSktvICFmAcBqXV6LKChmISBvS0pVAAAAAgAA/8AFtgPAADIAOgAAARYXHgEXFhUUBw4BBwYHIxUhIicuAScmNTQ3PgE3NjMxOAExNDc+ATc2MzIXHgEXFhcVATMJATMVMzUEjD83NlAXFxYXTjU1PQL8kz01Nk8XFxcXTzY1PSIjd1BQWlJJSXInJw3+mdv+2/7c25MCUQYcHFg5OUA/ODlXHBwIAhcXTzY1PTw1Nk8XF1tQUHcjIhwcYUNDTgL+3QFt/pOTkwABAAAAAQAAmM7nP18PPPUACwQAAAAAANciZKUAAAAA1yJkpf/9/70FtgPDAAAACAACAAAAAAAAAAEAAAPA/8AAAAW3//3//QW2AAEAAAAAAAAAAAAAAAAAAAAMBAAAAAAAAAAAAAAAAgAAAAQAASAEAADgBAAAwAQAAJ0EAP/9BAAAAAQAAAAFtwAAAAAAAAAKABQAHgAyAEYAjACiAL4BFgE2AY4AAAABAAAADAA8AAMAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADQAAAAEAAAAAAAIABwCWAAEAAAAAAAMADQBIAAEAAAAAAAQADQCrAAEAAAAAAAUACwAnAAEAAAAAAAYADQBvAAEAAAAAAAoAGgDSAAMAAQQJAAEAGgANAAMAAQQJAAIADgCdAAMAAQQJAAMAGgBVAAMAAQQJAAQAGgC4AAMAAQQJAAUAFgAyAAMAAQQJAAYAGgB8AAMAAQQJAAoANADsd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzUmVndWxhcgBSAGUAZwB1AGwAYQByd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==)format("truetype")',
+ },
+ },
+ {
+ property: "fontWeight",
value: {
type: "keyword",
- value: "auto",
+ value: "normal",
},
},
{
- property: "height",
+ property: "fontStyle",
value: {
type: "keyword",
- value: "auto",
+ value: "normal",
},
},
+ ],
+ th: [
{
- property: "margin",
+ property: "paddingTop",
value: {
type: "unit",
unit: "number",
@@ -1826,240 +1852,2568 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingRight",
value: {
type: "unit",
- unit: "px",
- value: 6,
+ unit: "number",
+ value: 0,
},
},
{
- property: "fontSize",
+ property: "paddingBottom",
value: {
type: "unit",
- unit: "px",
- value: 12,
+ unit: "number",
+ value: 0,
},
},
{
- property: "lineHeight",
+ property: "paddingLeft",
value: {
type: "unit",
- unit: "px",
- value: 14,
+ unit: "number",
+ value: 0,
},
},
{
- property: "textDecoration",
+ property: "fontFamily",
value: {
- type: "invalid",
- value: "",
+ type: "unparsed",
+ value: "webflow-icons",
},
},
{
- property: "display",
+ property: "src",
value: {
- type: "keyword",
- value: "inline-block",
+ type: "unparsed",
+ value:
+ 'url(data:application/x-font-ttf;charset=utf-8;base64,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)format("truetype")',
},
},
{
- property: "position",
+ property: "fontWeight",
value: {
type: "keyword",
- value: "fixed",
+ value: "normal",
},
},
{
- property: "top",
+ property: "fontStyle",
value: {
type: "keyword",
- value: "auto",
+ value: "normal",
},
},
+ ],
+ "w-icon-slider-right": [
{
- property: "bottom",
+ property: "content",
value: {
- type: "unit",
- unit: "px",
- value: 12,
+ type: "unparsed",
+ value: '""',
},
+ state: ":before",
},
{
- property: "left",
+ property: "width",
value: {
- type: "keyword",
- value: "auto",
+ type: "unit",
+ unit: "em",
+ value: 1,
},
},
{
- property: "right",
+ property: "height",
value: {
type: "unit",
- unit: "px",
- value: 12,
+ unit: "em",
+ value: 1,
},
},
{
- property: "overflow",
+ property: "marginTop",
value: {
type: "keyword",
- value: "visible",
+ value: "auto",
},
},
{
- property: "transform",
+ property: "marginRight",
value: {
type: "keyword",
- value: "none",
+ value: "auto",
},
},
- ],
- h2: [
{
property: "marginBottom",
value: {
- type: "unit",
- unit: "px",
- value: 10,
+ type: "keyword",
+ value: "auto",
},
},
{
- property: "fontWeight",
+ property: "marginLeft",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "top",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "bottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "left",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "right",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ ],
+ "w-icon-slider-left": [
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '""',
+ },
+ state: ":before",
+ },
+ {
+ property: "width",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 1,
+ },
+ },
+ {
+ property: "height",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 1,
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "top",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "bottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "left",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "right",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ ],
+ "w-icon-nav-menu": [
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '""',
+ },
+ state: ":before",
+ },
+ ],
+ "w-icon-arrow-down": [
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '""',
+ },
+ state: ":before",
+ },
+ ],
+ "w-icon-dropdown-toggle": [
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '""',
+ },
+ },
+ {
+ property: "width",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 1,
+ },
+ },
+ {
+ property: "height",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 1,
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "position",
+ value: {
+ type: "keyword",
+ value: "absolute",
+ },
+ },
+ {
+ property: "top",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "bottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "right",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ ],
+ "w-icon-file-upload-remove": [
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '""',
+ },
+ state: ":before",
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ ],
+ "w-icon-file-upload-icon": [
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '""',
+ },
+ state: ":before",
+ },
+ {
+ property: "width",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 8,
+ },
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "inline-block",
+ },
+ },
+ ],
+ "*": [
+ {
+ property: "boxSizing",
+ value: {
+ type: "keyword",
+ value: "border-box",
+ },
+ },
+ ],
+ "w-block": [
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "block",
+ },
+ },
+ ],
+ "w-inline-block": [
+ {
+ property: "maxWidth",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 100,
+ },
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "inline-block",
+ },
+ },
+ ],
+ "w-clearfix": [
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '" "',
+ },
+ state: ":before",
+ },
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '" "',
+ },
+ state: ":after",
+ },
+ {
+ property: "gridArea",
+ value: {
+ type: "unparsed",
+ value: "1/1/2/2",
+ },
+ state: ":before",
+ },
+ {
+ property: "gridArea",
+ value: {
+ type: "unparsed",
+ value: "1/1/2/2",
+ },
+ state: ":after",
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "table",
+ },
+ state: ":before",
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "table",
+ },
+ state: ":after",
+ },
+ {
+ property: "clear",
+ value: {
+ type: "keyword",
+ value: "both",
+ },
+ state: ":after",
+ },
+ ],
+ "w-hidden": [
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ ],
+ "w-button": [
+ {
+ property: "color",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "lineHeight",
+ value: {
+ type: "keyword",
+ value: "inherit",
+ },
+ },
+ {
+ property: "cursor",
+ value: {
+ type: "keyword",
+ value: "pointer",
+ },
+ },
+ {
+ property: "backgroundColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
+ },
+ },
+ {
+ property: "borderTopWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderRightWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderTopLeftRadius",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderTopRightRadius",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderBottomRightRadius",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 9,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 15,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 9,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 15,
+ },
+ },
+ {
+ property: "textDecorationLine",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "textDecorationStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "textDecorationColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "inline-block",
+ },
+ },
+ {
+ property: "webkitAppearance",
+ value: {
+ type: "invalid",
+ value: "",
+ },
+ },
+ ],
+ "w-code-block": [
+ {
+ property: "marginTop",
+ value: {
+ type: "keyword",
+ value: "unset",
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "keyword",
+ value: "unset",
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "keyword",
+ value: "unset",
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "keyword",
+ value: "unset",
+ },
+ },
+ ],
+ "w-webflow-badge": [
+ {
+ property: "boxSizing",
+ value: {
+ type: "keyword",
+ value: "border-box",
+ },
+ },
+ {
+ property: "float",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "clear",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "direction",
+ value: {
+ type: "keyword",
+ value: "ltr",
+ },
+ },
+ {
+ property: "fontFamily",
+ value: {
+ type: "keyword",
+ value: "inherit",
+ },
+ },
+ {
+ property: "fontWeight",
+ value: {
+ type: "keyword",
+ value: "inherit",
+ },
+ },
+ {
+ property: "fontStyle",
+ value: {
+ type: "keyword",
+ value: "inherit",
+ },
+ },
+ {
+ property: "fontVariant",
+ value: {
+ type: "keyword",
+ value: "inherit",
+ },
+ },
+ {
+ property: "textAlign",
+ value: {
+ type: "keyword",
+ value: "inherit",
+ },
+ },
+ {
+ property: "letterSpacing",
+ value: {
+ type: "keyword",
+ value: "inherit",
+ },
+ },
+ {
+ property: "webkitTextDecoration",
+ value: {
+ type: "invalid",
+ value: "",
+ },
+ },
+ {
+ property: "textIndent",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "textTransform",
+ value: {
+ type: "keyword",
+ value: "inherit",
+ },
+ },
+ {
+ property: "textShadow",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "fontSmoothing",
+ value: {
+ type: "invalid",
+ value: "auto",
+ },
+ },
+ {
+ property: "verticalAlign",
+ value: {
+ type: "keyword",
+ value: "baseline",
+ },
+ },
+ {
+ property: "wordBreak",
+ value: {
+ type: "keyword",
+ value: "normal",
+ },
+ },
+ {
+ property: "wordSpacing",
+ value: {
+ type: "keyword",
+ value: "normal",
+ },
+ },
+ {
+ property: "wordWrap",
+ value: {
+ type: "keyword",
+ value: "normal",
+ },
+ },
+ {
+ property: "backgroundImage",
+ value: {
+ type: "invalid",
+ value: "",
+ },
+ },
+ {
+ property: "borderTopWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderRightWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "minWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "maxWidth",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "minHeight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "maxHeight",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "listStyleType",
+ value: {
+ type: "keyword",
+ value: "disc",
+ },
+ },
+ {
+ property: "transition",
+ value: {
+ type: "invalid",
+ value: "none",
+ },
+ },
+ {
+ property: "whiteSpace",
+ value: {
+ type: "keyword",
+ value: "nowrap",
+ },
+ },
+ {
+ property: "cursor",
+ value: {
+ type: "keyword",
+ value: "pointer",
+ },
+ },
+ {
+ property: "boxShadow",
+ value: {
+ type: "unparsed",
+ value: "0 0 0 1px rgba(0,0,0,0.1),0 1px 3px rgba(0,0,0,0.1)",
+ },
+ },
+ {
+ property: "visibility",
+ value: {
+ type: "keyword",
+ value: "visible",
+ },
+ },
+ {
+ property: "zIndex",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 2147483647,
+ },
+ },
+ {
+ property: "color",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 170,
+ g: 173,
+ b: 176,
+ },
+ },
+ {
+ property: "opacity",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 1,
+ },
+ },
+ {
+ property: "backgroundColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "borderTopLeftRadius",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 3,
+ },
+ },
+ {
+ property: "borderTopRightRadius",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 3,
+ },
+ },
+ {
+ property: "borderBottomRightRadius",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 3,
+ },
+ },
+ {
+ property: "width",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "height",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 6,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 6,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 6,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 6,
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 12,
+ },
+ },
+ {
+ property: "lineHeight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 14,
+ },
+ },
+ {
+ property: "textDecorationLine",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "textDecorationStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "textDecorationColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "inline-block",
+ },
+ },
+ {
+ property: "position",
+ value: {
+ type: "keyword",
+ value: "fixed",
+ },
+ },
+ {
+ property: "top",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "bottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 12,
+ },
+ },
+ {
+ property: "left",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "right",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 12,
+ },
+ },
+ {
+ property: "overflow",
+ value: {
+ type: "keyword",
+ value: "visible",
+ },
+ },
+ {
+ property: "transform",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ ],
+ h2: [
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "fontWeight",
+ value: {
+ type: "keyword",
+ value: "bold",
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 32,
+ },
+ },
+ {
+ property: "lineHeight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 36,
+ },
+ },
+ ],
+ h3: [
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "fontWeight",
+ value: {
+ type: "keyword",
+ value: "bold",
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 24,
+ },
+ },
+ {
+ property: "lineHeight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 30,
+ },
+ },
+ ],
+ h4: [
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "fontWeight",
+ value: {
+ type: "keyword",
+ value: "bold",
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 18,
+ },
+ },
+ {
+ property: "lineHeight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 24,
+ },
+ },
+ ],
+ h5: [
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "fontWeight",
+ value: {
+ type: "keyword",
+ value: "bold",
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 14,
+ },
+ },
+ {
+ property: "lineHeight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ ],
+ h6: [
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "fontWeight",
+ value: {
+ type: "keyword",
+ value: "bold",
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 12,
+ },
+ },
+ {
+ property: "lineHeight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 18,
+ },
+ },
+ ],
+ p: [
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ ],
+ blockquote: [
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 5,
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 226,
+ g: 226,
+ b: 226,
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 18,
+ },
+ },
+ {
+ property: "lineHeight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 22,
+ },
+ },
+ ],
+ ul: [
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 40,
+ },
+ },
+ ],
+ ol: [
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 40,
+ },
+ },
+ ],
+ "w-list-unstyled": [
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "listStyle",
+ value: {
+ type: "invalid",
+ value: "",
+ },
+ },
+ ],
+ "w-embed": [
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '" "',
+ },
+ state: ":before",
+ },
+ {
+ property: "content",
+ value: {
+ type: "unparsed",
+ value: '" "',
+ },
+ state: ":after",
+ },
+ {
+ property: "gridArea",
+ value: {
+ type: "unparsed",
+ value: "1/1/2/2",
+ },
+ state: ":before",
+ },
+ {
+ property: "gridArea",
+ value: {
+ type: "unparsed",
+ value: "1/1/2/2",
+ },
+ state: ":after",
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "table",
+ },
+ state: ":before",
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "table",
+ },
+ state: ":after",
+ },
+ {
+ property: "clear",
+ value: {
+ type: "keyword",
+ value: "both",
+ },
+ state: ":after",
+ },
+ ],
+ "w-video": [
+ {
+ property: "width",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 100,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "position",
+ value: {
+ type: "keyword",
+ value: "relative",
+ },
+ },
+ ],
+ fieldset: [
+ {
+ property: "borderTopWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderRightWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "cursor",
+ value: {
+ type: "keyword",
+ value: "not-allowed",
+ },
+ },
+ ],
+ "w-form": [
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 15,
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ ],
+ "w-form-done": [
+ {
+ property: "textAlign",
+ value: {
+ type: "keyword",
+ value: "center",
+ },
+ },
+ {
+ property: "backgroundColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 221,
+ g: 221,
+ b: 221,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ ],
+ "w-form-fail": [
+ {
+ property: "backgroundColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 255,
+ g: 222,
+ b: 222,
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ ],
+ label: [
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 5,
+ },
+ },
+ {
+ property: "fontWeight",
value: {
type: "keyword",
value: "bold",
},
},
{
- property: "marginTop",
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "block",
+ },
+ },
+ ],
+ "w-input": [
+ {
+ property: "verticalAlign",
+ value: {
+ type: "keyword",
+ value: "middle",
+ },
+ },
+ {
+ property: "backgroundColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "borderTopWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 1,
+ },
+ },
+ {
+ property: "borderRightWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 1,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 1,
+ },
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 1,
+ },
+ },
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
+ },
+ },
+ {
+ property: "width",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 100,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 8,
+ },
+ },
+ {
+ property: "paddingRight",
value: {
type: "unit",
unit: "px",
- value: 20,
+ value: 12,
},
},
{
- property: "fontSize",
+ property: "paddingBottom",
value: {
type: "unit",
unit: "px",
- value: 32,
+ value: 8,
},
},
{
- property: "lineHeight",
+ property: "paddingLeft",
value: {
type: "unit",
unit: "px",
- value: 36,
+ value: 12,
},
},
- ],
- h3: [
{
- property: "marginBottom",
+ property: "fontSize",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: 14,
},
},
{
- property: "fontWeight",
+ property: "lineHeight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 1.42857,
+ },
+ },
+ {
+ property: "display",
value: {
type: "keyword",
- value: "bold",
+ value: "block",
},
},
{
- property: "marginTop",
+ property: "color",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 153,
+ g: 153,
+ b: 153,
+ },
+ state: ":-moz-placeholder",
+ },
+ {
+ property: "opacity",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 1,
+ },
+ },
+ {
+ property: "color",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 153,
+ g: 153,
+ b: 153,
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
+ },
+ state: ":focus",
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
+ },
+ state: ":focus",
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
+ },
+ state: ":focus",
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
+ {
+ property: "cursor",
+ value: {
+ type: "keyword",
+ value: "not-allowed",
+ },
+ },
+ {
+ property: "height",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ ],
+ "w-select": [
+ {
+ property: "verticalAlign",
+ value: {
+ type: "keyword",
+ value: "middle",
+ },
+ },
+ {
+ property: "borderTopWidth",
value: {
type: "unit",
unit: "px",
- value: 20,
+ value: 1,
},
},
{
- property: "fontSize",
+ property: "borderRightWidth",
value: {
type: "unit",
unit: "px",
- value: 24,
+ value: 1,
},
},
{
- property: "lineHeight",
+ property: "borderBottomWidth",
value: {
type: "unit",
unit: "px",
- value: 30,
+ value: 1,
},
},
- ],
- h4: [
{
- property: "marginBottom",
+ property: "borderLeftWidth",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: 1,
},
},
{
- property: "fontWeight",
+ property: "borderTopStyle",
value: {
type: "keyword",
- value: "bold",
+ value: "solid",
},
},
{
- property: "marginTop",
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "width",
value: {
type: "unit",
- unit: "px",
- value: 10,
+ unit: "%",
+ value: 100,
},
},
{
- property: "fontSize",
+ property: "marginBottom",
value: {
type: "unit",
unit: "px",
- value: 18,
+ value: 10,
},
},
{
- property: "lineHeight",
+ property: "paddingTop",
value: {
type: "unit",
unit: "px",
- value: 24,
+ value: 8,
},
},
- ],
- h5: [
{
- property: "marginBottom",
+ property: "paddingRight",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: 12,
},
},
{
- property: "fontWeight",
+ property: "paddingBottom",
value: {
- type: "keyword",
- value: "bold",
+ type: "unit",
+ unit: "px",
+ value: 8,
},
},
{
- property: "marginTop",
+ property: "paddingLeft",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: 12,
},
},
{
@@ -2074,55 +4428,77 @@ export default {
property: "lineHeight",
value: {
type: "unit",
- unit: "px",
- value: 20,
+ unit: "number",
+ value: 1.42857,
},
},
- ],
- h6: [
{
- property: "marginBottom",
+ property: "display",
+ value: {
+ type: "keyword",
+ value: "block",
+ },
+ },
+ {
+ property: "opacity",
value: {
type: "unit",
- unit: "px",
- value: 10,
+ unit: "number",
+ value: 1,
},
},
{
- property: "fontWeight",
+ property: "color",
value: {
- type: "keyword",
- value: "bold",
+ type: "rgb",
+ alpha: 1,
+ r: 153,
+ g: 153,
+ b: 153,
},
},
{
- property: "marginTop",
+ property: "borderTopColor",
value: {
- type: "unit",
- unit: "px",
- value: 10,
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
},
},
{
- property: "fontSize",
+ property: "borderRightColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
+ },
+ },
+ {
+ property: "borderBottomColor",
value: {
- type: "unit",
- unit: "px",
- value: 12,
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
},
},
{
- property: "lineHeight",
+ property: "borderLeftColor",
value: {
- type: "unit",
- unit: "px",
- value: 18,
+ type: "rgb",
+ alpha: 1,
+ r: 56,
+ g: 152,
+ b: 236,
},
},
- ],
- p: [
{
- property: "marginTop",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
@@ -2130,105 +4506,94 @@ export default {
},
},
{
- property: "marginBottom",
+ property: "outlineStyle",
value: {
- type: "unit",
- unit: "px",
- value: 10,
+ type: "keyword",
+ value: "initial",
},
},
- ],
- blockquote: [
{
- property: "borderLeft",
+ property: "outlineColor",
value: {
- type: "unparsed",
- value: "5px solid #e2e2e2",
+ type: "keyword",
+ value: "initial",
},
},
{
- property: "margin",
+ property: "cursor",
value: {
- type: "unparsed",
- value: "0 0 10px",
+ type: "keyword",
+ value: "not-allowed",
},
},
{
- property: "padding",
+ property: "backgroundColor",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 10,
- },
- {
- type: "unit",
- unit: "px",
- value: 20,
- },
- ],
+ type: "rgb",
+ alpha: 1,
+ r: 243,
+ g: 243,
+ b: 243,
},
},
{
- property: "fontSize",
+ property: "height",
value: {
- type: "unit",
- unit: "px",
- value: 18,
+ type: "keyword",
+ value: "auto",
},
},
+ ],
+ "w-input-disabled": [
{
- property: "lineHeight",
+ property: "backgroundColor",
value: {
- type: "unit",
- unit: "px",
- value: 22,
+ type: "rgb",
+ alpha: 1,
+ r: 238,
+ g: 238,
+ b: 238,
},
},
],
- ul: [
+ "w-form-label": [
{
- property: "marginTop",
+ property: "cursor",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "pointer",
},
},
{
property: "marginBottom",
value: {
type: "unit",
- unit: "px",
- value: 10,
+ unit: "number",
+ value: 0,
},
},
{
- property: "paddingLeft",
+ property: "fontWeight",
value: {
- type: "unit",
- unit: "px",
- value: 40,
+ type: "keyword",
+ value: "normal",
},
},
- ],
- ol: [
{
- property: "marginTop",
+ property: "display",
value: {
- type: "unit",
- unit: "number",
- value: 0,
+ type: "keyword",
+ value: "inline-block",
},
},
+ ],
+ "w-radio": [
{
property: "marginBottom",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: 5,
},
},
{
@@ -2236,28 +4601,16 @@ export default {
value: {
type: "unit",
unit: "px",
- value: 40,
- },
- },
- ],
- "w-list-unstyled": [
- {
- property: "paddingLeft",
- value: {
- type: "unit",
- unit: "number",
- value: 0,
+ value: 20,
},
},
{
- property: "listStyle",
+ property: "display",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "block",
},
},
- ],
- "w-embed": [
{
property: "content",
value: {
@@ -2315,42 +4668,24 @@ export default {
state: ":after",
},
],
- "w-video": [
- {
- property: "width",
- value: {
- type: "unit",
- unit: "%",
- value: 100,
- },
- },
- {
- property: "padding",
- value: {
- type: "unit",
- unit: "number",
- value: 0,
- },
- },
+ "w-radio-input": [
{
- property: "position",
+ property: "float",
value: {
type: "keyword",
- value: "relative",
+ value: "left",
},
},
- ],
- fieldset: [
{
- property: "border",
+ property: "marginTop",
value: {
type: "unit",
- unit: "number",
- value: 0,
+ unit: "px",
+ value: 3,
},
},
{
- property: "margin",
+ property: "marginRight",
value: {
type: "unit",
unit: "number",
@@ -2358,7 +4693,7 @@ export default {
},
},
{
- property: "padding",
+ property: "marginBottom",
value: {
type: "unit",
unit: "number",
@@ -2366,105 +4701,28 @@ export default {
},
},
{
- property: "cursor",
- value: {
- type: "keyword",
- value: "not-allowed",
- },
- },
- ],
- "w-form": [
- {
- property: "margin",
- value: {
- type: "unparsed",
- value: "0 0 15px",
- },
- },
- ],
- "w-form-done": [
- {
- property: "textAlign",
- value: {
- type: "keyword",
- value: "center",
- },
- },
- {
- property: "backgroundColor",
- value: {
- type: "rgb",
- alpha: 1,
- r: 221,
- g: 221,
- b: 221,
- },
- },
- {
- property: "padding",
- value: {
- type: "unit",
- unit: "px",
- value: 20,
- },
- },
- {
- property: "display",
- value: {
- type: "keyword",
- value: "none",
- },
- },
- ],
- "w-form-fail": [
- {
- property: "backgroundColor",
- value: {
- type: "rgb",
- alpha: 1,
- r: 255,
- g: 222,
- b: 222,
- },
- },
- {
- property: "marginTop",
- value: {
- type: "unit",
- unit: "px",
- value: 10,
- },
- },
- {
- property: "padding",
+ property: "marginLeft",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: -20,
},
},
{
- property: "display",
+ property: "lineHeight",
value: {
type: "keyword",
- value: "none",
+ value: "normal",
},
},
],
- label: [
+ "w-file-upload": [
{
property: "marginBottom",
value: {
type: "unit",
unit: "px",
- value: 5,
- },
- },
- {
- property: "fontWeight",
- value: {
- type: "keyword",
- value: "bold",
+ value: 10,
},
},
{
@@ -2475,254 +4733,248 @@ export default {
},
},
],
- "w-input": [
- {
- property: "verticalAlign",
- value: {
- type: "keyword",
- value: "middle",
- },
- },
+ "w-file-upload-input": [
{
- property: "backgroundColor",
+ property: "opacity",
value: {
- type: "rgb",
- alpha: 1,
- r: 255,
- g: 255,
- b: 255,
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "border",
+ property: "zIndex",
value: {
- type: "unparsed",
- value: "1px solid #ccc",
+ type: "unit",
+ unit: "number",
+ value: -100,
},
},
{
property: "width",
value: {
type: "unit",
- unit: "%",
- value: 100,
+ unit: "px",
+ value: 0.1,
},
},
{
- property: "marginBottom",
+ property: "height",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: 0.1,
},
},
{
- property: "padding",
+ property: "position",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 8,
- },
- {
- type: "unit",
- unit: "px",
- value: 12,
- },
- ],
+ type: "keyword",
+ value: "absolute",
},
},
{
- property: "fontSize",
+ property: "overflow",
value: {
- type: "unit",
- unit: "px",
- value: 14,
+ type: "keyword",
+ value: "hidden",
},
},
+ ],
+ "w-file-upload-default": [
{
- property: "lineHeight",
+ property: "color",
value: {
- type: "unit",
- unit: "number",
- value: 1.42857,
+ type: "rgb",
+ alpha: 1,
+ r: 51,
+ g: 51,
+ b: 51,
},
},
{
property: "display",
value: {
type: "keyword",
- value: "block",
+ value: "none",
},
},
+ ],
+ "w-file-upload-uploading": [
{
property: "color",
value: {
type: "rgb",
alpha: 1,
- r: 153,
- g: 153,
- b: 153,
+ r: 51,
+ g: 51,
+ b: 51,
},
- state: ":-moz-placeholder",
},
{
- property: "opacity",
+ property: "display",
value: {
- type: "unit",
- unit: "number",
- value: 1,
+ type: "keyword",
+ value: "none",
},
},
+ ],
+ "w-file-upload-success": [
{
property: "color",
value: {
type: "rgb",
alpha: 1,
- r: 153,
- g: 153,
- b: 153,
+ r: 51,
+ g: 51,
+ b: 51,
},
},
{
- property: "borderColor",
+ property: "display",
value: {
- type: "rgb",
- alpha: 1,
- r: 56,
- g: 152,
- b: 236,
+ type: "keyword",
+ value: "none",
},
- state: ":focus",
},
+ ],
+ "w-file-upload-error": [
{
- property: "outline",
+ property: "marginTop",
value: {
type: "unit",
- unit: "number",
- value: 0,
+ unit: "px",
+ value: 10,
},
- state: ":focus",
},
{
- property: "cursor",
+ property: "display",
value: {
type: "keyword",
- value: "not-allowed",
+ value: "none",
},
},
+ ],
+ "w-file-upload-uploading-btn": [
{
- property: "height",
+ property: "cursor",
value: {
type: "keyword",
- value: "auto",
+ value: "pointer",
},
},
- ],
- "w-select": [
{
- property: "verticalAlign",
+ property: "backgroundColor",
value: {
- type: "keyword",
- value: "middle",
+ type: "rgb",
+ alpha: 1,
+ r: 250,
+ g: 250,
+ b: 250,
},
},
{
- property: "border",
+ property: "borderTopWidth",
value: {
- type: "unparsed",
- value: "1px solid #ccc",
+ type: "unit",
+ unit: "px",
+ value: 1,
},
},
{
- property: "width",
+ property: "borderRightWidth",
value: {
type: "unit",
- unit: "%",
- value: 100,
+ unit: "px",
+ value: 1,
},
},
{
- property: "marginBottom",
+ property: "borderBottomWidth",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: 1,
},
},
{
- property: "padding",
+ property: "borderLeftWidth",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 8,
- },
- {
- type: "unit",
- unit: "px",
- value: 12,
- },
- ],
+ type: "unit",
+ unit: "px",
+ value: 1,
},
},
{
- property: "fontSize",
+ property: "borderTopStyle",
value: {
- type: "unit",
- unit: "px",
- value: 14,
+ type: "keyword",
+ value: "solid",
},
},
{
- property: "lineHeight",
+ property: "borderRightStyle",
value: {
- type: "unit",
- unit: "number",
- value: 1.42857,
+ type: "keyword",
+ value: "solid",
},
},
{
- property: "display",
+ property: "borderBottomStyle",
value: {
type: "keyword",
- value: "block",
+ value: "solid",
},
},
{
- property: "opacity",
+ property: "borderLeftStyle",
value: {
- type: "unit",
- unit: "number",
- value: 1,
+ type: "keyword",
+ value: "solid",
},
},
{
- property: "color",
+ property: "borderTopColor",
value: {
type: "rgb",
alpha: 1,
- r: 153,
- g: 153,
- b: 153,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
{
- property: "borderColor",
+ property: "borderRightColor",
value: {
type: "rgb",
alpha: 1,
- r: 56,
- g: 152,
- b: 236,
+ r: 204,
+ g: 204,
+ b: 204,
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
{
- property: "outline",
+ property: "marginTop",
value: {
type: "unit",
unit: "number",
@@ -2730,56 +4982,67 @@ export default {
},
},
{
- property: "cursor",
+ property: "marginRight",
value: {
- type: "keyword",
- value: "not-allowed",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "backgroundColor",
+ property: "marginBottom",
value: {
- type: "rgb",
- alpha: 1,
- r: 243,
- g: 243,
- b: 243,
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "height",
+ property: "marginLeft",
value: {
- type: "keyword",
- value: "auto",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
- ],
- "w-input-disabled": [
{
- property: "backgroundColor",
+ property: "paddingTop",
value: {
- type: "rgb",
- alpha: 1,
- r: 238,
- g: 238,
- b: 238,
+ type: "unit",
+ unit: "px",
+ value: 8,
},
},
- ],
- "w-form-label": [
{
- property: "cursor",
+ property: "paddingRight",
value: {
- type: "keyword",
- value: "pointer",
+ type: "unit",
+ unit: "px",
+ value: 12,
},
},
{
- property: "marginBottom",
+ property: "paddingBottom",
value: {
type: "unit",
- unit: "number",
- value: 0,
+ unit: "px",
+ value: 8,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 12,
+ },
+ },
+ {
+ property: "fontSize",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 14,
},
},
{
@@ -2793,134 +5056,138 @@ export default {
property: "display",
value: {
type: "keyword",
- value: "inline-block",
+ value: "flex",
},
},
],
- "w-radio": [
+ "w-file-upload-file": [
{
- property: "marginBottom",
+ property: "backgroundColor",
value: {
- type: "unit",
- unit: "px",
- value: 5,
+ type: "rgb",
+ alpha: 1,
+ r: 250,
+ g: 250,
+ b: 250,
},
},
{
- property: "paddingLeft",
+ property: "borderTopWidth",
value: {
type: "unit",
unit: "px",
- value: 20,
+ value: 1,
},
},
{
- property: "display",
+ property: "borderRightWidth",
value: {
- type: "keyword",
- value: "block",
+ type: "unit",
+ unit: "px",
+ value: 1,
},
},
{
- property: "content",
+ property: "borderBottomWidth",
value: {
- type: "unparsed",
- value: '" "',
+ type: "unit",
+ unit: "px",
+ value: 1,
},
- state: ":before",
},
{
- property: "content",
+ property: "borderLeftWidth",
value: {
- type: "unparsed",
- value: '" "',
+ type: "unit",
+ unit: "px",
+ value: 1,
},
- state: ":after",
},
{
- property: "gridArea",
+ property: "borderTopStyle",
value: {
- type: "unparsed",
- value: "1/1/2/2",
+ type: "keyword",
+ value: "solid",
},
- state: ":before",
},
{
- property: "gridArea",
+ property: "borderRightStyle",
value: {
- type: "unparsed",
- value: "1/1/2/2",
+ type: "keyword",
+ value: "solid",
},
- state: ":after",
},
{
- property: "display",
+ property: "borderBottomStyle",
value: {
type: "keyword",
- value: "table",
+ value: "solid",
},
- state: ":before",
},
{
- property: "display",
+ property: "borderLeftStyle",
value: {
type: "keyword",
- value: "table",
+ value: "solid",
},
- state: ":after",
},
{
- property: "clear",
+ property: "borderTopColor",
value: {
- type: "keyword",
- value: "both",
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
- state: ":after",
},
- ],
- "w-radio-input": [
{
- property: "float",
+ property: "borderRightColor",
value: {
- type: "keyword",
- value: "left",
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
{
- property: "margin",
+ property: "borderBottomColor",
value: {
- type: "unparsed",
- value: "3px 0 0-20px",
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
{
- property: "lineHeight",
+ property: "borderLeftColor",
value: {
- type: "keyword",
- value: "normal",
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
- ],
- "w-file-upload": [
{
- property: "marginBottom",
+ property: "flexGrow",
value: {
type: "unit",
- unit: "px",
- value: 10,
+ unit: "number",
+ value: 1,
},
},
{
- property: "display",
+ property: "justifyContent",
value: {
type: "keyword",
- value: "block",
+ value: "space-between",
},
},
- ],
- "w-file-upload-input": [
{
- property: "opacity",
+ property: "marginTop",
value: {
type: "unit",
unit: "number",
@@ -2928,227 +5195,208 @@ export default {
},
},
{
- property: "zIndex",
+ property: "marginRight",
value: {
type: "unit",
unit: "number",
- value: -100,
+ value: 0,
},
},
{
- property: "width",
+ property: "marginBottom",
value: {
type: "unit",
- unit: "px",
- value: 0.1,
+ unit: "number",
+ value: 0,
},
},
{
- property: "height",
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingTop",
value: {
type: "unit",
unit: "px",
- value: 0.1,
+ value: 8,
},
},
{
- property: "position",
+ property: "paddingRight",
value: {
- type: "keyword",
- value: "absolute",
+ type: "unit",
+ unit: "px",
+ value: 9,
},
},
{
- property: "overflow",
+ property: "paddingBottom",
value: {
- type: "keyword",
- value: "hidden",
+ type: "unit",
+ unit: "px",
+ value: 8,
},
},
- ],
- "w-file-upload-default": [
{
- property: "color",
+ property: "paddingLeft",
value: {
- type: "rgb",
- alpha: 1,
- r: 51,
- g: 51,
- b: 51,
+ type: "unit",
+ unit: "px",
+ value: 11,
},
},
{
property: "display",
value: {
type: "keyword",
- value: "none",
+ value: "flex",
},
},
],
- "w-file-upload-uploading": [
+ "w-file-upload-file-name": [
{
- property: "color",
+ property: "fontSize",
value: {
- type: "rgb",
- alpha: 1,
- r: 51,
- g: 51,
- b: 51,
+ type: "unit",
+ unit: "px",
+ value: 14,
},
},
{
- property: "display",
+ property: "fontWeight",
value: {
type: "keyword",
- value: "none",
- },
- },
- ],
- "w-file-upload-success": [
- {
- property: "color",
- value: {
- type: "rgb",
- alpha: 1,
- r: 51,
- g: 51,
- b: 51,
+ value: "normal",
},
},
{
property: "display",
value: {
type: "keyword",
- value: "none",
+ value: "block",
},
},
],
- "w-file-upload-error": [
+ "w-file-remove-link": [
{
- property: "marginTop",
+ property: "cursor",
value: {
- type: "unit",
- unit: "px",
- value: 10,
+ type: "keyword",
+ value: "pointer",
},
},
{
- property: "display",
+ property: "width",
value: {
type: "keyword",
- value: "none",
+ value: "auto",
},
},
- ],
- "w-file-upload-uploading-btn": [
{
- property: "cursor",
+ property: "height",
value: {
type: "keyword",
- value: "pointer",
+ value: "auto",
},
},
{
- property: "backgroundColor",
+ property: "marginTop",
value: {
- type: "rgb",
- alpha: 1,
- r: 250,
- g: 250,
- b: 250,
+ type: "unit",
+ unit: "px",
+ value: 3,
},
},
{
- property: "border",
+ property: "marginLeft",
value: {
- type: "unparsed",
- value: "1px solid #ccc",
+ type: "unit",
+ unit: "px",
+ value: 10,
},
},
{
- property: "margin",
+ property: "paddingTop",
value: {
type: "unit",
- unit: "number",
- value: 0,
+ unit: "px",
+ value: 3,
},
},
{
- property: "padding",
+ property: "paddingRight",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 8,
- },
- {
- type: "unit",
- unit: "px",
- value: 12,
- },
- ],
+ type: "unit",
+ unit: "px",
+ value: 3,
},
},
{
- property: "fontSize",
+ property: "paddingBottom",
value: {
type: "unit",
unit: "px",
- value: 14,
+ value: 3,
},
},
{
- property: "fontWeight",
+ property: "paddingLeft",
value: {
- type: "keyword",
- value: "normal",
+ type: "unit",
+ unit: "px",
+ value: 3,
},
},
{
property: "display",
value: {
type: "keyword",
- value: "flex",
+ value: "block",
},
},
],
- "w-file-upload-file": [
+ "w-file-upload-error-msg": [
{
- property: "backgroundColor",
+ property: "color",
value: {
type: "rgb",
alpha: 1,
- r: 250,
- g: 250,
- b: 250,
+ r: 234,
+ g: 56,
+ b: 76,
},
},
{
- property: "border",
+ property: "paddingTop",
value: {
- type: "unparsed",
- value: "1px solid #ccc",
+ type: "unit",
+ unit: "px",
+ value: 2,
},
},
{
- property: "flexGrow",
+ property: "paddingRight",
value: {
type: "unit",
unit: "number",
- value: 1,
+ value: 0,
},
},
{
- property: "justifyContent",
+ property: "paddingBottom",
value: {
- type: "keyword",
- value: "space-between",
+ type: "unit",
+ unit: "px",
+ value: 2,
},
},
{
- property: "margin",
+ property: "paddingLeft",
value: {
type: "unit",
unit: "number",
@@ -3156,45 +5404,63 @@ export default {
},
},
{
- property: "padding",
+ property: "display",
value: {
- type: "unparsed",
- value: "8px 9px 8px 11px",
+ type: "keyword",
+ value: "inline-block",
},
},
+ ],
+ "w-file-upload-info": [
{
- property: "display",
+ property: "paddingTop",
value: {
- type: "keyword",
- value: "flex",
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 12,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
- ],
- "w-file-upload-file-name": [
{
- property: "fontSize",
+ property: "paddingLeft",
value: {
type: "unit",
unit: "px",
- value: 14,
+ value: 12,
},
},
{
- property: "fontWeight",
+ property: "lineHeight",
value: {
- type: "keyword",
- value: "normal",
+ type: "unit",
+ unit: "px",
+ value: 38,
},
},
{
property: "display",
value: {
type: "keyword",
- value: "block",
+ value: "inline-block",
},
},
],
- "w-file-remove-link": [
+ "w-file-upload-label": [
{
property: "cursor",
value: {
@@ -3203,150 +5469,133 @@ export default {
},
},
{
- property: "width",
+ property: "backgroundColor",
value: {
- type: "keyword",
- value: "auto",
+ type: "rgb",
+ alpha: 1,
+ r: 250,
+ g: 250,
+ b: 250,
},
},
{
- property: "height",
+ property: "borderTopWidth",
value: {
- type: "keyword",
- value: "auto",
+ type: "unit",
+ unit: "px",
+ value: 1,
},
},
{
- property: "marginTop",
+ property: "borderRightWidth",
value: {
type: "unit",
unit: "px",
- value: 3,
+ value: 1,
},
},
{
- property: "marginLeft",
+ property: "borderBottomWidth",
value: {
type: "unit",
unit: "px",
- value: 10,
+ value: 1,
},
},
{
- property: "padding",
+ property: "borderLeftWidth",
value: {
type: "unit",
unit: "px",
- value: 3,
+ value: 1,
},
},
{
- property: "display",
+ property: "borderTopStyle",
value: {
type: "keyword",
- value: "block",
+ value: "solid",
},
},
- ],
- "w-file-upload-error-msg": [
{
- property: "color",
+ property: "borderRightStyle",
value: {
- type: "rgb",
- alpha: 1,
- r: 234,
- g: 56,
- b: 76,
+ type: "keyword",
+ value: "solid",
},
},
{
- property: "padding",
+ property: "borderBottomStyle",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 2,
- },
- {
- type: "unit",
- unit: "number",
- value: 0,
- },
- ],
+ type: "keyword",
+ value: "solid",
},
},
{
- property: "display",
+ property: "borderLeftStyle",
value: {
type: "keyword",
- value: "inline-block",
+ value: "solid",
},
},
- ],
- "w-file-upload-info": [
{
- property: "padding",
+ property: "borderTopColor",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "number",
- value: 0,
- },
- {
- type: "unit",
- unit: "px",
- value: 12,
- },
- ],
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
{
- property: "lineHeight",
+ property: "borderRightColor",
value: {
- type: "unit",
- unit: "px",
- value: 38,
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
{
- property: "display",
+ property: "borderBottomColor",
value: {
- type: "keyword",
- value: "inline-block",
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
- ],
- "w-file-upload-label": [
{
- property: "cursor",
+ property: "borderLeftColor",
value: {
- type: "keyword",
- value: "pointer",
+ type: "rgb",
+ alpha: 1,
+ r: 204,
+ g: 204,
+ b: 204,
},
},
{
- property: "backgroundColor",
+ property: "marginTop",
value: {
- type: "rgb",
- alpha: 1,
- r: 250,
- g: 250,
- b: 250,
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "border",
+ property: "marginRight",
value: {
- type: "unparsed",
- value: "1px solid #ccc",
+ type: "unit",
+ unit: "number",
+ value: 0,
},
},
{
- property: "margin",
+ property: "marginBottom",
value: {
type: "unit",
unit: "number",
@@ -3354,21 +5603,43 @@ export default {
},
},
{
- property: "padding",
+ property: "marginLeft",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 8,
- },
- {
- type: "unit",
- unit: "px",
- value: 12,
- },
- ],
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 8,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 12,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 8,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 12,
},
},
{
@@ -4251,7 +6522,23 @@ export default {
},
},
{
- property: "borderRadius",
+ property: "borderTopLeftRadius",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 3,
+ },
+ },
+ {
+ property: "borderTopRightRadius",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 3,
+ },
+ },
+ {
+ property: "borderBottomRightRadius",
value: {
type: "unit",
unit: "px",
@@ -4288,10 +6575,31 @@ export default {
},
},
{
- property: "border",
+ property: "borderTopStyle",
value: {
- type: "unparsed",
- value: "solid rgba(0,0,0,0)",
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
},
},
{
@@ -4326,7 +6634,7 @@ export default {
},
},
{
- property: "borderWidth",
+ property: "borderTopWidth",
value: {
type: "unit",
unit: "px",
@@ -4334,10 +6642,67 @@ export default {
},
},
{
- property: "borderColor",
+ property: "borderRightWidth",
value: {
- type: "unparsed",
- value: "#fff rgba(255,255,255,0) rgba(255,255,255,0)",
+ type: "unit",
+ unit: "px",
+ value: 4,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 4,
+ },
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 4,
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 255,
+ g: 255,
+ b: 255,
},
},
{
@@ -4361,29 +6726,53 @@ export default {
value: {
type: "unit",
unit: "px",
- value: 22,
+ value: 22,
+ },
+ },
+ {
+ property: "width",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 76,
+ },
+ },
+ ],
+ "w--large": [
+ {
+ property: "height",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 28,
+ },
+ },
+ {
+ property: "borderTopWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 5,
},
},
{
- property: "width",
+ property: "borderRightWidth",
value: {
type: "unit",
unit: "px",
- value: 76,
+ value: 5,
},
},
- ],
- "w--large": [
{
- property: "height",
+ property: "borderBottomWidth",
value: {
type: "unit",
unit: "px",
- value: 28,
+ value: 5,
},
},
{
- property: "borderWidth",
+ property: "borderLeftWidth",
value: {
type: "unit",
unit: "px",
@@ -4471,20 +6860,141 @@ export default {
},
},
{
- property: "border",
+ property: "borderTopWidth",
value: {
- type: "unparsed",
- value: "solid rgba(0,0,0,0)",
+ type: "keyword",
+ value: "initial",
},
state: ":after",
},
{
- property: "border",
+ property: "borderRightWidth",
value: {
- type: "unparsed",
- value: "solid rgba(0,0,0,0)",
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":after",
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":after",
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":after",
+ },
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ state: ":after",
+ },
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ state: ":after",
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ state: ":after",
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
},
},
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ state: ":after",
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ state: ":after",
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ state: ":after",
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ state: ":after",
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ state: ":after",
+ },
{
property: "width",
value: {
@@ -4561,7 +7071,7 @@ export default {
},
},
{
- property: "borderWidth",
+ property: "borderTopWidth",
value: {
type: "unit",
unit: "px",
@@ -4569,10 +7079,67 @@ export default {
},
},
{
- property: "borderColor",
+ property: "borderRightWidth",
value: {
- type: "unparsed",
- value: "#fff rgba(255,255,255,0) rgba(255,255,255,0)",
+ type: "unit",
+ unit: "px",
+ value: 4,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 4,
+ },
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 4,
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "rgb",
+ alpha: 1,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 255,
+ g: 255,
+ b: 255,
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 0,
+ r: 255,
+ g: 255,
+ b: 255,
},
},
{
@@ -4638,7 +7205,31 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingLeft",
value: {
type: "unit",
unit: "number",
@@ -4883,18 +7474,31 @@ export default {
},
},
{
- property: "margin",
+ property: "marginTop",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "auto",
},
},
{
- property: "paddingTop",
+ property: "marginRight",
value: {
- type: "unit",
- unit: "px",
- value: 10,
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "keyword",
+ value: "auto",
},
},
{
@@ -4936,7 +7540,23 @@ export default {
},
},
{
- property: "borderRadius",
+ property: "borderTopLeftRadius",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 100,
+ },
+ },
+ {
+ property: "borderTopRightRadius",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 100,
+ },
+ },
+ {
+ property: "borderBottomRightRadius",
value: {
type: "unit",
unit: "%",
@@ -4965,28 +7585,42 @@ export default {
},
},
{
- property: "height",
+ property: "height",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 0.2,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 0.5,
+ },
+ },
+ {
+ property: "paddingBottom",
value: {
- type: "keyword",
- value: "auto",
+ type: "unit",
+ unit: "em",
+ value: 0.2,
},
},
{
- property: "padding",
+ property: "paddingLeft",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "em",
- value: 0.2,
- },
- {
- type: "unit",
- unit: "em",
- value: 0.5,
- },
- ],
+ type: "unit",
+ unit: "em",
+ value: 0.5,
},
},
{
@@ -5053,10 +7687,35 @@ export default {
},
},
{
- property: "margin",
+ property: "marginTop",
value: {
- type: "unparsed",
- value: "0 3px 0.5em",
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 3,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 0.5,
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 3,
},
},
{
@@ -5120,10 +7779,26 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
},
state: ":focus",
},
@@ -5201,10 +7876,31 @@ export default {
},
},
{
- property: "margin",
+ property: "marginTop",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginRight",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "keyword",
+ value: "auto",
},
},
{
@@ -5254,7 +7950,7 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
@@ -5262,6 +7958,22 @@ export default {
},
state: ":focus",
},
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
{
property: "zIndex",
value: {
@@ -5343,10 +8055,31 @@ export default {
},
},
{
- property: "margin",
+ property: "marginTop",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "keyword",
+ value: "auto",
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "keyword",
+ value: "auto",
},
},
{
@@ -5396,13 +8129,27 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
value: 0,
},
},
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
{
property: "zIndex",
value: {
@@ -5421,46 +8168,174 @@ export default {
],
"w-slider-aria-label": [
{
- property: "clip",
+ property: "clip",
+ value: {
+ type: "unparsed",
+ value: "rect(0 0 0 0)",
+ },
+ },
+ {
+ property: "borderTopWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderRightWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "width",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 1,
+ },
+ },
+ {
+ property: "height",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 1,
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: -1,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: -1,
+ },
+ },
+ {
+ property: "marginBottom",
value: {
- type: "unparsed",
- value: "rect(0 0 0 0)",
+ type: "unit",
+ unit: "px",
+ value: -1,
},
},
{
- property: "border",
+ property: "marginLeft",
value: {
type: "unit",
- unit: "number",
- value: 0,
+ unit: "px",
+ value: -1,
},
},
{
- property: "width",
+ property: "paddingTop",
value: {
type: "unit",
- unit: "px",
- value: 1,
+ unit: "number",
+ value: 0,
},
},
{
- property: "height",
+ property: "paddingRight",
value: {
type: "unit",
- unit: "px",
- value: 1,
+ unit: "number",
+ value: 0,
},
},
{
- property: "margin",
+ property: "paddingBottom",
value: {
type: "unit",
- unit: "px",
- value: -1,
+ unit: "number",
+ value: 0,
},
},
{
- property: "padding",
+ property: "paddingLeft",
value: {
type: "unit",
unit: "number",
@@ -5583,7 +8458,15 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingRight",
value: {
type: "unit",
unit: "px",
@@ -5591,10 +8474,40 @@ export default {
},
},
{
- property: "textDecoration",
+ property: "paddingBottom",
value: {
- type: "invalid",
- value: "",
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "textDecorationLine",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "textDecorationStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "textDecorationColor",
+ value: {
+ type: "keyword",
+ value: "initial",
},
},
{
@@ -5652,7 +8565,7 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
value: {
type: "unit",
unit: "px",
@@ -5660,10 +8573,40 @@ export default {
},
},
{
- property: "textDecoration",
+ property: "paddingBottom",
value: {
- type: "invalid",
- value: "",
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "textDecorationLine",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "textDecorationStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "textDecorationColor",
+ value: {
+ type: "keyword",
+ value: "initial",
},
},
{
@@ -5717,7 +8660,7 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
@@ -5725,6 +8668,22 @@ export default {
},
state: ":focus",
},
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
],
"w-dropdown-link": [
{
@@ -5763,10 +8722,24 @@ export default {
},
},
{
- property: "textDecoration",
+ property: "textDecorationLine",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "textDecorationStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "textDecorationColor",
+ value: {
+ type: "keyword",
+ value: "initial",
},
},
{
@@ -5777,21 +8750,35 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 10,
- },
- {
- type: "unit",
- unit: "px",
- value: 20,
- },
- ],
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
},
},
{
@@ -5812,7 +8799,7 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
@@ -5820,6 +8807,22 @@ export default {
},
state: ":focus",
},
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
],
"w-dropdown-list": [
{
@@ -5932,10 +8935,24 @@ export default {
},
},
{
- property: "textDecoration",
+ property: "textDecorationLine",
value: {
- type: "invalid",
- value: "",
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "textDecorationStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "textDecorationColor",
+ value: {
+ type: "keyword",
+ value: "initial",
},
},
{
@@ -6098,13 +9115,27 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
value: 0,
},
},
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
{
property: "fontFamily",
value: {
@@ -6367,7 +9398,31 @@ export default {
],
"w-lightbox-figure": [
{
- property: "margin",
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginRight",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "marginLeft",
value: {
type: "unit",
unit: "number",
@@ -6467,31 +9522,45 @@ export default {
},
},
{
- property: "backgroundColor",
+ property: "backgroundColor",
+ value: {
+ type: "rgb",
+ alpha: 0.4,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 0.5,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "em",
+ value: 1,
+ },
+ },
+ {
+ property: "paddingBottom",
value: {
- type: "rgb",
- alpha: 0.4,
- r: 0,
- g: 0,
- b: 0,
+ type: "unit",
+ unit: "em",
+ value: 0.5,
},
},
{
- property: "padding",
+ property: "paddingLeft",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "em",
- value: 0.5,
- },
- {
- type: "unit",
- unit: "em",
- value: 1,
- },
- ],
+ type: "unit",
+ unit: "em",
+ value: 1,
},
},
{
@@ -6808,21 +9877,35 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "number",
- value: 0,
- },
- {
- type: "unit",
- unit: "vh",
- value: 1,
- },
- ],
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "vh",
+ value: 1,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "number",
+ value: 0,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "vh",
+ value: 1,
},
},
{
@@ -6903,21 +9986,35 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "vh",
- value: 2,
- },
- {
- type: "unit",
- unit: "vh",
- value: 1,
- },
- ],
+ type: "unit",
+ unit: "vh",
+ value: 2,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "vh",
+ value: 1,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "vh",
+ value: 2,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "vh",
+ value: 1,
},
},
{
@@ -7006,109 +10103,311 @@ export default {
property: "left",
value: {
type: "unit",
- unit: "number",
- value: 0,
+ unit: "number",
+ value: 0,
+ },
+ },
+ ],
+ "w-lightbox-spinner": [
+ {
+ property: "boxSizing",
+ value: {
+ type: "keyword",
+ value: "border-box",
+ },
+ },
+ {
+ property: "borderTopWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 5,
+ },
+ },
+ {
+ property: "borderRightWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 5,
+ },
+ },
+ {
+ property: "borderBottomWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 5,
+ },
+ },
+ {
+ property: "borderLeftWidth",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 5,
+ },
+ },
+ {
+ property: "borderTopStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderRightStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderBottomStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderLeftStyle",
+ value: {
+ type: "keyword",
+ value: "solid",
+ },
+ },
+ {
+ property: "borderTopColor",
+ value: {
+ type: "rgb",
+ alpha: 0.4,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "borderRightColor",
+ value: {
+ type: "rgb",
+ alpha: 0.4,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "borderBottomColor",
+ value: {
+ type: "rgb",
+ alpha: 0.4,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "borderLeftColor",
+ value: {
+ type: "rgb",
+ alpha: 0.4,
+ r: 0,
+ g: 0,
+ b: 0,
+ },
+ },
+ {
+ property: "borderTopLeftRadius",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 50,
+ },
+ },
+ {
+ property: "borderTopRightRadius",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 50,
+ },
+ },
+ {
+ property: "borderBottomRightRadius",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 50,
+ },
+ },
+ {
+ property: "width",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 40,
+ },
+ },
+ {
+ property: "height",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 40,
+ },
+ },
+ {
+ property: "marginTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: -20,
+ },
+ },
+ {
+ property: "marginLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: -20,
+ },
+ },
+ {
+ property: "animation",
+ value: {
+ type: "unparsed",
+ value: "0.8s linear infinite spin",
+ },
+ },
+ {
+ property: "position",
+ value: {
+ type: "keyword",
+ value: "absolute",
+ },
+ },
+ {
+ property: "top",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 50,
},
},
- ],
- "w-lightbox-spinner": [
{
- property: "boxSizing",
+ property: "left",
value: {
- type: "keyword",
- value: "border-box",
+ type: "unit",
+ unit: "%",
+ value: 50,
},
},
{
- property: "border",
+ property: "content",
value: {
type: "unparsed",
- value: "5px solid rgba(0,0,0,0.4)",
+ value: '""',
},
+ state: ":after",
},
{
- property: "borderRadius",
+ property: "borderTopWidth",
value: {
type: "unit",
- unit: "%",
- value: 50,
+ unit: "px",
+ value: 3,
},
+ state: ":after",
},
{
- property: "width",
+ property: "borderRightWidth",
value: {
type: "unit",
unit: "px",
- value: 40,
+ value: 3,
},
+ state: ":after",
},
{
- property: "height",
+ property: "borderBottomWidth",
value: {
type: "unit",
unit: "px",
- value: 40,
+ value: 3,
},
+ state: ":after",
},
{
- property: "marginTop",
+ property: "borderLeftWidth",
value: {
type: "unit",
unit: "px",
- value: -20,
+ value: 3,
},
+ state: ":after",
},
{
- property: "marginLeft",
+ property: "borderTopStyle",
value: {
- type: "unit",
- unit: "px",
- value: -20,
+ type: "keyword",
+ value: "solid",
},
+ state: ":after",
},
{
- property: "animation",
+ property: "borderRightStyle",
value: {
- type: "unparsed",
- value: "0.8s linear infinite spin",
+ type: "keyword",
+ value: "solid",
},
+ state: ":after",
},
{
- property: "position",
+ property: "borderBottomStyle",
value: {
type: "keyword",
- value: "absolute",
+ value: "solid",
},
+ state: ":after",
},
{
- property: "top",
+ property: "borderLeftStyle",
value: {
- type: "unit",
- unit: "%",
- value: 50,
+ type: "keyword",
+ value: "solid",
},
+ state: ":after",
},
{
- property: "left",
+ property: "borderTopColor",
value: {
- type: "unit",
- unit: "%",
- value: 50,
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
},
+ state: ":after",
},
{
- property: "content",
+ property: "borderRightColor",
value: {
- type: "unparsed",
- value: '""',
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
},
state: ":after",
},
{
- property: "border",
+ property: "borderLeftColor",
value: {
- type: "unparsed",
- value: "3px solid rgba(0,0,0,0)",
+ type: "rgb",
+ alpha: 0,
+ r: 0,
+ g: 0,
+ b: 0,
},
state: ":after",
},
@@ -7124,7 +10423,25 @@ export default {
state: ":after",
},
{
- property: "borderRadius",
+ property: "borderTopLeftRadius",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 50,
+ },
+ state: ":after",
+ },
+ {
+ property: "borderTopRightRadius",
+ value: {
+ type: "unit",
+ unit: "%",
+ value: 50,
+ },
+ state: ":after",
+ },
+ {
+ property: "borderBottomRightRadius",
value: {
type: "unit",
unit: "%",
@@ -7613,7 +10930,7 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
value: {
type: "unit",
unit: "px",
@@ -7621,10 +10938,48 @@ export default {
},
},
{
- property: "textDecoration",
+ property: "paddingRight",
value: {
- type: "invalid",
- value: "",
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 20,
+ },
+ },
+ {
+ property: "textDecorationLine",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "textDecorationStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "textDecorationColor",
+ value: {
+ type: "keyword",
+ value: "initial",
},
},
{
@@ -7793,7 +11148,31 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 18,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 18,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 18,
+ },
+ },
+ {
+ property: "paddingLeft",
value: {
type: "unit",
unit: "px",
@@ -7823,7 +11202,7 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
@@ -7831,6 +11210,22 @@ export default {
},
state: ":focus",
},
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
{
property: "color",
value: {
@@ -7986,28 +11381,56 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
value: {
- type: "tuple",
- value: [
- {
- type: "unit",
- unit: "px",
- value: 9,
- },
- {
- type: "unit",
- unit: "px",
- value: 30,
- },
- ],
+ type: "unit",
+ unit: "px",
+ value: 9,
},
},
{
- property: "textDecoration",
+ property: "paddingRight",
value: {
- type: "invalid",
- value: "",
+ type: "unit",
+ unit: "px",
+ value: 30,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 9,
+ },
+ },
+ {
+ property: "paddingLeft",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 30,
+ },
+ },
+ {
+ property: "textDecorationLine",
+ value: {
+ type: "keyword",
+ value: "none",
+ },
+ },
+ {
+ property: "textDecorationStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ },
+ {
+ property: "textDecorationColor",
+ value: {
+ type: "keyword",
+ value: "initial",
},
},
{
@@ -8028,7 +11451,7 @@ export default {
},
},
{
- property: "outline",
+ property: "outlineWidth",
value: {
type: "unit",
unit: "number",
@@ -8036,6 +11459,22 @@ export default {
},
state: ":focus",
},
+ {
+ property: "outlineStyle",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
+ {
+ property: "outlineColor",
+ value: {
+ type: "keyword",
+ value: "initial",
+ },
+ state: ":focus",
+ },
{
property: "display",
value: {
@@ -8114,7 +11553,31 @@ export default {
},
},
{
- property: "padding",
+ property: "paddingTop",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingRight",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingBottom",
+ value: {
+ type: "unit",
+ unit: "px",
+ value: 10,
+ },
+ },
+ {
+ property: "paddingLeft",
value: {
type: "unit",
unit: "px",
diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.ts b/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.ts
index fa2ce862cd..60c5d8f8f3 100644
--- a/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.ts
+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.ts
@@ -982,6 +982,205 @@ test("CodeBlock", async () => {
]);
});
+test("RichText", async () => {
+ const fragment = await toWebstudioFragment({
+ type: "@webflow/XscpData",
+ payload: {
+ nodes: [
+ {
+ _id: "58c7368a-83e4-a9c2-e1c9-7244f0473095",
+ type: "RichText",
+ tag: "div",
+ classes: [],
+ children: [
+ "363e1f05-6da0-65bc-baeb-2a4d6eec67ba",
+ "2bf568d0-971f-5925-e6dd-0dd1cc2bc521",
+ ],
+ },
+ {
+ _id: "363e1f05-6da0-65bc-baeb-2a4d6eec67ba",
+ type: "Heading",
+ tag: "h1",
+ classes: [],
+ children: ["6fe8587d-c2d7-b346-cdef-9e29bb6efd50"],
+ },
+ {
+ _id: "6fe8587d-c2d7-b346-cdef-9e29bb6efd50",
+ text: true,
+ v: "Heading 1",
+ },
+ {
+ _id: "2bf568d0-971f-5925-e6dd-0dd1cc2bc521",
+ type: "Paragraph",
+ tag: "p",
+ classes: [],
+ children: [
+ "2a2d8880-03e0-ee0a-cec1-416751acb3e5",
+ "14d2b6a0-e2f6-94dd-b593-9d546eee84bf",
+ "e9ce86ec-be82-769e-82fb-247480c8d6ba",
+ "6c795406-de48-6d53-7d1c-d0ec4756e9d9",
+ "528588c5-3733-e1c3-136a-baaf24fcba33",
+ "95183c77-8fe7-d0ea-9685-b930608dc373",
+ "0f25b98b-6549-5d4e-5e11-7e56558b21e1",
+ ],
+ },
+ {
+ _id: "2a2d8880-03e0-ee0a-cec1-416751acb3e5",
+ text: true,
+ v: "Lorem ",
+ },
+ {
+ _id: "14d2b6a0-e2f6-94dd-b593-9d546eee84bf",
+ type: "Link",
+ tag: "a",
+ classes: [],
+ children: ["67af720f-cc2b-567e-d3df-05feef3870ce"],
+ data: {
+ button: false,
+ block: "",
+ link: {
+ url: "http://google.com",
+ },
+ },
+ },
+ {
+ _id: "67af720f-cc2b-567e-d3df-05feef3870ce",
+ type: "Emphasized",
+ tag: "em",
+ classes: [],
+ children: ["db8be0af-8c03-0785-3b84-f9ae7f4418f5"],
+ },
+ {
+ _id: "db8be0af-8c03-0785-3b84-f9ae7f4418f5",
+ text: true,
+ v: "ipsum",
+ },
+ {
+ _id: "e9ce86ec-be82-769e-82fb-247480c8d6ba",
+ text: true,
+ v: " dolor sit ",
+ },
+ {
+ _id: "528588c5-3733-e1c3-136a-baaf24fcba33",
+ text: true,
+ v: ", ",
+ },
+ {
+ _id: "95183c77-8fe7-d0ea-9685-b930608dc373",
+ type: "Strong",
+ tag: "strong",
+ classes: [],
+ children: ["e5bbc823-9dad-bfb7-d448-2e4d9af0be84"],
+ },
+ {
+ _id: "e5bbc823-9dad-bfb7-d448-2e4d9af0be84",
+ text: true,
+ v: "consectetur",
+ },
+ {
+ _id: "0f25b98b-6549-5d4e-5e11-7e56558b21e1",
+ text: true,
+ v: " ",
+ },
+ ],
+ styles: [],
+ },
+ });
+
+ expect(fragment.instances).toEqual([
+ {
+ id: expect.any(String),
+ type: "instance",
+ component: "Heading",
+ children: [
+ {
+ type: "text",
+ value: "Heading 1",
+ },
+ ],
+ },
+ {
+ id: expect.any(String),
+ type: "instance",
+ component: "Italic",
+ children: [
+ {
+ type: "text",
+ value: "ipsum",
+ },
+ ],
+ },
+ {
+ id: expect.any(String),
+ type: "instance",
+ component: "Link",
+ children: [
+ {
+ type: "id",
+ value: expect.any(String),
+ },
+ ],
+ },
+ {
+ id: expect.any(String),
+ type: "instance",
+ component: "Bold",
+ children: [
+ {
+ type: "text",
+ value: "consectetur",
+ },
+ ],
+ },
+ {
+ id: expect.any(String),
+ type: "instance",
+ component: "Paragraph",
+ children: [
+ {
+ type: "text",
+ value: "Lorem ",
+ },
+ {
+ type: "id",
+ value: expect.any(String),
+ },
+ {
+ type: "text",
+ value: " dolor sit ",
+ },
+ {
+ type: "text",
+ value: ", ",
+ },
+ {
+ type: "id",
+ value: expect.any(String),
+ },
+ {
+ type: "text",
+ value: " ",
+ },
+ ],
+ },
+ {
+ id: expect.any(String),
+ type: "instance",
+ component: "Box",
+ children: [
+ {
+ type: "id",
+ value: expect.any(String),
+ },
+ {
+ type: "id",
+ value: expect.any(String),
+ },
+ ],
+ },
+ ]);
+});
+
describe("Custom attributes", () => {
test("Basic", async () => {
const fragment = await toWebstudioFragment({
@@ -1073,7 +1272,8 @@ describe("Styles", () => {
expect(toCss(fragment)).toMatchInlineSnapshot(`
"@media all {
h1 {
- margin: 0.67em 0;
+ margin-right: 0;
+ margin-left: 0;
margin-bottom: 10px;
font-weight: bold;
margin-top: 20px;
@@ -1156,7 +1356,9 @@ describe("Styles", () => {
"@media all {
a {
background-color: rgba(0, 0, 0, 0);
- outline: 0
+ outline-width: 0;
+ outline-style: initial;
+ outline-color: initial
}
button {
text-align: center
diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.ts b/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.ts
index a05fd66062..190c24013b 100644
--- a/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.ts
+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.ts
@@ -11,9 +11,10 @@ import {
$selectedPage,
} from "../../nano-states";
import { isFeatureEnabled } from "@webstudio-is/feature-flags";
-import { WfData, WfNode, WfStyle } from "./schema";
+import { WfData, WfNode, WfStyle, wfNodeTypes } from "./schema";
import { addInstanceAndProperties } from "./instances-properties";
import { addStyles } from "./styles";
+import { toast } from "@webstudio-is/design-system";
export const mimeType = "application/json";
@@ -63,16 +64,41 @@ const toWebstudioFragment = async (wfData: WfData) => {
};
const parse = (clipboardData: string) => {
+ let data;
try {
- const data = JSON.parse(clipboardData);
- const result = WfData.safeParse(data);
- if (result.success) {
- return result.data;
- }
- throw result.error.message;
- } catch (error) {
- console.error(error);
+ data = JSON.parse(clipboardData);
+ } catch {
+ return;
+ }
+
+ if (data.type !== "@webflow/XscpData") {
+ return;
+ }
+
+ const unsupportedNodeTypes: Array<string> = data.payload.nodes
+ .filter((node: { type: string }) => {
+ return (
+ node.type !== undefined &&
+ wfNodeTypes.includes(node.type as (typeof wfNodeTypes)[number]) ===
+ false
+ );
+ })
+ .map((node: { type: string }) => node.type);
+
+ if (unsupportedNodeTypes.length !== 0) {
+ const message = `Skipping unsupported nodes: ${unsupportedNodeTypes.join(", ")}`;
+ toast.info(message);
+ console.info(message);
}
+
+ const result = WfData.safeParse(data);
+
+ if (result.success) {
+ return result.data;
+ }
+
+ toast.error(result.error.message);
+ console.error(result.error.message);
};
export const onPaste = async (clipboardData: string) => {
diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts b/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts
index fb0a9fd16b..1f982642e8 100644
--- a/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts
+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts
@@ -18,6 +18,33 @@ const WfTextNode = z.object({
text: z.boolean(),
});
+export const wfNodeTypes = [
+ "Heading",
+ "Block",
+ "List",
+ "ListItem",
+ "Link",
+ "Paragraph",
+ "Blockquote",
+ "RichText",
+ "Strong",
+ "Emphasized",
+ "Superscript",
+ "Subscript",
+ "Section",
+ "BlockContainer",
+ "Layout",
+ "Cell",
+ "VFlex",
+ "HFlex",
+ "Grid",
+ "Row",
+ "Column",
+ "CodeBlock",
+ "HtmlEmbed",
+ "Image",
+] as const;
+
export const WfElementNode = z.union([
WfBaseNode.extend({ type: z.enum(["Heading"]) }),
WfBaseNode.extend({
@@ -29,6 +56,8 @@ export const WfElementNode = z.union([
WfBaseNode.extend({
type: z.enum(["Link"]),
data: WfNodeData.extend({
+ block: z.enum(["inline", "block", ""]).optional(),
+ button: z.boolean().optional(),
link: z.object({
url: z.string(),
target: z.string().optional(),
@@ -76,8 +105,11 @@ export const WfElementNode = z.union([
}),
}),
]);
+
export type WfElementNode = z.infer<typeof WfElementNode>;
+[...wfNodeTypes] as const satisfies WfElementNode["type"][];
+
export const WfNode = z.union([WfElementNode, WfTextNode]);
export type WfNode = z.infer<typeof WfNode>;
diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/styles.ts b/apps/builder/app/shared/copy-paste/plugin-webflow/styles.ts
index 1115c99747..ead4e452d1 100644
--- a/apps/builder/app/shared/copy-paste/plugin-webflow/styles.ts
+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/styles.ts
@@ -1,11 +1,13 @@
import type { Instance, WebstudioFragment } from "@webstudio-is/sdk";
-import type { WfNode, WfStyle } from "./schema";
+import type { WfElementNode, WfNode, WfStyle } from "./schema";
import { nanoid } from "nanoid";
import { $breakpoints } from "~/shared/nano-states";
import { isBaseBreakpoint } from "~/shared/breakpoints";
import { parseCss } from "@webstudio-is/css-data";
// @todo this should be moved
import type { EmbedTemplateStyleDecl } from "@webstudio-is/react-sdk";
+import { toast } from "@webstudio-is/design-system";
+import { kebabCase } from "change-case";
const addNodeStyles = (
name: string,
@@ -46,11 +48,57 @@ const addNodeStyles = (
state: style.state,
});
if (style.value.type === "invalid") {
- console.error("Invalid style value", style);
+ const error = `Invalid style value: "${kebabCase(style.property)}: ${style.value.value}"`;
+ toast.error(error);
+ console.error(error);
}
}
};
+const mapComponentAndPresetStyles = (wfNode: WfElementNode) => {
+ const component = wfNode.type;
+ const presetStyles = [wfNode.tag];
+
+ switch (component) {
+ case "Link": {
+ const data = wfNode.data;
+ if (data.button) {
+ presetStyles.push("w-button");
+ }
+ if (data.block === "inline") {
+ presetStyles.push("w-inline-block");
+ }
+ return presetStyles;
+ }
+ case "CodeBlock": {
+ presetStyles.push("w-code-block");
+ return presetStyles;
+ }
+ case "HtmlEmbed": {
+ presetStyles.push("w-embed");
+ return presetStyles;
+ }
+ //case "Form": {
+ // presetStyles.push("w-form");
+ // return presetStyles;
+ //}
+ case "BlockContainer": {
+ presetStyles.push("w-container");
+ return presetStyles;
+ }
+ case "Row": {
+ presetStyles.push("w-row");
+ return presetStyles;
+ }
+ case "Column": {
+ presetStyles.push("w-col");
+ return presetStyles;
+ }
+ }
+
+ return presetStyles;
+};
+
export const addStyles = async (
wfNodes: Map<WfNode["_id"], WfNode>,
wfStyles: Map<WfStyle["_id"], WfStyle>,
@@ -69,16 +117,24 @@ export const addStyles = async (
continue;
}
- const styles = presets[
- wfNode.tag as keyof typeof presets
- ] as Array<EmbedTemplateStyleDecl>;
- if (styles) {
- addNodeStyles(wfNode.tag, styles, instanceId, fragment);
- }
+ mapComponentAndPresetStyles(wfNode).forEach((name) => {
+ const styles = presets[
+ name as keyof typeof presets
+ ] as Array<EmbedTemplateStyleDecl>;
+ if (styles) {
+ addNodeStyles(name, styles, instanceId, fragment);
+ }
+ });
+
const instance = fragment.instances.find(
(instance) => instance.id === instanceId
);
+ if (instance === undefined) {
+ console.error(`No instance found for ${instanceId}`);
+ continue;
+ }
+
for (const classId of wfNode.classes) {
const style = wfStyles.get(classId);
if (style === undefined) {
diff --git a/packages/css-data/src/parse-css.test.ts b/packages/css-data/src/parse-css.test.ts
index ac4a3444fd..0c626112da 100644
--- a/packages/css-data/src/parse-css.test.ts
+++ b/packages/css-data/src/parse-css.test.ts
@@ -73,19 +73,6 @@ describe("Parse CSS", () => {
`);
});
- test("parses unsupported shorthand values", () => {
- expect(parseCss(`.test { padding: 4px }`).test?.[0]).toMatchInlineSnapshot(`
- {
- "property": "padding",
- "value": {
- "type": "unit",
- "unit": "px",
- "value": 4,
- },
- }
- `);
- });
-
test("parse state", () => {
expect(parseCss(`a:hover { color: #ff0000 }`)).toMatchInlineSnapshot(`
{
@@ -199,7 +186,7 @@ describe("Parse CSS", () => {
test("parse multiple rules, remove overwritten properties", () => {
const css = `
h1 {
- margin: 0.67em 0;
+ margin-bottom: 5px;
font-size: 2em;
}
h1 {
@@ -216,24 +203,6 @@ describe("Parse CSS", () => {
expect(parseCss(css)).toMatchInlineSnapshot(`
{
"h1": [
- {
- "property": "margin",
- "value": {
- "type": "tuple",
- "value": [
- {
- "type": "unit",
- "unit": "em",
- "value": 0.67,
- },
- {
- "type": "unit",
- "unit": "number",
- "value": 0,
- },
- ],
- },
- },
{
"property": "marginBottom",
"value": {
@@ -278,6 +247,103 @@ describe("Parse CSS", () => {
`);
});
+ test("parse shorthand", () => {
+ expect(parseCss(`a { border: 1px solid red }`)).toMatchInlineSnapshot(`
+ {
+ "a": [
+ {
+ "property": "borderTopWidth",
+ "value": {
+ "type": "unit",
+ "unit": "px",
+ "value": 1,
+ },
+ },
+ {
+ "property": "borderRightWidth",
+ "value": {
+ "type": "unit",
+ "unit": "px",
+ "value": 1,
+ },
+ },
+ {
+ "property": "borderBottomWidth",
+ "value": {
+ "type": "unit",
+ "unit": "px",
+ "value": 1,
+ },
+ },
+ {
+ "property": "borderLeftWidth",
+ "value": {
+ "type": "unit",
+ "unit": "px",
+ "value": 1,
+ },
+ },
+ {
+ "property": "borderTopStyle",
+ "value": {
+ "type": "keyword",
+ "value": "solid",
+ },
+ },
+ {
+ "property": "borderRightStyle",
+ "value": {
+ "type": "keyword",
+ "value": "solid",
+ },
+ },
+ {
+ "property": "borderBottomStyle",
+ "value": {
+ "type": "keyword",
+ "value": "solid",
+ },
+ },
+ {
+ "property": "borderLeftStyle",
+ "value": {
+ "type": "keyword",
+ "value": "solid",
+ },
+ },
+ {
+ "property": "borderTopColor",
+ "value": {
+ "type": "keyword",
+ "value": "red",
+ },
+ },
+ {
+ "property": "borderRightColor",
+ "value": {
+ "type": "keyword",
+ "value": "red",
+ },
+ },
+ {
+ "property": "borderBottomColor",
+ "value": {
+ "type": "keyword",
+ "value": "red",
+ },
+ },
+ {
+ "property": "borderLeftColor",
+ "value": {
+ "type": "keyword",
+ "value": "red",
+ },
+ },
+ ],
+ }
+ `);
+ });
+
test("parse child combinator", () => {
expect(parseCss(`a > b { color: #ff0000 }`)).toMatchInlineSnapshot(`{}`);
});
diff --git a/packages/css-data/src/parse-css.ts b/packages/css-data/src/parse-css.ts
index b556b3b0cf..3dbe573e93 100644
--- a/packages/css-data/src/parse-css.ts
+++ b/packages/css-data/src/parse-css.ts
@@ -1,14 +1,11 @@
import * as csstree from "css-tree";
-import {
- StyleValue,
- type Style as S,
- type StyleProperty,
-} from "@webstudio-is/css-engine";
+import { StyleValue, type StyleProperty } from "@webstudio-is/css-engine";
import type { EmbedTemplateStyleDecl } from "@webstudio-is/react-sdk";
import { parseCssValue as parseCssValueLonghand } from "./parse-css-value";
import * as parsers from "./property-parsers/parsers";
import * as toLonghand from "./property-parsers/to-longhand";
import { camelCase } from "change-case";
+import { expandShorthands } from "./shorthands";
type Selector = string;
@@ -19,13 +16,13 @@ type Longhand = keyof typeof toLonghand;
const parseCssValue = (
property: Longhand | StyleProperty,
value: string
-): S => {
+): Map<StyleProperty, StyleValue> => {
const unwrap = toLonghand[property as Longhand];
if (typeof unwrap === "function") {
const longhands = unwrap(value);
- return Object.fromEntries(
+ return new Map(
Object.entries(longhands).map(([property, value]) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore @todo remove this ignore: property is a `keyof typeof longhands` which is a key in parsers but TS can't infer the link
@@ -54,12 +51,18 @@ const parseCssValue = (
parseCssValueLonghand(property as StyleProperty, value),
];
})
- );
+ ) as Map<StyleProperty, StyleValue>;
}
- return {
- [property]: parseCssValueLonghand(property as StyleProperty, value),
- };
+ const expanded = new Map(expandShorthands([[property, value]]));
+ const final = new Map();
+ for (const [property, value] of expanded) {
+ final.set(
+ property,
+ parseCssValueLonghand(property as StyleProperty, value)
+ );
+ }
+ return final;
};
const cssTreeTryParse = (input: string) => {
@@ -118,39 +121,39 @@ export const parseCss = (css: string) => {
stringValue
);
- (Object.entries(parsedCss) as [StyleProperty, StyleValue][]).forEach(
- ([property, value]) => {
- try {
- StyleValue.parse(value);
- property = camelCase(property) as StyleProperty;
- selectors.forEach((selector, index) => {
- let declarations = styles[selector];
- if (declarations === undefined) {
- declarations = styles[selector] = [];
- }
- const styleDecl: EmbedTemplateStyleDecl = { property, value };
- const statesArray = states.get(selector) ?? [];
- if (statesArray[index]) {
- styleDecl.state = statesArray[index];
- }
-
- // Checks if there is already a prorperty that is exactly the same and will be overwritten,
- // so we may as well remove it from the data.
- const existingIndex = declarations.findIndex(
- (decl) =>
- decl.property === styleDecl.property &&
- decl.state === styleDecl.state
- );
- if (existingIndex !== -1) {
- declarations.splice(existingIndex, 1);
- }
- declarations.push(styleDecl);
- });
- } catch (error) {
- console.error("Bad CSS declaration", error, parsedCss);
- }
+ for (const [property, value] of parsedCss) {
+ try {
+ StyleValue.parse(value);
+ selectors.forEach((selector, index) => {
+ let declarations = styles[selector];
+ if (declarations === undefined) {
+ declarations = styles[selector] = [];
+ }
+ const styleDecl: EmbedTemplateStyleDecl = {
+ property: camelCase(property) as StyleProperty,
+ value,
+ };
+ const statesArray = states.get(selector) ?? [];
+ if (statesArray[index]) {
+ styleDecl.state = statesArray[index];
+ }
+
+ // Checks if there is already a prorperty that is exactly the same and will be overwritten,
+ // so we may as well remove it from the data.
+ const existingIndex = declarations.findIndex(
+ (decl) =>
+ decl.property === styleDecl.property &&
+ decl.state === styleDecl.state
+ );
+ if (existingIndex !== -1) {
+ declarations.splice(existingIndex, 1);
+ }
+ declarations.push(styleDecl);
+ });
+ } catch (error) {
+ console.error("Bad CSS declaration", error, parsedCss);
}
- );
+ }
}
});
diff --git a/packages/css-data/src/property-parsers/background.ts b/packages/css-data/src/property-parsers/background.ts
index d65b69acfc..64f98cd1fa 100644
--- a/packages/css-data/src/property-parsers/background.ts
+++ b/packages/css-data/src/property-parsers/background.ts
@@ -15,7 +15,7 @@ export const gradientNames = [
"repeating-linear-gradient",
"repeating-radial-gradient",
];
-
+// @todo rewrite to return a Map
export const parseBackground = (
background: string
): {