@atlaskit/emoji 71.15.16 → 71.15.18

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/AGENTS.md ADDED
@@ -0,0 +1,19 @@
1
+ # Emoji Package
2
+
3
+ ## Scope
4
+
5
+ This guide applies to work under `platform/packages/elements/emoji/**`.
6
+
7
+ This package is a shared platform for interacting with Emoji and is used by multiple products.
8
+
9
+ ## Coding standards
10
+
11
+ - ⛔ ** Avoid adding product specific behaviour to the components **. As this is a platform
12
+ component we should prefer that users of the platform component control how the components behave.
13
+ - A11Y fixes should be made in a platform component manner
14
+
15
+ ## Feature gating
16
+
17
+ - Changes should be behind a feature gate/experiment
18
+ - Target apps for the gate/experiment should include: `confluence_web`, `jira_web`, `atlas_web`,
19
+ `mercury_frontend_web`, `post-office_web`
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/emoji
2
2
 
3
+ ## 71.15.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 71.15.17
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 71.15.16
4
16
 
5
17
  ### Patch Changes
@@ -20,7 +20,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
20
20
  actionSubjectId: actionSubjectId,
21
21
  attributes: _objectSpread({
22
22
  packageName: "@atlaskit/emoji",
23
- packageVersion: "71.15.15"
23
+ packageVersion: "71.15.17"
24
24
  }, attributes)
25
25
  };
26
26
  };
@@ -9,7 +9,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
9
9
  actionSubjectId,
10
10
  attributes: {
11
11
  packageName: "@atlaskit/emoji",
12
- packageVersion: "71.15.15",
12
+ packageVersion: "71.15.17",
13
13
  ...attributes
14
14
  }
15
15
  });
@@ -14,7 +14,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
14
14
  actionSubjectId: actionSubjectId,
15
15
  attributes: _objectSpread({
16
16
  packageName: "@atlaskit/emoji",
17
- packageVersion: "71.15.15"
17
+ packageVersion: "71.15.17"
18
18
  }, attributes)
19
19
  };
20
20
  };
package/docs/0-intro.tsx CHANGED
@@ -40,14 +40,14 @@ const _default_1: any = md`
40
40
 
41
41
  const emojiProvider = new EmojiResource(config);
42
42
 
43
- ReactDOM.render(
43
+ const root = createRoot(container);
44
+ root.render(
44
45
  <EmojiPicker
45
46
  emojiProvider={emojiProvider}
46
47
  onSelection={emoji => {
47
48
  /* do something */
48
49
  }}
49
50
  />,
50
- container,
51
51
  );
52
52
  `}
53
53
 
@@ -51,14 +51,14 @@ const _default_1: any = md`
51
51
  const emojiProvider = new EmojiResource(config);
52
52
  const emojiId = { shortName: ':grimacing:', id: '1f603' };
53
53
 
54
- ReactDOM.render(
54
+ const root = createRoot(container);
55
+ root.render(
55
56
  <ResourcedEmoji
56
57
  emojiId={emojiId}
57
58
  emojiProvider={emojiProvider}
58
59
  optimistic
59
60
  optimisticImageURL={emojiProvider.getOptimisticImageURL(emojiId)}
60
61
  />,
61
- container,
62
62
  );`}
63
63
 
64
64
  ${(
@@ -32,14 +32,14 @@ const _default_1: any = md`
32
32
 
33
33
  const emojiProvider = new EmojiResource(config);
34
34
 
35
- ReactDOM.render(
35
+ const root = createRoot(container);
36
+ root.render(
36
37
  <EmojiPicker
37
38
  emojiProvider={emojiProvider}
38
39
  onSelection={emoji => {
39
40
  /* do something */
40
41
  }}
41
42
  />,
42
- container,
43
43
  );
44
44
  `}
45
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/emoji",
3
- "version": "71.15.16",
3
+ "version": "71.15.18",
4
4
  "description": "Fabric emoji React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -50,8 +50,8 @@
50
50
  "@atlaskit/spinner": "^20.1.0",
51
51
  "@atlaskit/textfield": "^10.0.0",
52
52
  "@atlaskit/theme": "^28.0.0",
53
- "@atlaskit/tmp-editor-statsig": "^143.0.0",
54
- "@atlaskit/tokens": "^16.4.0",
53
+ "@atlaskit/tmp-editor-statsig": "^145.0.0",
54
+ "@atlaskit/tokens": "^16.5.0",
55
55
  "@atlaskit/tooltip": "^24.0.0",
56
56
  "@atlaskit/ufo": "^1.0.0",
57
57
  "@atlaskit/util-service-support": "^7.2.0",