@evercam/ui 1.0.0-preview-ligthModeBugsFix-e7468c0f4 → 1.0.0-preview-gateReportPerformance-7b472b22c

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/README.md CHANGED
@@ -46,28 +46,3 @@ You can preview the components and their stories by running the [Histoire](https
46
46
 
47
47
  `yarn story:dev`
48
48
 
49
- ### Writing stories (example files)
50
-
51
- Story/example files (`.example.vue` under `docs/examples/`) must use plain JavaScript — **do not use TypeScript** in these files.
52
-
53
- The vue-styleguidist internal compiler (`vue-inbrowser-compiler`) uses an acorn-based parser that does not support TypeScript syntax. Using `<script lang="ts">`, type annotations, or `Vue.extend()` in example files will break the story build (`yarn story:build`).
54
-
55
- ```vue
56
- <!-- ✅ Correct -->
57
- <script>
58
- export default {
59
- name: "MyComponentExample",
60
- data() {
61
- return { value: "" }
62
- },
63
- }
64
- </script>
65
-
66
- <!-- ❌ Wrong – breaks the build -->
67
- <script lang="ts">
68
- import Vue from "vue"
69
- export default Vue.extend({
70
- name: "MyComponentExample",
71
- })
72
- </script>
73
- ```
@@ -25,6 +25,8 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
25
25
  initRefs(): void;
26
26
  initTimeScale(): void;
27
27
  handleWidthChange(width: number): void;
28
+ normalizeVisibleDomain(startDate: Date, endDate: Date): [Date, Date];
29
+ getTransformForDomain(startDate: Date, endDate: Date): d3.ZoomTransform;
28
30
  calculateZoomExtents(): {
29
31
  scaleExtent: [number, number];
30
32
  translateExtent: [[number, number], [number, number]];