@atlaskit/editor-plugin-avatar-group 1.0.2 → 1.0.4

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,17 @@
1
1
  # @atlaskit/editor-plugin-avatar-group
2
2
 
3
+ ## 1.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085) [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) - Update usage of `React.FC` to explicity include `children`
8
+
9
+ ## 1.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947) [`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) - Migrate @atlaskit/editor-core to use declarative entry points
14
+
3
15
  ## 1.0.2
4
16
 
5
17
  ### Patch Changes
@@ -11,8 +11,8 @@ var _react2 = require("@emotion/react");
11
11
  var _uiMenu = require("@atlaskit/editor-common/ui-menu");
12
12
  var _add = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/add"));
13
13
  var _styles = require("./styles");
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
16
  /** @jsx jsx */
17
17
 
18
18
  var ID = function ID(props) {
@@ -1,10 +1,11 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import React, { type PropsWithChildren } from 'react';
3
+ import { jsx } from '@emotion/react';
3
4
  import type { InviteToEditComponentProps } from '@atlaskit/editor-common/collab';
4
- export interface InviteToEditButtonProps {
5
+ export type InviteToEditButtonProps = PropsWithChildren<{
5
6
  onClick?: React.MouseEventHandler;
6
7
  selected?: boolean;
7
8
  Component?: React.ComponentType<InviteToEditComponentProps>;
8
9
  title: string;
9
- }
10
- export declare const InviteToEditButton: React.FC<InviteToEditButtonProps>;
10
+ }>;
11
+ export declare const InviteToEditButton: (props: InviteToEditButtonProps) => jsx.JSX.Element | null;
@@ -1,10 +1,11 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import React, { type PropsWithChildren } from 'react';
3
+ import { jsx } from '@emotion/react';
3
4
  import type { InviteToEditComponentProps } from '@atlaskit/editor-common/collab';
4
- export interface InviteToEditButtonProps {
5
+ export type InviteToEditButtonProps = PropsWithChildren<{
5
6
  onClick?: React.MouseEventHandler;
6
7
  selected?: boolean;
7
8
  Component?: React.ComponentType<InviteToEditComponentProps>;
8
9
  title: string;
9
- }
10
- export declare const InviteToEditButton: React.FC<InviteToEditButtonProps>;
10
+ }>;
11
+ export declare const InviteToEditButton: (props: InviteToEditButtonProps) => jsx.JSX.Element | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-avatar-group",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Avatar Group plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@atlaskit/avatar-group": "^9.5.0",
41
- "@atlaskit/editor-common": "^78.8.0",
41
+ "@atlaskit/editor-common": "^78.12.0",
42
42
  "@atlaskit/editor-plugin-analytics": "^1.0.0",
43
43
  "@atlaskit/editor-plugin-collab-edit": "^1.1.0",
44
44
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/editor-shared-styles": "^2.9.0",
47
47
  "@atlaskit/icon": "^22.1.0",
48
48
  "@atlaskit/theme": "^12.6.0",
49
- "@atlaskit/tokens": "^1.38.0",
49
+ "@atlaskit/tokens": "^1.41.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "memoize-one": "^6.0.0",
@@ -60,7 +60,7 @@
60
60
  "@af/visual-regression": "*",
61
61
  "@atlaskit/editor-plugin-mentions": "^1.0.0",
62
62
  "@atlaskit/editor-plugin-type-ahead": "^1.0.0",
63
- "@atlaskit/editor-test-helpers": "^18.18.0",
63
+ "@atlaskit/editor-test-helpers": "^18.19.0",
64
64
  "@atlaskit/ssr": "*",
65
65
  "@atlaskit/synchrony-test-helpers": "^2.3.0",
66
66
  "@atlaskit/visual-regression": "*",