Releases: pikax/vue-composable
Releases · pikax/vue-composable
1.0.0-dev.29
Added
- share - WebShare API
1.0.0-dev-21
Added
- numberFormat - Intl.NumberFormat
- currencyFormat - CurrencyFormat with Intl.NumberFormat
Types
- i18n - remove
void
return onuseI18n
1.0.0-dev.20
Types
- fixed return type for useWorkerFunction
1.0.0-dev.18
Added
- useWorker -
Web Worker API
- useWorkerFunction - Webworker Function, offload a function to webworker
1.0.0-dev-17
Changes
- fetch - fix parameter typing and tweak API
- event - improve typing
- path - Improve array path access and add dev warnings
- i18n - Allow to have factory based locale messages
- i18n - Added console warnings when removing locales
- i18n - Improve overriding locales
- i18n - Setting new locale if the current locale is removed
- update peer dependency to [email protected]
Added
- i18n - Added
$tc
, same as$t
but returns a string, sugar for usage in the template.
Fixes
- useValidation - Fix tracking of
$value
when is notref
- TailwindCSS - improve typings and fix bug when sending custom breakpoints
1.0.0-dev.16
Added
- promiseLazy - Sugar for usePromise
lazy:true
Changes
- Updated [email protected]
- stop force-updating css variables #178 - Thanks @hawezo
- CSS variables - changed default options to
{ attributes: true, childList: true, subtree: true }
- usePromise - do not reset
result
between executions
Breaking
- usePromise - Now Promises will execute at creation, please check documentation
- usePromise - Replaced
throwException
argument tolazy
1.0.0-dev.15
1.0.0-dev.14
Added
- CSS variables - reactive
CSS variables
#160
1.0.0-dev.13
Breaking-Change
- localStorage: can only keep one
ref
per key!
1.0.0-dev.12
Breaking-Change
- storage sessionStorage localStorage - Added
sync
argument, defaults totrue
, when true it will sync the storage with other tabs - onScroll - Now
scrollTop
andscrollLeft
are watched automatically for changes and will callscrollTopTo
andscrollLeftTo
respectably on change
Changed
- onScroll - Added
scrollTopTo
,scrollLeftTo
- webStorage - when storage item is saved it dispatches a
StorageEvent
- event - if Element
isRef
it will reattach new listener on change
Updated
- updated to
@vue/[email protected]