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

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.1",
3
+ "version": "2.8.2-alpha.2",
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.1",
10
- "@budibase/shared-core": "2.8.2-alpha.1",
9
+ "@budibase/bbui": "2.8.2-alpha.2",
10
+ "@budibase/shared-core": "2.8.2-alpha.2",
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": "e03230d63f9550b4d7d923518c9094e889512097"
16
+ "gitHead": "a7986dd2a13ed764c5ae6c143dcba837059f8b33"
17
17
  }
@@ -258,7 +258,7 @@
258
258
  class:wrap={editable || contentLines > 1}
259
259
  on:wheel={e => (focused ? e.stopPropagation() : null)}
260
260
  >
261
- {#each value || [] as relationship, idx}
261
+ {#each value || [] as relationship}
262
262
  {#if relationship.primaryDisplay}
263
263
  <div class="badge">
264
264
  <span
@@ -2,16 +2,9 @@
2
2
  import { getContext } from "svelte"
3
3
  import { GutterWidth } from "../lib/constants"
4
4
 
5
- const {
6
- columns,
7
- resize,
8
- renderedColumns,
9
- stickyColumn,
10
- isReordering,
11
- scrollLeft,
12
- } = getContext("grid")
5
+ const { resize, renderedColumns, stickyColumn, isReordering, scrollLeft } =
6
+ getContext("grid")
13
7
 
14
- $: cutoff = $scrollLeft + GutterWidth + ($columns[0]?.width || 0)
15
8
  $: offset = GutterWidth + ($stickyColumn?.width || 0)
16
9
  $: activeColumn = $resize.column
17
10