@carbon/ai-chat-components 1.13.0-rc.0 → 1.13.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.
@@ -951,12 +951,6 @@
951
951
  }
952
952
  ]
953
953
  },
954
- {
955
- "kind": "javascript-module",
956
- "path": "src/components/card/index.ts",
957
- "declarations": [],
958
- "exports": []
959
- },
960
954
  {
961
955
  "kind": "javascript-module",
962
956
  "path": "src/components/carousel/index.ts",
@@ -1235,6 +1229,12 @@
1235
1229
  "declarations": [],
1236
1230
  "exports": []
1237
1231
  },
1232
+ {
1233
+ "kind": "javascript-module",
1234
+ "path": "src/components/card/index.ts",
1235
+ "declarations": [],
1236
+ "exports": []
1237
+ },
1238
1238
  {
1239
1239
  "kind": "javascript-module",
1240
1240
  "path": "src/components/markdown/index.ts",
@@ -3735,251 +3735,6 @@
3735
3735
  }
3736
3736
  ]
3737
3737
  },
3738
- {
3739
- "kind": "javascript-module",
3740
- "path": "src/components/card/src/card-footer.ts",
3741
- "declarations": [
3742
- {
3743
- "kind": "class",
3744
- "description": "Footer action bar that renders Carbon buttons and emits an `action` event.\nConsumers listen for events instead of passing callbacks.",
3745
- "name": "CardFooter",
3746
- "members": [
3747
- {
3748
- "kind": "field",
3749
- "name": "slot",
3750
- "type": {
3751
- "text": "string"
3752
- },
3753
- "default": "'footer'",
3754
- "description": "Sets default slot value to footer",
3755
- "attribute": "slot",
3756
- "reflects": true
3757
- },
3758
- {
3759
- "kind": "field",
3760
- "name": "actions",
3761
- "type": {
3762
- "text": "Action[]"
3763
- },
3764
- "default": "[]",
3765
- "description": "Card actions to render",
3766
- "attribute": "actions"
3767
- },
3768
- {
3769
- "kind": "field",
3770
- "name": "size",
3771
- "type": {
3772
- "text": "BUTTON_SIZE | undefined"
3773
- },
3774
- "attribute": "size"
3775
- },
3776
- {
3777
- "kind": "field",
3778
- "name": "isIconButton",
3779
- "type": {
3780
- "text": "boolean"
3781
- },
3782
- "default": "false",
3783
- "attribute": "is-icon-button",
3784
- "reflects": true
3785
- },
3786
- {
3787
- "kind": "method",
3788
- "name": "handleAction",
3789
- "privacy": "private",
3790
- "parameters": [
3791
- {
3792
- "name": "action",
3793
- "type": {
3794
- "text": "Action"
3795
- }
3796
- }
3797
- ]
3798
- }
3799
- ],
3800
- "events": [
3801
- {
3802
- "name": "cds-aichat-card-footer-action",
3803
- "type": {
3804
- "text": "CustomEvent"
3805
- }
3806
- }
3807
- ],
3808
- "attributes": [
3809
- {
3810
- "name": "slot",
3811
- "type": {
3812
- "text": "string"
3813
- },
3814
- "default": "'footer'",
3815
- "description": "Sets default slot value to footer",
3816
- "fieldName": "slot"
3817
- },
3818
- {
3819
- "name": "actions",
3820
- "type": {
3821
- "text": "Action[]"
3822
- },
3823
- "default": "[]",
3824
- "description": "Card actions to render",
3825
- "fieldName": "actions"
3826
- },
3827
- {
3828
- "name": "size",
3829
- "type": {
3830
- "text": "BUTTON_SIZE | undefined"
3831
- },
3832
- "fieldName": "size"
3833
- },
3834
- {
3835
- "name": "is-icon-button",
3836
- "type": {
3837
- "text": "boolean"
3838
- },
3839
- "default": "false",
3840
- "fieldName": "isIconButton"
3841
- }
3842
- ],
3843
- "superclass": {
3844
- "name": "LitElement",
3845
- "package": "lit"
3846
- },
3847
- "tagName": "cds-aichat-card-footer",
3848
- "customElement": true
3849
- }
3850
- ],
3851
- "exports": [
3852
- {
3853
- "kind": "js",
3854
- "name": "default",
3855
- "declaration": {
3856
- "name": "CardFooter",
3857
- "module": "src/components/card/src/card-footer.ts"
3858
- }
3859
- }
3860
- ]
3861
- },
3862
- {
3863
- "kind": "javascript-module",
3864
- "path": "src/components/card/src/card-steps.ts",
3865
- "declarations": [
3866
- {
3867
- "kind": "class",
3868
- "description": "Step component",
3869
- "name": "CardSteps",
3870
- "members": [
3871
- {
3872
- "kind": "field",
3873
- "name": "steps",
3874
- "type": {
3875
- "text": "Step[]"
3876
- },
3877
- "default": "[]",
3878
- "description": "Steps to render",
3879
- "attribute": "steps"
3880
- }
3881
- ],
3882
- "attributes": [
3883
- {
3884
- "name": "steps",
3885
- "type": {
3886
- "text": "Step[]"
3887
- },
3888
- "default": "[]",
3889
- "description": "Steps to render",
3890
- "fieldName": "steps"
3891
- }
3892
- ],
3893
- "superclass": {
3894
- "name": "LitElement",
3895
- "package": "lit"
3896
- },
3897
- "tagName": "cds-aichat-card-steps",
3898
- "customElement": true
3899
- }
3900
- ],
3901
- "exports": [
3902
- {
3903
- "kind": "js",
3904
- "name": "default",
3905
- "declaration": {
3906
- "name": "CardSteps",
3907
- "module": "src/components/card/src/card-steps.ts"
3908
- }
3909
- }
3910
- ]
3911
- },
3912
- {
3913
- "kind": "javascript-module",
3914
- "path": "src/components/card/src/card.ts",
3915
- "declarations": [
3916
- {
3917
- "kind": "class",
3918
- "description": "Component extending the",
3919
- "name": "Card",
3920
- "members": [
3921
- {
3922
- "kind": "field",
3923
- "name": "isLayered",
3924
- "type": {
3925
- "text": "boolean"
3926
- },
3927
- "default": "false",
3928
- "description": "Specify whether the `Card` layering style. if true, the card will follow carbon layering style, otherwise chat shell layering style.",
3929
- "attribute": "is-layered",
3930
- "reflects": true
3931
- },
3932
- {
3933
- "kind": "field",
3934
- "name": "isFlush",
3935
- "type": {
3936
- "text": "boolean"
3937
- },
3938
- "default": "false",
3939
- "description": "Specify whether the padding should be removed from the card. default is false.\nWhen true, removes the default padding from cds-tile, useful when the card\nis used as a container for other components that need to be flush against edges.",
3940
- "attribute": "is-flush",
3941
- "reflects": true
3942
- }
3943
- ],
3944
- "attributes": [
3945
- {
3946
- "name": "is-layered",
3947
- "type": {
3948
- "text": "boolean"
3949
- },
3950
- "default": "false",
3951
- "description": "Specify whether the `Card` layering style. if true, the card will follow carbon layering style, otherwise chat shell layering style.",
3952
- "fieldName": "isLayered"
3953
- },
3954
- {
3955
- "name": "is-flush",
3956
- "type": {
3957
- "text": "boolean"
3958
- },
3959
- "default": "false",
3960
- "description": "Specify whether the padding should be removed from the card. default is false.\nWhen true, removes the default padding from cds-tile, useful when the card\nis used as a container for other components that need to be flush against edges.",
3961
- "fieldName": "isFlush"
3962
- }
3963
- ],
3964
- "superclass": {
3965
- "name": "CDSTile",
3966
- "package": "@carbon/web-components/es/components/tile/tile.js"
3967
- },
3968
- "tagName": "cds-aichat-card",
3969
- "customElement": true
3970
- }
3971
- ],
3972
- "exports": [
3973
- {
3974
- "kind": "js",
3975
- "name": "default",
3976
- "declaration": {
3977
- "name": "Card",
3978
- "module": "src/components/card/src/card.ts"
3979
- }
3980
- }
3981
- ]
3982
- },
3983
3738
  {
3984
3739
  "kind": "javascript-module",
3985
3740
  "path": "src/components/carousel/src/carousel.ts",
@@ -12976,106 +12731,351 @@
12976
12731
  },
