@robotical/webapp-types 3.14.46 → 3.14.47

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.
@@ -51,6 +51,8 @@ import modalState from "../../../state-observables/modal/ModalState";
51
51
  import styles from "./styles.module.css";
52
52
  import { HiOutlineLightBulb } from "react-icons/hi";
53
53
  import { MdQrCode } from "react-icons/md";
54
+ import { ReactComponent as BluetoothSVG } from "../../../assets/configuration/bluetooth.svg";
55
+ import { MAIN_BLUE } from "../../../styles/colors";
54
56
  //@ts-ignore
55
57
  import { Scanner, centerText } from '@yudiel/react-qr-scanner';
56
58
  import { ConnManager } from "@robotical/roboticaljs";
@@ -110,7 +112,7 @@ export default function LEDLightsOrQRVerificationModal() {
110
112
  return [2 /*return*/];
111
113
  });
112
114
  }); };
113
- return (_jsxs("div", __assign({ className: styles.container }, { children: [!isButtonToConnectVisible ? _jsx("div", __assign({ className: styles.cards }, { children: options.map(function (_a) {
115
+ return (_jsxs("div", __assign({ className: styles.container }, { children: [_jsxs("div", __assign({ className: styles.bluetoothNotice }, { children: [_jsx(BluetoothSVG, { className: styles.bluetoothIcon, fill: MAIN_BLUE, "aria-hidden": "true", focusable: "false" }), _jsx("span", __assign({ className: styles.bluetoothText }, { children: t("configuration_screen.bluetooth") }))] })), !isButtonToConnectVisible ? _jsx("div", __assign({ className: styles.cards }, { children: options.map(function (_a) {
114
116
  var id = _a.id, title = _a.title, subtitle = _a.subtitle, icon = _a.icon;
115
117
  return (_jsxs("div", __assign({ className: qrSelected && id === 'qr' ? [styles.card, styles.qrselected].join(" ") : styles.card, onClick: function () { return handleSelect(id); } }, { children: [_jsx("div", __assign({ className: styles.icon }, { children: icon })), _jsx("h3", __assign({ className: styles.title }, { children: title })), _jsx("p", __assign({ className: styles.subtitle }, { children: subtitle }))] }), id));
116
118
  }) })) :
@@ -291,7 +291,7 @@ var resources = {
291
291
  "activities": "Activities",
292
292
  "games": "Games",
293
293
  "home": "Home",
294
- "not_connected_robot_msg_for_configuration_page": "Oops! It looks like you’re not connected to a robot. Connect to a robot to access the configuration page"
294
+ "not_connected_robot_msg_for_configuration_page": "Oops! It looks like you’re not connected to a robot. Connect to a robot via bluetooth to access the configuration page"
295
295
  },
296
296
  "report_issue": {
297
297
  "app_issue_desc": "Report an application issue.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/webapp-types",
3
- "version": "3.14.46",
3
+ "version": "3.14.47",
4
4
  "description": "Type definitions for the Application Manager",
5
5
  "main": "dist/application-manager.d.ts",
6
6
  "types": "dist/application-manager.d.ts",