@atlaskit/editor-core 221.2.0 → 221.2.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.
Files changed (61) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/ui/Appearance/Comment/FixedToolbar-compiled.compiled.css +20 -0
  3. package/dist/cjs/ui/Appearance/Comment/FixedToolbar-compiled.js +35 -0
  4. package/dist/cjs/ui/Appearance/Comment/FixedToolbar-emotion.js +94 -0
  5. package/dist/cjs/ui/Appearance/Comment/StickyToolbar-compiled.compiled.css +25 -0
  6. package/dist/cjs/ui/Appearance/Comment/StickyToolbar-compiled.js +66 -0
  7. package/dist/cjs/ui/Appearance/Comment/StickyToolbar-emotion.js +131 -0
  8. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +14 -134
  9. package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-compiled.compiled.css +2 -0
  10. package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +29 -0
  11. package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +36 -0
  12. package/dist/cjs/ui/Toolbar/ToolbarInner.js +9 -14
  13. package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.compiled.css +2 -0
  14. package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +29 -0
  15. package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +32 -0
  16. package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +21 -19
  17. package/dist/cjs/version-wrapper.js +1 -1
  18. package/dist/es2019/ui/Appearance/Comment/FixedToolbar-compiled.compiled.css +20 -0
  19. package/dist/es2019/ui/Appearance/Comment/FixedToolbar-compiled.js +26 -0
  20. package/dist/es2019/ui/Appearance/Comment/FixedToolbar-emotion.js +91 -0
  21. package/dist/es2019/ui/Appearance/Comment/StickyToolbar-compiled.compiled.css +25 -0
  22. package/dist/es2019/ui/Appearance/Comment/StickyToolbar-compiled.js +51 -0
  23. package/dist/es2019/ui/Appearance/Comment/StickyToolbar-emotion.js +128 -0
  24. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +10 -133
  25. package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-compiled.compiled.css +2 -0
  26. package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +20 -0
  27. package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +28 -0
  28. package/dist/es2019/ui/Toolbar/ToolbarInner.js +6 -17
  29. package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.compiled.css +2 -0
  30. package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +20 -0
  31. package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +24 -0
  32. package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +18 -19
  33. package/dist/es2019/version-wrapper.js +1 -1
  34. package/dist/esm/ui/Appearance/Comment/FixedToolbar-compiled.compiled.css +20 -0
  35. package/dist/esm/ui/Appearance/Comment/FixedToolbar-compiled.js +28 -0
  36. package/dist/esm/ui/Appearance/Comment/FixedToolbar-emotion.js +86 -0
  37. package/dist/esm/ui/Appearance/Comment/StickyToolbar-compiled.compiled.css +25 -0
  38. package/dist/esm/ui/Appearance/Comment/StickyToolbar-compiled.js +58 -0
  39. package/dist/esm/ui/Appearance/Comment/StickyToolbar-emotion.js +124 -0
  40. package/dist/esm/ui/Appearance/Comment/Toolbar.js +14 -132
  41. package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-compiled.compiled.css +2 -0
  42. package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +21 -0
  43. package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +28 -0
  44. package/dist/esm/ui/Toolbar/ToolbarInner.js +8 -16
  45. package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.compiled.css +2 -0
  46. package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +21 -0
  47. package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +25 -0
  48. package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +21 -18
  49. package/dist/esm/version-wrapper.js +1 -1
  50. package/dist/types/ui/Appearance/Comment/FixedToolbar-compiled.d.ts +20 -0
  51. package/dist/types/ui/Appearance/Comment/FixedToolbar-emotion.d.ts +19 -0
  52. package/dist/types/ui/Appearance/Comment/StickyToolbar-compiled.d.ts +22 -0
  53. package/dist/types/ui/Appearance/Comment/StickyToolbar-emotion.d.ts +21 -0
  54. package/dist/types/ui/Appearance/Comment/Toolbar.d.ts +1 -2
  55. package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-compiled.d.ts +17 -0
  56. package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-emotion.d.ts +17 -0
  57. package/dist/types/ui/Toolbar/ToolbarInner.d.ts +1 -6
  58. package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.d.ts +17 -0
  59. package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.d.ts +17 -0
  60. package/dist/types/ui/Toolbar/ToolbarWithSizeDetector.d.ts +2 -2
  61. package/package.json +6 -6
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `ToolbarInner.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ReactNode } from 'react';
12
+ interface ToolbarComponentsWrapperEmotionProps {
13
+ children?: ReactNode;
14
+ 'data-vc'?: string;
15
+ }
16
+ export declare const ToolbarComponentsWrapperEmotion: ({ children, "data-vc": dataVc, }: ToolbarComponentsWrapperEmotionProps) => JSX.Element;
17
+ export {};
@@ -1,11 +1,6 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
1
  import React from 'react';
6
- import { jsx } from '@emotion/react';
7
2
  import type { ToolbarInnerProps } from './toolbar-types';
8
3
  export declare class ToolbarInner extends React.Component<ToolbarInnerProps> {
9
4
  shouldComponentUpdate(nextProps: ToolbarInnerProps): boolean;
10
- render(): jsx.JSX.Element | null;
5
+ render(): React.JSX.Element | null;
11
6
  }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `ToolbarWithSizeDetector.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { CSSProperties, ReactNode } from 'react';
