carbon-components-angular 3.1.1 → 3.2.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/bundle/carbon-angular.umd.js +1 -1
- package/bundle/carbon-angular.umd.js.map +1 -1
- package/docs/documentation/components/TagFilter.html +52 -3
- package/docs/documentation/coverage.html +4 -4
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/storybook/iframe.html +3 -3
- package/docs/storybook/{main.eb15c0da383acd1e5ab9.bundle.js → main.cc3329d0f31a1601a8eb.bundle.js} +12 -3
- package/docs/storybook/main.cc3329d0f31a1601a8eb.bundle.js.map +1 -0
- package/docs/storybook/{runtime~main.eb15c0da383acd1e5ab9.bundle.js → runtime~main.cc3329d0f31a1601a8eb.bundle.js} +1 -1
- package/docs/storybook/{runtime~main.eb15c0da383acd1e5ab9.bundle.js.map → runtime~main.cc3329d0f31a1601a8eb.bundle.js.map} +1 -1
- package/docs/storybook/{vendors~main.eb15c0da383acd1e5ab9.bundle.js → vendors~main.cc3329d0f31a1601a8eb.bundle.js} +1 -1
- package/docs/storybook/{vendors~main.eb15c0da383acd1e5ab9.bundle.js.map → vendors~main.cc3329d0f31a1601a8eb.bundle.js.map} +1 -1
- package/package.json +1 -1
- package/tag/tag-filter.component.d.ts +5 -0
- package/tag/tag-filter.component.js +9 -3
- package/tag/tag-filter.component.js.map +1 -1
- package/tag/tag-filter.component.metadata.json +1 -1
- package/tag/tag-filter.component.ngfactory.js +5 -2
- package/tag/tag-filter.component.ngfactory.js.map +1 -1
- package/tag/tag-filter.component.ngsummary.json +1 -1
- package/tag/tag.module.ngfactory.js.map +1 -1
- package/docs/storybook/main.eb15c0da383acd1e5ab9.bundle.js.map +0 -1
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
<script src="runtime~main.
|
|
117
|
+
<script src="runtime~main.cc3329d0f31a1601a8eb.bundle.js"></script>
|
|
118
118
|
|
|
119
|
-
<script src="vendors~main.
|
|
119
|
+
<script src="vendors~main.cc3329d0f31a1601a8eb.bundle.js"></script>
|
|
120
120
|
|
|
121
|
-
<script src="main.
|
|
121
|
+
<script src="main.cc3329d0f31a1601a8eb.bundle.js"></script>
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
</body>
|
package/docs/storybook/{main.eb15c0da383acd1e5ab9.bundle.js → main.cc3329d0f31a1601a8eb.bundle.js}
RENAMED
|
@@ -19394,7 +19394,12 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
19394
19394
|
var TagFilter = /** @class */ (function (_super) {
|
|
19395
19395
|
__extends(TagFilter, _super);
|
|
19396
19396
|
function TagFilter() {
|
|
19397
|
-
|
|
19397
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19398
|
+
/**
|
|
19399
|
+
* Function for close/delete the tag
|
|
19400
|
+
*/
|
|
19401
|
+
_this.close = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
19402
|
+
return _this;
|
|
19398
19403
|
}
|
|
19399
19404
|
Object.defineProperty(TagFilter.prototype, "attrClass", {
|
|
19400
19405
|
get: function () {
|
|
@@ -19403,6 +19408,10 @@ var TagFilter = /** @class */ (function (_super) {
|
|
|
19403
19408
|
enumerable: true,
|
|
19404
19409
|
configurable: true
|
|
19405
19410
|
});
|
|
19411
|
+
__decorate([
|
|
19412
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
|
|
19413
|
+
__metadata("design:type", Object)
|
|
19414
|
+
], TagFilter.prototype, "close", void 0);
|
|
19406
19415
|
__decorate([
|
|
19407
19416
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"])("attr.class"),
|
|
19408
19417
|
__metadata("design:type", Object),
|
|
@@ -19411,7 +19420,7 @@ var TagFilter = /** @class */ (function (_super) {
|
|
|
19411
19420
|
TagFilter = __decorate([
|
|
19412
19421
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
19413
19422
|
selector: "ibm-tag-filter",
|
|
19414
|
-
template: "\n\t\t<ng-content></ng-content>\n\t\t<svg\n\t\t\tfocusable=\"false\"\n\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\tstyle=\"will-change: transform;\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"Clear filter\"\n\t\t\twidth=\"16\"\n\t\t\theight=\"16\"\n\t\t\tviewBox=\"0 0 16 16\"\n\t\t\trole=\"img\">\n\t\t\t<path d=\"M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z\"></path>\n\t\t</svg>\n\t"
|
|
19423
|
+
template: "\n\t\t<ng-content></ng-content>\n\t\t<svg\n\t\t\t(click)=\"close.emit()\"\n\t\t\tfocusable=\"false\"\n\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\tstyle=\"will-change: transform;\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"Clear filter\"\n\t\t\twidth=\"16\"\n\t\t\theight=\"16\"\n\t\t\tviewBox=\"0 0 16 16\"\n\t\t\trole=\"img\">\n\t\t\t<path d=\"M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z\"></path>\n\t\t</svg>\n\t"
|
|
19415
19424
|
})
|
|
19416
19425
|
], TagFilter);
|
|
19417
19426
|
return TagFilter;
|
|
@@ -21714,4 +21723,4 @@ module.exports = __webpack_require__(/*! /home/travis/build/IBM/carbon-component
|
|
|
21714
21723
|
/***/ })
|
|
21715
21724
|
|
|
21716
21725
|
},[[0,"runtime~main","vendors~main"]]]);
|
|
21717
|
-
//# sourceMappingURL=main.
|
|
21726
|
+
//# sourceMappingURL=main.cc3329d0f31a1601a8eb.bundle.js.map
|