@carefirst/library 1.3.4 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,7 @@ export declare class ButtonComponent implements OnChanges {
11
11
  iconStart?: IconsT | undefined;
12
12
  iconEnd?: IconsT | undefined;
13
13
  loading?: boolean | string | undefined;
14
+ customColor?: string | undefined;
14
15
  get parentEvents(): string;
15
16
  inputType: typeof this.type;
16
17
  inputFontSize: typeof this.fontSize | undefined;
@@ -21,7 +22,9 @@ export declare class ButtonComponent implements OnChanges {
21
22
  inputIconStart: typeof this.iconStart | undefined;
22
23
  inputIconEnd: typeof this.iconEnd | undefined;
23
24
  inputLoading: boolean;
25
+ inputCustomColor: string;
24
26
  ngOnChanges(changes: SimpleChanges): void;
27
+ checkCustomColor(color: string): string;
25
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "cf-btn", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "alert": { "alias": "alert"; "required": false; }; "action": { "alias": "action"; "required": false; }; "snug": { "alias": "snug"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "iconStart": { "alias": "iconStart"; "required": false; }; "iconEnd": { "alias": "iconEnd"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "cf-btn", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "alert": { "alias": "alert"; "required": false; }; "action": { "alias": "action"; "required": false; }; "snug": { "alias": "snug"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "iconStart": { "alias": "iconStart"; "required": false; }; "iconEnd": { "alias": "iconEnd"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; }, {}, never, ["*"], false, never>;
27
30
  }
@@ -2,7 +2,7 @@ import { type OnChanges, type SimpleChanges, EventEmitter } from '@angular/core'
2
2
  import { FormControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  declare const inputsC: {
5
- readonly labelPlacement: readonly ["fixed", "floating", "stacked"];
5
+ readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
6
6
  readonly inputMode: readonly ["text", "email", "numeric", "tel", "decimal", "url", "search"];
7
7
  readonly autoCapitalize: readonly ["off", "none", "on", "sentences", "words", "characters"];
8
8
  readonly type: readonly ["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week"];
@@ -2,10 +2,13 @@ import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core'
2
2
  import { FormControl } from '@angular/forms';
3
3
  import type { FormInputSelectOptionsI } from '../../interfaces/input.interface';
4
4
  import * as i0 from "@angular/core";
5
+ declare const inputSelectC: {
6
+ readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
7
+ };
5
8
  export declare class FormInputSelectComponent<T> implements OnChanges {
6
9
  label: string;
7
10
  options: FormInputSelectOptionsI<T>[];
8
- labelPlacement?: 'fixed' | 'floating' | 'stacked';
11
+ labelPlacement?: (typeof inputSelectC.labelPlacement)[number];
9
12
  placeholder?: string | undefined;
10
13
  control?: FormControl | null;
11
14
  value: FormInputSelectOptionsI<T>['value'] | undefined;
@@ -15,3 +18,4 @@ export declare class FormInputSelectComponent<T> implements OnChanges {
15
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSelectComponent<any>, never>;
16
19
  static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSelectComponent<any>, "cf-form-input-select", never, { "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "control": { "alias": "control"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
17
20
  }
21
+ export {};
@@ -1,11 +1,15 @@
1
1
  import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core';
2
2
  import type { FormControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
+ declare const inputTextAreaC: {
5
+ readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
6
+ readonly autoCapitalize: readonly ["off", "none", "on", "sentences", "words", "characters"];
7
+ };
4
8
  export declare class FormInputTextAreaComponent implements OnChanges {
5
9
  label: string;
6
- labelPlacement?: 'fixed' | 'floating' | 'stacked' | 'start' | 'end';
10
+ labelPlacement?: (typeof inputTextAreaC.labelPlacement)[number];
7
11
  placeholder?: string | undefined;
8
- autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
12
+ autoCapitalize?: (typeof inputTextAreaC.autoCapitalize)[number];
9
13
  control?: FormControl | null;
10
14
  textCenter?: boolean | string | undefined;
11
15
  minHeight?: string | 'none';
@@ -20,3 +24,4 @@ export declare class FormInputTextAreaComponent implements OnChanges {
20
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FormInputTextAreaComponent, never>;
21
25
  static ɵcmp: i0.ɵɵComponentDeclaration<FormInputTextAreaComponent, "cf-form-input-text-area", never, { "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
22
26
  }
27
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {