@rocket.chat/fuselage 0.32.0-dev.388 → 0.32.0-dev.389

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 +1 @@
1
- {"version":3,"file":"AudioPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/AudioPlayer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AA6B5D,eAAO,MAAM,WAAW;SAGf,MAAM;;;;;;;;;;;0CA6Jd,CAAC"}
1
+ {"version":3,"file":"AudioPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/AudioPlayer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AA6B5D,eAAO,MAAM,WAAW;SAGf,MAAM;;;;;;;;;;;0CAgKd,CAAC"}
@@ -3295,14 +3295,15 @@ var AudioPlayer = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_a
3295
3295
  return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Box, { borderWidth: 'default', bg: 'tint', borderColor: 'extra-light', pb: 'x12', pie: 'x8', pis: 'x16', borderRadius: 'x4', w: '100%', maxWidth: 'x300', ref: containerRef, display: 'flex', alignItems: 'center' },
3296
3296
  react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.IconButton, { primary: true, medium: true, onClick: handlePlay, "aria-label": isPlaying ? pauseLabel : playLabel, icon: isPlaying ? 'pause-shape-filled' : 'play-shape-filled' }),
3297
3297
  react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Margins, { inline: 'x8' },
3298
- react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Box, { fontScale: 'p2', color: 'secondary-info', pie: 'x8' }, isPlaying || currentTime > 0
3298
+ react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Box, { fontScale: 'p2', color: 'secondary-info' }, isPlaying || currentTime > 0
3299
3299
  ? getMaskTime(currentTime)
3300
3300
  : getMaskTime(durationTime)),
3301
- react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Slider__WEBPACK_IMPORTED_MODULE_3__.Slider, { "aria-label": audioPlaybackRangeLabel, showOutput: false, value: currentTime, maxValue: durationTime, onChange: function (value) {
3302
- if (audioRef.current) {
3303
- audioRef.current.currentTime = value;
3304
- }
3305
- } }),
3301
+ react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Box, { mi: 'x16', w: 'full' },
3302
+ react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Slider__WEBPACK_IMPORTED_MODULE_3__.Slider, { "aria-label": audioPlaybackRangeLabel, showOutput: false, value: currentTime, maxValue: durationTime, onChange: function (value) {
3303
+ if (audioRef.current) {
3304
+ audioRef.current.currentTime = value;
3305
+ }
3306
+ } })),
3306
3307
  react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Button, { secondary: true, small: true, onClick: handlePlaybackSpeedSingleControl, "aria-label": changePlaybackSpeedLabel },
3307
3308
  playbackSpeed,
3308
3309
  "x")),