@homecode/ui 4.27.2 → 4.27.4
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/esm/src/components/Icon/icons/index.js +2 -0
- package/dist/esm/src/components/Icon/icons/mic.svg.js +1 -1
- package/dist/esm/src/components/Icon/icons/micMuted.svg.js +27 -0
- package/dist/esm/src/components/Icon/icons/stop.svg.js +22 -0
- package/dist/esm/src/components/Router/store.js +1 -1
- package/dist/esm/types/src/components/Icon/icons/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -57,6 +57,7 @@ var ICONS = {
|
|
|
57
57
|
map: () => import('./map.svg.js'),
|
|
58
58
|
menu: () => import('./menu.svg.js'),
|
|
59
59
|
mic: () => import('./mic.svg.js'),
|
|
60
|
+
micMuted: () => import('./micMuted.svg.js'),
|
|
60
61
|
minus: () => import('./minus.svg.js'),
|
|
61
62
|
moreVertical: () => import('./moreVertical.svg.js'),
|
|
62
63
|
moreHorizontal: () => import('./moreHorizontal.svg.js'),
|
|
@@ -82,6 +83,7 @@ var ICONS = {
|
|
|
82
83
|
soundWave: () => import('./soundWave.svg.js'),
|
|
83
84
|
sparks: () => import('./sparks.svg.js'),
|
|
84
85
|
star: () => import('./star.svg.js'),
|
|
86
|
+
stop: () => import('./stop.svg.js'),
|
|
85
87
|
stopInCircle: () => import('./stopInCircle.svg.js'),
|
|
86
88
|
syncArrows: () => import('./syncArrows.svg.js'),
|
|
87
89
|
table: () => import('./table.svg.js'),
|
|
@@ -8,7 +8,7 @@ var SvgMic = function SvgMic(props) {
|
|
|
8
8
|
fill: "currentColor",
|
|
9
9
|
viewBox: "0 0 48 48"
|
|
10
10
|
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
-
d: "M24.05
|
|
11
|
+
d: "M24.05 30.785q-2.511 0-4.203-1.805-1.695-1.805-1.693-4.383V7.944q0-2.432 1.718-4.135 1.719-1.703 4.174-1.703t4.178 1.703q1.722 1.703 1.722 4.135v16.653q0 2.58-1.693 4.383-1.694 1.806-4.203 1.805m-1.752 15.689v-7.94q-6.188-.642-10.39-5.195c-2.803-3.036-4.204-8.68-4.204-10.742s3.503-1.77 3.503 0 1.25 6.519 3.753 8.932q3.753 3.62 9.077 3.62 5.325 0 9.09-3.62c2.51-2.413 3.766-7.161 3.766-8.932 0-1.77 3.503-2.063 3.503 0s-1.401 7.706-4.204 10.742q-4.203 4.553-10.39 5.195v7.94z"
|
|
12
12
|
})));
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgMicMuted = function SvgMicMuted(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
viewBox: "0 0 48 48"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M24.034 30.91q-2.511 0-4.203-1.805t-1.693-4.383V8.069c0-1.621.589-3.125 1.734-4.26q1.719-1.703 4.174-1.703t4.178 1.703c1.148 1.135 1.706 2.639 1.706 4.26v16.653c0 .186.001.557-.08.765-.027.071-11.088-11.504-11.667-12.118-.075-.08-.04 2.104-.038 2.296.028 2.828 9.535 9.996 11.103 12.02.35.45-.598.98-1.01 1.42q-1.695 1.806-4.204 1.805m-1.736 15.564-.016-7.815q-6.187-.642-10.39-5.195c-2.803-3.036-4.188-8.805-4.188-10.867s3.487-1.645 3.487.125 1.25 6.519 3.753 8.932q3.753 3.62 9.077 3.62 5.325 0 9.09-3.62c.076-.073.146-.297.225-.226.052.047 2.286 2.438 2.403 2.489.047.02 1.132-1.06 1.095-1.117-.317-.49-2.388-2.5-2.27-2.65 2.002-2.546 2.313-5.845 2.313-7.428 0-1.77 3.503-2.063 3.503 0s-.709 7.048-3.512 10.084-6.957 5.425-11.082 5.853l.016 7.815z",
|
|
11
|
+
style: {
|
|
12
|
+
strokeWidth: 7.2
|
|
13
|
+
}
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "m7.535 6.98 33.241 34.645",
|
|
16
|
+
style: {
|
|
17
|
+
stroke: "currentColor",
|
|
18
|
+
strokeWidth: 3.7728,
|
|
19
|
+
strokeLinecap: "round",
|
|
20
|
+
strokeLinejoin: "round",
|
|
21
|
+
strokeDasharray: "none",
|
|
22
|
+
strokeOpacity: 1
|
|
23
|
+
}
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { SvgMicMuted as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgStop = function SvgStop(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M8.717 8.775h6.523v6.523H8.717z",
|
|
11
|
+
style: {
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
strokeWidth: 2.67195,
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round",
|
|
16
|
+
strokeMiterlimit: 0.6,
|
|
17
|
+
strokeDasharray: "none"
|
|
18
|
+
}
|
|
19
|
+
}));
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { SvgStop as default };
|
|
@@ -49,7 +49,7 @@ function onRouteChange(path = window.location.pathname) {
|
|
|
49
49
|
STORE.queryString = location.search;
|
|
50
50
|
STORE.query = parseQueryParams();
|
|
51
51
|
STORE.path = path.replace(/\?.+/, '') || '/';
|
|
52
|
-
LISTENERS.forEach(cb => cb(STORE.path));
|
|
52
|
+
LISTENERS.forEach(cb => cb(STORE.path, STORE.query));
|
|
53
53
|
}
|
|
54
54
|
function updateRouteState() {
|
|
55
55
|
if (STORE.path !== window.location.pathname ||
|
|
@@ -57,6 +57,7 @@ declare const _default: {
|
|
|
57
57
|
map: () => Promise<any>;
|
|
58
58
|
menu: () => Promise<any>;
|
|
59
59
|
mic: () => Promise<any>;
|
|
60
|
+
micMuted: () => Promise<any>;
|
|
60
61
|
minus: () => Promise<any>;
|
|
61
62
|
moreVertical: () => Promise<any>;
|
|
62
63
|
moreHorizontal: () => Promise<any>;
|
|
@@ -82,6 +83,7 @@ declare const _default: {
|
|
|
82
83
|
soundWave: () => Promise<any>;
|
|
83
84
|
sparks: () => Promise<any>;
|
|
84
85
|
star: () => Promise<any>;
|
|
86
|
+
stop: () => Promise<any>;
|
|
85
87
|
stopInCircle: () => Promise<any>;
|
|
86
88
|
syncArrows: () => Promise<any>;
|
|
87
89
|
table: () => Promise<any>;
|