@awell-health/ui-library 0.1.81 → 0.1.82

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -41108,7 +41108,7 @@ Check the top-level render call using <` + t + ">.");
41108
41108
  var _c = React.useState(null),error = _c[0],setError = _c[1];
41109
41109
  var _d = React.useState(''),searchValue = _d[0],setSearchValue = _d[1];
41110
41110
  var fetchICDCodes = function (terms) {return __awaiter(void 0, void 0, void 0, function () {
41111
- var response, _a, codes_1, displayStrings, icdOptions;
41111
+ var response, _a, displayStrings, icdOptions;
41112
41112
  return __generator(this, function (_b) {
41113
41113
  switch (_b.label) {
41114
41114
  case 0:
@@ -41127,11 +41127,11 @@ Check the top-level render call using <` + t + ">.");
41127
41127
 
41128
41128
  case 2:
41129
41129
  response = _b.sent();
41130
- _a = response.data, codes_1 = _a[1], displayStrings = _a[3];
41131
- icdOptions = displayStrings.map(function (_a, index) {
41130
+ _a = response.data, displayStrings = _a[3];
41131
+ icdOptions = displayStrings.map(function (_a) {
41132
41132
  var code = _a[0],name = _a[1];
41133
41133
  return {
41134
- value: codes_1[index],
41134
+ value: "".concat(code, "|").concat(name),
41135
41135
  label: "".concat(code, " - ").concat(name) };
41136
41136
 
41137
41137
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/ui-library",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "description": "UI components to integrate with Awell Health",
5
5
  "repository": {
6
6
  "type": "git",