import * as _angular_core from '@angular/core'; /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE */ /** * Corner treatment for ``. * * - `rounded` (default) — small radius, matches the rest of the form vocabulary. * - `pill` — fully rounded ends; common for count chips and status pills. * - `squircle` — iOS-style continuous-curvature corners via the * `corner-shape: squircle` CSS spec (Chrome 145+, falls back to a * plain rounded corner elsewhere). */ type WrBadgeShape = 'rounded' | 'pill' | 'squircle'; /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE */ /** * Badge size variant. */ type WrBadgeSize = 'sm' | 'md' | 'lg'; /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE */ /** * Where the icon (or loading spinner) sits relative to the tag content. */ type WrTagIconPosition = 'start' | 'end'; /** * Lean status chip — color, size, rounded/pill. Use for short labels * and counts (e.g. "ONLINE", "3 unread", "v2.1"). Reach for `` * when you need icons, loading state, or outlined / transparent styles. * * @example * ```html * Active * 3 * New * ``` * * @see https://ngwr.dev/components/badge */ declare class WrBadge { /** * Color variant. Maps to `--wr-color-*` CSS variables from the theme. * * @default 'primary' */ readonly color: _angular_core.InputSignal<"primary" | "secondary" | "success" | "warning" | "danger" | "light" | "medium" | "dark">; /** * Size variant. * * @default 'md' */ readonly size: _angular_core.InputSignal; /** * Corner treatment. Mirrors `` — `rounded` (default) uses the * small form-radius; `pill` rounds the ends fully. * * @default 'rounded' */ readonly shape: _angular_core.InputSignal; /** * Outlined style — transparent fill, colored border and text. * * @default false */ readonly outlined: _angular_core.InputSignalWithTransform; protected readonly classes: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Rich inline label — icons, loading state, three visual styles * (solid / outlined / transparent). Reach for `` when all * you need is a colored text chip. * * @example * ```html * Default * Done * Beta * Saving * ``` * * @see https://ngwr.dev/components/badge */ declare class WrTag { /** * Color variant. * * @default 'primary' */ readonly color: _angular_core.InputSignal<"primary" | "secondary" | "success" | "warning" | "danger" | "light" | "medium" | "dark">; /** * Icon name shown alongside the content. The icon is replaced by a * spinner when `loading` is true. * * @default null */ readonly icon: _angular_core.InputSignal; /** * Where the icon/spinner is rendered. * * @default 'start' */ readonly iconPosition: _angular_core.InputSignal; /** * Outlined style — colored text and border on a tinted background. * * @default false */ readonly outlined: _angular_core.InputSignalWithTransform; /** * Transparent style — colored text on a low-opacity tint, no border. * * @default false */ readonly transparent: _angular_core.InputSignalWithTransform; /** * Pill-shaped corners. * * @default false */ readonly rounded: _angular_core.InputSignalWithTransform; /** * Adds a hover state — use when the tag is interactive (button/link). * * @default false */ readonly hoverable: _angular_core.InputSignalWithTransform; /** * Show a spinner in place of the icon. * * @default false */ readonly loading: _angular_core.InputSignalWithTransform; protected readonly classes: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { WrBadge, WrTag }; export type { WrBadgeSize, WrTagIconPosition };