@corvina/web-components-library 0.1.0 → 0.1.2

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 CHANGED
@@ -1,24 +1,21 @@
1
1
  # Corvina Components Library
2
- Alpha version of the Corvina Components Library. This library is a collection of web components aimed to be used in the Corvina App.
3
-
4
- Currently, the library includes the following components:
5
- - corvina-button
6
- - corvina-table
2
+ This library is a collection of web components aimed to be used in the Corvina App.
7
3
 
8
4
  # Installation
9
5
 
10
6
  To install the package run the following command:
11
7
 
12
8
  ```bash
13
- npm install @corvina/components-library
9
+ npm install @corvina/web-components-library
14
10
  ```
15
11
 
16
12
  # Usage
17
13
 
18
14
  Add the following code to your main.js file:
19
15
 
20
- ```code
21
- import CorvinaComponents from "@corvina/components-library";
16
+ ```js
17
+ import CorvinaComponents from "@corvina/web-components-library";
18
+ import "@corvina/web-components-library/web-components-library.css"
22
19
  // 3 parameters: locale: string = 'en', shouldLoadTheme: boolean = false, shouldLoadFonts: boolean = false) {
23
20
  CorvinaComponents.initCorvinaComponents('en')
24
21
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corvina/web-components-library",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "main": "web-components-library.umd.js",
6
6
  "module": "web-components-library.es.js",