labsense-ui-kit 1.1.60 → 1.1.62

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.
@@ -3357,7 +3357,7 @@ var Icon = function Icon(_ref2) {
3357
3357
  };
3358
3358
 
3359
3359
  var _templateObject$1, _templateObject2$1;
3360
- var Container = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n box-shadow: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
3360
+ var Container = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n border-bottom-right-radius: ", ";\n border-bottom-left-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n box-shadow: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
3361
3361
  var $flex = _ref.$flex;
3362
3362
  return $flex;
3363
3363
  }, function (_ref2) {
@@ -3418,104 +3418,110 @@ var Container = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemp
3418
3418
  var $borderTopRightRadius = _ref20.$borderTopRightRadius;
3419
3419
  return $borderTopRightRadius;
3420
3420
  }, function (_ref21) {
3421
- var $cursor = _ref21.$cursor;
3422
- return $cursor;
3421
+ var $borderBottomRightRadius = _ref21.$borderBottomRightRadius;
3422
+ return $borderBottomRightRadius;
3423
3423
  }, function (_ref22) {
3424
- var $fontSize = _ref22.$fontSize;
3425
- return $fontSize;
3424
+ var $borderBottomLeftRadius = _ref22.$borderBottomLeftRadius;
3425
+ return $borderBottomLeftRadius;
3426
3426
  }, function (_ref23) {
3427
- var $opacity = _ref23.$opacity;
3428
- return $opacity;
3427
+ var $cursor = _ref23.$cursor;
3428
+ return $cursor;
3429
3429
  }, function (_ref24) {
3430
- var $pointerEvents = _ref24.$pointerEvents;
3431
- return $pointerEvents;
3430
+ var $fontSize = _ref24.$fontSize;
3431
+ return $fontSize;
3432
3432
  }, function (_ref25) {
3433
- var $position = _ref25.$position;
3434
- return $position;
3433
+ var $opacity = _ref25.$opacity;
3434
+ return $opacity;
3435
3435
  }, function (_ref26) {
3436
- var $top = _ref26.$top;
3437
- return $top;
3436
+ var $pointerEvents = _ref26.$pointerEvents;
3437
+ return $pointerEvents;
3438
3438
  }, function (_ref27) {
3439
- var $bottom = _ref27.$bottom;
3440
- return $bottom;
3439
+ var $position = _ref27.$position;
3440
+ return $position;
3441
3441
  }, function (_ref28) {
3442
- var $left = _ref28.$left;
3443
- return $left;
3442
+ var $top = _ref28.$top;
3443
+ return $top;
3444
3444
  }, function (_ref29) {
3445
- var $right = _ref29.$right;
3446
- return $right;
3445
+ var $bottom = _ref29.$bottom;
3446
+ return $bottom;
3447
3447
  }, function (_ref30) {
3448
- var $textAlign = _ref30.$textAlign;
3449
- return $textAlign;
3448
+ var $left = _ref30.$left;
3449
+ return $left;
3450
3450
  }, function (_ref31) {
3451
- var $color = _ref31.$color;
3452
- return $color;
3451
+ var $right = _ref31.$right;
3452
+ return $right;
3453
3453
  }, function (_ref32) {
3454
- var $overflow = _ref32.$overflow;
3455
- return $overflow || 'visible';
3454
+ var $textAlign = _ref32.$textAlign;
3455
+ return $textAlign;
3456
3456
  }, function (_ref33) {
3457
- var $overflowY = _ref33.$overflowY;
3458
- return $overflowY;
3457
+ var $color = _ref33.$color;
3458
+ return $color;
3459
3459
  }, function (_ref34) {
3460
- var $zIndex = _ref34.$zIndex;
3461
- return $zIndex;
3460
+ var $overflow = _ref34.$overflow;
3461
+ return $overflow || 'visible';
3462
3462
  }, function (_ref35) {
3463
- var $scrollbarWidth = _ref35.$scrollbarWidth;
3464
- return $scrollbarWidth;
3463
+ var $overflowY = _ref35.$overflowY;
3464
+ return $overflowY;
3465
3465
  }, function (_ref36) {
3466
- var $border = _ref36.$border;
3467
- return $border;
3466
+ var $zIndex = _ref36.$zIndex;
3467
+ return $zIndex;
3468
3468
  }, function (_ref37) {
3469
- var $borderTop = _ref37.$borderTop;
3470
- return $borderTop;
3469
+ var $scrollbarWidth = _ref37.$scrollbarWidth;
3470
+ return $scrollbarWidth;
3471
3471
  }, function (_ref38) {
3472
- var $borderBottom = _ref38.$borderBottom;
3473
- return $borderBottom;
3472
+ var $border = _ref38.$border;
3473
+ return $border;
3474
3474
  }, function (_ref39) {
3475
- var $borderLeft = _ref39.$borderLeft;
3476
- return $borderLeft;
3475
+ var $borderTop = _ref39.$borderTop;
3476
+ return $borderTop;
3477
3477
  }, function (_ref40) {
3478
- var $transition = _ref40.$transition;
3479
- return $transition;
3478
+ var $borderBottom = _ref40.$borderBottom;
3479
+ return $borderBottom;
3480
3480
  }, function (_ref41) {
3481
- var $boxShadow = _ref41.$boxShadow;
3482
- return $boxShadow;
3481
+ var $borderLeft = _ref41.$borderLeft;
3482
+ return $borderLeft;
3483
3483
  }, function (_ref42) {
3484
- var $hoverBackground = _ref42.$hoverBackground;
3485
- return $hoverBackground;
3484
+ var $transition = _ref42.$transition;
3485
+ return $transition;
3486
3486
  }, function (_ref43) {
3487
- var $hoverColor = _ref43.$hoverColor;
3487
+ var $boxShadow = _ref43.$boxShadow;
3488
+ return $boxShadow;
3489
+ }, function (_ref44) {
3490
+ var $hoverBackground = _ref44.$hoverBackground;
3491
+ return $hoverBackground;
3492
+ }, function (_ref45) {
3493
+ var $hoverColor = _ref45.$hoverColor;
3488
3494
  return $hoverColor;
3489
3495
  });
