@mindly/ui-components 6.8.0 → 6.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.
@@ -11,6 +11,8 @@ type SelectWithSearchFormFeatureProps = {
11
11
  isLoading?: boolean;
12
12
  otherText?: string;
13
13
  buttonLabel?: string;
14
+ searchPlaceholder?: string;
15
+ enableSearch?: boolean;
14
16
  } & WithTranslation;
15
17
  declare const _default: React.NamedExoticComponent<SelectWithSearchFormFeatureProps>;
16
18
  export default _default;
@@ -4,7 +4,7 @@ export type SelectionListItem = {
4
4
  };
5
5
  export type SelectionListFeatureProps = {
6
6
  items: SelectionListItem[];
7
- selected?: string;
7
+ selected?: string[];
8
8
  searchValue: string;
9
9
  searchPlaceholder?: string;
10
10
  onItemSelectionChange: (items: string[]) => void;
@@ -2,7 +2,7 @@ import { SearchbarChangeEventDetail, IonSearchbarCustomEvent } from '@ionic/core
2
2
  import { WithTranslation } from 'react-i18next';
3
3
  export type FieldSearchType = {
4
4
  className?: string;
5
- onCancelClick: () => void;
5
+ onCancelClick?: () => void;
6
6
  onIonChange: (event: IonSearchbarCustomEvent<SearchbarChangeEventDetail>) => void;
7
7
  value: string;
8
8
  debounce?: number;
package/dist/index.d.ts CHANGED
@@ -2054,7 +2054,7 @@ declare const CheckBoxItem: React__default.ForwardRefExoticComponent<Props$a & R
2054
2054
 
2055
2055
  type FieldSearchType = {
2056
2056
  className?: string;
2057
- onCancelClick: () => void;
2057
+ onCancelClick?: () => void;
2058
2058
  onIonChange: (event: IonSearchbarCustomEvent<SearchbarChangeEventDetail>) => void;
2059
2059
  value: string;
2060
2060
  debounce?: number;
@@ -3254,6 +3254,8 @@ type SelectWithSearchFormFeatureProps = {
3254
3254
  isLoading?: boolean;
3255
3255
  otherText?: string;
3256
3256
  buttonLabel?: string;
3257
+ searchPlaceholder?: string;
3258
+ enableSearch?: boolean;
3257
3259
  } & WithTranslation;
3258
3260
  declare const _default$u: React__default.NamedExoticComponent<SelectWithSearchFormFeatureProps>;
3259
3261
 
@@ -3814,7 +3816,7 @@ type SelectionListItem = {
3814
3816
  };
3815
3817
  type SelectionListFeatureProps = {
3816
3818
  items: SelectionListItem[];
3817
- selected?: string;
3819
+ selected?: string[];
3818
3820
  searchValue: string;
3819
3821
  searchPlaceholder?: string;
3820
3822
  onItemSelectionChange: (items: string[]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "6.8.0",
3
+ "version": "6.9.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",