Skip to content

Commit

Permalink
chore:release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hqer927 committed Dec 2, 2024
1 parent 7f0ab72 commit f79c79c
Show file tree
Hide file tree
Showing 11 changed files with 195 additions and 229 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.0.0 (2024-12-02)

- When turning on appliance plugin, Fastboard UI add `laserPen`.
- update `@netless/window-manager` to `^1.0.0`.

## 0.3.22 (2024-11-05)

- Fastboard UI color menu to support custom color from ``JoinRoomParams.floatBar.color`` .
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@hyrious/esbuild-dev": "^0.10.3",
"@hyrious/esbuild-plugin-svelte": "^0.2.0",
"@hyrious/rimraf": "^0.1.0",
"@netless/appliance-plugin": "1.1.6-beta.0",
"@netless/window-manager": "0.4.76-beta.4",
"@netless/appliance-plugin": "^1.1.6",
"@netless/window-manager": "^1.0.0",
"@sveltejs/vite-plugin-svelte": "2.4.2",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.61.0",
Expand All @@ -45,8 +45,8 @@
},
"pnpm": {
"overrides": {
"@netless/window-manager": "^0.4.76-beta.4",
"@netless/appliance-plugin": "1.1.6-beta.0",
"@netless/window-manager": "^1.0.0",
"@netless/appliance-plugin": "^1.1.6",
"white-web-sdk": "^2.16.52"
},
"peerDependencyRules": {
Expand Down
6 changes: 3 additions & 3 deletions packages/fastboard-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netless/fastboard-core",
"version": "0.3.23-beta.0",
"version": "1.0.0",
"description": "A tiny wrapper of white-web-sdk and @netless/window-manager and @netless/appliance-plugin.",
"main": "src/index.ts",
"exports": {
Expand All @@ -25,8 +25,8 @@
"@netless/synced-store": "^2.0.7"
},
"peerDependencies": {
"@netless/appliance-plugin": ">=1.1.5",
"@netless/window-manager": ">=0.4.75",
"@netless/appliance-plugin": ">=1.1.6",
"@netless/window-manager": ">=1.0.0",
"jspdf": ">=2.5.1",
"white-web-sdk": ">=2.16.52"
},
Expand Down
9 changes: 7 additions & 2 deletions packages/fastboard-core/src/impl/FastboardApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ import {
import { ensure_official_plugins, transform_app_status } from "../internal";
import { register } from "../behaviors/lite";
import { ApplianceMultiPlugin } from "@netless/appliance-plugin";
import type { AppliancePluginOptions, AppliancePluginInstance, ApplianceNames as ExtendApplianceNames, MemberState as ExtendMemberState} from "@netless/appliance-plugin";
import type {
AppliancePluginOptions,
AppliancePluginInstance,
ApplianceNames as ExtendApplianceNames,
MemberState as ExtendMemberState,
} from "@netless/appliance-plugin";

function noop() {}

Expand Down Expand Up @@ -130,7 +135,7 @@ export type {
WhiteWebSdkConfiguration,
WindowManager,
ExtendApplianceNames,
ExtendMemberState
ExtendMemberState,
};

/** pencil, eraser, rectangle... */
Expand Down
2 changes: 1 addition & 1 deletion packages/fastboard-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netless/fastboard-react",
"version": "0.3.23-beta.0",
"version": "1.0.0",
"description": "React components of @netless/fastboard.",
"main": "src/index.tsx",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/fastboard-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netless/fastboard-ui",
"version": "0.3.23-beta.0",
"version": "1.0.0",
"description": "The front-end of @netless/fastboard-core.",
"main": "src/index.ts",
"svelte": "dist/index.svelte.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/fastboard-ui/src/components/Icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const Icons = {
Pause,
Loading,
LaserPen,
LaserPenFilled
LaserPenFilled,
};

export default Icons;
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ $name: "fastboard-toolbar";
display: none;
}

.#{$name}-panel-switch-pencil{
.#{$name}-panel-switch-pencil {
display: flex;
}

.#{$name}-panel-switch-btn{
.#{$name}-panel-switch-btn {
width: 24px;
height: 24px;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/fastboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netless/fastboard",
"version": "0.3.23-beta.0",
"version": "1.0.0",
"description": "A tiny wrapper of white-web-sdk and @netless/window-manager.",
"main": "src/index.ts",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions packages/fastboard/test/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ createFastboard({
},
joinRoom: {
uid: genUID(),
uuid: import.meta.env.VITE_ROOM_UUID || "5f8a2ee0ae2111ef90a28fe3f64a87dd",
uuid: import.meta.env.VITE_ROOM_UUID || "e3e124b0b05011ef90a28fe3f64a87dd",
// floatBar: {
// colors: [
// [224, 32, 32],
Expand All @@ -60,7 +60,7 @@ createFastboard({
// },
roomToken:
import.meta.env.VITE_ROOM_TOKEN ||
"NETLESSROOM_YWs9VWtNUk92M1JIN2I2Z284dCZleHBpcmVBdD0xNzMyOTUwNzgzMzQxJm5vbmNlPTVmYTI3MWQwLWFlMjEtMTFlZi05NmE5LWFiMzg4NjE4OThhZiZyb2xlPTEmc2lnPWZlMGYyM2VhN2QwNTdiMTYwZjdlMDJlNmRjZGJhNmI3NTYwNjVmNjVlOTg5NDFjNjU2MzEzNjUzNjgwMzJiMGMmdXVpZD01ZjhhMmVlMGFlMjExMWVmOTBhMjhmZTNmNjRhODdkZA",
"NETLESSROOM_YWs9VWtNUk92M1JIN2I2Z284dCZleHBpcmVBdD0xNzMzMTkxMDk0MDE5Jm5vbmNlPWUzZjVlNTMwLWIwNTAtMTFlZi05NmE5LWFiMzg4NjE4OThhZiZyb2xlPTEmc2lnPTM2MjZlNDJkMjJjZDkzMTA5NmY3MWQzZTYyYTQ1NDZjYzcwZWNhM2UzYjkwZTdhMGFhMGZlNDQ5MTA3MjM4OTMmdXVpZD1lM2UxMjRiMGIwNTAxMWVmOTBhMjhmZTNmNjRhODdkZA",
},
managerConfig: {
cursor: true,
Expand All @@ -80,7 +80,7 @@ createFastboard({
ui.mount(root, {
config: {
toolbar: {
items: ["clicker", "selector", "pencil", "text", "shapes", "eraser", "clear", 'laserPointer'],
items: ["clicker", "selector", "pencil", "text", "shapes", "eraser", "clear", "laserPointer"],
collapsed: true,
// colors: [
// // [224, 32, 32],
Expand Down
Loading

0 comments on commit f79c79c

Please sign in to comment.