dce-reactkit 3.6.6 → 3.6.8

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.
@@ -10,6 +10,7 @@ type Props = {
10
10
  children: React.ReactNode;
11
11
  wide?: boolean;
12
12
  thin?: boolean;
13
+ containerIsDisplayBlock?: boolean;
13
14
  };
14
15
  declare const Tooltip: React.FC<Props>;
15
16
  export default Tooltip;
package/dist/esm/index.js CHANGED
@@ -1141,7 +1141,9 @@ const AppWrapper = (props) => {
1141
1141
  } },
1142
1142
  React__default.createElement(ErrorBox, { title: (sessionHasExpired
1143
1143
  ? 'Session Expired'
1144
- : fatalErrorTitle), error: error, variant: errorBoxVariant, icon: faHourglassEnd })));
1144
+ : fatalErrorTitle), error: error, variant: errorBoxVariant, icon: (sessionHasExpired
1145
+ ? faHourglassEnd
1146
+ : undefined) })));
1145
1147
  }
1146
1148
  /* --------------- App -------------- */
1147
1149
  if (!body) {
@@ -40488,7 +40490,6 @@ const TOOLTIP_BORDER_RADIUS_REM = 0.3;
40488
40490
  const style$1 = `
40489
40491
  /* Container for contents and tooltip */
40490
40492
  .Tooltip-outer-container {
40491
- display: inline-block;
40492
40493
  position: relative;
40493
40494
  }
40494
40495
 
@@ -40705,7 +40706,7 @@ const Tooltip = (props) => {
40705
40706
  /*------------------------------------------------------------------------*/
40706
40707
  /* -------------- Props ------------- */
40707
40708
  // Destructure all props
40708
- const { icon, text, children, wide, thin, } = props;
40709
+ const { icon, text, children, wide, thin, containerIsDisplayBlock, } = props;
40709
40710
  /* -------------- State ------------- */
40710
40711
  // Initial state
40711
40712
  const initialState = {
@@ -40792,7 +40793,7 @@ const Tooltip = (props) => {
40792
40793
  size = 'thin';
40793
40794
  }
40794
40795
  // Render
40795
- return (React__default.createElement("div", { className: "Tooltip-outer-container", "aria-label": text, onMouseEnter: () => {
40796
+ return (React__default.createElement("div", { className: `Tooltip-outer-container ${containerIsDisplayBlock ? 'd-block' : 'd-inline-block'}}`, "aria-label": text, onMouseEnter: () => {
40796
40797
  dispatch({
40797
40798
  type: ActionType$1.Show,
40798
40799
  });