@budibase/bbui 1.0.74-alpha.0 → 1.0.74

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": "1.0.74-alpha.0",
4
+ "version": "1.0.74",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -83,5 +83,5 @@
83
83
  "svelte-flatpickr": "^3.2.3",
84
84
  "svelte-portal": "^1.0.0"
85
85
  },
86
- "gitHead": "5862fc23222ea13a4782ecf600e95d4018eb4e22"
86
+ "gitHead": "0fdd50d583aaf0051251f133044e17ebaba33cf2"
87
87
  }
@@ -79,12 +79,4 @@
79
79
  align-items: flex-start;
80
80
  gap: var(--spacing-xs);
81
81
  }
82
-
83
- .buttons {
84
- display: flex;
85
- flex-direction: row;
86
- justify-content: flex-start;
87
- align-items: center;
88
- gap: var(--spacing-m);
89
- }
90
82
  </style>
@@ -3,7 +3,8 @@
3
3
  import "@spectrum-css/table/dist/index-vars.css"
4
4
  import CellRenderer from "./CellRenderer.svelte"
5
5
  import SelectEditRenderer from "./SelectEditRenderer.svelte"
6
- import { cloneDeep, deepGet } from "../helpers"
6
+ import { cloneDeep } from "lodash"
7
+ import { deepGet } from "../helpers"
7
8
 
8
9
  /**
9
10
  * The expected schema is our normal couch schemas for our tables.
package/src/helpers.js CHANGED
@@ -98,11 +98,3 @@ export const deepSet = (obj, key, value) => {
98
98
  }
99
99
  obj[split[split.length - 1]] = value
100
100
  }
101
-
102
- /**
103
- * Deeply clones an object. Functions are not supported.
104
- * @param obj the object to clone
105
- */
106
- export const cloneDeep = obj => {
107
- return JSON.parse(JSON.stringify(obj))
108
- }