@atelier-ui/angular 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/styles/tokens.css
CHANGED
|
@@ -168,6 +168,24 @@
|
|
|
168
168
|
--ui-type-row-sm: var(--ui-font-weight-normal) var(--ui-font-size-sm) /
|
|
169
169
|
var(--ui-line-height-tight) var(--ui-font-family);
|
|
170
170
|
|
|
171
|
+
/* The emphasis role (ADR-0162). SemiBold at sm, tight: the text of a small
|
|
172
|
+
* element that is stressed rather than read — a badge, a step marker, the
|
|
173
|
+
* current breadcrumb. Measured on BOTH sides before being added (ADR-0074):
|
|
174
|
+
*
|
|
175
|
+
* emphasis SemiBold 14 — 3 CSS rules (.atl-badge.size-md, .step-circle,
|
|
176
|
+
* .breadcrumb-current) and 15 Figma text nodes (AtlAvatar 2,
|
|
177
|
+
* AtlAvatarGroup 5, AtlBreadcrumbItem 1, AtlStep 4, AtlTh 3),
|
|
178
|
+
* all 125% leading.
|
|
179
|
+
*
|
|
180
|
+
* The xs sibling (SemiBold 12, tight) has NO role: only 2 clean CSS rules
|
|
181
|
+
* (table header cell, badge sm) — the other xs rules are mono, or inherit a
|
|
182
|
+
* leading that is not tight — so it misses the rule of three (ADR-0162).
|
|
183
|
+
* Letter-spacing and text-transform are not part of a role: badge and table
|
|
184
|
+
* header add their own.
|
|
185
|
+
*/
|
|
186
|
+
--ui-type-emphasis: var(--ui-font-weight-semibold) var(--ui-font-size-sm) /
|
|
187
|
+
var(--ui-line-height-tight) var(--ui-font-family);
|
|
188
|
+
|
|
171
189
|
/* ── Colours · light mode (default) ────────────────────────── */
|
|
172
190
|
|
|
173
191
|
/* Primary — Conciso deep teal */
|
|
@@ -145,6 +145,19 @@ declare class AtlCardFooter {
|
|
|
145
145
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCardFooter, "atl-card-footer", never, {}, {}, never, ["*"], true, never>;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
/**
|
|
149
|
+
* Inline badge for labeling items with semantic color variants.
|
|
150
|
+
*
|
|
151
|
+
* Decorative by default: it carries no ARIA role. When the badge announces a
|
|
152
|
+
* change (a count or state that updates), pass `role="status"` yourself.
|
|
153
|
+
*
|
|
154
|
+
* Usage:
|
|
155
|
+
* ```html
|
|
156
|
+
* <atl-badge variant="success">Active</atl-badge>
|
|
157
|
+
* <atl-badge variant="danger" size="sm">Error</atl-badge>
|
|
158
|
+
* <atl-badge variant="warning" role="status">3 pending</atl-badge>
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
148
161
|
declare class AtlBadge {
|
|
149
162
|
/** Semantic color variant of the badge. */
|
|
150
163
|
readonly variant: _angular_core.InputSignal<"danger" | "default" | "success" | "warning" | "info">;
|