labsense-ui-kit 1.3.7 → 1.3.9
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/Icons/SVGs/Zoom.d.ts +4 -0
- package/dist/Icons/SVGs/index.d.ts +1 -0
- package/dist/index.js +31 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +31 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5384,6 +5384,32 @@ var Zapper = function Zapper(_ref) {
|
|
|
5384
5384
|
}));
|
|
5385
5385
|
};
|
|
5386
5386
|
|
|
5387
|
+
var Zoom = function Zoom(_ref) {
|
|
5388
|
+
var size = _ref.size,
|
|
5389
|
+
color = _ref.color,
|
|
5390
|
+
weight = _ref.weight;
|
|
5391
|
+
return React__default.createElement("svg", {
|
|
5392
|
+
width: size,
|
|
5393
|
+
height: size,
|
|
5394
|
+
strokeWidth: weight,
|
|
5395
|
+
viewBox: '0 0 758 767',
|
|
5396
|
+
fill: 'none',
|
|
5397
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
5398
|
+
}, React__default.createElement("path", {
|
|
5399
|
+
d: 'M508 453.782C508 453.782 780 637.782 756 741.782C668 861.782 436 509.782 436 509.782',
|
|
5400
|
+
fill: color
|
|
5401
|
+
}), React__default.createElement("path", {
|
|
5402
|
+
d: 'M548 333.782C537.235 394.919 505.269 450.307 457.72 490.216C410.17 530.124 350.078 552 288 552C225.922 552 165.83 530.124 118.28 490.216C70.7307 450.307 38.7653 394.919 28 333.782C21.3156 295.821 23.0249 256.857 33.0076 219.627C42.9904 182.397 61.0045 147.805 85.7842 118.28C110.564 88.756 141.508 65.016 176.443 48.7282C211.377 32.4404 249.455 24 288 24C326.545 24 364.623 32.4404 399.557 48.7282C434.492 65.016 465.436 88.756 490.216 118.28C514.996 147.805 533.01 182.397 542.992 219.627C552.975 256.857 554.684 295.821 548 333.782Z',
|
|
5403
|
+
fill: '#EEEEEE',
|
|
5404
|
+
stroke: color,
|
|
5405
|
+
"stroke-width": '48'
|
|
5406
|
+
}), React__default.createElement("path", {
|
|
5407
|
+
d: 'M180 261.782V181.782H260M300 181.782H380V261.782M380 301.782V381.782H300M260 381.782H180V301.782',
|
|
5408
|
+
stroke: color,
|
|
5409
|
+
"stroke-width": '48'
|
|
5410
|
+
}));
|
|
5411
|
+
};
|
|
5412
|
+
|
|
5387
5413
|
var useClickOutside = function useClickOutside(elRef, elCallback) {
|
|
5388
5414
|
var callbackRef = React.useRef(elCallback);
|
|
5389
5415
|
callbackRef.current = elCallback;
|
|
@@ -5986,7 +6012,8 @@ var IconSVGs = {
|
|
|
5986
6012
|
Workflow: Workflow,
|
|
5987
6013
|
X: X,
|
|
5988
6014
|
Youtube: Youtube,
|
|
5989
|
-
Zapper: Zapper
|
|
6015
|
+
Zapper: Zapper,
|
|
6016
|
+
Zoom: Zoom
|
|
5990
6017
|
};
|
|
5991
6018
|
var Icon = function Icon(_ref2) {
|
|
5992
6019
|
var icon = _ref2.icon,
|
|
@@ -6123,7 +6150,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6123
6150
|
"$position": 'relative',
|
|
6124
6151
|
onMouseEnter: tooltipText ? handleMouseEnter : undefined,
|
|
6125
6152
|
onMouseLeave: tooltipText ? handleMouseLeave : undefined
|
|
6126
|
-
}, (icon || image || tooltipText) && React__default.createElement(TooltipWrapper, null, image ? React__default.createElement("img", {
|
|
6153
|
+
}, (icon || image || tooltipText) && (icon || image) && React__default.createElement(TooltipWrapper, null, image ? React__default.createElement("img", {
|
|
6127
6154
|
src: image.src,
|
|
6128
6155
|
alt: image.img_alt,
|
|
6129
6156
|
width: image.width,
|
|
@@ -6135,7 +6162,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6135
6162
|
weight: icon.weight,
|
|
6136
6163
|
color: icon.color || themeColors.vms.text.medium,
|
|
6137
6164
|
cursor: tooltipText ? 'pointer' : 'default'
|
|
6138
|
-
}), tooltipText && React__default.createElement(TooltipText, {
|
|
6165
|
+
})), tooltipText && React__default.createElement(TooltipText, {
|
|
6139
6166
|
"$bgColor": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.background,
|
|
6140
6167
|
"$visible": showTooltip,
|
|
6141
6168
|
"$color": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.color,
|
|
@@ -6143,7 +6170,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6143
6170
|
"$fontSize": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.fontSize,
|
|
6144
6171
|
"$fontWeight": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.fontWeight,
|
|
6145
6172
|
style: tooltipStyle
|
|
6146
|
-
}, tooltipText)
|
|
6173
|
+
}, tooltipText), React__default.createElement(Span, {
|
|
6147
6174
|
"$fontSize": fontSize,
|
|
6148
6175
|
"$fontWeight": '500',
|
|
6149
6176
|
"$color": textColor,
|