@cccsaurora/howler-ui 2.14.0-dev.265 → 2.14.0-dev.267

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,6 +1,5 @@
1
1
  import { Apps } from '@mui/icons-material';
2
2
  import { Divider, List, Skeleton, Toolbar, styled, useMediaQuery, useTheme } from '@mui/material';
3
- import { AppUserAvatar } from 'commons/components//topnav/UserProfile';
4
3
  import type { AppLeftNavElement } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
5
4
  import {
6
5
  useAppBreadcrumbs,
@@ -10,6 +9,7 @@ import {
10
9
  useAppQuickSearch
11
10
  } from '@cccsaurora/howler-ui/commons/components/app/hooks';
12
11
  import { AppBarBase } from '@cccsaurora/howler-ui/commons/components/topnav/AppBar';
12
+ import { AppUserAvatar } from '@cccsaurora/howler-ui/commons/components/topnav/UserProfile';
13
13
 
14
14
  /**
15
15
  * Utility component to render the skeleton of the left navigation menu elements.
@@ -1,6 +1,6 @@
1
1
  import { Box } from '@mui/material';
2
- import PageContent from 'commons/components/pages//PageContent';
3
- import { type PageProps } from 'commons/components/pages//hooks/usePageProps';
2
+ import PageContent from '@cccsaurora/howler-ui/commons/components/pages/PageContent';
3
+ import { type PageProps } from '@cccsaurora/howler-ui/commons/components/pages/hooks/usePageProps';
4
4
  import { memo } from 'react';
5
5
 
6
6
  type PageCenterProps = PageProps & {
@@ -1,4 +1,4 @@
1
- import PageContent from 'commons/components/pages//PageContent';
1
+ import PageContent from '@cccsaurora/howler-ui/commons/components/pages/PageContent';
2
2
  import { memo } from 'react';
3
3
 
4
4
  type PageFullWidthProps = {
@@ -10,7 +10,6 @@ import {
10
10
  useMediaQuery,
11
11
  useTheme
12
12
  } from '@mui/material';
13
- import useLocalStorage from 'commons/components//utils/hooks/useLocalStorage';
14
13
  import { APP_STORAGE_PREFIX } from '@cccsaurora/howler-ui/commons/components/app/AppConstants';
15
14
  import {
16
15
  useAppBar,
@@ -21,6 +20,7 @@ import {
21
20
  useAppQuickSearch,
22
21
  useAppTheme
23
22
  } from '@cccsaurora/howler-ui/commons/components/app/hooks';
23
+ import useLocalStorage from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorage';
24
24
  import { memo } from 'react';
25
25
  import { useTranslation } from 'react-i18next';
26
26
 
@@ -17,7 +17,7 @@ import {
17
17
  Typography,
18
18
  useTheme
19
19
  } from '@mui/material';
20
- import type { AppBarUserMenuElement } from 'commons/components//app/AppConfigs';
20
+ import type { AppBarUserMenuElement } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
21
21
  import { useAppConfigs, useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
22
22
  import AppAvatar, { type AppAvatarProps } from '@cccsaurora/howler-ui/commons/components/display/AppAvatar';
23
23
  import ThemeSelection from '@cccsaurora/howler-ui/commons/components/topnav/ThemeSelection';
@@ -31,7 +31,7 @@ import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/A
31
31
  import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
32
32
  import type { Overview } from '@cccsaurora/howler-ui/models/entities/generated/Overview';
33
33
  import { useSearchParams } from 'react-router-dom';
34
- import hitsData from 'utils/hit.json';
34
+ import hitsData from '@cccsaurora/howler-ui/utils/hit.json';
35
35
  import { sanitizeLuceneQuery } from '@cccsaurora/howler-ui/utils/stringUtils';
36
36
  import OverviewEditor from './OverviewEditor';
37
37
  import { useStartingTemplate } from './startingTemplate';
@@ -26,7 +26,7 @@ import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/A
26
26
  import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
27
27
  import type { Template } from '@cccsaurora/howler-ui/models/entities/generated/Template';
28
28
  import { useSearchParams } from 'react-router-dom';
29
- import hitsData from 'utils/hit.json';
29
+ import hitsData from '@cccsaurora/howler-ui/utils/hit.json';
30
30
  import { sanitizeLuceneQuery } from '@cccsaurora/howler-ui/utils/stringUtils';
31
31
 
32
32
  const TemplateViewer = () => {
package/i18n.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { createInstance, type i18n } from 'i18next';
2
2
  import LanguageDetector from 'i18next-browser-languagedetector';
3
- import helpMainEN from 'locales/en/help/main.json';
4
- import helpSearchEN from 'locales/en/help/search.json';
5
- import translationEN from 'locales/en/translation.json';
6
- import helpMainFR from 'locales/fr/help/main.json';
7
- import helpSearchFR from 'locales/fr/help/search.json';
8
- import translationFR from 'locales/fr/translation.json';
3
+ import helpMainEN from '@cccsaurora/howler-ui/locales/en/help/main.json';
4
+ import helpSearchEN from '@cccsaurora/howler-ui/locales/en/help/search.json';
5
+ import translationEN from '@cccsaurora/howler-ui/locales/en/translation.json';
6
+ import helpMainFR from '@cccsaurora/howler-ui/locales/fr/help/main.json';
7
+ import helpSearchFR from '@cccsaurora/howler-ui/locales/fr/help/search.json';
8
+ import translationFR from '@cccsaurora/howler-ui/locales/fr/translation.json';
9
9
  import { initReactI18next } from 'react-i18next';
10
10
 
11
11
  const resources = {
package/index.tsx CHANGED
@@ -5,7 +5,7 @@ import duration from 'dayjs/plugin/duration';
5
5
  import relativeTime from 'dayjs/plugin/relativeTime';
6
6
  import utc from 'dayjs/plugin/utc';
7
7
  import '@cccsaurora/howler-ui/i18n';
8
- import 'index.css';
8
+ import '@cccsaurora/howler-ui/index.css';
9
9
  // import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
10
10
  import * as ReactDOM from 'react-dom/client';
11
11