Skip to content

Commit 6697115

Browse files
HeJiaYue520claude
andcommitted
docs: remove triggerIndices/@complete remnants and add v2 migration guide
- Remove triggerIndices prop and @complete event from BubbleList docs (zh/en) - Delete on-complete.vue demo files (zh/en) - Remove handleOnComplete and @complete binding from story files - Add comprehensive v2 migration guide (zh/en) covering: - Removed/renamed components and hooks changes - BubbleList triggerIndices/@complete removal documentation - Markdown rendering migration with #content slot - Streaming demo with hook-fetch + MarkdownRenderer - ConfigProvider theme system - CSS variable prefix changes and SSR compatibility - Add migration guide links to sidebar navigation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d814016 commit 6697115

11 files changed

Lines changed: 1385 additions & 181 deletions

File tree

apps/docs/.eslintrc-auto-import.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"ComputedRef": true,
66
"DirectiveBinding": true,
77
"EffectScope": true,
8-
"ElMessage": true,
98
"ExtractDefaultPropTypes": true,
109
"ExtractPropTypes": true,
1110
"ExtractPublicPropTypes": true,

apps/docs/en/components/bubbleList/demos/on-complete.vue

Lines changed: 0 additions & 69 deletions
This file was deleted.

apps/docs/en/components/bubbleList/index.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@ The logic is the same as before, so you can upgrade without any worries.
3636

3737
<demo src="./demos/back-button.vue"></demo>
3838

39-
### Scroll Complete Event
40-
41-
::: warning
42-
This is only needed in very special cases. It is not suitable for streaming output, as it will quickly trigger the typing end event.
43-
:::
44-
45-
<demo src="./demos/on-complete.vue"></demo>
46-
4739
### Theme Overrides (themeOverrides)
4840

4941
Override `BubbleList` theme tokens via `ConfigProvider.themeOverrides`. See the full token list and template:
@@ -112,14 +104,9 @@ const list = ref([
112104
| `btnLoading` | Boolean | No | true | Whether to enable loading state for the back to bottom button. Default is `true`. |
113105
| `btnColor` | String | No | '#409EFF' | Color of the back to bottom button. Default is `'#409EFF'`. |
114106
| `btnIconSize` | Number | No | 24 | Icon size of the back to bottom button. Default is 24px. |
115-
| `triggerIndices` | 'only-last' \| 'all' \| number[] | No | 'only-last' | Index array of bubbles that trigger the `complete` event. Default is `'only-last'`. |
116107

117108
## Events
118109

119-
| Event Name | Parameter | Type | Description |
120-
| ----------- | ----------------- | -------- | ---------------------------------------------------------- |
121-
| `@complete` | (instance, index) | Function | Triggered when the typing effect of a bubble is completed. |
122-
123110
## Ref Instance Methods
124111

125112
| Name | Type | Description |

0 commit comments

Comments
 (0)