@skyux/datetime 5.1.1 → 5.1.4

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.
Files changed (62) hide show
  1. package/bundles/skyux-datetime-testing.umd.js +3 -1
  2. package/bundles/skyux-datetime-testing.umd.js.map +1 -1
  3. package/bundles/skyux-datetime.umd.js +513 -431
  4. package/bundles/skyux-datetime.umd.js.map +1 -1
  5. package/documentation.json +723 -428
  6. package/esm2015/modules/date-pipe/date-format-utility.js +10 -10
  7. package/esm2015/modules/date-pipe/date-pipe.module.js +7 -28
  8. package/esm2015/modules/date-pipe/date.pipe.js +4 -3
  9. package/esm2015/modules/date-pipe/fuzzy-date.pipe.js +2 -2
  10. package/esm2015/modules/date-range-picker/date-range-picker.component.js +28 -28
  11. package/esm2015/modules/date-range-picker/date-range-picker.module.js +6 -10
  12. package/esm2015/modules/date-range-picker/date-range.service.js +4 -6
  13. package/esm2015/modules/date-range-picker/types/date-range-calculation.js +1 -1
  14. package/esm2015/modules/date-range-picker/types/date-range-calculator-config.js +1 -1
  15. package/esm2015/modules/date-range-picker/types/date-range-calculator-date-range-function.js +1 -1
  16. package/esm2015/modules/date-range-picker/types/date-range-calculator-id.js +1 -1
  17. package/esm2015/modules/date-range-picker/types/date-range-calculator-type.js +1 -1
  18. package/esm2015/modules/date-range-picker/types/date-range-calculator-validate-function.js +1 -1
  19. package/esm2015/modules/date-range-picker/types/date-range-calculator.js +2 -2
  20. package/esm2015/modules/date-range-picker/types/date-range-default-calculator-config.js +1 -1
  21. package/esm2015/modules/date-range-picker/types/date-range-default-calculator-configs.js +25 -25
  22. package/esm2015/modules/date-range-picker/types/date-range-relative-value.js +17 -17
  23. package/esm2015/modules/date-range-picker/types/date-range.js +1 -1
  24. package/esm2015/modules/datepicker/date-formatter.js +4 -3
  25. package/esm2015/modules/datepicker/datepicker-adapter.service.js +1 -1
  26. package/esm2015/modules/datepicker/datepicker-calendar-change.js +1 -1
  27. package/esm2015/modules/datepicker/datepicker-calendar-inner.component.js +14 -12
  28. package/esm2015/modules/datepicker/datepicker-calendar.component.js +9 -9
  29. package/esm2015/modules/datepicker/datepicker-config.service.js +2 -2
  30. package/esm2015/modules/datepicker/datepicker-custom-date.js +1 -1
  31. package/esm2015/modules/datepicker/datepicker-input-fuzzy.directive.js +39 -39
  32. package/esm2015/modules/datepicker/datepicker-input.directive.js +36 -37
  33. package/esm2015/modules/datepicker/datepicker.component.js +16 -15
  34. package/esm2015/modules/datepicker/datepicker.module.js +3 -7
  35. package/esm2015/modules/datepicker/datepicker.service.js +1 -1
  36. package/esm2015/modules/datepicker/daypicker-button.component.js +3 -3
  37. package/esm2015/modules/datepicker/daypicker-cell.component.js +7 -9
  38. package/esm2015/modules/datepicker/daypicker.component.js +24 -24
  39. package/esm2015/modules/datepicker/fuzzy-date.js +1 -1
  40. package/esm2015/modules/datepicker/fuzzy-date.service.js +52 -24
  41. package/esm2015/modules/datepicker/monthpicker.component.js +6 -8
  42. package/esm2015/modules/datepicker/yearpicker.component.js +15 -10
  43. package/esm2015/modules/shared/sky-datetime-resources.module.js +99 -12
  44. package/esm2015/modules/timepicker/timepicker.component.js +27 -28
  45. package/esm2015/modules/timepicker/timepicker.directive.js +36 -35
  46. package/esm2015/modules/timepicker/timepicker.interface.js +1 -1
  47. package/esm2015/modules/timepicker/timepicker.module.js +7 -15
  48. package/esm2015/public-api.js +2 -1
  49. package/esm2015/testing/datepicker-fixture.js +4 -2
  50. package/esm2015/testing/timepicker-fixture.js +1 -1
  51. package/fesm2015/skyux-datetime-testing.js +3 -1
  52. package/fesm2015/skyux-datetime-testing.js.map +1 -1
  53. package/fesm2015/skyux-datetime.js +509 -428
  54. package/fesm2015/skyux-datetime.js.map +1 -1
  55. package/modules/date-range-picker/date-range-picker.component.d.ts +1 -1
  56. package/modules/datepicker/datepicker-config.service.d.ts +1 -1
  57. package/modules/datepicker/datepicker-input-fuzzy.directive.d.ts +1 -1
  58. package/modules/datepicker/datepicker-input.directive.d.ts +1 -1
  59. package/modules/datepicker/datepicker.component.d.ts +1 -0
  60. package/modules/timepicker/timepicker.directive.d.ts +1 -1
  61. package/package.json +3 -2
  62. package/public-api.d.ts +1 -0
