@twick/timeline 0.15.3 → 0.15.5

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/dist/index.js CHANGED
@@ -681,6 +681,14 @@ class VideoElement extends TrackElement {
681
681
  getVolume() {
682
682
  return this.props.volume ?? 1;
683
683
  }
684
+ getRotation() {
685
+ var _a;
686
+ return ((_a = this.frame) == null ? void 0 : _a.rotation) ?? 0;
687
+ }
688
+ setRotation(rotation) {
689
+ this.frame.rotation = rotation;
690
+ return this;
691
+ }
684
692
  getPosition() {
685
693
  return {
686
694
  x: this.frame.x ?? 0,
@@ -953,6 +961,14 @@ class ImageElement extends TrackElement {
953
961
  getObjectFit() {
954
962
  return this.objectFit;
955
963
  }
964
+ getRotation() {
965
+ var _a;
966
+ return ((_a = this.frame) == null ? void 0 : _a.rotation) ?? 0;
967
+ }
968
+ setRotation(rotation) {
969
+ this.frame.rotation = rotation;
970
+ return this;
971
+ }
956
972
  getPosition() {
957
973
  return {
958
974
  x: this.frame.x ?? 0,
@@ -8124,7 +8140,7 @@ var __POSTHOG_ERROR_MESSAGES = {
8124
8140
  return PostHogErrorBoundary;
8125
8141
  })(React.Component);
8126
8142
  const name = "@twick/timeline";
8127
- const version = "0.15.3";
8143
+ const version = "0.15.5";
8128
8144
  const packageJson = {
8129
8145
  name,
8130
8146
  version