@dcl/playground-assets 7.30.2-38752426937.commit-d38a9c4 → 7.30.2-39664458136.commit-06bfc6c

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
@@ -6712,6 +6712,8 @@ export declare interface PBTextShape {
6712
6712
  outlineColor?: PBColor3 | undefined;
6713
6713
  /** text color (default [1.0, 1.0, 1.0]) */
6714
6714
  textColor?: PBColor4 | undefined;
6715
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
6716
+ fontSrc?: string | undefined;
6715
6717
  }
6716
6718
 
6717
6719
  /**
@@ -7022,6 +7024,8 @@ export declare interface PBUiDropdown {
7022
7024
  font?: Font | undefined;
7023
7025
  /** default=10 */
7024
7026
  fontSize?: number | undefined;
7027
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7028
+ fontSrc?: string | undefined;
7025
7029
  }
7026
7030
 
7027
7031
  /**
@@ -7064,6 +7068,8 @@ export declare interface PBUiInput {
7064
7068
  /** default=10 */
7065
7069
  fontSize?: number | undefined;
7066
7070
  value?: string | undefined;
7071
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7072
+ fontSrc?: string | undefined;
7067
7073
  }
7068
7074
 
7069
7075
  /**
@@ -7143,6 +7149,8 @@ export declare interface PBUiText {
7143
7149
  fontSize?: number | undefined;
7144
7150
  /** wrap text when the border is reached (default: TW_WRAP) */
7145
7151
  textWrap?: TextWrap | undefined;
7152
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7153
+ fontSrc?: string | undefined;
7146
7154
  }
7147
7155
 
7148
7156
  /**
@@ -9958,6 +9966,8 @@ export declare interface UiLabelProps {
9958
9966
  textAlign?: TextAlignType | undefined;
9959
9967
  /** Label font type. @defaultValue 'sans-serif' */
9960
9968
  font?: UiFontType | undefined;
9969
+ /** Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded. */
9970
+ fontSrc?: string | undefined;
9961
9971
  /** Behaviour when text reached. @defaultValue 'wrap' */
9962
9972
  textWrap?: UiTextWrapType | undefined;
9963
9973
  }
package/dist/beta.d.ts CHANGED
@@ -6684,6 +6684,8 @@ export declare interface PBTextShape {
6684
6684
  outlineColor?: PBColor3 | undefined;
6685
6685
  /** text color (default [1.0, 1.0, 1.0]) */
6686
6686
  textColor?: PBColor4 | undefined;
6687
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
6688
+ fontSrc?: string | undefined;
6687
6689
  }
6688
6690
 
6689
6691
  /**
@@ -6994,6 +6996,8 @@ export declare interface PBUiDropdown {
6994
6996
  font?: Font | undefined;
6995
6997
  /** default=10 */
6996
6998
  fontSize?: number | undefined;
6999
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7000
+ fontSrc?: string | undefined;
6997
7001
  }
6998
7002
 
6999
7003
  /**
@@ -7036,6 +7040,8 @@ export declare interface PBUiInput {
7036
7040
  /** default=10 */
7037
7041
  fontSize?: number | undefined;
7038
7042
  value?: string | undefined;
7043
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7044
+ fontSrc?: string | undefined;
7039
7045
  }
7040
7046
 
7041
7047
  /**
@@ -7115,6 +7121,8 @@ export declare interface PBUiText {
7115
7121
  fontSize?: number | undefined;
7116
7122
  /** wrap text when the border is reached (default: TW_WRAP) */
7117
7123
  textWrap?: TextWrap | undefined;
7124
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7125
+ fontSrc?: string | undefined;
7118
7126
  }
7119
7127
 
7120
7128
  /**
@@ -9925,6 +9933,8 @@ export declare interface UiLabelProps {
9925
9933
  textAlign?: TextAlignType | undefined;
9926
9934
  /** Label font type. @defaultValue 'sans-serif' */
9927
9935
  font?: UiFontType | undefined;
9936
+ /** Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded. */
9937
+ fontSrc?: string | undefined;
9928
9938
  /** Behaviour when text reached. @defaultValue 'wrap' */
9929
9939
  textWrap?: UiTextWrapType | undefined;
9930
9940
  }
@@ -6684,6 +6684,8 @@ export declare interface PBTextShape {
6684
6684
  outlineColor?: PBColor3 | undefined;
6685
6685
  /** text color (default [1.0, 1.0, 1.0]) */
6686
6686
  textColor?: PBColor4 | undefined;
6687
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
6688
+ fontSrc?: string | undefined;
6687
6689
  }
6688
6690
 
6689
6691
  /**
@@ -6994,6 +6996,8 @@ export declare interface PBUiDropdown {
6994
6996
  font?: Font | undefined;
6995
6997
  /** default=10 */
6996
6998
  fontSize?: number | undefined;
6999
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7000
+ fontSrc?: string | undefined;
6997
7001
  }
6998
7002
 
6999
7003
  /**
@@ -7036,6 +7040,8 @@ export declare interface PBUiInput {
7036
7040
  /** default=10 */
7037
7041
  fontSize?: number | undefined;
7038
7042
  value?: string | undefined;
7043
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7044
+ fontSrc?: string | undefined;
7039
7045
  }
7040
7046
 
7041
7047
  /**
@@ -7115,6 +7121,8 @@ export declare interface PBUiText {
7115
7121
  fontSize?: number | undefined;
7116
7122
  /** wrap text when the border is reached (default: TW_WRAP) */
7117
7123
  textWrap?: TextWrap | undefined;
7124
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7125
+ fontSrc?: string | undefined;
7118
7126
  }
7119
7127
 
7120
7128
  /**
@@ -9925,6 +9933,8 @@ export declare interface UiLabelProps {
9925
9933
  textAlign?: TextAlignType | undefined;
9926
9934
  /** Label font type. @defaultValue 'sans-serif' */
9927
9935
  font?: UiFontType | undefined;
9936
+ /** Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded. */
9937
+ fontSrc?: string | undefined;
9928
9938
  /** Behaviour when text reached. @defaultValue 'wrap' */
9929
9939
  textWrap?: UiTextWrapType | undefined;
9930
9940
  }