@budibase/frontend-core 2.23.10 → 2.23.11

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,18 +1,18 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "2.23.10",
3
+ "version": "2.23.11",
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.23.10",
10
- "@budibase/shared-core": "2.23.10",
11
- "@budibase/types": "2.23.10",
9
+ "@budibase/bbui": "2.23.11",
10
+ "@budibase/shared-core": "2.23.11",
11
+ "@budibase/types": "2.23.11",
12
12
  "dayjs": "^1.10.8",
13
13
  "lodash": "4.17.21",
14
14
  "shortid": "2.2.15",
15
15
  "socket.io-client": "^4.6.1"
16
16
  },
17
- "gitHead": "b588d75a8af5c4f3ab2641997282879a0207265e"
17
+ "gitHead": "ec1634d42c00cb3cb86228f75d68251f42d1f05d"
18
18
  }
@@ -67,6 +67,11 @@
67
67
 
68
68
  const removeFilter = id => {
69
69
  filters = filters.filter(field => field.id !== id)
70
+
71
+ // Clear all filters when no fields are specified
72
+ if (filters.length === 1 && filters[0].onEmptyFilter) {
73
+ filters = []
74
+ }
70
75
  }
71
76
 
72
77
  const duplicateFilter = id => {
@@ -39,6 +39,7 @@
39
39
  export let canEditColumns = true
40
40
  export let canSaveSchema = true
41
41
  export let stripeRows = false
42
+ export let quiet = false
42
43
  export let collaboration = true
43
44
  export let showAvatars = true
44
45
  export let showControls = true
@@ -91,6 +92,7 @@
91
92
  canEditColumns,
92
93
  canSaveSchema,
93
94
  stripeRows,
95
+ quiet,
94
96
  collaboration,
95
97
  showAvatars,
96
98
  showControls,
@@ -124,6 +126,7 @@
124
126
  class:is-resizing={$isResizing}
125
127
  class:is-reordering={$isReordering}
126
128
  class:stripe={stripeRows}
129
+ class:quiet
127
130
  on:mouseenter={() => gridFocused.set(true)}
128
131
  on:mouseleave={() => gridFocused.set(false)}
129
132
  style="--row-height:{$rowHeight}px; --default-row-height:{DefaultRowHeight}px; --gutter-width:{GutterWidth}px; --max-cell-render-height:{MaxCellRenderHeight}px; --max-cell-render-width-overflow:{MaxCellRenderWidthOverflow}px; --content-lines:{$contentLines};"
@@ -331,4 +334,9 @@
331
334
  .grid-data-outer :global(.spectrum-Checkbox-partialCheckmark) {
332
335
  transition: none;
333
336
  }
337
+
338
+ /* Overrides */
339
+ .grid.quiet :global(.grid-data-content .row > .cell:not(:last-child)) {
340
+ border-right: none;
341
+ }
334
342
  </style>