@corvina/web-components-library 0.2.0 → 0.2.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 +5 -0
- package/index.d.ts +9 -12
- package/package.json +4 -1
- package/web-components-library.cjs.js +37 -28
- package/web-components-library.es.js +8330 -8013
- package/web-components-library.umd.js +39 -27
package/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Corvina Components Library
|
|
2
2
|
This library is a collection of web components aimed to be used in the Corvina App.
|
|
3
3
|
|
|
4
|
+
# Documentation
|
|
5
|
+
|
|
6
|
+
The components documentation and live examples are available in the [Storybook for web components](https://docs.components.corvina.cloud/).
|
|
7
|
+
The Vue components version is available [here](https://docs.components.corvina.cloud/vue/).
|
|
8
|
+
|
|
4
9
|
# Installation
|
|
5
10
|
|
|
6
11
|
To install the package run the following command:
|
package/index.d.ts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
2
|
|
|
3
3
|
export declare namespace CORVINA {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type
|
|
7
|
-
|
|
8
|
-
export type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
|
|
9
|
-
export enum TOOLTIP_LOCATION {
|
|
4
|
+
type AnchorBlock = 'top' | 'bottom';
|
|
5
|
+
type AnchorInline = 'start' | 'end' | 'left' | 'right';
|
|
6
|
+
type Anchor = AnchorBlock | AnchorInline | 'center' | 'center center' | `${AnchorBlock} ${AnchorInline | 'center'}` | `${AnchorInline} ${AnchorBlock | 'center'}`;
|
|
7
|
+
enum TOOLTIP_LOCATION {
|
|
10
8
|
START = "start",
|
|
11
9
|
END = "end",
|
|
12
10
|
TOP = "top",
|
|
13
11
|
BOTTOM = "bottom"
|
|
14
12
|
}
|
|
15
|
-
|
|
13
|
+
enum COLOR {
|
|
16
14
|
WT = "wt",
|
|
17
15
|
G1 = "g1",
|
|
18
16
|
G2 = "g2",
|
|
@@ -28,7 +26,7 @@ export declare namespace CORVINA {
|
|
|
28
26
|
WARNING_MILD = "warning-mild",
|
|
29
27
|
GOOD = "good"
|
|
30
28
|
}
|
|
31
|
-
|
|
29
|
+
namespace BREADCRUMB {
|
|
32
30
|
enum ACTIVE_CONTROL {
|
|
33
31
|
/** The breadcrumb show a free search */
|
|
34
32
|
SEARCH = "search",
|
|
@@ -85,7 +83,7 @@ export declare namespace CORVINA {
|
|
|
85
83
|
position?: CUSTOM_COMPONENT_POSITION;
|
|
86
84
|
}
|
|
87
85
|
}
|
|
88
|
-
|
|
86
|
+
namespace BUTTON {
|
|
89
87
|
enum VARIANT {
|
|
90
88
|
FREE = "FREE",
|
|
91
89
|
LED = "LED",
|
|
@@ -93,7 +91,7 @@ export declare namespace CORVINA {
|
|
|
93
91
|
OUTLINED = "OUTLINED"
|
|
94
92
|
}
|
|
95
93
|
}
|
|
96
|
-
|
|
94
|
+
namespace ICON {
|
|
97
95
|
enum SIZE {
|
|
98
96
|
X_SMALL = "x-small",
|
|
99
97
|
SMALL = "small",
|
|
@@ -102,7 +100,7 @@ export declare namespace CORVINA {
|
|
|
102
100
|
X_LARGE = "x-large"
|
|
103
101
|
}
|
|
104
102
|
}
|
|
105
|
-
|
|
103
|
+
namespace TABLE {
|
|
106
104
|
/** Horizontal alignment of a column (applied as `text-*` and `justify-*` classes) */
|
|
107
105
|
enum ALIGN {
|
|
108
106
|
START = "start",
|
|
@@ -249,5 +247,4 @@ export declare namespace CORVINA {
|
|
|
249
247
|
}
|
|
250
248
|
type TableHeaderEntries = TableHeaderEntry[];
|
|
251
249
|
}
|
|
252
|
-
export {};
|
|
253
250
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corvina/web-components-library",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"private": false,
|
|
5
|
+
"description": "Corvina web components (custom elements)",
|
|
6
|
+
"homepage": "https://docs.components.corvina.cloud/",
|
|
7
|
+
"keywords": ["corvina", "web-components", "custom-elements", "vuetify"],
|
|
5
8
|
"main": "web-components-library.umd.js",
|
|
6
9
|
"module": "web-components-library.es.js",
|
|
7
10
|
"types": "web-components-library.es.d.ts",
|