@itfin/components 1.3.61 → 1.3.63
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
|
@@ -4,7 +4,7 @@ body[data-theme="dark"] {
|
|
|
4
4
|
--bs-primary: $primary !important;
|
|
5
5
|
--bs-link-color-rgb: 255, 232, 112 !important;
|
|
6
6
|
|
|
7
|
-
--bs-body-bg: #
|
|
7
|
+
--bs-body-bg: #1b1f22;
|
|
8
8
|
--bs-body-color: #{$dark-body-color};
|
|
9
9
|
--bs-link-color: #{$dark-link-color};
|
|
10
10
|
--bs-link-hover-color: #{darken($dark-link-color, 10%)};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="itf-monthpicker
|
|
2
|
+
<div class="itf-monthpicker" :class="{'with-addon addon-start': prependIcon}">
|
|
3
3
|
<div class="addon" v-if="prependIcon">
|
|
4
4
|
<slot name="addon">
|
|
5
5
|
<itf-icon :name="prependIcon" />
|
|
@@ -16,17 +16,6 @@
|
|
|
16
16
|
:value="displayValue"
|
|
17
17
|
:placeholder="placeholder"
|
|
18
18
|
/>
|
|
19
|
-
<div class="addon-end" v-if="clearable && value">
|
|
20
|
-
<slot name="clear">
|
|
21
|
-
<itf-button
|
|
22
|
-
icon
|
|
23
|
-
small
|
|
24
|
-
@click="$emit('input', '')"
|
|
25
|
-
>
|
|
26
|
-
<itf-icon name="close" />
|
|
27
|
-
</itf-button>
|
|
28
|
-
</slot>
|
|
29
|
-
</div>
|
|
30
19
|
<div style="display: none">
|
|
31
20
|
<div ref="dropdown" class="itf-monthpicker__dropdown border rounded">
|
|
32
21
|
<div>
|
|
@@ -53,12 +42,10 @@ import { DateTime } from 'luxon';
|
|
|
53
42
|
import tippy from 'tippy.js';
|
|
54
43
|
import itfIcon from '../icon/Icon';
|
|
55
44
|
import itfDatePickerInline from './DatePickerInline.vue';
|
|
56
|
-
import itfButton from "../button/Button.vue";
|
|
57
45
|
|
|
58
46
|
export default @Component({
|
|
59
47
|
name: 'itfMonthPicker',
|
|
60
48
|
components: {
|
|
61
|
-
itfButton,
|
|
62
49
|
itfIcon,
|
|
63
50
|
itfDatePickerInline
|
|
64
51
|
},
|
|
@@ -77,8 +64,6 @@ class itfMonthPicker extends Vue {
|
|
|
77
64
|
@Prop({ type: String, default: '' }) prependIcon;
|
|
78
65
|
@Prop({ type: String, default: 'bottom-start' }) placement;
|
|
79
66
|
|
|
80
|
-
@Prop(Boolean) clearable;
|
|
81
|
-
|
|
82
67
|
focused = false;
|
|
83
68
|
|
|
84
69
|
tooltip = null;
|
|
@@ -26,10 +26,12 @@
|
|
|
26
26
|
}
|
|
27
27
|
// dark
|
|
28
28
|
body[data-theme="dark"] {
|
|
29
|
+
--itf-table-bg: var(--bs-body-bg);
|
|
30
|
+
--itf-table-alt-bg: #121212;
|
|
29
31
|
--itf-table-hover-bg: #393b41;
|
|
30
32
|
--itf-table-header-bg: #0f0f0f;
|
|
31
33
|
--itf-table-hover-header-bg: #252525;
|
|
32
|
-
--itf-table-border-color:
|
|
34
|
+
--itf-table-border-color: #383b41;
|
|
33
35
|
--itf-table-input-focus-border-color: #252525;
|
|
34
36
|
--itf-table-selected-bg: #011534;
|
|
35
37
|
--itf-table-summary-text: #82909d80;
|