@kamod-ch/icons 1.0.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.
Files changed (36) hide show
  1. package/ATTRIBUTION.md +35 -0
  2. package/LICENSE +21 -0
  3. package/README.md +194 -0
  4. package/dist/index.d.ts +3 -0
  5. package/dist/index.js +24090 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/meta.d.ts +94 -0
  8. package/dist/meta.js +88 -0
  9. package/dist/meta.js.map +1 -0
  10. package/dist/sets/heroicons/outline/index.d.ts +652 -0
  11. package/dist/sets/heroicons/outline/index.js +8763 -0
  12. package/dist/sets/heroicons/outline/index.js.map +1 -0
  13. package/dist/sets/heroicons/solid/index.d.ts +652 -0
  14. package/dist/sets/heroicons/solid/index.js +8509 -0
  15. package/dist/sets/heroicons/solid/index.js.map +1 -0
  16. package/dist/sets/iconoir/regular/index.d.ts +2770 -0
  17. package/dist/sets/iconoir/regular/index.js +38439 -0
  18. package/dist/sets/iconoir/regular/index.js.map +1 -0
  19. package/dist/sets/iconoir/solid/index.d.ts +580 -0
  20. package/dist/sets/iconoir/solid/index.js +7663 -0
  21. package/dist/sets/iconoir/solid/index.js.map +1 -0
  22. package/dist/sets/lucide/index.d.ts +3492 -0
  23. package/dist/sets/lucide/index.js +48652 -0
  24. package/dist/sets/lucide/index.js.map +1 -0
  25. package/dist/sets/shadcn/index.d.ts +1758 -0
  26. package/dist/sets/shadcn/index.js +24090 -0
  27. package/dist/sets/shadcn/index.js.map +1 -0
  28. package/dist/sets/tabler/filled/index.d.ts +2110 -0
  29. package/dist/sets/tabler/filled/index.js +27476 -0
  30. package/dist/sets/tabler/filled/index.js.map +1 -0
  31. package/dist/sets/tabler/outline/index.d.ts +10190 -0
  32. package/dist/sets/tabler/outline/index.js +140037 -0
  33. package/dist/sets/tabler/outline/index.js.map +1 -0
  34. package/dist/types-DQL76FNw.d.ts +8 -0
  35. package/icon-sources.json +85 -0
  36. package/package.json +125 -0
