@gettrx/core-components-angular 1.0.39 → 1.0.40
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/atoms/display-value/gtr-display-value.component.mjs +27 -0
- package/esm2022/lib/atoms/display-value/gtr-display-value.module.mjs +20 -0
- package/esm2022/lib/atoms/display-value/index.mjs +2 -0
- package/esm2022/lib/atoms/display-value/public-api.mjs +3 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/gettrx-core-components-angular.mjs +40 -2
- package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
- package/lib/atoms/display-value/gtr-display-value.component.d.ts +27 -0
- package/lib/atoms/display-value/gtr-display-value.module.d.ts +9 -0
- package/lib/atoms/display-value/index.d.ts +1 -0
- package/lib/atoms/display-value/public-api.d.ts +2 -0
- package/package.json +2 -2
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GtrDisplayValueComponent {
|
|
3
|
+
/** To manage skeleton loading state of component */
|
|
4
|
+
loading: boolean;
|
|
5
|
+
/** Label value of component */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Value of component */
|
|
8
|
+
value: any;
|
|
9
|
+
/**
|
|
10
|
+
* 'html' Content type is used to show value as an html/text
|
|
11
|
+
* 'projected' Content type is used to show content in ng-content with the help of slot='custom-content' passed as an attribute to its parent container
|
|
12
|
+
*/
|
|
13
|
+
contentType: 'html' | 'projected';
|
|
14
|
+
/** id attribute of component */
|
|
15
|
+
id: string;
|
|
16
|
+
/** dataTestId attribute of component */
|
|
17
|
+
dataTestId: string;
|
|
18
|
+
/** Skeleton configurations */
|
|
19
|
+
skeletonConfigs: {
|
|
20
|
+
repeat: number;
|
|
21
|
+
className: string;
|
|
22
|
+
height: string;
|
|
23
|
+
width: string;
|
|
24
|
+
};
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrDisplayValueComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrDisplayValueComponent, "gtr-display-value", never, { "loading": { "alias": "loading"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "id": { "alias": "id"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "skeletonConfigs": { "alias": "skeletonConfigs"; "required": false; }; }, {}, never, ["[slot='custom-content']"], false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-display-value.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../skeleton/utils/gtr-skeleton.directive";
|
|
5
|
+
export declare class GtrDisplayValueModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrDisplayValueModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrDisplayValueModule, [typeof i1.GtrDisplayValueComponent], [typeof i2.NgTemplateOutlet, typeof i2.NgIf, typeof i3.GtrSkeletonDirective], [typeof i1.GtrDisplayValueComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrDisplayValueModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gettrx/core-components-angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"description": "Angular specific wrappers for @gettrx/core-components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gettrx",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@angular/common": "^16.1.0",
|
|
22
22
|
"@angular/core": "^16.1.0",
|
|
23
|
-
"@gettrx/core-styles": "1.0.
|
|
23
|
+
"@gettrx/core-styles": "1.0.40"
|
|
24
24
|
},
|
|
25
25
|
"module": "fesm2022/gettrx-core-components-angular.mjs",
|
|
26
26
|
"typings": "index.d.ts",
|
package/public-api.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './lib/atoms/popover';
|
|
|
11
11
|
export * from './lib/atoms/radio-button';
|
|
12
12
|
export * from './lib/atoms/skeleton';
|
|
13
13
|
export * from './lib/atoms/toaster';
|
|
14
|
+
export * from './lib/atoms/display-value';
|
|
14
15
|
export * from './lib/molecules/accordion';
|
|
15
16
|
export * from './lib/molecules/calendar';
|
|
16
17
|
export * from './lib/molecules/checkbox';
|