@pqina/pintura 8.62.0 → 8.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.63.0 | 2023-08-16
4
+
5
+ - Add Hex color input to color picker control, this input is disabled by default, enable by passing `enableInput` to `backgroundColor` style control options.
6
+ - `createMarkupEditorShapeStyleControls` now also accepts style properties.
7
+
8
+ Media controls have been moved to core so media can be controlled from main editor. This functionality only works when video extension is loaded.
9
+
10
+ - Add `"play"` and `"pause"` events.
11
+ - Add `play()`, starts playing a video.
12
+ - Add `pause()`, pauses a playing video.
13
+ - Add `togglePlayPause()`, toggle between play and pause mode.
14
+ - Add `isPaused()`, returns `true' if the video is paused.
15
+ - Add `mute()`, mutes audio.
16
+ - Add `unmute()`, restores audio.
17
+ - Add `toggleMute()`, toggles mute state.
18
+ - Add `getDuration()`, returns the video duration in seconds.
19
+ - Add `getCurrentTime()`, returns the current position in seconds.
20
+ - Add `setCurrentTime(seconds)`, sets the current position in seconds.
21
+
3
22
  ## 8.62.0 | 2023-08-07
4
23
 
5
24
  - Add `imageMinDuration` to limit the duration and clip lengths of loaded videos.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "8.62.0",
2
+ "version": "8.63.0",
3
3
  "name": "@pqina/pintura",
4
4
  "description": "This package is for testing purposes only. Visit https://pqina.nl/pintura to purchase a valid license.",
5
5
  "browser": "pintura.js",