@mcurcio/patchbay 0.6.0 → 0.7.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 (32) hide show
  1. package/README.md +2 -1
  2. package/dist/composites.js +190 -158
  3. package/dist/composites.js.map +1 -1
  4. package/dist/graph.js +70 -67
  5. package/dist/graph.js.map +1 -1
  6. package/dist/primitives.css +1 -1
  7. package/dist/primitives.js +108 -93
  8. package/dist/primitives.js.map +1 -1
  9. package/dist/testing.js +207 -0
  10. package/dist/testing.js.map +1 -0
  11. package/dist/types/composites/banner/Banner.d.ts +9 -3
  12. package/dist/types/composites/banner/index.d.ts +2 -2
  13. package/dist/types/composites/command-palette/CommandPalette.d.ts +16 -10
  14. package/dist/types/composites/command-palette/index.d.ts +2 -2
  15. package/dist/types/composites/shortcut-sheet/ShortcutSheet.d.ts +17 -11
  16. package/dist/types/composites/shortcut-sheet/index.d.ts +2 -2
  17. package/dist/types/composites/toaster/Toaster.d.ts +15 -9
  18. package/dist/types/composites/toaster/index.d.ts +2 -2
  19. package/dist/types/graph/meter/Meter.d.ts +9 -3
  20. package/dist/types/graph/meter/index.d.ts +2 -2
  21. package/dist/types/graph/node-box/NodeBox.d.ts +7 -8
  22. package/dist/types/graph/node-box/index.d.ts +2 -2
  23. package/dist/types/primitives/dialog/Dialog.d.ts +8 -2
  24. package/dist/types/primitives/dialog/index.d.ts +2 -2
  25. package/dist/types/primitives/sheet/Sheet.d.ts +8 -2
  26. package/dist/types/primitives/sheet/index.d.ts +2 -2
  27. package/dist/types/primitives/splitter/Splitter.d.ts +8 -2
  28. package/dist/types/primitives/splitter/splitter-math.d.ts +12 -4
  29. package/dist/types/testing/brand-css.d.ts +41 -0
  30. package/dist/types/testing/contrast.d.ts +36 -0
  31. package/dist/types/testing/index.d.ts +2 -0
  32. package/package.json +5 -1
package/README.md CHANGED
@@ -69,7 +69,8 @@ write a brand; [`examples/brands/`](examples/brands/) has two worked examples.
69
69
 
70
70
  ## Documentation
71
71
 
72
- - [`docs/tokens.md`](docs/tokens.md): the tokens, the themes, writing a brand, and the contrast rules
72
+ - [`docs/tokens.md`](docs/tokens.md): the tokens, the themes, writing a brand, and the contrast rules,
73
+ with `@mcurcio/patchbay/testing`'s `checkBrandContrast` to hold your brand to them in your own tests
73
74
  - [`docs/components.md`](docs/components.md): every built component and hook, with props, keyboard
74
75
  and touch behaviour
75
76
  - Storybook: every component's states under each example brand and theme (`pnpm storybook` in a