@elementor/editor-controls 4.4.0-1064 → 4.4.0-1066

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.mjs CHANGED
@@ -8430,11 +8430,14 @@ var InlineEditorToolbar = ({
8430
8430
  boxShadow: "none",
8431
8431
  borderWidth: "0",
8432
8432
  borderBottom: "1px solid",
8433
- borderBottomColor: "grey.200",
8433
+ borderBottomColor: (theme) => theme.palette.text.secondary,
8434
8434
  borderRadius: "0",
8435
8435
  position: "absolute",
8436
8436
  top: "0",
8437
- left: "0"
8437
+ left: "0",
8438
+ "&, & .MuiIconButton-root, & .MuiToggleButton-root": {
8439
+ color: (theme) => theme.palette.text.primary
8440
+ }
8438
8441
  }
8439
8442
  }
8440
8443
  },
@@ -8464,8 +8467,7 @@ var InlineEditorToolbar = ({
8464
8467
  width: "100%",
8465
8468
  "& svg": {
8466
8469
  width: "0.7rem",
8467
- height: "0.7rem",
8468
- fill: "black"
8470
+ height: "0.7rem"
8469
8471
  }
8470
8472
  }
8471
8473
  }
@@ -8594,29 +8596,29 @@ var InlineEditingControl = createControl(({ sx, attributes, props, context: { el
8594
8596
  {
8595
8597
  editor,
8596
8598
  elementId,
8597
- sx: {
8599
+ sx: (theme) => ({
8598
8600
  boxShadow: "none",
8599
8601
  border: "1px solid",
8600
- borderColor: "grey.200",
8602
+ borderColor: theme.palette.text.secondary,
8601
8603
  mb: 0.5
8602
- },
8604
+ }),
8603
8605
  inControlPanel: true
8604
8606
  }
8605
8607
  ), /* @__PURE__ */ React117.createElement(
8606
8608
  Box27,
8607
8609
  {
8608
- sx: {
8610
+ sx: (theme) => ({
8609
8611
  p: 0.8,
8610
8612
  border: "1px solid",
8611
- borderColor: "grey.200",
8613
+ borderColor: theme.palette.text.secondary,
8612
8614
  borderRadius: "8px",
8613
8615
  transition: "border-color .2s ease, box-shadow .2s ease",
8614
8616
  "&:hover": {
8615
- borderColor: "black"
8617
+ borderColor: theme.palette.text.primary
8616
8618
  },
8617
8619
  "&:focus-within": {
8618
- borderColor: "black",
8619
- boxShadow: "0 0 0 1px black"
8620
+ borderColor: theme.palette.text.primary,
8621
+ boxShadow: `0 0 0 1px ${theme.palette.text.primary}`
8620
8622
  },
8621
8623
  "& .ProseMirror:focus": {
8622
8624
  outline: "none"
@@ -8643,7 +8645,7 @@ var InlineEditingControl = createControl(({ sx, attributes, props, context: { el
8643
8645
  all: "unset"
8644
8646
  },
8645
8647
  ...sx
8646
- },
8648
+ }),
8647
8649
  ...attributes,
8648
8650
  ...props
8649
8651
  },