valtech-components 2.0.871 → 2.0.873

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,8 @@
1
+ import { AnimatedTerminalMetadata } from './types';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AnimatedTerminalComponent {
4
+ props: AnimatedTerminalMetadata;
5
+ getDelay(index: number): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnimatedTerminalComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnimatedTerminalComponent, "val-animated-terminal", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,20 @@
1
+ export type TerminalLineType = 'prompt' | 'arrow' | 'success' | 'error' | 'output';
2
+ export interface TerminalLine {
3
+ type: TerminalLineType;
4
+ content: string;
5
+ }
6
+ export interface AnimatedTerminalMetadata {
7
+ lines: TerminalLine[];
8
+ /** Prompt prefix shown before $ — e.g. "~/valtech" */
9
+ prompt?: string;
10
+ /** Title bar text */
11
+ title?: string;
12
+ /** Terminal body background color */
13
+ background?: string;
14
+ /** Header bar background color */
15
+ headerBackground?: string;
16
+ /** Rounded corners on the terminal window */
17
+ rounded?: boolean;
18
+ /** Delay between each line in seconds (default: 0.45) */
19
+ lineDelay?: number;
20
+ }
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "2.0.871";
5
+ export declare const VERSION = "2.0.873";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.871",
3
+ "version": "2.0.873",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
package/public-api.d.ts CHANGED
@@ -217,6 +217,8 @@ export * from './lib/components/organisms/testimonial-carousel/testimonial-carou
217
217
  export * from './lib/components/organisms/testimonial-carousel/types';
218
218
  export * from './lib/components/organisms/fun-header/fun-header.component';
219
219
  export * from './lib/components/organisms/fun-header/types';
220
+ export * from './lib/components/organisms/animated-terminal/animated-terminal.component';
221
+ export * from './lib/components/organisms/animated-terminal/types';
220
222
  export * from './lib/components/organisms/company-footer/company-footer.component';
221
223
  export * from './lib/components/organisms/company-footer/types';
222
224
  export * from './lib/components/organisms/menu/menu.component';
@@ -53,6 +53,32 @@ input {
53
53
  }
54
54
  }
55
55
 
56
+ ion-textarea {
57
+ margin-bottom: 0 !important;
58
+ }
59
+
60
+ ion-textarea::part(supporting-text) {
61
+ padding-top: 2px !important;
62
+ padding-bottom: 0 !important;
63
+ }
64
+
65
+ textarea {
66
+ &.native-textarea {
67
+ font-family: var(--ion-default-font), Arial, sans-serif;
68
+ padding: pxToRem(12) pxToRem(16) !important;
69
+ border-radius: pxToRem($border-radius-large) !important;
70
+ border: pxToRem(1) solid var(--ion-color-medium) !important;
71
+ background: var(--ion-background-color, #fff) !important;
72
+ color: var(--ion-text-color, #000) !important;
73
+ resize: vertical;
74
+
75
+ &:focus {
76
+ border: pxToRem(2) solid var(--ion-color-primary) !important;
77
+ outline: none !important;
78
+ }
79
+ }
80
+ }
81
+
56
82
  ion-searchbar {
57
83
  padding: 0 !important;
58
84
  }