@sb1/ffe-account-selector-react 100.2.1 → 100.3.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.
@@ -32,7 +32,7 @@ export var AccountSelectorMulti = function (_a) {
32
32
  var formatter = formatAccountNumber
33
33
  ? formatIncompleteAccountNumber
34
34
  : undefined;
35
- return (React.createElement(SearchableDropdownMultiSelect, { id: id, labelledById: labelledById, inputProps: inputProps, dropdownAttributes: showBalance
35
+ return (React.createElement(SearchableDropdownMultiSelect, { id: id, labelledById: labelledById, className: className, inputProps: inputProps, dropdownAttributes: showBalance
36
36
  ? ['name', 'accountNumber', 'balance']
37
37
  : ['name', 'accountNumber'], postListElement: postListElement, dropdownList: accounts, noMatch: noMatches !== null && noMatches !== void 0 ? noMatches : { text: texts[locale].noMatch }, formatter: formatter, onChange: onChange, searchAttributes: ['name', 'accountNumber'], locale: locale, optionBody: function (_a) {
38
38
  var item = _a.item, isHighlighted = _a.isHighlighted, restOptionBody = __rest(_a, ["item", "isHighlighted"]);
@@ -38,7 +38,7 @@ var AccountSelectorMulti = function (_a) {
38
38
  var formatter = formatAccountNumber
39
39
  ? format_1.formatIncompleteAccountNumber
40
40
  : undefined;
41
- return (react_1.default.createElement(ffe_searchable_dropdown_react_1.SearchableDropdownMultiSelect, { id: id, labelledById: labelledById, inputProps: inputProps, dropdownAttributes: showBalance
41
+ return (react_1.default.createElement(ffe_searchable_dropdown_react_1.SearchableDropdownMultiSelect, { id: id, labelledById: labelledById, className: className, inputProps: inputProps, dropdownAttributes: showBalance
42
42
  ? ['name', 'accountNumber', 'balance']
43
43
  : ['name', 'accountNumber'], postListElement: postListElement, dropdownList: accounts, noMatch: noMatches !== null && noMatches !== void 0 ? noMatches : { text: texts_1.texts[locale].noMatch }, formatter: formatter, onChange: onChange, searchAttributes: ['name', 'accountNumber'], locale: locale, optionBody: function (_a) {
44
44
  var item = _a.item, isHighlighted = _a.isHighlighted, restOptionBody = __rest(_a, ["item", "isHighlighted"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-account-selector-react",
3
- "version": "100.2.1",
3
+ "version": "100.3.1",
4
4
  "description": "Selector for bank accounts with autocomplete.",
5
5
  "keywords": [
6
6
  "ffe"
@@ -30,13 +30,13 @@
30
30
  "test:watch": "ffe-buildtool jest --watch"
31
31
  },
32
32
  "dependencies": {
33
- "@sb1/ffe-formatters": "^100.2.1",
34
- "@sb1/ffe-icons-react": "^100.2.1",
35
- "@sb1/ffe-searchable-dropdown-react": "^100.2.1",
33
+ "@sb1/ffe-formatters": "^100.3.1",
34
+ "@sb1/ffe-icons-react": "^100.3.1",
35
+ "@sb1/ffe-searchable-dropdown-react": "^100.3.1",
36
36
  "classnames": "^2.3.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@sb1/ffe-buildtool": "^100.2.1",
39
+ "@sb1/ffe-buildtool": "^100.3.1",
40
40
  "eslint": "^9.22.0",
41
41
  "react": "^18.2.0",
42
42
  "react-dom": "^18.2.0"
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "dca6950c2a08660d819c1a891de6a4e53afe345b"
50
+ "gitHead": "411cde5752d042c9c576a54cf06dceede2197d57"
51
51
  }