@budibase/bbui 3.3.2 → 3.3.4
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/dist/bbui.mjs +652 -650
- package/package.json +2 -2
- package/src/Actions/position_dropdown.ts +6 -1
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": "3.3.
|
|
4
|
+
"version": "3.3.4",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"svelte": "src/index.ts",
|
|
7
7
|
"module": "dist/bbui.mjs",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "19a690335119ef2995256d6a7ea7eab6ddeaff0c"
|
|
103
103
|
}
|
|
@@ -240,7 +240,12 @@ export default function positionDropdown(element: HTMLElement, opts: Opts) {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
for (const [key, value] of Object.entries(styles)) {
|
|
243
|
-
|
|
243
|
+
const name = key as keyof Styles
|
|
244
|
+
if (value != null) {
|
|
245
|
+
element.style[name] = `${value}px`
|
|
246
|
+
} else {
|
|
247
|
+
element.style[name] = ""
|
|
248
|
+
}
|
|
244
249
|
}
|
|
245
250
|
}
|
|
246
251
|
|