@dvcol/svelte-utils
Version:
Svelte library for common utility functions and constants
226 lines (98 loc) • 8.23 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [1.21.1](https://github.com/dvcol/svelte-utils/compare/v1.21.0...v1.21.1) (2025-07-23)
### Bug Fixes
* **actions:** pass event to change listeners ([fe984fa](https://github.com/dvcol/svelte-utils/commit/fe984faa2e955ce8a632eb125cf40cc7e5b033ac))
* **transition:** change default ([36264ca](https://github.com/dvcol/svelte-utils/commit/36264ca408f85cc79c72766b87243b0c91648810))
## [1.21.0](https://github.com/dvcol/svelte-utils/compare/v1.20.0...v1.21.0) (2025-07-17)
### Features
* **transition:** adds scale to flyfrom ([d7f70e9](https://github.com/dvcol/svelte-utils/commit/d7f70e9787f9fe8b046e770d76e0761445a5e0d9))
## [1.20.0](https://github.com/dvcol/svelte-utils/compare/v1.19.0...v1.20.0) (2025-07-16)
### Features
* **transition:** make flyfrom start accept a function ([c2a05e7](https://github.com/dvcol/svelte-utils/commit/c2a05e7ceac0d6e4876c571b6e0408dceb9a9f1e))
## [1.19.0](https://github.com/dvcol/svelte-utils/compare/v1.18.0...v1.19.0) (2025-07-16)
### Features
* **transition:** adds flyfrom transition ([df0c10e](https://github.com/dvcol/svelte-utils/commit/df0c10e7eb906bec6eef9c1f53a97ad622df3d18))
## [1.18.0](https://github.com/dvcol/svelte-utils/compare/v1.17.1...v1.18.0) (2025-05-24)
### Features
* **component:** refactor & bump dependencies ([f89e21e](https://github.com/dvcol/svelte-utils/commit/f89e21e9e2ec3a2aa5a684d90e04e60d78e75483))
### Bug Fixes
* **mutation:** default to childlist when options are omitted ([97ee858](https://github.com/dvcol/svelte-utils/commit/97ee858a11677555160bea89b9708f9f5e299e02))
### [1.17.1](https://github.com/dvcol/svelte-utils/compare/v1.17.0...v1.17.1) (2025-03-09)
### Bug Fixes
* **focusin:** parametrize debounce ([8c0bf61](https://github.com/dvcol/svelte-utils/commit/8c0bf61100e7d066adc945c828590cd2c865e5a7))
## [1.17.0](https://github.com/dvcol/svelte-utils/compare/v1.16.1...v1.17.0) (2025-03-09)
### Features
* **action:** adds hovering & focusin actions ([98926ae](https://github.com/dvcol/svelte-utils/commit/98926ae591cd060ba0786ec6dd8545c954eefb81))
### [1.16.1](https://github.com/dvcol/svelte-utils/compare/v1.16.0...v1.16.1) (2025-03-03)
### Bug Fixes
* **touch:** fix typing constraints ([e66a9b4](https://github.com/dvcol/svelte-utils/commit/e66a9b433c04c0a0e79399e4a20b4d066206f5d6))
## [1.16.0](https://github.com/dvcol/svelte-utils/compare/v1.15.0...v1.16.0) (2025-03-03)
### Features
* **touch:** adds percent support ([5912eaa](https://github.com/dvcol/svelte-utils/commit/5912eaa91fc00761c265a6c66241aef67252697f))
## [1.15.0](https://github.com/dvcol/svelte-utils/compare/v1.14.0...v1.15.0) (2025-03-03)
### Features
* **touch:** adds touch event handlers & action ([d460015](https://github.com/dvcol/svelte-utils/commit/d46001590ed7a019eaf6c3f7e42bd46ce02adfff))
## [1.14.0](https://github.com/dvcol/svelte-utils/compare/v1.13.1...v1.14.0) (2025-02-23)
### Features
* **transition:** adds custom opacity easing to width/height ([1091081](https://github.com/dvcol/svelte-utils/commit/1091081f15a90d823f7c207dd4151df199eb3861))
### [1.13.1](https://github.com/dvcol/svelte-utils/compare/v1.13.0...v1.13.1) (2025-02-18)
### Bug Fixes
* **transition:** make opacity configurable ([8bfe48a](https://github.com/dvcol/svelte-utils/commit/8bfe48a91771de35c762a359c5eeef61ff36265b))
## [1.13.0](https://github.com/dvcol/svelte-utils/compare/v1.12.0...v1.13.0) (2025-02-18)
### Features
* **transition:** switch to slide & add composition ([ffe5add](https://github.com/dvcol/svelte-utils/commit/ffe5add8347d48e79a29e998fa4decaa8b5b3eb7))
## [1.12.0](https://github.com/dvcol/svelte-utils/compare/v1.11.2...v1.12.0) (2025-02-07)
### Features
* **transition:** animate margin & padding in height & width transitions ([2274a7c](https://github.com/dvcol/svelte-utils/commit/2274a7c377406a4ac808c04c7ebb94a42110d9b8))
### [1.11.2](https://github.com/dvcol/svelte-utils/compare/v1.11.1...v1.11.2) (2025-02-05)
### Bug Fixes
* **watch:** simplify callback handling ([ccc30ea](https://github.com/dvcol/svelte-utils/commit/ccc30ea8227bc79d5470ce00dd88451fa2ec88a4))
### [1.11.1](https://github.com/dvcol/svelte-utils/compare/v1.11.0...v1.11.1) (2025-02-05)
### Bug Fixes
* **watch:** adjust types ([2d40341](https://github.com/dvcol/svelte-utils/commit/2d4034175e784c921befb563ee2952b1884908b8))
## [1.11.0](https://github.com/dvcol/svelte-utils/compare/v1.10.0...v1.11.0) (2025-02-05)
### Features
* **watch:** change api to make it less verbose ([bdc25b1](https://github.com/dvcol/svelte-utils/commit/bdc25b189fd20791f7d177946a2f822230588b22))
## [1.10.0](https://github.com/dvcol/svelte-utils/compare/v1.9.0...v1.10.0) (2025-02-05)
### Features
* **watch:** make skip number based instead of boolean ([a5d4c32](https://github.com/dvcol/svelte-utils/commit/a5d4c3282a4a77043b76ae1e8465fc18baa31d9b))
## [1.9.0](https://github.com/dvcol/svelte-utils/compare/v1.8.1...v1.9.0) (2025-02-05)
### Features
* **watch:** adds next tick hook ([712c970](https://github.com/dvcol/svelte-utils/commit/712c970493ecfa1d8676fb437834b82bbee33dfc))
### [1.8.1](https://github.com/dvcol/svelte-utils/compare/v1.8.0...v1.8.1) (2025-02-05)
### Bug Fixes
* **watch:** move source before the condition ([1086faa](https://github.com/dvcol/svelte-utils/commit/1086faab1325f7120fa081cf9f3bf6ab1170cdc5))
## [1.8.0](https://github.com/dvcol/svelte-utils/compare/v1.7.0...v1.8.0) (2025-02-05)
### Features
* **watch:** adds skip condition ([69f7f0d](https://github.com/dvcol/svelte-utils/commit/69f7f0d5388ee9b9be7d5fddd914e4e442e79a16))
## [1.7.0](https://github.com/dvcol/svelte-utils/compare/v1.6.1...v1.7.0) (2025-01-30)
### Features
* **transition:** adds flipToggle & animation types ([12f61fc](https://github.com/dvcol/svelte-utils/commit/12f61fc57e0b9c3d8422dd1a585b0d9ac42f6961))
### [1.6.1](https://github.com/dvcol/svelte-utils/compare/v1.6.0...v1.6.1) (2025-01-17)
### Bug Fixes
* **action:** correct type signature ([c832a25](https://github.com/dvcol/svelte-utils/commit/c832a253b3fb5a65881518eb84a263b540589792))
## [1.6.0](https://github.com/dvcol/svelte-utils/compare/v1.5.0...v1.6.0) (2025-01-17)
### Features
* **actions:** adds resize & mutation actions ([601318e](https://github.com/dvcol/svelte-utils/commit/601318e0bcb9d33db6253a4f7ebbfec7e1cfb7d3))
## [1.5.0](https://github.com/dvcol/svelte-utils/compare/v1.4.0...v1.5.0) (2024-12-06)
### Features
* **component:** detect async fn as lazy components ([747836d](https://github.com/dvcol/svelte-utils/commit/747836df455e7d086bd64dc3c25dfa07eff1a188))
## [1.4.0](https://github.com/dvcol/svelte-utils/compare/v1.3.0...v1.4.0) (2024-11-25)
### Features
* **watch:** adds explicit watch ([d730bb7](https://github.com/dvcol/svelte-utils/commit/d730bb759eaad762785492ce457d0f0cb2127e90))
## [1.3.0](https://github.com/dvcol/svelte-utils/compare/v1.2.1...v1.3.0) (2024-11-08)
### Features
* **transition:** adds scaleWidth & scaleHeight ([717d99d](https://github.com/dvcol/svelte-utils/commit/717d99db119d4159b818b7ec4302efff270e3d91))
* **transition:** allow passing arbitrary css to transition ([e5448f5](https://github.com/dvcol/svelte-utils/commit/e5448f556f5fc405a5bfa266195c0789ccb55376))
### Bug Fixes
* **transition:** exports transition function ([b8b9942](https://github.com/dvcol/svelte-utils/commit/b8b994277cb02f4ba58a122d32378420b3297479))
### [1.2.1](https://github.com/dvcol/svelte-utils/compare/v1.2.0...v1.2.1) (2024-11-07)
### Bug Fixes
* **exports:** adds missing export ([92aed76](https://github.com/dvcol/svelte-utils/commit/92aed769aacb0df1befe908ee11c13686599345e))
## [1.2.0](https://github.com/dvcol/svelte-utils/compare/v1.1.0...v1.2.0) (2024-11-07)
### Features
* **media:** adds media query watcher ([05d381b](https://github.com/dvcol/svelte-utils/commit/05d381b59bdb3c4f0d54f23dfe66016c56844715))
## 1.1.0 (2024-11-03)
### Features
* **init:** ads initial utils ([296bb10](https://github.com/dvcol/svelte-utils/commit/296bb10284bfa47975d9493c4f305ed822861104))