Skip to content

Commit

Permalink
Merge be7c46e into 8797403
Browse files Browse the repository at this point in the history
  • Loading branch information
surgit committed Jun 21, 2018
2 parents 8797403 + be7c46e commit 81c1ffb
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
<body>
<div id="UXCoreDemo"></div>
<script src="./node_modules/console-polyfill/index.js"></script>
<script src="./node_modules/es5-shim/es5-shim.min.js"></script>
<script src="./node_modules/es5-shim/es5-sham.min.js"></script>
<script src="./node_modules/react/dist/react-with-addons.js"></script>
<script src="./node_modules/react-dom/dist/react-dom.js"></script>
<script src="./node_modules/babel-polyfill/dist/polyfill.min.js"></script>
<script src="./node_modules/react/umd/react.development.js"></script>
<script src="./node_modules/react-dom/umd/react-dom.development.js"></script>
<script src="./dist/demo.js"></script>
</body>
</html>
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uxcore-alert",
"version": "0.3.2",
"version": "0.4.0",
"description": "uxcore-alert component for uxcore.",
"repository": "https://github.com/uxcore/uxcore-alert.git",
"author": "eternaslky",
Expand Down Expand Up @@ -34,21 +34,21 @@
"devDependencies": {
"console-polyfill": "^0.2.2",
"enzyme": "^3.0.0",
"enzyme-adapter-react-15": "^1.0.0",
"es5-shim": "^4.5.8",
"enzyme-adapter-react-16": "1.x",
"expect.js": "~0.3.1",
"kuma-base": "1.x",
"react": "15.x",
"react-dom": "15.x",
"react-test-renderer": "15.x",
"uxcore-button": "~0.3.1",
"react": "16.x",
"react-dom": "16.x",
"react-test-renderer": "16.x",
"uxcore-button": "^0.4.18",
"uxcore-kuma": "*",
"uxcore-tools": "0.2.x"
"uxcore-tools": "^0.3.0",
"babel-polyfill": "6.x"
},
"dependencies": {
"classnames": "^2.1.2",
"object-assign": "^4.0.0",
"prop-types": "15.x",
"prop-types": "^15.6.2",
"uxcore-icon": "^0.1.12"
},
"contributors": [],
Expand Down
2 changes: 1 addition & 1 deletion src/Alert.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Alert Component for uxcore
* @author eternaslky
*
* Copyright 2014-2015, Uxcore Team, Alinw.
* Copyright 2014-2018, Uxcore Team, Alinw.
* All rights reserved.
*/

Expand Down
8 changes: 4 additions & 4 deletions src/Alert.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Alert Component Style for uxcore
* @author eternaslky
*
* Copyright 2014-2015, Uxcore Team, Alinw.
* Copyright 2014-2018, Uxcore Team, Alinw.
* All rights reserved.
*/

Expand Down Expand Up @@ -45,7 +45,7 @@
color: @brand-link;
}
}

.message-generator(@base-color, @base-color-light, @saturation-diff, @value-diff){
background: @base-color-light;
.@{alertPrefixCls}-arrow {
Expand Down Expand Up @@ -186,12 +186,12 @@
line-height: 1;
cursor: pointer;
}

&-size-large {
padding: 8px 20px;
font-size: 14px;
.@{alertPrefixCls}-icon {
font-size: 22px;
font-size: 22px;
}
.@{alertPrefixCls}-follow {
padding-left: 38px;
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Alert Component for uxcore
* @author eternaslky
*
* Copyright 2014-2015, Uxcore Team, Alinw.
* Copyright 2014-2018, Uxcore Team, Alinw.
* All rights reserved.
*/

Expand Down

0 comments on commit 81c1ffb

Please sign in to comment.