@inmotionnow/momentum-components 102.2.0 → 102.4.0

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.
@@ -68,3 +68,16 @@ svg {
68
68
  svg {
69
69
  fill: currentcolor;
70
70
  }
71
+
72
+ /*
73
+ Add WCAG Reflow Compliance
74
+ While WCAG Reflow (SC 1.4.10) specifically requires support up to 400% zoom, applied reflow styles starting at 150% zoom,
75
+ since some elements become cut off or difficult to use even at that level.
76
+ At 150% zoom on a 1280px screen, the effective CSS width is about 853.33px.
77
+ */
78
+ @media (max-width: 854px) {
79
+ body {
80
+ overflow-x: hidden;
81
+ overflow-y: auto;
82
+ }
83
+ }
@@ -23,3 +23,19 @@
23
23
  overflow: hidden;
24
24
  }
25
25
  }
26
+
27
+ /*
28
+ Add WCAG Reflow Compliance
29
+ While WCAG Reflow (SC 1.4.10) specifically requires support up to 400% zoom, applied reflow styles starting at 150% zoom,
30
+ since some elements become cut off or difficult to use even at that level.
31
+ At 150% zoom on a 1280px screen, the effective CSS width is about 853.33px.
32
+ */
33
+ @media (max-width: 854px) {
34
+ .mds-c-application {
35
+ overflow: visible; /* Prevent clipping */
36
+
37
+ &__layout {
38
+ overflow: visible;
39
+ }
40
+ }
41
+ }
@@ -149,3 +149,15 @@
149
149
  }
150
150
  }
151
151
  }
152
+
153
+ /*
154
+ Add WCAG Reflow Compliance
155
+ While WCAG Reflow (SC 1.4.10) specifically requires support up to 400% zoom, applied reflow styles starting at 150% zoom,
156
+ since some elements become cut off or difficult to use even at that level.
157
+ At 150% zoom on a 1280px screen, the effective CSS width is about 853.33px.
158
+ */
159
+ @media (max-width: 854px) {
160
+ .mds-c-layout > .mds-c-main-content {
161
+ overflow: visible;
162
+ }
163
+ }
@@ -46,7 +46,9 @@
46
46
  }
47
47
 
48
48
  &
49
- + &:not(.mds-c-level__group--position-absolute-center):not(.mds-c-level__group--position-center) {
49
+ + &:not(.mds-c-level__group--position-absolute-center):not(
50
+ .mds-c-level__group--position-center
51
+ ) {
50
52
  padding-left: var(--mds-d-spacing--xl);
51
53
  }
52
54
 
@@ -168,3 +170,15 @@
168
170
  padding-top: var(--mds-d-spacing--xs);
169
171
  width: 100%;
170
172
  }
173
+
174
+ /*
175
+ Add WCAG Reflow Compliance
176
+ While WCAG Reflow (SC 1.4.10) specifically requires support up to 400% zoom, applied reflow styles starting at 150% zoom,
177
+ since some elements become cut off or difficult to use even at that level.
178
+ At 150% zoom on a 1280px screen, the effective CSS width is about 853.33px.
179
+ */
180
+ @media (max-width: 854px) {
181
+ .mds-c-level__group--position-absolute-center {
182
+ max-width: 100%;
183
+ }
184
+ }
@@ -307,3 +307,22 @@
307
307
  width: 100%;
308
308
  z-index: 9998;
309
309
  }
310
+
311
+ /*
312
+ Add WCAG Reflow Compliance
313
+ While WCAG Reflow (SC 1.4.10) specifically requires support up to 400% zoom, applied reflow styles starting at 150% zoom,
314
+ since some elements become cut off or difficult to use even at that level.
315
+ At 150% zoom on a 1280px screen, the effective CSS width is about 853.33px.
316
+ */
317
+ @media (max-width: 854px) {
318
+ .mds-c-popout {
319
+ max-width: 100%;
320
+
321
+ /* Override inline style */
322
+ transform: translate3d(0.3125rem, 0.3125rem, 0) !important;
323
+
324
+ &__menu {
325
+ max-width: 98%;
326
+ }
327
+ }
328
+ }
@@ -6,3 +6,15 @@
6
6
  height: 100%;
7
7
  overflow: hidden;
8
8
  }
9
+
10
+ /*
11
+ Add WCAG Reflow Compliance
12
+ While WCAG Reflow (SC 1.4.10) specifically requires support up to 400% zoom, applied reflow styles starting at 150% zoom,
13
+ since some elements become cut off or difficult to use even at that level.
14
+ At 150% zoom on a 1280px screen, the effective CSS width is about 853.33px.
15
+ */
16
+ @media (max-width: 854px) {
17
+ .mds-h-application-wrapper {
18
+ overflow: visible; /* Prevent clipping */
19
+ }
20
+ }
@@ -14,6 +14,9 @@
14
14
  background-color: #fff;
15
15
  border: 1px solid #e5e5e5;
16
16
  box-shadow: 0 5px 15px rgba(0 0 0 25%);
17
+ max-height: 350px;
18
+ max-width: 300px;
19
+ overflow-y: auto;
17
20
  padding: 10px;
18
21
  position: absolute;
19
22
  z-index: 9999;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inmotionnow/momentum-components",
3
- "version": "102.2.0",
3
+ "version": "102.4.0",
4
4
  "description": "CSS Components for inMotionNow",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
@@ -26,5 +26,5 @@
26
26
  "flatpickr": "3.0.7",
27
27
  "focus-visible": "4.1.5"
28
28
  },
29
- "gitHead": "326d13bb58a2839b2a7d5f34b65004eae80b4005"
29
+ "gitHead": "c9c7a8be24d0ec8e6166d19a57d16ac8fcc44bd0"
30
30
  }