update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
47
dashboard-ui/bower_components/prism/tests/languages/css/atrule_feature.test
vendored
Normal file
47
dashboard-ui/bower_components/prism/tests/languages/css/atrule_feature.test
vendored
Normal file
|
@ -0,0 +1,47 @@
|
|||
@import url(foo.css);
|
||||
@media print {}
|
||||
@media (min-width: 640px) and (min-height: 1000px) {}
|
||||
@main-color: red;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["atrule", [
|
||||
["rule", "@import"],
|
||||
["url", "url(foo.css)"],
|
||||
["punctuation", ";"]
|
||||
]],
|
||||
["atrule", [
|
||||
["rule", "@media"],
|
||||
" print"
|
||||
]],
|
||||
["punctuation", "{"],
|
||||
["punctuation", "}"],
|
||||
["atrule", [
|
||||
["rule", "@media"],
|
||||
["punctuation", "("],
|
||||
["property", "min-width"],
|
||||
["punctuation", ":"],
|
||||
" 640px",
|
||||
["punctuation", ")"],
|
||||
" and ",
|
||||
["punctuation", "("],
|
||||
["property", "min-height"],
|
||||
["punctuation", ":"],
|
||||
" 1000px",
|
||||
["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "{"],
|
||||
["punctuation", "}"],
|
||||
["atrule", [
|
||||
["rule", "@main-color"],
|
||||
["punctuation", ":"],
|
||||
" red",
|
||||
["punctuation", ";"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for at-rules.
|
||||
Also checks for LESS variables.
|
16
dashboard-ui/bower_components/prism/tests/languages/css/comment_feature.test
vendored
Normal file
16
dashboard-ui/bower_components/prism/tests/languages/css/comment_feature.test
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
/**/
|
||||
/* foo */
|
||||
/* foo
|
||||
bar */
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "/**/"],
|
||||
["comment", "/* foo */"],
|
||||
["comment", "/* foo\r\nbar */"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for empty comment, single-line comment and multi-line comment.
|
35
dashboard-ui/bower_components/prism/tests/languages/css/function_feature.test
vendored
Normal file
35
dashboard-ui/bower_components/prism/tests/languages/css/function_feature.test
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
transform: translate(-50%);
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
filter: opacity(alpha=0);
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["property", "transform"],
|
||||
["punctuation", ":"],
|
||||
["function", "translate"],
|
||||
["punctuation", "("],
|
||||
"-50%",
|
||||
["punctuation", ")"],
|
||||
["punctuation", ";"],
|
||||
|
||||
["property", "background"],
|
||||
["punctuation", ":"],
|
||||
["function", "rgba"],
|
||||
["punctuation", "("],
|
||||
"0, 0, 0, 0.2",
|
||||
["punctuation", ")"],
|
||||
["punctuation", ";"],
|
||||
|
||||
["property", "filter"],
|
||||
["punctuation", ":"],
|
||||
["function", "opacity"],
|
||||
["punctuation", "("],
|
||||
"alpha=0",
|
||||
["punctuation", ")"],
|
||||
["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for functions.
|
21
dashboard-ui/bower_components/prism/tests/languages/css/important_feature.test
vendored
Normal file
21
dashboard-ui/bower_components/prism/tests/languages/css/important_feature.test
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
color: red !important;
|
||||
padding: 10px 20px 30px !important;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["property", "color"],
|
||||
["punctuation", ":"],
|
||||
" red ",
|
||||
["important", "!important"],
|
||||
["punctuation", ";"],
|
||||
["property", "padding"],
|
||||
["punctuation", ":"],
|
||||
" 10px 20px 30px ",
|
||||
["important", "!important"],
|
||||
["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for !important rule.
|
24
dashboard-ui/bower_components/prism/tests/languages/css/property_feature.test
vendored
Normal file
24
dashboard-ui/bower_components/prism/tests/languages/css/property_feature.test
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
color: red;
|
||||
background-color: blue;
|
||||
-webkit-transform: none;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["property", "color"],
|
||||
["punctuation", ":"],
|
||||
" red",
|
||||
["punctuation", ";"],
|
||||
["property", "background-color"],
|
||||
["punctuation", ":"],
|
||||
" blue",
|
||||
["punctuation", ";"],
|
||||
["property", "-webkit-transform"],
|
||||
["punctuation", ":"],
|
||||
" none",
|
||||
["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for properties.
|
25
dashboard-ui/bower_components/prism/tests/languages/css/selector_feature.test
vendored
Normal file
25
dashboard-ui/bower_components/prism/tests/languages/css/selector_feature.test
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
foo{
|
||||
foo + bar {
|
||||
foo:first-child:hover {
|
||||
* {
|
||||
foo,
|
||||
bar{
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["selector", "foo"],
|
||||
["punctuation", "{"],
|
||||
["selector", "foo + bar"],
|
||||
["punctuation", "{"],
|
||||
["selector", "foo:first-child:hover"],
|
||||
["punctuation", "{"],
|
||||
["selector", "*"],
|
||||
["punctuation", "{"],
|
||||
["selector", "foo,\r\nbar"],
|
||||
["punctuation", "{"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-line and multi-line selectors.
|
19
dashboard-ui/bower_components/prism/tests/languages/css/string_feature.test
vendored
Normal file
19
dashboard-ui/bower_components/prism/tests/languages/css/string_feature.test
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
"f\"oo"
|
||||
'f\'oo'
|
||||
"foo\
|
||||
bar"
|
||||
'foo\
|
||||
bar'
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"f\\\"oo\""],
|
||||
["string", "'f\\'oo'"],
|
||||
["string", "\"foo\\\r\nbar\""],
|
||||
["string", "'foo\\\r\nbar'"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-quoted and double-quoted strings.
|
21
dashboard-ui/bower_components/prism/tests/languages/css/url_feature.test
vendored
Normal file
21
dashboard-ui/bower_components/prism/tests/languages/css/url_feature.test
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
url(foo.png)
|
||||
url('foo.png')
|
||||
url("foo.png")
|
||||
url('foo\
|
||||
bar.png')
|
||||
url("foo\
|
||||
bar.png")
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["url", "url(foo.png)"],
|
||||
["url", "url('foo.png')"],
|
||||
["url", "url(\"foo.png\")"],
|
||||
["url", "url('foo\\\r\nbar.png')"],
|
||||
["url", "url(\"foo\\\r\nbar.png\")"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for url(), unquoted, single-quoted and double-quoted.
|
Loading…
Add table
Add a link
Reference in a new issue