@citizenplane/pimp 18.9.8 → 18.9.10
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 +3 -2
- package/dist/components/CpDynamicDialog.vue.d.ts.map +1 -1
- package/dist/components/CpMenu.vue.d.ts.map +1 -1
- package/dist/components/CpTableFooter.vue.d.ts.map +1 -1
- package/dist/pimp.es.js +34822 -36247
- package/dist/pimp.umd.js +69 -81
- package/dist/resolver.js +11 -12
- package/dist/style.css +2 -1
- package/package.json +35 -43
- package/src/components/CpDynamicDialog.vue +6 -5
- package/src/components/CpMenu.vue +2 -1
- package/src/components/CpTableFooter.vue +1 -0
- package/src/types/vue-tel-input.d.ts +1 -0
- package/vite.config.js +1 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citizenplane/pimp",
|
|
3
|
-
"version": "18.9.
|
|
3
|
+
"version": "18.9.10",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "storybook dev -p 8081",
|
|
6
6
|
"build-storybook": "storybook build --output-dir ./docs",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"lint:style": "stylelint \"**/*.{css,scss,vue}\"",
|
|
11
11
|
"lint:style:fix": "stylelint \"**/*.{css,scss,vue}\" --fix",
|
|
12
12
|
"format": "biome format --write .",
|
|
13
|
-
"test": "jest tests",
|
|
14
13
|
"types": "vue-tsc --noEmit",
|
|
15
14
|
"commitlint": "commitlint --edit",
|
|
16
15
|
"prepare": "husky"
|
|
@@ -47,58 +46,51 @@
|
|
|
47
46
|
"unplugin-vue-components": ">=0.26.0"
|
|
48
47
|
},
|
|
49
48
|
"dependencies": {
|
|
50
|
-
"@douxcode/vue-spring-bottom-sheet": "
|
|
51
|
-
"@vueuse/core": "
|
|
52
|
-
"feather-icons": "
|
|
53
|
-
"floating-vue": "
|
|
54
|
-
"luxon": "
|
|
55
|
-
"maska": "
|
|
56
|
-
"modern-normalize": "
|
|
57
|
-
"primevue": "
|
|
58
|
-
"vue": "
|
|
59
|
-
"vue-bind-once": "
|
|
60
|
-
"vue-tel-input": "
|
|
61
|
-
"web-haptics": "
|
|
49
|
+
"@douxcode/vue-spring-bottom-sheet": "3.2.0",
|
|
50
|
+
"@vueuse/core": "14.3.0",
|
|
51
|
+
"feather-icons": "4.29.2",
|
|
52
|
+
"floating-vue": "5.2.2",
|
|
53
|
+
"luxon": "3.7.2",
|
|
54
|
+
"maska": "3.2.0",
|
|
55
|
+
"modern-normalize": "3.0.1",
|
|
56
|
+
"primevue": "4.5.5",
|
|
57
|
+
"vue": "3.5.39",
|
|
58
|
+
"vue-bind-once": "0.2.1",
|
|
59
|
+
"vue-tel-input": "9.5.0",
|
|
60
|
+
"web-haptics": "0.0.6"
|
|
62
61
|
},
|
|
63
62
|
"devDependencies": {
|
|
64
|
-
"@babel/core": "^7.29.7",
|
|
65
63
|
"@biomejs/biome": "2.5.1",
|
|
66
64
|
"@commitlint/cli": "21.1.0",
|
|
67
|
-
"@storybook/addon-docs": "
|
|
68
|
-
"@storybook/addon-onboarding": "
|
|
69
|
-
"@storybook/addon-vitest": "
|
|
70
|
-
"@storybook/preset-scss": "
|
|
71
|
-
"@storybook/vue3-vite": "
|
|
72
|
-
"@types/feather-icons": "
|
|
73
|
-
"@types/vue-tel-input": "
|
|
74
|
-
"@vitejs/plugin-vue": "
|
|
75
|
-
"@vitest/browser": "
|
|
76
|
-
"@vitest/coverage-v8": "
|
|
77
|
-
"@vue/
|
|
78
|
-
"@vue/test-utils": "^2.4.11",
|
|
79
|
-
"@vue/vue3-jest": "^29.2.6",
|
|
80
|
-
"babel-core": "^7.0.0-bridge.0",
|
|
65
|
+
"@storybook/addon-docs": "10.4.6",
|
|
66
|
+
"@storybook/addon-onboarding": "10.4.6",
|
|
67
|
+
"@storybook/addon-vitest": "10.4.6",
|
|
68
|
+
"@storybook/preset-scss": "1.0.3",
|
|
69
|
+
"@storybook/vue3-vite": "10.4.6",
|
|
70
|
+
"@types/feather-icons": "4.29.4",
|
|
71
|
+
"@types/vue-tel-input": "9.7.91",
|
|
72
|
+
"@vitejs/plugin-vue": "6.0.7",
|
|
73
|
+
"@vitest/browser": "4.1.9",
|
|
74
|
+
"@vitest/coverage-v8": "4.1.9",
|
|
75
|
+
"@vue/test-utils": "2.4.11",
|
|
81
76
|
"commitlint-config-gitmoji": "2.3.1",
|
|
82
|
-
"husky": "
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"storybook": "^10.4.6",
|
|
90
|
-
"stylelint": "17.13.0",
|
|
77
|
+
"husky": "9.1.7",
|
|
78
|
+
"lint-staged": "17.0.8",
|
|
79
|
+
"playwright": "1.61.0",
|
|
80
|
+
"sass": "1.101.0",
|
|
81
|
+
"sass-loader": "17.0.0",
|
|
82
|
+
"storybook": "10.4.6",
|
|
83
|
+
"stylelint": "17.14.0",
|
|
91
84
|
"stylelint-config-html": "1.1.0",
|
|
92
85
|
"stylelint-config-idiomatic-order": "10.0.0",
|
|
93
86
|
"stylelint-config-recommended-scss": " 17.0.1",
|
|
94
87
|
"stylelint-config-recommended-vue": "1.6.1",
|
|
95
88
|
"stylelint-config-standard-scss": "17.0.0",
|
|
96
89
|
"stylelint-order": "8.1.1",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"vite": "
|
|
100
|
-
"
|
|
101
|
-
"vitest": "^4.1.9",
|
|
90
|
+
"unplugin-vue-components": "32.1.0",
|
|
91
|
+
"vite": "8.1.0",
|
|
92
|
+
"vite-plugin-dts": "5.0.2",
|
|
93
|
+
"vitest": "4.1.9",
|
|
102
94
|
"vue-tsc": "3.3.5"
|
|
103
95
|
},
|
|
104
96
|
"engines": {
|
|
@@ -30,10 +30,15 @@
|
|
|
30
30
|
</template>
|
|
31
31
|
|
|
32
32
|
<script setup lang="ts">
|
|
33
|
-
import { computed, nextTick,
|
|
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
|
|
@@ -188,7 +188,7 @@ defineExpose({ show, hide, toggle })
|
|
|
188
188
|
|
|
189
189
|
&__drawerOverlay {
|
|
190
190
|
position: fixed;
|
|
191
|
-
z-index:
|
|
191
|
+
z-index: 100;
|
|
192
192
|
display: flex;
|
|
193
193
|
align-items: flex-end;
|
|
194
194
|
justify-content: center;
|
|
@@ -205,6 +205,7 @@ defineExpose({ show, hide, toggle })
|
|
|
205
205
|
|
|
206
206
|
&__drawer {
|
|
207
207
|
position: relative;
|
|
208
|
+
z-index: 101;
|
|
208
209
|
display: flex;
|
|
209
210
|
width: 100%;
|
|
210
211
|
max-height: 85vh;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'vue-tel-input'
|
package/vite.config.js
CHANGED
|
@@ -46,11 +46,7 @@ export default defineConfig({
|
|
|
46
46
|
// into your library
|
|
47
47
|
external: ['vue'],
|
|
48
48
|
output: {
|
|
49
|
-
|
|
50
|
-
// A sibling chunk can declare top-level `var h` while the main entry imports
|
|
51
|
-
// `openBlock as h` from Vue; some downstream bundlers merge those scopes and
|
|
52
|
-
// hit "Identifier 'h' has already been declared".
|
|
53
|
-
inlineDynamicImports: true,
|
|
49
|
+
codeSplitting: false,
|
|
54
50
|
// Provide global variables to use in the UMD build
|
|
55
51
|
// for externalized deps
|
|
56
52
|
globals: {
|