@scalar/api-reference 0.1.25 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -48470,7 +48470,7 @@ ${closingBraceIndent}]`;
48470
48470
  };
48471
48471
  });
48472
48472
  const localServers = computed(() => {
48473
- if (props.spec.servers.length > 0) {
48473
+ if (props.spec.servers && props.spec.servers.length > 0) {
48474
48474
  return props.spec.servers;
48475
48475
  } else if (fallBackServer.value) {
48476
48476
  return [
@@ -48550,11 +48550,11 @@ ${closingBraceIndent}]`;
48550
48550
  };
48551
48551
  }
48552
48552
  });
48553
- const Content_vue_vue_type_style_index_0_scoped_198a7b11_lang = "";
48553
+ const Content_vue_vue_type_style_index_0_scoped_e556a2e8_lang = "";
48554
48554
  Content = _export_sfc(_sfc_main$1, [
48555
48555
  [
48556
48556
  "__scopeId",
48557
- "data-v-198a7b11"
48557
+ "data-v-e556a2e8"
48558
48558
  ]
48559
48559
  ]);
48560
48560
  const _hoisted_1 = {
package/dist/style.css CHANGED
@@ -1339,7 +1339,7 @@ to {
1339
1339
  }
1340
1340
  }
1341
1341
 
1342
- .render-loading[data-v-198a7b11] {
1342
+ .render-loading[data-v-e556a2e8] {
1343
1343
  height: calc(
1344
1344
  var(--scalar-api-reference-full-height) -
1345
1345
  var(--scalar-api-reference-theme-header-height)
@@ -1348,7 +1348,7 @@ to {
1348
1348
  align-items: center;
1349
1349
  justify-content: center;
1350
1350
  }
1351
- .show-more[data-v-198a7b11] {
1351
+ .show-more[data-v-e556a2e8] {
1352
1352
  background: var(--theme-background-1);
1353
1353
  appearance: none;
1354
1354
  border: none;
@@ -1366,20 +1366,20 @@ to {
1366
1366
  margin-bottom: 48px;
1367
1367
  position: relative;
1368
1368
  }
1369
- .show-more[data-v-198a7b11]:hover {
1369
+ .show-more[data-v-e556a2e8]:hover {
1370
1370
  color: var(--theme-color-2);
1371
1371
  cursor: pointer;
1372
1372
  }
1373
- .show-more-icon[data-v-198a7b11] {
1373
+ .show-more-icon[data-v-e556a2e8] {
1374
1374
  width: 14px;
1375
1375
  height: 14px;
1376
1376
  margin-left: 3px;
1377
1377
  }
1378
- .show-more[data-v-198a7b11]:active {
1378
+ .show-more[data-v-e556a2e8]:active {
1379
1379
  box-shadow: 0 0 0 1px var(--theme-border-color);
1380
1380
  }
1381
1381
  @media (max-width: 1165px) {
1382
- .show-more[data-v-198a7b11] {
1382
+ .show-more[data-v-e556a2e8] {
1383
1383
  margin-top: -24px;
1384
1384
  margin-bottom: 24px;
1385
1385
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalar/api-reference",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "author": "Scalar",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
@@ -43,9 +43,9 @@
43
43
  "unified": "10.1.2",
44
44
  "xmldom": "0.6.0",
45
45
  "@scalar/api-client": "0.1.17",
46
- "@scalar/use-clipboard": "0.1.4",
46
+ "@scalar/use-tooltip": "0.1.4",
47
47
  "@scalar/swagger-editor": "0.1.12",
48
- "@scalar/use-tooltip": "0.1.4"
48
+ "@scalar/use-clipboard": "0.1.4"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@vitejs/plugin-vue": "4.2.3",