mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Issue number: resolves internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? The badge presents the `xxsmall`, `xsmall`, and `xlarge`. The user experience design expects only the `small` and `medium` sizes for badges with content (number or icon), and `small`, `medium`, and `large` sizes for empty badges. ## What is the new behavior? - The badge should support only the sizes mentioned above. - The `small` and `medium` sizes must be adjusted to the new requirements for badges with content. - The size property descriptions must inform that the `large` size is only available for empty badges. ## Does this introduce a breaking change? - [x] Yes - [ ] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> --------- Co-authored-by: ionitron <hi@ionicframework.com>