@pie-element/complex-rubric 2.7.1-next.5 → 2.8.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.8.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric@2.7.0...@pie-element/complex-rubric@2.8.0) (2024-04-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * **inline-dropdown:** upgrade pie-toolbox PD-2465 ([828d1c1](https://github.com/pie-framework/pie-elements/commit/828d1c1bc9e9221c1e141baaa8f89a4929ad0eb9))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.7.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric@2.6.8...@pie-element/complex-rubric@2.7.0) (2024-04-01)
7
18
 
8
19
 
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.2.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric-configure@2.2.9...@pie-element/complex-rubric-configure@2.2.10) (2024-04-01)
7
+
8
+ **Note:** Version bump only for package @pie-element/complex-rubric-configure
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.2.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric-configure@2.2.8...@pie-element/complex-rubric-configure@2.2.9) (2024-04-01)
7
15
 
8
16
  **Note:** Version bump only for package @pie-element/complex-rubric-configure
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@pie-element/complex-rubric-configure",
3
3
  "private": true,
4
- "version": "2.2.9",
4
+ "version": "2.2.10",
5
5
  "description": "Complex Rubric authoring view",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "author": "Pie Framework Authors",
9
9
  "dependencies": {
10
10
  "@material-ui/core": "^3.9.2",
11
- "@pie-element/multi-trait-rubric": "^3.7.0",
12
- "@pie-element/rubric": "^3.7.0",
11
+ "@pie-element/multi-trait-rubric": "^3.8.0",
12
+ "@pie-element/rubric": "^3.8.0",
13
13
  "@pie-framework/pie-configure-events": "^1.3.0",
14
14
  "@pie-lib/config-ui": "^11.9.25-next.0",
15
15
  "@pie-lib/editable-html": "^11.1.2-next.0",
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.7.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric-controller@2.6.0...@pie-element/complex-rubric-controller@2.7.0) (2024-04-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * **inline-dropdown:** upgrade pie-toolbox PD-2465 ([828d1c1](https://github.com/pie-framework/pie-elements/commit/828d1c1bc9e9221c1e141baaa8f89a4929ad0eb9))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.6.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric-controller@2.5.4...@pie-element/complex-rubric-controller@2.6.0) (2024-04-01)
7
18
 
8
19
 
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pie-element/complex-rubric-controller",
3
3
  "private": true,
4
- "version": "2.6.0",
4
+ "version": "2.7.0",
5
5
  "description": "",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-lib/pie-toolbox": "1.12.3",
10
+ "@pie-lib/pie-toolbox": "1.13.0",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -65,6 +65,43 @@
65
65
  "title": "disabled"
66
66
  }
67
67
  }
68
+ },
69
+ "customPlugins": {
70
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
71
+ "type": "array",
72
+ "items": {
73
+ "title": "CustomPlugin",
74
+ "type": "object",
75
+ "properties": {
76
+ "event": {
77
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
78
+ "type": "string",
79
+ "title": "event"
80
+ },
81
+ "iconAlt": {
82
+ "description": "The alt for the custom button icon",
83
+ "type": "string",
84
+ "title": "iconAlt"
85
+ },
86
+ "iconType": {
87
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
88
+ "type": "string",
89
+ "title": "iconType"
90
+ },
91
+ "icon": {
92
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
93
+ "type": "string",
94
+ "title": "icon"
95
+ }
96
+ },
97
+ "required": [
98
+ "event",
99
+ "icon",
100
+ "iconAlt",
101
+ "iconType"
102
+ ]
103
+ },
104
+ "title": "customPlugins"
68
105
  }
69
106
  }
70
107
  },
@@ -248,6 +285,43 @@
248
285
  "title": "disabled"
249
286
  }
250
287
  }
288
+ },
289
+ "customPlugins": {
290
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
291
+ "type": "array",
292
+ "items": {
293
+ "title": "CustomPlugin",
294
+ "type": "object",
295
+ "properties": {
296
+ "event": {
297
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
298
+ "type": "string",
299
+ "title": "event"
300
+ },
301
+ "iconAlt": {
302
+ "description": "The alt for the custom button icon",
303
+ "type": "string",
304
+ "title": "iconAlt"
305
+ },
306
+ "iconType": {
307
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
308
+ "type": "string",
309
+ "title": "iconType"
310
+ },
311
+ "icon": {
312
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
313
+ "type": "string",
314
+ "title": "icon"
315
+ }
316
+ },
317
+ "required": [
318
+ "event",
319
+ "icon",
320
+ "iconAlt",
321
+ "iconType"
322
+ ]
323
+ },
324
+ "title": "customPlugins"
251
325
  }
