carbon-components-angular 5.2.0 → 5.2.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/carbon-components-angular-table.umd.js +30 -19
- package/bundles/carbon-components-angular-table.umd.js.map +1 -1
- package/bundles/carbon-components-angular-tooltip.umd.js +16 -2
- package/bundles/carbon-components-angular-tooltip.umd.js.map +1 -1
- package/docs/documentation/components/Tooltip.html +143 -47
- package/docs/documentation/coverage.html +6 -6
- package/docs/documentation/directives/TableDirective.html +143 -39
- package/docs/documentation/interfaces/TableTranslations.html +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/miscellaneous/typealiases.html +1 -1
- package/docs/documentation.json +103 -54
- package/docs/storybook/iframe.html +1 -1
- package/docs/storybook/{main.2485e7a7.iframe.bundle.js → main.6ced09a7.iframe.bundle.js} +54 -31
- package/docs/storybook/main.6ced09a7.iframe.bundle.js.map +1 -0
- package/docs/storybook/project.json +1 -1
- package/esm2015/table/table.directive.js +20 -17
- package/esm2015/table/table.types.js +1 -1
- package/esm2015/tooltip/tooltip.component.js +21 -11
- package/fesm2015/carbon-components-angular-table.js +19 -16
- package/fesm2015/carbon-components-angular-table.js.map +1 -1
- package/fesm2015/carbon-components-angular-tooltip.js +20 -10
- package/fesm2015/carbon-components-angular-tooltip.js.map +1 -1
- package/package.json +1 -1
- package/table/table.directive.d.ts +5 -3
- package/table/table.types.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +7 -2
- package/docs/storybook/main.2485e7a7.iframe.bundle.js.map +0 -1
|
@@ -3084,31 +3084,36 @@
|
|
|
3084
3084
|
this.size = "md";
|
|
3085
3085
|
this.tableClass = true;
|
|
3086
3086
|
}
|
|
3087
|
-
Object.defineProperty(TableDirective.prototype, "
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
},
|
|
3087
|
+
Object.defineProperty(TableDirective.prototype, "extraSmallSize", {
|
|
3088
|
+
// Bind table size class
|
|
3089
|
+
get: function () { return this.size === "xs"; },
|
|
3091
3090
|
enumerable: false,
|
|
3092
3091
|
configurable: true
|
|
3093
3092
|
});
|
|
3094
|
-
Object.defineProperty(TableDirective.prototype, "
|
|
3095
|
-
get: function () {
|
|
3096
|
-
return this.size === "lg";
|
|
3097
|
-
},
|
|
3093
|
+
Object.defineProperty(TableDirective.prototype, "smallSize", {
|
|
3094
|
+
get: function () { return this.size === "sm"; },
|
|
3098
3095
|
enumerable: false,
|
|
3099
3096
|
configurable: true
|
|
3100
3097
|
});
|
|
3101
|
-
Object.defineProperty(TableDirective.prototype, "
|
|
3102
|
-
get: function () {
|
|
3103
|
-
|
|
3104
|
-
|
|
3098
|
+
Object.defineProperty(TableDirective.prototype, "mediumSize", {
|
|
3099
|
+
get: function () { return this.size === "md"; },
|
|
3100
|
+
enumerable: false,
|
|
3101
|
+
configurable: true
|
|
3102
|
+
});
|
|
3103
|
+
Object.defineProperty(TableDirective.prototype, "LargeSize", {
|
|
3104
|
+
get: function () { return this.size === "lg"; },
|
|
3105
|
+
enumerable: false,
|
|
3106
|
+
configurable: true
|
|
3107
|
+
});
|
|
3108
|
+
Object.defineProperty(TableDirective.prototype, "extraLargeSize", {
|
|
3109
|
+
get: function () { return this.size === "xl"; },
|
|
3105
3110
|
enumerable: false,
|
|
3106
3111
|
configurable: true
|
|
3107
3112
|
});
|
|
3108
3113
|
return TableDirective;
|
|
3109
3114
|
}());
|
|
3110
3115
|
TableDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TableDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
3111
|
-
TableDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TableDirective, selector: "[ibmTable]", inputs: { sortable: "sortable", noBorder: "noBorder", striped: "striped", skeleton: "skeleton", size: "size" }, host: { properties: { "class.cds--data-table--sort": "this.sortable", "class.cds--data-table--no-border": "this.noBorder", "class.cds--data-table--zebra": "this.striped", "class.cds--skeleton": "this.skeleton", "class.cds--data-table": "this.tableClass", "class.cds--data-table--
|
|
3116
|
+
TableDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TableDirective, selector: "[ibmTable]", inputs: { sortable: "sortable", noBorder: "noBorder", striped: "striped", skeleton: "skeleton", size: "size" }, host: { properties: { "class.cds--data-table--sort": "this.sortable", "class.cds--data-table--no-border": "this.noBorder", "class.cds--data-table--zebra": "this.striped", "class.cds--skeleton": "this.skeleton", "class.cds--data-table": "this.tableClass", "class.cds--data-table--xs": "this.extraSmallSize", "class.cds--data-table--sm": "this.smallSize", "class.cds--data-table--md": "this.mediumSize", "class.cds--data-table--lg": "this.LargeSize", "class.cds--data-table--xl": "this.extraLargeSize" } }, ngImport: i0__namespace });
|
|
3112
3117
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TableDirective, decorators: [{
|
|
3113
3118
|
type: i0.Directive,
|
|
3114
3119
|
args: [{
|
|
@@ -3139,15 +3144,21 @@
|
|
|
3139
3144
|
}], tableClass: [{
|
|
3140
3145
|
type: i0.HostBinding,
|
|
3141
3146
|
args: ["class.cds--data-table"]
|
|
3142
|
-
}],
|
|
3147
|
+
}], extraSmallSize: [{
|
|
3148
|
+
type: i0.HostBinding,
|
|
3149
|
+
args: ["class.cds--data-table--xs"]
|
|
3150
|
+
}], smallSize: [{
|
|
3151
|
+
type: i0.HostBinding,
|
|
3152
|
+
args: ["class.cds--data-table--sm"]
|
|
3153
|
+
}], mediumSize: [{
|
|
3143
3154
|
type: i0.HostBinding,
|
|
3144
|
-
args: ["class.cds--data-table--
|
|
3145
|
-
}],
|
|
3155
|
+
args: ["class.cds--data-table--md"]
|
|
3156
|
+
}], LargeSize: [{
|
|
3146
3157
|
type: i0.HostBinding,
|
|
3147
|
-
args: ["class.cds--data-table--
|
|
3148
|
-
}],
|
|
3158
|
+
args: ["class.cds--data-table--lg"]
|
|
3159
|
+
}], extraLargeSize: [{
|
|
3149
3160
|
type: i0.HostBinding,
|
|
3150
|
-
args: ["class.cds--data-table--
|
|
3161
|
+
args: ["class.cds--data-table--xl"]
|
|
3151
3162
|
}] } });
|
|
3152
3163
|
|
|
3153
3164
|
/**
|