@kestra-io/ui-libs 0.0.30 → 0.0.32

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.30",
3
+ "version": "v0.0.32",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -278,7 +278,7 @@
278
278
  }
279
279
 
280
280
  const expand = (expandData) => {
281
- const taskTypesWithSubflows = ["io.kestra.core.tasks.flows.Flow", "io.kestra.core.tasks.flows.ForEachItem"];
281
+ const taskTypesWithSubflows = ["io.kestra.core.tasks.flows.Flow", "io.kestra.core.tasks.flows.Subflow", "io.kestra.core.tasks.flows.ForEachItem"];
282
282
  if (taskTypesWithSubflows.includes(expandData.type) && !props.expandedSubflows.includes(expandData.id)) {
283
283
  forwardEvent("expand-subflow", [...props.expandedSubflows, expandData.id]);
284
284
  return;
package/src/scss/app.scss CHANGED
@@ -1,10 +1,5 @@
1
1
  @import "variables";
2
2
 
3
- .material-design-icon > .material-design-icon__svg {
4
- bottom: 0;
5
- }
6
-
7
-
8
3
  .circle-button {
9
4
  border-radius: 1rem;
10
5
  width: 1rem;
@@ -0,0 +1,54 @@
1
+ $min-contrast-ratio: 2.5;
2
+
3
+ $custom-colors: (
4
+ "blue": $blue,
5
+ "pink": $pink,
6
+ "default": $gray-600
7
+ );
8
+
9
+ $theme-colors: map-merge($theme-colors, $custom-colors);
10
+
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
+ .bg-light-#{$color}-border {
21
+ background-color: rgba($value, 0.05);
22
+ border: 1px solid $value;
23
+ }
24
+
25
+ .border-execution-#{$color} {
26
+ border-left: 0.8125rem !important;
27
+ border-color: $value !important;
28
+
29
+ }
30
+
31
+ .stroke-#{$color} {
32
+ stroke: $value;
33
+ }
34
+ }
35
+
36
+
37
+ // overload
38
+ .font-monospace {
39
+ font-size: $font-size-base * 0.7;
40
+ }
41
+
42
+ // tooltip
43
+ .tooltip {
44
+ font-size: 12px;
45
+ line-height: 20px;
46
+ --bs-tooltip-bg: var(--bs-gray-900);
47
+ --bs-tooltip-color: var(--bs-gray-100);
48
+ --bs-tooltip-opacity: 1;
49
+
50
+ html.dark & {
51
+ --bs-tooltip-color: var(--bs-gray-900);
52
+ --bs-tooltip-bg: var(--bs-gray-100);
53
+ }
54
+ }
@@ -31,57 +31,4 @@ $include-column-box-sizing: true !default;
31
31
 
32
32
  @import "bootstrap/scss/helpers/text-truncation";
33
33
 
34
- $min-contrast-ratio: 2.5;
35
-
36
- $custom-colors: (
37
- "blue": $blue,
38
- "pink": $pink,
39
- "default": $gray-600
40
- );
41
-
42
- $theme-colors: map-merge($theme-colors, $custom-colors);
43
-
44
- @each $color, $value in $theme-colors {
45
- .border-#{$color} {
46
- border-color: $value !important;
47
- }
48
-
49
- .bg-#{$color} {
50
- background-color: $value;
51
- }
52
-
53
- .bg-light-#{$color}-border {
54
- background-color: rgba($value, 0.05);
55
- border: 1px solid $value;
56
- }
57
-
58
- .border-execution-#{$color} {
59
- border-left: 0.8125rem !important;
60
- border-color: $value !important;
61
-
62
- }
63
-
64
- .stroke-#{$color} {
65
- stroke: $value;
66
- }
67
- }
68
-
69
-
70
- // overload
71
- .font-monospace {
72
- font-size: $font-size-base * 0.7;
73
- }
74
-
75
- // tooltip
76
- .tooltip {
77
- font-size: 12px;
78
- line-height: 20px;
79
- --bs-tooltip-bg: var(--bs-gray-900);
80
- --bs-tooltip-color: var(--bs-gray-100);
81
- --bs-tooltip-opacity: 1;
82
-
83
- html.dark & {
84
- --bs-tooltip-color: var(--bs-gray-900);
85
- --bs-tooltip-bg: var(--bs-gray-100);
86
- }
87
- }
34
+ @import "bootstrap-overload";