@carbon/ai-chat-components 1.3.0-rc.1 → 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.
@@ -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",
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.1",
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": "b0710dee6a37ece84b3b06e4ecdcbbe0565a6ba5"
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