@skyux/datetime 10.9.0 → 10.10.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.
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, UntypedFormBuilder, UntypedFormGroup, ValidationErrors, Validator } from '@angular/forms';
3
3
  import { SkyAppLocaleProvider } from '@skyux/i18n';
4
4
  import { SkyThemeService } from '@skyux/theme';
@@ -63,6 +63,19 @@ export declare class SkyDateRangePickerComponent implements OnInit, OnChanges, O
63
63
  * @default false
64
64
  */
65
65
  endDateRequired: boolean | undefined;
66
+ /**
67
+ * The content of the help popover. When specified along with `labelText`, a [help inline](https://developer.blackbaud.com/skyux/components/help-inline)
68
+ * button is added to date range picker. The help inline button displays a [popover](https://developer.blackbaud.com/skyux/components/popover)
69
+ * when clicked using the specified content and optional title.
70
+ * @preview
71
+ */
72
+ helpPopoverContent: string | TemplateRef<unknown> | undefined;
73
+ /**
74
+ * The title of the help popover. This property only applies when `helpPopoverContent` is
75
+ * also specified.
76
+ * @preview
77
+ */
78
+ helpPopoverTitle: string | undefined;
66
79
  display: string | undefined;
67
80
  selectedCalculator: SkyDateRangeCalculator | undefined;
68
81
  readonly dateRangePickerId: string;
@@ -84,5 +97,5 @@ export declare class SkyDateRangePickerComponent implements OnInit, OnChanges, O
84
97
  registerOnTouched(fn: () => SkyDateRangeCalculation): void;
85
98
  setDisabledState(disabled: boolean): void;
86
99
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDateRangePickerComponent, [null, null, null, null, null, { optional: true; }]>;
87
- 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; }; "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "startDateRequired": { "alias": "startDateRequired"; "required": false; }; "endDateRequired": { "alias": "endDateRequired"; "required": false; }; }, {}, never, never, false, never>;
100
+ 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; }; "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "startDateRequired": { "alias": "startDateRequired"; "required": false; }; "endDateRequired": { "alias": "endDateRequired"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; }, {}, never, never, false, never>;
88
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/datetime",
3
- "version": "10.9.0",
3
+ "version": "10.10.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.9.0",
45
- "@skyux/core": "10.9.0",
46
- "@skyux/forms": "10.9.0",
47
- "@skyux/i18n": "10.9.0",
48
- "@skyux/indicators": "10.9.0",
49
- "@skyux/popovers": "10.9.0",
50
- "@skyux/theme": "10.9.0",
44
+ "@skyux-sdk/testing": "10.10.0",
45
+ "@skyux/core": "10.10.0",
46
+ "@skyux/forms": "10.10.0",
47
+ "@skyux/i18n": "10.10.0",
48
+ "@skyux/indicators": "10.10.0",
49
+ "@skyux/popovers": "10.10.0",
50
+ "@skyux/theme": "10.10.0",
51
51
  "moment": "^2.30.1"
52
52
  },
53
53
  "dependencies": {