@nucleux/audio-message 0.1.1

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 Nucleux
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/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @nucleux/audio-message
2
+
3
+ AudioMessage — a player for AI-generated voice output — Nucleux agentic UI for React.
4
+
5
+ Part of **[Nucleux](https://github.com/intelligaia-open-labs/nucleux)** — agentic UI components for React. Install a single component, or the full kit via [`@nucleux/react`](https://www.npmjs.com/package/@nucleux/react).
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pnpm add @nucleux/audio-message @nucleux/tokens
11
+ ```
12
+
13
+ `react` / `react-dom` are peer dependencies.
14
+
15
+ ## Usage
16
+
17
+ ```tsx
18
+ import { AudioMessage } from "@nucleux/audio-message";
19
+ ```
20
+
21
+ Requires the theme once in your app: `import "@nucleux/tokens/styles.css";`
22
+ and the Tailwind preset from `@nucleux/tokens/preset`.
23
+
24
+ ## License
25
+
26
+ MIT © Nucleux
package/dist/index.cjs ADDED
@@ -0,0 +1,73 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+ var utils = require('@nucleux/utils');
6
+ var lucideReact = require('lucide-react');
7
+ var jsxRuntime = require('react/jsx-runtime');
8
+
9
+ function _interopNamespace(e) {
10
+ if (e && e.__esModule) return e;
11
+ var n = Object.create(null);
12
+ if (e) {
13
+ Object.keys(e).forEach(function (k) {
14
+ if (k !== 'default') {
15
+ var d = Object.getOwnPropertyDescriptor(e, k);
16
+ Object.defineProperty(n, k, d.get ? d : {
17
+ enumerable: true,
18
+ get: function () { return e[k]; }
19
+ });
20
+ }
21
+ });
22
+ }
23
+ n.default = e;
24
+ return Object.freeze(n);
25
+ }
26
+
27
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
28
+
29
+ // src/index.tsx
30
+ var BARS = [40, 70, 55, 90, 60, 35, 75, 50, 85, 45, 65, 30, 80, 55, 70, 40, 60, 50];
31
+ var AudioMessage = React__namespace.forwardRef(
32
+ ({ playing = false, duration, transcript, onPlayToggle, className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
33
+ "div",
34
+ {
35
+ ref,
36
+ className: utils.cn("flex flex-col gap-2 rounded-xl border border-border bg-background p-3", className),
37
+ ...props,
38
+ children: [
39
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
40
+ /* @__PURE__ */ jsxRuntime.jsx(
41
+ "button",
42
+ {
43
+ type: "button",
44
+ "aria-label": playing ? "Pause" : "Play",
45
+ "aria-pressed": playing,
46
+ onClick: onPlayToggle,
47
+ className: "inline-flex size-9 shrink-0 items-center justify-center rounded-full bg-info text-info-foreground transition-colors hover:bg-info/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-4",
48
+ children: playing ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Pause, { "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Play, { "aria-hidden": "true" })
49
+ }
50
+ ),
51
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 flex-1 items-center gap-0.5", "aria-hidden": "true", children: BARS.map((h, i) => /* @__PURE__ */ jsxRuntime.jsx(
52
+ "span",
53
+ {
54
+ className: utils.cn(
55
+ "w-1 flex-1 rounded-full bg-info/60",
56
+ playing && "animate-nx-typing"
57
+ ),
58
+ style: { height: `${h}%`, animationDelay: `${i % 6 * 90}ms` }
59
+ },
60
+ i
61
+ )) }),
62
+ duration && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs tabular-nums text-muted-foreground", children: duration })
63
+ ] }),
64
+ transcript && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-relaxed text-muted-foreground", children: transcript })
65
+ ]
66
+ }
67
+ )
68
+ );
69
+ AudioMessage.displayName = "AudioMessage";
70
+
71
+ exports.AudioMessage = AudioMessage;
72
+ //# sourceMappingURL=index.cjs.map
73
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.tsx"],"names":["React","jsxs","cn","jsx","Pause","Play"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,IAAM,OAAO,CAAC,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAE,CAAA;AAO7E,IAAM,YAAA,GAAqBA,gBAAA,CAAA,UAAA;AAAA,EAChC,CAAC,EAAE,OAAA,GAAU,KAAA,EAAO,QAAA,EAAU,UAAA,EAAY,YAAA,EAAc,SAAA,EAAW,GAAG,KAAA,EAAM,EAAG,GAAA,qBAC7EC,eAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,SAAA,EAAWC,QAAA,CAAG,uEAAA,EAAyE,SAAS,CAAA;AAAA,MAC/F,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAAD,eAAA,CAAC,KAAA,EAAA,EAAI,WAAU,yBAAA,EACb,QAAA,EAAA;AAAA,0BAAAE,cAAA;AAAA,YAAC,QAAA;AAAA,YAAA;AAAA,cACC,IAAA,EAAK,QAAA;AAAA,cACL,YAAA,EAAY,UAAU,OAAA,GAAU,MAAA;AAAA,cAChC,cAAA,EAAc,OAAA;AAAA,cACd,OAAA,EAAS,YAAA;AAAA,cACT,SAAA,EAAU,6NAAA;AAAA,cAET,QAAA,EAAA,OAAA,kCAAWC,iBAAA,EAAA,EAAM,aAAA,EAAY,QAAO,CAAA,mBAAKD,cAAA,CAACE,gBAAA,EAAA,EAAK,aAAA,EAAY,MAAA,EAAO;AAAA;AAAA,WACrE;AAAA,0BACAF,cAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,sCAAA,EAAuC,aAAA,EAAY,QAC/D,QAAA,EAAA,IAAA,CAAK,GAAA,CAAI,CAAC,CAAA,EAAG,CAAA,qBACZA,cAAA;AAAA,YAAC,MAAA;AAAA,YAAA;AAAA,cAEC,SAAA,EAAWD,QAAA;AAAA,gBACT,oCAAA;AAAA,gBACA,OAAA,IAAW;AAAA,eACb;AAAA,cACA,KAAA,EAAO,EAAE,MAAA,EAAQ,CAAA,EAAG,CAAC,CAAA,CAAA,CAAA,EAAK,cAAA,EAAgB,CAAA,EAAI,CAAA,GAAI,CAAA,GAAK,EAAE,CAAA,EAAA,CAAA;AAAK,aAAA;AAAA,YALzD;AAAA,WAOR,CAAA,EACH,CAAA;AAAA,UACC,QAAA,oBAAYC,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,uDAAuD,QAAA,EAAA,QAAA,EAAS;AAAA,SAAA,EAC/F,CAAA;AAAA,QACC,UAAA,oBAAcA,cAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,iDAAiD,QAAA,EAAA,UAAA,EAAW;AAAA;AAAA;AAAA;AAG9F;AACA,YAAA,CAAa,WAAA,GAAc,cAAA","file":"index.cjs","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@nucleux/utils\";\nimport { Play, Pause } from \"lucide-react\";\n\nexport interface AudioMessageProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Whether audio is currently playing (controls the play/pause glyph + animation). */\n playing?: boolean;\n /** Duration or elapsed label, e.g. `\"0:42\"`. */\n duration?: React.ReactNode;\n /** Transcript excerpt shown below the player. */\n transcript?: React.ReactNode;\n /** Called when the play/pause control is used. */\n onPlayToggle?: () => void;\n}\n\nconst BARS = [40, 70, 55, 90, 60, 35, 75, 50, 85, 45, 65, 30, 80, 55, 70, 40, 60, 50];\n\n/**\n * A player for AI-generated spoken output — play/pause, a waveform, duration,\n * and an optional transcript.\n * Source: Figma \"Output & Processing / Audio player output\".\n */\nexport const AudioMessage = React.forwardRef<HTMLDivElement, AudioMessageProps>(\n ({ playing = false, duration, transcript, onPlayToggle, className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col gap-2 rounded-xl border border-border bg-background p-3\", className)}\n {...props}\n >\n <div className=\"flex items-center gap-3\">\n <button\n type=\"button\"\n aria-label={playing ? \"Pause\" : \"Play\"}\n aria-pressed={playing}\n onClick={onPlayToggle}\n className=\"inline-flex size-9 shrink-0 items-center justify-center rounded-full bg-info text-info-foreground transition-colors hover:bg-info/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-4\"\n >\n {playing ? <Pause aria-hidden=\"true\" /> : <Play aria-hidden=\"true\" />}\n </button>\n <div className=\"flex h-8 flex-1 items-center gap-0.5\" aria-hidden=\"true\">\n {BARS.map((h, i) => (\n <span\n key={i}\n className={cn(\n \"w-1 flex-1 rounded-full bg-info/60\",\n playing && \"animate-nx-typing\",\n )}\n style={{ height: `${h}%`, animationDelay: `${(i % 6) * 90}ms` }}\n />\n ))}\n </div>\n {duration && <span className=\"shrink-0 text-xs tabular-nums text-muted-foreground\">{duration}</span>}\n </div>\n {transcript && <p className=\"text-sm leading-relaxed text-muted-foreground\">{transcript}</p>}\n </div>\n ),\n);\nAudioMessage.displayName = \"AudioMessage\";\n"]}
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+
3
+ interface AudioMessageProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ /** Whether audio is currently playing (controls the play/pause glyph + animation). */
5
+ playing?: boolean;
6
+ /** Duration or elapsed label, e.g. `"0:42"`. */
7
+ duration?: React.ReactNode;
8
+ /** Transcript excerpt shown below the player. */
9
+ transcript?: React.ReactNode;
10
+ /** Called when the play/pause control is used. */
11
+ onPlayToggle?: () => void;
12
+ }
13
+ /**
14
+ * A player for AI-generated spoken output — play/pause, a waveform, duration,
15
+ * and an optional transcript.
16
+ * Source: Figma "Output & Processing / Audio player output".
17
+ */
18
+ declare const AudioMessage: React.ForwardRefExoticComponent<AudioMessageProps & React.RefAttributes<HTMLDivElement>>;
19
+
20
+ export { AudioMessage, type AudioMessageProps };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+
3
+ interface AudioMessageProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ /** Whether audio is currently playing (controls the play/pause glyph + animation). */
5
+ playing?: boolean;
6
+ /** Duration or elapsed label, e.g. `"0:42"`. */
7
+ duration?: React.ReactNode;
8
+ /** Transcript excerpt shown below the player. */
9
+ transcript?: React.ReactNode;
10
+ /** Called when the play/pause control is used. */
11
+ onPlayToggle?: () => void;
12
+ }
13
+ /**
14
+ * A player for AI-generated spoken output — play/pause, a waveform, duration,
15
+ * and an optional transcript.
16
+ * Source: Figma "Output & Processing / Audio player output".
17
+ */
18
+ declare const AudioMessage: React.ForwardRefExoticComponent<AudioMessageProps & React.RefAttributes<HTMLDivElement>>;
19
+
20
+ export { AudioMessage, type AudioMessageProps };
package/dist/index.js ADDED
@@ -0,0 +1,51 @@
1
+ "use client";
2
+ import * as React from 'react';
3
+ import { cn } from '@nucleux/utils';
4
+ import { Pause, Play } from 'lucide-react';
5
+ import { jsxs, jsx } from 'react/jsx-runtime';
6
+
7
+ // src/index.tsx
8
+ var BARS = [40, 70, 55, 90, 60, 35, 75, 50, 85, 45, 65, 30, 80, 55, 70, 40, 60, 50];
9
+ var AudioMessage = React.forwardRef(
10
+ ({ playing = false, duration, transcript, onPlayToggle, className, ...props }, ref) => /* @__PURE__ */ jsxs(
11
+ "div",
12
+ {
13
+ ref,
14
+ className: cn("flex flex-col gap-2 rounded-xl border border-border bg-background p-3", className),
15
+ ...props,
16
+ children: [
17
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
18
+ /* @__PURE__ */ jsx(
19
+ "button",
20
+ {
21
+ type: "button",
22
+ "aria-label": playing ? "Pause" : "Play",
23
+ "aria-pressed": playing,
24
+ onClick: onPlayToggle,
25
+ className: "inline-flex size-9 shrink-0 items-center justify-center rounded-full bg-info text-info-foreground transition-colors hover:bg-info/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-4",
26
+ children: playing ? /* @__PURE__ */ jsx(Pause, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx(Play, { "aria-hidden": "true" })
27
+ }
28
+ ),
29
+ /* @__PURE__ */ jsx("div", { className: "flex h-8 flex-1 items-center gap-0.5", "aria-hidden": "true", children: BARS.map((h, i) => /* @__PURE__ */ jsx(
30
+ "span",
31
+ {
32
+ className: cn(
33
+ "w-1 flex-1 rounded-full bg-info/60",
34
+ playing && "animate-nx-typing"
35
+ ),
36
+ style: { height: `${h}%`, animationDelay: `${i % 6 * 90}ms` }
37
+ },
38
+ i
39
+ )) }),
40
+ duration && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs tabular-nums text-muted-foreground", children: duration })
41
+ ] }),
42
+ transcript && /* @__PURE__ */ jsx("p", { className: "text-sm leading-relaxed text-muted-foreground", children: transcript })
43
+ ]
44
+ }
45
+ )
46
+ );
47
+ AudioMessage.displayName = "AudioMessage";
48
+
49
+ export { AudioMessage };
50
+ //# sourceMappingURL=index.js.map
51
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.tsx"],"names":[],"mappings":";;;;;;AAeA,IAAM,OAAO,CAAC,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAE,CAAA;AAO7E,IAAM,YAAA,GAAqB,KAAA,CAAA,UAAA;AAAA,EAChC,CAAC,EAAE,OAAA,GAAU,KAAA,EAAO,QAAA,EAAU,UAAA,EAAY,YAAA,EAAc,SAAA,EAAW,GAAG,KAAA,EAAM,EAAG,GAAA,qBAC7E,IAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,SAAA,EAAW,EAAA,CAAG,uEAAA,EAAyE,SAAS,CAAA;AAAA,MAC/F,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAA,IAAA,CAAC,KAAA,EAAA,EAAI,WAAU,yBAAA,EACb,QAAA,EAAA;AAAA,0BAAA,GAAA;AAAA,YAAC,QAAA;AAAA,YAAA;AAAA,cACC,IAAA,EAAK,QAAA;AAAA,cACL,YAAA,EAAY,UAAU,OAAA,GAAU,MAAA;AAAA,cAChC,cAAA,EAAc,OAAA;AAAA,cACd,OAAA,EAAS,YAAA;AAAA,cACT,SAAA,EAAU,6NAAA;AAAA,cAET,QAAA,EAAA,OAAA,uBAAW,KAAA,EAAA,EAAM,aAAA,EAAY,QAAO,CAAA,mBAAK,GAAA,CAAC,IAAA,EAAA,EAAK,aAAA,EAAY,MAAA,EAAO;AAAA;AAAA,WACrE;AAAA,0BACA,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,sCAAA,EAAuC,aAAA,EAAY,QAC/D,QAAA,EAAA,IAAA,CAAK,GAAA,CAAI,CAAC,CAAA,EAAG,CAAA,qBACZ,GAAA;AAAA,YAAC,MAAA;AAAA,YAAA;AAAA,cAEC,SAAA,EAAW,EAAA;AAAA,gBACT,oCAAA;AAAA,gBACA,OAAA,IAAW;AAAA,eACb;AAAA,cACA,KAAA,EAAO,EAAE,MAAA,EAAQ,CAAA,EAAG,CAAC,CAAA,CAAA,CAAA,EAAK,cAAA,EAAgB,CAAA,EAAI,CAAA,GAAI,CAAA,GAAK,EAAE,CAAA,EAAA,CAAA;AAAK,aAAA;AAAA,YALzD;AAAA,WAOR,CAAA,EACH,CAAA;AAAA,UACC,QAAA,oBAAY,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,uDAAuD,QAAA,EAAA,QAAA,EAAS;AAAA,SAAA,EAC/F,CAAA;AAAA,QACC,UAAA,oBAAc,GAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,iDAAiD,QAAA,EAAA,UAAA,EAAW;AAAA;AAAA;AAAA;AAG9F;AACA,YAAA,CAAa,WAAA,GAAc,cAAA","file":"index.js","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@nucleux/utils\";\nimport { Play, Pause } from \"lucide-react\";\n\nexport interface AudioMessageProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Whether audio is currently playing (controls the play/pause glyph + animation). */\n playing?: boolean;\n /** Duration or elapsed label, e.g. `\"0:42\"`. */\n duration?: React.ReactNode;\n /** Transcript excerpt shown below the player. */\n transcript?: React.ReactNode;\n /** Called when the play/pause control is used. */\n onPlayToggle?: () => void;\n}\n\nconst BARS = [40, 70, 55, 90, 60, 35, 75, 50, 85, 45, 65, 30, 80, 55, 70, 40, 60, 50];\n\n/**\n * A player for AI-generated spoken output — play/pause, a waveform, duration,\n * and an optional transcript.\n * Source: Figma \"Output & Processing / Audio player output\".\n */\nexport const AudioMessage = React.forwardRef<HTMLDivElement, AudioMessageProps>(\n ({ playing = false, duration, transcript, onPlayToggle, className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col gap-2 rounded-xl border border-border bg-background p-3\", className)}\n {...props}\n >\n <div className=\"flex items-center gap-3\">\n <button\n type=\"button\"\n aria-label={playing ? \"Pause\" : \"Play\"}\n aria-pressed={playing}\n onClick={onPlayToggle}\n className=\"inline-flex size-9 shrink-0 items-center justify-center rounded-full bg-info text-info-foreground transition-colors hover:bg-info/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-4\"\n >\n {playing ? <Pause aria-hidden=\"true\" /> : <Play aria-hidden=\"true\" />}\n </button>\n <div className=\"flex h-8 flex-1 items-center gap-0.5\" aria-hidden=\"true\">\n {BARS.map((h, i) => (\n <span\n key={i}\n className={cn(\n \"w-1 flex-1 rounded-full bg-info/60\",\n playing && \"animate-nx-typing\",\n )}\n style={{ height: `${h}%`, animationDelay: `${(i % 6) * 90}ms` }}\n />\n ))}\n </div>\n {duration && <span className=\"shrink-0 text-xs tabular-nums text-muted-foreground\">{duration}</span>}\n </div>\n {transcript && <p className=\"text-sm leading-relaxed text-muted-foreground\">{transcript}</p>}\n </div>\n ),\n);\nAudioMessage.displayName = \"AudioMessage\";\n"]}
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@nucleux/audio-message",
3
+ "version": "0.1.1",
4
+ "type": "module",
5
+ "sideEffects": false,
6
+ "description": "AudioMessage — a player for AI-generated voice output — Nucleux agentic UI for React.",
7
+ "keywords": [
8
+ "nucleux",
9
+ "react",
10
+ "ui",
11
+ "components",
12
+ "agentic",
13
+ "ai",
14
+ "tailwind",
15
+ "audio-message"
16
+ ],
17
+ "main": "./dist/index.cjs",
18
+ "module": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js",
24
+ "require": "./dist/index.cjs"
25
+ }
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "README.md"
30
+ ],
31
+ "peerDependencies": {
32
+ "react": ">=18",
33
+ "react-dom": ">=18"
34
+ },
35
+ "dependencies": {
36
+ "lucide-react": "^0.469.0",
37
+ "@nucleux/utils": "0.1.1"
38
+ },
39
+ "devDependencies": {
40
+ "tsup": "^8.3.5",
41
+ "typescript": "^5.7.2",
42
+ "@types/react": "^18.3.18",
43
+ "react": "^18.3.1"
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "license": "MIT",
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "git+https://github.com/intelligaia-open-labs/nucleux.git",
52
+ "directory": "packages/audio-message"
53
+ },
54
+ "homepage": "https://github.com/intelligaia-open-labs/nucleux#readme",
55
+ "scripts": {
56
+ "build": "tsup"
57
+ }
58
+ }