Stable 0.7.6 · Prerelease 0.11.0-rc.1
ActionButton
A control whose layout names no action. The application attaches an action to each rendered instance, so one definition serves every row while each row keeps its own state.
What it looks like
- Launch checklist
- Trip planningRead
Documentation
The SDK documentation owns the technical contract. Choose the release you build against.
Stable 0.7.6Default
ActionButton reference (Stable 0.7.6)
This release has no usage guide for the component beyond its reference.
Prerelease 0.11.0-rc.1
ActionButton reference (Prerelease 0.11.0-rc.1)
How to use it:
Renderers and hosts
Statements below are the SDK’s, for each release. Nothing here adds a host that the SDK does not record.
Stable 0.7.6
- React Published
- Lit Source only, not published
- No guide of this release records a renderer or host qualification for this control. No SDK guide records more.
Prerelease 0.11.0-rc.1
- React Published
- Lit Published
- The notes application runs with Lit controls and, through a React consumer, with React controls in a local fixture host. The guide lists what each renderer has and has not shown. SDK guidefor this statement (Prerelease 0.11.0-rc.1)
- In ChatGPT web and Claude web, allowed and refused in-card server requests were observed. SDK guidefor this statement (Prerelease 0.11.0-rc.1)
- In the Alexa+ simulator, an in-card server call reached a response but the waiting card did not receive a usable completion in the recorded probes. SDK guidefor this statement (Prerelease 0.11.0-rc.1)
Packages and imports
Stable 0.7.6
| Import | Package version | Role |
|---|---|---|
@saga-a2ui/core/actions/action-button-schema | @saga-a2ui/[email protected] | Renderer-neutral contract of the control: a strict schema with no action property Source of @saga-a2ui/core/actions/action-button-schema |
@saga-a2ui/react/actions | @saga-a2ui/[email protected] | React control and action setup Source of @saga-a2ui/react/actions |
@saga-a2ui/lit/actions | Not published at 0.7.6 | Lit control and action setup Source of @saga-a2ui/lit/actions |
Packages marked “Not published” exist in the source at this revision only. They cannot be installed from the registry at 0.7.6.
Prerelease 0.11.0-rc.1
| Import | Package version | Role |
|---|---|---|
@saga-a2ui/core/actions/action-button-schema | @saga-a2ui/[email protected] | Renderer-neutral contract of the control: a strict schema with no action property Source of @saga-a2ui/core/actions/action-button-schema |
@saga-a2ui/react/actions | @saga-a2ui/[email protected] | React control and action setup Source of @saga-a2ui/react/actions |
@saga-a2ui/lit/actions | @saga-a2ui/[email protected] | Lit control and action setup Source of @saga-a2ui/lit/actions |
From the SDK source
Two ActionButton instances in a row of the notes application's layout. Neither names an action. This is code copied fromexamples/pack1-consumer/src/notes-surface.ts in the Prerelease 0.11.0-rc.1 source. It is not a rendering.
{
id: 'note-actions',
component: 'Row',
children: ['row-read', 'row-archive'],
},
{
id: 'row-read',
component: 'ActionButton',
child: 'row-read-label',
},
{
id: 'row-read-label',
component: 'Line',
kind: 'body',
text: 'Mark read',
},
{
id: 'row-archive',
component: 'ActionButton',
child: 'row-archive-label',
},
{
id: 'row-archive-label',
component: 'Line',
kind: 'body',
text: 'Archive',
},