Skip to content

feat(angular)!: style the v2 components with core's shared CSS instead of Tailwind - #8104

Merged
AlemTuzlak merged 3 commits into
alem/pe-1130-native-stylesfrom
alem/pe-1130-angular-native-styles
Oct 30, 2026
Merged

AlemTuzlak merged 3 commits into
alem/pe-1130-native-stylesfrom
alem/pe-1130-angular-native-styles

Conversation

@AlemTuzlak

@AlemTuzlak AlemTuzlak commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Angular apps no longer add a stylesheet. The Angular v2 components now use the same CSS as React, from @copilotkit/core. The chat view, popup, and sidebar render <copilot-kit-styles>, and Angular adds the CSS to the page once, including in server-rendered HTML. Tailwind is gone from @copilotkit/angular. The popup and sidebar now look like React's.

This PR is stacked on #8088. Review and merge #8088 first.

BREAKING CHANGE: @copilotkit/angular/styles.css is removed. Remove it from angular.json or from your global stylesheet, or run the codemod from #8088:

npx jscodeshift --parser=tsx --extensions=tsx,ts,jsx,js,css,scss,vue,json \
  -t https://raw.githubusercontent.com/CopilotKit/CopilotKit/main/codemods/remove-stylesheet-import.ts \
  ./src angular.json

What does this PR do?

  • Same markup as React. Every Angular component that used Tailwind cpk: classes now renders React's cpk-* classes and DOM structure. This includes the attachment renderer. copilot-icon takes a new iconClass input for the <svg>.
  • <copilot-kit-styles> (CopilotKitStyles). This is a new export. It uses ViewEncapsulation.None with styles: [stylesheet], so Angular adds the CSS to <head> once, puts it in the SSR HTML, and applies CSP_NONCE. provideCopilotKit({ injectStyles: false }) turns it off.
  • Popup and sidebar. Their focus trap, aria-modal, Escape, and docking do not change. They now use React's toggle button, header, window, panel, and welcome screens.
  • Build-time copy of the CSS. The Angular compiler reads styles at compile time, so it cannot use a value imported from another package. scripts/generate-stylesheet.mjs writes a git-ignored stylesheet.ts from @copilotkit/core/styles before build, dev, test, and check-types.
  • Removed: Tailwind, tailwind-merge, clsx, tw-animate-css, build:css, src/styles/, scope-preflight.mjs, and the ./styles.css export. cn() stays, because it is public API. It is now a plain class join, like React's.

Also in this PR:

  1. The demo's angular.json and the showcase's angular.json do not list the old CSS. The showcase compiles the package from source, so the stylesheet counts as one component style there. Its anyComponentStyle budget goes from 32 kB to 96 kB. Apps that install the package do not count library styles in this budget. The storybook wraps stories in <copilot-kit-styles />, and has two new stories with CopilotChat in the popup and sidebar.
  2. Docs: the @copilotkit/angular/styles.css setup is gone from the docs and the README. The Angular reference has a Styling section with "Load the CSS as a cached file". API.md lists CopilotKitStyles.

Size (gzip)

Before After
CSS 11.4 KB, a file that users add 13.4 KB, inside the components
tailwind-merge, clsx in the bundle 0

The shared stylesheet also has rules for components that only React has.

Feature parity with React

A second commit adds React's chat features that Angular did not have. There are no new dependencies. highlight.js is removed.

  1. Tooltips with React's markup and shared CSS, placed with the CDK overlay. They open at once (tooltipDelay is now 0), and close on pointer leave, click, scroll, and Escape.
  2. An attachment lightbox for images in the queue and in sent messages, and a play button on queued videos. The thumbnail is a button, and the lightbox is a modal dialog that keeps focus and returns it. React does not do these two things.
  3. React's default tool-call card, grouped calls, and a toolCallDisplay input (grouped, line, stacked, separate).
  4. React's compact and expanded input layouts, and React's spinner while the input processes.
  5. React's code block markup, and the Inspector button and menu in the assistant toolbar.

