Releases: exah/pss
Releases · exah/pss
5.0.0
✨ New
Styles
boxShadow
hide
is moved fromdisplay
fontSize
fontWeight
lineHeight
letterSpacing
textAlign
textColor
textOverflow
overflow
as shorthand foroverflow-x
,overflow-y
and-webkit-overflow-scrolling
whiteSpace
- CSS Grids
gridContainer
gridItem
Systems
- new
box
system to replace oldsystem
export and includes following styles:border
borderColor
borderRadius
boxSelfAlignment
boxShadow
colors
display
flex
hide
opacity
order
outline
overflow
position
positionOffsets
ratio
sizes
space
transform
transition
- new
text
system to replace oldtext
andtypography
style:fontFamily
fontSize
fontWeight
letterSpacing
lineHeight
textAlign
textColor
whiteSpace
atomic
now just separate system (experimental and could be removed)
💥 Changed
space
aliasesmg
→m
for marginpd
→p
for padding
border
are now without aliasbd
→border
bdc
→borderColor
(now exported separately)
radius
→borderRadius
display
now includes only css display style,hide
exported separatelyflex
now is only css flex prop, other styles exported separately asflexContainer
,boxContentAlignment
andboxItemsAlignment
- Rename
direction
→positionOffsets
- Instead of
ellipsis
usetextOverflow
🔥 Removed
cursor
direction
float
system
typography
grid
ellipsis
PR - 5.0.0 (#6)
4.3.0...5.0.0
5.0.0-9
5.0.0-7
- ✨ Add
getPropTypes
utility 208d12d - ✨ Use
true
increateStyles
to create default rule 0e5ecc5 - ♻️ Rename
keyword
→defaultKeyword
b0cfc36 - ✨ Add aliases to
margin
andpadding
styles 1e597a3 - 🔥 Remove
backgroundColor
58c4e2b - 🔥 Remove
background
andcursor
54a6120 - 💥 Remove
propTypes
, addprops
tocreateStyles
bd29955
5.0.0-5
5.0.0-4
- ⬆️ Bump deps 8c25a3d
- ♻️ Use internal
directionStyles
anddirectionAliasStyles
utilities afa52da - ✨ Add
cursor
,display
,hide
,opacity
,ratio
,transform
andtransition
tobox
style 4efdab2 - 💥 Change
rem
utility to curry base value f2f8bfb - ✨ Allow list of transforms as second argument of
themePath
490a6d7 - ⏪ Restore
boolean
input forspaceValue
e5a1ead - ♻️ Add
propTypes
toprop
mixin 29c0866
5.0.0-3
- 🚚 Rename
grid
style →gridContainer
997518e - 🚚 Rename
flexBox
→flexContainer
aaf5a29 - 📝 Update
boxStyle
,textStyle
docs 4a6b959 - ♻️ Refactor
themeValue
,colorValue
andcreateRule
24d2ca1 - 🚚 Rename
borders
style →border
da3b950 - 📝 Update docs about default values 0c384dd
- ✨ Use both
'auto'
,true
keywords to set defaults from theme 64a739b - 🔥 Remove falsy values 364918d
- 📝 Update
sizeValue
docs 89a58c4 - ✅ Update
rule
and values tests 7ba769a - 💥 Rename
pd
→p
props inspace
style 9be0165 - 💥 Rename
mg
→m
props inspace
style e5b3334 - ✨ Add
margin
,padding
styles 3fe0629 - ✨ Add
textColor
,backgroundColor
styles 7530ad1 - 💥 Combine all
atomic
styles together 6d4205d - 🔥 Remove boolean values from
spaceValue
andspace
e8c4071 - 💥 Remove boolean values from
sizes
andsizeRule
c7d70f7 - 💥 Remove bool values from
positionOffsets
693dbe4 - 📝 Remove reference to
boolValue
in wrong places e7d4076 - 🔥 Remove
display
,position
,positionOffsets
,zIndex
frombox
styles 62ceaa9 - 🚚 Rename
hideOn
→hide
75714d3 - 💥 Add
auto
keyword tovariant
for setting default value from theme db1a4dd - ✨ Specify media target with array, but remove support for multiple value 4960aae
- ♻️ Combine
everyMedia
andcreateRule
7e03cce - ✅ Add simple selector test 99a0122
- 🔥 Remove
func
frompropType
value definition 6215461 - 🎨 Reorganize
createStyles
89bee65 - 🚧 Improve
createStyles
with selectors 9c178e8 - 🚧 Remove selectors d3e7cce
- 📝 Update docs for
transition
0628e1b - ✨ Support
theme.fontSize
infontSize
style 01fb62d - 🔥 Remove old files 6ccde8a
- ✨ Replace
ellipsis
withtextOverflow
995ba4f - 🔥 Remove
float
,clearFix
styles bcc53b2 - ♻️ Restore array as prop value in
createRule
2ea8967 - ♻️ Move
rule
insidestyle
function body 46c910e - ♻️ Organize utils and getters in one file f00ad51
- ♻️ Cleanup core constants 37f3639
- ♻️ Move
everyMedia
insidecreateRule
c65e947 - 🚚 Rename
createVariant
→variant
4c9e73d - ♻️ Use
style
for single prop styles 73ab687 - 💥 Remove
cssProp
fromcreateVariant
, move tostyle
dc7eb89 - 🚧 Remove
themeStyle
e8fe3cb - ♻️ Simplify getters 24675f4
- 🚧 Improve
propType
c88fa55 - ♻️ Simplify
getMedia
12d0149 - 🔥 Remove getting default media keys (always
all
) 8457172 - 🔥
createSizeValue
42223e0 - ♻️ Add scale option to values d59ade3
- ✨ Add default scale to
spaceValue
6515aed - ✨ Add
zIndex
totheme
b7b879f - 🚚 Rename
border
→borders
0fbd276 - 💥 Move
borderColor
to own style 73953b3 - 🚚 Rename
radius
→borderRadius
7111a72 - 📝 Fix docs for
overflow
82b886e - ✨ Reintroduce
overflow
style 07d50e1
5.0.0-1
5.0.0-0
- ♻️ Change api of
createFlexBoxStyle
8943c41 - 🚚 Rename
direction
→positionOffset
1021cb4 - 🚑 Restore
fontFamily
key name in theme 0daf776 - 🔥 Remove
atomicFlexItem
d826c1c - ✨ Add
box
styles 28c9cf1 - 🔧 Add
docs
script to npm c78f910 - ♻️ Update API of
style
85ed5b2 - 🔥 Remove
system
9b982fc - ✨ Add separate
fontFamily
,fontSize
,fontWeight
,lineHeight
,letterSpacing
,textAlign
,whiteSpace
styles 21d4b29 - 🎨 Format rules 81fa5ed
- ✨ Add
style
664177d - 💥 Rename
style
→createRule
387d69e - 🚚 Combine simple tests b951cbe
- 🚚 Move tests inside
__tests__
folders near related modules 9776374 - ✅ Add
zIndex
test d899dd7 - ✅ Improve
border
test 3e4356f - 📝 Update docs 7e5f6f1
- 🔥 Remove boolean values from
zIndex
,display
,opacity
2b030ad - 🔥 Remove
typography
styles eaee5f0 - 💥 Rename
fontFamily
→fontVariant
50ce365 - 🔥 Remove deprecated
overflow
style 49233b6 - 💥 Remove boolean values from
text
style 7e09631 - 🔥 Remove
base
style 2eb150d - 💥 Change
border
style props (bd
→border
) 9a3cae0 - 💥 Remove border from atomic 0b2f7c7
- 💥 Remove
percentageValue
,sizeValue
andflex
0c12646 - 💥 Move
clearFix
to separate style fromfloat
0a4a347 - 💥 Move
hideOn
to separate style 3fe5908 - 💥 Remove box alignment styles from
grid
,gridItem
75ea304 - 💥 Remove
flex
,flexItem
, Addflex
andflexBox
styles, Removealignment
andorder
from item and container 47b4226 - 💥 Remove
zIndex
fromdirection
styles 26d4dde - 💥 Remove boolean values from
justifyContent
1ff08f1
4.3.0
Grid
- ⬆️ Bump dev dependencies 5dbd830
- 🔧 Rename
deploy
npm script →release
ac91a17 - ♻️ Rename
alignment
→box-alignment
2d03336 - 👎 Deprecate
base
,system
,typography
4a812eb - ✅ Add
grid
,gridItem
styles a31d699 - ♻️ Move z-index, order, alignment to separate styles 1da2262
- 🚧 Add css grid styles 68a0f96
- 📝 Update docs 1ee6451
- ♻️ Improve
splitUnit
e01ddbf - ♻️ Unify values behavior a8aebf0
- ✨ Add
percentageValue
6ec2108 - ♻️ Improve
spaceValue
79d1991 - ✨ Add
rem
8f7f201 - 📝 Fix typo f98080e
- ✅ Update mixins test 3dc4306