@messaia/cdk 20.0.0-RC.12 → 20.0.0-RC.13
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/fesm2022/messaia-cdk.mjs +10 -4
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/index.d.ts +4 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1283,11 +1283,12 @@ declare abstract class BaseComponent implements IBaseComponent, OnInit, AfterVie
|
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Displays a message using the snack bar service.
|
|
1285
1285
|
*
|
|
1286
|
-
* @param message The message to display
|
|
1286
|
+
* @param message The message to display.
|
|
1287
1287
|
* @param type The type of the message (Success, Warning, or Error). Defaults to Success.
|
|
1288
|
-
* @param duration
|
|
1288
|
+
* @param duration Optional duration (in milliseconds) to show the message.
|
|
1289
|
+
* If omitted, duration is adjusted based on message length.
|
|
1289
1290
|
* @param actionLabel The label for the action button. Defaults to 'OK'.
|
|
1290
|
-
* @param playSound A flag indicating whether to play a warning sound when the message type is Warning. Defaults to false.
|
|
1291
|
+
* @param playSound A flag indicating whether to play a warning sound when the message type is Warning or Error. Defaults to false.
|
|
1291
1292
|
* @returns An observable that emits when the action button is clicked.
|
|
1292
1293
|
*/
|
|
1293
1294
|
protected showMessage(message: string, type?: MessageType, duration?: number, actionLabel?: string, playSound?: boolean): Observable<void>;
|