@ggui-ai/ui-visual-tester 0.6.0 → 0.6.2
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.
|
@@ -26289,7 +26289,7 @@
|
|
|
26289
26289
|
// ../design/dist/components/Markdown.js
|
|
26290
26290
|
var import_jsx_runtime38 = __toESM(require_jsx_runtime(), 1);
|
|
26291
26291
|
|
|
26292
|
-
//
|
|
26292
|
+
// ../design/dist/richtext/parse.js
|
|
26293
26293
|
var SAFE_HREF = /^(?:https?:\/\/|mailto:)[^\s\x00-\x1f]+$/i;
|
|
26294
26294
|
function safeHref(raw) {
|
|
26295
26295
|
return SAFE_HREF.test(raw) ? raw : void 0;
|
|
@@ -26627,8 +26627,8 @@
|
|
|
26627
26627
|
}
|
|
26628
26628
|
}
|
|
26629
26629
|
}
|
|
26630
|
-
function Markdown({
|
|
26631
|
-
const blocks = parseRichText(
|
|
26630
|
+
function Markdown({ markdown, className, style }) {
|
|
26631
|
+
const blocks = parseRichText(markdown);
|
|
26632
26632
|
return (0, import_jsx_runtime38.jsx)("div", { className, "data-ggui-markdown": "", style: {
|
|
26633
26633
|
display: "flex",
|
|
26634
26634
|
flexDirection: "column",
|
|
@@ -26636,8 +26636,8 @@
|
|
|
26636
26636
|
...style
|
|
26637
26637
|
}, children: blocks.map(renderBlock) });
|
|
26638
26638
|
}
|
|
26639
|
-
function MarkdownInline({
|
|
26640
|
-
return (0, import_jsx_runtime38.jsx)(import_jsx_runtime38.Fragment, { children: renderRichTextInlines(parseInlineRichText(
|
|
26639
|
+
function MarkdownInline({ markdown }) {
|
|
26640
|
+
return (0, import_jsx_runtime38.jsx)(import_jsx_runtime38.Fragment, { children: renderRichTextInlines(parseInlineRichText(markdown)) });
|
|
26641
26641
|
}
|
|
26642
26642
|
|
|
26643
26643
|
// ../design/dist/compositions/index.js
|
|
@@ -42336,7 +42336,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
42336
42336
|
|
|
42337
42337
|
// ../protocol/dist/gadgets/stdlib-gadgets.js
|
|
42338
42338
|
var STDLIB_GADGETS_PACKAGE = "@ggui-ai/gadgets";
|
|
42339
|
-
var STDLIB_GADGETS_VERSION = "0.6.
|
|
42339
|
+
var STDLIB_GADGETS_VERSION = "0.6.2";
|
|
42340
42340
|
var STDLIB_GADGETS = [
|
|
42341
42341
|
{
|
|
42342
42342
|
package: STDLIB_GADGETS_PACKAGE,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggui-ai/ui-visual-tester",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Behavioral validator for ggui-generated component code. Renders a component in real Chromium via Playwright, clicks each action declared in its contract, and verifies the action actually does something — mutating bound state or dispatching to the agent. Catches buttons wired to no-op handlers that structural validators miss. Playwright is an optional peer dependency, injected by the caller.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ggui",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"react": "^19.0.0",
|
|
50
50
|
"react-dom": "^19.0.0",
|
|
51
|
-
"@ggui-ai/
|
|
52
|
-
"@ggui-ai/
|
|
53
|
-
"@ggui-ai/
|
|
51
|
+
"@ggui-ai/design": "0.6.2",
|
|
52
|
+
"@ggui-ai/protocol": "0.6.2",
|
|
53
|
+
"@ggui-ai/wire": "0.6.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@playwright/test": "^1.60.0",
|