Button changelog
Every version of Button, newest first. Update with npx @ndop/cli update button; it keeps your edits.
Preview an update
Paste your copy of the file to see what updating it to 1.0.0 would do.
1.0.0 Latest
Stable release; no code changes since 0.1.3.
0.1.3
Lists the item under Inputs in the docs. The files are unchanged.
0.1.2
Removes the source notice at the top of button.ts. The credit for the shadcn/ui styles it was based on is on the docs site instead.
Lists the main example first.
What ndop update does from 0.1.1
- Updates
{ui}/button/button.ts, keeping your edits.
{ui}/button/button.ts
/*
* Styles from shadcn/ui new-york-v4 "button" (MIT License, Copyright (c)
* 2023 shadcn), copied on 2026-10-02 (ADR-0014). Changes:
* - destructive uses text-destructive-foreground, not text-white: registry
* items use tokens only (RFC-0001, ADR-0006);
* - data-disabled:* mirror disabled:*, because a disabled link has no
* :disabled state.
*/
import { computed, Directive, input } from '@angular/core';
import { NdButton } from '@ndop/primitives/button';
import { cn, variants, type VariantOf } from '@/lib/utils';0.1.1
Points the item at its API metadata, metadata/button.json, which the docs and the MCP server read. The files are unchanged.
0.1.0
First release.
What ndop update does
- Adds
{ui}/button/button.ts. - Installs
@ndop/primitives. - Installs the
utilsitem.