Not in this PR, because each one is a large port:

  • The "turn" display ("Worked for 9s").
  • The reply-ratings popover. It needs React's feedback store and Trajectory capture, which Angular does not have.
  • React's group and inspectorButton slots, and the lightbox preview for queued PDF and text files.

Related PRs and Issues

Checklist

  • I have read the Contribution Guide
  • If the PR changes or adds functionality, I have updated the relevant documentation
  • If the PR contains a breaking change, the title has ! (for example feat(react-core)!: ...) and the description has a BREAKING CHANGE: line with migration steps. See VERSIONING.md
  • "Allow edits by maintainers" is checked (lets us help iterate on your PR directly — faster turnaround for everyone)

Testing

Commands run

  • nx run-many -t build,test,check-types,publint,attw -p @copilotkit/angular: pass. 624 tests pass, 1 skipped.
  • nx run-many -t build,test -p @copilotkit/core @copilotkit/react-core: pass. The parity commit adds one class to core CSS, which React does not use.
  • The pre-commit hook's test,publint,attw on all 34 affected projects: pass. The Go, .NET, and Ruby suites did not run, because these toolchains are not installed on my machine. Both commits skip that hook for this reason.
  • nx run @copilotkit/showcase-angular-host:build, test and typecheck: pass, including its bundle-size check and artifact audit.
  • SSR on Angular 22, with @angular/platform-server added for the test and then removed: the server HTML has one <style nonce="…"> in <head>, and none with injectStyles: false.
  • Visual compare against the React storybook, light and dark. The chat view, welcome screen, input, messages, popup, and sidebar match. The tool-call stories use different custom renderers, so they cannot be compared.

Manual test

  1. Run pnpm nx run @copilotkit-storybook/angular:dev and open http://localhost:6007.
  2. Open the chat, popup, and sidebar stories in light and dark. Compare them with the React storybook.
  3. In the browser devtools, make sure that the page has one CopilotKit <style> tag and no CopilotKit .css file.

How this PR makes testing easy

  • packages/angular/src/lib/components/copilot-kit-styles.spec.ts covers a single copy, injection from the chat view and from a closed popup and sidebar, the opt-out, and the nonce. Other specs cover the popup and sidebar welcome layouts. New specs cover the tooltip, lightbox, tool-call display, input layout, and Inspector button. Each test fails when its behavior is broken (16 deliberate breaks for the parity commit).

Risk / rollback

  • Apps that keep the stylesheet do not build. The build fails because @copilotkit/angular/styles.css does not exist. The codemod removes it. The release notes must say this.
  • Standalone parts need the styles. An input or message component rendered without the chat view, popup, or sidebar needs <copilot-kit-styles />, as in React.
  • Lost features. Code blocks have no syntax colours and no copy button, as in React.
  • New defaults. With defaultToolRendering: true, tool calls are grouped. Tooltips open with no delay.
  • Different look. The popup and sidebar follow React's design. Their backdrop no longer dims the page. cn() no longer merges conflicting Tailwind classes.
  • examples/integrations/adk-angular pins the published 0.5.2 and imports the old stylesheet. It breaks when its version is bumped.
  • Rollback: revert this PR. The Tailwind build and the ./styles.css export come back.

Public API change

Before

/* src/styles.css */
@import "@copilotkit/angular/styles.css";

After

// No stylesheet. Optional: load the CSS as a cached file instead.
// angular.json "styles": ["node_modules/@copilotkit/core/styles.css"]
provideCopilotKit({ runtimeUrl: "/api/copilotkit", injectStyles: false });
<!-- Only for input or message components rendered without a chat surface -->
<copilot-kit-styles />

🤖 Generated with Claude Code

…d of Tailwind

Angular components now render React's `cpk-*` classes and markup, so the
stylesheet from `@copilotkit/core/styles` applies to them. The chat view,
popup and sidebar render the new `<copilot-kit-styles>`, which Angular adds
to the page once, including in server-rendered HTML, with its CSP_NONCE.
`provideCopilotKit({ injectStyles: false })` turns it off. The popup and
sidebar take React's toggle button, header, window and welcome screen.

