@jetprint/editor-sdk 1.0.10 → 1.2.0

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/types.d.ts CHANGED
@@ -84,11 +84,19 @@ export type DeformationResponse = {
84
84
  code?: number;
85
85
  data?: DeformationGroup[] | DeformationColorGroup[];
86
86
  };
87
- /** 编辑器界面皮肤(与图库筛选 theme 无关) */
88
- export type EditorUiTheme = 'default' | 'theme1';
87
+ /**
88
+ * 编辑器界面皮肤(与图库筛选 theme 无关)。
89
+ * - `default`:靛蓝·微立体(slate 底 + 白面板柔和阴影 + 靛蓝→紫渐变)
90
+ * - `theme1`:玫瑰·极简(粉主色 + 藏青保存,独立 Product 布局)
91
+ * - `ocean`:海洋蓝·商务(冷静直角、紧凑)
92
+ * - `emerald`:翡翠绿·清新(大圆角、友好)
93
+ * - `midnight`:暗夜(深色顶栏/侧栏/画布外框 + 浅色面板)
94
+ * 注:`theme1` 拥有专属布局/行为;其余主题均走 `default` 布局,仅视觉(CSS)不同。
95
+ */
96
+ export type EditorUiTheme = 'default' | 'theme1' | 'ocean' | 'emerald' | 'midnight';
89
97
  export declare const EDITOR_UI_THEMES: readonly EditorUiTheme[];
90
98
  export declare function isEditorUiTheme(value: string): value is EditorUiTheme;
91
- /** 未设置或省略 `options.uiTheme` 时视为 `theme1`;仅显式 `'default'` 为靛蓝默认主题。 */
99
+ /** 任意合法主题码原样返回;未设置或非法时回退 `theme1`(与历史默认一致)。 */
92
100
  export declare function resolveEditorUiTheme(uiTheme: EditorUiTheme | undefined): EditorUiTheme;
93
101
  /** 阶梯价区间(白板详情) */
94
102
  export type WhiteboardPriceRangeForCart = {
@@ -3,7 +3,7 @@
3
3
  * 此文件由 vite-plugins/serverEncrypt.ts 在构建时自动生成
4
4
  * 请勿手动编辑
5
5
  *
6
- * 生成时间: 2026-06-17T13:27:29.087Z
6
+ * 生成时间: 2026-06-18T09:51:11.051Z
7
7
  * 构建模式: production
8
8
  * 加密模块数量: 13
9
9
  * 构建种子: Kx9mP2qR5s... (已隐藏)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetprint/editor-sdk",
3
- "version": "1.0.10",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "scripts": {