Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@exah/prop-styles-system

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exah/prop-styles-system - npm Package Versions

1.2.0

Diff

Changelog

Source

1.2.0 - 2018-07-25

Changed

Added

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
exah
published 1.1.0 •

Changelog

Source

1.1.0 - 2018-07-19

Added

  • 6b0429b ✨ Add ability to disable media props
exah
published 1.0.2 •

Changelog

Source

1.0.2 - 2018-07-18

Fixed

  • c44104c 🚑 Fix converting negative numbers to pixels

Docs & Tests

exah
published 1.0.1 •

Changelog

Source

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
exah
published 1.0.0 •

Changelog

Source

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
exah
published 0.2.0 •

Changelog

Source

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

Docs & Tests

exah
published 0.1.1 •

Changelog

Source

0.1.1 - 2018-06-05

Fixed

  • c4fa072 🚑 Fix changed result with onMedia style
exah
published 0.1.0 •

Changelog

Source

0.1.0 - 2018-06-05

Merged

  • #1 📝 Flow types, Docs generation

Improved

  • 8ee44d2 ♻️ Rewrite mediaPropStyles → propStylesSystem

Dependencies

Docs & Tests

exah
published 0.0.2 •

Changelog

Source

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
exah
published 0.0.1 •

Changelog

Source

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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc