@leanix/components 0.4.387 → 0.4.389

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/index.d.ts CHANGED
@@ -24,7 +24,6 @@ export * from './lib/core-ui/components/button-group/button-group.component';
24
24
  export * from './lib/core-ui/components/button/button.component';
25
25
  export * from './lib/core-ui/components/card/card.component';
26
26
  export * from './lib/core-ui/components/collapsible/collapsible.component';
27
- export * from './lib/core-ui/components/colored-label/colored-label.component';
28
27
  export * from './lib/core-ui/components/content-panel/content-panel.component';
29
28
  export * from './lib/core-ui/components/counter/counter.component';
30
29
  export * from './lib/core-ui/components/ellipsis/ellipsis.component';
@@ -11,36 +11,35 @@ import * as i9 from "./components/button-group/button-group.component";
11
11
  import * as i10 from "./pipes/br.pipe";
12
12
  import * as i11 from "./components/card/card.component";
13
13
  import * as i12 from "./components/collapsible/collapsible.component";
14
- import * as i13 from "./components/colored-label/colored-label.component";
15
- import * as i14 from "./pipes/custom-date.pipe";
16
- import * as i15 from "./components/ellipsis/ellipsis.component";
17
- import * as i16 from "./pipes/highlight-range.pipe";
18
- import * as i17 from "./pipes/highlight-term.pipe";
19
- import * as i18 from "./components/icon-scale/icon-scale.component";
20
- import * as i19 from "./components/integration-link-card/integration-link-card.component";
21
- import * as i20 from "./components/integration-link-card/integration-link-card-group.component";
22
- import * as i21 from "./linkify/linkify.pipe";
23
- import * as i22 from "./linkify/unlinkify.pipe";
24
- import * as i23 from "./pipes/lx-time-ago.pipe";
25
- import * as i24 from "./pipes/lx-translate.pipe";
26
- import * as i25 from "./pipes/markdown.pipe";
27
- import * as i26 from "./pipes/nbsp.pipe";
28
- import * as i27 from "./pipes/lx-is-uuid.pipe";
29
- import * as i28 from "./components/stepper/stepper.component";
30
- import * as i29 from "./components/spinner/spinner.component";
31
- import * as i30 from "./components/table/table.component";
32
- import * as i31 from "./components/table/table-header/table-header.component";
33
- import * as i32 from "./components/tiny-spinner/tiny-spinner.component";
34
- import * as i33 from "./tooltip/tooltip.directive";
35
- import * as i34 from "./pipes/translation-after.pipe";
36
- import * as i35 from "./pipes/translation-before.pipe";
37
- import * as i36 from "./pipes/translation-between.pipe";
38
- import * as i37 from "./pipes/sort.pipe";
39
- import * as i38 from "./pipes/contrast-color.pipe";
40
- import * as i39 from "./pipes/unescape-curly-braces.pipe";
41
- import * as i40 from "./components/empty-state/empty-state.component";
14
+ import * as i13 from "./pipes/custom-date.pipe";
15
+ import * as i14 from "./components/ellipsis/ellipsis.component";
16
+ import * as i15 from "./pipes/highlight-range.pipe";
17
+ import * as i16 from "./pipes/highlight-term.pipe";
18
+ import * as i17 from "./components/icon-scale/icon-scale.component";
19
+ import * as i18 from "./components/integration-link-card/integration-link-card.component";
20
+ import * as i19 from "./components/integration-link-card/integration-link-card-group.component";
21
+ import * as i20 from "./linkify/linkify.pipe";
22
+ import * as i21 from "./linkify/unlinkify.pipe";
23
+ import * as i22 from "./pipes/lx-time-ago.pipe";
24
+ import * as i23 from "./pipes/lx-translate.pipe";
25
+ import * as i24 from "./pipes/markdown.pipe";
26
+ import * as i25 from "./pipes/nbsp.pipe";
27
+ import * as i26 from "./pipes/lx-is-uuid.pipe";
28
+ import * as i27 from "./components/stepper/stepper.component";
29
+ import * as i28 from "./components/spinner/spinner.component";
30
+ import * as i29 from "./components/table/table.component";
31
+ import * as i30 from "./components/table/table-header/table-header.component";
32
+ import * as i31 from "./components/tiny-spinner/tiny-spinner.component";
33
+ import * as i32 from "./tooltip/tooltip.directive";
34
+ import * as i33 from "./pipes/translation-after.pipe";
35
+ import * as i34 from "./pipes/translation-before.pipe";
36
+ import * as i35 from "./pipes/translation-between.pipe";
37
+ import * as i36 from "./pipes/sort.pipe";
38
+ import * as i37 from "./pipes/contrast-color.pipe";
39
+ import * as i38 from "./pipes/unescape-curly-braces.pipe";
40
+ import * as i39 from "./components/empty-state/empty-state.component";
42
41
  export declare class LxCoreUiModule {
43
42
  static ɵfac: i0.ɵɵFactoryDeclaration<LxCoreUiModule, never>;
44
- static ɵmod: i0.ɵɵNgModuleDeclaration<LxCoreUiModule, never, [typeof i1.TranslateModule, typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i5.CounterComponent, typeof i6.BadgeComponent, typeof i7.BannerComponent, typeof i8.ButtonComponent, typeof i9.ButtonGroupComponent, typeof i10.BrPipe, typeof i11.CardComponent, typeof i12.CollapsibleComponent, typeof i13.ColoredLabelComponent, typeof i14.CustomDatePipe, typeof i15.EllipsisComponent, typeof i16.HighlightRangePipe, typeof i17.HighlightTermPipe, typeof i18.IconScaleComponent, typeof i19.IntegrationLinkCardComponent, typeof i20.IntegrationLinkCardGroupComponent, typeof i21.LxLinkifyPipe, typeof i22.LxUnlinkifyPipe, typeof i23.LxTimeAgo, typeof i24.LxTranslatePipe, typeof i25.MarkdownPipe, typeof i26.NbspPipe, typeof i27.LxIsUuidPipe, typeof i28.StepperComponent, typeof i29.SpinnerComponent, typeof i30.TableComponent, typeof i31.TableHeaderComponent, typeof i32.TinySpinnerComponent, typeof i33.TooltipDirective, typeof i34.TranslationAfterPipe, typeof i35.TranslationBeforePipe, typeof i36.TranslationBetweenPipe, typeof i37.SortPipe, typeof i38.ContrastColorPipe, typeof i39.UnescapeCurlyBracesPipe, typeof i40.EmptyStateComponent], [typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i6.BadgeComponent, typeof i5.CounterComponent, typeof i7.BannerComponent, typeof i8.ButtonComponent, typeof i10.BrPipe, typeof i9.ButtonGroupComponent, typeof i11.CardComponent, typeof i13.ColoredLabelComponent, typeof i14.CustomDatePipe, typeof i15.EllipsisComponent, typeof i16.HighlightRangePipe, typeof i17.HighlightTermPipe, typeof i18.IconScaleComponent, typeof i19.IntegrationLinkCardComponent, typeof i20.IntegrationLinkCardGroupComponent, typeof i21.LxLinkifyPipe, typeof i22.LxUnlinkifyPipe, typeof i23.LxTimeAgo, typeof i24.LxTranslatePipe, typeof i25.MarkdownPipe, typeof i26.NbspPipe, typeof i27.LxIsUuidPipe, typeof i28.StepperComponent, typeof i29.SpinnerComponent, typeof i30.TableComponent, typeof i31.TableHeaderComponent, typeof i32.TinySpinnerComponent, typeof i33.TooltipDirective, typeof i34.TranslationAfterPipe, typeof i35.TranslationBeforePipe, typeof i36.TranslationBetweenPipe, typeof i12.CollapsibleComponent, typeof i37.SortPipe, typeof i38.ContrastColorPipe, typeof i39.UnescapeCurlyBracesPipe, typeof i40.EmptyStateComponent]>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LxCoreUiModule, never, [typeof i1.TranslateModule, typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i5.CounterComponent, typeof i6.BadgeComponent, typeof i7.BannerComponent, typeof i8.ButtonComponent, typeof i9.ButtonGroupComponent, typeof i10.BrPipe, typeof i11.CardComponent, typeof i12.CollapsibleComponent, typeof i13.CustomDatePipe, typeof i14.EllipsisComponent, typeof i15.HighlightRangePipe, typeof i16.HighlightTermPipe, typeof i17.IconScaleComponent, typeof i18.IntegrationLinkCardComponent, typeof i19.IntegrationLinkCardGroupComponent, typeof i20.LxLinkifyPipe, typeof i21.LxUnlinkifyPipe, typeof i22.LxTimeAgo, typeof i23.LxTranslatePipe, typeof i24.MarkdownPipe, typeof i25.NbspPipe, typeof i26.LxIsUuidPipe, typeof i27.StepperComponent, typeof i28.SpinnerComponent, typeof i29.TableComponent, typeof i30.TableHeaderComponent, typeof i31.TinySpinnerComponent, typeof i32.TooltipDirective, typeof i33.TranslationAfterPipe, typeof i34.TranslationBeforePipe, typeof i35.TranslationBetweenPipe, typeof i36.SortPipe, typeof i37.ContrastColorPipe, typeof i38.UnescapeCurlyBracesPipe, typeof i39.EmptyStateComponent], [typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i6.BadgeComponent, typeof i5.CounterComponent, typeof i7.BannerComponent, typeof i8.ButtonComponent, typeof i10.BrPipe, typeof i9.ButtonGroupComponent, typeof i11.CardComponent, typeof i13.CustomDatePipe, typeof i14.EllipsisComponent, typeof i15.HighlightRangePipe, typeof i16.HighlightTermPipe, typeof i17.IconScaleComponent, typeof i18.IntegrationLinkCardComponent, typeof i19.IntegrationLinkCardGroupComponent, typeof i20.LxLinkifyPipe, typeof i21.LxUnlinkifyPipe, typeof i22.LxTimeAgo, typeof i23.LxTranslatePipe, typeof i24.MarkdownPipe, typeof i25.NbspPipe, typeof i26.LxIsUuidPipe, typeof i27.StepperComponent, typeof i28.SpinnerComponent, typeof i29.TableComponent, typeof i30.TableHeaderComponent, typeof i31.TinySpinnerComponent, typeof i32.TooltipDirective, typeof i33.TranslationAfterPipe, typeof i34.TranslationBeforePipe, typeof i35.TranslationBetweenPipe, typeof i12.CollapsibleComponent, typeof i36.SortPipe, typeof i37.ContrastColorPipe, typeof i38.UnescapeCurlyBracesPipe, typeof i39.EmptyStateComponent]>;
45
44
  static ɵinj: i0.ɵɵInjectorDeclaration<LxCoreUiModule>;
46
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.387",
3
+ "version": "0.4.389",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {
@@ -1,34 +0,0 @@
1
- import { NgClass } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
3
- import { TooltipDirective } from '../../tooltip/tooltip.directive';
4
- import * as i0 from "@angular/core";
5
- export class ColoredLabelComponent {
6
- constructor() {
7
- this.bgColor = '#c0c0c0';
8
- this.color = '#000';
9
- this.tooltip = '';
10
- this.classes = ['label'];
11
- }
12
- get ngClass() {
13
- const classObj = {};
14
- this.classes.forEach((c) => {
15
- classObj[c] = true;
16
- });
17
- return classObj;
18
- }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ColoredLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: ColoredLabelComponent, isStandalone: true, selector: "lx-colored-label", inputs: { bgColor: "bgColor", color: "color", tooltip: "tooltip", classes: "classes" }, ngImport: i0, template: "<span [ngClass]=\"ngClass\" [lxTooltip]=\"tooltip\" [style.background-color]=\"bgColor\" [style.color]=\"color\">\n <ng-content />\n</span>\n", styles: [".label{font-size:12px;display:inline-block;width:100%;padding:4px;line-height:11px;overflow:hidden;text-overflow:ellipsis}.shortLabel{font-size:12px;text-align:center;min-width:20px;padding:3px 0;border-radius:2px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;line-height:normal}.minibarLabel{display:inline-block;width:25px;height:3px;border-radius:5px}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: TooltipDirective, selector: "[lxTooltip]", inputs: ["lxTooltip", "lxTooltipPosition", "lxTooltipDelay", "lxTooltipIsHtmlContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ColoredLabelComponent, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'lx-colored-label', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgClass, TooltipDirective], template: "<span [ngClass]=\"ngClass\" [lxTooltip]=\"tooltip\" [style.background-color]=\"bgColor\" [style.color]=\"color\">\n <ng-content />\n</span>\n", styles: [".label{font-size:12px;display:inline-block;width:100%;padding:4px;line-height:11px;overflow:hidden;text-overflow:ellipsis}.shortLabel{font-size:12px;text-align:center;min-width:20px;padding:3px 0;border-radius:2px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;line-height:normal}.minibarLabel{display:inline-block;width:25px;height:3px;border-radius:5px}\n"] }]
25
- }], propDecorators: { bgColor: [{
26
- type: Input
27
- }], color: [{
28
- type: Input
29
- }], tooltip: [{
30
- type: Input
31
- }], classes: [{
32
- type: Input
33
- }] } });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3JlZC1sYWJlbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi9jb3JlLXVpL2NvbXBvbmVudHMvY29sb3JlZC1sYWJlbC9jb2xvcmVkLWxhYmVsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL2NvcmUtdWkvY29tcG9uZW50cy9jb2xvcmVkLWxhYmVsL2NvbG9yZWQtbGFiZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzFDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGlDQUFpQyxDQUFDOztBQVVuRSxNQUFNLE9BQU8scUJBQXFCO0lBUmxDO1FBU2tCLFlBQU8sR0FBVyxTQUFTLENBQUM7UUFDNUIsVUFBSyxHQUFXLE1BQU0sQ0FBQztRQUV2QixZQUFPLEdBQUcsRUFBRSxDQUFDO1FBQ2IsWUFBTyxHQUFhLENBQUMsT0FBTyxDQUFDLENBQUM7S0FTL0M7SUFQQyxJQUFJLE9BQU87UUFDVCxNQUFNLFFBQVEsR0FBcUMsRUFBRSxDQUFDO1FBQ3RELElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUU7WUFD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zcywgVG9vbHRpcERpcmVjdGl2ZV1cbn0pXG5leHBvcnQgY2xhc3MgQ29sb3JlZExhYmVsQ29tcG9uZW50IHtcbiAgQElucHV0KCkgcHVibGljIGJnQ29sb3I6IHN0cmluZyA9ICcjYzBjMGMwJztcbiAgQElucHV0KCkgcHVibGljIGNvbG9yOiBzdHJpbmcgPSAnIzAwMCc7XG5cbiAgQElucHV0KCkgcHVibGljIHRvb2x0aXAgPSAnJztcbiAgQElucHV0KCkgcHVibGljIGNsYXNzZXM6IHN0cmluZ1tdID0gWydsYWJlbCddO1xuXG4gIGdldCBuZ0NsYXNzKCkge1xuICAgIGNvbnN0IGNsYXNzT2JqOiB7IFtjbGFzc05hbWU6IHN0cmluZ106IGJvb2xlYW4gfSA9IHt9O1xuICAgIHRoaXMuY2xhc3Nlcy5mb3JFYWNoKChjKSA9PiB7XG4gICAgICBjbGFzc09ialtjXSA9IHRydWU7XG4gICAgfSk7XG4gICAgcmV0dXJuIGNsYXNzT2JqO1xuICB9XG59XG4iLCI8c3BhbiBbbmdDbGFzc109XCJuZ0NsYXNzXCIgW2x4VG9vbHRpcF09XCJ0b29sdGlwXCIgW3N0eWxlLmJhY2tncm91bmQtY29sb3JdPVwiYmdDb2xvclwiIFtzdHlsZS5jb2xvcl09XCJjb2xvclwiPlxuICA8bmctY29udGVudCAvPlxuPC9zcGFuPlxuIl19
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ColoredLabelComponent {
3
- bgColor: string;
4
- color: string;
5
- tooltip: string;
6
- classes: string[];
7
- get ngClass(): {
8
- [className: string]: boolean;
9
- };
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ColoredLabelComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ColoredLabelComponent, "lx-colored-label", never, { "bgColor": { "alias": "bgColor"; "required": false; }; "color": { "alias": "color"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; }, {}, never, ["*"], true, never>;
12
- }