Checkpoint

Marks a point in the conversation you can return to.

Usage

Checkpoint

Rename the button component to action.

Renamed Button to Action in components/ui/button.tsx.

Button renamed
Update the docs to match.

Updated the Button page to say Action.

import {  Component,  DestroyRef,  ViewEncapsulation,  computed,  inject,  signal,} from '@angular/core';import {  ScBubble,

A Marker after a turn, with a Restore button. Restore keeps that turn and drops every message after it; send a new message to continue from there.

Anatomy

import { ScMarker, ScMarkerContent, ScButton } from '@semantic-components/ui';
<div scMarker variant="separator">  <span scMarkerContent class="inline-flex items-center gap-2">    {{ label }}    <button scButton size="xs" variant="outline" (click)="restore()">      Restore      <span class="sr-only">to {{ label }}</span>    </button>  </span></div>

The button's name says which point it restores: hidden text after "Restore", so the visible word starts its name.

Examples

RTL

أعد تسمية مكوّن الزر إلى إجراء.

أعدت تسمية Button إلى Action في components/ui/button.tsx.

أُعيدت تسمية الزر
حدّث التوثيق ليطابق.
import { Dir } from '@angular/cdk/bidi';import { Component, LOCALE_ID, ViewEncapsulation } from '@angular/core';import {  ScBubble,  ScBubbleContent,  ScButton,  ScMarker,  ScMarkerContent,  ScMessage,  ScMessageContent,

API reference

See the Marker and the Button component.