@scalar/use-codemirror 0.7.0 β†’ 0.7.2

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 ADDED
@@ -0,0 +1,118 @@
1
+ # @scalar/use-codemirror
2
+
3
+ ## 0.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 8823d7a1: cleanup ui
8
+
9
+ ## 0.7.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 048555c6: feat: add CHANGELOG.md to the package
14
+
15
+ ## 0.7.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 3b1fec80: feat: show response body preview for json and html, add html syntax highlighting, no preview for unknown content
20
+
21
+ ### Patch Changes
22
+
23
+ - b184bdf2: codemirror themeing and other theme fixes
24
+ - addd9fa2: feat: use `default` prefix for all CSS variables
25
+
26
+ ## 0.6.0
27
+
28
+ ### Minor Changes
29
+
30
+ - 87fda5af: chore: update dependencies
31
+
32
+ ### Patch Changes
33
+
34
+ - ef080a26: chore: format package.json
35
+
36
+ ## 0.5.4
37
+
38
+ ### Patch Changes
39
+
40
+ - 81336114: add yjs support
41
+
42
+ ## 0.5.3
43
+
44
+ ### Patch Changes
45
+
46
+ - 068669b6: fix: unwrap extensions list
47
+
48
+ ## 0.5.2
49
+
50
+ ### Patch Changes
51
+
52
+ - ac492d94: fix: restart CodeMirror when custom extensions are added/removed
53
+
54
+ ## 0.5.1
55
+
56
+ ### Patch Changes
57
+
58
+ - d51aebe5: chore: remove source files from packages
59
+
60
+ ## 0.5.0
61
+
62
+ ### Minor Changes
63
+
64
+ - 0902d82c: \* refactor: add the CodeMirror component to @scalar/use-codemirror, use it everywhere
65
+ - feat: allow to pass forceDarkMode to the CodeMirror component
66
+
67
+ ### Patch Changes
68
+
69
+ - 10498d9d: chore: add README
70
+ - 494083a0: add more information to the package.json
71
+
72
+ ## 0.4.0
73
+
74
+ ### Minor Changes
75
+
76
+ - 5057e213: make npm packages public :-)
77
+
78
+ ## 0.3.1
79
+
80
+ ### Patch Changes
81
+
82
+ - 6420305b: fix: only require nunjucks where it’s needed
83
+
84
+ ## 0.3.0
85
+
86
+ ### Minor Changes
87
+
88
+ - b0f5221: manually releasing all packages to make sure the lastest version is on npm
89
+
90
+ ## 0.2.0
91
+
92
+ ### Minor Changes
93
+
94
+ - a ton of fixes, new fastify plugin
95
+
96
+ ## 0.1.4
97
+
98
+ ### Patch Changes
99
+
100
+ - fix: externalize dependencies
101
+
102
+ ## 0.1.3
103
+
104
+ ### Patch Changes
105
+
106
+ - fix: add CSS file to swagger editor
107
+
108
+ ## 0.1.2
109
+
110
+ ### Patch Changes
111
+
112
+ - 7cd41bc: fix: point main entry to dist folder
113
+
114
+ ## 0.1.1
115
+
116
+ ### Patch Changes
117
+
118
+ - f46e320: Initial release πŸ‘€
package/dist/style.css CHANGED
@@ -3,6 +3,9 @@
3
3
  .scalar-api-client__codemirror__wrapper {
4
4
  width: 100%;
5
5
  height: 100%;
6
+ padding-top: 4px;
7
+ min-height: 76px;
8
+ background: var(--theme-background-2, var(--default-theme-background-2));
6
9
  display: flex;
7
10
  align-items: stretch;
8
11
  }
@@ -24,6 +27,8 @@
24
27
  /** URL input */
25
28
  .scalar-api-client__url-input {
26
29
  font-weight: var(--theme-semibold, var(--default-theme-semibold));
30
+ min-height: auto;
31
+ padding-top: 0;
27
32
  }
28
33
 
29
34
  /* .scalar-api-client__url-input .cm-scroller {
@@ -36,3 +41,6 @@
36
41
  .scalar-api-client__variable {
37
42
  color: var(--scalar-api-client-color, var(--default-scalar-api-client-color));
38
43
  }
44
+ .cm-focused {
45
+ outline: none !important;
46
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scalar/use-codemirror",
3
3
  "description": "CodeMirror for Vue",
4
- "version": "0.7.0",
4
+ "version": "0.7.2",
5
5
  "author": "Scalar (https://github.com/scalar)",
6
6
  "bugs": "https://github.com/scalar/scalar/issues/new",
7
7
  "dependencies": {
@@ -44,7 +44,8 @@
44
44
  "import": "./dist/index.js"
45
45
  },
46
46
  "files": [
47
- "dist"
47
+ "dist",
48
+ "CHANGELOG.md"
48
49
  ],
49
50
  "homepage": "https://github.com/scalar/scalar",
50
51
  "keywords": [