@kestra-io/ui-libs 0.0.18 → 0.0.19

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@kestra-io/ui-libs",
3
- "version": "v0.0.18",
3
+ "version": "v0.0.19",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -1,6 +1,6 @@
1
1
  import JsYaml from "js-yaml";
2
2
  import yaml, {Document, YAMLMap, isSeq, isMap, Pair, Scalar, YAMLSeq, LineCounter} from "yaml";
3
- import {cloneDeep} from "lodash/cloneDeep"
3
+ import {cloneDeep} from "lodash/cloneDeep.js"
4
4
  import {SECTIONS} from "./constants.js";
5
5
 
6
6
  const TOSTRING_OPTIONS = {lineWidth: 0};
@@ -15,9 +15,9 @@ String.prototype.hashCode = function () {
15
15
  return hash + "";
16
16
  }
17
17
 
18
+ export const cssVariable = (name) => {
18
19
  const root = document.querySelector(":root");
19
20
  const rootStyle = getComputedStyle(root);
20
21
 
21
- export const cssVariable = (name) => {
22
- return rootStyle.getPropertyValue(name);
23
- }
22
+ return rootStyle.getPropertyValue(name);
23
+ }