Skip to content

Latest commit

 

History

History
602 lines (407 loc) · 37.9 KB

CHANGELOG.md

File metadata and controls

602 lines (407 loc) · 37.9 KB

Changelog

All notable changes to this project will be documented in this file.

Generated by auto-changelog.

5.0.1 - 2019-09-29

Fixed

  • d0eccbc 🚑 Add missing zIndex to box styles

Dependencies

  • a3aa0dd ⬆️ Bump deps
  • 2ced939 ⬆️ Update dev dependencies
  • fcabb9e ➖ Remove @babel/plugin-proposal-object-rest-spread

Docs & Tests

5.0.0 - 2019-06-23

Merged

  • #6 5.0.0
  • #5 ✨ Add CSS Grid and Box Alignment styles

Changed

  • 47b4226 💥 Remove flex, flexItem, Add flex and flexBox styles, Remove alignment and order from item and container
  • 6d4205d 💥 Combine all atomic styles together
  • bcc53b2 🔥 Remove float, clearFix styles
  • 73953b3 💥 Move borderColor to own style
  • 54a6120 🔥 Remove background and cursor
  • 58c4e2b 🔥 Remove backgroundColor
  • 0a4a347 💥 Move clearFix to separate style from float
  • d826c1c 🔥 Remove atomicFlexItem
  • 6ccde8a 🔥 Remove old files
  • 3fe5908 💥 Move hideOn to separate style
  • 364918d 🔥 Remove falsy values
  • 50ce365 💥 Rename fontFamilyfontVariant
  • eaee5f0 🔥 Remove typography styles
  • e5b3334 💥 Rename mgm props in space style
  • dc7eb89 💥 Remove cssProp from createVariant, move to style
  • db1a4dd 💥 Add auto keyword to variant for setting default value from theme
  • 387d69e 💥 Rename stylecreateRule
  • 9b982fc 🔥 Remove system
  • 75ea304 💥 Remove box alignment styles from grid, gridItem
  • f2f8bfb 💥 Change rem utility to curry base value
  • 49233b6 🔥 Remove deprecated overflow style
  • c7d70f7 💥 Remove boolean values from sizes and sizeRule
  • 9a3cae0 💥 Change border style props (bdborder)
  • 2eb150d 🔥 Remove base style
  • 7e09631 💥 Remove boolean values from text style
  • 2b030ad 🔥 Remove boolean values from zIndex, display, opacity
  • 693dbe4 💥 Remove bool values from positionOffsets
  • 26d4dde 💥 Remove zIndex from direction styles
  • e8c4071 🔥 Remove boolean values from spaceValue and space
  • 42223e0 🔥 createSizeValue
  • 0c12646 💥 Remove percentageValue, sizeValue and flex
  • bd29955 💥 Remove propTypes, add props to createStyles
  • 9be0165 💥 Rename pdp props in space style
  • 62ceaa9 🔥 Remove display, position, positionOffsets, zIndex from box styles
  • 1ff08f1 💥 Remove boolean values from justifyContent
  • 8457172 🔥 Remove getting default media keys (always all)
  • 6215461 🔥 Remove func from propType value definition
  • 0b2f7c7 💥 Remove border from atomic

Added

  • 28c9cf1 ✨ Add box styles
  • 21d4b29 ✨ Add separate fontFamily, fontSize, fontWeight, lineHeight, letterSpacing, textAlign, whiteSpace styles
  • 7530ad1 ✨ Add textColor, backgroundColor styles
  • 3979823 ✨ Add boxShadow style
  • 70df705 ✨ Add background style
  • 3fe0629 ✨ Add margin, padding styles
  • 208d12d ✨ Add getPropTypes utility
  • 07d50e1 ✨ Reintroduce overflow style
  • 995ba4f ✨ Replace ellipsis with textOverflow
  • 8f7f201 ✨ Add rem
  • 01fb62d ✨ Support theme.fontSize in fontSize style
  • 314aa01 ✨ Always return variant style with createVariant
  • 4960aae ✨ Specify media target with array, but remove support for multiple value
  • 1e597a3 ✨ Add aliases to margin and padding styles
  • 64a739b ✨ Use both 'auto', true keywords to set defaults from theme
  • 0e5ecc5 ✨ Use true in createStyles to create default rule
  • 4f5ca83 ✨ Allow path to be used as first arg in prop
  • 490a6d7 ✨ Allow list of transforms as second argument of themePath
  • 6ec2108 ✨ Add percentageValue
  • 4efdab2 ✨ Add cursor, display, hide, opacity, ratio, transform and transition to box style
  • b7b879f ✨ Add zIndex to theme
  • 664177d ✨ Add style
  • 6515aed ✨ Add default scale to spaceValue

