Compare commits

..

No commits in common. "master" and "v2.3.1" have entirely different histories.

4 changed files with 3 additions and 8 deletions

View File

@ -1,10 +1,5 @@
# Changelog # Changelog
## 2025-02-01 - 2.3.2 - fix(scroller)
Rename method from scrollToElement to toElement for consistency
- Updated method name in Scroller class for better coherence with existing naming conventions.
## 2025-01-31 - 2.3.1 - fix(scroller) ## 2025-01-31 - 2.3.1 - fix(scroller)
Removed passive option from scroll event listener Removed passive option from scroll event listener

View File

@ -1,6 +1,6 @@
{ {
"name": "@design.estate/dees-domtools", "name": "@design.estate/dees-domtools",
"version": "2.3.2", "version": "2.3.1",
"private": false, "private": false,
"description": "A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.", "description": "A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@design.estate/dees-domtools', name: '@design.estate/dees-domtools',
version: '2.3.2', version: '2.3.1',
description: 'A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.' description: 'A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.'
} }

View File

@ -30,7 +30,7 @@ export class Scroller {
/** /**
* Scrolls to a given element with options. * Scrolls to a given element with options.
*/ */
public async toElement( public async scrollToElement(
elementArg: HTMLElement, elementArg: HTMLElement,
optionsArg: Parameters<typeof this.sweetScroller.toElement>[1] optionsArg: Parameters<typeof this.sweetScroller.toElement>[1]
) { ) {