intelicoreact 0.1.11 → 0.1.14
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.
|
@@ -34,7 +34,7 @@ var Button = function Button(_ref) {
|
|
|
34
34
|
var noRenderIcon = noIcon || variant === "ellipse-apply" || variant === "ellipse-cancel";
|
|
35
35
|
return /*#__PURE__*/_react.default.createElement("button", {
|
|
36
36
|
style: style,
|
|
37
|
-
className: (0, _classnames.default)(className, RC, (_cn = {}, (0, _defineProperty2.default)(_cn, "".concat(RC, "_").concat(variant), variant), (0, _defineProperty2.default)(_cn, 'button_icon-right', isIconRight), _cn)),
|
|
37
|
+
className: (0, _classnames.default)(className, RC, (_cn = {}, (0, _defineProperty2.default)(_cn, "".concat(RC, "_").concat(variant), variant), (0, _defineProperty2.default)(_cn, 'button_icon-left', icon && !isIconRight), (0, _defineProperty2.default)(_cn, 'button_icon-right', icon && isIconRight), _cn)),
|
|
38
38
|
onClick: onClick,
|
|
39
39
|
disabled: disabled
|
|
40
40
|
}, !noRenderIcon && icon, label && /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -92,7 +92,6 @@
|
|
|
92
92
|
|
|
93
93
|
&__text {
|
|
94
94
|
width: 100%;
|
|
95
|
-
margin-left: 5px;
|
|
96
95
|
display: flex;
|
|
97
96
|
justify-content: center;
|
|
98
97
|
align-items: center;
|
|
@@ -108,6 +107,12 @@
|
|
|
108
107
|
min-width: 15px;
|
|
109
108
|
}
|
|
110
109
|
|
|
110
|
+
&_icon-left {
|
|
111
|
+
.button__text {
|
|
112
|
+
margin-left: 5px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
111
116
|
&_icon-right {
|
|
112
117
|
.button__text {
|
|
113
118
|
order: 1;
|
package/dist/scss/_mixins.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "
|
|
1
|
+
@import "~anme/scss/anme-mixins-media";
|
|
2
|
+
@import "~anme/scss/anme-mixins";
|
package/dist/scss/_vars.scss
CHANGED
package/dist/scss/main.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intelicoreact",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "add postfix in dropdown",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
-
"files": ["dist/*"],
|
|
6
|
+
"files": ["dist/*", "node_modules/anme/*", "node_modules/moment/*", "node_modules/moment-timezone/*"],
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
9
|
"build": "babel src --out-dir dist --copy-files"
|