@leanix/components 0.4.120 → 0.4.122

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export * from './lib/core-ui/directives/after-view-init.directive';
20
20
  export * from './lib/core-ui/directives/autoclose.directive';
21
21
  export * from './lib/core-ui/directives/autofocus.directive';
22
22
  export * from './lib/core-ui/components/counter/counter.component';
23
+ export * from './lib/core-ui/components/badge/badge.component';
23
24
  export * from './lib/core-ui/components/banner/banner.component';
24
25
  export * from './lib/core-ui/components/button-group/button-group.component';
25
26
  export * from './lib/core-ui/components/button/button.component';
@@ -0,0 +1,14 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BadgeComponent implements OnInit {
4
+ content: string | number;
5
+ color: 'blue' | 'gray' | 'red' | 'yellow' | 'green' | 'purple';
6
+ calculateColorsDynamically: boolean;
7
+ textColor: string;
8
+ backGroundColor: string;
9
+ ngOnInit(): void;
10
+ get colorClass(): string;
11
+ private calculateColorsFromText;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "lx-badge", never, { "content": { "alias": "content"; "required": true; }; "color": { "alias": "color"; "required": false; }; "calculateColorsDynamically": { "alias": "calculateColorsDynamically"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
@@ -4,39 +4,40 @@ import * as i2 from "./directives/after-view-init.directive";
4
4
  import * as i3 from "./directives/autoclose.directive";
5
5
  import * as i4 from "./directives/autofocus.directive";
6
6
  import * as i5 from "./components/counter/counter.component";
7
- import * as i6 from "./components/banner/banner.component";
8
- import * as i7 from "./components/button/button.component";
9
- import * as i8 from "./components/button-group/button-group.component";
10
- import * as i9 from "./pipes/br.pipe";
11
- import * as i10 from "./components/card/card.component";
12
- import * as i11 from "./components/collapsible/collapsible.component";
13
- import * as i12 from "./components/colored-label/colored-label.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 "./linkify/linkify.pipe";
20
- import * as i19 from "./linkify/unlinkify.pipe";
21
- import * as i20 from "./pipes/lx-time-ago.pipe";
22
- import * as i21 from "./pipes/lx-translate.pipe";
23
- import * as i22 from "./pipes/markdown.pipe";
24
- import * as i23 from "./pipes/nbsp.pipe";
25
- import * as i24 from "./pipes/lx-is-uuid.pipe";
26
- import * as i25 from "./components/spinner/spinner.component";
27
- import * as i26 from "./components/table/table.component";
28
- import * as i27 from "./components/table/table-header/table-header.component";
29
- import * as i28 from "./components/tiny-spinner/tiny-spinner.component";
30
- import * as i29 from "./tooltip/tooltip.directive";
31
- import * as i30 from "./pipes/translation-after.pipe";
32
- import * as i31 from "./pipes/translation-before.pipe";
33
- import * as i32 from "./pipes/translation-between.pipe";
34
- import * as i33 from "./pipes/sort.pipe";
35
- import * as i34 from "./pipes/contrast-color.pipe";
36
- import * as i35 from "./pipes/unescape-curly-braces.pipe";
37
- import * as i36 from "./components/file-download-button/file-download-button.component";
7
+ import * as i6 from "./components/badge/badge.component";
8
+ import * as i7 from "./components/banner/banner.component";
9
+ import * as i8 from "./components/button/button.component";
10
+ import * as i9 from "./components/button-group/button-group.component";
11
+ import * as i10 from "./pipes/br.pipe";
12
+ import * as i11 from "./components/card/card.component";
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 "./linkify/linkify.pipe";
21
+ import * as i20 from "./linkify/unlinkify.pipe";
22
+ import * as i21 from "./pipes/lx-time-ago.pipe";
23
+ import * as i22 from "./pipes/lx-translate.pipe";
24
+ import * as i23 from "./pipes/markdown.pipe";
25
+ import * as i24 from "./pipes/nbsp.pipe";
26
+ import * as i25 from "./pipes/lx-is-uuid.pipe";
27
+ import * as i26 from "./components/spinner/spinner.component";
28
+ import * as i27 from "./components/table/table.component";
29
+ import * as i28 from "./components/table/table-header/table-header.component";
30
+ import * as i29 from "./components/tiny-spinner/tiny-spinner.component";
31
+ import * as i30 from "./tooltip/tooltip.directive";
32
+ import * as i31 from "./pipes/translation-after.pipe";
33
+ import * as i32 from "./pipes/translation-before.pipe";
34
+ import * as i33 from "./pipes/translation-between.pipe";
35
+ import * as i34 from "./pipes/sort.pipe";
36
+ import * as i35 from "./pipes/contrast-color.pipe";
37
+ import * as i36 from "./pipes/unescape-curly-braces.pipe";
38
+ import * as i37 from "./components/file-download-button/file-download-button.component";
38
39
  export declare class LxCoreUiModule {
39
40
  static ɵfac: i0.ɵɵFactoryDeclaration<LxCoreUiModule, never>;
40
- static ɵmod: i0.ɵɵNgModuleDeclaration<LxCoreUiModule, never, [typeof i1.TranslateModule, typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i5.CounterComponent, typeof i6.BannerComponent, typeof i7.ButtonComponent, typeof i8.ButtonGroupComponent, typeof i9.BrPipe, typeof i10.CardComponent, typeof i11.CollapsibleComponent, typeof i12.ColoredLabelComponent, typeof i13.CustomDatePipe, typeof i14.EllipsisComponent, typeof i15.HighlightRangePipe, typeof i16.HighlightTermPipe, typeof i17.IconScaleComponent, typeof i18.LxLinkifyPipe, typeof i19.LxUnlinkifyPipe, typeof i20.LxTimeAgo, typeof i21.LxTranslatePipe, typeof i22.MarkdownPipe, typeof i23.NbspPipe, typeof i24.LxIsUuidPipe, typeof i25.SpinnerComponent, typeof i26.TableComponent, typeof i27.TableHeaderComponent, typeof i28.TinySpinnerComponent, typeof i29.TooltipDirective, typeof i30.TranslationAfterPipe, typeof i31.TranslationBeforePipe, typeof i32.TranslationBetweenPipe, typeof i33.SortPipe, typeof i34.ContrastColorPipe, typeof i35.UnescapeCurlyBracesPipe, typeof i36.FileDownloadButtonComponent], [typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i5.CounterComponent, typeof i6.BannerComponent, typeof i7.ButtonComponent, typeof i9.BrPipe, typeof i8.ButtonGroupComponent, typeof i10.CardComponent, typeof i12.ColoredLabelComponent, typeof i13.CustomDatePipe, typeof i14.EllipsisComponent, typeof i15.HighlightRangePipe, typeof i16.HighlightTermPipe, typeof i17.IconScaleComponent, typeof i18.LxLinkifyPipe, typeof i19.LxUnlinkifyPipe, typeof i20.LxTimeAgo, typeof i21.LxTranslatePipe, typeof i36.FileDownloadButtonComponent, typeof i22.MarkdownPipe, typeof i23.NbspPipe, typeof i24.LxIsUuidPipe, typeof i25.SpinnerComponent, typeof i26.TableComponent, typeof i27.TableHeaderComponent, typeof i28.TinySpinnerComponent, typeof i29.TooltipDirective, typeof i30.TranslationAfterPipe, typeof i31.TranslationBeforePipe, typeof i32.TranslationBetweenPipe, typeof i11.CollapsibleComponent, typeof i33.SortPipe, typeof i34.ContrastColorPipe, typeof i35.UnescapeCurlyBracesPipe]>;
41
+ 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.LxLinkifyPipe, typeof i20.LxUnlinkifyPipe, typeof i21.LxTimeAgo, typeof i22.LxTranslatePipe, typeof i23.MarkdownPipe, typeof i24.NbspPipe, typeof i25.LxIsUuidPipe, typeof i26.SpinnerComponent, typeof i27.TableComponent, typeof i28.TableHeaderComponent, typeof i29.TinySpinnerComponent, typeof i30.TooltipDirective, typeof i31.TranslationAfterPipe, typeof i32.TranslationBeforePipe, typeof i33.TranslationBetweenPipe, typeof i34.SortPipe, typeof i35.ContrastColorPipe, typeof i36.UnescapeCurlyBracesPipe, typeof i37.FileDownloadButtonComponent], [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.LxLinkifyPipe, typeof i20.LxUnlinkifyPipe, typeof i21.LxTimeAgo, typeof i22.LxTranslatePipe, typeof i37.FileDownloadButtonComponent, typeof i23.MarkdownPipe, typeof i24.NbspPipe, typeof i25.LxIsUuidPipe, typeof i26.SpinnerComponent, typeof i27.TableComponent, typeof i28.TableHeaderComponent, typeof i29.TinySpinnerComponent, typeof i30.TooltipDirective, typeof i31.TranslationAfterPipe, typeof i32.TranslationBeforePipe, typeof i33.TranslationBetweenPipe, typeof i12.CollapsibleComponent, typeof i34.SortPipe, typeof i35.ContrastColorPipe, typeof i36.UnescapeCurlyBracesPipe]>;
41
42
  static ɵinj: i0.ɵɵInjectorDeclaration<LxCoreUiModule>;
42
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.120",
3
+ "version": "0.4.122",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {