@linzjs/lui 22.12.1 → 22.12.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 +14 -0
- package/dist/components/LuiSearchInput/LuiSearchInput.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +2 -1
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [22.12.3](https://github.com/linz/lui/compare/v22.12.2...v22.12.3) (2025-05-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Adds prop to hide no options message ([#1218](https://github.com/linz/lui/issues/1218)) ([f0deb3f](https://github.com/linz/lui/commit/f0deb3f05426f94f2d8d315a2eb654e63b4c8b4f))
|
|
7
|
+
|
|
8
|
+
## [22.12.2](https://github.com/linz/lui/compare/v22.12.1...v22.12.2) (2025-05-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **ColorPalette:** update colour palette default colours ([#1217](https://github.com/linz/lui/issues/1217)) ([bae1e66](https://github.com/linz/lui/commit/bae1e66730aef50b2fdadfda35103ea68a55d533))
|
|
14
|
+
|
|
1
15
|
## [22.12.1](https://github.com/linz/lui/compare/v22.12.0...v22.12.1) (2025-05-14)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -22,5 +22,6 @@ export interface ISearchInputProps<SearchResult extends ISearchResult = ISearchR
|
|
|
22
22
|
onSearch?: (searchString: string) => void;
|
|
23
23
|
validateInput?: (input: string) => InputValidationResult | undefined;
|
|
24
24
|
hideDisclaimerOnFail?: boolean;
|
|
25
|
+
hideNoOptionsMessage?: boolean;
|
|
25
26
|
}
|
|
26
27
|
export declare const LuiSearchInput: <SearchResult extends ISearchResult = ISearchResult>(props: React.PropsWithChildren<ISearchInputProps<SearchResult>>) => JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -42801,6 +42801,7 @@ var LuiSearchInput = function (props) {
|
|
|
42801
42801
|
haveFocus &&
|
|
42802
42802
|
results.length === 0 &&
|
|
42803
42803
|
!isLoading &&
|
|
42804
|
+
props.hideNoOptionsMessage !== true &&
|
|
42804
42805
|
noOptionsMessage(typedValue) && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
42805
42806
|
React__default["default"].createElement("hr", { className: "LuiSearchInput-resultSeparator" }),
|
|
42806
42807
|
React__default["default"].createElement("div", { "data-testid": "no-result-msg", className: "LuiSearchInput-disclaimer" }, noOptionsMessage(typedValue)))),
|
|
@@ -59603,7 +59604,7 @@ var defaultColours = [
|
|
|
59603
59604
|
{ color: '#54B8CD', description: 'Sea' },
|
|
59604
59605
|
{ color: '#3B6CC0', description: 'Blue' },
|
|
59605
59606
|
{ color: '#6C55A7', description: 'Purple' },
|
|
59606
|
-
{ color: '#
|
|
59607
|
+
{ color: '#FF0000', description: 'Red' },
|
|
59607
59608
|
{ color: '#FFAD33', description: 'Orange' },
|
|
59608
59609
|
{ color: '#39AF4C', description: 'Green' },
|
|
59609
59610
|
{ color: '#3EEDF3', description: 'Cyan' },
|