@atlaskit/empty-state 7.11.1 → 7.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/empty-state.js +5 -1
- package/dist/es2019/empty-state.js +6 -2
- package/dist/esm/empty-state.js +6 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/empty-state
|
|
2
2
|
|
|
3
|
+
## 7.11.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#135500](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/135500)
|
|
8
|
+
[`1d43605b39f55`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1d43605b39f55) -
|
|
9
|
+
We are testing a visual change behind a feature flag inceasing specificity of description
|
|
10
|
+
typography styles. If this change is successful it will be available in a later release.
|
|
11
|
+
|
|
12
|
+
## 7.11.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 7.11.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/cjs/empty-state.js
CHANGED
|
@@ -83,6 +83,10 @@ var EmptyState = function EmptyState(_ref) {
|
|
|
83
83
|
as: tag
|
|
84
84
|
}, header)) : /*#__PURE__*/_react.default.createElement(_styled.Header, {
|
|
85
85
|
level: headingLevel
|
|
86
|
-
}, header), description && /*#__PURE__*/_react.default.createElement(
|
|
86
|
+
}, header), description && ((0, _platformFeatureFlags.fg)('platform.design-system-team.empty-state-typography-updates_gndrj') ? /*#__PURE__*/_react.default.createElement(_primitives.Box, {
|
|
87
|
+
paddingBlockEnd: "space.300"
|
|
88
|
+
}, /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
89
|
+
as: "p"
|
|
90
|
+
}, description)) : /*#__PURE__*/_react.default.createElement(_styled.Description, null, description)), actionsContainer, tertiaryAction);
|
|
87
91
|
};
|
|
88
92
|
var _default = exports.default = EmptyState;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
-
import { Box } from '@atlaskit/primitives';
|
|
5
|
+
import { Box, Text } from '@atlaskit/primitives';
|
|
6
6
|
import Spinner from '@atlaskit/spinner';
|
|
7
7
|
import { ActionsContainer, Container, Description, Header, Image as HeaderImage, SpinnerContainer } from './styled';
|
|
8
8
|
/**
|
|
@@ -74,6 +74,10 @@ const EmptyState = ({
|
|
|
74
74
|
as: tag
|
|
75
75
|
}, header)) : /*#__PURE__*/React.createElement(Header, {
|
|
76
76
|
level: headingLevel
|
|
77
|
-
}, header), description && /*#__PURE__*/React.createElement(
|
|
77
|
+
}, header), description && (fg('platform.design-system-team.empty-state-typography-updates_gndrj') ? /*#__PURE__*/React.createElement(Box, {
|
|
78
|
+
paddingBlockEnd: "space.300"
|
|
79
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
80
|
+
as: "p"
|
|
81
|
+
}, description)) : /*#__PURE__*/React.createElement(Description, null, description)), actionsContainer, tertiaryAction);
|
|
78
82
|
};
|
|
79
83
|
export default EmptyState;
|
package/dist/esm/empty-state.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
-
import { Box } from '@atlaskit/primitives';
|
|
5
|
+
import { Box, Text } from '@atlaskit/primitives';
|
|
6
6
|
import Spinner from '@atlaskit/spinner';
|
|
7
7
|
import { ActionsContainer, Container, Description, Header, Image as HeaderImage, SpinnerContainer } from './styled';
|
|
8
8
|
/**
|
|
@@ -76,6 +76,10 @@ var EmptyState = function EmptyState(_ref) {
|
|
|
76
76
|
as: tag
|
|
77
77
|
}, header)) : /*#__PURE__*/React.createElement(Header, {
|
|
78
78
|
level: headingLevel
|
|
79
|
-
}, header), description && /*#__PURE__*/React.createElement(
|
|
79
|
+
}, header), description && (fg('platform.design-system-team.empty-state-typography-updates_gndrj') ? /*#__PURE__*/React.createElement(Box, {
|
|
80
|
+
paddingBlockEnd: "space.300"
|
|
81
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
82
|
+
as: "p"
|
|
83
|
+
}, description)) : /*#__PURE__*/React.createElement(Description, null, description)), actionsContainer, tertiaryAction);
|
|
80
84
|
};
|
|
81
85
|
export default EmptyState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/empty-state",
|
|
3
|
-
"version": "7.11.
|
|
3
|
+
"version": "7.11.3",
|
|
4
4
|
"description": "An empty state appears when there is no data to display and describes what the user can do next.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/button": "^
|
|
30
|
+
"@atlaskit/button": "^20.1.0",
|
|
31
31
|
"@atlaskit/heading": "^2.3.2",
|
|
32
32
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
33
33
|
"@atlaskit/primitives": "^12.0.0",
|
|
34
34
|
"@atlaskit/spinner": "^16.3.0",
|
|
35
35
|
"@atlaskit/theme": "^13.0.0",
|
|
36
|
-
"@atlaskit/tokens": "^1.
|
|
36
|
+
"@atlaskit/tokens": "^1.59.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0",
|
|
38
38
|
"@emotion/react": "^11.7.1"
|
|
39
39
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@af/accessibility-testing": "*",
|
|
45
45
|
"@af/visual-regression": "*",
|
|
46
|
-
"@atlaskit/ds-lib": "^2.
|
|
46
|
+
"@atlaskit/ds-lib": "^2.5.0",
|
|
47
47
|
"@atlaskit/ssr": "*",
|
|
48
48
|
"@atlaskit/visual-regression": "*",
|
|
49
49
|
"@testing-library/react": "^12.1.5",
|