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.
- package/dist/cjs/index.js +5 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Tooltip.d.ts +1 -0
- package/dist/esm/index.js +5 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Tooltip.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/AppWrapper.tsx +5 -1
- package/src/components/Tooltip.tsx +4 -2
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:
|
|
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:
|
|
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
|
});
|