aloha-vue 1.2.142 → 1.2.143

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.142",
17
+ "version": "1.2.143",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -135,6 +135,10 @@ export default {
135
135
  required: false,
136
136
  default: undefined,
137
137
  },
138
+ hasScrollClass: {
139
+ type: Boolean,
140
+ required: false,
141
+ },
138
142
  id: {
139
143
  type: String,
140
144
  required: false,
@@ -798,7 +802,7 @@ export default {
798
802
  h("div", {
799
803
  ref: "aTableRef",
800
804
  class: ["a_table__parent", {
801
- a_table__parent_scrollable: !this.modelIsTableWithoutScrollComputed,
805
+ a_table__parent_scrollable: this.hasScrollClass && !this.modelIsTableWithoutScrollComputed,
802
806
  }],
803
807
  }, [
804
808
  h(ATableTopPanel, {
@@ -6,7 +6,9 @@ export default function FocusAPI() {
6
6
  const componentRef = ref(undefined);
7
7
 
8
8
  const setFocusToComponent = () => {
9
- componentRef.value?.focus();
9
+ componentRef.value?.focus({ preventScroll: true });
10
+ // smooth scrolling to element nearest alignment
11
+ // componentRef.value?.scrollIntoView({ block: "nearest", inline: "nearest", behavior: "smooth", });
10
12
  };
11
13
 
12
14
  return {
@@ -140,7 +140,7 @@ export default function ColumnsGroupedAPI(props, {
140
140
  class: "a_table__th_child_group",
141
141
  }, [
142
142
  h("div", {
143
- class: "a_table__cell_group",
143
+ class: "a_table__cell_group a_text_center",
144
144
  }, [
145
145
  group.id && h(ATranslation, {
146
146
  html: group.id,