-
Fixed
fastboard-ui
CJS export not working well withtippy.js
, this was caused bytsup
'streeshake
option drops ESM behavior. While this often works well, it actually breaks the CJS export. Here's the details:// old fastboard-ui/dist/index.js (CJS export) var Tippy = require('tippy.js') Tippy.setDefaultProps({})
// new fastboard-ui/dist/index.js (CJS export) var import_Tippy = __toESM(require('tippy.js')) import_Tippy.default.setDefaultProps({})
The
tippy.js
has this CJS export:// tippy.js (CJS export) exports.__esModule = true exports.default = Tippy
__toESM
here helps to convert the input in babel convention to an ESM module, which should fix this issue.
- Added warning in
React.StrictMode
. - Export helper functions like
addRoomListener
addPlayerListener
addViewListener
addManagerListener
.
- Added
syncedStore
api. - Fixed incorrect UI for user-defined hotKeys.
- Fixed whiteboard may lose focus on some devices.
- Fixed
createUI
type.
- Deprecated
insertCodeEditor
insertGeoGebra
insertCountdown
methods. - Make
Fastboard
immutable. - Added
removePage
api. - Deprecated
mount
,replay
api, introducecreateUI
,createReplayUI
api. - Added optional
netlessApps
config increateFastboard
.
- Added track info in
window.__netlessUA
. - Auto hide apps panel on click buttons on it.
- Upgraded
@netless/app-slide
to0.2.0
.
- Re-export
@netless/app-slide
. - Rename
@netless/app-media-player
to@netless/app-plyr
. - Update toolbar handler styles.
- Added
setTextColor
api. - Added
config
field to theFastboard
component to hide controls and apps button. - Added
apps
to control the content in apps panel. - Added
useFastboard
anduseReplayFastboard
hooks to help calling async function in react.
- Hide controls if room is not writable, instead of making them not clickable.
- Adjust clickable area of controls.
- Fix a bug where internal reactive values might not be updated.
Rewrite the whole thing. Change UI framework to use svelte.