Skip to content

Releases: tolking/element-pro-components

v1.1.3

24 May 02:02
e85a119

Choose a tag to compare

feat

  • Crud: change text button to link button
  • Crud | Form: cancel deep merging of menus

fix

  • Card: styles error in Dark Mode
  • AutocompleteTag: styles error

other

  • use objectPick from lodash

v1.1.2

10 May 06:48
2f174cb

Choose a tag to compare

feat

  • support Dark Mode
  • sync the ElButton change from ElementPlus v2.2.0
  • docs: support toggle Light or Dark mode

fix

  • Menu: styles error when collapse
  • utils: the warn information disappears after build

other

  • Crud: optimization type
  • test: jest -> vitest
  • workflows: npm -> pnpm

v1.1.1

25 Apr 12:22
90aacac

Choose a tag to compare

fix

  • Crud: lost the styles of descriptions
  • Crud: type error
  • Description: Typo

v1.1.0

22 Apr 14:28
b3cd57a

Choose a tag to compare

releases v1.1.0

breaking changes

- adjust the implementation of breakpoints
- build: modify the built name element-pro-components to index
- Crud: adjust slots name

```
[prop]-header -> table-[prop]-header
append -> table-append
expand -> table-expand
[prop]-error -> form-[prop]-error
[prop]-label -> form-[prop]-label
```

feat

- Crud: add view detail through Descriptions
- Crud: add slots `detail` `detail-title` `detail-extra` `detail-[prop]` `detail-[prop]-label` `dialog-top` `dialog-bottom`
- Crud: add emits `add` `edit` `detail`
- Descriptions: add the default slot

fix

- docs: route jump error when with hash
- InputTag | AutocompleteTag: tag can close when form is disabled
- sync the CSS var change

v1.0.1

10 Apr 01:29
bbc794c

Choose a tag to compare

feat

  • Layout: when the breakpoint is xs, close the sidebar when the menu is clicked
  • InputTag|AutocompleteTag: add emits input tag-add tag-remove
  • docs: extended demo capabilities
    • Edit on StackBlitz
    • View on Github
    • Copy code

fix

  • TreeSelect: some config ​​are not converted
  • styles: add width for Card
  • fix: exports error

v1.0.0

04 Apr 07:19
2a37624

Choose a tag to compare

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 to enter
  • Select|TreeSelect|Descriptions: rename the slot parameter data to item
  • rename useScreenSize to useSharedBreakpoint

feat

  • Card: add a new component Card
  • Descriptions: add render and renderLabel 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.

v0.18.3

15 Mar 13:06
2edd28b

Choose a tag to compare

feat

  • sync css var change from element-plus

other

  • type: optimization type

v0.18.2

13 Mar 03:20
7146f44

Choose a tag to compare

breaking changes

  • rename checkUrl to isURL

feat

  • InputTag|AutocompleteTag: sync the style chang

other

  • refacto: rewite props

v0.18.1

24 Feb 11:41
f05e44e

Choose a tag to compare

fix

  • Descriptions: the columns error

feat

  • Descriptions: add props align and labelAlign

other

  • sync ComponentSize change from element
  • Tabs|Breadcrumb|Menu|Radio: import props from element-plus

v0.18.0

12 Feb 13:30
b8ce9e6

Choose a tag to compare

breaking changes

  • updata element-plus to v2
  • Table|Crud: flat the props of pagination
  • Table|Crud: remove the size-change current-change prev-click next-click event, use load replace
  • change popperAppendToBody to teleported

fix

  • InputTag: styles error

feat

  • Table|Crud: add load event
  • Form|Crud: add scrollToField for Methods
  • sync the props change from element-plus v2

other

  • type: optimized the type of emits