12977
12732
  {
12978
12733
  "type": {
12979
- "text": "CustomEvent"
12734
+ "text": "CustomEvent"
12735
+ },
12736
+ "description": "Fired when the user clicks the launcher button.",
12737
+ "name": "cds-aichat-launcher-toggle"
12738
+ }
12739
+ ],
12740
+ "attributes": [
12741
+ {
12742
+ "name": "show-unread-indicator",
12743
+ "type": {
12744
+ "text": "boolean"
12745
+ },
12746
+ "default": "false",
12747
+ "description": "Shows the unread indicator dot when `true` and `unreadMessageCount` is 0.",
12748
+ "fieldName": "showUnreadIndicator"
12749
+ },
12750
+ {
12751
+ "name": "unread-message-count",
12752
+ "type": {
12753
+ "text": "number"
12754
+ },
12755
+ "default": "0",
12756
+ "description": "Number of unread messages. Displays a count badge when greater than 0.",
12757
+ "fieldName": "unreadMessageCount"
12758
+ },
12759
+ {
12760
+ "name": "closed-label",
12761
+ "type": {
12762
+ "text": "string"
12763
+ },
12764
+ "default": "''",
12765
+ "description": "Aria label shown when the chat window is closed (launcher is in its\n\"open chat\" state).",
12766
+ "fieldName": "closedLabel"
12767
+ },
12768
+ {
12769
+ "name": "open-label",
12770
+ "type": {
12771
+ "text": "string"
12772
+ },
12773
+ "default": "''",
12774
+ "description": "Aria label shown when the chat window is open (launcher is in its\n\"close chat\" state).",
12775
+ "fieldName": "openLabel"
12776
+ },
12777
+ {
12778
+ "name": "ai-enabled",
12779
+ "type": {
12780
+ "text": "boolean"
12781
+ },
12782
+ "default": "false",
12783
+ "description": "When `true`, renders the AI launch icon. When `false`, renders the\nstandard chat launch icon.",
12784
+ "fieldName": "aiEnabled"
12785
+ },
12786
+ {
12787
+ "name": "launcher-avatar-url",
12788
+ "type": {
12789
+ "text": "string | undefined"
12790
+ },
12791
+ "description": "Optional URL for a custom avatar image. When provided, the avatar\nreplaces the default icon.",
12792
+ "fieldName": "launcherAvatarUrl"
12793
+ },
12794
+ {
12795
+ "name": "unread-label",
12796
+ "type": {
12797
+ "text": "string | undefined"
12798
+ },
12799
+ "description": "Pre-formatted screen-reader label suffix for the unread message count\n(e.g. \"3 unread messages\"). Appended to the button aria-label when set.",
12800
+ "fieldName": "unreadLabel"
12801
+ },
12802
+ {
12803
+ "name": "tooltip-position",
12804
+ "type": {
12805
+ "text": "BUTTON_TOOLTIP_POSITION | undefined"
12806
+ },
12807
+ "description": "Optional tooltip position to be rendered when hovering over the launcher, defaults to top",
12808
+ "fieldName": "tooltipPosition"
12809
+ }
12810
+ ],
12811
+ "superclass": {
12812
+ "name": "LitElement",
12813
+ "package": "lit"
12814
+ },
12815
+ "tagName": "cds-aichat-launcher",
12816
+ "customElement": true
12817
+ }
12818
+ ],
12819
+ "exports": [
12820
+ {
12821
+ "kind": "js",
12822
+ "name": "CDSAIChatLauncher",
12823
+ "declaration": {
12824
+ "name": "CDSAIChatLauncher",
12825
+ "module": "src/components/launcher/src/launcher.ts"
12826
+ }
12827
+ },
12828
+ {
12829
+ "kind": "js",
12830
+ "name": "default",
12831
+ "declaration": {
12832
+ "name": "CDSAIChatLauncher",
12833
+ "module": "src/components/launcher/src/launcher.ts"
12834
+ }
12835
+ }
12836
+ ]
12837
+ },
12838
+ {
12839
+ "kind": "javascript-module",
12840
+ "path": "src/components/card/src/card-footer.ts",
12841
+ "declarations": [
12842
+ {
12843
+ "kind": "class",
12844
+ "description": "Footer action bar that renders Carbon buttons and emits an `action` event.\nConsumers listen for events instead of passing callbacks.",
12845
+ "name": "CardFooter",
12846
+ "members": [
12847
+ {
12848
+ "kind": "field",
12849
+ "name": "slot",
12850
+ "type": {
12851
+ "text": "string"
12852
+ },
12853
+ "default": "'footer'",
12854
+ "description": "Sets default slot value to footer",
12855
+ "attribute": "slot",
12856
+ "reflects": true
12857
+ },
12858
+ {
12859
+ "kind": "field",
12860
+ "name": "actions",
12861
+ "type": {
12862
+ "text": "Action[]"
12863
+ },
12864
+ "default": "[]",
12865
+ "description": "Card actions to render",
12866
+ "attribute": "actions"
12867
+ },
12868
+ {
12869
+ "kind": "field",
12870
+ "name": "size",
12871
+ "type": {
12872
+ "text": "BUTTON_SIZE | undefined"
12873
+ },
12874
+ "attribute": "size"
12875
+ },
12876
+ {
12877
+ "kind": "field",
12878
+ "name": "isIconButton",
12879
+ "type": {
12880
+ "text": "boolean"
12881
+ },
12882
+ "default": "false",
12883
+ "attribute": "is-icon-button",
12884
+ "reflects": true
12885
+ },
12886
+ {
12887
+ "kind": "method",
12888
+ "name": "handleAction",
12889
+ "privacy": "private",
12890
+ "parameters": [
12891
+ {
12892
+ "name": "action",
12893
+ "type": {
12894
+ "text": "Action"
12895
+ }
12896
+ }
12897
+ ]
12898
+ }
12899
+ ],
12900
+ "events": [
12901
+ {
12902
+ "name": "cds-aichat-card-footer-action",
12903
+ "type": {
12904
+ "text": "CustomEvent"
12905
+ }
12906
+ }
12907
+ ],
12908
+ "attributes": [
12909
+ {
12910
+ "name": "slot",
12911
+ "type": {
12912
+ "text": "string"
12913
+ },
12914
+ "default": "'footer'",
12915
+ "description": "Sets default slot value to footer",
12916
+ "fieldName": "slot"
12917
+ },
12918
+ {
12919
+ "name": "actions",
12920
+ "type": {
12921
+ "text": "Action[]"
12980
12922
  },
12981
- "description": "Fired when the user clicks the launcher button.",
12982
- "name": "cds-aichat-launcher-toggle"
12983
- }
12984
- ],
12985
- "attributes": [
12923
+ "default": "[]",
12924
+ "description": "Card actions to render",
12925
+ "fieldName": "actions"
12926
+ },
12986
12927
  {
12987
- "name": "show-unread-indicator",
12928
+ "name": "size",
12988
12929
  "type": {
12989
- "text": "boolean"
12930
+ "text": "BUTTON_SIZE | undefined"
12990
12931
  },
12991
- "default": "false",
12992
- "description": "Shows the unread indicator dot when `true` and `unreadMessageCount` is 0.",
12993
- "fieldName": "showUnreadIndicator"
12932
+ "fieldName": "size"
12994
12933
  },
12995
12934
  {
12996
- "name": "unread-message-count",
12935
+ "name": "is-icon-button",
12997
12936
  "type": {
12998
- "text": "number"
12937
+ "text": "boolean"
12999
12938
  },
13000
- "default": "0",
13001
- "description": "Number of unread messages. Displays a count badge when greater than 0.",
13002
- "fieldName": "unreadMessageCount"
13003
- },
12939
+ "default": "false",
12940
+ "fieldName": "isIconButton"
12941
+ }
12942
+ ],
12943
+ "superclass": {
12944
+ "name": "LitElement",
12945
+ "package": "lit"
12946
+ },
12947
+ "tagName": "cds-aichat-card-footer",
12948
+ "customElement": true
12949
+ }
12950
+ ],
12951
+ "exports": [
12952
+ {
12953
+ "kind": "js",
12954
+ "name": "default",
12955
+ "declaration": {
12956
+ "name": "CardFooter",
12957
+ "module": "src/components/card/src/card-footer.ts"
12958
+ }
12959
+ }
12960
+ ]
12961
+ },
12962
+ {
12963
+ "kind": "javascript-module",
12964
+ "path": "src/components/card/src/card-steps.ts",
12965
+ "declarations": [
12966
+ {
12967
+ "kind": "class",
12968
+ "description": "Step component",
12969
+ "name": "CardSteps",
12970
+ "members": [
13004
12971
  {
13005
- "name": "closed-label",
12972
+ "kind": "field",
12973
+ "name": "steps",
13006
12974
  "type": {
13007
- "text": "string"
12975
+ "text": "Step[]"
13008
12976
  },
13009
- "default": "''",
13010
- "description": "Aria label shown when the chat window is closed (launcher is in its\n\"open chat\" state).",
13011
- "fieldName": "closedLabel"
13012
- },
12977
+ "default": "[]",
12978
+ "description": "Steps to render",
12979
+ "attribute": "steps"
12980
+ }
12981
+ ],
12982
+ "attributes": [
13013
12983
  {
13014
- "name": "open-label",
12984
+ "name": "steps",
13015
12985
  "type": {
13016
- "text": "string"
12986
+ "text": "Step[]"
13017
12987
  },
13018
- "default": "''",
13019
- "description": "Aria label shown when the chat window is open (launcher is in its\n\"close chat\" state).",
13020
- "fieldName": "openLabel"
13021
- },
12988
+ "default": "[]",
12989
+ "description": "Steps to render",
12990
+ "fieldName": "steps"
12991
+ }
12992
+ ],
12993
+ "superclass": {
12994
+ "name": "LitElement",
12995
+ "package": "lit"
12996
+ },
12997
+ "tagName": "cds-aichat-card-steps",
12998
+ "customElement": true
12999
+ }
13000
+ ],
13001
+ "exports": [
13002
+ {
13003
+ "kind": "js",
13004
+ "name": "default",
13005
+ "declaration": {
13006
+ "name": "CardSteps",
13007
+ "module": "src/components/card/src/card-steps.ts"
13008
+ }
13009
+ }
13010
+ ]
13011
+ },
13012
+ {
13013
+ "kind": "javascript-module",
13014
+ "path": "src/components/card/src/card.ts",
13015
+ "declarations": [
13016
+ {
13017
+ "kind": "class",
13018
+ "description": "Component extending the",
13019
+ "name": "Card",
13020
+ "members": [
13022
13021
  {
13023
- "name": "ai-enabled",
13022
+ "kind": "field",
13023
+ "name": "isLayered",
13024
13024
  "type": {
13025
13025
  "text": "boolean"
13026
13026
  },
13027
13027
  "default": "false",
13028
- "description": "When `true`, renders the AI launch icon. When `false`, renders the\nstandard chat launch icon.",
13029
- "fieldName": "aiEnabled"
13028
+ "description": "Specify whether the `Card` layering style. if true, the card will follow carbon layering style, otherwise chat shell layering style.",
13029
+ "attribute": "is-layered",
13030
+ "reflects": true
13030
13031
  },
13031
13032
  {
13032
- "name": "launcher-avatar-url",
13033
+ "kind": "field",
13034
+ "name": "isFlush",
13033
13035
  "type": {
13034
- "text": "string | undefined"
13036
+ "text": "boolean"
13035
13037
  },
13036
- "description": "Optional URL for a custom avatar image. When provided, the avatar\nreplaces the default icon.",
13037
- "fieldName": "launcherAvatarUrl"
13038
- },
13038
+ "default": "false",
13039
+ "description": "Specify whether the padding should be removed from the card. default is false.\nWhen true, removes the default padding from cds-tile, useful when the card\nis used as a container for other components that need to be flush against edges.",
13040
+ "attribute": "is-flush",
13041
+ "reflects": true
13042
+ }
13043
+ ],
13044
+ "attributes": [
13039
13045
  {
13040
- "name": "unread-label",
13046
+ "name": "is-layered",
13041
13047
  "type": {
13042
- "text": "string | undefined"
13048
+ "text": "boolean"
13043
13049
  },
13044
- "description": "Pre-formatted screen-reader label suffix for the unread message count\n(e.g. \"3 unread messages\"). Appended to the button aria-label when set.",
13045
- "fieldName": "unreadLabel"
13050
+ "default": "false",
13051
+ "description": "Specify whether the `Card` layering style. if true, the card will follow carbon layering style, otherwise chat shell layering style.",
13052
+ "fieldName": "isLayered"
13046
13053
  },
13047
13054
  {
13048
- "name": "tooltip-position",
13055
+ "name": "is-flush",
13049
13056
  "type": {
13050
- "text": "BUTTON_TOOLTIP_POSITION | undefined"
13057
+ "text": "boolean"
13051
13058
  },
13052
- "description": "Optional tooltip position to be rendered when hovering over the launcher, defaults to top",
13053
- "fieldName": "tooltipPosition"
13059
+ "default": "false",
13060
+ "description": "Specify whether the padding should be removed from the card. default is false.\nWhen true, removes the default padding from cds-tile, useful when the card\nis used as a container for other components that need to be flush against edges.",
13061
+ "fieldName": "isFlush"
13054
13062
  }
13055
13063
  ],
13056
13064
  "superclass": {
13057
- "name": "LitElement",
13058
- "package": "lit"
13065
+ "name": "CDSTile",
13066
+ "package": "@carbon/web-components/es/components/tile/tile.js"
13059
13067
  },
13060
- "tagName": "cds-aichat-launcher",
13068
+ "tagName": "cds-aichat-card",
13061
13069
  "customElement": true
13062
13070
  }
13063
13071
  ],
