@dataloop-ai/components 0.20.238 → 0.20.240

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.20.238",
3
+ "version": "0.20.240",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -23,7 +23,7 @@
23
23
  "check-only": "if grep -E -H -r --exclude-dir=.git --exclude-dir=node_modules --exclude=*.json --exclude=*.yml '^(describe|it).only' .; then echo 'Found only in test files' && exit 1; fi"
24
24
  },
25
25
  "dependencies": {
26
- "@dataloop-ai/icons": "^3.1.68",
26
+ "@dataloop-ai/icons": "^3.1.69",
27
27
  "@monaco-editor/loader": "^1.4.0",
28
28
  "@types/flat": "^5.0.2",
29
29
  "@types/lodash": "^4.14.184",
@@ -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(--dl-color-secondary)'
215
+ style.color = 'var(--dell-blue-500)'
216
216
  style.opacity = disabledOpacity
217
217
  } else if (isToday) {
218
- style.color = 'var(--dl-color-secondary)'
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(--dl-color-secondary)'
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>