@examind/block-editor 0.3.4 → 0.3.6

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.js CHANGED
@@ -4243,7 +4243,8 @@ function FillInTheBlankSpaceSettings(props) {
4243
4243
  defaultValue: foundNode.__matches,
4244
4244
  resize: "auto",
4245
4245
  onChange: handleMatchesChange
4246
- }
4246
+ },
4247
+ `matches_${nodeKey}`
4247
4248
  ) }),
4248
4249
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4249
4250
  DropdownButton,
@@ -4314,7 +4315,8 @@ function FillInTheBlankSpaceSettings(props) {
4314
4315
  }
4315
4316
  );
4316
4317
  }
4317
- }
4318
+ },
4319
+ `use-regex_${nodeKey}`
4318
4320
  ) }),
4319
4321
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4320
4322
  Checkbox,
@@ -4331,7 +4333,8 @@ function FillInTheBlankSpaceSettings(props) {
4331
4333
  }
4332
4334
  });
4333
4335
  }
4334
- }
4336
+ },
4337
+ `case-sensitive_${nodeKey}`
4335
4338
  ) }),
4336
4339
  !foundNode.getUseRegex() && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4337
4340
  TextInput,
@@ -4353,7 +4356,8 @@ function FillInTheBlankSpaceSettings(props) {
4353
4356
  }
4354
4357
  });
4355
4358
  }
4356
- }
4359
+ },
4360
+ `errors-allowed_${nodeKey}`
4357
4361
  ) })
4358
4362
  ] }),
4359
4363
  foundNode.getSpaceType() === "Number" && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
@@ -4377,7 +4381,8 @@ function FillInTheBlankSpaceSettings(props) {
4377
4381
  }
4378
4382
  });
4379
4383
  }
4380
- }
4384
+ },
4385
+ `min-decimals_${nodeKey}`
4381
4386
  ) }),
4382
4387
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4383
4388
  TextInput,
@@ -4414,7 +4419,8 @@ function FillInTheBlankSpaceSettings(props) {
4414
4419
  }
4415
4420
  });
4416
4421
  }
4417
- }
4422
+ },
4423
+ `error-tolerance_${nodeKey}`
4418
4424
  ) })
4419
4425
  ] }),
4420
4426
  foundNode.getSpaceType() === "Dropdown" && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
@@ -4435,7 +4441,8 @@ function FillInTheBlankSpaceSettings(props) {
4435
4441
  }
4436
4442
  });
4437
4443
  }
4438
- }
4444
+ },
4445
+ `distractors_${nodeKey}`
4439
4446
  ) }),
4440
4447
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4441
4448
  Button,
@@ -11979,7 +11986,8 @@ function FillInTheBlankQuestionSettings(props) {
11979
11986
  }
11980
11987
  });
11981
11988
  }
11982
- }
11989
+ },
11990
+ `points-pre-space_${nodeKey}`
11983
11991
  ) });
11984
11992
  }
11985
11993
 
@@ -16296,7 +16304,8 @@ function JournalEntryQuestionSettings(props) {
16296
16304
  }
16297
16305
  });
16298
16306
  }
16299
- }
16307
+ },
16308
+ `points_${nodeKey}`
16300
16309
  ) }),
16301
16310
  /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
16302
16311
  TextInput,
@@ -16327,7 +16336,8 @@ function JournalEntryQuestionSettings(props) {
16327
16336
  }
16328
16337
  });
16329
16338
  }
16330
- }
16339
+ },
16340
+ `error-tolerance_${nodeKey}`
16331
16341
  ) }),
16332
16342
  /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
16333
16343
  Checkbox,
@@ -16345,7 +16355,8 @@ function JournalEntryQuestionSettings(props) {
16345
16355
  }
16346
16356
  });
16347
16357
  }
16348
- }
16358
+ },
16359
+ `no-entry-required_${nodeKey}`
16349
16360
  ) })
16350
16361
  ] });
16351
16362
  }
