@atlaskit/editor-core 214.1.4 → 214.1.5

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 214.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a3fe38f9b65b1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3fe38f9b65b1) -
8
+ [ux] [EDITOR-1686] hidden cursor while ai is streaming text
9
+ - Updated dependencies
10
+
3
11
  ## 214.1.4
4
12
 
5
13
  ### Patch Changes
@@ -16,5 +16,9 @@ var cursorStyles = exports.cursorStyles = (0, _react.css)({
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
17
17
  '.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor': {
18
18
  display: 'none'
19
+ },
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
21
+ '.ProseMirror:has(.ProseMirror-hide-cursor)': {
22
+ caretColor: 'transparent'
19
23
  }
20
24
  });
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "214.1.3";
8
+ var version = exports.version = "214.1.4";
@@ -10,5 +10,9 @@ export const cursorStyles = css({
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
11
11
  '.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor': {
12
12
  display: 'none'
13
+ },
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
15
+ '.ProseMirror:has(.ProseMirror-hide-cursor)': {
16
+ caretColor: 'transparent'
13
17
  }
14
18
  });
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "214.1.3";
2
+ export const version = "214.1.4";
@@ -10,5 +10,9 @@ export var cursorStyles = css({
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
11
11
  '.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor': {
12
12
  display: 'none'
13
+ },
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
15
+ '.ProseMirror:has(.ProseMirror-hide-cursor)': {
16
+ caretColor: 'transparent'
13
17
  }
14
18
  });
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "214.1.3";
2
+ export var version = "214.1.4";
@@ -313,6 +313,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
313
313
  };
314
314
  commands: {
315
315
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
316
+ setPalette: (isPaletteOpen: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
316
317
  };
317
318
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
318
319
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
@@ -395,6 +396,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
395
396
  commands: {
396
397
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
397
398
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
399
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
398
400
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
399
401
  };
400
402
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/interaction").InteractionPlugin>];
@@ -418,6 +420,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
418
420
  commands: {
419
421
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
420
422
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
423
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
421
424
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
422
425
  };
423
426
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/interaction").InteractionPlugin>];
@@ -374,6 +374,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
374
374
  };
375
375
  commands: {
376
376
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
377
+ setPalette: (isPaletteOpen: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
377
378
  };
378
379
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
379
380
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
@@ -456,6 +457,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
456
457
  commands: {
457
458
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
458
459
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
460
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
459
461
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
460
462
  };
461
463
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/interaction").InteractionPlugin>];
@@ -479,6 +481,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
479
481
  commands: {
480
482
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
481
483
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
484
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
482
485
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
483
486
  };
484
487
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/interaction").InteractionPlugin>];
@@ -313,6 +313,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
313
313
  };
314
314
  commands: {
315
315
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
316
+ setPalette: (isPaletteOpen: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
316
317
  };
317
318
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
318
319
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
@@ -395,6 +396,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
395
396
  commands: {
396
397
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
397
398
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
399
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
398
400
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
399
401
  };
400
402
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/interaction").InteractionPlugin>];
@@ -418,6 +420,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
418
420
  commands: {
419
421
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
420
422
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
423
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
421
424
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
422
425
  };
423
426
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/interaction").InteractionPlugin>];
@@ -452,6 +452,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
452
452
  };
453
453
  commands: {
454
454
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
455
+ setPalette: (isPaletteOpen: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
455
456
  };
456
457
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
457
458
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
@@ -561,6 +562,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
561
562
  commands: {
562
563
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
563
564
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
565
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
564
566
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
565
567
  };
566
568
  dependencies: [
@@ -596,6 +598,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
596
598
  commands: {
597
599
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
598
600
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
601
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
599
602
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
600
603
  };
601
604
  dependencies: [
@@ -513,6 +513,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
513
513
  };
514
514
  commands: {
515
515
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
516
+ setPalette: (isPaletteOpen: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
516
517
  };
517
518
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
518
519
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
@@ -622,6 +623,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
622
623
  commands: {
623
624
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
624
625
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
626
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
625
627
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
626
628
  };
627
629
  dependencies: [
@@ -657,6 +659,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
657
659
  commands: {
658
660
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
659
661
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
662
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
660
663
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
661
664
  };
662
665
  dependencies: [
@@ -452,6 +452,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
452
452
  };
453
453
  commands: {
454
454
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
455
+ setPalette: (isPaletteOpen: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
455
456
  };
456
457
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
457
458
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
@@ -561,6 +562,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
561
562
  commands: {
562
563
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
563
564
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
565
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
564
566
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
565
567
  };
566
568
  dependencies: [
@@ -596,6 +598,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
596
598
  commands: {
597
599
  clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
598
600
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
601
+ hideCursor: (hide: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
599
602
  setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
600
603
  };
601
604
  dependencies: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "214.1.4",
3
+ "version": "214.1.5",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -99,7 +99,7 @@
99
99
  "@atlaskit/editor-plugin-list": "^8.0.0",
100
100
  "@atlaskit/editor-plugin-paste": "^7.0.0",
101
101
  "@atlaskit/link-provider": "^4.0.0",
102
- "@atlaskit/logo": "^19.8.0",
102
+ "@atlaskit/logo": "^19.9.0",
103
103
  "@atlaskit/media-core": "^37.0.0",
104
104
  "@atlaskit/media-integration-test-helpers": "workspace:^",
105
105
  "@atlaskit/media-test-helpers": "^39.0.0",