Skip to content

Releases: kulmajaba/figma-plugin-react-hooks

3.3.1

Choose a tag to compare

@kulmajaba kulmajaba released this 11 Mar 08:18
da273dd

Fixes

  • Fix TypeScript build path

3.3.0

Choose a tag to compare

@kulmajaba kulmajaba released this 07 Mar 07:56
fbaa631

New features

  • The hook now returns a boolean as the third value of the tuple, indicating loading state.

Changes

  • Update documentation

Fixes

  • Fix dynamic page support

Notes

  • Worst case performance tests show a 40% performance drop compared to the non-dynamic page implementation. There is no singular culprit, every operation to resolve the properties of a single node takes more time.

3.2.0

Choose a tag to compare

@kulmajaba kulmajaba released this 01 Mar 12:29
9093d5b

New features

  • Support Figma's dynamic page loading

Changes

  • Refine types for resolved nodes

3.1.1

Choose a tag to compare

@kulmajaba kulmajaba released this 19 Feb 11:08
dc6a94f

Fixes

  • Always resolve node type

3.1.0

Choose a tag to compare

@kulmajaba kulmajaba released this 14 Feb 08:11
aafa301

New features

  • Add pluginDataKeys and sharedPluginDataKeys into the hook options and resolve corresponding data when serializing a selection

3.0.0

Choose a tag to compare

@kulmajaba kulmajaba released this 12 Feb 19:17
d8113a6

Breaking changes

  • The resolveVariables property in hook options has been changed from boolean to readonly SceneNode['boundVariables'][] | 'all', meaning you can choose which variables the hook will resolve and add to a node before passing it to the plugin UI (similarly to resolveProperties).

2.0.1

Choose a tag to compare

@kulmajaba kulmajaba released this 07 Feb 11:50
5c78a9b

Fixes

  • Ensure figma-plugin-api types are dropped during builds

2.0.0

Choose a tag to compare

@kulmajaba kulmajaba released this 07 Feb 11:23
88c5cde

Breaking changes

  • figma-plugin-api is now listed as a peer dependency and not bundled with the library. This ensures the hooks API works when other APIs using figma-plugin-api are also present.

Fixes

  • The hook updates the APIs with apiOptions if given (Resolves #2)

1.1.0

Choose a tag to compare

@kulmajaba kulmajaba released this 05 Feb 15:09

Rewrite the type system for better developer experience

1.0.0

Choose a tag to compare

@kulmajaba kulmajaba released this 23 Jan 09:03

Initial release