@vention/machine-ui 3.33.0 → 3.33.2
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 +24 -12
- package/package.json +4 -4
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;
|
|
@@ -7086,7 +7083,11 @@ const defaultProps$4 = {
|
|
|
7086
7083
|
const VentionRadio = inputProps => {
|
|
7087
7084
|
const props = applyDefaultProps(inputProps, defaultProps$4);
|
|
7088
7085
|
//removing props that would be unknown to Radio Component
|
|
7089
|
-
const
|
|
7086
|
+
const {
|
|
7087
|
+
radioSize,
|
|
7088
|
+
hideWhenUnchecked
|
|
7089
|
+
} = props,
|
|
7090
|
+
radioProps = __rest(props, ["radioSize", "hideWhenUnchecked"]);
|
|
7090
7091
|
return jsx(Radio, Object.assign({}, radioProps, {
|
|
7091
7092
|
disableRipple: true,
|
|
7092
7093
|
checkedIcon: jsx(VentionRadioIcon, Object.assign({}, props, {
|
|
@@ -7361,7 +7362,14 @@ const VentionRadioTile = radioTileProps => {
|
|
|
7361
7362
|
tileWidth: props.tileWidth
|
|
7362
7363
|
});
|
|
7363
7364
|
//removing props that would be unknown to label Component
|
|
7364
|
-
const
|
|
7365
|
+
const {
|
|
7366
|
+
labelText,
|
|
7367
|
+
radioSize,
|
|
7368
|
+
tileHeight,
|
|
7369
|
+
tileWidth,
|
|
7370
|
+
radioLocation
|
|
7371
|
+
} = props,
|
|
7372
|
+
formControlLabelProps = __rest(props, ["labelText", "radioSize", "tileHeight", "tileWidth", "radioLocation"]);
|
|
7365
7373
|
return jsx(FormControlLabel, Object.assign({}, formControlLabelProps, {
|
|
7366
7374
|
className: props.className,
|
|
7367
7375
|
classes: classes,
|
|
@@ -10369,11 +10377,7 @@ var createMethod = function (IS_RIGHT) {
|
|
|
10369
10377
|
var arrayReduce = {
|
|
10370
10378
|
// `Array.prototype.reduce` method
|
|
10371
10379
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
10372
|
-
left: createMethod(false)
|
|
10373
|
-
// `Array.prototype.reduceRight` method
|
|
10374
|
-
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
10375
|
-
right: createMethod(true)
|
|
10376
|
-
};
|
|
10380
|
+
left: createMethod(false)};
|
|
10377
10381
|
|
|
10378
10382
|
var fails$1 = fails$l;
|
|
10379
10383
|
|
|
@@ -11183,7 +11187,15 @@ const VentionCheckbox = checkboxProps => {
|
|
|
11183
11187
|
checkboxPosition: props.checkboxPosition
|
|
11184
11188
|
});
|
|
11185
11189
|
// removing props that would be unknown to FormControlLabel Component
|
|
11186
|
-
|
|
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"]);
|
|
11187
11199
|
const sizeStyle = getSizeStyles(props.checkboxSize);
|
|
11188
11200
|
const renderLabel = () => {
|
|
11189
11201
|
if (!props.labelText && !props.helperText) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vention/machine-ui",
|
|
3
|
-
"version": "3.33.
|
|
3
|
+
"version": "3.33.2",
|
|
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",
|