nexaas-ui-components 1.0.92 → 1.0.94
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 +8 -2
- 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 +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
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,
|
|
@@ -2374,7 +2380,7 @@ var FilterSelect = ({
|
|
|
2374
2380
|
react.PopoverPanel,
|
|
2375
2381
|
{
|
|
2376
2382
|
className: clsx9__default.default(
|
|
2377
|
-
"whitespace-nowrap bg-surface rounded-lg shadow-dropdown border-[0.5px] border-neutral-200",
|
|
2383
|
+
"whitespace-nowrap bg-surface rounded-lg shadow-dropdown border-[0.5px] border-neutral-200 outline-none focus:outline-none",
|
|
2378
2384
|
panelClassName
|
|
2379
2385
|
),
|
|
2380
2386
|
children: ({ close }) => {
|