252
326
  }
253
327
  },
@@ -302,6 +376,43 @@
302
376
  "title": "disabled"
303
377
  }
304
378
  }
379
+ },
380
+ "customPlugins": {
381
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
382
+ "type": "array",
383
+ "items": {
384
+ "title": "CustomPlugin",
385
+ "type": "object",
386
+ "properties": {
387
+ "event": {
388
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
389
+ "type": "string",
390
+ "title": "event"
391
+ },
392
+ "iconAlt": {
393
+ "description": "The alt for the custom button icon",
394
+ "type": "string",
395
+ "title": "iconAlt"
396
+ },
397
+ "iconType": {
398
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
399
+ "type": "string",
400
+ "title": "iconType"
401
+ },
402
+ "icon": {
403
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
404
+ "type": "string",
405
+ "title": "icon"
406
+ }
407
+ },
408
+ "required": [
409
+ "event",
410
+ "icon",
411
+ "iconAlt",
412
+ "iconType"
413
+ ]
414
+ },
415
+ "title": "customPlugins"
305
416
  }
306
417
  }
307
418
  },
@@ -368,6 +479,43 @@
368
479
  "title": "disabled"
369
480
  }
370
481
  }
482
+ },
483
+ "customPlugins": {
484
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
485
+ "type": "array",
486
+ "items": {
487
+ "title": "CustomPlugin",
488
+ "type": "object",
489
+ "properties": {
490
+ "event": {
491
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
492
+ "type": "string",
493
+ "title": "event"
494
+ },
495
+ "iconAlt": {
496
+ "description": "The alt for the custom button icon",
497
+ "type": "string",
498
+ "title": "iconAlt"
499
+ },
500
+ "iconType": {
501
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
502
+ "type": "string",
503
+ "title": "iconType"
504
+ },
505
+ "icon": {
506
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
507
+ "type": "string",
508
+ "title": "icon"
509
+ }
510
+ },
511
+ "required": [
512
+ "event",
513
+ "icon",
514
+ "iconAlt",
515
+ "iconType"
516
+ ]
517
+ },
518
+ "title": "customPlugins"
371
519
  }
372
520
  }
373
521
  },
@@ -730,6 +878,43 @@
730
878
  "title": "disabled"
731
879
  }
732
880
  }
881
+ },
882
+ "customPlugins": {
883
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
884
+ "type": "array",
885
+ "items": {
886
+ "title": "CustomPlugin",
887
+ "type": "object",
888
+ "properties": {
889
+ "event": {
890
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
891
+ "type": "string",
892
+ "title": "event"
893
+ },
894
+ "iconAlt": {
895
+ "description": "The alt for the custom button icon",
896
+ "type": "string",
897
+ "title": "iconAlt"
898
+ },
899
+ "iconType": {
900
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
901
+ "type": "string",
902
+ "title": "iconType"
903
+ },
904
+ "icon": {
905
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
906
+ "type": "string",
907
+ "title": "icon"
908
+ }
909
+ },
910
+ "required": [
911
+ "event",
912
+ "icon",
913
+ "iconAlt",
914
+ "iconType"
915
+ ]
916
+ },
917
+ "title": "customPlugins"
733
918
  }
734
919
  }
735
920
  },
@@ -871,6 +1056,43 @@
871
1056
  "title": "disabled"
872
1057
  }
873
1058
  }
1059
+ },
1060
+ "customPlugins": {
1061
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1062
+ "type": "array",
1063
+ "items": {
1064
+ "title": "CustomPlugin",
1065
+ "type": "object",
1066
+ "properties": {
1067
+ "event": {
1068
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1069
+ "type": "string",
1070
+ "title": "event"
1071
+ },
1072
+ "iconAlt": {
1073
+ "description": "The alt for the custom button icon",
1074
+ "type": "string",
1075
+ "title": "iconAlt"
1076
+ },
1077
+ "iconType": {
1078
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1079
+ "type": "string",
1080
+ "title": "iconType"
1081
+ },
1082
+ "icon": {
1083
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1084
+ "type": "string",
1085
+ "title": "icon"
1086
+ }
1087
+ },
1088
+ "required": [
1089
+ "event",
1090
+ "icon",
1091
+ "iconAlt",
1092
+ "iconType"
1093
+ ]
1094
+ },
1095
+ "title": "customPlugins"
874
1096
  }
