@dynamic-labs-sdk/droplet 1.31.0 → 1.31.1

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": "@dynamic-labs-sdk/droplet",
3
- "version": "1.31.0",
3
+ "version": "1.31.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.esm.js",
@@ -98,6 +98,19 @@
98
98
  --shadow-elevated: var(--shadow-elevated);
99
99
  --shadow-input-hover: var(--shadow-input-hover);
100
100
  --shadow-card-content: var(--shadow-card-content);
101
+
102
+ /* Gap between the rows of a field: its control, description and error. */
103
+ --spacing-field-gap: 6px;
104
+
105
+ /* Separation between a field's label and its control.
106
+
107
+ 10px, not the conventional 8: the label is 14px with `leading-none`, so its box hugs the
108
+ glyphs and this gap is the only separation there is. ~0.7x the label's font size is what
109
+ reads as deliberate at that leading.
110
+
111
+ Tokenised rather than inlined so every field moves together and the value stays tunable in
112
+ one place. */
113
+ --spacing-label-gap: 10px;
101
114
  }
102
115
 
103
116
  /* ═══════════════════════════════════════════════════════════