@doenet/v06-to-v07 0.7.25-dev.506 → 0.7.25-dev.507

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.
@@ -45857,7 +45857,7 @@ async function cidFromArrayBuffer(data) {
45857
45857
  await crypto.subtle.digest("SHA-256", new Uint8Array());
45858
45858
  digest = (data2) => crypto.subtle.digest("SHA-256", data2);
45859
45859
  } catch (e22) {
45860
- const sha256 = (await import("./sha256-DT5xJ2Hv-CGjyj401-D5OPLKE6.js").then((n2) => n2.s)).default;
45860
+ const sha256 = (await import("./sha256-DT5xJ2Hv-D_5GEHZV-Df0xMgNe.js").then((n2) => n2.s)).default;
45861
45861
  digest = (data2) => sha256(data2, {
45862
45862
  asBytes: true
45863
45863
  });
@@ -226395,6 +226395,7 @@ class Legend extends GraphicalComponent {
226395
226395
  };
226396
226396
  static createAttributesObject() {
226397
226397
  let attributes = super.createAttributesObject();
226398
+ attributes.layer.defaultValue = 1;
226398
226399
  attributes.position = {
226399
226400
  description: "Position of the legend on the graph.",
226400
226401
  createComponentOfType: "text",
@@ -226422,6 +226423,14 @@ class Legend extends GraphicalComponent {
226422
226423
  }
226423
226424
  ]
226424
226425
  };
226426
+ attributes.boxed = {
226427
+ description: "Whether to draw an opaque box behind the legend so that graph contents passing behind it stay hidden.",
226428
+ createComponentOfType: "boolean",
226429
+ createStateVariable: "boxed",
226430
+ defaultValue: false,
226431
+ public: true,
226432
+ forRenderer: true
226433
+ };
226425
226434
  attributes.displayClosedSwatches = {
226426
226435
  description: "Whether to render closed/filled swatches in the legend.",
226427
226436
  createComponentOfType: "boolean",
@@ -237452,4 +237461,4 @@ export {
237452
237461
  getDefaultExportFromCjs$1 as g,
237453
237462
  updateSyntaxFromV06toV07 as u
237454
237463
  };
237455
- //# sourceMappingURL=index-BX9s5CPC.js.map
237464
+ //# sourceMappingURL=index-CshmoQt0.js.map