ud-components 0.2.8 → 0.3.0

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,25 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Styled date range picker that participates in the parent FormGroup.
4
+ * Requires two sibling FormControls — one for the start date, one for the end.
5
+ *
6
+ * Usage:
7
+ * <ud-date-range-input
8
+ * startControlName="checkIn"
9
+ * endControlName="checkOut"
10
+ * label="Stay period"
11
+ * icon="date_range" />
12
+ */
13
+ export declare class DateRangeInputComponent {
14
+ startControlName: string;
15
+ endControlName: string;
16
+ label: string;
17
+ icon?: string;
18
+ iconFontSet: string;
19
+ startPlaceholder: string;
20
+ endPlaceholder: string;
21
+ min?: Date;
22
+ max?: Date;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeInputComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeInputComponent, "ud-date-range-input", never, { "startControlName": { "alias": "startControlName"; "required": true; }; "endControlName": { "alias": "endControlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, true, never>;
25
+ }
@@ -1,3 +1,4 @@
1
+ import { FormControl } from '@angular/forms';
1
2
  import * as i0 from "@angular/core";
2
3
  /**
3
4
  * Styled text input that participates in the parent FormGroup.
@@ -19,6 +20,12 @@ export declare class TextInputComponent {
19
20
  icon?: string;
20
21
  iconFontSet: string;
21
22
  loading: boolean;
23
+ /** Step amount for number type increment/decrement. */
24
+ step: number;
25
+ private controlContainer;
26
+ get control(): FormControl;
27
+ increment(): void;
28
+ decrement(): void;
22
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "ud-text-input", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "ud-text-input", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
24
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ud-components",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0"
package/public-api.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './lib/tel-input/tel-input.component';
16
16
  export * from './lib/form-fields/text-input/text-input.component';
17
17
  export * from './lib/form-fields/autocomplete/autocomplete.component';
18
18
  export * from './lib/form-fields/date-input/date-input.component';
19
+ export * from './lib/form-fields/date-range-input/date-range-input.component';
19
20
  export * from './lib/form-fields/multi-select/multi-select.component';
20
21
  export * from './lib/form-fields/pill-toggle/pill-toggle.component';
21
22
  export * from './lib/form-fields/time-picker/time-picker.component';