taiga-ui 2.61.0 → 3.0.0-rc.2
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/bundles/taiga-ui.umd.js +7 -3
- package/bundles/taiga-ui.umd.js.map +1 -1
- package/esm2015/index.js +1 -1
- package/esm2015/taiga-ui.js +1 -1
- package/fesm2015/taiga-ui.js.map +1 -1
- package/package.json +5 -4
- package/schematics/ng-add/constants/modules.js +1 -0
- package/schematics/ng-add/constants/versions.js +1 -0
- package/schematics/ng-add/index.js +1 -0
- package/schematics/ng-add/schema.d.ts +1 -0
- package/schematics/ng-add/steps/add-taiga-icons.js +1 -0
- package/schematics/ng-add/steps/add-taiga-modules.js +1 -0
- package/schematics/ng-add/steps/add-taiga-styles.js +6 -2
- package/schematics/ng-add/steps/wrap-with-tui-root.js +1 -0
- package/schematics/utils/get-project-target-options.js +1 -0
- package/schematics/utils/get-project.js +1 -0
- package/taiga-ui.d.ts +1 -0
- package/bundles/taiga-ui.umd.min.js +0 -2
- package/bundles/taiga-ui.umd.min.js.map +0 -1
- package/esm5/index.js +0 -2
- package/esm5/taiga-ui.js +0 -5
- package/fesm5/taiga-ui.js +0 -8
- package/fesm5/taiga-ui.js.map +0 -1
- package/taiga-ui.metadata.json +0 -1
package/bundles/taiga-ui.umd.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('taiga-ui', ['exports'], factory) :
|
|
4
|
-
(global = global || self, factory(global[
|
|
5
|
-
}(this, (function (exports) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["taiga-ui"] = {}));
|
|
5
|
+
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var stub = "Taiga UI schematics package";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Generated bundle index. Do not edit.
|
|
11
|
+
*/
|
|
12
|
+
|
|
9
13
|
exports.stub = stub;
|
|
10
14
|
|
|
11
15
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
16
|
|
|
13
|
-
}))
|
|
17
|
+
}));
|
|
14
18
|
//# sourceMappingURL=taiga-ui.umd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui.umd.js","sources":["
|
|
1
|
+
{"version":3,"file":"taiga-ui.umd.js","sources":["../../../projects/taiga-schematics/index.ts","../../../projects/taiga-schematics/taiga-ui.ts"],"sourcesContent":["export const stub = `Taiga UI schematics package`;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAO,KAAM,IAAI,GAAG;;CCApB;;CAEG;;;;;;;;;;"}
|
package/esm2015/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const stub = `Taiga UI schematics package`;
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy90YWlnYS1zY2hlbWF0aWNzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLElBQUksR0FBRyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBzdHViID0gYFRhaWdhIFVJIHNjaGVtYXRpY3MgcGFja2FnZWA7XG4iXX0=
|
package/esm2015/taiga-ui.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy90YWlnYS1zY2hlbWF0aWNzL3RhaWdhLXVpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
package/fesm2015/taiga-ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui.js","sources":["
|
|
1
|
+
{"version":3,"file":"taiga-ui.js","sources":["../../../projects/taiga-schematics/index.ts","../../../projects/taiga-schematics/taiga-ui.ts"],"sourcesContent":["export const stub = `Taiga UI schematics package`;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,IAAI,GAAG;;ACApB;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taiga-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-rc.2",
|
|
4
4
|
"description": "Taiga UI package that provides ng add command for Taiga library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
"repository": "https://github.com/tinkoff/taiga-ui",
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@angular-devkit/schematics": "
|
|
19
|
-
"ng-morph": "^2.1.0"
|
|
18
|
+
"@angular-devkit/schematics": "~12.2.17",
|
|
19
|
+
"ng-morph": "^2.1.0",
|
|
20
|
+
"tslib": "^2.0.0"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
22
|
-
"@angular-devkit/schematics-cli": "~
|
|
23
|
+
"@angular-devkit/schematics-cli": "~12.2.17"
|
|
23
24
|
},
|
|
24
25
|
"schematics": "./schematics/collection.json"
|
|
25
26
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DOMPURIFY_TYPES_VERSION = exports.DOMPURIFY_VERSION = exports.NG_DOMPURIFY_VERSION = exports.TAIGA_VERSION = void 0;
|
|
3
4
|
const package_json_1 = require("../../../package.json");
|
|
4
5
|
exports.TAIGA_VERSION = `^${package_json_1.version}`;
|
|
5
6
|
exports.NG_DOMPURIFY_VERSION = '3.0.0';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addTaigaStylesToAngularJson = exports.addTaigaIcons = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
5
6
|
const get_project_1 = require("../../utils/get-project");
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addTaigaStylesToAngularJson = exports.addTaigaStyles = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
5
6
|
const get_project_1 = require("../../utils/get-project");
|
|
6
7
|
const get_project_target_options_1 = require("../../utils/get-project-target-options");
|
|
7
|
-
const TAIGA_GLOBAL_STYLE =
|
|
8
|
+
const TAIGA_GLOBAL_STYLE = [
|
|
9
|
+
'node_modules/@taiga-ui/core/styles/taiga-ui-local.less',
|
|
10
|
+
'node_modules/@taiga-ui/styles/taiga-ui-global.less',
|
|
11
|
+
];
|
|
8
12
|
const TAIGA_THEME_STYLE = 'node_modules/@taiga-ui/core/styles/taiga-ui-theme.less';
|
|
9
13
|
function addTaigaStyles(options) {
|
|
10
14
|
return (_) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -17,7 +21,7 @@ function addTaigaStylesToAngularJson(options) {
|
|
|
17
21
|
const project = get_project_1.getProject(options, workspace);
|
|
18
22
|
const targetOptions = get_project_target_options_1.getProjectTargetOptions(project, 'build');
|
|
19
23
|
const styles = targetOptions.styles;
|
|
20
|
-
const taigaStyles = [
|
|
24
|
+
const taigaStyles = [TAIGA_THEME_STYLE, ...TAIGA_GLOBAL_STYLE];
|
|
21
25
|
targetOptions.styles = styles
|
|
22
26
|
? Array.from(new Set([...taigaStyles, ...styles]))
|
|
23
27
|
: taigaStyles;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.wrapWithTuiRootComponent = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
5
6
|
const ng_morph_1 = require("ng-morph");
|
package/taiga-ui.d.ts
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("taiga-ui",["exports"],t):t((e=e||self)["taiga-ui"]={})}(this,(function(e){"use strict";e.stub="Taiga UI schematics package",Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
|
-
//# sourceMappingURL=taiga-ui.umd.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["ng://taiga-ui/index.ts"],"names":[],"mappings":"2NAAoB","sourcesContent":["export const stub = `Taiga UI schematics package`;\n"]}
|
package/esm5/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export var stub = "Taiga UI schematics package";
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly90YWlnYS11aS8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxJQUFNLElBQUksR0FBRyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBzdHViID0gYFRhaWdhIFVJIHNjaGVtYXRpY3MgcGFja2FnZWA7XG4iXX0=
|
package/esm5/taiga-ui.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly90YWlnYS11aS8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
package/fesm5/taiga-ui.js
DELETED
package/fesm5/taiga-ui.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui.js","sources":["ng://taiga-ui/index.ts","ng://taiga-ui/taiga-ui.ts"],"sourcesContent":["export const stub = `Taiga UI schematics package`;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"IAAa,IAAI,GAAG;;ACApB;;;;;;"}
|
package/taiga-ui.metadata.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"stub":"Taiga UI schematics package"},"origins":{"stub":"./index"},"importAs":"taiga-ui"}
|