@dcl/playground-assets 7.30.2-38470202470.commit-ee06955 → 7.30.2-39321726891.commit-9926e63

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 CHANGED
@@ -6802,6 +6802,8 @@ export declare interface PBTextShape {
6802
6802
  outlineColor?: PBColor3 | undefined;
6803
6803
  /** text color (default [1.0, 1.0, 1.0]) */
6804
6804
  textColor?: PBColor4 | undefined;
6805
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
6806
+ fontSrc?: string | undefined;
6805
6807
  }
6806
6808
 
6807
6809
  /**
@@ -7112,6 +7114,8 @@ export declare interface PBUiDropdown {
7112
7114
  font?: Font | undefined;
7113
7115
  /** default=10 */
7114
7116
  fontSize?: number | undefined;
7117
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7118
+ fontSrc?: string | undefined;
7115
7119
  }
7116
7120
 
7117
7121
  /**
@@ -7154,6 +7158,8 @@ export declare interface PBUiInput {
7154
7158
  /** default=10 */
7155
7159
  fontSize?: number | undefined;
7156
7160
  value?: string | undefined;
7161
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7162
+ fontSrc?: string | undefined;
7157
7163
  }
7158
7164
 
7159
7165
  /**
@@ -7233,6 +7239,8 @@ export declare interface PBUiText {
7233
7239
  fontSize?: number | undefined;
7234
7240
  /** wrap text when the border is reached (default: TW_WRAP) */
7235
7241
  textWrap?: TextWrap | undefined;
7242
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7243
+ fontSrc?: string | undefined;
7236
7244
  }
7237
7245
 
7238
7246
  /**
@@ -10058,6 +10066,8 @@ export declare interface UiLabelProps {
10058
10066
  textAlign?: TextAlignType | undefined;
10059
10067
  /** Label font type. @defaultValue 'sans-serif' */
10060
10068
  font?: UiFontType | undefined;
10069
+ /** Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded. */
10070
+ fontSrc?: string | undefined;
10061
10071
  /** Behaviour when text reached. @defaultValue 'wrap' */
10062
10072
  textWrap?: UiTextWrapType | undefined;
10063
10073
  }
package/dist/beta.d.ts CHANGED
@@ -6774,6 +6774,8 @@ export declare interface PBTextShape {
6774
6774
  outlineColor?: PBColor3 | undefined;
6775
6775
  /** text color (default [1.0, 1.0, 1.0]) */
6776
6776
  textColor?: PBColor4 | undefined;
6777
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
6778
+ fontSrc?: string | undefined;
6777
6779
  }
6778
6780
 
6779
6781
  /**
@@ -7084,6 +7086,8 @@ export declare interface PBUiDropdown {
7084
7086
  font?: Font | undefined;
7085
7087
  /** default=10 */
7086
7088
  fontSize?: number | undefined;
7089
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7090
+ fontSrc?: string | undefined;
7087
7091
  }
7088
7092
 
7089
7093
  /**
@@ -7126,6 +7130,8 @@ export declare interface PBUiInput {
7126
7130
  /** default=10 */
7127
7131
  fontSize?: number | undefined;
7128
7132
  value?: string | undefined;
7133
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7134
+ fontSrc?: string | undefined;
7129
7135
  }
7130
7136
 
7131
7137
  /**
@@ -7205,6 +7211,8 @@ export declare interface PBUiText {
7205
7211
  fontSize?: number | undefined;
7206
7212
  /** wrap text when the border is reached (default: TW_WRAP) */
7207
7213
  textWrap?: TextWrap | undefined;
7214
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7215
+ fontSrc?: string | undefined;
7208
7216
  }
7209
7217
 
7210
7218
  /**
@@ -10025,6 +10033,8 @@ export declare interface UiLabelProps {
10025
10033
  textAlign?: TextAlignType | undefined;
10026
10034
  /** Label font type. @defaultValue 'sans-serif' */
10027
10035
  font?: UiFontType | undefined;
10036
+ /** Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded. */
10037
+ fontSrc?: string | undefined;
10028
10038
  /** Behaviour when text reached. @defaultValue 'wrap' */
10029
10039
  textWrap?: UiTextWrapType | undefined;
10030
10040
  }
@@ -6774,6 +6774,8 @@ export declare interface PBTextShape {
6774
6774
  outlineColor?: PBColor3 | undefined;
6775
6775
  /** text color (default [1.0, 1.0, 1.0]) */
6776
6776
  textColor?: PBColor4 | undefined;
6777
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
6778
+ fontSrc?: string | undefined;
6777
6779
  }
6778
6780
 
6779
6781
  /**
@@ -7084,6 +7086,8 @@ export declare interface PBUiDropdown {
7084
7086
  font?: Font | undefined;
7085
7087
  /** default=10 */
7086
7088
  fontSize?: number | undefined;
7089
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7090
+ fontSrc?: string | undefined;
7087
7091
  }
7088
7092
 
7089
7093
  /**
@@ -7126,6 +7130,8 @@ export declare interface PBUiInput {
7126
7130
  /** default=10 */
7127
7131
  fontSize?: number | undefined;
7128
7132
  value?: string | undefined;
7133
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7134
+ fontSrc?: string | undefined;
7129
7135
  }
7130
7136
 
7131
7137
  /**
@@ -7205,6 +7211,8 @@ export declare interface PBUiText {
7205
7211
  fontSize?: number | undefined;
7206
7212
  /** wrap text when the border is reached (default: TW_WRAP) */
7207
7213
  textWrap?: TextWrap | undefined;
7214
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7215
+ fontSrc?: string | undefined;
7208
7216
  }
7209
7217
 
7210
7218
  /**
@@ -10025,6 +10033,8 @@ export declare interface UiLabelProps {
10025
10033
  textAlign?: TextAlignType | undefined;
10026
10034
  /** Label font type. @defaultValue 'sans-serif' */
10027
10035
  font?: UiFontType | undefined;
10036
+ /** Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded. */
10037
+ fontSrc?: string | undefined;
10028
10038
  /** Behaviour when text reached. @defaultValue 'wrap' */
10029
10039
  textWrap?: UiTextWrapType | undefined;
10030
10040
  }