funda-ui 4.4.15 → 4.4.35
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/EventCalendar/index.css +114 -114
- package/EventCalendar/index.d.ts +1 -0
- package/EventCalendar/index.js +116 -84
- package/EventCalendarTimeline/index.css +274 -270
- package/EventCalendarTimeline/index.d.ts +3 -0
- package/EventCalendarTimeline/index.js +641 -224
- package/MultipleCheckboxes/index.js +11 -11
- package/MultipleSelect/index.js +11 -11
- package/NativeSelect/index.js +11 -11
- package/Radio/index.js +11 -11
- package/Select/index.js +11 -11
- package/Table/index.css +1 -0
- package/Table/index.js +36 -7
- package/TagInput/index.d.ts +1 -0
- package/TagInput/index.js +20 -2
- package/Tree/index.js +11 -11
- package/Utils/object.js +11 -11
- package/Utils/os.d.ts +2 -0
- package/Utils/os.js +104 -0
- package/lib/cjs/EventCalendar/index.d.ts +1 -0
- package/lib/cjs/EventCalendar/index.js +116 -84
- package/lib/cjs/EventCalendarTimeline/index.d.ts +3 -0
- package/lib/cjs/EventCalendarTimeline/index.js +641 -224
- package/lib/cjs/MultipleCheckboxes/index.js +11 -11
- package/lib/cjs/MultipleSelect/index.js +11 -11
- package/lib/cjs/NativeSelect/index.js +11 -11
- package/lib/cjs/Radio/index.js +11 -11
- package/lib/cjs/Select/index.js +11 -11
- package/lib/cjs/Table/index.js +36 -7
- package/lib/cjs/TagInput/index.d.ts +1 -0
- package/lib/cjs/TagInput/index.js +20 -2
- package/lib/cjs/Tree/index.js +11 -11
- package/lib/cjs/Utils/object.js +11 -11
- package/lib/cjs/Utils/os.d.ts +2 -0
- package/lib/cjs/Utils/os.js +104 -0
- package/lib/css/EventCalendar/index.css +114 -114
- package/lib/css/EventCalendarTimeline/index.css +274 -270
- package/lib/css/Table/index.css +1 -0
- package/lib/esm/EventCalendar/index.scss +81 -81
- package/lib/esm/EventCalendar/index.tsx +136 -98
- package/lib/esm/EventCalendarTimeline/index.scss +226 -221
- package/lib/esm/EventCalendarTimeline/index.tsx +445 -207
- package/lib/esm/ModalDialog/index.tsx +0 -1
- package/lib/esm/Table/Table.tsx +0 -1
- package/lib/esm/Table/index.scss +2 -0
- package/lib/esm/Table/utils/hooks/useTableDraggable.tsx +47 -6
- package/lib/esm/TagInput/index.tsx +23 -1
- package/lib/esm/Utils/libs/object.ts +67 -67
- package/lib/esm/Utils/libs/os.ts +63 -0
- package/package.json +1 -1
package/EventCalendar/index.css
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
/* ======================================================
|
|
2
2
|
<!-- Event Calendar -->
|
|
3
3
|
/* ====================================================== */
|
|
4
|
-
.
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
4
|
+
.custom-event-cal__wrapper {
|
|
5
|
+
--custom-event-cal-wrapper-min-width: 400px;
|
|
6
|
+
--custom-event-cal-body-bg: #fff;
|
|
7
|
+
--custom-event-cal-border-color: #ddd;
|
|
8
|
+
--custom-event-cal-border-color-hover: #333;
|
|
9
|
+
--custom-event-cal-header-fs: 1.125rem;
|
|
10
|
+
--custom-event-cal-default-border-color: #eee;
|
|
11
|
+
--custom-event-cal-day-border-color: #ddd;
|
|
12
|
+
--custom-event-cal-day-hover-bg: #f6f6f6;
|
|
13
|
+
--custom-event-cal-dayselected-bg: #0b5ed7;
|
|
14
|
+
--custom-event-cal-dayselected-text-color: #fff;
|
|
15
|
+
--custom-event-cal-year-month-btn-border-color: #ddd;
|
|
16
|
+
--custom-event-cal-year-month-btn-hover-bg: rgba(0, 58, 166, .1);
|
|
17
|
+
--custom-event-cal-year-month-btn-selected-bg: rgba(0, 58, 166, 1);
|
|
18
|
+
--custom-event-cal-year-month-btn-selected-color: #fff;
|
|
19
|
+
--custom-event-cal-month-wrapper-w: 18.75rem;
|
|
20
|
+
--custom-event-cal-year-wrapper-w: 18.75rem;
|
|
21
|
+
--custom-event-cal-header-arrow-bg: #000;
|
|
22
|
+
--custom-event-cal-header-text-color: #000;
|
|
23
|
+
--custom-event-cal-header-prevnext-btn-bg: transparent;
|
|
24
|
+
--custom-event-cal-header-prevnext-btn-color: #000;
|
|
25
|
+
--custom-event-cal-header-prevnext-btn-radius: 0.25rem;
|
|
26
|
+
--custom-event-cal-table-add-btn-color: #0b5ed7;
|
|
27
|
+
--custom-event-cal-delete-btn-color: #ee4949;
|
|
28
|
+
--custom-event-cal-footer-today-btn-bg: rgba(0, 58, 166, 1);
|
|
29
|
+
--custom-event-cal-footer-today-btn-color: #fff;
|
|
30
|
+
--custom-event-cal-event-default-bg: rgb(255, 240, 227);
|
|
31
|
+
--custom-event-cal-table-event-font-size: 0.75rem;
|
|
32
32
|
position: relative;
|
|
33
|
-
min-width: var(--
|
|
34
|
-
border: 1px solid var(--
|
|
33
|
+
min-width: var(--custom-event-cal-wrapper-min-width);
|
|
34
|
+
border: 1px solid var(--custom-event-cal-border-color);
|
|
35
35
|
/* Required when using onKeyDown */
|
|
36
36
|
/* --HEADER --*/
|
|
37
37
|
/*-- BODY --*/
|
|
@@ -39,40 +39,40 @@
|
|
|
39
39
|
/*-- SELECTION --*/
|
|
40
40
|
/* --BUTTON --*/
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.custom-event-cal__wrapper[tabindex]:focus-visible {
|
|
43
43
|
outline: none;
|
|
44
44
|
}
|
|
45
|
-
.
|
|
46
|
-
font-size: var(--
|
|
45
|
+
.custom-event-cal__wrapper .custom-event-cal__header {
|
|
46
|
+
font-size: var(--custom-event-cal-header-fs);
|
|
47
47
|
font-weight: bold;
|
|
48
48
|
padding: 10px 10px 5px 10px;
|
|
49
49
|
display: flex;
|
|
50
50
|
justify-content: space-between;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.custom-event-cal__wrapper .custom-event-cal__header .custom-event-cal__header__btns .custom-event-cal__btn {
|
|
53
53
|
margin-right: 1rem;
|
|
54
|
-
color: var(--
|
|
54
|
+
color: var(--custom-event-cal-header-text-color);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.custom-event-cal__wrapper .custom-event-cal__header .custom-event-cal__header__btns .custom-event-cal__btn svg {
|
|
57
57
|
margin-left: 0.3rem;
|
|
58
58
|
}
|
|
59
|
-
.
|
|
60
|
-
fill: var(--
|
|
59
|
+
.custom-event-cal__wrapper .custom-event-cal__header .custom-event-cal__header__btns .custom-event-cal__btn svg path {
|
|
60
|
+
fill: var(--custom-event-cal-header-arrow-bg);
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.custom-event-cal__wrapper .custom-event-cal__header .custom-event-cal__header__btns .custom-event-cal__btn.active svg {
|
|
63
63
|
transform: rotate(180deg);
|
|
64
64
|
}
|
|
65
|
-
.
|
|
66
|
-
background: var(--
|
|
65
|
+
.custom-event-cal__wrapper .custom-event-cal__body {
|
|
66
|
+
background: var(--custom-event-cal-body-bg);
|
|
67
67
|
width: 100%;
|
|
68
68
|
display: flex;
|
|
69
69
|
flex-wrap: wrap;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.custom-event-cal__wrapper .custom-event-cal__row {
|
|
72
72
|
display: flex;
|
|
73
73
|
width: 100%;
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell {
|
|
76
76
|
flex: 1;
|
|
77
77
|
position: relative;
|
|
78
78
|
height: auto;
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
flex-direction: column;
|
|
84
84
|
text-align: center;
|
|
85
85
|
border-width: 0;
|
|
86
|
-
border-color: var(--
|
|
86
|
+
border-color: var(--custom-event-cal-default-border-color);
|
|
87
87
|
border-style: solid;
|
|
88
88
|
border-top-width: 1px;
|
|
89
89
|
border-right-width: 1px;
|
|
@@ -92,86 +92,86 @@
|
|
|
92
92
|
/* DAY NUMBER */
|
|
93
93
|
/* ITEMS */
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell.disabled {
|
|
96
96
|
opacity: 0.4;
|
|
97
97
|
pointer-events: none;
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell.last-cell {
|
|
100
100
|
border-right-width: 0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell.last-row {
|
|
103
103
|
border-bottom-width: 1px;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell.custom-event-cal__day--week {
|
|
106
106
|
min-height: 2.75em;
|
|
107
107
|
align-items: end;
|
|
108
108
|
padding-inline-end: 0.75rem;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
111
|
-
background-color: var(--
|
|
110
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell:not(.empty):hover {
|
|
111
|
+
background-color: var(--custom-event-cal-day-hover-bg);
|
|
112
112
|
}
|
|
113
|
-
.
|
|
113
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__event {
|
|
114
114
|
margin-bottom: 1px;
|
|
115
|
-
font-size: var(--
|
|
116
|
-
background-color: var(--
|
|
115
|
+
font-size: var(--custom-event-cal-table-event-font-size);
|
|
116
|
+
background-color: var(--custom-event-cal-event-default-bg);
|
|
117
117
|
text-align: left;
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__event:hover {
|
|
120
120
|
cursor: pointer;
|
|
121
121
|
opacity: 0.8;
|
|
122
122
|
}
|
|
123
|
-
.
|
|
123
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__cell-item.first {
|
|
124
124
|
margin-top: 2.5rem;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventdel {
|
|
127
127
|
position: absolute;
|
|
128
128
|
z-index: 1;
|
|
129
129
|
right: -5px;
|
|
130
130
|
top: 0;
|
|
131
131
|
display: none;
|
|
132
|
-
color: var(--
|
|
132
|
+
color: var(--custom-event-cal-delete-btn-color);
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventdel svg {
|
|
135
135
|
width: 10px;
|
|
136
|
-
fill: var(--
|
|
136
|
+
fill: var(--custom-event-cal-delete-btn-color);
|
|
137
137
|
}
|
|
138
|
-
.
|
|
139
|
-
fill: var(--
|
|
138
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventdel svg path {
|
|
139
|
+
fill: var(--custom-event-cal-delete-btn-color);
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventdel:hover svg {
|
|
142
142
|
transform: scale(1.2);
|
|
143
143
|
}
|
|
144
|
-
.
|
|
144
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell:not(.empty) .custom-event-cal__cell-item:hover .custom-event-cal__day__eventdel {
|
|
145
145
|
display: block;
|
|
146
146
|
}
|
|
147
|
-
.
|
|
147
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventadd {
|
|
148
148
|
position: absolute;
|
|
149
149
|
z-index: 1;
|
|
150
150
|
left: 0;
|
|
151
151
|
bottom: -8.5px;
|
|
152
152
|
display: none;
|
|
153
153
|
width: 20px;
|
|
154
|
-
color: var(--
|
|
154
|
+
color: var(--custom-event-cal-table-add-btn-color);
|
|
155
155
|
text-align: left;
|
|
156
156
|
pointer-events: none;
|
|
157
157
|
}
|
|
158
|
-
.
|
|
158
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventadd > a {
|
|
159
159
|
pointer-events: auto;
|
|
160
160
|
}
|
|
161
|
-
.
|
|
161
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventadd svg {
|
|
162
162
|
width: 15px;
|
|
163
|
-
fill: var(--
|
|
163
|
+
fill: var(--custom-event-cal-table-add-btn-color);
|
|
164
164
|
}
|
|
165
|
-
.
|
|
166
|
-
fill: var(--
|
|
165
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventadd svg path {
|
|
166
|
+
fill: var(--custom-event-cal-table-add-btn-color);
|
|
167
167
|
}
|
|
168
|
-
.
|
|
168
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell .custom-event-cal__day__eventadd:hover svg {
|
|
169
169
|
transform: scale(1.2);
|
|
170
170
|
}
|
|
171
|
-
.
|
|
171
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell:hover .custom-event-cal__day__eventadd {
|
|
172
172
|
display: block;
|
|
173
173
|
}
|
|
174
|
-
.
|
|
174
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell > span {
|
|
175
175
|
position: absolute;
|
|
176
176
|
right: 0.25rem;
|
|
177
177
|
top: 0.25rem;
|
|
@@ -183,26 +183,26 @@
|
|
|
183
183
|
line-height: 1.5;
|
|
184
184
|
margin: 0.5rem 0;
|
|
185
185
|
}
|
|
186
|
-
.
|
|
186
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell > span.disabled {
|
|
187
187
|
opacity: 0.2;
|
|
188
188
|
}
|
|
189
|
-
.
|
|
189
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell > div {
|
|
190
190
|
position: relative;
|
|
191
191
|
width: 100%;
|
|
192
192
|
}
|
|
193
|
-
.
|
|
193
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell.empty > div {
|
|
194
194
|
opacity: 0.2;
|
|
195
195
|
}
|
|
196
|
-
.
|
|
196
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell:not(.empty) {
|
|
197
197
|
cursor: pointer;
|
|
198
198
|
}
|
|
199
|
-
.
|
|
200
|
-
color: var(--
|
|
201
|
-
background-color: var(--
|
|
199
|
+
.custom-event-cal__wrapper .custom-event-cal__row .custom-event-cal__cell.selected > span {
|
|
200
|
+
color: var(--custom-event-cal-dayselected-text-color);
|
|
201
|
+
background-color: var(--custom-event-cal-dayselected-bg);
|
|
202
202
|
}
|
|
203
|
-
.
|
|
203
|
+
.custom-event-cal__wrapper .custom-event-cal__month-wrapper {
|
|
204
204
|
position: absolute;
|
|
205
|
-
width: var(--
|
|
205
|
+
width: var(--custom-event-cal-month-wrapper-w);
|
|
206
206
|
height: auto;
|
|
207
207
|
z-index: 1;
|
|
208
208
|
top: calc(1rem + 22px);
|
|
@@ -210,18 +210,18 @@
|
|
|
210
210
|
transform: translateX(-50%);
|
|
211
211
|
display: none;
|
|
212
212
|
}
|
|
213
|
-
.
|
|
213
|
+
.custom-event-cal__wrapper .custom-event-cal__month-wrapper.active {
|
|
214
214
|
display: block;
|
|
215
215
|
}
|
|
216
|
-
.
|
|
216
|
+
.custom-event-cal__wrapper .custom-event-cal__month-wrapper .custom-event-cal__month-container {
|
|
217
217
|
display: grid;
|
|
218
218
|
grid-template-columns: repeat(3, 1fr);
|
|
219
219
|
grid-template-rows: repeat(4, 2.5em);
|
|
220
220
|
grid-gap: 10px;
|
|
221
221
|
}
|
|
222
|
-
.
|
|
222
|
+
.custom-event-cal__wrapper .custom-event-cal__year-wrapper {
|
|
223
223
|
position: absolute;
|
|
224
|
-
width: var(--
|
|
224
|
+
width: var(--custom-event-cal-year-wrapper-w);
|
|
225
225
|
height: auto;
|
|
226
226
|
z-index: 1;
|
|
227
227
|
top: calc(1rem + 22px);
|
|
@@ -229,41 +229,41 @@
|
|
|
229
229
|
transform: translateX(-50%);
|
|
230
230
|
display: none;
|
|
231
231
|
}
|
|
232
|
-
.
|
|
232
|
+
.custom-event-cal__wrapper .custom-event-cal__year-wrapper.active {
|
|
233
233
|
display: block;
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
.custom-event-cal__wrapper .custom-event-cal__year-wrapper .custom-event-cal__year-container {
|
|
236
236
|
display: grid;
|
|
237
237
|
grid-template-columns: repeat(4, 1fr);
|
|
238
238
|
grid-template-rows: repeat(5, 2.5em);
|
|
239
239
|
grid-gap: 5px;
|
|
240
240
|
}
|
|
241
|
-
.
|
|
242
|
-
.
|
|
241
|
+
.custom-event-cal__wrapper .custom-event-cal__year,
|
|
242
|
+
.custom-event-cal__wrapper .custom-event-cal__month {
|
|
243
243
|
display: flex;
|
|
244
244
|
align-items: center;
|
|
245
245
|
justify-content: center;
|
|
246
246
|
padding: 5px;
|
|
247
247
|
font-size: 0.875em;
|
|
248
|
-
border: 1px solid var(--
|
|
248
|
+
border: 1px solid var(--custom-event-cal-year-month-btn-border-color);
|
|
249
249
|
border-radius: 0.25rem;
|
|
250
250
|
cursor: pointer;
|
|
251
251
|
}
|
|
252
|
-
.
|
|
253
|
-
.
|
|
254
|
-
background-color: var(--
|
|
252
|
+
.custom-event-cal__wrapper .custom-event-cal__year:hover,
|
|
253
|
+
.custom-event-cal__wrapper .custom-event-cal__month:hover {
|
|
254
|
+
background-color: var(--custom-event-cal-year-month-btn-hover-bg);
|
|
255
255
|
}
|
|
256
|
-
.
|
|
257
|
-
.
|
|
258
|
-
background-color: var(--
|
|
259
|
-
color: var(--
|
|
256
|
+
.custom-event-cal__wrapper .custom-event-cal__year.selected,
|
|
257
|
+
.custom-event-cal__wrapper .custom-event-cal__month.selected {
|
|
258
|
+
background-color: var(--custom-event-cal-year-month-btn-selected-bg);
|
|
259
|
+
color: var(--custom-event-cal-year-month-btn-selected-color);
|
|
260
260
|
}
|
|
261
|
-
.
|
|
262
|
-
.
|
|
261
|
+
.custom-event-cal__wrapper .custom-event-cal__year.disabled,
|
|
262
|
+
.custom-event-cal__wrapper .custom-event-cal__month.disabled {
|
|
263
263
|
opacity: 0.4;
|
|
264
264
|
pointer-events: none;
|
|
265
265
|
}
|
|
266
|
-
.
|
|
266
|
+
.custom-event-cal__wrapper .custom-event-cal__btn {
|
|
267
267
|
border: none;
|
|
268
268
|
outline: none;
|
|
269
269
|
background: none;
|
|
@@ -275,26 +275,26 @@
|
|
|
275
275
|
display: inline-flex;
|
|
276
276
|
align-items: center;
|
|
277
277
|
}
|
|
278
|
-
.
|
|
279
|
-
fill: var(--
|
|
278
|
+
.custom-event-cal__wrapper .custom-event-cal__btn svg path {
|
|
279
|
+
fill: var(--custom-event-cal-header-arrow-bg);
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
.custom-event-cal__wrapper .custom-event-cal__btn.disabled {
|
|
282
282
|
opacity: 0.4;
|
|
283
283
|
pointer-events: none;
|
|
284
284
|
}
|
|
285
|
-
.
|
|
286
|
-
border-radius: var(--
|
|
287
|
-
color: var(--
|
|
288
|
-
background-color: var(--
|
|
285
|
+
.custom-event-cal__wrapper .custom-event-cal__btn--prev, .custom-event-cal__wrapper .custom-event-cal__btn--next {
|
|
286
|
+
border-radius: var(--custom-event-cal-header-prevnext-btn-radius);
|
|
287
|
+
color: var(--custom-event-cal-header-prevnext-btn-color);
|
|
288
|
+
background-color: var(--custom-event-cal-header-prevnext-btn-bg);
|
|
289
289
|
}
|
|
290
|
-
.
|
|
291
|
-
fill: var(--
|
|
290
|
+
.custom-event-cal__wrapper .custom-event-cal__btn--prev svg path, .custom-event-cal__wrapper .custom-event-cal__btn--next svg path {
|
|
291
|
+
fill: var(--custom-event-cal-header-prevnext-btn-color);
|
|
292
292
|
}
|
|
293
|
-
.
|
|
294
|
-
border: 1px solid var(--
|
|
293
|
+
.custom-event-cal__wrapper .custom-event-cal__btn--today {
|
|
294
|
+
border: 1px solid var(--custom-event-cal-border-color);
|
|
295
295
|
border-radius: 0.25rem;
|
|
296
296
|
font-size: 0.875em;
|
|
297
297
|
padding: 0.2rem 1rem;
|
|
298
|
-
color: var(--
|
|
299
|
-
background-color: var(--
|
|
298
|
+
color: var(--custom-event-cal-footer-today-btn-color);
|
|
299
|
+
background-color: var(--custom-event-cal-footer-today-btn-bg);
|
|
300
300
|
}
|
package/EventCalendar/index.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare type EventCalendarProps = {
|
|
|
53
53
|
onCellMouseEnter?: (el: any) => void;
|
|
54
54
|
onCellMouseLeave?: (el: any) => void;
|
|
55
55
|
onCellClick?: (el: any) => void;
|
|
56
|
+
onCellDoubleClick?: (el: any) => void;
|
|
56
57
|
onCellMouseUp?: (el: any) => void;
|
|
57
58
|
onKeyPressed?: (el: any) => void;
|
|
58
59
|
};
|