From b8a1b58b1019f3562712d090a515de76c63c208c Mon Sep 17 00:00:00 2001 From: lgersen Date: Fri, 21 Jun 2024 16:17:18 +0200 Subject: [PATCH] noUiSlider 15.8.1 --- CHANGELOG.MD | 3 +++ dist/nouislider.d.ts | 8 ++------ package-lock.json | 32 ++++++++++++++++---------------- package.json | 2 +- 4 files changed, 22 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index de62755..7dcc01f 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,5 +1,8 @@ # Changelog +### 15.8.1 (*2024-06-21*) +- Fixed: Typescript definitions for `getTooltips` and `getOrigins` (#1273); + ### 15.8.0 (*2024-06-10*) - Added: Allow `connect` option to get updated (#1272); - Added: `invert-connects` behaviour (#1262, #1272); diff --git a/dist/nouislider.d.ts b/dist/nouislider.d.ts index 9cb9e12..827908f 100644 --- a/dist/nouislider.d.ts +++ b/dist/nouislider.d.ts @@ -143,12 +143,8 @@ export interface API { removePips: () => void; removeTooltips: () => void; getPositions: () => number[]; - getTooltips: () => { - [handleNumber: number]: HTMLElement | false; - }; - getOrigins: () => { - [handleNumber: number]: HTMLElement; - }; + getTooltips: () => (HTMLElement | false)[] | null; + getOrigins: () => HTMLElement[]; pips: (grid: Pips) => HTMLElement; } interface TargetElement extends HTMLElement { diff --git a/package-lock.json b/package-lock.json index 48bee54..6f573af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nouislider", - "version": "15.8.0", + "version": "15.8.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "nouislider", - "version": "15.8.0", + "version": "15.8.1", "license": "MIT", "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.10", @@ -460,12 +460,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -932,9 +932,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -2535,12 +2535,12 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "callsites": { @@ -2903,9 +2903,9 @@ } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "requires": { "to-regex-range": "^5.0.1" diff --git a/package.json b/package.json index ae9d817..eb40fa1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nouislider", - "version": "15.8.0", + "version": "15.8.1", "main": "dist/nouislider.js", "module": "dist/nouislider.mjs", "style": "dist/nouislider.min.css",