@evotor-dev/ui-kit 8.0.0-beta.6 → 8.0.0-beta.8

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 (32) hide show
  1. package/esm2022/lib/components/evo-button/evo-button.module.mjs +4 -5
  2. package/esm2022/lib/components/evo-button/public-api.mjs +1 -2
  3. package/esm2022/lib/components/evo-upload/evo-upload.component.mjs +4 -4
  4. package/esm2022/lib/components/evo-upload/evo-upload.module.mjs +13 -9
  5. package/esm2022/public_api.mjs +1 -3
  6. package/fesm2022/evotor-dev-ui-kit.mjs +33 -331
  7. package/fesm2022/evotor-dev-ui-kit.mjs.map +1 -1
  8. package/lib/components/evo-button/evo-button.module.d.ts +4 -5
  9. package/lib/components/evo-button/public-api.d.ts +0 -1
  10. package/lib/components/evo-upload/evo-upload.module.d.ts +2 -2
  11. package/package.json +1 -1
  12. package/public_api.d.ts +0 -2
  13. package/styles/main.scss +0 -1
  14. package/esm2022/lib/components/evo-alert/evo-alert.component.mjs +0 -79
  15. package/esm2022/lib/components/evo-alert/evo-alert.module.mjs +0 -27
  16. package/esm2022/lib/components/evo-alert/index.mjs +0 -2
  17. package/esm2022/lib/components/evo-alert/public-api.mjs +0 -3
  18. package/esm2022/lib/components/evo-banner/evo-banner.component.mjs +0 -109
  19. package/esm2022/lib/components/evo-banner/evo-banner.module.mjs +0 -23
  20. package/esm2022/lib/components/evo-banner/index.mjs +0 -2
  21. package/esm2022/lib/components/evo-banner/public-api.mjs +0 -3
  22. package/esm2022/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +0 -91
  23. package/lib/components/evo-alert/evo-alert.component.d.ts +0 -38
  24. package/lib/components/evo-alert/evo-alert.module.d.ts +0 -9
  25. package/lib/components/evo-alert/index.d.ts +0 -1
  26. package/lib/components/evo-alert/public-api.d.ts +0 -2
  27. package/lib/components/evo-banner/evo-banner.component.d.ts +0 -46
  28. package/lib/components/evo-banner/evo-banner.module.d.ts +0 -9
  29. package/lib/components/evo-banner/index.d.ts +0 -1
  30. package/lib/components/evo-banner/public-api.d.ts +0 -2
  31. package/lib/components/evo-button/components/evo-button-old/evo-button-old.component.d.ts +0 -39
  32. package/styles/components/evo-alert.scss +0 -64
