@itfin/components 1.0.112 → 1.0.113

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": "@itfin/components",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "main": "dist/itfin-components.umd.js",
5
5
  "unpkg": "dist/itfin-components.common.js",
6
6
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
@@ -32,7 +32,7 @@
32
32
  margin-right: 0;
33
33
  padding-bottom: calc(var(--itf-tabs-tab-padding) * 3);
34
34
 
35
- .itf-tab {
35
+ & > .itf-tab {
36
36
  padding: var(--itf-tabs-tab-padding) 10px 0;
37
37
  width: calc(100% - 2px);
38
38
  margin-bottom: calc(var(--itf-tabs-tab-padding) * 1.5);
@@ -79,7 +79,7 @@
79
79
  }
80
80
  }
81
81
  }
82
- .itf-tabs-content {
82
+ & > .itf-tabs-content {
83
83
  flex-grow: 1;
84
84
  z-index: 1;
85
85
  margin-right: -1px;
@@ -97,7 +97,7 @@
97
97
  justify-content: start;
98
98
  flex-wrap: wrap;
99
99
 
100
- .itf-tab {
100
+ & > .itf-tab {
101
101
  white-space: nowrap;
102
102
  display: block;
103
103
  //float: right;
@@ -170,7 +170,7 @@
170
170
  }
171
171
  }
172
172
  .itf-tabs-content {
173
- .itf-tab-content {
173
+ & > .itf-tab-content {
174
174
  height: 100%;
175
175
 
176
176
  &.filled {
@@ -21,7 +21,7 @@ class ValidatableMixin extends Vue {
21
21
  @Prop({ type: [String, Array], default: () => [] }) errorMessages;
22
22
  @Prop({ type: [String, Array], default: () => [] }) successMessages;
23
23
  @Prop({ type: [String, Array], default: () => [] }) messages;
24
- @Prop({ type: Array, default: () => [] }) rules;
24
+ @Prop({ type: Array, default: () => [], validator: (value) => Array.isArray(value) }) rules;
25
25
  @Prop({ required: false }) value;
26
26
 
27
27
  errorBucket = [];