@atelier-ui/create-workspace 0.2.13 → 0.2.14

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,14 @@
1
+ ## 0.2.14 (2026-08-26)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **tokens:** the control height is the primitive, padding is derived (ADR-0041) ([df973f7](https://github.com/DominikPieper/atelier-ui/commit/df973f7))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Claude Opus 5
10
+ - Dominik Pieper @DominikPieper
11
+
1
12
  ## 0.2.13 (2026-08-26)
2
13
 
3
14
  ### 🩹 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.14",
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;