@skyux/datetime 10.23.0 → 10.25.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.
@@ -56,9 +56,14 @@ export declare class SkyDateRangePickerComponent implements AfterViewInit, Contr
56
56
  hintText: string | undefined;
57
57
  /**
58
58
  * The label for the date range picker.
59
- * @required
59
+ * @deprecated Use the `labelText` input instead.
60
60
  */
61
- label: string | undefined;
61
+ set label(value: string | undefined);
62
+ get label(): string | undefined;
63
+ /**
64
+ * The text to display as the date range picker's label.
65
+ */
66
+ labelText: string | undefined;
62
67
  /**
63
68
  * Whether the date range picker requires a value.
64
69
  */
@@ -85,6 +90,7 @@ export declare class SkyDateRangePickerComponent implements AfterViewInit, Contr
85
90
  protected calculators: SkyDateRangeCalculator[];
86
91
  protected formGroup: FormGroup;
87
92
  protected hasErrors: boolean;
93
+ protected hostControl: AbstractControl | null | undefined;
88
94
  protected selectedCalculator: SkyDateRangeCalculator;
89
95
  protected showEndDatePicker: boolean;
90
96
  protected showStartDatePicker: boolean;
@@ -108,7 +114,7 @@ export declare class SkyDateRangePickerComponent implements AfterViewInit, Contr
108
114
  protected isRequired(): boolean;
109
115
  protected onBlur(): void;
110
116
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDateRangePickerComponent, never>;
111
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyDateRangePickerComponent, "sky-date-range-picker", never, { "calculatorIds": { "alias": "calculatorIds"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "endDateRequired": { "alias": "endDateRequired"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "startDateRequired": { "alias": "startDateRequired"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, never, never, true, never>;
117
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyDateRangePickerComponent, "sky-date-range-picker", never, { "calculatorIds": { "alias": "calculatorIds"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "endDateRequired": { "alias": "endDateRequired"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "required": { "alias": "required"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "startDateRequired": { "alias": "startDateRequired"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, never, ["sky-form-error"], true, never>;
112
118
  static ngAcceptInputType_disabled: unknown;
113
119
  static ngAcceptInputType_endDateRequired: unknown;
114
120
  static ngAcceptInputType_required: unknown;
@@ -1,7 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./date-range-picker.component";
3
+ import * as i2 from "@skyux/forms";
3
4
  export declare class SkyDateRangePickerModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDateRangePickerModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDateRangePickerModule, never, [typeof i1.SkyDateRangePickerComponent], [typeof i1.SkyDateRangePickerComponent]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDateRangePickerModule, never, [typeof i1.SkyDateRangePickerComponent], [typeof i1.SkyDateRangePickerComponent, typeof i2.SkyFormErrorModule]>;
6
7
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyDateRangePickerModule>;
7
8
  }
@@ -18,8 +18,9 @@ import * as i16 from "../shared/sky-datetime-resources.module";
18
18
  import * as i17 from "@skyux/core";
19
19
  import * as i18 from "@skyux/theme";
20
20
  import * as i19 from "@skyux/popovers";
21
+ import * as i20 from "@skyux/forms";
21
22
  export declare class SkyDatepickerModule {
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDatepickerModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDatepickerModule, [typeof i1.SkyDatepickerCalendarComponent, typeof i2.SkyDatepickerCalendarInnerComponent, typeof i3.SkyDayPickerComponent, typeof i4.SkyMonthPickerComponent, typeof i5.SkyYearPickerComponent, typeof i6.SkyDatepickerComponent, typeof i7.SkyDatepickerInputDirective, typeof i8.SkyFuzzyDatepickerInputDirective, typeof i9.SkyDayPickerCellComponent, typeof i10.SkyDayPickerButtonComponent], [typeof i11.A11yModule, typeof i12.CommonModule, typeof i13.FormsModule, typeof i14.SkyIconModule, typeof i15.SkyDatepickerCalendarLabelPipe, typeof i16.SkyDatetimeResourcesModule, typeof i17.SkyAffixModule, typeof i18.SkyThemeModule, typeof i19.SkyPopoverModule, typeof i14.SkyWaitModule], [typeof i1.SkyDatepickerCalendarComponent, typeof i6.SkyDatepickerComponent, typeof i7.SkyDatepickerInputDirective, typeof i8.SkyFuzzyDatepickerInputDirective]>;
24
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDatepickerModule, [typeof i1.SkyDatepickerCalendarComponent, typeof i2.SkyDatepickerCalendarInnerComponent, typeof i3.SkyDayPickerComponent, typeof i4.SkyMonthPickerComponent, typeof i5.SkyYearPickerComponent, typeof i6.SkyDatepickerComponent, typeof i7.SkyDatepickerInputDirective, typeof i8.SkyFuzzyDatepickerInputDirective, typeof i9.SkyDayPickerCellComponent, typeof i10.SkyDayPickerButtonComponent], [typeof i11.A11yModule, typeof i12.CommonModule, typeof i13.FormsModule, typeof i14.SkyIconModule, typeof i15.SkyDatepickerCalendarLabelPipe, typeof i16.SkyDatetimeResourcesModule, typeof i17.SkyAffixModule, typeof i18.SkyThemeModule, typeof i19.SkyPopoverModule, typeof i14.SkyWaitModule, typeof i20.SkyFormErrorModule], [typeof i1.SkyDatepickerCalendarComponent, typeof i6.SkyDatepickerComponent, typeof i7.SkyDatepickerInputDirective, typeof i8.SkyFuzzyDatepickerInputDirective]>;
24
25
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyDatepickerModule>;
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/datetime",
3
- "version": "10.23.0",
3
+ "version": "10.25.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,13 +41,13 @@
41
41
  "@angular/core": "^17.3.4",
42
42
  "@angular/forms": "^17.3.4",
43
43
  "@angular/platform-browser": "^17.3.4",
44
- "@skyux-sdk/testing": "10.23.0",
45
- "@skyux/core": "10.23.0",
46
- "@skyux/forms": "10.23.0",
47
- "@skyux/i18n": "10.23.0",
48
- "@skyux/indicators": "10.23.0",
49
- "@skyux/popovers": "10.23.0",
50
- "@skyux/theme": "10.23.0",
44
+ "@skyux-sdk/testing": "10.25.0",
45
+ "@skyux/core": "10.25.0",
46
+ "@skyux/forms": "10.25.0",
47
+ "@skyux/i18n": "10.25.0",
48
+ "@skyux/indicators": "10.25.0",
49
+ "@skyux/popovers": "10.25.0",
50
+ "@skyux/theme": "10.25.0",
51
51
  "moment": "^2.30.1"
52
52
  },
53
53
  "dependencies": {