@ixo/editor 1.6.0 → 1.7.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/dist/index.d.ts CHANGED
@@ -66,7 +66,7 @@ type CheckboxBlockProps = IxoBlockProps;
66
66
 
67
67
  type ProposalActionType = 'Spend' | 'UpdateMembers' | 'Stake' | 'Join' | 'AuthzExec' | 'AuthzGrant' | 'AuthzRevoke' | 'BurnNft' | 'Mint' | 'Execute' | 'Instantiate' | 'ManageSubDaos' | 'ManageCw721' | 'ManageCw20' | 'Migrate' | 'TransferNft' | 'UpdateAdmin' | 'UpdatePreProposeConfig' | 'UpdateVotingConfig' | 'GovernanceVote' | 'WithdrawTokenSwap' | 'UpdateInfo' | 'Custom' | 'ManageStorageItems' | 'ValidatorActions' | 'PerformTokenSwap' | 'DaoAdminExec' | 'StakeToGroup' | 'SendGroupToken' | 'AcceptToMarketplace' | 'CreateEntity';
68
68
  interface Member$1 {
69
- address: string;
69
+ addr: string;
70
70
  weight: number;
71
71
  }
72
72
  interface BaseProposalAction {
@@ -747,6 +747,7 @@ interface CreateProposalParams {
747
747
  description: string;
748
748
  actions?: ProposalAction[];
749
749
  coreAddress?: string;
750
+ groupContractAddress?: string;
750
751
  }
751
752
  interface BlocknoteHandlers {
752
753
  getVote: (proposalContractAddress: string, proposalId: string, userAddress: string) => Promise<VoteResponse>;
@@ -815,12 +816,19 @@ interface BlocknoteHandlers {
815
816
  }) => Promise<{
816
817
  preProposalContractAddress: string;
817
818
  }>;
819
+ getGroupContractAddress: (params: {
820
+ coreAddress: string;
821
+ }) => Promise<{
822
+ groupContractAddress: string;
823
+ }>;
818
824
  }
