@saasmakers/ui 1.3.6 → 1.3.7
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.
|
@@ -113,6 +113,10 @@ function onFieldKeyDown(event: KeyboardEvent) {
|
|
|
113
113
|
return event.preventDefault()
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
else if (props.slugOnly && event.key === ' ' && !event.isComposing) {
|
|
117
|
+
return event.preventDefault()
|
|
118
|
+
}
|
|
119
|
+
|
|
116
120
|
emit('keyup', event, value)
|
|
117
121
|
}
|
|
118
122
|
|
|
@@ -112,7 +112,9 @@ function ruleIsInvalid(rule: unknown) {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
if (typeof rule === 'object' && '$invalid' in rule) {
|
|
115
|
-
return (rule as {
|
|
115
|
+
return (rule as {
|
|
116
|
+
$invalid: boolean
|
|
117
|
+
}).$invalid === true
|
|
116
118
|
}
|
|
117
119
|
|
|
118
120
|
return false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasmakers/ui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Reusable Nuxt UI components for SaaS Makers projects",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,50 +17,51 @@
|
|
|
17
17
|
"public",
|
|
18
18
|
"uno.config.ts"
|
|
19
19
|
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "storybook dev -p 3104 --no-open",
|
|
22
|
+
"lint": "eslint . --max-warnings=0",
|
|
23
|
+
"prepare": "nuxi prepare",
|
|
24
|
+
"typecheck": "nuxi typecheck"
|
|
25
|
+
},
|
|
20
26
|
"dependencies": {
|
|
21
|
-
"@capacitor/preferences": "
|
|
22
|
-
"@nuxt/icon": "
|
|
23
|
-
"@nuxt/scripts": "
|
|
24
|
-
"@nuxtjs/color-mode": "
|
|
25
|
-
"@nuxtjs/i18n": "
|
|
26
|
-
"@nuxtjs/plausible": "
|
|
27
|
-
"@nuxtjs/robots": "
|
|
28
|
-
"@nuxtjs/sitemap": "
|
|
29
|
-
"@nuxtjs/storybook": "
|
|
30
|
-
"@pinia/nuxt": "
|
|
31
|
-
"@unhead/vue": "
|
|
32
|
-
"@unocss/nuxt": "
|
|
33
|
-
"@unocss/reset": "
|
|
34
|
-
"@vuelidate/core": "
|
|
35
|
-
"@vuelidate/validators": "
|
|
36
|
-
"@vueuse/components": "
|
|
37
|
-
"@vueuse/core": "
|
|
38
|
-
"@vueuse/nuxt": "
|
|
39
|
-
"chartist": "
|
|
40
|
-
"floating-vue": "
|
|
41
|
-
"motion-v": "
|
|
42
|
-
"numbro": "
|
|
43
|
-
"snarkdown": "
|
|
44
|
-
"storybook": "
|
|
45
|
-
"unocss": "
|
|
46
|
-
"vue": "
|
|
47
|
-
"vue-router": "
|
|
27
|
+
"@capacitor/preferences": "catalog:",
|
|
28
|
+
"@nuxt/icon": "catalog:",
|
|
29
|
+
"@nuxt/scripts": "catalog:",
|
|
30
|
+
"@nuxtjs/color-mode": "catalog:",
|
|
31
|
+
"@nuxtjs/i18n": "catalog:",
|
|
32
|
+
"@nuxtjs/plausible": "catalog:",
|
|
33
|
+
"@nuxtjs/robots": "catalog:",
|
|
34
|
+
"@nuxtjs/sitemap": "catalog:",
|
|
35
|
+
"@nuxtjs/storybook": "catalog:",
|
|
36
|
+
"@pinia/nuxt": "catalog:",
|
|
37
|
+
"@unhead/vue": "catalog:",
|
|
38
|
+
"@unocss/nuxt": "catalog:",
|
|
39
|
+
"@unocss/reset": "catalog:",
|
|
40
|
+
"@vuelidate/core": "catalog:",
|
|
41
|
+
"@vuelidate/validators": "catalog:",
|
|
42
|
+
"@vueuse/components": "catalog:",
|
|
43
|
+
"@vueuse/core": "catalog:",
|
|
44
|
+
"@vueuse/nuxt": "catalog:",
|
|
45
|
+
"chartist": "catalog:",
|
|
46
|
+
"floating-vue": "catalog:",
|
|
47
|
+
"motion-v": "catalog:",
|
|
48
|
+
"numbro": "catalog:",
|
|
49
|
+
"snarkdown": "catalog:",
|
|
50
|
+
"storybook": "catalog:",
|
|
51
|
+
"unocss": "catalog:",
|
|
52
|
+
"vue": "catalog:",
|
|
53
|
+
"vue-router": "catalog:"
|
|
48
54
|
},
|
|
49
55
|
"devDependencies": {
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
56
|
+
"@saasmakers/shared": "workspace:*",
|
|
57
|
+
"nuxt": "catalog:",
|
|
58
|
+
"typescript": "catalog:"
|
|
53
59
|
},
|
|
54
60
|
"peerDependencies": {
|
|
55
61
|
"@saasmakers/shared": "^0.2.0",
|
|
56
|
-
"nuxt": "
|
|
62
|
+
"nuxt": "catalog:"
|
|
57
63
|
},
|
|
58
64
|
"publishConfig": {
|
|
59
65
|
"access": "public"
|
|
60
|
-
},
|
|
61
|
-
"scripts": {
|
|
62
|
-
"dev": "storybook dev -p 3104 --no-open",
|
|
63
|
-
"lint": "eslint . --max-warnings=0",
|
|
64
|
-
"typecheck": "nuxi typecheck"
|
|
65
66
|
}
|
|
66
|
-
}
|
|
67
|
+
}
|