dce-reactkit 3.6.7 → 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.
package/dist/cjs/index.js CHANGED
@@ -40516,7 +40516,6 @@ const TOOLTIP_BORDER_RADIUS_REM = 0.3;
40516
40516
  const style$1 = `
40517
40517
  /* Container for contents and tooltip */
40518
40518
  .Tooltip-outer-container {
40519
- display: inline-block;
40520
40519
  position: relative;
40521
40520
  }
40522
40521
 
@@ -40733,7 +40732,7 @@ const Tooltip = (props) => {
40733
40732
  /*------------------------------------------------------------------------*/
40734
40733
  /* -------------- Props ------------- */
40735
40734
  // Destructure all props
40736
- const { icon, text, children, wide, thin, } = props;
40735
+ const { icon, text, children, wide, thin, containerIsDisplayBlock, } = props;
40737
40736
  /* -------------- State ------------- */
40738
40737
  // Initial state
40739
40738
  const initialState = {
@@ -40820,7 +40819,7 @@ const Tooltip = (props) => {
40820
40819
  size = 'thin';
40821
40820
  }
40822
40821
  // Render
40823
- return (React__default["default"].createElement("div", { className: "Tooltip-outer-container", "aria-label": text, onMouseEnter: () => {
40822
+ return (React__default["default"].createElement("div", { className: `Tooltip-outer-container ${containerIsDisplayBlock ? 'd-block' : 'd-inline-block'}}`, "aria-label": text, onMouseEnter: () => {
40824
40823
  dispatch({
40825
40824
  type: ActionType$1.Show,
40826
40825
  });