@budibase/bbui 2.13.35 → 2.13.37

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.13.35",
4
+ "version": "2.13.37",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -36,8 +36,8 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@adobe/spectrum-css-workflow-icons": "1.2.1",
39
- "@budibase/shared-core": "2.13.35",
40
- "@budibase/string-templates": "2.13.35",
39
+ "@budibase/shared-core": "2.13.37",
40
+ "@budibase/string-templates": "2.13.37",
41
41
  "@spectrum-css/accordion": "3.0.24",
42
42
  "@spectrum-css/actionbutton": "1.0.1",
43
43
  "@spectrum-css/actiongroup": "1.0.1",
@@ -104,5 +104,5 @@
104
104
  }
105
105
  }
106
106
  },
107
- "gitHead": "5c98ab7536b59b95c63de6e4d0200ecfd1103b02"
107
+ "gitHead": "a3ba9269d3867cb9695ed1e718f6cead49c7f6e2"
108
108
  }
@@ -1,20 +1,17 @@
1
1
  <script>
2
2
  import Icon from "../Icon/Icon.svelte"
3
- import { createEventDispatcher } from "svelte"
4
3
 
5
4
  export let name
6
- export let show = false
5
+ export let initiallyShow = false
7
6
  export let collapsible = true
8
7
 
9
- const dispatch = createEventDispatcher()
8
+ let show = initiallyShow
9
+
10
10
  const onHeaderClick = () => {
11
11
  if (!collapsible) {
12
12
  return
13
13
  }
14
14
  show = !show
15
- if (show) {
16
- dispatch("open")
17
- }
18
15
  }
19
16
  </script>
20
17