3490
- var Span = styled.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-style: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref44) {
3491
- var $fontFamily = _ref44.$fontFamily;
3496
+ var Span = styled.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-style: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref46) {
3497
+ var $fontFamily = _ref46.$fontFamily;
3492
3498
  return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
3493
- }, function (_ref45) {
3494
- var $fontWeight = _ref45.$fontWeight;
3499
+ }, function (_ref47) {
3500
+ var $fontWeight = _ref47.$fontWeight;
3495
3501
  return $fontWeight ? $fontWeight : '500';
3496
- }, function (_ref46) {
3497
- var $fontSize = _ref46.$fontSize;
3502
+ }, function (_ref48) {
3503
+ var $fontSize = _ref48.$fontSize;
3498
3504
  return $fontSize ? $fontSize : '16px';
3499
- }, function (_ref47) {
3500
- var $fontStyle = _ref47.$fontStyle;
3505
+ }, function (_ref49) {
3506
+ var $fontStyle = _ref49.$fontStyle;
3501
3507
  return $fontStyle ? $fontStyle : 'normal';
3502
- }, function (_ref48) {
3503
- var $color = _ref48.$color;
3508
+ }, function (_ref50) {
3509
+ var $color = _ref50.$color;
3504
3510
  return $color ? $color : colorVariables.text.medium;
3505
- }, function (_ref49) {
3506
- var $lineHeight = _ref49.$lineHeight;
3511
+ }, function (_ref51) {
3512
+ var $lineHeight = _ref51.$lineHeight;
3507
3513
  return $lineHeight ? $lineHeight : '100%';
3508
- }, function (_ref50) {
3509
- var $textAlign = _ref50.$textAlign;
3514
+ }, function (_ref52) {
3515
+ var $textAlign = _ref52.$textAlign;
3510
3516
  return $textAlign ? $textAlign : 'center';
3511
- }, function (_ref51) {
3512
- var $minWidth = _ref51.$minWidth;
3517
+ }, function (_ref53) {
3518
+ var $minWidth = _ref53.$minWidth;
3513
3519
  return $minWidth;
3514
- }, function (_ref52) {
3515
- var $width = _ref52.$width;
3520
+ }, function (_ref54) {
3521
+ var $width = _ref54.$width;
3516
3522
  return $width;
3517
- }, function (_ref53) {
3518
- var $overflowWrap = _ref53.$overflowWrap;
3523
+ }, function (_ref55) {
3524
+ var $overflowWrap = _ref55.$overflowWrap;
3519
3525
  return $overflowWrap;
3520
3526
  });
