@carbon/ai-chat-components 0.5.0 → 0.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 +9201 -295
- package/dist/16-B6dpbhwk.js +91 -0
- package/dist/apl-Bkd9Mf6P.js +91 -0
- package/dist/asciiarmor-DL4R2aFc.js +91 -0
- package/dist/asn1-BNuq0wMN.js +91 -0
- package/dist/asterisk-CKsJI4Xo.js +91 -0
- package/dist/button-Cl3aa-QH.js +157 -0
- package/dist/button-skeleton-DpmYT5sr.js +116 -0
- package/dist/carbon-element-DtQeYrv7.js +91 -0
- package/dist/carbon-element-wyoWZuGw.js +91 -0
- package/dist/chain-of-thought.min.js +276 -0
- package/dist/chat-button.min.js +71 -81
- package/dist/checkbox-skeleton-77m2gyNb.js +166 -0
- package/dist/class-map-BgQK6m9u.js +106 -0
- package/dist/clike-7TJ9zfKW.js +91 -0
- package/dist/clojure-9jpZ60Lu.js +91 -0
- package/dist/cmake-UY0DwvRL.js +91 -0
- package/dist/cobol-DhfZi79a.js +91 -0
- package/dist/code-snippet.min.js +91 -0
- package/dist/codemirror-runtime-ClX6d06H.js +173 -0
- package/dist/coffeescript-mDf6LSpC.js +91 -0
- package/dist/collection-helpers-DTO_rBxT.js +91 -0
- package/dist/commonlisp-Qa7gZPAc.js +91 -0
- package/dist/crystal-C1gbEnje.js +91 -0
- package/dist/css-BLorXS28.js +91 -0
- package/dist/custom-element-C-oe1CPQ.js +96 -0
- package/dist/cypher-BY0J-JQD.js +91 -0
- package/dist/d-zkooxxUz.js +91 -0
- package/dist/diff-CrCOHpAq.js +91 -0
- package/dist/dockerfile-D7x4UVxN.js +91 -0
- package/dist/dtd-Cp_rfrvO.js +91 -0
- package/dist/dylan-BWjG5gpG.js +91 -0
- package/dist/ebnf-JN5Vq0lF.js +91 -0
- package/dist/ecl-De3xBvSp.js +91 -0
- package/dist/eiffel-BUg3McKi.js +91 -0
- package/dist/elm-BzEpaycL.js +91 -0
- package/dist/erlang-CRda3Szm.js +91 -0
- package/dist/factor-HH6tZH2o.js +91 -0
- package/dist/fcl-DethtZZ9.js +91 -0
- package/dist/feedback.min.js +300 -0
- package/dist/forth-CvRI4Fp8.js +91 -0
- package/dist/fortran-BlOOIWks.js +91 -0
- package/dist/gas-D13dt2I8.js +91 -0
- package/dist/gherkin-DeOVdg90.js +91 -0
- package/dist/groovy-HwkbYX11.js +91 -0
- package/dist/haskell-BrtcJMpO.js +91 -0
- package/dist/haxe-DLraHdYm.js +91 -0
- package/dist/http-DZFwp0rs.js +91 -0
- package/dist/icon-button-DLTQYCDh.js +143 -0
- package/dist/icon-loader-DNSGSUXr.js +101 -0
- package/dist/idl-9eLgsa_L.js +91 -0
- package/dist/if-defined-D_Efffcr.js +96 -0
- package/dist/index-07U-x-DZ.js +91 -0
- package/dist/index-B-leT4Qo.js +91 -0
- package/dist/index-BCIOZ3Iv.js +91 -0
- package/dist/index-BJcdJS87.js +91 -0
- package/dist/index-BlpbVMq_.js +91 -0
- package/dist/index-CB8fQWmx.js +91 -0
- package/dist/index-CDmjsjkj.js +91 -0
- package/dist/index-CHI0qSLN.js +91 -0
- package/dist/index-CHor-HRv.js +91 -0
- package/dist/index-C_x1WGc6.js +91 -0
- package/dist/index-Cg3MLvVN.js +91 -0
- package/dist/index-Cp5sEHjB.js +367 -0
- package/dist/index-CtUoNlIM.js +91 -0
- package/dist/index-CusUYvgE.js +91 -0
- package/dist/index-CvvPafwM.js +168 -0
- package/dist/index-DDjGfF24.js +91 -0
- package/dist/index-DxS06aLY.js +91 -0
- package/dist/index-FwP_JV-c.js +91 -0
- package/dist/index-Hcd_VCMd.js +91 -0
- package/dist/index-LlI0lXKE.js +91 -0
- package/dist/index-Q34JRmNZ.js +91 -0
- package/dist/index-f7UAoB15.js +91 -0
- package/dist/index-mQZVoo3c.js +91 -0
- package/dist/index-yd1vgygF.js +91 -0
- package/dist/javascript-hgM39w7C.js +91 -0
- package/dist/julia-DtM_gc7j.js +91 -0
- package/dist/{settings-XW6XylsZ.js → lit-element-BnGYooZk.js} +70 -12
- package/dist/livescript-BySrhTUe.js +91 -0
- package/dist/lua-ChD7R8km.js +91 -0
- package/dist/markdown.min.js +296 -0
- package/dist/mathematica-kcP6Cajy.js +91 -0
- package/dist/mbox-Bw_KHaUe.js +91 -0
- package/dist/mirc-jvko25mJ.js +91 -0
- package/dist/mllike-CNKOuVeX.js +91 -0
- package/dist/modelica-YfrFDmxR.js +91 -0
- package/dist/mscgen-Bok75bzR.js +91 -0
- package/dist/mumps-BTuSBaU1.js +91 -0
- package/dist/nginx-DwZuHJnC.js +91 -0
- package/dist/nsis-CIx93lk7.js +91 -0
- package/dist/ntriples-Djj269Be.js +91 -0
- package/dist/octave-CrdvfVOv.js +91 -0
- package/dist/oz-C4bYf6je.js +91 -0
- package/dist/pascal-D2KPt6vl.js +91 -0
- package/dist/perl-5YDHx0ay.js +91 -0
- package/dist/pig-DzmRINVg.js +91 -0
- package/dist/powershell-BT_ybnoW.js +91 -0
- package/dist/processing.min.js +71 -4
- package/dist/properties-4YytEGly.js +91 -0
- package/dist/protobuf-CI-p1B8j.js +91 -0
- package/dist/pug-DLHGbkXU.js +91 -0
- package/dist/puppet-BbNNtXxr.js +91 -0
- package/dist/python-D3PSFk0-.js +91 -0
- package/dist/q-ObXF982D.js +91 -0
- package/dist/query-DLqIY4Wn.js +101 -0
- package/dist/r-DiZLK5qY.js +91 -0
- package/dist/radio-group-manager-GuAarpdg.js +91 -0
- package/dist/reasoning-steps.min.js +171 -0
- package/dist/repeat-DQkjGru3.js +96 -0
- package/dist/rpm-BA1XlISV.js +91 -0
- package/dist/ruby-o3bYJp8s.js +91 -0
- package/dist/sas-YW-OKZPX.js +91 -0
- package/dist/scheme-D5iPrCDC.js +91 -0
- package/dist/settings-BfbbHBjJ.js +99 -0
- package/dist/shell-BMwJ8_g7.js +91 -0
- package/dist/sieve-BE4sKTG2.js +91 -0
- package/dist/simple-mode-2GmZ0AR1.js +91 -0
- package/dist/smalltalk-CI3t8V3g.js +91 -0
- package/dist/solr-xhjjvvCE.js +91 -0
- package/dist/sparql-D64FGxiD.js +91 -0
- package/dist/spreadsheet-CnwQq-zp.js +91 -0
- package/dist/sql-CWCB15es.js +91 -0
- package/dist/state-BF51fRID.js +96 -0
- package/dist/stex-DqIfOYF1.js +91 -0
- package/dist/stylus-xz-vruRQ.js +91 -0
- package/dist/swift-BPHP66va.js +91 -0
- package/dist/sync-HIZypRbs.js +91 -0
- package/dist/table-runtime-C7apcdgu.js +510 -0
- package/dist/table.min.js +91 -0
- package/dist/tcl-BSDESp20.js +91 -0
- package/dist/text-input-Ca8K1Ydg.js +158 -0
- package/dist/textile-COeIYMRW.js +91 -0
- package/dist/throttle-CN5lMS8t.js +91 -0
- package/dist/tiddlywiki-Bs5PoKQf.js +91 -0
- package/dist/tiki-DqKGtwP5.js +91 -0
- package/dist/tile-container.min.js +70 -14
- package/dist/toml-DA5Yl8WK.js +91 -0
- package/dist/toolbar.min.js +180 -0
- package/dist/troff-BRNQrjuW.js +91 -0
- package/dist/ttcn-Bn8eKWOh.js +91 -0
- package/dist/ttcn-cfg-BO-9W9JU.js +91 -0
- package/dist/turtle-CxuhUAyA.js +91 -0
- package/dist/vb-C40-VEDj.js +91 -0
- package/dist/vbscript-BogOMGMf.js +91 -0
- package/dist/velocity-CQs7G9b4.js +91 -0
- package/dist/verilog-CelFoyTQ.js +91 -0
- package/dist/vhdl-BlCs0iAG.js +91 -0
- package/dist/webidl-VWB4mjSa.js +91 -0
- package/dist/workspace-shell.min.js +162 -0
- package/dist/xquery-B8qd1YwF.js +91 -0
- package/dist/yacas-OhfCFLfI.js +91 -0
- package/dist/z80-oZfTgdDp.js +91 -0
- package/es/components/chain-of-thought/index.d.ts +4 -0
- package/es/components/chain-of-thought/index.js +11 -0
- package/es/components/chain-of-thought/index.js.map +1 -0
- package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.d.ts +15 -0
- package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.js +36 -0
- package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.js.map +1 -0
- package/es/components/chain-of-thought/src/chain-of-thought.d.ts +87 -0
- package/es/components/chain-of-thought/src/chain-of-thought.js +189 -0
- package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -0
- package/es/components/chain-of-thought/src/chain-of-thought.scss.js +13 -0
- package/es/components/chain-of-thought/src/chain-of-thought.scss.js.map +1 -0
- package/es/components/chain-of-thought/src/chain-of-thought.template.d.ts +5 -0
- package/es/components/chain-of-thought/src/chain-of-thought.template.js +206 -0
- package/es/components/chain-of-thought/src/chain-of-thought.template.js.map +1 -0
- package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.d.ts +10 -0
- package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.js +50 -0
- package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.js.map +1 -0
- package/es/components/chain-of-thought/src/types.d.ts +73 -0
- package/es/components/chain-of-thought/src/types.js +29 -0
- package/es/components/chain-of-thought/src/types.js.map +1 -0
- package/es/components/chat-button/defs.d.ts +25 -0
- package/es/components/chat-button/defs.js +36 -0
- package/es/components/chat-button/defs.js.map +1 -0
- package/es/components/chat-button/index.d.ts +1 -1
- package/es/components/chat-button/index.js +1 -1
- package/es/components/chat-button/src/chat-button.d.ts +32 -0
- package/es/components/chat-button/{chat-button.js → src/chat-button.js} +16 -10
- package/es/components/chat-button/src/chat-button.js.map +1 -0
- package/es/components/chat-button/src/chat-button.scss.js +1 -1
- package/es/components/code-snippet/index.d.ts +3 -0
- package/es/components/code-snippet/index.js +10 -0
- package/es/components/code-snippet/index.js.map +1 -0
- package/es/components/code-snippet/src/code-snippet-tile-container.d.ts +32 -0
- package/es/components/code-snippet/src/code-snippet-tile-container.js +143 -0
- package/es/components/code-snippet/src/code-snippet-tile-container.js.map +1 -0
- package/es/components/code-snippet/src/code-snippet.d.ts +482 -0
- package/es/components/code-snippet/src/code-snippet.js +592 -0
- package/es/components/code-snippet/src/code-snippet.js.map +1 -0
- package/es/components/code-snippet/src/code-snippet.scss.js +13 -0
- package/es/components/code-snippet/src/code-snippet.scss.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/base-setup.d.ts +12 -0
- package/es/components/code-snippet/src/codemirror/base-setup.js +65 -0
- package/es/components/code-snippet/src/codemirror/base-setup.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +12 -0
- package/es/components/code-snippet/src/codemirror/codemirror-loader.js +36 -0
- package/es/components/code-snippet/src/codemirror/codemirror-loader.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +7 -0
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +13 -0
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/content-sync.d.ts +12 -0
- package/es/components/code-snippet/src/codemirror/content-sync.js +72 -0
- package/es/components/code-snippet/src/codemirror/content-sync.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +28 -0
- package/es/components/code-snippet/src/codemirror/editor-manager.js +75 -0
- package/es/components/code-snippet/src/codemirror/editor-manager.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/language-controller.d.ts +38 -0
- package/es/components/code-snippet/src/codemirror/language-controller.js +220 -0
- package/es/components/code-snippet/src/codemirror/language-controller.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/language-data.d.ts +6 -0
- package/es/components/code-snippet/src/codemirror/language-data.js +1043 -0
- package/es/components/code-snippet/src/codemirror/language-data.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/language-utils.d.ts +79 -0
- package/es/components/code-snippet/src/codemirror/language-utils.js +219 -0
- package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/marker-utils.d.ts +123 -0
- package/es/components/code-snippet/src/codemirror/marker-utils.js +183 -0
- package/es/components/code-snippet/src/codemirror/marker-utils.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/theme.d.ts +54 -0
- package/es/components/code-snippet/src/codemirror/theme.js +320 -0
- package/es/components/code-snippet/src/codemirror/theme.js.map +1 -0
- package/es/components/code-snippet/src/dom-utils.d.ts +24 -0
- package/es/components/code-snippet/src/dom-utils.js +63 -0
- package/es/components/code-snippet/src/dom-utils.js.map +1 -0
- package/es/components/code-snippet/src/formatters.d.ts +4 -0
- package/es/components/code-snippet/src/formatters.js +19 -0
- package/es/components/code-snippet/src/formatters.js.map +1 -0
- package/es/components/code-snippet/src/layout-utils.d.ts +22 -0
- package/es/components/code-snippet/src/layout-utils.js +63 -0
- package/es/components/code-snippet/src/layout-utils.js.map +1 -0
- package/es/components/code-snippet/src/streaming-manager.d.ts +24 -0
- package/es/components/code-snippet/src/streaming-manager.js +120 -0
- package/es/components/code-snippet/src/streaming-manager.js.map +1 -0
- package/es/components/feedback/index.d.ts +7 -0
- package/es/components/feedback/index.js +12 -0
- package/es/components/feedback/index.js.map +1 -0
- package/es/components/feedback/src/cds-aichat-feedback-buttons.d.ts +15 -0
- package/es/components/feedback/src/cds-aichat-feedback-buttons.js +36 -0
- package/es/components/feedback/src/cds-aichat-feedback-buttons.js.map +1 -0
- package/es/components/feedback/src/cds-aichat-feedback.d.ts +15 -0
- package/es/components/feedback/src/cds-aichat-feedback.js +36 -0
- package/es/components/feedback/src/cds-aichat-feedback.js.map +1 -0
- package/es/components/feedback/src/feedback-buttons.d.ts +56 -0
- package/es/components/feedback/src/feedback-buttons.js +104 -0
- package/es/components/feedback/src/feedback-buttons.js.map +1 -0
- package/es/components/feedback/src/feedback-buttons.scss.js +13 -0
- package/es/components/feedback/src/feedback-buttons.scss.js.map +1 -0
- package/es/components/feedback/src/feedback-buttons.template.d.ts +4 -0
- package/es/components/feedback/src/feedback-buttons.template.js +79 -0
- package/es/components/feedback/src/feedback-buttons.template.js.map +1 -0
- package/es/components/feedback/src/feedback.d.ts +114 -0
- package/es/components/feedback/src/feedback.js +182 -0
- package/es/components/feedback/src/feedback.js.map +1 -0
- package/es/components/feedback/src/feedback.scss.js +13 -0
- package/es/components/feedback/src/feedback.scss.js.map +1 -0
- package/es/components/feedback/src/feedback.template.d.ts +12 -0
- package/es/components/feedback/src/feedback.template.js +115 -0
- package/es/components/feedback/src/feedback.template.js.map +1 -0
- package/es/components/markdown/index.d.ts +2 -0
- package/es/components/markdown/index.js +9 -0
- package/es/components/markdown/index.js.map +1 -0
- package/es/components/markdown/src/cds-aichat-markdown.d.ts +13 -0
- package/es/components/markdown/src/cds-aichat-markdown.js +35 -0
- package/es/components/markdown/src/cds-aichat-markdown.js.map +1 -0
- package/es/components/markdown/src/markdown-renderer.d.ts +62 -0
- package/es/components/markdown/src/markdown-renderer.js +354 -0
- package/es/components/markdown/src/markdown-renderer.js.map +1 -0
- package/es/components/markdown/src/markdown-token-tree.d.ts +32 -0
- package/es/components/markdown/src/markdown-token-tree.js +178 -0
- package/es/components/markdown/src/markdown-token-tree.js.map +1 -0
- package/es/components/markdown/src/markdown.d.ts +44 -0
- package/es/components/markdown/src/markdown.js +238 -0
- package/es/components/markdown/src/markdown.js.map +1 -0
- package/es/components/markdown/src/markdown.scss.js +13 -0
- package/es/components/markdown/src/markdown.scss.js.map +1 -0
- package/es/components/markdown/src/markdown.template.d.ts +3 -0
- package/es/components/markdown/src/markdown.template.js +24 -0
- package/es/components/markdown/src/markdown.template.js.map +1 -0
- package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +7 -0
- package/es/components/markdown/src/plugins/markdown-it-attrs.js +84 -0
- package/es/components/markdown/src/plugins/markdown-it-attrs.js.map +1 -0
- package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +7 -0
- package/es/components/markdown/src/plugins/markdown-it-highlight.js +59 -0
- package/es/components/markdown/src/plugins/markdown-it-highlight.js.map +1 -0
- package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +12 -0
- package/es/components/markdown/src/plugins/markdown-it-task-lists.js +73 -0
- package/es/components/markdown/src/plugins/markdown-it-task-lists.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/core.d.ts +26 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/core.js +330 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/core.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.d.ts +6 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js +63 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.d.ts +6 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +43 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.d.ts +5 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.js +55 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.d.ts +19 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +210 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.d.ts +13 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +156 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.d.ts +13 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +216 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/types.d.ts +34 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/types.js +8 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/types.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/utils.d.ts +25 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/utils.js +62 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/utils.js.map +1 -0
- package/es/components/markdown/src/utils/html-helpers.d.ts +2 -0
- package/es/components/markdown/src/utils/html-helpers.js +204 -0
- package/es/components/markdown/src/utils/html-helpers.js.map +1 -0
- package/es/components/markdown/src/utils/table-helpers.d.ts +31 -0
- package/es/components/markdown/src/utils/table-helpers.js +106 -0
- package/es/components/markdown/src/utils/table-helpers.js.map +1 -0
- package/es/components/markdown/src/utils.d.ts +8 -0
- package/es/components/markdown/src/utils.js +31 -0
- package/es/components/markdown/src/utils.js.map +1 -0
- package/es/components/reasoning-steps/index.d.ts +2 -0
- package/es/components/reasoning-steps/index.js +10 -0
- package/es/components/reasoning-steps/index.js.map +1 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.d.ts +29 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.js +231 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.js.map +1 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.scss.js +13 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.scss.js.map +1 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.d.ts +13 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.js +96 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.js.map +1 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.scss.js +13 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.scss.js.map +1 -0
- package/es/components/table/index.d.ts +3 -0
- package/es/components/table/index.js +9 -0
- package/es/components/table/index.js.map +1 -0
- package/es/components/table/src/cds-aichat-table.d.ts +262 -0
- package/es/components/table/src/cds-aichat-table.js +511 -0
- package/es/components/table/src/cds-aichat-table.js.map +1 -0
- package/es/components/table/src/table-loader.d.ts +4 -0
- package/es/components/table/src/table-loader.js +28 -0
- package/es/components/table/src/table-loader.js.map +1 -0
- package/es/components/table/src/table-pagination.template.d.ts +27 -0
- package/es/components/table/src/table-pagination.template.js +55 -0
- package/es/components/table/src/table-pagination.template.js.map +1 -0
- package/es/components/table/src/table-runtime.d.ts +2 -0
- package/es/components/table/src/table-runtime.js +10 -0
- package/es/components/table/src/table-runtime.js.map +1 -0
- package/es/components/table/src/table-skeleton.template.d.ts +6 -0
- package/es/components/table/src/table-skeleton.template.js +34 -0
- package/es/components/table/src/table-skeleton.template.js.map +1 -0
- package/es/components/table/src/table.scss.js +13 -0
- package/es/components/table/src/table.scss.js.map +1 -0
- package/es/components/table/src/table.template.d.ts +10 -0
- package/es/components/table/src/table.template.js +89 -0
- package/es/components/table/src/table.template.js.map +1 -0
- package/es/components/table/src/types.d.ts +13 -0
- package/es/components/table/src/types.js +8 -0
- package/es/components/table/src/types.js.map +1 -0
- package/es/components/tile-container/src/styles.scss.js +1 -1
- package/es/components/toolbar/index.d.ts +1 -0
- package/es/components/toolbar/index.js +9 -0
- package/es/components/toolbar/index.js.map +1 -0
- package/es/components/toolbar/src/toolbar.d.ts +39 -0
- package/es/components/toolbar/src/toolbar.js +179 -0
- package/es/components/toolbar/src/toolbar.js.map +1 -0
- package/es/components/toolbar/src/toolbar.scss.js +13 -0
- package/es/components/toolbar/src/toolbar.scss.js.map +1 -0
- package/es/components/workspace-shell/index.d.ts +5 -0
- package/es/components/workspace-shell/index.js +13 -0
- package/es/components/workspace-shell/index.js.map +1 -0
- package/es/components/workspace-shell/src/styles.scss.js +13 -0
- package/es/components/workspace-shell/src/styles.scss.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell-body.d.ts +16 -0
- package/es/components/workspace-shell/src/workspace-shell-body.js +50 -0
- package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +19 -0
- package/es/components/workspace-shell/src/workspace-shell-footer.js +53 -0
- package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell-header.d.ts +27 -0
- package/es/components/workspace-shell/src/workspace-shell-header.js +77 -0
- package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell-toolbar.d.ts +22 -0
- package/es/components/workspace-shell/src/workspace-shell-toolbar.js +61 -0
- package/es/components/workspace-shell/src/workspace-shell-toolbar.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell.d.ts +20 -0
- package/es/components/workspace-shell/src/workspace-shell.js +83 -0
- package/es/components/workspace-shell/src/workspace-shell.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell.scss.js +13 -0
- package/es/components/workspace-shell/src/workspace-shell.scss.js.map +1 -0
- package/es/globals/utils/uuid.d.ts +5 -0
- package/es/globals/utils/uuid.js +32 -0
- package/es/globals/utils/uuid.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +11 -0
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +1 -0
- package/es/node_modules/@codemirror/autocomplete/dist/index.js +258 -0
- package/es/node_modules/@codemirror/autocomplete/dist/index.js.map +1 -0
- package/es/node_modules/@codemirror/commands/dist/index.js +1140 -0
- package/es/node_modules/@codemirror/commands/dist/index.js.map +1 -0
- package/es/node_modules/@codemirror/lint/dist/index.js +636 -0
- package/es/node_modules/@codemirror/lint/dist/index.js.map +1 -0
- package/es/node_modules/@lezer/common/dist/index.js +253 -0
- package/es/node_modules/@lezer/common/dist/index.js.map +1 -0
- package/es/node_modules/crelt/index.js +37 -0
- package/es/node_modules/crelt/index.js.map +1 -0
- package/es/react/ai-label.d.ts +2 -1
- package/es/react/ai-label.js +3 -2
- package/es/react/ai-label.js.map +1 -1
- package/es/react/button.d.ts +2 -1
- package/es/react/button.js +3 -2
- package/es/react/button.js.map +1 -1
- package/es/react/chain-of-thought.d.ts +7 -0
- package/es/react/chain-of-thought.js +29 -0
- package/es/react/chain-of-thought.js.map +1 -0
- package/es/react/chat-button.d.ts +4 -4
- package/es/react/chat-button.js +6 -4
- package/es/react/chat-button.js.map +1 -1
- package/es/react/code-snippet-tile-container.d.ts +5 -0
- package/es/react/code-snippet-tile-container.js +30 -0
- package/es/react/code-snippet-tile-container.js.map +1 -0
- package/es/react/code-snippet.d.ts +4 -0
- package/es/react/code-snippet.js +31 -0
- package/es/react/code-snippet.js.map +1 -0
- package/es/react/content-switcher.d.ts +7 -0
- package/es/react/content-switcher.js +37 -0
- package/es/react/content-switcher.js.map +1 -0
- package/es/react/feedback-buttons.d.ts +4 -0
- package/es/react/feedback-buttons.js +28 -0
- package/es/react/feedback-buttons.js.map +1 -0
- package/es/react/feedback.d.ts +6 -0
- package/es/react/feedback.js +32 -0
- package/es/react/feedback.js.map +1 -0
- package/es/react/icon-button.d.ts +2 -1
- package/es/react/icon-button.js +3 -2
- package/es/react/icon-button.js.map +1 -1
- package/es/react/icon.d.ts +4 -0
- package/es/react/icon.js +28 -0
- package/es/react/icon.js.map +1 -0
- package/es/react/markdown.d.ts +4 -0
- package/es/react/markdown.js +28 -0
- package/es/react/markdown.js.map +1 -0
- package/es/react/overflow-menu.d.ts +9 -0
- package/es/react/overflow-menu.js +40 -0
- package/es/react/overflow-menu.js.map +1 -0
- package/es/react/processing.d.ts +2 -1
- package/es/react/processing.js +3 -2
- package/es/react/processing.js.map +1 -1
- package/es/react/reasoning-step.d.ts +6 -0
- package/es/react/reasoning-step.js +31 -0
- package/es/react/reasoning-step.js.map +1 -0
- package/es/react/reasoning-steps.d.ts +3 -0
- package/es/react/reasoning-steps.js +27 -0
- package/es/react/reasoning-steps.js.map +1 -0
- package/es/react/tile-container.d.ts +2 -1
- package/es/react/tile-container.js +3 -2
- package/es/react/tile-container.js.map +1 -1
- package/es/react/tile.d.ts +3 -2
- package/es/react/tile.js +5 -4
- package/es/react/tile.js.map +1 -1
- package/es/react/toolbar.d.ts +4 -0
- package/es/react/toolbar.js +28 -0
- package/es/react/toolbar.js.map +1 -0
- package/es/react/utils/withWebComponentBridge.d.ts +15 -0
- package/es/react/utils/withWebComponentBridge.js +95 -0
- package/es/react/utils/withWebComponentBridge.js.map +1 -0
- package/es/testing/load-all-lazy-deps.d.ts +10 -0
- package/es/testing/load-all-lazy-deps.js +30 -0
- package/es/testing/load-all-lazy-deps.js.map +1 -0
- package/package.json +39 -5
- package/dist/carbon-element-CMR7BOhG.js +0 -24
- package/dist/class-map-h7IEvsL_.js +0 -39
- package/es/components/chat-button/chat-button.d.ts +0 -23
- package/es/components/chat-button/chat-button.js.map +0 -1
- package/es/components/chat-button/src/chat-button.template.d.ts +0 -16
- package/es/components/chat-button/src/chat-button.template.js +0 -27
- package/es/components/chat-button/src/chat-button.template.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processing.js","sources":["../../src/react/processing.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"processing.js","sources":["../../src/react/processing.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,UAAU,GAAG,sBAAsB,CACvC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,uBAAuB;AAChC,IAAA,YAAY,EAAE,mBAAmB;AACjC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import CDSAIChatReasoningStep from "../components/reasoning-steps/src/cds-aichat-reasoning-step.js";
|
|
2
|
+
declare const ReasoningStep: import("@lit/react").ReactWebComponent<CDSAIChatReasoningStep, {
|
|
3
|
+
onBeforeToggle: string;
|
|
4
|
+
onToggle: string;
|
|
5
|
+
}>;
|
|
6
|
+
export default ReasoningStep;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { createComponent } from '@lit/react';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import CDSAIChatReasoningStep from '../components/reasoning-steps/src/cds-aichat-reasoning-step.js';
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
* Copyright IBM Corp. 2025
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*
|
|
18
|
+
* @license
|
|
19
|
+
*/
|
|
20
|
+
const ReasoningStep = createComponent({
|
|
21
|
+
tagName: "cds-aichat-reasoning-step",
|
|
22
|
+
elementClass: CDSAIChatReasoningStep,
|
|
23
|
+
react: React,
|
|
24
|
+
events: {
|
|
25
|
+
onBeforeToggle: "cds-aichat-reasoning-step-beingtoggled",
|
|
26
|
+
onToggle: "cds-aichat-reasoning-step-toggled",
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export { ReasoningStep as default };
|
|
31
|
+
//# sourceMappingURL=reasoning-step.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reasoning-step.js","sources":["../../src/react/reasoning-step.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;AAOG;AAOH,MAAM,aAAa,GAAG,eAAe,CAAC;AACpC,IAAA,OAAO,EAAE,2BAA2B;AACpC,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,cAAc,EAAE,wCAAwC;AACxD,QAAA,QAAQ,EAAE,mCAAmC;AAC9C,KAAA;AACF,CAAA;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { createComponent } from '@lit/react';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import CDSAIChatReasoningSteps from '../components/reasoning-steps/src/cds-aichat-reasoning-steps.js';
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
* Copyright IBM Corp. 2025
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*
|
|
18
|
+
* @license
|
|
19
|
+
*/
|
|
20
|
+
const ReasoningSteps = createComponent({
|
|
21
|
+
tagName: "cds-aichat-reasoning-steps",
|
|
22
|
+
elementClass: CDSAIChatReasoningSteps,
|
|
23
|
+
react: React,
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export { ReasoningSteps as default };
|
|
27
|
+
//# sourceMappingURL=reasoning-steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reasoning-steps.js","sources":["../../src/react/reasoning-steps.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;AAOG;AAOH,MAAM,cAAc,GAAG,eAAe,CAAC;AACrC,IAAA,OAAO,EAAE,4BAA4B;AACrC,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import CDSAIChatTileContainer from "../components/tile-container/src/tile-container.js";
|
|
2
|
-
declare const TileContainer:
|
|
3
|
+
declare const TileContainer: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CDSAIChatTileContainer>>;
|
|
3
4
|
export default TileContainer;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { createComponent } from '@lit/react';
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import CDSAIChatTileContainer from '../components/tile-container/src/tile-container.js';
|
|
11
|
+
import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
11
12
|
|
|
12
13
|
/*
|
|
13
14
|
* Copyright IBM Corp. 2025
|
|
@@ -17,11 +18,11 @@ import CDSAIChatTileContainer from '../components/tile-container/src/tile-contai
|
|
|
17
18
|
*
|
|
18
19
|
* @license
|
|
19
20
|
*/
|
|
20
|
-
const TileContainer = createComponent({
|
|
21
|
+
const TileContainer = withWebComponentBridge(createComponent({
|
|
21
22
|
tagName: "cds-aichat-tile-container",
|
|
22
23
|
elementClass: CDSAIChatTileContainer,
|
|
23
24
|
react: React,
|
|
24
|
-
});
|
|
25
|
+
}));
|
|
25
26
|
|
|
26
27
|
export { TileContainer as default };
|
|
27
28
|
//# sourceMappingURL=tile-container.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tile-container.js","sources":["../../src/react/tile-container.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tile-container.js","sources":["../../src/react/tile-container.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,aAAa,GAAG,sBAAsB,CAC1C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,2BAA2B;AACpC,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
|
package/es/react/tile.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import CarbonTileElement from "@carbon/web-components/es/components/tile/tile.js";
|
|
2
3
|
import CarbonClickableTileElement from "@carbon/web-components/es/components/tile/clickable-tile.js";
|
|
3
|
-
declare const Tile:
|
|
4
|
-
declare const ClickableTile:
|
|
4
|
+
declare const Tile: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonTileElement>>;
|
|
5
|
+
declare const ClickableTile: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonClickableTileElement>>;
|
|
5
6
|
export default Tile;
|
|
6
7
|
export { Tile, ClickableTile };
|
package/es/react/tile.js
CHANGED
|
@@ -9,6 +9,7 @@ import { createComponent } from '@lit/react';
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import CarbonTileElement from '@carbon/web-components/es/components/tile/tile.js';
|
|
11
11
|
import CarbonClickableTileElement from '@carbon/web-components/es/components/tile/clickable-tile.js';
|
|
12
|
+
import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
12
13
|
|
|
13
14
|
/*
|
|
14
15
|
* Copyright IBM Corp. 2025
|
|
@@ -18,16 +19,16 @@ import CarbonClickableTileElement from '@carbon/web-components/es/components/til
|
|
|
18
19
|
*
|
|
19
20
|
* @license
|
|
20
21
|
*/
|
|
21
|
-
const Tile = createComponent({
|
|
22
|
+
const Tile = withWebComponentBridge(createComponent({
|
|
22
23
|
tagName: "cds-tile",
|
|
23
24
|
elementClass: CarbonTileElement,
|
|
24
25
|
react: React,
|
|
25
|
-
});
|
|
26
|
-
const ClickableTile = createComponent({
|
|
26
|
+
}));
|
|
27
|
+
const ClickableTile = withWebComponentBridge(createComponent({
|
|
27
28
|
tagName: "cds-clickable-tile",
|
|
28
29
|
elementClass: CarbonClickableTileElement,
|
|
29
30
|
react: React,
|
|
30
|
-
});
|
|
31
|
+
}));
|
|
31
32
|
|
|
32
33
|
export { ClickableTile, Tile, Tile as default };
|
|
33
34
|
//# sourceMappingURL=tile.js.map
|
package/es/react/tile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tile.js","sources":["../../src/react/tile.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tile.js","sources":["../../src/react/tile.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAUH,MAAM,IAAI,GAAG,sBAAsB,CACjC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;AAGJ,MAAM,aAAa,GAAG,sBAAsB,CAC1C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { createComponent } from '@lit/react';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import CDSAIChatToolbar from '../components/toolbar/src/toolbar.js';
|
|
11
|
+
import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
* Copyright IBM Corp. 2025
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*
|
|
19
|
+
* @license
|
|
20
|
+
*/
|
|
21
|
+
const Toolbar = withWebComponentBridge(createComponent({
|
|
22
|
+
tagName: "cds-aichat-toolbar",
|
|
23
|
+
elementClass: CDSAIChatToolbar,
|
|
24
|
+
react: React,
|
|
25
|
+
}));
|
|
26
|
+
|
|
27
|
+
export { Toolbar as default };
|
|
28
|
+
//# sourceMappingURL=toolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.js","sources":["../../src/react/toolbar.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,OAAO,GAAG,sBAAsB,CACpC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,gBAAgB;AAC9B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React 19 + @lit/react stop reliably flushing props to custom elements in DOM shims (happy-dom/jsdom)
|
|
3
|
+
* because they lack property reflection and upgrade timing. Browsers are fine, but tests only pass string
|
|
4
|
+
* attributes so Lit never sees updated properties. This bridge mirrors every non-reserved prop onto the
|
|
5
|
+
* custom element instance so Lit receives the real values and behaves the same in shims and browsers until
|
|
6
|
+
* upstream fixes land.
|
|
7
|
+
*
|
|
8
|
+
* Set `AICHAT_DISABLE_WEB_COMPONENT_BRIDGE=true` to make this a no-op (handy for verifying whether the
|
|
9
|
+
* workaround is still required).
|
|
10
|
+
*/
|
|
11
|
+
import React from "react";
|
|
12
|
+
/**
|
|
13
|
+
* Wrap a Lit `createComponent` result so that every prop is mirrored onto the underlying custom element as a property.
|
|
14
|
+
*/
|
|
15
|
+
export declare function withWebComponentBridge<P extends Record<string, unknown>, E extends Element = HTMLElement>(Component: React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<E>>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<E>>;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
|
|
11
|
+
// React-managed props that should never be forwarded to the host element.
|
|
12
|
+
const REACT_RESERVED_PROPS = new Set([
|
|
13
|
+
"children",
|
|
14
|
+
"className",
|
|
15
|
+
"style",
|
|
16
|
+
"slot",
|
|
17
|
+
"key",
|
|
18
|
+
"ref",
|
|
19
|
+
"suppressContentEditableWarning",
|
|
20
|
+
"suppressHydrationWarning",
|
|
21
|
+
"dangerouslySetInnerHTML",
|
|
22
|
+
]);
|
|
23
|
+
// Merge forwardedRef with our internal host ref so both the wrapper and callers observe the same element.
|
|
24
|
+
function mergeRefs(...refs) {
|
|
25
|
+
return (value) => {
|
|
26
|
+
// Propagate the element to every provided ref.
|
|
27
|
+
for (const ref of refs) {
|
|
28
|
+
if (!ref) {
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
// Support both callback refs and mutable ref objects.
|
|
32
|
+
if (typeof ref === "function") {
|
|
33
|
+
ref(value);
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
ref.current = value;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Wrap a Lit `createComponent` result so that every prop is mirrored onto the underlying custom element as a property.
|
|
43
|
+
*/
|
|
44
|
+
function withWebComponentBridge(Component) {
|
|
45
|
+
const Bridged = React.forwardRef((props, forwardedRef) => {
|
|
46
|
+
const hostRef = React.useRef(null);
|
|
47
|
+
const mergedRef = React.useMemo(() => mergeRefs(hostRef, forwardedRef), [forwardedRef]);
|
|
48
|
+
React.useLayoutEffect(() => {
|
|
49
|
+
const element = hostRef.current;
|
|
50
|
+
if (!element) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
Object.entries(props).forEach(([key, value]) => {
|
|
54
|
+
if (REACT_RESERVED_PROPS.has(key)) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const isEventProp = key.startsWith("on") &&
|
|
58
|
+
key.length > 2 &&
|
|
59
|
+
key[2] === key[2].toUpperCase();
|
|
60
|
+
if (isEventProp) {
|
|
61
|
+
// @lit/react already wires events when the prop follows the onEvent
|
|
62
|
+
// convention. Avoid double-binding here.
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
try {
|
|
66
|
+
// Prefer property assignment so Lit receives non-string values.
|
|
67
|
+
if (element[key] !== value) {
|
|
68
|
+
element[key] = value;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
catch {
|
|
72
|
+
// Fallback to attribute updates when property writes fail (readonly or unsupported props).
|
|
73
|
+
if (value === null || value === undefined || value === false) {
|
|
74
|
+
element.removeAttribute(key);
|
|
75
|
+
}
|
|
76
|
+
else if (value === true) {
|
|
77
|
+
element.setAttribute(key, "");
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
element.setAttribute(key, String(value));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}, [props]);
|
|
85
|
+
return jsx(Component, { ...props, ref: mergedRef });
|
|
86
|
+
});
|
|
87
|
+
Bridged.displayName =
|
|
88
|
+
Component.displayName ||
|
|
89
|
+
Component.name ||
|
|
90
|
+
"CarbonAIChatWebComponentWrapper";
|
|
91
|
+
return Bridged;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export { withWebComponentBridge };
|
|
95
|
+
//# sourceMappingURL=withWebComponentBridge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withWebComponentBridge.js","sources":["../../../src/react/utils/withWebComponentBridge.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;;;AAsBA;AACA,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAAC;IACnC,UAAU;IACV,WAAW;IACX,OAAO;IACP,MAAM;IACN,KAAK;IACL,KAAK;IACL,gCAAgC;IAChC,0BAA0B;IAC1B,yBAAyB;AAC1B,CAAA,CAAC;AAEF;AACA,SAAS,SAAS,CAChB,GAAG,IAA4C,EAAA;IAE/C,OAAO,CAAC,KAAe,KAAI;;AAEzB,QAAA,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;YACtB,IAAI,CAAC,GAAG,EAAE;gBACR;YACF;;AAEA,YAAA,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;gBAC7B,GAAG,CAAC,KAAK,CAAC;YACZ;iBAAO;AACJ,gBAAA,GAAwC,CAAC,OAAO,GAAG,KAAK;YAC3D;QACF;AACF,IAAA,CAAC;AACH;AAKA;;AAEG;AACG,SAAU,sBAAsB,CAIpC,SAEC,EAAA;IAOD,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAO,CAAC,KAAK,EAAE,YAAY,KAAI;QAC7D,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAW,IAAI,CAAC;QAC5C,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAC7B,MAAM,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC,EACtC,CAAC,YAAY,CAAC,CACf;AAED,QAAA,KAAK,CAAC,eAAe,CAAC,MAAK;AACzB,YAAA,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO;YAC/B,IAAI,CAAC,OAAO,EAAE;gBACZ;YACF;AAEA,YAAA,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;AAC7C,gBAAA,IAAI,oBAAoB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;oBACjC;gBACF;AAEA,gBAAA,MAAM,WAAW,GACf,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC;oBACpB,GAAG,CAAC,MAAM,GAAG,CAAC;oBACd,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;gBAEjC,IAAI,WAAW,EAAE;;;oBAGf;gBACF;AAEA,gBAAA,IAAI;;AAEF,oBAAA,IAAK,OAAe,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE;AAClC,wBAAA,OAAe,CAAC,GAAG,CAAC,GAAG,KAAK;oBAC/B;gBACF;AAAE,gBAAA,MAAM;;AAEN,oBAAA,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK,EAAE;AAC5D,wBAAA,OAAO,CAAC,eAAe,CAAC,GAAG,CAAC;oBAC9B;AAAO,yBAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AACzB,wBAAA,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,EAAE,CAAC;oBAC/B;yBAAO;wBACL,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;oBAC1C;gBACF;AACF,YAAA,CAAC,CAAC;AACJ,QAAA,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;QAEX,OAAOA,GAAA,CAAC,SAAS,EAAA,EAAA,GAAK,KAAK,EAAE,GAAG,EAAE,SAAS,EAAA,CAAI;AACjD,IAAA,CAAC,CAAC;AAEF,IAAA,OAAO,CAAC,WAAW;AACjB,QAAA,SAAS,CAAC,WAAW;AACrB,YAAA,SAAS,CAAC,IAAI;AACd,YAAA,iCAAiC;AAEnC,IAAA,OAAO,OAAO;AAChB;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { loadCodeSnippetDeps } from "../components/code-snippet/src/codemirror/codemirror-loader.js";
|
|
2
|
+
import { loadTableDeps } from "../components/table/src/table-loader.js";
|
|
3
|
+
/**
|
|
4
|
+
* Preloads all lazily loaded dependencies so test environments (like Jest)
|
|
5
|
+
* can ensure the heavy components are ready before rendering.
|
|
6
|
+
*
|
|
7
|
+
* Consumers can call this once during their test setup files.
|
|
8
|
+
*/
|
|
9
|
+
export declare function loadAllLazyDeps(): Promise<void>;
|
|
10
|
+
export { loadCodeSnippetDeps, loadTableDeps };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { loadCodeSnippetDeps } from '../components/code-snippet/src/codemirror/codemirror-loader.js';
|
|
9
|
+
import { loadTableDeps } from '../components/table/src/table-loader.js';
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* Copyright IBM Corp. 2025
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*
|
|
17
|
+
* @license
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* Preloads all lazily loaded dependencies so test environments (like Jest)
|
|
21
|
+
* can ensure the heavy components are ready before rendering.
|
|
22
|
+
*
|
|
23
|
+
* Consumers can call this once during their test setup files.
|
|
24
|
+
*/
|
|
25
|
+
async function loadAllLazyDeps() {
|
|
26
|
+
await Promise.all([loadCodeSnippetDeps(), loadTableDeps()]);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { loadAllLazyDeps, loadCodeSnippetDeps, loadTableDeps };
|
|
30
|
+
//# sourceMappingURL=load-all-lazy-deps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-all-lazy-deps.js","sources":["../../src/testing/load-all-lazy-deps.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAAA;;;;;;;AAOG;AAKH;;;;;AAKG;AACI,eAAe,eAAe,GAAA;AACnC,IAAA,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,mBAAmB,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC;AAC7D;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ai-chat-components",
|
|
3
3
|
"description": "AI Chat Components",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0-rc.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|
|
17
17
|
"./es/*": "./es/*",
|
|
18
|
+
"./es/globals/": "./es/globals/",
|
|
18
19
|
"./dist/*": "./dist/*",
|
|
19
20
|
"./custom-elements.json": "./custom-elements.json",
|
|
20
21
|
"./package.json": "./package.json"
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
"clean": "rimraf es dist storybook-static",
|
|
32
33
|
"custom-elements": "cem analyze --config ./custom-elements-manifest.config.js",
|
|
33
34
|
"postinstall": "ibmtelemetry --config=telemetry.yml",
|
|
34
|
-
"start": "concurrently \"npm run storybook\" \"node tasks/build.js --watch\"",
|
|
35
|
+
"start": "concurrently \"npm run storybook\" \"npm run storybook:react\" \"node tasks/build.js --watch\"",
|
|
35
36
|
"storybook": "npm run custom-elements && storybook dev -p 6006",
|
|
36
37
|
"storybook:build": "npm run custom-elements && storybook build",
|
|
37
38
|
"storybook:react": "storybook dev -p 7007 -c .storybook-react",
|
|
@@ -41,17 +42,49 @@
|
|
|
41
42
|
"test:updateSnapshot": "web-test-runner \"src/components/**/*.test.ts\" --node-resolve --update-snapshots"
|
|
42
43
|
},
|
|
43
44
|
"dependencies": {
|
|
45
|
+
"@carbon/icon-helpers": "^10.47.0",
|
|
46
|
+
"@carbon/icons": "^11.53.0",
|
|
44
47
|
"@carbon/styles": "^1.39.0",
|
|
45
48
|
"@carbon/web-components": "^2.42.0",
|
|
49
|
+
"@codemirror/lang-angular": "^0.1.4",
|
|
50
|
+
"@codemirror/lang-cpp": "^6.0.3",
|
|
51
|
+
"@codemirror/lang-css": "^6.3.1",
|
|
52
|
+
"@codemirror/lang-go": "^6.0.1",
|
|
53
|
+
"@codemirror/lang-html": "^6.4.11",
|
|
54
|
+
"@codemirror/lang-java": "^6.0.2",
|
|
55
|
+
"@codemirror/lang-javascript": "^6.2.4",
|
|
56
|
+
"@codemirror/lang-jinja": "^6.0.0",
|
|
57
|
+
"@codemirror/lang-json": "^6.0.2",
|
|
58
|
+
"@codemirror/lang-less": "^6.0.2",
|
|
59
|
+
"@codemirror/lang-liquid": "^6.3.0",
|
|
60
|
+
"@codemirror/lang-markdown": "^6.5.0",
|
|
61
|
+
"@codemirror/lang-php": "^6.0.2",
|
|
62
|
+
"@codemirror/lang-python": "^6.2.1",
|
|
63
|
+
"@codemirror/lang-rust": "^6.0.2",
|
|
64
|
+
"@codemirror/lang-sass": "^6.0.2",
|
|
65
|
+
"@codemirror/lang-sql": "^6.10.0",
|
|
66
|
+
"@codemirror/lang-vue": "^0.1.3",
|
|
67
|
+
"@codemirror/lang-wast": "^6.0.2",
|
|
68
|
+
"@codemirror/lang-xml": "^6.1.0",
|
|
69
|
+
"@codemirror/lang-yaml": "^6.1.2",
|
|
70
|
+
"@codemirror/language": "^6.11.3",
|
|
71
|
+
"@codemirror/legacy-modes": "^6.5.2",
|
|
72
|
+
"@codemirror/state": "^6.5.2",
|
|
73
|
+
"@codemirror/view": "^6.38.5",
|
|
46
74
|
"@ibm/telemetry-js": "^1.10.2",
|
|
75
|
+
"@lezer/highlight": "^1.1.6",
|
|
47
76
|
"@lit/react": "^1.0.8",
|
|
48
|
-
"
|
|
77
|
+
"codemirror": "^6.0.2",
|
|
78
|
+
"csv-stringify": "^6.5.2",
|
|
79
|
+
"dompurify": "^3.1.6",
|
|
80
|
+
"lit": "^3.1.0",
|
|
49
81
|
"lodash-es": "^4.17.0",
|
|
82
|
+
"markdown-it": "^14.1.0",
|
|
83
|
+
"program-language-detector": "^0.0.12",
|
|
50
84
|
"tslib": "^2.6.3"
|
|
51
85
|
},
|
|
52
86
|
"devDependencies": {
|
|
53
87
|
"@carbon/grid": "^11.20.0",
|
|
54
|
-
"@carbon/icons": "^11.28.0",
|
|
55
88
|
"@carbon/layout": "^11.19.0",
|
|
56
89
|
"@carbon/themes": "^11.25.0",
|
|
57
90
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
@@ -70,6 +103,7 @@
|
|
|
70
103
|
"@storybook/react-vite": "^9.1.13",
|
|
71
104
|
"@storybook/web-components-vite": "^9.1.8",
|
|
72
105
|
"@types/jest": "^30.0.0",
|
|
106
|
+
"@types/markdown-it": "^14.1.2",
|
|
73
107
|
"@web/dev-server": "0.4.6",
|
|
74
108
|
"@web/dev-server-esbuild": "1.0.4",
|
|
75
109
|
"@web/test-runner": "0.19.0",
|
|
@@ -91,5 +125,5 @@
|
|
|
91
125
|
"vite": "^7.0.0",
|
|
92
126
|
"web-dev-server-plugin-lit-css": "^4.0.0"
|
|
93
127
|
},
|
|
94
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "55f7a924e4dc89a5c2a8222004b6fcd7e108fe1e"
|
|
95
129
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
19
|
-
* https://www.npmjs.com/package/lit-html
|
|
20
|
-
* https://www.npmjs.com/package/lit-element
|
|
21
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
function e(e){return t=>"function"==typeof t?((e,t)=>{try{customElements.define(e,t)}catch(e){}return t})(e,t):((e,t)=>{const{kind:n,elements:c}=t;return{kind:n,elements:c,finisher(t){try{customElements.define(e,t)}catch(e){}}}})(e,t)}export{e as c};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
19
|
-
* https://www.npmjs.com/package/lit-html
|
|
20
|
-
* https://www.npmjs.com/package/lit-element
|
|
21
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
import{f as t,u as e,T as s}from"./settings-XW6XylsZ.js";
|
|
25
|
-
/**
|
|
26
|
-
* @license
|
|
27
|
-
* Copyright 2017 Google LLC
|
|
28
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
-
*/const r={attribute:!0,type:String,converter:e,reflect:!1,hasChanged:t},n=(t=r,e,s)=>{const{kind:n,metadata:i}=s;let o=globalThis.litPropertyMetadata.get(i);if(void 0===o&&globalThis.litPropertyMetadata.set(i,o=new Map),"setter"===n&&((t=Object.create(t)).wrapped=!0),o.set(s.name,t),"accessor"===n){const{name:r}=s;return{set(s){const n=e.get.call(this);e.set.call(this,s),this.requestUpdate(r,n,t)},init(e){return void 0!==e&&this.C(r,void 0,t,e),e}}}if("setter"===n){const{name:r}=s;return function(s){const n=this[r];e.call(this,s),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+n)};function i(t){return(e,s)=>"object"==typeof s?n(t,e,s):((t,e,s)=>{const r=e.hasOwnProperty(s);return e.constructor.createProperty(s,t),r?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)}
|
|
30
|
-
/**
|
|
31
|
-
* @license
|
|
32
|
-
* Copyright 2017 Google LLC
|
|
33
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
34
|
-
*/const o=1;class a{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
35
|
-
/**
|
|
36
|
-
* @license
|
|
37
|
-
* Copyright 2018 Google LLC
|
|
38
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
39
|
-
*/const c=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends a{constructor(t){if(super(t),t.type!==o||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const r=t.element.classList;for(const t of this.st)t in e||(r.remove(t),this.st.delete(t));for(const t in e){const s=!!e[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)))}return s}});export{c as e,i as n};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { PropertyValues } from "lit";
|
|
10
|
-
import chatButton from "./src/chat-button.template.js";
|
|
11
|
-
/**
|
|
12
|
-
* Component extending the @carbon/web-components' button
|
|
13
|
-
*/
|
|
14
|
-
declare class ChatButton extends chatButton {
|
|
15
|
-
/**
|
|
16
|
-
* Specify whether the `ChatButton` should be rendered as a quick action button
|
|
17
|
-
*/
|
|
18
|
-
isQuickAction: boolean;
|
|
19
|
-
private readonly allowedSizes;
|
|
20
|
-
protected willUpdate(changedProps: PropertyValues<this>): void;
|
|
21
|
-
private _normalizeButtonState;
|
|
22
|
-
}
|
|
23
|
-
export default ChatButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-button.js","sources":["../../../src/components/chat-button/chat-button.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAWH;;AAEG;AAEH,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU,CAAA;AAAnC,IAAA,WAAA,GAAA;;AACE;;AAEG;QAEH,IAAA,CAAA,aAAa,GAAG,KAAK;AAEJ,QAAA,IAAA,CAAA,YAAY,GAAkB;AAC7C,YAAA,WAAW,CAAC,KAAK;AACjB,YAAA,WAAW,CAAC,MAAM;AAClB,YAAA,WAAW,CAAC,KAAK;SAClB;IAuBH;AArBY,IAAA,UAAU,CAAC,YAAkC,EAAA;AACrD,QAAA,IAAI,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;YACjE,IAAI,CAAC,qBAAqB,EAAE;QAC9B;IACF;IAEQ,qBAAqB,GAAA;AAC3B,QAAA,IAAI,IAAI,CAAC,aAAa,EAAE;AACtB,YAAA,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK;AAC7B,YAAA,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK;YAC7B;QACF;;AAEA,QAAA,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAmB,CAAC,EAAE;AACzD,YAAA,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK;QAC/B;AAEA,QAAA,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAmB,CAAC,EAAE;AAClE,YAAA,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,OAAO;QACjC;IACF;CACD;AA7BC,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE;AACnC,CAAA,EAAA,UAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AALlB,UAAU,GAAA,UAAA,CAAA;AADf,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,OAAA,CAAS;AAC3B,CAAA,EAAA,UAAU,CAkCf;AAED,mBAAe,UAAU;;;;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import CDSButton from "@carbon/web-components/es/components/button/button.js";
|
|
10
|
-
/**
|
|
11
|
-
* Component extending the @carbon/web-components' button
|
|
12
|
-
*/
|
|
13
|
-
declare class chatButton extends CDSButton {
|
|
14
|
-
static styles: any;
|
|
15
|
-
}
|
|
16
|
-
export default chatButton;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2025
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import CarbonButtonElement from '@carbon/web-components/es/components/button/button.js';
|
|
9
|
-
import styles from './chat-button.scss.js';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @license
|
|
13
|
-
*
|
|
14
|
-
* Copyright IBM Corp. 2025
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* Component extending the @carbon/web-components' button
|
|
21
|
-
*/
|
|
22
|
-
class chatButton extends CarbonButtonElement {
|
|
23
|
-
}
|
|
24
|
-
chatButton.styles = styles;
|
|
25
|
-
|
|
26
|
-
export { chatButton as default };
|
|
27
|
-
//# sourceMappingURL=chat-button.template.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-button.template.js","sources":["../../../../src/components/chat-button/src/chat-button.template.ts"],"sourcesContent":[null],"names":["CDSButton"],"mappings":";;;;;;;;;;AAAA;;;;;;;AAOG;AAMH;;AAEG;AACH,MAAM,UAAW,SAAQA,mBAAS,CAAA;;AACzB,UAAA,CAAA,MAAM,GAAG,MAAM;;;;"}
|