@citizenplane/pimp 18.9.7 → 18.9.9

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": "@citizenplane/pimp",
3
- "version": "18.9.7",
3
+ "version": "18.9.9",
4
4
  "scripts": {
5
5
  "dev": "storybook dev -p 8081",
6
6
  "build-storybook": "storybook build --output-dir ./docs",
@@ -55,9 +55,9 @@
55
55
  "maska": "^3.2.0",
56
56
  "modern-normalize": "^3.0.1",
57
57
  "primevue": "^4.5.5",
58
- "vue": "^3.5.38",
58
+ "vue": "^3.5.39",
59
59
  "vue-bind-once": "^0.2.1",
60
- "vue-tel-input": "^9.8.0",
60
+ "vue-tel-input": "^9.5.0",
61
61
  "web-haptics": "^0.0.6"
62
62
  },
63
63
  "devDependencies": {
@@ -30,10 +30,15 @@
30
30
  </template>
31
31
 
32
32
  <script setup lang="ts">
33
- import { computed, nextTick, resolveComponent, useTemplateRef, watch } from 'vue'
33
+ import { computed, nextTick, useTemplateRef, watch } from 'vue'
34
34
 
35
35
  import { useIsBreakpoint } from '@/composables/useIsBreakpoint'
36
36
 
37
+ import CpBottomSheet from '@/components/CpBottomSheet.vue'
38
+ import CpDialog from '@/components/CpDialog.vue'
39
+ import CpTransitionDialog from '@/components/CpTransitionDialog.vue'
40
+
41
+
37
42
  interface Props {
38
43
  class?: string
39
44
  isClosableOnClickOutside?: boolean
@@ -53,10 +58,6 @@ const dynamicComponentRef = useTemplateRef('dynamicComponentRef')
53
58
 
54
59
  const isVisibleModel = defineModel<boolean>('isVisible', { default: false })
55
60
 
56
- const CpTransitionDialog = resolveComponent('cp-transition-dialog')
57
- const CpBottomSheet = resolveComponent('cp-bottom-sheet')
58
- const CpDialog = resolveComponent('cp-dialog')
59
-
60
61
  const dynamicWrapperComponent = computed(() => {
61
62
  if (isMobile.value) return 'div'
62
63
  return CpTransitionDialog