@producteca/producteca-ui-kit 1.88.0 → 1.89.1

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,2 +1,2 @@
1
1
  export { AppSidebar as Sidebar } from './sidebar';
2
- export type { SidebarProps, SidebarItemProps } from './sidebar';
2
+ export type { SidebarProps, SidebarItemProps, SidebarItemTooltipProps } from './sidebar.types';
@@ -1,14 +1,5 @@
1
- import { default as React } from 'react';
1
+ import { SidebarProps } from './sidebar.types';
2
2
 
3
- export type SidebarItemProps = {
4
- label: string;
5
- icon?: React.ReactNode;
6
- onClick?: () => void;
7
- isActive?: boolean;
8
- };
9
- export type SidebarProps = {
10
- title?: string;
11
- items: SidebarItemProps[];
12
- };
13
3
  export declare const AppSidebar: ({ title, items }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
14
4
  export default AppSidebar;
5
+ export type { SidebarProps, SidebarItemProps, SidebarItemTooltipProps, SidebarMenuItemProps, } from './sidebar.types';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ import { BaseTooltipProps } from '../tooltip/tooltip.types';
3
+
4
+ export interface SidebarItemTooltipProps extends Omit<BaseTooltipProps, 'trigger'> {
5
+ content?: string | React.ReactNode;
6
+ }
7
+ export type SidebarItemProps = {
8
+ label: string;
9
+ icon?: React.ReactNode;
10
+ onClick?: () => void;
11
+ isActive?: boolean;
12
+ disabled?: boolean;
13
+ tooltipProps?: SidebarItemTooltipProps;
14
+ };
15
+ export type SidebarProps = {
16
+ title?: string;
17
+ items: SidebarItemProps[];
18
+ };
19
+ export type SidebarMenuItemProps = SidebarItemProps & {
20
+ collapsed: boolean;
21
+ };
@@ -496,6 +496,9 @@ declare const _default: {
496
496
  moreOptions: string;
497
497
  itemsDescription: string;
498
498
  itemsSummary: string;
499
+ integrationsTooltip: string;
500
+ disabledTooltip: string;
501
+ tooltipsDescription: string;
499
502
  };
500
503
  link: {
501
504
  label: string;