@linzjs/lui 18.8.0 → 18.9.0

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
+ # [18.9.0](https://github.com/linz/lui/compare/v18.8.0...v18.9.0) (2023-08-28)
2
+
3
+
4
+ ### Features
5
+
6
+ * **comboSelect:** support default option props from react-select ([#990](https://github.com/linz/lui/issues/990)) ([d3764d4](https://github.com/linz/lui/commit/d3764d4c9948a0e839836a36d5682e69735b4cf7))
7
+
1
8
  # [18.8.0](https://github.com/linz/lui/compare/v18.7.1...v18.8.0) (2023-08-27)
2
9
 
3
10
 
@@ -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
  };