13064
13072
  "exports": [
13065
- {
13066
- "kind": "js",
13067
- "name": "CDSAIChatLauncher",
13068
- "declaration": {
13069
- "name": "CDSAIChatLauncher",
13070
- "module": "src/components/launcher/src/launcher.ts"
13071
- }
13072
- },
13073
13073
  {
13074
13074
  "kind": "js",
13075
13075
  "name": "default",
13076
13076
  "declaration": {
13077
- "name": "CDSAIChatLauncher",
13078
- "module": "src/components/launcher/src/launcher.ts"
13077
+ "name": "Card",
13078
+ "module": "src/components/card/src/card.ts"
13079
13079
  }
13080
13080
  }
13081
13081
  ]
@@ -22798,47 +22798,6 @@
22798
22798
  }
22799
22799
  ]
22800
22800
  },
22801
- {
22802
- "kind": "javascript-module",
22803
- "path": "src/components/prompt-line/src/__tests__/wait-for-rich.ts",
22804
- "declarations": [
22805
- {
22806
- "kind": "function",
22807
- "name": "waitForRich",
22808
- "return": {
22809
- "type": {
22810
- "text": "Promise<void>"
22811
- }
22812
- },
22813
- "parameters": [
22814
- {
22815
- "name": "el",
22816
- "type": {
22817
- "text": "PromptLineElement"
22818
- }
22819
- },
22820
- {
22821
- "name": "context",
22822
- "optional": true,
22823
- "type": {
22824
- "text": "(el: PromptLineElement) => Promise<string>"
22825
- }
22826
- }
22827
- ],
22828
- "description": "Poll until the rich editor has finished loading + mounting. Tiptap is loaded\nvia a lazy `import()` (see #1578), so the first upgrade in a test file pays a\ncold-load cost that can approach a couple seconds on Chromium — poll long\nenough to cover it (the runner's Mocha timeout is raised to match in\nweb-test-runner.config.js).\n\nPass an optional `context` callback to augment the timeout error message with\nfile-local diagnostics (see `describeUpgrade` in prompt-line.test.ts)."
22829
- }
22830
- ],
22831
- "exports": [
22832
- {
22833
- "kind": "js",
22834
- "name": "waitForRich",
22835
- "declaration": {
22836
- "name": "waitForRich",
22837
- "module": "src/components/prompt-line/src/__tests__/wait-for-rich.ts"
22838
- }
22839
- }
22840
- ]
22841
- },
22842
22801
  {
22843
22802
  "kind": "javascript-module",
22844
22803
  "path": "src/components/prompt-line/src/tiptap/build-extensions.ts",
@@ -24232,6 +24191,47 @@
24232
24191
  }
