@dataloop-ai/components 0.16.43 → 0.16.44
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
|
@@ -217,13 +217,6 @@ export default defineComponent({
|
|
|
217
217
|
background-color: var(--dl-chip-bg-color);
|
|
218
218
|
border: var(--dl-chip-border);
|
|
219
219
|
|
|
220
|
-
.first-letter-capitalized {
|
|
221
|
-
&::first-letter,
|
|
222
|
-
& > *::first-letter {
|
|
223
|
-
text-transform: capitalize;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
220
|
&--content {
|
|
228
221
|
cursor: default;
|
|
229
222
|
width: auto;
|
|
@@ -237,6 +230,14 @@ export default defineComponent({
|
|
|
237
230
|
overflow: hidden;
|
|
238
231
|
}
|
|
239
232
|
}
|
|
233
|
+
|
|
234
|
+
.dl-chip.first-letter-capitalized {
|
|
235
|
+
&::first-letter,
|
|
236
|
+
& > *::first-letter {
|
|
237
|
+
text-transform: capitalize;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
240
241
|
.dl-chip-remove-icon-container {
|
|
241
242
|
cursor: var(--dl-chip-left-icon-cursor);
|
|
242
243
|
position: absolute;
|
package/src/demo/DlChipDemo.vue
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<DlChip
|
|
67
67
|
removable
|
|
68
68
|
icon="icon-dl-search"
|
|
69
|
-
label="
|
|
69
|
+
label="chip filled"
|
|
70
70
|
@remove="log('test')"
|
|
71
71
|
/>
|
|
72
72
|
<DlChip
|
|
@@ -78,19 +78,19 @@
|
|
|
78
78
|
removable
|
|
79
79
|
icon="icon-dl-search"
|
|
80
80
|
outlined
|
|
81
|
-
label="
|
|
81
|
+
label="chip outlined"
|
|
82
82
|
@remove="log('test')"
|
|
83
83
|
/>
|
|
84
84
|
<DlChip
|
|
85
85
|
removable
|
|
86
86
|
icon="icon-dl-search"
|
|
87
87
|
disabled
|
|
88
|
-
label="
|
|
88
|
+
label="chip disabled"
|
|
89
89
|
@remove="log('test')"
|
|
90
90
|
/>
|
|
91
91
|
<DlChip
|
|
92
92
|
removable
|
|
93
|
-
label="
|
|
93
|
+
label="ellipsed Chip with a multiple words"
|
|
94
94
|
icon="icon-dl-search"
|
|
95
95
|
@remove="log('test')"
|
|
96
96
|
/>
|
|
@@ -130,7 +130,17 @@
|
|
|
130
130
|
<DlChip
|
|
131
131
|
ref="removableChip"
|
|
132
132
|
removable
|
|
133
|
-
label="
|
|
133
|
+
label="ellipsed Chip with a multiple words"
|
|
134
|
+
/>
|
|
135
|
+
</div>
|
|
136
|
+
<h4>Chips with no text transform</h4>
|
|
137
|
+
<div
|
|
138
|
+
class="col"
|
|
139
|
+
style="margin-bottom: 30px"
|
|
140
|
+
>
|
|
141
|
+
<DlChip
|
|
142
|
+
label="ellipsed Chip with a multiple words"
|
|
143
|
+
transform="none"
|
|
134
144
|
/>
|
|
135
145
|
</div>
|
|
136
146
|
<div class="col">
|