Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7854af2

Browse files
committed
fix(demos): upgrade bootstrap version
1 parent 8803122 commit 7854af2

File tree

3 files changed

+15
-24
lines changed

3 files changed

+15
-24
lines changed

apps/demos/src/styles/_utils.scss

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import 'bootstrap/scss/functions';
2+
13
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
24
$font-size-lg: $font-size-base * 1.25 !default;
35
$font-size-sm: $font-size-base * 0.875 !default;
@@ -53,22 +55,11 @@ $spacers: map-merge(
5355
),
5456
$spacers
5557
);
56-
$displays: none, inline, inline-block, block, table, table-row, table-cell, flex,
57-
grid, inline-grid, inline-flex !default;
58-
$overflows: auto, hidden !default;
59-
$positions: static, relative, absolute, fixed, sticky !default;
60-
$user-selects: all, auto, none !default;
6158

6259
$enable-grid-classes: true;
6360
$grid-gutter-width: 30px;
6461
$grid-columns: 12;
6562
$grid-row-columns: 6;
66-
$container-max-widths: (
67-
sm: 540px,
68-
md: 720px,
69-
lg: 960px,
70-
xl: 1140px,
71-
) !default;
7263

7364
$zindex-sticky: 1020 !default;
7465
$zindex-fixed: 1030 !default;
@@ -78,14 +69,14 @@ $zindex-fixed: 1030 !default;
7869
*::after {
7970
box-sizing: border-box; // 1
8071
}
72+
8173
@import 'normalize-css';
82-
@import 'bootstrap/scss/mixins/breakpoints';
83-
@import 'bootstrap/scss/utilities/flex';
84-
@import 'bootstrap/scss/utilities/display';
85-
@import 'bootstrap/scss/utilities/sizing';
86-
@import 'bootstrap/scss/utilities/spacing';
87-
@import 'bootstrap/scss/utilities/position';
88-
@import 'bootstrap/scss/utilities/float';
89-
@import 'bootstrap/scss/mixins/grid-framework';
74+
75+
@import 'bootstrap/scss/variables';
76+
@import 'bootstrap/scss/mixins';
77+
78+
@import 'bootstrap/scss/maps';
79+
@import 'bootstrap/scss/utilities';
80+
@import 'bootstrap/scss/utilities/api';
9081
@import 'bootstrap/scss/mixins/grid';
9182
@import 'bootstrap/scss/grid';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@ngxs/store": "3.7.2",
6262
"@typescript-eslint/utils": "5.53.0",
6363
"angular-in-memory-web-api": "^0.11.0",
64-
"bootstrap": "^4.6.0",
64+
"bootstrap": "^5.2.3",
6565
"core-js": "^3.18.3",
6666
"ngx-skeleton-loader": "^4.0.0",
6767
"normalize-css": "^2.3.1",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6484,10 +6484,10 @@ boolbase@^1.0.0:
64846484
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
64856485
integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==
64866486

6487-
bootstrap@^4.6.0:
6488-
version "4.6.2"
6489-
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.6.2.tgz#8e0cd61611728a5bf65a3a2b8d6ff6c77d5d7479"
6490-
integrity sha512-51Bbp/Uxr9aTuy6ca/8FbFloBUJZLHwnhTcnjIeRn2suQWsWzcuJhGjKDB5eppVte/8oCdOL3VuwxvZDUggwGQ==
6487+
bootstrap@^5.2.3:
6488+
version "5.2.3"
6489+
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.2.3.tgz#54739f4414de121b9785c5da3c87b37ff008322b"
6490+
integrity sha512-cEKPM+fwb3cT8NzQZYEu4HilJ3anCrWqh3CHAok1p9jXqMPsPTBhU25fBckEJHJ/p+tTxTFTsFQGM+gaHpi3QQ==
64916491

64926492
boxen@^5.0.0:
64936493
version "5.1.2"

0 commit comments

Comments
 (0)