@vention/machine-ui 3.32.0 → 3.33.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/index.esm.js +27 -12
- package/mouse-left.esm.js +50 -0
- package/mouse-right.esm.js +42 -0
- package/mouse-scroll.esm.js +48 -0
- package/package.json +4 -4
- package/src/lib/components/vention-icon/_generated/duotone-icons/mouse-left.d.ts +3 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/mouse-right.d.ts +3 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/mouse-scroll.d.ts +3 -0
- package/src/lib/components/vention-icon/_generated/icon-types.d.ts +3 -0
package/index.esm.js
CHANGED
|
@@ -927,7 +927,6 @@ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'somethin
|
|
|
927
927
|
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$a || (DESCRIPTORS$a && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
928
928
|
|
|
929
929
|
var functionName = {
|
|
930
|
-
EXISTS: EXISTS,
|
|
931
930
|
PROPER: PROPER,
|
|
932
931
|
CONFIGURABLE: CONFIGURABLE
|
|
933
932
|
};
|
|
@@ -3708,9 +3707,7 @@ if (!set || !clear) {
|
|
|
3708
3707
|
}
|
|
3709
3708
|
|
|
3710
3709
|
var task$1 = {
|
|
3711
|
-
set: set
|
|
3712
|
-
clear: clear
|
|
3713
|
-
};
|
|
3710
|
+
set: set};
|
|
3714
3711
|
|
|
3715
3712
|
var globalThis$8 = globalThis_1;
|
|
3716
3713
|
var DESCRIPTORS$5 = descriptors;
|
|
@@ -4968,6 +4965,9 @@ const duotoneIconImports = {
|
|
|
4968
4965
|
["duotone-robot-arm"]: /*#__PURE__*/lazy(() => import('./duotone-robot-arm.esm.js')),
|
|
4969
4966
|
["duotone-rotary"]: /*#__PURE__*/lazy(() => import('./duotone-rotary.esm.js')),
|
|
4970
4967
|
["duotone-state-machine"]: /*#__PURE__*/lazy(() => import('./duotone-state-machine.esm.js')),
|
|
4968
|
+
["mouse-left"]: /*#__PURE__*/lazy(() => import('./mouse-left.esm.js')),
|
|
4969
|
+
["mouse-right"]: /*#__PURE__*/lazy(() => import('./mouse-right.esm.js')),
|
|
4970
|
+
["mouse-scroll"]: /*#__PURE__*/lazy(() => import('./mouse-scroll.esm.js')),
|
|
4971
4971
|
["position-rx"]: /*#__PURE__*/lazy(() => import('./position-rx.esm.js')),
|
|
4972
4972
|
["position-ry"]: /*#__PURE__*/lazy(() => import('./position-ry.esm.js')),
|
|
4973
4973
|
["position-rz"]: /*#__PURE__*/lazy(() => import('./position-rz.esm.js')),
|
|
@@ -7083,7 +7083,11 @@ const defaultProps$4 = {
|
|
|
7083
7083
|
const VentionRadio = inputProps => {
|
|
7084
7084
|
const props = applyDefaultProps(inputProps, defaultProps$4);
|
|
7085
7085
|
//removing props that would be unknown to Radio Component
|
|
7086
|
-
const
|
|
7086
|
+
const {
|
|
7087
|
+
radioSize,
|
|
7088
|
+
hideWhenUnchecked
|
|
7089
|
+
} = props,
|
|
7090
|
+
radioProps = __rest(props, ["radioSize", "hideWhenUnchecked"]);
|
|
7087
7091
|
return jsx(Radio, Object.assign({}, radioProps, {
|
|
7088
7092
|
disableRipple: true,
|
|
7089
7093
|
checkedIcon: jsx(VentionRadioIcon, Object.assign({}, props, {
|
|
@@ -7358,7 +7362,14 @@ const VentionRadioTile = radioTileProps => {
|
|
|
7358
7362
|
tileWidth: props.tileWidth
|
|
7359
7363
|
});
|
|
7360
7364
|
//removing props that would be unknown to label Component
|
|
7361
|
-
const
|
|
7365
|
+
const {
|
|
7366
|
+
labelText,
|
|
7367
|
+
radioSize,
|
|
7368
|
+
tileHeight,
|
|
7369
|
+
tileWidth,
|
|
7370
|
+
radioLocation
|
|
7371
|
+
} = props,
|
|
7372
|
+
formControlLabelProps = __rest(props, ["labelText", "radioSize", "tileHeight", "tileWidth", "radioLocation"]);
|
|
7362
7373
|
return jsx(FormControlLabel, Object.assign({}, formControlLabelProps, {
|
|
7363
7374
|
className: props.className,
|
|
7364
7375
|
classes: classes,
|
|
@@ -10366,11 +10377,7 @@ var createMethod = function (IS_RIGHT) {
|
|
|
10366
10377
|
var arrayReduce = {
|
|
10367
10378
|
// `Array.prototype.reduce` method
|
|
10368
10379
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
10369
|
-
left: createMethod(false)
|
|
10370
|
-
// `Array.prototype.reduceRight` method
|
|
10371
|
-
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
10372
|
-
right: createMethod(true)
|
|
10373
|
-
};
|
|
10380
|
+
left: createMethod(false)};
|
|
10374
10381
|
|
|
10375
10382
|
var fails$1 = fails$l;
|
|
10376
10383
|
|
|
@@ -11180,7 +11187,15 @@ const VentionCheckbox = checkboxProps => {
|
|
|
11180
11187
|
checkboxPosition: props.checkboxPosition
|
|
11181
11188
|
});
|
|
11182
11189
|
// removing props that would be unknown to FormControlLabel Component
|
|
11183
|
-
|
|
11190
|
+
const {
|
|
11191
|
+
labelText,
|
|
11192
|
+
helperText,
|
|
11193
|
+
checkboxSize,
|
|
11194
|
+
checkboxPosition,
|
|
11195
|
+
variant,
|
|
11196
|
+
textAlign
|
|
11197
|
+
} = props;
|
|
11198
|
+
__rest(props, ["labelText", "helperText", "checkboxSize", "checkboxPosition", "variant", "textAlign"]);
|
|
11184
11199
|
const sizeStyle = getSizeStyles(props.checkboxSize);
|
|
11185
11200
|
const renderLabel = () => {
|
|
11186
11201
|
if (!props.labelText && !props.helperText) {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import './index.esm.js';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import '@mui/material';
|
|
4
|
+
import '@tabler/icons-react';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'tss-react/mui';
|
|
7
|
+
import '@mui/material/Box';
|
|
8
|
+
import '@mui/material/CircularProgress';
|
|
9
|
+
import '@mui/material/styles';
|
|
10
|
+
import 'react-draggable';
|
|
11
|
+
import '@mui/material/Slider';
|
|
12
|
+
import '@mui/material/Typography';
|
|
13
|
+
import 'tss-react';
|
|
14
|
+
|
|
15
|
+
const SvgMouseLeft = props => jsxs("svg", Object.assign({
|
|
16
|
+
width: 13,
|
|
17
|
+
height: 19,
|
|
18
|
+
viewBox: "0 0 13 19",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, props, {
|
|
22
|
+
children: [jsxs("g", {
|
|
23
|
+
style: {
|
|
24
|
+
mixBlendMode: "multiply"
|
|
25
|
+
},
|
|
26
|
+
children: [jsx("path", {
|
|
27
|
+
d: "M0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5C9.81371 0.5 12.5 3.18629 12.5 6.5V12.5C12.5 15.8137 9.81371 18.5 6.5 18.5C3.18629 18.5 0.5 15.8137 0.5 12.5V6.5Z",
|
|
28
|
+
fill: "white"
|
|
29
|
+
}), jsx("path", {
|
|
30
|
+
d: "M0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5C9.81371 0.5 12.5 3.18629 12.5 6.5V12.5C12.5 15.8137 9.81371 18.5 6.5 18.5C3.18629 18.5 0.5 15.8137 0.5 12.5V6.5Z",
|
|
31
|
+
stroke: "#64748B"
|
|
32
|
+
})]
|
|
33
|
+
}), jsx("path", {
|
|
34
|
+
d: "M0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5V4.5C5.94772 4.5 5.5 4.94772 5.5 5.5V7.5H0.5V6.5Z",
|
|
35
|
+
fill: "#3B82F6",
|
|
36
|
+
stroke: "#64748B"
|
|
37
|
+
}), jsx("path", {
|
|
38
|
+
d: "M12.5 6.5C12.5 3.18629 9.81371 0.5 6.5 0.5V4.5C7.05228 4.5 7.5 4.94772 7.5 5.5V7.5H12.5V6.5Z",
|
|
39
|
+
stroke: "#64748B"
|
|
40
|
+
}), jsx("rect", {
|
|
41
|
+
x: 5.5,
|
|
42
|
+
y: 4.5,
|
|
43
|
+
width: 2,
|
|
44
|
+
height: 6,
|
|
45
|
+
rx: 1,
|
|
46
|
+
stroke: "#64748B"
|
|
47
|
+
})]
|
|
48
|
+
}));
|
|
49
|
+
|
|
50
|
+
export { SvgMouseLeft as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import './index.esm.js';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import '@mui/material';
|
|
4
|
+
import '@tabler/icons-react';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'tss-react/mui';
|
|
7
|
+
import '@mui/material/Box';
|
|
8
|
+
import '@mui/material/CircularProgress';
|
|
9
|
+
import '@mui/material/styles';
|
|
10
|
+
import 'react-draggable';
|
|
11
|
+
import '@mui/material/Slider';
|
|
12
|
+
import '@mui/material/Typography';
|
|
13
|
+
import 'tss-react';
|
|
14
|
+
|
|
15
|
+
const SvgMouseRight = props => jsxs("svg", Object.assign({
|
|
16
|
+
width: 13,
|
|
17
|
+
height: 19,
|
|
18
|
+
viewBox: "0 0 13 19",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, props, {
|
|
22
|
+
children: [jsx("path", {
|
|
23
|
+
d: "M12.5 6.5C12.5 3.18629 9.81371 0.5 6.5 0.5C3.18629 0.5 0.5 3.18629 0.5 6.5V12.5C0.5 15.8137 3.18629 18.5 6.5 18.5C9.81371 18.5 12.5 15.8137 12.5 12.5V6.5Z",
|
|
24
|
+
fill: "white",
|
|
25
|
+
stroke: "#64748B"
|
|
26
|
+
}), jsx("path", {
|
|
27
|
+
d: "M12.5 6.5C12.5 3.18629 9.81371 0.5 6.5 0.5V4.5C7.05228 4.5 7.5 4.94772 7.5 5.5V7.5H12.5V6.5Z",
|
|
28
|
+
fill: "#3B82F6",
|
|
29
|
+
stroke: "#64748B"
|
|
30
|
+
}), jsx("path", {
|
|
31
|
+
d: "M0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5V4.5C5.94772 4.5 5.5 4.94772 5.5 5.5V7.5H0.5V6.5Z",
|
|
32
|
+
stroke: "#64748B"
|
|
33
|
+
}), jsx("rect", {
|
|
34
|
+
width: 2,
|
|
35
|
+
height: 6,
|
|
36
|
+
rx: 1,
|
|
37
|
+
transform: "matrix(-1 0 0 1 7.5 4.5)",
|
|
38
|
+
stroke: "#64748B"
|
|
39
|
+
})]
|
|
40
|
+
}));
|
|
41
|
+
|
|
42
|
+
export { SvgMouseRight as default };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import './index.esm.js';
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import '@mui/material';
|
|
4
|
+
import '@tabler/icons-react';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'tss-react/mui';
|
|
7
|
+
import '@mui/material/Box';
|
|
8
|
+
import '@mui/material/CircularProgress';
|
|
9
|
+
import '@mui/material/styles';
|
|
10
|
+
import 'react-draggable';
|
|
11
|
+
import '@mui/material/Slider';
|
|
12
|
+
import '@mui/material/Typography';
|
|
13
|
+
import 'tss-react';
|
|
14
|
+
|
|
15
|
+
const SvgMouseScroll = props => jsx("svg", Object.assign({
|
|
16
|
+
width: 13,
|
|
17
|
+
height: 19,
|
|
18
|
+
viewBox: "0 0 13 19",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, props, {
|
|
22
|
+
children: jsxs("g", {
|
|
23
|
+
style: {
|
|
24
|
+
mixBlendMode: "multiply"
|
|
25
|
+
},
|
|
26
|
+
children: [jsx("path", {
|
|
27
|
+
d: "M0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5C9.81371 0.5 12.5 3.18629 12.5 6.5V12.5C12.5 15.8137 9.81371 18.5 6.5 18.5C3.18629 18.5 0.5 15.8137 0.5 12.5V6.5Z",
|
|
28
|
+
fill: "white",
|
|
29
|
+
stroke: "#64748B"
|
|
30
|
+
}), jsx("path", {
|
|
31
|
+
d: "M0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5V4.5C5.94772 4.5 5.5 4.94772 5.5 5.5V7.5H0.5V6.5Z",
|
|
32
|
+
stroke: "#64748B"
|
|
33
|
+
}), jsx("path", {
|
|
34
|
+
d: "M12.5 6.5C12.5 3.18629 9.81371 0.5 6.5 0.5V4.5C7.05228 4.5 7.5 4.94772 7.5 5.5V7.5H12.5V6.5Z",
|
|
35
|
+
stroke: "#64748B"
|
|
36
|
+
}), jsx("rect", {
|
|
37
|
+
x: 5.5,
|
|
38
|
+
y: 4.5,
|
|
39
|
+
width: 2,
|
|
40
|
+
height: 6,
|
|
41
|
+
rx: 1,
|
|
42
|
+
fill: "#3B82F6",
|
|
43
|
+
stroke: "#64748B"
|
|
44
|
+
})]
|
|
45
|
+
})
|
|
46
|
+
}));
|
|
47
|
+
|
|
48
|
+
export { SvgMouseScroll as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vention/machine-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.33.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/VentionCo/machine-cloud.git"
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@tabler/icons-react": "3.35.0",
|
|
11
|
-
"csstype": "3.
|
|
12
|
-
"react-draggable": "4.
|
|
13
|
-
"tss-react": "4.9.
|
|
11
|
+
"csstype": "3.2.3",
|
|
12
|
+
"react-draggable": "4.5.0",
|
|
13
|
+
"tss-react": "4.9.19"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@mui/material": "5.16.7",
|
|
@@ -443,6 +443,9 @@ export declare const duotoneIconImports: {
|
|
|
443
443
|
"duotone-robot-arm": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
444
444
|
"duotone-rotary": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
445
445
|
"duotone-state-machine": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
446
|
+
"mouse-left": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
447
|
+
"mouse-right": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
448
|
+
"mouse-scroll": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
446
449
|
"position-rx": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
447
450
|
"position-ry": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
448
451
|
"position-rz": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|