mirror of
https://github.com/tenrok/maska.git
synced 2026-05-15 11:59:38 +03:00
chore: remove beta
This commit is contained in:
@@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
# Maska
|
# Maska
|
||||||
|
|
||||||
Maska v3 is currently in beta. If you encounter any issues, please [report them](https://github.com/beholdr/maska/issues).
|
|
||||||
|
|
||||||
## Support ☕️
|
## Support ☕️
|
||||||
|
|
||||||
> ❤️ [Please support](https://boosty.to/beholdr) Maska development!
|
> ❤️ [Please support](https://boosty.to/beholdr) Maska development!
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
!> Maska v3 is currently in beta. If you encounter any issues, please [report them](https://github.com/beholdr/maska/issues).
|
|
||||||
|
|
||||||
**Maska** is a simple zero-dependency input mask library.
|
**Maska** is a simple zero-dependency input mask library.
|
||||||
|
|
||||||
You can use it with vanilla javascript or with your favorite framework. Out of the box there is integration with Vue 2/3, Svelte and Alpine.js, but you can integrate it into any framework.
|
You can use it with vanilla javascript or with your favorite framework. Out of the box there is integration with Vue 2/3, Svelte and Alpine.js, but you can integrate it into any framework.
|
||||||
|
|||||||
+6
-6
@@ -70,7 +70,7 @@ You can use Maska directly from CDN with a simple script tag as UMD-build.
|
|||||||
Library API will be exposed on the global `Maska` object:
|
Library API will be exposed on the global `Maska` object:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/maska@3.0.0-beta5/dist/cdn/maska.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/maska@3/dist/cdn/maska.js"></script>
|
||||||
<script>
|
<script>
|
||||||
const { Mask, MaskInput } = Maska
|
const { Mask, MaskInput } = Maska
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ Include Maska from CDN, just make sure to include it **before** Alpine's core JS
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- Maska Plugin -->
|
<!-- Maska Plugin -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/maska@3.0.0-beta5/dist/cdn/alpine.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/maska@3/dist/cdn/alpine.js"></script>
|
||||||
<!-- Alpine Core -->
|
<!-- Alpine Core -->
|
||||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||||
```
|
```
|
||||||
@@ -96,7 +96,7 @@ This will automatically register Maska plugin inside Alpine.
|
|||||||
You can use Maska directly from CDN and register directive:
|
You can use Maska directly from CDN and register directive:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/maska@3.0.0-beta5/dist/cdn/vue.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/maska@3/dist/cdn/vue.js"></script>
|
||||||
<script>
|
<script>
|
||||||
const { vMaska } = Maska
|
const { vMaska } = Maska
|
||||||
|
|
||||||
@@ -117,7 +117,7 @@ For modern browsers you can use ES modules build with (optional) [import maps](h
|
|||||||
<script type="importmap">
|
<script type="importmap">
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
"maska": "https://cdn.jsdelivr.net/npm/maska@3.0.0-beta5/dist/maska.mjs"
|
"maska": "https://cdn.jsdelivr.net/npm/maska@3/dist/maska.mjs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -135,7 +135,7 @@ For modern browsers you can use ES modules build with (optional) [import maps](h
|
|||||||
<script type="importmap">
|
<script type="importmap">
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
"maska/alpine": "https://cdn.jsdelivr.net/npm/maska@3.0.0-beta5/dist/alpine.mjs"
|
"maska/alpine": "https://cdn.jsdelivr.net/npm/maska@3/dist/alpine.mjs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -153,7 +153,7 @@ For modern browsers you can use ES modules build with (optional) [import maps](h
|
|||||||
<script type="importmap">
|
<script type="importmap">
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
"maska/vue": "https://cdn.jsdelivr.net/npm/maska@3.0.0-beta5/dist/vue.mjs"
|
"maska/vue": "https://cdn.jsdelivr.net/npm/maska@3/dist/vue.mjs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Generated
+259
-498
File diff suppressed because it is too large
Load Diff
+12
-6
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "maska",
|
"name": "maska",
|
||||||
"description": "Simple zero-dependency input mask for Vanilla JS, Vue, Alpine.js and Svelte",
|
"description": "Simple zero-dependency input mask for Vanilla JS, Vue, Alpine.js and Svelte",
|
||||||
"version": "3.0.0-beta5",
|
"version": "3.0.0",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"mask",
|
"mask",
|
||||||
"inputmask",
|
"inputmask",
|
||||||
@@ -25,9 +25,15 @@
|
|||||||
"types": "./dist/maska.d.ts",
|
"types": "./dist/maska.d.ts",
|
||||||
"typesVersions": {
|
"typesVersions": {
|
||||||
"*": {
|
"*": {
|
||||||
"alpine": ["./dist/alpine.d.ts"],
|
"alpine": [
|
||||||
"svelte": ["./dist/svelte.d.ts"],
|
"./dist/alpine.d.ts"
|
||||||
"vue": ["./dist/vue.d.ts"]
|
],
|
||||||
|
"svelte": [
|
||||||
|
"./dist/svelte.d.ts"
|
||||||
|
],
|
||||||
|
"vue": [
|
||||||
|
"./dist/vue.d.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
@@ -75,7 +81,7 @@
|
|||||||
"@types/alpinejs": "^3.13.10",
|
"@types/alpinejs": "^3.13.10",
|
||||||
"@types/node": "^20.13.0",
|
"@types/node": "^20.13.0",
|
||||||
"@vitejs/plugin-vue": "^5.0.5",
|
"@vitejs/plugin-vue": "^5.0.5",
|
||||||
"@vitest/coverage-v8": "^1.6.0",
|
"@vitest/coverage-v8": "^2.0.2",
|
||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "^2.4.6",
|
||||||
"alpinejs": "^3.14.0",
|
"alpinejs": "^3.14.0",
|
||||||
"happy-dom": "^14.12.0",
|
"happy-dom": "^14.12.0",
|
||||||
@@ -85,7 +91,7 @@
|
|||||||
"vite": "^5.2.12",
|
"vite": "^5.2.12",
|
||||||
"vite-plugin-banner": "^0.7.1",
|
"vite-plugin-banner": "^0.7.1",
|
||||||
"vite-plugin-dts": "^3.9.1",
|
"vite-plugin-dts": "^3.9.1",
|
||||||
"vitest": "^1.6.0",
|
"vitest": "^2.0.2",
|
||||||
"vue": "^3.4.27"
|
"vue": "^3.4.27"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user