pwerks
v14.2.0
Published
### 14.0.0 * Rolled `date-fns` back to v2 due to issues with `date-fns-tz`, reverting the breaking changes made in 13.0.0.
Downloads
27
Readme
pwerks
14.0.0
- Rolled
date-fns
back to v2 due to issues withdate-fns-tz
, reverting the breaking changes made in 13.0.0.
13.0.0
- Removed a few date helpers, made redundant by date-fns v3 accepting date arguments:
endOfDay
formatISO
getDaysInMonth
getISODay
getSeconds
isSameDay
isSameMonth
isThisWeek
isToday
isYesterday
startOfDay
12.0.0
- Various theme properties renamed:
animations
->animation
fonts
->fontFamily
shadows
->dropShadow
andshadow
11.0.0
flex
is now included as part of the exported theme, so needs to be imported asimport { theme } from 'pwerks'
and used liketheme.flex()
10.0.0
- Hooks have been moved to a new
pwerks-hooks
package (mainly to make this package easier to use viayarn link
)
9.0.0
isSameDay
no longer expects an object - instead call it likeisSameDay(date1, date2)
8.0.0
genUseRouter
now takes 2 arguments ({ constants, helpers }
) and returns 2 hooks ({ useRouteParams, useRouter}
).
7.0.0
- filter helper
value
argument renamed tofilterVal
.
6.0.0
- Moved all payments helpers apart from
init
andtokenize
to be exported underparse
,format
,validate
, and added "card" to the start of their definitions, e.g.payments.parse.number
is nowparse.cardNumber
. type
payment helper is now exported asgetCardType
.
5.0.0
- All payments logic is now exported under
payments
, e.g.tokenize
is now exported aspayments.tokenize
.
4.0.0
useRouter
now returnssearch
instead ofsearchParams
.
3.0.0
- Everything is imported from
pwerks
now.