@kestra-io/ui-libs 0.0.56 → 0.0.58

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.56",
3
+ "version": "0.0.58",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
package/src/index.js CHANGED
@@ -2,8 +2,6 @@ import YamlUtils from "./utils/YamlUtils.js";
2
2
  import Utils from "./utils/Utils.js";
3
3
  import VueFlowUtils from "./utils/VueFlowUtils.js";
4
4
 
5
- import VITE from "./vite/index";
6
-
7
- export {YamlUtils, Utils, VueFlowUtils, VITE};
5
+ export {YamlUtils, Utils, VueFlowUtils};
8
6
 
9
7
  export * from "./components/index.js";
@@ -17,14 +17,6 @@ $theme-colors: map-merge($theme-colors, $custom-colors);
17
17
 
18
18
  @each $color, $value in $theme-colors {
19
19
  html.dark {
20
- .border-#{$color} {
21
- border-color: $value;
22
- }
23
-
24
- .bg-#{$color} {
25
- background-color: $value;
26
- }
27
-
28
20
  .bg-light-#{$color}-border {
29
21
  background-color: rgba($value, 0.05);
30
22
  border: 1px solid $value;
@@ -42,3 +34,15 @@ $theme-colors: map-merge($theme-colors, $custom-colors);
42
34
  }
43
35
  }
44
36
 
37
+ @each $color, $value in $custom-colors {
38
+ html.dark {
39
+ .border-#{$color} {
40
+ border-color: $value !important;
41
+ }
42
+
43
+ .bg-#{$color} {
44
+ background-color: $value;
45
+ }
46
+ }
47
+ }
48
+
@@ -6,17 +6,9 @@ $custom-colors: (
6
6
  "default": $gray-600
7
7
  );
8
8
 
9
- $theme-colors: map-merge($theme-colors, $custom-colors);
9
+ $theme-colors: $custom-colors;
10
10
 
11
11
  @each $color, $value in $theme-colors {
12
- .border-#{$color} {
13
- border-color: $value !important;
14
- }
15
-
16
- .bg-#{$color} {
17
- background-color: $value;
18
- }
19
-
20
12
  .bg-light-#{$color}-border {
21
13
  background-color: rgba($value, 0.05);
22
14
  border: 1px solid $value;
@@ -33,6 +25,16 @@ $theme-colors: map-merge($theme-colors, $custom-colors);
33
25
  }
34
26
  }
35
27
 
28
+ @each $color, $value in $custom-colors {
29
+ .border-#{$color} {
30
+ border-color: $value !important;
31
+ }
32
+
33
+ .bg-#{$color} {
34
+ background-color: $value;
35
+ }
36
+ }
37
+
36
38
 
37
39
  // overload
38
40
  .font-monospace {
package/src/vite/index.js DELETED
@@ -1,5 +0,0 @@
1
- import {commit} from "./plugins/commit";
2
-
3
- const VITE = {commit};
4
-
5
- export {VITE};
@@ -1,29 +0,0 @@
1
- import {execSync} from "child_process";
2
-
3
- const getInfo = formats => formats.map(format => execSync(`git log -1 --format=${format}`).toString().trim());
4
-
5
- const comment = (message, author, date) => `
6
- <!--
7
-
8
- Last Commit:
9
-
10
- ${message}
11
- ----------
12
- Author: ${author}
13
- Date: ${date}
14
-
15
- -->`;
16
-
17
- export const commit = () => {
18
- const [message, author, date] = getInfo(["%s", "%an", "%cd"]);
19
-
20
- return {
21
- name: "commit",
22
- transformIndexHtml: {
23
- order: "pre",
24
- handler(html) {
25
- return comment(message, author, date) + html;
26
- },
27
- },
28
- };
29
- };