@doenet/v06-to-v07 0.7.20-dev.309 → 0.7.20-dev.310

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.
@@ -40963,7 +40963,7 @@ async function cidFromArrayBuffer(data) {
40963
40963
  await crypto.subtle.digest("SHA-256", new Uint8Array());
40964
40964
  digest = (data2) => crypto.subtle.digest("SHA-256", data2);
40965
40965
  } catch (e22) {
40966
- const sha256 = (await import("./sha256-C0vj3HDn-Dy8iD4h--1Hj5Gcpr.js").then((n2) => n2.s)).default;
40966
+ const sha256 = (await import("./sha256-C0vj3HDn-C8N7qkQo-_aAug7Di.js").then((n2) => n2.s)).default;
40967
40967
  digest = (data2) => sha256(data2, {
40968
40968
  asBytes: true
40969
40969
  });
@@ -73411,6 +73411,14 @@ class Label extends InlineComponent {
73411
73411
  public: true,
73412
73412
  forRenderer: true
73413
73413
  };
73414
+ attributes.maskLabel = {
73415
+ description: "Whether to give the label an opaque background so it stays legible when it overlaps an axis, grid line, or another object. Set to false to restore a transparent label background.",
73416
+ createComponentOfType: "boolean",
73417
+ createStateVariable: "maskLabel",
73418
+ defaultValue: true,
73419
+ public: true,
73420
+ forRenderer: true
73421
+ };
73414
73422
  Object.assign(attributes, returnAnchorAttributes());
73415
73423
  return attributes;
73416
73424
  }
@@ -81993,6 +82001,14 @@ class GraphicalComponent extends BaseComponent {
81993
82001
  forRenderer: true,
81994
82002
  description: "Whether to apply this component's selected style to its label."
81995
82003
  };
82004
+ attributes.maskLabel = {
82005
+ createComponentOfType: "boolean",
82006
+ createStateVariable: "maskLabel",
82007
+ defaultValue: true,
82008
+ public: true,
82009
+ forRenderer: true,
82010
+ description: "Whether to give the label an opaque background so it stays legible when it overlaps an axis, grid line, or another object. Set to false to restore a transparent label background."
82011
+ };
81996
82012
  attributes.layer = {
81997
82013
  createComponentOfType: "integer",
81998
82014
  createStateVariable: "layer",
@@ -228854,4 +228870,4 @@ export {
228854
228870
  getDefaultExportFromCjs as g,
228855
228871
  updateSyntaxFromV06toV07 as u
228856
228872
  };
228857
- //# sourceMappingURL=index-BH7K9foM.js.map
228873
+ //# sourceMappingURL=index-Bur65SYm.js.map