875
1097
  }
876
1098
  },
@@ -1048,6 +1270,43 @@
1048
1270
  "title": "disabled"
1049
1271
  }
1050
1272
  }
1273
+ },
1274
+ "customPlugins": {
1275
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1276
+ "type": "array",
1277
+ "items": {
1278
+ "title": "CustomPlugin",
1279
+ "type": "object",
1280
+ "properties": {
1281
+ "event": {
1282
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1283
+ "type": "string",
1284
+ "title": "event"
1285
+ },
1286
+ "iconAlt": {
1287
+ "description": "The alt for the custom button icon",
1288
+ "type": "string",
1289
+ "title": "iconAlt"
1290
+ },
1291
+ "iconType": {
1292
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1293
+ "type": "string",
1294
+ "title": "iconType"
1295
+ },
1296
+ "icon": {
1297
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1298
+ "type": "string",
1299
+ "title": "icon"
1300
+ }
1301
+ },
1302
+ "required": [
1303
+ "event",
1304
+ "icon",
1305
+ "iconAlt",
1306
+ "iconType"
1307
+ ]
1308
+ },
1309
+ "title": "customPlugins"
1051
1310
  }
1052
1311
  }
1053
1312
  },
@@ -1062,6 +1321,38 @@
1062
1321
  }
1063
1322
  }
1064
1323
  },
1324
+ "CustomPlugin": {
1325
+ "title": "CustomPlugin",
1326
+ "type": "object",
1327
+ "properties": {
1328
+ "event": {
1329
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1330
+ "type": "string",
1331
+ "title": "event"
1332
+ },
1333
+ "iconAlt": {
1334
+ "description": "The alt for the custom button icon",
1335
+ "type": "string",
1336
+ "title": "iconAlt"
1337
+ },
1338
+ "iconType": {
1339
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1340
+ "type": "string",
1341
+ "title": "iconType"
1342
+ },
1343
+ "icon": {
1344
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1345
+ "type": "string",
1346
+ "title": "icon"
1347
+ }
1348
+ },
1349
+ "required": [
1350
+ "event",
1351
+ "icon",
1352
+ "iconAlt",
1353
+ "iconType"
1354
+ ]
1355
+ },
1065
1356
  "ConfigureProp": {
1066
1357
  "title": "ConfigureProp",
1067
1358
  "type": "object",
@@ -1147,6 +1438,43 @@
1147
1438
  "title": "disabled"
1148
1439
  }
1149
1440
  }
1441
+ },
1442
+ "customPlugins": {
1443
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1444
+ "type": "array",
1445
+ "items": {
1446
+ "title": "CustomPlugin",
1447
+ "type": "object",
1448
+ "properties": {
1449
+ "event": {
1450
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1451
+ "type": "string",
1452
+ "title": "event"
1453
+ },
1454
+ "iconAlt": {
1455
+ "description": "The alt for the custom button icon",
1456
+ "type": "string",
1457
+ "title": "iconAlt"
1458
+ },
1459
+ "iconType": {
1460
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1461
+ "type": "string",
1462
+ "title": "iconType"
1463
+ },
1464
+ "icon": {
1465
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1466
+ "type": "string",
1467
+ "title": "icon"
1468
+ }
1469
+ },
1470
+ "required": [
1471
+ "event",
1472
+ "icon",
1473
+ "iconAlt",
1474
+ "iconType"
1475
+ ]
1476
+ },
1477
+ "title": "customPlugins"
1150
1478
  }
1151
1479
  }
1152
1480
  },
@@ -1201,6 +1529,43 @@
1201
1529
  "title": "disabled"
1202
1530
  }
1203
1531
  }
