@progressio_resources/gravity-design-system 3.6.10 → 3.6.12
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/esm2022/lib/components/gravity-data-views-v2/gravity-data-views-v2.component.mjs +1 -1
- package/esm2022/lib/components/gravity-date-picker/components/day-calendar/day-calendar.component.mjs +25 -23
- package/esm2022/lib/components/gravity-date-picker/components/day-calendar/range-days-calendar.utils.mjs +26 -9
- package/esm2022/lib/components/gravity-date-picker/components/month-calendar/month-calendar.component.mjs +6 -7
- package/esm2022/lib/components/gravity-date-picker/components/year-calendar/year-calendar.component.mjs +6 -7
- package/esm2022/lib/components/gravity-date-picker/gravity-date-picker.component.mjs +5 -6
- package/esm2022/lib/components/gravity-date-picker/shared/date-picker.modal.mjs +1 -1
- package/fesm2022/progressio_resources-gravity-design-system.mjs +57 -39
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-data-views-v2/gravity-data-views-v2.component.d.ts +1 -1
- package/lib/components/gravity-date-picker/components/day-calendar/day-calendar.component.d.ts +4 -7
- package/lib/components/gravity-date-picker/gravity-date-picker.component.d.ts +2 -1
- package/lib/components/gravity-date-picker/shared/date-picker.modal.d.ts +0 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ export declare class GravityDataViewsV2Component implements AfterViewInit {
|
|
|
6
6
|
statusIndicator: {
|
|
7
7
|
icon: string;
|
|
8
8
|
text: string;
|
|
9
|
-
status: 'positive' | 'negative' | 'attention' | 'neutro' | 'disabled';
|
|
9
|
+
status: 'positive' | 'negative' | 'attention' | 'neutro' | 'disabled' | 'positive-secondary' | 'negative-secondary';
|
|
10
10
|
position?: 'left' | 'right';
|
|
11
11
|
};
|
|
12
12
|
clickEmitter: EventEmitter<any[]>;
|
package/lib/components/gravity-date-picker/components/day-calendar/day-calendar.component.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class DayCalendarComponent implements OnChanges {
|
|
8
8
|
initYear: Date;
|
|
9
9
|
initMonth: Date;
|
|
10
|
-
config: DatePickerConfig;
|
|
11
10
|
range: boolean;
|
|
11
|
+
config: DatePickerConfig;
|
|
12
12
|
restart: boolean;
|
|
13
13
|
appyOnClose: boolean;
|
|
14
14
|
currentDate: Date;
|
|
@@ -16,12 +16,9 @@ export declare class DayCalendarComponent implements OnChanges {
|
|
|
16
16
|
navType: 'prev' | 'next' | 'both' | 'none';
|
|
17
17
|
clearHover: EventEmitter<void>;
|
|
18
18
|
clearSelection: EventEmitter<void>;
|
|
19
|
-
changeMonth: EventEmitter<number>;
|
|
20
19
|
hoverDay: EventEmitter<CalendarDate>;
|
|
21
|
-
openIntegratedCalendar: EventEmitter<void>;
|
|
22
20
|
selectedRage: EventEmitter<CalendarDate>;
|
|
23
21
|
calendarResponse: EventEmitter<Date[] | Date>;
|
|
24
|
-
changeMonthYearResponse: EventEmitter<Date | Date[]>;
|
|
25
22
|
endDateField: GravityTextFieldComponent;
|
|
26
23
|
startDateField: GravityTextFieldComponent;
|
|
27
24
|
endDateError: string;
|
|
@@ -86,7 +83,7 @@ export declare class DayCalendarComponent implements OnChanges {
|
|
|
86
83
|
trackByDay(_: number, day: CalendarDate): string;
|
|
87
84
|
ngOnChanges(changes: SimpleChanges): void;
|
|
88
85
|
private processInitDate;
|
|
89
|
-
|
|
86
|
+
hasDateSelected(requireBothInRange?: boolean): boolean;
|
|
90
87
|
getDaySelectionClass(day: CalendarDate): string;
|
|
91
88
|
private getSingleDaySelectionClass;
|
|
92
89
|
onSelectDay(day: CalendarDate): void;
|
|
@@ -101,8 +98,8 @@ export declare class DayCalendarComponent implements OnChanges {
|
|
|
101
98
|
protected readonly onHoverDay: typeof onHoverDay;
|
|
102
99
|
protected readonly onDateKeyup: typeof onDateKeyup;
|
|
103
100
|
protected readonly onClearHover: typeof onClearHover;
|
|
104
|
-
protected readonly calendarDateToDate: typeof calendarDateToDate;
|
|
105
101
|
protected readonly isPeriodAvailable: typeof isPeriodAvailable;
|
|
102
|
+
protected readonly calendarDateToDate: typeof calendarDateToDate;
|
|
106
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayCalendarComponent, never>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DayCalendarComponent, "day-calendar", never, { "initYear": { "alias": "initYear"; "required": false; }; "initMonth": { "alias": "initMonth"; "required": false; }; "
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DayCalendarComponent, "day-calendar", never, { "initYear": { "alias": "initYear"; "required": false; }; "initMonth": { "alias": "initMonth"; "required": false; }; "range": { "alias": "range"; "required": false; }; "config": { "alias": "config"; "required": false; }; "restart": { "alias": "restart"; "required": false; }; "appyOnClose": { "alias": "appyOnClose"; "required": false; }; "currentDate": { "alias": "currentDate"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "navType": { "alias": "navType"; "required": false; }; }, { "clearHover": "clearHover"; "clearSelection": "clearSelection"; "hoverDay": "hoverDay"; "selectedRage": "selectedRage"; "calendarResponse": "calendarResponse"; }, never, never, false, never>;
|
|
108
105
|
}
|
|
@@ -3,9 +3,10 @@ import { DatePickerAppearance, DatePickerConfig, DatePickerResponse } from "./sh
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GravityDatePickerComponent {
|
|
5
5
|
cypressTag: string;
|
|
6
|
-
datePickerType: '
|
|
6
|
+
datePickerType: 'single' | 'range' | 'month' | 'year';
|
|
7
7
|
private _config;
|
|
8
8
|
private _appearance;
|
|
9
|
+
showCo: any;
|
|
9
10
|
get i18n(): {
|
|
10
11
|
readonly apply: "Apply";
|
|
11
12
|
readonly date_placeholder: "mm/dd/yyyy";
|
package/package.json
CHANGED