@eclass/ui-kit 1.53.4 → 1.53.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.
@@ -1,16 +1,18 @@
1
1
  /// <reference types="react" />
2
2
  /**
3
3
  * Componente que muestra botones de la barra de navegación. Recibe los siguientes props:
4
+ * @param {('button' | 'a' | 'div')} [as='button'] - Tipo de elemento HTML que se renderiza. Por defecto es un botón.
4
5
  * @param {string} [buttonName] - Nombre del botón. Si no se proporciona, se usa un valor predeterminado según el tipo de botón.
5
6
  * @param {boolean} [onlyLink] - Si es `true`, el botón no ejecuta ninguna acción al hacer clic, solo actúa como un enlace.
6
7
  * @param {function} onClick - Función que se ejecuta al hacer clic en el botón.
7
8
  * @param {'calendar' | 'help' | 'accessibility'} [type] - Tipo de botón que determina el icono y el texto a mostrar.
8
9
  */
9
10
  export interface ButtonProps {
11
+ as?: 'button' | 'a' | 'div';
10
12
  buttonName?: string;
11
13
  onlyLink?: boolean;
12
- onClick: () => void;
14
+ onClick?: () => void;
13
15
  type: 'calendar' | 'help' | 'accessibility';
14
16
  }
15
- export declare const NavBarButton: ({ buttonName, onlyLink, onClick, type }: ButtonProps) => JSX.Element;
17
+ export declare const NavBarButton: ({ as, buttonName, onlyLink, onClick, type, }: ButtonProps) => JSX.Element;
16
18
  //# sourceMappingURL=NavBarButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavBarButton.d.ts","sourceRoot":"","sources":["../../../src/molecules/NavBarButtons/NavBarButton.tsx"],"names":[],"mappings":";AAOA;;;;;;GAMG;AAEH,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,eAAe,CAAA;CAC5C;AAED,eAAO,MAAM,YAAY,4CAA6C,WAAW,KAAG,WAqFnF,CAAA"}
1
+ {"version":3,"file":"NavBarButton.d.ts","sourceRoot":"","sources":["../../../src/molecules/NavBarButtons/NavBarButton.tsx"],"names":[],"mappings":";AAOA;;;;;;;GAOG;AAEH,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,QAAQ,GAAG,GAAG,GAAG,KAAK,CAAA;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,eAAe,CAAA;CAC5C;AAED,eAAO,MAAM,YAAY,iDAMtB,WAAW,KAAG,WAqFhB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDropdownContainer.d.ts","sourceRoot":"","sources":["../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,yBAAyB,yFASnC,iBAAiB,KAAG,WAiKtB,CAAA"}
1
+ {"version":3,"file":"CalendarDropdownContainer.d.ts","sourceRoot":"","sources":["../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,yBAAyB,yFASnC,iBAAiB,KAAG,WAqJtB,CAAA"}
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  interface IGoToCalendar {
3
3
  text: string;
4
- tooltipDisabled: boolean;
5
4
  onlyToCalendar?: boolean;
6
5
  onClick?: () => void;
7
6
  }
8
- export declare const GoToCalendar: ({ text, tooltipDisabled, onlyToCalendar, onClick, }: IGoToCalendar) => JSX.Element;
7
+ export declare const GoToCalendar: ({ text, onlyToCalendar, onClick }: IGoToCalendar) => JSX.Element;
9
8
  export {};
10
9
  //# sourceMappingURL=GoToCalendar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GoToCalendar.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/GoToCalendar.tsx"],"names":[],"mappings":";AAKA,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,OAAO,CAAA;IACxB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,eAAO,MAAM,YAAY,wDAKtB,aAAa,KAAG,WAsClB,CAAA"}
1
+ {"version":3,"file":"GoToCalendar.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/GoToCalendar.tsx"],"names":[],"mappings":";AAKA,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,eAAO,MAAM,YAAY,sCAAuC,aAAa,KAAG,WA+B/E,CAAA"}