@inmotionnow/momentum-components 102.26.0 → 102.26.2
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/dist/momentum.css +5 -5
- package/dist/src/3_components/application/application.css +8 -9
- package/dist/src/3_components/badge/badge.css +17 -0
- package/dist/src/3_components/button/button.css +7 -5
- package/dist/src/3_components/layout/layout.css +0 -10
- package/dist/src/3_components/navigation/navigation.css +52 -10
- package/dist/src/3_components/scaffold-card/scaffold-cards.css +0 -2
- package/dist/src/3_components/section/section.css +63 -2
- package/package.json +2 -2
|
@@ -26,14 +26,15 @@
|
|
|
26
26
|
|
|
27
27
|
@media (max-width: $reflow-zoom-level--150) {
|
|
28
28
|
.mds-c-application {
|
|
29
|
-
.mds-
|
|
30
|
-
min-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
.mds-c-layout {
|
|
30
|
+
min-height: 100%;
|
|
31
|
+
overflow-x: hidden;
|
|
32
|
+
overflow-y: auto;
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
> .mds-c-main-content {
|
|
35
|
+
min-width: 0;
|
|
36
|
+
overflow: visible;
|
|
37
|
+
}
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
}
|
|
@@ -46,8 +47,6 @@
|
|
|
46
47
|
*/
|
|
47
48
|
@media (max-width: $reflow-zoom-level--250) {
|
|
48
49
|
.mds-c-application {
|
|
49
|
-
overflow: visible; /* Prevent clipping */
|
|
50
|
-
|
|
51
50
|
.mds-c-portal {
|
|
52
51
|
& > div:has(.emoji-mart) {
|
|
53
52
|
max-width: 95%;
|
|
@@ -236,3 +236,20 @@
|
|
|
236
236
|
margin-right: var(--mds-d-spacing--xs);
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
+
|
|
240
|
+
.mds-c-badge--wrap {
|
|
241
|
+
height: auto;
|
|
242
|
+
min-height: var(--mds-v-badge__height);
|
|
243
|
+
padding: var(--mds-d-spacing--xxs) var(--mds-v-badge__padding--horizontal);
|
|
244
|
+
|
|
245
|
+
.mds-c-badge__text {
|
|
246
|
+
flex: initial;
|
|
247
|
+
line-height: 1.3;
|
|
248
|
+
overflow: visible;
|
|
249
|
+
overflow-wrap: break-word;
|
|
250
|
+
text-align: left;
|
|
251
|
+
text-overflow: initial;
|
|
252
|
+
white-space: normal;
|
|
253
|
+
word-wrap: break-word;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
@@ -450,13 +450,15 @@
|
|
|
450
450
|
@media (max-width: $reflow-zoom-level--250) {
|
|
451
451
|
.mds-c-button {
|
|
452
452
|
max-width: 100%;
|
|
453
|
-
min-width:
|
|
454
|
-
|
|
453
|
+
min-width: fit-content;
|
|
454
|
+
|
|
455
|
+
--mds-v-button__padding--horizontal: $mds-v-button__horizontal-padding--sm;
|
|
456
|
+
--mds-v-button__padding--vertical: $mds-v-button__vertical-padding--sm;
|
|
455
457
|
|
|
456
458
|
&-menu {
|
|
457
459
|
/* Override inline style */
|
|
458
|
-
margin-bottom:
|
|
459
|
-
padding:
|
|
460
|
+
margin-bottom: var(--mds-d-spacing--sm) !important;
|
|
461
|
+
padding: var(--mds-d-spacing--xs) 0 !important;
|
|
460
462
|
}
|
|
461
463
|
|
|
462
464
|
&__content {
|
|
@@ -468,7 +470,7 @@
|
|
|
468
470
|
}
|
|
469
471
|
|
|
470
472
|
&[data-tracking$='-emoji-reaction'] {
|
|
471
|
-
margin-top:
|
|
473
|
+
margin-top: var(--mds-d-spacing--sm);
|
|
472
474
|
}
|
|
473
475
|
}
|
|
474
476
|
}
|
|
@@ -163,17 +163,7 @@
|
|
|
163
163
|
.mds-c-main-content .mds-c-section {
|
|
164
164
|
overflow: visible;
|
|
165
165
|
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
166
|
|
|
169
|
-
/*
|
|
170
|
-
Add WCAG Reflow Compliance
|
|
171
|
-
While WCAG Reflow (SC 1.4.10) specifically requires support up to 400% zoom, applied reflow styles starting at 250% zoom,
|
|
172
|
-
since some elements are cut off or difficult to use even at that level.
|
|
173
|
-
At 250% zoom on a 1280px screen, the effective CSS width is about 512px.
|
|
174
|
-
*/
|
|
175
|
-
@media (max-width: $reflow-zoom-level--250) {
|
|
176
|
-
.mds-c-layout {
|
|
177
167
|
/* Enable title truncation and expand on edit only when the editable control is present */
|
|
178
168
|
.mds-c-header {
|
|
179
169
|
.mds-c-level__title:has(.mds-c-editable__control) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.mds-is-nav-expanded {
|
|
6
6
|
.mds-c-subnav {
|
|
7
|
-
z-index:
|
|
7
|
+
z-index: 2;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -113,18 +113,48 @@
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
Add WCAG Reflow Compliance
|
|
118
|
-
At 400% zoom on a 1280px screen, the effective CSS width is about 320px.
|
|
119
|
-
*/
|
|
120
|
-
@media (max-width: $reflow-zoom-level--400) {
|
|
116
|
+
@media (max-width: $reflow-zoom-level--150) {
|
|
121
117
|
.mds-c-navigation {
|
|
122
118
|
&__header {
|
|
123
|
-
max-height:
|
|
119
|
+
max-height: 3.75rem;
|
|
124
120
|
}
|
|
125
121
|
|
|
126
|
-
&
|
|
127
|
-
|
|
122
|
+
.mds-is-nav-expanded & {
|
|
123
|
+
bottom: 0;
|
|
124
|
+
left: 0;
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: 0;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.mds-has-subnav,
|
|
131
|
+
.mds-is-subnav-minimized {
|
|
132
|
+
.mds-c-layout {
|
|
133
|
+
padding-left: var(--mds-d-spacing--xl);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.mds-is-nav-expanded {
|
|
138
|
+
.opus-nav-parent-container {
|
|
139
|
+
min-width: 0 !important;
|
|
140
|
+
position: relative;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.mds-c-layout {
|
|
144
|
+
padding-left: calc($navigation-width--sm + var(--mds-d-spacing--xl));
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.mds-has-subnav:not(.mds-is-subnav-minimized) {
|
|
149
|
+
.opus-nav-parent-container {
|
|
150
|
+
min-width: $navigation-width--sm !important;
|
|
151
|
+
width: $navigation-width--sm;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.mds-is-nav-collapsed {
|
|
156
|
+
.mds-c-navigation--transition {
|
|
157
|
+
transition: none;
|
|
128
158
|
}
|
|
129
159
|
}
|
|
130
160
|
}
|
|
@@ -162,7 +192,19 @@
|
|
|
162
192
|
|
|
163
193
|
.mds-is-nav-expanded {
|
|
164
194
|
.mds-c-navigation {
|
|
165
|
-
width: calc($navigation-width--sm +
|
|
195
|
+
width: calc($navigation-width--sm + 10rem);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/*
|
|
201
|
+
Add WCAG Reflow Compliance
|
|
202
|
+
At 400% zoom on a 1280px screen, the effective CSS width is about 320px.
|
|
203
|
+
*/
|
|
204
|
+
@media (max-width: $reflow-zoom-level--400) {
|
|
205
|
+
.mds-c-navigation {
|
|
206
|
+
&__footer {
|
|
207
|
+
padding: 0.8rem;
|
|
166
208
|
}
|
|
167
209
|
}
|
|
168
210
|
}
|
|
@@ -132,7 +132,8 @@
|
|
|
132
132
|
- xxxl → xxl
|
|
133
133
|
- xxl → xl
|
|
134
134
|
- xl → lg
|
|
135
|
-
- lg → med
|
|
135
|
+
- lg → med
|
|
136
|
+
- med → sm
|
|
136
137
|
*/
|
|
137
138
|
@media (max-width: $reflow-zoom-level--150) {
|
|
138
139
|
.mds-c-section {
|
|
@@ -148,6 +149,14 @@
|
|
|
148
149
|
padding: var(--mds-d-spacing--lg);
|
|
149
150
|
}
|
|
150
151
|
|
|
152
|
+
&&--padding-lg {
|
|
153
|
+
padding: var(--mds-d-spacing--med);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&&--padding-med {
|
|
157
|
+
padding: var(--mds-d-spacing--sm);
|
|
158
|
+
}
|
|
159
|
+
|
|
151
160
|
&&--padding-vertical-xxxl {
|
|
152
161
|
padding-bottom: var(--mds-d-spacing--xxl);
|
|
153
162
|
padding-top: var(--mds-d-spacing--xxl);
|
|
@@ -163,6 +172,16 @@
|
|
|
163
172
|
padding-top: var(--mds-d-spacing--lg);
|
|
164
173
|
}
|
|
165
174
|
|
|
175
|
+
&&--padding-vertical-lg {
|
|
176
|
+
padding-bottom: var(--mds-d-spacing--med);
|
|
177
|
+
padding-top: var(--mds-d-spacing--med);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&&--padding-vertical-med {
|
|
181
|
+
padding-bottom: var(--mds-d-spacing--sm);
|
|
182
|
+
padding-top: var(--mds-d-spacing--sm);
|
|
183
|
+
}
|
|
184
|
+
|
|
166
185
|
&&--padding-horizontal-xxxl {
|
|
167
186
|
padding-left: var(--mds-d-spacing--xxl);
|
|
168
187
|
padding-right: var(--mds-d-spacing--xxl);
|
|
@@ -178,6 +197,16 @@
|
|
|
178
197
|
padding-right: var(--mds-d-spacing--lg);
|
|
179
198
|
}
|
|
180
199
|
|
|
200
|
+
&&--padding-horizontal-lg {
|
|
201
|
+
padding-left: var(--mds-d-spacing--med);
|
|
202
|
+
padding-right: var(--mds-d-spacing--med);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&&--padding-horizontal-med {
|
|
206
|
+
padding-left: var(--mds-d-spacing--sm);
|
|
207
|
+
padding-right: var(--mds-d-spacing--sm);
|
|
208
|
+
}
|
|
209
|
+
|
|
181
210
|
&&--padding-bottom-xxxl {
|
|
182
211
|
padding-bottom: var(--mds-d-spacing--xxl);
|
|
183
212
|
}
|
|
@@ -190,6 +219,14 @@
|
|
|
190
219
|
padding-bottom: var(--mds-d-spacing--lg);
|
|
191
220
|
}
|
|
192
221
|
|
|
222
|
+
&&--padding-bottom-lg {
|
|
223
|
+
padding-bottom: var(--mds-d-spacing--med);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&&--padding-bottom-med {
|
|
227
|
+
padding-bottom: var(--mds-d-spacing--sm);
|
|
228
|
+
}
|
|
229
|
+
|
|
193
230
|
&&--padding-left-xxxl {
|
|
194
231
|
padding-left: var(--mds-d-spacing--xxl);
|
|
195
232
|
}
|
|
@@ -202,6 +239,14 @@
|
|
|
202
239
|
padding-left: var(--mds-d-spacing--lg);
|
|
203
240
|
}
|
|
204
241
|
|
|
242
|
+
&&--padding-left-lg {
|
|
243
|
+
padding-left: var(--mds-d-spacing--med);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
&&--padding-left-med {
|
|
247
|
+
padding-left: var(--mds-d-spacing--sm);
|
|
248
|
+
}
|
|
249
|
+
|
|
205
250
|
&&--padding-top-xxxl {
|
|
206
251
|
padding-top: var(--mds-d-spacing--xxl);
|
|
207
252
|
}
|
|
@@ -214,6 +259,14 @@
|
|
|
214
259
|
padding-top: var(--mds-d-spacing--lg);
|
|
215
260
|
}
|
|
216
261
|
|
|
262
|
+
&&--padding-top-lg {
|
|
263
|
+
padding-top: var(--mds-d-spacing--med);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&&--padding-top-med {
|
|
267
|
+
padding-top: var(--mds-d-spacing--sm);
|
|
268
|
+
}
|
|
269
|
+
|
|
217
270
|
&&--padding-right-xxxl {
|
|
218
271
|
padding-right: var(--mds-d-spacing--xxl);
|
|
219
272
|
}
|
|
@@ -225,6 +278,14 @@
|
|
|
225
278
|
&&--padding-right-xl {
|
|
226
279
|
padding-right: var(--mds-d-spacing--lg);
|
|
227
280
|
}
|
|
281
|
+
|
|
282
|
+
&&--padding-right-lg {
|
|
283
|
+
padding-right: var(--mds-d-spacing--med);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&&--padding-right-med {
|
|
287
|
+
padding-right: var(--mds-d-spacing--sm);
|
|
288
|
+
}
|
|
228
289
|
}
|
|
229
290
|
}
|
|
230
291
|
|
|
@@ -237,7 +298,7 @@
|
|
|
237
298
|
- xxl → lg
|
|
238
299
|
- xl → med
|
|
239
300
|
- lg → sm
|
|
240
|
-
|
|
301
|
+
|
|
241
302
|
*/
|
|
242
303
|
@media (max-width: $reflow-zoom-level--250) {
|
|
243
304
|
.mds-c-section {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inmotionnow/momentum-components",
|
|
3
|
-
"version": "102.26.
|
|
3
|
+
"version": "102.26.2",
|
|
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": "
|
|
29
|
+
"gitHead": "9ac0bb2b937a047573c2938c3574117915ee51d6"
|
|
30
30
|
}
|