@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.js
CHANGED
|
@@ -3917,7 +3917,7 @@ var ShowPopup = function (_a) {
|
|
|
3917
3917
|
};
|
|
3918
3918
|
var templateObject_1$t, templateObject_2$i, templateObject_3$b;
|
|
3919
3919
|
|
|
3920
|
-
var TaskLabel = styled__default.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["display: flex; min-height: 25px; ", ""], ["display: flex; min-height: 25px; ", ""])), function (p) { return p.hasCheckbox ? "
|
|
3920
|
+
var TaskLabel = styled__default.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);" : ''; });
|
|
3921
3921
|
var TaskName = styled__default.div(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["flex-grow: 1; font-size:13px;"], ["flex-grow: 1; font-size:13px;"])));
|
|
3922
3922
|
var StyledTask = styled__default.div(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["margin-bottom: 1.5em; ", ""], ["margin-bottom: 1.5em; ", ""])), SharedStyles);
|
|
3923
3923
|
var TaskBody = styled__default.div(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["margin-left:34px;"], ["margin-left:34px;"])));
|
|
@@ -3982,6 +3982,10 @@ var CalendarTask = React__default.forwardRef(function (_a, ref) {
|
|
|
3982
3982
|
onClickCheckbox && onClickCheckbox(!s);
|
|
3983
3983
|
return !s;
|
|
3984
3984
|
});
|
|
3985
|
+
}, style: {
|
|
3986
|
+
padding: 0,
|
|
3987
|
+
margin: 0,
|
|
3988
|
+
marginLeft: 20,
|
|
3985
3989
|
} }) : RenderTaskLabel(),
|
|
3986
3990
|
React__default.createElement(StyledCalendarTaskBody, __assign({}, (isDescriptionHtml && typeof description === 'string'
|
|
3987
3991
|
? { dangerouslySetInnerHTML: { __html: description } }
|
|
@@ -5619,13 +5623,13 @@ function AlertNotification(_a) {
|
|
|
5619
5623
|
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"]);
|
|
5620
5624
|
function notificationIcon() {
|
|
5621
5625
|
if (alertType === "success") {
|
|
5622
|
-
return React__default.createElement(CompletedCheckmarkIcon, { color: colors.green.dark, mr: 8, style: { flexShrink: 0 } });
|
|
5626
|
+
return React__default.createElement(CompletedCheckmarkIcon, { color: colors.green.dark, mr: 8, style: { flexShrink: "0" } });
|
|
5623
5627
|
}
|
|
5624
5628
|
else if (alertType === "error") {
|
|
5625
|
-
return React__default.createElement(AlertIcon, { color: colors.errors.dark, mr: 8, style: { flexShrink: 0 } });
|
|
5629
|
+
return React__default.createElement(AlertIcon, { color: colors.errors.dark, mr: 8, style: { flexShrink: "0" } });
|
|
5626
5630
|
}
|
|
5627
5631
|
else {
|
|
5628
|
-
return React__default.createElement(InfoIcon, { color: colors.navy.dark, mr: 8, style: { flexShrink: 0 } });
|
|
5632
|
+
return React__default.createElement(InfoIcon, { color: colors.navy.dark, mr: 8, style: { flexShrink: "0" } });
|
|
5629
5633
|
}
|
|
5630
5634
|
}
|
|
5631
5635
|
NotificationVariantStyles(alertType);
|