@stealthscale/component-messaging 0.1.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/theme.js ADDED
@@ -0,0 +1,22 @@
1
+ import { a as recipe$1, n as recipe$3, o as recipe, r as recipe$2, t as recipe$4 } from "./recipe-f6w25oLs.js";
2
+ import { definePreset } from "@stealthscale/theme/authoring";
3
+ //#region src/theme.ts
4
+ /**
5
+ * Registers every recipe in the package in the preset an application's style compiler installs.
6
+ *
7
+ * @remarks
8
+ * The list is written by hand. `theme.spec.ts` fails when a recipe file is missing from it, so no
9
+ * generator writes it.
10
+ */
11
+ var theme_default = definePreset({
12
+ name: "@stealthscale/component-messaging",
13
+ theme: { extend: { slotRecipes: {
14
+ attachment: recipe,
15
+ composer: recipe$1,
16
+ conversation: recipe$2,
17
+ message: recipe$3,
18
+ reactions: recipe$4
19
+ } } }
20
+ });
21
+ //#endregion
22
+ export { theme_default as default };
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@stealthscale/component-messaging",
3
+ "version": "0.1.0",
4
+ "description": "Renders conversations: turns of messages with a status and actions, a transcript that follows the latest message, reactions, attachments, mentions and a composer.",
5
+ "keywords": [
6
+ "chat",
7
+ "components",
8
+ "conversation",
9
+ "messaging",
10
+ "react"
11
+ ],
12
+ "homepage": "https://github.com/stealth-scale/scale/tree/main/components/messaging#readme",
13
+ "bugs": "https://github.com/stealth-scale/scale/issues",
14
+ "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/stealth-scale/scale.git",
18
+ "directory": "components/messaging"
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "LICENSE",
23
+ "README.md"
24
+ ],
25
+ "type": "module",
26
+ "sideEffects": false,
27
+ "imports": {
28
+ "#*": "./src/*"
29
+ },
30
+ "exports": {
31
+ ".": "./dist/index.js",
32
+ "./theme": "./dist/theme.js",
33
+ "./package.json": "./package.json"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
+ "dependencies": {
39
+ "@stealthscale/component-actions": "^0.1.0",
40
+ "use-stick-to-bottom": "^1.1"
41
+ },
42
+ "devDependencies": {
43
+ "@arethetypeswrong/core": "^0.18",
44
+ "@stealthscale/component-disclosure": "^0.1.0",
45
+ "@stealthscale/component-primitives": "^0.1.0",
46
+ "@stealthscale/hooks": "^0.1.0",
47
+ "@stealthscale/theme": "^0.3.0",
48
+ "@stealthscale/vite-config": "^0.6.0",
49
+ "@stealthscale/vite-config-i18n": "^0.1.0",
50
+ "@stealthscale/vite-config-react": "^0.8.0",
51
+ "@stealthscale/vite-config-specimen": "^0.1.0",
52
+ "@stealthscale/vite-config-theme": "^0.1.0",
53
+ "@stealthscale/vite-config-typescript": "^0.3.0",
54
+ "@testing-library/react": "^16.3",
55
+ "@types/react": "^19.3",
56
+ "@types/react-dom": "^19.3",
57
+ "happy-dom": "^20.14",
58
+ "lucide-react": "^1.48",
59
+ "oxc-transform-react": "^0.151",
60
+ "publint": "^0.3",
61
+ "react": "^19.3",
62
+ "react-dom": "^19.3",
63
+ "typescript": "^7.0",
64
+ "vitest": "5.0.1"
65
+ },
66
+ "peerDependencies": {
67
+ "@stealthscale/component-disclosure": "^0.1.0",
68
+ "@stealthscale/component-primitives": "^0.1.0",
69
+ "@stealthscale/hooks": "^0.1.0",
70
+ "@stealthscale/theme": "^0.3.0",
71
+ "react": "^19.3",
72
+ "react-dom": "^19.3"
73
+ },
74
+ "engines": {
75
+ "node": ">=26.0.0"
76
+ },
77
+ "scripts": {
78
+ "build": "vp pack",
79
+ "check": "vp check",
80
+ "test": "vp test"
81
+ }
82
+ }