foris 6.0.2 → 6.0.3
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/common/WiFiSettings/WiFiQRCode.js +5 -9
- package/foris-6.0.3.tgz +0 -0
- package/package.json +1 -1
- package/foris-6.0.2.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 CZ.NIC z.s.p.o. (
|
|
2
|
+
* Copyright (C) 2019-2024 CZ.NIC z.s.p.o. (https://www.nic.cz/)
|
|
3
3
|
*
|
|
4
4
|
* This is free software, licensed under the GNU General Public License v3.
|
|
5
5
|
* See /LICENSE for more information.
|
|
@@ -18,15 +18,12 @@ import {
|
|
|
18
18
|
ModalFooter,
|
|
19
19
|
ModalHeader,
|
|
20
20
|
} from "../../bootstrap/Modal";
|
|
21
|
-
import { ForisURLs } from "../../utils/forisUrls";
|
|
22
21
|
|
|
23
22
|
WiFiQRCode.propTypes = {
|
|
24
23
|
SSID: PropTypes.string.isRequired,
|
|
25
24
|
password: PropTypes.string.isRequired,
|
|
26
25
|
};
|
|
27
26
|
|
|
28
|
-
const QR_ICON_PATH = `${ForisURLs.static}/imgs/QR_icon.svg`;
|
|
29
|
-
|
|
30
27
|
export default function WiFiQRCode({ SSID, password }) {
|
|
31
28
|
const [modal, setModal] = useState(false);
|
|
32
29
|
|
|
@@ -40,11 +37,10 @@ export default function WiFiQRCode({ SSID, password }) {
|
|
|
40
37
|
setModal(true);
|
|
41
38
|
}}
|
|
42
39
|
>
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
style={{ opacity: 0.67 }}
|
|
40
|
+
<i
|
|
41
|
+
className="fa-solid fa-qrcode"
|
|
42
|
+
title={_("Show QR code")}
|
|
43
|
+
aria-label={_("Show QR code")}
|
|
48
44
|
/>
|
|
49
45
|
</button>
|
|
50
46
|
{modal ? (
|
package/foris-6.0.3.tgz
ADDED
|
Binary file
|
package/package.json
CHANGED
package/foris-6.0.2.tgz
DELETED
|
Binary file
|