kui-complex 0.0.3 → 0.0.5
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.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -143,7 +143,7 @@ var ButtonTab = function (_a) {
|
|
|
143
143
|
var handleClick = function () {
|
|
144
144
|
onClick(index);
|
|
145
145
|
};
|
|
146
|
-
return (jsx$1(StyledButton, __assign({ variant: isActive ? "orange" : "white", captionWeight: isActive ? 600 : 400, onClick: handleClick, css: !isActive && inactiveStyles }, { children: label })));
|
|
146
|
+
return (jsx$1(StyledButton, __assign({ variant: isActive ? "orange" : "white", captionWeight: isActive ? 600 : 400, onClick: handleClick, css: !isActive && inactiveStyles, size: "s" }, { children: label })));
|
|
147
147
|
};
|
|
148
148
|
var StyledButton = styled(Button)(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n margin-right: 24px;\n &:last-of-type {\n margin-right: 0;\n }\n"], ["\n margin-right: 24px;\n &:last-of-type {\n margin-right: 0;\n }\n"])));
|
|
149
149
|
var inactiveStyles = css(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n p {\n color: ", ";\n }\n"], ["\n p {\n color: ", ";\n }\n"])), theme.palette.grey.seventy);
|
package/dist/index.js
CHANGED
|
@@ -174,7 +174,7 @@ var ButtonTab = function (_a) {
|
|
|
174
174
|
var handleClick = function () {
|
|
175
175
|
onClick(index);
|
|
176
176
|
};
|
|
177
|
-
return (jsxRuntime$1.jsx(StyledButton, __assign({ variant: isActive ? "orange" : "white", captionWeight: isActive ? 600 : 400, onClick: handleClick, css: !isActive && inactiveStyles }, { children: label })));
|
|
177
|
+
return (jsxRuntime$1.jsx(StyledButton, __assign({ variant: isActive ? "orange" : "white", captionWeight: isActive ? 600 : 400, onClick: handleClick, css: !isActive && inactiveStyles, size: "s" }, { children: label })));
|
|
178
178
|
};
|
|
179
179
|
var StyledButton = styled__default["default"](kuiBasic.Button)(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n margin-right: 24px;\n &:last-of-type {\n margin-right: 0;\n }\n"], ["\n margin-right: 24px;\n &:last-of-type {\n margin-right: 0;\n }\n"])));
|
|
180
180
|
var inactiveStyles = react.css(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n p {\n color: ", ";\n }\n"], ["\n p {\n color: ", ";\n }\n"])), theme.palette.grey.seventy);
|