12
+ interface ToolbarSizeDetectorWrapperCompiledProps {
13
+ children?: ReactNode;
14
+ style?: CSSProperties;
15
+ }
16
+ export declare const ToolbarSizeDetectorWrapperCompiled: ({ children, style, }: ToolbarSizeDetectorWrapperCompiledProps) => JSX.Element;
17
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `ToolbarWithSizeDetector.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { CSSProperties, ReactNode } from 'react';
12
+ interface ToolbarSizeDetectorWrapperEmotionProps {
13
+ children?: ReactNode;
14
+ style?: CSSProperties;
15
+ }
16
+ export declare const ToolbarSizeDetectorWrapperEmotion: ({ children, style, }: ToolbarSizeDetectorWrapperEmotionProps) => JSX.Element;
17
+ export {};
@@ -1,3 +1,3 @@
1
- import { jsx } from '@emotion/react';
1
+ import React from 'react';
2
2
  import type { ToolbarWithSizeDetectorProps } from './toolbar-types';
3
- export declare const ToolbarWithSizeDetector: (props: ToolbarWithSizeDetectorProps) => jsx.JSX.Element;
3
+ export declare const ToolbarWithSizeDetector: (props: ToolbarWithSizeDetectorProps) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "221.2.0",
3
+ "version": "221.2.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": "^1.0.0",
67
67
  "@atlaskit/react-ufo": "^7.1.0",
68
68
  "@atlaskit/task-decision": "^21.2.0",
69
- "@atlaskit/tmp-editor-statsig": "^109.0.0",
69
+ "@atlaskit/tmp-editor-statsig": "^109.2.0",
70
70
  "@atlaskit/tokens": "^14.0.0",
71
71
  "@atlaskit/tooltip": "^23.0.0",
72
72
  "@atlaskit/width-detector": "^6.0.0",
@@ -84,7 +84,7 @@
84
84
  "uuid": "^3.1.0"
85
85
  },
86
86
  "peerDependencies": {
87
- "@atlaskit/editor-common": "^116.7.0",
87
+ "@atlaskit/editor-common": "^116.9.0",
88
88
  "@atlaskit/link-provider": "^5.0.0",
89
89
  "@atlaskit/media-core": "^38.0.0",
90
90
  "react": "^18.2.0",
@@ -102,7 +102,7 @@
102
102
  "@atlaskit/editor-plugin-annotation": "^12.0.0",
103
103
  "@atlaskit/editor-plugin-card": "^18.0.0",
104
104
  "@atlaskit/editor-plugin-list": "^14.0.0",
105
- "@atlaskit/editor-plugin-paste": "^13.0.0",
105
+ "@atlaskit/editor-plugin-paste": "^13.1.0",
106
106
  "@atlaskit/editor-test-helpers": "workspace:^",
107
107
  "@atlaskit/link-provider": "^5.0.0",
108
108
  "@atlaskit/linking-common": "^10.0.0",
@@ -124,7 +124,7 @@
124
124
  "@atlassian/editor-rovo-bridge": "^10.0.0",
125
125
  "@atlassian/feature-flags-test-utils": "^1.1.0",
126
126
  "@atlassian/react-compiler-gating": "workspace:^",
127
- "@atlassian/search-client": "^1.14.0",
127
+ "@atlassian/search-client": "^1.16.0",
128
128
  "@atlassian/search-provider": "^13.0.0",
129
129
  "@atlassian/structured-docs-types": "workspace:^",
130
130
  "@atlassian/user-profile-card": "^1.14.0",
@@ -140,7 +140,7 @@
140
140
  "raf-stub": "^2.0.1",
141
141
  "react": "^18.2.0",
142
142
  "react-dom": "^18.2.0",
143
- "react-intl": "^6.6.2",
143
+ "react-intl": "^7.0.0",
144
144
  "url-search-params": "^0.10.0"
145
145
  },
146
146
  "techstack": {