odaptos_design_system 1.4.45 → 1.4.47

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.
@@ -5070,7 +5070,7 @@ const Title = ({
5070
5070
  }
5071
5071
  };
5072
5072
 
5073
- var css_248z$c = ".Modal-modules_modal__M6coU .Modal-modules_modal_content__kI5NN{align-items:space-between;background:#fff;border:none;display:flex;flex-direction:column;gap:1rem;height:50rem;left:50%;padding:1rem;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1301}.Modal-modules_modal__M6coU .Modal-modules_modal_content__kI5NN .Modal-modules_modal_header__bLwe9{align-items:center;display:flex;gap:.5rem;justify-content:space-between;width:100%}.Modal-modules_modal__M6coU .Modal-modules_modal_content__kI5NN .Modal-modules_modal_buttons_container__VIykY{display:flex;gap:.5rem;justify-content:flex-end;width:100%}.Modal-modules_modal_overlay__sU-UF .Modal-modules_modal_content__kI5NN{align-items:space-between;background:#fff;border:none;display:flex;flex-direction:column;gap:.5rem;height:auto;left:50%;padding:1rem;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1301}.Modal-modules_modal_overlay__sU-UF .Modal-modules_modal_content__kI5NN .Modal-modules_modal_header__bLwe9{align-items:center;display:flex;gap:.5rem;justify-content:space-between;width:100%}.Modal-modules_modal_overlay__sU-UF .Modal-modules_modal_content__kI5NN .Modal-modules_modal_buttons_container__VIykY{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.5rem;width:100%}";
5073
+ var css_248z$c = ".Modal-modules_modal__M6coU .Modal-modules_modal_content__kI5NN{align-items:space-between;background:#fff;background:var(--Color-Neutral-Basics-White,#fff);border:none;border-radius:.25rem;box-shadow:0 4px 12px 6px rgba(0,0,0,.08),0 4px 4px 0 rgba(0,0,0,.15);display:flex;flex-direction:column;gap:1rem;height:50rem;left:50%;padding:1rem;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1301}.Modal-modules_modal__M6coU .Modal-modules_modal_content__kI5NN .Modal-modules_modal_header__bLwe9{align-items:center;display:flex;gap:.5rem;justify-content:space-between;width:100%}.Modal-modules_modal__M6coU .Modal-modules_modal_content__kI5NN .Modal-modules_modal_buttons_container__VIykY{display:flex;gap:.5rem;justify-content:flex-end;width:100%}.Modal-modules_modal_overlay__sU-UF .Modal-modules_modal_content__kI5NN{align-items:space-between;background:#fff;border:none;display:flex;flex-direction:column;gap:.5rem;height:auto;left:50%;padding:1rem;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1301}.Modal-modules_modal_overlay__sU-UF .Modal-modules_modal_content__kI5NN .Modal-modules_modal_header__bLwe9{align-items:center;display:flex;gap:.5rem;justify-content:space-between;width:100%}.Modal-modules_modal_overlay__sU-UF .Modal-modules_modal_content__kI5NN .Modal-modules_modal_buttons_container__VIykY{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.5rem;width:100%}";
5074
5074
  var styles$c = {"modal":"Modal-modules_modal__M6coU","modal_content":"Modal-modules_modal_content__kI5NN","modal_header":"Modal-modules_modal_header__bLwe9","modal_buttons_container":"Modal-modules_modal_buttons_container__VIykY","modal_overlay":"Modal-modules_modal_overlay__sU-UF"};
5075
5075
  styleInject(css_248z$c);
5076
5076
 
@@ -5136,12 +5136,10 @@ const Modal = ({
5136
5136
  className: styles$c.modal_buttons_container
5137
5137
  }, cancelText && onClose && /*#__PURE__*/React__default.createElement(Button, {
5138
5138
  text: cancelText,
5139
- variant: "secondary",
5140
- size: "sm",
5139
+ variant: "tertiary",
5141
5140
  onClick: () => onClose()
5142
5141
  }), onConfirm && validationText && /*#__PURE__*/React__default.createElement(Button, {
5143
5142
  text: validationText,
5144
- size: "sm",
5145
5143
  onClick: () => onConfirm(),
5146
5144
  disabled: disabled
5147
5145
  })))));
@@ -6101,19 +6099,19 @@ const TabsUnderline = ({
6101
6099
  sx: {
6102
6100
  textTransform: 'none'
6103
6101
  },
6104
- label: /*#__PURE__*/React__default.createElement(Text, {
6102
+ label: /*#__PURE__*/React__default.createElement(Title, {
6105
6103
  text: item.label,
6106
- weight: "bold",
6107
- size: "lg",
6104
+ weight: value === index ? 'semi-bold' : 'regular',
6105
+ size: "base",
6108
6106
  color: index === value ? 'black' : 'gray'
6109
6107
  })
6110
6108
  });
6111
6109
  if (item.disabled) {
6112
- renderTab = /*#__PURE__*/React__default.createElement(Text, {
6110
+ renderTab = /*#__PURE__*/React__default.createElement(Title, {
6113
6111
  key: `tab#${index}`,
6114
6112
  className: `${styles$s.tab_label_replacement} ${styles$s.disabled}`,
6115
- weight: "bold",
6116
- size: "lg",
6113
+ weight: value === index ? 'semi-bold' : 'regular',
6114
+ size: "base",
6117
6115
  text: item.label,
6118
6116
  color: index === value ? 'black' : 'gray'
6119
6117
  });