lecom-ui 5.3.89 → 5.3.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.
|
@@ -27,9 +27,14 @@ function DatePicker({
|
|
|
27
27
|
const isControlled = value !== void 0 && onChange !== void 0;
|
|
28
28
|
const date = isControlled ? value : internalDate;
|
|
29
29
|
const handleSelect = (selected) => {
|
|
30
|
+
console.log("\u{1F7E2} DatePicker handleSelect chamado:", selected);
|
|
31
|
+
console.log("\u{1F7E2} isControlled:", isControlled);
|
|
32
|
+
console.log("\u{1F7E2} onChange existe:", !!onChange);
|
|
30
33
|
if (isControlled && onChange) {
|
|
34
|
+
console.log("\u{1F7E2} Chamando onChange com:", selected);
|
|
31
35
|
onChange(selected);
|
|
32
36
|
} else {
|
|
37
|
+
console.log("\u{1F7E2} Setando internalDate:", selected);
|
|
33
38
|
setInternalDate(selected);
|
|
34
39
|
}
|
|
35
40
|
if (closeOnSelect && selected) {
|
package/dist/index.d.ts
CHANGED
|
@@ -962,7 +962,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
|
|
|
962
962
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
963
963
|
|
|
964
964
|
declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
|
|
965
|
-
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement |
|
|
965
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLHeadingElement | HTMLParagraphElement | HTMLLabelElement | HTMLSpanElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLInputElement | HTMLUListElement | HTMLObjectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement>, "id" | "onResize"> & {
|
|
966
966
|
className?: string;
|
|
967
967
|
collapsedSize?: number | undefined;
|
|
968
968
|
collapsible?: boolean | undefined;
|