aloha-vue 1.2.151 → 1.2.153

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.151",
17
+ "version": "1.2.153",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -167,6 +167,11 @@ export default {
167
167
  required: false,
168
168
  default: () => modalPluginOptions.value.propsDefault.selectorCloseIds,
169
169
  },
170
+ showCloseButton: {
171
+ type: Boolean,
172
+ required: false,
173
+ default: true,
174
+ },
170
175
  size: {
171
176
  type: String,
172
177
  validator: value => ["small", "large", "xl", "xxl", "fullscreen"].indexOf(value) !== -1,
@@ -322,13 +327,13 @@ export default {
322
327
  extra: this.extra,
323
328
  }),
324
329
  ]),
325
- h(AButton, {
330
+ this.showCloseButton ? h(AButton, {
326
331
  class: "a_btn_close",
327
332
  disabled: this.disabledLocal,
328
333
  textScreenReader: this.closeButtonText,
329
334
  title: this.closeButtonText,
330
335
  onClick: () => this.close(true),
331
- })
336
+ }) : "",
332
337
  ]),
333
338
  h("div", {
334
339
  ref: "modal_body",
@@ -30,6 +30,7 @@ export default {
30
30
  isModalHidden: isModalHidden.value,
31
31
  isConfirm: true,
32
32
  ...confirmOptions.value,
33
+ showCloseButton: false,
33
34
  close: closeConfirm,
34
35
  };
35
36
  });
@@ -93,7 +93,6 @@
93
93
  .a_select_menu__child {
94
94
  max-height: var(--a_select_menu_max_height);
95
95
  overflow: auto;
96
- overflow-y: hidden;
97
96
  }
98
97
 
99
98
  .a_select_list {
@@ -122,6 +121,7 @@
122
121
  word-wrap: break-word;
123
122
  word-break: break-word;
124
123
  hyphens: auto;
124
+ overflow-y: hidden;
125
125
  &:not(.a_select__menu__link_disabled) {
126
126
  &:hover {
127
127
  background-color: var(--a_select_menu_link_hover_bg);