@carbon/ai-chat-components 1.3.0-rc.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1012,7 +1012,7 @@
1012
1012
  }
1013
1013
  }
1014
1014
  ],
1015
- "description": "Adopt the shared dynamic stylesheet on a root so its rules apply within\nthat tree. Idempotent per root."
1015
+ "description": "Adopt the shared dynamic stylesheet on a root so its rules apply within\nthat tree. Idempotent per root: subsequent calls for the same root are a\nno-op so we don't spuriously create a fallback `<style>` element on top of\nan already-adopted CSSStyleSheet (which trips strict CSP)."
1016
1016
  },
1017
1017
  {
1018
1018
  "kind": "function",
@@ -1174,12 +1174,6 @@
1174
1174
  }
1175
1175
  ]
1176
1176
  },
1177
- {
1178
- "kind": "javascript-module",
1179
- "path": "src/components/workspace-shell/index.ts",
1180
- "declarations": [],
1181
- "exports": []
1182
- },
1183
1177
  {
1184
1178
  "kind": "javascript-module",
1185
1179
  "path": "src/globals/decorators/carbon-element.ts",
@@ -1241,6 +1235,12 @@
1241
1235
  }
1242
1236
  ]
1243
1237
  },
1238
+ {
1239
+ "kind": "javascript-module",
1240
+ "path": "src/components/workspace-shell/index.ts",
1241
+ "declarations": [],
1242
+ "exports": []
1243
+ },
1244
1244
  {
1245
1245
  "kind": "javascript-module",
1246
1246
  "path": "src/globals/internal/storybook-cdn.ts",
@@ -2740,151 +2740,6 @@
2740
2740
  }
2741
2741
  ]
2742
2742
  },
2743
- {
2744
- "kind": "javascript-module",
2745
- "path": "src/components/carousel/src/carousel.ts",
2746
- "declarations": [
2747
- {
2748
- "kind": "class",
2749
- "description": "Carousel component",
2750
- "name": "CDSAICarousel",
2751
- "slots": [
2752
- {
2753
- "description": "The body",
2754
- "name": "body"
2755
- }
2756
- ],
2757
- "members": [
2758
- {
2759
- "kind": "field",
2760
- "name": "nextBtnText",
2761
- "type": {
2762
- "text": "string | undefined"
2763
- },
2764
- "description": "Text for the next button",
2765
- "attribute": "nextBtnText"
2766
- },
2767
- {
2768
- "kind": "field",
2769
- "name": "previousBtnText",
2770
- "type": {
2771
- "text": "string | undefined"
2772
- },
2773
- "description": "Text for the previous button",
2774
- "attribute": "previousBtnText"
2775
- },
2776
- {
2777
- "kind": "field",
2778
- "name": "container",
2779
- "type": {
2780
- "text": "Array<HTMLElement> | undefined"
2781
- },
2782
- "privacy": "private"
2783
- },
2784
- {
2785
- "kind": "field",
2786
- "name": "carousel",
2787
- "type": {
2788
- "text": "InitCarousel | undefined"
2789
- },
2790
- "privacy": "private"
2791
- },
2792
- {
2793
- "kind": "field",
2794
- "name": "_currentIndex",
2795
- "type": {
2796
- "text": "number"
2797
- },
2798
- "privacy": "private",
2799
- "default": "0"
2800
- },
2801
- {
2802
- "kind": "field",
2803
- "name": "_lastIndex",
2804
- "type": {
2805
- "text": "number"
2806
- },
2807
- "privacy": "private",
2808
- "default": "0"
2809
- },
2810
- {
2811
- "kind": "method",
2812
- "name": "_handlePrev",
2813
- "privacy": "private"
2814
- },
2815
- {
2816
- "kind": "method",
2817
- "name": "_handleNext",
2818
- "privacy": "private"
2819
- },
2820
- {
2821
- "kind": "method",
2822
- "name": "_dispatchChange",
2823
- "privacy": "private",
2824
- "parameters": [
2825
- {
2826
- "name": "data",
2827
- "type": {
2828
- "text": "CarouselResponse"
2829
- }
2830
- }
2831
- ]
2832
- },
2833
- {
2834
- "kind": "field",
2835
- "name": "eventOnChange",
2836
- "static": true,
2837
- "readonly": true
2838
- }
2839
- ],
2840
- "events": [
2841
- {
2842
- "type": {
2843
- "text": "CustomEvent"
2844
- }
2845
- },
2846
- {
2847
- "description": "custom event for when the carousel changes",
2848
- "name": "cds-aichat-carousel-onchange"
2849
- }
2850
- ],
2851
- "attributes": [
2852
- {
2853
- "name": "nextBtnText",
2854
- "type": {
2855
- "text": "string | undefined"
2856
- },
2857
- "description": "Text for the next button",
2858
- "fieldName": "nextBtnText"
2859
- },
2860
- {
2861
- "name": "previousBtnText",
2862
- "type": {
2863
- "text": "string | undefined"
2864
- },
2865
- "description": "Text for the previous button",
2866
- "fieldName": "previousBtnText"
2867
- }
2868
- ],
2869
- "superclass": {
2870
- "name": "LitElement",
2871
- "package": "lit"
2872
- },
2873
- "tagName": "cds-aichat-carousel",
2874
- "customElement": true
2875
- }
2876
- ],
2877
- "exports": [
2878
- {
2879
- "kind": "js",
2880
- "name": "default",
2881
- "declaration": {
2882
- "name": "CDSAICarousel",
2883
- "module": "src/components/carousel/src/carousel.ts"
2884
- }
2885
- }
2886
- ]
2887
- },
2888
2743
  {
2889
2744
  "kind": "javascript-module",
2890
2745
  "path": "src/components/chain-of-thought/src/chain-of-thought-step.ts",
@@ -3723,61 +3578,206 @@
3723
3578
  },
