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.
- package/datepicker/datepicker.component.d.ts +4 -39
- package/docs/documentation/components/DatePicker.html +108 -103
- package/docs/documentation/components/Hamburger.html +92 -20
- package/docs/documentation/coverage.html +3 -3
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +4 -4
- package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ContentSwitcherModule.html +4 -4
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +7 -7
- package/docs/documentation/modules/DatePickerInputModule.html +7 -7
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +57 -53
- package/docs/documentation/modules/DatePickerModule.html +57 -53
- package/docs/documentation/modules/DialogModule/dependencies.svg +34 -34
- package/docs/documentation/modules/DialogModule.html +34 -34
- package/docs/documentation/modules/GridModule/dependencies.svg +60 -60
- package/docs/documentation/modules/GridModule.html +60 -60
- package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LoadingModule.html +4 -4
- package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NFormsModule.html +4 -4
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +4 -4
- package/docs/documentation/modules/RadioModule.html +4 -4
- package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SearchModule.html +4 -4
- package/docs/documentation/modules/SelectModule/dependencies.svg +58 -58
- package/docs/documentation/modules/SelectModule.html +58 -58
- package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SliderModule.html +4 -4
- package/docs/documentation/modules/StructuredListModule/dependencies.svg +66 -66
- package/docs/documentation/modules/StructuredListModule.html +66 -66
- package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
- package/docs/documentation/modules/TabsModule.html +69 -69
- package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TagModule.html +4 -4
- package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ThemeModule.html +4 -4
- package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TilesModule.html +4 -4
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerModule.html +4 -4
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +42 -46
- package/docs/documentation/modules/TimePickerSelectModule.html +42 -46
- package/docs/documentation/modules/ToggleModule/dependencies.svg +20 -20
- package/docs/documentation/modules/ToggleModule.html +20 -20
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggletipModule.html +4 -4
- package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
- package/docs/documentation/modules/TooltipModule.html +28 -28
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +34 -34
- package/docs/documentation/modules/TreeviewModule.html +34 -34
- package/docs/documentation.json +98 -76
- package/docs/storybook/3348.35ca85d6.iframe.bundle.js +1 -0
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/main.503cfdea.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.a91352e8.iframe.bundle.js → runtime~main.386e82b8.iframe.bundle.js} +1 -1
- package/esm2020/datepicker/datepicker.component.mjs +1 -1
- package/esm2020/ui-shell/header/hamburger.component.mjs +19 -15
- package/fesm2015/carbon-components-angular-datepicker.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-ui-shell.mjs +18 -14
- package/fesm2015/carbon-components-angular-ui-shell.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-datepicker.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-ui-shell.mjs +18 -14
- package/fesm2020/carbon-components-angular-ui-shell.mjs.map +1 -1
- package/package.json +1 -1
- package/ui-shell/header/hamburger.component.d.ts +9 -1
- package/docs/storybook/3348.65c12f97.iframe.bundle.js +0 -1
- 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
|
-
|
|
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;
|