@synerise/ds-empty-states 0.2.1 → 0.2.2
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 +8 -0
- package/dist/EmptyStates.js +1 -3
- package/dist/EmptyStates.types.js +2 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.2.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-empty-states@0.2.1...@synerise/ds-empty-states@0.2.2) (2021-11-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-empty-states
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-empty-states@0.1.14...@synerise/ds-empty-states@0.2.1) (2021-11-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-empty-states
|
package/dist/EmptyStates.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
var _mapSizeToPx;
|
|
2
2
|
|
|
3
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
-
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
import Icon from '@synerise/ds-icon';
|
|
7
5
|
import * as S from './EmptyStates.styles';
|
|
8
6
|
import { EmptyStatesSize } from './EmptyStates.types';
|
|
9
|
-
var mapSizeToPx = (_mapSizeToPx = {},
|
|
7
|
+
var mapSizeToPx = (_mapSizeToPx = {}, _mapSizeToPx[EmptyStatesSize.SMALL] = 48, _mapSizeToPx[EmptyStatesSize.MEDIUM] = 96, _mapSizeToPx);
|
|
10
8
|
|
|
11
9
|
var EmptyStates = function EmptyStates(_ref) {
|
|
12
10
|
var _ref$size = _ref.size,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
var _IconSize, _FontSize;
|
|
2
2
|
|
|
3
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
-
|
|
5
3
|
export var EmptyStatesSize;
|
|
6
4
|
|
|
7
5
|
(function (EmptyStatesSize) {
|
|
@@ -9,5 +7,5 @@ export var EmptyStatesSize;
|
|
|
9
7
|
EmptyStatesSize["MEDIUM"] = "medium";
|
|
10
8
|
})(EmptyStatesSize || (EmptyStatesSize = {}));
|
|
11
9
|
|
|
12
|
-
export var IconSize = (_IconSize = {},
|
|
13
|
-
export var FontSize = (_FontSize = {},
|
|
10
|
+
export var IconSize = (_IconSize = {}, _IconSize[EmptyStatesSize.SMALL] = 48, _IconSize[EmptyStatesSize.MEDIUM] = 96, _IconSize);
|
|
11
|
+
export var FontSize = (_FontSize = {}, _FontSize[EmptyStatesSize.SMALL] = 14, _FontSize[EmptyStatesSize.MEDIUM] = 18, _FontSize);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-empty-states",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "EmptyStates UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
],
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-icon": "^0.46.
|
|
35
|
+
"@synerise/ds-icon": "^0.46.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@synerise/ds-core": "*",
|
|
39
39
|
"react": ">=16.9.0 < 17.0.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "2468359677783819939fb9f1ef5acc36667ecd1a"
|
|
42
42
|
}
|