@odigos/ui-kit 0.0.17 → 0.0.18

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.
@@ -1,14 +1,15 @@
1
1
  import React, { useState, useRef, forwardRef, useEffect, createElement, useCallback, useMemo, Fragment } from 'react';
2
+ import { StatusType, OtherStatus, SortDirection, ProgrammingLanguages, EntityTypes } from './types.js';
3
+ import './index-Bdimyacn.js';
2
4
  import styled, { css } from 'styled-components';
3
- import { S as StatusType, O as OtherStatus, c as SortDirection, a as ProgrammingLanguages, E as EntityTypes } from './index-BVVVevuY.js';
4
5
  import Theme from './theme.js';
5
- import { b as getStatusIcon, r as removeEmptyValuesFromObject, s as safeJsonStringify, f as flattenObjectKeys, m as mapConditions, c as capitalizeFirstLetter, g as getMonitorIcon, p as parseJsonStringToPrettyString, a as getProgrammingLanguageIcon, d as splitCamelString } from './index-BxQTUOME.js';
6
- import { M as MinusIcon, f as CheckIcon, L as ListIcon, C as CodeIcon, E as ExtendArrowIcon, c as SortArrowsIcon, a as CopyIcon, b as NotebookIcon, X as XIcon, d as EyeClosedIcon, e as EyeOpenIcon, N as NoDataIcon, g as CrossIcon, S as SearchIcon, T as TrashIcon, P as PlusIcon, A as ArrowIcon } from './index-BJxaoI0G.js';
6
+ import { b as getStatusIcon, r as removeEmptyValuesFromObject, s as safeJsonStringify, f as flattenObjectKeys, m as mapConditions, c as capitalizeFirstLetter, g as getMonitorIcon, p as parseJsonStringToPrettyString, a as getProgrammingLanguageIcon, d as splitCamelString } from './index-CVs2NNg9.js';
7
7
  import { s as safeJsonParse, i as isEmpty } from './index-BZS1ijMm.js';
8
- import { M as MONITORS_OPTIONS } from './index-C1PCuZgw.js';
9
- import { u as useContainerSize, a as useCopy, d as useTransition, b as useKeyDown, c as useOnClickOutside } from './useTransition-D0wUpPGk.js';
8
+ import { M as MinusIcon, f as CheckIcon, L as ListIcon, C as CodeIcon, E as ExtendArrowIcon, c as SortArrowsIcon, a as CopyIcon, b as NotebookIcon, X as XIcon, d as EyeClosedIcon, e as EyeOpenIcon, N as NoDataIcon, g as CrossIcon, S as SearchIcon, T as TrashIcon, P as PlusIcon, A as ArrowIcon } from './index-BJxaoI0G.js';
9
+ import { M as MONITORS_OPTIONS } from './index-jPxFCX-5.js';
10
+ import { u as useContainerSize, a as useCopy, g as useTransition, d as useKeyDown, e as useOnClickOutside } from './useTransition-WRhgkuG2.js';
10
11
  import ReactDOM from 'react-dom';
11
- import { I as ImageErrorIcon } from './index-BWqrekK4.js';
12
+ import { I as ImageErrorIcon } from './index-DGel4E-Z.js';
12
13
  import require$$0 from 'babel-runtime/helpers/extends';
13
14
  import require$$1$1 from 'babel-runtime/core-js/object/get-prototype-of';
14
15
  import require$$2 from 'babel-runtime/helpers/classCallCheck';
@@ -228,7 +229,7 @@ const Badge = ({ label, filled, status, withIcon, onClick }) => {
228
229
  label));
229
230
  };
230
231
 
231
- const Container$t = styled.div `
232
+ const Container$u = styled.div `
232
233
  height: fit-content;
233
234
  border: 2px solid transparent;
234
235
  padding: 2px;
@@ -328,7 +329,7 @@ const StyledButton$2 = styled.button `
328
329
  `;
