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.
Files changed (27) hide show
  1. package/bundles/carbon-components-angular-table.umd.js +30 -19
  2. package/bundles/carbon-components-angular-table.umd.js.map +1 -1
  3. package/bundles/carbon-components-angular-tooltip.umd.js +16 -2
  4. package/bundles/carbon-components-angular-tooltip.umd.js.map +1 -1
  5. package/docs/documentation/components/Tooltip.html +143 -47
  6. package/docs/documentation/coverage.html +6 -6
  7. package/docs/documentation/directives/TableDirective.html +143 -39
  8. package/docs/documentation/interfaces/TableTranslations.html +1 -1
  9. package/docs/documentation/js/search/search_index.js +2 -2
  10. package/docs/documentation/miscellaneous/typealiases.html +1 -1
  11. package/docs/documentation.json +103 -54
  12. package/docs/storybook/iframe.html +1 -1
  13. package/docs/storybook/{main.2485e7a7.iframe.bundle.js → main.6ced09a7.iframe.bundle.js} +54 -31
  14. package/docs/storybook/main.6ced09a7.iframe.bundle.js.map +1 -0
  15. package/docs/storybook/project.json +1 -1
  16. package/esm2015/table/table.directive.js +20 -17
  17. package/esm2015/table/table.types.js +1 -1
  18. package/esm2015/tooltip/tooltip.component.js +21 -11
  19. package/fesm2015/carbon-components-angular-table.js +19 -16
  20. package/fesm2015/carbon-components-angular-table.js.map +1 -1
  21. package/fesm2015/carbon-components-angular-tooltip.js +20 -10
  22. package/fesm2015/carbon-components-angular-tooltip.js.map +1 -1
  23. package/package.json +1 -1
  24. package/table/table.directive.d.ts +5 -3
  25. package/table/table.types.d.ts +1 -1
  26. package/tooltip/tooltip.component.d.ts +7 -2
  27. 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, "compactClass", {
3088
- get: function () {
3089
- return this.size === "sm";
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, "tallClass", {
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, "shortClass", {
3102
- get: function () {
3103
- return this.size === "sh";
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--compact": "this.compactClass", "class.cds--data-table--tall": "this.tallClass", "class.cds--data-table--short": "this.shortClass" } }, ngImport: i0__namespace });
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
- }], compactClass: [{
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--compact"]
3145
- }], tallClass: [{
3155
+ args: ["class.cds--data-table--md"]
3156
+ }], LargeSize: [{
3146
3157
  type: i0.HostBinding,
3147
- args: ["class.cds--data-table--tall"]
3148
- }], shortClass: [{
3158
+ args: ["class.cds--data-table--lg"]
3159
+ }], extraLargeSize: [{
3149
3160
  type: i0.HostBinding,
3150
- args: ["class.cds--data-table--short"]
3161
+ args: ["class.cds--data-table--xl"]
3151
3162
  }] } });
3152
3163
 
3153
3164
  /**