@dipusevilla/componentes-iu 1.0.48 → 1.0.50

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.
@@ -3,11 +3,8 @@ import { type SidebarProps } from './Sidebar';
3
3
  import { type HeaderProps } from './Header';
4
4
  export interface PageLayoutProps {
5
5
  hideSidebar?: boolean;
6
- /** Props para el Sidebar (se ignoran si hideSidebar = true) */
7
6
  sidebar: Pick<SidebarProps, 'appName' | 'orgName' | 'username' | 'footerText' | 'navItems' | 'selectedNav' | 'onSelectNav' | 'width'>;
8
- /** Props para el Header */
9
7
  header: Pick<HeaderProps, 'pinnedPages' | 'onRemovePinned' | 'onBack' | 'dark' | 'locale' | 'languageOptions' | 'onChangeLocale' | 'profile' | 'profileOptions' | 'onChangeProfile'>;
10
- /** Contenido principal (renderizado por tu router o componentes hijos) */
11
8
  children: React.ReactNode;
12
9
  }
13
10
  export declare function PageLayout({ hideSidebar, sidebar, header, children }: PageLayoutProps): import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,7 @@ import { ReactNode } from 'react';
2
2
  type Theme = 'light' | 'dark';
3
3
  interface ThemeContextValue {
4
4
  theme: Theme;
5
+ dark: boolean;
5
6
  toggle: () => void;
6
7
  }
7
8
  export declare function ThemeProvider({ children }: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dipusevilla/componentes-iu",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "Librería de componentes React de Dipusevilla",
5
5
  "keywords": [
6
6
  "react",