nexaas-ui-components 1.0.93 → 1.0.95
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 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -795,6 +795,7 @@ var useFieldErrorsStore = zustand.create(
|
|
|
795
795
|
}))
|
|
796
796
|
})
|
|
797
797
|
);
|
|
798
|
+
var DEFAULT_POPOVER_OFFSET = [0, 8];
|
|
798
799
|
var DatePickerInput = React6.forwardRef(
|
|
799
800
|
({
|
|
800
801
|
icon,
|
|
@@ -907,7 +908,12 @@ var DatePickerInput = React6.forwardRef(
|
|
|
907
908
|
modifiers: {
|
|
908
909
|
preventOverflow: { enabled: true, options: { padding: 8 } },
|
|
909
910
|
flip: { enabled: true },
|
|
910
|
-
|
|
911
|
+
// Sempre aplicado: com `minimal` o Popover nao tem seta nem margem propria e
|
|
912
|
+
// o calendario encostava no input. 8px e o respiro padrao.
|
|
913
|
+
offset: {
|
|
914
|
+
enabled: true,
|
|
915
|
+
options: { offset: popoverOffset != null ? popoverOffset : DEFAULT_POPOVER_OFFSET }
|
|
916
|
+
}
|
|
911
917
|
}
|
|
912
918
|
},
|
|
913
919
|
disabled,
|