taiga-ui 2.43.0 → 2.46.0

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.
@@ -4,5 +4,5 @@ export interface ImportingModule {
4
4
  }
5
5
  export declare const MAIN_MODULES: ReadonlyArray<ImportingModule>;
6
6
  export declare const DIALOG_MODULES: ReadonlyArray<ImportingModule>;
7
- export declare const NOTIFICATION_MODULES: ReadonlyArray<ImportingModule>;
7
+ export declare const ALERT_MODULES: ReadonlyArray<ImportingModule>;
8
8
  export declare const SANITIZER_MODULES: ReadonlyArray<ImportingModule>;
@@ -16,9 +16,9 @@ exports.DIALOG_MODULES = [
16
16
  packageName: '@taiga-ui/core',
17
17
  },
18
18
  ];
19
- exports.NOTIFICATION_MODULES = [
19
+ exports.ALERT_MODULES = [
20
20
  {
21
- name: 'TuiNotificationsModule',
21
+ name: 'TuiAlertModule',
22
22
  packageName: '@taiga-ui/core',
23
23
  },
24
24
  ];
@@ -1,7 +1,7 @@
1
1
  export interface Schema {
2
2
  readonly project: string;
3
3
  readonly addons: ReadonlyArray<string>;
4
- readonly addNotificationsModule: boolean;
4
+ readonly addAlertModule: boolean;
5
5
  readonly addDialogsModule: boolean;
6
6
  readonly addSanitizer: boolean;
7
7
  }
@@ -29,12 +29,12 @@
29
29
  "type": "confirmation"
30
30
  }
31
31
  },
32
- "addNotificationsModule": {
33
- "description": "Setting up notifications module",
32
+ "addAlertModule": {
33
+ "description": "Setting up alerts module",
34
34
  "type": "boolean",
35
35
  "default": true,
36
36
  "x-prompt": {
37
- "message": "Do you want to use Taiga UI notifications?",
37
+ "message": "Do you want to use Taiga UI alerts?",
38
38
  "type": "confirmation"
39
39
  }
40
40
  },
@@ -23,7 +23,7 @@ function addTuiModules(mainModule, options, context) {
23
23
  const modules = [
24
24
  ...modules_1.MAIN_MODULES,
25
25
  ...(options.addDialogsModule ? modules_1.DIALOG_MODULES : []),
26
- ...(options.addNotificationsModule ? modules_1.NOTIFICATION_MODULES : []),
26
+ ...(options.addAlertModule ? modules_1.ALERT_MODULES : []),
27
27
  ];
28
28
  const mainModulePath = mainModule.getSourceFile().getFilePath();
29
29
  modules.forEach(module => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taiga-ui",
3
- "version": "2.43.0",
3
+ "version": "2.46.0",
4
4
  "description": "Taiga UI package that provides ng add command for Taiga library",
5
5
  "keywords": [
6
6
  "angular",