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/cjs/index.js
CHANGED
|
@@ -1167,7 +1167,9 @@ const AppWrapper = (props) => {
|
|
|
1167
1167
|
} },
|
|
1168
1168
|
React__default["default"].createElement(ErrorBox, { title: (sessionHasExpired
|
|
1169
1169
|
? 'Session Expired'
|
|
1170
|
-
: fatalErrorTitle), error: error, variant: errorBoxVariant, icon:
|
|
1170
|
+
: fatalErrorTitle), error: error, variant: errorBoxVariant, icon: (sessionHasExpired
|
|
1171
|
+
? freeSolidSvgIcons.faHourglassEnd
|
|
1172
|
+
: undefined) })));
|
|
1171
1173
|
}
|
|
1172
1174
|
/* --------------- App -------------- */
|
|
1173
1175
|
if (!body) {
|
|
@@ -40514,7 +40516,6 @@ const TOOLTIP_BORDER_RADIUS_REM = 0.3;
|
|
|
40514
40516
|
const style$1 = `
|
|
40515
40517
|
/* Container for contents and tooltip */
|
|
40516
40518
|
.Tooltip-outer-container {
|
|
40517
|
-
display: inline-block;
|
|
40518
40519
|
position: relative;
|
|
40519
40520
|
}
|
|
40520
40521
|
|
|
@@ -40731,7 +40732,7 @@ const Tooltip = (props) => {
|
|
|
40731
40732
|
/*------------------------------------------------------------------------*/
|
|
40732
40733
|
/* -------------- Props ------------- */
|
|
40733
40734
|
// Destructure all props
|
|
40734
|
-
const { icon, text, children, wide, thin, } = props;
|
|
40735
|
+
const { icon, text, children, wide, thin, containerIsDisplayBlock, } = props;
|
|
40735
40736
|
/* -------------- State ------------- */
|
|
40736
40737
|
// Initial state
|
|
40737
40738
|
const initialState = {
|
|
@@ -40818,7 +40819,7 @@ const Tooltip = (props) => {
|
|
|
40818
40819
|
size = 'thin';
|
|
40819
40820
|
}
|
|
40820
40821
|
// Render
|
|
40821
|
-
return (React__default["default"].createElement("div", { className:
|
|
40822
|
+
return (React__default["default"].createElement("div", { className: `Tooltip-outer-container ${containerIsDisplayBlock ? 'd-block' : 'd-inline-block'}}`, "aria-label": text, onMouseEnter: () => {
|
|
40822
40823
|
dispatch({
|
|
40823
40824
|
type: ActionType$1.Show,
|
|
40824
40825
|
});
|