-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/bootstrap5'
# Conflicts: # Signum.Engine.Extensions/Migrations/MigrationLogic.cs # Signum.Entities.Extensions/Mailing/ImageAttachmentEntity.cs # Signum.React.Extensions/TypeHelp/TypeHelpComponent.tsx # Signum.Upgrade/CodeFile.cs # Signum.Upgrade/UpgradeContext.cs
- Loading branch information
Showing
130 changed files
with
1,183 additions
and
1,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7d0804c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bootstrap 5
This commit merges the changes to upgrade all the NPM dependencies, including:
All the Signum components have been migrated to Bootstrap 5 classes, and some Signum Upgrades could help fixing your classe names:
Upgrade_20211110_Bootstrap5
andUpgrade_20211112_FixBootstrap
, but if you have custom components depending on bootstrap classes you may need to make some fixes.Some cool additions of Bootstrap 5 are support for RTL and Floating Labels that can not be used with `formGroupStyle: "floatingLabels".
Move to SASS if still using bootstrap.css
Some of the upgrades require changing your
custom.scss
file, if you are still using plainbootstrap.css
you need to do the following:package.json
add the following todevDependencies
:"sass": "1.43.4",
and"sass-loader": "12.3.0",
_bootwatch.scss
and_variables.scss
toYourApp.React/App/SCSS
.custom.scss
in the same folder with this content: https://github.com/signumsoftware/southwind/blob/a7ddf4ab757a0a905eaff78f2b9f9ff7e46a24dd/Southwind.React/App/SCSS/custom.scssimport "../node_modules/bootstrap/dist/css/bootstrap.css"
byimport "./SCSS/custom.scss";
inMainPublic.tsx
Bye bye Internet Explorer
Bootstrap 5 is no longer compatible with IE 11 so one of the migrations will change you
Index.cshtml
to reflect this.Internet Explorer 11 will be EOL next summer and according represents
0.5%
of browser market share.7d0804c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.