nexaas-ui-components 1.0.88 → 1.0.90
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/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -897,6 +897,11 @@ var DatePickerInput = React5.forwardRef(
|
|
|
897
897
|
usePortal: true,
|
|
898
898
|
minimal: true,
|
|
899
899
|
popoverClassName: "date-picker-popover",
|
|
900
|
+
// O .bp6-portal nasce com z-index 20, abaixo do overlay do ModalDialog
|
|
901
|
+
// (react-modal, zIndex 9999): dentro de modal o calendario ficava atras.
|
|
902
|
+
// O z-index vai no PORTAL, nao no popoverClassName — quem empilha e o
|
|
903
|
+
// wrapper posicionado no body, nao o conteudo do popover.
|
|
904
|
+
portalClassName: "date-picker-portal",
|
|
900
905
|
// Sem boundary o flip ignora o viewport quando o input esta dentro de um
|
|
901
906
|
// container com scroll.
|
|
902
907
|
modifiers: {
|
|
@@ -3948,8 +3953,10 @@ var SelectFieldBip = React5.forwardRef(
|
|
|
3948
3953
|
const handleKeyDown = async (event) => {
|
|
3949
3954
|
var _a2;
|
|
3950
3955
|
if (event.key === "Enter") {
|
|
3956
|
+
if (event.ctrlKey || event.metaKey || event.altKey) return;
|
|
3951
3957
|
event.preventDefault();
|
|
3952
3958
|
debouncedFetchOptions.cancel();
|
|
3959
|
+
if (!event.target.value) return;
|
|
3953
3960
|
const fetchedOptions = await fetchOptions(event.target.value);
|
|
3954
3961
|
if ((fetchedOptions == null ? void 0 : fetchedOptions.length) > 0) {
|
|
3955
3962
|
onChange(fetchedOptions[0]);
|