BREAKING CHANGE: `@copilotkit/angular/styles.css` is removed. Remove it
from angular.json or your global stylesheet, or run the
remove-stylesheet-import codemod. Input and message components rendered
without a chat surface need `<copilot-kit-styles />`. `cn()` no longer
merges conflicting Tailwind classes. The popup and sidebar no longer dim
the page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 1
  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 43 services digest-pinned.

Run 2026-10-30 05:26:11 PDT — 0 finding(s).

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Size Change: +92 B (0%)

Total Size: 2.39 MB

📦 View Changed
Filename Size Change
packages/core/dist/styles.cjs 13.4 kB +46 B (+0.34%)
packages/core/dist/styles.mjs 13.4 kB +46 B (+0.34%)
ℹ️ View Unchanged
Filename Size
packages/a2ui-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/a2ui-renderer/dist/a2ui-types.cjs 472 B
packages/a2ui-renderer/dist/a2ui-types.mjs 469 B
packages/a2ui-renderer/dist/index.cjs 959 B
packages/a2ui-renderer/dist/index.mjs 637 B
packages/a2ui-renderer/dist/index.umd.js 13.5 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.cjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.mjs 1.46 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.cjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.mjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.mjs 508 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.cjs 1.03 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.mjs 622 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.cjs 845 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.mjs 435 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.cjs 1.11 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.mjs 1.04 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.cjs 799 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.mjs 737 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.cjs 1.65 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.mjs 1.58 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.mjs 1.05 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.mjs 446 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.cjs 877 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.mjs 469 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.cjs 995 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.mjs 587 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.mjs 508 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.mjs 1.15 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.cjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.mjs 801 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.mjs 1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.cjs 1.11 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.mjs 1.06 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.cjs 919 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.mjs 504 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.cjs 1.22 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.mjs 1.15 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.cjs 788 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.mjs 378 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.cjs 928 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.mjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.cjs 594 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.mjs 571 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.cjs 989 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.mjs 584 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.cjs 800 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.mjs 735 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.cjs 1.08 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.mjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.cjs 894 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.mjs 839 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.cjs 849 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.mjs 804 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.cjs 310 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.mjs 325 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.cjs 1.66 kB
packages/a2ui-renderer/dist/react-renderer/catalog-utils.mjs 1.59 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.cjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.mjs 1.42 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.cjs 728 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.mjs 671 B
packages/a2ui-renderer/dist/react-renderer/create-catalog.cjs 1.35 kB
packages/a2ui-renderer/dist/react-renderer/create-catalog.mjs 1.28 kB
packages/a2ui-renderer/dist/react-renderer/filter-catalog.cjs 622 B
packages/a2ui-renderer/dist/react-renderer/filter-catalog.mjs 569 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.cjs 316 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.mjs 309 B
packages/a2ui-renderer/dist/react-renderer/index.cjs 409 B
packages/a2ui-renderer/dist/react-renderer/index.mjs 568 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.cjs 236 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.mjs 188 B
packages/a2ui-renderer/dist/react-renderer/styles/index.cjs 239 B
packages/a2ui-renderer/dist/react-renderer/styles/index.mjs 231 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.cjs 436 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.mjs 381 B
packages/core/dist/index.cjs 107 kB
packages/core/dist/index.mjs 106 kB
packages/core/dist/index.umd.js 113 kB
packages/mcp-apps-renderer/dist/activity.cjs 259 B
packages/mcp-apps-renderer/dist/activity.mjs 170 B
packages/mcp-apps-renderer/dist/activity.umd.js 2.24 kB
packages/mcp-apps-renderer/dist/constants.cjs 714 B
packages/mcp-apps-renderer/dist/constants.mjs 712 B
packages/mcp-apps-renderer/dist/content-schema.cjs 768 B
packages/mcp-apps-renderer/dist/content-schema.mjs 765 B
packages/mcp-apps-renderer/dist/follow-up.cjs 796 B
packages/mcp-apps-renderer/dist/follow-up.mjs 794 B
packages/mcp-apps-renderer/dist/index.mjs 369 B
packages/mcp-apps-renderer/dist/request-queue.mjs 2.39 kB
packages/mcp-apps-renderer/dist/sandbox.mjs 2 kB
packages/mcp-apps-renderer/dist/session.mjs 6.91 kB
packages/react-core/dist/copilotkit-BQHkGCPa.mjs 152 kB
packages/react-core/dist/copilotkit-CZvc3ilL.cjs 148 kB
packages/react-core/dist/index.cjs 17.9 kB
packages/react-core/dist/index.mjs 17.8 kB
packages/react-core/dist/index.umd.js 116 kB
packages/react-core/dist/MarkdownSurfaces-DbY8D_D_.cjs 39.5 kB
packages/react-core/dist/MarkdownSurfaces-DGfVNiva.mjs 38.9 kB
packages/react-core/dist/v2/context.cjs 1.58 kB
packages/react-core/dist/v2/context.mjs 1.5 kB
packages/react-core/dist/v2/generative-ui.cjs 71.1 kB
packages/react-core/dist/v2/generative-ui.mjs 70.5 kB
packages/react-core/dist/v2/headless.cjs 17.7 kB
packages/react-core/dist/v2/headless.mjs 17.2 kB
packages/react-core/dist/v2/index.cjs 4.4 kB
packages/react-core/dist/v2/index.mjs 4.38 kB
packages/react-core/dist/v2/index.umd.js 185 kB
packages/react-native/dist/components/index.cjs 8.15 kB
packages/react-native/dist/components/index.mjs 8.01 kB
packages/react-native/dist/CopilotKitProvider-DaZQu8Ce.mjs 1.49 kB
packages/react-native/dist/CopilotKitProvider-DpJX6g4_.cjs 1.59 kB
packages/react-native/dist/headless.cjs 641 B
packages/react-native/dist/headless.mjs 373 B
packages/react-native/dist/index.cjs 6.59 kB
packages/react-native/dist/index.mjs 6.23 kB
packages/react-native/dist/Markdown-C_9Re36O.cjs 803 B
packages/react-native/dist/Markdown-C6AsLHmd.mjs 677 B
packages/react-native/dist/MarkdownRendererContext-BRNe808d.cjs 915 B
packages/react-native/dist/MarkdownRendererContext-CAnuohIS.mjs 431 B
packages/react-native/dist/polyfills.cjs 193 B
packages/react-native/dist/polyfills.mjs 195 B
packages/react-native/dist/polyfills/crypto.cjs 373 B
packages/react-native/dist/polyfills/crypto.mjs 381 B
packages/react-native/dist/polyfills/dom.cjs 540 B
packages/react-native/dist/polyfills/dom.mjs 550 B
packages/react-native/dist/polyfills/encoding.cjs 345 B
packages/react-native/dist/polyfills/encoding.mjs 307 B
packages/react-native/dist/polyfills/location.cjs 236 B
packages/react-native/dist/polyfills/location.mjs 244 B
packages/react-native/dist/polyfills/streams.cjs 383 B
packages/react-native/dist/polyfills/streams.mjs 339 B
packages/react-native/dist/streaming-fetch-Bm91EsRc.cjs 2.36 kB
packages/react-native/dist/streaming-fetch-Dm1oN4f2.mjs 2.31 kB
packages/react-textarea/dist/index.cjs 17.6 kB
packages/react-textarea/dist/index.mjs 16.9 kB
packages/react-textarea/dist/index.umd.js 18.4 kB
packages/react-ui/dist/index.cjs 25.3 kB
packages/react-ui/dist/index.mjs 24.6 kB
packages/react-ui/dist/index.umd.js 26.6 kB
packages/runtime-client-gql/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/runtime-client-gql/dist/client/conversion.cjs 1.52 kB
packages/runtime-client-gql/dist/client/conversion.mjs 1.45 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.cjs 1.58 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.mjs 1.54 kB
packages/runtime-client-gql/dist/client/types.cjs 701 B
packages/runtime-client-gql/dist/client/types.mjs 642 B
packages/runtime-client-gql/dist/graphql/@generated/gql.cjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/gql.mjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/graphql.cjs 2.4 kB
packages/runtime-client-gql/dist/graphql/@generated/graphql.mjs 2.36 kB
packages/runtime-client-gql/dist/graphql/definitions/mutations.cjs 740 B
packages/runtime-client-gql/dist/graphql/definitions/mutations.mjs 732 B
packages/runtime-client-gql/dist/graphql/definitions/queries.cjs 316 B
packages/runtime-client-gql/dist/graphql/definitions/queries.mjs 304 B
packages/runtime-client-gql/dist/index.cjs 679 B
packages/runtime-client-gql/dist/index.mjs 495 B
packages/runtime-client-gql/dist/index.umd.js 9.58 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.cjs 1.72 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.mjs 1.7 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.cjs 1.56 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.mjs 1.53 kB
packages/runtime-client-gql/dist/package.cjs 181 B
packages/runtime-client-gql/dist/package.mjs 116 B
packages/shared/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/shared/dist/a2ui-envelope.cjs 2.45 kB
packages/shared/dist/a2ui-envelope.mjs 2.43 kB
packages/shared/dist/a2ui-prompts.cjs 7.65 kB
packages/shared/dist/a2ui-prompts.mjs 7.59 kB
packages/shared/dist/attachments/content.cjs 255 B
packages/shared/dist/attachments/content.mjs 253 B
packages/shared/dist/attachments/utils.cjs 1.83 kB
packages/shared/dist/attachments/utils.mjs 1.79 kB
packages/shared/dist/constants/index.cjs 501 B
packages/shared/dist/constants/index.mjs 480 B
packages/shared/dist/debug.cjs 454 B
packages/shared/dist/debug.mjs 452 B
packages/shared/dist/event-transforms/index.cjs 335 B
packages/shared/dist/event-transforms/index.mjs 165 B
packages/shared/dist/event-transforms/open-generative-ui-middleware.cjs 2.42 kB
packages/shared/dist/event-transforms/open-generative-ui-middleware.mjs 2.35 kB
packages/shared/dist/event-transforms/recorded-events.cjs 988 B
packages/shared/dist/event-transforms/recorded-events.mjs 925 B
packages/shared/dist/finalize-events.cjs 1.94 kB
packages/shared/dist/finalize-events.mjs 1.88 kB
packages/shared/dist/generative-ui/basic-functions.cjs 2.46 kB
packages/shared/dist/generative-ui/basic-functions.mjs 2.41 kB
packages/shared/dist/generative-ui/child-refs.cjs 2.34 kB
packages/shared/dist/generative-ui/child-refs.mjs 2.27 kB
packages/shared/dist/generative-ui/is-record.cjs 226 B
packages/shared/dist/generative-ui/is-record.mjs 223 B
packages/shared/dist/generative-ui/prompt.cjs 3.65 kB
packages/shared/dist/generative-ui/prompt.mjs 3.63 kB
packages/shared/dist/generative-ui/render-ui-args.cjs 1.48 kB
packages/shared/dist/generative-ui/render-ui-args.mjs 1.46 kB
packages/shared/dist/generative-ui/types.cjs 1.57 kB
packages/shared/dist/generative-ui/types.mjs 1.52 kB
packages/shared/dist/generative-ui/validate-operation.cjs 5.61 kB
packages/shared/dist/generative-ui/validate-operation.mjs 5.55 kB
packages/shared/dist/index.cjs 3.85 kB
packages/shared/dist/index.mjs 3.25 kB
packages/shared/dist/index.umd.js 53.8 kB
packages/shared/dist/intelligence-routing-fields.cjs 778 B
packages/shared/dist/intelligence-routing-fields.mjs 775 B
packages/shared/dist/logger.cjs 112 B
packages/shared/dist/logger.mjs 112 B
packages/shared/dist/open-generative-ui-prompts.cjs 1.59 kB
packages/shared/dist/open-generative-ui-prompts.mjs 1.59 kB
packages/shared/dist/package.cjs 181 B
packages/shared/dist/package.mjs 116 B
packages/shared/dist/standard-schema.cjs 740 B
packages/shared/dist/standard-schema.mjs 737 B
packages/shared/dist/telemetry/index.cjs 358 B
packages/shared/dist/telemetry/index.mjs 250 B
packages/shared/dist/telemetry/lambda-client.cjs 1.59 kB
packages/shared/dist/telemetry/lambda-client.mjs 1.58 kB
packages/shared/dist/telemetry/model-host.cjs 1.63 kB
packages/shared/dist/telemetry/model-host.mjs 1.63 kB
packages/shared/dist/telemetry/sampling.cjs 956 B
packages/shared/dist/telemetry/sampling.mjs 935 B
packages/shared/dist/telemetry/telemetry-client.cjs 1.89 kB
packages/shared/dist/telemetry/telemetry-client.mjs 1.83 kB
packages/shared/dist/telemetry/telemetry-disabled.cjs 454 B
packages/shared/dist/telemetry/telemetry-disabled.mjs 451 B
packages/shared/dist/telemetry/utils.cjs 271 B
packages/shared/dist/telemetry/utils.mjs 268 B
packages/shared/dist/transcription-errors.cjs 951 B
packages/shared/dist/transcription-errors.mjs 944 B
packages/shared/dist/utils/clipboard.cjs 407 B
packages/shared/dist/utils/clipboard.mjs 405 B
packages/shared/dist/utils/conditions.cjs 540 B
packages/shared/dist/utils/conditions.mjs 536 B
packages/shared/dist/utils/console-styling.cjs 1.23 kB
packages/shared/dist/utils/console-styling.mjs 1.21 kB
packages/shared/dist/utils/dashboard-url.cjs 415 B
packages/shared/dist/utils/dashboard-url.mjs 413 B
packages/shared/dist/utils/errors.cjs 4.51 kB
packages/shared/dist/utils/errors.mjs 4.41 kB
packages/shared/dist/utils/index.cjs 1.5 kB
packages/shared/dist/utils/index.mjs 1.82 kB
packages/shared/dist/utils/inspector-learning.cjs 2.74 kB
packages/shared/dist/utils/inspector-learning.mjs 2.73 kB
packages/shared/dist/utils/inspector-metadata.cjs 1.44 kB
packages/shared/dist/utils/inspector-metadata.mjs 1.43 kB
packages/shared/dist/utils/inspector-visibility.cjs 285 B
packages/shared/dist/utils/inspector-visibility.mjs 282 B
packages/shared/dist/utils/json-schema.cjs 1.97 kB
packages/shared/dist/utils/json-schema.mjs 1.91 kB
packages/shared/dist/utils/random-id.cjs 618 B
packages/shared/dist/utils/random-id.mjs 559 B
packages/shared/dist/utils/requests.cjs 706 B
packages/shared/dist/utils/requests.mjs 704 B
packages/shared/dist/utils/row-render-keys.cjs 3.38 kB
packages/shared/dist/utils/row-render-keys.mjs 3.36 kB
packages/shared/dist/utils/types.cjs 161 B
packages/shared/dist/utils/types.mjs 160 B
packages/voice/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/voice/dist/index.cjs 175 B
packages/voice/dist/index.mjs 95 B
packages/voice/dist/index.umd.js 1.5 kB
packages/voice/dist/transcription/transcription-service-openai.cjs 495 B
packages/voice/dist/transcription/transcription-service-openai.mjs 434 B
packages/web-inspector/dist/assets/inspector-logo-kite.cjs 2.36 kB
packages/web-inspector/dist/assets/inspector-logo-kite.mjs 2.3 kB
packages/web-inspector/dist/assets/inspector-logo.cjs 4.32 kB
packages/web-inspector/dist/assets/inspector-logo.mjs 4.23 kB
packages/web-inspector/dist/components/generative-ui-view.cjs 7.95 kB
packages/web-inspector/dist/components/generative-ui-view.mjs 7.93 kB
packages/web-inspector/dist/components/learning-view.cjs 11.2 kB
packages/web-inspector/dist/components/learning-view.mjs 11.2 kB
packages/web-inspector/dist/index.cjs 132 kB
packages/web-inspector/dist/index.mjs 132 kB
packages/web-inspector/dist/index.umd.js 209 kB
packages/web-inspector/dist/lib/context-helpers.cjs 866 B
packages/web-inspector/dist/lib/context-helpers.mjs 835 B
packages/web-inspector/dist/lib/home-briefing.cjs 2.8 kB
packages/web-inspector/dist/lib/home-briefing.mjs 2.79 kB
packages/web-inspector/dist/lib/hud-config.cjs 1.34 kB
packages/web-inspector/dist/lib/hud-config.mjs 1.33 kB
packages/web-inspector/dist/lib/hud-defaults.cjs 287 B
packages/web-inspector/dist/lib/hud-defaults.mjs 285 B
packages/web-inspector/dist/lib/hud-loader.cjs 557 B
packages/web-inspector/dist/lib/hud-loader.mjs 546 B
packages/web-inspector/dist/lib/inspector-learning.cjs 754 B
packages/web-inspector/dist/lib/inspector-learning.mjs 732 B
packages/web-inspector/dist/lib/inspector-metadata.cjs 760 B
packages/web-inspector/dist/lib/inspector-metadata.mjs 750 B
packages/web-inspector/dist/lib/inspector-nav.cjs 685 B
packages/web-inspector/dist/lib/inspector-nav.mjs 661 B
packages/web-inspector/dist/lib/json-block.cjs 1.95 kB
packages/web-inspector/dist/lib/json-block.mjs 1.91 kB
packages/web-inspector/dist/lib/learning-setup.cjs 1.12 kB
packages/web-inspector/dist/lib/learning-setup.mjs 1.09 kB
packages/web-inspector/dist/lib/notification-loader.cjs 792 B
packages/web-inspector/dist/lib/notification-loader.mjs 786 B
packages/web-inspector/dist/lib/notifications.cjs 2.39 kB
packages/web-inspector/dist/lib/notifications.mjs 2.37 kB
packages/web-inspector/dist/lib/onboarding-prompt.cjs 2.38 kB
packages/web-inspector/dist/lib/onboarding-prompt.mjs 2.37 kB
packages/web-inspector/dist/lib/persistence.cjs 3.61 kB
packages/web-inspector/dist/lib/persistence.mjs 3.52 kB
packages/web-inspector/dist/lib/pop-out.cjs 1.07 kB
packages/web-inspector/dist/lib/pop-out.mjs 1.05 kB
packages/web-inspector/dist/lib/telemetry.cjs 5.59 kB
packages/web-inspector/dist/lib/telemetry.mjs 5.38 kB
packages/web-inspector/dist/lib/thread-selection.cjs 566 B
packages/web-inspector/dist/lib/thread-selection.mjs 563 B
packages/web-inspector/dist/package.cjs 181 B
packages/web-inspector/dist/package.mjs 116 B
packages/web-inspector/dist/styles/generated.cjs 20.1 kB
packages/web-inspector/dist/styles/generated.mjs 20 kB
packages/web-inspector/dist/styles/notification-article.cjs 1.44 kB
packages/web-inspector/dist/styles/notification-article.mjs 1.44 kB

