@atelier-ui/angular 0.2.23 → 0.2.24

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atelier-ui/angular",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "description": "Atelier component library for Angular — LLM-optimised, accessible, design-token-driven",
5
5
  "keywords": [
6
6
  "angular",
@@ -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-normal) var(--ui-font-mono);
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