@scalar/api-reference 0.1.29 → 0.1.30
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/style.css
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.sidebar-search[data-v-
|
|
69
|
+
.sidebar-search[data-v-f87e89f2] {
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
72
|
position: relative;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--margin-x: 12px;
|
|
75
75
|
width: calc(100% - 2 * var(--margin-x));
|
|
76
76
|
margin: 12px var(--margin-x) 6px var(--margin-x);
|
|
77
|
-
padding: 0 12px;
|
|
77
|
+
padding: 0 3px 0 12px;
|
|
78
78
|
|
|
79
79
|
color: var(--sidebar-color-2, var(--theme-color-2));
|
|
80
80
|
outline: none;
|
|
@@ -85,17 +85,30 @@
|
|
|
85
85
|
cursor: pointer;
|
|
86
86
|
appearance: none;
|
|
87
87
|
}
|
|
88
|
-
.sidebar-search-input[data-v-
|
|
88
|
+
.sidebar-search-input[data-v-f87e89f2] {
|
|
89
89
|
font-size: var(--theme-small);
|
|
90
90
|
font-weight: var(--theme-semibold);
|
|
91
|
-
|
|
91
|
+
height: 31px;
|
|
92
92
|
|
|
93
93
|
user-select: none;
|
|
94
94
|
z-index: 10;
|
|
95
95
|
position: relative;
|
|
96
|
-
display:
|
|
96
|
+
display: flex;
|
|
97
|
+
width: 100%;
|
|
98
|
+
justify-content: space-between;
|
|
99
|
+
align-items: center;
|
|
100
|
+
}
|
|
101
|
+
.sidebar-search-shortcut[data-v-f87e89f2] {
|
|
102
|
+
text-transform: uppercase;
|
|
97
103
|
}
|
|
98
|
-
.search-
|
|
104
|
+
.sidebar-search-key[data-v-f87e89f2] {
|
|
105
|
+
background-color: var(--theme-background-2);
|
|
106
|
+
padding: 3px 5px;
|
|
107
|
+
margin: 2px;
|
|
108
|
+
border-radius: var(--theme-radius);
|
|
109
|
+
color: var(--theme-color-3);
|
|
110
|
+
}
|
|
111
|
+
.search-icon[data-v-f87e89f2] {
|
|
99
112
|
padding: 0;
|
|
100
113
|
margin-right: 9px;
|
|
101
114
|
width: 12px;
|
|
@@ -1470,22 +1483,8 @@ to {
|
|
|
1470
1483
|
border-radius: var(--theme-radius-lg) var(--theme-radius-lg) 0 0;
|
|
1471
1484
|
}
|
|
1472
1485
|
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
}
|
|
1476
|
-
.patch[data-v-6fd55f49] {
|
|
1477
|
-
color: var(--theme-patch-color);
|
|
1478
|
-
}
|
|
1479
|
-
.get[data-v-6fd55f49] {
|
|
1480
|
-
color: var(--theme-get-color);
|
|
1481
|
-
}
|
|
1482
|
-
.delete[data-v-6fd55f49] {
|
|
1483
|
-
color: var(--theme-delete-color);
|
|
1484
|
-
}
|
|
1485
|
-
.put[data-v-6fd55f49] {
|
|
1486
|
-
color: var(--theme-put-color);
|
|
1487
|
-
}
|
|
1488
|
-
.ref-search-input[data-v-6fd55f49] {
|
|
1486
|
+
/** Input */
|
|
1487
|
+
.ref-search-input[data-v-bee36e88] {
|
|
1489
1488
|
width: 100%;
|
|
1490
1489
|
background: transparent;
|
|
1491
1490
|
padding: 12px;
|
|
@@ -1499,54 +1498,63 @@ to {
|
|
|
1499
1498
|
appearance: none;
|
|
1500
1499
|
margin-bottom: 12px;
|
|
1501
1500
|
}
|
|
1502
|
-
.ref-search-input[data-v-
|
|
1503
|
-
.ref-search-input[data-v-
|
|
1501
|
+
.ref-search-input[data-v-bee36e88]::-webkit-input-placeholder,
|
|
1502
|
+
.ref-search-input[data-v-bee36e88]::placeholder {
|
|
1504
1503
|
color: var(--theme-color-3);
|
|
1505
1504
|
font-family: var(--theme-font);
|
|
1506
1505
|
font-weight: var(--theme-regular);
|
|
1507
1506
|
}
|
|
1508
|
-
|
|
1507
|
+
/** Results */
|
|
1508
|
+
.item-entry[data-v-bee36e88] {
|
|
1509
1509
|
appearance: none;
|
|
1510
1510
|
background: transparent;
|
|
1511
1511
|
border: none;
|
|
1512
1512
|
outline: none;
|
|
1513
|
-
padding: 6px
|
|
1513
|
+
padding: 6px 12px;
|
|
1514
1514
|
width: 100%;
|
|
1515
1515
|
font-size: var(--theme-font-size-3);
|
|
1516
1516
|
text-align: left;
|
|
1517
|
-
border-
|
|
1517
|
+
border-radius: var(--theme-radius);
|
|
1518
|
+
display: flex;
|
|
1519
|
+
flex-direction: column;
|
|
1520
|
+
gap: 6px;
|
|
1518
1521
|
}
|
|
1519
|
-
.item-entry[data-v-
|
|
1522
|
+
.item-entry--active[data-v-bee36e88] {
|
|
1520
1523
|
background: var(--theme-background-2);
|
|
1521
|
-
border-radius: var(--theme-radius);
|
|
1522
|
-
border-bottom-color: transparent;
|
|
1523
1524
|
box-shadow: 0 0 0 1px var(--theme-background-2);
|
|
1524
|
-
width: calc(100% + 12px);
|
|
1525
|
-
padding: 6px;
|
|
1526
|
-
position: relative;
|
|
1527
|
-
left: -6px;
|
|
1528
|
-
z-index: 10;
|
|
1529
|
-
}
|
|
1530
|
-
.item-entry[data-v-6fd55f49]:has(+ .item-entry:hover) {
|
|
1531
|
-
border-bottom-color: transparent;
|
|
1532
1525
|
}
|
|
1533
|
-
.item-entry
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
color: var(--theme-color-3);
|
|
1526
|
+
.item-entry[data-v-bee36e88]:hover {
|
|
1527
|
+
background: var(--theme-background-2);
|
|
1528
|
+
box-shadow: 0 0 0 1px var(--theme-background-2);
|
|
1537
1529
|
}
|
|
1538
|
-
.item-entry
|
|
1539
|
-
|
|
1530
|
+
.item-entry-title[data-v-bee36e88] {
|
|
1531
|
+
font-weight: var(--theme-semibold);
|
|
1540
1532
|
}
|
|
1541
|
-
.item-entry-
|
|
1533
|
+
.item-entry-request[data-v-bee36e88] {
|
|
1534
|
+
display: flex;
|
|
1535
|
+
gap: 3px;
|
|
1542
1536
|
font-family: var(--theme-font-code);
|
|
1543
|
-
min-width: 100px;
|
|
1544
|
-
display: inline-block;
|
|
1545
|
-
text-align: right;
|
|
1546
1537
|
}
|
|
1547
|
-
.item-entry-
|
|
1548
|
-
|
|
1549
|
-
|
|
1538
|
+
.item-entry-http-verb[data-v-bee36e88] {
|
|
1539
|
+
text-transform: uppercase;
|
|
1540
|
+
}
|
|
1541
|
+
.item-entry-http-verb--post[data-v-bee36e88] {
|
|
1542
|
+
color: var(--theme-post-color);
|
|
1543
|
+
}
|
|
1544
|
+
.item-entry-http-verb--patch[data-v-bee36e88] {
|
|
1545
|
+
color: var(--theme-patch-color);
|
|
1546
|
+
}
|
|
1547
|
+
.item-entry-http-verb--get[data-v-bee36e88] {
|
|
1548
|
+
color: var(--theme-get-color);
|
|
1549
|
+
}
|
|
1550
|
+
.item-entry-http-verb--delete[data-v-bee36e88] {
|
|
1551
|
+
color: var(--theme-delete-color);
|
|
1552
|
+
}
|
|
1553
|
+
.item-entry-http-verb--put[data-v-bee36e88] {
|
|
1554
|
+
color: var(--theme-put-color);
|
|
1555
|
+
}
|
|
1556
|
+
.item-entry-path[data-v-bee36e88] {
|
|
1557
|
+
color: var(--theme-color-3);
|
|
1550
1558
|
}
|
|
1551
1559
|
|
|
1552
1560
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scalar/api-reference",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"author": "Scalar",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -45,11 +45,12 @@
|
|
|
45
45
|
"typographic-base": "1.0.4",
|
|
46
46
|
"unified": "10.1.2",
|
|
47
47
|
"xmldom": "0.6.0",
|
|
48
|
-
"@scalar/api-client": "0.1.
|
|
49
|
-
"@scalar/swagger-
|
|
50
|
-
"@scalar/swagger-
|
|
51
|
-
"@scalar/use-
|
|
52
|
-
"@scalar/use-
|
|
48
|
+
"@scalar/api-client": "0.1.20",
|
|
49
|
+
"@scalar/swagger-parser": "0.1.13",
|
|
50
|
+
"@scalar/swagger-editor": "0.1.15",
|
|
51
|
+
"@scalar/use-tooltip": "0.1.4",
|
|
52
|
+
"@scalar/use-keyboard-event": "0.1.4",
|
|
53
|
+
"@scalar/use-clipboard": "0.1.4"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@vitejs/plugin-vue": "4.2.3",
|