@kws3/ui 1.5.0 → 1.5.1

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.
@@ -14,7 +14,7 @@
14
14
 
15
15
  <script>
16
16
  import { onMount, createEventDispatcher } from "svelte";
17
- import ApexCharts from "apexcharts";
17
+ import ApexCharts from "apexcharts/dist/apexcharts.esm";
18
18
  import { merge } from "./utils";
19
19
 
20
20
  const fire = createEventDispatcher();
package/charts/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import ApexCharts from "apexcharts";
1
+ import ApexCharts from "apexcharts/dist/apexcharts.esm";
2
2
 
3
3
  const themeColors = [
4
4
  "#284BED",
@@ -28,7 +28,7 @@ This will be overridden if `min` is higher, or `max` is lower, Default: `0`
28
28
  <div class="field has-addons">
29
29
  <div class="control">
30
30
  <button
31
- data-testid="minus-button"
31
+ role="button"
32
32
  type="button"
33
33
  class="button is-{size} is-{minus_button_color}"
34
34
  style="box-shadow:none;"
@@ -42,7 +42,7 @@ This will be overridden if `min` is higher, or `max` is lower, Default: `0`
42
42
  </div>
43
43
  <div class="control is-{fullwidth ? 'expanded' : 'narrow'}">
44
44
  <input
45
- data-testid="number-input"
45
+ data-testid="input"
46
46
  class="input has-text-centered is-{size} is-{value < min || value > max
47
47
  ? 'danger'
48
48
  : ''}"
@@ -58,7 +58,7 @@ This will be overridden if `min` is higher, or `max` is lower, Default: `0`
58
58
  </div>
59
59
  <div class="control">
60
60
  <button
61
- data-testid="plus-button"
61
+ role="button"
62
62
  type="button"
63
63
  class="button is-{size} is-{plus_button_color}"
64
64
  style="box-shadow:none;"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kws3/ui",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "UI components for use with Svelte v3 applications.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,5 +28,5 @@
28
28
  "text-mask-core": "^5.1.2",
29
29
  "tippy.js": "^6.3.1"
30
30
  },
31
- "gitHead": "ef298daf2ccfb5ae8075c4ee9508228ad24e69c1"
31
+ "gitHead": "affc920010dff752a3f8b3b997fe2e160b8a9e67"
32
32
  }
package/styles/Chart.scss CHANGED
@@ -12,7 +12,7 @@ $kws-chart-tooltip-foreground-color: $scheme-invert-ter !default;
12
12
  color: $kws-chart-tooltip-foreground-color;
13
13
  border: none;
14
14
  }
15
- .apexcharts-tooltip-series-group.active,
15
+ .apexcharts-tooltip-series-group.apexcharts-active,
16
16
  .apexcharts-tooltip-series-group:last-child {
17
17
  padding-bottom: 0;
18
18
  }