carbon-components-angular 5.20.3 → 5.21.1

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 (73) hide show
  1. package/datepicker/datepicker.component.d.ts +4 -39
  2. package/docs/documentation/components/DatePicker.html +108 -103
  3. package/docs/documentation/components/Hamburger.html +92 -20
  4. package/docs/documentation/coverage.html +3 -3
  5. package/docs/documentation/js/search/search_index.js +2 -2
  6. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
  7. package/docs/documentation/modules/ComboBoxModule.html +4 -4
  8. package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
  9. package/docs/documentation/modules/ContentSwitcherModule.html +4 -4
  10. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +7 -7
  11. package/docs/documentation/modules/DatePickerInputModule.html +7 -7
  12. package/docs/documentation/modules/DatePickerModule/dependencies.svg +57 -53
  13. package/docs/documentation/modules/DatePickerModule.html +57 -53
  14. package/docs/documentation/modules/DialogModule/dependencies.svg +34 -34
  15. package/docs/documentation/modules/DialogModule.html +34 -34
  16. package/docs/documentation/modules/GridModule/dependencies.svg +60 -60
  17. package/docs/documentation/modules/GridModule.html +60 -60
  18. package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
  19. package/docs/documentation/modules/LoadingModule.html +4 -4
  20. package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
  21. package/docs/documentation/modules/NFormsModule.html +4 -4
  22. package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
  23. package/docs/documentation/modules/NumberModule.html +4 -4
  24. package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
  25. package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
  26. package/docs/documentation/modules/RadioModule/dependencies.svg +4 -4
  27. package/docs/documentation/modules/RadioModule.html +4 -4
  28. package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
  29. package/docs/documentation/modules/SearchModule.html +4 -4
  30. package/docs/documentation/modules/SelectModule/dependencies.svg +58 -58
  31. package/docs/documentation/modules/SelectModule.html +58 -58
  32. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  33. package/docs/documentation/modules/SliderModule.html +4 -4
  34. package/docs/documentation/modules/StructuredListModule/dependencies.svg +66 -66
  35. package/docs/documentation/modules/StructuredListModule.html +66 -66
  36. package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
  37. package/docs/documentation/modules/TabsModule.html +69 -69
  38. package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
  39. package/docs/documentation/modules/TagModule.html +4 -4
  40. package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
  41. package/docs/documentation/modules/ThemeModule.html +4 -4
  42. package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
  43. package/docs/documentation/modules/TilesModule.html +4 -4
  44. package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
  45. package/docs/documentation/modules/TimePickerModule.html +4 -4
  46. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +42 -46
  47. package/docs/documentation/modules/TimePickerSelectModule.html +42 -46
  48. package/docs/documentation/modules/ToggleModule/dependencies.svg +20 -20
  49. package/docs/documentation/modules/ToggleModule.html +20 -20
  50. package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
  51. package/docs/documentation/modules/ToggletipModule.html +4 -4
  52. package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
  53. package/docs/documentation/modules/TooltipModule.html +28 -28
  54. package/docs/documentation/modules/TreeviewModule/dependencies.svg +34 -34
  55. package/docs/documentation/modules/TreeviewModule.html +34 -34
  56. package/docs/documentation.json +98 -76
  57. package/docs/storybook/3348.35ca85d6.iframe.bundle.js +1 -0
  58. package/docs/storybook/iframe.html +2 -2
  59. package/docs/storybook/main.503cfdea.iframe.bundle.js +1 -0
  60. package/docs/storybook/project.json +1 -1
  61. package/docs/storybook/{runtime~main.a91352e8.iframe.bundle.js → runtime~main.386e82b8.iframe.bundle.js} +1 -1
  62. package/esm2020/datepicker/datepicker.component.mjs +1 -1
  63. package/esm2020/ui-shell/header/hamburger.component.mjs +19 -15
  64. package/fesm2015/carbon-components-angular-datepicker.mjs.map +1 -1
  65. package/fesm2015/carbon-components-angular-ui-shell.mjs +18 -14
  66. package/fesm2015/carbon-components-angular-ui-shell.mjs.map +1 -1
  67. package/fesm2020/carbon-components-angular-datepicker.mjs.map +1 -1
  68. package/fesm2020/carbon-components-angular-ui-shell.mjs +18 -14
  69. package/fesm2020/carbon-components-angular-ui-shell.mjs.map +1 -1
  70. package/package.json +1 -1
  71. package/ui-shell/header/hamburger.component.d.ts +9 -1
  72. package/docs/storybook/3348.65c12f97.iframe.bundle.js +0 -1
  73. package/docs/storybook/main.939e2f87.iframe.bundle.js +0 -1
@@ -19,6 +19,7 @@
19
19
 
20
20
 
21
21
  import { EventEmitter, ElementRef, OnDestroy, TemplateRef, OnChanges, SimpleChanges, AfterViewChecked, AfterViewInit, OnInit, SimpleChange } from "@angular/core";
22
+ import { Options } from "flatpickr/dist/types/options";
22
23
  import { DatePickerInput } from "carbon-components-angular/datepicker-input";
23
24
  import { I18n } from "carbon-components-angular/i18n";
24
25
  import * as i0 from "@angular/core";
@@ -109,42 +110,8 @@ export declare class DatePicker implements OnInit, OnDestroy, OnChanges, AfterVi
109
110
  rangeWarnText: string | TemplateRef<any>;
110
111
  skeleton: boolean;
111
112
  plugins: any[];
112
- set flatpickrOptions(options: {
113
- allowInput: boolean;
114
- } & {
115
- mode: string;
116
- dateFormat: string;
117
- plugins: any[];
118
- onOpen: () => void;
119
- onClose: (date: any) => void;
120
- onDayCreate: (_dObj: any, _dStr: any, _fp: any, dayElem: any) => void;
121
- nextArrow: string;
122
- prevArrow: string;
123
- value: (string | Date)[];
124
- } & {
125
- mode: string;
126
- plugins: any[];
127
- dateFormat: string;
128
- locale: any;
129
- });
130
- get flatpickrOptions(): {
131
- allowInput: boolean;
132
- } & {
133
- mode: string;
134
- dateFormat: string;
135
- plugins: any[];
136
- onOpen: () => void;
137
- onClose: (date: any) => void;
138
- onDayCreate: (_dObj: any, _dStr: any, _fp: any, dayElem: any) => void;
139
- nextArrow: string;
140
- prevArrow: string;
141
- value: (string | Date)[];
142
- } & {
143
- mode: string;
144
- plugins: any[];
145
- dateFormat: string;
146
- locale: any;
147
- };
113
+ set flatpickrOptions(options: Partial<Options>);
114
+ get flatpickrOptions(): Partial<Options>;
148
115
  input: DatePickerInput;
149
116
  rangeInput: DatePickerInput;
150
117
  valueChange: EventEmitter<any>;
@@ -154,9 +121,7 @@ export declare class DatePicker implements OnInit, OnDestroy, OnChanges, AfterVi
154
121
  */
155
122
  onClose: EventEmitter<any>;
156
123
  protected _value: any[];
157
- protected _flatpickrOptions: {
158
- allowInput: boolean;
159
- };
124
+ protected _flatpickrOptions: Partial<Options>;
160
125
  protected flatpickrBaseOptions: {
161
126
  mode: string;
162
127
  dateFormat: string;