valtech-components 2.0.36 → 2.0.37

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.
@@ -0,0 +1,13 @@
1
+ import { ExpandableTextInput } from './types';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ExpandableTextComponent {
4
+ props: ExpandableTextInput;
5
+ expanded: boolean;
6
+ defaultColor: string;
7
+ get truncatedText(): string;
8
+ get isTruncated(): boolean;
9
+ toggleExpand(): void;
10
+ color(): string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableTextComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpandableTextComponent, "val-expandable-text", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,6 @@
1
+ export interface ExpandableTextInput {
2
+ limit: number;
3
+ content: string;
4
+ color?: string;
5
+ expandText?: string;
6
+ }
@@ -0,0 +1 @@
1
+ export declare function resolveColor(color: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.36",
3
+ "version": "2.0.37",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",
package/public-api.d.ts CHANGED
@@ -53,6 +53,7 @@ export * from './lib/components/molecules/searchbar/searchbar.component';
53
53
  export * from './lib/components/molecules/text-input/text-input.component';
54
54
  export * from './lib/components/molecules/title-block/title-block.component';
55
55
  export * from './lib/components/molecules/title-block/types';
56
+ export * from './lib/components/molecules/expandable-text/expandable-text.component';
56
57
  export * from './lib/components/organisms/banner/banner.component';
57
58
  export * from './lib/components/organisms/banner/types';
58
59
  export * from './lib/components/organisms/footer/footer.component';