Browse Source

Merge branch 'master' into bug/no-line-numbers-without-jumptoline

bubble
Kyle Shockey 7 years ago
parent
commit
9cfc18c8ee
10 changed files with 32 additions and 21 deletions
  1. +6
    -6
      dist/swagger-ui-bundle.js
  2. +1
    -1
      dist/swagger-ui-bundle.js.map
  3. +1
    -1
      dist/swagger-ui-standalone-preset.js
  4. +1
    -1
      dist/swagger-ui.css
  5. +4
    -4
      dist/swagger-ui.js
  6. +1
    -1
      dist/swagger-ui.js.map
  7. +1
    -1
      src/core/components/curl.jsx
  8. +6
    -5
      src/core/components/operation.jsx
  9. +1
    -1
      src/core/components/schemes.jsx
  10. +10
    -0
      src/style/_layout.scss

+ 6
- 6
dist/swagger-ui-bundle.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/swagger-ui-bundle.js.map View File

@@ -1 +1 @@
{"version":3,"file":"swagger-ui-bundle.js","sources":["webpack:///swagger-ui-bundle.js"],"mappings":"AAAA;AAu/FA;AA6+FA;;;;;;;;;;;;;;;;;;;;;;;;;;AAsdA;;;;;;AAoIA;AAk7FA;AAmtCA;;;;;AA0uIA;AA66IA;AA27FA;AAuwGA;AAilFA;AAikFA;AAs9CA;AA8jDA;AA2qCA;AA4tEA;AAgkIA;;;;;;;;;;;;;;AAw4GA;AAyoIA;AAiuJA;AA8kHA;AAonGA;AAukEA;AA02DA;AAyxDA;AAi9BA;;;;;;AAqtEA;AAg0FA;;;;;AA01CA;AA2qFA;AAo2CA;AAokCA;AA0gDA;AA+vEA;AA49FA;;;;;;;;;AAk0BA;AA2zIA;AAi4DA;AA6tDA","sourceRoot":""}
{"version":3,"file":"swagger-ui-bundle.js","sources":["webpack:///swagger-ui-bundle.js"],"mappings":"AAAA;AAu/FA;AA6+FA;;;;;;;;;;;;;;;;;;;;;;;;;;AAsdA;;;;;;AAoIA;AAk7FA;AAmtCA;;;;;AA0uIA;AA66IA;AA27FA;AAuwGA;AAilFA;AAikFA;AAs9CA;AA8jDA;AA2qCA;AA4tEA;AAgkIA;;;;;;;;;;;;;;AAw4GA;AAyoIA;AAiuJA;AA8kHA;AAonGA;AAukEA;AA02DA;AAyxDA;AAi9BA;;;;;;AAqtEA;AAg0FA;;;;;AA01CA;AA2qFA;AAo2CA;AAqkCA;AA0/CA;AA2wEA;AA49FA;;;;;;;;;AAs0BA;AA2zIA;AAi4DA;AA6tDA","sourceRoot":""}

+ 1
- 1
dist/swagger-ui-standalone-preset.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/swagger-ui.css
File diff suppressed because it is too large
View File


+ 4
- 4
dist/swagger-ui.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/swagger-ui.js.map View File

@@ -1 +1 @@
{"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;;;;;;AAmwCA;AAoyHA;AA2wHA;AA07FA;AAmnCA;AAu/BA;AA0iCA;AAu4BA","sourceRoot":""}
{"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;;;;;;AAmwCA;AAoyHA;AA2wHA;AA07FA;AAmnCA;AAw/BA;AAwiCA;AA+3BA","sourceRoot":""}

+ 1
- 1
src/core/components/curl.jsx View File

@@ -19,7 +19,7 @@ export default class Curl extends React.Component {
<div>
<h4>Curl</h4>
<div className="copy-paste">
<textarea onFocus={this.handleFocus} className="curl" style={{ whiteSpace: "normal" }} defaultValue={curl}></textarea>
<textarea onFocus={this.handleFocus} className="curl" style={{ whiteSpace: "normal" }} value={curl}></textarea>
</div>
</div>
)


+ 6
- 5
src/core/components/operation.jsx View File

@@ -202,11 +202,12 @@ export default class Operation extends React.Component {
pathMethod={ [path, method] }
/>

{!tryItOutEnabled || !allowTryItOut ? null : schemes && schemes.size ? <Schemes schemes={ schemes }
path={ path }
method={ method }
specActions={ specActions }/>
: null
{!tryItOutEnabled || !allowTryItOut ? null : schemes && schemes.size ? <div className="opblock-schemes">
<Schemes schemes={ schemes }
path={ path }
method={ method }
specActions={ specActions }/>
</div> : null
}

<div className={(!tryItOutEnabled || !response || !allowTryItOut) ? "execute-wrapper" : "btn-group"}>


+ 1
- 1
src/core/components/schemes.jsx View File

@@ -31,7 +31,7 @@ export default class Schemes extends React.Component {

return (
<label htmlFor="schemes">
<span>Schemes</span>
<span className="schemes-title">Schemes</span>
<select onChange={ this.onChange }>
{ schemes.valueSeq().map(
( scheme ) => <option value={ scheme } key={ scheme }>{ scheme }</option>


+ 10
- 0
src/style/_layout.scss View File

@@ -307,6 +307,16 @@ body

@include method($_color-disabled);
}

.opblock-schemes
{
padding: 8px 20px;

.schemes-title
{
padding: 0 10px 0 0;
}
}
}




Loading…
Cancel
Save