foris 6.10.0 → 6.11.0

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.
@@ -91,6 +91,7 @@ function DeviceForm({
91
91
  }) {
92
92
  const deviceID = formData.id;
93
93
  const bnds = formData.available_bands;
94
+
94
95
  return (
95
96
  <>
96
97
  <Switch
@@ -220,24 +221,27 @@ function DeviceForm({
220
221
  {...props}
221
222
  />
222
223
 
223
- {(formData.encryption === "WPA3" ||
224
- formData.encryption === "WPA2/3") && (
225
- <Switch
226
- label={_("Disable Management Frame Protection")}
227
- helpText={_(
228
- "In case you have trouble connecting to WiFi Access Point, try disabling Management Frame Protection."
229
- )}
230
- checked={formData.ieee80211w_disabled}
231
- onChange={setFormValue((value) => ({
232
- devices: {
233
- [deviceIndex]: {
234
- ieee80211w_disabled: { $set: value },
224
+ {formData.band !== "6g" &&
225
+ (formData.encryption === "WPA3" ||
226
+ formData.encryption === "WPA2/3") && (
227
+ <Switch
228
+ label={_("Disable Management Frame Protection")}
229
+ helpText={_(
230
+ "In case you have trouble connecting to WiFi Access Point, try disabling Management Frame Protection."
231
+ )}
232
+ checked={formData.ieee80211w_disabled}
233
+ onChange={setFormValue((value) => ({
234
+ devices: {
235
+ [deviceIndex]: {
236
+ ieee80211w_disabled: {
237
+ $set: value,
238
+ },
239
+ },
235
240
  },
236
- },
237
- }))}
238
- {...props}
239
- />
240
- )}
241
+ }))}
242
+ {...props}
243
+ />
244
+ )}
241
245
 
242
246
  {hasGuestNetwork && (
243
247
  <WifiGuestForm
@@ -302,5 +306,10 @@ function getEncryptionChoices(device) {
302
306
  if (device.encryption === "custom") {
303
307
  ENCRYPTIONMODES.custom = _("Custom");
304
308
  }
309
+ if (device.band === "6g") {
310
+ return {
311
+ WPA3: ENCRYPTIONMODES.WPA3,
312
+ };
313
+ }
305
314
  return ENCRYPTIONMODES;
306
315
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foris",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "description": "Foris JS library is a set of components and utils for reForis application and plugins.",
5
5
  "author": "CZ.NIC, z.s.p.o.",
6
6
  "repository": {
@@ -20,7 +20,7 @@
20
20
  "@fortawesome/react-fontawesome": "^0.2.2",
21
21
  "@tanstack/match-sorter-utils": "^8.19.4",
22
22
  "@tanstack/react-table": "^8.21.3",
23
- "axios": "^1.13.5",
23
+ "axios": "^1.13.6",
24
24
  "immutability-helper": "^3.1.1",
25
25
  "moment": "^2.30.1",
26
26
  "qrcode.react": "^4.2.0",
@@ -38,7 +38,7 @@
38
38
  "@babel/cli": "^7.28.6",
39
39
  "@babel/core": "^7.29.0",
40
40
  "@babel/plugin-transform-runtime": "^7.29.0",
41
- "@babel/preset-env": "^7.29.0",
41
+ "@babel/preset-env": "^7.29.2",
42
42
  "@babel/preset-react": "^7.28.5",
43
43
  "@testing-library/react": "^12.1.5",
44
44
  "babel-loader": "^9.2.1",
@@ -51,7 +51,7 @@
51
51
  "jest": "^29.7.0",
52
52
  "jest-environment-jsdom": "^29.7.0",
53
53
  "jest-mock-axios": "^4.9.0",
54
- "moment-timezone": "^0.5.47",
54
+ "moment-timezone": "^0.6.1",
55
55
  "prettier": "^3.8.1",
56
56
  "prop-types": "15.8.1",
57
57
  "react": "16.9.0",
@@ -60,7 +60,7 @@
60
60
  "react-styleguidist": "^12.0.1",
61
61
  "snapshot-diff": "^0.10.0",
62
62
  "style-loader": "^4.0.0",
63
- "webpack": "^5.105.2"
63
+ "webpack": "^5.105.4"
64
64
  },
65
65
  "overrides": {
66
66
  "markdown-to-jsx": "^7.7.4"