3521
3527
 
@@ -5350,7 +5356,8 @@ var SelectOption = function SelectOption(_ref32) {
5350
5356
  "$gap": '8px',
5351
5357
  "$overflow": 'visible'
5352
5358
  }, (title || titleRightNode) && React.createElement(Container, {
5353
- "$gap": titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.gap
5359
+ "$gap": titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.gap,
5360
+ "$alignItems": 'center'
5354
5361
  }, title && React.createElement(TitleText$1, {
5355
5362
  "$size": size,
5356
5363
  htmlFor: title,
@@ -6106,7 +6113,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
6106
6113
  };
6107
6114
 
6108
6115
  var _templateObject$i, _templateObject2$f;
6109
- var StyledInput$1 = styled.input(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: solid ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
6116
+ var StyledCheckBox = styled.input(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: solid ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
6110
6117
  var $checkboxSize = _ref.$checkboxSize;
6111
6118
  return $checkboxSize + "px";
6112
6119
  }, function (_ref2) {
@@ -6169,7 +6176,7 @@ var CheckBox = function CheckBox(_ref10) {
6169
6176
  height: checkboxSize,
6170
6177
  display: 'flex'
6171
6178
  }
6172
- }, React.createElement(StyledInput$1, {
6179
+ }, React.createElement(StyledCheckBox, {
6173
6180
  type: 'checkbox',
6174
6181
  id: safeId,
6175
6182
  "$checkboxSize": checkboxSize,
@@ -6744,13 +6751,16 @@ var TableRow = function TableRow(_ref) {
6744
6751
  }, tableheaderconfig.isAllSelectable && React.createElement(Container, {
6745
6752
  "$padding": '0px 16px 0px 0px',
6746
6753
  "$alignItems": 'center'
6747
- }, React.createElement("input", {
6748
- type: "checkbox",
6754
+ }, React.createElement(StyledCheckBox, {
6755
+ type: 'checkbox',
6756
+ "$checkboxSize": 13.5,
6749
6757
  checked: rowconfig[Index]._checked,
6750
- disabled: (_rowconfig$Index = rowconfig[Index]) === null || _rowconfig$Index === void 0 ? void 0 : _rowconfig$Index._selectable,
6751
- onClick: function onClick() {
6758
+ "$checked": rowconfig[Index]._checked,
6759
+ onChange: function onChange() {
6752
6760
  return toggleChecked(Index);
6753
- }
6761
+ },
6762
+ disabled: (_rowconfig$Index = rowconfig[Index]) === null || _rowconfig$Index === void 0 ? void 0 : _rowconfig$Index._selectable,
6763
+ "$borderSize": 2
6754
6764
  })), data.rowData.map(function (cellData, cellkey) {
6755
6765
  var _tableheaderconfig$he;
6756
6766
  return React.createElement(TableCell, {
@@ -6838,10 +6848,13 @@ var Table = function Table(_ref) {
6838
6848
  }, tableheaderconfig.isAllSelectable && React.createElement(Container, {
6839
6849
  "$padding": '0px 16px 0px 0px',
6840
6850
  "$alignItems": 'center'
6841
- }, React.createElement("input", {
6851
+ }, React.createElement(StyledCheckBox, {
6842
6852
  type: 'checkbox',
6853
+ "$checkboxSize": 13.5,
6843
6854
  checked: isAllSelected,
6844
- onChange: toggleSelectAll
6855
+ "$checked": isAllSelected,
6856
+ onChange: toggleSelectAll,
6857
+ "$borderSize": 2
6845
6858
  })), tableheaderconfig.headerdata.map(function (columndata, index, allCols) {
6846
6859
  var _columndata$maintext;
6847
6860
  var currentLegend = columndata.legend || '';