@linzjs/lui 17.13.0 → 17.13.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 +21 -0
- package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.d.ts +1 -0
- package/dist/components/lol/LOLAppLauncherMenu.d.ts +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/lui.css +35 -20
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +8 -7
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/Modal/modal.scss +1 -1
- package/dist/scss/Components/Notifications/notifications.scss +37 -25
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [17.13.3](https://github.com/linz/lui/compare/v17.13.2...v17.13.3) (2022-09-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Add child key to options of LuiRadioInput ([#753](https://github.com/linz/lui/issues/753)) ([33b5697](https://github.com/linz/lui/commit/33b5697420a53fdd8fd4da88815d5e34a7196ca7))
|
|
7
|
+
|
|
8
|
+
## [17.13.2](https://github.com/linz/lui/compare/v17.13.1...v17.13.2) (2022-09-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Update dealings app launcher link text ([#750](https://github.com/linz/lui/issues/750)) ([935c9b8](https://github.com/linz/lui/commit/935c9b86dc72e0d3afe55f5c003c67b87841f3a7))
|
|
14
|
+
|
|
15
|
+
## [17.13.1](https://github.com/linz/lui/compare/v17.13.0...v17.13.1) (2022-09-04)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* LuiAlertModalButtons needed flex to align buttons ([#748](https://github.com/linz/lui/issues/748)) ([5456738](https://github.com/linz/lui/commit/5456738698ebcb2690cd98a2f624a9d7b8ece0e4))
|
|
21
|
+
|
|
1
22
|
# [17.13.0](https://github.com/linz/lui/compare/v17.12.5...v17.13.0) (2022-09-01)
|
|
2
23
|
|
|
3
24
|
|
|
@@ -8,5 +8,5 @@ export interface ILOLAppLauncherMenuProps {
|
|
|
8
8
|
export declare const SEARCH_LABEL = "Search";
|
|
9
9
|
export declare const NOC_LABEL = "Post registered NoC";
|
|
10
10
|
export declare const SURVEY_LABEL = "Survey";
|
|
11
|
-
export declare const TITLES_LABEL = "
|
|
11
|
+
export declare const TITLES_LABEL = "Dealings";
|
|
12
12
|
export declare const LOLAppLauncherMenu: (props: ILOLAppLauncherMenuProps) => JSX.Element | null;
|
package/dist/index.js
CHANGED
|
@@ -1199,12 +1199,12 @@ var LuiRadioInput = function (props) {
|
|
|
1199
1199
|
var isSelected = props.selectedValue === option;
|
|
1200
1200
|
var isDisabled = props.isOptionDisabled && props.isOptionDisabled(index);
|
|
1201
1201
|
var hasWarning = props.optionHasWarning && props.optionHasWarning(index);
|
|
1202
|
-
return (React__default["default"].createElement(
|
|
1202
|
+
return (React__default["default"].createElement(React.Fragment, { key: radioId },
|
|
1203
1203
|
React__default["default"].createElement("label", { htmlFor: radioId, className: clsx('LuiRadioInput-label', {
|
|
1204
1204
|
'LuiRadioInput-label--isDisabled': isDisabled,
|
|
1205
1205
|
'LuiRadioInput-label--hasWarning': hasWarning && isSelected,
|
|
1206
1206
|
'LuiRadioInput-label--isSelected': isSelected
|
|
1207
|
-
})
|
|
1207
|
+
}) },
|
|
1208
1208
|
React__default["default"].createElement("input", __assign({ disabled: isDisabled, className: "LuiRadioInput-input", type: "radio", id: radioId, name: option, value: option, checked: isSelected, onChange: props.onChange }, props.inputProps)),
|
|
1209
1209
|
props.renderLabelFor ? props.renderLabelFor(option) : option),
|
|
1210
1210
|
hasWarning && isSelected && (React__default["default"].createElement("div", { className: "LuiRadioInput-warningOnIndividualMsg" },
|
|
@@ -28159,11 +28159,12 @@ var LuiUpdatesSplashModal = function (props) {
|
|
|
28159
28159
|
Modal.setAppElement('#root');
|
|
28160
28160
|
}
|
|
28161
28161
|
return (React__default["default"].createElement(Modal, { key: props.id, isOpen: true, shouldCloseOnOverlayClick: true, onRequestClose: props.onClose, contentLabel: "Recent updates", className: "lui-scrim", style: { overlay: { backgroundColor: 'transparent' } } },
|
|
28162
|
-
React__default["default"].createElement("div", { ref: node, className:
|
|
28163
|
-
React__default["default"].createElement("div", { className: "lui-feature-
|
|
28162
|
+
React__default["default"].createElement("div", { ref: node, className: clsx('lui-large-feature-notification', props.wrapperClass) },
|
|
28163
|
+
React__default["default"].createElement("div", { className: "lui-feature-header" },
|
|
28164
28164
|
React__default["default"].createElement("h1", null, props.header),
|
|
28165
28165
|
React__default["default"].createElement("button", { "aria-label": "Close dialog", onClick: props.onClose },
|
|
28166
|
-
React__default["default"].createElement("i", { className: "material-icons-round" }, "close")),
|
|
28166
|
+
React__default["default"].createElement("i", { className: "material-icons-round" }, "close"))),
|
|
28167
|
+
React__default["default"].createElement("div", { className: "lui-feature-img" },
|
|
28167
28168
|
React__default["default"].createElement("img", { className: "lui-hide-xs lui-hide-sm", alt: "What's new", src: props.bigImage }),
|
|
28168
28169
|
React__default["default"].createElement("img", { className: "lui-hide-md lui-hide-lg lui-hide-xl", alt: "What's new", src: props.smallImage })),
|
|
28169
28170
|
React__default["default"].createElement("div", { className: 'lui-feature-text' }, props.children))));
|
|
@@ -29158,7 +29159,7 @@ function createLink(pathname, label, target, activeIcon, icon, anyPrivileges) {
|
|
|
29158
29159
|
var SEARCH_LABEL = 'Search';
|
|
29159
29160
|
var NOC_LABEL = 'Post registered NoC';
|
|
29160
29161
|
var SURVEY_LABEL = 'Survey';
|
|
29161
|
-
var TITLES_LABEL = '
|
|
29162
|
+
var TITLES_LABEL = 'Dealings';
|
|
29162
29163
|
var LOLAppLauncherMenu = function (props) {
|
|
29163
29164
|
var _a = useLOLUserContext(), user = _a.user, isInternal = _a.isInternal;
|
|
29164
29165
|
var pathname = props.pathname, _b = props.enableNOCLink, enableNOCLink = _b === void 0 ? false : _b, _c = props.enableSurveyLink, enableSurveyLink = _c === void 0 ? false : _c, _d = props.enableTitlesLink, enableTitlesLink = _d === void 0 ? false : _d;
|