@enso-ui/filters 3.0.24 → 3.0.26

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/filters",
3
- "version": "3.0.24",
3
+ "version": "3.0.26",
4
4
  "description": "Renderless Vue Filter Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="vue-filter is-paddingless">
3
3
  <div v-if="!compact"
4
- class="header has-text-centered has-background-light">
4
+ class="header has-text-centered has-background-light px-2">
5
5
  <b>{{ i18n(name) }}</b>
6
6
  </div>
7
7
  <slot/>
@@ -6,7 +6,7 @@
6
6
  filters, filter, custom, minBindings, minEvents, maxBindings, maxEvents,
7
7
  direction, directionBindings, directionEvents, backEvents, filterEvents,
8
8
  }">
9
- <div class="header has-text-centered has-background-light"
9
+ <div class="header has-text-centered has-background-light px-2"
10
10
  v-if="!compact">
11
11
  <strong>
12
12
  {{ label(custom) }}
@@ -2,7 +2,7 @@
2
2
  <div class="input-filter is-paddingless"
3
3
  :class="$attrs.class">
4
4
  <div v-if="!compact"
5
- class="header has-text-centered has-background-light">
5
+ class="header has-text-centered has-background-light px-2">
6
6
  <b>{{ i18n(name) }}</b>
7
7
  </div>
8
8
  <div v-tooltip="compact ? i18n(name) : null"
@@ -2,7 +2,7 @@
2
2
  <div class="interval-filter is-paddingless"
3
3
  :class="$attrs.class">
4
4
  <div v-if="!compact"
5
- class="header has-text-centered has-background-light">
5
+ class="header has-text-centered has-background-light px-2">
6
6
  <b>{{ i18n(name) }}</b>
7
7
  </div>
8
8
  <div v-tooltip="compact ? i18n(name) : null"
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="vue-filter is-paddingless">
3
3
  <div v-if="!compact"
4
- class="header has-text-centered has-background-light">
4
+ class="header has-text-centered has-background-light px-2">
5
5
  <strong>{{ i18n(name) }}</strong>
6
6
  <span v-if="readonly"
7
7
  class="icon lock has-text-muted">
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="vue-filter is-paddingless">
3
3
  <div v-if="!compact"
4
- class="header has-text-centered has-background-light">
4
+ class="header has-text-centered has-background-light px-2">
5
5
  <strong>{{ i18n(name) }}</strong>
6
6
  <span v-if="readonly"
7
7
  class="icon lock has-text-muted">
@@ -25,12 +25,7 @@
25
25
  <span v-else
26
26
  class="filter-label"
27
27
  :class="option.class">
28
- <template v-if="translatable">
29
- {{ i18n(option.label) }}
30
- </template>
31
- <template v-else>
32
- {{ option.label }}
33
- </template>
28
+ {{ i18n(option.label) }}
34
29
  </span>
35
30
  </a>
36
31
  </li>
@@ -102,10 +97,6 @@ export default {
102
97
  type: Boolean,
103
98
  default: false,
104
99
  },
105
- translatable: {
106
- type: Boolean,
107
- default: false,
108
- },
109
100
  name: {
110
101
  type: String,
111
102
  default: null,