@corvina/web-components-library 0.1.1 → 0.1.4

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,27 +1,24 @@
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
  ```
25
- and add reference to css and font to your code.
26
- If you use Vuetify in the hosting app set shouldLoadTheme to false otherwise to true.
27
- If you already load the fonts in the hosting app (Roboto, MaterialSymbols) set shouldLoadFonts to false otherwise to true.
22
+ and add reference to css and font to your code.
23
+ If you use Vuetify in the hosting app set shouldLoadTheme to false otherwise to true.
24
+ If you already load the fonts in the hosting app (Roboto, MaterialSymbols) set shouldLoadFonts to false otherwise to true.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corvina/web-components-library",
3
- "version": "0.1.1",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "main": "web-components-library.umd.js",
6
6
  "module": "web-components-library.es.js",
@@ -67,6 +67,11 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
67
67
  required: false;
68
68
  default: () => number;
69
69
  };
70
+ fixedHeader: {
71
+ type: __PropType<boolean>;
72
+ required: false;
73
+ default: () => boolean;
74
+ };
70
75
  showSearchBar: {
71
76
  type: __PropType<boolean>;
72
77
  required: false;
@@ -184,6 +189,11 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
184
189
  required: false;
185
190
  default: () => number;
186
191
  };
192
+ fixedHeader: {
193
+ type: __PropType<boolean>;
194
+ required: false;
195
+ default: () => boolean;
196
+ };
187
197
  showSearchBar: {
188
198
  type: __PropType<boolean>;
189
199
  required: false;
@@ -269,5 +279,6 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
269
279
  sortBy: string;
270
280
  isExpandable: boolean;
271
281
  expandedRowIndex: number;
282
+ fixedHeader: boolean;
272
283
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
273
284
  export default _sfc_main;