@motion-proto/live-tokens 0.64.2 → 0.64.3
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 +10 -0
- package/package.json +1 -1
- package/src/editor/ui/FontStackEditor.svelte +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.64.3 — The add button names the act
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **The add button names the act, not the font.** It read `+ add Domine` — the
|
|
8
|
+
next family it would reach for — so the label changed under the pointer as a
|
|
9
|
+
stack filled up, and a control that renames itself between clicks is hard to
|
|
10
|
+
aim at. It now reads `+ add font`, and still falls back to `+ add fallback`
|
|
11
|
+
once every project font is in the stack.
|
|
12
|
+
|
|
3
13
|
## 0.64.2 — A stack can gain a second font
|
|
4
14
|
|
|
5
15
|
### Fixed
|
package/package.json
CHANGED
|
@@ -193,8 +193,7 @@
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
function addLabel(variable: FontStackVariable): string {
|
|
196
|
-
|
|
197
|
-
return next?.kind === 'project' ? `+ add ${slotDisplayName(next)}` : '+ add fallback';
|
|
196
|
+
return nextAddableSlot(variable)?.kind === 'project' ? '+ add font' : '+ add fallback';
|
|
198
197
|
}
|
|
199
198
|
|
|
200
199
|
/** A font joins the other fonts, above the fallbacks; a fallback lands just
|