@flozy/editor 5.1.0 → 5.1.1

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.
@@ -448,6 +448,7 @@ blockquote {
448
448
  display: flex;
449
449
  flex-direction: column;
450
450
  overflow-x: auto;
451
+ color: #000;
451
452
  border: 1px solid rgba(37, 99, 235, 0.32);
452
453
  }
453
454
 
@@ -92,7 +92,7 @@ const Carousel = props => {
92
92
  className: "element-toolbar hr",
93
93
  contentEditable: false,
94
94
  style: {
95
- top: "-32px",
95
+ top: "-12px",
96
96
  left: "0px"
97
97
  },
98
98
  children: [/*#__PURE__*/_jsx(Tooltip, {
@@ -136,6 +136,11 @@ const Carousel = props => {
136
136
  style: {
137
137
  padding: "12px"
138
138
  },
139
+ sx: {
140
+ '& .simple-text': {
141
+ color: '#000'
142
+ }
143
+ },
139
144
  contentEditable: false,
140
145
  children: /*#__PURE__*/_jsx(Slider, {
141
146
  ...settings,
@@ -165,9 +165,9 @@ const Section = props => {
165
165
  children: /*#__PURE__*/_jsxs(Box, {
166
166
  sx: {
167
167
  bgcolor: "background.paper",
168
- background: "#F6F6F6",
169
168
  height: "30px",
170
- position: "relative"
169
+ position: "relative",
170
+ background: theme?.palette?.type === 'dark' ? theme?.palette?.editor?.miniToolBarBackground : '#F6F6F6'
171
171
  },
172
172
  children: [!readOnly && !showTool ? /*#__PURE__*/_jsx(DragHandle, {
173
173
  ...props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"