|
|
@@ -10,6 +10,98 @@
|
|
|
"text-subtitle-2-font-weight": "400"
|
|
|
},
|
|
|
"components": {
|
|
|
+ "Avatar": {
|
|
|
+ "meta": {
|
|
|
+ "scope": "all",
|
|
|
+ "parameters": {
|
|
|
+ "roundCoefficient": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "width": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "height": {
|
|
|
+ "type": "number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "appearances": {
|
|
|
+ "default": {
|
|
|
+ "default": true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "variantGroups": {
|
|
|
+ "shape": {
|
|
|
+ "round": {
|
|
|
+ "default": true
|
|
|
+ },
|
|
|
+ "rounded": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "square": {
|
|
|
+ "default": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "size": {
|
|
|
+ "tiny": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "small": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "medium": {
|
|
|
+ "default": true
|
|
|
+ },
|
|
|
+ "large": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "giant": {
|
|
|
+ "default": false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "states": {}
|
|
|
+ },
|
|
|
+ "appearances": {
|
|
|
+ "default": {
|
|
|
+ "mapping": {},
|
|
|
+ "variantGroups": {
|
|
|
+ "shape": {
|
|
|
+ "round": {
|
|
|
+ "roundCoefficient": 0.5
|
|
|
+ },
|
|
|
+ "rounded": {
|
|
|
+ "roundCoefficient": 0.03
|
|
|
+ },
|
|
|
+ "square": {
|
|
|
+ "roundCoefficient": 0.0
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "size": {
|
|
|
+ "tiny": {
|
|
|
+ "width": "size-tiny",
|
|
|
+ "height": "size-tiny"
|
|
|
+ },
|
|
|
+ "small": {
|
|
|
+ "width": "size-small",
|
|
|
+ "height": "size-small"
|
|
|
+ },
|
|
|
+ "medium": {
|
|
|
+ "width": "size-medium",
|
|
|
+ "height": "size-medium"
|
|
|
+ },
|
|
|
+ "large": {
|
|
|
+ "width": "size-large",
|
|
|
+ "height": "size-large"
|
|
|
+ },
|
|
|
+ "giant": {
|
|
|
+ "width": "size-giant",
|
|
|
+ "height": "size-giant"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"Input": {
|
|
|
"appearances": {
|
|
|
"default": {
|
|
|
@@ -37,6 +129,9 @@
|
|
|
"labelColor": "text-basic-color",
|
|
|
"captionColor": "color-danger-500",
|
|
|
"state": {
|
|
|
+ "focused": {
|
|
|
+ "backgroundColor": "#F0F0F0"
|
|
|
+ },
|
|
|
"active": {
|
|
|
"backgroundColor": "#F0F0F0"
|
|
|
},
|
|
|
@@ -69,14 +164,14 @@
|
|
|
"variantGroups": {
|
|
|
"size": {
|
|
|
"tiny": {
|
|
|
- "minWidth": "size-tiny",
|
|
|
- "minHeight": "size-tiny",
|
|
|
+ "minWidth": 0,
|
|
|
+ "minHeight": 0,
|
|
|
"borderRadius": "border-radius",
|
|
|
- "borderWidth": "border-width",
|
|
|
+ "borderWidth": 0,
|
|
|
"paddingHorizontal": 6,
|
|
|
- "paddingVertical": 6,
|
|
|
- "textMarginHorizontal": 6,
|
|
|
- "textFontSize": 10,
|
|
|
+ "paddingVertical": 3,
|
|
|
+ "textMarginHorizontal": 0,
|
|
|
+ "textFontSize": 12,
|
|
|
"textFontWeight": "bold",
|
|
|
"iconWidth": 12,
|
|
|
"iconHeight": 12,
|
|
|
@@ -799,6 +894,150 @@
|
|
|
"footerPaddingHorizontal": 10,
|
|
|
"footerPaddingVertical": 10
|
|
|
}
|
|
|
+ },
|
|
|
+ "diaogOutline": {
|
|
|
+ "mapping": {
|
|
|
+ "accentHeight": 0,
|
|
|
+ "bodyPaddingHorizontal": 24,
|
|
|
+ "bodyPaddingVertical": 10,
|
|
|
+ "headerPaddingHorizontal": 24,
|
|
|
+ "headerPaddingVertical": 20,
|
|
|
+ "footerPaddingHorizontal": 24,
|
|
|
+ "footerPaddingVertical": 15,
|
|
|
+ "state": {
|
|
|
+ "active": {
|
|
|
+ "backgroundColor": "background-basic-color-2"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "variantGroups": {
|
|
|
+ "status": {
|
|
|
+ "basic": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-basic-default"
|
|
|
+ },
|
|
|
+ "primary": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-primary-default"
|
|
|
+ },
|
|
|
+ "success": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-success-default"
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-info-default"
|
|
|
+ },
|
|
|
+ "warning": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-warning-default"
|
|
|
+ },
|
|
|
+ "danger": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-danger-default"
|
|
|
+ },
|
|
|
+ "control": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-control-default"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "headerList": {
|
|
|
+ "mapping": {
|
|
|
+ "backgroundColor": "transparent",
|
|
|
+ "accentHeight": 0,
|
|
|
+ "bodyPaddingHorizontal": 15,
|
|
|
+ "bodyPaddingVertical": 10,
|
|
|
+ "headerPaddingHorizontal": 15,
|
|
|
+ "headerPaddingVertical": 0,
|
|
|
+ "footerPaddingHorizontal": 15,
|
|
|
+ "footerPaddingVertical": 0,
|
|
|
+ "borderColor": "transparent",
|
|
|
+ "state": {
|
|
|
+ "active": {
|
|
|
+ "backgroundColor": "background-basic-color-2"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "variantGroups": {
|
|
|
+ "status": {
|
|
|
+ "basic": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-basic-default"
|
|
|
+ },
|
|
|
+ "primary": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-primary-default"
|
|
|
+ },
|
|
|
+ "success": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-success-default"
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-info-default"
|
|
|
+ },
|
|
|
+ "warning": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-warning-default"
|
|
|
+ },
|
|
|
+ "danger": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-danger-default"
|
|
|
+ },
|
|
|
+ "control": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-control-default"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "goodsCard": {
|
|
|
+ "mapping": {
|
|
|
+ "accentHeight": 0,
|
|
|
+ "bodyPaddingHorizontal": 13,
|
|
|
+ "bodyPaddingVertical": 20,
|
|
|
+ "borderColor": "transparent",
|
|
|
+ "borderRadius": 3,
|
|
|
+ "state": {
|
|
|
+ "active": {
|
|
|
+ "backgroundColor": "background-basic-color-2"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "variantGroups": {
|
|
|
+ "status": {
|
|
|
+ "basic": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-basic-default"
|
|
|
+ },
|
|
|
+ "primary": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-primary-default"
|
|
|
+ },
|
|
|
+ "success": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-success-default"
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-info-default"
|
|
|
+ },
|
|
|
+ "warning": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-warning-default"
|
|
|
+ },
|
|
|
+ "danger": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-danger-default"
|
|
|
+ },
|
|
|
+ "control": {
|
|
|
+ "accentHeight": 4,
|
|
|
+ "accentBackgroundColor": "color-control-default"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -907,6 +1146,309 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ "TopNavigation": {
|
|
|
+ "meta": {
|
|
|
+ "scope": "mobile",
|
|
|
+ "parameters": {
|
|
|
+ "minHeight": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "paddingVertical": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "paddingHorizontal": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "backgroundColor": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "titleTextAlign": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "titleFontFamily": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "titleFontSize": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "titleFontWeight": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "titleColor": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "subtitleTextAlign": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "subtitleFontFamily": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "subtitleFontSize": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "subtitleFontWeight": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "subtitleColor": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "appearances": {
|
|
|
+ "default": {
|
|
|
+ "default": true
|
|
|
+ },
|
|
|
+ "control": {
|
|
|
+ "default": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "variantGroups": {
|
|
|
+ "alignment": {
|
|
|
+ "start": {
|
|
|
+ "default": true
|
|
|
+ },
|
|
|
+ "center": {
|
|
|
+ "default": false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "states": {}
|
|
|
+ },
|
|
|
+ "appearances": {
|
|
|
+ "default": {
|
|
|
+ "mapping": {
|
|
|
+ "minHeight": 56,
|
|
|
+ "paddingVertical": 8,
|
|
|
+ "paddingHorizontal": 8,
|
|
|
+ "backgroundColor": "color-primary-500",
|
|
|
+ "titleColor": "#fff",
|
|
|
+ "iconTintColor": "#fff"
|
|
|
+ },
|
|
|
+ "variantGroups": {
|
|
|
+ "alignment": {
|
|
|
+ "start": {
|
|
|
+ "titleTextAlign": "left",
|
|
|
+ "subtitleTextAlign": "left"
|
|
|
+ },
|
|
|
+ "center": {
|
|
|
+ "titleTextAlign": "center",
|
|
|
+ "subtitleTextAlign": "center"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "control": {
|
|
|
+ "mapping": {
|
|
|
+ "backgroundColor": "transparent"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "Text": {
|
|
|
+ "meta": {
|
|
|
+ "scope": "all",
|
|
|
+ "parameters": {
|
|
|
+ "fontFamily": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "fontSize": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "fontWeight": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "color": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "appearances": {
|
|
|
+ "default": {
|
|
|
+ "default": true
|
|
|
+ },
|
|
|
+ "alternative": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "hint": {
|
|
|
+ "default": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "variantGroups": {
|
|
|
+ "category": {
|
|
|
+ "h1": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "h2": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "h3": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "h4": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "h5": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "h6": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "s1": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "s2": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "p1": {
|
|
|
+ "default": true
|
|
|
+ },
|
|
|
+ "p2": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "c1": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "c2": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "label": {
|
|
|
+ "default": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "basic": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "primary": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "success": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "warning": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "danger": {
|
|
|
+ "default": false
|
|
|
+ },
|
|
|
+ "control": {
|
|
|
+ "default": false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "states": {}
|
|
|
+ },
|
|
|
+ "appearances": {
|
|
|
+ "default": {
|
|
|
+ "mapping": {
|
|
|
+ "color": "text-basic-color"
|
|
|
+ },
|
|
|
+ "variantGroups": {
|
|
|
+ "category": {
|
|
|
+ "h1": {
|
|
|
+ "fontSize": "text-heading-1-font-size",
|
|
|
+ "fontWeight": "text-heading-1-font-weight",
|
|
|
+ "fontFamily": "text-heading-1-font-family"
|
|
|
+ },
|
|
|
+ "h2": {
|
|
|
+ "fontSize": "text-heading-2-font-size",
|
|
|
+ "fontWeight": "text-heading-2-font-weight",
|
|
|
+ "fontFamily": "text-heading-2-font-family"
|
|
|
+ },
|
|
|
+ "h3": {
|
|
|
+ "fontSize": "text-heading-3-font-size",
|
|
|
+ "fontWeight": "text-heading-3-font-weight",
|
|
|
+ "fontFamily": "text-heading-3-font-family"
|
|
|
+ },
|
|
|
+ "h4": {
|
|
|
+ "fontSize": "text-heading-4-font-size",
|
|
|
+ "fontWeight": "text-heading-4-font-weight",
|
|
|
+ "fontFamily": "text-heading-4-font-family"
|
|
|
+ },
|
|
|
+ "h5": {
|
|
|
+ "fontSize": "text-heading-5-font-size",
|
|
|
+ "fontWeight": "text-heading-5-font-weight",
|
|
|
+ "fontFamily": "text-heading-5-font-family"
|
|
|
+ },
|
|
|
+ "h6": {
|
|
|
+ "fontSize": "text-heading-6-font-size",
|
|
|
+ "fontWeight": "text-heading-6-font-weight",
|
|
|
+ "fontFamily": "text-heading-6-font-family"
|
|
|
+ },
|
|
|
+ "s1": {
|
|
|
+ "fontSize": "text-subtitle-1-font-size",
|
|
|
+ "fontWeight": "text-subtitle-1-font-weight",
|
|
|
+ "fontFamily": "text-subtitle-1-font-family"
|
|
|
+ },
|
|
|
+ "s2": {
|
|
|
+ "fontSize": "text-subtitle-2-font-size",
|
|
|
+ "fontWeight": "text-subtitle-2-font-weight",
|
|
|
+ "fontFamily": "text-subtitle-2-font-family"
|
|
|
+ },
|
|
|
+ "p1": {
|
|
|
+ "fontSize": "text-paragraph-1-font-size",
|
|
|
+ "fontWeight": "text-paragraph-1-font-weight",
|
|
|
+ "fontFamily": "text-paragraph-1-font-family"
|
|
|
+ },
|
|
|
+ "p2": {
|
|
|
+ "fontSize": "text-paragraph-2-font-size",
|
|
|
+ "fontWeight": "text-paragraph-2-font-weight",
|
|
|
+ "fontFamily": "text-paragraph-2-font-family"
|
|
|
+ },
|
|
|
+ "c1": {
|
|
|
+ "fontSize": "text-caption-1-font-size",
|
|
|
+ "fontWeight": "text-caption-1-font-weight",
|
|
|
+ "fontFamily": "text-caption-1-font-family"
|
|
|
+ },
|
|
|
+ "c2": {
|
|
|
+ "fontSize": "text-caption-2-font-size",
|
|
|
+ "fontWeight": "text-caption-2-font-weight",
|
|
|
+ "fontFamily": "text-caption-2-font-family"
|
|
|
+ },
|
|
|
+ "label": {
|
|
|
+ "fontSize": "text-label-font-size",
|
|
|
+ "fontWeight": "text-label-font-weight",
|
|
|
+ "fontFamily": "text-label-font-family"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "basic": {
|
|
|
+ "color": "text-basic-color"
|
|
|
+ },
|
|
|
+ "primary": {
|
|
|
+ "color": "text-primary-color"
|
|
|
+ },
|
|
|
+ "success": {
|
|
|
+ "color": "text-success-color"
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "color": "#B5B5B5"
|
|
|
+ },
|
|
|
+ "warning": {
|
|
|
+ "color": "text-warning-color"
|
|
|
+ },
|
|
|
+ "danger": {
|
|
|
+ "color": "text-danger-color"
|
|
|
+ },
|
|
|
+ "control": {
|
|
|
+ "color": "text-control-color"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "alternative": {
|
|
|
+ "mapping": {
|
|
|
+ "color": "text-alternate-color"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "hint": {
|
|
|
+ "mapping": {
|
|
|
+ "color": "text-hint-color"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|