agentgui 1.0.1078 → 1.0.1079
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/.gm/prd.yml
CHANGED
|
@@ -3147,3 +3147,8 @@
|
|
|
3147
3147
|
subject: test.js lint-tokens.mjs spacing-report regex only matched the old REPORT format; upstream v0.0.349 changed lint-spacing output to PASS/baseline format, silently breaking the test's ability to catch regressions until this run's test execution surfaced it
|
|
3148
3148
|
witness: bun test.js failed with 'lint-spacing report line not found' after rebasing onto origin/main (8436f0a); fixed by widening the regex to match both formats
|
|
3149
3149
|
status: completed
|
|
3150
|
+
- id: toast-persistent-action-variant
|
|
3151
|
+
subject: Add onAction/actionLabel/duration:0-persistent support to the kit's toast() (editor-primitives.js:637-653), matching docstudio's update-check.js:18-30 click-to-reload pattern - currently toast() only supports message/kind/duration and always self-dismisses via setTimeout, with no way to render a non-auto-dismissing actionable CTA toast
|
|
3152
|
+
witness: 'Browser-witnessed live on localhost:3009/gm/: imported the vendored kit module directly and called toast({message,kind,duration:0,actionLabel:''Reload'',onAction}) - hasActionEl:true, btnText:''Reload'', clicking the button fired onAction with the dismiss callback (actionFired:true). Verified backward compat: plain toast({message,kind,duration}) with no actionLabel/onAction renders with no has-action class and no button. Kit built+tested (bun test.js all pass, node scripts/generate-component-docs.mjs --check clean, node scripts/build.mjs 0 lint errors). Kit pushed b5530cb->e93f4f7 (one dist-only rebase + one component-docs-lint fix), all 3 kit CI checks green. Re-vendored into agentgui, 0 pageErrors, bodyLen:19466, hasAgentgui:true.'
|
|
3153
|
+
status: completed
|
|
3154
|
+
commit_comment: persistent action-CTA toast variant (docstudio update-check.js cue, confirming-pass finding)
|
package/package.json
CHANGED
|
@@ -9048,6 +9048,23 @@
|
|
|
9048
9048
|
.ds-247420 .ds-ep-toast.kind-warn { border-left-color: var(--warn); }
|
|
9049
9049
|
.ds-247420 .ds-ep-toast.kind-error { border-left-color: var(--danger); }
|
|
9050
9050
|
.ds-247420 .ds-ep-toast.leaving { opacity: 0; transform: translateY(-6px); }
|
|
9051
|
+
.ds-247420 .ds-ep-toast.has-action {
|
|
9052
|
+
display: flex; align-items: center; gap: var(--space-2);
|
|
9053
|
+
}
|
|
9054
|
+
.ds-247420 .ds-ep-toast-msg { flex: 1; }
|
|
9055
|
+
.ds-247420 .ds-ep-toast-action {
|
|
9056
|
+
flex-shrink: 0;
|
|
9057
|
+
background: transparent;
|
|
9058
|
+
color: var(--accent-ink, var(--accent));
|
|
9059
|
+
border: none;
|
|
9060
|
+
font: inherit;
|
|
9061
|
+
font-weight: 600;
|
|
9062
|
+
padding: var(--space-1) var(--space-1-75);
|
|
9063
|
+
border-radius: var(--r-1, 6px);
|
|
9064
|
+
cursor: pointer;
|
|
9065
|
+
}
|
|
9066
|
+
.ds-247420 .ds-ep-toast-action:hover { background: var(--panel-2, var(--panel-bg)); }
|
|
9067
|
+
.ds-247420 .ds-ep-toast-action:focus-visible { outline: 2px solid var(--accent-ink, var(--accent)); outline-offset: 1px; }
|
|
9051
9068
|
@media (max-width: 480px) {
|
|
9052
9069
|
.ds-247420 .ds-ep-toast-host { left: 16px; right: 16px; align-items: center; }
|
|
9053
9070
|
.ds-247420 .ds-ep-toast { width: 100%; max-width: 100%; }
|