@commonsku/styles 1.14.3 → 1.14.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 +8 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/styles/Task.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3908,7 +3908,7 @@ var ShowPopup = function (_a) {
|
|
|
3908
3908
|
};
|
|
3909
3909
|
var templateObject_1$t, templateObject_2$i, templateObject_3$b;
|
|
3910
3910
|
|
|
3911
|
-
var TaskLabel = styled.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["display: flex; min-height: 25px; ", ""], ["display: flex; min-height: 25px; ", ""])), function (p) { return p.hasCheckbox ? "
|
|
3911
|
+
var TaskLabel = styled.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["display: flex; min-height: 25px; ", ""], ["display: flex; min-height: 25px; ", ""])), function (p) { return p.hasCheckbox ? "width: calc(100% - 24px);" : ''; });
|
|
3912
3912
|
var TaskName = styled.div(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["flex-grow: 1; font-size:13px;"], ["flex-grow: 1; font-size:13px;"])));
|
|
3913
3913
|
var StyledTask = styled.div(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["margin-bottom: 1.5em; ", ""], ["margin-bottom: 1.5em; ", ""])), SharedStyles);
|
|
3914
3914
|
var TaskBody = styled.div(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["margin-left:34px;"], ["margin-left:34px;"])));
|
|
@@ -3973,6 +3973,10 @@ var CalendarTask = React__default.forwardRef(function (_a, ref) {
|
|
|
3973
3973
|
onClickCheckbox && onClickCheckbox(!s);
|
|
3974
3974
|
return !s;
|
|
3975
3975
|
});
|
|
3976
|
+
}, style: {
|
|
3977
|
+
padding: 0,
|
|
3978
|
+
margin: 0,
|
|
3979
|
+
marginLeft: 20,
|
|
3976
3980
|
} }) : RenderTaskLabel(),
|
|
3977
3981
|
React__default.createElement(StyledCalendarTaskBody, __assign({}, (isDescriptionHtml && typeof description === 'string'
|
|
3978
3982
|
? { dangerouslySetInnerHTML: { __html: description } }
|
|
@@ -5610,13 +5614,13 @@ function AlertNotification(_a) {
|
|
|
5610
5614
|
var _b = _a.alertType, alertType = _b === void 0 ? "neutral" : _b, _c = _a.learnMore, learnMore = _c === void 0 ? false : _c, href = _a.href, linkText = _a.linkText, children = _a.children, _d = _a.style, props = __rest(_a, ["alertType", "learnMore", "href", "linkText", "children", "style"]);
|
|
5611
5615
|
function notificationIcon() {
|
|
5612
5616
|
if (alertType === "success") {
|
|
5613
|
-
return React__default.createElement(CompletedCheckmarkIcon, { color: colors.green.dark, mr: 8, style: { flexShrink: 0 } });
|
|
5617
|
+
return React__default.createElement(CompletedCheckmarkIcon, { color: colors.green.dark, mr: 8, style: { flexShrink: "0" } });
|
|
5614
5618
|
}
|
|
5615
5619
|
else if (alertType === "error") {
|
|
5616
|
-
return React__default.createElement(AlertIcon, { color: colors.errors.dark, mr: 8, style: { flexShrink: 0 } });
|
|
5620
|
+
return React__default.createElement(AlertIcon, { color: colors.errors.dark, mr: 8, style: { flexShrink: "0" } });
|
|
5617
5621
|
}
|
|
5618
5622
|
else {
|
|
5619
|
-
return React__default.createElement(InfoIcon, { color: colors.navy.dark, mr: 8, style: { flexShrink: 0 } });
|
|
5623
|
+
return React__default.createElement(InfoIcon, { color: colors.navy.dark, mr: 8, style: { flexShrink: "0" } });
|
|
5620
5624
|
}
|
|
5621
5625
|
}
|
|
5622
5626
|
NotificationVariantStyles(alertType);
|