@penskemediacorp/larva-css 1.5.4-alpha.0 → 1.6.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.
Files changed (111) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +206 -19
  3. package/__tests__/fixtures/expected.js +29 -0
  4. package/__tests__/lib/generators.test.js +11 -0
  5. package/build/css/algorithms.common.async.css +4 -36
  6. package/build/css/algorithms.common.inline.css +21 -274
  7. package/build/css/generic.common.inline.css +4 -63
  8. package/build/css/js.common.async.css +3 -0
  9. package/build/css/js.common.inline.css +6 -9
  10. package/build/css/utilities.common.async.css +8 -48
  11. package/build/css/utilities.common.inline.css +27 -466
  12. package/gulpfile.js +110 -82
  13. package/lib/generators.js +93 -0
  14. package/package.json +14 -6
  15. package/src/01-generic/elements.common.inline.scss +37 -1
  16. package/src/01-generic/forms.common.inline.scss +10 -0
  17. package/src/01-generic/side-skins.common.inline.scss +10 -0
  18. package/src/01-generic/typography.common.inline.scss +23 -13
  19. package/src/02-algorithms/a-buy-now/a-buy-now.common.inline.scss +112 -0
  20. package/src/02-algorithms/a-carousel-grid/a-carousel-grid.common.inline.scss +66 -0
  21. package/src/02-algorithms/a-children-border/a-children-border.common.inline.scss +43 -0
  22. package/src/02-algorithms/a-children-link-color/a-children-link-color.common.inline.scss +15 -0
  23. package/src/02-algorithms/a-children-link-decoration/a-children-link-decoration.common.inline.scss +13 -0
  24. package/src/02-algorithms/a-counter/a-counter.common.inline.scss +26 -0
  25. package/src/02-algorithms/a-crop/README.md +17 -13
  26. package/src/02-algorithms/a-crop/a-crop.common.inline.scss +97 -12
  27. package/src/02-algorithms/a-crop/a-crop.html +2 -2
  28. package/src/02-algorithms/a-floated/a-floated.common.inline.scss +32 -0
  29. package/src/02-algorithms/a-font/a-font.common.inline.scss +3 -0
  30. package/src/02-algorithms/a-glue/a-glue.common.inline.scss +63 -6
  31. package/src/02-algorithms/a-glue/a-glue.html +3 -3
  32. package/src/02-algorithms/a-grid/README.md +141 -14
  33. package/src/02-algorithms/a-grid/a-grid.common.inline.scss +53 -5
  34. package/src/02-algorithms/a-grid/a-grid.html +4 -4
  35. package/src/02-algorithms/a-hidden/a-hidden.common.inline.scss +43 -0
  36. package/src/02-algorithms/a-hover-dropup/a-hover-dropup.common.async.scss +7 -7
  37. package/src/02-algorithms/a-hover-dropup/a-hover-dropup.html +3 -3
  38. package/src/02-algorithms/a-hover-effect/a-hover-effect.common.async.scss +25 -0
  39. package/src/02-algorithms/a-hover-effect/a-hover-effect.html +16 -0
  40. package/src/02-algorithms/a-icon/a-icon.common.async.scss +28 -3
  41. package/src/02-algorithms/a-icon/a-icon.common.inline.scss +51 -73
  42. package/src/02-algorithms/a-screen-reader-only/a-screen-reader-only.common.inline.scss +30 -0
  43. package/src/02-algorithms/a-scrollable-grid/a-scrollable-grid.common.inline.scss +52 -0
  44. package/src/02-algorithms/a-show-on-hover/a-show-on-hover.common.inline.scss +16 -0
  45. package/src/02-algorithms/a-space-children/a-space-children.common.inline.scss +88 -17
  46. package/src/02-algorithms/a-truncate-ellipsis/a-truncate-ellipsis.common.async.scss +71 -0
  47. package/src/02-algorithms/a-unstyle-button/a-unstyle-button.common.inline.scss +2 -3
  48. package/src/02-algorithms/a-unstyle-link/a-unstyle-link.common.inline.scss +7 -0
  49. package/src/02-algorithms/a-unstyle-list/a-unstyle-list.common.inline.scss +1 -1
  50. package/src/02-algorithms/a-wrapper/a-wrapper.common.inline.scss +14 -2
  51. package/src/03-utilities/u-background-color.common.async.scss +15 -0
  52. package/src/03-utilities/u-background-color.common.inline.scss +37 -0
  53. package/src/03-utilities/u-border-color.common.async.scss +36 -8
  54. package/src/03-utilities/u-border-radius.common.async.scss +27 -0
  55. package/src/03-utilities/u-border.common.inline.scss +210 -5
  56. package/src/03-utilities/u-box-alignment.common.inline.scss +64 -4
  57. package/src/03-utilities/u-box-shadow.common.async.scss +34 -3
  58. package/src/03-utilities/u-color.common.async.scss +19 -16
  59. package/src/03-utilities/u-color.common.inline.scss +39 -0
  60. package/src/03-utilities/u-cursor.common.async.scss +1 -1
  61. package/src/03-utilities/u-display.common.inline.scss +83 -4
  62. package/src/03-utilities/u-filter.common.async.scss +5 -0
  63. package/src/03-utilities/u-flex.common.inline.scss +128 -9
  64. package/src/03-utilities/u-font-family.common.inline.scss +41 -16
  65. package/src/03-utilities/u-font-size.common.inline.scss +58 -5
  66. package/src/03-utilities/u-font-style.common.inline.scss +9 -0
  67. package/src/03-utilities/u-font-weight.common.inline.scss +50 -12
  68. package/src/03-utilities/u-height.common.inline.scss +41 -5
  69. package/src/03-utilities/u-letter-spacing.common.inline.scss +11 -0
  70. package/src/03-utilities/u-line-height.common.inline.scss +49 -13
  71. package/src/03-utilities/u-list-style.common.async.scss +3 -0
  72. package/src/03-utilities/u-margin.common.inline.scss +182 -47
  73. package/src/03-utilities/u-max-width.common.inline.scss +25 -0
  74. package/src/03-utilities/u-opacity.common.inline.scss +3 -0
  75. package/src/03-utilities/u-order.common.inline.scss +23 -2
  76. package/src/03-utilities/u-overflow.common.inline.scss +14 -2
  77. package/src/03-utilities/u-padding.common.inline.scss +157 -52
  78. package/src/03-utilities/u-position.common.inline.scss +3 -0
  79. package/src/03-utilities/u-text-align.common.inline.scss +27 -4
  80. package/src/03-utilities/u-text-decoration.common.inline.scss +11 -0
  81. package/src/03-utilities/u-text-transform.common.inline.scss +14 -2
  82. package/src/03-utilities/u-transform.common.inline.scss +5 -0
  83. package/src/03-utilities/u-vertical-align.common.inline.scss +7 -0
  84. package/src/03-utilities/u-whitespace.common.inline.scss +1 -1
  85. package/src/03-utilities/u-width.common.inline.scss +194 -10
  86. package/src/04-js/README.md +5 -0
  87. package/src/04-js/js-Collapsible.common.inline.scss +15 -0
  88. package/src/04-js/js-ExpandableSearch.common.async.scss +33 -0
  89. package/src/04-js/js-Flickity.common.async.scss +91 -0
  90. package/src/04-js/js-Header.common.inline.scss +73 -0
  91. package/src/04-js/js-MegaMenu.common.inline.scss +50 -0
  92. package/src/04-js/js-MobileHeightToggle.common.inline.scss +7 -5
  93. package/src/04-js/js-PopOver.common.async.scss +13 -0
  94. package/src/04-js/js-Tooltip.common.inline.scss +17 -0
  95. package/src/04-js/js-VideoShowcase.common.inline.scss +33 -0
  96. package/src/04-js/partials/expandable-search.scss +202 -0
  97. package/src/04-js/partials/flickity.scss +149 -0
  98. package/src/_generated/_a-font.scss +1027 -0
  99. package/src/larva-ui/prism.scss +127 -0
  100. package/src/setup.scss +7 -0
  101. package/stylelint.config.js +10 -11
  102. package/holding/a-truncate-children/README.md +0 -3
  103. package/holding/a-truncate-children/a-truncate-children.browser-test.js +0 -104
  104. package/holding/a-truncate-children/a-truncate-children.css +0 -4
  105. package/holding/a-truncate-children/a-truncate-children.html +0 -15
  106. package/holding/a-truncate-children/a-truncate-children.scss +0 -5
  107. package/src/01-generic/config.common.inline.scss +0 -22
  108. package/src/02-algorithms/a-glue/index.js +0 -1
  109. package/src/02-algorithms/a-icon/a-icon.html +0 -20
  110. package/src/02-algorithms/a-unstyle-link/a-unstyle-link.common.async.scss +0 -5
  111. package/src/03-utilities/u-background.common.async.scss +0 -25
