@thecb/components 8.4.7-beta.2 → 8.4.7-beta.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/dist/index.d.ts CHANGED
@@ -823,13 +823,17 @@ interface SearchableSelectProps {
823
823
  items: SearchableSelectOption[];
824
824
  selectedItems: SearchableSelectOption[];
825
825
  allSelected: boolean;
826
- toggleSelectAllItems: (bool: boolean) => void;
826
+ toggleSelectAllItems: (isSelectAll: boolean) => void;
827
827
  selectItem: (item: SearchableSelectOption) => void;
828
828
  fields: {
829
829
  searchTerm: Field;
830
830
  };
831
- actions: FieldActions;
832
- disabled: boolean;
831
+ actions: {
832
+ fields: {
833
+ searchTerm: FieldActions;
834
+ };
835
+ };
836
+ disabled?: boolean;
833
837
  placeholder: string;
834
838
  }
835
839
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "8.4.7-beta.2",
3
+ "version": "8.4.7-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,18 +1,26 @@
1
1
  import React from "react";
2
2
  import Expand from "../../../util/expand";
3
- import { Field, FieldActions, SearchableSelectOption } from "../../../types/common";
3
+ import {
4
+ Field,
5
+ FieldActions,
6
+ SearchableSelectOption
7
+ } from "../../../types/common";
4
8
 
5
9
  export interface SearchableSelectProps {
6
10
  items: SearchableSelectOption[];
7
11
  selectedItems: SearchableSelectOption[];
8
12
  allSelected: boolean;
9
- toggleSelectAllItems: (bool: boolean) => void;
13
+ toggleSelectAllItems: (isSelectAll: boolean) => void;
10
14
  selectItem: (item: SearchableSelectOption) => void;
11
15
  fields: {
12
16
  searchTerm: Field;
13
17
  };
14
- actions: FieldActions;
15
- disabled: boolean;
18
+ actions: {
19
+ fields: {
20
+ searchTerm: FieldActions;
21
+ };
22
+ };
23
+ disabled?: boolean;
16
24
  placeholder: string;
17
25
  }
18
26