ngx-tethys 17.0.0-next.7 → 17.0.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.
- package/CHANGELOG.md +14 -27
- package/button/styles/button-icon.scss +12 -3
- package/button/styles/mixin.scss +2 -6
- package/dialog/body/dialog-body.component.d.ts +3 -3
- package/dialog/dialog.module.d.ts +1 -1
- package/dialog/footer/dialog-footer.component.d.ts +3 -3
- package/dialog/header/dialog-header.component.d.ts +3 -3
- package/esm2022/date-picker/lib/popups/date-popup.component.mjs +2 -1
- package/esm2022/dialog/body/dialog-body.component.mjs +5 -5
- package/esm2022/dialog/confirm/confirm.component.mjs +5 -5
- package/esm2022/dialog/dialog.module.mjs +13 -13
- package/esm2022/dialog/footer/dialog-footer.component.mjs +6 -6
- package/esm2022/dialog/header/dialog-header.component.mjs +6 -6
- package/esm2022/tabs/tabs.component.mjs +2 -1
- package/esm2022/version.mjs +2 -2
- package/fesm2022/ngx-tethys-date-picker.mjs +1 -0
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +26 -26
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +1 -0
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/package.json +8 -8
- package/schematics/ng-update/update-17/index.spec.js +14 -1
- package/schematics/ng-update/update-17/update-data.js +3 -3
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-tethys",
|
|
3
|
-
"version": "17.0.0
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/atinc/ngx-tethys.git"
|
|
@@ -424,18 +424,18 @@
|
|
|
424
424
|
"esm": "./esm2022/switch/ngx-tethys-switch.mjs",
|
|
425
425
|
"default": "./fesm2022/ngx-tethys-switch.mjs"
|
|
426
426
|
},
|
|
427
|
-
"./table": {
|
|
428
|
-
"types": "./table/index.d.ts",
|
|
429
|
-
"esm2022": "./esm2022/table/ngx-tethys-table.mjs",
|
|
430
|
-
"esm": "./esm2022/table/ngx-tethys-table.mjs",
|
|
431
|
-
"default": "./fesm2022/ngx-tethys-table.mjs"
|
|
432
|
-
},
|
|
433
427
|
"./tabs": {
|
|
434
428
|
"types": "./tabs/index.d.ts",
|
|
435
429
|
"esm2022": "./esm2022/tabs/ngx-tethys-tabs.mjs",
|
|
436
430
|
"esm": "./esm2022/tabs/ngx-tethys-tabs.mjs",
|
|
437
431
|
"default": "./fesm2022/ngx-tethys-tabs.mjs"
|
|
438
432
|
},
|
|
433
|
+
"./table": {
|
|
434
|
+
"types": "./table/index.d.ts",
|
|
435
|
+
"esm2022": "./esm2022/table/ngx-tethys-table.mjs",
|
|
436
|
+
"esm": "./esm2022/table/ngx-tethys-table.mjs",
|
|
437
|
+
"default": "./fesm2022/ngx-tethys-table.mjs"
|
|
438
|
+
},
|
|
439
439
|
"./tag": {
|
|
440
440
|
"types": "./tag/index.d.ts",
|
|
441
441
|
"esm2022": "./esm2022/tag/ngx-tethys-tag.mjs",
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
"peerDependencies": {
|
|
525
525
|
"@angular/core": "^17.0.0",
|
|
526
526
|
"@angular/cdk": "^17.0.0",
|
|
527
|
-
"@tethys/cdk": "^17.0.0
|
|
527
|
+
"@tethys/cdk": "^17.0.0",
|
|
528
528
|
"date-fns": "^2.6.0",
|
|
529
529
|
"@tethys/icons": "^1.4.23",
|
|
530
530
|
"rxjs": "^6.5.4 || ^7.0.0"
|
|
@@ -29,6 +29,7 @@ describe('ng-update v17 Schematic', () => {
|
|
|
29
29
|
import { ThyButtonComponent } from 'ngx-tethys/button';
|
|
30
30
|
import { ThyOptionComponent } from 'ngx-tethys/shared';
|
|
31
31
|
import { ThySelectComponent, ThySelectCustomComponent } from 'ngx-tethys/select';
|
|
32
|
+
import { DialogHeaderComponent, DialogBodyComponent, DialogFooterComponent } from 'ngx-tethys/dialog';
|
|
32
33
|
|
|
33
34
|
@Component({
|
|
34
35
|
selector: 'app-root',
|
|
@@ -40,7 +41,10 @@ describe('ng-update v17 Schematic', () => {
|
|
|
40
41
|
ThySelectComponent,
|
|
41
42
|
ThySelectCustomComponent,
|
|
42
43
|
ThyOptionComponent,
|
|
43
|
-
ThyButtonComponent
|
|
44
|
+
ThyButtonComponent,
|
|
45
|
+
DialogHeaderComponent,
|
|
46
|
+
DialogBodyComponent,
|
|
47
|
+
DialogFooterComponent
|
|
44
48
|
],
|
|
45
49
|
templateUrl: './app.component.html',
|
|
46
50
|
styleUrls: ['./app.component.scss'],
|
|
@@ -76,5 +80,14 @@ describe('ng-update v17 Schematic', () => {
|
|
|
76
80
|
expect(result).not.toContain(`ThySelectCustomComponent`);
|
|
77
81
|
expect(result).toContain('ThySelect');
|
|
78
82
|
}));
|
|
83
|
+
it('should rename DialogHeaderComponent, DialogBodyComponent, DialogFooterComponent to ThyDialogHeader, ThyDialogBody, ThyDialogFooter', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
84
|
+
const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
85
|
+
expect(result).not.toContain(`DialogHeaderComponent`);
|
|
86
|
+
expect(result).toContain('ThyDialogHeader');
|
|
87
|
+
expect(result).not.toContain(`DialogBodyComponent`);
|
|
88
|
+
expect(result).toContain('ThyDialogBody');
|
|
89
|
+
expect(result).not.toContain(`DialogFooterComponent`);
|
|
90
|
+
expect(result).toContain('ThyDialogFooter');
|
|
91
|
+
}));
|
|
79
92
|
});
|
|
80
93
|
});
|
|
@@ -510,7 +510,7 @@ exports.upgradeData = {
|
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
512
|
replace: 'DialogBodyComponent',
|
|
513
|
-
replaceWith: '
|
|
513
|
+
replaceWith: 'ThyDialogBody'
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
replace: 'ThyConfirmComponent',
|
|
@@ -518,11 +518,11 @@ exports.upgradeData = {
|
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
replace: 'DialogFooterComponent',
|
|
521
|
-
replaceWith: '
|
|
521
|
+
replaceWith: 'ThyDialogFooter'
|
|
522
522
|
},
|
|
523
523
|
{
|
|
524
524
|
replace: 'DialogHeaderComponent',
|
|
525
|
-
replaceWith: '
|
|
525
|
+
replaceWith: 'ThyDialogHeader'
|
|
526
526
|
},
|
|
527
527
|
{
|
|
528
528
|
replace: 'ThyFormGroupErrorComponent',
|
package/schematics/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "17.0.0
|
|
1
|
+
export declare const VERSION = "17.0.0";
|
package/schematics/version.js
CHANGED