@realsee/dnalogel 3.49.4 → 3.49.5

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/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # CHANGELOG
2
+ ## 3.49.5
3
+ - chore(Sculpt): 优化 `Theme` 类型。
4
+
2
5
  ## 3.49.4
3
- - chore(Sculpt): 修改 `theme` 属性访问权限
6
+ - chore(Sculpt): 修改 `theme` 属性访问权限。
4
7
 
5
8
  ## 3.49.3
6
9
  - fix(PanoTagPlugin): 修复插件hide的情况下,在页面resize后可见状态错误的问题。
@@ -1,4 +1,3 @@
1
- import type { PartialDeep } from 'type-fest';
2
1
  import type { SimplifyDeep } from './utils.type';
3
2
  export type { SimplifyDeep };
4
3
  import type { Point, PointImportData } from '../Objects/Point';
@@ -49,14 +48,14 @@ export type { BoxStyle };
49
48
  export type { AreaStyle };
50
49
  export type BuiltInData = PolylineImportData | PointImportData | PolygonImportData | PrismImportData | RectangleImportData | CircleImportData | CylinderImportData | BoxImportData | LineImportData;
51
50
  export type BuiltInItem = Polyline | Point | Polygon | Prism | Rectangle | Circle | Cylinder | Box | Line;
52
- export type Theme = PartialDeep<{
53
- point: PointStyle;
54
- line: LineMeshStyle;
55
- polyline: PolylineStyle;
56
- polygon: AreaStyle;
57
- prism: PrismStyle;
58
- rectangle: RectangleStyle;
59
- circle: CircleStyle;
60
- cylinder: CylinderStyle;
61
- box: BoxStyle;
51
+ export type Theme = Partial<{
52
+ point: Partial<PointStyle>;
53
+ line: Partial<LineMeshStyle>;
54
+ polyline: Partial<PolylineStyle>;
55
+ polygon: Partial<AreaStyle>;
56
+ prism: Partial<PrismStyle>;
57
+ rectangle: Partial<RectangleStyle>;
58
+ circle: Partial<CircleStyle>;
59
+ cylinder: Partial<CylinderStyle>;
60
+ box: Partial<BoxStyle>;
62
61
  }>;