@budibase/bbui 2.7.9 → 2.7.12

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/bbui",
3
3
  "description": "A UI solution used in the different Budibase projects.",
4
- "version": "2.7.9",
4
+ "version": "2.7.12",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -38,8 +38,8 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@adobe/spectrum-css-workflow-icons": "1.2.1",
41
- "@budibase/shared-core": "2.7.9",
42
- "@budibase/string-templates": "2.7.9",
41
+ "@budibase/shared-core": "2.7.12",
42
+ "@budibase/string-templates": "2.7.12",
43
43
  "@spectrum-css/accordion": "3.0.24",
44
44
  "@spectrum-css/actionbutton": "1.0.1",
45
45
  "@spectrum-css/actiongroup": "1.0.1",
@@ -104,5 +104,5 @@
104
104
  }
105
105
  }
106
106
  },
107
- "gitHead": "434f2c09066e92b3f81cafef982e8e36487c2c7a"
107
+ "gitHead": "976fece17d16689afdbe310f251175e5650a3d52"
108
108
  }
@@ -204,6 +204,12 @@
204
204
  })
205
205
  return columns
206
206
  .sort((a, b) => {
207
+ if (a.divider) {
208
+ return a
209
+ }
210
+ if (b.divider) {
211
+ return b
212
+ }
207
213
  const orderA = a.order || Number.MAX_SAFE_INTEGER
208
214
  const orderB = b.order || Number.MAX_SAFE_INTEGER
209
215
  const nameA = getDisplayName(a)