@fixefy/fixefy-ui-components 0.2.38 → 0.2.40

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.
@@ -184,6 +184,8 @@ const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props)=>{
184
184
  (0, _react.useEffect)(()=>{
185
185
  if (data && !isLastPage && prevPage < page) {
186
186
  const newOptions = method_name == 'workspace' ? data.workspace[search_path === null || search_path === void 0 ? void 0 : search_path.split('.')[1]] : (0, _helpers.getJPart)(data, method_name);
187
+ //TODO: SHOULD ADD ANOTHER VARIABLE FOR THE PATH AND INSTEAD OF THE CURRENT newOptions, USE THE getJPart WITH THE PATH:
188
+ // const newOptions: Option[] = getJPart(data, PATH)
187
189
  if (newOptions == null || newOptions.length < pageSize) {
188
190
  setIsLastPage(true);
189
191
  }
@@ -415,7 +417,7 @@ const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props)=>{
415
417
  icon: `${option.logo ? `${logo_folder_name}/${option.logo}` : logo_placeholder ? logo_placeholder : (_option_name = option === null || option === void 0 ? void 0 : option[name]) !== null && _option_name !== void 0 ? _option_name : 'x'}`,
416
418
  width: 70,
417
419
  height: 16,
418
- variant: "square",
420
+ variant: "rounded",
419
421
  fontSize: 17,
420
422
  background: (0, _helpers.useRandomColor)(theme)
421
423
  })
package/package.json CHANGED
@@ -65,5 +65,5 @@
65
65
  "require": "./dist/index.js"
66
66
  }
67
67
  },
68
- "version": "0.2.38"
68
+ "version": "0.2.40"
69
69
  }