@vadimcomanescu/nadicode-design-system 2.0.6 → 2.0.8
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/SKILL.md +17 -8
- package/.agents/skills/seed/contract.md +5 -4
- package/.agents/skills/seed/intent-map.md +3 -3
- package/.agents/skills/seed/recipes/agents-chat.md +44 -20
- 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 +30 -26
- package/.agents/skills/seed/references/brand-override.md +3 -1
- package/.agents/skills/seed/references/components.md +22 -2
- package/.agents/skills/seed/references/dashboard-patterns.md +12 -12
- package/.agents/skills/seed/references/nextjs.md +20 -80
- package/.agents/skills/seed/references/tokens.md +57 -248
- package/README.md +43 -215
- package/contracts/block-props-schemas.json +2186 -0
- package/contracts/component-props-schemas.json +8322 -0
- package/contracts/consumer-contract.json +178 -0
- package/contracts/consumer-intent-map.json +707 -0
- package/contracts/message-catalog-contract.json +820 -0
- package/contracts/page-kit-props-schemas.json +1894 -0
- package/contracts/public-surface-registry.json +6162 -0
- package/contracts/public-surface-registry.schema.json +227 -0
- package/contracts/release-governance-baseline.json +850 -0
- package/contracts/spec-manifest.json +46 -0
- package/css/tokens.css +300 -122
- package/dist/catalog.json +2166 -162
- package/dist/chunk-2BADJLMV.js +117 -0
- package/dist/chunk-35EX5FP5.js +106 -0
- package/dist/chunk-4IGBBIYW.js +47 -0
- package/dist/chunk-4WPZ6T7V.js +186 -0
- package/dist/chunk-5PZ4VR2D.js +142 -0
- package/dist/chunk-5UESKK6S.js +76 -0
- package/dist/chunk-7A2RXKGH.js +205 -0
- package/dist/{chunk-DF47R6LN.js → chunk-AWIG4QN6.js} +9 -9
- package/dist/chunk-AYWL4IYM.js +67 -0
- package/dist/chunk-C7WHMSF3.js +114 -0
- package/dist/{chunk-SV3KZ6CB.js → chunk-DSMGCFMJ.js} +7 -2
- package/dist/{chunk-4K3PATUT.js → chunk-EEL4RAPC.js} +13 -1
- package/dist/{chunk-ILIHQ2KZ.js → chunk-EK43W2Y6.js} +16 -10
- package/dist/chunk-FV2G6SAF.js +134 -0
- package/dist/chunk-FX23F33E.js +57 -0
- package/dist/chunk-GJPTPLCQ.js +52 -0
- package/dist/chunk-HJ3A2YNO.js +163 -0
- package/dist/chunk-HJZRSPWB.js +38 -0
- package/dist/chunk-HWHJ6IRQ.js +78 -0
- package/dist/chunk-HZERHGBT.js +77 -0
- package/dist/{chunk-AUSYEAIJ.js → chunk-I66XWYSS.js} +32 -8
- package/dist/chunk-IXQGKJU4.js +183 -0
- package/dist/chunk-JDJY4ABS.js +60 -0
- package/dist/chunk-K7NQ6ZAW.js +84 -0
- package/dist/chunk-KWILREVQ.js +147 -0
- package/dist/chunk-LCKLZ4XK.js +60 -0
- package/dist/{chunk-WI37ZYIF.js → chunk-M4XKO45H.js} +13 -1
- package/dist/chunk-NEHCPO53.js +44 -0
- package/dist/chunk-OJ7OO3QB.js +269 -0
- package/dist/{chunk-ZHTQF2KI.js → chunk-OSNTB6RY.js} +29 -22
- package/dist/{chunk-GMMPLZLC.js → chunk-PDSQC6VE.js} +1 -1
- package/dist/chunk-QIHA7S3A.js +36 -0
- package/dist/chunk-QQOWC53X.js +98 -0
- package/dist/chunk-RKQPU75I.js +126 -0
- package/dist/chunk-U4GYSYGN.js +120 -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-VEO56RH4.js +105 -0
- package/dist/chunk-VJ5VD4UT.js +91 -0
- package/dist/{chunk-RWNJ54CI.js → chunk-VN475YZS.js} +1 -1
- package/dist/chunk-VNNAL4A6.js +110 -0
- package/dist/chunk-VZCB4APK.js +94 -0
- package/dist/chunk-W7FXDRQJ.js +94 -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-XTASI4IY.js +60 -0
- package/dist/chunk-Z233ZQZE.js +33 -0
- package/dist/chunk-ZKLB5N3Q.js +110 -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.d.ts +6 -1
- package/dist/components/blocks/AgentConversationBlock.js +45 -71
- package/dist/components/blocks/AgentRunOverviewBlock.js +1 -1
- package/dist/components/blocks/AgentWorkbenchBlock.d.ts +5 -1
- package/dist/components/blocks/AgentWorkbenchBlock.js +47 -46
- package/dist/components/blocks/AudioVisualizerBlock.d.ts +1 -1
- package/dist/components/blocks/AudioVisualizerBlock.js +2 -2
- package/dist/components/blocks/AuthLayout.js +2 -2
- package/dist/components/blocks/AuthSuccessBlock.js +5 -60
- package/dist/components/blocks/BannerBlock.js +38 -38
- 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 +7 -53
- package/dist/components/blocks/ChangelogBlock.js +45 -142
- package/dist/components/blocks/ChartBlock.js +38 -38
- package/dist/components/blocks/ChartCollectionBlock.js +3 -3
- package/dist/components/blocks/ChatLayout.d.ts +4 -1
- package/dist/components/blocks/ChatLayout.js +39 -39
- 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/CreateBlock.js +39 -39
- package/dist/components/blocks/DataGridBlock.js +40 -40
- package/dist/components/blocks/DirectoryBlock.js +43 -43
- package/dist/components/blocks/FAQBlock.js +44 -82
- package/dist/components/blocks/FeatureBlock.d.ts +10 -14
- package/dist/components/blocks/FeatureBlock.js +54 -196
- 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/GalleryBlock.js +38 -38
- package/dist/components/blocks/HeaderBlock.d.ts +2 -2
- package/dist/components/blocks/HeaderBlock.js +39 -39
- 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 +53 -236
- package/dist/components/blocks/HeroSectionBlock.d.ts +1 -1
- package/dist/components/blocks/HeroSectionBlock.js +59 -63
- package/dist/components/blocks/IntegrationsBlock.d.ts +1 -1
- package/dist/components/blocks/IntegrationsBlock.js +42 -42
- package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +1 -1
- package/dist/components/blocks/InteractiveAreaChartBlock.js +40 -40
- package/dist/components/blocks/KanbanDemoBlock.js +3 -3
- package/dist/components/blocks/LoginBlock.js +2 -2
- package/dist/components/blocks/LogoCloud.js +2 -13
- package/dist/components/blocks/NavUser.js +42 -42
- package/dist/components/blocks/NewsletterBlock.js +11 -84
- package/dist/components/blocks/NotFoundBlock.js +41 -41
- package/dist/components/blocks/OnboardingBlock.js +38 -38
- package/dist/components/blocks/PasswordRecoveryBlock.js +14 -142
- package/dist/components/blocks/PricingBlock.d.ts +1 -1
- package/dist/components/blocks/PricingBlock.js +13 -112
- package/dist/components/blocks/ProcessFlowBlock.js +10 -77
- package/dist/components/blocks/ResetPasswordBlock.js +11 -125
- package/dist/components/blocks/SettingsLayout.js +42 -42
- package/dist/components/blocks/SignUpBlock.d.ts +1 -1
- package/dist/components/blocks/SignUpBlock.js +3 -3
- package/dist/components/blocks/SocialProofBlock.d.ts +7 -11
- package/dist/components/blocks/SocialProofBlock.js +10 -108
- package/dist/components/blocks/StatsBlock.d.ts +1 -1
- package/dist/components/blocks/StatsBlock.js +40 -40
- package/dist/components/blocks/StatsMarketingBlock.d.ts +1 -1
- package/dist/components/blocks/StatsMarketingBlock.js +7 -38
- 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 +5 -133
- package/dist/components/blocks/TwoFactorChallengeBlock.js +46 -131
- package/dist/components/blocks/TwoFactorSetupBlock.js +53 -220
- package/dist/components/blocks/UsageDonutBlock.d.ts +1 -1
- package/dist/components/blocks/UsageDonutBlock.js +2 -2
- package/dist/components/blocks/VoiceAgentCard.d.ts +3 -1
- package/dist/components/blocks/VoiceAgentCard.js +7 -76
- package/dist/components/blocks/WizardBlock.js +39 -39
- package/dist/components/blocks/user/InviteUserModal.js +38 -38
- 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 +290 -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 +222 -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 +321 -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 +250 -0
- package/dist/components/ui/Accordion.js +38 -38
- package/dist/components/ui/AgentMessageBubble.d.ts +20 -4
- package/dist/components/ui/AgentMessageBubble.js +39 -39
- package/dist/components/ui/AgentStatus.d.ts +1 -1
- package/dist/components/ui/AgentStatus.js +5 -10
- package/dist/components/ui/AgentTerminal.d.ts +4 -1
- package/dist/components/ui/AgentTerminal.js +3 -1
- package/dist/components/ui/AgentTimeline.d.ts +2 -2
- package/dist/components/ui/AgentTimeline.js +15 -6
- package/dist/components/ui/AnimatedDialog.js +38 -38
- package/dist/components/ui/AnimatedSheet.js +38 -38
- package/dist/components/ui/ApprovalCard.js +1 -1
- package/dist/components/ui/AudioWaveform.js +2 -76
- package/dist/components/ui/AvatarUpload.js +1 -1
- package/dist/components/ui/Breadcrumb.js +41 -143
- package/dist/components/ui/Calendar.js +38 -38
- package/dist/components/ui/Carousel.js +38 -38
- package/dist/components/ui/ChartCard.js +5 -38
- package/dist/components/ui/ChatActions.d.ts +14 -0
- package/dist/components/ui/ChatActions.js +52 -0
- package/dist/components/ui/ChatBranch.d.ts +18 -0
- package/dist/components/ui/ChatBranch.js +84 -0
- package/dist/components/ui/ChatChainOfThought.d.ts +25 -0
- package/dist/components/ui/ChatChainOfThought.js +99 -0
- package/dist/components/ui/ChatConfirmation.d.ts +37 -0
- package/dist/components/ui/ChatConfirmation.js +115 -0
- package/dist/components/ui/ChatGreeting.d.ts +18 -0
- package/dist/components/ui/ChatGreeting.js +80 -0
- package/dist/components/ui/ChatMessage.d.ts +40 -0
- package/dist/components/ui/ChatMessage.js +96 -0
- package/dist/components/ui/ChatPlan.d.ts +29 -0
- package/dist/components/ui/ChatPlan.js +86 -0
- package/dist/components/ui/ChatPromptInput.d.ts +32 -0
- package/dist/components/ui/ChatPromptInput.js +193 -0
- package/dist/components/ui/ChatPromptInputAttachments.d.ts +9 -0
- package/dist/components/ui/ChatPromptInputAttachments.js +145 -0
- package/dist/components/ui/ChatQueue.d.ts +32 -0
- package/dist/components/ui/ChatQueue.js +93 -0
- package/dist/components/ui/ChatReasoning.d.ts +20 -0
- package/dist/components/ui/ChatReasoning.js +91 -0
- package/dist/components/ui/ChatResponse.d.ts +14 -0
- package/dist/components/ui/ChatResponse.js +25 -0
- package/dist/components/ui/ChatShimmer.d.ts +23 -0
- package/dist/components/ui/ChatShimmer.js +6 -0
- package/dist/components/ui/ChatSources.d.ts +30 -0
- package/dist/components/ui/ChatSources.js +113 -0
- package/dist/components/ui/ChatSuggestion.d.ts +13 -0
- package/dist/components/ui/ChatSuggestion.js +41 -0
- package/dist/components/ui/ChatThinkingMessage.d.ts +12 -0
- package/dist/components/ui/ChatThinkingMessage.js +55 -0
- package/dist/components/ui/ChatToolCall.d.ts +41 -0
- package/dist/components/ui/ChatToolCall.js +192 -0
- package/dist/components/ui/CheckStatus.d.ts +1 -1
- package/dist/components/ui/Checkbox.js +38 -38
- package/dist/components/ui/CheckoutForm.js +38 -38
- package/dist/components/ui/CheckoutFormDemo.js +43 -44
- package/dist/components/ui/Combobox.js +38 -38
- package/dist/components/ui/Command.js +38 -38
- package/dist/components/ui/ContextMenu.js +38 -38
- package/dist/components/ui/Conversation.d.ts +21 -0
- package/dist/components/ui/Conversation.js +196 -0
- package/dist/components/ui/ConversationThread.d.ts +8 -2
- package/dist/components/ui/ConversationThread.js +34 -16
- package/dist/components/ui/DataFreshness.js +2 -73
- package/dist/components/ui/DataTable.js +40 -40
- package/dist/components/ui/DatePicker.js +38 -38
- package/dist/components/ui/DateRangePicker.js +38 -38
- package/dist/components/ui/Dialog.js +38 -38
- package/dist/components/ui/DropdownMenu.js +39 -39
- package/dist/components/ui/FileUpload.js +38 -38
- package/dist/components/ui/InputOTP.js +38 -38
- package/dist/components/ui/KanbanBoard.js +2 -2
- package/dist/components/ui/LanguageSwitcher.js +38 -38
- package/dist/components/ui/Menubar.js +38 -38
- package/dist/components/ui/MouseEffect.js +1 -1
- package/dist/components/ui/NativeSelect.js +2 -18
- package/dist/components/ui/NavigationMenu.js +38 -38
- package/dist/components/ui/NotificationCenter.js +38 -38
- package/dist/components/ui/Pagination.js +42 -153
- package/dist/components/ui/RadioGroup.js +38 -38
- package/dist/components/ui/Resizable.js +38 -38
- package/dist/components/ui/SearchCommand.js +38 -38
- package/dist/components/ui/Select.js +38 -38
- package/dist/components/ui/SettingsModal.js +38 -38
- package/dist/components/ui/ShaderBackground.js +2 -2
- package/dist/components/ui/Sheet.js +38 -38
- package/dist/components/ui/Sidebar.js +41 -41
- package/dist/components/ui/StyleToggle.js +1 -1
- package/dist/components/ui/TagInput.js +38 -38
- package/dist/components/ui/ThemeToggle.js +39 -39
- package/dist/components/ui/ThinkingIndicator.d.ts +3 -1
- package/dist/components/ui/ThinkingIndicator.js +2 -1
- package/dist/components/ui/Toast.js +38 -38
- package/dist/components/ui/Toaster.js +38 -38
- package/dist/components/ui/ToolCallCard.d.ts +1 -1
- package/dist/components/ui/ToolCallCard.js +5 -1
- package/dist/components/ui/TreeView.js +38 -38
- package/dist/components/ui/charts/index.js +1 -1
- package/dist/components/ui/icons/index.js +38 -38
- package/dist/components/ui/text-effects/index.js +2 -2
- package/dist/hooks/use-scroll-to-bottom.d.ts +13 -0
- package/dist/hooks/use-scroll-to-bottom.js +2 -0
- package/dist/hooks/use-shader-preset.js +2 -2
- package/dist/index.js +43 -43
- package/dist/internal/local-image-assets.d.ts +12 -0
- package/dist/lib/shader-presets.js +1 -1
- package/dist/lib/tokens.config.d.ts +19 -0
- package/dist/messages/en.js +1 -1
- package/dist/messages/it.js +1 -1
- package/dist/test/PublicSeedTestProvider.js +2 -2
- package/dist/test/simulate-ime-composition.d.ts +54 -0
- package/dist/test/simulate-ime-composition.js +55 -0
- package/eslint-rules/nadicode/config.js +2 -0
- package/eslint-rules/nadicode/index.js +4 -0
- package/eslint-rules/nadicode/rules/no-deprecated-ds-import.js +77 -0
- package/eslint-rules/nadicode/rules/no-forbidden-page-kit-import.js +99 -0
- package/eslint-rules/nadicode/rules/no-unregistered-glass.js +2 -0
- package/package.json +895 -686
- package/scripts/ds-check.mjs +102 -73
- package/src/lib/tokens.config.js +63 -41
- package/dist/chunk-MLUSJTS2.js +0 -107
- package/dist/{chunk-5DKCZWC6.js → chunk-CQEUNASC.js} +1 -1
- package/dist/{chunk-4HRVRW2X.js → chunk-J2DCQDXO.js} +2 -2
- package/dist/{chunk-6MFAZU4B.js → chunk-RGE5OQMZ.js} +1 -1
- package/dist/{chunk-PJNHVPHF.js → chunk-TYP2MR3Q.js} +1 -1
package/scripts/ds-check.mjs
CHANGED
|
@@ -261,15 +261,14 @@ function expectFile(candidates, rule, detail) {
|
|
|
261
261
|
return path;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
function
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}
|
|
264
|
+
function hasImportFrom(content, moduleSpecifier) {
|
|
265
|
+
const code = maskNonCode(content, { preserveStrings: true });
|
|
266
|
+
const escaped = escapeRegExp(moduleSpecifier);
|
|
267
|
+
const boundary = moduleSpecifier.endsWith("/") ? "" : `["']`;
|
|
268
|
+
return (
|
|
269
|
+
new RegExp(String.raw`^\s*import\b.*["']${escaped}${boundary}`, "m").test(code) ||
|
|
270
|
+
new RegExp(String.raw`\bimport\s*\(\s*["']${escaped}${boundary}`, "m").test(code)
|
|
271
|
+
);
|
|
273
272
|
}
|
|
274
273
|
|
|
275
274
|
function stripJsonComments(text) {
|
|
@@ -442,6 +441,14 @@ function checkSourceRepo(packageJson) {
|
|
|
442
441
|
'package.json must include src/messages in the ds:lint-shipped command.',
|
|
443
442
|
);
|
|
444
443
|
}
|
|
444
|
+
|
|
445
|
+
if (existsSync(join(root, "src", "seed-palette.css"))) {
|
|
446
|
+
addIssue(
|
|
447
|
+
"src/seed-palette.css",
|
|
448
|
+
"source-repo-no-seed-palette",
|
|
449
|
+
"seed-palette.css must not exist in the DS repo. It is a consumer-only file. Sidebar tokens derive from semantic tokens via var() aliases in index.css.",
|
|
450
|
+
);
|
|
451
|
+
}
|
|
445
452
|
}
|
|
446
453
|
|
|
447
454
|
function checkSourceI18nContract() {
|
|
@@ -781,12 +788,21 @@ function checkProvidersContract() {
|
|
|
781
788
|
"App Router providers.tsx must exist.",
|
|
782
789
|
);
|
|
783
790
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
791
|
+
if (!providersPath) {
|
|
792
|
+
return;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
const providersContent = readFileSync(providersPath, "utf8");
|
|
796
|
+
const themeProviderBinding =
|
|
797
|
+
getNamedImportBinding(providersContent, "@vadimcomanescu/nadicode-design-system/theme-provider", "ThemeProvider") ??
|
|
798
|
+
getDefaultImportBinding(providersContent, "@vadimcomanescu/nadicode-design-system/theme-provider");
|
|
799
|
+
if (!themeProviderBinding) {
|
|
800
|
+
addIssue(
|
|
801
|
+
relativePath(providersPath),
|
|
802
|
+
"seed-providers-contract",
|
|
803
|
+
"providers.tsx must import ThemeProvider from @vadimcomanescu/nadicode-design-system/theme-provider.",
|
|
804
|
+
);
|
|
805
|
+
}
|
|
790
806
|
}
|
|
791
807
|
|
|
792
808
|
function checkI18nContract() {
|
|
@@ -796,60 +812,67 @@ function checkI18nContract() {
|
|
|
796
812
|
"The app must own src/i18n/request.ts and merge package-backed Seed catalogs there.",
|
|
797
813
|
);
|
|
798
814
|
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
"seed-i18n-request-contract",
|
|
803
|
-
"src/i18n/request.ts must import Seed catalogs from @vadimcomanescu/nadicode-design-system/messages/<locale>.",
|
|
804
|
-
);
|
|
805
|
-
ensureFileContains(
|
|
806
|
-
requestPath,
|
|
807
|
-
"mergeSeedMessages",
|
|
808
|
-
"seed-i18n-request-contract",
|
|
809
|
-
"src/i18n/request.ts must merge package-backed Seed catalogs with app messages via mergeSeedMessages().",
|
|
810
|
-
);
|
|
815
|
+
if (!requestPath) {
|
|
816
|
+
return;
|
|
817
|
+
}
|
|
811
818
|
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
if (requestContent.includes("seed-messages/")) {
|
|
816
|
-
addIssue(
|
|
817
|
-
relativePath(requestPath),
|
|
818
|
-
"seed-i18n-request-contract",
|
|
819
|
-
"src/i18n/request.ts must not import DS catalogs from repo-local seed-messages/*.json.",
|
|
820
|
-
);
|
|
821
|
-
}
|
|
819
|
+
const requestContent = readFileSync(requestPath, "utf8");
|
|
820
|
+
const maskedRequest = maskNonCode(requestContent, { preserveStrings: true });
|
|
821
|
+
const requestCodeWithoutImports = getCodeWithoutImports(requestContent);
|
|
822
822
|
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
823
|
+
if (!hasImportFrom(requestContent, "@vadimcomanescu/nadicode-design-system/messages/")) {
|
|
824
|
+
addIssue(
|
|
825
|
+
relativePath(requestPath),
|
|
826
|
+
"seed-i18n-request-contract",
|
|
827
|
+
"src/i18n/request.ts must import Seed catalogs from @vadimcomanescu/nadicode-design-system/messages/<locale>.",
|
|
828
|
+
);
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
if (!maskNonCode(requestContent).includes("mergeSeedMessages")) {
|
|
832
|
+
addIssue(
|
|
833
|
+
relativePath(requestPath),
|
|
834
|
+
"seed-i18n-request-contract",
|
|
835
|
+
"src/i18n/request.ts must merge package-backed Seed catalogs with app messages via mergeSeedMessages().",
|
|
836
|
+
);
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
if (maskedRequest.includes("seed-messages/")) {
|
|
840
|
+
addIssue(
|
|
841
|
+
relativePath(requestPath),
|
|
842
|
+
"seed-i18n-request-contract",
|
|
843
|
+
"src/i18n/request.ts must not import DS catalogs from repo-local seed-messages/*.json.",
|
|
844
|
+
);
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
if (!hasGetRequestConfigExport(requestContent)) {
|
|
848
|
+
addIssue(
|
|
849
|
+
relativePath(requestPath),
|
|
850
|
+
"seed-i18n-request-contract",
|
|
851
|
+
"src/i18n/request.ts must default-export a next-intl getRequestConfig(...) result.",
|
|
852
|
+
);
|
|
853
|
+
}
|
|
830
854
|
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
855
|
+
const appMessageBindings = [...maskedRequest.matchAll(
|
|
856
|
+
/import\s+([A-Za-z_$][\w$]*)\s+from\s+["'][^"']*messages\/[^"']+\.json["']/g,
|
|
857
|
+
)].map((match) => match[1]);
|
|
858
|
+
|
|
859
|
+
if (appMessageBindings.length === 0) {
|
|
860
|
+
addIssue(
|
|
861
|
+
relativePath(requestPath),
|
|
862
|
+
"seed-i18n-request-contract",
|
|
863
|
+
"src/i18n/request.ts must import app-owned locale catalogs from messages/<locale>.json.",
|
|
864
|
+
);
|
|
865
|
+
} else {
|
|
866
|
+
const unreferencedAppMessages = appMessageBindings.filter((binding) => {
|
|
867
|
+
return !new RegExp(`\\b${escapeRegExp(binding)}\\b`).test(requestCodeWithoutImports);
|
|
868
|
+
});
|
|
834
869
|
|
|
835
|
-
if (
|
|
870
|
+
if (unreferencedAppMessages.length > 0) {
|
|
836
871
|
addIssue(
|
|
837
872
|
relativePath(requestPath),
|
|
838
873
|
"seed-i18n-request-contract",
|
|
839
|
-
|
|
874
|
+
`src/i18n/request.ts must wire every imported app-owned locale catalog into the Seed message merge path. Unused imports: ${unreferencedAppMessages.join(", ")}.`,
|
|
840
875
|
);
|
|
841
|
-
} else {
|
|
842
|
-
const unreferencedAppMessages = appMessageBindings.filter((binding) => {
|
|
843
|
-
return !new RegExp(`\\b${escapeRegExp(binding)}\\b`).test(requestCodeWithoutImports);
|
|
844
|
-
});
|
|
845
|
-
|
|
846
|
-
if (unreferencedAppMessages.length > 0) {
|
|
847
|
-
addIssue(
|
|
848
|
-
relativePath(requestPath),
|
|
849
|
-
"seed-i18n-request-contract",
|
|
850
|
-
`src/i18n/request.ts must wire every imported app-owned locale catalog into the Seed message merge path. Unused imports: ${unreferencedAppMessages.join(", ")}.`,
|
|
851
|
-
);
|
|
852
|
-
}
|
|
853
876
|
}
|
|
854
877
|
}
|
|
855
878
|
|
|
@@ -879,12 +902,16 @@ function checkDelegatorScripts() {
|
|
|
879
902
|
"seed-ds-check-missing",
|
|
880
903
|
"scripts/ds-check.mjs must exist.",
|
|
881
904
|
);
|
|
882
|
-
|
|
883
|
-
dsCheckPath,
|
|
884
|
-
"@vadimcomanescu/nadicode-design-system/ds-check"
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
905
|
+
if (dsCheckPath) {
|
|
906
|
+
const dsCheckContent = readFileSync(dsCheckPath, "utf8");
|
|
907
|
+
if (!hasImportFrom(dsCheckContent, "@vadimcomanescu/nadicode-design-system/ds-check")) {
|
|
908
|
+
addIssue(
|
|
909
|
+
relativePath(dsCheckPath),
|
|
910
|
+
"seed-ds-check-contract",
|
|
911
|
+
"scripts/ds-check.mjs must delegate to @vadimcomanescu/nadicode-design-system/ds-check.",
|
|
912
|
+
);
|
|
913
|
+
}
|
|
914
|
+
}
|
|
888
915
|
|
|
889
916
|
const dsUpdatePath = expectFile(
|
|
890
917
|
[join(root, "scripts", "ds-update.mjs")],
|
|
@@ -892,12 +919,14 @@ function checkDelegatorScripts() {
|
|
|
892
919
|
"scripts/ds-update.mjs must exist.",
|
|
893
920
|
);
|
|
894
921
|
if (dsUpdatePath) {
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
922
|
+
const dsUpdateContent = readFileSync(dsUpdatePath, "utf8");
|
|
923
|
+
if (!hasImportFrom(dsUpdateContent, "@vadimcomanescu/nadicode-design-system/ds-update")) {
|
|
924
|
+
addIssue(
|
|
925
|
+
relativePath(dsUpdatePath),
|
|
926
|
+
"seed-ds-update-contract",
|
|
927
|
+
"scripts/ds-update.mjs must delegate to @vadimcomanescu/nadicode-design-system/ds-update so the package owns the install-and-skill-sync flow.",
|
|
928
|
+
);
|
|
929
|
+
}
|
|
901
930
|
}
|
|
902
931
|
}
|
|
903
932
|
|
package/src/lib/tokens.config.js
CHANGED
|
@@ -274,50 +274,50 @@ export const bloomScales = {
|
|
|
274
274
|
// Semantic color tokens mapped from scales
|
|
275
275
|
export const colorTokens = {
|
|
276
276
|
dark: {
|
|
277
|
-
background: '#
|
|
277
|
+
background: '#000000', // true black
|
|
278
278
|
surface: {
|
|
279
|
-
DEFAULT: '#
|
|
280
|
-
hover: '#
|
|
281
|
-
active: '#
|
|
282
|
-
raised: '#
|
|
279
|
+
DEFAULT: '#080C0A', // jade-tinted near-black
|
|
280
|
+
hover: '#101A15', // jade.2 brightened for tonal depth delta>=3
|
|
281
|
+
active: '#16201C', // jade.3
|
|
282
|
+
raised: '#1E2A24', // jade.4
|
|
283
283
|
},
|
|
284
284
|
border: {
|
|
285
|
-
DEFAULT: '#
|
|
286
|
-
hover: '#
|
|
287
|
-
subtle: 'rgba(
|
|
288
|
-
'subtle-hover': 'rgba(
|
|
285
|
+
DEFAULT: '#263A30', // jade-tinted border
|
|
286
|
+
hover: '#344E40', // jade-tinted border hover
|
|
287
|
+
subtle: 'rgba(10, 158, 111, 0.08)',
|
|
288
|
+
'subtle-hover': 'rgba(10, 158, 111, 0.15)',
|
|
289
289
|
},
|
|
290
290
|
primary: {
|
|
291
|
-
DEFAULT: '#
|
|
292
|
-
foreground: '#
|
|
291
|
+
DEFAULT: '#E2E8F0', // cool white
|
|
292
|
+
foreground: '#000000',
|
|
293
293
|
},
|
|
294
294
|
secondary: {
|
|
295
|
-
DEFAULT: '#
|
|
296
|
-
foreground: '#
|
|
295
|
+
DEFAULT: '#16201C', // jade.3
|
|
296
|
+
foreground: '#E2E8F0',
|
|
297
297
|
},
|
|
298
298
|
accent: {
|
|
299
|
-
DEFAULT: '#
|
|
300
|
-
foreground: '#
|
|
299
|
+
DEFAULT: '#0A9E6F', // jade green
|
|
300
|
+
foreground: '#000000',
|
|
301
301
|
},
|
|
302
302
|
destructive: {
|
|
303
|
-
DEFAULT: '#
|
|
303
|
+
DEFAULT: '#DC2626', // red
|
|
304
304
|
foreground: '#FFFFFF',
|
|
305
305
|
},
|
|
306
306
|
success: {
|
|
307
|
-
DEFAULT: '#
|
|
308
|
-
foreground: '#
|
|
307
|
+
DEFAULT: '#16A34A', // green
|
|
308
|
+
foreground: '#FFFFFF',
|
|
309
309
|
},
|
|
310
310
|
warning: {
|
|
311
|
-
DEFAULT: '#
|
|
312
|
-
foreground: '#
|
|
311
|
+
DEFAULT: '#D97706', // amber
|
|
312
|
+
foreground: '#000000',
|
|
313
313
|
},
|
|
314
314
|
info: {
|
|
315
|
-
DEFAULT: '#
|
|
316
|
-
foreground: '#
|
|
315
|
+
DEFAULT: '#2563EB', // blue
|
|
316
|
+
foreground: '#FFFFFF',
|
|
317
317
|
},
|
|
318
318
|
muted: {
|
|
319
|
-
DEFAULT: '#
|
|
320
|
-
foreground: '#
|
|
319
|
+
DEFAULT: '#16201C', // jade.3
|
|
320
|
+
foreground: '#B4C0C8', // muted text
|
|
321
321
|
},
|
|
322
322
|
slider: {
|
|
323
323
|
fill: 'rgba(255, 255, 255, 0.10)',
|
|
@@ -325,15 +325,15 @@ export const colorTokens = {
|
|
|
325
325
|
},
|
|
326
326
|
overlay: '#000000',
|
|
327
327
|
text: {
|
|
328
|
-
primary: '#
|
|
329
|
-
secondary: '#
|
|
330
|
-
tertiary: '#
|
|
331
|
-
},
|
|
332
|
-
focusRing: '#
|
|
333
|
-
link: '#
|
|
334
|
-
input: '#
|
|
335
|
-
disabled: '#
|
|
336
|
-
disabledForeground: '#
|
|
328
|
+
primary: '#E2E8F0',
|
|
329
|
+
secondary: '#A0AEBA',
|
|
330
|
+
tertiary: '#A8B8C8',
|
|
331
|
+
},
|
|
332
|
+
focusRing: '#0A9E6F', // jade
|
|
333
|
+
link: '#34D399', // bright jade
|
|
334
|
+
input: '#16201C', // jade.3
|
|
335
|
+
disabled: '#344E40', // jade border hover
|
|
336
|
+
disabledForeground: '#A8B8C8', // tertiary text
|
|
337
337
|
},
|
|
338
338
|
light: {
|
|
339
339
|
background: '#F7F7F8', // gray.1
|
|
@@ -358,23 +358,23 @@ export const colorTokens = {
|
|
|
358
358
|
foreground: '#181D20', // gray.12
|
|
359
359
|
},
|
|
360
360
|
accent: {
|
|
361
|
-
DEFAULT: '#
|
|
361
|
+
DEFAULT: '#059669', // jade green (light)
|
|
362
362
|
foreground: '#FFFFFF',
|
|
363
363
|
},
|
|
364
364
|
destructive: {
|
|
365
|
-
DEFAULT: '#C62832', //
|
|
365
|
+
DEFAULT: '#C62832', // crimson
|
|
366
366
|
foreground: '#FFFFFF',
|
|
367
367
|
},
|
|
368
368
|
success: {
|
|
369
|
-
DEFAULT: '#
|
|
369
|
+
DEFAULT: '#16A34A', // green
|
|
370
370
|
foreground: '#FFFFFF',
|
|
371
371
|
},
|
|
372
372
|
warning: {
|
|
373
|
-
DEFAULT: '#
|
|
373
|
+
DEFAULT: '#CA5808', // orange
|
|
374
374
|
foreground: '#FFFFFF',
|
|
375
375
|
},
|
|
376
376
|
info: {
|
|
377
|
-
DEFAULT: '#
|
|
377
|
+
DEFAULT: '#2563EB', // blue
|
|
378
378
|
foreground: '#FFFFFF',
|
|
379
379
|
},
|
|
380
380
|
muted: {
|
|
@@ -391,8 +391,8 @@ export const colorTokens = {
|
|
|
391
391
|
secondary: '#262D31', // gray.11
|
|
392
392
|
tertiary: '#384147', // gray.10
|
|
393
393
|
},
|
|
394
|
-
focusRing: '#
|
|
395
|
-
link: '#
|
|
394
|
+
focusRing: '#059669', // jade
|
|
395
|
+
link: '#047854', // dark jade
|
|
396
396
|
input: '#DEE1E3', // gray.3
|
|
397
397
|
disabled: '#9AA5AC', // gray.6
|
|
398
398
|
disabledForeground: '#5F6D77', // gray.8
|
|
@@ -467,7 +467,7 @@ export const styleTokens = {
|
|
|
467
467
|
radius: { sm: '4px', md: '8px', lg: '16px' },
|
|
468
468
|
shadows: {
|
|
469
469
|
'glow': '0 0 20px -5px rgba(255, 255, 255, 0.1)',
|
|
470
|
-
'glow-accent': '0 0 20px -5px rgba(
|
|
470
|
+
'glow-accent': '0 0 20px -5px rgba(10, 158, 111, 0.15)',
|
|
471
471
|
},
|
|
472
472
|
glass: {
|
|
473
473
|
saturate: 1.15,
|
|
@@ -559,3 +559,25 @@ export const tokens = {
|
|
|
559
559
|
'glow-accent': '0 0 20px -5px rgba(232, 160, 32, 0.15)',
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Sidebar token derivations. Maps sidebar CSS vars to semantic token CSS vars.
|
|
565
|
+
* The generator emits var() references so consumer overrides cascade automatically.
|
|
566
|
+
*/
|
|
567
|
+
export const sidebarTokens = {
|
|
568
|
+
base: {
|
|
569
|
+
'sidebar-background': '--color-background',
|
|
570
|
+
'sidebar-foreground': '--color-text-secondary',
|
|
571
|
+
'sidebar-primary': '--color-primary',
|
|
572
|
+
'sidebar-primary-foreground': '--color-primary-foreground',
|
|
573
|
+
'sidebar-accent': '--color-secondary',
|
|
574
|
+
'sidebar-accent-foreground': '--color-secondary-foreground',
|
|
575
|
+
'sidebar-border': '--color-border',
|
|
576
|
+
'sidebar-ring': '--color-focus-ring',
|
|
577
|
+
},
|
|
578
|
+
overrides: {
|
|
579
|
+
dark: {
|
|
580
|
+
'sidebar-foreground': '--color-primary',
|
|
581
|
+
},
|
|
582
|
+
},
|
|
583
|
+
};
|
package/dist/chunk-MLUSJTS2.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { WrenchIcon } from './chunk-AWIJHDNK.js';
|
|
2
|
-
import { LoaderCircleIcon } from './chunk-BRP6D56U.js';
|
|
3
|
-
import { CheckIcon } from './chunk-CXACRCZ4.js';
|
|
4
|
-
import { XIcon } from './chunk-UIUMTURU.js';
|
|
5
|
-
import { ChevronDownIcon } from './chunk-HJBXUXTD.js';
|
|
6
|
-
import { cn } from './chunk-QYZT24TS.js';
|
|
7
|
-
import * as React from 'react';
|
|
8
|
-
import { cva } from 'class-variance-authority';
|
|
9
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
|
-
|
|
11
|
-
var toolCallCardVariants = cva(
|
|
12
|
-
"rounded-lg border p-4 glass-panel transition-colors",
|
|
13
|
-
{
|
|
14
|
-
variants: {
|
|
15
|
-
status: {
|
|
16
|
-
pending: "border-border",
|
|
17
|
-
running: "border-accent/40",
|
|
18
|
-
complete: "border-success/40",
|
|
19
|
-
error: "border-destructive/40"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
defaultVariants: {
|
|
23
|
-
status: "pending"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
var StatusIcon = ({ status }) => {
|
|
28
|
-
switch (status) {
|
|
29
|
-
case "complete":
|
|
30
|
-
return /* @__PURE__ */ jsx(CheckIcon, { size: 16, className: "text-success" });
|
|
31
|
-
case "error":
|
|
32
|
-
return /* @__PURE__ */ jsx(XIcon, { size: 16, className: "text-destructive" });
|
|
33
|
-
case "running":
|
|
34
|
-
return /* @__PURE__ */ jsx(LoaderCircleIcon, { size: 16, className: "text-accent animate-spin" });
|
|
35
|
-
default:
|
|
36
|
-
return /* @__PURE__ */ jsx(WrenchIcon, { size: 16, className: "text-text-tertiary" });
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
function ToolCallCard({
|
|
40
|
-
className,
|
|
41
|
-
status,
|
|
42
|
-
toolName,
|
|
43
|
-
args,
|
|
44
|
-
result,
|
|
45
|
-
duration,
|
|
46
|
-
defaultExpanded = false,
|
|
47
|
-
ref,
|
|
48
|
-
...props
|
|
49
|
-
}) {
|
|
50
|
-
const [expanded, setExpanded] = React.useState(defaultExpanded);
|
|
51
|
-
const resultPanelId = React.useId();
|
|
52
|
-
return /* @__PURE__ */ jsxs(
|
|
53
|
-
"div",
|
|
54
|
-
{
|
|
55
|
-
ref,
|
|
56
|
-
className: cn(toolCallCardVariants({ status }), className),
|
|
57
|
-
...props,
|
|
58
|
-
children: [
|
|
59
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
60
|
-
/* @__PURE__ */ jsx(StatusIcon, { status }),
|
|
61
|
-
/* @__PURE__ */ jsx("code", { className: "text-sm font-semibold text-text-primary", children: toolName }),
|
|
62
|
-
duration != null && /* @__PURE__ */ jsxs("span", { className: "ml-auto text-xs text-text-tertiary", children: [
|
|
63
|
-
duration,
|
|
64
|
-
"ms"
|
|
65
|
-
] })
|
|
66
|
-
] }),
|
|
67
|
-
args && Object.keys(args).length > 0 && /* @__PURE__ */ jsx("pre", { className: "mt-2 rounded bg-surface p-2 text-xs text-text-secondary overflow-x-auto", children: JSON.stringify(args, null, 2) }),
|
|
68
|
-
!!result && /* @__PURE__ */ jsxs("div", { className: "mt-2", children: [
|
|
69
|
-
/* @__PURE__ */ jsxs(
|
|
70
|
-
"button",
|
|
71
|
-
{
|
|
72
|
-
type: "button",
|
|
73
|
-
onClick: () => setExpanded(!expanded),
|
|
74
|
-
"aria-expanded": expanded,
|
|
75
|
-
"aria-controls": resultPanelId,
|
|
76
|
-
className: "flex items-center gap-1.5 text-xs text-text-tertiary hover:text-text-secondary transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent rounded-sm",
|
|
77
|
-
children: [
|
|
78
|
-
/* @__PURE__ */ jsx(
|
|
79
|
-
ChevronDownIcon,
|
|
80
|
-
{
|
|
81
|
-
size: 14,
|
|
82
|
-
className: cn("transition-transform", expanded && "rotate-180")
|
|
83
|
-
}
|
|
84
|
-
),
|
|
85
|
-
expanded ? "Hide result" : "Show result"
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
),
|
|
89
|
-
/* @__PURE__ */ jsx(
|
|
90
|
-
"pre",
|
|
91
|
-
{
|
|
92
|
-
id: resultPanelId,
|
|
93
|
-
className: cn(
|
|
94
|
-
"mt-1.5 rounded bg-surface p-2 text-xs text-text-secondary overflow-x-auto whitespace-pre-wrap",
|
|
95
|
-
!expanded && "hidden"
|
|
96
|
-
),
|
|
97
|
-
"aria-hidden": !expanded,
|
|
98
|
-
children: result
|
|
99
|
-
}
|
|
100
|
-
)
|
|
101
|
-
] })
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export { ToolCallCard, toolCallCardVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CircleIcon } from './chunk-GCUTJI7M.js';
|
|
2
1
|
import { ChevronRightIcon } from './chunk-G24VV5NO.js';
|
|
2
|
+
import { CircleIcon } from './chunk-GCUTJI7M.js';
|
|
3
3
|
import { CheckIcon } from './chunk-CXACRCZ4.js';
|
|
4
4
|
import { cn } from './chunk-QYZT24TS.js';
|
|
5
5
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useIsMobile } from './chunk-C4SNHMYC.js';
|
|
2
|
-
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-MJ4CB6ZL.js';
|
|
3
2
|
import { StatusDot } from './chunk-B5QL76GA.js';
|
|
4
3
|
import { Sheet, SheetContent } from './chunk-HOWTYZL5.js';
|
|
5
|
-
import { Skeleton } from './chunk-RASEB2XI.js';
|
|
6
4
|
import { Separator } from './chunk-CUZJIDU7.js';
|
|
7
5
|
import { Input } from './chunk-AP3XXYAY.js';
|
|
6
|
+
import { Skeleton } from './chunk-RASEB2XI.js';
|
|
7
|
+
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-MJ4CB6ZL.js';
|
|
8
8
|
import { Button } from './chunk-7KIDDF3I.js';
|
|
9
9
|
import { PanelLeftIcon } from './chunk-WDGIQDQG.js';
|
|
10
10
|
import { cn } from './chunk-QYZT24TS.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StaggerChildren } from './chunk-DQPK2XRL.js';
|
|
2
|
-
import { Field, FieldLabel } from './chunk-RX5EUODB.js';
|
|
3
2
|
import { Heading } from './chunk-WI547C47.js';
|
|
3
|
+
import { Field, FieldLabel } from './chunk-RX5EUODB.js';
|
|
4
4
|
import { Input } from './chunk-AP3XXYAY.js';
|
|
5
5
|
import { GoogleIcon } from './chunk-DJTF3XFB.js';
|
|
6
6
|
import { Card, CardHeader, CardDescription, CardContent, CardFooter } from './chunk-AH6YSYYT.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { findItemLocation, moveItem } from './chunk-VTAOHSPW.js';
|
|
1
2
|
import { buildAnnouncements } from './chunk-B3BYBSF2.js';
|
|
2
3
|
import { KanbanContext, KanbanItemContext } from './chunk-FOFGPWFS.js';
|
|
3
|
-
import { findItemLocation, moveItem } from './chunk-VTAOHSPW.js';
|
|
4
4
|
import { m, motionSpring } from './chunk-PD2YEH3H.js';
|
|
5
5
|
import { GripVerticalIcon } from './chunk-WXVNTJIB.js';
|
|
6
6
|
import { cn, mergeRefs } from './chunk-QYZT24TS.js';
|