@atlaskit/mention 24.2.14 → 24.2.16
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 +13 -0
- package/compass.yml +1 -1
- package/dist/cjs/components/Mention/PrimitiveMention.js +1 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/components/Mention/PrimitiveMention.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/components/Mention/PrimitiveMention.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +5 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 24.2.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6fb79942fc3a5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6fb79942fc3a5) -
|
|
8
|
+
Internal changes to how borders are applied.
|
|
9
|
+
|
|
10
|
+
## 24.2.15
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 24.2.14
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/compass.yml
CHANGED
|
@@ -52,7 +52,7 @@ var PrimitiveMention = /*#__PURE__*/(0, _react2.forwardRef)(function (_ref2, ref
|
|
|
52
52
|
ref: ref
|
|
53
53
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
54
54
|
,
|
|
55
|
-
css: (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\tdisplay: inline;\n\t\t\t\t\tborder:
|
|
55
|
+
css: (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\tdisplay: inline;\n\t\t\t\t\tborder: ", " solid ", ";\n\t\t\t\t\tbackground: ", ";\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tpadding: 0 0.3em 2px 0.23em;\n\t\t\t\t\tline-height: 1.714;\n\t\t\t\t\tfont-size: 1em;\n\t\t\t\t\tfont-weight: ", ";\n\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t&:hover {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t\t&:active {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t"])), "var(--ds-border-width, 1px)", getStyle({
|
|
56
56
|
mentionType: mentionType
|
|
57
57
|
}, 'borderColor'), getStyle({
|
|
58
58
|
mentionType: mentionType
|
|
@@ -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 = "
|
|
15
|
+
var packageVersion = "0.0.0-development";
|
|
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 = "
|
|
5
|
+
const packageVersion = "0.0.0-development";
|
|
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) => {
|
|
@@ -45,7 +45,7 @@ var PrimitiveMention = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
45
45
|
ref: ref
|
|
46
46
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
47
47
|
,
|
|
48
|
-
css: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t\t\tdisplay: inline;\n\t\t\t\t\tborder:
|
|
48
|
+
css: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t\t\tdisplay: inline;\n\t\t\t\t\tborder: ", " solid ", ";\n\t\t\t\t\tbackground: ", ";\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tpadding: 0 0.3em 2px 0.23em;\n\t\t\t\t\tline-height: 1.714;\n\t\t\t\t\tfont-size: 1em;\n\t\t\t\t\tfont-weight: ", ";\n\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t&:hover {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t\t&:active {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t"])), "var(--ds-border-width, 1px)", getStyle({
|
|
49
49
|
mentionType: mentionType
|
|
50
50
|
}, 'borderColor'), getStyle({
|
|
51
51
|
mentionType: mentionType
|
|
@@ -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 = "
|
|
8
|
+
var packageVersion = "0.0.0-development";
|
|
9
9
|
export var SLI_EVENT_TYPE = 'sli';
|
|
10
10
|
export var SMART_EVENT_TYPE = 'smart';
|
|
11
11
|
export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
|
package/package.json
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"af:exports": {
|
|
3
|
-
".": "./src/index.ts",
|
|
4
|
-
"./element": "./src/element.ts",
|
|
5
|
-
"./i18n": "./src/i18n.ts",
|
|
6
|
-
"./item": "./src/item.ts",
|
|
7
|
-
"./resource": "./src/resource.ts",
|
|
8
|
-
"./shared-styles": "./src/shared-styles.ts",
|
|
9
|
-
"./team-resource": "./src/team-resource.ts",
|
|
10
|
-
"./typeahead": "./src/typeahead.ts",
|
|
11
|
-
"./types": "./src/types.ts"
|
|
12
|
-
},
|
|
13
2
|
"atlaskit:src": "src/index.ts",
|
|
14
3
|
"atlassian": {
|
|
15
4
|
"team": "Search Platform: Search Experience",
|
|
@@ -35,13 +24,13 @@
|
|
|
35
24
|
"@atlaskit/avatar": "^25.1.0",
|
|
36
25
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
37
26
|
"@atlaskit/heading": "^5.2.0",
|
|
38
|
-
"@atlaskit/icon": "^28.
|
|
27
|
+
"@atlaskit/icon": "^28.2.0",
|
|
39
28
|
"@atlaskit/lozenge": "^13.0.0",
|
|
40
29
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
|
-
"@atlaskit/primitives": "^14.
|
|
30
|
+
"@atlaskit/primitives": "^14.14.0",
|
|
42
31
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
43
|
-
"@atlaskit/theme": "^
|
|
44
|
-
"@atlaskit/tokens": "^6.
|
|
32
|
+
"@atlaskit/theme": "^21.0.0",
|
|
33
|
+
"@atlaskit/tokens": "^6.3.0",
|
|
45
34
|
"@atlaskit/tooltip": "^20.4.0",
|
|
46
35
|
"@atlaskit/ufo": "^0.4.0",
|
|
47
36
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
@@ -115,5 +104,5 @@
|
|
|
115
104
|
]
|
|
116
105
|
}
|
|
117
106
|
},
|
|
118
|
-
"version": "24.2.
|
|
107
|
+
"version": "24.2.16"
|
|
119
108
|
}
|