v1.0.0
版本发布时间: 2022-04-04 15:19:26
tolking/element-pro-components最新发布版本:v1.2.12(2023-07-09 19:49:15)
breaking changes
- Table|Crud|Form: remove global config
- Layout: reimplement the KeepAlive
- Layout: remove the props
fixed-main
- Layout: remove the slots
main-top
main-bottom
- InputTag: change the trigger default value
space
toenter
- Select|TreeSelect|Descriptions: rename the slot parameter data to item
- rename
useScreenSize
touseSharedBreakpoint
feat
- Card: add a new component Card
- Descriptions: add
render
andrenderLabel
in columns - Checkbox|Radio|Select|TreeSelect: cancel the conversion of the data
- Layout: support transition form RouteMeta
- Layout: add default slot to custom RouterView
- Select|TreeSelect: sync props change from element-plus
- add composables function
useBreakpointWidth
to get reactive Dialog width - sync css var change from element-plus
- sync ComponentSize change from element-plus
- styles: add cjs form SSR
- styles: compressed CSS by cssnano
fix
- Form: style error when used gutter
- Layout: the KeepAlive and Transition do not work
migration guide
Compare 0.18.3...v1.0.0
To support both Transition and KeepAlive, the Layout component had to be refactored. The original internal card-like has been removed.
- It is recommended to use the new Card component to wrap your pages.
- If you don't care about KeepAlive, you can use default slots to override RouterView to implement global Card wrapping, demo.
The global configuration has been removed, it is recommended to use related components to pass parameters or internationalization.