@scalar/nuxt 0.2.136 → 0.2.137
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/module.d.mts
CHANGED
|
@@ -11,9 +11,9 @@ type Configuration = Omit<ReferenceConfiguration, 'layout' | 'isEditable' | 'onS
|
|
|
11
11
|
/**
|
|
12
12
|
* The theme to use for the reference
|
|
13
13
|
*
|
|
14
|
-
* @default
|
|
14
|
+
* @default undefined (nuxt theme)
|
|
15
15
|
*/
|
|
16
|
-
theme?: ReferenceConfiguration['theme']
|
|
16
|
+
theme?: ReferenceConfiguration['theme'];
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
type ModuleOptions = {
|
package/dist/module.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ type Configuration = Omit<ReferenceConfiguration, 'layout' | 'isEditable' | 'onS
|
|
|
11
11
|
/**
|
|
12
12
|
* The theme to use for the reference
|
|
13
13
|
*
|
|
14
|
-
* @default
|
|
14
|
+
* @default undefined (nuxt theme)
|
|
15
15
|
*/
|
|
16
|
-
theme?: ReferenceConfiguration['theme']
|
|
16
|
+
theme?: ReferenceConfiguration['theme'];
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
type ModuleOptions = {
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -40,11 +40,7 @@ useHead({
|
|
|
40
40
|
// Add baseServerURL and _integration
|
|
41
41
|
const { origin } = useRequestURL()
|
|
42
42
|
|
|
43
|
-
const config: Partial<
|
|
44
|
-
Omit<ReferenceConfiguration, 'theme'> & {
|
|
45
|
-
theme?: ReferenceConfiguration['theme'] | 'nuxt'
|
|
46
|
-
}
|
|
47
|
-
> = {
|
|
43
|
+
const config: Partial<ReferenceConfiguration> = {
|
|
48
44
|
baseServerURL: origin,
|
|
49
45
|
_integration: 'nuxt',
|
|
50
46
|
...props.configuration,
|
|
@@ -54,7 +50,7 @@ const config: Partial<
|
|
|
54
50
|
<template>
|
|
55
51
|
<ModernLayout
|
|
56
52
|
:configuration="config"
|
|
57
|
-
:isDark="isDark"
|
|
53
|
+
:isDark="!!isDark"
|
|
58
54
|
:parsedSpec="parsedSpec"
|
|
59
55
|
:rawSpec="rawSpec"
|
|
60
56
|
@toggleDarkMode="isDark = !isDark" />
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"testing",
|
|
21
21
|
"vue"
|
|
22
22
|
],
|
|
23
|
-
"version": "0.2.
|
|
23
|
+
"version": "0.2.137",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@nuxt/kit": "^3.12.3",
|
|
42
|
-
"@scalar/api-
|
|
43
|
-
"@scalar/api-
|
|
42
|
+
"@scalar/api-reference": "1.25.59",
|
|
43
|
+
"@scalar/api-client": "2.1.44"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@nuxt/devtools": "^1.3.9",
|