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