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