@deot/docs-playground 1.0.9 → 1.1.0

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/index.d.ts CHANGED
@@ -31,13 +31,15 @@ onNavigate?: ((to: string) => any) | undefined;
31
31
  "onUpdate:entry"?: ((entry: string) => any) | undefined;
32
32
  "onUpdate:viewport"?: ((viewport: PlaygroundViewport) => any) | undefined;
33
33
  }>, {
34
+ title: string;
34
35
  files: PlaygroundFiles;
35
- entry: string;
36
36
  views: readonly string[];
37
+ entry: string;
37
38
  modelValue: string;
38
39
  options: PlaygroundOptions;
39
40
  previewInset: PlaygroundPreviewInset;
40
41
  styleless: boolean;
42
+ id: string;
41
43
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
44
 
43
45
  declare type __VLS_Props = {
@@ -58,6 +60,9 @@ declare type __VLS_Props_2 = {
58
60
  styleless?: boolean;
59
61
  options?: PlaygroundOptions;
60
62
  previewInset?: PlaygroundPreviewInset;
63
+ expandable?: PlaygroundExpandable;
64
+ title?: string;
65
+ id?: string;
61
66
  previewOptions?: PlaygroundPreviewOptions;
62
67
  locale?: Language;
63
68
  };
@@ -156,6 +161,8 @@ export declare const normalizeCdnURL: (cdnURL?: string) => string;
156
161
 
157
162
  export declare const Playground: typeof __VLS_export_2;
158
163
 
164
+ export declare type PlaygroundExpandable = true | number;
165
+
159
166
  export declare type PlaygroundFiles = Record<string, string>;
160
167
 
161
168
  export declare interface PlaygroundFilesProps {
@@ -193,6 +200,8 @@ export declare const removePlaygroundStyleOverride: (alias: string) => {
193
200
 
194
201
  export declare const resolveHighlightLanguage: (filename: string) => "xml" | "javascript" | "typescript" | "css" | "scss" | "vue" | "json" | "plaintext";
195
202
 
203
+ export declare const resolvePlaygroundTitleId: (title: string, explicitId?: string, isOccupied?: (id: string) => boolean) => string;
204
+
196
205
  export declare const setPlaygroundImportMapOverrides: (value?: Record<string, string>) => void;
197
206
 
198
207
  export declare const setPlaygroundSiteModules: (value?: Record<string, string>) => void;
@@ -201,6 +210,8 @@ export declare const setPlaygroundSiteStyles: (value?: Record<string, string>) =
201
210
 
202
211
  export declare const setPlaygroundStyleOverrides: (value?: Record<string, string>) => void;
203
212
 
213
+ export declare const slugifyPlaygroundTitle: (title: string) => string;
214
+
204
215
  export declare const vueHighlight: LanguageFn;
205
216
 
206
217
  export { }