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/esm/index.js CHANGED
@@ -1190,11 +1190,36 @@ const AppWrapper = (props) => {
1190
1190
  if (!body) {
1191
1191
  body = children;
1192
1192
  }
1193
+ /* ------------- Tooltip ------------ */
1194
+ const tooltipStyle = (isDarkModeOn()
1195
+ ? `
1196
+ .tooltip-inner {
1197
+ background-color: white;
1198
+ color: black;
1199
+ border: 0.1rem solid black;
1200
+ }
1201
+ div[data-popper-placement="top"] .tooltip-arrow::before {
1202
+ border-top-color: white !important;
1203
+ transform: translate(0, -0.05rem);
1204
+ }
1205
+ `
1206
+ : `
1207
+ .tooltip-inner {
1208
+ background-color: black;
1209
+ color: black;
1210
+ border: 0.1rem solid white;
1211
+ }
1212
+ div[data-popper-placement="top"] .tooltip-arrow::before {
1213
+ border-top-color: black !important;
1214
+ transform: translate(0, -0.05rem);
1215
+ }
1216
+ `);
1193
1217
  /*----------------------------------------*/
1194
1218
  /* --------------- Main UI -------------- */
1195
1219
  /*----------------------------------------*/
1196
1220
  return (React__default.createElement(React__default.Fragment, null,
1197
1221
  React__default.createElement("style", null, style$9),
1222
+ React__default.createElement("style", null, tooltipStyle),
1198
1223
  modal,
1199
1224
  body));
1200
1225
  };