dce-reactkit 3.7.24 → 3.7.27

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.
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import React from 'react';
6
6
  type Props = {
7
+ grayBackground?: boolean;
7
8
  customBackgroundColor?: string;
8
9
  children: React.ReactNode;
9
10
  };
package/dist/esm/index.js CHANGED
@@ -1276,7 +1276,7 @@ const AppWrapper = (props) => {
1276
1276
  : `
1277
1277
  .tooltip-inner {
1278
1278
  background-color: black;
1279
- color: black;
1279
+ color: white;
1280
1280
  border: 0.1rem solid white;
1281
1281
  pointer-events: none;
1282
1282
  }
@@ -1828,7 +1828,7 @@ const Drawer = (props) => {
1828
1828
  /*------------------------------------------------------------------------*/
1829
1829
  /* -------------- Props ------------- */
1830
1830
  // Destructure all props
1831
- const { customBackgroundColor, children, } = props;
1831
+ const { grayBackground, customBackgroundColor, children, } = props;
1832
1832
  /*------------------------------------------------------------------------*/
1833
1833
  /* ------------------------------- Render ------------------------------- */
1834
1834
  /*------------------------------------------------------------------------*/
@@ -1836,7 +1836,9 @@ const Drawer = (props) => {
1836
1836
  /* --------------- Main UI -------------- */
1837
1837
  /*----------------------------------------*/
1838
1838
  return (React__default.createElement("div", { className: "Drawer-container", style: {
1839
- backgroundColor: (customBackgroundColor !== null && customBackgroundColor !== void 0 ? customBackgroundColor : undefined),
1839
+ backgroundColor: (grayBackground
1840
+ ? '#E2E3E5'
1841
+ : (customBackgroundColor !== null && customBackgroundColor !== void 0 ? customBackgroundColor : undefined)),
1840
1842
  } },
1841
1843
  React__default.createElement("style", null, style$6),
1842
1844
  children));