An open source design system that's fully customizable and agent ready
TypeScript
add Meta copyright headers to all source files (#2193)
Andrey Goder1a04b9d92f33
diff --git a/.claude/internet-mode-used_DO_NOT_REMOVE_MANUALLY_SECURITY_RISK b/.claude/internet-mode-used_DO_NOT_REMOVE_MANUALLY_SECURITY_RISKnew file mode 100644index 0000000000..f61efc832b--- /dev/null+++ b/.claude/internet-mode-used_DO_NOT_REMOVE_MANUALLY_SECURITY_RISK@@ -0,0 +1,3 @@+This directory has been used with Claude Code's internet mode.+Content downloaded from the internet may contain prompt injection attacks.+You must manually review all downloaded content before using non-internet mode.diff --git a/.github/dependabot.yml b/.github/dependabot.ymlindex a00b8e55e0..1cf538c572 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+version: 2updates:# npm dependenciesdiff --git a/.github/scripts/accessibility-audit.js b/.github/scripts/accessibility-audit.jsindex eab7221266..1239de2e6e 100644--- a/.github/scripts/accessibility-audit.js+++ b/.github/scripts/accessibility-audit.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @description Runs accessibility audits on component stories using axe-corediff --git a/.github/scripts/analyze-pr.js b/.github/scripts/analyze-pr.jsindex fce288514d..a50dff9449 100644--- a/.github/scripts/analyze-pr.js+++ b/.github/scripts/analyze-pr.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @description Analyzes PR changes to detect new/modified components and gather statsdiff --git a/.github/scripts/api-cli-parity-test.mjs b/.github/scripts/api-cli-parity-test.mjsindex 0645f38dcd..fd20e53e59 100644--- a/.github/scripts/api-cli-parity-test.mjs+++ b/.github/scripts/api-cli-parity-test.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** API ↔ CLI parity test.*diff --git a/.github/scripts/cli-json-smoke-test.mjs b/.github/scripts/cli-json-smoke-test.mjsindex 95dbaba0ec..a3dc95443f 100644--- a/.github/scripts/cli-json-smoke-test.mjs+++ b/.github/scripts/cli-json-smoke-test.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** CLI JSON smoke test — validates --json output for every supported command.*diff --git a/.github/scripts/cli-smoke-test.mjs b/.github/scripts/cli-smoke-test.mjsindex 6ea8d9ba6c..aea4fc1116 100644--- a/.github/scripts/cli-smoke-test.mjs+++ b/.github/scripts/cli-smoke-test.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** CLI smoke test — auto-discovers every command and checks for output + clean exit.*diff --git a/.github/scripts/codemod-verify.mjs b/.github/scripts/codemod-verify.mjsindex 7d67618ef5..c468ffddd4 100644--- a/.github/scripts/codemod-verify.mjs+++ b/.github/scripts/codemod-verify.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod verification script*diff --git a/.github/scripts/generate-pr-comment.js b/.github/scripts/generate-pr-comment.jsindex 1acdf1a56c..d541d053de 100644--- a/.github/scripts/generate-pr-comment.js+++ b/.github/scripts/generate-pr-comment.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @description Generates and posts PR comment with analysis resultsdiff --git a/.github/scripts/lib/a11y-format.js b/.github/scripts/lib/a11y-format.jsindex 2776cb4687..13529c8981 100644--- a/.github/scripts/lib/a11y-format.js+++ b/.github/scripts/lib/a11y-format.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Shared a11y formatting utilities for PR enrichment.* Used by generate-pr-comment.js and test-pr-enrichment.js.diff --git a/.github/scripts/test-pr-enrichment.js b/.github/scripts/test-pr-enrichment.jsindex 0df0023eee..0ab746138f 100644--- a/.github/scripts/test-pr-enrichment.js+++ b/.github/scripts/test-pr-enrichment.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Test script to verify PR enrichment output with mock datadiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 75b6e1348a..ead0185ee3 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+# PR CI: test, build, analyze, a11y audit, and comment# Everything runs in parallel where possible#@@ -110,6 +112,10 @@ jobs:- run: yarn install --frozen-lockfileif: needs.check-scope.outputs.docsite_only != 'true'+ - name: Check copyright headers+ if: needs.check-scope.outputs.docsite_only != 'true'+ run: ./scripts/add-copyright.sh --check+- name: Check package.json exports are in syncif: needs.check-scope.outputs.docsite_only != 'true'run: node scripts/sync-exports.js --checkdiff --git a/.github/workflows/cleanup-previews.yml b/.github/workflows/cleanup-previews.ymlindex d04848ed9b..8af73a15d7 100644--- a/.github/workflows/cleanup-previews.yml+++ b/.github/workflows/cleanup-previews.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+name: Cleanup Preview Deploymentson:diff --git a/.github/workflows/cli-smoke-test.yml b/.github/workflows/cli-smoke-test.ymlindex 83ef55b6d4..5af8b80341 100644--- a/.github/workflows/cli-smoke-test.yml+++ b/.github/workflows/cli-smoke-test.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+# CLI smoke test — runs every xds command to catch regressions# Auto-discovers components and doc topics, nothing hardcoded.name: CLI Smoke Testdiff --git a/.github/workflows/codemod-verify.yml b/.github/workflows/codemod-verify.ymlindex 77312dc7a6..b9e5c270dc 100644--- a/.github/workflows/codemod-verify.yml+++ b/.github/workflows/codemod-verify.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+# Codemod verification — ensures codemods can reproduce callsite changes## When a PR adds/modifies codemods AND touches consumer code (apps/, stories),diff --git a/.github/workflows/codeowner-gate.yml b/.github/workflows/codeowner-gate.ymlindex 7907d98c16..32a2a1b063 100644--- a/.github/workflows/codeowner-gate.yml+++ b/.github/workflows/codeowner-gate.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+# Code owner gate: blocks merge unless a code owner has approved# Code owners themselves can merge freely (auto-pass)#diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex 012f99f6ee..0163ce1ec5 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+# Deploy Storybook + Sandbox to GitHub Pages, publish packages to Metaccio,# and publish @canary dist-tag from latest main.# Only runs on push to main — simple and sequential: sync → test → deploy + publish + canarydiff --git a/.github/workflows/hardening-issue.yml b/.github/workflows/hardening-issue.ymlindex 8bef3fa36d..011d3ee47f 100644--- a/.github/workflows/hardening-issue.yml+++ b/.github/workflows/hardening-issue.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+# Auto-create hardening issues for new components## When a PR merges that adds a new component directory under packages/core/src/,diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex f1687095dd..c258637ce3 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+name: Linton:diff --git a/.github/workflows/prune-branches.yml b/.github/workflows/prune-branches.ymlindex 33f0726270..6e755403b0 100644--- a/.github/workflows/prune-branches.yml+++ b/.github/workflows/prune-branches.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+# Prune remote branches whose PRs are merged/closed, plus stale branches# with no PR older than 60 days.name: Prune merged branchesdiff --git a/.github/workflows/redeploy-preview.yml b/.github/workflows/redeploy-preview.ymlindex a839c9cc9b..35c5e8dd14 100644--- a/.github/workflows/redeploy-preview.yml+++ b/.github/workflows/redeploy-preview.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+# Re-deploy Preview## Manually re-deploys a PR's preview build (Storybook + Sandbox) to GitHub Pages.diff --git a/.github/workflows/vibe-screenshots.yml b/.github/workflows/vibe-screenshots.ymlindex 959ac19438..2df91a39ff 100644--- a/.github/workflows/vibe-screenshots.yml+++ b/.github/workflows/vibe-screenshots.yml@@ -1,3 +1,5 @@+# Copyright (c) Meta Platforms, Inc. and affiliates.+name: Vibe Test Screenshotson:diff --git a/apps/docsite/babel.config.js b/apps/docsite/babel.config.jsindex 8bd5d76ec2..4ac2e70ac1 100644--- a/apps/docsite/babel.config.js+++ b/apps/docsite/babel.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global module, require, process, __dirname */// eslint-disable-next-line @typescript-eslint/no-require-importsconst path = require('path');diff --git a/apps/docsite/css.d.ts b/apps/docsite/css.d.tsindex f8d9abf597..608f05e0d5 100644--- a/apps/docsite/css.d.ts+++ b/apps/docsite/css.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// TypeScript 6 requires type declarations for CSS side-effect imports.// This must be in a separate file from next-env.d.ts (which Next.js regenerates).declare module '*.css';diff --git a/apps/docsite/next.config.mjs b/apps/docsite/next.config.mjsindex 6f59c297cb..67e72fcdcf 100644--- a/apps/docsite/next.config.mjs+++ b/apps/docsite/next.config.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('next').NextConfig} */const nextConfig = {webpack: (config) => {diff --git a/apps/docsite/postcss.config.js b/apps/docsite/postcss.config.jsindex 0da9b9486b..cbd703cc0f 100644--- a/apps/docsite/postcss.config.js+++ b/apps/docsite/postcss.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global module, require */// eslint-disable-next-line @typescript-eslint/no-require-importsconst babelConfig = require('./babel.config');diff --git a/apps/docsite/scripts/generate-data.mjs b/apps/docsite/scripts/generate-data.mjsindex 2c2c7bee4b..2cd3c2f9d7 100644--- a/apps/docsite/scripts/generate-data.mjs+++ b/apps/docsite/scripts/generate-data.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file generate-data.mjsdiff --git a/apps/docsite/scripts/generate-playground-types.mjs b/apps/docsite/scripts/generate-playground-types.mjsindex c927a0ec6d..7324372567 100644--- a/apps/docsite/scripts/generate-playground-types.mjs+++ b/apps/docsite/scripts/generate-playground-types.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Generates a JSON bundle of all @xds/core .d.ts files for the playground'sdiff --git a/apps/docsite/scripts/generate-scope.mjs b/apps/docsite/scripts/generate-scope.mjsindex 9d4401c8a2..5494d964d7 100644--- a/apps/docsite/scripts/generate-scope.mjs+++ b/apps/docsite/scripts/generate-scope.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Generates apps/docsite/src/app/playground/preview/scope.tsdiff --git a/apps/docsite/src/__tests__/data-extraction.test.ts b/apps/docsite/src/__tests__/data-extraction.test.tsindex 5d76a00055..c84732cbaa 100644--- a/apps/docsite/src/__tests__/data-extraction.test.ts+++ b/apps/docsite/src/__tests__/data-extraction.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Data extraction tests for the docsite.*diff --git a/apps/docsite/src/app/(docs)/changelog/page.tsx b/apps/docsite/src/app/(docs)/changelog/page.tsxindex 5105b73952..89946de2d5 100644--- a/apps/docsite/src/app/(docs)/changelog/page.tsx+++ b/apps/docsite/src/app/(docs)/changelog/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {ChangelogView} from '../../../components/ChangelogView';import {components} from '../../../generated/componentRegistry';import {packages} from '../../../generated/packageRegistry';diff --git a/apps/docsite/src/app/(docs)/components/[name]/page.tsx b/apps/docsite/src/app/(docs)/components/[name]/page.tsxindex 918581d9cd..2ec5145018 100644--- a/apps/docsite/src/app/(docs)/components/[name]/page.tsx+++ b/apps/docsite/src/app/(docs)/components/[name]/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Component detail page.* Server component that resolves data, then delegates to ComponentDetailClientdiff --git a/apps/docsite/src/app/(docs)/docs/[topic]/page.tsx b/apps/docsite/src/app/(docs)/docs/[topic]/page.tsxindex c6b1ab5072..437e991eee 100644--- a/apps/docsite/src/app/(docs)/docs/[topic]/page.tsx+++ b/apps/docsite/src/app/(docs)/docs/[topic]/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Page type: long-form-doc* Renders guide and foundation docs from the pipeline.diff --git a/apps/docsite/src/app/(docs)/layout.tsx b/apps/docsite/src/app/(docs)/layout.tsxindex b4094b5461..8848fa865b 100644--- a/apps/docsite/src/app/(docs)/layout.tsx+++ b/apps/docsite/src/app/(docs)/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {headers} from 'next/headers';import {DocsShell} from '../../components/DocsShell';import {components} from '../../generated/componentRegistry';diff --git a/apps/docsite/src/app/(docs)/packages/[name]/ComponentPreviewCard.tsx b/apps/docsite/src/app/(docs)/packages/[name]/ComponentPreviewCard.tsxindex e50fb4d180..7e5909f74b 100644--- a/apps/docsite/src/app/(docs)/packages/[name]/ComponentPreviewCard.tsx+++ b/apps/docsite/src/app/(docs)/packages/[name]/ComponentPreviewCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/apps/docsite/src/app/(docs)/packages/[name]/PackageHeading.tsx b/apps/docsite/src/app/(docs)/packages/[name]/PackageHeading.tsxindex e6612988ff..f649d8c366 100644--- a/apps/docsite/src/app/(docs)/packages/[name]/PackageHeading.tsx+++ b/apps/docsite/src/app/(docs)/packages/[name]/PackageHeading.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/apps/docsite/src/app/(docs)/packages/[name]/PackageStubPage.tsx b/apps/docsite/src/app/(docs)/packages/[name]/PackageStubPage.tsxindex cdeda1efd0..e9203ece64 100644--- a/apps/docsite/src/app/(docs)/packages/[name]/PackageStubPage.tsx+++ b/apps/docsite/src/app/(docs)/packages/[name]/PackageStubPage.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/app/(docs)/packages/[name]/page.tsx b/apps/docsite/src/app/(docs)/packages/[name]/page.tsxindex 34c70dbe68..9221551f82 100644--- a/apps/docsite/src/app/(docs)/packages/[name]/page.tsx+++ b/apps/docsite/src/app/(docs)/packages/[name]/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Page type: package* Adapts based on the package type:diff --git a/apps/docsite/src/app/(docs)/page.tsx b/apps/docsite/src/app/(docs)/page.tsxindex 58d7af93b8..1da85e5f27 100644--- a/apps/docsite/src/app/(docs)/page.tsx+++ b/apps/docsite/src/app/(docs)/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Page type: overview* Home page — hero, libraries, foundations.diff --git a/apps/docsite/src/app/(preview)/playground-preview/layout.tsx b/apps/docsite/src/app/(preview)/playground-preview/layout.tsxindex 25b09d4d0a..0a71e51255 100644--- a/apps/docsite/src/app/(preview)/playground-preview/layout.tsx+++ b/apps/docsite/src/app/(preview)/playground-preview/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export default function PreviewLayout({children}: {children: React.ReactNode}) {return (<>diff --git a/apps/docsite/src/app/(preview)/playground-preview/page.tsx b/apps/docsite/src/app/(preview)/playground-preview/page.tsxindex 47a768b115..5d26c0dadf 100644--- a/apps/docsite/src/app/(preview)/playground-preview/page.tsx+++ b/apps/docsite/src/app/(preview)/playground-preview/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use client";import React, {diff --git a/apps/docsite/src/app/(preview)/playground-preview/runner.ts b/apps/docsite/src/app/(preview)/playground-preview/runner.tsindex b84e2bf162..a64d86d819 100644--- a/apps/docsite/src/app/(preview)/playground-preview/runner.ts+++ b/apps/docsite/src/app/(preview)/playground-preview/runner.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {scope} from './scope';interface BabelStandalone {diff --git a/apps/docsite/src/app/(preview)/playground-preview/scope.ts b/apps/docsite/src/app/(preview)/playground-preview/scope.tsindex a608875ccb..843e4d91bd 100644--- a/apps/docsite/src/app/(preview)/playground-preview/scope.ts+++ b/apps/docsite/src/app/(preview)/playground-preview/scope.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// @generated by scripts/generate-scope.mjs — do not edit manuallyimport React, {useState, useCallback, useMemo, useEffect, useRef} from 'react';diff --git a/apps/docsite/src/app/craft/layout.tsx b/apps/docsite/src/app/craft/layout.tsxindex 10c4fb424c..5dc5588be3 100644--- a/apps/docsite/src/app/craft/layout.tsx+++ b/apps/docsite/src/app/craft/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {headers} from 'next/headers';import {XDSAppShell} from '@xds/core/AppShell';import {SharedTopNav} from '../../components/SharedTopNav';diff --git a/apps/docsite/src/app/craft/page.tsx b/apps/docsite/src/app/craft/page.tsxindex 74211c7faf..398bb86ecd 100644--- a/apps/docsite/src/app/craft/page.tsx+++ b/apps/docsite/src/app/craft/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Page type: craft landing* Template gallery with hover overlay cards.diff --git a/apps/docsite/src/app/craft/templates/[slug]/page.tsx b/apps/docsite/src/app/craft/templates/[slug]/page.tsxindex 7dcce79443..be266848e3 100644--- a/apps/docsite/src/app/craft/templates/[slug]/page.tsx+++ b/apps/docsite/src/app/craft/templates/[slug]/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Page type: template viewer* Preview a template + view its source code.diff --git a/apps/docsite/src/app/craft/theme/page.tsx b/apps/docsite/src/app/craft/theme/page.tsxindex 00ddaebd37..7ff77a5bd6 100644--- a/apps/docsite/src/app/craft/theme/page.tsx+++ b/apps/docsite/src/app/craft/theme/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Page type: theme editor* Live theme customization with token adjustments and preview.diff --git a/apps/docsite/src/app/globals.css b/apps/docsite/src/app/globals.cssindex 1de6cc7b0a..6b610c827f 100644--- a/apps/docsite/src/app/globals.css+++ b/apps/docsite/src/app/globals.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+@import "@xds/core/reset.css";@import "@xds/core/xds.css";@import "@xds/theme-default/theme.css";diff --git a/apps/docsite/src/app/layout.tsx b/apps/docsite/src/app/layout.tsxindex 27cb8d6bb8..1894750417 100644--- a/apps/docsite/src/app/layout.tsx+++ b/apps/docsite/src/app/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Metadata} from 'next';import './globals.css';import {Providers} from './providers';diff --git a/apps/docsite/src/app/playground/PlaygroundClient.tsx b/apps/docsite/src/app/playground/PlaygroundClient.tsxindex cefbc3b8a6..6d51a2eb08 100644--- a/apps/docsite/src/app/playground/PlaygroundClient.tsx+++ b/apps/docsite/src/app/playground/PlaygroundClient.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use client";import {useCallback, useEffect, useMemo, useRef, useState} from "react";diff --git a/apps/docsite/src/app/playground/layout.tsx b/apps/docsite/src/app/playground/layout.tsxindex 56b20cf732..61689f034f 100644--- a/apps/docsite/src/app/playground/layout.tsx+++ b/apps/docsite/src/app/playground/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSAppShell} from '@xds/core/AppShell';import {SharedTopNav} from '../../components/SharedTopNav';diff --git a/apps/docsite/src/app/playground/page.tsx b/apps/docsite/src/app/playground/page.tsxindex 7728422086..030a877821 100644--- a/apps/docsite/src/app/playground/page.tsx+++ b/apps/docsite/src/app/playground/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Metadata} from 'next';import {PlaygroundClient} from './PlaygroundClient';diff --git a/apps/docsite/src/app/providers.tsx b/apps/docsite/src/app/providers.tsxindex 2df97556c1..bed7909496 100644--- a/apps/docsite/src/app/providers.tsx+++ b/apps/docsite/src/app/providers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import Link from 'next/link';diff --git a/apps/docsite/src/components/ChangelogView.tsx b/apps/docsite/src/components/ChangelogView.tsxindex 81c067eb01..1c288f7102 100644--- a/apps/docsite/src/components/ChangelogView.tsx+++ b/apps/docsite/src/components/ChangelogView.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/docsite/src/components/DocsShell.tsx b/apps/docsite/src/components/DocsShell.tsxindex edb48f69d8..684b9815e0 100644--- a/apps/docsite/src/components/DocsShell.tsx+++ b/apps/docsite/src/components/DocsShell.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {usePathname} from 'next/navigation';diff --git a/apps/docsite/src/components/SearchPalette.tsx b/apps/docsite/src/components/SearchPalette.tsxindex 6fd155ca3e..50f83d13d9 100644--- a/apps/docsite/src/components/SearchPalette.tsx+++ b/apps/docsite/src/components/SearchPalette.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo, useCallback} from 'react';diff --git a/apps/docsite/src/components/SharedTopNav.tsx b/apps/docsite/src/components/SharedTopNav.tsxindex 746fa4cb3e..019bddd383 100644--- a/apps/docsite/src/components/SharedTopNav.tsx+++ b/apps/docsite/src/components/SharedTopNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/docsite/src/components/ShowcaseThumbnail.tsx b/apps/docsite/src/components/ShowcaseThumbnail.tsxindex d332800f8f..05ac23f444 100644--- a/apps/docsite/src/components/ShowcaseThumbnail.tsx+++ b/apps/docsite/src/components/ShowcaseThumbnail.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {diff --git a/apps/docsite/src/components/TemplateThumbnail.tsx b/apps/docsite/src/components/TemplateThumbnail.tsxindex 0fc9508eab..a8c58a2866 100644--- a/apps/docsite/src/components/TemplateThumbnail.tsx+++ b/apps/docsite/src/components/TemplateThumbnail.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {diff --git a/apps/docsite/src/components/ThemePackagePage.tsx b/apps/docsite/src/components/ThemePackagePage.tsxindex dbb9707994..94ac69130b 100644--- a/apps/docsite/src/components/ThemePackagePage.tsx+++ b/apps/docsite/src/components/ThemePackagePage.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/docsite/src/components/ThemeShowcasePreview.tsx b/apps/docsite/src/components/ThemeShowcasePreview.tsxindex 0b1c6b69e9..7b76955769 100644--- a/apps/docsite/src/components/ThemeShowcasePreview.tsx+++ b/apps/docsite/src/components/ThemeShowcasePreview.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useEffect, useRef} from 'react';diff --git a/apps/docsite/src/components/ThemeShowcaseTile.tsx b/apps/docsite/src/components/ThemeShowcaseTile.tsxindex 3c59b5c4e4..560f8eee62 100644--- a/apps/docsite/src/components/ThemeShowcaseTile.tsx+++ b/apps/docsite/src/components/ThemeShowcaseTile.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/XDSWordmark.tsx b/apps/docsite/src/components/XDSWordmark.tsxindex 330d4d3960..c2ea933d8a 100644--- a/apps/docsite/src/components/XDSWordmark.tsx+++ b/apps/docsite/src/components/XDSWordmark.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// XDS wordmark SVG — uses currentColor for light/dark adaptationexport const XDS_WORDMARK = (<svgdiff --git a/apps/docsite/src/components/component-detail/Anatomy.tsx b/apps/docsite/src/components/component-detail/Anatomy.tsxindex 6b37eb873a..b9b38c7557 100644--- a/apps/docsite/src/components/component-detail/Anatomy.tsx+++ b/apps/docsite/src/components/component-detail/Anatomy.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHeading} from '@xds/core/Text';diff --git a/apps/docsite/src/components/component-detail/BestPractices.tsx b/apps/docsite/src/components/component-detail/BestPractices.tsxindex c64521ff1f..2d170228d1 100644--- a/apps/docsite/src/components/component-detail/BestPractices.tsx+++ b/apps/docsite/src/components/component-detail/BestPractices.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSHeading} from '@xds/core/Text';import {XDSVStack} from '@xds/core/Layout';import {XDSSection} from '@xds/core/Section';diff --git a/apps/docsite/src/components/component-detail/ComponentDetailClient.tsx b/apps/docsite/src/components/component-detail/ComponentDetailClient.tsxindex 317f508e93..38c3ea0aa0 100644--- a/apps/docsite/src/components/component-detail/ComponentDetailClient.tsx+++ b/apps/docsite/src/components/component-detail/ComponentDetailClient.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {Suspense} from 'react';diff --git a/apps/docsite/src/components/component-detail/ExampleBlock.tsx b/apps/docsite/src/components/component-detail/ExampleBlock.tsxindex b7ce8cf4e8..35fd1273a2 100644--- a/apps/docsite/src/components/component-detail/ExampleBlock.tsx+++ b/apps/docsite/src/components/component-detail/ExampleBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useEffect, useState, type ComponentType} from 'react';diff --git a/apps/docsite/src/components/component-detail/HookSignature.tsx b/apps/docsite/src/components/component-detail/HookSignature.tsxindex f851e6510b..06c006204c 100644--- a/apps/docsite/src/components/component-detail/HookSignature.tsx+++ b/apps/docsite/src/components/component-detail/HookSignature.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHeading, XDSText} from '@xds/core/Text';diff --git a/apps/docsite/src/components/component-detail/InteractivePreview.tsx b/apps/docsite/src/components/component-detail/InteractivePreview.tsxindex 0185596091..962b9150a9 100644--- a/apps/docsite/src/components/component-detail/InteractivePreview.tsx+++ b/apps/docsite/src/components/component-detail/InteractivePreview.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/apps/docsite/src/components/component-detail/PlaygroundPropsTable.tsx b/apps/docsite/src/components/component-detail/PlaygroundPropsTable.tsxindex 53f1374b44..abb823c694 100644--- a/apps/docsite/src/components/component-detail/PlaygroundPropsTable.tsx+++ b/apps/docsite/src/components/component-detail/PlaygroundPropsTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {createElement, useState} from 'react';diff --git a/apps/docsite/src/components/component-detail/PropsTable.tsx b/apps/docsite/src/components/component-detail/PropsTable.tsxindex df99b25279..6a063baf2f 100644--- a/apps/docsite/src/components/component-detail/PropsTable.tsx+++ b/apps/docsite/src/components/component-detail/PropsTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHeading, XDSText} from '@xds/core/Text';diff --git a/apps/docsite/src/components/component-detail/ShowcasePreview.tsx b/apps/docsite/src/components/component-detail/ShowcasePreview.tsxindex 3c571debd6..c499d1d9cc 100644--- a/apps/docsite/src/components/component-detail/ShowcasePreview.tsx+++ b/apps/docsite/src/components/component-detail/ShowcasePreview.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useEffect, useState, type ComponentType} from 'react';diff --git a/apps/docsite/src/components/component-detail/parsePropType.ts b/apps/docsite/src/components/component-detail/parsePropType.tsindex 9bbef7023c..9f8e415f8a 100644--- a/apps/docsite/src/components/component-detail/parsePropType.ts+++ b/apps/docsite/src/components/component-detail/parsePropType.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Parses a stringified TypeScript prop type into a control descriptor* that the playground can render an input for.diff --git a/apps/docsite/src/components/component-detail/resolveElements.ts b/apps/docsite/src/components/component-detail/resolveElements.tsindex 991cbe8e3f..4866631ce1 100644--- a/apps/docsite/src/components/component-detail/resolveElements.ts+++ b/apps/docsite/src/components/component-detail/resolveElements.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Resolves ElementDescriptor objects into React elements at runtime.* Shared between InteractivePreview (for playground defaults) anddiff --git a/apps/docsite/src/components/docs/BestPracticesBlock.tsx b/apps/docsite/src/components/docs/BestPracticesBlock.tsxindex 8c5a2be283..b9142acea3 100644--- a/apps/docsite/src/components/docs/BestPracticesBlock.tsx+++ b/apps/docsite/src/components/docs/BestPracticesBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBadge} from '@xds/core/Badge';diff --git a/apps/docsite/src/components/docs/CodeBlock.tsx b/apps/docsite/src/components/docs/CodeBlock.tsxindex 68e3153db6..1fc8a9cc90 100644--- a/apps/docsite/src/components/docs/CodeBlock.tsx+++ b/apps/docsite/src/components/docs/CodeBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/docs/ContentBlockRenderer.tsx b/apps/docsite/src/components/docs/ContentBlockRenderer.tsxindex a3f5dad6a5..8744c52b80 100644--- a/apps/docsite/src/components/docs/ContentBlockRenderer.tsx+++ b/apps/docsite/src/components/docs/ContentBlockRenderer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {ProseBlock} from './ProseBlock';diff --git a/apps/docsite/src/components/docs/ListBlock.tsx b/apps/docsite/src/components/docs/ListBlock.tsxindex bf76c277ec..9513941df6 100644--- a/apps/docsite/src/components/docs/ListBlock.tsx+++ b/apps/docsite/src/components/docs/ListBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack, XDSHStack} from '@xds/core/Layout';diff --git a/apps/docsite/src/components/docs/ProseBlock.tsx b/apps/docsite/src/components/docs/ProseBlock.tsxindex 39aee4dba7..74a12c3a66 100644--- a/apps/docsite/src/components/docs/ProseBlock.tsx+++ b/apps/docsite/src/components/docs/ProseBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/docs/ReferenceDocView.tsx b/apps/docsite/src/components/docs/ReferenceDocView.tsxindex d227318d7e..a5cb8ed485 100644--- a/apps/docsite/src/components/docs/ReferenceDocView.tsx+++ b/apps/docsite/src/components/docs/ReferenceDocView.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/docs/TableBlock.tsx b/apps/docsite/src/components/docs/TableBlock.tsxindex cd30efdf6a..06be51326a 100644--- a/apps/docsite/src/components/docs/TableBlock.tsx+++ b/apps/docsite/src/components/docs/TableBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/apps/docsite/src/components/docs/TokensDocView.tsx b/apps/docsite/src/components/docs/TokensDocView.tsxindex f2dae60db1..b2203ac873 100644--- a/apps/docsite/src/components/docs/TokensDocView.tsx+++ b/apps/docsite/src/components/docs/TokensDocView.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack} from '@xds/core/Layout';diff --git a/apps/docsite/src/components/tokens/ColorTokenTable.tsx b/apps/docsite/src/components/tokens/ColorTokenTable.tsxindex cbe284f9aa..9ccaa24466 100644--- a/apps/docsite/src/components/tokens/ColorTokenTable.tsx+++ b/apps/docsite/src/components/tokens/ColorTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/tokens/ElevationTokenTable.tsx b/apps/docsite/src/components/tokens/ElevationTokenTable.tsxindex 5b26540cec..9e2fa6df99 100644--- a/apps/docsite/src/components/tokens/ElevationTokenTable.tsx+++ b/apps/docsite/src/components/tokens/ElevationTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/tokens/FontTokenTables.tsx b/apps/docsite/src/components/tokens/FontTokenTables.tsxindex 5b0bbd50f8..8d97854f3e 100644--- a/apps/docsite/src/components/tokens/FontTokenTables.tsx+++ b/apps/docsite/src/components/tokens/FontTokenTables.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/tokens/MotionTokenTable.tsx b/apps/docsite/src/components/tokens/MotionTokenTable.tsxindex 2df56070e1..27cc64ca47 100644--- a/apps/docsite/src/components/tokens/MotionTokenTable.tsx+++ b/apps/docsite/src/components/tokens/MotionTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useEffect, useRef} from 'react';diff --git a/apps/docsite/src/components/tokens/ShapeTokenTable.tsx b/apps/docsite/src/components/tokens/ShapeTokenTable.tsxindex e206e5d84a..d787cb2e01 100644--- a/apps/docsite/src/components/tokens/ShapeTokenTable.tsx+++ b/apps/docsite/src/components/tokens/ShapeTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/tokens/SizeTokenTable.tsx b/apps/docsite/src/components/tokens/SizeTokenTable.tsxindex 1d30902481..f16cbf8c2c 100644--- a/apps/docsite/src/components/tokens/SizeTokenTable.tsx+++ b/apps/docsite/src/components/tokens/SizeTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/tokens/SpacingTokenTable.tsx b/apps/docsite/src/components/tokens/SpacingTokenTable.tsxindex dc884839ef..d8a915bde9 100644--- a/apps/docsite/src/components/tokens/SpacingTokenTable.tsx+++ b/apps/docsite/src/components/tokens/SpacingTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/tokens/TypographyTokenTable.tsx b/apps/docsite/src/components/tokens/TypographyTokenTable.tsxindex 8a4f2dcb3d..c24f69c83f 100644--- a/apps/docsite/src/components/tokens/TypographyTokenTable.tsx+++ b/apps/docsite/src/components/tokens/TypographyTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/docsite/src/components/tokens/helpers.ts b/apps/docsite/src/components/tokens/helpers.tsindex 5e7300d0bb..90fc44cbd1 100644--- a/apps/docsite/src/components/tokens/helpers.ts+++ b/apps/docsite/src/components/tokens/helpers.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useContext, useMemo} from 'react';import type {UseXDSThemeReturn} from '@xds/core/theme';import {diff --git a/apps/docsite/src/components/tokens/index.ts b/apps/docsite/src/components/tokens/index.tsindex 5d93a69f98..f32c03eb98 100644--- a/apps/docsite/src/components/tokens/index.ts+++ b/apps/docsite/src/components/tokens/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {ColorTokenTable} from './ColorTokenTable';export {SpacingTokenTable} from './SpacingTokenTable';export {SizeTokenTable} from './SizeTokenTable';diff --git a/apps/docsite/src/components/tokens/types.ts b/apps/docsite/src/components/tokens/types.tsindex 6e83fe9a3a..4bf700109c 100644--- a/apps/docsite/src/components/tokens/types.ts+++ b/apps/docsite/src/components/tokens/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {UseXDSThemeReturn} from '@xds/core/theme';export interface TokenTableProps {diff --git a/apps/docsite/src/constants.ts b/apps/docsite/src/constants.tsindex 8398ff28f7..4b8f369ad7 100644--- a/apps/docsite/src/constants.ts+++ b/apps/docsite/src/constants.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export const GITHUB_REPO = 'https://github.com/facebookexperimental/xds';diff --git a/apps/docsite/vitest.config.ts b/apps/docsite/vitest.config.tsindex 9586925e24..f31e7f2e4f 100644--- a/apps/docsite/vitest.config.ts+++ b/apps/docsite/vitest.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'vitest/config';export default defineConfig({diff --git a/apps/example-nextjs-source/babel.config.js b/apps/example-nextjs-source/babel.config.jsindex 71fed55f68..72bdde5dbf 100644--- a/apps/example-nextjs-source/babel.config.js+++ b/apps/example-nextjs-source/babel.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global module, __dirname */const {babel} = require('@xds/build');module.exports = babel(__dirname);diff --git a/apps/example-nextjs-source/css.d.ts b/apps/example-nextjs-source/css.d.tsindex 871e021524..11740a9c39 100644--- a/apps/example-nextjs-source/css.d.ts+++ b/apps/example-nextjs-source/css.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// TypeScript 6 requires type declarations for CSS side-effect imports.// This must be in a separate file from next-env.d.ts (which Next.js regenerates).declare module '*.css';diff --git a/apps/example-nextjs-source/next-env.d.ts b/apps/example-nextjs-source/next-env.d.tsindex 1b3be0840f..588c55e81b 100644--- a/apps/example-nextjs-source/next-env.d.ts+++ b/apps/example-nextjs-source/next-env.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/// <reference types="next" />/// <reference types="next/image-types/global" />diff --git a/apps/example-nextjs-source/next.config.mjs b/apps/example-nextjs-source/next.config.mjsindex 9149ce3b9a..a7bf9afc5c 100644--- a/apps/example-nextjs-source/next.config.mjs+++ b/apps/example-nextjs-source/next.config.mjs@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {withXDS} from '@xds/build/next';export default withXDS({});diff --git a/apps/example-nextjs-source/postcss.config.js b/apps/example-nextjs-source/postcss.config.jsindex dce384a833..d8a86c8aae 100644--- a/apps/example-nextjs-source/postcss.config.js+++ b/apps/example-nextjs-source/postcss.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global module, __dirname */const {postcss} = require('@xds/build');module.exports = postcss(__dirname);diff --git a/apps/example-nextjs-source/src/app/globals.css b/apps/example-nextjs-source/src/app/globals.cssindex f62e74dddd..e2de1428d2 100644--- a/apps/example-nextjs-source/src/app/globals.css+++ b/apps/example-nextjs-source/src/app/globals.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+@import "./layers.css";@import "@xds/core/reset.css";@import "@xds/theme-default/theme.css";diff --git a/apps/example-nextjs-source/src/app/layers.css b/apps/example-nextjs-source/src/app/layers.cssindex 3399fb4f5c..2ee5853f6e 100644--- a/apps/example-nextjs-source/src/app/layers.css+++ b/apps/example-nextjs-source/src/app/layers.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/* Layer order declaration — must be the first CSS in the bundle.Separate file because webpack hoists @import content above inlineCSS, so an inline @layer statement in globals.css would appeardiff --git a/apps/example-nextjs-source/src/app/layout.tsx b/apps/example-nextjs-source/src/app/layout.tsxindex 376f5ba1a2..820e1debab 100644--- a/apps/example-nextjs-source/src/app/layout.tsx+++ b/apps/example-nextjs-source/src/app/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Metadata} from 'next';import './globals.css';import {Providers} from './providers';diff --git a/apps/example-nextjs-source/src/app/page.tsx b/apps/example-nextjs-source/src/app/page.tsxindex 4a6f29894c..d25114ff15 100644--- a/apps/example-nextjs-source/src/app/page.tsx+++ b/apps/example-nextjs-source/src/app/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/example-nextjs-source/src/app/providers.tsx b/apps/example-nextjs-source/src/app/providers.tsxindex ac36e5e29f..4b1c1bdf5e 100644--- a/apps/example-nextjs-source/src/app/providers.tsx+++ b/apps/example-nextjs-source/src/app/providers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import Link from 'next/link';diff --git a/apps/example-nextjs-stylex/babel.config.js b/apps/example-nextjs-stylex/babel.config.jsindex d2070030b7..3bf5ea213e 100644--- a/apps/example-nextjs-stylex/babel.config.js+++ b/apps/example-nextjs-stylex/babel.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global module, require, process, __dirname */// eslint-disable-next-line @typescript-eslint/no-require-importsconst path = require('path');diff --git a/apps/example-nextjs-stylex/css.d.ts b/apps/example-nextjs-stylex/css.d.tsindex 871e021524..11740a9c39 100644--- a/apps/example-nextjs-stylex/css.d.ts+++ b/apps/example-nextjs-stylex/css.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// TypeScript 6 requires type declarations for CSS side-effect imports.// This must be in a separate file from next-env.d.ts (which Next.js regenerates).declare module '*.css';diff --git a/apps/example-nextjs-stylex/next-env.d.ts b/apps/example-nextjs-stylex/next-env.d.tsindex 1b3be0840f..588c55e81b 100644--- a/apps/example-nextjs-stylex/next-env.d.ts+++ b/apps/example-nextjs-stylex/next-env.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/// <reference types="next" />/// <reference types="next/image-types/global" />diff --git a/apps/example-nextjs-stylex/next.config.mjs b/apps/example-nextjs-stylex/next.config.mjsindex 4678774e6d..21211af15c 100644--- a/apps/example-nextjs-stylex/next.config.mjs+++ b/apps/example-nextjs-stylex/next.config.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('next').NextConfig} */const nextConfig = {};diff --git a/apps/example-nextjs-stylex/postcss.config.js b/apps/example-nextjs-stylex/postcss.config.jsindex 251501274d..e6f5c8b4d2 100644--- a/apps/example-nextjs-stylex/postcss.config.js+++ b/apps/example-nextjs-stylex/postcss.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global module, require */// eslint-disable-next-line @typescript-eslint/no-require-importsconst babelConfig = require('./babel.config');diff --git a/apps/example-nextjs-stylex/src/app/globals.css b/apps/example-nextjs-stylex/src/app/globals.cssindex c76d2bd483..696b143c4d 100644--- a/apps/example-nextjs-stylex/src/app/globals.css+++ b/apps/example-nextjs-stylex/src/app/globals.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+@import "@xds/core/reset.css";@import "@xds/core/xds.css";@import "@xds/theme-default/theme.css";diff --git a/apps/example-nextjs-stylex/src/app/layout.tsx b/apps/example-nextjs-stylex/src/app/layout.tsxindex 9580a96739..574cfafed0 100644--- a/apps/example-nextjs-stylex/src/app/layout.tsx+++ b/apps/example-nextjs-stylex/src/app/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Metadata} from 'next';import './globals.css';import {Providers} from './providers';diff --git a/apps/example-nextjs-stylex/src/app/page.tsx b/apps/example-nextjs-stylex/src/app/page.tsxindex 4ddbc11aba..fd8452e5f2 100644--- a/apps/example-nextjs-stylex/src/app/page.tsx+++ b/apps/example-nextjs-stylex/src/app/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/example-nextjs-stylex/src/app/providers.tsx b/apps/example-nextjs-stylex/src/app/providers.tsxindex 2df97556c1..bed7909496 100644--- a/apps/example-nextjs-stylex/src/app/providers.tsx+++ b/apps/example-nextjs-stylex/src/app/providers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import Link from 'next/link';diff --git a/apps/example-nextjs-tailwind/css.d.ts b/apps/example-nextjs-tailwind/css.d.tsindex 871e021524..11740a9c39 100644--- a/apps/example-nextjs-tailwind/css.d.ts+++ b/apps/example-nextjs-tailwind/css.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// TypeScript 6 requires type declarations for CSS side-effect imports.// This must be in a separate file from next-env.d.ts (which Next.js regenerates).declare module '*.css';diff --git a/apps/example-nextjs-tailwind/next-env.d.ts b/apps/example-nextjs-tailwind/next-env.d.tsindex 1b3be0840f..588c55e81b 100644--- a/apps/example-nextjs-tailwind/next-env.d.ts+++ b/apps/example-nextjs-tailwind/next-env.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/// <reference types="next" />/// <reference types="next/image-types/global" />diff --git a/apps/example-nextjs-tailwind/next.config.mjs b/apps/example-nextjs-tailwind/next.config.mjsindex 4678774e6d..21211af15c 100644--- a/apps/example-nextjs-tailwind/next.config.mjs+++ b/apps/example-nextjs-tailwind/next.config.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('next').NextConfig} */const nextConfig = {};diff --git a/apps/example-nextjs-tailwind/postcss.config.mjs b/apps/example-nextjs-tailwind/postcss.config.mjsindex 61e36849cf..b5ef92e01b 100644--- a/apps/example-nextjs-tailwind/postcss.config.mjs+++ b/apps/example-nextjs-tailwind/postcss.config.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+const config = {plugins: {"@tailwindcss/postcss": {},diff --git a/apps/example-nextjs-tailwind/src/app/globals.css b/apps/example-nextjs-tailwind/src/app/globals.cssindex ed764fa43f..75c05da675 100644--- a/apps/example-nextjs-tailwind/src/app/globals.css+++ b/apps/example-nextjs-tailwind/src/app/globals.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/** Layer order for XDS + Tailwind coexistence.*diff --git a/apps/example-nextjs-tailwind/src/app/layout.tsx b/apps/example-nextjs-tailwind/src/app/layout.tsxindex 7b452e376d..ee5274d07b 100644--- a/apps/example-nextjs-tailwind/src/app/layout.tsx+++ b/apps/example-nextjs-tailwind/src/app/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Metadata} from 'next';import './globals.css';import {Providers} from './providers';diff --git a/apps/example-nextjs-tailwind/src/app/page.tsx b/apps/example-nextjs-tailwind/src/app/page.tsxindex b7dd9df631..ee3889cb5f 100644--- a/apps/example-nextjs-tailwind/src/app/page.tsx+++ b/apps/example-nextjs-tailwind/src/app/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/example-nextjs-tailwind/src/app/providers.tsx b/apps/example-nextjs-tailwind/src/app/providers.tsxindex 2df97556c1..bed7909496 100644--- a/apps/example-nextjs-tailwind/src/app/providers.tsx+++ b/apps/example-nextjs-tailwind/src/app/providers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import Link from 'next/link';diff --git a/apps/example-nextjs/css.d.ts b/apps/example-nextjs/css.d.tsindex 871e021524..11740a9c39 100644--- a/apps/example-nextjs/css.d.ts+++ b/apps/example-nextjs/css.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// TypeScript 6 requires type declarations for CSS side-effect imports.// This must be in a separate file from next-env.d.ts (which Next.js regenerates).declare module '*.css';diff --git a/apps/example-nextjs/next-env.d.ts b/apps/example-nextjs/next-env.d.tsindex 1b3be0840f..588c55e81b 100644--- a/apps/example-nextjs/next-env.d.ts+++ b/apps/example-nextjs/next-env.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/// <reference types="next" />/// <reference types="next/image-types/global" />diff --git a/apps/example-nextjs/next.config.mjs b/apps/example-nextjs/next.config.mjsindex 4678774e6d..21211af15c 100644--- a/apps/example-nextjs/next.config.mjs+++ b/apps/example-nextjs/next.config.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('next').NextConfig} */const nextConfig = {};diff --git a/apps/example-nextjs/src/app/globals.css b/apps/example-nextjs/src/app/globals.cssindex 99dc56b92b..118bc7b932 100644--- a/apps/example-nextjs/src/app/globals.css+++ b/apps/example-nextjs/src/app/globals.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+@import "@xds/core/reset.css";@import "@xds/core/xds.css";@import "@xds/theme-default/theme.css";diff --git a/apps/example-nextjs/src/app/layout.tsx b/apps/example-nextjs/src/app/layout.tsxindex d0240b151d..535b6ae4db 100644--- a/apps/example-nextjs/src/app/layout.tsx+++ b/apps/example-nextjs/src/app/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Metadata} from 'next';import './globals.css';import {Providers} from './providers';diff --git a/apps/example-nextjs/src/app/page.tsx b/apps/example-nextjs/src/app/page.tsxindex 2bca15ed7c..0311016132 100644--- a/apps/example-nextjs/src/app/page.tsx+++ b/apps/example-nextjs/src/app/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack, XDSHStack} from '@xds/core/Layout';diff --git a/apps/example-nextjs/src/app/providers.tsx b/apps/example-nextjs/src/app/providers.tsxindex 2df97556c1..bed7909496 100644--- a/apps/example-nextjs/src/app/providers.tsx+++ b/apps/example-nextjs/src/app/providers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import Link from 'next/link';diff --git a/apps/example-vite/index.html b/apps/example-vite/index.htmlindex 6b26f57af7..afd98d5ec7 100644--- a/apps/example-vite/index.html+++ b/apps/example-vite/index.html@@ -1,3 +1,5 @@+<!-- Copyright (c) Meta Platforms, Inc. and affiliates. -->+<!doctype html><html lang="en"><head>diff --git a/apps/example-vite/src/App.tsx b/apps/example-vite/src/App.tsxindex ef0e10670f..cd0153487c 100644--- a/apps/example-vite/src/App.tsx+++ b/apps/example-vite/src/App.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import * as stylex from '@stylexjs/stylex';import {XDSTheme} from '@xds/core/theme';diff --git a/apps/example-vite/src/index.css b/apps/example-vite/src/index.cssindex 773c170309..3c614f2227 100644--- a/apps/example-vite/src/index.css+++ b/apps/example-vite/src/index.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/* Placeholder to ensure Vite emits a CSS asset for StyleX aggregation. */:root {--stylex-injection: 0;diff --git a/apps/example-vite/src/main.tsx b/apps/example-vite/src/main.tsxindex 641303704b..2e2aa76547 100644--- a/apps/example-vite/src/main.tsx+++ b/apps/example-vite/src/main.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {StrictMode} from 'react';import {createRoot} from 'react-dom/client';import '@xds/core/reset.css';diff --git a/apps/example-vite/src/vite-env.d.ts b/apps/example-vite/src/vite-env.d.tsindex 11f02fe2a0..a87ae4a708 100644--- a/apps/example-vite/src/vite-env.d.ts+++ b/apps/example-vite/src/vite-env.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/// <reference types="vite/client" />diff --git a/apps/example-vite/vite.config.ts b/apps/example-vite/vite.config.tsindex 7658e597fa..913ad37ca3 100644--- a/apps/example-vite/vite.config.ts+++ b/apps/example-vite/vite.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import path from 'path';import {fileURLToPath} from 'url';import {defineConfig} from 'vite';diff --git a/apps/sandbox/babel.config.js b/apps/sandbox/babel.config.jsindex 245eb50e1a..782e761990 100644--- a/apps/sandbox/babel.config.js+++ b/apps/sandbox/babel.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global module, __dirname */const path = require('path');const {babel} = require('@xds/build');diff --git a/apps/sandbox/css.d.ts b/apps/sandbox/css.d.tsindex 871e021524..11740a9c39 100644--- a/apps/sandbox/css.d.ts+++ b/apps/sandbox/css.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// TypeScript 6 requires type declarations for CSS side-effect imports.// This must be in a separate file from next-env.d.ts (which Next.js regenerates).declare module '*.css';diff --git a/apps/sandbox/next-env.d.ts b/apps/sandbox/next-env.d.tsindex 1b3be0840f..588c55e81b 100644--- a/apps/sandbox/next-env.d.ts+++ b/apps/sandbox/next-env.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/// <reference types="next" />/// <reference types="next/image-types/global" />diff --git a/apps/sandbox/next.config.mjs b/apps/sandbox/next.config.mjsindex c913a9b5cd..803c6c62a9 100644--- a/apps/sandbox/next.config.mjs+++ b/apps/sandbox/next.config.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {withXDS} from '@xds/build/next';/** @type {import('next').NextConfig} */diff --git a/apps/sandbox/postcss.config.js b/apps/sandbox/postcss.config.jsindex 07732104ac..cd6fa562e9 100644--- a/apps/sandbox/postcss.config.js+++ b/apps/sandbox/postcss.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global module, __dirname */const path = require('path');const {postcss} = require('@xds/build');diff --git a/apps/sandbox/scripts/generate-changelog.js b/apps/sandbox/scripts/generate-changelog.jsindex 3c62ef2141..d4f96d55e3 100644--- a/apps/sandbox/scripts/generate-changelog.js+++ b/apps/sandbox/scripts/generate-changelog.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* eslint-disable no-undef, @typescript-eslint/no-require-imports *//*** Generates apps/sandbox/src/generated/changelogRegistry.ts from CHANGELOG.md@@ -331,7 +333,9 @@ function extractPeerDeps() {function writeOutput(versions, deprecations, peerDeps) {fs.mkdirSync(OUT_DIR, {recursive: true});- const content = `// Auto-generated by scripts/generate-changelog.js — do not edit+ const content = `// Copyright (c) Meta Platforms, Inc. and affiliates.++// Auto-generated by scripts/generate-changelog.js — do not editexport const GITHUB_REPO = ${JSON.stringify(GITHUB_REPO)};diff --git a/apps/sandbox/scripts/generate-cli-registry.mjs b/apps/sandbox/scripts/generate-cli-registry.mjsindex 820798afc5..e5fb617b95 100644--- a/apps/sandbox/scripts/generate-cli-registry.mjs+++ b/apps/sandbox/scripts/generate-cli-registry.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Generates apps/sandbox/src/generated/cliRegistry.ts by introspecting* the @xds/cli Commander.js program after all commands register.@@ -106,7 +108,9 @@ const commands = program.commandsfs.mkdirSync(OUT_DIR, {recursive: true});-const content = `// Auto-generated by scripts/generate-cli-registry.mjs — do not edit+const content = `// Copyright (c) Meta Platforms, Inc. and affiliates.++// Auto-generated by scripts/generate-cli-registry.mjs — do not editexport const CLI_VERSION = ${JSON.stringify(CLI_PKG.version)};diff --git a/apps/sandbox/scripts/generate-foundation-docs.mjs b/apps/sandbox/scripts/generate-foundation-docs.mjsindex e0bfa5100a..6634d44b51 100644--- a/apps/sandbox/scripts/generate-foundation-docs.mjs+++ b/apps/sandbox/scripts/generate-foundation-docs.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Pre-generate resolved foundation docs as a JSON file for the sandbox.diff --git a/apps/sandbox/scripts/generate-versions.js b/apps/sandbox/scripts/generate-versions.jsindex 5bde1c268e..362ae75d04 100644--- a/apps/sandbox/scripts/generate-versions.js+++ b/apps/sandbox/scripts/generate-versions.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* global require, console, __dirname *//* eslint-disable no-undef, @typescript-eslint/no-require-imports *//**@@ -84,7 +86,9 @@ function writeOutput(versions) {}).join(',\n');- const content = `// Auto-generated by scripts/generate-versions.js — do not edit+ const content = `// Copyright (c) Meta Platforms, Inc. and affiliates.++// Auto-generated by scripts/generate-versions.js — do not editexport type GitVersion = {id: string;name: string;diff --git a/apps/sandbox/src/app/(fullscreen)/BlockDocContext.tsx b/apps/sandbox/src/app/(fullscreen)/BlockDocContext.tsxindex db8a69e538..13f63e0fdf 100644--- a/apps/sandbox/src/app/(fullscreen)/BlockDocContext.tsx+++ b/apps/sandbox/src/app/(fullscreen)/BlockDocContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAspectRatio} from '@xds/core/AspectRatio';diff --git a/apps/sandbox/src/app/(fullscreen)/PreviewShell.tsx b/apps/sandbox/src/app/(fullscreen)/PreviewShell.tsxindex 10ae21e052..3586e6d3e5 100644--- a/apps/sandbox/src/app/(fullscreen)/PreviewShell.tsx+++ b/apps/sandbox/src/app/(fullscreen)/PreviewShell.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useCallback, useEffect, useMemo, useRef} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/layout.tsx b/apps/sandbox/src/app/(fullscreen)/layout.tsxindex 6179e6b201..408b5ee9dd 100644--- a/apps/sandbox/src/app/(fullscreen)/layout.tsx+++ b/apps/sandbox/src/app/(fullscreen)/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {PreviewShell} from './PreviewShell';export default function FullscreenLayout({diff --git a/apps/sandbox/src/app/(fullscreen)/pages/butter-palette/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/butter-palette/page.tsxindex c633643e05..8248e30c43 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/butter-palette/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/butter-palette/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack} from '@xds/core/Layout';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/codeblock-perf/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/codeblock-perf/page.tsxindex 307a398a02..da3ba40154 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/codeblock-perf/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/codeblock-perf/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as React from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/daily-palette/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/daily-palette/page.tsxindex 283e6a9ad5..18e3de8489 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/daily-palette/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/daily-palette/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack} from '@xds/core/Layout';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/dictation-lab/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/dictation-lab/page.tsxindex 7b59527096..4f470949f3 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/dictation-lab/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/dictation-lab/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useEffect, useCallback, useRef} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/doc-discover/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/doc-discover/page.tsxindex cee64bcc11..a935b0ec1b 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/doc-discover/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/doc-discover/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/doc-docs/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/doc-docs/page.tsxindex 87fe780025..52144695d0 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/doc-docs/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/doc-docs/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/doc-home/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/doc-home/page.tsxindex 62056833d3..ea695b911e 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/doc-home/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/doc-home/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/doc-nav/DocTopNav.tsx b/apps/sandbox/src/app/(fullscreen)/pages/doc-nav/DocTopNav.tsxindex 5188586efb..924dac417c 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/doc-nav/DocTopNav.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/doc-nav/DocTopNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {usePathname} from 'next/navigation';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/AIComposer.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/AIComposer.tsxindex 7d149c13d4..86ce4af49b 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/AIComposer.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/AIComposer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState, useEffect} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/AppTopNav.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/AppTopNav.tsxindex fcca3f7910..d6dc40b3cc 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/AppTopNav.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/AppTopNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState, useEffect} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ChatPanel.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ChatPanel.tsxindex 77001f3be3..17d236a1e7 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ChatPanel.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ChatPanel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ComponentPreviews.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ComponentPreviews.tsxindex 62c5019046..c98f78c5c0 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ComponentPreviews.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ComponentPreviews.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/CraftingCat.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/CraftingCat.tsxindex 0e08886570..e65cea771c 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/CraftingCat.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/CraftingCat.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/DocsView.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/DocsView.tsxindex 36f62a5a72..0ed4ce06a6 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/DocsView.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/DocsView.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState, useEffect, useMemo} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/InlinePublishPanel.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/InlinePublishPanel.tsxindex 33a9b99aca..c5f59a25b4 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/InlinePublishPanel.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/InlinePublishPanel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ProfileView.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ProfileView.tsxindex 052b865e14..79735b0936 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ProfileView.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ProfileView.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo, useCallback} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/SharePopover.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/SharePopover.tsxindex 87c6f7a225..56b0716ee6 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/SharePopover.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/SharePopover.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ShimmerText.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ShimmerText.tsxindex ac36067eb4..943517f4b4 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ShimmerText.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ShimmerText.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState, useEffect} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplateCard.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplateCard.tsxindex 71a9893b1f..54c7f8f794 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplateCard.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplateCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState, useEffect, useRef, useCallback} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplatePreview.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplatePreview.tsxindex 3c92253330..0da446a82f 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplatePreview.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplatePreview.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState, useEffect, useRef, useCallback} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplatePreviewModal.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplatePreviewModal.tsxindex 6a2121c935..8988e6b8fd 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplatePreviewModal.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/TemplatePreviewModal.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState, useRef, useCallback} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ThemeEditorView.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ThemeEditorView.tsxindex 3531dda57d..03f38d4482 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/ThemeEditorView.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/ThemeEditorView.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as React from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/constants.ts b/apps/sandbox/src/app/(fullscreen)/pages/docsite/constants.tsindex 44db904cae..074fd4206f 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/constants.ts+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/constants.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {createStaticSource} from '@xds/core/Typeahead';// ---------------------------------------------------------------------------diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/docsite-icons.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/docsite-icons.tsxindex 8c420541b2..0e2de9baf7 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/docsite-icons.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/docsite-icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/docsview-data.ts b/apps/sandbox/src/app/(fullscreen)/pages/docsite/docsview-data.tsindex 6dc1291778..8755e060a0 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/docsview-data.ts+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/docsview-data.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export const COMPONENT_CATEGORIES = [{label: 'Core',diff --git a/apps/sandbox/src/app/(fullscreen)/pages/docsite/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/docsite/page.tsxindex 8bc7dd6ae3..fee20ad16b 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/docsite/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/docsite/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/documentation/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/documentation/page.tsxindex 76d31b8d37..f5b2ce51a1 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/documentation/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/documentation/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/example-cards/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/example-cards/page.tsxindex 74d43805e2..7a6433215d 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/example-cards/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/example-cards/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/gothic-palette/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/gothic-palette/page.tsxindex b7039cf6d3..67ab060ff1 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/gothic-palette/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/gothic-palette/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack} from '@xds/core/Layout';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/neutral-palette/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/neutral-palette/page.tsxindex 8ae7043f2f..f2e036ec20 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/neutral-palette/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/neutral-palette/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';// =============================================================================diff --git a/apps/sandbox/src/app/(fullscreen)/pages/showcase-components/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/showcase-components/page.tsxindex f4621e8497..25b52783c8 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/showcase-components/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/showcase-components/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/showcase-header/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/showcase-header/page.tsxindex 5a60ace47f..0f8786bb99 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/showcase-header/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/showcase-header/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/stone-palette/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/stone-palette/page.tsxindex 752e712ff4..ee3d3af638 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/stone-palette/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/stone-palette/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack} from '@xds/core/Layout';diff --git a/apps/sandbox/src/app/(fullscreen)/pages/y2k-palette/page.tsx b/apps/sandbox/src/app/(fullscreen)/pages/y2k-palette/page.tsxindex 3aff01cd2a..18dc07254d 100644--- a/apps/sandbox/src/app/(fullscreen)/pages/y2k-palette/page.tsx+++ b/apps/sandbox/src/app/(fullscreen)/pages/y2k-palette/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';// =============================================================================diff --git a/apps/sandbox/src/app/(raw)/layout.tsx b/apps/sandbox/src/app/(raw)/layout.tsxindex 82d88bfea2..6e35373f38 100644--- a/apps/sandbox/src/app/(raw)/layout.tsx+++ b/apps/sandbox/src/app/(raw)/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export default function RawLayout({children}: {children: React.ReactNode}) {return <>{children}</>;}diff --git a/apps/sandbox/src/app/(raw)/pages/shell-lab/page.tsx b/apps/sandbox/src/app/(raw)/pages/shell-lab/page.tsxindex 5f98f53a6b..99ed1e47d3 100644--- a/apps/sandbox/src/app/(raw)/pages/shell-lab/page.tsx+++ b/apps/sandbox/src/app/(raw)/pages/shell-lab/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useCallback} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/[category]/CategoryContent.tsx b/apps/sandbox/src/app/(sandbox)/[category]/CategoryContent.tsxindex 2e8d3f48c6..b08d292987 100644--- a/apps/sandbox/src/app/(sandbox)/[category]/CategoryContent.tsx+++ b/apps/sandbox/src/app/(sandbox)/[category]/CategoryContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/[category]/page.tsx b/apps/sandbox/src/app/(sandbox)/[category]/page.tsxindex 34344195bf..92e15e7a92 100644--- a/apps/sandbox/src/app/(sandbox)/[category]/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/[category]/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {categories} from '../../sandboxPages';import {CategoryContent} from './CategoryContent';diff --git a/apps/sandbox/src/app/(sandbox)/layout.tsx b/apps/sandbox/src/app/(sandbox)/layout.tsxindex 4b598e2176..c754ebe626 100644--- a/apps/sandbox/src/app/(sandbox)/layout.tsx+++ b/apps/sandbox/src/app/(sandbox)/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {SandboxShell} from '../SandboxShell';export default function SandboxLayout({diff --git a/apps/sandbox/src/app/(sandbox)/page.tsx b/apps/sandbox/src/app/(sandbox)/page.tsxindex ebf7526d46..0b9a5c373c 100644--- a/apps/sandbox/src/app/(sandbox)/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/color-studio/colorUtils.ts b/apps/sandbox/src/app/(sandbox)/pages/color-studio/colorUtils.tsindex 0a57b95d9b..77dd568f86 100644--- a/apps/sandbox/src/app/(sandbox)/pages/color-studio/colorUtils.ts+++ b/apps/sandbox/src/app/(sandbox)/pages/color-studio/colorUtils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Color Studio — Color Utilities*diff --git a/apps/sandbox/src/app/(sandbox)/pages/color-studio/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/color-studio/page.tsxindex 34c6636dfa..15c430f8cb 100644--- a/apps/sandbox/src/app/(sandbox)/pages/color-studio/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/color-studio/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useCallback, useMemo} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/DocPreview.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/DocPreview.tsxindex ce130d241f..59f1ccfe94 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/DocPreview.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/DocPreview.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/SectionRenderer.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/SectionRenderer.tsxindex 50f6698037..aba014892b 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/SectionRenderer.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/SectionRenderer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/CodeBlock.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/CodeBlock.tsxindex 74a108a55c..dc83600d86 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/CodeBlock.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/CodeBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ContentBlockRenderer.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ContentBlockRenderer.tsxindex 90ed096f72..ff7eba311e 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ContentBlockRenderer.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ContentBlockRenderer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ContentBlock} from '@xds/core';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ListBlock.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ListBlock.tsxindex 9858a4f4ac..f6b6bc10b4 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ListBlock.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ListBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack, XDSHStack} from '@xds/core/Layout';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ProseBlock.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ProseBlock.tsxindex 9f75baba70..af5081ccf9 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ProseBlock.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/ProseBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/TableBlock.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/TableBlock.tsxindex 7258e59c6b..448d5ab5dc 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/TableBlock.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/TableBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/index.ts b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/index.tsindex fd3218ea9b..d94c5b9cd8 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/index.ts+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/content-blocks/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {ProseBlock} from './ProseBlock';export {CodeBlock} from './CodeBlock';export {TableBlock} from './TableBlock';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/page.tsxindex e215b0cbdf..b5eb6bfd70 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use client";import { useState, useEffect } from "react";diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ColorTokenTable.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ColorTokenTable.tsxindex 22674f760d..9927fd527e 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ColorTokenTable.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ColorTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ElevationTokenTable.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ElevationTokenTable.tsxindex fdf8e61225..927ead54ea 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ElevationTokenTable.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ElevationTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/MotionTokenTable.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/MotionTokenTable.tsxindex 61bd13b00f..0f35d540eb 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/MotionTokenTable.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/MotionTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useEffect, useRef} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ShapeTokenTable.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ShapeTokenTable.tsxindex 8049f9e6f3..d481fd7bb7 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ShapeTokenTable.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/ShapeTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/SpacingTokenTable.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/SpacingTokenTable.tsxindex 8c85ed0326..d3e7f035b6 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/SpacingTokenTable.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/SpacingTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/TypographyTokenTable.tsx b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/TypographyTokenTable.tsxindex 30a2077c25..c8cfa0b39a 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/TypographyTokenTable.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/TypographyTokenTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/helpers.ts b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/helpers.tsindex 597f376dd8..fb654ed702 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/helpers.ts+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/helpers.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {XDSDefinedTheme} from '@xds/core/theme';import {xdsTokenDefaults} from '@xds/core/theme';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/index.ts b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/index.tsindex ff186f67d3..177c1d150a 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/index.ts+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {ColorTokenTable} from './ColorTokenTable';export {SpacingTokenTable} from './SpacingTokenTable';export {TypographyTokenTable} from './TypographyTokenTable';diff --git a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/types.ts b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/types.tsindex e8aba93afc..dbaac48e73 100644--- a/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/types.ts+++ b/apps/sandbox/src/app/(sandbox)/pages/doc-preview/token-tables/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {XDSDefinedTheme} from '@xds/core/theme';export interface TokenTableProps {diff --git a/apps/sandbox/src/app/(sandbox)/pages/example/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/example/page.tsxindex 0d56733dcb..39c8ba329b 100644--- a/apps/sandbox/src/app/(sandbox)/pages/example/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/example/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/media-mode/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/media-mode/page.tsxindex cfb014fd68..0e57a0abc3 100644--- a/apps/sandbox/src/app/(sandbox)/pages/media-mode/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/media-mode/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/media-mode/useImageModeTest.ts b/apps/sandbox/src/app/(sandbox)/pages/media-mode/useImageModeTest.tsindex 8745a5cde7..21be220136 100644--- a/apps/sandbox/src/app/(sandbox)/pages/media-mode/useImageModeTest.ts+++ b/apps/sandbox/src/app/(sandbox)/pages/media-mode/useImageModeTest.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/apps/sandbox/src/app/(sandbox)/pages/mega-menu/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/mega-menu/page.tsxindex 38c5a50870..7ad5048732 100644--- a/apps/sandbox/src/app/(sandbox)/pages/mega-menu/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/mega-menu/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/motion-examples/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/motion-examples/page.tsxindex c511a67f72..45fe7d6041 100644--- a/apps/sandbox/src/app/(sandbox)/pages/motion-examples/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/motion-examples/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as React from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/navigation/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/navigation/page.tsxindex ca510c67d2..47c682a38b 100644--- a/apps/sandbox/src/app/(sandbox)/pages/navigation/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/navigation/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/polymorphic-link/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/polymorphic-link/page.tsxindex bbcb40c51c..e6b4205f05 100644--- a/apps/sandbox/src/app/(sandbox)/pages/polymorphic-link/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/polymorphic-link/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/apps/sandbox/src/app/(sandbox)/pages/table-overview/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/table-overview/page.tsxindex 2773104b14..88332296e6 100644--- a/apps/sandbox/src/app/(sandbox)/pages/table-overview/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/table-overview/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/apps/sandbox/src/app/(sandbox)/pages/topnav-menu/page.tsx b/apps/sandbox/src/app/(sandbox)/pages/topnav-menu/page.tsxindex c23c775cde..955d1075bc 100644--- a/apps/sandbox/src/app/(sandbox)/pages/topnav-menu/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/pages/topnav-menu/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack} from '@xds/core/Layout';diff --git a/apps/sandbox/src/app/(sandbox)/templates/page.tsx b/apps/sandbox/src/app/(sandbox)/templates/page.tsxindex 7730e956db..6316a0010c 100644--- a/apps/sandbox/src/app/(sandbox)/templates/page.tsx+++ b/apps/sandbox/src/app/(sandbox)/templates/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useCallback, useMemo, Suspense} from 'react';diff --git a/apps/sandbox/src/app/ProjectCard.tsx b/apps/sandbox/src/app/ProjectCard.tsxindex 87416e5e10..5a07656318 100644--- a/apps/sandbox/src/app/ProjectCard.tsx+++ b/apps/sandbox/src/app/ProjectCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import Link from 'next/link';diff --git a/apps/sandbox/src/app/SandboxNav.tsx b/apps/sandbox/src/app/SandboxNav.tsxindex e99fa5345f..90ca962588 100644--- a/apps/sandbox/src/app/SandboxNav.tsx+++ b/apps/sandbox/src/app/SandboxNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/apps/sandbox/src/app/SandboxShell.tsx b/apps/sandbox/src/app/SandboxShell.tsxindex fa0618dd4b..bb00cc8026 100644--- a/apps/sandbox/src/app/SandboxShell.tsx+++ b/apps/sandbox/src/app/SandboxShell.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {usePathname} from 'next/navigation';diff --git a/apps/sandbox/src/app/globals.css b/apps/sandbox/src/app/globals.cssindex 20d1fc9563..1bb81dacc8 100644--- a/apps/sandbox/src/app/globals.css+++ b/apps/sandbox/src/app/globals.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+@import "./layers.css";@import "@xds/core/reset.css";@import "@xds/theme-default/theme.css";diff --git a/apps/sandbox/src/app/icons.tsx b/apps/sandbox/src/app/icons.tsxindex 9bf76ab15e..52f1dc7aa8 100644--- a/apps/sandbox/src/app/icons.tsx+++ b/apps/sandbox/src/app/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file icons.tsx* @position Inline SVG icons used by the sandbox shell (sidebar + topnav).diff --git a/apps/sandbox/src/app/layers.css b/apps/sandbox/src/app/layers.cssindex 3399fb4f5c..2ee5853f6e 100644--- a/apps/sandbox/src/app/layers.css+++ b/apps/sandbox/src/app/layers.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/* Layer order declaration — must be the first CSS in the bundle.Separate file because webpack hoists @import content above inlineCSS, so an inline @layer statement in globals.css would appeardiff --git a/apps/sandbox/src/app/layout.tsx b/apps/sandbox/src/app/layout.tsxindex 06f410ad1d..6a7411ff93 100644--- a/apps/sandbox/src/app/layout.tsx+++ b/apps/sandbox/src/app/layout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Metadata} from 'next';import './globals.css';import {Providers} from './providers';diff --git a/apps/sandbox/src/app/providers.tsx b/apps/sandbox/src/app/providers.tsxindex b5243098fa..6aeb6bbe6d 100644--- a/apps/sandbox/src/app/providers.tsx+++ b/apps/sandbox/src/app/providers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, createContext, useContext, useEffect} from 'react';diff --git a/apps/sandbox/src/app/sandboxPages.ts b/apps/sandbox/src/app/sandboxPages.tsindex 1810e1e7a8..5ae0b465df 100644--- a/apps/sandbox/src/app/sandboxPages.ts+++ b/apps/sandbox/src/app/sandboxPages.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file sandboxPages.ts* @position Central registry of all sandbox pages, grouped by category.diff --git a/apps/sandbox/src/components/ThemePalettePreview.tsx b/apps/sandbox/src/components/ThemePalettePreview.tsxindex 22b6cd4ca9..a390d17ca5 100644--- a/apps/sandbox/src/components/ThemePalettePreview.tsx+++ b/apps/sandbox/src/components/ThemePalettePreview.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo, useReducer} from 'react';diff --git a/apps/sandbox/src/components/themePreview/ThemeAuditDrawer.tsx b/apps/sandbox/src/components/themePreview/ThemeAuditDrawer.tsxindex 46e5b89341..45200700c1 100644--- a/apps/sandbox/src/components/themePreview/ThemeAuditDrawer.tsx+++ b/apps/sandbox/src/components/themePreview/ThemeAuditDrawer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/apps/sandbox/src/components/themePreview/colorCategories.ts b/apps/sandbox/src/components/themePreview/colorCategories.tsindex 258b17e6d0..8ddb3efeec 100644--- a/apps/sandbox/src/components/themePreview/colorCategories.ts+++ b/apps/sandbox/src/components/themePreview/colorCategories.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Color token categories — copied verbatim from the docsite Theme Editor* (`apps/sandbox/src/app/(fullscreen)/pages/docsite/ThemeEditorView.tsx`)diff --git a/apps/sandbox/src/components/themePreview/colorMath.ts b/apps/sandbox/src/components/themePreview/colorMath.tsindex a06221a286..b69dbb5396 100644--- a/apps/sandbox/src/components/themePreview/colorMath.ts+++ b/apps/sandbox/src/components/themePreview/colorMath.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Shared color math for the theme preview + audit panel.*diff --git a/apps/sandbox/src/components/themePreview/themeAudit.ts b/apps/sandbox/src/components/themePreview/themeAudit.tsindex 8fc13c4fd4..b6b38850fd 100644--- a/apps/sandbox/src/components/themePreview/themeAudit.ts+++ b/apps/sandbox/src/components/themePreview/themeAudit.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Theme audit logic.*diff --git a/apps/sandbox/src/components/themePreview/themeOverrides.ts b/apps/sandbox/src/components/themePreview/themeOverrides.tsindex 6e9b20adf6..6ac59e1f60 100644--- a/apps/sandbox/src/components/themePreview/themeOverrides.ts+++ b/apps/sandbox/src/components/themePreview/themeOverrides.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Pending-overrides model for the audit drawer's interactive editor.*diff --git a/apps/storybook/.storybook/main.ts b/apps/storybook/.storybook/main.tsindex ef29693392..27c12d2e88 100644--- a/apps/storybook/.storybook/main.ts+++ b/apps/storybook/.storybook/main.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {StorybookConfig} from '@storybook/react-vite';import {xdsStylex} from '@xds/build/vite';import path from 'path';diff --git a/apps/storybook/.storybook/preview.tsx b/apps/storybook/.storybook/preview.tsxindex 4efa223775..f02dc8c218 100644--- a/apps/storybook/.storybook/preview.tsx+++ b/apps/storybook/.storybook/preview.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Preview, Decorator} from '@storybook/react';import * as React from 'react';import {XDSTheme, XDSLayerProvider} from '@xds/core';diff --git a/apps/storybook/stories/AlertDialog.stories.tsx b/apps/storybook/stories/AlertDialog.stories.tsxindex 25822d373f..ad114c0639 100644--- a/apps/storybook/stories/AlertDialog.stories.tsx+++ b/apps/storybook/stories/AlertDialog.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/AppShell.stories.tsx b/apps/storybook/stories/AppShell.stories.tsxindex a930d9080d..d8138e7bff 100644--- a/apps/storybook/stories/AppShell.stories.tsx+++ b/apps/storybook/stories/AppShell.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/apps/storybook/stories/AspectRatio.stories.tsx b/apps/storybook/stories/AspectRatio.stories.tsxindex ef1393129c..a6260a72e3 100644--- a/apps/storybook/stories/AspectRatio.stories.tsx+++ b/apps/storybook/stories/AspectRatio.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSAspectRatio} from '@xds/core/AspectRatio';diff --git a/apps/storybook/stories/Avatar.stories.tsx b/apps/storybook/stories/Avatar.stories.tsxindex ee6747d336..cfbcb8fefc 100644--- a/apps/storybook/stories/Avatar.stories.tsx+++ b/apps/storybook/stories/Avatar.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSAvatar} from '@xds/core/Avatar';diff --git a/apps/storybook/stories/Badge.stories.tsx b/apps/storybook/stories/Badge.stories.tsxindex 462e31468b..f26408852b 100644--- a/apps/storybook/stories/Badge.stories.tsx+++ b/apps/storybook/stories/Badge.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSBadge} from '@xds/core/Badge';diff --git a/apps/storybook/stories/Banner.stories.tsx b/apps/storybook/stories/Banner.stories.tsxindex e3071023ef..aada0bb88e 100644--- a/apps/storybook/stories/Banner.stories.tsx+++ b/apps/storybook/stories/Banner.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSBanner} from '@xds/core/Banner';import {XDSButton} from '@xds/core/Button';diff --git a/apps/storybook/stories/Blockquote.stories.tsx b/apps/storybook/stories/Blockquote.stories.tsxindex d635e1031c..03bd233a79 100644--- a/apps/storybook/stories/Blockquote.stories.tsx+++ b/apps/storybook/stories/Blockquote.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSBlockquote} from '@xds/core/Blockquote';import {XDSCard} from '@xds/core/Card';diff --git a/apps/storybook/stories/Breadcrumbs.stories.tsx b/apps/storybook/stories/Breadcrumbs.stories.tsxindex b39fae2b9b..fee6f4f623 100644--- a/apps/storybook/stories/Breadcrumbs.stories.tsx+++ b/apps/storybook/stories/Breadcrumbs.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSBreadcrumbs, XDSBreadcrumbItem} from '@xds/core/Breadcrumbs';import {HomeIcon, Cog6ToothIcon, FolderIcon} from '@heroicons/react/24/outline';diff --git a/apps/storybook/stories/Button.stories.tsx b/apps/storybook/stories/Button.stories.tsxindex 3ea75e5f0f..272897fe6a 100644--- a/apps/storybook/stories/Button.stories.tsx+++ b/apps/storybook/stories/Button.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSButton} from '@xds/core/Button';import {XDSBadge} from '@xds/core/Badge';diff --git a/apps/storybook/stories/Calendar.stories.tsx b/apps/storybook/stories/Calendar.stories.tsxindex bf679650fb..45393792da 100644--- a/apps/storybook/stories/Calendar.stories.tsx+++ b/apps/storybook/stories/Calendar.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/Card.stories.tsx b/apps/storybook/stories/Card.stories.tsxindex 8e94fd5645..31cee42bdf 100644--- a/apps/storybook/stories/Card.stories.tsx+++ b/apps/storybook/stories/Card.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSCard} from '@xds/core/Card';diff --git a/apps/storybook/stories/Carousel.stories.tsx b/apps/storybook/stories/Carousel.stories.tsxindex 2dd2a14eed..d6750c128a 100644--- a/apps/storybook/stories/Carousel.stories.tsx+++ b/apps/storybook/stories/Carousel.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';diff --git a/apps/storybook/stories/Center.stories.tsx b/apps/storybook/stories/Center.stories.tsxindex 34a201e673..e01daf86ec 100644--- a/apps/storybook/stories/Center.stories.tsx+++ b/apps/storybook/stories/Center.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSCenter} from '@xds/core/Center';diff --git a/apps/storybook/stories/Chart.stories.tsx b/apps/storybook/stories/Chart.stories.tsxindex 32f4bf7538..8d75d0c5cd 100644--- a/apps/storybook/stories/Chart.stories.tsx+++ b/apps/storybook/stories/Chart.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useMemo} from 'react';import {diff --git a/apps/storybook/stories/ChartAdvanced.stories.tsx b/apps/storybook/stories/ChartAdvanced.stories.tsxindex c58e61f3fc..fc86980ff9 100644--- a/apps/storybook/stories/ChartAdvanced.stories.tsx+++ b/apps/storybook/stories/ChartAdvanced.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChart,diff --git a/apps/storybook/stories/ChartCoordinated.stories.tsx b/apps/storybook/stories/ChartCoordinated.stories.tsxindex 71574bd545..f7ccde6174 100644--- a/apps/storybook/stories/ChartCoordinated.stories.tsx+++ b/apps/storybook/stories/ChartCoordinated.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState, useMemo} from 'react';import {diff --git a/apps/storybook/stories/ChartDotGL.stories.tsx b/apps/storybook/stories/ChartDotGL.stories.tsxindex cb1603585c..742f3cac80 100644--- a/apps/storybook/stories/ChartDotGL.stories.tsx+++ b/apps/storybook/stories/ChartDotGL.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChart,diff --git a/apps/storybook/stories/ChartDotGLInteractive.stories.tsx b/apps/storybook/stories/ChartDotGLInteractive.stories.tsxindex a6336ff7a4..0e2ef3b5c7 100644--- a/apps/storybook/stories/ChartDotGLInteractive.stories.tsx+++ b/apps/storybook/stories/ChartDotGLInteractive.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChart,diff --git a/apps/storybook/stories/ChartHeatmapGL.stories.tsx b/apps/storybook/stories/ChartHeatmapGL.stories.tsxindex 1641a00af4..3a61e7e7f5 100644--- a/apps/storybook/stories/ChartHeatmapGL.stories.tsx+++ b/apps/storybook/stories/ChartHeatmapGL.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChart,diff --git a/apps/storybook/stories/ChartInteractions.stories.tsx b/apps/storybook/stories/ChartInteractions.stories.tsxindex 339f2e0a89..7013ab3414 100644--- a/apps/storybook/stories/ChartInteractions.stories.tsx+++ b/apps/storybook/stories/ChartInteractions.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState, useMemo} from 'react';import {diff --git a/apps/storybook/stories/ChartStreamGL.stories.tsx b/apps/storybook/stories/ChartStreamGL.stories.tsxindex 02ca5f29af..7fd14122ae 100644--- a/apps/storybook/stories/ChartStreamGL.stories.tsx+++ b/apps/storybook/stories/ChartStreamGL.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useRef, useEffect, useState} from 'react';import {diff --git a/apps/storybook/stories/ChartStreamPerf.stories.tsx b/apps/storybook/stories/ChartStreamPerf.stories.tsxindex 7dfbe8ba77..515f00eef0 100644--- a/apps/storybook/stories/ChartStreamPerf.stories.tsx+++ b/apps/storybook/stories/ChartStreamPerf.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useRef, useEffect, useState} from 'react';import {diff --git a/apps/storybook/stories/ChartV2.stories.tsx b/apps/storybook/stories/ChartV2.stories.tsxindex f98c77ce5c..9b72f9b772 100644--- a/apps/storybook/stories/ChartV2.stories.tsx+++ b/apps/storybook/stories/ChartV2.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChartV2 as XDSChart, bar, line, area} from '@xds/lab';import {XDSChartGrid, XDSChartAxis} from '@xds/lab';diff --git a/apps/storybook/stories/ChartV2Advanced.stories.tsx b/apps/storybook/stories/ChartV2Advanced.stories.tsxindex c90b35886e..e2c657f776 100644--- a/apps/storybook/stories/ChartV2Advanced.stories.tsx+++ b/apps/storybook/stories/ChartV2Advanced.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useMemo, useRef, useEffect} from 'react';import {diff --git a/apps/storybook/stories/Chat.stories.tsx b/apps/storybook/stories/Chat.stories.tsxindex 929c0db3ea..4528ddf0fd 100644--- a/apps/storybook/stories/Chat.stories.tsx+++ b/apps/storybook/stories/Chat.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChatMessageList,diff --git a/apps/storybook/stories/ChatComposer.stories.tsx b/apps/storybook/stories/ChatComposer.stories.tsxindex ade88d5a4e..dd284e3141 100644--- a/apps/storybook/stories/ChatComposer.stories.tsx+++ b/apps/storybook/stories/ChatComposer.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChatComposer,diff --git a/apps/storybook/stories/ChatComposerInput.stories.tsx b/apps/storybook/stories/ChatComposerInput.stories.tsxindex 13a0ed67bc..7e283fe241 100644--- a/apps/storybook/stories/ChatComposerInput.stories.tsx+++ b/apps/storybook/stories/ChatComposerInput.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChatComposer,diff --git a/apps/storybook/stories/ChatDictation.stories.tsx b/apps/storybook/stories/ChatDictation.stories.tsxindex 4a1cd5ad84..4d78ec7d94 100644--- a/apps/storybook/stories/ChatDictation.stories.tsx+++ b/apps/storybook/stories/ChatDictation.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChatDictationButton,diff --git a/apps/storybook/stories/ChatLayout.stories.tsx b/apps/storybook/stories/ChatLayout.stories.tsxindex 798f575c83..022b1f154f 100644--- a/apps/storybook/stories/ChatLayout.stories.tsx+++ b/apps/storybook/stories/ChatLayout.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChatLayout,diff --git a/apps/storybook/stories/ChatReasoning.stories.tsx b/apps/storybook/stories/ChatReasoning.stories.tsxindex f9a461e7c0..b281ca0f28 100644--- a/apps/storybook/stories/ChatReasoning.stories.tsx+++ b/apps/storybook/stories/ChatReasoning.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChatMessageList,diff --git a/apps/storybook/stories/ChatTokenizedText.stories.tsx b/apps/storybook/stories/ChatTokenizedText.stories.tsxindex 17c5c90fba..daba3b3986 100644--- a/apps/storybook/stories/ChatTokenizedText.stories.tsx+++ b/apps/storybook/stories/ChatTokenizedText.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChatTokenizedText} from '@xds/core/Chat';import {XDSChatMessage, XDSChatMessageBubble} from '@xds/core/Chat';diff --git a/apps/storybook/stories/ChatToolCalls.stories.tsx b/apps/storybook/stories/ChatToolCalls.stories.tsxindex e85e1392c3..19f5e7d26e 100644--- a/apps/storybook/stories/ChatToolCalls.stories.tsx+++ b/apps/storybook/stories/ChatToolCalls.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSChatToolCalls, type XDSChatToolCallItem} from '@xds/core/Chat';import {useState, useCallback} from 'react';diff --git a/apps/storybook/stories/CheckboxInput.stories.tsx b/apps/storybook/stories/CheckboxInput.stories.tsxindex 51eaa4ad74..efdf8d2ee9 100644--- a/apps/storybook/stories/CheckboxInput.stories.tsx+++ b/apps/storybook/stories/CheckboxInput.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSCheckboxInput} from '@xds/core/CheckboxInput';diff --git a/apps/storybook/stories/CheckboxList.stories.tsx b/apps/storybook/stories/CheckboxList.stories.tsxindex f1f71f8922..8077073634 100644--- a/apps/storybook/stories/CheckboxList.stories.tsx+++ b/apps/storybook/stories/CheckboxList.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSCheckboxList, XDSCheckboxListItem} from '@xds/core/CheckboxList';diff --git a/apps/storybook/stories/Citation.stories.tsx b/apps/storybook/stories/Citation.stories.tsxindex d2148a90a2..a930d68224 100644--- a/apps/storybook/stories/Citation.stories.tsx+++ b/apps/storybook/stories/Citation.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSCitation} from '@xds/core/Citation';diff --git a/apps/storybook/stories/ClickableCard.stories.tsx b/apps/storybook/stories/ClickableCard.stories.tsxindex b5fc9b3ff0..9a930c0665 100644--- a/apps/storybook/stories/ClickableCard.stories.tsx+++ b/apps/storybook/stories/ClickableCard.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSClickableCard} from '@xds/core/ClickableCard';import {XDSText} from '@xds/core/Text';diff --git a/apps/storybook/stories/Code.stories.tsx b/apps/storybook/stories/Code.stories.tsxindex 10ff281973..9bfbca24e9 100644--- a/apps/storybook/stories/Code.stories.tsx+++ b/apps/storybook/stories/Code.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSCode} from '@xds/core/CodeBlock';import {XDSText} from '@xds/core/Text';diff --git a/apps/storybook/stories/CodeBlock.stories.tsx b/apps/storybook/stories/CodeBlock.stories.tsxindex bf6ae85fd3..dd19a67e8f 100644--- a/apps/storybook/stories/CodeBlock.stories.tsx+++ b/apps/storybook/stories/CodeBlock.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSCodeBlock} from '@xds/core/CodeBlock';diff --git a/apps/storybook/stories/CodeEditor.stories.tsx b/apps/storybook/stories/CodeEditor.stories.tsxindex f742cd4640..794623f0e6 100644--- a/apps/storybook/stories/CodeEditor.stories.tsx+++ b/apps/storybook/stories/CodeEditor.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSCodeEditor} from '@xds/lab';diff --git a/apps/storybook/stories/CodeEditorPerf.stories.tsx b/apps/storybook/stories/CodeEditorPerf.stories.tsxindex 66bee6c3e2..53ca6bb7e5 100644--- a/apps/storybook/stories/CodeEditorPerf.stories.tsx+++ b/apps/storybook/stories/CodeEditorPerf.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState, useRef, useEffect, useCallback} from 'react';import {XDSCodeEditor} from '@xds/lab';diff --git a/apps/storybook/stories/CodeEditorTheme.stories.tsx b/apps/storybook/stories/CodeEditorTheme.stories.tsxindex 3cca139ef4..7a03926c1f 100644--- a/apps/storybook/stories/CodeEditorTheme.stories.tsx+++ b/apps/storybook/stories/CodeEditorTheme.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSCodeEditor} from '@xds/lab';diff --git a/apps/storybook/stories/CodeTheme.stories.tsx b/apps/storybook/stories/CodeTheme.stories.tsxindex 1596ff771e..8733cb1692 100644--- a/apps/storybook/stories/CodeTheme.stories.tsx+++ b/apps/storybook/stories/CodeTheme.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import React from 'react';import {XDSCodeBlock} from '@xds/core/CodeBlock';diff --git a/apps/storybook/stories/Collapsible.stories.tsx b/apps/storybook/stories/Collapsible.stories.tsxindex e0f7a76a3e..863bc84186 100644--- a/apps/storybook/stories/Collapsible.stories.tsx+++ b/apps/storybook/stories/Collapsible.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';diff --git a/apps/storybook/stories/CommandPalette.stories.tsx b/apps/storybook/stories/CommandPalette.stories.tsxindex 30d96ee667..c12a2d421a 100644--- a/apps/storybook/stories/CommandPalette.stories.tsx+++ b/apps/storybook/stories/CommandPalette.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** CommandPalette stories*diff --git a/apps/storybook/stories/DateInput.stories.tsx b/apps/storybook/stories/DateInput.stories.tsxindex fb4b11dd36..9ac2e5f267 100644--- a/apps/storybook/stories/DateInput.stories.tsx+++ b/apps/storybook/stories/DateInput.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSDateInput} from '@xds/core/DateInput';diff --git a/apps/storybook/stories/Dialog.stories.tsx b/apps/storybook/stories/Dialog.stories.tsxindex b1835a9ca4..60497995ac 100644--- a/apps/storybook/stories/Dialog.stories.tsx+++ b/apps/storybook/stories/Dialog.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSDialog, XDSDialogHeader} from '@xds/core/Dialog';diff --git a/apps/storybook/stories/Divider.stories.tsx b/apps/storybook/stories/Divider.stories.tsxindex a51e24e7f3..b12e8e8f0f 100644--- a/apps/storybook/stories/Divider.stories.tsx+++ b/apps/storybook/stories/Divider.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSDivider} from '@xds/core/Divider';diff --git a/apps/storybook/stories/DropdownMenu.stories.tsx b/apps/storybook/stories/DropdownMenu.stories.tsxindex 12eff31450..2f8761766d 100644--- a/apps/storybook/stories/DropdownMenu.stories.tsx+++ b/apps/storybook/stories/DropdownMenu.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSDropdownMenu, XDSDropdownMenuItem} from '@xds/core/DropdownMenu';diff --git a/apps/storybook/stories/EmptyState.stories.tsx b/apps/storybook/stories/EmptyState.stories.tsxindex 051af59b3e..640c16b4eb 100644--- a/apps/storybook/stories/EmptyState.stories.tsx+++ b/apps/storybook/stories/EmptyState.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSEmptyState} from '@xds/core/EmptyState';import {XDSButton} from '@xds/core/Button';diff --git a/apps/storybook/stories/Field.stories.tsx b/apps/storybook/stories/Field.stories.tsxindex 5fdb76df7f..30b18b459f 100644--- a/apps/storybook/stories/Field.stories.tsx+++ b/apps/storybook/stories/Field.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';diff --git a/apps/storybook/stories/FormLayout.stories.tsx b/apps/storybook/stories/FormLayout.stories.tsxindex 7f269cf95e..ecd4a74d44 100644--- a/apps/storybook/stories/FormLayout.stories.tsx+++ b/apps/storybook/stories/FormLayout.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSFormLayout} from '@xds/core/FormLayout';diff --git a/apps/storybook/stories/Grid.stories.tsx b/apps/storybook/stories/Grid.stories.tsxindex c5c816f76b..4366d47f39 100644--- a/apps/storybook/stories/Grid.stories.tsx+++ b/apps/storybook/stories/Grid.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSGrid, XDSGridSpan} from '@xds/core/Grid';diff --git a/apps/storybook/stories/GridMasonry.stories.tsx b/apps/storybook/stories/GridMasonry.stories.tsxindex 7913b7e50d..14d9e413e6 100644--- a/apps/storybook/stories/GridMasonry.stories.tsx+++ b/apps/storybook/stories/GridMasonry.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSGrid, XDSGridSpan} from '@xds/core/Grid';diff --git a/apps/storybook/stories/Heading.stories.tsx b/apps/storybook/stories/Heading.stories.tsxindex 93da4f8676..e97fe1b6a0 100644--- a/apps/storybook/stories/Heading.stories.tsx+++ b/apps/storybook/stories/Heading.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSHeading} from '@xds/core/Text';import {XDSText} from '@xds/core/Text';diff --git a/apps/storybook/stories/HoverCard.stories.tsx b/apps/storybook/stories/HoverCard.stories.tsxindex f9875c710e..384f308ac8 100644--- a/apps/storybook/stories/HoverCard.stories.tsx+++ b/apps/storybook/stories/HoverCard.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSHoverCard, useXDSHoverCard} from '@xds/core/HoverCard';import {XDSButton} from '@xds/core/Button';diff --git a/apps/storybook/stories/Icon.stories.tsx b/apps/storybook/stories/Icon.stories.tsxindex 049fb2a442..8151df65af 100644--- a/apps/storybook/stories/Icon.stories.tsx+++ b/apps/storybook/stories/Icon.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSIcon} from '@xds/core/Icon';import {XDSHStack, XDSVStack} from '@xds/core/Layout';diff --git a/apps/storybook/stories/IconButton.stories.tsx b/apps/storybook/stories/IconButton.stories.tsxindex 11ddc55e23..e9d3b3c005 100644--- a/apps/storybook/stories/IconButton.stories.tsx+++ b/apps/storybook/stories/IconButton.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSIconButton} from '@xds/core/IconButton';import {diff --git a/apps/storybook/stories/Kbd.stories.tsx b/apps/storybook/stories/Kbd.stories.tsxindex b6ce7c6204..19a3c33d76 100644--- a/apps/storybook/stories/Kbd.stories.tsx+++ b/apps/storybook/stories/Kbd.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSKbd} from '@xds/core/Kbd';import {XDSText} from '@xds/core/Text';diff --git a/apps/storybook/stories/Layout.stories.tsx b/apps/storybook/stories/Layout.stories.tsxindex 50414dbb1e..230b908f8f 100644--- a/apps/storybook/stories/Layout.stories.tsx+++ b/apps/storybook/stories/Layout.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSCard} from '@xds/core/Card';diff --git a/apps/storybook/stories/Link.stories.tsx b/apps/storybook/stories/Link.stories.tsxindex ade9054b59..97cf5e7327 100644--- a/apps/storybook/stories/Link.stories.tsx+++ b/apps/storybook/stories/Link.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSLink} from '@xds/core/Link';import {XDSText} from '@xds/core/Text';diff --git a/apps/storybook/stories/List.stories.tsx b/apps/storybook/stories/List.stories.tsxindex 6a336c68bf..392d290069 100644--- a/apps/storybook/stories/List.stories.tsx+++ b/apps/storybook/stories/List.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSList, XDSListItem} from '@xds/core/List';diff --git a/apps/storybook/stories/Markdown.stories.tsx b/apps/storybook/stories/Markdown.stories.tsxindex d293299541..ba5ae8bb29 100644--- a/apps/storybook/stories/Markdown.stories.tsx+++ b/apps/storybook/stories/Markdown.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState, useEffect, useCallback} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSMarkdown} from '@xds/core/Markdown';diff --git a/apps/storybook/stories/MarkdownCitations.stories.tsx b/apps/storybook/stories/MarkdownCitations.stories.tsxindex fa133e7d9f..0b2549e80b 100644--- a/apps/storybook/stories/MarkdownCitations.stories.tsx+++ b/apps/storybook/stories/MarkdownCitations.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState, useEffect, useCallback} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSMarkdown} from '@xds/core/Markdown';diff --git a/apps/storybook/stories/MetadataList.stories.tsx b/apps/storybook/stories/MetadataList.stories.tsxindex 8a5c2cece7..1da9da6648 100644--- a/apps/storybook/stories/MetadataList.stories.tsx+++ b/apps/storybook/stories/MetadataList.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSMetadataList, XDSMetadataListItem} from '@xds/core/MetadataList';import {XDSIcon} from '@xds/core/Icon';diff --git a/apps/storybook/stories/MobileNav.stories.tsx b/apps/storybook/stories/MobileNav.stories.tsxindex 0ea05296e6..7f39d2da89 100644--- a/apps/storybook/stories/MobileNav.stories.tsx+++ b/apps/storybook/stories/MobileNav.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSMobileNav} from '@xds/core/MobileNav';diff --git a/apps/storybook/stories/MoreMenu.stories.tsx b/apps/storybook/stories/MoreMenu.stories.tsxindex 0af155d57b..2f705f4903 100644--- a/apps/storybook/stories/MoreMenu.stories.tsx+++ b/apps/storybook/stories/MoreMenu.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSMoreMenu} from '@xds/core/MoreMenu';import {XDSDropdownMenuItem} from '@xds/core/DropdownMenu';diff --git a/apps/storybook/stories/MultiSelector.stories.tsx b/apps/storybook/stories/MultiSelector.stories.tsxindex ba09c68448..da75fddc90 100644--- a/apps/storybook/stories/MultiSelector.stories.tsx+++ b/apps/storybook/stories/MultiSelector.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSMultiSelector} from '@xds/core/MultiSelector';diff --git a/apps/storybook/stories/NumberInput.stories.tsx b/apps/storybook/stories/NumberInput.stories.tsxindex c1e92a2d7e..f2f16b8205 100644--- a/apps/storybook/stories/NumberInput.stories.tsx+++ b/apps/storybook/stories/NumberInput.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSNumberInput} from '@xds/core/NumberInput';diff --git a/apps/storybook/stories/OverflowList.stories.tsx b/apps/storybook/stories/OverflowList.stories.tsxindex 9423ffb304..07cf8303f8 100644--- a/apps/storybook/stories/OverflowList.stories.tsx+++ b/apps/storybook/stories/OverflowList.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSOverflowList} from '@xds/core/OverflowList';diff --git a/apps/storybook/stories/Overlay.stories.tsx b/apps/storybook/stories/Overlay.stories.tsxindex fb5765f5b2..826685bff0 100644--- a/apps/storybook/stories/Overlay.stories.tsx+++ b/apps/storybook/stories/Overlay.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import React, {useState} from 'react';import * as stylex from '@stylexjs/stylex';diff --git a/apps/storybook/stories/Pagination.stories.tsx b/apps/storybook/stories/Pagination.stories.tsxindex a016452bac..0ddce4befb 100644--- a/apps/storybook/stories/Pagination.stories.tsx+++ b/apps/storybook/stories/Pagination.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSPagination} from '@xds/core/Pagination';diff --git a/apps/storybook/stories/Popover.stories.tsx b/apps/storybook/stories/Popover.stories.tsxindex 6fa780d635..eb2038fa94 100644--- a/apps/storybook/stories/Popover.stories.tsx+++ b/apps/storybook/stories/Popover.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import React from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSPopover} from '@xds/core/Popover';diff --git a/apps/storybook/stories/PowerSearch.stories.tsx b/apps/storybook/stories/PowerSearch.stories.tsxindex 55b38f9630..ffce688341 100644--- a/apps/storybook/stories/PowerSearch.stories.tsx+++ b/apps/storybook/stories/PowerSearch.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import React, {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSPowerSearch} from '@xds/core/PowerSearch';diff --git a/apps/storybook/stories/PowerSearchWithTable.stories.tsx b/apps/storybook/stories/PowerSearchWithTable.stories.tsxindex 63f34fddf9..65d3b0841f 100644--- a/apps/storybook/stories/PowerSearchWithTable.stories.tsx+++ b/apps/storybook/stories/PowerSearchWithTable.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSPowerSearch, usePowerSearchConfig} from '@xds/core/PowerSearch';diff --git a/apps/storybook/stories/ProgressBar.stories.tsx b/apps/storybook/stories/ProgressBar.stories.tsxindex 547d701e4d..d48f301bb7 100644--- a/apps/storybook/stories/ProgressBar.stories.tsx+++ b/apps/storybook/stories/ProgressBar.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSProgressBar} from '@xds/core/ProgressBar';diff --git a/apps/storybook/stories/RadialChart.stories.tsx b/apps/storybook/stories/RadialChart.stories.tsxindex 2181c6af98..1588dd342c 100644--- a/apps/storybook/stories/RadialChart.stories.tsx+++ b/apps/storybook/stories/RadialChart.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSRadialChart,diff --git a/apps/storybook/stories/RadioList.stories.tsx b/apps/storybook/stories/RadioList.stories.tsxindex 68b11e0324..c39300fed9 100644--- a/apps/storybook/stories/RadioList.stories.tsx+++ b/apps/storybook/stories/RadioList.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSRadioList, XDSRadioListItem} from '@xds/core/RadioList';diff --git a/apps/storybook/stories/Resizable.stories.tsx b/apps/storybook/stories/Resizable.stories.tsxindex 96ce6d6789..6d979e06f7 100644--- a/apps/storybook/stories/Resizable.stories.tsx+++ b/apps/storybook/stories/Resizable.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {diff --git a/apps/storybook/stories/SVGIcon.stories.tsx b/apps/storybook/stories/SVGIcon.stories.tsxindex 56676b4c5a..cc1a3bcc38 100644--- a/apps/storybook/stories/SVGIcon.stories.tsx+++ b/apps/storybook/stories/SVGIcon.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {Fragment} from 'react';import {diff --git a/apps/storybook/stories/SVGIconRegistry.stories.tsx b/apps/storybook/stories/SVGIconRegistry.stories.tsxindex 36827226fa..279c9e7231 100644--- a/apps/storybook/stories/SVGIconRegistry.stories.tsx+++ b/apps/storybook/stories/SVGIconRegistry.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {Fragment, type ReactElement, Children, isValidElement} from 'react';import {diff --git a/apps/storybook/stories/SankeyChart.stories.tsx b/apps/storybook/stories/SankeyChart.stories.tsxindex a6c669b78a..98f0c4d291 100644--- a/apps/storybook/stories/SankeyChart.stories.tsx+++ b/apps/storybook/stories/SankeyChart.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSSankeyChart,diff --git a/apps/storybook/stories/Section.stories.tsx b/apps/storybook/stories/Section.stories.tsxindex a1848d0b52..223e416aa4 100644--- a/apps/storybook/stories/Section.stories.tsx+++ b/apps/storybook/stories/Section.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSSection} from '@xds/core/Section';diff --git a/apps/storybook/stories/SegmentedControl.stories.tsx b/apps/storybook/stories/SegmentedControl.stories.tsxindex c74bd93989..d49f13b476 100644--- a/apps/storybook/stories/SegmentedControl.stories.tsx+++ b/apps/storybook/stories/SegmentedControl.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/SelectableCard.stories.tsx b/apps/storybook/stories/SelectableCard.stories.tsxindex af5da45427..3e75e273a5 100644--- a/apps/storybook/stories/SelectableCard.stories.tsx+++ b/apps/storybook/stories/SelectableCard.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSSelectableCard} from '@xds/core/SelectableCard';diff --git a/apps/storybook/stories/Selector.stories.tsx b/apps/storybook/stories/Selector.stories.tsxindex 86b3daafd8..cca1ac6c52 100644--- a/apps/storybook/stories/Selector.stories.tsx+++ b/apps/storybook/stories/Selector.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSSelector, XDSSelectorOption} from '@xds/core/Selector';diff --git a/apps/storybook/stories/SideNav.stories.tsx b/apps/storybook/stories/SideNav.stories.tsxindex 3dd622a2a7..54dd7bb650 100644--- a/apps/storybook/stories/SideNav.stories.tsx+++ b/apps/storybook/stories/SideNav.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSSideNav,diff --git a/apps/storybook/stories/Skeleton.stories.tsx b/apps/storybook/stories/Skeleton.stories.tsxindex c40968869e..05ef62b473 100644--- a/apps/storybook/stories/Skeleton.stories.tsx+++ b/apps/storybook/stories/Skeleton.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSSkeleton} from '@xds/core/Skeleton';import {XDSCard} from '@xds/core/Card';diff --git a/apps/storybook/stories/Slider.stories.tsx b/apps/storybook/stories/Slider.stories.tsxindex 1e28dd4771..eefe4a493c 100644--- a/apps/storybook/stories/Slider.stories.tsx+++ b/apps/storybook/stories/Slider.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* eslint-disable @typescript-eslint/no-explicit-any */import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';diff --git a/apps/storybook/stories/Spinner.stories.tsx b/apps/storybook/stories/Spinner.stories.tsxindex a23bc2322a..353c011ede 100644--- a/apps/storybook/stories/Spinner.stories.tsx+++ b/apps/storybook/stories/Spinner.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSSpinner} from '@xds/core/Spinner';import {XDSText} from '@xds/core/Text';diff --git a/apps/storybook/stories/Stack.stories.tsx b/apps/storybook/stories/Stack.stories.tsxindex 775dcd2a0a..f53331aef3 100644--- a/apps/storybook/stories/Stack.stories.tsx+++ b/apps/storybook/stories/Stack.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {XDSStack, XDSStackItem} from '@xds/core/Layout';diff --git a/apps/storybook/stories/StatusDot.stories.tsx b/apps/storybook/stories/StatusDot.stories.tsxindex f5996fbb22..4977cf0cb1 100644--- a/apps/storybook/stories/StatusDot.stories.tsx+++ b/apps/storybook/stories/StatusDot.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSStatusDot} from '@xds/core/StatusDot';diff --git a/apps/storybook/stories/Switch.stories.tsx b/apps/storybook/stories/Switch.stories.tsxindex e4d968bdee..658df94854 100644--- a/apps/storybook/stories/Switch.stories.tsx+++ b/apps/storybook/stories/Switch.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSSwitch} from '@xds/core/Switch';diff --git a/apps/storybook/stories/TabList.stories.tsx b/apps/storybook/stories/TabList.stories.tsxindex 8c92fafbd2..86e26a3f8b 100644--- a/apps/storybook/stories/TabList.stories.tsx+++ b/apps/storybook/stories/TabList.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSTabList, XDSTab, XDSTabMenu} from '@xds/core/TabList';diff --git a/apps/storybook/stories/Table.stories.tsx b/apps/storybook/stories/Table.stories.tsxindex 7f7402e8fb..6e654c86ac 100644--- a/apps/storybook/stories/Table.stories.tsx+++ b/apps/storybook/stories/Table.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {diff --git a/apps/storybook/stories/TableColumnResize.stories.tsx b/apps/storybook/stories/TableColumnResize.stories.tsxindex 3eefcb6e9b..3bf055711b 100644--- a/apps/storybook/stories/TableColumnResize.stories.tsx+++ b/apps/storybook/stories/TableColumnResize.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/TableColumnSettings.stories.tsx b/apps/storybook/stories/TableColumnSettings.stories.tsxindex 5867729cb8..7be0a86fe0 100644--- a/apps/storybook/stories/TableColumnSettings.stories.tsx+++ b/apps/storybook/stories/TableColumnSettings.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/TableFiltering.stories.tsx b/apps/storybook/stories/TableFiltering.stories.tsxindex 492f9e365f..b8d3889720 100644--- a/apps/storybook/stories/TableFiltering.stories.tsx+++ b/apps/storybook/stories/TableFiltering.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/TablePagination.stories.tsx b/apps/storybook/stories/TablePagination.stories.tsxindex 0fdc3fbbd5..0559a42df4 100644--- a/apps/storybook/stories/TablePagination.stories.tsx+++ b/apps/storybook/stories/TablePagination.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/TableSelection.stories.tsx b/apps/storybook/stories/TableSelection.stories.tsxindex 59f06e0a66..93c8ff2ec1 100644--- a/apps/storybook/stories/TableSelection.stories.tsx+++ b/apps/storybook/stories/TableSelection.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/TableSortable.stories.tsx b/apps/storybook/stories/TableSortable.stories.tsxindex 733d59382b..670584d300 100644--- a/apps/storybook/stories/TableSortable.stories.tsx+++ b/apps/storybook/stories/TableSortable.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/Text.stories.tsx b/apps/storybook/stories/Text.stories.tsxindex 7600ad47ae..6d8a307555 100644--- a/apps/storybook/stories/Text.stories.tsx+++ b/apps/storybook/stories/Text.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSText} from '@xds/core/Text';diff --git a/apps/storybook/stories/TextArea.stories.tsx b/apps/storybook/stories/TextArea.stories.tsxindex 7e46d76fd7..f921d8f001 100644--- a/apps/storybook/stories/TextArea.stories.tsx+++ b/apps/storybook/stories/TextArea.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSTextArea} from '@xds/core/TextArea';diff --git a/apps/storybook/stories/TextInput.stories.tsx b/apps/storybook/stories/TextInput.stories.tsxindex fdbc1ed9b0..509da014a4 100644--- a/apps/storybook/stories/TextInput.stories.tsx+++ b/apps/storybook/stories/TextInput.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSTextInput} from '@xds/core/TextInput';diff --git a/apps/storybook/stories/ThreeD-Backdrop.stories.tsx b/apps/storybook/stories/ThreeD-Backdrop.stories.tsxindex 0664a685bc..74122d4ed4 100644--- a/apps/storybook/stories/ThreeD-Backdrop.stories.tsx+++ b/apps/storybook/stories/ThreeD-Backdrop.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useMemo} from 'react';import {XDS3DChart, use3D} from '@xds/lab';diff --git a/apps/storybook/stories/ThreeD-Showcase.stories.tsx b/apps/storybook/stories/ThreeD-Showcase.stories.tsxindex 16573957b7..9c6b8290d9 100644--- a/apps/storybook/stories/ThreeD-Showcase.stories.tsx+++ b/apps/storybook/stories/ThreeD-Showcase.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useMemo} from 'react';import {diff --git a/apps/storybook/stories/ThreeDChart.stories.tsx b/apps/storybook/stories/ThreeDChart.stories.tsxindex 3a2d4a7343..af02218d12 100644--- a/apps/storybook/stories/ThreeDChart.stories.tsx+++ b/apps/storybook/stories/ThreeDChart.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDS3DChart,diff --git a/apps/storybook/stories/Thumbnail.stories.tsx b/apps/storybook/stories/Thumbnail.stories.tsxindex ea3ef33dba..7d5b76e9e5 100644--- a/apps/storybook/stories/Thumbnail.stories.tsx+++ b/apps/storybook/stories/Thumbnail.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSThumbnail} from '@xds/core/Thumbnail';diff --git a/apps/storybook/stories/TimeInput.stories.tsx b/apps/storybook/stories/TimeInput.stories.tsxindex cf77b2705a..1982f6aa15 100644--- a/apps/storybook/stories/TimeInput.stories.tsx+++ b/apps/storybook/stories/TimeInput.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSTimeInput} from '@xds/core/TimeInput';diff --git a/apps/storybook/stories/Timestamp.stories.tsx b/apps/storybook/stories/Timestamp.stories.tsxindex 49f589fd40..0ee523d785 100644--- a/apps/storybook/stories/Timestamp.stories.tsx+++ b/apps/storybook/stories/Timestamp.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSTimestamp} from '@xds/core/Timestamp';import {XDSText} from '@xds/core/Text';diff --git a/apps/storybook/stories/Toast.stories.tsx b/apps/storybook/stories/Toast.stories.tsxindex 12c9a4840d..a60770f743 100644--- a/apps/storybook/stories/Toast.stories.tsx+++ b/apps/storybook/stories/Toast.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState, useRef} from 'react';import {useXDSToast, XDSToastViewport} from '@xds/core/Toast';diff --git a/apps/storybook/stories/ToggleButton.stories.tsx b/apps/storybook/stories/ToggleButton.stories.tsxindex 662ec1b1dd..46ac739146 100644--- a/apps/storybook/stories/ToggleButton.stories.tsx+++ b/apps/storybook/stories/ToggleButton.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {XDSToggleButton, XDSToggleButtonGroup} from '@xds/core/ToggleButton';diff --git a/apps/storybook/stories/Token.stories.tsx b/apps/storybook/stories/Token.stories.tsxindex 031966eaed..79419c2f8e 100644--- a/apps/storybook/stories/Token.stories.tsx+++ b/apps/storybook/stories/Token.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSToken, type XDSTokenColor} from '@xds/core/Token';diff --git a/apps/storybook/stories/Tokenizer.stories.tsx b/apps/storybook/stories/Tokenizer.stories.tsxindex bf9874c050..392926c257 100644--- a/apps/storybook/stories/Tokenizer.stories.tsx+++ b/apps/storybook/stories/Tokenizer.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSTokenizer} from '@xds/core/Tokenizer';diff --git a/apps/storybook/stories/Toolbar.stories.tsx b/apps/storybook/stories/Toolbar.stories.tsxindex effbd1d944..de44c3eef6 100644--- a/apps/storybook/stories/Toolbar.stories.tsx+++ b/apps/storybook/stories/Toolbar.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSToolbar} from '@xds/core/Toolbar';diff --git a/apps/storybook/stories/ToolbarEdgeCompensation.stories.tsx b/apps/storybook/stories/ToolbarEdgeCompensation.stories.tsxindex fd88a50a58..985eaebdd4 100644--- a/apps/storybook/stories/ToolbarEdgeCompensation.stories.tsx+++ b/apps/storybook/stories/ToolbarEdgeCompensation.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSToolbar} from '@xds/core/Toolbar';diff --git a/apps/storybook/stories/Tooltip.stories.tsx b/apps/storybook/stories/Tooltip.stories.tsxindex 77cfb5b3ef..de9295cae2 100644--- a/apps/storybook/stories/Tooltip.stories.tsx+++ b/apps/storybook/stories/Tooltip.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSTooltip, useXDSTooltip} from '@xds/core/Tooltip';import {XDSButton} from '@xds/core/Button';diff --git a/apps/storybook/stories/TopNav.stories.tsx b/apps/storybook/stories/TopNav.stories.tsxindex b8efd7dfed..7d1087875e 100644--- a/apps/storybook/stories/TopNav.stories.tsx+++ b/apps/storybook/stories/TopNav.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSTopNav, XDSTopNavHeading, XDSTopNavItem} from '@xds/core/TopNav';import {XDSNavIcon} from '@xds/core/NavIcon';diff --git a/apps/storybook/stories/TopNavMenu.stories.tsx b/apps/storybook/stories/TopNavMenu.stories.tsxindex dc8290773c..550dafacd5 100644--- a/apps/storybook/stories/TopNavMenu.stories.tsx+++ b/apps/storybook/stories/TopNavMenu.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {diff --git a/apps/storybook/stories/TreeList.stories.tsx b/apps/storybook/stories/TreeList.stories.tsxindex 842c8edbd5..bc4a24dd7e 100644--- a/apps/storybook/stories/TreeList.stories.tsx+++ b/apps/storybook/stories/TreeList.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSTreeList} from '@xds/core/TreeList';import type {XDSTreeListItemData} from '@xds/core/TreeList';diff --git a/apps/storybook/stories/Typeahead.stories.tsx b/apps/storybook/stories/Typeahead.stories.tsxindex 2f7f7737ea..ff21fa0c47 100644--- a/apps/storybook/stories/Typeahead.stories.tsx+++ b/apps/storybook/stories/Typeahead.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import type {Meta, StoryObj} from '@storybook/react';import {XDSTypeahead} from '@xds/core/Typeahead';diff --git a/apps/storybook/stories/VegaChart.stories.tsx b/apps/storybook/stories/VegaChart.stories.tsxindex 2970a29cef..ba27205bd8 100644--- a/apps/storybook/stories/VegaChart.stories.tsx+++ b/apps/storybook/stories/VegaChart.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSVegaChart} from '@xds/vega';import type {AnySpec} from '@xds/vega';diff --git a/apps/storybook/stories/VegaLiteRanges.stories.tsx b/apps/storybook/stories/VegaLiteRanges.stories.tsxindex 4f552a4d0c..36d907b486 100644--- a/apps/storybook/stories/VegaLiteRanges.stories.tsx+++ b/apps/storybook/stories/VegaLiteRanges.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {XDSVegaChart, buildVegaLiteConfig} from '@xds/vega';import type {AnySpec} from '@xds/vega';diff --git a/apps/storybook/stories/XDSMediaTheme.stories.tsx b/apps/storybook/stories/XDSMediaTheme.stories.tsxindex 4735ef2cd5..cc84a0261e 100644--- a/apps/storybook/stories/XDSMediaTheme.stories.tsx+++ b/apps/storybook/stories/XDSMediaTheme.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as React from 'react';import {XDSMediaTheme, defineTheme} from '@xds/core/theme';diff --git a/apps/storybook/stories/XDSTheme.stories.tsx b/apps/storybook/stories/XDSTheme.stories.tsxindex b847044505..fafaeeab4d 100644--- a/apps/storybook/stories/XDSTheme.stories.tsx+++ b/apps/storybook/stories/XDSTheme.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as React from 'react';import {XDSTheme, defineTheme, useXDSTheme} from '@xds/core/theme';diff --git a/apps/storybook/stories/XIFSpec.stories.tsx b/apps/storybook/stories/XIFSpec.stories.tsxindex a8071a1289..d910b55572 100644--- a/apps/storybook/stories/XIFSpec.stories.tsx+++ b/apps/storybook/stories/XIFSpec.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {Fragment} from 'react';import {XDSSVGIcon, type SVGIconVariation, type SVGIconDef} from '@xds/lab';diff --git a/apps/storybook/stories/datasets.ts b/apps/storybook/stories/datasets.tsindex 521c5c2e00..a3a413e671 100644--- a/apps/storybook/stories/datasets.ts+++ b/apps/storybook/stories/datasets.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Fetch datasets from the vega-datasets CDN.* Supports JSON and CSV. Caches in memory.diff --git a/apps/storybook/stories/useDataset.ts b/apps/storybook/stories/useDataset.tsindex 75687a62b9..338dcc8b5c 100644--- a/apps/storybook/stories/useDataset.ts+++ b/apps/storybook/stories/useDataset.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState, useEffect} from 'react';import {loadDataset} from './datasets';diff --git a/apps/storybook/stories/useXDSChartRange.stories.tsx b/apps/storybook/stories/useXDSChartRange.stories.tsxindex c88fe9c997..dcd286d257 100644--- a/apps/storybook/stories/useXDSChartRange.stories.tsx+++ b/apps/storybook/stories/useXDSChartRange.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useRef, useEffect} from 'react';import {diff --git a/apps/storybook/stories/useXDSLinkify.stories.tsx b/apps/storybook/stories/useXDSLinkify.stories.tsxindex 2038924463..cddb8f8b2e 100644--- a/apps/storybook/stories/useXDSLinkify.stories.tsx+++ b/apps/storybook/stories/useXDSLinkify.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useState} from 'react';import {useXDSLinkify} from '@xds/core/Link';diff --git a/apps/storybook/stories/useXDSResizable.stories.tsx b/apps/storybook/stories/useXDSResizable.stories.tsxindex ed63dbc49c..ff126ff217 100644--- a/apps/storybook/stories/useXDSResizable.stories.tsx+++ b/apps/storybook/stories/useXDSResizable.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import * as stylex from '@stylexjs/stylex';import {diff --git a/apps/storybook/stories/useXDSStreamingText.stories.tsx b/apps/storybook/stories/useXDSStreamingText.stories.tsxindex d17996e812..4a0dc68bf6 100644--- a/apps/storybook/stories/useXDSStreamingText.stories.tsx+++ b/apps/storybook/stories/useXDSStreamingText.stories.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Meta, StoryObj} from '@storybook/react';import {useCallback, useEffect, useRef, useState} from 'react';import {useXDSStreamingText} from '@xds/core/hooks';diff --git a/apps/storybook/vite.config.ts b/apps/storybook/vite.config.tsindex 8e7eca736a..ebaa0ce85e 100644--- a/apps/storybook/vite.config.ts+++ b/apps/storybook/vite.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file vite.config.ts* @input Uses vite, @vitejs/plugin-react, @stylexjs/unplugindiff --git a/eslint.config.js b/eslint.config.jsindex e6eb144df7..9c9c64d5a0 100644--- a/eslint.config.js+++ b/eslint.config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import js from "@eslint/js";import tseslint from "typescript-eslint";import xdsPlugin from "./internal/eslint-plugin-xds/index.js";@@ -59,6 +61,16 @@ export default tseslint.config(}],},},+ // Copyright header — all source files must have the Meta copyright notice+ {+ files: ["**/*.{ts,tsx}"],+ plugins: {+ '@xds': xdsPlugin,+ },+ rules: {+ '@xds/copyright-header': 'error',+ },+ },// XDS design token enforcement - applies to core package (excluding theme files){files: ["packages/core/src/**/*.{ts,tsx}"],diff --git a/internal/eslint-plugin-xds/boolean-prop-naming.js b/internal/eslint-plugin-xds/boolean-prop-naming.jsindex 126006f55c..21e5aa947b 100644--- a/internal/eslint-plugin-xds/boolean-prop-naming.js+++ b/internal/eslint-plugin-xds/boolean-prop-naming.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file boolean-prop-naming.js* @description ESLint rule enforcing XDS boolean prop naming conventions.diff --git a/internal/eslint-plugin-xds/boolean-prop-naming.test.mjs b/internal/eslint-plugin-xds/boolean-prop-naming.test.mjsindex cf1f42dbe0..76fc2814cd 100644--- a/internal/eslint-plugin-xds/boolean-prop-naming.test.mjs+++ b/internal/eslint-plugin-xds/boolean-prop-naming.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file boolean-prop-naming.test.mjs* @description Tests for the XDS boolean prop naming ESLint rule.diff --git a/internal/eslint-plugin-xds/copyright-header.js b/internal/eslint-plugin-xds/copyright-header.jsnew file mode 100644index 0000000000..52fe73065e--- /dev/null+++ b/internal/eslint-plugin-xds/copyright-header.js@@ -0,0 +1,57 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++const COPYRIGHT = 'Copyright (c) Meta Platforms, Inc. and affiliates.';+const COMMENT_TEXT = `// ${COPYRIGHT}`;++const rule = {+ meta: {+ type: 'suggestion',+ docs: {+ description:+ 'Require a copyright header as the first line of every source file',+ category: 'Best Practices',+ recommended: true,+ },+ fixable: 'code',+ messages: {+ missingHeader:+ 'File is missing the copyright header: "// Copyright (c) Meta Platforms, Inc. and affiliates."',+ },+ schema: [],+ },+ create(context) {+ return {+ Program(node) {+ const source = context.sourceCode ?? context.getSourceCode();+ const comments = source.getAllComments();+ const firstToken = source.getFirstToken(node);++ const hasCopyright =+ comments.some(+ (c) => c.type === 'Line' && c.value.trim() === COPYRIGHT,+ ) ||+ comments.some(+ (c) => c.type === 'Block' && c.value.trim() === COPYRIGHT,+ );++ if (hasCopyright) {+ return;+ }++ context.report({+ node,+ loc: {line: 1, column: 0},+ messageId: 'missingHeader',+ fix(fixer) {+ if (firstToken) {+ return fixer.insertTextBefore(firstToken, `${COMMENT_TEXT}\n\n`);+ }+ return fixer.insertTextAfterRange([0, 0], `${COMMENT_TEXT}\n`);+ },+ });+ },+ };+ },+};++export default rule;diff --git a/internal/eslint-plugin-xds/copyright-header.test.mjs b/internal/eslint-plugin-xds/copyright-header.test.mjsnew file mode 100644index 0000000000..a8f5306026--- /dev/null+++ b/internal/eslint-plugin-xds/copyright-header.test.mjs@@ -0,0 +1,31 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++import {describe, it} from 'vitest';+import {RuleTester} from 'eslint';+import copyrightHeaderRule from './copyright-header.js';++const ruleTester = new RuleTester();++describe('copyright-header', () => {+ it('passes the RuleTester', () => {+ ruleTester.run('copyright-header', copyrightHeaderRule, {+ valid: [+ {code: '// Copyright (c) Meta Platforms, Inc. and affiliates.\n\nconst x = 1;'},+ {code: '// Copyright (c) Meta Platforms, Inc. and affiliates.\n'},+ {code: '/* Copyright (c) Meta Platforms, Inc. and affiliates. */\n\nconst x = 1;'},+ ],+ invalid: [+ {+ code: 'const x = 1;',+ errors: [{messageId: 'missingHeader'}],+ output: '// Copyright (c) Meta Platforms, Inc. and affiliates.\n\nconst x = 1;',+ },+ {+ code: "'use client';\n\nconst x = 1;",+ errors: [{messageId: 'missingHeader'}],+ output: "// Copyright (c) Meta Platforms, Inc. and affiliates.\n\n'use client';\n\nconst x = 1;",+ },+ ],+ });+ });+});diff --git a/internal/eslint-plugin-xds/docblock-example-format.js b/internal/eslint-plugin-xds/docblock-example-format.jsindex 09800f4bfd..ee1c7a40d1 100644--- a/internal/eslint-plugin-xds/docblock-example-format.js+++ b/internal/eslint-plugin-xds/docblock-example-format.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file docblock-example-format.js* @description ESLint rule enforcing @example blocks use fenced code.diff --git a/internal/eslint-plugin-xds/docblock-example-format.test.mjs b/internal/eslint-plugin-xds/docblock-example-format.test.mjsindex f64fa49f84..ca91d945d9 100644--- a/internal/eslint-plugin-xds/docblock-example-format.test.mjs+++ b/internal/eslint-plugin-xds/docblock-example-format.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file docblock-example-format.test.mjs* Tests for the docblock-example-format ESLint rule.diff --git a/internal/eslint-plugin-xds/index.js b/internal/eslint-plugin-xds/index.jsindex f5c5f0dd4e..cf4de2d0bd 100644--- a/internal/eslint-plugin-xds/index.js+++ b/internal/eslint-plugin-xds/index.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file ESLint plugin for XDS design system* @description Enforces usage of design tokens and XDS conventions@@ -21,6 +23,7 @@ import noClassnameClobberRule from './no-classname-clobber.js';import noHardcodedAnchorRule from './no-hardcoded-anchor.js';import noBorderShorthandRule from './no-border-shorthand.js';import noReactNamespaceHooksRule from './no-react-namespace-hooks.js';+import copyrightHeaderRule from './copyright-header.js';// =============================================================================// Rule: no-hardcoded-styles@@ -230,6 +233,7 @@ const plugin = {'no-hardcoded-anchor': noHardcodedAnchorRule,'no-border-shorthand': noBorderShorthandRule,'no-react-namespace-hooks': noReactNamespaceHooksRule,+ 'copyright-header': copyrightHeaderRule,},configs: {},};@@ -250,6 +254,7 @@ plugin.configs.strict = {'@xds/no-hardcoded-anchor': 'error','@xds/no-border-shorthand': 'error','@xds/no-react-namespace-hooks': 'error',+ '@xds/copyright-header': 'error',},};@@ -269,6 +274,7 @@ plugin.configs.recommended = {'@xds/no-hardcoded-anchor': 'warn','@xds/no-border-shorthand': 'warn','@xds/no-react-namespace-hooks': 'error',+ '@xds/copyright-header': 'error',},};diff --git a/internal/eslint-plugin-xds/no-border-shorthand.js b/internal/eslint-plugin-xds/no-border-shorthand.jsindex 27acab89b6..73a13d279d 100644--- a/internal/eslint-plugin-xds/no-border-shorthand.js+++ b/internal/eslint-plugin-xds/no-border-shorthand.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-border-shorthand.js* @description Disallow border shorthand in stylex.create(). StyleX should usediff --git a/internal/eslint-plugin-xds/no-border-shorthand.test.mjs b/internal/eslint-plugin-xds/no-border-shorthand.test.mjsindex ac5284dbc8..adf57ceece 100644--- a/internal/eslint-plugin-xds/no-border-shorthand.test.mjs+++ b/internal/eslint-plugin-xds/no-border-shorthand.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-border-shorthand.test.mjs*/diff --git a/internal/eslint-plugin-xds/no-classname-clobber.js b/internal/eslint-plugin-xds/no-classname-clobber.jsindex 56400b1700..ed7c1191d6 100644--- a/internal/eslint-plugin-xds/no-classname-clobber.js+++ b/internal/eslint-plugin-xds/no-classname-clobber.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-classname-clobber.js* @description Disallow `className` or `style` alongside `{...stylex.props()}` on JSX elements.diff --git a/internal/eslint-plugin-xds/no-hardcoded-anchor.js b/internal/eslint-plugin-xds/no-hardcoded-anchor.jsindex d863524128..d109af1f11 100644--- a/internal/eslint-plugin-xds/no-hardcoded-anchor.js+++ b/internal/eslint-plugin-xds/no-hardcoded-anchor.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-hardcoded-anchor.js* @description Disallow hardcoded `<a>` elements in XDS core components.diff --git a/internal/eslint-plugin-xds/no-hardcoded-anchor.test.mjs b/internal/eslint-plugin-xds/no-hardcoded-anchor.test.mjsindex 34dadb54a7..140005b4e6 100644--- a/internal/eslint-plugin-xds/no-hardcoded-anchor.test.mjs+++ b/internal/eslint-plugin-xds/no-hardcoded-anchor.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-hardcoded-anchor.test.mjs* @description Tests for the no-hardcoded-anchor ESLint rule.diff --git a/internal/eslint-plugin-xds/no-react-introspection.js b/internal/eslint-plugin-xds/no-react-introspection.jsindex f9743fe914..4b0f15659a 100644--- a/internal/eslint-plugin-xds/no-react-introspection.js+++ b/internal/eslint-plugin-xds/no-react-introspection.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-react-introspection.js* @description ESLint rule banning React child introspection and prop inspection.diff --git a/internal/eslint-plugin-xds/no-react-introspection.test.mjs b/internal/eslint-plugin-xds/no-react-introspection.test.mjsindex 9656ccc5bd..360d98f6f0 100644--- a/internal/eslint-plugin-xds/no-react-introspection.test.mjs+++ b/internal/eslint-plugin-xds/no-react-introspection.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {RuleTester} from 'eslint';import noReactIntrospectionRule from './no-react-introspection.js';diff --git a/internal/eslint-plugin-xds/no-react-namespace-hooks.js b/internal/eslint-plugin-xds/no-react-namespace-hooks.jsindex c6c3ee5dde..b6f1bd4c16 100644--- a/internal/eslint-plugin-xds/no-react-namespace-hooks.js+++ b/internal/eslint-plugin-xds/no-react-namespace-hooks.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-react-namespace-hooks.js* @description ESLint rule requiring direct imports of React hooksdiff --git a/internal/eslint-plugin-xds/no-react-namespace-hooks.test.mjs b/internal/eslint-plugin-xds/no-react-namespace-hooks.test.mjsindex 72e4ff6665..b8530a1e64 100644--- a/internal/eslint-plugin-xds/no-react-namespace-hooks.test.mjs+++ b/internal/eslint-plugin-xds/no-react-namespace-hooks.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-react-namespace-hooks.test.mjs*/diff --git a/internal/eslint-plugin-xds/no-stylex-null-override.js b/internal/eslint-plugin-xds/no-stylex-null-override.jsindex 4ad7f5600e..8e0d778c56 100644--- a/internal/eslint-plugin-xds/no-stylex-null-override.js+++ b/internal/eslint-plugin-xds/no-stylex-null-override.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-stylex-null-override.js* @description Disallow null values as style overrides in stylex.create().diff --git a/internal/eslint-plugin-xds/no-stylex-null-override.test.mjs b/internal/eslint-plugin-xds/no-stylex-null-override.test.mjsindex 52b09d3668..f1c5243086 100644--- a/internal/eslint-plugin-xds/no-stylex-null-override.test.mjs+++ b/internal/eslint-plugin-xds/no-stylex-null-override.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file no-stylex-null-override.test.mjs*/diff --git a/internal/eslint-plugin-xds/presentational-component.js b/internal/eslint-plugin-xds/presentational-component.jsindex 8a102ec5d0..6de4b1716f 100644--- a/internal/eslint-plugin-xds/presentational-component.js+++ b/internal/eslint-plugin-xds/presentational-component.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file presentational-component.js* @description ESLint rule enforcing presentational component constraints.diff --git a/internal/eslint-plugin-xds/presentational-component.test.mjs b/internal/eslint-plugin-xds/presentational-component.test.mjsindex d2d4c6c81e..3a1390d3e9 100644--- a/internal/eslint-plugin-xds/presentational-component.test.mjs+++ b/internal/eslint-plugin-xds/presentational-component.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file presentational-component.test.mjs* Tests for the presentational-component ESLint rulediff --git a/internal/stylex-capabilities/scan.mjs b/internal/stylex-capabilities/scan.mjsindex 5b660caf26..85198c5ecb 100644--- a/internal/stylex-capabilities/scan.mjs+++ b/internal/stylex-capabilities/scan.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** StyleX CSS Capability Scanner*diff --git a/internal/test-utils/src/index.ts b/internal/test-utils/src/index.tsindex 88fd56a5bf..dab5190bcb 100644--- a/internal/test-utils/src/index.ts+++ b/internal/test-utils/src/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input Uses @testing-library/react, @testing-library/user-eventdiff --git a/internal/test-utils/src/setup.ts b/internal/test-utils/src/setup.tsindex 94e604b960..97ed8c4a78 100644--- a/internal/test-utils/src/setup.ts+++ b/internal/test-utils/src/setup.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file setup.ts* @input Uses @testing-library/jest-dom/vitestdiff --git a/internal/vibe-tests/.baseline/components/ui/avatar.tsx b/internal/vibe-tests/.baseline/components/ui/avatar.tsxindex 991f56ecb1..995ce776d8 100644--- a/internal/vibe-tests/.baseline/components/ui/avatar.tsx+++ b/internal/vibe-tests/.baseline/components/ui/avatar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as AvatarPrimitive from "@radix-ui/react-avatar"diff --git a/internal/vibe-tests/.baseline/components/ui/badge.tsx b/internal/vibe-tests/.baseline/components/ui/badge.tsxindex e87d62bf1a..8803570786 100644--- a/internal/vibe-tests/.baseline/components/ui/badge.tsx+++ b/internal/vibe-tests/.baseline/components/ui/badge.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import { cva, type VariantProps } from "class-variance-authority"diff --git a/internal/vibe-tests/.baseline/components/ui/button.tsx b/internal/vibe-tests/.baseline/components/ui/button.tsxindex 65d4fcd9ca..ce37a21b6d 100644--- a/internal/vibe-tests/.baseline/components/ui/button.tsx+++ b/internal/vibe-tests/.baseline/components/ui/button.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import { Slot } from "@radix-ui/react-slot"import { cva, type VariantProps } from "class-variance-authority"diff --git a/internal/vibe-tests/.baseline/components/ui/card.tsx b/internal/vibe-tests/.baseline/components/ui/card.tsxindex cabfbfc59d..3fccaa0d01 100644--- a/internal/vibe-tests/.baseline/components/ui/card.tsx+++ b/internal/vibe-tests/.baseline/components/ui/card.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import { cn } from "@/lib/utils"diff --git a/internal/vibe-tests/.baseline/components/ui/checkbox.tsx b/internal/vibe-tests/.baseline/components/ui/checkbox.tsxindex fa583051ad..4b56c8a441 100644--- a/internal/vibe-tests/.baseline/components/ui/checkbox.tsx+++ b/internal/vibe-tests/.baseline/components/ui/checkbox.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as CheckboxPrimitive from "@radix-ui/react-checkbox"import { CheckIcon } from "lucide-react"diff --git a/internal/vibe-tests/.baseline/components/ui/command.tsx b/internal/vibe-tests/.baseline/components/ui/command.tsxindex c763441a4d..199a1927d9 100644--- a/internal/vibe-tests/.baseline/components/ui/command.tsx+++ b/internal/vibe-tests/.baseline/components/ui/command.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import { type DialogProps } from "@radix-ui/react-dialog"import { Command as CommandPrimitive } from "cmdk"diff --git a/internal/vibe-tests/.baseline/components/ui/dialog.tsx b/internal/vibe-tests/.baseline/components/ui/dialog.tsxindex e68fd364e9..1064802b5e 100644--- a/internal/vibe-tests/.baseline/components/ui/dialog.tsx+++ b/internal/vibe-tests/.baseline/components/ui/dialog.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as DialogPrimitive from "@radix-ui/react-dialog"import { XIcon } from "lucide-react"diff --git a/internal/vibe-tests/.baseline/components/ui/dropdown-menu.tsx b/internal/vibe-tests/.baseline/components/ui/dropdown-menu.tsxindex 46258ac77a..8856d59932 100644--- a/internal/vibe-tests/.baseline/components/ui/dropdown-menu.tsx+++ b/internal/vibe-tests/.baseline/components/ui/dropdown-menu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"diff --git a/internal/vibe-tests/.baseline/components/ui/hover-card.tsx b/internal/vibe-tests/.baseline/components/ui/hover-card.tsxindex 863ff0148f..f8f5859c0e 100644--- a/internal/vibe-tests/.baseline/components/ui/hover-card.tsx+++ b/internal/vibe-tests/.baseline/components/ui/hover-card.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as HoverCardPrimitive from "@radix-ui/react-hover-card"diff --git a/internal/vibe-tests/.baseline/components/ui/input.tsx b/internal/vibe-tests/.baseline/components/ui/input.tsxindex 97a168d9f6..3916ac576a 100644--- a/internal/vibe-tests/.baseline/components/ui/input.tsx+++ b/internal/vibe-tests/.baseline/components/ui/input.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import { cn } from "@/lib/utils"diff --git a/internal/vibe-tests/.baseline/components/ui/label.tsx b/internal/vibe-tests/.baseline/components/ui/label.tsxindex 683faa7938..cae48d5cb5 100644--- a/internal/vibe-tests/.baseline/components/ui/label.tsx+++ b/internal/vibe-tests/.baseline/components/ui/label.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as LabelPrimitive from "@radix-ui/react-label"import { cva, type VariantProps } from "class-variance-authority"diff --git a/internal/vibe-tests/.baseline/components/ui/popover.tsx b/internal/vibe-tests/.baseline/components/ui/popover.tsxindex d82e714959..5e38d9dcff 100644--- a/internal/vibe-tests/.baseline/components/ui/popover.tsx+++ b/internal/vibe-tests/.baseline/components/ui/popover.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as PopoverPrimitive from "@radix-ui/react-popover"diff --git a/internal/vibe-tests/.baseline/components/ui/progress.tsx b/internal/vibe-tests/.baseline/components/ui/progress.tsxindex 3fd47adade..686d878e3b 100644--- a/internal/vibe-tests/.baseline/components/ui/progress.tsx+++ b/internal/vibe-tests/.baseline/components/ui/progress.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as ProgressPrimitive from "@radix-ui/react-progress"diff --git a/internal/vibe-tests/.baseline/components/ui/scroll-area.tsx b/internal/vibe-tests/.baseline/components/ui/scroll-area.tsxindex cf253cf170..9b155a37aa 100644--- a/internal/vibe-tests/.baseline/components/ui/scroll-area.tsx+++ b/internal/vibe-tests/.baseline/components/ui/scroll-area.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area"diff --git a/internal/vibe-tests/.baseline/components/ui/select.tsx b/internal/vibe-tests/.baseline/components/ui/select.tsxindex 74ca237e12..a3d6a2bbf1 100644--- a/internal/vibe-tests/.baseline/components/ui/select.tsx+++ b/internal/vibe-tests/.baseline/components/ui/select.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as SelectPrimitive from "@radix-ui/react-select"import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react"diff --git a/internal/vibe-tests/.baseline/components/ui/separator.tsx b/internal/vibe-tests/.baseline/components/ui/separator.tsxindex 6d7f12265b..4c358a990d 100644--- a/internal/vibe-tests/.baseline/components/ui/separator.tsx+++ b/internal/vibe-tests/.baseline/components/ui/separator.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as SeparatorPrimitive from "@radix-ui/react-separator"diff --git a/internal/vibe-tests/.baseline/components/ui/sheet.tsx b/internal/vibe-tests/.baseline/components/ui/sheet.tsxindex 9cf370e619..6e26da48d4 100644--- a/internal/vibe-tests/.baseline/components/ui/sheet.tsx+++ b/internal/vibe-tests/.baseline/components/ui/sheet.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as SheetPrimitive from "@radix-ui/react-dialog"import { cva, type VariantProps } from "class-variance-authority"diff --git a/internal/vibe-tests/.baseline/components/ui/skeleton.tsx b/internal/vibe-tests/.baseline/components/ui/skeleton.tsxindex d7e45f7bd3..e901c0d6af 100644--- a/internal/vibe-tests/.baseline/components/ui/skeleton.tsx+++ b/internal/vibe-tests/.baseline/components/ui/skeleton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import { cn } from "@/lib/utils"function Skeleton({diff --git a/internal/vibe-tests/.baseline/components/ui/slider.tsx b/internal/vibe-tests/.baseline/components/ui/slider.tsxindex 9398b33151..9d6f5959ce 100644--- a/internal/vibe-tests/.baseline/components/ui/slider.tsx+++ b/internal/vibe-tests/.baseline/components/ui/slider.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as SliderPrimitive from "@radix-ui/react-slider"diff --git a/internal/vibe-tests/.baseline/components/ui/switch.tsx b/internal/vibe-tests/.baseline/components/ui/switch.tsxindex 455c23b6cd..60825bd4a2 100644--- a/internal/vibe-tests/.baseline/components/ui/switch.tsx+++ b/internal/vibe-tests/.baseline/components/ui/switch.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as SwitchPrimitives from "@radix-ui/react-switch"diff --git a/internal/vibe-tests/.baseline/components/ui/table.tsx b/internal/vibe-tests/.baseline/components/ui/table.tsxindex c0df655c0b..804901dd10 100644--- a/internal/vibe-tests/.baseline/components/ui/table.tsx+++ b/internal/vibe-tests/.baseline/components/ui/table.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import { cn } from "@/lib/utils"diff --git a/internal/vibe-tests/.baseline/components/ui/tabs.tsx b/internal/vibe-tests/.baseline/components/ui/tabs.tsxindex 85d83beab3..b04bfade3c 100644--- a/internal/vibe-tests/.baseline/components/ui/tabs.tsx+++ b/internal/vibe-tests/.baseline/components/ui/tabs.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as TabsPrimitive from "@radix-ui/react-tabs"diff --git a/internal/vibe-tests/.baseline/components/ui/textarea.tsx b/internal/vibe-tests/.baseline/components/ui/textarea.tsxindex 8e554d0762..51de0420e7 100644--- a/internal/vibe-tests/.baseline/components/ui/textarea.tsx+++ b/internal/vibe-tests/.baseline/components/ui/textarea.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import { cn } from "@/lib/utils"diff --git a/internal/vibe-tests/.baseline/components/ui/tooltip.tsx b/internal/vibe-tests/.baseline/components/ui/tooltip.tsxindex 218d1835f7..875bc4e638 100644--- a/internal/vibe-tests/.baseline/components/ui/tooltip.tsx+++ b/internal/vibe-tests/.baseline/components/ui/tooltip.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as React from "react"import * as TooltipPrimitive from "@radix-ui/react-tooltip"diff --git a/internal/vibe-tests/.baseline/lib/utils.ts b/internal/vibe-tests/.baseline/lib/utils.tsindex d084ccade0..46b3bd5270 100644--- a/internal/vibe-tests/.baseline/lib/utils.ts+++ b/internal/vibe-tests/.baseline/lib/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import { type ClassValue, clsx } from "clsx"import { twMerge } from "tailwind-merge"diff --git a/internal/vibe-tests/AdminPanel.tsx b/internal/vibe-tests/AdminPanel.tsxindex bd79964be2..e186dfcda7 100644--- a/internal/vibe-tests/AdminPanel.tsx+++ b/internal/vibe-tests/AdminPanel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/internal/vibe-tests/app/index.html b/internal/vibe-tests/app/index.htmlindex a2730bbd84..d313dbbb6f 100644--- a/internal/vibe-tests/app/index.html+++ b/internal/vibe-tests/app/index.html@@ -1,3 +1,5 @@+<!-- Copyright (c) Meta Platforms, Inc. and affiliates. -->+<!DOCTYPE html><html lang="en"><head>diff --git a/internal/vibe-tests/app/index.report.html b/internal/vibe-tests/app/index.report.htmlindex 95c5a32076..a0fe46813f 100644--- a/internal/vibe-tests/app/index.report.html+++ b/internal/vibe-tests/app/index.report.html@@ -1,3 +1,5 @@+<!-- Copyright (c) Meta Platforms, Inc. and affiliates. -->+<!DOCTYPE html><html lang="en"><head>diff --git a/internal/vibe-tests/app/src/main.report.tsx b/internal/vibe-tests/app/src/main.report.tsxindex 64e127f19d..3fb4f414ed 100644--- a/internal/vibe-tests/app/src/main.report.tsx+++ b/internal/vibe-tests/app/src/main.report.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import React, {Suspense, lazy} from 'react';import {createRoot} from 'react-dom/client';diff --git a/internal/vibe-tests/app/src/main.tsx b/internal/vibe-tests/app/src/main.tsxindex 39c9bf0710..9e23734207 100644--- a/internal/vibe-tests/app/src/main.tsx+++ b/internal/vibe-tests/app/src/main.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import React, {Suspense, lazy} from 'react';import {createRoot} from 'react-dom/client';import '@xds/core/reset.css';diff --git a/internal/vibe-tests/app/src/preview.tsx b/internal/vibe-tests/app/src/preview.tsxindex 48df1f08e3..822ac269b8 100644--- a/internal/vibe-tests/app/src/preview.tsx+++ b/internal/vibe-tests/app/src/preview.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import React, {Suspense, lazy} from 'react';import {XDSTheme} from '@xds/core/theme';import {defaultTheme} from '@xds/theme/default';diff --git a/internal/vibe-tests/app/src/report/CodeModal.tsx b/internal/vibe-tests/app/src/report/CodeModal.tsxindex dc430ee143..67bcf064e7 100644--- a/internal/vibe-tests/app/src/report/CodeModal.tsx+++ b/internal/vibe-tests/app/src/report/CodeModal.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSDialog} from '@xds/core/Dialog';import {XDSVStack} from '@xds/core/Stack';import {XDSText} from '@xds/core/Text';diff --git a/internal/vibe-tests/app/src/report/CompareView.tsx b/internal/vibe-tests/app/src/report/CompareView.tsxindex a5a5cb98e7..fb59df2428 100644--- a/internal/vibe-tests/app/src/report/CompareView.tsx+++ b/internal/vibe-tests/app/src/report/CompareView.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSCard} from '@xds/core/Card';import {XDSVStack} from '@xds/core/Stack';import {XDSText} from '@xds/core/Text';diff --git a/internal/vibe-tests/app/src/report/DimensionTable.tsx b/internal/vibe-tests/app/src/report/DimensionTable.tsxindex 4d2e79cc4b..61d4215211 100644--- a/internal/vibe-tests/app/src/report/DimensionTable.tsx+++ b/internal/vibe-tests/app/src/report/DimensionTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSTable} from '@xds/core/Table';import {XDSStatusDot} from '@xds/core/StatusDot';import {XDSHStack} from '@xds/core/Stack';diff --git a/internal/vibe-tests/app/src/report/PromptDetailCard.tsx b/internal/vibe-tests/app/src/report/PromptDetailCard.tsxindex 15c7ad9453..a2e2af18bd 100644--- a/internal/vibe-tests/app/src/report/PromptDetailCard.tsx+++ b/internal/vibe-tests/app/src/report/PromptDetailCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSCard} from '@xds/core/Card';import {XDSVStack} from '@xds/core/Stack';import {XDSText} from '@xds/core/Text';diff --git a/internal/vibe-tests/app/src/report/Report.tsx b/internal/vibe-tests/app/src/report/Report.tsxindex 49de78c720..2e04926a3d 100644--- a/internal/vibe-tests/app/src/report/Report.tsx+++ b/internal/vibe-tests/app/src/report/Report.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import {XDSTheme} from '@xds/core/theme';import {XDSVStack} from '@xds/core/Stack';diff --git a/internal/vibe-tests/app/src/report/ScoreCard.tsx b/internal/vibe-tests/app/src/report/ScoreCard.tsxindex 9da60e1bdd..e1fcee956c 100644--- a/internal/vibe-tests/app/src/report/ScoreCard.tsx+++ b/internal/vibe-tests/app/src/report/ScoreCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSCard} from '@xds/core/Card';import {XDSVStack} from '@xds/core/Stack';import {XDSHStack} from '@xds/core/Stack';diff --git a/internal/vibe-tests/app/src/report/ScreenshotGallery.tsx b/internal/vibe-tests/app/src/report/ScreenshotGallery.tsxindex 3b9fe35066..dd4173ea17 100644--- a/internal/vibe-tests/app/src/report/ScreenshotGallery.tsx+++ b/internal/vibe-tests/app/src/report/ScreenshotGallery.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {useState} from 'react';import {XDSCard} from '@xds/core/Card';import {XDSVStack} from '@xds/core/Stack';diff --git a/internal/vibe-tests/app/src/report/report.css b/internal/vibe-tests/app/src/report/report.cssindex d75aa6c378..bfbf0cbb56 100644--- a/internal/vibe-tests/app/src/report/report.css+++ b/internal/vibe-tests/app/src/report/report.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/*** Report-specific styles.*diff --git a/internal/vibe-tests/app/src/report/types.ts b/internal/vibe-tests/app/src/report/types.tsindex e3d532af6b..b202e467cd 100644--- a/internal/vibe-tests/app/src/report/types.ts+++ b/internal/vibe-tests/app/src/report/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {UniversalScore,UniversalAggregate,diff --git a/internal/vibe-tests/app/src/report/utils.ts b/internal/vibe-tests/app/src/report/utils.tsindex 1de5008877..57bc402ed4 100644--- a/internal/vibe-tests/app/src/report/utils.ts+++ b/internal/vibe-tests/app/src/report/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {UniversalDimension, UniversalScore} from './types';/** The 5 code-analysis dimensions (always present). */diff --git a/internal/vibe-tests/app/vite.config.preview.ts b/internal/vibe-tests/app/vite.config.preview.tsindex 0bfdb89714..4a4b2d0334 100644--- a/internal/vibe-tests/app/vite.config.preview.ts+++ b/internal/vibe-tests/app/vite.config.preview.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import path from 'path';import {fileURLToPath} from 'url';import {defineConfig} from 'vite';diff --git a/internal/vibe-tests/app/vite.config.report.ts b/internal/vibe-tests/app/vite.config.report.tsindex eb2af4279f..5509001260 100644--- a/internal/vibe-tests/app/vite.config.report.ts+++ b/internal/vibe-tests/app/vite.config.report.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import path from 'path';import {fileURLToPath} from 'url';import {defineConfig} from 'vite';diff --git a/internal/vibe-tests/app/vite.config.ts b/internal/vibe-tests/app/vite.config.tsindex ad8186eb2f..46c4f33656 100644--- a/internal/vibe-tests/app/vite.config.ts+++ b/internal/vibe-tests/app/vite.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import path from 'path';import {fileURLToPath} from 'url';import {defineConfig} from 'vite';diff --git a/internal/vibe-tests/environments/project-xds-tailwind/globals.css b/internal/vibe-tests/environments/project-xds-tailwind/globals.cssindex 8a9de75c97..bd287987a4 100644--- a/internal/vibe-tests/environments/project-xds-tailwind/globals.css+++ b/internal/vibe-tests/environments/project-xds-tailwind/globals.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+@layer reset, theme, base, xds-base, xds-theme, components, utilities;@import "tailwindcss/theme.css" layer(theme);diff --git a/internal/vibe-tests/scripts/publish-report.sh b/internal/vibe-tests/scripts/publish-report.shindex d2856faff4..a49c9f46ae 100644--- a/internal/vibe-tests/scripts/publish-report.sh+++ b/internal/vibe-tests/scripts/publish-report.sh@@ -1,4 +1,6 @@#!/usr/bin/env bash+# Copyright (c) Meta Platforms, Inc. and affiliates.+set -euo pipefail# Publish a vibe test report to GitHub Pages.diff --git a/internal/vibe-tests/scripts/smoke-test.sh b/internal/vibe-tests/scripts/smoke-test.shindex 217865c0e0..8d3365e521 100644--- a/internal/vibe-tests/scripts/smoke-test.sh+++ b/internal/vibe-tests/scripts/smoke-test.sh@@ -1,4 +1,6 @@#!/usr/bin/env bash+# Copyright (c) Meta Platforms, Inc. and affiliates.+# @file Vibe test infrastructure smoke test## Validates the vibe test pipeline works end-to-end without spawningdiff --git a/internal/vibe-tests/src/build-previews.ts b/internal/vibe-tests/src/build-previews.tsindex cf1039dafe..9d8791dfcb 100644--- a/internal/vibe-tests/src/build-previews.ts+++ b/internal/vibe-tests/src/build-previews.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Build live preview pages from vibe test results*diff --git a/internal/vibe-tests/src/build-report.ts b/internal/vibe-tests/src/build-report.tsindex c1a2fc7c97..196624c25f 100644--- a/internal/vibe-tests/src/build-report.ts+++ b/internal/vibe-tests/src/build-report.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Build pipeline: eval → Vite build → inject data into HTML*diff --git a/internal/vibe-tests/src/cli.ts b/internal/vibe-tests/src/cli.tsold mode 100755new mode 100644index 9f94e7a854..2386556085--- a/internal/vibe-tests/src/cli.ts+++ b/internal/vibe-tests/src/cli.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file CLI entry point for vibe-tests harness* @position internal/vibe-tests/src/cli.tsdiff --git a/internal/vibe-tests/src/collect-results.mjs b/internal/vibe-tests/src/collect-results.mjsindex 9802a5bab9..d0952ce207 100644--- a/internal/vibe-tests/src/collect-results.mjs+++ b/internal/vibe-tests/src/collect-results.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file collect-results.mjs*diff --git a/internal/vibe-tests/src/correct-previews.ts b/internal/vibe-tests/src/correct-previews.tsindex e34ca9fb47..6f5720865c 100644--- a/internal/vibe-tests/src/correct-previews.ts+++ b/internal/vibe-tests/src/correct-previews.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file LLM-driven correction of type errors in vibe test results*diff --git a/internal/vibe-tests/src/deploy-report.ts b/internal/vibe-tests/src/deploy-report.tsindex f3cc0b4ac0..fafe14e45d 100644--- a/internal/vibe-tests/src/deploy-report.ts+++ b/internal/vibe-tests/src/deploy-report.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Deploy report to GitHub Pages*diff --git a/internal/vibe-tests/src/design-judge-gemini.py b/internal/vibe-tests/src/design-judge-gemini.pyindex ab219afb93..adf3e99e07 100644--- a/internal/vibe-tests/src/design-judge-gemini.py+++ b/internal/vibe-tests/src/design-judge-gemini.py@@ -1,4 +1,6 @@#!/usr/bin/env python3+# Copyright (c) Meta Platforms, Inc. and affiliates.+"""Night Watch Design Judge — Gemini 2.5 Pro Vision scoring.diff --git a/internal/vibe-tests/src/design-judge.ts b/internal/vibe-tests/src/design-judge.tsindex 18529e8828..ae66f651a6 100644--- a/internal/vibe-tests/src/design-judge.ts+++ b/internal/vibe-tests/src/design-judge.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Design Judge — vision LLM evaluation of visual fidelity*diff --git a/internal/vibe-tests/src/ensure-tsx.test.ts b/internal/vibe-tests/src/ensure-tsx.test.tsindex 0389b77ce2..c8c488e09f 100644--- a/internal/vibe-tests/src/ensure-tsx.test.ts+++ b/internal/vibe-tests/src/ensure-tsx.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, afterAll} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/internal/vibe-tests/src/fix-imports.ts b/internal/vibe-tests/src/fix-imports.tsindex 831d81f2e1..5a5eb7cece 100644--- a/internal/vibe-tests/src/fix-imports.ts+++ b/internal/vibe-tests/src/fix-imports.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Standalone codemod: fix missing XDS imports in vibe test results*diff --git a/internal/vibe-tests/src/generate-a11y-manifest.ts b/internal/vibe-tests/src/generate-a11y-manifest.tsindex 125a7e1cbd..7efdd15f27 100644--- a/internal/vibe-tests/src/generate-a11y-manifest.ts+++ b/internal/vibe-tests/src/generate-a11y-manifest.ts@@ -1,4 +1,6 @@#!/usr/bin/env tsx+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Accessibility Manifest Generator* @description Generates accessibility manifests from official sources for XDS and baseline (Radix/shadcn)diff --git a/internal/vibe-tests/src/index.ts b/internal/vibe-tests/src/index.tsindex 0fca89e461..18c52bf838 100644--- a/internal/vibe-tests/src/index.ts+++ b/internal/vibe-tests/src/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Main exports for vibe-tests* @position internal/vibe-tests/src/index.tsdiff --git a/internal/vibe-tests/src/interactive.ts b/internal/vibe-tests/src/interactive.tsindex 4d92433914..01e80267fd 100644--- a/internal/vibe-tests/src/interactive.ts+++ b/internal/vibe-tests/src/interactive.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Interactive vibe test runner for Claude Code*diff --git a/internal/vibe-tests/src/post-design-results.py b/internal/vibe-tests/src/post-design-results.pyindex 1f3543bda1..7ac75f9157 100644--- a/internal/vibe-tests/src/post-design-results.py+++ b/internal/vibe-tests/src/post-design-results.py@@ -1,4 +1,6 @@#!/usr/bin/env python3+# Copyright (c) Meta Platforms, Inc. and affiliates.+"""Post Night Watch design judge results as a GitHub issue comment.diff --git a/internal/vibe-tests/src/sampling.ts b/internal/vibe-tests/src/sampling.tsindex 816a96f22b..02e23067a0 100644--- a/internal/vibe-tests/src/sampling.ts+++ b/internal/vibe-tests/src/sampling.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Sampling utilities for stratified prompt selection* @position internal/vibe-tests/src/sampling.tsdiff --git a/internal/vibe-tests/src/screenshot-previews.ts b/internal/vibe-tests/src/screenshot-previews.tsindex 3074110612..2aac118b37 100644--- a/internal/vibe-tests/src/screenshot-previews.ts+++ b/internal/vibe-tests/src/screenshot-previews.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Screenshot pre-built preview HTML files using Playwright* @input Pre-built preview HTML files from build-previews.tsdiff --git a/internal/vibe-tests/src/screenshot.ts b/internal/vibe-tests/src/screenshot.tsindex 7f084b6f38..921d26a927 100644--- a/internal/vibe-tests/src/screenshot.ts+++ b/internal/vibe-tests/src/screenshot.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Playwright screenshot pipeline for vibe test results*diff --git a/internal/vibe-tests/src/setup-environment.mjs b/internal/vibe-tests/src/setup-environment.mjsindex c344ffacfd..71292fb3d7 100644--- a/internal/vibe-tests/src/setup-environment.mjs+++ b/internal/vibe-tests/src/setup-environment.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file setup-environment.mjs*diff --git a/internal/vibe-tests/src/setup-nightly.mjs b/internal/vibe-tests/src/setup-nightly.mjsindex a9d15a6746..42875852e2 100644--- a/internal/vibe-tests/src/setup-nightly.mjs+++ b/internal/vibe-tests/src/setup-nightly.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file setup-nightly.mjs*diff --git a/internal/vibe-tests/src/types.ts b/internal/vibe-tests/src/types.tsindex a28aeb822e..375eaec1ba 100644--- a/internal/vibe-tests/src/types.ts+++ b/internal/vibe-tests/src/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Core types for the vibeability test harness* @position internal/vibe-tests/src/types.tsdiff --git a/internal/vibe-tests/src/universal-aggregate.ts b/internal/vibe-tests/src/universal-aggregate.tsindex 8897fe2115..dfdafc1333 100644--- a/internal/vibe-tests/src/universal-aggregate.ts+++ b/internal/vibe-tests/src/universal-aggregate.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Universal aggregate scoring across 5+1 dimensions (design is optional)*diff --git a/internal/vibe-tests/src/universal-compare.ts b/internal/vibe-tests/src/universal-compare.tsindex cb6a38972a..a689a8e2c9 100644--- a/internal/vibe-tests/src/universal-compare.ts+++ b/internal/vibe-tests/src/universal-compare.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Universal Compare — side-by-side comparison of two or three iterations*diff --git a/internal/vibe-tests/src/universal-eval.ts b/internal/vibe-tests/src/universal-eval.tsindex 22a527e17f..7b91d2c991 100644--- a/internal/vibe-tests/src/universal-eval.ts+++ b/internal/vibe-tests/src/universal-eval.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Universal Evaluation — target-neutral static analysis*diff --git a/internal/vibe-tests/src/utils.ts b/internal/vibe-tests/src/utils.tsindex 83d4dd530b..c0fb28fb67 100644--- a/internal/vibe-tests/src/utils.ts+++ b/internal/vibe-tests/src/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Utility functions for the vibeability test harness* @position internal/vibe-tests/src/utils.tsdiff --git a/internal/vibe-tests/src/validate-previews.ts b/internal/vibe-tests/src/validate-previews.tsindex 125ee2b5b1..0b267fa32f 100644--- a/internal/vibe-tests/src/validate-previews.ts+++ b/internal/vibe-tests/src/validate-previews.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Standalone validator: check built preview HTML for unresolved XDS refs*diff --git a/packages/build/build.mjs b/packages/build/build.mjsindex fa232d9e20..fdda359e5c 100644--- a/packages/build/build.mjs+++ b/packages/build/build.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Compiles src/vite.ts → dist/vite.mjs for npm distribution.*diff --git a/packages/build/src/babel.js b/packages/build/src/babel.jsindex 7d1d1654fa..5c8a5190cd 100644--- a/packages/build/src/babel.js+++ b/packages/build/src/babel.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use strict";/**diff --git a/packages/build/src/config.js b/packages/build/src/config.jsindex 9ba8c05fb7..c6e2c7dc0a 100644--- a/packages/build/src/config.js+++ b/packages/build/src/config.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use strict";/**diff --git a/packages/build/src/index.js b/packages/build/src/index.jsindex fcbc7e4b55..9d4fa80eab 100644--- a/packages/build/src/index.js+++ b/packages/build/src/index.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use strict";/**diff --git a/packages/build/src/next.js b/packages/build/src/next.jsindex cb15848f1e..5ca9e13bee 100644--- a/packages/build/src/next.js+++ b/packages/build/src/next.js@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use strict";/**diff --git a/packages/build/src/vite.ts b/packages/build/src/vite.tsindex 88efa368ee..0d05fd3947 100644--- a/packages/build/src/vite.ts+++ b/packages/build/src/vite.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {Plugin} from 'vite';import stylexBabelPlugin from '@stylexjs/babel-plugin';import stylex from '@stylexjs/unplugin';diff --git a/packages/cli/bin/xds.mjs b/packages/cli/bin/xds.mjsold mode 100755new mode 100644index ee7706f946..d2e69dfc6a--- a/packages/cli/bin/xds.mjs+++ b/packages/cli/bin/xds.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {program} from '../src/index.mjs';program.parse();diff --git a/packages/cli/docs/color.doc.mjs b/packages/cli/docs/color.doc.mjsindex 5f5125c630..c02c7540c5 100644--- a/packages/cli/docs/color.doc.mjs+++ b/packages/cli/docs/color.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/elevation.doc.mjs b/packages/cli/docs/elevation.doc.mjsindex 5d2b1e6dcd..eb5afc2c2d 100644--- a/packages/cli/docs/elevation.doc.mjs+++ b/packages/cli/docs/elevation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/getting-started.doc.mjs b/packages/cli/docs/getting-started.doc.mjsindex d23e657ec6..fa3db2c8e0 100644--- a/packages/cli/docs/getting-started.doc.mjs+++ b/packages/cli/docs/getting-started.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/icons.doc.mjs b/packages/cli/docs/icons.doc.mjsindex b302bafeef..40b6545145 100644--- a/packages/cli/docs/icons.doc.mjs+++ b/packages/cli/docs/icons.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Icons reference doc — semantic icon names available in XDS*/diff --git a/packages/cli/docs/illustrations.doc.mjs b/packages/cli/docs/illustrations.doc.mjsindex d9722badf0..569001e211 100644--- a/packages/cli/docs/illustrations.doc.mjs+++ b/packages/cli/docs/illustrations.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {name: 'illustrations',diff --git a/packages/cli/docs/motion.doc.mjs b/packages/cli/docs/motion.doc.mjsindex bdcb7ca8d6..dec0c43602 100644--- a/packages/cli/docs/motion.doc.mjs+++ b/packages/cli/docs/motion.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/principles.doc.dense.mjs b/packages/cli/docs/principles.doc.dense.mjsindex 0ac79a636e..c589e50f56 100644--- a/packages/cli/docs/principles.doc.dense.mjs+++ b/packages/cli/docs/principles.doc.dense.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceTranslationDoc} */export const docsDense = {diff --git a/packages/cli/docs/principles.doc.mjs b/packages/cli/docs/principles.doc.mjsindex 225fb83b4c..a4e788a273 100644--- a/packages/cli/docs/principles.doc.mjs+++ b/packages/cli/docs/principles.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/principles.doc.zh.mjs b/packages/cli/docs/principles.doc.zh.mjsindex 2fd9355c20..babc22a137 100644--- a/packages/cli/docs/principles.doc.zh.mjs+++ b/packages/cli/docs/principles.doc.zh.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceTranslationDoc} */export const docsZh = {diff --git a/packages/cli/docs/shape.doc.mjs b/packages/cli/docs/shape.doc.mjsindex 6cf4482a20..ada03c61bd 100644--- a/packages/cli/docs/shape.doc.mjs+++ b/packages/cli/docs/shape.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/spacing.doc.mjs b/packages/cli/docs/spacing.doc.mjsindex 9545e4ae3f..c912b166c0 100644--- a/packages/cli/docs/spacing.doc.mjs+++ b/packages/cli/docs/spacing.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/styling.doc.mjs b/packages/cli/docs/styling.doc.mjsindex d0001c774b..22eb7c242f 100644--- a/packages/cli/docs/styling.doc.mjs+++ b/packages/cli/docs/styling.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/theme.doc.dense.mjs b/packages/cli/docs/theme.doc.dense.mjsindex 52a1ecc027..8a1d57b65a 100644--- a/packages/cli/docs/theme.doc.dense.mjs+++ b/packages/cli/docs/theme.doc.dense.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceTranslationDoc} */export const docsDense = {diff --git a/packages/cli/docs/theme.doc.mjs b/packages/cli/docs/theme.doc.mjsindex 76e9ba76aa..4c76528365 100644--- a/packages/cli/docs/theme.doc.mjs+++ b/packages/cli/docs/theme.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/theme.doc.zh.mjs b/packages/cli/docs/theme.doc.zh.mjsindex cba9fc569b..f6390f5a6a 100644--- a/packages/cli/docs/theme.doc.zh.mjs+++ b/packages/cli/docs/theme.doc.zh.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceTranslationDoc} */export const docsZh = {diff --git a/packages/cli/docs/tokens.doc.dense.mjs b/packages/cli/docs/tokens.doc.dense.mjsindex 0aa7d5b437..8340ffd8b1 100644--- a/packages/cli/docs/tokens.doc.dense.mjs+++ b/packages/cli/docs/tokens.doc.dense.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceTranslationDoc} */export const docsDense = {diff --git a/packages/cli/docs/tokens.doc.mjs b/packages/cli/docs/tokens.doc.mjsindex 6844ff6d35..a4b2653fed 100644--- a/packages/cli/docs/tokens.doc.mjs+++ b/packages/cli/docs/tokens.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// AUTO-GENERATED — do not edit manually.// Source: packages/core/src/theme/tokens.stylex.ts// Run: node scripts/generate-token-docs.mjsdiff --git a/packages/cli/docs/tokens.doc.zh.mjs b/packages/cli/docs/tokens.doc.zh.mjsindex 960c0ad685..83b4875b3d 100644--- a/packages/cli/docs/tokens.doc.zh.mjs+++ b/packages/cli/docs/tokens.doc.zh.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceTranslationDoc} */export const docsZh = {diff --git a/packages/cli/docs/typography.doc.mjs b/packages/cli/docs/typography.doc.mjsindex 6530b29e4f..9d5aa0aa63 100644--- a/packages/cli/docs/typography.doc.mjs+++ b/packages/cli/docs/typography.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/docs/working-with-ai.doc.mjs b/packages/cli/docs/working-with-ai.doc.mjsindex 863897af1a..603e734ea2 100644--- a/packages/cli/docs/working-with-ai.doc.mjs+++ b/packages/cli/docs/working-with-ai.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../core/src/docs-types').ReferenceDoc} */export const docs = {diff --git a/packages/cli/src/api/component.mjs b/packages/cli/src/api/component.mjsindex 722e4eff27..4efe4b95b0 100644--- a/packages/cli/src/api/component.mjs+++ b/packages/cli/src/api/component.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Programmatic API for the component command.*diff --git a/packages/cli/src/api/discover.mjs b/packages/cli/src/api/discover.mjsindex cbfc866a2a..f7cf49b56d 100644--- a/packages/cli/src/api/discover.mjs+++ b/packages/cli/src/api/discover.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Programmatic API for the discover command.*/diff --git a/packages/cli/src/api/docs.mjs b/packages/cli/src/api/docs.mjsindex c39e25c2a9..2e66dd095f 100644--- a/packages/cli/src/api/docs.mjs+++ b/packages/cli/src/api/docs.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Programmatic API for the docs command.*/diff --git a/packages/cli/src/api/error.mjs b/packages/cli/src/api/error.mjsindex fdb9b857d6..6e687e6c91 100644--- a/packages/cli/src/api/error.mjs+++ b/packages/cli/src/api/error.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file API error class — carries structured error info matching CLIError shape.*/diff --git a/packages/cli/src/api/hook.mjs b/packages/cli/src/api/hook.mjsindex 0e8b7bc9d8..1311a5bc90 100644--- a/packages/cli/src/api/hook.mjs+++ b/packages/cli/src/api/hook.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Programmatic API for the hook command.*diff --git a/packages/cli/src/api/index.mjs b/packages/cli/src/api/index.mjsindex d3c88ff003..442157b2c2 100644--- a/packages/cli/src/api/index.mjs+++ b/packages/cli/src/api/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Programmatic API for the XDS CLI.*diff --git a/packages/cli/src/api/template.mjs b/packages/cli/src/api/template.mjsindex ac695d8e24..46782ff88c 100644--- a/packages/cli/src/api/template.mjs+++ b/packages/cli/src/api/template.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Programmatic API for the template command.*/diff --git a/packages/cli/src/codemods/__tests__/registry.test.mjs b/packages/cli/src/codemods/__tests__/registry.test.mjsindex 4e25e4b6c5..e749dd6f0e 100644--- a/packages/cli/src/codemods/__tests__/registry.test.mjs+++ b/packages/cli/src/codemods/__tests__/registry.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, expect, test} from 'vitest';import {versions, getTransformsBetween} from '../registry.mjs';diff --git a/packages/cli/src/codemods/__tests__/rename-section-wash-to-muted.test.mjs b/packages/cli/src/codemods/__tests__/rename-section-wash-to-muted.test.mjsindex 4d762f25f9..29680a311d 100644--- a/packages/cli/src/codemods/__tests__/rename-section-wash-to-muted.test.mjs+++ b/packages/cli/src/codemods/__tests__/rename-section-wash-to-muted.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, expect, test} from 'vitest';import {applyTransform} from 'jscodeshift/dist/testUtils.js';import transform from '../transforms/v0.0.14/rename-section-wash-to-muted.mjs';diff --git a/packages/cli/src/codemods/__tests__/toolbar-density-to-size.test.mjs b/packages/cli/src/codemods/__tests__/toolbar-density-to-size.test.mjsindex 1425e507da..819ae758ac 100644--- a/packages/cli/src/codemods/__tests__/toolbar-density-to-size.test.mjs+++ b/packages/cli/src/codemods/__tests__/toolbar-density-to-size.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, expect, test} from 'vitest';import {applyTransform} from 'jscodeshift/dist/testUtils.js';import transform from '../transforms/v0.0.13/toolbar-density-to-size.mjs';diff --git a/packages/cli/src/codemods/__tests__/validation.test.mjs b/packages/cli/src/codemods/__tests__/validation.test.mjsindex d9fa2da3ae..13cdc6480f 100644--- a/packages/cli/src/codemods/__tests__/validation.test.mjs+++ b/packages/cli/src/codemods/__tests__/validation.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {validateOutput, fixDirectiveCorruption} from '../runner.mjs';diff --git a/packages/cli/src/codemods/ensure-jscodeshift.mjs b/packages/cli/src/codemods/ensure-jscodeshift.mjsindex cacc879f59..f84f399235 100644--- a/packages/cli/src/codemods/ensure-jscodeshift.mjs+++ b/packages/cli/src/codemods/ensure-jscodeshift.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Lazy jscodeshift installer*diff --git a/packages/cli/src/codemods/registry.mjs b/packages/cli/src/codemods/registry.mjsindex 9812ec5c0c..27797b32e4 100644--- a/packages/cli/src/codemods/registry.mjs+++ b/packages/cli/src/codemods/registry.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod version registry*diff --git a/packages/cli/src/codemods/runner.mjs b/packages/cli/src/codemods/runner.mjsindex c098f19019..a8c8aca67a 100644--- a/packages/cli/src/codemods/runner.mjs+++ b/packages/cli/src/codemods/runner.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod runner*diff --git a/packages/cli/src/codemods/transforms/v0.0.10/__tests__/remove-size-props.test.mjs b/packages/cli/src/codemods/transforms/v0.0.10/__tests__/remove-size-props.test.mjsindex b3f9b554bb..7f8baf2d70 100644--- a/packages/cli/src/codemods/transforms/v0.0.10/__tests__/remove-size-props.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.10/__tests__/remove-size-props.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source, filePath = 'test.tsx') {diff --git a/packages/cli/src/codemods/transforms/v0.0.10/index.mjs b/packages/cli/src/codemods/transforms/v0.0.10/index.mjsindex 672f935cb6..ca174e68b0 100644--- a/packages/cli/src/codemods/transforms/v0.0.10/index.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.10/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file v0.0.10 transform manifest*diff --git a/packages/cli/src/codemods/transforms/v0.0.10/remove-size-props.mjs b/packages/cli/src/codemods/transforms/v0.0.10/remove-size-props.mjsindex 8424df2f6c..b09b7f83ec 100644--- a/packages/cli/src/codemods/transforms/v0.0.10/remove-size-props.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.10/remove-size-props.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Remove size prop from XDSStatusDot and XDSProgressBar* @see https://github.com/facebookexperimental/xds/issues/904diff --git a/packages/cli/src/codemods/transforms/v0.0.12/__tests__/add-is-icon-only.test.mjs b/packages/cli/src/codemods/transforms/v0.0.12/__tests__/add-is-icon-only.test.mjsindex cb267d48ce..e40a5bf2ec 100644--- a/packages/cli/src/codemods/transforms/v0.0.12/__tests__/add-is-icon-only.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.12/__tests__/add-is-icon-only.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source, filePath = 'test.tsx') {diff --git a/packages/cli/src/codemods/transforms/v0.0.12/add-is-icon-only.mjs b/packages/cli/src/codemods/transforms/v0.0.12/add-is-icon-only.mjsindex 37c4f025dd..8d1eb9f06a 100644--- a/packages/cli/src/codemods/transforms/v0.0.12/add-is-icon-only.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.12/add-is-icon-only.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate pre-v0.0.12 icon-only XDSButton to XDSIconButton* @see https://github.com/facebookexperimental/xds/issues/1321diff --git a/packages/cli/src/codemods/transforms/v0.0.12/index.mjs b/packages/cli/src/codemods/transforms/v0.0.12/index.mjsindex 4b6c7561f2..242e1dc50f 100644--- a/packages/cli/src/codemods/transforms/v0.0.12/index.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.12/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file v0.0.12 transform manifest*diff --git a/packages/cli/src/codemods/transforms/v0.0.13/__tests__/icon-name-deprecations.test.mjs b/packages/cli/src/codemods/transforms/v0.0.13/__tests__/icon-name-deprecations.test.mjsindex e4c00377d9..a2052a4a49 100644--- a/packages/cli/src/codemods/transforms/v0.0.13/__tests__/icon-name-deprecations.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.13/__tests__/icon-name-deprecations.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, expect, test} from 'vitest';async function run(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.13/__tests__/rename-attachments-to-drawer.test.mjs b/packages/cli/src/codemods/transforms/v0.0.13/__tests__/rename-attachments-to-drawer.test.mjsindex 55a0c1497b..74583d71f3 100644--- a/packages/cli/src/codemods/transforms/v0.0.13/__tests__/rename-attachments-to-drawer.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.13/__tests__/rename-attachments-to-drawer.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.13/icon-name-deprecations.mjs b/packages/cli/src/codemods/transforms/v0.0.13/icon-name-deprecations.mjsindex ec3da99dfb..a17b49f35a 100644--- a/packages/cli/src/codemods/transforms/v0.0.13/icon-name-deprecations.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.13/icon-name-deprecations.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename icon names to preferred names*diff --git a/packages/cli/src/codemods/transforms/v0.0.13/index.mjs b/packages/cli/src/codemods/transforms/v0.0.13/index.mjsindex 16fb0bbdf9..78f8f2e4d8 100644--- a/packages/cli/src/codemods/transforms/v0.0.13/index.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.13/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file v0.0.13 transform manifest*diff --git a/packages/cli/src/codemods/transforms/v0.0.13/rename-attachments-to-drawer.mjs b/packages/cli/src/codemods/transforms/v0.0.13/rename-attachments-to-drawer.mjsindex 722baf0044..578a93d46e 100644--- a/packages/cli/src/codemods/transforms/v0.0.13/rename-attachments-to-drawer.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.13/rename-attachments-to-drawer.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename XDSChatComposerAttachments → XDSChatComposerDrawer*diff --git a/packages/cli/src/codemods/transforms/v0.0.13/toolbar-density-to-size.mjs b/packages/cli/src/codemods/transforms/v0.0.13/toolbar-density-to-size.mjsindex 0b5d1d1fdd..f6d388e902 100644--- a/packages/cli/src/codemods/transforms/v0.0.13/toolbar-density-to-size.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.13/toolbar-density-to-size.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate XDSToolbar density prop to size prop*diff --git a/packages/cli/src/codemods/transforms/v0.0.14/__tests__/rename-action-props.test.mjs b/packages/cli/src/codemods/transforms/v0.0.14/__tests__/rename-action-props.test.mjsindex d48bc6df04..b24e4345be 100644--- a/packages/cli/src/codemods/transforms/v0.0.14/__tests__/rename-action-props.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.14/__tests__/rename-action-props.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.14/index.mjs b/packages/cli/src/codemods/transforms/v0.0.14/index.mjsindex b7ca07a1a9..c325f62a30 100644--- a/packages/cli/src/codemods/transforms/v0.0.14/index.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.14/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file v0.0.14 transform manifest*diff --git a/packages/cli/src/codemods/transforms/v0.0.14/rename-action-props.mjs b/packages/cli/src/codemods/transforms/v0.0.14/rename-action-props.mjsindex ae8161454c..b5806e1012 100644--- a/packages/cli/src/codemods/transforms/v0.0.14/rename-action-props.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.14/rename-action-props.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename on*Action props to *Action (React 19 Action prop convention)*diff --git a/packages/cli/src/codemods/transforms/v0.0.14/rename-section-wash-to-muted.mjs b/packages/cli/src/codemods/transforms/v0.0.14/rename-section-wash-to-muted.mjsindex d4172712cd..3be618eb85 100644--- a/packages/cli/src/codemods/transforms/v0.0.14/rename-section-wash-to-muted.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.14/rename-section-wash-to-muted.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename Section/Toolbar variant "wash" to "muted"* @see https://github.com/facebookexperimental/xds/pull/2063diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-badge-dot-to-statusdot.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-badge-dot-to-statusdot.test.mjsindex 36139263a4..d41ed5aa5f 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-badge-dot-to-statusdot.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-badge-dot-to-statusdot.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-gap-to-numeric.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-gap-to-numeric.test.mjsindex 27dba37e65..0d9d4b1623 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-gap-to-numeric.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-gap-to-numeric.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-isFullBleed-to-padding.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-isFullBleed-to-padding.test.mjsindex a01a22410f..0b42e8a8ff 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-isFullBleed-to-padding.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-isFullBleed-to-padding.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-useXDSIcon-to-getIcon.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-useXDSIcon-to-getIcon.test.mjsindex f9039f9b94..63c082765e 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-useXDSIcon-to-getIcon.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/migrate-useXDSIcon-to-getIcon.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-banner-endButton-to-endContent.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-banner-endButton-to-endContent.test.mjsindex 5c2b1c554d..4ed2e9d7f3 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-banner-endButton-to-endContent.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-banner-endButton-to-endContent.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-form-tooltip-startIcon.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-form-tooltip-startIcon.test.mjsindex ec1e1312e1..1f65f6b171 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-form-tooltip-startIcon.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-form-tooltip-startIcon.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-isShown-to-isOpen.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-isShown-to-isOpen.test.mjsindex cf281db1ba..263f4b1d86 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-isShown-to-isOpen.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-isShown-to-isOpen.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-selector-items-to-options.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-selector-items-to-options.test.mjsindex 0dfeaf32c2..29674c073f 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-selector-items-to-options.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-selector-items-to-options.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-sidenav-header-to-heading.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-sidenav-header-to-heading.test.mjsindex a9d6cb8b20..8f1e204665 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-sidenav-header-to-heading.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-sidenav-header-to-heading.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-topnav-title-to-heading.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-topnav-title-to-heading.test.mjsindex 48ff3dba01..0f05431844 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-topnav-title-to-heading.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/rename-topnav-title-to-heading.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/unify-uncontrolled-to-defaultX.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/unify-uncontrolled-to-defaultX.test.mjsindex bbd7f6943d..10b05f3e7e 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/unify-uncontrolled-to-defaultX.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/unify-uncontrolled-to-defaultX.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/unify-visibility-to-onOpenChange.test.mjs b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/unify-visibility-to-onOpenChange.test.mjsindex 5135bc8227..2390291588 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/__tests__/unify-visibility-to-onOpenChange.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/__tests__/unify-visibility-to-onOpenChange.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.2/index.mjs b/packages/cli/src/codemods/transforms/v0.0.2/index.mjsindex cc36874a3f..d2b3bacc51 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/index.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file v0.0.2 transform manifest*diff --git a/packages/cli/src/codemods/transforms/v0.0.2/migrate-badge-dot-to-statusdot.mjs b/packages/cli/src/codemods/transforms/v0.0.2/migrate-badge-dot-to-statusdot.mjsindex 1743ce3a21..3376169e91 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/migrate-badge-dot-to-statusdot.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/migrate-badge-dot-to-statusdot.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate Badge dot mode → StatusDot* @see https://github.com/facebookexperimental/xds/pull/945diff --git a/packages/cli/src/codemods/transforms/v0.0.2/migrate-gap-to-numeric.mjs b/packages/cli/src/codemods/transforms/v0.0.2/migrate-gap-to-numeric.mjsindex f969bd12f4..076d7f20e9 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/migrate-gap-to-numeric.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/migrate-gap-to-numeric.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate gap/rowGap/columnGap from string tokens to numeric values*diff --git a/packages/cli/src/codemods/transforms/v0.0.2/migrate-isFullBleed-to-padding.mjs b/packages/cli/src/codemods/transforms/v0.0.2/migrate-isFullBleed-to-padding.mjsindex abd8997c9d..af72a3bb32 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/migrate-isFullBleed-to-padding.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/migrate-isFullBleed-to-padding.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate isFullBleed to padding={0}*diff --git a/packages/cli/src/codemods/transforms/v0.0.2/migrate-useXDSIcon-to-getIcon.mjs b/packages/cli/src/codemods/transforms/v0.0.2/migrate-useXDSIcon-to-getIcon.mjsindex 87ba2bdf55..11d5397b20 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/migrate-useXDSIcon-to-getIcon.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/migrate-useXDSIcon-to-getIcon.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate useXDSIcon → getIcon, remove IconRegistryContext* @see https://github.com/facebookexperimental/xds/pull/531diff --git a/packages/cli/src/codemods/transforms/v0.0.2/rename-banner-endButton-to-endContent.mjs b/packages/cli/src/codemods/transforms/v0.0.2/rename-banner-endButton-to-endContent.mjsindex c171badc8f..7007e2042c 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/rename-banner-endButton-to-endContent.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/rename-banner-endButton-to-endContent.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename XDSBanner endButton to endContent* @see https://github.com/facebookexperimental/xds/pull/437diff --git a/packages/cli/src/codemods/transforms/v0.0.2/rename-form-tooltip-startIcon.mjs b/packages/cli/src/codemods/transforms/v0.0.2/rename-form-tooltip-startIcon.mjsindex 75b45a2c84..59f552ed67 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/rename-form-tooltip-startIcon.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/rename-form-tooltip-startIcon.mjs@@ -1,3 +1,7 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename form field tooltip → labelTooltip, startIcon → labelIcon* @see https://github.com/facebookexperimental/xds/pull/375diff --git a/packages/cli/src/codemods/transforms/v0.0.2/rename-isShown-to-isOpen.mjs b/packages/cli/src/codemods/transforms/v0.0.2/rename-isShown-to-isOpen.mjsindex 80e6366904..8f5e43852f 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/rename-isShown-to-isOpen.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/rename-isShown-to-isOpen.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename `isShown` prop to `isOpen` on Dialog and Popover* @see https://github.com/facebookexperimental/xds/pull/472diff --git a/packages/cli/src/codemods/transforms/v0.0.2/rename-selector-items-to-options.mjs b/packages/cli/src/codemods/transforms/v0.0.2/rename-selector-items-to-options.mjsindex 76ea270a11..fec18a226d 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/rename-selector-items-to-options.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/rename-selector-items-to-options.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename XDSSelector `items` prop to `options`* @see https://github.com/facebookexperimental/xds/pull/479diff --git a/packages/cli/src/codemods/transforms/v0.0.2/rename-sidenav-header-to-heading.mjs b/packages/cli/src/codemods/transforms/v0.0.2/rename-sidenav-header-to-heading.mjsindex 8a9ba2ac23..54e3e2fe84 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/rename-sidenav-header-to-heading.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/rename-sidenav-header-to-heading.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename XDSSideNavHeader → XDSSideNavHeading, rename props* @see https://github.com/facebookexperimental/xds/pull/527diff --git a/packages/cli/src/codemods/transforms/v0.0.2/rename-topnav-title-to-heading.mjs b/packages/cli/src/codemods/transforms/v0.0.2/rename-topnav-title-to-heading.mjsindex fb47664b3e..2d2b5868e1 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/rename-topnav-title-to-heading.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/rename-topnav-title-to-heading.mjs@@ -1,3 +1,7 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename XDSTopNavTitle → XDSTopNavHeading, title → heading* @see https://github.com/facebookexperimental/xds/pull/527diff --git a/packages/cli/src/codemods/transforms/v0.0.2/unify-uncontrolled-to-defaultX.mjs b/packages/cli/src/codemods/transforms/v0.0.2/unify-uncontrolled-to-defaultX.mjsindex 7dfc3b798b..14db22e0ac 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/unify-uncontrolled-to-defaultX.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/unify-uncontrolled-to-defaultX.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename initialX props to defaultX pattern* @see https://github.com/facebookexperimental/xds/pull/470diff --git a/packages/cli/src/codemods/transforms/v0.0.2/unify-visibility-to-onOpenChange.mjs b/packages/cli/src/codemods/transforms/v0.0.2/unify-visibility-to-onOpenChange.mjsindex 9eafae6590..eb1a584628 100644--- a/packages/cli/src/codemods/transforms/v0.0.2/unify-visibility-to-onOpenChange.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.2/unify-visibility-to-onOpenChange.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Unify visibility callbacks to onOpenChange* @see https://github.com/facebookexperimental/xds/pull/473diff --git a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-collapse-to-collapsible.test.mjs b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-collapse-to-collapsible.test.mjsindex 47929b6496..301826ac74 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-collapse-to-collapsible.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-collapse-to-collapsible.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-radius-tokens.test.mjs b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-radius-tokens.test.mjsindex 6d9495e0f8..2e7e49072d 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-radius-tokens.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-radius-tokens.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-shadow-tokens.test.mjs b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-shadow-tokens.test.mjsindex 2a2b8e75d0..72f895b70a 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-shadow-tokens.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-shadow-tokens.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-skeleton-radius.test.mjs b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-skeleton-radius.test.mjsindex c2bbf3f9f8..2c860549f7 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-skeleton-radius.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-skeleton-radius.test.mjs@@ -1,3 +1,7 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-token-names.test.mjs b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-token-names.test.mjsindex 223fd9cb00..bb19972932 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-token-names.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/__tests__/migrate-token-names.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.6/index.mjs b/packages/cli/src/codemods/transforms/v0.0.6/index.mjsindex 26af4a1199..13414e46ad 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/index.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file v0.0.6 transform manifest*/diff --git a/packages/cli/src/codemods/transforms/v0.0.6/migrate-badge-children-to-label.mjs b/packages/cli/src/codemods/transforms/v0.0.6/migrate-badge-children-to-label.mjsindex 89555b4027..2607223c4a 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/migrate-badge-children-to-label.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/migrate-badge-children-to-label.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Codemod: Migrate XDSBadge from children to label prop*diff --git a/packages/cli/src/codemods/transforms/v0.0.6/migrate-collapse-to-collapsible.mjs b/packages/cli/src/codemods/transforms/v0.0.6/migrate-collapse-to-collapsible.mjsindex eeb5f348d1..4ddd00c950 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/migrate-collapse-to-collapsible.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/migrate-collapse-to-collapsible.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate XDSSideNav collapse props to collapsible*diff --git a/packages/cli/src/codemods/transforms/v0.0.6/migrate-radius-tokens.mjs b/packages/cli/src/codemods/transforms/v0.0.6/migrate-radius-tokens.mjsindex ab5367f8c6..9c209e7506 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/migrate-radius-tokens.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/migrate-radius-tokens.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate semantic radius tokens to numeric scale*diff --git a/packages/cli/src/codemods/transforms/v0.0.6/migrate-shadow-tokens.mjs b/packages/cli/src/codemods/transforms/v0.0.6/migrate-shadow-tokens.mjsindex b390aa1f1b..4fff6c3784 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/migrate-shadow-tokens.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/migrate-shadow-tokens.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate elevation tokens to shadow semantic naming*diff --git a/packages/cli/src/codemods/transforms/v0.0.6/migrate-skeleton-radius.mjs b/packages/cli/src/codemods/transforms/v0.0.6/migrate-skeleton-radius.mjsindex 20b0f9d5a7..066b680ce6 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/migrate-skeleton-radius.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/migrate-skeleton-radius.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate XDSSkeleton radius prop to numeric scale*diff --git a/packages/cli/src/codemods/transforms/v0.0.6/migrate-token-names.mjs b/packages/cli/src/codemods/transforms/v0.0.6/migrate-token-names.mjsindex 02e174df63..79bd41e222 100644--- a/packages/cli/src/codemods/transforms/v0.0.6/migrate-token-names.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.6/migrate-token-names.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate renamed design tokens from v0.0.6 naming audit*diff --git a/packages/cli/src/codemods/transforms/v0.0.7/__tests__/rename-banner-variant-to-container.test.mjs b/packages/cli/src/codemods/transforms/v0.0.7/__tests__/rename-banner-variant-to-container.test.mjsindex 6d59e0292d..c74af43b96 100644--- a/packages/cli/src/codemods/transforms/v0.0.7/__tests__/rename-banner-variant-to-container.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.7/__tests__/rename-banner-variant-to-container.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source, filePath = 'test.tsx') {diff --git a/packages/cli/src/codemods/transforms/v0.0.7/index.mjs b/packages/cli/src/codemods/transforms/v0.0.7/index.mjsindex efd59a86d0..0f8ed45c12 100644--- a/packages/cli/src/codemods/transforms/v0.0.7/index.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.7/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file v0.0.7 transform manifest*diff --git a/packages/cli/src/codemods/transforms/v0.0.7/rename-banner-variant-to-container.mjs b/packages/cli/src/codemods/transforms/v0.0.7/rename-banner-variant-to-container.mjsindex 0011eb92c5..5f39aefb3e 100644--- a/packages/cli/src/codemods/transforms/v0.0.7/rename-banner-variant-to-container.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.7/rename-banner-variant-to-container.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename XDSBanner variant to container* @see https://github.com/facebookexperimental/xds/pull/814diff --git a/packages/cli/src/codemods/transforms/v0.0.8/__tests__/migrate-token-renames.test.mjs b/packages/cli/src/codemods/transforms/v0.0.8/__tests__/migrate-token-renames.test.mjsindex 6895480bcc..ba7947bfdf 100644--- a/packages/cli/src/codemods/transforms/v0.0.8/__tests__/migrate-token-renames.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.8/__tests__/migrate-token-renames.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source) {diff --git a/packages/cli/src/codemods/transforms/v0.0.8/__tests__/rename-endslot-to-endcontent.test.mjs b/packages/cli/src/codemods/transforms/v0.0.8/__tests__/rename-endslot-to-endcontent.test.mjsindex e108cf4e4a..f9a6638184 100644--- a/packages/cli/src/codemods/transforms/v0.0.8/__tests__/rename-endslot-to-endcontent.test.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.8/__tests__/rename-endslot-to-endcontent.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';async function applyTransform(source, filePath = 'test.tsx') {diff --git a/packages/cli/src/codemods/transforms/v0.0.8/index.mjs b/packages/cli/src/codemods/transforms/v0.0.8/index.mjsindex 93c85ea52a..a104d9e06d 100644--- a/packages/cli/src/codemods/transforms/v0.0.8/index.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.8/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file v0.0.8 transform manifest*diff --git a/packages/cli/src/codemods/transforms/v0.0.8/migrate-token-renames.mjs b/packages/cli/src/codemods/transforms/v0.0.8/migrate-token-renames.mjsindex b2e5af79fd..792bb1c474 100644--- a/packages/cli/src/codemods/transforms/v0.0.8/migrate-token-renames.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.8/migrate-token-renames.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Migrate v0.0.6 token names to v0.0.8 final names*diff --git a/packages/cli/src/codemods/transforms/v0.0.8/rename-endslot-to-endcontent.mjs b/packages/cli/src/codemods/transforms/v0.0.8/rename-endslot-to-endcontent.mjsindex e6f95fc77f..1d235a3065 100644--- a/packages/cli/src/codemods/transforms/v0.0.8/rename-endslot-to-endcontent.mjs+++ b/packages/cli/src/codemods/transforms/v0.0.8/rename-endslot-to-endcontent.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Codemod: Rename XDSButton endSlot to endContent* @see https://github.com/facebookexperimental/xds/pull/895diff --git a/packages/cli/src/commands/agent-docs.mjs b/packages/cli/src/commands/agent-docs.mjsindex 98bcca6b18..823622fafd 100644--- a/packages/cli/src/commands/agent-docs.mjs+++ b/packages/cli/src/commands/agent-docs.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file agent-docs — Install/update agent docs for AI coding tools*diff --git a/packages/cli/src/commands/agent-docs.test.mjs b/packages/cli/src/commands/agent-docs.test.mjsindex f742624b95..2cdfcf8a17 100644--- a/packages/cli/src/commands/agent-docs.test.mjs+++ b/packages/cli/src/commands/agent-docs.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach, vi} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/commands/build-theme.mjs b/packages/cli/src/commands/build-theme.mjsindex 670eefa284..1710efffc8 100644--- a/packages/cli/src/commands/build-theme.mjs+++ b/packages/cli/src/commands/build-theme.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file theme build command — Compile a defineTheme file to CSS*diff --git a/packages/cli/src/commands/component-package.test.mjs b/packages/cli/src/commands/component-package.test.mjsindex e3a665ed96..4d2470466b 100644--- a/packages/cli/src/commands/component-package.test.mjs+++ b/packages/cli/src/commands/component-package.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/commands/component-resolution.test.mjs b/packages/cli/src/commands/component-resolution.test.mjsindex 8818755e4c..cf60dbe5a6 100644--- a/packages/cli/src/commands/component-resolution.test.mjs+++ b/packages/cli/src/commands/component-resolution.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {component} from '../api/component.mjs';import {findShowcase, findRelatedBlocks} from '../api/template.mjs';diff --git a/packages/cli/src/commands/component.test.mjs b/packages/cli/src/commands/component.test.mjsindex 761692c842..432bb3dba3 100644--- a/packages/cli/src/commands/component.test.mjs+++ b/packages/cli/src/commands/component.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/commands/component/index.mjs b/packages/cli/src/commands/component/index.mjsindex 97285ca6b5..89771221bc 100644--- a/packages/cli/src/commands/component/index.mjs+++ b/packages/cli/src/commands/component/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file component command — List components and print component docs*diff --git a/packages/cli/src/commands/discover.mjs b/packages/cli/src/commands/discover.mjsindex a3aedb136f..ad84db9789 100644--- a/packages/cli/src/commands/discover.mjs+++ b/packages/cli/src/commands/discover.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file discover command — find external XDS packages and components*diff --git a/packages/cli/src/commands/docs.mjs b/packages/cli/src/commands/docs.mjsindex 1ae4a75528..4c6d625de6 100644--- a/packages/cli/src/commands/docs.mjs+++ b/packages/cli/src/commands/docs.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file docs command — Print XDS reference docs*diff --git a/packages/cli/src/commands/docs.test.mjs b/packages/cli/src/commands/docs.test.mjsindex 6798aadf7f..fcbe3c7a35 100644--- a/packages/cli/src/commands/docs.test.mjs+++ b/packages/cli/src/commands/docs.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach, vi} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/commands/external-showcase.test.mjs b/packages/cli/src/commands/external-showcase.test.mjsindex 7d8f6fc9e7..5f6011cb19 100644--- a/packages/cli/src/commands/external-showcase.test.mjs+++ b/packages/cli/src/commands/external-showcase.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/commands/gap-report.mjs b/packages/cli/src/commands/gap-report.mjsindex f52c68eda5..9bd6928a6c 100644--- a/packages/cli/src/commands/gap-report.mjs+++ b/packages/cli/src/commands/gap-report.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file gap-report command — File a gap report for missing XDS capabilities*diff --git a/packages/cli/src/commands/hook/index.mjs b/packages/cli/src/commands/hook/index.mjsindex 0ff365fd79..49d095755a 100644--- a/packages/cli/src/commands/hook/index.mjs+++ b/packages/cli/src/commands/hook/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file hook command — List hooks and print hook docs*diff --git a/packages/cli/src/commands/init.mjs b/packages/cli/src/commands/init.mjsindex f0857646ec..396a3d6a03 100644--- a/packages/cli/src/commands/init.mjs+++ b/packages/cli/src/commands/init.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file init command — Interactive initialization wizard + feature installer*diff --git a/packages/cli/src/commands/swizzle.mjs b/packages/cli/src/commands/swizzle.mjsindex ad6f466404..973e1f5efa 100644--- a/packages/cli/src/commands/swizzle.mjs+++ b/packages/cli/src/commands/swizzle.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file swizzle command — Copy component source for customization*diff --git a/packages/cli/src/commands/swizzle.test.mjs b/packages/cli/src/commands/swizzle.test.mjsindex b6bd4ae206..056a4c466c 100644--- a/packages/cli/src/commands/swizzle.test.mjs+++ b/packages/cli/src/commands/swizzle.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {rewriteImports} from './swizzle.mjs';diff --git a/packages/cli/src/commands/template.mjs b/packages/cli/src/commands/template.mjsindex 38c40d7705..28f1ceabdd 100644--- a/packages/cli/src/commands/template.mjs+++ b/packages/cli/src/commands/template.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file template command — thin CLI wrapper around api/template.mjs*/diff --git a/packages/cli/src/commands/template.test.mjs b/packages/cli/src/commands/template.test.mjsindex e0c99bbcb9..44c826b72c 100644--- a/packages/cli/src/commands/template.test.mjs+++ b/packages/cli/src/commands/template.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach, vi} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/commands/theme.mjs b/packages/cli/src/commands/theme.mjsindex 2333fe27bd..c15a17b4e0 100644--- a/packages/cli/src/commands/theme.mjs+++ b/packages/cli/src/commands/theme.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file theme command — Scaffold and apply XDS themes*diff --git a/packages/cli/src/commands/theme.test.mjs b/packages/cli/src/commands/theme.test.mjsindex 595dcd0b5b..83474f4a8e 100644--- a/packages/cli/src/commands/theme.test.mjs+++ b/packages/cli/src/commands/theme.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/commands/upgrade.mjs b/packages/cli/src/commands/upgrade.mjsindex 66008d5bda..964131870e 100644--- a/packages/cli/src/commands/upgrade.mjs+++ b/packages/cli/src/commands/upgrade.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file upgrade command — Full version-to-version upgrade pipeline*diff --git a/packages/cli/src/index.mjs b/packages/cli/src/index.mjsindex b834416b77..659c51665e 100644--- a/packages/cli/src/index.mjs+++ b/packages/cli/src/index.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDS CLI — Commander program setup*diff --git a/packages/cli/src/lib/component-discovery.mjs b/packages/cli/src/lib/component-discovery.mjsindex 43ba29c8b4..5f59403fca 100644--- a/packages/cli/src/lib/component-discovery.mjs+++ b/packages/cli/src/lib/component-discovery.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Component discovery — find, list, and resolve XDS components*/diff --git a/packages/cli/src/lib/component-format.mjs b/packages/cli/src/lib/component-format.mjsindex a0e9c08b7b..2fd9521e55 100644--- a/packages/cli/src/lib/component-format.mjs+++ b/packages/cli/src/lib/component-format.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Component doc formatting — render ComponentDoc objects to text*/diff --git a/packages/cli/src/lib/component-loader.mjs b/packages/cli/src/lib/component-loader.mjsindex 3da4a5fc5c..672b8d39b9 100644--- a/packages/cli/src/lib/component-loader.mjs+++ b/packages/cli/src/lib/component-loader.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Component doc loader — load and merge translations*/diff --git a/packages/cli/src/lib/config.mjs b/packages/cli/src/lib/config.mjsindex 78e251192f..26b04e2283 100644--- a/packages/cli/src/lib/config.mjs+++ b/packages/cli/src/lib/config.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Config loader — reads xds.config.mjs from project root*diff --git a/packages/cli/src/lib/hook-discovery.mjs b/packages/cli/src/lib/hook-discovery.mjsindex f187c103ab..61cc152407 100644--- a/packages/cli/src/lib/hook-discovery.mjs+++ b/packages/cli/src/lib/hook-discovery.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Hook discovery — find, list, and resolve XDS hooks*/diff --git a/packages/cli/src/lib/hook-format.mjs b/packages/cli/src/lib/hook-format.mjsindex d0ffaed0d7..92ad6c9c0d 100644--- a/packages/cli/src/lib/hook-format.mjs+++ b/packages/cli/src/lib/hook-format.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Hook doc formatting — render HookDoc objects to text*diff --git a/packages/cli/src/lib/json.mjs b/packages/cli/src/lib/json.mjsindex 918c41ada8..f64e07ecae 100644--- a/packages/cli/src/lib/json.mjs+++ b/packages/cli/src/lib/json.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Internal JSON output helpers for CLI commands.*diff --git a/packages/cli/src/lib/package-scanner.mjs b/packages/cli/src/lib/package-scanner.mjsindex 646a2a5a1f..186f942d02 100644--- a/packages/cli/src/lib/package-scanner.mjs+++ b/packages/cli/src/lib/package-scanner.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Package scanner for config-based discovery*/diff --git a/packages/cli/src/lib/parse.mjs b/packages/cli/src/lib/parse.mjsindex 2f9b483842..7555d1433d 100644--- a/packages/cli/src/lib/parse.mjs+++ b/packages/cli/src/lib/parse.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Consumer utilities for parsing XDS CLI JSON output.*diff --git a/packages/cli/src/lib/resolve-theme.mjs b/packages/cli/src/lib/resolve-theme.mjsindex 012bf3808d..fb1a0f4d22 100644--- a/packages/cli/src/lib/resolve-theme.mjs+++ b/packages/cli/src/lib/resolve-theme.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Theme resolution — resolve a theme from config or environment*diff --git a/packages/cli/src/lib/string-utils.mjs b/packages/cli/src/lib/string-utils.mjsindex 1eef79c2be..cd5ac271d4 100644--- a/packages/cli/src/lib/string-utils.mjs+++ b/packages/cli/src/lib/string-utils.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file String utilities — fuzzy matching and semantic search for component names*/diff --git a/packages/cli/src/types/api.d.ts b/packages/cli/src/types/api.d.tsindex 3e4ffadbd9..2618a112ed 100644--- a/packages/cli/src/types/api.d.ts+++ b/packages/cli/src/types/api.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Programmatic API types for @xds/cli/api.*diff --git a/packages/cli/src/types/base.d.ts b/packages/cli/src/types/base.d.tsindex 3bab11054a..c5858812d6 100644--- a/packages/cli/src/types/base.d.ts+++ b/packages/cli/src/types/base.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Shared types for the XDS CLI JSON API.*diff --git a/packages/cli/src/types/component.d.ts b/packages/cli/src/types/component.d.tsindex fb661fc35b..426d722151 100644--- a/packages/cli/src/types/component.d.ts+++ b/packages/cli/src/types/component.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Component command JSON responses.*diff --git a/packages/cli/src/types/discover.d.ts b/packages/cli/src/types/discover.d.tsindex 6fdc2915db..05ef92c72c 100644--- a/packages/cli/src/types/discover.d.ts+++ b/packages/cli/src/types/discover.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Discover command JSON responses.*diff --git a/packages/cli/src/types/docs.d.ts b/packages/cli/src/types/docs.d.tsindex b152eff814..60f34228f0 100644--- a/packages/cli/src/types/docs.d.ts+++ b/packages/cli/src/types/docs.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Docs command JSON responses.*diff --git a/packages/cli/src/types/gap-report.d.ts b/packages/cli/src/types/gap-report.d.tsindex 276cb3c7ac..f9438ce4d6 100644--- a/packages/cli/src/types/gap-report.d.ts+++ b/packages/cli/src/types/gap-report.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Gap-report command JSON responses.*diff --git a/packages/cli/src/types/index.d.ts b/packages/cli/src/types/index.d.tsindex ef62ec54bd..829788df1c 100644--- a/packages/cli/src/types/index.d.ts+++ b/packages/cli/src/types/index.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export * from './base';export * from './component';export * from './discover';diff --git a/packages/cli/src/types/swizzle.d.ts b/packages/cli/src/types/swizzle.d.tsindex 8cc4f49ab9..abe701ddc7 100644--- a/packages/cli/src/types/swizzle.d.ts+++ b/packages/cli/src/types/swizzle.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Swizzle command JSON responses.*diff --git a/packages/cli/src/types/template.d.ts b/packages/cli/src/types/template.d.tsindex cf913f6175..af3673a359 100644--- a/packages/cli/src/types/template.d.ts+++ b/packages/cli/src/types/template.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Template command JSON responses.*diff --git a/packages/cli/src/types/theme.d.ts b/packages/cli/src/types/theme.d.tsindex 74c346edb5..61b231770d 100644--- a/packages/cli/src/types/theme.d.ts+++ b/packages/cli/src/types/theme.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Theme build command JSON responses.*diff --git a/packages/cli/src/types/upgrade.d.ts b/packages/cli/src/types/upgrade.d.tsindex ddda0a9242..97e8ddd7db 100644--- a/packages/cli/src/types/upgrade.d.ts+++ b/packages/cli/src/types/upgrade.d.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Upgrade command JSON responses.*diff --git a/packages/cli/src/utils/github.mjs b/packages/cli/src/utils/github.mjsindex 3f5f984fc0..e068f75ac3 100644--- a/packages/cli/src/utils/github.mjs+++ b/packages/cli/src/utils/github.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file GitHub utilities for XDS CLI*diff --git a/packages/cli/src/utils/package-manager.mjs b/packages/cli/src/utils/package-manager.mjsindex 8407302842..56ad337bdc 100644--- a/packages/cli/src/utils/package-manager.mjs+++ b/packages/cli/src/utils/package-manager.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Detect the project's package manager from lockfiles.*diff --git a/packages/cli/src/utils/package-manager.test.mjs b/packages/cli/src/utils/package-manager.test.mjsindex 5461fd71b3..d46379d8e3 100644--- a/packages/cli/src/utils/package-manager.test.mjs+++ b/packages/cli/src/utils/package-manager.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, afterEach, vi} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/utils/paths.mjs b/packages/cli/src/utils/paths.mjsindex c8a47d9316..80b42ff3b5 100644--- a/packages/cli/src/utils/paths.mjs+++ b/packages/cli/src/utils/paths.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Path resolution utilities for XDS CLI*diff --git a/packages/cli/src/utils/paths.test.mjs b/packages/cli/src/utils/paths.test.mjsindex e82c0a03c0..5726c4e389 100644--- a/packages/cli/src/utils/paths.test.mjs+++ b/packages/cli/src/utils/paths.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/src/utils/update-check.mjs b/packages/cli/src/utils/update-check.mjsindex 5024eb2117..6c4c062cb3 100644--- a/packages/cli/src/utils/update-check.mjs+++ b/packages/cli/src/utils/update-check.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Check for newer @xds/core versions via local signals.*diff --git a/packages/cli/src/utils/update-check.test.mjs b/packages/cli/src/utils/update-check.test.mjsindex 5853a9259c..e8844643ae 100644--- a/packages/cli/src/utils/update-check.test.mjs+++ b/packages/cli/src/utils/update-check.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach, afterEach} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';diff --git a/packages/cli/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.doc.mjs b/packages/cli/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.doc.mjsindex 0422b7611f..aebbfcc63f 100644--- a/packages/cli/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.doc.mjs+++ b/packages/cli/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.tsx b/packages/cli/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.tsxindex 0be002479a..3d0e47aa06 100644--- a/packages/cli/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.tsx+++ b/packages/cli/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.doc.mjs b/packages/cli/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.doc.mjsindex 727239b87f..bb5fe7f4e8 100644--- a/packages/cli/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.doc.mjs+++ b/packages/cli/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.tsx b/packages/cli/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.tsxindex 421165c537..1b5967929c 100644--- a/packages/cli/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.tsx+++ b/packages/cli/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellContentOnly.doc.mjs b/packages/cli/templates/blocks/components/AppShell/AppShellContentOnly.doc.mjsindex 6c8cb75bb3..33b4d36bf4 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellContentOnly.doc.mjs+++ b/packages/cli/templates/blocks/components/AppShell/AppShellContentOnly.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellContentOnly.tsx b/packages/cli/templates/blocks/components/AppShell/AppShellContentOnly.tsxindex dedfa91ad0..8ed9c567b8 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellContentOnly.tsx+++ b/packages/cli/templates/blocks/components/AppShell/AppShellContentOnly.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellShowcase.doc.mjs b/packages/cli/templates/blocks/components/AppShell/AppShellShowcase.doc.mjsindex 76a301d28e..4e1dfc07b0 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/AppShell/AppShellShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellShowcase.tsx b/packages/cli/templates/blocks/components/AppShell/AppShellShowcase.tsxindex 68cea0e2a7..2e39344022 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellShowcase.tsx+++ b/packages/cli/templates/blocks/components/AppShell/AppShellShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellSideNavOnly.doc.mjs b/packages/cli/templates/blocks/components/AppShell/AppShellSideNavOnly.doc.mjsindex 1469cc308a..88e4323150 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellSideNavOnly.doc.mjs+++ b/packages/cli/templates/blocks/components/AppShell/AppShellSideNavOnly.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellSideNavOnly.tsx b/packages/cli/templates/blocks/components/AppShell/AppShellSideNavOnly.tsxindex 32d4396684..1453aee237 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellSideNavOnly.tsx+++ b/packages/cli/templates/blocks/components/AppShell/AppShellSideNavOnly.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellTopNavOnly.doc.mjs b/packages/cli/templates/blocks/components/AppShell/AppShellTopNavOnly.doc.mjsindex 91abe4f673..11c7bda0dd 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellTopNavOnly.doc.mjs+++ b/packages/cli/templates/blocks/components/AppShell/AppShellTopNavOnly.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellTopNavOnly.tsx b/packages/cli/templates/blocks/components/AppShell/AppShellTopNavOnly.tsxindex 210093d88f..1032036432 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellTopNavOnly.tsx+++ b/packages/cli/templates/blocks/components/AppShell/AppShellTopNavOnly.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.doc.mjs b/packages/cli/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.doc.mjsindex 371e33ecfc..fb00d17236 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.doc.mjs+++ b/packages/cli/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.tsx b/packages/cli/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.tsxindex 842ea992a6..0d81d656ba 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.tsx+++ b/packages/cli/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellWithBanner.doc.mjs b/packages/cli/templates/blocks/components/AppShell/AppShellWithBanner.doc.mjsindex cd73d3d5d5..d0a740e1e7 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellWithBanner.doc.mjs+++ b/packages/cli/templates/blocks/components/AppShell/AppShellWithBanner.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AppShell/AppShellWithBanner.tsx b/packages/cli/templates/blocks/components/AppShell/AppShellWithBanner.tsxindex d7d2331a64..60aa967cb9 100644--- a/packages/cli/templates/blocks/components/AppShell/AppShellWithBanner.tsx+++ b/packages/cli/templates/blocks/components/AppShell/AppShellWithBanner.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioImageGallery.doc.mjs b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioImageGallery.doc.mjsindex 7e7598fa3a..3d321685aa 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioImageGallery.doc.mjs+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioImageGallery.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsxindex d30dabcb15..a6e5437de8 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAspectRatio} from '@xds/core/AspectRatio';diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioShowcase.doc.mjs b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioShowcase.doc.mjsindex e9d71f972e..a340964e34 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsx b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsxindex 1c1092be17..52cfc37fb3 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsx+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioSquareImage.doc.mjs b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioSquareImage.doc.mjsindex f292583660..d03a723a77 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioSquareImage.doc.mjs+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioSquareImage.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsx b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsxindex d4c3e49f74..8f421bc2aa 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsx+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAspectRatio} from '@xds/core/AspectRatio';diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWidescreen.doc.mjs b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWidescreen.doc.mjsindex c281017179..3f9c3f8f04 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWidescreen.doc.mjs+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWidescreen.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsxindex e2154391b7..8db9f0b835 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAspectRatio} from '@xds/core/AspectRatio';diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.doc.mjs b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.doc.mjsindex 4343531f7c..af61bbb742 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.doc.mjs+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.tsx b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.tsxindex 0adc0663a6..cd5f1f8714 100644--- a/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.tsx+++ b/packages/cli/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAspectRatio} from '@xds/core/AspectRatio';diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarFallbackChain.doc.mjs b/packages/cli/templates/blocks/components/Avatar/AvatarFallbackChain.doc.mjsindex 3576f1bffb..05e45bfcc9 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarFallbackChain.doc.mjs+++ b/packages/cli/templates/blocks/components/Avatar/AvatarFallbackChain.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarFallbackChain.tsx b/packages/cli/templates/blocks/components/Avatar/AvatarFallbackChain.tsxindex 25f68c0f8f..5358028459 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarFallbackChain.tsx+++ b/packages/cli/templates/blocks/components/Avatar/AvatarFallbackChain.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAvatar} from '@xds/core/Avatar';diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarGroup.doc.mjs b/packages/cli/templates/blocks/components/Avatar/AvatarGroup.doc.mjsindex a984d10144..9c603ebd5f 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarGroup.doc.mjs+++ b/packages/cli/templates/blocks/components/Avatar/AvatarGroup.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarGroup.tsx b/packages/cli/templates/blocks/components/Avatar/AvatarGroup.tsxindex 043b6098bb..4c6d577828 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarGroup.tsx+++ b/packages/cli/templates/blocks/components/Avatar/AvatarGroup.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAvatar} from '@xds/core/Avatar';diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarInitialsFallback.doc.mjs b/packages/cli/templates/blocks/components/Avatar/AvatarInitialsFallback.doc.mjsindex 128d12fc63..62ee0be975 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarInitialsFallback.doc.mjs+++ b/packages/cli/templates/blocks/components/Avatar/AvatarInitialsFallback.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarInitialsFallback.tsx b/packages/cli/templates/blocks/components/Avatar/AvatarInitialsFallback.tsxindex be253d1409..1330339238 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarInitialsFallback.tsx+++ b/packages/cli/templates/blocks/components/Avatar/AvatarInitialsFallback.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAvatar} from '@xds/core/Avatar';diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarShowcase.doc.mjs b/packages/cli/templates/blocks/components/Avatar/AvatarShowcase.doc.mjsindex f855006a33..c7cbd7c9e9 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Avatar/AvatarShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarShowcase.tsx b/packages/cli/templates/blocks/components/Avatar/AvatarShowcase.tsxindex b629ae4ead..3280a9a37c 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarShowcase.tsx+++ b/packages/cli/templates/blocks/components/Avatar/AvatarShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAvatar, XDSAvatarStatusDot} from '@xds/core/Avatar';diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarUserCard.doc.mjs b/packages/cli/templates/blocks/components/Avatar/AvatarUserCard.doc.mjsindex 49b36134bb..211a1c4494 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarUserCard.doc.mjs+++ b/packages/cli/templates/blocks/components/Avatar/AvatarUserCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarUserCard.tsx b/packages/cli/templates/blocks/components/Avatar/AvatarUserCard.tsxindex d88b2d0b0a..24a980d94d 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarUserCard.tsx+++ b/packages/cli/templates/blocks/components/Avatar/AvatarUserCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAvatar, XDSAvatarStatusDot} from '@xds/core/Avatar';diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarWithImage.doc.mjs b/packages/cli/templates/blocks/components/Avatar/AvatarWithImage.doc.mjsindex bf461af46a..870e39b641 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarWithImage.doc.mjs+++ b/packages/cli/templates/blocks/components/Avatar/AvatarWithImage.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarWithImage.tsx b/packages/cli/templates/blocks/components/Avatar/AvatarWithImage.tsxindex 903007645b..c50357edef 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarWithImage.tsx+++ b/packages/cli/templates/blocks/components/Avatar/AvatarWithImage.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAvatar} from '@xds/core/Avatar';diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarWithStatus.doc.mjs b/packages/cli/templates/blocks/components/Avatar/AvatarWithStatus.doc.mjsindex a0beecefa6..e1c4fddd3b 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarWithStatus.doc.mjs+++ b/packages/cli/templates/blocks/components/Avatar/AvatarWithStatus.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Avatar/AvatarWithStatus.tsx b/packages/cli/templates/blocks/components/Avatar/AvatarWithStatus.tsxindex 34d0ebb163..1759ef6340 100644--- a/packages/cli/templates/blocks/components/Avatar/AvatarWithStatus.tsx+++ b/packages/cli/templates/blocks/components/Avatar/AvatarWithStatus.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAvatar, XDSAvatarStatusDot} from '@xds/core/Avatar';diff --git a/packages/cli/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.doc.mjs b/packages/cli/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.doc.mjsindex e96909188c..b79024b48c 100644--- a/packages/cli/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.tsx b/packages/cli/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.tsxindex 8a12bd95d3..3c9f08a387 100644--- a/packages/cli/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.tsx+++ b/packages/cli/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAvatar, XDSAvatarStatusDot} from '@xds/core/Avatar';diff --git a/packages/cli/templates/blocks/components/Badge/BadgeCategoryTags.doc.mjs b/packages/cli/templates/blocks/components/Badge/BadgeCategoryTags.doc.mjsindex f3fc6191c3..d97ab54d6a 100644--- a/packages/cli/templates/blocks/components/Badge/BadgeCategoryTags.doc.mjs+++ b/packages/cli/templates/blocks/components/Badge/BadgeCategoryTags.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Badge/BadgeCategoryTags.tsx b/packages/cli/templates/blocks/components/Badge/BadgeCategoryTags.tsxindex 0aee91e8a3..33623ebbd8 100644--- a/packages/cli/templates/blocks/components/Badge/BadgeCategoryTags.tsx+++ b/packages/cli/templates/blocks/components/Badge/BadgeCategoryTags.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBadge} from '@xds/core/Badge';diff --git a/packages/cli/templates/blocks/components/Badge/BadgeCountBadges.doc.mjs b/packages/cli/templates/blocks/components/Badge/BadgeCountBadges.doc.mjsindex 440f1a490b..28dee4e137 100644--- a/packages/cli/templates/blocks/components/Badge/BadgeCountBadges.doc.mjs+++ b/packages/cli/templates/blocks/components/Badge/BadgeCountBadges.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Badge/BadgeCountBadges.tsx b/packages/cli/templates/blocks/components/Badge/BadgeCountBadges.tsxindex b5aa3c3b29..810ac4b123 100644--- a/packages/cli/templates/blocks/components/Badge/BadgeCountBadges.tsx+++ b/packages/cli/templates/blocks/components/Badge/BadgeCountBadges.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBadge} from '@xds/core/Badge';diff --git a/packages/cli/templates/blocks/components/Badge/BadgeShowcase.doc.mjs b/packages/cli/templates/blocks/components/Badge/BadgeShowcase.doc.mjsindex 3aa6b527bb..7c0ea3472c 100644--- a/packages/cli/templates/blocks/components/Badge/BadgeShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Badge/BadgeShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Badge/BadgeShowcase.tsx b/packages/cli/templates/blocks/components/Badge/BadgeShowcase.tsxindex 1c73c8c4fe..08cadb2741 100644--- a/packages/cli/templates/blocks/components/Badge/BadgeShowcase.tsx+++ b/packages/cli/templates/blocks/components/Badge/BadgeShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBadge} from '@xds/core/Badge';diff --git a/packages/cli/templates/blocks/components/Badge/BadgeStatusLabels.doc.mjs b/packages/cli/templates/blocks/components/Badge/BadgeStatusLabels.doc.mjsindex a067f99b3e..1047023041 100644--- a/packages/cli/templates/blocks/components/Badge/BadgeStatusLabels.doc.mjs+++ b/packages/cli/templates/blocks/components/Badge/BadgeStatusLabels.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Badge/BadgeStatusLabels.tsx b/packages/cli/templates/blocks/components/Badge/BadgeStatusLabels.tsxindex 01a4b94fa0..2488f27bc0 100644--- a/packages/cli/templates/blocks/components/Badge/BadgeStatusLabels.tsx+++ b/packages/cli/templates/blocks/components/Badge/BadgeStatusLabels.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBadge} from '@xds/core/Badge';diff --git a/packages/cli/templates/blocks/components/Banner/BannerCollapsibleContent.doc.mjs b/packages/cli/templates/blocks/components/Banner/BannerCollapsibleContent.doc.mjsindex e94d659826..63131f76f3 100644--- a/packages/cli/templates/blocks/components/Banner/BannerCollapsibleContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Banner/BannerCollapsibleContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Banner/BannerCollapsibleContent.tsx b/packages/cli/templates/blocks/components/Banner/BannerCollapsibleContent.tsxindex 895a097769..ca1d79513c 100644--- a/packages/cli/templates/blocks/components/Banner/BannerCollapsibleContent.tsx+++ b/packages/cli/templates/blocks/components/Banner/BannerCollapsibleContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBanner} from '@xds/core/Banner';diff --git a/packages/cli/templates/blocks/components/Banner/BannerDismissable.doc.mjs b/packages/cli/templates/blocks/components/Banner/BannerDismissable.doc.mjsindex 84a6fa4f84..a1e271665f 100644--- a/packages/cli/templates/blocks/components/Banner/BannerDismissable.doc.mjs+++ b/packages/cli/templates/blocks/components/Banner/BannerDismissable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Banner/BannerDismissable.tsx b/packages/cli/templates/blocks/components/Banner/BannerDismissable.tsxindex a75b2003ec..27be7e4add 100644--- a/packages/cli/templates/blocks/components/Banner/BannerDismissable.tsx+++ b/packages/cli/templates/blocks/components/Banner/BannerDismissable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBanner} from '@xds/core/Banner';diff --git a/packages/cli/templates/blocks/components/Banner/BannerSectionVariant.doc.mjs b/packages/cli/templates/blocks/components/Banner/BannerSectionVariant.doc.mjsindex a052fa32bc..639e1c2581 100644--- a/packages/cli/templates/blocks/components/Banner/BannerSectionVariant.doc.mjs+++ b/packages/cli/templates/blocks/components/Banner/BannerSectionVariant.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Banner/BannerSectionVariant.tsx b/packages/cli/templates/blocks/components/Banner/BannerSectionVariant.tsxindex b934c988eb..cf1d5675d9 100644--- a/packages/cli/templates/blocks/components/Banner/BannerSectionVariant.tsx+++ b/packages/cli/templates/blocks/components/Banner/BannerSectionVariant.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBanner} from '@xds/core/Banner';diff --git a/packages/cli/templates/blocks/components/Banner/BannerShowcase.doc.mjs b/packages/cli/templates/blocks/components/Banner/BannerShowcase.doc.mjsindex 52550cb329..39e92255a2 100644--- a/packages/cli/templates/blocks/components/Banner/BannerShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Banner/BannerShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Banner/BannerShowcase.tsx b/packages/cli/templates/blocks/components/Banner/BannerShowcase.tsxindex 1a9b047d7e..848d591ad1 100644--- a/packages/cli/templates/blocks/components/Banner/BannerShowcase.tsx+++ b/packages/cli/templates/blocks/components/Banner/BannerShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBanner} from '@xds/core/Banner';diff --git a/packages/cli/templates/blocks/components/Banner/BannerStatuses.doc.mjs b/packages/cli/templates/blocks/components/Banner/BannerStatuses.doc.mjsindex b5dbbb31a9..a9cb4f0e4c 100644--- a/packages/cli/templates/blocks/components/Banner/BannerStatuses.doc.mjs+++ b/packages/cli/templates/blocks/components/Banner/BannerStatuses.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Banner/BannerStatuses.tsx b/packages/cli/templates/blocks/components/Banner/BannerStatuses.tsxindex 3d41979e20..866b525e95 100644--- a/packages/cli/templates/blocks/components/Banner/BannerStatuses.tsx+++ b/packages/cli/templates/blocks/components/Banner/BannerStatuses.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBanner} from '@xds/core/Banner';diff --git a/packages/cli/templates/blocks/components/Banner/BannerWithActionButton.doc.mjs b/packages/cli/templates/blocks/components/Banner/BannerWithActionButton.doc.mjsindex 8366e1c58a..872d888447 100644--- a/packages/cli/templates/blocks/components/Banner/BannerWithActionButton.doc.mjs+++ b/packages/cli/templates/blocks/components/Banner/BannerWithActionButton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Banner/BannerWithActionButton.tsx b/packages/cli/templates/blocks/components/Banner/BannerWithActionButton.tsxindex 8844588452..f1ee8c9a86 100644--- a/packages/cli/templates/blocks/components/Banner/BannerWithActionButton.tsx+++ b/packages/cli/templates/blocks/components/Banner/BannerWithActionButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBanner} from '@xds/core/Banner';diff --git a/packages/cli/templates/blocks/components/Blockquote/BlockquoteShowcase.doc.mjs b/packages/cli/templates/blocks/components/Blockquote/BlockquoteShowcase.doc.mjsindex ec92c77b08..d16bde0133 100644--- a/packages/cli/templates/blocks/components/Blockquote/BlockquoteShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Blockquote/BlockquoteShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Blockquote/BlockquoteShowcase.tsx b/packages/cli/templates/blocks/components/Blockquote/BlockquoteShowcase.tsxindex 469ec750fb..c636fe812e 100644--- a/packages/cli/templates/blocks/components/Blockquote/BlockquoteShowcase.tsx+++ b/packages/cli/templates/blocks/components/Blockquote/BlockquoteShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBlockquote} from '@xds/core/Blockquote';diff --git a/packages/cli/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.doc.mjsindex 27c7b6b738..a604aa452e 100644--- a/packages/cli/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.tsx b/packages/cli/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.tsxindex cb4f96fe38..08217023a1 100644--- a/packages/cli/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ComponentProps} from 'react';diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.doc.mjs b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.doc.mjsindex cf40721b69..d969439d2c 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.doc.mjs+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.tsx b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.tsxindex 07875ff2a8..1cc1a6a4cb 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.tsx+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBreadcrumbs, XDSBreadcrumbItem} from '@xds/core/Breadcrumbs';diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.doc.mjs b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.doc.mjsindex 7166c3aa58..b412fc3452 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.doc.mjs+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.tsx b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.tsxindex cc86b6ec1e..40410b7610 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.tsx+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBreadcrumbs, XDSBreadcrumbItem} from '@xds/core/Breadcrumbs';diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.doc.mjs b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.doc.mjsindex 612001a8c9..88e62f97c6 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.tsx b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.tsxindex b332fb8058..9e744e0136 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.tsx+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBreadcrumbs, XDSBreadcrumbItem} from '@xds/core/Breadcrumbs';diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.doc.mjs b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.doc.mjsindex 3f8d7d0523..fec1671ff3 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.doc.mjs+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.tsx b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.tsxindex 89a67cb2be..00d9ed527b 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.tsx+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBreadcrumbs, XDSBreadcrumbItem} from '@xds/core/Breadcrumbs';diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.doc.mjs b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.doc.mjsindex fa11b53f73..6d091971c1 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.doc.mjs+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.tsx b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.tsxindex 40806411e8..5c8e85e70c 100644--- a/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.tsx+++ b/packages/cli/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSBreadcrumbs, XDSBreadcrumbItem} from '@xds/core/Breadcrumbs';diff --git a/packages/cli/templates/blocks/components/Button/ButtonShowcase.doc.mjs b/packages/cli/templates/blocks/components/Button/ButtonShowcase.doc.mjsindex 2785765e3f..d6f12e3177 100644--- a/packages/cli/templates/blocks/components/Button/ButtonShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Button/ButtonShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Button/ButtonShowcase.tsx b/packages/cli/templates/blocks/components/Button/ButtonShowcase.tsxindex c583ca0aae..b96cb50652 100644--- a/packages/cli/templates/blocks/components/Button/ButtonShowcase.tsx+++ b/packages/cli/templates/blocks/components/Button/ButtonShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSButton} from '@xds/core/Button';diff --git a/packages/cli/templates/blocks/components/Button/ButtonSizeVariants.doc.mjs b/packages/cli/templates/blocks/components/Button/ButtonSizeVariants.doc.mjsindex 23318ff371..7468b1bcd2 100644--- a/packages/cli/templates/blocks/components/Button/ButtonSizeVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/Button/ButtonSizeVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Button/ButtonSizeVariants.tsx b/packages/cli/templates/blocks/components/Button/ButtonSizeVariants.tsxindex c73c744d82..b08f8cea77 100644--- a/packages/cli/templates/blocks/components/Button/ButtonSizeVariants.tsx+++ b/packages/cli/templates/blocks/components/Button/ButtonSizeVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSButton} from '@xds/core/Button';diff --git a/packages/cli/templates/blocks/components/Button/ButtonVariants.doc.mjs b/packages/cli/templates/blocks/components/Button/ButtonVariants.doc.mjsindex 1e4310cfc9..b2cb4d09dc 100644--- a/packages/cli/templates/blocks/components/Button/ButtonVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/Button/ButtonVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Button/ButtonVariants.tsx b/packages/cli/templates/blocks/components/Button/ButtonVariants.tsxindex 00e4742ff0..e6b389bcfe 100644--- a/packages/cli/templates/blocks/components/Button/ButtonVariants.tsx+++ b/packages/cli/templates/blocks/components/Button/ButtonVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSButton} from '@xds/core/Button';diff --git a/packages/cli/templates/blocks/components/Button/ButtonWithEndSlot.doc.mjs b/packages/cli/templates/blocks/components/Button/ButtonWithEndSlot.doc.mjsindex 54cf25526d..96b83cf999 100644--- a/packages/cli/templates/blocks/components/Button/ButtonWithEndSlot.doc.mjs+++ b/packages/cli/templates/blocks/components/Button/ButtonWithEndSlot.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Button/ButtonWithEndSlot.tsx b/packages/cli/templates/blocks/components/Button/ButtonWithEndSlot.tsxindex 2d70f47bc9..8794166787 100644--- a/packages/cli/templates/blocks/components/Button/ButtonWithEndSlot.tsx+++ b/packages/cli/templates/blocks/components/Button/ButtonWithEndSlot.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSButton} from '@xds/core/Button';diff --git a/packages/cli/templates/blocks/components/Button/ButtonWithIcon.doc.mjs b/packages/cli/templates/blocks/components/Button/ButtonWithIcon.doc.mjsindex 85161275bc..585aad6466 100644--- a/packages/cli/templates/blocks/components/Button/ButtonWithIcon.doc.mjs+++ b/packages/cli/templates/blocks/components/Button/ButtonWithIcon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Button/ButtonWithIcon.tsx b/packages/cli/templates/blocks/components/Button/ButtonWithIcon.tsxindex 897e790cd6..9a3e3a1f34 100644--- a/packages/cli/templates/blocks/components/Button/ButtonWithIcon.tsx+++ b/packages/cli/templates/blocks/components/Button/ButtonWithIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSButton} from '@xds/core/Button';diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarConstraints.doc.mjs b/packages/cli/templates/blocks/components/Calendar/CalendarConstraints.doc.mjsindex be84e76b2e..a9b908a2be 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarConstraints.doc.mjs+++ b/packages/cli/templates/blocks/components/Calendar/CalendarConstraints.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarConstraints.tsx b/packages/cli/templates/blocks/components/Calendar/CalendarConstraints.tsxindex 1fbdfe7176..c0bccbe892 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarConstraints.tsx+++ b/packages/cli/templates/blocks/components/Calendar/CalendarConstraints.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarRangeWithValue.doc.mjs b/packages/cli/templates/blocks/components/Calendar/CalendarRangeWithValue.doc.mjsindex 670977c0d9..7016901ff4 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarRangeWithValue.doc.mjs+++ b/packages/cli/templates/blocks/components/Calendar/CalendarRangeWithValue.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarRangeWithValue.tsx b/packages/cli/templates/blocks/components/Calendar/CalendarRangeWithValue.tsxindex 3fb50efcf6..39370d9c96 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarRangeWithValue.tsx+++ b/packages/cli/templates/blocks/components/Calendar/CalendarRangeWithValue.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarShowcase.doc.mjs b/packages/cli/templates/blocks/components/Calendar/CalendarShowcase.doc.mjsindex 07dd6866fa..6aeace63a6 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Calendar/CalendarShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarShowcase.tsx b/packages/cli/templates/blocks/components/Calendar/CalendarShowcase.tsxindex 1c4c63a242..d1fa92edcf 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarShowcase.tsx+++ b/packages/cli/templates/blocks/components/Calendar/CalendarShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarSingle.doc.mjs b/packages/cli/templates/blocks/components/Calendar/CalendarSingle.doc.mjsindex 2537f7c46d..bcb675349c 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarSingle.doc.mjs+++ b/packages/cli/templates/blocks/components/Calendar/CalendarSingle.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarSingle.tsx b/packages/cli/templates/blocks/components/Calendar/CalendarSingle.tsxindex c3f58d954b..99bb187918 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarSingle.tsx+++ b/packages/cli/templates/blocks/components/Calendar/CalendarSingle.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarTwoMonths.doc.mjs b/packages/cli/templates/blocks/components/Calendar/CalendarTwoMonths.doc.mjsindex 6bafac3a70..49aa553b87 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarTwoMonths.doc.mjs+++ b/packages/cli/templates/blocks/components/Calendar/CalendarTwoMonths.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Calendar/CalendarTwoMonths.tsx b/packages/cli/templates/blocks/components/Calendar/CalendarTwoMonths.tsxindex 253782ffb1..3c877b91fd 100644--- a/packages/cli/templates/blocks/components/Calendar/CalendarTwoMonths.tsx+++ b/packages/cli/templates/blocks/components/Calendar/CalendarTwoMonths.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Card/CardCallout.doc.mjs b/packages/cli/templates/blocks/components/Card/CardCallout.doc.mjsindex af779891d0..b3f18e260b 100644--- a/packages/cli/templates/blocks/components/Card/CardCallout.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/CardCallout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/CardCallout.tsx b/packages/cli/templates/blocks/components/Card/CardCallout.tsxindex db42eb7492..672354447e 100644--- a/packages/cli/templates/blocks/components/Card/CardCallout.tsx+++ b/packages/cli/templates/blocks/components/Card/CardCallout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCard} from '@xds/core/Card';diff --git a/packages/cli/templates/blocks/components/Card/CardShowcase.doc.mjs b/packages/cli/templates/blocks/components/Card/CardShowcase.doc.mjsindex 6ccbb7d019..dc1bb5e1cf 100644--- a/packages/cli/templates/blocks/components/Card/CardShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/CardShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/CardShowcase.tsx b/packages/cli/templates/blocks/components/Card/CardShowcase.tsxindex 4363fcbc51..34adb0f16b 100644--- a/packages/cli/templates/blocks/components/Card/CardShowcase.tsx+++ b/packages/cli/templates/blocks/components/Card/CardShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCard} from '@xds/core/Card';diff --git a/packages/cli/templates/blocks/components/Card/CardVariants.doc.mjs b/packages/cli/templates/blocks/components/Card/CardVariants.doc.mjsindex cf4097a1dc..1ce54aab66 100644--- a/packages/cli/templates/blocks/components/Card/CardVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/CardVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/CardVariants.tsx b/packages/cli/templates/blocks/components/Card/CardVariants.tsxindex 6cc4037677..94abc99e67 100644--- a/packages/cli/templates/blocks/components/Card/CardVariants.tsx+++ b/packages/cli/templates/blocks/components/Card/CardVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCard} from '@xds/core/Card';diff --git a/packages/cli/templates/blocks/components/Card/CardWithInnerLayout.doc.mjs b/packages/cli/templates/blocks/components/Card/CardWithInnerLayout.doc.mjsindex 992e5437e3..c8802bbd0d 100644--- a/packages/cli/templates/blocks/components/Card/CardWithInnerLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/CardWithInnerLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/CardWithInnerLayout.tsx b/packages/cli/templates/blocks/components/Card/CardWithInnerLayout.tsxindex 074070a180..140f73e4df 100644--- a/packages/cli/templates/blocks/components/Card/CardWithInnerLayout.tsx+++ b/packages/cli/templates/blocks/components/Card/CardWithInnerLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCard} from '@xds/core/Card';diff --git a/packages/cli/templates/blocks/components/Card/CardWithSimpleContent.doc.mjs b/packages/cli/templates/blocks/components/Card/CardWithSimpleContent.doc.mjsindex 62d82e043e..db4802db28 100644--- a/packages/cli/templates/blocks/components/Card/CardWithSimpleContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/CardWithSimpleContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/CardWithSimpleContent.tsx b/packages/cli/templates/blocks/components/Card/CardWithSimpleContent.tsxindex 612bdfcfb8..1f0f669094 100644--- a/packages/cli/templates/blocks/components/Card/CardWithSimpleContent.tsx+++ b/packages/cli/templates/blocks/components/Card/CardWithSimpleContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCard} from '@xds/core/Card';diff --git a/packages/cli/templates/blocks/components/Card/ClickableCardShowcase.doc.mjs b/packages/cli/templates/blocks/components/Card/ClickableCardShowcase.doc.mjsindex fea3ea02bf..10f0e2a04c 100644--- a/packages/cli/templates/blocks/components/Card/ClickableCardShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/ClickableCardShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/ClickableCardShowcase.tsx b/packages/cli/templates/blocks/components/Card/ClickableCardShowcase.tsxindex e04559d9ad..7a74f2429f 100644--- a/packages/cli/templates/blocks/components/Card/ClickableCardShowcase.tsx+++ b/packages/cli/templates/blocks/components/Card/ClickableCardShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSClickableCard} from '@xds/core/ClickableCard';diff --git a/packages/cli/templates/blocks/components/Card/ClickableCardWithNestedButton.doc.mjs b/packages/cli/templates/blocks/components/Card/ClickableCardWithNestedButton.doc.mjsindex 6bd232d23e..b12bb13f9b 100644--- a/packages/cli/templates/blocks/components/Card/ClickableCardWithNestedButton.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/ClickableCardWithNestedButton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/ClickableCardWithNestedButton.tsx b/packages/cli/templates/blocks/components/Card/ClickableCardWithNestedButton.tsxindex 4e03eb5e67..3916180d3e 100644--- a/packages/cli/templates/blocks/components/Card/ClickableCardWithNestedButton.tsx+++ b/packages/cli/templates/blocks/components/Card/ClickableCardWithNestedButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSClickableCard} from '@xds/core/ClickableCard';diff --git a/packages/cli/templates/blocks/components/Card/SelectableCardMulti.doc.mjs b/packages/cli/templates/blocks/components/Card/SelectableCardMulti.doc.mjsindex e55696e9ee..7f742fd46f 100644--- a/packages/cli/templates/blocks/components/Card/SelectableCardMulti.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/SelectableCardMulti.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/SelectableCardMulti.tsx b/packages/cli/templates/blocks/components/Card/SelectableCardMulti.tsxindex c977f659b3..764c801c4e 100644--- a/packages/cli/templates/blocks/components/Card/SelectableCardMulti.tsx+++ b/packages/cli/templates/blocks/components/Card/SelectableCardMulti.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Card/SelectableCardShowcase.doc.mjs b/packages/cli/templates/blocks/components/Card/SelectableCardShowcase.doc.mjsindex ddcda307c2..8c47920c58 100644--- a/packages/cli/templates/blocks/components/Card/SelectableCardShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Card/SelectableCardShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Card/SelectableCardShowcase.tsx b/packages/cli/templates/blocks/components/Card/SelectableCardShowcase.tsxindex cb997d1af7..b35786a330 100644--- a/packages/cli/templates/blocks/components/Card/SelectableCardShowcase.tsx+++ b/packages/cli/templates/blocks/components/Card/SelectableCardShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Carousel/CarouselCards.doc.mjs b/packages/cli/templates/blocks/components/Carousel/CarouselCards.doc.mjsindex f723151cd1..e661f34868 100644--- a/packages/cli/templates/blocks/components/Carousel/CarouselCards.doc.mjs+++ b/packages/cli/templates/blocks/components/Carousel/CarouselCards.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Carousel/CarouselCards.tsx b/packages/cli/templates/blocks/components/Carousel/CarouselCards.tsxindex cb33509e10..e68f5d6ce1 100644--- a/packages/cli/templates/blocks/components/Carousel/CarouselCards.tsx+++ b/packages/cli/templates/blocks/components/Carousel/CarouselCards.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCarousel} from '@xds/core/Carousel';diff --git a/packages/cli/templates/blocks/components/Carousel/CarouselShowcase.doc.mjs b/packages/cli/templates/blocks/components/Carousel/CarouselShowcase.doc.mjsindex 5d03ee10fc..5966edda4f 100644--- a/packages/cli/templates/blocks/components/Carousel/CarouselShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Carousel/CarouselShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Carousel/CarouselShowcase.tsx b/packages/cli/templates/blocks/components/Carousel/CarouselShowcase.tsxindex 68592ce3d7..cc8bda9a5a 100644--- a/packages/cli/templates/blocks/components/Carousel/CarouselShowcase.tsx+++ b/packages/cli/templates/blocks/components/Carousel/CarouselShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCarousel} from '@xds/core/Carousel';diff --git a/packages/cli/templates/blocks/components/Carousel/CarouselSnap.doc.mjs b/packages/cli/templates/blocks/components/Carousel/CarouselSnap.doc.mjsindex c2e1e4cb02..007c84087f 100644--- a/packages/cli/templates/blocks/components/Carousel/CarouselSnap.doc.mjs+++ b/packages/cli/templates/blocks/components/Carousel/CarouselSnap.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Carousel/CarouselSnap.tsx b/packages/cli/templates/blocks/components/Carousel/CarouselSnap.tsxindex 856fe6c112..4816f1fe4e 100644--- a/packages/cli/templates/blocks/components/Carousel/CarouselSnap.tsx+++ b/packages/cli/templates/blocks/components/Carousel/CarouselSnap.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCarousel} from '@xds/core/Carousel';diff --git a/packages/cli/templates/blocks/components/Center/CenterHorizontal.doc.mjs b/packages/cli/templates/blocks/components/Center/CenterHorizontal.doc.mjsindex fa6cf67479..04b1f747f3 100644--- a/packages/cli/templates/blocks/components/Center/CenterHorizontal.doc.mjs+++ b/packages/cli/templates/blocks/components/Center/CenterHorizontal.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Center/CenterHorizontal.tsx b/packages/cli/templates/blocks/components/Center/CenterHorizontal.tsxindex 389d2f090f..e8d11b0aa8 100644--- a/packages/cli/templates/blocks/components/Center/CenterHorizontal.tsx+++ b/packages/cli/templates/blocks/components/Center/CenterHorizontal.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCard} from '@xds/core/Card';diff --git a/packages/cli/templates/blocks/components/Center/CenterInsideACard.doc.mjs b/packages/cli/templates/blocks/components/Center/CenterInsideACard.doc.mjsindex 0783f2c2a1..e355a53af6 100644--- a/packages/cli/templates/blocks/components/Center/CenterInsideACard.doc.mjs+++ b/packages/cli/templates/blocks/components/Center/CenterInsideACard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Center/CenterInsideACard.tsx b/packages/cli/templates/blocks/components/Center/CenterInsideACard.tsxindex 14b376c432..edfe4467f3 100644--- a/packages/cli/templates/blocks/components/Center/CenterInsideACard.tsx+++ b/packages/cli/templates/blocks/components/Center/CenterInsideACard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCenter} from '@xds/core/Center';diff --git a/packages/cli/templates/blocks/components/Center/CenterShowcase.doc.mjs b/packages/cli/templates/blocks/components/Center/CenterShowcase.doc.mjsindex 4df73a23ec..073c16ee78 100644--- a/packages/cli/templates/blocks/components/Center/CenterShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Center/CenterShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Center/CenterShowcase.tsx b/packages/cli/templates/blocks/components/Center/CenterShowcase.tsxindex 8a8e01254e..2e4f952849 100644--- a/packages/cli/templates/blocks/components/Center/CenterShowcase.tsx+++ b/packages/cli/templates/blocks/components/Center/CenterShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCenter} from '@xds/core/Center';diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerAttachments.doc.mjs b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerAttachments.doc.mjsindex c1ae083972..221a8b5009 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerAttachments.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerAttachments.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerAttachments.tsx b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerAttachments.tsxindex 9036ed7954..cafb395531 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerAttachments.tsx+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerAttachments.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer, XDSChatComposerDrawer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFooterActions.doc.mjs b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFooterActions.doc.mjsindex 0c5403c538..e9be3f6915 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFooterActions.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFooterActions.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFooterActions.tsx b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFooterActions.tsxindex ce726099cf..05a18bb764 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFooterActions.tsx+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFooterActions.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.doc.mjs b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.doc.mjsindex 0019909bf9..8dc91cb2fb 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.tsx b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.tsxindex 262a32481f..fbe5e1a834 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.tsx+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerShowcase.doc.mjsindex cde0baccd4..eeca8e01ba 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerShowcase.tsx b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerShowcase.tsxindex b4386e0000..6736e2c393 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerSimple.doc.mjs b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerSimple.doc.mjsindex 8fa2a379f3..b93707f8ea 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerSimple.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerSimple.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerSimple.tsx b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerSimple.tsxindex 79462a749c..76ad758185 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerSimple.tsx+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerSimple.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerStreaming.doc.mjs b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerStreaming.doc.mjsindex 8a6d71768a..030b04ad29 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerStreaming.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerStreaming.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerStreaming.tsx b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerStreaming.tsxindex 42a9dfb5aa..0861a12820 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerStreaming.tsx+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerStreaming.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerValidation.doc.mjs b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerValidation.doc.mjsindex f875021e1e..acb8ddda63 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerValidation.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerValidation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerValidation.tsx b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerValidation.tsxindex 432a9d40c8..c166863406 100644--- a/packages/cli/templates/blocks/components/ChatComposer/ChatComposerValidation.tsx+++ b/packages/cli/templates/blocks/components/ChatComposer/ChatComposerValidation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.doc.mjsindex 7d126d0cb5..07c73311e8 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsx b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsxindex be19c936c3..b0868e1b5e 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer, XDSChatComposerDrawer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.doc.mjsindex 4a1684bc70..f0049111e9 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.tsx b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.tsxindex 6c887f9425..a0ce3a00da 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer, XDSChatComposerDrawer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.doc.mjsindex d054e65d9b..862d1a63d9 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.tsx b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.tsxindex e93e8a1bc6..fa6436e49a 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.doc.mjsindex 93b48278ff..bc1b1b08a5 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.tsx b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.tsxindex 8b30f4dc2a..ca6ef6d6df 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer, XDSChatComposerDrawer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.doc.mjsindex 82b3a35cec..e76eec3683 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.tsx b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.tsxindex 95aa28765b..6fd01d41e5 100644--- a/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer, XDSChatComposerDrawer} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.doc.mjsindex aae1fd6745..7a30e26dbd 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.tsx b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.tsxindex eb119bc1eb..0d26e21804 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.doc.mjsindex f4f5725d96..97c91f121d 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.tsx b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.tsxindex f2816f2d9e..eb1d7c4304 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer, XDSChatComposerInput} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.doc.mjsindex ed7f97a462..3042dae496 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.tsx b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.tsxindex a3eb458d5d..b66789b59d 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.doc.mjsindex cb6f2cc831..7b083c6bd0 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.tsx b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.tsxindex cc209a1d2b..59d67468d3 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.doc.mjsindex a3ad382fb4..68d160cca8 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.tsx b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.tsxindex fd81230344..794c954705 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatComposer, XDSChatComposerInput} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.doc.mjs b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.doc.mjsindex 4e124e4c43..2bac1e6654 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.tsx b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.tsxindex 236fc4ed74..3ad365b9c5 100644--- a/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.tsx+++ b/packages/cli/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.doc.mjs b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.doc.mjsindex 7d0e0e29ef..70b5540af3 100644--- a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.tsx b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.tsxindex 44cf81bbdd..5b202d4b4d 100644--- a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.tsx+++ b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationStates.doc.mjs b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationStates.doc.mjsindex a0ca8474c3..a3ffe9ac01 100644--- a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationStates.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationStates.tsx b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationStates.tsxindex dd545c51da..cec1b1039f 100644--- a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationStates.tsx+++ b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationDictationStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatDictationButton} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationSizes.doc.mjs b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationSizes.doc.mjsindex 83280e7918..32e0915e8d 100644--- a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationSizes.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationSizes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationSizes.tsx b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationSizes.tsxindex cdfba13fc3..0fb78f6041 100644--- a/packages/cli/templates/blocks/components/ChatDictation/ChatDictationSizes.tsx+++ b/packages/cli/templates/blocks/components/ChatDictation/ChatDictationSizes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatDictationButton} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.doc.mjsindex f2df13c26e..3c423c5a99 100644--- a/packages/cli/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.tsx b/packages/cli/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.tsxindex d8826d66c7..148c188e7b 100644--- a/packages/cli/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useRef} from 'react';diff --git a/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.doc.mjs b/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.doc.mjsindex 44874a2415..d0f1e2cb4f 100644--- a/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.tsx b/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.tsxindex 59d353855d..9537d0a9c3 100644--- a/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.tsx+++ b/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutShowcase.doc.mjsindex 4a837ec879..22498acf36 100644--- a/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutShowcase.tsx b/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutShowcase.tsxindex 9b05c3e83e..00d9e6db34 100644--- a/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatLayout/ChatLayoutShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.doc.mjs b/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.doc.mjsindex c814341000..6de2a1eb00 100644--- a/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.tsx b/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.tsxindex 1d89f92765..d6d0a6b3f4 100644--- a/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.tsx+++ b/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatLayoutScrollButton} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.doc.mjs b/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.doc.mjsindex b5321ba5ff..52d1c5694a 100644--- a/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.tsx b/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.tsxindex 64a98a0c72..d082b57c6e 100644--- a/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.tsx+++ b/packages/cli/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatLayoutScrollButton} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageAvatarName.doc.mjs b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageAvatarName.doc.mjsindex 94b4a68c87..9287d108a8 100644--- a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageAvatarName.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageAvatarName.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageAvatarName.tsx b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageAvatarName.tsxindex 848568e466..c33fbf14ab 100644--- a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageAvatarName.tsx+++ b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageAvatarName.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageGhost.doc.mjs b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageGhost.doc.mjsindex e252d12682..f7a73d784c 100644--- a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageGhost.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageGhost.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageGhost.tsx b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageGhost.tsxindex e4f217a4c2..d807949552 100644--- a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageGhost.tsx+++ b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageGhost.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.doc.mjs b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.doc.mjsindex f56f9f0dfd..82fa15cd5c 100644--- a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.tsx b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.tsxindex 54a4b0c6e8..8e918abc59 100644--- a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.tsx+++ b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageShowcase.doc.mjsindex 50fe506c81..8ad060e1e0 100644--- a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageShowcase.tsx b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageShowcase.tsxindex 14c26bcde4..37340f215c 100644--- a/packages/cli/templates/blocks/components/ChatMessage/ChatMessageShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatMessage/ChatMessageShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.doc.mjsindex 0ed97d7393..3c72282a55 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.tsx b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.tsxindex 220f296cb7..1d55ead273 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.doc.mjsindex 51df0c1859..85e2b79e04 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.tsx b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.tsxindex 292e60ed07..607fdd13dc 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.doc.mjsindex 40232af07e..9f91aac31e 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.tsx b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.tsxindex 84a28ff30b..923a79f433 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.doc.mjsindex 6a24727579..b00c2d8cfb 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.tsx b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.tsxindex 98fa7f2ec8..e9c9102d7c 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.doc.mjsindex 4813f093c7..cf1e5fe3a2 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.tsx b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.tsxindex dc191a2352..dc548a06b8 100644--- a/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListDensity.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListDensity.doc.mjsindex 3a8d1a506a..12630014cc 100644--- a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListDensity.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListDensity.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListDensity.tsx b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListDensity.tsxindex e41cfd08f3..1d6b0a6554 100644--- a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListDensity.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListDensity.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.doc.mjsindex 1576635185..8881a2077b 100644--- a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.tsx b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.tsxindex 49b76c13e8..d3e45ed946 100644--- a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.doc.mjsindex 9b7f680cae..864b9c0567 100644--- a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.tsx b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.tsxindex 44210c9f03..4ce27b5e68 100644--- a/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.doc.mjsindex 45c2fcb5cf..2435f662ec 100644--- a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.tsx b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.tsxindex e93a88520f..d4af63bbf5 100644--- a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.doc.mjsindex e86bfcd64d..e0d7b05d10 100644--- a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.tsx b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.tsxindex b2c7ac5d91..abc8d90919 100644--- a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.doc.mjsindex d17d7acb93..2c427d41e8 100644--- a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.tsx b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.tsxindex f3fca61100..9687791f56 100644--- a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.doc.mjs b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.doc.mjsindex 7092af2498..5498d37a68 100644--- a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.tsx b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.tsxindex 28e7f27fdb..07c31e47f8 100644--- a/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.tsx+++ b/packages/cli/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.doc.mjs b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.doc.mjsindex e91af51548..ded2af0c46 100644--- a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.tsx b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.tsxindex 1258da0927..3e4b5e1dd7 100644--- a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.tsx+++ b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatSendButton} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.doc.mjs b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.doc.mjsindex 601add25e0..fdafc44712 100644--- a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.tsx b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.tsxindex 659eb24a42..4856e7ba50 100644--- a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.tsx+++ b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.doc.mjsindex 31634344c6..9e335f8633 100644--- a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.tsx b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.tsxindex 8a91836dc8..15818ecde7 100644--- a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatSendButton} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonStates.doc.mjs b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonStates.doc.mjsindex 3933199add..70a6f7c353 100644--- a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonStates.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonStates.tsx b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonStates.tsxindex 4e11893333..13ca15f092 100644--- a/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonStates.tsx+++ b/packages/cli/templates/blocks/components/ChatSendButton/ChatSendButtonStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatSendButton} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.doc.mjsindex 1990bcfacf..1d530a67cf 100644--- a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.tsx b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.tsxindex f081820641..82271ab4e6 100644--- a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatMessageList, XDSChatSystemMessage} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.doc.mjs b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.doc.mjsindex d835983aa0..c5468a2bf6 100644--- a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.tsx b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.tsxindex 5d58096a2b..60210be996 100644--- a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.tsx+++ b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatMessageList, XDSChatSystemMessage} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.doc.mjs b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.doc.mjsindex fb94ca51d0..0eb67c83d9 100644--- a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.tsx b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.tsxindex 6c49adb2d0..25203aef99 100644--- a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.tsx+++ b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatMessageList, XDSChatSystemMessage} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.doc.mjs b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.doc.mjsindex 51196358ae..3d833635cb 100644--- a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.tsx b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.tsxindex 87df3103c2..66f5fc234f 100644--- a/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.tsx+++ b/packages/cli/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatMessageList, XDSChatSystemMessage} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.doc.mjs b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.doc.mjsindex d1246bc3c4..a7b00bf6ee 100644--- a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.tsx b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.tsxindex 3c3e4bb817..6ca4a72783 100644--- a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.tsx+++ b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.doc.mjs b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.doc.mjsindex e29df55a07..1456915d59 100644--- a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.tsx b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.tsxindex 6e75294a23..40c55d43b8 100644--- a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.tsx+++ b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.doc.mjsindex 334c741f3f..4b268c8870 100644--- a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.tsx b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.tsxindex 63aa887c6c..81327134bb 100644--- a/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.doc.mjs b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.doc.mjsindex 05fd858700..aa7d922aa6 100644--- a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.tsx b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.tsxindex e44e5c1c08..97bf0eb2ff 100644--- a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.tsx+++ b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatToolCalls} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.doc.mjs b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.doc.mjsindex 11b0ac9ae7..afa9dae69b 100644--- a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.tsx b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.tsxindex 88c68e54d7..518dfbe371 100644--- a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.tsx+++ b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatToolCalls} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.doc.mjs b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.doc.mjsindex 1ca85d4fbf..b2f6bb8c14 100644--- a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.tsx b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.tsxindex 792ea87e3b..bc52107ab8 100644--- a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.tsx+++ b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatToolCalls} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.doc.mjs b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.doc.mjsindex c29d4afe0d..89d1ea216e 100644--- a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.doc.mjs+++ b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.tsx b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.tsxindex 8730d7ff9e..0971e5c49f 100644--- a/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.tsx+++ b/packages/cli/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSChatToolCalls} from '@xds/core/Chat';diff --git a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputBasic.doc.mjs b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputBasic.doc.mjsindex ebf7be644f..844eb99ac1 100644--- a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputBasic.doc.mjs+++ b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputBasic.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputBasic.tsx b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputBasic.tsxindex dc1503fee7..c4ff6907ac 100644--- a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputBasic.tsx+++ b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputBasic.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.doc.mjs b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.doc.mjsindex 604c41202d..5a8925f125 100644--- a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.doc.mjs+++ b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.tsx b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.tsxindex 4687770355..4e3bd20e04 100644--- a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.tsx+++ b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.doc.mjs b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.doc.mjsindex 253823e7bc..6115cedecf 100644--- a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.tsx b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.tsxindex 09293b2917..856ea3efcd 100644--- a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.tsx+++ b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.doc.mjs b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.doc.mjsindex cb9a278519..f980eb3f58 100644--- a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.doc.mjs+++ b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.tsx b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.tsxindex a477faa197..42c06be1b0 100644--- a/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.tsx+++ b/packages/cli/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.doc.mjs b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.doc.mjsindex 50b6963de6..f7ace7e0db 100644--- a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.doc.mjs+++ b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.tsx b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.tsxindex a15d818a80..6471f9c6af 100644--- a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.tsx+++ b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListShowcase.doc.mjs b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListShowcase.doc.mjsindex c7b6e4e965..f27d719de4 100644--- a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListShowcase.tsx b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListShowcase.tsxindex c6f478c327..f3da52fcf3 100644--- a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListShowcase.tsx+++ b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.doc.mjs b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.doc.mjsindex 6ef8585a3f..5c9c2602e5 100644--- a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.doc.mjs+++ b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.tsx b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.tsxindex 5966966b21..e7cc3c965a 100644--- a/packages/cli/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.tsx+++ b/packages/cli/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.doc.mjsindex fd5d1e16f2..07ba86f352 100644--- a/packages/cli/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.tsx b/packages/cli/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.tsxindex eacfca4e57..6ca00c4f5c 100644--- a/packages/cli/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Code/CodeAcrossTextSizes.doc.mjs b/packages/cli/templates/blocks/components/Code/CodeAcrossTextSizes.doc.mjsindex c0d9c809a6..031669c4be 100644--- a/packages/cli/templates/blocks/components/Code/CodeAcrossTextSizes.doc.mjs+++ b/packages/cli/templates/blocks/components/Code/CodeAcrossTextSizes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Code/CodeAcrossTextSizes.tsx b/packages/cli/templates/blocks/components/Code/CodeAcrossTextSizes.tsxindex 9580328272..f0f03d172f 100644--- a/packages/cli/templates/blocks/components/Code/CodeAcrossTextSizes.tsx+++ b/packages/cli/templates/blocks/components/Code/CodeAcrossTextSizes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCode} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/Code/CodeInlineInParagraph.doc.mjs b/packages/cli/templates/blocks/components/Code/CodeInlineInParagraph.doc.mjsindex 7fc56598df..1f12cc947d 100644--- a/packages/cli/templates/blocks/components/Code/CodeInlineInParagraph.doc.mjs+++ b/packages/cli/templates/blocks/components/Code/CodeInlineInParagraph.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Code/CodeInlineInParagraph.tsx b/packages/cli/templates/blocks/components/Code/CodeInlineInParagraph.tsxindex bf723ace8b..bfa67fb8c4 100644--- a/packages/cli/templates/blocks/components/Code/CodeInlineInParagraph.tsx+++ b/packages/cli/templates/blocks/components/Code/CodeInlineInParagraph.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCode} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/Code/CodeShowcase.doc.mjs b/packages/cli/templates/blocks/components/Code/CodeShowcase.doc.mjsindex a30202bd13..9caf2f4bea 100644--- a/packages/cli/templates/blocks/components/Code/CodeShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Code/CodeShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Code/CodeShowcase.tsx b/packages/cli/templates/blocks/components/Code/CodeShowcase.tsxindex b3dad3411a..1077c2bc04 100644--- a/packages/cli/templates/blocks/components/Code/CodeShowcase.tsx+++ b/packages/cli/templates/blocks/components/Code/CodeShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCode} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/Code/CodeVariousContent.doc.mjs b/packages/cli/templates/blocks/components/Code/CodeVariousContent.doc.mjsindex caf76ca58e..df72c7f005 100644--- a/packages/cli/templates/blocks/components/Code/CodeVariousContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Code/CodeVariousContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Code/CodeVariousContent.tsx b/packages/cli/templates/blocks/components/Code/CodeVariousContent.tsxindex 56ebd7658c..18187fab4a 100644--- a/packages/cli/templates/blocks/components/Code/CodeVariousContent.tsx+++ b/packages/cli/templates/blocks/components/Code/CodeVariousContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCode} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockBashCommand.doc.mjs b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockBashCommand.doc.mjsindex 1b03b260cb..1702c7f3ca 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockBashCommand.doc.mjs+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockBashCommand.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockBashCommand.tsx b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockBashCommand.tsxindex 8c25899617..2d95d94e78 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockBashCommand.tsx+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockBashCommand.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCodeBlock} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.doc.mjs b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.doc.mjsindex b2f0f7c924..7c1a2340b1 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.doc.mjs+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.tsx b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.tsxindex 5c3e76d424..353d609ef9 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.tsx+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCodeBlock} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.doc.mjs b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.doc.mjsindex 30eb797ab3..a5d6d2f9cd 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.doc.mjs+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.tsx b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.tsxindex 1904182eff..67352984b9 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.tsx+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCodeBlock} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.doc.mjs b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.doc.mjsindex bec809e1fe..271eab6d42 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.doc.mjs+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.tsx b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.tsxindex cec35484ed..a0103459fa 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.tsx+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCodeBlock} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockShowcase.doc.mjs b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockShowcase.doc.mjsindex dee3e727b0..f1da57e4f9 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockShowcase.tsx b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockShowcase.tsxindex 5e503a6af8..5b765d9783 100644--- a/packages/cli/templates/blocks/components/CodeBlock/CodeBlockShowcase.tsx+++ b/packages/cli/templates/blocks/components/CodeBlock/CodeBlockShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCodeBlock} from '@xds/core/CodeBlock';diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.doc.mjs b/packages/cli/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.doc.mjsindex 6eeafa6a91..b0ea5cc007 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.doc.mjs+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.tsx b/packages/cli/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.tsxindex ac626f4eb8..33676b8048 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.tsx+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.doc.mjs b/packages/cli/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.doc.mjsindex 9a80f46a42..79c1b176f5 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.doc.mjs+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.tsx b/packages/cli/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.tsxindex d3d753a515..5747721781 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.tsx+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCollapsible, XDSCollapsibleGroup} from '@xds/core/Collapsible';diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleShowcase.doc.mjs b/packages/cli/templates/blocks/components/Collapsible/CollapsibleShowcase.doc.mjsindex e123e2ac3b..7294eb0228 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleShowcase.tsx b/packages/cli/templates/blocks/components/Collapsible/CollapsibleShowcase.tsxindex 7ce4f8e997..4948cec2d4 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleShowcase.tsx+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCollapsible, XDSCollapsibleGroup} from '@xds/core/Collapsible';diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.doc.mjs b/packages/cli/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.doc.mjsindex 24b02c46ca..8a6d83096b 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.doc.mjs+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.tsx b/packages/cli/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.tsxindex d87006f2eb..cbce70c209 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.tsx+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCollapsible, XDSCollapsibleGroup} from '@xds/core/Collapsible';diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.doc.mjs b/packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.doc.mjsindex 3ede1352ed..6d7613ebe9 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.doc.mjs+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.tsx b/packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.tsxindex 6bb66a8d6f..d6ad2df445 100644--- a/packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.tsx+++ b/packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCollapsible} from '@xds/core/Collapsible';diff --git a/packages/cli/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.doc.mjs b/packages/cli/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.doc.mjsindex d3c3279e1c..659d86f90c 100644--- a/packages/cli/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.tsx b/packages/cli/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.tsxindex 9cbf73b3cf..62adcab2c5 100644--- a/packages/cli/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.tsx+++ b/packages/cli/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCollapsible, XDSCollapsibleGroup} from '@xds/core/Collapsible';diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.doc.mjs b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.doc.mjsindex 53921619b6..7a80f48856 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.tsx b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.tsxindex a949c78bcc..196b24d083 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.tsx+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.doc.mjs b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.doc.mjsindex 3a7be22aaa..3a21f2e178 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.tsx b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.tsxindex a181aa8162..23319883be 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.tsx+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.doc.mjs b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.doc.mjsindex bc79ec35a4..e67d7699c6 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.tsx b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.tsxindex bb00f02e89..693df9793c 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.tsx+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPalettePickerMode.doc.mjs b/packages/cli/templates/blocks/components/CommandPalette/CommandPalettePickerMode.doc.mjsindex 924fd52fe3..ac0f37501d 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPalettePickerMode.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPalettePickerMode.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPalettePickerMode.tsx b/packages/cli/templates/blocks/components/CommandPalette/CommandPalettePickerMode.tsxindex 9eb38fd86e..52314dc463 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPalettePickerMode.tsx+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPalettePickerMode.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteRichItems.doc.mjs b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteRichItems.doc.mjsindex cd500ed8b8..48be4792b9 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteRichItems.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteRichItems.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteRichItems.tsx b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteRichItems.tsxindex d77fff2103..078a3a8cda 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteRichItems.tsx+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteRichItems.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteShowcase.doc.mjs b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteShowcase.doc.mjsindex aca0949bcb..39ed7e8f73 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteShowcase.tsx b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteShowcase.tsxindex 6c07244798..ac27fd7250 100644--- a/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteShowcase.tsx+++ b/packages/cli/templates/blocks/components/CommandPalette/CommandPaletteShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.doc.mjs b/packages/cli/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.doc.mjsindex 45b5f08573..3103043bea 100644--- a/packages/cli/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.tsx b/packages/cli/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.tsxindex fa47a2acd0..28ccd1aafd 100644--- a/packages/cli/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.tsx+++ b/packages/cli/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.doc.mjs b/packages/cli/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.doc.mjsindex a1a084fd93..bf742b93d0 100644--- a/packages/cli/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.tsx b/packages/cli/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.tsxindex 049db7c3c7..fdaac54f1c 100644--- a/packages/cli/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.tsx+++ b/packages/cli/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.doc.mjsindex 0af7f22202..64d9b05087 100644--- a/packages/cli/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.tsx b/packages/cli/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.tsxindex 74614034dc..f24886f93a 100644--- a/packages/cli/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputClearable.doc.mjs b/packages/cli/templates/blocks/components/DateInput/DateInputClearable.doc.mjsindex ca04891c4b..1a70cc4719 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputClearable.doc.mjs+++ b/packages/cli/templates/blocks/components/DateInput/DateInputClearable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputClearable.tsx b/packages/cli/templates/blocks/components/DateInput/DateInputClearable.tsxindex 6e1c06aef9..da8f6dd074 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputClearable.tsx+++ b/packages/cli/templates/blocks/components/DateInput/DateInputClearable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputDateRange.doc.mjs b/packages/cli/templates/blocks/components/DateInput/DateInputDateRange.doc.mjsindex a484deba93..5b2c3b13fa 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputDateRange.doc.mjs+++ b/packages/cli/templates/blocks/components/DateInput/DateInputDateRange.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputDateRange.tsx b/packages/cli/templates/blocks/components/DateInput/DateInputDateRange.tsxindex 82bf3dee53..e6c57fe80f 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputDateRange.tsx+++ b/packages/cli/templates/blocks/components/DateInput/DateInputDateRange.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputShowcase.doc.mjs b/packages/cli/templates/blocks/components/DateInput/DateInputShowcase.doc.mjsindex 4329dee473..0eec79863a 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/DateInput/DateInputShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputShowcase.tsx b/packages/cli/templates/blocks/components/DateInput/DateInputShowcase.tsxindex 87743fe356..5c26a8406a 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputShowcase.tsx+++ b/packages/cli/templates/blocks/components/DateInput/DateInputShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputWithDescription.doc.mjs b/packages/cli/templates/blocks/components/DateInput/DateInputWithDescription.doc.mjsindex b1f4bb9c54..b2ca9d888a 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputWithDescription.doc.mjs+++ b/packages/cli/templates/blocks/components/DateInput/DateInputWithDescription.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputWithDescription.tsx b/packages/cli/templates/blocks/components/DateInput/DateInputWithDescription.tsxindex ca6c915264..93e4f3ad30 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputWithDescription.tsx+++ b/packages/cli/templates/blocks/components/DateInput/DateInputWithDescription.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputWithValidation.doc.mjs b/packages/cli/templates/blocks/components/DateInput/DateInputWithValidation.doc.mjsindex 3443a3ad64..5ba8bd8ef5 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputWithValidation.doc.mjs+++ b/packages/cli/templates/blocks/components/DateInput/DateInputWithValidation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DateInput/DateInputWithValidation.tsx b/packages/cli/templates/blocks/components/DateInput/DateInputWithValidation.tsxindex aa7997970d..6b3cfbe947 100644--- a/packages/cli/templates/blocks/components/DateInput/DateInputWithValidation.tsx+++ b/packages/cli/templates/blocks/components/DateInput/DateInputWithValidation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Dialog/DialogConfirmationDialog.doc.mjs b/packages/cli/templates/blocks/components/Dialog/DialogConfirmationDialog.doc.mjsindex 48e2818ec7..6a9f5b3db1 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogConfirmationDialog.doc.mjs+++ b/packages/cli/templates/blocks/components/Dialog/DialogConfirmationDialog.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Dialog/DialogConfirmationDialog.tsx b/packages/cli/templates/blocks/components/Dialog/DialogConfirmationDialog.tsxindex 54bba39a55..f36fb23fa2 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogConfirmationDialog.tsx+++ b/packages/cli/templates/blocks/components/Dialog/DialogConfirmationDialog.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Dialog/DialogFormDialog.doc.mjs b/packages/cli/templates/blocks/components/Dialog/DialogFormDialog.doc.mjsindex 823cf2da3e..ebcb89f2f8 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogFormDialog.doc.mjs+++ b/packages/cli/templates/blocks/components/Dialog/DialogFormDialog.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Dialog/DialogFormDialog.tsx b/packages/cli/templates/blocks/components/Dialog/DialogFormDialog.tsxindex 8b92331cf5..b3af5677db 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogFormDialog.tsx+++ b/packages/cli/templates/blocks/components/Dialog/DialogFormDialog.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Dialog/DialogFullscreenDialog.doc.mjs b/packages/cli/templates/blocks/components/Dialog/DialogFullscreenDialog.doc.mjsindex edf0dfd27b..994632fade 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogFullscreenDialog.doc.mjs+++ b/packages/cli/templates/blocks/components/Dialog/DialogFullscreenDialog.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Dialog/DialogFullscreenDialog.tsx b/packages/cli/templates/blocks/components/Dialog/DialogFullscreenDialog.tsxindex 7dce9b71a3..974b03620d 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogFullscreenDialog.tsx+++ b/packages/cli/templates/blocks/components/Dialog/DialogFullscreenDialog.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Dialog/DialogScrollingContent.doc.mjs b/packages/cli/templates/blocks/components/Dialog/DialogScrollingContent.doc.mjsindex 564ea6eb66..12b052bf44 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogScrollingContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Dialog/DialogScrollingContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Dialog/DialogScrollingContent.tsx b/packages/cli/templates/blocks/components/Dialog/DialogScrollingContent.tsxindex 85548c727a..67a242b56c 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogScrollingContent.tsx+++ b/packages/cli/templates/blocks/components/Dialog/DialogScrollingContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Dialog/DialogShowcase.doc.mjs b/packages/cli/templates/blocks/components/Dialog/DialogShowcase.doc.mjsindex b801a90f2d..4651812b0a 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Dialog/DialogShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Dialog/DialogShowcase.tsx b/packages/cli/templates/blocks/components/Dialog/DialogShowcase.tsxindex 7ee97e60bb..82bdf84d0e 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogShowcase.tsx+++ b/packages/cli/templates/blocks/components/Dialog/DialogShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSDialog, XDSDialogHeader} from '@xds/core/Dialog';diff --git a/packages/cli/templates/blocks/components/Dialog/DialogWithSubtitle.doc.mjs b/packages/cli/templates/blocks/components/Dialog/DialogWithSubtitle.doc.mjsindex d343ef8585..409c0f380c 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogWithSubtitle.doc.mjs+++ b/packages/cli/templates/blocks/components/Dialog/DialogWithSubtitle.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Dialog/DialogWithSubtitle.tsx b/packages/cli/templates/blocks/components/Dialog/DialogWithSubtitle.tsxindex 5eda4e9ff3..eb94f158fd 100644--- a/packages/cli/templates/blocks/components/Dialog/DialogWithSubtitle.tsx+++ b/packages/cli/templates/blocks/components/Dialog/DialogWithSubtitle.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/DialogHeader/DialogHeaderShowcase.doc.mjs b/packages/cli/templates/blocks/components/DialogHeader/DialogHeaderShowcase.doc.mjsindex 35e8908bac..5c0d84c6ba 100644--- a/packages/cli/templates/blocks/components/DialogHeader/DialogHeaderShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/DialogHeader/DialogHeaderShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DialogHeader/DialogHeaderShowcase.tsx b/packages/cli/templates/blocks/components/DialogHeader/DialogHeaderShowcase.tsxindex 92c90ed8fe..9fb86d051c 100644--- a/packages/cli/templates/blocks/components/DialogHeader/DialogHeaderShowcase.tsx+++ b/packages/cli/templates/blocks/components/DialogHeader/DialogHeaderShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSDialog, XDSDialogHeader} from '@xds/core/Dialog';diff --git a/packages/cli/templates/blocks/components/Divider/DividerFullBleed.doc.mjs b/packages/cli/templates/blocks/components/Divider/DividerFullBleed.doc.mjsindex ce538fc9ad..77fb1521b3 100644--- a/packages/cli/templates/blocks/components/Divider/DividerFullBleed.doc.mjs+++ b/packages/cli/templates/blocks/components/Divider/DividerFullBleed.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Divider/DividerFullBleed.tsx b/packages/cli/templates/blocks/components/Divider/DividerFullBleed.tsxindex 686c328e49..909718d233 100644--- a/packages/cli/templates/blocks/components/Divider/DividerFullBleed.tsx+++ b/packages/cli/templates/blocks/components/Divider/DividerFullBleed.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSDivider} from '@xds/core/Divider';diff --git a/packages/cli/templates/blocks/components/Divider/DividerShowcase.doc.mjs b/packages/cli/templates/blocks/components/Divider/DividerShowcase.doc.mjsindex b9819fb272..f4bda2a024 100644--- a/packages/cli/templates/blocks/components/Divider/DividerShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Divider/DividerShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Divider/DividerShowcase.tsx b/packages/cli/templates/blocks/components/Divider/DividerShowcase.tsxindex 55cc1ebacd..205b410e7b 100644--- a/packages/cli/templates/blocks/components/Divider/DividerShowcase.tsx+++ b/packages/cli/templates/blocks/components/Divider/DividerShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSDivider} from '@xds/core/Divider';diff --git a/packages/cli/templates/blocks/components/Divider/DividerVariants.doc.mjs b/packages/cli/templates/blocks/components/Divider/DividerVariants.doc.mjsindex 5d24920377..17cdbae551 100644--- a/packages/cli/templates/blocks/components/Divider/DividerVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/Divider/DividerVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Divider/DividerVariants.tsx b/packages/cli/templates/blocks/components/Divider/DividerVariants.tsxindex 40b11df3c7..2fe320c002 100644--- a/packages/cli/templates/blocks/components/Divider/DividerVariants.tsx+++ b/packages/cli/templates/blocks/components/Divider/DividerVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSDivider} from '@xds/core/Divider';diff --git a/packages/cli/templates/blocks/components/Divider/DividerVertical.doc.mjs b/packages/cli/templates/blocks/components/Divider/DividerVertical.doc.mjsindex f547b4b3a2..8c76160f27 100644--- a/packages/cli/templates/blocks/components/Divider/DividerVertical.doc.mjs+++ b/packages/cli/templates/blocks/components/Divider/DividerVertical.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Divider/DividerVertical.tsx b/packages/cli/templates/blocks/components/Divider/DividerVertical.tsxindex 9c68e9a073..2367387cc4 100644--- a/packages/cli/templates/blocks/components/Divider/DividerVertical.tsx+++ b/packages/cli/templates/blocks/components/Divider/DividerVertical.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuActions.doc.mjs b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuActions.doc.mjsindex 5eb2d93138..8854d15ee3 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuActions.doc.mjs+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuActions.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuActions.tsx b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuActions.tsxindex 5485ca5edd..d5997aa58e 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuActions.tsx+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuActions.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.doc.mjs b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.doc.mjsindex a77f980c86..732ee4097e 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.doc.mjs+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.tsx b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.tsxindex 6386d15ff4..52c9b234e8 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.tsx+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.doc.mjs b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.doc.mjsindex 468da5dd9e..191748ef69 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.tsx b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.tsxindex 96ea3d3575..056de76d3b 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.tsx+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.doc.mjs b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.doc.mjsindex 28b8fd7a5d..125c1efbde 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.doc.mjs+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.tsx b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.tsxindex 3627e7b222..2ceabc10aa 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.tsx+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.doc.mjs b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.doc.mjsindex bf4654b921..ad9a51d54b 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.doc.mjs+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.tsx b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.tsxindex 0b41dd7886..adb5f5030e 100644--- a/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.tsx+++ b/packages/cli/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.doc.mjsindex cb5641b94a..f116486986 100644--- a/packages/cli/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.tsx b/packages/cli/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.tsxindex c4d3e67a5b..d3153bad3e 100644--- a/packages/cli/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSDropdownMenu, XDSDropdownMenuItem} from '@xds/core/DropdownMenu';diff --git a/packages/cli/templates/blocks/components/EmptyState/EmptyStateActions.doc.mjs b/packages/cli/templates/blocks/components/EmptyState/EmptyStateActions.doc.mjsindex 0500598d78..a26bcbcf26 100644--- a/packages/cli/templates/blocks/components/EmptyState/EmptyStateActions.doc.mjs+++ b/packages/cli/templates/blocks/components/EmptyState/EmptyStateActions.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/EmptyState/EmptyStateActions.tsx b/packages/cli/templates/blocks/components/EmptyState/EmptyStateActions.tsxindex 5e0220c01d..46b512c6de 100644--- a/packages/cli/templates/blocks/components/EmptyState/EmptyStateActions.tsx+++ b/packages/cli/templates/blocks/components/EmptyState/EmptyStateActions.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSEmptyState} from '@xds/core/EmptyState';diff --git a/packages/cli/templates/blocks/components/EmptyState/EmptyStateCompact.doc.mjs b/packages/cli/templates/blocks/components/EmptyState/EmptyStateCompact.doc.mjsindex 72fea1b396..8c47c616a5 100644--- a/packages/cli/templates/blocks/components/EmptyState/EmptyStateCompact.doc.mjs+++ b/packages/cli/templates/blocks/components/EmptyState/EmptyStateCompact.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/EmptyState/EmptyStateCompact.tsx b/packages/cli/templates/blocks/components/EmptyState/EmptyStateCompact.tsxindex 8f09d76f22..216b037a19 100644--- a/packages/cli/templates/blocks/components/EmptyState/EmptyStateCompact.tsx+++ b/packages/cli/templates/blocks/components/EmptyState/EmptyStateCompact.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSEmptyState} from '@xds/core/EmptyState';diff --git a/packages/cli/templates/blocks/components/EmptyState/EmptyStateContainer.doc.mjs b/packages/cli/templates/blocks/components/EmptyState/EmptyStateContainer.doc.mjsindex 0d55edd549..c0526636cb 100644--- a/packages/cli/templates/blocks/components/EmptyState/EmptyStateContainer.doc.mjs+++ b/packages/cli/templates/blocks/components/EmptyState/EmptyStateContainer.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/EmptyState/EmptyStateContainer.tsx b/packages/cli/templates/blocks/components/EmptyState/EmptyStateContainer.tsxindex 1ae8cc1eb8..0521f46f83 100644--- a/packages/cli/templates/blocks/components/EmptyState/EmptyStateContainer.tsx+++ b/packages/cli/templates/blocks/components/EmptyState/EmptyStateContainer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSEmptyState} from '@xds/core/EmptyState';diff --git a/packages/cli/templates/blocks/components/EmptyState/EmptyStateShowcase.doc.mjs b/packages/cli/templates/blocks/components/EmptyState/EmptyStateShowcase.doc.mjsindex a1a343dd2f..73445a8556 100644--- a/packages/cli/templates/blocks/components/EmptyState/EmptyStateShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/EmptyState/EmptyStateShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/EmptyState/EmptyStateShowcase.tsx b/packages/cli/templates/blocks/components/EmptyState/EmptyStateShowcase.tsxindex 39b4d8cd86..2d8c20ca1e 100644--- a/packages/cli/templates/blocks/components/EmptyState/EmptyStateShowcase.tsx+++ b/packages/cli/templates/blocks/components/EmptyState/EmptyStateShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSEmptyState} from '@xds/core/EmptyState';diff --git a/packages/cli/templates/blocks/components/Field/FieldRequired.doc.mjs b/packages/cli/templates/blocks/components/Field/FieldRequired.doc.mjsindex 3cc4e1af00..fdaa52f677 100644--- a/packages/cli/templates/blocks/components/Field/FieldRequired.doc.mjs+++ b/packages/cli/templates/blocks/components/Field/FieldRequired.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Field/FieldRequired.tsx b/packages/cli/templates/blocks/components/Field/FieldRequired.tsxindex 8397a683eb..ef612e9ba6 100644--- a/packages/cli/templates/blocks/components/Field/FieldRequired.tsx+++ b/packages/cli/templates/blocks/components/Field/FieldRequired.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Field/FieldShowcase.doc.mjs b/packages/cli/templates/blocks/components/Field/FieldShowcase.doc.mjsindex f5698ff8f0..8bc98f4ecc 100644--- a/packages/cli/templates/blocks/components/Field/FieldShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Field/FieldShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Field/FieldShowcase.tsx b/packages/cli/templates/blocks/components/Field/FieldShowcase.tsxindex 62df6f8b57..17fd697020 100644--- a/packages/cli/templates/blocks/components/Field/FieldShowcase.tsx+++ b/packages/cli/templates/blocks/components/Field/FieldShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Field/FieldStatusVariants.doc.mjs b/packages/cli/templates/blocks/components/Field/FieldStatusVariants.doc.mjsindex c230411cf1..744e7d3379 100644--- a/packages/cli/templates/blocks/components/Field/FieldStatusVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/Field/FieldStatusVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Field/FieldStatusVariants.tsx b/packages/cli/templates/blocks/components/Field/FieldStatusVariants.tsxindex ac6d618f19..fa6fa910a0 100644--- a/packages/cli/templates/blocks/components/Field/FieldStatusVariants.tsx+++ b/packages/cli/templates/blocks/components/Field/FieldStatusVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Field/FieldWithDescription.doc.mjs b/packages/cli/templates/blocks/components/Field/FieldWithDescription.doc.mjsindex 84587a4f57..65262277b0 100644--- a/packages/cli/templates/blocks/components/Field/FieldWithDescription.doc.mjs+++ b/packages/cli/templates/blocks/components/Field/FieldWithDescription.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Field/FieldWithDescription.tsx b/packages/cli/templates/blocks/components/Field/FieldWithDescription.tsxindex 88f149028f..1585dce8a9 100644--- a/packages/cli/templates/blocks/components/Field/FieldWithDescription.tsx+++ b/packages/cli/templates/blocks/components/Field/FieldWithDescription.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/FieldLabel/FieldLabelShowcase.doc.mjs b/packages/cli/templates/blocks/components/FieldLabel/FieldLabelShowcase.doc.mjsindex 5b6e5074d1..253d2db7c4 100644--- a/packages/cli/templates/blocks/components/FieldLabel/FieldLabelShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/FieldLabel/FieldLabelShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/FieldLabel/FieldLabelShowcase.tsx b/packages/cli/templates/blocks/components/FieldLabel/FieldLabelShowcase.tsxindex 41442c9c65..b7e0514939 100644--- a/packages/cli/templates/blocks/components/FieldLabel/FieldLabelShowcase.tsx+++ b/packages/cli/templates/blocks/components/FieldLabel/FieldLabelShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSFieldLabel} from '@xds/core/Field';diff --git a/packages/cli/templates/blocks/components/FieldStatus/FieldStatusShowcase.doc.mjs b/packages/cli/templates/blocks/components/FieldStatus/FieldStatusShowcase.doc.mjsindex 06483a9d9b..d0cf8a8bca 100644--- a/packages/cli/templates/blocks/components/FieldStatus/FieldStatusShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/FieldStatus/FieldStatusShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/FieldStatus/FieldStatusShowcase.tsx b/packages/cli/templates/blocks/components/FieldStatus/FieldStatusShowcase.tsxindex 59888b68d9..24a8149d65 100644--- a/packages/cli/templates/blocks/components/FieldStatus/FieldStatusShowcase.tsx+++ b/packages/cli/templates/blocks/components/FieldStatus/FieldStatusShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSFieldStatusComponent} from '@xds/core/Field';diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontal.doc.mjs b/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontal.doc.mjsindex dd5e47b519..b5a4d8152c 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontal.doc.mjs+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontal.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontal.tsx b/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontal.tsxindex 42e0e4944e..2da16a9c0e 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontal.tsx+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontal.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.doc.mjs b/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.doc.mjsindex b5fdc2d2b3..3df1da2867 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.doc.mjs+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.tsx b/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.tsxindex 4a20253ea1..ddb1dcc437 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.tsx+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutMixedControls.doc.mjs b/packages/cli/templates/blocks/components/FormLayout/FormLayoutMixedControls.doc.mjsindex 109574064a..523fd824ec 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutMixedControls.doc.mjs+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutMixedControls.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutMixedControls.tsx b/packages/cli/templates/blocks/components/FormLayout/FormLayoutMixedControls.tsxindex 01c1a4a044..5379274fa2 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutMixedControls.tsx+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutMixedControls.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutNested.doc.mjs b/packages/cli/templates/blocks/components/FormLayout/FormLayoutNested.doc.mjsindex 2e5d2fbfe9..6243567403 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutNested.doc.mjs+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutNested.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutNested.tsx b/packages/cli/templates/blocks/components/FormLayout/FormLayoutNested.tsxindex e46dc4bd7d..2f3af782ac 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutNested.tsx+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutNested.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutShowcase.doc.mjs b/packages/cli/templates/blocks/components/FormLayout/FormLayoutShowcase.doc.mjsindex 22be5e66be..15bf91c268 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/FormLayout/FormLayoutShowcase.tsx b/packages/cli/templates/blocks/components/FormLayout/FormLayoutShowcase.tsxindex c8815a1ee9..dbc80901ae 100644--- a/packages/cli/templates/blocks/components/FormLayout/FormLayoutShowcase.tsx+++ b/packages/cli/templates/blocks/components/FormLayout/FormLayoutShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Grid/GridDashboardLayout.doc.mjs b/packages/cli/templates/blocks/components/Grid/GridDashboardLayout.doc.mjsindex 3b18642f74..9c1a579bd2 100644--- a/packages/cli/templates/blocks/components/Grid/GridDashboardLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/Grid/GridDashboardLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Grid/GridDashboardLayout.tsx b/packages/cli/templates/blocks/components/Grid/GridDashboardLayout.tsxindex 4c465458ac..0cd920f841 100644--- a/packages/cli/templates/blocks/components/Grid/GridDashboardLayout.tsx+++ b/packages/cli/templates/blocks/components/Grid/GridDashboardLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSGrid, XDSGridSpan} from '@xds/core/Grid';diff --git a/packages/cli/templates/blocks/components/Grid/GridGalleryExample.doc.mjs b/packages/cli/templates/blocks/components/Grid/GridGalleryExample.doc.mjsindex 5b1edda56c..126e2153e7 100644--- a/packages/cli/templates/blocks/components/Grid/GridGalleryExample.doc.mjs+++ b/packages/cli/templates/blocks/components/Grid/GridGalleryExample.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Grid/GridGalleryExample.tsx b/packages/cli/templates/blocks/components/Grid/GridGalleryExample.tsxindex 1f02f7a435..a98d1bffa5 100644--- a/packages/cli/templates/blocks/components/Grid/GridGalleryExample.tsx+++ b/packages/cli/templates/blocks/components/Grid/GridGalleryExample.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSGrid} from '@xds/core/Grid';diff --git a/packages/cli/templates/blocks/components/Grid/GridResponsiveAutoFit.doc.mjs b/packages/cli/templates/blocks/components/Grid/GridResponsiveAutoFit.doc.mjsindex 7a5489ff4f..1af88c8d0c 100644--- a/packages/cli/templates/blocks/components/Grid/GridResponsiveAutoFit.doc.mjs+++ b/packages/cli/templates/blocks/components/Grid/GridResponsiveAutoFit.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Grid/GridResponsiveAutoFit.tsx b/packages/cli/templates/blocks/components/Grid/GridResponsiveAutoFit.tsxindex 6d55a1afcd..43a3276b90 100644--- a/packages/cli/templates/blocks/components/Grid/GridResponsiveAutoFit.tsx+++ b/packages/cli/templates/blocks/components/Grid/GridResponsiveAutoFit.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {spacingVars} from '@xds/core/theme/tokens.stylex';diff --git a/packages/cli/templates/blocks/components/Grid/GridShowcase.doc.mjs b/packages/cli/templates/blocks/components/Grid/GridShowcase.doc.mjsindex 469b0ca995..767b83745e 100644--- a/packages/cli/templates/blocks/components/Grid/GridShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Grid/GridShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Grid/GridShowcase.tsx b/packages/cli/templates/blocks/components/Grid/GridShowcase.tsxindex 49ad97323e..42259500b8 100644--- a/packages/cli/templates/blocks/components/Grid/GridShowcase.tsx+++ b/packages/cli/templates/blocks/components/Grid/GridShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCard} from '@xds/core/Card';diff --git a/packages/cli/templates/blocks/components/Grid/GridWithGridSpan.doc.mjs b/packages/cli/templates/blocks/components/Grid/GridWithGridSpan.doc.mjsindex cc8d97b9ce..c4516ed6f1 100644--- a/packages/cli/templates/blocks/components/Grid/GridWithGridSpan.doc.mjs+++ b/packages/cli/templates/blocks/components/Grid/GridWithGridSpan.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Grid/GridWithGridSpan.tsx b/packages/cli/templates/blocks/components/Grid/GridWithGridSpan.tsxindex 3a72cd11cd..1c4f404eea 100644--- a/packages/cli/templates/blocks/components/Grid/GridWithGridSpan.tsx+++ b/packages/cli/templates/blocks/components/Grid/GridWithGridSpan.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSGrid, XDSGridSpan} from '@xds/core/Grid';diff --git a/packages/cli/templates/blocks/components/GridSpan/GridSpanShowcase.doc.mjs b/packages/cli/templates/blocks/components/GridSpan/GridSpanShowcase.doc.mjsindex 883c77b6bc..3eba11cd98 100644--- a/packages/cli/templates/blocks/components/GridSpan/GridSpanShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/GridSpan/GridSpanShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/GridSpan/GridSpanShowcase.tsx b/packages/cli/templates/blocks/components/GridSpan/GridSpanShowcase.tsxindex c98f74113b..3ca7a0031f 100644--- a/packages/cli/templates/blocks/components/GridSpan/GridSpanShowcase.tsx+++ b/packages/cli/templates/blocks/components/GridSpan/GridSpanShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSGrid, XDSGridSpan} from '@xds/core/Grid';diff --git a/packages/cli/templates/blocks/components/HStack/HStackShowcase.doc.mjs b/packages/cli/templates/blocks/components/HStack/HStackShowcase.doc.mjsindex 93d426b686..252577d12f 100644--- a/packages/cli/templates/blocks/components/HStack/HStackShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/HStack/HStackShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/HStack/HStackShowcase.tsx b/packages/cli/templates/blocks/components/HStack/HStackShowcase.tsxindex 0ccfd3c0ca..1a3a2175b4 100644--- a/packages/cli/templates/blocks/components/HStack/HStackShowcase.tsx+++ b/packages/cli/templates/blocks/components/HStack/HStackShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHStack, XDSVStack} from '@xds/core/Layout';diff --git a/packages/cli/templates/blocks/components/Heading/HeadingCardGrid.doc.mjs b/packages/cli/templates/blocks/components/Heading/HeadingCardGrid.doc.mjsindex 436b691c88..69248508ae 100644--- a/packages/cli/templates/blocks/components/Heading/HeadingCardGrid.doc.mjs+++ b/packages/cli/templates/blocks/components/Heading/HeadingCardGrid.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Heading/HeadingCardGrid.tsx b/packages/cli/templates/blocks/components/Heading/HeadingCardGrid.tsxindex ad4bba0f07..7f33ecccd3 100644--- a/packages/cli/templates/blocks/components/Heading/HeadingCardGrid.tsx+++ b/packages/cli/templates/blocks/components/Heading/HeadingCardGrid.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCard} from '@xds/core/Card';diff --git a/packages/cli/templates/blocks/components/Heading/HeadingPageLayout.doc.mjs b/packages/cli/templates/blocks/components/Heading/HeadingPageLayout.doc.mjsindex 33e3a49732..1ef9c188fe 100644--- a/packages/cli/templates/blocks/components/Heading/HeadingPageLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/Heading/HeadingPageLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Heading/HeadingPageLayout.tsx b/packages/cli/templates/blocks/components/Heading/HeadingPageLayout.tsxindex efa541dbcb..d1265e171e 100644--- a/packages/cli/templates/blocks/components/Heading/HeadingPageLayout.tsx+++ b/packages/cli/templates/blocks/components/Heading/HeadingPageLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack} from '@xds/core/Layout';diff --git a/packages/cli/templates/blocks/components/Heading/HeadingShowcase.doc.mjs b/packages/cli/templates/blocks/components/Heading/HeadingShowcase.doc.mjsindex 42ab76f35a..629a6a9431 100644--- a/packages/cli/templates/blocks/components/Heading/HeadingShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Heading/HeadingShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Heading/HeadingShowcase.tsx b/packages/cli/templates/blocks/components/Heading/HeadingShowcase.tsxindex 74e0f9469f..2d5e830ae1 100644--- a/packages/cli/templates/blocks/components/Heading/HeadingShowcase.tsx+++ b/packages/cli/templates/blocks/components/Heading/HeadingShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSVStack} from '@xds/core/Layout';diff --git a/packages/cli/templates/blocks/components/Heading/HeadingTruncation.doc.mjs b/packages/cli/templates/blocks/components/Heading/HeadingTruncation.doc.mjsindex 489a4d8968..8a6a64e6e6 100644--- a/packages/cli/templates/blocks/components/Heading/HeadingTruncation.doc.mjs+++ b/packages/cli/templates/blocks/components/Heading/HeadingTruncation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Heading/HeadingTruncation.tsx b/packages/cli/templates/blocks/components/Heading/HeadingTruncation.tsxindex 93341a8d0f..bd9ce128ad 100644--- a/packages/cli/templates/blocks/components/Heading/HeadingTruncation.tsx+++ b/packages/cli/templates/blocks/components/Heading/HeadingTruncation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHeading} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.doc.mjs b/packages/cli/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.doc.mjsindex fce2c28c61..4a198ee05c 100644--- a/packages/cli/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.doc.mjs+++ b/packages/cli/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.tsx b/packages/cli/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.tsxindex 514d3250d7..c51a92c185 100644--- a/packages/cli/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.tsx+++ b/packages/cli/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/HoverCard/HoverCardInteractiveContent.doc.mjs b/packages/cli/templates/blocks/components/HoverCard/HoverCardInteractiveContent.doc.mjsindex 22fd79e178..936b27a09c 100644--- a/packages/cli/templates/blocks/components/HoverCard/HoverCardInteractiveContent.doc.mjs+++ b/packages/cli/templates/blocks/components/HoverCard/HoverCardInteractiveContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/HoverCard/HoverCardInteractiveContent.tsx b/packages/cli/templates/blocks/components/HoverCard/HoverCardInteractiveContent.tsxindex e382abe4d7..8cd2622f37 100644--- a/packages/cli/templates/blocks/components/HoverCard/HoverCardInteractiveContent.tsx+++ b/packages/cli/templates/blocks/components/HoverCard/HoverCardInteractiveContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.doc.mjs b/packages/cli/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.doc.mjsindex 7191cdb713..0b2bd90f98 100644--- a/packages/cli/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.doc.mjs+++ b/packages/cli/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.tsx b/packages/cli/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.tsxindex e654c97733..a75eaf0d91 100644--- a/packages/cli/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.tsx+++ b/packages/cli/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/HoverCard/HoverCardShowcase.doc.mjs b/packages/cli/templates/blocks/components/HoverCard/HoverCardShowcase.doc.mjsindex 0d1582a524..3c803877ed 100644--- a/packages/cli/templates/blocks/components/HoverCard/HoverCardShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/HoverCard/HoverCardShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/HoverCard/HoverCardShowcase.tsx b/packages/cli/templates/blocks/components/HoverCard/HoverCardShowcase.tsxindex 93a01f045a..221dd0a5d3 100644--- a/packages/cli/templates/blocks/components/HoverCard/HoverCardShowcase.tsx+++ b/packages/cli/templates/blocks/components/HoverCard/HoverCardShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHoverCard} from '@xds/core/HoverCard';diff --git a/packages/cli/templates/blocks/components/Icon/IconNonSemanticColors.doc.mjs b/packages/cli/templates/blocks/components/Icon/IconNonSemanticColors.doc.mjsindex b125c73bef..3d07f988c3 100644--- a/packages/cli/templates/blocks/components/Icon/IconNonSemanticColors.doc.mjs+++ b/packages/cli/templates/blocks/components/Icon/IconNonSemanticColors.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Icon/IconNonSemanticColors.tsx b/packages/cli/templates/blocks/components/Icon/IconNonSemanticColors.tsxindex 3baa3a6f41..bcc5ec1751 100644--- a/packages/cli/templates/blocks/components/Icon/IconNonSemanticColors.tsx+++ b/packages/cli/templates/blocks/components/Icon/IconNonSemanticColors.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSIcon} from '@xds/core/Icon';diff --git a/packages/cli/templates/blocks/components/Icon/IconSemanticColors.doc.mjs b/packages/cli/templates/blocks/components/Icon/IconSemanticColors.doc.mjsindex 48d0193619..feaa6d103d 100644--- a/packages/cli/templates/blocks/components/Icon/IconSemanticColors.doc.mjs+++ b/packages/cli/templates/blocks/components/Icon/IconSemanticColors.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Icon/IconSemanticColors.tsx b/packages/cli/templates/blocks/components/Icon/IconSemanticColors.tsxindex d789f970b3..d624090271 100644--- a/packages/cli/templates/blocks/components/Icon/IconSemanticColors.tsx+++ b/packages/cli/templates/blocks/components/Icon/IconSemanticColors.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSIcon} from '@xds/core/Icon';diff --git a/packages/cli/templates/blocks/components/Icon/IconShowcase.doc.mjs b/packages/cli/templates/blocks/components/Icon/IconShowcase.doc.mjsindex 39a23cdd72..27a127b59d 100644--- a/packages/cli/templates/blocks/components/Icon/IconShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Icon/IconShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Icon/IconShowcase.tsx b/packages/cli/templates/blocks/components/Icon/IconShowcase.tsxindex 5a6b435fe8..2838bdfbe0 100644--- a/packages/cli/templates/blocks/components/Icon/IconShowcase.tsx+++ b/packages/cli/templates/blocks/components/Icon/IconShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSIcon} from '@xds/core/Icon';diff --git a/packages/cli/templates/blocks/components/Icon/IconSizes.doc.mjs b/packages/cli/templates/blocks/components/Icon/IconSizes.doc.mjsindex 6428c69f85..65def27210 100644--- a/packages/cli/templates/blocks/components/Icon/IconSizes.doc.mjs+++ b/packages/cli/templates/blocks/components/Icon/IconSizes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Icon/IconSizes.tsx b/packages/cli/templates/blocks/components/Icon/IconSizes.tsxindex e5b4156746..dbca0aedd7 100644--- a/packages/cli/templates/blocks/components/Icon/IconSizes.tsx+++ b/packages/cli/templates/blocks/components/Icon/IconSizes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSIcon} from '@xds/core/Icon';diff --git a/packages/cli/templates/blocks/components/Icon/IconStatusIcons.doc.mjs b/packages/cli/templates/blocks/components/Icon/IconStatusIcons.doc.mjsindex cf84f90510..a1da6ea5ef 100644--- a/packages/cli/templates/blocks/components/Icon/IconStatusIcons.doc.mjs+++ b/packages/cli/templates/blocks/components/Icon/IconStatusIcons.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Icon/IconStatusIcons.tsx b/packages/cli/templates/blocks/components/Icon/IconStatusIcons.tsxindex 9b6edf89ed..03064b2762 100644--- a/packages/cli/templates/blocks/components/Icon/IconStatusIcons.tsx+++ b/packages/cli/templates/blocks/components/Icon/IconStatusIcons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSIcon} from '@xds/core/Icon';diff --git a/packages/cli/templates/blocks/components/IconButton/IconButtonActionBar.doc.mjs b/packages/cli/templates/blocks/components/IconButton/IconButtonActionBar.doc.mjsindex 5069277fd6..a1d3bd7199 100644--- a/packages/cli/templates/blocks/components/IconButton/IconButtonActionBar.doc.mjs+++ b/packages/cli/templates/blocks/components/IconButton/IconButtonActionBar.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/IconButton/IconButtonActionBar.tsx b/packages/cli/templates/blocks/components/IconButton/IconButtonActionBar.tsxindex 384f21df97..77a7134509 100644--- a/packages/cli/templates/blocks/components/IconButton/IconButtonActionBar.tsx+++ b/packages/cli/templates/blocks/components/IconButton/IconButtonActionBar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSIconButton} from '@xds/core/IconButton';diff --git a/packages/cli/templates/blocks/components/IconButton/IconButtonLoadingToggle.doc.mjs b/packages/cli/templates/blocks/components/IconButton/IconButtonLoadingToggle.doc.mjsindex 0d1b7a8900..8f31fdd5cb 100644--- a/packages/cli/templates/blocks/components/IconButton/IconButtonLoadingToggle.doc.mjs+++ b/packages/cli/templates/blocks/components/IconButton/IconButtonLoadingToggle.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/IconButton/IconButtonLoadingToggle.tsx b/packages/cli/templates/blocks/components/IconButton/IconButtonLoadingToggle.tsxindex bf346c2829..db12f370b1 100644--- a/packages/cli/templates/blocks/components/IconButton/IconButtonLoadingToggle.tsx+++ b/packages/cli/templates/blocks/components/IconButton/IconButtonLoadingToggle.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/IconButton/IconButtonShowcase.doc.mjs b/packages/cli/templates/blocks/components/IconButton/IconButtonShowcase.doc.mjsindex 4aaea986d0..b4a9b1d8ea 100644--- a/packages/cli/templates/blocks/components/IconButton/IconButtonShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/IconButton/IconButtonShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/IconButton/IconButtonShowcase.tsx b/packages/cli/templates/blocks/components/IconButton/IconButtonShowcase.tsxindex 8bc3893ea4..64c057afd8 100644--- a/packages/cli/templates/blocks/components/IconButton/IconButtonShowcase.tsx+++ b/packages/cli/templates/blocks/components/IconButton/IconButtonShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSIconButton} from '@xds/core/IconButton';diff --git a/packages/cli/templates/blocks/components/IconButton/IconButtonTooltipIconButton.doc.mjs b/packages/cli/templates/blocks/components/IconButton/IconButtonTooltipIconButton.doc.mjsindex e29a32462c..033273e042 100644--- a/packages/cli/templates/blocks/components/IconButton/IconButtonTooltipIconButton.doc.mjs+++ b/packages/cli/templates/blocks/components/IconButton/IconButtonTooltipIconButton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/IconButton/IconButtonTooltipIconButton.tsx b/packages/cli/templates/blocks/components/IconButton/IconButtonTooltipIconButton.tsxindex 8dfe901808..8eda33905c 100644--- a/packages/cli/templates/blocks/components/IconButton/IconButtonTooltipIconButton.tsx+++ b/packages/cli/templates/blocks/components/IconButton/IconButtonTooltipIconButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSIconButton} from '@xds/core/IconButton';diff --git a/packages/cli/templates/blocks/components/Kbd/KbdInlineInstructions.doc.mjs b/packages/cli/templates/blocks/components/Kbd/KbdInlineInstructions.doc.mjsindex 01d40710b1..3267ab333a 100644--- a/packages/cli/templates/blocks/components/Kbd/KbdInlineInstructions.doc.mjs+++ b/packages/cli/templates/blocks/components/Kbd/KbdInlineInstructions.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Kbd/KbdInlineInstructions.tsx b/packages/cli/templates/blocks/components/Kbd/KbdInlineInstructions.tsxindex f809b687f1..932603c831 100644--- a/packages/cli/templates/blocks/components/Kbd/KbdInlineInstructions.tsx+++ b/packages/cli/templates/blocks/components/Kbd/KbdInlineInstructions.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSKbd} from '@xds/core/Kbd';diff --git a/packages/cli/templates/blocks/components/Kbd/KbdMenuShortcuts.doc.mjs b/packages/cli/templates/blocks/components/Kbd/KbdMenuShortcuts.doc.mjsindex ab454b938d..69ab56e075 100644--- a/packages/cli/templates/blocks/components/Kbd/KbdMenuShortcuts.doc.mjs+++ b/packages/cli/templates/blocks/components/Kbd/KbdMenuShortcuts.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Kbd/KbdMenuShortcuts.tsx b/packages/cli/templates/blocks/components/Kbd/KbdMenuShortcuts.tsxindex 038a4a43e2..742d29a5f4 100644--- a/packages/cli/templates/blocks/components/Kbd/KbdMenuShortcuts.tsx+++ b/packages/cli/templates/blocks/components/Kbd/KbdMenuShortcuts.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSKbd} from '@xds/core/Kbd';diff --git a/packages/cli/templates/blocks/components/Kbd/KbdModifierCombos.doc.mjs b/packages/cli/templates/blocks/components/Kbd/KbdModifierCombos.doc.mjsindex 09f73d5993..828c05bf2a 100644--- a/packages/cli/templates/blocks/components/Kbd/KbdModifierCombos.doc.mjs+++ b/packages/cli/templates/blocks/components/Kbd/KbdModifierCombos.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Kbd/KbdModifierCombos.tsx b/packages/cli/templates/blocks/components/Kbd/KbdModifierCombos.tsxindex 8400487677..ba3e65ac9b 100644--- a/packages/cli/templates/blocks/components/Kbd/KbdModifierCombos.tsx+++ b/packages/cli/templates/blocks/components/Kbd/KbdModifierCombos.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSKbd} from '@xds/core/Kbd';diff --git a/packages/cli/templates/blocks/components/Kbd/KbdShowcase.doc.mjs b/packages/cli/templates/blocks/components/Kbd/KbdShowcase.doc.mjsindex b2049078f5..2aba22d3b1 100644--- a/packages/cli/templates/blocks/components/Kbd/KbdShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Kbd/KbdShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Kbd/KbdShowcase.tsx b/packages/cli/templates/blocks/components/Kbd/KbdShowcase.tsxindex 4947cc2339..5618b35d71 100644--- a/packages/cli/templates/blocks/components/Kbd/KbdShowcase.tsx+++ b/packages/cli/templates/blocks/components/Kbd/KbdShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSKbd} from '@xds/core/Kbd';diff --git a/packages/cli/templates/blocks/components/Layout/LayoutBasicCardLayout.doc.mjs b/packages/cli/templates/blocks/components/Layout/LayoutBasicCardLayout.doc.mjsindex ea13dc3bfd..9347804f45 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutBasicCardLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/Layout/LayoutBasicCardLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Layout/LayoutBasicCardLayout.tsx b/packages/cli/templates/blocks/components/Layout/LayoutBasicCardLayout.tsxindex 10a3703dc3..8e0cfdb28f 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutBasicCardLayout.tsx+++ b/packages/cli/templates/blocks/components/Layout/LayoutBasicCardLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Layout/LayoutContentOnlyLayout.doc.mjs b/packages/cli/templates/blocks/components/Layout/LayoutContentOnlyLayout.doc.mjsindex a7317e6780..97335ca56c 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutContentOnlyLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/Layout/LayoutContentOnlyLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Layout/LayoutContentOnlyLayout.tsx b/packages/cli/templates/blocks/components/Layout/LayoutContentOnlyLayout.tsxindex 5f3864cba5..59defd6423 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutContentOnlyLayout.tsx+++ b/packages/cli/templates/blocks/components/Layout/LayoutContentOnlyLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSLayout, XDSLayoutContent, XDSVStack} from '@xds/core/Layout';diff --git a/packages/cli/templates/blocks/components/Layout/LayoutContentWidth.doc.mjs b/packages/cli/templates/blocks/components/Layout/LayoutContentWidth.doc.mjsindex 88e9057294..b54417af7b 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutContentWidth.doc.mjs+++ b/packages/cli/templates/blocks/components/Layout/LayoutContentWidth.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Layout/LayoutContentWidth.tsx b/packages/cli/templates/blocks/components/Layout/LayoutContentWidth.tsxindex 1af01d21a2..a7689c215f 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutContentWidth.tsx+++ b/packages/cli/templates/blocks/components/Layout/LayoutContentWidth.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Layout/LayoutDualPanelLayout.doc.mjs b/packages/cli/templates/blocks/components/Layout/LayoutDualPanelLayout.doc.mjsindex 7b3937ae18..9c2e0c5a9a 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutDualPanelLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/Layout/LayoutDualPanelLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Layout/LayoutDualPanelLayout.tsx b/packages/cli/templates/blocks/components/Layout/LayoutDualPanelLayout.tsxindex 14e947614d..8c2469dd9b 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutDualPanelLayout.tsx+++ b/packages/cli/templates/blocks/components/Layout/LayoutDualPanelLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Layout/LayoutFullBleedContent.doc.mjs b/packages/cli/templates/blocks/components/Layout/LayoutFullBleedContent.doc.mjsindex 9f9463659b..6874aa9a4f 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutFullBleedContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Layout/LayoutFullBleedContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Layout/LayoutFullBleedContent.tsx b/packages/cli/templates/blocks/components/Layout/LayoutFullBleedContent.tsxindex 5843337a1b..33328fc558 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutFullBleedContent.tsx+++ b/packages/cli/templates/blocks/components/Layout/LayoutFullBleedContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Layout/LayoutShowcase.doc.mjs b/packages/cli/templates/blocks/components/Layout/LayoutShowcase.doc.mjsindex 0072588b28..723fefb98b 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Layout/LayoutShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Layout/LayoutShowcase.tsx b/packages/cli/templates/blocks/components/Layout/LayoutShowcase.tsxindex 5b62d0a87d..1a73f18694 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutShowcase.tsx+++ b/packages/cli/templates/blocks/components/Layout/LayoutShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Layout/LayoutSidebarLayout.doc.mjs b/packages/cli/templates/blocks/components/Layout/LayoutSidebarLayout.doc.mjsindex 824265c2ea..76413b102a 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutSidebarLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/Layout/LayoutSidebarLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Layout/LayoutSidebarLayout.tsx b/packages/cli/templates/blocks/components/Layout/LayoutSidebarLayout.tsxindex 77fb45e84a..f41b8dd29e 100644--- a/packages/cli/templates/blocks/components/Layout/LayoutSidebarLayout.tsx+++ b/packages/cli/templates/blocks/components/Layout/LayoutSidebarLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/LayoutContent/LayoutContentShowcase.doc.mjs b/packages/cli/templates/blocks/components/LayoutContent/LayoutContentShowcase.doc.mjsindex b07967318d..62879fee80 100644--- a/packages/cli/templates/blocks/components/LayoutContent/LayoutContentShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/LayoutContent/LayoutContentShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/LayoutContent/LayoutContentShowcase.tsx b/packages/cli/templates/blocks/components/LayoutContent/LayoutContentShowcase.tsxindex 67c6cfaedb..63c8465382 100644--- a/packages/cli/templates/blocks/components/LayoutContent/LayoutContentShowcase.tsx+++ b/packages/cli/templates/blocks/components/LayoutContent/LayoutContentShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.doc.mjs b/packages/cli/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.doc.mjsindex 2e440051ae..3b27774305 100644--- a/packages/cli/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.tsx b/packages/cli/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.tsxindex 132a750879..c09cfeff98 100644--- a/packages/cli/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.tsx+++ b/packages/cli/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.doc.mjs b/packages/cli/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.doc.mjsindex fb794168e3..e96f86df3a 100644--- a/packages/cli/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.tsx b/packages/cli/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.tsxindex 178841ac09..9e66104b5b 100644--- a/packages/cli/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.tsx+++ b/packages/cli/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.doc.mjs b/packages/cli/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.doc.mjsindex ac68b7b6dd..390ccaff3d 100644--- a/packages/cli/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.tsx b/packages/cli/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.tsxindex 28e107b3f2..42fa2ebffe 100644--- a/packages/cli/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.tsx+++ b/packages/cli/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Link/LinkExternalLinks.doc.mjs b/packages/cli/templates/blocks/components/Link/LinkExternalLinks.doc.mjsindex 44f0b15cfd..4ec8deab2d 100644--- a/packages/cli/templates/blocks/components/Link/LinkExternalLinks.doc.mjs+++ b/packages/cli/templates/blocks/components/Link/LinkExternalLinks.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Link/LinkExternalLinks.tsx b/packages/cli/templates/blocks/components/Link/LinkExternalLinks.tsxindex 9a6d46a65c..e508ce343b 100644--- a/packages/cli/templates/blocks/components/Link/LinkExternalLinks.tsx+++ b/packages/cli/templates/blocks/components/Link/LinkExternalLinks.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSLink} from '@xds/core/Link';diff --git a/packages/cli/templates/blocks/components/Link/LinkInlineLink.doc.mjs b/packages/cli/templates/blocks/components/Link/LinkInlineLink.doc.mjsindex 6d28d2fe81..5e89f80f46 100644--- a/packages/cli/templates/blocks/components/Link/LinkInlineLink.doc.mjs+++ b/packages/cli/templates/blocks/components/Link/LinkInlineLink.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Link/LinkInlineLink.tsx b/packages/cli/templates/blocks/components/Link/LinkInlineLink.tsxindex 6c9e788c26..bf6b415b7e 100644--- a/packages/cli/templates/blocks/components/Link/LinkInlineLink.tsx+++ b/packages/cli/templates/blocks/components/Link/LinkInlineLink.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSLink} from '@xds/core/Link';diff --git a/packages/cli/templates/blocks/components/Link/LinkShowcase.doc.mjs b/packages/cli/templates/blocks/components/Link/LinkShowcase.doc.mjsindex 993ca05247..b295da344d 100644--- a/packages/cli/templates/blocks/components/Link/LinkShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Link/LinkShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Link/LinkShowcase.tsx b/packages/cli/templates/blocks/components/Link/LinkShowcase.tsxindex 266dcef4ee..2583b2ef3e 100644--- a/packages/cli/templates/blocks/components/Link/LinkShowcase.tsx+++ b/packages/cli/templates/blocks/components/Link/LinkShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSLink} from '@xds/core/Link';diff --git a/packages/cli/templates/blocks/components/Link/LinksWithTooltips.doc.mjs b/packages/cli/templates/blocks/components/Link/LinksWithTooltips.doc.mjsindex 44ea21d8be..9097b0ad05 100644--- a/packages/cli/templates/blocks/components/Link/LinksWithTooltips.doc.mjs+++ b/packages/cli/templates/blocks/components/Link/LinksWithTooltips.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Link/LinksWithTooltips.tsx b/packages/cli/templates/blocks/components/Link/LinksWithTooltips.tsxindex 52c735522b..9a1575fd52 100644--- a/packages/cli/templates/blocks/components/Link/LinksWithTooltips.tsx+++ b/packages/cli/templates/blocks/components/Link/LinksWithTooltips.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSLink} from '@xds/core/Link';diff --git a/packages/cli/templates/blocks/components/List/ListBasicList.doc.mjs b/packages/cli/templates/blocks/components/List/ListBasicList.doc.mjsindex 1022ededfb..b3f6323911 100644--- a/packages/cli/templates/blocks/components/List/ListBasicList.doc.mjs+++ b/packages/cli/templates/blocks/components/List/ListBasicList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/List/ListBasicList.tsx b/packages/cli/templates/blocks/components/List/ListBasicList.tsxindex c20915cedd..ffffdf39a5 100644--- a/packages/cli/templates/blocks/components/List/ListBasicList.tsx+++ b/packages/cli/templates/blocks/components/List/ListBasicList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSList, XDSListItem} from '@xds/core/List';diff --git a/packages/cli/templates/blocks/components/List/ListBulletedFeatures.doc.mjs b/packages/cli/templates/blocks/components/List/ListBulletedFeatures.doc.mjsindex 37c97c768e..cb18978e67 100644--- a/packages/cli/templates/blocks/components/List/ListBulletedFeatures.doc.mjs+++ b/packages/cli/templates/blocks/components/List/ListBulletedFeatures.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/List/ListBulletedFeatures.tsx b/packages/cli/templates/blocks/components/List/ListBulletedFeatures.tsxindex 8f168027cc..bae18f9633 100644--- a/packages/cli/templates/blocks/components/List/ListBulletedFeatures.tsx+++ b/packages/cli/templates/blocks/components/List/ListBulletedFeatures.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSList, XDSListItem} from '@xds/core/List';diff --git a/packages/cli/templates/blocks/components/List/ListMessageList.doc.mjs b/packages/cli/templates/blocks/components/List/ListMessageList.doc.mjsindex aa23483925..8eaf270855 100644--- a/packages/cli/templates/blocks/components/List/ListMessageList.doc.mjs+++ b/packages/cli/templates/blocks/components/List/ListMessageList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/List/ListMessageList.tsx b/packages/cli/templates/blocks/components/List/ListMessageList.tsxindex a51ed66d25..a1c8ec0863 100644--- a/packages/cli/templates/blocks/components/List/ListMessageList.tsx+++ b/packages/cli/templates/blocks/components/List/ListMessageList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSList, XDSListItem} from '@xds/core/List';diff --git a/packages/cli/templates/blocks/components/List/ListOrderedSteps.doc.mjs b/packages/cli/templates/blocks/components/List/ListOrderedSteps.doc.mjsindex 91a0fb871f..090f85a606 100644--- a/packages/cli/templates/blocks/components/List/ListOrderedSteps.doc.mjs+++ b/packages/cli/templates/blocks/components/List/ListOrderedSteps.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/List/ListOrderedSteps.tsx b/packages/cli/templates/blocks/components/List/ListOrderedSteps.tsxindex 943f12b41f..b7355f62ca 100644--- a/packages/cli/templates/blocks/components/List/ListOrderedSteps.tsx+++ b/packages/cli/templates/blocks/components/List/ListOrderedSteps.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSList, XDSListItem} from '@xds/core/List';diff --git a/packages/cli/templates/blocks/components/List/ListShowcase.doc.mjs b/packages/cli/templates/blocks/components/List/ListShowcase.doc.mjsindex bc2cf237f0..be4fc2c659 100644--- a/packages/cli/templates/blocks/components/List/ListShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/List/ListShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/List/ListShowcase.tsx b/packages/cli/templates/blocks/components/List/ListShowcase.tsxindex e61a172d22..980c6023b9 100644--- a/packages/cli/templates/blocks/components/List/ListShowcase.tsx+++ b/packages/cli/templates/blocks/components/List/ListShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSList, XDSListItem} from '@xds/core/List';diff --git a/packages/cli/templates/blocks/components/ListItem/ListItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/ListItem/ListItemShowcase.doc.mjsindex bb315bcbab..da9259af49 100644--- a/packages/cli/templates/blocks/components/ListItem/ListItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ListItem/ListItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ListItem/ListItemShowcase.tsx b/packages/cli/templates/blocks/components/ListItem/ListItemShowcase.tsxindex e63f2e0997..89e0bb0d98 100644--- a/packages/cli/templates/blocks/components/ListItem/ListItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/ListItem/ListItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSList, XDSListItem} from '@xds/core/List';diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownCitedContent.doc.mjs b/packages/cli/templates/blocks/components/Markdown/MarkdownCitedContent.doc.mjsindex 733c816d75..34574745fc 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownCitedContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownCitedContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownCitedContent.tsx b/packages/cli/templates/blocks/components/Markdown/MarkdownCitedContent.tsxindex c2162919f7..18aa1fe211 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownCitedContent.tsx+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownCitedContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCenter} from '@xds/core/Center';diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownCompactAIResponse.doc.mjs b/packages/cli/templates/blocks/components/Markdown/MarkdownCompactAIResponse.doc.mjsindex 227a7817b2..28009ebffd 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownCompactAIResponse.doc.mjs+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownCompactAIResponse.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownCompactAIResponse.tsx b/packages/cli/templates/blocks/components/Markdown/MarkdownCompactAIResponse.tsxindex dbd8d605b6..5e4c040dec 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownCompactAIResponse.tsx+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownCompactAIResponse.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCenter} from '@xds/core/Center';diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownDataTable.doc.mjs b/packages/cli/templates/blocks/components/Markdown/MarkdownDataTable.doc.mjsindex 9a7015bd06..ba7e75a6b9 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownDataTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownDataTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownDataTable.tsx b/packages/cli/templates/blocks/components/Markdown/MarkdownDataTable.tsxindex cdfeba2e83..9a5c95d626 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownDataTable.tsx+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownDataTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCenter} from '@xds/core/Center';diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownRichContent.doc.mjs b/packages/cli/templates/blocks/components/Markdown/MarkdownRichContent.doc.mjsindex ac9d9e14ef..92c8e9b19d 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownRichContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownRichContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownRichContent.tsx b/packages/cli/templates/blocks/components/Markdown/MarkdownRichContent.tsxindex 35a70e7468..0f1937cb58 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownRichContent.tsx+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownRichContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSCenter} from '@xds/core/Center';diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownShowcase.doc.mjs b/packages/cli/templates/blocks/components/Markdown/MarkdownShowcase.doc.mjsindex d1f69ae07d..ec0f81b29e 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Markdown/MarkdownShowcase.tsx b/packages/cli/templates/blocks/components/Markdown/MarkdownShowcase.tsxindex 3b5d2db61f..2e6ebdc5b2 100644--- a/packages/cli/templates/blocks/components/Markdown/MarkdownShowcase.tsx+++ b/packages/cli/templates/blocks/components/Markdown/MarkdownShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMarkdown} from '@xds/core/Markdown';diff --git a/packages/cli/templates/blocks/components/MediaTheme/MediaThemeShowcase.doc.mjs b/packages/cli/templates/blocks/components/MediaTheme/MediaThemeShowcase.doc.mjsindex afd8c4bf53..5fa08b4a85 100644--- a/packages/cli/templates/blocks/components/MediaTheme/MediaThemeShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/MediaTheme/MediaThemeShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx b/packages/cli/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsxindex 034a5609ea..885a408a49 100644--- a/packages/cli/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx+++ b/packages/cli/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMediaTheme} from '@xds/core/theme';diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListBasicMetadata.doc.mjs b/packages/cli/templates/blocks/components/MetadataList/MetadataListBasicMetadata.doc.mjsindex 7f3f0ff9a0..e5d206d948 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListBasicMetadata.doc.mjs+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListBasicMetadata.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListBasicMetadata.tsx b/packages/cli/templates/blocks/components/MetadataList/MetadataListBasicMetadata.tsxindex 9d27ecb58a..9552ae4ac6 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListBasicMetadata.tsx+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListBasicMetadata.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMetadataList, XDSMetadataListItem} from '@xds/core/MetadataList';diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.doc.mjs b/packages/cli/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.doc.mjsindex fdef280a38..f2375ea19b 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.doc.mjs+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.tsx b/packages/cli/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.tsxindex 6f48197aa6..3f2cdf355f 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.tsx+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMetadataList, XDSMetadataListItem} from '@xds/core/MetadataList';diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.doc.mjs b/packages/cli/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.doc.mjsindex 1b31c36de2..2a9c932b34 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.doc.mjs+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.tsx b/packages/cli/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.tsxindex cc177217dc..70b2809548 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.tsx+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMetadataList, XDSMetadataListItem} from '@xds/core/MetadataList';diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.doc.mjs b/packages/cli/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.doc.mjsindex 86615ee137..92da7f5271 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.doc.mjs+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.tsx b/packages/cli/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.tsxindex 31aa88ff31..f535874f96 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.tsx+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMetadataList, XDSMetadataListItem} from '@xds/core/MetadataList';diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListShowcase.doc.mjs b/packages/cli/templates/blocks/components/MetadataList/MetadataListShowcase.doc.mjsindex 651f18c883..179d9b551e 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MetadataList/MetadataListShowcase.tsx b/packages/cli/templates/blocks/components/MetadataList/MetadataListShowcase.tsxindex f3a776527e..6c08741476 100644--- a/packages/cli/templates/blocks/components/MetadataList/MetadataListShowcase.tsx+++ b/packages/cli/templates/blocks/components/MetadataList/MetadataListShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMetadataList, XDSMetadataListItem} from '@xds/core/MetadataList';diff --git a/packages/cli/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.doc.mjsindex 8a74049428..a892074e00 100644--- a/packages/cli/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.tsx b/packages/cli/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.tsxindex 3329138b55..87ce28b1d3 100644--- a/packages/cli/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMetadataList, XDSMetadataListItem} from '@xds/core/MetadataList';diff --git a/packages/cli/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.doc.mjs b/packages/cli/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.doc.mjsindex 487d439bab..08f6a66e9d 100644--- a/packages/cli/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.doc.mjs+++ b/packages/cli/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.tsx b/packages/cli/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.tsxindex 1faa2e3ace..69a9f2b8ec 100644--- a/packages/cli/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.tsx+++ b/packages/cli/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.doc.mjs b/packages/cli/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.doc.mjsindex b035f1d0ab..4917e59a4a 100644--- a/packages/cli/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.doc.mjs+++ b/packages/cli/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.tsx b/packages/cli/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.tsxindex 944677b442..0e60a88cb2 100644--- a/packages/cli/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.tsx+++ b/packages/cli/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MobileNav/MobileNavShowcase.doc.mjs b/packages/cli/templates/blocks/components/MobileNav/MobileNavShowcase.doc.mjsindex 19300afca9..bc9c8b40ce 100644--- a/packages/cli/templates/blocks/components/MobileNav/MobileNavShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/MobileNav/MobileNavShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MobileNav/MobileNavShowcase.tsx b/packages/cli/templates/blocks/components/MobileNav/MobileNavShowcase.tsxindex de49ab05ca..9febeee806 100644--- a/packages/cli/templates/blocks/components/MobileNav/MobileNavShowcase.tsx+++ b/packages/cli/templates/blocks/components/MobileNav/MobileNavShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.doc.mjs b/packages/cli/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.doc.mjsindex 3da53cdd75..6d01cc74d4 100644--- a/packages/cli/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.doc.mjs+++ b/packages/cli/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.tsx b/packages/cli/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.tsxindex d657f459c1..7ee3ccad92 100644--- a/packages/cli/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.tsx+++ b/packages/cli/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.doc.mjs b/packages/cli/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.doc.mjsindex c87c7b7b75..d8b143faf8 100644--- a/packages/cli/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.tsx b/packages/cli/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.tsxindex e9f5c9b689..483fc49464 100644--- a/packages/cli/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.tsx+++ b/packages/cli/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.doc.mjs b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.doc.mjsindex 1655164df7..987598691b 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.doc.mjs+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.tsx b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.tsxindex d8a4c5b2fe..e4915ca44d 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.tsx+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMoreMenu} from '@xds/core/MoreMenu';diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.doc.mjs b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.doc.mjsindex e6abaa8923..ef389c3536 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.doc.mjs+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.tsx b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.tsxindex 3e2dacf6be..9379951d8e 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.tsx+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMoreMenu} from '@xds/core/MoreMenu';diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuShowcase.doc.mjs b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuShowcase.doc.mjsindex a77ad4cf14..8f58689678 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuShowcase.tsx b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuShowcase.tsxindex 80eaf101da..faaa6a1ae2 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuShowcase.tsx+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithDividers.doc.mjs b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithDividers.doc.mjsindex 174f5fa7d1..791ddf5289 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithDividers.doc.mjs+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithDividers.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithDividers.tsx b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithDividers.tsxindex 918e79751d..7c54353b54 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithDividers.tsx+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithDividers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMoreMenu} from '@xds/core/MoreMenu';diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithSections.doc.mjs b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithSections.doc.mjsindex 74a636153e..abef2c259c 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithSections.doc.mjs+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithSections.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithSections.tsx b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithSections.tsxindex 110dbc85a0..67a0077609 100644--- a/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithSections.tsx+++ b/packages/cli/templates/blocks/components/MoreMenu/MoreMenuWithSections.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSMoreMenu} from '@xds/core/MoreMenu';diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.doc.mjs b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.doc.mjsindex dc4e5bbcea..de6f1a9dda 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.doc.mjs+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.tsx b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.tsxindex 213e9d5885..3c715c4495 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.tsx+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorForm.doc.mjs b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorForm.doc.mjsindex c15b681ae8..90ede35600 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorForm.doc.mjs+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorForm.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorForm.tsx b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorForm.tsxindex 81cfaa5749..69102272b4 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorForm.tsx+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorForm.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.doc.mjs b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.doc.mjsindex 36f65df520..2c65d387f3 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.doc.mjs+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.tsx b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.tsxindex c6c366f3ac..2081fa4b56 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.tsx+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.doc.mjs b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.doc.mjsindex a960fc600d..1bbbfac228 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.doc.mjs+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.tsx b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.tsxindex c404027470..6604b0c69f 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.tsx+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorShowcase.doc.mjs b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorShowcase.doc.mjsindex 29cd61bb43..2812f95b3a 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorShowcase.tsx b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorShowcase.tsxindex 3a3d081de8..aec2f5caa4 100644--- a/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorShowcase.tsx+++ b/packages/cli/templates/blocks/components/MultiSelector/MultiSelectorShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSMultiSelector} from '@xds/core/MultiSelector';export default function MultiSelectorShowcase() {diff --git a/packages/cli/templates/blocks/components/NavIcon/NavIconShowcase.doc.mjs b/packages/cli/templates/blocks/components/NavIcon/NavIconShowcase.doc.mjsindex acebe7d3bc..ecfc5ec1a7 100644--- a/packages/cli/templates/blocks/components/NavIcon/NavIconShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/NavIcon/NavIconShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/NavIcon/NavIconShowcase.tsx b/packages/cli/templates/blocks/components/NavIcon/NavIconShowcase.tsxindex 63cc547feb..9f4dc622dc 100644--- a/packages/cli/templates/blocks/components/NavIcon/NavIconShowcase.tsx+++ b/packages/cli/templates/blocks/components/NavIcon/NavIconShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSNavIcon} from '@xds/core/NavIcon';diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.doc.mjs b/packages/cli/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.doc.mjsindex ab1bb82097..9213e7e6d8 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.doc.mjs+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.tsx b/packages/cli/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.tsxindex bb9cfbb64d..b80571ec59 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.tsx+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.doc.mjs b/packages/cli/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.doc.mjsindex 94ba88b21a..951317461f 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.doc.mjs+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.tsx b/packages/cli/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.tsxindex 29df86b853..26708c0067 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.tsx+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputShowcase.doc.mjs b/packages/cli/templates/blocks/components/NumberInput/NumberInputShowcase.doc.mjsindex 1537b049e2..817f14b1eb 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputShowcase.tsx b/packages/cli/templates/blocks/components/NumberInput/NumberInputShowcase.tsxindex e3f99a3b6c..a4979a737e 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputShowcase.tsx+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSNumberInput} from '@xds/core/NumberInput';export default function NumberInputShowcase() {diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputStatuses.doc.mjs b/packages/cli/templates/blocks/components/NumberInput/NumberInputStatuses.doc.mjsindex 0a9c1ef7d0..62178ab85e 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputStatuses.doc.mjs+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputStatuses.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputStatuses.tsx b/packages/cli/templates/blocks/components/NumberInput/NumberInputStatuses.tsxindex 8cc67970cd..2f9cead736 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputStatuses.tsx+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputStatuses.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputWithUnits.doc.mjs b/packages/cli/templates/blocks/components/NumberInput/NumberInputWithUnits.doc.mjsindex 6559a22348..3db28597a8 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputWithUnits.doc.mjs+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputWithUnits.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/NumberInput/NumberInputWithUnits.tsx b/packages/cli/templates/blocks/components/NumberInput/NumberInputWithUnits.tsxindex cab5a000e0..4d446d564d 100644--- a/packages/cli/templates/blocks/components/NumberInput/NumberInputWithUnits.tsx+++ b/packages/cli/templates/blocks/components/NumberInput/NumberInputWithUnits.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.doc.mjs b/packages/cli/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.doc.mjsindex 4c29c55ac9..4fea5dddfe 100644--- a/packages/cli/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.doc.mjs+++ b/packages/cli/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.tsx b/packages/cli/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.tsxindex 401cb98f13..48a5be764a 100644--- a/packages/cli/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.tsx+++ b/packages/cli/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSOverflowList} from '@xds/core/OverflowList';diff --git a/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowBadges.doc.mjs b/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowBadges.doc.mjsindex 6d7d19b9eb..fd7aa4bad3 100644--- a/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowBadges.doc.mjs+++ b/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowBadges.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowBadges.tsx b/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowBadges.tsxindex 3edfbb090e..8717c2693f 100644--- a/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowBadges.tsx+++ b/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowBadges.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.doc.mjs b/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.doc.mjsindex 4d39db6059..97ce772d70 100644--- a/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.doc.mjs+++ b/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.tsx b/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.tsxindex 0c345eecb0..00b0763727 100644--- a/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.tsx+++ b/packages/cli/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/OverflowList/OverflowListShowcase.doc.mjs b/packages/cli/templates/blocks/components/OverflowList/OverflowListShowcase.doc.mjsindex 8b09707114..e81ffe9933 100644--- a/packages/cli/templates/blocks/components/OverflowList/OverflowListShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/OverflowList/OverflowListShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/OverflowList/OverflowListShowcase.tsx b/packages/cli/templates/blocks/components/OverflowList/OverflowListShowcase.tsxindex b76710b9cb..a1350af7e9 100644--- a/packages/cli/templates/blocks/components/OverflowList/OverflowListShowcase.tsx+++ b/packages/cli/templates/blocks/components/OverflowList/OverflowListShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSOverflowList} from '@xds/core/OverflowList';diff --git a/packages/cli/templates/blocks/components/Pagination/PaginationDotsCarousel.doc.mjs b/packages/cli/templates/blocks/components/Pagination/PaginationDotsCarousel.doc.mjsindex 4921e334e6..d622c3f57c 100644--- a/packages/cli/templates/blocks/components/Pagination/PaginationDotsCarousel.doc.mjs+++ b/packages/cli/templates/blocks/components/Pagination/PaginationDotsCarousel.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Pagination/PaginationDotsCarousel.tsx b/packages/cli/templates/blocks/components/Pagination/PaginationDotsCarousel.tsxindex 3b6a4ebdd2..c78d65949b 100644--- a/packages/cli/templates/blocks/components/Pagination/PaginationDotsCarousel.tsx+++ b/packages/cli/templates/blocks/components/Pagination/PaginationDotsCarousel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Pagination/PaginationPageSize.doc.mjs b/packages/cli/templates/blocks/components/Pagination/PaginationPageSize.doc.mjsindex 07dc0dc535..96b844209a 100644--- a/packages/cli/templates/blocks/components/Pagination/PaginationPageSize.doc.mjs+++ b/packages/cli/templates/blocks/components/Pagination/PaginationPageSize.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Pagination/PaginationPageSize.tsx b/packages/cli/templates/blocks/components/Pagination/PaginationPageSize.tsxindex e12c2b9b4a..ffc8b94500 100644--- a/packages/cli/templates/blocks/components/Pagination/PaginationPageSize.tsx+++ b/packages/cli/templates/blocks/components/Pagination/PaginationPageSize.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Pagination/PaginationVariants.doc.mjs b/packages/cli/templates/blocks/components/Pagination/PaginationVariants.doc.mjsindex f14efff831..008a7c84ac 100644--- a/packages/cli/templates/blocks/components/Pagination/PaginationVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/Pagination/PaginationVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Pagination/PaginationVariants.tsx b/packages/cli/templates/blocks/components/Pagination/PaginationVariants.tsxindex def70c1524..c375de7b6c 100644--- a/packages/cli/templates/blocks/components/Pagination/PaginationVariants.tsx+++ b/packages/cli/templates/blocks/components/Pagination/PaginationVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Pagination/PaginationWithTable.doc.mjs b/packages/cli/templates/blocks/components/Pagination/PaginationWithTable.doc.mjsindex 4d33abd222..d062f27219 100644--- a/packages/cli/templates/blocks/components/Pagination/PaginationWithTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Pagination/PaginationWithTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Pagination/PaginationWithTable.tsx b/packages/cli/templates/blocks/components/Pagination/PaginationWithTable.tsxindex 90f926827d..931edb062c 100644--- a/packages/cli/templates/blocks/components/Pagination/PaginationWithTable.tsx+++ b/packages/cli/templates/blocks/components/Pagination/PaginationWithTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Popover/PopoverConfirmAction.doc.mjs b/packages/cli/templates/blocks/components/Popover/PopoverConfirmAction.doc.mjsindex 9939b9f10a..8a4d95f745 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverConfirmAction.doc.mjs+++ b/packages/cli/templates/blocks/components/Popover/PopoverConfirmAction.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Popover/PopoverConfirmAction.tsx b/packages/cli/templates/blocks/components/Popover/PopoverConfirmAction.tsxindex e7b25cd301..b5ffc058b3 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverConfirmAction.tsx+++ b/packages/cli/templates/blocks/components/Popover/PopoverConfirmAction.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Popover/PopoverFilterPanel.doc.mjs b/packages/cli/templates/blocks/components/Popover/PopoverFilterPanel.doc.mjsindex 68d8f0efde..fc4877ed44 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverFilterPanel.doc.mjs+++ b/packages/cli/templates/blocks/components/Popover/PopoverFilterPanel.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Popover/PopoverFilterPanel.tsx b/packages/cli/templates/blocks/components/Popover/PopoverFilterPanel.tsxindex c39ea39add..495b699e33 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverFilterPanel.tsx+++ b/packages/cli/templates/blocks/components/Popover/PopoverFilterPanel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Popover/PopoverKeyboardShortcuts.doc.mjs b/packages/cli/templates/blocks/components/Popover/PopoverKeyboardShortcuts.doc.mjsindex 113068876c..277f9733a4 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverKeyboardShortcuts.doc.mjs+++ b/packages/cli/templates/blocks/components/Popover/PopoverKeyboardShortcuts.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Popover/PopoverKeyboardShortcuts.tsx b/packages/cli/templates/blocks/components/Popover/PopoverKeyboardShortcuts.tsxindex 4e1c2b6580..64c808b183 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverKeyboardShortcuts.tsx+++ b/packages/cli/templates/blocks/components/Popover/PopoverKeyboardShortcuts.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSPopover} from '@xds/core/Popover';diff --git a/packages/cli/templates/blocks/components/Popover/PopoverSettingsPanel.doc.mjs b/packages/cli/templates/blocks/components/Popover/PopoverSettingsPanel.doc.mjsindex d1bf121bf4..081713e2b7 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverSettingsPanel.doc.mjs+++ b/packages/cli/templates/blocks/components/Popover/PopoverSettingsPanel.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Popover/PopoverSettingsPanel.tsx b/packages/cli/templates/blocks/components/Popover/PopoverSettingsPanel.tsxindex e46bcb0356..9a06cef2b5 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverSettingsPanel.tsx+++ b/packages/cli/templates/blocks/components/Popover/PopoverSettingsPanel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Popover/PopoverShowcase.doc.mjs b/packages/cli/templates/blocks/components/Popover/PopoverShowcase.doc.mjsindex 6a9f5cfe56..287a94d1c1 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Popover/PopoverShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Popover/PopoverShowcase.tsx b/packages/cli/templates/blocks/components/Popover/PopoverShowcase.tsxindex 981955d2e1..5056982e1d 100644--- a/packages/cli/templates/blocks/components/Popover/PopoverShowcase.tsx+++ b/packages/cli/templates/blocks/components/Popover/PopoverShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchContentSearch.doc.mjs b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchContentSearch.doc.mjsindex 40387fefce..e286e531c3 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchContentSearch.doc.mjs+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchContentSearch.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchContentSearch.tsx b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchContentSearch.tsxindex 780a01b824..a34f37c892 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchContentSearch.tsx+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchContentSearch.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.doc.mjs b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.doc.mjsindex 9e40c3b59e..6ac1089ad6 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.doc.mjs+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.tsx b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.tsxindex b0c5356a6d..b8a068bd4f 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.tsx+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.doc.mjs b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.doc.mjsindex 323121fd42..ad2d0f9fbc 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.doc.mjs+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.tsx b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.tsxindex 5f3039f85b..ecc4a47583 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.tsx+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.doc.mjs b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.doc.mjsindex 30b2336f9e..d16224339b 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.doc.mjs+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.tsx b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.tsxindex b9ce0a011c..a5095fad4b 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.tsx+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchShowcase.doc.mjs b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchShowcase.doc.mjsindex e1b77a50d9..4d3571d5c2 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchShowcase.tsx b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchShowcase.tsxindex da364312e3..9694ccda63 100644--- a/packages/cli/templates/blocks/components/PowerSearch/PowerSearchShowcase.tsx+++ b/packages/cli/templates/blocks/components/PowerSearch/PowerSearchShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.doc.mjs b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.doc.mjsindex 88ae32e317..8b6fc3b89a 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.doc.mjs+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.tsx b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.tsxindex 058c53064a..86f4791d5b 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.tsx+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSProgressBar} from '@xds/core/ProgressBar';diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.doc.mjs b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.doc.mjsindex 2a530690c9..385a18a288 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.doc.mjs+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.tsx b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.tsxindex b58a9c7b27..a6628b76a7 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.tsx+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSProgressBar} from '@xds/core/ProgressBar';diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.doc.mjs b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.doc.mjsindex 1892267b89..5feeb0a14c 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.tsx b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.tsxindex 753c2e38e3..f85ac5fc5f 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.tsx+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSProgressBar} from '@xds/core/ProgressBar';diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarShowcase.doc.mjs b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarShowcase.doc.mjsindex e5cb356b56..0b97135fa4 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarShowcase.tsx b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarShowcase.tsxindex 3981cd09be..9cdcee57b4 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarShowcase.tsx+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSProgressBar} from '@xds/core/ProgressBar';diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.doc.mjs b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.doc.mjsindex 2a26c88c64..585904bf0d 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.doc.mjs+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.tsx b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.tsxindex 66793e6b89..3238f9b3a1 100644--- a/packages/cli/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.tsx+++ b/packages/cli/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSProgressBar} from '@xds/core/ProgressBar';diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListHorizontalLayout.doc.mjs b/packages/cli/templates/blocks/components/RadioList/RadioListHorizontalLayout.doc.mjsindex 4f2f8dea60..ae7d7fd551 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListHorizontalLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/RadioList/RadioListHorizontalLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListHorizontalLayout.tsx b/packages/cli/templates/blocks/components/RadioList/RadioListHorizontalLayout.tsxindex 830b44922d..432ea8deb2 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListHorizontalLayout.tsx+++ b/packages/cli/templates/blocks/components/RadioList/RadioListHorizontalLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListPricingTier.doc.mjs b/packages/cli/templates/blocks/components/RadioList/RadioListPricingTier.doc.mjsindex aa0c42f8c5..a47782fa51 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListPricingTier.doc.mjs+++ b/packages/cli/templates/blocks/components/RadioList/RadioListPricingTier.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListPricingTier.tsx b/packages/cli/templates/blocks/components/RadioList/RadioListPricingTier.tsxindex 605b031737..6a78c7a554 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListPricingTier.tsx+++ b/packages/cli/templates/blocks/components/RadioList/RadioListPricingTier.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListShowcase.doc.mjs b/packages/cli/templates/blocks/components/RadioList/RadioListShowcase.doc.mjsindex 85d9c94251..df5500c50b 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/RadioList/RadioListShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListShowcase.tsx b/packages/cli/templates/blocks/components/RadioList/RadioListShowcase.tsxindex 893d5d0a93..5ca9dc33a3 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListShowcase.tsx+++ b/packages/cli/templates/blocks/components/RadioList/RadioListShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSRadioList, XDSRadioListItem} from '@xds/core/RadioList';export default function RadioListShowcase() {diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListWithDescriptions.doc.mjs b/packages/cli/templates/blocks/components/RadioList/RadioListWithDescriptions.doc.mjsindex 01ae9643b7..a6e1cc3ad1 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListWithDescriptions.doc.mjs+++ b/packages/cli/templates/blocks/components/RadioList/RadioListWithDescriptions.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListWithDescriptions.tsx b/packages/cli/templates/blocks/components/RadioList/RadioListWithDescriptions.tsxindex d1402235e3..3731ded204 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListWithDescriptions.tsx+++ b/packages/cli/templates/blocks/components/RadioList/RadioListWithDescriptions.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListWithValidation.doc.mjs b/packages/cli/templates/blocks/components/RadioList/RadioListWithValidation.doc.mjsindex 7d969a0a1d..93f01b469f 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListWithValidation.doc.mjs+++ b/packages/cli/templates/blocks/components/RadioList/RadioListWithValidation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/RadioList/RadioListWithValidation.tsx b/packages/cli/templates/blocks/components/RadioList/RadioListWithValidation.tsxindex 088b2fd335..df07fa20ee 100644--- a/packages/cli/templates/blocks/components/RadioList/RadioListWithValidation.tsx+++ b/packages/cli/templates/blocks/components/RadioList/RadioListWithValidation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/RadioListItem/RadioListItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/RadioListItem/RadioListItemShowcase.doc.mjsindex 462fc47cd7..9a5597034e 100644--- a/packages/cli/templates/blocks/components/RadioListItem/RadioListItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/RadioListItem/RadioListItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/RadioListItem/RadioListItemShowcase.tsx b/packages/cli/templates/blocks/components/RadioListItem/RadioListItemShowcase.tsxindex 7a27a51e88..beb858bfdc 100644--- a/packages/cli/templates/blocks/components/RadioListItem/RadioListItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/RadioListItem/RadioListItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Resizable/ResizableShowcase.doc.mjs b/packages/cli/templates/blocks/components/Resizable/ResizableShowcase.doc.mjsindex 014fb5aa6b..92b4941fd9 100644--- a/packages/cli/templates/blocks/components/Resizable/ResizableShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Resizable/ResizableShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Resizable/ResizableShowcase.tsx b/packages/cli/templates/blocks/components/Resizable/ResizableShowcase.tsxindex df0efe573a..1a0cac9364 100644--- a/packages/cli/templates/blocks/components/Resizable/ResizableShowcase.tsx+++ b/packages/cli/templates/blocks/components/Resizable/ResizableShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useXDSResizable, XDSResizeHandle} from '@xds/core/Resizable';diff --git a/packages/cli/templates/blocks/components/Section/SectionVariants.doc.mjs b/packages/cli/templates/blocks/components/Section/SectionVariants.doc.mjsindex a872da9a77..082d753e90 100644--- a/packages/cli/templates/blocks/components/Section/SectionVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/Section/SectionVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Section/SectionVariants.tsx b/packages/cli/templates/blocks/components/Section/SectionVariants.tsxindex d701c467d8..e32e173448 100644--- a/packages/cli/templates/blocks/components/Section/SectionVariants.tsx+++ b/packages/cli/templates/blocks/components/Section/SectionVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSection} from '@xds/core/Section';diff --git a/packages/cli/templates/blocks/components/Section/SectionWashHighlight.doc.mjs b/packages/cli/templates/blocks/components/Section/SectionWashHighlight.doc.mjsindex 011e9d4621..2dcbb8fbe3 100644--- a/packages/cli/templates/blocks/components/Section/SectionWashHighlight.doc.mjs+++ b/packages/cli/templates/blocks/components/Section/SectionWashHighlight.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Section/SectionWashHighlight.tsx b/packages/cli/templates/blocks/components/Section/SectionWashHighlight.tsxindex 0e9f80f68c..513f3c9f99 100644--- a/packages/cli/templates/blocks/components/Section/SectionWashHighlight.tsx+++ b/packages/cli/templates/blocks/components/Section/SectionWashHighlight.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSection} from '@xds/core/Section';diff --git a/packages/cli/templates/blocks/components/Section/SectionWithDividers.doc.mjs b/packages/cli/templates/blocks/components/Section/SectionWithDividers.doc.mjsindex b760da1d24..42d3f1130c 100644--- a/packages/cli/templates/blocks/components/Section/SectionWithDividers.doc.mjs+++ b/packages/cli/templates/blocks/components/Section/SectionWithDividers.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Section/SectionWithDividers.tsx b/packages/cli/templates/blocks/components/Section/SectionWithDividers.tsxindex 9b6c5aa772..d80448cbdd 100644--- a/packages/cli/templates/blocks/components/Section/SectionWithDividers.tsx+++ b/packages/cli/templates/blocks/components/Section/SectionWithDividers.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSection} from '@xds/core/Section';diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.doc.mjs b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.doc.mjsindex 8210d2ce2e..dba5953719 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.doc.mjs+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.tsx b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.tsxindex 845dfd942a..9c3dfb620c 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.tsx+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.doc.mjs b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.doc.mjsindex 7219226ef7..2e7b667033 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.tsx b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.tsxindex 6d929438e2..e19754a317 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.tsx+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.doc.mjs b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.doc.mjsindex 69dafe2af0..c5feca656f 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.doc.mjs+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.tsx b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.tsxindex 8dc7402483..ded245f0ab 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.tsx+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.doc.mjs b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.doc.mjsindex 2ad282311d..a1bc462912 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.tsx b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.tsxindex ed849884c5..1ceb317eef 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.tsx+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.doc.mjs b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.doc.mjsindex d66738eb6d..64fd8c05c0 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.doc.mjs+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.tsx b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.tsxindex 5124ad6cca..1ad9e72d7f 100644--- a/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.tsx+++ b/packages/cli/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.doc.mjsindex d08a511076..1f606d6687 100644--- a/packages/cli/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.tsx b/packages/cli/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.tsxindex c3b985e893..9a077f2521 100644--- a/packages/cli/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Selector/SelectorClearable.doc.mjs b/packages/cli/templates/blocks/components/Selector/SelectorClearable.doc.mjsindex 379920e592..00c32a78ec 100644--- a/packages/cli/templates/blocks/components/Selector/SelectorClearable.doc.mjs+++ b/packages/cli/templates/blocks/components/Selector/SelectorClearable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Selector/SelectorClearable.tsx b/packages/cli/templates/blocks/components/Selector/SelectorClearable.tsxindex f3e1df5ef8..a1f38ed2a2 100644--- a/packages/cli/templates/blocks/components/Selector/SelectorClearable.tsx+++ b/packages/cli/templates/blocks/components/Selector/SelectorClearable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Selector/SelectorShowcase.doc.mjs b/packages/cli/templates/blocks/components/Selector/SelectorShowcase.doc.mjsindex db890a00c1..003c519240 100644--- a/packages/cli/templates/blocks/components/Selector/SelectorShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Selector/SelectorShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Selector/SelectorShowcase.tsx b/packages/cli/templates/blocks/components/Selector/SelectorShowcase.tsxindex 91ce1da394..9dd40a6450 100644--- a/packages/cli/templates/blocks/components/Selector/SelectorShowcase.tsx+++ b/packages/cli/templates/blocks/components/Selector/SelectorShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSelector} from '@xds/core/Selector';diff --git a/packages/cli/templates/blocks/components/Selector/SelectorWithSections.doc.mjs b/packages/cli/templates/blocks/components/Selector/SelectorWithSections.doc.mjsindex 60e2b70a16..08ded93bfb 100644--- a/packages/cli/templates/blocks/components/Selector/SelectorWithSections.doc.mjs+++ b/packages/cli/templates/blocks/components/Selector/SelectorWithSections.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Selector/SelectorWithSections.tsx b/packages/cli/templates/blocks/components/Selector/SelectorWithSections.tsxindex c488e8ea8c..cb34fc11b8 100644--- a/packages/cli/templates/blocks/components/Selector/SelectorWithSections.tsx+++ b/packages/cli/templates/blocks/components/Selector/SelectorWithSections.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Selector/SelectorWithStatus.doc.mjs b/packages/cli/templates/blocks/components/Selector/SelectorWithStatus.doc.mjsindex b4fda2c572..c35137e1da 100644--- a/packages/cli/templates/blocks/components/Selector/SelectorWithStatus.doc.mjs+++ b/packages/cli/templates/blocks/components/Selector/SelectorWithStatus.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Selector/SelectorWithStatus.tsx b/packages/cli/templates/blocks/components/Selector/SelectorWithStatus.tsxindex 06fe6a35f0..88f89f1097 100644--- a/packages/cli/templates/blocks/components/Selector/SelectorWithStatus.tsx+++ b/packages/cli/templates/blocks/components/Selector/SelectorWithStatus.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/SelectorOption/SelectorOptionShowcase.doc.mjs b/packages/cli/templates/blocks/components/SelectorOption/SelectorOptionShowcase.doc.mjsindex 215f7e0cde..6774d52fb3 100644--- a/packages/cli/templates/blocks/components/SelectorOption/SelectorOptionShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SelectorOption/SelectorOptionShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SelectorOption/SelectorOptionShowcase.tsx b/packages/cli/templates/blocks/components/SelectorOption/SelectorOptionShowcase.tsxindex 66c3f1146c..74305d508d 100644--- a/packages/cli/templates/blocks/components/SelectorOption/SelectorOptionShowcase.tsx+++ b/packages/cli/templates/blocks/components/SelectorOption/SelectorOptionShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/SideNav/SideNavEndContent.doc.mjs b/packages/cli/templates/blocks/components/SideNav/SideNavEndContent.doc.mjsindex dbf6086436..be8aee6240 100644--- a/packages/cli/templates/blocks/components/SideNav/SideNavEndContent.doc.mjs+++ b/packages/cli/templates/blocks/components/SideNav/SideNavEndContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SideNav/SideNavEndContent.tsx b/packages/cli/templates/blocks/components/SideNav/SideNavEndContent.tsxindex fe78d1b6fd..92f24b4cfa 100644--- a/packages/cli/templates/blocks/components/SideNav/SideNavEndContent.tsx+++ b/packages/cli/templates/blocks/components/SideNav/SideNavEndContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ComponentProps} from 'react';diff --git a/packages/cli/templates/blocks/components/SideNav/SideNavNestedItems.doc.mjs b/packages/cli/templates/blocks/components/SideNav/SideNavNestedItems.doc.mjsindex 5ba5db3cb8..a0f538121b 100644--- a/packages/cli/templates/blocks/components/SideNav/SideNavNestedItems.doc.mjs+++ b/packages/cli/templates/blocks/components/SideNav/SideNavNestedItems.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SideNav/SideNavNestedItems.tsx b/packages/cli/templates/blocks/components/SideNav/SideNavNestedItems.tsxindex 9b0b40036c..22998c4173 100644--- a/packages/cli/templates/blocks/components/SideNav/SideNavNestedItems.tsx+++ b/packages/cli/templates/blocks/components/SideNav/SideNavNestedItems.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ComponentProps} from 'react';diff --git a/packages/cli/templates/blocks/components/SideNav/SideNavShowcase.doc.mjs b/packages/cli/templates/blocks/components/SideNav/SideNavShowcase.doc.mjsindex 53569f9f5c..d0bfd44165 100644--- a/packages/cli/templates/blocks/components/SideNav/SideNavShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SideNav/SideNavShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SideNav/SideNavShowcase.tsx b/packages/cli/templates/blocks/components/SideNav/SideNavShowcase.tsxindex 880c37453c..5dc0d7c2ab 100644--- a/packages/cli/templates/blocks/components/SideNav/SideNavShowcase.tsx+++ b/packages/cli/templates/blocks/components/SideNav/SideNavShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ComponentProps} from 'react';diff --git a/packages/cli/templates/blocks/components/SideNav/SideNavWithHeaderMenu.doc.mjs b/packages/cli/templates/blocks/components/SideNav/SideNavWithHeaderMenu.doc.mjsindex 25e1dba472..0df97786cb 100644--- a/packages/cli/templates/blocks/components/SideNav/SideNavWithHeaderMenu.doc.mjs+++ b/packages/cli/templates/blocks/components/SideNav/SideNavWithHeaderMenu.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SideNav/SideNavWithHeaderMenu.tsx b/packages/cli/templates/blocks/components/SideNav/SideNavWithHeaderMenu.tsxindex 6e4f02cc97..ee46b28da7 100644--- a/packages/cli/templates/blocks/components/SideNav/SideNavWithHeaderMenu.tsx+++ b/packages/cli/templates/blocks/components/SideNav/SideNavWithHeaderMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ComponentProps} from 'react';diff --git a/packages/cli/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.doc.mjs b/packages/cli/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.doc.mjsindex 0b6c518497..1e1ee5256f 100644--- a/packages/cli/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.tsx b/packages/cli/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.tsxindex c6b98c4294..bd8e3fa05a 100644--- a/packages/cli/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.tsx+++ b/packages/cli/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ComponentProps} from 'react';diff --git a/packages/cli/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.doc.mjs b/packages/cli/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.doc.mjsindex 13c83749fe..fd479e00db 100644--- a/packages/cli/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.tsx b/packages/cli/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.tsxindex 6f3142251e..9ac7b0f7e5 100644--- a/packages/cli/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.tsx+++ b/packages/cli/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSideNav, XDSSideNavHeading} from '@xds/core/SideNav';diff --git a/packages/cli/templates/blocks/components/SideNavItem/SideNavItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/SideNavItem/SideNavItemShowcase.doc.mjsindex 8d69b81a51..96b350b115 100644--- a/packages/cli/templates/blocks/components/SideNavItem/SideNavItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SideNavItem/SideNavItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SideNavItem/SideNavItemShowcase.tsx b/packages/cli/templates/blocks/components/SideNavItem/SideNavItemShowcase.tsxindex acf2763513..823227abdb 100644--- a/packages/cli/templates/blocks/components/SideNavItem/SideNavItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/SideNavItem/SideNavItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ComponentProps} from 'react';diff --git a/packages/cli/templates/blocks/components/SideNavSection/SideNavSectionShowcase.doc.mjs b/packages/cli/templates/blocks/components/SideNavSection/SideNavSectionShowcase.doc.mjsindex e0f484e547..2b6b061fb0 100644--- a/packages/cli/templates/blocks/components/SideNavSection/SideNavSectionShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SideNavSection/SideNavSectionShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SideNavSection/SideNavSectionShowcase.tsx b/packages/cli/templates/blocks/components/SideNavSection/SideNavSectionShowcase.tsxindex afe39ff9a4..0ef5f4a610 100644--- a/packages/cli/templates/blocks/components/SideNavSection/SideNavSectionShowcase.tsx+++ b/packages/cli/templates/blocks/components/SideNavSection/SideNavSectionShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ComponentProps} from 'react';diff --git a/packages/cli/templates/blocks/components/Skeleton/SkeletonCardSkeleton.doc.mjs b/packages/cli/templates/blocks/components/Skeleton/SkeletonCardSkeleton.doc.mjsindex 71e7b81f00..21ec50f56d 100644--- a/packages/cli/templates/blocks/components/Skeleton/SkeletonCardSkeleton.doc.mjs+++ b/packages/cli/templates/blocks/components/Skeleton/SkeletonCardSkeleton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Skeleton/SkeletonCardSkeleton.tsx b/packages/cli/templates/blocks/components/Skeleton/SkeletonCardSkeleton.tsxindex cd5c193faf..a6cb161e40 100644--- a/packages/cli/templates/blocks/components/Skeleton/SkeletonCardSkeleton.tsx+++ b/packages/cli/templates/blocks/components/Skeleton/SkeletonCardSkeleton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSkeleton} from '@xds/core/Skeleton';diff --git a/packages/cli/templates/blocks/components/Skeleton/SkeletonShowcase.doc.mjs b/packages/cli/templates/blocks/components/Skeleton/SkeletonShowcase.doc.mjsindex 0b5fe3597b..6b2b1c26d1 100644--- a/packages/cli/templates/blocks/components/Skeleton/SkeletonShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Skeleton/SkeletonShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Skeleton/SkeletonShowcase.tsx b/packages/cli/templates/blocks/components/Skeleton/SkeletonShowcase.tsxindex 1731295032..99f2520d06 100644--- a/packages/cli/templates/blocks/components/Skeleton/SkeletonShowcase.tsx+++ b/packages/cli/templates/blocks/components/Skeleton/SkeletonShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSkeleton} from '@xds/core/Skeleton';diff --git a/packages/cli/templates/blocks/components/Skeleton/SkeletonStaggeredList.doc.mjs b/packages/cli/templates/blocks/components/Skeleton/SkeletonStaggeredList.doc.mjsindex 14c56bf68f..878e9713da 100644--- a/packages/cli/templates/blocks/components/Skeleton/SkeletonStaggeredList.doc.mjs+++ b/packages/cli/templates/blocks/components/Skeleton/SkeletonStaggeredList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Skeleton/SkeletonStaggeredList.tsx b/packages/cli/templates/blocks/components/Skeleton/SkeletonStaggeredList.tsxindex d1a23d054d..496c088cff 100644--- a/packages/cli/templates/blocks/components/Skeleton/SkeletonStaggeredList.tsx+++ b/packages/cli/templates/blocks/components/Skeleton/SkeletonStaggeredList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSkeleton} from '@xds/core/Skeleton';diff --git a/packages/cli/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.doc.mjs b/packages/cli/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.doc.mjsindex a8fc5fb84b..602d657aa1 100644--- a/packages/cli/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.doc.mjs+++ b/packages/cli/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.tsx b/packages/cli/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.tsxindex 5cedaaf356..fc6be6bca6 100644--- a/packages/cli/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.tsx+++ b/packages/cli/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSkeleton} from '@xds/core/Skeleton';diff --git a/packages/cli/templates/blocks/components/Slider/SliderFormattedValue.doc.mjs b/packages/cli/templates/blocks/components/Slider/SliderFormattedValue.doc.mjsindex 29cb7d9564..4e70af0bfa 100644--- a/packages/cli/templates/blocks/components/Slider/SliderFormattedValue.doc.mjs+++ b/packages/cli/templates/blocks/components/Slider/SliderFormattedValue.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Slider/SliderFormattedValue.tsx b/packages/cli/templates/blocks/components/Slider/SliderFormattedValue.tsxindex 9d3f0054f8..da87d75702 100644--- a/packages/cli/templates/blocks/components/Slider/SliderFormattedValue.tsx+++ b/packages/cli/templates/blocks/components/Slider/SliderFormattedValue.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Slider/SliderRangeSlider.doc.mjs b/packages/cli/templates/blocks/components/Slider/SliderRangeSlider.doc.mjsindex c34e21c78f..b719a4314b 100644--- a/packages/cli/templates/blocks/components/Slider/SliderRangeSlider.doc.mjs+++ b/packages/cli/templates/blocks/components/Slider/SliderRangeSlider.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Slider/SliderRangeSlider.tsx b/packages/cli/templates/blocks/components/Slider/SliderRangeSlider.tsxindex a6d3fedd6f..814da61cfa 100644--- a/packages/cli/templates/blocks/components/Slider/SliderRangeSlider.tsx+++ b/packages/cli/templates/blocks/components/Slider/SliderRangeSlider.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Slider/SliderShowcase.doc.mjs b/packages/cli/templates/blocks/components/Slider/SliderShowcase.doc.mjsindex ab0adba9f0..84b713e0aa 100644--- a/packages/cli/templates/blocks/components/Slider/SliderShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Slider/SliderShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Slider/SliderShowcase.tsx b/packages/cli/templates/blocks/components/Slider/SliderShowcase.tsxindex 37174d9c60..5308cb26c2 100644--- a/packages/cli/templates/blocks/components/Slider/SliderShowcase.tsx+++ b/packages/cli/templates/blocks/components/Slider/SliderShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSlider} from '@xds/core/Slider';diff --git a/packages/cli/templates/blocks/components/Slider/SliderWithMarks.doc.mjs b/packages/cli/templates/blocks/components/Slider/SliderWithMarks.doc.mjsindex 096bc2b08b..478b4fa506 100644--- a/packages/cli/templates/blocks/components/Slider/SliderWithMarks.doc.mjs+++ b/packages/cli/templates/blocks/components/Slider/SliderWithMarks.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Slider/SliderWithMarks.tsx b/packages/cli/templates/blocks/components/Slider/SliderWithMarks.tsxindex 4660b6225c..8c5d5b1723 100644--- a/packages/cli/templates/blocks/components/Slider/SliderWithMarks.tsx+++ b/packages/cli/templates/blocks/components/Slider/SliderWithMarks.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Slider/SliderWithStatus.doc.mjs b/packages/cli/templates/blocks/components/Slider/SliderWithStatus.doc.mjsindex d6afb2e417..d7fe5a5400 100644--- a/packages/cli/templates/blocks/components/Slider/SliderWithStatus.doc.mjs+++ b/packages/cli/templates/blocks/components/Slider/SliderWithStatus.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Slider/SliderWithStatus.tsx b/packages/cli/templates/blocks/components/Slider/SliderWithStatus.tsxindex df378b4f3f..a46727797d 100644--- a/packages/cli/templates/blocks/components/Slider/SliderWithStatus.tsx+++ b/packages/cli/templates/blocks/components/Slider/SliderWithStatus.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Spinner/SpinnerOnMedia.doc.mjs b/packages/cli/templates/blocks/components/Spinner/SpinnerOnMedia.doc.mjsindex 4f0c3deeea..87b7ca37d1 100644--- a/packages/cli/templates/blocks/components/Spinner/SpinnerOnMedia.doc.mjs+++ b/packages/cli/templates/blocks/components/Spinner/SpinnerOnMedia.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Spinner/SpinnerOnMedia.tsx b/packages/cli/templates/blocks/components/Spinner/SpinnerOnMedia.tsxindex 890d8140c0..4c62d9edce 100644--- a/packages/cli/templates/blocks/components/Spinner/SpinnerOnMedia.tsx+++ b/packages/cli/templates/blocks/components/Spinner/SpinnerOnMedia.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSpinner} from '@xds/core/Spinner';diff --git a/packages/cli/templates/blocks/components/Spinner/SpinnerShowcase.doc.mjs b/packages/cli/templates/blocks/components/Spinner/SpinnerShowcase.doc.mjsindex 4719d3c57c..72997f49b3 100644--- a/packages/cli/templates/blocks/components/Spinner/SpinnerShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Spinner/SpinnerShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Spinner/SpinnerShowcase.tsx b/packages/cli/templates/blocks/components/Spinner/SpinnerShowcase.tsxindex f7ef75680b..6c9a894b86 100644--- a/packages/cli/templates/blocks/components/Spinner/SpinnerShowcase.tsx+++ b/packages/cli/templates/blocks/components/Spinner/SpinnerShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSpinner} from '@xds/core/Spinner';diff --git a/packages/cli/templates/blocks/components/Spinner/SpinnerSizes.doc.mjs b/packages/cli/templates/blocks/components/Spinner/SpinnerSizes.doc.mjsindex fcaf2e56d2..40583f469b 100644--- a/packages/cli/templates/blocks/components/Spinner/SpinnerSizes.doc.mjs+++ b/packages/cli/templates/blocks/components/Spinner/SpinnerSizes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Spinner/SpinnerSizes.tsx b/packages/cli/templates/blocks/components/Spinner/SpinnerSizes.tsxindex ff130bbbbf..a500b748c3 100644--- a/packages/cli/templates/blocks/components/Spinner/SpinnerSizes.tsx+++ b/packages/cli/templates/blocks/components/Spinner/SpinnerSizes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSpinner} from '@xds/core/Spinner';diff --git a/packages/cli/templates/blocks/components/Spinner/SpinnerWithLabel.doc.mjs b/packages/cli/templates/blocks/components/Spinner/SpinnerWithLabel.doc.mjsindex e1fc3eea0a..f5cabaac89 100644--- a/packages/cli/templates/blocks/components/Spinner/SpinnerWithLabel.doc.mjs+++ b/packages/cli/templates/blocks/components/Spinner/SpinnerWithLabel.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Spinner/SpinnerWithLabel.tsx b/packages/cli/templates/blocks/components/Spinner/SpinnerWithLabel.tsxindex 5f0915895d..d9e74c1f8e 100644--- a/packages/cli/templates/blocks/components/Spinner/SpinnerWithLabel.tsx+++ b/packages/cli/templates/blocks/components/Spinner/SpinnerWithLabel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSpinner} from '@xds/core/Spinner';diff --git a/packages/cli/templates/blocks/components/Stack/StackAlignment.doc.mjs b/packages/cli/templates/blocks/components/Stack/StackAlignment.doc.mjsindex 9607b4dd50..5d4eccb537 100644--- a/packages/cli/templates/blocks/components/Stack/StackAlignment.doc.mjs+++ b/packages/cli/templates/blocks/components/Stack/StackAlignment.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Stack/StackAlignment.tsx b/packages/cli/templates/blocks/components/Stack/StackAlignment.tsxindex c21232a7bb..dc00e212cd 100644--- a/packages/cli/templates/blocks/components/Stack/StackAlignment.tsx+++ b/packages/cli/templates/blocks/components/Stack/StackAlignment.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSStack} from '@xds/core/Layout';diff --git a/packages/cli/templates/blocks/components/Stack/StackDirections.doc.mjs b/packages/cli/templates/blocks/components/Stack/StackDirections.doc.mjsindex 0f8698a146..cf984d58dc 100644--- a/packages/cli/templates/blocks/components/Stack/StackDirections.doc.mjs+++ b/packages/cli/templates/blocks/components/Stack/StackDirections.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Stack/StackDirections.tsx b/packages/cli/templates/blocks/components/Stack/StackDirections.tsxindex 450f691346..9a5f3de0e3 100644--- a/packages/cli/templates/blocks/components/Stack/StackDirections.tsx+++ b/packages/cli/templates/blocks/components/Stack/StackDirections.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHStack, XDSVStack} from '@xds/core/Layout';diff --git a/packages/cli/templates/blocks/components/Stack/StackFillItem.doc.mjs b/packages/cli/templates/blocks/components/Stack/StackFillItem.doc.mjsindex 174efa1c05..67b1ed7d00 100644--- a/packages/cli/templates/blocks/components/Stack/StackFillItem.doc.mjs+++ b/packages/cli/templates/blocks/components/Stack/StackFillItem.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Stack/StackFillItem.tsx b/packages/cli/templates/blocks/components/Stack/StackFillItem.tsxindex 53d0aeb373..3af90fd336 100644--- a/packages/cli/templates/blocks/components/Stack/StackFillItem.tsx+++ b/packages/cli/templates/blocks/components/Stack/StackFillItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSStack, XDSStackItem} from '@xds/core/Layout';diff --git a/packages/cli/templates/blocks/components/StackItem/StackItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/StackItem/StackItemShowcase.doc.mjsindex dfd491378a..bf016b96a2 100644--- a/packages/cli/templates/blocks/components/StackItem/StackItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/StackItem/StackItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/StackItem/StackItemShowcase.tsx b/packages/cli/templates/blocks/components/StackItem/StackItemShowcase.tsxindex fe6b95c177..ae9bfc09de 100644--- a/packages/cli/templates/blocks/components/StackItem/StackItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/StackItem/StackItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHStack, XDSStackItem} from '@xds/core/Layout';diff --git a/packages/cli/templates/blocks/components/StatusDot/StatusDotPulsing.doc.mjs b/packages/cli/templates/blocks/components/StatusDot/StatusDotPulsing.doc.mjsindex 96f0ce6638..845df12121 100644--- a/packages/cli/templates/blocks/components/StatusDot/StatusDotPulsing.doc.mjs+++ b/packages/cli/templates/blocks/components/StatusDot/StatusDotPulsing.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/StatusDot/StatusDotPulsing.tsx b/packages/cli/templates/blocks/components/StatusDot/StatusDotPulsing.tsxindex 3e1be0c5bf..4219d4447b 100644--- a/packages/cli/templates/blocks/components/StatusDot/StatusDotPulsing.tsx+++ b/packages/cli/templates/blocks/components/StatusDot/StatusDotPulsing.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSStatusDot} from '@xds/core/StatusDot';diff --git a/packages/cli/templates/blocks/components/StatusDot/StatusDotShowcase.doc.mjs b/packages/cli/templates/blocks/components/StatusDot/StatusDotShowcase.doc.mjsindex 2b56bc9dcd..a07051014d 100644--- a/packages/cli/templates/blocks/components/StatusDot/StatusDotShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/StatusDot/StatusDotShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/StatusDot/StatusDotShowcase.tsx b/packages/cli/templates/blocks/components/StatusDot/StatusDotShowcase.tsxindex 42f463c561..86976946a8 100644--- a/packages/cli/templates/blocks/components/StatusDot/StatusDotShowcase.tsx+++ b/packages/cli/templates/blocks/components/StatusDot/StatusDotShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSStatusDot} from '@xds/core/StatusDot';diff --git a/packages/cli/templates/blocks/components/StatusDot/StatusDotStatusIndicators.doc.mjs b/packages/cli/templates/blocks/components/StatusDot/StatusDotStatusIndicators.doc.mjsindex cc738847d8..338d234442 100644--- a/packages/cli/templates/blocks/components/StatusDot/StatusDotStatusIndicators.doc.mjs+++ b/packages/cli/templates/blocks/components/StatusDot/StatusDotStatusIndicators.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/StatusDot/StatusDotStatusIndicators.tsx b/packages/cli/templates/blocks/components/StatusDot/StatusDotStatusIndicators.tsxindex f8486177d4..4d189f784f 100644--- a/packages/cli/templates/blocks/components/StatusDot/StatusDotStatusIndicators.tsx+++ b/packages/cli/templates/blocks/components/StatusDot/StatusDotStatusIndicators.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSStatusDot} from '@xds/core/StatusDot';diff --git a/packages/cli/templates/blocks/components/StatusDot/StatusDotVariants.doc.mjs b/packages/cli/templates/blocks/components/StatusDot/StatusDotVariants.doc.mjsindex 01e9d7b7e4..14d25711d2 100644--- a/packages/cli/templates/blocks/components/StatusDot/StatusDotVariants.doc.mjs+++ b/packages/cli/templates/blocks/components/StatusDot/StatusDotVariants.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/StatusDot/StatusDotVariants.tsx b/packages/cli/templates/blocks/components/StatusDot/StatusDotVariants.tsxindex 67ac1f74ad..f00d30e82c 100644--- a/packages/cli/templates/blocks/components/StatusDot/StatusDotVariants.tsx+++ b/packages/cli/templates/blocks/components/StatusDot/StatusDotVariants.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSStatusDot} from '@xds/core/StatusDot';diff --git a/packages/cli/templates/blocks/components/Switch/SwitchDisabled.doc.mjs b/packages/cli/templates/blocks/components/Switch/SwitchDisabled.doc.mjsindex b01de9877e..1ed64863c6 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchDisabled.doc.mjs+++ b/packages/cli/templates/blocks/components/Switch/SwitchDisabled.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Switch/SwitchDisabled.tsx b/packages/cli/templates/blocks/components/Switch/SwitchDisabled.tsxindex 7cb6a2cf3c..58e82ec8c0 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchDisabled.tsx+++ b/packages/cli/templates/blocks/components/Switch/SwitchDisabled.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Switch/SwitchSettingsPanel.doc.mjs b/packages/cli/templates/blocks/components/Switch/SwitchSettingsPanel.doc.mjsindex 4786d7b5c3..0a35a585b5 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchSettingsPanel.doc.mjs+++ b/packages/cli/templates/blocks/components/Switch/SwitchSettingsPanel.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Switch/SwitchSettingsPanel.tsx b/packages/cli/templates/blocks/components/Switch/SwitchSettingsPanel.tsxindex 2990305f84..f77076e2fd 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchSettingsPanel.tsx+++ b/packages/cli/templates/blocks/components/Switch/SwitchSettingsPanel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Switch/SwitchShowcase.doc.mjs b/packages/cli/templates/blocks/components/Switch/SwitchShowcase.doc.mjsindex 5dd25669a1..0668983240 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Switch/SwitchShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Switch/SwitchShowcase.tsx b/packages/cli/templates/blocks/components/Switch/SwitchShowcase.tsxindex d6418cf434..453e1ecd4b 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchShowcase.tsx+++ b/packages/cli/templates/blocks/components/Switch/SwitchShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Switch/SwitchWithDescription.doc.mjs b/packages/cli/templates/blocks/components/Switch/SwitchWithDescription.doc.mjsindex 55e501b026..9cd8e40bad 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchWithDescription.doc.mjs+++ b/packages/cli/templates/blocks/components/Switch/SwitchWithDescription.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Switch/SwitchWithDescription.tsx b/packages/cli/templates/blocks/components/Switch/SwitchWithDescription.tsxindex a80c843325..fd42961b14 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchWithDescription.tsx+++ b/packages/cli/templates/blocks/components/Switch/SwitchWithDescription.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Switch/SwitchWithStatus.doc.mjs b/packages/cli/templates/blocks/components/Switch/SwitchWithStatus.doc.mjsindex a682844373..dc1d5fb3ac 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchWithStatus.doc.mjs+++ b/packages/cli/templates/blocks/components/Switch/SwitchWithStatus.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Switch/SwitchWithStatus.tsx b/packages/cli/templates/blocks/components/Switch/SwitchWithStatus.tsxindex fa04d71164..42e6a6f4e3 100644--- a/packages/cli/templates/blocks/components/Switch/SwitchWithStatus.tsx+++ b/packages/cli/templates/blocks/components/Switch/SwitchWithStatus.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.doc.mjs b/packages/cli/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.doc.mjsindex 88e338956b..75b57651b3 100644--- a/packages/cli/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.tsx b/packages/cli/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.tsxindex c7361d657c..9cd14cd4e5 100644--- a/packages/cli/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.tsx+++ b/packages/cli/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSSyntaxTheme} from '@xds/core/theme';diff --git a/packages/cli/templates/blocks/components/Tab/TabShowcase.doc.mjs b/packages/cli/templates/blocks/components/Tab/TabShowcase.doc.mjsindex 37fb63c025..72be8fd923 100644--- a/packages/cli/templates/blocks/components/Tab/TabShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Tab/TabShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tab/TabShowcase.tsx b/packages/cli/templates/blocks/components/Tab/TabShowcase.tsxindex d4a8c03102..144384cadb 100644--- a/packages/cli/templates/blocks/components/Tab/TabShowcase.tsx+++ b/packages/cli/templates/blocks/components/Tab/TabShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTabList, XDSTab} from '@xds/core/TabList';diff --git a/packages/cli/templates/blocks/components/TabList/TabListShowcase.doc.mjs b/packages/cli/templates/blocks/components/TabList/TabListShowcase.doc.mjsindex 88b11e5910..b9d25a15ec 100644--- a/packages/cli/templates/blocks/components/TabList/TabListShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TabList/TabListShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TabList/TabListShowcase.tsx b/packages/cli/templates/blocks/components/TabList/TabListShowcase.tsxindex 2642c81bea..417e421324 100644--- a/packages/cli/templates/blocks/components/TabList/TabListShowcase.tsx+++ b/packages/cli/templates/blocks/components/TabList/TabListShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTabList, XDSTab} from '@xds/core/TabList';diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsFillLayout.doc.mjs b/packages/cli/templates/blocks/components/TabList/TabListTabsFillLayout.doc.mjsindex 7b217b79a9..b7696424fd 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsFillLayout.doc.mjs+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsFillLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsFillLayout.tsx b/packages/cli/templates/blocks/components/TabList/TabListTabsFillLayout.tsxindex b01816fb70..fa1b9e1af3 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsFillLayout.tsx+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsFillLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithActions.doc.mjs b/packages/cli/templates/blocks/components/TabList/TabListTabsWithActions.doc.mjsindex 0952cc82b5..aeaab11aab 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithActions.doc.mjs+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithActions.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithActions.tsx b/packages/cli/templates/blocks/components/TabList/TabListTabsWithActions.tsxindex 5ada2e3688..a53ae5017b 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithActions.tsx+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithActions.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithBadge.doc.mjs b/packages/cli/templates/blocks/components/TabList/TabListTabsWithBadge.doc.mjsindex c54411d9f1..d9b1d33ef6 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithBadge.doc.mjs+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithBadge.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithBadge.tsx b/packages/cli/templates/blocks/components/TabList/TabListTabsWithBadge.tsxindex 1cd0cc63e3..847455f42d 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithBadge.tsx+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithBadge.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithIcons.doc.mjs b/packages/cli/templates/blocks/components/TabList/TabListTabsWithIcons.doc.mjsindex dab03377e1..1adc716780 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithIcons.doc.mjs+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithIcons.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithIcons.tsx b/packages/cli/templates/blocks/components/TabList/TabListTabsWithIcons.tsxindex e9f464a743..8bd2c3ba1b 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithIcons.tsx+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithIcons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithMenu.doc.mjs b/packages/cli/templates/blocks/components/TabList/TabListTabsWithMenu.doc.mjsindex 1732f0de6b..1ed1e68ba6 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithMenu.doc.mjs+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithMenu.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithMenu.tsx b/packages/cli/templates/blocks/components/TabList/TabListTabsWithMenu.tsxindex f6f56f45ff..75ad5b1090 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithMenu.tsx+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithStatusDot.doc.mjs b/packages/cli/templates/blocks/components/TabList/TabListTabsWithStatusDot.doc.mjsindex 44b4f1b842..817548a8bd 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithStatusDot.doc.mjs+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithStatusDot.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TabList/TabListTabsWithStatusDot.tsx b/packages/cli/templates/blocks/components/TabList/TabListTabsWithStatusDot.tsxindex 087574ab44..54db19e519 100644--- a/packages/cli/templates/blocks/components/TabList/TabListTabsWithStatusDot.tsx+++ b/packages/cli/templates/blocks/components/TabList/TabListTabsWithStatusDot.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TabMenu/TabMenuShowcase.doc.mjs b/packages/cli/templates/blocks/components/TabMenu/TabMenuShowcase.doc.mjsindex 73b68d7b40..901f578351 100644--- a/packages/cli/templates/blocks/components/TabMenu/TabMenuShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TabMenu/TabMenuShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TabMenu/TabMenuShowcase.tsx b/packages/cli/templates/blocks/components/TabMenu/TabMenuShowcase.tsxindex 695cfea137..2cdf11d841 100644--- a/packages/cli/templates/blocks/components/TabMenu/TabMenuShowcase.tsx+++ b/packages/cli/templates/blocks/components/TabMenu/TabMenuShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTabList, XDSTab, XDSTabMenu} from '@xds/core/TabList';diff --git a/packages/cli/templates/blocks/components/Table/TableColumnSettingsTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableColumnSettingsTable.doc.mjsindex d523989402..92144a2b1d 100644--- a/packages/cli/templates/blocks/components/Table/TableColumnSettingsTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableColumnSettingsTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableColumnSettingsTable.tsx b/packages/cli/templates/blocks/components/Table/TableColumnSettingsTable.tsxindex 4ea9e29f7e..5e66af7e10 100644--- a/packages/cli/templates/blocks/components/Table/TableColumnSettingsTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableColumnSettingsTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Table/TableFilterableTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableFilterableTable.doc.mjsindex 60e5400b19..875bf828db 100644--- a/packages/cli/templates/blocks/components/Table/TableFilterableTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableFilterableTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableFilterableTable.tsx b/packages/cli/templates/blocks/components/Table/TableFilterableTable.tsxindex 8d2804234a..5ff287adbf 100644--- a/packages/cli/templates/blocks/components/Table/TableFilterableTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableFilterableTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Table/TableGridDividersTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableGridDividersTable.doc.mjsindex 9437d0b227..e165e725a7 100644--- a/packages/cli/templates/blocks/components/Table/TableGridDividersTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableGridDividersTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableGridDividersTable.tsx b/packages/cli/templates/blocks/components/Table/TableGridDividersTable.tsxindex 8287a5b850..ad38ef0f39 100644--- a/packages/cli/templates/blocks/components/Table/TableGridDividersTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableGridDividersTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTable, proportional, pixel} from '@xds/core/Table';diff --git a/packages/cli/templates/blocks/components/Table/TableInCard.doc.mjs b/packages/cli/templates/blocks/components/Table/TableInCard.doc.mjsindex b600c6c538..64d1d1e53f 100644--- a/packages/cli/templates/blocks/components/Table/TableInCard.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableInCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableInCard.tsx b/packages/cli/templates/blocks/components/Table/TableInCard.tsxindex 04e127d7ec..8f68edbeb6 100644--- a/packages/cli/templates/blocks/components/Table/TableInCard.tsx+++ b/packages/cli/templates/blocks/components/Table/TableInCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTable, proportional} from '@xds/core/Table';diff --git a/packages/cli/templates/blocks/components/Table/TableInlineFilterTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableInlineFilterTable.doc.mjsindex bdcee7412c..75113b2f9f 100644--- a/packages/cli/templates/blocks/components/Table/TableInlineFilterTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableInlineFilterTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableInlineFilterTable.tsx b/packages/cli/templates/blocks/components/Table/TableInlineFilterTable.tsxindex 46ccc9e7d2..4f1c5f2de0 100644--- a/packages/cli/templates/blocks/components/Table/TableInlineFilterTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableInlineFilterTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Table/TablePaginatedTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TablePaginatedTable.doc.mjsindex 79e7b844b1..5159d1c6ff 100644--- a/packages/cli/templates/blocks/components/Table/TablePaginatedTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TablePaginatedTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TablePaginatedTable.tsx b/packages/cli/templates/blocks/components/Table/TablePaginatedTable.tsxindex 318fdbc335..aefa551d51 100644--- a/packages/cli/templates/blocks/components/Table/TablePaginatedTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TablePaginatedTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Table/TableResizableTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableResizableTable.doc.mjsindex 742a3e0113..5e05ac75e6 100644--- a/packages/cli/templates/blocks/components/Table/TableResizableTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableResizableTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableResizableTable.tsx b/packages/cli/templates/blocks/components/Table/TableResizableTable.tsxindex a5753321d0..d95089af9c 100644--- a/packages/cli/templates/blocks/components/Table/TableResizableTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableResizableTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Table/TableRichCellTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableRichCellTable.doc.mjsindex 12183b0bd8..e55a44ce37 100644--- a/packages/cli/templates/blocks/components/Table/TableRichCellTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableRichCellTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableRichCellTable.tsx b/packages/cli/templates/blocks/components/Table/TableRichCellTable.tsxindex e275b2ebc4..924d28bc4d 100644--- a/packages/cli/templates/blocks/components/Table/TableRichCellTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableRichCellTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTable, proportional, pixel} from '@xds/core/Table';diff --git a/packages/cli/templates/blocks/components/Table/TableSelectableTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableSelectableTable.doc.mjsindex 96e0863d04..5559a8610b 100644--- a/packages/cli/templates/blocks/components/Table/TableSelectableTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableSelectableTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableSelectableTable.tsx b/packages/cli/templates/blocks/components/Table/TableSelectableTable.tsxindex 4020308d03..36670cd386 100644--- a/packages/cli/templates/blocks/components/Table/TableSelectableTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableSelectableTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Table/TableShowcase.doc.mjs b/packages/cli/templates/blocks/components/Table/TableShowcase.doc.mjsindex 3ab89bd843..6d9f3694fd 100644--- a/packages/cli/templates/blocks/components/Table/TableShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableShowcase.tsx b/packages/cli/templates/blocks/components/Table/TableShowcase.tsxindex dd0a29645f..1309d2e6a6 100644--- a/packages/cli/templates/blocks/components/Table/TableShowcase.tsx+++ b/packages/cli/templates/blocks/components/Table/TableShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTable, proportional, pixel} from '@xds/core/Table';diff --git a/packages/cli/templates/blocks/components/Table/TableSortableTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableSortableTable.doc.mjsindex ca9a5276e1..cad83c6e76 100644--- a/packages/cli/templates/blocks/components/Table/TableSortableTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableSortableTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableSortableTable.tsx b/packages/cli/templates/blocks/components/Table/TableSortableTable.tsxindex 64c239cffa..50b9707b6a 100644--- a/packages/cli/templates/blocks/components/Table/TableSortableTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableSortableTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/Table/TableStripedTable.doc.mjs b/packages/cli/templates/blocks/components/Table/TableStripedTable.doc.mjsindex 156ea220e2..6bb4e450e8 100644--- a/packages/cli/templates/blocks/components/Table/TableStripedTable.doc.mjs+++ b/packages/cli/templates/blocks/components/Table/TableStripedTable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Table/TableStripedTable.tsx b/packages/cli/templates/blocks/components/Table/TableStripedTable.tsxindex 52e1fb1e6f..7629437eaa 100644--- a/packages/cli/templates/blocks/components/Table/TableStripedTable.tsx+++ b/packages/cli/templates/blocks/components/Table/TableStripedTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTable, proportional, pixel} from '@xds/core/Table';diff --git a/packages/cli/templates/blocks/components/Text/TextColors.doc.mjs b/packages/cli/templates/blocks/components/Text/TextColors.doc.mjsindex 46a8dc2f62..bf57a6fbe5 100644--- a/packages/cli/templates/blocks/components/Text/TextColors.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextColors.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextColors.tsx b/packages/cli/templates/blocks/components/Text/TextColors.tsxindex 8136b731a0..249b2a6cae 100644--- a/packages/cli/templates/blocks/components/Text/TextColors.tsx+++ b/packages/cli/templates/blocks/components/Text/TextColors.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/Text/TextHeadingLevels.doc.mjs b/packages/cli/templates/blocks/components/Text/TextHeadingLevels.doc.mjsindex 64dae28160..a984b25d92 100644--- a/packages/cli/templates/blocks/components/Text/TextHeadingLevels.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextHeadingLevels.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextHeadingLevels.tsx b/packages/cli/templates/blocks/components/Text/TextHeadingLevels.tsxindex effdb871ac..597e856e8e 100644--- a/packages/cli/templates/blocks/components/Text/TextHeadingLevels.tsx+++ b/packages/cli/templates/blocks/components/Text/TextHeadingLevels.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHeading} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/Text/TextInline.doc.mjs b/packages/cli/templates/blocks/components/Text/TextInline.doc.mjsindex 0266022b53..01403e8fb8 100644--- a/packages/cli/templates/blocks/components/Text/TextInline.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextInline.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextInline.tsx b/packages/cli/templates/blocks/components/Text/TextInline.tsxindex 7d2225e471..43a7750063 100644--- a/packages/cli/templates/blocks/components/Text/TextInline.tsx+++ b/packages/cli/templates/blocks/components/Text/TextInline.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/Text/TextShowcase.doc.mjs b/packages/cli/templates/blocks/components/Text/TextShowcase.doc.mjsindex b07ed585ee..7b40fc10e6 100644--- a/packages/cli/templates/blocks/components/Text/TextShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextShowcase.tsx b/packages/cli/templates/blocks/components/Text/TextShowcase.tsxindex 0760948dcb..9831b1efd0 100644--- a/packages/cli/templates/blocks/components/Text/TextShowcase.tsx+++ b/packages/cli/templates/blocks/components/Text/TextShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/Text/TextTruncation.doc.mjs b/packages/cli/templates/blocks/components/Text/TextTruncation.doc.mjsindex fcf5cc2886..7febf3fc41 100644--- a/packages/cli/templates/blocks/components/Text/TextTruncation.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextTruncation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextTruncation.tsx b/packages/cli/templates/blocks/components/Text/TextTruncation.tsxindex d874b0f9dd..4ac29fc000 100644--- a/packages/cli/templates/blocks/components/Text/TextTruncation.tsx+++ b/packages/cli/templates/blocks/components/Text/TextTruncation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/Text/TextTypes.doc.mjs b/packages/cli/templates/blocks/components/Text/TextTypes.doc.mjsindex f4d86d8780..28d6500677 100644--- a/packages/cli/templates/blocks/components/Text/TextTypes.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextTypes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextTypes.tsx b/packages/cli/templates/blocks/components/Text/TextTypes.tsxindex f4c038f84f..2932506600 100644--- a/packages/cli/templates/blocks/components/Text/TextTypes.tsx+++ b/packages/cli/templates/blocks/components/Text/TextTypes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/Text/TextWeight.doc.mjs b/packages/cli/templates/blocks/components/Text/TextWeight.doc.mjsindex dc24ea5a99..759f72af18 100644--- a/packages/cli/templates/blocks/components/Text/TextWeight.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextWeight.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextWeight.tsx b/packages/cli/templates/blocks/components/Text/TextWeight.tsxindex e715934066..6b01393e86 100644--- a/packages/cli/templates/blocks/components/Text/TextWeight.tsx+++ b/packages/cli/templates/blocks/components/Text/TextWeight.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/Text/TextWordBreak.doc.mjs b/packages/cli/templates/blocks/components/Text/TextWordBreak.doc.mjsindex 81faf71dac..7eda75e6cc 100644--- a/packages/cli/templates/blocks/components/Text/TextWordBreak.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextWordBreak.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextWordBreak.tsx b/packages/cli/templates/blocks/components/Text/TextWordBreak.tsxindex 1c440efe2e..636b2d60ad 100644--- a/packages/cli/templates/blocks/components/Text/TextWordBreak.tsx+++ b/packages/cli/templates/blocks/components/Text/TextWordBreak.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/Text/TextWrap.doc.mjs b/packages/cli/templates/blocks/components/Text/TextWrap.doc.mjsindex 739e40348f..d22d042648 100644--- a/packages/cli/templates/blocks/components/Text/TextWrap.doc.mjs+++ b/packages/cli/templates/blocks/components/Text/TextWrap.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Text/TextWrap.tsx b/packages/cli/templates/blocks/components/Text/TextWrap.tsxindex 04a9fc180f..827dd3c7ed 100644--- a/packages/cli/templates/blocks/components/Text/TextWrap.tsx+++ b/packages/cli/templates/blocks/components/Text/TextWrap.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSText} from '@xds/core/Text';diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaCharacterCount.doc.mjs b/packages/cli/templates/blocks/components/TextArea/TextAreaCharacterCount.doc.mjsindex be9c208f6c..7d802d5abd 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaCharacterCount.doc.mjs+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaCharacterCount.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaCharacterCount.tsx b/packages/cli/templates/blocks/components/TextArea/TextAreaCharacterCount.tsxindex 2a3799bfa6..75e9ef5f4a 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaCharacterCount.tsx+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaCharacterCount.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaShowcase.doc.mjs b/packages/cli/templates/blocks/components/TextArea/TextAreaShowcase.doc.mjsindex a6940091bc..446bd50dd9 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaShowcase.tsx b/packages/cli/templates/blocks/components/TextArea/TextAreaShowcase.tsxindex 931fe01c05..e042dd2467 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaShowcase.tsx+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTextArea} from '@xds/core/TextArea';diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaStates.doc.mjs b/packages/cli/templates/blocks/components/TextArea/TextAreaStates.doc.mjsindex 8147809b52..fc3fcddb66 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaStates.doc.mjs+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaStates.tsx b/packages/cli/templates/blocks/components/TextArea/TextAreaStates.tsxindex 4d707574a1..3183a90a59 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaStates.tsx+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaValidation.doc.mjs b/packages/cli/templates/blocks/components/TextArea/TextAreaValidation.doc.mjsindex b01ead66a2..5115c9ef21 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaValidation.doc.mjs+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaValidation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaValidation.tsx b/packages/cli/templates/blocks/components/TextArea/TextAreaValidation.tsxindex 190642bf54..176ca0bbc6 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaValidation.tsx+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaValidation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaWithIcon.doc.mjs b/packages/cli/templates/blocks/components/TextArea/TextAreaWithIcon.doc.mjsindex 818b98c8e7..61c1f7cba9 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaWithIcon.doc.mjs+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaWithIcon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextArea/TextAreaWithIcon.tsx b/packages/cli/templates/blocks/components/TextArea/TextAreaWithIcon.tsxindex 3ebc4b4908..0176b63d9e 100644--- a/packages/cli/templates/blocks/components/TextArea/TextAreaWithIcon.tsx+++ b/packages/cli/templates/blocks/components/TextArea/TextAreaWithIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputIcon.doc.mjs b/packages/cli/templates/blocks/components/TextInput/TextInputIcon.doc.mjsindex 7415e3db6b..b19d5d66cc 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputIcon.doc.mjs+++ b/packages/cli/templates/blocks/components/TextInput/TextInputIcon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputIcon.tsx b/packages/cli/templates/blocks/components/TextInput/TextInputIcon.tsxindex 9f678e6c86..425a464480 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputIcon.tsx+++ b/packages/cli/templates/blocks/components/TextInput/TextInputIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputSearch.doc.mjs b/packages/cli/templates/blocks/components/TextInput/TextInputSearch.doc.mjsindex a9ebeb1e3a..7193f99dc5 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputSearch.doc.mjs+++ b/packages/cli/templates/blocks/components/TextInput/TextInputSearch.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputSearch.tsx b/packages/cli/templates/blocks/components/TextInput/TextInputSearch.tsxindex 4f3644be8d..7ee153f11f 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputSearch.tsx+++ b/packages/cli/templates/blocks/components/TextInput/TextInputSearch.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputShowcase.doc.mjs b/packages/cli/templates/blocks/components/TextInput/TextInputShowcase.doc.mjsindex 1008ab3002..29bd11b7c5 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TextInput/TextInputShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputShowcase.tsx b/packages/cli/templates/blocks/components/TextInput/TextInputShowcase.tsxindex e0e53fedc5..5dd86cc1df 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputShowcase.tsx+++ b/packages/cli/templates/blocks/components/TextInput/TextInputShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTextInput} from '@xds/core/TextInput';diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputSizes.doc.mjs b/packages/cli/templates/blocks/components/TextInput/TextInputSizes.doc.mjsindex 4aa84e9cfe..6c853f99c3 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputSizes.doc.mjs+++ b/packages/cli/templates/blocks/components/TextInput/TextInputSizes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputSizes.tsx b/packages/cli/templates/blocks/components/TextInput/TextInputSizes.tsxindex 3f911726ae..8b60a197b7 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputSizes.tsx+++ b/packages/cli/templates/blocks/components/TextInput/TextInputSizes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputStates.doc.mjs b/packages/cli/templates/blocks/components/TextInput/TextInputStates.doc.mjsindex b62546df59..85cc2d4ecb 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputStates.doc.mjs+++ b/packages/cli/templates/blocks/components/TextInput/TextInputStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputStates.tsx b/packages/cli/templates/blocks/components/TextInput/TextInputStates.tsxindex 3e05cecaca..8d8157cf8a 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputStates.tsx+++ b/packages/cli/templates/blocks/components/TextInput/TextInputStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputTypes.doc.mjs b/packages/cli/templates/blocks/components/TextInput/TextInputTypes.doc.mjsindex bf7d6d40fc..535a241739 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputTypes.doc.mjs+++ b/packages/cli/templates/blocks/components/TextInput/TextInputTypes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TextInput/TextInputTypes.tsx b/packages/cli/templates/blocks/components/TextInput/TextInputTypes.tsxindex 7955421c7c..6be5389652 100644--- a/packages/cli/templates/blocks/components/TextInput/TextInputTypes.tsx+++ b/packages/cli/templates/blocks/components/TextInput/TextInputTypes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Theme/ThemeShowcase.doc.mjs b/packages/cli/templates/blocks/components/Theme/ThemeShowcase.doc.mjsindex 5498770212..20b5b93bd4 100644--- a/packages/cli/templates/blocks/components/Theme/ThemeShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Theme/ThemeShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Theme/ThemeShowcase.tsx b/packages/cli/templates/blocks/components/Theme/ThemeShowcase.tsxindex 2cff8808ec..844a165491 100644--- a/packages/cli/templates/blocks/components/Theme/ThemeShowcase.tsx+++ b/packages/cli/templates/blocks/components/Theme/ThemeShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTheme} from '@xds/core/theme';diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailDisabled.doc.mjs b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailDisabled.doc.mjsindex 5bdc3749fb..0a1e9c81fa 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailDisabled.doc.mjs+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailDisabled.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailDisabled.tsx b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailDisabled.tsxindex 6f0086a7fb..6a3753e5b2 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailDisabled.tsx+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailDisabled.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSThumbnail} from '@xds/core/Thumbnail';diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailGallery.doc.mjs b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailGallery.doc.mjsindex 3446573f62..8c33238fd7 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailGallery.doc.mjs+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailGallery.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailGallery.tsx b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailGallery.tsxindex 05b1859a36..176aeb2ebc 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailGallery.tsx+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailGallery.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailRemovable.doc.mjs b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailRemovable.doc.mjsindex c94e184805..3913bffa2c 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailRemovable.doc.mjs+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailRemovable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailRemovable.tsx b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailRemovable.tsxindex 7b36b048fc..2435f0e344 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailRemovable.tsx+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailRemovable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailShowcase.doc.mjs b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailShowcase.doc.mjsindex be47df5120..b3d7284cfc 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailShowcase.tsx b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailShowcase.tsxindex 9b2ed1ba61..c4ffbe0a39 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailShowcase.tsx+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSThumbnail} from '@xds/core/Thumbnail';diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailStates.doc.mjs b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailStates.doc.mjsindex bf28f39935..092a0867df 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailStates.doc.mjs+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailStates.tsx b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailStates.tsxindex 409d0a4fbc..b1775831ee 100644--- a/packages/cli/templates/blocks/components/Thumbnail/ThumbnailStates.tsx+++ b/packages/cli/templates/blocks/components/Thumbnail/ThumbnailStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSThumbnail} from '@xds/core/Thumbnail';diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputConstrained.doc.mjs b/packages/cli/templates/blocks/components/TimeInput/TimeInputConstrained.doc.mjsindex a301076e9b..959a442497 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputConstrained.doc.mjs+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputConstrained.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputConstrained.tsx b/packages/cli/templates/blocks/components/TimeInput/TimeInputConstrained.tsxindex c7fc1ced9d..962c2272a2 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputConstrained.tsx+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputConstrained.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputFormats.doc.mjs b/packages/cli/templates/blocks/components/TimeInput/TimeInputFormats.doc.mjsindex 89162bd166..814797be26 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputFormats.doc.mjs+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputFormats.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputFormats.tsx b/packages/cli/templates/blocks/components/TimeInput/TimeInputFormats.tsxindex 5e769b01e4..c81c9d04c8 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputFormats.tsx+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputFormats.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputIncrement.doc.mjs b/packages/cli/templates/blocks/components/TimeInput/TimeInputIncrement.doc.mjsindex 65b4724a4a..b90ce8483a 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputIncrement.doc.mjs+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputIncrement.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputIncrement.tsx b/packages/cli/templates/blocks/components/TimeInput/TimeInputIncrement.tsxindex 44513dee8b..df4d6e0f1b 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputIncrement.tsx+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputIncrement.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputShowcase.doc.mjs b/packages/cli/templates/blocks/components/TimeInput/TimeInputShowcase.doc.mjsindex 770efe0658..ea79cddb25 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputShowcase.tsx b/packages/cli/templates/blocks/components/TimeInput/TimeInputShowcase.tsxindex 6c74bf5e65..edab2326ad 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputShowcase.tsx+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputStates.doc.mjs b/packages/cli/templates/blocks/components/TimeInput/TimeInputStates.doc.mjsindex 10729a451e..152e3115e2 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputStates.doc.mjs+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TimeInput/TimeInputStates.tsx b/packages/cli/templates/blocks/components/TimeInput/TimeInputStates.tsxindex 7f9d85122f..d8fa94cc59 100644--- a/packages/cli/templates/blocks/components/TimeInput/TimeInputStates.tsx+++ b/packages/cli/templates/blocks/components/TimeInput/TimeInputStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampAutoFormat.doc.mjs b/packages/cli/templates/blocks/components/Timestamp/TimestampAutoFormat.doc.mjsindex 394cc86a4e..55fbe87c5d 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampAutoFormat.doc.mjs+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampAutoFormat.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampAutoFormat.tsx b/packages/cli/templates/blocks/components/Timestamp/TimestampAutoFormat.tsxindex fbb316bdcd..1eeeefbc1b 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampAutoFormat.tsx+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampAutoFormat.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTimestamp} from '@xds/core/Timestamp';diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampColors.doc.mjs b/packages/cli/templates/blocks/components/Timestamp/TimestampColors.doc.mjsindex da991f64db..3699d41705 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampColors.doc.mjs+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampColors.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampColors.tsx b/packages/cli/templates/blocks/components/Timestamp/TimestampColors.tsxindex 0474a43188..f91779621a 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampColors.tsx+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampColors.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTimestamp} from '@xds/core/Timestamp';diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampFormats.doc.mjs b/packages/cli/templates/blocks/components/Timestamp/TimestampFormats.doc.mjsindex 1e02004ac9..aeb33e67a9 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampFormats.doc.mjs+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampFormats.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampFormats.tsx b/packages/cli/templates/blocks/components/Timestamp/TimestampFormats.tsxindex a6d6bbcc11..cdea82f425 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampFormats.tsx+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampFormats.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTimestamp} from '@xds/core/Timestamp';diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampRelativeFormat.doc.mjs b/packages/cli/templates/blocks/components/Timestamp/TimestampRelativeFormat.doc.mjsindex fd0573fd5c..60fe16f872 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampRelativeFormat.doc.mjs+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampRelativeFormat.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampRelativeFormat.tsx b/packages/cli/templates/blocks/components/Timestamp/TimestampRelativeFormat.tsxindex a0082322d2..b5d2c36da5 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampRelativeFormat.tsx+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampRelativeFormat.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTimestamp} from '@xds/core/Timestamp';diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampShowcase.doc.mjs b/packages/cli/templates/blocks/components/Timestamp/TimestampShowcase.doc.mjsindex b8651b7ee6..6055ef4865 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampShowcase.tsx b/packages/cli/templates/blocks/components/Timestamp/TimestampShowcase.tsxindex 5a15006548..7ac94417b5 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampShowcase.tsx+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTimestamp} from '@xds/core/Timestamp';diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampTimezone.doc.mjs b/packages/cli/templates/blocks/components/Timestamp/TimestampTimezone.doc.mjsindex 64bab3f5f0..7c8fa0d6fe 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampTimezone.doc.mjs+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampTimezone.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Timestamp/TimestampTimezone.tsx b/packages/cli/templates/blocks/components/Timestamp/TimestampTimezone.tsxindex 9a745909d8..b45fea2510 100644--- a/packages/cli/templates/blocks/components/Timestamp/TimestampTimezone.tsx+++ b/packages/cli/templates/blocks/components/Timestamp/TimestampTimezone.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTimestamp} from '@xds/core/Timestamp';diff --git a/packages/cli/templates/blocks/components/Toast/ToastAction.doc.mjs b/packages/cli/templates/blocks/components/Toast/ToastAction.doc.mjsindex d9e2cd99f6..bfc2515b14 100644--- a/packages/cli/templates/blocks/components/Toast/ToastAction.doc.mjs+++ b/packages/cli/templates/blocks/components/Toast/ToastAction.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toast/ToastAction.tsx b/packages/cli/templates/blocks/components/Toast/ToastAction.tsxindex fae495697f..74c1230f0a 100644--- a/packages/cli/templates/blocks/components/Toast/ToastAction.tsx+++ b/packages/cli/templates/blocks/components/Toast/ToastAction.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// In production, use useXDSToast() hook for proper positioning, stacking, and lifecycle.'use client';diff --git a/packages/cli/templates/blocks/components/Toast/ToastDeduplication.doc.mjs b/packages/cli/templates/blocks/components/Toast/ToastDeduplication.doc.mjsindex 49df089992..571ed2f543 100644--- a/packages/cli/templates/blocks/components/Toast/ToastDeduplication.doc.mjs+++ b/packages/cli/templates/blocks/components/Toast/ToastDeduplication.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toast/ToastDeduplication.tsx b/packages/cli/templates/blocks/components/Toast/ToastDeduplication.tsxindex a6e52757f1..d36538209e 100644--- a/packages/cli/templates/blocks/components/Toast/ToastDeduplication.tsx+++ b/packages/cli/templates/blocks/components/Toast/ToastDeduplication.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// In production, use useXDSToast() hook for proper positioning, stacking, and lifecycle.'use client';diff --git a/packages/cli/templates/blocks/components/Toast/ToastDismiss.doc.mjs b/packages/cli/templates/blocks/components/Toast/ToastDismiss.doc.mjsindex 1b3f2ab025..1ef30def0b 100644--- a/packages/cli/templates/blocks/components/Toast/ToastDismiss.doc.mjs+++ b/packages/cli/templates/blocks/components/Toast/ToastDismiss.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toast/ToastDismiss.tsx b/packages/cli/templates/blocks/components/Toast/ToastDismiss.tsxindex 9e78f1d37d..883851970d 100644--- a/packages/cli/templates/blocks/components/Toast/ToastDismiss.tsx+++ b/packages/cli/templates/blocks/components/Toast/ToastDismiss.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// In production, use useXDSToast() hook for proper positioning, stacking, and lifecycle.'use client';diff --git a/packages/cli/templates/blocks/components/Toast/ToastShowcase.doc.mjs b/packages/cli/templates/blocks/components/Toast/ToastShowcase.doc.mjsindex 24d37bc810..931d26cbd1 100644--- a/packages/cli/templates/blocks/components/Toast/ToastShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Toast/ToastShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toast/ToastShowcase.tsx b/packages/cli/templates/blocks/components/Toast/ToastShowcase.tsxindex f51fa613ee..daed0727b5 100644--- a/packages/cli/templates/blocks/components/Toast/ToastShowcase.tsx+++ b/packages/cli/templates/blocks/components/Toast/ToastShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// In production, use useXDSToast() hook for proper positioning, stacking, and lifecycle.'use client';diff --git a/packages/cli/templates/blocks/components/Toast/ToastStacking.doc.mjs b/packages/cli/templates/blocks/components/Toast/ToastStacking.doc.mjsindex e4514855c2..8b9f791f28 100644--- a/packages/cli/templates/blocks/components/Toast/ToastStacking.doc.mjs+++ b/packages/cli/templates/blocks/components/Toast/ToastStacking.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toast/ToastStacking.tsx b/packages/cli/templates/blocks/components/Toast/ToastStacking.tsxindex b361a1fe5b..0e0e125411 100644--- a/packages/cli/templates/blocks/components/Toast/ToastStacking.tsx+++ b/packages/cli/templates/blocks/components/Toast/ToastStacking.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// In production, use useXDSToast() hook for proper positioning, stacking, and lifecycle.'use client';diff --git a/packages/cli/templates/blocks/components/Toast/ToastTypes.doc.mjs b/packages/cli/templates/blocks/components/Toast/ToastTypes.doc.mjsindex 424ccd3a39..6e2940e514 100644--- a/packages/cli/templates/blocks/components/Toast/ToastTypes.doc.mjs+++ b/packages/cli/templates/blocks/components/Toast/ToastTypes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toast/ToastTypes.tsx b/packages/cli/templates/blocks/components/Toast/ToastTypes.tsxindex be13838a9f..f503169dc2 100644--- a/packages/cli/templates/blocks/components/Toast/ToastTypes.tsx+++ b/packages/cli/templates/blocks/components/Toast/ToastTypes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+// In production, use useXDSToast() hook for proper positioning, stacking, and lifecycle.'use client';diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonColor.doc.mjs b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonColor.doc.mjsindex 31432a0b88..766a4e32ae 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonColor.doc.mjs+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonColor.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonColor.tsx b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonColor.tsxindex e551c2c16e..dc3a5fa3c4 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonColor.tsx+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonColor.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonGroup.doc.mjs b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonGroup.doc.mjsindex af26a89f72..0a240bd2a2 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonGroup.doc.mjs+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonGroup.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonGroup.tsx b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonGroup.tsxindex dc5cbf160e..3e821bed7c 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonGroup.tsx+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonGroup.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.doc.mjs b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.doc.mjsindex 9b13428751..06224b1b7f 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.doc.mjs+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.tsx b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.tsxindex 0124c39f2f..32257d87d9 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.tsx+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonLabel.doc.mjs b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonLabel.doc.mjsindex 80aeb30fb3..66ccb0321a 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonLabel.doc.mjs+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonLabel.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonLabel.tsx b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonLabel.tsxindex 4611548d44..e45fd97a99 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonLabel.tsx+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonLabel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonShowcase.doc.mjs b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonShowcase.doc.mjsindex d29a61e14d..68a4a8f49a 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonShowcase.tsx b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonShowcase.tsxindex c747a11efd..3e6d559fb4 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonShowcase.tsx+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonStates.doc.mjs b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonStates.doc.mjsindex 71d429e27f..b0d739edc2 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonStates.doc.mjs+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonStates.tsx b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonStates.tsxindex edae079e7e..7b1f5cfb8a 100644--- a/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonStates.tsx+++ b/packages/cli/templates/blocks/components/ToggleButton/ToggleButtonStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToggleButton} from '@xds/core/ToggleButton';diff --git a/packages/cli/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.doc.mjs b/packages/cli/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.doc.mjsindex d253662597..1fc9d8fd39 100644--- a/packages/cli/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.tsx b/packages/cli/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.tsxindex f74112cb2f..dc27f790b9 100644--- a/packages/cli/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.tsx+++ b/packages/cli/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Token/TokenClickable.doc.mjs b/packages/cli/templates/blocks/components/Token/TokenClickable.doc.mjsindex 49f88caebd..dcde9f3e65 100644--- a/packages/cli/templates/blocks/components/Token/TokenClickable.doc.mjs+++ b/packages/cli/templates/blocks/components/Token/TokenClickable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Token/TokenClickable.tsx b/packages/cli/templates/blocks/components/Token/TokenClickable.tsxindex 724bb4d1e6..429c4698a7 100644--- a/packages/cli/templates/blocks/components/Token/TokenClickable.tsx+++ b/packages/cli/templates/blocks/components/Token/TokenClickable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToken} from '@xds/core/Token';diff --git a/packages/cli/templates/blocks/components/Token/TokenColors.doc.mjs b/packages/cli/templates/blocks/components/Token/TokenColors.doc.mjsindex b387def78b..3767544697 100644--- a/packages/cli/templates/blocks/components/Token/TokenColors.doc.mjs+++ b/packages/cli/templates/blocks/components/Token/TokenColors.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Token/TokenColors.tsx b/packages/cli/templates/blocks/components/Token/TokenColors.tsxindex d06b592e56..810112d0b6 100644--- a/packages/cli/templates/blocks/components/Token/TokenColors.tsx+++ b/packages/cli/templates/blocks/components/Token/TokenColors.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToken} from '@xds/core/Token';diff --git a/packages/cli/templates/blocks/components/Token/TokenEndContent.doc.mjs b/packages/cli/templates/blocks/components/Token/TokenEndContent.doc.mjsindex 5904ece530..0e7f10bbdb 100644--- a/packages/cli/templates/blocks/components/Token/TokenEndContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Token/TokenEndContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Token/TokenEndContent.tsx b/packages/cli/templates/blocks/components/Token/TokenEndContent.tsxindex 628359b7a3..220c7946dd 100644--- a/packages/cli/templates/blocks/components/Token/TokenEndContent.tsx+++ b/packages/cli/templates/blocks/components/Token/TokenEndContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToken} from '@xds/core/Token';diff --git a/packages/cli/templates/blocks/components/Token/TokenIcon.doc.mjs b/packages/cli/templates/blocks/components/Token/TokenIcon.doc.mjsindex 18e6cd0ca7..a0ef587229 100644--- a/packages/cli/templates/blocks/components/Token/TokenIcon.doc.mjs+++ b/packages/cli/templates/blocks/components/Token/TokenIcon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Token/TokenIcon.tsx b/packages/cli/templates/blocks/components/Token/TokenIcon.tsxindex a0f553c0cd..018f45f780 100644--- a/packages/cli/templates/blocks/components/Token/TokenIcon.tsx+++ b/packages/cli/templates/blocks/components/Token/TokenIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToken} from '@xds/core/Token';diff --git a/packages/cli/templates/blocks/components/Token/TokenRemovable.doc.mjs b/packages/cli/templates/blocks/components/Token/TokenRemovable.doc.mjsindex b63d7a9a3f..59b8ffe29e 100644--- a/packages/cli/templates/blocks/components/Token/TokenRemovable.doc.mjs+++ b/packages/cli/templates/blocks/components/Token/TokenRemovable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Token/TokenRemovable.tsx b/packages/cli/templates/blocks/components/Token/TokenRemovable.tsxindex 7801b59a79..fe3be2ffd2 100644--- a/packages/cli/templates/blocks/components/Token/TokenRemovable.tsx+++ b/packages/cli/templates/blocks/components/Token/TokenRemovable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToken} from '@xds/core/Token';diff --git a/packages/cli/templates/blocks/components/Token/TokenShowcase.doc.mjs b/packages/cli/templates/blocks/components/Token/TokenShowcase.doc.mjsindex 7af4a3a07b..de6bf740fd 100644--- a/packages/cli/templates/blocks/components/Token/TokenShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Token/TokenShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Token/TokenShowcase.tsx b/packages/cli/templates/blocks/components/Token/TokenShowcase.tsxindex e820aa4682..7d6c1b82b6 100644--- a/packages/cli/templates/blocks/components/Token/TokenShowcase.tsx+++ b/packages/cli/templates/blocks/components/Token/TokenShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToken} from '@xds/core/Token';diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerClear.doc.mjs b/packages/cli/templates/blocks/components/Tokenizer/TokenizerClear.doc.mjsindex ba002fc3b1..bd77bff22f 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerClear.doc.mjs+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerClear.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerClear.tsx b/packages/cli/templates/blocks/components/Tokenizer/TokenizerClear.tsxindex 5870939559..1b2ee4d547 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerClear.tsx+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerClear.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerCreatable.doc.mjs b/packages/cli/templates/blocks/components/Tokenizer/TokenizerCreatable.doc.mjsindex b402e52e83..3ce72e82ad 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerCreatable.doc.mjs+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerCreatable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerCreatable.tsx b/packages/cli/templates/blocks/components/Tokenizer/TokenizerCreatable.tsxindex f5758fcf0a..da5d217768 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerCreatable.tsx+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerCreatable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerEndContent.doc.mjs b/packages/cli/templates/blocks/components/Tokenizer/TokenizerEndContent.doc.mjsindex 681effc528..c1b8b80413 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerEndContent.doc.mjs+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerEndContent.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerEndContent.tsx b/packages/cli/templates/blocks/components/Tokenizer/TokenizerEndContent.tsxindex 111bf3fd1b..5d2bf73b8d 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerEndContent.tsx+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerEndContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerIcon.doc.mjs b/packages/cli/templates/blocks/components/Tokenizer/TokenizerIcon.doc.mjsindex 16f23fa0a9..8245e7b85a 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerIcon.doc.mjs+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerIcon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerIcon.tsx b/packages/cli/templates/blocks/components/Tokenizer/TokenizerIcon.tsxindex da0d240c8c..4e76965e6f 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerIcon.tsx+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerMaxEntries.doc.mjs b/packages/cli/templates/blocks/components/Tokenizer/TokenizerMaxEntries.doc.mjsindex 762341e3bd..65376d3429 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerMaxEntries.doc.mjs+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerMaxEntries.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerMaxEntries.tsx b/packages/cli/templates/blocks/components/Tokenizer/TokenizerMaxEntries.tsxindex 764ca539b5..3d509554a3 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerMaxEntries.tsx+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerMaxEntries.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerOverflow.doc.mjs b/packages/cli/templates/blocks/components/Tokenizer/TokenizerOverflow.doc.mjsindex 570c2ea985..869842407c 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerOverflow.doc.mjs+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerOverflow.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerOverflow.tsx b/packages/cli/templates/blocks/components/Tokenizer/TokenizerOverflow.tsxindex 5db195143f..d6a62e6f5d 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerOverflow.tsx+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerOverflow.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerShowcase.doc.mjs b/packages/cli/templates/blocks/components/Tokenizer/TokenizerShowcase.doc.mjsindex 3b6cf83e18..79f8fc18c9 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerShowcase.tsx b/packages/cli/templates/blocks/components/Tokenizer/TokenizerShowcase.tsxindex cff54fca58..4fec342e71 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerShowcase.tsx+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerStates.doc.mjs b/packages/cli/templates/blocks/components/Tokenizer/TokenizerStates.doc.mjsindex f47ba02a1b..5a6018b95d 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerStates.doc.mjs+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerStates.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tokenizer/TokenizerStates.tsx b/packages/cli/templates/blocks/components/Tokenizer/TokenizerStates.tsxindex 013f65a244..e6fd882738 100644--- a/packages/cli/templates/blocks/components/Tokenizer/TokenizerStates.tsx+++ b/packages/cli/templates/blocks/components/Tokenizer/TokenizerStates.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarBulkActions.doc.mjs b/packages/cli/templates/blocks/components/Toolbar/ToolbarBulkActions.doc.mjsindex 3b8c5771b3..41c7a9b4b6 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarBulkActions.doc.mjs+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarBulkActions.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarBulkActions.tsx b/packages/cli/templates/blocks/components/Toolbar/ToolbarBulkActions.tsxindex f22f275b08..4318fc1626 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarBulkActions.tsx+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarBulkActions.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarCardHeader.doc.mjs b/packages/cli/templates/blocks/components/Toolbar/ToolbarCardHeader.doc.mjsindex a0d9dfb8cf..1d114ea4ca 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarCardHeader.doc.mjs+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarCardHeader.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarCardHeader.tsx b/packages/cli/templates/blocks/components/Toolbar/ToolbarCardHeader.tsxindex 727d816c09..4b88d7ea72 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarCardHeader.tsx+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarCardHeader.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToolbar} from '@xds/core/Toolbar';diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarSizes.doc.mjs b/packages/cli/templates/blocks/components/Toolbar/ToolbarSizes.doc.mjsindex 235b373b1c..859e44d5cb 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarSizes.doc.mjs+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarSizes.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarSizes.tsx b/packages/cli/templates/blocks/components/Toolbar/ToolbarSizes.tsxindex e3397f0557..145ee6d0e8 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarSizes.tsx+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarSizes.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToolbar} from '@xds/core/Toolbar';diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarTableFilter.doc.mjs b/packages/cli/templates/blocks/components/Toolbar/ToolbarTableFilter.doc.mjsindex 16e326690a..b499ca9b5b 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarTableFilter.doc.mjs+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarTableFilter.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarTableFilter.tsx b/packages/cli/templates/blocks/components/Toolbar/ToolbarTableFilter.tsxindex d28f41be8f..243f6d048f 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarTableFilter.tsx+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarTableFilter.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToolbar} from '@xds/core/Toolbar';diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarThreeSlot.doc.mjs b/packages/cli/templates/blocks/components/Toolbar/ToolbarThreeSlot.doc.mjsindex f90d227734..f9c5e2377b 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarThreeSlot.doc.mjs+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarThreeSlot.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarThreeSlot.tsx b/packages/cli/templates/blocks/components/Toolbar/ToolbarThreeSlot.tsxindex 9f42008ebc..e9763b4cf6 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarThreeSlot.tsx+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarThreeSlot.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSToolbar} from '@xds/core/Toolbar';diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarWithTabs.doc.mjs b/packages/cli/templates/blocks/components/Toolbar/ToolbarWithTabs.doc.mjsindex fb0b7a2ba1..0585630d3e 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarWithTabs.doc.mjs+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarWithTabs.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Toolbar/ToolbarWithTabs.tsx b/packages/cli/templates/blocks/components/Toolbar/ToolbarWithTabs.tsxindex e62255e6c4..6803e9210c 100644--- a/packages/cli/templates/blocks/components/Toolbar/ToolbarWithTabs.tsx+++ b/packages/cli/templates/blocks/components/Toolbar/ToolbarWithTabs.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Tooltip/TooltipActionBarTooltips.doc.mjs b/packages/cli/templates/blocks/components/Tooltip/TooltipActionBarTooltips.doc.mjsindex d9d7a09c52..ee0b403ddd 100644--- a/packages/cli/templates/blocks/components/Tooltip/TooltipActionBarTooltips.doc.mjs+++ b/packages/cli/templates/blocks/components/Tooltip/TooltipActionBarTooltips.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tooltip/TooltipActionBarTooltips.tsx b/packages/cli/templates/blocks/components/Tooltip/TooltipActionBarTooltips.tsxindex 24d430c80e..8af9d02f2e 100644--- a/packages/cli/templates/blocks/components/Tooltip/TooltipActionBarTooltips.tsx+++ b/packages/cli/templates/blocks/components/Tooltip/TooltipActionBarTooltips.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTooltip} from '@xds/core/Tooltip';diff --git a/packages/cli/templates/blocks/components/Tooltip/TooltipHookUsage.doc.mjs b/packages/cli/templates/blocks/components/Tooltip/TooltipHookUsage.doc.mjsindex 207eecfbd3..4265dc874e 100644--- a/packages/cli/templates/blocks/components/Tooltip/TooltipHookUsage.doc.mjs+++ b/packages/cli/templates/blocks/components/Tooltip/TooltipHookUsage.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tooltip/TooltipHookUsage.tsx b/packages/cli/templates/blocks/components/Tooltip/TooltipHookUsage.tsxindex 86e9af251e..98a6e8ff71 100644--- a/packages/cli/templates/blocks/components/Tooltip/TooltipHookUsage.tsx+++ b/packages/cli/templates/blocks/components/Tooltip/TooltipHookUsage.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useXDSTooltip} from '@xds/core/Tooltip';diff --git a/packages/cli/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.doc.mjs b/packages/cli/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.doc.mjsindex e3319e1a41..a044161335 100644--- a/packages/cli/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.doc.mjs+++ b/packages/cli/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.tsx b/packages/cli/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.tsxindex a49bd1e3be..a99b956673 100644--- a/packages/cli/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.tsx+++ b/packages/cli/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTooltip} from '@xds/core/Tooltip';diff --git a/packages/cli/templates/blocks/components/Tooltip/TooltipShowcase.doc.mjs b/packages/cli/templates/blocks/components/Tooltip/TooltipShowcase.doc.mjsindex b9d275ec73..51d83b63af 100644--- a/packages/cli/templates/blocks/components/Tooltip/TooltipShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Tooltip/TooltipShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Tooltip/TooltipShowcase.tsx b/packages/cli/templates/blocks/components/Tooltip/TooltipShowcase.tsxindex 413f65cc84..cff752f654 100644--- a/packages/cli/templates/blocks/components/Tooltip/TooltipShowcase.tsx+++ b/packages/cli/templates/blocks/components/Tooltip/TooltipShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTooltip} from '@xds/core/Tooltip';diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavCenteredNavigation.doc.mjs b/packages/cli/templates/blocks/components/TopNav/TopNavCenteredNavigation.doc.mjsindex e3bf64c540..a2f703fa36 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavCenteredNavigation.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNav/TopNavCenteredNavigation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavCenteredNavigation.tsx b/packages/cli/templates/blocks/components/TopNav/TopNavCenteredNavigation.tsxindex a7aecc26e4..2e767b3f46 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavCenteredNavigation.tsx+++ b/packages/cli/templates/blocks/components/TopNav/TopNavCenteredNavigation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTopNav, XDSTopNavHeading, XDSTopNavItem} from '@xds/core/TopNav';diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.doc.mjs b/packages/cli/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.doc.mjsindex 8bd1672adc..fa4f30ce70 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.tsx b/packages/cli/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.tsxindex ef521df258..3da29c3f1f 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.tsx+++ b/packages/cli/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTopNav, XDSTopNavHeading, XDSTopNavItem} from '@xds/core/TopNav';diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavHoverMenu.doc.mjs b/packages/cli/templates/blocks/components/TopNav/TopNavHoverMenu.doc.mjsindex 5b579bf035..2f6c98aba4 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavHoverMenu.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNav/TopNavHoverMenu.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavHoverMenu.tsx b/packages/cli/templates/blocks/components/TopNav/TopNavHoverMenu.tsxindex 7bbad397f4..e10b66c96f 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavHoverMenu.tsx+++ b/packages/cli/templates/blocks/components/TopNav/TopNavHoverMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavMegaMenu.doc.mjs b/packages/cli/templates/blocks/components/TopNav/TopNavMegaMenu.doc.mjsindex bc475e8031..653c9a66f9 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavMegaMenu.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNav/TopNavMegaMenu.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavMegaMenu.tsx b/packages/cli/templates/blocks/components/TopNav/TopNavMegaMenu.tsxindex 835f911c12..a50541a02a 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavMegaMenu.tsx+++ b/packages/cli/templates/blocks/components/TopNav/TopNavMegaMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavMultipleDropdowns.doc.mjs b/packages/cli/templates/blocks/components/TopNav/TopNavMultipleDropdowns.doc.mjsindex 4889e06e91..3a4ee2f192 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavMultipleDropdowns.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNav/TopNavMultipleDropdowns.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavMultipleDropdowns.tsx b/packages/cli/templates/blocks/components/TopNav/TopNavMultipleDropdowns.tsxindex 0f05cd2f0e..4e20200685 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavMultipleDropdowns.tsx+++ b/packages/cli/templates/blocks/components/TopNav/TopNavMultipleDropdowns.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavShowcase.doc.mjs b/packages/cli/templates/blocks/components/TopNav/TopNavShowcase.doc.mjsindex 499c989023..7970e683ed 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNav/TopNavShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavShowcase.tsx b/packages/cli/templates/blocks/components/TopNav/TopNavShowcase.tsxindex 22de9322aa..6dd74aea6d 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavShowcase.tsx+++ b/packages/cli/templates/blocks/components/TopNav/TopNavShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTopNav, XDSTopNavHeading, XDSTopNavItem} from '@xds/core/TopNav';diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavWithLogo.doc.mjs b/packages/cli/templates/blocks/components/TopNav/TopNavWithLogo.doc.mjsindex 2f07bd6b54..9c69933fcc 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavWithLogo.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNav/TopNavWithLogo.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNav/TopNavWithLogo.tsx b/packages/cli/templates/blocks/components/TopNav/TopNavWithLogo.tsxindex b3d0c985d7..1e3dca5ea3 100644--- a/packages/cli/templates/blocks/components/TopNav/TopNavWithLogo.tsx+++ b/packages/cli/templates/blocks/components/TopNav/TopNavWithLogo.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTopNav, XDSTopNavHeading, XDSTopNavItem} from '@xds/core/TopNav';diff --git a/packages/cli/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.doc.mjs b/packages/cli/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.doc.mjsindex 77e50b7f37..b0ee14efaa 100644--- a/packages/cli/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.tsx b/packages/cli/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.tsxindex 0f3dc83b4a..8bc5bd914d 100644--- a/packages/cli/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.tsx+++ b/packages/cli/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTopNav, XDSTopNavHeading} from '@xds/core/TopNav';diff --git a/packages/cli/templates/blocks/components/TopNavItem/TopNavItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/TopNavItem/TopNavItemShowcase.doc.mjsindex b6d5191bb2..3e73dc298f 100644--- a/packages/cli/templates/blocks/components/TopNavItem/TopNavItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNavItem/TopNavItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNavItem/TopNavItemShowcase.tsx b/packages/cli/templates/blocks/components/TopNavItem/TopNavItemShowcase.tsxindex 8e5c19004d..5a8c973feb 100644--- a/packages/cli/templates/blocks/components/TopNavItem/TopNavItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/TopNavItem/TopNavItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTopNav, XDSTopNavHeading, XDSTopNavItem} from '@xds/core/TopNav';diff --git a/packages/cli/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.doc.mjs b/packages/cli/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.doc.mjsindex a6ad7b40fe..0c09741e92 100644--- a/packages/cli/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.tsx b/packages/cli/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.tsxindex 17c2083541..2dde09ec8e 100644--- a/packages/cli/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.tsx+++ b/packages/cli/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.doc.mjs b/packages/cli/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.doc.mjsindex 34134ba2c1..4b5c43d64e 100644--- a/packages/cli/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.tsx b/packages/cli/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.tsxindex 3380a320d7..eddbc75755 100644--- a/packages/cli/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.tsx+++ b/packages/cli/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTopNavMegaMenuFeaturedCard} from '@xds/core/TopNav';diff --git a/packages/cli/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.doc.mjsindex 0dd1fbc6f7..4a1021dab1 100644--- a/packages/cli/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.tsx b/packages/cli/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.tsxindex 269d836dec..666f7c6d01 100644--- a/packages/cli/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTopNavMegaMenuItem} from '@xds/core/TopNav';diff --git a/packages/cli/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.doc.mjs b/packages/cli/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.doc.mjsindex fade5c5667..3bd13a594e 100644--- a/packages/cli/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.tsx b/packages/cli/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.tsxindex 228b5709ed..03ec3873b5 100644--- a/packages/cli/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.tsx+++ b/packages/cli/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.doc.mjs b/packages/cli/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.doc.mjsindex 81ac6e534a..987ae00610 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.doc.mjs+++ b/packages/cli/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.tsx b/packages/cli/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.tsxindex 99829aff8c..c8eb518c42 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.tsx+++ b/packages/cli/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTreeList} from '@xds/core/TreeList';diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListInteractiveSettings.doc.mjs b/packages/cli/templates/blocks/components/TreeList/TreeListInteractiveSettings.doc.mjsindex 1b6564ddb4..f08989eceb 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListInteractiveSettings.doc.mjs+++ b/packages/cli/templates/blocks/components/TreeList/TreeListInteractiveSettings.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListInteractiveSettings.tsx b/packages/cli/templates/blocks/components/TreeList/TreeListInteractiveSettings.tsxindex e255598bae..c3e866f151 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListInteractiveSettings.tsx+++ b/packages/cli/templates/blocks/components/TreeList/TreeListInteractiveSettings.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTreeList} from '@xds/core/TreeList';diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListMailboxTree.doc.mjs b/packages/cli/templates/blocks/components/TreeList/TreeListMailboxTree.doc.mjsindex ee5774e697..910b67f3a3 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListMailboxTree.doc.mjs+++ b/packages/cli/templates/blocks/components/TreeList/TreeListMailboxTree.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListMailboxTree.tsx b/packages/cli/templates/blocks/components/TreeList/TreeListMailboxTree.tsxindex 04a7d64570..576bfcd99e 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListMailboxTree.tsx+++ b/packages/cli/templates/blocks/components/TreeList/TreeListMailboxTree.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTreeList} from '@xds/core/TreeList';diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListNavigationTree.doc.mjs b/packages/cli/templates/blocks/components/TreeList/TreeListNavigationTree.doc.mjsindex 93cbd0c62b..0b0f721e03 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListNavigationTree.doc.mjs+++ b/packages/cli/templates/blocks/components/TreeList/TreeListNavigationTree.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListNavigationTree.tsx b/packages/cli/templates/blocks/components/TreeList/TreeListNavigationTree.tsxindex f753cad70b..9ebc04020f 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListNavigationTree.tsx+++ b/packages/cli/templates/blocks/components/TreeList/TreeListNavigationTree.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTreeList} from '@xds/core/TreeList';diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListShowcase.doc.mjs b/packages/cli/templates/blocks/components/TreeList/TreeListShowcase.doc.mjsindex 6981a4fcf6..6e98fd79bd 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TreeList/TreeListShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TreeList/TreeListShowcase.tsx b/packages/cli/templates/blocks/components/TreeList/TreeListShowcase.tsxindex 0006ba5ee8..5bf887419b 100644--- a/packages/cli/templates/blocks/components/TreeList/TreeListShowcase.tsx+++ b/packages/cli/templates/blocks/components/TreeList/TreeListShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTreeList} from '@xds/core/TreeList';diff --git a/packages/cli/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.doc.mjs b/packages/cli/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.doc.mjsindex 8efd460d78..4efe948d47 100644--- a/packages/cli/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.tsx b/packages/cli/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.tsxindex 2831eb3005..ea10d2e3bb 100644--- a/packages/cli/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.tsx+++ b/packages/cli/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTreeList} from '@xds/core/TreeList';diff --git a/packages/cli/templates/blocks/components/TreeListItem/TreeListItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/TreeListItem/TreeListItemShowcase.doc.mjsindex 71d35e7e17..7b4cc5b336 100644--- a/packages/cli/templates/blocks/components/TreeListItem/TreeListItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TreeListItem/TreeListItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TreeListItem/TreeListItemShowcase.tsx b/packages/cli/templates/blocks/components/TreeListItem/TreeListItemShowcase.tsxindex 2dede9ffd2..9a31bfb6b6 100644--- a/packages/cli/templates/blocks/components/TreeListItem/TreeListItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/TreeListItem/TreeListItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSTreeList} from '@xds/core/TreeList';diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadLimitedResults.doc.mjs b/packages/cli/templates/blocks/components/Typeahead/TypeaheadLimitedResults.doc.mjsindex e140947bf1..6dba797ac7 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadLimitedResults.doc.mjs+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadLimitedResults.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadLimitedResults.tsx b/packages/cli/templates/blocks/components/Typeahead/TypeaheadLimitedResults.tsxindex c9678ae1c3..0ff5d0e447 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadLimitedResults.tsx+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadLimitedResults.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadSearchField.doc.mjs b/packages/cli/templates/blocks/components/Typeahead/TypeaheadSearchField.doc.mjsindex e834e0dc1e..4193d830f6 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadSearchField.doc.mjs+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadSearchField.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadSearchField.tsx b/packages/cli/templates/blocks/components/Typeahead/TypeaheadSearchField.tsxindex 1f73637d85..62412c92d2 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadSearchField.tsx+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadSearchField.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadShowcase.doc.mjs b/packages/cli/templates/blocks/components/Typeahead/TypeaheadShowcase.doc.mjsindex a77f439905..d5b5b007b2 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadShowcase.tsx b/packages/cli/templates/blocks/components/Typeahead/TypeaheadShowcase.tsxindex 959b264b0b..8aa71c0caf 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadShowcase.tsx+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {XDSTypeahead} from '@xds/core/Typeahead';import type {XDSSearchableItem, XDSSearchSource} from '@xds/core/Typeahead';diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithHelperText.doc.mjs b/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithHelperText.doc.mjsindex 62313cf405..e739f471ff 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithHelperText.doc.mjs+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithHelperText.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithHelperText.tsx b/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithHelperText.tsxindex 6ea4224662..cc39252566 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithHelperText.tsx+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithHelperText.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithValidation.doc.mjs b/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithValidation.doc.mjsindex a0fbd66f28..0b576539c7 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithValidation.doc.mjs+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithValidation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithValidation.tsx b/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithValidation.tsxindex 14e2ddd478..76b85075eb 100644--- a/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithValidation.tsx+++ b/packages/cli/templates/blocks/components/Typeahead/TypeaheadWithValidation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.doc.mjs b/packages/cli/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.doc.mjsindex 23d899687f..5113ae0928 100644--- a/packages/cli/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.tsx b/packages/cli/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.tsxindex 69003c5ca4..8d97576b03 100644--- a/packages/cli/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.tsx+++ b/packages/cli/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/blocks/components/VStack/VStackShowcase.doc.mjs b/packages/cli/templates/blocks/components/VStack/VStackShowcase.doc.mjsindex 1bc70074ff..9443fc61ef 100644--- a/packages/cli/templates/blocks/components/VStack/VStackShowcase.doc.mjs+++ b/packages/cli/templates/blocks/components/VStack/VStackShowcase.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'block',diff --git a/packages/cli/templates/blocks/components/VStack/VStackShowcase.tsx b/packages/cli/templates/blocks/components/VStack/VStackShowcase.tsxindex 2c81d9e4cc..c008bc5f1f 100644--- a/packages/cli/templates/blocks/components/VStack/VStackShowcase.tsx+++ b/packages/cli/templates/blocks/components/VStack/VStackShowcase.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSHStack, XDSVStack} from '@xds/core/Layout';diff --git a/packages/cli/templates/pages/ai-chat-artifact/page.tsx b/packages/cli/templates/pages/ai-chat-artifact/page.tsxindex fc4086e16d..1bdedcc4dc 100644--- a/packages/cli/templates/pages/ai-chat-artifact/page.tsx+++ b/packages/cli/templates/pages/ai-chat-artifact/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/ai-chat-artifact/template.doc.mjs b/packages/cli/templates/pages/ai-chat-artifact/template.doc.mjsindex 20ece0eecc..aa08626fee 100644--- a/packages/cli/templates/pages/ai-chat-artifact/template.doc.mjs+++ b/packages/cli/templates/pages/ai-chat-artifact/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/ai-chat-landing/page.tsx b/packages/cli/templates/pages/ai-chat-landing/page.tsxindex 4bfc38d827..ee97a34c3f 100644--- a/packages/cli/templates/pages/ai-chat-landing/page.tsx+++ b/packages/cli/templates/pages/ai-chat-landing/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useCallback, useRef, useState} from 'react';diff --git a/packages/cli/templates/pages/ai-chat-landing/template.doc.mjs b/packages/cli/templates/pages/ai-chat-landing/template.doc.mjsindex 4faa42d8fc..39df928083 100644--- a/packages/cli/templates/pages/ai-chat-landing/template.doc.mjs+++ b/packages/cli/templates/pages/ai-chat-landing/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/ai-chat/page.tsx b/packages/cli/templates/pages/ai-chat/page.tsxindex a1a8241642..18a02dce69 100644--- a/packages/cli/templates/pages/ai-chat/page.tsx+++ b/packages/cli/templates/pages/ai-chat/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/ai-chat/template.doc.mjs b/packages/cli/templates/pages/ai-chat/template.doc.mjsindex 8c35e40435..141f84bd00 100644--- a/packages/cli/templates/pages/ai-chat/template.doc.mjs+++ b/packages/cli/templates/pages/ai-chat/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/blank/page.tsx b/packages/cli/templates/pages/blank/page.tsxindex 441803f333..4b80189d81 100644--- a/packages/cli/templates/pages/blank/page.tsx+++ b/packages/cli/templates/pages/blank/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSLayout, XDSLayoutContent} from '@xds/core';diff --git a/packages/cli/templates/pages/blank/template.doc.mjs b/packages/cli/templates/pages/blank/template.doc.mjsindex 3411db470a..c51a7f25e8 100644--- a/packages/cli/templates/pages/blank/template.doc.mjs+++ b/packages/cli/templates/pages/blank/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/centered-hero/page.tsx b/packages/cli/templates/pages/centered-hero/page.tsxindex 86866e9e37..8902d7c96b 100644--- a/packages/cli/templates/pages/centered-hero/page.tsx+++ b/packages/cli/templates/pages/centered-hero/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/pages/centered-hero/template.doc.mjs b/packages/cli/templates/pages/centered-hero/template.doc.mjsindex edc9be2548..fbeb500e9b 100644--- a/packages/cli/templates/pages/centered-hero/template.doc.mjs+++ b/packages/cli/templates/pages/centered-hero/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/classic-gallery/page.tsx b/packages/cli/templates/pages/classic-gallery/page.tsxindex f7830e83bc..59721f8d2d 100644--- a/packages/cli/templates/pages/classic-gallery/page.tsx+++ b/packages/cli/templates/pages/classic-gallery/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/classic-gallery/template.doc.mjs b/packages/cli/templates/pages/classic-gallery/template.doc.mjsindex 0d512e44e6..7106729085 100644--- a/packages/cli/templates/pages/classic-gallery/template.doc.mjs+++ b/packages/cli/templates/pages/classic-gallery/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {name: 'Classic Gallery',diff --git a/packages/cli/templates/pages/contact-form/page.tsx b/packages/cli/templates/pages/contact-form/page.tsxindex 4e93451471..41495863cc 100644--- a/packages/cli/templates/pages/contact-form/page.tsx+++ b/packages/cli/templates/pages/contact-form/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/contact-form/template.doc.mjs b/packages/cli/templates/pages/contact-form/template.doc.mjsindex 958971bfc3..7d11cb3a48 100644--- a/packages/cli/templates/pages/contact-form/template.doc.mjs+++ b/packages/cli/templates/pages/contact-form/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/dashboard-portfolio/page.tsx b/packages/cli/templates/pages/dashboard-portfolio/page.tsxindex 0337388343..898c66e57c 100644--- a/packages/cli/templates/pages/dashboard-portfolio/page.tsx+++ b/packages/cli/templates/pages/dashboard-portfolio/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/dashboard-portfolio/template.doc.mjs b/packages/cli/templates/pages/dashboard-portfolio/template.doc.mjsindex 2ae252a22c..4d34a51046 100644--- a/packages/cli/templates/pages/dashboard-portfolio/template.doc.mjs+++ b/packages/cli/templates/pages/dashboard-portfolio/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/dashboard/page.tsx b/packages/cli/templates/pages/dashboard/page.tsxindex a0149279a1..5b49664ca1 100644--- a/packages/cli/templates/pages/dashboard/page.tsx+++ b/packages/cli/templates/pages/dashboard/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/dashboard/template.doc.mjs b/packages/cli/templates/pages/dashboard/template.doc.mjsindex 78e73359c9..336279f2c6 100644--- a/packages/cli/templates/pages/dashboard/template.doc.mjs+++ b/packages/cli/templates/pages/dashboard/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/detail-page/page.tsx b/packages/cli/templates/pages/detail-page/page.tsxindex 5096341d3f..507cb6fbfb 100644--- a/packages/cli/templates/pages/detail-page/page.tsx+++ b/packages/cli/templates/pages/detail-page/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/detail-page/template.doc.mjs b/packages/cli/templates/pages/detail-page/template.doc.mjsindex 084a68a735..fbb7da4138 100644--- a/packages/cli/templates/pages/detail-page/template.doc.mjs+++ b/packages/cli/templates/pages/detail-page/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/documentation-design/page.tsx b/packages/cli/templates/pages/documentation-design/page.tsxindex 1a63b1b8ab..efadd72b60 100644--- a/packages/cli/templates/pages/documentation-design/page.tsx+++ b/packages/cli/templates/pages/documentation-design/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/packages/cli/templates/pages/documentation-design/template.doc.mjs b/packages/cli/templates/pages/documentation-design/template.doc.mjsindex f75795b237..7d1148b5ea 100644--- a/packages/cli/templates/pages/documentation-design/template.doc.mjs+++ b/packages/cli/templates/pages/documentation-design/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/documentation-technical/page.tsx b/packages/cli/templates/pages/documentation-technical/page.tsxindex 3e8a4e1ce2..64d047ac64 100644--- a/packages/cli/templates/pages/documentation-technical/page.tsx+++ b/packages/cli/templates/pages/documentation-technical/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/pages/documentation-technical/template.doc.mjs b/packages/cli/templates/pages/documentation-technical/template.doc.mjsindex 63824f17b2..c8d8027e71 100644--- a/packages/cli/templates/pages/documentation-technical/template.doc.mjs+++ b/packages/cli/templates/pages/documentation-technical/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/documentation/page.tsx b/packages/cli/templates/pages/documentation/page.tsxindex 7f8ac3f977..646754af82 100644--- a/packages/cli/templates/pages/documentation/page.tsx+++ b/packages/cli/templates/pages/documentation/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/pages/documentation/template.doc.mjs b/packages/cli/templates/pages/documentation/template.doc.mjsindex 07348fc159..7cc19a7dd5 100644--- a/packages/cli/templates/pages/documentation/template.doc.mjs+++ b/packages/cli/templates/pages/documentation/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/editor/page.tsx b/packages/cli/templates/pages/editor/page.tsxindex 8b8fc00eed..d5a5e6ecf8 100644--- a/packages/cli/templates/pages/editor/page.tsx+++ b/packages/cli/templates/pages/editor/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useCallback} from 'react';diff --git a/packages/cli/templates/pages/editor/template.doc.mjs b/packages/cli/templates/pages/editor/template.doc.mjsindex 4e8426d742..00160f608a 100644--- a/packages/cli/templates/pages/editor/template.doc.mjs+++ b/packages/cli/templates/pages/editor/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/file-explorer/page.tsx b/packages/cli/templates/pages/file-explorer/page.tsxindex 9697760e14..673dc452ab 100644--- a/packages/cli/templates/pages/file-explorer/page.tsx+++ b/packages/cli/templates/pages/file-explorer/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/packages/cli/templates/pages/file-explorer/template.doc.mjs b/packages/cli/templates/pages/file-explorer/template.doc.mjsindex 09d35c5c91..3fb8ca1dd8 100644--- a/packages/cli/templates/pages/file-explorer/template.doc.mjs+++ b/packages/cli/templates/pages/file-explorer/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/form-two-column/page.tsx b/packages/cli/templates/pages/form-two-column/page.tsxindex 8f004409d5..6b62e3cdeb 100644--- a/packages/cli/templates/pages/form-two-column/page.tsx+++ b/packages/cli/templates/pages/form-two-column/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/form-two-column/template.doc.mjs b/packages/cli/templates/pages/form-two-column/template.doc.mjsindex 08f5a0dd1f..ba6acfa4dd 100644--- a/packages/cli/templates/pages/form-two-column/template.doc.mjs+++ b/packages/cli/templates/pages/form-two-column/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/gallery-hero/page.tsx b/packages/cli/templates/pages/gallery-hero/page.tsxindex 45e5492b7c..e408b8fc8d 100644--- a/packages/cli/templates/pages/gallery-hero/page.tsx+++ b/packages/cli/templates/pages/gallery-hero/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import * as stylex from '@stylexjs/stylex';diff --git a/packages/cli/templates/pages/gallery-hero/template.doc.mjs b/packages/cli/templates/pages/gallery-hero/template.doc.mjsindex e735ca0ab7..54969abde1 100644--- a/packages/cli/templates/pages/gallery-hero/template.doc.mjs+++ b/packages/cli/templates/pages/gallery-hero/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/ide/page.tsx b/packages/cli/templates/pages/ide/page.tsxindex 5381328dc3..973b646c4c 100644--- a/packages/cli/templates/pages/ide/page.tsx+++ b/packages/cli/templates/pages/ide/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/packages/cli/templates/pages/ide/template.doc.mjs b/packages/cli/templates/pages/ide/template.doc.mjsindex dbd4457d61..7fc327b9ea 100644--- a/packages/cli/templates/pages/ide/template.doc.mjs+++ b/packages/cli/templates/pages/ide/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/library/page.tsx b/packages/cli/templates/pages/library/page.tsxindex 0268027a9b..e23c85f71e 100644--- a/packages/cli/templates/pages/library/page.tsx+++ b/packages/cli/templates/pages/library/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/packages/cli/templates/pages/library/template.doc.mjs b/packages/cli/templates/pages/library/template.doc.mjsindex 199acebe31..54ace20ec2 100644--- a/packages/cli/templates/pages/library/template.doc.mjs+++ b/packages/cli/templates/pages/library/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/login-card/page.tsx b/packages/cli/templates/pages/login-card/page.tsxindex cfb50fda3b..05ebc3ec77 100644--- a/packages/cli/templates/pages/login-card/page.tsx+++ b/packages/cli/templates/pages/login-card/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/login-card/template.doc.mjs b/packages/cli/templates/pages/login-card/template.doc.mjsindex b12413cf25..1cdb57b28e 100644--- a/packages/cli/templates/pages/login-card/template.doc.mjs+++ b/packages/cli/templates/pages/login-card/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/login-split/page.tsx b/packages/cli/templates/pages/login-split/page.tsxindex b4598e844f..262321ecf4 100644--- a/packages/cli/templates/pages/login-split/page.tsx+++ b/packages/cli/templates/pages/login-split/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/login-split/template.doc.mjs b/packages/cli/templates/pages/login-split/template.doc.mjsindex ef72c191e9..443daa4799 100644--- a/packages/cli/templates/pages/login-split/template.doc.mjs+++ b/packages/cli/templates/pages/login-split/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/login-sso/page.tsx b/packages/cli/templates/pages/login-sso/page.tsxindex c7dd9caa4b..de4ea97be2 100644--- a/packages/cli/templates/pages/login-sso/page.tsx+++ b/packages/cli/templates/pages/login-sso/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/login-sso/template.doc.mjs b/packages/cli/templates/pages/login-sso/template.doc.mjsindex 82a8d3a151..3bf5404c2e 100644--- a/packages/cli/templates/pages/login-sso/template.doc.mjs+++ b/packages/cli/templates/pages/login-sso/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/login/page.tsx b/packages/cli/templates/pages/login/page.tsxindex 1f49b14d40..aeb71bb768 100644--- a/packages/cli/templates/pages/login/page.tsx+++ b/packages/cli/templates/pages/login/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/login/template.doc.mjs b/packages/cli/templates/pages/login/template.doc.mjsindex e4b513dea8..fe3f671286 100644--- a/packages/cli/templates/pages/login/template.doc.mjs+++ b/packages/cli/templates/pages/login/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/mixed-gallery/page.tsx b/packages/cli/templates/pages/mixed-gallery/page.tsxindex 025997410c..ae6d2ca4ef 100644--- a/packages/cli/templates/pages/mixed-gallery/page.tsx+++ b/packages/cli/templates/pages/mixed-gallery/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/pages/mixed-gallery/template.doc.mjs b/packages/cli/templates/pages/mixed-gallery/template.doc.mjsindex c51dcfef78..57dab0a354 100644--- a/packages/cli/templates/pages/mixed-gallery/template.doc.mjs+++ b/packages/cli/templates/pages/mixed-gallery/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {name: 'Mixed Gallery',diff --git a/packages/cli/templates/pages/payment-form/page.tsx b/packages/cli/templates/pages/payment-form/page.tsxindex 9c2f67dc21..fa59668bf4 100644--- a/packages/cli/templates/pages/payment-form/page.tsx+++ b/packages/cli/templates/pages/payment-form/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/payment-form/payment-form-responsive.css b/packages/cli/templates/pages/payment-form/payment-form-responsive.cssindex 19e18a86a3..4b431ca8e5 100644--- a/packages/cli/templates/pages/payment-form/payment-form-responsive.css+++ b/packages/cli/templates/pages/payment-form/payment-form-responsive.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/* Payment Form — responsive layout *//* Prevent layout shift when scrollbar appears/disappears (e.g. accordion toggle) */diff --git a/packages/cli/templates/pages/payment-form/payment-form.css b/packages/cli/templates/pages/payment-form/payment-form.cssindex 0fbd398993..e73ab7bbb6 100644--- a/packages/cli/templates/pages/payment-form/payment-form.css+++ b/packages/cli/templates/pages/payment-form/payment-form.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/* Prevent layout shift when scrollbar appears/disappears (e.g. accordion toggle) */html {scrollbar-gutter: stable;diff --git a/packages/cli/templates/pages/payment-form/template.doc.mjs b/packages/cli/templates/pages/payment-form/template.doc.mjsindex f89988c5ac..5c9bef24cb 100644--- a/packages/cli/templates/pages/payment-form/template.doc.mjs+++ b/packages/cli/templates/pages/payment-form/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/product-detail/page.tsx b/packages/cli/templates/pages/product-detail/page.tsxindex 1a1d988f20..5150498717 100644--- a/packages/cli/templates/pages/product-detail/page.tsx+++ b/packages/cli/templates/pages/product-detail/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/product-detail/template.doc.mjs b/packages/cli/templates/pages/product-detail/template.doc.mjsindex f7423e1997..5fc3bc081a 100644--- a/packages/cli/templates/pages/product-detail/template.doc.mjs+++ b/packages/cli/templates/pages/product-detail/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/product-gallery/page.tsx b/packages/cli/templates/pages/product-gallery/page.tsxindex 89ff546792..ec5fa45518 100644--- a/packages/cli/templates/pages/product-gallery/page.tsx+++ b/packages/cli/templates/pages/product-gallery/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/pages/product-gallery/template.doc.mjs b/packages/cli/templates/pages/product-gallery/template.doc.mjsindex 4a7b202a21..763072ac3f 100644--- a/packages/cli/templates/pages/product-gallery/template.doc.mjs+++ b/packages/cli/templates/pages/product-gallery/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {name: 'Product Gallery',diff --git a/packages/cli/templates/pages/settings-dialog/page.tsx b/packages/cli/templates/pages/settings-dialog/page.tsxindex 937d0d3659..9391fab7f4 100644--- a/packages/cli/templates/pages/settings-dialog/page.tsx+++ b/packages/cli/templates/pages/settings-dialog/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState} from 'react';diff --git a/packages/cli/templates/pages/settings-dialog/template.doc.mjs b/packages/cli/templates/pages/settings-dialog/template.doc.mjsindex 0e706e3b8a..adc706227d 100644--- a/packages/cli/templates/pages/settings-dialog/template.doc.mjs+++ b/packages/cli/templates/pages/settings-dialog/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/settings-sidebar/page.tsx b/packages/cli/templates/pages/settings-sidebar/page.tsxindex 856dd9e903..41b7f5b5a6 100644--- a/packages/cli/templates/pages/settings-sidebar/page.tsx+++ b/packages/cli/templates/pages/settings-sidebar/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/settings-sidebar/template.doc.mjs b/packages/cli/templates/pages/settings-sidebar/template.doc.mjsindex a2ba77eeb1..1a49c787db 100644--- a/packages/cli/templates/pages/settings-sidebar/template.doc.mjs+++ b/packages/cli/templates/pages/settings-sidebar/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/settings/page.tsx b/packages/cli/templates/pages/settings/page.tsxindex 5e614940ce..86216947fd 100644--- a/packages/cli/templates/pages/settings/page.tsx+++ b/packages/cli/templates/pages/settings/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/settings/template.doc.mjs b/packages/cli/templates/pages/settings/template.doc.mjsindex cd008a4432..4aba7ef716 100644--- a/packages/cli/templates/pages/settings/template.doc.mjs+++ b/packages/cli/templates/pages/settings/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/side-gallery/page.tsx b/packages/cli/templates/pages/side-gallery/page.tsxindex 6ca23ade9d..fcfb2c3ea4 100644--- a/packages/cli/templates/pages/side-gallery/page.tsx+++ b/packages/cli/templates/pages/side-gallery/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/pages/side-gallery/template.doc.mjs b/packages/cli/templates/pages/side-gallery/template.doc.mjsindex 012557f761..d3c637001b 100644--- a/packages/cli/templates/pages/side-gallery/template.doc.mjs+++ b/packages/cli/templates/pages/side-gallery/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {name: 'Side Gallery',diff --git a/packages/cli/templates/pages/table-grouped/page.tsx b/packages/cli/templates/pages/table-grouped/page.tsxindex 35fabc727b..5af5327561 100644--- a/packages/cli/templates/pages/table-grouped/page.tsx+++ b/packages/cli/templates/pages/table-grouped/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React, {useState, useMemo} from 'react';diff --git a/packages/cli/templates/pages/table-grouped/template.doc.mjs b/packages/cli/templates/pages/table-grouped/template.doc.mjsindex 37796cfe23..6e86a166ff 100644--- a/packages/cli/templates/pages/table-grouped/template.doc.mjs+++ b/packages/cli/templates/pages/table-grouped/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/table-page-chart/page.tsx b/packages/cli/templates/pages/table-page-chart/page.tsxindex 671cc0ff02..b40c2f4812 100644--- a/packages/cli/templates/pages/table-page-chart/page.tsx+++ b/packages/cli/templates/pages/table-page-chart/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/pages/table-page-chart/template.doc.mjs b/packages/cli/templates/pages/table-page-chart/template.doc.mjsindex 946cb86d22..e7db2274c2 100644--- a/packages/cli/templates/pages/table-page-chart/template.doc.mjs+++ b/packages/cli/templates/pages/table-page-chart/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/table-page-heatmap-status/page.tsx b/packages/cli/templates/pages/table-page-heatmap-status/page.tsxindex 1e950914cc..e1a1528fb4 100644--- a/packages/cli/templates/pages/table-page-heatmap-status/page.tsx+++ b/packages/cli/templates/pages/table-page-heatmap-status/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo} from 'react';diff --git a/packages/cli/templates/pages/table-page-heatmap-status/template.doc.mjs b/packages/cli/templates/pages/table-page-heatmap-status/template.doc.mjsindex cb5493cf7c..7cc16e7f62 100644--- a/packages/cli/templates/pages/table-page-heatmap-status/template.doc.mjs+++ b/packages/cli/templates/pages/table-page-heatmap-status/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/table-page-shoe-store-heatmap/page.tsx b/packages/cli/templates/pages/table-page-shoe-store-heatmap/page.tsxindex 804ccc1238..ef2a4a7433 100644--- a/packages/cli/templates/pages/table-page-shoe-store-heatmap/page.tsx+++ b/packages/cli/templates/pages/table-page-shoe-store-heatmap/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSAppShell} from '@xds/core/AppShell';diff --git a/packages/cli/templates/pages/table-page-shoe-store-heatmap/template.doc.mjs b/packages/cli/templates/pages/table-page-shoe-store-heatmap/template.doc.mjsindex 36be0615b2..73365d164a 100644--- a/packages/cli/templates/pages/table-page-shoe-store-heatmap/template.doc.mjs+++ b/packages/cli/templates/pages/table-page-shoe-store-heatmap/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/table-page/page.tsx b/packages/cli/templates/pages/table-page/page.tsxindex 54e6d16e59..2885bbe7bf 100644--- a/packages/cli/templates/pages/table-page/page.tsx+++ b/packages/cli/templates/pages/table-page/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState, useMemo} from 'react';diff --git a/packages/cli/templates/pages/table-page/template.doc.mjs b/packages/cli/templates/pages/table-page/template.doc.mjsindex 50c6ef2148..ac9c52ff5a 100644--- a/packages/cli/templates/pages/table-page/template.doc.mjs+++ b/packages/cli/templates/pages/table-page/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/cli/templates/pages/table/page.tsx b/packages/cli/templates/pages/table/page.tsxindex 16f3583a21..5434d4aae8 100644--- a/packages/cli/templates/pages/table/page.tsx+++ b/packages/cli/templates/pages/table/page.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useState} from 'react';diff --git a/packages/cli/templates/pages/table/template.doc.mjs b/packages/cli/templates/pages/table/template.doc.mjsindex 3b313b5197..ec5e4d18ec 100644--- a/packages/cli/templates/pages/table/template.doc.mjs+++ b/packages/cli/templates/pages/table/template.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../../../../core/src/docs-types').TemplateDoc} */export const doc = {type: 'page',diff --git a/packages/core/docs.mjs b/packages/core/docs.mjsindex 716ccf14ec..d4c6f948b6 100644--- a/packages/core/docs.mjs+++ b/packages/core/docs.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Lightweight XDS component docs — zero dependencies, ships with @xds/core.*diff --git a/packages/core/esbuild-plugin-babel.d.ts b/packages/core/esbuild-plugin-babel.d.tsindex 770031ab2a..f30ff3ebc8 100644--- a/packages/core/esbuild-plugin-babel.d.ts+++ b/packages/core/esbuild-plugin-babel.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+declare module 'esbuild-plugin-babel';diff --git a/packages/core/groups.doc.mjs b/packages/core/groups.doc.mjsindex 05791e7486..406c566b9a 100644--- a/packages/core/groups.doc.mjs+++ b/packages/core/groups.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('./src/docs-types').GroupDoc} *//**diff --git a/packages/core/src/AlertDialog/AlertDialog.doc.mjs b/packages/core/src/AlertDialog/AlertDialog.doc.mjsindex 5fcfc8de8c..29022ee14b 100644--- a/packages/core/src/AlertDialog/AlertDialog.doc.mjs+++ b/packages/core/src/AlertDialog/AlertDialog.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/AlertDialog/XDSAlertDialog.test.tsx b/packages/core/src/AlertDialog/XDSAlertDialog.test.tsxindex 23aad27efb..3ed4a6d436 100644--- a/packages/core/src/AlertDialog/XDSAlertDialog.test.tsx+++ b/packages/core/src/AlertDialog/XDSAlertDialog.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSAlertDialog.test.tsx* @input Uses vitest, @testing-library/react, XDSAlertDialog componentdiff --git a/packages/core/src/AlertDialog/XDSAlertDialog.tsx b/packages/core/src/AlertDialog/XDSAlertDialog.tsxindex 46bc20e0c4..51628558de 100644--- a/packages/core/src/AlertDialog/XDSAlertDialog.tsx+++ b/packages/core/src/AlertDialog/XDSAlertDialog.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/AlertDialog/index.ts b/packages/core/src/AlertDialog/index.tsindex 471b78e56c..c60b2a1167 100644--- a/packages/core/src/AlertDialog/index.ts+++ b/packages/core/src/AlertDialog/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';export {XDSAlertDialog} from './XDSAlertDialog';diff --git a/packages/core/src/AlertDialog/useXDSImperativeAlertDialog.tsx b/packages/core/src/AlertDialog/useXDSImperativeAlertDialog.tsxindex 76253f1a57..89e910c0a8 100644--- a/packages/core/src/AlertDialog/useXDSImperativeAlertDialog.tsx+++ b/packages/core/src/AlertDialog/useXDSImperativeAlertDialog.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/AppShell/AppShell.doc.mjs b/packages/core/src/AppShell/AppShell.doc.mjsindex 3c95d48aa9..514717054e 100644--- a/packages/core/src/AppShell/AppShell.doc.mjs+++ b/packages/core/src/AppShell/AppShell.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/AppShell/XDSAppShell.test.tsx b/packages/core/src/AppShell/XDSAppShell.test.tsxindex 4311e0c601..132f3fcedd 100644--- a/packages/core/src/AppShell/XDSAppShell.test.tsx+++ b/packages/core/src/AppShell/XDSAppShell.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSAppShell.test.tsx* @input Uses vitest, @testing-library/react, XDSAppShell componentdiff --git a/packages/core/src/AppShell/XDSAppShell.tsx b/packages/core/src/AppShell/XDSAppShell.tsxindex de307c523e..41e42632d1 100644--- a/packages/core/src/AppShell/XDSAppShell.tsx+++ b/packages/core/src/AppShell/XDSAppShell.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import React from 'react';diff --git a/packages/core/src/AppShell/XDSAppShellMobileContext.tsx b/packages/core/src/AppShell/XDSAppShellMobileContext.tsxindex 2403fe8eb0..f2f34bb8c0 100644--- a/packages/core/src/AppShell/XDSAppShellMobileContext.tsx+++ b/packages/core/src/AppShell/XDSAppShellMobileContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/AppShell/index.ts b/packages/core/src/AppShell/index.tsindex 866780a572..e540e7ef5b 100644--- a/packages/core/src/AppShell/index.ts+++ b/packages/core/src/AppShell/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/AppShell/useXDSSlotPresence.tsx b/packages/core/src/AppShell/useXDSSlotPresence.tsxindex de40772f2a..5d549623bf 100644--- a/packages/core/src/AppShell/useXDSSlotPresence.tsx+++ b/packages/core/src/AppShell/useXDSSlotPresence.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/AspectRatio/AspectRatio.doc.mjs b/packages/core/src/AspectRatio/AspectRatio.doc.mjsindex 339d278dc9..400aac50d7 100644--- a/packages/core/src/AspectRatio/AspectRatio.doc.mjs+++ b/packages/core/src/AspectRatio/AspectRatio.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/AspectRatio/XDSAspectRatio.test.tsx b/packages/core/src/AspectRatio/XDSAspectRatio.test.tsxindex 6283030b86..3574fc567b 100644--- a/packages/core/src/AspectRatio/XDSAspectRatio.test.tsx+++ b/packages/core/src/AspectRatio/XDSAspectRatio.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSAspectRatio.test.tsx* @input Uses vitest, @testing-library/react, XDSAspectRatio componentdiff --git a/packages/core/src/AspectRatio/XDSAspectRatio.tsx b/packages/core/src/AspectRatio/XDSAspectRatio.tsxindex e709723432..ced466a4fa 100644--- a/packages/core/src/AspectRatio/XDSAspectRatio.tsx+++ b/packages/core/src/AspectRatio/XDSAspectRatio.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/AspectRatio/index.ts b/packages/core/src/AspectRatio/index.tsindex eb45f2ce85..ed0303d9a4 100644--- a/packages/core/src/AspectRatio/index.ts+++ b/packages/core/src/AspectRatio/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Avatar/Avatar.doc.mjs b/packages/core/src/Avatar/Avatar.doc.mjsindex c5aaccb331..b5c7940d44 100644--- a/packages/core/src/Avatar/Avatar.doc.mjs+++ b/packages/core/src/Avatar/Avatar.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Avatar/XDSAvatar.tsx b/packages/core/src/Avatar/XDSAvatar.tsxindex e09818e8ca..11863b1c07 100644--- a/packages/core/src/Avatar/XDSAvatar.tsx+++ b/packages/core/src/Avatar/XDSAvatar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Avatar/XDSAvatarSizeContext.ts b/packages/core/src/Avatar/XDSAvatarSizeContext.tsindex 835462710b..575f21ebb6 100644--- a/packages/core/src/Avatar/XDSAvatarSizeContext.ts+++ b/packages/core/src/Avatar/XDSAvatarSizeContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Avatar/XDSAvatarStatusDot.tsx b/packages/core/src/Avatar/XDSAvatarStatusDot.tsxindex 7ac7daae8e..6b9f2661e0 100644--- a/packages/core/src/Avatar/XDSAvatarStatusDot.tsx+++ b/packages/core/src/Avatar/XDSAvatarStatusDot.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Avatar/index.ts b/packages/core/src/Avatar/index.tsindex 8574b6c6eb..fcc31a727f 100644--- a/packages/core/src/Avatar/index.ts+++ b/packages/core/src/Avatar/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Badge/Badge.doc.mjs b/packages/core/src/Badge/Badge.doc.mjsindex e911bced49..bf7b28de56 100644--- a/packages/core/src/Badge/Badge.doc.mjs+++ b/packages/core/src/Badge/Badge.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Badge/XDSBadge.test-violations.tsx b/packages/core/src/Badge/XDSBadge.test-violations.tsxindex 70ba6061d9..b9ba412b47 100644--- a/packages/core/src/Badge/XDSBadge.test-violations.tsx+++ b/packages/core/src/Badge/XDSBadge.test-violations.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Test file with intentional violations for ESLint plugin testing* Run with: yarn lint packages/core/src/Badge/XDSBadge.test-violations.tsxdiff --git a/packages/core/src/Badge/XDSBadge.test.tsx b/packages/core/src/Badge/XDSBadge.test.tsxindex 2f429353b0..2b62686797 100644--- a/packages/core/src/Badge/XDSBadge.test.tsx+++ b/packages/core/src/Badge/XDSBadge.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSBadge} from './XDSBadge';diff --git a/packages/core/src/Badge/XDSBadge.tsx b/packages/core/src/Badge/XDSBadge.tsxindex e93b8e2f0a..f36fc5a34e 100644--- a/packages/core/src/Badge/XDSBadge.tsx+++ b/packages/core/src/Badge/XDSBadge.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Badge/index.ts b/packages/core/src/Badge/index.tsindex c01b8d8f67..182910132d 100644--- a/packages/core/src/Badge/index.ts+++ b/packages/core/src/Badge/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Banner/Banner.doc.mjs b/packages/core/src/Banner/Banner.doc.mjsindex a2579cc889..a1e4eacfe7 100644--- a/packages/core/src/Banner/Banner.doc.mjs+++ b/packages/core/src/Banner/Banner.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Banner/XDSBanner.test.tsx b/packages/core/src/Banner/XDSBanner.test.tsxindex b3ad8fb52b..f4d600226b 100644--- a/packages/core/src/Banner/XDSBanner.test.tsx+++ b/packages/core/src/Banner/XDSBanner.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSBanner.test.tsx* @input Uses vitest, @testing-library/react, XDSBanner componentdiff --git a/packages/core/src/Banner/XDSBanner.tsx b/packages/core/src/Banner/XDSBanner.tsxindex 312c2654da..12c120ba0a 100644--- a/packages/core/src/Banner/XDSBanner.tsx+++ b/packages/core/src/Banner/XDSBanner.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Banner/index.ts b/packages/core/src/Banner/index.tsindex 4ac49aaeeb..77bb553ed5 100644--- a/packages/core/src/Banner/index.ts+++ b/packages/core/src/Banner/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Blockquote/Blockquote.doc.mjs b/packages/core/src/Blockquote/Blockquote.doc.mjsindex 1fe71bc25a..52aadbe237 100644--- a/packages/core/src/Blockquote/Blockquote.doc.mjs+++ b/packages/core/src/Blockquote/Blockquote.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */diff --git a/packages/core/src/Blockquote/XDSBlockquote.test.tsx b/packages/core/src/Blockquote/XDSBlockquote.test.tsxindex 9cc4a6fe7f..c5e85a325c 100644--- a/packages/core/src/Blockquote/XDSBlockquote.test.tsx+++ b/packages/core/src/Blockquote/XDSBlockquote.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSBlockquote.test.tsx* @input Uses vitest, @testing-library/react, XDSBlockquote componentdiff --git a/packages/core/src/Blockquote/XDSBlockquote.tsx b/packages/core/src/Blockquote/XDSBlockquote.tsxindex a8d302c13f..0f438c8a88 100644--- a/packages/core/src/Blockquote/XDSBlockquote.tsx+++ b/packages/core/src/Blockquote/XDSBlockquote.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Blockquote/index.ts b/packages/core/src/Blockquote/index.tsindex 57023805cf..ce1b2ae94f 100644--- a/packages/core/src/Blockquote/index.ts+++ b/packages/core/src/Blockquote/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Breadcrumbs/Breadcrumbs.doc.mjs b/packages/core/src/Breadcrumbs/Breadcrumbs.doc.mjsindex 4ea8dd4b25..6eaeab4be9 100644--- a/packages/core/src/Breadcrumbs/Breadcrumbs.doc.mjs+++ b/packages/core/src/Breadcrumbs/Breadcrumbs.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Breadcrumbs/XDSBreadcrumbItem.tsx b/packages/core/src/Breadcrumbs/XDSBreadcrumbItem.tsxindex 819d3da4b1..79341587cc 100644--- a/packages/core/src/Breadcrumbs/XDSBreadcrumbItem.tsx+++ b/packages/core/src/Breadcrumbs/XDSBreadcrumbItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Breadcrumbs/XDSBreadcrumbs.test.tsx b/packages/core/src/Breadcrumbs/XDSBreadcrumbs.test.tsxindex 889476f494..577982b937 100644--- a/packages/core/src/Breadcrumbs/XDSBreadcrumbs.test.tsx+++ b/packages/core/src/Breadcrumbs/XDSBreadcrumbs.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {render, screen, waitFor} from '@testing-library/react';import userEvent from '@testing-library/user-event';diff --git a/packages/core/src/Breadcrumbs/XDSBreadcrumbs.tsx b/packages/core/src/Breadcrumbs/XDSBreadcrumbs.tsxindex 49b1dbdfc9..8b276b0e22 100644--- a/packages/core/src/Breadcrumbs/XDSBreadcrumbs.tsx+++ b/packages/core/src/Breadcrumbs/XDSBreadcrumbs.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Breadcrumbs/index.ts b/packages/core/src/Breadcrumbs/index.tsindex 30c2f72f33..4dec806031 100644--- a/packages/core/src/Breadcrumbs/index.ts+++ b/packages/core/src/Breadcrumbs/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Button/Button.doc.mjs b/packages/core/src/Button/Button.doc.mjsindex afffb08049..941ac6ce33 100644--- a/packages/core/src/Button/Button.doc.mjs+++ b/packages/core/src/Button/Button.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Button/XDSButton.test.tsx b/packages/core/src/Button/XDSButton.test.tsxindex 8a5ea65fdc..5f693d9cc8 100644--- a/packages/core/src/Button/XDSButton.test.tsx+++ b/packages/core/src/Button/XDSButton.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSButton.test.tsx* @input Uses vitest, @testing-library/react, XDSButton componentdiff --git a/packages/core/src/Button/XDSButton.tsx b/packages/core/src/Button/XDSButton.tsxindex 1d857134d2..4e1d262d10 100644--- a/packages/core/src/Button/XDSButton.tsx+++ b/packages/core/src/Button/XDSButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Button/index.ts b/packages/core/src/Button/index.tsindex b15b4b91e7..1887aeb1ef 100644--- a/packages/core/src/Button/index.ts+++ b/packages/core/src/Button/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Calendar/Calendar.doc.mjs b/packages/core/src/Calendar/Calendar.doc.mjsindex 072aa04924..eb4ee134c3 100644--- a/packages/core/src/Calendar/Calendar.doc.mjs+++ b/packages/core/src/Calendar/Calendar.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Calendar/XDSCalendar.test.tsx b/packages/core/src/Calendar/XDSCalendar.test.tsxindex a23933b69d..e268be5258 100644--- a/packages/core/src/Calendar/XDSCalendar.test.tsx+++ b/packages/core/src/Calendar/XDSCalendar.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCalendar.test.tsx* @input Uses vitest, @testing-library/reactdiff --git a/packages/core/src/Calendar/XDSCalendar.tsx b/packages/core/src/Calendar/XDSCalendar.tsxindex 0b7beeac79..e0c63f667a 100644--- a/packages/core/src/Calendar/XDSCalendar.tsx+++ b/packages/core/src/Calendar/XDSCalendar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Calendar/hooks/index.ts b/packages/core/src/Calendar/hooks/index.tsindex f944f661ca..f1da2a01a5 100644--- a/packages/core/src/Calendar/hooks/index.ts+++ b/packages/core/src/Calendar/hooks/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input Imports calendar-specific hooksdiff --git a/packages/core/src/Calendar/hooks/useCalendarConstraints.ts b/packages/core/src/Calendar/hooks/useCalendarConstraints.tsindex 978803188b..115640776e 100644--- a/packages/core/src/Calendar/hooks/useCalendarConstraints.ts+++ b/packages/core/src/Calendar/hooks/useCalendarConstraints.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Calendar/hooks/useCalendarDays.ts b/packages/core/src/Calendar/hooks/useCalendarDays.tsindex 4f457e804e..d13bdf66b2 100644--- a/packages/core/src/Calendar/hooks/useCalendarDays.ts+++ b/packages/core/src/Calendar/hooks/useCalendarDays.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Calendar/hooks/useCalendarNavigation.ts b/packages/core/src/Calendar/hooks/useCalendarNavigation.tsindex 89cfc9c0b9..1f756322d4 100644--- a/packages/core/src/Calendar/hooks/useCalendarNavigation.ts+++ b/packages/core/src/Calendar/hooks/useCalendarNavigation.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Calendar/hooks/useCalendarRovingTabindex.ts b/packages/core/src/Calendar/hooks/useCalendarRovingTabindex.tsindex b7f0615c65..c7f1c3746b 100644--- a/packages/core/src/Calendar/hooks/useCalendarRovingTabindex.ts+++ b/packages/core/src/Calendar/hooks/useCalendarRovingTabindex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Calendar/index.ts b/packages/core/src/Calendar/index.tsindex 043fc65d70..7bf1386ad3 100644--- a/packages/core/src/Calendar/index.ts+++ b/packages/core/src/Calendar/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Calendar/styles.ts b/packages/core/src/Calendar/styles.tsindex 8044b7b282..ef0c4e383b 100644--- a/packages/core/src/Calendar/styles.ts+++ b/packages/core/src/Calendar/styles.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file styles.ts* @input Uses stylex, theme tokensdiff --git a/packages/core/src/Calendar/utils.ts b/packages/core/src/Calendar/utils.tsindex a08977277c..78b0a2646f 100644--- a/packages/core/src/Calendar/utils.ts+++ b/packages/core/src/Calendar/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file utils.ts* @input Nonediff --git a/packages/core/src/Card/Card.doc.mjs b/packages/core/src/Card/Card.doc.mjsindex 67874da78b..05943d84e4 100644--- a/packages/core/src/Card/Card.doc.mjs+++ b/packages/core/src/Card/Card.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Card/XDSCard.test.tsx b/packages/core/src/Card/XDSCard.test.tsxindex 59a116e50a..ab114f3dbb 100644--- a/packages/core/src/Card/XDSCard.test.tsx+++ b/packages/core/src/Card/XDSCard.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render} from '@testing-library/react';import {XDSCard} from './XDSCard';diff --git a/packages/core/src/Card/XDSCard.tsx b/packages/core/src/Card/XDSCard.tsxindex 2b9cc6b49a..451f12189e 100644--- a/packages/core/src/Card/XDSCard.tsx+++ b/packages/core/src/Card/XDSCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Card/index.ts b/packages/core/src/Card/index.tsindex c9bbce07e8..4076ab399f 100644--- a/packages/core/src/Card/index.ts+++ b/packages/core/src/Card/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Carousel/Carousel.doc.mjs b/packages/core/src/Carousel/Carousel.doc.mjsindex 4669263ca7..ecdb35bb46 100644--- a/packages/core/src/Carousel/Carousel.doc.mjs+++ b/packages/core/src/Carousel/Carousel.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Carousel/XDSCarousel.test.tsx b/packages/core/src/Carousel/XDSCarousel.test.tsxindex 06ab6a2fea..f1378088d0 100644--- a/packages/core/src/Carousel/XDSCarousel.test.tsx+++ b/packages/core/src/Carousel/XDSCarousel.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSCarousel} from './XDSCarousel';diff --git a/packages/core/src/Carousel/XDSCarousel.tsx b/packages/core/src/Carousel/XDSCarousel.tsxindex 4085dd346f..92a44dbab1 100644--- a/packages/core/src/Carousel/XDSCarousel.tsx+++ b/packages/core/src/Carousel/XDSCarousel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Carousel/carousel.markers.stylex.ts b/packages/core/src/Carousel/carousel.markers.stylex.tsindex fc304140b5..27253c970a 100644--- a/packages/core/src/Carousel/carousel.markers.stylex.ts+++ b/packages/core/src/Carousel/carousel.markers.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as stylex from '@stylexjs/stylex';/**diff --git a/packages/core/src/Carousel/index.ts b/packages/core/src/Carousel/index.tsindex 6db94dea40..88c1b9264f 100644--- a/packages/core/src/Carousel/index.ts+++ b/packages/core/src/Carousel/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Center/Center.doc.mjs b/packages/core/src/Center/Center.doc.mjsindex 1bd72c6802..e458404ca2 100644--- a/packages/core/src/Center/Center.doc.mjs+++ b/packages/core/src/Center/Center.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Center/XDSCenter.test.tsx b/packages/core/src/Center/XDSCenter.test.tsxindex 19b9717083..a4d197233b 100644--- a/packages/core/src/Center/XDSCenter.test.tsx+++ b/packages/core/src/Center/XDSCenter.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCenter.test.tsx* @input Uses vitest, @testing-library/react, XDSCenter componentdiff --git a/packages/core/src/Center/XDSCenter.tsx b/packages/core/src/Center/XDSCenter.tsxindex a85ee177de..f12660b6ef 100644--- a/packages/core/src/Center/XDSCenter.tsx+++ b/packages/core/src/Center/XDSCenter.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Center/index.ts b/packages/core/src/Center/index.tsindex 96bb3f8ec2..c2225b012c 100644--- a/packages/core/src/Center/index.ts+++ b/packages/core/src/Center/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/Chat.doc.mjs b/packages/core/src/Chat/Chat.doc.mjsindex e1eeb3c50e..273cd22087 100644--- a/packages/core/src/Chat/Chat.doc.mjs+++ b/packages/core/src/Chat/Chat.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Chat/ChatDictationButton.doc.mjs b/packages/core/src/Chat/ChatDictationButton.doc.mjsindex 65cc995ab5..07b010c80e 100644--- a/packages/core/src/Chat/ChatDictationButton.doc.mjs+++ b/packages/core/src/Chat/ChatDictationButton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Chat/ChatToolCalls.doc.mjs b/packages/core/src/Chat/ChatToolCalls.doc.mjsindex 29f5702ef3..327b7af30f 100644--- a/packages/core/src/Chat/ChatToolCalls.doc.mjs+++ b/packages/core/src/Chat/ChatToolCalls.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Chat/XDSChatComposer.tsx b/packages/core/src/Chat/XDSChatComposer.tsxindex dd2d274fb7..9fb3cce23a 100644--- a/packages/core/src/Chat/XDSChatComposer.tsx+++ b/packages/core/src/Chat/XDSChatComposer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatComposerDrawer.tsx b/packages/core/src/Chat/XDSChatComposerDrawer.tsxindex 472372f8f2..7cbee37c92 100644--- a/packages/core/src/Chat/XDSChatComposerDrawer.tsx+++ b/packages/core/src/Chat/XDSChatComposerDrawer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatComposerInput.test.tsx b/packages/core/src/Chat/XDSChatComposerInput.test.tsxindex 7f7fec6b22..624f9d3a76 100644--- a/packages/core/src/Chat/XDSChatComposerInput.test.tsx+++ b/packages/core/src/Chat/XDSChatComposerInput.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {render, screen, fireEvent} from '@testing-library/react';import {XDSChatComposerInput} from './XDSChatComposerInput';diff --git a/packages/core/src/Chat/XDSChatComposerInput.tsx b/packages/core/src/Chat/XDSChatComposerInput.tsxindex ac9fbc612e..c99833740c 100644--- a/packages/core/src/Chat/XDSChatComposerInput.tsx+++ b/packages/core/src/Chat/XDSChatComposerInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatContext.tsx b/packages/core/src/Chat/XDSChatContext.tsxindex c943f52c4e..fa9366c40c 100644--- a/packages/core/src/Chat/XDSChatContext.tsx+++ b/packages/core/src/Chat/XDSChatContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatDictationButton.tsx b/packages/core/src/Chat/XDSChatDictationButton.tsxindex f83990e6db..3e89bbc108 100644--- a/packages/core/src/Chat/XDSChatDictationButton.tsx+++ b/packages/core/src/Chat/XDSChatDictationButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatLayout.test.tsx b/packages/core/src/Chat/XDSChatLayout.test.tsxindex 189e6495bb..01766279a2 100644--- a/packages/core/src/Chat/XDSChatLayout.test.tsx+++ b/packages/core/src/Chat/XDSChatLayout.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeEach} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSChatLayout} from './XDSChatLayout';diff --git a/packages/core/src/Chat/XDSChatLayout.tsx b/packages/core/src/Chat/XDSChatLayout.tsxindex 0b78fb3c61..88a73a5367 100644--- a/packages/core/src/Chat/XDSChatLayout.tsx+++ b/packages/core/src/Chat/XDSChatLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatLayoutScrollButton.tsx b/packages/core/src/Chat/XDSChatLayoutScrollButton.tsxindex e5eef57030..6971cd2b82 100644--- a/packages/core/src/Chat/XDSChatLayoutScrollButton.tsx+++ b/packages/core/src/Chat/XDSChatLayoutScrollButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatMessage.test.tsx b/packages/core/src/Chat/XDSChatMessage.test.tsxindex 92e64f7e84..9f8e860b13 100644--- a/packages/core/src/Chat/XDSChatMessage.test.tsx+++ b/packages/core/src/Chat/XDSChatMessage.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSChatMessage} from './XDSChatMessage';diff --git a/packages/core/src/Chat/XDSChatMessage.tsx b/packages/core/src/Chat/XDSChatMessage.tsxindex 51b9fb5880..e7f7c3fab9 100644--- a/packages/core/src/Chat/XDSChatMessage.tsx+++ b/packages/core/src/Chat/XDSChatMessage.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatMessageBubble.test.tsx b/packages/core/src/Chat/XDSChatMessageBubble.test.tsxindex 34e57a22f3..d4d316662d 100644--- a/packages/core/src/Chat/XDSChatMessageBubble.test.tsx+++ b/packages/core/src/Chat/XDSChatMessageBubble.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSChatMessage} from './XDSChatMessage';diff --git a/packages/core/src/Chat/XDSChatMessageBubble.tsx b/packages/core/src/Chat/XDSChatMessageBubble.tsxindex 9738fc7492..136ab20a2d 100644--- a/packages/core/src/Chat/XDSChatMessageBubble.tsx+++ b/packages/core/src/Chat/XDSChatMessageBubble.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatMessageList.test.tsx b/packages/core/src/Chat/XDSChatMessageList.test.tsxindex e7013e3fca..602e9b5099 100644--- a/packages/core/src/Chat/XDSChatMessageList.test.tsx+++ b/packages/core/src/Chat/XDSChatMessageList.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSChatMessageList} from './XDSChatMessageList';diff --git a/packages/core/src/Chat/XDSChatMessageList.tsx b/packages/core/src/Chat/XDSChatMessageList.tsxindex 2c5483fca2..f19d8bdfc8 100644--- a/packages/core/src/Chat/XDSChatMessageList.tsx+++ b/packages/core/src/Chat/XDSChatMessageList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatMessageMetadata.tsx b/packages/core/src/Chat/XDSChatMessageMetadata.tsxindex 633c0e42b7..9d06e01834 100644--- a/packages/core/src/Chat/XDSChatMessageMetadata.tsx+++ b/packages/core/src/Chat/XDSChatMessageMetadata.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatPastedTextToken.tsx b/packages/core/src/Chat/XDSChatPastedTextToken.tsxindex 55bc827783..38a75d394f 100644--- a/packages/core/src/Chat/XDSChatPastedTextToken.tsx+++ b/packages/core/src/Chat/XDSChatPastedTextToken.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatSendButton.tsx b/packages/core/src/Chat/XDSChatSendButton.tsxindex 1c741e95a0..ac1779bc07 100644--- a/packages/core/src/Chat/XDSChatSendButton.tsx+++ b/packages/core/src/Chat/XDSChatSendButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatSystemMessage.test.tsx b/packages/core/src/Chat/XDSChatSystemMessage.test.tsxindex 50a9c39ceb..fbb22f710d 100644--- a/packages/core/src/Chat/XDSChatSystemMessage.test.tsx+++ b/packages/core/src/Chat/XDSChatSystemMessage.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSChatSystemMessage} from './XDSChatSystemMessage';diff --git a/packages/core/src/Chat/XDSChatSystemMessage.tsx b/packages/core/src/Chat/XDSChatSystemMessage.tsxindex 53dab11569..41118d0bc5 100644--- a/packages/core/src/Chat/XDSChatSystemMessage.tsx+++ b/packages/core/src/Chat/XDSChatSystemMessage.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatTokenizedText.test.tsx b/packages/core/src/Chat/XDSChatTokenizedText.test.tsxindex a1b9942c4e..bfba421213 100644--- a/packages/core/src/Chat/XDSChatTokenizedText.test.tsx+++ b/packages/core/src/Chat/XDSChatTokenizedText.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSChatTokenizedText} from './XDSChatTokenizedText';diff --git a/packages/core/src/Chat/XDSChatTokenizedText.tsx b/packages/core/src/Chat/XDSChatTokenizedText.tsxindex 3d2827bb01..cba98ebdac 100644--- a/packages/core/src/Chat/XDSChatTokenizedText.tsx+++ b/packages/core/src/Chat/XDSChatTokenizedText.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/XDSChatToolCalls.test.tsx b/packages/core/src/Chat/XDSChatToolCalls.test.tsxindex f2b610320f..4f24122ccc 100644--- a/packages/core/src/Chat/XDSChatToolCalls.test.tsx+++ b/packages/core/src/Chat/XDSChatToolCalls.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {render, screen, fireEvent} from '@testing-library/react';import {XDSChatToolCalls} from './XDSChatToolCalls';diff --git a/packages/core/src/Chat/XDSChatToolCalls.tsx b/packages/core/src/Chat/XDSChatToolCalls.tsxindex 05c5898967..cd7848c86b 100644--- a/packages/core/src/Chat/XDSChatToolCalls.tsx+++ b/packages/core/src/Chat/XDSChatToolCalls.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/chatComposerSelection.ts b/packages/core/src/Chat/chatComposerSelection.tsindex 919b05328b..91d256165d 100644--- a/packages/core/src/Chat/chatComposerSelection.ts+++ b/packages/core/src/Chat/chatComposerSelection.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/index.ts b/packages/core/src/Chat/index.tsindex 146a7ccb74..08bced2574 100644--- a/packages/core/src/Chat/index.ts+++ b/packages/core/src/Chat/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/useSpeechRecognition.ts b/packages/core/src/Chat/useSpeechRecognition.tsindex cd67338f65..5bc8abf639 100644--- a/packages/core/src/Chat/useSpeechRecognition.ts+++ b/packages/core/src/Chat/useSpeechRecognition.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/useTriggerMenu.tsx b/packages/core/src/Chat/useTriggerMenu.tsxindex b43d783345..82cbc0184b 100644--- a/packages/core/src/Chat/useTriggerMenu.tsx+++ b/packages/core/src/Chat/useTriggerMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/useXDSChatComposerTokens.ts b/packages/core/src/Chat/useXDSChatComposerTokens.tsindex 5fbe7fa46c..59d26b3b80 100644--- a/packages/core/src/Chat/useXDSChatComposerTokens.ts+++ b/packages/core/src/Chat/useXDSChatComposerTokens.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/useXDSChatDictation.test.ts b/packages/core/src/Chat/useXDSChatDictation.test.tsindex 4399a030a5..fa3efd7220 100644--- a/packages/core/src/Chat/useXDSChatDictation.test.ts+++ b/packages/core/src/Chat/useXDSChatDictation.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeEach, afterEach} from 'vitest';import {renderHook, act} from '@testing-library/react';import {useSpeechRecognition} from './useSpeechRecognition';diff --git a/packages/core/src/Chat/useXDSChatDictation.ts b/packages/core/src/Chat/useXDSChatDictation.tsindex 4cc7cabdc3..ba636bd106 100644--- a/packages/core/src/Chat/useXDSChatDictation.ts+++ b/packages/core/src/Chat/useXDSChatDictation.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/useXDSChatNewMessages.ts b/packages/core/src/Chat/useXDSChatNewMessages.tsindex 9265bdeb02..f751f84a95 100644--- a/packages/core/src/Chat/useXDSChatNewMessages.ts+++ b/packages/core/src/Chat/useXDSChatNewMessages.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/useXDSChatPasteAsToken.ts b/packages/core/src/Chat/useXDSChatPasteAsToken.tsindex 2f930446ed..dd6034d783 100644--- a/packages/core/src/Chat/useXDSChatPasteAsToken.ts+++ b/packages/core/src/Chat/useXDSChatPasteAsToken.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Chat/useXDSChatStreamScroll.ts b/packages/core/src/Chat/useXDSChatStreamScroll.tsindex 88e83c0278..11cc82fc1a 100644--- a/packages/core/src/Chat/useXDSChatStreamScroll.ts+++ b/packages/core/src/Chat/useXDSChatStreamScroll.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/CheckboxInput/CheckboxInput.doc.mjs b/packages/core/src/CheckboxInput/CheckboxInput.doc.mjsindex 92d63c9a07..c76fe2d5e1 100644--- a/packages/core/src/CheckboxInput/CheckboxInput.doc.mjs+++ b/packages/core/src/CheckboxInput/CheckboxInput.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/CheckboxInput/XDSCheckboxInput.test.tsx b/packages/core/src/CheckboxInput/XDSCheckboxInput.test.tsxindex 9fcf411120..20080230cb 100644--- a/packages/core/src/CheckboxInput/XDSCheckboxInput.test.tsx+++ b/packages/core/src/CheckboxInput/XDSCheckboxInput.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCheckboxInput.test.tsx* @input Uses vitest, @testing-library/react, XDSCheckboxInput componentdiff --git a/packages/core/src/CheckboxInput/XDSCheckboxInput.tsx b/packages/core/src/CheckboxInput/XDSCheckboxInput.tsxindex 3558548b7c..5c16003bc0 100644--- a/packages/core/src/CheckboxInput/XDSCheckboxInput.tsx+++ b/packages/core/src/CheckboxInput/XDSCheckboxInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/CheckboxInput/checkbox.markers.stylex.ts b/packages/core/src/CheckboxInput/checkbox.markers.stylex.tsindex b775261ea2..1e4257f8b7 100644--- a/packages/core/src/CheckboxInput/checkbox.markers.stylex.ts+++ b/packages/core/src/CheckboxInput/checkbox.markers.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as stylex from '@stylexjs/stylex';/**diff --git a/packages/core/src/CheckboxInput/index.ts b/packages/core/src/CheckboxInput/index.tsindex 5c11fabf5e..789a088c66 100644--- a/packages/core/src/CheckboxInput/index.ts+++ b/packages/core/src/CheckboxInput/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/CheckboxList/CheckboxList.doc.mjs b/packages/core/src/CheckboxList/CheckboxList.doc.mjsindex c7161dd62c..a08b004fa1 100644--- a/packages/core/src/CheckboxList/CheckboxList.doc.mjs+++ b/packages/core/src/CheckboxList/CheckboxList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/CheckboxList/XDSCheckboxList.test.tsx b/packages/core/src/CheckboxList/XDSCheckboxList.test.tsxindex 3d5e1421c4..a7e75cb347 100644--- a/packages/core/src/CheckboxList/XDSCheckboxList.test.tsx+++ b/packages/core/src/CheckboxList/XDSCheckboxList.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCheckboxList.test.tsx* @input Uses vitest, @testing-library/react, XDSCheckboxList, XDSCheckboxListItemdiff --git a/packages/core/src/CheckboxList/XDSCheckboxList.tsx b/packages/core/src/CheckboxList/XDSCheckboxList.tsxindex dcf861b1bc..64f79df686 100644--- a/packages/core/src/CheckboxList/XDSCheckboxList.tsx+++ b/packages/core/src/CheckboxList/XDSCheckboxList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/CheckboxList/XDSCheckboxListContext.tsx b/packages/core/src/CheckboxList/XDSCheckboxListContext.tsxindex c9fe659b76..490de856e1 100644--- a/packages/core/src/CheckboxList/XDSCheckboxListContext.tsx+++ b/packages/core/src/CheckboxList/XDSCheckboxListContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/CheckboxList/XDSCheckboxListItem.tsx b/packages/core/src/CheckboxList/XDSCheckboxListItem.tsxindex ec9f7ae2b3..a4cacaf8a9 100644--- a/packages/core/src/CheckboxList/XDSCheckboxListItem.tsx+++ b/packages/core/src/CheckboxList/XDSCheckboxListItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/CheckboxList/index.ts b/packages/core/src/CheckboxList/index.tsindex 79d21249fe..ea94810a35 100644--- a/packages/core/src/CheckboxList/index.ts+++ b/packages/core/src/CheckboxList/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Citation/XDSCitation.tsx b/packages/core/src/Citation/XDSCitation.tsxindex 9dac085a02..d40ddf6933 100644--- a/packages/core/src/Citation/XDSCitation.tsx+++ b/packages/core/src/Citation/XDSCitation.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Citation/index.ts b/packages/core/src/Citation/index.tsindex 01b5ee8c9a..2365885bca 100644--- a/packages/core/src/Citation/index.ts+++ b/packages/core/src/Citation/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';export {XDSCitation} from './XDSCitation';diff --git a/packages/core/src/ClickableCard/ClickableCard.doc.mjs b/packages/core/src/ClickableCard/ClickableCard.doc.mjsindex 7dda7e30da..91107a9659 100644--- a/packages/core/src/ClickableCard/ClickableCard.doc.mjs+++ b/packages/core/src/ClickableCard/ClickableCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {name: 'ClickableCard',diff --git a/packages/core/src/ClickableCard/XDSClickableCard.test.tsx b/packages/core/src/ClickableCard/XDSClickableCard.test.tsxindex d6875d57a5..85ed16e1ff 100644--- a/packages/core/src/ClickableCard/XDSClickableCard.test.tsx+++ b/packages/core/src/ClickableCard/XDSClickableCard.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {render, screen, fireEvent} from '@testing-library/react';import {XDSClickableCard} from './XDSClickableCard';diff --git a/packages/core/src/ClickableCard/XDSClickableCard.tsx b/packages/core/src/ClickableCard/XDSClickableCard.tsxindex de28b61a98..e607aa32b1 100644--- a/packages/core/src/ClickableCard/XDSClickableCard.tsx+++ b/packages/core/src/ClickableCard/XDSClickableCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/ClickableCard/index.ts b/packages/core/src/ClickableCard/index.tsindex 60ae87c131..2389b4d74d 100644--- a/packages/core/src/ClickableCard/index.ts+++ b/packages/core/src/ClickableCard/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';export {XDSClickableCard} from './XDSClickableCard';diff --git a/packages/core/src/CodeBlock/XDSCode.tsx b/packages/core/src/CodeBlock/XDSCode.tsxindex dc7c81383f..170fd4b4c4 100644--- a/packages/core/src/CodeBlock/XDSCode.tsx+++ b/packages/core/src/CodeBlock/XDSCode.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/CodeBlock/XDSCodeBlock.doc.mjs b/packages/core/src/CodeBlock/XDSCodeBlock.doc.mjsindex 15b21a9bae..dd82807006 100644--- a/packages/core/src/CodeBlock/XDSCodeBlock.doc.mjs+++ b/packages/core/src/CodeBlock/XDSCodeBlock.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {name: 'CodeBlock',diff --git a/packages/core/src/CodeBlock/XDSCodeBlock.tsx b/packages/core/src/CodeBlock/XDSCodeBlock.tsxindex 013f5ff1b6..e2c8cef832 100644--- a/packages/core/src/CodeBlock/XDSCodeBlock.tsx+++ b/packages/core/src/CodeBlock/XDSCodeBlock.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/*** @file XDSCodeBlock.tsxdiff --git a/packages/core/src/CodeBlock/highlightRanges.test.ts b/packages/core/src/CodeBlock/highlightRanges.test.tsindex 72b5eeb2ff..70a0aa9bff 100644--- a/packages/core/src/CodeBlock/highlightRanges.test.ts+++ b/packages/core/src/CodeBlock/highlightRanges.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeEach, afterEach} from 'vitest';import {applyHighlightRangesChunked} from './highlightRanges';import type {TokenLine} from './tokenizer';diff --git a/packages/core/src/CodeBlock/highlightRanges.ts b/packages/core/src/CodeBlock/highlightRanges.tsindex ed186e11cb..6fcc30d638 100644--- a/packages/core/src/CodeBlock/highlightRanges.ts+++ b/packages/core/src/CodeBlock/highlightRanges.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file highlightRanges.ts* @input Line divs, per-line token arrays, CSS Custom Highlight APIdiff --git a/packages/core/src/CodeBlock/highlightStyles.ts b/packages/core/src/CodeBlock/highlightStyles.tsindex 1024cebb37..cb236f5935 100644--- a/packages/core/src/CodeBlock/highlightStyles.ts+++ b/packages/core/src/CodeBlock/highlightStyles.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file highlightStyles.ts* @input Syntax token defaults from domainTokensdiff --git a/packages/core/src/CodeBlock/index.ts b/packages/core/src/CodeBlock/index.tsindex 509b08964f..a3b6b5df99 100644--- a/packages/core/src/CodeBlock/index.ts+++ b/packages/core/src/CodeBlock/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';export {XDSCodeBlock} from './XDSCodeBlock';diff --git a/packages/core/src/CodeBlock/tokenizer.test.ts b/packages/core/src/CodeBlock/tokenizer.test.tsindex 5c5f10ad6c..72c26ddf89 100644--- a/packages/core/src/CodeBlock/tokenizer.test.ts+++ b/packages/core/src/CodeBlock/tokenizer.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {tokenize, tokenizeAsync, tokenizeStreaming, flatTokensToLines} from './tokenizer';import type {TokenLine} from './tokenizer';diff --git a/packages/core/src/CodeBlock/tokenizer.ts b/packages/core/src/CodeBlock/tokenizer.tsindex e07d8a65a3..728736301d 100644--- a/packages/core/src/CodeBlock/tokenizer.ts+++ b/packages/core/src/CodeBlock/tokenizer.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file tokenizer.ts* @input Code string and language identifierdiff --git a/packages/core/src/Collapsible/Collapsible.doc.mjs b/packages/core/src/Collapsible/Collapsible.doc.mjsindex a1ef428c8d..b36f39a9ee 100644--- a/packages/core/src/Collapsible/Collapsible.doc.mjs+++ b/packages/core/src/Collapsible/Collapsible.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Collapsible/XDSCollapsible.tsx b/packages/core/src/Collapsible/XDSCollapsible.tsxindex 5947488051..3e47583d74 100644--- a/packages/core/src/Collapsible/XDSCollapsible.tsx+++ b/packages/core/src/Collapsible/XDSCollapsible.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Collapsible/XDSCollapsibleGroup.test.tsx b/packages/core/src/Collapsible/XDSCollapsibleGroup.test.tsxindex 0146778453..03b2dcbc31 100644--- a/packages/core/src/Collapsible/XDSCollapsibleGroup.test.tsx+++ b/packages/core/src/Collapsible/XDSCollapsibleGroup.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCollapsibleGroup.test.tsx* @input Uses vitest, @testing-library/react, XDSCollapsible, XDSCollapsibleGroupdiff --git a/packages/core/src/Collapsible/XDSCollapsibleGroup.tsx b/packages/core/src/Collapsible/XDSCollapsibleGroup.tsxindex ff299a6c45..438a84e79d 100644--- a/packages/core/src/Collapsible/XDSCollapsibleGroup.tsx+++ b/packages/core/src/Collapsible/XDSCollapsibleGroup.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Collapsible/XDSCollapsibleGroupContext.tsx b/packages/core/src/Collapsible/XDSCollapsibleGroupContext.tsxindex b94e833c56..17a315d0f4 100644--- a/packages/core/src/Collapsible/XDSCollapsibleGroupContext.tsx+++ b/packages/core/src/Collapsible/XDSCollapsibleGroupContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Collapsible/index.ts b/packages/core/src/Collapsible/index.tsindex 2cab04ff51..25e5680d47 100644--- a/packages/core/src/Collapsible/index.ts+++ b/packages/core/src/Collapsible/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Collapsible/useXDSCollapsible.doc.mjs b/packages/core/src/Collapsible/useXDSCollapsible.doc.mjsindex 862440d00d..6bf1ce23bf 100644--- a/packages/core/src/Collapsible/useXDSCollapsible.doc.mjs+++ b/packages/core/src/Collapsible/useXDSCollapsible.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useXDSCollapsible',diff --git a/packages/core/src/Collapsible/useXDSCollapsible.ts b/packages/core/src/Collapsible/useXDSCollapsible.tsindex 5a4b15c14f..3a686df017 100644--- a/packages/core/src/Collapsible/useXDSCollapsible.ts+++ b/packages/core/src/Collapsible/useXDSCollapsible.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/CommandPalette/CommandPaletteContext.ts b/packages/core/src/CommandPalette/CommandPaletteContext.tsindex d02404747c..ae6ea412d9 100644--- a/packages/core/src/CommandPalette/CommandPaletteContext.ts+++ b/packages/core/src/CommandPalette/CommandPaletteContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/*** @file CommandPaletteContext.tsdiff --git a/packages/core/src/CommandPalette/XDSCommandPalette.doc.mjs b/packages/core/src/CommandPalette/XDSCommandPalette.doc.mjsindex f430dd442f..212ed616b2 100644--- a/packages/core/src/CommandPalette/XDSCommandPalette.doc.mjs+++ b/packages/core/src/CommandPalette/XDSCommandPalette.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {name: 'CommandPalette',diff --git a/packages/core/src/CommandPalette/XDSCommandPalette.test.tsx b/packages/core/src/CommandPalette/XDSCommandPalette.test.tsxindex 88f136ef72..4f9426f4d9 100644--- a/packages/core/src/CommandPalette/XDSCommandPalette.test.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPalette.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPalette.test.tsx* @input Uses vitest, @testing-library/react, XDSCommandPalettediff --git a/packages/core/src/CommandPalette/XDSCommandPalette.tsx b/packages/core/src/CommandPalette/XDSCommandPalette.tsxindex fde360f9d4..eff21f7722 100644--- a/packages/core/src/CommandPalette/XDSCommandPalette.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPalette.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/*** @file XDSCommandPalette.tsxdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteEmpty.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteEmpty.tsxindex 15fa838993..474145b0e5 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteEmpty.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteEmpty.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteEmpty.tsx* @input Uses React, StyleXdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteFooter.test.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteFooter.test.tsxindex c150e5cdc9..e77f3efc73 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteFooter.test.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteFooter.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteFooter.test.tsx* @input Uses vitest, @testing-library/reactdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteFooter.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteFooter.tsxindex c4eb136c8f..69475247ec 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteFooter.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteFooter.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteFooter.tsx* @input Uses React, StyleX, XDSKbddiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteGroup.test.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteGroup.test.tsxindex f59dd19078..bee506da3a 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteGroup.test.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteGroup.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteGroup.test.tsx* @input Uses vitest, @testing-library/reactdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteGroup.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteGroup.tsxindex 3127ee197b..80f9bdc87c 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteGroup.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteGroup.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteGroup.tsx* @input Uses React, StyleXdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteInput.test.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteInput.test.tsxindex 13b755f4fc..26c652eb6f 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteInput.test.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteInput.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteInput.test.tsx* @input Uses vitest, @testing-library/react, XDSCommandPaletteInputdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteInput.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteInput.tsxindex 8515c34aa2..5e95e6a22f 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteInput.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/*** @file XDSCommandPaletteInput.tsxdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteItem.test.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteItem.test.tsxindex 061193468c..4c830d6434 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteItem.test.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteItem.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteItem.test.tsx* @input Uses vitest, @testing-library/reactdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteItem.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteItem.tsxindex 16fead8877..4cba29fb47 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteItem.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/*** @file XDSCommandPaletteItem.tsxdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteList.test.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteList.test.tsxindex 313dd5593a..db2edb70d7 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteList.test.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteList.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteList.test.tsx* @input Uses vitest, @testing-library/reactdiff --git a/packages/core/src/CommandPalette/XDSCommandPaletteList.tsx b/packages/core/src/CommandPalette/XDSCommandPaletteList.tsxindex 845fdd0cd6..40f0dae293 100644--- a/packages/core/src/CommandPalette/XDSCommandPaletteList.tsx+++ b/packages/core/src/CommandPalette/XDSCommandPaletteList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCommandPaletteList.tsx* @input Uses React, StyleX, CommandPaletteContextdiff --git a/packages/core/src/CommandPalette/index.ts b/packages/core/src/CommandPalette/index.tsindex c005501a13..189efd628b 100644--- a/packages/core/src/CommandPalette/index.ts+++ b/packages/core/src/CommandPalette/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/DateInput/DateInput.doc.mjs b/packages/core/src/DateInput/DateInput.doc.mjsindex e27da9a944..c30985ab39 100644--- a/packages/core/src/DateInput/DateInput.doc.mjs+++ b/packages/core/src/DateInput/DateInput.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/DateInput/XDSDateInput.test.tsx b/packages/core/src/DateInput/XDSDateInput.test.tsxindex 7fd67f4478..1a338ec9a6 100644--- a/packages/core/src/DateInput/XDSDateInput.test.tsx+++ b/packages/core/src/DateInput/XDSDateInput.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSDateInput.test.tsx* @input Uses vitest, @testing-library/react, XDSDateInput componentdiff --git a/packages/core/src/DateInput/XDSDateInput.tsx b/packages/core/src/DateInput/XDSDateInput.tsxindex 5ba7e0fe3c..046a34c4b9 100644--- a/packages/core/src/DateInput/XDSDateInput.tsx+++ b/packages/core/src/DateInput/XDSDateInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/DateInput/index.ts b/packages/core/src/DateInput/index.tsindex 5b9c525a93..60eaa682aa 100644--- a/packages/core/src/DateInput/index.ts+++ b/packages/core/src/DateInput/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Dialog/Dialog.doc.mjs b/packages/core/src/Dialog/Dialog.doc.mjsindex 13310e719b..b8dad92a0a 100644--- a/packages/core/src/Dialog/Dialog.doc.mjs+++ b/packages/core/src/Dialog/Dialog.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Dialog/XDSDialog.test.tsx b/packages/core/src/Dialog/XDSDialog.test.tsxindex c0741d31f8..63e59f5598 100644--- a/packages/core/src/Dialog/XDSDialog.test.tsx+++ b/packages/core/src/Dialog/XDSDialog.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSDialog.test.tsx* @input Uses vitest, @testing-library/react, XDSDialog componentdiff --git a/packages/core/src/Dialog/XDSDialog.tsx b/packages/core/src/Dialog/XDSDialog.tsxindex 9c53d37f3d..58705ab735 100644--- a/packages/core/src/Dialog/XDSDialog.tsx+++ b/packages/core/src/Dialog/XDSDialog.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Dialog/XDSDialogHeader.test.tsx b/packages/core/src/Dialog/XDSDialogHeader.test.tsxindex d8c709261a..b03b436592 100644--- a/packages/core/src/Dialog/XDSDialogHeader.test.tsx+++ b/packages/core/src/Dialog/XDSDialogHeader.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSDialogHeader.test.tsx* @input Uses vitest, @testing-library/react, XDSDialogHeader componentdiff --git a/packages/core/src/Dialog/XDSDialogHeader.tsx b/packages/core/src/Dialog/XDSDialogHeader.tsxindex e503b11eb1..72d93d1f80 100644--- a/packages/core/src/Dialog/XDSDialogHeader.tsx+++ b/packages/core/src/Dialog/XDSDialogHeader.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Dialog/index.ts b/packages/core/src/Dialog/index.tsindex ec37fd240f..998165146b 100644--- a/packages/core/src/Dialog/index.ts+++ b/packages/core/src/Dialog/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Dialog/useXDSImperativeDialog.test.tsx b/packages/core/src/Dialog/useXDSImperativeDialog.test.tsxindex ba841a1144..9b988dc0a1 100644--- a/packages/core/src/Dialog/useXDSImperativeDialog.test.tsx+++ b/packages/core/src/Dialog/useXDSImperativeDialog.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeAll} from 'vitest';import {render, screen, fireEvent} from '@testing-library/react';import {useXDSImperativeDialog} from './useXDSImperativeDialog';diff --git a/packages/core/src/Dialog/useXDSImperativeDialog.tsx b/packages/core/src/Dialog/useXDSImperativeDialog.tsxindex 340d50d750..840e3b9f0c 100644--- a/packages/core/src/Dialog/useXDSImperativeDialog.tsx+++ b/packages/core/src/Dialog/useXDSImperativeDialog.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Divider/Divider.doc.mjs b/packages/core/src/Divider/Divider.doc.mjsindex 6980541b46..e096e0581b 100644--- a/packages/core/src/Divider/Divider.doc.mjs+++ b/packages/core/src/Divider/Divider.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */diff --git a/packages/core/src/Divider/XDSDivider.test.tsx b/packages/core/src/Divider/XDSDivider.test.tsxindex 562e3ffee9..da8c0b8ed0 100644--- a/packages/core/src/Divider/XDSDivider.test.tsx+++ b/packages/core/src/Divider/XDSDivider.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSDivider.test.tsx* @input Uses vitest, @testing-library/react, XDSDivider componentdiff --git a/packages/core/src/Divider/XDSDivider.tsx b/packages/core/src/Divider/XDSDivider.tsxindex 3376e570be..8b1baf495b 100644--- a/packages/core/src/Divider/XDSDivider.tsx+++ b/packages/core/src/Divider/XDSDivider.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Divider/index.ts b/packages/core/src/Divider/index.tsindex 601b8b2f34..b7aa4e006c 100644--- a/packages/core/src/Divider/index.ts+++ b/packages/core/src/Divider/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/DropdownMenu/DropdownMenu.doc.mjs b/packages/core/src/DropdownMenu/DropdownMenu.doc.mjsindex 78d55c5ab4..eaff808050 100644--- a/packages/core/src/DropdownMenu/DropdownMenu.doc.mjs+++ b/packages/core/src/DropdownMenu/DropdownMenu.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/DropdownMenu/XDSDropdownMenu.test.tsx b/packages/core/src/DropdownMenu/XDSDropdownMenu.test.tsxindex 8842751edc..ba61de1554 100644--- a/packages/core/src/DropdownMenu/XDSDropdownMenu.test.tsx+++ b/packages/core/src/DropdownMenu/XDSDropdownMenu.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSDropdownMenu.test.tsx* @input Uses vitest, @testing-library/react, XDSDropdownMenu componentdiff --git a/packages/core/src/DropdownMenu/XDSDropdownMenu.tsx b/packages/core/src/DropdownMenu/XDSDropdownMenu.tsxindex eaafe137e1..4a581846f2 100644--- a/packages/core/src/DropdownMenu/XDSDropdownMenu.tsx+++ b/packages/core/src/DropdownMenu/XDSDropdownMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/DropdownMenu/XDSDropdownMenuContext.tsx b/packages/core/src/DropdownMenu/XDSDropdownMenuContext.tsxindex e87aa6a696..e7d647e265 100644--- a/packages/core/src/DropdownMenu/XDSDropdownMenuContext.tsx+++ b/packages/core/src/DropdownMenu/XDSDropdownMenuContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/DropdownMenu/XDSDropdownMenuItem.tsx b/packages/core/src/DropdownMenu/XDSDropdownMenuItem.tsxindex 690df566d0..8b83b74a95 100644--- a/packages/core/src/DropdownMenu/XDSDropdownMenuItem.tsx+++ b/packages/core/src/DropdownMenu/XDSDropdownMenuItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/DropdownMenu/index.ts b/packages/core/src/DropdownMenu/index.tsindex 9eb9a10b4d..c4a9230c82 100644--- a/packages/core/src/DropdownMenu/index.ts+++ b/packages/core/src/DropdownMenu/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/DropdownMenu/renderXDSDropdownItems.tsx b/packages/core/src/DropdownMenu/renderXDSDropdownItems.tsxindex a7c8aadc6a..5a788d0570 100644--- a/packages/core/src/DropdownMenu/renderXDSDropdownItems.tsx+++ b/packages/core/src/DropdownMenu/renderXDSDropdownItems.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file renderXDSDropdownItems.tsx* @output Converts data-driven menu items into XDSDropdownMenuItem componentsdiff --git a/packages/core/src/EmptyState/EmptyState.doc.mjs b/packages/core/src/EmptyState/EmptyState.doc.mjsindex 9d621757c1..d927e7f13f 100644--- a/packages/core/src/EmptyState/EmptyState.doc.mjs+++ b/packages/core/src/EmptyState/EmptyState.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/EmptyState/XDSEmptyState.test.tsx b/packages/core/src/EmptyState/XDSEmptyState.test.tsxindex 9c6b43ef84..4d04283af9 100644--- a/packages/core/src/EmptyState/XDSEmptyState.test.tsx+++ b/packages/core/src/EmptyState/XDSEmptyState.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSEmptyState} from './XDSEmptyState';diff --git a/packages/core/src/EmptyState/XDSEmptyState.tsx b/packages/core/src/EmptyState/XDSEmptyState.tsxindex 2fda3f39fc..19cee10b5c 100644--- a/packages/core/src/EmptyState/XDSEmptyState.tsx+++ b/packages/core/src/EmptyState/XDSEmptyState.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSEmptyState.tsx* @input Uses React, HTMLAttributesdiff --git a/packages/core/src/EmptyState/index.ts b/packages/core/src/EmptyState/index.tsindex 2efe927bf4..ba13315801 100644--- a/packages/core/src/EmptyState/index.ts+++ b/packages/core/src/EmptyState/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file EmptyState component barrel export*/diff --git a/packages/core/src/Field/Field.doc.mjs b/packages/core/src/Field/Field.doc.mjsindex d56f2c6547..f373dc592f 100644--- a/packages/core/src/Field/Field.doc.mjs+++ b/packages/core/src/Field/Field.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Field/XDSField.test.tsx b/packages/core/src/Field/XDSField.test.tsxindex 92f3d7c405..dc118ee6db 100644--- a/packages/core/src/Field/XDSField.test.tsx+++ b/packages/core/src/Field/XDSField.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSField.test.tsx* @input Uses vitest, @testing-library/react, XDSField componentdiff --git a/packages/core/src/Field/XDSField.tsx b/packages/core/src/Field/XDSField.tsxindex c004f1df6f..1b0de0051d 100644--- a/packages/core/src/Field/XDSField.tsx+++ b/packages/core/src/Field/XDSField.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Field/XDSFieldLabel.test.tsx b/packages/core/src/Field/XDSFieldLabel.test.tsxindex 8351ae79ca..68d23c79cc 100644--- a/packages/core/src/Field/XDSFieldLabel.test.tsx+++ b/packages/core/src/Field/XDSFieldLabel.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSFieldLabel.test.tsx* @input Uses vitest, @testing-library/react, XDSFieldLabel componentdiff --git a/packages/core/src/Field/XDSFieldLabel.tsx b/packages/core/src/Field/XDSFieldLabel.tsxindex cf7e3af572..4d3014cefb 100644--- a/packages/core/src/Field/XDSFieldLabel.tsx+++ b/packages/core/src/Field/XDSFieldLabel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSFieldLabel.tsx* @input Uses React, XDSIcon, XDSIconTypediff --git a/packages/core/src/Field/XDSFieldStatus.tsx b/packages/core/src/Field/XDSFieldStatus.tsxindex bcfdb4912b..893c44d74f 100644--- a/packages/core/src/Field/XDSFieldStatus.tsx+++ b/packages/core/src/Field/XDSFieldStatus.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSFieldStatus.tsx* @input Uses React, stylex, theme tokensdiff --git a/packages/core/src/Field/index.ts b/packages/core/src/Field/index.tsindex 17d971f295..e86e70ca3f 100644--- a/packages/core/src/Field/index.ts+++ b/packages/core/src/Field/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Field/inputStyles.stylex.ts b/packages/core/src/Field/inputStyles.stylex.tsindex 0db37e3ee5..e8131f8a5f 100644--- a/packages/core/src/Field/inputStyles.stylex.ts+++ b/packages/core/src/Field/inputStyles.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file inputStyles.stylex.ts* @input Uses theme tokens (color, spacing, radius, shadow, transition)diff --git a/packages/core/src/Field/types.ts b/packages/core/src/Field/types.tsindex b17f8a4949..b665e52c2b 100644--- a/packages/core/src/Field/types.ts+++ b/packages/core/src/Field/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @input Nonediff --git a/packages/core/src/FormLayout/FormLayout.doc.mjs b/packages/core/src/FormLayout/FormLayout.doc.mjsindex eda8e57e26..87f6cbf43c 100644--- a/packages/core/src/FormLayout/FormLayout.doc.mjs+++ b/packages/core/src/FormLayout/FormLayout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/FormLayout/XDSFormLayout.test.tsx b/packages/core/src/FormLayout/XDSFormLayout.test.tsxindex 5424d75587..37546f7095 100644--- a/packages/core/src/FormLayout/XDSFormLayout.test.tsx+++ b/packages/core/src/FormLayout/XDSFormLayout.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSFormLayout.test.tsx* @input Uses vitest, @testing-library/react, XDSFormLayout componentdiff --git a/packages/core/src/FormLayout/XDSFormLayout.tsx b/packages/core/src/FormLayout/XDSFormLayout.tsxindex efa8edb1e7..7e111834cb 100644--- a/packages/core/src/FormLayout/XDSFormLayout.tsx+++ b/packages/core/src/FormLayout/XDSFormLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/FormLayout/XDSFormLayoutContext.ts b/packages/core/src/FormLayout/XDSFormLayoutContext.tsindex 18e60b791c..f3cfd98ee9 100644--- a/packages/core/src/FormLayout/XDSFormLayoutContext.ts+++ b/packages/core/src/FormLayout/XDSFormLayoutContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/FormLayout/index.ts b/packages/core/src/FormLayout/index.tsindex 567340f3db..2b92d1deb6 100644--- a/packages/core/src/FormLayout/index.ts+++ b/packages/core/src/FormLayout/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Grid/Grid.doc.mjs b/packages/core/src/Grid/Grid.doc.mjsindex c3439a4498..6abb2cc4b4 100644--- a/packages/core/src/Grid/Grid.doc.mjs+++ b/packages/core/src/Grid/Grid.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Grid/XDSGrid.test.tsx b/packages/core/src/Grid/XDSGrid.test.tsxindex 3d74ad07c8..83341544bb 100644--- a/packages/core/src/Grid/XDSGrid.test.tsx+++ b/packages/core/src/Grid/XDSGrid.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSGrid.test.tsx* @input Uses vitest, @testing-library/react, XDSGrid and XDSGridSpan componentsdiff --git a/packages/core/src/Grid/XDSGrid.tsx b/packages/core/src/Grid/XDSGrid.tsxindex 4b47654d4c..e5ab6e531b 100644--- a/packages/core/src/Grid/XDSGrid.tsx+++ b/packages/core/src/Grid/XDSGrid.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Grid/XDSGridSpan.tsx b/packages/core/src/Grid/XDSGridSpan.tsxindex 3877c6acfb..33a0bbaf27 100644--- a/packages/core/src/Grid/XDSGridSpan.tsx+++ b/packages/core/src/Grid/XDSGridSpan.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSGridSpan.tsx* @input Uses React, stylexdiff --git a/packages/core/src/Grid/index.ts b/packages/core/src/Grid/index.tsindex 6149ce8a16..a6279941a4 100644--- a/packages/core/src/Grid/index.ts+++ b/packages/core/src/Grid/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/HoverCard/HoverCard.doc.mjs b/packages/core/src/HoverCard/HoverCard.doc.mjsindex 6c54515e95..2e79480fc1 100644--- a/packages/core/src/HoverCard/HoverCard.doc.mjs+++ b/packages/core/src/HoverCard/HoverCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/HoverCard/XDSHoverCard.test.tsx b/packages/core/src/HoverCard/XDSHoverCard.test.tsxindex 3216a7d728..dc46ea0316 100644--- a/packages/core/src/HoverCard/XDSHoverCard.test.tsx+++ b/packages/core/src/HoverCard/XDSHoverCard.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSHoverCard.test.tsx* @input Uses vitest, @testing-library/react, XDSHoverCard componentdiff --git a/packages/core/src/HoverCard/XDSHoverCard.tsx b/packages/core/src/HoverCard/XDSHoverCard.tsxindex ab396fce47..3512278663 100644--- a/packages/core/src/HoverCard/XDSHoverCard.tsx+++ b/packages/core/src/HoverCard/XDSHoverCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/HoverCard/index.ts b/packages/core/src/HoverCard/index.tsindex 438f7fd90f..d6a3d077ee 100644--- a/packages/core/src/HoverCard/index.ts+++ b/packages/core/src/HoverCard/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/HoverCard/useXDSHoverCard.doc.mjs b/packages/core/src/HoverCard/useXDSHoverCard.doc.mjsindex 07e83525e2..a0653e21d9 100644--- a/packages/core/src/HoverCard/useXDSHoverCard.doc.mjs+++ b/packages/core/src/HoverCard/useXDSHoverCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useXDSHoverCard',diff --git a/packages/core/src/HoverCard/useXDSHoverCard.tsx b/packages/core/src/HoverCard/useXDSHoverCard.tsxindex e352c4e905..58d013109a 100644--- a/packages/core/src/HoverCard/useXDSHoverCard.tsx+++ b/packages/core/src/HoverCard/useXDSHoverCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Icon/Icon.doc.mjs b/packages/core/src/Icon/Icon.doc.mjsindex 7a473a04cc..8a52fa9233 100644--- a/packages/core/src/Icon/Icon.doc.mjs+++ b/packages/core/src/Icon/Icon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Icon/XDSIcon.test.tsx b/packages/core/src/Icon/XDSIcon.test.tsxindex d33389aaf9..713c6d539b 100644--- a/packages/core/src/Icon/XDSIcon.test.tsx+++ b/packages/core/src/Icon/XDSIcon.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSIcon.test.tsx* @input Uses vitest, @testing-library/react, XDSIcon componentdiff --git a/packages/core/src/Icon/XDSIcon.tsx b/packages/core/src/Icon/XDSIcon.tsxindex 42eaff48f1..4359dbcdf7 100644--- a/packages/core/src/Icon/XDSIcon.tsx+++ b/packages/core/src/Icon/XDSIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Icon/defaultIcons.tsx b/packages/core/src/Icon/defaultIcons.tsxindex 8a62f709a6..b3c57e5c46 100644--- a/packages/core/src/Icon/defaultIcons.tsx+++ b/packages/core/src/Icon/defaultIcons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file defaultIcons.tsx* @input Uses React JSX for inline SVGsdiff --git a/packages/core/src/Icon/globalIconRegistry.test.tsx b/packages/core/src/Icon/globalIconRegistry.test.tsxindex bf79871a41..d24c0e95dc 100644--- a/packages/core/src/Icon/globalIconRegistry.test.tsx+++ b/packages/core/src/Icon/globalIconRegistry.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, beforeEach} from 'vitest';import {registerIcons, getIcon, resetIcons} from './globalIconRegistry';diff --git a/packages/core/src/Icon/globalIconRegistry.tsx b/packages/core/src/Icon/globalIconRegistry.tsxindex c9dee6b4e2..d35af1cf5e 100644--- a/packages/core/src/Icon/globalIconRegistry.tsx+++ b/packages/core/src/Icon/globalIconRegistry.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file globalIconRegistry.tsx* @input None (pure module-level state)diff --git a/packages/core/src/Icon/index.ts b/packages/core/src/Icon/index.tsindex 2053569906..3cb321e82e 100644--- a/packages/core/src/Icon/index.ts+++ b/packages/core/src/Icon/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/IconButton/IconButton.doc.mjs b/packages/core/src/IconButton/IconButton.doc.mjsindex 98a30888f3..91f6b0fd66 100644--- a/packages/core/src/IconButton/IconButton.doc.mjs+++ b/packages/core/src/IconButton/IconButton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/IconButton/XDSIconButton.test.tsx b/packages/core/src/IconButton/XDSIconButton.test.tsxindex 3c1a622bc3..311b4ca1b7 100644--- a/packages/core/src/IconButton/XDSIconButton.test.tsx+++ b/packages/core/src/IconButton/XDSIconButton.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSIconButton.test.tsx* @input Uses vitest, @testing-library/react, XDSIconButton componentdiff --git a/packages/core/src/IconButton/XDSIconButton.tsx b/packages/core/src/IconButton/XDSIconButton.tsxindex d5a60bada6..6bf699008f 100644--- a/packages/core/src/IconButton/XDSIconButton.tsx+++ b/packages/core/src/IconButton/XDSIconButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/IconButton/index.ts b/packages/core/src/IconButton/index.tsindex a473369de1..679f56397c 100644--- a/packages/core/src/IconButton/index.ts+++ b/packages/core/src/IconButton/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Kbd/Kbd.doc.mjs b/packages/core/src/Kbd/Kbd.doc.mjsindex 1efaff7674..e2951c2d55 100644--- a/packages/core/src/Kbd/Kbd.doc.mjs+++ b/packages/core/src/Kbd/Kbd.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Kbd/XDSKbd.test.tsx b/packages/core/src/Kbd/XDSKbd.test.tsxindex b85ac05782..f2c6e49b8b 100644--- a/packages/core/src/Kbd/XDSKbd.test.tsx+++ b/packages/core/src/Kbd/XDSKbd.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSKbd.test.tsx* @input Uses React Testing Library, XDSKbddiff --git a/packages/core/src/Kbd/XDSKbd.tsx b/packages/core/src/Kbd/XDSKbd.tsxindex 3aa3b4d3da..a2a44a05d6 100644--- a/packages/core/src/Kbd/XDSKbd.tsx+++ b/packages/core/src/Kbd/XDSKbd.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Kbd/index.ts b/packages/core/src/Kbd/index.tsindex 5a0c4d6e45..0ce5a400c2 100644--- a/packages/core/src/Kbd/index.ts+++ b/packages/core/src/Kbd/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input Imports XDSKbd component and typesdiff --git a/packages/core/src/Layer/Layer.doc.mjs b/packages/core/src/Layer/Layer.doc.mjsindex a7f01a0891..32e0bf5f26 100644--- a/packages/core/src/Layer/Layer.doc.mjs+++ b/packages/core/src/Layer/Layer.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Layer/XDSLayerContext.ts b/packages/core/src/Layer/XDSLayerContext.tsindex 717285ed48..a5627853eb 100644--- a/packages/core/src/Layer/XDSLayerContext.ts+++ b/packages/core/src/Layer/XDSLayerContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layer/XDSLayerProvider.tsx b/packages/core/src/Layer/XDSLayerProvider.tsxindex 3189007bd3..6f58fc9070 100644--- a/packages/core/src/Layer/XDSLayerProvider.tsx+++ b/packages/core/src/Layer/XDSLayerProvider.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo, type ReactNode} from 'react';diff --git a/packages/core/src/Layer/index.ts b/packages/core/src/Layer/index.tsindex 2e95deb3a8..edc0650acc 100644--- a/packages/core/src/Layer/index.ts+++ b/packages/core/src/Layer/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layer/layerAnimations.stylex.ts b/packages/core/src/Layer/layerAnimations.stylex.tsindex 9179776fcf..ec43bd0a5f 100644--- a/packages/core/src/Layer/layerAnimations.stylex.ts+++ b/packages/core/src/Layer/layerAnimations.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file layerAnimations.stylex.ts* @input Uses StyleX, theme duration/easing tokensdiff --git a/packages/core/src/Layer/useXDSLayer.tsx b/packages/core/src/Layer/useXDSLayer.tsxindex e962391954..7ad9b086f3 100644--- a/packages/core/src/Layer/useXDSLayer.tsx+++ b/packages/core/src/Layer/useXDSLayer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/Layout.doc.mjs b/packages/core/src/Layout/Layout.doc.mjsindex b242f344f7..f42cd50405 100644--- a/packages/core/src/Layout/Layout.doc.mjs+++ b/packages/core/src/Layout/Layout.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Layout/XDSLayout.tsx b/packages/core/src/Layout/XDSLayout.tsxindex 4eb1ea11ea..fd9b5b385d 100644--- a/packages/core/src/Layout/XDSLayout.tsx+++ b/packages/core/src/Layout/XDSLayout.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/XDSLayoutAreaContext.ts b/packages/core/src/Layout/XDSLayoutAreaContext.tsindex 6451d6ee35..9300f6d136 100644--- a/packages/core/src/Layout/XDSLayoutAreaContext.ts+++ b/packages/core/src/Layout/XDSLayoutAreaContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/XDSLayoutContent.tsx b/packages/core/src/Layout/XDSLayoutContent.tsxindex 18bab09dfa..a84bea5ddf 100644--- a/packages/core/src/Layout/XDSLayoutContent.tsx+++ b/packages/core/src/Layout/XDSLayoutContent.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/XDSLayoutDividerContext.ts b/packages/core/src/Layout/XDSLayoutDividerContext.tsindex 92e0ad75d1..7a21100707 100644--- a/packages/core/src/Layout/XDSLayoutDividerContext.ts+++ b/packages/core/src/Layout/XDSLayoutDividerContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/XDSLayoutFooter.tsx b/packages/core/src/Layout/XDSLayoutFooter.tsxindex 10b0d7f3a1..e515ca4488 100644--- a/packages/core/src/Layout/XDSLayoutFooter.tsx+++ b/packages/core/src/Layout/XDSLayoutFooter.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/XDSLayoutHeader.tsx b/packages/core/src/Layout/XDSLayoutHeader.tsxindex 12d9707910..b8feef5b13 100644--- a/packages/core/src/Layout/XDSLayoutHeader.tsx+++ b/packages/core/src/Layout/XDSLayoutHeader.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/XDSLayoutPanel.tsx b/packages/core/src/Layout/XDSLayoutPanel.tsxindex d67f98a6ed..39442819dd 100644--- a/packages/core/src/Layout/XDSLayoutPanel.tsx+++ b/packages/core/src/Layout/XDSLayoutPanel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/XDSLayoutSlotsContext.ts b/packages/core/src/Layout/XDSLayoutSlotsContext.tsindex 3ee1e8a901..45a3ed071a 100644--- a/packages/core/src/Layout/XDSLayoutSlotsContext.ts+++ b/packages/core/src/Layout/XDSLayoutSlotsContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/__tests__/contentWidth.test.tsx b/packages/core/src/Layout/__tests__/contentWidth.test.tsxindex 2c7c1a72d5..316035fdac 100644--- a/packages/core/src/Layout/__tests__/contentWidth.test.tsx+++ b/packages/core/src/Layout/__tests__/contentWidth.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file contentWidth.test.tsx* @input Uses vitest, @testing-library/reactdiff --git a/packages/core/src/Layout/__tests__/edgeCompensation.test.tsx b/packages/core/src/Layout/__tests__/edgeCompensation.test.tsxindex 563564795e..0adc175aec 100644--- a/packages/core/src/Layout/__tests__/edgeCompensation.test.tsx+++ b/packages/core/src/Layout/__tests__/edgeCompensation.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file edgeCompensation.test.tsx* @input Uses vitest, @testing-library/reactdiff --git a/packages/core/src/Layout/container.stylex.ts b/packages/core/src/Layout/container.stylex.tsindex 158b0e975a..7b80931aa5 100644--- a/packages/core/src/Layout/container.stylex.ts+++ b/packages/core/src/Layout/container.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file container.stylex.ts* @input Uses @stylexjs/stylex, spacing from themediff --git a/packages/core/src/Layout/edgeCompensation.stylex.ts b/packages/core/src/Layout/edgeCompensation.stylex.tsindex d931f8db42..754f9e1a77 100644--- a/packages/core/src/Layout/edgeCompensation.stylex.ts+++ b/packages/core/src/Layout/edgeCompensation.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file edgeCompensation.stylex.ts* @input Uses @stylexjs/stylexdiff --git a/packages/core/src/Layout/index.ts b/packages/core/src/Layout/index.tsindex 5ee6447504..9bb7f998a7 100644--- a/packages/core/src/Layout/index.ts+++ b/packages/core/src/Layout/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Layout/padding.stylex.ts b/packages/core/src/Layout/padding.stylex.tsindex 08a16448f3..cd31601a17 100644--- a/packages/core/src/Layout/padding.stylex.ts+++ b/packages/core/src/Layout/padding.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file padding.stylex.ts* @input Uses @stylexjs/stylex, spacing from themediff --git a/packages/core/src/Link/Link.doc.mjs b/packages/core/src/Link/Link.doc.mjsindex 8469ec778a..c48763d01f 100644--- a/packages/core/src/Link/Link.doc.mjs+++ b/packages/core/src/Link/Link.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Link/LinkProvider.doc.mjs b/packages/core/src/Link/LinkProvider.doc.mjsindex 0d67b1cca3..4c6920fbcb 100644--- a/packages/core/src/Link/LinkProvider.doc.mjs+++ b/packages/core/src/Link/LinkProvider.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Link/XDSLink.test.tsx b/packages/core/src/Link/XDSLink.test.tsxindex 20db9805d3..753d216a28 100644--- a/packages/core/src/Link/XDSLink.test.tsx+++ b/packages/core/src/Link/XDSLink.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSLink.test.tsx* @input Uses vitest, @testing-library/react, XDSLink componentdiff --git a/packages/core/src/Link/XDSLink.tsx b/packages/core/src/Link/XDSLink.tsxindex c9780136eb..5566cfb1bc 100644--- a/packages/core/src/Link/XDSLink.tsx+++ b/packages/core/src/Link/XDSLink.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Link/XDSLinkContext.ts b/packages/core/src/Link/XDSLinkContext.tsindex 5070472de6..266ee03638 100644--- a/packages/core/src/Link/XDSLinkContext.ts+++ b/packages/core/src/Link/XDSLinkContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Link/XDSLinkProvider.tsx b/packages/core/src/Link/XDSLinkProvider.tsxindex f298992995..8eb7542dbb 100644--- a/packages/core/src/Link/XDSLinkProvider.tsx+++ b/packages/core/src/Link/XDSLinkProvider.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Link/index.ts b/packages/core/src/Link/index.tsindex d108c5f21c..5c8c74f341 100644--- a/packages/core/src/Link/index.ts+++ b/packages/core/src/Link/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Link/types.ts b/packages/core/src/Link/types.tsindex 4c0362e4f4..6281dc4ac8 100644--- a/packages/core/src/Link/types.ts+++ b/packages/core/src/Link/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @input React ElementTypediff --git a/packages/core/src/Link/useXDSLinkComponent.test.tsx b/packages/core/src/Link/useXDSLinkComponent.test.tsxindex b816f16c67..74e145d868 100644--- a/packages/core/src/Link/useXDSLinkComponent.test.tsx+++ b/packages/core/src/Link/useXDSLinkComponent.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSLinkComponent.test.tsx* @input Uses vitest, @testing-library/react, useXDSLinkComponent, XDSLinkProviderdiff --git a/packages/core/src/Link/useXDSLinkComponent.ts b/packages/core/src/Link/useXDSLinkComponent.tsindex 0f3f479404..95a0182f9b 100644--- a/packages/core/src/Link/useXDSLinkComponent.ts+++ b/packages/core/src/Link/useXDSLinkComponent.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Link/useXDSLinkify.test.tsx b/packages/core/src/Link/useXDSLinkify.test.tsxindex 7ab6047135..d105ce6aaf 100644--- a/packages/core/src/Link/useXDSLinkify.test.tsx+++ b/packages/core/src/Link/useXDSLinkify.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render} from '@testing-library/react';import {renderHook} from '@testing-library/react';diff --git a/packages/core/src/Link/useXDSLinkify.tsx b/packages/core/src/Link/useXDSLinkify.tsxindex 50036d4ea6..2f1572633a 100644--- a/packages/core/src/Link/useXDSLinkify.tsx+++ b/packages/core/src/Link/useXDSLinkify.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/List/List.doc.mjs b/packages/core/src/List/List.doc.mjsindex 030ea67fa6..2e65e2928d 100644--- a/packages/core/src/List/List.doc.mjs+++ b/packages/core/src/List/List.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/List/XDSList.test.tsx b/packages/core/src/List/XDSList.test.tsxindex 2360458d5a..35e9f14c71 100644--- a/packages/core/src/List/XDSList.test.tsx+++ b/packages/core/src/List/XDSList.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSList.test.tsx* @input Uses vitest, @testing-library/react, XDSList, XDSListItemdiff --git a/packages/core/src/List/XDSList.tsx b/packages/core/src/List/XDSList.tsxindex 7128966cc3..700db69960 100644--- a/packages/core/src/List/XDSList.tsx+++ b/packages/core/src/List/XDSList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/List/XDSListContext.tsx b/packages/core/src/List/XDSListContext.tsxindex 5d368c0c95..07748620bc 100644--- a/packages/core/src/List/XDSListContext.tsx+++ b/packages/core/src/List/XDSListContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/List/XDSListItem.tsx b/packages/core/src/List/XDSListItem.tsxindex 10a680dd9f..850453b48a 100644--- a/packages/core/src/List/XDSListItem.tsx+++ b/packages/core/src/List/XDSListItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/List/index.ts b/packages/core/src/List/index.tsindex f002b704c9..6ba8f05a44 100644--- a/packages/core/src/List/index.ts+++ b/packages/core/src/List/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Markdown/Markdown.doc.mjs b/packages/core/src/Markdown/Markdown.doc.mjsindex 08755f6c36..e4b5a45ee5 100644--- a/packages/core/src/Markdown/Markdown.doc.mjs+++ b/packages/core/src/Markdown/Markdown.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Markdown/XDSMarkdown.test.tsx b/packages/core/src/Markdown/XDSMarkdown.test.tsxindex c59cd57198..60bc262f7e 100644--- a/packages/core/src/Markdown/XDSMarkdown.test.tsx+++ b/packages/core/src/Markdown/XDSMarkdown.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {render, screen, fireEvent} from '@testing-library/react';import {XDSMarkdown} from './XDSMarkdown';diff --git a/packages/core/src/Markdown/XDSMarkdown.tsx b/packages/core/src/Markdown/XDSMarkdown.tsxindex 092c4024ae..78edc3b07b 100644--- a/packages/core/src/Markdown/XDSMarkdown.tsx+++ b/packages/core/src/Markdown/XDSMarkdown.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Markdown/incremental.test.ts b/packages/core/src/Markdown/incremental.test.tsindex cca4cd2b12..f1114add01 100644--- a/packages/core/src/Markdown/incremental.test.ts+++ b/packages/core/src/Markdown/incremental.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {parseMarkdown,diff --git a/packages/core/src/Markdown/index.ts b/packages/core/src/Markdown/index.tsindex 1f51480e37..86874c6c82 100644--- a/packages/core/src/Markdown/index.ts+++ b/packages/core/src/Markdown/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Markdown/parser.perf.test.ts b/packages/core/src/Markdown/parser.perf.test.tsindex 32bb7c0c09..9c33b1e75e 100644--- a/packages/core/src/Markdown/parser.perf.test.ts+++ b/packages/core/src/Markdown/parser.perf.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {parseMarkdown,diff --git a/packages/core/src/Markdown/parser.test.ts b/packages/core/src/Markdown/parser.test.tsindex 279d06a3c2..8b15e78e42 100644--- a/packages/core/src/Markdown/parser.test.ts+++ b/packages/core/src/Markdown/parser.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {parseMarkdown, parseInline} from './parser';diff --git a/packages/core/src/Markdown/parser.ts b/packages/core/src/Markdown/parser.tsindex 154711ac4c..e84527a9b8 100644--- a/packages/core/src/Markdown/parser.ts+++ b/packages/core/src/Markdown/parser.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file parser.ts* @input Markdown stringdiff --git a/packages/core/src/Markdown/utils.ts b/packages/core/src/Markdown/utils.tsindex f00ba02850..7e8238d1c5 100644--- a/packages/core/src/Markdown/utils.ts+++ b/packages/core/src/Markdown/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file utils.ts* @output Server-safe re-exports of pure Markdown parser functionsdiff --git a/packages/core/src/MetadataList/MetadataList.doc.mjs b/packages/core/src/MetadataList/MetadataList.doc.mjsindex df20e794c1..7523a9c622 100644--- a/packages/core/src/MetadataList/MetadataList.doc.mjs+++ b/packages/core/src/MetadataList/MetadataList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/MetadataList/XDSMetadataList.test.tsx b/packages/core/src/MetadataList/XDSMetadataList.test.tsxindex 7bd8f2ff44..224356ef94 100644--- a/packages/core/src/MetadataList/XDSMetadataList.test.tsx+++ b/packages/core/src/MetadataList/XDSMetadataList.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import userEvent from '@testing-library/user-event';diff --git a/packages/core/src/MetadataList/XDSMetadataList.tsx b/packages/core/src/MetadataList/XDSMetadataList.tsxindex 4fa35090d3..b40c094fba 100644--- a/packages/core/src/MetadataList/XDSMetadataList.tsx+++ b/packages/core/src/MetadataList/XDSMetadataList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MetadataList/XDSMetadataListContext.tsx b/packages/core/src/MetadataList/XDSMetadataListContext.tsxindex 6ba6215123..09a87bdf58 100644--- a/packages/core/src/MetadataList/XDSMetadataListContext.tsx+++ b/packages/core/src/MetadataList/XDSMetadataListContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MetadataList/XDSMetadataListItem.tsx b/packages/core/src/MetadataList/XDSMetadataListItem.tsxindex f020df92aa..688d1e27b6 100644--- a/packages/core/src/MetadataList/XDSMetadataListItem.tsx+++ b/packages/core/src/MetadataList/XDSMetadataListItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MetadataList/index.ts b/packages/core/src/MetadataList/index.tsindex 8d20cba160..ba972ab228 100644--- a/packages/core/src/MetadataList/index.ts+++ b/packages/core/src/MetadataList/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MobileNav/MobileNav.doc.mjs b/packages/core/src/MobileNav/MobileNav.doc.mjsindex c875d990bd..bdd2c00705 100644--- a/packages/core/src/MobileNav/MobileNav.doc.mjs+++ b/packages/core/src/MobileNav/MobileNav.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/MobileNav/XDSMobileNav.test.tsx b/packages/core/src/MobileNav/XDSMobileNav.test.tsxindex e554b22ff3..d54c9e524d 100644--- a/packages/core/src/MobileNav/XDSMobileNav.test.tsx+++ b/packages/core/src/MobileNav/XDSMobileNav.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSMobileNav.test.tsx* @input Uses vitest, @testing-library/react, XDSMobileNav componentdiff --git a/packages/core/src/MobileNav/XDSMobileNav.tsx b/packages/core/src/MobileNav/XDSMobileNav.tsxindex 6e3b2af228..e07e882b08 100644--- a/packages/core/src/MobileNav/XDSMobileNav.tsx+++ b/packages/core/src/MobileNav/XDSMobileNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MobileNav/XDSMobileNavToggle.tsx b/packages/core/src/MobileNav/XDSMobileNavToggle.tsxindex 92e6e7e13c..9c79501fbf 100644--- a/packages/core/src/MobileNav/XDSMobileNavToggle.tsx+++ b/packages/core/src/MobileNav/XDSMobileNavToggle.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MobileNav/index.ts b/packages/core/src/MobileNav/index.tsindex 3781953ce0..7a2acbdd4b 100644--- a/packages/core/src/MobileNav/index.ts+++ b/packages/core/src/MobileNav/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MoreMenu/MoreMenu.doc.mjs b/packages/core/src/MoreMenu/MoreMenu.doc.mjsindex a7f2c4a74e..9eb2f64522 100644--- a/packages/core/src/MoreMenu/MoreMenu.doc.mjs+++ b/packages/core/src/MoreMenu/MoreMenu.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/MoreMenu/XDSMoreMenu.test.tsx b/packages/core/src/MoreMenu/XDSMoreMenu.test.tsxindex 9c434706a6..32eb64804f 100644--- a/packages/core/src/MoreMenu/XDSMoreMenu.test.tsx+++ b/packages/core/src/MoreMenu/XDSMoreMenu.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSMoreMenu.test.tsx* @input Uses vitest, @testing-library/react, XDSMoreMenu componentdiff --git a/packages/core/src/MoreMenu/XDSMoreMenu.tsx b/packages/core/src/MoreMenu/XDSMoreMenu.tsxindex f620eab3c7..5f5d093b06 100644--- a/packages/core/src/MoreMenu/XDSMoreMenu.tsx+++ b/packages/core/src/MoreMenu/XDSMoreMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MoreMenu/index.ts b/packages/core/src/MoreMenu/index.tsindex b9da24052c..c77298577e 100644--- a/packages/core/src/MoreMenu/index.ts+++ b/packages/core/src/MoreMenu/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MultiSelector/MultiSelector.doc.mjs b/packages/core/src/MultiSelector/MultiSelector.doc.mjsindex 42ba0c37e4..a0aee9a371 100644--- a/packages/core/src/MultiSelector/MultiSelector.doc.mjs+++ b/packages/core/src/MultiSelector/MultiSelector.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/MultiSelector/XDSMultiSelector.test.tsx b/packages/core/src/MultiSelector/XDSMultiSelector.test.tsxindex 3d574e5157..04f35f724d 100644--- a/packages/core/src/MultiSelector/XDSMultiSelector.test.tsx+++ b/packages/core/src/MultiSelector/XDSMultiSelector.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSMultiSelector.test.tsx* @input Uses vitest, @testing-library/react, @testing-library/user-eventdiff --git a/packages/core/src/MultiSelector/XDSMultiSelector.tsx b/packages/core/src/MultiSelector/XDSMultiSelector.tsxindex 2d3b946b0c..2d45dd203c 100644--- a/packages/core/src/MultiSelector/XDSMultiSelector.tsx+++ b/packages/core/src/MultiSelector/XDSMultiSelector.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MultiSelector/hooks.ts b/packages/core/src/MultiSelector/hooks.tsindex c7121dcb3b..c10466d47a 100644--- a/packages/core/src/MultiSelector/hooks.ts+++ b/packages/core/src/MultiSelector/hooks.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MultiSelector/index.ts b/packages/core/src/MultiSelector/index.tsindex 0b80bdeef5..c74531a4ce 100644--- a/packages/core/src/MultiSelector/index.ts+++ b/packages/core/src/MultiSelector/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/MultiSelector/types.ts b/packages/core/src/MultiSelector/types.tsindex d7e43bed46..8b74ca3d6f 100644--- a/packages/core/src/MultiSelector/types.ts+++ b/packages/core/src/MultiSelector/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @input Imports types from ../Selector/typesdiff --git a/packages/core/src/NavIcon/NavIcon.doc.mjs b/packages/core/src/NavIcon/NavIcon.doc.mjsindex 678a13347c..6491e4aabe 100644--- a/packages/core/src/NavIcon/NavIcon.doc.mjs+++ b/packages/core/src/NavIcon/NavIcon.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/NavIcon/XDSNavIcon.test.tsx b/packages/core/src/NavIcon/XDSNavIcon.test.tsxindex 40944eb021..94beff58db 100644--- a/packages/core/src/NavIcon/XDSNavIcon.test.tsx+++ b/packages/core/src/NavIcon/XDSNavIcon.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSNavIcon.test.tsx* @input Uses vitest, @testing-library/react, XDSNavIcondiff --git a/packages/core/src/NavIcon/XDSNavIcon.tsx b/packages/core/src/NavIcon/XDSNavIcon.tsxindex 07b60fc6fb..24eb653b7f 100644--- a/packages/core/src/NavIcon/XDSNavIcon.tsx+++ b/packages/core/src/NavIcon/XDSNavIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSNavIcon.tsx* @input Uses React, HTMLAttributes, ReactNodediff --git a/packages/core/src/NavIcon/index.ts b/packages/core/src/NavIcon/index.tsindex 7af743a15d..cbb0acc684 100644--- a/packages/core/src/NavIcon/index.ts+++ b/packages/core/src/NavIcon/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input Imports from XDSNavIcon.tsxdiff --git a/packages/core/src/NavItem/index.ts b/packages/core/src/NavItem/index.tsindex eff6c56eb2..9209eb4be6 100644--- a/packages/core/src/NavItem/index.ts+++ b/packages/core/src/NavItem/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input Imports from navItemStyles.stylex.tsdiff --git a/packages/core/src/NavItem/navItemStyles.stylex.ts b/packages/core/src/NavItem/navItemStyles.stylex.tsindex 9f9da7be64..de4f284f93 100644--- a/packages/core/src/NavItem/navItemStyles.stylex.ts+++ b/packages/core/src/NavItem/navItemStyles.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file navItemStyles.stylex.ts* @input Uses theme tokens (color, spacing, radius, typography, transition, size)diff --git a/packages/core/src/NavMenu/NavMenu.doc.mjs b/packages/core/src/NavMenu/NavMenu.doc.mjsindex faf33cf25c..f8ab321c2e 100644--- a/packages/core/src/NavMenu/NavMenu.doc.mjs+++ b/packages/core/src/NavMenu/NavMenu.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/NavMenu/XDSNavHeadingMenu.test.tsx b/packages/core/src/NavMenu/XDSNavHeadingMenu.test.tsxindex bb0400220b..b6779af975 100644--- a/packages/core/src/NavMenu/XDSNavHeadingMenu.test.tsx+++ b/packages/core/src/NavMenu/XDSNavHeadingMenu.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {render, screen, within} from '@testing-library/react';import userEvent from '@testing-library/user-event';diff --git a/packages/core/src/NavMenu/XDSNavHeadingMenu.tsx b/packages/core/src/NavMenu/XDSNavHeadingMenu.tsxindex 1d6b08f730..34157b88e8 100644--- a/packages/core/src/NavMenu/XDSNavHeadingMenu.tsx+++ b/packages/core/src/NavMenu/XDSNavHeadingMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useMemo, type ReactNode} from 'react';diff --git a/packages/core/src/NavMenu/XDSNavHeadingMenuItem.tsx b/packages/core/src/NavMenu/XDSNavHeadingMenuItem.tsxindex 7dc178ca74..a5ca994fbf 100644--- a/packages/core/src/NavMenu/XDSNavHeadingMenuItem.tsx+++ b/packages/core/src/NavMenu/XDSNavHeadingMenuItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useCallback, type ReactNode} from 'react';diff --git a/packages/core/src/NavMenu/XDSNavMenuContext.tsx b/packages/core/src/NavMenu/XDSNavMenuContext.tsxindex 6907065d08..5ccc006467 100644--- a/packages/core/src/NavMenu/XDSNavMenuContext.tsx+++ b/packages/core/src/NavMenu/XDSNavMenuContext.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {createContext, useContext} from 'react';diff --git a/packages/core/src/NavMenu/XDSNavMenuItem.tsx b/packages/core/src/NavMenu/XDSNavMenuItem.tsxindex d7c48ca59e..af1ea1b891 100644--- a/packages/core/src/NavMenu/XDSNavMenuItem.tsx+++ b/packages/core/src/NavMenu/XDSNavMenuItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {XDSNavHeadingMenuItem} from './XDSNavHeadingMenuItem';diff --git a/packages/core/src/NavMenu/index.ts b/packages/core/src/NavMenu/index.tsindex 518eb3251f..1a504fa4c9 100644--- a/packages/core/src/NavMenu/index.ts+++ b/packages/core/src/NavMenu/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';export {XDSNavHeadingMenu} from './XDSNavHeadingMenu';export type {XDSNavHeadingMenuProps} from './XDSNavHeadingMenu';diff --git a/packages/core/src/NumberInput/NumberInput.doc.mjs b/packages/core/src/NumberInput/NumberInput.doc.mjsindex ee33a3b355..e558a255cb 100644--- a/packages/core/src/NumberInput/NumberInput.doc.mjs+++ b/packages/core/src/NumberInput/NumberInput.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/NumberInput/XDSNumberInput.test.tsx b/packages/core/src/NumberInput/XDSNumberInput.test.tsxindex 119760e442..0ff6ff72ac 100644--- a/packages/core/src/NumberInput/XDSNumberInput.test.tsx+++ b/packages/core/src/NumberInput/XDSNumberInput.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSNumberInput.test.tsx* @input Uses vitest, @testing-library/react, XDSNumberInput componentdiff --git a/packages/core/src/NumberInput/XDSNumberInput.tsx b/packages/core/src/NumberInput/XDSNumberInput.tsxindex 2ab2e63aed..30e094f308 100644--- a/packages/core/src/NumberInput/XDSNumberInput.tsx+++ b/packages/core/src/NumberInput/XDSNumberInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/NumberInput/index.ts b/packages/core/src/NumberInput/index.tsindex 72c6770f4e..c68940c351 100644--- a/packages/core/src/NumberInput/index.ts+++ b/packages/core/src/NumberInput/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/OverflowList/OverflowList.doc.mjs b/packages/core/src/OverflowList/OverflowList.doc.mjsindex 9ec8b2d385..0b3209fb95 100644--- a/packages/core/src/OverflowList/OverflowList.doc.mjs+++ b/packages/core/src/OverflowList/OverflowList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/OverflowList/XDSOverflowList.tsx b/packages/core/src/OverflowList/XDSOverflowList.tsxindex 1cdeb08f8b..2534c9819c 100644--- a/packages/core/src/OverflowList/XDSOverflowList.tsx+++ b/packages/core/src/OverflowList/XDSOverflowList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/OverflowList/index.ts b/packages/core/src/OverflowList/index.tsindex 55b3d69a5c..46594d21a1 100644--- a/packages/core/src/OverflowList/index.ts+++ b/packages/core/src/OverflowList/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Overlay/OverlayScrim.tsx b/packages/core/src/Overlay/OverlayScrim.tsxindex c070e402b3..4017afffce 100644--- a/packages/core/src/Overlay/OverlayScrim.tsx+++ b/packages/core/src/Overlay/OverlayScrim.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Overlay/XDSOverlay.tsx b/packages/core/src/Overlay/XDSOverlay.tsxindex 4604d32742..a04381c155 100644--- a/packages/core/src/Overlay/XDSOverlay.tsx+++ b/packages/core/src/Overlay/XDSOverlay.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Overlay/index.ts b/packages/core/src/Overlay/index.tsindex d0b3928425..be6e136054 100644--- a/packages/core/src/Overlay/index.ts+++ b/packages/core/src/Overlay/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @position Overlay barrel exportdiff --git a/packages/core/src/Overlay/overlay.markers.stylex.ts b/packages/core/src/Overlay/overlay.markers.stylex.tsindex d827edbcc4..eea009b4ec 100644--- a/packages/core/src/Overlay/overlay.markers.stylex.ts+++ b/packages/core/src/Overlay/overlay.markers.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as stylex from '@stylexjs/stylex';/**diff --git a/packages/core/src/Overlay/useXDSOverlay.tsx b/packages/core/src/Overlay/useXDSOverlay.tsxindex 678a12c1ff..e2925e12d7 100644--- a/packages/core/src/Overlay/useXDSOverlay.tsx+++ b/packages/core/src/Overlay/useXDSOverlay.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Pagination/Pagination.doc.mjs b/packages/core/src/Pagination/Pagination.doc.mjsindex 97e2f93371..fdc2e8c7f8 100644--- a/packages/core/src/Pagination/Pagination.doc.mjs+++ b/packages/core/src/Pagination/Pagination.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Pagination/XDSPagination.test.tsx b/packages/core/src/Pagination/XDSPagination.test.tsxindex a3b7ad672b..d709ea4a52 100644--- a/packages/core/src/Pagination/XDSPagination.test.tsx+++ b/packages/core/src/Pagination/XDSPagination.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSPagination.test.tsx* @input Uses vitest, @testing-library/react, XDSPagination componentdiff --git a/packages/core/src/Pagination/XDSPagination.tsx b/packages/core/src/Pagination/XDSPagination.tsxindex a7d4425a4b..4bf16350fe 100644--- a/packages/core/src/Pagination/XDSPagination.tsx+++ b/packages/core/src/Pagination/XDSPagination.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Pagination/index.ts b/packages/core/src/Pagination/index.tsindex 12bdff0146..62f6ef71bc 100644--- a/packages/core/src/Pagination/index.ts+++ b/packages/core/src/Pagination/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Popover/Popover.doc.mjs b/packages/core/src/Popover/Popover.doc.mjsindex 4bef89046b..caff76061d 100644--- a/packages/core/src/Popover/Popover.doc.mjs+++ b/packages/core/src/Popover/Popover.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Popover/XDSPopover.test.tsx b/packages/core/src/Popover/XDSPopover.test.tsxindex 192f4f76d0..480c524659 100644--- a/packages/core/src/Popover/XDSPopover.test.tsx+++ b/packages/core/src/Popover/XDSPopover.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSPopover.test.tsx* @input Uses vitest, @testing-library/react, XDSPopover componentdiff --git a/packages/core/src/Popover/XDSPopover.tsx b/packages/core/src/Popover/XDSPopover.tsxindex 7271c2b046..c2b14c62d4 100644--- a/packages/core/src/Popover/XDSPopover.tsx+++ b/packages/core/src/Popover/XDSPopover.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Popover/index.ts b/packages/core/src/Popover/index.tsindex 422118d19e..40348bf111 100644--- a/packages/core/src/Popover/index.ts+++ b/packages/core/src/Popover/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Popover/useXDSPopover.doc.mjs b/packages/core/src/Popover/useXDSPopover.doc.mjsindex 4c605fe3bc..72b73b2c9b 100644--- a/packages/core/src/Popover/useXDSPopover.doc.mjs+++ b/packages/core/src/Popover/useXDSPopover.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useXDSPopover',diff --git a/packages/core/src/Popover/useXDSPopover.tsx b/packages/core/src/Popover/useXDSPopover.tsxindex dc893e0c79..d9085b446f 100644--- a/packages/core/src/Popover/useXDSPopover.tsx+++ b/packages/core/src/Popover/useXDSPopover.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/PowerSearch.doc.mjs b/packages/core/src/PowerSearch/PowerSearch.doc.mjsindex 14f962399e..5197d9fd95 100644--- a/packages/core/src/PowerSearch/PowerSearch.doc.mjs+++ b/packages/core/src/PowerSearch/PowerSearch.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/PowerSearch/PowerSearchEditPopover.tsx b/packages/core/src/PowerSearch/PowerSearchEditPopover.tsxindex f6f2102674..8530245f79 100644--- a/packages/core/src/PowerSearch/PowerSearchEditPopover.tsx+++ b/packages/core/src/PowerSearch/PowerSearchEditPopover.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/PowerSearchValueEditor.test.tsx b/packages/core/src/PowerSearch/PowerSearchValueEditor.test.tsxindex 18415593a0..4a184a3648 100644--- a/packages/core/src/PowerSearch/PowerSearchValueEditor.test.tsx+++ b/packages/core/src/PowerSearch/PowerSearchValueEditor.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file PowerSearchValueEditor.test.tsx* @input Uses vitest, @testing-library/react, PowerSearchValueEditordiff --git a/packages/core/src/PowerSearch/PowerSearchValueEditor.tsx b/packages/core/src/PowerSearch/PowerSearchValueEditor.tsxindex 1664a0b176..da11ea3359 100644--- a/packages/core/src/PowerSearch/PowerSearchValueEditor.tsx+++ b/packages/core/src/PowerSearch/PowerSearchValueEditor.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/XDSPowerSearch.tsx b/packages/core/src/PowerSearch/XDSPowerSearch.tsxindex 511ce4516e..5ebb7163d7 100644--- a/packages/core/src/PowerSearch/XDSPowerSearch.tsx+++ b/packages/core/src/PowerSearch/XDSPowerSearch.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/XDSPowerSearchFilterEditor.tsx b/packages/core/src/PowerSearch/XDSPowerSearchFilterEditor.tsxindex bd8a15fe89..1186a23c46 100644--- a/packages/core/src/PowerSearch/XDSPowerSearchFilterEditor.tsx+++ b/packages/core/src/PowerSearch/XDSPowerSearchFilterEditor.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/XDSPowerSearchToken.tsx b/packages/core/src/PowerSearch/XDSPowerSearchToken.tsxindex efe2746699..4cf70040db 100644--- a/packages/core/src/PowerSearch/XDSPowerSearchToken.tsx+++ b/packages/core/src/PowerSearch/XDSPowerSearchToken.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/formatFilterValue.ts b/packages/core/src/PowerSearch/formatFilterValue.tsindex 796eb32bbc..4879ff2c5c 100644--- a/packages/core/src/PowerSearch/formatFilterValue.ts+++ b/packages/core/src/PowerSearch/formatFilterValue.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file formatFilterValue.ts* @input OperatorValue, FilterValue, configdiff --git a/packages/core/src/PowerSearch/index.ts b/packages/core/src/PowerSearch/index.tsindex d93f985372..fd6b0d555a 100644--- a/packages/core/src/PowerSearch/index.ts+++ b/packages/core/src/PowerSearch/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/types.ts b/packages/core/src/PowerSearch/types.tsindex 43f830daac..1b8289821f 100644--- a/packages/core/src/PowerSearch/types.ts+++ b/packages/core/src/PowerSearch/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @input Nonediff --git a/packages/core/src/PowerSearch/useInternalConfig.ts b/packages/core/src/PowerSearch/useInternalConfig.tsindex ffe97f3054..077c0fa6ca 100644--- a/packages/core/src/PowerSearch/useInternalConfig.ts+++ b/packages/core/src/PowerSearch/useInternalConfig.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/usePowerSearchConfig.test.ts b/packages/core/src/PowerSearch/usePowerSearchConfig.test.tsindex c71dc51999..e791ecd7de 100644--- a/packages/core/src/PowerSearch/usePowerSearchConfig.test.ts+++ b/packages/core/src/PowerSearch/usePowerSearchConfig.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file usePowerSearchConfig.test.ts* @input createPowerSearchConfig utilitydiff --git a/packages/core/src/PowerSearch/usePowerSearchConfig.ts b/packages/core/src/PowerSearch/usePowerSearchConfig.tsindex f2d09ffb6d..e8ac264727 100644--- a/packages/core/src/PowerSearch/usePowerSearchConfig.ts+++ b/packages/core/src/PowerSearch/usePowerSearchConfig.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/usePowerSearchSource.test.ts b/packages/core/src/PowerSearch/usePowerSearchSource.test.tsindex bfa3aa9507..eb6cd466a7 100644--- a/packages/core/src/PowerSearch/usePowerSearchSource.test.ts+++ b/packages/core/src/PowerSearch/usePowerSearchSource.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file usePowerSearchSource.test.ts* @input usePowerSearchSource, useInternalConfigdiff --git a/packages/core/src/PowerSearch/usePowerSearchSource.ts b/packages/core/src/PowerSearch/usePowerSearchSource.tsindex c4b20adaee..387e250759 100644--- a/packages/core/src/PowerSearch/usePowerSearchSource.ts+++ b/packages/core/src/PowerSearch/usePowerSearchSource.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/PowerSearch/utils.ts b/packages/core/src/PowerSearch/utils.tsindex 5be00814e3..4ab8cc84e9 100644--- a/packages/core/src/PowerSearch/utils.ts+++ b/packages/core/src/PowerSearch/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file utils.ts* @output Server-safe re-exports of pure PowerSearch utility functionsdiff --git a/packages/core/src/ProgressBar/ProgressBar.doc.mjs b/packages/core/src/ProgressBar/ProgressBar.doc.mjsindex 4df8117b65..55d2552cea 100644--- a/packages/core/src/ProgressBar/ProgressBar.doc.mjs+++ b/packages/core/src/ProgressBar/ProgressBar.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/ProgressBar/XDSProgressBar.test.tsx b/packages/core/src/ProgressBar/XDSProgressBar.test.tsxindex 47cf0f2930..ed0a7962bb 100644--- a/packages/core/src/ProgressBar/XDSProgressBar.test.tsx+++ b/packages/core/src/ProgressBar/XDSProgressBar.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSProgressBar} from './XDSProgressBar';diff --git a/packages/core/src/ProgressBar/XDSProgressBar.tsx b/packages/core/src/ProgressBar/XDSProgressBar.tsxindex d021d7d85f..60729ec85b 100644--- a/packages/core/src/ProgressBar/XDSProgressBar.tsx+++ b/packages/core/src/ProgressBar/XDSProgressBar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/ProgressBar/index.ts b/packages/core/src/ProgressBar/index.tsindex 8e4d2a1104..cde3bfa8c1 100644--- a/packages/core/src/ProgressBar/index.ts+++ b/packages/core/src/ProgressBar/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/RadioList/RadioList.doc.mjs b/packages/core/src/RadioList/RadioList.doc.mjsindex b2844874fc..537525393a 100644--- a/packages/core/src/RadioList/RadioList.doc.mjs+++ b/packages/core/src/RadioList/RadioList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/RadioList/XDSRadioList.test.tsx b/packages/core/src/RadioList/XDSRadioList.test.tsxindex 94ce4ac2cf..b53fb8db48 100644--- a/packages/core/src/RadioList/XDSRadioList.test.tsx+++ b/packages/core/src/RadioList/XDSRadioList.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSRadioList.test.tsx* @input Uses vitest, @testing-library/react, XDSRadioList, XDSRadioListItemdiff --git a/packages/core/src/RadioList/XDSRadioList.tsx b/packages/core/src/RadioList/XDSRadioList.tsxindex c64cc8003e..0b04c17890 100644--- a/packages/core/src/RadioList/XDSRadioList.tsx+++ b/packages/core/src/RadioList/XDSRadioList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/RadioList/XDSRadioListItem.tsx b/packages/core/src/RadioList/XDSRadioListItem.tsxindex a30bcb519f..c32ca25201 100644--- a/packages/core/src/RadioList/XDSRadioListItem.tsx+++ b/packages/core/src/RadioList/XDSRadioListItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/RadioList/index.ts b/packages/core/src/RadioList/index.tsindex 4fbf3c6a2d..989b229431 100644--- a/packages/core/src/RadioList/index.ts+++ b/packages/core/src/RadioList/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/RadioList/radio.markers.stylex.ts b/packages/core/src/RadioList/radio.markers.stylex.tsindex 58975ad337..1fcfe86e47 100644--- a/packages/core/src/RadioList/radio.markers.stylex.ts+++ b/packages/core/src/RadioList/radio.markers.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as stylex from '@stylexjs/stylex';/**diff --git a/packages/core/src/Resizable/Resizable.doc.mjs b/packages/core/src/Resizable/Resizable.doc.mjsindex 3d74e487d4..b2e213a64a 100644--- a/packages/core/src/Resizable/Resizable.doc.mjs+++ b/packages/core/src/Resizable/Resizable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {name: 'Resizable',diff --git a/packages/core/src/Resizable/XDSResizeHandle.tsx b/packages/core/src/Resizable/XDSResizeHandle.tsxindex 9453a27a44..ddcdb2e9f5 100644--- a/packages/core/src/Resizable/XDSResizeHandle.tsx+++ b/packages/core/src/Resizable/XDSResizeHandle.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Resizable/index.ts b/packages/core/src/Resizable/index.tsindex b61704a67d..8921fcf92b 100644--- a/packages/core/src/Resizable/index.ts+++ b/packages/core/src/Resizable/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Resizable/useXDSResizable.doc.mjs b/packages/core/src/Resizable/useXDSResizable.doc.mjsindex 8efd6e088b..89e29d786f 100644--- a/packages/core/src/Resizable/useXDSResizable.doc.mjs+++ b/packages/core/src/Resizable/useXDSResizable.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useXDSResizable',diff --git a/packages/core/src/Resizable/useXDSResizable.ts b/packages/core/src/Resizable/useXDSResizable.tsindex 02b587b0ea..62b1d9c563 100644--- a/packages/core/src/Resizable/useXDSResizable.ts+++ b/packages/core/src/Resizable/useXDSResizable.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Section/Section.doc.mjs b/packages/core/src/Section/Section.doc.mjsindex 165dd522e5..f941075002 100644--- a/packages/core/src/Section/Section.doc.mjs+++ b/packages/core/src/Section/Section.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Section/XDSSection.test.tsx b/packages/core/src/Section/XDSSection.test.tsxindex 7c60525403..1098e2cda7 100644--- a/packages/core/src/Section/XDSSection.test.tsx+++ b/packages/core/src/Section/XDSSection.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSSection} from './XDSSection';diff --git a/packages/core/src/Section/XDSSection.tsx b/packages/core/src/Section/XDSSection.tsxindex 34775eb51d..ea5fb74e0f 100644--- a/packages/core/src/Section/XDSSection.tsx+++ b/packages/core/src/Section/XDSSection.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Section/index.ts b/packages/core/src/Section/index.tsindex 4439d4ba33..0e4f4c0fd4 100644--- a/packages/core/src/Section/index.ts+++ b/packages/core/src/Section/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SegmentedControl/SegmentedControl.doc.mjs b/packages/core/src/SegmentedControl/SegmentedControl.doc.mjsindex 9e5dcb9c63..beeea88b69 100644--- a/packages/core/src/SegmentedControl/SegmentedControl.doc.mjs+++ b/packages/core/src/SegmentedControl/SegmentedControl.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/SegmentedControl/XDSSegmentedControl.test.tsx b/packages/core/src/SegmentedControl/XDSSegmentedControl.test.tsxindex a9ce917d0d..779d6b3ca0 100644--- a/packages/core/src/SegmentedControl/XDSSegmentedControl.test.tsx+++ b/packages/core/src/SegmentedControl/XDSSegmentedControl.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSegmentedControl.test.tsx* @input Uses vitest, @testing-library/react, SegmentedControl componentsdiff --git a/packages/core/src/SegmentedControl/XDSSegmentedControl.tsx b/packages/core/src/SegmentedControl/XDSSegmentedControl.tsxindex 6e22778742..f7cb7630fa 100644--- a/packages/core/src/SegmentedControl/XDSSegmentedControl.tsx+++ b/packages/core/src/SegmentedControl/XDSSegmentedControl.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SegmentedControl/XDSSegmentedControlContext.ts b/packages/core/src/SegmentedControl/XDSSegmentedControlContext.tsindex 87ec27779a..f04d3046c6 100644--- a/packages/core/src/SegmentedControl/XDSSegmentedControlContext.ts+++ b/packages/core/src/SegmentedControl/XDSSegmentedControlContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SegmentedControl/XDSSegmentedControlItem.tsx b/packages/core/src/SegmentedControl/XDSSegmentedControlItem.tsxindex 79df550d40..61668c42cb 100644--- a/packages/core/src/SegmentedControl/XDSSegmentedControlItem.tsx+++ b/packages/core/src/SegmentedControl/XDSSegmentedControlItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SegmentedControl/index.ts b/packages/core/src/SegmentedControl/index.tsindex 85293d580c..696cd9204a 100644--- a/packages/core/src/SegmentedControl/index.ts+++ b/packages/core/src/SegmentedControl/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SelectableCard/SelectableCard.doc.mjs b/packages/core/src/SelectableCard/SelectableCard.doc.mjsindex d7e5fc423b..8d6a1784a8 100644--- a/packages/core/src/SelectableCard/SelectableCard.doc.mjs+++ b/packages/core/src/SelectableCard/SelectableCard.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {name: 'SelectableCard',diff --git a/packages/core/src/SelectableCard/XDSSelectableCard.test.tsx b/packages/core/src/SelectableCard/XDSSelectableCard.test.tsxindex 84a902ef10..fbb762371e 100644--- a/packages/core/src/SelectableCard/XDSSelectableCard.test.tsx+++ b/packages/core/src/SelectableCard/XDSSelectableCard.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {render, screen, fireEvent} from '@testing-library/react';import {XDSSelectableCard} from './XDSSelectableCard';diff --git a/packages/core/src/SelectableCard/XDSSelectableCard.tsx b/packages/core/src/SelectableCard/XDSSelectableCard.tsxindex 7459671d28..57bce28936 100644--- a/packages/core/src/SelectableCard/XDSSelectableCard.tsx+++ b/packages/core/src/SelectableCard/XDSSelectableCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SelectableCard/index.ts b/packages/core/src/SelectableCard/index.tsindex d96d640348..725a50e263 100644--- a/packages/core/src/SelectableCard/index.ts+++ b/packages/core/src/SelectableCard/index.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {XDSSelectableCard} from './XDSSelectableCard';export type {XDSSelectableCardProps} from './XDSSelectableCard';diff --git a/packages/core/src/Selector/Selector.doc.mjs b/packages/core/src/Selector/Selector.doc.mjsindex 3adc920883..88610acbcf 100644--- a/packages/core/src/Selector/Selector.doc.mjs+++ b/packages/core/src/Selector/Selector.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Selector/XDSSelector.test.tsx b/packages/core/src/Selector/XDSSelector.test.tsxindex 66a0289e8f..cd24612272 100644--- a/packages/core/src/Selector/XDSSelector.test.tsx+++ b/packages/core/src/Selector/XDSSelector.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSelector.test.tsx* @input Uses vitest, @testing-library/react, @testing-library/user-eventdiff --git a/packages/core/src/Selector/XDSSelector.tsx b/packages/core/src/Selector/XDSSelector.tsxindex 7b028fcac0..d57f1ef59c 100644--- a/packages/core/src/Selector/XDSSelector.tsx+++ b/packages/core/src/Selector/XDSSelector.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Selector/XDSSelectorOption.tsx b/packages/core/src/Selector/XDSSelectorOption.tsxindex 74950626bf..45438f22de 100644--- a/packages/core/src/Selector/XDSSelectorOption.tsx+++ b/packages/core/src/Selector/XDSSelectorOption.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSelectorOption.tsx* @output Exports XDSSelectorOption component for custom option renderingdiff --git a/packages/core/src/Selector/hooks.ts b/packages/core/src/Selector/hooks.tsindex 6d5712b579..8dbc8132ec 100644--- a/packages/core/src/Selector/hooks.ts+++ b/packages/core/src/Selector/hooks.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Selector/index.ts b/packages/core/src/Selector/index.tsindex 071181781a..4dda896c37 100644--- a/packages/core/src/Selector/index.ts+++ b/packages/core/src/Selector/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Selector/types.ts b/packages/core/src/Selector/types.tsindex d405f16673..ca40705b29 100644--- a/packages/core/src/Selector/types.ts+++ b/packages/core/src/Selector/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @output Type definitions for XDSSelectordiff --git a/packages/core/src/Selector/utils.ts b/packages/core/src/Selector/utils.tsindex 146f940c6c..a65ad580e0 100644--- a/packages/core/src/Selector/utils.ts+++ b/packages/core/src/Selector/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file utils.ts* @output Utility functions for XDSSelectordiff --git a/packages/core/src/SideNav/SideNav.doc.mjs b/packages/core/src/SideNav/SideNav.doc.mjsindex de66ffa653..8feaf6b8e9 100644--- a/packages/core/src/SideNav/SideNav.doc.mjs+++ b/packages/core/src/SideNav/SideNav.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/SideNav/XDSSideNav.test.tsx b/packages/core/src/SideNav/XDSSideNav.test.tsxindex 29a3cd5a16..4d76e48d46 100644--- a/packages/core/src/SideNav/XDSSideNav.test.tsx+++ b/packages/core/src/SideNav/XDSSideNav.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSideNav.test.tsx* @input Uses vitest, @testing-library/react, SideNav componentsdiff --git a/packages/core/src/SideNav/XDSSideNav.tsx b/packages/core/src/SideNav/XDSSideNav.tsxindex f157535c2a..03c2623294 100644--- a/packages/core/src/SideNav/XDSSideNav.tsx+++ b/packages/core/src/SideNav/XDSSideNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SideNav/XDSSideNavCollapseButton.tsx b/packages/core/src/SideNav/XDSSideNavCollapseButton.tsxindex cec490959a..88a34c4afe 100644--- a/packages/core/src/SideNav/XDSSideNavCollapseButton.tsx+++ b/packages/core/src/SideNav/XDSSideNavCollapseButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SideNav/XDSSideNavCollapseContext.ts b/packages/core/src/SideNav/XDSSideNavCollapseContext.tsindex 35d4c370a1..cccecf1658 100644--- a/packages/core/src/SideNav/XDSSideNavCollapseContext.ts+++ b/packages/core/src/SideNav/XDSSideNavCollapseContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SideNav/XDSSideNavHeading.tsx b/packages/core/src/SideNav/XDSSideNavHeading.tsxindex a6d417dd3a..6d11606fc4 100644--- a/packages/core/src/SideNav/XDSSideNavHeading.tsx+++ b/packages/core/src/SideNav/XDSSideNavHeading.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SideNav/XDSSideNavItem.tsx b/packages/core/src/SideNav/XDSSideNavItem.tsxindex 150b8bc576..bb047815bc 100644--- a/packages/core/src/SideNav/XDSSideNavItem.tsx+++ b/packages/core/src/SideNav/XDSSideNavItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SideNav/XDSSideNavRenderContext.ts b/packages/core/src/SideNav/XDSSideNavRenderContext.tsindex 46d4dc720a..679edd3582 100644--- a/packages/core/src/SideNav/XDSSideNavRenderContext.ts+++ b/packages/core/src/SideNav/XDSSideNavRenderContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SideNav/XDSSideNavSection.tsx b/packages/core/src/SideNav/XDSSideNavSection.tsxindex 92a711e064..982336acdb 100644--- a/packages/core/src/SideNav/XDSSideNavSection.tsx+++ b/packages/core/src/SideNav/XDSSideNavSection.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SideNav/index.ts b/packages/core/src/SideNav/index.tsindex 2597c9423a..e47195a632 100644--- a/packages/core/src/SideNav/index.ts+++ b/packages/core/src/SideNav/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SizeContext/XDSSizeContext.ts b/packages/core/src/SizeContext/XDSSizeContext.tsindex 844c8a2fc3..0a734b23f8 100644--- a/packages/core/src/SizeContext/XDSSizeContext.ts+++ b/packages/core/src/SizeContext/XDSSizeContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/SizeContext/index.ts b/packages/core/src/SizeContext/index.tsindex d5c0396a4e..804d02df04 100644--- a/packages/core/src/SizeContext/index.ts+++ b/packages/core/src/SizeContext/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input XDSSizeContext.tsdiff --git a/packages/core/src/Skeleton/Skeleton.doc.mjs b/packages/core/src/Skeleton/Skeleton.doc.mjsindex 1f0756402e..ab469ee568 100644--- a/packages/core/src/Skeleton/Skeleton.doc.mjs+++ b/packages/core/src/Skeleton/Skeleton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Skeleton/XDSSkeleton.tsx b/packages/core/src/Skeleton/XDSSkeleton.tsxindex e8a50bd4f9..a2c6b7ff3b 100644--- a/packages/core/src/Skeleton/XDSSkeleton.tsx+++ b/packages/core/src/Skeleton/XDSSkeleton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Skeleton/index.ts b/packages/core/src/Skeleton/index.tsindex 87e8f3e3d9..a3d4b6ac7d 100644--- a/packages/core/src/Skeleton/index.ts+++ b/packages/core/src/Skeleton/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Slider/Slider.doc.mjs b/packages/core/src/Slider/Slider.doc.mjsindex bd5ba91783..d51ab6dbe4 100644--- a/packages/core/src/Slider/Slider.doc.mjs+++ b/packages/core/src/Slider/Slider.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Slider/XDSSlider.test.tsx b/packages/core/src/Slider/XDSSlider.test.tsxindex 75fe2b3572..f04db85310 100644--- a/packages/core/src/Slider/XDSSlider.test.tsx+++ b/packages/core/src/Slider/XDSSlider.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSlider.test.tsx* @input Uses vitest, @testing-library/react, userEvent, XDSSlider componentdiff --git a/packages/core/src/Slider/XDSSlider.tsx b/packages/core/src/Slider/XDSSlider.tsxindex 7438fb6674..30698908f2 100644--- a/packages/core/src/Slider/XDSSlider.tsx+++ b/packages/core/src/Slider/XDSSlider.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Slider/index.ts b/packages/core/src/Slider/index.tsindex ecf0b5fa62..247527352c 100644--- a/packages/core/src/Slider/index.ts+++ b/packages/core/src/Slider/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Spinner/Spinner.doc.mjs b/packages/core/src/Spinner/Spinner.doc.mjsindex 4752b96f23..63fc61fbdd 100644--- a/packages/core/src/Spinner/Spinner.doc.mjs+++ b/packages/core/src/Spinner/Spinner.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Spinner/XDSSpinner.test.tsx b/packages/core/src/Spinner/XDSSpinner.test.tsxindex 55664a85a1..24a91df028 100644--- a/packages/core/src/Spinner/XDSSpinner.test.tsx+++ b/packages/core/src/Spinner/XDSSpinner.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSpinner.test.tsx* @input Uses vitest, @testing-library/react, XDSSpinner componentdiff --git a/packages/core/src/Spinner/XDSSpinner.tsx b/packages/core/src/Spinner/XDSSpinner.tsxindex bc2b273f13..d0eaec4e7b 100644--- a/packages/core/src/Spinner/XDSSpinner.tsx+++ b/packages/core/src/Spinner/XDSSpinner.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Spinner/index.ts b/packages/core/src/Spinner/index.tsindex b4d74abdab..4b80a26882 100644--- a/packages/core/src/Spinner/index.ts+++ b/packages/core/src/Spinner/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Stack/Stack.doc.mjs b/packages/core/src/Stack/Stack.doc.mjsindex 411e98963d..7e9d56b5f4 100644--- a/packages/core/src/Stack/Stack.doc.mjs+++ b/packages/core/src/Stack/Stack.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Stack/XDSHStack.test.tsx b/packages/core/src/Stack/XDSHStack.test.tsxindex fb784d8fea..d58e760cfd 100644--- a/packages/core/src/Stack/XDSHStack.test.tsx+++ b/packages/core/src/Stack/XDSHStack.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSHStack.test.tsx* @input Uses vitest, @testing-library/react, XDSHStack componentdiff --git a/packages/core/src/Stack/XDSHStack.tsx b/packages/core/src/Stack/XDSHStack.tsxindex 1baf5ef444..1c79ad8a4c 100644--- a/packages/core/src/Stack/XDSHStack.tsx+++ b/packages/core/src/Stack/XDSHStack.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSHStack.tsx* @input Uses XDSStack componentdiff --git a/packages/core/src/Stack/XDSStack.test.tsx b/packages/core/src/Stack/XDSStack.test.tsxindex 1e64718c1f..2d05447710 100644--- a/packages/core/src/Stack/XDSStack.test.tsx+++ b/packages/core/src/Stack/XDSStack.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSStack.test.tsx* @input Uses vitest, @testing-library/react, XDSStack componentdiff --git a/packages/core/src/Stack/XDSStack.tsx b/packages/core/src/Stack/XDSStack.tsxindex f5b3d7b2a0..a4687fb9f0 100644--- a/packages/core/src/Stack/XDSStack.tsx+++ b/packages/core/src/Stack/XDSStack.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSStack.tsx* @input Uses React, ElementType, stack utilitydiff --git a/packages/core/src/Stack/XDSStackItem.test.tsx b/packages/core/src/Stack/XDSStackItem.test.tsxindex 26c14011e2..30892492e5 100644--- a/packages/core/src/Stack/XDSStackItem.test.tsx+++ b/packages/core/src/Stack/XDSStackItem.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSStackItem.test.tsx* @input Uses vitest, @testing-library/react, XDSStackItem componentdiff --git a/packages/core/src/Stack/XDSStackItem.tsx b/packages/core/src/Stack/XDSStackItem.tsxindex 883defd325..314abab01c 100644--- a/packages/core/src/Stack/XDSStackItem.tsx+++ b/packages/core/src/Stack/XDSStackItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSStackItem.tsx* @input Uses React, ElementType, stackItem utilitydiff --git a/packages/core/src/Stack/XDSVStack.test.tsx b/packages/core/src/Stack/XDSVStack.test.tsxindex 09f3d16243..8da7043cf6 100644--- a/packages/core/src/Stack/XDSVStack.test.tsx+++ b/packages/core/src/Stack/XDSVStack.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSVStack.test.tsx* @input Uses vitest, @testing-library/react, XDSVStack componentdiff --git a/packages/core/src/Stack/XDSVStack.tsx b/packages/core/src/Stack/XDSVStack.tsxindex 10beebc34e..f83d70dc12 100644--- a/packages/core/src/Stack/XDSVStack.tsx+++ b/packages/core/src/Stack/XDSVStack.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSVStack.tsx* @input Uses XDSStack componentdiff --git a/packages/core/src/Stack/index.ts b/packages/core/src/Stack/index.tsindex 632ddd02a4..e169329e64 100644--- a/packages/core/src/Stack/index.ts+++ b/packages/core/src/Stack/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input Imports stack componentsdiff --git a/packages/core/src/Stack/stack.stylex.ts b/packages/core/src/Stack/stack.stylex.tsindex cf750e53bf..a7e3b93108 100644--- a/packages/core/src/Stack/stack.stylex.ts+++ b/packages/core/src/Stack/stack.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file stack.stylex.ts* @input Uses @stylexjs/stylex, spacing from themediff --git a/packages/core/src/Stack/stackItem.stylex.ts b/packages/core/src/Stack/stackItem.stylex.tsindex f8ac6d7be2..52d0b64d69 100644--- a/packages/core/src/Stack/stackItem.stylex.ts+++ b/packages/core/src/Stack/stackItem.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file stackItem.stylex.ts* @input Uses @stylexjs/stylexdiff --git a/packages/core/src/StatusDot/StatusDot.doc.mjs b/packages/core/src/StatusDot/StatusDot.doc.mjsindex a932d08f86..eaff3d4da7 100644--- a/packages/core/src/StatusDot/StatusDot.doc.mjs+++ b/packages/core/src/StatusDot/StatusDot.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/StatusDot/XDSStatusDot.test.tsx b/packages/core/src/StatusDot/XDSStatusDot.test.tsxindex 7b486a36ae..68fa021dae 100644--- a/packages/core/src/StatusDot/XDSStatusDot.test.tsx+++ b/packages/core/src/StatusDot/XDSStatusDot.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {render, screen} from '@testing-library/react';import {XDSStatusDot} from './XDSStatusDot';diff --git a/packages/core/src/StatusDot/XDSStatusDot.tsx b/packages/core/src/StatusDot/XDSStatusDot.tsxindex d1c81cff4f..55fa46ab0a 100644--- a/packages/core/src/StatusDot/XDSStatusDot.tsx+++ b/packages/core/src/StatusDot/XDSStatusDot.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/StatusDot/index.ts b/packages/core/src/StatusDot/index.tsindex b932eb5f29..1bf6aebbe3 100644--- a/packages/core/src/StatusDot/index.ts+++ b/packages/core/src/StatusDot/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Switch/Switch.doc.mjs b/packages/core/src/Switch/Switch.doc.mjsindex e58713b0ee..571061ebc5 100644--- a/packages/core/src/Switch/Switch.doc.mjs+++ b/packages/core/src/Switch/Switch.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Switch/XDSSwitch.test.tsx b/packages/core/src/Switch/XDSSwitch.test.tsxindex 06d5f60a0a..f6a8555ebc 100644--- a/packages/core/src/Switch/XDSSwitch.test.tsx+++ b/packages/core/src/Switch/XDSSwitch.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSwitch.test.tsx* @input Uses vitest, @testing-library/react, XDSSwitch componentdiff --git a/packages/core/src/Switch/XDSSwitch.tsx b/packages/core/src/Switch/XDSSwitch.tsxindex df59a609ea..a14190ae09 100644--- a/packages/core/src/Switch/XDSSwitch.tsx+++ b/packages/core/src/Switch/XDSSwitch.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Switch/index.ts b/packages/core/src/Switch/index.tsindex 7080b0d0b9..f0d910914d 100644--- a/packages/core/src/Switch/index.ts+++ b/packages/core/src/Switch/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Switch/switch.markers.stylex.ts b/packages/core/src/Switch/switch.markers.stylex.tsindex fa7aba666d..a142eb8300 100644--- a/packages/core/src/Switch/switch.markers.stylex.ts+++ b/packages/core/src/Switch/switch.markers.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as stylex from '@stylexjs/stylex';/**diff --git a/packages/core/src/TabList/TabList.doc.mjs b/packages/core/src/TabList/TabList.doc.mjsindex 9d48417eb6..8d322e8d5b 100644--- a/packages/core/src/TabList/TabList.doc.mjs+++ b/packages/core/src/TabList/TabList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/TabList/XDSTab.tsx b/packages/core/src/TabList/XDSTab.tsxindex c72a4ad7ff..fe3b18afa9 100644--- a/packages/core/src/TabList/XDSTab.tsx+++ b/packages/core/src/TabList/XDSTab.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TabList/XDSTabList.test.tsx b/packages/core/src/TabList/XDSTabList.test.tsxindex 910083ab4f..8958d074c1 100644--- a/packages/core/src/TabList/XDSTabList.test.tsx+++ b/packages/core/src/TabList/XDSTabList.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTabList.test.tsx* @input Uses vitest, @testing-library/react, TabList componentsdiff --git a/packages/core/src/TabList/XDSTabList.tsx b/packages/core/src/TabList/XDSTabList.tsxindex fa43f00214..f303b9725d 100644--- a/packages/core/src/TabList/XDSTabList.tsx+++ b/packages/core/src/TabList/XDSTabList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TabList/XDSTabListContext.ts b/packages/core/src/TabList/XDSTabListContext.tsindex 8ecb6e0ff1..f58a93e095 100644--- a/packages/core/src/TabList/XDSTabListContext.ts+++ b/packages/core/src/TabList/XDSTabListContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TabList/XDSTabMenu.tsx b/packages/core/src/TabList/XDSTabMenu.tsxindex d43ad15b0a..06ef2c5801 100644--- a/packages/core/src/TabList/XDSTabMenu.tsx+++ b/packages/core/src/TabList/XDSTabMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TabList/index.ts b/packages/core/src/TabList/index.tsindex 3f7cf4ceca..b342cde181 100644--- a/packages/core/src/TabList/index.ts+++ b/packages/core/src/TabList/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TabList/tab.markers.stylex.ts b/packages/core/src/TabList/tab.markers.stylex.tsindex 14cb746208..ab7f5bc950 100644--- a/packages/core/src/TabList/tab.markers.stylex.ts+++ b/packages/core/src/TabList/tab.markers.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import * as stylex from '@stylexjs/stylex';/**diff --git a/packages/core/src/Table/Table.doc.mjs b/packages/core/src/Table/Table.doc.mjsindex f6a6397970..d1e7772049 100644--- a/packages/core/src/Table/Table.doc.mjs+++ b/packages/core/src/Table/Table.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Table/XDSBaseTable.tsx b/packages/core/src/Table/XDSBaseTable.tsxindex 6b232f99ae..ef8a72ebca 100644--- a/packages/core/src/Table/XDSBaseTable.tsx+++ b/packages/core/src/Table/XDSBaseTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/*** @file XDSBaseTable.tsxdiff --git a/packages/core/src/Table/XDSTable.perf.test.tsx b/packages/core/src/Table/XDSTable.perf.test.tsxindex 09054e9d23..6fe8c214da 100644--- a/packages/core/src/Table/XDSTable.perf.test.tsx+++ b/packages/core/src/Table/XDSTable.perf.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTable.perf.test.tsx* @input XDSTable, React testing utilitiesdiff --git a/packages/core/src/Table/XDSTable.test.tsx b/packages/core/src/Table/XDSTable.test.tsxindex 5551162ddb..572241d331 100644--- a/packages/core/src/Table/XDSTable.test.tsx+++ b/packages/core/src/Table/XDSTable.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTable.test.tsx* @input Uses vitest, @testing-library/react, Table componentsdiff --git a/packages/core/src/Table/XDSTable.tsx b/packages/core/src/Table/XDSTable.tsxindex cf97511b72..4f813ce16b 100644--- a/packages/core/src/Table/XDSTable.tsx+++ b/packages/core/src/Table/XDSTable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/XDSTableBody.tsx b/packages/core/src/Table/XDSTableBody.tsxindex 0fb40c5e3f..53fb6378b7 100644--- a/packages/core/src/Table/XDSTableBody.tsx+++ b/packages/core/src/Table/XDSTableBody.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ReactNode} from 'react';import type {StyleXStyles} from '../theme/types';diff --git a/packages/core/src/Table/XDSTableCell.tsx b/packages/core/src/Table/XDSTableCell.tsxindex 9fc3b08276..833dd178d0 100644--- a/packages/core/src/Table/XDSTableCell.tsx+++ b/packages/core/src/Table/XDSTableCell.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/XDSTableContext.ts b/packages/core/src/Table/XDSTableContext.tsindex cf56ff20fa..9af87342dd 100644--- a/packages/core/src/Table/XDSTableContext.ts+++ b/packages/core/src/Table/XDSTableContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/XDSTableFooter.tsx b/packages/core/src/Table/XDSTableFooter.tsxindex 1d771d1d0d..a38d474892 100644--- a/packages/core/src/Table/XDSTableFooter.tsx+++ b/packages/core/src/Table/XDSTableFooter.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ReactNode} from 'react';import type {StyleXStyles} from '../theme/types';diff --git a/packages/core/src/Table/XDSTableHeader.tsx b/packages/core/src/Table/XDSTableHeader.tsxindex 6e2b6b1b1e..a965e57a69 100644--- a/packages/core/src/Table/XDSTableHeader.tsx+++ b/packages/core/src/Table/XDSTableHeader.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import type {ReactNode} from 'react';import type {StyleXStyles} from '../theme/types';diff --git a/packages/core/src/Table/XDSTableHeaderCell.tsx b/packages/core/src/Table/XDSTableHeaderCell.tsxindex ad9ad350c9..450a4cbd19 100644--- a/packages/core/src/Table/XDSTableHeaderCell.tsx+++ b/packages/core/src/Table/XDSTableHeaderCell.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/XDSTableRow.tsx b/packages/core/src/Table/XDSTableRow.tsxindex e3ff61c661..8d6c8baa21 100644--- a/packages/core/src/Table/XDSTableRow.tsx+++ b/packages/core/src/Table/XDSTableRow.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/columnUtils.ts b/packages/core/src/Table/columnUtils.tsindex c28a3e624a..287ee0e0a9 100644--- a/packages/core/src/Table/columnUtils.ts+++ b/packages/core/src/Table/columnUtils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file columnUtils.ts* @input XDSTableColumn types from types.tsdiff --git a/packages/core/src/Table/index.ts b/packages/core/src/Table/index.tsindex 550f3e498c..4b278190da 100644--- a/packages/core/src/Table/index.ts+++ b/packages/core/src/Table/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/columnResize/index.ts b/packages/core/src/Table/plugins/columnResize/index.tsindex 8f03392039..67c42f0647 100644--- a/packages/core/src/Table/plugins/columnResize/index.ts+++ b/packages/core/src/Table/plugins/columnResize/index.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {useXDSTableColumnResize} from './useXDSTableColumnResize';export type {UseXDSTableColumnResizeConfig} from './useXDSTableColumnResize';diff --git a/packages/core/src/Table/plugins/columnResize/useXDSTableColumnResize.test.tsx b/packages/core/src/Table/plugins/columnResize/useXDSTableColumnResize.test.tsxindex e4f01482cb..7d3697efd8 100644--- a/packages/core/src/Table/plugins/columnResize/useXDSTableColumnResize.test.tsx+++ b/packages/core/src/Table/plugins/columnResize/useXDSTableColumnResize.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTableColumnResize.test.tsx* @input useXDSTableColumnResize, XDSTable, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/columnResize/useXDSTableColumnResize.tsx b/packages/core/src/Table/plugins/columnResize/useXDSTableColumnResize.tsxindex fbc32cf40f..ef3285ebcc 100644--- a/packages/core/src/Table/plugins/columnResize/useXDSTableColumnResize.tsx+++ b/packages/core/src/Table/plugins/columnResize/useXDSTableColumnResize.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/columnSettings/index.ts b/packages/core/src/Table/plugins/columnSettings/index.tsindex e4890fbbce..0d22ecfa63 100644--- a/packages/core/src/Table/plugins/columnSettings/index.ts+++ b/packages/core/src/Table/plugins/columnSettings/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {useXDSTableColumnSettings} from './useXDSTableColumnSettings';export type {UseXDSTableColumnSettingsConfig,diff --git a/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettings.test.tsx b/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettings.test.tsxindex a7618168be..4265784fec 100644--- a/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettings.test.tsx+++ b/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettings.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTableColumnSettings.test.tsx* @input useXDSTableColumnSettings, useXDSTableColumnSettingsState, XDSTable, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettings.tsx b/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettings.tsxindex dae466a810..75310e6e5a 100644--- a/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettings.tsx+++ b/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettings.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettingsState.test.tsx b/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettingsState.test.tsxindex ec4b9bbea9..4bfe2faf7e 100644--- a/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettingsState.test.tsx+++ b/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettingsState.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTableColumnSettingsState.test.tsx* @input useXDSTableColumnSettingsState, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettingsState.tsx b/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettingsState.tsxindex 4cadba4f85..4aae841d6b 100644--- a/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettingsState.tsx+++ b/packages/core/src/Table/plugins/columnSettings/useXDSTableColumnSettingsState.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/filtering/index.ts b/packages/core/src/Table/plugins/filtering/index.tsindex 32c97d5492..f7e501e1be 100644--- a/packages/core/src/Table/plugins/filtering/index.ts+++ b/packages/core/src/Table/plugins/filtering/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {useXDSTableFiltering, toSearchFilters} from './useXDSTableFiltering';export {useXDSTableFilterState} from './useXDSTableFilterState';export type {UseXDSTableFilterStateResult} from './useXDSTableFilterState';diff --git a/packages/core/src/Table/plugins/filtering/useXDSTableFilterState.tsx b/packages/core/src/Table/plugins/filtering/useXDSTableFilterState.tsxindex dcf332aeee..50c4a290f9 100644--- a/packages/core/src/Table/plugins/filtering/useXDSTableFilterState.tsx+++ b/packages/core/src/Table/plugins/filtering/useXDSTableFilterState.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/filtering/useXDSTableFiltering.test.tsx b/packages/core/src/Table/plugins/filtering/useXDSTableFiltering.test.tsxindex 1622f65d0e..81a4545098 100644--- a/packages/core/src/Table/plugins/filtering/useXDSTableFiltering.test.tsx+++ b/packages/core/src/Table/plugins/filtering/useXDSTableFiltering.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTableFiltering.test.tsx* @input useXDSTableFiltering, XDSTable, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/filtering/useXDSTableFiltering.tsx b/packages/core/src/Table/plugins/filtering/useXDSTableFiltering.tsxindex 436e33b729..f44047a236 100644--- a/packages/core/src/Table/plugins/filtering/useXDSTableFiltering.tsx+++ b/packages/core/src/Table/plugins/filtering/useXDSTableFiltering.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/pagination/index.ts b/packages/core/src/Table/plugins/pagination/index.tsindex 15d8abf191..5459095b31 100644--- a/packages/core/src/Table/plugins/pagination/index.ts+++ b/packages/core/src/Table/plugins/pagination/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {useXDSTablePagination} from './useXDSTablePagination';export type {UseXDSTablePaginationConfig} from './useXDSTablePagination';export {paginateData} from './paginateData';diff --git a/packages/core/src/Table/plugins/pagination/paginateData.ts b/packages/core/src/Table/plugins/pagination/paginateData.tsindex b1d3ada6ac..6ab96a53d1 100644--- a/packages/core/src/Table/plugins/pagination/paginateData.ts+++ b/packages/core/src/Table/plugins/pagination/paginateData.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file paginateData.ts* @input Data array, page number, page sizediff --git a/packages/core/src/Table/plugins/pagination/useXDSTablePagination-perf.test.tsx b/packages/core/src/Table/plugins/pagination/useXDSTablePagination-perf.test.tsxindex caae5df55f..749d1db4b8 100644--- a/packages/core/src/Table/plugins/pagination/useXDSTablePagination-perf.test.tsx+++ b/packages/core/src/Table/plugins/pagination/useXDSTablePagination-perf.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTablePagination-perf.test.tsx* @input useXDSTablePagination, XDSTable, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/pagination/useXDSTablePagination.test.tsx b/packages/core/src/Table/plugins/pagination/useXDSTablePagination.test.tsxindex ab7f8bce4e..5a6a168b63 100644--- a/packages/core/src/Table/plugins/pagination/useXDSTablePagination.test.tsx+++ b/packages/core/src/Table/plugins/pagination/useXDSTablePagination.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTablePagination.test.tsx* @input useXDSTablePagination, XDSTable, XDSPagination, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/pagination/useXDSTablePagination.tsx b/packages/core/src/Table/plugins/pagination/useXDSTablePagination.tsxindex 35fda381f5..93d99d15b3 100644--- a/packages/core/src/Table/plugins/pagination/useXDSTablePagination.tsx+++ b/packages/core/src/Table/plugins/pagination/useXDSTablePagination.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/selection/index.ts b/packages/core/src/Table/plugins/selection/index.tsindex 0232fd92e3..5022100cdc 100644--- a/packages/core/src/Table/plugins/selection/index.ts+++ b/packages/core/src/Table/plugins/selection/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {useXDSTableSelection} from './useXDSTableSelection';export type {UseXDSTableSelectionConfig} from './useXDSTableSelection';export {useXDSTableSelectionState} from './useXDSTableSelectionState';diff --git a/packages/core/src/Table/plugins/selection/useXDSTableSelection-perf.test.tsx b/packages/core/src/Table/plugins/selection/useXDSTableSelection-perf.test.tsxindex da6c8b3958..d04b2cbd68 100644--- a/packages/core/src/Table/plugins/selection/useXDSTableSelection-perf.test.tsx+++ b/packages/core/src/Table/plugins/selection/useXDSTableSelection-perf.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTable.selection-perf.test.tsx* @input XDSTable, useXDSTableSelection, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/selection/useXDSTableSelection.test.tsx b/packages/core/src/Table/plugins/selection/useXDSTableSelection.test.tsxindex 0aec19b68a..56ac092d4c 100644--- a/packages/core/src/Table/plugins/selection/useXDSTableSelection.test.tsx+++ b/packages/core/src/Table/plugins/selection/useXDSTableSelection.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTableSelection.test.tsx* @input useXDSTableSelection, XDSTable, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/selection/useXDSTableSelection.tsx b/packages/core/src/Table/plugins/selection/useXDSTableSelection.tsxindex aea1398b47..aa61e84491 100644--- a/packages/core/src/Table/plugins/selection/useXDSTableSelection.tsx+++ b/packages/core/src/Table/plugins/selection/useXDSTableSelection.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/selection/useXDSTableSelectionState.test.tsx b/packages/core/src/Table/plugins/selection/useXDSTableSelectionState.test.tsxindex d32e449249..beb49c3371 100644--- a/packages/core/src/Table/plugins/selection/useXDSTableSelectionState.test.tsx+++ b/packages/core/src/Table/plugins/selection/useXDSTableSelectionState.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTableSelectionState.test.tsx* @input useXDSTableSelectionState, useXDSTableSelection, XDSTable, React testing utilitiesdiff --git a/packages/core/src/Table/plugins/selection/useXDSTableSelectionState.tsx b/packages/core/src/Table/plugins/selection/useXDSTableSelectionState.tsxindex 5db7483db4..523a944ee9 100644--- a/packages/core/src/Table/plugins/selection/useXDSTableSelectionState.tsx+++ b/packages/core/src/Table/plugins/selection/useXDSTableSelectionState.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/sortable/index.ts b/packages/core/src/Table/plugins/sortable/index.tsindex c4753212f1..a4fdb3b49d 100644--- a/packages/core/src/Table/plugins/sortable/index.ts+++ b/packages/core/src/Table/plugins/sortable/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {useXDSTableSortable} from './useXDSTableSortable';export type {UseXDSTableSortableConfig,diff --git a/packages/core/src/Table/plugins/sortable/useXDSTableSortable.test.tsx b/packages/core/src/Table/plugins/sortable/useXDSTableSortable.test.tsxindex 66cc66d6aa..c6a9ec6106 100644--- a/packages/core/src/Table/plugins/sortable/useXDSTableSortable.test.tsx+++ b/packages/core/src/Table/plugins/sortable/useXDSTableSortable.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTableSortable.test.tsx* @input Uses vitest, @testing-library/react, Table componentsdiff --git a/packages/core/src/Table/plugins/sortable/useXDSTableSortable.tsx b/packages/core/src/Table/plugins/sortable/useXDSTableSortable.tsxindex 60e75ae6a3..54b510453a 100644--- a/packages/core/src/Table/plugins/sortable/useXDSTableSortable.tsx+++ b/packages/core/src/Table/plugins/sortable/useXDSTableSortable.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/plugins/sortable/useXDSTableSortableState.test.tsx b/packages/core/src/Table/plugins/sortable/useXDSTableSortableState.test.tsxindex 4d6f23b152..01ad09f99f 100644--- a/packages/core/src/Table/plugins/sortable/useXDSTableSortableState.test.tsx+++ b/packages/core/src/Table/plugins/sortable/useXDSTableSortableState.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSTableSortableState.test.tsx* @input Uses vitest, @testing-library/react, Table componentsdiff --git a/packages/core/src/Table/plugins/sortable/useXDSTableSortableState.tsx b/packages/core/src/Table/plugins/sortable/useXDSTableSortableState.tsxindex d5e7ad82a0..cc8c94abcb 100644--- a/packages/core/src/Table/plugins/sortable/useXDSTableSortableState.tsx+++ b/packages/core/src/Table/plugins/sortable/useXDSTableSortableState.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/table.stylex.ts b/packages/core/src/Table/table.stylex.tsindex 11749b16f9..71c7aeccd3 100644--- a/packages/core/src/Table/table.stylex.ts+++ b/packages/core/src/Table/table.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file table.stylex.ts* @input StyleX, theme tokensdiff --git a/packages/core/src/Table/types.ts b/packages/core/src/Table/types.tsindex 19fb2d315b..d164877e7d 100644--- a/packages/core/src/Table/types.ts+++ b/packages/core/src/Table/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @input None (pure type definitions)diff --git a/packages/core/src/Table/useTableCellStyles.ts b/packages/core/src/Table/useTableCellStyles.tsindex 8afb953668..9a3f568bfa 100644--- a/packages/core/src/Table/useTableCellStyles.ts+++ b/packages/core/src/Table/useTableCellStyles.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/useXDSBaseTablePlugins.ts b/packages/core/src/Table/useXDSBaseTablePlugins.tsindex 668ce179a2..12a1519a3f 100644--- a/packages/core/src/Table/useXDSBaseTablePlugins.ts+++ b/packages/core/src/Table/useXDSBaseTablePlugins.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Table/utils.ts b/packages/core/src/Table/utils.tsindex 859c4d9830..493a104e67 100644--- a/packages/core/src/Table/utils.ts+++ b/packages/core/src/Table/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file utils.ts* @output Server-safe re-exports of pure Table utility functionsdiff --git a/packages/core/src/Text/Text.doc.mjs b/packages/core/src/Text/Text.doc.mjsindex 31f0d19a74..67f1fe01ff 100644--- a/packages/core/src/Text/Text.doc.mjs+++ b/packages/core/src/Text/Text.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Text/XDSHeading.test.tsx b/packages/core/src/Text/XDSHeading.test.tsxindex 2230d8ce7b..f02c506c7c 100644--- a/packages/core/src/Text/XDSHeading.test.tsx+++ b/packages/core/src/Text/XDSHeading.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSHeading.test.tsx* Tests for XDSHeading componentdiff --git a/packages/core/src/Text/XDSHeading.tsx b/packages/core/src/Text/XDSHeading.tsxindex 63158b5814..6776804805 100644--- a/packages/core/src/Text/XDSHeading.tsx+++ b/packages/core/src/Text/XDSHeading.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Text/XDSText.test.tsx b/packages/core/src/Text/XDSText.test.tsxindex 89ca14787e..a7c8c84bdb 100644--- a/packages/core/src/Text/XDSText.test.tsx+++ b/packages/core/src/Text/XDSText.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSText.test.tsx* Tests for XDSText componentdiff --git a/packages/core/src/Text/XDSText.tsx b/packages/core/src/Text/XDSText.tsxindex 8fa10b8ac4..7f7d89c1cf 100644--- a/packages/core/src/Text/XDSText.tsx+++ b/packages/core/src/Text/XDSText.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Text/index.ts b/packages/core/src/Text/index.tsindex 5958b1bb49..859e094c55 100644--- a/packages/core/src/Text/index.ts+++ b/packages/core/src/Text/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Text/text.stylex.ts b/packages/core/src/Text/text.stylex.tsindex 8b3d0e72a1..02cdbf286d 100644--- a/packages/core/src/Text/text.stylex.ts+++ b/packages/core/src/Text/text.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file text.stylex.ts* @input Uses StyleX, theme tokensdiff --git a/packages/core/src/Text/useTruncation.ts b/packages/core/src/Text/useTruncation.tsindex dec7eec1d3..c0e0a9aa95 100644--- a/packages/core/src/Text/useTruncation.ts+++ b/packages/core/src/Text/useTruncation.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TextArea/TextArea.doc.mjs b/packages/core/src/TextArea/TextArea.doc.mjsindex d78201ee80..04d75655ea 100644--- a/packages/core/src/TextArea/TextArea.doc.mjs+++ b/packages/core/src/TextArea/TextArea.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/TextArea/XDSTextArea.test.tsx b/packages/core/src/TextArea/XDSTextArea.test.tsxindex 66b395d15c..e136b0da21 100644--- a/packages/core/src/TextArea/XDSTextArea.test.tsx+++ b/packages/core/src/TextArea/XDSTextArea.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTextArea.test.tsx* @input Uses vitest, @testing-library/react, XDSTextArea componentdiff --git a/packages/core/src/TextArea/XDSTextArea.tsx b/packages/core/src/TextArea/XDSTextArea.tsxindex 3706cf497d..1a7e7aacdc 100644--- a/packages/core/src/TextArea/XDSTextArea.tsx+++ b/packages/core/src/TextArea/XDSTextArea.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TextArea/index.ts b/packages/core/src/TextArea/index.tsindex 5b0da4ec5a..8f3eafdb23 100644--- a/packages/core/src/TextArea/index.ts+++ b/packages/core/src/TextArea/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TextInput/TextInput.doc.mjs b/packages/core/src/TextInput/TextInput.doc.mjsindex 07d1c016b1..207083c6bd 100644--- a/packages/core/src/TextInput/TextInput.doc.mjs+++ b/packages/core/src/TextInput/TextInput.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/TextInput/XDSTextInput.test.tsx b/packages/core/src/TextInput/XDSTextInput.test.tsxindex 87fbb3bd6b..41eac19a98 100644--- a/packages/core/src/TextInput/XDSTextInput.test.tsx+++ b/packages/core/src/TextInput/XDSTextInput.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTextInput.test.tsx* @input Uses vitest, @testing-library/react, XDSTextInput componentdiff --git a/packages/core/src/TextInput/XDSTextInput.tsx b/packages/core/src/TextInput/XDSTextInput.tsxindex 838908a6f4..e1b19465a3 100644--- a/packages/core/src/TextInput/XDSTextInput.tsx+++ b/packages/core/src/TextInput/XDSTextInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TextInput/index.ts b/packages/core/src/TextInput/index.tsindex 4d43d12af5..b867afa628 100644--- a/packages/core/src/TextInput/index.ts+++ b/packages/core/src/TextInput/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Thumbnail/Thumbnail.doc.mjs b/packages/core/src/Thumbnail/Thumbnail.doc.mjsindex 39c44af07b..cf6253c335 100644--- a/packages/core/src/Thumbnail/Thumbnail.doc.mjs+++ b/packages/core/src/Thumbnail/Thumbnail.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Thumbnail/XDSThumbnail.test.tsx b/packages/core/src/Thumbnail/XDSThumbnail.test.tsxindex 9112779f1e..d694ea1ff2 100644--- a/packages/core/src/Thumbnail/XDSThumbnail.test.tsx+++ b/packages/core/src/Thumbnail/XDSThumbnail.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {render, screen} from '@testing-library/react';import userEvent from '@testing-library/user-event';diff --git a/packages/core/src/Thumbnail/XDSThumbnail.tsx b/packages/core/src/Thumbnail/XDSThumbnail.tsxindex 974eb02214..11400e8733 100644--- a/packages/core/src/Thumbnail/XDSThumbnail.tsx+++ b/packages/core/src/Thumbnail/XDSThumbnail.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Thumbnail/index.ts b/packages/core/src/Thumbnail/index.tsindex 42224ad4b4..12c172fdc7 100644--- a/packages/core/src/Thumbnail/index.ts+++ b/packages/core/src/Thumbnail/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TimeInput/TimeInput.doc.mjs b/packages/core/src/TimeInput/TimeInput.doc.mjsindex 53087e6841..d1cd3230b0 100644--- a/packages/core/src/TimeInput/TimeInput.doc.mjs+++ b/packages/core/src/TimeInput/TimeInput.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/TimeInput/XDSTimeInput.test.tsx b/packages/core/src/TimeInput/XDSTimeInput.test.tsxindex 038e3e3cd6..d4a12b8637 100644--- a/packages/core/src/TimeInput/XDSTimeInput.test.tsx+++ b/packages/core/src/TimeInput/XDSTimeInput.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTimeInput.test.tsx* @input Uses vitest, @testing-library/react, XDSTimeInput componentdiff --git a/packages/core/src/TimeInput/XDSTimeInput.tsx b/packages/core/src/TimeInput/XDSTimeInput.tsxindex d9add4a04a..50db6d4e96 100644--- a/packages/core/src/TimeInput/XDSTimeInput.tsx+++ b/packages/core/src/TimeInput/XDSTimeInput.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TimeInput/index.ts b/packages/core/src/TimeInput/index.tsindex f6f804a773..321bc6d0cf 100644--- a/packages/core/src/TimeInput/index.ts+++ b/packages/core/src/TimeInput/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Timestamp/Timestamp.doc.mjs b/packages/core/src/Timestamp/Timestamp.doc.mjsindex e394b31536..7ee69b412e 100644--- a/packages/core/src/Timestamp/Timestamp.doc.mjs+++ b/packages/core/src/Timestamp/Timestamp.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Timestamp/XDSTimestamp.test.tsx b/packages/core/src/Timestamp/XDSTimestamp.test.tsxindex f16bf43cb0..6baea01ed0 100644--- a/packages/core/src/Timestamp/XDSTimestamp.test.tsx+++ b/packages/core/src/Timestamp/XDSTimestamp.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeEach, afterEach} from 'vitest';import {render, screen, act} from '@testing-library/react';import {XDSTimestamp} from './XDSTimestamp';diff --git a/packages/core/src/Timestamp/XDSTimestamp.tsx b/packages/core/src/Timestamp/XDSTimestamp.tsxindex 950bccc493..a9be33b8d7 100644--- a/packages/core/src/Timestamp/XDSTimestamp.tsx+++ b/packages/core/src/Timestamp/XDSTimestamp.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Timestamp/index.ts b/packages/core/src/Timestamp/index.tsindex c3b8fdd956..3fa018e3f7 100644--- a/packages/core/src/Timestamp/index.ts+++ b/packages/core/src/Timestamp/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Toast/Toast.doc.mjs b/packages/core/src/Toast/Toast.doc.mjsindex 65bc4d0189..87ca4a9a1c 100644--- a/packages/core/src/Toast/Toast.doc.mjs+++ b/packages/core/src/Toast/Toast.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Toast/XDSToast.tsx b/packages/core/src/Toast/XDSToast.tsxindex 8a16cc36b2..e8c9067cbd 100644--- a/packages/core/src/Toast/XDSToast.tsx+++ b/packages/core/src/Toast/XDSToast.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useCallback, useEffect, useRef} from 'react';diff --git a/packages/core/src/Toast/XDSToastContext.ts b/packages/core/src/Toast/XDSToastContext.tsindex dfebfb7f0f..7ad62c1edd 100644--- a/packages/core/src/Toast/XDSToastContext.ts+++ b/packages/core/src/Toast/XDSToastContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {createContext} from 'react';diff --git a/packages/core/src/Toast/XDSToastViewport.tsx b/packages/core/src/Toast/XDSToastViewport.tsxindex 53a4faa2ca..3616cc08bc 100644--- a/packages/core/src/Toast/XDSToastViewport.tsx+++ b/packages/core/src/Toast/XDSToastViewport.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useCallback, useEffect, useMemo, useRef, useState} from 'react';diff --git a/packages/core/src/Toast/index.ts b/packages/core/src/Toast/index.tsindex 2a149a8864..404222133f 100644--- a/packages/core/src/Toast/index.ts+++ b/packages/core/src/Toast/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';export {useXDSToast} from './useXDSToast';diff --git a/packages/core/src/Toast/types.ts b/packages/core/src/Toast/types.tsindex 25f5f151c7..30ae5341c2 100644--- a/packages/core/src/Toast/types.ts+++ b/packages/core/src/Toast/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import type {ReactNode} from 'react';/** Toast status type. Controls color scheme. */diff --git a/packages/core/src/Toast/useXDSToast.doc.mjs b/packages/core/src/Toast/useXDSToast.doc.mjsindex f370b566a6..ed0fe3ac8d 100644--- a/packages/core/src/Toast/useXDSToast.doc.mjs+++ b/packages/core/src/Toast/useXDSToast.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useXDSToast',diff --git a/packages/core/src/Toast/useXDSToast.tsx b/packages/core/src/Toast/useXDSToast.tsxindex 1f0db20393..a27f7b3402 100644--- a/packages/core/src/Toast/useXDSToast.tsx+++ b/packages/core/src/Toast/useXDSToast.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {useCallback, useContext, useEffect, useRef} from 'react';diff --git a/packages/core/src/ToggleButton/ToggleButton.doc.mjs b/packages/core/src/ToggleButton/ToggleButton.doc.mjsindex ae03c64514..87b677478f 100644--- a/packages/core/src/ToggleButton/ToggleButton.doc.mjs+++ b/packages/core/src/ToggleButton/ToggleButton.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/ToggleButton/XDSToggleButton.test.tsx b/packages/core/src/ToggleButton/XDSToggleButton.test.tsxindex 8dc4243adf..4bd945973d 100644--- a/packages/core/src/ToggleButton/XDSToggleButton.test.tsx+++ b/packages/core/src/ToggleButton/XDSToggleButton.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSToggleButton.test.tsx* @input Uses vitest, @testing-library/react, XDSToggleButton, XDSToggleButtonGroupdiff --git a/packages/core/src/ToggleButton/XDSToggleButton.tsx b/packages/core/src/ToggleButton/XDSToggleButton.tsxindex 18def7ddcb..d1ea7bb8a7 100644--- a/packages/core/src/ToggleButton/XDSToggleButton.tsx+++ b/packages/core/src/ToggleButton/XDSToggleButton.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/ToggleButton/XDSToggleButtonGroup.tsx b/packages/core/src/ToggleButton/XDSToggleButtonGroup.tsxindex c95626cdcf..f8dc6dd581 100644--- a/packages/core/src/ToggleButton/XDSToggleButtonGroup.tsx+++ b/packages/core/src/ToggleButton/XDSToggleButtonGroup.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/ToggleButton/index.ts b/packages/core/src/ToggleButton/index.tsindex a96b02d9bd..1f271f3159 100644--- a/packages/core/src/ToggleButton/index.ts+++ b/packages/core/src/ToggleButton/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Token/Token.doc.mjs b/packages/core/src/Token/Token.doc.mjsindex c85f47db6a..1080407726 100644--- a/packages/core/src/Token/Token.doc.mjs+++ b/packages/core/src/Token/Token.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Token/XDSToken.test.tsx b/packages/core/src/Token/XDSToken.test.tsxindex 7a9b5c0832..2650e19462 100644--- a/packages/core/src/Token/XDSToken.test.tsx+++ b/packages/core/src/Token/XDSToken.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSToken.test.tsx* @input Uses vitest, @testing-library/react, XDSToken componentdiff --git a/packages/core/src/Token/XDSToken.tsx b/packages/core/src/Token/XDSToken.tsxindex dd10c41ea2..9b78a319dc 100644--- a/packages/core/src/Token/XDSToken.tsx+++ b/packages/core/src/Token/XDSToken.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Token/index.ts b/packages/core/src/Token/index.tsindex 859653f75b..8fc65d6a2b 100644--- a/packages/core/src/Token/index.ts+++ b/packages/core/src/Token/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Tokenizer/Tokenizer.doc.mjs b/packages/core/src/Tokenizer/Tokenizer.doc.mjsindex 5ec4d75cb6..7f4d6852bd 100644--- a/packages/core/src/Tokenizer/Tokenizer.doc.mjs+++ b/packages/core/src/Tokenizer/Tokenizer.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Tokenizer/XDSTokenizer.test.tsx b/packages/core/src/Tokenizer/XDSTokenizer.test.tsxindex 57b252c3c4..d1755ac8df 100644--- a/packages/core/src/Tokenizer/XDSTokenizer.test.tsx+++ b/packages/core/src/Tokenizer/XDSTokenizer.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTokenizer.test.tsx* @input Uses vitest, @testing-library/react, XDSTokenizerdiff --git a/packages/core/src/Tokenizer/XDSTokenizer.tsx b/packages/core/src/Tokenizer/XDSTokenizer.tsxindex 4ea3cd7099..1e4b72a1ff 100644--- a/packages/core/src/Tokenizer/XDSTokenizer.tsx+++ b/packages/core/src/Tokenizer/XDSTokenizer.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Tokenizer/index.ts b/packages/core/src/Tokenizer/index.tsindex d7ae75fc5b..a0f28d02f7 100644--- a/packages/core/src/Tokenizer/index.ts+++ b/packages/core/src/Tokenizer/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Toolbar/Toolbar.doc.mjs b/packages/core/src/Toolbar/Toolbar.doc.mjsindex 366f1b53c7..91bd0e3164 100644--- a/packages/core/src/Toolbar/Toolbar.doc.mjs+++ b/packages/core/src/Toolbar/Toolbar.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Toolbar/XDSToolbar.test.tsx b/packages/core/src/Toolbar/XDSToolbar.test.tsxindex 2ee0d1c0ee..d2046dc7ba 100644--- a/packages/core/src/Toolbar/XDSToolbar.test.tsx+++ b/packages/core/src/Toolbar/XDSToolbar.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSToolbar.test.tsx* @input Uses vitest, @testing-library/react, XDSToolbardiff --git a/packages/core/src/Toolbar/XDSToolbar.tsx b/packages/core/src/Toolbar/XDSToolbar.tsxindex 151e64769f..3c760062db 100644--- a/packages/core/src/Toolbar/XDSToolbar.tsx+++ b/packages/core/src/Toolbar/XDSToolbar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Toolbar/index.ts b/packages/core/src/Toolbar/index.tsindex a1d7b7632d..1ca95c46b1 100644--- a/packages/core/src/Toolbar/index.ts+++ b/packages/core/src/Toolbar/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Tooltip/Tooltip.doc.mjs b/packages/core/src/Tooltip/Tooltip.doc.mjsindex c71edb673d..83c73290b1 100644--- a/packages/core/src/Tooltip/Tooltip.doc.mjs+++ b/packages/core/src/Tooltip/Tooltip.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Tooltip/XDSTooltip.test.tsx b/packages/core/src/Tooltip/XDSTooltip.test.tsxindex 27e2f25a50..f5cd71dc6f 100644--- a/packages/core/src/Tooltip/XDSTooltip.test.tsx+++ b/packages/core/src/Tooltip/XDSTooltip.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTooltip.test.tsx* @input Uses vitest, @testing-library/react, XDSTooltip componentdiff --git a/packages/core/src/Tooltip/XDSTooltip.tsx b/packages/core/src/Tooltip/XDSTooltip.tsxindex 69df8ef9bd..67c26150a9 100644--- a/packages/core/src/Tooltip/XDSTooltip.tsx+++ b/packages/core/src/Tooltip/XDSTooltip.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Tooltip/index.ts b/packages/core/src/Tooltip/index.tsindex e82187e4a3..9d87b9fcd4 100644--- a/packages/core/src/Tooltip/index.ts+++ b/packages/core/src/Tooltip/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Tooltip/useXDSTooltip.doc.mjs b/packages/core/src/Tooltip/useXDSTooltip.doc.mjsindex d968595f2b..a1d996286e 100644--- a/packages/core/src/Tooltip/useXDSTooltip.doc.mjs+++ b/packages/core/src/Tooltip/useXDSTooltip.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useXDSTooltip',diff --git a/packages/core/src/Tooltip/useXDSTooltip.tsx b/packages/core/src/Tooltip/useXDSTooltip.tsxindex 7f1ed1efcf..e168e4b3fd 100644--- a/packages/core/src/Tooltip/useXDSTooltip.tsx+++ b/packages/core/src/Tooltip/useXDSTooltip.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/TopNav.doc.mjs b/packages/core/src/TopNav/TopNav.doc.mjsindex 7b20d10b3b..ddde2c8a1f 100644--- a/packages/core/src/TopNav/TopNav.doc.mjs+++ b/packages/core/src/TopNav/TopNav.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/TopNav/TopNavContext.ts b/packages/core/src/TopNav/TopNavContext.tsindex eb837b9f85..ab074fb471 100644--- a/packages/core/src/TopNav/TopNavContext.ts+++ b/packages/core/src/TopNav/TopNavContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';import {createContext, useContext} from 'react';diff --git a/packages/core/src/TopNav/XDSTopNav.test.tsx b/packages/core/src/TopNav/XDSTopNav.test.tsxindex fb03592974..9000354a16 100644--- a/packages/core/src/TopNav/XDSTopNav.test.tsx+++ b/packages/core/src/TopNav/XDSTopNav.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTopNav.test.tsx* @input Uses vitest, @testing-library/react, TopNav componentsdiff --git a/packages/core/src/TopNav/XDSTopNav.tsx b/packages/core/src/TopNav/XDSTopNav.tsxindex 8f3d2413bb..53eda64f8e 100644--- a/packages/core/src/TopNav/XDSTopNav.tsx+++ b/packages/core/src/TopNav/XDSTopNav.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/XDSTopNavHeading.tsx b/packages/core/src/TopNav/XDSTopNavHeading.tsxindex 5f0cd9f65f..8bf43f1ace 100644--- a/packages/core/src/TopNav/XDSTopNavHeading.tsx+++ b/packages/core/src/TopNav/XDSTopNavHeading.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/XDSTopNavItem.tsx b/packages/core/src/TopNav/XDSTopNavItem.tsxindex b6fb1f521a..c57c13f37c 100644--- a/packages/core/src/TopNav/XDSTopNavItem.tsx+++ b/packages/core/src/TopNav/XDSTopNavItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/XDSTopNavMegaMenu.test.tsx b/packages/core/src/TopNav/XDSTopNavMegaMenu.test.tsxindex 4326b0ad83..6a133fd107 100644--- a/packages/core/src/TopNav/XDSTopNavMegaMenu.test.tsx+++ b/packages/core/src/TopNav/XDSTopNavMegaMenu.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTopNavMegaMenu.test.tsx* @input Uses vitest, @testing-library/react, XDSTopNavMegaMenu and sub-componentsdiff --git a/packages/core/src/TopNav/XDSTopNavMegaMenu.tsx b/packages/core/src/TopNav/XDSTopNavMegaMenu.tsxindex 4e6e9ab663..9bf3b40216 100644--- a/packages/core/src/TopNav/XDSTopNavMegaMenu.tsx+++ b/packages/core/src/TopNav/XDSTopNavMegaMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/XDSTopNavMegaMenuFeaturedCard.tsx b/packages/core/src/TopNav/XDSTopNavMegaMenuFeaturedCard.tsxindex d00b9b362c..af9e5927cf 100644--- a/packages/core/src/TopNav/XDSTopNavMegaMenuFeaturedCard.tsx+++ b/packages/core/src/TopNav/XDSTopNavMegaMenuFeaturedCard.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/XDSTopNavMegaMenuItem.tsx b/packages/core/src/TopNav/XDSTopNavMegaMenuItem.tsxindex 7290c0f130..2e16d60462 100644--- a/packages/core/src/TopNav/XDSTopNavMegaMenuItem.tsx+++ b/packages/core/src/TopNav/XDSTopNavMegaMenuItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/XDSTopNavMenu.test.tsx b/packages/core/src/TopNav/XDSTopNavMenu.test.tsxindex 502ec7352a..23051c902d 100644--- a/packages/core/src/TopNav/XDSTopNavMenu.test.tsx+++ b/packages/core/src/TopNav/XDSTopNavMenu.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTopNavMenu.test.tsx* @input Uses vitest, @testing-library/react, XDSTopNavMenudiff --git a/packages/core/src/TopNav/XDSTopNavMenu.tsx b/packages/core/src/TopNav/XDSTopNavMenu.tsxindex 0f20c1294c..395a8c292c 100644--- a/packages/core/src/TopNav/XDSTopNavMenu.tsx+++ b/packages/core/src/TopNav/XDSTopNavMenu.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/XDSTopNavMobileContentContext.ts b/packages/core/src/TopNav/XDSTopNavMobileContentContext.tsindex 90ef52aa5b..d57a166622 100644--- a/packages/core/src/TopNav/XDSTopNavMobileContentContext.ts+++ b/packages/core/src/TopNav/XDSTopNavMobileContentContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/XDSTopNavRenderContext.ts b/packages/core/src/TopNav/XDSTopNavRenderContext.tsindex 218f77a1da..44f50c81f8 100644--- a/packages/core/src/TopNav/XDSTopNavRenderContext.ts+++ b/packages/core/src/TopNav/XDSTopNavRenderContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TopNav/index.ts b/packages/core/src/TopNav/index.tsindex bb775de756..4466a07527 100644--- a/packages/core/src/TopNav/index.ts+++ b/packages/core/src/TopNav/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TreeList/TreeList.doc.mjs b/packages/core/src/TreeList/TreeList.doc.mjsindex 0c904ce783..328ce4cb55 100644--- a/packages/core/src/TreeList/TreeList.doc.mjs+++ b/packages/core/src/TreeList/TreeList.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/TreeList/XDSTreeList.test.tsx b/packages/core/src/TreeList/XDSTreeList.test.tsxindex a782a802a5..b5b43a3ea0 100644--- a/packages/core/src/TreeList/XDSTreeList.test.tsx+++ b/packages/core/src/TreeList/XDSTreeList.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTreeList.test.tsx* @input Uses vitest, @testing-library/react, XDSTreeListdiff --git a/packages/core/src/TreeList/XDSTreeList.tsx b/packages/core/src/TreeList/XDSTreeList.tsxindex cb400779e7..baf956089d 100644--- a/packages/core/src/TreeList/XDSTreeList.tsx+++ b/packages/core/src/TreeList/XDSTreeList.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TreeList/XDSTreeListBranches.tsx b/packages/core/src/TreeList/XDSTreeListBranches.tsxindex 80261a7ff0..256a227e99 100644--- a/packages/core/src/TreeList/XDSTreeListBranches.tsx+++ b/packages/core/src/TreeList/XDSTreeListBranches.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TreeList/XDSTreeListItem.tsx b/packages/core/src/TreeList/XDSTreeListItem.tsxindex ead743a415..c0daa777c0 100644--- a/packages/core/src/TreeList/XDSTreeListItem.tsx+++ b/packages/core/src/TreeList/XDSTreeListItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/TreeList/XDSTreeListTypes.ts b/packages/core/src/TreeList/XDSTreeListTypes.tsindex d041e41bdd..c70e00c31f 100644--- a/packages/core/src/TreeList/XDSTreeListTypes.ts+++ b/packages/core/src/TreeList/XDSTreeListTypes.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTreeListTypes.ts* @input Uses React typesdiff --git a/packages/core/src/TreeList/index.ts b/packages/core/src/TreeList/index.tsindex 2aa3924404..be312c5c2c 100644--- a/packages/core/src/TreeList/index.ts+++ b/packages/core/src/TreeList/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Typeahead/Typeahead.doc.mjs b/packages/core/src/Typeahead/Typeahead.doc.mjsindex 59788cdd72..bb0cd449b3 100644--- a/packages/core/src/Typeahead/Typeahead.doc.mjs+++ b/packages/core/src/Typeahead/Typeahead.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/Typeahead/XDSBaseTypeahead.tsx b/packages/core/src/Typeahead/XDSBaseTypeahead.tsxindex d350ac45ec..4d5d95683b 100644--- a/packages/core/src/Typeahead/XDSBaseTypeahead.tsx+++ b/packages/core/src/Typeahead/XDSBaseTypeahead.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Typeahead/XDSTypeahead.test.tsx b/packages/core/src/Typeahead/XDSTypeahead.test.tsxindex bc6607a231..9434b01349 100644--- a/packages/core/src/Typeahead/XDSTypeahead.test.tsx+++ b/packages/core/src/Typeahead/XDSTypeahead.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTypeahead.test.tsx* @input Uses vitest, @testing-library/react, XDSTypeahead, XDSBaseTypeaheaddiff --git a/packages/core/src/Typeahead/XDSTypeahead.tsx b/packages/core/src/Typeahead/XDSTypeahead.tsxindex 817ce778fa..b7f42971ad 100644--- a/packages/core/src/Typeahead/XDSTypeahead.tsx+++ b/packages/core/src/Typeahead/XDSTypeahead.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Typeahead/XDSTypeaheadItem.tsx b/packages/core/src/Typeahead/XDSTypeaheadItem.tsxindex f71ac7dece..7e97ca2ff4 100644--- a/packages/core/src/Typeahead/XDSTypeaheadItem.tsx+++ b/packages/core/src/Typeahead/XDSTypeaheadItem.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSTypeaheadItem.tsx* @input Uses React, StyleX, XDSSearchableItemdiff --git a/packages/core/src/Typeahead/createStaticSource.ts b/packages/core/src/Typeahead/createStaticSource.tsindex 350a5d45be..b0d8075301 100644--- a/packages/core/src/Typeahead/createStaticSource.ts+++ b/packages/core/src/Typeahead/createStaticSource.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file createStaticSource.ts* @input Array of searchable items, optional configdiff --git a/packages/core/src/Typeahead/index.ts b/packages/core/src/Typeahead/index.tsindex 9949832748..5c4213e7bf 100644--- a/packages/core/src/Typeahead/index.ts+++ b/packages/core/src/Typeahead/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/Typeahead/types.ts b/packages/core/src/Typeahead/types.tsindex 09e18c181f..5a5832ac55 100644--- a/packages/core/src/Typeahead/types.ts+++ b/packages/core/src/Typeahead/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @input Nonediff --git a/packages/core/src/Typeahead/utils.ts b/packages/core/src/Typeahead/utils.tsindex 6ae73a2ff9..0dbc993556 100644--- a/packages/core/src/Typeahead/utils.ts+++ b/packages/core/src/Typeahead/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file utils.ts* @output Server-safe re-exports of pure Typeahead utility functionsdiff --git a/packages/core/src/XDSBaseProps.ts b/packages/core/src/XDSBaseProps.tsindex 46f6594391..ee72554f49 100644--- a/packages/core/src/XDSBaseProps.ts+++ b/packages/core/src/XDSBaseProps.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSBaseProps.ts* @input None (pure type definitions)diff --git a/packages/core/src/docs-types.ts b/packages/core/src/docs-types.tsindex c9499e1535..46fa010c76 100644--- a/packages/core/src/docs-types.ts+++ b/packages/core/src/docs-types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Type definitions for component documentation.*diff --git a/packages/core/src/hooks/index.ts b/packages/core/src/hooks/index.tsindex f7aea98700..a8d4546346 100644--- a/packages/core/src/hooks/index.ts+++ b/packages/core/src/hooks/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useClickableContainer.doc.mjs b/packages/core/src/hooks/useClickableContainer.doc.mjsindex e1392c111f..22cc7dbc5c 100644--- a/packages/core/src/hooks/useClickableContainer.doc.mjs+++ b/packages/core/src/hooks/useClickableContainer.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useClickableContainer',diff --git a/packages/core/src/hooks/useClickableContainer.ts b/packages/core/src/hooks/useClickableContainer.tsindex 5395e2f91f..401c6fd368 100644--- a/packages/core/src/hooks/useClickableContainer.ts+++ b/packages/core/src/hooks/useClickableContainer.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useEntryAnimation.doc.mjs b/packages/core/src/hooks/useEntryAnimation.doc.mjsindex d944a76a14..5d380fc219 100644--- a/packages/core/src/hooks/useEntryAnimation.doc.mjs+++ b/packages/core/src/hooks/useEntryAnimation.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useEntryAnimation',diff --git a/packages/core/src/hooks/useEntryAnimation.ts b/packages/core/src/hooks/useEntryAnimation.tsindex 217c0c123e..9c03cd5f31 100644--- a/packages/core/src/hooks/useEntryAnimation.ts+++ b/packages/core/src/hooks/useEntryAnimation.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/*** @file useEntryAnimation.tsdiff --git a/packages/core/src/hooks/useFocusTrap.doc.mjs b/packages/core/src/hooks/useFocusTrap.doc.mjsindex a0c81afd45..d863b6b7cf 100644--- a/packages/core/src/hooks/useFocusTrap.doc.mjs+++ b/packages/core/src/hooks/useFocusTrap.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useFocusTrap',diff --git a/packages/core/src/hooks/useFocusTrap.ts b/packages/core/src/hooks/useFocusTrap.tsindex 7fa9e710dd..cd300af1de 100644--- a/packages/core/src/hooks/useFocusTrap.ts+++ b/packages/core/src/hooks/useFocusTrap.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useGridFocus.doc.mjs b/packages/core/src/hooks/useGridFocus.doc.mjsindex b26684c156..e5939a3b52 100644--- a/packages/core/src/hooks/useGridFocus.doc.mjs+++ b/packages/core/src/hooks/useGridFocus.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useGridFocus',diff --git a/packages/core/src/hooks/useGridFocus.ts b/packages/core/src/hooks/useGridFocus.tsindex 7109bf2191..5307cc2402 100644--- a/packages/core/src/hooks/useGridFocus.ts+++ b/packages/core/src/hooks/useGridFocus.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useImageMode.doc.mjs b/packages/core/src/hooks/useImageMode.doc.mjsindex 7aabccccee..45fde5030d 100644--- a/packages/core/src/hooks/useImageMode.doc.mjs+++ b/packages/core/src/hooks/useImageMode.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useImageMode',diff --git a/packages/core/src/hooks/useImageMode.ts b/packages/core/src/hooks/useImageMode.tsindex a1eb1eec71..b9de10bb80 100644--- a/packages/core/src/hooks/useImageMode.ts+++ b/packages/core/src/hooks/useImageMode.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useInputContainer.doc.mjs b/packages/core/src/hooks/useInputContainer.doc.mjsindex 55ec34bab8..d58be2603d 100644--- a/packages/core/src/hooks/useInputContainer.doc.mjs+++ b/packages/core/src/hooks/useInputContainer.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useInputContainer',diff --git a/packages/core/src/hooks/useInputContainer.ts b/packages/core/src/hooks/useInputContainer.tsindex 68d5c25e56..68cdb543c1 100644--- a/packages/core/src/hooks/useInputContainer.ts+++ b/packages/core/src/hooks/useInputContainer.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useIsomorphicLayoutEffect.ts b/packages/core/src/hooks/useIsomorphicLayoutEffect.tsindex b6b928f715..0684f89b53 100644--- a/packages/core/src/hooks/useIsomorphicLayoutEffect.ts+++ b/packages/core/src/hooks/useIsomorphicLayoutEffect.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useListFocus.doc.mjs b/packages/core/src/hooks/useListFocus.doc.mjsindex 16a2f79067..0dc8c38901 100644--- a/packages/core/src/hooks/useListFocus.doc.mjs+++ b/packages/core/src/hooks/useListFocus.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useListFocus',diff --git a/packages/core/src/hooks/useListFocus.ts b/packages/core/src/hooks/useListFocus.tsindex e3e85fd47d..a327b057f5 100644--- a/packages/core/src/hooks/useListFocus.ts+++ b/packages/core/src/hooks/useListFocus.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useMediaQuery.doc.mjs b/packages/core/src/hooks/useMediaQuery.doc.mjsindex c523cf9c89..e6802a4e19 100644--- a/packages/core/src/hooks/useMediaQuery.doc.mjs+++ b/packages/core/src/hooks/useMediaQuery.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useMediaQuery',diff --git a/packages/core/src/hooks/useMediaQuery.test.ts b/packages/core/src/hooks/useMediaQuery.test.tsindex 5e89c662a0..a5d909c616 100644--- a/packages/core/src/hooks/useMediaQuery.test.ts+++ b/packages/core/src/hooks/useMediaQuery.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useMediaQuery.test.ts* @input Uses vitest, @testing-library/react, useMediaQuery hookdiff --git a/packages/core/src/hooks/useMediaQuery.ts b/packages/core/src/hooks/useMediaQuery.tsindex a9bf820b81..298756a05d 100644--- a/packages/core/src/hooks/useMediaQuery.ts+++ b/packages/core/src/hooks/useMediaQuery.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useOverflow.doc.mjs b/packages/core/src/hooks/useOverflow.doc.mjsindex a80d0e2ee3..968c25a06c 100644--- a/packages/core/src/hooks/useOverflow.doc.mjs+++ b/packages/core/src/hooks/useOverflow.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useOverflow',diff --git a/packages/core/src/hooks/useOverflow.test.ts b/packages/core/src/hooks/useOverflow.test.tsindex 92450c7a7b..2d7d9c1b23 100644--- a/packages/core/src/hooks/useOverflow.test.ts+++ b/packages/core/src/hooks/useOverflow.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeEach} from 'vitest';import {renderHook, act} from '@testing-library/react';import {useOverflow} from './useOverflow';diff --git a/packages/core/src/hooks/useOverflow.ts b/packages/core/src/hooks/useOverflow.tsindex 23de284851..a8456bc63d 100644--- a/packages/core/src/hooks/useOverflow.ts+++ b/packages/core/src/hooks/useOverflow.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useScrollLock.doc.mjs b/packages/core/src/hooks/useScrollLock.doc.mjsindex d759f0c2cc..cfebf97d5e 100644--- a/packages/core/src/hooks/useScrollLock.doc.mjs+++ b/packages/core/src/hooks/useScrollLock.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useScrollLock',diff --git a/packages/core/src/hooks/useScrollLock.ts b/packages/core/src/hooks/useScrollLock.tsindex aec67582db..403163471d 100644--- a/packages/core/src/hooks/useScrollLock.ts+++ b/packages/core/src/hooks/useScrollLock.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useScrollOverflow.doc.mjs b/packages/core/src/hooks/useScrollOverflow.doc.mjsindex 26f1dc9907..20db0eeef0 100644--- a/packages/core/src/hooks/useScrollOverflow.doc.mjs+++ b/packages/core/src/hooks/useScrollOverflow.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useScrollOverflow',diff --git a/packages/core/src/hooks/useScrollOverflow.ts b/packages/core/src/hooks/useScrollOverflow.tsindex a41c7d8e67..67ca58e5a0 100644--- a/packages/core/src/hooks/useScrollOverflow.ts+++ b/packages/core/src/hooks/useScrollOverflow.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useXDSMenuHover.ts b/packages/core/src/hooks/useXDSMenuHover.tsindex 420e01cbd5..1601e28335 100644--- a/packages/core/src/hooks/useXDSMenuHover.ts+++ b/packages/core/src/hooks/useXDSMenuHover.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/hooks/useXDSStreamingText.doc.mjs b/packages/core/src/hooks/useXDSStreamingText.doc.mjsindex ea0b810fc3..0319e25ef8 100644--- a/packages/core/src/hooks/useXDSStreamingText.doc.mjs+++ b/packages/core/src/hooks/useXDSStreamingText.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').HookDoc} */export const docs = {name: 'useXDSStreamingText',diff --git a/packages/core/src/hooks/useXDSStreamingText.test.ts b/packages/core/src/hooks/useXDSStreamingText.test.tsindex f2ea1ce310..d09266d8dd 100644--- a/packages/core/src/hooks/useXDSStreamingText.test.ts+++ b/packages/core/src/hooks/useXDSStreamingText.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeEach, afterEach} from 'vitest';import {renderHook, act} from '@testing-library/react';import {useXDSStreamingText} from './useXDSStreamingText';diff --git a/packages/core/src/hooks/useXDSStreamingText.ts b/packages/core/src/hooks/useXDSStreamingText.tsindex e75e00e951..3123fe7a42 100644--- a/packages/core/src/hooks/useXDSStreamingText.ts+++ b/packages/core/src/hooks/useXDSStreamingText.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 45722719fc..6d0a4c50f4 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/reset.css b/packages/core/src/reset.cssindex b63920de4b..026333f0d0 100644--- a/packages/core/src/reset.css+++ b/packages/core/src/reset.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/*** XDS Reset Stylesheet*diff --git a/packages/core/src/reset.css.d.ts b/packages/core/src/reset.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/core/src/reset.css.d.ts+++ b/packages/core/src/reset.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/core/src/tailwind-theme.css b/packages/core/src/tailwind-theme.cssindex f5f87b1b20..de398d8413 100644--- a/packages/core/src/tailwind-theme.css+++ b/packages/core/src/tailwind-theme.css@@ -1,3 +1,5 @@+/* Copyright (c) Meta Platforms, Inc. and affiliates. */+/*** XDS Tailwind Bridge*diff --git a/packages/core/src/tailwind-theme.css.d.ts b/packages/core/src/tailwind-theme.css.d.tsindex 153572561d..07fc038d95 100644--- a/packages/core/src/tailwind-theme.css.d.ts+++ b/packages/core/src/tailwind-theme.css.d.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+declare const styles: string;export default styles;diff --git a/packages/core/src/theme/MediaTheme.doc.mjs b/packages/core/src/theme/MediaTheme.doc.mjsindex feae80b508..cc80c4c980 100644--- a/packages/core/src/theme/MediaTheme.doc.mjs+++ b/packages/core/src/theme/MediaTheme.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/theme/SyntaxTheme.doc.mjs b/packages/core/src/theme/SyntaxTheme.doc.mjsindex 1340d1a0cf..97ad1739f0 100644--- a/packages/core/src/theme/SyntaxTheme.doc.mjs+++ b/packages/core/src/theme/SyntaxTheme.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/theme/XDSMediaTheme.tsx b/packages/core/src/theme/XDSMediaTheme.tsxindex 694dc6d900..740bfdc1fb 100644--- a/packages/core/src/theme/XDSMediaTheme.tsx+++ b/packages/core/src/theme/XDSMediaTheme.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/theme/XDSTheme.doc.mjs b/packages/core/src/theme/XDSTheme.doc.mjsindex 79d62faaf8..444673a06c 100644--- a/packages/core/src/theme/XDSTheme.doc.mjs+++ b/packages/core/src/theme/XDSTheme.doc.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/** @type {import('../docs-types').ComponentDoc} */export const docs = {diff --git a/packages/core/src/theme/XDSTheme.test.tsx b/packages/core/src/theme/XDSTheme.test.tsxindex de18d8244c..2649571f8f 100644--- a/packages/core/src/theme/XDSTheme.test.tsx+++ b/packages/core/src/theme/XDSTheme.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeEach, afterEach} from 'vitest';import {render, cleanup} from '@testing-library/react';import React from 'react';diff --git a/packages/core/src/theme/XDSTheme.tsx b/packages/core/src/theme/XDSTheme.tsxindex 94e34b1f51..294761205f 100644--- a/packages/core/src/theme/XDSTheme.tsx+++ b/packages/core/src/theme/XDSTheme.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/theme/defineTheme.test.ts b/packages/core/src/theme/defineTheme.test.tsindex 5c113f7a73..ff18cbfbed 100644--- a/packages/core/src/theme/defineTheme.test.ts+++ b/packages/core/src/theme/defineTheme.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import type {XDSIconRegistry} from '../Icon/globalIconRegistry';import {diff --git a/packages/core/src/theme/defineTheme.ts b/packages/core/src/theme/defineTheme.tsindex 4ccbd61c3c..bae0b463fa 100644--- a/packages/core/src/theme/defineTheme.ts+++ b/packages/core/src/theme/defineTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** defineTheme — Create an XDS theme from a flat token map.*diff --git a/packages/core/src/theme/derivedVarRegistry.test.ts b/packages/core/src/theme/derivedVarRegistry.test.tsindex 7289942355..0a8c299e09 100644--- a/packages/core/src/theme/derivedVarRegistry.test.ts+++ b/packages/core/src/theme/derivedVarRegistry.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-require-imports *//*** @file Validates derivedVarRegistry stays in sync with component doc files,diff --git a/packages/core/src/theme/derivedVarRegistry.ts b/packages/core/src/theme/derivedVarRegistry.tsindex 07d58d678e..683e5710f5 100644--- a/packages/core/src/theme/derivedVarRegistry.ts+++ b/packages/core/src/theme/derivedVarRegistry.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file Derived variable registry — maps CSS properties to internal vars.*diff --git a/packages/core/src/theme/domainTokens/dataTokens.ts b/packages/core/src/theme/domainTokens/dataTokens.tsindex 0be6b1a1b4..935a5bdb37 100644--- a/packages/core/src/theme/domainTokens/dataTokens.ts+++ b/packages/core/src/theme/domainTokens/dataTokens.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file dataTokens.ts* @input None (pure token definitions)diff --git a/packages/core/src/theme/domainTokens/index.ts b/packages/core/src/theme/domainTokens/index.tsindex d50b0c6237..8b603592f7 100644--- a/packages/core/src/theme/domainTokens/index.ts+++ b/packages/core/src/theme/domainTokens/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file domainTokens/index.ts* @input None (re-exports sub-modules)diff --git a/packages/core/src/theme/expandColorScale.test.ts b/packages/core/src/theme/expandColorScale.test.tsindex 7fad9d35d4..05005ff322 100644--- a/packages/core/src/theme/expandColorScale.test.ts+++ b/packages/core/src/theme/expandColorScale.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {expandColorScale} from './expandColorScale';import {defineTheme} from './defineTheme';diff --git a/packages/core/src/theme/expandColorScale.ts b/packages/core/src/theme/expandColorScale.tsindex 9053a635e6..64b22e9c2a 100644--- a/packages/core/src/theme/expandColorScale.ts+++ b/packages/core/src/theme/expandColorScale.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file expandColorScale.ts* @input Color scale configuration { accent, neutralStyle?, contrast? }diff --git a/packages/core/src/theme/expandMotionScale.test.ts b/packages/core/src/theme/expandMotionScale.test.tsindex 1d5a5350ed..aa56dd6658 100644--- a/packages/core/src/theme/expandMotionScale.test.ts+++ b/packages/core/src/theme/expandMotionScale.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {expandMotionScale} from './expandMotionScale';diff --git a/packages/core/src/theme/expandMotionScale.ts b/packages/core/src/theme/expandMotionScale.tsindex a430f37fad..898a9d757d 100644--- a/packages/core/src/theme/expandMotionScale.ts+++ b/packages/core/src/theme/expandMotionScale.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file expandMotionScale.ts* @input Motion scale configuration { fast, medium, ratio, easing? }diff --git a/packages/core/src/theme/expandRadiusScale.test.ts b/packages/core/src/theme/expandRadiusScale.test.tsindex 19bcb22692..3b32a6f936 100644--- a/packages/core/src/theme/expandRadiusScale.test.ts+++ b/packages/core/src/theme/expandRadiusScale.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {expandRadiusScale} from './expandRadiusScale';diff --git a/packages/core/src/theme/expandRadiusScale.ts b/packages/core/src/theme/expandRadiusScale.tsindex 6f7ace000a..ad67996084 100644--- a/packages/core/src/theme/expandRadiusScale.ts+++ b/packages/core/src/theme/expandRadiusScale.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file expandRadiusScale.ts* @input Radius scale configuration { base, multiplier }diff --git a/packages/core/src/theme/expandTypeScale.test.ts b/packages/core/src/theme/expandTypeScale.test.tsindex c7e89f282e..3ec52fd7bc 100644--- a/packages/core/src/theme/expandTypeScale.test.ts+++ b/packages/core/src/theme/expandTypeScale.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file expandTypeScale.test.ts* Tests for the two-layer type scale computation.diff --git a/packages/core/src/theme/expandTypeScale.ts b/packages/core/src/theme/expandTypeScale.tsindex 1e5396db82..d409e2e3b4 100644--- a/packages/core/src/theme/expandTypeScale.ts+++ b/packages/core/src/theme/expandTypeScale.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file expandTypeScale.ts* @input Type scale configuration { base, ratio, weights? }diff --git a/packages/core/src/theme/generateThemeRules.test.ts b/packages/core/src/theme/generateThemeRules.test.tsindex 8df86cac14..bc7676d587 100644--- a/packages/core/src/theme/generateThemeRules.test.ts+++ b/packages/core/src/theme/generateThemeRules.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file generateThemeRules.test.ts* Tests that generateThemeRules produces correct, consistent CSS rulesdiff --git a/packages/core/src/theme/hct.test.ts b/packages/core/src/theme/hct.test.tsindex bc9a585582..42a0663741 100644--- a/packages/core/src/theme/hct.test.ts+++ b/packages/core/src/theme/hct.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {hexToHct, hctToHex, tonalPalette, hexWithAlpha} from './hct';diff --git a/packages/core/src/theme/hct.ts b/packages/core/src/theme/hct.tsindex b05019afd0..6382747afb 100644--- a/packages/core/src/theme/hct.ts+++ b/packages/core/src/theme/hct.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file hct.ts* @input Hex color string (#RRGGBB)diff --git a/packages/core/src/theme/index.ts b/packages/core/src/theme/index.tsindex c412e2b02f..110df12cc0 100644--- a/packages/core/src/theme/index.ts+++ b/packages/core/src/theme/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/theme/onMediaTokens.test.ts b/packages/core/src/theme/onMediaTokens.test.tsindex 65b23b9ef6..1f3c8a0b1c 100644--- a/packages/core/src/theme/onMediaTokens.test.ts+++ b/packages/core/src/theme/onMediaTokens.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {defineTheme, generateOnMediaCSS} from './defineTheme';import {diff --git a/packages/core/src/theme/onMediaTokens.ts b/packages/core/src/theme/onMediaTokens.tsindex 3b958a0ddc..55e4709573 100644--- a/packages/core/src/theme/onMediaTokens.ts+++ b/packages/core/src/theme/onMediaTokens.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file onMediaTokens.ts* @input Theme token values from defineThemediff --git a/packages/core/src/theme/syntax/XDSSyntaxTheme.tsx b/packages/core/src/theme/syntax/XDSSyntaxTheme.tsxindex 6b2fbb0cee..be1f414ce5 100644--- a/packages/core/src/theme/syntax/XDSSyntaxTheme.tsx+++ b/packages/core/src/theme/syntax/XDSSyntaxTheme.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use client";/**diff --git a/packages/core/src/theme/syntax/defineSyntaxTheme.ts b/packages/core/src/theme/syntax/defineSyntaxTheme.tsindex 71e4695515..4e448c2a6e 100644--- a/packages/core/src/theme/syntax/defineSyntaxTheme.ts+++ b/packages/core/src/theme/syntax/defineSyntaxTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+"use strict";/**diff --git a/packages/core/src/theme/syntax/index.ts b/packages/core/src/theme/syntax/index.tsindex a11eda0152..3f6c74a961 100644--- a/packages/core/src/theme/syntax/index.ts+++ b/packages/core/src/theme/syntax/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/theme/syntax/presets.ts b/packages/core/src/theme/syntax/presets.tsindex dd8eb88a14..260811cc73 100644--- a/packages/core/src/theme/syntax/presets.ts+++ b/packages/core/src/theme/syntax/presets.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file theme/syntax/presets.ts* @output 12 community syntax theme presetsdiff --git a/packages/core/src/theme/syntax/tokens.ts b/packages/core/src/theme/syntax/tokens.tsindex fdf119ca01..fd247008bd 100644--- a/packages/core/src/theme/syntax/tokens.ts+++ b/packages/core/src/theme/syntax/tokens.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file tokens.ts* @input None (pure token definitions)diff --git a/packages/core/src/theme/tokens.stylex.ts b/packages/core/src/theme/tokens.stylex.tsindex 4452b5bdae..d3cafc5a06 100644--- a/packages/core/src/theme/tokens.stylex.ts+++ b/packages/core/src/theme/tokens.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** XDS Design Tokens*diff --git a/packages/core/src/theme/types.ts b/packages/core/src/theme/types.tsindex 3502c1a257..db46495771 100644--- a/packages/core/src/theme/types.ts+++ b/packages/core/src/theme/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** XDS Type Definitions*diff --git a/packages/core/src/theme/useXDSTheme.test.tsx b/packages/core/src/theme/useXDSTheme.test.tsxindex eceec492dc..5723b52eb2 100644--- a/packages/core/src/theme/useXDSTheme.test.tsx+++ b/packages/core/src/theme/useXDSTheme.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi} from 'vitest';import {renderHook} from '@testing-library/react';import React from 'react';diff --git a/packages/core/src/theme/useXDSTheme.ts b/packages/core/src/theme/useXDSTheme.tsindex 51c9348c99..2abda8417c 100644--- a/packages/core/src/theme/useXDSTheme.ts+++ b/packages/core/src/theme/useXDSTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/utils/dateParser.test.ts b/packages/core/src/utils/dateParser.test.tsindex 07e1c0e43a..cb1d2512b4 100644--- a/packages/core/src/utils/dateParser.test.ts+++ b/packages/core/src/utils/dateParser.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file dateParser.test.ts* @input Uses vitest, dateParser utilitiesdiff --git a/packages/core/src/utils/dateParser.ts b/packages/core/src/utils/dateParser.tsindex 3b1897bc14..c4f3e40d99 100644--- a/packages/core/src/utils/dateParser.ts+++ b/packages/core/src/utils/dateParser.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file dateParser.ts* @input Uses Intl.DateTimeFormat for locale detectiondiff --git a/packages/core/src/utils/groupItems.ts b/packages/core/src/utils/groupItems.tsindex 8b510de48d..07f4ea08eb 100644--- a/packages/core/src/utils/groupItems.ts+++ b/packages/core/src/utils/groupItems.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file groupItems.ts* @input Array of XDSSearchableItem with optional auxiliaryData.groupdiff --git a/packages/core/src/utils/index.ts b/packages/core/src/utils/index.tsindex a252021559..3f7409b906 100644--- a/packages/core/src/utils/index.ts+++ b/packages/core/src/utils/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input Utils module exportsdiff --git a/packages/core/src/utils/mergeProps.ts b/packages/core/src/utils/mergeProps.tsindex ce7d7aa355..818a6e1489 100644--- a/packages/core/src/utils/mergeProps.ts+++ b/packages/core/src/utils/mergeProps.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Merge xds-* class name, stylex.props result, and optional consumer className/style.*diff --git a/packages/core/src/utils/parseStyleKey.test.ts b/packages/core/src/utils/parseStyleKey.test.tsindex 0da0b5c913..9e50305cc7 100644--- a/packages/core/src/utils/parseStyleKey.test.ts+++ b/packages/core/src/utils/parseStyleKey.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {parseStyleKey} from './parseStyleKey';diff --git a/packages/core/src/utils/parseStyleKey.ts b/packages/core/src/utils/parseStyleKey.tsindex ce9c3706fa..baef6e616b 100644--- a/packages/core/src/utils/parseStyleKey.ts+++ b/packages/core/src/utils/parseStyleKey.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Parse a component style key into a CSS selector suffix.*diff --git a/packages/core/src/utils/sharedResizeObserver.test.ts b/packages/core/src/utils/sharedResizeObserver.test.tsindex 40bcc12c89..a41d02d388 100644--- a/packages/core/src/utils/sharedResizeObserver.test.ts+++ b/packages/core/src/utils/sharedResizeObserver.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect, vi, beforeEach, afterEach} from 'vitest';describe('sharedResizeObserver', () => {diff --git a/packages/core/src/utils/sharedResizeObserver.ts b/packages/core/src/utils/sharedResizeObserver.tsindex e379f39eab..068b5d563a 100644--- a/packages/core/src/utils/sharedResizeObserver.ts+++ b/packages/core/src/utils/sharedResizeObserver.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/core/src/utils/timeParser.test.ts b/packages/core/src/utils/timeParser.test.tsindex 165742005f..74be1b4037 100644--- a/packages/core/src/utils/timeParser.test.ts+++ b/packages/core/src/utils/timeParser.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file timeParser.test.ts* @input Uses vitest, timeParser utilitiesdiff --git a/packages/core/src/utils/timeParser.ts b/packages/core/src/utils/timeParser.tsindex 47157644fa..3931db2949 100644--- a/packages/core/src/utils/timeParser.ts+++ b/packages/core/src/utils/timeParser.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file timeParser.ts* @input Uses string parsingdiff --git a/packages/core/src/utils/types.ts b/packages/core/src/utils/types.tsindex 8c6d35caa7..b56a717a7f 100644--- a/packages/core/src/utils/types.ts+++ b/packages/core/src/utils/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @input Nonediff --git a/packages/core/src/utils/xdsClassName.test.ts b/packages/core/src/utils/xdsClassName.test.tsindex 526a6debb1..69b4e7699c 100644--- a/packages/core/src/utils/xdsClassName.test.ts+++ b/packages/core/src/utils/xdsClassName.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {xdsClassName} from './xdsClassName';diff --git a/packages/core/src/utils/xdsClassName.ts b/packages/core/src/utils/xdsClassName.tsindex 1a8335ef93..3d1a5a68a8 100644--- a/packages/core/src/utils/xdsClassName.ts+++ b/packages/core/src/utils/xdsClassName.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Build the xds-* class name string for a component.*diff --git a/packages/core/src/xds.css.d.ts b/packages/core/src/xds.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/core/src/xds.css.d.ts+++ b/packages/core/src/xds.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/core/tsup.config.ts b/packages/core/tsup.config.tsindex 9ae65702b2..519a345624 100644--- a/packages/core/tsup.config.ts+++ b/packages/core/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file tsup.config.ts* @input Uses tsupdiff --git a/packages/lab/src/Chart/ChartContext.ts b/packages/lab/src/Chart/ChartContext.tsindex f1fc068ce0..8829b7439b 100644--- a/packages/lab/src/Chart/ChartContext.ts+++ b/packages/lab/src/Chart/ChartContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file ChartContext.ts* @output React context for sharing scales and dimensions between chart componentsdiff --git a/packages/lab/src/Chart/XDSChart.tsx b/packages/lab/src/Chart/XDSChart.tsxindex 6696136253..b66142e61f 100644--- a/packages/lab/src/Chart/XDSChart.tsx+++ b/packages/lab/src/Chart/XDSChart.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChart.tsx* @output Root chart container — sets up SVG, scales, and contextdiff --git a/packages/lab/src/Chart/XDSChartArea.tsx b/packages/lab/src/Chart/XDSChartArea.tsxindex 7c738da510..7a9ca2badf 100644--- a/packages/lab/src/Chart/XDSChartArea.tsx+++ b/packages/lab/src/Chart/XDSChartArea.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartArea.tsx* @output Renders a filled area between two y-bounds — confidence intervals, bands, rangesdiff --git a/packages/lab/src/Chart/XDSChartAxis.tsx b/packages/lab/src/Chart/XDSChartAxis.tsxindex 757ff04b58..064b36236e 100644--- a/packages/lab/src/Chart/XDSChartAxis.tsx+++ b/packages/lab/src/Chart/XDSChartAxis.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartAxis.tsx* @output Renders an axis (top, right, bottom, left) using the chart's scalesdiff --git a/packages/lab/src/Chart/XDSChartBar.tsx b/packages/lab/src/Chart/XDSChartBar.tsxindex 37473f95de..7523ab9669 100644--- a/packages/lab/src/Chart/XDSChartBar.tsx+++ b/packages/lab/src/Chart/XDSChartBar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartBar.tsx* @output Renders vertical bars for a data keydiff --git a/packages/lab/src/Chart/XDSChartBrush.tsx b/packages/lab/src/Chart/XDSChartBrush.tsxindex 49149f31a5..776bea61e5 100644--- a/packages/lab/src/Chart/XDSChartBrush.tsx+++ b/packages/lab/src/Chart/XDSChartBrush.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartBrush.tsx* @output Drag-to-select region. Supports x-only or 2D (xy) brush modes.diff --git a/packages/lab/src/Chart/XDSChartCandlestick.tsx b/packages/lab/src/Chart/XDSChartCandlestick.tsxindex fe87192979..77c14a9059 100644--- a/packages/lab/src/Chart/XDSChartCandlestick.tsx+++ b/packages/lab/src/Chart/XDSChartCandlestick.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartCandlestick.tsx* @output Renders candlestick/box-whisker marks for OHLC or statistical datadiff --git a/packages/lab/src/Chart/XDSChartDot.tsx b/packages/lab/src/Chart/XDSChartDot.tsxindex bc8b1b1363..61a40d7da2 100644--- a/packages/lab/src/Chart/XDSChartDot.tsx+++ b/packages/lab/src/Chart/XDSChartDot.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartDot.tsx* @output Renders scatter dots for a data keydiff --git a/packages/lab/src/Chart/XDSChartDotGL.tsx b/packages/lab/src/Chart/XDSChartDotGL.tsxindex f16b8bfdec..d8213b12eb 100644--- a/packages/lab/src/Chart/XDSChartDotGL.tsx+++ b/packages/lab/src/Chart/XDSChartDotGL.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartDotGL.tsx* @output WebGL scatter — single draw call, canvas mounted outside SVG for sharp DPRdiff --git a/packages/lab/src/Chart/XDSChartDotGLInteractive.tsx b/packages/lab/src/Chart/XDSChartDotGLInteractive.tsxindex 755bc0e9c8..a77579f3a2 100644--- a/packages/lab/src/Chart/XDSChartDotGLInteractive.tsx+++ b/packages/lab/src/Chart/XDSChartDotGLInteractive.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartDotGLInteractive.tsx* @output WebGL scatter with GPU color-picking for O(1) nearest-point hover detectiondiff --git a/packages/lab/src/Chart/XDSChartErrorBar.tsx b/packages/lab/src/Chart/XDSChartErrorBar.tsxindex 562956df48..6aff58f2aa 100644--- a/packages/lab/src/Chart/XDSChartErrorBar.tsx+++ b/packages/lab/src/Chart/XDSChartErrorBar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartErrorBar.tsx* @output Renders error bars (whiskers) at each data pointdiff --git a/packages/lab/src/Chart/XDSChartGrid.tsx b/packages/lab/src/Chart/XDSChartGrid.tsxindex fedc2270db..9e4edb60b1 100644--- a/packages/lab/src/Chart/XDSChartGrid.tsx+++ b/packages/lab/src/Chart/XDSChartGrid.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartGrid.tsx* @output Renders horizontal and/or vertical grid linesdiff --git a/packages/lab/src/Chart/XDSChartHeatmapGL.tsx b/packages/lab/src/Chart/XDSChartHeatmapGL.tsxindex c49161c6e5..459d06c91a 100644--- a/packages/lab/src/Chart/XDSChartHeatmapGL.tsx+++ b/packages/lab/src/Chart/XDSChartHeatmapGL.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartHeatmapGL.tsx* @output WebGL heatmap — 2D grid, canvas mounted outside SVGdiff --git a/packages/lab/src/Chart/XDSChartLegend.tsx b/packages/lab/src/Chart/XDSChartLegend.tsxindex e84db99e0a..0329c13b6c 100644--- a/packages/lab/src/Chart/XDSChartLegend.tsx+++ b/packages/lab/src/Chart/XDSChartLegend.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartLegend.tsx* @output Renders a legend — discrete swatches or continuous gradient bardiff --git a/packages/lab/src/Chart/XDSChartLine.tsx b/packages/lab/src/Chart/XDSChartLine.tsxindex 32a93273b1..1d8b725249 100644--- a/packages/lab/src/Chart/XDSChartLine.tsx+++ b/packages/lab/src/Chart/XDSChartLine.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartLine.tsx* @output Renders a line for a data keydiff --git a/packages/lab/src/Chart/XDSChartReferenceLine.tsx b/packages/lab/src/Chart/XDSChartReferenceLine.tsxindex 5b7bc8c7ff..6c37a39dc4 100644--- a/packages/lab/src/Chart/XDSChartReferenceLine.tsx+++ b/packages/lab/src/Chart/XDSChartReferenceLine.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartReferenceLine.tsx* @output Horizontal or vertical reference line with crosshair-style badge labeldiff --git a/packages/lab/src/Chart/XDSChartSelect.tsx b/packages/lab/src/Chart/XDSChartSelect.tsxindex 9b7935508e..1592f73d0b 100644--- a/packages/lab/src/Chart/XDSChartSelect.tsx+++ b/packages/lab/src/Chart/XDSChartSelect.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartSelect.tsx* @output Click/tap to select data points. Pointer events.diff --git a/packages/lab/src/Chart/XDSChartStreamGL.tsx b/packages/lab/src/Chart/XDSChartStreamGL.tsxindex 380a1679e6..4031b21fad 100644--- a/packages/lab/src/Chart/XDSChartStreamGL.tsx+++ b/packages/lab/src/Chart/XDSChartStreamGL.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartStreamGL.tsx* @output WebGL streaming time-series line — ring buffer, canvas outside SVGdiff --git a/packages/lab/src/Chart/XDSChartTooltip.tsx b/packages/lab/src/Chart/XDSChartTooltip.tsxindex c8692cdb16..f0519ec1d5 100644--- a/packages/lab/src/Chart/XDSChartTooltip.tsx+++ b/packages/lab/src/Chart/XDSChartTooltip.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartTooltip.tsx* @output Hover tooltip with optional crosshair lines, rendered in the top layerdiff --git a/packages/lab/src/Chart/XDSChartZoom.tsx b/packages/lab/src/Chart/XDSChartZoom.tsxindex 65823cd003..104aff9488 100644--- a/packages/lab/src/Chart/XDSChartZoom.tsx+++ b/packages/lab/src/Chart/XDSChartZoom.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChartZoom.tsx* @output Scroll/pinch zoom + drag pan with optional toolbar.diff --git a/packages/lab/src/Chart/getXDSChartColors.ts b/packages/lab/src/Chart/getXDSChartColors.tsindex bc6559ce5b..34f1f62a39 100644--- a/packages/lab/src/Chart/getXDSChartColors.ts+++ b/packages/lab/src/Chart/getXDSChartColors.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file getXDSChartColors.ts* @output Pure function to resolve chart colors from a theme — no React requireddiff --git a/packages/lab/src/Chart/index.ts b/packages/lab/src/Chart/index.tsindex 53187ebfbb..a3ca543499 100644--- a/packages/lab/src/Chart/index.ts+++ b/packages/lab/src/Chart/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {XDSChart, type XDSChartProps, type YBaseline} from './XDSChart';export {XDSChartAxis, type XDSChartAxisProps} from './XDSChartAxis';export {XDSChartGrid, type XDSChartGridProps} from './XDSChartGrid';diff --git a/packages/lab/src/Chart/m4.test.ts b/packages/lab/src/Chart/m4.test.tsindex 9c869182ab..04ce171fd1 100644--- a/packages/lab/src/Chart/m4.test.ts+++ b/packages/lab/src/Chart/m4.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {m4Reduce, type M4Point} from './m4';diff --git a/packages/lab/src/Chart/m4.ts b/packages/lab/src/Chart/m4.tsindex 253375ca99..5945d5772c 100644--- a/packages/lab/src/Chart/m4.ts+++ b/packages/lab/src/Chart/m4.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file m4.ts* @output m4Reduce — pixel-aware time series data reductiondiff --git a/packages/lab/src/Chart/types.ts b/packages/lab/src/Chart/types.tsindex 442439ba76..ad50340e8d 100644--- a/packages/lab/src/Chart/types.ts+++ b/packages/lab/src/Chart/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @output Chart types, scale context, and margin conventiondiff --git a/packages/lab/src/Chart/useXDSChartColors.ts b/packages/lab/src/Chart/useXDSChartColors.tsindex 54e4a90736..d1dfc04a3f 100644--- a/packages/lab/src/Chart/useXDSChartColors.ts+++ b/packages/lab/src/Chart/useXDSChartColors.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSChartColors.ts* @output Theme-aware chart color palette hookdiff --git a/packages/lab/src/Chart/useXDSChartRange.test.ts b/packages/lab/src/Chart/useXDSChartRange.test.tsindex 7dad3ea1a3..3855806391 100644--- a/packages/lab/src/Chart/useXDSChartRange.test.ts+++ b/packages/lab/src/Chart/useXDSChartRange.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';import {renderHook, act} from '@testing-library/react';import {useXDSChartRange} from './useXDSChartRange';diff --git a/packages/lab/src/Chart/useXDSChartRange.ts b/packages/lab/src/Chart/useXDSChartRange.tsindex 5720e851eb..39c417e958 100644--- a/packages/lab/src/Chart/useXDSChartRange.ts+++ b/packages/lab/src/Chart/useXDSChartRange.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file useXDSChartRange.ts* @output Hook that tracks streaming data ranges and provides domains for XDSChartdiff --git a/packages/lab/src/Chart/utils.ts b/packages/lab/src/Chart/utils.tsindex 98e88f5e9f..0ce2719746 100644--- a/packages/lab/src/Chart/utils.ts+++ b/packages/lab/src/Chart/utils.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file utils.ts* @output Shared utilities for chart componentsdiff --git a/packages/lab/src/Chart/webgl.ts b/packages/lab/src/Chart/webgl.tsindex ead127b6e0..7ef10eab18 100644--- a/packages/lab/src/Chart/webgl.ts+++ b/packages/lab/src/Chart/webgl.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file webgl.ts* @output Shared WebGL utilities for chart componentsdiff --git a/packages/lab/src/ChartV2/ChartV2Context.ts b/packages/lab/src/ChartV2/ChartV2Context.tsindex 2781c3fba1..fc5179f49d 100644--- a/packages/lab/src/ChartV2/ChartV2Context.ts+++ b/packages/lab/src/ChartV2/ChartV2Context.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {createContext, useContext} from 'react';import type {ChartV2Context} from './types';diff --git a/packages/lab/src/ChartV2/XDSChart.tsx b/packages/lab/src/ChartV2/XDSChart.tsxindex ec89e4c66b..49dc6108e4 100644--- a/packages/lab/src/ChartV2/XDSChart.tsx+++ b/packages/lab/src/ChartV2/XDSChart.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSChart.tsx (v2)* @output Root chart — coordinates layout, rendering, and eventsdiff --git a/packages/lab/src/ChartV2/index.ts b/packages/lab/src/ChartV2/index.tsindex c9db5e34fd..a356c7c139 100644--- a/packages/lab/src/ChartV2/index.ts+++ b/packages/lab/src/ChartV2/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {XDSChart, type XDSChartProps} from './XDSChart';export {bar, line, dot, area, band, candlestick, errorBar, referenceLine, dotGL, dotGLInteractive, heatmapGL, streamGL} from './marks';export type {BarOptions, LineOptions, DotOptions, AreaOptions, BandOptions, CandlestickOptions, ErrorBarOptions, ReferenceLineOptions, DotGLOptions, DotGLInteractiveOptions, HeatmapGLOptions, StreamGLOptions, StreamGLHandle} from './marks';diff --git a/packages/lab/src/ChartV2/layout.ts b/packages/lab/src/ChartV2/layout.tsindex cef754146d..5415296be3 100644--- a/packages/lab/src/ChartV2/layout.ts+++ b/packages/lab/src/ChartV2/layout.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file layout.ts* @output Computes scales, stacking, grouping, then delegates to each series.resolve()diff --git a/packages/lab/src/ChartV2/marks/area.tsx b/packages/lab/src/ChartV2/marks/area.tsxindex a48eb9caf7..074a1a5ee0 100644--- a/packages/lab/src/ChartV2/marks/area.tsx+++ b/packages/lab/src/ChartV2/marks/area.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/area.tsx* @output Area series — fill under line with stacking + gradient supportdiff --git a/packages/lab/src/ChartV2/marks/band.tsx b/packages/lab/src/ChartV2/marks/band.tsxindex 39f7383dd9..bf34a2a0fe 100644--- a/packages/lab/src/ChartV2/marks/band.tsx+++ b/packages/lab/src/ChartV2/marks/band.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/band.tsx* @output Band (confidence interval) seriesdiff --git a/packages/lab/src/ChartV2/marks/bar.tsx b/packages/lab/src/ChartV2/marks/bar.tsxindex 2628d32a8f..d30dcdb0e2 100644--- a/packages/lab/src/ChartV2/marks/bar.tsx+++ b/packages/lab/src/ChartV2/marks/bar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/bar.tsx* @output Bar series — self-contained resolve + renderdiff --git a/packages/lab/src/ChartV2/marks/candlestick.tsx b/packages/lab/src/ChartV2/marks/candlestick.tsxindex a5a507e4b4..07a7538555 100644--- a/packages/lab/src/ChartV2/marks/candlestick.tsx+++ b/packages/lab/src/ChartV2/marks/candlestick.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/candlestick.tsx* @output Candlestick (OHLC) seriesdiff --git a/packages/lab/src/ChartV2/marks/dot.tsx b/packages/lab/src/ChartV2/marks/dot.tsxindex b79aaea154..41f1e7f3cc 100644--- a/packages/lab/src/ChartV2/marks/dot.tsx+++ b/packages/lab/src/ChartV2/marks/dot.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/dot.tsx* @output Dot/scatter series — self-contained resolve + renderdiff --git a/packages/lab/src/ChartV2/marks/dotGL.tsx b/packages/lab/src/ChartV2/marks/dotGL.tsxindex 0e0de43ffa..196dcef46a 100644--- a/packages/lab/src/ChartV2/marks/dotGL.tsx+++ b/packages/lab/src/ChartV2/marks/dotGL.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/dotGL.tsx* @output WebGL scatter — canvas overlay, single draw calldiff --git a/packages/lab/src/ChartV2/marks/dotGLInteractive.tsx b/packages/lab/src/ChartV2/marks/dotGLInteractive.tsxindex 7b5fac4415..f171843960 100644--- a/packages/lab/src/ChartV2/marks/dotGLInteractive.tsx+++ b/packages/lab/src/ChartV2/marks/dotGLInteractive.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/dotGLInteractive.tsx* @output WebGL scatter with GPU color-picking for O(1) nearest-point hoverdiff --git a/packages/lab/src/ChartV2/marks/errorBar.tsx b/packages/lab/src/ChartV2/marks/errorBar.tsxindex 140da976e8..25ac19d080 100644--- a/packages/lab/src/ChartV2/marks/errorBar.tsx+++ b/packages/lab/src/ChartV2/marks/errorBar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/errorBar.tsx* @output Error bar (whisker) series — vertical high/low boundsdiff --git a/packages/lab/src/ChartV2/marks/heatmapGL.tsx b/packages/lab/src/ChartV2/marks/heatmapGL.tsxindex 8096a464f7..a5549f8480 100644--- a/packages/lab/src/ChartV2/marks/heatmapGL.tsx+++ b/packages/lab/src/ChartV2/marks/heatmapGL.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/heatmapGL.tsx* @output WebGL heatmap — 2D grid of colored cells on canvasdiff --git a/packages/lab/src/ChartV2/marks/index.ts b/packages/lab/src/ChartV2/marks/index.tsindex ec226c8bc5..77250188bd 100644--- a/packages/lab/src/ChartV2/marks/index.ts+++ b/packages/lab/src/ChartV2/marks/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {bar, type BarOptions} from './bar';export {line, type LineOptions} from './line';export {dot, type DotOptions} from './dot';diff --git a/packages/lab/src/ChartV2/marks/line.tsx b/packages/lab/src/ChartV2/marks/line.tsxindex 1ff0a45986..3aae85a9a5 100644--- a/packages/lab/src/ChartV2/marks/line.tsx+++ b/packages/lab/src/ChartV2/marks/line.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/line.tsx* @output Line series — self-contained resolve + renderdiff --git a/packages/lab/src/ChartV2/marks/referenceLine.tsx b/packages/lab/src/ChartV2/marks/referenceLine.tsxindex f5e14e1a4d..8082c539ef 100644--- a/packages/lab/src/ChartV2/marks/referenceLine.tsx+++ b/packages/lab/src/ChartV2/marks/referenceLine.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/referenceLine.tsx* @output Horizontal or vertical reference line/band annotationdiff --git a/packages/lab/src/ChartV2/marks/streamGL.tsx b/packages/lab/src/ChartV2/marks/streamGL.tsxindex 0e7118e69f..e95953ff90 100644--- a/packages/lab/src/ChartV2/marks/streamGL.tsx+++ b/packages/lab/src/ChartV2/marks/streamGL.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file marks/streamGL.tsx* @output WebGL streaming time-series line — ring buffer, canvas outside SVGdiff --git a/packages/lab/src/ChartV2/types.ts b/packages/lab/src/ChartV2/types.tsindex 9c12c2dc99..9c79a052d9 100644--- a/packages/lab/src/ChartV2/types.ts+++ b/packages/lab/src/ChartV2/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @output Core types for the v2 chart architecturediff --git a/packages/lab/src/ChatReasoning/XDSChatReasoning.test.tsx b/packages/lab/src/ChatReasoning/XDSChatReasoning.test.tsxindex 806f0c27bf..cac6ec23ea 100644--- a/packages/lab/src/ChatReasoning/XDSChatReasoning.test.tsx+++ b/packages/lab/src/ChatReasoning/XDSChatReasoning.test.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {render, screen, fireEvent} from '@testing-library/react';import {XDSChatReasoning} from './XDSChatReasoning';diff --git a/packages/lab/src/ChatReasoning/XDSChatReasoning.tsx b/packages/lab/src/ChatReasoning/XDSChatReasoning.tsxindex 822f4d88f2..e685752653 100644--- a/packages/lab/src/ChatReasoning/XDSChatReasoning.tsx+++ b/packages/lab/src/ChatReasoning/XDSChatReasoning.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/lab/src/CodeBlock/index.ts b/packages/lab/src/CodeBlock/index.tsindex e2f0172778..41e4bc5d3d 100644--- a/packages/lab/src/CodeBlock/index.ts+++ b/packages/lab/src/CodeBlock/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file CodeBlock component barrel export* @deprecated Import from '@xds/core/CodeBlock' instead.diff --git a/packages/lab/src/CodeEditor/XDSCodeEditor.tsx b/packages/lab/src/CodeEditor/XDSCodeEditor.tsxindex b5d7100a32..2471bdebe1 100644--- a/packages/lab/src/CodeEditor/XDSCodeEditor.tsx+++ b/packages/lab/src/CodeEditor/XDSCodeEditor.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSCodeEditor.tsx* @input Uses React, StyleX, theme tokens, CSS Custom Highlight APIdiff --git a/packages/lab/src/CodeEditor/index.ts b/packages/lab/src/CodeEditor/index.tsindex c3a22b20b0..003985fc2c 100644--- a/packages/lab/src/CodeEditor/index.ts+++ b/packages/lab/src/CodeEditor/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file CodeEditor component barrel export*/diff --git a/packages/lab/src/Radial/RadialContext.ts b/packages/lab/src/Radial/RadialContext.tsindex 8ea0de3412..f41348e23c 100644--- a/packages/lab/src/Radial/RadialContext.ts+++ b/packages/lab/src/Radial/RadialContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file RadialContext.ts* @output React context for radial chart componentsdiff --git a/packages/lab/src/Radial/XDSRadialArea.tsx b/packages/lab/src/Radial/XDSRadialArea.tsxindex 6dd5699ea2..6a7697d924 100644--- a/packages/lab/src/Radial/XDSRadialArea.tsx+++ b/packages/lab/src/Radial/XDSRadialArea.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSRadialArea.tsx* @output Renders a spider/radar polygon for a datasetdiff --git a/packages/lab/src/Radial/XDSRadialAxis.tsx b/packages/lab/src/Radial/XDSRadialAxis.tsxindex 49b77c3b5d..56b9f0486f 100644--- a/packages/lab/src/Radial/XDSRadialAxis.tsx+++ b/packages/lab/src/Radial/XDSRadialAxis.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSRadialAxis.tsx* @output Renders axis labels at each spider vertexdiff --git a/packages/lab/src/Radial/XDSRadialChart.tsx b/packages/lab/src/Radial/XDSRadialChart.tsxindex 338b1aa529..275350246b 100644--- a/packages/lab/src/Radial/XDSRadialChart.tsx+++ b/packages/lab/src/Radial/XDSRadialChart.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSRadialChart.tsx* @output Root radial chart container — spider, pie, donutdiff --git a/packages/lab/src/Radial/XDSRadialGrid.tsx b/packages/lab/src/Radial/XDSRadialGrid.tsxindex 3665476733..adf856e29f 100644--- a/packages/lab/src/Radial/XDSRadialGrid.tsx+++ b/packages/lab/src/Radial/XDSRadialGrid.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSRadialGrid.tsx* @output Renders concentric grid rings and axis lines for spider chartsdiff --git a/packages/lab/src/Radial/XDSRadialSlice.tsx b/packages/lab/src/Radial/XDSRadialSlice.tsxindex 9e02b8eaaa..29d8b20ad5 100644--- a/packages/lab/src/Radial/XDSRadialSlice.tsx+++ b/packages/lab/src/Radial/XDSRadialSlice.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSRadialSlice.tsx* @output Renders pie/donut slices from radial contextdiff --git a/packages/lab/src/Radial/XDSRadialTooltip.tsx b/packages/lab/src/Radial/XDSRadialTooltip.tsxindex 4eca03ae27..cecc5ea497 100644--- a/packages/lab/src/Radial/XDSRadialTooltip.tsx+++ b/packages/lab/src/Radial/XDSRadialTooltip.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSRadialTooltip.tsx* @output Hover tooltip for radial charts (pie/donut/spider)diff --git a/packages/lab/src/Radial/index.ts b/packages/lab/src/Radial/index.tsindex 4d70e1f2fa..1fb9194f3e 100644--- a/packages/lab/src/Radial/index.ts+++ b/packages/lab/src/Radial/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {XDSRadialChart, type XDSRadialChartProps} from './XDSRadialChart';export {XDSRadialGrid, type XDSRadialGridProps} from './XDSRadialGrid';export {XDSRadialArea, type XDSRadialAreaProps} from './XDSRadialArea';diff --git a/packages/lab/src/Radial/types.ts b/packages/lab/src/Radial/types.tsindex 6a9cfd5aab..330527946c 100644--- a/packages/lab/src/Radial/types.ts+++ b/packages/lab/src/Radial/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @output Radial chart types and contextdiff --git a/packages/lab/src/SVGIcon/XDSSVGIcon.tsx b/packages/lab/src/SVGIcon/XDSSVGIcon.tsxindex 31b8c380e8..124cc09de7 100644--- a/packages/lab/src/SVGIcon/XDSSVGIcon.tsx+++ b/packages/lab/src/SVGIcon/XDSSVGIcon.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/lab/src/SVGIcon/icons.ts b/packages/lab/src/SVGIcon/icons.tsindex 13264eeea5..64bbfc044a 100644--- a/packages/lab/src/SVGIcon/icons.ts+++ b/packages/lab/src/SVGIcon/icons.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file icons.ts* @input Lucide icon SVG pathsdiff --git a/packages/lab/src/SVGIcon/index.ts b/packages/lab/src/SVGIcon/index.tsindex 652b883c83..97aa0dc216 100644--- a/packages/lab/src/SVGIcon/index.ts+++ b/packages/lab/src/SVGIcon/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+'use client';/**diff --git a/packages/lab/src/SVGIcon/pathTransforms.ts b/packages/lab/src/SVGIcon/pathTransforms.tsindex 8d53d66f37..0f018d7007 100644--- a/packages/lab/src/SVGIcon/pathTransforms.ts+++ b/packages/lab/src/SVGIcon/pathTransforms.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file pathTransforms.ts* @description SVG path manipulation utilities for XIF personality axes.diff --git a/packages/lab/src/SVGIcon/tokens.stylex.ts b/packages/lab/src/SVGIcon/tokens.stylex.tsindex 714b88f31e..8a8f0a6c77 100644--- a/packages/lab/src/SVGIcon/tokens.stylex.ts+++ b/packages/lab/src/SVGIcon/tokens.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file tokens.stylex.ts* @input XDS design token systemdiff --git a/packages/lab/src/SVGIcon/variations.stylex.ts b/packages/lab/src/SVGIcon/variations.stylex.tsindex 2b3653f634..9c4101c1ab 100644--- a/packages/lab/src/SVGIcon/variations.stylex.ts+++ b/packages/lab/src/SVGIcon/variations.stylex.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file variations.stylex.ts* @input Icon token varsdiff --git a/packages/lab/src/SVGIcon/xif-examples.ts b/packages/lab/src/SVGIcon/xif-examples.tsindex cc82a3581f..c2bfbcba12 100644--- a/packages/lab/src/SVGIcon/xif-examples.ts+++ b/packages/lab/src/SVGIcon/xif-examples.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file xif-examples.ts* @description Example icons demonstrating XIF spec featuresdiff --git a/packages/lab/src/SVGIcon/xif-types.ts b/packages/lab/src/SVGIcon/xif-types.tsindex 8b29878686..06e1c13bc9 100644--- a/packages/lab/src/SVGIcon/xif-types.ts+++ b/packages/lab/src/SVGIcon/xif-types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file xif-types.ts* @description XDS Icon Format (XIF) type definitions — v0.1.0 draftdiff --git a/packages/lab/src/Sankey/SankeyContext.ts b/packages/lab/src/Sankey/SankeyContext.tsindex 736e755c41..3b57ebbac3 100644--- a/packages/lab/src/Sankey/SankeyContext.ts+++ b/packages/lab/src/Sankey/SankeyContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file SankeyContext.ts* @output React context for sharing Sankey layout between componentsdiff --git a/packages/lab/src/Sankey/XDSSankeyChart.tsx b/packages/lab/src/Sankey/XDSSankeyChart.tsxindex 46bd455de4..374e2539ca 100644--- a/packages/lab/src/Sankey/XDSSankeyChart.tsx+++ b/packages/lab/src/Sankey/XDSSankeyChart.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSankeyChart.tsx* @output Root Sankey container — computes layout and provides contextdiff --git a/packages/lab/src/Sankey/XDSSankeyGrid.tsx b/packages/lab/src/Sankey/XDSSankeyGrid.tsxindex 27d9826583..02bfe38b4a 100644--- a/packages/lab/src/Sankey/XDSSankeyGrid.tsx+++ b/packages/lab/src/Sankey/XDSSankeyGrid.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSankeyGrid.tsx* @output Dashed vertical lines at each column + optional column headersdiff --git a/packages/lab/src/Sankey/XDSSankeyLabel.tsx b/packages/lab/src/Sankey/XDSSankeyLabel.tsxindex 6bff2ba964..4a3c7168b4 100644--- a/packages/lab/src/Sankey/XDSSankeyLabel.tsx+++ b/packages/lab/src/Sankey/XDSSankeyLabel.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSankeyLabel.tsx* @output Renders node labels — rotated on bar or beside it based on fitdiff --git a/packages/lab/src/Sankey/XDSSankeyLink.tsx b/packages/lab/src/Sankey/XDSSankeyLink.tsxindex 3686a7fdfd..0b56d1059a 100644--- a/packages/lab/src/Sankey/XDSSankeyLink.tsx+++ b/packages/lab/src/Sankey/XDSSankeyLink.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSankeyLink.tsx* @output Renders flow ribbons with configurable color modesdiff --git a/packages/lab/src/Sankey/XDSSankeyNode.tsx b/packages/lab/src/Sankey/XDSSankeyNode.tsxindex 1121b2fdad..f2b4e9d637 100644--- a/packages/lab/src/Sankey/XDSSankeyNode.tsx+++ b/packages/lab/src/Sankey/XDSSankeyNode.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSSankeyNode.tsx* @output Renders node indicators with optional glowdiff --git a/packages/lab/src/Sankey/index.ts b/packages/lab/src/Sankey/index.tsindex caef1602c3..aac9a8dec5 100644--- a/packages/lab/src/Sankey/index.ts+++ b/packages/lab/src/Sankey/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {XDSSankeyChart, type XDSSankeyChartProps} from './XDSSankeyChart';export {XDSSankeyLink,diff --git a/packages/lab/src/Sankey/layout.ts b/packages/lab/src/Sankey/layout.tsindex 8d67de77d8..9058a074c4 100644--- a/packages/lab/src/Sankey/layout.ts+++ b/packages/lab/src/Sankey/layout.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file layout.ts* @output Pure layout algorithm — computes node and link positionsdiff --git a/packages/lab/src/Sankey/types.ts b/packages/lab/src/Sankey/types.tsindex b89b27a5d3..88ece02853 100644--- a/packages/lab/src/Sankey/types.ts+++ b/packages/lab/src/Sankey/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @output Sankey chart types — nodes, links, layout, and contextdiff --git a/packages/lab/src/ThreeD/ThreeDContext.ts b/packages/lab/src/ThreeD/ThreeDContext.tsindex 93593062e7..fca6d3ef02 100644--- a/packages/lab/src/ThreeD/ThreeDContext.ts+++ b/packages/lab/src/ThreeD/ThreeDContext.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file ThreeDContext.ts* @output React context for 3D chart componentsdiff --git a/packages/lab/src/ThreeD/XDS3DAxis.tsx b/packages/lab/src/ThreeD/XDS3DAxis.tsxindex 1cfc2e9f3a..bec7891cb3 100644--- a/packages/lab/src/ThreeD/XDS3DAxis.tsx+++ b/packages/lab/src/ThreeD/XDS3DAxis.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDS3DAxis.tsx* @output 3D axis lines with labels at each enddiff --git a/packages/lab/src/ThreeD/XDS3DBar.tsx b/packages/lab/src/ThreeD/XDS3DBar.tsxindex 2fd4f53585..9ba9378abc 100644--- a/packages/lab/src/ThreeD/XDS3DBar.tsx+++ b/packages/lab/src/ThreeD/XDS3DBar.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDS3DBar.tsx* @output 3D bar chart — projected rectangles with depth shadingdiff --git a/packages/lab/src/ThreeD/XDS3DChart.tsx b/packages/lab/src/ThreeD/XDS3DChart.tsxindex 44a244bcae..c7147cad79 100644--- a/packages/lab/src/ThreeD/XDS3DChart.tsx+++ b/packages/lab/src/ThreeD/XDS3DChart.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDS3DChart.tsx* @output Root 3D chart container — projected SVG with depth sortingdiff --git a/packages/lab/src/ThreeD/XDS3DGrid.tsx b/packages/lab/src/ThreeD/XDS3DGrid.tsxindex a51236edd8..bd4b510a6a 100644--- a/packages/lab/src/ThreeD/XDS3DGrid.tsx+++ b/packages/lab/src/ThreeD/XDS3DGrid.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDS3DGrid.tsx* @output 3D wireframe grid on the floor plane (y=0)diff --git a/packages/lab/src/ThreeD/XDS3DScatter.tsx b/packages/lab/src/ThreeD/XDS3DScatter.tsxindex 8c2271d3ab..45252634e4 100644--- a/packages/lab/src/ThreeD/XDS3DScatter.tsx+++ b/packages/lab/src/ThreeD/XDS3DScatter.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDS3DScatter.tsx* @output 3D scatter plot — projected circles with depth-based sizing/opacitydiff --git a/packages/lab/src/ThreeD/XDS3DScatterGL.tsx b/packages/lab/src/ThreeD/XDS3DScatterGL.tsxindex f31d3f57cb..b4a1befcd1 100644--- a/packages/lab/src/ThreeD/XDS3DScatterGL.tsx+++ b/packages/lab/src/ThreeD/XDS3DScatterGL.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDS3DScatterGL.tsx* @output WebGL 3D scatter — canvas overlaid outside SVG for sharp DPR renderingdiff --git a/packages/lab/src/ThreeD/XDS3DSurface.tsx b/packages/lab/src/ThreeD/XDS3DSurface.tsxindex a8fb6de237..3ed130aa68 100644--- a/packages/lab/src/ThreeD/XDS3DSurface.tsx+++ b/packages/lab/src/ThreeD/XDS3DSurface.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDS3DSurface.tsx* @output 3D surface mesh — projected triangulated grid with color mappingdiff --git a/packages/lab/src/ThreeD/index.ts b/packages/lab/src/ThreeD/index.tsindex eb2b4bff7c..3c92573114 100644--- a/packages/lab/src/ThreeD/index.ts+++ b/packages/lab/src/ThreeD/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {XDS3DChart, type XDS3DChartProps} from './XDS3DChart';export {XDS3DScatter, type XDS3DScatterProps} from './XDS3DScatter';export {XDS3DScatterGL, type XDS3DScatterGLProps} from './XDS3DScatterGL';diff --git a/packages/lab/src/ThreeD/projection.test.ts b/packages/lab/src/ThreeD/projection.test.tsindex 3fbb676404..06f61c4d70 100644--- a/packages/lab/src/ThreeD/projection.test.ts+++ b/packages/lab/src/ThreeD/projection.test.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {describe, it, expect} from 'vitest';/**diff --git a/packages/lab/src/ThreeD/types.ts b/packages/lab/src/ThreeD/types.tsindex f83dc56ea8..678c7f8924 100644--- a/packages/lab/src/ThreeD/types.ts+++ b/packages/lab/src/ThreeD/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @output 3D chart types and contextdiff --git a/packages/lab/src/index.ts b/packages/lab/src/index.tsindex bd7b43d4e5..ea79b291c3 100644--- a/packages/lab/src/index.ts+++ b/packages/lab/src/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @xds/lab — Experimental XDS components*diff --git a/packages/themes/brutalist/src/brutalistTheme.ts b/packages/themes/brutalist/src/brutalistTheme.tsindex 7026b40217..b3c1570e4a 100644--- a/packages/themes/brutalist/src/brutalistTheme.ts+++ b/packages/themes/brutalist/src/brutalistTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Brutalist theme for XDS*diff --git a/packages/themes/brutalist/src/source.ts b/packages/themes/brutalist/src/source.tsindex 2586cba92a..d9efc23d0c 100644--- a/packages/themes/brutalist/src/source.ts+++ b/packages/themes/brutalist/src/source.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {brutalistTheme} from './brutalistTheme';diff --git a/packages/themes/brutalist/theme.css.d.ts b/packages/themes/brutalist/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/brutalist/theme.css.d.ts+++ b/packages/themes/brutalist/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/brutalist/tsup.config.ts b/packages/themes/brutalist/tsup.config.tsindex a7a308ac78..13452cb00d 100644--- a/packages/themes/brutalist/tsup.config.ts+++ b/packages/themes/brutalist/tsup.config.ts@@ -1,3 +1,7 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/butter/scripts/generate-palettes.mjs b/packages/themes/butter/scripts/generate-palettes.mjsindex 801cb48959..2d35eb7652 100644--- a/packages/themes/butter/scripts/generate-palettes.mjs+++ b/packages/themes/butter/scripts/generate-palettes.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Butter theme palette generator — single-anchor smooth ramp.*diff --git a/packages/themes/butter/src/butterTheme.ts b/packages/themes/butter/src/butterTheme.tsindex bc0ca21dd7..bf95993503 100644--- a/packages/themes/butter/src/butterTheme.ts+++ b/packages/themes/butter/src/butterTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Butter Theme*diff --git a/packages/themes/butter/src/icons.tsx b/packages/themes/butter/src/icons.tsxindex f60572b98b..ea6a6d3acb 100644--- a/packages/themes/butter/src/icons.tsx+++ b/packages/themes/butter/src/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file icons.tsx* @input Uses lucide-react icon components, XDSIconRegistry typediff --git a/packages/themes/butter/src/source.ts b/packages/themes/butter/src/source.tsindex 5b4548f6c8..e6e048da6f 100644--- a/packages/themes/butter/src/source.ts+++ b/packages/themes/butter/src/source.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {butterTheme, butterPalettes} from './butterTheme';export {butterIconRegistry} from './icons';diff --git a/packages/themes/butter/theme.css.d.ts b/packages/themes/butter/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/butter/theme.css.d.ts+++ b/packages/themes/butter/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/butter/tsup.config.ts b/packages/themes/butter/tsup.config.tsindex c503745454..7010d81522 100644--- a/packages/themes/butter/tsup.config.ts+++ b/packages/themes/butter/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/chocolate/src/chocolateTheme.ts b/packages/themes/chocolate/src/chocolateTheme.tsindex 392560b31c..b7dbfdf2d2 100644--- a/packages/themes/chocolate/src/chocolateTheme.ts+++ b/packages/themes/chocolate/src/chocolateTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Chocolate Theme*diff --git a/packages/themes/chocolate/src/icons.tsx b/packages/themes/chocolate/src/icons.tsxindex 340fc730f2..d7c0e20610 100644--- a/packages/themes/chocolate/src/icons.tsx+++ b/packages/themes/chocolate/src/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file icons.tsx* @input Uses lucide-react icon components, XDSIconRegistry typediff --git a/packages/themes/chocolate/src/source.ts b/packages/themes/chocolate/src/source.tsindex 50bc456cf0..2b0c72b6f4 100644--- a/packages/themes/chocolate/src/source.ts+++ b/packages/themes/chocolate/src/source.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {chocolateTheme} from './chocolateTheme';export {chocolateIconRegistry} from './icons';diff --git a/packages/themes/chocolate/theme.css.d.ts b/packages/themes/chocolate/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/chocolate/theme.css.d.ts+++ b/packages/themes/chocolate/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/chocolate/tsup.config.ts b/packages/themes/chocolate/tsup.config.tsindex c503745454..7010d81522 100644--- a/packages/themes/chocolate/tsup.config.ts+++ b/packages/themes/chocolate/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/daily/src/dailyTheme.ts b/packages/themes/daily/src/dailyTheme.tsindex 60bb7df834..3c513be302 100644--- a/packages/themes/daily/src/dailyTheme.ts+++ b/packages/themes/daily/src/dailyTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Astryx Theme*diff --git a/packages/themes/daily/src/icons.tsx b/packages/themes/daily/src/icons.tsxindex 8f3306dfa5..ca1c275536 100644--- a/packages/themes/daily/src/icons.tsx+++ b/packages/themes/daily/src/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import React from 'react';import type {XDSIconRegistry} from '@xds/core/Icon';diff --git a/packages/themes/daily/src/source.ts b/packages/themes/daily/src/source.tsindex f71d318fd7..56e920c955 100644--- a/packages/themes/daily/src/source.ts+++ b/packages/themes/daily/src/source.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {dailyTheme} from './dailyTheme';export {dailyIconRegistry} from './icons';diff --git a/packages/themes/daily/theme.css.d.ts b/packages/themes/daily/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/daily/theme.css.d.ts+++ b/packages/themes/daily/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/daily/tsup.config.ts b/packages/themes/daily/tsup.config.tsindex c503745454..7010d81522 100644--- a/packages/themes/daily/tsup.config.ts+++ b/packages/themes/daily/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/default/src/defaultTheme.ts b/packages/themes/default/src/defaultTheme.tsindex 20dd9503ed..f6b7804582 100644--- a/packages/themes/default/src/defaultTheme.ts+++ b/packages/themes/default/src/defaultTheme.ts@@ -1,3 +1,7 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** XDS Default Theme*diff --git a/packages/themes/default/src/icons.tsx b/packages/themes/default/src/icons.tsxindex b510ddb8dd..5c2f89d2c4 100644--- a/packages/themes/default/src/icons.tsx+++ b/packages/themes/default/src/icons.tsx@@ -1,3 +1,7 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file icons.tsx* @input Uses @heroicons/react outline and solid icon components, XDSIconRegistry typediff --git a/packages/themes/default/src/source.ts b/packages/themes/default/src/source.tsindex 212cbc0ded..556cf02f9f 100644--- a/packages/themes/default/src/source.ts+++ b/packages/themes/default/src/source.ts@@ -1,2 +1,6 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++// Copyright (c) Meta Platforms, Inc. and affiliates.+export {defaultTheme} from './defaultTheme';export {defaultIconRegistry} from './icons';diff --git a/packages/themes/default/theme.css.d.ts b/packages/themes/default/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/default/theme.css.d.ts+++ b/packages/themes/default/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/default/tsup.config.ts b/packages/themes/default/tsup.config.tsindex c5231d2a55..097dc9dd78 100644--- a/packages/themes/default/tsup.config.ts+++ b/packages/themes/default/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/gothic/src/gothicTheme.ts b/packages/themes/gothic/src/gothicTheme.tsindex ce67ef7cad..80dee639f2 100644--- a/packages/themes/gothic/src/gothicTheme.ts+++ b/packages/themes/gothic/src/gothicTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Gothic Theme — dark only*diff --git a/packages/themes/gothic/src/icons.tsx b/packages/themes/gothic/src/icons.tsxindex 93ac3d2272..cdabaf71ec 100644--- a/packages/themes/gothic/src/icons.tsx+++ b/packages/themes/gothic/src/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file icons.tsx* @input Uses lucide-react icon components, XDSIconRegistry typediff --git a/packages/themes/gothic/src/source.ts b/packages/themes/gothic/src/source.tsindex 8821e2c9b8..1f3aeae4e3 100644--- a/packages/themes/gothic/src/source.ts+++ b/packages/themes/gothic/src/source.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {gothicTheme, gothicPalettes} from './gothicTheme';export {gothicIconRegistry} from './icons';diff --git a/packages/themes/gothic/theme.css.d.ts b/packages/themes/gothic/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/gothic/theme.css.d.ts+++ b/packages/themes/gothic/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/gothic/tsup.config.ts b/packages/themes/gothic/tsup.config.tsindex c503745454..7010d81522 100644--- a/packages/themes/gothic/tsup.config.ts+++ b/packages/themes/gothic/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/matcha/src/icons.tsx b/packages/themes/matcha/src/icons.tsxindex eab8f6d831..cb88097d84 100644--- a/packages/themes/matcha/src/icons.tsx+++ b/packages/themes/matcha/src/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import React from 'react';import type {XDSIconRegistry} from '@xds/core/Icon';diff --git a/packages/themes/matcha/src/matchaTheme.ts b/packages/themes/matcha/src/matchaTheme.tsindex 06270e4e0f..5fe77f3bef 100644--- a/packages/themes/matcha/src/matchaTheme.ts+++ b/packages/themes/matcha/src/matchaTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Matcha Theme*diff --git a/packages/themes/matcha/src/source.ts b/packages/themes/matcha/src/source.tsindex bcd66a78c9..6c68158549 100644--- a/packages/themes/matcha/src/source.ts+++ b/packages/themes/matcha/src/source.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {matchaTheme} from './matchaTheme';export {matchaIconRegistry} from './icons';diff --git a/packages/themes/matcha/theme.css.d.ts b/packages/themes/matcha/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/matcha/theme.css.d.ts+++ b/packages/themes/matcha/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/matcha/tsup.config.ts b/packages/themes/matcha/tsup.config.tsindex c503745454..7010d81522 100644--- a/packages/themes/matcha/tsup.config.ts+++ b/packages/themes/matcha/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/neutral/src/icons.tsx b/packages/themes/neutral/src/icons.tsxindex f140d7cba0..3f327cccdb 100644--- a/packages/themes/neutral/src/icons.tsx+++ b/packages/themes/neutral/src/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file icons.tsx* @input Uses lucide-react icon components, XDSIconRegistry typediff --git a/packages/themes/neutral/src/neutralTheme.ts b/packages/themes/neutral/src/neutralTheme.tsindex d6e9b617ae..ab09ff6c50 100644--- a/packages/themes/neutral/src/neutralTheme.ts+++ b/packages/themes/neutral/src/neutralTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Neutral Theme*diff --git a/packages/themes/neutral/src/source.ts b/packages/themes/neutral/src/source.tsindex 18b948ac80..75be51b95b 100644--- a/packages/themes/neutral/src/source.ts+++ b/packages/themes/neutral/src/source.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {neutralTheme} from './neutralTheme';export {neutralIconRegistry} from './icons';diff --git a/packages/themes/neutral/theme.css.d.ts b/packages/themes/neutral/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/neutral/theme.css.d.ts+++ b/packages/themes/neutral/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/neutral/tsup.config.ts b/packages/themes/neutral/tsup.config.tsindex c503745454..7010d81522 100644--- a/packages/themes/neutral/tsup.config.ts+++ b/packages/themes/neutral/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/stone/src/icons.tsx b/packages/themes/stone/src/icons.tsxindex 4dd82ce7f1..0049182312 100644--- a/packages/themes/stone/src/icons.tsx+++ b/packages/themes/stone/src/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file icons.tsx* @input Uses lucide-react icon components, XDSIconRegistry typediff --git a/packages/themes/stone/src/source.ts b/packages/themes/stone/src/source.tsindex 499d897e27..9719aa4c54 100644--- a/packages/themes/stone/src/source.ts+++ b/packages/themes/stone/src/source.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {stoneTheme, stonePalettes} from './stoneTheme';export {stoneIconRegistry} from './icons';diff --git a/packages/themes/stone/src/stoneTheme.ts b/packages/themes/stone/src/stoneTheme.tsindex 7cc56a4e0f..0eec34f87d 100644--- a/packages/themes/stone/src/stoneTheme.ts+++ b/packages/themes/stone/src/stoneTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Stone Theme*diff --git a/packages/themes/stone/theme.css.d.ts b/packages/themes/stone/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/stone/theme.css.d.ts+++ b/packages/themes/stone/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/stone/tsup.config.ts b/packages/themes/stone/tsup.config.tsindex c503745454..7010d81522 100644--- a/packages/themes/stone/tsup.config.ts+++ b/packages/themes/stone/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/themes/y2k/src/icons.tsx b/packages/themes/y2k/src/icons.tsxindex 401e8bcc21..0a2124e965 100644--- a/packages/themes/y2k/src/icons.tsx+++ b/packages/themes/y2k/src/icons.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import React from 'react';import type {XDSIconRegistry} from '@xds/core/Icon';diff --git a/packages/themes/y2k/src/source.ts b/packages/themes/y2k/src/source.tsindex a87c612ea0..ccc9225e9b 100644--- a/packages/themes/y2k/src/source.ts+++ b/packages/themes/y2k/src/source.ts@@ -1,2 +1,4 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {y2kTheme, y2kPalettes} from './y2kTheme';export {y2kIconRegistry} from './icons';diff --git a/packages/themes/y2k/src/y2kTheme.ts b/packages/themes/y2k/src/y2kTheme.tsindex 28fa49aef5..20985d4d95 100644--- a/packages/themes/y2k/src/y2kTheme.ts+++ b/packages/themes/y2k/src/y2kTheme.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Y2K Theme*diff --git a/packages/themes/y2k/theme.css.d.ts b/packages/themes/y2k/theme.css.d.tsindex cb0ff5c3b5..e976d8c27c 100644--- a/packages/themes/y2k/theme.css.d.ts+++ b/packages/themes/y2k/theme.css.d.ts@@ -1 +1,3 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+export {};diff --git a/packages/themes/y2k/tsup.config.ts b/packages/themes/y2k/tsup.config.tsindex fb25951993..79dc1cfd29 100644--- a/packages/themes/y2k/tsup.config.ts+++ b/packages/themes/y2k/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+import {defineConfig} from 'tsup';export default defineConfig({diff --git a/packages/vega/src/XDSVegaChart.tsx b/packages/vega/src/XDSVegaChart.tsxindex 0a8bec6799..64e7e5d9a2 100644--- a/packages/vega/src/XDSVegaChart.tsx+++ b/packages/vega/src/XDSVegaChart.tsx@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file XDSVegaChart.tsx* @input A Vega or Vega-Lite spec (distinguished by $schema), parse config/options, view options, and datadiff --git a/packages/vega/src/index.ts b/packages/vega/src/index.tsindex fa56489cd6..9cc74bbeec 100644--- a/packages/vega/src/index.ts+++ b/packages/vega/src/index.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file index.ts* @input All public exports for @xds/vegadiff --git a/packages/vega/src/schema.ts b/packages/vega/src/schema.tsindex 9a94844b02..6c86a15d9f 100644--- a/packages/vega/src/schema.ts+++ b/packages/vega/src/schema.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file schema.ts* @input A spec object (Vega or Vega-Lite)diff --git a/packages/vega/src/types.ts b/packages/vega/src/types.tsindex 8057721939..9ac72bfc75 100644--- a/packages/vega/src/types.ts+++ b/packages/vega/src/types.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file types.ts* @input Vega and Vega-Lite spec types, and the XDS Vega wrapper API surfacediff --git a/packages/vega/src/vegaLiteConfig.ts b/packages/vega/src/vegaLiteConfig.tsindex 7fc61075ed..6a4d912e86 100644--- a/packages/vega/src/vegaLiteConfig.ts+++ b/packages/vega/src/vegaLiteConfig.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file vegaLiteConfig.ts* @input XDS theme tokens via useXDSThemediff --git a/packages/vega/tsup.config.ts b/packages/vega/tsup.config.tsindex 3e128cce67..da071bf394 100644--- a/packages/vega/tsup.config.ts+++ b/packages/vega/tsup.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file tsup.config.ts* @input Uses tsupdiff --git a/scripts/add-copyright.sh b/scripts/add-copyright.shnew file mode 100755index 0000000000..0a9c066506--- /dev/null+++ b/scripts/add-copyright.sh@@ -0,0 +1,107 @@+#!/usr/bin/env bash+# scripts/add-copyright.sh — Add copyright notice to all source files+#+# Usage: ./scripts/add-copyright.sh [--check]+# --check Report files missing the copyright notice without modifying them.+# Exits 0 if all files have it, 1 otherwise.++set -euo pipefail++COPYRIGHT="Copyright (c) Meta Platforms, Inc. and affiliates."++CHECK_ONLY=false+if [[ "${1:-}" == "--check" ]]; then+ CHECK_ONLY=true+fi++REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"+cd "$REPO_ROOT"++# Collect source files, excluding:+# - node_modules, .git, dist, .claude (worktrees), .changeset+# - markdown, json, lock, map, image, font, svg, snap, license/readme+# - .husky internals+SOURCE_FILES=()+while IFS= read -r -d '' file; do+ SOURCE_FILES+=("$file")+done < <(+ find . -type f \+ \( -name '*.ts' -o -name '*.tsx' \+ -o -name '*.js' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.jsx' \+ -o -name '*.css' \+ -o -name '*.sh' \+ -o -name '*.py' \+ -o -name '*.yml' -o -name '*.yaml' \+ -o -name '*.html' \) \+ -not -path '*/node_modules/*' \+ -not -path '*/.git/*' \+ -not -path '*/dist/*' \+ -not -path '*/.claude/*' \+ -not -path '*/.changeset/*' \+ -not -path '*/.next/*' \+ -not -path '*/.husky/_/*' \+ -not -path '*/__snapshots__/*' \+ -print0+)++# Comment syntax per file extension+comment_for() {+ local file="$1"+ case "$file" in+ *.css) echo "/* $COPYRIGHT */";;+ *.html) echo "<!-- $COPYRIGHT -->";;+ *.sh|*.py|*.yml|*.yaml)+ echo "# $COPYRIGHT";;+ *) echo "// $COPYRIGHT";;+ esac+}++missing=()+modified=()++for file in "${SOURCE_FILES[@]}"; do+ if grep -qF "$COPYRIGHT" "$file"; then+ continue+ fi++ missing+=("$file")++ if $CHECK_ONLY; then+ continue+ fi++ comment="$(comment_for "$file")"+ first_line="$(head -n1 "$file")"++ # Preserve shebangs — insert copyright on line 2+ if [[ "$first_line" == "#!"* ]]; then+ # Insert after shebang with a blank line separator+ tmp="$(mktemp)"+ { head -n1 "$file"; echo "$comment"; echo ""; tail -n +2 "$file"; } > "$tmp"+ mv "$tmp" "$file"+ else+ tmp="$(mktemp)"+ { echo "$comment"; echo ""; cat "$file"; } > "$tmp"+ mv "$tmp" "$file"+ fi++ modified+=("$file")+done++if $CHECK_ONLY; then+ if [[ ${#missing[@]} -gt 0 ]]; then+ echo "Files missing copyright notice (${#missing[@]}):"+ printf ' %s\n' "${missing[@]}"+ exit 1+ else+ echo "All files have the copyright notice."+ exit 0+ fi+fi++if [[ ${#modified[@]} -gt 0 ]]; then+ echo "Added copyright notice to ${#modified[@]} files:"+ printf ' %s\n' "${modified[@]}"+else+ echo "All files already have the copyright notice."+fidiff --git a/scripts/build-css.mjs b/scripts/build-css.mjsindex 2be05d81cf..f0a7d2da67 100644--- a/scripts/build-css.mjs+++ b/scripts/build-css.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file build-css.mjs* Post-build script that extracts StyleX CSS from compiled source filesdiff --git a/scripts/build-css.test.mjs b/scripts/build-css.test.mjsindex 870feecb50..a924586b58 100644--- a/scripts/build-css.test.mjs+++ b/scripts/build-css.test.mjs@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file build-css.test.mjs* Integration test for build-css.mjsdiff --git a/scripts/bundle-analysis.mjs b/scripts/bundle-analysis.mjsindex 69b36c7b95..d7343b82f5 100644--- a/scripts/bundle-analysis.mjs+++ b/scripts/bundle-analysis.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** XDS Bundle Size Analysisdiff --git a/scripts/check-package-boundaries.js b/scripts/check-package-boundaries.jsindex 19ec0fb321..175e4fbdba 100644--- a/scripts/check-package-boundaries.js+++ b/scripts/check-package-boundaries.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Package Boundary Checkdiff --git a/scripts/check-sync.js b/scripts/check-sync.jsindex 4725a8f16c..af31313b52 100644--- a/scripts/check-sync.js+++ b/scripts/check-sync.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** SYNC Comment Night Watchdiff --git a/scripts/check-use-client.mjs b/scripts/check-use-client.mjsold mode 100755new mode 100644index 0d43692abd..cf187730da--- a/scripts/check-use-client.mjs+++ b/scripts/check-use-client.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Source check: verify files using React client APIs have "use client"* as their FIRST LINE (before any comments or JSDoc).diff --git a/scripts/fix-use-client-dist.mjs b/scripts/fix-use-client-dist.mjsindex cea332cb94..5fc6a32814 100644--- a/scripts/fix-use-client-dist.mjs+++ b/scripts/fix-use-client-dist.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** Post-build: ensure "use client" is the FIRST LINE of dist files that need it.* tsup may insert babel helpers before the directive — this moves it to line 1.diff --git a/scripts/generate-token-docs.mjs b/scripts/generate-token-docs.mjsindex c286de93ce..86b5334a3e 100644--- a/scripts/generate-token-docs.mjs+++ b/scripts/generate-token-docs.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file generate-token-docs.mjs@@ -248,6 +250,8 @@ const totalTokens = groups.reduce();const output = `\+// Copyright (c) Meta Platforms, Inc. and affiliates.+// AUTO-GENERATED — do not edit manually.// Source: packages/core/src/theme/tokens.stylex.ts// Run: node scripts/generate-token-docs.mjsdiff --git a/scripts/package-source.js b/scripts/package-source.jsindex 7ea7da4cc5..e3830e1ef6 100644--- a/scripts/package-source.js+++ b/scripts/package-source.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file package-source.js* @description Packages XDS raw source files into a distributable tarballdiff --git a/scripts/postbuild-use-client.mjs b/scripts/postbuild-use-client.mjsindex 250690ed50..be7ff9cd73 100644--- a/scripts/postbuild-use-client.mjs+++ b/scripts/postbuild-use-client.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file postbuild-use-client.mjs* @position Post-build script for @xds/corediff --git a/scripts/prune-branches.sh b/scripts/prune-branches.shold mode 100755new mode 100644index c86bec55f9..7ecd8873e2--- a/scripts/prune-branches.sh+++ b/scripts/prune-branches.sh@@ -1,4 +1,6 @@#!/usr/bin/env bash+# Copyright (c) Meta Platforms, Inc. and affiliates.+# scripts/prune-branches.sh — Delete remote branches with merged/closed PRs## Usage:diff --git a/scripts/sync-exports.js b/scripts/sync-exports.jsindex 0a2279e1cf..345dbb3fdb 100644--- a/scripts/sync-exports.js+++ b/scripts/sync-exports.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file sync-exports.js* @description Auto-generates the "exports" map in packages/core/package.jsondiff --git a/scripts/sync-templates.js b/scripts/sync-templates.jsindex 0e8cfc9a5c..ea76baadb4 100644--- a/scripts/sync-templates.js+++ b/scripts/sync-templates.js@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file sync-templates.js@@ -13,6 +15,7 @@const fs = require('fs');const path = require('path');+const COPYRIGHT = '// Copyright (c) Meta Platforms, Inc. and affiliates.\n\n';const ROOT = path.resolve(__dirname, '..');const TEMPLATES_DIR = path.join(ROOT, 'packages', 'cli', 'templates');const PAGES_DIR = path.join(TEMPLATES_DIR, 'pages');@@ -142,7 +145,7 @@ ${extras}}).join('\n');- return `/**+ return `${COPYRIGHT}/*** AUTO-GENERATED by scripts/sync-templates.js — do not edit.*/@@ -168,7 +171,7 @@ function generateSourceRegistry(items) {return ` ${JSON.stringify('/templates/' + t.dirName + '/')}: ${JSON.stringify(source)}`;});- return `/**+ return `${COPYRIGHT}/*** AUTO-GENERATED by scripts/sync-templates.js — do not edit.* Maps template/block hrefs to their raw source code.*/@@ -181,7 +184,7 @@ ${entries.join(',\n')}function generatePageRouteWrapper(template) {const depth = '../../../../../../../packages/cli/templates/pages';- return `/**+ return `${COPYRIGHT}/*** AUTO-GENERATED by scripts/sync-templates.js — do not edit.* Template: ${template.name}*/@@ -205,7 +208,7 @@ function generateBlockRouteWrapper(block) {);if (block.isShowcase) {- return `'use client';+ return `${COPYRIGHT}'use client';/*** AUTO-GENERATED by scripts/sync-templates.js — do not edit.* Block: ${block.name} (showcase)@@ -223,7 +226,7 @@ export default function Page() {`;}- return `'use client';+ return `${COPYRIGHT}'use client';/*** AUTO-GENERATED by scripts/sync-templates.js — do not edit.* Block: ${block.name}diff --git a/scripts/verify-exports.mjs b/scripts/verify-exports.mjsindex dcb6aa8b53..b4f694cd11 100644--- a/scripts/verify-exports.mjs+++ b/scripts/verify-exports.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** verify-exports.mjsdiff --git a/vitest.config.ts b/vitest.config.tsindex 0d9f8613fa..6b4b102a10 100644--- a/vitest.config.ts+++ b/vitest.config.ts@@ -1,3 +1,5 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.+/*** @file vitest.config.ts* @input Uses vitest/config, @vitejs/plugin-react