@opengeoweb/space-weather 13.2.1 → 14.0.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.
Files changed (2) hide show
  1. package/index.esm.js +22 -14
  2. package/package.json +6 -6
package/index.esm.js CHANGED
@@ -977,9 +977,9 @@ var NotificationTrigger = function NotificationTrigger() {
977
977
  return notificationTriggers && notificationTriggers.length > 0 ? jsx(AlertBanner, {
978
978
  dataTestId: "notificationtrigger-alert",
979
979
  severity: "warning",
980
- title: "" + (notificationTriggers.length === 1 ? t('notification-trigger-single') : t('notification-trigger-multiple', {
980
+ title: notificationTriggers.length === 1 ? t('notification-trigger-single') : t('notification-trigger-multiple', {
981
981
  number: notificationTriggers.length
982
- }))
982
+ })
983
983
  }) : null;
984
984
  };
985
985
 
@@ -1054,8 +1054,10 @@ var BulletinHistoryList = function BulletinHistoryList(_ref) {
1054
1054
  onSelectBulletin(bulletin.bulletin_id);
1055
1055
  },
1056
1056
  children: jsx(ListItemText, {
1057
- primaryTypographyProps: {
1058
- variant: 'body2'
1057
+ slotProps: {
1058
+ primary: {
1059
+ variant: 'body2'
1060
+ }
1059
1061
  },
1060
1062
  primary: dateUtils.dateToString(dateUtils.utc(bulletin.message.overview.timestamp), dateUtils.DATE_FORMAT_DATEPICKER)
1061
1063
  })
@@ -1571,7 +1573,7 @@ var NotificationRow = function NotificationRow(_ref) {
1571
1573
  }), event.notacknowledged !== true && internalProviderLifeCycle.draft !== true && internalProviderLifeCycle.lastissuetime && jsx(Typography, {
1572
1574
  variant: "body2",
1573
1575
  "data-testid": "notificationRow-internalLastIssueTime",
1574
- children: dateUtils.dateToString(dateUtils.utc(internalProviderLifeCycle.lastissuetime), "" + dateUtils.DATE_FORMAT_DATEPICKER)
1576
+ children: dateUtils.dateToString(dateUtils.utc(internalProviderLifeCycle.lastissuetime), dateUtils.DATE_FORMAT_DATEPICKER)
1575
1577
  })]
1576
1578
  }), jsxs(Grid, {
1577
1579
  className: "col-5",
@@ -2273,8 +2275,10 @@ var XrayClassPeakClass = function XrayClassPeakClass(_ref) {
2273
2275
  children: jsx(ReactHookFormTextField, {
2274
2276
  name: "peakclass",
2275
2277
  sx: styles$3.inputField,
2276
- inputProps: {
2277
- 'data-testid': 'peakclass-input'
2278
+ slotProps: {
2279
+ htmlInput: {
2280
+ 'data-testid': 'peakclass-input'
2281
+ }
2278
2282
  },
2279
2283
  label: t('notification-peak-class'),
2280
2284
  upperCase: true,
@@ -2572,8 +2576,10 @@ var DataSourceStatustag = function DataSourceStatustag(_ref) {
2572
2576
  children: jsx(ReactHookFormTextField, {
2573
2577
  name: "datasource",
2574
2578
  sx: styles$3.inputField,
2575
- inputProps: {
2576
- 'data-testid': 'datasource-input'
2579
+ slotProps: {
2580
+ htmlInput: {
2581
+ 'data-testid': 'datasource-input'
2582
+ }
2577
2583
  },
2578
2584
  label: t('notification-source'),
2579
2585
  rules: {
@@ -2612,8 +2618,10 @@ var GScaleStatusTag = function GScaleStatusTag(_ref) {
2612
2618
  children: jsx(ReactHookFormTextField, {
2613
2619
  name: "initialgscale",
2614
2620
  sx: styles$3.inputField,
2615
- inputProps: {
2616
- 'data-testid': 'initialgscale-input'
2621
+ slotProps: {
2622
+ htmlInput: {
2623
+ 'data-testid': 'initialgscale-input'
2624
+ }
2617
2625
  },
2618
2626
  label: t('notification-g-scale'),
2619
2627
  rules: {
@@ -3388,7 +3396,9 @@ var LifeCycleColumn = function LifeCycleColumn(_ref) {
3388
3396
  }), jsx(Typography, {
3389
3397
  variant: "body2",
3390
3398
  "data-testid": "lifecycle-column-message-impact",
3391
- paragraph: true,
3399
+ sx: {
3400
+ mb: 2
3401
+ },
3392
3402
  children: notification.message
3393
3403
  })]
3394
3404
  }), type === 'internal' && jsxs(Fragment, {
@@ -4766,7 +4776,6 @@ var TimeSeries = function TimeSeries() {
4766
4776
  });
4767
4777
  });
4768
4778
  }
4769
- // eslint-disable-next-line react-hooks/exhaustive-deps
4770
4779
  }, [isUserSleeping]);
4771
4780
  React.useEffect(function () {
4772
4781
  if (streamsData) {
@@ -4782,7 +4791,6 @@ var TimeSeries = function TimeSeries() {
4782
4791
  });
4783
4792
  });
4784
4793
  }
4785
- // eslint-disable-next-line react-hooks/exhaustive-deps
4786
4794
  }, [streamsData]);
4787
4795
  var isLoading = timeSeriesResults.filter(function (result) {
4788
4796
  return result.isPending;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/space-weather",
3
- "version": "13.2.1",
3
+ "version": "14.0.1",
4
4
  "description": "GeoWeb Spaceweather library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,11 +8,11 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@opengeoweb/api": "13.2.1",
12
- "@opengeoweb/shared": "13.2.1",
13
- "@opengeoweb/theme": "13.2.1",
11
+ "@opengeoweb/api": "14.0.1",
12
+ "@opengeoweb/shared": "14.0.1",
13
+ "@opengeoweb/theme": "14.0.1",
14
14
  "react-hook-form": "^7.50.1",
15
- "@opengeoweb/form-fields": "13.2.1",
15
+ "@opengeoweb/form-fields": "14.0.1",
16
16
  "echarts-for-react": "^3.0.2",
17
17
  "echarts": "^5.4.3",
18
18
  "lodash": "^4.17.21",
@@ -21,7 +21,7 @@
21
21
  "@mui/material": "^7.0.1",
22
22
  "@mui/system": "^7.3.2",
23
23
  "@tanstack/react-query": "^5.85.5",
24
- "@opengeoweb/authentication": "13.2.1"
24
+ "@opengeoweb/authentication": "14.0.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": "18",