@dcl/playground-assets 7.3.26 → 7.3.27-6730660340.commit-f58fd69

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
@@ -2265,6 +2265,9 @@ export declare type IncludeUndefined<T> = {
2265
2265
  onChange={(value) => {
2266
2266
  email = value
2267
2267
  }}
2268
+ onSubmit={(value) => {
2269
+ email = value
2270
+ }}
2268
2271
  uiBackground={{ color: Color4.Red() }}
2269
2272
  uiTransform={{ width: 200, height: 36 }}
2270
2273
  value={textValue}
@@ -4785,6 +4788,8 @@ export declare namespace PBUiInput {
4785
4788
  */
4786
4789
  export declare interface PBUiInputResult {
4787
4790
  value: string;
4791
+ /** default: false */
4792
+ isSubmit?: boolean | undefined;
4788
4793
  }
4789
4794
 
4790
4795
  /**
@@ -6592,6 +6597,8 @@ export declare const UiInput: LastWriteWinElementSetComponentDefinition<PBUiInpu
6592
6597
  export declare interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign'> {
6593
6598
  /** function to be called on value change */
6594
6599
  onChange?(value: string): void;
6600
+ /** function to be called on text field submit */
6601
+ onSubmit?(value: string): void;
6595
6602
  font?: UiFontType;
6596
6603
  textAlign?: TextAlignType;
6597
6604
  }
package/dist/beta.d.ts CHANGED
@@ -2246,6 +2246,9 @@ export declare type IncludeUndefined<T> = {
2246
2246
  onChange={(value) => {
2247
2247
  email = value
2248
2248
  }}
2249
+ onSubmit={(value) => {
2250
+ email = value
2251
+ }}
2249
2252
  uiBackground={{ color: Color4.Red() }}
2250
2253
  uiTransform={{ width: 200, height: 36 }}
2251
2254
  value={textValue}
@@ -4766,6 +4769,8 @@ export declare namespace PBUiInput {
4766
4769
  */
4767
4770
  export declare interface PBUiInputResult {
4768
4771
  value: string;
4772
+ /** default: false */
4773
+ isSubmit?: boolean | undefined;
4769
4774
  }
4770
4775
 
4771
4776
  /**
@@ -6568,6 +6573,8 @@ export declare const UiInput: LastWriteWinElementSetComponentDefinition<PBUiInpu
6568
6573
  export declare interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign'> {
6569
6574
  /** function to be called on value change */
6570
6575
  onChange?(value: string): void;
6576
+ /** function to be called on text field submit */
6577
+ onSubmit?(value: string): void;
6571
6578
  font?: UiFontType;
6572
6579
  textAlign?: TextAlignType;
6573
6580
  }
@@ -2246,6 +2246,9 @@ export declare type IncludeUndefined<T> = {
2246
2246
  onChange={(value) => {
2247
2247
  email = value
2248
2248
  }}
2249
+ onSubmit={(value) => {
2250
+ email = value
2251
+ }}
2249
2252
  uiBackground={{ color: Color4.Red() }}
2250
2253
  uiTransform={{ width: 200, height: 36 }}
2251
2254
  value={textValue}
@@ -4766,6 +4769,8 @@ export declare namespace PBUiInput {
4766
4769
  */
4767
4770
  export declare interface PBUiInputResult {
4768
4771
  value: string;
4772
+ /** default: false */
4773
+ isSubmit?: boolean | undefined;
4769
4774
  }
4770
4775
 
4771
4776
  /**
@@ -6568,6 +6573,8 @@ export declare const UiInput: LastWriteWinElementSetComponentDefinition<PBUiInpu
6568
6573
  export declare interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign'> {
6569
6574
  /** function to be called on value change */
6570
6575
  onChange?(value: string): void;
6576
+ /** function to be called on text field submit */
6577
+ onSubmit?(value: string): void;
6571
6578
  font?: UiFontType;
6572
6579
  textAlign?: TextAlignType;
6573
6580
  }