@scalar/api-client 1.2.19 → 1.2.20
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/CHANGELOG.md +10 -0
- package/dist/ArrowLeft-aY17W2aS-DFSAtOMh.js +21 -0
- package/dist/ArrowRight-DEMtdoE7-D3Vz1S5q.js +21 -0
- package/dist/FilterList-CsAcE9em-aybThY1V.js +21 -0
- package/dist/History-D9nmhNIn-BU9mR55a.js +27 -0
- package/dist/Play-BrVagRQA-DBrajcXb.js +19 -0
- package/dist/Response-Dq9pM-ZU-DcYb8u84.js +21 -0
- package/dist/Sort-oTjBhJFQ-yW_ZNUnN.js +19 -0
- package/dist/components/ApiClient/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Request/Request.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/RequestMethodSelect.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Response/Response.vue.d.ts.map +1 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts +16 -0
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -0
- package/dist/index.css +119 -89
- package/dist/index.js +293 -262
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 1.2.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0640c52: feat: api client address bar style update
|
|
8
|
+
- 84399ab: feat: add api client response empty state
|
|
9
|
+
- a80345a: fix: vertical alignment of client response empty state
|
|
10
|
+
- Updated dependencies [6e67167]
|
|
11
|
+
- @scalar/components@0.7.6
|
|
12
|
+
|
|
3
13
|
## 1.2.19
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
+
const l = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 14 12"
|
|
6
|
+
}, n = /* @__PURE__ */ createElementVNode("path", {
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
"fill-rule": "evenodd",
|
|
9
|
+
d: "M12.594 6.86a.75.75 0 0 0 0-1.5H3.217l3.095-3.095a.75.75 0 1 0-1.061-1.06L.876 5.578a.75.75 0 0 0 0 1.061l4.375 4.375a.75.75 0 0 0 1.06-1.06L3.218 6.86z",
|
|
10
|
+
"clip-rule": "evenodd"
|
|
11
|
+
}, null, -1), r = [
|
|
12
|
+
n
|
|
13
|
+
];
|
|
14
|
+
function c(d, s) {
|
|
15
|
+
return openBlock(), createElementBlock("svg", l, [...r]);
|
|
16
|
+
}
|
|
17
|
+
const i = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
i as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
+
const l = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 14 12"
|
|
6
|
+
}, n = /* @__PURE__ */ createElementVNode("path", {
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
"fill-rule": "evenodd",
|
|
9
|
+
d: "M1.406 5.36a.75.75 0 0 0 0 1.5h9.377L7.688 9.954a.75.75 0 1 0 1.061 1.06l4.375-4.374a.75.75 0 0 0 0-1.06L8.75 1.203a.75.75 0 1 0-1.06 1.06l3.094 3.096z",
|
|
10
|
+
"clip-rule": "evenodd"
|
|
11
|
+
}, null, -1), r = [
|
|
12
|
+
n
|
|
13
|
+
];
|
|
14
|
+
function c(d, i) {
|
|
15
|
+
return openBlock(), createElementBlock("svg", l, [...r]);
|
|
16
|
+
}
|
|
17
|
+
const a = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
a as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 14 15"
|
|
6
|
+
}, r = /* @__PURE__ */ createElementVNode("path", {
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-linecap": "round",
|
|
9
|
+
"stroke-linejoin": "round",
|
|
10
|
+
d: "M1.5 4h11M2.67 6.333h8.657M5.396 11h3.208m-4.76-2.333h6.313"
|
|
11
|
+
}, null, -1), s = [
|
|
12
|
+
r
|
|
13
|
+
];
|
|
14
|
+
function c(l, i) {
|
|
15
|
+
return openBlock(), createElementBlock("svg", n, [...s]);
|
|
16
|
+
}
|
|
17
|
+
const h = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
h as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
+
const t = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 14 14"
|
|
6
|
+
}, n = /* @__PURE__ */ createElementVNode("path", {
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
"fill-rule": "evenodd",
|
|
9
|
+
d: "M7 2.75a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-.364.643l-2.5 1.5a.75.75 0 1 1-.772-1.286L6.25 7.075V3.5A.75.75 0 0 1 7 2.75",
|
|
10
|
+
"clip-rule": "evenodd"
|
|
11
|
+
}, null, -1), r = /* @__PURE__ */ createElementVNode("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
"fill-rule": "evenodd",
|
|
14
|
+
d: "M12.5 7a5.5 5.5 0 0 0-9.82-3.405l.966.965a.5.5 0 0 1-.353.854H.5a.5.5 0 0 1-.5-.5V2.12a.5.5 0 0 1 .854-.354l.76.761A7 7 0 1 1 .187 8.614a.75.75 0 0 1 1.46-.344A5.5 5.5 0 0 0 12.5 7",
|
|
15
|
+
"clip-rule": "evenodd"
|
|
16
|
+
}, null, -1), d = [
|
|
17
|
+
n,
|
|
18
|
+
r
|
|
19
|
+
];
|
|
20
|
+
function c(a, i) {
|
|
21
|
+
return openBlock(), createElementBlock("svg", t, [...d]);
|
|
22
|
+
}
|
|
23
|
+
const u = { render: c };
|
|
24
|
+
export {
|
|
25
|
+
u as default,
|
|
26
|
+
c as render
|
|
27
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 8 10"
|
|
6
|
+
}, l = /* @__PURE__ */ createElementVNode("path", {
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
d: "M7.266 3.563 2.7.317A1.69 1.69 0 0 0 .916.201 1.75 1.75 0 0 0 0 1.754v6.492a1.75 1.75 0 0 0 .916 1.552A1.69 1.69 0 0 0 2.7 9.683l4.566-3.246a1.775 1.775 0 0 0 0-2.874"
|
|
9
|
+
}, null, -1), r = [
|
|
10
|
+
l
|
|
11
|
+
];
|
|
12
|
+
function c(s, a) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", n, [...r]);
|
|
14
|
+
}
|
|
15
|
+
const i = { render: c };
|
|
16
|
+
export {
|
|
17
|
+
i as default,
|
|
18
|
+
c as render
|
|
19
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 10 11"
|
|
6
|
+
}, l = /* @__PURE__ */ createElementVNode("path", {
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
"fill-rule": "evenodd",
|
|
9
|
+
d: "M9.595 2.075a.75.75 0 0 0-1.06-1.06l-6.63 6.63V3.268a.75.75 0 1 0-1.5 0v6.187c0 .415.335.75.75.75h6.187a.75.75 0 0 0 0-1.5H2.965z",
|
|
10
|
+
"clip-rule": "evenodd"
|
|
11
|
+
}, null, -1), r = [
|
|
12
|
+
l
|
|
13
|
+
];
|
|
14
|
+
function c(s, d) {
|
|
15
|
+
return openBlock(), createElementBlock("svg", n, [...r]);
|
|
16
|
+
}
|
|
17
|
+
const a = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
a as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 15 10"
|
|
6
|
+
}, r = /* @__PURE__ */ createElementVNode("path", {
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
d: "M0 10h10v-.667H0zm0-9v.667h15V1zm0 4.833h15v-.666H0z"
|
|
9
|
+
}, null, -1), c = [
|
|
10
|
+
r
|
|
11
|
+
];
|
|
12
|
+
function l(s, h) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", n, [...c]);
|
|
14
|
+
}
|
|
15
|
+
const i = { render: l };
|
|
16
|
+
export {
|
|
17
|
+
i as default,
|
|
18
|
+
l as render
|
|
19
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/AddressBar.vue.ts"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/AddressBar.vue.ts"],"names":[],"mappings":";;;;;;;;;AAobA,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/Request.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/Request.vue.ts"],"names":[],"mappings":";AAyPA,wBAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestMethodSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/RequestMethodSelect.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RequestMethodSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/RequestMethodSelect.vue.ts"],"names":[],"mappings":";mBAsI+E,MAAM;;;;;;;mBAAN,MAAM;;;;;;;cAAa,OAAO;;AALzG,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Response.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Response/Response.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Response.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Response/Response.vue.ts"],"names":[],"mappings":";AAkSA,wBAKG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
art: string;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
art: string;
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=ScalarAsciiArt.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarAsciiArt.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarAsciiArt.vue.ts"],"names":[],"mappings":";SAyFkD,MAAM;;SAAN,MAAM;;AALxD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
package/dist/index.css
CHANGED
|
@@ -625,15 +625,14 @@ to {
|
|
|
625
625
|
color: var(--scalar-color-3);
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
.request-method-select[data-v-
|
|
628
|
+
.request-method-select[data-v-0f1e5bdc] {
|
|
629
629
|
position: relative;
|
|
630
630
|
display: flex;
|
|
631
631
|
}
|
|
632
|
-
.request-method-select select[data-v-
|
|
632
|
+
.request-method-select select[data-v-0f1e5bdc] {
|
|
633
633
|
border: none;
|
|
634
634
|
outline: none;
|
|
635
635
|
cursor: pointer;
|
|
636
|
-
background: var(--scalar-background-3);
|
|
637
636
|
box-shadow: -2px 0 0 0 var(--scalar-background-3);
|
|
638
637
|
position: absolute;
|
|
639
638
|
top: 0;
|
|
@@ -645,20 +644,26 @@ to {
|
|
|
645
644
|
-webkit-appearance: none;
|
|
646
645
|
appearance: none;
|
|
647
646
|
}
|
|
648
|
-
.request-method-select select[disabled][data-v-
|
|
647
|
+
.request-method-select select[disabled][data-v-0f1e5bdc] {
|
|
649
648
|
pointer-events: none;
|
|
650
649
|
}
|
|
651
|
-
.request-method[data-v-
|
|
652
|
-
display: flex;
|
|
650
|
+
.request-method[data-v-0f1e5bdc] {
|
|
653
651
|
align-items: center;
|
|
654
|
-
color: var(--scalar-color-3);
|
|
655
652
|
appearance: none;
|
|
653
|
+
background: var(--scalar-api-client-color, var(--scalar-background-3));
|
|
654
|
+
background: color-mix(
|
|
655
|
+
in srgb,
|
|
656
|
+
var(--scalar-api-client-color, var(--scalar-background-3)),
|
|
657
|
+
transparent 90%
|
|
658
|
+
);
|
|
659
|
+
border-radius: var(--scalar-radius);
|
|
660
|
+
color: var(--scalar-api-client-color);
|
|
661
|
+
display: flex;
|
|
656
662
|
-webkit-appearance: none;
|
|
657
663
|
padding: 0 12px;
|
|
658
|
-
border-right: 1px solid var(--scalar-border-color);
|
|
659
664
|
position: relative;
|
|
660
665
|
}
|
|
661
|
-
.request-method span[data-v-
|
|
666
|
+
.request-method span[data-v-0f1e5bdc] {
|
|
662
667
|
font-family: var(--scalar-font-code);
|
|
663
668
|
font-size: 500;
|
|
664
669
|
font-size: var(--scalar-micro);
|
|
@@ -666,41 +671,19 @@ to {
|
|
|
666
671
|
display: flex;
|
|
667
672
|
align-items: center;
|
|
668
673
|
}
|
|
669
|
-
.request-method:not(.request-method--disabled) span[data-v-2b029b46]:after {
|
|
670
|
-
content: '';
|
|
671
|
-
width: 7px;
|
|
672
|
-
height: 7px;
|
|
673
|
-
transform: rotate(45deg) translate3d(-2px, -2px, 0);
|
|
674
|
-
display: block;
|
|
675
|
-
margin-left: 6px;
|
|
676
|
-
box-shadow: 1px 1px 0 currentColor;
|
|
677
|
-
}
|
|
678
|
-
.request-method i[data-v-2b029b46] {
|
|
679
|
-
width: 10px;
|
|
680
|
-
height: 10px;
|
|
681
|
-
border-radius: 50%;
|
|
682
|
-
margin-right: 6px;
|
|
683
|
-
text-align: center;
|
|
684
|
-
line-height: 18px;
|
|
685
|
-
font-style: normal;
|
|
686
|
-
flex-shrink: 0;
|
|
687
|
-
display: inline-block;
|
|
688
|
-
color: var(--scalar-color-disabled);
|
|
689
|
-
background: var(--scalar-api-client-color);
|
|
690
|
-
}
|
|
691
674
|
|
|
692
675
|
.api-client-url-variable {
|
|
693
676
|
color: var(--scalar-api-client-color);
|
|
694
677
|
}
|
|
695
678
|
|
|
696
|
-
.loader[data-v-
|
|
679
|
+
.loader[data-v-95886ec0] {
|
|
697
680
|
position: absolute;
|
|
698
681
|
z-index: 3;
|
|
699
682
|
height: 2px;
|
|
700
683
|
background: var(--scalar-api-client-color);
|
|
701
|
-
animation: loading-
|
|
684
|
+
animation: loading-95886ec0 5s cubic-bezier(0, 0.5, 0.25, 1);
|
|
702
685
|
}
|
|
703
|
-
@keyframes loading-
|
|
686
|
+
@keyframes loading-95886ec0 {
|
|
704
687
|
0% {
|
|
705
688
|
width: 0;
|
|
706
689
|
}
|
|
@@ -708,14 +691,14 @@ to {
|
|
|
708
691
|
width: 100%;
|
|
709
692
|
}
|
|
710
693
|
}
|
|
711
|
-
.address-bar[data-v-
|
|
694
|
+
.address-bar[data-v-95886ec0] {
|
|
712
695
|
width: 100%;
|
|
713
|
-
padding:
|
|
696
|
+
padding: 10px;
|
|
714
697
|
display: flex;
|
|
715
698
|
align-items: center;
|
|
716
699
|
position: relative;
|
|
717
700
|
}
|
|
718
|
-
.url-form[data-v-
|
|
701
|
+
.url-form[data-v-95886ec0] {
|
|
719
702
|
display: flex;
|
|
720
703
|
width: 720px;
|
|
721
704
|
align-items: stretch;
|
|
@@ -725,32 +708,34 @@ to {
|
|
|
725
708
|
z-index: 2;
|
|
726
709
|
max-width: calc(100% - 68px);
|
|
727
710
|
}
|
|
728
|
-
.url-form[data-v-
|
|
711
|
+
.url-form[data-v-95886ec0] .cm-content {
|
|
729
712
|
display: flex;
|
|
730
713
|
align-items: center;
|
|
731
714
|
}
|
|
732
|
-
.url-form-field[data-v-
|
|
733
|
-
border-right: 0;
|
|
734
|
-
background: var(--scalar-background-2);
|
|
735
|
-
border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
|
|
736
|
-
display: flex;
|
|
715
|
+
.url-form-field[data-v-95886ec0] {
|
|
737
716
|
align-items: stretch;
|
|
738
|
-
|
|
739
|
-
|
|
717
|
+
border: 1px solid var(--scalar-border-color);
|
|
718
|
+
border-radius: var(--scalar-radius);
|
|
719
|
+
display: flex;
|
|
740
720
|
min-height: 31px;
|
|
721
|
+
overflow: hidden;
|
|
722
|
+
padding: 2px;
|
|
723
|
+
width: 100%;
|
|
741
724
|
}
|
|
742
|
-
.url-form-input[data-v-
|
|
725
|
+
.url-form-input[data-v-95886ec0] {
|
|
726
|
+
background: var(--scalar-background-1);
|
|
743
727
|
color: var(--scalar-color-1);
|
|
744
|
-
}
|
|
745
|
-
.url-form-input[data-v-2d90bbed] {
|
|
746
728
|
font-weight: var(--scalar-semibold);
|
|
747
729
|
min-height: auto;
|
|
748
730
|
padding-top: 0;
|
|
749
731
|
}
|
|
750
|
-
.url-form-input[data-v-
|
|
732
|
+
.url-form-input[data-v-95886ec0] .cm-scroller {
|
|
751
733
|
overflow-y: hidden;
|
|
752
734
|
}
|
|
753
|
-
.
|
|
735
|
+
.url-form-input[data-v-95886ec0] .cm-line {
|
|
736
|
+
font-size: var(--scalar-micro);
|
|
737
|
+
}
|
|
738
|
+
.history[data-v-95886ec0] {
|
|
754
739
|
appearance: none;
|
|
755
740
|
-webkit-appearance: none;
|
|
756
741
|
background: transparent;
|
|
@@ -758,20 +743,19 @@ to {
|
|
|
758
743
|
display: flex;
|
|
759
744
|
align-items: center;
|
|
760
745
|
border-radius: var(--scalar-radius);
|
|
761
|
-
background: var(--scalar-background-2);
|
|
762
746
|
}
|
|
763
|
-
.send-button[type='submit'][data-v-
|
|
747
|
+
.send-button[type='submit'][data-v-95886ec0] {
|
|
764
748
|
font-size: var(--scalar-micro);
|
|
765
749
|
letter-spacing: 0.25px;
|
|
766
750
|
color: var(--scalar-button-1-color);
|
|
767
751
|
border: none;
|
|
768
752
|
white-space: nowrap;
|
|
769
|
-
padding: 0
|
|
753
|
+
padding: 0 8px;
|
|
770
754
|
cursor: pointer;
|
|
771
755
|
outline: none;
|
|
772
756
|
font-family: var(--scalar-font);
|
|
773
757
|
font-weight: var(--scalar-semibold);
|
|
774
|
-
border-radius:
|
|
758
|
+
border-radius: var(--scalar-radius);
|
|
775
759
|
background: var(--scalar-button-1);
|
|
776
760
|
position: relative;
|
|
777
761
|
display: flex;
|
|
@@ -779,43 +763,40 @@ to {
|
|
|
779
763
|
overflow: hidden;
|
|
780
764
|
flex-shrink: 0;
|
|
781
765
|
}
|
|
782
|
-
.send-button[data-v-
|
|
766
|
+
.send-button[data-v-95886ec0]:hover {
|
|
783
767
|
background: var(--scalar-button-1-hover);
|
|
784
768
|
}
|
|
785
|
-
.send-button svg[data-v-
|
|
769
|
+
.send-button svg[data-v-95886ec0] {
|
|
786
770
|
width: 12px;
|
|
787
771
|
height: 12px;
|
|
788
772
|
flex-shrink: 0;
|
|
789
773
|
margin-right: 6px;
|
|
790
774
|
position: relative;
|
|
791
775
|
}
|
|
792
|
-
.send-button span[data-v-
|
|
776
|
+
.send-button span[data-v-95886ec0] {
|
|
793
777
|
position: relative;
|
|
794
778
|
}
|
|
795
779
|
@media screen and (max-width: 720px) {
|
|
796
|
-
.history-toggle span[data-v-
|
|
797
|
-
.send-button span[data-v-
|
|
780
|
+
.history-toggle span[data-v-95886ec0],
|
|
781
|
+
.send-button span[data-v-95886ec0] {
|
|
798
782
|
display: none;
|
|
799
783
|
}
|
|
800
|
-
.history-toggle svg[data-v-
|
|
801
|
-
.send-button svg[data-v-
|
|
784
|
+
.history-toggle svg[data-v-95886ec0],
|
|
785
|
+
.send-button svg[data-v-95886ec0] {
|
|
802
786
|
margin-right: 0;
|
|
803
787
|
}
|
|
804
788
|
}
|
|
805
|
-
.send-button[disabled][data-v-
|
|
789
|
+
.send-button[disabled][data-v-95886ec0] {
|
|
806
790
|
pointer-events: none;
|
|
807
791
|
color: var(--scalar-color-2);
|
|
808
792
|
background: var(--scalar-background-3);
|
|
809
793
|
border: 1px solid var(--scalar-border-color);
|
|
810
794
|
}
|
|
811
|
-
.history-toggle[data-v-
|
|
812
|
-
padding:
|
|
795
|
+
.history-toggle[data-v-95886ec0] {
|
|
796
|
+
padding: 7px;
|
|
813
797
|
line-height: 30px;
|
|
814
798
|
color: var(--scalar-color-3);
|
|
815
799
|
font-size: var(--scalar-micro);
|
|
816
|
-
letter-spacing: 0.125px;
|
|
817
|
-
font-weight: var(--scalar-semibold);
|
|
818
|
-
text-transform: uppercase;
|
|
819
800
|
height: 100%;
|
|
820
801
|
display: flex;
|
|
821
802
|
align-items: center;
|
|
@@ -823,16 +804,22 @@ to {
|
|
|
823
804
|
white-space: nowrap;
|
|
824
805
|
border-radius: var(--scalar-radius);
|
|
825
806
|
user-select: none;
|
|
807
|
+
border-radius: var(--scalar-radius);
|
|
808
|
+
margin-right: 4px;
|
|
809
|
+
transition:
|
|
810
|
+
background-color 0.15s ease-in-out,
|
|
811
|
+
color 0.15s ease-in-out;
|
|
826
812
|
}
|
|
827
|
-
.history-toggle[data-v-
|
|
813
|
+
.history-toggle[data-v-95886ec0]:hover {
|
|
814
|
+
background-color: var(--scalar-background-2);
|
|
828
815
|
color: var(--scalar-color-1);
|
|
829
816
|
}
|
|
830
|
-
.history-toggle svg[data-v-
|
|
817
|
+
.history-toggle svg[data-v-95886ec0] {
|
|
831
818
|
height: 13px;
|
|
832
819
|
width: 13px;
|
|
833
820
|
color: currentColor;
|
|
834
821
|
}
|
|
835
|
-
.address-bar-content[data-v-
|
|
822
|
+
.address-bar-content[data-v-95886ec0] {
|
|
836
823
|
width: 640px;
|
|
837
824
|
height: 100%;
|
|
838
825
|
background: var(--scalar-background-1);
|
|
@@ -847,21 +834,21 @@ to {
|
|
|
847
834
|
opacity 0.01s ease-in-out 0.5s;
|
|
848
835
|
pointer-events: none;
|
|
849
836
|
}
|
|
850
|
-
.address-bar--with-history[data-v-
|
|
837
|
+
.address-bar--with-history[data-v-95886ec0] {
|
|
851
838
|
z-index: 100000;
|
|
852
839
|
}
|
|
853
|
-
.address-bar--with-history .address-bar-content[data-v-
|
|
840
|
+
.address-bar--with-history .address-bar-content[data-v-95886ec0] {
|
|
854
841
|
transform: translate3d(0, 0, 0);
|
|
855
842
|
opacity: 1;
|
|
856
843
|
pointer-events: all;
|
|
857
844
|
transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
|
|
858
845
|
}
|
|
859
|
-
.address-bar--with-history .address-bar-close[data-v-
|
|
846
|
+
.address-bar--with-history .address-bar-close[data-v-95886ec0] {
|
|
860
847
|
opacity: 1;
|
|
861
848
|
pointer-events: all;
|
|
862
849
|
cursor: pointer;
|
|
863
850
|
}
|
|
864
|
-
.address-bar-close[data-v-
|
|
851
|
+
.address-bar-close[data-v-95886ec0] {
|
|
865
852
|
width: 100%;
|
|
866
853
|
height: 100%;
|
|
867
854
|
position: fixed;
|
|
@@ -1570,13 +1557,11 @@ to {
|
|
|
1570
1557
|
.scalar-api-client__main__left {
|
|
1571
1558
|
width: 50%;
|
|
1572
1559
|
border-right: 1px solid var(--scalar-border-color);
|
|
1573
|
-
padding: 0 18px 12px 18px;
|
|
1574
1560
|
}
|
|
1575
1561
|
@media screen and (max-width: 820px) {
|
|
1576
1562
|
.scalar-api-client__main__left {
|
|
1577
1563
|
width: 100%;
|
|
1578
1564
|
border-right: none;
|
|
1579
|
-
padding: 0 12px 12px 12px;
|
|
1580
1565
|
}
|
|
1581
1566
|
}
|
|
1582
1567
|
.scalar-api-client__item__content {
|
|
@@ -1870,6 +1855,25 @@ to {
|
|
|
1870
1855
|
font-weight: var(--scalar-semibold);
|
|
1871
1856
|
}
|
|
1872
1857
|
|
|
1858
|
+
.ascii-art[data-v-c706348d] {
|
|
1859
|
+
font-family: var(--scalar-font-code);
|
|
1860
|
+
font-weight: var(--scalar-bold);
|
|
1861
|
+
font-size: 6px;
|
|
1862
|
+
color: var(--scalar-color-3);
|
|
1863
|
+
line-height: 7px;
|
|
1864
|
+
display: flex;
|
|
1865
|
+
flex-direction: column;
|
|
1866
|
+
align-items: flex-start;
|
|
1867
|
+
}
|
|
1868
|
+
.ascii-art-line-wrapper[data-v-c706348d] {
|
|
1869
|
+
display: inline-block;
|
|
1870
|
+
}
|
|
1871
|
+
.ascii-art-line[data-v-c706348d] {
|
|
1872
|
+
display: inline-block;
|
|
1873
|
+
white-space: pre;
|
|
1874
|
+
overflow: hidden;
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1873
1877
|
a[data-v-88788c44] {
|
|
1874
1878
|
color: var(--scalar-color-3);
|
|
1875
1879
|
text-decoration: underline;
|
|
@@ -1949,13 +1953,12 @@ a[data-v-88788c44] {
|
|
|
1949
1953
|
|
|
1950
1954
|
.scalar-api-client__main__right {
|
|
1951
1955
|
width: 50%;
|
|
1952
|
-
padding: 0 18px 12px 18px;
|
|
1953
1956
|
}
|
|
1954
1957
|
@media screen and (max-width: 820px) {
|
|
1955
1958
|
.scalar-api-client__main__right {
|
|
1956
|
-
width: 100%;
|
|
1957
1959
|
border-right: none;
|
|
1958
|
-
|
|
1960
|
+
height: 100%;
|
|
1961
|
+
width: 100%;
|
|
1959
1962
|
}
|
|
1960
1963
|
}
|
|
1961
1964
|
.scalar-api-client__main__right :deep(.scalar-copilot__header-button) {
|
|
@@ -1963,6 +1966,19 @@ a[data-v-88788c44] {
|
|
|
1963
1966
|
top: 6px;
|
|
1964
1967
|
right: 12px;
|
|
1965
1968
|
}
|
|
1969
|
+
.scalar-api-client__main__content .empty-state {
|
|
1970
|
+
align-items: center;
|
|
1971
|
+
display: flex;
|
|
1972
|
+
flex-direction: column;
|
|
1973
|
+
gap: 20px;
|
|
1974
|
+
height: calc(100% - 50px);
|
|
1975
|
+
justify-content: center;
|
|
1976
|
+
}
|
|
1977
|
+
.scalar-api-client__main__content .empty-state p {
|
|
1978
|
+
color: var(--scalar-color-2);
|
|
1979
|
+
font-size: var(--scalar-small);
|
|
1980
|
+
text-transform: capitalize;
|
|
1981
|
+
}
|
|
1966
1982
|
|
|
1967
1983
|
.scalar-api-client,
|
|
1968
1984
|
#headlessui-portal-root {
|
|
@@ -2034,34 +2050,48 @@ a[data-v-88788c44] {
|
|
|
2034
2050
|
}
|
|
2035
2051
|
|
|
2036
2052
|
/** TODO: Consider to make a Column component */
|
|
2037
|
-
.scalar-api-
|
|
2038
|
-
|
|
2053
|
+
.scalar-api-client__main__content__header {
|
|
2054
|
+
align-items: center;
|
|
2039
2055
|
background: var(--scalar-background-1);
|
|
2040
|
-
|
|
2056
|
+
border-bottom: 1px solid var(--scalar-border-color);
|
|
2057
|
+
display: flex;
|
|
2058
|
+
gap: 6px;
|
|
2059
|
+
height: 50px;
|
|
2060
|
+
padding: 16px;
|
|
2041
2061
|
position: sticky;
|
|
2062
|
+
top: 0;
|
|
2042
2063
|
z-index: 100;
|
|
2043
2064
|
}
|
|
2044
|
-
.scalar-api-
|
|
2065
|
+
.scalar-api-client__main__content__header label {
|
|
2045
2066
|
font-size: var(--scalar-small);
|
|
2046
2067
|
color: var(--scalar-color-1);
|
|
2047
2068
|
font-weight: var(--scalar-semibold);
|
|
2048
2069
|
display: flex;
|
|
2049
2070
|
align-items: center;
|
|
2050
2071
|
}
|
|
2072
|
+
.scalar-api-client__main__content:has(
|
|
2073
|
+
.scalar-api-client__main__content.empty-state
|
|
2074
|
+
) {
|
|
2075
|
+
height: 100%;
|
|
2076
|
+
}
|
|
2077
|
+
.scalar-api-client__main__content__body {
|
|
2078
|
+
padding: 8px;
|
|
2079
|
+
}
|
|
2051
2080
|
@media screen and (max-width: 820px) {
|
|
2052
|
-
.scalar-api-
|
|
2053
|
-
padding:
|
|
2081
|
+
.scalar-api-client__main__content__header {
|
|
2082
|
+
padding: 14px;
|
|
2054
2083
|
}
|
|
2055
2084
|
.scalar-api-client__main__content label {
|
|
2056
2085
|
display: none;
|
|
2057
2086
|
}
|
|
2058
2087
|
}
|
|
2059
2088
|
.meta {
|
|
2089
|
+
color: var(--scalar-api-client-color);
|
|
2060
2090
|
display: flex;
|
|
2061
|
-
|
|
2091
|
+
flex: 1;
|
|
2062
2092
|
font-size: var(--scalar-font-size-2);
|
|
2063
2093
|
font-weight: var(--scalar-font-size-2);
|
|
2064
|
-
|
|
2094
|
+
gap: 6px;
|
|
2065
2095
|
}
|
|
2066
2096
|
.meta-item svg {
|
|
2067
2097
|
fill: var(--scalar-color-ghost);
|
|
@@ -2072,7 +2102,6 @@ a[data-v-88788c44] {
|
|
|
2072
2102
|
.meta-item {
|
|
2073
2103
|
display: flex;
|
|
2074
2104
|
align-items: center;
|
|
2075
|
-
margin-right: 12px;
|
|
2076
2105
|
white-space: nowrap;
|
|
2077
2106
|
font-weight: var(--scalar-semibold);
|
|
2078
2107
|
font-size: var(--scalar-small);
|
|
@@ -2081,8 +2110,9 @@ a[data-v-88788c44] {
|
|
|
2081
2110
|
}
|
|
2082
2111
|
.meta-item__input {
|
|
2083
2112
|
background: transparent;
|
|
2084
|
-
|
|
2113
|
+
flex: 1;
|
|
2085
2114
|
margin-right: 0;
|
|
2115
|
+
width: 100%;
|
|
2086
2116
|
}
|
|
2087
2117
|
.types {
|
|
2088
2118
|
margin: auto;
|