@scalar/api-client-react 2.0.20 → 2.0.22
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 +4 -0
- package/dist/style.css +15 -18
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/style.css
CHANGED
|
@@ -104,12 +104,9 @@
|
|
|
104
104
|
--scalar-radius: 3px;
|
|
105
105
|
--scalar-radius-lg: 6px;
|
|
106
106
|
--scalar-radius-xl: 8px;
|
|
107
|
-
--scalar-font: "Inter", -
|
|
108
|
-
"
|
|
109
|
-
--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco,
|
|
110
|
-
"Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono",
|
|
111
|
-
"Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono",
|
|
112
|
-
"Courier New", monospace;
|
|
107
|
+
--scalar-font: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
108
|
+
"Noto Color Emoji";
|
|
109
|
+
--scalar-font-code: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
113
110
|
--scalar-heading-1: 24px;
|
|
114
111
|
--scalar-page-description: 16px;
|
|
115
112
|
--scalar-heading-2: 20px;
|
|
@@ -167,7 +164,7 @@
|
|
|
167
164
|
--scalar-scrollbar-color: #0000002e;
|
|
168
165
|
--scalar-button-1: #000;
|
|
169
166
|
--scalar-button-1-hover: #000c;
|
|
170
|
-
--scalar-button-1-color: #
|
|
167
|
+
--scalar-button-1-color: #fff;
|
|
171
168
|
--scalar-shadow-1: 0 1px 3px 0 #0000001c;
|
|
172
169
|
--scalar-shadow-2: #00000014 0px 13px 20px 0px, #00000014 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;
|
|
173
170
|
--scalar-lifted-brightness: 1;
|
|
@@ -261,7 +258,7 @@
|
|
|
261
258
|
--scalar-link-color-hover: var(--scalar-link-color);
|
|
262
259
|
--scalar-button-1: #000;
|
|
263
260
|
--scalar-button-1-hover: #000c;
|
|
264
|
-
--scalar-button-1-color: #
|
|
261
|
+
--scalar-button-1-color: #fff;
|
|
265
262
|
--scalar-tooltip-background: #1a1a1ae6;
|
|
266
263
|
--scalar-tooltip-color: #ffffffd9;
|
|
267
264
|
--scalar-color-alert: var(--scalar-color-orange);
|
|
@@ -619,6 +616,9 @@
|
|
|
619
616
|
transform: scale(3.5) rotate(360deg);
|
|
620
617
|
}
|
|
621
618
|
}
|
|
619
|
+
.scalar-code-block pre {
|
|
620
|
+
font-variant-ligatures: none;
|
|
621
|
+
}
|
|
622
622
|
.scalar-code-block.bg-b-1 .scalar-code-copy-backdrop {
|
|
623
623
|
background-color: var(--scalar-background-1);
|
|
624
624
|
}
|
|
@@ -1723,9 +1723,6 @@
|
|
|
1723
1723
|
.scalar-app .top-\[1lh\] {
|
|
1724
1724
|
top: 1lh;
|
|
1725
1725
|
}
|
|
1726
|
-
.scalar-app .top-\[calc\(10px\+0\.5lh\)\] {
|
|
1727
|
-
top: calc(10px + .5lh);
|
|
1728
|
-
}
|
|
1729
1726
|
.scalar-app .top-\[calc\(100\%\+4px\)\] {
|
|
1730
1727
|
top: calc(100% + 4px);
|
|
1731
1728
|
}
|
|
@@ -5454,34 +5451,34 @@ to {
|
|
|
5454
5451
|
transform: translateY(0);
|
|
5455
5452
|
}
|
|
5456
5453
|
}
|
|
5457
|
-
.request-card[data-v-
|
|
5454
|
+
.request-card[data-v-70ede25b] {
|
|
5458
5455
|
color: var(--scalar-color-1);
|
|
5459
5456
|
font-size: var(--scalar-font-size-3);
|
|
5460
5457
|
}
|
|
5461
|
-
.request-method[data-v-
|
|
5458
|
+
.request-method[data-v-70ede25b] {
|
|
5462
5459
|
font-family: var(--scalar-font-code);
|
|
5463
5460
|
text-transform: uppercase;
|
|
5464
5461
|
margin-right: 6px;
|
|
5465
5462
|
}
|
|
5466
|
-
.request-card-footer[data-v-
|
|
5463
|
+
.request-card-footer[data-v-70ede25b] {
|
|
5467
5464
|
display: flex;
|
|
5468
5465
|
justify-content: flex-end;
|
|
5469
5466
|
padding: 6px;
|
|
5470
5467
|
flex-shrink: 0;
|
|
5471
5468
|
position: relative;
|
|
5472
5469
|
}
|
|
5473
|
-
.request-card-footer-addon[data-v-
|
|
5470
|
+
.request-card-footer-addon[data-v-70ede25b] {
|
|
5474
5471
|
display: flex;
|
|
5475
5472
|
align-items: center;
|
|
5476
5473
|
|
|
5477
5474
|
flex: 1;
|
|
5478
5475
|
min-width: 0;
|
|
5479
5476
|
}
|
|
5480
|
-
.request-editor-section[data-v-
|
|
5477
|
+
.request-editor-section[data-v-70ede25b] {
|
|
5481
5478
|
display: flex;
|
|
5482
5479
|
flex: 1;
|
|
5483
5480
|
}
|
|
5484
|
-
.request-card-simple[data-v-
|
|
5481
|
+
.request-card-simple[data-v-70ede25b] {
|
|
5485
5482
|
display: flex;
|
|
5486
5483
|
align-items: center;
|
|
5487
5484
|
justify-content: space-between;
|
|
@@ -5490,7 +5487,7 @@ to {
|
|
|
5490
5487
|
|
|
5491
5488
|
font-size: var(--scalar-small);
|
|
5492
5489
|
}
|
|
5493
|
-
.code-snippet[data-v-
|
|
5490
|
+
.code-snippet[data-v-70ede25b] {
|
|
5494
5491
|
display: flex;
|
|
5495
5492
|
flex-direction: column;
|
|
5496
5493
|
width: 100%;
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"testing",
|
|
20
20
|
"react"
|
|
21
21
|
],
|
|
22
|
-
"version": "2.0.
|
|
22
|
+
"version": "2.0.22",
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">=22"
|
|
25
25
|
},
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@scalar/helpers": "0.8.
|
|
43
|
-
"@scalar/
|
|
44
|
-
"@scalar/
|
|
42
|
+
"@scalar/helpers": "0.8.1",
|
|
43
|
+
"@scalar/api-client": "3.10.0",
|
|
44
|
+
"@scalar/workspace-store": "0.54.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@testing-library/dom": "^10.4.1",
|