bge-ui 1.5.8 → 1.5.9

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/dist/index.js CHANGED
@@ -6356,6 +6356,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
6356
6356
  function addPane(pane) {
6357
6357
  panes.value.push(pane);
6358
6358
  }
6359
+ watch(() => props.modelValue, () => {
6360
+ setTimeout(() => {
6361
+ update();
6362
+ }, 100);
6363
+ });
6359
6364
  function changeValue(value) {
6360
6365
  emits("update:modelValue", value);
6361
6366
  setTimeout(() => {
package/dist/style.css CHANGED
@@ -1619,8 +1619,6 @@ to {
1619
1619
  font-size: 14px;
1620
1620
  align-items: center;
1621
1621
  align-self: stretch;
1622
- overflow-y: auto;
1623
- max-height: 224px;
1624
1622
  }
1625
1623
  .bge-select .bge-select__wrapper .bge-select__inner {
1626
1624
  display: flex;
@@ -1665,6 +1663,8 @@ to {
1665
1663
  display: block;
1666
1664
  }
1667
1665
  .bge-select .bge-popper-wrapper {
1666
+ max-height: 224px;
1667
+ overflow-y: auto;
1668
1668
  min-width: 120px;
1669
1669
  width: 100%;
1670
1670
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bge-ui",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -110,8 +110,6 @@ const emits = defineEmits([
110
110
  font-size: 14px;
111
111
  align-items: center;
112
112
  align-self: stretch;
113
- overflow-y: auto;
114
- max-height: 224px;
115
113
 
116
114
  .bge-select__inner {
117
115
  display: flex;
@@ -177,6 +175,8 @@ const emits = defineEmits([
177
175
  }
178
176
 
179
177
  .bge-popper-wrapper {
178
+ max-height: 224px;
179
+ overflow-y: auto;
180
180
  min-width: 120px;
181
181
  width: 100%;
182
182
  .popper-content {
@@ -7,7 +7,7 @@
7
7
  </div>
8
8
  </template>
9
9
  <script setup lang="ts">
10
- import { provide, ref, onMounted } from "vue"
10
+ import { provide, ref, onMounted, watch } from "vue"
11
11
  defineOptions({
12
12
  name: "Tabs",
13
13
  })
@@ -35,11 +35,17 @@ function addPane(pane: any) {
35
35
  panes.value.push(pane)
36
36
  }
37
37
 
38
+ watch(() => props.modelValue, () => {
39
+ setTimeout(() => {
40
+ update()
41
+ }, 100)
42
+ })
43
+
38
44
  function changeValue(value: string) {
39
45
  emits('update:modelValue', value)
40
46
  setTimeout(() => {
41
47
  update()
42
- }, 100);
48
+ }, 100)
43
49
  }
44
50
 
45
51
  const tabsKey = 'bge-tabs-context'