@@ -16551,7 +16562,8 @@ function MatchingQuestionSettings(props) {
16551
16562
  }
16552
16563
  });
16553
16564
  }
16554
- }
16565
+ },
16566
+ `points-per-match_${nodeKey}`
16555
16567
  ) });
16556
16568
  }
16557
16569
 
@@ -17345,7 +17357,8 @@ function ShortAnswerQuestionSettings(props) {
17345
17357
  }
17346
17358
  });
17347
17359
  }
17348
- }
17360
+ },
17361
+ `points_${nodeKey}`
17349
17362
  ) }),
17350
17363
  /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
17351
17364
  TextInput,
@@ -17372,7 +17385,8 @@ function ShortAnswerQuestionSettings(props) {
17372
17385
  }
17373
17386
  });
17374
17387
  }
17375
- }
17388
+ },
17389
+ `maxWords_${nodeKey}`
17376
17390
  ) })
17377
17391
  ] });
17378
17392
  }
@@ -21758,7 +21772,8 @@ function FinancialStatementQuestionSettings(props) {
21758
21772
  }
21759
21773
  });
21760
21774
  }
21761
- }
21775
+ },
21776
+ `points_${nodeKey}`
21762
21777
  ) });
21763
21778
  }
21764
21779
 
package/dist/index.mjs CHANGED
@@ -4342,7 +4342,8 @@ function FillInTheBlankSpaceSettings(props) {
4342
4342
  defaultValue: foundNode.__matches,
4343
4343
  resize: "auto",
4344
4344
  onChange: handleMatchesChange
4345
- }
4345
+ },
4346
+ `matches_${nodeKey}`
4346
4347
  ) }),
4347
4348
  /* @__PURE__ */ jsx41("div", { children: /* @__PURE__ */ jsx41(
4348
4349
  DropdownButton,
@@ -4413,7 +4414,8 @@ function FillInTheBlankSpaceSettings(props) {
4413
4414
  }
4414
4415
  );
4415
4416
  }
4416
- }
4417
+ },
4418
+ `use-regex_${nodeKey}`
4417
4419
  ) }),
4418
4420
  /* @__PURE__ */ jsx41("div", { children: /* @__PURE__ */ jsx41(
4419
4421
  Checkbox,
@@ -4430,7 +4432,8 @@ function FillInTheBlankSpaceSettings(props) {
4430
4432
  }
4431
4433
  });
4432
4434
  }
4433
- }
4435
+ },
4436
+ `case-sensitive_${nodeKey}`
4434
4437
  ) }),
4435
4438
  !foundNode.getUseRegex() && /* @__PURE__ */ jsx41("div", { children: /* @__PURE__ */ jsx41(
4436
4439
  TextInput,
@@ -4452,7 +4455,8 @@ function FillInTheBlankSpaceSettings(props) {
4452
4455
  }
4453
4456
  });
4454
4457
  }
4455
- }
4458
+ },
4459
+ `errors-allowed_${nodeKey}`
4456
4460
  ) })
4457
4461
  ] }),
4458
4462
  foundNode.getSpaceType() === "Number" && /* @__PURE__ */ jsxs10(Fragment16, { children: [
@@ -4476,7 +4480,8 @@ function FillInTheBlankSpaceSettings(props) {
4476
4480
  }
4477
4481
  });
4478
4482
  }
4479
- }
4483
+ },
4484
+ `min-decimals_${nodeKey}`
4480
4485
  ) }),
4481
4486
  /* @__PURE__ */ jsx41("div", { children: /* @__PURE__ */ jsx41(
4482
4487
  TextInput,
@@ -4513,7 +4518,8 @@ function FillInTheBlankSpaceSettings(props) {
4513
4518
  }
4514
4519
  });
4515
4520
  }
4516
- }
4521
+ },
4522
+ `error-tolerance_${nodeKey}`
4517
4523
  ) })
4518
4524
  ] }),