@@ -1,59 +1,194 @@
1
- @import '@penskemediacorp/larva-scss/dist/tokens';
2
- @import '@penskemediacorp/larva-scss/dist/generators';
3
-
4
- @include pmc-u-margin(
5
- (
6
- // Top
7
- ('t', $spacer-050),
8
- ('t', $spacer-1),
9
- ('t', $spacer-2),
10
-
11
- // Right
12
- ('r', $spacer-025),
13
- ('r', $spacer-050),
14
- ('r', $spacer-1),
15
- ('r', $spacer-2),
16
-
17
- // Bottom
18
- ('b', $spacer-0),
19
- ('b', $spacer-2),
20
- ('b', $spacer-050),
21
- ('b', $spacer-1),
22
- ('b', $spacer-025),
23
-
24
- // Left
25
- ('l', $spacer-025),
26
- ('l', $spacer-050),
27
- ('l', $spacer-1),
28
- ('l', $spacer-2),
29
-
30
- // Left/Right
31
- ('lr', $spacer-025),
32
- ('lr', $spacer-050),
33
- ('lr', $spacer-1),
34
-
35
- // Top/Bottom
36
- ('tb', $spacer-0),
37
- ('tb', $spacer-050),
38
- ('tb', $spacer-1),
39
- ('tb', $spacer-2),
40
-
41
- // All
42
- ('a', $spacer-0),
43
- )
1
+ @import 'setup';
2
+
3
+ $breakpoints: (
4
+ '',
5
+ 'mobile-max',
6
+ 'desktop',
7
+ 'desktop-xl'
44
8
  );
45
9
 
46
- .pmc-u-margin-l-auto {
10
+ .lrv-u-margin-r-175\@tablet {
11
+ @include pmc-breakpoint( tablet ) {
12
+ margin-right: $spacer-175;
13
+ }
14
+ }
15
+
16
+ .lrv-u-margin-t-150\@tablet {
17
+ @include pmc-breakpoint( tablet ) {
18
+ margin-top: $spacer-150;
19
+ }
20
+ }
21
+
22
+ .lrv-u-margin-r-2\@tablet {
23
+ @include pmc-breakpoint( tablet ) {
24
+ margin-right: $spacer-2;
25
+ }
26
+ }
27
+
28
+ @mixin _u-margin( $token-name, $token-selector, $value, $breakpoint-suffix: '' ) {
29
+ .lrv-u-margin-r-#{$token-selector}#{$breakpoint-suffix} {
30
+ margin-right: $value;
31
+ margin-right: var(--#{$token-name}, #{$value} );
32
+ }
33
+
34
+ .lrv-u-margin-l-#{$token-selector}#{$breakpoint-suffix} {
35
+ margin-left: $value;
36
+ margin-left: var(--#{$token-name}, #{$value} );
37
+ }
38
+
39
+ .lrv-u-margin-b-#{$token-selector}#{$breakpoint-suffix} {
40
+ margin-bottom: $value;
41
+ margin-bottom: var(--#{$token-name}, #{$value} );
42
+ }
43
+
44
+ .lrv-u-margin-t-#{$token-selector}#{$breakpoint-suffix} {
45
+ margin-top: $value;
46
+ margin-top: var(--#{$token-name}, #{$value} );
47
+ }
48
+
49
+ .lrv-u-margin-tb-#{$token-selector}#{$breakpoint-suffix} {
50
+ margin-top: $value;
51
+ margin-top: var(--#{$token-name}, #{$value} );
52
+ margin-bottom: $value;
53
+ margin-bottom: var(--#{$token-name}, #{$value} );
54
+ }
55
+
56
+ .lrv-u-margin-lr-#{$token-selector}#{$breakpoint-suffix} {
57
+ margin-left: $value;
58
+ margin-left: var(--#{$token-name}, #{$value} );
59
+ margin-right: $value;
60
+ margin-right: var(--#{$token-name}, #{$value} );
61
+ }
62
+
63
+ .lrv-u-margin-a-#{$token-selector}#{$breakpoint-suffix} {
64
+ margin: $value;
65
+ margin: var(--#{$token-name}, #{$value} );
66
+ }
67
+ }
68
+
69
+ // Auto margins
70
+
71
+ .lrv-u-margin-l-auto {
47
72
  margin-left: auto;
48
73
  }
49
74
 
50
- .pmc-u-margin-lr-auto {
75
+ .lrv-u-margin-r-auto {
76
+ margin-right: auto;
77
+ }
78
+
79
+ .lrv-u-margin-t-auto {
80
+ margin-top: auto;
81
+ }
82
+
83
+ .lrv-u-margin-b-auto {
84
+ margin-bottom: auto;
85
+ }
86
+
87
+ .lrv-u-margin-lr-auto {
51
88
  margin-left: auto;
52
89
  margin-right: auto;
53
90
  }
54
91
 
55
- .pmc-u-margin-l-auto\@tablet {
92
+ .lrv-u-margin-tb-auto {
93
+ margin-top: auto;
94
+ margin-bottom: auto;
95
+ }
96
+
97
+ @include pmc-breakpoint( desktop ) {
98
+
99
+ .lrv-u-margin-l-auto\@desktop {
100
+ margin-left: auto;
101
+ }
102
+
103
+ .lrv-u-margin-r-auto\@desktop {
104
+ margin-right: auto;
105
+ }
106
+
107
+ .lrv-u-margin-t-auto\@desktop {
108
+ margin-top: auto;
109
+ }
110
+
111
+ .lrv-u-margin-b-auto\@desktop {
112
+ margin-bottom: auto;
113
+ }
114
+
115
+ .lrv-u-margin-lr-auto\@desktop {
116
+ margin-left: auto;
117
+ margin-right: auto;
118
+ }
119
+
120
+ .lrv-u-margin-tb-auto\@desktop {
121
+ margin-top: auto;
122
+ margin-bottom: auto;
123
+ }
124
+
125
+ }
126
+
127
+ @each $breakpoint in $breakpoints {
128
+
129
+ @each $token, $value in $TOKENS-MAP {
130
+
131
+ $token-str: quote( $token );
132
+
133
+ // No negative spacing for padding
134
+ @if str-index( $token-str, 'spacing' ) and not str-index( $token-str, 'letter-spacing' ) {
135
+
136
+ $token-name: $token;
137
+ $token-selector: str-replace( $token-str, 'spacing-', '' );
138
+
139
+ @if '' == $breakpoint {
140
+ @include _u-margin( $token-name, $token-selector, $value );
141
+ } @else {
142
+
143
+ $breakpoint-suffix: '\\@#{$breakpoint}';
144
+
145
+ @include pmc-breakpoint( $breakpoint ) {
146
+ @include _u-margin( $token-name, $token-selector, $value, $breakpoint-suffix );
147
+ }
148
+ }
149
+
150
+ }
151
+ }
152
+ }
153
+
154
+ // Legacy - should not have mobile-max and tablet
155
+ $margins_with_breakpoints: (
156
+
157
+ // Breakpoints
158
+ ('a', $spacer-0, mobile-max),
159
+ ('t', $spacer-050, mobile-max),
160
+ ('t', $spacer-1, mobile-max),
161
+ ('t', $spacer-2, mobile-max),
162
+ ('r', $spacer-0, mobile-max),
163
+ ('b', $spacer-1, mobile-max),
164
+ ('b', $spacer-050, mobile-max),
165
+ ('tb', $spacer-0, mobile-max),
166
+ ('tb', $spacer-1, mobile-max),
167
+ ('l', $spacer-1, tablet),
168
+ ('r', $spacer-1, tablet),
169
+ ('r', $spacer-0, tablet),
170
+ ('b', $spacer-1, tablet),
171
+ ('b', $spacer-2, tablet),
172
+ ('t', $spacer-050, desktop-xl),
173
+ );
174
+
175
+ @include u-margin( $margins_with_breakpoints, $NAMESPACE: 'lrv-' );
176
+
177
+ // Legacy - tablet will be removed
178
+ .lrv-u-margin-l-auto\@tablet {
56
179
  @include pmc-breakpoint( tablet ) {
57
180
  margin-left: auto;
58
181
  }
59
- }
182
+ }
183
+
184
+ .lrv-u-margin-b-250\@mobile-max {
185
+ @include pmc-breakpoint( mobile-max ) {
186
+ margin-bottom: $spacer-250;
187
+ }
188
+ }
189
+
190
+ .lrv-u-margin-t-175\@desktop-xl {
191
+ @include pmc-breakpoint( desktop-xl ) {
192
+ margin-top: $spacer-175;
193
+ }
194
+ }
@@ -0,0 +1,25 @@
1
+ @import 'setup';
2
+
3
+ .lrv-u-max-width-100p {
4
+ max-width: 100%;
5
+ }
6
+
7
+ .lrv-u-max-width-100vw {
8
+ max-width: 100vw;
9
+ }
10
+
11
+ .lrv-u-max-width-150 {
12
+ max-width: pmc-rem(150);
13
+ }
14
+
15
+ .lrv-u-max-width-250 {
16
+ max-width: pmc-rem(250);
17
+ }
18
+
19
+ .lrv-u-max-width-500 {
20
+ max-width: pmc-rem(500);
21
+ }
22
+
23
+ .lrv-u-max-width-1000 {
24
+ max-width: pmc-rem(1000);
25
+ }
@@ -0,0 +1,3 @@
1
+ .lrv-u-opacity-0 {
2
+ opacity: 0;
3
+ }
@@ -1,8 +1,29 @@
1
1
  @import '@penskemediacorp/larva-scss/dist/tools';
2
2
 
3
- .pmc-u-order-100\@mobile-max {
3
+ .lrv-u-order-n1 {
4
+ order: -1;
5
+ }
6
+
7
+ .lrv-u-order-100 {
8
+ order: 100;
9
+ }
10
+
11
+ @include pmc-breakpoint( desktop ) {
12
+
13
+ .lrv-u-order-n1\@desktop {
14
+ order: -1;
15
+ }
16
+
17
+ .lrv-u-order-100\@desktop {
18
+ order: 100;
19
+ }
20
+ }
21
+
22
+
23
+ // Legacy - should not use mobile-max
24
+ .lrv-u-order-100\@mobile-max {
4
25
 
5
26
  @include pmc-breakpoint( mobile-max ) {
6
27
  order: 100;
7
28
  }
8
- }
29
+ }
@@ -1,3 +1,15 @@
1
- .pmc-u-overflow-auto {
1
+ @import 'setup';
2
+
3
+ .lrv-u-overflow-auto {
2
4
  overflow: auto;
3
- }
5
+ }
6
+
7
+ .lrv-u-overflow-hidden {
8
+ overflow: hidden;
9
+ }
10
+
11
+ .lrv-u-overflow-auto\@mobile-max {
12
+ @include pmc-breakpoint( mobile-max ) {
13
+ overflow: auto;
14
+ }
15
+ }
@@ -1,62 +1,167 @@
1
- @import '@penskemediacorp/larva-scss/dist/tokens';
2
- @import '@penskemediacorp/larva-scss/dist/generators';
3
-
4
- $paddings_without_breakpoints: (
5
-
6
- // Top
7
- ('t', $spacer-050),
8
- ('t', $spacer-1),
9
- ('t', $spacer-2),
10
-
11
- // Right
12
- ('r', $spacer-025),
13
- ('r', $spacer-050),
14
- ('r', $spacer-1),
15
- ('r', $spacer-0),
16
-
17
- // Bottom
18
- ('b', $spacer-0),
19
- ('b', $spacer-025),
20
- ('b', $spacer-050),
21
- ('b', $spacer-1),
22
- ('b', $spacer-2),
23
-
24
- // Left
25
- ('t', $spacer-025),
26
- ('l', $spacer-1),
27
- ('l', $spacer-2),
28
-
29
- // Left/Right
30
- ('lr', $spacer-025),
31
- ('lr', $spacer-050),
32
- ('lr', $spacer-1),
33
- ('lr', $spacer-2),
34
-
35
- // Top/Bottom
36
- ('tb', $spacer-025),
37
- ('tb', $spacer-050),
38
- ('tb', $spacer-075),
39
- ('tb', $spacer-1),
40
- ('tb', $spacer-2),
41
-
42
- // All
43
- ('a', $spacer-0),
44
- ('a', $spacer-025),
45
- ('a', $spacer-050),
46
- ('a', $spacer-1),
47
- ('a', $spacer-2),
1
+ @import 'setup';
48
2
 
3
+ $breakpoints: (
4
+ '',
5
+ 'mobile-max',
6
+ 'desktop',
7
+ 'desktop-xl'
49
8
  );
50
9
 
51
- @include pmc-u-padding( $paddings_without_breakpoints );
10
+ .lrv-u-padding-t-150\@tablet {
11
+ @include pmc-breakpoint( tablet ) {
12
+ padding-top: $spacer-150;
13
+ }
14
+ }
52
15
 
53
- // Ordered by breakpoint.
16
+ @mixin _u-padding( $token-name, $token-selector, $value, $breakpoint-suffix: '' ) {
17
+
18
+ .lrv-u-padding-r-#{$token-selector}#{$breakpoint-suffix} {
19
+ padding-right: $value;
20
+ padding-right: var( --#{$token-name}, #{$value} );
21
+ }
22
+
23
+ .lrv-u-padding-l-#{$token-selector}#{$breakpoint-suffix} {
24
+ padding-left: $value;
25
+ padding-left: var( --#{$token-name}, #{$value} );
26
+ }
27
+
28
+ .lrv-u-padding-b-#{$token-selector}#{$breakpoint-suffix} {
29
+ padding-bottom: $value;
30
+ padding-bottom: var( --#{$token-name}, #{$value} );
31
+ }
32
+
33
+ .lrv-u-padding-t-#{$token-selector}#{$breakpoint-suffix} {
34
+ padding-top: $value;
35
+ padding-top: var( --#{$token-name}, #{$value} );
36
+ }
37
+
38
+ .lrv-u-padding-tb-#{$token-selector}#{$breakpoint-suffix} {
39
+ padding-top: $value;
40
+ padding-top: var( --#{$token-name}, #{$value} );
41
+ padding-bottom: $value;
42
+ padding-bottom: var( --#{$token-name}, #{$value} );
43
+ }
44
+
45
+ .lrv-u-padding-lr-#{$token-selector}#{$breakpoint-suffix} {
46
+ padding-left: $value;
47
+ padding-left: var( --#{$token-name}, #{$value} );
48
+ padding-right: $value;
49
+ padding-right: var( --#{$token-name}, #{$value} );
50
+ }
51
+
52
+ .lrv-u-padding-a-#{$token-selector}#{$breakpoint-suffix} {
53
+ padding: $value;
54
+ padding: var( --#{$token-name}, #{$value} );
55
+ }
56
+ }
57
+
58
+ @each $breakpoint in $breakpoints {
59
+
60
+ @each $token, $value in $TOKENS-MAP {
61
+
62
+ $token-str: quote( $token );
63
+
64
+ // No negative spacing for padding
65
+ @if str-index( $token-str, 'spacing' ) and not str-index( $token-str, 'spacing-n' ) and not str-index( $token-str, 'letter-spacing' ) {
66
+
67
+ $token-name: $token;
68
+ $token-selector: str-replace( $token-str, 'spacing-', '' );
69
+
70
+ @if '' == $breakpoint {
71
+ @include _u-padding( $token-name, $token-selector, $value );
72
+ } @else {
73
+
74
+ $breakpoint-suffix: '\\@#{$breakpoint}';
75
+
76
+ @include pmc-breakpoint( $breakpoint ) {
77
+ @include _u-padding( $token-name, $token-selector, $value, $breakpoint-suffix );
78
+ }
79
+ }
80
+
81
+ }
82
+ }
83
+ }
84
+
85
+
86
+ // Legacy - should not have tablet and mobile-max
54
87
  $paddings_with_breakpoints: (
88
+ ('l', $spacer-3 ),
89
+
55
90
  ('tb', $spacer-025, mobile-max ),
91
+ ('tb', $spacer-1, mobile-max),
56
92
 
93
+ ('t', $spacer-075, tablet ),
94
+ ('b', $spacer-075, tablet ),
95
+ ('r', $spacer-1, tablet ),
96
+ ('r', $spacer-2, tablet ),
97
+ ('l', $spacer-2, tablet ),
98
+ ('b', $spacer-3, tablet ),
57
99
  ('t', $spacer-050, tablet ),
58
-
59
- ('tb', $spacer-050, desktop ),
100
+ ('lr', $spacer-1, tablet ),
101
+
102
+ ('tb', $spacer-050, desktop-max),
60
103
  );
61
104
 
62
- @include pmc-u-padding( $paddings_with_breakpoints );
105
+ @include u-padding( $paddings_with_breakpoints, $NAMESPACE: 'lrv-' );
106
+
107
+ .lrv-u-padding-b-150\@desktop-xl-max {
108
+ @include pmc-breakpoint( desktop-xl-max ) {
109
+ padding-bottom: $spacer-150;
110
+ }
111
+ }
112
+
113
+ .lrv-u-padding-b-150\@tablet {
114
+ @include pmc-breakpoint( tablet ) {
115
+ padding-bottom: $spacer-150;
116
+ }
117
+ }
118
+
119
+ .lrv-u-padding-t-175\@tablet {
120
+ @include pmc-breakpoint( tablet ) {
121
+ padding-top: $spacer-175;
122
+ }
123
+ }
124
+
125
+ .lrv-u-padding-tb-175\@desktop {
126
+ @include pmc-breakpoint( desktop ) {
127
+ padding-top: $spacer-175;
128
+ padding-bottom: $spacer-175;
129
+ }
130
+ }
131
+
132
+ .lrv-u-padding-t-175\@desktop-xl-max {
133
+ @include pmc-breakpoint( desktop-xl-max ) {
134
+ padding-top: $spacer-175;
135
+ }
136
+ }
137
+
138
+ .lrv-u-padding-t-150\@desktop-xl-max {
139
+ @include pmc-breakpoint( desktop-xl-max ) {
140
+ padding-top: $spacer-150;
141
+ }
142
+ }
143
+
144
+ .lrv-u-padding-b-3\@desktop-xl {
145
+ @include pmc-breakpoint( desktop-xl ) {
146
+ padding-bottom: $spacer-3;
147
+ }
148
+ }
149
+
150
+ .lrv-u-padding-t-175\@desktop-xl {
151
+ @include pmc-breakpoint( desktop-xl ) {
152
+ padding-top: $spacer-175;
153
+ }
154
+ }
155
+
156
+ .lrv-u-padding-tb-250\@desktop-xl {
157
+ @include pmc-breakpoint( desktop-xl ) {
158
+ padding-top: $spacer-250;
159
+ padding-bottom: $spacer-250;
160
+ }
161
+ }
162
+
163
+ .lrv-u-padding-t-250\@desktop-xl {
164
+ @include pmc-breakpoint( desktop-xl ) {
165
+ padding-top: $spacer-250;
166
+ }
167
+ }
@@ -0,0 +1,3 @@
1
+ .lrv-u-position-relative {
2
+ position: relative;
3
+ }
@@ -1,17 +1,40 @@
1
1
  @import '@penskemediacorp/larva-scss/dist/tools';
2
2
 
3
- .pmc-u-text-align-center {
3
+ .lrv-u-text-align-right {
4
+ text-align: right;
5
+ }
6
+
7
+ .lrv-u-text-align-left {
8
+ text-align: left;
9
+ }
10
+
11
+ .lrv-u-text-align-center {
4
12
  text-align: center;
5
13
  }
6
14
 
7
- .pmc-u-text-align-center\@mobile-max {
15
+ @include pmc-breakpoint( desktop ) {
16
+ .lrv-u-text-align-right\@desktop {
17
+ text-align: right;
18
+ }
19
+
20
+ .lrv-u-text-align-left\@desktop {
21
+ text-align: left;
22
+ }
23
+
24
+ .lrv-u-text-align-center\@desktop {
25
+ text-align: center;
26
+ }
27
+ }
28
+
29
+ // Legacy
30
+ .lrv-u-text-align-center\@mobile-max {
8
31
  @include pmc-breakpoint( mobile-max ) {
9
32
  text-align: center;
10
33
  }
11
34
  }
12
35
 
13
- .pmc-u-text-align-center\@tablet {
36
+ .lrv-u-text-align-center\@tablet {
14
37
  @include pmc-breakpoint( tablet ) {
15
38
  text-align: center;
16
39
  }
17
- }
40
+ }
@@ -0,0 +1,11 @@
1
+ @import '@penskemediacorp/larva-scss/dist/tools';
2
+
3
+ .lrv-u-text-decoration-underline {
4
+ text-decoration: underline;
5
+ text-decoration-color: currentColor;
6
+ }
7
+
8
+ .lrv-u-text-decoration-underline\:hover:hover {
9
+ text-decoration: underline;
10
+ text-decoration-color: currentColor;
11
+ }
@@ -1,3 +1,15 @@
1
- .pmc-u-text-transform-uppercase {
1
+ .lrv-u-text-transform-uppercase {
2
2
  text-transform: uppercase;
3
- }
3
+ }
4
+
5
+ .lrv-u-text-transform-initial {
6
+ text-transform: initial;
7
+ }
8
+
9
+ .lrv-u-text-transform-lowercase {
10
+ text-transform: lowercase;
11
+ }
12
+
13
+ .lrv-u-text-transform-capitalize {
14
+ text-transform: capitalize;
15
+ }
@@ -0,0 +1,5 @@
1
+ @import 'setup';
2
+
3
+ .lrv-u-transform-translateY-n50p {
4
+ transform: translateY(-50%);
5
+ }
@@ -0,0 +1,7 @@
1
+ @import 'setup';
2
+
3
+ .lrv-u-vertical-align-middle\@mobile-max {
4
+ @include pmc-breakpoint(mobile-max) {
5
+ vertical-align: middle;
6
+ }
7
+ }
@@ -1,3 +1,3 @@
1
- .pmc-u-whitespace-nowrap {
1
+ .lrv-u-whitespace-nowrap {
2
2
  white-space: nowrap;
3
3
  }