@atlaskit/editor-plugin-insert-block 1.12.0 → 1.14.0

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/cjs/plugin.js +36 -5
  3. package/dist/cjs/ui/ElementBrowser/InsertMenu.js +47 -13
  4. package/dist/cjs/ui/ElementRail/index.js +186 -2
  5. package/dist/cjs/ui/ElementRail/useInsertMenuRailItems.js +63 -0
  6. package/dist/cjs/ui/templateOptions.js +128 -57
  7. package/dist/cjs/ui/templates.js +1130 -0
  8. package/dist/es2019/plugin.js +36 -5
  9. package/dist/es2019/ui/ElementBrowser/InsertMenu.js +61 -26
  10. package/dist/es2019/ui/ElementRail/index.js +189 -1
  11. package/dist/es2019/ui/ElementRail/useInsertMenuRailItems.js +54 -0
  12. package/dist/es2019/ui/templateOptions.js +78 -11
  13. package/dist/es2019/ui/templates.js +1118 -0
  14. package/dist/esm/plugin.js +36 -5
  15. package/dist/esm/ui/ElementBrowser/InsertMenu.js +47 -13
  16. package/dist/esm/ui/ElementRail/index.js +185 -2
  17. package/dist/esm/ui/ElementRail/useInsertMenuRailItems.js +56 -0
  18. package/dist/esm/ui/templateOptions.js +128 -57
  19. package/dist/esm/ui/templates.js +1124 -0
  20. package/dist/types/ui/ElementRail/index.d.ts +7 -4
  21. package/dist/types/ui/ElementRail/useInsertMenuRailItems.d.ts +4 -0
  22. package/dist/types/ui/ToolbarInsertBlock/create-items.d.ts +1 -1
  23. package/dist/types/ui/templateOptions.d.ts +3 -1
  24. package/dist/types/ui/templates.d.ts +522 -0
  25. package/dist/types-ts4.5/ui/ElementRail/index.d.ts +7 -4
  26. package/dist/types-ts4.5/ui/ElementRail/useInsertMenuRailItems.d.ts +4 -0
  27. package/dist/types-ts4.5/ui/ToolbarInsertBlock/create-items.d.ts +1 -1
  28. package/dist/types-ts4.5/ui/templateOptions.d.ts +3 -1
  29. package/dist/types-ts4.5/ui/templates.d.ts +522 -0
  30. package/package.json +14 -6