Improved

  • 24d2ca1 ♻️ Refactor themeValue, colorValue and createRule
  • afa52da ♻️ Use internal directionStyles and directionAliasStyles utilities
  • f00ad51 ♻️ Organize utils and getters in one file
  • 73ab687 ♻️ Use style for single prop styles
  • 37f3639 ♻️ Cleanup core constants
  • 7e03cce ♻️ Combine everyMedia and createRule
  • d59ade3 ♻️ Add scale option to values
  • 24675f4 ♻️ Simplify getters
  • c65e947 ♻️ Move everyMedia inside createRule
  • 12d0149 ♻️ Simplify getMedia
  • 2ea8967 ♻️ Restore array as prop value in createRule
  • a8aebf0 ♻️ Unify values behavior
  • b0cfc36 ♻️ Rename keyworddefaultKeyword
  • 29c0866 ♻️ Add propTypes to prop mixin
  • 85ed5b2 ♻️ Update API of style
  • 79d1991 ♻️ Improve spaceValue
  • 8943c41 ♻️ Change api of createFlexBoxStyle
  • e0fa986 ♻️ Move prop-types to peerDependencies
  • e01ddbf ♻️ Improve splitUnit
  • d039bf3 ♻️ Simplify ratio style
  • 46c910e ♻️ Move rule inside style function body

Fixed

  • ccf47f6 🚑 Add order to box styles
  • 3a887ab 🚑 Enable axes only for space styles
  • 0daf776 🚑 Restore fontFamily key name in theme
  • 54d9d32 🚑 Use Array.isArray in getPropTypes, change format to cjs
  • e595bd6 🚑 Fix missing export of overflowValue

Dependencies

Docs & Tests

4.2.0 - 2018-12-26

Added

Improved

  • 7287c22 ♻️ Simplify percent function

4.1.1 - 2018-12-23

Fixed

4.1.0 - 2018-12-23

Added

Improved

  • 3bc3d13 ♻️ Improve defaults of createSpaceValue

4.0.0 - 2018-12-22

Changed

  • f26166a 💥 Remove cssProp
  • d5b74a0 💥 Separate position and direction styles
  • 0ffee71 💥 Replace combine with combineStyles
  • ae211bc 💥 Change mediaRulemediaStyle
  • 31723da 🔥 Remove variant alias

Added

  • db1d6ea ✨ Add atomic styles
  • 9767624 ✨ Add flexItem styles to system
  • 7ffea51 ✨ Use default media in mediaRule if input is true

Improved

  • 3ba319a ♻️ Improve selectors
  • 555e6f7 ♻️ Improve getters
  • 9a2b17e ♻️ Simplify prop-type
  • 97488a1 ♻️ Improve getting default theme media, remove space constant

Docs & Tests

3.0.1 - 2018-12-16

Note

90f60fe ⚠️ 3.0.0

Changed

  • Changed responsive props:

Before

<Box display='flex' displayM='block' />

Now

<Box display={{ all: 'flex', M: 'block' }} />
  • Changed default media defaultall
  • Renamed createPropStylescreateStyles
  • Removed createSizeProp, createSpaceProps, createSpaceStyle, createColorProp, createPaletteProp, createStyleFromTheme, propStylesInTheme, mediaPropSelector
  • Remove utility style, now import each style separately (like opacity, cursor, etc.)
  • Removed all deprecated functions and styles
  • Remove grow, shrink, basis from flexItem
  • Remove prl, pab, pst, pfx, l, t, r, b, zi from position
  • Rename minWdminWidth, maxWdmaxWidth, wdwidth, minHtminHeight, maxHtmaxHeight, htheight in sizes
  • Remove all mixins

