@trii/components 2.0.102 → 2.0.104
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/async-state/package.json +9 -0
- package/dist/async-state.d.ts +184 -0
- package/dist/cjs/async-state.js +2 -0
- package/dist/cjs/async-state.js.map +1 -0
- package/dist/cjs/index.js +43 -65
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/async-state.js +2 -0
- package/dist/esm/async-state.js.map +1 -0
- package/dist/esm/index.js +43 -65
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +329 -2
- package/dist/types/asyncState/asyncState.d.ts +99 -0
- package/dist/types/asyncState/getErrorMessage.d.ts +16 -0
- package/dist/types/asyncState/index.d.ts +15 -0
- package/dist/types/asyncState/types.d.ts +17 -0
- package/dist/types/asyncState/useAsyncData.d.ts +51 -0
- package/dist/types/components/AsyncContent/AsyncContent.d.ts +48 -0
- package/dist/types/components/AsyncContent/index.d.ts +2 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/AddressInput.d.ts +2 -1
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/PhoneInput.d.ts +2 -1
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/WarningsDisplay.d.ts +2 -1
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/Warning.d.ts +3 -1
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/hooks/useContactInfoPopup.d.ts +11 -0
- package/dist/types/components/EditContactModal/context/EditContactApiContext.d.ts +2 -0
- package/dist/types/components/EditContactModal/services/api.d.ts +1 -0
- package/dist/types/components/EmptyState/EmptyState.d.ts +22 -0
- package/dist/types/components/EmptyState/index.d.ts +2 -0
- package/dist/types/components/ErrorState/ErrorState.d.ts +23 -0
- package/dist/types/components/ErrorState/index.d.ts +2 -0
- package/dist/types/components/PanelErrorBoundary/PanelErrorBoundary.d.ts +55 -0
- package/dist/types/components/PanelErrorBoundary/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +8 -0
- package/dist/types/i18n/config.d.ts +6 -0
- package/dist/types/i18n/useComponentsTranslation.d.ts +17 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +161 -159
|
@@ -70,6 +70,7 @@ export declare const EditContactApiProvider: import("react").Provider<{
|
|
|
70
70
|
}) => Promise<{
|
|
71
71
|
success: boolean;
|
|
72
72
|
warnings: string[];
|
|
73
|
+
contactId?: string;
|
|
73
74
|
}>;
|
|
74
75
|
setContactAddress: ({ data, signal }: {
|
|
75
76
|
signal?: AbortSignal;
|
|
@@ -170,6 +171,7 @@ export declare const useEditContactApi: () => {
|
|
|
170
171
|
}) => Promise<{
|
|
171
172
|
success: boolean;
|
|
172
173
|
warnings: string[];
|
|
174
|
+
contactId?: string;
|
|
173
175
|
}>;
|
|
174
176
|
setContactAddress: ({ data, signal }: {
|
|
175
177
|
signal?: AbortSignal;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface EmptyStateProps {
|
|
3
|
+
/** Título principal (default: i18n `asyncState.emptyTitle`). */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Descripción secundaria (default: i18n `asyncState.emptyDescription`). */
|
|
6
|
+
description?: string;
|
|
7
|
+
/** Icono personalizado (default: `InboxIcon`). */
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
/** Acción opcional bajo el texto (p.ej. botón "Crear el primero"). */
|
|
10
|
+
action?: ReactNode;
|
|
11
|
+
/** Versión compacta (menos padding e icono más chico). */
|
|
12
|
+
compact?: boolean;
|
|
13
|
+
/** Idioma de los textos por defecto ('es' | 'en'). Opcional: ver useComponentsTranslation. */
|
|
14
|
+
language?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Estado "vacío real": la carga fue exitosa pero no hay datos que mostrar.
|
|
18
|
+
* No confundir con "aún no se cargó" (eso es loading) ni con un error.
|
|
19
|
+
* Presentacional y genérico (ver docs/ASYNC_STATE.md).
|
|
20
|
+
*/
|
|
21
|
+
declare const EmptyState: ({ title, description, icon, action, compact, language, }: EmptyStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export default EmptyState;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ErrorStateProps {
|
|
2
|
+
/** Título principal (default: i18n `asyncState.errorTitle`). */
|
|
3
|
+
title?: string;
|
|
4
|
+
/** Descripción secundaria (default: i18n `asyncState.errorDescription`). */
|
|
5
|
+
description?: string;
|
|
6
|
+
/** Detalle técnico o mensaje del backend (se muestra atenuado). */
|
|
7
|
+
error?: string | null;
|
|
8
|
+
/** Si se provee, muestra el botón de reintento. */
|
|
9
|
+
onRetry?: () => void;
|
|
10
|
+
/** Texto del botón de reintento (default: i18n `asyncState.retry`). */
|
|
11
|
+
retryLabel?: string;
|
|
12
|
+
/** Versión compacta (menos padding e icono más chico) para paneles angostos. */
|
|
13
|
+
compact?: boolean;
|
|
14
|
+
/** Idioma de los textos por defecto ('es' | 'en'). Opcional: ver useComponentsTranslation. */
|
|
15
|
+
language?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Estado de error a nivel panel, con retry opcional.
|
|
19
|
+
* Presentacional y genérico: no conoce Redux ni fetching
|
|
20
|
+
* (ver docs/ASYNC_STATE.md).
|
|
21
|
+
*/
|
|
22
|
+
declare const ErrorState: ({ title, description, error, onRetry, retryLabel, compact, language, }: ErrorStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default ErrorState;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Component, ErrorInfo, ReactNode } from 'react';
|
|
2
|
+
export interface PanelErrorBoundaryProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/**
|
|
5
|
+
* Fallback custom ante un crash de render. Puede ser un nodo o una función
|
|
6
|
+
* que recibe el error y `resetErrorBoundary` (para reintentar).
|
|
7
|
+
*/
|
|
8
|
+
fallback?: ReactNode | ((args: {
|
|
9
|
+
error: Error | null;
|
|
10
|
+
resetErrorBoundary: () => void;
|
|
11
|
+
}) => ReactNode);
|
|
12
|
+
/** Telemetría/logging del error (p.ej. enviar a un servicio externo). */
|
|
13
|
+
onError?: (error: Error, info: ErrorInfo) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Claves que al cambiar resetean el boundary automáticamente
|
|
16
|
+
* (p.ej. el id de la ruta actual, para reintentar al navegar).
|
|
17
|
+
*/
|
|
18
|
+
resetKeys?: ReadonlyArray<unknown>;
|
|
19
|
+
/** Overrides de textos del fallback por defecto. */
|
|
20
|
+
title?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
/** Idioma de los textos por defecto ('es' | 'en'). Opcional: ver useComponentsTranslation. */
|
|
23
|
+
language?: string;
|
|
24
|
+
}
|
|
25
|
+
interface PanelErrorBoundaryState {
|
|
26
|
+
hasError: boolean;
|
|
27
|
+
error: Error | null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Aísla fallos de RENDER por panel: si el contenido explota, el resto de la
|
|
31
|
+
* UI (hermanos, otros paneles, la navegación) sigue funcionando y el panel
|
|
32
|
+
* muestra un fallback con reintento.
|
|
33
|
+
*
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <PanelErrorBoundary resetKeys={[conversationId]}>
|
|
36
|
+
* <ContactInfoPanel />
|
|
37
|
+
* </PanelErrorBoundary>
|
|
38
|
+
* <PanelErrorBoundary>
|
|
39
|
+
* <MessagesPanel />
|
|
40
|
+
* </PanelErrorBoundary>
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* NOTA: los boundaries NO capturan errores de fetching (para eso está
|
|
44
|
+
* `<AsyncContent>`), ni de event handlers, ni de código asíncrono.
|
|
45
|
+
* Guía completa: docs/ASYNC_STATE.md
|
|
46
|
+
*/
|
|
47
|
+
declare class PanelErrorBoundary extends Component<PanelErrorBoundaryProps, PanelErrorBoundaryState> {
|
|
48
|
+
state: PanelErrorBoundaryState;
|
|
49
|
+
static getDerivedStateFromError(error: Error): PanelErrorBoundaryState;
|
|
50
|
+
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
51
|
+
componentDidUpdate(prevProps: PanelErrorBoundaryProps): void;
|
|
52
|
+
reset: () => void;
|
|
53
|
+
render(): ReactNode;
|
|
54
|
+
}
|
|
55
|
+
export default PanelErrorBoundary;
|
|
@@ -4,5 +4,13 @@ export type { EditContactModalProps, EditContactMode } from './EditContactModal'
|
|
|
4
4
|
export { default as EventsDialog } from './EventsDialog';
|
|
5
5
|
export type { EventsDialogProps, EventData, TaskData } from './EventsDialog';
|
|
6
6
|
export type { ModalMode, ItemType, Calendar, Contact, Notification } from './EventsDialog/types';
|
|
7
|
+
export { default as AsyncContent } from './AsyncContent';
|
|
8
|
+
export type { AsyncContentProps } from './AsyncContent';
|
|
9
|
+
export { default as EmptyState } from './EmptyState';
|
|
10
|
+
export type { EmptyStateProps } from './EmptyState';
|
|
11
|
+
export { default as ErrorState } from './ErrorState';
|
|
12
|
+
export type { ErrorStateProps } from './ErrorState';
|
|
13
|
+
export { default as PanelErrorBoundary } from './PanelErrorBoundary';
|
|
14
|
+
export type { PanelErrorBoundaryProps } from './PanelErrorBoundary';
|
|
7
15
|
export { default as ContactSidebar } from './ContactSidebar';
|
|
8
16
|
export type { ContactSidebarProps, SidebarChatIntegration, StartConversationTarget, } from './ContactSidebar';
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
declare const i18nInstance: import("i18next").i18n;
|
|
2
|
+
/**
|
|
3
|
+
* Normaliza lo que venga del anfitrión ('ES', 'En', 'es-AR', ...) a un idioma
|
|
4
|
+
* soportado por el paquete. El default es 'en' porque es el `fallbackLng` de
|
|
5
|
+
* esta instancia.
|
|
6
|
+
*/
|
|
7
|
+
export declare function normalizeLanguage(language?: string): 'en' | 'es';
|
|
2
8
|
export default i18nInstance;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
2
|
+
/**
|
|
3
|
+
* `t` atado a la instancia del paquete, SIN montar un `I18nextProvider`.
|
|
4
|
+
*
|
|
5
|
+
* Es la diferencia con el patrón de EditContactModal/ContactSidebar: esos
|
|
6
|
+
* componentes son un árbol cerrado y pueden pisar el context. Las primitivas
|
|
7
|
+
* de estado asíncrono (`AsyncContent`, `PanelErrorBoundary`) renderizan
|
|
8
|
+
* children DEL ANFITRIÓN; si montaran un provider, esos children resolverían
|
|
9
|
+
* sus claves contra la instancia del paquete y quedarían sin traducir.
|
|
10
|
+
* Pasando `{ i18n }` a `useTranslation`, solo los textos propios se atan.
|
|
11
|
+
*
|
|
12
|
+
* `language` es opcional: si el anfitrión ya sincroniza el idioma con
|
|
13
|
+
* `i18n.changeLanguage(...)` (exportado desde el índice del paquete), no hace
|
|
14
|
+
* falta pasarlo.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useComponentsTranslation: (language?: string) => TFunction;
|
|
17
|
+
export default useComponentsTranslation;
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,159 +1,161 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@trii/components",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Trii components package",
|
|
5
|
-
"main": "dist/cjs/index.js",
|
|
6
|
-
"module": "dist/esm/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"dev
|
|
14
|
-
"dev:
|
|
15
|
-
"
|
|
16
|
-
"build
|
|
17
|
-
"build:
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"@babel/
|
|
55
|
-
"@babel/preset-
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"@
|
|
64
|
-
"@mui/material": "^5.
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"@rollup/plugin-
|
|
69
|
-
"@rollup/plugin-
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@storybook/addon-
|
|
73
|
-
"@storybook/addon-
|
|
74
|
-
"@storybook/addon-
|
|
75
|
-
"@storybook/addon-
|
|
76
|
-
"@storybook/addon-
|
|
77
|
-
"@storybook/
|
|
78
|
-
"@storybook/
|
|
79
|
-
"@storybook/
|
|
80
|
-
"@storybook/
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@types/
|
|
86
|
-
"@types/
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"eslint
|
|
97
|
-
"eslint-
|
|
98
|
-
"eslint-plugin-
|
|
99
|
-
"eslint-plugin-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"react
|
|
114
|
-
"react-
|
|
115
|
-
"react-
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"rollup
|
|
119
|
-
"rollup-plugin-
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
"@
|
|
132
|
-
"@
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"react-
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@trii/components",
|
|
3
|
+
"version": "2.0.104",
|
|
4
|
+
"description": "Trii components package",
|
|
5
|
+
"main": "dist/cjs/index.js",
|
|
6
|
+
"module": "dist/esm/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"async-state"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "npm-run-all --parallel dev:types dev:js",
|
|
14
|
+
"dev:types": "tsc --watch",
|
|
15
|
+
"dev:js": "rollup -c --watch",
|
|
16
|
+
"build": "npm-run-all --serial build:types build:js",
|
|
17
|
+
"build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly",
|
|
18
|
+
"build:js": "rollup -c",
|
|
19
|
+
"test": "jest",
|
|
20
|
+
"test:watch": "jest --watchAll --verbose",
|
|
21
|
+
"storybook": "storybook dev -p 6006",
|
|
22
|
+
"build-storybook": "storybook build"
|
|
23
|
+
},
|
|
24
|
+
"author": "Ezequiel",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"babel": {
|
|
27
|
+
"sourceType": "unambiguous",
|
|
28
|
+
"presets": [
|
|
29
|
+
[
|
|
30
|
+
"@babel/preset-env",
|
|
31
|
+
{
|
|
32
|
+
"targets": {
|
|
33
|
+
"chrome": 100,
|
|
34
|
+
"safari": 15,
|
|
35
|
+
"firefox": 91
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
"@babel/preset-react",
|
|
41
|
+
{
|
|
42
|
+
"runtime": "automatic"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"@babel/preset-typescript"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"postcss": {
|
|
49
|
+
"plugins": {
|
|
50
|
+
"postcss-import": {}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@babel/core": "^7.23.0",
|
|
55
|
+
"@babel/preset-env": "^7.22.20",
|
|
56
|
+
"@babel/preset-react": "^7.22.15",
|
|
57
|
+
"@babel/preset-typescript": "^7.23.0",
|
|
58
|
+
"@emotion/react": "^11.11.4",
|
|
59
|
+
"@emotion/styled": "^11.11.5",
|
|
60
|
+
"@fontsource/material-icons": "^5.0.18",
|
|
61
|
+
"@fontsource/roboto": "^5.0.13",
|
|
62
|
+
"@mdi/js": "^7.4.47",
|
|
63
|
+
"@mdi/react": "^1.6.1",
|
|
64
|
+
"@mui/icons-material": "^5.15.15",
|
|
65
|
+
"@mui/lab": "^5.0.0-alpha.176",
|
|
66
|
+
"@mui/material": "^5.18.0",
|
|
67
|
+
"@reduxjs/toolkit": "^2.11.2",
|
|
68
|
+
"@rollup/plugin-commonjs": "^25.0.4",
|
|
69
|
+
"@rollup/plugin-image": "^3.0.3",
|
|
70
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
71
|
+
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
72
|
+
"@storybook/addon-essentials": "^8.5.3",
|
|
73
|
+
"@storybook/addon-interactions": "^8.5.3",
|
|
74
|
+
"@storybook/addon-links": "^8.5.3",
|
|
75
|
+
"@storybook/addon-onboarding": "^8.5.3",
|
|
76
|
+
"@storybook/addon-themes": "^8.5.3",
|
|
77
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
|
|
78
|
+
"@storybook/addon-webpack5-compiler-swc": "^2.0.0",
|
|
79
|
+
"@storybook/blocks": "^8.5.3",
|
|
80
|
+
"@storybook/react": "^8.5.3",
|
|
81
|
+
"@storybook/react-webpack5": "^8.5.3",
|
|
82
|
+
"@storybook/test": "^8.5.3",
|
|
83
|
+
"@testing-library/jest-dom": "^6.1.3",
|
|
84
|
+
"@testing-library/react": "^14.0.0",
|
|
85
|
+
"@types/google-libphonenumber": "^7.4.30",
|
|
86
|
+
"@types/google.maps": "^3.58.1",
|
|
87
|
+
"@types/jest": "^29.5.5",
|
|
88
|
+
"@types/react": "^18.2.23",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
|
90
|
+
"@typescript-eslint/parser": "^8.53.0",
|
|
91
|
+
"axios": "^1.14.0",
|
|
92
|
+
"babel-jest": "^29.7.0",
|
|
93
|
+
"date-fns": "^2.30.0",
|
|
94
|
+
"dompurify": "^2.5.8",
|
|
95
|
+
"esbuild": "^0.27.2",
|
|
96
|
+
"eslint": "^9.39.2",
|
|
97
|
+
"eslint-config-prettier": "^10.1.8",
|
|
98
|
+
"eslint-plugin-import": "^2.32.0",
|
|
99
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
100
|
+
"eslint-plugin-react": "^7.37.5",
|
|
101
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
102
|
+
"google-libphonenumber": "^3.2.44",
|
|
103
|
+
"handlebars": "^4.7.8",
|
|
104
|
+
"immer": "^11.1.4",
|
|
105
|
+
"jest": "^29.7.0",
|
|
106
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
107
|
+
"markdown-it": "^14.1.0",
|
|
108
|
+
"markdown-it-emoji": "^3.0.0",
|
|
109
|
+
"npm-run-all": "^4.1.5",
|
|
110
|
+
"postcss": "^8.4.31",
|
|
111
|
+
"postcss-import": "^15.1.0",
|
|
112
|
+
"prettier": "^3.8.0",
|
|
113
|
+
"react": "^18.2.0",
|
|
114
|
+
"react-dom": "^18.2.0",
|
|
115
|
+
"react-file-icon": "^1.6.0",
|
|
116
|
+
"react-to-print": "^2.14.15",
|
|
117
|
+
"react-virtuoso": "^4.17.0",
|
|
118
|
+
"rollup": "^3.29.4",
|
|
119
|
+
"rollup-plugin-dts": "^6.0.2",
|
|
120
|
+
"rollup-plugin-esbuild": "^6.2.1",
|
|
121
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
122
|
+
"single-spa": "^5.9.3",
|
|
123
|
+
"single-spa-react": "^6.0.2",
|
|
124
|
+
"storybook": "^8.5.3",
|
|
125
|
+
"tslib": "^2.6.2",
|
|
126
|
+
"typescript": "^5.2.2",
|
|
127
|
+
"uuid": "^10.0.0",
|
|
128
|
+
"wavesurfer.js": "^6.6.3"
|
|
129
|
+
},
|
|
130
|
+
"peerDependencies": {
|
|
131
|
+
"@emotion/react": "^11.11.4",
|
|
132
|
+
"@mui/x-date-pickers": "^8.24.0",
|
|
133
|
+
"@mui/x-date-pickers-pro": "^8.24.0",
|
|
134
|
+
"@reduxjs/toolkit": ">=1.9.0",
|
|
135
|
+
"axios": ">=1.0.0",
|
|
136
|
+
"dayjs": "^1.11.19",
|
|
137
|
+
"google-libphonenumber": "^3.2.43",
|
|
138
|
+
"handlebars": "^4.7.8",
|
|
139
|
+
"i18next": "^25.8.0",
|
|
140
|
+
"moment": "^2.30.1",
|
|
141
|
+
"react": ">=17.0.2 <19.0.0",
|
|
142
|
+
"react-dom": ">=17.0.2 <19.0.0",
|
|
143
|
+
"react-i18next": "^16.5.3",
|
|
144
|
+
"single-spa": "^5.9.3",
|
|
145
|
+
"single-spa-react": "^6.0.2"
|
|
146
|
+
},
|
|
147
|
+
"dependencies": {
|
|
148
|
+
"@mdi/js": "^7.4.47",
|
|
149
|
+
"@mdi/react": "^1.6.1",
|
|
150
|
+
"@trii/types": "^2.10.638",
|
|
151
|
+
"date-fns": "^2.30.0",
|
|
152
|
+
"dompurify": "^2.5.8",
|
|
153
|
+
"markdown-it": "^14.1.0",
|
|
154
|
+
"markdown-it-emoji": "^3.0.0",
|
|
155
|
+
"react-file-icon": "^1.6.0",
|
|
156
|
+
"react-to-print": "^2.14.15",
|
|
157
|
+
"react-virtuoso": "^4.17.0",
|
|
158
|
+
"uuid": "^10.0.0",
|
|
159
|
+
"wavesurfer.js": "^6.6.3"
|
|
160
|
+
}
|
|
161
|
+
}
|