@aacpc/components 0.0.0 → 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 +21 -0
- package/README.md +21 -1
- package/dist/components/acp/agent-card.d.ts +26 -0
- package/dist/components/acp/agent-card.d.ts.map +1 -0
- package/dist/components/acp/agent-card.js +9 -0
- package/dist/components/acp/agent-card.js.map +1 -0
- package/dist/components/acp/agent-form.d.ts +19 -0
- package/dist/components/acp/agent-form.d.ts.map +1 -0
- package/dist/components/acp/agent-form.js +40 -0
- package/dist/components/acp/agent-form.js.map +1 -0
- package/dist/components/acp/chat-view.d.ts +11 -0
- package/dist/components/acp/chat-view.d.ts.map +1 -0
- package/dist/components/acp/chat-view.js +147 -0
- package/dist/components/acp/chat-view.js.map +1 -0
- package/dist/components/acp/composer.d.ts +11 -0
- package/dist/components/acp/composer.d.ts.map +1 -0
- package/dist/components/acp/composer.js +16 -0
- package/dist/components/acp/composer.js.map +1 -0
- package/dist/components/acp/cwd-picker.d.ts +18 -0
- package/dist/components/acp/cwd-picker.d.ts.map +1 -0
- package/dist/components/acp/cwd-picker.js +42 -0
- package/dist/components/acp/cwd-picker.js.map +1 -0
- package/dist/components/acp/elicitation.d.ts +27 -0
- package/dist/components/acp/elicitation.d.ts.map +1 -0
- package/dist/components/acp/elicitation.js +39 -0
- package/dist/components/acp/elicitation.js.map +1 -0
- package/dist/components/acp/index.d.ts +10 -0
- package/dist/components/acp/index.d.ts.map +1 -0
- package/dist/components/acp/index.js +10 -0
- package/dist/components/acp/index.js.map +1 -0
- package/dist/components/acp/markdown.d.ts +7 -0
- package/dist/components/acp/markdown.d.ts.map +1 -0
- package/dist/components/acp/markdown.js +10 -0
- package/dist/components/acp/markdown.js.map +1 -0
- package/dist/components/acp/session-config.d.ts +23 -0
- package/dist/components/acp/session-config.d.ts.map +1 -0
- package/dist/components/acp/session-config.js +14 -0
- package/dist/components/acp/session-config.js.map +1 -0
- package/dist/components/acp/types.d.ts +82 -0
- package/dist/components/acp/types.d.ts.map +1 -0
- package/dist/components/acp/types.js +2 -0
- package/dist/components/acp/types.js.map +1 -0
- package/dist/components/acp/use-typewriter.d.ts +10 -0
- package/dist/components/acp/use-typewriter.d.ts.map +1 -0
- package/dist/components/acp/use-typewriter.js +43 -0
- package/dist/components/acp/use-typewriter.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +23 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +39 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert.d.ts +11 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +28 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/attachment.d.ts +25 -0
- package/dist/components/ui/attachment.d.ts.map +1 -0
- package/dist/components/ui/attachment.js +67 -0
- package/dist/components/ui/attachment.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +11 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +25 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +32 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/bubble.d.ts +18 -0
- package/dist/components/ui/bubble.d.ts.map +1 -0
- package/dist/components/ui/bubble.js +58 -0
- package/dist/components/ui/bubble.js.map +1 -0
- package/dist/components/ui/button.d.ts +15 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +38 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/card.d.ts +12 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +25 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +9 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/code-block.d.ts +27 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +80 -0
- package/dist/components/ui/code-block.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +14 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/command.d.ts +28 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +36 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +22 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +32 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +49 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/empty.d.ts +12 -0
- package/dist/components/ui/empty.d.ts.map +1 -0
- package/dist/components/ui/empty.js +34 -0
- package/dist/components/ui/empty.js.map +1 -0
- package/dist/components/ui/field.d.ts +25 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/field.js +68 -0
- package/dist/components/ui/field.js.map +1 -0
- package/dist/components/ui/input-group.d.ts +20 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input-group.js +59 -0
- package/dist/components/ui/input-group.js.map +1 -0
- package/dist/components/ui/input.d.ts +5 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +9 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/item.d.ts +23 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/item.js +69 -0
- package/dist/components/ui/item.js.map +1 -0
- package/dist/components/ui/kbd.d.ts +4 -0
- package/dist/components/ui/kbd.d.ts.map +1 -0
- package/dist/components/ui/kbd.js +11 -0
- package/dist/components/ui/kbd.js.map +1 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +13 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/marker.d.ts +12 -0
- package/dist/components/ui/marker.d.ts.map +1 -0
- package/dist/components/ui/marker.js +33 -0
- package/dist/components/ui/marker.js.map +1 -0
- package/dist/components/ui/message-scroller.d.ts +11 -0
- package/dist/components/ui/message-scroller.d.ts.map +1 -0
- package/dist/components/ui/message-scroller.js +25 -0
- package/dist/components/ui/message-scroller.js.map +1 -0
- package/dist/components/ui/message.d.ts +11 -0
- package/dist/components/ui/message.d.ts.map +1 -0
- package/dist/components/ui/message.js +22 -0
- package/dist/components/ui/message.js.map +1 -0
- package/dist/components/ui/popover.d.ts +11 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +20 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.d.ts +14 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +38 -0
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +4 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +8 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.d.ts +25 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +46 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +9 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.d.ts +21 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +35 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +7 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/sonner.d.ts +4 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/sonner.js +26 -0
- package/dist/components/ui/sonner.js.map +1 -0
- package/dist/components/ui/spinner.d.ts +3 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +8 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.d.ts +6 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +9 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.d.ts +12 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +29 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +12 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +29 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +5 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +8 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +24 -0
- package/dist/components/ui/toggle-group.js.map +1 -0
- package/dist/components/ui/toggle.d.ts +9 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +26 -0
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +9 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +25 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/components/ui/trace.d.ts +28 -0
- package/dist/components/ui/trace.d.ts.map +1 -0
- package/dist/components/ui/trace.js +31 -0
- package/dist/components/ui/trace.js.map +1 -0
- package/dist/hooks/use-highlighted-code.d.ts +3 -0
- package/dist/hooks/use-highlighted-code.d.ts.map +1 -0
- package/dist/hooks/use-highlighted-code.js +50 -0
- package/dist/hooks/use-highlighted-code.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/highlighter.d.ts +10 -0
- package/dist/lib/highlighter.d.ts.map +1 -0
- package/dist/lib/highlighter.js +91 -0
- package/dist/lib/highlighter.js.map +1 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +2 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/styles.css +161 -0
- package/package.json +81 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,IAAI,CAAC"}
|
package/dist/styles.css
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@source "../**/*.{ts,tsx}";
|
|
3
|
+
@import "tw-animate-css";
|
|
4
|
+
@import "shadcn/tailwind.css";
|
|
5
|
+
@import "streamdown/styles.css";
|
|
6
|
+
@import "@fontsource-variable/noto-sans";
|
|
7
|
+
|
|
8
|
+
@custom-variant dark (&:is(.dark *));
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--background: oklch(1 0 0);
|
|
12
|
+
--foreground: oklch(0.141 0.005 285.823);
|
|
13
|
+
--card: oklch(1 0 0);
|
|
14
|
+
--card-foreground: oklch(0.141 0.005 285.823);
|
|
15
|
+
--popover: oklch(1 0 0);
|
|
16
|
+
--popover-foreground: oklch(0.141 0.005 285.823);
|
|
17
|
+
--primary: oklch(0.457 0.24 277.023);
|
|
18
|
+
--primary-foreground: oklch(0.962 0.018 272.314);
|
|
19
|
+
--secondary: oklch(0.967 0.001 286.375);
|
|
20
|
+
--secondary-foreground: oklch(0.21 0.006 285.885);
|
|
21
|
+
--muted: oklch(0.967 0.001 286.375);
|
|
22
|
+
--muted-foreground: oklch(0.552 0.016 285.938);
|
|
23
|
+
--accent: oklch(0.967 0.001 286.375);
|
|
24
|
+
--accent-foreground: oklch(0.21 0.006 285.885);
|
|
25
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
26
|
+
--border: oklch(0.92 0.004 286.32);
|
|
27
|
+
--input: oklch(0.92 0.004 286.32);
|
|
28
|
+
--ring: oklch(0.705 0.015 286.067);
|
|
29
|
+
--chart-1: oklch(0.809 0.105 251.813);
|
|
30
|
+
--chart-2: oklch(0.623 0.214 259.815);
|
|
31
|
+
--chart-3: oklch(0.546 0.245 262.881);
|
|
32
|
+
--chart-4: oklch(0.488 0.243 264.376);
|
|
33
|
+
--chart-5: oklch(0.424 0.199 265.638);
|
|
34
|
+
--radius: 0.625rem;
|
|
35
|
+
--sidebar: oklch(0.985 0 0);
|
|
36
|
+
--sidebar-foreground: oklch(0.141 0.005 285.823);
|
|
37
|
+
--sidebar-primary: oklch(0.511 0.262 276.966);
|
|
38
|
+
--sidebar-primary-foreground: oklch(0.962 0.018 272.314);
|
|
39
|
+
--sidebar-accent: oklch(0.967 0.001 286.375);
|
|
40
|
+
--sidebar-accent-foreground: oklch(0.21 0.006 285.885);
|
|
41
|
+
--sidebar-border: oklch(0.92 0.004 286.32);
|
|
42
|
+
--sidebar-ring: oklch(0.705 0.015 286.067);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.dark {
|
|
46
|
+
--background: oklch(0.141 0.005 285.823);
|
|
47
|
+
--foreground: oklch(0.985 0 0);
|
|
48
|
+
--card: oklch(0.21 0.006 285.885);
|
|
49
|
+
--card-foreground: oklch(0.985 0 0);
|
|
50
|
+
--popover: oklch(0.21 0.006 285.885);
|
|
51
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
52
|
+
--primary: oklch(0.398 0.195 277.366);
|
|
53
|
+
--primary-foreground: oklch(0.962 0.018 272.314);
|
|
54
|
+
--secondary: oklch(0.274 0.006 286.033);
|
|
55
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
56
|
+
--muted: oklch(0.274 0.006 286.033);
|
|
57
|
+
--muted-foreground: oklch(0.705 0.015 286.067);
|
|
58
|
+
--accent: oklch(0.274 0.006 286.033);
|
|
59
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
60
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
61
|
+
--border: oklch(1 0 0 / 10%);
|
|
62
|
+
--input: oklch(1 0 0 / 15%);
|
|
63
|
+
--ring: oklch(0.552 0.016 285.938);
|
|
64
|
+
--chart-1: oklch(0.809 0.105 251.813);
|
|
65
|
+
--chart-2: oklch(0.623 0.214 259.815);
|
|
66
|
+
--chart-3: oklch(0.546 0.245 262.881);
|
|
67
|
+
--chart-4: oklch(0.488 0.243 264.376);
|
|
68
|
+
--chart-5: oklch(0.424 0.199 265.638);
|
|
69
|
+
--sidebar: oklch(0.21 0.006 285.885);
|
|
70
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
71
|
+
--sidebar-primary: oklch(0.585 0.233 277.117);
|
|
72
|
+
--sidebar-primary-foreground: oklch(0.962 0.018 272.314);
|
|
73
|
+
--sidebar-accent: oklch(0.274 0.006 286.033);
|
|
74
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
75
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
76
|
+
--sidebar-ring: oklch(0.552 0.016 285.938);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@theme inline {
|
|
80
|
+
--font-sans: 'Noto Sans Variable', sans-serif;
|
|
81
|
+
--font-heading: 'Noto Sans Variable', sans-serif;
|
|
82
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
83
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
84
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
85
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
86
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
87
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
88
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
89
|
+
--color-sidebar: var(--sidebar);
|
|
90
|
+
--color-chart-5: var(--chart-5);
|
|
91
|
+
--color-chart-4: var(--chart-4);
|
|
92
|
+
--color-chart-3: var(--chart-3);
|
|
93
|
+
--color-chart-2: var(--chart-2);
|
|
94
|
+
--color-chart-1: var(--chart-1);
|
|
95
|
+
--color-ring: var(--ring);
|
|
96
|
+
--color-input: var(--input);
|
|
97
|
+
--color-border: var(--border);
|
|
98
|
+
--color-destructive: var(--destructive);
|
|
99
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
100
|
+
--color-accent: var(--accent);
|
|
101
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
102
|
+
--color-muted: var(--muted);
|
|
103
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
104
|
+
--color-secondary: var(--secondary);
|
|
105
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
106
|
+
--color-primary: var(--primary);
|
|
107
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
108
|
+
--color-popover: var(--popover);
|
|
109
|
+
--color-card-foreground: var(--card-foreground);
|
|
110
|
+
--color-card: var(--card);
|
|
111
|
+
--color-foreground: var(--foreground);
|
|
112
|
+
--color-background: var(--background);
|
|
113
|
+
--radius-sm: calc(var(--radius) * 0.6);
|
|
114
|
+
--radius-md: calc(var(--radius) * 0.8);
|
|
115
|
+
--radius-lg: var(--radius);
|
|
116
|
+
--radius-xl: calc(var(--radius) * 1.4);
|
|
117
|
+
--radius-2xl: calc(var(--radius) * 1.8);
|
|
118
|
+
--radius-3xl: calc(var(--radius) * 2.2);
|
|
119
|
+
--radius-4xl: calc(var(--radius) * 2.6);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@layer base {
|
|
123
|
+
* {
|
|
124
|
+
@apply border-border outline-ring/50;
|
|
125
|
+
}
|
|
126
|
+
body {
|
|
127
|
+
@apply bg-background text-foreground;
|
|
128
|
+
}
|
|
129
|
+
html {
|
|
130
|
+
@apply font-sans;
|
|
131
|
+
}
|
|
132
|
+
button:not(:disabled), [role="button"]:not(:disabled) {
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@keyframes loading {
|
|
138
|
+
from { transform: translateX(-100%); }
|
|
139
|
+
to { transform: translateX(300%); }
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
html {
|
|
143
|
+
-webkit-text-size-adjust: 100%;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
body {
|
|
147
|
+
min-height: 100dvh;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
img {
|
|
151
|
+
max-width: 100%;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* 移动端(<768px)密度优化:收紧卡片内边距与圆角,弱化“PC 后台压缩版”的空旷感。
|
|
155
|
+
未分层规则优先级高于 Tailwind utilities 层,因此可覆盖卡片默认的 --card-spacing 与圆角。 */
|
|
156
|
+
@media (max-width: 767px) {
|
|
157
|
+
[data-slot="card"] {
|
|
158
|
+
--card-spacing: 1rem;
|
|
159
|
+
border-radius: 1rem;
|
|
160
|
+
}
|
|
161
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aacpc/components",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "AACPC UI components — shadcn/ui (aria-maia)",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./styles.css": "./dist/styles.css",
|
|
13
|
+
"./ui/*": {
|
|
14
|
+
"types": "./dist/components/ui/*.d.ts",
|
|
15
|
+
"import": "./dist/components/ui/*.js"
|
|
16
|
+
},
|
|
17
|
+
"./components/*": {
|
|
18
|
+
"types": "./dist/components/*.d.ts",
|
|
19
|
+
"import": "./dist/components/*.js"
|
|
20
|
+
},
|
|
21
|
+
"./lib/*": {
|
|
22
|
+
"types": "./dist/lib/*.d.ts",
|
|
23
|
+
"import": "./dist/lib/*.js"
|
|
24
|
+
},
|
|
25
|
+
"./hooks/*": {
|
|
26
|
+
"types": "./dist/hooks/*.d.ts",
|
|
27
|
+
"import": "./dist/hooks/*.js"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc -p tsconfig.build.json && node -e \"const fs=require('fs');fs.mkdirSync('dist',{recursive:true});fs.copyFileSync('src/styles/globals.css','dist/styles.css')\" && node scripts/fix-esm-imports.mjs",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"lint": "oxlint src",
|
|
34
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,css}\""
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@shadcn/react": "^0.3.1",
|
|
38
|
+
"class-variance-authority": "^0.7.1",
|
|
39
|
+
"cn": "^0.5.2",
|
|
40
|
+
"lucide-react": "^1.87.0",
|
|
41
|
+
"next-themes": "^0.4.6",
|
|
42
|
+
"react-aria-components": "^1.23.0",
|
|
43
|
+
"shiki": "^4.6.0",
|
|
44
|
+
"sonner": "^2.0.8",
|
|
45
|
+
"streamdown": "^2.8.1"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"react": "^19.3.1",
|
|
49
|
+
"react-dom": "^19.3.1"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@fontsource-variable/noto-sans": "^5.3.0",
|
|
53
|
+
"@types/react": "^19.2.14",
|
|
54
|
+
"@types/react-dom": "^19.2.3",
|
|
55
|
+
"oxlint": "^1.96.0",
|
|
56
|
+
"prettier": "^3.10.2",
|
|
57
|
+
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
58
|
+
"shadcn": "^4.24.0",
|
|
59
|
+
"tailwindcss": "^4.3.5",
|
|
60
|
+
"tw-animate-css": "^1.4.0",
|
|
61
|
+
"typescript": "~7.0.2"
|
|
62
|
+
},
|
|
5
63
|
"license": "MIT",
|
|
64
|
+
"repository": {
|
|
65
|
+
"type": "git",
|
|
66
|
+
"url": "https://github.com/agentxis/aacpc.git",
|
|
67
|
+
"directory": "packages/components"
|
|
68
|
+
},
|
|
69
|
+
"homepage": "https://github.com/agentxis/aacpc#readme",
|
|
70
|
+
"bugs": {
|
|
71
|
+
"url": "https://github.com/agentxis/aacpc/issues"
|
|
72
|
+
},
|
|
73
|
+
"author": "AACPC contributors",
|
|
6
74
|
"publishConfig": {
|
|
7
75
|
"access": "public"
|
|
8
|
-
}
|
|
76
|
+
},
|
|
77
|
+
"main": "./dist/index.js",
|
|
78
|
+
"types": "./dist/index.d.ts",
|
|
79
|
+
"sideEffects": [
|
|
80
|
+
"**/*.css"
|
|
81
|
+
],
|
|
82
|
+
"files": [
|
|
83
|
+
"dist",
|
|
84
|
+
"README.md",
|
|
85
|
+
"LICENSE"
|
|
86
|
+
]
|
|
9
87
|
}
|