@carbon/ai-chat-components 1.5.0 → 1.6.0-rc.1
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 +238 -198
- package/es/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
- package/es/components/chat-shell/src/resize-observer-manager.js +3 -3
- package/es/components/chat-shell/src/resize-observer-manager.js.map +1 -1
- 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/components/truncated-text/src/truncated-text.js +1 -1
- package/es/components/truncated-text/src/truncated-text.js.map +1 -1
- package/es-custom/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
- package/es-custom/components/chat-shell/src/resize-observer-manager.js +3 -3
- package/es-custom/components/chat-shell/src/resize-observer-manager.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/es-custom/components/truncated-text/src/truncated-text.js +1 -1
- package/es-custom/components/truncated-text/src/truncated-text.js.map +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-snippet.js","sources":["../../../../src/components/code-snippet/src/code-snippet.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAuCH,MAAM,qBAAqB,GAAG,4BAA4B;AAC1D,MAAM,yBAAyB,GAAG,+BAA+B;AACjE,IAAI,sBAAsB,GAAG,CAAC;AAC9B,IAAI,4BAA4B,GAAG,KAAK;AAExC;;;;AAIG;AACH,SAAS,yBAAyB,GAAA;IAChC,IAAI,4BAA4B,EAAE;QAChC;IACF;IACA,kBAAkB,CAAC,yBAAyB,EAAE;AAC5C,QAAA,QAAQ,EAAE,OAAO;AACjB,QAAA,IAAI,EAAE,WAAW;AACjB,QAAA,GAAG,EAAE,WAAW;AAChB,QAAA,OAAO,EAAE,GAAG;AACb,KAAA,CAAC;IACF,4BAA4B,GAAG,IAAI;AACrC;AAMA;;;;;;;AAOG;AAEH,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,UAAU,CAAC,UAAU,CAAC,CAAA;AAsMvD,IAAA,IAAY,gBAAgB,GAAA;AAC1B,QAAA,OAAO,IAAI,qBAAqB,CAAA,EAAA,EAAK,IAAI,CAAC,kBAAkB,IAAI;IAClE;AAyDA;;;AAGG;AACH,IAAA,IAAY,WAAW,GAAA;AACrB,QAAA,QACE,IAAI,CAAC,wBAAwB,KAAK,CAAC,IAAI,IAAI,CAAC,uBAAuB,KAAK,CAAC;IAE7E;AAEA,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;;QAtQT,IAAA,CAAA,OAAO,GAAa,EAAE;;QAItB,IAAA,CAAA,QAAQ,GAAG,KAAK;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mC,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAMjC,UAAA,CAAA;AADP,IAAA,KAAK;AAC0B,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAMxB,UAAA,CAAA;AADP,IAAA,KAAK;AAC0B,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,kBAAA,EAAA,MAAA,CAAA;AAMxB,UAAA,CAAA;AADP,IAAA,KAAK;AACwB,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAMtB,UAAA,CAAA;AADP,IAAA,KAAK;AACiC,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,wBAAA,EAAA,MAAA,CAAA;AA3JnC,oBAAoB,GAAA,UAAA,CAAA;AADzB,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,aAAA,CAAe;AACjC,CAAA,EAAA,oBAAoB,CA04BzB;AASD,6BAAe,oBAAoB;;;;"}
|
|
1
|
+
{"version":3,"file":"code-snippet.js","sources":["../../../../src/components/code-snippet/src/code-snippet.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAuCH,MAAM,qBAAqB,GAAG,4BAA4B;AAC1D,MAAM,yBAAyB,GAAG,+BAA+B;AACjE,IAAI,sBAAsB,GAAG,CAAC;AAC9B,IAAI,4BAA4B,GAAG,KAAK;AAExC;;;;AAIG;AACH,SAAS,yBAAyB,GAAA;IAChC,IAAI,4BAA4B,EAAE;QAChC;IACF;IACA,kBAAkB,CAAC,yBAAyB,EAAE;AAC5C,QAAA,QAAQ,EAAE,OAAO;AACjB,QAAA,IAAI,EAAE,WAAW;AACjB,QAAA,GAAG,EAAE,WAAW;AAChB,QAAA,OAAO,EAAE,GAAG;AACb,KAAA,CAAC;IACF,4BAA4B,GAAG,IAAI;AACrC;AAMA;;;;;;;AAOG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A,YAAA,EAAA,MAAA,CAAA;AAMjC,UAAA,CAAA;AADP,IAAA,KAAK;AAC0B,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAMxB,UAAA,CAAA;AADP,IAAA,KAAK;AAC0B,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,kBAAA,EAAA,MAAA,CAAA;AAMxB,UAAA,CAAA;AADP,IAAA,KAAK;AACwB,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAMtB,UAAA,CAAA;AADP,IAAA,KAAK;AACiC,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,wBAAA,EAAA,MAAA,CAAA;AAtKnC,oBAAoB,GAAA,UAAA,CAAA;AADzB,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,aAAA,CAAe;AACjC,CAAA,EAAA,oBAAoB,CA25BzB;AASD,6BAAe,oBAAoB;;;;"}
|
|
@@ -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__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/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/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AM,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);
|