babylonjs-node-geometry-editor 7.52.0 → 7.52.2
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.
|
@@ -1008,6 +1008,17 @@ declare module "babylonjs-node-geometry-editor/styleHelper" {
|
|
|
1008
1008
|
* @param target document or shadow root to copy styles to
|
|
1009
1009
|
*/
|
|
1010
1010
|
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
|
1011
|
+
/**
|
|
1012
|
+
* Merges classNames by array of strings or conditions
|
|
1013
|
+
* @param classNames Array of className strings or truthy conditions
|
|
1014
|
+
* @returns A concatenated string, suitable for the className attribute
|
|
1015
|
+
*/
|
|
1016
|
+
export function MergeClassNames(classNames: ClassNameCondition[]): string;
|
|
1017
|
+
/**
|
|
1018
|
+
* className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
|
|
1019
|
+
*/
|
|
1020
|
+
type ClassNameCondition = string | undefined | [string, any];
|
|
1021
|
+
export {};
|
|
1011
1022
|
|
|
1012
1023
|
}
|
|
1013
1024
|
declare module "babylonjs-node-geometry-editor/stringTools" {
|
|
@@ -2567,6 +2578,7 @@ interface ITextLineComponentProps {
|
|
|
2567
2578
|
icon?: string;
|
|
2568
2579
|
iconLabel?: string;
|
|
2569
2580
|
tooltip?: string;
|
|
2581
|
+
onCopy?: true | (() => string);
|
|
2570
2582
|
}
|
|
2571
2583
|
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
|
2572
2584
|
constructor(props: ITextLineComponentProps);
|
|
@@ -5145,6 +5157,16 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5145
5157
|
* @param target document or shadow root to copy styles to
|
|
5146
5158
|
*/
|
|
5147
5159
|
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
|
5160
|
+
/**
|
|
5161
|
+
* Merges classNames by array of strings or conditions
|
|
5162
|
+
* @param classNames Array of className strings or truthy conditions
|
|
5163
|
+
* @returns A concatenated string, suitable for the className attribute
|
|
5164
|
+
*/
|
|
5165
|
+
export function MergeClassNames(classNames: ClassNameCondition[]): string;
|
|
5166
|
+
/**
|
|
5167
|
+
* className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
|
|
5168
|
+
*/
|
|
5169
|
+
type ClassNameCondition = string | undefined | [string, any];
|
|
5148
5170
|
|
|
5149
5171
|
|
|
5150
5172
|
|
|
@@ -6804,6 +6826,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6804
6826
|
icon?: string;
|
|
6805
6827
|
iconLabel?: string;
|
|
6806
6828
|
tooltip?: string;
|
|
6829
|
+
onCopy?: true | (() => string);
|
|
6807
6830
|
}
|
|
6808
6831
|
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
|
6809
6832
|
constructor(props: ITextLineComponentProps);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.52.
|
|
3
|
+
"version": "7.52.2",
|
|
4
4
|
"main": "babylon.nodeGeometryEditor.js",
|
|
5
5
|
"types": "babylon.nodeGeometryEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.52.
|
|
17
|
+
"babylonjs": "^7.52.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|