@atlaskit/mention 24.0.0 → 24.0.2

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,23 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 24.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#120533](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120533)
8
+ [`f1bec731e278f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1bec731e278f) -
9
+ Adds a `sideEffects` field to ensure this package does not have Compiled styles tree-shaken in the
10
+ future to avoid an accidental regression.
11
+
12
+ This is related to
13
+ https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953
14
+
15
+ ## 24.0.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 24.0.0
4
22
 
5
23
  ### Major Changes
@@ -12,7 +12,7 @@ var _types = require("../types");
12
12
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
13
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
14
  var packageName = "@atlaskit/mention";
15
- var packageVersion = "24.0.0";
15
+ var packageVersion = "24.0.2";
16
16
  var SLI_EVENT_TYPE = exports.SLI_EVENT_TYPE = 'sli';
17
17
  var SMART_EVENT_TYPE = exports.SMART_EVENT_TYPE = 'smart';
18
18
  var fireAnalyticsMentionTypeaheadEvent = exports.fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -2,7 +2,7 @@ import { OPERATIONAL_EVENT_TYPE, UI_EVENT_TYPE } from '@atlaskit/analytics-gas-t
2
2
  import { ELEMENTS_CHANNEL } from '../_constants';
3
3
  import { ComponentNames, isSpecialMentionText } from '../types';
4
4
  const packageName = "@atlaskit/mention";
5
- const packageVersion = "24.0.0";
5
+ const packageVersion = "24.0.2";
6
6
  export const SLI_EVENT_TYPE = 'sli';
7
7
  export const SMART_EVENT_TYPE = 'smart';
8
8
  export const fireAnalyticsMentionTypeaheadEvent = props => (action, duration, userIds = [], query) => {
@@ -5,7 +5,7 @@ import { OPERATIONAL_EVENT_TYPE, UI_EVENT_TYPE } from '@atlaskit/analytics-gas-t
5
5
  import { ELEMENTS_CHANNEL } from '../_constants';
6
6
  import { ComponentNames, isSpecialMentionText } from '../types';
7
7
  var packageName = "@atlaskit/mention";
8
- var packageVersion = "24.0.0";
8
+ var packageVersion = "24.0.2";
9
9
  export var SLI_EVENT_TYPE = 'sli';
10
10
  export var SMART_EVENT_TYPE = 'smart';
11
11
  export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/element.js",
4
4
  "module": "../dist/esm/element.js",
5
5
  "module:es2019": "../dist/es2019/element.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/element.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
package/i18n/package.json CHANGED
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/i18n.js",
4
4
  "module": "../dist/esm/i18n.js",
5
5
  "module:es2019": "../dist/es2019/i18n.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/i18n.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
package/item/package.json CHANGED
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/item.js",
4
4
  "module": "../dist/esm/item.js",
5
5
  "module:es2019": "../dist/es2019/item.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/item.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
package/package.json CHANGED
@@ -33,15 +33,15 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/analytics-gas-types": "^5.1.0",
35
35
  "@atlaskit/analytics-next": "^11.0.0",
36
- "@atlaskit/avatar": "^22.0.0",
36
+ "@atlaskit/avatar": "^23.0.0",
37
37
  "@atlaskit/focus-ring": "^3.0.0",
38
- "@atlaskit/heading": "^5.0.0",
39
- "@atlaskit/icon": "^24.0.0",
38
+ "@atlaskit/heading": "^5.1.0",
39
+ "@atlaskit/icon": "^24.1.0",
40
40
  "@atlaskit/lozenge": "^12.0.0",
41
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
42
- "@atlaskit/primitives": "^14.0.0",
42
+ "@atlaskit/primitives": "^14.1.0",
43
43
  "@atlaskit/theme": "^17.0.0",
44
- "@atlaskit/tokens": "^4.0.0",
44
+ "@atlaskit/tokens": "^4.2.0",
45
45
  "@atlaskit/tooltip": "^20.0.0",
46
46
  "@atlaskit/ufo": "^0.4.0",
47
47
  "@atlaskit/util-service-support": "^6.2.0",
@@ -97,7 +97,9 @@
97
97
  "registry": "https://registry.npmjs.org/"
98
98
  },
99
99
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
100
- "sideEffects": false,
100
+ "sideEffects": [
101
+ "*.compiled.css"
102
+ ],
101
103
  "techstack": {
102
104
  "@repo/internal": {
103
105
  "deprecation": "no-deprecated-imports",
@@ -116,5 +118,5 @@
116
118
  ]
117
119
  }
118
120
  },
119
- "version": "24.0.0"
121
+ "version": "24.0.2"
120
122
  }
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/resource.js",
4
4
  "module": "../dist/esm/resource.js",
5
5
  "module:es2019": "../dist/es2019/resource.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/resource.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/shared-styles.js",
4
4
  "module": "../dist/esm/shared-styles.js",
5
5
  "module:es2019": "../dist/es2019/shared-styles.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/shared-styles.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/team-resource.js",
4
4
  "module": "../dist/esm/team-resource.js",
5
5
  "module:es2019": "../dist/es2019/team-resource.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/team-resource.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/typeahead.js",
4
4
  "module": "../dist/esm/typeahead.js",
5
5
  "module:es2019": "../dist/es2019/typeahead.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/typeahead.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/types.js",
4
4
  "module": "../dist/esm/types.js",
5
5
  "module:es2019": "../dist/es2019/types.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/types.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {