@atlaskit/editor-core 207.14.7 → 207.15.0
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/CHANGELOG.md +12 -0
- package/dist/cjs/ui/EditorContentContainer/styles/resizerStyles.js +44 -20
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/resizerStyles.js +44 -20
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/resizerStyles.js +44 -20
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/editor-appearances/ChromelessEditor.d.ts +1 -1
- package/dist/types-ts4.5/editor-appearances/ChromelessEditor.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 207.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#166191](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/166191)
|
|
8
|
+
[`c1b6558e75802`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c1b6558e75802) -
|
|
9
|
+
It contains popupsMountPoint as the type
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 207.14.7
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -170,40 +170,40 @@ var pragmaticResizerStyles = exports.pragmaticResizerStyles = (0, _react.css)({
|
|
|
170
170
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
171
171
|
'&:has([data-prosemirror-node-name="codeBlock"])': {
|
|
172
172
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
173
|
-
'> .pm-breakout-resize-handle-left': {
|
|
173
|
+
'> .pm-breakout-resize-handle-container--left': {
|
|
174
174
|
left: '-12px'
|
|
175
175
|
},
|
|
176
176
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
177
|
-
'> .pm-breakout-resize-handle-right': {
|
|
177
|
+
'> .pm-breakout-resize-handle-container--right': {
|
|
178
178
|
right: '-12px'
|
|
179
179
|
},
|
|
180
180
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
181
|
-
'> .pm-breakout-resize-handle': {
|
|
181
|
+
'> .pm-breakout-resize-handle-container': {
|
|
182
182
|
height: 'calc(100% - 12px)'
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
185
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
186
186
|
'&:has([data-prosemirror-node-name="expand"]), &:has([data-prosemirror-node-name="layoutSection"])': {
|
|
187
187
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
188
|
-
'> .pm-breakout-resize-handle-left': {
|
|
188
|
+
'> .pm-breakout-resize-handle-container--left': {
|
|
189
189
|
left: '-32px'
|
|
190
190
|
},
|
|
191
191
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
192
|
-
'> .pm-breakout-resize-handle-right': {
|
|
192
|
+
'> .pm-breakout-resize-handle-container--right': {
|
|
193
193
|
right: '-32px'
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
197
197
|
'&:has([data-prosemirror-node-name="expand"])': {
|
|
198
198
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
199
|
-
'> .pm-breakout-resize-handle': {
|
|
199
|
+
'> .pm-breakout-resize-handle-container': {
|
|
200
200
|
height: 'calc(100% - 4px)'
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
204
204
|
'&:has([data-prosemirror-node-name="layoutSection"])': {
|
|
205
205
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
206
|
-
'> .pm-breakout-resize-handle': {
|
|
206
|
+
'> .pm-breakout-resize-handle-container': {
|
|
207
207
|
height: 'calc(100% - 8px)'
|
|
208
208
|
}
|
|
209
209
|
},
|
|
@@ -211,45 +211,69 @@ var pragmaticResizerStyles = exports.pragmaticResizerStyles = (0, _react.css)({
|
|
|
211
211
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
212
212
|
'&:has(.first-node-in-document)': {
|
|
213
213
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
214
|
-
'> .pm-breakout-resize-handle': {
|
|
214
|
+
'> .pm-breakout-resize-handle-container': {
|
|
215
215
|
height: '100%'
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
220
|
-
'.pm-breakout-resize-handle': {
|
|
220
|
+
'.pm-breakout-resize-handle-container': {
|
|
221
|
+
position: 'relative',
|
|
222
|
+
alignSelf: 'end',
|
|
223
|
+
gridRow: 1,
|
|
224
|
+
gridColumn: 1,
|
|
225
|
+
height: '100%',
|
|
226
|
+
width: 7
|
|
227
|
+
},
|
|
228
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
229
|
+
'.pm-breakout-resize-handle-container--left': {
|
|
230
|
+
justifySelf: 'start'
|
|
231
|
+
},
|
|
232
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
233
|
+
'.pm-breakout-resize-handle-container--right': {
|
|
234
|
+
justifySelf: 'end'
|
|
235
|
+
},
|
|
236
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
237
|
+
'.pm-breakout-resize-handle-rail': {
|
|
221
238
|
position: 'relative',
|
|
222
239
|
display: 'flex',
|
|
223
240
|
alignItems: 'center',
|
|
224
241
|
justifyContent: 'center',
|
|
225
242
|
height: '100%',
|
|
226
|
-
width: 7,
|
|
227
|
-
alignSelf: 'end',
|
|
228
|
-
gridRow: 1,
|
|
229
|
-
gridColumn: 1,
|
|
230
243
|
cursor: 'col-resize',
|
|
231
244
|
borderRadius: 4,
|
|
232
245
|
transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
|
|
233
246
|
zIndex: 2,
|
|
247
|
+
opacity: 0,
|
|
234
248
|
'&:hover': {
|
|
235
249
|
background: "var(--ds-background-selected, #E9F2FF)",
|
|
236
250
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
237
|
-
'.pm-breakout-resize-handle-
|
|
251
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
238
252
|
background: "var(--ds-border-focused, #388BFF)"
|
|
239
253
|
}
|
|
240
254
|
}
|
|
241
255
|
},
|
|
256
|
+
// same as 'hover' styles above
|
|
242
257
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
243
|
-
'.pm-breakout-resize-handle-
|
|
244
|
-
|
|
258
|
+
'.pm-breakout-resize-handle-container--active': {
|
|
259
|
+
background: "var(--ds-background-selected, #E9F2FF)",
|
|
260
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
261
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
262
|
+
background: "var(--ds-border-focused, #388BFF)"
|
|
263
|
+
}
|
|
245
264
|
},
|
|
246
265
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
247
|
-
'.pm-breakout-resize-handle-
|
|
248
|
-
|
|
266
|
+
'.pm-breakout-resize-handle-hit-box': {
|
|
267
|
+
position: 'absolute',
|
|
268
|
+
top: 0,
|
|
269
|
+
bottom: 0,
|
|
270
|
+
left: -20,
|
|
271
|
+
right: -20,
|
|
272
|
+
zIndex: 0
|
|
249
273
|
},
|
|
250
274
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
251
|
-
'.pm-breakout-resize-handle-
|
|
252
|
-
minWidth:
|
|
275
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
276
|
+
minWidth: resizerHandleThumbWidth,
|
|
253
277
|
// copied from resizeStyles.clamped
|
|
254
278
|
height: 'clamp(27px, calc(100% - 32px), 96px)',
|
|
255
279
|
background: "var(--ds-border, #091E4224)",
|
|
@@ -215,40 +215,40 @@ export const pragmaticResizerStyles = css({
|
|
|
215
215
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
216
216
|
'&:has([data-prosemirror-node-name="codeBlock"])': {
|
|
217
217
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
218
|
-
'> .pm-breakout-resize-handle-left': {
|
|
218
|
+
'> .pm-breakout-resize-handle-container--left': {
|
|
219
219
|
left: '-12px'
|
|
220
220
|
},
|
|
221
221
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
222
|
-
'> .pm-breakout-resize-handle-right': {
|
|
222
|
+
'> .pm-breakout-resize-handle-container--right': {
|
|
223
223
|
right: '-12px'
|
|
224
224
|
},
|
|
225
225
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
226
|
-
'> .pm-breakout-resize-handle': {
|
|
226
|
+
'> .pm-breakout-resize-handle-container': {
|
|
227
227
|
height: 'calc(100% - 12px)'
|
|
228
228
|
}
|
|
229
229
|
},
|
|
230
230
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
231
231
|
'&:has([data-prosemirror-node-name="expand"]), &:has([data-prosemirror-node-name="layoutSection"])': {
|
|
232
232
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
233
|
-
'> .pm-breakout-resize-handle-left': {
|
|
233
|
+
'> .pm-breakout-resize-handle-container--left': {
|
|
234
234
|
left: '-32px'
|
|
235
235
|
},
|
|
236
236
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
237
|
-
'> .pm-breakout-resize-handle-right': {
|
|
237
|
+
'> .pm-breakout-resize-handle-container--right': {
|
|
238
238
|
right: '-32px'
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
241
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
242
242
|
'&:has([data-prosemirror-node-name="expand"])': {
|
|
243
243
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
244
|
-
'> .pm-breakout-resize-handle': {
|
|
244
|
+
'> .pm-breakout-resize-handle-container': {
|
|
245
245
|
height: 'calc(100% - 4px)'
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
249
249
|
'&:has([data-prosemirror-node-name="layoutSection"])': {
|
|
250
250
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
251
|
-
'> .pm-breakout-resize-handle': {
|
|
251
|
+
'> .pm-breakout-resize-handle-container': {
|
|
252
252
|
height: 'calc(100% - 8px)'
|
|
253
253
|
}
|
|
254
254
|
},
|
|
@@ -256,45 +256,69 @@ export const pragmaticResizerStyles = css({
|
|
|
256
256
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
257
257
|
'&:has(.first-node-in-document)': {
|
|
258
258
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
259
|
-
'> .pm-breakout-resize-handle': {
|
|
259
|
+
'> .pm-breakout-resize-handle-container': {
|
|
260
260
|
height: '100%'
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
264
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
265
|
-
'.pm-breakout-resize-handle': {
|
|
265
|
+
'.pm-breakout-resize-handle-container': {
|
|
266
|
+
position: 'relative',
|
|
267
|
+
alignSelf: 'end',
|
|
268
|
+
gridRow: 1,
|
|
269
|
+
gridColumn: 1,
|
|
270
|
+
height: '100%',
|
|
271
|
+
width: 7
|
|
272
|
+
},
|
|
273
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
274
|
+
'.pm-breakout-resize-handle-container--left': {
|
|
275
|
+
justifySelf: 'start'
|
|
276
|
+
},
|
|
277
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
278
|
+
'.pm-breakout-resize-handle-container--right': {
|
|
279
|
+
justifySelf: 'end'
|
|
280
|
+
},
|
|
281
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
282
|
+
'.pm-breakout-resize-handle-rail': {
|
|
266
283
|
position: 'relative',
|
|
267
284
|
display: 'flex',
|
|
268
285
|
alignItems: 'center',
|
|
269
286
|
justifyContent: 'center',
|
|
270
287
|
height: '100%',
|
|
271
|
-
width: 7,
|
|
272
|
-
alignSelf: 'end',
|
|
273
|
-
gridRow: 1,
|
|
274
|
-
gridColumn: 1,
|
|
275
288
|
cursor: 'col-resize',
|
|
276
289
|
borderRadius: 4,
|
|
277
290
|
transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
|
|
278
291
|
zIndex: 2,
|
|
292
|
+
opacity: 0,
|
|
279
293
|
'&:hover': {
|
|
280
294
|
background: "var(--ds-background-selected, #E9F2FF)",
|
|
281
295
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
282
|
-
'.pm-breakout-resize-handle-
|
|
296
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
283
297
|
background: "var(--ds-border-focused, #388BFF)"
|
|
284
298
|
}
|
|
285
299
|
}
|
|
286
300
|
},
|
|
301
|
+
// same as 'hover' styles above
|
|
287
302
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
288
|
-
'.pm-breakout-resize-handle-
|
|
289
|
-
|
|
303
|
+
'.pm-breakout-resize-handle-container--active': {
|
|
304
|
+
background: "var(--ds-background-selected, #E9F2FF)",
|
|
305
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
306
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
307
|
+
background: "var(--ds-border-focused, #388BFF)"
|
|
308
|
+
}
|
|
290
309
|
},
|
|
291
310
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
292
|
-
'.pm-breakout-resize-handle-
|
|
293
|
-
|
|
311
|
+
'.pm-breakout-resize-handle-hit-box': {
|
|
312
|
+
position: 'absolute',
|
|
313
|
+
top: 0,
|
|
314
|
+
bottom: 0,
|
|
315
|
+
left: -20,
|
|
316
|
+
right: -20,
|
|
317
|
+
zIndex: 0
|
|
294
318
|
},
|
|
295
319
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
296
|
-
'.pm-breakout-resize-handle-
|
|
297
|
-
minWidth:
|
|
320
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
321
|
+
minWidth: resizerHandleThumbWidth,
|
|
298
322
|
// copied from resizeStyles.clamped
|
|
299
323
|
height: 'clamp(27px, calc(100% - 32px), 96px)',
|
|
300
324
|
background: "var(--ds-border, #091E4224)",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "207.
|
|
2
|
+
export const version = "207.15.0";
|
|
@@ -162,40 +162,40 @@ export var pragmaticResizerStyles = css({
|
|
|
162
162
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
163
163
|
'&:has([data-prosemirror-node-name="codeBlock"])': {
|
|
164
164
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
165
|
-
'> .pm-breakout-resize-handle-left': {
|
|
165
|
+
'> .pm-breakout-resize-handle-container--left': {
|
|
166
166
|
left: '-12px'
|
|
167
167
|
},
|
|
168
168
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
169
|
-
'> .pm-breakout-resize-handle-right': {
|
|
169
|
+
'> .pm-breakout-resize-handle-container--right': {
|
|
170
170
|
right: '-12px'
|
|
171
171
|
},
|
|
172
172
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
173
|
-
'> .pm-breakout-resize-handle': {
|
|
173
|
+
'> .pm-breakout-resize-handle-container': {
|
|
174
174
|
height: 'calc(100% - 12px)'
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
177
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
178
178
|
'&:has([data-prosemirror-node-name="expand"]), &:has([data-prosemirror-node-name="layoutSection"])': {
|
|
179
179
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
180
|
-
'> .pm-breakout-resize-handle-left': {
|
|
180
|
+
'> .pm-breakout-resize-handle-container--left': {
|
|
181
181
|
left: '-32px'
|
|
182
182
|
},
|
|
183
183
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
184
|
-
'> .pm-breakout-resize-handle-right': {
|
|
184
|
+
'> .pm-breakout-resize-handle-container--right': {
|
|
185
185
|
right: '-32px'
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
189
189
|
'&:has([data-prosemirror-node-name="expand"])': {
|
|
190
190
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
191
|
-
'> .pm-breakout-resize-handle': {
|
|
191
|
+
'> .pm-breakout-resize-handle-container': {
|
|
192
192
|
height: 'calc(100% - 4px)'
|
|
193
193
|
}
|
|
194
194
|
},
|
|
195
195
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
196
196
|
'&:has([data-prosemirror-node-name="layoutSection"])': {
|
|
197
197
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
198
|
-
'> .pm-breakout-resize-handle': {
|
|
198
|
+
'> .pm-breakout-resize-handle-container': {
|
|
199
199
|
height: 'calc(100% - 8px)'
|
|
200
200
|
}
|
|
201
201
|
},
|
|
@@ -203,45 +203,69 @@ export var pragmaticResizerStyles = css({
|
|
|
203
203
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
204
204
|
'&:has(.first-node-in-document)': {
|
|
205
205
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
206
|
-
'> .pm-breakout-resize-handle': {
|
|
206
|
+
'> .pm-breakout-resize-handle-container': {
|
|
207
207
|
height: '100%'
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
211
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
212
|
-
'.pm-breakout-resize-handle': {
|
|
212
|
+
'.pm-breakout-resize-handle-container': {
|
|
213
|
+
position: 'relative',
|
|
214
|
+
alignSelf: 'end',
|
|
215
|
+
gridRow: 1,
|
|
216
|
+
gridColumn: 1,
|
|
217
|
+
height: '100%',
|
|
218
|
+
width: 7
|
|
219
|
+
},
|
|
220
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
221
|
+
'.pm-breakout-resize-handle-container--left': {
|
|
222
|
+
justifySelf: 'start'
|
|
223
|
+
},
|
|
224
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
225
|
+
'.pm-breakout-resize-handle-container--right': {
|
|
226
|
+
justifySelf: 'end'
|
|
227
|
+
},
|
|
228
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
229
|
+
'.pm-breakout-resize-handle-rail': {
|
|
213
230
|
position: 'relative',
|
|
214
231
|
display: 'flex',
|
|
215
232
|
alignItems: 'center',
|
|
216
233
|
justifyContent: 'center',
|
|
217
234
|
height: '100%',
|
|
218
|
-
width: 7,
|
|
219
|
-
alignSelf: 'end',
|
|
220
|
-
gridRow: 1,
|
|
221
|
-
gridColumn: 1,
|
|
222
235
|
cursor: 'col-resize',
|
|
223
236
|
borderRadius: 4,
|
|
224
237
|
transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
|
|
225
238
|
zIndex: 2,
|
|
239
|
+
opacity: 0,
|
|
226
240
|
'&:hover': {
|
|
227
241
|
background: "var(--ds-background-selected, #E9F2FF)",
|
|
228
242
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
229
|
-
'.pm-breakout-resize-handle-
|
|
243
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
230
244
|
background: "var(--ds-border-focused, #388BFF)"
|
|
231
245
|
}
|
|
232
246
|
}
|
|
233
247
|
},
|
|
248
|
+
// same as 'hover' styles above
|
|
234
249
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
235
|
-
'.pm-breakout-resize-handle-
|
|
236
|
-
|
|
250
|
+
'.pm-breakout-resize-handle-container--active': {
|
|
251
|
+
background: "var(--ds-background-selected, #E9F2FF)",
|
|
252
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
253
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
254
|
+
background: "var(--ds-border-focused, #388BFF)"
|
|
255
|
+
}
|
|
237
256
|
},
|
|
238
257
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
239
|
-
'.pm-breakout-resize-handle-
|
|
240
|
-
|
|
258
|
+
'.pm-breakout-resize-handle-hit-box': {
|
|
259
|
+
position: 'absolute',
|
|
260
|
+
top: 0,
|
|
261
|
+
bottom: 0,
|
|
262
|
+
left: -20,
|
|
263
|
+
right: -20,
|
|
264
|
+
zIndex: 0
|
|
241
265
|
},
|
|
242
266
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
243
|
-
'.pm-breakout-resize-handle-
|
|
244
|
-
minWidth:
|
|
267
|
+
'.pm-breakout-resize-handle-thumb': {
|
|
268
|
+
minWidth: resizerHandleThumbWidth,
|
|
245
269
|
// copied from resizeStyles.clamped
|
|
246
270
|
height: 'clamp(27px, calc(100% - 32px), 96px)',
|
|
247
271
|
background: "var(--ds-border, #091E4224)",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "207.
|
|
2
|
+
export var version = "207.15.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type ChromelessEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'quickInsert' | 'performanceTracking' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders'>;
|
|
3
|
+
export type ChromelessEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'quickInsert' | 'performanceTracking' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders' | 'popupsMountPoint'>;
|
|
4
4
|
/**
|
|
5
5
|
* Editor component based on `ComposableEditor` which sets the `appearance` to "chromeless".
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type ChromelessEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'quickInsert' | 'performanceTracking' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders'>;
|
|
3
|
+
export type ChromelessEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'quickInsert' | 'performanceTracking' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders' | 'popupsMountPoint'>;
|
|
4
4
|
/**
|
|
5
5
|
* Editor component based on `ComposableEditor` which sets the `appearance` to "chromeless".
|
|
6
6
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "207.
|
|
3
|
+
"version": "207.15.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^23.2.0",
|
|
48
48
|
"@atlaskit/css": "^0.10.0",
|
|
49
|
-
"@atlaskit/editor-common": "^106.
|
|
49
|
+
"@atlaskit/editor-common": "^106.2.0",
|
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
51
51
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^2.5.0",
|
|
53
53
|
"@atlaskit/editor-plugins": "^9.1.0",
|
|
54
54
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
55
55
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
56
|
-
"@atlaskit/emoji": "^69.
|
|
56
|
+
"@atlaskit/emoji": "^69.3.0",
|
|
57
57
|
"@atlaskit/icon": "^26.4.0",
|
|
58
58
|
"@atlaskit/link": "^3.2.0",
|
|
59
59
|
"@atlaskit/media-card": "^79.3.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
63
63
|
"@atlaskit/react-ufo": "^3.13.0",
|
|
64
64
|
"@atlaskit/task-decision": "^19.2.0",
|
|
65
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
65
|
+
"@atlaskit/tmp-editor-statsig": "^5.12.0",
|
|
66
66
|
"@atlaskit/tokens": "^5.0.0",
|
|
67
67
|
"@atlaskit/tooltip": "^20.3.0",
|
|
68
68
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
"@af/visual-regression": "workspace:^",
|
|
91
91
|
"@atlaskit/adf-utils": "^19.20.0",
|
|
92
92
|
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
93
|
-
"@atlaskit/collab-provider": "^10.
|
|
93
|
+
"@atlaskit/collab-provider": "^10.19.0",
|
|
94
94
|
"@atlaskit/editor-plugin-annotation": "^2.9.0",
|
|
95
|
-
"@atlaskit/editor-plugin-card": "^6.
|
|
95
|
+
"@atlaskit/editor-plugin-card": "^6.5.0",
|
|
96
96
|
"@atlaskit/editor-plugin-list": "^4.2.0",
|
|
97
97
|
"@atlaskit/editor-plugin-paste": "^3.3.0",
|
|
98
98
|
"@atlaskit/link-provider": "^3.3.0",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"@atlaskit/primitives": "^14.8.0",
|
|
105
105
|
"@atlaskit/renderer": "^118.6.0",
|
|
106
106
|
"@atlaskit/section-message": "^8.2.0",
|
|
107
|
-
"@atlaskit/smart-card": "^38.
|
|
107
|
+
"@atlaskit/smart-card": "^38.7.0",
|
|
108
108
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
109
109
|
"@atlaskit/toggle": "^15.0.0",
|
|
110
110
|
"@atlaskit/util-data-test": "^18.0.0",
|