@elliemae/ds-header 2.1.0-rc.0 → 2.1.0-rc.4
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/Header.js +4 -4
- package/esm/Header.js +4 -4
- package/package.json +2 -1
package/cjs/Header.js
CHANGED
|
@@ -12,7 +12,7 @@ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProp
|
|
|
12
12
|
require('react');
|
|
13
13
|
var reactDesc = require('react-desc');
|
|
14
14
|
var styled = require('styled-components');
|
|
15
|
-
var
|
|
15
|
+
var styledComponents = require('@xstyled/styled-components');
|
|
16
16
|
var jsxRuntime = require('react/jsx-runtime');
|
|
17
17
|
|
|
18
18
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -28,7 +28,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
28
28
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
29
29
|
const H = /*#__PURE__*/styled__default["default"].h3.withConfig({
|
|
30
30
|
componentId: "sc-hpgkwz-0"
|
|
31
|
-
})(["font-weight:unset;font-size:unset;line-height:unset;margin:0;padding:0;", " ", " ", "
|
|
31
|
+
})(["font-weight:unset;font-size:unset;line-height:unset;margin:0;padding:0;", " ", " ", ""], styledComponents.space, styledComponents.sizing, styledComponents.typography);
|
|
32
32
|
|
|
33
33
|
const DSHeader = _ref => {
|
|
34
34
|
let {
|
|
@@ -50,9 +50,9 @@ const DSHeader = _ref => {
|
|
|
50
50
|
fontFamily: fontFamily,
|
|
51
51
|
fontSize: fontSize,
|
|
52
52
|
fontWeight: fontWeight,
|
|
53
|
-
|
|
53
|
+
h: height,
|
|
54
54
|
lineHeight: lineHeight,
|
|
55
|
-
|
|
55
|
+
w: width,
|
|
56
56
|
"data-testid": "em-ds-header"
|
|
57
57
|
}, rest), {}, {
|
|
58
58
|
children: text
|
package/esm/Header.js
CHANGED
|
@@ -8,7 +8,7 @@ import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutPr
|
|
|
8
8
|
import 'react';
|
|
9
9
|
import { PropTypes, describe } from 'react-desc';
|
|
10
10
|
import styled from 'styled-components';
|
|
11
|
-
import { space,
|
|
11
|
+
import { space, sizing, typography } from '@xstyled/styled-components';
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
const _excluded = ["color", "fontFamily", "fontSize", "fontWeight", "height", "level", "lineHeight", "text", "width"];
|
|
@@ -18,7 +18,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
18
18
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19
19
|
const H = /*#__PURE__*/styled.h3.withConfig({
|
|
20
20
|
componentId: "sc-hpgkwz-0"
|
|
21
|
-
})(["font-weight:unset;font-size:unset;line-height:unset;margin:0;padding:0;", " ", " ", "
|
|
21
|
+
})(["font-weight:unset;font-size:unset;line-height:unset;margin:0;padding:0;", " ", " ", ""], space, sizing, typography);
|
|
22
22
|
|
|
23
23
|
const DSHeader = _ref => {
|
|
24
24
|
let {
|
|
@@ -40,9 +40,9 @@ const DSHeader = _ref => {
|
|
|
40
40
|
fontFamily: fontFamily,
|
|
41
41
|
fontSize: fontSize,
|
|
42
42
|
fontWeight: fontWeight,
|
|
43
|
-
|
|
43
|
+
h: height,
|
|
44
44
|
lineHeight: lineHeight,
|
|
45
|
-
|
|
45
|
+
w: width,
|
|
46
46
|
"data-testid": "em-ds-header"
|
|
47
47
|
}, rest), {}, {
|
|
48
48
|
children: text
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-header",
|
|
3
|
-
"version": "2.1.0-rc.
|
|
3
|
+
"version": "2.1.0-rc.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Header",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"build": "node ../../scripts/build/build.js"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
+
"@xstyled/styled-components": "~3.1.1",
|
|
39
40
|
"react-desc": "~4.1.3"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|