compressed-size-action

@pkg-pr-new

pkg-pr-new Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
@copilotkit/a2ui-renderer

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/a2ui-renderer@8104

@copilotkit/agentcore-runner

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/agentcore-runner@8104

@copilotkit/angular

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/angular@8104

@copilotkit/channels

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/channels@8104

@copilotkit/channels-core

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/channels-core@8104

@copilotkit/channels-discord

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/channels-discord@8104

@copilotkit/channels-intelligence

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/channels-intelligence@8104

@copilotkit/channels-slack

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/channels-slack@8104

@copilotkit/channels-teams

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/channels-teams@8104

@copilotkit/channels-ui

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/channels-ui@8104

@copilotkit/channels-whatsapp

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/channels-whatsapp@8104

@copilotkit/core

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/core@8104

@copilotkit/intelligence-langgraph

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/intelligence-langgraph@8104

@copilotkit/intelligence-mastra

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/intelligence-mastra@8104

@copilotkit/learning

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/learning@8104

@copilotkit/markdown-renderer

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/markdown-renderer@8104

@copilotkit/mcp-apps-renderer

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/mcp-apps-renderer@8104

@copilotkit/react-core

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/react-core@8104

@copilotkit/react-native

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/react-native@8104

@copilotkit/react-textarea

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/react-textarea@8104

