button.yml 654 B

1234567891011121314151617
  1. - scope: 'component'
  2. name: 'el-button'
  3. type: 'props'
  4. version: '2.2.0'
  5. commit_hash: 'a4aad5a'
  6. description: |
  7. We want to make text button more like a button, instead of like a text/link.
  8. In addition with design changes, text button now looks more like a button.
  9. Because the API `type` also represents how the button looks like, so we decided to add a
  10. new API `text` to represent the text button.
  11. props:
  12. - api: 'type'
  13. before: '"primary" | "success" | "warning" | "danger" | "info" | "text"'
  14. after: '"primary" | "success" | "warning" | "danger" | "info"'
  15. - api: 'text'
  16. before: '-'
  17. after: 'boolean'