@buerli.io/react-cad 0.10.0 → 0.11.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/build/components/UI/CAD/PluginsWindows.d.ts +11 -0
- package/build/components/UI/CAD/common/Img.d.ts +1 -0
- package/build/components/UI/editors/ColorEditor/ColorEditor.d.ts +9 -0
- package/build/components/UI/editors/ColorEditor/index.d.ts +2 -0
- package/build/components/UI/editors/ColorEditor/useColorParam.d.ts +9 -0
- package/build/components/UI/editors/ToleranceEditor/ToleranceEditor.d.ts +7 -0
- package/build/components/UI/editors/ToleranceEditor/index.d.ts +2 -0
- package/build/components/UI/editors/ToleranceEditor/useToleranceParam.d.ts +3 -0
- package/build/index.cjs.js +1991 -1490
- package/build/index.d.ts +3 -1
- package/build/index.js +1980 -1481
- package/build/plugins/AppearanceEditor/Root.d.ts +7 -0
- package/build/plugins/AppearanceEditor/index.d.ts +7 -0
- package/build/plugins/Dimensions/DimContext.d.ts +5 -3
- package/build/plugins/Dimensions/Root.d.ts +1 -1
- package/build/plugins/Dimensions/View.d.ts +3 -3
- package/build/plugins/Dimensions/graphics/DimensionSet.d.ts +8 -0
- package/build/plugins/Dimensions/index.d.ts +5 -4
- package/build/plugins/Dimensions/utils.d.ts +2 -0
- package/build/plugins/Sketch/types.d.ts +2 -0
- package/build/plugins/Sketch/utils/Interaction.d.ts +4 -3
- package/build/plugins/Sketch/utils/getConstrEntities.d.ts +2 -0
- package/build/plugins/Twist/Root.d.ts +6 -0
- package/build/plugins/Twist/index.d.ts +4 -0
- package/build/plugins/components/PluginForm.d.ts +2 -1
- package/package.json +6 -6
- package/build/components/UI/CAD/Solids/ColorPicker.d.ts +0 -7
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import 'antd/dist/antd.css';
|
|
3
3
|
import { DrawingID } from '@buerli.io/core';
|
|
4
|
+
declare type ModalProps = {
|
|
5
|
+
width?: string | number;
|
|
6
|
+
minPosition?: {
|
|
7
|
+
x?: number;
|
|
8
|
+
y?: number;
|
|
9
|
+
};
|
|
10
|
+
bodyStyle?: React.CSSProperties;
|
|
11
|
+
};
|
|
4
12
|
export declare const FeaturePlugin: React.FC<{
|
|
5
13
|
drawingId: DrawingID;
|
|
14
|
+
modalProps?: ModalProps;
|
|
6
15
|
}>;
|
|
7
16
|
export declare const GlobalPlugins: React.FC<{
|
|
8
17
|
drawingId: DrawingID;
|
|
18
|
+
modalProps?: ModalProps;
|
|
9
19
|
}>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Img: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ObjectID } from '@buerli.io/core';
|
|
3
|
+
import './colorEditor.css';
|
|
4
|
+
import { Color } from './useColorParam';
|
|
5
|
+
import { MemberParam } from '../../../../types';
|
|
6
|
+
export declare const ColorEditor: React.FC<{
|
|
7
|
+
param: MemberParam<Color>;
|
|
8
|
+
solidIds: ObjectID[];
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
2
|
+
import { MemberParam } from '../../../../types';
|
|
3
|
+
export declare type Color = {
|
|
4
|
+
r: number;
|
|
5
|
+
g: number;
|
|
6
|
+
b: number;
|
|
7
|
+
a: number;
|
|
8
|
+
};
|
|
9
|
+
export declare function useColorParam(drawingId: DrawingID, solidId: ObjectID): MemberParam<Color>;
|