@linzjs/lui 17.41.2 → 17.41.4
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/lui.esm.js
CHANGED
|
@@ -15614,14 +15614,15 @@ var parse$2 = function (value, options) {
|
|
|
15614
15614
|
return isValidDate ? result : undefined;
|
|
15615
15615
|
};
|
|
15616
15616
|
var parseTextDate = function (value, options) {
|
|
15617
|
+
var _a;
|
|
15617
15618
|
if (!value || typeof value !== 'string') {
|
|
15618
|
-
return;
|
|
15619
|
+
return '';
|
|
15619
15620
|
}
|
|
15620
15621
|
try {
|
|
15621
|
-
return parse$2(value, options);
|
|
15622
|
+
return (_a = parse$2(value, options)) !== null && _a !== void 0 ? _a : '';
|
|
15622
15623
|
}
|
|
15623
|
-
catch (
|
|
15624
|
-
return;
|
|
15624
|
+
catch (_b) {
|
|
15625
|
+
return '';
|
|
15625
15626
|
}
|
|
15626
15627
|
};
|
|
15627
15628
|
|
|
@@ -42422,9 +42423,9 @@ var LuiModalHeader = function (props) {
|
|
|
42422
42423
|
return (React__default.createElement("header", { className: "lui-modal-header-".concat(headerStyle) }, props.headingText && (React__default.createElement("div", { className: "lui-modal-header-title" },
|
|
42423
42424
|
React__default.createElement("h1", null, props.headingText),
|
|
42424
42425
|
React__default.createElement("div", { className: "lui-modal-header-buttons" },
|
|
42425
|
-
props.helpLink && (React__default.createElement("button", { className: "lui-modal-header-help-btn", onClick: function () { return window.open(props.helpLink); } },
|
|
42426
|
+
props.helpLink && (React__default.createElement("button", { "aria-label": 'Modal Help', title: 'Help', className: "lui-modal-header-help-btn", onClick: function () { return window.open(props.helpLink); } },
|
|
42426
42427
|
React__default.createElement(LuiIcon, { name: "ic_help_outline", alt: "Help", size: "lg" }))),
|
|
42427
|
-
headerStyle === 'default' && props.onClose && (React__default.createElement("button", { className: "lui-modal-header-close-btn", onClick: props.onClose },
|
|
42428
|
+
headerStyle === 'default' && props.onClose && (React__default.createElement("button", { "aria-label": 'Modal Close', title: 'Close', className: "lui-modal-header-close-btn", onClick: props.onClose },
|
|
42428
42429
|
React__default.createElement(LuiIcon, { name: "ic_clear", alt: "Help", size: "lg" }))))))));
|
|
42429
42430
|
};
|
|
42430
42431
|
|