@colijnit/corecomponents_v12 257.1.17 → 257.1.18
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/bundles/colijnit-corecomponents_v12.umd.js +81 -31
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12-257.1.17.tgz +0 -0
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/filter-item/filter-item.component.js +2 -2
- package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +20 -2
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +65 -30
- package/fesm2015/colijnit-corecomponents_v12.js +84 -31
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/calendar/style/_layout.scss +14 -14
- package/lib/components/calendar/style/_material-definition.scss +3 -3
- package/lib/components/input-date-picker/input-date-picker.component.d.ts +2 -0
- package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +5 -0
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
align-items: center;
|
|
26
26
|
margin-bottom: $cc-co-calendar-header-margin-bottom;
|
|
27
27
|
user-select: none;
|
|
28
|
-
padding: 10px;
|
|
28
|
+
padding: 10px 15px;
|
|
29
29
|
|
|
30
30
|
.calendar-change-month-button {
|
|
31
31
|
cursor: pointer;
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
background-color: $cc-co-calendar-day-hover-background-color;
|
|
92
92
|
border-radius: $cc-co-calendar-selected-day-start-border-radius;
|
|
93
93
|
position: absolute;
|
|
94
|
-
top:
|
|
95
|
-
left: -
|
|
96
|
-
width:
|
|
97
|
-
height:
|
|
94
|
+
top: -2px;
|
|
95
|
+
left: -2px;
|
|
96
|
+
width: 34px;
|
|
97
|
+
height: 34px;
|
|
98
98
|
content: '';
|
|
99
99
|
z-index: 0;
|
|
100
100
|
}
|
|
@@ -155,10 +155,10 @@
|
|
|
155
155
|
background-color: $cc-co-calendar-selected-day-background-color;
|
|
156
156
|
border-radius: $cc-co-calendar-selected-day-start-border-radius;
|
|
157
157
|
position: absolute;
|
|
158
|
-
top:
|
|
159
|
-
left: -
|
|
160
|
-
width:
|
|
161
|
-
height:
|
|
158
|
+
top: -2px;
|
|
159
|
+
left: -2px;
|
|
160
|
+
width: 34px;
|
|
161
|
+
height: 34px;
|
|
162
162
|
content: '';
|
|
163
163
|
z-index: 1;
|
|
164
164
|
}
|
|
@@ -190,13 +190,13 @@
|
|
|
190
190
|
.selected-date-display {
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: column;
|
|
193
|
-
padding:
|
|
193
|
+
padding: 10px;
|
|
194
194
|
background: $cc-co-calendar-selected-day-background-color;
|
|
195
195
|
color: #FFF;
|
|
196
|
-
font-size:
|
|
197
|
-
min-height:
|
|
196
|
+
font-size: 14px;
|
|
197
|
+
min-height: 65px;
|
|
198
198
|
.selected-date-day {
|
|
199
|
-
font-size:
|
|
199
|
+
font-size: 24px;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
.calendar-action-buttons {
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
flex-direction: column;
|
|
205
205
|
align-items: flex-end;
|
|
206
206
|
gap: 15px;
|
|
207
|
-
padding: 15px 20px;
|
|
207
|
+
padding: 10px 20px 15px 20px;
|
|
208
208
|
font-size: 12px;
|
|
209
209
|
color: $cc-co-calendar-selected-day-background-color;
|
|
210
210
|
cursor: pointer;
|
|
@@ -4,18 +4,18 @@ $cc-co-calendar-padding: 0 !default;
|
|
|
4
4
|
$cc-co-calendar-background-color: white !default;
|
|
5
5
|
$cc-co-calendar-border-radius: 5px !default;
|
|
6
6
|
$cc-co-calendar-border: 1px solid #CCCCCC !default;
|
|
7
|
-
$cc-co-calendar-header-margin-bottom:
|
|
7
|
+
$cc-co-calendar-header-margin-bottom: 0 !default;
|
|
8
8
|
$cc-co-calendar-change-month-button-border-radius: 5px !default;
|
|
9
9
|
$cc-co-calendar-change-month-button-border: 0px solid #CCCCCC !default;
|
|
10
10
|
$cc-co-calendar-change-month-button-padding: 5px !default;
|
|
11
11
|
$cc-co-calendar-header-title-font-size: 14px !default;
|
|
12
|
-
$cc-co-calendar-day-height:
|
|
12
|
+
$cc-co-calendar-day-height: 30px !default;
|
|
13
13
|
$cc-co-calendar-day-margin: 2px 0 !default;
|
|
14
14
|
$cc-co-calendar-day-hover-background-color: #f8f8fa !default;
|
|
15
15
|
$cc-co-calendar-day-hover-color: white !default;
|
|
16
16
|
$cc-co-calendar-day-selected-background-color: $cc-color-action !default;
|
|
17
17
|
$cc-co-calendar-day-selected-color: $cc-color-light !default;
|
|
18
|
-
$cc-co-calendar-week-number-height:
|
|
18
|
+
$cc-co-calendar-week-number-height: 30px !default;
|
|
19
19
|
$cc-co-calendar-week-number-margin: 0 2px 0 0 !default;
|
|
20
20
|
$cc-co-calendar-week-number-font-size: 10px !default;
|
|
21
21
|
$cc-co-calendar-week-number-width: 30px !default;
|
|
@@ -5,6 +5,8 @@ export declare class InputDatePickerComponent extends BaseInputDatePickerDirecti
|
|
|
5
5
|
showClass(): boolean;
|
|
6
6
|
handleDateSelected(date: Date): void;
|
|
7
7
|
toggleCalendar(show: boolean): void;
|
|
8
|
+
finalizeDate(): void;
|
|
9
|
+
private isValidDateString;
|
|
8
10
|
handleDateChange(value: string): void;
|
|
9
11
|
protected modelSet(): void;
|
|
10
12
|
private setModelAsString;
|
|
@@ -3,6 +3,8 @@ import { BaseInputDatePickerDirective } from "../base-input-date-picker/base-inp
|
|
|
3
3
|
export declare class InputDateRangePickerComponent extends BaseInputDatePickerDirective {
|
|
4
4
|
firstDateAsString: any;
|
|
5
5
|
secondDateAsString: any;
|
|
6
|
+
private readonly EARLIEST_DATE;
|
|
7
|
+
private readonly LATEST_DATE;
|
|
6
8
|
private _doubleCalendarComponentRef;
|
|
7
9
|
firstInput: ElementRef;
|
|
8
10
|
secondInput: ElementRef;
|
|
@@ -15,6 +17,9 @@ export declare class InputDateRangePickerComponent extends BaseInputDatePickerDi
|
|
|
15
17
|
toggleCalendar(): void;
|
|
16
18
|
handleFirstDateChanged(value: string): void;
|
|
17
19
|
handleSecondDateChanged(value: string): void;
|
|
20
|
+
finalizeDates(): void;
|
|
21
|
+
private isValidDateString;
|
|
18
22
|
protected modelSet(): void;
|
|
19
23
|
private setModelAsString;
|
|
24
|
+
private formatDate;
|
|
20
25
|
}
|