Added "Open image" and "Objects" button to example configuration.
Straight line can now be drawn in draw tool by pressing shiftKey
Menubar button style can now be changed to "flat", "outline", "raised" or "text" via "buttonVariant" option.
Menubar button color can now be changed to "primary", "danger", "paper" or "chip" via "buttonColor" option.
Menubar items can now be sorted by using "position" option.
Bug Fixes
Fixed some issues with custom menubar item alignment.
Menubar items without icon will now display properly.
Fixed an issue where draw tool would not work properly when opening it with an object selected.
Toggling history or object panel will now close other open panels.
2022 March 08 - Version 3.0.2
Enhancements
Icons in navbar and menubar now accept url, svg path or react component.
Overlays and dialogs inside pixie will now have improved positioning.
Bug Fixes
Background color picker in new image dialog will now toggle correctly.
Pixie styling will no longer conflict with bootstrap or styling.
2022 February 22 - Version 3.0.1
Bug Fixes
Initializing via "new Pixie" will work correctly again, same as on pre-3.0.0 versions.
Add default width and height to rectangle shape.
2022 February 17 - Version 3.0.0
Breaking Changes
Merged pixie .css file into main bundle, it does not need to be imported separately anymore.
Renamed UMD bundle from "scripts.min.js" to "pixie.umd.js"
Removed "open", "save" and objects panel toggle buttons from default menubar configuration. These can be re-added via custom configuration, if needed.
Renamed "defaultTheme" option to "activeTheme". Theme color configuration changed. See docs for more details.
"activeLanguage" and "languages" are now two separate options.
Replaced google font picker and category selector with flat font list. All fonts (custom ones and google) now need to be specified via configuration.
"Transform" and "Crop" tools have been merged.
Removed "Background color" navigation item. Background can now be selected when creating a new canvas.
"image" option does not accept html image element anymore, only image/state url or raw data string.
Removed "width" and "height" options. Pixie will inherit the size of the containing element.
Removed "compact" and "ignoreMobileKeyboard" options.
Merged "name" and "displayName" option for nav items, and removed "type" option. Nav item "icon" option will now accept react component as well.
Renamed "toolbar" option to "menubar". Merged "leftItems", "centerItems" and "rightItems" into "items" option. There's an "align" option for menu item now instead.
Renamed "crop.hideCustomControls" to "crop.allowCustomRatio".
Removed "ui.zoom.disableMinimumZoom" option.
Renamed "objectDefault.basicShape" to "objectDefaults.shape".
New Features
Fully rewritten pixie in React. This results in many improvements from previous version, including better performance, bundle size reduction by nearly 2x (with bigger reduction in future updates), better animations and many bugfixes.
Fully redesigned the interface. It's now more neutral and will fit better into existing designs, even without changes to the theme.
New design is also more responsive and will work better on mobile, tablet and other screen sizes.
Pixie can now be imported into existing apps as an ES module.