@copilotkit/react-ui

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/react-ui@8104

@copilotkit/runtime

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/runtime@8104

@copilotkit/runtime-client-gql

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/runtime-client-gql@8104

@copilotkit/sdk-js

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/sdk-js@8104

@copilotkit/shared

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/shared@8104

@copilotkit/sqlite-runner

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/sqlite-runner@8104

@copilotkit/voice

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/voice@8104

@copilotkit/vue

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/vue@8104

@copilotkit/web-components

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/web-components@8104

@copilotkit/web-inspector

pnpm add https://pkg.pr.new/CopilotKit/CopilotKit/@copilotkit/web-inspector@8104

commit: e4d5f93

AlemTuzlak and others added 2 commits October 30, 2026 13:10
…put and code blocks

- Tooltips render React's markup and shared CSS, placed with the CDK
  overlay, and open at once as in React (`tooltipDelay` defaults to 0).
- An attachment lightbox for images in the queue and in sent messages, and
  a play button on queued videos. Sent documents are download links.
- React's default tool-call card, grouped calls and the `toolCallDisplay`
  input (grouped, line, stacked, separate).
- React's compact and expanded input layouts, and its spinner while
  processing.
- React's code block markup, without syntax highlighting.
- The Inspector button and menu in the assistant toolbar.

