@waggylabs/yumekit 0.4.1-beta.75 → 0.4.1

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.
@@ -760,6 +760,7 @@ class YumeMenu extends HTMLElement {
760
760
  this.style.position = "fixed";
761
761
  this.style.zIndex = "1000";
762
762
  this.style.display = "none";
763
+ if (this.visible) this._updatePosition();
763
764
  }
764
765
 
765
766
  disconnectedCallback() {
@@ -27,16 +27,33 @@ declare namespace _default {
27
27
  }
28
28
  export { table_1 as table };
29
29
  }
30
+ namespace visible {
31
+ let control_2: string;
32
+ export { control_2 as control };
33
+ let description_2: string;
34
+ export { description_2 as description };
35
+ export namespace table_2 {
36
+ export namespace defaultValue_2 {
37
+ let summary_2: boolean;
38
+ export { summary_2 as summary };
39
+ }
40
+ export { defaultValue_2 as defaultValue };
41
+ }
42
+ export { table_2 as table };
43
+ }
30
44
  }
31
45
  export namespace args {
32
46
  let position_1: string;
33
47
  export { position_1 as position };
34
48
  let resizable_1: boolean;
35
49
  export { resizable_1 as resizable };
50
+ let visible_1: boolean;
51
+ export { visible_1 as visible };
36
52
  }
37
- export function render({ position, resizable }: {
53
+ export function render({ position, resizable, visible }: {
38
54
  position: any;
39
55
  resizable: any;
56
+ visible: any;
40
57
  }): string;
41
58
  }
42
59
  export default _default;
@@ -35,6 +35,20 @@ declare namespace _default {
35
35
  }
36
36
  export { table_1 as table };
37
37
  }
38
+ namespace visible {
39
+ let control_3: string;
40
+ export { control_3 as control };
41
+ let description_3: string;
42
+ export { description_3 as description };
43
+ export namespace table_2 {
44
+ export namespace defaultValue_2 {
45
+ let summary_2: boolean;
46
+ export { summary_2 as summary };
47
+ }
48
+ export { defaultValue_2 as defaultValue };
49
+ }
50
+ export { table_2 as table };
51
+ }
38
52
  }
39
53
  export namespace args {
40
54
  export { defaultItems as items };
@@ -42,11 +56,14 @@ declare namespace _default {
42
56
  export { direction_1 as direction };
43
57
  let size_1: string;
44
58
  export { size_1 as size };
59
+ let visible_1: boolean;
60
+ export { visible_1 as visible };
45
61
  }
46
- export function render({ items, direction, size }: {
62
+ export function render({ items, direction, size, visible }: {
47
63
  items: any;
48
64
  direction: any;
49
65
  size: any;
66
+ visible: any;
50
67
  }): string;
51
68
  }
52
69
  export default _default;
@@ -30,6 +30,7 @@ class YumeMenu extends HTMLElement {
30
30
  this.style.position = "fixed";
31
31
  this.style.zIndex = "1000";
32
32
  this.style.display = "none";
33
+ if (this.visible) this._updatePosition();
33
34
  }
34
35
 
35
36
  disconnectedCallback() {
@@ -110,6 +110,12 @@ declare namespace _default {
110
110
  }
111
111
  export { table_6 as table };
112
112
  }
113
+ namespace label {
114
+ let control_9: string;
115
+ export { control_9 as control };
116
+ let description_9: string;
117
+ export { description_9 as description };
118
+ }
113
119
  }
114
120
  namespace args {
115
121
  export { defaultOptions as options };
@@ -129,8 +135,10 @@ declare namespace _default {
129
135
  export { disabled_1 as disabled };
130
136
  let invalid_1: boolean;
131
137
  export { invalid_1 as invalid };
138
+ let label_1: string;
139
+ export { label_1 as label };
132
140
  }
133
- function render({ options, value, placeholder, size, multiple, searchable, clearable, disabled, invalid, }: {
141
+ function render({ options, value, placeholder, size, multiple, searchable, clearable, disabled, invalid, label, }: {
134
142
  options: any;
135
143
  value: any;
136
144
  placeholder: any;
@@ -140,6 +148,7 @@ declare namespace _default {
140
148
  clearable: any;
141
149
  disabled: any;
142
150
  invalid: any;
151
+ label: any;
143
152
  }): string;
144
153
  }
145
154
  export default _default;
package/dist/index.js CHANGED
@@ -1308,6 +1308,7 @@ class YumeMenu extends HTMLElement {
1308
1308
  this.style.position = "fixed";
1309
1309
  this.style.zIndex = "1000";
1310
1310
  this.style.display = "none";
1311
+ if (this.visible) this._updatePosition();
1311
1312
  }
1312
1313
 
1313
1314
  disconnectedCallback() {