@deot/docs-playground 1.0.10 → 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,7 +60,9 @@ declare type __VLS_Props_2 = {
58
60
  styleless?: boolean;
59
61
  options?: PlaygroundOptions;
60
62
  previewInset?: PlaygroundPreviewInset;
61
- expand?: PlaygroundExpand;
63
+ expandable?: PlaygroundExpandable;
64
+ title?: string;
65
+ id?: string;
62
66
  previewOptions?: PlaygroundPreviewOptions;
63
67
  locale?: Language;
64
68
  };
@@ -157,7 +161,7 @@ export declare const normalizeCdnURL: (cdnURL?: string) => string;
157
161
 
158
162
  export declare const Playground: typeof __VLS_export_2;
159
163
 
160
- export declare type PlaygroundExpand = true | number;
164
+ export declare type PlaygroundExpandable = true | number;
161
165
 
162
166
  export declare type PlaygroundFiles = Record<string, string>;
163
167
 
@@ -196,6 +200,8 @@ export declare const removePlaygroundStyleOverride: (alias: string) => {
196
200
 
197
201
  export declare const resolveHighlightLanguage: (filename: string) => "xml" | "javascript" | "typescript" | "css" | "scss" | "vue" | "json" | "plaintext";
198
202
 
203
+ export declare const resolvePlaygroundTitleId: (title: string, explicitId?: string, isOccupied?: (id: string) => boolean) => string;
204
+
199
205
  export declare const setPlaygroundImportMapOverrides: (value?: Record<string, string>) => void;
200
206
 
201
207
  export declare const setPlaygroundSiteModules: (value?: Record<string, string>) => void;
@@ -204,6 +210,8 @@ export declare const setPlaygroundSiteStyles: (value?: Record<string, string>) =
204
210
 
205
211
  export declare const setPlaygroundStyleOverrides: (value?: Record<string, string>) => void;
206
212
 
213
+ export declare const slugifyPlaygroundTitle: (title: string) => string;
214
+
207
215
  export declare const vueHighlight: LanguageFn;
208
216
 
209
217
  export { }