@atlaskit/mention 24.2.7 → 24.2.9
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 +15 -0
- package/afm-dev-agents/tsconfig.json +72 -0
- package/afm-passionfruit/tsconfig.json +72 -0
- package/afm-volt/tsconfig.json +7 -1
- package/dist/cjs/components/Scrollable/styles.js +1 -3
- package/dist/cjs/shared-styles.js +1 -2
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/components/Scrollable/styles.js +1 -3
- package/dist/es2019/shared-styles.js +1 -2
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/components/Scrollable/styles.js +1 -3
- package/dist/esm/shared-styles.js +1 -2
- package/dist/esm/util/analytics.js +1 -1
- package/dist/types/api/ContextMentionResource.d.ts +5 -5
- package/dist/types/components/LockCircleIcon/index.d.ts +0 -1
- package/dist/types/components/MentionDescriptionByline/styles.d.ts +2 -3
- package/dist/types/components/MentionItem/styles.d.ts +16 -17
- package/dist/types/components/MentionList/styles.d.ts +2 -3
- package/dist/types/components/MentionListError/styles.d.ts +2 -3
- package/dist/types/components/MentionPicker/styles.d.ts +4 -5
- package/dist/types/components/Scrollable/styles.d.ts +2 -3
- package/dist/types/shared-styles.d.ts +1 -1
- package/dist/types/util/analytics.d.ts +1 -1
- package/dist/types-ts4.5/api/ContextMentionResource.d.ts +5 -5
- package/dist/types-ts4.5/components/LockCircleIcon/index.d.ts +0 -1
- package/dist/types-ts4.5/components/MentionDescriptionByline/styles.d.ts +2 -3
- package/dist/types-ts4.5/components/MentionItem/styles.d.ts +16 -17
- package/dist/types-ts4.5/components/MentionList/styles.d.ts +2 -3
- package/dist/types-ts4.5/components/MentionListError/styles.d.ts +2 -3
- package/dist/types-ts4.5/components/MentionPicker/styles.d.ts +4 -5
- package/dist/types-ts4.5/components/Scrollable/styles.d.ts +2 -3
- package/dist/types-ts4.5/shared-styles.d.ts +1 -1
- package/dist/types-ts4.5/util/analytics.d.ts +1 -1
- package/element/package.json +1 -1
- package/i18n/package.json +1 -1
- package/item/package.json +1 -1
- package/local-config.ts +1 -0
- package/package.json +3 -4
- package/resource/package.json +1 -1
- package/shared-styles/package.json +1 -1
- package/team-resource/package.json +1 -1
- package/typeahead/package.json +1 -1
- package/types/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 24.2.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2af42ad93c3e0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2af42ad93c3e0) -
|
|
8
|
+
Internal changes to use tokens for border radius.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 24.2.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`923fbc888ce4d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/923fbc888ce4d) -
|
|
16
|
+
Added empty local-config.ts file to fix atlaskit builds
|
|
17
|
+
|
|
3
18
|
## 24.2.7
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.dev-agents.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../dev-agents/tsDist/@atlaskit__mention/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
24
|
+
],
|
|
25
|
+
"references": [
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../analytics/analytics-gas-types/afm-dev-agents/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../analytics/analytics-next/afm-dev-agents/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/avatar/afm-dev-agents/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../design-system/focus-ring/afm-dev-agents/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/heading/afm-dev-agents/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/icon/afm-dev-agents/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../../design-system/lozenge/afm-dev-agents/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../../design-system/primitives/afm-dev-agents/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../people-and-teams/teams-avatar/afm-dev-agents/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../../design-system/theme/afm-dev-agents/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../../design-system/tokens/afm-dev-agents/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../../design-system/tooltip/afm-dev-agents/tsconfig.json"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "../../../data/ufo-external/afm-dev-agents/tsconfig.json"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "../../util-service-support/afm-dev-agents/tsconfig.json"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.passionfruit.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../passionfruit/tsDist/@atlaskit__mention/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
24
|
+
],
|
|
25
|
+
"references": [
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../analytics/analytics-gas-types/afm-passionfruit/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../analytics/analytics-next/afm-passionfruit/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/avatar/afm-passionfruit/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../design-system/focus-ring/afm-passionfruit/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/heading/afm-passionfruit/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/icon/afm-passionfruit/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../../design-system/lozenge/afm-passionfruit/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../../design-system/primitives/afm-passionfruit/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../people-and-teams/teams-avatar/afm-passionfruit/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../../design-system/theme/afm-passionfruit/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../../design-system/tokens/afm-passionfruit/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../../design-system/tooltip/afm-passionfruit/tsconfig.json"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "../../../data/ufo-external/afm-passionfruit/tsconfig.json"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "../../util-service-support/afm-passionfruit/tsconfig.json"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
package/afm-volt/tsconfig.json
CHANGED
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ScrollableStyle = void 0;
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
10
9
|
var _sharedStyles = require("../../shared-styles");
|
|
11
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
11
|
|
|
@@ -20,6 +19,5 @@ var ScrollableStyle = exports.ScrollableStyle = _styled.default.div({
|
|
|
20
19
|
background: "var(--ds-surface, white)",
|
|
21
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
22
21
|
maxHeight: _sharedStyles.scrollableMaxHeight,
|
|
23
|
-
|
|
24
|
-
borderRadius: "".concat((0, _constants.borderRadius)(), "px")
|
|
22
|
+
borderRadius: "var(--ds-border-radius-100, 3px)"
|
|
25
23
|
});
|
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.scrollableMaxHeight = exports.noDialogContainerBoxShadow = exports.noDialogContainerBorderRadius = exports.noDialogContainerBorderColor = exports.mentionListWidth = void 0;
|
|
7
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
8
7
|
var _colors = require("@atlaskit/theme/colors");
|
|
9
8
|
var noDialogContainerBorderColor = exports.noDialogContainerBorderColor = "var(--ds-border, ".concat(_colors.N40, ")"); // This has not been confirmed by the ADG yet
|
|
10
|
-
var noDialogContainerBorderRadius = exports.noDialogContainerBorderRadius = "
|
|
9
|
+
var noDialogContainerBorderRadius = exports.noDialogContainerBorderRadius = "var(--ds-border-radius-100, 3px)";
|
|
11
10
|
var noDialogContainerBoxShadow = exports.noDialogContainerBoxShadow = "var(--ds-shadow-overlay, 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31))"; // Copied from droplist style
|
|
12
11
|
|
|
13
12
|
var scrollableMaxHeight = exports.scrollableMaxHeight = '264px';
|
|
@@ -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.2.
|
|
15
|
+
var packageVersion = "24.2.8";
|
|
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) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { borderRadius } from '@atlaskit/theme/constants';
|
|
4
3
|
import { scrollableMaxHeight } from '../../shared-styles';
|
|
5
4
|
|
|
6
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -13,6 +12,5 @@ export const ScrollableStyle = styled.div({
|
|
|
13
12
|
background: "var(--ds-surface, white)",
|
|
14
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
15
14
|
maxHeight: scrollableMaxHeight,
|
|
16
|
-
|
|
17
|
-
borderRadius: `${borderRadius()}px`
|
|
15
|
+
borderRadius: "var(--ds-border-radius-100, 3px)"
|
|
18
16
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { borderRadius } from '@atlaskit/theme/constants';
|
|
2
1
|
import { N40 } from '@atlaskit/theme/colors';
|
|
3
2
|
export const noDialogContainerBorderColor = `var(--ds-border, ${N40})`; // This has not been confirmed by the ADG yet
|
|
4
|
-
export const noDialogContainerBorderRadius =
|
|
3
|
+
export const noDialogContainerBorderRadius = "var(--ds-border-radius-100, 3px)";
|
|
5
4
|
export const noDialogContainerBoxShadow = "var(--ds-shadow-overlay, 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31))"; // Copied from droplist style
|
|
6
5
|
|
|
7
6
|
export const scrollableMaxHeight = '264px';
|
|
@@ -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.2.
|
|
5
|
+
const packageVersion = "24.2.8";
|
|
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) => {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { borderRadius } from '@atlaskit/theme/constants';
|
|
4
3
|
import { scrollableMaxHeight } from '../../shared-styles';
|
|
5
4
|
|
|
6
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -13,6 +12,5 @@ export var ScrollableStyle = styled.div({
|
|
|
13
12
|
background: "var(--ds-surface, white)",
|
|
14
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
15
14
|
maxHeight: scrollableMaxHeight,
|
|
16
|
-
|
|
17
|
-
borderRadius: "".concat(borderRadius(), "px")
|
|
15
|
+
borderRadius: "var(--ds-border-radius-100, 3px)"
|
|
18
16
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { borderRadius } from '@atlaskit/theme/constants';
|
|
2
1
|
import { N40 } from '@atlaskit/theme/colors';
|
|
3
2
|
export var noDialogContainerBorderColor = "var(--ds-border, ".concat(N40, ")"); // This has not been confirmed by the ADG yet
|
|
4
|
-
export var noDialogContainerBorderRadius = "
|
|
3
|
+
export var noDialogContainerBorderRadius = "var(--ds-border-radius-100, 3px)";
|
|
5
4
|
export var noDialogContainerBoxShadow = "var(--ds-shadow-overlay, 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31))"; // Copied from droplist style
|
|
6
5
|
|
|
7
6
|
export var scrollableMaxHeight = '264px';
|
|
@@ -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.2.
|
|
8
|
+
var packageVersion = "24.2.8";
|
|
9
9
|
export var SLI_EVENT_TYPE = 'sli';
|
|
10
10
|
export var SMART_EVENT_TYPE = 'smart';
|
|
11
11
|
export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
|
|
@@ -12,12 +12,12 @@ export default class ContextMentionResource implements MentionProvider {
|
|
|
12
12
|
private contextIdentifier;
|
|
13
13
|
constructor(mentionProvider: MentionProvider, contextIdentifier: MentionContextIdentifier);
|
|
14
14
|
getContextIdentifier(): MentionContextIdentifier | undefined;
|
|
15
|
-
callWithContextIds: <K extends
|
|
16
|
-
callDefault: <K extends
|
|
17
|
-
subscribe: (key: string, callback?: ResultCallback<MentionDescription[]> | undefined, errCallback?: ErrorCallback
|
|
15
|
+
callWithContextIds: <K extends keyof MentionProviderFunctions>(f: K, declaredArgs: number) => MentionProvider[K];
|
|
16
|
+
callDefault: <K extends keyof MentionProviderFunctions>(f: K) => MentionProvider[K];
|
|
17
|
+
subscribe: (key: string, callback?: ResultCallback<MentionDescription[]> | undefined, errCallback?: ErrorCallback, infoCallback?: InfoCallback, allResultsCallback?: ResultCallback<MentionDescription[]> | undefined, analyticsCallback?: import("../types").AnalyticsCallback) => void;
|
|
18
18
|
unsubscribe: (key: string) => void;
|
|
19
|
-
filter: (query?: string
|
|
20
|
-
recordMentionSelection: (mention: MentionDescription, contextIdentifier?: MentionContextIdentifier
|
|
19
|
+
filter: (query?: string, contextIdentifier?: MentionContextIdentifier) => void;
|
|
20
|
+
recordMentionSelection: (mention: MentionDescription, contextIdentifier?: MentionContextIdentifier) => void;
|
|
21
21
|
shouldHighlightMention: (mention: MentionDescription) => boolean;
|
|
22
22
|
isFiltering: (query: string) => boolean;
|
|
23
23
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const DescriptionBylineStyle: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface MentionItemStyleProps {
|
|
3
2
|
selected?: boolean;
|
|
4
3
|
}
|
|
@@ -12,35 +11,35 @@ export interface InfoSectionStyleProps {
|
|
|
12
11
|
restricted?: boolean;
|
|
13
12
|
}
|
|
14
13
|
export declare const RowStyle: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: import("@emotion/react").Theme
|
|
16
|
-
as?:
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
17
16
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
17
|
export declare const AvatarStyle: import("@emotion/styled").StyledComponent<{
|
|
19
|
-
theme?: import("@emotion/react").Theme
|
|
20
|
-
as?:
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
21
20
|
} & AvatarSectionStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
22
21
|
export declare const NameSectionStyle: import("@emotion/styled").StyledComponent<{
|
|
23
|
-
theme?: import("@emotion/react").Theme
|
|
24
|
-
as?:
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
25
24
|
} & NameSectionStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
25
|
export declare const FullNameStyle: import("@emotion/styled").StyledComponent<{
|
|
27
|
-
theme?: import("@emotion/react").Theme
|
|
28
|
-
as?:
|
|
26
|
+
theme?: import("@emotion/react").Theme;
|
|
27
|
+
as?: React.ElementType;
|
|
29
28
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
30
29
|
export declare const InfoSectionStyle: import("@emotion/styled").StyledComponent<{
|
|
31
|
-
theme?: import("@emotion/react").Theme
|
|
32
|
-
as?:
|
|
30
|
+
theme?: import("@emotion/react").Theme;
|
|
31
|
+
as?: React.ElementType;
|
|
33
32
|
} & InfoSectionStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
34
33
|
export declare const TimeStyle: import("@emotion/styled").StyledComponent<{
|
|
35
|
-
theme?: import("@emotion/react").Theme
|
|
36
|
-
as?:
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
37
36
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
38
37
|
export declare const MENTION_ITEM_HEIGHT = 48;
|
|
39
38
|
export declare const MentionItemStyle: import("@emotion/styled").StyledComponent<{
|
|
40
|
-
theme?: import("@emotion/react").Theme
|
|
41
|
-
as?:
|
|
39
|
+
theme?: import("@emotion/react").Theme;
|
|
40
|
+
as?: React.ElementType;
|
|
42
41
|
} & MentionItemStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
43
42
|
export declare const AccessSectionStyle: import("@emotion/styled").StyledComponent<{
|
|
44
|
-
theme?: import("@emotion/react").Theme
|
|
45
|
-
as?:
|
|
43
|
+
theme?: import("@emotion/react").Theme;
|
|
44
|
+
as?: React.ElementType;
|
|
46
45
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface MentionListStyleProps {
|
|
3
2
|
empty?: boolean;
|
|
4
3
|
}
|
|
5
4
|
export declare const MentionListStyle: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
8
7
|
} & MentionListStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const GenericErrorVisualStyle: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface MentionPickerStyleProps {
|
|
3
2
|
visible?: boolean | string;
|
|
4
3
|
}
|
|
5
4
|
export declare const MentionPickerStyle: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
8
7
|
} & MentionPickerStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
8
|
export declare const MentionPickerInfoStyle: import("@emotion/styled").StyledComponent<{
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
12
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const ScrollableStyle: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const noDialogContainerBorderColor: "var(--ds-border)";
|
|
2
|
-
export declare const noDialogContainerBorderRadius:
|
|
2
|
+
export declare const noDialogContainerBorderRadius: "var(--ds-border-radius-100)";
|
|
3
3
|
export declare const noDialogContainerBoxShadow: "var(--ds-shadow-overlay)";
|
|
4
4
|
export declare const scrollableMaxHeight = "264px";
|
|
5
5
|
export declare const mentionListWidth = "340px";
|
|
@@ -7,6 +7,6 @@ export declare const fireAnalyticsMentionEvent: (createEvent: CreateUIAnalyticsE
|
|
|
7
7
|
export declare const fireSliAnalyticsEvent: (props: WithAnalyticsEventsProps) => (actionSubject: string, action: string) => void;
|
|
8
8
|
export declare const buildSliPayload: (actionSubject: string, action: string, attributes?: {
|
|
9
9
|
[key: string]: any;
|
|
10
|
-
}
|
|
10
|
+
}) => GasPayload;
|
|
11
11
|
export declare const fireAnalyticsMentionHydrationEvent: (props: WithAnalyticsEventsProps) => (action: string, userId: string, fromCache: boolean, duration: number) => void;
|
|
12
12
|
export declare const fireAnalytics: (firePrivateAnalyticsEvent?: Function) => (eventName: string, text: string, accessLevel?: string) => void;
|
|
@@ -12,12 +12,12 @@ export default class ContextMentionResource implements MentionProvider {
|
|
|
12
12
|
private contextIdentifier;
|
|
13
13
|
constructor(mentionProvider: MentionProvider, contextIdentifier: MentionContextIdentifier);
|
|
14
14
|
getContextIdentifier(): MentionContextIdentifier | undefined;
|
|
15
|
-
callWithContextIds: <K extends
|
|
16
|
-
callDefault: <K extends
|
|
17
|
-
subscribe: (key: string, callback?: ResultCallback<MentionDescription[]> | undefined, errCallback?: ErrorCallback
|
|
15
|
+
callWithContextIds: <K extends keyof MentionProviderFunctions>(f: K, declaredArgs: number) => MentionProvider[K];
|
|
16
|
+
callDefault: <K extends keyof MentionProviderFunctions>(f: K) => MentionProvider[K];
|
|
17
|
+
subscribe: (key: string, callback?: ResultCallback<MentionDescription[]> | undefined, errCallback?: ErrorCallback, infoCallback?: InfoCallback, allResultsCallback?: ResultCallback<MentionDescription[]> | undefined, analyticsCallback?: import("../types").AnalyticsCallback) => void;
|
|
18
18
|
unsubscribe: (key: string) => void;
|
|
19
|
-
filter: (query?: string
|
|
20
|
-
recordMentionSelection: (mention: MentionDescription, contextIdentifier?: MentionContextIdentifier
|
|
19
|
+
filter: (query?: string, contextIdentifier?: MentionContextIdentifier) => void;
|
|
20
|
+
recordMentionSelection: (mention: MentionDescription, contextIdentifier?: MentionContextIdentifier) => void;
|
|
21
21
|
shouldHighlightMention: (mention: MentionDescription) => boolean;
|
|
22
22
|
isFiltering: (query: string) => boolean;
|
|
23
23
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const DescriptionBylineStyle: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface MentionItemStyleProps {
|
|
3
2
|
selected?: boolean;
|
|
4
3
|
}
|
|
@@ -12,35 +11,35 @@ export interface InfoSectionStyleProps {
|
|
|
12
11
|
restricted?: boolean;
|
|
13
12
|
}
|
|
14
13
|
export declare const RowStyle: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: import("@emotion/react").Theme
|
|
16
|
-
as?:
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
17
16
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
17
|
export declare const AvatarStyle: import("@emotion/styled").StyledComponent<{
|
|
19
|
-
theme?: import("@emotion/react").Theme
|
|
20
|
-
as?:
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
21
20
|
} & AvatarSectionStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
22
21
|
export declare const NameSectionStyle: import("@emotion/styled").StyledComponent<{
|
|
23
|
-
theme?: import("@emotion/react").Theme
|
|
24
|
-
as?:
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
25
24
|
} & NameSectionStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
25
|
export declare const FullNameStyle: import("@emotion/styled").StyledComponent<{
|
|
27
|
-
theme?: import("@emotion/react").Theme
|
|
28
|
-
as?:
|
|
26
|
+
theme?: import("@emotion/react").Theme;
|
|
27
|
+
as?: React.ElementType;
|
|
29
28
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
30
29
|
export declare const InfoSectionStyle: import("@emotion/styled").StyledComponent<{
|
|
31
|
-
theme?: import("@emotion/react").Theme
|
|
32
|
-
as?:
|
|
30
|
+
theme?: import("@emotion/react").Theme;
|
|
31
|
+
as?: React.ElementType;
|
|
33
32
|
} & InfoSectionStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
34
33
|
export declare const TimeStyle: import("@emotion/styled").StyledComponent<{
|
|
35
|
-
theme?: import("@emotion/react").Theme
|
|
36
|
-
as?:
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
37
36
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
38
37
|
export declare const MENTION_ITEM_HEIGHT = 48;
|
|
39
38
|
export declare const MentionItemStyle: import("@emotion/styled").StyledComponent<{
|
|
40
|
-
theme?: import("@emotion/react").Theme
|
|
41
|
-
as?:
|
|
39
|
+
theme?: import("@emotion/react").Theme;
|
|
40
|
+
as?: React.ElementType;
|
|
42
41
|
} & MentionItemStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
43
42
|
export declare const AccessSectionStyle: import("@emotion/styled").StyledComponent<{
|
|
44
|
-
theme?: import("@emotion/react").Theme
|
|
45
|
-
as?:
|
|
43
|
+
theme?: import("@emotion/react").Theme;
|
|
44
|
+
as?: React.ElementType;
|
|
46
45
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface MentionListStyleProps {
|
|
3
2
|
empty?: boolean;
|
|
4
3
|
}
|
|
5
4
|
export declare const MentionListStyle: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
8
7
|
} & MentionListStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const GenericErrorVisualStyle: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface MentionPickerStyleProps {
|
|
3
2
|
visible?: boolean | string;
|
|
4
3
|
}
|
|
5
4
|
export declare const MentionPickerStyle: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
8
7
|
} & MentionPickerStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
8
|
export declare const MentionPickerInfoStyle: import("@emotion/styled").StyledComponent<{
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
12
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const ScrollableStyle: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const noDialogContainerBorderColor: "var(--ds-border)";
|
|
2
|
-
export declare const noDialogContainerBorderRadius:
|
|
2
|
+
export declare const noDialogContainerBorderRadius: "var(--ds-border-radius-100)";
|
|
3
3
|
export declare const noDialogContainerBoxShadow: "var(--ds-shadow-overlay)";
|
|
4
4
|
export declare const scrollableMaxHeight = "264px";
|
|
5
5
|
export declare const mentionListWidth = "340px";
|
|
@@ -7,6 +7,6 @@ export declare const fireAnalyticsMentionEvent: (createEvent: CreateUIAnalyticsE
|
|
|
7
7
|
export declare const fireSliAnalyticsEvent: (props: WithAnalyticsEventsProps) => (actionSubject: string, action: string) => void;
|
|
8
8
|
export declare const buildSliPayload: (actionSubject: string, action: string, attributes?: {
|
|
9
9
|
[key: string]: any;
|
|
10
|
-
}
|
|
10
|
+
}) => GasPayload;
|
|
11
11
|
export declare const fireAnalyticsMentionHydrationEvent: (props: WithAnalyticsEventsProps) => (action: string, userId: string, fromCache: boolean, duration: number) => void;
|
|
12
12
|
export declare const fireAnalytics: (firePrivateAnalyticsEvent?: Function) => (eventName: string, text: string, accessLevel?: string) => void;
|
package/element/package.json
CHANGED
package/i18n/package.json
CHANGED
package/item/package.json
CHANGED
package/local-config.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// TODO: Put configuration here. Don't delete the file from source control. It is needed to build Atlaskit website correctly as it's imported using 'require'
|
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/avatar": "^25.1.0",
|
|
36
36
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
37
37
|
"@atlaskit/heading": "^5.2.0",
|
|
38
|
-
"@atlaskit/icon": "^27.
|
|
38
|
+
"@atlaskit/icon": "^27.12.0",
|
|
39
39
|
"@atlaskit/lozenge": "^13.0.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@atlaskit/primitives": "^14.11.0",
|
|
@@ -68,8 +68,7 @@
|
|
|
68
68
|
"react": "^18.2.0",
|
|
69
69
|
"react-dom": "^18.2.0",
|
|
70
70
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
71
|
-
"serialize-javascript": "^5.0.1"
|
|
72
|
-
"typescript": "~5.4.2"
|
|
71
|
+
"serialize-javascript": "^5.0.1"
|
|
73
72
|
},
|
|
74
73
|
"keywords": [
|
|
75
74
|
"ui",
|
|
@@ -120,5 +119,5 @@
|
|
|
120
119
|
]
|
|
121
120
|
}
|
|
122
121
|
},
|
|
123
|
-
"version": "24.2.
|
|
122
|
+
"version": "24.2.9"
|
|
124
123
|
}
|
package/resource/package.json
CHANGED
package/typeahead/package.json
CHANGED