@dcl/playground-assets 7.5.3 → 7.5.4-9583437273.commit-b701277
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/alpha.d.ts +18 -1
- package/dist/beta.d.ts +18 -1
- package/dist/index.bundled.d.ts +18 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/apis.d.ts +19 -0
- package/dist/playground/sdk/dcl-sdk.package.json +3 -3
- package/dist/playground-assets.d.ts +18 -1
- package/etc/playground-assets.api.json +150 -1
- package/etc/playground-assets.api.md +13 -0
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
@@ -5279,7 +5279,7 @@ export declare namespace PBUiInputResult {
|
|
5279
5279
|
* @public
|
5280
5280
|
*/
|
5281
5281
|
export declare interface PBUiText {
|
5282
|
-
/** the text content */
|
5282
|
+
/** the text content, tag <b> and <i> are supported */
|
5283
5283
|
value: string;
|
5284
5284
|
/** RGBA color (default: opaque white) */
|
5285
5285
|
color?: PBColor4 | undefined;
|
@@ -5289,6 +5289,8 @@ export declare interface PBUiText {
|
|
5289
5289
|
font?: Font | undefined;
|
5290
5290
|
/** size of the text (default: 10) */
|
5291
5291
|
fontSize?: number | undefined;
|
5292
|
+
/** wrap text when the border is reached (default: TW_WRAP) */
|
5293
|
+
textWrap?: TextWrap | undefined;
|
5292
5294
|
}
|
5293
5295
|
|
5294
5296
|
/**
|
@@ -6911,6 +6913,14 @@ export declare const enum TextureWrapMode {
|
|
6911
6913
|
*/
|
6912
6914
|
export declare type TextureWrapType = 'repeat' | 'clamp' | 'mirror';
|
6913
6915
|
|
6916
|
+
/**
|
6917
|
+
* @public
|
6918
|
+
*/
|
6919
|
+
export declare const enum TextWrap {
|
6920
|
+
TW_WRAP = 0,
|
6921
|
+
TW_NO_WRAP = 1
|
6922
|
+
}
|
6923
|
+
|
6914
6924
|
/**
|
6915
6925
|
* Constant used to convert a value to gamma space
|
6916
6926
|
* @public
|
@@ -7168,6 +7178,8 @@ export declare interface UiLabelProps {
|
|
7168
7178
|
textAlign?: TextAlignType | undefined;
|
7169
7179
|
/** Label font type. @defaultValue 'sans-serif' */
|
7170
7180
|
font?: UiFontType | undefined;
|
7181
|
+
/** Behaviour when text reached. @defaultValue 'wrap' */
|
7182
|
+
textWrap?: UiTextWrapType | undefined;
|
7171
7183
|
}
|
7172
7184
|
|
7173
7185
|
/**
|
@@ -7188,6 +7200,11 @@ export declare type UiTexture = {
|
|
7188
7200
|
filterMode?: TextureFilterType;
|
7189
7201
|
};
|
7190
7202
|
|
7203
|
+
/**
|
7204
|
+
* @public
|
7205
|
+
*/
|
7206
|
+
export declare type UiTextWrapType = 'wrap' | 'nowrap';
|
7207
|
+
|
7191
7208
|
/** @public */
|
7192
7209
|
export declare const UiTransform: LastWriteWinElementSetComponentDefinition<PBUiTransform>;
|
7193
7210
|
|
package/dist/beta.d.ts
CHANGED
@@ -5251,7 +5251,7 @@ export declare namespace PBUiInputResult {
|
|
5251
5251
|
* @public
|
5252
5252
|
*/
|
5253
5253
|
export declare interface PBUiText {
|
5254
|
-
/** the text content */
|
5254
|
+
/** the text content, tag <b> and <i> are supported */
|
5255
5255
|
value: string;
|
5256
5256
|
/** RGBA color (default: opaque white) */
|
5257
5257
|
color?: PBColor4 | undefined;
|
@@ -5261,6 +5261,8 @@ export declare interface PBUiText {
|
|
5261
5261
|
font?: Font | undefined;
|
5262
5262
|
/** size of the text (default: 10) */
|
5263
5263
|
fontSize?: number | undefined;
|
5264
|
+
/** wrap text when the border is reached (default: TW_WRAP) */
|
5265
|
+
textWrap?: TextWrap | undefined;
|
5264
5266
|
}
|
5265
5267
|
|
5266
5268
|
/**
|
@@ -6878,6 +6880,14 @@ export declare const enum TextureWrapMode {
|
|
6878
6880
|
*/
|
6879
6881
|
export declare type TextureWrapType = 'repeat' | 'clamp' | 'mirror';
|
6880
6882
|
|
6883
|
+
/**
|
6884
|
+
* @public
|
6885
|
+
*/
|
6886
|
+
export declare const enum TextWrap {
|
6887
|
+
TW_WRAP = 0,
|
6888
|
+
TW_NO_WRAP = 1
|
6889
|
+
}
|
6890
|
+
|
6881
6891
|
/**
|
6882
6892
|
* Constant used to convert a value to gamma space
|
6883
6893
|
* @public
|
@@ -7135,6 +7145,8 @@ export declare interface UiLabelProps {
|
|
7135
7145
|
textAlign?: TextAlignType | undefined;
|
7136
7146
|
/** Label font type. @defaultValue 'sans-serif' */
|
7137
7147
|
font?: UiFontType | undefined;
|
7148
|
+
/** Behaviour when text reached. @defaultValue 'wrap' */
|
7149
|
+
textWrap?: UiTextWrapType | undefined;
|
7138
7150
|
}
|
7139
7151
|
|
7140
7152
|
/**
|
@@ -7155,6 +7167,11 @@ export declare type UiTexture = {
|
|
7155
7167
|
filterMode?: TextureFilterType;
|
7156
7168
|
};
|
7157
7169
|
|
7170
|
+
/**
|
7171
|
+
* @public
|
7172
|
+
*/
|
7173
|
+
export declare type UiTextWrapType = 'wrap' | 'nowrap';
|
7174
|
+
|
7158
7175
|
/** @public */
|
7159
7176
|
export declare const UiTransform: LastWriteWinElementSetComponentDefinition<PBUiTransform>;
|
7160
7177
|
|
package/dist/index.bundled.d.ts
CHANGED
@@ -5251,7 +5251,7 @@ export declare namespace PBUiInputResult {
|
|
5251
5251
|
* @public
|
5252
5252
|
*/
|
5253
5253
|
export declare interface PBUiText {
|
5254
|
-
/** the text content */
|
5254
|
+
/** the text content, tag <b> and <i> are supported */
|
5255
5255
|
value: string;
|
5256
5256
|
/** RGBA color (default: opaque white) */
|
5257
5257
|
color?: PBColor4 | undefined;
|
@@ -5261,6 +5261,8 @@ export declare interface PBUiText {
|
|
5261
5261
|
font?: Font | undefined;
|
5262
5262
|
/** size of the text (default: 10) */
|
5263
5263
|
fontSize?: number | undefined;
|
5264
|
+
/** wrap text when the border is reached (default: TW_WRAP) */
|
5265
|
+
textWrap?: TextWrap | undefined;
|
5264
5266
|
}
|
5265
5267
|
|
5266
5268
|
/**
|
@@ -6878,6 +6880,14 @@ export declare const enum TextureWrapMode {
|
|
6878
6880
|
*/
|
6879
6881
|
export declare type TextureWrapType = 'repeat' | 'clamp' | 'mirror';
|
6880
6882
|
|
6883
|
+
/**
|
6884
|
+
* @public
|
6885
|
+
*/
|
6886
|
+
export declare const enum TextWrap {
|
6887
|
+
TW_WRAP = 0,
|
6888
|
+
TW_NO_WRAP = 1
|
6889
|
+
}
|
6890
|
+
|
6881
6891
|
/**
|
6882
6892
|
* Constant used to convert a value to gamma space
|
6883
6893
|
* @public
|
@@ -7135,6 +7145,8 @@ export declare interface UiLabelProps {
|
|
7135
7145
|
textAlign?: TextAlignType | undefined;
|
7136
7146
|
/** Label font type. @defaultValue 'sans-serif' */
|
7137
7147
|
font?: UiFontType | undefined;
|
7148
|
+
/** Behaviour when text reached. @defaultValue 'wrap' */
|
7149
|
+
textWrap?: UiTextWrapType | undefined;
|
7138
7150
|
}
|
7139
7151
|
|
7140
7152
|
/**
|
@@ -7155,6 +7167,11 @@ export declare type UiTexture = {
|
|
7155
7167
|
filterMode?: TextureFilterType;
|
7156
7168
|
};
|
7157
7169
|
|
7170
|
+
/**
|
7171
|
+
* @public
|
7172
|
+
*/
|
7173
|
+
export declare type UiTextWrapType = 'wrap' | 'nowrap';
|
7174
|
+
|
7158
7175
|
/** @public */
|
7159
7176
|
export declare const UiTransform: LastWriteWinElementSetComponentDefinition<PBUiTransform>;
|
7160
7177
|
|