@proximus/lavender-icon 2.0.0-alpha.2 → 2.0.0-alpha.200

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-icon",
3
- "version": "2.0.0-alpha.2",
3
+ "version": "2.0.0-alpha.200",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,14 +11,11 @@
11
11
  "scripts": {
12
12
  "clean": "rm -rf dist",
13
13
  "svgo": "svgo -rf ./assets/figma-output -o dist/svgs",
14
- "sprites": "npm run svgo && node ./scripts/svgsToSprites.js",
15
- "icomoonToGlyphmap": "node ./scripts/icomoon2glyphmap.js assets/icomoon-output/selection.json ./dist/glyphmap.json;",
16
- "icomoonToTSIconMap": "node ./scripts/icomoonToTSIconmap.js assets/icomoon-output/selection.json ./dist/lavenderIconmap.js;",
17
- "build": "npm run clean && vite build && npm run sprites && npm run icomoonToGlyphmap && npm run icomoonToTSIconMap && tsc && npm run transform-package-json && npm run wc-manifest && npm run ttf",
14
+ "sprites": "npm run svgo && node ../scripts/svgsToSprites.js",
15
+ "svgToTTF": "node ../scripts/svgToTTF.js dist/svgs ./dist lavender",
16
+ "build": "npm run clean && vite build && npm run sprites && npm run svgToTTF && npm run transform-package-json",
18
17
  "test": "vitest run --coverage",
19
- "ttf": "cp assets/icomoon-output/fonts/lavender.ttf dist",
20
- "transform-package-json": "node ../../../scripts/tranformPackageJson.js package.json dist/far/away",
21
- "wc-manifest": "cem analyze --globs \"src/*\" --config ../custom-elements-manifest.config.js --outdir dist"
18
+ "transform-package-json": "node ../../../../scripts/tranformPackageJson.js package.json dist/far/away"
22
19
  },
23
20
  "publishConfig": {
24
21
  "access": "public"
package/dist/Icon.d.ts DELETED
@@ -1,27 +0,0 @@
1
- import { WithExtraAttributes } from '@proximus/lavender-common';
2
- export declare const styleSheet: CSSStyleSheet;
3
- export declare const observedAttributes: string[];
4
- export declare class Icon extends WithExtraAttributes {
5
- #private;
6
- static get observedAttributes(): string[];
7
- constructor(...styleSheets: CSSStyleSheet[]);
8
- attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
9
- connectedCallback(): void;
10
- updateAttribute(attrName: string, oldValue: string, newValue: string, attrValues: readonly string[]): void;
11
- updateName(oldValue: string, newValue: string): void;
12
- get $el(): SVGElement;
13
- get name(): string;
14
- set name(value: string);
15
- get size(): string;
16
- set size(value: string);
17
- get color(): string;
18
- set color(value: string);
19
- get arialabel(): string;
20
- set arialabel(value: string);
21
- get inverted(): string;
22
- set inverted(value: string);
23
- get from(): string;
24
- set from(value: string);
25
- get disabled(): string;
26
- set disabled(value: string);
27
- }
package/dist/IconSet.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export declare class IconSet extends HTMLElement {
2
- constructor();
3
- static get observedAttributes(): string[];
4
- connectedCallback(): void;
5
- disconnectedCallback(): void;
6
- }
@@ -1,3 +0,0 @@
1
- export declare const iconColorValues: readonly ["Brand", "Accent", "Neutral", "Dimmed", "PurposeSuccess", "PurposeWarning", "PurposeError", "PurposeUnlimited", "PurposePromo", "StateHover", "StateActive", "StateDisabled"];
2
- export declare const iconColorValuesKC: string[];
3
- export type IconColor = (typeof iconColorValues)[number];
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './IconSet';
2
- export * from './Icon';
3
- export * from './attributeValues';