@atlaskit/empty-state
Advanced tools
Comparing version 7.2.1 to 7.3.0
# @atlaskit/empty-state | ||
## 7.3.0 | ||
### Minor Changes | ||
- [`b5c96b26bf3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5c96b26bf3) - Instrumented empty-state with the new theming package, `@atlaskit/tokens`. | ||
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). | ||
These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes. | ||
### Patch Changes | ||
- Updated dependencies | ||
## 7.2.1 | ||
@@ -4,0 +17,0 @@ |
@@ -14,2 +14,4 @@ "use strict"; | ||
var _tokens = require("@atlaskit/tokens"); | ||
/** @jsx jsx */ | ||
@@ -19,3 +21,3 @@ var descriptionStyles = (0, _core.css)({ | ||
marginBottom: "".concat((0, _constants.gridSize)() * 3, "px"), | ||
color: _colors.N800 | ||
color: (0, _tokens.token)('color.text.highEmphasis', _colors.N800) | ||
}); | ||
@@ -22,0 +24,0 @@ /** |
{ | ||
"name": "@atlaskit/empty-state", | ||
"version": "7.2.1", | ||
"version": "7.3.0", | ||
"sideEffects": false | ||
} |
@@ -5,6 +5,7 @@ /** @jsx jsx */ | ||
import { gridSize as getGridSize } from '@atlaskit/theme/constants'; | ||
import { token } from '@atlaskit/tokens'; | ||
const descriptionStyles = css({ | ||
marginTop: 0, | ||
marginBottom: `${getGridSize() * 3}px`, | ||
color: N800 | ||
color: token('color.text.highEmphasis', N800) | ||
}); | ||
@@ -11,0 +12,0 @@ /** |
{ | ||
"name": "@atlaskit/empty-state", | ||
"version": "7.2.1", | ||
"version": "7.3.0", | ||
"sideEffects": false | ||
} |
@@ -5,6 +5,7 @@ /** @jsx jsx */ | ||
import { gridSize as getGridSize } from '@atlaskit/theme/constants'; | ||
import { token } from '@atlaskit/tokens'; | ||
var descriptionStyles = css({ | ||
marginTop: 0, | ||
marginBottom: "".concat(getGridSize() * 3, "px"), | ||
color: N800 | ||
color: token('color.text.highEmphasis', N800) | ||
}); | ||
@@ -11,0 +12,0 @@ /** |
{ | ||
"name": "@atlaskit/empty-state", | ||
"version": "7.2.1", | ||
"version": "7.3.0", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/empty-state", | ||
"version": "7.2.1", | ||
"description": "A React component used for presenting various empty states (no items, empty search, broken link, welcome screen etc.)", | ||
"version": "7.3.0", | ||
"description": "An empty state appears when there is no data to display and describes what the user can do next.", | ||
"publishConfig": { | ||
@@ -28,3 +28,4 @@ "registry": "https://registry.npmjs.org/" | ||
"@atlaskit/spinner": "^15.1.0", | ||
"@atlaskit/theme": "^11.5.0", | ||
"@atlaskit/theme": "^12.0.0", | ||
"@atlaskit/tokens": "^0.2.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -54,3 +55,3 @@ "@emotion/core": "^10.0.9" | ||
"analytics": "analytics-next", | ||
"theming": "new-theming-api", | ||
"theming": "tokens", | ||
"styling": "emotion", | ||
@@ -57,0 +58,0 @@ "design-system": "v1", |
51699
980
7
+ Added@atlaskit/tokens@^0.2.0
- Removed@atlaskit/theme@11.5.2(transitive)
- Removedasap@2.0.6(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@2.3.2(transitive)
- Removedencoding@0.1.13(transitive)
- Removedexenv@1.2.2(transitive)
- Removedfbjs@0.8.18(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedhoist-non-react-statics@2.5.5(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedieee754@1.2.1(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpostcss-value-parser@3.3.1(transitive)
- Removedpromise@7.3.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedstyled-components@3.4.10(transitive)
- Removedstylis@3.5.4(transitive)
- Removedstylis-rule-sheet@0.0.10(transitive)
- Removedsupports-color@3.2.3(transitive)
- Removedua-parser-js@0.7.38(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
Updated@atlaskit/theme@^12.0.0