valtech-components 1.8.0 → 1.8.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/esm2022/lib/components/atoms/avatar/avatar.component.mjs +31 -0
- package/esm2022/lib/components/atoms/button/button.component.mjs +26 -0
- package/esm2022/lib/components/atoms/button/factory.mjs +217 -0
- package/esm2022/lib/components/atoms/button/types.mjs +2 -0
- package/esm2022/lib/components/atoms/display/display.component.mjs +20 -0
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +20 -0
- package/esm2022/lib/components/atoms/text/text.component.mjs +24 -0
- package/esm2022/lib/components/atoms/title/title.component.mjs +20 -0
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +27 -0
- package/esm2022/lib/components/molecules/link/link.component.mjs +27 -0
- package/esm2022/lib/components/types.mjs +5 -0
- package/esm2022/lib/valtech-components.module.mjs +59 -0
- package/esm2022/public-api.mjs +16 -0
- package/esm2022/valtech-components.mjs +5 -0
- package/fesm2022/valtech-components.mjs +454 -0
- package/fesm2022/valtech-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/atoms/avatar/avatar.component.d.ts +14 -0
- package/lib/components/atoms/button/button.component.d.ts +17 -0
- package/lib/components/atoms/button/factory.d.ts +71 -0
- package/lib/components/atoms/button/types.d.ts +20 -0
- package/lib/components/atoms/display/display.component.d.ts +12 -0
- package/lib/components/atoms/divider/divider.component.d.ts +11 -0
- package/lib/components/atoms/text/text.component.d.ts +13 -0
- package/lib/components/atoms/title/title.component.d.ts +12 -0
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +13 -0
- package/lib/components/molecules/link/link.component.d.ts +14 -0
- package/lib/components/types.d.ts +6 -0
- package/lib/valtech-components.module.d.ts +17 -0
- package/package.json +15 -14
- package/{src/public-api.ts → public-api.d.ts} +0 -8
- package/.nvmrc +0 -1
- package/.releaserc +0 -12
- package/ng-package.json +0 -11
- package/src/lib/components/atoms/avatar/avatar.component.html +0 -3
- package/src/lib/components/atoms/avatar/avatar.component.scss +0 -20
- package/src/lib/components/atoms/avatar/avatar.component.ts +0 -28
- package/src/lib/components/atoms/button/button.component.html +0 -16
- package/src/lib/components/atoms/button/button.component.scss +0 -5
- package/src/lib/components/atoms/button/button.component.ts +0 -26
- package/src/lib/components/atoms/button/factory.ts +0 -378
- package/src/lib/components/atoms/button/types.ts +0 -22
- package/src/lib/components/atoms/display/display.component.html +0 -5
- package/src/lib/components/atoms/display/display.component.scss +0 -17
- package/src/lib/components/atoms/display/display.component.ts +0 -20
- package/src/lib/components/atoms/divider/divider.component.html +0 -1
- package/src/lib/components/atoms/divider/divider.component.scss +0 -54
- package/src/lib/components/atoms/divider/divider.component.ts +0 -19
- package/src/lib/components/atoms/text/text.component.html +0 -5
- package/src/lib/components/atoms/text/text.component.scss +0 -33
- package/src/lib/components/atoms/text/text.component.ts +0 -22
- package/src/lib/components/atoms/title/title.component.html +0 -5
- package/src/lib/components/atoms/title/title.component.scss +0 -13
- package/src/lib/components/atoms/title/title.component.ts +0 -20
- package/src/lib/components/molecules/content-loader/content-loader.component.html +0 -6
- package/src/lib/components/molecules/content-loader/content-loader.component.scss +0 -42
- package/src/lib/components/molecules/content-loader/content-loader.component.ts +0 -22
- package/src/lib/components/molecules/link/link.component.html +0 -6
- package/src/lib/components/molecules/link/link.component.scss +0 -5
- package/src/lib/components/molecules/link/link.component.ts +0 -27
- package/src/lib/components/types.ts +0 -5
- package/src/lib/valtech-components.module.ts +0 -37
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component, Input, OnInit } from '@angular/core';
|
|
2
|
-
import { Color } from '@ionic/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'val-content-loader',
|
|
6
|
-
templateUrl: './content-loader.component.html',
|
|
7
|
-
styleUrls: ['./content-loader.component.scss'],
|
|
8
|
-
})
|
|
9
|
-
export class ContentLoaderComponent implements OnInit {
|
|
10
|
-
@Input()
|
|
11
|
-
color: Color = 'primary';
|
|
12
|
-
@Input()
|
|
13
|
-
size: 'small' | 'medium' | 'large' = 'small';
|
|
14
|
-
@Input()
|
|
15
|
-
name: 'circular' | 'crescent' | 'dots' | 'lines-sharp' = 'circular';
|
|
16
|
-
@Input()
|
|
17
|
-
text: string;
|
|
18
|
-
|
|
19
|
-
constructor() {}
|
|
20
|
-
|
|
21
|
-
ngOnInit() {}
|
|
22
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
-
import { Color } from '@ionic/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'val-link',
|
|
6
|
-
templateUrl: './link.component.html',
|
|
7
|
-
styleUrls: ['./link.component.scss'],
|
|
8
|
-
})
|
|
9
|
-
export class LinkComponent implements OnInit {
|
|
10
|
-
@Input()
|
|
11
|
-
text: string;
|
|
12
|
-
@Input()
|
|
13
|
-
size: 'small' | 'default' | 'large';
|
|
14
|
-
@Input()
|
|
15
|
-
color: Color;
|
|
16
|
-
|
|
17
|
-
@Output()
|
|
18
|
-
onClick = new EventEmitter();
|
|
19
|
-
|
|
20
|
-
constructor() {}
|
|
21
|
-
|
|
22
|
-
ngOnInit() {}
|
|
23
|
-
|
|
24
|
-
onClickHandler() {
|
|
25
|
-
this.onClick.emit();
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { IonicModule } from '@ionic/angular';
|
|
5
|
-
import { ButtonComponent } from './components/atoms/button/button.component';
|
|
6
|
-
import { DisplayComponent } from './components/atoms/display/display.component';
|
|
7
|
-
import { TextComponent } from './components/atoms/text/text.component';
|
|
8
|
-
import { TitleComponent } from './components/atoms/title/title.component';
|
|
9
|
-
import { AvatarComponent } from './components/atoms/avatar/avatar.component';
|
|
10
|
-
import { DividerComponent } from './components/atoms/divider/divider.component';
|
|
11
|
-
import { ContentLoaderComponent } from './components/molecules/content-loader/content-loader.component';
|
|
12
|
-
import { LinkComponent } from './components/molecules/link/link.component';
|
|
13
|
-
|
|
14
|
-
@NgModule({
|
|
15
|
-
declarations: [
|
|
16
|
-
ButtonComponent,
|
|
17
|
-
DisplayComponent,
|
|
18
|
-
TextComponent,
|
|
19
|
-
TitleComponent,
|
|
20
|
-
AvatarComponent,
|
|
21
|
-
DividerComponent,
|
|
22
|
-
ContentLoaderComponent,
|
|
23
|
-
LinkComponent,
|
|
24
|
-
],
|
|
25
|
-
imports: [CommonModule, HttpClientModule, IonicModule],
|
|
26
|
-
exports: [
|
|
27
|
-
ButtonComponent,
|
|
28
|
-
DisplayComponent,
|
|
29
|
-
TextComponent,
|
|
30
|
-
TitleComponent,
|
|
31
|
-
AvatarComponent,
|
|
32
|
-
DividerComponent,
|
|
33
|
-
ContentLoaderComponent,
|
|
34
|
-
LinkComponent,
|
|
35
|
-
],
|
|
36
|
-
})
|
|
37
|
-
export class ValtechComponentsModule {}
|
package/tsconfig.lib.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/lib",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"declarationMap": true,
|
|
8
|
-
"inlineSources": true,
|
|
9
|
-
"types": []
|
|
10
|
-
},
|
|
11
|
-
"exclude": [
|
|
12
|
-
"**/*.spec.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|
package/tsconfig.lib.prod.json
DELETED
package/tsconfig.spec.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/spec",
|
|
6
|
-
"types": [
|
|
7
|
-
"jasmine"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"**/*.spec.ts",
|
|
12
|
-
"**/*.d.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|