@taprootio/espalier 4.12.0 → 4.13.0
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 +29 -0
- package/custom-elements.json +8979 -8299
- package/dist/font-picker/esp-font-picker.d.ts +17 -23
- package/dist/font-picker/esp-font-picker.js +5 -5
- package/dist/font-picker/font-types.d.ts +49 -0
- package/dist/font-picker/font-types.js +1 -0
- package/dist/help/esp-help-button.d.ts +1 -1
- package/dist/icons/icon-sprite.generated.d.ts +1 -1
- package/dist/icons/icon-sprite.generated.js +15 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/lightbox/esp-lightbox.d.ts +1 -1
- package/dist/menu/drawer-nested-fit.js +1 -0
- package/dist/menu/esp-menu-group.js +5 -0
- package/dist/menu/esp-menu.d.ts +15 -0
- package/dist/menu/esp-menu.js +99 -25
- package/dist/pickers/esp-pick-one.js +4 -4
- package/dist/shared/configured-brand.d.ts +1 -1
- package/dist/shared/font-helpers.d.ts +8 -4
- package/dist/shared/font-helpers.js +1 -1
- package/dist/shared/font-stacks.d.ts +58 -0
- package/dist/shared/font-stacks.js +1 -0
- package/dist/shared/popover-controller.js +1 -1
- package/espalier.css-data.json +8 -0
- package/espalier.token-manifest.json +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
# 4.13.0
|
|
2
|
+
|
|
3
|
+
Full-screen menu drawers keep long second-level labels on screen, and the font
|
|
4
|
+
picker offers device font stacks alongside the Google catalog.
|
|
5
|
+
|
|
6
|
+
- `esp-font-picker` gains `font-source="all"`: System Sans, System Serif, and
|
|
7
|
+
System Monospace lead the list, then the classic web-safe stacks, then the
|
|
8
|
+
Google catalog; every row carries a kind icon with a tooltip (a desktop for
|
|
9
|
+
a device font, Google's mark for a catalog font) and selecting a device
|
|
10
|
+
row fetches nothing. A stored device stack that differs from a
|
|
11
|
+
preset's text still shows as that preset, and one that matches no preset
|
|
12
|
+
shows as its own custom row; `value` is never rewritten by recognition.
|
|
13
|
+
- `extractWeights` accepts a web-safe font and reports the weights its device
|
|
14
|
+
faces carry (300–700 for the System text stacks, 400 and 700 elsewhere).
|
|
15
|
+
New `matchWebSafeFont`, `customWebSafeFont`, `isDeviceFontStack`,
|
|
16
|
+
`classifyFontStack`, `parseFontStack`, and `canonicalFontStack` helpers
|
|
17
|
+
expose the same recognition to consumers.
|
|
18
|
+
|
|
19
|
+
- Labels nested inside a group share one measured size in the full-screen
|
|
20
|
+
drawer: it starts at 90% of the top-level size and shrinks only as far as the
|
|
21
|
+
widest nested label needs to fit the viewport on one line. Top-level items
|
|
22
|
+
keep their size.
|
|
23
|
+
- Below the readable floor, nested labels wrap instead of clipping. The cap and
|
|
24
|
+
floor are tunable through `--esp-menu-drawer-nested-item-max-font-size` and
|
|
25
|
+
`--esp-menu-drawer-nested-item-min-font-size`; the floor defaults to
|
|
26
|
+
`max(14px, 0.875rem)`.
|
|
27
|
+
- The measurement runs from an idle callback after the page mounts, never on
|
|
28
|
+
the first paint, and repeats on resize, item changes, and font loading.
|
|
29
|
+
|
|
1
30
|
# 4.12.0
|
|
2
31
|
|
|
3
32
|
Image selections can now use a reusable, accessible image picker.
|