Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2
{ | ||
"name": "mds-input", | ||
"private": false, | ||
"version": "0.0.1-alpha.1", | ||
"version": "0.0.1-alpha.2", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "dist/mds-input.js", |
@@ -1,3 +0,50 @@ | ||
# Test mds-input with Lit | ||
# `mds-input` - Lit version | ||
## Install | ||
Install the component via `npm` | ||
``` | ||
npm install mds-input | ||
``` | ||
Or use `yarn` | ||
``` | ||
yarn add mds-input | ||
``` | ||
## Use in JavaScript | ||
Import the component in your project | ||
```html | ||
<script type="module"> | ||
import 'mds-input'; | ||
</script> | ||
``` | ||
His dependencies | ||
```html | ||
<script type="module"> | ||
import { defineCustomElements } from '@maggioli-design-system/mds-text/loader'; | ||
defineCustomElements(); | ||
</script> | ||
``` | ||
`Maggioli Design System` style in the `head` tag | ||
```html | ||
<link rel="stylesheet" href="./node_modules/@maggioli-design-system/styles/dist/css/colors-rgb.css"> | ||
``` | ||
The use it in your HTML | ||
```html | ||
<mds-input type="text" placeholder="Write something"></mds-input> | ||
``` | ||
--- | ||
Built with `lit` and `vite` |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
21170
51
0