dce-reactkit 4.2.1 → 4.2.3

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.
@@ -9,6 +9,7 @@ type Props = {
9
9
  topRightChildren?: React.ReactNode;
10
10
  noBottomMargin?: boolean;
11
11
  noBottomPadding?: boolean;
12
+ minTitleWidth?: string;
12
13
  };
13
14
  declare const TabBox: React.FC<Props>;
14
15
  export default TabBox;
package/dist/esm/index.js CHANGED
@@ -112,7 +112,7 @@ const ErrorBox = (props) => {
112
112
  React__default.createElement("h4", { className: "mb-1" },
113
113
  React__default.createElement(FontAwesomeIcon, { icon: icon, className: "me-2" }),
114
114
  title),
115
- React__default.createElement("div", null,
115
+ React__default.createElement("div", { className: "text-break" },
116
116
  errorText,
117
117
  errorCodeBox),
118
118
  onClose && (React__default.createElement("div", { className: "mt-2" },
@@ -2387,14 +2387,14 @@ const TabBox = (props) => {
2387
2387
  /*------------------------------------------------------------------------*/
2388
2388
  /* -------------------------------- Setup ------------------------------- */
2389
2389
  /*------------------------------------------------------------------------*/
2390
- const { title, children, topRightChildren, noBottomPadding, noBottomMargin, } = props;
2390
+ const { title, children, topRightChildren, noBottomPadding, noBottomMargin, minTitleWidth, } = props;
2391
2391
  /*------------------------------------------------------------------------*/
2392
2392
  /* ------------------------------- Render ------------------------------- */
2393
2393
  /*------------------------------------------------------------------------*/
2394
2394
  return (React__default.createElement("div", { className: `TabBox-container ${noBottomMargin ? '' : 'mb-2'}` },
2395
2395
  React__default.createElement("style", null, style$7),
2396
2396
  React__default.createElement("div", { className: "TabBox-title-container" },
2397
- React__default.createElement("div", { className: "TabBox-title" }, title),
2397
+ React__default.createElement("div", { className: "TabBox-title", style: { minWidth: minTitleWidth } }, title),
2398
2398
  topRightChildren && (React__default.createElement("div", { className: "TabBox-title-right-container" },
2399
2399
  React__default.createElement("div", { className: "TabBox-title-right-contents" }, topRightChildren)))),
2400
2400
  React__default.createElement("div", { className: `TabBox-box ps-2 pt-2 pe-2 ${noBottomPadding ? '' : 'pb-2'}` },