@sometic/history

Undo/redo history stack for Sometic reversible commands.


Keywords
sometic, typescript, javascript, ssr, history, undo, redo, alpinejs, angular, authentication, design-system, forms, htmx, http-client, jquery, pnpm, preact, react, solid, svelte, vanilla-js, vitepress, vue, web-components
License
MIT
Install
npm install @sometic/history@0.2.1

Documentation

Sometic

One behavior model for UI, forms, auth, HTTP, and document head across every JavaScript stack. Your styling system.

Sometic is a portable application behavior system. Shared controllers power the app; thin adapters give you React, Vue, and sometic-* custom elements. Styling stays yours: slots, state attributes, and tokens plug into Tailwind, Bootstrap, CSS Modules, or plain CSS.

Docs: https://sometic.dev

Install

Pick the stack you ship. Prefer subpath imports so you only pull what you use.

React

pnpm add @sometic/react @sometic/core @sometic/theme
npm install @sometic/react @sometic/core @sometic/theme
yarn add @sometic/react @sometic/core @sometic/theme

Vue

pnpm add @sometic/vue @sometic/core @sometic/theme

Vanilla / Web Components

pnpm add @sometic/elements @sometic/theme

Copy-ready install blocks for every package live on the Installation page.

Quick start (React)

import { Button } from "@sometic/react/button";

export function SaveAction() {
    return (
        <Button type="button" onClick={() => {}}>
            Save
        </Button>
    );
}

More patterns (forms, auth, HTTP, overlays, structure) are in the Introduction and component guides.

What you get

Area Examples
UI & forms Button family, fields, selection, overlays, tabs, accordion, progress
Application Forms engine, auth orchestration, HTTP client with refresh queue, query, document head
Adapters @sometic/react, @sometic/vue, @sometic/elements (sometic-*)
Styling Unstyled by default; theme tokens optional via @sometic/theme

Honest beta inventory: What’s included. Maturity labels: Beta maturity. Why this vs alternatives: Comparison.

Learn more

License

MIT, copyright Sometic contributors. See LICENSE.

Contributing

Want to work on the monorepo? See CONTRIBUTING.md and the Contributing guide.