@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.
- package/dist/cjs/assets/{index-8PgjMh4T.css → index-KtbnpnSR.css} +2 -2
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/assets/{index-8PgjMh4T.css → index-KtbnpnSR.css} +2 -2
- package/dist/es/index.js +2 -1
- package/dist/es/index.js.map +1 -1
- package/dist/esm/components/organisms/FieldDate/FieldDate.css +1 -1
- package/dist/esm/components/organisms/FieldDateRange/FieldDateRange.css +1 -1
- package/dist/esm/controllers/ListController.js +2 -1
- package/dist/esm/controllers/ListController.js.map +1 -1
- package/package.json +2 -2
|
@@ -2095,7 +2095,7 @@
|
|
|
2095
2095
|
color: var(--rls-app-color-600);
|
|
2096
2096
|
padding: 0rem;
|
|
2097
2097
|
outline: none;
|
|
2098
|
-
border-radius:
|
|
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:
|
|
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/es/index.js
CHANGED
|
@@ -2461,10 +2461,11 @@ function useListController(props) {
|
|
|
2461
2461
|
changeValueInternal.current = false;
|
|
2462
2462
|
}, [collection, formControl?.value]);
|
|
2463
2463
|
const setState = useCallback((state) => {
|
|
2464
|
+
const length = suggestions.length > 6 ? 6 : suggestions.length;
|
|
2464
2465
|
const _state = state.modalIsVisible
|
|
2465
2466
|
? {
|
|
2466
2467
|
...state,
|
|
2467
|
-
higher: locationListCanTop(contentRef.current, listRef.current,
|
|
2468
|
+
higher: locationListCanTop(contentRef.current, listRef.current, length * 48)
|
|
2468
2469
|
}
|
|
2469
2470
|
: state;
|
|
2470
2471
|
refreshState((state) => ({ ...state, ..._state }));
|