@scalar/api-reference 0.1.6 → 0.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalar/api-reference",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "author": "Scalar",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
@@ -42,10 +42,10 @@
42
42
  "typographic-base": "1.0.4",
43
43
  "unified": "10.1.2",
44
44
  "xmldom": "0.6.0",
45
- "@scalar/api-client": "0.1.5",
46
- "@scalar/swagger-editor": "0.1.5",
47
- "@scalar/use-tooltip": "0.1.4",
48
- "@scalar/use-clipboard": "0.1.4"
45
+ "@scalar/api-client": "0.1.6",
46
+ "@scalar/use-clipboard": "0.1.4",
47
+ "@scalar/swagger-editor": "0.1.6",
48
+ "@scalar/use-tooltip": "0.1.4"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@vitejs/plugin-vue": "4.2.3",
package/README.md DELETED
@@ -1,42 +0,0 @@
1
- # Scalar API Reference
2
-
3
- Generate interactive API documentations from Swagger files
4
-
5
- ## Getting Started
6
-
7
- ```bash
8
- npm install @scalar/api-reference
9
- ```
10
-
11
- ```vue
12
- <script setup lang="ts">
13
- import { ApiReference } from '@scalar/api-reference'
14
- import '@scalar/api-reference/style.css'
15
- </script>
16
-
17
- <template>
18
- <ApiReference />
19
- </template>
20
- ```
21
-
22
- ## Styling
23
-
24
- ### 1) Default style
25
-
26
- ```js
27
- import '@scalar/api-reference/style.css'
28
- ```
29
-
30
- ### 2) Variables
31
-
32
- ```
33
- :root {
34
- --scalar-api-reference-font-sans: 'Comic Sans MS', 'Comic Sans', cursive;
35
- }
36
- ```
37
-
38
- ### 3) Bring your own CSS
39
-
40
- ```js
41
- // import '@scalar/api-reference/style.css'
42
- ```