@vizejs/vite-plugin-musea 0.563.0 → 0.565.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/cli/index.d.mts +1 -1
- package/dist/cli/index.mjs +3 -2
- package/dist/cli/index.mjs.map +1 -1
- package/dist/gallery/assets/{MonacoEditor-C-Kz8nJV.js → MonacoEditor-DZJWyJx9.js} +2 -2
- package/dist/gallery/assets/{cssMode-tOL5h2ip.js → cssMode-B-I1tGjO.js} +1 -1
- package/dist/gallery/assets/{editor.api-QJB2sGas.js → editor.api-C0_8oBAA.js} +1 -1
- package/dist/gallery/assets/{freemarker2-C0VTtNP9.js → freemarker2-6uPReOAl.js} +1 -1
- package/dist/gallery/assets/{handlebars-BiViO-FR.js → handlebars-BLouHPNK.js} +1 -1
- package/dist/gallery/assets/{html-lcJVRkaK.js → html-BAhlwcY4.js} +1 -1
- package/dist/gallery/assets/{htmlMode-B3N3KOLc.js → htmlMode-DZaRqEO5.js} +1 -1
- package/dist/gallery/assets/{index-BKBmulOh.js → index-64JXEZCL.js} +4 -4
- package/dist/gallery/assets/index-BMx3p1yN.css +1 -0
- package/dist/gallery/assets/{javascript-Hqp8uOPr.js → javascript-CLQgopFj.js} +1 -1
- package/dist/gallery/assets/{jsonMode-CNNTp7Vx.js → jsonMode-Boi97TcW.js} +1 -1
- package/dist/gallery/assets/{liquid-DOuT761P.js → liquid-BPc6Dj4j.js} +1 -1
- package/dist/gallery/assets/{lspLanguageFeatures-CPhp2FL1.js → lspLanguageFeatures-C_7Om2d2.js} +1 -1
- package/dist/gallery/assets/{mdx-BGUk7nH8.js → mdx-Cxm5ZPwM.js} +1 -1
- package/dist/gallery/assets/{python-xzGnnJ5Z.js → python-CpO05pwW.js} +1 -1
- package/dist/gallery/assets/{razor-DomCeMH7.js → razor-Db8zmisx.js} +1 -1
- package/dist/gallery/assets/{register-B0fw3qCN.js → register-eMUBnhr-.js} +2 -2
- package/dist/gallery/assets/{toggleHighContrast-IyOZiwj0.js → toggleHighContrast-BYAXyQ_Q.js} +1 -1
- package/dist/gallery/assets/{tsMode-DCmcJQ4C.js → tsMode-DELtNaDX.js} +1 -1
- package/dist/gallery/assets/{typescript-CfpzSKnV.js → typescript-CdSoklps.js} +1 -1
- package/dist/gallery/assets/{vs-C2QHYrig.js → vs-QHpXhM39.js} +3 -3
- package/dist/gallery/assets/{workers-BvCKICgK.js → workers-MWeSzoZx.js} +1 -1
- package/dist/gallery/assets/{xml-Cgws4LRi.js → xml-Bi2qPy1Y.js} +1 -1
- package/dist/gallery/assets/{yaml-B4z9DVwT.js → yaml-BDqVzBNh.js} +1 -1
- package/dist/gallery/index.html +2 -2
- 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 +4 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{options-QDw_2r_3.mjs → options-L9XX6eic.mjs} +2 -2
- package/dist/{options-QDw_2r_3.mjs.map → options-L9XX6eic.mjs.map} +1 -1
- 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/vrt-DNoUalLH.d.mts.map +0 -1
- package/dist/vrt-DxXnmy43.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LaunchOptions } from "playwright";
|
|
1
|
+
import { LaunchOptions, Page as Page$1 } from "playwright";
|
|
2
2
|
|
|
3
3
|
//#region ../../../node_modules/.pnpm/@vue+shared@3.5.35/node_modules/@vue/shared/dist/shared.d.ts
|
|
4
4
|
type Prettify<T> = { [K in keyof T]: T[K] } & {};
|
|
@@ -21636,10 +21636,20 @@ interface VrtOptions {
|
|
|
21636
21636
|
*/
|
|
21637
21637
|
workers?: number;
|
|
21638
21638
|
}
|
|
21639
|
-
/**
|
|
21640
|
-
|
|
21641
|
-
|
|
21639
|
+
/** Identity of the isolated preview about to be captured. */
|
|
21640
|
+
interface BeforeCaptureContext {
|
|
21641
|
+
readonly artPath: string;
|
|
21642
|
+
readonly variantName: string;
|
|
21643
|
+
readonly viewport: Readonly<ViewportConfig>;
|
|
21644
|
+
}
|
|
21645
|
+
/** Screenshot capture configuration. */
|
|
21642
21646
|
interface CaptureConfig {
|
|
21647
|
+
/**
|
|
21648
|
+
* Run authored Playwright interactions/assertions after preview readiness and
|
|
21649
|
+
* waitSelector, before settleTime, hiding, masking and the screenshot.
|
|
21650
|
+
* Rejection fails this capture without writing or updating its baseline.
|
|
21651
|
+
*/
|
|
21652
|
+
beforeCapture?: (page: Page$1, context: BeforeCaptureContext) => void | Promise<void>;
|
|
21643
21653
|
/** Freeze finite/infinite animations during screenshots. @default "disabled" */
|
|
21644
21654
|
animations?: "disabled" | "allow";
|
|
21645
21655
|
/** Emulate prefers-reduced-motion. @default "no-preference" */
|
|
@@ -21658,12 +21668,15 @@ interface CaptureConfig {
|
|
|
21658
21668
|
waitSelector?: string;
|
|
21659
21669
|
/** Elements to hide before capture (CSS selectors) */
|
|
21660
21670
|
hideElements?: string[];
|
|
21661
|
-
/** Elements to
|
|
21671
|
+
/** Elements to cover during capture without changing their layout (CSS selectors). */
|
|
21662
21672
|
maskElements?: string[];
|
|
21673
|
+
/** CSS color used to cover masked elements. @default "#ff00ff" */
|
|
21674
|
+
maskColor?: string;
|
|
21663
21675
|
}
|
|
21664
21676
|
/**
|
|
21665
21677
|
* Image comparison configuration.
|
|
21666
21678
|
*/
|
|
21679
|
+
type DiffStyle = "overlay" | "sideBySide" | "diffOnly";
|
|
21667
21680
|
interface ComparisonConfig {
|
|
21668
21681
|
/**
|
|
21669
21682
|
* Per-pixel YIQ color difference threshold from 0 (exact) to 1 (least sensitive).
|
|
@@ -21676,8 +21689,8 @@ interface ComparisonConfig {
|
|
|
21676
21689
|
antiAliasing?: boolean;
|
|
21677
21690
|
/** Alpha channel comparison */
|
|
21678
21691
|
alpha?: boolean;
|
|
21679
|
-
/**
|
|
21680
|
-
diffStyle?:
|
|
21692
|
+
/** PNG presentation: overlay (default), baseline/current pair, or transparent unchanged pixels. */
|
|
21693
|
+
diffStyle?: DiffStyle;
|
|
21681
21694
|
/** Diff highlight color */
|
|
21682
21695
|
diffColor?: {
|
|
21683
21696
|
r: number;
|
|
@@ -22151,5 +22164,5 @@ interface CsfOutput {
|
|
|
22151
22164
|
filename: string;
|
|
22152
22165
|
}
|
|
22153
22166
|
//#endregion
|
|
22154
|
-
export {
|
|
22155
|
-
//# sourceMappingURL=index-
|
|
22167
|
+
export { VrtOptions as A, PaletteApiResponse as C, ComparisonConfig as D, CiConfig as E, MuseaGlobals as M, MuseaToolbarControl as N, DiffStyle as O, MuseaToolbarOption as P, AnalysisApiResponse as S, CaptureConfig as T, StyleDictionaryOutput as _, MuseaOptions as a, A11yOptions as b, MuseaThemeColors as c, MuseaTokenPreviewKind as d, MuseaTokenPreviewRule as f, StyleDictionaryConfig as g, DesignToken as h, CsfOutput as i, MuseaGlobalValue as j, ViewportConfig as k, MuseaVrtOptions as l, resolveTokenPreview as m, ArtMetadata as n, MuseaPreviewContext as o, ResolvedTokenPreview as p, ArtVariant as r, MuseaTheme as s, ArtFileInfo as t, MuseaTokenPreviewConfig as u, TokenCategory as v, BeforeCaptureContext as w, A11yResult as x, parseTokens as y };
|
|
22168
|
+
//# sourceMappingURL=index-KyKZJ6OT.d.mts.map
|