@babylonjs/gui-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.
@@ -1506,6 +1506,17 @@ declare module "@babylonjs/gui-editor/styleHelper" {
|
|
1506
1506
|
* @param target document or shadow root to copy styles to
|
1507
1507
|
*/
|
1508
1508
|
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
1509
|
+
/**
|
1510
|
+
* Merges classNames by array of strings or conditions
|
1511
|
+
* @param classNames Array of className strings or truthy conditions
|
1512
|
+
* @returns A concatenated string, suitable for the className attribute
|
1513
|
+
*/
|
1514
|
+
export function MergeClassNames(classNames: ClassNameCondition[]): string;
|
1515
|
+
/**
|
1516
|
+
* className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
|
1517
|
+
*/
|
1518
|
+
type ClassNameCondition = string | undefined | [string, any];
|
1519
|
+
export {};
|
1509
1520
|
|
1510
1521
|
}
|
1511
1522
|
declare module "@babylonjs/gui-editor/stringTools" {
|
@@ -3065,6 +3076,7 @@ interface ITextLineComponentProps {
|
|
3065
3076
|
icon?: string;
|
3066
3077
|
iconLabel?: string;
|
3067
3078
|
tooltip?: string;
|
3079
|
+
onCopy?: true | (() => string);
|
3068
3080
|
}
|
3069
3081
|
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
3070
3082
|
constructor(props: ITextLineComponentProps);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/gui-editor",
|
3
|
-
"version": "7.52.
|
3
|
+
"version": "7.52.2",
|
4
4
|
"main": "dist/babylon.guiEditor.max.js",
|
5
5
|
"module": "dist/babylon.guiEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.guiEditor.max.js",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"@types/react-dom": ">=16.0.9"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
|
-
"@babylonjs/core": "^7.52.
|
28
|
-
"@babylonjs/gui": "^7.52.
|
27
|
+
"@babylonjs/core": "^7.52.2",
|
28
|
+
"@babylonjs/gui": "^7.52.2",
|
29
29
|
"react": "^17.0.2",
|
30
30
|
"react-dom": "^17.0.2"
|
31
31
|
},
|