@linzjs/lui 18.8.0 → 18.9.1
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/assets/icons/tick.svg +1 -1
- package/dist/assets/svg-content.tsx +1 -1
- package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +1 -1
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [18.9.1](https://github.com/linz/lui/compare/v18.9.0...v18.9.1) (2023-08-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* strange viewBox property restored ([#991](https://github.com/linz/lui/issues/991)) ([a015483](https://github.com/linz/lui/commit/a0154833ef663a8db7c3f203d291bdf21082cf06))
|
|
7
|
+
|
|
8
|
+
# [18.9.0](https://github.com/linz/lui/compare/v18.8.0...v18.9.0) (2023-08-28)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **comboSelect:** support default option props from react-select ([#990](https://github.com/linz/lui/issues/990)) ([d3764d4](https://github.com/linz/lui/commit/d3764d4c9948a0e839836a36d5682e69735b4cf7))
|
|
14
|
+
|
|
1
15
|
# [18.8.0](https://github.com/linz/lui/compare/v18.7.1...v18.8.0) (2023-08-27)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 11"><path d="M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z"/></svg>
|
|
@@ -1365,7 +1365,7 @@ iconMap['ic_tax_statement'] = (
|
|
|
1365
1365
|
);
|
|
1366
1366
|
|
|
1367
1367
|
iconMap['ic_tick'] = (
|
|
1368
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1368
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 11">
|
|
1369
1369
|
<path d="M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z" />
|
|
1370
1370
|
</svg>
|
|
1371
1371
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { GroupBase, Props, SelectInstance } from 'react-select';
|
|
2
|
+
import { GroupBase, Props, SelectInstance, OptionProps } from 'react-select';
|
|
3
3
|
export declare type LuiComboSelectProps<Option extends LuiComboSelectOption = LuiComboSelectOption, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Partial<Props<Option, IsMulti, Group>> & {
|
|
4
4
|
label: JSX.Element | string;
|
|
5
5
|
hideLabel?: boolean;
|
|
6
6
|
isCreateable?: boolean;
|
|
7
7
|
error?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare type LuiComboSelectOption = {
|
|
9
|
+
export declare type LuiComboSelectOption = Partial<OptionProps> & {
|
|
10
10
|
label: string;
|
|
11
11
|
value: string;
|
|
12
12
|
};
|
package/dist/index.js
CHANGED
|
@@ -573,7 +573,7 @@ iconMap['ic_table_columns'] = (React__default["default"].createElement("svg", {
|
|
|
573
573
|
React__default["default"].createElement("path", { d: "M10 18h5V5h-5v13Zm-6 0h5V5H4v13ZM16 5v13h5V5h-5Z" })));
|
|
574
574
|
iconMap['ic_tax_statement'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
575
575
|
React__default["default"].createElement("path", { d: "M14.667 2.5h-10c-1.1 0-1.99.9-1.99 2l-.01 16c0 1.1.89 2 1.99 2h14.01c1.1 0 2-.9 2-2v-12l-6-6ZM8.928 15.625h-1.32v4.224H6.145v-4.224H4.82v-1.197h4.108v1.197Zm4.435 4.224h-1.005l-.278-.557h-.03c-.195.243-.394.409-.597.497-.202.09-.464.134-.786.134-.395 0-.707-.119-.934-.356-.227-.238-.341-.57-.341-1.001 0-.447.156-.78.467-1 .312-.218.762-.341 1.353-.368l.701-.023v-.058c0-.347-.17-.52-.511-.52-.307 0-.696.104-1.168.312l-.42-.957c.49-.252 1.108-.378 1.854-.378.54 0 .956.133 1.252.4.295.268.443.64.443 1.12v2.755Zm3.585 0-.708-1.276-.704 1.276h-1.65l1.353-2.144-1.283-2.057h1.647l.637 1.18.653-1.18h1.65l-1.316 2.057 1.368 2.144h-1.647Zm1.719-7.349h-14v-8h9v5h5v3Zm-7.08 5.488.334-.015v.326a.554.554 0 0 1-.188.434.653.653 0 0 1-.45.167c-.274 0-.412-.13-.412-.386 0-.334.239-.509.716-.526Z" })));
|
|
576
|
-
iconMap['ic_tick'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0
|
|
576
|
+
iconMap['ic_tick'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 11" },
|
|
577
577
|
React__default["default"].createElement("path", { d: "M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z" })));
|
|
578
578
|
iconMap['ic_tick_and_cross'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
579
579
|
React__default["default"].createElement("path", { d: "M16.54 11 13 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41L16.54 11ZM11 7H2v2h9V7Zm10 6.41L19.59 12 17 14.59 14.41 12 13 13.41 15.59 16 13 18.59 14.41 20 17 17.41 19.59 20 21 18.59 18.41 16 21 13.41ZM11 15H2v2h9v-2Z" })));
|