tlp-icons-data 0.0.0-stage → 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Tamer and tlp-icons contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE.md ADDED
@@ -0,0 +1,21 @@
1
+ # Notice
2
+
3
+ tlp-icons is released under the MIT License (see `LICENSE`). It contains icon geometry from the following
4
+ open-source projects. Their license texts are kept in `licenses/`.
5
+
6
+ | Source | License | Copyright | Website |
7
+ | --- | --- | --- | --- |
8
+ | Lucide | ISC | Copyright (c) 2026 Lucide Icons and Contributors | https://lucide.dev |
9
+ | Tabler Icons | MIT | Copyright (c) 2020-2026 Paweł Kuna | https://tabler.io/icons |
10
+ | tlp-icons originals | MIT | Copyright (c) 2026 tlp-icons contributors | https://github.com/Tamer-Mansour/tlp-icons |
11
+
12
+ What tlp-icons adds on top of the upstream geometry: the curated category taxonomy, the motion choreographies
13
+ (hand-made overrides and the rule engine output), part tagging of the SVG elements, the runtime, and the
14
+ "tlp-icons originals" (icons drawn for this project, in `originals/`).
15
+
16
+ ## Trademarks
17
+
18
+ The **Brands** category (icons named `brand-*`, from Tabler Icons) shows logos that are trademarks of their
19
+ respective owners (for example Facebook, Instagram and WhatsApp are trademarks of Meta Platforms, Inc.).
20
+ They are included only to identify those products and services. Their inclusion does not imply any
21
+ affiliation with or endorsement by the trademark owners. Follow each owner's brand guidelines when you use them.
package/README.md CHANGED
@@ -1,3 +1,40 @@
1
- # Temporary Holding Version
1
+ # tlp-icons-data
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The complete [tlp-icons](https://www.npmjs.com/package/tlp-icons) dataset as one JSON file: for every icon its
4
+ inner SVG markup (24×24, `stroke="currentColor"`), its motion steps, category, tags and source, plus the category
5
+ list, aliases and source licenses.
6
+
7
+ Use it for build tools, design tools, search indexes or custom renderers. For icons in web pages, use
8
+ [`tlp-icons`](https://www.npmjs.com/package/tlp-icons) (`<tlp-icon name="bell">`): it loads one category at a time.
9
+
10
+ ```bash
11
+ npm install tlp-icons-data
12
+ ```
13
+
14
+ ```js
15
+ // Node / modern ESM
16
+ import data from 'tlp-icons-data' with { type: 'json' };
17
+ // bundlers (Vite, webpack, Next.js)
18
+ import data from 'tlp-icons-data';
19
+
20
+ data.icons.bell; // { category, source, tags, svg, m, r? }
21
+ data.categories; // [{ id, title, icon, color, count }]
22
+ data.aliases['trash-2'] // 'trash'
23
+ ```
24
+
25
+ Types are included (`TlpIconsData`, `IconRecord`, `MotionStep`, …).
26
+
27
+ ## Offline single-file bundle
28
+
29
+ `tlp-icons.all.js` is a classic `<script>` with the runtime and every icon inside (about 2.3 MB, 390 KB gzip). It
30
+ works from `file://` with no server, no module loader and no network:
31
+
32
+ ```html
33
+ <script src="node_modules/tlp-icons-data/tlp-icons.all.js"></script>
34
+ <tlp-icon name="bell"></tlp-icon>
35
+ ```
36
+
37
+ From a CDN: `https://cdn.jsdelivr.net/npm/tlp-icons-data/tlp-icons.all.js`.
38
+
39
+ Versions match `tlp-icons`. MIT license; icon geometry from Lucide (ISC) and Tabler Icons (MIT). Brand logos are
40
+ trademarks of their respective owners. See `NOTICE.md` and `licenses/`.
package/index.d.ts ADDED
@@ -0,0 +1,49 @@
1
+ // Types for tlp-icons-data (the full tlp-icons dataset as JSON).
2
+ // Usage: import data from 'tlp-icons-data' with { type: 'json' }; (bundlers: import data from 'tlp-icons-data')
3
+
4
+ /** [part, anim, dur (design ms), delay (design ms), origin?] */
5
+ export type MotionStep = [part: string, anim: string, dur: number, delay: number, origin?: string];
6
+
7
+ export interface IconRecord {
8
+ category: string;
9
+ /** 'lucide' | 'tabler' | 'tlp' */
10
+ source: string;
11
+ tags: string[];
12
+ /** inner SVG markup for a 24x24 viewBox, stroke = currentColor */
13
+ svg: string;
14
+ m: MotionStep[];
15
+ /** 1 = directional (mirror with flip="rtl") */
16
+ r?: 1;
17
+ }
18
+
19
+ export interface CategoryInfo {
20
+ id: string;
21
+ title: string;
22
+ icon: string;
23
+ color: string;
24
+ count: number;
25
+ }
26
+
27
+ export interface SourceInfo {
28
+ title: string;
29
+ license: string;
30
+ homepage: string;
31
+ repository: string;
32
+ npm: string;
33
+ version: string;
34
+ }
35
+
36
+ export interface TlpIconsData {
37
+ name: 'tlp-icons';
38
+ version: string;
39
+ /** default runtime speed factor (design ms x speed = real ms) */
40
+ speed: number;
41
+ sources: Record<string, SourceInfo>;
42
+ categories: CategoryInfo[];
43
+ /** alias -> canonical icon name */
44
+ aliases: Record<string, string>;
45
+ icons: Record<string, IconRecord>;
46
+ }
47
+
48
+ declare const data: TlpIconsData;
49
+ export default data;
@@ -0,0 +1,43 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2026 Lucide Icons and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16
+
17
+ ---
18
+
19
+ The following Lucide icons are derived from the Feather project:
20
+
21
+ airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
22
+
23
+ The MIT License (MIT) (for the icons listed above)
24
+
25
+ Copyright (c) 2013-present Cole Bemis
26
+
27
+ Permission is hereby granted, free of charge, to any person obtaining a copy
28
+ of this software and associated documentation files (the "Software"), to deal
29
+ in the Software without restriction, including without limitation the rights
30
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31
+ copies of the Software, and to permit persons to whom the Software is
32
+ furnished to do so, subject to the following conditions:
33
+
34
+ The above copyright notice and this permission notice shall be included in all
35
+ copies or substantial portions of the Software.
36
+
37
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
43
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020-2026 Paweł Kuna
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Tamer and tlp-icons contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,51 @@
1
1
  {
2
2
  "name": "tlp-icons-data",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "The full tlp-icons set: one JSON file with every icon's SVG, motion, category, tags and source, plus the offline single-file bundle (tlp-icons.all.js).",
5
+ "license": "MIT",
6
+ "homepage": "https://tlp-icons.netlify.app",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/Tamer-Mansour/tlp-icons.git",
10
+ "directory": "packages/tlp-icons-data"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/Tamer-Mansour/tlp-icons/issues"
14
+ },
15
+ "type": "module",
16
+ "main": "./tlp-icons.json",
17
+ "types": "./index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./index.d.ts",
21
+ "default": "./tlp-icons.json"
22
+ },
23
+ "./tlp-icons.json": {
24
+ "types": "./index.d.ts",
25
+ "default": "./tlp-icons.json"
26
+ },
27
+ "./tlp-icons.all.js": "./tlp-icons.all.js",
28
+ "./package.json": "./package.json"
29
+ },
30
+ "files": [
31
+ "tlp-icons.json",
32
+ "tlp-icons.all.js",
33
+ "index.d.ts",
34
+ "LICENSE",
35
+ "NOTICE.md",
36
+ "licenses"
37
+ ],
38
+ "sideEffects": [
39
+ "./tlp-icons.all.js"
40
+ ],
41
+ "keywords": [
42
+ "icons",
43
+ "svg",
44
+ "icon-data",
45
+ "tlp-icons"
46
+ ],
47
+ "publishConfig": {
48
+ "access": "public",
49
+ "provenance": true
50
+ }
51
+ }