ionic-framework
ionic-framework copied to clipboard
refactor(datetime): remove usage of ion-buttons and Phosphor icons
Issue number: N/A
What is the current behavior?
The Datetime component breaks CSP rules due to the following:
- Datetime is using
ion-buttonswhich usesscopedencapsulation. - When using the
ionictheme, it imports Phosphor icons as data URIs, which are blocked byconnect-src 'self' blob:.
What is the new behavior?
- Remove all usages of
ion-buttons, removing the dependency on a scoped component - Remove all references to Phosphor icons
- Updates the styling to account for the removal of
ion-buttons
Does this introduce a breaking change?
- [ ] Yes
- [x] No
Other information
All screenshot diffs are expected
- The majority are just rendering differences as I could not see any difference locally
- The
ionictheme changes are due to the icon changing