@carbon/ai-chat-components 1.6.0-rc.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +188 -148
- package/es/components/code-snippet/src/code-snippet.d.ts +7 -0
- package/es/components/code-snippet/src/code-snippet.js +23 -5
- package/es/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es/components/code-snippet/src/codemirror/base-setup.d.ts +6 -0
- package/es/components/code-snippet/src/codemirror/base-setup.js +21 -13
- package/es/components/code-snippet/src/codemirror/base-setup.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/theme.js +6 -4
- package/es/components/code-snippet/src/codemirror/theme.js.map +1 -1
- package/es/components/markdown/src/markdown.js +25 -1
- package/es/components/markdown/src/markdown.js.map +1 -1
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +7 -0
- package/es-custom/components/code-snippet/src/code-snippet.js +23 -5
- package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es-custom/components/code-snippet/src/codemirror/base-setup.d.ts +6 -0
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js +21 -13
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js.map +1 -1
- package/es-custom/components/code-snippet/src/codemirror/theme.js +6 -4
- package/es-custom/components/code-snippet/src/codemirror/theme.js.map +1 -1
- package/es-custom/components/markdown/src/markdown.js +25 -1
- package/es-custom/components/markdown/src/markdown.js.map +1 -1
- package/package.json +2 -2
- package/telemetry.yml +2 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { css } from 'lit';
|
|
9
9
|
|
|
10
|
-
var styles = css([":host :host([data-rounded=\"\"]),:host [data-rounded=\"\"],:host-context([data-theme=g10]) :host([data-rounded=\"\"]),:host-context([data-theme=g10]) [data-rounded=\"\"],:host-context([data-theme=white]) :host([data-rounded=\"\"]),:host-context([data-theme=white]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=\"\"])::part(button),:host :host([data-rounded=\"\"])::part(link),:host [data-rounded=\"\"]::part(button),:host [data-rounded=\"\"]::part(link),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=white]) [data-rounded=\"\"]::part(button),:host-context([data-theme=white]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(link){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);outline-offset:-.0625rem}:host :host([data-rounded=\"\"])>:only-child,:host [data-rounded=\"\"]>:only-child,:host-context([data-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([data-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=white]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]>:only-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]),:host [data-rounded=top],:host-context([data-theme=g10]) :host([data-rounded=top]),:host-context([data-theme=g10]) [data-rounded=top],:host-context([data-theme=white]) :host([data-rounded=top]),:host-context([data-theme=white]) [data-rounded=top],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=white]) [data-rounded=top]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]),:host [data-rounded=top-left],:host-context([data-theme=g10]) :host([data-rounded=top-left]),:host-context([data-theme=g10]) [data-rounded=top-left],:host-context([data-theme=white]) :host([data-rounded=top-left]),:host-context([data-theme=white]) [data-rounded=top-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]),:host [data-rounded=top-right],:host-context([data-theme=g10]) :host([data-rounded=top-right]),:host-context([data-theme=g10]) [data-rounded=top-right],:host-context([data-theme=white]) :host([data-rounded=top-right]),:host-context([data-theme=white]) [data-rounded=top-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]),:host [data-rounded=bottom],:host-context([data-theme=g10]) :host([data-rounded=bottom]),:host-context([data-theme=g10]) [data-rounded=bottom],:host-context([data-theme=white]) :host([data-rounded=bottom]),:host-context([data-theme=white]) [data-rounded=bottom],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]),:host [data-rounded=bottom-left],:host-context([data-theme=g10]) :host([data-rounded=bottom-left]),:host-context([data-theme=g10]) [data-rounded=bottom-left],:host-context([data-theme=white]) :host([data-rounded=bottom-left]),:host-context([data-theme=white]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]),:host [data-rounded=bottom-right],:host-context([data-theme=g10]) :host([data-rounded=bottom-right]),:host-context([data-theme=g10]) [data-rounded=bottom-right],:host-context([data-theme=white]) :host([data-rounded=bottom-right]),:host-context([data-theme=white]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child,:host [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child,:host [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child,:host [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child::part(button),:host [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child,:host [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child,:host [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child,:host [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child,:host [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child,:host [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host,:host-context([data-theme=g10]),:host-context([data-theme=white]),:host-context([storybook-carbon-theme=g10]),:host-context([storybook-carbon-theme=white]){--cds-syntax-angle-bracket:#697077;--cds-syntax-annotation:#007d79;--cds-syntax-arithmetic-operator:#343a3f;--cds-syntax-atom:#161616;--cds-syntax-attribute:#00539a;--cds-syntax-attribute-name:#00539a;--cds-syntax-attribute-value:#161616;--cds-syntax-bitwise-operator:#343a3f;--cds-syntax-block-comment:#198038;--cds-syntax-bool:#161616;--cds-syntax-brace:#343a3f;--cds-syntax-bracket:#343a3f;--cds-syntax-character:#161616;--cds-syntax-class-name:#007d79;--cds-syntax-color:#161616;--cds-syntax-comment:#198038;--cds-syntax-compare-operator:#343a3f;--cds-syntax-constant:#0f62fe;--cds-syntax-content:#161616;--cds-syntax-content-separator:#343a3f;--cds-syntax-control-keyword:#6929c4;--cds-syntax-control-operator:#6929c4;--cds-syntax-definition:#00539a;--cds-syntax-definition-keyword:#00539a;--cds-syntax-definition-operator:#00539a;--cds-syntax-deleted:#ffd7d9;--cds-syntax-deref-operator:#343a3f;--cds-syntax-doc-comment:#198038;--cds-syntax-doc-string:#161616;--cds-syntax-document-meta:#198038;--cds-syntax-emphasis:#161616;--cds-syntax-escape:#343a3f;--cds-syntax-float:#198038;--cds-syntax-function:#8e6a00;--cds-syntax-heading:#00539a;--cds-syntax-heading-1:#00539a;--cds-syntax-heading-2:#00539a;--cds-syntax-heading-3:#00539a;--cds-syntax-heading-4:#00539a;--cds-syntax-heading-5:#00539a;--cds-syntax-heading-6:#00539a;--cds-syntax-inserted:#a7f0ba;--cds-syntax-integer:#198038;--cds-syntax-invalid:#da1e28;--cds-syntax-keyword:#0f62fe;--cds-syntax-label-name:#0f62fe;--cds-syntax-line-comment:#198038;--cds-syntax-link:#0f62fe;--cds-syntax-list:#161616;--cds-syntax-literal:#161616;--cds-syntax-local:#0f62fe;--cds-syntax-logic-operator:#343a3f;--cds-syntax-macro-name:#161616;--cds-syntax-meta:#198038;--cds-syntax-modifier:#0f62fe;--cds-syntax-module-keyword:#6929c4;--cds-syntax-monospace:#161616;--cds-syntax-name:#0f62fe;--cds-syntax-namespace:#007d79;--cds-syntax-null:#161616;--cds-syntax-number:#198038;--cds-syntax-operator:#343a3f;--cds-syntax-operator-keyword:#0f62fe;--cds-syntax-paren:#343a3f;--cds-syntax-processing-instruction:#161616;--cds-syntax-property-name:#00539a;--cds-syntax-punctuation:#343a3f;--cds-syntax-quote:#198038;--cds-syntax-regexp:#6929c4;--cds-syntax-self:#007d79;--cds-syntax-separator:#343a3f;--cds-syntax-special:#0f62fe;--cds-syntax-special-string:#8a3ffc;--cds-syntax-square-bracket:#343a3f;--cds-syntax-standard:#0f62fe;--cds-syntax-strikethrough:#161616;--cds-syntax-string:#161616;--cds-syntax-strong:#161616;--cds-syntax-tag:#007d79;--cds-syntax-tag-name:#007d79;--cds-syntax-type:#007d79;--cds-syntax-type-name:#007d79;--cds-syntax-type-operator:#007d79;--cds-syntax-unit:#198038;--cds-syntax-update-operator:#343a3f;--cds-syntax-url:#343a3f;--cds-syntax-variable:#0f62fe;--cds-syntax-variable-name:#0f62fe}:host(.cds-aichat--snippet-container--fill-mode){block-size:100%}.cds-aichat--snippet{background:var(--cds-background,#fff);border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);display:block;font-family:inherit;max-inline-size:100%;padding:0}.cds-aichat--snippet code{font-family:var(--cds-code-01-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-01-font-size,.75rem);font-weight:var(--cds-code-01-font-weight,400);letter-spacing:var(--cds-code-01-letter-spacing,.32px);line-height:var(--cds-code-01-line-height,1.33333)}:host(.cds-aichat--snippet-container--fill-mode) .cds-aichat--snippet{block-size:100%;display:flex;flex-direction:column}:host-context([data-theme=g100]),:host-context([data-theme=g90]),:host-context([storybook-carbon-theme=g100]),:host-context([storybook-carbon-theme=g90]){--cds-syntax-angle-bracket:#8d8d8d;--cds-syntax-annotation:#08bdba;--cds-syntax-arithmetic-operator:#e0e0e0;--cds-syntax-atom:#f4f4f4;--cds-syntax-attribute:#33b1ff;--cds-syntax-attribute-name:#33b1ff;--cds-syntax-attribute-value:#f4f4f4;--cds-syntax-bitwise-operator:#e0e0e0;--cds-syntax-block-comment:#42be65;--cds-syntax-bool:#f4f4f4;--cds-syntax-brace:#e0e0e0;--cds-syntax-bracket:#e0e0e0;--cds-syntax-character:#f4f4f4;--cds-syntax-class-name:#3ddbd9;--cds-syntax-color:#f4f4f4;--cds-syntax-comment:#42be65;--cds-syntax-compare-operator:#e0e0e0;--cds-syntax-constant:#4589ff;--cds-syntax-content:#f4f4f4;--cds-syntax-content-separator:#e0e0e0;--cds-syntax-control-keyword:#be95ff;--cds-syntax-control-operator:#be95ff;--cds-syntax-definition:#33b1ff;--cds-syntax-definition-keyword:#33b1ff;--cds-syntax-definition-operator:#33b1ff;--cds-syntax-deleted:#a2191f;--cds-syntax-deref-operator:#e0e0e0;--cds-syntax-doc-comment:#42be65;--cds-syntax-doc-string:#f4f4f4;--cds-syntax-document-meta:#42be65;--cds-syntax-emphasis:#f4f4f4;--cds-syntax-escape:#e0e0e0;--cds-syntax-float:#6fdc8c;--cds-syntax-function:#f1c21b;--cds-syntax-heading:#33b1ff;--cds-syntax-heading-1:#33b1ff;--cds-syntax-heading-2:#33b1ff;--cds-syntax-heading-3:#33b1ff;--cds-syntax-heading-4:#33b1ff;--cds-syntax-heading-5:#33b1ff;--cds-syntax-heading-6:#33b1ff;--cds-syntax-inserted:#198038;--cds-syntax-integer:#6fdc8c;--cds-syntax-invalid:#fa4d56;--cds-syntax-keyword:#4589ff;--cds-syntax-label-name:#a6c8ff;--cds-syntax-line-comment:#42be65;--cds-syntax-link:#4589ff;--cds-syntax-list:#f4f4f4;--cds-syntax-literal:#f4f4f4;--cds-syntax-local:#a6c8ff;--cds-syntax-logic-operator:#e0e0e0;--cds-syntax-macro-name:#f4f4f4;--cds-syntax-meta:#42be65;--cds-syntax-modifier:#4589ff;--cds-syntax-module-keyword:#be95ff;--cds-syntax-monospace:#f4f4f4;--cds-syntax-name:#a6c8ff;--cds-syntax-namespace:#3ddbd9;--cds-syntax-null:#f4f4f4;--cds-syntax-number:#6fdc8c;--cds-syntax-operator:#e0e0e0;--cds-syntax-operator-keyword:#4589ff;--cds-syntax-paren:#e0e0e0;--cds-syntax-processing-instruction:#f4f4f4;--cds-syntax-property-name:#33b1ff;--cds-syntax-punctuation:#e0e0e0;--cds-syntax-quote:#42be65;--cds-syntax-regexp:#be95ff;--cds-syntax-self:#3ddbd9;--cds-syntax-separator:#e0e0e0;--cds-syntax-special:#4589ff;--cds-syntax-special-string:#be95ff;--cds-syntax-square-bracket:#e0e0e0;--cds-syntax-standard:#4589ff;--cds-syntax-strikethrough:#f4f4f4;--cds-syntax-string:#f4f4f4;--cds-syntax-strong:#f4f4f4;--cds-syntax-tag:#3ddbd9;--cds-syntax-tag-name:#3ddbd9;--cds-syntax-type:#3ddbd9;--cds-syntax-type-name:#3ddbd9;--cds-syntax-type-operator:#3ddbd9;--cds-syntax-unit:#6fdc8c;--cds-syntax-update-operator:#e0e0e0;--cds-syntax-url:#e0e0e0;--cds-syntax-variable:#a6c8ff;--cds-syntax-variable-name:#a6c8ff}.cm-diff-line-inserted{background-color:var(--cds-syntax-inserted)}.cm-diff-line-deleted{background-color:var(--cds-syntax-deleted)}:host([disabled]) .cds-aichat--snippet{background-color:var(--cds-layer);color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}:host([disabled]) .cds-aichat--snippet-container{cursor:not-allowed}:host([disabled]) .cm-editor{pointer-events:none}:host([disabled]) .cds-aichat--snippet__icon{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}:host([hide-copy-button]) .cds-aichat--snippet-container pre{padding-inline-end:0}:host([wrap-text]) pre{word-wrap:break-word;white-space:pre-wrap}.cds-aichat--snippet-container{max-block-size:var(--cds-snippet-max-height,100%);min-block-size:var(--cds-snippet-min-height,100%);order:1;overflow-y:auto;pointer-events:auto;position:relative;transition:max-height motion(standard,productive) .15s}.cds-aichat--snippet-container:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds-aichat--snippet-container:focus{outline-style:dotted}}.cds-aichat--snippet-container:focus{outline-offset:0}.cds-aichat--snippet-container pre{overflow:auto;padding-block-end:1.5rem;padding-inline-end:1.5rem}.cds-aichat--snippet-container pre code{overflow:hidden}.cds-aichat--snippet-container--fill-mode{block-size:100%;overflow-y:auto}.cds-aichat--snippet--codemirror ::slotted(*){display:none}.cds-aichat--snippet--codemirror .cds-aichat--code-editor{block-size:100%;inline-size:100%}.cds-aichat--snippet__editor-skeleton{align-items:center;background:var(--cds-layer-01,#f4f4f4);display:flex;inset:0;padding:1rem;pointer-events:none;position:absolute;z-index:1}.cds-aichat--snippet__editor-skeleton cds-skeleton-text{inline-size:100%}.cds-aichat--visually-hidden{display:none}.cds-aichat--snippet__header{border-block-end:1px solid var(--cds-border-subtle-02,#e0e0e0)}.cds-aichat--snippet__meta{display:flex}.cds-aichat--snippet__footer{border-block-start:1px solid var(--cds-border-subtle-02,#e0e0e0);display:flex;justify-content:flex-end}.cds-aichat--snippet-btn--text{color:var(--cds-text-primary,#161616)}.cds-aichat--snippet__icon{fill:var(--cds-icon-primary,#161616)}.cds-aichat--snippet__header-separator,.cds-aichat--snippet__language,.cds-aichat--snippet__linecount{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds-aichat--snippet__header-separator{padding-inline-end:.25rem;padding-inline-start:.25rem}.cds-aichat--snippet-container--collapsed{overflow-x:auto;overflow-y:hidden;transition:max-height motion(standard,productive) .15s}.cds-aichat--icon-chevron--down{transform:rotate(0deg);transition:transform .3s}:host([expanded-code]) .cds-aichat--icon-chevron--down{transform:rotate(180deg);transition:transform .3s}"]);
|
|
10
|
+
var styles = css([":host :host([data-rounded=\"\"]),:host [data-rounded=\"\"],:host-context([data-theme=g10]) :host([data-rounded=\"\"]),:host-context([data-theme=g10]) [data-rounded=\"\"],:host-context([data-theme=white]) :host([data-rounded=\"\"]),:host-context([data-theme=white]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=\"\"])::part(button),:host :host([data-rounded=\"\"])::part(link),:host [data-rounded=\"\"]::part(button),:host [data-rounded=\"\"]::part(link),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=white]) [data-rounded=\"\"]::part(button),:host-context([data-theme=white]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(link){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);outline-offset:-.0625rem}:host :host([data-rounded=\"\"])>:only-child,:host [data-rounded=\"\"]>:only-child,:host-context([data-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([data-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=white]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]>:only-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]),:host [data-rounded=top],:host-context([data-theme=g10]) :host([data-rounded=top]),:host-context([data-theme=g10]) [data-rounded=top],:host-context([data-theme=white]) :host([data-rounded=top]),:host-context([data-theme=white]) [data-rounded=top],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=white]) [data-rounded=top]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]),:host [data-rounded=top-left],:host-context([data-theme=g10]) :host([data-rounded=top-left]),:host-context([data-theme=g10]) [data-rounded=top-left],:host-context([data-theme=white]) :host([data-rounded=top-left]),:host-context([data-theme=white]) [data-rounded=top-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]),:host [data-rounded=top-right],:host-context([data-theme=g10]) :host([data-rounded=top-right]),:host-context([data-theme=g10]) [data-rounded=top-right],:host-context([data-theme=white]) :host([data-rounded=top-right]),:host-context([data-theme=white]) [data-rounded=top-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]),:host [data-rounded=bottom],:host-context([data-theme=g10]) :host([data-rounded=bottom]),:host-context([data-theme=g10]) [data-rounded=bottom],:host-context([data-theme=white]) :host([data-rounded=bottom]),:host-context([data-theme=white]) [data-rounded=bottom],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]),:host [data-rounded=bottom-left],:host-context([data-theme=g10]) :host([data-rounded=bottom-left]),:host-context([data-theme=g10]) [data-rounded=bottom-left],:host-context([data-theme=white]) :host([data-rounded=bottom-left]),:host-context([data-theme=white]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]),:host [data-rounded=bottom-right],:host-context([data-theme=g10]) :host([data-rounded=bottom-right]),:host-context([data-theme=g10]) [data-rounded=bottom-right],:host-context([data-theme=white]) :host([data-rounded=bottom-right]),:host-context([data-theme=white]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child,:host [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child,:host [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child,:host [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child::part(button),:host [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child,:host [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child,:host [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child,:host [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child,:host [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child,:host [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host,:host-context([data-theme=g10]),:host-context([data-theme=white]),:host-context([storybook-carbon-theme=g10]),:host-context([storybook-carbon-theme=white]){--cds-syntax-angle-bracket:#697077;--cds-syntax-annotation:#007d79;--cds-syntax-arithmetic-operator:#343a3f;--cds-syntax-atom:#161616;--cds-syntax-attribute:#00539a;--cds-syntax-attribute-name:#00539a;--cds-syntax-attribute-value:#161616;--cds-syntax-bitwise-operator:#343a3f;--cds-syntax-block-comment:#198038;--cds-syntax-bool:#161616;--cds-syntax-brace:#343a3f;--cds-syntax-bracket:#343a3f;--cds-syntax-character:#161616;--cds-syntax-class-name:#007d79;--cds-syntax-color:#161616;--cds-syntax-comment:#198038;--cds-syntax-compare-operator:#343a3f;--cds-syntax-constant:#0f62fe;--cds-syntax-content:#161616;--cds-syntax-content-separator:#343a3f;--cds-syntax-control-keyword:#6929c4;--cds-syntax-control-operator:#6929c4;--cds-syntax-definition:#00539a;--cds-syntax-definition-keyword:#00539a;--cds-syntax-definition-operator:#00539a;--cds-syntax-deleted:#ffd7d9;--cds-syntax-deref-operator:#343a3f;--cds-syntax-doc-comment:#198038;--cds-syntax-doc-string:#161616;--cds-syntax-document-meta:#198038;--cds-syntax-emphasis:#161616;--cds-syntax-escape:#343a3f;--cds-syntax-float:#198038;--cds-syntax-function:#8e6a00;--cds-syntax-heading:#00539a;--cds-syntax-heading-1:#00539a;--cds-syntax-heading-2:#00539a;--cds-syntax-heading-3:#00539a;--cds-syntax-heading-4:#00539a;--cds-syntax-heading-5:#00539a;--cds-syntax-heading-6:#00539a;--cds-syntax-inserted:#a7f0ba;--cds-syntax-integer:#198038;--cds-syntax-invalid:#da1e28;--cds-syntax-keyword:#0f62fe;--cds-syntax-label-name:#0f62fe;--cds-syntax-line-comment:#198038;--cds-syntax-link:#0f62fe;--cds-syntax-list:#161616;--cds-syntax-literal:#161616;--cds-syntax-local:#0f62fe;--cds-syntax-logic-operator:#343a3f;--cds-syntax-macro-name:#161616;--cds-syntax-meta:#198038;--cds-syntax-modifier:#0f62fe;--cds-syntax-module-keyword:#6929c4;--cds-syntax-monospace:#161616;--cds-syntax-name:#0f62fe;--cds-syntax-namespace:#007d79;--cds-syntax-null:#161616;--cds-syntax-number:#198038;--cds-syntax-operator:#343a3f;--cds-syntax-operator-keyword:#0f62fe;--cds-syntax-paren:#343a3f;--cds-syntax-processing-instruction:#161616;--cds-syntax-property-name:#00539a;--cds-syntax-punctuation:#343a3f;--cds-syntax-quote:#198038;--cds-syntax-regexp:#6929c4;--cds-syntax-self:#007d79;--cds-syntax-separator:#343a3f;--cds-syntax-special:#0f62fe;--cds-syntax-special-string:#8a3ffc;--cds-syntax-square-bracket:#343a3f;--cds-syntax-standard:#0f62fe;--cds-syntax-strikethrough:#161616;--cds-syntax-string:#161616;--cds-syntax-strong:#161616;--cds-syntax-tag:#007d79;--cds-syntax-tag-name:#007d79;--cds-syntax-type:#007d79;--cds-syntax-type-name:#007d79;--cds-syntax-type-operator:#007d79;--cds-syntax-unit:#198038;--cds-syntax-update-operator:#343a3f;--cds-syntax-url:#343a3f;--cds-syntax-variable:#0f62fe;--cds-syntax-variable-name:#0f62fe}:host(.cds-aichat--snippet-container--fill-mode){block-size:100%}.cds-aichat--snippet{background:var(--cds-chat-shell-background,#fff);border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);display:block;font-family:inherit;max-inline-size:100%;padding:0}.cds-aichat--snippet code{font-family:var(--cds-code-01-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-01-font-size,.75rem);font-weight:var(--cds-code-01-font-weight,400);letter-spacing:var(--cds-code-01-letter-spacing,.32px);line-height:var(--cds-code-01-line-height,1.33333)}:host(.cds-aichat--snippet-container--fill-mode) .cds-aichat--snippet{block-size:100%;display:flex;flex-direction:column}:host-context([data-theme=g100]),:host-context([data-theme=g90]),:host-context([storybook-carbon-theme=g100]),:host-context([storybook-carbon-theme=g90]){--cds-syntax-angle-bracket:#8d8d8d;--cds-syntax-annotation:#08bdba;--cds-syntax-arithmetic-operator:#e0e0e0;--cds-syntax-atom:#f4f4f4;--cds-syntax-attribute:#33b1ff;--cds-syntax-attribute-name:#33b1ff;--cds-syntax-attribute-value:#f4f4f4;--cds-syntax-bitwise-operator:#e0e0e0;--cds-syntax-block-comment:#42be65;--cds-syntax-bool:#f4f4f4;--cds-syntax-brace:#e0e0e0;--cds-syntax-bracket:#e0e0e0;--cds-syntax-character:#f4f4f4;--cds-syntax-class-name:#3ddbd9;--cds-syntax-color:#f4f4f4;--cds-syntax-comment:#42be65;--cds-syntax-compare-operator:#e0e0e0;--cds-syntax-constant:#4589ff;--cds-syntax-content:#f4f4f4;--cds-syntax-content-separator:#e0e0e0;--cds-syntax-control-keyword:#be95ff;--cds-syntax-control-operator:#be95ff;--cds-syntax-definition:#33b1ff;--cds-syntax-definition-keyword:#33b1ff;--cds-syntax-definition-operator:#33b1ff;--cds-syntax-deleted:#a2191f;--cds-syntax-deref-operator:#e0e0e0;--cds-syntax-doc-comment:#42be65;--cds-syntax-doc-string:#f4f4f4;--cds-syntax-document-meta:#42be65;--cds-syntax-emphasis:#f4f4f4;--cds-syntax-escape:#e0e0e0;--cds-syntax-float:#6fdc8c;--cds-syntax-function:#f1c21b;--cds-syntax-heading:#33b1ff;--cds-syntax-heading-1:#33b1ff;--cds-syntax-heading-2:#33b1ff;--cds-syntax-heading-3:#33b1ff;--cds-syntax-heading-4:#33b1ff;--cds-syntax-heading-5:#33b1ff;--cds-syntax-heading-6:#33b1ff;--cds-syntax-inserted:#198038;--cds-syntax-integer:#6fdc8c;--cds-syntax-invalid:#fa4d56;--cds-syntax-keyword:#4589ff;--cds-syntax-label-name:#a6c8ff;--cds-syntax-line-comment:#42be65;--cds-syntax-link:#4589ff;--cds-syntax-list:#f4f4f4;--cds-syntax-literal:#f4f4f4;--cds-syntax-local:#a6c8ff;--cds-syntax-logic-operator:#e0e0e0;--cds-syntax-macro-name:#f4f4f4;--cds-syntax-meta:#42be65;--cds-syntax-modifier:#4589ff;--cds-syntax-module-keyword:#be95ff;--cds-syntax-monospace:#f4f4f4;--cds-syntax-name:#a6c8ff;--cds-syntax-namespace:#3ddbd9;--cds-syntax-null:#f4f4f4;--cds-syntax-number:#6fdc8c;--cds-syntax-operator:#e0e0e0;--cds-syntax-operator-keyword:#4589ff;--cds-syntax-paren:#e0e0e0;--cds-syntax-processing-instruction:#f4f4f4;--cds-syntax-property-name:#33b1ff;--cds-syntax-punctuation:#e0e0e0;--cds-syntax-quote:#42be65;--cds-syntax-regexp:#be95ff;--cds-syntax-self:#3ddbd9;--cds-syntax-separator:#e0e0e0;--cds-syntax-special:#4589ff;--cds-syntax-special-string:#be95ff;--cds-syntax-square-bracket:#e0e0e0;--cds-syntax-standard:#4589ff;--cds-syntax-strikethrough:#f4f4f4;--cds-syntax-string:#f4f4f4;--cds-syntax-strong:#f4f4f4;--cds-syntax-tag:#3ddbd9;--cds-syntax-tag-name:#3ddbd9;--cds-syntax-type:#3ddbd9;--cds-syntax-type-name:#3ddbd9;--cds-syntax-type-operator:#3ddbd9;--cds-syntax-unit:#6fdc8c;--cds-syntax-update-operator:#e0e0e0;--cds-syntax-url:#e0e0e0;--cds-syntax-variable:#a6c8ff;--cds-syntax-variable-name:#a6c8ff}.cm-diff-line-inserted{background-color:var(--cds-syntax-inserted)}.cm-diff-line-deleted{background-color:var(--cds-syntax-deleted)}:host([disabled]) .cds-aichat--snippet{background-color:var(--cds-layer);color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}:host([disabled]) .cm-gutters{background-color:var(--cds-layer)}:host([disabled]) .cds-aichat--snippet-container{cursor:not-allowed}:host([disabled]) .cm-editor{pointer-events:none}:host([disabled]) .cds-aichat--snippet__icon{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}:host([hide-copy-button]) .cds-aichat--snippet-container pre{padding-inline-end:0}:host([wrap-text]) pre{word-wrap:break-word;white-space:pre-wrap}.cds-aichat--snippet-container{max-block-size:var(--cds-snippet-max-height,100%);min-block-size:var(--cds-snippet-min-height,100%);order:1;overflow-y:auto;pointer-events:auto;position:relative;transition:max-height motion(standard,productive) .15s}.cds-aichat--snippet-container:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds-aichat--snippet-container:focus{outline-style:dotted}}.cds-aichat--snippet-container:focus{outline-offset:0}.cds-aichat--snippet-container pre{overflow:auto;padding-block-end:1.5rem;padding-inline-end:1.5rem}.cds-aichat--snippet-container pre code{overflow:hidden}.cds-aichat--snippet-container--fill-mode{block-size:100%;overflow-y:auto}.cds-aichat--snippet--codemirror ::slotted(*){display:none}.cds-aichat--snippet--codemirror .cds-aichat--code-editor{block-size:100%;inline-size:100%}.cds-aichat--snippet__editor-skeleton{align-items:center;background:var(--cds-layer-01,#f4f4f4);display:flex;inset:0;padding:1rem;pointer-events:none;position:absolute;z-index:1}.cds-aichat--snippet__editor-skeleton cds-skeleton-text{inline-size:100%}.cds-aichat--visually-hidden{display:none}.cds-aichat--snippet__header{border-block-end:1px solid var(--cds-border-subtle-02,#e0e0e0)}.cds-aichat--snippet__meta{display:flex}.cds-aichat--snippet__footer{border-block-start:1px solid var(--cds-border-subtle-02,#e0e0e0);display:flex;justify-content:flex-end}.cds-aichat--snippet-btn--text{color:var(--cds-text-primary,#161616)}.cds-aichat--snippet__icon{fill:var(--cds-icon-primary,#161616)}.cds-aichat--snippet__header-separator,.cds-aichat--snippet__language,.cds-aichat--snippet__linecount{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds-aichat--snippet__header-separator{padding-inline-end:.25rem;padding-inline-start:.25rem}.cds-aichat--snippet-container--collapsed{overflow-x:auto;overflow-y:hidden;transition:max-height motion(standard,productive) .15s}.cds-aichat--icon-chevron--down{transform:rotate(0deg);transition:transform .3s}:host([expanded-code]) .cds-aichat--icon-chevron--down{transform:rotate(180deg);transition:transform .3s}"]);
|
|
11
11
|
|
|
12
12
|
export { styles as default };
|
|
13
13
|
//# sourceMappingURL=code-snippet.scss.js.map
|
|
@@ -3,11 +3,17 @@ export interface BaseCodeMirrorSetupOptions {
|
|
|
3
3
|
foldCollapseLabel?: string;
|
|
4
4
|
foldExpandLabel?: string;
|
|
5
5
|
enableDiffDecorator?: boolean;
|
|
6
|
+
hideLineNumbers?: boolean;
|
|
7
|
+
hideFold?: boolean;
|
|
6
8
|
}
|
|
7
9
|
/**
|
|
8
10
|
* Minimal editor affordances for snippets:
|
|
9
11
|
* - keep the layout oriented (gutters, folding)
|
|
10
12
|
* - preserve indentation and basic syntax cues
|
|
11
13
|
* - avoid heavier behaviors like search, autocomplete, multi-caret history
|
|
14
|
+
*
|
|
15
|
+
* `hideLineNumbers` drops the line-number gutter and `hideFold` drops the
|
|
16
|
+
* folding affordances (gutter, marker key handler, and fold keymap) so callers
|
|
17
|
+
* can render a leaner surface for short, static snippets.
|
|
12
18
|
*/
|
|
13
19
|
export declare function baseCodeMirrorSetup(options?: BaseCodeMirrorSetupOptions): Extension;
|
|
@@ -15,7 +15,7 @@ import { createCarbonHighlightStyle } from './theme.js';
|
|
|
15
15
|
import { createDiffDecorator } from './diff-decorator.js';
|
|
16
16
|
|
|
17
17
|
/*
|
|
18
|
-
* Copyright IBM Corp. 2025
|
|
18
|
+
* Copyright IBM Corp. 2025, 2026
|
|
19
19
|
*
|
|
20
20
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
21
21
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -27,21 +27,29 @@ import { createDiffDecorator } from './diff-decorator.js';
|
|
|
27
27
|
* - keep the layout oriented (gutters, folding)
|
|
28
28
|
* - preserve indentation and basic syntax cues
|
|
29
29
|
* - avoid heavier behaviors like search, autocomplete, multi-caret history
|
|
30
|
+
*
|
|
31
|
+
* `hideLineNumbers` drops the line-number gutter and `hideFold` drops the
|
|
32
|
+
* folding affordances (gutter, marker key handler, and fold keymap) so callers
|
|
33
|
+
* can render a leaner surface for short, static snippets.
|
|
30
34
|
*/
|
|
31
35
|
function baseCodeMirrorSetup(options = {}) {
|
|
32
|
-
const { foldCollapseLabel = "Collapse code block", foldExpandLabel = "Expand code block", enableDiffDecorator = false, } = options;
|
|
36
|
+
const { foldCollapseLabel = "Collapse code block", foldExpandLabel = "Expand code block", enableDiffDecorator = false, hideLineNumbers = false, hideFold = false, } = options;
|
|
33
37
|
return [
|
|
34
38
|
// Line number column for navigation and copy context
|
|
35
|
-
lineNumbers(),
|
|
36
|
-
//
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
...(hideLineNumbers ? [] : [lineNumbers()]),
|
|
40
|
+
// Folding affordances: keyboard handler + Carbon chevron gutter. Dropped
|
|
41
|
+
// together when folding is hidden so no open/close control survives.
|
|
42
|
+
...(hideFold
|
|
43
|
+
? []
|
|
44
|
+
: [
|
|
45
|
+
carbonFoldMarkerKeyHandler(),
|
|
46
|
+
foldGutter({
|
|
47
|
+
markerDOM: createCarbonFoldMarker({
|
|
48
|
+
collapseLabel: foldCollapseLabel,
|
|
49
|
+
expandLabel: foldExpandLabel,
|
|
50
|
+
}),
|
|
51
|
+
}),
|
|
52
|
+
]),
|
|
45
53
|
// Selection rendering that respects multiple carets
|
|
46
54
|
drawSelection(),
|
|
47
55
|
// Maintain indentation on new lines
|
|
@@ -56,7 +64,7 @@ function baseCodeMirrorSetup(options = {}) {
|
|
|
56
64
|
keymap.of([
|
|
57
65
|
...closeBracketsKeymap,
|
|
58
66
|
...defaultKeymap,
|
|
59
|
-
...foldKeymap,
|
|
67
|
+
...(hideFold ? [] : foldKeymap),
|
|
60
68
|
...lintKeymap,
|
|
61
69
|
]),
|
|
62
70
|
// Conditionally add diff line decorator for diff language
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-setup.js","sources":["../../../../../src/components/code-snippet/src/codemirror/base-setup.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;
|
|
1
|
+
{"version":3,"file":"base-setup.js","sources":["../../../../../src/components/code-snippet/src/codemirror/base-setup.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AA6BH;;;;;;;;;AASG;AACG,SAAU,mBAAmB,CACjC,OAAA,GAAsC,EAAE,EAAA;IAExC,MAAM,EACJ,iBAAiB,GAAG,qBAAqB,EACzC,eAAe,GAAG,mBAAmB,EACrC,mBAAmB,GAAG,KAAK,EAC3B,eAAe,GAAG,KAAK,EACvB,QAAQ,GAAG,KAAK,GACjB,GAAG,OAAO;IAEX,OAAO;;AAEL,QAAA,IAAI,eAAe,GAAG,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;;;AAG3C,QAAA,IAAI;AACF,cAAE;AACF,cAAE;AACE,gBAAA,0BAA0B,EAAE;AAC5B,gBAAA,UAAU,CAAC;oBACT,SAAS,EAAE,sBAAsB,CAAC;AAChC,wBAAA,aAAa,EAAE,iBAAiB;AAChC,wBAAA,WAAW,EAAE,eAAe;qBAC7B,CAAC;iBACH,CAAC;aACH,CAAC;;AAEN,QAAA,aAAa,EAAE;;AAEf,QAAA,aAAa,EAAE;;QAEf,kBAAkB,CAAC,qBAAqB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;AAE7D,QAAA,0BAA0B,EAAE;;AAE5B,QAAA,aAAa,EAAE;;QAEf,MAAM,CAAC,EAAE,CAAC;AACR,YAAA,GAAG,mBAAmB;AACtB,YAAA,GAAG,aAAa;YAChB,IAAI,QAAQ,GAAG,EAAE,GAAG,UAAU,CAAC;AAC/B,YAAA,GAAG,UAAU;SACd,CAAC;;AAEF,QAAA,IAAI,mBAAmB,GAAG,CAAC,mBAAmB,EAAE,CAAC,GAAG,EAAE,CAAC;KACxD;AACH;;;;"}
|
|
@@ -10,7 +10,7 @@ import { syntaxHighlighting, HighlightStyle } from '@codemirror/language';
|
|
|
10
10
|
import { tags } from '@lezer/highlight';
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
|
-
* Copyright IBM Corp. 2025
|
|
13
|
+
* Copyright IBM Corp. 2025, 2026
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -83,9 +83,11 @@ function createCarbonTheme() {
|
|
|
83
83
|
".cm-cursor, .cm-dropCursor": {
|
|
84
84
|
borderLeftColor: "var(--cds-text-primary, #161616)",
|
|
85
85
|
},
|
|
86
|
-
// Gutters
|
|
86
|
+
// Gutters. Match the snippet surface (chat-shell-background) so the gutter
|
|
87
|
+
// and code area read as one surface. The disabled state overrides both to
|
|
88
|
+
// $layer in code-snippet.scss (:host([disabled])), keeping them matched.
|
|
87
89
|
".cm-gutters": {
|
|
88
|
-
backgroundColor: "var(--cds-background, #ffffff)",
|
|
90
|
+
backgroundColor: "var(--cds-chat-shell-background, #ffffff)",
|
|
89
91
|
color: "var(--cds-text-helper, #6f6f6f)",
|
|
90
92
|
border: "none",
|
|
91
93
|
},
|
|
@@ -102,7 +104,7 @@ function createCarbonTheme() {
|
|
|
102
104
|
},
|
|
103
105
|
".cm-scroller": {
|
|
104
106
|
maxBlockSize: "var(--cds-snippet-max-height, 16rem)",
|
|
105
|
-
minBlockSize: "var(--cds-snippet-min-height,
|
|
107
|
+
minBlockSize: "var(--cds-snippet-min-height, auto)",
|
|
106
108
|
},
|
|
107
109
|
// Fold gutter / caret icons
|
|
108
110
|
".cm-foldGutter .cm-gutterElement": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sources":["../../../../../src/components/code-snippet/src/codemirror/theme.ts"],"sourcesContent":[null],"names":["t"],"mappings":";;;;;;;;;;;AAAA;;;;;;;AAOG;AAMH;;;;;;AAMG;SACa,qBAAqB,GAAA;IACnC,OAAO,UAAU,CAAC,SAAS,CACzB,MAAA;AACE,QAAA,WAAA,CAAY,IAAgB,EAAA;AAC1B,YAAA,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC;QACnC;AAEA,QAAA,MAAM,CAAC,MAAkB,EAAA;;AAEvB,YAAA,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC;QAC1C;AAEA,QAAA,sBAAsB,CAAC,IAAgB,EAAA;AACrC,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS;YAC/B,IAAI,QAAQ,IAAI,QAAQ,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE;AAC1D,gBAAA,QAAQ,CAAC,YAAY,CAAC,UAAU,EAAE,GAAG,CAAC;YACxC;QACF;AACD,KAAA,CACF;AACH;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BG;SACa,iBAAiB,GAAA;IAC/B,OAAO,UAAU,CAAC,KAAK,CAAC;AACtB,QAAA,YAAY,EAAE;AACZ,YAAA,UAAU,EAAE,4DAA4D;AACxE,YAAA,QAAQ,EAAE,wCAAwC;AAClD,YAAA,UAAU,EAAE,qCAAqC;AACjD,YAAA,aAAa,EAAE,2CAA2C;AAC1D,YAAA,UAAU,EAAE,qCAAqC;AACjD,YAAA,UAAU,EAAE,2BAA2B;AACvC,YAAA,KAAK,EAAE,kCAAkC;AAC1C,SAAA;;AAGD,QAAA,4BAA4B,EAAE;AAC5B,YAAA,eAAe,EAAE,kCAAkC;AACpD,SAAA
|
|
1
|
+
{"version":3,"file":"theme.js","sources":["../../../../../src/components/code-snippet/src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AE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE;AAC1D,IAAA,EAAE,GAAG,EAAEA,IAAC,CAAC,OAAO,CAACA,IAAC,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE;AAC9D,IAAA,EAAE,GAAG,EAAEA,IAAC,CAAC,OAAO,CAACA,IAAC,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE;AAC9D,IAAA,EAAE,GAAG,EAAEA,IAAC,CAAC,OAAO,CAACA,IAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,gBAAgB,CAAC,EAAE;CAChE;AAED,MAAM,oBAAoB,GAAG,cAAc,CAAC,MAAM,CAAC;AACjD,IAAA,GAAG,mBAAmB;AACtB,IAAA,GAAG,iBAAiB;AACpB,IAAA,GAAG,aAAa;AACjB,CAAA,CAAC;;;;"}
|
|
@@ -626,7 +626,31 @@ let CDSAIChatMarkdown = class CDSAIChatMarkdown extends LitElement {
|
|
|
626
626
|
host = document.createElement("div");
|
|
627
627
|
host.setAttribute("slot", descriptor.slotName);
|
|
628
628
|
this.slotHosts.set(descriptor.slotName, host);
|
|
629
|
-
|
|
629
|
+
// Offer the host to a chat-container ancestor so it lives in page
|
|
630
|
+
// light DOM, where consumer-loaded global CSS (e.g. `@carbon/styles`
|
|
631
|
+
// for a returned `@carbon/react` component) can reach it — the markdown
|
|
632
|
+
// element's own light DOM sits inside the chat's shadow root, where it
|
|
633
|
+
// cannot. Mirrors the plugin-fallback path above, but forwards the live
|
|
634
|
+
// host element instead of an HTML string; the markdown element keeps
|
|
635
|
+
// ownership of the host's content across renders. If no ancestor takes
|
|
636
|
+
// over (standalone usage, e.g. storybook), host it locally.
|
|
637
|
+
const mountEvent = new CustomEvent("cds-aichat-markdown-plugin-host-mount", {
|
|
638
|
+
bubbles: true,
|
|
639
|
+
composed: true,
|
|
640
|
+
cancelable: true,
|
|
641
|
+
detail: {
|
|
642
|
+
slotName: descriptor.slotName,
|
|
643
|
+
element: host,
|
|
644
|
+
isInline: false,
|
|
645
|
+
},
|
|
646
|
+
});
|
|
647
|
+
this.dispatchEvent(mountEvent);
|
|
648
|
+
if (mountEvent.defaultPrevented) {
|
|
649
|
+
this.delegatedPluginSlots.add(descriptor.slotName);
|
|
650
|
+
}
|
|
651
|
+
else {
|
|
652
|
+
this.appendChild(host);
|
|
653
|
+
}
|
|
630
654
|
}
|
|
631
655
|
if (host.firstChild !== result || host.childNodes.length !== 1) {
|
|
632
656
|
host.replaceChildren(result);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.js","sources":["../../../../src/components/markdown/src/markdown.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AA4BH,MAAM,cAAc,GAAG,6BAA6B;AAEpD;;;;;AAKG;AACH,SAAS,kBAAkB,CAAC,IAAU,EAAE,QAAc,EAAA;IACpD,IAAI,GAAG,GAAgB,IAAI;AAC3B,IAAA,OAAO,GAAG,IAAI,GAAG,KAAK,QAAQ,EAAE;QAC9B,IAAI,GAAG,YAAY,OAAO,IAAI,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;AACtD,YAAA,OAAO,IAAI;QACb;AACA,QAAA,GAAG,GAAG,GAAG,CAAC,UAAU;IACtB;AACA,IAAA,OAAO,KAAK;AACd;AAEA;;;;AAIG;AACH,SAAS,0BAA0B,CAAC,OAAgB,EAAA;IAClD,IAAI,GAAG,GAAG,EAAE;AACZ,IAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;QAClD,IAAI,KAAK,YAAY,OAAO,IAAI,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;YAC1D;QACF;QACA,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,SAAS,EAAE;AACrC,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
|
48
48
|
hideHeader: boolean;
|
|
49
|
+
/** Hide the line-number gutter in the editor. */
|
|
50
|
+
hideLineNumbers: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Hide the fold gutter, removing the ability to collapse and expand code
|
|
53
|
+
* blocks (the fold keyboard shortcuts are dropped along with the gutter).
|
|
54
|
+
*/
|
|
55
|
+
hideFold: boolean;
|
|
49
56
|
/**
|
|
50
57
|
* Maximum rows to show when collapsed.
|
|
51
58
|
* Set to 0 along with maxExpandedNumberOfRows to enable fill-container mode.
|
|
@@ -110,6 +110,13 @@ let CDSAIChatCodeSnippet = class CDSAIChatCodeSnippet extends FocusMixin(LitElem
|
|
|
110
110
|
this.hideCopyButton = false;
|
|
111
111
|
/** Hide the header/toolbar completely. */
|
|
112
112
|
this.hideHeader = false;
|
|
113
|
+
/** Hide the line-number gutter in the editor. */
|
|
114
|
+
this.hideLineNumbers = false;
|
|
115
|
+
/**
|
|
116
|
+
* Hide the fold gutter, removing the ability to collapse and expand code
|
|
117
|
+
* blocks (the fold keyboard shortcuts are dropped along with the gutter).
|
|
118
|
+
*/
|
|
119
|
+
this.hideFold = false;
|
|
113
120
|
/**
|
|
114
121
|
* Maximum rows to show when collapsed.
|
|
115
122
|
* Set to 0 along with maxExpandedNumberOfRows to enable fill-container mode.
|
|
@@ -389,7 +396,10 @@ let CDSAIChatCodeSnippet = class CDSAIChatCodeSnippet extends FocusMixin(LitElem
|
|
|
389
396
|
const languageCompartment = this.languageCompartment;
|
|
390
397
|
const readOnlyCompartment = this.readOnlyCompartment;
|
|
391
398
|
const contentAttributesCompartment = this.contentAttributesCompartment;
|
|
392
|
-
const needsRecreate = !this.editorView ||
|
|
399
|
+
const needsRecreate = !this.editorView ||
|
|
400
|
+
changedProperties.has("editable") ||
|
|
401
|
+
changedProperties.has("hideLineNumbers") ||
|
|
402
|
+
changedProperties.has("hideFold");
|
|
393
403
|
if (needsRecreate) {
|
|
394
404
|
// Prevent creating multiple editors simultaneously
|
|
395
405
|
if (this._isCreatingEditor) {
|
|
@@ -486,6 +496,8 @@ let CDSAIChatCodeSnippet = class CDSAIChatCodeSnippet extends FocusMixin(LitElem
|
|
|
486
496
|
setupOptions: {
|
|
487
497
|
foldCollapseLabel: this.foldCollapseLabel,
|
|
488
498
|
foldExpandLabel: this.foldExpandLabel,
|
|
499
|
+
hideLineNumbers: this.hideLineNumbers,
|
|
500
|
+
hideFold: this.hideFold,
|
|
489
501
|
},
|
|
490
502
|
});
|
|
491
503
|
}
|
|
@@ -828,16 +840,22 @@ __decorate([
|
|
|
828
840
|
property({ type: Boolean, reflect: true, attribute: "hide-header" })
|
|
829
841
|
], CDSAIChatCodeSnippet.prototype, "hideHeader", void 0);
|
|
830
842
|
__decorate([
|
|
831
|
-
property({ attribute: "
|
|
843
|
+
property({ type: Boolean, reflect: true, attribute: "hide-line-numbers" })
|
|
844
|
+
], CDSAIChatCodeSnippet.prototype, "hideLineNumbers", void 0);
|
|
845
|
+
__decorate([
|
|
846
|
+
property({ type: Boolean, reflect: true, attribute: "hide-fold" })
|
|
847
|
+
], CDSAIChatCodeSnippet.prototype, "hideFold", void 0);
|
|
848
|
+
__decorate([
|
|
849
|
+
property({ type: Number, attribute: "max-collapsed-number-of-rows" })
|
|
832
850
|
], CDSAIChatCodeSnippet.prototype, "maxCollapsedNumberOfRows", void 0);
|
|
833
851
|
__decorate([
|
|
834
|
-
property({ attribute: "max-expanded-number-of-rows" })
|
|
852
|
+
property({ type: Number, attribute: "max-expanded-number-of-rows" })
|
|
835
853
|
], CDSAIChatCodeSnippet.prototype, "maxExpandedNumberOfRows", void 0);
|
|
836
854
|
__decorate([
|
|
837
|
-
property({ attribute: "min-collapsed-number-of-rows" })
|
|
855
|
+
property({ type: Number, attribute: "min-collapsed-number-of-rows" })
|
|
838
856
|
], CDSAIChatCodeSnippet.prototype, "minCollapsedNumberOfRows", void 0);
|
|
839
857
|
__decorate([
|
|
840
|
-
property({ attribute: "min-expanded-number-of-rows" })
|
|
858
|
+
property({ type: Number, attribute: "min-expanded-number-of-rows" })
|
|
841
859
|
], CDSAIChatCodeSnippet.prototype, "minExpandedNumberOfRows", void 0);
|
|
842
860
|
__decorate([
|
|
843
861
|
property({ attribute: "show-less-text" })
|