@atlaskit/editor-core 217.9.0 → 217.9.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.
- package/CHANGELOG.md +10 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +1 -5
- package/dist/cjs/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +1 -343
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +2 -6
- package/dist/es2019/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -346
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +2 -6
- package/dist/esm/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -342
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +0 -2
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +0 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 217.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e2f512c5e8eba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e2f512c5e8eba) -
|
|
8
|
+
Clean up feature flag platform_editor_task_item_styles for task item checkbox and remove unused
|
|
9
|
+
styles objects taskItemCheckboxStylesWithBlockTaskItem and taskItemCheckboxStyles. Renamed
|
|
10
|
+
taskItemNextCheckboxStyles to taskItemCheckboxStyles
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 217.9.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -336,11 +336,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
336
336
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
337
337
|
_tasksAndDecisionsStyles.taskItemStylesWithBlockTaskItem :
|
|
338
338
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
339
|
-
_tasksAndDecisionsStyles.taskItemStyles,
|
|
340
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
341
|
-
_tasksAndDecisionsStyles.taskItemNextCheckboxStyles : (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ?
|
|
342
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
343
|
-
_tasksAndDecisionsStyles.taskItemCheckboxStylesWithBlockTaskItem :
|
|
339
|
+
_tasksAndDecisionsStyles.taskItemStyles,
|
|
344
340
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
345
341
|
_tasksAndDecisionsStyles.taskItemCheckboxStyles,
|
|
346
342
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.tasksAndDecisionsStyles = exports.taskItemStylesWithBlockTaskItem = exports.taskItemStyles = exports.
|
|
7
|
+
exports.tasksAndDecisionsStyles = exports.taskItemStylesWithBlockTaskItem = exports.taskItemStyles = exports.taskItemCheckboxStyles = exports.getDenseTasksAndDecisionsStyles = exports.decisionStyles = exports.decisionIconWithoutVisualRefresh = exports.decisionIconWithVisualRefresh = exports.decisionDangerStyles = exports.TaskDecisionSharedCssClassName = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
@@ -264,348 +264,6 @@ var taskItemStyles = exports.taskItemStyles = (0, _react.css)({
|
|
|
264
264
|
|
|
265
265
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
266
266
|
var taskItemCheckboxStyles = exports.taskItemCheckboxStyles = (0, _react.css)((0, _defineProperty2.default)({
|
|
267
|
-
// copied styles from packages/design-system/icon/src/components/icon-new.tsx
|
|
268
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
269
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"]': {
|
|
270
|
-
display: 'inline-block',
|
|
271
|
-
boxSizing: 'border-box',
|
|
272
|
-
flexShrink: 0,
|
|
273
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
274
|
-
lineHeight: 1,
|
|
275
|
-
paddingInlineEnd: 'var(--ds--button--new-icon-padding-end, 0)',
|
|
276
|
-
paddingInlineStart: 'var(--ds--button--new-icon-padding-start, 0)'
|
|
277
|
-
},
|
|
278
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
279
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"] svg': {
|
|
280
|
-
overflow: 'hidden',
|
|
281
|
-
pointerEvents: 'none',
|
|
282
|
-
color: 'currentColor',
|
|
283
|
-
verticalAlign: 'bottom',
|
|
284
|
-
width: "var(--ds-space-200, 16px)",
|
|
285
|
-
height: "var(--ds-space-200, 16px)"
|
|
286
|
-
},
|
|
287
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
288
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon]': {
|
|
289
|
-
display: 'none'
|
|
290
|
-
},
|
|
291
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
292
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon]': {
|
|
293
|
-
display: 'inline'
|
|
294
|
-
},
|
|
295
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
296
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon]': {
|
|
297
|
-
display: 'inline'
|
|
298
|
-
},
|
|
299
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
300
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon]': {
|
|
301
|
-
display: 'none'
|
|
302
|
-
}
|
|
303
|
-
}, "[data-prosemirror-node-name=\"taskItem\"] .".concat(TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER), {
|
|
304
|
-
flex: '0 0 24px',
|
|
305
|
-
width: '24px',
|
|
306
|
-
height: '24px',
|
|
307
|
-
position: 'relative',
|
|
308
|
-
alignSelf: 'start',
|
|
309
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
310
|
-
"& > input[type='checkbox']": {
|
|
311
|
-
width: '16px',
|
|
312
|
-
height: '16px',
|
|
313
|
-
zIndex: 1,
|
|
314
|
-
cursor: 'pointer',
|
|
315
|
-
outline: 'none',
|
|
316
|
-
margin: 0,
|
|
317
|
-
opacity: 0,
|
|
318
|
-
position: 'absolute',
|
|
319
|
-
top: '50%',
|
|
320
|
-
left: '50%',
|
|
321
|
-
transform: 'translate(-50%, -50%)',
|
|
322
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
323
|
-
'&[disabled]': {
|
|
324
|
-
cursor: 'default'
|
|
325
|
-
},
|
|
326
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
327
|
-
'+ span': {
|
|
328
|
-
width: '24px',
|
|
329
|
-
height: '24px',
|
|
330
|
-
position: 'absolute',
|
|
331
|
-
top: '50%',
|
|
332
|
-
left: '50%',
|
|
333
|
-
transform: 'translate(-50%, -50%)'
|
|
334
|
-
},
|
|
335
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
336
|
-
'+ span > svg': {
|
|
337
|
-
boxSizing: 'border-box',
|
|
338
|
-
display: 'inline',
|
|
339
|
-
top: '50%',
|
|
340
|
-
left: '50%',
|
|
341
|
-
transform: 'translate(-50%, -50%)',
|
|
342
|
-
maxWidth: 'unset',
|
|
343
|
-
maxHeight: 'unset',
|
|
344
|
-
position: 'absolute',
|
|
345
|
-
overflow: 'hidden',
|
|
346
|
-
color: "var(--ds-background-input, #FFFFFF)",
|
|
347
|
-
transition: 'color 0.2s ease-in-out, fill 0.2s ease-in-out',
|
|
348
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
349
|
-
'path:first-of-type': {
|
|
350
|
-
visibility: 'hidden'
|
|
351
|
-
},
|
|
352
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
353
|
-
'rect:first-of-type': {
|
|
354
|
-
stroke: "var(--ds-border-input, #8C8F97)",
|
|
355
|
-
strokeWidth: 1,
|
|
356
|
-
transition: 'stroke 0.2s ease-in-out'
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
360
|
-
'&:hover + span > svg': {
|
|
361
|
-
color: "var(--ds-background-input-hovered, #F8F8F8)",
|
|
362
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
363
|
-
'rect:first-of-type': {
|
|
364
|
-
stroke: "var(--ds-border-input, #8C8F97)"
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
368
|
-
'&:checked:hover + span > svg': {
|
|
369
|
-
color: "var(--ds-background-selected-bold-hovered, #1558BC)",
|
|
370
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
371
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
372
|
-
'rect:first-of-type': {
|
|
373
|
-
stroke: "var(--ds-background-selected-bold-hovered, #1558BC)"
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
'&:checked': {
|
|
377
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
378
|
-
'+ span > svg': {
|
|
379
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
380
|
-
'path:first-of-type': {
|
|
381
|
-
visibility: 'visible'
|
|
382
|
-
},
|
|
383
|
-
color: "var(--ds-background-selected-bold, #1868DB)",
|
|
384
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
385
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
386
|
-
'rect:first-of-type': {
|
|
387
|
-
stroke: "var(--ds-background-selected-bold, #1868DB)"
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
392
|
-
'&:active + span > svg': {
|
|
393
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
394
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
395
|
-
'rect:first-of-type': {
|
|
396
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
400
|
-
'&:checked:active + span > svg': {
|
|
401
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
402
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
403
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
404
|
-
'rect:first-of-type': {
|
|
405
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
409
|
-
'&:disabled + span > svg, &:disabled:hover + span > svg, &:disabled:focus + span > svg, &:disabled:active + span > svg': {
|
|
410
|
-
color: "var(--ds-background-disabled, #17171708)",
|
|
411
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
412
|
-
'rect:first-of-type': {
|
|
413
|
-
stroke: "var(--ds-background-disabled, #17171708)"
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
417
|
-
'&:disabled:checked + span > svg': {
|
|
418
|
-
fill: "var(--ds-icon-disabled, #080F214A)"
|
|
419
|
-
},
|
|
420
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
421
|
-
'&:focus + span::after': {
|
|
422
|
-
position: 'absolute',
|
|
423
|
-
width: "var(--ds-space-200, 16px)",
|
|
424
|
-
height: "var(--ds-space-200, 16px)",
|
|
425
|
-
border: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
426
|
-
borderRadius: "var(--ds-space-050, 4px)",
|
|
427
|
-
content: "''",
|
|
428
|
-
display: 'block',
|
|
429
|
-
top: '50%',
|
|
430
|
-
left: '50%',
|
|
431
|
-
transform: 'translate(-50%, -50%)'
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}));
|
|
435
|
-
|
|
436
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
437
|
-
var taskItemCheckboxStylesWithBlockTaskItem = exports.taskItemCheckboxStylesWithBlockTaskItem = (0, _react.css)((0, _defineProperty2.default)({
|
|
438
|
-
// copied styles from packages/design-system/icon/src/components/icon-new.tsx
|
|
439
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
440
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"], [data-prosemirror-node-name="blockTaskItem"] [data-component="checkbox-icon-wrap"]': {
|
|
441
|
-
display: 'inline-block',
|
|
442
|
-
boxSizing: 'border-box',
|
|
443
|
-
flexShrink: 0,
|
|
444
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
445
|
-
lineHeight: 1,
|
|
446
|
-
paddingInlineEnd: 'var(--ds--button--new-icon-padding-end, 0)',
|
|
447
|
-
paddingInlineStart: 'var(--ds--button--new-icon-padding-start, 0)'
|
|
448
|
-
},
|
|
449
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
450
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"] svg, [data-prosemirror-node-name="blockTaskItem"] [data-component="checkbox-icon-wrap"] svg': {
|
|
451
|
-
overflow: 'hidden',
|
|
452
|
-
pointerEvents: 'none',
|
|
453
|
-
color: 'currentColor',
|
|
454
|
-
verticalAlign: 'bottom',
|
|
455
|
-
width: "var(--ds-space-200, 16px)",
|
|
456
|
-
height: "var(--ds-space-200, 16px)"
|
|
457
|
-
},
|
|
458
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
459
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon]': {
|
|
460
|
-
display: 'none'
|
|
461
|
-
},
|
|
462
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
463
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon]': {
|
|
464
|
-
display: 'inline'
|
|
465
|
-
},
|
|
466
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
467
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon]': {
|
|
468
|
-
display: 'inline'
|
|
469
|
-
},
|
|
470
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
471
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon]': {
|
|
472
|
-
display: 'none'
|
|
473
|
-
}
|
|
474
|
-
}, "[data-prosemirror-node-name=\"taskItem\"] .".concat(TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER, ", [data-prosemirror-node-name=\"blockTaskItem\"] .").concat(TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER), {
|
|
475
|
-
flex: '0 0 24px',
|
|
476
|
-
width: '24px',
|
|
477
|
-
height: '24px',
|
|
478
|
-
position: 'relative',
|
|
479
|
-
alignSelf: 'start',
|
|
480
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
481
|
-
"& > input[type='checkbox']": {
|
|
482
|
-
width: '16px',
|
|
483
|
-
height: '16px',
|
|
484
|
-
zIndex: 1,
|
|
485
|
-
cursor: 'pointer',
|
|
486
|
-
outline: 'none',
|
|
487
|
-
margin: 0,
|
|
488
|
-
opacity: 0,
|
|
489
|
-
position: 'absolute',
|
|
490
|
-
top: '50%',
|
|
491
|
-
left: '50%',
|
|
492
|
-
transform: 'translate(-50%, -50%)',
|
|
493
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
494
|
-
'&[disabled]': {
|
|
495
|
-
cursor: 'default'
|
|
496
|
-
},
|
|
497
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
498
|
-
'+ span': {
|
|
499
|
-
width: '24px',
|
|
500
|
-
height: '24px',
|
|
501
|
-
position: 'absolute',
|
|
502
|
-
top: '50%',
|
|
503
|
-
left: '50%',
|
|
504
|
-
transform: 'translate(-50%, -50%)'
|
|
505
|
-
},
|
|
506
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
507
|
-
'+ span > svg': {
|
|
508
|
-
boxSizing: 'border-box',
|
|
509
|
-
display: 'inline',
|
|
510
|
-
top: '50%',
|
|
511
|
-
left: '50%',
|
|
512
|
-
transform: 'translate(-50%, -50%)',
|
|
513
|
-
maxWidth: 'unset',
|
|
514
|
-
maxHeight: 'unset',
|
|
515
|
-
position: 'absolute',
|
|
516
|
-
overflow: 'hidden',
|
|
517
|
-
color: "var(--ds-background-input, #FFFFFF)",
|
|
518
|
-
transition: 'color 0.2s ease-in-out, fill 0.2s ease-in-out',
|
|
519
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
520
|
-
'path:first-of-type': {
|
|
521
|
-
visibility: 'hidden'
|
|
522
|
-
},
|
|
523
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
524
|
-
'rect:first-of-type': {
|
|
525
|
-
stroke: "var(--ds-border-input, #8C8F97)",
|
|
526
|
-
strokeWidth: 1,
|
|
527
|
-
transition: 'stroke 0.2s ease-in-out'
|
|
528
|
-
}
|
|
529
|
-
},
|
|
530
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
531
|
-
'&:hover + span > svg': {
|
|
532
|
-
color: "var(--ds-background-input-hovered, #F8F8F8)",
|
|
533
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
534
|
-
'rect:first-of-type': {
|
|
535
|
-
stroke: "var(--ds-border-input, #8C8F97)"
|
|
536
|
-
}
|
|
537
|
-
},
|
|
538
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
539
|
-
'&:checked:hover + span > svg': {
|
|
540
|
-
color: "var(--ds-background-selected-bold-hovered, #1558BC)",
|
|
541
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
542
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
543
|
-
'rect:first-of-type': {
|
|
544
|
-
stroke: "var(--ds-background-selected-bold-hovered, #1558BC)"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
'&:checked': {
|
|
548
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
549
|
-
'+ span > svg': {
|
|
550
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
551
|
-
'path:first-of-type': {
|
|
552
|
-
visibility: 'visible'
|
|
553
|
-
},
|
|
554
|
-
color: "var(--ds-background-selected-bold, #1868DB)",
|
|
555
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
556
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
557
|
-
'rect:first-of-type': {
|
|
558
|
-
stroke: "var(--ds-background-selected-bold, #1868DB)"
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
563
|
-
'&:active + span > svg': {
|
|
564
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
565
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
566
|
-
'rect:first-of-type': {
|
|
567
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
571
|
-
'&:checked:active + span > svg': {
|
|
572
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
573
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
574
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
575
|
-
'rect:first-of-type': {
|
|
576
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
580
|
-
'&:disabled + span > svg, &:disabled:hover + span > svg, &:disabled:focus + span > svg, &:disabled:active + span > svg': {
|
|
581
|
-
color: "var(--ds-background-disabled, #17171708)",
|
|
582
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
583
|
-
'rect:first-of-type': {
|
|
584
|
-
stroke: "var(--ds-background-disabled, #17171708)"
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
588
|
-
'&:disabled:checked + span > svg': {
|
|
589
|
-
fill: "var(--ds-icon-disabled, #080F214A)"
|
|
590
|
-
},
|
|
591
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
592
|
-
'&:focus + span::after': {
|
|
593
|
-
position: 'absolute',
|
|
594
|
-
width: "var(--ds-space-200, 16px)",
|
|
595
|
-
height: "var(--ds-space-200, 16px)",
|
|
596
|
-
border: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
597
|
-
borderRadius: "var(--ds-space-050, 4px)",
|
|
598
|
-
content: "''",
|
|
599
|
-
display: 'block',
|
|
600
|
-
top: '50%',
|
|
601
|
-
left: '50%',
|
|
602
|
-
transform: 'translate(-50%, -50%)'
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
}));
|
|
606
|
-
|
|
607
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
608
|
-
var taskItemNextCheckboxStyles = exports.taskItemNextCheckboxStyles = (0, _react.css)((0, _defineProperty2.default)({
|
|
609
267
|
/**
|
|
610
268
|
* Background
|
|
611
269
|
*/
|
|
@@ -60,7 +60,7 @@ import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDe
|
|
|
60
60
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
61
61
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles } from './styles/syncBlockStyles';
|
|
62
62
|
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes } from './styles/tableStyles';
|
|
63
|
-
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles,
|
|
63
|
+
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
64
64
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
65
65
|
import { textColorStyles } from './styles/textColorStyles';
|
|
66
66
|
import { textHighlightStyle } from './styles/textHighlightStyles';
|
|
@@ -332,11 +332,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
332
332
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
333
333
|
taskItemStylesWithBlockTaskItem :
|
|
334
334
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
335
|
-
taskItemStyles,
|
|
336
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
337
|
-
taskItemNextCheckboxStyles : expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ?
|
|
338
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
339
|
-
taskItemCheckboxStylesWithBlockTaskItem :
|
|
335
|
+
taskItemStyles,
|
|
340
336
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
341
337
|
taskItemCheckboxStyles,
|
|
342
338
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -302,352 +302,6 @@ export const taskItemStyles = css({
|
|
|
302
302
|
|
|
303
303
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
304
304
|
export const taskItemCheckboxStyles = css({
|
|
305
|
-
// copied styles from packages/design-system/icon/src/components/icon-new.tsx
|
|
306
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
307
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"]': {
|
|
308
|
-
display: 'inline-block',
|
|
309
|
-
boxSizing: 'border-box',
|
|
310
|
-
flexShrink: 0,
|
|
311
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
312
|
-
lineHeight: 1,
|
|
313
|
-
paddingInlineEnd: 'var(--ds--button--new-icon-padding-end, 0)',
|
|
314
|
-
paddingInlineStart: 'var(--ds--button--new-icon-padding-start, 0)'
|
|
315
|
-
},
|
|
316
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
317
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"] svg': {
|
|
318
|
-
overflow: 'hidden',
|
|
319
|
-
pointerEvents: 'none',
|
|
320
|
-
color: 'currentColor',
|
|
321
|
-
verticalAlign: 'bottom',
|
|
322
|
-
width: "var(--ds-space-200, 16px)",
|
|
323
|
-
height: "var(--ds-space-200, 16px)"
|
|
324
|
-
},
|
|
325
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
326
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon]': {
|
|
327
|
-
display: 'none'
|
|
328
|
-
},
|
|
329
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
330
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon]': {
|
|
331
|
-
display: 'inline'
|
|
332
|
-
},
|
|
333
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
334
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon]': {
|
|
335
|
-
display: 'inline'
|
|
336
|
-
},
|
|
337
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
338
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon]': {
|
|
339
|
-
display: 'none'
|
|
340
|
-
},
|
|
341
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
342
|
-
[`[data-prosemirror-node-name="taskItem"] .${TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER}`]: {
|
|
343
|
-
flex: '0 0 24px',
|
|
344
|
-
width: '24px',
|
|
345
|
-
height: '24px',
|
|
346
|
-
position: 'relative',
|
|
347
|
-
alignSelf: 'start',
|
|
348
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
349
|
-
"& > input[type='checkbox']": {
|
|
350
|
-
width: '16px',
|
|
351
|
-
height: '16px',
|
|
352
|
-
zIndex: 1,
|
|
353
|
-
cursor: 'pointer',
|
|
354
|
-
outline: 'none',
|
|
355
|
-
margin: 0,
|
|
356
|
-
opacity: 0,
|
|
357
|
-
position: 'absolute',
|
|
358
|
-
top: '50%',
|
|
359
|
-
left: '50%',
|
|
360
|
-
transform: 'translate(-50%, -50%)',
|
|
361
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
362
|
-
'&[disabled]': {
|
|
363
|
-
cursor: 'default'
|
|
364
|
-
},
|
|
365
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
366
|
-
'+ span': {
|
|
367
|
-
width: '24px',
|
|
368
|
-
height: '24px',
|
|
369
|
-
position: 'absolute',
|
|
370
|
-
top: '50%',
|
|
371
|
-
left: '50%',
|
|
372
|
-
transform: 'translate(-50%, -50%)'
|
|
373
|
-
},
|
|
374
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
375
|
-
'+ span > svg': {
|
|
376
|
-
boxSizing: 'border-box',
|
|
377
|
-
display: 'inline',
|
|
378
|
-
top: '50%',
|
|
379
|
-
left: '50%',
|
|
380
|
-
transform: 'translate(-50%, -50%)',
|
|
381
|
-
maxWidth: 'unset',
|
|
382
|
-
maxHeight: 'unset',
|
|
383
|
-
position: 'absolute',
|
|
384
|
-
overflow: 'hidden',
|
|
385
|
-
color: "var(--ds-background-input, #FFFFFF)",
|
|
386
|
-
transition: 'color 0.2s ease-in-out, fill 0.2s ease-in-out',
|
|
387
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
388
|
-
'path:first-of-type': {
|
|
389
|
-
visibility: 'hidden'
|
|
390
|
-
},
|
|
391
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
392
|
-
'rect:first-of-type': {
|
|
393
|
-
stroke: "var(--ds-border-input, #8C8F97)",
|
|
394
|
-
strokeWidth: 1,
|
|
395
|
-
transition: 'stroke 0.2s ease-in-out'
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
399
|
-
'&:hover + span > svg': {
|
|
400
|
-
color: "var(--ds-background-input-hovered, #F8F8F8)",
|
|
401
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
402
|
-
'rect:first-of-type': {
|
|
403
|
-
stroke: "var(--ds-border-input, #8C8F97)"
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
407
|
-
'&:checked:hover + span > svg': {
|
|
408
|
-
color: "var(--ds-background-selected-bold-hovered, #1558BC)",
|
|
409
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
410
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
411
|
-
'rect:first-of-type': {
|
|
412
|
-
stroke: "var(--ds-background-selected-bold-hovered, #1558BC)"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
'&:checked': {
|
|
416
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
417
|
-
'+ span > svg': {
|
|
418
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
419
|
-
'path:first-of-type': {
|
|
420
|
-
visibility: 'visible'
|
|
421
|
-
},
|
|
422
|
-
color: "var(--ds-background-selected-bold, #1868DB)",
|
|
423
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
424
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
425
|
-
'rect:first-of-type': {
|
|
426
|
-
stroke: "var(--ds-background-selected-bold, #1868DB)"
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
431
|
-
'&:active + span > svg': {
|
|
432
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
433
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
434
|
-
'rect:first-of-type': {
|
|
435
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
439
|
-
'&:checked:active + span > svg': {
|
|
440
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
441
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
442
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
443
|
-
'rect:first-of-type': {
|
|
444
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
448
|
-
'&:disabled + span > svg, &:disabled:hover + span > svg, &:disabled:focus + span > svg, &:disabled:active + span > svg': {
|
|
449
|
-
color: "var(--ds-background-disabled, #17171708)",
|
|
450
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
451
|
-
'rect:first-of-type': {
|
|
452
|
-
stroke: "var(--ds-background-disabled, #17171708)"
|
|
453
|
-
}
|
|
454
|
-
},
|
|
455
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
456
|
-
'&:disabled:checked + span > svg': {
|
|
457
|
-
fill: "var(--ds-icon-disabled, #080F214A)"
|
|
458
|
-
},
|
|
459
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
460
|
-
'&:focus + span::after': {
|
|
461
|
-
position: 'absolute',
|
|
462
|
-
width: "var(--ds-space-200, 16px)",
|
|
463
|
-
height: "var(--ds-space-200, 16px)",
|
|
464
|
-
border: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
465
|
-
borderRadius: "var(--ds-space-050, 4px)",
|
|
466
|
-
content: "''",
|
|
467
|
-
display: 'block',
|
|
468
|
-
top: '50%',
|
|
469
|
-
left: '50%',
|
|
470
|
-
transform: 'translate(-50%, -50%)'
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
});
|
|
475
|
-
|
|
476
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
477
|
-
export const taskItemCheckboxStylesWithBlockTaskItem = css({
|
|
478
|
-
// copied styles from packages/design-system/icon/src/components/icon-new.tsx
|
|
479
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
480
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"], [data-prosemirror-node-name="blockTaskItem"] [data-component="checkbox-icon-wrap"]': {
|
|
481
|
-
display: 'inline-block',
|
|
482
|
-
boxSizing: 'border-box',
|
|
483
|
-
flexShrink: 0,
|
|
484
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
485
|
-
lineHeight: 1,
|
|
486
|
-
paddingInlineEnd: 'var(--ds--button--new-icon-padding-end, 0)',
|
|
487
|
-
paddingInlineStart: 'var(--ds--button--new-icon-padding-start, 0)'
|
|
488
|
-
},
|
|
489
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
490
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"] svg, [data-prosemirror-node-name="blockTaskItem"] [data-component="checkbox-icon-wrap"] svg': {
|
|
491
|
-
overflow: 'hidden',
|
|
492
|
-
pointerEvents: 'none',
|
|
493
|
-
color: 'currentColor',
|
|
494
|
-
verticalAlign: 'bottom',
|
|
495
|
-
width: "var(--ds-space-200, 16px)",
|
|
496
|
-
height: "var(--ds-space-200, 16px)"
|
|
497
|
-
},
|
|
498
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
499
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon]': {
|
|
500
|
-
display: 'none'
|
|
501
|
-
},
|
|
502
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
503
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon]': {
|
|
504
|
-
display: 'inline'
|
|
505
|
-
},
|
|
506
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
507
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon]': {
|
|
508
|
-
display: 'inline'
|
|
509
|
-
},
|
|
510
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
511
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon]': {
|
|
512
|
-
display: 'none'
|
|
513
|
-
},
|
|
514
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
515
|
-
[`[data-prosemirror-node-name="taskItem"] .${TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER}, [data-prosemirror-node-name="blockTaskItem"] .${TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER}`]: {
|
|
516
|
-
flex: '0 0 24px',
|
|
517
|
-
width: '24px',
|
|
518
|
-
height: '24px',
|
|
519
|
-
position: 'relative',
|
|
520
|
-
alignSelf: 'start',
|
|
521
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
522
|
-
"& > input[type='checkbox']": {
|
|
523
|
-
width: '16px',
|
|
524
|
-
height: '16px',
|
|
525
|
-
zIndex: 1,
|
|
526
|
-
cursor: 'pointer',
|
|
527
|
-
outline: 'none',
|
|
528
|
-
margin: 0,
|
|
529
|
-
opacity: 0,
|
|
530
|
-
position: 'absolute',
|
|
531
|
-
top: '50%',
|
|
532
|
-
left: '50%',
|
|
533
|
-
transform: 'translate(-50%, -50%)',
|
|
534
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
535
|
-
'&[disabled]': {
|
|
536
|
-
cursor: 'default'
|
|
537
|
-
},
|
|
538
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
539
|
-
'+ span': {
|
|
540
|
-
width: '24px',
|
|
541
|
-
height: '24px',
|
|
542
|
-
position: 'absolute',
|
|
543
|
-
top: '50%',
|
|
544
|
-
left: '50%',
|
|
545
|
-
transform: 'translate(-50%, -50%)'
|
|
546
|
-
},
|
|
547
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
548
|
-
'+ span > svg': {
|
|
549
|
-
boxSizing: 'border-box',
|
|
550
|
-
display: 'inline',
|
|
551
|
-
top: '50%',
|
|
552
|
-
left: '50%',
|
|
553
|
-
transform: 'translate(-50%, -50%)',
|
|
554
|
-
maxWidth: 'unset',
|
|
555
|
-
maxHeight: 'unset',
|
|
556
|
-
position: 'absolute',
|
|
557
|
-
overflow: 'hidden',
|
|
558
|
-
color: "var(--ds-background-input, #FFFFFF)",
|
|
559
|
-
transition: 'color 0.2s ease-in-out, fill 0.2s ease-in-out',
|
|
560
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
561
|
-
'path:first-of-type': {
|
|
562
|
-
visibility: 'hidden'
|
|
563
|
-
},
|
|
564
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
565
|
-
'rect:first-of-type': {
|
|
566
|
-
stroke: "var(--ds-border-input, #8C8F97)",
|
|
567
|
-
strokeWidth: 1,
|
|
568
|
-
transition: 'stroke 0.2s ease-in-out'
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
572
|
-
'&:hover + span > svg': {
|
|
573
|
-
color: "var(--ds-background-input-hovered, #F8F8F8)",
|
|
574
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
575
|
-
'rect:first-of-type': {
|
|
576
|
-
stroke: "var(--ds-border-input, #8C8F97)"
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
580
|
-
'&:checked:hover + span > svg': {
|
|
581
|
-
color: "var(--ds-background-selected-bold-hovered, #1558BC)",
|
|
582
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
583
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
584
|
-
'rect:first-of-type': {
|
|
585
|
-
stroke: "var(--ds-background-selected-bold-hovered, #1558BC)"
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
'&:checked': {
|
|
589
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
590
|
-
'+ span > svg': {
|
|
591
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
592
|
-
'path:first-of-type': {
|
|
593
|
-
visibility: 'visible'
|
|
594
|
-
},
|
|
595
|
-
color: "var(--ds-background-selected-bold, #1868DB)",
|
|
596
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
597
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
598
|
-
'rect:first-of-type': {
|
|
599
|
-
stroke: "var(--ds-background-selected-bold, #1868DB)"
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
604
|
-
'&:active + span > svg': {
|
|
605
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
606
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
607
|
-
'rect:first-of-type': {
|
|
608
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
612
|
-
'&:checked:active + span > svg': {
|
|
613
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
614
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
615
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
616
|
-
'rect:first-of-type': {
|
|
617
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
621
|
-
'&:disabled + span > svg, &:disabled:hover + span > svg, &:disabled:focus + span > svg, &:disabled:active + span > svg': {
|
|
622
|
-
color: "var(--ds-background-disabled, #17171708)",
|
|
623
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
624
|
-
'rect:first-of-type': {
|
|
625
|
-
stroke: "var(--ds-background-disabled, #17171708)"
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
629
|
-
'&:disabled:checked + span > svg': {
|
|
630
|
-
fill: "var(--ds-icon-disabled, #080F214A)"
|
|
631
|
-
},
|
|
632
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
633
|
-
'&:focus + span::after': {
|
|
634
|
-
position: 'absolute',
|
|
635
|
-
width: "var(--ds-space-200, 16px)",
|
|
636
|
-
height: "var(--ds-space-200, 16px)",
|
|
637
|
-
border: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
638
|
-
borderRadius: "var(--ds-space-050, 4px)",
|
|
639
|
-
content: "''",
|
|
640
|
-
display: 'block',
|
|
641
|
-
top: '50%',
|
|
642
|
-
left: '50%',
|
|
643
|
-
transform: 'translate(-50%, -50%)'
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
});
|
|
648
|
-
|
|
649
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
650
|
-
export const taskItemNextCheckboxStyles = css({
|
|
651
305
|
/**
|
|
652
306
|
* Background
|
|
653
307
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "217.
|
|
2
|
+
export const version = "217.9.0";
|
|
@@ -61,7 +61,7 @@ import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDe
|
|
|
61
61
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
62
62
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles } from './styles/syncBlockStyles';
|
|
63
63
|
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes } from './styles/tableStyles';
|
|
64
|
-
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles,
|
|
64
|
+
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
65
65
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
66
66
|
import { textColorStyles } from './styles/textColorStyles';
|
|
67
67
|
import { textHighlightStyle } from './styles/textHighlightStyles';
|
|
@@ -328,11 +328,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
328
328
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
329
329
|
taskItemStylesWithBlockTaskItem :
|
|
330
330
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
331
|
-
taskItemStyles,
|
|
332
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
333
|
-
taskItemNextCheckboxStyles : expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ?
|
|
334
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
335
|
-
taskItemCheckboxStylesWithBlockTaskItem :
|
|
331
|
+
taskItemStyles,
|
|
336
332
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
337
333
|
taskItemCheckboxStyles,
|
|
338
334
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -257,348 +257,6 @@ export var taskItemStyles = css({
|
|
|
257
257
|
|
|
258
258
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
259
259
|
export var taskItemCheckboxStyles = css(_defineProperty({
|
|
260
|
-
// copied styles from packages/design-system/icon/src/components/icon-new.tsx
|
|
261
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
262
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"]': {
|
|
263
|
-
display: 'inline-block',
|
|
264
|
-
boxSizing: 'border-box',
|
|
265
|
-
flexShrink: 0,
|
|
266
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
267
|
-
lineHeight: 1,
|
|
268
|
-
paddingInlineEnd: 'var(--ds--button--new-icon-padding-end, 0)',
|
|
269
|
-
paddingInlineStart: 'var(--ds--button--new-icon-padding-start, 0)'
|
|
270
|
-
},
|
|
271
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
272
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"] svg': {
|
|
273
|
-
overflow: 'hidden',
|
|
274
|
-
pointerEvents: 'none',
|
|
275
|
-
color: 'currentColor',
|
|
276
|
-
verticalAlign: 'bottom',
|
|
277
|
-
width: "var(--ds-space-200, 16px)",
|
|
278
|
-
height: "var(--ds-space-200, 16px)"
|
|
279
|
-
},
|
|
280
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
281
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon]': {
|
|
282
|
-
display: 'none'
|
|
283
|
-
},
|
|
284
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
285
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon]': {
|
|
286
|
-
display: 'inline'
|
|
287
|
-
},
|
|
288
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
289
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon]': {
|
|
290
|
-
display: 'inline'
|
|
291
|
-
},
|
|
292
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
293
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon]': {
|
|
294
|
-
display: 'none'
|
|
295
|
-
}
|
|
296
|
-
}, "[data-prosemirror-node-name=\"taskItem\"] .".concat(TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER), {
|
|
297
|
-
flex: '0 0 24px',
|
|
298
|
-
width: '24px',
|
|
299
|
-
height: '24px',
|
|
300
|
-
position: 'relative',
|
|
301
|
-
alignSelf: 'start',
|
|
302
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
303
|
-
"& > input[type='checkbox']": {
|
|
304
|
-
width: '16px',
|
|
305
|
-
height: '16px',
|
|
306
|
-
zIndex: 1,
|
|
307
|
-
cursor: 'pointer',
|
|
308
|
-
outline: 'none',
|
|
309
|
-
margin: 0,
|
|
310
|
-
opacity: 0,
|
|
311
|
-
position: 'absolute',
|
|
312
|
-
top: '50%',
|
|
313
|
-
left: '50%',
|
|
314
|
-
transform: 'translate(-50%, -50%)',
|
|
315
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
316
|
-
'&[disabled]': {
|
|
317
|
-
cursor: 'default'
|
|
318
|
-
},
|
|
319
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
320
|
-
'+ span': {
|
|
321
|
-
width: '24px',
|
|
322
|
-
height: '24px',
|
|
323
|
-
position: 'absolute',
|
|
324
|
-
top: '50%',
|
|
325
|
-
left: '50%',
|
|
326
|
-
transform: 'translate(-50%, -50%)'
|
|
327
|
-
},
|
|
328
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
329
|
-
'+ span > svg': {
|
|
330
|
-
boxSizing: 'border-box',
|
|
331
|
-
display: 'inline',
|
|
332
|
-
top: '50%',
|
|
333
|
-
left: '50%',
|
|
334
|
-
transform: 'translate(-50%, -50%)',
|
|
335
|
-
maxWidth: 'unset',
|
|
336
|
-
maxHeight: 'unset',
|
|
337
|
-
position: 'absolute',
|
|
338
|
-
overflow: 'hidden',
|
|
339
|
-
color: "var(--ds-background-input, #FFFFFF)",
|
|
340
|
-
transition: 'color 0.2s ease-in-out, fill 0.2s ease-in-out',
|
|
341
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
342
|
-
'path:first-of-type': {
|
|
343
|
-
visibility: 'hidden'
|
|
344
|
-
},
|
|
345
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
346
|
-
'rect:first-of-type': {
|
|
347
|
-
stroke: "var(--ds-border-input, #8C8F97)",
|
|
348
|
-
strokeWidth: 1,
|
|
349
|
-
transition: 'stroke 0.2s ease-in-out'
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
353
|
-
'&:hover + span > svg': {
|
|
354
|
-
color: "var(--ds-background-input-hovered, #F8F8F8)",
|
|
355
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
356
|
-
'rect:first-of-type': {
|
|
357
|
-
stroke: "var(--ds-border-input, #8C8F97)"
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
361
|
-
'&:checked:hover + span > svg': {
|
|
362
|
-
color: "var(--ds-background-selected-bold-hovered, #1558BC)",
|
|
363
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
364
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
365
|
-
'rect:first-of-type': {
|
|
366
|
-
stroke: "var(--ds-background-selected-bold-hovered, #1558BC)"
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
'&:checked': {
|
|
370
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
371
|
-
'+ span > svg': {
|
|
372
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
373
|
-
'path:first-of-type': {
|
|
374
|
-
visibility: 'visible'
|
|
375
|
-
},
|
|
376
|
-
color: "var(--ds-background-selected-bold, #1868DB)",
|
|
377
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
378
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
379
|
-
'rect:first-of-type': {
|
|
380
|
-
stroke: "var(--ds-background-selected-bold, #1868DB)"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
385
|
-
'&:active + span > svg': {
|
|
386
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
387
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
388
|
-
'rect:first-of-type': {
|
|
389
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
393
|
-
'&:checked:active + span > svg': {
|
|
394
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
395
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
396
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
397
|
-
'rect:first-of-type': {
|
|
398
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
402
|
-
'&:disabled + span > svg, &:disabled:hover + span > svg, &:disabled:focus + span > svg, &:disabled:active + span > svg': {
|
|
403
|
-
color: "var(--ds-background-disabled, #17171708)",
|
|
404
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
405
|
-
'rect:first-of-type': {
|
|
406
|
-
stroke: "var(--ds-background-disabled, #17171708)"
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
410
|
-
'&:disabled:checked + span > svg': {
|
|
411
|
-
fill: "var(--ds-icon-disabled, #080F214A)"
|
|
412
|
-
},
|
|
413
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
414
|
-
'&:focus + span::after': {
|
|
415
|
-
position: 'absolute',
|
|
416
|
-
width: "var(--ds-space-200, 16px)",
|
|
417
|
-
height: "var(--ds-space-200, 16px)",
|
|
418
|
-
border: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
419
|
-
borderRadius: "var(--ds-space-050, 4px)",
|
|
420
|
-
content: "''",
|
|
421
|
-
display: 'block',
|
|
422
|
-
top: '50%',
|
|
423
|
-
left: '50%',
|
|
424
|
-
transform: 'translate(-50%, -50%)'
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}));
|
|
428
|
-
|
|
429
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
430
|
-
export var taskItemCheckboxStylesWithBlockTaskItem = css(_defineProperty({
|
|
431
|
-
// copied styles from packages/design-system/icon/src/components/icon-new.tsx
|
|
432
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
433
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"], [data-prosemirror-node-name="blockTaskItem"] [data-component="checkbox-icon-wrap"]': {
|
|
434
|
-
display: 'inline-block',
|
|
435
|
-
boxSizing: 'border-box',
|
|
436
|
-
flexShrink: 0,
|
|
437
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
438
|
-
lineHeight: 1,
|
|
439
|
-
paddingInlineEnd: 'var(--ds--button--new-icon-padding-end, 0)',
|
|
440
|
-
paddingInlineStart: 'var(--ds--button--new-icon-padding-start, 0)'
|
|
441
|
-
},
|
|
442
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
443
|
-
'[data-prosemirror-node-name="taskItem"] [data-component="checkbox-icon-wrap"] svg, [data-prosemirror-node-name="blockTaskItem"] [data-component="checkbox-icon-wrap"] svg': {
|
|
444
|
-
overflow: 'hidden',
|
|
445
|
-
pointerEvents: 'none',
|
|
446
|
-
color: 'currentColor',
|
|
447
|
-
verticalAlign: 'bottom',
|
|
448
|
-
width: "var(--ds-space-200, 16px)",
|
|
449
|
-
height: "var(--ds-space-200, 16px)"
|
|
450
|
-
},
|
|
451
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
452
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-checked-icon]': {
|
|
453
|
-
display: 'none'
|
|
454
|
-
},
|
|
455
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
456
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:not(:checked) + span [data-component=checkbox-unchecked-icon]': {
|
|
457
|
-
display: 'inline'
|
|
458
|
-
},
|
|
459
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
460
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:checked + span [data-component=checkbox-checked-icon]': {
|
|
461
|
-
display: 'inline'
|
|
462
|
-
},
|
|
463
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
464
|
-
'[data-prosemirror-node-name="taskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon], [data-prosemirror-node-name="blockTaskItem"] input[type=checkbox]:checked + span [data-component=checkbox-unchecked-icon]': {
|
|
465
|
-
display: 'none'
|
|
466
|
-
}
|
|
467
|
-
}, "[data-prosemirror-node-name=\"taskItem\"] .".concat(TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER, ", [data-prosemirror-node-name=\"blockTaskItem\"] .").concat(TaskDecisionSharedCssClassName.TASK_CHECKBOX_CONTAINER), {
|
|
468
|
-
flex: '0 0 24px',
|
|
469
|
-
width: '24px',
|
|
470
|
-
height: '24px',
|
|
471
|
-
position: 'relative',
|
|
472
|
-
alignSelf: 'start',
|
|
473
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
474
|
-
"& > input[type='checkbox']": {
|
|
475
|
-
width: '16px',
|
|
476
|
-
height: '16px',
|
|
477
|
-
zIndex: 1,
|
|
478
|
-
cursor: 'pointer',
|
|
479
|
-
outline: 'none',
|
|
480
|
-
margin: 0,
|
|
481
|
-
opacity: 0,
|
|
482
|
-
position: 'absolute',
|
|
483
|
-
top: '50%',
|
|
484
|
-
left: '50%',
|
|
485
|
-
transform: 'translate(-50%, -50%)',
|
|
486
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
487
|
-
'&[disabled]': {
|
|
488
|
-
cursor: 'default'
|
|
489
|
-
},
|
|
490
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
491
|
-
'+ span': {
|
|
492
|
-
width: '24px',
|
|
493
|
-
height: '24px',
|
|
494
|
-
position: 'absolute',
|
|
495
|
-
top: '50%',
|
|
496
|
-
left: '50%',
|
|
497
|
-
transform: 'translate(-50%, -50%)'
|
|
498
|
-
},
|
|
499
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
500
|
-
'+ span > svg': {
|
|
501
|
-
boxSizing: 'border-box',
|
|
502
|
-
display: 'inline',
|
|
503
|
-
top: '50%',
|
|
504
|
-
left: '50%',
|
|
505
|
-
transform: 'translate(-50%, -50%)',
|
|
506
|
-
maxWidth: 'unset',
|
|
507
|
-
maxHeight: 'unset',
|
|
508
|
-
position: 'absolute',
|
|
509
|
-
overflow: 'hidden',
|
|
510
|
-
color: "var(--ds-background-input, #FFFFFF)",
|
|
511
|
-
transition: 'color 0.2s ease-in-out, fill 0.2s ease-in-out',
|
|
512
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
513
|
-
'path:first-of-type': {
|
|
514
|
-
visibility: 'hidden'
|
|
515
|
-
},
|
|
516
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
517
|
-
'rect:first-of-type': {
|
|
518
|
-
stroke: "var(--ds-border-input, #8C8F97)",
|
|
519
|
-
strokeWidth: 1,
|
|
520
|
-
transition: 'stroke 0.2s ease-in-out'
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
524
|
-
'&:hover + span > svg': {
|
|
525
|
-
color: "var(--ds-background-input-hovered, #F8F8F8)",
|
|
526
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
527
|
-
'rect:first-of-type': {
|
|
528
|
-
stroke: "var(--ds-border-input, #8C8F97)"
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
532
|
-
'&:checked:hover + span > svg': {
|
|
533
|
-
color: "var(--ds-background-selected-bold-hovered, #1558BC)",
|
|
534
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
535
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
536
|
-
'rect:first-of-type': {
|
|
537
|
-
stroke: "var(--ds-background-selected-bold-hovered, #1558BC)"
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
'&:checked': {
|
|
541
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
542
|
-
'+ span > svg': {
|
|
543
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
544
|
-
'path:first-of-type': {
|
|
545
|
-
visibility: 'visible'
|
|
546
|
-
},
|
|
547
|
-
color: "var(--ds-background-selected-bold, #1868DB)",
|
|
548
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
549
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
550
|
-
'rect:first-of-type': {
|
|
551
|
-
stroke: "var(--ds-background-selected-bold, #1868DB)"
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
556
|
-
'&:active + span > svg': {
|
|
557
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
558
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
559
|
-
'rect:first-of-type': {
|
|
560
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
564
|
-
'&:checked:active + span > svg': {
|
|
565
|
-
color: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
566
|
-
fill: "var(--ds-icon-inverse, #FFFFFF)",
|
|
567
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
568
|
-
'rect:first-of-type': {
|
|
569
|
-
stroke: "var(--ds-border, #0B120E24)"
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
573
|
-
'&:disabled + span > svg, &:disabled:hover + span > svg, &:disabled:focus + span > svg, &:disabled:active + span > svg': {
|
|
574
|
-
color: "var(--ds-background-disabled, #17171708)",
|
|
575
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
576
|
-
'rect:first-of-type': {
|
|
577
|
-
stroke: "var(--ds-background-disabled, #17171708)"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
581
|
-
'&:disabled:checked + span > svg': {
|
|
582
|
-
fill: "var(--ds-icon-disabled, #080F214A)"
|
|
583
|
-
},
|
|
584
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
585
|
-
'&:focus + span::after': {
|
|
586
|
-
position: 'absolute',
|
|
587
|
-
width: "var(--ds-space-200, 16px)",
|
|
588
|
-
height: "var(--ds-space-200, 16px)",
|
|
589
|
-
border: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
590
|
-
borderRadius: "var(--ds-space-050, 4px)",
|
|
591
|
-
content: "''",
|
|
592
|
-
display: 'block',
|
|
593
|
-
top: '50%',
|
|
594
|
-
left: '50%',
|
|
595
|
-
transform: 'translate(-50%, -50%)'
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
}));
|
|
599
|
-
|
|
600
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
601
|
-
export var taskItemNextCheckboxStyles = css(_defineProperty({
|
|
602
260
|
/**
|
|
603
261
|
* Background
|
|
604
262
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "217.
|
|
2
|
+
export var version = "217.9.0";
|
|
@@ -14,6 +14,4 @@ export declare const decisionIconWithVisualRefresh: SerializedStyles;
|
|
|
14
14
|
export declare const decisionIconWithoutVisualRefresh: SerializedStyles;
|
|
15
15
|
export declare const taskItemStyles: SerializedStyles;
|
|
16
16
|
export declare const taskItemCheckboxStyles: SerializedStyles;
|
|
17
|
-
export declare const taskItemCheckboxStylesWithBlockTaskItem: SerializedStyles;
|
|
18
|
-
export declare const taskItemNextCheckboxStyles: SerializedStyles;
|
|
19
17
|
export declare const taskItemStylesWithBlockTaskItem: SerializedStyles;
|
|
@@ -14,6 +14,4 @@ export declare const decisionIconWithVisualRefresh: SerializedStyles;
|
|
|
14
14
|
export declare const decisionIconWithoutVisualRefresh: SerializedStyles;
|
|
15
15
|
export declare const taskItemStyles: SerializedStyles;
|
|
16
16
|
export declare const taskItemCheckboxStyles: SerializedStyles;
|
|
17
|
-
export declare const taskItemCheckboxStylesWithBlockTaskItem: SerializedStyles;
|
|
18
|
-
export declare const taskItemNextCheckboxStyles: SerializedStyles;
|
|
19
17
|
export declare const taskItemStylesWithBlockTaskItem: SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "217.9.
|
|
3
|
+
"version": "217.9.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^5.8.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.3.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^52.0.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.4.0",
|
|
71
71
|
"@atlaskit/tooltip": "^21.0.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|