@dataloop-ai/components 0.16.51 → 0.16.53
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
|
@@ -209,8 +209,7 @@ export default defineComponent({
|
|
|
209
209
|
border-radius: 2px;
|
|
210
210
|
padding: var(--dl-chip-padding);
|
|
211
211
|
outline: 0;
|
|
212
|
-
min-width: 18px;
|
|
213
|
-
max-height: 18px; // +2px from borders
|
|
212
|
+
min-width: 18px;
|
|
214
213
|
min-height: 12px;
|
|
215
214
|
max-width: var(--dl-chip-max-width);
|
|
216
215
|
color: var(--dl-chip-text-color);
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
v-if="split"
|
|
4
4
|
:id="uuid"
|
|
5
5
|
:class="identifierClass"
|
|
6
|
-
class="dl-
|
|
6
|
+
class="dl-button-dropdown dl-button-dropdown--split no-wrap dl-button-item"
|
|
7
7
|
:outlined="outlined"
|
|
8
8
|
:flat="flat"
|
|
9
9
|
:stretch="stretch"
|
|
10
10
|
>
|
|
11
11
|
<dl-button
|
|
12
|
-
class="dl-
|
|
12
|
+
class="dl-button-dropdown--current"
|
|
13
13
|
:style="mainBtnStyle"
|
|
14
14
|
:label="label"
|
|
15
15
|
:outlined="outlined"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@click="onClickHide"
|
|
35
35
|
/>
|
|
36
36
|
<dl-button
|
|
37
|
-
class="dl-
|
|
37
|
+
class="dl-button-dropdown__arrow-container"
|
|
38
38
|
:style="btnCSSStyles"
|
|
39
39
|
:disabled="disabled === true || disableDropdown === true"
|
|
40
40
|
:outlined="outlined"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
:tooltip="tooltip"
|
|
55
55
|
>
|
|
56
56
|
<div
|
|
57
|
-
class="dl-
|
|
57
|
+
class="dl-button-dropdown--separator"
|
|
58
58
|
:style="`
|
|
59
59
|
background-color: ${
|
|
60
60
|
disabled
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
</button-group>
|
|
105
105
|
<dl-button
|
|
106
106
|
v-else
|
|
107
|
-
class="dl-
|
|
107
|
+
class="dl-button-dropdown dl-button-dropdown--simple"
|
|
108
108
|
v-bind="$props"
|
|
109
109
|
label=""
|
|
110
110
|
:aria-expanded="showing"
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
:max-width="maxWidth"
|
|
122
122
|
@click="onClick"
|
|
123
123
|
>
|
|
124
|
-
<div class="dl-
|
|
124
|
+
<div class="dl-button-dropdown--simple__title">
|
|
125
125
|
<span
|
|
126
126
|
:class="{
|
|
127
127
|
'dl-button-no-wrap': noWrap
|
|
@@ -292,19 +292,19 @@ export default defineComponent({
|
|
|
292
292
|
|
|
293
293
|
const iconClass = computed(() => {
|
|
294
294
|
return (
|
|
295
|
-
'dl-
|
|
295
|
+
'dl-button-dropdown__arrow' +
|
|
296
296
|
(showing.value === true && props.noIconAnimation === false
|
|
297
297
|
? ' rotate-180'
|
|
298
298
|
: '') +
|
|
299
299
|
(props.split === false
|
|
300
|
-
? ' dl-
|
|
300
|
+
? ' dl-button-dropdown__arrow-container'
|
|
301
301
|
: '')
|
|
302
302
|
)
|
|
303
303
|
})
|
|
304
304
|
|
|
305
305
|
const btnCSSStyles = computed(() => {
|
|
306
306
|
return {
|
|
307
|
-
'--dl-
|
|
307
|
+
'--dl-button-border-left': props.outlined
|
|
308
308
|
? 'none'
|
|
309
309
|
: 'var(--dl-color-white)'
|
|
310
310
|
}
|
|
@@ -423,9 +423,9 @@ export default defineComponent({
|
|
|
423
423
|
overflow: hidden;
|
|
424
424
|
text-overflow: ellipsis;
|
|
425
425
|
}
|
|
426
|
-
.dl-
|
|
427
|
-
padding-right: var(--dl-
|
|
428
|
-
&--split .dl-
|
|
426
|
+
.dl-button-dropdown {
|
|
427
|
+
padding-right: var(--dl-button-padding-right) !important;
|
|
428
|
+
&--split .dl-button-dropdown__arrow-container {
|
|
429
429
|
// padding: 0 4px;
|
|
430
430
|
::v-deep .dl-button {
|
|
431
431
|
border-top-left-radius: 0 !important;
|
|
@@ -513,8 +513,8 @@ export default defineComponent({
|
|
|
513
513
|
}
|
|
514
514
|
</style>
|
|
515
515
|
<style lang="scss">
|
|
516
|
-
.dl-
|
|
517
|
-
.dl-
|
|
516
|
+
.dl-button-dropdown {
|
|
517
|
+
.dl-button-content {
|
|
518
518
|
line-height: unset;
|
|
519
519
|
}
|
|
520
520
|
}
|