@juv/codego-react-ui 1.0.5 → 1.0.6

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.d.cts CHANGED
@@ -129,7 +129,9 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
129
129
  debounceTime?: number;
130
130
  throttleTime?: number;
131
131
  confirmBeforeClick?: boolean;
132
- confirmMessage?: string;
132
+ confirmBeforeClickModalTitle?: string;
133
+ confirmBeforeClickModalContent?: React.ReactNode;
134
+ confirmBeforeClickFooterAction?: React.ReactNode;
133
135
  href?: string;
134
136
  target?: "_blank" | "_self";
135
137
  as?: "button" | "a" | "div";
@@ -890,11 +892,13 @@ interface PanelProps {
890
892
  topbarTrailing?: React.ReactNode;
891
893
  defaultCollapsed?: boolean;
892
894
  collapsible?: boolean;
895
+ showThemeToggle?: boolean;
896
+ defaultPage?: string;
893
897
  height?: string;
894
898
  children?: React.ReactNode;
895
899
  className?: string;
896
900
  }
897
- declare function Panel({ sidebar, sidebarHeader, sidebarFooter, sidebarWidth, topbar, topbarTrailing, defaultCollapsed, collapsible, height, children, className, }: PanelProps): react_jsx_runtime.JSX.Element;
901
+ declare function Panel({ sidebar, sidebarHeader, sidebarFooter, sidebarWidth, topbar, topbarTrailing, defaultCollapsed, collapsible, showThemeToggle, defaultPage, height, children, className, }: PanelProps): react_jsx_runtime.JSX.Element;
898
902
  declare function PanelSidebarItem({ icon: Icon, label, active, onClick, }: {
899
903
  icon?: React.ElementType;
900
904
  label: string;
package/dist/index.d.ts CHANGED
@@ -129,7 +129,9 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
129
129
  debounceTime?: number;
130
130
  throttleTime?: number;
131
131
  confirmBeforeClick?: boolean;
132
- confirmMessage?: string;
132
+ confirmBeforeClickModalTitle?: string;
133
+ confirmBeforeClickModalContent?: React.ReactNode;
134
+ confirmBeforeClickFooterAction?: React.ReactNode;
133
135
  href?: string;
134
136
  target?: "_blank" | "_self";
135
137
  as?: "button" | "a" | "div";
@@ -890,11 +892,13 @@ interface PanelProps {
890
892
  topbarTrailing?: React.ReactNode;
891
893
  defaultCollapsed?: boolean;
892
894
  collapsible?: boolean;
895
+ showThemeToggle?: boolean;
896
+ defaultPage?: string;
893
897
  height?: string;
894
898
  children?: React.ReactNode;
895
899
  className?: string;
896
900
  }
897
- declare function Panel({ sidebar, sidebarHeader, sidebarFooter, sidebarWidth, topbar, topbarTrailing, defaultCollapsed, collapsible, height, children, className, }: PanelProps): react_jsx_runtime.JSX.Element;
901
+ declare function Panel({ sidebar, sidebarHeader, sidebarFooter, sidebarWidth, topbar, topbarTrailing, defaultCollapsed, collapsible, showThemeToggle, defaultPage, height, children, className, }: PanelProps): react_jsx_runtime.JSX.Element;
898
902
  declare function PanelSidebarItem({ icon: Icon, label, active, onClick, }: {
899
903
  icon?: React.ElementType;
900
904
  label: string;