diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index ae80bcc144e..f05ed3ca612 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,6 +1,6 @@ # CHANGELOG -## NEXT_VERSION +## 2.36.0 ### Fixes diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 5d32cd68350..ff1c378725f 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,6 +1,6 @@ # CHANGELOG -## NEXT_VERSION +## 2.36.0 ### Fixes diff --git a/package.json b/package.json index 6c7d3db3627..44181a83d63 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "naive-ui", - "version": "2.35.0", + "version": "2.36.0", "description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast", "main": "lib/index.js", "module": "es/index.js", diff --git a/src/card/demos/enUS/index.demo-entry.md b/src/card/demos/enUS/index.demo-entry.md index 1646013f14c..47e149c89c3 100644 --- a/src/card/demos/enUS/index.demo-entry.md +++ b/src/card/demos/enUS/index.demo-entry.md @@ -27,14 +27,14 @@ embedded.vue | --- | --- | --- | --- | --- | | bordered | `boolean` | `true` | Whether to show the card border. | | | closable | `boolean` | `false` | Is it allowed to close. | | -| content-class | `string` | `undefined` | The class of the card content area. | NEXT_VERSION | +| content-class | `string` | `undefined` | The class of the card content area. | 2.36.0 | | content-style | `Object \| string` | `undefined` | The style of the card content area. | | | embedded | `boolean` | `false` | Use a darker background color to show the embedding effect (only for bright themes) | | -| footer-class | `string` | `undefined` | The class of the bottom area of the card. | NEXT_VERSION | +| footer-class | `string` | `undefined` | The class of the bottom area of the card. | 2.36.0 | | footer-style | `Object \| string` | `undefined` | The style of the bottom area of the card. | | -| header-class | `string` | `undefined` | The class of the card head area. | NEXT_VERSION | +| header-class | `string` | `undefined` | The class of the card head area. | 2.36.0 | | header-style | `Object \| string` | `undefined` | The style of the card head area. | | -| header-extra-class | `string` | `undefined` | The class of the card head extra area. | NEXT_VERSION | +| header-extra-class | `string` | `undefined` | The class of the card head extra area. | 2.36.0 | | header-extra-style | `Object \| string` | `undefined` | The style of the card head extra area. | 2.25.0 | | hoverable | `boolean` | `false` | Whether to show shadow when hovering on the card. | | | segmented | `boolean \| { [part in 'content' \| 'footer' \| 'action']?: boolean \| 'soft' }` | `false` | Segment divider settings of the card. | | diff --git a/src/card/demos/zhCN/index.demo-entry.md b/src/card/demos/zhCN/index.demo-entry.md index 9e2ad36673a..cb17e124ab4 100644 --- a/src/card/demos/zhCN/index.demo-entry.md +++ b/src/card/demos/zhCN/index.demo-entry.md @@ -29,14 +29,14 @@ embedded-debug.vue | --- | --- | --- | --- | --- | | bordered | `boolean` | `true` | 是否显示卡片边框 | | | closable | `boolean` | `false` | 是否允许关闭 | | -| content-class | `string` | `undefined` | 卡片内容区域的类名 | NEXT_VERSION | +| content-class | `string` | `undefined` | 卡片内容区域的类名 | 2.36.0 | | content-style | `Object \| string` | `undefined` | 卡片内容区域的样式 | | | embedded | `boolean` | `false` | 使用更深的背景色展现嵌入效果,只对亮色主题生效 | | -| footer-class | `string` | `undefined` | 卡片底部区域的类名 | NEXT_VERSION | +| footer-class | `string` | `undefined` | 卡片底部区域的类名 | 2.36.0 | | footer-style | `Object \| string` | `undefined` | 卡片底部区域的样式 | | -| header-class | `string` | `undefined` | 卡片头部区域的类名 | NEXT_VERSION | +| header-class | `string` | `undefined` | 卡片头部区域的类名 | 2.36.0 | | header-style | `Object \| string` | `undefined` | 卡片头部区域的样式 | | -| header-extra-class | `string` | `undefined` | 卡片头部额外内容的类名 | NEXT_VERSION | +| header-extra-class | `string` | `undefined` | 卡片头部额外内容的类名 | 2.36.0 | | header-extra-style | `Object \| string` | `undefined` | 卡片头部额外内容的样式 | 2.25.0 | | hoverable | `boolean` | `false` | 卡片是否可悬浮 | | | segmented | `boolean \| { [part in 'content' \| 'footer' \| 'action']?: boolean \| 'soft' }` | `false` | 卡片的分段区域设置 | | diff --git a/src/descriptions/demos/enUS/index.demo-entry.md b/src/descriptions/demos/enUS/index.demo-entry.md index cbb9690a8f1..e1597d61f5b 100644 --- a/src/descriptions/demos/enUS/index.demo-entry.md +++ b/src/descriptions/demos/enUS/index.demo-entry.md @@ -23,11 +23,11 @@ size.vue | --- | --- | --- | --- | --- | | bordered | `boolean` | `false` | Whether to display border. | | | column | `number` | `3` | Total columns. | | -| content-class | `string` | `undefined` | Class of the item content. | NEXT_VERSION | +| content-class | `string` | `undefined` | Class of the item content. | 2.36.0 | | content-style | `Object \| string` | `undefined` | Style of the item content. | | | label-align | `'center' \| 'left' \| 'right'` | `'left'` | Label align. | | | label-placement | `'top' \| 'left'` | `'top'` | Label placement. | | -| label-class | `string` | `undefined` | Class of the item label. | NEXT_VERSION | +| label-class | `string` | `undefined` | Class of the item label. | 2.36.0 | | label-style | `Object \| string` | `undefined` | Style of the item label. | | | separator | `string` | `':'` | Separator, only work when `label-placement` is `left` and  `bordered` is `false`.  | | | size | `'small' \| 'medium' \| 'large'` | `'medium'` | Size of the description. | | diff --git a/src/descriptions/demos/zhCN/index.demo-entry.md b/src/descriptions/demos/zhCN/index.demo-entry.md index 4c191adc114..3de47b37f4d 100644 --- a/src/descriptions/demos/zhCN/index.demo-entry.md +++ b/src/descriptions/demos/zhCN/index.demo-entry.md @@ -24,11 +24,11 @@ single-line-debug.vue | --- | --- | --- | --- | --- | | bordered | `boolean` | `false` | 是否显示 border | | | column | `number` | `3` | 设置的总列数 | | -| content-class | `string` | `undefined` | 内容的类名 | NEXT_VERSION | +| content-class | `string` | `undefined` | 内容的类名 | 2.36.0 | | content-style | `Object \| string` | `undefined` | 内容的样式 | | | label-align | `'center' \| 'left' \| 'right'` | `'left'` | label 对齐方式 | | | label-placement | `'top' \| 'left'` | `'top'` | label 显示位置 | | -| label-class | `string` | `undefined` | label 的类名 | NEXT_VERSION | +| label-class | `string` | `undefined` | label 的类名 | 2.36.0 | | label-style | `Object \| string` | `undefined` | label 的样式 | | | separator | `string` | `':'` | 分隔符,`label-placement` 为 `left` 并且 `bordered` 为 `false` 时生效 | | | size | `'small' \| 'medium' \| 'large'` | `'medium'` | 尺寸 | | diff --git a/src/dialog/demos/enUS/index.demo-entry.md b/src/dialog/demos/enUS/index.demo-entry.md index 00cf8d5bb06..0e475fc5235 100644 --- a/src/dialog/demos/enUS/index.demo-entry.md +++ b/src/dialog/demos/enUS/index.demo-entry.md @@ -154,10 +154,10 @@ All the properties can be modified dynamically. ### Dialog Slots -| Name | Parameters | Description | Version | -| ------- | ---------- | ----------------- | ------------ | -| action | `()` | `Action` content. | | -| default | `()` | Dialog content. | | -| header | `()` | `Header` content. | | -| icon | `()` | `Icon` content. | | -| close | `()` | `Close` content. | NEXT_VERSION | +| Name | Parameters | Description | Version | +| ------- | ---------- | ----------------- | ------- | +| action | `()` | `Action` content. | | +| default | `()` | Dialog content. | | +| header | `()` | `Header` content. | | +| icon | `()` | `Icon` content. | | +| close | `()` | `Close` content. | 2.36.0 | diff --git a/src/dialog/demos/zhCN/index.demo-entry.md b/src/dialog/demos/zhCN/index.demo-entry.md index 332fb29347b..106a8e5a43f 100644 --- a/src/dialog/demos/zhCN/index.demo-entry.md +++ b/src/dialog/demos/zhCN/index.demo-entry.md @@ -155,10 +155,10 @@ focus-debug.vue ### Dialog Slots -| 名称 | 参数 | 说明 | 版本 | -| ------- | ---- | ------------- | ------------ | -| action | `()` | `action` 内容 | | -| default | `()` | 对话框内容 | | -| header | `()` | `header` 内容 | | -| icon | `()` | `icon` 内容 | | -| close | `()` | `close` 内容 | NEXT_VERSION | +| 名称 | 参数 | 说明 | 版本 | +| ------- | ---- | ------------- | ------ | +| action | `()` | `action` 内容 | | +| default | `()` | 对话框内容 | | +| header | `()` | `header` 内容 | | +| icon | `()` | `icon` 内容 | | +| close | `()` | `close` 内容 | 2.36.0 | diff --git a/src/dynamic-input/demos/enUS/index.demo-entry.md b/src/dynamic-input/demos/enUS/index.demo-entry.md index 0b38886c252..ffcb1837e61 100644 --- a/src/dynamic-input/demos/enUS/index.demo-entry.md +++ b/src/dynamic-input/demos/enUS/index.demo-entry.md @@ -28,7 +28,7 @@ custom-action.vue | create-button-props | `ButtonProps` | `undefined` | Props of create item button. | 2.25.0 | | default-value | `unknown[]` | `[]` | Default value. | | | disabled | `boolean` | `false` | Whether to disable the dynamic-input. It won't work for custom content. | 2.34.4 | -| item-class | `string` | `undefined` | The class of each item of the dynamic input. | NEXT_VERSION | +| item-class | `string` | `undefined` | The class of each item of the dynamic input. | 2.36.0 | | item-style | `string \| Object` | `undefined` | The style of each item of the dynamic input. | | | key-field | `string` | `undefined` | The key of each item that should be used in the rendering of the list. | | | min | `number` | `0` | Minimum number of items. | | diff --git a/src/dynamic-input/demos/zhCN/index.demo-entry.md b/src/dynamic-input/demos/zhCN/index.demo-entry.md index 6dec1dde7f8..4f339a18f1a 100644 --- a/src/dynamic-input/demos/zhCN/index.demo-entry.md +++ b/src/dynamic-input/demos/zhCN/index.demo-entry.md @@ -30,7 +30,7 @@ create-debug.vue | create-button-props | `ButtonProps` | `undefined` | 新建项按钮的属性 | 2.25.0 | | default-value | `unknown[]` | `[]` | 非受控模式下的默认值 | | | disabled | `boolean` | `false` | 是否禁用,对自定义内容无效 | 2.34.4 | -| item-class | `string` | `undefined` | 动态录入中每项的类名 | NEXT_VERSION | +| item-class | `string` | `undefined` | 动态录入中每项的类名 | 2.36.0 | | item-style | `string \| Object` | `undefined` | 动态录入中每项的样式 | | | key-field | `string` | `undefined` | 每一项的 key 值,会被用于列表渲染中 | | | min | `number` | `0` | 最少有几项内容 | | diff --git a/src/dynamic-tags/demos/enUS/index.demo-entry.md b/src/dynamic-tags/demos/enUS/index.demo-entry.md index 90c4c3a09ee..371e3afdc96 100644 --- a/src/dynamic-tags/demos/enUS/index.demo-entry.md +++ b/src/dynamic-tags/demos/enUS/index.demo-entry.md @@ -25,13 +25,13 @@ on-create.vue | default-value | `string[]` | `[]` | Default value. | | | disabled | `boolean` | `false` | Whether the tag is disabled. | | | input-props | `InputProps` | `undefined` | Props of internal `n-input`. | 2.25.0 | -| input-class | `string` | `undefined` | Customize the class of the input. | NEXT_VERSION | +| input-class | `string` | `undefined` | Customize the class of the input. | 2.36.0 | | input-style | `string \| Object` | `undefined` | Customize the style of the input. | | | max | `number` | `undefined` | Maximum number of tags. | | | round | `boolean` | `false` | Whether the tag has rounded corners. | | | render-tag | `((tag: string, index: number) => VNodeChild) \| ((tag: { label: string, value: string }, index: number) => VNodeChild)` | `undefined` | custom render tag. | 2.27.0 | | size | `'small' \| 'medium' \| 'large'` | `'medium'` | Size of the tag. | | -| tag-class | `string` | `undefined` | Customize the class of the tag. | NEXT_VERSION | +| tag-class | `string` | `undefined` | Customize the class of the tag. | 2.36.0 | | tag-style | `string \| Object` | `undefined` | Customize the style of the tag. | | | type | `'default' \| 'primary' \| 'info' \| 'success' \| 'warning' \| 'error'` | `'default'` | Type of the tag. | | | value | `string[]` | `undefined` | Value if manually set. | | diff --git a/src/dynamic-tags/demos/zhCN/index.demo-entry.md b/src/dynamic-tags/demos/zhCN/index.demo-entry.md index 6420e2aabbb..36e9f9adc63 100644 --- a/src/dynamic-tags/demos/zhCN/index.demo-entry.md +++ b/src/dynamic-tags/demos/zhCN/index.demo-entry.md @@ -25,13 +25,13 @@ on-create.vue | default-value | `string[] \| Array<{ label: string, value: string }>` | `[]` | 非受控模式下的默认值 | | | disabled | `boolean` | `false` | 是否禁用 | | | input-props | `InputProps` | `undefined` | 内部 `n-input` 组件的属性 | 2.25.0 | -| input-class | `string` | `undefined` | 自定义输入框的类名 | NEXT_VERSION | +| input-class | `string` | `undefined` | 自定义输入框的类名 | 2.36.0 | | input-style | `string \| Object` | `undefined` | 自定义输入框的样式 | | | max | `number` | `undefined` | tag 的最大数量 | | | round | `boolean` | `false` | 是否圆角 | | | render-tag | `((tag: string, index: number) => VNodeChild) \| ((tag: { label: string, value: string }, index: number) => VNodeChild)` | `undefined` | 自定义渲染 tag | 2.27.0 | | size | `'small' \| 'medium' \| 'large'` | `'medium'` | 尺寸大小 | | -| tag-class | `string` | `undefined` | 自定义标签的类名 | NEXT_VERSION | +| tag-class | `string` | `undefined` | 自定义标签的类名 | 2.36.0 | | tag-style | `string \| Object` | `undefined` | 自定义标签的样式 | | | type | `'default' \| 'primary' \| 'info' \| 'success' \| 'warning' \| 'error'` | `'default'` | 标签类型 | | | value | `string[] \| Array<{ label: string, value: string }>` | `undefined` | 受控模式下的值 | | diff --git a/src/layout/demos/enUS/index.demo-entry.md b/src/layout/demos/enUS/index.demo-entry.md index b3227537a14..99560b802ac 100644 --- a/src/layout/demos/enUS/index.demo-entry.md +++ b/src/layout/demos/enUS/index.demo-entry.md @@ -30,7 +30,7 @@ scroll-to.vue | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | -| content-class | `string` | `undefined` | Class of scrollable content node. | NEXT_VERSION | +| content-class | `string` | `undefined` | Class of scrollable content node. | 2.36.0 | | content-style | `string \| Object` | `undefined` | Style of scrollable content node. | | | embedded | `boolean` | `false` | Use darker background to show a embedded effect. Only work for light theme. | | | has-sider | `boolean` | `false` | Whether the component has sider inside. If so it must be `true`. | | @@ -63,7 +63,7 @@ scroll-to.vue | bordered | `boolean` | `false` | Whether to show the border. | | | collapse-mode | `'transform' \| 'width'` | `'transform'` | If set to `'width'`, the sider's content width will be actually collapsed. If set to `'transform'`, the sider will only move it's position and won't change its content width. | | | collapsed | `boolean` | `undefined` | Whether the sider is collapsed. It only works for when `position` is `'static'`. | | -| collapsed-trigger-class | `string` | `undefined` | Trigger class when collapsed. | NEXT_VERSION | +| collapsed-trigger-class | `string` | `undefined` | Trigger class when collapsed. | 2.36.0 | | collapsed-trigger-style | `string \| Object` | `undefined` | Trigger style when collapsed. | | | collapsed-width | `number` | `48` | Folded width. | | | content-class | `string` | `undefined` | Class of scrollable content node. | | @@ -75,7 +75,7 @@ scroll-to.vue | scrollbar-props | `object` | `undefined` | See [Scrollbar props](scrollbar#Scrollbar-Props) | | | show-collapsed-content | `boolean` | `true` | Whether to show content in sider after it is collapsed. | | | show-trigger | `boolean \| 'bar' \| 'arrow-circle'` | `false` | Whether to show the built-in trigger button on sider. | | -| trigger-class | `string` | `undefined` | Trigger class. | NEXT_VERSION | +| trigger-class | `string` | `undefined` | Trigger class. | 2.36.0 | | trigger-style | `string \| Object` | `undefined` | Trigger style. | | | width | `number \| string` | `272` | Width CSS value. When it is number, px will be added. | | | on-after-enter | `() => void` | `undefined` | Callback after it's expanded. | | diff --git a/src/layout/demos/zhCN/index.demo-entry.md b/src/layout/demos/zhCN/index.demo-entry.md index 3d625c5faed..47df8ccc9a3 100644 --- a/src/layout/demos/zhCN/index.demo-entry.md +++ b/src/layout/demos/zhCN/index.demo-entry.md @@ -31,7 +31,7 @@ keep-alive-debug.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | -| content-class | `string` | `undefined` | 可滚动内容节点的类名 | NEXT_VERSION | +| content-class | `string` | `undefined` | 可滚动内容节点的类名 | 2.36.0 | | content-style | `string \| Object` | `undefined` | 可滚动内容节点的样式 | | | embedded | `boolean` | `false` | 使用更深的背景色展现嵌入效果,只对亮色主题生效 | | | has-sider | `boolean` | `false` | 组件内部是否有边栏,如果有的话必须设为 `true` | | @@ -64,7 +64,7 @@ keep-alive-debug.vue | bordered | `boolean` | `false` | 是否显示边框 | | | collapse-mode | `'transform' \| 'width'` | `'transform'` | 如果设定为 `'width'`,Sider 的内容宽度将会被实际改变;如果设定为 `'transform'`,边栏将只会移动它的位置而不会改变宽度 | | | collapsed | `boolean` | `undefined` | 边栏是否折叠。只在 `position` 为 `'static'` 时生效 | | -| collapsed-trigger-class | `string` | `undefined` | 折叠时触发器类名 | NEXT_VERSION | +| collapsed-trigger-class | `string` | `undefined` | 折叠时触发器类名 | 2.36.0 | | collapsed-trigger-style | `string \| Object` | `undefined` | 折叠时触发器样式 | | | collapsed-width | `number` | `48` | 折叠宽度 | | | content-class | `string` | `undefined` | 可滚动内容节点的类名 | | @@ -76,7 +76,7 @@ keep-alive-debug.vue | scrollbar-props | `object` | `undefined` | 属性参考 [Scrollbar props](scrollbar#Scrollbar-Props) | | | show-collapsed-content | `boolean` | `true` | 是否在 `sider` 折叠后展示内部内容 | | | show-trigger | `boolean \| 'bar' \| 'arrow-circle'` | `false` | 内置的触发按钮是否展示 | | -| trigger-class | `string` | `undefined` | 触发器类名 | NEXT_VERSION | +| trigger-class | `string` | `undefined` | 触发器类名 | 2.36.0 | | trigger-style | `string \| Object` | `undefined` | 触发器样式 | | | width | `number \| string` | `272` | 宽度的 CSS 值,为数字时会添加 px | | | on-after-enter | `() => void` | `undefined` | 完成展开后的回调 | | diff --git a/src/menu/demos/enUS/index.demo-entry.md b/src/menu/demos/enUS/index.demo-entry.md index 280e4bb3a96..d7c813ee710 100644 --- a/src/menu/demos/enUS/index.demo-entry.md +++ b/src/menu/demos/enUS/index.demo-entry.md @@ -52,7 +52,7 @@ show.vue | render-extra | `(option: MenuOption \| MenuGroupOption) => VNodeChild` | `undefined` | Render function that renders all extras. | | | render-icon | `(option: MenuOption) => VNodeChild` | `undefined` | Render function that renders all icons. | | | render-label | `(option: MenuOption \| MenuGroupOption) => VNodeChild` | `undefined` | Render function that renders all labels. | | -| responsive | `boolean` | `false` | Whether to collapsed menu items that overflows menu. Only work for menu with `mode='horizontal'`. | NEXT_VERSION | +| responsive | `boolean` | `false` | Whether to collapsed menu items that overflows menu. Only work for menu with `mode='horizontal'`. | 2.36.0 | | root-indent | `number` | `undefined` | The indent of menu's first level children. If not set, menu will use `indent` in place of it. | | | value | `string \| null` | `undefined` | The selected item key of the menu. | | | watch-props | `Array<'defaultValue' \| 'defaultExpandedKeys'>` | `undefined` | Default prop names that needed to be watched. Components will be updated after the prop is changed. Note: the `watch-props` itself is not reactive. | | @@ -94,5 +94,5 @@ show.vue | Name | Type | Description | Version | | --- | --- | --- | --- | -| deriveResponsiveState | `() => void` | Recalculate the collapsed state of the responsive menu content. When the width of the menu container is not solely determined by the external width, in the `responsive` mode, the menu content cannot automatically expand after being collapsed. You can call this method to ensure that the menu can be expanded again. | NEXT_VERSION | +| deriveResponsiveState | `() => void` | Recalculate the collapsed state of the responsive menu content. When the width of the menu container is not solely determined by the external width, in the `responsive` mode, the menu content cannot automatically expand after being collapsed. You can call this method to ensure that the menu can be expanded again. | 2.36.0 | | showOption | `(key: string \| number) => void` | Expand menu to show option with specified `key`. If `key` is not specified, selected option will be displayed. | 2.27.0 | diff --git a/src/menu/demos/zhCN/index.demo-entry.md b/src/menu/demos/zhCN/index.demo-entry.md index f774ea9265c..34ca267edf3 100644 --- a/src/menu/demos/zhCN/index.demo-entry.md +++ b/src/menu/demos/zhCN/index.demo-entry.md @@ -54,7 +54,7 @@ show-debug.vue | render-extra | `(option: MenuOption \| MenuGroupOption) => VNodeChild` | `undefined` | 批量处理菜单额外部分渲染 | | | render-icon | `(option: MenuOption) => VNodeChild` | `undefined` | 批量处理菜单图标渲染 | | | render-label | `(option: MenuOption \| MenuGroupOption) => VNodeChild` | `undefined` | 批量处理菜单标签渲染 | | -| responsive | `boolean` | `false` | 是否收起溢出的菜单,仅对 `mode='horizontal'` 的菜单生效 | NEXT_VERSION | +| responsive | `boolean` | `false` | 是否收起溢出的菜单,仅对 `mode='horizontal'` 的菜单生效 | 2.36.0 | | root-indent | `number` | `32` | 菜单第一级的缩进,如果没有设定,使用 `indent` 代替 | | | value | `string \| null` | `undefined` | 菜单当前的选中值 | | | watch-props | `Array<'defaultValue' \| 'defaultExpandedKeys'>` | `undefined` | 需要检测变更的默认属性,检测后组件状态会更新。注意:`watch-props` 本身不是响应式的 | | @@ -96,5 +96,5 @@ show-debug.vue | 名称 | 类型 | 说明 | 版本 | | --- | --- | --- | --- | -| deriveResponsiveState | `() => void` | 重新计算响应式菜单内容折叠状态。在菜单容器宽度并不完全由外部宽度决定的时候,在 `responsive` 情况下,菜单内容收起后无法自动展开,此时你可以调用此方法以保证菜单可以重新展开 | NEXT_VERSION | +| deriveResponsiveState | `() => void` | 重新计算响应式菜单内容折叠状态。在菜单容器宽度并不完全由外部宽度决定的时候,在 `responsive` 情况下,菜单内容收起后无法自动展开,此时你可以调用此方法以保证菜单可以重新展开 | 2.36.0 | | showOption | `(key?: string \| number) => void` | 展开菜单,确保设定的元素被显示,如果不传入 `key` 会展示当前选中元素 | 2.27.0 | diff --git a/src/message/demos/enUS/index.demo-entry.md b/src/message/demos/enUS/index.demo-entry.md index 4d275942d6f..bdbbef82398 100644 --- a/src/message/demos/enUS/index.demo-entry.md +++ b/src/message/demos/enUS/index.demo-entry.md @@ -59,7 +59,7 @@ no-icon.vue | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | | closable | `boolean` | `false` | Whether to show close icon on all messages. | | -| container-class | `string` | `undefined` | Message container class. | NEXT_VERSION | +| container-class | `string` | `undefined` | Message container class. | 2.36.0 | | container-style | `string \| CSSProperties` | `undefined` | Message container style. | | | duration | `number` | `3000` | Default duration of on all messages. | | | keep-alive-on-hover | `boolean` | `false` | Whether to destroy while hovering on all messages. | | diff --git a/src/message/demos/zhCN/index.demo-entry.md b/src/message/demos/zhCN/index.demo-entry.md index c45330965b5..50ee1ace36b 100644 --- a/src/message/demos/zhCN/index.demo-entry.md +++ b/src/message/demos/zhCN/index.demo-entry.md @@ -60,7 +60,7 @@ rtl-debug.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | | closable | `boolean` | `false` | 所有 Message 是否显示 close 图标 | | -| container-class | `string` | `undefined` | Message 容器的类名 | NEXT_VERSION | +| container-class | `string` | `undefined` | Message 容器的类名 | 2.36.0 | | container-style | `string \| CSSProperties` | `undefined` | Message 容器的样式 | | | duration | `number` | `3000` | 所有 Message 默认的持续时长 | | | keep-alive-on-hover | `boolean` | `false` | 所有 Message 在悬浮信息上时是否不销毁 | | diff --git a/src/notification/demos/enUS/index.demo-entry.md b/src/notification/demos/enUS/index.demo-entry.md index 1fdafc09bb7..824a5ba8a1e 100644 --- a/src/notification/demos/enUS/index.demo-entry.md +++ b/src/notification/demos/enUS/index.demo-entry.md @@ -58,7 +58,7 @@ placement.vue | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | -| container-class | `string` | `undefined` | Class of notification container. | NEXT_VERSION | +| container-class | `string` | `undefined` | Class of notification container. | 2.36.0 | | container-style | `string \| Object` | `undefined` | Style of notification container. | 2.25.0 | | placement | `'top' \| 'bottom' \|'top-right' \| 'top-left' \| 'bottom-left' \| 'bottom-right'` | `'top-right'` | Placement of all notifications. | `'top' \| 'bottom'` 2.29.0 | | max | `number` | `undefined` | Limit the number of notifications to display. | | diff --git a/src/notification/demos/zhCN/index.demo-entry.md b/src/notification/demos/zhCN/index.demo-entry.md index 7ad69295b1c..98042b257f0 100644 --- a/src/notification/demos/zhCN/index.demo-entry.md +++ b/src/notification/demos/zhCN/index.demo-entry.md @@ -59,7 +59,7 @@ rtl-debug.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | -| container-class | `string` | `undefined` | 容器的类名 | NEXT_VERSION | +| container-class | `string` | `undefined` | 容器的类名 | 2.36.0 | | container-style | `string \| Object` | `undefined` | 容器的样式 | 2.25.0 | | max | `number` | `undefined` | 限制通知框显示的个数 | | | placement | `'top' \| 'bottom' \| 'top-right' \| 'top-left' \| 'bottom-left' \| 'bottom-right'` | `top-right` | 所有通知框显示的位置 | `'top' \| 'bottom'` 2.29.0 | diff --git a/src/popover/demos/enUS/index.demo-entry.md b/src/popover/demos/enUS/index.demo-entry.md index f94c8a89f7c..32462440a25 100644 --- a/src/popover/demos/enUS/index.demo-entry.md +++ b/src/popover/demos/enUS/index.demo-entry.md @@ -28,20 +28,20 @@ slots.vue | --- | --- | --- | --- | --- | | animated | `boolean` | `true` | Use animation when popping up. | | | arrow-point-to-center | `boolean` | `false` | Whether the arrow points to center of the trigger element. | 2.26.0 | -| arrow-class | `string` | `undefined` | Arrow class of the popover. | NEXT_VERSION | +| arrow-class | `string` | `undefined` | Arrow class of the popover. | 2.36.0 | | arrow-style | `string \| Object` | `undefined` | Arrow style of the popover. | | -| arrow-wrapper-class | `string` | `undefined` | Arrow class of the popover wrapper. | NEXT_VERSION | -| arrow-wrapper-style | `string \| Object` | `undefined` | Arrow style of the popover wrapper. | NEXT_VERSION | -| content-class | `string` | `undefined` | Content class of the popover. | NEXT_VERSION | +| arrow-wrapper-class | `string` | `undefined` | Arrow class of the popover wrapper. | 2.36.0 | +| arrow-wrapper-style | `string \| Object` | `undefined` | Arrow style of the popover wrapper. | 2.36.0 | +| content-class | `string` | `undefined` | Content class of the popover. | 2.36.0 | | content-style | `string \| Object` | `undefined` | Content style of the popover. | 2.28.3 | | delay | `number` | `100` | Popover showing delay when trigger is `hover`. | | | disabled | `boolean` | `false` | Whether the popover can't be activated. | | | display-directive | `'if' \| 'show'` | `'if'` | The conditionally render directive to show popover content. `if` means using `v-if` to render content, `show` means using `v-show` to render content. | | | duration | `number` | `100` | Popover vanish delay when trigger is `hover`. | | | flip | `boolean` | `true` | Whether to flip the popover when there is no space for current placement. | | -| footer-class | `string` | `undefined` | Footer class of the popover. | NEXT_VERSION | +| footer-class | `string` | `undefined` | Footer class of the popover. | 2.36.0 | | footer-style | `string \| Object` | `undefined` | Footer style of the popover. | 2.31.0 | -| header-class | `string` | `undefined` | Header class of the popover. | NEXT_VERSION | +| header-class | `string` | `undefined` | Header class of the popover. | 2.36.0 | | header-style | `string \| Object` | `undefined` | Header style of the popover. | 2.28.3 | | keep-alive-on-hover | `boolean` | `true` | Whether to keep popover shown when hover on popover itself with `trigger="hover"`. | 2.25.0 | | overlap | `boolean` | `false` | Overlap trigger element. | | diff --git a/src/popover/demos/zhCN/index.demo-entry.md b/src/popover/demos/zhCN/index.demo-entry.md index 785fd07e8bd..72e7696aeb6 100644 --- a/src/popover/demos/zhCN/index.demo-entry.md +++ b/src/popover/demos/zhCN/index.demo-entry.md @@ -34,21 +34,21 @@ center-arrow-debug.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | | animated | `boolean` | `true` | 弹出弹窗时使用动画 | | -| arrow-class | `string` | `undefined` | popover 的箭头类名 | NEXT_VERSION | +| arrow-class | `string` | `undefined` | popover 的箭头类名 | 2.36.0 | | arrow-style | `Object` | `undefined` | popover 的箭头样式 | | -| arrow-wrapper-class | `string` | `undefined` | popover 的容器类名 | NEXT_VERSION | -| arrow-wrapper-style | `Object` | `undefined` | popover 的容器样式 | NEXT_VERSION | +| arrow-wrapper-class | `string` | `undefined` | popover 的容器类名 | 2.36.0 | +| arrow-wrapper-style | `Object` | `undefined` | popover 的容器样式 | 2.36.0 | | arrow-point-to-center | `boolean` | `false` | 箭头是否指向触发元素中心 | 2.26.0 | -| content-class | `string` | `undefined` | popover 内容的类名 | NEXT_VERSION | +| content-class | `string` | `undefined` | popover 内容的类名 | 2.36.0 | | content-style | `string \| Object` | `undefined` | popover 内容的样式 | 2.28.3 | | delay | `number` | `100` | 悬浮触发弹出信息的延迟 | | | disabled | `boolean` | `false` | 是否不能激活弹出信息 | | | display-directive | `'if' \| 'show'` | `'if'` | 条件渲染使用的指令,`if` 会让内容被使用 `v-if` 渲染,`show` 会让内容被使用 `v-show` 渲染 | | | duration | `number` | `100` | 悬浮关闭弹出信息的延迟 | | | flip | `boolean` | `true` | 是否在当前放置方式不能提供足够空间的时候调整弹出信息的位置 | | -| footer-class | `string` | `undefined` | popover footer 的类名 | NEXT_VERSION | +| footer-class | `string` | `undefined` | popover footer 的类名 | 2.36.0 | | footer-style | `string \| Object` | `undefined` | popover footer 的样式 | 2.31.0 | -| header-class | `string` | `undefined` | popover header 的类名 | NEXT_VERSION | +| header-class | `string` | `undefined` | popover header 的类名 | 2.36.0 | | header-style | `string \| Object` | `undefined` | popover header 的样式 | 2.28.3 | | keep-alive-on-hover | `boolean` | `true` | 是否在 trigger 为 hover 的时候,悬浮在 popover 时保持 popover 显示 | 2.25.0 | | overlap | `boolean` | `false` | 覆盖触发元素 | | diff --git a/src/popselect/demos/enUS/index.demo-entry.md b/src/popselect/demos/enUS/index.demo-entry.md index 7883a2070cf..151d692bec6 100644 --- a/src/popselect/demos/enUS/index.demo-entry.md +++ b/src/popselect/demos/enUS/index.demo-entry.md @@ -34,8 +34,8 @@ For other props, see [Popover](popover#Popover-Props) ### Popselect Slots -| Name | Parameters | Description | Version | -| ------ | ---------- | -------------------------------------- | ------------ | -| header | `()` | Header menu slot. | NEXT_VERSION | -| action | `()` | Options menu slot. | 2.22.0 | -| empty | `()` | Empty state slot for the options menu. | 2.22.0 | +| Name | Parameters | Description | Version | +| ------ | ---------- | -------------------------------------- | ------- | +| header | `()` | Header menu slot. | 2.36.0 | +| action | `()` | Options menu slot. | 2.22.0 | +| empty | `()` | Empty state slot for the options menu. | 2.22.0 | diff --git a/src/popselect/demos/zhCN/index.demo-entry.md b/src/popselect/demos/zhCN/index.demo-entry.md index a1064f38f8d..25b91a9535d 100644 --- a/src/popselect/demos/zhCN/index.demo-entry.md +++ b/src/popselect/demos/zhCN/index.demo-entry.md @@ -34,8 +34,8 @@ slot.vue ### Popselect Slots -| 名称 | 参数 | 说明 | 版本 | -| ------ | ---- | ------------------- | ------------ | -| header | `()` | 菜单头部区域的 slot | NEXT_VERSION | -| action | `()` | 菜单操作区域的 slot | 2.22.0 | -| empty | `()` | 菜单无数据时的 slot | 2.22.0 | +| 名称 | 参数 | 说明 | 版本 | +| ------ | ---- | ------------------- | ------ | +| header | `()` | 菜单头部区域的 slot | 2.36.0 | +| action | `()` | 菜单操作区域的 slot | 2.22.0 | +| empty | `()` | 菜单无数据时的 slot | 2.22.0 | diff --git a/src/qr-code/demos/enUS/index.demo-entry.md b/src/qr-code/demos/enUS/index.demo-entry.md index 9110e4e66c2..4f16b782628 100644 --- a/src/qr-code/demos/enUS/index.demo-entry.md +++ b/src/qr-code/demos/enUS/index.demo-entry.md @@ -19,16 +19,16 @@ download.vue | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | -| background-color | `string` | `'#FFF'` | QR code background color, Values need to be in `hex` format. | NEXT_VERSION | -| color | `string` | `'#000'` | QR code color, Values need to be in `hex` format. | NEXT_VERSION | -| error-correction-level | `'L'` \| `'M'` \| `'Q'` \| `'H'` | `'M'` | QR code error correction level. | NEXT_VERSION | -| icon-border-radius | `number` | `4` | Icon background's border-radius | NEXT_VERSION | -| icon-background-color | `string` | `'#FFF'` | Icon's background color. | NEXT_VERSION | -| icon-size | `number` | `40` | Icon's size. | NEXT_VERSION | -| icon-src | `string` | `undefined` | Icon's URL. | NEXT_VERSION | -| padding | `number \| string` | `12` | Padding size of the QR Code. | NEXT_VERSION | -| value | `string` | `''` | Text information. | NEXT_VERSION | -| size | `number` | `100` | Size of the qrcode. | NEXT_VERSION | +| background-color | `string` | `'#FFF'` | QR code background color, Values need to be in `hex` format. | 2.36.0 | +| color | `string` | `'#000'` | QR code color, Values need to be in `hex` format. | 2.36.0 | +| error-correction-level | `'L'` \| `'M'` \| `'Q'` \| `'H'` | `'M'` | QR code error correction level. | 2.36.0 | +| icon-border-radius | `number` | `4` | Icon background's border-radius | 2.36.0 | +| icon-background-color | `string` | `'#FFF'` | Icon's background color. | 2.36.0 | +| icon-size | `number` | `40` | Icon's size. | 2.36.0 | +| icon-src | `string` | `undefined` | Icon's URL. | 2.36.0 | +| padding | `number \| string` | `12` | Padding size of the QR Code. | 2.36.0 | +| value | `string` | `''` | Text information. | 2.36.0 | +| size | `number` | `100` | Size of the qrcode. | 2.36.0 | ### About QR code error correction level diff --git a/src/qr-code/demos/zhCN/index.demo-entry.md b/src/qr-code/demos/zhCN/index.demo-entry.md index 6386fd513e0..c33c4f899bc 100644 --- a/src/qr-code/demos/zhCN/index.demo-entry.md +++ b/src/qr-code/demos/zhCN/index.demo-entry.md @@ -19,16 +19,16 @@ download.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | -| background-color | `string` | `'#FFF'` | 二维码背景颜色,值需要采用 `hex` 格式 | NEXT_VERSION | -| color | `string` | `'#000'` | 二维码颜色,值需要采用 `hex` 格式 | NEXT_VERSION | -| error-correction-level | `'L'` \| `'M'` \| `'Q'` \| `'H'` | `'M'` | 二维码纠错级别 | NEXT_VERSION | -| icon-background-color | `string` | `'#FFF'` | 图标背景颜色 | NEXT_VERSION | -| icon-border-radius | `number` | `4` | 图标背景圆角大小 | NEXT_VERSION | -| icon-size | `number` | `40` | 图标大小 | NEXT_VERSION | -| icon-src | `string` | `undefined` | 图标地址 | NEXT_VERSION | -| padding | `number \| string` | `12` | 二维码填充大小 | NEXT_VERSION | -| value | `string` | `''` | 文本信息 | NEXT_VERSION | -| size | `number` | `100` | 二维码大小 | NEXT_VERSION | +| background-color | `string` | `'#FFF'` | 二维码背景颜色,值需要采用 `hex` 格式 | 2.36.0 | +| color | `string` | `'#000'` | 二维码颜色,值需要采用 `hex` 格式 | 2.36.0 | +| error-correction-level | `'L'` \| `'M'` \| `'Q'` \| `'H'` | `'M'` | 二维码纠错级别 | 2.36.0 | +| icon-background-color | `string` | `'#FFF'` | 图标背景颜色 | 2.36.0 | +| icon-border-radius | `number` | `4` | 图标背景圆角大小 | 2.36.0 | +| icon-size | `number` | `40` | 图标大小 | 2.36.0 | +| icon-src | `string` | `undefined` | 图标地址 | 2.36.0 | +| padding | `number \| string` | `12` | 二维码填充大小 | 2.36.0 | +| value | `string` | `''` | 文本信息 | 2.36.0 | +| size | `number` | `100` | 二维码大小 | 2.36.0 | ### 关于二维码纠错级别 diff --git a/src/slider/demos/enUS/index.demo-entry.md b/src/slider/demos/enUS/index.demo-entry.md index 873cc5460ab..5765dc5155d 100644 --- a/src/slider/demos/enUS/index.demo-entry.md +++ b/src/slider/demos/enUS/index.demo-entry.md @@ -41,8 +41,8 @@ custom-thumb.vue | vertical | `boolean` | `false` | Whether to enable vertical mode. | | | value | `number \| [number, number] \| null` | `undefined` | Value of the slider. | | | on-update:value | `(value: number \| [number, number]) => void` | `undefined` | Callback on value update. | | -| on-dragstart | `() => void` | `undefined` | Callback function of dragging start. | NEXT_VERSION | -| on-dragend | `() => void` | `undefined` | Callback function of dragging end. | NEXT_VERSION | +| on-dragstart | `() => void` | `undefined` | Callback function of dragging start. | 2.36.0 | +| on-dragend | `() => void` | `undefined` | Callback function of dragging end. | 2.36.0 | ### Slider Slots diff --git a/src/slider/demos/zhCN/index.demo-entry.md b/src/slider/demos/zhCN/index.demo-entry.md index a63ed8ab3ac..5e5562b3b15 100644 --- a/src/slider/demos/zhCN/index.demo-entry.md +++ b/src/slider/demos/zhCN/index.demo-entry.md @@ -42,8 +42,8 @@ keyboard-debug.vue | vertical | `boolean` | `false` | 是否启用垂直模式 | | | value | `number \| [number, number] \| null` | `undefined` | 值 | | | on-update:value | `(value: number \| [number, number]) => void` | `undefined` | 值更新的回调 | | -| on-dragstart | `() => void` | `undefined` | 开始拖拽的回调函数 | NEXT_VERSION | -| on-dragend | `() => void` | `undefined` | 拖拽结束的回调函数 | NEXT_VERSION | +| on-dragstart | `() => void` | `undefined` | 开始拖拽的回调函数 | 2.36.0 | +| on-dragend | `() => void` | `undefined` | 拖拽结束的回调函数 | 2.36.0 | ### Slider Slots diff --git a/src/space/demos/enUS/index.demo-entry.md b/src/space/demos/enUS/index.demo-entry.md index 645b1d2df18..6b7cb21d834 100644 --- a/src/space/demos/enUS/index.demo-entry.md +++ b/src/space/demos/enUS/index.demo-entry.md @@ -22,7 +22,7 @@ center.vue | align | `'start' \| 'end' \| 'center' \| 'baseline' \| 'stretch'` | `undefined` | Vertical arrangement. | | | inline | `boolean` | `false` | Is it an inline element. | | | wrap-item | `boolean` | `true` | Whether a container exists to wrap the child elements. `false` value will only work in browsers that supports flex gap. | 2.30.5 | -| item-class | `string` | `undefined` | Node class, valid when `wrap-item` is `true` | NEXT_VERSION | +| item-class | `string` | `undefined` | Node class, valid when `wrap-item` is `true` | 2.36.0 | | item-style | `string \| object` | `undefined` | Node style, valid when `wrap-item` is `true` | | | justify | `'start' \| 'end' \| 'center' \| 'space-around' \| 'space-between' \| 'space-evenly'` | `'start'` | Horizontal arrangement. | `'space-evenly'` 2.28.3 | | size | `'small' \| 'medium' \| 'large' \| number \| [number, number]` | `'medium'` | When it's a number, it will be used as vertical and horizontal gap, or it is `[horizontalGap, verticalGap]`. | | diff --git a/src/space/demos/zhCN/index.demo-entry.md b/src/space/demos/zhCN/index.demo-entry.md index 4858d7df86b..74c4e3cb967 100644 --- a/src/space/demos/zhCN/index.demo-entry.md +++ b/src/space/demos/zhCN/index.demo-entry.md @@ -24,7 +24,7 @@ rtl-debug.vue | align | `'start' \| 'end' \| 'center' \| 'baseline' \| 'stretch'` | `undefined` | 垂直排列方式 | | | inline | `boolean` | `false` | 是否为行内元素 | | | wrap-item | `boolean` | `true` | 是否存在包裹子元素的容器,`false` 值只会对支持 flex gap 的浏览器生效 | 2.30.5 | -| item-class | `string` | `undefined` | 节点类名,当 `wrap-item` 为 `true` 时有效 | NEXT_VERSION | +| item-class | `string` | `undefined` | 节点类名,当 `wrap-item` 为 `true` 时有效 | 2.36.0 | | item-style | `string \| object` | `undefined` | 节点样式,当 `wrap-item` 为 `true` 时有效 | | | justify | `'start' \| 'end' \| 'center' \| 'space-around' \| 'space-between' \| 'space-evenly'` | `'start'` | 水平排列方式 | `'space-evenly'` 2.28.3 | | size | `'small' \| 'medium' \| 'large' \| number \| [number, number]` | `'medium'` | 为数字时,是水平和垂直间距;为数组时,是 [水平间距, 垂直间距] | | diff --git a/src/spin/demos/enUS/index.demo-entry.md b/src/spin/demos/enUS/index.demo-entry.md index 377c7833888..7f71f055156 100644 --- a/src/spin/demos/enUS/index.demo-entry.md +++ b/src/spin/demos/enUS/index.demo-entry.md @@ -18,8 +18,8 @@ delay.vue | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | -| content-class | `string` | `undefined` | Content Class of the spin. | NEXT_VERSION | -| content-style | `string \| Object` | `undefined` | Content style of the spin. | NEXT_VERSION | +| content-class | `string` | `undefined` | Content Class of the spin. | 2.36.0 | +| content-style | `string \| Object` | `undefined` | Content style of the spin. | 2.36.0 | | description | `string` | `undefined` | Description of the spin. | | rotate | `boolean` | `true` | Specify whether icon rotates, only working for custom icon. | | size | `'small' \| 'medium' \| 'large' \| number` | `'medium'` | Size of the spin. | diff --git a/src/spin/demos/zhCN/index.demo-entry.md b/src/spin/demos/zhCN/index.demo-entry.md index 8f4ea6d1b9f..0898b106c81 100644 --- a/src/spin/demos/zhCN/index.demo-entry.md +++ b/src/spin/demos/zhCN/index.demo-entry.md @@ -18,8 +18,8 @@ delay.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | -| content-class | `string` | `undefined` | Spin 内容的类名 | NEXT_VERSION | -| content-style | `string \| Object` | `undefined` | Spin 内容的样式 | NEXT_VERSION | +| content-class | `string` | `undefined` | Spin 内容的类名 | 2.36.0 | +| content-style | `string \| Object` | `undefined` | Spin 内容的样式 | 2.36.0 | | description | `string` | `undefined` | Spin 的文字信息 | | rotate | `boolean` | `true` | 自定义的加载图标是否有旋转动画 | | size | `'small' \| 'medium' \| 'large' \| number` | `'medium'` | Spin 的尺寸 | diff --git a/src/split/demos/enUS/index.demo-entry.md b/src/split/demos/enUS/index.demo-entry.md index 103e9e8058e..9299ac5ad62 100644 --- a/src/split/demos/enUS/index.demo-entry.md +++ b/src/split/demos/enUS/index.demo-entry.md @@ -18,17 +18,17 @@ slot.vue | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | -| default-size | `number` | `0.5` | Default split size, 0-1 is a percentage. | NEXT_VERSION | -| disabled | `boolean` | `false` | Whether to disable the split. | NEXT_VERSION | -| direction | `'horizontal' \| 'vertical'` | `'horizontal'` | The direction of the split. | NEXT_VERSION | -| min | `number` | `0` | The minimum threshold for splitting, 0-1 is a percentage. | NEXT_VERSION | -| max | `number` | `1` | The maximum split threshold, 0-1 is a percentage. | NEXT_VERSION | -| resize-trigger-size | `number` | `3` | Size of the resize trigger. | NEXT_VERSION | +| default-size | `number` | `0.5` | Default split size, 0-1 is a percentage. | 2.36.0 | +| disabled | `boolean` | `false` | Whether to disable the split. | 2.36.0 | +| direction | `'horizontal' \| 'vertical'` | `'horizontal'` | The direction of the split. | 2.36.0 | +| min | `number` | `0` | The minimum threshold for splitting, 0-1 is a percentage. | 2.36.0 | +| max | `number` | `1` | The maximum split threshold, 0-1 is a percentage. | 2.36.0 | +| resize-trigger-size | `number` | `3` | Size of the resize trigger. | 2.36.0 | ### Split Slots -| Name | Parameters | Description | Version | -| -------------- | ---------- | ------------------------- | ------------ | -| 1 | `()` | The first panel content. | NEXT_VERSION | -| 2 | `()` | The Second panel content. | NEXT_VERSION | -| resize-trigger | `()` | Split bar content. | NEXT_VERSION | +| Name | Parameters | Description | Version | +| -------------- | ---------- | ------------------------- | ------- | +| 1 | `()` | The first panel content. | 2.36.0 | +| 2 | `()` | The Second panel content. | 2.36.0 | +| resize-trigger | `()` | Split bar content. | 2.36.0 | diff --git a/src/split/demos/zhCN/index.demo-entry.md b/src/split/demos/zhCN/index.demo-entry.md index 1b03623d508..8cdfeef64ab 100644 --- a/src/split/demos/zhCN/index.demo-entry.md +++ b/src/split/demos/zhCN/index.demo-entry.md @@ -18,17 +18,17 @@ slot.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | -| default-size | `number` | `0.5` | Split 的默认分割大小,0-1 代表百分比 | NEXT_VERSION | -| disabled | `boolean` | `false` | 是否禁用 | NEXT_VERSION | -| direction | `'horizontal' \| 'vertical'` | `'horizontal'` | Split 的分割方向 | NEXT_VERSION | -| min | `number` | `0` | Split 的分割最小阈值,0-1 代表百分比 | NEXT_VERSION | -| max | `number` | `1` | Split 的分割最大阈值,0-1 代表百分比 | NEXT_VERSION | -| resize-trigger-size | `number` | `3` | Split 的分隔条大小 | NEXT_VERSION | +| default-size | `number` | `0.5` | Split 的默认分割大小,0-1 代表百分比 | 2.36.0 | +| disabled | `boolean` | `false` | 是否禁用 | 2.36.0 | +| direction | `'horizontal' \| 'vertical'` | `'horizontal'` | Split 的分割方向 | 2.36.0 | +| min | `number` | `0` | Split 的分割最小阈值,0-1 代表百分比 | 2.36.0 | +| max | `number` | `1` | Split 的分割最大阈值,0-1 代表百分比 | 2.36.0 | +| resize-trigger-size | `number` | `3` | Split 的分隔条大小 | 2.36.0 | ### Split Slots -| 名称 | 参数 | 说明 | 版本 | -| -------------- | ---- | -------------- | ------------ | -| 1 | `()` | 第一个面板内容 | NEXT_VERSION | -| 2 | `()` | 第二个面板内容 | NEXT_VERSION | -| resize-trigger | `()` | 分割条内容 | NEXT_VERSION | +| 名称 | 参数 | 说明 | 版本 | +| -------------- | ---- | -------------- | ------ | +| 1 | `()` | 第一个面板内容 | 2.36.0 | +| 2 | `()` | 第二个面板内容 | 2.36.0 | +| resize-trigger | `()` | 分割条内容 | 2.36.0 | diff --git a/src/thing/demos/enUS/index.demo-entry.md b/src/thing/demos/enUS/index.demo-entry.md index cbf207a52b5..88ab84b55d6 100644 --- a/src/thing/demos/enUS/index.demo-entry.md +++ b/src/thing/demos/enUS/index.demo-entry.md @@ -19,10 +19,10 @@ indent.vue | --- | --- | --- | --- | --- | | content-indented | `boolean` | `false` | Whether to enable content indentation. | | content | `string` | `undefined` | Content area. | -| content-class | `string` | `undefined` | Content area class. | NEXT_VERSION | +| content-class | `string` | `undefined` | Content area class. | 2.36.0 | | content-style | `string \| Object` | `undefined` | Content area style. | 2.32.2 | | description | `string` | `undefined` | Description information. | -| description-class | `string` | `undefined` | Description area class. | NEXT_VERSION | +| description-class | `string` | `undefined` | Description area class. | 2.36.0 | | description-style | `string \| Object` | `undefined` | Description area style. | 2.32.2 | | title-extra | `string` | `undefined` | Additional information for the title. | | title | `string` | `undefined` | Title information. | diff --git a/src/thing/demos/zhCN/index.demo-entry.md b/src/thing/demos/zhCN/index.demo-entry.md index 392f57215c8..bb81536cc46 100644 --- a/src/thing/demos/zhCN/index.demo-entry.md +++ b/src/thing/demos/zhCN/index.demo-entry.md @@ -20,10 +20,10 @@ rtl-debug.vue | --- | --- | --- | --- | --- | | content-indented | `boolean` | `false` | 是否启用内容缩进 | | | content | `string` | `undefined` | 内容区域 | | -| content-class | `string` | `undefined` | 内容区域类名 | NEXT_VERSION | +| content-class | `string` | `undefined` | 内容区域类名 | 2.36.0 | | content-style | `string \| Object` | `undefined` | 内容区域样式 | 2.32.2 | | description | `string` | `undefined` | 描述信息 | | -| description-class | `string` | `undefined` | 描述信息区域类名 | NEXT_VERSION | +| description-class | `string` | `undefined` | 描述信息区域类名 | 2.36.0 | | description-style | `string \| Object` | `undefined` | 描述信息区域样式 | 2.32.2 | | title-extra | `string` | `undefined` | 标题的附加信息 | | | title | `string` | `undefined` | 标题 | | diff --git a/src/tree-select/demos/enUS/index.demo-entry.md b/src/tree-select/demos/enUS/index.demo-entry.md index 523e1c57328..4a03e02db70 100644 --- a/src/tree-select/demos/enUS/index.demo-entry.md +++ b/src/tree-select/demos/enUS/index.demo-entry.md @@ -62,7 +62,7 @@ debug.vue | to | `string \| HTMLElement \| false` | `body` | Container node of the menu. `false` will keep it not detached. | | | value | `string \| number \| Array \| null>` | `undefined` | Selected key (or keys when multiple). | | | virtual-scroll | `boolean` | `true` | Whether to enable virtual scrolling. | | -| watch-props | `Array<'defaultCheckedKeys' \| 'defaultSelectedKeys' \|'defaultExpandedKeys'>` | `undefined` | Default prop names that needed to be watched. Components will be updated after the prop is changed. Note: the `watch-props` itself is not reactive. | NEXT_VERSION | +| watch-props | `Array<'defaultCheckedKeys' \| 'defaultSelectedKeys' \|'defaultExpandedKeys'>` | `undefined` | Default prop names that needed to be watched. Components will be updated after the prop is changed. Note: the `watch-props` itself is not reactive. | 2.36.0 | | on-blur | `(e: FocusEvent) => void` | `undefined` | Callback on blur. | | | on-focus | `(e: FocusEvent) => void` | `undefined` | Callback on focus. | | | on-load | `(node: TreeSelectOption) => Promise` | `undefined` | Callback function for asynchronously loading data. | 2.27.0 | diff --git a/src/tree-select/demos/zhCN/index.demo-entry.md b/src/tree-select/demos/zhCN/index.demo-entry.md index b9b34c16806..8900027c944 100644 --- a/src/tree-select/demos/zhCN/index.demo-entry.md +++ b/src/tree-select/demos/zhCN/index.demo-entry.md @@ -65,7 +65,7 @@ render-debug.vue | to | `string \| HTMLElement \| false` | `body` | 菜单的容器节点,`false` 会待在原地 | | | value | `string \| number \| Array \| null>` | `undefined` | 选中的 key | | | virtual-scroll | `boolean` | `true` | 是否开启虚拟滚动 | | -| watch-props | `Array<'defaultCheckedKeys' \| 'defaultSelectedKeys' \|'defaultExpandedKeys'>` | `undefined` | 需要检测变更的默认属性,检测后组件状态会更新。注意:`watch-props` 本身不是响应式的 | NEXT_VERSION | +| watch-props | `Array<'defaultCheckedKeys' \| 'defaultSelectedKeys' \|'defaultExpandedKeys'>` | `undefined` | 需要检测变更的默认属性,检测后组件状态会更新。注意:`watch-props` 本身不是响应式的 | 2.36.0 | | on-blur | `(e: FocusEvent) => void` | `undefined` | Blur 时的回调 | | | on-focus | `(e: FocusEvent) => void` | `undefined` | Focus 时的回调 | | | on-load | `(node: TreeSelectOption) => Promise` | `undefined` | 异步加载数据的回调函数 | 2.27.0 | diff --git a/src/upload/demos/enUS/index.demo-entry.md b/src/upload/demos/enUS/index.demo-entry.md index 7c44ffb5dd6..ccbe1ad2d6d 100644 --- a/src/upload/demos/enUS/index.demo-entry.md +++ b/src/upload/demos/enUS/index.demo-entry.md @@ -36,7 +36,7 @@ download.vue | directory | `boolean` | `false` | Whether to allow directory upload. (In open file dialog only directory can be selected) | 2.28.3 | | directory-dnd | `boolean` | `false` | Whether to allow directory drag and drop. (If it's not set, it will follow `directory` prop by default.) | 2.28.3 | | disabled | `boolean` | `false` | Whether to disable the upload. | | -| file-list-class | `string` | `undefined` | The class of file list area | NEXT_VERSION | +| file-list-class | `string` | `undefined` | The class of file list area | 2.36.0 | | file-list-style | `Object` | `undefined` | The style of file list area | | | file-list | `Array` | `undefined` | The file list of component. If set, the component will work in controlled manner. | | | headers | `Object \| ({ file: UploadFileInfo }) => Object` | `undefined` | The additional HTTP Headers of request. | | @@ -58,7 +58,7 @@ download.vue | show-remove-button | `boolean` | `true` | Show a remove button (after upload completed). Use the `on-remove` callback for this event. | | | show-retry-button | `boolean` | `true` | Show a retry button (for a failed upload). | | | show-trigger | `boolean` | `true` | Show upload trigger. | 2.21.5 | -| trigger-class | `string` | `undefined` | Class of trigger area. | NEXT_VERSION | +| trigger-class | `string` | `undefined` | Class of trigger area. | 2.36.0 | | trigger-style | `Object \| string` | `undefined` | Style of trigger area. | 2.29.1 | | with-credentials | `boolean` | `false` | Any credentials to be sent with the request (e.g. cookie). | | | on-change | `(options: { file: UploadFileInfo, fileList: Array, event?: Event }) => void` | `() => {}` | Uploaded file(s) status change callback. | | diff --git a/src/upload/demos/zhCN/index.demo-entry.md b/src/upload/demos/zhCN/index.demo-entry.md index efbdfbcb695..ead3d5e9080 100644 --- a/src/upload/demos/zhCN/index.demo-entry.md +++ b/src/upload/demos/zhCN/index.demo-entry.md @@ -37,7 +37,7 @@ debug.vue | disabled | `boolean` | `false` | 是否禁用 | | | directory | `boolean` | `false` | 是否支持目录上传(在文件选框中只能选择目录) | 2.28.3 | | directory-dnd | `boolean` | `false` | 是否支持目录拖拽上传(如果不设定会默认跟随 `directory`) | 2.28.3 | -| file-list-class | `string` | `undefined` | 文件列表区域的类名 | NEXT_VERSION | +| file-list-class | `string` | `undefined` | 文件列表区域的类名 | 2.36.0 | | file-list-style | `Object` | `undefined` | 文件列表区域的样式 | | | file-list | `Array` | `undefined` | 文件列表,如果传入组件会处于受控状态 | | | headers | `Object \| ({ file: UploadFileInfo }) => Object` | `undefined` | HTTP 请求需要附加的 Headers | | @@ -59,7 +59,7 @@ debug.vue | show-file-list | `boolean` | `true` | 是否显示文件列表 | | | show-preview-button | `boolean` | `true` | 是否允许显示预览按钮(在 `list-type` 为 `image-card` 时生效) | | | show-trigger | `boolean` | `true` | 是否显示触发元素 | 2.21.5 | -| trigger-class | `string` | `undefined` | 触发器区域的类名 | NEXT_VERSION | +| trigger-class | `string` | `undefined` | 触发器区域的类名 | 2.36.0 | | trigger-style | `Object \| string` | `undefined` | 触发器区域的样式 | 2.29.1 | | with-credentials | `boolean` | `false` | 是否携带 Cookie | | | keep-file-after-finish | `boolean` | `false` | 文件上传结束的回调中保留 File,不被置为 null | | diff --git a/src/version.ts b/src/version.ts index c0ea37d91f7..bae02d6f27f 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export default '2.35.0' +export default '2.36.0' diff --git a/src/virtual-list/demos/enUS/index.demo-entry.md b/src/virtual-list/demos/enUS/index.demo-entry.md index c5ca1ed0cf6..9e3d1598f9d 100644 --- a/src/virtual-list/demos/enUS/index.demo-entry.md +++ b/src/virtual-list/demos/enUS/index.demo-entry.md @@ -19,28 +19,28 @@ keep-alive.vue | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | -| default-scroll-key | `string \| number` | `undefined` | Default scroll key. | NEXT_VERSION | -| default-scroll-index | `number` | `undefined` | Default scroll index. | NEXT_VERSION | -| ignore-item-resize | `boolean` | `false` | Ignore item resize. It can make runtime slightly faster, although it's hard to feel. | NEXT_VERSION | -| items | `Array` | `[]` | Data to display. | NEXT_VERSION | -| item-resizable | `number` | `false` | Whether dynamic sizing is enabled, you don't have to care about the size of the item, it will be calculated automatically. | NEXT_VERSION | -| item-size | `number` | required | Displays the minimum height of the item in pixels to calculate scroll size and position. | NEXT_VERSION | -| items-style | `string \| CSSProperties` | `undefined` | Items container style. | NEXT_VERSION | -| key-field | `string` | `'key'` | Field name of option key. | NEXT_VERSION | -| padding-top | `string \| number` | `undefined` | Distance from the top. | NEXT_VERSION | -| padding-bottom | `string \| number` | `undefined` | Distance from the bottom. | NEXT_VERSION | -| scrollbar-props | `object` | `undefined` | Attribute reference [Scrollbar props](scrollbar#Scrollbar-Props). | NEXT_VERSION | -| visible-items-tag | `string` | `'div'` | Items container tag. | NEXT_VERSION | -| visible-items-props | `object` | `undefined` | Items container prop. | NEXT_VERSION | -| on-scroll | `(event: Event) => void` | `undefined` | Scrolling callback function. | NEXT_VERSION | -| on-wheel | `(event: WheelEvent) => void` | `undefined` | Callback function for the wheel event. | NEXT_VERSION | -| on-resize | `(event: ResizeObserverEntry) => void` | `undefined` | Element resizing callback function. | NEXT_VERSION | +| default-scroll-key | `string \| number` | `undefined` | Default scroll key. | 2.36.0 | +| default-scroll-index | `number` | `undefined` | Default scroll index. | 2.36.0 | +| ignore-item-resize | `boolean` | `false` | Ignore item resize. It can make runtime slightly faster, although it's hard to feel. | 2.36.0 | +| items | `Array` | `[]` | Data to display. | 2.36.0 | +| item-resizable | `number` | `false` | Whether dynamic sizing is enabled, you don't have to care about the size of the item, it will be calculated automatically. | 2.36.0 | +| item-size | `number` | required | Displays the minimum height of the item in pixels to calculate scroll size and position. | 2.36.0 | +| items-style | `string \| CSSProperties` | `undefined` | Items container style. | 2.36.0 | +| key-field | `string` | `'key'` | Field name of option key. | 2.36.0 | +| padding-top | `string \| number` | `undefined` | Distance from the top. | 2.36.0 | +| padding-bottom | `string \| number` | `undefined` | Distance from the bottom. | 2.36.0 | +| scrollbar-props | `object` | `undefined` | Attribute reference [Scrollbar props](scrollbar#Scrollbar-Props). | 2.36.0 | +| visible-items-tag | `string` | `'div'` | Items container tag. | 2.36.0 | +| visible-items-props | `object` | `undefined` | Items container prop. | 2.36.0 | +| on-scroll | `(event: Event) => void` | `undefined` | Scrolling callback function. | 2.36.0 | +| on-wheel | `(event: WheelEvent) => void` | `undefined` | Callback function for the wheel event. | 2.36.0 | +| on-resize | `(event: ResizeObserverEntry) => void` | `undefined` | Element resizing callback function. | 2.36.0 | ### Virtual List Methods -| Name | Type | Description | Version | -| -------- | ---------- | --------------------- | ------------ | -| scrollTo | `ScrollTo` | Scroll to a position. | NEXT_VERSION | +| Name | Type | Description | Version | +| -------- | ---------- | --------------------- | ------- | +| scrollTo | `ScrollTo` | Scroll to a position. | 2.36.0 | #### ScrollTo Type diff --git a/src/virtual-list/demos/zhCN/index.demo-entry.md b/src/virtual-list/demos/zhCN/index.demo-entry.md index 60522c1b966..3073417203d 100644 --- a/src/virtual-list/demos/zhCN/index.demo-entry.md +++ b/src/virtual-list/demos/zhCN/index.demo-entry.md @@ -19,28 +19,28 @@ keep-alive.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | -| default-scroll-key | `string \| number` | `undefined` | 默认滚动的 Key | NEXT_VERSION | -| default-scroll-index | `number` | `undefined` | 默认滚动的 Index | NEXT_VERSION | -| ignore-item-resize | `boolean` | `false` | 忽略内容尺寸变化,可以让运行快一些(尽管应该很难感受到) | NEXT_VERSION | -| items | `Array` | `[]` | 需要展示的数据 | NEXT_VERSION | -| item-resizable | `number` | `false` | 是否启用动态尺寸,你不必关心项目大小,它会自动计算 | NEXT_VERSION | -| item-size | `number` | required | 以像素为单位显示项目的最小高度,用于计算滚动大小和位置 | NEXT_VERSION | -| items-style | `string \| CSSProperties` | `undefined` | 全部内容的容器样式 | NEXT_VERSION | -| key-field | `string` | `'key'` | 选项 key 的字段名 | NEXT_VERSION | -| padding-top | `string \| number` | `undefined` | 距离上部的距离 | NEXT_VERSION | -| padding-bottom | `string \| number` | `undefined` | 距离底部的距离 | NEXT_VERSION | -| scrollbar-props | `ScrollbarProps` | `undefined` | 属性参考 [Scrollbar props](scrollbar#Scrollbar-Props) | NEXT_VERSION | -| visible-items-tag | `string` | `'div'` | 全部内容的容器标签 | NEXT_VERSION | -| visible-items-props | `object` | `undefined` | 全部内容的容器属性 | NEXT_VERSION | -| on-scroll | `(event: Event) => void` | `undefined` | 滚动的回调函数 | NEXT_VERSION | -| on-wheel | `(event: WheelEvent) => void` | `undefined` | 滚轮事件的回调函数 | NEXT_VERSION | -| on-resize | `(event: ResizeObserverEntry) => void` | `undefined` | 元素大小调整的回调函数 | NEXT_VERSION | +| default-scroll-key | `string \| number` | `undefined` | 默认滚动的 Key | 2.36.0 | +| default-scroll-index | `number` | `undefined` | 默认滚动的 Index | 2.36.0 | +| ignore-item-resize | `boolean` | `false` | 忽略内容尺寸变化,可以让运行快一些(尽管应该很难感受到) | 2.36.0 | +| items | `Array` | `[]` | 需要展示的数据 | 2.36.0 | +| item-resizable | `number` | `false` | 是否启用动态尺寸,你不必关心项目大小,它会自动计算 | 2.36.0 | +| item-size | `number` | required | 以像素为单位显示项目的最小高度,用于计算滚动大小和位置 | 2.36.0 | +| items-style | `string \| CSSProperties` | `undefined` | 全部内容的容器样式 | 2.36.0 | +| key-field | `string` | `'key'` | 选项 key 的字段名 | 2.36.0 | +| padding-top | `string \| number` | `undefined` | 距离上部的距离 | 2.36.0 | +| padding-bottom | `string \| number` | `undefined` | 距离底部的距离 | 2.36.0 | +| scrollbar-props | `ScrollbarProps` | `undefined` | 属性参考 [Scrollbar props](scrollbar#Scrollbar-Props) | 2.36.0 | +| visible-items-tag | `string` | `'div'` | 全部内容的容器标签 | 2.36.0 | +| visible-items-props | `object` | `undefined` | 全部内容的容器属性 | 2.36.0 | +| on-scroll | `(event: Event) => void` | `undefined` | 滚动的回调函数 | 2.36.0 | +| on-wheel | `(event: WheelEvent) => void` | `undefined` | 滚轮事件的回调函数 | 2.36.0 | +| on-resize | `(event: ResizeObserverEntry) => void` | `undefined` | 元素大小调整的回调函数 | 2.36.0 | ### Virtual List Methods -| 名称 | 参数 | 说明 | 版本 | -| -------- | ---------- | -------------- | ------------ | -| scrollTo | `ScrollTo` | 滚动到某个位置 | NEXT_VERSION | +| 名称 | 参数 | 说明 | 版本 | +| -------- | ---------- | -------------- | ------ | +| scrollTo | `ScrollTo` | 滚动到某个位置 | 2.36.0 | #### ScrollTo Type