@ai-matrx/icons 0.1.10 → 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.
@@ -0,0 +1,35 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/domain.ts
22
+ var domain_exports = {};
23
+ __export(domain_exports, {
24
+ AGENT_ICON: () => AGENT_ICON,
25
+ AGENT_ICON_NAME: () => AGENT_ICON_NAME,
26
+ INTELLIGENCE_ICON: () => INTELLIGENCE_ICON,
27
+ INTELLIGENCE_ICON_NAME: () => INTELLIGENCE_ICON_NAME
28
+ });
29
+ module.exports = __toCommonJS(domain_exports);
30
+ var import_lucide_react = require("lucide-react");
31
+ var INTELLIGENCE_ICON = import_lucide_react.BrainCircuit;
32
+ var INTELLIGENCE_ICON_NAME = "BrainCircuit";
33
+ var AGENT_ICON = import_lucide_react.Webhook;
34
+ var AGENT_ICON_NAME = "Webhook";
35
+ //# sourceMappingURL=domain.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/domain.ts"],"sourcesContent":["// @ai-matrx/icons/domain (moved from matrx-frontend components/icons/domain-icons.ts, P16)\n//\n// OFFICIAL DOMAIN ICONS — one icon per platform Domain, owned here and nowhere\n// else. A person learns \"this icon means Intelligence\" only if it never means\n// anything else.\n//\n// INTELLIGENCE_ICON — lucide BrainCircuit. RESERVED for Intelligence and\n// Mandates (Arman, 2026-09-26). Importing BrainCircuit anywhere else is a\n// violation: `pnpm check:reserved-icons` fails on a new one.\n// AGENT_ICON — lucide Webhook. The official Agents icon (nav, holders, cards).\n//\n// String-keyed icon registries (shell nav `iconName`, menu registries) use the\n// *_ICON_NAME constants so the name is spelled in one place.\n\nimport { BrainCircuit, Webhook, type LucideIcon } from \"lucide-react\";\n\n/** Intelligence / Mandates — reserved; never for generic \"AI\". */\nexport const INTELLIGENCE_ICON: LucideIcon = BrainCircuit;\nexport const INTELLIGENCE_ICON_NAME = \"BrainCircuit\" as const;\n\n/** Agents. */\nexport const AGENT_ICON: LucideIcon = Webhook;\nexport const AGENT_ICON_NAME = \"Webhook\" as const;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcA,0BAAuD;AAGhD,IAAM,oBAAgC;AACtC,IAAM,yBAAyB;AAG/B,IAAM,aAAyB;AAC/B,IAAM,kBAAkB;","names":[]}
@@ -0,0 +1,10 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+
3
+ /** Intelligence / Mandates — reserved; never for generic "AI". */
4
+ declare const INTELLIGENCE_ICON: LucideIcon;
5
+ declare const INTELLIGENCE_ICON_NAME: "BrainCircuit";
6
+ /** Agents. */
7
+ declare const AGENT_ICON: LucideIcon;
8
+ declare const AGENT_ICON_NAME: "Webhook";
9
+
10
+ export { AGENT_ICON, AGENT_ICON_NAME, INTELLIGENCE_ICON, INTELLIGENCE_ICON_NAME };
@@ -0,0 +1,10 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+
3
+ /** Intelligence / Mandates — reserved; never for generic "AI". */
4
+ declare const INTELLIGENCE_ICON: LucideIcon;
5
+ declare const INTELLIGENCE_ICON_NAME: "BrainCircuit";
6
+ /** Agents. */
7
+ declare const AGENT_ICON: LucideIcon;
8
+ declare const AGENT_ICON_NAME: "Webhook";
9
+
10
+ export { AGENT_ICON, AGENT_ICON_NAME, INTELLIGENCE_ICON, INTELLIGENCE_ICON_NAME };
package/dist/domain.js ADDED
@@ -0,0 +1,15 @@
1
+ "use client";
2
+
3
+ // src/domain.ts
4
+ import { BrainCircuit, Webhook } from "lucide-react";
5
+ var INTELLIGENCE_ICON = BrainCircuit;
6
+ var INTELLIGENCE_ICON_NAME = "BrainCircuit";
7
+ var AGENT_ICON = Webhook;
8
+ var AGENT_ICON_NAME = "Webhook";
9
+ export {
10
+ AGENT_ICON,
11
+ AGENT_ICON_NAME,
12
+ INTELLIGENCE_ICON,
13
+ INTELLIGENCE_ICON_NAME
14
+ };
15
+ //# sourceMappingURL=domain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/domain.ts"],"sourcesContent":["// @ai-matrx/icons/domain (moved from matrx-frontend components/icons/domain-icons.ts, P16)\n//\n// OFFICIAL DOMAIN ICONS — one icon per platform Domain, owned here and nowhere\n// else. A person learns \"this icon means Intelligence\" only if it never means\n// anything else.\n//\n// INTELLIGENCE_ICON — lucide BrainCircuit. RESERVED for Intelligence and\n// Mandates (Arman, 2026-09-26). Importing BrainCircuit anywhere else is a\n// violation: `pnpm check:reserved-icons` fails on a new one.\n// AGENT_ICON — lucide Webhook. The official Agents icon (nav, holders, cards).\n//\n// String-keyed icon registries (shell nav `iconName`, menu registries) use the\n// *_ICON_NAME constants so the name is spelled in one place.\n\nimport { BrainCircuit, Webhook, type LucideIcon } from \"lucide-react\";\n\n/** Intelligence / Mandates — reserved; never for generic \"AI\". */\nexport const INTELLIGENCE_ICON: LucideIcon = BrainCircuit;\nexport const INTELLIGENCE_ICON_NAME = \"BrainCircuit\" as const;\n\n/** Agents. */\nexport const AGENT_ICON: LucideIcon = Webhook;\nexport const AGENT_ICON_NAME = \"Webhook\" as const;\n"],"mappings":";;;AAcA,SAAS,cAAc,eAAgC;AAGhD,IAAM,oBAAgC;AACtC,IAAM,yBAAyB;AAG/B,IAAM,aAAyB;AAC/B,IAAM,kBAAkB;","names":[]}
package/dist/index.cjs CHANGED
@@ -6,8 +6,13 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __esm = (fn, res) => function __init() {
10
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
9
+ var __esm = (fn, res, err) => function __init() {
10
+ if (err) throw err[0];
11
+ try {
12
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
13
+ } catch (e) {
14
+ throw err = [e], e;
15
+ }
11
16
  };
12
17
  var __export = (target, all) => {
13
18
  for (var name in all)