aloha-vue 1.2.95 → 1.2.97

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.
@@ -60,6 +60,24 @@ export default {
60
60
  id: "integerNumber",
61
61
  label: "Integer range",
62
62
  },
63
+ {
64
+ type: "select",
65
+ id: "select1",
66
+ label: "Select 1",
67
+ alwaysVisible: true,
68
+ keyLabel: "label",
69
+ keyId: "id",
70
+ data: [
71
+ {
72
+ label: "Aloha 0",
73
+ id: "aloha_0",
74
+ },
75
+ {
76
+ label: "Aloha 1",
77
+ id: "aloha_1",
78
+ },
79
+ ],
80
+ },
63
81
  ];
64
82
 
65
83
  const appliedModel = ref({});
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.95",
17
+ "version": "1.2.97",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "scripts": {
40
40
  "build-icons": "node scriptsNode/iconsSvgToJs.js bootstrap3 && node scriptsNode/iconsSvgToJs.js bootstrap-1-9-1",
41
- "publish": "npm publish --scope=@npm",
41
+ "pub": "npm publish --scope=@npm",
42
42
  "test": "jest"
43
43
  },
44
44
  "dependencies": {
@@ -105,6 +105,7 @@
105
105
  }
106
106
  .a_table__row {
107
107
  display: flex;
108
+ min-width: min-content;
108
109
  border-bottom: var(--a_table_row_border_bottom_width) solid var(--a_table_row_border_bottom_color);
109
110
  background-color: var(--a_table_bg);
110
111
  &:focus {
@@ -158,6 +158,10 @@ export default function ToggleAPI(props, {
158
158
  ]
159
159
  },
160
160
  ).then(({ x, y }) => {
161
+ if (!buttonRef.value.clientWidth) { // if button hide
162
+ closePopover();
163
+ return;
164
+ }
161
165
  const SOURCE = {
162
166
  left: `${ x }px`,
163
167
  top: `${ y }px`,