@illuma-ai/icons 2.6.2 → 2.7.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/animated.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),s=require("react"),c=require("framer-motion"),l=s.forwardRef(function({children:t,label:e,size:a=24,strokeWidth:o=2,active:i,className:h,...M},S){const j=c.useAnimation(),p=s.useId(),y=()=>{i===void 0&&j.start("animate")},I=()=>{i===void 0&&j.start("normal")};return n.jsxs("svg",{ref:S,width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round",className:h,role:"img","aria-labelledby":p,onMouseEnter:y,onMouseLeave:I,onFocus:y,onBlur:I,...M,children:[n.jsx("title",{id:p,children:e}),t(j)]})});function m(r){if(r!==void 0)return r?"animate":"normal"}const d={type:"spring",stiffness:250,damping:16},b=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{y:0},animate:{y:-1.5}};return n.jsx(l,{ref:e,label:"Home",...t,children:i=>n.jsxs(n.Fragment,{children:[n.jsx(c.motion.path,{d:"M3 10.5 12 3l9 7.5",variants:o,animate:a??i,initial:"normal",transition:d}),n.jsx("path",{d:"M5 10v10h14V10"}),n.jsx("path",{d:"M9 20v-6h6v6"})]})})}),w=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{scale:1,x:0,y:0},animate:{scale:1.12,x:-1,y:-1}};return n.jsx(l,{ref:e,label:"Search",...t,children:i=>n.jsxs(c.motion.g,{variants:o,animate:a??i,initial:"normal",transition:d,style:{transformOrigin:"10px 10px"},children:[n.jsx("circle",{cx:"11",cy:"11",r:"7"}),n.jsx("path",{d:"m21 21-4.3-4.3"})]})})}),F=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{rotate:0},animate:{rotate:90}};return n.jsx(l,{ref:e,label:"Settings",...t,children:i=>n.jsxs(c.motion.g,{variants:o,animate:a??i,initial:"normal",transition:{type:"spring",stiffness:120,damping:14},style:{transformOrigin:"12px 12px"},children:[n.jsx("circle",{cx:"12",cy:"12",r:"3"}),n.jsx("path",{d:"M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1 7 17M17 7l2.1-2.1"})]})})}),R=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{y:0},animate:{y:-1}},i={normal:{scale:.6,opacity:.5},animate:{scale:1,opacity:1}};return n.jsx(l,{ref:e,label:"Chat",...t,children:h=>n.jsxs(n.Fragment,{children:[n.jsx(c.motion.path,{d:"M21 11.5a8.38 8.38 0 0 1-8.5 8.5 8.5 8.5 0 0 1-3.8-.9L3 21l1.9-5.7A8.38 8.38 0 0 1 4 11.5 8.5 8.5 0 0 1 12.5 3 8.38 8.38 0 0 1 21 11.5z",variants:o,animate:a??h,initial:"normal",transition:d}),n.jsx(c.motion.circle,{cx:"12",cy:"11.5",r:"1",fill:"currentColor",stroke:"none",variants:i,animate:a??h,initial:"normal",transition:d})]})})}),k=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{rotate:0},animate:{rotate:90}};return n.jsx(l,{ref:e,label:"New",...t,children:i=>n.jsx(c.motion.g,{variants:o,animate:a??i,initial:"normal",transition:d,style:{transformOrigin:"12px 12px"},children:n.jsx("path",{d:"M12 5v14M5 12h14"})})})}),x="#facc15",f=r=>({duration:r,repeat:1/0,ease:"easeInOut"}),u={duration:.25,ease:"easeOut"},g="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z",v="M13 2v7h7",O=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{y:0,opacity:.9,transition:u},animate:{y:[-4.5,4.5,-4.5],opacity:[.2,1,.2],transition:f(1.6)}};return n.jsx(l,{ref:e,label:"Reading file",...t,children:i=>n.jsxs(n.Fragment,{children:[n.jsx("path",{d:g}),n.jsx("path",{d:v}),n.jsx(c.motion.line,{x1:"8",y1:"13.5",x2:"16",y2:"13.5",stroke:x,variants:o,animate:a??i,initial:"normal"})]})})}),C=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{scale:1,opacity:1,transition:u},animate:{scale:[.85,1.12,.85],opacity:[.7,1,.7],transition:f(1.4)}};return n.jsx(l,{ref:e,label:"Creating file",...t,children:i=>n.jsxs(n.Fragment,{children:[n.jsx("path",{d:g}),n.jsx("path",{d:v}),n.jsx(c.motion.path,{d:"M12 12.5v5M9.5 15h5",stroke:x,variants:o,animate:a??i,initial:"normal",style:{transformOrigin:"12px 15px"}})]})})}),H=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{x:0,y:0,rotate:0,transition:u},animate:{x:[0,1.4,-1,0],y:[0,-1,1,0],rotate:[0,4,-3,0],transition:f(1.2)}};return n.jsx(l,{ref:e,label:"Editing file",...t,children:i=>n.jsxs(n.Fragment,{children:[n.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h7"}),n.jsx("path",{d:v}),n.jsx(c.motion.path,{d:"M18.4 12.6 21 15.2l-4.8 4.8H13.6v-2.6z",stroke:x,variants:o,animate:a??i,initial:"normal",style:{transformOrigin:"17px 17px"}})]})})}),E=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{scale:1,opacity:1,transition:u},animate:{scale:[.88,1.12,.88],opacity:[.6,1,.6],transition:f(1.4)}};return n.jsx(l,{ref:e,label:"Running skill",...t,children:i=>n.jsx(c.motion.path,{d:"M13 2 4.5 13.2a.6.6 0 0 0 .48.96H11l-1 7.84 8.5-11.2a.6.6 0 0 0-.48-.96H12z",fill:x,stroke:x,strokeWidth:1.4,variants:o,animate:a??i,initial:"normal",style:{transformOrigin:"12px 12px"}})})});exports.AnimatedIcon=l;exports.ChatIcon=R;exports.FileEditIcon=H;exports.FileNewIcon=C;exports.FileScanIcon=O;exports.HomeIcon=b;exports.PlusIcon=k;exports.SearchIcon=w;exports.SettingsIcon=F;exports.SkillZapIcon=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),s=require("react"),c=require("framer-motion"),l=s.forwardRef(function({children:t,label:e,size:a=24,strokeWidth:o=2,active:i,className:h,...M},S){const j=c.useAnimation(),p=s.useId(),y=()=>{i===void 0&&j.start("animate")},I=()=>{i===void 0&&j.start("normal")};return n.jsxs("svg",{ref:S,width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round",className:h,role:"img","aria-labelledby":p,onMouseEnter:y,onMouseLeave:I,onFocus:y,onBlur:I,...M,children:[n.jsx("title",{id:p,children:e}),t(j)]})});function m(r){if(r!==void 0)return r?"animate":"normal"}const d={type:"spring",stiffness:250,damping:16},b=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{y:0},animate:{y:-1.5}};return n.jsx(l,{ref:e,label:"Home",...t,children:i=>n.jsxs(n.Fragment,{children:[n.jsx(c.motion.path,{d:"M3 10.5 12 3l9 7.5",variants:o,animate:a??i,initial:"normal",transition:d}),n.jsx("path",{d:"M5 10v10h14V10"}),n.jsx("path",{d:"M9 20v-6h6v6"})]})})}),w=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{scale:1,x:0,y:0},animate:{scale:1.12,x:-1,y:-1}};return n.jsx(l,{ref:e,label:"Search",...t,children:i=>n.jsxs(c.motion.g,{variants:o,animate:a??i,initial:"normal",transition:d,style:{transformOrigin:"10px 10px"},children:[n.jsx("circle",{cx:"11",cy:"11",r:"7"}),n.jsx("path",{d:"m21 21-4.3-4.3"})]})})}),F=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{rotate:0},animate:{rotate:90}};return n.jsx(l,{ref:e,label:"Settings",...t,children:i=>n.jsxs(c.motion.g,{variants:o,animate:a??i,initial:"normal",transition:{type:"spring",stiffness:120,damping:14},style:{transformOrigin:"12px 12px"},children:[n.jsx("circle",{cx:"12",cy:"12",r:"3"}),n.jsx("path",{d:"M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1 7 17M17 7l2.1-2.1"})]})})}),R=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{y:0},animate:{y:-1}},i={normal:{scale:.6,opacity:.5},animate:{scale:1,opacity:1}};return n.jsx(l,{ref:e,label:"Chat",...t,children:h=>n.jsxs(n.Fragment,{children:[n.jsx(c.motion.path,{d:"M21 11.5a8.38 8.38 0 0 1-8.5 8.5 8.5 8.5 0 0 1-3.8-.9L3 21l1.9-5.7A8.38 8.38 0 0 1 4 11.5 8.5 8.5 0 0 1 12.5 3 8.38 8.38 0 0 1 21 11.5z",variants:o,animate:a??h,initial:"normal",transition:d}),n.jsx(c.motion.circle,{cx:"12",cy:"11.5",r:"1",fill:"currentColor",stroke:"none",variants:i,animate:a??h,initial:"normal",transition:d})]})})}),k=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{rotate:0},animate:{rotate:90}};return n.jsx(l,{ref:e,label:"New",...t,children:i=>n.jsx(c.motion.g,{variants:o,animate:a??i,initial:"normal",transition:d,style:{transformOrigin:"12px 12px"},children:n.jsx("path",{d:"M12 5v14M5 12h14"})})})}),x="currentColor",f=r=>({duration:r,repeat:1/0,ease:"easeInOut"}),u={duration:.25,ease:"easeOut"},g="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z",v="M13 2v7h7",C=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{y:0,opacity:.9,transition:u},animate:{y:[-4.5,4.5,-4.5],opacity:[.2,1,.2],transition:f(1.6)}};return n.jsx(l,{ref:e,label:"Reading file",...t,children:i=>n.jsxs(n.Fragment,{children:[n.jsx("path",{d:g}),n.jsx("path",{d:v}),n.jsx(c.motion.line,{x1:"8",y1:"13.5",x2:"16",y2:"13.5",stroke:x,variants:o,animate:a??i,initial:"normal"})]})})}),O=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{scale:1,opacity:1,transition:u},animate:{scale:[.85,1.12,.85],opacity:[.7,1,.7],transition:f(1.4)}};return n.jsx(l,{ref:e,label:"Creating file",...t,children:i=>n.jsxs(n.Fragment,{children:[n.jsx("path",{d:g}),n.jsx("path",{d:v}),n.jsx(c.motion.path,{d:"M12 12.5v5M9.5 15h5",stroke:x,variants:o,animate:a??i,initial:"normal",style:{transformOrigin:"12px 15px"}})]})})}),H=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{x:0,y:0,rotate:0,transition:u},animate:{x:[0,1.4,-1,0],y:[0,-1,1,0],rotate:[0,4,-3,0],transition:f(1.2)}};return n.jsx(l,{ref:e,label:"Editing file",...t,children:i=>n.jsxs(n.Fragment,{children:[n.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h7"}),n.jsx("path",{d:v}),n.jsx(c.motion.path,{d:"M18.4 12.6 21 15.2l-4.8 4.8H13.6v-2.6z",stroke:x,variants:o,animate:a??i,initial:"normal",style:{transformOrigin:"17px 17px"}})]})})}),E=s.forwardRef(function(t,e){const a=m(t.active),o={normal:{scale:1,opacity:1,transition:u},animate:{scale:[.88,1.12,.88],opacity:[.6,1,.6],transition:f(1.4)}};return n.jsx(l,{ref:e,label:"Running skill",...t,children:i=>n.jsx(c.motion.path,{d:"M13 2 4.5 13.2a.6.6 0 0 0 .48.96H11l-1 7.84 8.5-11.2a.6.6 0 0 0-.48-.96H12z",fill:x,stroke:x,strokeWidth:1.4,variants:o,animate:a??i,initial:"normal",style:{transformOrigin:"12px 12px"}})})});exports.AnimatedIcon=l;exports.ChatIcon=R;exports.FileEditIcon=H;exports.FileNewIcon=O;exports.FileScanIcon=C;exports.HomeIcon=b;exports.PlusIcon=k;exports.SearchIcon=w;exports.SettingsIcon=F;exports.SkillZapIcon=E;
2
2
  //# sourceMappingURL=animated.cjs.map
@@ -1,8 +1,8 @@
1
- import { jsxs as d, jsx as t, Fragment as f } from "react/jsx-runtime";
1
+ import { jsxs as d, jsx as t, Fragment as v } from "react/jsx-runtime";
2
2
  import { forwardRef as l, useId as S } from "react";
3
3
  import { useAnimation as F, motion as c } from "framer-motion";
4
4
  const s = l(
5
- function({ children: n, label: e, size: a = 24, strokeWidth: o = 2, active: i, className: v, ...O }, C) {
5
+ function({ children: n, label: e, size: a = 24, strokeWidth: o = 2, active: i, className: f, ...C }, O) {
6
6
  const g = F(), I = S(), M = () => {
7
7
  i === void 0 && g.start("animate");
8
8
  }, b = () => {
@@ -11,7 +11,7 @@ const s = l(
11
11
  return /* @__PURE__ */ d(
12
12
  "svg",
13
13
  {
14
- ref: C,
14
+ ref: O,
15
15
  width: a,
16
16
  height: a,
17
17
  viewBox: "0 0 24 24",
@@ -20,14 +20,14 @@ const s = l(
20
20
  strokeWidth: o,
21
21
  strokeLinecap: "round",
22
22
  strokeLinejoin: "round",
23
- className: v,
23
+ className: f,
24
24
  role: "img",
25
25
  "aria-labelledby": I,
26
26
  onMouseEnter: M,
27
27
  onMouseLeave: b,
28
28
  onFocus: M,
29
29
  onBlur: b,
30
- ...O,
30
+ ...C,
31
31
  children: [
32
32
  /* @__PURE__ */ t("title", { id: I, children: e }),
33
33
  n(g)
@@ -42,7 +42,7 @@ function m(r) {
42
42
  }
43
43
  const h = { type: "spring", stiffness: 250, damping: 16 }, A = l(function(n, e) {
44
44
  const a = m(n.active), o = { normal: { y: 0 }, animate: { y: -1.5 } };
45
- return /* @__PURE__ */ t(s, { ref: e, label: "Home", ...n, children: (i) => /* @__PURE__ */ d(f, { children: [
45
+ return /* @__PURE__ */ t(s, { ref: e, label: "Home", ...n, children: (i) => /* @__PURE__ */ d(v, { children: [
46
46
  /* @__PURE__ */ t(
47
47
  c.path,
48
48
  {
@@ -90,13 +90,13 @@ const h = { type: "spring", stiffness: 250, damping: 16 }, A = l(function(n, e)
90
90
  ) });
91
91
  }), z = l(function(n, e) {
92
92
  const a = m(n.active), o = { normal: { y: 0 }, animate: { y: -1 } }, i = { normal: { scale: 0.6, opacity: 0.5 }, animate: { scale: 1, opacity: 1 } };
93
- return /* @__PURE__ */ t(s, { ref: e, label: "Chat", ...n, children: (v) => /* @__PURE__ */ d(f, { children: [
93
+ return /* @__PURE__ */ t(s, { ref: e, label: "Chat", ...n, children: (f) => /* @__PURE__ */ d(v, { children: [
94
94
  /* @__PURE__ */ t(
95
95
  c.path,
96
96
  {
97
97
  d: "M21 11.5a8.38 8.38 0 0 1-8.5 8.5 8.5 8.5 0 0 1-3.8-.9L3 21l1.9-5.7A8.38 8.38 0 0 1 4 11.5 8.5 8.5 0 0 1 12.5 3 8.38 8.38 0 0 1 21 11.5z",
98
98
  variants: o,
99
- animate: a ?? v,
99
+ animate: a ?? f,
100
100
  initial: "normal",
101
101
  transition: h
102
102
  }
@@ -110,7 +110,7 @@ const h = { type: "spring", stiffness: 250, damping: 16 }, A = l(function(n, e)
110
110
  fill: "currentColor",
111
111
  stroke: "none",
112
112
  variants: i,
113
- animate: a ?? v,
113
+ animate: a ?? f,
114
114
  initial: "normal",
115
115
  transition: h
116
116
  }
@@ -129,13 +129,13 @@ const h = { type: "spring", stiffness: 250, damping: 16 }, A = l(function(n, e)
129
129
  children: /* @__PURE__ */ t("path", { d: "M12 5v14M5 12h14" })
130
130
  }
131
131
  ) });
132
- }), u = "#facc15", p = (r) => ({ duration: r, repeat: 1 / 0, ease: "easeInOut" }), y = { duration: 0.25, ease: "easeOut" }, k = "M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z", x = "M13 2v7h7", j = l(
132
+ }), u = "currentColor", p = (r) => ({ duration: r, repeat: 1 / 0, ease: "easeInOut" }), y = { duration: 0.25, ease: "easeOut" }, k = "M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z", x = "M13 2v7h7", j = l(
133
133
  function(n, e) {
134
134
  const a = m(n.active), o = {
135
135
  normal: { y: 0, opacity: 0.9, transition: y },
136
136
  animate: { y: [-4.5, 4.5, -4.5], opacity: [0.2, 1, 0.2], transition: p(1.6) }
137
137
  };
138
- return /* @__PURE__ */ t(s, { ref: e, label: "Reading file", ...n, children: (i) => /* @__PURE__ */ d(f, { children: [
138
+ return /* @__PURE__ */ t(s, { ref: e, label: "Reading file", ...n, children: (i) => /* @__PURE__ */ d(v, { children: [
139
139
  /* @__PURE__ */ t("path", { d: k }),
140
140
  /* @__PURE__ */ t("path", { d: x }),
141
141
  /* @__PURE__ */ t(
@@ -159,7 +159,7 @@ const h = { type: "spring", stiffness: 250, damping: 16 }, A = l(function(n, e)
159
159
  normal: { scale: 1, opacity: 1, transition: y },
160
160
  animate: { scale: [0.85, 1.12, 0.85], opacity: [0.7, 1, 0.7], transition: p(1.4) }
161
161
  };
162
- return /* @__PURE__ */ t(s, { ref: e, label: "Creating file", ...n, children: (i) => /* @__PURE__ */ d(f, { children: [
162
+ return /* @__PURE__ */ t(s, { ref: e, label: "Creating file", ...n, children: (i) => /* @__PURE__ */ d(v, { children: [
163
163
  /* @__PURE__ */ t("path", { d: k }),
164
164
  /* @__PURE__ */ t("path", { d: x }),
165
165
  /* @__PURE__ */ t(
@@ -186,7 +186,7 @@ const h = { type: "spring", stiffness: 250, damping: 16 }, A = l(function(n, e)
186
186
  transition: p(1.2)
187
187
  }
188
188
  };
189
- return /* @__PURE__ */ t(s, { ref: e, label: "Editing file", ...n, children: (i) => /* @__PURE__ */ d(f, { children: [
189
+ return /* @__PURE__ */ t(s, { ref: e, label: "Editing file", ...n, children: (i) => /* @__PURE__ */ d(v, { children: [
190
190
  /* @__PURE__ */ t("path", { d: "M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h7" }),
191
191
  /* @__PURE__ */ t("path", { d: x }),
192
192
  /* @__PURE__ */ t(
@@ -5,21 +5,30 @@ export interface TerminalIconProps extends Omit<SVGProps<SVGSVGElement>, 'childr
5
5
  }
6
6
  /**
7
7
  * Static terminal glyph — a rounded window with a prompt chevron and a cursor
8
- * line. `currentColor` for strokes so it inherits the surrounding text color
9
- * (works on light and dark); the cursor is brand yellow.
8
+ * line. Every stroke is `currentColor`, so the whole glyph cursor included
9
+ * inherits the surrounding text color (monochrome in both light and dark,
10
+ * driven entirely by the consumer's theme tokens; no hardcoded hue).
10
11
  */
11
12
  export declare const TerminalIcon: import('react').ForwardRefExoticComponent<Omit<TerminalIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
12
13
  export interface AnimatedTerminalIconProps extends TerminalIconProps {
13
14
  /** When false, renders the static icon (no animation). Defaults to true. */
14
15
  running?: boolean;
15
- /** Cursor/typing color. Defaults to brand yellow (#facc15). */
16
+ /**
17
+ * Cursor/typing color. Defaults to `currentColor` — the moving typing-line
18
+ * and cursor block match the glyph's own tone, so the icon reads as one
19
+ * monochrome mark (theme-token driven via whatever `color`/`text-*` the
20
+ * consumer applies) instead of carrying a fixed accent hue. Pass a real
21
+ * color here only if a one-off brand accent is deliberately wanted.
22
+ */
16
23
  accent?: string;
17
24
  }
18
25
  /**
19
26
  * Animated terminal logo for an in-progress terminal/code step: a prompt chevron
20
- * with a blinking yellow cursor and a subtle "typing" line that grows and resets,
21
- * evoking a command being typed. Subtle enough to suit light and dark themes;
22
- * honors `prefers-reduced-motion` (framer-motion disables transform/opacity
23
- * tweens automatically). When `running` is false it settles to the static icon.
27
+ * with a blinking cursor and a subtle "typing" line that grows and resets,
28
+ * evoking a command being typed. Monochrome by default (cursor + line inherit
29
+ * `currentColor`, matching the rest of the glyph) so it works on any theme
30
+ * token the consumer applies; honors `prefers-reduced-motion` (framer-motion
31
+ * disables transform/opacity tweens automatically). When `running` is false
32
+ * it settles to the static icon.
24
33
  */
25
34
  export declare const AnimatedTerminalIcon: import('react').ForwardRefExoticComponent<Omit<AnimatedTerminalIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
package/dist/brand.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),c=require("framer-motion"),f=d.forwardRef(function({size:r=24,className:n,...t},a){return e.jsxs("svg",{ref:a,width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:n,role:"img","aria-label":"Terminal",...t,children:[e.jsx("rect",{x:"2.5",y:"4",width:"19",height:"16",rx:"2.5"}),e.jsx("path",{d:"m6.5 9 3 3-3 3"}),e.jsx("path",{d:"M12.5 15h4",stroke:"#facc15"})]})}),b=d.forwardRef(function({size:r=24,running:n=!0,accent:t="#facc15",className:a,...s},o){return n?e.jsxs("svg",{ref:o,width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:a,role:"img","aria-label":"Terminal running",...s,children:[e.jsx("rect",{x:"2.5",y:"4",width:"19",height:"16",rx:"2.5"}),e.jsx("path",{d:"m6.5 9 3 3-3 3"}),e.jsx(c.motion.path,{d:"M12.5 15h5",stroke:t,initial:{pathLength:0,opacity:.9},animate:{pathLength:[0,1,1,0]},transition:{duration:1.6,times:[0,.5,.8,1],repeat:1/0,ease:"easeInOut"}}),e.jsx(c.motion.rect,{x:"18.5",y:"13.4",width:"1.6",height:"3.2",rx:"0.3",fill:t,stroke:"none",animate:{opacity:[1,1,0,0,1]},transition:{duration:1.1,times:[0,.4,.5,.9,1],repeat:1/0}})]}):e.jsx(f,{ref:o,size:r,className:a,...s})}),u={ai:"#8b5cf6, #c026d3, #ec4899, #f0abfc, #a855f7, #8b5cf6",aurora:"#22d3ee, #8b5cf6, #ec4899, #f59e0b, #22d3ee",enterprise:"#0ea5e9, #06b6d4, #2dd4bf, #38bdf8, #0ea5e9"},l={ai:"0 0 6px rgba(192,38,211,0.5), 0 0 2px rgba(139,92,246,0.6)",aurora:"0 0 6px rgba(34,211,238,0.5), 0 0 2px rgba(139,92,246,0.6)",enterprise:"0 0 6px rgba(14,165,233,0.4), 0 0 2px rgba(45,212,191,0.5)"},m={ai:!0,aurora:!0,enterprise:!1},h="ai-thinking-orb-styles",g=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),c=require("framer-motion"),b=d.forwardRef(function({size:r=24,className:n,...t},a){return e.jsxs("svg",{ref:a,width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:n,role:"img","aria-label":"Terminal",...t,children:[e.jsx("rect",{x:"2.5",y:"4",width:"19",height:"16",rx:"2.5"}),e.jsx("path",{d:"m6.5 9 3 3-3 3"}),e.jsx("path",{d:"M12.5 15h4"})]})}),f=d.forwardRef(function({size:r=24,running:n=!0,accent:t="currentColor",className:a,...s},o){return n?e.jsxs("svg",{ref:o,width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:a,role:"img","aria-label":"Terminal running",...s,children:[e.jsx("rect",{x:"2.5",y:"4",width:"19",height:"16",rx:"2.5"}),e.jsx("path",{d:"m6.5 9 3 3-3 3"}),e.jsx(c.motion.path,{d:"M12.5 15h5",stroke:t,initial:{pathLength:0,opacity:.9},animate:{pathLength:[0,1,1,0]},transition:{duration:1.6,times:[0,.5,.8,1],repeat:1/0,ease:"easeInOut"}}),e.jsx(c.motion.rect,{x:"18.5",y:"13.4",width:"1.6",height:"3.2",rx:"0.3",fill:t,stroke:"none",animate:{opacity:[1,1,0,0,1]},transition:{duration:1.1,times:[0,.4,.5,.9,1],repeat:1/0}})]}):e.jsx(b,{ref:o,size:r,className:a,...s})}),u={ai:"#8b5cf6, #c026d3, #ec4899, #f0abfc, #a855f7, #8b5cf6",aurora:"#22d3ee, #8b5cf6, #ec4899, #f59e0b, #22d3ee",enterprise:"#0ea5e9, #06b6d4, #2dd4bf, #38bdf8, #0ea5e9"},l={ai:"0 0 6px rgba(192,38,211,0.5), 0 0 2px rgba(139,92,246,0.6)",aurora:"0 0 6px rgba(34,211,238,0.5), 0 0 2px rgba(139,92,246,0.6)",enterprise:"0 0 6px rgba(14,165,233,0.4), 0 0 2px rgba(45,212,191,0.5)"},m={ai:!0,aurora:!0,enterprise:!1},h="ai-thinking-orb-styles",g=`
2
2
  @keyframes ai-orb-morph {
3
3
  0%,100% { border-radius:58% 42% 55% 45% / 52% 58% 42% 48%; }
4
4
  33% { border-radius:45% 55% 42% 58% / 58% 42% 55% 45%; }
@@ -12,5 +12,5 @@
12
12
  @media (prefers-reduced-motion: reduce) {
13
13
  .ai-orb { animation: ai-orb-breathe 3s ease-in-out infinite !important; }
14
14
  }
15
- `;function p(){d.useEffect(()=>{if(typeof document>"u"||document.getElementById(h))return;const i=document.createElement("style");i.id=h,i.textContent=g,document.head.appendChild(i)},[])}function x({size:i=16,palette:r="ai",className:n}){p();const t=u[r]??u.ai,a=l[r]??l.ai,o=m[r]??!0?"ai-orb-morph 3.2s ease-in-out infinite, ai-orb-breathe 2.1s ease-in-out infinite, ai-orb-spin 4.5s linear infinite":"ai-orb-morph 3.2s ease-in-out infinite, ai-orb-breathe 2.1s ease-in-out infinite";return e.jsx("span",{className:`ai-orb${n?` ${n}`:""}`,role:"img","aria-label":"Thinking",style:{display:"inline-block",width:i,height:i,borderRadius:"50%",flexShrink:0,background:`radial-gradient(circle at 32% 30%, rgba(255,255,255,0.65) 0%, transparent 38%), conic-gradient(from 0deg, ${t})`,boxShadow:a,animation:o,willChange:"border-radius, transform"}})}exports.AnimatedTerminalIcon=b;exports.TerminalIcon=f;exports.ThinkingOrb=x;
15
+ `;function p(){d.useEffect(()=>{if(typeof document>"u"||document.getElementById(h))return;const i=document.createElement("style");i.id=h,i.textContent=g,document.head.appendChild(i)},[])}function x({size:i=16,palette:r="ai",className:n}){p();const t=u[r]??u.ai,a=l[r]??l.ai,o=m[r]??!0?"ai-orb-morph 3.2s ease-in-out infinite, ai-orb-breathe 2.1s ease-in-out infinite, ai-orb-spin 4.5s linear infinite":"ai-orb-morph 3.2s ease-in-out infinite, ai-orb-breathe 2.1s ease-in-out infinite";return e.jsx("span",{className:`ai-orb${n?` ${n}`:""}`,role:"img","aria-label":"Thinking",style:{display:"inline-block",width:i,height:i,borderRadius:"50%",flexShrink:0,background:`radial-gradient(circle at 32% 30%, rgba(255,255,255,0.65) 0%, transparent 38%), conic-gradient(from 0deg, ${t})`,boxShadow:a,animation:o,willChange:"border-radius, transform"}})}exports.AnimatedTerminalIcon=f;exports.TerminalIcon=b;exports.ThinkingOrb=x;
16
16
  //# sourceMappingURL=brand.cjs.map
package/dist/brand.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as u, useEffect as b } from "react";
1
+ import { jsxs as u, jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as f, useEffect as b } from "react";
3
3
  import { motion as d } from "framer-motion";
4
- const m = u(function({ size: e = 24, className: t, ...n }, a) {
5
- return /* @__PURE__ */ l(
4
+ const m = f(function({ size: e = 24, className: t, ...n }, a) {
5
+ return /* @__PURE__ */ u(
6
6
  "svg",
7
7
  {
8
8
  ref: a,
@@ -21,13 +21,13 @@ const m = u(function({ size: e = 24, className: t, ...n }, a) {
21
21
  children: [
22
22
  /* @__PURE__ */ r("rect", { x: "2.5", y: "4", width: "19", height: "16", rx: "2.5" }),
23
23
  /* @__PURE__ */ r("path", { d: "m6.5 9 3 3-3 3" }),
24
- /* @__PURE__ */ r("path", { d: "M12.5 15h4", stroke: "#facc15" })
24
+ /* @__PURE__ */ r("path", { d: "M12.5 15h4" })
25
25
  ]
26
26
  }
27
27
  );
28
- }), T = u(
29
- function({ size: e = 24, running: t = !0, accent: n = "#facc15", className: a, ...s }, o) {
30
- return t ? /* @__PURE__ */ l(
28
+ }), T = f(
29
+ function({ size: e = 24, running: t = !0, accent: n = "currentColor", className: a, ...s }, o) {
30
+ return t ? /* @__PURE__ */ u(
31
31
  "svg",
32
32
  {
33
33
  ref: o,
@@ -90,7 +90,7 @@ const m = u(function({ size: e = 24, className: t, ...n }, a) {
90
90
  ai: !0,
91
91
  aurora: !0,
92
92
  enterprise: !1
93
- }, f = "ai-thinking-orb-styles", g = `
93
+ }, l = "ai-thinking-orb-styles", g = `
94
94
  @keyframes ai-orb-morph {
95
95
  0%,100% { border-radius:58% 42% 55% 45% / 52% 58% 42% 48%; }
96
96
  33% { border-radius:45% 55% 42% 58% / 58% 42% 55% 45%; }
@@ -105,16 +105,16 @@ const m = u(function({ size: e = 24, className: t, ...n }, a) {
105
105
  .ai-orb { animation: ai-orb-breathe 3s ease-in-out infinite !important; }
106
106
  }
107
107
  `;
108
- function k() {
108
+ function x() {
109
109
  b(() => {
110
- if (typeof document > "u" || document.getElementById(f))
110
+ if (typeof document > "u" || document.getElementById(l))
111
111
  return;
112
112
  const i = document.createElement("style");
113
- i.id = f, i.textContent = g, document.head.appendChild(i);
113
+ i.id = l, i.textContent = g, document.head.appendChild(i);
114
114
  }, []);
115
115
  }
116
116
  function E({ size: i = 16, palette: e = "ai", className: t }) {
117
- k();
117
+ x();
118
118
  const n = c[e] ?? c.ai, a = h[e] ?? h.ai, o = p[e] ?? !0 ? "ai-orb-morph 3.2s ease-in-out infinite, ai-orb-breathe 2.1s ease-in-out infinite, ai-orb-spin 4.5s linear infinite" : "ai-orb-morph 3.2s ease-in-out infinite, ai-orb-breathe 2.1s ease-in-out infinite";
119
119
  return /* @__PURE__ */ r(
120
120
  "span",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@illuma-ai/icons",
3
- "version": "2.6.2",
3
+ "version": "2.7.0",
4
4
  "description": "Illuma icon system: file-type icons (static + animated GIF), hover-animated nav icons, terminal logo, and a WebGL thinking orb.",
5
5
  "type": "module",
6
6
  "license": "MIT",