dmed-voice-assistant 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +3 -1
- package/dist/style.css +2 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -8,6 +8,7 @@ exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
9
9
|
var _recorder = _interopRequireDefault(require("./recorder"));
|
10
10
|
var _recognition = _interopRequireDefault(require("./recognition"));
|
11
|
+
var _material = require("@mui/material");
|
11
12
|
var _LocalizationProvider = require("@mui/x-date-pickers/LocalizationProvider");
|
12
13
|
var _AdapterDayjs = require("@mui/x-date-pickers/AdapterDayjs");
|
13
14
|
require("./style.css");
|
@@ -24,7 +25,8 @@ const VoiceAssistant = _ref => {
|
|
24
25
|
onRecognitionDataChange
|
25
26
|
} = _ref;
|
26
27
|
const [mode, setMode] = (0, _react.useState)("recorder");
|
27
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
28
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Box, {
|
29
|
+
className: "dmed-voice-assistant-class",
|
28
30
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_LocalizationProvider.LocalizationProvider, {
|
29
31
|
dateAdapter: _AdapterDayjs.AdapterDayjs,
|
30
32
|
children: [mode === 'recorder' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_recorder.default, {
|
package/dist/style.css
CHANGED
@@ -34,23 +34,11 @@
|
|
34
34
|
font-style: normal;
|
35
35
|
}
|
36
36
|
|
37
|
-
|
38
|
-
|
39
|
-
font-family: 'Reddit Sans';
|
40
|
-
-webkit-font-smoothing: antialiased;
|
41
|
-
-moz-osx-font-smoothing: grayscale;
|
42
|
-
}
|
43
|
-
|
44
|
-
body p,
|
45
|
-
body span {
|
37
|
+
.dmed-voice-assistant-class p,
|
38
|
+
.dmed-voice-assistant-class span {
|
46
39
|
font-family: 'Reddit Sans' !important;
|
47
40
|
}
|
48
41
|
|
49
|
-
code {
|
50
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
51
|
-
monospace;
|
52
|
-
}
|
53
|
-
|
54
42
|
.scrollableBox {
|
55
43
|
overflow-y: auto; /* Enables vertical scroll */
|
56
44
|
scrollbar-width: thin; /* For Firefox */
|