figspec

Unofficial static Figma frame/file viewer available as HTML CustomElement

Commits at 6aa99c12291d2ae00935ba16fc117da2eb2cc8ce

  1. aa51b230 chore: Fix ignore rule for packaged tarball Forgot to change when ditched monorepo. 4b677892bcfe36b967e292cf8431521eb47104ae Shota FUJI authored at Shota FUJI comitted at
  2. aeb1a82c chore: Remove Storybook 00a896342ae384ec4a450467a500da462bb77959 introduced a docs site, which includes Storybook equivalent working examples. Shota FUJI authored at Shota FUJI comitted at
  3. 00a89634 docs: Add docs site When I upgraded Storybook to v7, Docs Addon stopped reading JSDoc comments. The feature, along with UX for the Docs Page (as an end-user) have not been great from the start. So I decided to write a document site from scratch, as the complexity of this project is not high. Upon writing the docs, I realized I no longer need Storybook anymore thanks to simple playground section. * Figspec elements are Custom Element: no need for style isolation and it just works with `<iframe>`. * Minimum HTML+JS+class-less CSS is very lightweight, simple and robust. Goodbye monstrously huge dependencies. * Because how Custom Elements work, HMR is not a thing. Reload is always required and this simple docs site is way faster at the page startup speed. * I'm dubious about web-component-analyzer's future and current quality. Years passed but it's still "for experimental and demo purposes". In the end, burden of duplicated documentation because of Mixins and lack of stability outweighed the merit. Simple `<iframe>` and HTML/JS per stories solved my problem. It does not allow me to change parameter (Args, in Storybook) but I've never used the feature in this project. For Viewport Addon functionality, just open the frame in new tab then use browsers' built-in device emulation. Many devs knowing how to use Storybook but it can't beat the benefit comes from the reduction of the number of project's dependencies by removing SB packages. So I copied stories to "Examples". (technically it's test cases?) Removal of Storybook and its files are not included in this commit in order to keep commits' atomicity. Shota FUJI authored at Shota FUJI comitted at
  4. 0a028f9f chore: Upgrade Storybook to v7 I removed Docs Addon related things because: * it doesn't read components' JSDoc * with `parameters.docs`, it crashes with error message like "import_ts_dedent is not a function" (I don't remember exact message) * hand-written document is far superior, obviously Shota FUJI authored at Shota FUJI comitted at
  5. 53197c04 fix: Remove unnecessary double quotes Shota Fuji authored at Shota Fuji comitted at
  6. 9f572c1f chore: Helper script no longer generate filename with colon https://github.com/pocka/figspec/issues/27 fix #27 Shota Fuji authored at Shota Fuji comitted at
  7. d393b4a0 chore: Add automated release workflow Shota Fuji authored at Shota Fuji comitted at
  8. 6db7070e chore: Upgrade Node.js version for development to v16 Shota Fuji authored at Shota Fuji comitted at
  9. 8e7c8ce9 chore: Update test/lint action file Shota Fuji authored at Shota Fuji comitted at
  10. d2539660 chore: Upgrade TypeScript Shota Fuji authored at Shota Fuji comitted at
  11. 3436642e chore: Re-configure husky Yarn v3 does not have a lifecycle hook equal to or similar to `postinstall` hook. So I installed this plugin. https://github.com/sachinraja/yarn-plugin-postinstall-dev Shota Fuji authored at Shota Fuji comitted at
  12. 4dfc0c86 chore: Use Yarn v3 Yarn v1 is deprecated. Shota Fuji authored at Shota Fuji comitted at
  13. 8f28e1a1 docs: Update README.md Shota Fuji authored at Shota Fuji comitted at
  14. 4b677892 chore: Switch to multirepo https://github.com/pocka/figspec-react/commit/f8308400ffcfa0cfba1c0e0bcc87167407b08957 > * Each package don't recieve frequent updates. > * Uses independent versioning. > * Create tags and releases has been hard. > * It's far easier to manage devDependencies in single repo than in > monorepo. No need to worry about mixing Storybook versions. > * User friendly. Shota Fuji authored at Shota Fuji comitted at
  15. fd11a1d2 Merge pull request #43 from brettdewoody/41-support-react-18 Add React 18 as peer dependency. Shota FUJI authored at GitHub comitted at
  16. 459b423e react/v1.0.1 Shota Fuji authored at Shota Fuji comitted at
  17. 967c346d components/v1.0.1 Shota Fuji authored at Shota Fuji comitted at
  18. 4d901a9a Merge pull request #36 from e111077/remove-clipboard remove copy-to-clipboard Shota FUJI authored at GitHub comitted at
  19. e88d2e3f Merge pull request #35 from pocka/feature/lit-labs-react Use @lit-labs/react Shota FUJI authored at GitHub comitted at
  20. 887d2e74 Merge pull request #33 from e111077/lit-2 Upgrade to lit 2 Shota FUJI authored at GitHub comitted at
  21. 99f482a3 react/v1.0.0 Shota Fuji authored at Shota Fuji comitted at
  22. 64dac51c components/v1.0.0 Shota Fuji authored at Shota Fuji comitted at
  23. bbe9ce67 feat(components): Basic touch gestures https://github.com/pocka/figspec/issues/3 Added a dead simple touch gestures. Shota Fuji authored at Shota Fuji comitted at
  24. d0e35457 docs(components): Update TODO comment To reflect the current state correctly. Shota Fuji authored at Shota Fuji comitted at
  25. 37e79762 components/v0.1.10 Shota Fuji authored at Shota Fuji comitted at
  26. 311b1aad docs: Update README Simplified. Remove bloated feature goals. Shota Fuji authored at Shota Fuji comitted at
  27. 404f5196 chore(components): Declare lit-html as a regular dependency https://github.com/pocka/figspec/issues/29 Removed the use of transitive dependency in the package. Now works on PnP-ed projects without any configuration. Shota Fuji authored at Shota Fuji comitted at
  28. ed1245dc style(components): Format with Prettier Shota Fuji authored at Shota Fuji comitted at
  29. 6f276c53 components/v0.1.9 Shota Fuji authored at Shota Fuji comitted at
  30. 9547cdf2 fix(components): Use Figma's default background colour https://github.com/pocka/figspec/issues/24 Shota Fuji authored at Shota Fuji comitted at