Skip to content

Commit b8830e4

Browse files
author
Robin Métral
committed
Add licence and update description
1 parent 095b48c commit b8830e4

File tree

5 files changed

+28
-6
lines changed

5 files changed

+28
-6
lines changed

LICENCE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Robin Métral
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# svelte-micromodal
22

3-
`svelte-micromodal` is a [Svelte](https://github.com/sveltejs/svelte) wrapper around [Micromodal](https://github.com/Ghosh/micromodal), a JavaScript library for creating accessible modal dialogs.
3+
`svelte-micromodal` is a [Svelte](https://github.com/sveltejs/svelte) wrapper around [Micromodal](https://github.com/Ghosh/micromodal) to create light, accessible modal dialogs.
44

55
👉 [Docs](https://svelte-micromodal.pages.dev)

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "svelte-micromodal",
3+
"description": "Svelte wrapper around Micromodal to create light, accessible modal dialogs",
34
"version": "0.0.5",
45
"scripts": {
56
"dev": "svelte-kit dev",

src/routes/index.svelte

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@
5959

6060
<svelte:head>
6161
<title>
62-
svelte-micromodal — a Svelte micromodal wrapper for creating light,
63-
accessible dialogs
62+
svelte-micromodal — a Svelte wrapper around Micromodal to create light,
63+
accessible modal dialogs.
6464
</title>
6565
</svelte:head>
6666

6767
<main>
6868
<h1>svelte-micromodal</h1>
6969
<p>
70-
<code>svelte-micromodal</code> is a simple
70+
<code>svelte-micromodal</code> is a
7171
<a
7272
href="https://github.com/sveltejs/svelte"
7373
title="Svelte repository on GitHub">Svelte</a
@@ -76,7 +76,7 @@
7676
<a
7777
href="https://github.com/Ghosh/micromodal"
7878
title="Micromodal repository on GitHub">Micromodal</a
79-
>, a small JavaScript library for creating accessible modal dialogs.
79+
> to create light, accessible modal dialogs.
8080
</p>
8181
<p>Here's a basic example:</p>
8282
<Basic />

svelte.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const config = {
1414
// hydrate the <div id="svelte"> element in src/app.html
1515
target: "#svelte",
1616

17-
// alias `svelte-micromodal` to `lib` to make the example clearer
17+
// alias `svelte-micromodal` to `lib` to make the examples clearer
1818
vite: {
1919
resolve: {
2020
alias: {

0 commit comments

Comments
 (0)