@proximus/lavender-separator 1.0.0-alpha.25 → 1.0.0-alpha.26

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.
@@ -0,0 +1,29 @@
1
+ import { PxElement } from '@proximus/lavender-common';
2
+ export declare const separatorDirectionValues: string[];
3
+ export declare const separatorSizeValues: string[];
4
+ export declare const separatorColorValues: string[];
5
+ export declare class Separator extends PxElement<HTMLHRElement> {
6
+ static nativeName: string;
7
+ constructor();
8
+ static get observedAttributes(): string[];
9
+ attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
10
+ updateSize(attrName: string, oldValue: string, newValue: string, attrValue: string[]): void;
11
+ updateColor(attrName: string, oldValue: string, newValue: string, attrValue: string[]): void;
12
+ updateDirection(attrName: string, oldValue: string, newValue: string, attrValue: string[]): void;
13
+ get direction(): string;
14
+ set direction(value: string);
15
+ get directionMobile(): string;
16
+ set directionMobile(value: string);
17
+ get directionTablet(): string;
18
+ set directionTablet(value: string);
19
+ get directionLaptop(): string;
20
+ set directionLaptop(value: string);
21
+ get directionDesktop(): string;
22
+ set directionDesktop(value: string);
23
+ get size(): string;
24
+ set size(value: string);
25
+ get color(): string;
26
+ set color(value: string);
27
+ get inverted(): string;
28
+ set inverted(value: string);
29
+ }
@@ -0,0 +1 @@
1
+ export * from './Separator';
package/dist/index.es.js CHANGED
@@ -63,9 +63,6 @@ const b = [
63
63
  break;
64
64
  }
65
65
  }
66
- checkName(t, r) {
67
- return t.includes(r);
68
- }
69
66
  updateSize(t, r, e, a) {
70
67
  const o = (i) => {
71
68
  i !== null && i !== "" && i !== "default" && this.$el.style.setProperty(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-separator",
3
- "version": "1.0.0-alpha.25",
3
+ "version": "1.0.0-alpha.26",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "files": [
@@ -10,11 +10,14 @@
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 && tsc && NODE_ENV=development vite build && npm run transform-package-json",
14
- "test": "vitest run --coverage"
13
+ "build": "npm run clean && NODE_ENV=development vite build && tsc && npm run transform-package-json && npm run wc-manifest",
14
+ "test": "vitest run --coverage",
15
+ "wc-manifest": "cem analyze --globs \"src/*\" --config ../custom-elements-manifest.config.js --outdir dist"
15
16
  },
16
17
  "publishConfig": {
17
18
  "access": "public"
18
19
  },
20
+ "customElements": "dist/custom-elements.json",
21
+ "web-types": "./dist/web-types.json",
19
22
  "gitHead": "460ebd4c7e0171baabc0871a7058f475b5c9adbb"
20
23
  }