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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
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
- <img
44
- width="20"
45
- src={QR_ICON_PATH}
46
- alt="QR"
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 ? (
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foris",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
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": {
package/foris-6.0.2.tgz DELETED
Binary file