fower-plugin-box-sizing
Advanced tools
Comparing version 1.46.0 to 1.47.0
{ | ||
"name": "fower-plugin-box-sizing", | ||
"version": "1.46.0", | ||
"version": "1.47.0", | ||
"license": "MIT", | ||
@@ -16,2 +16,3 @@ "main": "dist/index.js", | ||
"start": "tsdx watch --verbose", | ||
"build:types": "node gen-types.js", | ||
"build": "tsdx build", | ||
@@ -26,8 +27,8 @@ "test": "tsdx test --passWithNoTests", | ||
"dependencies": { | ||
"@fower/atomic-props": "^1.46.0", | ||
"@fower/core": "^1.46.0", | ||
"@fower/utils": "^1.46.0", | ||
"@fower/atomic-props": "^1.47.0", | ||
"@fower/core": "^1.47.0", | ||
"@fower/utils": "^1.47.0", | ||
"csstype": "^3.0.8" | ||
}, | ||
"gitHead": "11cdb1f2121928c3de196008736d155c588614ff" | ||
"gitHead": "80fcd01f8938e40be153469231008ca11d7974f0" | ||
} |
@@ -1,4 +0,3 @@ | ||
import { FowerPlugin } from '@fower/core' | ||
import { FowerPlugin, ResponsiveValue, ResponsiveBoolean } from "@fower/core" | ||
import * as CSS from 'csstype' | ||
declare const _default: () => FowerPlugin | ||
@@ -10,43 +9,42 @@ export default _default | ||
/** | ||
* Set boxSizing | ||
* | ||
* Set box-sizing to some value | ||
* ```css | ||
* { boxSizing: 'content-box' } | ||
* { box-sizing: $value; } | ||
* ``` | ||
* | ||
* @example | ||
* ```tsx | ||
* <Box boxSizing="content-box">Hello world</Box> | ||
* <Box boxSizing="content-box"></Box> | ||
* <Box boxSizing="border-box"></Box> | ||
* ``` | ||
* @see https://fower.vercel.app/docs/box-sizing | ||
* https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing | ||
*/ | ||
boxSizing?: CSS.Property.BoxSizing | boolean | ||
boxSizing?: ResponsiveValue<CSS.Property.BoxSizing> | ||
/** | ||
* Set boxSizing to content-box | ||
* | ||
* Set box-sizing to content-box | ||
* ```css | ||
* { boxSizing: 'content-box' } | ||
* { box-sizing: content-box; } | ||
* ``` | ||
* | ||
* @example | ||
* ```tsx | ||
* <Box boxContent>Hello world</Box> | ||
* <Box boxContent></Box> | ||
* ``` | ||
* @see https://fower.vercel.app/docs/box-sizing | ||
* https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing | ||
*/ | ||
boxContent?: boolean | ||
boxContent?: ResponsiveBoolean | ||
/** | ||
* Set boxSizing to border-box | ||
* | ||
* Set box-sizing to border-box | ||
* ```css | ||
* { boxSizing: 'border-box' } | ||
* { box-sizing: border-box; } | ||
* ``` | ||
* | ||
* @example | ||
* ```tsx | ||
* <Box boxBorder>Hello world</Box> | ||
* <Box boxBorder></Box> | ||
* ``` | ||
* @see https://fower.vercel.app/docs/box-sizing | ||
* https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing | ||
*/ | ||
boxBorder?: boolean | ||
boxBorder?: ResponsiveBoolean | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8941
108
Updated@fower/atomic-props@^1.47.0
Updated@fower/core@^1.47.0
Updated@fower/utils@^1.47.0