acsi-core 0.1.14 → 0.1.15
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/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -974,7 +974,7 @@ var CustomPagination = function CustomPagination(_ref) {
|
|
|
974
974
|
})));
|
|
975
975
|
};
|
|
976
976
|
|
|
977
|
-
var styles = {"core-button":"_xvNBN","primary":"_U9Qyp","secondary":"_1VzMy","text":"_pZNuj"};
|
|
977
|
+
var styles = {"core-button":"_xvNBN","primary":"_U9Qyp","secondary":"_1VzMy","text":"_pZNuj","danger":"_2uYm1"};
|
|
978
978
|
|
|
979
979
|
var CoreButton = function CoreButton(props) {
|
|
980
980
|
var _props$type = props.type,
|
|
@@ -982,21 +982,15 @@ var CoreButton = function CoreButton(props) {
|
|
|
982
982
|
children = props.children,
|
|
983
983
|
onClick = props.onClick,
|
|
984
984
|
icon = props.icon,
|
|
985
|
-
background = props.background,
|
|
986
985
|
_props$disabled = props.disabled,
|
|
987
986
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
988
|
-
color = props.color,
|
|
989
987
|
_props$htmlType = props.htmlType,
|
|
990
988
|
htmlType = _props$htmlType === void 0 ? "button" : _props$htmlType;
|
|
991
989
|
return React__default.createElement("button", {
|
|
992
990
|
className: styles["core-button"] + " " + styles[type],
|
|
993
991
|
onClick: onClick,
|
|
994
992
|
disabled: disabled,
|
|
995
|
-
type: htmlType
|
|
996
|
-
style: {
|
|
997
|
-
background: background,
|
|
998
|
-
color: color
|
|
999
|
-
}
|
|
993
|
+
type: htmlType
|
|
1000
994
|
}, icon && icon, children);
|
|
1001
995
|
};
|
|
1002
996
|
|