@cccsaurora/howler-ui 2.12.0-dev.36 → 2.12.0-dev.38
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/commons/components/app/AppProvider.js +1 -1
- package/commons/components/app/hooks/useAppLanguage.js +1 -1
- package/commons/components/app/hooks/useAppSitemap.js +1 -1
- package/components/app/App.js +1 -1
- package/components/app/providers/HitSearchProvider.js +1 -1
- package/components/elements/display/icons/SocketBadge.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/plugins/HowlerPlugin.js +1 -1
|
@@ -10,7 +10,7 @@ import AppSnackbarProvider from '@cccsaurora/howler-ui/commons/components/app/pr
|
|
|
10
10
|
import AppUserProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppUserProvider';
|
|
11
11
|
import useLocalStorageItem from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorageItem';
|
|
12
12
|
import useThemeBuilder from '@cccsaurora/howler-ui/commons/components/utils/hooks/useThemeBuilder';
|
|
13
|
-
import i18n from 'i18n';
|
|
13
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
14
14
|
import { useCallback, useMemo } from 'react';
|
|
15
15
|
const { LS_KEY_DARK_MODE } = AppStorageKeys;
|
|
16
16
|
export default function AppProvider({ theme, user, search, sitemap, notification, preferences, children }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AppContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
2
|
-
import i18n from 'i18n';
|
|
2
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
3
3
|
import { useContext, useEffect, useMemo } from 'react';
|
|
4
4
|
export function useAppLanguage(onChange) {
|
|
5
5
|
const { toggleLanguage } = useContext(AppContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
2
|
-
import i18n from 'i18n';
|
|
2
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import { matchPath } from 'react-router-dom';
|
|
5
5
|
const TITLE_404 = i18n.t('breadcrumb.404');
|
package/components/app/App.js
CHANGED
|
@@ -49,7 +49,7 @@ import TemplateViewer from '@cccsaurora/howler-ui/components/routes/templates/Te
|
|
|
49
49
|
import Templates from '@cccsaurora/howler-ui/components/routes/templates/Templates';
|
|
50
50
|
import ViewComposer from '@cccsaurora/howler-ui/components/routes/views/ViewComposer';
|
|
51
51
|
import Views from '@cccsaurora/howler-ui/components/routes/views/Views';
|
|
52
|
-
import i18n from 'i18n';
|
|
52
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
53
53
|
import * as monaco from 'monaco-editor';
|
|
54
54
|
import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
|
|
55
55
|
import { useContext, useEffect } from 'react';
|
|
@@ -3,7 +3,7 @@ import api from '@cccsaurora/howler-ui/api';
|
|
|
3
3
|
import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
|
|
4
4
|
import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
|
|
5
5
|
import useMyLocalStorage, { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
|
|
6
|
-
import i18n from 'i18n';
|
|
6
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
7
7
|
import isNull from 'lodash-es/isNull';
|
|
8
8
|
import isUndefined from 'lodash-es/isUndefined';
|
|
9
9
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
@@ -3,7 +3,7 @@ import { CloudSync } from '@mui/icons-material';
|
|
|
3
3
|
import { Badge, IconButton, styled, Tooltip } from '@mui/material';
|
|
4
4
|
import { green, red, yellow } from '@mui/material/colors';
|
|
5
5
|
import { SocketContext, Status } from '@cccsaurora/howler-ui/components/app/providers/SocketProvider';
|
|
6
|
-
import i18n from 'i18n';
|
|
6
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
7
7
|
import { useContext } from 'react';
|
|
8
8
|
const StyledBadge = styled(Badge)(({ theme }) => ({
|
|
9
9
|
'& .MuiBadge-badge': {
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import '@fontsource/roboto';
|
|
3
3
|
import App from '@cccsaurora/howler-ui/components/app/App';
|
|
4
|
-
import 'i18n';
|
|
4
|
+
import '@cccsaurora/howler-ui/i18n';
|
|
5
5
|
import 'index.css';
|
|
6
6
|
// import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
|
|
7
7
|
import * as ReactDOM from 'react-dom/client';
|
package/package.json
CHANGED
package/plugins/HowlerPlugin.js
CHANGED