Skip to content

Commit

Permalink
refactor(test): button test mapping update
Browse files Browse the repository at this point in the history
  • Loading branch information
32penkin authored and artyorsh committed May 20, 2019
1 parent 361a62f commit caf7a7e
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 36 deletions.
59 changes: 57 additions & 2 deletions src/framework/ui/support/tests/mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,9 @@
"appearances": {
"filled": {
"mapping": {
"borderRadius": 8,
"borderRadius": 4,
"borderWidth": 2,
"borderColor": "opacity-transparent",
"textColor": "text-primary-inverse",
"textFontWeight": "800",
"iconTintColor": "color-white",
Expand Down Expand Up @@ -489,7 +491,6 @@
},
"outline": {
"mapping": {
"borderWidth": 2
},
"variantGroups": {
"status": {
Expand All @@ -504,6 +505,11 @@
"borderColor": "color-primary-600",
"textColor": "color-primary-600",
"iconTintColor": "color-primary-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"borderColor": "color-primary-300",
"textColor": "color-primary-400"
}
}
},
Expand All @@ -518,6 +524,11 @@
"borderColor": "color-success-600",
"textColor": "color-success-600",
"iconTintColor": "color-success-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"borderColor": "color-success-300",
"textColor": "color-success-400"
}
}
},
Expand All @@ -532,6 +543,11 @@
"borderColor": "color-info-600",
"textColor": "color-info-600",
"iconTintColor": "color-info-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"borderColor": "color-info-300",
"textColor": "color-info-400"
}
}
},
Expand All @@ -546,6 +562,11 @@
"borderColor": "color-warning-600",
"textColor": "color-warning-600",
"iconTintColor": "color-warning-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"borderColor": "color-warning-300",
"textColor": "color-warning-400"
}
}
},
Expand All @@ -560,6 +581,11 @@
"borderColor": "color-danger-600",
"textColor": "color-danger-600",
"iconTintColor": "color-danger-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"borderColor": "color-danger-300",
"textColor": "color-danger-400"
}
}
},
Expand All @@ -568,6 +594,11 @@
"state": {
"active": {
"backgroundColor": "opacity-transparent"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"borderColor": "opacity-transparent",
"textColor": "color-primary-400"
}
}
}
Expand All @@ -588,6 +619,10 @@
"backgroundColor": "opacity-transparent",
"textColor": "color-primary-600",
"iconTintColor": "color-primary-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"textColor": "color-primary-400"
}
}
},
Expand All @@ -600,6 +635,10 @@
"backgroundColor": "opacity-transparent",
"textColor": "color-success-600",
"iconTintColor": "color-success-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"textColor": "color-success-400"
}
}
},
Expand All @@ -612,6 +651,10 @@
"backgroundColor": "opacity-transparent",
"textColor": "color-info-600",
"iconTintColor": "color-info-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"textColor": "color-info-400"
}
}
},
Expand All @@ -624,6 +667,10 @@
"backgroundColor": "opacity-transparent",
"textColor": "color-warning-600",
"iconTintColor": "color-warning-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"textColor": "color-warning-400"
}
}
},
Expand All @@ -636,6 +683,10 @@
"backgroundColor": "opacity-transparent",
"textColor": "color-danger-600",
"iconTintColor": "color-danger-600"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"textColor": "color-danger-400"
}
}
},
Expand All @@ -644,6 +695,10 @@
"state": {
"active": {
"backgroundColor": "opacity-transparent"
},
"disabled": {
"backgroundColor": "opacity-transparent",
"textColor": "color-primary-400"
}
}
}
Expand Down
49 changes: 15 additions & 34 deletions src/playground/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit caf7a7e

Please sign in to comment.