@rolster/react-components 18.21.18 → 18.21.19

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.
@@ -2095,7 +2095,7 @@
2095
2095
  color: var(--rls-app-color-600);
2096
2096
  padding: 0rem;
2097
2097
  outline: none;
2098
- border-radius: 50%;
2098
+ border-radius: var(--rlc-fieldbox-action-radius);
2099
2099
  background: var(--rlc-fieldbox-action-background);
2100
2100
  }
2101
2101
  .rls-field-date__action:disabled {
@@ -2218,7 +2218,7 @@
2218
2218
  color: var(--rls-app-color-600);
2219
2219
  padding: 0rem;
2220
2220
  outline: none;
2221
- border-radius: 50%;
2221
+ border-radius: var(--rlc-fieldbox-action-radius);
2222
2222
  background: var(--rlc-fieldbox-action-background);
2223
2223
  }
2224
2224
  .rls-field-date-range__action:disabled {
package/dist/cjs/index.js CHANGED
@@ -2463,10 +2463,11 @@ function useListController(props) {
2463
2463
  changeValueInternal.current = false;
2464
2464
  }, [collection, formControl?.value]);
2465
2465
  const setState = require$$0.useCallback((state) => {
2466
+ const length = suggestions.length > 6 ? 6 : suggestions.length;
2466
2467
  const _state = state.modalIsVisible
2467
2468
  ? {
2468
2469
  ...state,
2469
- higher: components.locationListCanTop(contentRef.current, listRef.current, 160)
2470
+ higher: components.locationListCanTop(contentRef.current, listRef.current, length * 48)
2470
2471
  }
2471
2472
  : state;
2472
2473
  refreshState((state) => ({ ...state, ..._state }));