figspec

Unofficial static Figma frame/file viewer available as HTML CustomElement

Commits at components/v0.1.5

  1. 8d453f8d components/v0.1.5 Shota Fuji authored at Shota Fuji comitted at
  2. 02758bb8 feat: Support for MacOS Safari pinch gesture This commit adds support for MacOS Safari's non-standard GestureEvent. See more for GestureEvent at: https://developer.apple.com/documentation/webkitjs/gestureevent NOTE: The gesture does not perform zoom-at-point due to lack of offset point in the events https://github.com/pocka/figspec/issues/2 close #2 Shota Fuji authored at Shota Fuji comitted at
  3. d12f56b2 fix: "Fix" ugly error UI https://github.com/pocka/figspec/issues/10 Previous error UI is not clearly different than normal views. This commit "fixes" the UI and improve readability. Added a new CSS variable: --figspec-viewer-error-color close #10 Shota Fuji authored at Shota Fuji comitted at
  4. 0b8cf9f2 components/v0.1.4 Shota Fuji authored at Shota Fuji comitted at
  5. 061f2204 fix(components): Specify z-index on page selector Prevent canvas contents overlapping control UI, which visible for <figspec-file-viewer/>. Shota Fuji authored at Shota Fuji comitted at
  6. 669eb592 fix(components): Disable canvas interaction on inspector https://github.com/pocka/figspec/pull/12#issuecomment-754766352 Since event handlers listens at a root of the CustomElement, gestures working even on the inspector panel. This commit prevents these gestures from working on the inspector panel by adding `stopPropagation`. The "space+drag" functionallity, on the other hand, can't be prevented because it's registered via `onmouse~` but I don't think it's critical for UX. I also fixed some elements' sizing so they could scroll and be sized properly. Shota Fuji authored at Shota Fuji comitted at
  7. dfd433cc Merge pull request #12 from yannbf/feature/inspector-view Feature/inspector view Shota Fuji authored at GitHub comitted at
  8. bdca799c Merge pull request #18 from pocka/fix/react-jsx-transform Do not use new JSX transform Shota Fuji authored at GitHub comitted at
  9. 0d60d5f2 components/v0.1.3 Shota Fuji authored at Shota Fuji comitted at
  10. a17b8bd8 react/v0.1.4 Shota Fuji authored at Shota Fuji comitted at
  11. 7389f4ba chore: Fix cjs distribution Shota Fuji authored at Shota Fuji comitted at
  12. 5fdfd745 react/v0.1.3 Shota Fuji authored at Shota Fuji comitted at
  13. bd000198 fix(react): Mark optional properties optional Shota Fuji authored at Shota Fuji comitted at
  14. bf64254e react/v0.1.2 Shota Fuji authored at Shota Fuji comitted at
  15. 66e1651b components/v0.1.2 Shota Fuji authored at Shota Fuji comitted at
  16. fe98003d chore: Fix distribution Shota Fuji authored at Shota Fuji comitted at
  17. 593c1f69 chore: Explicitly specify typing files Even though TypeScript catches typing files, npmjs.com cannot detect whether the package has TypeScript typings. Shota Fuji authored at Shota Fuji comitted at
  18. 61c8c7be chore: Fix version commit message Shota Fuji authored at Shota Fuji comitted at
  19. 4ba2027a components/v0.1.1 Shota Fuji authored at Shota Fuji comitted at
  20. 2082d618 components/v0.1.1 Shota Fuji authored at Shota Fuji comitted at
  21. c8702d95 chore: Add prepublishOnly hooks Shota Fuji authored at Shota Fuji comitted at
  22. 126d01e5 chore: Include package name in version commit message Shota Fuji authored at Shota Fuji comitted at
  23. 9c57e527 v0.1.0 Shota Fuji authored at Shota Fuji comitted at
  24. 8b7b6f14 v0.1.0 Shota Fuji authored at Shota Fuji comitted at
  25. 4dd6427e chore: Add .yarnrc Shota Fuji authored at Shota Fuji comitted at
  26. 68ca1f28 Merge pull request #16 from pocka/feature/figma-file Figma file support Shota Fuji authored at GitHub comitted at
  27. 4c6e54c3 Merge pull request #15 from pocka/feature/events Custom Events Shota Fuji authored at GitHub comitted at
  28. def2c3a6 Merge pull request #14 from pocka/feature/cache-heavy-computation Cache tree node related things Shota Fuji authored at GitHub comitted at
  29. 9882ccad docs: Add CONTRIBUTING.md Shota Fuji authored at GitHub comitted at
  30. 1e1fa1e7 docs: Add CODE_OF_CONDUCT.md Shota Fuji authored at GitHub comitted at