@madgex/design-system 2.0.7 → 2.0.8
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/coverage/cobertura-coverage.xml +1 -1
- package/coverage/components/accordion/accordion.js.html +1 -1
- package/coverage/components/accordion/index.html +1 -1
- package/coverage/components/button/button.js.html +1 -1
- package/coverage/components/button/index.html +1 -1
- package/coverage/components/inputs/combobox/combobox.js.html +1 -1
- package/coverage/components/inputs/combobox/index.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/Combobox.vue.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/ListBoxOption.vue.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/index.html +1 -1
- package/coverage/components/inputs/file-upload/file-upload.js.html +1 -1
- package/coverage/components/inputs/file-upload/index.html +1 -1
- package/coverage/components/inputs/textarea/character-count.js.html +1 -1
- package/coverage/components/inputs/textarea/index.html +1 -1
- package/coverage/components/modal/index.html +1 -1
- package/coverage/components/modal/modal.js.html +1 -1
- package/coverage/components/notification/index.html +1 -1
- package/coverage/components/notification/notification.js.html +1 -1
- package/coverage/components/popover/index.html +1 -1
- package/coverage/components/popover/popover.js.html +1 -1
- package/coverage/components/switch-state/index.html +1 -1
- package/coverage/components/switch-state/switch-state.js.html +1 -1
- package/coverage/components/tabs/index.html +1 -1
- package/coverage/components/tabs/tabs.js.html +1 -1
- package/coverage/index.html +1 -1
- package/coverage/js/common.js.html +1 -1
- package/coverage/js/fractal-scripts/combobox.js.html +1 -1
- package/coverage/js/fractal-scripts/index.html +1 -1
- package/coverage/js/fractal-scripts/notification.js.html +1 -1
- package/coverage/js/fractal-scripts/switch-state.js.html +1 -1
- package/coverage/js/index-fractal.js.html +1 -1
- package/coverage/js/index-polyfills.js.html +1 -1
- package/coverage/js/index-vue.js.html +1 -1
- package/coverage/js/index.html +1 -1
- package/coverage/js/index.js.html +1 -1
- package/coverage/js/polyfills/arrayPrototypeFind.js.html +1 -1
- package/coverage/js/polyfills/closest.js.html +1 -1
- package/coverage/js/polyfills/index.html +1 -1
- package/coverage/js/polyfills/objectAssign.js.html +1 -1
- package/coverage/js/polyfills/remove.js.html +1 -1
- package/coverage/tokens/_config.js.html +1 -1
- package/coverage/tokens/index.html +1 -1
- package/dist/_tokens/css/_tokens.css +27 -29
- package/dist/_tokens/js/_tokens-module.js +1906 -1950
- package/dist/_tokens/scss/_tokens.scss +75 -81
- package/dist/assets/icons.json +1 -1
- package/dist/css/index.css +1 -1
- package/dist/js/index.js +1 -1
- package/package.json +1 -1
- package/src/components/button/button.scss +1 -0
- package/src/components/notification/notification.scss +1 -1
- package/src/components/popover/popover.scss +1 -1
- package/src/layout/containers/01-base-containers.njk +1 -1
- package/src/scss/core/_containers.scss +8 -6
- package/src/tokens/color.json +0 -13
- package/src/tokens/effects.json +10 -0
- package/src/tokens/size.json +2 -5
- /package/src/tokens/{font.json → typography.json} +0 -0
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ $arrow-size: 10px;
|
|
|
13
13
|
border: $mds-size-border-width-base solid $mds-color-border;
|
|
14
14
|
border-radius: $mds-size-border-radius-base;
|
|
15
15
|
padding: ($mds-size-baseline * 2);
|
|
16
|
-
box-shadow: $mds-
|
|
16
|
+
box-shadow: $mds-shadow-base;
|
|
17
17
|
text-align: left;
|
|
18
18
|
max-width: 250px;
|
|
19
19
|
@include z-index(popup);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div class="mds-surface__inner">
|
|
6
6
|
<h2>Content inside the site-container and wrapper</h2>
|
|
7
7
|
<p>site-container is 100%</p>
|
|
8
|
-
<p>wrapper is
|
|
8
|
+
<p>wrapper is 97% - 20px (gutter width) and max-width 1240px</p>
|
|
9
9
|
<div style="height: 100px;"></div>
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
@@ -9,7 +9,7 @@ body {
|
|
|
9
9
|
min-width: $mds-size-container-min-width;
|
|
10
10
|
margin: 0 auto;
|
|
11
11
|
background: $mds-color-background-site-container;
|
|
12
|
-
|
|
12
|
+
box-shadow: $mds-shadow-site-container;
|
|
13
13
|
}
|
|
14
14
|
.mds-main {
|
|
15
15
|
background: $mds-color-background-main;
|
|
@@ -20,7 +20,6 @@ body {
|
|
|
20
20
|
width: calc(#{$mds-size-wrapper-width} - #{$mds-size-gutter-width});
|
|
21
21
|
max-width: $mds-size-wrapper-max-width;
|
|
22
22
|
margin: 0 auto;
|
|
23
|
-
padding: 0 $mds-size-wrapper-padding;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.mds-surface {
|
|
@@ -85,15 +84,18 @@ $breakpoints: map-get(map-get($tokens, 'size'), 'breakpoint');
|
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
$mds-half-gutter-width: $mds-size-gutter-width * 0.5;
|
|
87
|
+
// Calculate space left between the wrapper and the edge of the screen on each side
|
|
88
|
+
// so we can stretch the sticky container to make it appear full screen
|
|
89
|
+
// I added 0.01 to stretch the container slightly more to avoid a tiny gap between the edge of the screen and the container
|
|
90
|
+
$space-between-wrapper-and-edge: (100% - $mds-size-wrapper-width) / 2 + 0.01;
|
|
88
91
|
|
|
89
92
|
.mds-fixed-container--sticky {
|
|
90
93
|
position: sticky;
|
|
91
94
|
|
|
92
|
-
// I added 0.01 to stretch the container slightly more to avoid a tiny gap between the edge of the screen and the container
|
|
93
95
|
.mds-wrapper & {
|
|
94
|
-
width: calc(100% + #{
|
|
95
|
-
margin-left: calc((#{$
|
|
96
|
-
margin-right: calc((#{$
|
|
96
|
+
width: calc(100% + #{$space-between-wrapper-and-edge * 2} + #{$mds-size-gutter-width});
|
|
97
|
+
margin-left: calc((#{$space-between-wrapper-and-edge} + #{$mds-half-gutter-width}) * -1);
|
|
98
|
+
margin-right: calc((#{$space-between-wrapper-and-edge} + #{$mds-half-gutter-width}) * -1);
|
|
97
99
|
|
|
98
100
|
@include mq($from: $mds-size-breakpoint-md) {
|
|
99
101
|
width: 100%;
|
package/src/tokens/color.json
CHANGED
|
@@ -225,11 +225,6 @@
|
|
|
225
225
|
"value" : "{color.brand.1.dark.value}"
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
|
-
"box-shadow": {
|
|
229
|
-
"base": {
|
|
230
|
-
"value" : "0 2px 5px 0 {color.neutral.lighter.value}"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
228
|
"branded-container": {
|
|
234
229
|
"1": {
|
|
235
230
|
"background": {
|
|
@@ -248,14 +243,6 @@
|
|
|
248
243
|
}
|
|
249
244
|
},
|
|
250
245
|
"input": {
|
|
251
|
-
"shadow": {
|
|
252
|
-
"disabled": {
|
|
253
|
-
"value" : "0px 0px 0px 3px {color.input.disabled.field.value}"
|
|
254
|
-
},
|
|
255
|
-
"focus": {
|
|
256
|
-
"value" : "0px 0px 0px 3px {color.input.focus.value}"
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
246
|
"checked": {
|
|
260
247
|
"value" : "{color.neutral.black.value}"
|
|
261
248
|
},
|
package/src/tokens/size.json
CHANGED
|
File without changes
|