@scalar/api-reference 1.22.19 → 1.22.24
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 +75 -0
- package/README.md +4 -4
- package/dist/Hide-Q3GPkIKH-Ba4DV2wS.cjs +1 -0
- package/dist/Hide-Q3GPkIKH-CR2flZgt.js +21 -0
- package/dist/Show-D86hKz5y-CLGkc2Cs.js +21 -0
- package/dist/Show-D86hKz5y-DCaWj13Q.cjs +1 -0
- package/dist/browser/standalone.js +14 -14
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiClientModal.vue.d.ts +1 -1
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.d.ts +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/Card/CardContent.vue.d.ts +1 -1
- package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
- package/dist/components/Card/CardFooter.vue.d.ts +1 -1
- package/dist/components/Card/CardFooter.vue.d.ts.map +1 -1
- package/dist/components/Card/CardHeader.vue.d.ts +1 -1
- package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts +1 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TryRequestButton.vue.d.ts +1 -1
- package/dist/components/Content/Operation/TryRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/mutationObserver.d.ts +1 -1
- package/dist/components/Content/Tag/mutationObserver.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/SearchButton.vue.d.ts +1 -1
- package/dist/components/SearchButton.vue.d.ts.map +1 -1
- package/dist/helpers/getHeadingsFromMarkdown.d.ts +1 -1
- package/dist/helpers/getHeadingsFromMarkdown.d.ts.map +1 -1
- package/dist/helpers/getLowestHeadingLevel.d.ts +1 -1
- package/dist/helpers/getLowestHeadingLevel.d.ts.map +1 -1
- package/dist/helpers/hasSecuritySchemes.d.ts +1 -1
- package/dist/helpers/hasSecuritySchemes.d.ts.map +1 -1
- package/dist/helpers/hasWebhooks.d.ts +1 -1
- package/dist/helpers/hasWebhooks.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.d.ts +2 -2
- package/dist/helpers/provideSymbols.d.ts.map +1 -1
- package/dist/helpers/specHelpers.d.ts +1 -1
- package/dist/helpers/specHelpers.d.ts.map +1 -1
- package/dist/hooks/useReactiveSpec.d.ts +1 -37
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/index.cjs +140 -694
- package/dist/index.css +1 -1
- package/dist/index.js +13810 -13773
- package/dist/standalone.spec.d.ts +2 -0
- package/dist/standalone.spec.d.ts.map +1 -0
- package/package.json +16 -15
- package/dist/components/CustomToaster.vue.d.ts +0 -3
- package/dist/components/CustomToaster.vue.d.ts.map +0 -1
- package/dist/hooks/useToasts.d.ts +0 -12
- package/dist/hooks/useToasts.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standalone.spec.d.ts","sourceRoot":"","sources":["../src/standalone.spec.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
"author": "Scalar (https://github.com/scalar)",
|
|
6
6
|
"homepage": "https://github.com/scalar/scalar",
|
|
7
7
|
"bugs": "https://github.com/scalar/scalar/issues/new/choose",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/scalar/scalar.git",
|
|
11
|
+
"directory": "packages/api-reference"
|
|
12
|
+
},
|
|
8
13
|
"keywords": [
|
|
9
14
|
"component",
|
|
10
15
|
"documentation",
|
|
@@ -15,7 +20,7 @@
|
|
|
15
20
|
"vue",
|
|
16
21
|
"vue3"
|
|
17
22
|
],
|
|
18
|
-
"version": "1.22.
|
|
23
|
+
"version": "1.22.24",
|
|
19
24
|
"engines": {
|
|
20
25
|
"node": ">=18"
|
|
21
26
|
},
|
|
@@ -39,11 +44,6 @@
|
|
|
39
44
|
],
|
|
40
45
|
"browser": "./dist/browser/standalone.js",
|
|
41
46
|
"module": "./dist/index.js",
|
|
42
|
-
"repository": {
|
|
43
|
-
"type": "git",
|
|
44
|
-
"url": "https://github.com/scalar/scalar.git",
|
|
45
|
-
"directory": "packages/api-reference"
|
|
46
|
-
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@headlessui/vue": "^1.7.20",
|
|
49
49
|
"@scalar/openapi-parser": "^0.3.2",
|
|
@@ -68,14 +68,13 @@
|
|
|
68
68
|
"remark-stringify": "^11.0.0",
|
|
69
69
|
"unhead": "^1.8.3",
|
|
70
70
|
"unified": "^11.0.4",
|
|
71
|
-
"
|
|
72
|
-
"@scalar/
|
|
73
|
-
"@scalar/
|
|
74
|
-
"@scalar/
|
|
75
|
-
"@scalar/
|
|
76
|
-
"@scalar/use-
|
|
77
|
-
"@scalar/use-tooltip": "0.6.
|
|
78
|
-
"@scalar/oas-utils": "0.1.6"
|
|
71
|
+
"@scalar/api-client": "1.2.16",
|
|
72
|
+
"@scalar/components": "0.7.3",
|
|
73
|
+
"@scalar/oas-utils": "0.1.10",
|
|
74
|
+
"@scalar/themes": "0.7.9",
|
|
75
|
+
"@scalar/use-modal": "0.3.3",
|
|
76
|
+
"@scalar/use-toasts": "0.6.4",
|
|
77
|
+
"@scalar/use-tooltip": "0.6.2"
|
|
79
78
|
},
|
|
80
79
|
"devDependencies": {
|
|
81
80
|
"@etchteam/storybook-addon-css-variables-theme": "^1.5.1",
|
|
@@ -101,7 +100,9 @@
|
|
|
101
100
|
"vite-plugin-css-injected-by-js": "^3.4.0",
|
|
102
101
|
"vite-plugin-lib-inject-css": "^2.0.1",
|
|
103
102
|
"vitest": "^1.5.0",
|
|
104
|
-
"
|
|
103
|
+
"vitest-matchmedia-mock": "^1.0.5",
|
|
104
|
+
"vue-tsc": "^1.8.19",
|
|
105
|
+
"@scalar/galaxy": "0.1.2"
|
|
105
106
|
},
|
|
106
107
|
"peerDependencies": {
|
|
107
108
|
"unified": "^11.0.0",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
3
|
-
//# sourceMappingURL=CustomToaster.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CustomToaster.vue.d.ts","sourceRoot":"","sources":["../../src/components/CustomToaster.vue.ts"],"names":[],"mappings":";AA4DA,wBAKG"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type ToastFunction = (message: string, level?: 'warn' | 'info' | 'error') => void | null;
|
|
2
|
-
/**
|
|
3
|
-
* Set the toast function that will be used throughout the app
|
|
4
|
-
* If using APIReference Layouts directly this can use the parent app toast function
|
|
5
|
-
*/
|
|
6
|
-
export declare function initializeToasts(toastFunction: ToastFunction): void;
|
|
7
|
-
/** Emit toasts */
|
|
8
|
-
export declare function useToasts(): {
|
|
9
|
-
initializeToasts: typeof initializeToasts;
|
|
10
|
-
toast: ToastFunction;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useToasts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useToasts.d.ts","sourceRoot":"","sources":["../../src/hooks/useToasts.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,CAC1B,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAC9B,IAAI,GAAG,IAAI,CAAA;AAQhB;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,QAE5D;AAED,kBAAkB;AAClB,wBAAgB,SAAS;;;EAKxB"}
|