@streamscloud/embeddable 6.5.0-1758183492920 → 6.5.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.
@@ -1,7 +1,7 @@
1
1
  import { Currency } from '../core/enums';
2
- type CurrencyMode = 'none' | 'symbol' | 'code';
2
+ type CurrecyMode = 'none' | 'symbol' | 'code';
3
3
  export type PriceRepresentationOptions = {
4
- currencyMode?: CurrencyMode;
4
+ currencyMode?: CurrecyMode;
5
5
  missingFractionMode?: 'hide' | 'currency-placeholder' | 'zeros' | 'zeros-or-placeholder';
6
6
  locale?: string;
7
7
  };
@@ -89,7 +89,6 @@ $effect(() => {
89
89
  <div
90
90
  class="attachments-horizontal__item"
91
91
  class:attachments-horizontal__item--single={attachmentsToShow.length === 1}
92
- data-theme={attachment.isAd?'default':'dark'}
93
92
  onclick={() => handleAttachmentClick(attachment)}
94
93
  onkeydown={() => {}}
95
94
  role="none"
@@ -218,7 +217,4 @@ $effect(() => {
218
217
  white-space: nowrap;
219
218
  overflow: hidden;
220
219
  text-overflow: ellipsis;
221
- }
222
- :global([data-theme="dark"]) .attachments-card__extra-info {
223
- color: #ffffff;
224
220
  }</style>
@@ -2,7 +2,7 @@ export declare class ShortVideoViewerUiManager {
2
2
  readonly globalCssVariables: string;
3
3
  readonly showAttachments: boolean;
4
4
  readonly showControls: boolean;
5
- private controlsPanelWidth;
5
+ private controlsPanelWidht;
6
6
  private canShowControls;
7
7
  private canShowAttachments;
8
8
  private enableAttachments;
@@ -1,6 +1,6 @@
1
1
  export class ShortVideoViewerUiManager {
2
2
  globalCssVariables = $derived.by(() => {
3
- const values = [`--_short-video-viewer--controls-panel--width: ${this.controlsPanelWidth}px`];
3
+ const values = [`--_short-video-viewer--controls-panel--width: ${this.controlsPanelWidht}px`];
4
4
  return values.join(';');
5
5
  });
6
6
  showAttachments = $derived.by(() => {
@@ -9,7 +9,7 @@ export class ShortVideoViewerUiManager {
9
9
  showControls = $derived.by(() => {
10
10
  return this.canShowControls;
11
11
  });
12
- controlsPanelWidth = $state(0);
12
+ controlsPanelWidht = $state(0);
13
13
  // is provided from the calling side
14
14
  canShowControls = $state(false);
15
15
  // is provided from the calling side
@@ -26,6 +26,6 @@ export class ShortVideoViewerUiManager {
26
26
  this.enableAttachments = !this.enableAttachments;
27
27
  };
28
28
  setControlsPanelWidth(value) {
29
- this.controlsPanelWidth = value;
29
+ this.controlsPanelWidht = value;
30
30
  }
31
31
  }
@@ -9,7 +9,7 @@ export declare class ShortVideosPlayerUiManager {
9
9
  private _mainViewColumnWidth;
10
10
  private _mediaCenterHeaderHeight;
11
11
  private _controlsAttachmentsPanelWidth;
12
- private _controlsNavigationButtonsWidth;
12
+ private _controlsNavitagionButtonsWidth;
13
13
  private _controlsAvailableSpace;
14
14
  private _controlsContentWidth;
15
15
  get viewTotalWidth(): number;
@@ -17,12 +17,12 @@ export class ShortVideosPlayerUiManager {
17
17
  isMobileView = $derived.by(() => this._viewTotalWidth <= 576);
18
18
  viewInitialized = $derived.by(() => !!this._viewTotalWidth && !!this._mainViewColumnWidth);
19
19
  showShortVideoOverlayAttachments = $derived.by(() => this.viewInitialized && this._controlsAttachmentsPanelWidth < CONTROLS_ATTACHMENTS_MAX_WIDTH + 10);
20
- showShortVideoOverlayControls = $derived.by(() => this.viewInitialized && this._controlsContentWidth < this._controlsNavigationButtonsWidth);
20
+ showShortVideoOverlayControls = $derived.by(() => this.viewInitialized && this._controlsContentWidth < this._controlsNavitagionButtonsWidth);
21
21
  _viewTotalWidth = $state(0);
22
22
  _mainViewColumnWidth = $state(0);
23
23
  _mediaCenterHeaderHeight = $state(0);
24
24
  _controlsAttachmentsPanelWidth = $state(0);
25
- _controlsNavigationButtonsWidth = $state(0);
25
+ _controlsNavitagionButtonsWidth = $state(0);
26
26
  _controlsAvailableSpace = $derived.by(() => (this._viewTotalWidth - this._mainViewColumnWidth) / 2);
27
27
  _controlsContentWidth = $derived.by(() => this._controlsAvailableSpace - CONTROLS_PADDING_HORIZONTAL * 2);
28
28
  get viewTotalWidth() {
@@ -42,6 +42,6 @@ export class ShortVideosPlayerUiManager {
42
42
  this._controlsAttachmentsPanelWidth = width;
43
43
  };
44
44
  setNavigationButtonsBlockWidth = (width) => {
45
- this._controlsNavigationButtonsWidth = width;
45
+ this._controlsNavitagionButtonsWidth = width;
46
46
  };
47
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/embeddable",
3
- "version": "6.5.0-1758183492920",
3
+ "version": "6.5.0",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",