@taprootio/espalier 7.1.0 → 7.2.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/custom-elements.json +14088 -11749
  3. package/dist/button/esp-button.js +7 -4
  4. package/dist/button/paint-registration.js +1 -0
  5. package/dist/cli/theme-check.js +2 -2
  6. package/dist/footer/paint-registration.js +1 -0
  7. package/dist/header/esp-header-button.js +6 -2
  8. package/dist/header/esp-header.js +8 -4
  9. package/dist/header/header-geometry-controller.js +1 -1
  10. package/dist/header/is-tall-header-paint.d.ts +7 -0
  11. package/dist/header/is-tall-header-paint.js +1 -0
  12. package/dist/header/paint-registration.js +1 -0
  13. package/dist/index.d.ts +2 -1
  14. package/dist/menu/esp-menu-group.js +8 -8
  15. package/dist/menu/esp-menu-item.js +8 -8
  16. package/dist/menu/esp-menu.js +13 -6
  17. package/dist/menu/navigation-focus-outline.js +8 -0
  18. package/dist/menu/navigation-paint.js +1 -0
  19. package/dist/menu/paint-registration.js +1 -0
  20. package/dist/shared/color-engine.js +1 -1
  21. package/dist/shared/composed-dom.js +1 -0
  22. package/dist/shared/configured-brand-color.js +1 -0
  23. package/dist/shared/configured-brand.js +5 -5
  24. package/dist/shared/css-named-colors.js +1 -0
  25. package/dist/shared/esp-element-base.js +1 -1
  26. package/dist/shared/paint-catalog.d.ts +27 -0
  27. package/dist/shared/paint-catalog.js +1 -0
  28. package/dist/shared/paint-color.d.ts +25 -0
  29. package/dist/shared/paint-color.js +1 -0
  30. package/dist/shared/paint-fit.js +1 -0
  31. package/dist/shared/paint-identity.js +1 -0
  32. package/dist/shared/paint-types.d.ts +88 -0
  33. package/dist/shared/paint-types.js +0 -0
  34. package/dist/shared/theme-fit-report.d.ts +10 -2
  35. package/dist/shared/theme-fit-report.js +1 -1
  36. package/dist/shared/theme.d.ts +3 -24
  37. package/dist/shared/theme.js +1 -1
  38. package/dist/shared/token-pairings.d.ts +25 -0
  39. package/dist/shared/token-pairings.js +1 -0
  40. package/dist/shared/wcag-contrast.d.ts +14 -0
  41. package/dist/shared/wcag-contrast.js +1 -0
  42. package/dist/testing/index.d.ts +7 -0
  43. package/dist/testing/index.js +1 -0
  44. package/dist/testing/observe-paint.d.ts +29 -0
  45. package/dist/testing/observe-paint.iife.js +3 -0
  46. package/dist/testing/observe-paint.js +3 -0
  47. package/dist/testing/paint-bands.js +1 -0
  48. package/dist/testing/paint-coverage.d.ts +14 -0
  49. package/dist/testing/paint-coverage.js +1 -0
  50. package/dist/testing/paint-dom.js +1 -0
  51. package/dist/testing/svg-paint.js +1 -0
  52. package/package.json +6 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ # 7.2.0
2
+
3
+ Measure the contrast of text, icons and focus indicators as Espalier actually paints them.
4
+
5
+ - Theme fit reports can measure enabled paint for headers and footers, including navigation drawers, hover and keyboard focus. View WCAG ratios for both color schemes.
6
+ - Browser tests can import `@taprootio/espalier/testing` or inject its standalone script to compare rendered paint with the catalog. Register consumer paint through the same API.
7
+ - Header controls show a keyboard focus indicator within the control, and the header brand link shows an outline in both normal and forced colors.
8
+ - Blank scheme-specific brand colors fall back to the generic brand color in the header, footer and fit report.
9
+
10
+ # 7.1.1
11
+
12
+ Keep navigation paint inside its theme context.
13
+
14
+ - Let focused buttons use their enclosing theme context's shadow color in dark mode, including headers and drawers, while preserving the existing dark shadow outside a context.
15
+ - Size a panel drawer's scrim from its existing insets so it covers the page below the header.
16
+
1
17
  # 7.1.0
2
18
 
3
19
  Configure footer placement and text independently, with faithful themed previews.