@atlaskit/jql-editor 6.2.1 → 6.2.3
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 +14 -0
- package/dist/cjs/accessibility/styled.js +7 -1
- package/dist/cjs/analytics/util.js +1 -1
- package/dist/cjs/async.js +5 -1
- package/dist/cjs/common/styled.js +5 -1
- package/dist/cjs/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
- package/dist/cjs/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
- package/dist/cjs/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
- package/dist/cjs/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
- package/dist/cjs/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
- package/dist/cjs/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
- package/dist/cjs/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
- package/dist/cjs/schema/index.js +1 -1
- package/dist/cjs/state/index.js +3 -0
- package/dist/cjs/ui/index.js +2 -1
- package/dist/cjs/ui/jql-editor/index.js +2 -1
- package/dist/cjs/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
- package/dist/cjs/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
- package/dist/cjs/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
- package/dist/cjs/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
- package/dist/cjs/ui/jql-editor-layout/styled.js +36 -17
- package/dist/cjs/ui/jql-editor-view/index.js +4 -1
- package/dist/cjs/ui/tooltip-tag/styled.js +7 -1
- package/dist/es2019/accessibility/styled.js +7 -1
- package/dist/es2019/analytics/util.js +1 -1
- package/dist/es2019/async.js +6 -1
- package/dist/es2019/common/styled.js +5 -1
- package/dist/es2019/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
- package/dist/es2019/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
- package/dist/es2019/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
- package/dist/es2019/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
- package/dist/es2019/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
- package/dist/es2019/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
- package/dist/es2019/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
- package/dist/es2019/schema/index.js +2 -0
- package/dist/es2019/state/index.js +3 -0
- package/dist/es2019/ui/index.js +2 -1
- package/dist/es2019/ui/jql-editor/index.js +2 -1
- package/dist/es2019/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
- package/dist/es2019/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
- package/dist/es2019/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
- package/dist/es2019/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
- package/dist/es2019/ui/jql-editor-layout/styled.js +126 -113
- package/dist/es2019/ui/jql-editor-view/index.js +4 -0
- package/dist/es2019/ui/tooltip-tag/styled.js +7 -1
- package/dist/esm/accessibility/styled.js +7 -1
- package/dist/esm/analytics/util.js +1 -1
- package/dist/esm/async.js +6 -1
- package/dist/esm/common/styled.js +5 -1
- package/dist/esm/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
- package/dist/esm/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
- package/dist/esm/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
- package/dist/esm/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
- package/dist/esm/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
- package/dist/esm/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
- package/dist/esm/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
- package/dist/esm/schema/index.js +2 -0
- package/dist/esm/state/index.js +3 -0
- package/dist/esm/ui/index.js +2 -1
- package/dist/esm/ui/jql-editor/index.js +2 -1
- package/dist/esm/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
- package/dist/esm/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
- package/dist/esm/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
- package/dist/esm/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
- package/dist/esm/ui/jql-editor-layout/styled.js +37 -17
- package/dist/esm/ui/jql-editor-view/index.js +4 -1
- package/dist/esm/ui/tooltip-tag/styled.js +7 -1
- package/dist/types/accessibility/styled.d.ts +6 -3
- package/dist/types/analytics/util.d.ts +2 -1
- package/dist/types/async.d.ts +2 -1
- package/dist/types/common/messages.d.ts +1 -1
- package/dist/types/common/styled.d.ts +7 -4
- package/dist/types/hooks/use-editor-theme/index.d.ts +2 -1
- package/dist/types/plugins/autocomplete/components/autocomplete-dropdown/styled.d.ts +15 -12
- package/dist/types/plugins/autocomplete/components/autocomplete-option/messages.d.ts +2 -2
- package/dist/types/plugins/autocomplete/components/autocomplete-option/styled.d.ts +24 -21
- package/dist/types/plugins/autocomplete/messages.d.ts +1 -1
- package/dist/types/plugins/common/plugin-keymap.d.ts +2 -1
- package/dist/types/plugins/jql-ast/messages.d.ts +64 -64
- package/dist/types/plugins/rich-inline-nodes/nodes/goal/goal-icon.d.ts +1 -1
- package/dist/types/plugins/rich-inline-nodes/nodes/index.d.ts +9 -4
- package/dist/types/plugins/rich-inline-nodes/nodes/project/messages.d.ts +1 -1
- package/dist/types/plugins/rich-inline-nodes/nodes/team/styled.d.ts +12 -9
- package/dist/types/plugins/rich-inline-nodes/nodes/user/styled.d.ts +12 -9
- package/dist/types/plugins/rich-inline-nodes/util/react-node-view.d.ts +3 -3
- package/dist/types/state/index.d.ts +59 -894
- package/dist/types/ui/index.d.ts +2 -2
- package/dist/types/ui/jql-editor/index.d.ts +3 -3
- package/dist/types/ui/jql-editor-controls-content/base-expand-toggle/styled.d.ts +6 -3
- package/dist/types/ui/jql-editor-controls-content/base-syntax-help/styled.d.ts +6 -3
- package/dist/types/ui/jql-editor-controls-content/expand-toggle/messages.d.ts +5 -5
- package/dist/types/ui/jql-editor-controls-content/search/messages.d.ts +1 -1
- package/dist/types/ui/jql-editor-controls-content/syntax-help/messages.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/jql-editor-help/messages.d.ts +5 -5
- package/dist/types/ui/jql-editor-footer-content/jql-editor-help/styled.d.ts +6 -3
- package/dist/types/ui/jql-editor-footer-content/jql-messages/errors/messages.d.ts +1 -1
- package/dist/types/ui/jql-editor-footer-content/jql-messages/format/styled.d.ts +9 -6
- package/dist/types/ui/jql-editor-footer-content/jql-messages/warnings/messages.d.ts +5 -5
- package/dist/types/ui/jql-editor-layout/styled.d.ts +29 -26
- package/dist/types/ui/jql-editor-portal-provider/context.d.ts +2 -1
- package/dist/types/ui/messages.d.ts +1 -1
- package/dist/types/ui/tooltip-tag/styled.d.ts +6 -3
- package/dist/types-ts4.5/accessibility/styled.d.ts +6 -3
- package/dist/types-ts4.5/analytics/util.d.ts +2 -1
- package/dist/types-ts4.5/async.d.ts +2 -1
- package/dist/types-ts4.5/common/messages.d.ts +1 -1
- package/dist/types-ts4.5/common/styled.d.ts +7 -4
- package/dist/types-ts4.5/hooks/use-editor-theme/index.d.ts +2 -1
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-dropdown/styled.d.ts +15 -12
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-option/messages.d.ts +2 -2
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-option/styled.d.ts +24 -21
- package/dist/types-ts4.5/plugins/autocomplete/messages.d.ts +1 -1
- package/dist/types-ts4.5/plugins/common/plugin-keymap.d.ts +2 -1
- package/dist/types-ts4.5/plugins/jql-ast/messages.d.ts +64 -64
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/goal/goal-icon.d.ts +1 -1
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/index.d.ts +9 -4
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/project/messages.d.ts +1 -1
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/team/styled.d.ts +12 -9
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/user/styled.d.ts +12 -9
- package/dist/types-ts4.5/plugins/rich-inline-nodes/util/react-node-view.d.ts +3 -3
- package/dist/types-ts4.5/state/index.d.ts +59 -894
- package/dist/types-ts4.5/ui/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-expand-toggle/styled.d.ts +6 -3
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-syntax-help/styled.d.ts +6 -3
- package/dist/types-ts4.5/ui/jql-editor-controls-content/expand-toggle/messages.d.ts +5 -5
- package/dist/types-ts4.5/ui/jql-editor-controls-content/search/messages.d.ts +1 -1
- package/dist/types-ts4.5/ui/jql-editor-controls-content/syntax-help/messages.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-editor-help/messages.d.ts +5 -5
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-editor-help/styled.d.ts +6 -3
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/errors/messages.d.ts +1 -1
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/format/styled.d.ts +9 -6
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/warnings/messages.d.ts +5 -5
- package/dist/types-ts4.5/ui/jql-editor-layout/styled.d.ts +29 -26
- package/dist/types-ts4.5/ui/jql-editor-portal-provider/context.d.ts +2 -1
- package/dist/types-ts4.5/ui/messages.d.ts +1 -1
- package/dist/types-ts4.5/ui/tooltip-tag/styled.d.ts +6 -3
- package/package.json +8 -8
|
@@ -1,172 +1,172 @@
|
|
|
1
1
|
export declare const errorMessages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
expectingCFButReceived: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
5
|
+
id: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
expectingCustomFieldId: {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
8
10
|
id: string;
|
|
11
|
+
};
|
|
12
|
+
expectingFieldBeforeEOF: {
|
|
9
13
|
defaultMessage: string;
|
|
10
14
|
description: string;
|
|
15
|
+
id: string;
|
|
11
16
|
};
|
|
12
17
|
expectingFieldButReceived: {
|
|
13
|
-
id: string;
|
|
14
18
|
defaultMessage: string;
|
|
15
19
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
expectingFieldBeforeEOF: {
|
|
18
20
|
id: string;
|
|
21
|
+
};
|
|
22
|
+
expectingFieldPropertyIdBeforeEOF: {
|
|
19
23
|
defaultMessage: string;
|
|
20
24
|
description: string;
|
|
21
|
-
};
|
|
22
|
-
expectingCFButReceived: {
|
|
23
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
expectingFieldPropertyIdButReceived: {
|
|
24
28
|
defaultMessage: string;
|
|
25
29
|
description: string;
|
|
26
|
-
};
|
|
27
|
-
expectingCustomFieldId: {
|
|
28
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
expectingFunctionArgBeforeEOF: {
|
|
29
33
|
defaultMessage: string;
|
|
30
34
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
expectingOperandButReceived: {
|
|
33
35
|
id: string;
|
|
36
|
+
};
|
|
37
|
+
expectingFunctionArgButReceived: {
|
|
34
38
|
defaultMessage: string;
|
|
35
39
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
expectingOperandBeforeEOF: {
|
|
38
40
|
id: string;
|
|
41
|
+
};
|
|
42
|
+
expectingFunctionBeforeEOF: {
|
|
39
43
|
defaultMessage: string;
|
|
40
44
|
description: string;
|
|
41
|
-
};
|
|
42
|
-
expectingValueOrFunctionButReceived: {
|
|
43
45
|
id: string;
|
|
46
|
+
};
|
|
47
|
+
expectingFunctionButReceived: {
|
|
44
48
|
defaultMessage: string;
|
|
45
49
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
expectingValueOrFunctionBeforeEOF: {
|
|
48
50
|
id: string;
|
|
51
|
+
};
|
|
52
|
+
expectingListBeforeEOF: {
|
|
49
53
|
defaultMessage: string;
|
|
50
54
|
description: string;
|
|
51
|
-
};
|
|
52
|
-
expectingListOrFunctionButReceived: {
|
|
53
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
expectingListButReceived: {
|
|
54
58
|
defaultMessage: string;
|
|
55
59
|
description: string;
|
|
60
|
+
id: string;
|
|
56
61
|
};
|
|
57
62
|
expectingListOrFunctionBeforeEOF: {
|
|
58
|
-
id: string;
|
|
59
63
|
defaultMessage: string;
|
|
60
64
|
description: string;
|
|
61
|
-
};
|
|
62
|
-
expectingValueButReceived: {
|
|
63
65
|
id: string;
|
|
66
|
+
};
|
|
67
|
+
expectingListOrFunctionButReceived: {
|
|
64
68
|
defaultMessage: string;
|
|
65
69
|
description: string;
|
|
66
|
-
};
|
|
67
|
-
expectingValueBeforeEOF: {
|
|
68
70
|
id: string;
|
|
71
|
+
};
|
|
72
|
+
expectingMultipleTokensBeforeEOF: {
|
|
69
73
|
defaultMessage: string;
|
|
70
74
|
description: string;
|
|
71
|
-
};
|
|
72
|
-
expectingListButReceived: {
|
|
73
75
|
id: string;
|
|
76
|
+
};
|
|
77
|
+
expectingMultipleTokensButReceived: {
|
|
74
78
|
defaultMessage: string;
|
|
75
79
|
description: string;
|
|
76
|
-
};
|
|
77
|
-
expectingListBeforeEOF: {
|
|
78
80
|
id: string;
|
|
81
|
+
};
|
|
82
|
+
expectingOperandBeforeEOF: {
|
|
79
83
|
defaultMessage: string;
|
|
80
84
|
description: string;
|
|
81
|
-
};
|
|
82
|
-
expectingFunctionButReceived: {
|
|
83
85
|
id: string;
|
|
86
|
+
};
|
|
87
|
+
expectingOperandButReceived: {
|
|
84
88
|
defaultMessage: string;
|
|
85
89
|
description: string;
|
|
86
|
-
};
|
|
87
|
-
expectingFunctionBeforeEOF: {
|
|
88
90
|
id: string;
|
|
91
|
+
};
|
|
92
|
+
expectingOperatorBeforeEOF: {
|
|
89
93
|
defaultMessage: string;
|
|
90
94
|
description: string;
|
|
91
|
-
};
|
|
92
|
-
expectingFieldPropertyIdButReceived: {
|
|
93
95
|
id: string;
|
|
96
|
+
};
|
|
97
|
+
expectingOperatorButReceived: {
|
|
94
98
|
defaultMessage: string;
|
|
95
99
|
description: string;
|
|
96
|
-
};
|
|
97
|
-
expectingFieldPropertyIdBeforeEOF: {
|
|
98
100
|
id: string;
|
|
101
|
+
};
|
|
102
|
+
expectingTokenBeforeEOF: {
|
|
99
103
|
defaultMessage: string;
|
|
100
104
|
description: string;
|
|
101
|
-
};
|
|
102
|
-
expectingFunctionArgButReceived: {
|
|
103
105
|
id: string;
|
|
106
|
+
};
|
|
107
|
+
expectingTokenButReceived: {
|
|
104
108
|
defaultMessage: string;
|
|
105
109
|
description: string;
|
|
106
|
-
};
|
|
107
|
-
expectingFunctionArgBeforeEOF: {
|
|
108
110
|
id: string;
|
|
111
|
+
};
|
|
112
|
+
expectingValueBeforeEOF: {
|
|
109
113
|
defaultMessage: string;
|
|
110
114
|
description: string;
|
|
111
|
-
};
|
|
112
|
-
expectingMultipleTokensButReceived: {
|
|
113
115
|
id: string;
|
|
116
|
+
};
|
|
117
|
+
expectingValueButReceived: {
|
|
114
118
|
defaultMessage: string;
|
|
115
119
|
description: string;
|
|
116
|
-
};
|
|
117
|
-
expectingMultipleTokensBeforeEOF: {
|
|
118
120
|
id: string;
|
|
121
|
+
};
|
|
122
|
+
expectingValueOrFunctionBeforeEOF: {
|
|
119
123
|
defaultMessage: string;
|
|
120
124
|
description: string;
|
|
121
|
-
};
|
|
122
|
-
expectingTokenButReceived: {
|
|
123
125
|
id: string;
|
|
126
|
+
};
|
|
127
|
+
expectingValueOrFunctionButReceived: {
|
|
124
128
|
defaultMessage: string;
|
|
125
129
|
description: string;
|
|
126
|
-
};
|
|
127
|
-
expectingTokenBeforeEOF: {
|
|
128
130
|
id: string;
|
|
131
|
+
};
|
|
132
|
+
illegalChar: {
|
|
129
133
|
defaultMessage: string;
|
|
130
134
|
description: string;
|
|
135
|
+
id: string;
|
|
131
136
|
};
|
|
132
|
-
|
|
137
|
+
illegalEscape: {
|
|
138
|
+
defaultMessage: string;
|
|
139
|
+
description: string;
|
|
133
140
|
id: string;
|
|
141
|
+
};
|
|
142
|
+
illegalEscapeBlank: {
|
|
134
143
|
defaultMessage: string;
|
|
135
144
|
description: string;
|
|
145
|
+
id: string;
|
|
136
146
|
};
|
|
137
147
|
reservedChar: {
|
|
138
|
-
id: string;
|
|
139
148
|
defaultMessage: string;
|
|
140
149
|
description: string;
|
|
150
|
+
id: string;
|
|
141
151
|
};
|
|
142
152
|
reservedWord: {
|
|
143
|
-
id: string;
|
|
144
153
|
defaultMessage: string;
|
|
145
154
|
description: string;
|
|
155
|
+
id: string;
|
|
146
156
|
};
|
|
147
157
|
unfinishedString: {
|
|
148
|
-
id: string;
|
|
149
158
|
defaultMessage: string;
|
|
150
159
|
description: string;
|
|
160
|
+
id: string;
|
|
151
161
|
};
|
|
152
162
|
unfinishedStringBlank: {
|
|
153
|
-
id: string;
|
|
154
163
|
defaultMessage: string;
|
|
155
164
|
description: string;
|
|
156
|
-
};
|
|
157
|
-
illegalEscape: {
|
|
158
165
|
id: string;
|
|
159
|
-
defaultMessage: string;
|
|
160
|
-
description: string;
|
|
161
166
|
};
|
|
162
|
-
|
|
163
|
-
id: string;
|
|
167
|
+
unknownErrorAtToken: {
|
|
164
168
|
defaultMessage: string;
|
|
165
169
|
description: string;
|
|
166
|
-
};
|
|
167
|
-
illegalChar: {
|
|
168
170
|
id: string;
|
|
169
|
-
defaultMessage: string;
|
|
170
|
-
description: string;
|
|
171
171
|
};
|
|
172
172
|
};
|
|
@@ -12,5 +12,5 @@ interface GoalIconProps {
|
|
|
12
12
|
size?: ComponentProps<typeof IconTile>['size'];
|
|
13
13
|
status: string;
|
|
14
14
|
}
|
|
15
|
-
export declare const GoalIcon: ({ status, size, iconKey
|
|
15
|
+
export declare const GoalIcon: ({ status, size, iconKey }: GoalIconProps) => React.JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import type { Props as GoalRichInlineProps } from './goal/types';
|
|
2
|
+
import type { Props as ProjectRichInlineProps } from './project/types';
|
|
3
|
+
import { type Props as TeamRichInlineProps } from './team';
|
|
4
|
+
import type { JQLNodeSpec } from './types';
|
|
5
|
+
import { type Props as UserRichInlineProps } from './user';
|
|
1
6
|
export declare const richInlineNodes: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
goal: JQLNodeSpec<GoalRichInlineProps>;
|
|
8
|
+
project: JQLNodeSpec<ProjectRichInlineProps>;
|
|
9
|
+
team: JQLNodeSpec<TeamRichInlineProps>;
|
|
10
|
+
user: JQLNodeSpec<UserRichInlineProps>;
|
|
6
11
|
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
2
|
+
import { type Theme } from '@emotion/react';
|
|
3
|
+
import { type StyledComponent } from '@emotion/styled';
|
|
4
|
+
export declare const TeamContainer: StyledComponent<{
|
|
3
5
|
as?: React.ElementType;
|
|
6
|
+
theme?: Theme;
|
|
4
7
|
} & {
|
|
5
8
|
error: boolean;
|
|
6
9
|
selected: boolean;
|
|
7
|
-
},
|
|
8
|
-
export declare const NameContainer:
|
|
9
|
-
theme?: import("@emotion/react").Theme;
|
|
10
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
11
|
+
export declare const NameContainer: StyledComponent<{
|
|
10
12
|
as?: React.ElementType;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
theme?: Theme;
|
|
14
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
15
|
+
export declare const AvatarWrapper: StyledComponent<{
|
|
14
16
|
as?: React.ElementType;
|
|
15
|
-
|
|
17
|
+
theme?: Theme;
|
|
18
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
2
|
+
import { type Theme } from '@emotion/react';
|
|
3
|
+
import { type StyledComponent } from '@emotion/styled';
|
|
4
|
+
export declare const UserContainer: StyledComponent<{
|
|
3
5
|
as?: React.ElementType;
|
|
6
|
+
theme?: Theme;
|
|
4
7
|
} & {
|
|
5
8
|
error: boolean;
|
|
6
9
|
selected: boolean;
|
|
7
|
-
},
|
|
8
|
-
export declare const NameContainer:
|
|
9
|
-
theme?: import("@emotion/react").Theme;
|
|
10
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
11
|
+
export declare const NameContainer: StyledComponent<{
|
|
10
12
|
as?: React.ElementType;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
theme?: Theme;
|
|
14
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
15
|
+
export declare const AvatarWrapper: StyledComponent<{
|
|
14
16
|
as?: React.ElementType;
|
|
15
|
-
|
|
17
|
+
theme?: Theme;
|
|
18
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ComponentType } from 'react';
|
|
2
2
|
import { type Node } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { type Decoration, type NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import { type PortalActions } from '../../../ui/jql-editor-portal-provider/types';
|
|
@@ -13,8 +13,8 @@ export declare class ReactNodeView<Props> implements NodeView {
|
|
|
13
13
|
private readonly portalActions;
|
|
14
14
|
private readonly portalKey;
|
|
15
15
|
readonly dom: HTMLSpanElement;
|
|
16
|
-
constructor(component:
|
|
17
|
-
static for<Props>(component:
|
|
16
|
+
constructor(component: ComponentType<NodeViewProps<Props>>, portalActions: PortalActions, node: Node);
|
|
17
|
+
static for<Props>(component: ComponentType<NodeViewProps<Props>>, portalActions: PortalActions, node: Node, decorations: readonly Decoration[]): ReactNodeView<Props>;
|
|
18
18
|
init: (decorations: readonly Decoration[]) => this;
|
|
19
19
|
destroy: () => void;
|
|
20
20
|
update: (node: Node, decorations: readonly Decoration[]) => boolean;
|