329
330
  const Button$4 = ({ children, variant = 'primary', onClick, ...props }) => {
330
331
  const ref = useRef(null);
331
- return (React.createElement(Container$t, { "$variant": variant },
332
+ return (React.createElement(Container$u, { "$variant": variant },
332
333
  React.createElement(StyledButton$2, { ref: ref, "$variant": variant, onClick: (e) => {
333
334
  if (onClick)
334
335
  onClick(e);
@@ -465,7 +466,7 @@ const FieldError = ({ children }) => {
465
466
  React.createElement(ErrorMessage, null, children)));
466
467
  };
467
468
 
468
- const Container$s = styled.div `
469
+ const Container$t = styled.div `
469
470
  display: flex;
470
471
  align-items: center;
471
472
  gap: 8px;
@@ -502,7 +503,7 @@ const Checkbox = ({ title, titleColor, tooltip, value = false, partiallyChecked
502
503
  setIsChecked((prev) => (partiallyChecked ? true : !prev));
503
504
  };
504
505
  return (React.createElement(FlexColumn, null,
505
- React.createElement(Container$s, { "data-id": `checkbox${!!title ? `-${title}` : ''}`, "$disabled": disabled, onClick: handleToggle, style: style },
506
+ React.createElement(Container$t, { "data-id": `checkbox${!!title ? `-${title}` : ''}`, "$disabled": disabled, onClick: handleToggle, style: style },
506
507
  React.createElement(CheckboxWrapper, { "$isChecked": isChecked, "$isPartiallyChecked": partiallyChecked, "$disabled": disabled }, partiallyChecked ? React.createElement(MinusIcon, { fill: theme.text.white }) : isChecked ? React.createElement(CheckIcon, { fill: theme.text.white }) : null),
507
508
  title && (React.createElement(Tooltip, { text: tooltip, withIcon: true },
508
509
  React.createElement(Text, { size: 12, color: titleColor || theme.text.grey, style: { maxWidth: '90%' } }, title)))),
@@ -3634,7 +3635,7 @@ prismjs/prism.js:
3634
3635
  *)
3635
3636
  */
3636
3637
 
3637
- const Container$r = styled(FlexRow) `
3638
+ const Container$s = styled(FlexRow) `
3638
3639
  gap: 0;
3639
3640
  `;
3640
3641
  const Button$3 = styled.button `
@@ -3651,7 +3652,7 @@ const Button$3 = styled.button `
3651
3652
  }
3652
3653
  `;
3653
3654
  const ToggleCodeComponent = ({ isPrettyMode, setIsPrettyMode }) => {
3654
- return (React.createElement(Container$r, null,
3655
+ return (React.createElement(Container$s, null,
3655
3656
  React.createElement(Button$3, { "$position": 'left', "$selected": isPrettyMode, onClick: () => setIsPrettyMode(true) },
3656
3657
  React.createElement(ListIcon, null)),
3657
3658
  React.createElement(Button$3, { "$position": 'right', "$selected": !isPrettyMode, onClick: () => setIsPrettyMode(false) },
@@ -3952,18 +3953,18 @@ const FadeLoader = ({ loading = true, color: clr, scale = 1, speedMultiplier = 1
3952
3953
  } })));
3953
3954
  };
3954
3955
 
3955
- const Container$q = styled.div `
3956
+ const Container$r = styled.div `
3956
3957
  margin: ${({ $align }) => ($align === 'right' ? 'auto 6px auto auto' : $align === 'left' ? 'auto auto auto 6px' : 'auto')};
3957
3958
  display: flex;
3958
3959
  align-items: center;
3959
3960
  justify-content: center;
3960
3961
  `;
3961
3962
  const ExtendArrow = ({ extend, size = 14, align = 'center' }) => {
3962
- return (React.createElement(Container$q, { "$align": align },
3963
+ return (React.createElement(Container$r, { "$align": align },
3963
3964
  React.createElement(ExtendArrowIcon, { size: size, rotate: extend ? 180 : 0 })));
3964
3965
  };
3965
3966
 
3966
- const Container$p = styled.div `
3967
+ const Container$q = styled.div `
3967
3968
  border-radius: 24px;
3968
3969
  background-color: ${({ theme, $status }) => $status === StatusType.Error
3969
3970
  ? theme.text.error + Theme.opacity.hex['010']
@@ -3980,7 +3981,7 @@ const Container$p = styled.div `
3980
3981
  cursor: pointer;
3981
3982
  transition: background 0.3s;
3982
3983
  `;
3983
- const Header$1 = styled.div `
3984
+ const Header$2 = styled.div `
3984
3985
  display: flex;
3985
3986
  align-items: center;
3986
3987
  gap: 12px;
@@ -4023,8 +4024,8 @@ const ConditionDetails = ({ conditions: c, headerLabelError = 'Something Failed'
4023
4024
  const headerSubText = `(${hasErrors ? errors.length : hasWarnings ? warnings.length : conditions.length}/${conditions.length})`;
4024
4025
  const headerSubTextColor = hasErrors ? theme.text.error_secondary : hasWarnings ? theme.text.warning_secondary : theme.text.info_secondary;
4025
4026
  const toggleExtend = useCallback(() => setExtend((prev) => !prev), []);
4026
- return (React.createElement(Container$p, { onClick: toggleExtend, "$status": overallStatus },
4027
- React.createElement(Header$1, null,
4027
+ return (React.createElement(Container$q, { onClick: toggleExtend, "$status": overallStatus },
4028
+ React.createElement(Header$2, null,
4028
4029
  loading ? React.createElement(FadeLoader, null) : React.createElement(HeaderIcon, null),
4029
4030
  React.createElement(Text, { color: headerTextColor, size: 14 }, headerText),
4030
4031
  React.createElement(Text, { color: headerSubTextColor, size: 12, family: 'secondary' }, headerSubText),
@@ -4059,7 +4060,7 @@ const Divider = ({ orientation = 'horizontal', type, thickness = 1, length, marg
4059
4060
  return React.createElement(StyledDivider, { "$orientation": orientation, "$type": type, "$thickness": thickness, "$length": length, "$margin": margin });
4060
4061
  };
4061
4062
 
4062
- const Container$o = styled.div `
4063
+ const Container$p = styled.div `
4063
4064
  display: flex;
4064
4065
  align-items: center;
4065
4066
  gap: ${({ $size }) => $size / 3}px;
@@ -4081,7 +4082,7 @@ const Status = ({ title, subtitle, size = 12, family = 'secondary', status = Sta
4081
4082
  const theme = Theme.useTheme();
4082
4083
  const statusType = status === OtherStatus.Loading ? StatusType.Info : status;
4083
4084
  const StatusIcon = status === OtherStatus.Loading ? () => React.createElement(FadeLoader, { scale: 0.8 }) : () => getStatusIcon(statusType, theme)({ size: size + 2 });
4084
- return (React.createElement(Container$o, { "$size": size, "$status": statusType, "$withIcon": withIcon, "$withBorder": withBorder, "$withBackground": withBackground },
4085
+ return (React.createElement(Container$p, { "$size": size, "$status": statusType, "$withIcon": withIcon, "$withBorder": withBorder, "$withBackground": withBackground },
4085
4086
  withIcon && (React.createElement(IconWrapper$4, null,
4086
4087
  React.createElement(StatusIcon, null))),
4087
4088
  (!!title || !!subtitle) && (React.createElement(TextWrapper$1, null,
@@ -4098,7 +4099,7 @@ const ImageControlled = ({ src = '', alt = '', size = 16 }) => {
4098
4099
  return React.createElement(ImageErrorIcon, { size: size });
4099
4100
  };
4100
4101
 
4101
- const Container$n = styled.div `
4102
+ const Container$o = styled.div `
4102
4103
  display: flex;
4103
4104
  align-items: center;
4104
4105
  justify-content: center;
@@ -4111,10 +4112,10 @@ const Container$n = styled.div `
4111
4112
  }};
4112
4113
  `;
4113
4114
  const IconWrapped = ({ icon: Icon, src = '', alt = '', status, size = 36 }) => {
4114
- return (React.createElement(Container$n, { "$status": status, "$size": size }, src ? React.createElement(ImageControlled, { src: src, alt: alt, size: size - 16 }) : !!Icon ? React.createElement(Icon, { size: size - 16 }) : React.createElement(ImageErrorIcon, { size: size - 16 })));
4115
+ return (React.createElement(Container$o, { "$status": status, "$size": size }, src ? React.createElement(ImageControlled, { src: src, alt: alt, size: size - 16 }) : !!Icon ? React.createElement(Icon, { size: size - 16 }) : React.createElement(ImageErrorIcon, { size: size - 16 })));
4115
4116
  };
4116
4117
 
4117
- const Container$m = styled.div `
4118
+ const Container$n = styled.div `
4118
4119
  position: relative;
4119
4120
  display: flex;
4120
4121
  flex-wrap: wrap;
@@ -4164,7 +4165,7 @@ const IconGroup = ({ icons = [], iconSrcs = [], status, size = 36, id }) => {
4164
4165
  }
4165
4166
  return imgSize * 1.4;
4166
4167
  };
4167
- return (React.createElement(Container$m, { "$status": status, "$size": size }, icons.map((Icon, idx) => {
4168
+ return (React.createElement(Container$n, { "$status": status, "$size": size }, icons.map((Icon, idx) => {
4168
4169
  if (idx > 2)
4169
4170
  return null;
4170
4171
  return (React.createElement(IconWrapper$3, { key: `icon-${id}-${idx}`, "$size": imgSize * 1.5, "$top": getTopPosition(idx), "$left": getLeftPosition(idx), "$zIndex": idx + 1 }, idx === 2 && icons.length > 3 ? (React.createElement(Text, { family: 'secondary', color: theme.text.dark_grey, size: imgSize * 0.8 },
@@ -4216,7 +4217,7 @@ const IconButton = ({ children, onClick, tooltip, size = 36, withPing, pingColor
4216
4217
  const ControlledVisibility = styled.div `
4217
4218
  visibility: hidden;
4218
4219
  `;
4219
- const Container$l = styled.div `
4220
+ const Container$m = styled.div `
4220
4221
  display: flex;
4221
4222
  flex-direction: column;
4222
4223
  align-self: stretch;
@@ -4306,7 +4307,7 @@ const DataTab = ({ title, subTitle, hoverText, onClick, renderActions, iconProps
4306
4307
  setSubIsTitleOverflowed(clientWidth < marginUp && clientWidth > marginDown);
4307
4308
  }
4308
4309
  }, [title, subTitle, maxWidth]);
4309
- return (React.createElement(Container$l, { ref: containerRef, "$status": status, "$faded": faded, "$bgColor": bgColor, "$bgColorHover": bgColorHover, "$withClick": !!onClick, onClick: onClick, ...props },
4310
+ return (React.createElement(Container$m, { ref: containerRef, "$status": status, "$faded": faded, "$bgColor": bgColor, "$bgColorHover": bgColorHover, "$withClick": !!onClick, onClick: onClick, ...props },
4310
4311
  React.createElement(FlexRow, { "$gap": 8 },
4311
4312
  React.createElement(FlexRow, { "$gap": 16 },
4312
4313
  withCheckbox && React.createElement(Checkbox, { value: isChecked, onChange: onCheckboxChange, disabled: isCheckboxDisabled }),
@@ -4329,7 +4330,7 @@ const DataTab = ({ title, subTitle, hoverText, onClick, renderActions, iconProps
4329
4330
  renderExtended()))));
4330
4331
  };
4331
4332
 
4332
- const Container$k = styled(FlexRow) `
4333
+ const Container$l = styled(FlexRow) `
4333
4334
  width: 100%;
4334
4335
  justify-content: space-between;
4335
4336
  `;
@@ -4352,7 +4353,7 @@ const ValueText = styled(Text) `
4352
4353
  text-align: right;
4353
4354
  `;
4354
4355
  const DescribeRow = ({ title, subTitle, tooltip, value }) => {
4355
- return (React.createElement(Container$k, null,
4356
+ return (React.createElement(Container$l, null,
4356
4357
  React.createElement(FlexColumn, { "$gap": 4 },
4357
4358
  React.createElement(Tooltip, { text: tooltip || '' },
4358
4359
  title && React.createElement(Title$a, null, title),
@@ -4438,7 +4439,7 @@ const TableRow = ({ index, columns, cells, onClick, status, faded }) => {
4438
4439
  })));
4439
4440
  };
4440
4441
 
4441
- const Container$j = styled.div `
4442
+ const Container$k = styled.div `
4442
4443
  width: 100%;
4443
4444
  `;
4444
4445
  const Table = styled.table `
@@ -4512,7 +4513,7 @@ const InteractiveTable = ({ columns, rows }) => {
4512
4513
  })
4513
4514
  : rows).map(({ status, faded, cells, onClick }, i) => React.createElement(TableRow, { key: `row-${i}`, index: i, columns: columns, cells: cells, onClick: onClick, status: status, faded: faded }));
4514
4515
  }, [columns, rows, sortBy, sortDirection]);
4515
- return (React.createElement(Container$j, null,
4516
+ return (React.createElement(Container$k, null,
4516
4517
  React.createElement(Table, null,
4517
4518
  React.createElement(TableHead, null,
4518
4519
  React.createElement("tr", null, columns.map(({ key, title, sortable }) => (React.createElement(TableTitle, { key: `column-${key}` }, sortable ? (React.createElement(SortClickable, { onClick: () => onSort(key) },
@@ -4699,7 +4700,7 @@ const CardContainer = styled.div `
4699
4700
  background-color: ${({ theme, $hovered }) => ($hovered ? theme.colors.secondary + Theme.opacity.hex['010'] : 'transparent')};
4700
4701
  transition: background-color 0.3s;
4701
4702
  `;
4702
- const Header = styled.div `
4703
+ const Header$1 = styled.div `
4703
4704
  width: 100%;
4704
4705
  display: flex;
4705
4706
  flex-direction: column;
@@ -4725,7 +4726,7 @@ const DataCard = ({ title = 'Details', titleBadge, description, action: Action,
4725
4726
  const [extend, setExtend] = useState(false);
4726
4727
  const [hovered, setHovered] = useState(false);
4727
4728
  return (React.createElement(CardContainer, { "$hovered": hovered },
4728
- !!title || !!description || !!Action ? (React.createElement(Header, { "$clickable": withExtend || false, onClick: () => withExtend && setExtend((prev) => !prev), onMouseEnter: () => withExtend && setHovered(true), onMouseLeave: () => withExtend && setHovered(false) },
4729
+ !!title || !!description || !!Action ? (React.createElement(Header$1, { "$clickable": withExtend || false, onClick: () => withExtend && setExtend((prev) => !prev), onMouseEnter: () => withExtend && setHovered(true), onMouseLeave: () => withExtend && setHovered(false) },
4729
4730
  (!!title || !!Action) && (React.createElement(Title$8, null,
4730
4731
  title,
4731
4732
  titleBadge !== undefined && React.createElement(Badge, { label: titleBadge }),
@@ -4769,7 +4770,7 @@ const DocsButton = ({ endpoint = '/', variant = 'secondary' }) => {
4769
4770
  "Docs"));
4770
4771
  };
4771
4772
 
4772
- const Container$i = styled.section `
4773
+ const Container$j = styled.section `
4773
4774
  padding: 0px 32px;
4774
4775
  border-bottom: 1px solid ${({ theme }) => theme.colors.border};
4775
4776
  `;
@@ -4818,7 +4819,7 @@ const DrawerHeader = ({ onClose, icons, iconSrcs, title, titleTooltip, replaceTi
4818
4819
  }
4819
4820
  return null;
4820
4821
  };
4821
- return (React.createElement(Container$i, null,
4822
+ return (React.createElement(Container$j, null,
4822
4823
  React.createElement(TopRow, null,
4823
4824
  React.createElement(SectionItemsWrapper, null,
4824
4825
  icons?.length || iconSrcs?.length ? React.createElement(IconGroup, { icons: icons, iconSrcs: iconSrcs, id: `drawer-header-${title}` }) : null,
@@ -4832,7 +4833,7 @@ const DrawerHeader = ({ onClose, icons, iconSrcs, title, titleTooltip, replaceTi
4832
4833
  Icon && React.createElement(Icon, null))))))));
4833
4834
  };
4834
4835
 
4835
- const Container$h = styled.div `
4836
+ const Container$i = styled.div `
4836
4837
  display: flex;
4837
4838
  justify-content: space-between;
4838
4839
  gap: 8px;
@@ -4841,10 +4842,10 @@ const Container$h = styled.div `
4841
4842
  background-color: ${({ theme }) => theme.colors.translucent_bg};
4842
4843
  transform: translateY(100%);
4843
4844
  `;
4844
- const AlignLeft = styled(FlexRow) `
4845
+ const AlignLeft$1 = styled(FlexRow) `
4845
4846
  margin-right: auto;
4846
4847
  `;
4847
- const AlignRight = styled(FlexRow) `
4848
+ const AlignRight$1 = styled(FlexRow) `
4848
4849
  margin-left: auto;
4849
4850
  `;
4850
4851
  const FooterButton$1 = styled(Button$4) `
@@ -4853,16 +4854,16 @@ const FooterButton$1 = styled(Button$4) `
4853
4854
  `;
4854
4855
  const DrawerFooter = ({ isOpen, leftButtons = [], rightButtons = [] }) => {
4855
4856
  const Transition = useTransition({
4856
- container: Container$h,
4857
+ container: Container$i,
4857
4858
  animateIn: Theme.animations.slide.in['bottom'],
4858
4859
  animateOut: Theme.animations.slide.out['bottom'],
4859
4860
  });
4860
4861
  return (React.createElement(Transition, { enter: isOpen },
4861
- React.createElement(AlignLeft, null, leftButtons.map((btn, i) => (React.createElement(FooterButton$1, { key: `footer-left-button-${i}`, ...btn })))),
4862
- React.createElement(AlignRight, null, rightButtons.map((btn, i) => (React.createElement(FooterButton$1, { key: `footer-right-button-${i}`, ...btn }))))));
4862
+ React.createElement(AlignLeft$1, null, leftButtons.map((btn, i) => (React.createElement(FooterButton$1, { key: `footer-left-button-${i}`, ...btn })))),
4863
+ React.createElement(AlignRight$1, null, rightButtons.map((btn, i) => (React.createElement(FooterButton$1, { key: `footer-right-button-${i}`, ...btn }))))));
4863
4864
  };
4864
4865
 
4865
- const Container$g = styled.div `
4866
+ const Container$h = styled.div `
4866
4867
  position: fixed;
4867
4868
  top: 0;
4868
4869
  bottom: 0;
@@ -4889,7 +4890,7 @@ const Drawer = ({ isOpen, onClose, closeOnEscape = true, position = 'right', wid
4889
4890
  active: isOpen && closeOnEscape,
4890
4891
  }, () => onClose());
4891
4892
  const Transition = useTransition({
4892
- container: Container$g,
4893
+ container: Container$h,
4893
4894
  animateIn: Theme.animations.slide.in[position],
4894
4895
  animateOut: Theme.animations.slide.out[position],
4895
4896
  });
@@ -4933,7 +4934,7 @@ const FieldLabel = ({ title, required, tooltip, style }) => {
4933
4934
  };
4934
4935
 
4935
4936
  // Styled components remain the same as before
4936
- const Container$f = styled.div `
4937
+ const Container$g = styled.div `
4937
4938
  display: flex;
4938
4939
  flex-direction: column;
4939
4940
  position: relative;
@@ -5036,7 +5037,7 @@ const Input = ({ icon: Icon, buttonLabel, onButtonClick, hasError, errorMessage,
5036
5037
  if (!['Enter'].includes(e.key))
5037
5038
  e.stopPropagation();
5038
5039
  };
5039
- return (React.createElement(Container$f, null,
5040
+ return (React.createElement(Container$g, null,
5040
5041
  React.createElement(FieldLabel, { title: title, required: required, tooltip: tooltip }),
5041
5042
  React.createElement(InputWrapper$1, { "$disabled": props.disabled, "$hasError": hasError || !!errorMessage, "$isActive": !!props.autoFocus },
5042
5043
  isSecret ? (React.createElement(IconWrapperClickable, { onClick: () => setRevealSecret((prev) => !prev) }, revealSecret ? React.createElement(EyeClosedIcon, { size: 14, fill: theme.text.grey }) : React.createElement(EyeOpenIcon, { size: 14, fill: theme.text.grey }))) : Icon ? (React.createElement(IconWrapper$2, null,
@@ -5046,7 +5047,7 @@ const Input = ({ icon: Icon, buttonLabel, onButtonClick, hasError, errorMessage,
5046
5047
  !!errorMessage && React.createElement(FieldError, null, errorMessage)));
5047
5048
  };
5048
5049
 
5049
- const Container$e = styled.div `
5050
+ const Container$f = styled.div `
5050
5051
  display: flex;
5051
5052
  flex-direction: column;
5052
5053
  align-items: center;
@@ -5068,7 +5069,7 @@ const SubTitle = styled(Text) `
5068
5069
  `;
5069
5070
  const NoDataFound = ({ title = 'No data found', subTitle = 'Check your search phrase and try one more time' }) => {
5070
5071
  const theme = Theme.useTheme();
5071
- return (React.createElement(Container$e, null,
5072
+ return (React.createElement(Container$f, null,
5072
5073
  React.createElement(TitleWrapper, null,
5073
5074
  React.createElement(NoDataIcon, { fill: theme.text.dark_grey }),
5074
5075
  React.createElement(Title$5, null, title)),
@@ -5243,6 +5244,36 @@ const DropdownListItem = ({ option, value, isMulti, onSelect, onDeselect }) => {
5243
5244
  isSelected && React.createElement(CheckIcon, null)));
5244
5245
  };
5245
5246
 
5247
+ const Container$e = styled(FlexRow) `
5248
+ position: relative;
5249
+ width: calc(100% - 24px);
5250
+ padding: 12px;
5251
+ background-color: ${({ theme }) => theme.colors.dark_grey};
5252
+ border-bottom: 1px solid ${({ theme }) => theme.colors.border + Theme.opacity.hex['050']};
5253
+ `;
5254
+ const AlignLeft = styled(FlexRow) `
5255
+ margin-right: auto;
5256
+ margin-left: 32px;
5257
+ gap: 12px;
5258
+ `;
5259
+ const AlignRight = styled(FlexRow) `
5260
+ margin-left: auto;
5261
+ margin-right: 32px;
5262
+ gap: 12px;
5263
+ `;
5264
+ const PositionCenter = styled(FlexRow) `
5265
+ position: absolute;
5266
+ left: 50%;
5267
+ transform: translateX(-50%);
5268
+ gap: 12px;
5269
+ `;
5270
+ const Header = ({ left = [], center = [], right = [] }) => {
5271
+ return (React.createElement(Container$e, null,
5272
+ React.createElement(AlignLeft, null, left.map((child, index) => child && React.createElement(Fragment, { key: index }, child))),
5273
+ React.createElement(PositionCenter, null, center.map((child, index) => child && React.createElement(Fragment, { key: index }, child))),
5274
+ React.createElement(AlignRight, null, right.map((child, index) => child && React.createElement(Fragment, { key: index }, child)))));
5275
+ };
5276
+
5246
5277
  const Title$4 = styled(Text) `
5247
5278
  color: ${({ theme }) => theme.text.grey};
5248
5279
  `;
@@ -29576,4 +29607,4 @@ const WarningModal = ({ isOpen, noOverlay, title = '', description = '', note, a
29576
29607
  React.createElement(FooterButton, { "data-id": 'deny', variant: denyButton.variant || 'secondary', onClick: onDeny }, denyButton.text)))));
29577
29608
  };
29578
29609
 
29579
- export { CenterThis as $, AutocompleteInput as A, Button$4 as B, CancelWarning as C, DataCard as D, ExtendArrow as E, FlexRow as F, MonitorsCheckboxes as G, MonitorsIcons as H, IconButton as I, NoDataFound as J, KeyValueInputsList as K, NotificationNote as L, Modal as M, NavigationButtons as N, Segment as O, SkeletonLoader as P, Status as Q, Stepper as R, SectionTitle as S, ToggleCodeComponent as T, Text as U, TextArea as V, Toggle as W, Tooltip as X, TraceLoader as Y, WarningModal as Z, FlexColumn as _, Badge as a, Overlay as a0, ModalBody as a1, TableContainer as a2, TableTitleWrap as a3, TableWrap as a4, getDefaultExportFromCjs as a5, Checkbox as b, Code as c, ConditionDetails as d, DataCardFields as e, DataCardFieldTypes as f, DataTab as g, DeleteWarning as h, Divider as i, DocsButton as j, Drawer as k, DrawerHeader as l, DrawerFooter as m, Dropdown as n, FadeLoader as o, FieldError as p, FieldLabel as q, IconGroup as r, IconTitleBadge as s, IconWrapped as t, IconsNav as u, ImageControlled as v, Input as w, InputList as x, InputTable as y, InteractiveTable as z };
29610
+ export { FlexColumn as $, AutocompleteInput as A, Button$4 as B, CancelWarning as C, DataCard as D, ExtendArrow as E, FadeLoader as F, MonitorsIcons as G, Header as H, IconButton as I, NoDataFound as J, KeyValueInputsList as K, NotificationNote as L, Modal as M, NavigationButtons as N, Segment as O, SkeletonLoader as P, Status as Q, Stepper as R, SectionTitle as S, ToggleCodeComponent as T, Text as U, TextArea as V, Toggle as W, Tooltip as X, TraceLoader as Y, WarningModal as Z, FlexRow as _, Badge as a, CenterThis as a0, Overlay as a1, ModalBody as a2, TableContainer as a3, TableTitleWrap as a4, TableWrap as a5, getDefaultExportFromCjs as a6, Checkbox as b, Code as c, ConditionDetails as d, DataCardFields as e, DataCardFieldTypes as f, DataTab as g, DeleteWarning as h, Divider as i, DocsButton as j, Drawer as k, DrawerHeader as l, DrawerFooter as m, Dropdown as n, FieldError as o, FieldLabel as p, IconGroup as q, IconTitleBadge as r, IconWrapped as s, IconsNav as t, ImageControlled as u, Input as v, InputList as w, InputTable as x, InteractiveTable as y, MonitorsCheckboxes as z };