@scalar/api-client-react 2.0.52 → 2.0.54
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 +18 -12
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/style.css
CHANGED
|
@@ -404,6 +404,7 @@
|
|
|
404
404
|
--tracking-widest: .1em;
|
|
405
405
|
--leading-snug: 1.375;
|
|
406
406
|
--leading-normal: 1.5;
|
|
407
|
+
--leading-relaxed: 1.625;
|
|
407
408
|
--ease-in: cubic-bezier(.4, 0, 1, 1);
|
|
408
409
|
--ease-out: cubic-bezier(0, 0, .2, 1);
|
|
409
410
|
--ease-in-out: cubic-bezier(.4, 0, .2, 1);
|
|
@@ -1555,7 +1556,7 @@
|
|
|
1555
1556
|
content: none;
|
|
1556
1557
|
}
|
|
1557
1558
|
|
|
1558
|
-
.scalar-app .markdown.markdown-summary.markdown-summary :not(strong, em, a) {
|
|
1559
|
+
.scalar-app .markdown.markdown-summary.markdown-summary :not(strong, em, a, code) {
|
|
1559
1560
|
font-size: inherit;
|
|
1560
1561
|
font-weight: inherit;
|
|
1561
1562
|
line-height: var(--markdown-line-height);
|
|
@@ -4262,6 +4263,11 @@
|
|
|
4262
4263
|
line-height: var(--leading-normal);
|
|
4263
4264
|
}
|
|
4264
4265
|
|
|
4266
|
+
.scalar-app .leading-relaxed {
|
|
4267
|
+
--tw-leading: var(--leading-relaxed);
|
|
4268
|
+
line-height: var(--leading-relaxed);
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4265
4271
|
.scalar-app .leading-snug {
|
|
4266
4272
|
--tw-leading: var(--leading-snug);
|
|
4267
4273
|
line-height: var(--leading-snug);
|
|
@@ -6408,13 +6414,13 @@ to {
|
|
|
6408
6414
|
color: var(--scalar-color-1);
|
|
6409
6415
|
}
|
|
6410
6416
|
|
|
6411
|
-
.code-input-lite[data-v-
|
|
6417
|
+
.code-input-lite[data-v-f06520bd] {
|
|
6412
6418
|
/* Flex so the editor centres vertically in whatever height the cell gives us.
|
|
6413
6419
|
Font properties inherit so we adopt the surrounding typography. */
|
|
6414
6420
|
display: flex;
|
|
6415
6421
|
align-items: center;
|
|
6416
6422
|
}
|
|
6417
|
-
.code-input-lite__editor[data-v-
|
|
6423
|
+
.code-input-lite__editor[data-v-f06520bd] {
|
|
6418
6424
|
/* Everything font-related inherits from the surrounding context. */
|
|
6419
6425
|
font: inherit;
|
|
6420
6426
|
letter-spacing: inherit;
|
|
@@ -6436,7 +6442,7 @@ to {
|
|
|
6436
6442
|
/* Positioning context for the absolutely positioned placeholder. */
|
|
6437
6443
|
position: relative;
|
|
6438
6444
|
}
|
|
6439
|
-
.code-input-lite__editor[data-v-
|
|
6445
|
+
.code-input-lite__editor[data-v-f06520bd]::-webkit-scrollbar {
|
|
6440
6446
|
display: none;
|
|
6441
6447
|
}
|
|
6442
6448
|
|
|
@@ -6444,7 +6450,7 @@ to {
|
|
|
6444
6450
|
contenteditable; otherwise the caret would land after it on focus.
|
|
6445
6451
|
`pointer-events: none` lets clicks fall through to focus the editor.
|
|
6446
6452
|
Hidden on focus so it never renders on top of the text caret. */
|
|
6447
|
-
.code-input-lite--empty .code-input-lite__editor[data-v-
|
|
6453
|
+
.code-input-lite--empty .code-input-lite__editor[data-v-f06520bd]:not(:focus)::before {
|
|
6448
6454
|
content: attr(data-placeholder);
|
|
6449
6455
|
color: var(--scalar-color-3);
|
|
6450
6456
|
pointer-events: none;
|
|
@@ -6455,7 +6461,7 @@ to {
|
|
|
6455
6461
|
display: flex;
|
|
6456
6462
|
align-items: center;
|
|
6457
6463
|
}
|
|
6458
|
-
.code-input-lite--error .code-input-lite__editor[data-v-
|
|
6464
|
+
.code-input-lite--error .code-input-lite__editor[data-v-f06520bd] {
|
|
6459
6465
|
outline: 1px solid var(--scalar-color-red);
|
|
6460
6466
|
}
|
|
6461
6467
|
|
|
@@ -6662,11 +6668,11 @@ input[data-v-8e7de9be]::placeholder {
|
|
|
6662
6668
|
opacity: 0;
|
|
6663
6669
|
}
|
|
6664
6670
|
|
|
6665
|
-
.animate-response-heading .response-heading[data-v-
|
|
6666
|
-
animation: push-response-
|
|
6671
|
+
.animate-response-heading .response-heading[data-v-7f122fc4] {
|
|
6672
|
+
animation: push-response-7f122fc4 0.2s ease-in-out forwards;
|
|
6667
6673
|
opacity: 1;
|
|
6668
6674
|
}
|
|
6669
|
-
@keyframes push-response-
|
|
6675
|
+
@keyframes push-response-7f122fc4 {
|
|
6670
6676
|
from {
|
|
6671
6677
|
opacity: 1;
|
|
6672
6678
|
transform: translateY(0);
|
|
@@ -6676,11 +6682,11 @@ to {
|
|
|
6676
6682
|
transform: translateY(-4px);
|
|
6677
6683
|
}
|
|
6678
6684
|
}
|
|
6679
|
-
.animate-response-heading .animate-response-children[data-v-
|
|
6680
|
-
animation: response-spans-
|
|
6685
|
+
.animate-response-heading .animate-response-children[data-v-7f122fc4] {
|
|
6686
|
+
animation: response-spans-7f122fc4 0.2s ease-in-out forwards 0.05s;
|
|
6681
6687
|
opacity: 0;
|
|
6682
6688
|
}
|
|
6683
|
-
@keyframes response-spans-
|
|
6689
|
+
@keyframes response-spans-7f122fc4 {
|
|
6684
6690
|
from {
|
|
6685
6691
|
opacity: 0;
|
|
6686
6692
|
transform: translateY(4px);
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"testing",
|
|
20
20
|
"react"
|
|
21
21
|
],
|
|
22
|
-
"version": "2.0.
|
|
22
|
+
"version": "2.0.54",
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">=22"
|
|
25
25
|
},
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@scalar/api-client": "3.21.
|
|
43
|
-
"@scalar/blocks": "0.4.
|
|
42
|
+
"@scalar/api-client": "3.21.4",
|
|
43
|
+
"@scalar/blocks": "0.4.3",
|
|
44
44
|
"@scalar/helpers": "0.16.0",
|
|
45
|
-
"@scalar/workspace-store": "0.
|
|
45
|
+
"@scalar/workspace-store": "0.68.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@testing-library/dom": "^10.4.1",
|