3724
3579
  {
3725
3580
  "kind": "javascript-module",
3726
- "path": "src/components/chat-button/src/chat-button.ts",
3581
+ "path": "src/components/carousel/src/carousel.ts",
3727
3582
  "declarations": [
3728
3583
  {
3729
3584
  "kind": "class",
3730
- "description": "Component extending the",
3731
- "name": "CDSAIChatButton",
3585
+ "description": "Carousel component",
3586
+ "name": "CDSAICarousel",
3587
+ "slots": [
3588
+ {
3589
+ "description": "The body",
3590
+ "name": "body"
3591
+ }
3592
+ ],
3732
3593
  "members": [
3733
3594
  {
3734
3595
  "kind": "field",
3735
- "name": "isQuickAction",
3596
+ "name": "nextBtnText",
3736
3597
  "type": {
3737
- "text": "boolean"
3598
+ "text": "string | undefined"
3738
3599
  },
3739
- "default": "false",
3740
- "description": "Specify whether the `ChatButton` should be rendered as a quick action button",
3741
- "attribute": "is-quick-action"
3600
+ "description": "Text for the next button",
3601
+ "attribute": "nextBtnText"
3742
3602
  },
3743
3603
  {
3744
3604
  "kind": "field",
3745
- "name": "size",
3605
+ "name": "previousBtnText",
3746
3606
  "type": {
3747
- "text": "ChatButtonSize"
3607
+ "text": "string | undefined"
3748
3608
  },
3749
- "description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
3750
- "attribute": "size",
3751
- "reflects": true
3609
+ "description": "Text for the previous button",
3610
+ "attribute": "previousBtnText"
3752
3611
  },
3753
3612
  {
3754
- "kind": "method",
3755
- "name": "_normalizeButtonState",
3613
+ "kind": "field",
3614
+ "name": "container",
3615
+ "type": {
3616
+ "text": "Array<HTMLElement> | undefined"
3617
+ },
3618
+ "privacy": "private"
3619
+ },
3620
+ {
3621
+ "kind": "field",
3622
+ "name": "carousel",
3623
+ "type": {
3624
+ "text": "InitCarousel | undefined"
3625
+ },
3626
+ "privacy": "private"
3627
+ },
3628
+ {
3629
+ "kind": "field",
3630
+ "name": "_currentIndex",
3631
+ "type": {
3632
+ "text": "number"
3633
+ },
3756
3634
  "privacy": "private",
3757
- "return": {
3758
- "type": {
3759
- "text": "void"
3760
- }
3635
+ "default": "0"
3636
+ },
3637
+ {
3638
+ "kind": "field",
3639
+ "name": "_lastIndex",
3640
+ "type": {
3641
+ "text": "number"
3761
3642
  },
3643
+ "privacy": "private",
3644
+ "default": "0"
3645
+ },
3646
+ {
3647
+ "kind": "method",
3648
+ "name": "_handlePrev",
3649
+ "privacy": "private"
3650
+ },
3651
+ {
3652
+ "kind": "method",
3653
+ "name": "_handleNext",
3654
+ "privacy": "private"
3655
+ },
3656
+ {
3657
+ "kind": "method",
3658
+ "name": "_dispatchChange",
3659
+ "privacy": "private",
3762
3660
  "parameters": [
3763
3661
  {
3764
- "name": "changedProps",
3662
+ "name": "data",
3765
3663
  "type": {
3766
- "text": "PropertyValues<this>"
3664
+ "text": "CarouselResponse"
3767
3665
  }
3768
3666
  }
3769
3667
  ]
3668
+ },
3669
+ {
3670
+ "kind": "field",
3671
+ "name": "eventOnChange",
3672
+ "static": true,
3673
+ "readonly": true
3770
3674
  }
3771
3675
  ],
3772
- "attributes": [
3676
+ "events": [
3773
3677
  {
3774
- "name": "is-quick-action",
3775
3678
  "type": {
3776
- "text": "boolean"
3777
- },
3778
- "default": "false",
3779
- "description": "Specify whether the `ChatButton` should be rendered as a quick action button",
3780
- "fieldName": "isQuickAction"
3679
+ "text": "CustomEvent"
3680
+ }
3681
+ },
3682
+ {
3683
+ "description": "custom event for when the carousel changes",
3684
+ "name": "cds-aichat-carousel-onchange"
3685
+ }
3686
+ ],
3687
+ "attributes": [
3688
+ {
3689
+ "name": "nextBtnText",
3690
+ "type": {
3691
+ "text": "string | undefined"
3692
+ },
3693
+ "description": "Text for the next button",
3694
+ "fieldName": "nextBtnText"
3695
+ },
3696
+ {
3697
+ "name": "previousBtnText",
3698
+ "type": {
3699
+ "text": "string | undefined"
3700
+ },
3701
+ "description": "Text for the previous button",
3702
+ "fieldName": "previousBtnText"
3703
+ }
3704
+ ],
3705
+ "superclass": {
3706
+ "name": "LitElement",
3707
+ "package": "lit"
3708
+ },
3709
+ "tagName": "cds-aichat-carousel",
3710
+ "customElement": true
3711
+ }
3712
+ ],
3713
+ "exports": [
3714
+ {
3715
+ "kind": "js",
3716
+ "name": "default",
3717
+ "declaration": {
3718
+ "name": "CDSAICarousel",
3719
+ "module": "src/components/carousel/src/carousel.ts"
3720
+ }
3721
+ }
3722
+ ]
3723
+ },
3724
+ {
3725
+ "kind": "javascript-module",
3726
+ "path": "src/components/chat-button/src/chat-button.ts",
3727
+ "declarations": [
3728
+ {
3729
+ "kind": "class",
3730
+ "description": "Component extending the",
3731
+ "name": "CDSAIChatButton",
3732
+ "members": [
3733
+ {
3734
+ "kind": "field",
3735
+ "name": "isQuickAction",
3736
+ "type": {
3737
+ "text": "boolean"
3738
+ },
3739
+ "default": "false",
3740
+ "description": "Specify whether the `ChatButton` should be rendered as a quick action button",
3741
+ "attribute": "is-quick-action"
3742
+ },
3743
+ {
3744
+ "kind": "field",
3745
+ "name": "size",
3746
+ "type": {
3747
+ "text": "ChatButtonSize"
3748
+ },
3749
+ "description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
3750
+ "attribute": "size",
3751
+ "reflects": true
3752
+ },
3753
+ {
3754
+ "kind": "method",
3755
+ "name": "_normalizeButtonState",
3756
+ "privacy": "private",
3757
+ "return": {
3758
+ "type": {
3759
+ "text": "void"
3760
+ }
3761
+ },
3762
+ "parameters": [
3763
+ {
3764
+ "name": "changedProps",
3765
+ "type": {
3766
+ "text": "PropertyValues<this>"
3767
+ }
3768
+ }
3769
+ ]
3770
+ }
3771
+ ],
3772
+ "attributes": [
3773
+ {
3774
+ "name": "is-quick-action",
3775
+ "type": {
3776
+ "text": "boolean"
3777
+ },
3778
+ "default": "false",
3779
+ "description": "Specify whether the `ChatButton` should be rendered as a quick action button",
3780
+ "fieldName": "isQuickAction"
3781
3781
  },
3782
3782
  {
3783
3783
  "name": "size",
@@ -15207,122 +15207,353 @@
15207
15207
  },
15208
15208
  {
15209
15209
  "kind": "javascript-module",
15210
- "path": "src/components/code-snippet/src/codemirror/base-setup.ts",
15210
+ "path": "src/components/markdown/src/plugins/markdown-it-attrs.ts",
15211
15211
  "declarations": [
15212
15212
  {
15213
15213
  "kind": "function",
15214
- "name": "baseCodeMirrorSetup",
15214
+ "name": "markdownItAttrs",
15215
15215
  "return": {
15216
15216
  "type": {
15217
- "text": "Extension"
15217
+ "text": "void"
15218
15218
  }
15219
15219
  },
15220
15220
  "parameters": [
15221
15221
  {
15222
- "name": "options",
15223
- "default": "{}",
15222
+ "name": "md",
15224
15223
  "type": {
15225
- "text": "BaseCodeMirrorSetupOptions"
15224
+ "text": "MarkdownIt"
15226
15225
  }
15227
15226
  }
15228
15227
  ],
15229
- "description": "Minimal editor affordances for snippets:\n - keep the layout oriented (gutters, folding)\n - preserve indentation and basic syntax cues\n - avoid heavier behaviors like search, autocomplete, multi-caret history"
15228
+ "description": "Markdown-it plugin that applies a fixed set of HTML attributes to links,\nheadings, and paragraphs using `{{key=value}}` syntax."
15230
15229
  }
15231
15230
  ],
15232
15231
  "exports": [
15233
15232
  {
15234
15233
  "kind": "js",
15235
- "name": "baseCodeMirrorSetup",
15234
+ "name": "markdownItAttrs",
15236
15235
  "declaration": {
15237
- "name": "baseCodeMirrorSetup",
15238
- "module": "src/components/code-snippet/src/codemirror/base-setup.ts"
15236
+ "name": "markdownItAttrs",
15237
+ "module": "src/components/markdown/src/plugins/markdown-it-attrs.ts"
15238
+ }
15239
+ },
15240
+ {
15241
+ "kind": "js",
15242
+ "name": "default",
15243
+ "declaration": {
15244
+ "name": "markdownItAttrs",
15245
+ "module": "src/components/markdown/src/plugins/markdown-it-attrs.ts"
15239
15246
  }
15240
15247
  }
15241
15248
  ]
15242
15249
  },
15243
15250
  {
15244
15251
  "kind": "javascript-module",
15245
- "path": "src/components/code-snippet/src/codemirror/codemirror-loader.ts",
15252
+ "path": "src/components/markdown/src/plugins/markdown-it-highlight.ts",
15246
15253
  "declarations": [
15247
15254
  {
15248
15255
  "kind": "function",
15249
- "name": "loadCodeMirrorRuntime",
15250
- "return": {
15251
- "type": {
15252
- "text": "Promise<CodeMirrorRuntimeModule>"
15253
- }
15254
- },
15255
- "description": "Lazily loads the CodeMirror runtime so that heavy editor dependencies are only\npulled into the bundle when the code-snippet component is actually rendered."
15256
- },
15257
- {
15258
- "kind": "function",
15259
- "name": "loadCodeSnippetDeps",
15260
- "return": {
15261
- "type": {
15262
- "text": "Promise<CodeMirrorRuntimeModule>"
15256
+ "name": "markdownItHighlight",
15257
+ "parameters": [
15258
+ {
15259
+ "name": "md",
15260
+ "type": {
15261
+ "text": "MarkdownIt"
15262
+ }
15263
15263
  }
15264
- },
15265
- "description": "Public helper so tests or higher-level packages can preload the heavy\nCodeMirror dependencies ahead of time (e.g., in Jest setup files)."
15264
+ ]
15266
15265
  }
15267
15266
  ],
15268
15267
  "exports": [
15269
15268
  {
15270
15269
  "kind": "js",
15271
- "name": "loadCodeMirrorRuntime",
15270
+ "name": "markdownItHighlight",
15272
15271
  "declaration": {
15273
- "name": "loadCodeMirrorRuntime",
15274
- "module": "src/components/code-snippet/src/codemirror/codemirror-loader.ts"
15272
+ "name": "markdownItHighlight",
15273
+ "module": "src/components/markdown/src/plugins/markdown-it-highlight.ts"
15275
15274
  }
15276
- },
15275
+ }
15276
+ ]
15277
+ },
15278
+ {
15279
+ "kind": "javascript-module",
15280
+ "path": "src/components/markdown/src/plugins/markdown-it-task-lists.ts",
15281
+ "declarations": [
15277
15282
  {
15278
- "kind": "js",
15279
- "name": "loadCodeSnippetDeps",
15280
- "declaration": {
15281
- "name": "loadCodeSnippetDeps",
15282
- "module": "src/components/code-snippet/src/codemirror/codemirror-loader.ts"
15283
- }
15284
- },
15283
+ "kind": "function",
15284
+ "name": "markdownItTaskLists",
15285
+ "parameters": [
15286
+ {
15287
+ "name": "md",
15288
+ "type": {
15289
+ "text": "MarkdownIt"
15290
+ }
15291
+ }
15292
+ ]
15293
+ }
15294
+ ],
15295
+ "exports": [
15285
15296
  {
15286
15297
  "kind": "js",
15287
- "name": "CodeMirrorRuntimeModule",
15298
+ "name": "markdownItTaskLists",
15288
15299
  "declaration": {
15289
- "name": "CodeMirrorRuntimeModule",
15290
- "module": "src/components/code-snippet/src/codemirror/codemirror-loader.ts"
15300
+ "name": "markdownItTaskLists",
15301
+ "module": "src/components/markdown/src/plugins/markdown-it-task-lists.ts"
15291
15302
  }
15292
15303
  }
15293
15304
  ]
15294
15305
  },
15295
15306
  {
15296
15307
  "kind": "javascript-module",
15297
- "path": "src/components/code-snippet/src/codemirror/codemirror-runtime.ts",
15298
- "declarations": [],
15299
- "exports": [
15308
+ "path": "src/components/markdown/src/utils/html-helpers.ts",
15309
+ "declarations": [
15300
15310
  {
15301
- "kind": "js",
15302
- "name": "LanguageController",
15303
- "declaration": {
15304
- "name": "LanguageController",
15305
- "module": "./language-controller.js"
15306
- }
15307
- },
15311
+ "kind": "function",
15312
+ "name": "combineConsecutiveHtmlInline",
15313
+ "return": {
15314
+ "type": {
15315
+ "text": "TokenTree[]"
15316
+ }
15317
+ },
15318
+ "parameters": [
15319
+ {
15320
+ "name": "children",
15321
+ "type": {
15322
+ "text": "TokenTree[]"
15323
+ }
15324
+ }
15325
+ ]
15326
+ }
15327
+ ],
15328
+ "exports": [
15308
15329
  {
15309
15330
  "kind": "js",
15310
- "name": "LanguageStateUpdate",
15331
+ "name": "combineConsecutiveHtmlInline",
15311
15332
  "declaration": {
15312
- "name": "LanguageStateUpdate",
15313
- "module": "./language-controller.js"
15333
+ "name": "combineConsecutiveHtmlInline",
15334
+ "module": "src/components/markdown/src/utils/html-helpers.ts"
15314
15335
  }
15315
- },
15336
+ }
15337
+ ]
15338
+ },
15339
+ {
15340
+ "kind": "javascript-module",
15341
+ "path": "src/components/markdown/src/utils/table-helpers.ts",
15342
+ "declarations": [
15316
15343
  {
15317
- "kind": "js",
15318
- "name": "createContentSync",
15319
- "declaration": {
15320
- "name": "createContentSync",
15321
- "module": "./content-sync.js"
15322
- }
15344
+ "kind": "function",
15345
+ "name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
15346
+ "parameters": [
15347
+ {
15348
+ "name": "{\n count,\n}",
15349
+ "type": {
15350
+ "text": "{\n count: number;\n}"
15351
+ }
15352
+ }
15353
+ ]
15323
15354
  },
15324
15355
  {
15325
- "kind": "js",
15356
+ "kind": "function",
15357
+ "name": "DEFAULT_PAGINATION_STATUS_TEXT",
15358
+ "parameters": [
15359
+ {
15360
+ "name": "{\n start,\n end,\n count,\n}",
15361
+ "type": {
15362
+ "text": "{\n start: number;\n end: number;\n count: number;\n}"
15363
+ }
15364
+ }
15365
+ ]
15366
+ },
15367
+ {
15368
+ "kind": "function",
15369
+ "name": "extractTableData",
15370
+ "return": {
15371
+ "type": {
15372
+ "text": "{\n headers: TableCellData[];\n rows: TableCellData[][];\n}"
15373
+ }
15374
+ },
15375
+ "parameters": [
15376
+ {
15377
+ "name": "tableNode",
15378
+ "type": {
15379
+ "text": "TokenTree"
15380
+ }
15381
+ }
15382
+ ],
15383
+ "description": "Extracts tabular data from a table TokenTree node.\n\nConverts the hierarchical markdown table structure into the flat\nheader/rows format expected by the cds-aichat-table component while retaining\nthe TokenTree children required for rich rendering within cells."
15384
+ },
15385
+ {
15386
+ "kind": "function",
15387
+ "name": "extractTextContent",
15388
+ "return": {
15389
+ "type": {
15390
+ "text": "string"
15391
+ }
15392
+ },
15393
+ "parameters": [
15394
+ {
15395
+ "name": "node",
15396
+ "type": {
15397
+ "text": "TokenTree"
15398
+ }
15399
+ }
15400
+ ],
15401
+ "description": "Recursively extracts plain text content from a TokenTree node.\n\nThis is used for table cells and other contexts where we need the\ntext content without HTML formatting."
15402
+ }
15403
+ ],
15404
+ "exports": [
15405
+ {
15406
+ "kind": "js",
15407
+ "name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
15408
+ "declaration": {
15409
+ "name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
15410
+ "module": "src/components/markdown/src/utils/table-helpers.ts"
15411
+ }
15412
+ },
15413
+ {
15414
+ "kind": "js",
15415
+ "name": "DEFAULT_PAGINATION_STATUS_TEXT",
15416
+ "declaration": {
15417
+ "name": "DEFAULT_PAGINATION_STATUS_TEXT",
15418
+ "module": "src/components/markdown/src/utils/table-helpers.ts"
15419
+ }
15420
+ },
15421
+ {
15422
+ "kind": "js",
15423
+ "name": "extractTableData",
15424
+ "declaration": {
15425
+ "name": "extractTableData",
15426
+ "module": "src/components/markdown/src/utils/table-helpers.ts"
15427
+ }
15428
+ },
15429
+ {
15430
+ "kind": "js",
15431
+ "name": "extractTextContent",
15432
+ "declaration": {
15433
+ "name": "extractTextContent",
15434
+ "module": "src/components/markdown/src/utils/table-helpers.ts"
15435
+ }
15436
+ }
15437
+ ]
15438
+ },
15439
+ {
15440
+ "kind": "javascript-module",
15441
+ "path": "src/components/code-snippet/src/codemirror/base-setup.ts",
15442
+ "declarations": [
15443
+ {
15444
+ "kind": "function",
15445
+ "name": "baseCodeMirrorSetup",
15446
+ "return": {
15447
+ "type": {
15448
+ "text": "Extension"
15449
+ }
15450
+ },
15451
+ "parameters": [
15452
+ {
15453
+ "name": "options",
15454
+ "default": "{}",
15455
+ "type": {
15456
+ "text": "BaseCodeMirrorSetupOptions"
15457
+ }
15458
+ }
15459
+ ],
15460
+ "description": "Minimal editor affordances for snippets:\n - keep the layout oriented (gutters, folding)\n - preserve indentation and basic syntax cues\n - avoid heavier behaviors like search, autocomplete, multi-caret history"
15461
+ }
15462
+ ],
15463
+ "exports": [
15464
+ {
15465
+ "kind": "js",
15466
+ "name": "baseCodeMirrorSetup",
15467
+ "declaration": {
15468
+ "name": "baseCodeMirrorSetup",
15469
+ "module": "src/components/code-snippet/src/codemirror/base-setup.ts"
15470
+ }
15471
+ }
15472
+ ]
15473
+ },
15474
+ {
15475
+ "kind": "javascript-module",
15476
+ "path": "src/components/code-snippet/src/codemirror/codemirror-loader.ts",
15477
+ "declarations": [
15478
+ {
15479
+ "kind": "function",
15480
+ "name": "loadCodeMirrorRuntime",
15481
+ "return": {
15482
+ "type": {
15483
+ "text": "Promise<CodeMirrorRuntimeModule>"
15484
+ }
15485
+ },
15486
+ "description": "Lazily loads the CodeMirror runtime so that heavy editor dependencies are only\npulled into the bundle when the code-snippet component is actually rendered."
15487
+ },
15488
+ {
15489
+ "kind": "function",
15490
+ "name": "loadCodeSnippetDeps",
15491
+ "return": {
15492
+ "type": {
15493
+ "text": "Promise<CodeMirrorRuntimeModule>"
15494
+ }
15495
+ },
15496
+ "description": "Public helper so tests or higher-level packages can preload the heavy\nCodeMirror dependencies ahead of time (e.g., in Jest setup files)."
15497
+ }
15498
+ ],
15499
+ "exports": [
15500
+ {
15501
+ "kind": "js",
15502
+ "name": "loadCodeMirrorRuntime",
15503
+ "declaration": {
15504
+ "name": "loadCodeMirrorRuntime",
15505
+ "module": "src/components/code-snippet/src/codemirror/codemirror-loader.ts"
15506
+ }
15507
+ },
15508
+ {
15509
+ "kind": "js",
15510
+ "name": "loadCodeSnippetDeps",
15511
+ "declaration": {
15512
+ "name": "loadCodeSnippetDeps",
15513
+ "module": "src/components/code-snippet/src/codemirror/codemirror-loader.ts"
15514
+ }
15515
+ },
15516
+ {
15517
+ "kind": "js",
15518
+ "name": "CodeMirrorRuntimeModule",
15519
+ "declaration": {
15520
+ "name": "CodeMirrorRuntimeModule",
15521
+ "module": "src/components/code-snippet/src/codemirror/codemirror-loader.ts"
15522
+ }
15523
+ }
15524
+ ]
15525
+ },
15526
+ {
15527
+ "kind": "javascript-module",
15528
+ "path": "src/components/code-snippet/src/codemirror/codemirror-runtime.ts",
15529
+ "declarations": [],
15530
+ "exports": [
15531
+ {
15532
+ "kind": "js",
15533
+ "name": "LanguageController",
15534
+ "declaration": {
15535
+ "name": "LanguageController",
15536
+ "module": "./language-controller.js"
15537
+ }
15538
+ },
15539
+ {
15540
+ "kind": "js",
15541
+ "name": "LanguageStateUpdate",
15542
+ "declaration": {
15543
+ "name": "LanguageStateUpdate",
15544
+ "module": "./language-controller.js"
15545
+ }
15546
+ },
15547
+ {
15548
+ "kind": "js",
15549
+ "name": "createContentSync",
15550
+ "declaration": {
15551
+ "name": "createContentSync",
15552
+ "module": "./content-sync.js"
15553
+ }
15554
+ },
15555
+ {
15556
+ "kind": "js",
15326
15557
  "name": "ContentSyncHandle",
15327
15558
  "declaration": {
15328
15559
  "name": "ContentSyncHandle",
@@ -15922,237 +16153,6 @@
15922
16153
  }
15923
16154
  ]
15924
16155
  },
15925
- {
15926
- "kind": "javascript-module",
15927
- "path": "src/components/markdown/src/plugins/markdown-it-attrs.ts",
15928
- "declarations": [
15929
- {
15930
- "kind": "function",
15931
- "name": "markdownItAttrs",
15932
- "return": {
15933
- "type": {
15934
- "text": "void"
15935
- }
15936
- },
15937
- "parameters": [
15938
- {
15939
- "name": "md",
15940
- "type": {
15941
- "text": "MarkdownIt"
15942
- }
15943
- }
15944
- ],
15945
- "description": "Markdown-it plugin that applies a fixed set of HTML attributes to links,\nheadings, and paragraphs using `{{key=value}}` syntax."
15946
- }
15947
- ],
15948
- "exports": [
15949
- {
15950
- "kind": "js",
15951
- "name": "markdownItAttrs",
15952
- "declaration": {
15953
- "name": "markdownItAttrs",
15954
- "module": "src/components/markdown/src/plugins/markdown-it-attrs.ts"
15955
- }
15956
- },
15957
- {
15958
- "kind": "js",
15959
- "name": "default",
15960
- "declaration": {
15961
- "name": "markdownItAttrs",
15962
- "module": "src/components/markdown/src/plugins/markdown-it-attrs.ts"
15963
- }
15964
- }
15965
- ]
15966
- },
15967
- {
15968
- "kind": "javascript-module",
15969
- "path": "src/components/markdown/src/plugins/markdown-it-highlight.ts",
15970
- "declarations": [
15971
- {
15972
- "kind": "function",
15973
- "name": "markdownItHighlight",
15974
- "parameters": [
15975
- {
15976
- "name": "md",
15977
- "type": {
15978
- "text": "MarkdownIt"
15979
- }
15980
- }
15981
- ]
15982
- }
15983
- ],
15984
- "exports": [
15985
- {
15986
- "kind": "js",
15987
- "name": "markdownItHighlight",
15988
- "declaration": {
15989
- "name": "markdownItHighlight",
15990
- "module": "src/components/markdown/src/plugins/markdown-it-highlight.ts"
15991
- }
15992
- }
15993
- ]
15994
- },
15995
- {
15996
- "kind": "javascript-module",
15997
- "path": "src/components/markdown/src/plugins/markdown-it-task-lists.ts",
15998
- "declarations": [
15999
- {
16000
- "kind": "function",
16001
- "name": "markdownItTaskLists",
16002
- "parameters": [
16003
- {
16004
- "name": "md",
16005
- "type": {
16006
- "text": "MarkdownIt"
16007
- }
16008
- }
16009
- ]
16010
- }
16011
- ],
16012
- "exports": [
16013
- {
16014
- "kind": "js",
16015
- "name": "markdownItTaskLists",
16016
- "declaration": {
16017
- "name": "markdownItTaskLists",
16018
- "module": "src/components/markdown/src/plugins/markdown-it-task-lists.ts"
16019
- }
16020
- }
16021
- ]
16022
- },
16023
- {
16024
- "kind": "javascript-module",
16025
- "path": "src/components/markdown/src/utils/html-helpers.ts",
16026
- "declarations": [
16027
- {
16028
- "kind": "function",
16029
- "name": "combineConsecutiveHtmlInline",
16030
- "return": {
16031
- "type": {
16032
- "text": "TokenTree[]"
16033
- }
16034
- },
16035
- "parameters": [
16036
- {
16037
- "name": "children",
16038
- "type": {
16039
- "text": "TokenTree[]"
16040
- }
16041
- }
16042
- ]
16043
- }
16044
- ],
16045
- "exports": [
16046
- {
16047
- "kind": "js",
16048
- "name": "combineConsecutiveHtmlInline",
16049
- "declaration": {
16050
- "name": "combineConsecutiveHtmlInline",
16051
- "module": "src/components/markdown/src/utils/html-helpers.ts"
16052
- }
16053
- }
16054
- ]
16055
- },
16056
- {
16057
- "kind": "javascript-module",
16058
- "path": "src/components/markdown/src/utils/table-helpers.ts",
16059
- "declarations": [
16060
- {
16061
- "kind": "function",
16062
- "name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
16063
- "parameters": [
16064
- {
16065
- "name": "{\n count,\n}",
16066
- "type": {
16067
- "text": "{\n count: number;\n}"
16068
- }
16069
- }
16070
- ]
16071
- },
16072
- {
16073
- "kind": "function",
16074
- "name": "DEFAULT_PAGINATION_STATUS_TEXT",
16075
- "parameters": [
16076
- {
16077
- "name": "{\n start,\n end,\n count,\n}",
16078
- "type": {
16079
- "text": "{\n start: number;\n end: number;\n count: number;\n}"
16080
- }
16081
- }
16082
- ]
16083
- },
16084
- {
16085
- "kind": "function",
16086
- "name": "extractTableData",
16087
- "return": {
16088
- "type": {
16089
- "text": "{\n headers: TableCellData[];\n rows: TableCellData[][];\n}"
16090
- }
16091
- },
16092
- "parameters": [
16093
- {
16094
- "name": "tableNode",
16095
- "type": {
16096
- "text": "TokenTree"
16097
- }
16098
- }
16099
- ],
16100
- "description": "Extracts tabular data from a table TokenTree node.\n\nConverts the hierarchical markdown table structure into the flat\nheader/rows format expected by the cds-aichat-table component while retaining\nthe TokenTree children required for rich rendering within cells."
16101
- },
16102
- {
16103
- "kind": "function",
16104
- "name": "extractTextContent",
16105
- "return": {
16106
- "type": {
16107
- "text": "string"
16108
- }
16109
- },
16110
- "parameters": [
16111
- {
16112
- "name": "node",
16113
- "type": {
16114
- "text": "TokenTree"
16115
- }
16116
- }
16117
- ],
16118
- "description": "Recursively extracts plain text content from a TokenTree node.\n\nThis is used for table cells and other contexts where we need the\ntext content without HTML formatting."
16119
- }
16120
- ],
16121
- "exports": [
16122
- {
16123
- "kind": "js",
16124
- "name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
16125
- "declaration": {
16126
- "name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
16127
- "module": "src/components/markdown/src/utils/table-helpers.ts"
16128
- }
16129
- },
16130
- {
16131
- "kind": "js",
16132
- "name": "DEFAULT_PAGINATION_STATUS_TEXT",
16133
- "declaration": {
16134
- "name": "DEFAULT_PAGINATION_STATUS_TEXT",
16135
- "module": "src/components/markdown/src/utils/table-helpers.ts"
16136
- }
16137
- },
16138
- {
16139
- "kind": "js",
16140
- "name": "extractTableData",
16141
- "declaration": {
16142
- "name": "extractTableData",
16143
- "module": "src/components/markdown/src/utils/table-helpers.ts"
16144
- }
16145
- },
16146
- {
16147
- "kind": "js",
16148
- "name": "extractTextContent",
16149
- "declaration": {
16150
- "name": "extractTextContent",
16151
- "module": "src/components/markdown/src/utils/table-helpers.ts"
16152
- }
16153
- }
16154
- ]
16155
- },
16156
16156
  {
16157
16157
  "kind": "javascript-module",
16158
16158
  "path": "src/components/video-player/src/providers/base-provider.ts",
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { css } from 'lit';
9
9
 
10
- var styles = css(["@charset \"UTF-8\";:host{--cds-aichat-border-radius-start-start:0.5rem;--cds-aichat-border-radius-start-end:0.5rem;--cds-aichat-border-radius-end-start:0.5rem;--cds-aichat-border-radius-end-end:0.5rem;display:block;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);max-inline-size:100%}:host mark{background-color:var(--cds-highlight,#d0e2ff);border-radius:.25rem;color:var(--cds-text-primary,#161616)}:host b,:host strong{font-weight:700}:host em,:host i{font-style:italic}:host blockquote{border-inline-start:2px solid var(--cds-border-subtle-00,#e0e0e0);padding-inline-start:.5rem}:host blockquote>:not(:first-child){margin-block-start:1rem}:host blockquote>h1+:not(:first-child),:host blockquote>h2+:not(:first-child),:host blockquote>h3+:not(:first-child),:host blockquote>h4+:not(:first-child),:host blockquote>h5+:not(:first-child),:host blockquote>h6+:not(:first-child){margin-block-start:.5rem}:host .cds-aichat-markdown-stack{display:block;max-inline-size:100%}:host .cds-aichat-markdown-stack>:not(:first-child){margin-block-start:1rem}:host .cds-aichat-markdown-stack>h1+:not(:first-child),:host .cds-aichat-markdown-stack>h2+:not(:first-child),:host .cds-aichat-markdown-stack>h3+:not(:first-child),:host .cds-aichat-markdown-stack>h4+:not(:first-child),:host .cds-aichat-markdown-stack>h5+:not(:first-child),:host .cds-aichat-markdown-stack>h6+:not(:first-child){margin-block-start:.25rem}:host p{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857)}:host a{color:var(--cds-link-primary,#0f62fe);outline:none;text-decoration:none}@media (prefers-reduced-motion:no-preference){:host a{transition:color motion(standard,productive) 70ms}}:host a:hover{color:var(--cds-link-primary-hover,#0043ce);text-decoration:underline}:host a:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:focus{outline-style:dotted}}:host a:focus{outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited{color:var(--cds-link-primary,#0f62fe)}:host a:active{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active{outline-style:dotted}}:host a:active{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}:host a:active:visited,:host a:active:visited:hover{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active:visited,:host a:active:visited:hover{outline-style:dotted}}:host a:active:visited,:host a:active:visited:hover{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host pre{background-color:var(--cds-layer-02,#fff);border:1px solid var(--cds-chat-bubble-border,#e0e0e0);font-family:var(--cds-code-02-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-02-font-size,.875rem);font-weight:var(--cds-code-02-font-weight,400);letter-spacing:var(--cds-code-02-letter-spacing,.32px);line-height:var(--cds-code-02-line-height,1.42857);overflow:auto hidden;padding:1rem;white-space:pre-wrap}:host img{max-inline-size:100%}:host h1{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}:host h2{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}:host h3{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);letter-spacing:var(--cds-heading-02-letter-spacing,0);line-height:var(--cds-heading-02-line-height,1.5)}:host h4{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h5{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host ol,:host ul{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);list-style:none;margin:0;padding:0}:host li{padding-inline-start:.25rem}:host li+li{margin-block-start:.5rem}:host ul{margin-inline-start:1rem}:host ul>li{color:var(--cds-text-primary,#161616);position:relative}:host ul>li:before{content:\"–\";inset-inline-start:-1rem;position:absolute}:host ol{counter-reset:item;margin-inline-start:1rem}:host ol>li{color:var(--cds-text-primary,#161616);position:relative}:host ol>li:before{content:counter(item) \".\";counter-increment:item;inset-inline-start:-1rem;position:absolute}:host ol ol,:host ol ul,:host ul ol,:host ul ul{margin-block-start:.5rem;margin-inline-start:2rem}:host ul ul>li:before{content:\"▪\";inset-inline-start:-.75rem}:host ol ol{list-style-type:lower-latin}:host ol ol>li:before{content:counter(item,lower-latin) \".\"}:host .cds-aichat-table--square{--cds-aichat-border-radius-start-start:0;--cds-aichat-border-radius-start-end:0;--cds-aichat-border-radius-end-start:0;--cds-aichat-border-radius-end-end:0}:host cds-ordered-list:not([nested]) cds-list-item{margin-inline-start:1.5rem}:host cds-aichat-code-snippet{display:block}:host cds-aichat-code-snippet:not(:defined){display:none}"]);
10
+ var styles = css(["@charset \"UTF-8\";:host{--cds-aichat-border-radius-start-start:0.5rem;--cds-aichat-border-radius-start-end:0.5rem;--cds-aichat-border-radius-end-start:0.5rem;--cds-aichat-border-radius-end-end:0.5rem;display:block;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);max-inline-size:100%}:host mark{background-color:var(--cds-highlight,#d0e2ff);border-radius:.25rem;color:var(--cds-text-primary,#161616)}:host b,:host strong{font-weight:700}:host em,:host i{font-style:italic}:host blockquote{border-inline-start:2px solid var(--cds-border-subtle-00,#e0e0e0);padding-inline-start:.5rem}:host blockquote>:not(:first-child){margin-block-start:1rem}:host blockquote>h1+:not(:first-child),:host blockquote>h2+:not(:first-child),:host blockquote>h3+:not(:first-child),:host blockquote>h4+:not(:first-child),:host blockquote>h5+:not(:first-child),:host blockquote>h6+:not(:first-child){margin-block-start:.5rem}:host .cds-aichat-markdown-stack{display:block;max-inline-size:100%}:host .cds-aichat-markdown-stack>:not(:first-child){margin-block-start:1rem}:host .cds-aichat-markdown-stack>h1+:not(:first-child),:host .cds-aichat-markdown-stack>h2+:not(:first-child),:host .cds-aichat-markdown-stack>h3+:not(:first-child),:host .cds-aichat-markdown-stack>h4+:not(:first-child),:host .cds-aichat-markdown-stack>h5+:not(:first-child),:host .cds-aichat-markdown-stack>h6+:not(:first-child){margin-block-start:.25rem}:host p{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857)}:host a{color:var(--cds-link-primary,#0f62fe);outline:none;text-decoration:none}@media (prefers-reduced-motion:no-preference){:host a{transition:color motion(standard,productive) 70ms}}:host a:hover{color:var(--cds-link-primary-hover,#0043ce);text-decoration:underline}:host a:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:focus{outline-style:dotted}}:host a:focus{outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited{color:var(--cds-link-primary,#0f62fe)}:host a:active{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active{outline-style:dotted}}:host a:active{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}:host a:active:visited,:host a:active:visited:hover{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active:visited,:host a:active:visited:hover{outline-style:dotted}}:host a:active:visited,:host a:active:visited:hover{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host pre{background-color:var(--cds-layer-02,#fff);border:1px solid var(--cds-chat-bubble-border,#e0e0e0);font-family:var(--cds-code-02-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-02-font-size,.875rem);font-weight:var(--cds-code-02-font-weight,400);letter-spacing:var(--cds-code-02-letter-spacing,.32px);line-height:var(--cds-code-02-line-height,1.42857);overflow:auto hidden;padding:1rem;white-space:pre-wrap}:host img{max-inline-size:100%}:host h1{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}:host h2{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}:host h3{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);letter-spacing:var(--cds-heading-02-letter-spacing,0);line-height:var(--cds-heading-02-line-height,1.5)}:host h4{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h5{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host ol,:host ul{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);list-style:none;margin:0;padding:0}:host li{padding-inline-start:.25rem}:host li+li{margin-block-start:.5rem}:host ul{margin-inline-start:1rem}:host ul>li{color:var(--cds-text-primary,#161616);position:relative}:host ul>li:before{content:\"–\";inset-inline-start:-1rem;position:absolute}:host ol{counter-reset:item;margin-inline-start:1rem}:host ol>li{color:var(--cds-text-primary,#161616);position:relative}:host ol>li:before{content:counter(item) \".\";counter-increment:item;inset-inline-start:-1rem;position:absolute}:host ol ol,:host ol ul,:host ul ol,:host ul ul{margin-block-start:.5rem;margin-inline-start:2rem}:host ul ul>li:before{content:\"▪\";inset-inline-start:-.75rem}:host ol ol{list-style-type:lower-latin}:host ol ol>li:before{content:counter(item,lower-latin) \".\"}:host .cds-aichat-table--square{--cds-aichat-border-radius-start-start:0;--cds-aichat-border-radius-start-end:0;--cds-aichat-border-radius-end-start:0;--cds-aichat-border-radius-end-end:0}:host cds-ordered-list cds-list-item:not([nested]){margin-inline-start:1rem}:host cds-aichat-code-snippet{display:block}:host cds-aichat-code-snippet:not(:defined){display:none}"]);
11
11
 
12
12
  export { styles as default };
13
13
  //# sourceMappingURL=markdown.scss.js.map
@@ -8,7 +8,9 @@
8
8
  */
9
9
  /**
10
10
  * Adopt the shared dynamic stylesheet on a root so its rules apply within
11
- * that tree. Idempotent per root.
11
+ * that tree. Idempotent per root: subsequent calls for the same root are a
12
+ * no-op so we don't spuriously create a fallback `<style>` element on top of
13
+ * an already-adopted CSSStyleSheet (which trips strict CSP).
12
14
  */
13
15
  declare function adoptOnRoot(root: Document | ShadowRoot): void;
14
16
  /**
@@ -99,11 +99,16 @@ function rewrite() {
99
99
  }
100
100
  /**
101
101
  * Adopt the shared dynamic stylesheet on a root so its rules apply within
102
- * that tree. Idempotent per root.
102
+ * that tree. Idempotent per root: subsequent calls for the same root are a
103
+ * no-op so we don't spuriously create a fallback `<style>` element on top of
104
+ * an already-adopted CSSStyleSheet (which trips strict CSP).
103
105
  */
104
106
  function adoptOnRoot(root) {
107
+ if (adoptedRoots.has(root)) {
108
+ return;
109
+ }
105
110
  const s = ensureSheet();
106
- if (s && !adoptedRoots.has(root)) {
111
+ if (s) {
107
112
  // Some environments (older browsers, jsdom) don't implement
108
113
  // adoptedStyleSheets; fall back to a <style> element in that case.
109
114
  const current = root.adoptedStyleSheets;
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-css-var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S,aAAa,CAAC,QAAgB,EAAA;IACrC,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE;QAC5C;IACF;AACA,IAAA,OAAO,EAAE;AACX;AAEA;;;AAGG;AACH,SAAS,oBAAoB,CAAC,QAAgB,EAAE,KAAe,EAAA;IAC7D,MAAM,QAAQ,GAAG,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;IACrD,IAAI,CAAC,QAAQ,EAAE;QACb;IACF;IACA,IAAI,OAAO,GAAG,KAAK;AACnB,IAAA,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AACxB,QAAA,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YACzB,OAAO,GAAG,IAAI;QAChB;IACF;IACA,IAAI,CAAC,OAAO,EAAE;QACZ;IACF;AACA,IAAA,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE;AACvB,QAAA,sBAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC;IACzC;AACA,IAAA,OAAO,EAAE;AACX;;;;"}
1
+ {"version":3,"file":"dynamic-css-var-sheet.js","sources":["../../../src/components/shared/dynamic-css-var-sheet.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAEH;;;;;;;;;;;;;;;;AAgBG;AAEH,MAAM,sBAAsB,GAAG,IAAI,GAAG,EAA+B;AACrE,MAAM,YAAY,GAAG,IAAI,OAAO,EAAyB;AACzD,MAAM,qBAAqB,GAAG,IAAI,OAAO,EAGtC;AACH,MAAM,aAAa,GAAG,IAAI,GAAG,EAAyB;AACtD,IAAI,KAAK,GAAyB,IAAI;AAEtC,SAAS,UAAU,GAAA;IACjB,OAAO,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE;SAC/C,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAI;QAChC,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,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A,IAAA,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE;AACvB,QAAA,sBAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC;IACzC;AACA,IAAA,OAAO,EAAE;AACX;;;;"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { css } from 'lit';
9
9
 
10
- var styles = css(["@charset \"UTF-8\";:host{--cds-aichat-border-radius-start-start:0.5rem;--cds-aichat-border-radius-start-end:0.5rem;--cds-aichat-border-radius-end-start:0.5rem;--cds-aichat-border-radius-end-end:0.5rem;display:block;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);max-inline-size:100%}:host mark{background-color:var(--cds-highlight,#d0e2ff);border-radius:.25rem;color:var(--cds-text-primary,#161616)}:host b,:host strong{font-weight:700}:host em,:host i{font-style:italic}:host blockquote{border-inline-start:2px solid var(--cds-border-subtle-00,#e0e0e0);padding-inline-start:.5rem}:host blockquote>:not(:first-child){margin-block-start:1rem}:host blockquote>h1+:not(:first-child),:host blockquote>h2+:not(:first-child),:host blockquote>h3+:not(:first-child),:host blockquote>h4+:not(:first-child),:host blockquote>h5+:not(:first-child),:host blockquote>h6+:not(:first-child){margin-block-start:.5rem}:host .cds-custom-aichat-markdown-stack{display:block;max-inline-size:100%}:host .cds-custom-aichat-markdown-stack>:not(:first-child){margin-block-start:1rem}:host .cds-custom-aichat-markdown-stack>h1+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h2+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h3+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h4+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h5+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h6+:not(:first-child){margin-block-start:.25rem}:host p{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857)}:host a{color:var(--cds-link-primary,#0f62fe);outline:none;text-decoration:none}@media (prefers-reduced-motion:no-preference){:host a{transition:color motion(standard,productive) 70ms}}:host a:hover{color:var(--cds-link-primary-hover,#0043ce);text-decoration:underline}:host a:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:focus{outline-style:dotted}}:host a:focus{outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited{color:var(--cds-link-primary,#0f62fe)}:host a:active{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active{outline-style:dotted}}:host a:active{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}:host a:active:visited,:host a:active:visited:hover{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active:visited,:host a:active:visited:hover{outline-style:dotted}}:host a:active:visited,:host a:active:visited:hover{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host pre{background-color:var(--cds-layer-02,#fff);border:1px solid var(--cds-chat-bubble-border,#e0e0e0);font-family:var(--cds-code-02-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-02-font-size,.875rem);font-weight:var(--cds-code-02-font-weight,400);letter-spacing:var(--cds-code-02-letter-spacing,.32px);line-height:var(--cds-code-02-line-height,1.42857);overflow:auto hidden;padding:1rem;white-space:pre-wrap}:host img{max-inline-size:100%}:host h1{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}:host h2{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}:host h3{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);letter-spacing:var(--cds-heading-02-letter-spacing,0);line-height:var(--cds-heading-02-line-height,1.5)}:host h4{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h5{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host ol,:host ul{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);list-style:none;margin:0;padding:0}:host li{padding-inline-start:.25rem}:host li+li{margin-block-start:.5rem}:host ul{margin-inline-start:1rem}:host ul>li{color:var(--cds-text-primary,#161616);position:relative}:host ul>li:before{content:\"–\";inset-inline-start:-1rem;position:absolute}:host ol{counter-reset:item;margin-inline-start:1rem}:host ol>li{color:var(--cds-text-primary,#161616);position:relative}:host ol>li:before{content:counter(item) \".\";counter-increment:item;inset-inline-start:-1rem;position:absolute}:host ol ol,:host ol ul,:host ul ol,:host ul ul{margin-block-start:.5rem;margin-inline-start:2rem}:host ul ul>li:before{content:\"▪\";inset-inline-start:-.75rem}:host ol ol{list-style-type:lower-latin}:host ol ol>li:before{content:counter(item,lower-latin) \".\"}:host .cds-custom-aichat-table--square{--cds-aichat-border-radius-start-start:0;--cds-aichat-border-radius-start-end:0;--cds-aichat-border-radius-end-start:0;--cds-aichat-border-radius-end-end:0}:host cds-custom-ordered-list:not([nested]) cds-custom-list-item{margin-inline-start:1.5rem}:host cds-custom-aichat-code-snippet{display:block}:host cds-custom-aichat-code-snippet:not(:defined){display:none}"]);
10
+ var styles = css(["@charset \"UTF-8\";:host{--cds-aichat-border-radius-start-start:0.5rem;--cds-aichat-border-radius-start-end:0.5rem;--cds-aichat-border-radius-end-start:0.5rem;--cds-aichat-border-radius-end-end:0.5rem;display:block;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);max-inline-size:100%}:host mark{background-color:var(--cds-highlight,#d0e2ff);border-radius:.25rem;color:var(--cds-text-primary,#161616)}:host b,:host strong{font-weight:700}:host em,:host i{font-style:italic}:host blockquote{border-inline-start:2px solid var(--cds-border-subtle-00,#e0e0e0);padding-inline-start:.5rem}:host blockquote>:not(:first-child){margin-block-start:1rem}:host blockquote>h1+:not(:first-child),:host blockquote>h2+:not(:first-child),:host blockquote>h3+:not(:first-child),:host blockquote>h4+:not(:first-child),:host blockquote>h5+:not(:first-child),:host blockquote>h6+:not(:first-child){margin-block-start:.5rem}:host .cds-custom-aichat-markdown-stack{display:block;max-inline-size:100%}:host .cds-custom-aichat-markdown-stack>:not(:first-child){margin-block-start:1rem}:host .cds-custom-aichat-markdown-stack>h1+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h2+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h3+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h4+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h5+:not(:first-child),:host .cds-custom-aichat-markdown-stack>h6+:not(:first-child){margin-block-start:.25rem}:host p{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857)}:host a{color:var(--cds-link-primary,#0f62fe);outline:none;text-decoration:none}@media (prefers-reduced-motion:no-preference){:host a{transition:color motion(standard,productive) 70ms}}:host a:hover{color:var(--cds-link-primary-hover,#0043ce);text-decoration:underline}:host a:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:focus{outline-style:dotted}}:host a:focus{outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited{color:var(--cds-link-primary,#0f62fe)}:host a:active{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active{outline-style:dotted}}:host a:active{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}:host a:active:visited,:host a:active:visited:hover{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active:visited,:host a:active:visited:hover{outline-style:dotted}}:host a:active:visited,:host a:active:visited:hover{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host pre{background-color:var(--cds-layer-02,#fff);border:1px solid var(--cds-chat-bubble-border,#e0e0e0);font-family:var(--cds-code-02-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-02-font-size,.875rem);font-weight:var(--cds-code-02-font-weight,400);letter-spacing:var(--cds-code-02-letter-spacing,.32px);line-height:var(--cds-code-02-line-height,1.42857);overflow:auto hidden;padding:1rem;white-space:pre-wrap}:host img{max-inline-size:100%}:host h1{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}:host h2{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}:host h3{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);letter-spacing:var(--cds-heading-02-letter-spacing,0);line-height:var(--cds-heading-02-line-height,1.5)}:host h4{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h5{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host ol,:host ul{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);list-style:none;margin:0;padding:0}:host li{padding-inline-start:.25rem}:host li+li{margin-block-start:.5rem}:host ul{margin-inline-start:1rem}:host ul>li{color:var(--cds-text-primary,#161616);position:relative}:host ul>li:before{content:\"–\";inset-inline-start:-1rem;position:absolute}:host ol{counter-reset:item;margin-inline-start:1rem}:host ol>li{color:var(--cds-text-primary,#161616);position:relative}:host ol>li:before{content:counter(item) \".\";counter-increment:item;inset-inline-start:-1rem;position:absolute}:host ol ol,:host ol ul,:host ul ol,:host ul ul{margin-block-start:.5rem;margin-inline-start:2rem}:host ul ul>li:before{content:\"▪\";inset-inline-start:-.75rem}:host ol ol{list-style-type:lower-latin}:host ol ol>li:before{content:counter(item,lower-latin) \".\"}:host .cds-custom-aichat-table--square{--cds-aichat-border-radius-start-start:0;--cds-aichat-border-radius-start-end:0;--cds-aichat-border-radius-end-start:0;--cds-aichat-border-radius-end-end:0}:host cds-custom-ordered-list cds-custom-list-item:not([nested]){margin-inline-start:1rem}:host cds-custom-aichat-code-snippet{display:block}:host cds-custom-aichat-code-snippet:not(:defined){display:none}"]);
11
11
 
12
12
  export { styles as default };
13
13
  //# sourceMappingURL=markdown.scss.js.map
@@ -8,7 +8,9 @@
8
8
  */
9
9
  /**
10
10
  * Adopt the shared dynamic stylesheet on a root so its rules apply within
11
- * that tree. Idempotent per root.
11
+ * that tree. Idempotent per root: subsequent calls for the same root are a
12
+ * no-op so we don't spuriously create a fallback `<style>` element on top of
13
+ * an already-adopted CSSStyleSheet (which trips strict CSP).
12
14
  */
13
15
  declare function adoptOnRoot(root: Document | ShadowRoot): void;
14
16
  /**
@@ -99,11 +99,16 @@ function rewrite() {
99
99
  }
100
100
  /**
101
101
  * Adopt the shared dynamic stylesheet on a root so its rules apply within
102
- * that tree. Idempotent per root.
102
+ * that tree. Idempotent per root: subsequent calls for the same root are a
103
+ * no-op so we don't spuriously create a fallback `<style>` element on top of
104
+ * an already-adopted CSSStyleSheet (which trips strict CSP).
103
105
  */
104
106
  function adoptOnRoot(root) {
107
+ if (adoptedRoots.has(root)) {
108
+ return;
109
+ }
105
110
  const s = ensureSheet();
106
- if (s && !adoptedRoots.has(root)) {
111
+ if (s) {
107
112
  // Some environments (older browsers, jsdom) don't implement
108
113
  // adoptedStyleSheets; fall back to a <style> element in that case.
109
114
  const current = root.adoptedStyleSheets;
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-css-var-sheet.js","sources":["../../../src/components/shared/dynamic-css-var-sheet.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAEH;;;;;;;;;;;;;;;;AAgBG;AAEH,MAAM,sBAAsB,GAAG,IAAI,GAAG,EAA+B;AACrE,MAAM,YAAY,GAAG,IAAI,OAAO,EAAyB;AACzD,MAAM,qBAAqB,GAAG,IAAI,OAAO,EAGtC;AACH,MAAM,aAAa,GAAG,IAAI,GAAG,EAAyB;AACtD,IAAI,KAAK,GAAyB,IAAI;AAEtC,SAAS,UAAU,GAAA;IACjB,OAAO,KAAK,CAAC,IAAI,CAAC,sBAAs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CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YACzB,OAAO,GAAG,IAAI;QAChB;IACF;IACA,IAAI,CAAC,OAAO,EAAE;QACZ;IACF;AACA,IAAA,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE;AACvB,QAAA,sBAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC;IACzC;AACA,IAAA,OAAO,EAAE;AACX;;;;"}
1
+ {"version":3,"file":"dynamic-css-var-sheet.js","sources":["../../../src/components/shared/dynamic-css-var-sheet.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAEH;;;;;;;;;;;;;;;;AAgBG;AAEH,MAAM,sBAAsB,GAAG,IAAI,GAAG,EAA+B;AACrE,MAAM,YAAY,GAAG,IAAI,OAAO,EAAyB;AACzD,MAAM,qBAAqB,GAAG,IAAI,OAAO,EAGtC;AACH,MAAM,aAAa,GAAG,IAAI,GAAG,EAAyB;AACtD,IAAI,KAAK,GAAyB,IAAI;AAEtC,SAAS,UAAU,GAAA;IACjB,OAAO,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE;SAC/C,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAI;QAChC,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;AAC5C,aAAA,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAA,EAAG,IAAI,CAAA,EAAA,EAAK,KAAK,GAAG;aAC3C,IAAI,CAAC,GAAG,CAAC;AACZ,QAAA,OAAO,CAAA,EAAG,QAAQ,CAAA,GAAA,EAAM,KAAK,IAAI;AACnC,IAAA,CAAC;SACA,IAAI,CAAC,IAAI,CAAC;AACf;AAEA,SAAS,WAAW,GAAA;IAClB,IAAI,KAAK,EAAE;AACT,QAAA,OAAO,KAAK;IACd;IACA,IAAI,OAAO,QAAQ,KAAK,WAAW,IAAI,OAA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,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,KAAK,EAAE;AAChC,YAAA,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC;YACzB,OAAO,GAAG,IAAI;QAChB;IACF;IACA,IAAI,CAAC,OAAO,EAAE;QACZ;IACF;AACA,IAAA,sBAAsB,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC;AAC9C,IAAA,OAAO,EAAE;AACX;AAEA;;AAEG;AACH,SAAS,aAAa,CAAC,QAAgB,EAAA;IACrC,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE;QAC5C;IACF;AACA,IAAA,OAAO,EAAE;AACX;AAEA;;;AAGG;AACH,SAAS,oBAAoB,CAAC,QAAgB,EAAE,KAAe,EAAA;IAC7D,MAAM,QAAQ,GAAG,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;IACrD,IAAI,CAAC,QAAQ,EAAE;QACb;IACF;IACA,IAAI,OAAO,GAAG,KAAK;AACnB,IAAA,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AACxB,QAAA,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YACzB,OAAO,GAAG,IAAI;QAChB;IACF;IACA,IAAI,CAAC,OAAO,EAAE;QACZ;IACF;AACA,IAAA,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE;AACvB,QAAA,sBAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC;IACzC;AACA,IAAA,OAAO,EAAE;AACX;;;;"}
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": "1.3.0-rc.0",
4
+ "version": "1.3.0",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -148,5 +148,5 @@
148
148
  "web-dev-server-plugin-lit-css": "^4.0.0",
149
149
  "webpack-dev-server": "^5.2.3"
150
150
  },
151
- "gitHead": "f6bce75a7a959b3d5f431096aa020ef4952010e0"
151
+ "gitHead": "ee9fee4a1e7d1e4960bca119ad2515e78044abb9"
152
152
  }
package/telemetry.yml CHANGED
@@ -36,6 +36,7 @@ collect:
36
36
  - playing
37
37
  - ready-label
38
38
  - ready-status-message
39
+ - show-actions
39
40
  - size
40
41
  - slot
41
42
  - source
@@ -104,12 +105,12 @@ collect:
104
105
  - categories-label
105
106
  - class
106
107
  - disclaimer
108
+ - disclaimer-checkbox
107
109
  - is-open
108
110
  - is-readonly
109
111
  - onfeedback-close
110
112
  - onfeedback-submit
111
113
  - primary-label
112
- - secondary-label
113
114
  - show-body
114
115
  - show-text-area
115
116
  - text-area-placeholder
@@ -125,6 +126,9 @@ collect:
125
126
  - negative-label
126
127
  - onfeedback-buttons-click
127
128
  - positive-label
129
+ # cds-aichat-history-content
130
+ - results-count
131
+ - results-label
128
132
  # cds-aichat-history-delete-panel
129
133
  - cancel-text
130
134
  - delete-text
@@ -157,6 +161,7 @@ collect:
157
161
  - date
158
162
  - onhistory-search-item-selected
159
163
  # cds-aichat-history-toolbar
164
+ - close-button-label-text
160
165
  - new-chat-label
161
166
  - onchat-history-new-chat-click
162
167
  - search-off