@@ -1,46 +0,0 @@
1
- import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { Serializable } from '../../common/Serializable';
3
- import { BehaviorSubject, Subscription } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare enum EvoBannerTypes {
6
- large = "large",
7
- small = "small",
8
- fullWidth = "full-width"
9
- }
10
- export declare enum EvoBannerLocations {
11
- main = "Main",
12
- category = "Category"
13
- }
14
- export declare class EvoBanner extends Serializable {
15
- background: string;
16
- bannerPositionNames: {
17
- Main: string[];
18
- Category: string[];
19
- };
20
- button: string;
21
- id: string;
22
- image: string;
23
- title: string;
24
- url: string;
25
- constructor(data: any);
26
- }
27
- export declare class EvoBannerComponent implements OnInit, OnDestroy {
28
- private window;
29
- private el;
30
- banner: EvoBanner;
31
- type: EvoBannerTypes;
32
- bannerClick: EventEmitter<EvoBanner>;
33
- bannerSize$: BehaviorSubject<string[]>;
34
- subscriptions: {
35
- [name: string]: Subscription;
36
- };
37
- constructor(window: any, el: ElementRef);
38
- ngOnInit(): void;
39
- ngOnDestroy(): void;
40
- onBannerClick(): void;
41
- get bannerClass(): any[];
42
- private initResizeEvent;
43
- private onResize;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<EvoBannerComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<EvoBannerComponent, "evo-banner", never, { "banner": { "alias": "banner"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "bannerClick": "bannerClick"; }, never, never, false, never>;
46
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./evo-banner.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../evo-ui-kit.module";
5
- export declare class EvoBannerModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<EvoBannerModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<EvoBannerModule, [typeof i1.EvoBannerComponent], [typeof i2.CommonModule, typeof i3.EvoUiKitModule], [typeof i1.EvoBannerComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<EvoBannerModule>;
9
- }
@@ -1 +0,0 @@
1
- export * from './public-api';
@@ -1,2 +0,0 @@
1
- export * from './evo-banner.module';
2
- export * from './evo-banner.component';
@@ -1,39 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated use EvoButtonComponent
5
- */
6
- export declare enum EvoButtonSizes {
7
- small = "small",
8
- large = "large"
9
- }
10
- /**
11
- * @deprecated use EvoButtonColor with EvoButtonTheme
12
- */
13
- export declare enum EvoButtonStyles {
14
- lined = "lined",
15
- darkblue = "darkblue",
16
- darkblueLined = "darkblue-lined",
17
- green = "green",
18
- greenlined = "green-lined",
19
- purple = "purple",
20
- red = "red"
21
- }
22
- export declare class EvoButtonOldComponent {
23
- private elRef;
24
- color: EvoButtonStyles;
25
- size: EvoButtonSizes;
26
- set disabled(value: boolean);
27
- set loading(value: boolean);
28
- private _disabled;
29
- private _loading;
30
- constructor(elRef: ElementRef);
31
- get disabled(): boolean;
32
- get loading(): boolean;
33
- get totalClasses(): string[];
34
- get totalStyles(): {
35
- [styleKey: string]: any;
36
- };
37
- static ɵfac: i0.ɵɵFactoryDeclaration<EvoButtonOldComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<EvoButtonOldComponent, "evo-button, button[evo-button]", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
39
- }
@@ -1,64 +0,0 @@
1
- @import "../mixins";
2
-
3
- $icon-size_large: 48px;
4
-
5
- $parent-class: '.evo-alert';
6
- #{$parent-class} {
7
- $root: &;
8
-
9
- padding: $distance-small;
10
- border-radius: 8px;
11
-
12
- @include media-desktop-s {
13
- &_img {
14
- display: flex;
15
- align-items: center;
16
-
17
- &:before {
18
- display: inline-block;
19
- width: 40px;
20
- height: 40px;
21
- margin-right: $distance-small;
22
- background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAxOSAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuNjY2NjYgMC43Nzc2NjRDNC43NiAwLjc3NzY2NCAwLjc3Nzc3MSA0Ljc1OTg5IDAuNzc3NzcxIDkuNjY2NTNDMC43Nzc3NzEgMTQuNTczMiA0Ljc2IDE4LjU1NTUgOS42NjY2NiAxOC41NTU1QzE0LjU3MzMgMTguNTU1NSAxOC41NTU1IDE0LjU3MzIgMTguNTU1NSA5LjY2NjUzQzE4LjU1NTUgNC43NTk4OSAxNC41NzMzIDAuNzc3NjY0IDkuNjY2NjYgMC43Nzc2NjRaTTkuNjY2NjYgMTAuNTU1NUM5LjE3Nzc5IDEwLjU1NTUgOC43Nzc3OSAxMC4xNTU1IDguNzc3NzkgOS42NjY1M1Y2LjExMUM4Ljc3Nzc5IDUuNjIyMTEgOS4xNzc3OSA1LjIyMjExIDkuNjY2NjYgNS4yMjIxMUMxMC4xNTU1IDUuMjIyMTEgMTAuNTU1NSA1LjYyMjExIDEwLjU1NTUgNi4xMTFWOS42NjY1M0MxMC41NTU1IDEwLjE1NTUgMTAuMTU1NSAxMC41NTU1IDkuNjY2NjYgMTAuNTU1NVpNMTAuNTU1NSAxMy4yMjIxQzEwLjU1NTUgMTMuNzEzMSAxMC4xNTc2IDE0LjExMSA5LjY2NjY2IDE0LjExMUM5LjE3NTcyIDE0LjExMSA4Ljc3Nzc5IDEzLjcxMzEgOC43Nzc3OSAxMy4yMjIxQzguNzc3NzkgMTIuNzMxMiA5LjE3NTcyIDEyLjMzMzIgOS42NjY2NiAxMi4zMzMyQzEwLjE1NzYgMTIuMzMzMiAxMC41NTU1IDEyLjczMTIgMTAuNTU1NSAxMy4yMjIxWiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==");
23
- background-size: 40px 40px;
24
- content: "";
25
- }
26
- }
27
-
28
- @at-root #{&}_success#{&}_img {
29
- &:before {
30
- background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMCAwQzguOTU0MyAwIDAgOC45NTQzIDAgMjBDMCAzMS4wNDU3IDguOTU0MyA0MCAyMCA0MEMzMS4wNDU3IDQwIDQwIDMxLjA0NTcgNDAgMjBDNDAgOC45NTQzIDMxLjA0NTcgMCAyMCAwWk0zMS4xNjQ0IDE1Ljg3NzhDMzIuMDgwNCAxNC45NjE5IDMyLjA4MDQgMTMuNDc2OSAzMS4xNjQ0IDEyLjU2MUMzMC4yNDg1IDExLjY0NSAyOC43NjM1IDExLjY0NSAyNy44NDc2IDEyLjU2MUwxNy45MDE2IDIyLjUwN0wxMi43NTMgMTcuMzU4NUMxMS44MzcxIDE2LjQ0MjYgMTAuMzUyMSAxNi40NDI2IDkuNDM2MiAxNy4zNTg1QzguNTIwMjkgMTguMjc0NCA4LjUyMDI5IDE5Ljc1OTQgOS40MzYyIDIwLjY3NTNMMTUuOTk2OSAyNy4yMzZDMTYuMjc1MyAyNy41MTQ0IDE2LjYwNjIgMjcuNzA4MSAxNi45NTc4IDI3LjgxNzNDMTcuODM2IDI4LjI1NjQgMTguOTMyNSAyOC4xMDk3IDE5LjY2NSAyNy4zNzcyTDMxLjE2NDQgMTUuODc3OFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=");
31
- }
32
- }
33
- }
34
-
35
- &_success {
36
- color: $color-white;
37
- background-color: $color-success;
38
- }
39
-
40
- &_danger {
41
- color: $color-white;
42
- background-color: $color-danger;
43
- }
44
-
45
- &_warning {
46
- color: $color-text;
47
- background-color: $color-highlight;
48
-
49
- #{$parent-class}__icon {
50
- display: none;
51
- }
52
- }
53
-
54
- &_large {
55
- #{$parent-class}__icon {
56
- width: $icon-size_large;
57
- height: $icon-size_large;
58
-
59
- &_success, &_exclamation {
60
- background-size: $icon-size_large $icon-size_large;
61
- }
62
- }
63
- }
64
- }