Browse Source

CHORE,REFA,CHANGE: introduced jpclw-extension as src module

preparation to modulize icons.js
master
chris 2 months ago
parent
commit
63d95c917f
  1. 7
      icons.js
  2. 2160
      package-lock.json
  3. 4
      package.json

7
icons.js

@ -1,8 +1,11 @@
/**
* This module enables the jcp framework to use material desing icons
*
* check https://fonts.google.com/icons (20250302)s
*/
const MaterialIcons = new CompelExtension();
export const MaterialIcons = new CompelExtension();
MaterialIcons.name = "materialIcons";
MaterialIcons.diplayTitle = "usage of (material) Icons";
@ -101,7 +104,7 @@ addMaterialIcons(useFromWeb = false, pathToOffline = "../../20250220-materialico
/**
* https://fonts.google.com/icons?icon.size=24&icon.color=%23e8eaed
*/
const ICONS = Object.freeze({
export const ICONS = Object.freeze({
SEARCH: "search",
HOME: "home",
ACCOUNT_CIRCLE: "account_circle",

2160
package-lock.json

File diff suppressed because it is too large

4
package.json

@ -17,6 +17,10 @@
"main": "icons.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"jpclw-extension": "git+https://git.labos.goip.de/chris/jpclw-extension.git"
},
"devDependencies": {
"jpc-like-websites": "git+https://git.labos.goip.de/chris/jpc-like-websites.git",
"@eslint/css": "^0.7.0",

Loading…
Cancel
Save