@luscii-healthtech/web-ui 2.19.0 → 2.19.2

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.
@@ -1766,7 +1766,8 @@ var ModalBase = function ModalBase(props) {
1766
1766
  title: props.title,
1767
1767
  onCloseClick: props.onCloseClick
1768
1768
  }), /*#__PURE__*/React__default.createElement("div", {
1769
- className: classNames("p-6", {
1769
+ className: classNames("px-6", {
1770
+ "py-6": props.withContentPaddingY,
1770
1771
  "rounded-t-lg": !props.title
1771
1772
  })
1772
1773
  }, props.children), /*#__PURE__*/React__default.createElement(ModalFooter, {
@@ -2461,11 +2462,12 @@ var ConfirmationDialogTitle = function ConfirmationDialogTitle(props) {
2461
2462
  var _props$title;
2462
2463
 
2463
2464
  return props.title ? /*#__PURE__*/React__default.createElement("div", {
2464
- className: classNames("flex flex-col space-y-2 ", {
2465
+ "data-test-id": "confirmation-dialog-title",
2466
+ className: classNames("flex flex-col space-y-2", {
2465
2467
  "items-center justify-center": (_props$title = props.title) == null ? void 0 : _props$title.icon
2466
2468
  })
2467
2469
  }, props.title.icon && /*#__PURE__*/React__default.createElement(props.title.icon, {
2468
- className: "transform scale-150 text-blue-800"
2470
+ className: "text-blue-800 dialog-header-icon h-12 w-12"
2469
2471
  }), /*#__PURE__*/React__default.createElement(Title, {
2470
2472
  text: props.title.title
2471
2473
  })) : null;
@@ -2579,12 +2581,12 @@ function RadioInner(_ref) {
2579
2581
  disabled = otherProps.disabled;
2580
2582
  var nameHtmlFor = "field-" + value;
2581
2583
  return /*#__PURE__*/React__default.createElement("label", {
2582
- className: "radio-form-field-label leading-tight",
2584
+ className: "radio-form-field-label leading-tight flex flex-row",
2583
2585
  htmlFor: nameHtmlFor,
2584
2586
  "data-has-error": isError,
2585
2587
  "data-test-id": nameHtmlFor
2586
2588
  }, /*#__PURE__*/React__default.createElement("div", {
2587
- className: "flex flex-row items-center "
2589
+ className: "flex flex-row items-center self-start"
2588
2590
  }, /*#__PURE__*/React__default.createElement("input", _extends({}, otherProps, {
2589
2591
  className: classNames("appearance-none", className),
2590
2592
  ref: innerRef,
@@ -2595,20 +2597,21 @@ function RadioInner(_ref) {
2595
2597
  className: classNames("flex flex-col items-center justify-center w-4 h-4 transition-colors duration-300 ease-in-out border radio-circle rounded-xl border-slate-300")
2596
2598
  }, /*#__PURE__*/React__default.createElement("span", {
2597
2599
  className: "block transition-colors duration-300 ease-in-out radio-inner-circle w-1.5 h-1.5 rounded-xl"
2598
- })), text && /*#__PURE__*/React__default.createElement("div", {
2599
- className: "ml-2"
2600
+ }))), /*#__PURE__*/React__default.createElement("div", {
2601
+ className: "space-y-2"
2602
+ }, text && /*#__PURE__*/React__default.createElement("div", {
2603
+ className: "ml-2 flex items-center"
2600
2604
  }, /*#__PURE__*/React__default.createElement(Text, {
2601
2605
  inline: true,
2602
2606
  text: text,
2603
2607
  type: "base",
2604
2608
  color: disabled ? "slate-500" : undefined
2605
- }))), info && /*#__PURE__*/React__default.createElement(Text, {
2606
- inline: true,
2607
- className: "ml-6",
2609
+ })), info && /*#__PURE__*/React__default.createElement(Text, {
2610
+ className: "ml-2 leading-4",
2608
2611
  text: info,
2609
2612
  type: "sm",
2610
2613
  color: disabled ? "slate-200" : "slate-500"
2611
- }));
2614
+ })));
2612
2615
  }
2613
2616
  /**
2614
2617
  * TODO: The CSS styling is all messed up, including isError