@ship-it-ui/shipit 0.0.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 ship-it-ops
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,36 @@
1
+ # @ship-it-ui/shipit
2
+
3
+ ShipIt-AI domain composites — built on `@ship-it-ui/ui`.
4
+
5
+ This package houses the components that are _specific_ to ShipIt's product
6
+ surface: the AI conversation primitives (AskBar, CopilotMessage,
7
+ ReasoningBlock, …), knowledge-graph chrome (GraphNode, GraphEdge, …), entity
8
+ displays (EntityBadge, EntityCard, …), and the marketing sections. The
9
+ generic primitives and patterns live in `@ship-it-ui/ui`.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ pnpm add @ship-it-ui/shipit
15
+ ```
16
+
17
+ `@ship-it-ui/shipit` peer-depends on `@ship-it-ui/ui` (which carries `react`,
18
+ `react-dom`, and Radix transitively). Apps consume the same `globals.css`
19
+ they already pull from `@ship-it-ui/ui`.
20
+
21
+ ## Usage
22
+
23
+ ```tsx
24
+ import { AskBar, CopilotMessage } from '@ship-it-ui/shipit';
25
+
26
+ export function Chat() {
27
+ return (
28
+ <div className="flex flex-col gap-3">
29
+ <AskBar onSubmit={(q) => console.log(q)} placeholder="Ask anything…" />
30
+ <CopilotMessage role="assistant">…</CopilotMessage>
31
+ </div>
32
+ );
33
+ }
34
+ ```
35
+
36
+ See Storybook (`apps/docs`) for the full surface area.