Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 9e7391f

Browse files
committed
feat(re-styled, styled): refactoring
1 parent 4a05e3a commit 9e7391f

File tree

13 files changed

+67
-3
lines changed

13 files changed

+67
-3
lines changed

packages/re-styled/src/components/heading/styled-heading.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import styled from 'styled-components';
22
import { getVariant } from 'utils';
3-
import { tints } from '@elementor/styles';
4-
5-
window.console.log( '*** Rot', tints );
63

74
const Heading = styled.h1`
85
${ ( props ) => getVariant( props.variant, {} ) }

packages/styles/package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,24 @@
2525
},
2626
"scripts": {
2727
"test": "echo \"Error: run tests from root\" && exit 1"
28+
},
29+
"devDependencies": {
30+
"@babel/core": "^7.2.2",
31+
"@babel/preset-env": "^7.3.1",
32+
"@babel/preset-react": "^7.0.0",
33+
"@elementor/styles": "^0.29.0",
34+
"babel-loader": "^8.0.5",
35+
"prop-types": "^15.7.2",
36+
"react": "^16.7.0",
37+
"react-dom": "^16.7.0",
38+
"styled-components": "^5.3.0",
39+
"webpack": "^4.29.0",
40+
"webpack-cli": "^3.2.1"
41+
},
42+
"peerDependencies": {
43+
"prop-types": ">=15.7.2",
44+
"react": ">=16.7.0",
45+
"react-dom": ">=16.7.0",
46+
"styled-components": ">=5.3.0"
2847
}
2948
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)