@dxos/react-ui-editor 0.4.7-main.772b4a3 → 0.4.7-main.7a94090

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.
@@ -4054,16 +4054,8 @@ var defaultTheme = {
4054
4054
  // tooltip
4055
4055
  //
4056
4056
  ".cm-tooltip": {
4057
- border: "none"
4058
- },
4059
- "&light .cm-tooltip": {
4060
- background: get4(tokens, "extend.colors.white")
4061
- },
4062
- "&dark .cm-tooltip": {
4063
- background: get4(tokens, "extend.colors.black")
4064
- },
4065
- ".cm-tooltip-hover": {
4066
- padding: "0 4px"
4057
+ border: "none",
4058
+ background: "unset"
4067
4059
  },
4068
4060
  ".cm-tooltip-below": {},
4069
4061
  //
@@ -4339,7 +4331,7 @@ var useTextExtensions = ({ id, text, space, identity }) => {
4339
4331
  automerge(text)
4340
4332
  ];
4341
4333
  const peerId = identity?.identityKey.toHex();
4342
- const { cursorLightValue, cursorDarkValue } = hueTokens[hexToHue(peerId ?? "0")];
4334
+ const { cursorLightValue, cursorDarkValue } = hueTokens[identity?.profile?.data?.hue ?? hexToHue(peerId ?? "0")];
4343
4335
  if (space && identity) {
4344
4336
  const awarenessProvider2 = new SpaceAwarenessProvider({
4345
4337
  space,
@@ -4371,7 +4363,7 @@ var createModel = ({ space, identity, text }) => {
4371
4363
  }
4372
4364
  invariant3(isAutomergeObject(text), void 0, {
4373
4365
  F: __dxlog_file6,
4374
- L: 88,
4366
+ L: 89,
4375
4367
  S: void 0,
4376
4368
  A: [
4377
4369
  "isAutomergeObject(text)",
@@ -4383,7 +4375,7 @@ var createModel = ({ space, identity, text }) => {
4383
4375
  obj.field
4384
4376
  ]);
4385
4377
  const peerId = identity?.identityKey.toHex();
4386
- const { cursorLightValue, cursorDarkValue } = hueTokens[hexToHue(peerId ?? "0")];
4378
+ const { cursorLightValue, cursorDarkValue } = hueTokens[identity?.profile?.data?.hue ?? hexToHue(peerId ?? "0")];
4387
4379
  const awarenessProvider2 = space && new SpaceAwarenessProvider({
4388
4380
  space,
4389
4381
  channel: `automerge.awareness.${obj.id}`,