@explorer-1/vue 0.2.12 → 0.2.14

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": "@explorer-1/vue",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -53,11 +53,7 @@ import type { PropType } from 'vue'
53
53
  import { defineComponent } from 'vue'
54
54
  import dayjs from './../../utils/dayjs'
55
55
  import { type Dayjs } from 'dayjs'
56
- import duration, { type Duration } from 'dayjs/plugin/duration.js'
57
- import minMax from 'dayjs/plugin/minMax.js'
58
-
59
- dayjs.extend(duration)
60
- dayjs.extend(minMax)
56
+ import { type Duration } from 'dayjs/plugin/duration.js'
61
57
 
62
58
  const calculateDuration = (start: Dayjs): Duration | undefined => {
63
59
  // Use round seconds so the datetime string stays valid and can be read by screen readers.
@@ -52,7 +52,7 @@
52
52
  </span>
53
53
  <span
54
54
  v-if="data.location"
55
- class="mr-1"
55
+ class="mr-1 mt-.5"
56
56
  aria-hidden="true"
57
57
  >
58
58
  {{ data.location }}
@@ -143,7 +143,7 @@
143
143
  </template>
144
144
  </div>
145
145
  <!-- DSN Widget -->
146
- <DsnWidget />
146
+ <FetchDsnWidget />
147
147
  <!-- asteroid watch -->
148
148
  <div
149
149
  v-if="asteroidWatch"
@@ -3,6 +3,9 @@ import updateLocale from 'dayjs/plugin/updateLocale.js'
3
3
  import localizedFormat from 'dayjs/plugin/localizedFormat.js'
4
4
  import timezone from 'dayjs/plugin/timezone.js'
5
5
  import advancedFormat from 'dayjs/plugin/advancedFormat.js'
6
+ // for BaseTimer
7
+ import duration from 'dayjs/plugin/duration.js'
8
+ import minMax from 'dayjs/plugin/minMax.js'
6
9
 
7
10
  // Locales must be imported manually
8
11
  // see https://github.com/iamkun/dayjs/tree/dev/src/locale
@@ -28,5 +31,8 @@ dayjs.updateLocale('en', {
28
31
  })
29
32
  dayjs.extend(timezone)
30
33
  dayjs.extend(advancedFormat)
34
+ // for BaseTimer
35
+ dayjs.extend(duration)
36
+ dayjs.extend(minMax)
31
37
 
32
38
  export default dayjs