@atelier-ui/angular 0.2.23 → 0.2.25
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
|
@@ -119,7 +119,29 @@
|
|
|
119
119
|
--ui-type-label: var(--ui-font-weight-medium) var(--ui-font-size-xs) /
|
|
120
120
|
var(--ui-line-height-tight) var(--ui-font-family);
|
|
121
121
|
--ui-type-code: var(--ui-font-weight-normal) var(--ui-font-size-sm) /
|
|
122
|
-
var(--ui-line-height-
|
|
122
|
+
var(--ui-line-height-code) var(--ui-font-mono);
|
|
123
|
+
|
|
124
|
+
/* The two roles the eight did not span. Both were measured on BOTH sides
|
|
125
|
+
* before being added (ADR-0074), which is the only sound basis for a role:
|
|
126
|
+
*
|
|
127
|
+
* control Medium 14 — 6 CSS rules (tab button, page button, step label,
|
|
128
|
+
* chip label, select label, chat action) and 75 Figma text nodes.
|
|
129
|
+
* action SemiBold 16 — 3 CSS rules (button, accordion trigger, chat
|
|
130
|
+
* header title) and 15 Figma text nodes.
|
|
131
|
+
*
|
|
132
|
+
* Both are TIGHT, and that was unanimous rather than chosen: every one of the
|
|
133
|
+
* 30 Figma nodes in these two combinations that states a leading at all states
|
|
134
|
+
* 125%, and .atl-button and .accordion-trigger state --ui-line-height-tight.
|
|
135
|
+
*
|
|
136
|
+
* They are named for the --ui-control-height-* ladder they live on: text on a
|
|
137
|
+
* control, not prose. A control's own VALUE text (an input's content) is not
|
|
138
|
+
* one of these — that stays a longhand, because its padding formula names the
|
|
139
|
+
* leading as an operand (ADR-0073).
|
|
140
|
+
*/
|
|
141
|
+
--ui-type-control: var(--ui-font-weight-medium) var(--ui-font-size-sm) /
|
|
142
|
+
var(--ui-line-height-tight) var(--ui-font-family);
|
|
143
|
+
--ui-type-action: var(--ui-font-weight-semibold) var(--ui-font-size-md) /
|
|
144
|
+
var(--ui-line-height-tight) var(--ui-font-family);
|
|
123
145
|
|
|
124
146
|
/* ── Colours · light mode (default) ────────────────────────── */
|
|
125
147
|
|
|
@@ -364,6 +364,7 @@ interface AtlRadioGroupContext {
|
|
|
364
364
|
readonly name: Signal<string>;
|
|
365
365
|
readonly disabled: Signal<boolean>;
|
|
366
366
|
readonly readonly: Signal<boolean>;
|
|
367
|
+
readonly invalid: Signal<boolean>;
|
|
367
368
|
select(v: string): void;
|
|
368
369
|
markTouched(): void;
|
|
369
370
|
registerItem(item: RadioItem): void;
|