labsense-ui-kit 1.2.99 → 1.3.1

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/index.js CHANGED
@@ -5430,7 +5430,7 @@ var useCopyToClipboard = function useCopyToClipboard() {
5430
5430
 
5431
5431
  var _templateObject, _templateObject2;
5432
5432
  var ModalOverlay = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 9999;\n backdrop-filter: blur(4px);\n"])));
5433
- var ModalContainer = styled__default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-height: 100vh;\n max-width: ", ";\n overflow: visible;\n"])), function (_ref) {
5433
+ var ModalContainer = styled__default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-height: 90vh;\n max-width: ", ";\n overflow-y: auto;\n scrollbar-width: thin;\n"])), function (_ref) {
5434
5434
  var theme = _ref.theme;
5435
5435
  return theme.vms.accent.light_1;
5436
5436
  }, function (_ref2) {
@@ -6043,12 +6043,7 @@ var Badge = function Badge(_ref8) {
6043
6043
  padding = _ref8$padding === void 0 ? '6px 8px' : _ref8$padding,
6044
6044
  background = _ref8.background,
6045
6045
  textColor = _ref8.textColor,
6046
- _ref8$icon = _ref8.icon,
6047
- icon = _ref8$icon === void 0 ? {
6048
- icon: 'Information',
6049
- size: 10,
6050
- weight: '0.1px'
6051
- } : _ref8$icon,
6046
+ icon = _ref8.icon,
6052
6047
  image = _ref8.image,
6053
6048
  tooltipText = _ref8.tooltipText,
6054
6049
  tooltipCSS = _ref8.tooltipCSS;
@@ -6127,7 +6122,7 @@ var Badge = function Badge(_ref8) {
6127
6122
  width: image.width,
6128
6123
  height: image.height,
6129
6124
  draggable: false
6130
- }) : React__default.createElement(Icon, {
6125
+ }) : icon && React__default.createElement(Icon, {
6131
6126
  icon: icon.icon,
6132
6127
  size: icon.size,
6133
6128
  weight: icon.weight,