@budibase/frontend-core 2.8.2-alpha.0 → 2.8.2-alpha.1

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/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "2.8.2-alpha.0",
3
+ "version": "2.8.2-alpha.1",
4
4
  "description": "Budibase frontend core libraries used in builder and client",
5
5
  "author": "Budibase",
6
6
  "license": "MPL-2.0",
7
7
  "svelte": "src/index.js",
8
8
  "dependencies": {
9
- "@budibase/bbui": "2.8.2-alpha.0",
10
- "@budibase/shared-core": "2.8.2-alpha.0",
9
+ "@budibase/bbui": "2.8.2-alpha.1",
10
+ "@budibase/shared-core": "2.8.2-alpha.1",
11
11
  "dayjs": "^1.11.7",
12
12
  "lodash": "^4.17.21",
13
13
  "socket.io-client": "^4.6.1",
14
14
  "svelte": "^3.46.2"
15
15
  },
16
- "gitHead": "7d575c7f3e9c5b8ec383e0a14041ba55c70fe5ac"
16
+ "gitHead": "e03230d63f9550b4d7d923518c9094e889512097"
17
17
  }
@@ -33,7 +33,7 @@
33
33
  <Tooltip
34
34
  direction={tooltipDirection}
35
35
  textWrapping
36
- text={user.email}
36
+ text={helpers.getUserLabel(user)}
37
37
  size="S"
38
38
  />
39
39
  </div>
@@ -46,13 +46,15 @@
46
46
  position: relative;
47
47
  }
48
48
  .tooltip {
49
- display: none;
50
49
  position: absolute;
51
50
  top: 0;
52
51
  left: 50%;
53
52
  white-space: nowrap;
53
+ pointer-events: none;
54
+ opacity: 0;
55
+ transition: opacity 130ms ease-out;
54
56
  }
55
57
  .user-avatar:hover .tooltip {
56
- display: block;
58
+ opacity: 1;
57
59
  }
58
60
  </style>
@@ -30,8 +30,9 @@ export const deriveStores = context => {
30
30
  ([$users, $focusedCellId]) => {
31
31
  let map = {}
32
32
  $users.forEach(user => {
33
- if (user.focusedCellId && user.focusedCellId !== $focusedCellId) {
34
- map[user.focusedCellId] = user
33
+ const cellId = user.gridMetadata?.focusedCellId
34
+ if (cellId && cellId !== $focusedCellId) {
35
+ map[cellId] = user
35
36
  }
36
37
  })
37
38
  return map