@atelier-ui/create-workspace 0.2.13 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## 0.2.15 (2026-08-26)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **tokens:** bind the literals that duplicate a token ([024faef](https://github.com/DominikPieper/atelier-ui/commit/024faef))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Claude Opus 5
10
+ - Dominik Pieper @DominikPieper
11
+
12
+ ## 0.2.14 (2026-08-26)
13
+
14
+ ### 🩹 Fixes
15
+
16
+ - **tokens:** the control height is the primitive, padding is derived (ADR-0041) ([df973f7](https://github.com/DominikPieper/atelier-ui/commit/df973f7))
17
+
18
+ ### ❤️ Thank You
19
+
20
+ - Claude Opus 5
21
+ - Dominik Pieper @DominikPieper
22
+
1
23
  ## 0.2.13 (2026-08-26)
2
24
 
3
25
  ### 🩹 Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atelier-ui/create-workspace",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "description": "Nx preset for Atelier workshop workspaces",
5
5
  "keywords": [
6
6
  "nx",
@@ -38,6 +38,18 @@
38
38
  --ui-letter-spacing-wide: 0.01em;
39
39
  --ui-letter-spacing-uppercase: 0.08em;
40
40
  --ui-font-size-3xl: 2.25rem;
41
+
42
+ /* ── Control heights ────────────────────────────────────────
43
+ * The height of an interactive control is the primitive; its block padding
44
+ * is DERIVED from it (ADR-0041):
45
+ * padding-block: calc((height - line-height * font-size) / 2 - border)
46
+ * Stating the height and deriving the padding is what makes an input and a
47
+ * button the same height. Stating the padding and hoping, which is what the
48
+ * library did until 2026-08-26, made them 6px apart.
49
+ */
50
+ --ui-control-height-sm: 2rem;
51
+ --ui-control-height-md: 2.5rem;
52
+ --ui-control-height-lg: 3rem;
41
53
  --ui-font-weight-normal: 400;
42
54
  --ui-font-weight-medium: 500;
43
55
  --ui-font-weight-semibold: 600;
@@ -167,6 +179,18 @@
167
179
  --ui-radius-xl: 1.25rem; /* was 1rem */
168
180
  --ui-radius-full: 9999px;
169
181
 
182
+ /* ── Border widths ──────────────────────────────────────────────────────────
183
+ * Two steps, because the library only ever needed two: the hairline that
184
+ * separates surfaces (133 uses) and the heavier weight that marks a control
185
+ * (12 uses — the avatar status ring, the stepper circle, the checkbox mark,
186
+ * the table header rule). The 1.5px weight nine control outlines used is
187
+ * folded into `thick`: a half pixel renders blurry at 1x device-pixel-ratio
188
+ * and the two weights were never distinguishable side by side.
189
+ * Not here on purpose: AtlToast's 4px accent bar and AtlRadio's 6px dot are
190
+ * graphic devices drawn with `border-width`, not border weights. See ADR-0047. */
191
+ --ui-border-width: 1px;
192
+ --ui-border-width-thick: 2px;
193
+
170
194
  /* Spacing */
171
195
  --ui-spacing-1: 0.25rem;
172
196
  --ui-spacing-2: 0.5rem;