1532
+ },
1533
+ "customPlugins": {
1534
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1535
+ "type": "array",
1536
+ "items": {
1537
+ "title": "CustomPlugin",
1538
+ "type": "object",
1539
+ "properties": {
1540
+ "event": {
1541
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1542
+ "type": "string",
1543
+ "title": "event"
1544
+ },
1545
+ "iconAlt": {
1546
+ "description": "The alt for the custom button icon",
1547
+ "type": "string",
1548
+ "title": "iconAlt"
1549
+ },
1550
+ "iconType": {
1551
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1552
+ "type": "string",
1553
+ "title": "iconType"
1554
+ },
1555
+ "icon": {
1556
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1557
+ "type": "string",
1558
+ "title": "icon"
1559
+ }
1560
+ },
1561
+ "required": [
1562
+ "event",
1563
+ "icon",
1564
+ "iconAlt",
1565
+ "iconType"
1566
+ ]
1567
+ },
1568
+ "title": "customPlugins"
1204
1569
  }
1205
1570
  }
1206
1571
  },
@@ -1267,6 +1632,43 @@
1267
1632
  "title": "disabled"
1268
1633
  }
1269
1634
  }
1635
+ },
1636
+ "customPlugins": {
1637
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1638
+ "type": "array",
1639
+ "items": {
1640
+ "title": "CustomPlugin",
1641
+ "type": "object",
1642
+ "properties": {
1643
+ "event": {
1644
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1645
+ "type": "string",
1646
+ "title": "event"
1647
+ },
1648
+ "iconAlt": {
1649
+ "description": "The alt for the custom button icon",
1650
+ "type": "string",
1651
+ "title": "iconAlt"
1652
+ },
1653
+ "iconType": {
1654
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1655
+ "type": "string",
1656
+ "title": "iconType"
1657
+ },
1658
+ "icon": {
1659
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1660
+ "type": "string",
1661
+ "title": "icon"
1662
+ }
1663
+ },
1664
+ "required": [
1665
+ "event",
1666
+ "icon",
1667
+ "iconAlt",
1668
+ "iconType"
1669
+ ]
1670
+ },
1671
+ "title": "customPlugins"
1270
1672
  }
1271
1673
  }
1272
1674
  },
@@ -1554,6 +1956,43 @@
1554
1956
  "title": "disabled"
1555
1957
  }
1556
1958
  }
1959
+ },
1960
+ "customPlugins": {
1961
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1962
+ "type": "array",
1963
+ "items": {
1964
+ "title": "CustomPlugin",
1965
+ "type": "object",
1966
+ "properties": {
1967
+ "event": {
1968
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1969
+ "type": "string",
1970
+ "title": "event"
1971
+ },
1972
+ "iconAlt": {
1973
+ "description": "The alt for the custom button icon",
1974
+ "type": "string",
1975
+ "title": "iconAlt"
1976
+ },
1977
+ "iconType": {
1978
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1979
+ "type": "string",
1980
+ "title": "iconType"
1981
+ },
1982
+ "icon": {
1983
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1984
+ "type": "string",
1985
+ "title": "icon"
1986
+ }
1987
+ },
1988
+ "required": [
1989
+ "event",
1990
+ "icon",
1991
+ "iconAlt",
1992
+ "iconType"
1993
+ ]
1994
+ },
1995
+ "title": "customPlugins"
1557
1996
  }
1558
1997
  }
1559
1998
  },
@@ -1711,6 +2150,43 @@
1711
2150
  "title": "disabled"
1712
2151
  }
1713
2152
  }
2153
+ },
2154
+ "customPlugins": {
2155
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
2156
+ "type": "array",
2157
+ "items": {
2158
+ "title": "CustomPlugin",
2159
+ "type": "object",
2160
+ "properties": {
2161
+ "event": {
2162
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2163
+ "type": "string",
2164
+ "title": "event"
2165
+ },
2166
+ "iconAlt": {
2167
+ "description": "The alt for the custom button icon",
2168
+ "type": "string",
2169
+ "title": "iconAlt"
2170
+ },
2171
+ "iconType": {
2172
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2173
+ "type": "string",
2174
+ "title": "iconType"
2175
+ },
2176
+ "icon": {
2177
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2178
+ "type": "string",
2179
+ "title": "icon"
2180
+ }
2181
+ },
2182
+ "required": [
2183
+ "event",
2184
+ "icon",
2185
+ "iconAlt",
2186
+ "iconType"
2187
+ ]
2188
+ },
2189
+ "title": "customPlugins"
1714
2190
  }
1715
2191
  }
1716
2192
  },