dce-reactkit 3.7.1-beta.1 → 3.7.1-beta.2

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
@@ -1216,11 +1216,36 @@ const AppWrapper = (props) => {
1216
1216
  if (!body) {
1217
1217
  body = children;
1218
1218
  }
1219
+ /* ------------- Tooltip ------------ */
1220
+ const tooltipStyle = (isDarkModeOn()
1221
+ ? `
1222
+ .tooltip-inner {
1223
+ background-color: white;
1224
+ color: black;
1225
+ border: 0.1rem solid black;
1226
+ }
1227
+ div[data-popper-placement="top"] .tooltip-arrow::before {
1228
+ border-top-color: white !important;
1229
+ transform: translate(0, -0.05rem);
1230
+ }
1231
+ `
1232
+ : `
1233
+ .tooltip-inner {
1234
+ background-color: black;
1235
+ color: black;
1236
+ border: 0.1rem solid white;
1237
+ }
1238
+ div[data-popper-placement="top"] .tooltip-arrow::before {
1239
+ border-top-color: black !important;
1240
+ transform: translate(0, -0.05rem);
1241
+ }
1242
+ `);
1219
1243
  /*----------------------------------------*/
1220
1244
  /* --------------- Main UI -------------- */
1221
1245
  /*----------------------------------------*/
1222
1246
  return (React__default["default"].createElement(React__default["default"].Fragment, null,
1223
1247
  React__default["default"].createElement("style", null, style$9),
1248
+ React__default["default"].createElement("style", null, tooltipStyle),
1224
1249
  modal,
1225
1250
  body));
1226
1251
  };