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

@shopify/restyle

Package Overview
Dependencies
Maintainers
27
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/restyle - npm Package Versions

13

1.7.0

Diff

Changelog

Source

1.7.0 - 2022-02-24

  • Performance improvements #131 by sbalay
shopify-dep
published 1.6.2 •

Changelog

Source

1.6.2 - 2022-02-21

shopify-dep
published 1.6.1 •

Changelog

Source

1.6.1 - 2021-12-01

  • Allow using 'auto' as value of spacing props. #118 by sbalay
shopify-dep
published 1.6.0 •

Changelog

Source

1.6.0 - 2021-11-25

  • Fix incorrect props when empty breakpoints. #115 by @nelyousfi
  • Improve rendering performance on breakpoint changes and re-renders. #113 by @omulet
  • Updated React Native to 0.66 and fixed eslint issues. #117 by @davebcn87
shopify-dep
published 1.5.0 •

Changelog

Source

1.5.0 - 2021-11-01

shopify-dep
published 1.4.0 •

Changelog

Source

1.4.0 - 2020-12-15

shopify-dep
published 1.3.1 •

Changelog

Source

1.3.1 - 2020-10-26

  • Silently ignore any errors caused by missing a variant definition in the theme (e.g. textVariants), to preserve backwards compatibility. #64 by @jonogreenz
  • Disallow creating a variant with the existing base theme keys of colors, spacing, breakpoints, zIndices, borderRadii. #64 by @jonogreenz
  • Improve rendering performance by removing unnecessary uses of the spread operator. #63 by @JoelBesada
  • ~~Add a more descriptive error when theme is missing a key for a used variant.~~ #59 by @Charly6596 (Replaced by PR #64)
shopify-dep
published 1.3.0 •

Changelog

Source

1.3.0 - 2020-09-22

  • Add support for defining default values for variants in the theme. #51 by @Johan-duitot
shopify-dep
published 1.2.0 •

Changelog

Source

1.2.0 - 2020-08-19

  • Improve typesafety of createRestyleFunction for correct property values. #36 by @hammadj
  • Add start and end (e.g. paddingStart) properties where applicable to better support RTL layouts. #38 by @salzhrani
  • Fix useRestyle types not accepting a function created by createVariants. #41 by @JoelBesada
  • Make createRestyleComponent, createBox and createText correctly forward the ref prop to the underlying component. #42 by @JoelBesada
shopify-dep
published 1.1.0 •

Changelog

Source

1.1.0 - 2020-07-25

  • Improve type safety and type inference of createVariant, createBox, createText, useRestyle, createRestyleFunction and createRestyleComponent. #16 and #21 by @hammadj, #26 by @Johan-duitot
  • Add a createTheme helper function to enforce proper shape for user themes. #18 by @hammadj
  • Add shorthand names for spacing and backgroundColor props. #22 by @hammadj
  • Fix a bug in createVariant where defaults were only applied when the variant prop was passed in. #28 by @hammadj
  • Add a hook useResponsiveProp to deconstruct responsive prop values. #27 by @hammadj
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