Added

  • Return propTypes with createStyles
  • Add rule and value concept
  • Add colorValue, sizeValue, spaceValue, themeValue and boolValue
  • Add mediaRule
  • Add themeStyle
  • Add createVariant
  • Add fontFamily, boxStyle, outline, opacity, transform, transition, radius, cursor styles
  • Add mq getter
  • Export margin and padding

3.0.0 - 2018-12-16

Merged

Changed

  • 02a127c 💥 Change text prop styles

Added

  • 317ee1f ✨ Add fontFamily
  • 1df8dd4 ✨ Always fallback to prop value in createColorProp

Improved

  • 277105a ♻️ Improve getters
  • d0b5e6f ♻️ Simplify everyMedia getters

Dependencies

  • 16d6027 ⬆️ Update @exah/utils

2.6.0 - 2018-11-24

Added

  • b3f918b ✨ Use objects with media values in props

Improved

  • e30ebcb ♻️ Memoize theme.media keys in createPropStyles

2.5.0 - 2018-11-10

Added

  • 6c60a2c ✨ Removed need for createTheme
  • e0f1e48 ✨ Allow to use in theme.space = [ 0, 1, 2 ]

2.4.1 - 2018-11-10

Fixed

Dependencies

2.4.0 - 2018-11-07

Dependencies

2.3.2 - 2018-10-25

Fixed

  • 7e800b3 🚑 Fix spacing with unit

2.3.1 - 2018-09-02

Dependencies

2.3.0 - 2018-08-30

Changed

  • 806cebb 💥 Change position props

Added

  • 1000c05 ✨ Add textStyle prop style
  • d735012 ✨ Get font from theme in text prop style
  • 14e80b1 ✨ Add letterSpacing prop to text prop style
  • 4dd6bed ✨ Add typography prop style

Improved

  • 97d24f8 ♻️ Rename stylesInThemecreateStyleFromTheme
  • fa9db8c ♻️ Improve propStylesInTheme, Add stylesInTheme fn

Docs & Tests

  • 177ae2f 📝 Update docs for text, typography
  • 4573075 📝 Update README
  • e66cd93 📝 Add warning about prop filtering
  • 40c8272 📝 Fix display docs example

2.2.0 - 2018-08-16

Added

  • 6e9e31f ✨ Add mediaPropSelector
  • 8489ddd ✨ Add ratio prop styles
  • 8a162af ✨ Pass themeSelector as raw value to style

Improved

  • 5046142 ♻️ Change prop styles names, but keep them as alias
  • 906bf0d ♻️ Change names of sizeProp, colorProp, themeProp, but keep as aliases

Fixed

  • a6254d4 🚑 Fix outline='debug' in utility prop styles

Docs & Tests

  • d55ea65 📝 Move markdown from documentation config to docs folder
  • 727bbaa 📝 Add themeSelector docs

2.1.1 - 2018-08-03

Fixed

  • ef52313 🚑 Fix floatPropStyles import name

2.1.0 - 2018-08-03

Changed

  • 9333dcb 💥 Rewrite not documented prop styles, Add docs

Added

  • 05d3ca0 ✨ Export combine, fallbackTo fns

Fixed

  • a6a39aa 🚑 Fix theme style keys

2.0.0 - 2018-07-28

Changed

1.2.0 - 2018-07-25

Changed

  • af5ad5d 💥 Change everyMedia signature (internal)

Added

  • a25bdb3 ✨ Add propStylesInTheme

Improved

  • d90ae11 ♻️ Restructure utils/* import due to flow re-export bug
  • a8dd441 ♻️ Improve mapObj
  • 6372b74 ♻️ Remove units from 0 in sizes

Docs & Tests

  • 8528e61 📝 Add propStylesInTheme docs

1.1.0 - 2018-07-19

Added

  • 6b0429b ✨ Add ability to disable media props

1.0.2 - 2018-07-18

Fixed

  • c44104c 🚑 Fix converting negative numbers to pixels

Docs & Tests

1.0.1 - 2018-07-17

Improved

  • 0efde90 ♻️ Use defaultTheme inside getters

Docs & Tests

  • 9f1510d ✅ Basic test with emotion
  • 111ff7d ✅ Basic test with styled-components
  • 094b091 📝 Update README

1.0.0 - 2018-07-16

Changed

  • 2a22cea 💥 Rename core modules and props → props-styles
  • 93e2bb6 💥 Add px to sizeProp result by default
  • 51fe6af 💥 Add 'px' to space result
  • e0ceadc 🔥 Remove TEXT_STYLE_KEY from constants
  • af63a8d 🔥 Temporary remove textStyle

Added

  • 7affe84 ✨ Add cssProp prop style
  • 7ded2a3 ✨ Add option to add px unit to sizeProp result
  • 7ebea7d ✨ Add default theme to createPropStyles
  • 7d59e82 ✨ Get value by key path in getColor

Improved

  • d5d34ec ♻️ Improve colors prop styles, Add docs
  • 7597f4f ♻️ Add space prop styles alias, update docs
  • 03f87f5 ♻️ Update default theme
  • c8f3cbf ♻️ Use fallbackTo in getters

Fixed

  • 5af10dc 🚑 Fix fallback in path fn

Docs & Tests

  • c7f49cb 📝 Add createSpace props and styles docs
  • a2f19f2 📝 Add sizes prop styles docs
  • 4f69d5a 📝 Update docs
  • 9294e3d 📝 Add propSelector, combineSelectors docs
  • 78ab0bb 📝 Update types
  • ee40329 📝 Update README
  • 2908a12 📝 Update createSpaceStyle docs
  • a8b03f1 📝 Update documentation TOC
  • d328f68 ✅ Add themeSelector tests

0.2.0 - 2018-06-15

Changed

  • befa211 💥 Remove style label option from propStylesSystem
  • 7444bd2 💥 Remove themeDefaultMediaKey use DEFAULT_KEY const

Added

Improved

  • b7d37b3 ♻️ Convert SHORT_DIRECTIONS values to array

Dependencies

  • 79f9a35 ➖ Remove ramda from deps

Docs & Tests

0.1.1 - 2018-06-05

Fixed

  • c4fa072 🚑 Fix changed result with onMedia style

0.1.0 - 2018-06-05

Merged

  • #1 📝 Flow types, Docs generation

Improved

  • 8ee44d2 ♻️ Rewrite mediaPropStyles → propStylesSystem

Dependencies

Docs & Tests

0.0.2 - 2018-05-28

Changed

Added

  • 7651917 ✨ Support customCssValue in colorProp
  • cd98701 ✨ Export getters and helpers with module
  • a52e73c ✨ Pass props to style in everyMedia

Fixed

  • 5dee9e2 🚑 Fix boolean space prop value
  • 38a0e38 🚑 Fix default borderColor

0.0.1 - 2018-05-28

Changed

  • 6dddf09 🔥 Cleanup old files
  • 1a0a82d 🔥 Remove default theme
  • 6bc3588 🔥 Remove ensureStyleObj fn
  • 4b54d22 🔥 Remove unused isPlainObj function

Added

Improved

  • 5d6d997 ♻️ Rewrite space, sizes test, Fix bugs
  • 24703d8 ♻️ Build lib with babel
  • 3656aa3 ♻️ Rewrite space props, styles fn and move them
  • fc0bfe6 ♻️ Simplify function names
  • 1de4d6a ♻️ Improve space styles, separate margin, padding
  • 2fd6c13 ♻️ Refactor getters
  • d604420 ♻️ Add constants for theme keys
  • 91c78ee ♻️ Uncurry selectors fns, import helpers
  • 97ca745 ♻️ Add toObj helper fn
  • f9aea32 ♻️ Filter empty styles in prop styles
  • 6ab07f2 ♻️ Support arrays in props styles maps values

Fixed

  • 33fccab 🚑 Fix default color values
  • 0f9e108 🚑 Fix onMedia arguments style

Docs & Tests

  • 4ce04d4 ✅ Replace snapshot tests with deep equal