dmed-voice-assistant 1.2.0 → 1.2.1

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/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)(_jsxRuntime.Fragment, {
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
- body {
38
- margin: 0;
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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dmed-voice-assistant",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist"