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

@cloudflare/component-box

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/component-box - npm Package Compare versions

Comparing version 2.4.7 to 3.0.0

{
"name": "@cloudflare/component-box",
"description": "Cloudflare Box ComponentThis is styling component similar to cf-component-flex which allows for arbitrary styling. This component should only be used when the built in style doesn't quite fit the bill and when it can't be done with fela. Ideally, cfui components should have the right styling built in for most cases. In the few edge cases that pop up in real world feature development, this is an alternative to wrapping your component in a `<div>` or `<span>` and styling it with css to accomodate one-offs. Also, note that using Box effectively performs a component level CSS reset, as all props not provided will be pulled from the default theme. These defaults, outlined in propertiesSpec, either match the browser defaults, or are taken from our global styles as defined by cf-style-const.",
"version": "2.4.7",
"version": "3.0.0",
"main": "lib/index.js",

@@ -22,7 +22,7 @@ "module": "es/index.js",

"@cloudflare/style-const": "^5.3.9",
"@cloudflare/style-container": "^7.8.41"
"@cloudflare/style-container": "^7.9.0"
},
"peerDependencies": {
"@cloudflare/style-const": "^5.3.9",
"@cloudflare/style-container": "^7.8.41",
"@cloudflare/style-container": "^7.9.0",
"react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0"

@@ -29,0 +29,0 @@ },

Sorry, the diff of this file is too big to display