@doki-land/live2d-widget 0.0.16 → 0.0.18
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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// src/chrome.ts
|
|
1
|
+
// src/chrome/chrome.ts
|
|
2
2
|
var DEFAULT_WELCOME = [
|
|
3
3
|
"\u4F60\u597D\uFF01\u6211\u662F\u770B\u677F\u5A18\uFF0C\u4ECA\u5929\u4E5F\u8981\u52A0\u6CB9\u54E6\u3002",
|
|
4
4
|
"\u6B22\u8FCE\u56DE\u6765\u2014\u2014\u70B9\u6211\u6216\u8005\u7528\u5DE5\u5177\u680F\u8DDF\u6211\u4E92\u52A8\u5427\u3002"
|
|
@@ -220,7 +220,7 @@ function mountChrome(options) {
|
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
// src/widget.ts
|
|
223
|
+
// src/shell/widget.ts
|
|
224
224
|
import {
|
|
225
225
|
createLive2D,
|
|
226
226
|
focusParameterUpdates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doki-land/live2d-widget",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "Live2D page widget — canvas shell, autoplay, optional tips chrome; built on @doki-land/live2d.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test": "vitest run --passWithNoTests"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@doki-land/live2d": "0.0.
|
|
45
|
+
"@doki-land/live2d": "0.0.18"
|
|
46
46
|
},
|
|
47
47
|
"sideEffects": false
|
|
48
48
|
}
|
package/src/index.ts
CHANGED
|
@@ -7,13 +7,13 @@ export {
|
|
|
7
7
|
DEFAULT_WELCOME,
|
|
8
8
|
ensureChromeStyles,
|
|
9
9
|
mountChrome,
|
|
10
|
-
} from "./chrome.js";
|
|
10
|
+
} from "./chrome/chrome.js";
|
|
11
11
|
export {
|
|
12
12
|
Live2DWidget,
|
|
13
13
|
mountWidget,
|
|
14
14
|
type WidgetChromeOptions,
|
|
15
15
|
type WidgetOptions,
|
|
16
16
|
type WidgetToolId,
|
|
17
|
-
} from "./widget.js";
|
|
17
|
+
} from "./shell/widget.js";
|
|
18
18
|
|
|
19
19
|
export const LIVE2D_WIDGET_VERSION = "0.0.0" as const;
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
type ChromeSession,
|
|
10
10
|
mountChrome,
|
|
11
11
|
type WidgetChromeOptions,
|
|
12
|
-
} from "
|
|
12
|
+
} from "../chrome/chrome.js";
|
|
13
13
|
|
|
14
|
-
export type { WidgetChromeOptions, WidgetToolId } from "
|
|
14
|
+
export type { WidgetChromeOptions, WidgetToolId } from "../chrome/chrome.js";
|
|
15
15
|
|
|
16
16
|
export interface WidgetOptions extends CreateLive2DOptions {
|
|
17
17
|
/** CSS selector or element to host the canvas. */
|
|
File without changes
|