@kestra-io/ui-libs 0.0.2 → 0.0.3

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": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -12,26 +12,28 @@
12
12
  "dev": "vite",
13
13
  "debug": "vite --debug",
14
14
  "preview": "vite preview",
15
+ "build": "vite build",
15
16
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path ./.gitignore"
16
17
  },
17
18
  "peerDependencies": {
18
- "@popperjs/core": "^2.11.8",
19
- "@vitejs/plugin-vue": "^4.2.3",
20
- "@vue-flow/core": "^1.22.2",
19
+ "@vue-flow/background": "^1.2.0",
20
+ "@vue-flow/controls": "1.0.6",
21
+ "@vue-flow/core": "1.14.3",
21
22
  "bootstrap": "^5.3.0",
22
23
  "buffer": "^6.0.3",
23
24
  "humanize-duration": "^3.29.0",
24
25
  "lodash": "^4.17.21",
25
26
  "moment": "^2.29.4",
26
- "sass": "^1.64.0",
27
- "vite": "^4.4.9",
28
27
  "vue": "^3.3.4",
29
28
  "vue-material-design-icons": "^5.2.0"
30
29
  },
31
30
  "devDependencies": {
31
+ "@vitejs/plugin-vue": "^4.2.3",
32
32
  "eslint": "^8.46.0",
33
33
  "eslint-plugin-vue": "^9.17.0",
34
34
  "npm": "^9.8.1",
35
+ "sass": "^1.64.0",
36
+ "vite": "^4.4.9",
35
37
  "vite-plugin-static-copy": "^0.17.0"
36
38
  }
37
39
  }
@@ -151,8 +151,6 @@
151
151
  </script>
152
152
 
153
153
  <style lang="scss" scoped>
154
- @import "../../scss/custom";
155
-
156
154
  .node-wrapper {
157
155
  background-color: var(--bs-white);
158
156
 
@@ -178,7 +176,7 @@
178
176
  }
179
177
 
180
178
  .description-button {
181
- color: $gray-600;
179
+ color: var(--bs-gray-600);
182
180
  cursor: pointer;
183
181
  width: 25px;
184
182
  }
@@ -223,4 +221,4 @@
223
221
  left: -0.04438rem;
224
222
  border-radius: 0.5rem 0 0 0.5rem;
225
223
  }
226
- </style>
224
+ </style>
@@ -87,7 +87,6 @@
87
87
  </script>
88
88
 
89
89
  <style scoped lang="scss">
90
-
91
90
  .dependency-node-wrapper {
92
91
  background-color: var(--bs-white);
93
92
  color: var(--bs-black);
@@ -125,4 +124,4 @@
125
124
  }
126
125
  }
127
126
 
128
- </style>
127
+ </style>
@@ -37,10 +37,11 @@
37
37
  .custom-handle {
38
38
  visibility: hidden
39
39
  }
40
+
40
41
  .dot {
41
42
  display: flex;
42
43
  flex-direction: column;
43
44
  align-items: center;
44
45
  font-size: 5px;
45
46
  }
46
- </style>
47
+ </style>
@@ -163,6 +163,4 @@
163
163
  }
164
164
  }
165
165
  </script>
166
- <style scoped lang="scss">
167
- @import "../../scss/custom";
168
- </style>
166
+
package/src/index.js CHANGED
@@ -1,8 +1 @@
1
- import "./scss/index.scss"
2
-
3
- // import GraphUtils from "./utils/GraphUtils";
4
- // import YamlUtils from "./utils/YamlUtils";
5
- // import Utils from "./utils/Utils";
6
-
7
1
  export * from "./components/index.js";
8
- // export { GraphUtils, YamlUtils, Utils };
@@ -1,6 +1,3 @@
1
- @import "bootstrap";
2
- @import "bootstrap-dark";
3
-
4
1
  @import "variables";
5
2
 
6
3
  .material-design-icon > .material-design-icon__svg {
@@ -39,4 +36,4 @@ marker[id*='id=marker-custom&type=arrowclosed'] polyline {
39
36
 
40
37
  .button-icon {
41
38
  font-size: 0.75rem;
42
- }
39
+ }
@@ -0,0 +1,12 @@
1
+ /* bootstrap */
2
+ @use "bootstrap";
3
+ @use "bootstrap-dark";
4
+
5
+ /* icons */
6
+ @use "vue-material-design-icons/styles.css" as vue-material-design-icons;
7
+
8
+ /* vue flow */
9
+ @use "vue-material-design-icons/styles.css" as material-design-icons;
10
+ @use "@vue-flow/core/dist/style.css" as vue-flow-core;
11
+ @use "@vue-flow/core/dist/theme-default.css" as vue-flow-theme;
12
+ @use "@vue-flow/controls/dist/style.css" as vue-flow-controls;
@@ -1,8 +0,0 @@
1
- /* icons */
2
- @use "vue-material-design-icons/styles.css";
3
-
4
- /* vue flow */
5
- @use '@vue-flow/core/dist/style.css';
6
- @use '@vue-flow/core/dist/theme-default.css';
7
-
8
- @import "custom.scss";