lecom-ui 5.4.57 → 5.4.59
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.
|
@@ -78,7 +78,13 @@ const HelpMenu = ({
|
|
|
78
78
|
sideOffset: 16
|
|
79
79
|
},
|
|
80
80
|
title && /* @__PURE__ */ React.createElement("span", { className: "body-large-400 p-2 block" }, title),
|
|
81
|
-
/* @__PURE__ */ React.createElement(ScrollArea, { style: { height: scrollAreaHeight }, className: "pr-2" }, items?.map((item,
|
|
81
|
+
/* @__PURE__ */ React.createElement(ScrollArea, { style: { height: scrollAreaHeight }, className: "pr-2" }, items?.map((item, idx) => /* @__PURE__ */ React.createElement(
|
|
82
|
+
Item,
|
|
83
|
+
{
|
|
84
|
+
key: item.description ? `help-menu-item-${item.description}` : `help-menu-item-${idx}`,
|
|
85
|
+
...item
|
|
86
|
+
}
|
|
87
|
+
)))
|
|
82
88
|
));
|
|
83
89
|
};
|
|
84
90
|
HelpMenu.displayName = "HelpMenu";
|
|
@@ -122,10 +122,10 @@ const ModulesMenu = ({
|
|
|
122
122
|
sideOffset: 16
|
|
123
123
|
},
|
|
124
124
|
title && /* @__PURE__ */ React.createElement("span", { className: "body-large-400 p-2 block" }, title),
|
|
125
|
-
/* @__PURE__ */ React.createElement(ScrollArea, { style: { height: scrollAreaHeight }, className: "pr-2" }, items?.map((item,
|
|
125
|
+
/* @__PURE__ */ React.createElement(ScrollArea, { style: { height: scrollAreaHeight }, className: "pr-2" }, items?.map((item, idx) => /* @__PURE__ */ React.createElement(
|
|
126
126
|
Item,
|
|
127
127
|
{
|
|
128
|
-
key:
|
|
128
|
+
key: item.title ? `modules-menu-item-${item.title}` : `modules-menu-item-${idx}`,
|
|
129
129
|
bgColor: customStyles.focus.textColor,
|
|
130
130
|
textColor: customStyles.normal.textColor,
|
|
131
131
|
...item
|
package/dist/index.d.ts
CHANGED
|
@@ -1009,7 +1009,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
|
|
|
1009
1009
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1010
1010
|
|
|
1011
1011
|
declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
|
|
1012
|
-
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement |
|
|
1012
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLHeadingElement | HTMLParagraphElement | HTMLLabelElement | 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"> & {
|
|
1013
1013
|
className?: string;
|
|
1014
1014
|
collapsedSize?: number | undefined;
|
|
1015
1015
|
collapsible?: boolean | undefined;
|