wj-elements 0.1.89 → 0.1.90

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.
Files changed (2) hide show
  1. package/dist/wje-icon.js +1 -1
  2. package/package.json +1 -1
package/dist/wje-icon.js CHANGED
@@ -110,7 +110,7 @@ const getName = (iconName) => {
110
110
  };
111
111
  const getNamedUrl = (iconName, filled = false) => {
112
112
  const path = `${filled ? "filled" : "outline"}/${iconName}.svg`;
113
- let url = new URL("http://localhost:5174/dist/assets/img/icons/" + path);
113
+ let url = new URL(process.env.VITE_ICON_ASSETS_URL + path);
114
114
  return url.href;
115
115
  };
116
116
  const styles = '/*\n[ WJ Icon ]\n*/\n\n:host {\n width: var(--wje-icon-size);\n height: var(--wje-icon-size);\n display: block;\n}\n\n.native-icon {\n display: flex;\n align-items: center;\n}\n\nsvg {\n width: 100%;\n height: 100%;\n stroke-width: var(--wje-icon-stroke);\n color: var(--wje-icon-color);\n}\n\n/*STROKE*/\n:host([stroke="1"]) {\n --wje-icon-stroke: 1;\n}\n\n:host([stroke="1.25"]) {\n --wje-icon-stroke: 1.25;\n}\n\n:host([stroke="1.5"]) {\n --wje-icon-stroke: 1.5;\n}\n\n:host([stroke="1.75"]) {\n --wje-icon-stroke: 1.75;\n}\n\n:host([stroke="2"]) {\n --wje-icon-stroke: 2;\n}\n\n/*SIZE*/\n:host([size="2x-small"]) {\n --wje-icon-size: var(--wje-size-2x-small);\n}\n\n:host([size="x-small"]) {\n --wje-icon-size: var(--wje-size-x-small);\n}\n\n:host([size="small"]) {\n --wje-icon-size: var(--wje-size-small);\n}\n\n:host([size="medium"]) {\n --wje-icon-size: var(--wje-size-medium);\n}\n\n:host([size="large"]) {\n --wje-icon-size: var(--wje-size-large);\n}\n\n:host([size="x-large"]) {\n --wje-icon-size: var(--wje-size-x-large);\n}\n\n:host([size="2x-large"]) {\n --wje-icon-size: var(--wje-size-2x-large);\n}\n\n:host([size="3x-large"]) {\n --wje-icon-size: var(--wje-size-3x-large);\n}\n\n:host([size="4x-large"]) {\n --wje-icon-size: var(--wje-size-4x-large);\n}\n\n/*COLOR*/\n:host([color="primary"]) .native-icon {\n color: var(--wje-color-primary-9);\n}\n\n:host([color="complete"]) .native-icon {\n color: var(--wje-color-complete-9);\n}\n\n:host([color="success"]) .native-icon {\n color: var(--wje-color-success-9);\n}\n\n:host([color="warning"]) .native-icon {\n color: var(--wje-color-warning-9);\n}\n\n:host([color="danger"]) .native-icon {\n color: var(--wje-color-danger-9);\n}\n\n:host([color="info"]) .native-icon {\n color: var(--wje-color-info-9);\n}\n\n:host([color="menu"]) .native-icon {\n color: var(--wje-color-contrast-9);\n}';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wj-elements",
3
3
  "description": "WebJET Elements is a modern set of user interface tools harnessing the power of web components designed to simplify web application development.",
4
- "version": "0.1.89",
4
+ "version": "0.1.90",
5
5
  "homepage": "https://github.com/lencys/wj-elements",
6
6
  "author": "Lukáš Ondrejček <lukas.ondrejcek@gmail.com>",
7
7
  "license": "MIT",