aloha-vue 1.2.243 → 1.2.244

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
@@ -14,7 +14,7 @@
14
14
  "Vue.js"
15
15
  ],
16
16
  "homepage": "https://github.com/ilia-brykin/aloha/#README.md",
17
- "version": "1.2.243",
17
+ "version": "1.2.244",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -359,8 +359,12 @@ export default {
359
359
  round: [],
360
360
  };
361
361
 
362
- if (props.type in validSubTypes) {
363
- return isNil(value) || validSubTypes[props.type].indexOf(value) !== -1;
362
+ if (props) {
363
+ if (props.type in validSubTypes) {
364
+ return isNil(value) || validSubTypes[props.type].indexOf(value) !== -1;
365
+ }
366
+ } else {
367
+ return ["square", "circle", "square-bordered", "circle-bordered"].indexOf(value) !== -1;
364
368
  }
365
369
 
366
370
  return false;
@@ -243,8 +243,12 @@ export default {
243
243
  round: [],
244
244
  };
245
245
 
246
- if (props.type in validSubTypes) {
247
- return isNil(value) || validSubTypes[props.type].indexOf(value) !== -1;
246
+ if (props) {
247
+ if (props.type in validSubTypes) {
248
+ return isNil(value) || validSubTypes[props.type].indexOf(value) !== -1;
249
+ }
250
+ } else {
251
+ return ["square", "circle", "square-bordered", "circle-bordered"].indexOf(value) !== -1;
248
252
  }
249
253
 
250
254
  return false;
@@ -27,3 +27,8 @@
27
27
  padding-bottom: var(--a_modal_padding);
28
28
  }
29
29
  }
30
+ .a_modal_footer_actions {
31
+ display: flex;
32
+ flex-direction: row;
33
+ align-items: center;
34
+ }