4519
4525
  foundNode.getSpaceType() === "Dropdown" && /* @__PURE__ */ jsx41("div", { children: /* @__PURE__ */ jsx41(
@@ -4534,7 +4540,8 @@ function FillInTheBlankSpaceSettings(props) {
4534
4540
  }
4535
4541
  });
4536
4542
  }
4537
- }
4543
+ },
4544
+ `distractors_${nodeKey}`
4538
4545
  ) }),
4539
4546
  /* @__PURE__ */ jsx41("div", { style: { width: "100%" }, children: /* @__PURE__ */ jsx41(
4540
4547
  Button,
@@ -12310,7 +12317,8 @@ function FillInTheBlankQuestionSettings(props) {
12310
12317
  }
12311
12318
  });
12312
12319
  }
12313
- }
12320
+ },
12321
+ `points-pre-space_${nodeKey}`
12314
12322
  ) });
12315
12323
  }
12316
12324
 
@@ -16818,7 +16826,8 @@ function JournalEntryQuestionSettings(props) {
16818
16826
  }
16819
16827
  });
16820
16828
  }
16821
- }
16829
+ },
16830
+ `points_${nodeKey}`
16822
16831
  ) }),
16823
16832
  /* @__PURE__ */ jsx116("div", { children: /* @__PURE__ */ jsx116(
16824
16833
  TextInput,
@@ -16849,7 +16858,8 @@ function JournalEntryQuestionSettings(props) {
16849
16858
  }
16850
16859
  });
16851
16860
  }
16852
- }
16861
+ },
16862
+ `error-tolerance_${nodeKey}`
16853
16863
  ) }),
16854
16864
  /* @__PURE__ */ jsx116("div", { children: /* @__PURE__ */ jsx116(
16855
16865
  Checkbox,
@@ -16867,7 +16877,8 @@ function JournalEntryQuestionSettings(props) {
16867
16877
  }
16868
16878
  });
16869
16879
  }
16870
- }
16880
+ },
16881
+ `no-entry-required_${nodeKey}`
16871
16882
  ) })
16872
16883
  ] });
16873
16884
  }
@@ -17073,7 +17084,8 @@ function MatchingQuestionSettings(props) {
17073
17084
  }
17074
17085
  });
17075
17086
  }
17076
- }
17087
+ },
17088
+ `points-per-match_${nodeKey}`
17077
17089
  ) });
17078
17090
  }
17079
17091
 
@@ -17894,7 +17906,8 @@ function ShortAnswerQuestionSettings(props) {
17894
17906
  }
17895
17907
  });
17896
17908
  }
17897
- }
17909
+ },
17910
+ `points_${nodeKey}`
17898
17911
  ) }),
17899
17912
  /* @__PURE__ */ jsx122("div", { children: /* @__PURE__ */ jsx122(
17900
17913
  TextInput,
@@ -17921,7 +17934,8 @@ function ShortAnswerQuestionSettings(props) {
17921
17934
  }
17922
17935
  });
17923
17936
  }
17924
- }
17937
+ },
17938
+ `maxWords_${nodeKey}`
17925
17939
  ) })
17926
17940
  ] });
17927
17941
  }
@@ -22446,7 +22460,8 @@ function FinancialStatementQuestionSettings(props) {
22446
22460
  }
22447
22461
  });
22448
22462
  }
22449
- }
22463
+ },
22464
+ `points_${nodeKey}`
22450
22465
  ) });
22451
22466
  }
22452
22467
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@examind/block-editor",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "@comment version": [
5
5
  "Don't specify package version here. It will be injected by publish workflow."
6
6
  ],
@@ -62,7 +62,7 @@
62
62
  "tsup": "^8.3.5",
63
63
  "typescript": "^5.7.2",
64
64
  "typescript-eslint": "^8.18.2",
65
- "@examind/block-types": "0.3.4"
65
+ "@examind/block-types": "0.3.6"
66
66
  },
67
67
  "dependencies": {
68
68
  "@dnd-kit/core": "6.3.1",