@vadimcomanescu/nadicode-design-system 2.0.5 → 2.0.7
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/.agents/skills/seed/contract.md +1 -0
- package/.agents/skills/seed/recipes/marketing-shell.md +10 -19
- package/.agents/skills/seed/recipes/navigation-shell.md +5 -5
- package/.agents/skills/seed/recipes/service-detail.md +1 -1
- package/.agents/skills/seed/references/blocks.md +25 -24
- package/.agents/skills/seed/references/brand-override.md +3 -1
- package/css/tokens.css +300 -122
- package/dist/catalog.json +1926 -125
- package/dist/chunk-2BADJLMV.js +117 -0
- package/dist/chunk-35EX5FP5.js +106 -0
- package/dist/chunk-5PORR6LE.js +60 -0
- package/dist/chunk-5PZ4VR2D.js +142 -0
- package/dist/chunk-5UESKK6S.js +76 -0
- package/dist/chunk-6N6CSJVE.js +269 -0
- package/dist/chunk-AURJQZC4.js +110 -0
- package/dist/{chunk-DF47R6LN.js → chunk-AWIG4QN6.js} +9 -9
- package/dist/chunk-AYWL4IYM.js +67 -0
- package/dist/{chunk-SV3KZ6CB.js → chunk-DSMGCFMJ.js} +7 -2
- package/dist/chunk-E4L6LR6P.js +33 -0
- package/dist/chunk-EJNF6JLL.js +105 -0
- package/dist/chunk-FX23F33E.js +57 -0
- package/dist/chunk-GJPTPLCQ.js +52 -0
- package/dist/chunk-GV4PKHG4.js +147 -0
- package/dist/chunk-HJ3A2YNO.js +163 -0
- package/dist/chunk-HJZRSPWB.js +38 -0
- package/dist/chunk-IDKZEPWK.js +133 -0
- package/dist/chunk-K7NQ6ZAW.js +84 -0
- package/dist/chunk-LCKLZ4XK.js +60 -0
- package/dist/chunk-MX5FUFQR.js +205 -0
- package/dist/chunk-NEHCPO53.js +44 -0
- package/dist/chunk-OHOOQUVJ.js +113 -0
- package/dist/chunk-QIHA7S3A.js +36 -0
- package/dist/chunk-RKQPU75I.js +126 -0
- package/dist/chunk-RMLS2QUC.js +77 -0
- package/dist/chunk-TS2JSPQR.js +120 -0
- package/dist/chunk-TUKZKU72.js +110 -0
- package/dist/chunk-TZXZFSD2.js +33 -0
- package/dist/chunk-UGV45DH3.js +18 -0
- package/dist/chunk-VBZQ4DBE.js +52 -0
- package/dist/{chunk-LQLFA2EL.js → chunk-VDONTZZX.js} +2 -2
- package/dist/{chunk-RWNJ54CI.js → chunk-VN475YZS.js} +1 -1
- package/dist/chunk-VZCB4APK.js +94 -0
- package/dist/chunk-W7FXDRQJ.js +94 -0
- package/dist/chunk-WAVU744B.js +183 -0
- package/dist/{chunk-5I3FWRC5.js → chunk-WOYBVPXK.js} +10 -10
- package/dist/chunk-WST5NLLC.js +73 -0
- package/dist/chunk-X6VXWEDO.js +125 -0
- package/dist/chunk-ZM2NODUK.js +39 -0
- package/dist/components/blocks/AccountLockedBlock.js +7 -57
- package/dist/components/blocks/ActivityFeedBlock.js +6 -39
- package/dist/components/blocks/AgentConversationBlock.js +5 -33
- package/dist/components/blocks/AudioVisualizerBlock.d.ts +1 -1
- package/dist/components/blocks/AudioVisualizerBlock.js +2 -2
- package/dist/components/blocks/AuthSuccessBlock.js +5 -60
- package/dist/components/blocks/BarChartBlock.d.ts +1 -1
- package/dist/components/blocks/BarChartBlock.js +2 -2
- package/dist/components/blocks/CallToActionBlock.d.ts +1 -1
- package/dist/components/blocks/CallToActionBlock.js +6 -52
- package/dist/components/blocks/ChangelogBlock.js +8 -105
- package/dist/components/blocks/ChartCollectionBlock.js +2 -2
- package/dist/components/blocks/CodeBlock.js +7 -60
- package/dist/components/blocks/ComparisonBlock.js +9 -94
- package/dist/components/blocks/ContactBlock.js +11 -120
- package/dist/components/blocks/FAQBlock.js +6 -44
- package/dist/components/blocks/FeatureBlock.d.ts +10 -14
- package/dist/components/blocks/FeatureBlock.js +17 -159
- package/dist/components/blocks/FeatureGridBlock.d.ts +1 -1
- package/dist/components/blocks/FeatureGridBlock.js +2 -2
- package/dist/components/blocks/FooterBlock.d.ts +2 -2
- package/dist/components/blocks/FooterBlock.js +11 -67
- package/dist/components/blocks/HeaderBlock.d.ts +2 -2
- package/dist/components/blocks/HeaderBlock.js +1 -1
- package/dist/components/blocks/HeatmapChartBlock.d.ts +1 -1
- package/dist/components/blocks/HeatmapChartBlock.js +1 -1
- package/dist/components/blocks/HeroBlock.d.ts +6 -3
- package/dist/components/blocks/HeroBlock.js +16 -199
- package/dist/components/blocks/HeroSectionBlock.d.ts +1 -1
- package/dist/components/blocks/HeroSectionBlock.js +4 -4
- package/dist/components/blocks/IntegrationsBlock.d.ts +1 -1
- package/dist/components/blocks/IntegrationsBlock.js +4 -4
- package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +1 -1
- package/dist/components/blocks/InteractiveAreaChartBlock.js +2 -2
- package/dist/components/blocks/NewsletterBlock.js +11 -84
- package/dist/components/blocks/PasswordRecoveryBlock.js +14 -142
- package/dist/components/blocks/PricingBlock.d.ts +1 -1
- package/dist/components/blocks/PricingBlock.js +11 -110
- package/dist/components/blocks/ProcessFlowBlock.js +10 -77
- package/dist/components/blocks/ResetPasswordBlock.js +11 -125
- package/dist/components/blocks/SignUpBlock.d.ts +1 -1
- package/dist/components/blocks/SignUpBlock.js +2 -2
- package/dist/components/blocks/SocialProofBlock.d.ts +7 -11
- package/dist/components/blocks/SocialProofBlock.js +8 -107
- package/dist/components/blocks/StatsBlock.d.ts +1 -1
- package/dist/components/blocks/StatsBlock.js +2 -2
- package/dist/components/blocks/StatsMarketingBlock.d.ts +1 -1
- package/dist/components/blocks/StatsMarketingBlock.js +5 -36
- package/dist/components/blocks/TeamBlock.d.ts +1 -1
- package/dist/components/blocks/TeamBlock.js +4 -52
- package/dist/components/blocks/TestimonialsBlock.d.ts +1 -1
- package/dist/components/blocks/TestimonialsBlock.js +4 -133
- package/dist/components/blocks/TwoFactorChallengeBlock.js +9 -94
- package/dist/components/blocks/TwoFactorSetupBlock.js +16 -183
- package/dist/components/blocks/UsageDonutBlock.d.ts +1 -1
- package/dist/components/blocks/UsageDonutBlock.js +2 -2
- package/dist/components/logos/index.js +2 -2
- package/dist/components/page-kits/AccountLockedPageKit.d.ts +10 -0
- package/dist/components/page-kits/AccountLockedPageKit.js +48 -0
- package/dist/components/page-kits/AgentsChatPageKit.d.ts +46 -0
- package/dist/components/page-kits/AgentsChatPageKit.js +289 -0
- package/dist/components/page-kits/AnalyticsPageKit.d.ts +49 -0
- package/dist/components/page-kits/AnalyticsPageKit.js +277 -0
- package/dist/components/page-kits/BlogContentPageKit.d.ts +64 -0
- package/dist/components/page-kits/BlogContentPageKit.js +296 -0
- package/dist/components/page-kits/CheckoutPageKit.d.ts +36 -0
- package/dist/components/page-kits/CheckoutPageKit.js +209 -0
- package/dist/components/page-kits/CompanySuitePageKit.d.ts +25 -0
- package/dist/components/page-kits/CompanySuitePageKit.js +240 -0
- package/dist/components/page-kits/CrudFormPageKit.d.ts +54 -0
- package/dist/components/page-kits/CrudFormPageKit.js +138 -0
- package/dist/components/page-kits/CrudListDetailPageKit.d.ts +70 -0
- package/dist/components/page-kits/CrudListDetailPageKit.js +138 -0
- package/dist/components/page-kits/DashboardPageKit.d.ts +39 -0
- package/dist/components/page-kits/DashboardPageKit.js +284 -0
- package/dist/components/page-kits/ErrorPageKit.d.ts +22 -0
- package/dist/components/page-kits/ErrorPageKit.js +55 -0
- package/dist/components/page-kits/KanbanBoardPageKit.d.ts +31 -0
- package/dist/components/page-kits/KanbanBoardPageKit.js +305 -0
- package/dist/components/page-kits/LandingPageKit.d.ts +29 -0
- package/dist/components/page-kits/LandingPageKit.js +221 -0
- package/dist/components/page-kits/LoginPageKit.d.ts +16 -0
- package/dist/components/page-kits/LoginPageKit.js +43 -0
- package/dist/components/page-kits/MarketingShellPageKit.d.ts +21 -0
- package/dist/components/page-kits/MarketingShellPageKit.js +131 -0
- package/dist/components/page-kits/NavigationShellPageKit.d.ts +41 -0
- package/dist/components/page-kits/NavigationShellPageKit.js +132 -0
- package/dist/components/page-kits/OnboardingPageKit.d.ts +26 -0
- package/dist/components/page-kits/OnboardingPageKit.js +248 -0
- package/dist/components/page-kits/PricingPageKit.d.ts +41 -0
- package/dist/components/page-kits/PricingPageKit.js +279 -0
- package/dist/components/page-kits/ProfileSettingsPageKit.d.ts +50 -0
- package/dist/components/page-kits/ProfileSettingsPageKit.js +171 -0
- package/dist/components/page-kits/RecoveryPageKit.d.ts +17 -0
- package/dist/components/page-kits/RecoveryPageKit.js +58 -0
- package/dist/components/page-kits/ResetPageKit.d.ts +14 -0
- package/dist/components/page-kits/ResetPageKit.js +52 -0
- package/dist/components/page-kits/ServiceSuitePageKit.d.ts +25 -0
- package/dist/components/page-kits/ServiceSuitePageKit.js +320 -0
- package/dist/components/page-kits/SettingsPageKit.d.ts +27 -0
- package/dist/components/page-kits/SettingsPageKit.js +11 -0
- package/dist/components/page-kits/SignupPageKit.d.ts +15 -0
- package/dist/components/page-kits/SignupPageKit.js +41 -0
- package/dist/components/page-kits/SuccessPageKit.d.ts +15 -0
- package/dist/components/page-kits/SuccessPageKit.js +146 -0
- package/dist/components/page-kits/TeamSettingsPageKit.d.ts +50 -0
- package/dist/components/page-kits/TeamSettingsPageKit.js +297 -0
- package/dist/components/page-kits/TwoFactorPageKit.d.ts +16 -0
- package/dist/components/page-kits/TwoFactorPageKit.js +156 -0
- package/dist/components/page-kits/VerifyEmailPageKit.d.ts +15 -0
- package/dist/components/page-kits/VerifyEmailPageKit.js +146 -0
- package/dist/components/page-kits/VoiceAgentsPageKit.d.ts +35 -0
- package/dist/components/page-kits/VoiceAgentsPageKit.js +246 -0
- package/dist/components/ui/AudioWaveform.js +2 -76
- package/dist/components/ui/AvatarUpload.js +1 -1
- package/dist/components/ui/Breadcrumb.js +4 -106
- package/dist/components/ui/ChartCard.js +5 -38
- package/dist/components/ui/CheckoutFormDemo.js +5 -6
- package/dist/components/ui/DataFreshness.js +2 -73
- package/dist/components/ui/MouseEffect.js +1 -1
- package/dist/components/ui/NativeSelect.js +2 -18
- package/dist/components/ui/Pagination.js +6 -117
- package/dist/components/ui/ShaderBackground.js +2 -2
- package/dist/hooks/use-shader-preset.js +2 -2
- package/dist/lib/shader-presets.js +1 -1
- package/dist/lib/tokens.config.d.ts +19 -0
- package/package.json +793 -681
- package/scripts/ds-check.mjs +10 -2
- package/src/lib/tokens.config.js +63 -41
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { AgentConversationBlock } from '../../chunk-TZXZFSD2.js';
|
|
2
|
+
import '../../chunk-MLUSJTS2.js';
|
|
3
|
+
import { Typography } from '../../chunk-N53OMWW2.js';
|
|
4
|
+
import '../../chunk-ZHTQF2KI.js';
|
|
5
|
+
import { Heading } from '../../chunk-WI547C47.js';
|
|
6
|
+
import { Input } from '../../chunk-AP3XXYAY.js';
|
|
7
|
+
import '../../chunk-LIBXYD5Q.js';
|
|
8
|
+
import { Card, CardContent, CardHeader, CardTitle } from '../../chunk-AH6YSYYT.js';
|
|
9
|
+
import { AudioWaveform } from '../../chunk-5UESKK6S.js';
|
|
10
|
+
import { Button } from '../../chunk-7KIDDF3I.js';
|
|
11
|
+
import '../../chunk-PD2YEH3H.js';
|
|
12
|
+
import '../../chunk-CRY67BIF.js';
|
|
13
|
+
import '../../chunk-HJC6U46F.js';
|
|
14
|
+
import '../../chunk-AUSYEAIJ.js';
|
|
15
|
+
import '../../chunk-GO35FTNJ.js';
|
|
16
|
+
import '../../chunk-PSVQ7ZNX.js';
|
|
17
|
+
import '../../chunk-FLF5AMNO.js';
|
|
18
|
+
import '../../chunk-WFJQ43SM.js';
|
|
19
|
+
import '../../chunk-S4GKGKON.js';
|
|
20
|
+
import '../../chunk-LCDDAE7J.js';
|
|
21
|
+
import '../../chunk-R674XI7C.js';
|
|
22
|
+
import '../../chunk-WUO7OONN.js';
|
|
23
|
+
import '../../chunk-BPCCTJSK.js';
|
|
24
|
+
import '../../chunk-CGUCH322.js';
|
|
25
|
+
import '../../chunk-ELKIUARM.js';
|
|
26
|
+
import '../../chunk-ZU2GYVAP.js';
|
|
27
|
+
import '../../chunk-KSHJQ2VT.js';
|
|
28
|
+
import '../../chunk-3CLXYQKB.js';
|
|
29
|
+
import '../../chunk-JHQ5NMLZ.js';
|
|
30
|
+
import '../../chunk-CRZ2JE24.js';
|
|
31
|
+
import '../../chunk-TXGANOAX.js';
|
|
32
|
+
import '../../chunk-OITJWGFV.js';
|
|
33
|
+
import '../../chunk-Z74D6D2W.js';
|
|
34
|
+
import '../../chunk-HNY45VUQ.js';
|
|
35
|
+
import '../../chunk-IJJI4RQU.js';
|
|
36
|
+
import '../../chunk-E7RBK6ML.js';
|
|
37
|
+
import '../../chunk-UBIGDGOP.js';
|
|
38
|
+
import '../../chunk-Q7LVUGFL.js';
|
|
39
|
+
import '../../chunk-ALMGJVMT.js';
|
|
40
|
+
import '../../chunk-QPXTBZWN.js';
|
|
41
|
+
import '../../chunk-GAKU7DFY.js';
|
|
42
|
+
import '../../chunk-T6BRD7TS.js';
|
|
43
|
+
import '../../chunk-R5XP45PD.js';
|
|
44
|
+
import '../../chunk-G5EO5FWC.js';
|
|
45
|
+
import '../../chunk-NCULQXJE.js';
|
|
46
|
+
import '../../chunk-VDYPDMYR.js';
|
|
47
|
+
import '../../chunk-WDGIQDQG.js';
|
|
48
|
+
import '../../chunk-WKRIKCJC.js';
|
|
49
|
+
import '../../chunk-7WDT2PRI.js';
|
|
50
|
+
import '../../chunk-AP5Y5M3R.js';
|
|
51
|
+
import '../../chunk-JZ4G2SJH.js';
|
|
52
|
+
import '../../chunk-KYGKJ553.js';
|
|
53
|
+
import '../../chunk-M7YSMMAC.js';
|
|
54
|
+
import '../../chunk-XQ2UDMPO.js';
|
|
55
|
+
import '../../chunk-JMCSAGZ3.js';
|
|
56
|
+
import '../../chunk-QUKDUSHD.js';
|
|
57
|
+
import '../../chunk-4NXZIMYZ.js';
|
|
58
|
+
import '../../chunk-TBKJ34BB.js';
|
|
59
|
+
import '../../chunk-2IZC7HSV.js';
|
|
60
|
+
import '../../chunk-2SDZMTB2.js';
|
|
61
|
+
import '../../chunk-R3AO6AZM.js';
|
|
62
|
+
import '../../chunk-RYOTIXZO.js';
|
|
63
|
+
import '../../chunk-W3B3UOEG.js';
|
|
64
|
+
import '../../chunk-ACRVOD7W.js';
|
|
65
|
+
import '../../chunk-QSU23VYZ.js';
|
|
66
|
+
import '../../chunk-BJYCQ2NV.js';
|
|
67
|
+
import '../../chunk-VM462WZC.js';
|
|
68
|
+
import '../../chunk-O74AEVHW.js';
|
|
69
|
+
import '../../chunk-ZUHIWALK.js';
|
|
70
|
+
import '../../chunk-5UZDOF6V.js';
|
|
71
|
+
import '../../chunk-PKVTEDKO.js';
|
|
72
|
+
import '../../chunk-I3TH7PIB.js';
|
|
73
|
+
import '../../chunk-WGPK3FQ7.js';
|
|
74
|
+
import '../../chunk-JL4MVVFH.js';
|
|
75
|
+
import '../../chunk-IQEBXXB5.js';
|
|
76
|
+
import '../../chunk-AZUJNRQU.js';
|
|
77
|
+
import '../../chunk-WA45EC4Y.js';
|
|
78
|
+
import '../../chunk-2MOEOEOI.js';
|
|
79
|
+
import '../../chunk-5LCXASRW.js';
|
|
80
|
+
import '../../chunk-2ZJVU7NV.js';
|
|
81
|
+
import '../../chunk-5ESF6N36.js';
|
|
82
|
+
import '../../chunk-RBPLOM3A.js';
|
|
83
|
+
import '../../chunk-GCUTJI7M.js';
|
|
84
|
+
import '../../chunk-2NT57K4U.js';
|
|
85
|
+
import '../../chunk-6G3RRWJT.js';
|
|
86
|
+
import '../../chunk-JRJGSNI4.js';
|
|
87
|
+
import '../../chunk-RF6ECFS5.js';
|
|
88
|
+
import '../../chunk-TV4RSQH4.js';
|
|
89
|
+
import '../../chunk-4FEAWXJD.js';
|
|
90
|
+
import '../../chunk-JHQTKMKG.js';
|
|
91
|
+
import '../../chunk-CI7GPGCJ.js';
|
|
92
|
+
import '../../chunk-226EBOTK.js';
|
|
93
|
+
import '../../chunk-G5YLGJXR.js';
|
|
94
|
+
import '../../chunk-G24VV5NO.js';
|
|
95
|
+
import '../../chunk-6BAV4TZ5.js';
|
|
96
|
+
import '../../chunk-SW6QPJM4.js';
|
|
97
|
+
import '../../chunk-V6WNRZT3.js';
|
|
98
|
+
import '../../chunk-JBK2LA6U.js';
|
|
99
|
+
import '../../chunk-55U27XY4.js';
|
|
100
|
+
import '../../chunk-LSPO6OBI.js';
|
|
101
|
+
import '../../chunk-Y56WBNCY.js';
|
|
102
|
+
import '../../chunk-KYZT3RNW.js';
|
|
103
|
+
import '../../chunk-UEG2LI7Z.js';
|
|
104
|
+
import '../../chunk-JJTQOH7J.js';
|
|
105
|
+
import '../../chunk-72X6SXOX.js';
|
|
106
|
+
import '../../chunk-SR5U52V3.js';
|
|
107
|
+
import '../../chunk-74RKVIBV.js';
|
|
108
|
+
import '../../chunk-AWIJHDNK.js';
|
|
109
|
+
import '../../chunk-BRP6D56U.js';
|
|
110
|
+
import '../../chunk-S733NAYS.js';
|
|
111
|
+
import '../../chunk-MAUTIHQG.js';
|
|
112
|
+
import '../../chunk-666N6OTL.js';
|
|
113
|
+
import '../../chunk-FMH55OKV.js';
|
|
114
|
+
import '../../chunk-WXVNTJIB.js';
|
|
115
|
+
import '../../chunk-CXACRCZ4.js';
|
|
116
|
+
import '../../chunk-T7H53CK2.js';
|
|
117
|
+
import '../../chunk-BFLN54VR.js';
|
|
118
|
+
import '../../chunk-P6IRHPFM.js';
|
|
119
|
+
import '../../chunk-SXHYB7JB.js';
|
|
120
|
+
import '../../chunk-ONGJ7AC2.js';
|
|
121
|
+
import '../../chunk-UHXGBV5N.js';
|
|
122
|
+
import '../../chunk-UIUMTURU.js';
|
|
123
|
+
import '../../chunk-PRUXIDBD.js';
|
|
124
|
+
import '../../chunk-NURPUVUV.js';
|
|
125
|
+
import { Badge } from '../../chunk-S4JAHKOP.js';
|
|
126
|
+
import '../../chunk-HJBXUXTD.js';
|
|
127
|
+
import '../../chunk-ASKFAYYR.js';
|
|
128
|
+
import { cn } from '../../chunk-QYZT24TS.js';
|
|
129
|
+
import { useMemo } from 'react';
|
|
130
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
131
|
+
|
|
132
|
+
var EMPTY_MESSAGES = [];
|
|
133
|
+
function presenceLabel(state) {
|
|
134
|
+
switch (state) {
|
|
135
|
+
case "listening":
|
|
136
|
+
return "Listening";
|
|
137
|
+
case "speaking":
|
|
138
|
+
return "Speaking";
|
|
139
|
+
case "idle":
|
|
140
|
+
return "Idle";
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
function VoiceAgentsPageKit({
|
|
144
|
+
state = "agent-selection",
|
|
145
|
+
agents,
|
|
146
|
+
selectedAgentId,
|
|
147
|
+
presenceState = "idle",
|
|
148
|
+
messages = EMPTY_MESSAGES,
|
|
149
|
+
streamingReply,
|
|
150
|
+
composerValue = "",
|
|
151
|
+
composerPlaceholder = "Send a voice prompt...",
|
|
152
|
+
onComposerChange,
|
|
153
|
+
onSendMessage,
|
|
154
|
+
onSelectAgent,
|
|
155
|
+
onBackToSelection,
|
|
156
|
+
noAgentsMessage = "No voice agents are available right now.",
|
|
157
|
+
disconnectedMessage = "The selected agent is unavailable. Choose another agent.",
|
|
158
|
+
className
|
|
159
|
+
}) {
|
|
160
|
+
const selectedAgent = useMemo(
|
|
161
|
+
() => selectedAgentId ? agents.find((agent) => agent.id === selectedAgentId) : null,
|
|
162
|
+
[agents, selectedAgentId]
|
|
163
|
+
);
|
|
164
|
+
const normalizedMessages = useMemo(
|
|
165
|
+
() => messages.map((message) => ({
|
|
166
|
+
...message,
|
|
167
|
+
role: message.role === "assistant" ? "agent" : message.role
|
|
168
|
+
})),
|
|
169
|
+
[messages]
|
|
170
|
+
);
|
|
171
|
+
function handleSendMessage() {
|
|
172
|
+
const payload = composerValue.trim();
|
|
173
|
+
if (!payload) {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
onSendMessage?.(payload);
|
|
177
|
+
}
|
|
178
|
+
if (state === "agent-selection") {
|
|
179
|
+
return /* @__PURE__ */ jsxs("section", { className: cn("space-y-6", className), children: [
|
|
180
|
+
/* @__PURE__ */ jsxs("header", { className: "space-y-2", children: [
|
|
181
|
+
/* @__PURE__ */ jsx(Heading, { level: 3, children: "Voice agents" }),
|
|
182
|
+
/* @__PURE__ */ jsx(Typography, { variant: "muted", children: "Choose an agent to start a voice session." })
|
|
183
|
+
] }),
|
|
184
|
+
agents.length === 0 ? /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsx(CardContent, { className: "py-6", children: /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-text-secondary", children: noAgentsMessage }) }) }) : /* @__PURE__ */ jsx("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3", children: agents.map((agent) => /* @__PURE__ */ jsxs(Card, { children: [
|
|
185
|
+
/* @__PURE__ */ jsxs(CardHeader, { className: "space-y-2", children: [
|
|
186
|
+
/* @__PURE__ */ jsxs(CardTitle, { className: "flex items-center justify-between gap-2", children: [
|
|
187
|
+
/* @__PURE__ */ jsx("span", { children: agent.name }),
|
|
188
|
+
/* @__PURE__ */ jsx(Badge, { variant: agent.availability === "offline" ? "destructive" : "outline", children: agent.availability ?? "online" })
|
|
189
|
+
] }),
|
|
190
|
+
/* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-text-secondary", children: agent.role })
|
|
191
|
+
] }),
|
|
192
|
+
/* @__PURE__ */ jsx(CardContent, { className: "pt-0", children: /* @__PURE__ */ jsxs(Button, { type: "button", className: "w-full", onClick: () => onSelectAgent?.(agent.id), "aria-label": `Select ${agent.name}`, children: [
|
|
193
|
+
"Select ",
|
|
194
|
+
agent.name
|
|
195
|
+
] }) })
|
|
196
|
+
] }, agent.id)) })
|
|
197
|
+
] });
|
|
198
|
+
}
|
|
199
|
+
return /* @__PURE__ */ jsxs("section", { className: cn("space-y-6", className), children: [
|
|
200
|
+
/* @__PURE__ */ jsxs("header", { className: "space-y-2", children: [
|
|
201
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-2", children: [
|
|
202
|
+
/* @__PURE__ */ jsx(Heading, { level: 3, children: "Voice agents" }),
|
|
203
|
+
/* @__PURE__ */ jsx(Button, { type: "button", variant: "outline", onClick: onBackToSelection, children: "Back to agent selection" })
|
|
204
|
+
] }),
|
|
205
|
+
/* @__PURE__ */ jsx(Typography, { variant: "muted", children: selectedAgent ? `Active voice session with ${selectedAgent.name}.` : disconnectedMessage })
|
|
206
|
+
] }),
|
|
207
|
+
selectedAgent ? /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-3", children: [
|
|
208
|
+
/* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-medium text-text-primary", children: selectedAgent.name }),
|
|
209
|
+
/* @__PURE__ */ jsx(Badge, { variant: "outline", children: presenceLabel(presenceState) }),
|
|
210
|
+
/* @__PURE__ */ jsx(AudioWaveform, { active: presenceState === "speaking", bars: 20, size: "sm", variant: "accent" })
|
|
211
|
+
] }) : /* @__PURE__ */ jsx("div", { role: "alert", className: "rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive", children: disconnectedMessage }),
|
|
212
|
+
/* @__PURE__ */ jsxs(Card, { children: [
|
|
213
|
+
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Conversation" }) }),
|
|
214
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "space-y-3", children: [
|
|
215
|
+
/* @__PURE__ */ jsx(
|
|
216
|
+
AgentConversationBlock,
|
|
217
|
+
{
|
|
218
|
+
messages: normalizedMessages.length > 0 ? normalizedMessages : [{
|
|
219
|
+
id: "voice-empty",
|
|
220
|
+
role: "system",
|
|
221
|
+
content: "No messages yet. Start speaking to begin the session."
|
|
222
|
+
}]
|
|
223
|
+
}
|
|
224
|
+
),
|
|
225
|
+
streamingReply ? /* @__PURE__ */ jsxs("div", { className: "rounded-md border border-border/70 bg-surface/50 px-3 py-2", children: [
|
|
226
|
+
/* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-medium text-text-primary", children: "Streaming response" }),
|
|
227
|
+
/* @__PURE__ */ jsx(Typography, { variant: "small", className: "mt-1 text-text-secondary", children: streamingReply })
|
|
228
|
+
] }) : null,
|
|
229
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 sm:flex-row", children: [
|
|
230
|
+
/* @__PURE__ */ jsx(
|
|
231
|
+
Input,
|
|
232
|
+
{
|
|
233
|
+
"aria-label": "Voice composer",
|
|
234
|
+
value: composerValue,
|
|
235
|
+
placeholder: composerPlaceholder,
|
|
236
|
+
onChange: (event) => onComposerChange?.(event.target.value)
|
|
237
|
+
}
|
|
238
|
+
),
|
|
239
|
+
/* @__PURE__ */ jsx(Button, { type: "button", onClick: handleSendMessage, children: "Send voice message" })
|
|
240
|
+
] })
|
|
241
|
+
] })
|
|
242
|
+
] })
|
|
243
|
+
] });
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export { VoiceAgentsPageKit };
|
|
@@ -1,77 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import { cva } from 'class-variance-authority';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var audioWaveformVariants = cva(
|
|
8
|
-
"flex items-center",
|
|
9
|
-
{
|
|
10
|
-
variants: {
|
|
11
|
-
variant: {
|
|
12
|
-
default: "[--waveform-color:rgb(var(--color-text-primary))]",
|
|
13
|
-
accent: "[--waveform-color:rgb(var(--color-accent))]",
|
|
14
|
-
success: "[--waveform-color:rgb(var(--color-success))]"
|
|
15
|
-
},
|
|
16
|
-
size: {
|
|
17
|
-
sm: "h-4 gap-[2px]",
|
|
18
|
-
default: "h-8 gap-1",
|
|
19
|
-
lg: "h-12 gap-1.5"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
defaultVariants: {
|
|
23
|
-
variant: "default",
|
|
24
|
-
size: "default"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
function AudioWaveform({
|
|
29
|
-
className,
|
|
30
|
-
variant,
|
|
31
|
-
size,
|
|
32
|
-
bars = 24,
|
|
33
|
-
active = false,
|
|
34
|
-
barWidth = 3,
|
|
35
|
-
ref,
|
|
36
|
-
...props
|
|
37
|
-
}) {
|
|
38
|
-
const randomOffsetsRef = React.useRef(null);
|
|
39
|
-
if (randomOffsetsRef.current === null || randomOffsetsRef.current.length !== bars) {
|
|
40
|
-
randomOffsetsRef.current = Array.from({ length: bars }, (_, i) => (i * 7 + 3) % 20);
|
|
41
|
-
}
|
|
42
|
-
const randomOffsets = randomOffsetsRef.current;
|
|
43
|
-
return /* @__PURE__ */ jsx(
|
|
44
|
-
"div",
|
|
45
|
-
{
|
|
46
|
-
ref,
|
|
47
|
-
className: cn(audioWaveformVariants({ variant, size }), className),
|
|
48
|
-
role: "img",
|
|
49
|
-
"aria-label": active ? "Audio waveform active" : "Audio waveform inactive",
|
|
50
|
-
...props,
|
|
51
|
-
children: Array.from({ length: bars }).map((_, i) => {
|
|
52
|
-
const activeHeight = 20 + Math.sin(i * 0.7) * 60 + randomOffsets[i];
|
|
53
|
-
const activeOpacity = 0.6 + Math.sin(i * 0.5) * 0.4;
|
|
54
|
-
return /* @__PURE__ */ jsx(
|
|
55
|
-
"span",
|
|
56
|
-
{
|
|
57
|
-
className: cn(
|
|
58
|
-
"rounded-full bg-[var(--waveform-color)] transition-all",
|
|
59
|
-
active && "animate-pulse"
|
|
60
|
-
),
|
|
61
|
-
style: {
|
|
62
|
-
width: `${barWidth}px`,
|
|
63
|
-
height: active ? `${activeHeight.toFixed(3)}%` : "15%",
|
|
64
|
-
opacity: active ? activeOpacity.toFixed(6) : "0.300000",
|
|
65
|
-
animationDelay: `${i * 75}ms`,
|
|
66
|
-
animationDuration: `${600 + i % 5 * 200}ms`
|
|
67
|
-
},
|
|
68
|
-
"aria-hidden": "true"
|
|
69
|
-
},
|
|
70
|
-
i
|
|
71
|
-
);
|
|
72
|
-
})
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export { AudioWaveform, audioWaveformVariants };
|
|
2
|
+
export { AudioWaveform, audioWaveformVariants } from '../../chunk-5UESKK6S.js';
|
|
3
|
+
import '../../chunk-QYZT24TS.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '../../chunk-35EX5FP5.js';
|
|
2
3
|
import '../../chunk-GO35FTNJ.js';
|
|
3
4
|
import '../../chunk-PSVQ7ZNX.js';
|
|
4
5
|
import '../../chunk-FLF5AMNO.js';
|
|
@@ -65,7 +66,7 @@ import '../../chunk-WA45EC4Y.js';
|
|
|
65
66
|
import '../../chunk-2MOEOEOI.js';
|
|
66
67
|
import '../../chunk-5LCXASRW.js';
|
|
67
68
|
import '../../chunk-2ZJVU7NV.js';
|
|
68
|
-
import
|
|
69
|
+
import '../../chunk-5ESF6N36.js';
|
|
69
70
|
import '../../chunk-RBPLOM3A.js';
|
|
70
71
|
import '../../chunk-GCUTJI7M.js';
|
|
71
72
|
import '../../chunk-2NT57K4U.js';
|
|
@@ -78,7 +79,7 @@ import '../../chunk-JHQTKMKG.js';
|
|
|
78
79
|
import '../../chunk-CI7GPGCJ.js';
|
|
79
80
|
import '../../chunk-226EBOTK.js';
|
|
80
81
|
import '../../chunk-G5YLGJXR.js';
|
|
81
|
-
import
|
|
82
|
+
import '../../chunk-G24VV5NO.js';
|
|
82
83
|
import '../../chunk-6BAV4TZ5.js';
|
|
83
84
|
import '../../chunk-SW6QPJM4.js';
|
|
84
85
|
import '../../chunk-V6WNRZT3.js';
|
|
@@ -111,107 +112,4 @@ import '../../chunk-PRUXIDBD.js';
|
|
|
111
112
|
import '../../chunk-NURPUVUV.js';
|
|
112
113
|
import '../../chunk-HJBXUXTD.js';
|
|
113
114
|
import '../../chunk-ASKFAYYR.js';
|
|
114
|
-
import
|
|
115
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
116
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
117
|
-
|
|
118
|
-
function Breadcrumb({
|
|
119
|
-
ref,
|
|
120
|
-
...props
|
|
121
|
-
}) {
|
|
122
|
-
return /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props });
|
|
123
|
-
}
|
|
124
|
-
function BreadcrumbList({
|
|
125
|
-
className,
|
|
126
|
-
ref,
|
|
127
|
-
...props
|
|
128
|
-
}) {
|
|
129
|
-
return /* @__PURE__ */ jsx(
|
|
130
|
-
"ol",
|
|
131
|
-
{
|
|
132
|
-
ref,
|
|
133
|
-
className: cn(
|
|
134
|
-
"flex flex-wrap items-center gap-1.5 break-words text-sm text-text-tertiary sm:gap-2.5",
|
|
135
|
-
className
|
|
136
|
-
),
|
|
137
|
-
...props
|
|
138
|
-
}
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
function BreadcrumbItem({
|
|
142
|
-
className,
|
|
143
|
-
ref,
|
|
144
|
-
...props
|
|
145
|
-
}) {
|
|
146
|
-
return /* @__PURE__ */ jsx(
|
|
147
|
-
"li",
|
|
148
|
-
{
|
|
149
|
-
ref,
|
|
150
|
-
className: cn("inline-flex items-center gap-1.5", className),
|
|
151
|
-
...props
|
|
152
|
-
}
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
function BreadcrumbLink({
|
|
156
|
-
asChild,
|
|
157
|
-
className,
|
|
158
|
-
ref,
|
|
159
|
-
...props
|
|
160
|
-
}) {
|
|
161
|
-
const Comp = asChild ? Slot : "a";
|
|
162
|
-
return /* @__PURE__ */ jsx(
|
|
163
|
-
Comp,
|
|
164
|
-
{
|
|
165
|
-
ref,
|
|
166
|
-
className: cn("transition-colors duration-150 hover:text-text-primary hover:underline hover:decoration-accent/40 hover:underline-offset-4", className),
|
|
167
|
-
...props
|
|
168
|
-
}
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
function BreadcrumbPage({
|
|
172
|
-
className,
|
|
173
|
-
ref,
|
|
174
|
-
...props
|
|
175
|
-
}) {
|
|
176
|
-
return /* @__PURE__ */ jsx(
|
|
177
|
-
"span",
|
|
178
|
-
{
|
|
179
|
-
ref,
|
|
180
|
-
"aria-current": "page",
|
|
181
|
-
className: cn("font-medium text-text-primary", className),
|
|
182
|
-
...props
|
|
183
|
-
}
|
|
184
|
-
);
|
|
185
|
-
}
|
|
186
|
-
var BreadcrumbSeparator = ({
|
|
187
|
-
children,
|
|
188
|
-
className,
|
|
189
|
-
...props
|
|
190
|
-
}) => /* @__PURE__ */ jsx(
|
|
191
|
-
"li",
|
|
192
|
-
{
|
|
193
|
-
role: "presentation",
|
|
194
|
-
"aria-hidden": "true",
|
|
195
|
-
className: cn("[&>svg]:size-3.5", className),
|
|
196
|
-
...props,
|
|
197
|
-
children: children ?? /* @__PURE__ */ jsx(ChevronRightIcon, { size: 14 })
|
|
198
|
-
}
|
|
199
|
-
);
|
|
200
|
-
var BreadcrumbEllipsis = ({
|
|
201
|
-
className,
|
|
202
|
-
...props
|
|
203
|
-
}) => /* @__PURE__ */ jsxs(
|
|
204
|
-
"span",
|
|
205
|
-
{
|
|
206
|
-
role: "presentation",
|
|
207
|
-
"aria-hidden": "true",
|
|
208
|
-
className: cn("flex h-9 w-9 items-center justify-center rounded-md transition-colors duration-150 hover:bg-surface-hover", className),
|
|
209
|
-
...props,
|
|
210
|
-
children: [
|
|
211
|
-
/* @__PURE__ */ jsx(EllipsisIcon, { size: 16 }),
|
|
212
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "More" })
|
|
213
|
-
]
|
|
214
|
-
}
|
|
215
|
-
);
|
|
216
|
-
|
|
217
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
115
|
+
import '../../chunk-QYZT24TS.js';
|
|
@@ -1,42 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
export { ChartCard } from '../../chunk-HJZRSPWB.js';
|
|
3
|
+
import '../../chunk-RASEB2XI.js';
|
|
4
|
+
import '../../chunk-55HD4L6G.js';
|
|
5
|
+
import '../../chunk-AH6YSYYT.js';
|
|
5
6
|
import '../../chunk-PD2YEH3H.js';
|
|
6
7
|
import '../../chunk-CRY67BIF.js';
|
|
7
8
|
import '../../chunk-HJC6U46F.js';
|
|
8
|
-
import
|
|
9
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
|
-
|
|
11
|
-
function ChartCard({
|
|
12
|
-
title,
|
|
13
|
-
description,
|
|
14
|
-
action,
|
|
15
|
-
chart,
|
|
16
|
-
data,
|
|
17
|
-
loading = false,
|
|
18
|
-
emptyIcon,
|
|
19
|
-
emptyTitle,
|
|
20
|
-
emptyDescription,
|
|
21
|
-
emptyCta,
|
|
22
|
-
className,
|
|
23
|
-
ref
|
|
24
|
-
}) {
|
|
25
|
-
return /* @__PURE__ */ jsxs(Card, { ref, className: cn(className), children: [
|
|
26
|
-
/* @__PURE__ */ jsxs(CardHeader, { className: action ? "flex flex-row items-start justify-between space-y-0 pb-4" : void 0, children: [
|
|
27
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-1.5", children: [
|
|
28
|
-
/* @__PURE__ */ jsx(CardTitle, { children: title }),
|
|
29
|
-
!!description && /* @__PURE__ */ jsx(CardDescription, { children: description })
|
|
30
|
-
] }),
|
|
31
|
-
action
|
|
32
|
-
] }),
|
|
33
|
-
/* @__PURE__ */ jsx(CardContent, { children: loading ? /* @__PURE__ */ jsx(Skeleton, { className: "h-[300px] rounded-lg" }) : data.length === 0 ? /* @__PURE__ */ jsxs(Empty, { children: [
|
|
34
|
-
!!emptyIcon && /* @__PURE__ */ jsx(EmptyIcon, { children: emptyIcon }),
|
|
35
|
-
!!emptyTitle && /* @__PURE__ */ jsx(EmptyTitle, { children: emptyTitle }),
|
|
36
|
-
!!emptyDescription && /* @__PURE__ */ jsx(EmptyDescription, { children: emptyDescription }),
|
|
37
|
-
!!emptyCta && emptyCta
|
|
38
|
-
] }) : /* @__PURE__ */ jsx("div", { className: "chart-glow-bg", children: chart }) })
|
|
39
|
-
] });
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { ChartCard };
|
|
9
|
+
import '../../chunk-QYZT24TS.js';
|
|
@@ -130,16 +130,15 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
130
130
|
var colorTokens = {
|
|
131
131
|
dark: {
|
|
132
132
|
accent: {
|
|
133
|
-
DEFAULT: "#
|
|
133
|
+
DEFAULT: "#0A9E6F"},
|
|
134
134
|
destructive: {
|
|
135
|
-
DEFAULT: "#
|
|
135
|
+
DEFAULT: "#DC2626"},
|
|
136
136
|
text: {
|
|
137
|
-
primary: "#
|
|
138
|
-
|
|
139
|
-
secondary: "#E0E1E5"}},
|
|
137
|
+
primary: "#E2E8F0",
|
|
138
|
+
secondary: "#A0AEBA"}},
|
|
140
139
|
light: {
|
|
141
140
|
accent: {
|
|
142
|
-
DEFAULT: "#
|
|
141
|
+
DEFAULT: "#059669"},
|
|
143
142
|
destructive: {
|
|
144
143
|
DEFAULT: "#C62832"},
|
|
145
144
|
text: {
|
|
@@ -1,74 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import { formatDistanceToNow } from 'date-fns';
|
|
5
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var TICK_INTERVAL_MS = 3e4;
|
|
8
|
-
var listeners = [];
|
|
9
|
-
var tick = 0;
|
|
10
|
-
var intervalId = null;
|
|
11
|
-
function subscribe(callback) {
|
|
12
|
-
listeners = [...listeners, callback];
|
|
13
|
-
if (listeners.length === 1) {
|
|
14
|
-
intervalId = setInterval(() => {
|
|
15
|
-
tick++;
|
|
16
|
-
listeners.forEach((l) => l());
|
|
17
|
-
}, TICK_INTERVAL_MS);
|
|
18
|
-
}
|
|
19
|
-
return () => {
|
|
20
|
-
listeners = listeners.filter((l) => l !== callback);
|
|
21
|
-
if (listeners.length === 0 && intervalId !== null) {
|
|
22
|
-
clearInterval(intervalId);
|
|
23
|
-
intervalId = null;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
function getSnapshot() {
|
|
28
|
-
return tick;
|
|
29
|
-
}
|
|
30
|
-
function getServerSnapshot() {
|
|
31
|
-
return 0;
|
|
32
|
-
}
|
|
33
|
-
function DataFreshness({
|
|
34
|
-
lastUpdated,
|
|
35
|
-
isLive = false,
|
|
36
|
-
staleThresholdMs = 3e5,
|
|
37
|
-
className,
|
|
38
|
-
ref
|
|
39
|
-
}) {
|
|
40
|
-
React.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
41
|
-
const elapsedMs = Date.now() - lastUpdated.getTime();
|
|
42
|
-
const isStale = elapsedMs > staleThresholdMs;
|
|
43
|
-
const relativeTime = formatDistanceToNow(lastUpdated, { addSuffix: true });
|
|
44
|
-
let statusText;
|
|
45
|
-
if (isLive && !isStale) {
|
|
46
|
-
statusText = "Live";
|
|
47
|
-
} else if (isLive && isStale) {
|
|
48
|
-
statusText = `Stale \u2013 Updated ${relativeTime}`;
|
|
49
|
-
} else {
|
|
50
|
-
statusText = `Updated ${relativeTime}`;
|
|
51
|
-
}
|
|
52
|
-
return /* @__PURE__ */ jsxs(
|
|
53
|
-
"div",
|
|
54
|
-
{
|
|
55
|
-
ref,
|
|
56
|
-
className: cn("flex items-center gap-2", className),
|
|
57
|
-
children: [
|
|
58
|
-
isLive && /* @__PURE__ */ jsx(
|
|
59
|
-
"span",
|
|
60
|
-
{
|
|
61
|
-
"data-slot": "freshness-dot",
|
|
62
|
-
className: cn(
|
|
63
|
-
"size-2 shrink-0 rounded-full motion-reduce:animate-none",
|
|
64
|
-
isStale ? "bg-warning" : "bg-success animate-pulse"
|
|
65
|
-
)
|
|
66
|
-
}
|
|
67
|
-
),
|
|
68
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs text-text-tertiary", children: statusText })
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export { DataFreshness };
|
|
2
|
+
export { DataFreshness } from '../../chunk-WST5NLLC.js';
|
|
3
|
+
import '../../chunk-QYZT24TS.js';
|
|
@@ -1,19 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
function NativeSelect({ className, ref, ...props }) {
|
|
6
|
-
return /* @__PURE__ */ jsx(
|
|
7
|
-
"select",
|
|
8
|
-
{
|
|
9
|
-
ref,
|
|
10
|
-
className: cn(
|
|
11
|
-
"flex h-9 w-full rounded-md border border-border bg-surface px-4 py-1.5 text-sm shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent disabled:cursor-not-allowed disabled:opacity-50 text-text-primary appearance-none",
|
|
12
|
-
className
|
|
13
|
-
),
|
|
14
|
-
...props
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { NativeSelect };
|
|
2
|
+
export { NativeSelect } from '../../chunk-UGV45DH3.js';
|
|
3
|
+
import '../../chunk-QYZT24TS.js';
|