ikoneme-lib 0.3.0 → 0.5.0

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/index.d.ts CHANGED
@@ -3,5 +3,6 @@ export { default as Ikon } from './Ikon.jsx';
3
3
  export { default as IkonZoomView } from './IkonZoomView.jsx';
4
4
  export { DEFAULT_THEME } from './theme.js';
5
5
  export { default as IkonEditor, defaultSearchRoot } from './IkonEditor.jsx';
6
- export { IKONDB_BASE_URL, getIkonList, searchIkons, getIkonDetails, clearIkonDbCache } from './ikonDb.js';
7
- export { ZONE_CONFIG, BORDER_CONFIG, BORDER_IDS, getBorderConfig, getBorderImageStyle, getIconConfig, getIconUrl, getIconDisplayUrl, getIconUrlByIndex, createDefaultIkon, normalizeIkon, normalizeIkoneme, generateIkonemeFromText } from './ikonSchema.js';
6
+ export { IKONDB_BASE_URL, getIkonList, searchIkons, searchIkonsV2, getIkonDetails, clearIkonDbCache } from './ikonDb.js';
7
+ export { ZONE_CONFIG, BORDER_CONFIG, BORDER_IDS, getBorderConfig, getBorderImageStyle, getBorderMetrics, getIconConfig, getIconUrl, getIconDisplayUrl, getIconUrlByIndex, createDefaultIkon, createEmptyIkon, normalizeIkon, normalizeIkoneme, generateIkonemeFromText } from './ikonSchema.js';
8
+ export { drawIkon, renderIkonemeToCanvas, renderIkonemeToPng } from './ikonCanvas.js';
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
- {
2
- "name": "ikoneme-lib",
3
- "version": "0.3.0",
4
- "description": "React components to render and edit ikonemes (ordered sequences of ikons) using the KomunIKON rich-icon JSON payload.",
5
- "type": "module",
6
- "license": "UNLICENSED",
7
- "private": false,
8
- "files": [
9
- "dist"
10
- ],
11
- "main": "./dist/ikoneme-lib.cjs",
12
- "module": "./dist/ikoneme-lib.js",
13
- "types": "./dist/index.d.ts",
14
- "exports": {
15
- ".": {
16
- "import": "./dist/ikoneme-lib.js",
17
- "require": "./dist/ikoneme-lib.cjs"
18
- },
19
- "./package.json": "./package.json"
20
- },
21
- "sideEffects": false,
22
- "scripts": {
23
- "dev": "vite",
24
- "build": "vite build",
25
- "prepack": "npm run build",
26
- "lint": "eslint .",
27
- "lint:fix": "eslint . --fix",
28
- "format": "prettier --write .",
29
- "format:check": "prettier --check ."
30
- },
31
- "peerDependencies": {
32
- "react": ">=18.0.0",
33
- "react-dom": ">=18.0.0"
34
- },
35
- "dependencies": {
36
- "lucide-react": "^0.294.0"
37
- },
38
- "devDependencies": {
39
- "@eslint/js": "^9.39.5",
40
- "@vitejs/plugin-react": "^4.2.1",
41
- "eslint": "^9.39.5",
42
- "eslint-config-prettier": "^10.1.8",
43
- "eslint-plugin-react": "^7.37.5",
44
- "eslint-plugin-react-hooks": "^5.2.0",
45
- "globals": "^17.12.0",
46
- "prettier": "^3.9.6",
47
- "react": "^18.2.0",
48
- "react-dom": "^18.2.0",
49
- "typescript": "^5.9.3",
50
- "vite": "^5.0.8",
51
- "vite-plugin-dts": "^5.1.0"
52
- }
53
- }
1
+ {
2
+ "name": "ikoneme-lib",
3
+ "version": "0.5.0",
4
+ "description": "React components to render and edit ikonemes (ordered sequences of ikons) using the KomunIKON rich-icon JSON payload.",
5
+ "type": "module",
6
+ "license": "UNLICENSED",
7
+ "private": false,
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "main": "./dist/ikoneme-lib.cjs",
12
+ "module": "./dist/ikoneme-lib.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/ikoneme-lib.js",
17
+ "require": "./dist/ikoneme-lib.cjs"
18
+ },
19
+ "./package.json": "./package.json"
20
+ },
21
+ "sideEffects": false,
22
+ "scripts": {
23
+ "dev": "vite",
24
+ "build": "vite build",
25
+ "prepack": "npm run build",
26
+ "lint": "eslint .",
27
+ "lint:fix": "eslint . --fix",
28
+ "format": "prettier --write .",
29
+ "format:check": "prettier --check ."
30
+ },
31
+ "peerDependencies": {
32
+ "react": ">=18.0.0",
33
+ "react-dom": ">=18.0.0"
34
+ },
35
+ "dependencies": {
36
+ "lucide-react": "^0.294.0"
37
+ },
38
+ "devDependencies": {
39
+ "@eslint/js": "^9.39.5",
40
+ "@vitejs/plugin-react": "^4.2.1",
41
+ "eslint": "^9.39.5",
42
+ "eslint-config-prettier": "^10.1.8",
43
+ "eslint-plugin-react": "^7.37.5",
44
+ "eslint-plugin-react-hooks": "^5.2.0",
45
+ "globals": "^17.12.0",
46
+ "prettier": "^3.9.6",
47
+ "react": "^18.2.0",
48
+ "react-dom": "^18.2.0",
49
+ "typescript": "^5.9.3",
50
+ "vite": "^5.0.8",
51
+ "vite-plugin-dts": "^5.1.0"
52
+ }
53
+ }