@trii/components 3.0.0 → 3.1.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.
- package/dist/cjs/index.js +75 -75
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +75 -75
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +70 -53
- package/dist/types/components/EditContactModal/context/LanguageContext.d.ts +9 -0
- package/dist/types/components/EventsDialog/theme/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/theme/themeProvider.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/theme/MuiComponentsConfig.d.ts +16 -0
- package/dist/types/theme/index.d.ts +5 -0
- package/dist/types/theme/themeProvider.d.ts +74 -0
- package/dist/types/theme/themeSlice.d.ts +54 -0
- package/package.json +1 -1
- package/readme +71 -71
- package/dist/types/components/ContactSidebar/components/AddButton/AddButton.d.ts +0 -5
- package/dist/types/components/ContactSidebar/components/AssistantView/AssistantView.d.ts +0 -29
- package/dist/types/components/ContactSidebar/components/InteractionView/AssignmentsView.d.ts +0 -12
- package/dist/types/components/ContactSidebar/components/InteractionView/InteractionSummary.d.ts +0 -16
- package/dist/types/components/ContactSidebar/components/InteractionView/InteractionView.d.ts +0 -3
- package/dist/types/components/ContactSidebar/components/InteractionView/OperationalActivityView.d.ts +0 -13
- package/dist/types/components/ContactSidebar/components/InteractionView/ParticipantsView.d.ts +0 -15
- package/dist/types/components/ContactSidebar/components/InteractionView/ServiceLevelView.d.ts +0 -33
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactHighlights/ContactHighlights.d.ts +0 -2
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactHighlights/index.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactRepairs/ContactRepairs.d.ts +0 -4
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactRepairs/components/RepairSection/RepairSection.d.ts +0 -7
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactRepairs/index.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactTicket/ContactTicket.d.ts +0 -4
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactTicket/components/TicketSection/TicketSection.d.ts +0 -7
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactTicket/index.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/SidebarViewNavigation/SidebarViewNavigation.d.ts +0 -15
- package/dist/types/components/ContactSidebar/hooks/useSectionRefs.d.ts +0 -19
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export type SidebarView = 'contact' | 'interaction' | 'assistant';
|
|
3
|
-
export interface SidebarViewDefinition {
|
|
4
|
-
id: SidebarView;
|
|
5
|
-
label: string;
|
|
6
|
-
icon: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
interface SidebarViewNavigationProps {
|
|
9
|
-
activeView: SidebarView;
|
|
10
|
-
onChange: (view: SidebarView) => void;
|
|
11
|
-
views: SidebarViewDefinition[];
|
|
12
|
-
}
|
|
13
|
-
/** Navegación de primer nivel del panel lateral. */
|
|
14
|
-
declare const SidebarViewNavigation: ({ activeView, onChange, views, }: SidebarViewNavigationProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default SidebarViewNavigation;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
export interface SectionRefs {
|
|
3
|
-
contactDataRef: RefObject<HTMLElement | null>;
|
|
4
|
-
contactConversationRef: RefObject<HTMLElement | null>;
|
|
5
|
-
contactTicketRef: RefObject<HTMLElement | null>;
|
|
6
|
-
contactNotesRef: RefObject<HTMLElement | null>;
|
|
7
|
-
contactRepairsRef: RefObject<HTMLElement | null>;
|
|
8
|
-
contactFilesRef: RefObject<HTMLElement | null>;
|
|
9
|
-
contactMediaRef: RefObject<HTMLElement | null>;
|
|
10
|
-
contactHistoryRef: RefObject<HTMLElement | null>;
|
|
11
|
-
contactEventRef: RefObject<HTMLElement | null>;
|
|
12
|
-
contactTaskRef: RefObject<HTMLElement | null>;
|
|
13
|
-
contactButtonsRef: RefObject<HTMLElement | null>[];
|
|
14
|
-
contactPanelShopRef: RefObject<HTMLElement | null>;
|
|
15
|
-
contactRelationsRef: RefObject<HTMLElement | null>;
|
|
16
|
-
groupDataRef: RefObject<HTMLDivElement | null>;
|
|
17
|
-
}
|
|
18
|
-
declare function useSectionRefs(buttonsData?: any[] | null): SectionRefs;
|
|
19
|
-
export default useSectionRefs;
|