@linzjs/lui 17.41.2 → 17.41.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [17.41.3](https://github.com/linz/lui/compare/v17.41.2...v17.41.3) (2023-03-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * added title and labels to modal header buttons ([#880](https://github.com/linz/lui/issues/880)) ([9d5edf7](https://github.com/linz/lui/commit/9d5edf7062ef1fcd107de8ab9088d4ab3ccee4d7))
7
+
1
8
  ## [17.41.2](https://github.com/linz/lui/compare/v17.41.1...v17.41.2) (2023-03-09)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -42451,9 +42451,9 @@ var LuiModalHeader = function (props) {
42451
42451
  return (React__default["default"].createElement("header", { className: "lui-modal-header-".concat(headerStyle) }, props.headingText && (React__default["default"].createElement("div", { className: "lui-modal-header-title" },
42452
42452
  React__default["default"].createElement("h1", null, props.headingText),
42453
42453
  React__default["default"].createElement("div", { className: "lui-modal-header-buttons" },
42454
- props.helpLink && (React__default["default"].createElement("button", { className: "lui-modal-header-help-btn", onClick: function () { return window.open(props.helpLink); } },
42454
+ props.helpLink && (React__default["default"].createElement("button", { "aria-label": 'Modal Help', title: 'Help', className: "lui-modal-header-help-btn", onClick: function () { return window.open(props.helpLink); } },
42455
42455
  React__default["default"].createElement(LuiIcon, { name: "ic_help_outline", alt: "Help", size: "lg" }))),
42456
- headerStyle === 'default' && props.onClose && (React__default["default"].createElement("button", { className: "lui-modal-header-close-btn", onClick: props.onClose },
42456
+ headerStyle === 'default' && props.onClose && (React__default["default"].createElement("button", { "aria-label": 'Modal Close', title: 'Close', className: "lui-modal-header-close-btn", onClick: props.onClose },
42457
42457
  React__default["default"].createElement(LuiIcon, { name: "ic_clear", alt: "Help", size: "lg" }))))))));
42458
42458
  };
42459
42459