@cccsaurora/howler-ui 2.16.0-dev.417 → 2.16.2

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.
@@ -24,7 +24,7 @@ export declare function useAppConfigs(): {
24
24
  hideNestedIcons?: boolean;
25
25
  };
26
26
  appName: string;
27
- appLink?: import("react-router-dom").To;
27
+ appLink?: import("react-router").To;
28
28
  appIconDark: import("react").ReactElement<any>;
29
29
  appIconLight: import("react").ReactElement<any>;
30
30
  bannerDark?: import("react").ReactElement<any>;
@@ -80,7 +80,7 @@ const RationaleModal = ({ hits, onSubmit }) => {
80
80
  query: 'howler.rationale:*',
81
81
  rows: 10,
82
82
  fields: ['howler.rationale'],
83
- filters: hits.map(hit => `howler.analytic:"${sanitizeLuceneQuery(hit.howler.analytic)}")`)
83
+ filters: hits.map(hit => `howler.analytic:"${sanitizeLuceneQuery(hit.howler.analytic)}"`)
84
84
  }, 'analytic'),
85
85
  // Rationales provided by this user
86
86
  runFacet({
@@ -119,7 +119,7 @@ describe('RationaleModal', () => {
119
119
  });
120
120
  expect(mockHpost).toHaveBeenCalledWith('/api/v1/search/facet/hit', {
121
121
  fields: ['howler.rationale'],
122
- filters: ['howler.analytic:"test\\-analytic\\-1")'],
122
+ filters: ['howler.analytic:"test\\-analytic\\-1"'],
123
123
  query: 'howler.rationale:*',
124
124
  rows: 10
125
125
  });
@@ -315,6 +315,7 @@
315
315
  "modal.rationale.label": "Rationale",
316
316
  "modal.rationale.type.analytic": "This rationale was used when assessing alerts with the same analytic name.",
317
317
  "modal.rationale.type.assignment": "This is a rationale you have recently used when assessing an alert.",
318
+ "modal.rationale.type.preset": "This is a preset rationale configured for the associated analytic.",
318
319
  "none": "None",
319
320
  "no.data": "No Data",
320
321
  "on": "on",
@@ -317,6 +317,7 @@
317
317
  "modal.rationale.label": "Justification",
318
318
  "modal.rationale.type.analytic": "Cette justification a été utilisée lors de l'évaluation des alertes avec le même nom d'analyse.",
319
319
  "modal.rationale.type.assignment": "Il s'agit d'une justification que vous avez récemment utilisée lors de l'évaluation d'une alerte.",
320
+ "modal.rationale.type.preset": "Il s'agit d'un raisonnement prédéfini configuré pour l'analyse associée.",
320
321
  "none": "Rien",
321
322
  "no.data": "Aucune donnée",
322
323
  "on": "sur",
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "@dnd-kit/modifiers": "^7.0.0",
17
17
  "@dnd-kit/sortable": "^8.0.0",
18
18
  "@dnd-kit/utilities": "^3.2.2",
19
- "@fontsource/roboto": "^5.2.9",
19
+ "@fontsource/roboto": "^5.2.6",
20
20
  "@iconify/icons-logos": "^1.2.36",
21
21
  "@iconify/icons-simple-icons": "^1.2.74",
22
22
  "@iconify/react": "^4.1.1",
@@ -51,8 +51,8 @@
51
51
  "react-markdown": "^10.1.0",
52
52
  "react-pluggable": "^0.4.3",
53
53
  "react-resize-detector": "^9.1.1",
54
- "react-router": "^7.13.0",
55
- "react-router-dom": "^6.30.1",
54
+ "react-router": "6.30.1",
55
+ "react-router-dom": "6.30.1",
56
56
  "react-syntax-highlighter": "^15.6.1",
57
57
  "rehype-raw": "^7.0.0",
58
58
  "remark": "^15.0.1",
@@ -96,7 +96,7 @@
96
96
  "internal-slot": "1.0.7"
97
97
  },
98
98
  "type": "module",
99
- "version": "2.16.0-dev.417",
99
+ "version": "2.16.2",
100
100
  "exports": {
101
101
  "./i18n": "./i18n.js",
102
102
  "./index.css": "./index.css",