@playkit-js/transcript 3.5.26 → 3.5.27-canary.0-78dc003

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playkit-js/transcript",
3
- "version": "3.5.26",
3
+ "version": "3.5.27-canary.0-78dc003",
4
4
  "main": "dist/playkit-transcript.js",
5
5
  "license": "AGPL-3.0",
6
6
  "private": false,
@@ -77,7 +77,7 @@
77
77
  "html5 player"
78
78
  ],
79
79
  "dependencies": {
80
- "@playkit-js/common": "1.5.15-canary.0-e058c69",
80
+ "@playkit-js/common": "1.5.17",
81
81
  "sanitize-html": "^2.11.0",
82
82
  "stream-browserify": "^3.0.0"
83
83
  },
@@ -23,6 +23,7 @@
23
23
  font-style: normal;
24
24
  font-weight: 700;
25
25
  line-height: 20px;
26
+ text-align: center;
26
27
  }
27
28
  }
28
29
  }
@@ -92,10 +92,9 @@ const initialSearch = {
92
92
 
93
93
  const SMALL_WIDGET_WIDTH = 240;
94
94
  const SEARCHBAR_HEIGHT = 38; // height of search bar with margins
95
- const smallScreen = PLAYER_BREAK_POINTS?.SMALL || 480;
96
95
 
97
96
  const mapStateToProps = (state: any, ownProps: Pick<TranscriptProps, 'expandMode'>) => ({
98
- smallScreen: ownProps.expandMode === SidePanelModes.ALONGSIDE && state.shell.playerClientRect?.width < smallScreen,
97
+ smallScreen: ownProps.expandMode === SidePanelModes.ALONGSIDE && state.shell.playerClientRect?.width <= PLAYER_BREAK_POINTS.TINY,
99
98
  isMobile: state.shell.isMobile,
100
99
  playerWidth: state.shell.playerClientRect?.width
101
100
  });