@swisspost/design-system-styles 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/basics.css +1 -1
- package/components/accordion.scss +1 -1
- package/components/alert.scss +1 -1
- package/components/badge.scss +1 -1
- package/components/breadcrumb.scss +1 -1
- package/components/card.scss +5 -5
- package/components/carousel.scss +1 -1
- package/components/close.scss +1 -1
- package/components/form-check.scss +1 -1
- package/components/form-range.scss +1 -1
- package/components/form-select.scss +1 -1
- package/components/grid.scss +1 -1
- package/components/intranet-header/_logo.scss +1 -1
- package/components/intranet-header/_nav-overflow.scss +1 -1
- package/components/intranet-header/_scaffolding.scss +1 -1
- package/components/intranet-header/_searchbox.scss +1 -1
- package/components/intranet-header/_sidebar.scss +1 -1
- package/components/intranet-header/_top-navigation.scss +1 -1
- package/components/list-group.scss +1 -1
- package/components/modal.scss +1 -1
- package/components/offcanvas.scss +1 -1
- package/components/popover.scss +1 -1
- package/components/product-card.scss +1 -0
- package/components/progress.scss +1 -1
- package/components/sizing.scss +1 -1
- package/components/spinner.scss +1 -1
- package/components/stepper.scss +1 -1
- package/components/subnavigation.scss +1 -1
- package/components/tabs.scss +1 -1
- package/components/toast.scss +1 -1
- package/components/topic-teaser.scss +1 -1
- package/components/type.scss +1 -1
- package/components/utilities.scss +5 -5
- package/core.scss +1 -1
- package/index.css +30 -4
- package/intranet.css +31 -5
- package/layouts/portal/_grid.scss +1 -1
- package/layouts/portal/_type.scss +1 -1
- package/mixins/_animation.scss +1 -1
- package/mixins/_size.scss +1 -1
- package/mixins/_type.scss +2 -2
- package/package.json +7 -7
- package/placeholders/_notifications.scss +1 -1
- package/placeholders/_text.scss +1 -1
- package/placeholders/badge.scss +1 -1
- package/schematics/utils/css/css-classes-update.d.ts +14 -0
- package/schematics/utils/css/css-classes-update.js +27 -0
- package/schematics/utils/css/css-classes-update.js.map +1 -0
- package/schematics/utils/css/css-migration-rule.d.ts +4 -0
- package/schematics/utils/css/css-migration-rule.js +112 -0
- package/schematics/utils/css/css-migration-rule.js.map +1 -0
- package/schematics/utils/css/css-migration.d.ts +13 -0
- package/schematics/utils/css/css-migration.js +36 -0
- package/schematics/utils/css/css-migration.js.map +1 -0
- package/schematics/utils/css/html_css_classes_visitor.d.ts +23 -0
- package/schematics/utils/css/html_css_classes_visitor.js +76 -0
- package/schematics/utils/css/html_css_classes_visitor.js.map +1 -0
- package/themes/bootstrap/_accordion.scss +1 -1
- package/themes/bootstrap/_alert.scss +1 -1
- package/themes/bootstrap/_badge.scss +1 -1
- package/themes/bootstrap/_breadcrumbs.scss +1 -1
- package/themes/bootstrap/_button-group.scss +1 -1
- package/themes/bootstrap/_buttons.scss +1 -1
- package/themes/bootstrap/_card.scss +1 -1
- package/themes/bootstrap/_carousel.scss +1 -1
- package/themes/bootstrap/_close.scss +1 -1
- package/themes/bootstrap/_containers.scss +1 -1
- package/themes/bootstrap/_dropdown.scss +1 -1
- package/themes/bootstrap/_grid.scss +1 -1
- package/themes/bootstrap/_images.scss +1 -1
- package/themes/bootstrap/_list-group.scss +1 -1
- package/themes/bootstrap/_modal.scss +1 -1
- package/themes/bootstrap/_nav.scss +1 -1
- package/themes/bootstrap/_navbar.scss +1 -1
- package/themes/bootstrap/_offcanvas.scss +1 -1
- package/themes/bootstrap/{_core.scss → _overrides.scss} +1 -7
- package/themes/bootstrap/_pagination.scss +1 -1
- package/themes/bootstrap/_popover.scss +1 -1
- package/themes/bootstrap/_progress.scss +1 -1
- package/themes/bootstrap/_reboot.scss +1 -1
- package/themes/bootstrap/_root.scss +1 -1
- package/themes/bootstrap/_spinners.scss +1 -1
- package/themes/bootstrap/_tables.scss +1 -1
- package/themes/bootstrap/_toasts.scss +1 -1
- package/themes/bootstrap/_tooltip.scss +1 -1
- package/themes/bootstrap/_transitions.scss +1 -1
- package/themes/bootstrap/_type.scss +1 -1
- package/themes/bootstrap/_utilities.scss +1 -1
- package/themes/bootstrap/forms/_floating-labels.scss +1 -1
- package/themes/bootstrap/forms/_form-check.scss +1 -1
- package/themes/bootstrap/forms/_form-control.scss +1 -1
- package/themes/bootstrap/forms/_form-range.scss +1 -1
- package/themes/bootstrap/forms/_form-select.scss +1 -1
- package/themes/bootstrap/forms/_form-text.scss +1 -1
- package/themes/bootstrap/forms/_input-group.scss +1 -1
- package/themes/bootstrap/forms/_labels.scss +1 -1
- package/themes/bootstrap/forms/_validation.scss +1 -1
package/components/alert.scss
CHANGED
package/components/badge.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
|
-
@use './../themes/bootstrap/
|
|
4
|
+
@use './../themes/bootstrap/overrides' as *;
|
|
5
5
|
@use './../themes/bootstrap/badge' as bb;
|
|
6
6
|
@use './../themes/bootstrap/close' as bc; // Styles for the close icon
|
|
7
7
|
|
package/components/card.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
|
-
@use './../themes/bootstrap/
|
|
4
|
+
@use './../themes/bootstrap/overrides' as bootstrap;
|
|
5
5
|
@use './../themes/bootstrap/card' as bootstrap-card;
|
|
6
6
|
@use './../variables/color';
|
|
7
7
|
@use './../variables/spacing';
|
|
@@ -92,19 +92,19 @@
|
|
|
92
92
|
|
|
93
93
|
.product-card &,
|
|
94
94
|
.card-button & {
|
|
95
|
-
@include media-breakpoint-down(sm) {
|
|
95
|
+
@include bootstrap.media-breakpoint-down(sm) {
|
|
96
96
|
padding: spacing.$size-regular;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
@include media-breakpoint-between(sm, md) {
|
|
99
|
+
@include bootstrap.media-breakpoint-between(sm, md) {
|
|
100
100
|
padding: spacing.$size-large;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
@include media-breakpoint-between(md, xxl) {
|
|
103
|
+
@include bootstrap.media-breakpoint-between(md, xxl) {
|
|
104
104
|
padding: spacing.$size-big;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
@include media-breakpoint-up(xxl) {
|
|
107
|
+
@include bootstrap.media-breakpoint-up(xxl) {
|
|
108
108
|
padding: spacing.$size-bigger-big;
|
|
109
109
|
}
|
|
110
110
|
}
|
package/components/carousel.scss
CHANGED
package/components/close.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
|
-
@use './../themes/bootstrap/
|
|
4
|
+
@use './../themes/bootstrap/overrides' as *;
|
|
5
5
|
@use './../themes/bootstrap/forms' as bf;
|
|
6
6
|
@use './../mixins/forms' as forms-mixins;
|
|
7
7
|
@use './../mixins/utilities';
|
package/components/grid.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use './../../variables/commons';
|
|
4
4
|
@use './../../variables/components/intranet-header';
|
|
5
5
|
|
|
6
|
-
@use './../../themes/bootstrap/
|
|
6
|
+
@use './../../themes/bootstrap/overrides' as *;
|
|
7
7
|
|
|
8
8
|
// based from http://getbootstrap.com/docs/4.1/examples/dashboard/
|
|
9
9
|
.navbar-brand {
|
package/components/modal.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
4
|
@use './../themes/bootstrap/modal' as bm;
|
|
5
5
|
@use './../themes/bootstrap/close' as bc;
|
|
6
|
-
@use './../themes/bootstrap/
|
|
6
|
+
@use './../themes/bootstrap/overrides' as *;
|
|
7
7
|
|
|
8
8
|
@use './../mixins/icons' as icon-mixin;
|
|
9
9
|
@use './../mixins/scroll-shadows' as scroll-shadows-mixin;
|
package/components/popover.scss
CHANGED
package/components/progress.scss
CHANGED
package/components/sizing.scss
CHANGED
package/components/spinner.scss
CHANGED
package/components/stepper.scss
CHANGED
package/components/tabs.scss
CHANGED
package/components/toast.scss
CHANGED
package/components/type.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use 'sass:map';
|
|
4
4
|
@use 'sass:list';
|
|
5
5
|
@use './../lic/bootstrap-license';
|
|
6
|
-
@use './../themes/bootstrap/
|
|
6
|
+
@use './../themes/bootstrap/overrides' as bootstrap;
|
|
7
7
|
@use './../themes/bootstrap/utilities' as bu; // TODO: Move Design System utilities to utilities folder.
|
|
8
8
|
@use './../mixins/utilities';
|
|
9
9
|
@use './../variables/color';
|
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.h-visuallyhidden-up-md {
|
|
33
|
-
@include media-breakpoint-up(md) {
|
|
33
|
+
@include bootstrap.media-breakpoint-up(md) {
|
|
34
34
|
@include utilities.visuallyhidden;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.h-visuallyhidden-down-rg {
|
|
39
|
-
@include media-breakpoint-down(rg) {
|
|
39
|
+
@include bootstrap.media-breakpoint-down(rg) {
|
|
40
40
|
@include utilities.visuallyhidden;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.h-visuallyhidden-down-lg {
|
|
45
|
-
@include media-breakpoint-down(lg) {
|
|
45
|
+
@include bootstrap.media-breakpoint-down(lg) {
|
|
46
46
|
@include utilities.visuallyhidden;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.h-clearfix {
|
|
51
|
-
@include clearfix;
|
|
51
|
+
@include bootstrap.clearfix;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
//-- Legacy --
|
package/core.scss
CHANGED