@elliemae/ds-ribbon 2.0.0-next.7 → 2.0.0-rc.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/cjs/DSRibbon.js +20 -14
- package/esm/DSRibbon.js +20 -14
- package/package.json +4 -5
package/cjs/DSRibbon.js
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
6
|
+
require('core-js/modules/esnext.iterator.constructor.js');
|
|
7
|
+
require('core-js/modules/esnext.iterator.filter.js');
|
|
8
|
+
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
9
|
+
require('core-js/modules/esnext.iterator.for-each.js');
|
|
5
10
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
11
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
7
12
|
require('react');
|
|
@@ -77,22 +82,23 @@ const RibbonBlock = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
|
77
82
|
componentId: "sc-9boes5-9"
|
|
78
83
|
})(["flex:1;height:100%;"]);
|
|
79
84
|
|
|
80
|
-
function RibbonCard({
|
|
81
|
-
containerProps = {},
|
|
82
|
-
icon = null,
|
|
83
|
-
label = '',
|
|
84
|
-
value = '',
|
|
85
|
-
additionalValue = '',
|
|
86
|
-
additionalLabel = '',
|
|
87
|
-
info = false,
|
|
88
|
-
error = false,
|
|
89
|
-
warning = false,
|
|
90
|
-
success = false,
|
|
91
|
-
center = false,
|
|
92
|
-
solid = false
|
|
93
|
-
}) {
|
|
85
|
+
function RibbonCard(_ref) {
|
|
94
86
|
var _RibbonBlockValue;
|
|
95
87
|
|
|
88
|
+
let {
|
|
89
|
+
containerProps = {},
|
|
90
|
+
icon = null,
|
|
91
|
+
label = '',
|
|
92
|
+
value = '',
|
|
93
|
+
additionalValue = '',
|
|
94
|
+
additionalLabel = '',
|
|
95
|
+
info = false,
|
|
96
|
+
error = false,
|
|
97
|
+
warning = false,
|
|
98
|
+
success = false,
|
|
99
|
+
center = false,
|
|
100
|
+
solid = false
|
|
101
|
+
} = _ref;
|
|
96
102
|
const labelPlace = icon ? /*#__PURE__*/_jsx__default["default"](RibbonBlockIcon, {
|
|
97
103
|
error: error,
|
|
98
104
|
info: info,
|
package/esm/DSRibbon.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
1
6
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
2
7
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
3
8
|
import 'react';
|
|
@@ -67,22 +72,23 @@ const RibbonBlock = /*#__PURE__*/styled.div.withConfig({
|
|
|
67
72
|
componentId: "sc-9boes5-9"
|
|
68
73
|
})(["flex:1;height:100%;"]);
|
|
69
74
|
|
|
70
|
-
function RibbonCard({
|
|
71
|
-
containerProps = {},
|
|
72
|
-
icon = null,
|
|
73
|
-
label = '',
|
|
74
|
-
value = '',
|
|
75
|
-
additionalValue = '',
|
|
76
|
-
additionalLabel = '',
|
|
77
|
-
info = false,
|
|
78
|
-
error = false,
|
|
79
|
-
warning = false,
|
|
80
|
-
success = false,
|
|
81
|
-
center = false,
|
|
82
|
-
solid = false
|
|
83
|
-
}) {
|
|
75
|
+
function RibbonCard(_ref) {
|
|
84
76
|
var _RibbonBlockValue;
|
|
85
77
|
|
|
78
|
+
let {
|
|
79
|
+
containerProps = {},
|
|
80
|
+
icon = null,
|
|
81
|
+
label = '',
|
|
82
|
+
value = '',
|
|
83
|
+
additionalValue = '',
|
|
84
|
+
additionalLabel = '',
|
|
85
|
+
info = false,
|
|
86
|
+
error = false,
|
|
87
|
+
warning = false,
|
|
88
|
+
success = false,
|
|
89
|
+
center = false,
|
|
90
|
+
solid = false
|
|
91
|
+
} = _ref;
|
|
86
92
|
const labelPlace = icon ? /*#__PURE__*/_jsx(RibbonBlockIcon, {
|
|
87
93
|
error: error,
|
|
88
94
|
info: info,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-ribbon",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-rc.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Ribbon",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -36,17 +36,16 @@
|
|
|
36
36
|
"build": "node ../../scripts/build/build.js"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"
|
|
40
|
-
"@elliemae/ds-classnames": "2.0.0-next.7"
|
|
39
|
+
"react-desc": "~4.1.3"
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
43
|
-
"styled-components": "~5.3.
|
|
42
|
+
"styled-components": "~5.3.3"
|
|
44
43
|
},
|
|
45
44
|
"peerDependencies": {
|
|
46
45
|
"lodash": "^4.17.21",
|
|
47
46
|
"react": "~17.0.2",
|
|
48
47
|
"react-dom": "^17.0.2",
|
|
49
|
-
"styled-components": "^5.3.
|
|
48
|
+
"styled-components": "^5.3.3"
|
|
50
49
|
},
|
|
51
50
|
"publishConfig": {
|
|
52
51
|
"access": "public",
|