@netless/fastboard-ui 0.3.6 → 0.3.7
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 +5 -5
- package/dist/index.js +177 -151
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +166 -116
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +151 -109
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +3 -3
- package/src/actions/scroll.ts +1 -1
- package/src/components/Button/Button.svelte.d.ts +1 -2
- package/src/components/Toolbar/README.md +1 -1
- package/src/components/Toolbar/Toolbar.scss +1 -1
- package/src/components/Toolbar/components/Shapes.svelte +1 -0
- package/src/components/Toolbar/components/StrokeColor.svelte +1 -0
- package/src/components/Toolbar/components/TextColor.svelte +1 -0
- package/src/index.ts +8 -4
- package/src/style.scss +4 -0
package/dist/index.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ interface SvelteAction<T = void> {
|
|
|
7
7
|
destroy?: () => void;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
type Theme = "light" | "dark";
|
|
11
|
+
type Language = "en" | "zh-CN";
|
|
12
|
+
type IconType = "normal" | "disable";
|
|
13
|
+
type GenericIcon<K extends string, E extends string = IconType> = {
|
|
14
14
|
[key in K]: {
|
|
15
15
|
[kind in E]: string;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
type I18nData<T extends string> = Record<Language, Record<T, string>>;
|
|
19
19
|
interface ToolbarConfig {
|
|
20
20
|
apps?: {
|
|
21
21
|
enable?: boolean;
|