@skyux/datetime 9.27.0 → 9.29.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.
@@ -34,6 +34,9 @@ export declare class SkyDatepickerCalendarInnerComponent implements OnDestroy, O
34
34
  formatDayHeader: string;
35
35
  formatDayTitle: string;
36
36
  formatMonthTitle: string;
37
+ formatDayLabel: string;
38
+ formatMonthLabel: string;
39
+ formatYearLabel: string;
37
40
  previousLabel: string | undefined;
38
41
  nextLabel: string | undefined;
39
42
  datepickerId: string;
@@ -73,6 +76,7 @@ export declare class SkyDatepickerCalendarInnerComponent implements OnDestroy, O
73
76
  move(direction: number): void;
74
77
  toggleModeCalendar(event: Event): void;
75
78
  toggleMode(direction: number): void;
79
+ announceDate(date: Date, format: string): void;
76
80
  /**
77
81
  * Date is disabled if it meets any of these criteria:
78
82
  * 1. Date falls outside the min or max dates set by the SkyDatepickerConfigService.
@@ -0,0 +1,23 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Formats date values according to formatting rules.
5
+ * @example
6
+ * ```markup
7
+ * {{ myDate | skyDatepickerCalendarLabel }}
8
+ * {{ myDate | skyDatepickerCalendarLabel:'YYYY' }}
9
+ * ```
10
+ * @internal
11
+ */
12
+ export declare class SkyDatepickerCalendarLabelPipe implements PipeTransform {
13
+ #private;
14
+ /**
15
+ * Transforms a date value using locale and format rules.
16
+ * @param value Specifies the date value to transform.
17
+ * @param format Specifies the format to apply to the transform. The format string is
18
+ * constructed by a series of symbols that represent date-time values.
19
+ */
20
+ transform(value: unknown, format?: string): string;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyDatepickerCalendarLabelPipe, never>;
22
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkyDatepickerCalendarLabelPipe, "skyDatepickerCalendarLabel", true>;
23
+ }
@@ -13,12 +13,13 @@ import * as i11 from "@angular/cdk/a11y";
13
13
  import * as i12 from "@angular/common";
14
14
  import * as i13 from "@angular/forms";
15
15
  import * as i14 from "@skyux/indicators";
16
- import * as i15 from "../shared/sky-datetime-resources.module";
17
- import * as i16 from "@skyux/core";
18
- import * as i17 from "@skyux/theme";
19
- import * as i18 from "@skyux/popovers";
16
+ import * as i15 from "./datepicker-calendar-label.pipe";
17
+ import * as i16 from "../shared/sky-datetime-resources.module";
18
+ import * as i17 from "@skyux/core";
19
+ import * as i18 from "@skyux/theme";
20
+ import * as i19 from "@skyux/popovers";
20
21
  export declare class SkyDatepickerModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDatepickerModule, never>;
22
- 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.SkyDatetimeResourcesModule, typeof i16.SkyAffixModule, typeof i17.SkyThemeModule, typeof i18.SkyPopoverModule, typeof i14.SkyWaitModule], [typeof i1.SkyDatepickerCalendarComponent, typeof i6.SkyDatepickerComponent, typeof i7.SkyDatepickerInputDirective, typeof i8.SkyFuzzyDatepickerInputDirective]>;
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]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyDatepickerModule>;
24
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/datetime",
3
- "version": "9.27.0",
3
+ "version": "9.29.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,13 +41,13 @@
41
41
  "@angular/core": "^16.2.9",
42
42
  "@angular/forms": "^16.2.9",
43
43
  "@angular/platform-browser": "^16.2.9",
44
- "@skyux-sdk/testing": "9.27.0",
45
- "@skyux/core": "9.27.0",
46
- "@skyux/forms": "9.27.0",
47
- "@skyux/i18n": "9.27.0",
48
- "@skyux/indicators": "9.27.0",
49
- "@skyux/popovers": "9.27.0",
50
- "@skyux/theme": "9.27.0",
44
+ "@skyux-sdk/testing": "9.29.0",
45
+ "@skyux/core": "9.29.0",
46
+ "@skyux/forms": "9.29.0",
47
+ "@skyux/i18n": "9.29.0",
48
+ "@skyux/indicators": "9.29.0",
49
+ "@skyux/popovers": "9.29.0",
50
+ "@skyux/theme": "9.29.0",
51
51
  "moment": "^2.29.4"
52
52
  },
53
53
  "dependencies": {