@@ -0,0 +1,1124 @@
1
+ // For platform_editor_element_level_templates experiment only
2
+ // clean up ticket ED-24873
3
+ export var discussionNotes = function discussionNotes(tableWidth) {
4
+ return [{
5
+ type: 'panel',
6
+ attrs: {
7
+ panelType: 'custom',
8
+ panelIcon: ':bulb:',
9
+ panelIconId: '1f4a1',
10
+ panelIconText: '💡',
11
+ panelColor: '#E6FCFF'
12
+ },
13
+ content: [{
14
+ type: 'paragraph',
15
+ content: [{
16
+ type: 'text',
17
+ text: 'Use '
18
+ }, {
19
+ type: 'text',
20
+ text: 'Discussion notes ',
21
+ marks: [{
22
+ type: 'strong'
23
+ }]
24
+ }, {
25
+ type: 'text',
26
+ text: 'to capture meeting items, '
27
+ }, {
28
+ type: 'text',
29
+ text: 'assign owners',
30
+ marks: [{
31
+ type: 'link',
32
+ attrs: {
33
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Mention'
34
+ }
35
+ }]
36
+ }, {
37
+ type: 'text',
38
+ text: ', and track '
39
+ }, {
40
+ type: 'text',
41
+ text: 'actions',
42
+ marks: [{
43
+ type: 'link',
44
+ attrs: {
45
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Action-items'
46
+ }
47
+ }]
48
+ }, {
49
+ type: 'text',
50
+ text: ' and '
51
+ }, {
52
+ type: 'text',
53
+ text: 'decisions',
54
+ marks: [{
55
+ type: 'link',
56
+ attrs: {
57
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Decision'
58
+ }
59
+ }]
60
+ }, {
61
+ type: 'text',
62
+ text: '.'
63
+ }]
64
+ }]
65
+ }, {
66
+ type: 'table',
67
+ attrs: {
68
+ isNumberColumnEnabled: false,
69
+ layout: 'default',
70
+ localId: 'f0f0bb2f-e350-4056-8c9c-e16ba3c9d958',
71
+ width: tableWidth
72
+ },
73
+ content: [{
74
+ type: 'tableRow',
75
+ content: [{
76
+ type: 'tableHeader',
77
+ attrs: {},
78
+ content: [{
79
+ type: 'paragraph',
80
+ content: [{
81
+ type: 'text',
82
+ text: 'Date',
83
+ marks: [{
84
+ type: 'strong'
85
+ }]
86
+ }]
87
+ }]
88
+ }, {
89
+ type: 'tableHeader',
90
+ attrs: {},
91
+ content: [{
92
+ type: 'paragraph',
93
+ content: [{
94
+ type: 'text',
95
+ text: 'Item',
96
+ marks: [{
97
+ type: 'strong'
98
+ }]
99
+ }]
100
+ }]
101
+ }, {
102
+ type: 'tableHeader',
103
+ attrs: {},
104
+ content: [{
105
+ type: 'paragraph',
106
+ content: [{
107
+ type: 'text',
108
+ text: 'Owner',
109
+ marks: [{
110
+ type: 'strong'
111
+ }]
112
+ }]
113
+ }]
114
+ }, {
115
+ type: 'tableHeader',
116
+ attrs: {},
117
+ content: [{
118
+ type: 'paragraph',
119
+ content: [{
120
+ type: 'text',
121
+ text: 'Notes',
122
+ marks: [{
123
+ type: 'strong'
124
+ }]
125
+ }]
126
+ }]
127
+ }, {
128
+ type: 'tableHeader',
129
+ attrs: {},
130
+ content: [{
131
+ type: 'paragraph',
132
+ content: [{
133
+ type: 'text',
134
+ text: 'Relevant Links',
135
+ marks: [{
136
+ type: 'strong'
137
+ }]
138
+ }]
139
+ }]
140
+ }]
141
+ }, {
142
+ type: 'tableRow',
143
+ content: [{
144
+ type: 'tableCell',
145
+ attrs: {},
146
+ content: [{
147
+ type: 'paragraph',
148
+ content: [{
149
+ type: 'date',
150
+ attrs: {
151
+ timestamp: '1723161600000'
152
+ }
153
+ }, {
154
+ type: 'text',
155
+ text: ' '
156
+ }]
157
+ }]
158
+ }, {
159
+ type: 'tableCell',
160
+ attrs: {},
161
+ content: [{
162
+ type: 'paragraph',
163
+ content: []
164
+ }]
165
+ }, {
166
+ type: 'tableCell',
167
+ attrs: {},
168
+ content: [{
169
+ type: 'paragraph',
170
+ content: [{
171
+ type: 'text',
172
+ text: '@someone '
173
+ }]
174
+ }]
175
+ }, {
176
+ type: 'tableCell',
177
+ attrs: {},
178
+ content: [{
179
+ type: 'taskList',
180
+ attrs: {
181
+ localId: 'ae66ca64-9c5c-4343-aef9-293d1c2c29f2'
182
+ },
183
+ content: [{
184
+ type: 'taskItem',
185
+ attrs: {
186
+ localId: 'dfcf2a4e-aafb-45c2-a399-978054532d05',
187
+ state: 'TODO'
188
+ },
189
+ content: [{
190
+ type: 'text',
191
+ text: 'Action'
192
+ }]
193
+ }]
194
+ }, {
195
+ type: 'decisionList',
196
+ attrs: {
197
+ localId: '6d34898c-bc27-4256-b759-6de6d5b68547'
198
+ },
199
+ content: [{
200
+ type: 'decisionItem',
201
+ attrs: {
202
+ localId: '933d720c-c625-4309-b055-d6e1fcdcdcad',
203
+ state: 'DECIDED'
204
+ }
205
+ }]
206
+ }]
207
+ }, {
208
+ type: 'tableCell',
209
+ attrs: {},
210
+ content: [{
211
+ type: 'paragraph',
212
+ content: []
213
+ }]
214
+ }]
215
+ }, {
216
+ type: 'tableRow',
217
+ content: [{
218
+ type: 'tableCell',
219
+ attrs: {},
220
+ content: [{
221
+ type: 'paragraph',
222
+ content: []
223
+ }]
224
+ }, {
225
+ type: 'tableCell',
226
+ attrs: {},
227
+ content: [{
228
+ type: 'paragraph',
229
+ content: []
230
+ }]
231
+ }, {
232
+ type: 'tableCell',
233
+ attrs: {},
234
+ content: [{
235
+ type: 'paragraph',
236
+ content: []
237
+ }]
238
+ }, {
239
+ type: 'tableCell',
240
+ attrs: {},
241
+ content: [{
242
+ type: 'paragraph',
243
+ content: []
244
+ }]
245
+ }, {
246
+ type: 'tableCell',
247
+ attrs: {},
248
+ content: [{
249
+ type: 'paragraph',
250
+ content: []
251
+ }]
252
+ }]
253
+ }]
254
+ }];
255
+ };
256
+ export var approvalsTracker = function approvalsTracker(tableWidth) {
257
+ return [{
258
+ type: 'panel',
259
+ attrs: {
260
+ panelType: 'custom',
261
+ panelIcon: ':bulb:',
262
+ panelIconId: '1f4a1',
263
+ panelIconText: '💡',
264
+ panelColor: '#E6FCFF'
265
+ },
266
+ content: [{
267
+ type: 'paragraph',
268
+ content: [{
269
+ type: 'text',
270
+ text: 'Use '
271
+ }, {
272
+ type: 'text',
273
+ text: 'Approvals tracker',
274
+ marks: [{
275
+ type: 'strong'
276
+ }]
277
+ }, {
278
+ type: 'text',
279
+ text: ' to track '
280
+ }, {
281
+ type: 'text',
282
+ text: 'reviewers',
283
+ marks: [{
284
+ type: 'link',
285
+ attrs: {
286
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Mention'
287
+ }
288
+ }]
289
+ }, {
290
+ type: 'text',
291
+ text: ', '
292
+ }, {
293
+ type: 'text',
294
+ text: 'approvals',
295
+ marks: [{
296
+ type: 'link',
297
+ attrs: {
298
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Action-items'
299
+ }
300
+ }]
301
+ }, {
302
+ type: 'text',
303
+ text: ', '
304
+ }, {
305
+ type: 'text',
306
+ text: 'dates',
307
+ marks: [{
308
+ type: 'link',
309
+ attrs: {
310
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Date'
311
+ }
312
+ }]
313
+ }, {
314
+ type: 'text',
315
+ text: ', and comments.'
316
+ }]
317
+ }]
318
+ }, {
319
+ type: 'table',
320
+ attrs: {
321
+ isNumberColumnEnabled: false,
322
+ layout: 'default',
323
+ localId: '27805aee-7df7-4b41-96a7-6572763007fa',
324
+ width: tableWidth
325
+ },
326
+ content: [{
327
+ type: 'tableRow',
328
+ content: [{
329
+ type: 'tableHeader',
330
+ attrs: {},
331
+ content: [{
332
+ type: 'paragraph',
333
+ content: [{
334
+ type: 'text',
335
+ text: 'Reviewer',
336
+ marks: [{
337
+ type: 'strong'
338
+ }]
339
+ }]
340
+ }]
341
+ }, {
342
+ type: 'tableHeader',
343
+ attrs: {},
344
+ content: [{
345
+ type: 'paragraph',
346
+ content: [{
347
+ type: 'text',
348
+ text: 'Approval',
349
+ marks: [{
350
+ type: 'strong'
351
+ }]
352
+ }]
353
+ }]
354
+ }, {
355
+ type: 'tableHeader',
356
+ attrs: {},
357
+ content: [{
358
+ type: 'paragraph',
359
+ content: [{
360
+ type: 'text',
361
+ text: 'Comments',
362
+ marks: [{
363
+ type: 'strong'
364
+ }]
365
+ }]
366
+ }]
367
+ }]
368
+ }, {
369
+ type: 'tableRow',
370
+ content: [{
371
+ type: 'tableCell',
372
+ attrs: {},
373
+ content: [{
374
+ type: 'paragraph',
375
+ content: [{
376
+ type: 'text',
377
+ text: '@someone '
378
+ }]
379
+ }]
380
+ }, {
381
+ type: 'tableCell',
382
+ attrs: {},
383
+ content: [{
384
+ type: 'taskList',
385
+ attrs: {
386
+ localId: 'c79f45e3-8859-4bd9-8b15-78d03f287f51'
387
+ },
388
+ content: [{
389
+ type: 'taskItem',
390
+ attrs: {
391
+ localId: 'a044d7fa-35ae-4241-9ce7-f74458f4f320',
392
+ state: 'TODO'
393
+ },
394
+ content: [{
395
+ type: 'text',
396
+ text: 'Approve '
397
+ }, {
398
+ type: 'date',
399
+ attrs: {
400
+ timestamp: '1723161600000'
401
+ }
402
+ }, {
403
+ type: 'text',
404
+ text: ' '
405
+ }]
406
+ }]
407
+ }]
408
+ }, {
409
+ type: 'tableCell',
410
+ attrs: {},
411
+ content: [{
412
+ type: 'paragraph',
413
+ content: []
414
+ }]
415
+ }]
416
+ }, {
417
+ type: 'tableRow',
418
+ content: [{
419
+ type: 'tableCell',
420
+ attrs: {},
421
+ content: [{
422
+ type: 'paragraph',
423
+ content: [{
424
+ type: 'text',
425
+ text: '@someone '
426
+ }]
427
+ }]
428
+ }, {
429
+ type: 'tableCell',
430
+ attrs: {},
431
+ content: [{
432
+ type: 'taskList',
433
+ attrs: {
434
+ localId: 'f7630d43-4082-4a2d-b9a7-69a793ab36a3'
435
+ },
436
+ content: [{
437
+ type: 'taskItem',
438
+ attrs: {
439
+ localId: 'f319f074-e348-453b-b978-53c7b4bac38f',
440
+ state: 'TODO'
441
+ },
442
+ content: [{
443
+ type: 'text',
444
+ text: 'Approve '
445
+ }, {
446
+ type: 'date',
447
+ attrs: {
448
+ timestamp: '1723161600000'
449
+ }
450
+ }, {
451
+ type: 'text',
452
+ text: ' '
453
+ }]
454
+ }]
455
+ }]
456
+ }, {
457
+ type: 'tableCell',
458
+ attrs: {},
459
+ content: [{
460
+ type: 'paragraph',
461
+ content: []
462
+ }]
463
+ }]
464
+ }, {
465
+ type: 'tableRow',
466
+ content: [{
467
+ type: 'tableCell',
468
+ attrs: {},
469
+ content: [{
470
+ type: 'paragraph',
471
+ content: [{
472
+ type: 'text',
473
+ text: '@someone '
474
+ }]
475
+ }]
476
+ }, {
477
+ type: 'tableCell',
478
+ attrs: {},
479
+ content: [{
480
+ type: 'paragraph',
481
+ content: []
482
+ }]
483
+ }, {
484
+ type: 'tableCell',
485
+ attrs: {},
486
+ content: [{
487
+ type: 'paragraph',
488
+ content: []
489
+ }]
490
+ }]
491
+ }]
492
+ }];
493
+ };
494
+ export var decisionMatrix = function decisionMatrix(tableWidth) {
495
+ return [{
496
+ type: 'panel',
497
+ attrs: {
498
+ panelType: 'custom',
499
+ panelIcon: ':bulb:',
500
+ panelIconId: '1f4a1',
501
+ panelIconText: '💡',
502
+ panelColor: '#E6FCFF'
503
+ },
504
+ content: [{
505
+ type: 'paragraph',
506
+ content: [{
507
+ type: 'text',
508
+ text: 'Use '
509
+ }, {
510
+ type: 'text',
511
+ text: 'Decision matrix',
512
+ marks: [{
513
+ type: 'strong'
514
+ }]
515
+ }, {
516
+ type: 'text',
517
+ text: ' to outline pros, cons, and '
518
+ }, {
519
+ type: 'text',
520
+ text: 'recommended options',
521
+ marks: [{
522
+ type: 'link',
523
+ attrs: {
524
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Status'
525
+ }
526
+ }]
527
+ }, {
528
+ type: 'text',
529
+ text: '.'
530
+ }]
531
+ }]
532
+ }, {
533
+ type: 'table',
534
+ attrs: {
535
+ isNumberColumnEnabled: false,
536
+ layout: 'default',
537
+ localId: '3eac8266-8d44-410c-b54a-59f9b834ba12',
538
+ width: tableWidth
539
+ },
540
+ content: [{
541
+ type: 'tableRow',
542
+ content: [{
543
+ type: 'tableHeader',
544
+ attrs: {
545
+ background: 'var(--ds-background-accent-gray-subtlest, #F4F5F7)'
546
+ },
547
+ content: [{
548
+ type: 'paragraph',
549
+ content: [],
550
+ marks: [{
551
+ type: 'alignment',
552
+ attrs: {
553
+ align: 'center'
554
+ }
555
+ }]
556
+ }]
557
+ }, {
558
+ type: 'tableHeader',
559
+ attrs: {
560
+ background: 'var(--ds-background-accent-gray-subtlest, #F4F5F7)'
561
+ },
562
+ content: [{
563
+ type: 'paragraph',
564
+ content: [{
565
+ type: 'text',
566
+ text: 'Option 1 ',
567
+ marks: [{
568
+ type: 'strong'
569
+ }]
570
+ }, {
571
+ type: 'status',
572
+ attrs: {
573
+ text: 'RECOMMENDED',
574
+ color: 'green',
575
+ localId: 'e46fa792-2824-41a6-ae3a-d1f88d833157',
576
+ style: 'bold'
577
+ }
578
+ }],
579
+ marks: [{
580
+ type: 'alignment',
581
+ attrs: {
582
+ align: 'center'
583
+ }
584
+ }]
585
+ }]
586
+ }, {
587
+ type: 'tableHeader',
588
+ attrs: {
589
+ background: 'var(--ds-background-accent-gray-subtlest, #F4F5F7)'
590
+ },
591
+ content: [{
592
+ type: 'paragraph',
593
+ content: [{
594
+ type: 'text',
595
+ text: 'Option 2',
596
+ marks: [{
597
+ type: 'strong'
598
+ }]
599
+ }],
600
+ marks: [{
601
+ type: 'alignment',
602
+ attrs: {
603
+ align: 'center'
604
+ }
605
+ }]
606
+ }]
607
+ }, {
608
+ type: 'tableHeader',
609
+ attrs: {
610
+ background: 'var(--ds-background-accent-gray-subtlest, #F4F5F7)'
611
+ },
612
+ content: [{
613
+ type: 'paragraph',
614
+ content: [{
615
+ type: 'text',
616
+ text: 'Option 3',
617
+ marks: [{
618
+ type: 'strong'
619
+ }]
620
+ }],
621
+ marks: [{
622
+ type: 'alignment',
623
+ attrs: {
624
+ align: 'center'
625
+ }
626
+ }]
627
+ }]
628
+ }]
629
+ }, {
630
+ type: 'tableRow',
631
+ content: [{
632
+ type: 'tableHeader',
633
+ attrs: {
634
+ background: 'var(--ds-background-accent-gray-subtlest, #F4F5F7)'
635
+ },
636
+ content: [{
637
+ type: 'paragraph',
638
+ content: [{
639
+ type: 'text',
640
+ text: 'Name',
641
+ marks: [{
642
+ type: 'strong'
643
+ }]
644
+ }]
645
+ }]
646
+ }, {
647
+ type: 'tableCell',
648
+ attrs: {},
649
+ content: [{
650
+ type: 'paragraph',
651
+ content: []
652
+ }]
653
+ }, {
654
+ type: 'tableCell',
655
+ attrs: {},
656
+ content: [{
657
+ type: 'paragraph',
658
+ content: []
659
+ }]
660
+ }, {
661
+ type: 'tableCell',
662
+ attrs: {},
663
+ content: [{
664
+ type: 'paragraph',
665
+ content: []
666
+ }]
667
+ }]
668
+ }, {
669
+ type: 'tableRow',
670
+ content: [{
671
+ type: 'tableHeader',
672
+ attrs: {
673
+ background: 'var(--ds-background-accent-gray-subtlest, #F4F5F7)'
674
+ },
675
+ content: [{
676
+ type: 'paragraph',
677
+ content: [{
678
+ type: 'text',
679
+ text: 'Description',
680
+ marks: [{
681
+ type: 'strong'
682
+ }]
683
+ }]
684
+ }]
685
+ }, {
686
+ type: 'tableCell',
687
+ attrs: {},
688
+ content: [{
689
+ type: 'paragraph',
690
+ content: []
691
+ }]
692
+ }, {
693
+ type: 'tableCell',
694
+ attrs: {},
695
+ content: [{
696
+ type: 'paragraph',
697
+ content: []
698
+ }]
699
+ }, {
700
+ type: 'tableCell',
701
+ attrs: {},
702
+ content: [{
703
+ type: 'paragraph',
704
+ content: []
705
+ }]
706
+ }]
707
+ }, {
708
+ type: 'tableRow',
709
+ content: [{
710
+ type: 'tableHeader',
711
+ attrs: {
712
+ background: '#abf5d1'
713
+ },
714
+ content: [{
715
+ type: 'paragraph',
716
+ content: [{
717
+ type: 'text',
718
+ text: 'Pros',
719
+ marks: [{
720
+ type: 'strong'
721
+ }]
722
+ }]
723
+ }]
724
+ }, {
725
+ type: 'tableCell',
726
+ attrs: {},
727
+ content: [{
728
+ type: 'paragraph',
729
+ content: [{
730
+ type: 'emoji',
731
+ attrs: {
732
+ shortName: ':white_check_mark:',
733
+ id: '2705',
734
+ text: '✅'
735
+ }
736
+ }, {
737
+ type: 'text',
738
+ text: ' '
739
+ }]
740
+ }]
741
+ }, {
742
+ type: 'tableCell',
743
+ attrs: {},
744
+ content: [{
745
+ type: 'paragraph',
746
+ content: [{
747
+ type: 'emoji',
748
+ attrs: {
749
+ shortName: ':white_check_mark:',
750
+ id: '2705',
751
+ text: '✅'
752
+ }
753
+ }]
754
+ }]
755
+ }, {
756
+ type: 'tableCell',
757
+ attrs: {},
758
+ content: [{
759
+ type: 'paragraph',
760
+ content: [{
761
+ type: 'emoji',
762
+ attrs: {
763
+ shortName: ':white_check_mark:',
764
+ id: '2705',
765
+ text: '✅'
766
+ }
767
+ }]
768
+ }]
769
+ }]
770
+ }, {
771
+ type: 'tableRow',
772
+ content: [{
773
+ type: 'tableHeader',
774
+ attrs: {
775
+ background: '#ffbdad'
776
+ },
777
+ content: [{
778
+ type: 'paragraph',
779
+ content: [{
780
+ type: 'text',
781
+ text: 'Cons',
782
+ marks: [{
783
+ type: 'strong'
784
+ }]
785
+ }]
786
+ }]
787
+ }, {
788
+ type: 'tableCell',
789
+ attrs: {},
790
+ content: [{
791
+ type: 'paragraph',
792
+ content: [{
793
+ type: 'emoji',
794
+ attrs: {
795
+ shortName: ':no_entry:',
796
+ id: '26d4',
797
+ text: '⛔'
798
+ }
799
+ }, {
800
+ type: 'text',
801
+ text: ' '
802
+ }]
803
+ }]
804
+ }, {
805
+ type: 'tableCell',
806
+ attrs: {},
807
+ content: [{
808
+ type: 'paragraph',
809
+ content: [{
810
+ type: 'emoji',
811
+ attrs: {
812
+ shortName: ':no_entry:',
813
+ id: '26d4',
814
+ text: '⛔'
815
+ }
816
+ }]
817
+ }]
818
+ }, {
819
+ type: 'tableCell',
820
+ attrs: {},
821
+ content: [{
822
+ type: 'paragraph',
823
+ content: [{
824
+ type: 'emoji',
825
+ attrs: {
826
+ shortName: ':no_entry:',
827
+ id: '26d4',
828
+ text: '⛔'
829
+ }
830
+ }]
831
+ }]
832
+ }]
833
+ }]
834
+ }, {
835
+ type: 'paragraph',
836
+ content: []
837
+ }];
838
+ };
839
+ export var actionList = [{
840
+ type: 'panel',
841
+ attrs: {
842
+ panelType: 'custom',
843
+ panelIcon: ':bulb:',
844
+ panelIconId: '1f4a1',
845
+ panelIconText: '💡',
846
+ panelColor: '#E6FCFF'
847
+ },
848
+ content: [{
849
+ type: 'paragraph',
850
+ content: [{
851
+ type: 'text',
852
+ text: 'Use '
853
+ }, {
854
+ type: 'text',
855
+ text: 'List of actions',
856
+ marks: [{
857
+ type: 'strong'
858
+ }]
859
+ }, {
860
+ type: 'text',
861
+ text: ' to manage a '
862
+ }, {
863
+ type: 'text',
864
+ text: 'checklist of tasks',
865
+ marks: [{
866
+ type: 'link',
867
+ attrs: {
868
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Action-items'
869
+ }
870
+ }]
871
+ }, {
872
+ type: 'text',
873
+ text: ', assign '
874
+ }, {
875
+ type: 'text',
876
+ text: 'team members',
877
+ marks: [{
878
+ type: 'link',
879
+ attrs: {
880
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Mention'
881
+ }
882
+ }]
883
+ }, {
884
+ type: 'text',
885
+ text: ', and set '
886
+ }, {
887
+ type: 'text',
888
+ text: 'due dates',
889
+ marks: [{
890
+ type: 'link',
891
+ attrs: {
892
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Date'
893
+ }
894
+ }]
895
+ }, {
896
+ type: 'text',
897
+ text: '.'
898
+ }]
899
+ }]
900
+ }, {
901
+ type: 'taskList',
902
+ attrs: {
903
+ localId: '036fd61e-b145-4c65-8ded-1234a992c4bd'
904
+ },
905
+ content: [{
906
+ type: 'taskItem',
907
+ attrs: {
908
+ localId: '41ca73c3-8fb0-4c31-9758-fce4938d3660',
909
+ state: 'TODO'
910
+ },
911
+ content: [{
912
+ type: 'text',
913
+ text: 'Action | @someone | due '
914
+ }, {
915
+ type: 'date',
916
+ attrs: {
917
+ timestamp: '1738281600000'
918
+ }
919
+ }]
920
+ }, {
921
+ type: 'taskItem',
922
+ attrs: {
923
+ localId: 'b861ab12-f131-4e64-ae34-9f9df36ca5d1',
924
+ state: 'TODO'
925
+ },
926
+ content: [{
927
+ type: 'text',
928
+ text: 'Action | @someone | due '
929
+ }, {
930
+ type: 'date',
931
+ attrs: {
932
+ timestamp: '1722556800000'
933
+ }
934
+ }]
935
+ }, {
936
+ type: 'taskItem',
937
+ attrs: {
938
+ localId: 'ede3bdce-2a49-40a4-9f1b-c7d14ad30014',
939
+ state: 'TODO'
940
+ },
941
+ content: [{
942
+ type: 'text',
943
+ text: 'Action | @someone | due '
944
+ }, {
945
+ type: 'date',
946
+ attrs: {
947
+ timestamp: '1722211200000'
948
+ }
949
+ }]
950
+ }, {
951
+ type: 'taskItem',
952
+ attrs: {
953
+ localId: '5af5e453-d89f-412f-9ff1-8e74bd36dd05',
954
+ state: 'TODO'
955
+ },
956
+ content: [{
957
+ type: 'text',
958
+ text: 'Action | @someone | due '
959
+ }, {
960
+ type: 'date',
961
+ attrs: {
962
+ timestamp: '1745971200000'
963
+ }
964
+ }]
965
+ }]
966
+ }];
967
+ export var instructionsOutline = [{
968
+ type: 'panel',
969
+ attrs: {
970
+ panelType: 'custom',
971
+ panelIcon: ':bulb:',
972
+ panelIconId: '1f4a1',
973
+ panelIconText: '💡',
974
+ panelColor: '#E6FCFF'
975
+ },
976
+ content: [{
977
+ type: 'paragraph',
978
+ content: [{
979
+ type: 'text',
980
+ text: 'Use '
981
+ }, {
982
+ type: 'text',
983
+ text: 'Step by step instructions ',
984
+ marks: [{
985
+ type: 'strong'
986
+ }]
987
+ }, {
988
+ type: 'text',
989
+ text: 'to create layouts for images, '
990
+ }, {
991
+ type: 'text',
992
+ text: 'panels',
993
+ marks: [{
994
+ type: 'link',
995
+ attrs: {
996
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Panel'
997
+ }
998
+ }]
999
+ }, {
1000
+ type: 'text',
1001
+ text: ', and further details in '
1002
+ }, {
1003
+ type: 'text',
1004
+ text: 'expandable sections',
1005
+ marks: [{
1006
+ type: 'link',
1007
+ attrs: {
1008
+ href: 'https://support.atlassian.com/confluence-cloud/docs/insert-elements-into-a-page/#Expand'
1009
+ }
1010
+ }]
1011
+ }, {
1012
+ type: 'text',
1013
+ text: '.'
1014
+ }]
1015
+ }]
1016
+ }, {
1017
+ type: 'orderedList',
1018
+ attrs: {
1019
+ order: 1
1020
+ },
1021
+ content: [{
1022
+ type: 'listItem',
1023
+ content: [{
1024
+ type: 'paragraph',
1025
+ content: [{
1026
+ type: 'text',
1027
+ text: 'Step 1'
1028
+ }]
1029
+ }]
1030
+ }]
1031
+ }, {
1032
+ type: 'layoutSection',
1033
+ content: [{
1034
+ type: 'layoutColumn',
1035
+ attrs: {
1036
+ width: 50
1037
+ },
1038
+ content: [{
1039
+ type: 'paragraph',
1040
+ content: [{
1041
+ type: 'text',
1042
+ text: 'Image'
1043
+ }]
1044
+ }]
1045
+ }, {
1046
+ type: 'layoutColumn',
1047
+ attrs: {
1048
+ width: 50
1049
+ },
1050
+ content: [{
1051
+ type: 'paragraph',
1052
+ content: [{
1053
+ type: 'text',
1054
+ text: 'Description'
1055
+ }]
1056
+ }]
1057
+ }]
1058
+ }, {
1059
+ type: 'panel',
1060
+ attrs: {
1061
+ panelType: 'info'
1062
+ },
1063
+ content: [{
1064
+ type: 'paragraph',
1065
+ content: [{
1066
+ type: 'text',
1067
+ text: "Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu."
1068
+ }]
1069
+ }]
1070
+ }, {
1071
+ type: 'expand',
1072
+ attrs: {
1073
+ title: 'Further details'
1074
+ },
1075
+ content: [{
1076
+ type: 'paragraph',
1077
+ content: []
1078
+ }]
1079
+ }, {
1080
+ type: 'paragraph',
1081
+ content: []
1082
+ }, {
1083
+ type: 'orderedList',
1084
+ attrs: {
1085
+ order: 2
1086
+ },
1087
+ content: [{
1088
+ type: 'listItem',
1089
+ content: [{
1090
+ type: 'paragraph',
1091
+ content: [{
1092
+ type: 'text',
1093
+ text: 'Step 2'
1094
+ }]
1095
+ }]
1096
+ }]
1097
+ }, {
1098
+ type: 'layoutSection',
1099
+ content: [{
1100
+ type: 'layoutColumn',
1101
+ attrs: {
1102
+ width: 50
1103
+ },
1104
+ content: [{
1105
+ type: 'paragraph',
1106
+ content: [{
1107
+ type: 'text',
1108
+ text: 'Image'
1109
+ }]
1110
+ }]
1111
+ }, {
1112
+ type: 'layoutColumn',
1113
+ attrs: {
1114
+ width: 50
1115
+ },
1116
+ content: [{
1117
+ type: 'paragraph',
1118
+ content: [{
1119
+ type: 'text',
1120
+ text: 'Description'
1121
+ }]
1122
+ }]
1123
+ }]
1124
+ }];