Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(core): add missing file headers to ClickableCard and CodeBlock index files (#2395)

Cindy Zhang9f93e29f8992
diff --git a/packages/core/src/ClickableCard/index.ts b/packages/core/src/ClickableCard/index.ts
index 2389b4d74d..257cec8f7b 100644
--- a/packages/core/src/ClickableCard/index.ts
+++ b/packages/core/src/ClickableCard/index.ts
@@ -2,5 +2,14 @@
'use client';
+/**
+ * @file index.ts
+ * @input Imports from XDSClickableCard.tsx
+ * @output Exports XDSClickableCard component and XDSClickableCardProps type
+ * @position Component entry point; re-exported by /packages/core/src/index.ts
+ *
+ * SYNC: When modified, update /packages/core/src/ClickableCard/ClickableCard.doc.mjs
+ */
+
export {XDSClickableCard} from './XDSClickableCard';
export type {XDSClickableCardProps} from './XDSClickableCard';
diff --git a/packages/core/src/CodeBlock/index.ts b/packages/core/src/CodeBlock/index.ts
index a3b6b5df99..3e54a6f497 100644
--- a/packages/core/src/CodeBlock/index.ts
+++ b/packages/core/src/CodeBlock/index.ts
@@ -2,6 +2,15 @@
'use client';
+/**
+ * @file index.ts
+ * @input Imports from XDSCodeBlock.tsx, XDSCode.tsx, tokenizer.ts, highlightRanges.ts, highlightStyles.ts
+ * @output Exports XDSCodeBlock, XDSCode components, tokenizer utilities, and highlight APIs
+ * @position Component entry point; re-exported by /packages/core/src/index.ts
+ *
+ * SYNC: When modified, update /packages/core/src/CodeBlock/CodeBlock.doc.mjs
+ */
+
export {XDSCodeBlock} from './XDSCodeBlock';
export type {XDSCodeBlockProps} from './XDSCodeBlock';