@itfin/components 2.0.14 → 2.0.15
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/assets/scss/components/_button.scss +4 -0
- package/src/assets/scss/main.scss +2 -2
- package/src/components/filter/FilterBadge.vue +1 -1
- package/src/components/filter/FilterPanel.vue +10 -1
- package/src/components/panels/Panel.vue +2 -2
- package/src/components/table/table2.scss +9 -0
- package/src/components/text-field/MoneyField.vue +1 -1
package/package.json
CHANGED
|
@@ -91,8 +91,8 @@ body .form-check-input:checked[type=checkbox] {
|
|
|
91
91
|
body .form-check-input:indeterminate[type=checkbox] {
|
|
92
92
|
box-shadow: 0px 2px 3px 0px #00000026;
|
|
93
93
|
}
|
|
94
|
-
.text-muted {
|
|
95
|
-
color: #
|
|
94
|
+
body .text-muted {
|
|
95
|
+
color: #7A818E !important;
|
|
96
96
|
}
|
|
97
97
|
body .form-control {
|
|
98
98
|
&:focus {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<itf-dropdown text ref="dropdown" autoclose="outside" shadow class="h-100">
|
|
2
|
+
<itf-dropdown text ref="dropdown" autoclose="outside" shadow class="h-100" append-to-context>
|
|
3
3
|
<template #button>
|
|
4
4
|
<div class="filter-pill rounded" :class="{'filter-not-default-pill': !isDefault && !isInvalid, 'filter-invalid-pill': isInvalid}">
|
|
5
5
|
<div class="filter-pill__label" :class="{'filter-pill__not-default-value': !isDefault && !isInvalid, 'filter-pill__default-value': isDefault, 'filter-pill__label-invalid': isInvalid}">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<slot name="after-filter-btn"></slot>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
|
-
<div v-if="showFilters" class="d-flex gap-2 flex-nowrap">
|
|
27
|
+
<div v-if="showFilters" class="d-flex gap-2 flex-nowrap filters-row">
|
|
28
28
|
<filter-badge
|
|
29
29
|
v-for="(facet, n) in visibleFilters"
|
|
30
30
|
:key="n"
|
|
@@ -61,6 +61,15 @@
|
|
|
61
61
|
color: #8E97A5;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
+
|
|
65
|
+
.filters-row {
|
|
66
|
+
@media (max-width: 768px) {
|
|
67
|
+
overflow: auto;
|
|
68
|
+
width: 100%;
|
|
69
|
+
padding: 2px;
|
|
70
|
+
margin: -2px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
64
73
|
}
|
|
65
74
|
</style>
|
|
66
75
|
<script>
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
<div v-if="!nocard" v-show="!collapsed" class="b-panel-header px-3 pt-3 pb-2">
|
|
14
14
|
<slot name="header">
|
|
15
|
-
<div class="d-flex gap-3 align-items-center">
|
|
15
|
+
<div class="d-flex gap-3 align-items-center text-truncate">
|
|
16
16
|
<itf-button v-if="closeable" icon default class="d-md-none" @click="closePanel">
|
|
17
17
|
<itf-icon name="chevron_left" />
|
|
18
18
|
</itf-button>
|
|
19
19
|
<slot name="title">
|
|
20
|
-
<div class="b-panel__title fw-bold mb-0 h2" v-text="title"></div>
|
|
20
|
+
<div class="b-panel__title fw-bold mb-0 h2 text-truncate" v-text="title"></div>
|
|
21
21
|
</slot>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="d-flex gap-1">
|
|
@@ -103,10 +103,19 @@ body[data-theme="dark"] {
|
|
|
103
103
|
padding-left: 5px;
|
|
104
104
|
display: flex;
|
|
105
105
|
align-items: center;
|
|
106
|
+
|
|
107
|
+
@media (max-width: 768px) {
|
|
108
|
+
position: relative;
|
|
109
|
+
opacity: 1;
|
|
110
|
+
}
|
|
106
111
|
}
|
|
107
112
|
.on-hover {
|
|
108
113
|
opacity: 0;
|
|
109
114
|
pointer-events: none;
|
|
115
|
+
|
|
116
|
+
@media (max-width: 768px) {
|
|
117
|
+
opacity: 1;
|
|
118
|
+
}
|
|
110
119
|
}
|
|
111
120
|
.table-row-template:hover .on-hover {
|
|
112
121
|
opacity: 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="itf-money-field ph-no-capture" :class="{'currency-arrow': !currencyDisabled, 'currency-select': currencySelect}">
|
|
3
|
-
<div :class="{'input-group h-100': noCurrencySign}" :style="`--itf-money-field-padding-left: ${noCurrencySign ? 1 : selectedCurrencySymbol.length * 0.6 + 1}rem`">
|
|
3
|
+
<div class="h-100" :class="{'input-group h-100': noCurrencySign}" :style="`--itf-money-field-padding-left: ${noCurrencySign ? 1 : selectedCurrencySymbol.length * 0.6 + 1}rem`">
|
|
4
4
|
<span class="itf-money-field__prepend" v-if="!noCurrencySign">{{ selectedCurrencySymbol }}</span>
|
|
5
5
|
<i-mask-component
|
|
6
6
|
ref="input"
|