@budibase/bbui 2.13.13 → 2.13.15

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.13",
4
+ "version": "2.13.15",
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.13",
40
- "@budibase/string-templates": "2.13.13",
39
+ "@budibase/shared-core": "2.13.15",
40
+ "@budibase/string-templates": "2.13.15",
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": "81425a13bd4a09ac74f4d2931e8fbfc660eb9e31"
107
+ "gitHead": "8ada75c2f51c6ddff52676944b0d6e9395ea1c0b"
108
108
  }
@@ -1,5 +1,6 @@
1
1
  <script>
2
2
  import "@spectrum-css/actiongroup/dist/index-vars.css"
3
+
3
4
  export let vertical = false
4
5
  export let justified = false
5
6
  export let quiet = false
@@ -1,5 +1,6 @@
1
1
  <script>
2
2
  import "@spectrum-css/avatar/dist/index-vars.css"
3
+
3
4
  let sizes = new Map([
4
5
  ["XXS", "--spectrum-alias-avatar-size-50"],
5
6
  ["XS", "--spectrum-alias-avatar-size-75"],
@@ -1,5 +1,6 @@
1
1
  <script>
2
2
  import "@spectrum-css/buttongroup/dist/index-vars.css"
3
+
3
4
  export let vertical = false
4
5
  export let gap = ""
5
6
 
@@ -1,5 +1,6 @@
1
1
  <script>
2
2
  import "@spectrum-css/divider/dist/index-vars.css"
3
+
3
4
  export let size = "M"
4
5
 
5
6
  export let vertical = false
@@ -3,8 +3,7 @@
3
3
  import Button from "../Button/Button.svelte"
4
4
  import Body from "../Typography/Body.svelte"
5
5
  import Heading from "../Typography/Heading.svelte"
6
- import { setContext } from "svelte"
7
- import { createEventDispatcher } from "svelte"
6
+ import { setContext, createEventDispatcher } from "svelte"
8
7
  import { generate } from "shortid"
9
8
 
10
9
  export let title
@@ -1,5 +1,6 @@
1
1
  <script>
2
2
  import Input from "../Form/Input.svelte"
3
+
3
4
  let value = ""
4
5
  </script>
5
6
 
@@ -4,6 +4,7 @@
4
4
  import Icon from "../Icon/Icon.svelte"
5
5
  import Popover from "../Popover/Popover.svelte"
6
6
  import { onMount } from "svelte"
7
+
7
8
  const flipDurationMs = 150
8
9
 
9
10
  export let constraints
@@ -1,11 +1,10 @@
1
1
  <script>
2
2
  import "@spectrum-css/popover/dist/index-vars.css"
3
3
  import Portal from "svelte-portal"
4
- import { createEventDispatcher } from "svelte"
4
+ import { createEventDispatcher, getContext } from "svelte"
5
5
  import positionDropdown from "../Actions/position_dropdown"
6
6
  import clickOutside from "../Actions/click_outside"
7
7
  import { fly } from "svelte/transition"
8
- import { getContext } from "svelte"
9
8
  import Context from "../context"
10
9
 
11
10
  const dispatch = createEventDispatcher()
@@ -1,7 +1,9 @@
1
1
  <script>
2
2
  import { getContext } from "svelte"
3
+
3
4
  const multilevel = getContext("sidenav-type")
4
5
  import Badge from "../Badge/Badge.svelte"
6
+
5
7
  export let href = ""
6
8
  export let external = false
7
9
  export let heading = ""
@@ -1,6 +1,7 @@
1
1
  <script>
2
2
  import { setContext } from "svelte"
3
3
  import "@spectrum-css/sidenav/dist/index-vars.css"
4
+
4
5
  export let multilevel = false
5
6
  setContext("sidenav-type", multilevel)
6
7
  </script>
@@ -1,6 +1,7 @@
1
1
  <script>
2
2
  import "@spectrum-css/label/dist/index-vars.css"
3
3
  import Badge from "../Badge/Badge.svelte"
4
+
4
5
  export let value
5
6
 
6
7
  const displayLimit = 5
@@ -1,6 +1,7 @@
1
1
  <script>
2
2
  import { getContext, onMount, createEventDispatcher } from "svelte"
3
3
  import Portal from "svelte-portal"
4
+
4
5
  export let title
5
6
  export let icon = ""
6
7
  export let id
package/src/helpers.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { helpers } from "@budibase/shared-core"
2
+
2
3
  export const deepGet = helpers.deepGet
3
4
 
4
5
  /**