@atlaskit/primitives
Advanced tools
Comparing version 10.0.0 to 10.1.0
# @atlaskit/primitives | ||
## 10.1.0 | ||
### Minor Changes | ||
- [`b78fad249a1e7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b78fad249a1e7) - | ||
Allow Negative Spaces in OutlineOffset | ||
## 10.0.0 | ||
@@ -77,3 +84,3 @@ | ||
``` | ||
```tsx | ||
import { Box, xcss } from '@atlaskit/primitives'; | ||
@@ -84,17 +91,12 @@ import FocusRing from '@atlaskit/focus-ring'; | ||
cursor: 'pointer', | ||
backgroundColor: 'color.background.brand.bold' | ||
backgroundColor: 'color.background.brand.bold', | ||
}); | ||
const MyApp = () => ( | ||
<FocusRing> | ||
<Box | ||
as="button" | ||
xcss={buttonStyles} | ||
disabled={isDisabled} | ||
> | ||
<Box as="button" xcss={buttonStyles} disabled={isDisabled}> | ||
Hello | ||
</Box> | ||
</FocusRing> | ||
) | ||
); | ||
``` | ||
@@ -104,14 +106,11 @@ | ||
``` | ||
```tsx | ||
import { Pressable, xcss } from '@atlaskit/primitives'; | ||
const buttonStyles = xcss({ | ||
backgroundColor: 'color.background.brand.bold' | ||
backgroundColor: 'color.background.brand.bold', | ||
}); | ||
const MyApp = () => ( | ||
<Pressable | ||
xcss={buttonStyles} | ||
isDisabled={isDisabled} | ||
> | ||
<Pressable xcss={buttonStyles} isDisabled={isDisabled}> | ||
Hello | ||
@@ -118,0 +117,0 @@ </Pressable> |
@@ -106,3 +106,3 @@ "use strict"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "10.0.0", | ||
packageVersion: "10.1.0", | ||
analyticsData: analyticsContext, | ||
@@ -109,0 +109,0 @@ actionSubject: 'link' |
@@ -98,3 +98,3 @@ "use strict"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "10.0.0", | ||
packageVersion: "10.1.0", | ||
analyticsData: analyticsContext, | ||
@@ -101,0 +101,0 @@ actionSubject: 'button' |
@@ -96,3 +96,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "10.0.0", | ||
packageVersion: "10.1.0", | ||
analyticsData: analyticsContext, | ||
@@ -99,0 +99,0 @@ actionSubject: 'link' |
@@ -88,3 +88,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "10.0.0", | ||
packageVersion: "10.1.0", | ||
analyticsData: analyticsContext, | ||
@@ -91,0 +91,0 @@ actionSubject: 'button' |
@@ -100,3 +100,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "10.0.0", | ||
packageVersion: "10.1.0", | ||
analyticsData: analyticsContext, | ||
@@ -103,0 +103,0 @@ actionSubject: 'link' |
@@ -92,3 +92,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "10.0.0", | ||
packageVersion: "10.1.0", | ||
analyticsData: analyticsContext, | ||
@@ -95,0 +95,0 @@ actionSubject: 'button' |
@@ -625,3 +625,3 @@ import { type SerializedStyles } from '@emotion/react'; | ||
outlineColor?: BorderColor; | ||
outlineOffset?: Space; | ||
outlineOffset?: AllSpace; | ||
outlineWidth?: BorderWidth | string; | ||
@@ -628,0 +628,0 @@ padding?: Space; |
@@ -625,3 +625,3 @@ import { type SerializedStyles } from '@emotion/react'; | ||
outlineColor?: BorderColor; | ||
outlineOffset?: Space; | ||
outlineOffset?: AllSpace; | ||
outlineWidth?: BorderWidth | string; | ||
@@ -628,0 +628,0 @@ padding?: Space; |
{ | ||
"name": "@atlaskit/primitives", | ||
"version": "10.0.0", | ||
"version": "10.1.0", | ||
"description": "Primitives are token-backed low-level building blocks.", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
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
1890575