@enso-ui/filters 3.0.17 → 3.0.18

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.17",
3
+ "version": "3.0.18",
4
4
  "description": "Renderless Vue Filter Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,6 +1,5 @@
1
1
  <template>
2
- <vue-filter v-bind="$attrs"
3
- icons
2
+ <vue-filter icons
4
3
  :options="options"/>
5
4
  </template>
6
5
 
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <div class="date-filter is-paddingless">
2
+ <div class="date-filter is-paddingless"
3
+ :class="$attrs.class">
3
4
  <core-date-filter v-bind="$attrs">
4
5
  <template #default="{
5
6
  filters, filter, custom, minBindings, minEvents, maxBindings, maxEvents,
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <date-filter v-bind="$attrs"
2
+ <date-filter
3
3
  alt-input
4
4
  :alt-format="altFormat || meta.dateFormat"
5
5
  :i18n="i18n"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <vue-filter v-bind="$attrs"
2
+ <vue-filter
3
3
  :i18n="i18n"/>
4
4
  </template>
5
5
 
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <input-filter v-bind="$attrs"
2
+ <input-filter
3
3
  :i18n="i18n"/>
4
4
  </template>
5
5
 
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <interval-filter v-bind="$attrs"
2
+ <interval-filter
3
3
  :i18n="i18n"/>
4
4
  </template>
5
5
 
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <base-select-filter :compact="compact"
2
+ <base-select-filter :class="$attrs.class"
3
+ :compact="compact"
3
4
  :i18n="i18n"
4
5
  :name="name">
5
6
  <enso-select v-bind="{...$attrs, class: 'select-wrapper'}"
@@ -24,6 +25,8 @@ export default {
24
25
 
25
26
  inject: ['i18n'],
26
27
 
28
+ inheritAttrs: false,
29
+
27
30
  props: {
28
31
  compact: {
29
32
  type: Boolean,
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <toggle-filter v-bind="$attrs"
2
+ <toggle-filter
3
3
  :i18n="i18n"/>
4
4
  </template>
5
5
 
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <div class="interval-filter is-paddingless">
2
+ <div class="interval-filter is-paddingless"
3
+ :class="$attrs.class">
3
4
  <div v-if="!compact"
4
5
  class="header has-text-centered has-background-light">
5
6
  <b>{{ i18n(name) }}</b>
@@ -44,6 +45,8 @@ export default {
44
45
 
45
46
  components: { CoreInputFilter },
46
47
 
48
+ inheritAttrs: false,
49
+
47
50
  props: {
48
51
  compact: {
49
52
  type: Boolean,
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <div class="interval-filter is-paddingless">
2
+ <div class="interval-filter is-paddingless"
3
+ :class="$attrs.class">
3
4
  <div v-if="!compact"
4
5
  class="header has-text-centered has-background-light">
5
6
  <b>{{ i18n(name) }}</b>
@@ -59,6 +60,8 @@ export default {
59
60
 
60
61
  components: { CoreIntervalFilter },
61
62
 
63
+ inheritAttrs: false,
64
+
62
65
  props: {
63
66
  compact: {
64
67
  type: Boolean,
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <base-select-filter :compact="compact"
2
+ <base-select-filter :class="$attrs.class"
3
+ :compact="compact"
3
4
  :i18n="i18n"
4
5
  :name="name">
5
6
  <vue-select v-bind="{...$attrs, class: 'select-wrapper'}"
@@ -23,6 +24,8 @@ export default {
23
24
 
24
25
  components: { BaseSelectFilter, VueSelect },
25
26
 
27
+ inheritAttrs: false,
28
+
26
29
  props: {
27
30
  compact: {
28
31
  type: Boolean,