@@ -36,7 +36,7 @@ export declare class SkyDateRangePickerComponent implements OnInit, OnChanges, O
36
36
  * [the `sky-datepicker` components](https://developer.blackbaud.com/skyux/components/datepicker)
37
37
  * that make up the date range picker. The text input is a composite component of
38
38
  * up to two `sky-datepicker` components.
39
- * @default MM/DD/YYYY
39
+ * @default "MM/DD/YYYY"
40
40
  */
41
41
  set dateFormat(value: string);
42
42
  get dateFormat(): string;
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
2
2
  export declare class SkyDatepickerConfigService {
3
3
  /**
4
4
  * Specifies the date format for the input.
5
- * @default MM/DD/YYYY
5
+ * @default "MM/DD/YYYY"
6
6
  */
7
7
  dateFormat: string;
8
8
  /**
@@ -18,7 +18,7 @@ export declare class SkyFuzzyDatepickerInputDirective implements OnInit, OnDestr
18
18
  /**
19
19
  * Specifies the date format for the input. Place this attribute on the `input` element
20
20
  * to override the default in `SkyDatepickerConfigService`.
21
- * @default MM/DD/YYYY
21
+ * @default "MM/DD/YYYY"
22
22
  */
23
23
  set dateFormat(value: string);
24
24
  get dateFormat(): string;
@@ -17,7 +17,7 @@ export declare class SkyDatepickerInputDirective implements OnInit, OnDestroy, A
17
17
  /**
18
18
  * Specifies the date format for the input. Place this attribute on the `input` element
19
19
  * to override the default in the `SkyDatepickerConfigService`.
20
- * @default MM/DD/YYYY
20
+ * @default "MM/DD/YYYY"
21
21
  */
22
22
  set dateFormat(value: string);
23
23
  get dateFormat(): string;
@@ -17,6 +17,7 @@ export declare class SkyDatepickerComponent implements OnDestroy, OnInit {
17
17
  inputBoxHostService?: SkyInputBoxHostService;
18
18
  /**
19
19
  * Adds a class to the datepicker.
20
+ * @default ""
20
21
  */
21
22
  pickerClass: string;
22
23
  /**
@@ -21,7 +21,7 @@ export declare class SkyTimepickerInputDirective implements OnInit, OnDestroy, C
21
21
  set skyTimepickerInput(value: SkyTimepickerComponent);
22
22
  /**
23
23
  * Specifies the 12-hour `hh` or 24-hour `HH` time format for the input.
24
- * @default hh
24
+ * @default "hh"
25
25
  */
26
26
  set timeFormat(value: string);
27
27
  get timeFormat(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/datetime",
3
- "version": "5.1.1",
3
+ "version": "5.1.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.14",
6
6
  "@angular/core": "^12.2.14",
@@ -9,7 +9,8 @@
9
9
  "@skyux/core": "^5.2.2",
10
10
  "@skyux/forms": "^5.0.1",
11
11
  "@skyux/i18n": "^5.0.1",
12
- "@skyux/indicators": "^5.1.1"
12
+ "@skyux/indicators": "^5.1.2",
13
+ "@skyux/popovers": "^5.0.1"
13
14
  },
14
15
  "dependencies": {
15
16
  "moment": "2.29.1",
package/public-api.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './modules/date-pipe/date.pipe';
2
2
  export * from './modules/date-pipe/date-pipe.module';
3
3
  export * from './modules/date-pipe/fuzzy-date.pipe';
4
4
  export * from './modules/date-range-picker/types/date-range-calculation';
5
+ export * from './modules/date-range-picker/types/date-range-calculator';
5
6
  export * from './modules/date-range-picker/types/date-range-calculator-config';
6
7
  export * from './modules/date-range-picker/types/date-range-calculator-id';
7
8
  export * from './modules/date-range-picker/types/date-range-calculator-type';