@dataloop-ai/components 0.20.200 → 0.20.201
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/basic/DlAccordion/DlAccordion.vue +3 -3
- package/src/components/basic/DlAccordion/components/AccordionHeader.vue +2 -5
- package/src/components/basic/DlAlert/DlAlert.vue +10 -10
- package/src/components/compound/DlInput/DlInput.vue +2 -2
- package/src/components/compound/DlSelect/components/DlSelectOption.vue +1 -1
- package/src/components/essential/DlLabel/DlLabel.vue +4 -13
- package/src/components/essential/DlProgressBar/DlProgressBar.vue +3 -3
package/package.json
CHANGED
|
@@ -76,7 +76,7 @@ export default defineComponent({
|
|
|
76
76
|
title: { type: String, default: null },
|
|
77
77
|
fontSize: { type: String, default: '12px' },
|
|
78
78
|
fontWeight: { type: String, default: '400' },
|
|
79
|
-
titleColor: { type: String, default: '
|
|
79
|
+
titleColor: { type: String, default: 'dell-gray-600' },
|
|
80
80
|
modelValue: { type: Boolean, default: null },
|
|
81
81
|
rightSide: { type: Boolean, default: false },
|
|
82
82
|
isEmpty: Boolean,
|
|
@@ -147,11 +147,11 @@ export default defineComponent({
|
|
|
147
147
|
transition: all 300ms;
|
|
148
148
|
line-height: 16px;
|
|
149
149
|
padding: var(--dl-accordion-content-padding, 0 16px 15px 38px);
|
|
150
|
-
color: var(--
|
|
150
|
+
color: var(--dell-gray-800);
|
|
151
151
|
max-height: fit-content;
|
|
152
152
|
overflow: hidden;
|
|
153
153
|
&__border {
|
|
154
|
-
border-bottom: 1px solid var(--
|
|
154
|
+
border-bottom: 1px solid var(--dell-gray-300);
|
|
155
155
|
}
|
|
156
156
|
&.right-side {
|
|
157
157
|
padding: 0 38px 16px 16px;
|
|
@@ -75,12 +75,9 @@ export default defineComponent({
|
|
|
75
75
|
computed: {
|
|
76
76
|
accordionHeadStyles(): Record<string, string> {
|
|
77
77
|
return {
|
|
78
|
-
'--dl-title-color': getColor(
|
|
79
|
-
this.titleColor,
|
|
80
|
-
'dl-color-medium'
|
|
81
|
-
),
|
|
78
|
+
'--dl-title-color': getColor(this.titleColor, 'dell-gray-600'),
|
|
82
79
|
'--dl-expand-icon-color': `var(--${
|
|
83
|
-
this.isOpen ? '
|
|
80
|
+
this.isOpen ? 'dell-gray-800' : this.titleColor
|
|
84
81
|
})`,
|
|
85
82
|
'--dl-accordion-header-flex-direction': this.rightSide
|
|
86
83
|
? 'row-reverse'
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
class="close-button-icon"
|
|
34
34
|
data-test="close-button-icon"
|
|
35
35
|
icon="icon-dl-close"
|
|
36
|
-
color="
|
|
36
|
+
color="dell-gray-800"
|
|
37
37
|
size="16px"
|
|
38
38
|
@click="handleClose"
|
|
39
39
|
/>
|
|
@@ -104,17 +104,17 @@ const typeToIconMap: Record<DlAlertType, string> = {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
const typeToIconColorMap: Record<DlAlertType, string> = {
|
|
107
|
-
info: '
|
|
108
|
-
success: '
|
|
109
|
-
warning: '
|
|
110
|
-
error: '
|
|
107
|
+
info: 'dell-blue-500',
|
|
108
|
+
success: 'dell-green-500',
|
|
109
|
+
warning: 'dell-yellow-600',
|
|
110
|
+
error: 'dell-red-500'
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
const typeToBackgroundMap: Record<DlAlertType, string> = {
|
|
114
|
-
info: '
|
|
115
|
-
success: '
|
|
116
|
-
warning: '
|
|
117
|
-
error: '
|
|
114
|
+
info: 'dell-blue-200',
|
|
115
|
+
success: 'dell-green-200',
|
|
116
|
+
warning: 'dell-yellow-200',
|
|
117
|
+
error: 'dell-red-200'
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
export default defineComponent({
|
|
@@ -342,7 +342,7 @@ export default defineComponent({
|
|
|
342
342
|
|
|
343
343
|
.confirm-message {
|
|
344
344
|
margin: 0;
|
|
345
|
-
color: var(--
|
|
345
|
+
color: var(--dell-gray-800);
|
|
346
346
|
font-size: var(--dl-font-size-body);
|
|
347
347
|
line-height: 1.5;
|
|
348
348
|
}
|
|
@@ -987,7 +987,7 @@ export default defineComponent({
|
|
|
987
987
|
if (this.error) {
|
|
988
988
|
return `var(--dell-red-500)`
|
|
989
989
|
} else if (this.warning) {
|
|
990
|
-
return `var(--dell-yellow-
|
|
990
|
+
return `var(--dell-yellow-600)`
|
|
991
991
|
} else {
|
|
992
992
|
return `var(--dell-blue-500)`
|
|
993
993
|
}
|
|
@@ -1034,7 +1034,7 @@ export default defineComponent({
|
|
|
1034
1034
|
classes.push('dl-input__input--disabled')
|
|
1035
1035
|
}
|
|
1036
1036
|
|
|
1037
|
-
if (this.inputLength) {
|
|
1037
|
+
if (this.modelValue && this.inputLength) {
|
|
1038
1038
|
classes.push('dl-input__input--text-color')
|
|
1039
1039
|
} else {
|
|
1040
1040
|
classes.push('dl-input__input--placeholder-color')
|
|
@@ -268,7 +268,7 @@ export default defineComponent({
|
|
|
268
268
|
|
|
269
269
|
highlightedHtml = label.replace(
|
|
270
270
|
toReplace,
|
|
271
|
-
`<span style="background: var(--dell-yellow-
|
|
271
|
+
`<span style="background: var(--dell-yellow-600)">${getCaseInsensitiveInput(
|
|
272
272
|
label,
|
|
273
273
|
this.filterTerm
|
|
274
274
|
)}</span>`
|
|
@@ -8,10 +8,7 @@
|
|
|
8
8
|
>
|
|
9
9
|
<div class="dl-label__prefix">
|
|
10
10
|
<slot name="prefix">
|
|
11
|
-
<div
|
|
12
|
-
v-if="indicatorColor"
|
|
13
|
-
class="dl-label__line"
|
|
14
|
-
/>
|
|
11
|
+
<div v-if="indicatorColor" class="dl-label__line" />
|
|
15
12
|
</slot>
|
|
16
13
|
</div>
|
|
17
14
|
<div class="dl-label__content">
|
|
@@ -22,10 +19,7 @@
|
|
|
22
19
|
:class="!suffix && fluid ? 'dl-label__fluid' : ''"
|
|
23
20
|
:text="text"
|
|
24
21
|
/>
|
|
25
|
-
<dl-ellipsis
|
|
26
|
-
v-else
|
|
27
|
-
class="dl-label__text"
|
|
28
|
-
>
|
|
22
|
+
<dl-ellipsis v-else class="dl-label__text">
|
|
29
23
|
<slot name="default" />
|
|
30
24
|
</dl-ellipsis>
|
|
31
25
|
<span
|
|
@@ -42,10 +36,7 @@
|
|
|
42
36
|
class="dl-label__suffix"
|
|
43
37
|
>
|
|
44
38
|
<div class="dl-label__suffix-slot">
|
|
45
|
-
<slot
|
|
46
|
-
v-if="mouseOver"
|
|
47
|
-
name="actions"
|
|
48
|
-
/>
|
|
39
|
+
<slot v-if="mouseOver" name="actions" />
|
|
49
40
|
</div>
|
|
50
41
|
<slot name="hint">
|
|
51
42
|
<dl-icon
|
|
@@ -113,7 +104,7 @@ export default defineComponent({
|
|
|
113
104
|
*/
|
|
114
105
|
color: {
|
|
115
106
|
type: String,
|
|
116
|
-
default: '
|
|
107
|
+
default: 'dell-gray-800'
|
|
117
108
|
},
|
|
118
109
|
/**
|
|
119
110
|
* Will fill the container size its given
|
|
@@ -117,14 +117,14 @@ export default defineComponent({
|
|
|
117
117
|
margin: 0;
|
|
118
118
|
font-size: var(--dl-font-size-body);
|
|
119
119
|
line-height: 1;
|
|
120
|
-
color: var(--
|
|
120
|
+
color: var(--dell-gray-800);
|
|
121
121
|
}
|
|
122
122
|
.dl-progress-bar {
|
|
123
123
|
overflow: hidden;
|
|
124
124
|
width: 100%;
|
|
125
125
|
height: var(--dl-progress-bar-height);
|
|
126
126
|
border-radius: 2px;
|
|
127
|
-
background-color: var(--
|
|
127
|
+
background-color: var(--dell-gray-300);
|
|
128
128
|
margin: 6px 0;
|
|
129
129
|
}
|
|
130
130
|
.dl-progress-bar-indicator {
|
|
@@ -156,7 +156,7 @@ export default defineComponent({
|
|
|
156
156
|
line-height: 12px;
|
|
157
157
|
text-transform: capitalize;
|
|
158
158
|
font-feature-settings: 'cpsp' on;
|
|
159
|
-
color: var(--
|
|
159
|
+
color: var(--dell-gray-500);
|
|
160
160
|
}
|
|
161
161
|
@keyframes indeterminate-loading {
|
|
162
162
|
0% {
|