@theme-ui/css
Advanced tools
Comparing version 0.6.2--canary.17d24e3.0 to 0.6.2--canary.35641aa.0
@@ -349,14 +349,2 @@ import * as CSS from 'csstype'; | ||
/** | ||
* The **`border-top-width`** CSS property sets the width of the top border of an element. | ||
* | ||
* **Initial value**: `medium` | ||
* | ||
* | Chrome | Firefox | Safari | Edge | IE | | ||
* | :----: | :-----: | :----: | :----: | :---: | | ||
* | **1** | **1** | **1** | **12** | **4** | | ||
* | ||
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-width | ||
*/ | ||
borderTopWidth?: CSS.Property.BorderTopWidth<never> | string; | ||
/** | ||
* The **`border-bottom-style`** CSS property sets the line style of an element's bottom `border`. | ||
@@ -363,0 +351,0 @@ * |
{ | ||
"name": "@theme-ui/css", | ||
"version": "0.6.2--canary.17d24e3.0", | ||
"version": "0.6.2--canary.35641aa.0", | ||
"source": "src/index.ts", | ||
@@ -23,3 +23,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "17d24e3ff931a99b2616cd495a871918edca7799" | ||
"gitHead": "35641aae6322a10f0d660a971a4deca3dbf272cf" | ||
} |
@@ -365,14 +365,2 @@ import * as CSS from 'csstype' | ||
/** | ||
* The **`border-top-width`** CSS property sets the width of the top border of an element. | ||
* | ||
* **Initial value**: `medium` | ||
* | ||
* | Chrome | Firefox | Safari | Edge | IE | | ||
* | :----: | :-----: | :----: | :----: | :---: | | ||
* | **1** | **1** | **1** | **12** | **4** | | ||
* | ||
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-width | ||
*/ | ||
borderTopWidth?: CSS.Property.BorderTopWidth<never> | string | ||
/** | ||
* The **`border-bottom-style`** CSS property sets the line style of an element's bottom `border`. | ||
@@ -379,0 +367,0 @@ * |
@@ -1,2 +0,2 @@ | ||
import { css, NestedScale, NestedScaleDict, Theme } from '../src' | ||
import { css, NestedScale, NestedScaleDict, Theme, ThemeUIExtendedCSSProperties } from '../src' | ||
@@ -679,1 +679,18 @@ const theme: Theme = { | ||
}) | ||
test('borderTopWidth accepts number', () => { | ||
expect(css({ | ||
borderTopWidth: 7, | ||
})(theme)).toEqual({ | ||
borderTopWidth: 7, | ||
}) | ||
expect(css({ | ||
borderTopWidth: 1, | ||
})({ | ||
borderWidths: ['10px', '20px'] | ||
})).toEqual({ | ||
borderTopWidth: '20px', | ||
}) | ||
}) |
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
243194
4317