825
+ type DocType = 'template' | 'page' | 'flow';
819
826
  interface BlocknoteContextValue {
820
827
  editor?: IxoEditorType;
821
828
  handlers?: BlocknoteHandlers;
822
829
  blockRequirements?: BlockRequirements;
823
830
  editable?: boolean;
831
+ docType: DocType;
824
832
  sharedProposals: SharedProposalData;
825
833
  fetchSharedProposal: (proposalId: string, contractAddress: string, force?: boolean) => Promise<ProposalResponse>;
826
834
  invalidateProposal: (proposalId: string) => void;
@@ -953,24 +961,40 @@ declare const OverviewBlock: {
953
961
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
954
962
  };
955
963
 
956
- declare const ProposalVoteBlockSpec: {
964
+ declare const ProposalBlockSpec: {
957
965
  config: {
958
- readonly type: "proposalVote";
966
+ readonly type: "proposal";
959
967
  readonly propSchema: {
960
- readonly dependsOn: {
961
- readonly default: string;
968
+ readonly status: {
969
+ readonly default: "draft";
970
+ readonly values: readonly ["draft", "open", "passed", "rejected", "executed", "closed", "execution_failed", "veto_timelock"];
962
971
  };
963
972
  readonly title: {
964
973
  readonly default: "";
965
974
  };
966
- readonly subtitle: {
975
+ readonly description: {
967
976
  readonly default: "";
968
977
  };
969
978
  readonly icon: {
970
- readonly default: "checklist";
979
+ readonly default: "file-text";
971
980
  };
972
- readonly status: {
973
- readonly default: "open";
981
+ readonly proposalId: {
982
+ readonly default: "";
983
+ };
984
+ readonly actions: {
985
+ readonly default: "[]";
986
+ };
987
+ readonly voteEnabled: {
988
+ readonly default: false;
989
+ };
990
+ readonly voteTitle: {
991
+ readonly default: "";
992
+ };
993
+ readonly voteSubtitle: {
994
+ readonly default: "";
995
+ };
996
+ readonly voteIcon: {
997
+ readonly default: "checklist";
974
998
  };
975
999
  readonly daysLeft: {
976
1000
  readonly default: 0;
@@ -985,22 +1009,38 @@ declare const ProposalVoteBlockSpec: {
985
1009
  readonly content: "none";
986
1010
  };
987
1011
  implementation: _blocknote_core.TiptapBlockImplementation<{
988
- readonly type: "proposalVote";
1012
+ readonly type: "proposal";
989
1013
  readonly propSchema: {
990
- readonly dependsOn: {
991
- readonly default: string;
1014
+ readonly status: {
1015
+ readonly default: "draft";
1016
+ readonly values: readonly ["draft", "open", "passed", "rejected", "executed", "closed", "execution_failed", "veto_timelock"];
992
1017
  };
993
1018
  readonly title: {
994
1019
  readonly default: "";
995
1020
  };
996
- readonly subtitle: {
1021
+ readonly description: {
997
1022
  readonly default: "";
998
1023
  };
999
1024
  readonly icon: {
1000
- readonly default: "checklist";
1025
+ readonly default: "file-text";
1001
1026
  };
1002
- readonly status: {
1003
- readonly default: "open";
1027
+ readonly proposalId: {
1028
+ readonly default: "";
1029
+ };
1030
+ readonly actions: {
1031
+ readonly default: "[]";
1032
+ };
1033
+ readonly voteEnabled: {
1034
+ readonly default: false;
1035
+ };
1036
+ readonly voteTitle: {
1037
+ readonly default: "";
1038
+ };
1039
+ readonly voteSubtitle: {
1040
+ readonly default: "";
1041
+ };
1042
+ readonly voteIcon: {
1043
+ readonly default: "checklist";
1004
1044
  };
1005
1045
  readonly daysLeft: {
1006
1046
  readonly default: 0;
@@ -1016,17 +1056,89 @@ declare const ProposalVoteBlockSpec: {
1016
1056
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1017
1057
  };
1018
1058
 
1019
- interface ProposalVoteBlockSettings {
1020
- title: string;
1021
- subtitle: string;
1022
- icon: string;
1023
- status: string;
1024
- daysLeft: number;
1025
- }
1026
- interface ProposalVoteBlockProps {
1027
- block: any;
1028
- editor: any;
1029
- }
1059
+ type ProposalBlockProps = IxoBlockProps;
1060
+
1061
+ declare const ApiRequestBlockSpec: {
1062
+ config: {
1063
+ readonly type: "apiRequest";
1064
+ readonly propSchema: {
1065
+ readonly title: {
1066
+ readonly default: "";
1067
+ };
1068
+ readonly description: {
1069
+ readonly default: "";
1070
+ };
1071
+ readonly icon: {
1072
+ readonly default: "square-check";
1073
+ };
1074
+ readonly endpoint: {
1075
+ readonly default: "";
1076
+ };
1077
+ readonly method: {
1078
+ readonly default: "GET";
1079
+ };
1080
+ readonly headers: {
1081
+ readonly default: "[]";
1082
+ };
1083
+ readonly body: {
1084
+ readonly default: "[]";
1085
+ };
1086
+ readonly response: {
1087
+ readonly default: "";
1088
+ };
1089
+ readonly status: {
1090
+ readonly default: "idle";
1091
+ };
1092
+ readonly conditions: {
1093
+ readonly default: "";
1094
+ };
1095
+ };
1096
+ readonly content: "inline";
1097
+ };
1098
+ implementation: _blocknote_core.TiptapBlockImplementation<{
1099
+ readonly type: "apiRequest";
1100
+ readonly propSchema: {
1101
+ readonly title: {
1102
+ readonly default: "";
1103
+ };
1104
+ readonly description: {
1105
+ readonly default: "";
1106
+ };
1107
+ readonly icon: {
1108
+ readonly default: "square-check";
1109
+ };
1110
+ readonly endpoint: {
1111
+ readonly default: "";
1112
+ };
1113
+ readonly method: {
1114
+ readonly default: "GET";
1115
+ };
1116
+ readonly headers: {
1117
+ readonly default: "[]";
1118
+ };
1119
+ readonly body: {
1120
+ readonly default: "[]";
1121
+ };
1122
+ readonly response: {
1123
+ readonly default: "";
1124
+ };
1125
+ readonly status: {
1126
+ readonly default: "idle";
1127
+ };
1128
+ readonly conditions: {
1129
+ readonly default: "";
1130
+ };
1131
+ };
1132
+ readonly content: "inline";
1133
+ }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1134
+ };
1135
+
1136
+ type ApiRequestBlockProps = IxoBlockProps;
1137
+ type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
1138
+ type KeyValuePair = {
1139
+ key: string;
1140
+ value: string;
1141
+ };
1030
1142
 
1031
1143
  declare const blockSpecs: {
1032
1144
  checkbox: {
@@ -1187,55 +1299,41 @@ declare const blockSpecs: {
1187
1299
  readonly content: "none";
1188
1300
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1189
1301
  };
1190
- proposalVote: {
1302
+ proposal: {
1191
1303
  config: {
1192
- readonly type: "proposalVote";
1304
+ readonly type: "proposal";
1193
1305
  readonly propSchema: {
1194
- readonly dependsOn: {
1195
- readonly default: string;
1306
+ readonly status: {
1307
+ readonly default: "draft";
1308
+ readonly values: readonly ["draft", "open", "passed", "rejected", "executed", "closed", "execution_failed", "veto_timelock"];
1196
1309
  };
1197
1310
  readonly title: {
1198
1311
  readonly default: "";
1199
1312
  };
1200
- readonly subtitle: {
1313
+ readonly description: {
1201
1314
  readonly default: "";
1202
1315
  };
1203
1316
  readonly icon: {
1204
- readonly default: "checklist";
1205
- };
1206
- readonly status: {
1207
- readonly default: "open";
1208
- };
1209
- readonly daysLeft: {
1210
- readonly default: 0;
1317
+ readonly default: "file-text";
1211
1318
  };
1212
- readonly proposalContractAddress: {
1319
+ readonly proposalId: {
1213
1320
  readonly default: "";
1214
1321
  };
1215
- readonly conditions: {
1216
- readonly default: "";
1322
+ readonly actions: {
1323
+ readonly default: "[]";
1217
1324
  };
1218
- };
1219
- readonly content: "none";
1220
- };
1221
- implementation: _blocknote_core.TiptapBlockImplementation<{
1222
- readonly type: "proposalVote";
1223
- readonly propSchema: {
1224
- readonly dependsOn: {
1225
- readonly default: string;
1325
+ readonly voteEnabled: {
1326
+ readonly default: false;
1226
1327
  };
1227
- readonly title: {
1328
+ readonly voteTitle: {
1228
1329
  readonly default: "";
1229
1330
  };
1230
- readonly subtitle: {
1331
+ readonly voteSubtitle: {
1231
1332
  readonly default: "";
1232
1333
  };
1233
- readonly icon: {
1334
+ readonly voteIcon: {
1234
1335
  readonly default: "checklist";
1235
1336
  };
1236
- readonly status: {
1237
- readonly default: "open";
1238
- };
1239
1337
  readonly daysLeft: {
1240
1338
  readonly default: 0;
1241
1339
  };
@@ -1247,10 +1345,8 @@ declare const blockSpecs: {
1247
1345
  };
1248
1346
  };
1249
1347
  readonly content: "none";
1250
- }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1251
- };
1252
- proposal: {
1253
- config: {
1348
+ };
1349
+ implementation: _blocknote_core.TiptapBlockImplementation<{
1254
1350
  readonly type: "proposal";
1255
1351
  readonly propSchema: {
1256
1352
  readonly status: {
@@ -1269,74 +1365,106 @@ declare const blockSpecs: {
1269
1365
  readonly proposalId: {
1270
1366
  readonly default: "";
1271
1367
  };
1272
- };
1273
- readonly content: "none";
1274
- };
1275
- implementation: _blocknote_core.TiptapBlockImplementation<{
1276
- readonly type: "proposal";
1277
- readonly propSchema: {
1278
- readonly status: {
1279
- readonly default: "draft";
1280
- readonly values: readonly ["draft", "open", "passed", "rejected", "executed", "closed", "execution_failed", "veto_timelock"];
1368
+ readonly actions: {
1369
+ readonly default: "[]";
1281
1370
  };
1282
- readonly title: {
1371
+ readonly voteEnabled: {
1372
+ readonly default: false;
1373
+ };
1374
+ readonly voteTitle: {
1283
1375
  readonly default: "";
1284
1376
  };
1285
- readonly description: {
1377
+ readonly voteSubtitle: {
1286
1378
  readonly default: "";
1287
1379
  };
1288
- readonly icon: {
1289
- readonly default: "file-text";
1380
+ readonly voteIcon: {
1381
+ readonly default: "checklist";
1290
1382
  };
1291
- readonly proposalId: {
1383
+ readonly daysLeft: {
1384
+ readonly default: 0;
1385
+ };
1386
+ readonly proposalContractAddress: {
1387
+ readonly default: "";
1388
+ };
1389
+ readonly conditions: {
1292
1390
  readonly default: "";
1293
1391
  };
1294
1392
  };
1295
1393
  readonly content: "none";
1296
1394
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1297
1395
  };
1298
- proposalActions: {
1396
+ apiRequest: {
1299
1397
  config: {
1300
- readonly type: "proposalActions";
1398
+ readonly type: "apiRequest";
1301
1399
  readonly propSchema: {
1302
- readonly dependsOn: {
1303
- readonly default: string;
1400
+ readonly title: {
1401
+ readonly default: "";
1304
1402
  };
1305
- readonly proposalBlockId: {
1403
+ readonly description: {
1306
1404
  readonly default: "";
1307
1405
  };
1308
- readonly hasDependencies: {
1309
- readonly default: true;
1406
+ readonly icon: {
1407
+ readonly default: "square-check";
1310
1408
  };
1311
- readonly dependencies: {
1409
+ readonly endpoint: {
1312
1410
  readonly default: "";
1313
1411
  };
1314
- readonly actions: {
1412
+ readonly method: {
1413
+ readonly default: "GET";
1414
+ };
1415
+ readonly headers: {
1416
+ readonly default: "[]";
1417
+ };
1418
+ readonly body: {
1315
1419
  readonly default: "[]";
1316
1420
  };
1421
+ readonly response: {
1422
+ readonly default: "";
1423
+ };
1424
+ readonly status: {
1425
+ readonly default: "idle";
1426
+ };
1427
+ readonly conditions: {
1428
+ readonly default: "";
1429
+ };
1317
1430
  };
1318
- readonly content: "none";
1431
+ readonly content: "inline";
1319
1432
  };
1320
1433
  implementation: _blocknote_core.TiptapBlockImplementation<{
1321
- readonly type: "proposalActions";
1434
+ readonly type: "apiRequest";
1322
1435
  readonly propSchema: {
1323
- readonly dependsOn: {
1324
- readonly default: string;
1436
+ readonly title: {
1437
+ readonly default: "";
1325
1438
  };
1326
- readonly proposalBlockId: {
1439
+ readonly description: {
1327
1440
  readonly default: "";
1328
1441
  };
1329
- readonly hasDependencies: {
1330
- readonly default: true;
1442
+ readonly icon: {
1443
+ readonly default: "square-check";
1331
1444
  };
1332
- readonly dependencies: {
1445
+ readonly endpoint: {
1333
1446
  readonly default: "";
1334
1447
  };
1335
- readonly actions: {
1448
+ readonly method: {
1449
+ readonly default: "GET";
1450
+ };
1451
+ readonly headers: {
1452
+ readonly default: "[]";
1453
+ };
1454
+ readonly body: {
1336
1455
  readonly default: "[]";
1337
1456
  };
1457
+ readonly response: {
1458
+ readonly default: "";
1459
+ };
1460
+ readonly status: {
1461
+ readonly default: "idle";
1462
+ };
1463
+ readonly conditions: {
1464
+ readonly default: "";
1465
+ };
1338
1466
  };
1339
- readonly content: "none";
1467
+ readonly content: "inline";
1340
1468
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1341
1469
  };
1342
1470
  };
@@ -1634,4 +1762,4 @@ declare class GraphQLClient {
1634
1762
  }
1635
1763
  declare const ixoGraphQLClient: GraphQLClient;
1636
1764
 
1637
- export { type Addr, AuthzExecActionTypes, type BlockRequirements, type BlocknoteContextValue, type BlocknoteHandlers, BlocknoteProvider, type CheckboxBlockProps, CheckboxBlockSpec, type CosmosMsgForEmpty, type Entity, type EntityResponse, type EntityVariables, type Expiration, GraphQLClient, type GraphQLRequest, type GraphQLResponse, type IxoCollaborativeEditorOptions, type IxoCollaborativeUser, IxoEditor, type IxoEditorConfig, type IxoEditorOptions, type IxoEditorProps, type IxoEditorTheme, ListBlock, type ListBlockProps, type ListBlockSettings, OverviewBlock, type OverviewBlockProps, type OverviewBlockSettings, type ProposalAction, type ProposalResponse, ProposalVoteBlockSpec as ProposalVoteBlock, type ProposalVoteBlockProps, type ProposalVoteBlockSettings, type SingleChoiceProposal, StakeType, StakeType as StakeTypeValue, type Status, type Threshold, type Timestamp, type Uint128, type User, ValidatorActionType, type Vote, type VoteInfo, type VoteResponse, type Votes, blockSpecs, getEntity, getExtraSlashMenuItems, ixoGraphQLClient, useBlocknoteContext, useBlocknoteHandlers, useCreateCollaborativeIxoEditor, useCreateIxoEditor };
1765
+ export { type Addr, type ApiRequestBlockProps, ApiRequestBlockSpec, AuthzExecActionTypes, type BlockRequirements, type BlocknoteContextValue, type BlocknoteHandlers, BlocknoteProvider, type CheckboxBlockProps, CheckboxBlockSpec, type CosmosMsgForEmpty, type Entity, type EntityResponse, type EntityVariables, type Expiration, GraphQLClient, type GraphQLRequest, type GraphQLResponse, type HttpMethod, type IxoCollaborativeEditorOptions, type IxoCollaborativeUser, IxoEditor, type IxoEditorConfig, type IxoEditorOptions, type IxoEditorProps, type IxoEditorTheme, type KeyValuePair, ListBlock, type ListBlockProps, type ListBlockSettings, OverviewBlock, type OverviewBlockProps, type OverviewBlockSettings, type ProposalAction, type ProposalBlockProps, ProposalBlockSpec, type ProposalResponse, type SingleChoiceProposal, StakeType, StakeType as StakeTypeValue, type Status, type Threshold, type Timestamp, type Uint128, type User, ValidatorActionType, type Vote, type VoteInfo, type VoteResponse, type Votes, blockSpecs, getEntity, getExtraSlashMenuItems, ixoGraphQLClient, useBlocknoteContext, useBlocknoteHandlers, useCreateCollaborativeIxoEditor, useCreateIxoEditor };
package/dist/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import {
2
+ ApiRequestBlockSpec,
2
3
  AuthzExecActionTypes,
3
4
  BlocknoteProvider,
4
5
  CheckboxBlockSpec,
@@ -6,7 +7,7 @@ import {
6
7
  IxoEditor,
7
8
  ListBlock,
8
9
  OverviewBlock,
9
- ProposalVoteBlockSpec,
10
+ ProposalBlockSpec,
10
11
  StakeType,
11
12
  ValidatorActionType,
12
13
  blockSpecs,
@@ -17,8 +18,9 @@ import {
17
18
  useBlocknoteHandlers,
18
19
  useCreateCollaborativeIxoEditor,
19
20
  useCreateIxoEditor
20
- } from "./chunk-U7XWDZDL.mjs";
21
+ } from "./chunk-URIMM24H.mjs";
21
22
  export {
23
+ ApiRequestBlockSpec,
22
24
  AuthzExecActionTypes,
23
25
  BlocknoteProvider,
24
26
  CheckboxBlockSpec,
@@ -26,7 +28,7 @@ export {
26
28
  IxoEditor,
27
29
  ListBlock,
28
30
  OverviewBlock,
29
- ProposalVoteBlockSpec as ProposalVoteBlock,
31
+ ProposalBlockSpec,
30
32
  StakeType,
31
33
  ValidatorActionType,
32
34
  blockSpecs,
@@ -1,4 +1,4 @@
1
- export { Addr, AuthzExecActionTypes, BlockRequirements, BlocknoteContextValue, BlocknoteHandlers, BlocknoteProvider, CheckboxBlockProps, CheckboxBlockSpec, CosmosMsgForEmpty, Entity, EntityResponse, EntityVariables, Expiration, GraphQLClient, GraphQLRequest, GraphQLResponse, IxoCollaborativeEditorOptions, IxoCollaborativeUser, IxoEditor, IxoEditorConfig, IxoEditorOptions, IxoEditorProps, IxoEditorTheme, ListBlock, ListBlockProps, ListBlockSettings, OverviewBlock, OverviewBlockProps, OverviewBlockSettings, ProposalAction, ProposalResponse, ProposalVoteBlock, ProposalVoteBlockProps, ProposalVoteBlockSettings, SingleChoiceProposal, StakeType, StakeType as StakeTypeValue, Status, Threshold, Timestamp, Uint128, User, ValidatorActionType, Vote, VoteInfo, VoteResponse, Votes, blockSpecs, getEntity, getExtraSlashMenuItems, ixoGraphQLClient, useBlocknoteContext, useBlocknoteHandlers, useCreateCollaborativeIxoEditor, useCreateIxoEditor } from '../index.mjs';
1
+ export { Addr, ApiRequestBlockProps, ApiRequestBlockSpec, AuthzExecActionTypes, BlockRequirements, BlocknoteContextValue, BlocknoteHandlers, BlocknoteProvider, CheckboxBlockProps, CheckboxBlockSpec, CosmosMsgForEmpty, Entity, EntityResponse, EntityVariables, Expiration, GraphQLClient, GraphQLRequest, GraphQLResponse, HttpMethod, IxoCollaborativeEditorOptions, IxoCollaborativeUser, IxoEditor, IxoEditorConfig, IxoEditorOptions, IxoEditorProps, IxoEditorTheme, KeyValuePair, ListBlock, ListBlockProps, ListBlockSettings, OverviewBlock, OverviewBlockProps, OverviewBlockSettings, ProposalAction, ProposalBlockProps, ProposalBlockSpec, ProposalResponse, SingleChoiceProposal, StakeType, StakeType as StakeTypeValue, Status, Threshold, Timestamp, Uint128, User, ValidatorActionType, Vote, VoteInfo, VoteResponse, Votes, blockSpecs, getEntity, getExtraSlashMenuItems, ixoGraphQLClient, useBlocknoteContext, useBlocknoteHandlers, useCreateCollaborativeIxoEditor, useCreateIxoEditor } from '../index.mjs';
2
2
  export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
3
3
  import 'matrix-js-sdk';
4
4
  import 'yjs';
@@ -1,4 +1,5 @@
1
1
  import {
2
+ ApiRequestBlockSpec,
2
3
  AuthzExecActionTypes,
3
4
  BlocknoteProvider,
4
5
  CheckboxBlockSpec,
@@ -6,7 +7,7 @@ import {
6
7
  IxoEditor,
7
8
  ListBlock,
8
9
  OverviewBlock,
9
- ProposalVoteBlockSpec,
10
+ ProposalBlockSpec,
10
11
  StakeType,
11
12
  ValidatorActionType,
12
13
  blockSpecs,
@@ -17,8 +18,9 @@ import {
17
18
  useBlocknoteHandlers,
18
19
  useCreateCollaborativeIxoEditor,
19
20
  useCreateIxoEditor
20
- } from "../chunk-U7XWDZDL.mjs";
21
+ } from "../chunk-URIMM24H.mjs";
21
22
  export {
23
+ ApiRequestBlockSpec,
22
24
  AuthzExecActionTypes,
23
25
  BlocknoteProvider,
24
26
  CheckboxBlockSpec,
@@ -26,7 +28,7 @@ export {
26
28
  IxoEditor,
27
29
  ListBlock,
28
30
  OverviewBlock,
29
- ProposalVoteBlockSpec as ProposalVoteBlock,
31
+ ProposalBlockSpec,
30
32
  StakeType,
31
33
  ValidatorActionType,
32
34
  blockSpecs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",