@taprootio/espalier 4.7.0 → 4.9.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 +56 -0
- package/css/fonts/font-fallback-profiles.json +1 -1
- package/custom-elements.json +605 -3
- package/dist/date-picker/esp-date-picker.d.ts +13 -0
- package/dist/date-picker/esp-date-picker.js +111 -43
- package/dist/date-picker/helpers/calendar-grid.js +1 -1
- package/dist/date-picker/helpers/constants.js +1 -1
- package/dist/date-picker/helpers/styles.js +76 -17
- package/dist/date-picker/helpers/types.d.ts +10 -0
- package/dist/shared/font-helpers.js +1 -1
- package/dist/shared/theme-properties.d.ts +42 -0
- package/dist/shared/theme-properties.js +1 -0
- package/package.json +9 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,59 @@
|
|
|
1
|
+
# 4.9.0
|
|
2
|
+
|
|
3
|
+
The date picker reaches distant dates in a few taps.
|
|
4
|
+
|
|
5
|
+
- `esp-date-picker` makes the month and year in its calendar header
|
|
6
|
+
tappable: the month opens a grid of the twelve months and the year opens a
|
|
7
|
+
scrolling list of years, each replacing the day grid in place without
|
|
8
|
+
changing the popover's footprint or the picker's value. Both surfaces are
|
|
9
|
+
keyboard-operable, respect `min` / `max`, and return to the day grid on
|
|
10
|
+
`Escape`. The title keeps its existing heading look; users discover the
|
|
11
|
+
controls by clicking.
|
|
12
|
+
|
|
13
|
+
# 4.8.0
|
|
14
|
+
|
|
15
|
+
Non-browser tooling can read Espalier's shared vocabularies, and Linux
|
|
16
|
+
visitors get metric-matched serif and monospace fallbacks.
|
|
17
|
+
|
|
18
|
+
- New side-effect-free `shared/image-texture-registry` subpath exposes
|
|
19
|
+
`BUILT_IN_IMAGE_TEXTURES`, `registerImageTexture`, and
|
|
20
|
+
`registeredImageTextures` without registering `esp-root`, so generators and
|
|
21
|
+
servers can read the built-in texture vocabulary without a DOM.
|
|
22
|
+
- New `shared/theme-properties` subpath resolves, from a theme and a scheme,
|
|
23
|
+
the same `--esp-*` record `esp-root` hydrates, so a generator or server can
|
|
24
|
+
compute semantic scheme colors outside the browser.
|
|
25
|
+
- Fallback font profiles add Liberation Serif aliases to the Times New Roman
|
|
26
|
+
base and Liberation Mono aliases to the Courier New base, so serif and
|
|
27
|
+
monospace text on Linux first paints in a metric-matched local face instead
|
|
28
|
+
of reflowing from a generic font when the webfont arrives.
|
|
29
|
+
|
|
30
|
+
# 4.7.0
|
|
31
|
+
|
|
32
|
+
Published-site headers gain a centered menu, a full-screen drawer, and their
|
|
33
|
+
own navigation font.
|
|
34
|
+
|
|
35
|
+
- `esp-header` adds `layout="centered-menu"`: the brand at the inline start,
|
|
36
|
+
the action buttons at the inline end, and the horizontal menu centered on
|
|
37
|
+
the bar, with `brand-align` support and the existing compact-width and
|
|
38
|
+
drawer fallbacks.
|
|
39
|
+
- `esp-menu` adds `drawer-presentation="full-screen"`: the drawer covers the
|
|
40
|
+
viewport, centers the owning header's brand above large centered items,
|
|
41
|
+
keeps the header's menu toggle usable on the top layer, and animates with a
|
|
42
|
+
configurable `full-screen-transition`. The side panel stays the default.
|
|
43
|
+
- Themes can set `fontMenu` and `fontWeightMenu`, emitted as
|
|
44
|
+
`--esp-font-menu` (only when configured) and `--esp-font-weight-menu`,
|
|
45
|
+
loaded like the brand font and included in the metric-matched font plan
|
|
46
|
+
only when set. Menu items and group labels read
|
|
47
|
+
`--esp-menu-item-font-family` through the menu font to the body font, and
|
|
48
|
+
horizontal items read `--esp-menu-item-font-weight` through
|
|
49
|
+
`--esp-font-weight-menu`.
|
|
50
|
+
- Menu items no longer underline on hover; `--esp-menu-item-hover-decoration`
|
|
51
|
+
restores it. The horizontal hover and active indicators take
|
|
52
|
+
`--esp-menu-item-hover-indicator-color` and
|
|
53
|
+
`--esp-menu-item-active-indicator-color`, and
|
|
54
|
+
`--esp-menu-item-transition-duration` times color, background, and
|
|
55
|
+
indicator changes, disabled under reduced motion.
|
|
56
|
+
|
|
1
57
|
# 4.6.0
|
|
2
58
|
|
|
3
59
|
Pickers adapt to compact screens, and form items can safely follow dynamic
|