@inmotionnow/momentum-components 102.26.2 → 102.26.4

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.
@@ -41,4 +41,28 @@ $mds-v-button__vertical-padding--xs: var(--mds-d-spacing--xxxs);
41
41
  &--full-width {
42
42
  width: 100%;
43
43
  }
44
+
45
+ &--justify-flex-start {
46
+ justify-content: flex-start;
47
+ }
48
+
49
+ &--justify-flex-end {
50
+ justify-content: flex-end;
51
+ }
52
+
53
+ &--justify-center {
54
+ justify-content: center;
55
+ }
56
+
57
+ &--justify-space-between {
58
+ justify-content: space-between;
59
+ }
60
+
61
+ &--justify-space-around {
62
+ justify-content: space-around;
63
+ }
64
+
65
+ &--justify-space-evenly {
66
+ justify-content: space-evenly;
67
+ }
44
68
  }
@@ -181,13 +181,22 @@
181
181
  @mixin mds-m-scroll-vertical;
182
182
 
183
183
  flex-shrink: 1;
184
- margin-bottom: var(--mds-d-spacing--lg);
184
+
185
+ &:not(:has(+ .mds-c-modal__section--divided)) {
186
+ margin-bottom: var(--mds-d-spacing--lg);
187
+ }
185
188
  }
186
189
  }
187
190
 
188
191
  &__autofocusinside {
189
192
  display: contents;
190
193
  }
194
+
195
+ &__section + &__autofocusinside {
196
+ > .mds-c-modal__section--divided:first-child {
197
+ border-top: 1px solid var(--mds-t-border-color--secondary);
198
+ }
199
+ }
191
200
  }
192
201
 
193
202
  /*
@@ -385,3 +394,9 @@
385
394
  margin-top: 0.1rem;
386
395
  }
387
396
  }
397
+
398
+ @media (max-width: $reflow-zoom-level--400) {
399
+ .mds-c-modal__section {
400
+ --mds-c-modal__section--padding: var(--mds-d-spacing--med);
401
+ }
402
+ }
@@ -54,6 +54,24 @@
54
54
  }
55
55
  }
56
56
 
57
+ .mds-c-tabs--vertical {
58
+ flex-direction: row;
59
+
60
+ .mds-c-tabs__list {
61
+ flex-direction: column;
62
+ margin-right: var(--mds-d-spacing--xl);
63
+
64
+ &:not(:last-child) {
65
+ margin-bottom: 0;
66
+ }
67
+ }
68
+
69
+ .mds-c-tab + .mds-c-tab {
70
+ margin-left: 0;
71
+ margin-top: var(--mds-d-spacing--xl);
72
+ }
73
+ }
74
+
57
75
  .mds-c-tab__link {
58
76
  @mixin mds-m-label--size-med;
59
77
  @mixin mds-m-text-overflow-ellipsis;
@@ -3,15 +3,24 @@
3
3
  * ========================================================================== */
4
4
 
5
5
  .mds-c-toggle-buttons {
6
- column-gap: var(--mds-d-spacing--xl);
6
+ --mds-c-toggle-buttons-gap: var(--mds-d-spacing--xl);
7
+
8
+ column-gap: var(--mds-c-toggle-buttons-gap);
7
9
  display: grid;
8
10
  grid-template-columns: repeat(3, minmax(6rem, 12rem));
9
11
  grid-template-rows: repeat(auto-fill, auto);
10
- row-gap: var(--mds-d-spacing--xl);
12
+ row-gap: var(--mds-c-toggle-buttons-gap);
11
13
 
12
14
  &--direction-column {
13
15
  display: flex;
14
16
  flex-direction: column;
17
+ gap: var(--mds-c-toggle-buttons-gap);
15
18
  width: 100%;
16
19
  }
20
+
21
+ @each $size in (xxxl, xxl, xl, lg, med, sm, xs, xxs, zero, none) {
22
+ &--gap-$(size) {
23
+ --mds-c-toggle-buttons-gap: var(--mds-d-spacing--$(size));
24
+ }
25
+ }
17
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inmotionnow/momentum-components",
3
- "version": "102.26.2",
3
+ "version": "102.26.4",
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": "9ac0bb2b937a047573c2938c3574117915ee51d6"
29
+ "gitHead": "796afdbefc152628aa2aace2ed4b398c9d9b71ac"
30
30
  }