mayak-common-library 0.0.80 → 0.0.82
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/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -306,7 +306,8 @@ var SelectPro = ({
|
|
|
306
306
|
fullWidth = false,
|
|
307
307
|
freeChildWidth = false,
|
|
308
308
|
openUp,
|
|
309
|
-
intermediateChild
|
|
309
|
+
intermediateChild,
|
|
310
|
+
accentBgColor
|
|
310
311
|
}) => {
|
|
311
312
|
const [btn, setAnchorEl] = (0, import_react2.useState)(null);
|
|
312
313
|
const [open, setOpen] = (0, import_react2.useState)(false);
|
|
@@ -378,6 +379,7 @@ var SelectPro = ({
|
|
|
378
379
|
import_material4.Paper,
|
|
379
380
|
{
|
|
380
381
|
sx: (theme2) => ({
|
|
382
|
+
backgroundColor: accentBgColor ? "#F5F5F5" : "#fff",
|
|
381
383
|
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "100%",
|
|
382
384
|
// left: fullContainerWidth ? 0 : "initial",
|
|
383
385
|
right: fullContainerWidth ? 0 : "initial",
|
package/dist/index.mjs
CHANGED
|
@@ -247,7 +247,8 @@ var SelectPro = ({
|
|
|
247
247
|
fullWidth = false,
|
|
248
248
|
freeChildWidth = false,
|
|
249
249
|
openUp,
|
|
250
|
-
intermediateChild
|
|
250
|
+
intermediateChild,
|
|
251
|
+
accentBgColor
|
|
251
252
|
}) => {
|
|
252
253
|
const [btn, setAnchorEl] = useState2(null);
|
|
253
254
|
const [open, setOpen] = useState2(false);
|
|
@@ -319,6 +320,7 @@ var SelectPro = ({
|
|
|
319
320
|
Paper,
|
|
320
321
|
{
|
|
321
322
|
sx: (theme2) => ({
|
|
323
|
+
backgroundColor: accentBgColor ? "#F5F5F5" : "#fff",
|
|
322
324
|
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "100%",
|
|
323
325
|
// left: fullContainerWidth ? 0 : "initial",
|
|
324
326
|
right: fullContainerWidth ? 0 : "initial",
|