UNPKG

framer

Version:

The Framer library is the code that drives Framer projects and components. It helps you build from simple interactive components to whole apps.

432 lines (233 loc) 7.66 kB
# Framer Library ## [1.0.10] - 2019-06-14 - Upgraded Framer Motion to 0.19.1 ### Fixed - Sizing issues with Scroll content ## [1.0.9] - 2019-06-06 ### Added - Add `framer/resource` to code editor ### Improved - Scroll, ControlTypes documentation - Error messages when components are not exported. - Performance with large images ### Fixed - Jittery link transition animations. Animate `deprecatedFrame` `x`/`y` instead of `top`/`left` - Scroll size ## [1.0.8] - 2019-05-29 ### Added - Added `RenderTarget` to the public types ### Fixed - Missing `contentOffsetX` and `contentOffsetY` properties of `Page` - Using `delay` for transitions - Animating with color tokens - Double border when using border overrides in Framer X - Removed accidental dependencies - Scroll component not resizing correctly ### Improved - Performance in Framer X ## [1.0.7] - 2019-05-21 ### Improvements - Radial gradient improvements. - Upgraded Framer Motion dependency to 0.18.0. ### Removed - Revert fix for border bleeding bug. ## [1.0.6] - 2019-05-17 ## [1.0.5] - 2019-05-16 ## [1.0.4] - 2019-05-09 - Upgraded Framer Motion to 0.16.11 ### Fixed - Positioning of Stack ## [1.0.2] - 2019-05-07 ### Fixed - Issue with positioning of Design Component instances ## [1.0.1] - 2019-05-07 This release brings an all new API, read the documentation here: https://www.framer.com/api ## [0.10.10] - 2019-03-26 ## [0.10.9] - 2019-02-27 ## [0.10.8] - 2019-02-19 ## [0.10.7] - 2019-02-18 ## [0.10.6] - 2019-02-13 ### Fixed - Availability of Property Control Types ## [0.10.5] - 2019-01-31 ### Fixed - Images in a code component could be hidden on the canvas. ## [0.10.4] - 2019-01-29 ### Improved - Moved error and placeholder states into Vekter for X15 ## [0.10.3] - 2019-01-24 ### Fixed - Device images not showing in when viewing a hosted project ## [0.10.2] - 2019-01-21 ### Fixed - Navigation component showing the wrong screen - `onTapStart` for touch environments - Stacks in design components having the wrong background - Properties getter has been replaced by `this.props` with better typing - Text wrapping could break when switching between Fixed and Auto - Miscellaneous cleanup ## [0.10.1] - 2018-12-19 ### Added - `onMouseEnter` and `onMouseLeave` events to Frame ### Fixed - Event handlers being called twice in Code overrides - Device masks are no longer shown on actual devices ## [0.10.0] - 2018-12-11 ### Breaking changes - `PageContentDimension` is no longer an enum but a union type of "auto" and "stretch" which means that if you were using `PageContentDimension.Stretch` you should now replace it with `"stretch"` - `PageEffectDefault` has been renamed to `PageEffect` ### Improved - Navigation overlays - Added inline documentation in VSCode ### Fixed - Types for Stack and Page components - Restored Animatable.set in type public file ## [0.9.7] - 2018-11-22 ### Fixed - Perspective in Page component ## [0.9.6] - 2018-11-21 ### Added - New Devices: iPhone XS, iPhone XR, iPhone XS Max, Pixel 3, Pixel 3XL, Galaxy S9 ## [0.9.5] - 2018-11-16 ### Fixed - Navigation container background ## [0.9.4] - 2018-11-16 ### Fixed - Navigation goBack transitions ## [0.9.3] - 2018-11-14 ### Fixed - Handling of errors in Code Components ## [0.9.2] - 2018-10-31 ### Fixed - Correctly calculate `currentPage` of PageComponent on initialization. ### Improved - Performance of `isEqual` ## [0.9.1] - 2018-10-30 ### Improved - Component Loader error handling ## [0.9.0] - 2018-10-24 ### Added - Page component - Property Control types for Arrays and Objects - backfaceVisible, perspective and preserve3d props to Frame ### Fixed - Listening Animatable's when updating Frames ## [0.8.1] - 2018-10-16 ### Improved - Performance of `Data` objects - Overlay transitions can have a custom backdrop color - Scroll components support mouse-wheel scrolling by default ## [0.8.0] - 2018-09-18 ### Improved - SVG component is now compatible with Stack layout ## [0.7.13] - 2018-09-17 ### Fixed - Removed `debugger` statement ## [0.7.12] - 2018-09-14 ### Added - `resource.url()` for referencing resources inside your project - Property control types for files (`ControlType.File`) and images (`ControlType.Image`) ### Improved - Display of errors in Components ### Fixed - Setting width in percentages for Design Components in Code - Scrolling animation with velocity ## [0.7.11] - 2018-09-07 ### Improved - Internal changes for device rendering ## [0.7.10] - 2018-09-04 ### Improved - Interpolation of objects and colors ### Fixed - Scrolling on touch devices - Copy CSS for Stacks - Transition of Navigation components ## [0.7.9] - 2018-08-31 ### Improved - Scaling font size for components with erros ### Fixed - Rendering of shadows in Shapes ## [0.7.8] - 2018-08-29 ### Added - Fade transition for Navigation component ## [0.7.7] - 2018-08-28 ### Fixed - Bug in animation / interpolation API ## [0.7.6] - 2018-08-28 ### Added - Animation of colors ### Improved - Importing Design Components in Code - Animation API has more consistent option handling ### Fixed - Empty state of Stack component - Off-pixel rendering of Frame in some cases ## [0.7.5] - 2018-08-21 ### Improved - Generic types of `Override` ### Fixed - Sorting UI of Stacks ## [0.7.4] - 2018-08-21 ### Added - Bezier curve animations ## [0.7.3] - 2018-08-20 ### Added - Support for OverrideFunctions for Design Components used in code ### Improved - Skip invisible stack items during layout - Renamed FusedNumber option splitKey to toggleKey ### Fixed - Handling of Animatable properties in Stack - Rerun OverrideFunction on rerender ## [0.7.2] - 2018-08-20 ### Improved - Fix FrameProperties type of Default Override type ## [0.7.1] - 2018-08-20 ### Improved - Made Animatable.set() also accepts Animitable values - Default Override type to FrameProperties ## [0.7.0] - 2018-08-20 ### Improved - Rename FramerFunction to Override ## [0.6.1] - 2018-08-16 ### Added - onClick, onMouseDown and onMouseUp as event handlers ### Fixed - Setting default stack properties in package.json ## [0.6.0] - 2018-08-16 Bump version to 0.6 to avoid nmp registry conflicts in the future ### Fixed - Make Stack background transparent by default ## [0.2.0] - 2018-08-15 ### Improved - Better typing of Data function ## [0.1.34] - 2018-08-15 ### Added - Added private API for CSS exporting from a component ### Improved - Cleaned up CSS generation ## [0.1.33] - 2018-08-15 ### Improved - Made a deprecated PropertyStore available again ## [0.1.32] - 2018-08-15 ### Fixed - Bug where Animatable transactions would not work well together with ObservableObjects ## [0.1.31] - 2018-08-14 ### Added - Support for importing Design Components in code ## [0.1.30] - 2018-08-13 ### Improved - Change boolean control titles `enabled` and `disabled` to `enabledTitle` and `disabledTitle` ## [0.1.29] - 2018-08-13 ### Property Controls - `unit` type for number inputs (e.g. %) - `step` allows numbers to be floats - `placeholder` for string inputs - `hidden` function allows controls to be hidden ## [0.1.28] - 2018-08-09 ### Added - `Data` function to create observable object that rerenders ### Fixed - `animate()` function updates objects with multiple Animatable values only once per animation tick ## [0.1.27] - 2018-08-1 Initial Beta 1 release