@proximus/lavender-patch 1.0.0-alpha.35 → 1.0.0-alpha.37
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/dist/Patch.d.ts +19 -0
- package/dist/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/Patch.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const patchVariantValues: string[];
|
|
2
|
+
export declare const patchShapeValues: string[];
|
|
3
|
+
export declare class Patch extends HTMLElement {
|
|
4
|
+
private template;
|
|
5
|
+
constructor();
|
|
6
|
+
static get observedAttributes(): string[];
|
|
7
|
+
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
8
|
+
_toggleClass(oldValue: string, newValue: string): void;
|
|
9
|
+
checkName(values: string[], value: string): boolean;
|
|
10
|
+
updateVariant(oldValue: string, newValue: string): void;
|
|
11
|
+
updateShape(oldValue: string, newValue: string): void;
|
|
12
|
+
get $el(): Element;
|
|
13
|
+
get variant(): string;
|
|
14
|
+
set variant(value: string);
|
|
15
|
+
get shape(): string;
|
|
16
|
+
set shape(value: string);
|
|
17
|
+
get inverted(): string;
|
|
18
|
+
set inverted(value: string);
|
|
19
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Patch';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proximus/lavender-patch",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.37",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"files": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"transform-package-json": "node ../../../scripts/tranformPackageJson.js package.json dist/far/away",
|
|
12
12
|
"clean": "rm -rf dist",
|
|
13
|
-
"build": "npm run clean &&
|
|
13
|
+
"build": "npm run clean && NODE_ENV=development vite build && tsc && npm run transform-package-json",
|
|
14
14
|
"test": "vitest run --coverage"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|