x4js 1.6.2 → 1.6.3

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.
@@ -307,6 +307,13 @@ export class ComboBox extends HLayout<ComboBoxProps,ComboBoxEventMap> {
307
307
  fontSize
308
308
  }
309
309
  });
310
+
311
+ // lock focus trap
312
+ this.m_popup.setDomEvent( "mousedown", ( ev ) => {
313
+ ev.stopImmediatePropagation( );
314
+ ev.stopPropagation( );
315
+ ev.preventDefault( );
316
+ }, true );
310
317
  }
311
318
 
312
319
  this.m_popup.items = items;
@@ -27,4 +27,4 @@
27
27
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
28
  **/
29
29
 
30
- export const x4js_version = "1.6.2";
30
+ export const x4js_version = "1.6.3";
@@ -3687,7 +3687,7 @@ declare module 'color' {
3687
3687
  *
3688
3688
  */
3689
3689
  static toHSV(c: Color): {
3690
- h: number;
3690
+ h: any;
3691
3691
  s: number;
3692
3692
  v: number;
3693
3693
  a: number;
@@ -3702,7 +3702,7 @@ declare module 'color' {
3702
3702
  static toHLS(color: Color): {
3703
3703
  h: number;
3704
3704
  l: number;
3705
- s: number;
3705
+ s: any;
3706
3706
  };
3707
3707
  /**
3708
3708
  * get the red value of the color
@@ -6072,7 +6072,7 @@ declare module 'svgcomponent' {
6072
6072
  fontWeight(weight: 'light' | 'normal' | 'bold'): this;
6073
6073
  textAlign(align: 'left' | 'center' | 'right'): this;
6074
6074
  verticalAlign(align: 'top' | 'center' | 'bottom'): this;
6075
- renderContent(): string;
6075
+ renderContent(): any;
6076
6076
  }
6077
6077
  /**
6078
6078
  *
@@ -6636,7 +6636,7 @@ declare module 'version' {
6636
6636
  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
6637
6637
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6638
6638
  **/
6639
- export const x4js_version = "1.6.2";
6639
+ export const x4js_version = "1.6.3";
6640
6640
 
6641
6641
  }
6642
6642
  declare module 'x4js' {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x4js",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "X4js core files",
5
5
  "main": "lib/cjs/x4js.js",
6
6
  "types": "lib/types/x4js.d.ts",