@luminati-io/uikit 3.1.0 → 3.1.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/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/cjs/index.js
CHANGED
@@ -19847,10 +19847,10 @@ var Icon = /*#__PURE__*/React__namespace.default.forwardRef(function (props, ref
|
|
19847
19847
|
return /*#__PURE__*/React__namespace.default.createElement(StyledSvg$1, _extends$5({
|
19848
19848
|
ref: ref
|
19849
19849
|
}, getCommonProps(props), {
|
19850
|
-
size: size,
|
19850
|
+
$size: size,
|
19851
19851
|
viewBox: ic.viewBox,
|
19852
|
-
color: theme.color[color],
|
19853
|
-
verticalAlign: verticalAlign,
|
19852
|
+
$color: theme.color[color],
|
19853
|
+
$verticalAlign: verticalAlign,
|
19854
19854
|
"data-icon": name
|
19855
19855
|
}), /*#__PURE__*/React__namespace.default.createElement("use", {
|
19856
19856
|
href: "#".concat(ic.id)
|
@@ -19870,11 +19870,11 @@ var StyledSvg$1 = styled__default.default.svg.withConfig({
|
|
19870
19870
|
displayName: "StyledSvg",
|
19871
19871
|
componentId: "sc-uhf282-0"
|
19872
19872
|
})(["color:", ";", " vertical-align:", ";"], function (props) {
|
19873
|
-
return props
|
19873
|
+
return props.$color;
|
19874
19874
|
}, function (props) {
|
19875
|
-
return toIconSize(props
|
19875
|
+
return toIconSize(props.$size);
|
19876
19876
|
}, function (props) {
|
19877
|
-
return props
|
19877
|
+
return props.$verticalAlign;
|
19878
19878
|
});
|
19879
19879
|
|
19880
19880
|
// LICENSE_CODE ZON
|
@@ -32502,16 +32502,16 @@ var FieldWrapper = /*#__PURE__*/React__namespace.default.forwardRef(function (pr
|
|
32502
32502
|
labelIcon: labelIcon,
|
32503
32503
|
required: required
|
32504
32504
|
}), /*#__PURE__*/React__namespace.default.createElement(InputContentWrapper, {
|
32505
|
-
heightCalculationCallback: heightCalculationCallback
|
32505
|
+
$heightCalculationCallback: heightCalculationCallback
|
32506
32506
|
}, leftOuterContent && /*#__PURE__*/React__namespace.default.createElement(LeftOuterContentWrapper, null, leftOuterContent), /*#__PURE__*/React__namespace.default.createElement(InputWrapper, {
|
32507
32507
|
ref: innerWrapper,
|
32508
|
-
active: active,
|
32509
|
-
disabled: disabled,
|
32510
|
-
invalid: invalid,
|
32511
|
-
leftOuterContent: leftOuterContent,
|
32512
|
-
rightOuterContent: rightOuterContent,
|
32513
|
-
heightCalculationCallback: heightCalculationCallback,
|
32514
|
-
verticalAlign: verticalAlign,
|
32508
|
+
$active: active,
|
32509
|
+
$disabled: disabled,
|
32510
|
+
$invalid: invalid,
|
32511
|
+
$leftOuterContent: leftOuterContent,
|
32512
|
+
$rightOuterContent: rightOuterContent,
|
32513
|
+
$heightCalculationCallback: heightCalculationCallback,
|
32514
|
+
$verticalAlign: verticalAlign,
|
32515
32515
|
onClick: onWrapperClick
|
32516
32516
|
}, leftInnerContent, /*#__PURE__*/React__namespace.default.createElement(Field, _extends$5({}, props.inputProps, {
|
32517
32517
|
ref: field,
|
@@ -32617,46 +32617,46 @@ var InputContentWrapper = styled__default.default(Flex).withConfig({
|
|
32617
32617
|
displayName: "InputContentWrapper",
|
32618
32618
|
componentId: "sc-r60v1b-5"
|
32619
32619
|
})(["", " border-radius:4px;"], function (props) {
|
32620
|
-
return props
|
32620
|
+
return props.$heightCalculationCallback();
|
32621
32621
|
});
|
32622
32622
|
var InputWrapper = styled__default.default.div.withConfig({
|
32623
32623
|
displayName: "InputWrapper",
|
32624
32624
|
componentId: "sc-r60v1b-6"
|
32625
32625
|
})(["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) {
|
32626
|
-
return props
|
32626
|
+
return props.$verticalAlign;
|
32627
32627
|
}, function (props) {
|
32628
|
-
var leftOuterContent = props
|
32629
|
-
rightOuterContent = props
|
32628
|
+
var $leftOuterContent = props.$leftOuterContent,
|
32629
|
+
$rightOuterContent = props.$rightOuterContent;
|
32630
32630
|
var borderTopLeftRadius = 4;
|
32631
32631
|
var borderBottomLeftRadius = 4;
|
32632
32632
|
var borderTopRightRadius = 4;
|
32633
32633
|
var borderBottomRightRadius = 4;
|
32634
32634
|
var borderLeftWidth = 1;
|
32635
32635
|
var borderRightWidth = 1;
|
32636
|
-
if (leftOuterContent) {
|
32636
|
+
if ($leftOuterContent) {
|
32637
32637
|
borderTopLeftRadius = borderBottomLeftRadius = 0;
|
32638
32638
|
borderLeftWidth = 0;
|
32639
32639
|
}
|
32640
|
-
if (rightOuterContent) {
|
32640
|
+
if ($rightOuterContent) {
|
32641
32641
|
borderTopRightRadius = borderBottomRightRadius = 0;
|
32642
32642
|
borderRightWidth = 0;
|
32643
32643
|
}
|
32644
32644
|
return styled.css(["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));
|
32645
32645
|
}, function (props) {
|
32646
|
-
var _props
|
32647
|
-
return (_props
|
32646
|
+
var _props$$heightCalcula;
|
32647
|
+
return (_props$$heightCalcula = props.$heightCalculationCallback) === null || _props$$heightCalcula === void 0 ? void 0 : _props$$heightCalcula.call(props);
|
32648
32648
|
}, function (props) {
|
32649
32649
|
var borderColor = theme.color.gray_7;
|
32650
32650
|
var boxShadow = 'none';
|
32651
32651
|
var color = theme.color.gray_11_50;
|
32652
32652
|
var backgroundColor = theme.color.white;
|
32653
32653
|
var cursor = 'text';
|
32654
|
-
if (props
|
32654
|
+
if (props.$disabled) {
|
32655
32655
|
color = theme.color.gray_9;
|
32656
32656
|
borderColor = theme.color.gray_6;
|
32657
32657
|
backgroundColor = theme.color.gray_2;
|
32658
32658
|
cursor = 'default';
|
32659
|
-
} else if (props
|
32659
|
+
} else if (props.$invalid) borderColor = theme.color.red_11;else if (props.$active) {
|
32660
32660
|
borderColor = theme.color.blue_11;
|
32661
32661
|
boxShadow = "0px 0px 0px 2px rgba(0, 106, 220, 0.4)";
|
32662
32662
|
}
|
@@ -32664,7 +32664,7 @@ var InputWrapper = styled__default.default.div.withConfig({
|
|
32664
32664
|
});
|
32665
32665
|
InputWrapper.displayName = 'InputWrapper';
|
32666
32666
|
InputWrapper.defaultProps = {
|
32667
|
-
verticalAlign: 'normal'
|
32667
|
+
$verticalAlign: 'normal'
|
32668
32668
|
};
|
32669
32669
|
var HelperText = function HelperText(props) {
|
32670
32670
|
var children = props.children,
|
@@ -43139,7 +43139,7 @@ var HeaderFunctions = function HeaderFunctions(props) {
|
|
43139
43139
|
}, item));
|
43140
43140
|
}));
|
43141
43141
|
return /*#__PURE__*/React__namespace.default.createElement(MenuPopover, {
|
43142
|
-
visible: visible,
|
43142
|
+
$visible: visible,
|
43143
43143
|
popoverProps: {
|
43144
43144
|
menu: menu
|
43145
43145
|
}
|
@@ -43154,7 +43154,7 @@ var MenuButton = styled__default.default(IconButton).attrs(function (props) {
|
|
43154
43154
|
icon: 'DotsHorizontal',
|
43155
43155
|
onClick: props.popover.toggle,
|
43156
43156
|
style: {
|
43157
|
-
visibility: props
|
43157
|
+
visibility: props.$visible ? 'visible' : 'hidden'
|
43158
43158
|
}
|
43159
43159
|
};
|
43160
43160
|
}).withConfig({
|
@@ -43359,7 +43359,7 @@ var HeaderCell = function HeaderCell(props) {
|
|
43359
43359
|
return setHovered(false);
|
43360
43360
|
}
|
43361
43361
|
}), canResize && /*#__PURE__*/React__namespace.default.createElement(HeaderCellResizer, _extends$5({}, getResizerProps(), {
|
43362
|
-
isResizing: isResizing
|
43362
|
+
$isResizing: isResizing
|
43363
43363
|
}))));
|
43364
43364
|
};
|
43365
43365
|
HeaderCell.displayName = 'HeaderCell';
|
@@ -43383,7 +43383,7 @@ var HeaderCellResizer = styled__default.default.div.withConfig({
|
|
43383
43383
|
displayName: "HeaderCellResizer",
|
43384
43384
|
componentId: "sc-8zg5t0-3"
|
43385
43385
|
})(["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) {
|
43386
|
-
if (props
|
43386
|
+
if (props.$isResizing) {
|
43387
43387
|
return styled.css(["&:after{content:\" \";display:block;width:2px;height:24px;background:", ";position:absolute;bottom:0;left:4px;}"], theme.color.blue_10);
|
43388
43388
|
}
|
43389
43389
|
});
|