@atlaskit/editor-core 231.0.3 → 231.0.5
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 +38 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +1 -1
- package/dist/cjs/ui/quick-insert/ExtensionQuickInsertMenuItem.js +2 -2
- package/dist/cjs/ui/quick-insert/executeExtensionQuickInsertItem.js +1 -1
- package/dist/cjs/utils/extensions.js +5 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +1 -1
- package/dist/es2019/ui/quick-insert/ExtensionQuickInsertMenuItem.js +2 -2
- package/dist/es2019/ui/quick-insert/executeExtensionQuickInsertItem.js +2 -2
- package/dist/es2019/utils/extensions.js +3 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +1 -1
- package/dist/esm/ui/quick-insert/ExtensionQuickInsertMenuItem.js +2 -2
- package/dist/esm/ui/quick-insert/executeExtensionQuickInsertItem.js +2 -2
- package/dist/esm/utils/extensions.js +5 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +8 -8
- package/tsconfig.json +1 -1
- package/dist/cjs/ui/quick-insert/getExtensionQuickInsertPreviewImageUrls.js +0 -365
- package/dist/es2019/ui/quick-insert/getExtensionQuickInsertPreviewImageUrls.js +0 -358
- package/dist/esm/ui/quick-insert/getExtensionQuickInsertPreviewImageUrls.js +0 -358
- package/dist/types/ui/quick-insert/getExtensionQuickInsertPreviewImageUrls.d.ts +0 -7
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
import { getSnippetPreviewImageUrls } from '@atlaskit/editor-common/quick-insert/snippet-preview-image-urls';
|
|
2
|
-
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
3
|
-
const embedPreviewImageUrlsByKey = {
|
|
4
|
-
'third-party-quick-insert-embeds:third-party-embed-amplitude': {
|
|
5
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/7v8shu6n3wd15644f3ys785628dkt632.png',
|
|
6
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/2r34o120k40e0us4w66oqpud63o4lef4.png'
|
|
7
|
-
},
|
|
8
|
-
'dropbox:item': {
|
|
9
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/83f1773ur08qm4t3bqaabpwb173313tg.png',
|
|
10
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/37v2dk5n1ltwc82j1w76dv1tyr8puwq0.png'
|
|
11
|
-
},
|
|
12
|
-
'third-party-quick-insert-embeds:third-party-embed-figma': {
|
|
13
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/svedc2lju60bgq3r43kfmi7213wj46as.png',
|
|
14
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/u80s30071b4c10vdjr5rw0uje8cu2pk7.png'
|
|
15
|
-
},
|
|
16
|
-
'third-party-quick-insert-embeds:third-party-embed-google-drive': {
|
|
17
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/y01wj4t58w86byx86l6k81a22axud131.png',
|
|
18
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/wi413m0837rjykg23r6y0256b7377185.png'
|
|
19
|
-
},
|
|
20
|
-
'iframe:iframe': {
|
|
21
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/77p6d5rb343gue8580bacbl0xf82u5jv.png',
|
|
22
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/72a0j8eddxg82rnp8j48bipi8sq8g0ke.png'
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
const dataAndChartsPreviewImageUrlsByKey = {
|
|
26
|
-
'quick-insert-assets-menu-item': {
|
|
27
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/64d41r462m2343iomn821ver0g4ohh37.png',
|
|
28
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/0w58rc60jh54m68224qqinuk52d6lldt.png'
|
|
29
|
-
},
|
|
30
|
-
'blog-posts': {
|
|
31
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/syvwj7cg10q6n1586u2l64q78o2dc54d.png',
|
|
32
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/5n54qb4j1pn588ud6604eh4c8hj5422v.png'
|
|
33
|
-
},
|
|
34
|
-
'change-history': {
|
|
35
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/623tjta5b2flb1b7lf3t0dp6r4c858v5.png',
|
|
36
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/u83vu4k3if5kh4a12e34pr5jf833e71l.png'
|
|
37
|
-
},
|
|
38
|
-
children: {
|
|
39
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/a0qd7lp8011o238rmf3m872hb765y2g1.png',
|
|
40
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/ttbt2qi6tkl6cgdyig1th4x837g3c018.png'
|
|
41
|
-
},
|
|
42
|
-
details: {
|
|
43
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/11j376ovg761h7o2vfr0l6n8okxf22m4.png',
|
|
44
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/857b0i4hxk3pxeq3h5v2ykfav4niv5hx.png'
|
|
45
|
-
},
|
|
46
|
-
detailssummary: {
|
|
47
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/566j328lm7022fx64cv77w8xtyodre44.png',
|
|
48
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/07k170i7odd417hvcpkp800353211gwi.png'
|
|
49
|
-
},
|
|
50
|
-
'content-report-table': {
|
|
51
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/ewhj8d8216yc6lyny58l2w4h3nikbs06.png',
|
|
52
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/060xk53i83jkbc5m5op8v44887tv3038.png'
|
|
53
|
-
},
|
|
54
|
-
pagetree: {
|
|
55
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/8g3qkn50t2m3n05465s783f54517su0j.png',
|
|
56
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/kji77816l70343e211ll54222q3i0m57.png'
|
|
57
|
-
},
|
|
58
|
-
contributors: {
|
|
59
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/f115sn7v8x2oo65outd1g7124u03dfj1.png',
|
|
60
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/22801wwe6yf82mcfcrd7vg54620p5e0g.png'
|
|
61
|
-
},
|
|
62
|
-
'database-extension:create-database': {
|
|
63
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/65m57812l47f0a55qpm51t8glk24vsne.png',
|
|
64
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/lqqxkx57ue3ws60m642br54ss6m3neow.png'
|
|
65
|
-
},
|
|
66
|
-
'decisionreport:decisionreport': {
|
|
67
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/1w6a5k5f1yndoy2g3j158n151020v71y.png',
|
|
68
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3347ejx66xy7y375s232mbeg0ia1rdm8.png'
|
|
69
|
-
},
|
|
70
|
-
'database-extension:reference-database': {
|
|
71
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/5b815435xso5xv248niy0dg3m3yr2w6c.png',
|
|
72
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/he1vu1p7ngbjcy6lw8i8vh601aw14ct1.png'
|
|
73
|
-
},
|
|
74
|
-
contentbylabel: {
|
|
75
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3i6n45of3ks7lm5v65k74r0580mqya62.png',
|
|
76
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/8hy8d25516esmq4q267bf15483851454.png'
|
|
77
|
-
},
|
|
78
|
-
'quick-insert-confluence-list-menu-item': {
|
|
79
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/8jh31f0k143b475y5tun230v166c7087.png',
|
|
80
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/6co68akkw56t83fql3m823qi21k8776u.png'
|
|
81
|
-
},
|
|
82
|
-
'quick-insert-jira-work-items-menu-item': {
|
|
83
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/m284qw5066530tr5yd11473uq1l8t86t.png',
|
|
84
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4b1455q46emetd0jxv70xuo7i7lwo574.png'
|
|
85
|
-
},
|
|
86
|
-
listlabels: {
|
|
87
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3k50k14u80g034t323q3m13m6820ag70.png',
|
|
88
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/1a51b87u6bvsq84pup1wy1n32pg2s6c7.png'
|
|
89
|
-
},
|
|
90
|
-
livesearch: {
|
|
91
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/80v4vx47y130st85qx46432fo18g0sbx.png',
|
|
92
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/0n8ie724cnnvl62w1m521k8eq5v73u76.png'
|
|
93
|
-
},
|
|
94
|
-
pagetreesearch: {
|
|
95
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/g32sx54apgb3yt844qi4y28gu835q682.png',
|
|
96
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/w7o6smtuy41bg08327dy2ai0fht2lc6m.png'
|
|
97
|
-
},
|
|
98
|
-
'popular-labels': {
|
|
99
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/oqgl5347hqmx6u3v837q1bh2q70ls7bd.png',
|
|
100
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/a2x44n7aasba646mlmqht7cqfq6k8783.png'
|
|
101
|
-
},
|
|
102
|
-
'questionslist-macro-native:questionslist-macro-native': {
|
|
103
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/37x027653yfd01ik041qnf005f1j5867.png',
|
|
104
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4f6f51758m5m6nu06x557nm115613233.png'
|
|
105
|
-
},
|
|
106
|
-
'recently-updated': {
|
|
107
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/g4y1gsehg600ge0nem6r2xv4b0ga7106.png',
|
|
108
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/g2vqf86yj16fi74mny6b265mw5l181fx.png'
|
|
109
|
-
},
|
|
110
|
-
'gadget:spaces': {
|
|
111
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/jw8r2233444raq4p3v56obq230hh5a8n.png',
|
|
112
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/b3py8prmf21tl73nb42gc67a0i437o1q.png'
|
|
113
|
-
},
|
|
114
|
-
'tasks-report-macro': {
|
|
115
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/n2lm728m8n7au2q455wy57m407a8i74b.png',
|
|
116
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/e7qda5xter48ao38ieq82jgv3m7j3g8c.png'
|
|
117
|
-
},
|
|
118
|
-
calendar: {
|
|
119
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/01d5gi6lifcsu5el861v8p7kw84ja8it.png',
|
|
120
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/g7v75uv8mw0i7hw36181xx2nly2674pi.png'
|
|
121
|
-
},
|
|
122
|
-
userlister: {
|
|
123
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/5cy6l23fwmo2820uce5m50g1222l0hpb.png',
|
|
124
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4883g3sm4pdy8w3mmphdqj81588c37gf.png'
|
|
125
|
-
},
|
|
126
|
-
profile: {
|
|
127
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/evx8rg04mer8binf15e8ao0imm5kv7ek.png',
|
|
128
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/o2kexap23ijq8jeqhpvi8lgc51dex3wj.png'
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
const otherPreviewImageUrlsByKey = {
|
|
132
|
-
'excerpt:excerpt': {
|
|
133
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/1h408wk0e4x6efhby84hbc583nx5b0b5.png',
|
|
134
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/0j5s4a60jjbrq3yoa7kfnkft28403127.png'
|
|
135
|
-
},
|
|
136
|
-
'excerpt-include:excerpt-include': {
|
|
137
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/dg718ggxcx60dj7ng86fpqmwbv7vauny.png',
|
|
138
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/y373d21g768gmvjao5db38kw4460m72r.png'
|
|
139
|
-
},
|
|
140
|
-
'include:include': {
|
|
141
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/s12155hkaoc81aa0eh58y54402s8t346.png',
|
|
142
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/61yskd00re82i80b8r6pfxp60pi4852s.png'
|
|
143
|
-
},
|
|
144
|
-
'jirachart:jirachart': {
|
|
145
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/30g82ea1p64616h40s110ysud47dnof6.png',
|
|
146
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/114de8qe6dy877s65xh1a2dil1r86x73.png'
|
|
147
|
-
},
|
|
148
|
-
'jira:jira': {
|
|
149
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/8ttib573524136b5lffq3a1go05x507d.png',
|
|
150
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/pdnn81xj6e8v56nye6rnft3rd4yhnc05.png'
|
|
151
|
-
},
|
|
152
|
-
'portfolioforjiraplan:portfolioforjiraplan': {
|
|
153
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/24g0yt8c54671463162f5q455qcki3id.png',
|
|
154
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/c2hy8b245yg1dt2776ol5sx57n045nv0.png'
|
|
155
|
-
},
|
|
156
|
-
'opsgenie-incident-timeline-eu-macro:opsgenie-incident-timeline-eu-macro': {
|
|
157
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/qo0u146811738ixd6l13nud48pv57510.png',
|
|
158
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/qnq1bn07a3k0v4m10hoi487p837obx53.png'
|
|
159
|
-
},
|
|
160
|
-
'sharelinks-urlmacro:sharelinks-urlmacro': {
|
|
161
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/0028h1741o411uw4qi8icbg138kus32e.png',
|
|
162
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/myhw531c3748qn4ro51vf450vk0qg481.png'
|
|
163
|
-
},
|
|
164
|
-
'toc-zone:toc-zone': {
|
|
165
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/1p16277ig16wc6kelloa542k33b18mm2.png',
|
|
166
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/s4q2ap8q4135r0r3i1tym1d5koxdonb1.png'
|
|
167
|
-
},
|
|
168
|
-
'viewpdf:viewpdf': {
|
|
169
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/jt685rp527nfo8jqp6o5o0r31l3rpfux.png',
|
|
170
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/30u3v86x652ah52ruhqj1ap0s0ve4ey2.png'
|
|
171
|
-
},
|
|
172
|
-
'viewxls:viewxls': {
|
|
173
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/b11p6ksb8r6j6g2604p67ab53f23u6f5.png',
|
|
174
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/r426m140lbp7gs2gxbe015e21kf23j8l.png'
|
|
175
|
-
},
|
|
176
|
-
'gadget:activity stream': {
|
|
177
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/7v3a1rvva7gxr874o5qah5k61365hod5.png',
|
|
178
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/nh7404rduyw5tbne4143426evuk7hvg8.png'
|
|
179
|
-
},
|
|
180
|
-
'gadget:agile wallboard gadget': {
|
|
181
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/n611u81ca8fkyv5nk6cl6j1081e805tr.png',
|
|
182
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3o7vtt14rtpe3sna7mras6oih86nssb6.png'
|
|
183
|
-
},
|
|
184
|
-
'gadget:assigned to me': {
|
|
185
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/d72jy2r18q6v06s13k2f6x3fymrr4on7.png',
|
|
186
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/5c62343jh3411ido38440xx0007cx6ls.png'
|
|
187
|
-
},
|
|
188
|
-
'gadget:average age chart': {
|
|
189
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/i53kn1igq64m5dip4eg1030j15yd7xxe.png',
|
|
190
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/t136146lvs3x60456gnsghtv730uaftn.png'
|
|
191
|
-
},
|
|
192
|
-
'gadget:average number of times in status': {
|
|
193
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/u4v77u1lwcy5g08y047q33dbiv42dkit.png',
|
|
194
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/16v2eq2c1df0mrf2jo6xic526527nfh1.png'
|
|
195
|
-
},
|
|
196
|
-
'gadget:days remaining in sprint gadget': {
|
|
197
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/805320gvqd6cbr23yrv271oas2u061s5.png',
|
|
198
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/41j35y64652g06uru332kt2a0pk77j03.png'
|
|
199
|
-
},
|
|
200
|
-
'gadget:filter results': {
|
|
201
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/w0n60p750b2275k226gri2j6i366jt0e.png',
|
|
202
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/j706ug0u5nk40i1lhrt05j63grc36x0u.png'
|
|
203
|
-
},
|
|
204
|
-
'gadget:heat map': {
|
|
205
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/qoepx85h21t4u00cht35nc3ssl4i72j5.png',
|
|
206
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/w574xrh77oxbmb18f0ro1bd80x417426.png'
|
|
207
|
-
},
|
|
208
|
-
'gadget:issues in progress': {
|
|
209
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/666u7h3tp16ad4k8u24d4u1155n1v7hg.png',
|
|
210
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/go2d8b1qs7h07b17326lx8r8p28jm011.png'
|
|
211
|
-
},
|
|
212
|
-
'gadget:jira issues calendar': {
|
|
213
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/13o0sk45vlf25x1m3w14gsy146k25b14.png',
|
|
214
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/j23063ot2a014a2a51y6i0o1keo0kanr.png'
|
|
215
|
-
},
|
|
216
|
-
'gadget:jira road map': {
|
|
217
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/h6u3kb7116jr12w3f586stmc850827h3.png',
|
|
218
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/q23v3a23018y2856kew3fsork63bg6p2.png'
|
|
219
|
-
},
|
|
220
|
-
'gadget:labels gadget': {
|
|
221
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/7u8gpvv82s3e2833204nm6m1k3301c46.png',
|
|
222
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/42hjlte7y364o8y4e5udkl11o22a2ac3.png'
|
|
223
|
-
},
|
|
224
|
-
'gadget:pie chart': {
|
|
225
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/v4b6d7to551136834oe1a0xx66n7mv5e.png',
|
|
226
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/pdq60d803b655il4x3m0co608guc56ub.png'
|
|
227
|
-
},
|
|
228
|
-
'gadget:quick links': {
|
|
229
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/onlh3rc6p0qj15rsysxa3ep5b183hk40.png',
|
|
230
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/k51qkw636t010l5h1vrs05c7i073y0xp.png'
|
|
231
|
-
},
|
|
232
|
-
'gadget:recently created chart': {
|
|
233
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/t5in18tcubtbr18yv1gr0ap26x7d6bh3.png',
|
|
234
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/ia4jrrsg4mw8tu0gtj88d2yr5w6s20fm.png'
|
|
235
|
-
},
|
|
236
|
-
'gadget:resolution time': {
|
|
237
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3dek0066jn31qfkk2l2hn011um087y72.png',
|
|
238
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/msw0hn3462vvai4l4jkp50xcm87741j6.png'
|
|
239
|
-
},
|
|
240
|
-
'gadget:sprint burndown gadget': {
|
|
241
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/2qqrp3vl4rv2p443566826jadj38rfrj.png',
|
|
242
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/qic3bcq5sqhd7r00qpj3i6240n3uw3fp.png'
|
|
243
|
-
},
|
|
244
|
-
'gadget:sprint health gadget': {
|
|
245
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/uoqla656675p5wwc3a8v824768lip528.png',
|
|
246
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/pnngo5y00g18eos4je3r20ga0c666c68.png'
|
|
247
|
-
},
|
|
248
|
-
'gadget:time since chart': {
|
|
249
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/f7g8053ww4deogfid2h2pj2nw6n8582u.png',
|
|
250
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/20wj0kb8mjjj7in0hu62j4ska17ug5s3.png'
|
|
251
|
-
},
|
|
252
|
-
'gadget:time to first response': {
|
|
253
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/l4cy50n75hr166cpohxpd3h5038e8sl7.png',
|
|
254
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/8kkdphd2l3gb7w06dboc82rmtm86xk7r.png'
|
|
255
|
-
},
|
|
256
|
-
'gadget:two dimensional filter statistics': {
|
|
257
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/6s1x266h56m7p4q758jem2k03hbu15gb.png',
|
|
258
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/hjt70wg3tds43ev34nxv1r7l50170f4l.png'
|
|
259
|
-
},
|
|
260
|
-
'gadget:version report': {
|
|
261
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/2143nj51e834657316q5n5j6kbq3h3m7.png',
|
|
262
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/rgi5il8d845k40f65w0f8a678c1rf51q.png'
|
|
263
|
-
},
|
|
264
|
-
'gadget:voted work items': {
|
|
265
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/0n262m847lgjj174x658ps04k6j513r6.png',
|
|
266
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/rcn6qrr638k1v5y6xrw8g512f2530244.png'
|
|
267
|
-
},
|
|
268
|
-
'gadget:watched issues': {
|
|
269
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/v418o500l40ga5gtq6m23x5t17k47wbe.png',
|
|
270
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/mv0w504r53gvkx38g3y74pd65k5hktop.png'
|
|
271
|
-
},
|
|
272
|
-
'gadget:work item statistics': {
|
|
273
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4315hi70mlh4eqbn6215p10s4il7os34.png',
|
|
274
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/l3120n2755pw6r2o2q24tmsgu6658533.png'
|
|
275
|
-
},
|
|
276
|
-
'gadget:workload pie chart': {
|
|
277
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/v5j8p100viey44g61cdc61d53465gda5.png',
|
|
278
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/84tce4xo2nqe0712oil1f08n5160a11v.png'
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
const previewImageUrlsByKey = {
|
|
282
|
-
...dataAndChartsPreviewImageUrlsByKey,
|
|
283
|
-
...embedPreviewImageUrlsByKey,
|
|
284
|
-
...otherPreviewImageUrlsByKey,
|
|
285
|
-
'profile-picture:profile-picture': {
|
|
286
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/35rb2mbxc2dt8p7op8u8lyss5h220428.png',
|
|
287
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4o3lpe2eh4nlakav375621i73do50kyx.png'
|
|
288
|
-
},
|
|
289
|
-
'whiteboard-extension:create-brainstorming': {
|
|
290
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/6t0pky2s6s802i85x3xrl2jkliln4k10.png',
|
|
291
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/5i7opmkn02g8a163v0udjrn15723ti65.png'
|
|
292
|
-
},
|
|
293
|
-
'whiteboard-extension:create-diagram': {
|
|
294
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/b53mwb352cu4m2ic376r3a7l8xcb2lp8.png',
|
|
295
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3qcyi8f2l7020lf8t2630h76psa8sef2.png'
|
|
296
|
-
},
|
|
297
|
-
'whiteboard-extension:create-flowchart': {
|
|
298
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/7wnhq0ag04nnvr555538abm5uln826r5.png',
|
|
299
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3mq78tb8481m3axkf16qp24pv16s0n37.png'
|
|
300
|
-
},
|
|
301
|
-
'whiteboard-extension:create-retrospective': {
|
|
302
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/ha5g3fvhi18174t4ua8v3f1xbgg5aqle.png',
|
|
303
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/0ya7355442s42m56283l5q1erekh4278.png'
|
|
304
|
-
},
|
|
305
|
-
'whiteboard-extension:create-roadmap': {
|
|
306
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/q86286x2vfn2dly7sajy32iaj4o506iy.png',
|
|
307
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/8nqml2m2w0n3jeah3x5y8ydr7u8dmn7t.png'
|
|
308
|
-
},
|
|
309
|
-
'whiteboard-extension:create-whiteboard': {
|
|
310
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4u6tb8343dv71eotl5462nydlq3544ut.png',
|
|
311
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/k177s112506n0bn788227s0ig45nko57.png'
|
|
312
|
-
},
|
|
313
|
-
'anchor:anchor': {
|
|
314
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/5f440bb8m37yig3u77s6c8200re8mto0.png',
|
|
315
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/y42w6i56fk22vb3g5120d43qfwte8a78.png'
|
|
316
|
-
},
|
|
317
|
-
'cards:quick-insert': {
|
|
318
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/20cikbp248b6uuagmv870057c46b546m.png',
|
|
319
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/1jdjwc5fe5q64gf4f6i6i66tp361fv86.png'
|
|
320
|
-
},
|
|
321
|
-
'carousel:quick-insert': {
|
|
322
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/20g273op21fx0t521ap2xg3b36125vpa.png',
|
|
323
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/d5t273i2jkax3c2223172a15kpqxww35.png'
|
|
324
|
-
},
|
|
325
|
-
'com.atlassian.linking-platform.create:linking-platform-create-confluence-page': {
|
|
326
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3n23b6b5h222r3v068bt32dvx54l5f21.png',
|
|
327
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/bo85x7j087bjb2q45rb14nx2yf18k6l7.png'
|
|
328
|
-
},
|
|
329
|
-
'com.atlassian.linking-platform.create:linking-platform-create-jira-issue': {
|
|
330
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/r8200b630kethcrda0fbs4nt7j180715.png',
|
|
331
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/0n02x8u7ip23y371rkval1ggq5qk738i.png'
|
|
332
|
-
},
|
|
333
|
-
'native-tabs:native-tabs': {
|
|
334
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/hvdl25h7i4xrv1gfxc8yo04nkfk63acq.png',
|
|
335
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/n857jlk2ahk2ymsh6derrt3sy75l026j.png'
|
|
336
|
-
},
|
|
337
|
-
'smart-button:quick-insert': {
|
|
338
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/101m1324u46r06ksvg8ak64s2u0vm7l7.png',
|
|
339
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/3cqw35441m20336hn04h731532i1x2pe.png'
|
|
340
|
-
},
|
|
341
|
-
'spotlight:quick-insert': {
|
|
342
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/x2qdma2vfrd7h55vp5i4x66fr42b877w.png',
|
|
343
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/ngi4osf40j5e37flt8e1pqw345pc346v.png'
|
|
344
|
-
},
|
|
345
|
-
'toc:toc': {
|
|
346
|
-
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/7jj541q4pq1joqf0ar53j42kr6371t1t.png',
|
|
347
|
-
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/v8eyy0fvu61fb8a4b4teea4pjs7g2842.png'
|
|
348
|
-
}
|
|
349
|
-
};
|
|
350
|
-
export const getExtensionQuickInsertPreviewImageUrls = item => {
|
|
351
|
-
var _item$key, _ref, _ref2, _dataAndChartsPreview;
|
|
352
|
-
const snippetKeyPrefix = 'snippet-extension:snippet-';
|
|
353
|
-
if ((_item$key = item.key) !== null && _item$key !== void 0 && _item$key.startsWith(snippetKeyPrefix)) {
|
|
354
|
-
return isExperimentEnabled('platform_editor_slash_command') ? getSnippetPreviewImageUrls(item.key.slice(snippetKeyPrefix.length)) : undefined;
|
|
355
|
-
}
|
|
356
|
-
const normalizedTitle = item.title.toLowerCase();
|
|
357
|
-
return (_ref = (_ref2 = item.key ? previewImageUrlsByKey[item.key] : undefined) !== null && _ref2 !== void 0 ? _ref2 : item.extensionKey === 'gadget' ? (_dataAndChartsPreview = dataAndChartsPreviewImageUrlsByKey[`${item.extensionKey}:${normalizedTitle}`]) !== null && _dataAndChartsPreview !== void 0 ? _dataAndChartsPreview : otherPreviewImageUrlsByKey[`${item.extensionKey}:${normalizedTitle}`] : undefined) !== null && _ref !== void 0 ? _ref : item.extensionKey ? dataAndChartsPreviewImageUrlsByKey[item.extensionKey] : undefined;
|
|
358
|
-
};
|