@@ -0,0 +1,8 @@
1
+ import { JSX } from 'preact';
2
+
3
+ type IconProps = JSX.SVGAttributes<SVGSVGElement> & {
4
+ size?: number | string;
5
+ title?: string;
6
+ };
7
+
8
+ export type { IconProps as I };
@@ -0,0 +1,85 @@
1
+ {
2
+ "sets": {
3
+ "shadcn": {
4
+ "label": "shadcn/ui",
5
+ "exportPath": "@kamod/icons/shadcn",
6
+ "upstream": {
7
+ "type": "npm",
8
+ "package": "lucide-static",
9
+ "versionPackage": "lucide",
10
+ "version": "1.23.0",
11
+ "repository": "https://github.com/lucide-icons/lucide",
12
+ "license": "ISC",
13
+ "note": "Lucide subset with legacy icon names used by shadcn/ui. There is no separate shadcn icons npm package."
14
+ },
15
+ "syncedAt": "2026-07-03",
16
+ "iconCount": 877
17
+ },
18
+ "lucide": {
19
+ "label": "Lucide",
20
+ "exportPath": "@kamod/icons/lucide",
21
+ "upstream": {
22
+ "type": "npm",
23
+ "package": "lucide-static",
24
+ "versionPackage": "lucide",
25
+ "version": "1.23.0",
26
+ "repository": "https://github.com/lucide-icons/lucide",
27
+ "license": "ISC"
28
+ },
29
+ "syncedAt": "2026-07-03",
30
+ "iconCount": 1994
31
+ },
32
+ "heroicons": {
33
+ "label": "Heroicons",
34
+ "exportPath": "@kamod/icons/heroicons/{variant}",
35
+ "variants": [
36
+ "outline",
37
+ "solid"
38
+ ],
39
+ "upstream": {
40
+ "type": "npm",
41
+ "package": "heroicons",
42
+ "versionPackage": "@heroicons/react",
43
+ "version": "2.2.0",
44
+ "repository": "https://github.com/tailwindlabs/heroicons",
45
+ "license": "MIT"
46
+ },
47
+ "syncedAt": "2026-07-03",
48
+ "iconCount": 648
49
+ },
50
+ "tabler": {
51
+ "label": "Tabler Icons",
52
+ "exportPath": "@kamod/icons/tabler/{variant}",
53
+ "variants": [
54
+ "outline",
55
+ "filled"
56
+ ],
57
+ "upstream": {
58
+ "type": "npm",
59
+ "package": "@tabler/icons",
60
+ "version": "3.44.0",
61
+ "repository": "https://github.com/tabler/tabler-icons",
62
+ "license": "MIT"
63
+ },
64
+ "syncedAt": "2026-07-03",
65
+ "iconCount": 6146
66
+ },
67
+ "iconoir": {
68
+ "label": "Iconoir",
69
+ "exportPath": "@kamod/icons/iconoir/{variant}",
70
+ "variants": [
71
+ "regular",
72
+ "solid"
73
+ ],
74
+ "upstream": {
75
+ "type": "npm",
76
+ "package": "iconoir",
77
+ "version": "7.11.1",
78
+ "repository": "https://github.com/iconoir-icons/iconoir",
79
+ "license": "MIT"
80
+ },
81
+ "syncedAt": "2026-07-03",
82
+ "iconCount": 1671
83
+ }
84
+ }
85
+ }
package/package.json ADDED
@@ -0,0 +1,125 @@
1
+ {
2
+ "name": "@kamod-ch/icons",
3
+ "version": "1.0.0",
4
+ "description": "Lightweight, tree-shakeable SVG icon library for Preact apps.",
5
+ "license": "MIT",
6
+ "homepage": "https://kamod-ch.github.io/kamod-icons/",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/kamod-ch/kamod-icons.git",
10
+ "directory": "packages/icons"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/kamod-ch/kamod-icons/issues"
14
+ },
15
+ "keywords": [
16
+ "icons",
17
+ "preact",
18
+ "svg",
19
+ "lucide",
20
+ "heroicons",
21
+ "tabler",
22
+ "iconoir",
23
+ "shadcn",
24
+ "svg-icons",
25
+ "icon-library",
26
+ "typescript",
27
+ "tree-shaking",
28
+ "tree-shakeable",
29
+ "preact-components",
30
+ "ui-components",
31
+ "design-system",
32
+ "kamod-ui",
33
+ "kamod-icons",
34
+ "preactpress",
35
+ "figma-icons",
36
+ "npm-package",
37
+ "monorepo",
38
+ "frontend",
39
+ "webdev",
40
+ "developer-tools",
41
+ "shadcn"
42
+ ],
43
+ "packageManager": "pnpm@11.8.0",
44
+ "type": "module",
45
+ "sideEffects": false,
46
+ "module": "./dist/index.js",
47
+ "types": "./dist/index.d.ts",
48
+ "files": [
49
+ "dist",
50
+ "README.md",
51
+ "ATTRIBUTION.md",
52
+ "LICENSE",
53
+ "icon-sources.json"
54
+ ],
55
+ "exports": {
56
+ ".": {
57
+ "types": "./dist/index.d.ts",
58
+ "import": "./dist/index.js"
59
+ },
60
+ "./meta": {
61
+ "types": "./dist/meta.d.ts",
62
+ "import": "./dist/meta.js"
63
+ },
64
+ "./shadcn": {
65
+ "types": "./dist/sets/shadcn/index.d.ts",
66
+ "import": "./dist/sets/shadcn/index.js"
67
+ },
68
+ "./lucide": {
69
+ "types": "./dist/sets/lucide/index.d.ts",
70
+ "import": "./dist/sets/lucide/index.js"
71
+ },
72
+ "./heroicons/outline": {
73
+ "types": "./dist/sets/heroicons/outline/index.d.ts",
74
+ "import": "./dist/sets/heroicons/outline/index.js"
75
+ },
76
+ "./heroicons/solid": {
77
+ "types": "./dist/sets/heroicons/solid/index.d.ts",
78
+ "import": "./dist/sets/heroicons/solid/index.js"
79
+ },
80
+ "./tabler/outline": {
81
+ "types": "./dist/sets/tabler/outline/index.d.ts",
82
+ "import": "./dist/sets/tabler/outline/index.js"
83
+ },
84
+ "./tabler/filled": {
85
+ "types": "./dist/sets/tabler/filled/index.d.ts",
86
+ "import": "./dist/sets/tabler/filled/index.js"
87
+ },
88
+ "./iconoir/regular": {
89
+ "types": "./dist/sets/iconoir/regular/index.d.ts",
90
+ "import": "./dist/sets/iconoir/regular/index.js"
91
+ },
92
+ "./iconoir/solid": {
93
+ "types": "./dist/sets/iconoir/solid/index.d.ts",
94
+ "import": "./dist/sets/iconoir/solid/index.js"
95
+ }
96
+ },
97
+ "scripts": {
98
+ "icons:sync": "tsx scripts/sync-icons.ts",
99
+ "icons:generate": "tsx scripts/generate-icons.ts",
100
+ "icons:meta": "tsx scripts/generate-meta.ts",
101
+ "build": "pnpm run icons:meta && tsup",
102
+ "dev": "tsup --watch",
103
+ "clean": "rm -rf dist"
104
+ },
105
+ "peerDependencies": {
106
+ "preact": ">=10"
107
+ },
108
+ "publishConfig": {
109
+ "access": "public"
110
+ },
111
+ "devDependencies": {
112
+ "@heroicons/react": "2.2.0",
113
+ "@tabler/icons": "3.44.0",
114
+ "@types/node": "^26.1.0",
115
+ "heroicons": "2.2.0",
116
+ "iconoir": "7.11.1",
117
+ "lucide": "1.23.0",
118
+ "lucide-static": "1.23.0",
119
+ "preact": "^10.29.3",
120
+ "svgo": "^4.0.1",
121
+ "tsup": "^8.5.1",
122
+ "tsx": "^4.22.4",
123
+ "typescript": "~5.9.3"
124
+ }
125
+ }