@luminati-io/uikit 3.1.0 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +29 -29
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +29 -29
- package/dist/esm/index.js.map +1 -1
- package/dist/umd/uikit.development.js +46548 -83432
- package/dist/umd/uikit.development.js.map +1 -1
- package/dist/umd/uikit.production.min.js +40 -3
- package/dist/umd/uikit.production.min.js.map +1 -1
- package/package.json +4 -2
- package/dist/umd/uikit.production.min.js.LICENSE.txt +0 -23
package/dist/esm/index.js
CHANGED
@@ -19819,10 +19819,10 @@ var Icon = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
19819
19819
|
return /*#__PURE__*/React__default.createElement(StyledSvg$1, _extends$5({
|
19820
19820
|
ref: ref
|
19821
19821
|
}, getCommonProps(props), {
|
19822
|
-
size: size,
|
19822
|
+
$size: size,
|
19823
19823
|
viewBox: ic.viewBox,
|
19824
|
-
color: theme.color[color],
|
19825
|
-
verticalAlign: verticalAlign,
|
19824
|
+
$color: theme.color[color],
|
19825
|
+
$verticalAlign: verticalAlign,
|
19826
19826
|
"data-icon": name
|
19827
19827
|
}), /*#__PURE__*/React__default.createElement("use", {
|
19828
19828
|
href: "#".concat(ic.id)
|
@@ -19842,11 +19842,11 @@ var StyledSvg$1 = styled.svg.withConfig({
|
|
19842
19842
|
displayName: "StyledSvg",
|
19843
19843
|
componentId: "sc-uhf282-0"
|
19844
19844
|
})(["color:", ";", " vertical-align:", ";"], function (props) {
|
19845
|
-
return props
|
19845
|
+
return props.$color;
|
19846
19846
|
}, function (props) {
|
19847
|
-
return toIconSize(props
|
19847
|
+
return toIconSize(props.$size);
|
19848
19848
|
}, function (props) {
|
19849
|
-
return props
|
19849
|
+
return props.$verticalAlign;
|
19850
19850
|
});
|
19851
19851
|
|
19852
19852
|
// LICENSE_CODE ZON
|
@@ -32474,16 +32474,16 @@ var FieldWrapper = /*#__PURE__*/React__default.forwardRef(function (props, ref)
|
|
32474
32474
|
labelIcon: labelIcon,
|
32475
32475
|
required: required
|
32476
32476
|
}), /*#__PURE__*/React__default.createElement(InputContentWrapper, {
|
32477
|
-
heightCalculationCallback: heightCalculationCallback
|
32477
|
+
$heightCalculationCallback: heightCalculationCallback
|
32478
32478
|
}, leftOuterContent && /*#__PURE__*/React__default.createElement(LeftOuterContentWrapper, null, leftOuterContent), /*#__PURE__*/React__default.createElement(InputWrapper, {
|
32479
32479
|
ref: innerWrapper,
|
32480
|
-
active: active,
|
32481
|
-
disabled: disabled,
|
32482
|
-
invalid: invalid,
|
32483
|
-
leftOuterContent: leftOuterContent,
|
32484
|
-
rightOuterContent: rightOuterContent,
|
32485
|
-
heightCalculationCallback: heightCalculationCallback,
|
32486
|
-
verticalAlign: verticalAlign,
|
32480
|
+
$active: active,
|
32481
|
+
$disabled: disabled,
|
32482
|
+
$invalid: invalid,
|
32483
|
+
$leftOuterContent: leftOuterContent,
|
32484
|
+
$rightOuterContent: rightOuterContent,
|
32485
|
+
$heightCalculationCallback: heightCalculationCallback,
|
32486
|
+
$verticalAlign: verticalAlign,
|
32487
32487
|
onClick: onWrapperClick
|
32488
32488
|
}, leftInnerContent, /*#__PURE__*/React__default.createElement(Field, _extends$5({}, props.inputProps, {
|
32489
32489
|
ref: field,
|
@@ -32589,46 +32589,46 @@ var InputContentWrapper = styled(Flex).withConfig({
|
|
32589
32589
|
displayName: "InputContentWrapper",
|
32590
32590
|
componentId: "sc-r60v1b-5"
|
32591
32591
|
})(["", " border-radius:4px;"], function (props) {
|
32592
|
-
return props
|
32592
|
+
return props.$heightCalculationCallback();
|
32593
32593
|
});
|
32594
32594
|
var InputWrapper = styled.div.withConfig({
|
32595
32595
|
displayName: "InputWrapper",
|
32596
32596
|
componentId: "sc-r60v1b-6"
|
32597
32597
|
})(["width:100%;border:1px solid;border-radius:4px;box-sizing:border-box;font-family:", ";padding:", "px ", "px;overflow:auto;display:flex;gap:8px;align-items:", ";", " ", " ", ""], theme.font_family.sans, inputVerticalPadding, inputHorizontalPadding, function (props) {
|
32598
|
-
return props
|
32598
|
+
return props.$verticalAlign;
|
32599
32599
|
}, function (props) {
|
32600
|
-
var leftOuterContent = props
|
32601
|
-
rightOuterContent = props
|
32600
|
+
var $leftOuterContent = props.$leftOuterContent,
|
32601
|
+
$rightOuterContent = props.$rightOuterContent;
|
32602
32602
|
var borderTopLeftRadius = 4;
|
32603
32603
|
var borderBottomLeftRadius = 4;
|
32604
32604
|
var borderTopRightRadius = 4;
|
32605
32605
|
var borderBottomRightRadius = 4;
|
32606
32606
|
var borderLeftWidth = 1;
|
32607
32607
|
var borderRightWidth = 1;
|
32608
|
-
if (leftOuterContent) {
|
32608
|
+
if ($leftOuterContent) {
|
32609
32609
|
borderTopLeftRadius = borderBottomLeftRadius = 0;
|
32610
32610
|
borderLeftWidth = 0;
|
32611
32611
|
}
|
32612
|
-
if (rightOuterContent) {
|
32612
|
+
if ($rightOuterContent) {
|
32613
32613
|
borderTopRightRadius = borderBottomRightRadius = 0;
|
32614
32614
|
borderRightWidth = 0;
|
32615
32615
|
}
|
32616
32616
|
return css$3(["border-left-width:", ";border-right-width:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";"], toPixel(borderLeftWidth), toPixel(borderRightWidth), toPixel(borderTopLeftRadius), toPixel(borderBottomLeftRadius), toPixel(borderTopRightRadius), toPixel(borderBottomRightRadius));
|
32617
32617
|
}, function (props) {
|
32618
|
-
var _props
|
32619
|
-
return (_props
|
32618
|
+
var _props$$heightCalcula;
|
32619
|
+
return (_props$$heightCalcula = props.$heightCalculationCallback) === null || _props$$heightCalcula === void 0 ? void 0 : _props$$heightCalcula.call(props);
|
32620
32620
|
}, function (props) {
|
32621
32621
|
var borderColor = theme.color.gray_7;
|
32622
32622
|
var boxShadow = 'none';
|
32623
32623
|
var color = theme.color.gray_11_50;
|
32624
32624
|
var backgroundColor = theme.color.white;
|
32625
32625
|
var cursor = 'text';
|
32626
|
-
if (props
|
32626
|
+
if (props.$disabled) {
|
32627
32627
|
color = theme.color.gray_9;
|
32628
32628
|
borderColor = theme.color.gray_6;
|
32629
32629
|
backgroundColor = theme.color.gray_2;
|
32630
32630
|
cursor = 'default';
|
32631
|
-
} else if (props
|
32631
|
+
} else if (props.$invalid) borderColor = theme.color.red_11;else if (props.$active) {
|
32632
32632
|
borderColor = theme.color.blue_11;
|
32633
32633
|
boxShadow = "0px 0px 0px 2px rgba(0, 106, 220, 0.4)";
|
32634
32634
|
}
|
@@ -32636,7 +32636,7 @@ var InputWrapper = styled.div.withConfig({
|
|
32636
32636
|
});
|
32637
32637
|
InputWrapper.displayName = 'InputWrapper';
|
32638
32638
|
InputWrapper.defaultProps = {
|
32639
|
-
verticalAlign: 'normal'
|
32639
|
+
$verticalAlign: 'normal'
|
32640
32640
|
};
|
32641
32641
|
var HelperText = function HelperText(props) {
|
32642
32642
|
var children = props.children,
|
@@ -43111,7 +43111,7 @@ var HeaderFunctions = function HeaderFunctions(props) {
|
|
43111
43111
|
}, item));
|
43112
43112
|
}));
|
43113
43113
|
return /*#__PURE__*/React__default.createElement(MenuPopover, {
|
43114
|
-
visible: visible,
|
43114
|
+
$visible: visible,
|
43115
43115
|
popoverProps: {
|
43116
43116
|
menu: menu
|
43117
43117
|
}
|
@@ -43126,7 +43126,7 @@ var MenuButton = styled(IconButton).attrs(function (props) {
|
|
43126
43126
|
icon: 'DotsHorizontal',
|
43127
43127
|
onClick: props.popover.toggle,
|
43128
43128
|
style: {
|
43129
|
-
visibility: props
|
43129
|
+
visibility: props.$visible ? 'visible' : 'hidden'
|
43130
43130
|
}
|
43131
43131
|
};
|
43132
43132
|
}).withConfig({
|
@@ -43331,7 +43331,7 @@ var HeaderCell = function HeaderCell(props) {
|
|
43331
43331
|
return setHovered(false);
|
43332
43332
|
}
|
43333
43333
|
}), canResize && /*#__PURE__*/React__default.createElement(HeaderCellResizer, _extends$5({}, getResizerProps(), {
|
43334
|
-
isResizing: isResizing
|
43334
|
+
$isResizing: isResizing
|
43335
43335
|
}))));
|
43336
43336
|
};
|
43337
43337
|
HeaderCell.displayName = 'HeaderCell';
|
@@ -43355,7 +43355,7 @@ var HeaderCellResizer = styled.div.withConfig({
|
|
43355
43355
|
displayName: "HeaderCellResizer",
|
43356
43356
|
componentId: "sc-8zg5t0-3"
|
43357
43357
|
})(["display:inline-block;width:10px;height:100%;position:absolute;right:0;top:0;transform:translateX(50%);z-index:", ";touch-action:none;", ""], Z_INDEX.cellResizer, function (props) {
|
43358
|
-
if (props
|
43358
|
+
if (props.$isResizing) {
|
43359
43359
|
return css$3(["&:after{content:\" \";display:block;width:2px;height:24px;background:", ";position:absolute;bottom:0;left:4px;}"], theme.color.blue_10);
|
43360
43360
|
}
|
43361
43361
|
});
|