@netless/fastboard-ui 1.0.0-canary.5 → 1.0.0-canary.6
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/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +5 -5
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +3 -3
- package/src/behaviors/apps.ts +1 -1
- package/src/components/Toolbar/components/Contents.svelte +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netless/fastboard-ui",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.6",
|
|
4
4
|
"description": "The front-end of @netless/fastboard-core.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"svelte": "dist/index.svelte.mjs",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
],
|
|
14
14
|
"repository": "netless-io/fastboard",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@netless/fastboard-core": "1.0.0-canary.
|
|
16
|
+
"@netless/fastboard-core": "1.0.0-canary.6"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"tippy.js": "^6.3.7"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@netless/esbuild-plugin-inline-sass": "0.1.0",
|
|
23
|
-
"@netless/fastboard-core": "1.0.0-canary.
|
|
23
|
+
"@netless/fastboard-core": "1.0.0-canary.6"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"cleanup": "rimraf dist",
|
package/src/behaviors/apps.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import { tippy_hide_all } from "../../../actions/tippy";
|
|
12
12
|
import { clamp } from "../../helpers";
|
|
13
13
|
import { i18n } from "./constants";
|
|
14
|
-
import {
|
|
14
|
+
import { stockedApps } from "../../../behaviors";
|
|
15
15
|
import { tooltip } from "./helper";
|
|
16
16
|
import Icons from "../../Icons";
|
|
17
17
|
import Button from "../../Button";
|
|
@@ -262,8 +262,8 @@
|
|
|
262
262
|
<PencilEraserSize {app} {theme} {disabled} />
|
|
263
263
|
{/if}
|
|
264
264
|
</div>
|
|
265
|
-
<div class="{name}-panel apps" style="--n:{$
|
|
266
|
-
{#each $
|
|
265
|
+
<div class="{name}-panel apps" style="--n:{$stockedApps.length}" bind:this={apps_panel}>
|
|
266
|
+
{#each $stockedApps as netless_app}
|
|
267
267
|
{@const { icon, label, kind, onClick } = netless_app}
|
|
268
268
|
{@const state = $status && $status[kind]}
|
|
269
269
|
{@const on_click = () => {
|