@vizejs/vite-plugin-musea 0.564.0 → 0.566.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/a11y/index.d.mts +1 -1
- package/dist/a11y/index.mjs +1 -1
- package/dist/{a11y-CYZszxM7.mjs → a11y-CvjgENo9.mjs} +2 -2
- package/dist/{a11y-CYZszxM7.mjs.map → a11y-CvjgENo9.mjs.map} +1 -1
- package/dist/cli/index.d.mts +1 -1
- package/dist/cli/index.mjs +4 -3
- package/dist/cli/index.mjs.map +1 -1
- package/dist/gallery/assets/{MonacoEditor-C-Kz8nJV.js → MonacoEditor-BGVrhc2X.js} +2 -2
- package/dist/gallery/assets/{cssMode-tOL5h2ip.js → cssMode-COgcB_Po.js} +1 -1
- package/dist/gallery/assets/{editor.api-QJB2sGas.js → editor.api-qJSJ7Gzk.js} +1 -1
- package/dist/gallery/assets/{freemarker2-C0VTtNP9.js → freemarker2-CZxq_R_C.js} +1 -1
- package/dist/gallery/assets/{handlebars-BiViO-FR.js → handlebars-B5ngu8JD.js} +1 -1
- package/dist/gallery/assets/{html-lcJVRkaK.js → html-DBLTHxjC.js} +1 -1
- package/dist/gallery/assets/{htmlMode-B3N3KOLc.js → htmlMode-C_F6F2nC.js} +1 -1
- package/dist/gallery/assets/{index-BKBmulOh.js → index-CcXWIUyZ.js} +23 -23
- package/dist/gallery/assets/index-DgbWDrHF.css +1 -0
- package/dist/gallery/assets/{javascript-Hqp8uOPr.js → javascript-BnPalvVR.js} +1 -1
- package/dist/gallery/assets/{jsonMode-CNNTp7Vx.js → jsonMode-B9mP-X5z.js} +1 -1
- package/dist/gallery/assets/{liquid-DOuT761P.js → liquid-CQB9SE7f.js} +1 -1
- package/dist/gallery/assets/{lspLanguageFeatures-CPhp2FL1.js → lspLanguageFeatures-DCCz4pcV.js} +1 -1
- package/dist/gallery/assets/{mdx-BGUk7nH8.js → mdx-YmzWuhKr.js} +1 -1
- package/dist/gallery/assets/{python-xzGnnJ5Z.js → python-QmC9tp9f.js} +1 -1
- package/dist/gallery/assets/{razor-DomCeMH7.js → razor-Lo6W7GI9.js} +1 -1
- package/dist/gallery/assets/{register-B0fw3qCN.js → register-CyJ9awu9.js} +2 -2
- package/dist/gallery/assets/{toggleHighContrast-IyOZiwj0.js → toggleHighContrast-DoKT5tKP.js} +1 -1
- package/dist/gallery/assets/{tsMode-DCmcJQ4C.js → tsMode-DkbE8yJ8.js} +1 -1
- package/dist/gallery/assets/{typescript-CfpzSKnV.js → typescript-RprmrDbF.js} +1 -1
- package/dist/gallery/assets/{vs-C2QHYrig.js → vs-LGo4H9EM.js} +3 -3
- package/dist/gallery/assets/{workers-BvCKICgK.js → workers-CEMoRP2P.js} +1 -1
- package/dist/gallery/assets/{xml-Cgws4LRi.js → xml-B4CO-th0.js} +1 -1
- package/dist/gallery/assets/{yaml-B4z9DVwT.js → yaml-BTEADe-G.js} +1 -1
- package/dist/gallery/index.html +2 -2
- package/dist/{gallery-LgVvVp28.mjs → gallery-DXaH86OI.mjs} +2 -2
- package/dist/{gallery-LgVvVp28.mjs.map → gallery-DXaH86OI.mjs.map} +1 -1
- package/dist/{index-CYEDgY-M.d.mts → index-CxpR3ksr.d.mts} +3 -3
- package/dist/{index-CYEDgY-M.d.mts.map → index-CxpR3ksr.d.mts.map} +1 -1
- package/dist/{index-CbChC9Bf.d.mts → index-KyKZJ6OT.d.mts} +22 -9
- package/dist/{index-CbChC9Bf.d.mts.map → index-KyKZJ6OT.d.mts.map} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +8 -7
- package/dist/index.mjs.map +1 -1
- package/dist/{options-QDw_2r_3.mjs → options-CEIwZOhA.mjs} +34 -15
- package/dist/{options-QDw_2r_3.mjs.map → options-CEIwZOhA.mjs.map} +1 -1
- package/dist/{template-CpNUvZPp.mjs → template-rlGXzHBV.mjs} +2 -2
- package/dist/{template-CpNUvZPp.mjs.map → template-rlGXzHBV.mjs.map} +1 -1
- package/dist/{utils-BloA9YP9.mjs → utils-BRD_8Qsx.mjs} +23 -3
- package/dist/utils-BRD_8Qsx.mjs.map +1 -0
- package/dist/{vrt-DxXnmy43.mjs → vrt-CUz4NxKK.mjs} +83 -34
- package/dist/vrt-CUz4NxKK.mjs.map +1 -0
- package/dist/{vrt-DNoUalLH.d.mts → vrt-CpKpx_dy.d.mts} +16 -4
- package/dist/vrt-CpKpx_dy.d.mts.map +1 -0
- package/dist/vrt.d.mts +3 -2
- package/dist/vrt.mjs +2 -2
- package/package.json +4 -4
- package/dist/gallery/assets/index-B1qvZxKX.css +0 -1
- package/dist/utils-BloA9YP9.mjs.map +0 -1
- package/dist/vrt-DNoUalLH.d.mts.map +0 -1
- package/dist/vrt-DxXnmy43.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { c as
|
|
3
|
-
import { n as MuseaA11yRunner, t as A11ySummary } from "./index-
|
|
1
|
+
import { A as VrtOptions, C as PaletteApiResponse, D as ComparisonConfig, E as CiConfig, M as MuseaGlobals, N as MuseaToolbarControl, O as DiffStyle, P as MuseaToolbarOption, S as AnalysisApiResponse, T as CaptureConfig, _ as StyleDictionaryOutput, a as MuseaOptions, b as A11yOptions, c as MuseaThemeColors, d as MuseaTokenPreviewKind, f as MuseaTokenPreviewRule, g as StyleDictionaryConfig, h as DesignToken, i as CsfOutput, j as MuseaGlobalValue, k as ViewportConfig, l as MuseaVrtOptions, m as resolveTokenPreview, n as ArtMetadata, o as MuseaPreviewContext, p as ResolvedTokenPreview, r as ArtVariant, s as MuseaTheme, t as ArtFileInfo, u as MuseaTokenPreviewConfig, v as TokenCategory, w as BeforeCaptureContext, x as A11yResult, y as parseTokens } from "./index-KyKZJ6OT.mjs";
|
|
2
|
+
import { c as VrtResult, i as MuseaVrtRunner, l as VrtSummary, n as generateVrtJsonReport, r as generateVrtReport, t as UnsupportedDiffStyleError } from "./vrt-CpKpx_dy.mjs";
|
|
3
|
+
import { n as MuseaA11yRunner, t as A11ySummary } from "./index-CxpR3ksr.mjs";
|
|
4
4
|
import { AutogenOptions, AutogenOutput, GeneratedVariant, PropDefinition, generateArtFile, writeArtFile } from "./autogen/index.mjs";
|
|
5
5
|
import { Plugin } from "vite";
|
|
6
6
|
|
|
@@ -65,5 +65,5 @@ declare function generateTokensMarkdown(categories: TokenCategory[]): string;
|
|
|
65
65
|
*/
|
|
66
66
|
declare function processStyleDictionary(config: StyleDictionaryConfig): Promise<StyleDictionaryOutput>;
|
|
67
67
|
//#endregion
|
|
68
|
-
export { type A11yOptions, type A11yResult, type A11ySummary, type AnalysisApiResponse, type ArtFileInfo, type ArtMetadata, type ArtVariant, type AutogenOptions, type AutogenOutput, type CaptureConfig, type CiConfig, type ComparisonConfig, type CsfOutput, type DesignToken, type GeneratedVariant, MuseaA11yRunner, type MuseaGlobalValue, type MuseaGlobals, type MuseaOptions, type MuseaPreviewContext, type MuseaTheme, type MuseaThemeColors, type MuseaTokenPreviewConfig, type MuseaTokenPreviewKind, type MuseaTokenPreviewRule, type MuseaToolbarControl, type MuseaToolbarOption, type MuseaVrtOptions, MuseaVrtRunner, type PaletteApiResponse, type PropDefinition, type ResolvedTokenPreview, type StyleDictionaryConfig, type StyleDictionaryOutput, type TokenCategory, type TokenUsageMap, type ViewportConfig, type VrtOptions, type VrtResult, type VrtSummary, buildTokenMap, musea as default, musea, generateArtFile, generateTokensHtml, generateTokensMarkdown, generateVrtJsonReport, generateVrtReport, parseTokens, processStyleDictionary, resolveReferences, resolveTokenPreview, scanTokenUsage, writeArtFile };
|
|
68
|
+
export { type A11yOptions, type A11yResult, type A11ySummary, type AnalysisApiResponse, type ArtFileInfo, type ArtMetadata, type ArtVariant, type AutogenOptions, type AutogenOutput, type BeforeCaptureContext, type CaptureConfig, type CiConfig, type ComparisonConfig, type CsfOutput, type DesignToken, type DiffStyle, type GeneratedVariant, MuseaA11yRunner, type MuseaGlobalValue, type MuseaGlobals, type MuseaOptions, type MuseaPreviewContext, type MuseaTheme, type MuseaThemeColors, type MuseaTokenPreviewConfig, type MuseaTokenPreviewKind, type MuseaTokenPreviewRule, type MuseaToolbarControl, type MuseaToolbarOption, type MuseaVrtOptions, MuseaVrtRunner, type PaletteApiResponse, type PropDefinition, type ResolvedTokenPreview, type StyleDictionaryConfig, type StyleDictionaryOutput, type TokenCategory, type TokenUsageMap, UnsupportedDiffStyleError, type ViewportConfig, type VrtOptions, type VrtResult, type VrtSummary, buildTokenMap, musea as default, musea, generateArtFile, generateTokensHtml, generateTokensMarkdown, generateVrtJsonReport, generateVrtReport, parseTokens, processStyleDictionary, resolveReferences, resolveTokenPreview, scanTokenUsage, writeArtFile };
|
|
69
69
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as resolveUrlPathInside, E as loadNative, S as resolveTrustedSourcePath, _ as assertVueSourcePath, a as scanArtFiles, b as resolveInside, c as buildThemeConfig, d as createDevSessionToken, f as parseJsonBody, h as assertArtVueSourcePath, i as resolveScanRoots, m as validateDevApiRequest, n as generateStorybookFiles, o as shouldProcess, p as serializeScriptValue, r as matchGlob, t as escapeHtml, u as collectRequestBody, v as decodeUrlComponent, w as HttpError } from "./utils-
|
|
2
|
-
import { A as buildTokenMap, B as expandSelfTag, C as handleTokensGet, D as generateTokensHtml, E as resolveTokenPreview, F as parseScriptSetupForArt, H as variantComponentNames, I as rewriteRelativeImportStatement, L as loadArtStyle, M as scanTokenUsage, N as parseTokens, O as generateTokensMarkdown, P as generateArtModule, R as parseArtStyleRequest, S as handleTokensDelete, T as handleTokensUsage, V as resolveArtComponent, _ as handleArtAnalysis, a as attachArtReportOwner, b as handleArtPalette, c as rewriteDevGalleryAsset, d as createStaticGalleryPayload, f as joinUrlPath, g as sortedArts, h as staticPreviewId, i as assertArtReportOwnership, j as resolveReferences, k as processStyleDictionary, l as rewriteGalleryBase, m as resolveStaticIdentityRoot, o as resolveArtReportTarget, p as resolveStaticArtIdentity, r as processMuseaArtFile, s as publicBasePathFromViteBase, t as attachMuseaOptions, u as rewriteGalleryTextAssetBase, v as handleArtDocs, w as handleTokensUpdate, x as handleTokensCreate, y as handleArtSource, z as transformPreprocessedArtStyle } from "./options-
|
|
3
|
-
import { a as generateGalleryGlobalsScript, i as generateDevGlobalsScript, n as generateGalleryScript, r as generateGalleryModule, t as generateGalleryBody } from "./template-
|
|
4
|
-
import { i as MuseaVrtRunner, n as generateVrtJsonReport, r as generateVrtReport } from "./vrt-
|
|
5
|
-
import { t as MuseaA11yRunner } from "./a11y-
|
|
1
|
+
import { C as resolveUrlPathInside, E as loadNative, S as resolveTrustedSourcePath, _ as assertVueSourcePath, a as scanArtFiles, b as resolveInside, c as buildThemeConfig, d as createDevSessionToken, f as parseJsonBody, h as assertArtVueSourcePath, i as resolveScanRoots, m as validateDevApiRequest, n as generateStorybookFiles, o as shouldProcess, p as serializeScriptValue, r as matchGlob, t as escapeHtml, u as collectRequestBody, v as decodeUrlComponent, w as HttpError } from "./utils-BRD_8Qsx.mjs";
|
|
2
|
+
import { A as buildTokenMap, B as expandSelfTag, C as handleTokensGet, D as generateTokensHtml, E as resolveTokenPreview, F as parseScriptSetupForArt, H as variantComponentNames, I as rewriteRelativeImportStatement, L as loadArtStyle, M as scanTokenUsage, N as parseTokens, O as generateTokensMarkdown, P as generateArtModule, R as parseArtStyleRequest, S as handleTokensDelete, T as handleTokensUsage, V as resolveArtComponent, _ as handleArtAnalysis, a as attachArtReportOwner, b as handleArtPalette, c as rewriteDevGalleryAsset, d as createStaticGalleryPayload, f as joinUrlPath, g as sortedArts, h as staticPreviewId, i as assertArtReportOwnership, j as resolveReferences, k as processStyleDictionary, l as rewriteGalleryBase, m as resolveStaticIdentityRoot, o as resolveArtReportTarget, p as resolveStaticArtIdentity, r as processMuseaArtFile, s as publicBasePathFromViteBase, t as attachMuseaOptions, u as rewriteGalleryTextAssetBase, v as handleArtDocs, w as handleTokensUpdate, x as handleTokensCreate, y as handleArtSource, z as transformPreprocessedArtStyle } from "./options-CEIwZOhA.mjs";
|
|
3
|
+
import { a as generateGalleryGlobalsScript, i as generateDevGlobalsScript, n as generateGalleryScript, r as generateGalleryModule, t as generateGalleryBody } from "./template-rlGXzHBV.mjs";
|
|
4
|
+
import { a as UnsupportedDiffStyleError, i as MuseaVrtRunner, n as generateVrtJsonReport, r as generateVrtReport } from "./vrt-CUz4NxKK.mjs";
|
|
5
|
+
import { t as MuseaA11yRunner } from "./a11y-CvjgENo9.mjs";
|
|
6
6
|
import { n as writeArtFile, t as generateArtFile } from "./autogen-B-N0cJbZ.mjs";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import fs, { existsSync } from "node:fs";
|
|
@@ -840,7 +840,7 @@ async function tryLoadSourceGalleryHtml(devServer, url, basePath, devSessionToke
|
|
|
840
840
|
return devServer.transformIndexHtml(url, html);
|
|
841
841
|
}
|
|
842
842
|
async function generateFallbackGalleryHtml(basePath, devSessionToken, themeConfig, tokenPreviewConfig, toolbar) {
|
|
843
|
-
const { generateGalleryHtml } = await import("./gallery-
|
|
843
|
+
const { generateGalleryHtml } = await import("./gallery-DXaH86OI.mjs");
|
|
844
844
|
return generateGalleryHtml(basePath, devSessionToken, themeConfig, tokenPreviewConfig, toolbar);
|
|
845
845
|
}
|
|
846
846
|
async function serveGalleryAsset(galleryDistDir, requestUrl, res, basePath = "/__musea__") {
|
|
@@ -1124,6 +1124,7 @@ async function handleRunVrt(ctx, body, sendJson, sendError) {
|
|
|
1124
1124
|
snapshotPath: r.snapshotPath,
|
|
1125
1125
|
currentPath: r.currentPath,
|
|
1126
1126
|
diffPath: r.diffPath,
|
|
1127
|
+
diffStyle: r.diffStyle,
|
|
1127
1128
|
error: r.error
|
|
1128
1129
|
})),
|
|
1129
1130
|
artifacts: {
|
|
@@ -2234,6 +2235,6 @@ function resolveProjectRoot(projectRoot, viteRoot) {
|
|
|
2234
2235
|
//#region src/index.ts
|
|
2235
2236
|
var src_default = musea;
|
|
2236
2237
|
//#endregion
|
|
2237
|
-
export { MuseaA11yRunner, MuseaVrtRunner, buildTokenMap, src_default as default, generateArtFile, generateTokensHtml, generateTokensMarkdown, generateVrtJsonReport, generateVrtReport, musea, parseTokens, processStyleDictionary, resolveReferences, resolveTokenPreview, scanTokenUsage, writeArtFile };
|
|
2238
|
+
export { MuseaA11yRunner, MuseaVrtRunner, UnsupportedDiffStyleError, buildTokenMap, src_default as default, generateArtFile, generateTokensHtml, generateTokensMarkdown, generateVrtJsonReport, generateVrtReport, musea, parseTokens, processStyleDictionary, resolveReferences, resolveTokenPreview, scanTokenUsage, writeArtFile };
|
|
2238
2239
|
|
|
2239
2240
|
//# sourceMappingURL=index.mjs.map
|