@twick/timeline 0.15.4 → 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.mjs CHANGED
@@ -679,6 +679,14 @@ class VideoElement extends TrackElement {
679
679
  getVolume() {
680
680
  return this.props.volume ?? 1;
681
681
  }
682
+ getRotation() {
683
+ var _a;
684
+ return ((_a = this.frame) == null ? void 0 : _a.rotation) ?? 0;
685
+ }
686
+ setRotation(rotation) {
687
+ this.frame.rotation = rotation;
688
+ return this;
689
+ }
682
690
  getPosition() {
683
691
  return {
684
692
  x: this.frame.x ?? 0,
@@ -951,6 +959,14 @@ class ImageElement extends TrackElement {
951
959
  getObjectFit() {
952
960
  return this.objectFit;
953
961
  }
962
+ getRotation() {
963
+ var _a;
964
+ return ((_a = this.frame) == null ? void 0 : _a.rotation) ?? 0;
965
+ }
966
+ setRotation(rotation) {
967
+ this.frame.rotation = rotation;
968
+ return this;
969
+ }
954
970
  getPosition() {
955
971
  return {
956
972
  x: this.frame.x ?? 0,
@@ -8122,7 +8138,7 @@ var __POSTHOG_ERROR_MESSAGES = {
8122
8138
  return PostHogErrorBoundary;
8123
8139
  })(React.Component);
8124
8140
  const name = "@twick/timeline";
8125
- const version = "0.15.4";
8141
+ const version = "0.15.5";
8126
8142
  const packageJson = {
8127
8143
  name,
8128
8144
  version