lecom-ui 5.4.14 → 5.4.15

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.
@@ -103,7 +103,7 @@ function DataTable({
103
103
  currentElem.style.left = `${beforeElemWidth + beforeElemLeft}px`;
104
104
  currentElem.style.boxShadow = boxShadow;
105
105
  if (currentElemIsTh || hasTruncate) {
106
- currentElem.style.backgroundColor = currentElemIsTh ? "#f9fafb" : "#ffffff";
106
+ currentElem.style.backgroundColor = "#ffffff";
107
107
  }
108
108
  currentElem.style.zIndex = "1";
109
109
  if (lastColumnFixed) {
@@ -137,9 +137,8 @@ function DataTable({
137
137
  cells.forEach((cell) => {
138
138
  const cellElem = cell;
139
139
  const hasTruncate = cellElem.style.overflow === "hidden" && cellElem.style.textOverflow === "ellipsis";
140
- const isTh = cellElem.tagName === "TH";
141
140
  if (hasTruncate || cellElem.hasAttribute("data-fixed")) {
142
- cellElem.style.backgroundColor = isTh ? "#f9fafb" : "#ffffff";
141
+ cellElem.style.backgroundColor = "#ffffff";
143
142
  }
144
143
  });
145
144
  });
package/dist/index.d.ts CHANGED
@@ -786,8 +786,8 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
786
786
 
787
787
  declare const inputVariants: (props?: ({
788
788
  variant?: "default" | "filled" | "borderless" | null | undefined;
789
- size?: "default" | "small" | "large" | null | undefined;
790
- radius?: "default" | "small" | "large" | "full" | null | undefined;
789
+ size?: "small" | "default" | "large" | null | undefined;
790
+ radius?: "small" | "default" | "large" | "full" | null | undefined;
791
791
  } & class_variance_authority_types.ClassProp) | undefined) => string;
792
792
  interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
793
793
  sufix?: React$1.ReactNode;
@@ -992,7 +992,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
992
992
  declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
993
993
 
994
994
  declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
995
- 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"> & {
995
+ declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLDivElement | HTMLButtonElement | 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"> & {
996
996
  className?: string;
997
997
  collapsedSize?: number | undefined;
998
998
  collapsible?: boolean | undefined;
@@ -1159,8 +1159,8 @@ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
1159
1159
 
1160
1160
  declare const textareaVariants: (props?: ({
1161
1161
  variant?: "default" | "filled" | "borderless" | null | undefined;
1162
- size?: "default" | "small" | "large" | null | undefined;
1163
- radius?: "default" | "small" | "large" | "full" | null | undefined;
1162
+ size?: "small" | "default" | "large" | null | undefined;
1163
+ radius?: "small" | "default" | "large" | "full" | null | undefined;
1164
1164
  resize?: "default" | "both" | "horizontal" | "vertical" | "vertical-limited" | null | undefined;
1165
1165
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1166
1166
  interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "5.4.14",
3
+ "version": "5.4.15",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",