@eturnity/eturnity_reusable_components 1.0.64 → 1.0.68
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
|
@@ -297,7 +297,7 @@ export default {
|
|
|
297
297
|
this.isFocused = true
|
|
298
298
|
},
|
|
299
299
|
formatWithCurrency(value) {
|
|
300
|
-
if (value && !this.isFocused) {
|
|
300
|
+
if ((value || value === 0) && !this.isFocused) {
|
|
301
301
|
let input = numberToString({
|
|
302
302
|
value: value,
|
|
303
303
|
numberPrecision: this.numberPrecision,
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<container>
|
|
3
3
|
<flex-wrapper :size="size">
|
|
4
|
-
<label-text
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
<label-text
|
|
5
|
+
v-if="labelAlign === 'left'"
|
|
6
|
+
:size="size"
|
|
7
|
+
@click="onToggleChange"
|
|
8
|
+
>{{ label }}</label-text
|
|
9
|
+
>
|
|
7
10
|
<toggle-wrapper
|
|
8
11
|
role="checkbox"
|
|
9
12
|
:checked="isChecked"
|
|
@@ -106,6 +106,8 @@ const TableContainer = styled.table`
|
|
|
106
106
|
&.empty {
|
|
107
107
|
height: 100px;
|
|
108
108
|
text-align: center;
|
|
109
|
+
cursor: default;
|
|
110
|
+
background-color: #fff !important;
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
&.no-border {
|
|
@@ -193,6 +195,7 @@ const TableContainer = styled.table`
|
|
|
193
195
|
}
|
|
194
196
|
|
|
195
197
|
.icons-container {
|
|
198
|
+
padding-right: 2px; // so that the icons are not cut off when hovering
|
|
196
199
|
width: 1%; // necessary so it doesn't take up too much white space
|
|
197
200
|
display: table-cell;
|
|
198
201
|
flex-wrap: nowrap;
|