@dataloop-ai/components 0.20.238 → 0.20.239
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/package.json +1 -1
- package/src/components/compound/DlDateTime/DlDatePicker/components/DlCalendar.vue +7 -3
- package/src/components/compound/DlDateTime/DlDateTimeRange/DlDateTimeRange.vue +7 -0
- package/src/components/compound/DlDateTime/DlTimePicker/components/DlTimeCounter.vue +4 -1
- package/src/components/compound/DlDateTime/DlTimePicker/components/DlTimePickerInput.vue +5 -7
package/package.json
CHANGED
|
@@ -212,10 +212,10 @@ export default defineComponent({
|
|
|
212
212
|
) {
|
|
213
213
|
style.cursor = 'not-allowed'
|
|
214
214
|
if (isToday && this.disabled) {
|
|
215
|
-
style.color = 'var(--
|
|
215
|
+
style.color = 'var(--dell-blue-500)'
|
|
216
216
|
style.opacity = disabledOpacity
|
|
217
217
|
} else if (isToday) {
|
|
218
|
-
style.color = 'var(--
|
|
218
|
+
style.color = 'var(--dell-blue-500)'
|
|
219
219
|
} else {
|
|
220
220
|
style.color = 'var(--dl-color-disabled)'
|
|
221
221
|
}
|
|
@@ -261,9 +261,13 @@ export default defineComponent({
|
|
|
261
261
|
// All other dates (including those outside range) should use dell-gray-800
|
|
262
262
|
style.color = 'var(--dell-gray-800)'
|
|
263
263
|
}
|
|
264
|
+
if (isToday) {
|
|
265
|
+
if (!style.backgroundColor?.includes('blue'))
|
|
266
|
+
style.color = 'var(--dell-blue-500)'
|
|
267
|
+
}
|
|
264
268
|
} else {
|
|
265
269
|
if (isToday) {
|
|
266
|
-
style.color = 'var(--
|
|
270
|
+
style.color = 'var(--dell-blue-500)'
|
|
267
271
|
|
|
268
272
|
if (this.disabled) {
|
|
269
273
|
style.opacity = disabledOpacity
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
self="top middle"
|
|
14
14
|
:offset="[0, 5]"
|
|
15
15
|
:disabled="disabled"
|
|
16
|
+
menu-class="dl-date-time-range--menu"
|
|
16
17
|
>
|
|
17
18
|
<date-time-range-content
|
|
18
19
|
v-bind="dateTimeRangeContentProps"
|
|
@@ -645,3 +646,9 @@ export default defineComponent({
|
|
|
645
646
|
justify-content: center;
|
|
646
647
|
}
|
|
647
648
|
</style>
|
|
649
|
+
<style lang="scss" global>
|
|
650
|
+
div.dl-menu.dl-date-time-range--menu {
|
|
651
|
+
border: 1px solid var(--dell-gray-200);
|
|
652
|
+
box-shadow: 0 8px 8px 0 var(--dell-shadow, rgba(0, 0, 0, 0.14));
|
|
653
|
+
}
|
|
654
|
+
</style>
|
|
@@ -71,7 +71,10 @@ export default defineComponent({
|
|
|
71
71
|
cursor: pointer;
|
|
72
72
|
color: var(--dl-color-darker);
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
&--item:not(&--item-active):hover {
|
|
75
|
+
background-color: var(--dell-blue-100);
|
|
76
|
+
border-radius: 11px;
|
|
77
|
+
}
|
|
75
78
|
&--item-active {
|
|
76
79
|
font-size: 12px;
|
|
77
80
|
color: var(--dl-color-text-buttons);
|
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
class="dl-time-picker-input--clock_img"
|
|
5
5
|
:class="{ 'dl-time-picker-input--clock_img-disabled': disabled }"
|
|
6
6
|
>
|
|
7
|
-
<dl-icon
|
|
8
|
-
icon="icon-dl-time"
|
|
9
|
-
size="16px"
|
|
10
|
-
/>
|
|
7
|
+
<dl-icon icon="icon-dl-time" size="16px" />
|
|
11
8
|
</div>
|
|
12
9
|
<div
|
|
13
10
|
class="dl-time-picker-input--text"
|
|
@@ -61,9 +58,7 @@
|
|
|
61
58
|
@click="handleMinuteDownChevronClick"
|
|
62
59
|
/>
|
|
63
60
|
</div>
|
|
64
|
-
<div class="dl-time-picker-input--dots">
|
|
65
|
-
:
|
|
66
|
-
</div>
|
|
61
|
+
<div class="dl-time-picker-input--dots">:</div>
|
|
67
62
|
</div>
|
|
68
63
|
</dl-menu>
|
|
69
64
|
</div>
|
|
@@ -310,5 +305,8 @@ export default defineComponent({
|
|
|
310
305
|
top: 46%;
|
|
311
306
|
left: 49%;
|
|
312
307
|
}
|
|
308
|
+
&:hover {
|
|
309
|
+
border-color: var(--dell-gray-800);
|
|
310
|
+
}
|
|
313
311
|
}
|
|
314
312
|
</style>
|