chore: update deps

This commit is contained in:
Roman Hotsiy 2018-05-28 21:50:26 +03:00
parent f8b793d2dc
commit 57a32ba116
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
3 changed files with 26 additions and 20 deletions

View File

@ -129,12 +129,12 @@
"eventemitter3": "^3.0.0", "eventemitter3": "^3.0.0",
"json-pointer": "^0.6.0", "json-pointer": "^0.6.0",
"json-schema-ref-parser": "^5.0.0", "json-schema-ref-parser": "^5.0.0",
"lunr": "^2.2.0", "lunr": "^2.2.1",
"mark.js": "^8.11.1", "mark.js": "^8.11.1",
"marked": "^0.3.19", "marked": "^0.3.19",
"mobx": "^4.1.0", "mobx": "^4.1.0",
"mobx-react": "^5.0.0", "mobx-react": "^5.0.0",
"openapi-sampler": "1.0.0-beta.10", "openapi-sampler": "1.0.0-beta.11",
"perfect-scrollbar": "^1.3.0", "perfect-scrollbar": "^1.3.0",
"polished": "^1.9.2", "polished": "^1.9.2",
"prismjs": "^1.12.2", "prismjs": "^1.12.2",

View File

@ -8,24 +8,28 @@ export const Tabs = styled(ReactTabs)`
list-style: none; list-style: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
display: flex; margin: 0 -5px;
flex-wrap: wrap;
> li { > li {
padding: 5px 10px; padding: 5px 10px;
display: inline-block; display: inline-block;
flex: 1;
background-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(0, 0, 0, 0.5); border-bottom: 1px solid rgba(0, 0, 0, 0.5);
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
outline: none; outline: none;
color: #ccc; color: #ccc;
margin: 5px;
border: 1px solid #181f22;
border-radius: 5px;
min-width: 60px;
font-size: 0.9em;
font-weight: bold;
&.react-tabs__tab--selected { &.react-tabs__tab--selected {
color: #fff; color: ${props => props.theme.colors.text};
background: rgba(0, 0, 0, 0.5); background: #e2e2e2;
border-bottom: 1px solid ${props => props.theme.schemaView.linesColor};
} }
&:only-child { &:only-child {
@ -64,21 +68,23 @@ export const SmallTabs = Tabs.extend`
> ul { > ul {
display: block; display: block;
> li { > li {
padding: 0; padding: 2px 5px;
margin-right: 20px; min-width: auto;
font-size: 12px; margin: 0 15px 0 0;
padding: 2px 0; font-size: 13px;
font-weight: normal;
border-bottom: 1px dashed; border-bottom: 1px dashed;
color: #787b7d; color: #787b7d;
backgrond: none; border-radius: 0;
background: none;
&:last-child { &:last-child {
margin-right: 0; margin-right: 0;
} }
&.react-tabs__tab--selected { &.react-tabs__tab--selected {
backgrond: none;
color: #babcbf; color: #babcbf;
background: none;
} }
} }
} }

View File

@ -6209,9 +6209,9 @@ lru-cache@^4.0.1, lru-cache@^4.1.1:
pseudomap "^1.0.2" pseudomap "^1.0.2"
yallist "^2.1.2" yallist "^2.1.2"
lunr@^2.2.0: lunr@^2.2.1:
version "2.2.0" version "2.2.1"
resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.2.0.tgz#ab66b8853e8f420cd018d9b474a650537d78a86f" resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.2.1.tgz#62c62947bf83619450e94abf26061f1ce3baaa47"
macaddress@^0.2.8: macaddress@^0.2.8:
version "0.2.8" version "0.2.8"
@ -6976,9 +6976,9 @@ ono@^4.0.3:
dependencies: dependencies:
format-util "^1.0.3" format-util "^1.0.3"
openapi-sampler@1.0.0-beta.10: openapi-sampler@1.0.0-beta.11:
version "1.0.0-beta.10" version "1.0.0-beta.11"
resolved "https://registry.yarnpkg.com/openapi-sampler/-/openapi-sampler-1.0.0-beta.10.tgz#8f437529a2da92bfaa43966308d6446e4748ac29" resolved "https://registry.yarnpkg.com/openapi-sampler/-/openapi-sampler-1.0.0-beta.11.tgz#1c155f484e1164c96513a3f4540e12119210153f"
dependencies: dependencies:
json-pointer "^0.6.0" json-pointer "^0.6.0"