diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index a296df8b62..f65ac4d0e6 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,4 +1,27 @@ ## Changelog + +### 2.2.30 + +_2023-02-10_ + +#### Features + +- Components [statistic] (#11420 by @chenxch) + +#### Bug fixes + +- Components [select] recalculate input height when display change (#11374 by @makedopamine) +- Components [input] use v-if throw exception (#11187 by @acyza) +- Components [tree] update refNode type (#11421 by @btea) +- Components [dropdown] (#11431 by @jw-foss) +- Theme-chalk [table] the cell missing padding style (#11456 by @tolking) +- Components fix virtual list scroll&wheel handler (#11472 by @Rapliangle) +- Components [virtual-list] scroll issue (#11475 by @jw-foss) + +#### Refactors + +- Tokens use Symbol as injection key (#11251 by @Naeemo) +- Locale change short months naming (#11326 by @ADISAKBOONMARK) ### 2.2.29 diff --git a/docs/.vitepress/crowdin/en-US/pages/component.json b/docs/.vitepress/crowdin/en-US/pages/component.json index f359559dc0..0edfd00130 100644 --- a/docs/.vitepress/crowdin/en-US/pages/component.json +++ b/docs/.vitepress/crowdin/en-US/pages/component.json @@ -222,6 +222,11 @@ { "link": "/tree-v2", "text": "Virtualized Tree" + }, + { + "link": "/statistic", + "text": "Statistic", + "promotion": "2.2.30" } ] }, diff --git a/docs/en-US/component/cascader.md b/docs/en-US/component/cascader.md index 0f3d24a27a..61ef040e47 100644 --- a/docs/en-US/component/cascader.md +++ b/docs/en-US/component/cascader.md @@ -154,18 +154,18 @@ cascader/panel | disabled | whether Cascader is disabled | boolean | — | false | | clearable | whether selected value can be cleared | boolean | — | false | | show-all-levels | whether to display all levels of the selected value in the input | boolean | — | true | -| collapse-tags | whether to collapse tags in multiple selection mode | boolean | - | false | -| collapse-tags-tooltip | whether show all selected tags when mouse hover text of collapse-tags. To use this, `collapse-tags` must be true | boolean | - | false | +| collapse-tags | whether to collapse tags in multiple selection mode | boolean | — | false | +| collapse-tags-tooltip | whether show all selected tags when mouse hover text of collapse-tags. To use this, `collapse-tags` must be true | boolean | — | false | | separator | option label separator | string | — | ' / ' | | filterable | whether the options can be searched | boolean | — | — | -| filter-method | customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits. | function(node, keyword) | - | - | +| filter-method | customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits. | function(node, keyword) | — | — | | debounce | debounce delay when typing filter keyword, in milliseconds | number | — | 300 | | before-filter | hook function before filtering with the value to be filtered as its parameter. If `false` is returned or a `Promise` is returned and then is rejected, filtering will be aborted | function(value) | — | — | | popper-class | custom class name for Cascader's dropdown | string | — | — | -| teleported | whether cascader popup is teleported | boolean | true / false | true | -| popper-append-to-body(deprecated) | whether to append the popper menu to body. If the positioning of the popper is wrong, you can try to set this prop to false | boolean | - | true | +| teleported | whether cascader popup is teleported | boolean | — | true | +| popper-append-to-body(deprecated) | whether to append the popper menu to body. If the positioning of the popper is wrong, you can try to set this prop to false | boolean | — | true | | tag-type | tag type | string | success/info/warning/danger | info | -| validate-event | whether to trigger form validation | boolean | - | true | +| validate-event | whether to trigger form validation | boolean | — | true | ## Cascader Events @@ -224,11 +224,11 @@ cascader/panel | Attribute | Description | Type | Accepted Values | Default | | ------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------- | --------------- | ---------- | | expandTrigger | trigger mode of expanding options | string | click / hover | 'click' | -| multiple | whether multiple selection is enabled | boolean | - | false | -| checkStrictly | whether checked state of a node not affects its parent and child nodes | boolean | - | false | -| emitPath | when checked nodes change, whether to emit an array of node's path, if false, only emit the value of node. | boolean | - | true | -| lazy | whether to dynamic load child nodes, use with `lazyload` attribute | boolean | - | false | -| lazyLoad | method for loading child nodes data, only works when `lazy` is true | function(node, resolve) | - | - | +| multiple | whether multiple selection is enabled | boolean | — | false | +| checkStrictly | whether checked state of a node not affects its parent and child nodes | boolean | — | false | +| emitPath | when checked nodes change, whether to emit an array of node's path, if false, only emit the value of node. | boolean | — | true | +| lazy | whether to dynamic load child nodes, use with `lazyload` attribute | boolean | — | false | +| lazyLoad | method for loading child nodes data, only works when `lazy` is true | function(node, resolve) | — | — | | value | specify which key of node object is used as the node's value | string | — | 'value' | | label | specify which key of node object is used as the node's label | string | — | 'label' | | children | specify which key of node object is used as the node's children | string | — | 'children' | diff --git a/docs/en-US/component/form.md b/docs/en-US/component/form.md index f8005a7b41..dd3382d4a6 100644 --- a/docs/en-US/component/form.md +++ b/docs/en-US/component/form.md @@ -147,7 +147,7 @@ form/accessibility | Method | Description | Type | | --------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- | -| `validate` | Validate the whole form. Receives a callback or returns `Promise`. | `(callback?: (isValid: boolean, invalidFields?: ValidateFieldsError) => void) => Promise` | +| `validate` | Validate the whole form. Receives a callback or returns `Promise`. | `(callback?: (isValid: boolean, invalidFields?: ValidateFieldsError) => void) => Promise` | | `validateField` | Validate specified fields. | `(props?: Arrayable, callback?: (isValid: boolean, invalidFields?: ValidateFieldsError) => void) => Promise` | | `resetFields` | Reset specified fields and remove validation result. | `(props?: Arrayable) => void` | | `scrollToField` | Scroll to the specified fields. | `(prop: FormItemProp) => void` | diff --git a/docs/en-US/component/table.md b/docs/en-US/component/table.md index 826db890f0..d2ac2ed8c4 100644 --- a/docs/en-US/component/table.md +++ b/docs/en-US/component/table.md @@ -238,7 +238,7 @@ table/table-layout | max-height | Table's max-height. The legal value is a number or the height in px. | string / number | — | — | | stripe | whether Table is striped | boolean | — | false | | border | whether Table has vertical border | boolean | — | false | -| size | size of Table | string | large / default /small | default | +| size | size of Table | string | large / default /small | — | | fit | whether width of column automatically fits its container | boolean | — | true | | show-header | whether Table header is visible | boolean | — | true | | highlight-current-row | whether current row is highlighted | boolean | — | false | diff --git a/docs/en-US/guide/quickstart.md b/docs/en-US/guide/quickstart.md index 81e3f46858..24a91c8520 100644 --- a/docs/en-US/guide/quickstart.md +++ b/docs/en-US/guide/quickstart.md @@ -228,4 +228,4 @@ We can also use [Nuxt.js](https://v3.nuxtjs.org/): ## Let's Get Started You can bootstrap your project from now on. For each components usage, please -refer to the individual component documentation. +refer to [the individual component documentation](https://element-plus.org/en-US/component/button.html). diff --git a/docs/examples/statistic/card.vue b/docs/examples/statistic/card.vue index 137dea9b1b..468ca460bf 100644 --- a/docs/examples/statistic/card.vue +++ b/docs/examples/statistic/card.vue @@ -28,15 +28,6 @@ - @@ -59,15 +50,6 @@