24233
24192
  ]
24234
24193
  },
24194
+ {
24195
+ "kind": "javascript-module",
24196
+ "path": "src/components/prompt-line/src/__tests__/wait-for-rich.ts",
24197
+ "declarations": [
24198
+ {
24199
+ "kind": "function",
24200
+ "name": "waitForRich",
24201
+ "return": {
24202
+ "type": {
24203
+ "text": "Promise<void>"
24204
+ }
24205
+ },
24206
+ "parameters": [
24207
+ {
24208
+ "name": "el",
24209
+ "type": {
24210
+ "text": "PromptLineElement"
24211
+ }
24212
+ },
24213
+ {
24214
+ "name": "context",
24215
+ "optional": true,
24216
+ "type": {
24217
+ "text": "(el: PromptLineElement) => Promise<string>"
24218
+ }
24219
+ }
24220
+ ],
24221
+ "description": "Poll until the rich editor has finished loading + mounting. Tiptap is loaded\nvia a lazy `import()` (see #1578), so the first upgrade in a test file pays a\ncold-load cost that can approach a couple seconds on Chromium — poll long\nenough to cover it (the runner's Mocha timeout is raised to match in\nweb-test-runner.config.js).\n\nPass an optional `context` callback to augment the timeout error message with\nfile-local diagnostics (see `describeUpgrade` in prompt-line.test.ts)."
24222
+ }
24223
+ ],
24224
+ "exports": [
24225
+ {
24226
+ "kind": "js",
24227
+ "name": "waitForRich",
24228
+ "declaration": {
24229
+ "name": "waitForRich",
24230
+ "module": "src/components/prompt-line/src/__tests__/wait-for-rich.ts"
24231
+ }
24232
+ }
24233
+ ]
24234
+ },
24235
24235
  {
24236
24236
  "kind": "javascript-module",
24237
24237
  "path": "src/components/video-player/src/providers/base-provider.ts",