BREAKING CHANGE: code blocks no longer have syntax colours or a copy
button, and highlight.js is no longer a dependency. With
`defaultToolRendering: true`, tool calls are grouped by default. The
default `tooltipDelay` is 0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Angular package no longer ships styles.css, so drop it from the
showcase's global styles and from the staged package exports. The
showcase compiles the package from source, so the shared stylesheet now
counts as one component style; raise the anyComponentStyle budget to fit it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@AlemTuzlak
AlemTuzlak merged commit 953ae6c into alem/pe-1130-native-styles Oct 30, 2026
30 of 31 checks passed
@AlemTuzlak
AlemTuzlak deleted the alem/pe-1130-angular-native-styles branch October 30, 2026 12:32
AlemTuzlak added a commit that referenced this pull request Oct 30, 2026
… no stylesheet import (#8088)

React, Vue, and Angular now share one native-CSS stylesheet from @copilotkit/core, and each chat component adds it to the page. Tailwind is gone from all three packages. Apps can load @copilotkit/core/styles.css as a cached file with injectStyles: false. The remove-stylesheet-import and v2-migration codemods delete the old imports.

Includes the Vue port (#8101) and the Angular port (#8104).

BREAKING CHANGE: @copilotkit/react-core/styles.css, @copilotkit/react-core/v2/styles.css, @copilotkit/vue/styles.css, and @copilotkit/angular/styles.css are removed. Remove the import, or run codemods/remove-stylesheet-import.ts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant